:root { scroll-behavior:smooth; }
body { min-height:100vh; background:var(--paper-bright); }
.toolbox-site-header { padding:28px 0 24px; border-bottom:1px solid var(--line); background:rgba(250,247,240,.96); }
.toolbox-site-header-inner { display:flex; align-items:end; justify-content:space-between; gap:24px; }
.toolbox-site-kicker { color:var(--brass); font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.toolbox-site-header h1 { margin:5px 0 0; font-size:clamp(42px,7vw,74px); line-height:.95; }
.toolbox-site-total { min-width:96px; display:grid; justify-items:end; }
.toolbox-site-total strong { font-family:var(--serif); font-size:38px; font-weight:400; line-height:1; }
.toolbox-site-total span { margin-top:5px; color:#6a6358; font-size:12px; }
.toolbox-account { display:flex; align-items:center; gap:12px; }
.toolbox-account-name { max-width:220px; overflow:hidden; color:#6a6358; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.toolbox-feedback-link { color:var(--ink); font:600 12px var(--sans); }
.toolbox-feedback-link { text-underline-offset:3px; }
.toolbox-logout { min-height:40px; display:inline-flex; align-items:center; justify-content:center; padding:8px 14px; border:1px solid var(--line); background:transparent; color:var(--ink); font:600 12px var(--sans); text-decoration:none; cursor:pointer; }
.toolbox-logout:hover { background:var(--ink); color:var(--paper-bright); }
.toolbox-intro { padding-top:36px; padding-bottom:18px; }
.toolbox-intro p { max-width:780px; margin:0; color:#5f594f; font-size:clamp(17px,2.2vw,22px); line-height:1.55; }
.toolbox-page-tabs { position:sticky; top:0; z-index:40; background:rgba(250,247,240,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.toolbox-all-charts { scroll-margin-top:88px; }
.toolbox-site-footer { margin-top:80px; padding:24px 0; border-top:1px solid var(--line); color:#6a6358; font-size:12px; }
.toolbox-site-footer .toolbox-footer-main { display:flex; justify-content:space-between; gap:20px; }
.toolbox-site-footer a { color:var(--ink); font-weight:600; text-underline-offset:3px; }
.toolbox-footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 20px; }
.toolbox-copyright-detail { max-width:980px; margin-top:14px; margin-bottom:0; line-height:1.55; }
.toolbox-legal-content { max-width:900px; padding-top:52px; padding-bottom:40px; }
.toolbox-legal-content section { max-width:760px; margin-top:42px; }
.toolbox-legal-content h2 { margin-bottom:12px; font-size:clamp(26px,4vw,38px); }
.toolbox-legal-content p { color:#5f594f; font-size:16px; line-height:1.7; }
.toolbox-legal-lead { color:var(--ink)!important; font-family:var(--serif); font-size:clamp(24px,4vw,36px)!important; }
.toolbox-legal-content a { color:var(--ink); font-weight:600; text-underline-offset:3px; }
.toolbox-auth-gate { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; overflow:auto; padding:24px; background:var(--paper); }
.toolbox-auth-gate[hidden] { display:none; }
.toolbox-auth-card { width:min(480px,100%); padding:38px; border:1px solid var(--line); background:var(--paper-bright); box-shadow:0 22px 60px rgba(47,42,33,.14); }
.toolbox-auth-card h1 { margin:7px 0 14px; font-size:clamp(38px,8vw,58px); line-height:1; }
.toolbox-auth-card > p:not(.toolbox-site-kicker) { color:#625b50; line-height:1.55; }
.toolbox-auth-card form { display:grid; gap:16px; margin-top:22px; }
.toolbox-auth-card label { display:grid; gap:7px; color:var(--ink); font-size:13px; font-weight:600; }
.toolbox-auth-card input:not([type="checkbox"]) { width:100%; min-height:48px; padding:10px 12px; border:1px solid #bdb4a8; background:#fff; color:var(--ink); font:inherit; }
.toolbox-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:22px; }
.toolbox-auth-tabs button { min-height:42px; border:1px solid var(--line); background:transparent; color:var(--ink); font:600 13px var(--sans); cursor:pointer; }
.toolbox-auth-tabs button[aria-pressed="true"] { background:var(--ink); color:var(--paper-bright); }
.toolbox-auth-name-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.toolbox-auth-import { grid-template-columns:auto 1fr!important; align-items:start; gap:9px!important; font-weight:400!important; line-height:1.4; }
.toolbox-auth-import input { margin-top:3px; }
.toolbox-auth-error { margin:0; padding:11px 12px; border-left:4px solid #8a2346; background:#f5e7eb; color:#6f1735!important; font-weight:700; }
.toolbox-captcha-wrap { min-height:78px; max-width:100%; overflow:hidden; }
body[data-auth-state="loading"],body[data-auth-state="signed-out"] { overflow:hidden; }
.toolbox-help-top { margin-top:0; }
@media (max-width:700px) {
  .toolbox-site-header { padding:22px 0 18px; }
  .toolbox-site-header-inner { align-items:center; flex-wrap:wrap; }
  .toolbox-account { width:100%; justify-content:space-between; }
  .toolbox-account-name { display:none; }
  .toolbox-feedback-link { flex:1; }
  .toolbox-logout { width:100%; }
  .toolbox-site-total strong { font-size:30px; }
  .toolbox-intro { padding-top:24px; }
  .toolbox-site-footer .toolbox-footer-main { flex-direction:column; }
  .toolbox-footer-links { justify-content:flex-start; }
  .toolbox-auth-card { padding:28px 22px; }
  .toolbox-auth-name-row { grid-template-columns:1fr; }
}
