.walkthrough{--walkthrough-scrim:#0a171399;--walkthrough-edge:#f3f4f29e;--walkthrough-glide:cubic-bezier(.22, .8, .24, 1);z-index:1000;touch-action:none;font-family:var(--font-body);transition:opacity .22s;animation:.36s both walkthrough-in;position:fixed;inset:0}:root[data-theme=dark] .walkthrough{--walkthrough-scrim:#000000a8;--walkthrough-edge:#eceeeb6b}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .walkthrough{--walkthrough-scrim:#000000a8;--walkthrough-edge:#eceeeb6b}}.walkthrough.is-leaving{opacity:0}@keyframes walkthrough-in{0%{opacity:0}to{opacity:1}}.walkthrough-safe{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);visibility:hidden;pointer-events:none;position:absolute;inset:0}.walkthrough-light{width:2px;height:2px;box-shadow:0 0 0 200vmax var(--walkthrough-scrim);transition:transform .52s var(--walkthrough-glide), width .52s var(--walkthrough-glide), height .52s var(--walkthrough-glide), border-radius .52s ease;pointer-events:none;border-radius:14px;position:absolute;top:0;left:0;transform:translate(50vw,50vh)}.walkthrough-light.is-lit{outline:1px solid var(--walkthrough-edge);outline-offset:0}.walkthrough-light.is-round{border-radius:999px}.walkthrough[data-practice]{pointer-events:none}.walkthrough[data-practice] :is(.walkthrough-card,.walkthrough-panes>i){pointer-events:auto}.walkthrough-panes>i{position:absolute}.walkthrough-finger{border:2px solid color-mix(in srgb, var(--text-primary) 55%, transparent);background:color-mix(in srgb, var(--text-primary) 16%, transparent);border-radius:50%;width:46px;height:46px;animation:2.3s cubic-bezier(.45,0,.55,1) infinite walkthrough-swipe-left;position:absolute;top:calc(50% - 23px);left:calc(50% - 23px);box-shadow:0 4px 18px #0003}.walkthrough-finger.is-swipe-right{animation-name:walkthrough-swipe-right}@keyframes walkthrough-swipe-left{0%{opacity:0;transform:translate(90%)scale(.9)}12%{opacity:1;transform:translate(90%)scale(1)}62%{opacity:1;transform:translate(-90%)scale(1)}80%,to{opacity:0;transform:translate(-130%)scale(.9)}}@keyframes walkthrough-swipe-right{0%{opacity:0;transform:translate(-90%)scale(.9)}12%{opacity:1;transform:translate(-90%)scale(1)}62%{opacity:1;transform:translate(90%)scale(1)}80%,to{opacity:0;transform:translate(130%)scale(.9)}}.walkthrough-card{box-sizing:border-box;border:1px solid var(--border-subtle);border-radius:var(--radius-overlay);color:var(--text-primary);background:var(--surface-raised);box-shadow:var(--shadow-overlay);transition:transform .52s var(--walkthrough-glide);outline:none;padding:22px 22px 14px;position:absolute;top:0;left:0}.walkthrough-copy{animation:.38s both walkthrough-copy}@keyframes walkthrough-copy{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.walkthrough-mark{margin-bottom:14px}.walkthrough-mark .brand-mark{width:34px;height:34px}.walkthrough-count{color:var(--text-secondary);font-size:var(--type-xs);font-variant:small-caps;letter-spacing:.08em;margin:0 0 6px}.walkthrough-card h2{color:var(--text-primary);font-size:1.4rem;font-weight:var(--weight-medium);letter-spacing:-.01em;margin:0 0 8px;line-height:1.18}.walkthrough-card #walkthrough-body{color:var(--text-primary);font-size:var(--type-base);margin:0;line-height:1.5}.walkthrough-actions{align-items:center;gap:6px;margin-top:16px;display:flex}.walkthrough .walkthrough-skip{min-height:44px;color:var(--text-secondary);font:italic var(--weight-regular) var(--type-base) / 1 var(--font-body);cursor:pointer;background:0 0;border:0;padding:0 4px}.walkthrough-dots{flex:1;justify-content:center;gap:5px;display:flex}.walkthrough-dots i{background:var(--border-subtle);border-radius:50%;width:5px;height:5px;transition:background .2s,transform .2s}.walkthrough-dots i.is-current{background:var(--brand-green);transform:scale(1.35)}.walkthrough .walkthrough-back{border:1px solid var(--border-subtle);width:44px;height:44px;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:50%;place-items:center;padding:0;transition:background .15s;display:grid}.walkthrough .walkthrough-back:hover{background:var(--surface-recessed)}.walkthrough .walkthrough-next{min-height:44px;color:var(--surface-base);background:var(--brand-green);font:var(--weight-medium) var(--type-base) / 1 var(--font-body);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:4px;padding:0 16px 0 18px;transition:background .15s;display:inline-flex}.walkthrough .walkthrough-next:hover{background:var(--brand-green-hover)}.walkthrough button:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}@media (prefers-reduced-motion:reduce){.walkthrough,.walkthrough-light,.walkthrough-card{transition:none}.walkthrough,.walkthrough-copy,.walkthrough-finger{animation:none}}@media (forced-colors:active){.walkthrough-light.is-lit{outline:2px solid highlight}}.person-link-row{-moz-column-gap:8px;flex-wrap:wrap;align-items:center;column-gap:8px;min-width:0;display:flex}.person-link-row>a{flex:1 1 0}.person-link-row>a strong{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}.person-link-unconfirmed{border:1px solid var(--border-subtle);width:32px;height:32px;color:var(--text-secondary);font:inherit;font-size:var(--type-base);cursor:pointer;background:0 0;border-radius:999px;flex:none;justify-content:center;align-items:center;line-height:1;display:inline-flex}.person-link-unconfirmed:hover,.person-link-unconfirmed[aria-expanded=true]{border-color:var(--text-secondary);color:var(--text-primary)}.person-link-unconfirmed:disabled{cursor:default;opacity:.5}.person-link-confirm{flex-wrap:wrap;flex:1 0 100%;align-items:center;gap:8px;padding:0 0 10px;display:flex}.person-link-confirm>span{color:var(--text-secondary);margin-right:4px;font-style:italic}.person-link-move.button{width:40px;min-height:40px;color:var(--text-secondary);border-radius:999px;flex:none;padding:0}@media (pointer:coarse){.person-link-unconfirmed{width:44px;height:44px}.person-link-move.button{width:44px;min-height:44px}}.add-page{gap:32px;width:100%;max-width:660px;margin-inline:auto;display:grid}.add-page .page-heading h1{text-align:center}.main-content:has(.add-page){max-width:none}.main-content:has(.add-page.is-empty){flex-direction:column;display:flex}.route-view:has(>.add-page.is-empty){flex:1;display:grid}.add-page.is-empty{align-content:center;padding-bottom:6vh}@media (width>=921px){.main-content:has(.add-page.is-empty){min-height:100dvh}}.add-search-row{align-items:stretch;gap:12px;display:flex}.add-search-row>.input{min-width:0;min-height:48px;font-size:var(--type-lg);flex:1}.add-search-row>.button{min-width:112px;min-height:48px;font-size:var(--type-base);letter-spacing:.01em;flex:none;padding-inline:20px}.add-group-chip{background:var(--brand-wash);color:var(--text-secondary);font-size:var(--type-sm);border-radius:999px;justify-self:start;align-items:center;gap:4px;margin:-4px 0 0;padding:2px 4px 2px 14px;display:inline-flex}.add-group-chip strong{color:var(--text-primary);font-weight:var(--weight-medium)}.add-group-chip-clear.button{border-radius:999px;width:32px;min-height:32px;padding:0}@media (pointer:coarse){.add-group-chip-clear.button{width:40px;min-height:40px}}.add-page .lookup-job{border-top:1px solid var(--border-subtle);gap:0;min-width:0}.lookup-job-toggle{border-radius:var(--radius-control);text-align:left;width:100%;min-height:68px;color:var(--text-primary);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.lookup-job-toggle>svg{color:var(--text-secondary);flex-shrink:0}.lookup-job-toggle[aria-expanded=true]>svg:not(.spin-icon){transform:rotate(180deg)}.lookup-job-toggle:focus-visible{outline:2px solid var(--border-focus);outline-offset:3px}.lookup-job-content{gap:16px;min-width:0;padding-block:4px 20px;display:grid}.lookup-job-content[hidden]{display:none}.lookup-job .card-form{background:0 0;border:0;border-radius:0;padding:0}.draft-context{font-size:var(--type-sm);overflow-wrap:anywhere;margin:0}.lookup-job .card-form-loading .card-form-actions{border-top:0;padding-top:0}.person-form-tabs{border-bottom:1px solid var(--border-subtle);scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.person-form-tabs::-webkit-scrollbar{display:none}.person-form-tab{min-height:44px;color:var(--text-secondary);font:inherit;font-size:var(--type-base);font-weight:var(--weight-medium);white-space:nowrap;cursor:pointer;transition:color var(--motion-fast), border-color var(--motion-fast);background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:6px;margin-bottom:-1px;padding:0 12px;display:inline-flex}.person-form-tab:first-child{padding-left:2px}.person-form-tab:hover{color:var(--text-primary)}.person-form-tab[aria-selected=true]{border-bottom-color:var(--text-primary);color:var(--text-primary)}.person-form-tab:focus-visible{outline:2px solid var(--border-focus);outline-offset:-2px;border-radius:6px 6px 0 0}.person-form-tab-count{background:var(--brand-wash-strong);min-width:20px;color:var(--text-secondary);font-size:var(--type-xs);text-align:center;border-radius:999px;padding:1px 6px;line-height:1.4}.person-form-tab-dot{background:var(--brand-moss);border-radius:50%;width:7px;height:7px}.person-form-panel{gap:var(--space-4);align-content:start;min-width:0;display:grid}.person-form-panel[hidden]{display:none}.person-form-grid>.field:first-child{grid-column:1/-1}.person-form-intro{color:var(--text-secondary);font-size:var(--type-sm);margin:0;line-height:1.5}.person-link-group{gap:var(--space-2);display:grid}.person-link-heading{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);margin:0}.person-link-editor{border-top:1px solid var(--border-subtle);margin:0;padding:0;list-style:none;display:grid}.person-link-editor li{border-bottom:1px solid var(--border-subtle);align-items:center;gap:8px;min-width:0;min-height:52px;display:flex}.person-link-editor a{min-width:0;color:var(--text-primary);flex:1;align-items:baseline;gap:10px;padding:8px 0;text-decoration:none;display:flex}.person-link-editor a strong{font-weight:var(--weight-medium);flex:none}.person-link-editor a span{min-width:0;color:var(--text-secondary);font-size:var(--type-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.person-link-editor a svg{color:var(--text-secondary);flex:none;align-self:center}.person-link-editor a:hover strong{text-underline-offset:3px;text-decoration:underline}.person-link-remove.button{border-radius:999px;flex:none;width:40px;min-height:40px;padding:0}.person-link-add{gap:8px;display:flex}.person-link-add>.input{flex:1;min-width:0}.person-link-add>.button{flex:none}@media (pointer:coarse){.person-link-remove.button{width:44px;min-height:44px}}@media (width<=520px){.person-form-tabs{gap:0}.person-form-tab{padding-inline:9px}}@media (prefers-reduced-motion:reduce){.person-form-tab{transition:none}}@media (width<=420px){.add-search-row{gap:8px}.add-search-row>.input{font-size:var(--type-base);padding-inline:8px}.add-search-row>.button{min-width:0;padding-inline:12px}}.selected-identity-banner,.lookup-progress{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--surface-base);padding:16px}.lookup-job-summary{gap:3px;padding:0 2px;display:grid}.lookup-job-summary>strong{color:var(--color-ink);font-size:var(--type-lg);overflow-wrap:anywhere}.lookup-job-summary>small{color:var(--color-muted);font-size:var(--type-xs);overflow-wrap:anywhere}.selected-identity-banner{border-color:var(--border-strong);background:var(--brand-wash);justify-content:space-between;align-items:center;gap:16px;display:flex}.selected-identity-banner>div{gap:3px;min-width:0;display:grid}.selected-identity-banner span{color:var(--color-muted);font-size:var(--type-sm);font-weight:var(--weight-medium)}.selected-identity-banner strong{font-size:var(--type-lg)}.selected-identity-banner small{color:var(--color-muted);font-size:var(--type-sm);overflow-wrap:anywhere}.lookup-progress{align-items:center;gap:12px;min-height:48px;display:flex}.lookup-progress>div{gap:4px;display:grid}.lookup-progress span{color:var(--color-muted);font-size:var(--type-xs)}section.lookup-resolution-panel{--lookup-visible-height:100dvh;border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);grid-template-rows:auto minmax(0,1fr) auto;gap:0;padding:0;display:grid;overflow:hidden}section.lookup-resolution-clarification{border-color:var(--border-subtle);background:var(--surface-base)}.lookup-resolution-header{gap:6px;padding:16px 16px 12px;display:grid}.lookup-resolution-header h2{font-size:var(--type-section);margin:0;line-height:1.2}.lookup-resolution-header h2:focus-visible,.lookup-attention-target:focus-visible{outline:2px solid var(--border-focus);outline-offset:3px;border-radius:6px}.lookup-resolution-header p{color:var(--color-muted);font-size:var(--type-sm);margin:0;line-height:1.5}.lookup-resolution-body{gap:12px;min-height:0;padding:0 16px 16px;display:grid}.lookup-resolution-feedback{gap:6px;padding:0;display:grid}.lookup-resolution-actions{border-top:1px solid var(--color-line);background:var(--surface-recessed);padding:12px 16px}.lookup-resolution-actions .button-row{margin:0}.disambiguation-choice{gap:6px;min-height:82px;padding:13px 14px}.disambiguation-card{position:relative}.disambiguation-card>a{color:var(--brand-green-ink);font-size:var(--type-xs);font-weight:var(--weight-medium);text-underline-offset:2px;text-decoration:underline;position:absolute;bottom:13px;right:14px}.disambiguation-card .disambiguation-choice{padding-right:130px}.disambiguation-choice strong{font-size:var(--type-lg)}.disambiguation-choice small{color:var(--brand-green-ink);font-size:var(--type-xs);font-weight:var(--weight-medium)}.lookup-clarification{border-color:var(--border-subtle);background:var(--surface-base)}.lookup-clarification-form{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.lookup-clue-history{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-recessed);gap:6px;padding:10px 12px;display:grid}.lookup-clue-history small{color:var(--color-muted);font-weight:var(--weight-medium)}.lookup-clue-history ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.lookup-clue-history li{background:var(--brand-wash);color:var(--brand-green-ink);font-size:var(--type-xs);font-weight:var(--weight-medium);border-radius:999px;padding:4px 8px}.google-search-suggestions{border-radius:var(--radius-control);background:var(--surface-base);border:0;width:100%;min-height:54px}.resolved-duplicate-warning{margin-bottom:0}.lookup-review-target{min-width:0}@media (width<=920px){.lookup-resolution-panel{max-height:calc(var(--lookup-visible-height,100dvh) - var(--mobile-nav-clearance) - 24px);scroll-margin-block:12px calc(var(--mobile-nav-clearance) + 12px)}.lookup-resolution-body{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-y:auto}.selected-identity-banner,.lookup-review-target{scroll-margin-block-end:calc(var(--mobile-nav-clearance) + 12px)}}@media (width<=640px){.selected-identity-banner{flex-direction:column;align-items:flex-start}.disambiguation-card .disambiguation-choice{padding-bottom:34px;padding-right:14px}.lookup-resolution-header{padding:14px 14px 10px}.lookup-resolution-body{padding:0 14px 14px}.lookup-resolution-actions{padding:10px 14px}}.import-waiting{align-items:center;gap:8px;display:inline-flex}.import-list .import-row-main{cursor:pointer}.import-row-check{flex:none;width:20px;height:20px;margin:0}.import-row-check:disabled+.person-photo,.import-row-check:disabled~.collection-row-copy{opacity:.55}.import-row-status{color:var(--text-secondary);font-size:var(--type-sm);font-style:italic}.import-skipped{color:var(--text-secondary)}.import-skipped summary{cursor:pointer;min-height:36px;line-height:36px}.import-skipped ul{gap:4px;margin:4px 0 0;padding-left:20px;display:grid}.import-group{gap:12px;display:grid}.import-result{font-size:var(--type-lg);margin:0}#person-photo-viewer[open]{flex-direction:column;display:flex}#person-photo-viewer .app-dialog-body{flex:auto;min-height:0;max-height:none}.photo-viewer{gap:var(--space-3);display:grid}.photo-viewer-stage{border-radius:var(--radius-surface);background:var(--brand-wash);touch-action:pan-y;place-items:center;width:100%;height:min(44dvh,520px);display:grid;position:relative;overflow:hidden}.photo-viewer-stage img{-o-object-fit:contain;object-fit:contain;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}.photo-viewer-loading{align-items:center;gap:var(--space-2);color:var(--text-secondary);font-size:var(--type-sm);display:inline-flex}.photo-viewer-step{border:1px solid var(--color-line);background:color-mix(in srgb, var(--surface-base) 88%, transparent);width:40px;height:40px;color:var(--text-primary);cursor:pointer;border-radius:999px;place-items:center;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.photo-viewer-step:focus-visible,.photo-viewer-thumb:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.photo-viewer-step:disabled{opacity:0;pointer-events:none}.photo-viewer-step-previous{left:10px}.photo-viewer-step-next{right:10px}.photo-viewer-caption{font-size:var(--type-sm);flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;display:flex}.photo-viewer-caption span{color:var(--text-secondary)}.photo-viewer-thumbs{gap:var(--space-2);padding:2px;display:flex;overflow-x:auto}.photo-viewer-thumb{border-radius:var(--radius-control);background:var(--brand-wash);cursor:pointer;border:2px solid #0000;flex:none;width:64px;height:80px;padding:0;position:relative;overflow:hidden}.photo-viewer-thumb[aria-current=true]{border-color:var(--brand-green-ink)}.photo-viewer-thumb img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.photo-viewer-thumb-main{color:var(--brand-green-ink);fill:currentColor;filter:drop-shadow(0 0 2px var(--surface-base));position:absolute;top:4px;right:4px}.photo-viewer-find-more{justify-self:start}.photo-viewer-empty{color:var(--text-secondary);margin:0}.photo-crop{justify-items:center;gap:var(--space-3);display:grid}.photo-crop-frame{aspect-ratio:4/5;border-radius:var(--radius-surface);background:var(--brand-wash);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;width:min(100%,min(44dvh,440px)/1.25);position:relative;overflow:hidden}.photo-crop-frame:active{cursor:grabbing}.photo-crop-frame:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.photo-crop-frame img,.photo-crop-preview img{pointer-events:none;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;max-width:none;position:absolute}.photo-crop-controls{align-items:center;gap:var(--space-2);width:min(100%,22rem);color:var(--text-secondary);display:flex}.photo-crop-controls input[type=range]{min-width:0;accent-color:var(--brand-green-ink);flex:auto}.photo-crop-preview{width:44px;height:44px;margin-left:var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--brand-wash);flex:none;position:relative;overflow:hidden}.app-dialog-footer .photo-crop-reset{margin-right:auto}@media (width<=520px){#person-photo-viewer .app-dialog-footer:has(.photo-crop-reset){flex-direction:row;align-items:center}#person-photo-viewer .app-dialog-footer:has(.photo-crop-reset) .button{white-space:nowrap;flex:auto;width:auto;min-width:0;padding-inline:12px}#person-photo-viewer .app-dialog-footer .photo-crop-reset{flex:none;margin-right:0}.photo-crop-frame{width:min(100%,min(40dvh,440px)/1.25)}}.settings-page{width:min(100%,42rem)}.settings-directory{margin:0;padding:0;list-style:none;display:grid}.settings-task-row{gap:var(--space-4);border:0;border-bottom:1px solid var(--border-subtle);width:100%;min-height:4.5rem;padding:var(--space-4) var(--space-2);color:var(--text-primary);text-align:left;cursor:pointer;transition:background var(--motion-fast);background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.settings-task-row:hover{background:var(--surface-recessed)}.settings-task-copy{gap:var(--space-1);overflow-wrap:anywhere;display:grid}.settings-task-copy strong{font-weight:var(--weight-medium,500)}.settings-task-copy>span{color:var(--text-secondary);font-size:var(--type-sm)}.settings-task-panel,.person-detail-body{gap:var(--space-5);display:grid}.settings-task-panel>p,.person-memory h2,.person-memory p{margin:0}.settings-logout{justify-self:start}.settings-attention,.group-member-tools{gap:var(--space-3);flex-wrap:wrap;align-items:center;display:flex}.group-member-tools>.search-box{flex:10rem}.group-detail-meta{font-size:var(--type-sm)}.membership-management{align-content:start;align-self:start}.membership-mode{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.membership-empty{margin:0}.person-detail-body,.detail-page>.page-heading,.detail-page>.management-disclosure{width:min(100%,48rem)}.back-link{justify-self:start;align-items:center;gap:var(--space-1);min-height:2.75rem;margin:calc(var(--space-3) * -1) 0 calc(var(--space-3) * -1) calc(var(--space-1) * -1);padding-inline:var(--space-1);color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);transition:color var(--motion-fast);display:inline-flex}.back-link:hover{color:var(--text-primary)}.person-memory{gap:var(--space-2);display:grid}.person-memory h2{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium)}.person-memory p{color:var(--text-primary);font-size:var(--type-section);white-space:pre-wrap;line-height:1.5}.person-detail-groups{gap:var(--space-2);flex-wrap:wrap;display:flex}.person-group-link{align-items:center;min-height:2.75rem;display:inline-flex}.add-person-action{position:relative}.add-person-choices{z-index:25;border:1px solid var(--border-subtle);border-radius:var(--radius-surface);background:var(--surface-raised);min-width:15rem;box-shadow:var(--shadow-overlay);margin:0;padding:6px;list-style:none;display:grid;position:absolute;top:calc(100% + 6px);right:0}.add-person-choices a{align-items:center;gap:var(--space-3);border-radius:var(--radius-control);min-height:44px;padding:0 var(--space-3);color:var(--text-primary);text-decoration:none;display:flex}.add-person-choices a:hover,.add-person-choices a:focus-visible{background:var(--surface-recessed)}.add-person-choices a:focus-visible{outline:2px solid var(--border-focus);outline-offset:-2px}.add-person-choices svg{color:var(--text-secondary)}.new-person-page{width:min(100%,48rem)}.person-page{position:relative}.person-hero{align-items:end;gap:var(--space-6);grid-template-columns:minmax(0,34rem) minmax(22rem,1fr);display:grid}.person-hero-media{aspect-ratio:4/5;border-radius:var(--radius-surface);background:var(--brand-wash);max-height:calc(100dvh - 9rem);position:relative;overflow:hidden}.person-hero-media:before,.person-hero-media:after{z-index:1;content:"";pointer-events:none;position:absolute;inset:0}.person-hero-media:before{background:linear-gradient(160deg, var(--hero-light) 0%, transparent 55%)}.person-hero-media:after{background:linear-gradient(to bottom, transparent 52%, color-mix(in srgb, var(--surface-canvas) 55%, transparent) 80%, var(--surface-canvas) 100%), linear-gradient(to right, transparent 72%, color-mix(in srgb, var(--surface-canvas) 70%, transparent) 100%)}.person-photo.person-photo-hero{background:var(--brand-wash);width:100%;height:100%;color:var(--text-secondary);border:0;border-radius:0;font-size:clamp(4rem,3rem + 6vw,8rem);position:absolute;inset:0}.person-photo-hero img{-o-object-position:center 28%;object-position:center 28%;filter:var(--hero-photo-filter);-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.person-hero-add-photo{align-content:center;justify-items:center;gap:var(--space-4);background:var(--brand-wash);color:var(--text-secondary);font:inherit;cursor:pointer;transition:background var(--motion-fast), color var(--motion-fast);border:0;display:grid;position:absolute;inset:0}.person-hero-add-photo:hover{background:var(--brand-wash-strong);color:var(--text-primary)}.person-hero-add-photo:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.person-hero-initials{color:var(--text-secondary);font-family:var(--font-display);font-size:clamp(3.5rem,2.5rem + 4vw,6rem);line-height:1}.person-hero-add-label{align-items:center;gap:var(--space-2);font-size:var(--type-base);font-weight:var(--weight-medium);display:inline-flex}.person-page-no-photo .person-hero{grid-template-columns:minmax(0,16rem) minmax(22rem,1fr)}.person-page-no-photo .person-hero-media{aspect-ratio:1}.person-page-no-photo .person-hero-media:before,.person-page-no-photo .person-hero-media:after{display:none}.person-hero-identity{align-content:end;justify-items:start;gap:var(--space-3);min-width:0;padding-bottom:var(--space-2);display:grid}.person-hero-identity h1{color:var(--text-primary);font-family:var(--font-display);font-size:clamp(2.5rem,1.6rem + 2.6vw,4.25rem);font-weight:var(--weight-regular);letter-spacing:var(--tracking-display);overflow-wrap:anywhere;margin:0;line-height:1.04}.person-hero-preferred{align-items:baseline;gap:var(--space-1) var(--space-4);margin:calc(var(--space-1) * -1) 0 0;color:var(--text-secondary);flex-wrap:wrap;font-size:clamp(1.25rem,1.05rem + .6vw,1.625rem);line-height:1.3;display:flex}.person-hero-preferred strong{color:var(--text-primary);font-style:italic;font-weight:var(--weight-regular)}.person-hero-pronunciation{font-size:var(--type-lg)}.person-hero-affiliation{color:var(--text-secondary);overflow-wrap:anywhere;margin:0;font-size:clamp(1.125rem,1rem + .45vw,1.4rem);line-height:1.4}.person-hero-profiles{color:var(--text-secondary);font-size:var(--type-lg);flex-wrap:wrap;align-items:center;margin:0;line-height:1.3;display:flex}.person-hero-profiles>span{white-space:pre}.person-hero-profiles a{min-height:44px;color:var(--text-primary);text-decoration:underline;-webkit-text-decoration-color:var(--border-subtle);text-decoration-color:var(--border-subtle);text-underline-offset:4px;align-items:center;text-decoration-thickness:1px;display:inline-flex}.person-hero-profiles a:hover{text-decoration-color:currentColor}.person-hero-actions{align-items:center;gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.person-hero-actions>.button{min-height:52px;font-size:var(--type-base)}.person-hero-actions>.person-edit-button{min-width:9rem;font-size:var(--type-lg);gap:10px;padding-inline:28px}.person-hero-actions>.person-delete-button{color:var(--state-danger-text)}.person-hero-identity .form-status,.person-hero-identity .form-error{margin:0}.person-page>.person-detail-body{margin-top:var(--space-3)}.person-links h2,.person-links-subheading,.person-other-photos h2{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);margin:0}.person-links .person-links-subheading{margin-top:var(--space-2)}.person-links,.person-other-photos{gap:var(--space-2);display:grid}.person-link-list{border-top:1px solid var(--border-subtle);margin:0;padding:0;list-style:none;display:grid}.person-link-list li{border-bottom:1px solid var(--border-subtle)}.person-link-list a{align-items:center;gap:var(--space-3);min-width:0;min-height:52px;color:var(--text-primary);text-decoration:none;display:flex}.person-link-list a strong{font-size:var(--type-lg);font-weight:var(--weight-regular);flex:none}.person-link-list a span{min-width:0;color:var(--text-secondary);font-size:var(--type-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.person-link-list a svg{color:var(--text-secondary);flex:none;margin-left:auto}.person-link-list a:hover strong{text-underline-offset:3px;text-decoration:underline}@media (width<=920px){.person-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:0}.person-hero-media{border-radius:0;max-height:68dvh;margin-inline:-20px}.main-content:has(>.mobile-status:empty) .person-page:not(.person-page-no-photo) .person-hero-media{margin-top:calc(-20px - env(safe-area-inset-top))}.person-hero-media:after{background:linear-gradient(to bottom, transparent 38%, color-mix(in srgb, var(--surface-canvas) 70%, transparent) 74%, var(--surface-canvas) 96%)}.person-hero-identity{z-index:2;margin-top:-7.5rem;padding-bottom:0;position:relative}.person-hero-identity h1{font-size:clamp(2.25rem,1.6rem + 3vw,3rem)}.person-page:not(.person-page-no-photo) .person-back-link{z-index:3;background:var(--surface-translucent);min-height:40px;color:var(--text-primary);box-shadow:var(--shadow-raised);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:999px;margin:0;padding:0 14px 0 8px;position:absolute;top:12px;left:-8px}.main-content:has(>.mobile-status:empty) .person-page:not(.person-page-no-photo) .person-back-link{top:calc(-8px + env(safe-area-inset-top))}.person-page-no-photo .person-hero{gap:var(--space-5);grid-template-columns:minmax(0,1fr)}.person-page-no-photo .person-hero-media{border-radius:var(--radius-surface);width:9rem;margin-inline:0}.person-page-no-photo .person-hero-identity{margin-top:0}.person-hero-actions>.button{min-height:48px}.person-hero-actions>.person-edit-button{flex:100%}.person-hero-actions>.button-ghost{flex:1 1 0}}@media (width<=520px){.person-hero-media{margin-inline:-16px}.main-content:has(>.mobile-status:empty) .person-page:not(.person-page-no-photo) .person-hero-media{margin-top:calc(-16px - env(safe-area-inset-top))}.main-content:has(>.mobile-status:empty) .person-page:not(.person-page-no-photo) .person-back-link{top:calc(-4px + env(safe-area-inset-top))}.person-page-no-photo .person-hero-media{margin-inline:0}}@media (prefers-reduced-motion:reduce){.settings-task-row,.back-link,.person-hero-add-photo{transition:none}}.appearance-choices{border:0;gap:0;margin:0;padding:0;display:grid}.appearance-choice{align-items:center;gap:var(--space-3);border-bottom:1px solid var(--border-subtle);cursor:pointer;min-height:52px;display:flex}.appearance-choice:first-of-type{margin-top:calc(var(--space-3) * -1)}.appearance-choice input{width:18px;height:18px;margin:0}.appearance-choices>p{margin:var(--space-3) 0 0}.person-hero-photo-button{width:100%;height:100%;color:inherit;font:inherit;cursor:zoom-in;background:0 0;border:0;padding:0;display:block;position:absolute;inset:0}.person-hero-photo-button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.person-hero-photo-count{top:var(--space-3);right:var(--space-3);z-index:2;background:color-mix(in srgb, var(--surface-base) 84%, transparent);color:var(--text-primary);font-size:var(--type-sm);font-weight:var(--weight-medium);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;display:inline-flex;position:absolute}.photo-search{justify-items:start;gap:var(--space-2);display:grid}.photo-search-note{color:var(--text-secondary);font-size:var(--type-sm);margin:0;line-height:1.45}.connected-apps{gap:var(--space-3);border-top:1px solid var(--border-subtle);padding-top:var(--space-5);display:grid}.connected-apps h3,.connected-apps p{margin:0}.connected-apps h3{font-size:var(--type-base);font-weight:var(--weight-medium,500)}.connected-app-list{margin:0;padding:0;list-style:none;display:grid}.connected-app-list li{gap:var(--space-3);border-bottom:1px solid var(--border-subtle);padding:var(--space-2) 0;flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.connected-app-copy{gap:var(--space-1);overflow-wrap:anywhere;display:grid}.connected-app-copy>span{color:var(--text-secondary);font-size:var(--type-sm)}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (width>=640px){.container{max-width:640px}}@media (width>=768px){.container{max-width:768px}}@media (width>=1024px){.container{max-width:1024px}}@media (width>=1280px){.container{max-width:1280px}}@media (width>=1536px){.container{max-width:1536px}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.visible{visibility:visible}.absolute{position:absolute}.block{display:block}.inline{display:inline}.table{display:table}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.rounded{border-radius:.25rem}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@font-face{font-family:"Source Serif 4";src:url(/fonts/source-serif-4-variable-roman.woff2)format("woff2");font-style:normal;font-weight:200 900;font-display:swap}:root{--color-ink:var(--acquaint-dark);--color-muted:var(--acquaint-moss);--color-paper:var(--acquaint-paper);--color-line:var(--acquaint-stone);--brand-green:var(--acquaint-dark);--brand-green-hover:#14241f;--brand-green-ink:var(--acquaint-dark);--brand-sage:var(--acquaint-sage);--brand-moss:var(--acquaint-moss);--brand-stone:var(--acquaint-stone);--brand-wash:#edf0ec;--brand-wash-strong:#dde3df;--brand-leaf:var(--acquaint-sage);--surface-canvas:var(--color-paper);--surface-base:#fff;--surface-raised:#fff;--surface-recessed:var(--brand-wash);--text-primary:var(--color-ink);--text-secondary:var(--color-muted);--text-placeholder:#6b7a71;--border-subtle:var(--color-line);--border-focus:var(--brand-green);--border-strong:var(--brand-sage);--state-success-bg:#e4f2e6;--state-success-text:#315f38;--state-warning-bg:#fff3d6;--state-warning-text:#7a560e;--state-danger-bg:#fff4f3;--state-danger-text:#9f353a;--state-warning-border:#e6c96f;--state-danger-border:#e2b8b8;--border-divider:var(--brand-wash-strong);--focus-ring:#0a17132e;--surface-hover:#f9faf8;--font-body:"Source Serif 4", Georgia, serif;--font-display:var(--font-body);--weight-regular:400;--weight-medium:500;--weight-semibold:600;--type-xs:.8125rem;--type-sm:.875rem;--type-base:1rem;--type-lg:1.125rem;--type-section:1.25rem;--type-heading:1.75rem;--type-title:2rem;--type-display:2.5rem;--tracking-display:-.02em;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--radius-control:.5rem;--radius-surface:.75rem;--radius-overlay:1rem;--shadow-raised:0 8px 28px #0a17130d;--shadow-overlay:0 24px 80px #0a17133d;--motion-fast:.16s ease;--mobile-nav-clearance:0px;--surface-translucent:#fffffff0;--surface-backdrop:#0a17136b;--shadow-nav:0 -10px 30px #0a17131a;--shimmer-highlight:#ffffffb8;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%234A5A50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");--hero-light:#fff4de4d;--hero-photo-filter:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--color-ink);background:var(--color-paper);font-family:var(--font-body);font-size:16px;font-weight:var(--weight-regular);font-synthesis:none;text-rendering:optimizelegibility;line-height:1.5}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-ink:#eceeeb;--color-muted:#a7b3ab;--color-paper:var(--acquaint-dark);--color-line:#2b3a34;--brand-green:#eceeeb;--brand-green-hover:#d6ddd8;--brand-green-ink:#c9d6cd;--brand-wash:#15231e;--brand-wash-strong:#22322b;--surface-base:#111e19;--surface-raised:#14221c;--surface-hover:#14221d;--text-placeholder:#7f9087;--state-success-bg:#13291b;--state-success-text:#9ed0a6;--state-warning-bg:#2c2410;--state-warning-text:#e3c36e;--state-warning-border:#5e4b1c;--state-danger-bg:#2e1517;--state-danger-text:#efa3a6;--state-danger-border:#6a3136;--focus-ring:#eceeeb38;--shadow-raised:0 8px 28px #00000052;--shadow-overlay:0 24px 80px #0009;--shadow-nav:0 -10px 30px #0006;--surface-translucent:#0a1713f0;--surface-backdrop:#0009;--shimmer-highlight:#ffffff14;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23A7B3AB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");--hero-light:#7ca4c424;--hero-photo-filter:brightness(.86) saturate(.9)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-ink:#eceeeb;--color-muted:#a7b3ab;--color-paper:var(--acquaint-dark);--color-line:#2b3a34;--brand-green:#eceeeb;--brand-green-hover:#d6ddd8;--brand-green-ink:#c9d6cd;--brand-wash:#15231e;--brand-wash-strong:#22322b;--surface-base:#111e19;--surface-raised:#14221c;--surface-hover:#14221d;--text-placeholder:#7f9087;--state-success-bg:#13291b;--state-success-text:#9ed0a6;--state-warning-bg:#2c2410;--state-warning-text:#e3c36e;--state-warning-border:#5e4b1c;--state-danger-bg:#2e1517;--state-danger-text:#efa3a6;--state-danger-border:#6a3136;--focus-ring:#eceeeb38;--shadow-raised:0 8px 28px #00000052;--shadow-overlay:0 24px 80px #0009;--shadow-nav:0 -10px 30px #0006;--surface-translucent:#0a1713f0;--surface-backdrop:#0009;--shimmer-highlight:#ffffff14;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23A7B3AB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");--hero-light:#7ca4c424;--hero-photo-filter:brightness(.86) saturate(.9)}}:root[data-theme=light] .theme-dark-only,:root[data-theme=dark] .theme-light-only{display:none!important}@media not all and (prefers-color-scheme:dark){:root:not([data-theme]) .theme-dark-only{display:none!important}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .theme-light-only{display:none!important}}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--surface-canvas);min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}strong,b{font-weight:var(--weight-semibold)}small{font-size:var(--type-xs)}input[type=checkbox],input[type=radio]{accent-color:var(--brand-green)}input::-moz-placeholder{color:var(--text-placeholder);opacity:1;font-weight:var(--weight-regular)}textarea::-moz-placeholder{color:var(--text-placeholder);opacity:1;font-weight:var(--weight-regular)}input::placeholder,textarea::placeholder{color:var(--text-placeholder);opacity:1;font-weight:var(--weight-regular)}:where(button,a,summary,input,textarea,select):focus-visible{outline:2px solid var(--brand-green);outline-offset:4px}svg.lucide{stroke-width:1.65px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{grid-template-columns:256px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--color-line);background:var(--surface-base);flex-direction:column;height:100vh;padding:32px 20px;display:flex;position:sticky;top:0}.brand-lockup{align-items:center;gap:12px;margin-bottom:44px;padding-left:4px;display:flex}.brand-lockup strong{font-size:var(--type-lg);display:block}.brand-wordmark{width:128px;height:auto;display:block}.brand-lockup-copy span{color:var(--color-muted);font-size:var(--type-sm);line-height:1.35;display:block}.brand-mark{-o-object-fit:contain;object-fit:contain;flex:none;width:40px;height:40px}.brand-mark.large{width:64px;height:64px}.sidebar .brand-mark{width:44px;height:44px}.sidebar-nav{gap:6px;display:grid}.sidebar-nav a,.mobile-nav a,.logout-button,.account-chip{border-radius:var(--radius-control);min-height:44px;color:var(--text-secondary);align-items:center;gap:10px;padding:10px 12px;display:flex}.sidebar-nav a{min-height:48px;font-size:var(--type-lg);transition:background-color var(--motion-fast), color var(--motion-fast);gap:14px;padding:10px 14px}.sidebar-nav a:hover:not(.active){background:color-mix(in srgb, var(--brand-wash) 60%, transparent);color:var(--text-primary)}.sidebar-nav a.active,.mobile-nav a.active{background:var(--brand-wash);color:var(--brand-green-ink);font-weight:var(--weight-medium)}.sidebar-footer{gap:10px;margin-top:auto;display:grid}.account-menu{position:relative}.account-menu summary{border-radius:var(--radius-control);min-height:48px;color:var(--text-secondary);font-size:var(--type-lg);cursor:pointer;transition:background-color var(--motion-fast);align-items:center;gap:14px;padding:10px 14px;list-style:none;display:flex}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary svg:last-child{margin-left:auto}.account-menu[open] summary,.account-menu summary:hover{background:var(--surface-recessed)}.account-menu-content{z-index:25;border:1px solid var(--border-subtle);border-radius:var(--radius-surface);background:var(--surface-raised);width:100%;box-shadow:var(--shadow-raised);padding:12px;position:absolute;bottom:calc(100% + 8px);left:0}.account-menu-content>p{color:var(--text-secondary);font-size:var(--type-sm);overflow-wrap:anywhere;margin:0 0 8px}.account-chip{border:1px solid var(--color-line);background:var(--surface-base);font-size:var(--type-sm);overflow:hidden}.account-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.logout-button{cursor:pointer;text-align:left;background:0 0;border:0}.logout-button:disabled{cursor:wait;opacity:.65}.logout-error{color:var(--state-danger-text);font-size:var(--type-xs);font-weight:var(--weight-medium);margin:0;line-height:1.4}.main-content{touch-action:pan-y pinch-zoom;width:100%;max-width:1160px;padding:48px 48px 104px}.mobile-status,.mobile-nav{display:none}.loading-screen,.login-screen{min-height:100vh;padding:24px;padding-top:max(24px, env(safe-area-inset-top));padding-bottom:max(24px, env(safe-area-inset-bottom));place-items:center;display:grid}.loading-screen{color:var(--color-muted);align-content:center;gap:16px}.login-panel{border:1px solid var(--color-line);border-radius:var(--radius-surface);background:var(--surface-raised);width:min(440px,100%);box-shadow:var(--shadow-raised);gap:18px;padding:24px;display:grid}.login-screen{min-height:100dvh}.login-brand-logo{width:min(148px,54%);height:auto;margin-inline:auto;display:block}.login-tagline,.login-auth-section>div{text-align:center}.login-purpose{color:var(--text-secondary);text-align:center;margin:0}.login-tabs{border:1px solid var(--color-line);border-radius:var(--radius-surface);background:var(--color-paper);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.login-tabs [role=tab]{min-height:44px;color:var(--color-muted);font:inherit;font-weight:var(--weight-medium);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:8px}.login-tabs [aria-selected=true]{background:var(--surface-raised);box-shadow:0 0 0 1px var(--border-subtle), 0 1px 2px #0a171314;color:var(--color-ink)}.login-tabs [role=tab]:focus-visible{outline:2px solid var(--color-ink);outline-offset:3px}.login-tabs [role=tab]:disabled{cursor:wait;opacity:.65}.login-panel h1,.page-heading h1,.page-heading h2{margin:0;line-height:1.05}.login-panel h1{color:var(--color-ink);font-size:var(--type-title)}.login-panel p,.page-heading p{color:var(--color-muted);margin:0;line-height:1.5}.login-note,.login-local-primary{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--color-paper);gap:10px;padding:14px;display:grid}.login-availability-note,.login-demo-action span{color:var(--text-secondary);font-size:var(--type-sm);margin:0;line-height:1.45}.login-demo-action{border-top:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:10px;padding-top:14px;display:flex}.page-grid{grid-template-columns:minmax(320px,.8fr) minmax(360px,1.2fr);align-items:start;gap:24px;display:grid}.page-section{gap:22px;min-width:0;display:grid}.page-section.narrow{width:100%;max-width:660px}.page-heading{gap:8px;display:grid}.page-heading>span{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);text-transform:none}.login-panel h1,.access-gate-panel h1,.page-heading h1,.app-dialog-header h2,.empty-state h2,.review-header h2,.lookup-resolution-header h2,.practice-scope-copy h2,.collection-row-name,.deck-row-name,.person-photo>span[aria-hidden=true],.person-memory p,.lookup-job-summary>strong,.selected-identity-banner strong,.disambiguation-choice strong,.practice-name-prompt,.practice-cue-lead,.practice-cue-memory,.practice-choice,.flashcard-line.primary>strong{font-family:var(--font-display);font-weight:var(--weight-regular)}.login-panel h1,.access-gate-panel h1,.page-heading h1,.review-header h2,.practice-name-prompt,.flashcard-line.primary>strong{letter-spacing:var(--tracking-display)}.page-heading h1{font-size:var(--type-title);line-height:1.2}.access-gate-panel h1{font-size:var(--type-heading);line-height:1.2}.page-heading h1[tabindex="-1"]:focus{outline:none}.page-heading h2,.subsection h2,.settings-grid h2,.settings-section h2,.detail-grid h2,.source-list h3{font-size:var(--type-lg);font-weight:var(--weight-medium);margin:0}.row-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.stack{gap:14px;display:grid}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button{border-radius:var(--radius-control);cursor:pointer;min-height:44px;line-height:1.35;font-weight:var(--weight-medium);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 14px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.55}.button-primary{background:var(--brand-green);color:var(--surface-base)}.button-primary:hover{background:var(--brand-green-hover)}.button-secondary{border-color:var(--border-subtle);background:var(--surface-base);color:var(--text-primary)}.button-secondary:hover,.button-ghost:hover{background:var(--surface-recessed)}.button-ghost{color:var(--text-secondary);background:0 0;border-color:#0000}.button-danger{background:var(--state-danger-text);color:var(--surface-base)}.icon-button{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--surface-base);width:44px;height:44px;color:var(--text-secondary);cursor:pointer;place-items:center;display:inline-grid}.field{gap:6px;display:grid}.field-label{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium)}.field-hint,.muted{color:var(--color-muted);font-size:var(--type-sm);line-height:1.45}.input,.search-box input{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);width:100%;min-height:44px;color:var(--color-ink);padding:10px 12px}.input:focus,.search-box input:focus{border-color:var(--brand-green);outline:3px solid var(--focus-ring)}select.input{appearance:none;background-image:var(--select-chevron);cursor:pointer;background-position:right .85rem center;background-repeat:no-repeat;background-size:.75rem;padding-right:2.5rem}.min-h-28{min-height:112px}.form-grid,.filter-grid,.settings-grid,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.settings-column{align-content:start;gap:24px;display:grid}.settings-section{border:1px solid var(--border-subtle);border-radius:var(--radius-surface);background:var(--surface-base);gap:14px;padding:18px;display:grid}.settings-section>h2,.settings-section>p,.settings-summary{margin:0}.settings-account-required{border-radius:var(--radius-control);background:var(--surface-recessed);gap:4px;margin:0;padding:12px;display:grid}.settings-account-required span{color:var(--text-secondary)}.settings-grid,.detail-grid{align-items:start;gap:24px}.settings-grid>section,.detail-grid>section,.toolbar,.card-form,.review-placeholder,.empty-state,.flashcard,.practice-summary{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--surface-base);padding:18px}.toolbar,.card-form{gap:16px;display:grid}.people-command{gap:10px;padding-block:4px;display:grid}.people-search-row,.people-summary-row{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.people-search-row .search-box{flex:auto;min-width:0}.people-search-row .search-box svg,.people-filter-trigger{flex:none}.filter-count{background:var(--brand-green);min-width:22px;height:22px;color:var(--surface-base);font-size:var(--type-xs);border-radius:999px;place-items:center;line-height:1;display:inline-grid}.people-result-count{color:var(--color-muted);font-size:var(--type-sm);font-weight:var(--weight-medium);margin:0}.save-search-button{min-height:36px;padding:6px 8px}.active-filter-row,.smart-deck-filter-summary{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-chip{border:1px solid var(--border-subtle);background:var(--brand-wash);min-height:32px;color:var(--text-primary);cursor:pointer;font-size:var(--type-sm);font-weight:var(--weight-medium);border-radius:999px;align-items:center;gap:6px;padding:5px 10px;display:inline-flex}.filter-chip:hover{border-color:var(--brand-green);background:var(--brand-wash-strong)}.filter-chip-static{cursor:default}.filter-chip-static:hover{border-color:var(--border-subtle);background:var(--brand-wash)}.clear-filter-button{min-height:32px;color:var(--text-secondary);cursor:pointer;font-size:var(--type-sm);font-weight:var(--weight-medium);text-underline-offset:3px;background:0 0;border:0;padding:5px 8px;text-decoration:underline}.people-results[aria-busy=true]{opacity:.72}.app-dialog{border:1px solid var(--color-line);border-radius:var(--radius-overlay);background:var(--surface-base);width:min(520px,100% - 32px);max-width:none;max-height:min(86dvh,760px);color:var(--color-ink);box-shadow:var(--shadow-overlay);padding:0;overflow:hidden}.app-dialog::backdrop{background:var(--surface-backdrop);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.app-dialog-panel{border-block:0;border-right:0;border-radius:0;width:min(440px,100%);height:100dvh;max-height:none;margin:0 0 0 auto}.app-dialog-header,.app-dialog-footer{justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.app-dialog-header{border-bottom:1px solid var(--color-line)}.app-dialog-header>div{gap:4px;display:grid}.app-dialog-header h2,.app-dialog-header p{margin:0}.app-dialog-header h2{font-size:var(--type-section)}.app-dialog-header p{color:var(--color-muted);font-size:var(--type-sm);line-height:1.4}.app-dialog-header .icon-button{flex:none}.app-dialog-body{gap:16px;max-height:calc(min(86dvh,760px) - 150px);padding:18px;display:grid;overflow-y:auto}.app-dialog-panel .app-dialog-body{flex:auto;min-height:0;max-height:none}.app-dialog-panel[open]{flex-direction:column;display:flex}.app-dialog-footer{border-top:1px solid var(--color-line);background:var(--color-paper);justify-content:flex-end}.filter-dialog-fields,.smart-deck-filter-summary+form{gap:16px;display:grid}.filter-toggle-row{padding-top:2px}.lookup-results,.lookup-job{gap:16px;display:grid}.card-form-loading{align-content:start}.disambiguation-panel{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);gap:12px;padding:16px;display:grid}.disambiguation-list{gap:8px;display:grid}.disambiguation-choice{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--color-paper);width:100%;min-height:58px;color:var(--color-ink);cursor:pointer;text-align:left;gap:4px;padding:10px 12px;display:grid}.disambiguation-choice:hover,.disambiguation-choice.selected{border-color:var(--brand-green);background:var(--brand-wash)}.disambiguation-choice:disabled{cursor:not-allowed;opacity:.65}.disambiguation-choice span{color:var(--color-muted);font-size:var(--type-sm);line-height:1.4}.search-box{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);align-items:center;gap:8px;padding:0 10px;display:flex}.search-box:focus-within{border-color:var(--brand-green);outline:3px solid var(--focus-ring)}.search-box input,.search-box input:focus{border:0;outline:0;padding-left:0}.toggle-row,.checkbox-grid,.chip-row{flex-wrap:wrap;gap:10px;display:flex}.toggle-row label,.checkbox-row{align-items:center;gap:8px;min-height:36px;display:inline-flex}.practice-config-group{border:0;gap:8px;margin:0;padding:0;display:grid}.practice-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.checkbox-chip{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);min-width:0;min-height:40px;color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);align-items:center;gap:8px;padding:8px 10px;display:inline-flex}.checkbox-chip input{accent-color:var(--brand-green)}.checkbox-chip span{overflow-wrap:anywhere;min-width:0}.compact-fieldset{padding:14px}.collection-list,.source-list{gap:10px;display:grid}.collection-list{margin:0;padding:0;list-style:none;container:person-collection/inline-size}.cards-list,.available-people-list,.deck-list{border-top:1px solid var(--border-subtle);gap:0}.collection-row{border-bottom:1px solid var(--border-subtle);min-width:0;padding:12px var(--space-2);transition:background var(--motion-fast);grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"main status action";align-items:center;gap:12px;display:grid}.collection-row-standard{min-height:76px}.collection-row-compact{min-height:64px;padding-block:10px}.collection-row-linked:hover,.collection-row-linked:focus-within{background:var(--surface-recessed)}.collection-row .person-photo{background:var(--surface-base);width:2.75rem;height:2.75rem;color:var(--text-secondary);font-size:var(--type-base)}.collection-row-chevron{color:var(--text-secondary);flex:none;align-self:center;margin-left:auto}.collection-row-main{border-radius:6px;grid-area:main;align-items:center;gap:12px;min-width:0;display:flex}.collection-row-main:focus-visible{outline:3px solid var(--focus-ring);outline-offset:4px}.collection-row-copy,.collection-row-metadata,.collection-row-meta-group{min-width:0}.collection-row-copy{gap:3px;display:grid}.collection-row-name,.collection-row-context,.collection-row-meta-group>span{overflow-wrap:anywhere}.collection-row-name{color:var(--color-ink);font-size:var(--type-lg);line-height:1.25}.collection-row-context{color:var(--color-muted);line-height:1.35}.collection-row-preferred{color:var(--color-muted);font-size:var(--type-base);overflow-wrap:anywhere;margin-top:-1px;line-height:1.3}.collection-row-preferred em{color:var(--color-ink);font-style:italic}.collection-row-metadata{color:var(--brand-moss);font-size:var(--type-sm);flex-wrap:wrap;gap:4px 12px;line-height:1.35;display:flex}.collection-row-meta-group{align-items:center;gap:5px;display:inline-flex}.collection-row-meta-group svg{flex:none}.collection-row-status,.collection-row-action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.collection-row-status{grid-area:status}.collection-row-action{grid-area:action}.membership-action{white-space:nowrap;min-width:92px}.available-people-list{overscroll-behavior:contain;max-height:520px;padding-right:2px;overflow:auto}.list-message,.filter-summary-item{border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--surface-base);color:var(--color-muted);padding:16px}.filter-summary-list{max-height:520px;overflow:auto}@container person-collection (width<=400px){.collection-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main main""status action";gap:10px}.collection-row-main{align-items:flex-start}.collection-row-status{justify-content:flex-start}.collection-row-action{justify-content:flex-end}}.review-identity,.detail-identity{align-items:center;gap:12px;min-width:0;display:flex}.review-identity>div,.detail-identity>div{gap:4px;min-width:0;display:grid}.person-photo{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--brand-wash);color:var(--brand-green-ink);flex:none;place-items:center;display:inline-grid;position:relative;overflow:hidden}.person-photo-sm{width:36px;height:36px;font-size:var(--type-sm)}.person-photo-md{width:52px;height:52px;font-size:var(--type-lg)}.person-photo-lg{width:88px;height:88px;font-size:var(--type-heading)}.person-photo-xl{width:132px;height:132px;font-size:var(--type-display)}.person-photo img,.photo-strip img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.person-photo img{position:absolute;inset:0}.person-photo:has(>img.person-photo-cropped){container-type:size}.person-photo img.person-photo-cropped{--photo-width:calc(max(100cqw, 100cqh * var(--photo-aspect)) * var(--photo-zoom));--photo-height:calc(var(--photo-width) / var(--photo-aspect));inset:auto;top:clamp(calc(100cqh - var(--photo-height)), calc(50cqh - var(--photo-y) * var(--photo-height)), 0px);left:clamp(calc(100cqw - var(--photo-width)), calc(50cqw - var(--photo-x) * var(--photo-width)), 0px);width:var(--photo-width);max-width:none;height:var(--photo-height);-o-object-fit:fill;object-fit:fill}.person-photo img.person-photo-pending{opacity:0}.person-photo-loading:before{background:linear-gradient(90deg, transparent, var(--shimmer-highlight), transparent), var(--brand-wash-strong);content:"";animation:1.1s ease-in-out infinite shimmer;position:absolute;inset:0}.person-photo{color:var(--brand-green-ink)}.person-photo>span{color:inherit;font-size:inherit;text-transform:none;line-height:1}.badge{min-height:26px;font-size:var(--type-xs);font-weight:var(--weight-medium);border-radius:999px;align-items:center;gap:5px;padding:4px 9px;display:inline-flex}.badge-neutral{background:var(--surface-recessed);color:var(--text-secondary)}.badge-good{background:var(--state-success-bg);color:var(--state-success-text)}.badge-warn{background:var(--state-warning-bg);color:var(--state-warning-text)}.badge-due{background:var(--brand-wash);color:var(--brand-green-ink)}.empty-state{color:var(--color-muted);place-items:start;gap:12px;display:grid}.empty-state h2{color:var(--color-ink);font-size:var(--type-section);margin:0}.review-header{justify-content:space-between;align-items:start;gap:18px;display:flex}.review-photo-chooser{touch-action:pan-y;flex:none;justify-items:center;gap:6px;display:grid}.review-photo-steps{width:100%;color:var(--text-secondary);font-size:var(--type-sm);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;display:flex}.review-photo-step{border:1px solid var(--color-line);background:var(--surface-base);width:32px;height:32px;color:var(--text-primary);cursor:pointer;border-radius:999px;place-items:center;display:grid}.review-photo-step:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.review-photo-step:disabled{cursor:default;opacity:.35}.card-form-section{border-top:1px solid var(--border-subtle);gap:14px;padding-top:16px;display:grid}.card-form-section h3,.card-form-disclosure summary{color:var(--text-primary);font-size:var(--type-base);font-weight:var(--weight-medium);margin:0}.card-form-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.card-form-disclosure{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base)}.disclosure{border-block:1px solid var(--border-divider);min-width:0}.disclosure>summary{cursor:pointer;min-height:48px;color:var(--text-secondary);font-weight:var(--weight-medium);font-size:var(--type-base);padding:12px 0}.disclosure>summary:hover{color:var(--text-primary)}.disclosure>summary,.card-form-disclosure>summary{--chevron-top:calc(12px + .75em);padding-right:2rem;list-style:none;position:relative}.card-form-disclosure>summary{--chevron-top:calc(14px + .75em)}.disclosure>summary::-webkit-details-marker{display:none}.card-form-disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary:after,.card-form-disclosure>summary:after{top:var(--chevron-top);content:"";opacity:.75;width:.45rem;height:.45rem;transition:transform var(--motion-fast);border-bottom:1.5px solid;border-right:1.5px solid;position:absolute;right:.5rem;transform:translateY(-70%)rotate(45deg)}.disclosure[open]>summary:after,.card-form-disclosure[open]>summary:after{transform:translateY(-25%)rotate(-135deg)}.disclosure-content{gap:var(--space-4);padding:4px 0 var(--space-5);display:grid}.card-form-disclosure summary{cursor:pointer;padding:14px 16px}.card-form-disclosure-body{border-top:1px solid var(--border-subtle);gap:16px;padding:16px;display:grid}.card-form-actions{border-top:1px solid var(--border-subtle);background:var(--surface-base);gap:8px;padding-top:14px;display:grid}.detail-grid>.detail-memory,.detail-memory{background:var(--surface-recessed);grid-column:1/-1}.detail-memory p,.detail-manage p,.danger-zone p{margin:0;line-height:1.55}.detail-label{color:var(--text-secondary);font-size:var(--type-xs);text-transform:none;margin:14px 0 8px}.detail-chip-group{margin-bottom:4px}.detail-manage{gap:16px;display:grid}.danger-zone{border:1px solid var(--state-danger-border);border-radius:var(--radius-surface);background:var(--state-danger-bg);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.danger-zone>div{gap:4px;display:grid}.danger-zone p{color:var(--text-secondary);font-size:var(--type-sm)}.settings-danger-zone{margin-top:4px}.review-identity>div>span,.detail-identity>div>span{color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);text-transform:none}.review-header h2{font-size:var(--type-heading);margin:4px 0;line-height:1.2}.review-header p{color:var(--color-muted);margin:0}.lookup-progress{color:var(--brand-green-ink);font-size:var(--type-sm);font-weight:var(--weight-medium);align-items:center;gap:8px;margin-top:8px;display:inline-flex}.spin-icon,.lookup-progress svg{animation:.9s linear infinite spin}.form-meta{color:var(--color-muted);font-size:var(--type-sm);flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.form-meta-dirty,.form-meta-clean{font-weight:var(--weight-medium)}.form-meta-dirty{color:var(--state-warning-text)}.form-meta-clean{color:var(--state-success-text)}.warning-copy{border-left:4px solid var(--state-warning-border);background:var(--state-warning-bg);color:var(--state-warning-text);margin:0;padding:10px 12px}.photo-warning{border:1px solid var(--state-warning-border);border-radius:var(--radius-control);background:var(--state-warning-bg);color:var(--state-warning-text);gap:4px;margin:0;padding:10px 12px;display:grid}.photo-warning strong{color:var(--state-warning-text)}.photo-note{color:var(--text-secondary);font-size:var(--type-sm);margin:0}.text-button{color:var(--text-primary);cursor:pointer;font-weight:var(--weight-medium);text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}.text-button:disabled{cursor:not-allowed;opacity:.55}.photo-options{border:1px solid var(--color-line);border-radius:var(--radius-control);gap:10px;margin:0;padding:12px;display:grid}.photo-options legend{font-weight:var(--weight-medium);padding:0 6px}.photo-options-hint{color:var(--color-muted);font-size:var(--type-sm);margin:0}.photo-option{align-content:start;justify-self:center;gap:10px;width:min(100%,320px);min-width:0;display:grid}.photo-option-image{touch-action:pan-y}.photo-option img{aspect-ratio:1;background:var(--surface-canvas);-o-object-fit:cover;object-fit:cover;border-radius:6px;width:100%}.photo-option-navigation{justify-content:space-between;align-items:center;gap:8px;display:flex}.photo-option-navigation span{color:var(--color-muted);font-size:var(--type-sm);white-space:nowrap}.photo-option-detail{min-width:0;font-size:var(--type-xs);gap:3px;display:grid}.photo-option-detail span{color:var(--color-muted);overflow-wrap:anywhere}.photo-option-include{align-items:center;gap:8px;display:flex}.photo-source-candidates{border:1px solid var(--color-line);border-radius:var(--radius-control);font-size:var(--type-sm);gap:6px;padding:10px 12px;display:grid}.photo-source-candidates span{color:var(--color-muted);font-weight:var(--weight-medium)}.photo-source-candidates a{color:var(--brand-green-ink);overflow-wrap:anywhere}.duplicate-warning{border:1px solid var(--state-warning-border);border-radius:var(--radius-control);background:var(--state-warning-bg);color:var(--state-warning-text);font-size:var(--type-sm);gap:6px;padding:10px 12px;display:grid}.duplicate-warning strong{font-size:var(--type-sm)}.duplicate-list{color:var(--text-secondary);gap:4px;display:grid}.fieldset{border:1px solid var(--color-line);border-radius:var(--radius-control);gap:10px;margin:0;padding:14px;display:grid}.fieldset legend{font-weight:var(--weight-medium);padding:0 6px}.source-row{border:1px solid var(--color-line);border-radius:var(--radius-control);justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.source-row a,.source-list a{color:var(--brand-green-ink);overflow-wrap:anywhere}.subsection{gap:12px;display:grid}.definition-list{gap:12px;margin:0;display:grid}.definition-list.compact{gap:8px}.definition-list div{border-bottom:1px solid var(--brand-wash);justify-content:space-between;gap:12px;padding-bottom:8px;display:flex}.definition-list dt{color:var(--color-muted)}.definition-list dd{font-weight:var(--weight-medium);text-align:right;margin:0}.photo-strip{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;display:grid}.photo-strip img{aspect-ratio:1;border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--brand-wash)}.deck-row{gap:var(--space-3);border-bottom:1px solid var(--border-subtle);min-width:0;min-height:4.5rem;padding:var(--space-3) var(--space-2);transition:background var(--motion-fast);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;display:grid}.deck-row:hover{background:var(--surface-recessed)}.deck-row-copy{gap:var(--space-1);min-width:0;display:grid}.deck-row-name,.deck-row-detail{overflow-wrap:anywhere}.deck-row-name{color:var(--color-ink);font-size:var(--type-lg);line-height:1.25}.deck-row-detail,.deck-row-count{color:var(--text-secondary);font-size:var(--type-sm);line-height:1.4}.deck-row-count{white-space:nowrap}.deck-row-detail{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.status-line{color:var(--color-muted);font-size:var(--type-sm);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.status-line-action{color:inherit;font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.status-line-action:disabled{cursor:default;opacity:.6}.sync-error{color:var(--state-danger-text);font-weight:var(--weight-medium)}.sync-detail{color:var(--state-danger-text);font-size:var(--type-xs);font-weight:var(--weight-medium)}.practice-screen{align-content:center;min-height:calc(100dvh - 64px)}.practice-setup{gap:var(--space-6)}.practice-setup .stack>.button{justify-self:start;min-width:12rem}.practice-scope,.practice-group-options{gap:var(--space-4);display:grid}.practice-scope-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.practice-scope-copy{min-width:0}.practice-scope-copy h2{font-size:var(--type-section);overflow-wrap:anywhere;margin:0}.practice-scope-copy p{margin:var(--space-1) 0 0}.practice-session-options{border:0;position:relative}.practice-session-options>summary{padding:10px 12px}.practice-session-options>.disclosure-content{z-index:5;min-width:190px;padding:var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-surface);background:var(--surface-raised);box-shadow:var(--shadow-raised);position:absolute;top:100%;right:0}.practice-focus-mode{z-index:50;background:var(--color-paper);min-height:100dvh;padding:max(clamp(12px, 3vw, 36px), env(safe-area-inset-top)) max(clamp(12px, 3vw, 36px), env(safe-area-inset-right)) max(clamp(12px, 3vw, 36px), env(safe-area-inset-bottom)) max(clamp(12px, 3vw, 36px), env(safe-area-inset-left));border:0;border-radius:0;align-content:center;gap:22px;display:grid;position:fixed;inset:0;overflow:auto}.practice-focus-mode:focus{outline:none}.practice-screen.practice-focus-mode{grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:10px;height:100dvh;min-height:100dvh}.practice-summary.practice-focus-mode{text-align:center;place-content:center}.session-topbar{width:min(760px,100%);color:var(--text-secondary);font-size:var(--type-sm);font-weight:var(--weight-medium);justify-content:space-between;justify-self:center;align-items:center;gap:12px;display:flex}.practice-topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.flashcard{cursor:pointer;text-align:center;touch-action:pan-y;-webkit-user-select:none;user-select:none;justify-self:center;place-items:center;gap:18px;width:min(620px,100%);min-height:360px;display:grid}.practice-photo-card{border-color:var(--border-subtle);width:min(760px,100%);min-height:320px;box-shadow:none;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:8px;padding:10px;position:relative}.practice-focus-mode .practice-photo-card{height:100%;min-height:0}.practice-photo-region{place-items:center;width:100%;height:100%;min-height:0;display:grid}.practice-photo-card .person-photo-xl{width:100%;height:100%;font-size:clamp(2.875rem,9vw,6rem)}.practice-photo-card .person-photo-xl img{-o-object-fit:contain;object-fit:contain}.practice-photo-card .person-photo-xl>.practice-cue{gap:var(--space-2);max-width:min(34rem,100%);padding:var(--space-5);color:var(--text-primary);font-size:var(--type-base);text-align:center;overflow-wrap:anywhere;line-height:1.35;display:grid;position:relative;top:-8%}.practice-cue-lead{font-size:clamp(var(--type-section), 4vw, var(--type-heading));letter-spacing:var(--tracking-display);line-height:1.2}.practice-cue-detail{color:var(--text-secondary)}.practice-photo-card .person-photo-xl>.practice-cue-empty{color:var(--text-secondary);font-size:var(--type-sm)}.practice-cue-memory{font-size:var(--type-lg);-webkit-line-clamp:4;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.practice-reverse-card.is-flipped{grid-template-rows:auto minmax(0,1fr) auto}.practice-name-prompt{max-width:100%;color:var(--color-ink);font-family:var(--font-display);font-size:clamp(var(--type-title), 7vw, 3.25rem);overflow-wrap:anywhere;line-height:1.15}.practice-reverse-card.is-flipped .practice-name-prompt{font-size:clamp(var(--type-section), 5vw, var(--type-title))}.practice-reverse-card .person-photo-xl>span{font-size:var(--type-lg);padding:16px;line-height:1.4}.practice-reverse-card .flashcard-answer:empty{display:none}.flashcard-answer{bottom:calc(38px + var(--space-3));border-radius:var(--radius-control);background:var(--surface-translucent);width:min(580px,100% - 44px);max-height:min(26vh,220px);box-shadow:var(--shadow-raised);border:0;align-content:start;gap:10px;padding:clamp(12px,3vw,20px);display:grid;position:absolute;left:50%;overflow:auto;transform:translate(-50%)}.flashcard-answer.is-hidden{visibility:hidden}.flashcard-answer-compact{gap:7px;max-height:min(22vh,170px)}.flashcard-answer-large{gap:14px;max-height:min(32vh,270px)}.flashcard-line{text-align:center;gap:4px;display:grid}.flashcard-line>span{color:var(--text-secondary);font-size:var(--type-xs);font-weight:var(--weight-medium);text-transform:none}.flashcard-line>strong{color:var(--color-ink);font-size:var(--type-section);font-weight:var(--weight-regular);overflow-wrap:anywhere;line-height:1.25}.flashcard-answer-compact .flashcard-line>strong{font-size:var(--type-lg)}.flashcard-answer-large .flashcard-line>strong{font-size:var(--type-heading)}.flashcard-line.primary>strong{font-size:var(--type-title);line-height:1.15}.flashcard-answer-compact .flashcard-line.primary>strong{font-size:var(--type-heading)}.flashcard-answer-large .flashcard-line.primary>strong{font-size:var(--type-display)}.flashcard small{color:var(--color-muted)}.flashcard.is-flipped{background:var(--surface-recessed)}.practice-photo-card.is-flipped{background:var(--surface-base)}.practice-choice-card{cursor:default;grid-template-rows:minmax(0,1fr) auto auto}.practice-choice-region{align-content:center;gap:12px;width:min(580px,100%);max-height:min(32vh,280px);display:grid;overflow:auto}.practice-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.practice-choice{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-base);min-width:0;min-height:52px;color:var(--color-ink);cursor:pointer;font-size:var(--type-lg);text-align:left;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.practice-choice:hover:not(:disabled),.practice-choice.selected{border-color:var(--brand-green);background:var(--brand-wash)}.practice-choice:disabled{cursor:default;opacity:1}.practice-choice.correct{border-color:var(--state-success-text);background:var(--state-success-bg);color:var(--state-success-text)}.practice-choice.incorrect{border-color:var(--state-warning-text);background:var(--state-warning-bg);color:var(--state-warning-text)}.practice-choice span{overflow-wrap:anywhere;min-width:0;line-height:1.25}.practice-choice svg{flex:none}.practice-choice-status{min-height:22px;color:var(--text-secondary);font-weight:var(--weight-medium);overflow-wrap:anywhere}.practice-actions{grid-template-columns:repeat(3,minmax(0,1fr));justify-self:center;gap:12px;width:min(620px,100%);display:grid}.walkthrough-actions{grid-template-columns:1fr 2fr;width:min(760px,100%)}.install-copy{gap:8px;display:grid}.install-copy p,.form-status,.form-error{margin:0}.form-status{color:var(--state-success-text);font-weight:var(--weight-medium)}.form-error{color:var(--state-danger-text);font-weight:var(--weight-medium)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (width<=920px){:root{--mobile-nav-clearance:calc(65px + env(safe-area-inset-bottom))}.app-shell{padding-bottom:calc(var(--mobile-nav-clearance) + 11px);display:block}.sidebar{display:none}.main-content{min-height:calc(100dvh - var(--mobile-nav-clearance) - 11px);padding:20px;padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:68px}.mobile-status{margin-bottom:16px;display:block}.mobile-status:empty{display:none}.mobile-nav{z-index:20;border-top:1px solid var(--color-line);background:var(--surface-translucent);padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{min-height:64px;font-size:var(--type-xs);border-radius:0;flex-direction:column;gap:4px}.page-grid,.form-grid,.filter-grid,.settings-grid,.detail-grid,.settings-columns{grid-template-columns:1fr}.row-heading,.review-header{flex-direction:column;align-items:stretch}.row-heading.row-heading-inline{flex-direction:row;align-items:center}.row-heading>.button-row>.button-ghost:first-child{margin-left:-14px}.card-form-actions{z-index:12;bottom:calc(var(--mobile-nav-clearance) + 8px);border:1px solid var(--border-subtle);border-radius:var(--radius-surface);box-shadow:var(--shadow-nav);margin:0 -10px -10px;padding:10px;position:sticky}.card-form-actions .button-row{flex-direction:row}.card-form-actions .button{flex:1 1 0;width:auto}.app-dialog-panel{border:1px solid var(--color-line);width:100%;height:auto;max-height:min(82dvh,720px);padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-radius:16px 16px 0 0;margin:auto 0 0}.app-dialog-panel .app-dialog-body{max-height:calc(min(82dvh,720px) - 150px)}.practice-actions{grid-template-columns:1fr}.walkthrough-actions{grid-template-columns:1fr 2fr;gap:6px}.practice-toggle-grid{grid-template-columns:1fr}.flashcard{min-height:300px}}@media (height<=760px){.practice-focus-mode{align-content:start;gap:12px}.flashcard-answer,.practice-choice-region{max-height:min(28dvh,190px)}}@media (width<=520px){.main-content{padding:16px;padding-top:calc(16px + env(safe-area-inset-top));padding-bottom:68px}.page-heading h1{font-size:var(--type-heading)}.button-row{flex-direction:column;align-items:stretch}.button-row .button,.button-row a{width:100%}.row-heading .button-row{flex-direction:row;align-items:center}.row-heading .button-row .button,.row-heading .button-row a{width:auto}.practice-setup .stack>.button{justify-self:stretch}.people-search-row{gap:8px}.people-filter-trigger{padding-inline:11px}.people-summary-row{align-items:flex-start}.save-search-button{text-align:right;min-height:32px;padding-block:4px}.app-dialog-compact{width:calc(100% - 24px)}.app-dialog-footer{flex-direction:column-reverse;align-items:stretch}.app-dialog-footer .button{width:100%}.collection-row-main,.review-identity,.detail-identity{align-items:flex-start}.danger-zone{flex-direction:column;align-items:stretch}.login-screen{padding:14px;padding-top:max(14px, env(safe-area-inset-top));padding-bottom:max(14px, env(safe-area-inset-bottom))}.login-panel{gap:14px;padding:18px}.login-brand-logo{width:min(128px,48%)}.login-demo-action{flex-direction:column;align-items:stretch}.collection-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main main""status action";gap:10px}.collection-row-status{justify-content:flex-start}.collection-row-action{justify-content:flex-end}.collection-row-action .button{width:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.login-auth-section,.turnstile-container,.billing-section{gap:14px;display:grid}.login-auth-section{min-width:0}.login-auth-section>div,.login-auth-section h2,.login-auth-section p,.billing-heading h2,.billing-heading p{margin:0}.login-auth-section>div{gap:4px;display:grid}.login-auth-section h2{font-size:var(--type-lg)}.turnstile-container,.turnstile-widget{max-width:100%;overflow:hidden}.access-gate-screen{background:var(--surface-canvas);place-items:center;min-height:100dvh;padding:24px;display:grid}.access-gate-panel{border:1px solid var(--border-subtle);border-radius:var(--radius-overlay);background:var(--surface-raised);width:min(520px,100%);box-shadow:var(--shadow-raised);gap:18px;padding:28px;display:grid}.access-gate-panel>div,.access-gate-panel h1,.access-gate-panel p{margin:0}.access-gate-panel>div:not(.button-row){gap:6px;display:grid}.consent-facts{border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);grid-template-columns:max-content minmax(0,1fr);gap:8px 16px;margin:0;padding:12px 0;display:grid}.consent-facts dt{color:var(--text-secondary)}.consent-facts dd{overflow-wrap:anywhere;margin:0}.billing-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.billing-heading>div{gap:6px;display:grid}.plan-badge{font-size:var(--type-xs);font-weight:var(--weight-medium);letter-spacing:.04em;text-transform:none;border-radius:999px;flex:none;align-items:center;padding:6px 10px;display:inline-flex}.plan-badge-free{background:var(--surface-recessed);color:var(--text-secondary)}.plan-badge-paid{background:var(--state-success-bg);color:var(--state-success-text)}.plan-badge-admin{background:var(--brand-green);color:var(--surface-base)}.billing-limit-warning{border-radius:var(--radius-control);background:var(--state-warning-bg);color:var(--state-warning-text);margin:0;padding:12px;line-height:1.5}.billing-pricing-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.billing-pricing-actions .button{width:100%}@media (width<=560px){.access-gate-screen{place-items:start center;padding:14px}.access-gate-panel{padding:20px}.billing-heading{flex-direction:column-reverse;align-items:flex-start}.billing-pricing-actions{grid-template-columns:1fr}}.display-pill{right:max(20px, env(safe-area-inset-right));bottom:max(20px, env(safe-area-inset-bottom));z-index:30;border:1px solid var(--border-subtle);background:var(--surface-translucent);box-shadow:var(--shadow-raised);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:999px;align-items:center;gap:2px;padding:3px;display:flex;position:fixed}.display-pill-toggle{width:38px;height:38px;color:var(--text-secondary);cursor:pointer;transition:background var(--motion-fast), color var(--motion-fast);background:0 0;border:0;border-radius:999px;place-items:center;display:inline-grid}.display-pill-toggle:hover{background:var(--surface-recessed);color:var(--text-primary)}.display-pill-toggle:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}.display-pill-option:has(input:focus-visible){outline:2px solid var(--border-focus);outline-offset:2px}.display-pill-options{border:0;border-right:1px solid var(--border-divider);align-items:center;gap:2px;margin:0;padding:0 2px 0 0;animation:.16s ease-out display-pill-open;display:flex}.display-pill-option{min-height:38px;color:var(--text-secondary);cursor:pointer;font-size:var(--type-sm);font-weight:var(--weight-medium);white-space:nowrap;transition:background var(--motion-fast), color var(--motion-fast);border-radius:999px;align-items:center;gap:6px;padding:0 12px;display:inline-flex;position:relative}.display-pill-option:hover{color:var(--text-primary)}.display-pill-option:has(input:checked){background:var(--brand-wash-strong);color:var(--text-primary)}@keyframes display-pill-open{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.display-pill-options{animation:none}}.app-shell:has(.practice-focus-mode) .display-pill{display:none}@media (width<=920px){.display-pill{right:max(12px, env(safe-area-inset-right));bottom:calc(var(--mobile-nav-clearance) + 12px)}.app-shell:has(:is(.card-form-actions,.lookup-resolution-panel):not([hidden] *)) .display-pill{display:none}}
