:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Noto Sans TC,sans-serif;color:#203b31;background:#f3f6f4;font-synthesis:none;--green:#286b53;--muted:#7b8c82;--line:#e1e8e2}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #8dbca7;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}.muted,.field-help{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{max-width:1440px;margin:auto;padding:0 28px 22px}.app-header{height:84px;display:flex;align-items:center;gap:40px}.brand{display:flex;align-items:center;gap:10px;font-weight:770;font-size:23px;letter-spacing:-.7px}.brand-mark{color:var(--green);font-size:31px}.workspace-tabs{display:flex;align-items:center;gap:6px;margin-left:40px}.workspace-tabs>button{border:0;background:none;padding:11px 19px;border-radius:9px;display:flex;align-items:center;gap:10px;font-weight:650;color:#788a7e;font-size:14px}.workspace-tabs>button[aria-selected=true]{color:var(--green);background:#e4eee7}.workspace-tabs span{font-size:11px;background:#d9e6dd;color:#5a7a67;padding:2px 7px;border-radius:5px;min-width:23px;text-align:center}.local-badge{margin-left:auto;color:#708678;font-size:12px;display:flex;align-items:center;gap:7px}.local-badge i,.status-dot{width:6px;height:6px;background:#6f9e7f;border-radius:50%;display:inline-block}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:650;color:#8b9d90;margin:0 0 8px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:13px;font-weight:650;padding:11px 16px;line-height:1.4;white-space:nowrap}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover:not(:disabled){background:#215b45}.secondary{background:#fff;border:1px solid #dbe4dc;color:#536f5d}.secondary:hover:not(:disabled){border-color:#9bbca7;background:#f6faf7}.text-button{border:0;background:none;padding:4px 0;color:var(--green);font-size:12px;font-weight:600;cursor:pointer}.delete,.danger-text{border:0;background:none;color:#a5736d;font-size:12px;padding:3px 0}.icon-button{border:1px solid var(--line);background:#fff;border-radius:8px;display:inline-grid;place-items:center;width:34px;height:34px;font-size:21px;line-height:1}.people-workspace{height:calc(100dvh - 108px);min-height:520px;max-height:1000px;background:#fff;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:284px minmax(0,1fr);overflow:hidden;box-shadow:0 5px 22px #223a2904}.directory{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#fbfcfa}.directory-heading{padding:24px 20px 18px;display:flex;justify-content:space-between;align-items:center}.directory-heading>div{display:flex;align-items:baseline;gap:9px}.directory-heading h1{font-size:22px;letter-spacing:-.7px;margin:0}.directory-heading span{font-size:11px;color:#99a69c}.add-person{background:#e9f2ec;border-color:#d7e5da;color:var(--green)}.directory-controls{padding:0 16px 15px}.search-field{display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--line);background:#fff;border-radius:9px;min-width:0;height:40px}.search-field>span{color:#9ba99f;font-size:23px;line-height:1}.search-field input{border:0;outline:0;background:none;min-width:0;width:100%;color:#2e4839;font-size:13px;height:100%}.search-field input::placeholder{color:#a0aca3}.search-field:focus-within{border-color:#7fab8d;box-shadow:0 0 0 2px #82ad8d16}.filter-chips{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.directory-controls .filter-chips{margin-top:11px}.filter-chips button{border:0;background:transparent;border-radius:6px;padding:7px 9px;font-size:11px;color:#829186;white-space:nowrap}.filter-chips button[aria-pressed=true]{background:#e7efe8;color:#356346;font-weight:650}.directory-meta{display:flex;justify-content:space-between;padding:10px 20px;border-top:1px solid #edf0eb;border-bottom:1px solid #edf0eb;color:#a0aa9f;font-size:10px;letter-spacing:.4px}.person-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d8cd transparent;padding:6px 8px}.person-row{width:100%;border:0;background:none;display:flex;gap:11px;align-items:center;padding:12px 11px;text-align:left;border-radius:9px;min-height:66px;margin-bottom:2px}.person-row:hover{background:#f0f5ef}.person-row.is-selected{background:#e8f1e9}.avatar{width:38px;height:38px;border-radius:11px;background:#e7eee5;color:#74906e;display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;overflow:hidden}.avatar>img{width:100%;height:100%;object-fit:cover}.person-row.is-selected .avatar{background:#dce8da;color:#527e58}.person-row-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.person-row-info strong{font-weight:600;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-row-info small{font-size:10px;color:#91a08f;white-space:nowrap}.missing-dot{width:5px;height:5px;border-radius:50%;background:#cbb082;flex-shrink:0}.row-chevron{color:#adc0aa;font-size:17px}.directory-footer{font-size:10px;color:#9baa9b;display:flex;gap:7px;align-items:center;padding:15px 19px;border-top:1px solid var(--line)}.directory-footer .status-dot{width:5px;height:5px}.list-empty{text-align:center;padding:40px 12px;color:#8a9b8b;font-size:12px;line-height:1.7}.list-empty strong{font-weight:600;color:#647a66}.list-empty p{margin:8px 0 18px}.person-content{display:flex;flex-direction:column;min-width:0;min-height:0}.person-detail-header{padding:30px 34px 24px;border-bottom:1px solid #eaf0e8}.person-identity{display:flex;gap:16px;align-items:center;min-width:0}.avatar-large{width:60px;height:60px;border-radius:16px;font-size:24px;background:#e8eee2}.person-identity>div{min-width:0}.person-identity h2{font-size:25px;letter-spacing:-.6px;margin:0 0 8px;overflow-wrap:anywhere}.person-identity .eyebrow{margin-bottom:6px;font-size:9px;color:#9baa97}.person-stats{font-size:11px;color:#92a08d;margin:0}.person-stats span{color:#c4cec0;margin:0 6px}.person-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}.view-photos{margin-left:auto}.file-button{position:relative;overflow:hidden;cursor:pointer}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-button:focus-within{outline:3px solid #8dbca7;outline-offset:3px}.file-button:has(input:disabled){opacity:.42;cursor:not-allowed}.reference-workspace{padding:25px 34px;overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.section-heading h3{font-size:14px;margin:0;font-weight:650}.section-heading h3 span,.inspector-summary h3 span{color:#8da18b;font-size:11px;background:#edf3e9;padding:2px 6px;border-radius:4px;margin-left:5px}.section-heading>span{font-size:10px;color:#a0ac9b}.reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:16px;align-content:start}.reference-tile{border:1px solid #e6ece3;border-radius:10px;overflow:hidden;background:#fff;min-width:0;max-width:190px}.reference-tile>img{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:#f2f5ee}.reference-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 11px}.reference-actions button,.reference-actions .muted{font-size:10px}.legacy-reference{aspect-ratio:1;background:#eff4ea;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#7f9574;font-size:12px;text-align:center}.legacy-reference small{font-size:9px;color:#a1ad98}.person-note{border-top:1px solid #eef2eb;margin:0 34px;display:flex;gap:9px;font-size:10px;line-height:1.7;color:#9aa993;padding:17px 0;flex-shrink:0}.person-note>span:first-child{color:#91a887}.workspace-empty,.reference-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8e9d88;line-height:1.8}.workspace-empty{height:100%;padding:45px}.workspace-empty h2{font-size:21px;color:#698162;margin-bottom:10px;letter-spacing:-.4px;font-weight:600}.workspace-empty p,.reference-empty p{font-size:12px;color:#a2ae9a;line-height:1.9;margin-bottom:22px}.empty-portrait{font-size:48px;color:#c0d0b7;line-height:1.4;margin-bottom:16px}.reference-empty{min-height:240px;height:100%}.reference-empty h3{font-size:17px;color:#7b9272;margin-bottom:10px;font-weight:600}.mobile-back{display:none}.more-menu{position:relative;margin-left:auto;z-index:15;flex-shrink:0}.more-menu summary{list-style:none;border:1px solid #e1e8dc;border-radius:8px;cursor:pointer;width:34px;height:32px;display:grid;place-items:center;color:#92a28a;font-size:17px;background:#fff}.more-menu summary::-webkit-details-marker{display:none}.more-menu>div{position:absolute;right:0;top:39px;min-width:180px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:5px;box-shadow:0 10px 30px #213c2515}.more-menu>div>button{display:block;width:100%;white-space:nowrap;border:0;background:none;text-align:left;padding:10px;border-radius:6px;font-size:12px}.more-menu>div>button:hover{background:#f2f6ee}.more-menu>div>.danger-text{color:#a5736d}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:24px;color:#91a187;font-size:11px}.pagination button{background:#fff;border:1px solid #e0e9d9;border-radius:7px;padding:8px 12px;font-size:11px}.pagination>div{display:flex;align-items:center;gap:14px}.album-workspace{padding:22px 10px 10px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.workspace-heading h1{font-size:27px;letter-spacing:-.8px;margin:0}.workspace-heading h1>span{font-weight:400;color:#9ba895;font-size:12px;letter-spacing:0;margin-left:10px}.heading-actions{display:flex;gap:12px;align-items:center}.workspace-heading .eyebrow{font-size:9px;color:#9daa95;letter-spacing:1.8px}.album-toolbar{display:flex;gap:12px;align-items:center;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;flex-wrap:wrap}.album-toolbar>.search-field{flex:1;min-width:170px;max-width:310px}.album-toolbar>.person-picker{min-width:170px;max-width:230px;flex:1}.album-toolbar>.filter-chips{margin-left:3px}.export-button{margin-left:auto;font-size:11px;padding:10px 13px}.album-summary{display:flex;justify-content:space-between;gap:12px;padding:21px 1px 15px;color:#8b9a81;font-size:11px}.album-summary>span+span{font-size:10px;color:#a8b29e}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}.gallery-tile{padding:0;overflow:hidden;min-width:0;text-align:left;border:1px solid #e4eadd;background:#fff;border-radius:11px;transition:box-shadow .15s,transform .15s}.gallery-tile:hover{box-shadow:0 5px 20px #27432b12;transform:translateY(-2px)}.tile-image{position:relative;background:#edf2e8;aspect-ratio:4/3;overflow:hidden}.tile-image>img{width:100%;height:100%;object-fit:cover;display:block}.tile-face-count,.tile-pending{position:absolute;bottom:9px;font-size:9px;border-radius:4px;padding:4px 6px;background:#243f32bb;color:#fff}.tile-face-count{left:9px}.tile-pending{right:9px;background:#fff8e8eb;color:#a18854}.tile-caption{padding:12px 13px}.tile-caption strong{display:block;font-size:12px;font-weight:550;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:6px}.tile-caption small{font-size:10px;color:#a4ae9b}.album-empty{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.album-empty h2{font-size:20px;color:#788e6e;font-weight:600}.album-empty p{font-size:12px;color:#9eac91;line-height:1.8;max-width:360px}.album-pagination{justify-content:space-between;margin:25px 0}.reference-mode{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #d3e4cc;background:#eaf3e4;padding:16px 19px;margin-bottom:18px;border-radius:10px}.reference-mode strong{display:block;font-size:13px;color:#527645;margin-bottom:5px}.reference-mode small{font-size:11px;color:#8aa17d}.reference-mode button{font-size:11px}.person-picker{position:relative;min-width:0}.picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:40px;border:1px solid #dae5d4;background:#fff;border-radius:8px;text-align:left;padding:0 12px;font-size:12px;color:#5d7852}.picker-trigger>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.picker-trigger>span:last-child{color:#a5b398}.picker-popover{position:absolute;left:0;right:0;top:46px;background:#fff;border:1px solid #d8e4d0;box-shadow:0 10px 30px #1e3e251c;z-index:45;padding:7px;border-radius:10px;min-width:200px}.picker-popover>input{width:100%;border:1px solid #dee8d7;background:#f8faf5;padding:10px;border-radius:6px;font-size:12px;outline:0}.picker-options{max-height:min(240px,35dvh);overflow-y:auto;margin-top:5px;scrollbar-width:thin}.picker-options button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;background:#fff;padding:10px 9px;text-align:left;font-size:12px;border-radius:5px;overflow-wrap:anywhere}.picker-options button:hover,.picker-options button[data-highlighted=true]{background:#edf4e7}.picker-options button[aria-selected=true]{color:var(--green);font-weight:650}.picker-empty{padding:16px 9px;color:#a5b098;font-size:11px;text-align:center;margin:0}dialog{color:inherit;max-width:none;max-height:none}dialog::backdrop{background:#152c23a8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.person-dialog{width:min(420px,calc(100vw - 32px));border:1px solid #dae5d2;border-radius:16px;padding:0;box-shadow:0 25px 100px #0b21194d}.person-dialog form{padding:26px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-heading h2{font-size:20px;margin:0;letter-spacing:-.4px}.person-dialog .muted{font-size:12px;line-height:1.8;margin-bottom:24px}.person-dialog label{font-size:12px;display:block;margin-bottom:9px;color:#79926a}.person-dialog input{width:100%;height:44px;border:1px solid #cfdcc6;border-radius:8px;padding:10px 13px;font-size:14px;background:#fff}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.photo-viewer{width:min(1320px,calc(100vw - 44px));height:90dvh;padding:0;border:1px solid #ccd9c2;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 25px 100px #092b1d4d}.viewer-heading{height:76px;padding:17px 22px;border-bottom:1px solid #e3ebde;display:flex;align-items:center;justify-content:space-between;gap:20px}.viewer-heading>div:first-child{min-width:0}.viewer-heading .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:5px}.viewer-heading h2{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.viewer-navigation{display:flex;align-items:center;gap:8px;flex-shrink:0}.viewer-navigation>span{font-size:10px;color:#9eae93;min-width:40px;text-align:center}.close-viewer{margin-left:15px}.viewer-body{display:grid;grid-template-columns:minmax(0,1fr) 308px;height:calc(100% - 76px);min-height:0}.viewer-stage{--stage-height: calc(90dvh - 120px) ;display:grid;place-items:center;padding:22px;background:#edf2e8;overflow:auto;min-width:0;min-height:0}.photo-frame{position:relative;width:min(100%,calc(var(--stage-height)*var(--photo-ratio)));line-height:0}.photo-frame>img{width:100%;height:auto;display:block;border-radius:6px}.face-box{position:absolute;background:transparent;border:2px solid #7fc398;box-shadow:0 0 0 1px #1e4c2c77;cursor:pointer;padding:0;border-radius:2px}.face-box.face-selected{border-color:#ffd878;box-shadow:0 0 0 1px #63512777}.face-box>span{position:absolute;bottom:100%;left:-2px;background:#286243dd;color:#fff;border-radius:4px 4px 0 0;padding:4px 6px;white-space:nowrap;font-size:10px;line-height:1.2}.face-box.face-selected>span{background:#e8c66e;color:#4a492a}.face-inspector{padding:23px 20px;overflow-y:auto;scrollbar-width:thin;min-width:0;border-left:1px solid #e3ebdd}.inspector-summary h3{font-size:13px;margin-bottom:9px}.inspector-summary p{font-size:10px;color:#9aaa90;line-height:1.8;margin:0}.face-index-list{display:flex;gap:7px;flex-wrap:wrap;max-height:135px;overflow:auto;margin:19px 0 22px;padding:2px}.face-index-list button{position:relative;width:35px;height:35px;border:1px solid #dfe8d6;background:#fff;border-radius:8px;font-size:12px;color:#829b71}.face-index-list button[aria-pressed=true]{background:#edf5e7;border-color:#93b27c;color:#4d7840;font-weight:650}.face-known-dot{position:absolute;right:4px;top:4px;width:4px;height:4px;border-radius:50%;background:#75a764}.face-editor{border-top:1px solid #e9efdf;padding-top:21px}.face-editor .section-heading{margin-bottom:20px}.face-editor .section-heading h3{font-size:13px}.confirmation-badge{font-size:9px!important;background:#eff4e7;padding:4px 6px;border-radius:5px;color:#91a77c!important}.editor-label{font-size:10px;color:#94a581;display:block;margin-bottom:8px}.field-help{font-size:9px;line-height:1.9;margin:8px 0 22px}.add-reference-card{background:#f6f9f0;border:1px solid #e5ecd8;padding:15px;border-radius:10px;margin-bottom:20px}.add-reference-card h4{font-size:11px;margin-bottom:9px;color:#7a9564}.add-reference-card p{font-size:10px;color:#a0af8b;line-height:1.8}.add-reference-card button{width:100%;font-size:11px;white-space:normal}.photo-metadata{display:grid;grid-template-columns:1fr auto;gap:11px;padding:18px 0;border-top:1px solid #e9efdf;color:#a0ae8f;font-size:10px}.photo-metadata strong{font-weight:500;color:#829970}.inspector-actions{display:flex;flex-direction:column;align-items:center;gap:15px;padding:10px 0}.inspector-actions>.secondary{width:100%;font-size:11px}.inspector-empty{padding:30px 0;color:#91a87a;font-size:12px;line-height:1.8}.inspector-empty p{font-size:11px;color:#a8b596;margin-top:10px}.viewer-status{font-size:10px;color:#83a16a;line-height:1.8;white-space:pre-wrap}.error,.inline-error{color:#b16c60;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.status-toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%);background:#294f3e;color:#fff;box-shadow:0 8px 25px #16382026;display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.7;border-radius:11px;padding:12px 16px;max-width:min(680px,calc(100vw - 32px));z-index:90}.status-toast>span:not(.spinner){min-width:0}.status-toast button{border:0;background:none;color:#b4cfb0;font-size:20px;padding:0 0 0 8px}.spinner{width:14px;height:14px;border:2px solid #9dbca866;border-top-color:#e7f4e2;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{position:fixed;top:82px;right:26px;z-index:100;border:1px solid #e6c8be;background:#fff8f3;padding:13px 16px;border-radius:10px;color:#ad7568;display:flex;gap:14px;font-size:12px;line-height:1.7;max-width:min(520px,calc(100vw - 32px));white-space:pre-wrap}.error-banner>span{min-width:0;overflow-wrap:anywhere}.error-banner button{align-self:flex-start;border:0;background:none;color:#b88a78;font-size:18px}@media(min-width:1250px){.gallery-grid,.reference-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1000px){.app-shell{padding:0 20px 18px}.people-workspace{grid-template-columns:250px minmax(0,1fr)}.person-detail-header{padding:25px}.reference-workspace{padding:24px}.person-note{margin:0 24px}.person-actions{gap:8px}.view-photos{flex-basis:100%;margin-top:6px;text-align:left}.section-heading>span{max-width:150px;text-align:right;line-height:1.6}.viewer-body{grid-template-columns:minmax(0,1fr) 270px}.face-inspector{padding:20px 16px}.album-toolbar>.filter-chips{order:4;flex-basis:100%}.album-summary>span+span{max-width:200px;text-align:right;line-height:1.6}}@media(max-width:760px){.app-shell{padding:0 14px 16px}.app-header{height:72px;gap:14px}.brand{font-size:20px;gap:6px}.brand-mark{font-size:27px}.workspace-tabs{margin-left:auto;gap:3px}.workspace-tabs>button{padding:9px 11px;font-size:12px;gap:6px}.workspace-tabs span{font-size:9px;padding:2px 5px;min-width:20px}.local-badge{display:none}.people-workspace{height:calc(100dvh - 90px);grid-template-columns:1fr;min-height:480px}.people-workspace .person-content{display:none}.people-workspace.has-person .person-content{display:flex}.people-workspace.has-person .directory{display:none}.directory{border-right:0}.person-row{min-height:72px}.person-row-info strong{font-size:14px}.person-row-info small{font-size:11px}.mobile-back{display:inline-block;margin-bottom:22px;font-size:12px}.person-detail-header{padding:20px 22px}.person-identity h2{font-size:24px}.person-identity .avatar-large{width:52px;height:52px;border-radius:14px}.person-actions{gap:8px;margin-top:20px}.person-actions .primary,.person-actions .secondary{font-size:12px;padding:10px 13px}.view-photos{flex-basis:auto;margin:0 0 0 auto;font-size:10px}.reference-workspace{padding:22px}.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reference-tile{max-width:none}.reference-actions{padding:9px}.person-note{margin:0 22px;font-size:9px}.workspace-empty{padding:35px 25px}.album-workspace{padding:12px 0}.workspace-heading{margin-bottom:18px}.workspace-heading h1{font-size:24px}.workspace-heading .eyebrow{font-size:8px}.heading-actions{gap:8px}.heading-actions .primary{padding:10px 13px;font-size:11px}.album-toolbar{gap:10px;padding:12px}.album-toolbar>.search-field{flex-basis:100%;max-width:none;order:0}.album-toolbar>.person-picker{min-width:150px;max-width:none}.export-button{font-size:10px;margin-left:0}.album-toolbar>.filter-chips{order:3;margin:0}.filter-chips button{font-size:10px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile-caption{padding:10px}.tile-caption strong{font-size:10px}.tile-caption small{font-size:9px}.tile-face-count,.tile-pending{font-size:8px;padding:3px 5px;bottom:6px}.tile-face-count{left:6px}.tile-pending{right:6px}.album-summary{padding-top:16px;font-size:10px}.album-summary>span+span{font-size:9px}.reference-mode{padding:14px;align-items:flex-start;flex-wrap:wrap;gap:10px}.reference-mode small{font-size:10px;line-height:1.7}.reference-mode strong{font-size:12px}.photo-viewer{width:calc(100vw - 20px);height:94dvh;border-radius:12px}.viewer-heading{height:66px;padding:14px}.viewer-heading h2{font-size:12px}.viewer-navigation{gap:5px}.viewer-navigation .icon-button{width:29px;height:29px;font-size:19px}.viewer-navigation>span{min-width:30px;font-size:9px}.close-viewer{margin-left:7px}.viewer-body{height:calc(100% - 66px);display:flex;flex-direction:column;overflow-y:auto}.viewer-stage{--stage-height:38dvh;min-height:220px;height:42dvh;flex-shrink:0;padding:15px}.face-inspector{overflow:visible;border-left:0;padding:21px}.inspector-summary p{font-size:11px}.face-index-list{margin:15px 0 18px}.face-editor{padding-top:18px}.face-editor .picker-popover{position:relative;top:auto;margin-top:7px}.photo-metadata{font-size:11px}.face-editor .field-help{font-size:10px}.confirmation-badge{font-size:10px!important}.status-toast{font-size:11px;bottom:15px;max-width:calc(100vw - 28px);width:max-content}.error-banner{top:76px;right:14px;font-size:11px}}@media(max-width:430px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.person-actions .view-photos{flex-basis:100%;margin:7px 0 0;text-align:left}.reference-actions{flex-wrap:wrap;gap:7px}.reference-actions button,.reference-actions .muted{font-size:9px}.section-heading>span{max-width:120px;font-size:9px}.album-summary>span+span{display:none}.reference-grid{gap:10px}.album-pagination{font-size:9px}.pagination>div{gap:9px}.pagination button{padding:7px 9px;font-size:10px}.viewer-navigation>span{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}body:has(dialog[open]){overflow:hidden}@media(max-width:760px){.viewer-stage{height:auto;min-height:0;max-height:42dvh}}.confidence-panel{margin:4px 0 20px;padding:15px 13px;border:1px solid #dce6d5;border-radius:10px;background:#fafcf7}.confidence-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px;flex-wrap:wrap}.confidence-heading h4{font-size:12px;margin:0;color:#526e45}.match-verdict{font-size:10px;background:#eef1e9;color:#8b987e;border-radius:5px;padding:4px 6px}.match-verdict.matched{background:#e2efdf;color:#396c3e}.match-verdict.ambiguous,.match-verdict.too-distant{background:#fbf0da;color:#a7833f}.candidate-name{font-size:11px;color:#8c9c7e;margin:0 0 9px;overflow-wrap:anywhere}.candidate-name strong{font-weight:650;color:#5b7950}.distance-score{display:flex;align-items:center;gap:12px;margin:6px 0 10px}.distance-score>strong{font-size:27px;letter-spacing:-1px;line-height:1.2;font-weight:700;color:#426f3c;font-variant-numeric:tabular-nums}.distance-score>span{font-size:10px;color:#93a382;line-height:1.65}.confidence-reason{font-size:11px;color:#7b916c;line-height:1.8;margin:9px 0}.confidence-footnote{font-size:10px;color:#97a68a;line-height:1.8;margin:8px 0 0}.confidence-footnote>span{display:block}.candidate-details{display:grid;grid-template-columns:60px minmax(0,1fr);gap:8px;margin:12px 0;font-size:10px;line-height:1.7}.candidate-details dt{color:#97a98a}.candidate-details dd{margin:0;color:#69855a;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}.candidate-details small{font-size:9px;color:#a1af95}.confidence-explanation{margin-top:11px}.confidence-explanation summary{font-size:10px;color:#8a9f7a;cursor:pointer}.confidence-explanation p{font-size:10px;color:#99a98b;line-height:1.9;margin:8px 0}.detection-confidence{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5ecdd;margin-top:15px;padding-top:13px;font-size:10px;color:#8ea17f}.detection-confidence strong{font-size:13px;color:#617f52;font-weight:650}@media(max-width:760px){.confidence-panel{padding:16px}.confidence-heading h4{font-size:13px}.confidence-reason{font-size:12px}.confidence-footnote,.candidate-details,.confidence-explanation p{font-size:11px}}.match-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:#526e45}.match-overview>span{min-width:0;overflow-wrap:anywhere}.match-overview>strong{display:flex;align-items:baseline;gap:5px;font-size:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.match-overview small{font-size:10px;font-weight:400;color:#718167}.confidence-heading{margin-bottom:10px}.confidence-panel{margin-top:16px;margin-bottom:16px}.confidence-explanation summary,.photo-info summary{font-size:11px;color:#718167;cursor:pointer}.confidence-explanation p{color:#718167}.photo-info{margin:20px 0}.photo-info .photo-metadata{margin:14px 0 0}.add-reference-card{padding:0;border:0;background:none}.add-reference-card .primary{width:100%}.inspector-summary{margin-bottom:14px}.face-editor{padding-top:14px}.person-dialog form>label{display:block;margin-top:20px}.inspector-empty .secondary{margin-top:15px}.face-quick-menu{position:fixed;z-index:20;width:232px;max-width:calc(100vw - 20px);padding:6px;background:#fff;border:1px solid #d4dece;border-radius:12px;box-shadow:0 10px 36px #16392030;line-height:1.4}.face-quick-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 11px;border:0;border-radius:7px;background:transparent;text-align:left;color:#3f5d46;font-size:13px;cursor:pointer}.face-quick-menu button:hover,.face-quick-menu button:focus-visible{background:#edf3e8;outline:2px solid #9eb18f;outline-offset:-2px}.face-quick-menu button:disabled{opacity:.5;cursor:wait}.quick-name{flex:1;min-width:0;overflow-wrap:anywhere}.face-quick-menu strong{margin-left:auto;font-size:12px;color:#647f53;font-variant-numeric:tabular-nums}.quick-divider{height:1px;background:#e6ece1;margin:4px 6px}.quick-icon{width:18px;text-align:center;font-size:17px;color:#79926a}.face-box.face-ignored{opacity:.48;border-style:dashed}
