:root{--ink:#181818;--paper:#f5f4f0;--card:#fff;--line:#d4d1c9;--muted:#666760;--green:#1f785e;--green-soft:#def1e9;--blue:#245dd8;--blue-soft:#e7edff;--yellow:#f3c64f;--red:#d84b3b;font-family:"Inter",Arial,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink)}
button,input,select{font:inherit}
button{cursor:pointer}
.tool-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.7fr);align-items:end;gap:38px;padding-top:54px;padding-bottom:32px}
.tool-kicker,.eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--green)}
.tool-intro h1{max-width:760px;margin:7px 0 12px;font-size:clamp(44px,6vw,82px);line-height:.96;letter-spacing:-.065em}
.tool-intro>div>p{max-width:760px;margin:0;color:#474943;font-size:18px;line-height:1.55}
.privacy-note{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1.5px solid var(--ink);border-radius:18px;background:var(--green-soft)}
.privacy-note span{flex:none;width:12px;height:12px;margin-top:5px;border:2px solid var(--ink);border-radius:50%;background:#2ca67d}
.privacy-note p{margin:0;font-size:13px;line-height:1.5}
.mixing-app{width:min(1500px,calc(100% - 32px));margin:0 auto 80px}
.desktop-workstation{overflow:hidden;border:2px solid var(--ink);border-radius:28px;background:var(--card);box-shadow:10px 11px 0 var(--ink)}
.workspace-titlebar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 26px;border-bottom:2px solid var(--ink);background:#fffdf8}
.workspace-titlebar h2{margin:4px 0 1px;font-size:27px;letter-spacing:-.04em}.workspace-titlebar p{margin:0;color:var(--muted);font-size:13px}
.title-actions{display:flex;gap:8px}.title-actions button,.stage-actions button,.current-actions button,.mobile-change{min-height:44px;padding:9px 15px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;font-weight:800}
.desktop-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(350px,.78fr);align-items:start}
.camera-workspace{position:sticky;top:76px;min-width:0;padding:26px;background:#eceae4}
.camera-stage{position:relative;display:grid;min-height:min(66vh,720px);place-items:center;overflow:hidden;border:1.5px solid var(--ink);border-radius:22px;background-color:#deded8;background-image:linear-gradient(45deg,#cecec7 25%,transparent 25%),linear-gradient(-45deg,#cecec7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#cecec7 75%),linear-gradient(-45deg,transparent 75%,#cecec7 75%);background-position:0 0,0 14px,14px -14px,-14px 0;background-size:28px 28px}
.camera-stage video,.mobile-camera video{display:none;width:100%;height:100%;object-fit:cover}.camera-stage.is-live video,.mobile-camera.is-live video{display:block}
.stage-empty,.mobile-empty{display:grid;place-items:center;gap:8px;text-align:center}.stage-empty[hidden],.mobile-empty[hidden]{display:none}.stage-empty strong{font-size:28px;letter-spacing:-.04em}.stage-empty p{margin:0;color:var(--muted)}
.paint-drop{display:grid;width:72px;height:68px;place-items:center;border:2px solid var(--ink);border-radius:47% 53% 43% 57%;background:var(--yellow);box-shadow:5px 5px 0 var(--ink);font-size:34px}
.sample-marker{position:absolute;z-index:3;display:none;width:104px;height:104px;padding:0;border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 3px var(--marker),0 4px 15px rgba(0,0,0,.32);background:rgba(255,255,255,.08);transform:translate(-50%,-50%);touch-action:none;cursor:grab}.is-live .sample-marker{display:block}.sample-marker:active{cursor:grabbing}.sample-marker::after{content:"";position:absolute;inset:10px;border:2px dashed rgba(255,255,255,.9);border-radius:50%}.sample-marker span{position:absolute;left:50%;bottom:-34px;width:max-content;max-width:125px;padding:6px 9px;border:2px solid #fff;border-radius:999px;background:var(--marker);color:#fff;font-size:11px;font-weight:900;letter-spacing:.02em;transform:translateX(-50%);text-shadow:0 1px 1px rgba(0,0,0,.35)}.target-marker{--marker:#1d69d5}.current-marker{--marker:#208660}.sample-marker:focus-visible{outline:5px solid rgba(255,255,255,.9);outline-offset:6px}
.stage-quality{position:absolute;left:18px;bottom:18px;max-width:70%;padding:8px 12px;border:1.5px solid var(--ink);border-radius:999px;background:rgba(255,255,255,.92);font-size:12px;font-weight:750}
.stage-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:15px}.stage-actions .primary-action{background:var(--ink);color:#fff}.current-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:15px}.current-actions p{margin:0;color:var(--muted);font-size:12px;text-align:right}
.mixing-panel{min-height:100%;border-left:2px solid var(--ink);background:#fff}.panel-step{display:flex;align-items:center;gap:12px;padding:23px;border-bottom:1px solid var(--line)}.panel-step>span{display:grid;width:42px;height:39px;place-items:center;border:1.5px solid var(--ink);border-radius:50%;background:var(--yellow);font-size:11px;font-weight:900}.panel-step div{display:grid;gap:2px}.panel-step small{color:var(--green);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.panel-step strong{font-size:16px}
.swatch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:20px 22px}.swatch-grid>div{display:grid;gap:6px;min-width:0}.swatch-grid span{font-size:10px;font-weight:850;text-transform:uppercase}.swatch-grid i{display:block;height:56px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#eee,#fff)}.swatch-grid code{overflow:hidden;color:var(--muted);font:10px/1.3 "Inter",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.measurement-card,.next-step-card{margin:0 22px 18px;padding:18px;border:1.5px solid var(--ink);border-radius:18px}.measurement-card>div:first-child{display:flex;align-items:end;justify-content:space-between;gap:12px}.measurement-card span{font-size:12px;font-weight:800}.measurement-card strong{font-size:34px;line-height:1}.measurement-card p{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.difference-meter{height:8px;margin-top:13px;overflow:hidden;border-radius:999px;background:#ddd}.difference-meter span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2a9d70,#e4bd3c,#dc5546);transition:width .25s ease}
.next-step-card{background:var(--blue-soft)}.next-step-card h3,.mobile-next h3{margin:6px 0;font-size:25px;letter-spacing:-.04em}.next-step-card p,.mobile-next p{margin:0;color:#4f5350;font-size:13px;line-height:1.5}
.check-button{display:block;width:calc(100% - 44px);min-height:58px;margin:0 22px 12px;border:1.5px solid var(--ink);border-radius:14px;background:var(--ink);color:#fff;font-size:16px;font-weight:900}.panel-status{min-height:34px;margin:0 22px 18px;color:var(--green);font-size:12px;font-weight:700}.panel-status.is-error{color:#a22e25}
.history-strip{padding:22px 26px 25px;border-top:2px solid var(--ink);background:#fffdf8}.history-strip header{display:flex;align-items:center;justify-content:space-between;gap:20px}.history-strip h3{margin:3px 0 0}.history-strip button{min-height:40px;padding:7px 13px;border:1px solid var(--ink);border-radius:999px;background:#fff;font-weight:750}.history-list{display:flex;gap:10px;overflow:auto;padding-top:16px}.history-list>p{color:var(--muted)}.history-entry{flex:0 0 210px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.history-entry div{display:flex;align-items:center;gap:9px}.history-entry i{width:35px;height:35px;border:1px solid var(--line);border-radius:50%}.history-entry strong{font-size:13px}.history-entry p{margin:5px 0 0;color:var(--muted);font-size:11px}
.mobile-detector{display:none}
.explanation{padding-bottom:86px}.explanation>h2{max-width:920px;margin:8px 0 28px;font-size:clamp(36px,5vw,66px);line-height:1;letter-spacing:-.055em}.explain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.explain-grid article,.stand-tip,.product-copy{border:1.5px solid var(--ink);border-radius:20px;background:#fff}.explain-grid article{padding:24px}.explain-grid article>span{font-weight:900;color:var(--green)}.explain-grid h3{margin:28px 0 7px;font-size:22px}.explain-grid p,.stand-tip p,.product-copy p{margin:0;color:#51534f;line-height:1.65}.stand-tip{display:flex;align-items:center;gap:24px;margin-top:16px;padding:23px;background:var(--green-soft)}.stand-tip strong{flex:0 0 170px;font-size:22px}.product-copy{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-top:16px;padding:30px}.product-copy h2{margin:0 0 10px;font-size:24px}.product-copy p+p{margin-top:12px}.product-copy a{color:inherit;font-weight:800}
.app-dialog{width:min(520px,calc(100% - 28px));padding:0;border:2px solid var(--ink);border-radius:22px;background:#fff;box-shadow:9px 10px 0 var(--ink)}.app-dialog::backdrop{background:rgba(20,20,18,.54)}.app-dialog form{display:grid;gap:16px;padding:22px}.app-dialog header{display:flex;align-items:flex-start;justify-content:space-between}.app-dialog h2{margin:4px 0 0;font-size:28px}.app-dialog header button{width:42px;height:42px;border:1px solid var(--ink);border-radius:50%;background:#fff;font-size:24px}.app-dialog label{display:grid;gap:7px;font-size:13px;font-weight:800}.app-dialog input:not([type=checkbox]),.app-dialog select{width:100%;min-height:48px;padding:10px 12px;border:1.5px solid var(--ink);border-radius:10px;background:#fff}.app-dialog input[type=color]{padding:4px}.check-row{display:flex!important;align-items:center;min-height:46px}.check-row input{width:22px;height:22px;accent-color:var(--green)}.primary-action,.secondary-danger{min-height:50px;padding:11px 16px;border:1.5px solid var(--ink);border-radius:12px;font-weight:900}.primary-action{background:var(--ink);color:#fff}.secondary-danger{background:#fff;color:#9a2922}.dialog-hint{margin:-8px 0 0;color:var(--muted);font-size:12px}.help-dialog section{padding-bottom:13px;border-bottom:1px solid var(--line)}.help-dialog h3{margin:0 0 5px}.help-dialog p{margin:0;color:var(--muted);line-height:1.55}
:focus-visible{outline:4px solid rgba(36,93,216,.35);outline-offset:3px}
@media(max-width:767px){
  .site-header,.tool-intro{display:none!important}.mixing-app{width:100%;margin:0 0 54px}.desktop-workstation{display:none}.mobile-detector{display:block;min-height:100svh;overflow:hidden;background:#eef3f8}.mobile-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#17243b;color:#fff}.mobile-bar>div{display:flex;align-items:center;gap:9px}.mobile-bar p{display:grid;margin:0}.mobile-bar strong{font-size:17px}.mobile-bar small{color:#bdc9db;font-size:10px}.mini-palette{display:grid;width:37px;height:37px;place-items:center;border-radius:50%;background:#e6ebf5;color:#17243b;font-size:22px}.mobile-bar button{display:grid;width:44px;height:44px;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:transparent;color:#fff;font-size:20px}
  .mobile-camera{position:relative;height:47vh;min-height:330px;max-height:520px;overflow:hidden;background-color:#dcdedb;background-image:linear-gradient(45deg,#caccC7 25%,transparent 25%),linear-gradient(-45deg,#caccC7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#caccC7 75%),linear-gradient(-45deg,transparent 75%,#caccC7 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.mobile-empty{height:100%;padding:30px}.mobile-empty strong{font-size:25px}.mobile-empty p{margin:0;color:var(--muted)}.mobile-camera .sample-marker{width:84px;height:84px}.mobile-camera .sample-marker span{bottom:-30px;font-size:10px}.mobile-quality{position:absolute;left:50%;bottom:17px;width:max-content;max-width:88%;margin:0;padding:8px 12px;border-radius:999px;background:rgba(22,31,30,.86);color:#fff;font-size:11px;font-weight:800;transform:translateX(-50%);text-align:center}
  .mobile-sheet{position:relative;z-index:2;margin-top:-18px;padding:22px 16px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -8px 24px rgba(0,0,0,.1)}.mobile-start h2{margin:0 0 7px;font-size:28px;letter-spacing:-.045em}.mobile-start>p{margin:0 0 18px;color:var(--muted);line-height:1.5}.mobile-start>.primary-action{width:100%}.mobile-change{min-height:48px;border:1.5px solid var(--ink);border-radius:12px;background:#fff;font-weight:850}
  .mobile-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-swatches div{display:grid;gap:5px;text-align:center}.mobile-swatches span{font-size:10px;font-weight:850;text-transform:uppercase}.mobile-swatches i{height:54px;border:1px solid var(--line);border-radius:12px;background:#eee}.mobile-score{margin-top:15px;padding:14px;border-radius:16px;background:#f3f5f7}.mobile-score p{display:flex;align-items:end;justify-content:space-between;margin:0}.mobile-score strong{font-size:31px}.mobile-score b{display:block;margin-top:8px;color:var(--green);font-size:12px}.mobile-next{margin:13px 0;padding:16px;border:1.5px solid var(--ink);border-radius:16px;background:var(--blue-soft)}.mobile-next h3{font-size:22px}.mobile-results .check-button{width:100%;margin:0;min-height:58px}.mobile-change{width:100%;margin-top:8px}.mobile-results .panel-status{margin:9px 0 0}.explanation>h2{font-size:40px}.explain-grid,.product-copy{grid-template-columns:1fr}.stand-tip{display:block}.stand-tip strong{display:block;margin-bottom:7px}.product-copy{gap:28px;padding:22px}
}
@media(min-width:768px) and (max-width:1050px){.desktop-grid{grid-template-columns:minmax(0,1.4fr) 350px}.camera-workspace{padding:17px}.camera-stage{min-height:520px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.difference-meter span{transition:none}}
