:root{--blue:#0a328b;--cream:#fff4d6;--ink:#202721;--muted:#637083;--line:#dce3ec;--body:'Manrope',sans-serif;--heading:'Outfit',sans-serif}*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:var(--ink);font:16px/1.5 var(--body)}h1,h2,h3{font-family:var(--heading);line-height:1.15;margin:0 0 16px}h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}h2{font-size:1.5rem}h3{font-size:1.2rem}p{margin:0 0 16px}a{color:var(--blue)}header{background:#fffdf7;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:10px max(24px,calc((100vw - 1260px)/2));gap:20px}.brand{width:180px;height:56px;display:block}.brand img{width:100%;height:100%;object-fit:contain}.header-links{display:flex;gap:20px;font-size:.875rem}main{max-width:1260px;margin:auto;padding:32px 24px 80px}.eyebrow{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);font-weight:800}.intro{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:28px}.intro p{color:var(--muted);max-width:620px}.tag,.badge{font-size:.8rem;padding:5px 10px;border-radius:6px;display:inline-block;background:#eaf0fb;color:var(--blue);font-weight:650}.tag.warning{background:var(--cream);color:#745114}.banner{background:var(--cream);border:1px solid #ecdfb9;border-radius:12px;padding:16px 20px;color:#64501c;margin-bottom:24px;font-size:.9375rem}.banner p{margin:0}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0;border-bottom:1px solid var(--line);padding-bottom:14px}.tabs button{border:0;padding:11px 18px;background:transparent;color:#465774;border-radius:7px;font-weight:700;min-height:44px;cursor:pointer;font:inherit}.tabs button[aria-selected=true]{background:var(--blue);color:white}.card{background:#fffdf9;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:18px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{border-left:4px solid var(--blue)}.stat strong{display:block;font-family:var(--heading);font-size:2.2rem;color:var(--blue)}.muted,small{color:var(--muted)}small{font-size:.8125rem}button,input,select,textarea{font:inherit}label{display:block;font-size:.875rem;font-weight:600;margin:12px 0}input,select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid #bdcadd;border-radius:7px;background:white;color:var(--ink);min-height:44px;margin-top:6px}textarea{min-height:160px;resize:vertical}button{cursor:pointer}button:disabled{opacity:.6;cursor:default}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;background:var(--blue);color:white;border:1px solid transparent;border-radius:7px;text-decoration:none;font-weight:700;font-size:.875rem}.button.secondary{background:#edf2fb;color:var(--blue);border-color:#cbd8ec}.button.danger{background:white;border-color:#c48d86;color:#9c3628}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.empty{text-align:center;padding:40px 20px;color:var(--muted)}.money{font:600 1.5rem var(--heading);color:var(--blue)}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;font-size:.875rem;background:#fffdf9}th,td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{background:#eaf0fa;color:var(--blue);white-space:nowrap}.nowrap{white-space:nowrap}.contract{white-space:pre-wrap;background:white;border:1px solid var(--line);padding:18px;border-radius:8px;max-height:300px;overflow:auto;font-size:.9375rem}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.check input{width:20px;min-height:20px;margin:2px 0;flex-shrink:0}details{margin:14px 0}summary{cursor:pointer;color:var(--blue);padding:8px 0;font-weight:650;min-height:44px}dialog{border:1px solid var(--line);border-radius:16px;width:min(680px,calc(100% - 24px));max-height:90svh;padding:26px}dialog::backdrop{background:#061a4599}#close-modal{margin-top:18px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#163c33;color:white;max-width:calc(100% - 32px);padding:14px 20px;border-radius:10px;z-index:100;box-shadow:0 6px 25px #0002}#notice:empty{display:none}#notice.error{background:#8a362a}.loading{text-align:center;padding:80px 20px}.signin{max-width:580px;margin:50px auto;text-align:center}.signin img{height:125px;width:125px;object-fit:contain;margin:0 auto 20px}.status{color:var(--blue);font-size:.875rem;font-weight:700}.help{padding:16px;background:#edf2fb;border-radius:9px;font-size:.875rem}.unit-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.unit{padding:20px}.unit .badge{margin-bottom:12px}.integrations .card{border-top:3px solid #d9bd71}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.footnote{font-size:.8125rem;margin-top:12px}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bf8c14;outline-offset:3px}.modal-open{overflow:hidden}[hidden]{display:none!important}@media(max-width:800px){.grid,.unit-list{grid-template-columns:1fr 1fr}.summary{grid-template-columns:1fr 1fr}.grid.two{grid-template-columns:1fr}.intro{display:block}.intro>.tag{margin-top:12px}}@media(max-width:520px){header{padding:8px 16px}.brand{width:140px;height:50px}.header-links{gap:12px;font-size:.8125rem}main{padding:24px 14px 60px}.card{padding:18px}.grid,.unit-list{grid-template-columns:1fr}.summary{gap:9px}.summary .card{padding:14px}.stat strong{font-size:1.75rem}.tabs{gap:3px}.tabs button{padding:9px 12px;font-size:.875rem}.field-grid{grid-template-columns:1fr}.intro{margin-bottom:18px}.banner{padding:14px;font-size:.875rem}}

.header-links{align-items:center;gap:10px}
.header-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #dce5f3;border-radius:11px;font-size:.875rem;font-weight:650;line-height:1.2;white-space:nowrap;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}
.header-action svg{width:17px;height:17px;flex-shrink:0;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-back{color:var(--blue);background:#edf2fb;border-color:#e1e8f5}
.header-exit{color:#52627a;background:#fffdf9}
.header-back:hover{background:#e2eafa;border-color:#c4d3ef}
.header-exit:hover{color:var(--blue);background:#f4f7fc;border-color:#c4d3ef}
@media(max-width:520px){header{gap:12px;padding:10px 14px}.brand{width:112px;height:44px}.header-links{gap:6px}.header-action{gap:6px;padding:9px 8px;font-size:.8125rem}.header-action svg{width:16px;height:16px}}
@media(max-width:360px){header{gap:8px}.brand{width:92px}}
.section-update{min-height:20px;margin:0 0 10px;color:var(--muted);font-size:.8125rem}
.button[aria-busy=true]{opacity:.7;cursor:progress}
.chosen-model { border: 2px solid var(--blue); }
.purchase-selection { margin-top: 20px; }
.purchase-selection p { margin: 8px 0 0; }

.unit-illustration { margin: 0 0 16px; padding: 8px 8px 10px; background: #f0f4fc; border-radius: 10px; }
.unit-illustration img { display: block; width: 100%; height: 180px; object-fit: contain; }
.unit-illustration figcaption { color: var(--muted); text-align: center; font-size: .875rem; }
@media(max-width:520px) { .unit-illustration img { height: 160px; } }
.inventory-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:20px 0}.inventory-toolbar label{flex:1;min-width:200px;margin:0}.inventory-toolbar .button{margin-bottom:1px}.inventory-summary{margin-top:18px}.inventory-main td{vertical-align:middle}.inventory-row-actions{margin:0;flex-wrap:nowrap}.inventory-row-actions .button{padding:8px 12px}.inventory-detail-row>td{padding:0 14px;background:#f6f8fd}.inventory-detail-row details{margin:0}.inventory-unit-details{padding:16px 0}.stock-empty{background:#f0e7e5;color:#8a362a}.inventory-unit-details h3{margin:8px 0 14px}@media(max-width:700px){.inventory-toolbar{gap:10px}.inventory-toolbar label{min-width:150px}.inventory-toolbar>label:first-child{flex-basis:100%}.inventory-main th,.inventory-main td{padding:10px}.inventory-summary .stat strong{font-size:1.8rem}}

.journey{border-top:4px solid var(--blue)}.journey ol{display:flex;list-style:none;gap:8px;padding:0;margin:0 0 22px}.journey li{flex:1;min-width:0;border-bottom:3px solid #dce3ec;padding:8px 2px;color:var(--muted);font-size:.875rem}.journey li.done{border-color:#23654a;color:#23654a}.journey li.current{border-color:var(--blue);color:var(--blue);font-weight:800}.journey p{margin-bottom:0}.purchase-total{background:#edf2fb;border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0}.purchase-total strong{display:block;color:var(--blue);font-size:1.6rem}.journey .row>div{flex:1;min-width:220px}@media(max-width:520px){.journey ol{gap:4px;overflow:auto}.journey li{font-size:.75rem}.journey .row>.button{width:100%}}
@media(max-width:520px){.journey ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;overflow:visible}.journey li{font-size:.875rem}}

.journey .row>.actions{flex:0 1 auto;min-width:0;margin-top:0;justify-content:flex-end}@media(max-width:520px){.journey .row>.actions{width:100%}.journey .row>.actions .button{flex:1}}

/* Operational reports and contract changes */
.report-filter{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:20px 0}.report-filter label{flex:1;min-width:140px}.report-filter button{margin-bottom:16px}.change-row{padding:16px 0;border-bottom:1px solid #d9e1ef}.change-row:last-child{border:0}.card .help{margin-top:16px}.stat strong{overflow-wrap:anywhere}@media(max-width:600px){.report-filter{gap:10px}.report-filter button{width:100%}.summary .stat strong{font-size:1.4rem}.change-row .actions{flex-direction:column}}

.admin-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px}.admin-tabs button{flex-shrink:0;white-space:nowrap}

.bridge-details{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:12px 20px;margin:24px 0}.bridge-details dt{font-weight:600}.bridge-details dd{margin:0;overflow-wrap:anywhere}@media(max-width:640px){.bridge-details{grid-template-columns:1fr;gap:6px}.bridge-details dd{margin-bottom:12px}}

.purchase-page{max-width:1060px;margin:auto}.purchase-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:24px;align-items:start}.purchase-summary{position:sticky;top:24px}.purchase-progress ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:24px 0}.purchase-progress li{border-bottom:3px solid var(--line);padding:10px 0;color:var(--muted);font-size:.875rem}.purchase-progress li[aria-current]{color:var(--blue);border-color:var(--blue);font-weight:700}.purchase-progress .done{border-color:#23654a;color:#23654a}.purchase-layout .unit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-page .contract{max-height:380px}.purchase-page .footnote{font-size:.875rem}@media(max-width:700px){.purchase-layout{grid-template-columns:1fr;gap:4px}.purchase-summary{position:static}.purchase-progress ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}.purchase-layout .unit-list{grid-template-columns:1fr}}

.client-area{max-width:1040px;margin:8px auto}.client-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.client-heading .eyebrow{margin-bottom:8px;font-size:.7rem}.client-heading h1{font-size:2rem;margin-bottom:8px}.client-heading p:last-child{font-size:.875rem;color:var(--muted);margin:0}
.client-tabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:28px}.client-tabs button{flex-shrink:0;border:0;border-bottom:3px solid transparent;background:none;min-height:48px;padding:10px 0 13px;color:var(--muted);font-size:.875rem}.client-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue);font-weight:750}
.client-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.client-section-heading h2{font-size:1.25rem;margin:0}.client-section-heading h2 span{display:inline-block;font:500 .8rem var(--body);margin-left:5px;color:var(--muted)}.client-section-heading .button{font-size:.8rem;min-height:40px}
.client-boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}.client-box{margin:0;padding:26px;border-radius:16px;box-shadow:0 4px 18px #102d5c04}.client-box-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.client-box-heading .eyebrow{font-size:.65rem;margin:0 0 4px;color:var(--muted)}.client-box-heading h3{font-size:1.65rem;margin:0}.client-status-pending{background:#fff2d6;color:#805a13;font-weight:600;font-size:.75rem}.client-box-size{font-size:1rem;font-weight:600;margin:0 0 3px}.client-box-dimensions{font-size:.8rem;color:var(--muted);margin:0 0 20px}.client-box-price{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}.client-box-price>span{font:600 1.8rem var(--heading);color:var(--blue)}.client-box-price small{font:400 .8rem var(--body)}
.client-next{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#f1f5fb;border-radius:11px;padding:18px;margin-bottom:8px}.client-next strong{font-size:.875rem}.client-next p{font-size:.8rem;color:var(--muted);margin:5px 0 0}.client-next .button{font-size:.85rem}.client-box-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin-top:10px}.button.client-text-button{background:none;border:0;color:var(--blue);font-size:.8rem;font-weight:500;padding:6px 0;min-height:40px;text-decoration:underline;text-underline-offset:3px}.client-options{border-top:1px solid #edf0f5;margin:8px 0 0;padding-top:4px}.client-options summary{font-size:.8rem;color:var(--muted);font-weight:400}.client-options .actions{margin:6px 0 10px}.client-options .button{font-size:.8rem}.client-access-note{font-size:.75rem;color:var(--muted);margin:18px 0;text-align:center}.client-history{margin-top:24px}.client-history>summary{font-size:.875rem;color:var(--muted)}.client-empty{padding:36px 24px;text-align:center}.client-empty h3{font-size:1.25rem}.client-empty p{color:var(--muted);font-size:.875rem;margin:0}.client-setup{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:#fff6df;border-radius:12px;padding:18px 20px;margin-bottom:24px}.client-setup strong{font-size:.9rem}.client-setup p{font-size:.8rem;margin:5px 0 0;color:#715b30}
@media(max-width:600px){.client-heading h1{font-size:1.8rem}.client-heading{margin-bottom:18px}.client-tabs{gap:22px;margin-bottom:24px}.client-tabs button{font-size:.8rem}.client-box{padding:20px}.client-next{display:block;padding:16px}.client-next .button{width:100%;margin-top:16px}.client-box-heading{gap:10px}.client-heading>button{font-size:.75rem}.client-access-note{line-height:1.6}}

.access-heading,.access-person-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.access-heading{margin-bottom:22px}.access-heading .eyebrow{font-size:.7rem;margin-bottom:8px}.access-heading h2{font-size:1.9rem;margin-bottom:8px}.access-heading p:last-child{font-size:.9rem;color:var(--muted);margin:0}.access-heading>.button{font-size:.8rem}.access-person{padding:26px;border-radius:18px}.access-person-heading h3{margin:0;font-size:1.1rem}.access-person-heading .badge{font-weight:500;font-size:.75rem}.access-steps{list-style:none;display:flex;gap:18px;margin:24px 0;padding:0}.access-steps li{flex:1;display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}.access-steps li>span{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:#edf1f7;font-weight:700}.access-steps li[aria-current]{color:var(--blue);font-weight:650}.access-steps li[aria-current]>span{background:var(--blue);color:white}.access-methods{display:grid;grid-template-columns:1fr 1fr;gap:16px}.access-method{padding:22px;background:#f7f9fc;border:1px solid #e3e9f2;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start}.access-method-next{background:#f1f5ff;border-color:#b7c9ec}.access-method-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e5edfc;color:var(--blue);margin-bottom:16px}.access-method-icon svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.access-method h4{font:600 1.2rem var(--heading);margin:0 0 10px}.access-method p{font-size:.85rem;color:var(--muted);line-height:1.6;flex:1}.access-method .button{width:100%;font-size:.85rem;min-height:45px}.access-method-status{font-size:.75rem;margin-bottom:14px;color:#77623b}.access-method-status.confirmed{color:#23654a}.access-confirmation{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.access-confirmation strong{font-size:.9rem}.access-confirmation p{font-size:.8rem;color:var(--muted);margin:6px 0 0}.access-explanation{font-size:.75rem;line-height:1.7;color:var(--muted);text-align:center;margin:16px 12px 26px}.payment-received{display:flex;align-items:center;gap:14px;background:#eaf4ed;border:1px solid #d0e4d7;border-radius:14px;padding:20px;margin-bottom:28px}.payment-received>span{display:grid;place-items:center;background:#d4e9da;color:#23654a;border-radius:50%;width:36px;height:36px;font-size:1.25rem}.payment-received strong{font-size:.95rem;color:#23654a}.payment-received p{font-size:.8rem;margin:4px 0 0;color:#4c6555}.payment-received a{font-size:.8rem;margin-left:auto;white-space:nowrap}.purchase-progress ol{grid-template-columns:repeat(5,minmax(0,1fr))}
dialog:has(.enroll-dialog),dialog:has(.enroll-received){width:min(540px,calc(100% - 24px));padding:28px}.enroll-dialog .eyebrow{font-size:.7rem;margin-bottom:10px}.enroll-dialog h2{font-size:1.8rem;margin-bottom:10px}.enroll-intro{font-size:.9rem;color:var(--muted)}.enroll-demo{padding:10px 12px;border-radius:8px;background:#fff3d9;font-size:.75rem;color:#745114}.enroll-pin{padding:4px 0 12px}.enroll-pin input{letter-spacing:.35em;font-size:1.25rem;min-height:52px}.enroll-consent{font-size:.8rem!important;line-height:1.6;margin:20px 0}.enroll-submit{width:100%;min-height:48px}.enroll-footnote{font-size:.75rem;color:var(--muted);text-align:center;margin:14px 0 0}#enroll-status{font-size:.85rem;margin:12px 0 0;color:var(--blue)}.enroll-received{text-align:center}.enroll-received-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:#e8effc;color:var(--blue);font-size:2rem;margin:8px auto 20px}.enroll-received p{font-size:.9rem;color:var(--muted)}.enroll-received .button{margin:5px;width:calc(100% - 10px)}
.face-stage{position:relative;width:min(100%,250px);aspect-ratio:3/4;border-radius:24px;overflow:hidden;margin:22px auto 16px;background:radial-gradient(ellipse at 50% 40%,#204681,#081b3d);isolation:isolate}.face-stage video,.face-stage .face-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.face-stage video{transform:scaleX(-1)}.face-placeholder{position:absolute;inset:14% 16% 9%;display:grid;place-items:center}.face-placeholder svg{width:100%;height:100%;stroke:#9ab6e2;stroke-width:2;opacity:.65}.face-oval{position:absolute;inset:11% 14% 15%;border:2px solid #d6e5ff;border-radius:48%;box-shadow:0 0 0 100px #04142e66;pointer-events:none}.camera-live .face-oval{border-color:#e1eeff;animation:face-guide-pulse 2.5s ease-in-out infinite}.face-stage-label{position:absolute;bottom:14px;left:8px;right:8px;text-align:center;font-size:.7rem;color:white;letter-spacing:.02em}.face-guidance{font-size:.8rem;text-align:center;color:var(--muted);max-width:360px;margin:0 auto 14px}.face-controls{display:flex;justify-content:center;gap:10px}.face-controls .button{min-width:150px}.face-upload{margin:16px 0}.face-upload summary{text-align:center;font-size:.8rem;font-weight:500}.face-upload label{font-size:.8rem}.face-upload input{font-size:.75rem}.enroll-dialog+#close-modal{width:100%}
@keyframes face-guide-pulse{50%{border-color:#78b6ff;box-shadow:0 0 0 100px #04142e80,0 0 18px #7db5ff44}}
@media(prefers-reduced-motion:reduce){.camera-live .face-oval{animation:none}}
@media(max-width:600px){.access-methods{grid-template-columns:1fr}.access-person{padding:20px}.access-steps{gap:8px}.access-steps li{font-size:.7rem;gap:5px;align-items:flex-start}.access-heading h2{font-size:1.65rem}.payment-received{flex-wrap:wrap}.payment-received a{margin-left:50px}.access-method{padding:20px}dialog:has(.enroll-dialog){padding:22px}.face-stage{width:min(100%,220px)}.enroll-dialog h2{font-size:1.6rem}.purchase-progress ol{grid-template-columns:repeat(2,minmax(0,1fr))}}

.signin{max-width:480px;margin:24px auto;padding:32px;text-align:left;border-radius:20px;box-shadow:0 12px 40px #102d5c08}
.signin-heading{display:flex;align-items:center;gap:16px;margin-bottom:12px}
.signin-heading img{width:64px;height:72px;margin:0;flex-shrink:0}
.signin-heading .eyebrow{font-size:.68rem;letter-spacing:.12em;margin:0 0 7px}
.signin h1{font-size:1.8rem;line-height:1.15;margin:0;letter-spacing:-.035em}
.signin-intro{font-size:.9rem;color:var(--muted);margin:0 0 24px}
.signin-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:#f1f4fa;border:1px solid #e3e9f2;border-radius:12px;margin-bottom:24px}
.signin-selection span,.signin-selection strong,.signin-selection small{display:block}
.signin-selection span{font-size:.7rem;color:var(--muted);margin-bottom:3px}
.signin-selection strong{font-size:1rem;color:var(--blue)}
.signin-selection small{font-size:.75rem;margin-top:2px}
.signin-selection a{font-size:.8rem;text-underline-offset:3px;flex-shrink:0;padding:10px 0}
.signin-switch{display:flex;gap:4px;background:#edf1f7;padding:4px;border-radius:10px;margin-bottom:22px}
.signin-switch button{flex:1;min-height:42px;border:0;border-radius:7px;background:transparent;color:#55627a;font-size:.875rem;font-weight:650}
.signin-switch button[aria-pressed=true]{background:white;color:var(--blue);box-shadow:0 2px 5px #15325f12}
.signin label{margin:16px 0;font-size:.8rem;color:#364154}
.signin input{min-height:48px;border-radius:9px;margin-top:7px;font-size:.9375rem}
.signin-hint{font-size:.75rem;color:var(--muted);margin:-8px 0 16px}
.signin-recovery{text-align:right;margin:-8px 0 12px}
.signin-link{border:0;background:transparent;color:var(--blue);padding:8px 0;min-height:40px;font-size:.8rem;text-decoration:underline;text-underline-offset:3px}
.signin-submit{width:100%;min-height:49px;font-size:.9375rem;border-radius:9px;margin-top:4px}
.signin-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 16px;margin-top:16px;font-size:.8rem}
.signin-footer{text-align:center;font-size:.75rem;color:var(--muted);margin:20px 0 0;line-height:1.6}
@media(max-width:520px){.signin{padding:24px 20px;margin:8px auto}.signin-heading{gap:12px}.signin-heading img{width:52px;height:64px}.signin h1{font-size:1.6rem}.signin-intro{font-size:.85rem}.signin-selection{padding:13px 14px}}

/* Compact purchase journey: keep the five stages in a single ordered row. */
.purchase-step-number,.purchase-step-short{display:none}
@media(max-width:700px){
 body:has(.purchase-page) header{padding:8px 16px;gap:12px}
 body:has(.purchase-page) .brand{width:120px;height:44px;flex-shrink:0}
 body:has(.purchase-page) .header-links{gap:12px;font-size:.875rem;align-items:center}
 body:has(.purchase-page) .header-links a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
 main:has(.purchase-page){padding:20px 16px 48px}
 .purchase-heading{align-items:flex-start;gap:8px;margin-bottom:20px}
 .purchase-heading>div{flex:1 1 220px;min-width:0}
 .purchase-heading .eyebrow{margin-bottom:8px;font-size:.875rem}
 .purchase-heading h1{font-size:1.75rem;line-height:1.15;margin-bottom:8px}
 .purchase-heading p:last-child{font-size:1rem;line-height:1.5;margin-bottom:0;color:var(--muted)}
 .purchase-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}
 .purchase-progress ol{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0 0 20px;overflow:visible}
 .purchase-progress li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;border:0;padding:0 2px;text-align:center;min-width:0;font-size:.875rem;line-height:1.3;overflow-wrap:anywhere}
 .purchase-progress li::before{content:"";position:absolute;height:2px;background:var(--line);left:-50%;right:50%;top:15px}
 .purchase-progress li:first-child::before{display:none}
 .purchase-progress li.done::before,.purchase-progress li[aria-current]::before{background:#23654a}
 .purchase-step-number{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:#f3f6fb;font-size:.875rem;font-weight:700}
 .purchase-progress .done .purchase-step-number{background:#e8f3ed;border-color:#bad9c7;color:#23654a}
 .purchase-progress li[aria-current] .purchase-step-number{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 0 0 4px #e4ebfa}
 .purchase-step-full{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .purchase-step-short{display:block}
 .purchase-layout{gap:12px}
 .purchase-layout>.purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:4px;padding:16px;margin:0;border-radius:12px}
 .purchase-summary .eyebrow{grid-column:1/-1;font-size:.875rem;margin:0 0 4px}
 .purchase-summary h2{grid-column:1;font-size:1.375rem;line-height:1.2;margin:0}
 .purchase-summary>p:not(.eyebrow):not(.footnote){grid-column:1;font-size:.875rem;color:var(--muted);margin:0}
 .purchase-summary>.button{grid-column:2;grid-row:2/4;align-self:center;font-size:.875rem;padding:8px 12px;max-width:140px}
 .purchase-summary>.footnote{grid-column:1/-1;font-size:.875rem;line-height:1.45;margin:8px 0 0;padding-top:10px;border-top:1px solid var(--line);color:var(--muted)}
 .purchase-layout>section{min-width:0}
 .purchase-layout>section>.card{padding:18px;margin-bottom:12px;border-radius:12px}
 .purchase-layout>section>.card h2{font-size:1.375rem;margin-bottom:10px}
 .purchase-layout .field-grid{grid-template-columns:1fr}
 .purchase-layout input,.purchase-layout select,.purchase-layout textarea{font-size:1rem}
}
@media(max-width:360px){
 body:has(.purchase-page) .brand{width:104px}
 body:has(.purchase-page) .header-links{gap:8px}
 .purchase-summary>.button{grid-column:1/-1;grid-row:auto;max-width:none;width:100%;margin-top:8px}
}
.face-phone-choice{display:grid;gap:.55rem;padding:1rem;margin:1.25rem 0;border:1px solid #cbd8f1;border-radius:16px;background:#f1f5ff;text-align:center}.face-phone-choice span{font-size:.9rem;color:#536782}.face-phone-choice .button{width:100%}.face-phone-dialog{max-width:440px;margin:auto;text-align:center}.face-phone-dialog h2{margin:.5rem 0 .75rem}.face-phone-qr{width:min(272px,100%);padding:12px;margin:1.25rem auto;border:1px solid #dce4f1;border-radius:20px;background:#fff}.face-phone-qr svg{display:block;width:100%;height:auto}.face-phone-dialog ol{text-align:left;padding-left:1.5rem;line-height:1.6}.face-phone-dialog li+li{margin-top:.55rem}.face-phone-expiry,.face-mobile-intro{padding:.7rem 1rem;border-radius:12px;background:#edf2fb;color:#254b88;font-size:.95rem}.face-phone-dialog #phone-status{font-size:.95rem}.face-phone-dialog .button{width:100%;margin-top:.75rem}@media(max-width:700px) and (pointer:coarse){.face-phone-choice{display:none}}

/* Compact staff capture: preserve the shared camera behavior, fit controls beside it. */
dialog:has(.staff-face-dialog){width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;box-shadow:0 24px 90px #071b4533}
.staff-face-dialog h2{padding-right:80px;margin:0 0 8px;font-size:1.55rem;color:#142d52}
.staff-face-dialog .enroll-dialog{max-width:none;margin:0}
.staff-face-dialog .enroll-intro{font-size:.9375rem;margin:0 0 16px;text-align:left}
#staff-camera{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 24px}
#staff-camera .face-stage{grid-row:1 / 4;width:auto;height:clamp(160px,36dvh,280px);aspect-ratio:3/4;margin:0;border-radius:22px}
#staff-camera .face-stage-label{font-size:.75rem;bottom:12px}
#staff-camera .face-guidance{align-self:end;margin:0;font-size:.875rem;line-height:1.5;text-align:left}
#staff-camera .face-controls{margin:0;display:flex;justify-content:flex-start;gap:8px}
#staff-camera .face-controls .button{min-height:44px;padding:10px 18px}
#staff-camera .face-upload{align-self:start;margin:0}
#staff-camera .face-upload summary{text-align:left;font-size:.875rem;padding:4px 0;min-height:36px}
.staff-face-dialog .enroll-consent{font-size:.875rem;line-height:1.45;margin:16px 0 12px;font-weight:400;text-align:left}
.staff-face-dialog #staff-feedback:empty{display:none}
.staff-face-dialog #staff-feedback{font-size:.875rem;margin:8px 0}
.staff-face-dialog #staff-send{width:100%;min-height:44px;border-radius:10px}
dialog:has(.staff-face-dialog) #close-modal{position:absolute;right:16px;top:14px;margin:0;min-height:40px;padding:8px 12px;background:#f1f5fc;border-color:#dce5f3}
@media(max-width:520px){
 dialog:has(.staff-face-dialog){padding:18px;width:calc(100% - 16px)}
 .staff-face-dialog h2{font-size:1.3rem;padding-right:72px}
 .staff-face-dialog .enroll-intro{font-size:.875rem;margin-bottom:12px}
 #staff-camera{grid-template-columns:minmax(100px,.9fr) minmax(0,1fr);gap:8px 14px}
 #staff-camera .face-stage{height:auto;width:100%;max-height:30dvh;justify-self:center}
 #staff-camera .face-guidance{font-size:.8125rem}
 #staff-camera .face-stage-label{font-size:.65rem;padding:0 6px}
 #staff-camera .face-controls .button{padding:8px 10px;font-size:.8125rem;width:100%}
 #staff-camera .face-upload summary{font-size:.8125rem;line-height:1.35}
 .staff-face-dialog .enroll-consent{margin:12px 0;font-size:.8125rem}
}

.account-close-options{display:none;margin:16px 0;padding:16px;border:1px solid #e3c8b7;border-radius:12px;background:#fff8f1}.account-close-options p{font-size:.875rem;line-height:1.5}.account-close-options textarea{min-height:90px}#account-manage-form:has(option[value=close]:checked) .account-close-options{display:block}
.legacy-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#legacy-edit-form fieldset{border:1px solid #dce3f2;border-radius:12px;padding:16px;margin:16px 0}#legacy-edit-form legend{font-weight:700;padding:0 6px}#legacy-edit-form h3{margin-top:24px}#legacy-edit-form .check{margin:16px 0}@media(max-width:600px){.legacy-edit-grid{grid-template-columns:1fr}#legacy-edit-form fieldset{padding:12px}}
