/* Shared look for SCIOLAB TryOn: light preview, charcoal tools, warm gold details. */
:root{--to-ink:#202326;--to-muted:#74787c;--to-line:#e4e4df;--to-gold:#a78a55;--to-paper:#fafaf8}
html{scroll-behavior:smooth}body{background:var(--to-paper);color:var(--to-ink);overflow-x:hidden}
.brand-header{max-width:none;width:100%;min-height:66px;padding:12px max(22px,calc((100vw - 1460px)/2));background:#fff;color:var(--to-ink);border-bottom:1px solid var(--to-line)}.brand-link{color:var(--to-ink);gap:11px}.brand-link strong{font-size:19px;letter-spacing:.04em}.brand-link em{color:var(--to-gold)}.brand-link small{font-size:10px;color:var(--to-muted)}.gear{font-size:30px;color:var(--to-gold)}.beta-mark{font-size:9px;color:var(--to-muted);letter-spacing:.12em}
.studio-nav{max-width:none;width:100%;margin:0;padding:5px max(22px,calc((100vw - 1460px)/2));justify-content:flex-start;gap:4px;background:#fff;border-bottom:1px solid var(--to-line)}.studio-nav a{padding:10px 13px;border:1px solid transparent;border-radius:3px;background:transparent;color:#555b5c;font-size:11px;font-weight:650}.studio-nav a:first-child{border-color:var(--to-line);box-shadow:none;color:var(--to-ink)}.studio-nav a:hover,.studio-nav a:focus-visible{border-color:#c4b184;box-shadow:none;color:var(--to-ink)}
body main#zkousecka.tattoo-studio-layout{display:grid!important;max-width:1520px;width:calc(100% - 36px);grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:16px;margin:18px auto 26px;align-items:stretch}
#zkousecka.tattoo-studio-layout>.panel{max-height:calc(100vh - 112px);padding:12px;background:#25282a;color:#f5f4f0;border:1px solid #303436;border-radius:5px;box-shadow:0 8px 24px #1010100c;scrollbar-color:#87754f #292c2d}
#zkousecka.tattoo-studio-layout>.stage{display:flex!important;min-height:min(78vh,820px);max-height:calc(100vh - 24px);position:sticky;top:12px;padding:14px;background:#eae9e4;border:1px solid var(--to-line);border-radius:5px;box-shadow:0 8px 24px #1010100a}
#zkousecka.tattoo-studio-layout>.stage canvas{width:100%;height:auto;max-height:calc(100vh - 100px);object-fit:contain;margin:auto}.stage-heading{color:#565d5e;font-size:11px;padding:2px 4px 10px}
.tattoo-worktools{gap:9px}.tattoo-step{padding:12px;background:#2d3032;border:1px solid #414446;border-radius:4px}.tattoo-step h2{margin:0 0 9px;color:#f6f4ee;font-size:15px}.tattoo-step p,.tattoo-step .note,.tattoo-step .editor-hint{color:#b9bcba;font-size:11px;line-height:1.5}.tattoo-step label{color:#e8e7e2;font-size:11px;margin:10px 0 5px}.tattoo-step input[type=file]{color:#d4d4d0;font-size:10px;width:100%}.tattoo-step input[type=range]{accent-color:var(--to-gold)}.tattoo-step select,.tattoo-step input[type=text],.tattoo-step input[type=color]{background:#202325;color:#f7f6f1;border:1px solid #55595a;border-radius:3px}.tattoo-step button{max-width:100%;border:1px solid #b99a5b;border-radius:3px;background:var(--to-gold);color:#171613;font-size:10px;font-weight:700}.tattoo-step button:hover{background:#c3a76d}.tattoo-step .gallery,.tattoo-step .color-editor{background:transparent}.tattoo-step .gallery .motif-grid{gap:7px}.tattoo-step .gallery .motif-card{border-radius:3px;padding:5px}.tattoo-step .gallery .motif-card.active{border-color:var(--to-gold);outline:1px solid var(--to-gold);box-shadow:none}.tattoo-step .filters button,.tattoo-step .preset-row button{background:#393d3f;color:#f1f0eb;border:1px solid #56595a}.tattoo-step .filters button.selected,.tattoo-step .preset-row button.chosen{background:#554a36;color:#fff;border-color:var(--to-gold);box-shadow:none}.tattoo-step .object-panel{background:#242729;border:1px solid #45494a;border-radius:3px}.tattoo-step .object-layer{background:#35393a;color:#f2f1ec;border-color:#555a5b}.tattoo-step .object-layer.chosen{outline:1px solid var(--to-gold);background:#4a4132}.tattoo-step .color-swatches button{border:1px solid #bbb}.photo-status{font-size:10px!important;color:#b9bcba!important;margin:7px 0 0!important}.tattoo-step-photo.step-complete{border-color:#82704a}
footer{max-width:1520px;width:calc(100% - 36px);margin:0 auto;padding:15px 0 22px;color:#777d7e}footer .note{font-size:10px;color:#777d7e}
@media(max-width:720px){.brand-header{padding:11px 14px}.studio-nav{padding:4px 10px;overflow-x:auto;flex-wrap:nowrap}.studio-nav a{white-space:nowrap;padding:9px}.beta-mark{display:none}body main#zkousecka.tattoo-studio-layout{width:calc(100% - 16px);display:flex!important;flex-direction:column;gap:11px}.tattoo-studio-layout>.stage{order:0;position:sticky;top:0;z-index:4;width:100%;min-height:0;max-height:none;padding:8px}.tattoo-studio-layout>.stage canvas{max-height:43vh}.tattoo-studio-layout>.panel{order:1;width:100%;max-height:none;overflow:visible}.tattoo-step .gallery .motif-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.tattoo-step .gallery .motif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
