/* Quiet labels make the controls discoverable without changing the canvas. */
.tool{position:relative;flex-direction:column;gap:5px;height:72px;padding:9px 4px 7px}.tool svg{width:26px;height:26px}.tool-label{font-size:10px;color:#bcbcbc;letter-spacing:.05px}.tool.active .tool-label{color:#303030}.tool kbd{position:absolute;top:6px;right:8px;font:9px ui-monospace,monospace;color:#888}.tool.active kbd{color:#656565}.view-controls{display:flex;gap:9px}.view-controls .zoom{flex:1;min-width:0}.view-controls>#fitView{height:47px;width:46px;border-radius:16px}.shortcut-help{margin:12px auto 0;display:flex;justify-content:center;align-items:center;gap:12px;font-size:11px;color:#a5a5a5;min-height:25px}.shortcut-help:hover{color:#eee}kbd{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;background:#ffffff09;border-radius:5px;padding:3px 6px;white-space:nowrap}.tool kbd{background:none;padding:0}.shortcut-help kbd{font-size:10px;background:#333;padding:3px 7px}.ink-panel input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;height:18px}.ink-panel input[type=range]::-webkit-slider-runnable-track{height:5px;background:#555;border-radius:9px}.ink-panel input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;height:16px;width:16px;background:#ddd;border-radius:50%;margin-top:-5.5px}.ink-panel input[type=range]::-moz-range-track{height:5px;background:#555;border-radius:9px}.ink-panel input[type=range]::-moz-range-thumb{height:16px;width:16px;background:#ddd;border:0;border-radius:50%}
dialog{color:#eee;background:#252525;border:0;border-radius:28px;max-width:760px;width:calc(100vw - 40px);max-height:calc(100dvh - 40px);padding:30px;box-shadow:0 30px 100px #0008;overflow:auto}dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#999;margin-bottom:12px}.dialog-top h1{font-size:26px;font-weight:550;letter-spacing:-.8px;margin:0}.dialog-top p{font-size:12px;color:#999;margin:9px 0 0}.dialog-top button{margin-top:-7px;margin-right:-7px}.shortcut-groups{display:grid;grid-template-columns:1fr 1fr;gap:22px 35px}.shortcut-groups section{min-width:0}.shortcut-groups h2{font-size:10px;letter-spacing:1.5px;margin-bottom:8px;color:#8f8f8f}.shortcut-row{display:flex;justify-content:space-between;gap:9px;align-items:center;min-height:29px;font-size:11px;color:#d1d1d1}.shortcut-row kbd{font-size:10px;color:#aaa}.dialog-note{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#999;margin-top:24px}.dialog-note kbd{font-size:9px}
@media(max-height:850px){.tool{height:52px;gap:3px;padding:5px 3px}.tool svg{width:22px;height:22px}.tool-label{font-size:9px}.tool kbd{font-size:8px;top:5px;right:6px}.ink-panel{margin-top:14px;padding:10px 16px}.swatches{margin-bottom:6px}.layers-section{margin-top:10px}.history{margin-top:8px}.view-controls>#fitView{height:42px}.shortcut-help{margin-top:7px;font-size:10px}footer{padding-top:10px}.cabinet header{margin-bottom:12px}.export{height:44px;margin-top:11px}.zoom{height:42px}}
@media(max-width:850px){.tool{height:58px}.tool svg{width:23px;height:23px}.tool-label{font-size:9px}.tool kbd{font-size:8px;top:4px;right:5px}.shortcut-groups{gap:22px}}@media(max-width:550px){.tool{height:49px;gap:3px}.tool-label{font-size:8px}.tool svg{width:20px;height:20px}.tool kbd{font-size:7px;top:3px;right:4px}.view-controls{gap:5px}.view-controls .zoom .icon{width:26px}.view-controls>#fitView{width:29px;border-radius:10px}.view-controls>#fitView svg{width:18px}.shortcut-help{font-size:9px;gap:5px}.shortcut-groups{grid-template-columns:1fr}dialog{padding:24px}.dialog-top h1{font-size:23px}.dialog-note{flex-direction:column}.shortcut-row{min-height:31px}}
@media(max-height:800px){.tool{height:46px}.tools{gap:6px}.ink-panel{margin-top:10px;padding:8px 16px}.cabinet header{margin-bottom:9px}.layers-section{margin-top:7px}.swatches{margin-bottom:4px}.history{margin-top:6px}.shortcut-help{margin-top:6px}}
@media(max-height:800px) and (min-width:551px){dialog{padding:24px 28px}.dialog-top{margin-bottom:15px}.dialog-top h1{font-size:24px}.shortcut-groups{gap:14px 32px}.shortcut-row{min-height:24px}.shortcut-groups h2{margin-bottom:4px}.dialog-note{margin-top:16px}}
