/* A&D 0.4: readable type, deliberate states and comfortable touch targets. */
:root{--ink:#222b38;--muted:#69788c;--blue:#1670ef}
button,a,input,select{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #96c1ff;outline-offset:4px}
h1:focus{outline:none}button:disabled{cursor:not-allowed;opacity:.5}
.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-180%);background:#fff;color:#176fe5;padding:14px 18px;z-index:1000;border-radius:10px}.skip-link:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.connection-status{position:fixed;top:0;left:0;right:0;z-index:1001;text-align:center;background:#fff4d9;color:#755a1c;padding:12px 16px;font-size:14px;box-shadow:0 2px 15px #0001}
.subtitle,.account-heading p,.camera-explanation,.sheet-copy,.auth-description{color:#728093}
.library-summary{display:flex;gap:20px;align-items:center;color:#8b98aa;font-size:13px;margin:-5px 0 24px}.library-summary b{font-weight:550;color:#52647c}.library-summary .text-button{margin-left:auto;min-height:36px;font-size:12px;display:flex;align-items:center;gap:5px}.library-summary svg{width:14px;height:14px}
.library-sort select{border:0;color:#7b899c;background:transparent;font-family:inherit;font-size:12px;min-height:36px;padding:5px;max-width:145px}.library-sort{flex-shrink:0}.section-head{gap:14px}
.card-date{font-size:11px;color:#8c99aa;display:block;margin-top:7px}.card-info{align-items:center}.card-info h3{overflow-wrap:anywhere}.card-info p{overflow-wrap:anywhere;line-height:1.5}
.pending-photo{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:50%;height:100%;background:linear-gradient(135deg,#f2f5fa,#e8eef7);color:#93a5bf;text-align:center;gap:10px}.pending-photo>span{display:grid;place-items:center;width:37px;height:37px;border:1px dashed #b4c4db;border-radius:50%;font-size:22px;font-weight:300}.pending-photo small{font-size:12px;line-height:1.65;padding:0 12px}.comparison-stage>.pending-photo{position:absolute;left:50%;top:0;bottom:0}.comparison-stage.layout-stack>.pending-photo{left:0;top:50%;width:100%;height:50%}.comparison-stage.layout-slider>.pending-photo{inset:0;width:100%;z-index:-1}
.resume-banner{display:flex;align-items:center;width:100%;text-align:left;gap:14px;border:1px solid #dce8fa;background:linear-gradient(100deg,#f0f6ff,#fafcff);padding:19px 21px;border-radius:17px;margin:27px 0}.resume-banner>span:nth-child(2){flex:1}.resume-banner b{display:block;font-size:14px;font-weight:550;color:#4c6d99}.resume-banner small{display:block;font-size:12px;color:#8298b6;margin-top:7px;line-height:1.5}.resume-symbol{width:38px;height:38px;display:grid;place-items:center;background:#e4eeff;color:#6b9bdf;border-radius:12px;flex-shrink:0}.resume-symbol svg{width:21px;height:21px}.resume-banner>svg{width:16px;height:16px;color:#9eb8db}
.capture-progress{display:flex;align-items:center;justify-content:center;gap:13px;max-width:480px;margin:0 auto 23px;color:#a7afba;font-size:12px}.capture-progress span{white-space:nowrap}.capture-progress .current{color:#4286dc;font-weight:600}.capture-progress .done{color:#66a482}.capture-progress i{height:1px;width:28px;background:#e1e7ef}
.empty{padding:55px 24px;text-align:center}.empty h2{font-size:23px;font-weight:550;letter-spacing:-.6px}.empty p{font-size:14px;line-height:1.7;color:#8b99ac;max-width:330px;margin:12px auto 22px}.empty .primary,.empty .secondary{margin:auto;min-height:44px}.empty>.text-button{font-size:12px;margin-top:12px}
.main-app #content{scrollbar-width:thin;scrollbar-color:#d9e1ee transparent;overscroll-behavior-y:contain}
.search input[type=search]::-webkit-search-cancel-button{cursor:pointer}.search input{font-size:15px}
.form-field input,.form-field select,.auth-field input,.auth-field select{min-height:48px}
.primary,.secondary{min-height:44px}.text-button{min-height:36px}.icon-button{min-width:42px;min-height:42px}
.nav-button{min-height:48px}.bottom-nav .nav-button{min-height:57px}
.control-label,.capture-details>div,.comparison-caption{font-size:12px;color:#7c8c9f}.tiny,.detail-disclaimer,.library-foot{font-size:12px;line-height:1.65;color:#8291a5}
.photo-label,.compare-badge{font-size:11px;letter-spacing:1.4px}.edited-badge{font-size:11px}
.edit-photo-cta{padding:15px 12px}.edit-photo-cta b{font-size:14px}.edit-photo-cta small{font-size:12px;color:#7595bd}.editor-header h1{font-size:24px}.editor-header p{font-size:13px}.editor-link-row b{font-size:14px}.editor-link-row p{font-size:12px;color:#7e8ca1}.editor-preview-toolbar button{min-height:38px}.filter-tile b{font-size:12px}.adjustment-tools small{font-size:11px}.adjustment-tools button>span{width:43px;height:43px}.edit-explainer{font-size:12px;color:#8190a5}.editor-preserved{font-size:12px}.editor-tools .segments>button{min-height:40px}
.account-heading p,.account-section-head p,.account-fine-print{color:#7e8fa5}.account-tabs button{min-height:48px}.account-row small,.member-info>span{color:#7e8fa5}.account-metric small{color:#8494aa}.permissions-card>p{font-size:12px;color:#8393aa}.account-storage>p{font-size:14px;color:#7b8fa9}.account-storage>small{font-size:12px;color:#8598b1}.activity-event p{font-size:13px;color:#8394ac}.activity-event time{font-size:12px;color:#93a1b5}.auth-bottom-note{color:#7e8ca1}.auth-tabs button{min-height:44px}.demo-access{min-height:46px}
.key-confirm{display:flex;align-items:flex-start;gap:11px;font-size:13px;line-height:1.6;color:#7c8ba1;margin:23px 0 16px}.key-confirm input{accent-color:#1670ef;width:18px;height:18px;flex-shrink:0;margin-top:2px}
#sheet{max-height:85dvh;overflow:auto;overscroll-behavior:contain}#sheet[aria-busy=true] .sheet-actions button,#sheet[aria-busy=true] [data-action=close]{pointer-events:none;opacity:.5}.is-saving .bottom-nav,.is-saving #side-nav{pointer-events:none;opacity:.6}
body.phone-preview .page-head{gap:12px}body.phone-preview .page-head h1{font-size:31px}body.phone-preview .page-head .primary{min-width:44px;min-height:44px}body.phone-preview .library-summary{gap:14px;margin:0 0 20px;font-size:12px}body.phone-preview .library-summary .text-button{font-size:11px}body.phone-preview .card-info{padding:14px 12px}body.phone-preview .card-info h3{font-size:14px}body.phone-preview .card-info p{font-size:12px}body.phone-preview .card-date{font-size:11px}body.phone-preview .section-head h2{font-size:20px}body.phone-preview .library-foot{font-size:11px}body.phone-preview .resume-banner{padding:16px 13px}body.phone-preview .resume-banner b{font-size:13px}body.phone-preview .resume-banner small{font-size:11px}body.phone-preview .search input{font-size:16px}body.phone-preview .segments button{font-size:12px;min-height:40px}body.phone-preview .capture-progress{gap:10px;margin-bottom:17px}body.phone-preview .camera-header h1{font-size:20px}body.phone-preview .camera-header p{font-size:12px}body.phone-preview .camera-console{padding:10px 18px 13px}body.phone-preview .console-action{min-width:70px;min-height:44px;justify-content:center}body.phone-preview .console-action span{font-size:11px}body.phone-preview .camera-filter-open{min-height:36px;font-size:12px}body.phone-preview .shutter{width:60px;height:60px}body.phone-preview .shot-tabs button{min-height:32px;font-size:11px}body.phone-preview .camera-save-note{font-size:11px}body.phone-preview .guide-hint{font-size:12px}body.phone-preview .distance-overlay b{font-size:12px}body.phone-preview .distance-overlay>span{font-size:11px}body.phone-preview .viewfinder{height:clamp(225px,calc(100dvh - 550px),370px)}body.phone-preview .detail-controls .tiny{font-size:11px}body.phone-preview .detail-controls .control-label{font-size:12px}body.phone-preview .detail-head h1{font-size:28px;overflow-wrap:anywhere}body.phone-preview .comparison-caption{font-size:12px}body.phone-preview .editor-header h1{font-size:20px}body.phone-preview .editor-header p{font-size:12px}body.phone-preview .editor-header>.text-button{font-size:13px}body.phone-preview .editor-save{font-size:13px;min-height:42px}body.phone-preview .editor-link-row b{font-size:12px}body.phone-preview .editor-link-row p{font-size:11px}body.phone-preview .filter-tile b{font-size:11px}body.phone-preview .adjustment-tools small{font-size:10px}body.phone-preview .editor-preserved{font-size:11px}body.phone-preview .editor-preview-toolbar button{font-size:12px}body.phone-preview .account-eyebrow{font-size:10px}body.phone-preview .member-info b{font-size:14px}body.phone-preview .member-info>span{font-size:12px}body.phone-preview .member-row .account-link{font-size:12px;min-height:42px}body.phone-preview .account-tabs{gap:18px}body.phone-preview .account-tabs button{font-size:13px}body.phone-preview .account-row small{font-size:12px}body.phone-preview .account-metric small{font-size:11px}
@media(max-width:700px){#content{padding-bottom:30px}.page-head h1{font-size:32px}.segments button{min-height:42px;font-size:13px}.library-summary{gap:13px;font-size:12px}.library-summary .text-button{font-size:11px}.section-head h2{font-size:21px}.search input{font-size:16px}.resume-banner{padding:16px 13px}.resume-banner b{font-size:13px}.resume-banner small{font-size:12px}.camera-header p{font-size:12px}.camera-filter-open{min-height:36px;font-size:12px}.console-action{min-height:44px}.console-action span{font-size:11px}.shot-tabs button{min-height:32px;font-size:11px}.shutter{height:60px;width:60px}.viewfinder,body.phone-preview .viewfinder{height:min(39dvh,370px)}.capture-progress{gap:10px;margin-bottom:15px}.editor-header h1{font-size:20px}.editor-header p{font-size:12px}.editor-save{min-height:42px}.adjustment-tools small{font-size:10px}.filter-tile b{font-size:11px}.editor-link-row b{font-size:13px}.editor-link-row p{font-size:12px}.account-row small{font-size:12px}.member-info>span{font-size:12px}.member-row .account-link{min-height:42px}.auth-field{font-size:14px}.auth-form-area{padding-bottom:max(24px,env(safe-area-inset-bottom))}.bottom-nav{padding-bottom:max(11px,env(safe-area-inset-bottom))}.detail-head h1{overflow-wrap:anywhere}.comparison-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
