*{box-sizing:border-box}body{margin:0;background:#f6f6f5;color:#191a1c;font:16px/1.5 system-ui,sans-serif}header{background:#121315;color:white;padding:15px max(5vw,20px);display:flex;gap:15px;align-items:center}header strong{font:23px Georgia}.mark{border:1px solid #aeb0b3;color:#e4e5e7;padding:0 10px;font:32px/42px Georgia}main{max-width:1050px;margin:auto;padding:38px 22px}h1,h2,h3{font-family:Georgia,serif;font-weight:500;margin:.35em 0}h1{font-size:clamp(36px,6vw,60px)}h2{font-size:28px}.heading,.bar{display:flex;justify-content:space-between;align-items:center;gap:12px}.bar{margin:32px 0 14px;flex-wrap:wrap}.bar input{width:190px}button{border:0;background:#252629;color:white;border-radius:6px;padding:12px 18px;font:600 15px system-ui;cursor:pointer}button:disabled{opacity:.5}.light{background:#e9eaec;color:#28292c}#stats,.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}#stats{border-block:1px solid #c6c7c9;margin-top:20px;padding:18px 0;grid-template-columns:repeat(3,1fr)}#stats b{display:block;font:28px Georgia}small,.quiet,#match{color:#56585c}#list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:15px}.card{display:flex;align-items:center;gap:18px;background:white;border:1px solid #d2d3d5;color:#202124;text-align:left;padding:14px;font-weight:400}.tile{flex:none;width:72px;height:90px;object-fit:cover;border-radius:3px}.initial{display:grid;place-items:center;background:#e4e5e7;font:30px Georgia;color:#52555a}.card strong{font:26px Georgia}.card small{display:block;margin-top:5px}.quiet{font-size:14px;margin-top:25px}dialog{border:1px solid #bfc1c4;border-radius:10px;padding:22px;width:min(520px,96vw);max-height:90dvh;color:inherit}dialog::backdrop{background:#131417aa}label{display:block;font-weight:600;font-size:14px;margin:10px 0}input,select,textarea{width:100%;border:1px solid #a6a8ac;border-radius:5px;font:16px system-ui;background:white;padding:10px;color:inherit}label input,label select,label textarea{display:block;margin-top:4px}.grid{gap:0 12px}output{display:block;color:#404246}#preview{max-width:100%;max-height:230px;object-fit:contain}.close{padding:5px 13px;font-size:23px}.line{border-top:1px solid #d6d7d9;padding:9px 0}.metrics{background:#efeff0;padding:12px}.grid>*{min-width:0}@media(max-width:520px){main{padding-top:20px}.bar input{width:100%}#stats b{font-size:22px}#stats small{font-size:12px}}
a{color:#34373b;text-underline-offset:3px}#detail h3{border-top:1px solid #cbccce;margin-top:24px;padding-top:16px;font-size:23px}summary{cursor:pointer;color:#252629;font-weight:650;padding:8px 0}#compList{margin:14px 0}.line{overflow-wrap:anywhere}#noteStatus{font-size:14px}#findComps{line-height:1.9}
.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.photo-pair a{font-size:14px}.photo-pair img{width:100%;height:170px;object-fit:contain;display:block;background:#ededee;border-radius:5px}
.scent-profile{background:#efeff0;border-left:3px solid #777a80;padding:12px 15px;margin:12px 0}.scent-profile p{margin:4px 0}.scent-profile a{font-size:14px}

:root { --display-face: Georgia, 'Times New Roman', serif; }
:root[data-home-font="editorial"] { --display-face: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; }
:root[data-home-font="modern"] { --display-face: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
header { border-bottom: 2px solid #b8babd; flex-wrap: wrap; }
.mark { background: linear-gradient(120deg,#888b90,#e8e9eb 44%,#b9bbbf 78%,#d8d9db); color: #191a1c; }
header strong, main h1, main h2, main .card strong, #stats b { font-family: var(--display-face); }
header strong { letter-spacing: .025em; }
.font-choice { margin: 0 0 0 auto; }
.font-choice select { display: inline-block; width: auto; margin: 0; padding: 7px; background: #252629; border-color: #777a80; color: white; }
.font-choice span { margin-right: 7px; }
:focus-visible { outline: 2px solid #62666c; outline-offset: 3px; }
header :focus-visible { outline-color: white; }
@media (max-width: 540px) { .font-choice span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } header { gap: 8px; } header strong { font-size: 19px; } }
.index-title { line-height: 1.25; padding-bottom: .15em; }
.collection-word { white-space: nowrap; }
.collection-initial { position: relative; display: inline-block; width: .94em; color: transparent; }
.collection-initial svg { position: absolute; left: 0; bottom: .26em; width: .89em; height: .765em; color: #191a1c; overflow: visible; pointer-events: none; }
@media (max-width: 680px) {
  main > .heading { flex-wrap: wrap; }
  .index-title { font-size: clamp(1.85rem, 7vw, 2.7rem); }
}

.instructions ol {max-width:70ch;padding-left:1.5rem}.instructions li {margin:.5rem 0}#codePreview {max-width:100%;max-height:180px;object-fit:contain}

.decant-toggle {display:flex;align-items:center;gap:.6rem}.decant-toggle input {width:auto;margin:0}.decant-toggle input:checked {accent-color:#252629}#decantFields {margin:0;padding:0;border:0;min-width:0}#decantFields:disabled {opacity:.5}#decantFields:disabled button {cursor:default}#decantCounts {margin:0 0 .8rem}#decantLog {margin-top:1rem}

.starter-guide{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.4rem;border-block:1px solid #aaa;padding:1.3rem 0;margin:1rem 0}.starter-guide h2{margin:0}.starter-guide ul,.starter-guide ol{padding-left:1.4rem;margin:.65rem 0}.starter-guide li+li{margin-top:.45rem}

.photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.photo-pair a{min-width:0;font-size:14px}.photo-pair img{display:block;width:100%;height:clamp(110px,27vw,175px);object-fit:contain;background:#eee;border-radius:5px;margin:0 0 4px}
#photoViewer{max-width:96vw;max-height:95vh;width:fit-content;padding:.75rem}#photoViewer form{text-align:right;margin-bottom:.5rem}#photoViewer img{display:block;width:auto;max-width:100%;height:auto;max-height:78vh;object-fit:contain}

body{background:#f7f6f2}.collection-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:1rem 0}.dialog-top{display:flex;justify-content:flex-end}.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.6rem,2vw,1.25rem)}#compareResult>div{border-top:2px solid #a7a9ab;overflow-wrap:anywhere;margin-top:1.25rem}#compareResult h3{font:1.65rem Georgia;margin:.6rem 0}#compareDialog{width:min(780px,96vw)}#compareDialog .duo input{min-width:0;width:100%}#compareDialog .duo section{display:block}.backup-tools{margin:1rem 0}.backup-tools p{max-width:66ch}.fill-line{display:block;height:4px;border-radius:3px;background:#dededb;overflow:hidden;margin:.6rem 0 .2rem}.fill-line i{display:block;height:100%;background:linear-gradient(90deg,#35383a,#898d90)}#list{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))}.card{display:block;width:100%;background:#fff;border-radius:9px;overflow:hidden;padding:0;box-shadow:0 2px 6px #1919190d}.card .tile{display:block;width:100%;height:clamp(150px,18vw,235px);object-fit:contain;background:#eeedeb}.card .initial{display:grid;place-items:center}.card .card-info{display:block;padding:.9rem 1rem}.card strong{font-size:1.65rem}.card .fill-text{color:#343638}.card:hover,.cover:hover{box-shadow:0 4px 16px #19191918}.cover .fill-line{margin:.5rem 1rem}.suggest-link{display:inline-block;margin:.6rem 0 1rem}.dialog-top button{border:1px solid #bbb;background:#f1f1ef;color:#222;border-radius:5px;padding:.4rem .8rem}#showCompare{cursor:pointer}#compareDialog label{display:block}#compareDialog input{display:block;font:inherit;padding:.55rem}#compareDialog button{font:inherit;cursor:pointer}#compareDialog p{line-height:1.45}
@media(max-width:540px){#list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.card .card-info{padding:.65rem}.card .tile{height:154px}.card small{font-size:.85rem}}

#importDialog [hidden],#importMapping:empty{display:none}#importMapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem;border:0;padding:0}#importPreview{overflow:auto;max-height:35vh;margin:.8rem 0}#importPreview th,#importPreview td{padding:.4rem;text-align:left;vertical-align:top}#importPreview caption{text-align:left}#importMessage,#importResult{display:block}
