/* BEGIN PRESENCE TOKENS — generated by scripts/sync-presence-design.mjs */
:root{
 color-scheme:light;
 --canvas:#f6f6f6;
 --text:#111111;
 --surface:#ffffff;
 --surface-muted:#eeeeee;
 --text-secondary:#666666;
 --separator:#e4e4e4;
 --accent:#252525;
 --positive:#333333;
 --positive-bg:#eeeeee;
 --danger:#b42318;
 --danger-bg:#fff0ee;
 --attention:#333333;
 --attention-bg:#f0f0f0;
 --control:#ffffff;
 --control-line:#929292;
 --focus:#111111;
 --nav-bg:#ffffff;
 --selection:#eeeeee;
 --model-bg:#efefef;
 --avatar:#eeeeee;
 --hero:#171717;
 --hero-text:#ffffff;
 --hero-muted:#b5b5b5;
 --hero-line:#414141;
 --hero-icon:#e0e0e0;
 --toast:#202020;
 --toast-text:#ffffff;
 --side:20px;--control-height:52px;--radius:18px;
 --brand-filter:none;--shadow:0 4px 16px #00000005;
}
:root[data-theme=dark]{
 color-scheme:dark;
 --canvas:#0a0a0a;
 --text:#f5f5f5;
 --surface:#191919;
 --surface-muted:#242424;
 --text-secondary:#a3a3a3;
 --separator:#303030;
 --accent:#e5e5e5;
 --positive:#dddddd;
 --positive-bg:#292929;
 --danger:#ff9a90;
 --danger-bg:#321b1b;
 --attention:#dddddd;
 --attention-bg:#222222;
 --control:#202020;
 --control-line:#707070;
 --focus:#ffffff;
 --nav-bg:#141414;
 --selection:#303030;
 --model-bg:#232323;
 --avatar:#303030;
 --hero:#202020;
 --hero-text:#ffffff;
 --hero-muted:#b5b5b5;
 --hero-line:#454545;
 --hero-icon:#e0e0e0;
 --toast:#f0f0f0;
 --toast-text:#111111;
 --side:20px;--control-height:52px;--radius:18px;
 --brand-filter:invert(1);--shadow:0 8px 24px #00000026;
}
/* END PRESENCE TOKENS */
:root{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;font-size:16px;line-height:1.4;-webkit-text-size-adjust:100%;overscroll-behavior-y:none}
button,input,textarea,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}
button{color:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:wait}button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
a{color:inherit}button svg{flex-shrink:0}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
header{min-height:calc(68px + env(safe-area-inset-top));padding:calc(14px + env(safe-area-inset-top)) var(--side) 12px;display:flex;align-items:center;gap:12px;max-width:760px;margin:auto}
.brand{display:flex;align-items:center;min-height:44px}.brand img{width:48px;height:auto;filter:var(--brand-filter)}
.product{font-size:17px;letter-spacing:-.5px;border-left:1px solid var(--separator);padding-left:12px;font-weight:500}
#workspace{margin-left:auto}.workspace-button{display:flex;align-items:center;gap:7px;max-width:172px;background:var(--surface);border:1px solid var(--separator);border-radius:24px;padding:10px 12px;font-size:12px;min-height:44px}
.workspace-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-button svg{width:15px;height:15px}.workspace-button svg:last-child{width:11px}.appearance-trigger{color:var(--text-secondary)}
main{max-width:720px;margin:auto;padding:22px var(--side) calc(108px + env(safe-area-inset-bottom));min-height:76vh}main:focus{outline:none}
.page-heading{margin:0 0 28px}.page-heading h1{font-size:34px;font-weight:600;line-height:1.12;letter-spacing:-1.3px;margin:0 0 8px;overflow-wrap:anywhere}.page-heading p{font-size:15px;color:var(--text-secondary);line-height:1.5;margin:0;max-width:430px}
h2{font-size:21px;font-weight:500;line-height:1.3;letter-spacing:-.55px;margin:0 0 8px}h3{font-size:16px;line-height:1.45;font-weight:500;margin:0}p{line-height:1.6;color:var(--text-secondary)}
.primary,.secondary,.danger{min-height:var(--control-height);display:inline-flex;gap:10px;justify-content:center;align-items:center;border-radius:26px;padding:14px 22px;border:0;font-size:15px;font-weight:500;text-decoration:none}
.primary{background:var(--text);color:var(--canvas)}.secondary{background:var(--surface);border:1px solid var(--control-line)}.danger{background:var(--danger-bg);color:var(--danger)}
.full{width:100%;margin-top:14px}.text{border:0;background:none;color:var(--text-secondary);font-size:14px;padding:10px 0;min-height:44px}.text.full{margin-top:12px}
.primary.is-loading,.secondary.is-loading,.danger.is-loading{opacity:.7}
.primary.is-loading::after,.secondary.is-loading::after,.danger.is-loading::after{content:'';width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;flex-shrink:0;animation:action-spin .8s linear infinite}
@keyframes action-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.is-loading::after{animation:none!important}}
.back{display:flex;align-items:center;gap:5px;padding:0;min-height:44px;margin:-12px 0 18px;border:0;background:none;color:var(--text-secondary);font-size:14px}.back svg{width:16px}
.icon-button{border:0;background:transparent;border-radius:50%;height:44px;width:44px;display:grid;place-items:center}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:20px 0 8px}.section-heading h2{font-size:15px;font-weight:500;letter-spacing:-.1px;margin:0}.section-heading .text{font-size:13px}
.all-clear{display:flex;align-items:center;gap:12px;padding:0 0 4px}.all-clear h2{font-size:14px;letter-spacing:-.15px;margin:0 0 3px}.all-clear p{font-size:12px;max-width:290px;margin:0}
.check-ring{width:34px;height:34px;display:grid;place-items:center;background:var(--positive-bg);border-radius:50%;color:var(--positive);flex-shrink:0}.check-ring svg{width:17px;height:17px}
.featured-key{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;padding:22px 24px 18px;min-height:210px;background:var(--hero);color:var(--hero-text);border:1px solid var(--hero-line);border-radius:24px}
.key-top{display:flex;align-items:center;justify-content:space-between;color:var(--hero-muted);font-size:10px;font-weight:500;letter-spacing:1.7px}.key-top svg{width:18px;height:18px;color:var(--hero-text)}
.key-identity{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:1;padding:18px 0 20px}.key-identity>span{display:flex;flex-direction:column;min-width:0;gap:8px}.key-identity strong{font-size:28px;line-height:1.15;font-weight:400;letter-spacing:-.9px;overflow-wrap:anywhere}.key-identity small{font-size:11px;letter-spacing:.6px;color:var(--hero-muted)}
.key-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;border-top:1px solid var(--hero-line);padding-top:14px;color:var(--hero-muted)}.key-bottom small{font-size:12px}.key-bottom>span{display:flex;align-items:center;gap:6px}.key-bottom svg{width:14px;height:14px;color:var(--hero-text)}
.home-actions{margin:0 0 16px}.home-actions .primary{min-height:54px}.home-actions svg{width:20px}
.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.quick-links>button{display:grid;grid-template-columns:1fr auto;text-align:left;background:var(--surface);border:1px solid var(--separator);border-radius:var(--radius);padding:18px;min-width:0}.quick-icon{grid-column:1;color:var(--accent);margin-bottom:14px}.quick-icon svg{width:21px;height:21px}.quick-links strong{grid-column:1;font-size:14px;font-weight:500;letter-spacing:-.2px}.quick-links small{grid-column:1;font-size:12px;color:var(--text-secondary);margin-top:4px}.quick-links>button>svg{grid-column:2;grid-row:2/4;align-self:center;width:14px;color:var(--text-secondary)}
.group{background:var(--surface);border:1px solid var(--separator);border-radius:var(--radius);padding:0 16px;margin-bottom:24px;overflow:hidden}.group:empty{display:none}
.row{display:flex;align-items:center;gap:14px;width:100%;border:0;border-bottom:1px solid var(--separator);background:transparent;text-align:left;padding:17px 0;min-height:72px;line-height:1.35}.row:last-child{border-bottom:0}.row-copy{flex:1;min-width:0}.row strong{display:block;font-size:15px;font-weight:500}.row small{display:block;margin-top:4px;color:var(--text-secondary);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.row-icon{width:28px;display:grid;place-items:center;color:var(--accent);flex-shrink:0}.row-icon svg{width:21px;height:21px}.row>svg{width:16px;height:16px;color:var(--text-secondary)}.row.static{cursor:default}.row.static>span:first-child{flex:1;min-width:0}
.pill{font-size:11px;font-weight:500;border-radius:20px;padding:6px 10px;background:var(--positive-bg);color:var(--positive);white-space:nowrap}.pill.warm{background:var(--attention-bg);color:var(--attention)}.pill.muted{color:var(--text-secondary);background:var(--surface-muted)}.count{font-size:12px;background:var(--text);color:var(--canvas);height:24px;min-width:24px;padding:4px;border-radius:50%;text-align:center}
.attention{margin-bottom:24px}.attention .section-heading{margin-top:0}.request-row{display:flex;align-items:center;gap:12px;border:1px solid var(--control-line);background:var(--surface);border-radius:var(--radius);width:100%;padding:18px 15px;text-align:left;margin-top:10px}.request-row>span:nth-child(2){flex:1;min-width:0}.request-row strong{display:block;font-size:15px;font-weight:500;line-height:1.4}.request-row small{display:block;font-size:12px;color:var(--text-secondary);line-height:1.5;margin-top:5px}.small-icon{width:35px;height:35px;display:grid;place-items:center;background:var(--surface-muted);border-radius:50%;color:var(--accent);flex-shrink:0}.small-icon svg{width:18px;height:18px}
.key-grid{margin:10px 0 24px;display:grid;gap:12px}.key-item{display:flex;align-items:center;text-align:left;width:100%;gap:15px;padding:18px;background:var(--surface);border:1px solid var(--separator);border-radius:var(--radius)}.key-item>span:nth-child(2){flex:1;min-width:0}.key-item strong{font-size:17px;font-weight:500;display:block;overflow-wrap:anywhere}.key-item small{color:var(--text-secondary);font-size:11px;letter-spacing:.5px;display:block;margin-top:6px}.key-item>svg{width:15px;height:15px;color:var(--text-secondary)}
.key-symbol{width:50px;height:66px;border:0;border-radius:15px;background:var(--surface-muted);display:grid;place-items:center;color:var(--accent);flex-shrink:0}.key-symbol .presence-key-icon{width:36px;height:51px;stroke-width:1.2}.featured-key .key-symbol{width:62px;height:90px;border-radius:0;background:none;color:var(--hero-icon);transform:rotate(12deg)}.featured-key .presence-key-icon{width:55px;height:78px}.key-detail{padding:18px 0 25px;display:flex;flex-direction:column;align-items:center;gap:16px}.key-detail .key-symbol{width:100px;height:130px;border-radius:27px}.key-detail .presence-key-icon{width:62px;height:88px}
.add-key{border:1px solid var(--separator);border-radius:24px;padding:24px;background:var(--surface)}.add-key>span{display:block;margin-bottom:20px;color:var(--accent)}.add-key p{font-size:14px;max-width:290px;margin:8px 0 18px}.add-key h2{font-size:24px}
.install-note{display:flex;gap:12px;align-items:flex-start;margin:22px 0 5px;padding:0;color:var(--text-secondary)}.install-note>span{padding-top:3px}.install-note svg{width:17px;height:17px}.install-note p{font-size:12px;line-height:1.6;margin:0}.install-note strong{font-weight:500;color:var(--text)}
.timeline article{display:flex;gap:15px;padding:21px 0;border-bottom:1px solid var(--separator)}.timeline h3{font-size:15px}.timeline p{font-size:13px;margin:5px 0 8px}.timeline time{font-size:12px;color:var(--text-secondary)}.event-icon{background:var(--surface-muted);color:var(--text-secondary);border-radius:50%;height:36px;width:36px;display:grid;place-items:center;flex-shrink:0}.event-icon svg{width:17px;height:17px}
.profile-card{display:flex;align-items:center;gap:15px;width:100%;background:var(--surface);border:1px solid var(--separator);border-radius:var(--radius);padding:21px;text-align:left}.profile-card>span:nth-child(2){flex:1;min-width:0}.profile-card strong{font-size:20px;font-weight:500;display:block;letter-spacing:-.4px;overflow-wrap:anywhere}.profile-card small{font-size:13px;color:var(--text-secondary);display:block;margin-top:6px;overflow-wrap:anywhere}.profile-card>svg{width:16px;color:var(--text-secondary)}.avatar{width:50px;height:50px;border-radius:50%;background:var(--avatar);color:var(--accent);display:grid;place-items:center;font-size:22px;font-weight:400;flex-shrink:0}
.version{font-size:12px;text-align:center;color:var(--text-secondary);margin:28px 0}.note{background:var(--surface-muted);border:1px solid var(--separator);border-radius:var(--radius);padding:20px;margin:24px 0}.note h3{font-size:15px}.note p{font-size:14px;margin:7px 0 0}.note p:first-child{margin-top:0}.caption{font-size:12px;line-height:1.6;color:var(--text-secondary)}.center{text-align:center}
.empty-state{text-align:center;padding:42px 22px}.empty-state>svg{width:32px;height:32px;color:var(--accent);margin-bottom:22px}.empty-state h2{font-size:24px}.empty-state p{font-size:14px;max-width:290px;margin:8px auto}
.welcome{padding:40px 0 22px;max-width:420px}.welcome h1{font-size:44px;font-weight:500;line-height:1.08;letter-spacing:-1.8px;margin:30px 0 22px}.welcome>p:not(.caption){font-size:16px;line-height:1.6;max-width:340px;margin:0 0 28px}.welcome-mark{width:60px;height:60px;display:grid;place-items:center;background:var(--text);border-radius:19px;color:var(--canvas)}.welcome-mark svg{width:28px;height:28px}.welcome-actions{margin:30px 0 14px}.welcome .caption{margin-top:22px}.loading{font-size:14px;color:var(--text-secondary);padding:70px 0;text-align:center}
.reading h2{font-size:21px;margin:32px 0 12px}.reading h2:first-child{margin-top:0}.reading p{font-size:15px;line-height:1.75}.success-icon{display:grid;place-items:center;width:72px;height:72px;color:var(--positive);background:var(--positive-bg);border-radius:50%;margin:30px auto}.success-icon svg{width:30px;height:30px}
dl{margin:18px 0 26px}dl>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--separator);padding:17px 0;font-size:14px}dt{color:var(--text-secondary)}dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:60%}.actions{margin-top:25px}
#navigation{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:8px max(14px,calc((100vw - 650px)/2)) calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--separator);background:var(--nav-bg);z-index:10}
#navigation[hidden]{display:none}#navigation button{position:relative;flex:1;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:400;color:var(--text-secondary);border:0;border-radius:16px;background:transparent;padding:6px}
#navigation button[aria-current=page]{color:var(--text);font-weight:600}#navigation button[aria-current=page] .nav-icon{background:var(--selection)}.nav-icon{width:48px;height:26px;display:grid;place-items:center;border-radius:14px}#navigation svg{width:21px;height:21px}.nav-dot{position:absolute;top:6px;left:calc(50% + 12px);width:6px;height:6px;border-radius:50%;background:var(--text);outline:2px solid var(--nav-bg)}
.skip{position:absolute;top:-80px;left:15px;background:var(--text);color:var(--canvas);padding:15px;z-index:30}.skip:focus{top:10px}
dialog{border:1px solid var(--separator);border-radius:28px;background:var(--surface);color:var(--text);padding:24px;width:calc(100% - 28px);max-width:460px;max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #00000030}dialog::backdrop{background:#00000066;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}
.sheet-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 24px}.sheet-title h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.7px}.sheet-title .icon-button{flex-shrink:0;color:var(--text-secondary);background:var(--surface-muted)}.sheet-title svg{width:18px;height:18px}dialog p{font-size:14px}dialog .key-symbol{margin:10px auto 20px;width:70px;height:90px;border-radius:21px}.recognized-name{text-align:center;font-size:25px;font-weight:500;margin-top:18px}
label{display:block;font-size:13px;font-weight:500;margin:20px 0 9px}input,select{width:100%;min-height:52px;background:var(--control);border:1px solid var(--control-line);border-radius:12px;padding:14px;color:var(--text);font-size:16px}input:focus{border-color:var(--focus)}input[readonly]{font-size:12px}form>.primary{margin-top:25px}.inline-error{color:var(--danger)}
#toast{position:fixed;bottom:calc(88px + env(safe-area-inset-bottom));left:20px;right:20px;max-width:640px;margin:auto;z-index:40;border-radius:16px;background:var(--toast);color:var(--toast-text);font-size:13px;line-height:1.5;box-shadow:var(--shadow);pointer-events:none}#toast:not(:empty){padding:16px 19px}#toast.error{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger)}#connection{font-size:12px;padding:12px 22px;background:var(--attention-bg);color:var(--attention);text-align:center}#connection[hidden]{display:none}.offline .primary{opacity:.5}.busy .primary:active{opacity:.7}
.appearance-options{border:0;padding:0;margin:30px 0 16px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.appearance-choice{position:relative;margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;font-size:14px;font-weight:500;padding:13px 9px;border:1px solid var(--separator);border-radius:18px;background:var(--surface);cursor:pointer}.appearance-choice:has(input:checked){border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}.appearance-choice:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:4px}.appearance-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;pointer-events:none}
.appearance-swatch{position:relative;display:block;width:100%;height:102px;background:#f6f6f6;border:1px solid #cccccc;border-radius:10px;overflow:hidden}.appearance-swatch i{position:absolute;width:20px;height:4px;background:#777777;border-radius:3px;top:14px;left:12px}.appearance-swatch b{position:absolute;left:10px;right:10px;top:31px;height:38px;border:1px solid #333333;border-radius:7px;background:#171717}.appearance-swatch em{position:absolute;left:10px;right:10px;bottom:12px;height:10px;border-radius:8px;background:#ffffff}.swatch-dark{background:#0a0a0a;border-color:#444444}.swatch-dark i{background:#bbbbbb}.swatch-dark b{background:#202020;border-color:#444444}.swatch-dark em{background:#333333}.swatch-system{background:linear-gradient(90deg,#f6f6f6 50%,#0a0a0a 50%)}.swatch-system b{background:linear-gradient(90deg,#171717 50%,#202020 50%);border-color:#444444}.swatch-system em{background:linear-gradient(90deg,#ffffff 50%,#333333 50%)}.appearance-check{height:20px;width:20px;border:1px solid var(--control-line);border-radius:50%;display:grid;place-items:center}.appearance-check svg{display:none;width:12px;height:12px}.appearance-choice:has(input:checked) .appearance-check{background:var(--text);color:var(--canvas);border-color:var(--text)}.appearance-choice:has(input:checked) .appearance-check svg{display:block}.appearance-description{font-size:13px}
@media(min-width:720px){header{padding-left:40px;padding-right:40px;min-height:84px}main{padding:30px 40px 130px}.page-heading h1{font-size:40px}.welcome{margin:auto;padding-top:60px}.welcome h1{font-size:50px}.welcome+.install-note{max-width:420px;margin-left:auto;margin-right:auto}.featured-key{padding:26px 30px 22px;min-height:230px}.key-identity strong{font-size:32px}.appearance-swatch{height:145px}.appearance-swatch b{top:42px;height:61px}.appearance-swatch em{bottom:17px;height:13px}}
@media(max-width:600px){#sheet{inset:auto 0 0;margin:0;width:100%;max-width:none;border:0;border-radius:28px 28px 0 0;padding:24px 22px calc(24px + env(safe-area-inset-bottom));max-height:90dvh}}
@media(max-width:365px){:root{--side:18px}header{gap:8px}.product{padding-left:8px;font-size:16px}.brand img{width:42px}.workspace-button{max-width:128px;font-size:11px;padding-left:9px;padding-right:9px}.workspace-button>svg:first-child{display:none}.page-heading h1{font-size:32px}.key-item{gap:10px;padding:14px}.key-item .pill{font-size:10px;padding:5px 7px}.key-item>svg{display:none}.welcome h1{font-size:39px}.quick-links{gap:10px}.quick-links>button{padding:14px}.quick-links>button>svg{display:none}.appearance-options{gap:8px}.appearance-choice{padding:10px 7px;font-size:13px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .18s ease,opacity .18s ease}button:active{opacity:.7}dialog[open]{animation:appear .22s cubic-bezier(0,0,.5,1)}@keyframes appear{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}}
@media(prefers-contrast:more){:root{--text-secondary:#444444;--separator:#888888;--control-line:#555555}:root[data-theme=dark]{--text-secondary:#cccccc;--separator:#777777;--control-line:#999999}}

#scanner{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border-radius:0;background:#101010;color:#ffffff;overflow:hidden;display:none;flex-direction:column}#scanner[open]{display:flex}.scan-header{display:flex;align-items:center;justify-content:space-between;padding:calc(9px + env(safe-area-inset-top)) 15px 8px;flex-shrink:0;font-size:14px}.camera-indicator{height:7px;width:7px;border-radius:50%;background:#ffffff;margin:0 18px}.scan-instructions{text-align:center;padding:7px 20px 16px;flex-shrink:0}.scan-instructions h2{font-size:23px;font-weight:400;letter-spacing:-.4px;margin:0 0 7px}.scan-instructions p{font-size:13px;color:#b5b5b5;margin:0}.viewfinder{touch-action:none;position:relative;flex:1;min-height:120px;max-height:58dvh;overflow:hidden;width:100%;max-width:560px;margin:auto}.viewfinder video,.viewfinder img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.viewfinder [hidden]{display:none}.scan-shade{position:absolute;inset:0;background:#0002;pointer-events:none}.scan-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:54%;aspect-ratio:328/488;max-width:50%;border-radius:14px;box-shadow:0 0 0 1000px #0006}.scan-frame i{position:absolute;width:25px;height:25px;border-color:#ffffff;border-style:solid}.scan-frame i:nth-child(1){left:-1px;top:-1px;border-width:2px 0 0 2px;border-radius:14px 0 0 0}.scan-frame i:nth-child(2){right:-1px;top:-1px;border-width:2px 2px 0 0;border-radius:0 14px 0 0}.scan-frame i:nth-child(3){left:-1px;bottom:-1px;border-width:0 0 2px 2px;border-radius:0 0 0 14px}.scan-frame i:nth-child(4){right:-1px;bottom:-1px;border-width:0 2px 2px 0;border-radius:0 0 14px 0}.camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:#a3a3a3}.camera-placeholder[hidden]{display:none}.scan-controls{padding:14px 22px calc(16px + env(safe-area-inset-bottom));flex-shrink:0;text-align:center}.scan-controls p{font-size:12px;color:#c7c7c7;margin:0 0 14px;min-height:18px}.shutter{height:65px;width:65px;border-radius:50%;border:2px solid #ffffff;background:none;padding:5px;display:block;margin:auto}.shutter>span{background:#ffffff;border-radius:50%;width:100%;height:100%;display:block}.scan-photo{background:none;border:0;color:#e5e5e5;font-size:13px;min-height:44px;padding:10px 14px;margin:3px auto}.scan-controls .scan-privacy{font-size:10px;color:#a3a3a3;margin:0;min-height:0}.viewfinder img{touch-action:none}

.scan-zoom{display:flex;justify-content:center;gap:8px;margin:0 auto 12px}.scan-zoom button{width:44px;height:44px;border:1px solid #707070;background:#252525;color:#eeeeee;border-radius:50%;font-size:12px}.scan-zoom button[aria-pressed=true]{border-color:#ffffff;background:#ffffff;color:#111111}.scan-progress{display:flex;justify-content:center;gap:7px;height:10px;margin-bottom:12px}.scan-progress span{height:5px;width:20px;border-radius:3px;background:#555555}.scan-progress .complete{background:#ffffff}.scan-controls #scan-status{min-height:32px;margin-bottom:10px;line-height:1.4}.recording .shutter>span{width:25px;height:25px;border-radius:5px;margin:auto}.recording .scan-zoom{opacity:.45}.model-viewer{margin:0 0 18px;text-align:center}.model-viewer canvas{display:block;width:100%;height:240px;background:var(--model-bg);border-radius:22px;touch-action:none;cursor:grab}.model-viewer canvas:active{cursor:grabbing}.model-viewer>strong{display:block;font-size:14px;font-weight:500;margin:14px 0 6px}.model-viewer>span{font-size:11px;color:var(--text-secondary)}.model-viewer>p{font-size:12px;line-height:1.5;max-width:330px;margin:10px auto 0}.key-detail:has(.pill:only-child){padding:0 0 15px}@media(max-height:700px){.scan-instructions{padding:2px 18px 8px}.scan-instructions h2{font-size:19px}.scan-controls{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.scan-zoom{margin-bottom:8px}.scan-zoom button{height:44px;width:44px}.scan-progress{margin-bottom:7px}.shutter{height:54px;width:54px}.scan-controls .scan-privacy{display:none}.scan-photo{margin:0}.model-viewer canvas{height:190px}}

.scan-review{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 28px 15px;background:#101010}.scan-review[hidden]{display:none}.viewfinder .scan-review img{position:static;width:100%;height:calc(100% - 25px);min-height:0;object-fit:contain;transform:none;border-radius:10px}.scan-review span{font-size:11px;color:#aaaaaa}.reviewing .scan-frame,.reviewing .camera-placeholder,.reviewing .viewfinder>video,.reviewing .viewfinder>img,.reviewing .scan-zoom,.reviewing .scan-progress,.reviewing .shutter,.reviewing .scan-privacy{display:none}.reviewing .scan-instructions h2{font-size:25px}.reviewing .scan-instructions p{line-height:1.5;max-width:340px;margin:auto}.reviewing .scan-controls #scan-status{max-width:340px;line-height:1.5;margin:0 auto 16px;min-height:36px}.scan-retry{min-height:50px;width:100%;max-width:340px;border:0;border-radius:28px;background:#ffffff;color:#111111;font-size:15px;font-weight:500}.scan-retry[hidden]{display:none}
/* Camera capture uses a dark surround in both appearances. */
#scanner{color-scheme:dark;border:0;box-shadow:none}#scanner button:focus-visible{outline-color:#ffffff}.model-viewer>strong{color:var(--text)}.model-viewer canvas{border:1px solid var(--separator)}
@media(min-width:720px){#scanner{left:50%;transform:translateX(-50%);max-width:540px;height:92dvh;top:4dvh;border-radius:26px}.scan-header{padding-top:15px}.scan-controls{padding-bottom:20px}}

.scan-frame[data-quality=ready] i{border-color:#ffffff}.scan-frame i{transition:border-color .2s ease}.scan-report{width:100%;min-height:240px;padding:14px;border:1px solid var(--control-line);border-radius:12px;background:var(--control);color:var(--text);font:12px/1.6 ui-monospace,monospace;resize:vertical}.scan-report+.primary{margin-top:18px}
@media(prefers-reduced-motion:reduce){.scan-frame i{transition:none}}

/* The capture action must remain explicit, visible and usable without a detector. */
.shutter{height:50px;width:100%;max-width:340px;border:0;border-radius:28px;background:#ffffff;color:#111111;font-size:15px;font-weight:500;padding:10px 20px}
.shutter>span,.recording .shutter>span{display:inline;width:auto;height:auto;border-radius:0;margin:0;background:none}
.scan-progress{height:46px;gap:8px;margin-bottom:10px}
.scan-progress span{display:grid;place-items:center;width:31px;height:46px;overflow:hidden;border:1px solid #707070;border-radius:5px;background:#242424;color:#b5b5b5;font-size:11px}
.scan-progress .complete{border-color:#ffffff;background:#242424}
.scan-progress canvas{display:block;width:100%;height:100%;object-fit:cover}
/* Acquisition details stay behind the interface. Keep the camera layout stable. */
.recording .scan-frame i{animation:scan-breathe 1.2s ease-in-out infinite alternate}
.recording .shutter{opacity:.7;cursor:default}
.recording .scan-photo,.checking .scan-photo{visibility:hidden}
.checking .scan-frame,.checking .camera-placeholder,.checking .viewfinder>video,.checking .viewfinder>img,.checking .scan-zoom,.checking .shutter{visibility:hidden}
.scan-review{padding:28px;background:#101010;justify-content:center}
.viewfinder .scan-review img{height:100%;opacity:.5}
.scan-activity{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.scan-activity[hidden]{display:none}
.scan-activity span{height:36px;width:36px;border:2px solid #ffffff33;border-top-color:#ffffff;border-radius:50%;animation:scan-spin .9s linear infinite}
.scan-zoom button:disabled{cursor:default;opacity:.6}
@keyframes scan-spin{to{transform:rotate(360deg)}}
@keyframes scan-breathe{from{opacity:.5}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.recording .scan-frame i,.scan-activity span{animation:none}}

/* Presence 2.2 — a compact account application, with lists rather than dashboard cards. */
:root{font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Arial,sans-serif;--canvas:#fff;--surface:#fff;--nav-bg:#fff;--radius:12px}
:root[data-theme=dark]{--canvas:#101010;--surface:#101010;--nav-bg:#101010}
body{font-size:17px;line-height:1.45}
header{max-width:620px;min-height:calc(56px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 24px 4px;gap:9px}
.brand img{width:37px}.product{border:0;padding:0;font-size:17px;font-weight:600;letter-spacing:-.4px}
.workspace-button{padding:8px 0 8px 8px;border:0;background:transparent;font-size:14px;gap:5px;max-width:180px}.workspace-button>svg:first-child{display:none}
main{max-width:620px;padding:22px 24px calc(102px + env(safe-area-inset-bottom));min-height:calc(100dvh - 56px)}
.page-heading,.screen-title{margin:0 0 22px}.screen-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-heading h1,.screen-title h1{font-size:32px;line-height:1.18;letter-spacing:-.8px;font-weight:650;margin:0}.page-heading p{font-size:15px;margin-top:9px}
.toolbar-action,.add-row{min-height:44px;display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:8px 0;font-size:16px;font-weight:500}.toolbar-action svg{width:20px}.add-row{width:100%;padding:16px 0;margin:0;gap:20px;min-height:64px}.add-row svg{width:20px;margin-inline:12px}
.key-list{border-top:1px solid var(--separator)}.key-row{display:flex;align-items:center;gap:20px;text-align:left;background:none;border:0;border-bottom:1px solid var(--separator);width:100%;padding:22px 0;min-height:108px}.key-row .key-symbol{width:44px;height:62px;border-radius:0;background:none}.key-row .presence-key-icon{width:35px;height:51px}.key-row-copy{flex:1;min-width:0}.key-row strong{display:block;font-size:19px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.key-row small{display:block;color:var(--text-secondary);font-size:14px;margin-top:5px}.key-row>svg{width:15px;height:15px;color:var(--text-secondary)}
.request-notice{display:flex;align-items:center;gap:12px;background:var(--surface-muted);border:0;border-radius:10px;padding:14px;width:100%;text-align:left;font-size:15px;margin:0 0 20px}.request-notice span{flex:1}.request-notice>svg{width:18px}.request-notice>svg:last-child{width:13px}
.quiet-empty{min-height:40dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px 16px;gap:8px}.quiet-empty>svg{width:30px;height:30px;color:var(--text-secondary);margin-bottom:8px}.quiet-empty h2{font-size:19px;font-weight:500;letter-spacing:-.3px;margin:0}.quiet-empty p{font-size:15px;max-width:240px;margin:0}
.group{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none;margin:0 0 30px}.row{min-height:58px;padding:15px 0;gap:14px}.row strong{font-size:17px;font-weight:400}.row small{font-size:14px}.row-icon{color:var(--text);width:24px}.row-icon svg{width:20px}
.section-heading{margin:26px 0 4px;min-height:30px}.section-heading h2{font-size:13px;font-weight:500;color:var(--text-secondary);letter-spacing:0}
.profile-card{padding:8px 0 26px;background:transparent;border:0;border-bottom:1px solid var(--separator);border-radius:0;gap:14px}.profile-card strong{font-size:19px;font-weight:500}.profile-card small{font-size:14px}.avatar{width:44px;height:44px;font-size:18px}
.primary,.secondary,.danger{font-size:17px;font-weight:600;min-height:50px}.text{font-size:16px}.back{font-size:16px;margin-bottom:16px}
.timeline article{padding:18px 0;gap:14px}.timeline h3{font-size:16px;font-weight:500}.timeline p{font-size:14px}.timeline time{font-size:13px}.event-icon{background:transparent;width:24px}
.request-row{border:0;border-bottom:1px solid var(--separator);border-radius:0;padding:20px 0;margin:0;gap:14px}.small-icon{background:transparent;width:28px}.request-row strong{font-size:17px;font-weight:500}.request-row small{font-size:14px}.pill{border-radius:0;background:none;font-size:13px;padding:0;color:var(--text-secondary)}.pill.warm,.pill.muted{background:none}.key-detail{padding:12px 0 26px}.key-detail .key-symbol{background:none}
.welcome{padding:14dvh 0 20px;margin:0 auto;max-width:440px}.welcome h1{font-size:36px;font-weight:600;line-height:1.12;letter-spacing:-1px;margin:0 0 12px}.welcome>p{font-size:17px;line-height:1.5}.welcome-actions{margin-top:44px}.welcome .text{color:var(--text)}.welcome .caption{font-size:14px}.install-note{font-size:13px;max-width:440px;margin:22px auto}
#navigation{max-width:620px;border-top:1px solid var(--separator);background:var(--nav-bg);box-shadow:none;backdrop-filter:none;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-radius:0}
#navigation button{font-size:11px;font-weight:500;min-height:50px;gap:4px;color:var(--text-secondary)}#navigation button[aria-current=page]{color:var(--text);font-weight:600}.nav-icon,#navigation button[aria-current=page] .nav-icon{background:none;border-radius:0;width:30px;height:27px}.nav-icon svg{width:24px;height:24px}#navigation button[aria-current=page] .nav-icon svg{stroke-width:2}
#sheet{border:0;border-radius:20px;box-shadow:0 18px 70px #0002}.sheet-title h2{font-size:21px;font-weight:600;letter-spacing:-.3px}#sheet p{font-size:16px}input,select,textarea{font-size:17px}label{font-size:15px}dl{font-size:16px}.note{background:transparent;border:0;border-left:2px solid var(--separator);border-radius:0;padding:0 16px}
@media(min-width:720px){main{padding-top:38px}header{padding-top:18px}.welcome{padding-top:90px}.page-heading h1{font-size:32px}}
@media(max-width:365px){header{padding-inline:20px}.brand img{width:32px}.workspace-button{max-width:128px}main{padding-inline:20px}.page-heading h1,.screen-title h1{font-size:30px}.key-row{gap:14px;min-height:96px}.key-row strong{font-size:18px}}
@media(prefers-contrast:more){:root,:root[data-theme=dark]{--text-secondary:var(--text);--separator:var(--control-line)}}

/* One application: a persistent sidebar on a desk, a thumb-accessible tab bar on a phone. */
#address-note{max-width:572px;margin:12px auto 0;padding:16px 20px;background:var(--surface-muted);border-radius:12px;font-size:14px}
#address-note[hidden]{display:none}#address-note p{margin:0 0 5px}#address-note a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:600;min-height:44px}#address-note svg{width:17px}
.welcome strong{font-weight:500;color:var(--text);overflow-wrap:anywhere}.welcome a.text{display:block;text-align:center;text-decoration:none}
.invitation-list{margin-bottom:28px}.key-scope{font-size:14px;margin:-10px 0 22px}
@media(min-width:960px){
 body[data-signed-in=true]{display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100dvh;max-width:1360px;margin:0 auto}
 body[data-signed-in=true] header{grid-column:1/-1;width:100%;max-width:none;height:82px;padding:16px 40px;position:sticky;top:0;background:var(--canvas);z-index:5}
 body[data-signed-in=true] #navigation{grid-column:1;grid-row:2;align-self:start;position:sticky;top:106px;inset-inline:auto;bottom:auto;transform:none;display:flex;flex-direction:column;gap:5px;max-width:none;width:auto;border:0;padding:20px 14px 20px 26px;margin:0;background:transparent}
 body[data-signed-in=true] #navigation button{position:relative;flex-direction:row;justify-content:flex-start;gap:12px;font-size:15px;padding:10px 14px;border-radius:10px;min-height:48px;width:100%}
 body[data-signed-in=true] #navigation button[aria-current=page]{background:var(--surface-muted);font-weight:500}
 body[data-signed-in=true] #navigation .nav-icon{width:23px;height:24px}body[data-signed-in=true] #navigation .nav-icon svg{width:21px;height:21px}
 body[data-signed-in=true] #navigation .nav-dot{position:static;margin-left:auto;width:6px;height:6px}
 body[data-signed-in=true] main{grid-column:2;grid-row:2;width:100%;max-width:840px;margin:0;padding:44px 56px 80px;min-height:calc(100dvh - 82px)}
 body[data-signed-in=true] #address-note:not([hidden]){position:fixed;bottom:26px;right:30px;z-index:6;max-width:360px;border:1px solid var(--separator)}
 body[data-signed-in=true] #connection:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:10}
 .key-row{padding-block:24px;min-height:112px}.welcome{padding-top:100px}
}
@media(max-width:959px){#address-note{margin:12px 20px 0}}

#navigation[hidden]{display:none!important}

/* Integration settings remain readable on narrow screens. */
[data-page="applications"] code{overflow-wrap:anywhere;word-break:break-word;}
[data-page="applications"] dd{min-width:0;}
[data-page="applications"] textarea{width:100%;box-sizing:border-box;}
.consent-check{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;}
.consent-check input{width:auto;min-height:24px;}

/* Independent Fellowship portal; no Presence credentials are shared. */
a.fellowship-entry{text-decoration:none;color:var(--text)}.fellowship-entry:hover{background:var(--surface-muted)}

@media(max-width:560px){[data-page="applications"] dl>div{display:block;}[data-page="applications"] dt{margin-bottom:6px;}[data-page="applications"] dd{text-align:left;max-width:100%;margin-left:0;}}

/* Same navigation grammar across Personal and Enterprise. */
.management-welcome{max-width:440px;margin:8vh auto;text-align:left}.management-welcome .eyebrow{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.screen-actions{display:flex;gap:12px;margin:24px 0}.product{white-space:nowrap}
.row.static>.row-icon:first-child{flex:0 0 24px}
.group>.quiet-empty{min-height:0;padding:18px 0;text-align:left;align-items:flex-start}.group>.quiet-empty p{max-width:none;margin:0}
body[data-surface=admin]{display:block;max-width:1360px;margin:0 auto}body[data-surface=admin] main{max-width:1000px;margin:0 auto;width:100%}
@media(min-width:960px){
 body[data-surface=enterprise][data-signed-in=true]{grid-template-columns:224px minmax(0,1fr)}
 body[data-surface=enterprise][data-signed-in=true] main{max-width:1000px}
 body[data-signed-in=true] #navigation button{border-radius:10px}
 body[data-signed-in=true] .key-row{border-bottom:1px solid var(--separator)}
 body[data-signed-in=true] .screen-title{border-bottom:1px solid var(--separator);padding-bottom:22px;margin-bottom:0}
}
@media(max-width:700px){.management-welcome{margin:5vh auto}.screen-actions{flex-wrap:wrap}.product{font-size:15px}}
