@import url("studio.css");
html.tool{--bg:var(--paper);--accent:var(--accent-colour,#d7ed9a)}
.tool body{font-family:var(--ui)}
.tool :is(button,select,textarea,input[type=text],input[type=number],dialog){border-radius:var(--control);font-family:var(--ui)}
.tool :is(button,select,textarea,input){accent-color:#727e47}
.tool :is(button,select):focus-visible{outline:2px solid #86994a;outline-offset:2px}
.tool button:disabled{opacity:.5}
.tool.flex-type body,.tool.unit-press body,.tool.wordfall body{background:var(--paper);color:var(--ink)}
.flex-type header,.unit-press header,.spin-type .masthead,.grid-atlas header{display:none}
.flex-type aside{background:var(--surface);border-color:var(--line)}
.flex-type .stage-wrap,.flex-type dialog,.unit-press .sheet,.unit-press .controls,.unit-press .gallery,.spin-type .stage canvas,.spin-type .inspector,.soft-type .controls,.grid-atlas main{border-radius:var(--round)}
.flex-type .workspace{padding:clamp(12px,2vw,28px)}.flex-type main{min-height:100dvh}.flex-type aside section{border-bottom:1px solid var(--line);padding-bottom:14px}
.unit-press main{padding-top:10px}.unit-press .controls{padding:16px;background:var(--surface);border:1px solid var(--line);margin:10px 0}.unit-press .gallery{overflow:hidden}.unit-press :is(button,select,input){border-color:#bfc1b5}
.spin-type,.spin-type body{background:var(--paper);color:var(--ink);color-scheme:light}.spin-type .workspace{gap:14px;padding:14px}.spin-type .stage{padding:12px;top:10px}.spin-type .stage canvas{background:#101010;margin:12px 0}
.spin-type .inspector{background:#242521;color:#f5f5ee;color-scheme:dark;padding:20px;border:0}.spin-type :is(.stage-caption,.stage-foot,.page-footer){color:var(--quiet)}.spin-type .stage-caption .dot{background:#69744f}
.wordfall :is(nav,.pad){gap:5px}.wordfall nav :is(button,select){border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px 9px}.wordfall .metrics output{border:1px solid var(--line);background:var(--surface);border-radius:8px}
.soft-type .controls{background:rgba(36,37,33,.95);color:white;padding:12px;max-height:45dvh;overflow:auto}.soft-type .controls :is(button,select,textarea){background:#373933;color:white;border:1px solid #62645b}.soft-type .controls .hint,.soft-type .controls label{color:#e4e6dc}.soft-type .viewport-nav,.soft-type #error,.soft-type #showUI{border-radius:14px}
.letter-whacker .machine{border:0}.letter-whacker .hud button,.grid-atlas button,.grid-atlas #tag{border:1px solid #616259;border-radius:var(--control);background:#292a26;color:#fff}.letter-whacker .hud button[aria-pressed=true],.grid-atlas button:active{background:var(--accent);color:#242521}
.grid-atlas footer{border:0;background:#20211f}.grid-atlas main{border-radius:0 0 16px 16px}
@media(max-width:720px){.spin-type .workspace{padding:7px}.spin-type .stage{padding:2px}.spin-type .inspector{padding:14px}.soft-type .controls{max-height:37dvh}}

.tool input:not([type]){border-radius:var(--control)}
