:root{color-scheme:light dark;--bg:#fbfbfa;--surface:#fff;--border:#d9d6d0;--text:#1b1a17;--text-muted:#5c5850;--accent:#8a4b1f;--accent-text:#fff;--focus:#1f6feb;--radius:10px;--measure:62rem;--font-sans:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace}@media (prefers-color-scheme:dark){:root{--bg:#17181a;--surface:#202225;--border:#3a3d42;--text:#ececec;--text-muted:#adb0b5;--accent:#f0a868;--accent-text:#1b1a17;--focus:#79b8ff}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);flex-direction:column;min-height:100vh;margin:0;font-size:1rem;line-height:1.6;display:flex}.wrap{width:100%;max-width:var(--measure);margin-inline:auto;padding-inline:1rem}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}a{color:inherit;text-underline-offset:.2em}.skip-link{z-index:10;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.5rem .875rem;transition:top .15s;position:absolute;top:-4rem;left:.5rem}.skip-link:focus{top:.5rem}.site-header{border-bottom:1px solid var(--border);background:var(--surface)}.site-header .wrap{flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;padding-block:.875rem;display:flex}.site-header a.brand{font-size:1.05rem;font-weight:650;text-decoration:none}.site-header .tagline{color:var(--text-muted);font-size:.875rem}main{flex:1;padding-block:1.75rem 3rem}.site-footer{border-top:1px solid var(--border);color:var(--text-muted);font-size:.875rem}.site-footer .wrap{flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;padding-block:1.25rem;display:flex}h1{margin:0 0 .35rem;font-size:clamp(1.5rem,1.2rem + 1.4vw,2rem);line-height:1.2}h2{margin:2rem 0 .75rem;font-size:1.125rem}.lead{color:var(--text-muted);max-width:48rem;margin:0 0 1.5rem}.back-link{color:var(--text-muted);margin-bottom:.75rem;font-size:.9375rem;display:inline-block}.tool-list{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);height:100%;padding:.875rem 1rem;text-decoration:none;display:block}.tool-card:hover{border-color:var(--accent)}.tool-card .name{margin-bottom:.2rem;font-weight:620}.tool-card .desc{color:var(--text-muted);font-size:.9375rem;line-height:1.45}[hidden]{display:none!important}.field{margin-bottom:1rem;display:block}.field>label,label.field-label{margin-bottom:.3rem;font-size:.9375rem;font-weight:600;display:block}.hint{color:var(--text-muted);font-size:.875rem}input,select,textarea{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.6rem .7rem}button{font:inherit;color:var(--accent-text);background:var(--accent);border-radius:var(--radius);cursor:pointer;border:1px solid #0000;min-height:2.75rem;padding:.6rem 1rem;font-weight:600}button:hover{filter:brightness(1.08)}button.secondary{color:var(--text);background:var(--surface);border-color:var(--border)}.button-row{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}output,.result{font-family:var(--font-mono);word-break:break-all;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.7rem;font-size:1rem;display:block}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
