
:root{--gold:#eac084;--golddeep:#9d713e;--bg:#050505;--card:#101010;--line:#3d3430;--text:#f5eee4;--muted:#a7a19b}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,sans-serif}button{cursor:pointer;font-family:inherit}button:focus-visible{outline:2px solid #fff1c8;outline-offset:3px}.topbar{padding:20px clamp(20px,3vw,55px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #4c3827;gap:16px;background:#090909}.identity{display:flex;align-items:center;gap:15px}.brandcoin{display:grid;place-items:center;border-radius:100%;border:1px solid var(--gold);color:var(--gold);width:44px;height:44px;font:31px Georgia,serif}.name{font:30px Georgia,serif;letter-spacing:5px;color:#f6d9aa}.mini{font-size:9px;letter-spacing:2.8px;color:#b9a98f;margin-top:3px}.steps{display:flex;gap:25px;text-transform:uppercase;font-size:10px;letter-spacing:1px;color:#8d8680}.steps strong{color:var(--gold)}.layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(365px,.97fr);max-width:1740px;margin:auto;min-height:calc(100vh - 85px)}.visual{padding:25px clamp(17px,2.1vw,36px) 40px;min-width:0;border-right:1px solid #382d24}.aside{padding:25px 25px 36px;background:#090909;min-width:0}.intro{font:normal clamp(30px,3.4vw,51px)/1.08 Georgia,serif;color:#f2d6a8;margin:0}.prelude{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#d0b897;margin-top:9px;margin-bottom:19px}.jaw{position:relative;background:#000;border:1px solid #28201c;overflow:hidden;border-radius:9px}.jaw img{display:block;width:100%;object-fit:contain;background:#050505}.jawnote{position:absolute;bottom:9px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#ddd;font-size:10px;text-transform:uppercase;letter-spacing:1.1px;text-shadow:0 1px 8px #000;background:#05050590;padding:7px}.jawnote b{color:var(--gold);font-weight:500}.mapwrap{margin-top:24px}.mapheading{display:flex;gap:12px;align-items:center;justify-content:center;letter-spacing:3px;font-size:11px;color:#b2a59a;margin-bottom:14px}.mapheading:before,.mapheading:after{content:'';height:1px;background:#594838;flex:1}.toothrow{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;max-width:700px;margin:auto}.tooth{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;background:linear-gradient(160deg,#181818,#080808);border:1px solid #40372e;border-radius:8px;padding:9px 4px 6px;gap:5px;color:#bfb7ad}.tooth.active{box-shadow:inset 0 0 0 1px var(--gold),0 0 12px #9874433d;border-color:var(--gold)}.tooth.focus{outline:2px solid #fff0c0;outline-offset:2px}.tooth svg{width:min(100%,47px);height:53px}.numlabel{font-size:11px}.tooth small{font-size:8px;letter-spacing:.6px;color:#f5c98e;min-height:10px}.presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px;justify-content:center}.presets button{background:#0b0b0b;color:#e9e1d9;border:1px solid #554a40;padding:10px 14px;border-radius:5px;font-size:12px}.presets button:hover{border-color:var(--gold)}.presets .clear{color:#e6bd86}.section{padding:0 0 20px;border-bottom:1px solid #2c2925;margin-bottom:19px}.sectiontitle{display:flex;align-items:center;gap:10px;letter-spacing:2.2px;font-size:11px;text-transform:uppercase;color:#f2e7da;margin:0 0 14px}.sectiontitle span{display:grid;place-items:center;border:1px solid var(--gold);color:var(--gold);border-radius:100%;height:23px;width:23px;font-size:11px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.card{background:linear-gradient(150deg,#141414,#090909);border:1px solid #4b4034;border-radius:7px;color:#eee5dd;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:9px 3px;font-size:12px}.card.selected{border:1px solid var(--gold);box-shadow:inset 0 0 0 1px #c49a59}.metalicon{width:39px;height:44px;display:block;clip-path:polygon(20% 0,80% 0,100% 20%,87% 91%,50% 100%,13% 91%,0 20%);background:linear-gradient(90deg,#534b42,#ffffff 33%,#9c9c9c 70%,#f9fbff);box-shadow:inset 0 1px 7px #fff}.card[data-mat=dental] .metalicon{background:linear-gradient(90deg,#5f411f,#fff0a6 28%,#9e6029 70%,#ffe3a5)}.card[data-mat=k14] .metalicon{background:linear-gradient(90deg,#56372e,#f7d5b0 32%,#b57b6d 70%,#f7e0c0)}.colors{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.color{display:flex;align-items:center;gap:8px;border-radius:5px;border:1px solid #49413a;background:#141210;color:#e4dcd4;padding:9px 13px;font-size:11px}.color.on{border-color:var(--gold);background:#272019}.dot{height:13px;width:13px;border-radius:100%;border:1px solid #aaa}.helper{color:#aaa09a;line-height:1.5;font-size:12px;margin:-2px 0 12px}.editing{padding:12px;background:#1d1712;border:1px solid #655034;border-radius:5px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.editing button{background:transparent;border:0;color:#f4c894;text-decoration:underline}.styleactions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.option{border:1px solid #4a4034;background:#121110;color:#ede4da;border-radius:6px;padding:12px 9px;min-height:48px;font-size:12px;line-height:1.3}.option.on{border-color:var(--gold);background:#30231a;color:#ffe1ad}.option:disabled{opacity:.35;cursor:not-allowed}.windowgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.winbtn{border:1px solid #4a4038;background:#0c0c0c;color:#ded3c6;border-radius:5px;padding:12px 3px;display:grid;justify-items:center;gap:5px;min-height:76px;font-size:10px}.winbtn.on{border-color:var(--gold);color:#ffdfa8}.winbtn b{font:26px Georgia,serif;color:#e3b575}.tiprow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;color:#ded5c8;font-size:12px}.tiprow button{background:#141414;color:#e7dbc8;border:1px solid #544737;border-radius:5px;padding:8px 15px}.tiprow button.on{background:#45301e;border-color:#dfb87c}.tiprow button:disabled{opacity:.4}.smallnote{color:#a1968a;font-size:10px;line-height:1.5;margin:8px 0}.summary{border:1px solid #685237;padding:17px;background:linear-gradient(135deg,#18140e,#080808);border-radius:7px}.summaryitem{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:6px 0}.summaryitem span{color:#a99c8e}.summaryitem b{text-align:right;font-weight:400}.toothlist{font-size:11px;color:#d0bd9c;border-top:1px solid #3c3328;margin-top:10px;padding-top:11px;max-height:140px;overflow:auto;line-height:1.8}.numbers{font-family:Georgia,serif;font-size:23px;color:#f2c891}.priceline{border-top:1px solid #4e3d2e;margin-top:13px;padding-top:13px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.est{color:#f3c993;font:23px Georgia,serif}.cta{border-radius:5px;background:linear-gradient(90deg,#efc98e,#ca995d,#f2d2a6);color:#24180b;font-size:12px;letter-spacing:1.7px;padding:16px;border:0;width:100%;margin-top:13px;font-weight:700}.cta.secondary{background:transparent;border:1px solid #9a764f;color:#f0cc9f;margin-top:9px;letter-spacing:1px}.disclaimer{color:#ada69e;font-size:10px;line-height:1.6;margin:13px 0}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#36291a;color:#ffe1b6;padding:13px 20px;border:1px solid #d1a56a;border-radius:7px;font-size:12px;display:none;z-index:12}.toast.show{display:block}@media(max-width:980px){.layout{grid-template-columns:1fr}.visual{border-right:0;border-bottom:1px solid #3f3125}.steps{display:none}.aside{padding:23px 18px}.name{font-size:23px}.topbar{padding:15px}.jawnote{font-size:8px}}@media(max-width:490px){.visual{padding:20px 12px}.toothrow{gap:4px}.tooth{padding:5px 1px}.tooth svg{height:43px}.tooth small{font-size:7px}.presets button{padding:9px}.cards{gap:5px}.intro{font-size:34px}.jawnote{position:static;background:#15100c;display:block;line-height:1.5}.brandcoin{width:36px;height:36px}.name{font-size:19px;letter-spacing:2px}.mini{font-size:7px}}

.jaw{isolation:isolate;aspect-ratio:1774/887;background:black}
.jaw img{width:100%;height:100%;object-fit:fill}
.jaw-svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;touch-action:manipulation}
.jaw-svg .hit{cursor:pointer;pointer-events:all;fill:transparent}
.jaw-svg .tooth-graphic{pointer-events:none}
.jaw-svg .tooth-highlight{pointer-events:none}
.jaw-svg .jawfocus{filter:drop-shadow(0 0 7px #f6cf8a)}
.jawnote{z-index:5;pointer-events:none}
@media(max-width:540px){.jawnote{position:absolute;bottom:0;left:0;right:0;font-size:7px;display:flex;padding:6px;background:#050505a8}}
button:disabled{cursor:not-allowed}.tooth:disabled{opacity:.4}.jaw-svg .hit:focus{outline:none;stroke:#f3d295;stroke-width:4}.jaw-svg .hit{fill:transparent}.jawnote{font-size:8px}

[hidden]{display:none!important}.steps button{background:none;border:0;color:#a7a19b;padding:12px 8px;font:inherit;min-height:44px}.steps button[aria-current=step]{color:var(--gold);border-bottom:2px solid var(--gold)}.steps button:disabled{opacity:.4}#flowTitle{font:28px Georgia,serif;color:var(--gold);margin:0 0 25px}.flowbar{background:#100e0b;border-top:1px solid #685237;margin-top:24px;padding:18px 0}.flowbar>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}.flowbar span{color:var(--muted)}.flowactions{display:flex;gap:10px;margin-top:12px}.flowactions .cta{margin:0}.flowactions .option{min-width:72px}.textbutton{border:0;background:none;color:var(--gold);padding:14px 0;margin-right:12px}.textbutton:disabled{opacity:.4}body[data-step="1"] .hit,body[data-step="4"] .hit{pointer-events:none}.visual{align-self:start;position:sticky;top:0}.tooth,.color{min-height:44px}.toast{bottom:160px}
@media(max-width:980px){.topbar{flex-wrap:wrap}.steps{display:flex;width:100%;justify-content:space-between;gap:2px}.layout{display:flex;flex-direction:column}.visual{position:static;width:100%;padding-bottom:12px}.aside{width:100%;padding-bottom:170px}.flowbar{position:fixed;bottom:0;left:0;right:0;z-index:10;padding:12px 18px;margin:0;box-shadow:0 -8px 24px #0009}.flowbar .smallnote{font-size:9px}.mapwrap{margin-top:15px}.prelude{margin-bottom:12px}body[data-step="1"] .visual .jaw{max-height:220px;max-width:440px;margin:auto}}

.tooth.edit-target{outline:3px solid #73dcff;outline-offset:2px;box-shadow:0 0 12px #73dcff55}.cta:disabled{opacity:.4;cursor:not-allowed}#discardSettings{margin-top:12px}
