/* KT8 Tools shared look (copied from kt8.com site/public/tools/tools.css; keep in step).
   Colours, type, top bar and footer come from kt8.com /assets/site.css. */
.eyebrow .pill { background: var(--post-soft); color: var(--post); border-radius: 999px; padding: 2px 10px; letter-spacing: 0; text-transform: none; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input { flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.field input:focus { outline: 2px solid var(--post); outline-offset: 1px; }
.field button { font: inherit; font-weight: 600; font-size: 1rem; padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid var(--post); background: var(--post); color: #fff; cursor: pointer; }
.field button:hover { background: var(--post-deep); border-color: var(--post-deep); }
.field button:disabled { opacity: .6; cursor: progress; }
/* The hero: a calm band with the address front and centre, like a post office counter. */
.tool-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(60rem 22rem at 50% -6rem, color-mix(in srgb, var(--post) 13%, transparent), transparent 70%),
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
  var(--bg-2); }
.tool-in { position: relative; max-width: 900px; margin: 0 auto; padding: 34px 16px 64px; text-align: center; }
.tool-in .eyebrow { justify-content: center; }
.tool-in h1 { font-weight: 680; font-size: clamp(2.3rem, 1.7rem + 2.6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.06; margin: 22px 0 12px; text-wrap: balance; }
.tool-in .lede { color: var(--ink); opacity: .82; font-size: 1.25rem; line-height: 1.5; margin: 0 auto 30px; max-width: 40rem; text-wrap: pretty; }
.tool-card { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 30px 30px 26px; text-align: left; }
.tool-label { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.015em; margin: 0 0 14px; text-align: center; }
/* Line drawings either side on wide screens. */
.tool-art { position: absolute; top: 150px; width: 210px; color: var(--post); opacity: .9; pointer-events: none; }
.tool-art.l { left: max(8px, calc(50% - 600px)); }
.tool-art.r { right: max(8px, calc(50% - 600px)); color: var(--ink-faint); }
@media (max-width: 1080px) { .tool-art { display: none; } }
@media (max-width: 560px) { .tool-card { padding: 22px 16px 20px; border-radius: 16px; } }

.tool-body { max-width: 900px; margin: 0 auto; padding: 8px 16px 72px; }
.tool-gate { max-width: 680px; margin: 0 auto; text-align: left; }
.tool-gate .signed { justify-content: center; margin-top: 18px; }
.tool-gate .panel { padding: 28px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.tool-gate .panel h2 { font-size: 1.4rem; text-align: center; }
.tool-gate .panel p { color: var(--ink); font-size: 1.08rem; }
.result { scroll-margin-top: 84px; }
.tools-top .mark { gap: 9px; }
.result .check p.sum, .result .why, .result .steps { color: var(--ink); font-size: 1.05rem; }
.tool-card .field input { font-size: 1.2rem; padding: 15px 16px; border-width: 2px; border-radius: 14px; }
.tool-card .field button { font-size: 1.15rem; padding: 15px 26px; border-radius: 14px; }
.tool-card .hint { text-align: center; color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 14px; }
.tool-body:has(> .result:empty) { padding: 0; }
/* The invite-only sign-in box, drawn by kt8.com/tools/tools.js (same as the other tools). Scoped to .tool-gate
   because the report page has its own .panel sections. */
[hidden] { display: none !important; }
.tool-gate .panel { background: var(--sheet); border: 1px solid var(--line); }
.tool-gate .panel h2 { margin: 0 0 6px; font-weight: 650; letter-spacing: -0.01em; }
.tool-gate .panel p { margin: 0 0 14px; }
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.tool-gate .err { color: var(--post); margin: 10px 0 0; font-weight: 500; }
.tool-gate .small { font-size: .9rem; color: var(--ink-faint); }
.signed { display: flex; justify-content: flex-end; gap: 10px; font-size: .9rem; color: var(--ink-faint); margin-top: 8px; }
