@charset "UTF-8";
:root{color-scheme:dark;--bg:#101015;--surface:#19191f;--surface-raised:#202027;--border:#30303a;--muted:#9695a5;--text:#f2f0f7;--purple:#bca0ff;--purple-bright:#d2bdff;--purple-deep:#8e61e8;--green:#7ddbb2;--danger:#ffb5c0;--radius:19px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--text);background:var(--bg);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,svg:focus-visible{outline:2px solid var(--purple-bright)}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}input{color:var(--text)}input::placeholder{color:#7f7e8e}input[type=search]::-webkit-search-cancel-button{display:none}input[type=date]::-webkit-calendar-picker-indicator{opacity:.6;cursor:pointer}input[type=checkbox]{accent-color:var(--purple)}[hidden]{display:none!important}.icon-definitions,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;z-index:100;top:-100px;left:16px;background:var(--purple);color:#1f1038;padding:12px 18px;border-radius:10px}.skip-link:focus{top:12px}
.topbar{height:89px;border-bottom:1px solid #2a2933;background:rgba(18,17,24,.95)}.topbar-inner{max-width:1456px;padding:0 48px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:12px;flex:none}.brand-mark{width:43px;height:43px;border:1px solid #d2bdff55;border-radius:13px;background:linear-gradient(145deg,#aa82ed,#7342b9);display:grid;place-items:center;box-shadow:0 4px 20px #7541bb1c}.brand-mark .icon{width:29px;height:29px;stroke-width:1.6;color:#fff}.brand strong{font-size:25px;line-height:1.1;font-weight:750;letter-spacing:-1px}.brand-dot{color:var(--purple)}.brand-caption{display:block;font-size:8px;font-weight:650;letter-spacing:1.8px;color:#aaa5bb;margin-top:4px}.header-actions{display:flex;align-items:center;gap:22px}.private-badge{display:inline-flex;align-items:center;gap:7px;color:#b1a6c7;font-size:12px}.private-badge .icon{width:14px;height:14px}.account-email{max-width:250px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:600;line-height:1.2;min-height:43px;padding:11px 16px;border:1px solid transparent;border-radius:11px;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s;white-space:nowrap}.button:active:not(:disabled){transform:translateY(1px)}.button-primary{background:var(--purple);color:#28183e;box-shadow:0 3px 12px #0002}.button-primary:hover:not(:disabled){background:var(--purple-bright);box-shadow:0 4px 18px #8b59d22e}.button-primary .icon{stroke-width:1.9}.button-secondary{background:#22212b;border-color:#383540;color:#e4dbf6}.button-secondary:hover:not(:disabled){background:#2d2938;border-color:#5d4c77}.button-quiet{background:transparent;border-color:#33313d;color:#bbb4c9;min-height:37px;padding:9px 12px}.button-quiet:hover:not(:disabled){background:#26232e;border-color:#4c435b;color:var(--text)}.button-quiet .icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:9px;width:36px;height:36px;flex:none;color:#c6c0d0}.icon-button:hover:not(:disabled){background:#ffffff0c;border-color:#ffffff0d;color:#fff}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 3px;background:transparent;color:var(--purple);font-size:12px;font-weight:650;border-radius:5px}.text-button:hover{color:#e0d1ff}.text-button .icon{width:14px;height:14px}
.page-shell{max-width:1456px;margin:0 auto;padding:40px 48px 0}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.eyebrow{color:#aea4c1;font-size:10px;letter-spacing:2px;font-weight:700;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #7ddbb20b}.page-intro h1{font-size:33px;letter-spacing:-1.3px;line-height:1.2;font-weight:650;margin:11px 0 8px}.title-dot{color:var(--purple)}.page-intro p{margin:0;color:var(--muted);font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:35px}.stat{display:flex;align-items:flex-start;gap:16px;padding:23px 24px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(120deg,#1b1923,#19191f 75%)}.stat-icon{display:grid;place-items:center;background:#a47be912;border:1px solid #a47be923;width:39px;height:39px;border-radius:12px;color:#b9a0df;margin-top:3px}.stat-icon .icon{width:20px;height:20px}.stat-label{display:block;font-size:12px;color:#b9b4c5}.stat strong{display:block;font-size:29px;font-weight:600;letter-spacing:-.9px;line-height:1.3;margin:7px 0 3px;font-variant-numeric:tabular-nums}.stat-note{font-size:11px;color:#7f7b8c}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}.library-heading h2{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0 0 4px}.library-heading p{margin:0;color:#878391;font-size:12px}.library-tools{display:flex;align-items:center;gap:18px}.auto-refresh{font-size:11px;display:flex;align-items:center;gap:7px;color:#aaa5b7;cursor:pointer;white-space:nowrap}.auto-refresh input{width:13px;height:13px;margin:0}.updated-at{font-size:10px;color:#777382;min-width:86px;text-align:right}.filters{display:flex;align-items:stretch;gap:12px;margin-bottom:23px}.search-field{display:flex;align-items:center;gap:10px;background:#19191f;border:1px solid #35323f;border-radius:11px;min-width:200px;flex:1;padding:0 12px;color:#797284;transition:border-color .15s,box-shadow .15s}.search-field:focus-within{border-color:#9b7cc6;box-shadow:0 0 0 3px #bca0ff0b}.search-field>.icon{width:18px;height:18px}.search-field input{border:0;background:transparent;width:100%;height:45px;outline:none;font-size:12px;min-width:100px;padding:8px 0}.search-field input:focus-visible{outline:none}.search-field .icon-button{width:27px;height:27px}.search-field .icon-button .icon{width:15px;height:15px}.date-fields{display:flex;gap:10px}.date-field{display:flex;align-items:center;gap:10px;background:#19191f;border:1px solid #35323f;border-radius:11px;padding:0 11px;height:47px}.date-field>span{font-size:11px;color:#87808e}.date-field input{border:0;background:transparent;outline:none;width:119px;font-size:11px;height:40px}.filter-reset{color:#b9a1d7;border-color:#3a3145}.scan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.scan-card{display:flex;flex-direction:column;width:100%;padding:0;background:#19191f;border:1px solid #302d39;border-radius:15px;overflow:hidden;text-align:left;transition:border-color .2s,box-shadow .2s,transform .2s;min-width:0}.scan-card:hover{border-color:#79608e;box-shadow:0 8px 26px #0002;transform:translateY(-2px)}.scan-card:focus-visible{outline-offset:4px}.scan-photo{position:relative;aspect-ratio:1.45;background:#111116;display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%}.scan-photo-svg{display:block;width:100%;height:100%;transition:transform .3s;overflow:visible}.scan-card:hover .scan-photo-svg{transform:scale(1.035)}.accepted-code-highlight{fill:#a48cfa0d;stroke:#85f4ed;stroke-width:2.25px;pointer-events:none;filter:drop-shadow(0 0 2px #100a20)}.highlight-note{display:flex;align-items:center;gap:7px;margin:0 0 16px;color:#a7eae7;font-size:10px;line-height:1.5}.highlight-note::before{content:"";width:10px;height:7px;border:1.5px solid #85f4ed;border-radius:2px;flex:none}.scan-photo::after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,#0002,transparent 30%,transparent 80%,#0002)}.match-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:#a9e6c8;background:#15281fe8;border:1px solid #6bc49436;border-radius:6px;white-space:nowrap;padding:4px 7px;line-height:1.2}.match-badge .icon{width:11px;height:11px;stroke-width:2}.scan-photo>.match-badge{position:absolute;left:12px;top:12px;z-index:1;backdrop-filter:blur(8px)}.match-badge.readable{color:#dec9ff;background:#2d203ee8;border-color:#a989ce40}.image-open-hint{position:absolute;z-index:1;right:10px;bottom:10px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #fff2;background:#14101ba3;backdrop-filter:blur(8px);border-radius:8px;color:#fff9;opacity:0;transition:opacity .2s}.image-open-hint .icon{width:15px;height:15px}.scan-card:hover .image-open-hint,.scan-card:focus-visible .image-open-hint{opacity:1}.scan-card-content{width:100%;padding:15px 17px 16px}.card-caption{font-size:9px;letter-spacing:1px;color:#89818f;text-transform:uppercase;display:block;margin-bottom:5px}.card-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;font-weight:550;color:#e8e0f4;letter-spacing:.2px;line-height:1.45;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin-bottom:13px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:11px;border-top:1px solid #2d2934;color:#8e879a;font-size:10px}.card-date{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-size{font-variant-numeric:tabular-nums;white-space:nowrap;color:#746d80}.thumb-missing{color:#6e6479;font-size:12px;text-align:center;display:flex;align-items:center;gap:7px}.thumb-missing .icon{width:23px;height:23px}.notice{padding:13px 16px;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;margin:0 0 20px}.notice-error{background:#2b1c22;border:1px solid #623441;color:#edb5c1}.notice-error .text-button{color:#ffd0da;white-space:nowrap}.empty-state{text-align:center;padding:65px 20px 72px;border:1px dashed #37313f;border-radius:16px;background:#17151b66}.empty-art{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:19px;background:#a47be90e;border:1px solid #a47be92b;color:#a58ebf;margin:0 0 15px}.empty-art .icon{width:28px;height:28px}.empty-state h3{font-size:17px;font-weight:550;margin:0 0 7px}.empty-state p{font-size:12px;color:#8b8398;margin:0 0 20px;max-width:370px;margin-left:auto;margin-right:auto}.load-more-wrap{display:flex;align-items:center;justify-content:center;min-height:90px}.load-more-wrap .button{min-width:190px}.load-more-wrap .button>.icon{width:15px;height:15px;transform:rotate(90deg)}.loading-more{display:flex;align-items:center;gap:9px;color:#9a90a8;font-size:12px}.spinner{display:inline-block;width:17px;height:17px;border:2px solid #bca0ff28;border-top-color:var(--purple);border-radius:50%;animation:spin .8s linear infinite;flex:none}.is-refreshing>.icon{animation:spin 1.4s linear infinite}.page-footer{border-top:1px solid #27232f;padding:21px 0 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#696273;font-size:10px}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer .icon{width:12px;height:12px}.skeleton-card{border:1px solid #2b2635;border-radius:15px;overflow:hidden;background:#19161f}.skeleton-photo{aspect-ratio:1.45;background:#211d28}.skeleton-content{padding:17px;display:flex;flex-direction:column;gap:13px}.skeleton-line{height:12px;background:#2a2433;border-radius:5px;width:64%}.skeleton-line.short{width:40%;height:9px}.skeleton-card{animation:pulse 1.5s ease-in-out infinite}.skeleton-card:nth-child(2n){animation-delay:.15s}
.scan-dialog{background:#1a1720;border:1px solid #4d405d;color:var(--text);border-radius:18px;padding:0;max-width:1330px;width:calc(100% - 64px);height:min(850px,calc(100dvh - 64px));max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 35px 120px #0009}.scan-dialog::backdrop{background:#08060de8;backdrop-filter:blur(9px)}.detail-header{height:83px;border-bottom:1px solid #352d40;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:16px}.detail-eyebrow{display:block;font-size:8px;letter-spacing:1.6px;color:#8e819f;margin:0 0 3px}.detail-header h2{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:20px;font-weight:550;letter-spacing:-.4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:72vw}.detail-header-actions{display:flex;align-items:center;gap:14px}.detail-position{color:#8a7d98;font-size:11px;white-space:nowrap}.detail-header .icon-button{background:#ffffff06;border:1px solid #ffffff0b}.detail-body{height:calc(100% - 83px);display:grid;grid-template-columns:minmax(0,1fr) 310px}.image-panel{display:flex;flex-direction:column;min-height:0;min-width:0;background:#0c0b10}.image-stage{position:relative;flex:1;min-height:150px;overflow:hidden;background-color:#0e0c12;background-image:radial-gradient(#35303c33 1px,transparent 1px);background-size:18px 18px}.zoom-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:zoom-in;outline-offset:-4px}.zoom-canvas.is-zoomed{cursor:grab}.zoom-canvas.is-panning{cursor:grabbing}.image-loading,.image-error{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:#aaa0b7;pointer-events:none}.image-error{padding:30px;text-align:center}.image-nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:35px;height:45px;display:flex;align-items:center;justify-content:center;border:1px solid #b5a3c52b;background:#21182ed9;backdrop-filter:blur(8px);color:#e5d8f1;border-radius:10px}.image-nav:hover:not(:disabled){background:#3b2b4eda}.image-nav:disabled{opacity:.22}.image-nav .icon{width:18px;height:18px}.image-nav-previous{left:13px}.image-nav-previous .icon{transform:rotate(180deg)}.image-nav-next{right:13px}.image-controls{padding:12px 17px;min-height:63px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #292130;background:#151119}.pan-hint{color:#776b84;font-size:10px;white-space:nowrap}.zoom-controls{display:flex;align-items:center;gap:7px}.zoom-controls .icon-button{width:28px;height:28px;font-size:20px;font-weight:300;line-height:1}.zoom-controls input[type=range]{width:80px;accent-color:var(--purple);height:20px;cursor:pointer}.zoom-controls #zoom-value{min-width:35px;text-align:center;color:#c2b3d1;font-size:10px;font-variant-numeric:tabular-nums}.zoom-controls .text-button{font-size:10px;margin-left:3px}.detail-sidebar{display:flex;flex-direction:column;padding:22px;overflow:hidden;border-left:1px solid #352d40;min-height:0}.detail-status-line{display:flex;align-items:center;gap:10px;margin-bottom:22px}.source-label{font-size:10px;color:#9a8aaa}.detail-meta{margin:0 0 23px;border-bottom:1px solid #352c3f;padding-bottom:16px}.detail-meta>div{display:flex;justify-content:space-between;gap:15px;margin:0 0 9px;font-size:10px}.detail-meta dt{color:#8e809d}.detail-meta dd{margin:0;color:#c6b7d5;text-align:right;font-variant-numeric:tabular-nums}.detected-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.detected-heading h3{font-size:13px;font-weight:550;margin:0}.detected-help{font-size:10px;line-height:1.5;color:#85788f;margin:3px 0 13px}.detected-lines{flex:1;min-height:60px;overflow:auto;margin-bottom:22px;border:1px solid #3b3047;background:#130f18;border-radius:10px;padding:6px 13px}.detected-line{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.7;padding:9px 0;color:#d9c9e8;border-bottom:1px solid #302538;overflow-wrap:anywhere;white-space:pre-wrap}.detected-line:last-child{border:0}.download-button{width:100%;font-size:11px;min-height:42px}.download-button .icon{width:15px;height:15px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);padding:11px 20px;border:1px solid #7b6299;border-radius:10px;background:#30213eed;color:#e5d7f2;font-size:12px;box-shadow:0 6px 40px #0005;z-index:80;backdrop-filter:blur(12px)}
.login-page{min-height:100dvh;background:radial-gradient(ellipse at 50% 12%,#5d3a7721,transparent 55%),#101015;display:grid;place-items:center;padding:35px 20px}.login-shell{max-width:410px;width:100%;margin:auto}.login-brand{display:flex;justify-content:center;width:100%;margin-bottom:29px}.login-brand .brand-mark{width:46px;height:46px}.login-brand .brand-caption{font-size:8px;letter-spacing:1.6px}.login-card{border:1px solid #3b3047;border-radius:24px;background:linear-gradient(155deg,#211a2b,#19171e 48%);padding:32px 32px 27px;box-shadow:0 20px 70px #0002}.login-lock{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#b495e810;border:1px solid #b495e826;color:#b99fdb;margin-bottom:25px}.login-lock .icon{width:21px;height:21px}.login-card .eyebrow{font-size:8px;letter-spacing:1.8px;color:#9b86b1}.login-card h1{font-size:29px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin:9px 0 10px}.login-description{font-size:12px;color:#9b8fa9;margin:0 0 25px;line-height:1.7}.login-error{font-size:11px;color:#f7bcc9;background:#d4728b0b;border:1px solid #ba6d833b;padding:10px 12px;border-radius:8px;line-height:1.65;overflow-wrap:anywhere}.login-error:empty{display:none}.login-label{display:block;font-size:11px;font-weight:550;color:#c2b5cf;margin:0 0 7px}.login-input{height:45px;border:1px solid #45354f;border-radius:9px;background:#120f18;padding:10px 12px;width:100%;font-size:12px;transition:border-color .15s,box-shadow .15s;margin-bottom:19px}.login-input:focus{border-color:#ac87db;box-shadow:0 0 0 3px #c19aef0a;outline:none}.password-field{position:relative}.password-field .login-input{padding-right:60px;margin-bottom:24px}.password-field .text-button{position:absolute;right:12px;top:10px;font-size:10px;color:#a28eb9}.login-submit{width:100%;justify-content:space-between;min-height:45px;padding-left:15px;padding-right:15px;font-size:12px}.login-submit .icon{width:17px;height:17px}.login-footnote{border-top:1px solid #35283f;margin-top:24px;padding-top:18px;display:flex;gap:8px;color:#8e7c9f;font-size:9px;line-height:1.7}.login-footnote .icon{width:12px;height:12px;color:#ad98c6;margin-top:3px}.login-bottom{display:flex;justify-content:space-between;font-size:9px;color:#6c5c7d;padding:0 6px;margin-top:20px}.login-bottom>span{color:#685d73}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(min-width:1600px){.page-shell,.topbar-inner{max-width:1540px}.scan-photo,.skeleton-photo{aspect-ratio:1.55}}
@media(max-width:1150px){.topbar-inner{padding:0 32px}.page-shell{padding:32px 32px 0}.account-email{display:none}.filters{flex-wrap:wrap}.search-field{flex-basis:48%;min-width:240px}.date-fields{flex:1}.date-field{flex:1;justify-content:space-between}.date-field input{width:108px}.filter-reset{order:3}.scan-grid{gap:17px}.stat{padding:20px;gap:13px}.stat strong{font-size:27px}.detail-body{grid-template-columns:minmax(0,1fr) 280px}.detail-sidebar{padding:20px}.pan-hint{display:none}.image-controls{justify-content:center}.detail-header h2{max-width:62vw}}
@media(max-width:900px){.scan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:12px}.stat{padding:18px 16px;gap:11px}.stat-icon{width:31px;height:31px;border-radius:9px}.stat-icon .icon{width:17px;height:17px}.stat-label{font-size:10px}.stat-note{font-size:9px}.stat strong{font-size:25px}.private-badge{font-size:11px}.page-intro h1{font-size:30px}.scan-dialog{width:calc(100% - 32px);height:calc(100dvh - 32px)}.detail-header{height:72px;padding:0 18px}.detail-header h2{font-size:17px}.detail-body{height:calc(100% - 72px);grid-template-columns:minmax(0,1fr) 245px}.detail-sidebar{padding:17px}.detail-meta>div{flex-direction:column;gap:3px}.detail-meta dd{text-align:left}.detail-meta{margin-bottom:15px;padding-bottom:7px}.detail-status-line{gap:7px;margin-bottom:17px;flex-wrap:wrap}.detail-position{display:none}}
@media(max-width:600px){.topbar{height:75px}.topbar-inner{padding:0 20px;gap:15px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand-mark .icon{width:25px;height:25px}.brand{gap:9px}.brand strong{font-size:22px}.brand-caption{font-size:6px;letter-spacing:1.5px}.header-actions{gap:7px}.private-badge{font-size:0;gap:0}.private-badge .icon{width:15px;height:15px;color:#897899}.header-actions .button{padding:8px 10px;font-size:10px;border-radius:8px;min-height:32px}.header-actions .button .icon{width:13px;height:13px}.page-shell{padding:27px 20px 0}.page-intro{align-items:flex-end;margin-bottom:24px;gap:10px}.page-intro h1{font-size:27px;letter-spacing:-1.1px;margin:11px 0 7px}.page-intro p{font-size:11px;max-width:210px}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-intro>.button{min-height:36px;padding:8px 10px;font-size:0;border-radius:10px}.page-intro>.button .icon{width:17px;height:17px}.stats{gap:8px;margin-bottom:28px}.stat{padding:13px 11px;display:block;border-radius:13px}.stat-icon{display:none}.stat-label{font-size:9px;white-space:nowrap}.stat strong{font-size:23px;margin:8px 0 3px;letter-spacing:-.8px}.stat-note{font-size:8px}.library-heading{align-items:flex-end;gap:10px;margin-bottom:14px}.library-heading h2{font-size:16px}.library-heading p{font-size:10px;margin-top:3px}.library-tools{gap:8px;align-items:flex-end;flex-direction:column}.auto-refresh{font-size:9px}.auto-refresh input{width:11px;height:11px}.updated-at{font-size:8px;min-width:0}.filters{gap:9px;margin-bottom:18px}.search-field{flex-basis:100%;min-width:0;border-radius:10px;padding:0 10px;gap:8px}.search-field input{font-size:11px;height:43px}.date-fields{gap:9px;min-width:0}.date-field{min-width:0;padding:0 10px;height:40px;gap:8px;border-radius:9px}.date-field>span{font-size:10px}.date-field input{font-size:10px;min-width:0;width:100%;height:36px;max-width:125px}.filter-reset{font-size:10px;min-height:36px;padding:8px 10px}.scan-grid{grid-template-columns:1fr;gap:17px}.scan-photo,.skeleton-photo{aspect-ratio:1.38}.scan-card{border-radius:14px}.scan-card-content{padding:15px 16px}.card-code{font-size:17px}.card-caption{font-size:8px}.card-bottom{font-size:10px}.scan-photo>.match-badge{top:12px;left:12px}.image-open-hint{opacity:1}.page-footer{align-items:flex-start;gap:18px;font-size:8px;padding:18px 0 23px}.page-footer>span:last-child{white-space:nowrap}.page-footer .icon{width:11px;height:11px;margin-top:1px}.load-more-wrap{min-height:83px}.load-more-wrap .button{min-height:40px;font-size:11px}.notice{font-size:11px;padding:11px 13px}.empty-state{padding:45px 17px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px}.scan-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;overflow:auto}.detail-header{position:sticky;top:0;z-index:4;background:#1a1720ed;backdrop-filter:blur(15px);height:72px}.detail-header h2{font-size:17px;max-width:74vw}.detail-header-actions{gap:0}.detail-body{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 72px)}.image-panel{min-height:300px;flex:none}.image-stage{height:49dvh;min-height:280px;flex:none}.image-controls{min-height:51px;padding:8px 14px}.zoom-controls input[type=range]{width:100px}.detail-sidebar{overflow:visible;border-left:0;border-top:1px solid #352d40;padding:22px 20px 28px;min-height:340px}.detail-status-line{margin-bottom:20px}.detail-meta>div{flex-direction:row;gap:15px}.detail-meta dd{text-align:right}.detail-meta{margin-bottom:19px;padding-bottom:13px}.detected-lines{max-height:260px;min-height:60px;flex:none;margin-bottom:19px}.detected-heading h3{font-size:13px}.download-button{font-size:12px;min-height:43px}.login-page{padding:30px 20px}.login-shell{max-width:390px}.login-card{padding:29px 26px 25px;border-radius:21px}.login-card h1{font-size:28px}.login-description{font-size:11px}.login-bottom{font-size:8px}.login-footnote{font-size:9px}.toast{bottom:18px;font-size:11px}.scan-dialog .toast{position:fixed}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.detail-notice{font-size:11px;line-height:1.5;padding:10px 12px;margin:0 0 12px;border-radius:8px;color:#dec9ff;background:#2d203e;border:1px solid #a989ce40}

.collection-notice{margin:0 0 22px;padding:12px 16px;border:1px solid #775e334d;border-radius:11px;background:#a5782010;color:#dbbf88;font-size:12px;line-height:1.6}.match-badge.needs-review{color:#edcf96;background:#342a18e8;border-color:#af88473b}

.view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 25px;padding-bottom:14px;border-bottom:1px solid var(--border)}.view-tab{display:flex;align-items:center;gap:9px;min-height:43px;padding:10px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.view-tab[aria-selected=true]{color:#e7d8ff;background:#b695f218;border-color:#b695f240}.view-tab:hover{color:#e7d8ff}.tab-count{min-width:22px;padding:2px 6px;border-radius:5px;background:#ffffff0c;color:inherit;text-align:center;font-size:10px;font-variant-numeric:tabular-nums}@media(max-width:600px){.view-tabs{gap:6px;margin-bottom:20px}.view-tab{font-size:10px;padding:9px 10px;gap:7px;min-height:39px}.tab-count{font-size:9px}}

/* Confirmed collection exports share the gallery's existing visual language. */
.intro-actions{display:flex;align-items:center;gap:10px;flex:none}
.export-dialog{width:min(720px,calc(100% - 40px));max-height:calc(100dvh - 64px);padding:0;margin:auto;border:1px solid #4a3c59;border-radius:22px;background:#1a1720;color:var(--text);box-shadow:0 28px 100px #0008;overflow:hidden}
.export-dialog::backdrop{background:#08060dba;backdrop-filter:blur(5px)}
.export-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 28px 20px;border-bottom:1px solid #352d40}
.export-header h2{font-size:25px;font-weight:600;letter-spacing:-.8px;line-height:1.25;margin:6px 0 0}
.export-header .icon-button{flex:none}
.export-body{max-height:calc(100dvh - 172px);overflow:auto;overscroll-behavior:contain;padding:23px 28px 26px}
.export-scope{margin:0;color:#b6a9c5;font-size:12px;line-height:1.7;max-width:590px}
.export-count{margin:9px 0 20px;color:#a4e1c4;font-size:11px;font-variant-numeric:tabular-nums;min-height:17px}
.export-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0;min-width:0}
.export-modes legend{font-size:12px;font-weight:600;color:#d6c8e5;margin-bottom:10px;padding:0}
.export-mode{display:flex;align-items:flex-start;gap:10px;padding:16px 14px;background:#15121b;border:1px solid #3c3048;border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}
.export-mode:has(input:checked){border-color:#a582d6;background:#ad84ec12;box-shadow:0 0 0 1px #ac80e415}
.export-mode input{accent-color:var(--purple);margin:4px 0 0;flex:none;width:14px;height:14px}
.export-mode strong{display:block;color:#e8dcf4;font-size:13px;font-weight:600;margin-bottom:5px}
.export-mode>span>span{display:block;color:#a99ab9;font-size:11px;line-height:1.55}
.export-mode-note{min-height:34px;margin:11px 0 16px;font-size:10px;line-height:1.65;color:#9d8bad}
.export-prepare-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
.export-includes{font-size:10px;line-height:1.75;color:#b1a2bf;margin:0}
.export-prepare-row .button{font-size:11px;min-height:42px;flex:none;padding:11px 14px}
.export-prepare-row .icon{width:16px;height:16px}
.export-error{margin:18px 0 0;font-size:11px;line-height:1.65}
.export-history{border-top:1px solid #352b40;margin-top:25px;padding-top:20px}
.export-history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.export-history-heading h3{font-size:14px;font-weight:600;margin:0 0 4px;color:#e3d8ec}
.export-history-heading p{font-size:10px;color:#998ba7;margin:0;line-height:1.6}
.export-history-heading .button{font-size:10px;min-height:34px;padding:8px 10px}
.export-history-heading .icon{width:14px;height:14px}
.export-empty{border:1px dashed #49384f;border-radius:11px;padding:20px;margin:0;color:#a898b6;font-size:11px;line-height:1.75;text-align:center}
.export-jobs{display:flex;flex-direction:column;gap:12px}
.export-job{border:1px solid #3b3046;border-radius:13px;padding:16px;background:#15121b}
.export-job-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.export-job h4{margin:0;font-size:13px;font-weight:600;color:#e4d6ee}
.export-job-state{font-size:9px;padding:4px 7px;border-radius:6px;background:#29222f;color:#b5a5c1;border:1px solid #57446260;white-space:nowrap}
.export-job-state.is-active{background:#3b294b;color:#d5b7f5;border-color:#a379cf40}
.export-job-state.is-ready{background:#182b23;color:#a7e4c6;border-color:#75be9a40}
.export-job-date{font-size:9px;line-height:1.65;margin:5px 0 12px;color:#8e809c}
.export-progress{display:block;width:100%;height:6px;border:0;border-radius:5px;overflow:hidden;background:#32273d;accent-color:var(--purple);margin:0 0 11px}
.export-progress::-webkit-progress-bar{background:#32273d;border-radius:5px}
.export-progress::-webkit-progress-value{background:#b398e6;border-radius:5px}
.export-progress::-moz-progress-bar{background:#b398e6;border-radius:5px}
.export-job-counts{font-size:10px;color:#c6b6d3;margin:0;font-variant-numeric:tabular-nums;line-height:1.7}
.export-job-help{font-size:10px;color:#9988a7;line-height:1.65;margin:7px 0 0}
.export-cancel{font-size:10px;margin:10px 0 0;padding:4px 0;color:#c8b5db}
.export-cancel:hover{color:#f1d7e0}
.export-parts{display:flex;flex-direction:column;gap:7px;margin-top:13px}
.export-part{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;background:#231b2d;border:1px solid #5b42745c;transition:background .15s,border-color .15s}
.export-part:hover{background:#30213e;border-color:#9270b5}
.export-part>.icon{width:17px;height:17px;color:#c4a3eb}
.export-part-description{min-width:0;flex:1}
.export-part-description strong{display:block;font-size:11px;font-weight:550;color:#e0ccee}
.export-part-description>span{display:block;font-size:9px;color:#9984aa;overflow-wrap:anywhere;margin-top:3px;line-height:1.5}
.export-part-size{flex:none;font-size:10px;font-variant-numeric:tabular-nums;color:#bba9cb}
.export-expiry{font-size:9px;margin-top:10px}
.export-footnote{font-size:10px;line-height:1.7;color:#8c7d9a;margin:16px 0 0}
@media(max-width:900px){.intro-actions{gap:8px}.intro-actions .button{font-size:11px;padding:10px 12px}.intro-actions .button .icon{width:16px;height:16px}.intro-actions #refresh span{display:none}.intro-actions #refresh{min-width:40px}}
@media(max-width:600px){.page-intro{flex-wrap:wrap;align-items:flex-start}.intro-actions{margin-top:7px;width:100%}.intro-actions .button{min-height:37px;font-size:11px;padding:9px 12px}.intro-actions #refresh span{display:inline}.intro-actions #refresh{margin-left:auto}.export-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:17px}.export-header{padding:20px 18px 17px;gap:12px}.export-header h2{font-size:22px}.export-body{padding:19px 18px 22px;max-height:calc(100dvh - 125px)}.export-scope{font-size:11px}.export-count{font-size:10px;margin-bottom:18px}.export-modes{gap:9px}.export-mode{padding:13px 10px;gap:8px}.export-mode strong{font-size:12px}.export-mode>span>span{font-size:10px}.export-prepare-row{flex-direction:column;align-items:stretch;gap:13px}.export-prepare-row .button{width:100%;font-size:12px}.export-includes{font-size:10px}.export-mode-note{min-height:0}.export-job{padding:14px 12px}.export-part{padding:10px;gap:8px}.export-part-description>span{font-size:8px}.export-part-size{font-size:9px}.export-history-heading{gap:10px}}
.export-dialog[open]{display:flex;flex-direction:column}.export-header{flex:none}.export-body{min-height:0;max-height:none}
