/* Websage free tools. Loaded after v2.css on /tools/ pages. */
.tool-hero { padding: 64px 0 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.tool-hero .h1 { font-size: clamp(38px, 5.6vw, 64px); max-width: 900px; }
.tool-hero .lead { max-width: 660px; }
.tool-hero .eyebrow a { text-decoration: none; }
.tool-hero .eyebrow a:hover { text-decoration: underline; }
.free-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.free-row span { display: inline-flex; align-items: center; gap: 6px; }
.free-row span::before { content: ""; width: 16px; height: 16px; background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.tool-shell { max-width: 820px; margin: 0 auto; padding: 8px 0 88px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 24px 48px -24px rgba(11,11,12,.18); }
.tool-card + .tool-card { margin-top: 20px; }
.tool-form { display: grid; gap: 18px; }
.tool-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-form .row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f label, .f .lbl { font-size: 15px; font-weight: 600; color: var(--ink); }
.f .opt-tag { font-weight: 400; color: var(--muted); }
.f input, .f textarea, .f select { font: inherit; font-size: 17px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; min-height: 52px; background: #fff; color: var(--ink); width: 100%; }
.f textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--tint-line); }
.f .hint { font-size: 14px; color: var(--ink-2); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: #C0362C; }
.url-row { display: flex; gap: 12px; }
.url-row input { flex: 1; }
.url-row .btn { flex: 0 0 auto; }
.tool-form .btn[type="submit"] { justify-self: start; }
.fine { font-size: 14px; color: var(--ink-2); }
.fine a { color: var(--ink-2); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg > label > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--ink); background: #fff; cursor: pointer; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.stars { gap: 6px; }
.stars > label > span { min-width: 0; padding: 10px 11px; gap: 4px; }
.stars svg { width: 18px; height: 18px; fill: #F2A33A; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 500; border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 40px; text-align: left; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

.btn[disabled] { opacity: .65; cursor: progress; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-soft { background: var(--tint); color: var(--ink); border: 1px solid var(--tint-line); }
.btn-soft:hover { background: #FFE4D6; color: var(--ink); }

.alert { border-radius: 14px; padding: 14px 16px; font-size: 16px; background: #FDECEA; color: #8A2219; border: 1px solid #F5C6C0; }
.alert[hidden] { display: none; }

/* Loading */
.working { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 12px; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 16px; color: var(--ink-2); }
.steps li { display: flex; gap: 10px; align-items: center; }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; }
.steps li.on { color: var(--ink); font-weight: 500; }
.steps li.on::before { border-color: var(--accent); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.steps li.done::before { border: 0; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }


/* Results */
.result-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.grade { width: 112px; height: 112px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.grade b { font-family: var(--display); font-weight: 700; font-size: 60px; line-height: 1; }
.grade small { font-size: 14px; opacity: .9; margin-top: 2px; }
.g-A { background: #1E7A4C; } .g-B { background: #3F8F3A; } .g-C { background: #C98A12; } .g-D { background: #D5651B; } .g-F { background: #B8322A; }
.result-head .h3 { font-size: 26px; }
.tally { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.pill-pass { background: #E6F4EC; color: #17633D; }
.pill-warn { background: #FFF2D9; color: #8A5A00; }
.pill-fail { background: #FDECEA; color: #9B2A22; }
.pill-skip { background: var(--soft); color: var(--ink-2); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; margin-top: 28px; align-items: start; }
.phone-shot { border-radius: 30px; border: 8px solid var(--deep); background: var(--deep); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 100px; }
.phone-shot img { width: 100%; display: block; border-radius: 20px; }
.phone-shot figcaption { color: #D4D4D8; font-size: 12px; text-align: center; padding: 8px 4px 2px; }
.group-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 22px 0 8px; }
.group-title:first-child { margin-top: 0; }
.check-item { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; background: #fff; }
.check-item + .check-item { margin-top: 8px; }
.check-item .ic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; grid-row: span 2; margin-top: 1px; }
.check-item .ic svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ic-pass { background: #1E7A4C; } .ic-skip { background: #8E8E96; } .ic-warn { background: #D99A1E; } .ic-fail { background: #C0362C; }
.check-item b { font-weight: 600; }
.check-item p { color: var(--ink-2); font-size: 16px; overflow-wrap: anywhere; }
.check-item .fix { grid-column: 2; margin-top: 6px; font-size: 15px; background: var(--tint-2); border-radius: 10px; padding: 8px 12px; color: var(--ink); }
.check-item .fix b { color: var(--accent); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }

.verdict { border-radius: 18px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.verdict .h3 { font-size: 24px; }
.verdict p { margin-top: 6px; color: var(--ink); }
.v-strong { background: #E6F4EC; } .v-listed { background: #EEF6E7; } .v-sometimes { background: #FFF2D9; } .v-missing { background: #FDECEA; }
.q-block { margin-top: 22px; }
.q-block .q { font-weight: 600; font-size: 17px; display: flex; gap: 10px; align-items: flex-start; }
.q-block .q::before { content: "Q"; flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--accent-fill); color: var(--ink); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.picks { list-style: none; counter-reset: p; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.picks li { counter-increment: p; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 16px; }
.picks li::before { content: counter(p); font-weight: 700; color: var(--ink-2); }
.picks li.you { background: #E6F4EC; outline: 2px solid #1E7A4C; }
.picks li.you b::after { content: "You"; margin-left: 8px; font-size: 12px; background: #1E7A4C; color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.picks li span { color: var(--ink-2); display: block; font-size: 15px; }
.not-listed { margin-top: 8px; font-size: 15px; color: #9B2A22; font-weight: 500; }
.sources { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.sources a { color: var(--ink-2); }

.reply-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.reply-card + .reply-card { margin-top: 12px; }
.reply-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.reply-card .tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: none; border: 0; }
.reply-card p { white-space: pre-wrap; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.slider { display: flex; flex-direction: column; gap: 6px; }
.slider .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.slider .top > span { white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.slider label { font-weight: 600; font-size: 16px; }
.slider output, .slider .num { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); }
.slider .num { width: 120px; text-align: right; border: 1px solid var(--line-2); border-radius: 10px; padding: 4px 8px; font-size: 20px; color: var(--ink); background: #fff; }
.slider input[type="range"] { width: 100%; accent-color: var(--accent); height: 32px; }
.slider .hint { font-size: 14px; color: var(--ink-2); }
.calc-out { background: var(--deep); color: #fff; border-radius: 20px; padding: 28px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.calc-out .big { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(44px, 6vw, 60px); line-height: 1; color: var(--accent-fill); }
.calc-out .lbl { color: #D4D4D8; font-size: 15px; }
.calc-out .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out .mini div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px; }
.calc-out .mini b { display: block; font-size: 24px; font-weight: 600; }
.calc-out .mini span { font-size: 13px; color: #D4D4D8; }
.calc-out .btn { background: var(--accent-fill); color: var(--ink); }
.calc-out .btn:hover { background: var(--accent-fill-hover); }

/* Assistant chat */
.chat { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 560px; background: #fff; box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--deep); color: #fff; }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-fill); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { color: #D4D4D8; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #52C77A; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.note { align-self: center; max-width: 92%; background: var(--tint); border: 1px dashed var(--tint-line); color: var(--ink); font-size: 14px; text-align: center; }
.msg.typing { color: var(--ink-2); }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: #A1A1AA; animation: blink 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .2s; } .typing-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-starters { padding: 10px 14px 0; background: #fff; border-top: 1px solid var(--line); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.chat-form input { flex: 1; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; min-height: 48px; min-width: 0; }
.chat-form input:focus { border-color: var(--accent); outline: none; }
.chat-form .btn { min-height: 48px; padding: 10px 18px; }
.built-from { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.built-from summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.built-from ul { margin: 8px 0 0; padding-left: 18px; overflow-wrap: anywhere; }

/* Instant reply preview */
.preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.timer { display: inline-flex; align-items: center; gap: 8px; background: #E6F4EC; color: #17633D; font-weight: 600; border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.mailbox { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mailbox .bar { background: var(--soft); padding: 10px 14px; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mailbox .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mailbox .subj { font-weight: 600; }
.mailbox .body p { white-space: pre-wrap; }
.sms { background: #F2F2F5; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.sms .msg.user { background: #E5E5EA; color: #111; align-self: flex-start; border-bottom-left-radius: 6px; border-bottom-right-radius: 16px; }
.sms .msg.bot { background: #0B84FF; color: #fff; border: 0; align-self: flex-end; border-bottom-right-radius: 6px; border-bottom-left-radius: 16px; }

/* Help box (lead capture) */
.help { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 26px; }
.help .h3 { font-size: 22px; }
.help > p { color: var(--ink-2); margin-top: 6px; }
.help form { margin-top: 16px; display: grid; gap: 14px; }
.help .done { background: #E6F4EC; color: #17633D; border-radius: 14px; padding: 16px; font-weight: 500; }

/* Tool index */
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 88px; }
.tool-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .15s, border-color .15s; }
.tool-tile:hover { transform: translateY(-3px); border-color: var(--ink); }
.tool-tile .icon { width: 52px; height: 52px; }
.tool-tile .icon svg { width: 26px; height: 26px; }
.tool-tile p { color: var(--ink-2); font-size: 17px; }
.tool-tile .go { margin-top: auto; color: var(--accent); font-weight: 600; }
.tool-tile .meta { font-size: 14px; color: var(--ink-2); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.how div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how b { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-fill); color: var(--ink); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.how p { color: var(--ink-2); font-size: 17px; margin-top: 6px; }
.more-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.more-tools a { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; background: #fff; font-weight: 600; }
.more-tools a span { display: block; font-weight: 400; font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.more-tools a:hover { border-color: var(--ink); }

@media (max-width: 960px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tool-card { padding: 22px 18px; border-radius: 18px; }
  .tool-form .row, .tool-form .row-3, .calc, .result-grid, .preview-grid, .how, .more-tools, .tool-grid { grid-template-columns: 1fr; }
  .url-row { flex-direction: column; }
  .url-row .btn, .tool-form .btn[type="submit"] { width: 100%; justify-self: stretch; }
  .phone-shot { position: static; max-width: 220px; margin: 0 auto; order: -1; }
  .calc-out { position: static; }
  .chat { height: 520px; }
  .msg { max-width: 90%; }
  .grade { width: 92px; height: 92px; border-radius: 22px; } .grade b { font-size: 48px; }
  .tool-hero { padding-top: 40px; }
}
@media print {
  .site-head, .site-foot, .help, .result-actions, .tool-form, .closing, .more-tools, .faq { display: none !important; }
  .tool-card { box-shadow: none; border: 0; padding: 0; }
}

/* ===== Dashboard look (Oct 2026) ===== */
:root { --good: #1E7A4C; --good-bg: #E6F4EC; --mid: #C98A12; --mid-bg: #FFF2D9; --bad: #C0362C; --bad-bg: #FDECEA; --na: #8E8E96; --na-bg: #F1F1F3; }
.t-good { --tone: var(--good); --tone-bg: var(--good-bg); }
.t-mid { --tone: var(--mid); --tone-bg: var(--mid-bg); }
.t-bad { --tone: var(--bad); --tone-bg: var(--bad-bg); }
.t-na { --tone: var(--na); --tone-bg: var(--na-bg); }
.t-top { --tone: var(--accent-fill); --tone-bg: var(--tint); }
.tone-text { color: var(--tone); }

@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.pop { animation: popIn .55s cubic-bezier(.2,.7,.2,1) both; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
#tool-result:not([hidden]) { animation: popIn .5s cubic-bezier(.2,.7,.2,1) both; }

/* loading */
.working { align-items: stretch; text-align: left; padding: 18px 4px 8px; gap: 14px; }
.working .h3 { text-align: center; }
.prog { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.prog i { display: block; height: 100%; width: 8%; border-radius: 999px; background: var(--accent-fill); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.steps { font-size: 15px; }
.skel { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.skel i { display: block; height: 14px; border-radius: 7px; background: #ECECEE; animation: skelpulse 1.4s ease-in-out infinite; }
.live-timer { align-self: center; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.live-timer b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* head: gauge + meta */
.dash-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; min-width: 0; }
.dash-head.slim { grid-template-columns: 110px minmax(0, 1fr); }
.dash-meta { display: flex; flex-direction: column; gap: 8px; }
.dash-meta .h3 { font-size: 26px; }
.gauge { position: relative; width: 220px; text-align: center; }
.gauge svg { width: 100%; height: auto; display: block; }
.gauge .track { fill: none; stroke: var(--soft); stroke-width: 18; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: var(--tone); stroke-width: 18; stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.2,1); }
.gauge b { position: absolute; left: 0; right: 0; top: 38%; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge small { display: block; margin-top: -4px; font-size: 14px; font-weight: 600; color: var(--tone); letter-spacing: .06em; text-transform: uppercase; }
.gauge-sub { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }

/* stacked bar + legend */
.stack-wrap { display: flex; flex-direction: column; gap: 8px; }
.stack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--soft); gap: 2px; }
.stack i { display: block; height: 100%; background: var(--tone); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.legend b { color: var(--ink); }

/* bar rows */
.panel { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; min-width: 0; max-width: 100%; overflow: hidden; }
.result-grid { min-width: 0; }
.panel .group-title { margin-top: 0; }
.barrows { display: flex; flex-direction: column; gap: 10px; }
.barrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 104px; align-items: center; gap: 12px; font-size: 15px; }
.barrow .bl { font-weight: 600; }
.barrow .bb { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.barrow .bb i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--tone); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.barrow .bv { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-bottom: 2.5px solid transparent; padding: 10px 10px; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.tab:hover { color: var(--ink); }

/* check items, toned */
.check-item { border: 1px solid var(--line); background: #fff; }
.check-list .check-item + .check-item { margin-top: 8px; }
.check-item .fix { background: #fff; border: 1px solid var(--line); }

/* AI check */
.q-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.q-head .q { flex: 1; min-width: 200px; }
.picks li { border: 1px solid transparent; }
.picks li.you { border-color: var(--good); outline: 0; background: var(--good-bg); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.chips-l { font-size: 13px; color: var(--ink-2); margin-right: 4px; }
.chip-s { font-size: 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink-2); }

/* review reply */
.stars-big { width: 110px; height: 110px; border-radius: 28px; background: var(--tone-bg); color: var(--tone); display: flex; align-items: center; justify-content: center; gap: 4px; }
.stars-big b { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: 1; }
.stars-big span { font-size: 30px; }
.stars-big span:not(:first-child) { align-self: flex-end; margin-bottom: 14px; font-size: 18px; font-weight: 600; }
.reply-list { margin-top: 18px; }
.reply-card { border: 1px solid var(--line); }

/* calculator */
.calc-out { transition: background .6s ease; }
.calc-out.warm { background: var(--deep); }
.calc-out.hot { background: var(--deep); }
.calc-out .big { transition: color .6s ease; }
.calc-out.warm .big { color: #FFB27A; }
.calc-out.hot .big { color: #FF9E8A; }
.calc-out .stack-wrap { margin-top: 2px; }
.calc-out .stack { background: rgba(255,255,255,.12); }
.calc-out .legend { color: #D4D4D8; }
.calc-out .legend b { color: #fff; }
.calc-out .t-good { --tone: #52C77A; } .calc-out .t-bad { --tone: #FF7A6B; }
.slider input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; }
.slider input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)); }
.slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -9px; box-shadow: 0 1px 3px rgba(11,11,12,.2); }
.slider input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.slider input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent); }
.slider input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }

/* chat */
.msg { animation: popIn .35s cubic-bezier(.2,.7,.2,1) both; }
.chat-head small::before { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(82,199,122,.6); } 60% { box-shadow: 0 0 0 7px rgba(82,199,122,0); } }

@media (max-width: 760px) {
  .dash-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dash-head.slim { grid-template-columns: 1fr; }
  .dash-meta { align-items: center; }
  .legend { justify-content: center; }
  .barrow { grid-template-columns: 1fr; gap: 6px; }
  .barrow .bv { text-align: left; font-size: 14px; }
  .gauge { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .pop, .msg, #tool-result:not([hidden]) { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prog i, .skel i, .steps li.on::before, .chat-head small::before { animation: none; }
  .gauge .fill, .barrow .bb i, .stack i { transition: none; }
}

/* ===== Deep report card (Oct 2026) ===== */
.print-head { display: none; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.mgauge { position: relative; text-align: center; padding: 6px 4px 2px; }
.mgauge svg { width: 84px; height: 84px; display: block; margin: 0 auto; transform: rotate(-90deg); }
.mgauge .track { fill: none; stroke: var(--soft); stroke-width: 7; }
.mgauge .fill { fill: none; stroke: var(--tone); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
.mgauge b { position: absolute; left: 0; right: 0; top: 30px; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.mgauge small { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.met { display: inline-flex; flex-direction: column; gap: 1px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--tint-2); min-width: 110px; }
.met b { font-variant-numeric: tabular-nums; font-size: 17px; }
.met small { font-size: 12px; color: var(--ink-2); }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 22px; }
.two-up .panel { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.fact { border-radius: 12px; padding: 10px 12px; background: var(--tone-bg); border: 1px solid var(--line); min-width: 0; }
.fact small { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.fact b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.bots { display: flex; flex-wrap: wrap; gap: 8px; }
.bot { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 12px 6px 9px; font-size: 14px; font-weight: 600; background: var(--tone-bg); color: var(--ink); }
.bot i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); flex: none; }
.bot small { font-weight: 500; color: var(--tone); font-size: 12px; }
.tabs-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tabs-row .tabs { flex: 1 1 auto; min-width: 0; }
.area-sel { font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; color: var(--ink); max-width: 100%; }
.area-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); background: var(--soft); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
details.audits summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
details.audits summary::-webkit-details-marker { display: none; }
details.audits summary .group-title { margin: 0; }
details.audits summary::after { content: "+"; font-size: 22px; color: var(--ink-2); margin-left: auto; order: 3; line-height: 1; }
details.audits[open] summary::after { content: "\2013"; }
details.audits summary .pill { order: 2; margin-left: auto; }
details.audits[open] summary { margin-bottom: 10px; }
.audit-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 14px 0 6px; }
.audit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.audit-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 15px; padding: 7px 10px; border-radius: 10px; background: var(--tone-bg); }
.audit-list li i { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.audit-list li small { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table.pages { width: 100%; border-collapse: collapse; font-size: 14px; }
table.pages th, table.pages td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.pages th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
table.pages td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-list li { grid-template-columns: 10px minmax(0, 1fr); }
  .audit-list li small { grid-column: 2; }
}
@media print {
  .print-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--ink); }
  .print-head img { width: 36px; height: 36px; }
  .print-head b { display: block; font-size: 16px; }
  .print-head span { font-size: 12px; color: var(--ink-2); }
  .phone-shot { position: static; }
  .panel, .check-item { break-inside: avoid; }
  details.audits { display: block; }
  details.audits summary::after { display: none; }
  details.audits:not([open]) > *:not(summary) { display: none; }
  .tabs-row, .area-sel { display: none !important; }
}
.check-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.check-area { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.check-area .h3 { margin: 0 0 6px; }
.check-area p:last-child { color: var(--ink-2); font-size: 15px; margin: 0; }
.barrows.sov .barrow { grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 54px; }
.barrows.sov .bl { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.barrows.sov .bl em { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--ink-2); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.barrows.sov .barrow.you .bl { font-weight: 700; }
.barrows.sov .barrow.you .bl em { background: var(--tone); color: #fff; }
.barrows.sov .barrow.you .bb { outline: 2px solid var(--tone-bg); }
.mets.slim { margin-top: 12px; }
.mets.slim .met { min-width: 0; padding: 6px 10px; }
.mets.slim .met b { font-size: 14px; }
.mets .met.t-good, .mets .met.t-mid, .mets .met.t-bad { background: var(--tone-bg); border-color: transparent; }
.mets .met.t-good b, .mets .met.t-mid b, .mets .met.t-bad b { color: var(--tone); }
.reply-card .mets .met small { font-size: 11px; }
#o-worth { margin-top: 14px; }
#o-worth .barrow { grid-template-columns: 150px minmax(0, 1fr) 120px; }
@media (max-width: 640px) { #o-worth .barrow { grid-template-columns: 1fr; } }
.calc-out #o-worth .bl, .calc-out #o-worth .bv { color: #fff; }
.calc-out #o-worth .bb { background: rgba(255,255,255,.14); }
@keyframes skelpulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
