@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101312;--panel:#191d1b;--line:#333b35;--text:#eef2e8;--muted:#a0aaa0;--accent:#d4f78c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}header{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4%;gap:20px}a{color:inherit}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:700 20px 'Space Grotesk',sans-serif;letter-spacing:2px}.logo{background:var(--accent);color:#172012;padding:7px 12px;border-radius:5px;transform:rotate(-7deg)}header>span{font-size:10px;letter-spacing:2px;color:var(--muted)}button,label.text{cursor:pointer}button{font:600 12px 'DM Sans',sans-serif;background:#252c26;border:1px solid #414b41;border-radius:6px;color:var(--text);padding:12px 16px}button:hover{border-color:var(--accent)}button:disabled{opacity:.4;cursor:default}main{max-width:1530px;margin:auto;padding:52px 4% 20px}.eyebrow,.step{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--accent)}h1{font:500 clamp(42px,5vw,68px)/1.04 'Space Grotesk',sans-serif;letter-spacing:-3px;margin:18px 0}h1 span{color:var(--accent)}.intro{margin-bottom:40px;position:relative}.intro>p{color:var(--muted);line-height:1.8;font-size:16px}.workspace{display:grid;grid-template-columns:340px 1fr;border:1px solid var(--line);border-radius:12px;overflow:hidden}aside{padding:26px;background:var(--panel);border-right:1px solid var(--line)}h2{font:500 21px 'Space Grotesk',sans-serif;margin:12px 0}.muted{color:var(--muted);font-size:13px;line-height:1.6}textarea{width:100%;height:255px;resize:vertical;background:#101411;border:1px solid var(--line);border-radius:7px;padding:16px;color:var(--text);line-height:1.8;font:12px/1.8 monospace;margin-top:14px}textarea:focus{outline:1px solid var(--accent)}.row{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:12px 0}.text{background:none;border:0;padding:0;font-size:11px;color:var(--accent)}.primary{width:100%;background:var(--accent);color:#192512;display:flex;justify-content:space-between;margin-top:22px;font-size:14px}#status{font-size:12px;color:var(--muted);line-height:1.6;margin:16px 0;overflow-wrap:anywhere}details{border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted);line-height:1.7}summary{cursor:pointer;color:var(--text)}.results{padding:26px;min-width:0}.resulthead{display:flex;align-items:center;justify-content:space-between;gap:15px}.options{font-size:11px;color:var(--muted);justify-content:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}.options button{padding:5px 8px;font-size:11px}.empty{text-align:center;padding:90px 10px}.card-icon{font-size:36px;border:1px solid #516047;border-radius:10px;width:86px;height:115px;display:grid;place-items:center;margin:0 auto 25px;transform:rotate(-9deg);color:var(--accent);background:linear-gradient(140deg,#303b28,#171c17)}h3{font:500 22px 'Space Grotesk',sans-serif}.empty p{color:var(--muted);line-height:1.7}.empty span{display:block;font-size:9px;letter-spacing:1.5px;color:#788271;margin-top:32px}#cards.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:24px 18px;padding-top:20px}.tile{min-width:0}.tile img{width:100%;border-radius:8px;display:block;background:#242924;aspect-ratio:745/1040;object-fit:contain}.tile h4{font-size:12px;margin:12px 0 5px}.tile p{font-size:10px;color:var(--muted);margin:0 0 10px}.tile button{width:100%;font-size:11px;padding:8px}.badge{color:var(--accent)}#errors{color:#ffc8a6;font-size:12px;line-height:1.8}footer{font-size:10px;line-height:1.8;color:#899487;padding:24px 0}dialog{background:#191e1a;color:var(--text);border:1px solid #4f5e48;border-radius:12px;width:1000px;max-width:95vw;max-height:90vh;padding:25px}dialog::backdrop{background:#000b}#choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px;margin:22px 0}#choices button{padding:8px;text-align:left}#choices img{width:100%;border-radius:7px}#choices small{display:block;margin-top:10px;color:var(--muted)}@media(min-width:1100px){.intro>p{position:absolute;left:60%;bottom:0}}@media(max-width:850px){.workspace{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid var(--line)}header>span{display:none}.results{padding:20px}main{padding-top:30px}h1{letter-spacing:-2px}.resulthead{flex-wrap:wrap}}
.submitbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.submitbar p{margin-bottom:0}.submitbar button{flex-shrink:0}#submitDialog{max-width:500px}#submitDialog label{display:block;margin:20px 0 5px}#submitDialog input{display:block;width:100%;margin-top:8px;padding:12px;border-radius:5px;border:1px solid var(--line);background:#101312;color:var(--text);font:inherit}.trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden}#submitStatus{line-height:1.6;color:var(--accent)}#adminPanel{padding:20px 0}#adminPanel a{color:var(--accent)}.orderrow{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:center}.orderrow p{margin:6px 0;color:var(--muted);font-size:12px}#adminPanel button{padding:7px 10px}.notice{padding:14px;background:#252e20;border-radius:6px;line-height:1.7}#adminPanel select{background:#1d241d;color:var(--text);padding:8px;border:1px solid var(--line);border-radius:5px}@media(max-width:600px){.submitbar,.orderrow{align-items:flex-start;flex-direction:column}header{gap:10px}.brand{font-size:15px}header button{font-size:10px;padding:9px}.submitbar button{width:100%}}
[hidden]{display:none!important}#adminPanel label{display:block;margin:18px 0 8px}#adminPanel input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:6px;background:#111713;color:var(--text);font:inherit}#mailFeedback{line-height:1.7;color:var(--accent)}

#submitNotes{height:95px;min-height:75px;margin-top:8px;font:inherit;line-height:1.5}.order-notes p{white-space:pre-wrap;overflow-wrap:anywhere}.face-label{color:var(--accent)!important}.tile button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.card-picture{position:relative}.printing-arrow{position:absolute;z-index:1;top:45%;padding:4px 12px;font-size:32px;line-height:1.2;background:#101713e8;border:1px solid #b6d07a;color:#fff;box-shadow:0 2px 8px #0008}.printing-arrow.previous{left:5px}.printing-arrow.next{right:5px}.quality-message{color:#f3c78d;font-size:12px;line-height:1.45}.quality-message:empty{display:none}

.reference img{max-width:100%;margin-top:8px}.reference summary{cursor:pointer;font-size:12px;margin:10px 0}.tile>button{margin:4px 4px 4px 0;font-size:12px}.printing-arrow:disabled{opacity:.4;cursor:wait}.resulthead>div>.muted{max-width:650px;font-size:13px}
.tile .card-picture .printing-arrow{width:36px;height:48px;padding:0;font-size:32px;line-height:44px;border-radius:8px;top:calc(50% - 24px);margin:0}.tile .card-picture .printing-arrow.previous{left:5px;right:auto}.tile .card-picture .printing-arrow.next{right:5px;left:auto}
