
*{box-sizing:border-box}body{margin:0;background:#f4f7fb;color:#142439;font:15px system-ui,sans-serif}header{background:#142439;color:white;padding:18px max(20px,calc((100vw - 1000px)/2));display:flex;justify-content:space-between;align-items:center;gap:10px}header strong{letter-spacing:.06em}header small{color:#a7c2de}main{max-width:1000px;margin:auto;padding:24px 16px}h1{font-size:clamp(26px,5vw,42px);margin:16px 0 8px;letter-spacing:-.035em}p{line-height:1.6;color:#526176}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}button{font:inherit;cursor:pointer;border:1px solid #c5d1e0;border-radius:9px;background:white;color:#142439;padding:12px}button:focus-visible{outline:3px solid #7da9fb}nav button{text-align:left;font-weight:650;min-height:75px}nav button[aria-selected=true]{background:#1857b9;color:white;border-color:#1857b9}nav span{display:block;font-size:12px;font-weight:400;margin-top:5px}section{background:white;border:1px solid #dbe3ee;border-radius:14px;padding:20px;box-shadow:0 6px 18px #14243909}h2{margin:0 0 12px;font-size:23px}.stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.stat{flex:1;min-width:100px;background:#edf3fb;border-radius:9px;padding:12px}.stat b{display:block;font-size:23px}.stat small{color:#526176}.primary{background:#1857b9;color:white;border-color:#1857b9}.area{border:2px dashed #a8bbd1;border-radius:12px;background:#f5f8fc;min-height:145px;padding:20px;display:grid;place-content:center;text-align:center;user-select:none;outline-offset:4px}.keys{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;min-height:35px}.key{padding:8px 10px;border:1px solid #cbd7e6;border-radius:6px;background:#eaf1fb;font:12px monospace}.key.down{background:#137b5d;color:white}.swatches{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.swatches button{width:64px;height:50px;border:2px solid #9daec3}#pixelOverlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:end center;padding:20px;cursor:pointer}#pixelOverlay[hidden]{display:none}#pixelOverlay button{opacity:.9}#touchgrid{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;touch-action:none;user-select:none;margin:12px 0}#touchgrid div{aspect-ratio:1;background:#e6eef9;border-radius:3px;pointer-events:none}#touchgrid div.hit{background:#16805d}footer{padding:20px 0;color:#526176;font-size:12px} [hidden]{display:none!important}@media(max-width:600px){nav{grid-template-columns:repeat(2,1fr)}section{padding:14px}header{padding:14px 16px}#touchgrid{gap:2px}}

.keyboard-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.keyboard-controls label{display:grid;gap:6px;font-weight:650;flex:1;min-width:200px}.keyboard-controls select{font:inherit;color:#142439;background:white;border:1px solid #c5d1e0;border-radius:9px;padding:11px}.keyboard-legend{display:flex;gap:15px;flex-wrap:wrap;margin:14px 0;font-size:12px;color:#526176}.keyboard-legend span{display:flex;align-items:center;gap:6px}.legend-dot{width:13px;height:13px;border-radius:3px;background:#dce5f1;border:1px solid #aabbd0}.legend-dot.held{background:#2563eb;border-color:#2563eb}.legend-dot.tested{background:#16805d;border-color:#16805d}.keyboard-scroll{overflow-x:auto;padding:12px;background:#e8eef6;border:2px solid #cad6e5;border-radius:12px;outline-offset:3px;user-select:none}.keyboard-scroll:focus{outline:3px solid #2563eb}.keyboard-board{display:flex;align-items:start;gap:12px;width:max-content;margin:auto;--unit:36px;--gap:4px}.keygroup{display:grid;gap:var(--gap);grid-auto-rows:var(--unit)}.visual-key{display:flex;justify-content:center;align-items:center;text-align:center;background:#fff;border:1px solid #bac9db;border-bottom:3px solid #a6b8ce;border-radius:5px;color:#24364d;font-size:11px;font-weight:650;line-height:1.1;min-width:0;white-space:nowrap}.visual-key.tested{background:#16805d;border-color:#116b4d;color:white}.visual-key.held{background:#2563eb;border-color:#184fbf;color:white;transform:translateY(1px)}.keyboard-status{font-size:13px;font-weight:600;margin:9px 0;color:#526176}.keyboard-status.running{color:#1857b9}.keyboard-progress{height:7px;background:#e1e9f3;border-radius:8px;overflow:hidden}.keyboard-progress div{height:100%;background:#16805d;width:0%;transition:width .15s}.keyboard-note{font-size:12px}.keyboard-board .keygroup.main{grid-template-columns:repeat(60,10px);column-gap:0}.keyboard-board .keygroup.main .visual-key{margin-right:4px}.keyboard-board .keygroup.nav{grid-template-columns:repeat(3,36px)}.keyboard-board .keygroup.num{grid-template-columns:repeat(4,36px)}@media(max-width:600px){.keyboard-scroll{padding:8px}.keyboard-controls button{flex:1}}

:root{--ink:#18324a;--accent:#1760a7;--line:#dce5ed}body{background:#f7f9fc;color:var(--ink)}.shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}#sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:#fff;border-right:1px solid var(--line);padding:22px 14px;display:flex;flex-direction:column;gap:7px}.brand{display:flex;gap:10px;align-items:center;padding:4px 3px 24px}.brandmark{background:#174c80;color:white;width:35px;height:35px;border-radius:9px;display:grid;place-items:center;font-size:21px;font-weight:800}.brand strong{font-size:13px;letter-spacing:.07em}.brand small{display:block;font-size:11px;color:#728297;margin-top:4px}.sidecaption{font-size:10px;font-weight:750;color:#77879b;letter-spacing:.11em;margin:12px 8px 4px}.side-link,.side-sub button{width:100%;text-align:left;border:0;background:none;padding:10px;border-radius:6px;font-size:13px}.side-link span{float:right}.side-link[aria-selected=true],.side-sub button[aria-selected=true]{background:#e6f0fa;color:#15599b;font-weight:700;box-shadow:inset 3px 0 #2673bd}.category summary{cursor:pointer;padding:10px 8px;font-size:13px;font-weight:650;list-style:none;display:flex;align-items:center;justify-content:space-between}.category summary::after{content:'›';color:#789;transition:transform .15s}.category[open] summary::after{transform:rotate(90deg)}.side-sub{display:grid;gap:2px;padding:2px 0 4px 10px}.planned .side-sub span{padding:7px 10px;font-size:12px;color:#65778a}.planned .side-sub small{font-size:10px;color:#77879b;padding:4px 10px}.sidebottom{margin-top:auto;padding:20px 8px 0;font-size:12px;color:#526176;line-height:1.8}.sidebottom small{padding-left:14px}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#16805d;margin-right:6px}.workspace{min-width:0}.topbar{height:58px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 28px}.crumb,.lang{font-size:12px;color:#63758a}.crumb span{margin:0 8px;color:#a1aebc}#menuToggle{display:none;padding:7px 10px}.workspace main{max-width:1400px;padding:25px 28px;margin:auto}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;color:#1760a7}.intro h1{font-size:clamp(27px,3vw,40px);margin:6px 0 4px}.intro p{margin:0 0 20px}.adslot{display:grid;place-content:center;gap:5px;text-align:center;height:88px;border:1px dashed #c8d4e0;background:#eff3f7;border-radius:6px;margin-bottom:20px;color:#738296;font-size:12px}.adslot small{letter-spacing:.1em;font-size:9px}section{box-shadow:none;border-radius:10px;padding:22px}section h2{font-size:19px}.keyboard-scroll{container-type:inline-size;background:#f2f6fa;border:1px solid #c9d8e7;padding:12px}.keyboard-board{--unit:clamp(29px,calc((100cqw - 105px)/22),50px);--gap:4px;gap:12px}.keyboard-board:has(.keygroup.nav):not(:has(.keygroup.num)){--unit:clamp(29px,calc((100cqw - 81px)/18),50px)}.keyboard-board:not(:has(.keygroup.nav)){--unit:clamp(29px,calc((100cqw - 61px)/15),50px)}.keyboard-board .keygroup.main{grid-template-columns:repeat(60,calc((var(--unit) + 4px)/4))}.keyboard-board .keygroup.nav{grid-template-columns:repeat(3,var(--unit))}.keyboard-board .keygroup.num{grid-template-columns:repeat(4,var(--unit))}.visual-key{font-size:clamp(9px,1cqw,12px);border-bottom-width:2px;border-radius:6px}.toolcards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.toolcards button{text-align:left;padding:18px}.toolcards span{display:block;color:#65778a;font-size:12px;margin-top:5px}.plannednote{font-size:13px}#shade{position:fixed;inset:0;background:#152c4b66;z-index:20}footer{font-size:11px}@media(max-width:760px){.shell{display:block}#sidebar{position:fixed;left:0;top:0;bottom:0;height:100dvh;width:245px;z-index:21;transform:translateX(-105%);transition:transform .2s}.menu-open #sidebar{transform:translateX(0)}#menuToggle{display:block}.topbar{padding:0 14px}.crumb{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lang{white-space:nowrap}.workspace main{padding:20px 12px}.adslot{height:65px}section{padding:14px}.keyboard-board{--unit:36px!important}.toolcards{grid-template-columns:1fr}.keyboard-scroll{padding:8px}}

/* Toolsiana brand identity */
:root{--ink:#0F172A;--accent:#2563EB;--line:#dce5ed}body{background:#F8FAFC}.brandmark{background:transparent;flex-shrink:0}.brandmark img{display:block;width:35px;height:35px}.brand strong{font-size:20px;letter-spacing:-.05em;text-transform:lowercase}.brand strong span{color:#2563EB}.primary{background:#2563EB;border-color:#2563EB}.eyebrow,.side-link[aria-selected=true],.side-sub button[aria-selected=true]{color:#2563EB}.side-link[aria-selected=true],.side-sub button[aria-selected=true]{box-shadow:inset 3px 0 #2563EB}.visual-key.tested,.legend-dot.tested,.keyboard-progress div,#touchgrid div.hit{background:#16A34A}.visual-key.tested{border-color:#15803D}.visual-key.held{background:#2563EB;border-color:#184fbf}

/* V0.5: genuine page links, preserving V0.4 styling */
.side-link,.side-sub a{display:block;width:100%;text-align:left;border:0;background:none;padding:10px;border-radius:6px;font-size:13px;color:var(--ink);text-decoration:none}.side-link[aria-current=page],.side-sub a[aria-current=page]{background:#e6f0fa;color:#2563EB;font-weight:700;box-shadow:inset 3px 0 #2563EB}.toolcards a{display:block;text-align:left;padding:18px;border:1px solid #c5d1e0;border-radius:9px;color:var(--ink);background:white;text-decoration:none}.side-link:hover,.side-sub a:hover,.toolcards a:hover{background:#edf3fb}.side-link:focus-visible,.side-sub a:focus-visible,.toolcards a:focus-visible{outline:3px solid #7da9fb;outline-offset:2px}

.legal-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}.legal-footer a{color:#2563eb;text-decoration:underline}.legal-page{max-width:850px;margin:24px auto;padding:0 16px}.legal-page article{background:white;border:1px solid #dce5ed;border-radius:12px;padding:clamp(16px,4vw,36px);line-height:1.7}.legal-page h1{font-size:2rem}.legal-page h2{font-size:1.2rem;margin-top:24px}.legal-page p{overflow-wrap:anywhere}.legal-draft{background:#fff7ed;padding:10px;border-radius:6px;font-size:14px}
