/* Interface-only color tokens. Tool/category colors and exported media stay independent. */
:root {
  --bg:#f7f6f0; --panel:#fffefa; --ink:#24332b; --muted:#596457;
  --line:#dedfd5; --line-strong:#aebca0;
  --surface:#fbfaf5; --input-bg:#fffefa; --surface-soft:#f0f1e7;
  --surface-selected:#e8eedb; --surface-hover:#eff2e5;
  --accent:#c8dda8; --accent-hover:#b8d294; --accent-border:#b2c995;
  --accent-ink:#2c4126; --accent-strong:#466331;
  --decor:#839b65; --decor-soft:#c8dda8; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#4e6838;
  --focus:var(--accent-strong); --shadow:0 20px 70px rgb(var(--shade-rgb) / .12);
  --sidebar:0px; --radius:24px;
  --border:var(--line); --inverse-ink:#fffefa; --danger:#a33f36; --error-bg:#fff1ec; --error-border:#e3b8ae;
  color-scheme:light;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); background:var(--bg); font-synthesis:none; text-rendering:optimizeLegibility;
}
:root[data-theme="blue"] {
  --bg:#f5f6f4; --panel:#fffefa; --ink:#26343a; --muted:#59666d;
  --line:#dce0df; --line-strong:#a8bfcc;
  --surface:#fafbf9; --input-bg:#fdfefd; --surface-soft:#edf1f1;
  --surface-selected:#e2edf2; --surface-hover:#eaf1f3;
  --accent:#b8d1e7; --accent-hover:#a5c4df; --accent-border:#9cb8d0;
  --accent-ink:#234057; --accent-strong:#365d77;
  --decor:#779ab2; --decor-soft:#b8d1e7; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#365d77;
}
:root[data-theme="lavender"] {
  --bg:#f7f5f2; --panel:#fffefa; --ink:#2f3035; --muted:#66616b;
  --line:#e2deda; --line-strong:#c1b3cb;
  --surface:#fcfaf7; --input-bg:#fffdfb; --surface-soft:#f2edf2;
  --surface-selected:#eee5f4; --surface-hover:#f1eaf5;
  --accent:#cab0fa; --accent-hover:#bea0f0; --accent-border:#b69ad9;
  --accent-ink:#30233f; --accent-strong:#70518e;
  --decor:#a28abd; --decor-soft:#cab0fa; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#70518e;
}
:root[data-theme="peach"] {
  --bg:#faf6ef; --panel:#fffefa; --ink:#3a332b; --muted:#706251;
  --line:#e7dfd3; --line-strong:#ccb69b;
  --surface:#fdfaf5; --input-bg:#fffdf9; --surface-soft:#f5eee3;
  --surface-selected:#f4e6d5; --surface-hover:#f6eadc;
  --accent:#edc49d; --accent-hover:#e6b587; --accent-border:#d2ab82;
  --accent-ink:#50321a; --accent-strong:#80522b;
  --decor:#bb9470; --decor-soft:#edc49d; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#80522b;
}
:root[data-theme="rose"] {
  --bg:#f9f5f2; --panel:#fffefa; --ink:#3a3034; --muted:#735e68;
  --line:#e7dedd; --line-strong:#ccadb9;
  --surface:#fdfaf8; --input-bg:#fffcfb; --surface-soft:#f5ecee;
  --surface-selected:#f3e3e9; --surface-hover:#f5e8ed;
  --accent:#edbfd0; --accent-hover:#e3aac0; --accent-border:#ce9fb1;
  --accent-ink:#562b40; --accent-strong:#8b4a60;
  --decor:#b98a9d; --decor-soft:#edbfd0; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#8b4a60;
}
:root[data-theme="stone"] {
  --bg:#f6f5ef; --panel:#fffefa; --ink:#32362f; --muted:#62665b;
  --line:#dedfd6; --line-strong:#b9c0ac;
  --surface:#fafaf5; --input-bg:#fdfdf8; --surface-soft:#efefe6;
  --surface-selected:#e7ebde; --surface-hover:#ecefe3;
  --accent:#d1d6c9; --accent-hover:#c3ccba; --accent-border:#b5bfaa;
  --accent-ink:#35432b; --accent-strong:#5b654f;
  --decor:#939d83; --decor-soft:#d1d6c9; --shade-rgb:28 39 32;
  --icon-chip:#fcf0e1; --icon-ink:#5b654f;
}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--accent-strong);outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:1px}svg{display:block}button svg{flex-shrink:0}button{border:0;background:none}.skip-link{position:fixed;top:10px;left:250px;background:var(--ink);color:var(--inverse-ink);padding:10px 20px;z-index:200;transform:translateY(-200%);border-radius:8px}.skip-link:focus{transform:translateY(0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);border-right:1px solid var(--line);padding:36px 20px 22px;background:var(--surface);display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 11px;text-decoration:none;font-size:28px;line-height:1;font-weight:760;letter-spacing:-1.5px}.brand svg{width:30px;height:31px}.brand-dot,.mobile-brand span,.dialog-brand span{color:var(--accent-strong)}.nav-label{font-size:10px;font-weight:650;letter-spacing:1.55px;color:var(--muted);margin:49px 13px 15px}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav button{min-height:45px;padding:0 13px;display:flex;align-items:center;gap:11px;text-align:left;border-radius:9px;font-size:13px;font-weight:560;color:var(--muted);transition:background .15s,color .15s}.side-nav button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.side-nav button.active{color:var(--ink);background:var(--surface-selected);font-weight:650}.side-nav button:hover{background:var(--surface-hover);color:var(--ink)}.side-nav .nav-count{font-size:10px;margin-left:auto;opacity:1}.sidebar-bottom{margin-top:auto;padding-top:45px}.small-note{background:var(--surface-soft);border:1px solid var(--line);border-radius:11px;padding:17px 14px 16px;margin-bottom:22px}.note-spark{font-size:30px;line-height:1.1;color:var(--accent-strong)}.small-note p{font-size:12px;font-weight:600;line-height:1.6;margin:12px 0 8px}.small-note>span:last-child{font-size:10px;color:var(--muted)}.nav-info{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:9px 12px;font-size:12px;color:var(--muted)}.nav-info svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6}.nav-info:hover{color:var(--ink)}.main-shell{margin-left:var(--sidebar)}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;margin:0 48px;border-bottom:1px solid var(--line)}.topbar-label{font-size:9px;font-weight:650;letter-spacing:1.65px;color:var(--muted)}.privacy-pill{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;padding:7px 0 7px 10px}.privacy-pill svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--decor);flex-shrink:0}.mobile-brand{display:none}main{max-width:1510px;margin:0 auto;padding:0 48px}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:43px 0 48px;min-height:353px}.hero-copy{position:relative;min-width:0;z-index:1}.eyebrow{font-size:9px;letter-spacing:1.55px;font-weight:650;color:var(--muted);display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;background:var(--decor);border-radius:50%}.hero h1{position:relative;font-size:clamp(38px,4vw,61px);font-weight:650;line-height:1.11;letter-spacing:-2.9px;margin:16px 0 24px;white-space:nowrap}.hero h1>span{color:var(--accent-strong)}.title-underline{position:absolute;bottom:-9px;left:0;width:89%;height:12px;stroke:var(--decor-soft);fill:none;stroke-width:3;stroke-linecap:round}.hero-copy>p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 20px;letter-spacing:-.12px}.hero-benefits{display:flex;align-items:center;gap:17px;font-size:10px;font-weight:520;color:var(--muted)}.hero-benefits span{display:flex;align-items:center;gap:4px;white-space:nowrap}.hero-benefits svg{width:13px;height:13px;fill:none;stroke:var(--accent-strong);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hero-art{width:40%;max-width:420px;min-width:280px;position:relative;align-self:center;margin-right:-8px}.hero-art>svg{width:100%;overflow:visible}.art-caption{position:absolute;right:23px;bottom:-11px;font-family:Georgia,serif;font-style:italic;font-size:12px;color:var(--muted);transform:rotate(-5deg)}.tools-section{scroll-margin-top:24px}.tools-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.tools-heading h2{font-size:21px;font-weight:650;letter-spacing:-.65px;margin:0 0 4px}.tools-heading p{font-size:12px;color:var(--muted);margin:0}.tool-count{font-size:10px;font-weight:550;border:1px solid var(--line);padding:5px 10px;border-radius:6px;color:var(--muted);white-space:nowrap;background:var(--surface)}.discovery-bar{display:flex;gap:18px;align-items:center;margin-bottom:23px}.search-box{position:relative;flex:1;min-width:200px}.search-box>svg{position:absolute;left:14px;top:14px;width:17px;height:17px;stroke:var(--muted);fill:none;stroke-width:1.8;stroke-linecap:round}.search-box input{height:45px;border:1px solid var(--line);background:var(--input-bg);border-radius:9px;width:100%;padding:0 44px 0 40px;font-size:12px;color:var(--ink);appearance:none}.search-box input::placeholder{color:var(--muted)}.search-box input::-webkit-search-cancel-button{cursor:pointer;margin-right:0}.search-box input:not(:placeholder-shown)+kbd{display:none}.search-box kbd{position:absolute;right:13px;top:11px;width:22px;height:23px;display:flex;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:4px;background:var(--surface-soft);font-size:11px;color:var(--muted)}.category-tabs{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.category-tabs button{font-size:11px;font-weight:550;white-space:nowrap;padding:9px 13px;border-radius:7px;color:var(--muted);transition:background .15s}.category-tabs button.active{background:var(--ink);color:var(--inverse-ink)}.category-tabs button:not(.active):hover{background:var(--surface-hover)}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px}.tool-card{position:relative;padding:22px 20px 19px;text-align:left;border-radius:12px;border:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;min-height:192px;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden}.tool-card:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:0 8px 20px rgb(var(--shade-rgb) / .04)}.card-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:18px}.tool-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:11px;flex-shrink:0}.tool-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.tool-icon.pdf{background:#fff0eb;color:#c88672}.tool-icon.images{background:#edf1ff;color:#8498d2}.tool-icon.text{background:#f0edf9;color:#9d89c1}.tool-icon.everyday{background:#eff5df;color:#879e52}.card-badge{padding:3px 7px;border-radius:4px;background:var(--surface-soft);font-size:8px;letter-spacing:.2px;font-weight:600;color:var(--muted)}.card-title{font-size:15px;letter-spacing:-.35px;font-weight:650;line-height:1.4;padding-right:15px}.card-description{font-size:11px;color:var(--muted);line-height:1.7;margin-top:6px;max-width:210px}.card-arrow{position:absolute;right:19px;bottom:20px;width:14px;height:14px;color:var(--muted);transition:transform .18s}.tool-card:hover .card-arrow{transform:translate(2px,-2px);color:var(--accent-strong)}.card-arrow svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.6}.empty-state{padding:60px 20px;text-align:center;background:var(--panel);border:1px dashed var(--line);border-radius:12px}.empty-state>span{font-size:48px;line-height:1}.empty-state h3{font-size:20px;margin:7px 0}.empty-state p{color:var(--muted);margin:0 0 20px}.trust-strip{display:flex;align-items:center;gap:15px;margin:40px 0 38px;padding:23px 26px;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}.trust-icon{width:36px;flex-shrink:0}.trust-icon svg{width:29px;height:29px;stroke:var(--decor);stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.trust-strip h2{font-size:12px;font-weight:600;letter-spacing:-.1px;margin:0 0 3px}.trust-strip p{font-size:10px;color:var(--muted);margin:0}.trust-strip>a{margin-left:auto;white-space:nowrap;font-size:10px;font-weight:500;color:var(--muted);padding:8px 0 8px 12px}.trust-strip>a span{margin-left:9px}.footer{margin:0 48px;padding:23px 0 29px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:700;letter-spacing:-.6px}.footer-tagline{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:14px}.footer>div{display:flex;gap:20px;align-items:center}.footer button,.footer-free{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted)}.footer button{padding:3px 0}.footer-free{display:flex;align-items:center;gap:6px}.footer-free .status-dot{height:5px;width:5px}dialog{padding:0;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);width:min(1100px,calc(100vw - 64px));max-height:calc(100dvh - 64px);color:var(--ink);background:var(--surface);overflow-y:auto}dialog::backdrop{background:rgb(var(--shade-rgb) / .44);backdrop-filter:blur(5px)}body.modal-open{overflow:hidden}.dialog-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:16px 28px}.dialog-brand{font-size:22px;font-weight:750;letter-spacing:-1px;text-decoration:none}.close-button{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:7px 9px;color:var(--muted);font-size:10px}.close-button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.7}.dialog-heading{display:flex;align-items:center;gap:18px;padding:29px 32px 24px}.dialog-heading>.tool-icon{width:56px;height:56px;border-radius:14px}.dialog-heading>.tool-icon svg{width:28px;height:28px}.dialog-heading .eyebrow{font-size:8px;margin-bottom:3px}.dialog-heading h2{font-size:27px;letter-spacing:-.9px;margin:0;font-weight:650}.dialog-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.workbench-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:25px;padding:0 32px 32px}.workbench{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0}.tool-help{padding:13px 0;color:var(--muted)}.tool-help h3{font-size:12px;color:var(--ink);margin:0 0 10px;font-weight:650}.tool-help ol{padding-left:17px;margin:0 0 24px;display:grid;gap:9px;font-size:11px;line-height:1.7}.tool-help li{padding-left:3px}.tool-help p{font-size:11px;line-height:1.8;margin:0 0 14px}.help-privacy{padding-top:17px;border-top:1px solid var(--line)}.help-privacy>svg{width:18px;height:18px;stroke:var(--decor);fill:none;stroke-width:1.6;margin-bottom:8px}.dialog-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px;padding:15px;color:var(--muted);font-size:10px}.dialog-footer svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.5}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field>label,.field-label{font-size:12px;font-weight:600;color:var(--ink)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-grid>.field{margin-bottom:12px}.input,.select,.textarea,.workbench input[type=number],.workbench input[type=text],.workbench input[type=url],.workbench select,.workbench textarea{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--input-bg);color:var(--ink);width:100%;font-size:13px;min-width:0}.workbench textarea,.textarea{min-height:190px;resize:vertical;line-height:1.65;display:block}.workbench textarea.code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.textarea.output{background:var(--surface-soft)}.input::placeholder,.textarea::placeholder{color:var(--muted)}.hint{font-size:11px;color:var(--muted);line-height:1.7;margin:5px 0 0}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:17px 0}.toolbar:last-child{margin-bottom:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:8px;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;border:1px solid transparent;min-height:40px;transition:background .15s,transform .15s}.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}.btn-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent-border)}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--panel);border-color:var(--line);color:var(--muted)}.btn-secondary:hover{background:var(--surface-hover)}.btn-small{padding:5px 9px;min-height:30px;font-size:11px}.btn-link{padding:6px 8px;background:none;border:0;color:var(--muted);font-size:11px}.status{font-size:12px;line-height:1.7;color:var(--accent-strong);margin:12px 0 0;overflow-wrap:anywhere}.status:empty{display:none}.error{color:var(--danger)!important;background:var(--error-bg);border:1px solid var(--error-border);border-radius:7px;padding:10px 12px}.result-panel{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:20px;overflow-wrap:anywhere}.result-label{font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);font-weight:600;margin:0 0 7px}.result-value{font-size:35px;line-height:1.2;font-weight:600;letter-spacing:-1px;color:var(--accent-strong);margin:0}.result-explanation{font-size:12px;color:var(--muted);margin:10px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:4px 0 20px}.stat{background:var(--surface-soft);border:1px solid var(--line);border-radius:9px;padding:16px 9px;text-align:center}.stat strong{display:block;font-size:26px;color:var(--accent-strong);line-height:1.2;font-weight:600;letter-spacing:-.5px}.stat span{display:block;font-size:9px;color:var(--muted);margin-top:5px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.check{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);cursor:pointer}.check input{width:16px;height:16px;accent-color:var(--accent-strong);cursor:pointer;margin:0}.range-field{display:flex;align-items:center;gap:15px}.range-field input[type=range]{flex:1;accent-color:var(--accent-strong);min-width:0}.range-field input[type=number]{width:80px;text-align:center}.password-result{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:22px;line-height:1.6;word-break:break-all;letter-spacing:.3px;color:var(--accent-strong)}.segmented-control{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}.segmented-control button{font-size:11px;padding:8px 10px;border-radius:6px;color:var(--muted)}.segmented-control button.active{color:var(--accent-strong);background:var(--surface-selected)}.unit-swap{display:flex;align-items:center;justify-content:center;height:24px;margin:-6px 0 10px}.unit-swap button{font-size:11px;color:var(--muted)}.qr-preview{background:#fff;padding:18px;border:1px solid var(--line);border-radius:10px;width:fit-content;margin:20px auto 0;max-width:100%}.qr-preview canvas,.qr-preview img{max-width:100%;height:auto;display:block}.qr-preview img+canvas{display:none}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;border:1.5px dashed var(--line-strong);border-radius:11px;background:var(--surface-soft);min-height:180px;padding:28px 18px;color:var(--muted);cursor:pointer}.dropzone:hover,.dropzone.dragover,.dropzone.is-dragover{border-color:var(--decor);background:var(--surface-selected)}.dropzone svg{width:32px;height:32px;stroke:var(--decor);fill:none;stroke-width:1.5}.dropzone strong{font-size:14px;font-weight:600;color:var(--accent-strong)}.dropzone p{margin:0;font-size:11px;color:var(--muted)}.dropzone input[type=file]{font-size:11px;max-width:100%}.dropzone input::file-selector-button{border:1px solid var(--line-strong);border-radius:6px;background:var(--surface-selected);color:var(--accent-strong);padding:8px 12px;margin-right:10px;cursor:pointer}.file-list{list-style:none;margin:15px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.file-row{display:flex;align-items:center;gap:11px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:11px;min-width:0}.file-row button{flex-shrink:0;padding:5px 8px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--muted);font-size:11px}.file-row .toolbar{margin:0;gap:5px}.file-thumb{width:54px;height:54px;border-radius:6px;object-fit:contain;background:var(--surface-soft);flex-shrink:0}.file-info{display:flex;flex-direction:column;min-width:0;flex:1;font-size:12px;overflow-wrap:anywhere}.file-info strong{font-weight:550}.file-info small{font-size:10px;color:var(--muted)}.output-preview{display:block;max-width:100%;max-height:320px;margin:16px auto;object-fit:contain;border-radius:8px}.progress{width:100%;height:7px;accent-color:var(--decor);border-radius:8px}.prose{font-size:13px;line-height:1.9;color:var(--muted)}.prose h3{font-size:16px;color:var(--accent-strong);line-height:1.4;margin:22px 0 8px}.prose h3:first-child{margin-top:0}.prose p{margin:0 0 14px}.prose ul{padding-left:18px}.prose a{color:var(--accent-strong)}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,15px);z-index:100;max-width:calc(100vw - 32px);padding:11px 20px;border-radius:9px;background:var(--ink);color:var(--inverse-ink);font-size:12px;box-shadow:0 7px 25px rgb(var(--shade-rgb) / .18);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{position:fixed;bottom:0;left:0;right:0;z-index:1000;background:#ffeed0;color:#684a1d;text-align:center;padding:20px}@media(min-width:1600px){main{padding:0 64px}.topbar,.footer{margin-left:64px;margin-right:64px}.hero{padding:48px 0 60px}.hero h1{font-size:64px}.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tool-card{min-height:207px;padding:24px}.card-description{max-width:230px}}@media(max-width:1190px){:root{--sidebar:196px}.sidebar{padding-left:15px;padding-right:15px}.brand{font-size:25px;padding-left:8px;gap:8px}.brand svg{width:27px}.topbar,.footer{margin-left:32px;margin-right:32px}main{padding:0 32px}.hero{gap:4px;padding:37px 0 43px}.hero h1{font-size:47px;letter-spacing:-2.4px}.hero-art{min-width:230px;width:37%}.hero-benefits{gap:11px;font-size:9px}.hero-copy>p{font-size:12px}.discovery-bar{align-items:stretch;flex-direction:column;gap:12px}.category-tabs{justify-content:flex-start}.category-tabs button{padding:7px 13px}.tool-card{min-height:188px}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card-title{font-size:14px}.tool-card{padding:18px 16px}.card-description{font-size:10px}.workbench-layout{grid-template-columns:minmax(0,1fr) 190px;gap:20px}.trust-strip{padding:20px}.footer-tagline{display:none}}@media(max-width:940px){:root{--sidebar:176px}.sidebar{padding-left:10px;padding-right:10px}.brand{font-size:23px}.brand svg{width:24px}.nav-label{font-size:8px;letter-spacing:1.2px}.side-nav button{font-size:12px;gap:8px;padding:0 11px}.sidebar-bottom{padding-top:20px}.small-note{padding:13px 11px}.small-note p{font-size:11px}.small-note>span:last-child{font-size:9px}.topbar{height:76px}.topbar-label{font-size:8px;letter-spacing:1px}.hero h1{font-size:41px;letter-spacing:-2px}.hero-art{min-width:190px;max-width:245px}.hero{min-height:320px}.hero-benefits{flex-wrap:wrap;gap:7px 10px;max-width:250px}.hero-copy>p{font-size:11px}.hero h1{margin-bottom:22px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-card{min-height:178px}.tools-heading h2{font-size:18px}.trust-strip{flex-wrap:wrap}.trust-strip>a{margin-left:49px;padding:0}.workbench-layout{grid-template-columns:minmax(0,1fr)}.tool-help{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tool-help .help-privacy{border-top:0;border-left:1px solid var(--line);padding:0 0 0 20px}.tool-help ol{margin-bottom:0}}@media(max-width:740px){:root{--sidebar:0px}.sidebar{display:none}.main-shell{margin:0}.topbar{height:72px;margin:0 24px}.topbar-label{display:none}.mobile-brand{display:block;font-size:27px;font-weight:750;text-decoration:none;letter-spacing:-1.5px}.privacy-pill{font-size:10px}main{padding:0 24px}.hero{padding:34px 0 39px;min-height:315px}.hero h1{font-size:46px}.hero-art{width:36%;min-width:170px;max-width:245px;margin-right:-12px}.hero-copy>p{font-size:12px}.hero-benefits{max-width:320px}.eyebrow{font-size:8px}.tools-heading{margin-bottom:18px}.discovery-bar{gap:12px;margin-bottom:18px}.search-box input{height:45px}.category-tabs{gap:2px;justify-content:space-between}.category-tabs button{font-size:11px;padding:8px 11px}.tool-grid{gap:12px}.tool-card{min-height:181px;padding:19px 17px}.card-title{font-size:15px}.card-description{font-size:11px;max-width:220px;padding-right:10px}.trust-strip{margin-top:28px;margin-bottom:25px;padding:18px;gap:10px}.trust-strip h2{font-size:11px}.trust-strip p{font-size:10px}.trust-strip>a{margin-left:46px}.footer{margin:0 24px;padding:22px 0;font-size:18px}.footer>div{gap:16px}.footer-free{display:none}dialog{width:calc(100vw - 26px);max-height:calc(100dvh - 26px);border-radius:15px}.dialog-top{padding:12px 19px}.dialog-heading{padding:23px 20px 20px;gap:13px}.dialog-heading h2{font-size:23px}.dialog-heading>.tool-icon{width:45px;height:45px;border-radius:11px}.dialog-heading>.tool-icon svg{width:23px;height:23px}.dialog-heading p{font-size:11px}.workbench-layout{padding:0 20px 20px}.workbench{padding:19px}.tool-help{gap:15px}.dialog-footer{font-size:9px;padding:13px 10px}.skip-link{left:20px}.result-value{font-size:30px}}@media(max-width:520px){.topbar{margin:0 20px;height:67px}main{padding:0 20px}.hero{padding:32px 0;min-height:0}.hero-art{display:none}.hero h1{font-size:clamp(40px,10.5vw,55px);letter-spacing:-2.5px;margin:13px 0 23px}.hero-copy>p{font-size:12px;line-height:1.8}.hero-benefits{max-width:none;font-size:9px;gap:13px}.hero-benefits svg{width:12px}.tools-heading h2{font-size:18px}.tools-heading p{font-size:10px;margin-top:6px}.tool-count{font-size:8px;padding:4px 7px}.discovery-bar{gap:11px}.category-tabs button{font-size:10px;padding:7px 9px}.tool-grid{gap:10px}.tool-card{padding:16px 14px;min-height:180px}.tool-icon{width:37px;height:37px;border-radius:9px}.tool-icon svg{width:20px;height:20px}.card-top{margin-bottom:17px}.card-title{font-size:13px;letter-spacing:-.25px;padding-right:0}.card-description{font-size:10px;padding-right:5px;line-height:1.65}.card-arrow{bottom:12px;right:12px;width:11px;height:11px}.card-arrow svg{width:11px;height:11px}.card-badge{font-size:7px;padding:3px 5px}.trust-strip{align-items:flex-start;padding:17px 15px}.trust-icon{width:25px}.trust-icon svg{width:24px;height:24px}.trust-strip>div:nth-child(2){flex:1}.trust-strip h2{font-size:11px}.trust-strip p{line-height:1.7;margin-top:5px}.trust-strip>a{margin-left:35px;font-size:9px}.footer{margin:0 20px}.footer>div{gap:17px}.footer button{font-size:9px}.workbench-layout{padding:0 14px 18px;gap:12px}.workbench{padding:16px}.dialog-heading{padding:20px 16px;align-items:flex-start}.dialog-heading h2{font-size:21px}.dialog-heading p{line-height:1.7}.dialog-heading>.tool-icon{margin-top:4px;width:40px;height:40px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:8px}.stat{padding:13px 8px}.stat strong{font-size:23px}.tool-help{display:block;padding:13px 5px 0}.tool-help .help-privacy{border-left:0;padding:12px 0 0;margin-top:14px;border-top:1px solid var(--line)}.tool-help ol{gap:6px}.tool-help p{margin-bottom:5px}.help-privacy>svg{display:none}.field-grid{gap:10px}.check-grid{gap:11px;font-size:11px}.check{font-size:11px;gap:7px}.result-panel{padding:17px}.password-result{font-size:19px}.segmented-control{gap:3px}.segmented-control button{font-size:10px;padding:7px 8px}.btn{padding:9px 12px;font-size:11px}.toolbar{gap:7px}.file-row{flex-wrap:wrap}.file-row .toolbar{width:100%;justify-content:flex-end}.file-thumb{width:43px;height:43px}.field>label,.field-label{font-size:11px}.dialog-footer{font-size:8px;gap:5px}.close-button span{display:none}.input,.select,.textarea,.workbench input[type=number],.workbench input[type=text],.workbench input[type=url],.workbench select,.workbench textarea{font-size:16px}.workbench textarea.code{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Readable type, accessible contrast, and comfortable controls at every size. */
.hero-copy>p{color:var(--muted);font-size:15px}.hero-benefits{font-size:11px;color:var(--muted)}.topbar-label{color:var(--muted)}.privacy-pill{font-size:12px;color:var(--muted)}.side-nav button{font-size:14px}.nav-label{color:var(--muted)}.small-note>span:last-child,.nav-info{color:var(--muted)}.tools-heading h2{font-size:23px}.tools-heading p{font-size:13px;color:var(--muted)}.tool-count{font-size:11px;color:var(--muted)}.search-box input{font-size:14px;height:48px}.search-box>svg{top:15px}.search-box input::placeholder{color:var(--muted)}.search-box kbd{top:12px;color:var(--muted)}.category-tabs button{font-size:12px;min-height:44px;color:var(--muted)}.card-title{font-size:16px}.card-description{font-size:13px;line-height:1.65;color:var(--muted);max-width:260px}.card-badge{color:var(--muted);font-size:8px}.tool-card{min-height:205px}.trust-strip h2{font-size:14px}.trust-strip p{font-size:12px;color:var(--muted)}.trust-strip>a{font-size:11px;color:var(--accent-strong);min-height:44px}.footer-tagline,.footer button,.footer-free{color:var(--muted);font-size:11px}.footer button{min-height:44px}.field>label,.field-label{font-size:13px}.hint{font-size:12px;color:var(--muted)}.status{font-size:13px}.dialog-heading p{font-size:13px;color:var(--muted)}.tool-help p,.tool-help ol{font-size:12px;color:var(--muted)}.tool-help h3{font-size:13px}.dialog-footer{font-size:11px;color:var(--muted)}.result-label{color:var(--muted)}.result-explanation{color:var(--muted)}.btn{min-height:44px;font-size:13px}.btn-link{min-height:44px;font-size:12px}.close-button{min-width:44px;min-height:40px}.check{font-size:13px}.stat span{font-size:11px;color:var(--muted)}.segmented-control button{min-height:44px;font-size:12px;color:var(--muted)}.unit-swap{height:44px}.unit-swap button{min-height:44px;font-size:13px;padding:5px 15px}.file-picker-label{display:flex;flex-direction:column;align-items:center;gap:16px;font-size:15px;font-weight:600;color:var(--accent-strong);max-width:100%}.file-input{max-width:100%;font-weight:400;cursor:pointer;background:var(--panel)}.dropzone{margin-top:16px}.dropzone:focus-within{outline:3px solid var(--focus);outline-offset:3px}.dropzone .hint{color:var(--muted);font-size:12px;max-width:370px}.tool-options{margin-top:20px}.file-row button{min-width:36px;min-height:36px;color:var(--muted)}.file-info small{color:var(--muted);font-size:11px}.prose{font-size:14px;color:var(--muted)}.prose h3{font-size:17px}.tool-help .btn{font-size:12px}.dropzone input[type=file]{font-size:12px}.btn-small{font-size:12px}.tool-card:focus-visible{outline-offset:2px;box-shadow:0 0 0 5px var(--focus)}.search-box input{transition:border-color .15s,box-shadow .15s}.search-box input:focus{border-color:var(--line-strong);box-shadow:0 0 0 4px rgb(var(--shade-rgb) / .1)}
@media(max-width:1190px){.hero-copy>p{font-size:14px}.hero-benefits{font-size:10px}.tool-card{min-height:215px}.card-title{font-size:15px}.card-description{font-size:12px}.tools-heading h2{font-size:21px}}
@media(max-width:940px){.side-nav button{font-size:13px}.hero-copy>p{font-size:13px}.hero-benefits{font-size:10px}.tools-heading h2{font-size:21px}.tool-card{min-height:204px}.card-title{font-size:16px}.card-description{font-size:13px}.topbar-label{font-size:8px}.privacy-pill{font-size:10px}}
@media(max-width:740px){.hero-copy>p{font-size:14px}.hero-benefits{font-size:11px}.tool-card{min-height:208px}.category-tabs{overflow-x:auto;flex-wrap:nowrap;gap:2px}.category-tabs button{font-size:12px;padding:9px 11px}.privacy-pill{font-size:11px}.trust-strip h2{font-size:13px}.trust-strip p{font-size:12px}.footer button{font-size:12px}.dialog-heading p{font-size:12px}.tools-heading h2{font-size:21px}.tools-heading p{font-size:12px}.tool-help p,.tool-help ol{font-size:12px}.dialog-footer{font-size:10px}.btn{font-size:13px}}
@media(max-width:520px){.hero{padding:33px 0 35px}.hero-copy>p{font-size:14px}.hero-benefits{font-size:10px;gap:13px}.hero-benefits svg{width:13px}.tools-heading h2{font-size:20px;max-width:260px;line-height:1.4}.tools-heading p{font-size:12px}.tool-count{font-size:10px}.tools-heading{gap:8px;align-items:flex-start}.tool-grid{grid-template-columns:minmax(0,1fr);gap:12px}.tool-card{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:15px;row-gap:5px;padding:21px 19px;min-height:122px}.card-top{grid-column:1;grid-row:1/span 2;display:block;margin:0;align-self:start;padding-top:1px}.tool-icon{width:43px;height:43px;border-radius:11px}.tool-icon svg{width:23px;height:23px}.card-badge{display:none}.card-title{grid-column:2;grid-row:1;font-size:17px;align-self:end;padding-right:10px;line-height:1.45}.card-description{grid-column:2;grid-row:2;align-self:start;max-width:none;font-size:13px;padding-right:8px}.card-arrow{right:14px;bottom:16px}.category-tabs{gap:2px;justify-content:space-between}.category-tabs button{font-size:12px;padding:9px 10px;min-height:44px}.search-box input{font-size:16px;height:48px}.hero h1{font-size:clamp(39px,10.5vw,53px)}.trust-strip h2{font-size:14px}.trust-strip p{font-size:12px}.trust-strip>a{font-size:12px;min-height:44px;margin-left:35px}.footer button{font-size:12px}.tool-help p,.tool-help ol{font-size:13px}.field>label,.field-label{font-size:13px}.check{font-size:13px}.check-grid{grid-template-columns:1fr;gap:14px}.check input{height:19px;width:19px}.btn{font-size:14px;min-height:44px;padding:10px 14px}.btn-link{font-size:13px}.segmented-control button{font-size:12px;min-height:44px;padding:8px 9px}.hint{font-size:12px}.status{font-size:13px}.file-row button{min-height:44px;min-width:44px}.file-picker-label{font-size:14px}.file-input{width:100%}.prose{font-size:14px}.dialog-footer{font-size:10px;line-height:1.6;text-align:center}.close-button{min-height:44px}.result-label{font-size:10px}.stat span{font-size:12px}}
@media(max-width:360px){main{padding:0 16px}.topbar,.footer{margin-left:16px;margin-right:16px}.privacy-pill{font-size:10px}.category-tabs button{font-size:11px;padding:8px}.hero-benefits{gap:8px;font-size:9px}.hero-copy>p{font-size:13px}.tool-card{padding:19px 16px;column-gap:12px}.card-title{font-size:16px}.tools-heading h2{font-size:19px}.tools-heading p{font-size:11px}.check{font-size:12px}.field-grid{grid-template-columns:1fr}}

/* One compact chooser, available in the same place on desktop and phones. */
.topbar{position:relative;z-index:20;gap:16px}
.topbar-actions{display:flex;align-items:center;gap:20px;margin-left:auto}
.theme-picker{position:relative;flex-shrink:0}
.theme-picker summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px;font-weight:600;cursor:pointer;list-style:none;touch-action:manipulation}
.theme-picker summary::-webkit-details-marker{display:none}
.theme-picker summary:hover{background:var(--surface-hover)}
.theme-picker summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.theme-picker summary>svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-picker[open] summary>svg{transform:rotate(180deg)}
.theme-current-dot{width:15px;height:15px;border-radius:50%;background:var(--accent);border:1px solid var(--accent-strong);flex-shrink:0}
.theme-popover{position:absolute;top:calc(100% + 10px);right:0;width:264px;max-width:calc(100vw - 32px);padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.theme-heading{margin:0 0 16px;font-size:18px;font-weight:750;line-height:1.3}
.theme-popover fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}
.theme-popover legend{padding:0;margin:0 0 9px;font-size:12px;line-height:1.5;color:var(--muted);font-weight:700}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.theme-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:66px;padding:9px 3px;border:2px solid transparent;border-radius:12px;font-size:12px;font-weight:550;color:var(--ink);cursor:pointer;touch-action:manipulation}
.theme-option:hover{background:var(--surface-hover)}
.theme-option:has(input:checked){border-color:var(--accent-strong);background:var(--surface-selected);font-weight:700}
.theme-swatch{appearance:none;display:block;width:26px;height:26px;min-width:26px;min-height:26px;margin:0;border:3px solid var(--panel);border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px var(--line-strong);cursor:pointer;flex-shrink:0}
.theme-swatch:checked{box-shadow:0 0 0 2px var(--accent-strong)}
.theme-swatch:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.theme-swatch[data-theme-value="sage"]{--swatch:#c8dda8}
.theme-swatch[data-theme-value="blue"]{--swatch:#b8d1e7}
.theme-swatch[data-theme-value="lavender"]{--swatch:#cab0fa}
.theme-swatch[data-theme-value="peach"]{--swatch:#edc49d}
.theme-swatch[data-theme-value="rose"]{--swatch:#edbfd0}
.theme-swatch[data-theme-value="stone"]{--swatch:#d1d6c9}
.theme-note{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
@media(max-width:940px){.topbar-label{max-width:180px}.topbar-actions{gap:12px}}
@media(max-width:740px){.topbar-actions{gap:16px}.theme-picker summary{font-size:12px}}
@media(max-width:520px){.topbar-actions>.privacy-pill{display:none}.theme-picker summary{padding:0 11px}.theme-popover{right:0}}
/* Large batches use the existing theme and bounded lists, with one archive download. */
.batch-option{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;margin-top:12px}.batch-option input{width:19px;height:19px;accent-color:var(--accent-strong);flex-shrink:0}.batch-progress{width:100%;height:12px;margin-top:16px;accent-color:var(--accent-strong)}.file-list{max-height:420px;overflow:auto}.batch-exports{max-height:280px;overflow:auto;padding-left:24px;font-size:12px;overflow-wrap:anywhere}.batch-exports li{padding:5px 0}.file-info{min-width:0;overflow-wrap:anywhere}
/* Student tools share the selected interface accent, with no new theme state. */
.tool-icon.student{background:var(--accent);color:var(--accent-ink)}

/* Appearance changes interface tokens only. Never tint document, QR, image, or canvas pixels. */
:root[data-appearance="dark"] {
  color-scheme:dark;
  --bg:#141c18; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#30402c; --surface-hover:#2b3831;
  --accent:#c5dba8; --accent-hover:#d3e7b8; --accent-border:#c5dba8;
  --accent-ink:#263a22; --accent-strong:#c5dba8;
  --decor:#c5dba8; --decor-soft:#30402c; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#4e6838;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
:root[data-appearance="dark"][data-theme="blue"] {
  color-scheme:dark;
  --bg:#141d20; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#293b47; --surface-hover:#2b3831;
  --accent:#b8d1e7; --accent-hover:#cce0f0; --accent-border:#b8d1e7;
  --accent-ink:#203849; --accent-strong:#b8d1e7;
  --decor:#b8d1e7; --decor-soft:#293b47; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#365d77;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
:root[data-appearance="dark"][data-theme="lavender"] {
  color-scheme:dark;
  --bg:#141b1a; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#39304b; --surface-hover:#2b3831;
  --accent:#cab0fa; --accent-hover:#dac5ff; --accent-border:#cab0fa;
  --accent-ink:#30233f; --accent-strong:#cab0fa;
  --decor:#cab0fa; --decor-soft:#39304b; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#70518e;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
:root[data-appearance="dark"][data-theme="peach"] {
  color-scheme:dark;
  --bg:#1b1c18; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#40372b; --surface-hover:#2b3831;
  --accent:#edc49d; --accent-hover:#f7d8b7; --accent-border:#edc49d;
  --accent-ink:#50321a; --accent-strong:#edc49d;
  --decor:#edc49d; --decor-soft:#40372b; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#80522b;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
:root[data-appearance="dark"][data-theme="rose"] {
  color-scheme:dark;
  --bg:#1c1a1a; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#44303a; --surface-hover:#2b3831;
  --accent:#edbfd0; --accent-hover:#f7d1df; --accent-border:#edbfd0;
  --accent-ink:#562b40; --accent-strong:#edbfd0;
  --decor:#edbfd0; --decor-soft:#44303a; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#8b4a60;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
:root[data-appearance="dark"][data-theme="stone"] {
  color-scheme:dark;
  --bg:#191c19; --panel:#212b2a; --ink:#e9efeb; --muted:#b6c1b9;
  --line:#44524d; --line-strong:#697b70;
  --surface:#151e1d; --input-bg:#17211e; --surface-soft:#202c28;
  --surface-selected:#343b2f; --surface-hover:#2b3831;
  --accent:#d1d6c9; --accent-hover:#e2e6db; --accent-border:#d1d6c9;
  --accent-ink:#35432b; --accent-strong:#d1d6c9;
  --decor:#d1d6c9; --decor-soft:#343b2f; --shade-rgb:0 0 0;
  --icon-chip:#fcf0e1; --icon-ink:#5b654f;
  --inverse-ink:#152018; --danger:#ffb4aa; --error-bg:#442823; --error-border:#955d53;
}
/* Original compact branding; the phone and dialog retain plain wordmarks. */
.brand,.dialog-brand{min-height:44px}
.brand{display:flex;align-items:center}
.brand svg{flex-shrink:0}
:root[data-appearance="dark"] .brand svg [fill="var(--accent)"]{fill:var(--bg)}
:root[data-appearance="dark"] .brand svg [stroke="var(--accent)"]{stroke:var(--bg)}
.dialog-brand{display:inline-flex;align-items:center}
/* Native input chrome and text follow the active appearance too. */
.workbench input,.workbench select,.workbench textarea{color:var(--ink)}
.search-box input::placeholder,.workbench input::placeholder,.workbench textarea::placeholder{color:var(--muted);opacity:1}
.workbench input[type=file]{background:var(--input-bg);color:var(--muted);color-scheme:inherit}
.workbench input::file-selector-button{background:var(--surface-selected);color:var(--accent-strong);border:1px solid var(--line-strong);border-radius:6px;min-height:44px;padding:8px 12px;margin-right:10px;cursor:pointer}
.workbench input[type=date],.workbench input[type=time],.workbench input[type=datetime-local]{background:var(--input-bg);border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-height:44px;width:100%;min-width:0}
.close-button{min-height:44px}
.topbar-actions{gap:10px;position:relative}
.theme-picker{position:static}
@media(max-width:1190px){.topbar-actions>.privacy-pill{display:none}}
@media(max-width:740px){.mobile-brand{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0}.topbar{gap:12px}.topbar-actions{gap:8px}}
@media(max-width:360px){.mobile-brand{font-size:25px}.topbar{gap:8px}.theme-picker summary{padding:0 8px;gap:6px}}

/* Real document links keep guides crawlable without changing tool-card launch behavior. */
.nav-info{text-decoration:none;min-height:44px}
.footer a{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:var(--muted);text-decoration:none}
.footer a:hover{text-decoration:underline;text-underline-offset:4px}
.guide-links{margin-top:36px;padding:26px 0;border-top:1px solid var(--line)}
.guide-links h2{font-size:20px;font-weight:650;letter-spacing:-.5px;margin:0 0 4px}
.guide-links p{font-size:13px;color:var(--muted);margin:0 0 17px}
.guide-links ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.guide-links li{min-width:0}
.guide-links a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--accent-strong);font-size:14px;font-weight:600;text-underline-offset:4px}
.guide-links li>span{display:block;font-size:12px;color:var(--muted)}
@media(max-width:940px){.guide-links ul{grid-template-columns:minmax(0,1fr);gap:10px}}
@media(max-width:740px){.footer a{font-size:12px}}

/* Shared workspace sizing, including stylesheets loaded after this one. Keep
   inputs inside their cards without clipping tool output or disabling zoom. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.search-box{min-width:0;max-width:100%;width:100%}
.search-box input{min-width:0;max-width:100%}
.discovery-bar,.category-tabs,.tool-card,.dialog-heading>div,.tool-help,.tool-help>div{min-width:0}
.category-tabs{max-width:100%}
.card-title,.card-description,.dialog-heading,.tool-help,.workbench{overflow-wrap:anywhere}
.dialog-heading>.tool-icon,.dialog-footer svg{flex-shrink:0}
#workbench>*,#workbench form,#workbench fieldset{min-width:0;max-width:100%}
#workbench input,#workbench select,#workbench textarea{box-sizing:border-box;min-width:0;max-width:100%}
#workbench .field-grid>*,#workbench .field>*{min-width:0;max-width:100%}
#workbench .toolbar>*{max-width:100%}
#workbench .btn,#workbench .segmented-control button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
.check input{flex-shrink:0}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{min-width:0;overflow-wrap:anywhere}
.dialog-footer{flex-wrap:wrap}
/* vh is the fallback for older browsers; dvh follows changing browser chrome.
   The native dialog remains the single page-level workspace scroll container. */
#tool-dialog{max-width:calc(100vw - 26px);max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overscroll-behavior:contain;scroll-padding-block:20px}
#workbench input,#workbench select,#workbench textarea{scroll-margin-block:20px}
@media(max-width:740px){
  #tool-dialog{width:calc(100vw - 26px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-width:calc(100vw - 26px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-height:calc(100vh - 26px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 26px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));scroll-padding-block:88px 24px}
  .dialog-top{position:sticky;top:0;z-index:3;background:var(--surface)}
  .dialog-heading>div:last-child{flex:1}
  .dialog-footer{padding-bottom:max(13px,env(safe-area-inset-bottom,0px))}
  #workbench input,#workbench select,#workbench textarea{scroll-margin-block:88px 24px}
}
@media(max-width:600px){
  .field-grid{grid-template-columns:minmax(0,1fr)}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .file-row .toolbar{flex-wrap:wrap}
}
/* iOS focuses small editable text by zooming. ID specificity preserves this
   readable size even when an extension later uses font:inherit or code fonts.
   Pointer coverage also protects phone landscape; pinch zoom stays enabled. */
@media(max-width:740px),(pointer:coarse){
  #tool-search,#tool-dialog input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),#tool-dialog select,#tool-dialog textarea{font-size:16px}
}

/* The private-report overlay keeps tool workspaces intact underneath. */
body.bug-report-open{overflow:hidden}
.dialog-actions{display:flex;align-items:center;gap:12px;min-width:0}
.report-problem-button{min-height:44px;padding:8px;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
#bug-report-dialog{width:600px;max-width:calc(100vw - 26px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:85px 24px;box-shadow:var(--shadow)}
#bug-report-dialog::backdrop{background:rgb(var(--shade-rgb) / .5)}
.bug-report-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;background:var(--panel)}
.bug-report-header h2{font-size:20px;margin:0;letter-spacing:-.4px}.bug-report-header .close-button{min-height:44px;min-width:44px;font-size:18px}
.bug-report-body{padding:8px 24px 24px}.bug-report-body>p{color:var(--muted)}
.bug-privacy-note{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12px;line-height:1.7}.bug-privacy-note a{text-underline-offset:3px}
#bug-report-form .field{min-width:0;margin-bottom:18px}#bug-report-form label .hint{font-weight:400;margin-left:4px}
#bug-report-form select,#bug-report-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:16px}#bug-report-form textarea{min-height:0;resize:vertical}
#bug-character-count{float:right}.bug-report-actions{display:flex;flex-wrap:wrap;gap:10px}.bug-report-actions button{min-height:44px}
.bug-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;visibility:hidden}
.bug-success{padding:10px 0}.bug-success h3{font-size:20px}.bug-success p{color:var(--muted)}#bug-status{overflow-wrap:anywhere}
@media(max-width:520px){.bug-report-header{padding:10px 14px}.bug-report-body{padding:8px 16px max(20px,env(safe-area-inset-bottom,0px))}.bug-report-actions{flex-direction:column}.bug-report-actions button{width:100%}.dialog-actions{gap:4px}.report-problem-button{font-size:11px;padding:6px}.bug-report-header h2{font-size:18px}}

.trust-strip>a{display:inline-flex;align-items:center;text-decoration:none}.trust-strip>a:hover{text-decoration:underline;text-underline-offset:3px}

/* Explicit system appearance follows the device only when selected. */
.appearance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.appearance-options label{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:44px;padding:8px 3px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:12px;font-weight:600;color:var(--ink);cursor:pointer;touch-action:manipulation}
.appearance-options label:hover{background:var(--surface-hover)}
.appearance-options label:has(input:checked){border-color:var(--accent-strong);background:var(--surface-selected);font-weight:750}
.appearance-options input{accent-color:var(--accent-strong);width:14px;height:14px;min-width:14px;min-height:14px;margin:0;flex-shrink:0;cursor:pointer}
.appearance-options input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* RenoThread reference redesign, 2026-10-15.
   Dark colors and mobile proportions are sampled from the supplied screenshots.
   Light/desktop/workspace layouts are deliberate responsive adaptations. */
body{font-size:16px;line-height:1.65;background:var(--bg)}
.main-shell{margin-left:0;min-width:0}
.site-header{position:relative;z-index:20;border-bottom:1px solid var(--line);background:var(--surface)}
.topbar{position:static;height:88px;max-width:1240px;margin:0 auto;padding:0 32px;border:0;gap:30px}
.brand{padding:0;gap:11px;font-size:29px;font-weight:800;letter-spacing:-1.25px;white-space:nowrap}
.brand svg{width:42px;height:42px;padding:8px;border-radius:14px;color:var(--accent-strong);background:var(--surface-selected)}
.mobile-brand{display:none!important}
.desktop-nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.desktop-nav a{font-size:14px;font-weight:650;text-decoration:none;color:var(--muted);min-height:44px;display:flex;align-items:center}
.desktop-nav a:hover{color:var(--accent-strong)}
.topbar-actions{gap:9px;margin-left:0;position:static}
.theme-picker{position:relative}
.theme-picker summary{width:46px;height:46px;min-height:46px;padding:0;border-radius:14px;background:var(--panel);border-color:var(--line)}
.theme-picker summary>.palette-icon{width:24px;height:24px;stroke-width:1.7}
.theme-picker[open] summary>.palette-icon{transform:none}
.theme-popover{top:calc(100% + 14px);width:325px;padding:22px;border-radius:20px;z-index:30;box-shadow:var(--shadow);max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
.header-report{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 17px;border:1px solid var(--line);border-radius:14px;background:var(--panel);font-size:14px;font-weight:700;white-space:nowrap}
.header-report:hover{background:var(--surface-hover)}
.site-menu>summary{display:flex;align-items:center;justify-content:center;min-height:46px;width:46px;border:1px solid var(--line);border-radius:14px;cursor:pointer;list-style:none}
.site-menu>summary::-webkit-details-marker{display:none}
.site-menu>summary svg{width:23px;height:23px;stroke:var(--accent-strong);fill:none;stroke-width:1.8;stroke-linecap:round}
.site-menu>summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.site-menu[open]>summary{background:var(--surface-selected)}
.menu-panel{position:absolute;left:0;right:0;top:100%;background:var(--surface-soft);border-bottom:1px solid var(--line);box-shadow:0 14px 22px rgb(var(--shade-rgb) / .05);max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain}
.menu-inner{max-width:1240px;padding:24px 32px 30px;margin:auto;display:grid;grid-template-columns:1.6fr 1fr;gap:32px}
.side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.side-nav button{min-height:50px;padding:11px 16px;font-size:16px;border-radius:14px;color:var(--muted);gap:13px}
.side-nav .nav-count{font-size:12px}
.menu-links{display:flex;flex-direction:column;align-items:stretch}
.menu-links a,.menu-panel .page-nav a{display:flex;align-items:center;min-height:50px;padding:9px 16px;text-decoration:none;font-size:16px;font-weight:650;color:var(--muted);border-radius:12px}
.menu-links a:hover,.menu-panel .page-nav a:hover{background:var(--surface-hover);color:var(--ink)}
main{max-width:1240px;padding:0 32px;margin:auto;min-width:0}
.skip-link{left:20px}
.hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);align-items:center;gap:64px;min-height:0;padding:72px 0 74px}
.hero-copy{min-width:0}
.hero-pill{display:inline-flex;max-width:100%;border:1px solid var(--line-strong);background:var(--surface-selected);color:var(--accent-strong);border-radius:100px;padding:8px 14px;font-size:12px;line-height:1.5;letter-spacing:0;font-weight:700;gap:8px}
.hero-pill>span{width:7px;height:7px;background:#d59a62;flex-shrink:0}
.hero h1{font-size:clamp(44px,5.5vw,72px);font-weight:800;line-height:1.08;letter-spacing:-2.8px;margin:28px 0 28px;white-space:normal;max-width:15ch}
.hero h1>span{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;letter-spacing:-2px;color:var(--accent-strong)}
.hero-copy>p{max-width:580px;font-size:18px;line-height:1.8;letter-spacing:0;margin:0 0 28px;color:var(--muted)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 26px}
.hero-actions .btn{min-height:52px;padding:13px 24px;font-size:15px;font-weight:750;gap:14px}
.hero-benefits{font-size:13px;gap:12px 22px;flex-wrap:wrap;line-height:1.6;color:var(--muted)}
.hero-benefits span{gap:7px;white-space:normal}
.hero-benefits svg{width:16px;height:16px;stroke:var(--muted);flex-shrink:0}
.hero-note{border:1px solid var(--line);border-radius:28px;padding:32px;background:var(--panel);box-shadow:0 15px 40px rgb(var(--shade-rgb) / .04)}
.hero-note-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:var(--icon-chip);color:var(--icon-ink);font-size:38px;border-radius:21px;margin-bottom:26px}
.hero-note .eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--accent-strong);line-height:1.7}
.hero-note h2{font-size:25px;letter-spacing:-.7px;line-height:1.35;font-weight:750;margin:14px 0}
.hero-note>p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 20px}
.hero-note>a{display:flex;align-items:center;gap:14px;min-height:44px;color:var(--accent-strong);text-decoration:none;font-size:14px;font-weight:750}
.tools-section{scroll-margin-top:28px;margin:72px 0}
.tools-heading{align-items:flex-end;margin-bottom:26px;gap:20px}
.tools-heading h2{font-size:32px;font-weight:750;line-height:1.25;letter-spacing:-1px;margin:0 0 10px}
.tools-heading p{font-size:15px;line-height:1.7}
.tool-count{font-size:12px;padding:7px 12px;border-radius:100px}
.discovery-bar{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-bottom:28px}
.search-box input{height:56px;font-size:16px;border-radius:16px;padding:0 50px 0 48px;background:var(--panel)}
.search-box>svg{left:19px;top:18px;width:19px;height:19px}
.search-box kbd{top:16px;right:17px;border-radius:6px}
.category-tabs{justify-content:flex-start;gap:8px;flex-wrap:wrap;overflow:visible}
.category-tabs button{min-height:44px;padding:10px 17px;border-radius:100px;border:1px solid var(--line);background:var(--panel);font-size:13px;font-weight:650}
.category-tabs button.active{background:var(--surface-selected);color:var(--accent-strong);border-color:var(--line-strong)}
.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tool-card{display:flex;flex-direction:column;min-height:292px;padding:25px;border:1px solid var(--line);border-radius:25px;box-shadow:0 7px 22px rgb(var(--shade-rgb) / .025);overflow:visible}
.tool-card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:0 12px 30px rgb(var(--shade-rgb) / .07)}
.card-top{display:flex;align-items:center;margin:0 0 23px;padding:0}
.tool-card .tool-icon{width:52px;height:52px;border-radius:16px;background:var(--icon-chip);color:var(--icon-ink)}
.tool-card .tool-icon svg{width:26px;height:26px;stroke-width:1.7}
.card-category{display:block;font-size:10px;line-height:1.6;letter-spacing:1.8px;font-weight:800;text-transform:uppercase;color:var(--accent-strong);margin:0 0 7px}
.card-title{display:block;font-size:21px;font-weight:750;line-height:1.3;letter-spacing:-.6px;margin:0;padding:0}
.card-description{display:block;font-size:14px;line-height:1.65;max-width:none;margin-top:7px;padding:0;color:var(--muted)}
.card-arrow{position:static;display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:20px;width:auto;height:auto;font-size:14px;font-weight:750;color:var(--accent-strong)}
.card-arrow svg{width:18px;height:18px}
.tool-card:hover .card-arrow{transform:none}
.empty-state{border-radius:25px;padding:54px 24px}
.trust-strip{margin:56px 0;padding:28px 30px;border-radius:24px;gap:20px;background:var(--surface-soft)}
.trust-strip h2{font-size:17px;line-height:1.5;font-weight:700}
.trust-strip p{font-size:14px;line-height:1.7}
.trust-strip>a{font-size:13px;color:var(--accent-strong)}
.footer{max-width:1176px;margin:0 auto;padding:28px 0 35px;gap:24px;flex-wrap:wrap;font-size:22px;font-weight:800;letter-spacing:-.8px}
.footer>span{display:flex;align-items:baseline;flex-wrap:wrap}
.footer-tagline{font-size:13px;letter-spacing:0;font-weight:400;margin-left:18px}
.footer>div,.content-page .footer nav{gap:20px;flex-wrap:wrap}
.footer a,.footer button,.footer-free{font-size:13px;letter-spacing:0;min-height:44px}
/* One component language for every browser-local workspace and result. */
dialog{border-radius:26px;background:var(--bg)}
#tool-dialog{width:min(1140px,calc(100vw - 64px))}
.dialog-top{padding:15px 30px;background:var(--surface)}
.dialog-brand{font-size:24px;font-weight:800}
.close-button{border-radius:12px;min-width:44px;min-height:44px;font-size:12px}
.dialog-heading{padding:32px 32px 28px;gap:19px}
.dialog-heading>.tool-icon{background:var(--icon-chip);color:var(--icon-ink);border-radius:18px}
.dialog-heading .eyebrow{font-size:10px;line-height:1.6;letter-spacing:1.7px;color:var(--accent-strong);margin-bottom:6px}
.dialog-heading h2{font-size:34px;font-weight:750;letter-spacing:-1px;line-height:1.2}
.dialog-heading p{font-size:15px;line-height:1.65;margin-top:9px}
.workbench-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px;padding:0 32px 32px;align-items:start}
.workbench{padding:26px;border-radius:22px;box-shadow:0 8px 24px rgb(var(--shade-rgb) / .025)}
.tool-help{display:flex;flex-direction:column;gap:16px;padding:0}
.tool-help>div{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:20px}
.tool-help h3{font-size:15px;font-weight:700;line-height:1.5;margin-bottom:12px}
.tool-help p,.tool-help ol{font-size:13px;line-height:1.75}
.tool-help ol{margin-bottom:0;padding-left:20px}
.tool-help a{color:var(--accent-strong);font-size:13px;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:4px}
.dialog-footer{font-size:12px;line-height:1.6;padding:18px;background:var(--surface)}
.field>label,.field-label{font-size:14px;font-weight:650;line-height:1.6}
.field{gap:8px;margin-bottom:22px}
.workbench input[type=number],.workbench input[type=text],.workbench input[type=url],.workbench input[type=date],.workbench input[type=time],.workbench input[type=datetime-local],.workbench select,.workbench textarea,.input,.select,.textarea{border-radius:12px;padding:12px 14px;border-color:var(--line);font-size:16px;line-height:1.5;background:var(--input-bg);min-height:48px}
.workbench textarea,.textarea{line-height:1.7;min-height:190px}
.workbench input::file-selector-button{border-radius:11px;font-size:14px;padding:10px 14px}
.btn{min-height:46px;font-size:14px;font-weight:700;border-radius:13px;padding:11px 18px}
.btn-secondary{color:var(--ink);background:var(--panel)}
.btn-small{min-height:44px;font-size:13px;padding:8px 12px}
.hint,.status,.result-explanation{font-size:13px;line-height:1.7}
.workbench .result-panel,.workbench .st-result,.workbench .st-callout,.workbench .aft-result,.workbench .nt-results,.workbench .iex-result{border-radius:18px;padding:22px;background:var(--surface-soft);border-color:var(--line)}
.result-label{font-size:10px;letter-spacing:1.6px;font-weight:750}
.result-value{font-size:38px;font-weight:750;letter-spacing:-1px;line-height:1.25}
.stat,.workbench .st-stat{border-radius:16px;padding:20px 12px}
.stat strong{font-weight:750;font-size:30px}
.stat span{font-size:12px}
.dropzone{padding:32px 22px;min-height:210px;border-radius:20px;border-color:var(--line-strong);gap:14px;background:var(--surface-soft)}
.dropzone strong,.file-picker-label{font-size:16px}
.dropzone p,.dropzone .hint{font-size:13px;line-height:1.75}
.file-row{border-radius:14px;padding:13px}
.file-row button{border-radius:9px}
.segmented-control{gap:8px;padding-bottom:20px}
.segmented-control button{border-radius:11px;font-size:13px;font-weight:600;padding:10px 13px}
.check{min-height:44px;font-size:14px;line-height:1.6}
.check input{width:19px;height:19px}
.error{border-radius:13px;padding:14px 16px}
.workbench .st-callout,.workbench .nt-callout,.workbench .aft-note,.workbench .aft-warning,.workbench .pst-warning,.workbench .iex-note,.workbench .iex-warning,.workbench .pet-warning,.workbench .reference-scope{border-radius:14px;line-height:1.75;font-size:13px;padding:15px 17px}
.workbench .st-field>label,.workbench .nt-field>label{font-size:14px;font-weight:650}
.workbench .st-field input,.workbench .nt-field input,.workbench .st-field select,.workbench .nt-field select{min-height:48px;border-radius:12px}
.workbench .st-table,.workbench .nt-table,.workbench .iex-metadata{font-size:13px;line-height:1.7}
.workbench .st-status,.workbench .nt-status,.workbench .aft-status,.workbench .iex-status{font-size:13px;line-height:1.75}
.report-problem-button{font-size:12px;min-height:44px;border-radius:10px}
#bug-report-dialog{border-radius:25px;background:var(--panel)}
.bug-report-header{padding:18px 25px}
.bug-report-header h2{font-size:23px;font-weight:750;letter-spacing:-.6px}
.bug-report-body{padding:10px 25px 28px;font-size:15px;line-height:1.75}
.bug-privacy-note{border-radius:15px;padding:16px;font-size:13px}
#bug-report-form textarea,#bug-report-form select{border-radius:12px;padding:12px 14px}
.bug-report-actions .btn{min-height:46px}
.bug-success{border-radius:18px}
.toast{border-radius:13px;font-size:14px;padding:13px 20px}
@media(max-width:1050px){
  .desktop-nav{gap:18px}.topbar{gap:22px}.hero{gap:36px;grid-template-columns:minmax(0,1.4fr) minmax(245px,.8fr)}.hero h1{font-size:58px}.hero-note{padding:26px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer{margin-left:32px;margin-right:32px}
}
@media(max-width:860px){
  .desktop-nav{display:none}.topbar-actions{margin-left:auto}.hero{grid-template-columns:minmax(0,1fr);gap:0;max-width:760px;padding:54px 0 58px}.hero-note{display:none}.hero h1{font-size:64px;max-width:17ch}.hero-copy>p{max-width:620px}.workbench-layout{grid-template-columns:minmax(0,1fr)}.tool-help{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tools-heading h2{font-size:29px}
}
@media(max-width:600px){
  .topbar{height:68px;padding:0 max(19px,env(safe-area-inset-left,0px)) 0 max(19px,env(safe-area-inset-right,0px));gap:8px}.brand{font-size:24px;gap:8px;letter-spacing:-1.1px}.brand svg{width:35px;height:35px;border-radius:12px;padding:7px}.topbar-actions{gap:7px}.header-report{font-size:12px;min-height:44px;padding:0 10px;border-radius:13px}.theme-picker summary,.site-menu>summary{min-height:44px;height:44px;width:40px;border-radius:13px}.theme-picker summary>.palette-icon{width:22px;height:22px}.theme-popover{position:fixed;top:78px;right:max(19px,env(safe-area-inset-right,0px));max-width:calc(100vw - 38px);max-height:calc(100dvh - 95px);overflow-y:auto}.menu-panel{max-height:calc(100dvh - 68px)}.menu-inner{display:block;padding:18px 19px 23px}.side-nav{display:flex;gap:3px}.side-nav button,.menu-links a,.menu-panel .page-nav a{min-height:48px;font-size:16px;padding:10px 6px}.menu-links{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.side-nav .nav-count{margin-left:auto}.side-nav button svg{display:none}
  main{padding:0 max(19px,env(safe-area-inset-right,0px)) 0 max(19px,env(safe-area-inset-left,0px))}.hero{padding:24px 0 44px;max-width:none}.hero-pill{font-size:12px;line-height:1.5;padding:8px 12px;gap:8px;letter-spacing:-.1px}.hero h1{font-size:44px;line-height:1.09;letter-spacing:-1.9px;margin:27px 0 29px;max-width:16ch}.hero h1>span{letter-spacing:-1.4px}.hero-copy>p{font-size:16px;line-height:1.85;margin-bottom:29px}.hero-actions{display:flex;flex-direction:column;gap:12px;margin:28px 0 30px}.hero-actions .btn{width:100%;min-height:47px;font-size:14px;padding:11px 16px;border-radius:14px}.hero-benefits{font-size:12px;gap:12px 18px;line-height:1.7}.hero-benefits svg{width:15px;height:15px}
  .tools-section{margin:48px 0}.tools-heading{align-items:flex-start;gap:14px;margin-bottom:22px}.tools-heading h2{font-size:27px;letter-spacing:-.8px;max-width:none;margin-bottom:9px}.tools-heading p{font-size:14px;line-height:1.7}.tool-count{font-size:11px;padding:6px 10px;margin-top:4px}.discovery-bar{gap:16px;margin-bottom:22px}.search-box input{height:52px;border-radius:14px}.search-box>svg{top:16px}.search-box kbd{top:14px}.category-tabs{gap:7px;justify-content:flex-start;flex-wrap:wrap;overflow:visible}.category-tabs button{font-size:12px;min-height:44px;padding:9px 14px}
  .tool-grid{grid-template-columns:minmax(0,1fr);gap:16px}.tool-card{display:flex;min-height:275px;padding:23px;border-radius:25px;gap:0}.card-top{margin:0 0 21px;align-self:auto;display:flex;padding:0}.card-title{font-size:21px;line-height:1.3;padding:0;align-self:auto}.card-description{font-size:14px;line-height:1.65;margin-top:7px;padding:0;align-self:auto}.card-category{font-size:10px;letter-spacing:1.8px;margin-bottom:8px}.card-arrow{position:static;font-size:14px;margin-top:auto;padding-top:20px;gap:9px;width:auto;height:auto}.tool-card .tool-icon{width:49px;height:49px;border-radius:15px}
  .trust-strip{margin:40px 0;padding:24px;display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.trust-strip>div:not(.trust-icon){flex:1;min-width:180px}.trust-strip h2{font-size:17px}.trust-strip p{font-size:14px}.trust-strip>a{font-size:13px;margin:0;padding-left:0;white-space:normal;min-height:44px}.footer{margin:0 19px;padding:25px 0 max(30px,env(safe-area-inset-bottom,0px));gap:16px}.footer>span{display:block;line-height:1.5}.footer-tagline{display:block;margin:7px 0 0;font-size:13px}.footer>div,.content-page .footer nav{gap:8px 18px}.footer a,.footer button,.footer-free{font-size:12px}
  #tool-dialog{width:calc(100vw - 26px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));border-radius:23px}.dialog-top{padding:10px 16px}.dialog-brand{font-size:22px}.dialog-heading{padding:24px 19px;gap:14px;align-items:flex-start}.dialog-heading>.tool-icon{width:48px;height:48px;border-radius:15px}.dialog-heading>.tool-icon svg{width:25px;height:25px}.dialog-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.8px}.dialog-heading p{font-size:14px;line-height:1.65}.dialog-heading .eyebrow{font-size:9px;line-height:1.6;letter-spacing:1.3px}.workbench-layout{padding:0 14px 20px;gap:18px}.workbench{padding:20px 16px;border-radius:19px}.tool-help{display:flex;gap:12px}.tool-help>div{padding:20px;border-radius:19px}.tool-help h3{font-size:15px}.tool-help p,.tool-help ol{font-size:13px}.dialog-footer{font-size:11px;padding:16px 19px max(16px,env(safe-area-inset-bottom,0px))}.btn{font-size:14px;padding:11px 15px}.dropzone{padding:26px 16px;min-height:200px}.result-panel{padding:20px}.result-value{font-size:34px}.bug-report-header{padding:14px 19px}.bug-report-header h2{font-size:22px}.bug-report-body{padding:10px 19px max(24px,env(safe-area-inset-bottom,0px))}.bug-privacy-note{font-size:13px;padding:15px}.report-problem-button{font-size:11px;padding:6px 8px}
}
@media(max-width:370px){
  .topbar{padding-left:14px;padding-right:14px}.brand{font-size:22px;gap:6px}.brand svg{width:31px;height:31px;padding:6px;border-radius:10px}.topbar-actions{gap:5px}.header-report{padding:0 8px;font-size:11px}.theme-picker summary,.site-menu>summary{width:38px}.hero h1{font-size:40px}.hero-pill{font-size:11px;padding:8px 10px}.tool-count{display:none}.hero-benefits{gap:10px 14px;font-size:11px}
}
/* Keep the reference's persistent header while anchors clear it. */
.site-header{position:sticky;top:0}
.tools-section{scroll-margin-top:110px}
@media(max-width:600px){.tools-section{scroll-margin-top:90px}}
/* Canonical inline workspaces receive the same bounded, zoom-safe fields. */
#inline-workbench input,#inline-workbench select,#inline-workbench textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px}
#inline-workbench .field-grid>*,#inline-workbench .field>*{min-width:0;max-width:100%}
#inline-workbench .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Keep compact header controls at least 44 × 44 CSS pixels. */
.theme-picker summary,.site-menu>summary{min-width:44px}
@media(max-width:600px){.theme-picker summary,.site-menu>summary{width:44px}}
@media(max-width:370px){.topbar{padding-left:12px;padding-right:12px;gap:6px}.brand{font-size:21px}.topbar-actions{gap:4px}.theme-picker summary,.site-menu>summary{width:44px}}
