/* Shared palette */
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --ink: #172033;
  --ink-2: #5b6678;
  --line: #dce3ee;
  --accent: #2458d3;
  --accent-dark: #1948b3;
  --accent-soft: #edf2ff;
  --ok: #147d52;
  --ok-soft: #eef8f2;
  --danger: #b4233d;
  --danger-soft: #fff0f3;
  --clear: transparent;
  --shadow-ink: rgba(23, 32, 51, .035);
  --shadow-accent: rgba(36, 88, 211, .12);
}

/* Tool and informational pages */
/* UI redesign v1 — shared design rules. Keep identical across the six pages. */
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *):root{
  --measure:760px;--tool:1120px;
  --radius:20px;--radius-sm:12px;--s1:8px;--s2:16px;--s3:24px;--s4:32px;--s5:48px;--s6:64px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,Consolas,Menlo,monospace;
}
*:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){box-sizing:border-box}
html:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){scroll-behavior:smooth;scroll-padding-top:24px}
body:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){margin:0;padding:0 24px 32px;background:var(--bg);color:var(--ink);font:16px/1.7 var(--font)}
button:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),input:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){font:inherit}
button:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),a:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),input:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),summary:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){touch-action:manipulation}
a:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){color:var(--accent);text-underline-offset:4px}
a:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *):hover{text-decoration-thickness:2px}
button:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){cursor:pointer}
button:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *):disabled{cursor:not-allowed;opacity:.5;transform:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)::selection{background:var(--accent);color:var(--card)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)[hidden]{display:none!important}
h1:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),h2:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),h3:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),p:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){margin:0}
h1:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),h2:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),h3:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){line-height:1.25}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).wrap{max-width:var(--tool);margin:0 auto;min-width:0}
main:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){min-width:0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).skip-link{position:absolute;left:24px;top:-80px;z-index:10;padding:12px 20px;background:var(--ink);color:var(--card);border-radius:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).skip-link:focus{top:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).site-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).brand{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:18px;font-weight:750;letter-spacing:-.6px;text-decoration:none;white-space:nowrap;min-height:44px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).brand-light{font-weight:450}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).brand-mark{display:grid;place-items:center;width:36px;height:36px;margin-right:4px;background:var(--accent);color:var(--card);border-radius:10px;font:700 19px var(--mono);letter-spacing:-3px;padding-right:3px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px;text-decoration:none;color:var(--ink-2);font-size:13px;font-weight:600}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links a:hover{background:var(--accent-soft);color:var(--ink)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links a[aria-current=page]{background:var(--accent-soft);color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero{padding:64px 0 40px;max-width:800px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).eyebrow{display:flex;align-items:center;gap:10px;color:var(--accent);font-size:.75rem;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).eyebrow::before{content:"";width:22px;height:2px;background:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero h1{font-size:48px;letter-spacing:-2px;font-weight:750}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero .tagline{max-width:630px;margin-top:16px;color:var(--ink-2);font-size:18px;line-height:1.65}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).trust-line{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2);margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).trust-dot{width:7px;height:7px;background:var(--ok);border-radius:50%;flex:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-shortcuts{display:flex;gap:8px;margin-top:24px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-shortcuts a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:9px 18px;border:1px solid var(--line);border-radius:12px;background:var(--card);font-size:14px;font-weight:650;text-decoration:none;color:var(--ink)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-shortcuts a:first-child{background:var(--ink);color:var(--card);border-color:var(--ink)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-shortcuts a:hover{border-color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-panel,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copier,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cleaner{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:32px;min-width:0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copier{max-width:var(--tool);margin:0 auto;box-shadow:0 8px 32px var(--shadow-ink)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-heading h2{font-size:24px;letter-spacing:-.6px;font-weight:700}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-heading p{color:var(--ink-2);font-size:14px;margin-top:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).step-label{font:600 .75rem var(--mono);letter-spacing:1px;color:var(--ink-2);background:var(--bg);padding:8px 12px;border-radius:8px;white-space:nowrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).field-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:12px;font-size:13px;font-weight:650}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).field-heading small{font-size:12px;font-weight:400;color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip-row,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;min-width:0;min-height:140px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:16px;text-align:left;font-size:14px;font-weight:650;transition:background .15s,border-color .15s}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip:hover{border-color:var(--accent);background:var(--bg)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip.on{border:2px solid var(--accent);padding:15px;background:var(--accent-soft);color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip.on::after{content:"✓";position:absolute;top:12px;right:12px;font-size:13px;color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).c-code{font:12px var(--mono);color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).character-swatch{display:flex;align-items:center;justify-content:center;width:40px;height:30px;margin-bottom:8px;color:var(--ink-2);font:18px var(--mono)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).character-swatch::before,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).character-swatch::after{content:"";height:22px;width:5px;border-top:1px solid var(--ink-2);border-bottom:1px solid var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).character-swatch::before{border-left:1px solid var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).character-swatch::after{border-right:1px solid var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).swatch-gap{height:22px;width:20px;background:var(--accent-soft)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).swatch-gap.zero{width:2px;background:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).swatch-gap.letter{width:11px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip.on .swatch-gap{background:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copier-meta{font-size:13px;color:var(--ink-2);margin-top:16px}
code:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){font-family:var(--mono);font-size:.85em;background:var(--bg);padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-bottom{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).control-label{display:block;font-size:13px;font-weight:650;margin-bottom:10px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copier-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--card)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper button{width:44px;min-height:46px;border:0;background:var(--clear);color:var(--ink-2);font-size:21px;border-radius:10px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper button:hover{color:var(--accent);background:var(--accent-soft)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper input{width:64px;min-height:46px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;color:var(--ink);font-size:16px;font-weight:650;background:var(--clear);-moz-appearance:textfield}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper input::-webkit-inner-spin-button,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).presets{display:flex;gap:6px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).presets button{min-height:44px;padding:8px 12px;font-size:13px;font-weight:600;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).presets button:hover,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).presets button.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
button:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn{transition:background .15s,border-color .15s,color .15s}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-main,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-primary,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;background:var(--accent);color:var(--card);border:1px solid var(--accent);border-radius:12px;font-size:14px;font-weight:650;text-decoration:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-main:hover,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-primary:hover,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-ghost,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;background:var(--card);color:var(--ink-2);border:1px solid var(--line);border-radius:12px;font-size:14px;font-weight:600}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-ghost:hover,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).btn-secondary:hover{border-color:var(--accent);color:var(--ink);background:var(--bg)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-btn{width:100%;font-size:16px;min-height:52px;box-shadow:0 4px 10px var(--shadow-accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-btn.done{background:var(--ok);border-color:var(--ok)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-status{min-height:24px;margin-top:10px;color:var(--ok);font-size:13px;font-weight:600;overflow-wrap:anywhere}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-status.error,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).result-status.error{color:var(--danger)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-note{margin-top:8px;color:var(--ink-2);font-size:12px;line-height:1.6}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-proof{display:none;margin-top:8px;font-size:13px;color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-proof.show{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-width{display:flex;align-items:center;gap:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-box{display:inline-block;height:20px;background:var(--accent-soft);border:1px solid var(--accent);border-radius:3px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-box.full{width:20px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-box.letter{width:10px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-bar{display:inline-block;width:2px;height:20px;background:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).proof-hint{display:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).detect-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:13px;text-decoration:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cleaner{margin:32px auto 0;scroll-margin-top:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).card{min-width:0;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:20px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).card h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).card h3,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).editor-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;margin-bottom:12px;line-height:1.5}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).num{display:inline-grid;place-items:center;width:22px;height:22px;background:var(--accent-soft);color:var(--accent);border-radius:6px;font:600 .75rem var(--mono);flex:none}
textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){display:block;width:100%;max-width:100%;height:280px;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:16px;font-size:15px;line-height:1.7;color:var(--ink);background:var(--card)}
textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *):focus{border-color:var(--accent)}
textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)::placeholder{color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).out-box{height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:10px;padding:16px;background:var(--card);font-size:15px;line-height:1.7}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--ink-2);font-variant-numeric:tabular-nums}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).meta b{color:var(--ink);font-weight:650}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).out-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).result-status{min-height:24px;margin-top:8px;color:var(--ok);font-size:13px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).preview-section{margin-top:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).preview-section h3{font-size:14px;font-weight:650;margin-bottom:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).preview-box{max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px dashed var(--line);border-radius:10px;background:var(--bg);font-size:14px;line-height:1.9;color:var(--ink-2)}
mark:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hit{background:var(--danger-soft);color:var(--danger);font:600 .75rem var(--mono);padding:2px 4px;border-radius:4px;border-bottom:1px solid var(--danger);margin:0 1px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).vis-space,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).vis-tab{color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).banner{display:none;margin-bottom:16px;padding:12px 16px;border-radius:10px;font-size:14px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).banner.show{display:block}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).banner.ok{background:var(--ok-soft);color:var(--ok)}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).banner.bad{background:var(--danger-soft);color:var(--danger)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stats{margin-top:24px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stats>.card{border:0;padding:0;background:var(--clear)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stat-item{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stat-item .code{font:600 .75rem var(--mono);color:var(--danger)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stat-item .nm{font-size:13px;margin-top:6px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stat-item .ct{font-size:24px;font-weight:700;line-height:1.4;margin-top:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stat-item .ct small{font-size:12px;font-weight:400;color:var(--ink-2);margin-left:6px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opts{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opts>summary{min-height:44px;cursor:pointer;font-size:14px;font-weight:650;padding:8px 0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opts h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opts h3{font-size:14px;font-weight:650;margin-bottom:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opt-row{display:flex;gap:8px 24px;align-items:center;flex-wrap:wrap;margin-top:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).opt-row>label{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px;cursor:pointer}
input:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)[type=checkbox],input:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)[type=radio]{width:17px;height:17px;accent-color:var(--accent);flex:none}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).radio{display:flex;gap:8px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).radio label{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;cursor:pointer}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).radio label.on,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).radio label:has(input:checked){color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hint,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).boundary-note{font-size:12px;color:var(--ink-2);margin-top:16px;line-height:1.75}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).paste-hint{display:none;padding:12px 16px;background:var(--accent-soft);border:1px solid var(--accent);border-radius:10px;font-size:13px;color:var(--accent-dark);margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq{max-width:var(--measure);margin:48px auto 0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section-h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section>h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq>h2{font-size:26px;font-weight:700;letter-spacing:-.6px;margin-bottom:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section h3,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section h3{font-size:18px;margin:24px 0 8px;font-weight:650}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section p,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section p{margin-bottom:16px;color:var(--ink-2)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section p:last-child,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section p:last-child{margin-bottom:0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:12px;margin:16px 0;background:var(--card)}
table:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){width:100%;border-collapse:collapse;font-size:13px;line-height:1.6;margin:0}
th:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),td:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){padding:14px 16px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--line)}
th:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){background:var(--bg);color:var(--ink);font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;font-weight:700}
tbody:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *) tr:last-child td{border-bottom:0}
tbody:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *) tr:nth-child(even){background:var(--bg)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).table-scroll table{min-width:620px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).table-note{margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).inline-link{color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq details{border:0;border-bottom:1px solid var(--line);background:var(--clear);padding:0;margin:0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq summary{cursor:pointer;min-height:56px;padding:16px 24px 16px 0;font-size:15px;font-weight:600;line-height:1.6}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq summary h3{font-size:15px!important;line-height:1.6}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq details p{padding:0 0 20px;color:var(--ink-2);font-size:14px}
footer:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){max-width:var(--tool);border-top:1px solid var(--line);margin:64px auto 0;padding-top:24px;color:var(--ink-2);font-size:12px;line-height:1.8;text-align:left}
footer:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *) a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink-2);text-decoration:none}
footer:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *) a:hover{color:var(--accent)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-top{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:16px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-links{display:flex;gap:16px;flex-wrap:wrap}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).legal{max-width:760px;color:var(--ink-2);font-size:.75rem!important;line-height:1.8;margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-context{max-width:760px;font-size:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-context>summary{min-height:44px;cursor:pointer;padding:10px 0}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).manual-copy{margin-top:12px;padding:16px;background:var(--danger-soft);border-radius:12px;font-size:13px;color:var(--danger)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).manual-copy label{display:block;font-weight:650;margin-bottom:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).manual-copy textarea{height:90px;font-family:var(--mono);background:var(--card);color:var(--ink)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).manual-copy p{margin-top:8px;font-size:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .chip-row{grid-template-columns:repeat(3,minmax(0,1fr))}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .chip{min-height:110px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .blank-controls{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-policy main{max-width:var(--measure);margin:auto}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-policy .hero{padding-bottom:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-policy main>section{margin-top:32px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-policy main>section h2{font-size:22px;margin-bottom:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-policy main>section p{color:var(--ink-2);margin-bottom:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stamp{font-size:13px;color:var(--ink-2);margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 .error-panel{max-width:640px;margin:64px auto 0;padding:48px;background:var(--card);border:1px solid var(--line);border-radius:20px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).error-code{font:600 13px var(--mono);color:var(--accent);letter-spacing:2px;margin-bottom:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 h1{font-size:48px;letter-spacing:-2px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 .error-panel>p{color:var(--ink-2);margin-top:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 .error-panel>.btn-main{margin-top:24px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist-card{min-width:0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-kicker{color:var(--accent);font-size:.75rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin-bottom:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist h3{font-size:18px;letter-spacing:-.3px;margin-bottom:8px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-description{font-size:13px;color:var(--ink-2);line-height:1.6;min-height:42px;margin-bottom:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist textarea{height:80px;min-height:80px;font-size:16px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist .manual-character{border-style:dashed;font-family:var(--mono);background:var(--card)}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist .control-label{font-size:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-actions{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-top:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-actions button{flex:none;font-size:12px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-status{flex:1 1 140px;font-size:12px;line-height:1.6;color:var(--ink-2);margin-top:2px;min-height:20px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).test-metrics{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:.75rem;color:var(--ink-2);margin-top:8px;font-variant-numeric:tabular-nums}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).test-metrics b{color:var(--ink);font-size:13px}
:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).test-codes{font:.75rem/1.7 var(--mono);color:var(--ink-2);margin-top:8px;overflow-wrap:anywhere;min-height:19px}
@media(max-width:1023px){:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).site-nav{gap:16px;align-items:flex-start}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links{justify-content:flex-end}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links a{font-size:12px;padding:8px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip{padding:12px;font-size:13px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip.on{padding:11px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-bottom{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:767px){
  body:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){padding:0 16px 24px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).site-nav{display:block;padding:16px 0}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).brand{font-size:17px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links{justify-content:flex-start;margin-top:8px;gap:0}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).nav-links a{font-size:12px;padding:8px 10px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero{padding:28px 0 24px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero .tagline,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero .trust-line{margin-top:12px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero .tool-shortcuts{margin-top:16px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero h1,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 h1{font-size:34px;letter-spacing:-1.2px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).hero .tagline{font-size:16px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).eyebrow{font-size:.75rem;letter-spacing:1.4px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-panel,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copier,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cleaner{padding:20px;border-radius:20px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-heading{gap:12px;flex-wrap:wrap}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).tool-heading h2{font-size:21px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).step-label{font-size:.75rem;padding:6px 10px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip-row,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip{min-height:130px;padding:14px;font-size:13px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip.on{padding:13px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).chip-row>.chip:last-child:nth-child(odd){grid-column:1/-1;min-height:110px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist{grid-template-columns:minmax(0,1fr);gap:16px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-assist-card{padding:16px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).assist-description{min-height:0}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-bottom,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cols,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .blank-controls{grid-template-columns:minmax(0,1fr);gap:20px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).copy-bottom{margin-top:20px;padding-top:20px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).cleaner{margin-top:24px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).card{padding:16px}
  textarea:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).out-box{height:240px;font-size:16px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).toolbar button{flex:1 1 auto}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).out-actions button{flex:1 1 auto}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq{margin-top:40px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).section-h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).content-section>h2,:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).faq>h2{font-size:23px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).table-scroll{max-width:100%}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).stepper input{width:60px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .chip-row{grid-template-columns:1fr}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-blank .chip-row>.chip{grid-column:auto;min-height:85px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).page-404 .error-panel{padding:32px 24px;margin-top:40px}
  :where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).field-heading{flex-wrap:wrap;gap:4px}footer:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){margin-top:48px}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-top{display:block}:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *).footer-links{gap:16px}
}
@media(prefers-reduced-motion:reduce){html:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *){scroll-behavior:auto}*:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *),*:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)::before,*:where(html[data-site-layout="tools"], html[data-site-layout="tools"] *)::after{transition:none!important;animation:none!important}}

/* Account and pricing pages */
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *):root {
  color-scheme: light;
  font: 16px/1.6 system-ui, sans-serif;
}

*:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { box-sizing: border-box; }
body:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { margin: 0; background: var(--bg); color: var(--ink); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *)[hidden] { display: none !important; }
a:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { color: var(--accent); text-underline-offset: .18em; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).skip-link { position: absolute; left: 16px; top: -100px; padding: 10px; background: var(--card); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).skip-link:focus { top: 16px; z-index: 1; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).site-nav, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).footer-links, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links { display: flex; align-items: center; flex-wrap: wrap; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).site-nav { justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 750; text-decoration: none; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).brand-mark { padding: 2px 7px; background: var(--accent-soft); color: var(--accent); border-radius: 8px; font: .95rem/1.5 monospace; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links { gap: 4px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links a, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).footer-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink-2); font-size: .875rem; text-decoration: none;
}
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links a { padding: 6px 10px; border-radius: 10px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links a:hover, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).nav-links a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
footer:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { border-top: 1px solid var(--line); padding: 16px 0 24px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).footer-links { gap: 4px 20px; overflow-wrap: anywhere; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).footer-links a:hover { text-decoration: underline; }

main:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { padding: 56px 0 64px; }
h1:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *), h2:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { margin: 0; line-height: 1.15; }
h1:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.06em; }
h2:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { font-size: 1.3rem; letter-spacing: -.03em; }
p:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { margin: 0; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).intro { max-width: 670px; margin: 12px 0 28px; color: var(--ink-2); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).availability { margin: 0 0 20px; font-weight: 650; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--card);
}
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan-featured { border-color: var(--accent); background: var(--accent-soft); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).price { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 750; line-height: 1.1; letter-spacing: -.06em; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).price span { color: var(--ink-2); font-size: .875rem; font-weight: 550; letter-spacing: normal; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan ul { padding-left: 19px; margin: 0 0 4px; flex: 1; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan li, :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).small { color: var(--ink-2); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plan li + li { margin-top: 6px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).small { font-size: .875rem; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).savings { color: var(--accent); font-weight: 650; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).billing-details { display: grid; gap: 10px; margin-top: 28px; max-width: 760px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).billing-details p { color: var(--ink-2); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px;
  background: var(--accent); border: 1px solid var(--clear); border-radius: 10px; color: var(--card);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button:hover { background: var(--accent-dark); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button.secondary { color: var(--accent); border-color: var(--line); background: var(--card); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button.secondary:hover { background: var(--accent-soft); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-main { max-width: 580px; margin-inline: auto; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-card { display: grid; gap: 12px; min-width: 0; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-email { font-weight: 650; overflow-wrap: anywhere; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).status { color: var(--ink-2); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).status:empty { display: none; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-terms { margin-top: 16px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-state { display: grid; gap: 12px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-google {
  display: inline-grid; place-items: center; min-height: 44px;
  padding: 0; border: 0; border-radius: 6px; background: var(--clear); cursor: pointer;
}
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-google img { display: block; max-width: 100%; height: auto; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-google:hover img { filter: brightness(.97); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-delete { border-top: 1px solid var(--line); padding-top: 8px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-delete summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-delete p { margin-block: 0 12px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).account-delete .status:not(:empty) { margin-top: 8px; }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button.danger { color: var(--danger); background: var(--card); border-color: var(--danger); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button.danger:hover { background: var(--danger-soft); }
:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).button:disabled { opacity: .55; cursor: wait; }


@media (max-width: 760px) {
  main:where(html[data-site-layout="plans"], html[data-site-layout="plans"] *) { padding-block: 36px 48px; }
  :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).site-nav { align-items: flex-start; }
  :where(html[data-site-layout="plans"], html[data-site-layout="plans"] *).plans { grid-template-columns: 1fr; }
}


/* Membership, account balance and billing */
.nav-links .member-nav-button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--accent);
  font: 650 .8125rem/1.4 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.nav-links .member-nav-button:hover { background: var(--accent-soft); }
.nav-links .member-nav-button:disabled, .plan button:disabled { opacity: .55; cursor: not-allowed; }
[data-credit-preview][hidden], [data-catalog-preview-notice][hidden] { display: none !important; }
.billing-details .plans { margin-block: 8px; }
.plan h3 { margin: 0; font-size: 1.15rem; }
.membership-sections { margin-block-start: 18px; }
.account-card .membership-balance { color: var(--ink); font: inherit; }
.credit-activity { width: 100%; border-collapse: collapse; font-size: .875rem; }
.credit-activity thead { color: var(--ink-2); }
.credit-activity :is(th, td) {
  padding: 8px 4px;
  border-top: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.credit-activity :is(th, td):last-child { text-align: end; font-variant-numeric: tabular-nums; }


/* ===== 设计审稿修订 2026-11-23：只动样式，不改标题、描述、H1 与任何文案 ===== */
.tool-shortcuts a:last-child {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--muted, #4b5563);
  padding-inline: 6px;
  font-weight: 500;
}
.tool-shortcuts a:last-child:hover,
.tool-shortcuts a:last-child:focus-visible {
  background: none;
  color: var(--text, #111827);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copy-assist { gap: 20px; margin-top: 28px; }
.copy-assist-card {
  background: var(--surface, #fff);
  border: 1px solid var(--line, rgb(17 24 39 / .1));
  border-radius: var(--radius, 12px);
  padding: 20px;
}
.table-scroll th,
.table-scroll td { padding: 12px 14px; }
.table-scroll tbody tr:nth-child(even) { background: #f8fafc; }
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .hero h1 { font-size: 30px; margin-block: 0 .45em; }
  .hero .tagline { margin-block: 0 .7em; }
  .copy-assist { grid-template-columns: 1fr; }
  .copy-assist-card { padding: 16px; }
}


/* ===== 设计审稿第二轮修订 2026-11-23：手机端压缩首屏垂直空间 ===== */
.hero .tagline { margin-bottom: 0; }
.hero .trust-line { margin-block: 0 .9em; }
.tool-shortcuts a + a { margin-left: 14px; }
.table-scroll thead th { font-weight: 600; }
@media (max-width: 768px) {
  .site-nav { margin-bottom: 12px; }
  .nav-links {
    -webkit-mask-image: linear-gradient(to right, #000 88%, rgb(0 0 0 / 0));
    mask-image: linear-gradient(to right, #000 88%, rgb(0 0 0 / 0));
    padding-right: 18px;
  }
  .hero { margin-bottom: 20px; }
  .hero .tagline { margin-bottom: 0; line-height: 1.45; }
  .hero .trust-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block: 2px 12px;
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid var(--line, rgb(17 24 39 / .12));
    border-radius: 999px;
  }
  .tool-shortcuts { margin-top: 12px; }
  .tool-shortcuts a + a { margin-left: 10px; }
  .chip .character-swatch { font-size: 24px; color: #333; }
  .chip { min-height: 52px; }
}


/* ===== 收尾：导航右侧渐隐缓冲，避免文字被硬切 ===== */
@media (max-width: 768px) {
  .nav-links {
    padding-right: 40px;
    -webkit-mask-image: linear-gradient(to right, #000 80%, rgb(0 0 0 / 0) 100%);
    mask-image: linear-gradient(to right, #000 80%, rgb(0 0 0 / 0) 100%);
  }
}
@media (min-width: 769px) {
  .nav-links { font-size: 15px; font-weight: 500; }
}
