/* Shared HanCutTool navigation, language and theme, without affecting image pixels. */
html[data-hct-layout="retouch"] body{margin:0}
html[data-hct-layout="retouch"] .retouch-footer-nav{display:flex;gap:14px;font-size:10px;color:var(--hct-muted)}
html[data-hct-layout="retouch"] .brand{font-size:30px;letter-spacing:-.06em}
html[data-hct-layout="retouch"] footer .brand{font-size:23px}
html[data-hct-layout="retouch"] footer>.brand span{font-size:9px}
html[data-hct-layout="retouch"][data-theme="dark"]{--bg:#101711;--ink:#e2eadc;--muted:#a6b29b;--line:#34432e;--accent:#e6a58a;--green:#567b49}
html[data-hct-layout="retouch"][data-theme="dark"] .studio,html[data-hct-layout="retouch"][data-theme="dark"] dialog{background:#192119;color:#e2eadc;border-color:#354530}
html[data-hct-layout="retouch"][data-theme="dark"] .workspace{background:#202b1f}
html[data-hct-layout="retouch"][data-theme="dark"] .workspace-bar,html[data-hct-layout="retouch"][data-theme="dark"] .workspace-footer{border-color:#394831}
html[data-hct-layout="retouch"][data-theme="dark"] .dropzone{background-image:radial-gradient(#394830 1px,transparent 1px)}
html[data-hct-layout="retouch"][data-theme="dark"] .image-stage{background-color:#283523;background-image:radial-gradient(#415039 1px,transparent 1px)}
html[data-hct-layout="retouch"][data-theme="dark"] .tool-tabs,html[data-hct-layout="retouch"][data-theme="dark"] .help-note{background:#283425}
html[data-hct-layout="retouch"][data-theme="dark"] .tool-tabs button.active{background:#45533d;color:#f2f5ea}
html[data-hct-layout="retouch"][data-theme="dark"] .slider-group output,html[data-hct-layout="retouch"][data-theme="dark"] .editor-toolbar button,html[data-hct-layout="retouch"][data-theme="dark"] select{background:#273323;color:#c2d1b6;border-color:#4a5a40}
html[data-hct-layout="retouch"][data-theme="dark"] .presets button{border-color:#4d5c43;color:#c0cbb4}
html[data-hct-layout="retouch"][data-theme="dark"] .presets .selected,html[data-hct-layout="retouch"][data-theme="dark"] .brush-actions button.selected,html[data-hct-layout="retouch"][data-theme="dark"] .beta-note>span{background:#3d5031;color:#e1ebd5;border-color:#779361}
html[data-hct-layout="retouch"][data-theme="dark"] .busy{background:#192a20dc}
html[data-hct-layout="retouch"][data-theme="dark"] .download-area{border-color:#3c4b34}
html[data-hct-layout="retouch"][data-theme="dark"] :is(.intro p,.empty p,.quiet,.panel-explainer,.healing-note,.slider-group p,.tool-description p,.principles p,.canvas-bottom,.header-note,.eyebrow,.reset,.load-hint,.workspace-footer){color:#adbba2}
html[lang="en"] .header .brand{font-size:26px;letter-spacing:-.04em}
html[lang="en"] .intro h1{font-size:38px;letter-spacing:-.04em}
html[lang="en"] .editor-toolbar button{font-size:10px;padding:0 7px}
html[lang="en"] .tool-tabs button{font-size:10px}
@media(max-width:680px){html[data-hct-layout="retouch"] .header .brand{font-size:25px}html[lang="en"] .header .brand{font-size:21px}html[lang="en"] .header .brand span{display:none}html[lang="en"] .intro h1{font-size:28px}html[lang="en"] .editor-toolbar button{font-size:9px;padding:0 5px}html[lang="en"] .history-tools button{font-size:18px}html[lang="en"] #zoom-fit{min-width:42px}html[data-hct-layout="retouch"] footer{flex-wrap:wrap}html[data-hct-layout="retouch"] .retouch-footer-nav{width:100%;justify-content:center}html[lang="en"] footer .brand{font-size:19px}html[lang="en"] footer .brand span{display:none}}
