:root{font-family:system-ui,-apple-system,sans-serif;color:#173c35;background:#f5f4ed;font-synthesis:none;--green:#123d36;--gold:#d59b46}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{cursor:pointer;border:1px solid #cbd3ca;background:white;color:var(--green);border-radius:9px;padding:10px 15px;text-decoration:none;text-align:center}button:hover,.button:hover{background:#e8ede6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#275c4e}header{padding:24px 5vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dddcd1;gap:18px}.brand{display:flex;align-items:center;gap:12px;color:var(--green);text-decoration:none;font-weight:800;letter-spacing:.08em;font-size:14px}.mark{font-size:38px;color:var(--gold)}small{display:block;font-weight:400;letter-spacing:0;margin-top:3px;font-size:12px}nav{display:flex;align-items:center;gap:18px}nav a{color:var(--green);font-size:14px;font-weight:600}main{max-width:1320px;margin:auto;padding:30px 4vw}.hero{padding:14px 0 30px;max-width:760px}.eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#6b7468;font-weight:700}h1{font-size:clamp(32px,5vw,50px);line-height:1.12;letter-spacing:-.045em;margin:14px 0}h2{font-size:24px;margin:5px 0}h3{font-size:14px}.hero>p:not(.eyebrow){line-height:1.6;color:#627369}.badge{font-size:12px;border:1px solid #d9decf;border-radius:30px;padding:7px 12px;display:inline-block}.workspace{display:grid;grid-template-columns:250px 1fr;background:white;border:1px solid #d9dfd5;border-radius:18px;min-height:520px;overflow:hidden}aside{background:#ebeee5;padding:23px;border-right:1px solid #d9dfd5}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.section-heading h2{font-size:20px}#collections{margin:18px 0;display:grid;gap:9px}.collection{width:100%;text-align:left;background:transparent;border:0}.collection.active{background:var(--green);color:white}.collection span{display:block;font-size:11px;opacity:.72;margin-top:4px}.text-button{background:none;border:0;padding-left:0;font-size:12px}.backup{border-top:1px solid #cdd5c6;margin-top:26px;padding-top:10px;display:grid;gap:9px}.backup p{font-size:11px;line-height:1.5;margin:2px 0;color:#647369}.manual{display:block;margin-top:20px;font-size:12px;color:var(--green)}.inventory{padding:28px;min-width:0}#stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0}.stat{border-radius:12px;border:1px solid #e3e5dc;padding:16px;background:#fafbf7}.stat strong{font-size:29px;display:block}.stat span{font-size:11px;color:#67736b}.filters{display:flex;gap:12px;margin:0 0 18px}.filters input{flex:1;min-width:0}input,select{padding:12px;border:1px solid #ccd4c8;border-radius:8px;background:white;color:var(--green)}#cards{display:grid;gap:10px}.card{border:1px solid #dde3d8;border-radius:12px;padding:16px;display:flex;align-items:center;gap:15px}.card-icon{background:#edf1e7;color:#8c966f;border-radius:8px;width:42px;height:55px;display:grid;place-items:center;flex-shrink:0;font-size:24px}.card-info{flex:1;min-width:0}.card-info h3{margin:0 0 5px;font-size:15px;overflow-wrap:anywhere}.card-info p{font-size:11px;color:#667367;margin:0;overflow-wrap:anywhere}.count{font-weight:700;font-size:20px}.edit{font-size:12px}.empty{padding:55px 22px;text-align:center;border:1px dashed #d4dccd;border-radius:14px;color:#6f7c70;line-height:1.6}.empty strong{display:block;color:var(--green);font-size:20px;margin-bottom:10px}#notice:not(:empty){padding:12px;background:#fff1cd;border-radius:9px;margin-bottom:18px}footer{text-align:center;padding:24px;color:#798475;font-size:12px}dialog{border:1px solid #d9dfd5;border-radius:17px;width:min(580px,92vw);padding:25px;color:var(--green)}dialog::backdrop{background:#10281b88}dialog label{display:grid;gap:6px;font-size:12px;margin-bottom:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}@media(max-width:800px){header{padding:16px;flex-wrap:wrap}.workspace{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid #d9dfd5}#collections{display:flex;overflow-x:auto}.collection{min-width:150px}.backup{grid-template-columns:1fr 1fr}.backup h3,.backup p{grid-column:1/-1}.inventory{padding:20px}#stats{grid-template-columns:repeat(2,1fr)}.section-heading{flex-wrap:wrap}.filters{flex-wrap:wrap}.filters select{width:100%}.card{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}nav a{font-size:12px}}

.form-error{background:#fff1cd;color:#7a3518;border-radius:8px;padding:12px;line-height:1.5}.graphs{border:1px solid #e3e5dc;border-radius:12px;padding:18px;margin-bottom:22px;background:#fafbf7}.graphs h3{margin:0 0 10px;font-size:16px}.graphs p{font-size:12px;line-height:1.6;margin:7px 0}.graph-hint{color:#67736b}.graphs progress{accent-color:#275c4e;width:100%;height:16px}.graphs summary{font-size:13px;cursor:pointer;margin-top:15px}.graph-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(60px,2fr) auto;align-items:center;gap:12px;margin-top:15px;font-size:12px}.graph-row span{overflow-wrap:anywhere}.graph-row strong{font-size:11px}.graph-row small{grid-column:2/-1}@media(max-width:500px){.graph-row{grid-template-columns:1fr auto}.graph-row progress{grid-row:2;grid-column:1/-1}}

/* Keep the collection carousel inside the narrow grid track. */
.workspace{grid-template-columns:250px minmax(0,1fr)}aside{min-width:0}@media(max-width:800px){.workspace{grid-template-columns:minmax(0,1fr)}.backup{grid-template-columns:repeat(2,minmax(0,1fr))}.backup .button,.backup button{min-width:0;overflow-wrap:anywhere;padding:10px 8px}#stats{grid-template-columns:repeat(2,minmax(0,1fr))}.collection{flex-shrink:0}}

.beta-note{border:1px solid #d8c28f;background:#fffaf0;border-radius:12px;padding:16px 20px;margin:0 0 22px}.beta-note h2{font-size:18px}.beta-note p{font-size:13px;line-height:1.6;max-width:850px}.beta-note summary{font-size:13px;cursor:pointer;color:#735019}.hero,.badge{max-width:100%}.badge{line-height:1.6}.brand>span{min-width:0}button:disabled{opacity:.6;cursor:not-allowed}dialog p{line-height:1.6}h1{overflow-wrap:anywhere}

dialog:not([open]){display:none}.dialog-fallback{display:block;position:fixed;z-index:1000;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;max-height:90vh;overflow:auto;box-shadow:0 0 0 100vmax #10281b88}.browser-notice{padding:16px;background:#fff1cd}

/* Original collector artwork, tactile surfaces, and a clear inventory layer. */
:root{background:#f1eee5;color:#18392e;--green:#153d31;--gold:#c79851}
body{background:radial-gradient(ellipse at 8% 8%,#dfe7dc66,transparent 50%),radial-gradient(ellipse at 90% 35%,#e9d7ac55,transparent 40%),#f4f1e9}
header{background:#fffdf6ee;padding:20px 5vw;border-bottom-color:#d9d5c6}.brand{letter-spacing:.12em}.brand small{letter-spacing:.02em}.mark{color:#b8863d}
main{max-width:1380px;padding:32px 4vw}.hero-collector{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:40px;align-items:center;max-width:none;padding:12px 0 32px}.hero-copy{min-width:0}.hero-copy .eyebrow{color:#777254;letter-spacing:.18em}.hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4.5vw,66px);font-weight:500;line-height:1.04;letter-spacing:-.035em;max-width:490px;color:#153d31}.hero-copy>p:not(.eyebrow){line-height:1.7;color:#586757;font-size:15px;max-width:440px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 18px}.hero-actions button{padding:12px 18px;font-weight:650}.hero-actions .primary{box-shadow:0 6px 16px #143a3122}.hero-actions .secondary{background:#ffffff99;border-color:#d0cbbd}.badge{color:#5d6556;background:#fffcf3a6;border-color:#d7d0bd;font-size:11px}
.hero-art{margin:0;position:relative;border-radius:24px;overflow:hidden;box-shadow:0 20px 44px #173d3128;border:1px solid #d6ccb6;background:#163d30}.hero-art>img{width:100%;height:365px;display:block;object-fit:cover;object-position:center}.art-label{position:absolute;left:20px;top:20px;display:flex;align-items:center;gap:8px;background:#fff9e9ef;box-shadow:0 3px 12px #0002;padding:9px 13px;border-radius:8px;font-size:12px;color:#314839}.art-spark{color:#ba8537;font-size:19px}.hero-art figcaption{position:absolute;bottom:0;left:0;right:0;color:#f7f0df;background:linear-gradient(transparent,#112b20ed);padding:32px 16px 12px;font-size:10px;letter-spacing:.025em}
.beta-note{border-color:#ded2b4;background:#fffbf3;border-radius:14px;padding:13px 18px}.beta-note h2{font-size:15px;margin:0 0 5px}.beta-note>p{margin:5px 0}.beta-note summary{font-size:12px}.workspace{border-color:#d2d4c4;border-radius:20px;box-shadow:0 12px 32px #1b3b2610}aside{background:linear-gradient(#f2f4eae8,#eef1e7f7),url('assets/collector-album-original-019.png') center/cover}.inventory{background:#fffdf8}.stat{background:linear-gradient(145deg,#fff,#f3f1e6);border-color:#e5e0d1}.stat strong{font-family:Georgia,serif;color:#264c3b;font-weight:500}.graphs{background:linear-gradient(110deg,#f4f5ee,#fffdf6);border-color:#e0dfd0}.card{background:#fff;border-color:#e4e2d4;box-shadow:0 2px 5px #1b342008}.card-icon{background:radial-gradient(ellipse at 20% 20%,#d6be80aa,#365b4299),#254b38;color:#f3e1b8;border:1px solid #c6b474;font-size:28px;box-shadow:inset 0 0 0 3px #ffffff40}.collection.active{box-shadow:0 3px 10px #193d3322}.empty{background:linear-gradient(#fffdf5ea,#fffdf5ea),url('assets/collector-album-original-019.png') center/cover;min-height:180px}
@media(max-width:1000px){.hero-collector{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hero-art>img{height:330px}}
@media(max-width:800px){main{padding:22px 5vw}.hero-collector{grid-template-columns:minmax(0,1fr);gap:22px;padding-top:0}.hero-copy h1{font-size:46px;max-width:540px}.hero-copy>p:not(.eyebrow){max-width:620px}.hero-art>img{height:260px}.hero-actions{margin:20px 0 15px}.hero-art{border-radius:18px}.art-label{left:14px;top:14px}}
@media(max-width:420px){.hero-copy h1{font-size:39px}.hero-copy>p:not(.eyebrow){font-size:14px}.hero-actions{gap:8px}.hero-actions button{flex:1;min-width:130px;padding:11px 9px;font-size:12px}.hero-art>img{height:215px}.art-label{font-size:11px;padding:7px 10px}.beta-note{padding:12px 14px}.brand{font-size:12px}nav{gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.album-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:20px 0 8px;flex-wrap:wrap}.album-toolbar h3{margin:0;font-size:17px}.album-toolbar button[aria-pressed="true"]{background:var(--green);color:white}.help-text{font-size:12px;line-height:1.6;color:#626d61}.photo-field{border:1px solid #e2dece;border-radius:12px;padding:14px;margin-bottom:18px}.photo-actions{display:flex;flex-wrap:wrap;gap:8px}.photo-actions .button,.photo-actions button{font-size:12px}#photoPreview img{display:block;max-width:100%;height:250px;object-fit:contain;margin:10px auto}.card-photo-open{padding:0;flex-shrink:0;border:0;background:#f1eee6;overflow:hidden;border-radius:10px}.card-photo{width:60px;height:84px;object-fit:contain;display:block}.price-button{font-size:12px}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}.album-grid .card{display:flex;flex-direction:column;align-items:stretch;padding:12px;gap:8px;min-width:0}.album-grid .card-photo{width:100%;height:230px;object-fit:contain}.album-grid .card-icon{width:100%;height:230px;display:grid;place-items:center;font-size:42px}.album-grid .card-info{width:100%;flex:auto}.album-grid .card-info h3{font-size:16px}.album-grid .count{font-size:16px}.album-grid .card p{font-size:11px}.album-grid .empty{grid-column:1/-1}#priceLinks{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}#priceLinks a[aria-disabled="true"]{opacity:.45;pointer-events:none}.price-confirm{display:flex!important;align-items:start;gap:10px!important;margin-top:15px}#priceIdentity{font-size:14px;line-height:1.6;overflow-wrap:anywhere}textarea{width:100%;box-sizing:border-box;border:1px solid #d4dccd;border-radius:8px;padding:10px;resize:vertical}#ocrProgress{font-size:12px;margin:10px 0}dialog{max-height:90vh;overflow-y:auto}@media(max-width:420px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.album-grid .card-photo,.album-grid .card-icon{height:170px}.album-grid .card{padding:8px}.album-grid button{padding:8px 5px}.photo-actions .button{flex:1}#photoPreview img{height:210px}}

.card{flex-wrap:wrap}.album-grid .card{display:flex;flex-direction:column;align-items:stretch}.card .price-note{font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}.photo-faces{display:flex;gap:.5rem;margin-bottom:.6rem}.photo-faces [aria-pressed=true]{background:#123d36;color:#fff}.trade-export{padding:.8rem 0}.backup-status{border-top:1px solid #d8ddd6;margin-top:1rem;padding-top:.8rem}.backup-status h4{margin:.3rem 0}.backup-due{background:#fff3cf;padding:.6rem;border-radius:.5rem}.backup-fresh{color:#225444}.backup-status p{font-size:.78rem;line-height:1.5}.price-fields{border:1px solid #dde2db;border-radius:.8rem;padding:1rem;margin:1rem 0}.price-fields legend{font-weight:650;padding:0 .4rem}.price-fields select{width:100%;padding:.8rem;border:1px solid #d4dcd6;border-radius:.55rem;background:#fff}.copy-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.copy-photo-grid img,.specimen-photos img{max-width:100%;max-height:240px;object-fit:contain}.copy-photo-grid .button{display:inline-block;margin:.25rem 0}.specimen{padding:1rem;margin:.7rem 0;border:1px solid #dbe3da;border-radius:.8rem}.specimen p{overflow-wrap:anywhere}.specimen-photos{display:flex;gap:.6rem}.specimen-photos button{width:45%;padding:.3rem}.quick-photos{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}.quick-photos img{width:75px;height:105px;object-fit:contain}.zoom-scroll{height:65vh;overflow:auto;background:#e9ede7;text-align:center}.zoom-scroll img{display:block;max-width:none;object-fit:contain;height:auto;min-height:0}.zoom-actions{display:flex;align-items:center;justify-content:center;gap:1rem;margin:.6rem}.inventory>.section-heading{flex-wrap:wrap;gap:.65rem}.inventory>.section-heading>div{flex:1;min-width:140px}#copyDialog{max-width:740px}#zoomDialog{width:min(95vw,900px)}
@media(max-width:500px){.copy-photo-grid{grid-template-columns:1fr}.photo-actions{flex-wrap:wrap}.price-fields{padding:.7rem}.price-fields .form-grid{grid-template-columns:1fr}}
