/* Brending free tools. Every rule is scoped to .bt (the [data-tool] mount). Uses the site tokens from :root
   (--paper --surface --ink --ink-2 --line --kraft --kraft-ink --signal --signal-ink) with safe fallbacks. Mobile first. Plain hyphens only. */

.bt {
  --bt-r: 18px; --bt-r-s: 12px;
  --bt-on-signal: var(--ink);
  --bt-ok: #1F7A4A; --bt-warn: #9A6400; --bt-bad: var(--deep);
  --bt-ok-bg: color-mix(in srgb, #1F7A4A 12%, transparent);
  --bt-warn-bg: color-mix(in srgb, #E2A400 16%, transparent);
  --bt-bad-bg: color-mix(in srgb, var(--acc) 13%, transparent);
  --bt-kraft-bg: color-mix(in srgb, var(--kraft) 22%, var(--surface));
  display: block; color: var(--ink); font-family: 'Host Grotesk', system-ui, sans-serif;
  font-size: 17px; line-height: 1.5;  -webkit-font-smoothing: antialiased;
  max-width: 880px; margin-inline: auto;
}
:root[data-theme="dark"] .bt { --bt-ok: #5CD08E; --bt-warn: #F2C04B; --bt-bad: #FF7A4D; --bt-ok-bg: color-mix(in srgb, #5CD08E 14%, transparent); --bt-warn-bg: color-mix(in srgb, #F2C04B 14%, transparent); --bt-bad-bg: color-mix(in srgb, #FF5B26 16%, transparent); --bt-kraft-bg: color-mix(in srgb, var(--kraft) 14%, var(--surface)); }
@media (min-width: 900px) { .bt { font-size: 18px; } }
.bt *, .bt *::before, .bt *::after { box-sizing: border-box; }
.bt :where(h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
.bt :where(button, input, select, textarea) { font: inherit; color: inherit; }
.bt [tabindex="-1"]:focus, .bt [tabindex="-1"]:focus-visible { outline: none; }
.bt :focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.bt-ic { width: 1.1em; height: 1.1em; flex: none; }
.bt [hidden] { display: none !important; }
.bt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* card */
.bt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--bt-r); padding: 20px; position: relative; }
@media (min-width: 700px) { .bt-card { padding: 32px; } }
.bt-card + .bt-card, .bt-card + .bt-box, .bt-box + .bt-card, .bt-stack > * + * { margin-top: 16px; }
.bt-kraft { background: var(--bt-kraft-bg); }

/* head */
.bt-head { display: flex; align-items: center; gap: 12px; }
.bt-head > div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bt-head b { font-weight: 500;  font-size: 16px; }
.bt-head span:not(.bt-lid):not(.bt-count) { color: var(--ink-2); font-size: 14px; }
.bt-count { margin-left: auto; font-weight: 450; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bt-lid { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--acc); transform: rotate(-14deg); flex: none; }
.bt-head .bt-lid { width: 18px; height: 18px; border-radius: 4px; }
.bt-prog { height: 4px; background: var(--line); border-radius: 99px; margin: 16px 0 4px; overflow: hidden; }
.bt-prog i { display: block; height: 100%; background: var(--acc); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1); }

/* type */
.bt-q { font-size: clamp(24px, 5.6vw, 34px); font-weight: 500;  letter-spacing: -0.02em; line-height: 1.08; padding: 18px 0 .06em; outline: none; }
.bt-h { font-size: clamp(22px, 4.6vw, 28px); font-weight: 500;  line-height: 1.12; letter-spacing: -0.01em; padding-bottom: .06em; }
.bt-h3 { font-size: 19px; font-weight: 500;  line-height: 1.2; }
.bt-sub { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.bt-note { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.bt-tag, .bt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 450; font-size: 12.5px; letter-spacing: .08em;  line-height: 1.3; }
.bt-tag { border: 1.5px dashed var(--kraft-ink); color: var(--kraft-ink); border-radius: 6px; padding: 5px 10px 4px; }
.bt-eyebrow { color: var(--ink-2); }
.bt p + p { margin-top: 10px; }
.bt a:not(.bt-btn) { color: inherit; text-decoration-color: var(--acc); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.bt-small { font-size: 14px; }
.bt-err { color: var(--bt-bad); font-weight: 450; }

/* chips */
.bt-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.bt-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; background: var(--paper); }

/* buttons */
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--acc); background: var(--acc); color: var(--bt-on-signal); font-weight: 500;  font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
.bt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--acc) 80%, transparent); }
.bt-btn:active { transform: translateY(1px); }
.bt-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.bt-btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.bt-btn--ghost:hover { box-shadow: none; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.bt-btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.bt-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 450; margin-top: 14px; }
.bt-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .bt-cta { flex-direction: row; flex-wrap: wrap; } }
.bt-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 10px 4px; min-height: 44px; cursor: pointer; color: var(--ink-2); font-weight: 450; }
.bt-back:hover { color: var(--ink); }

/* tap options */
.bt-opts { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 700px) { .bt-opts { grid-template-columns: 1fr 1fr; } .bt-opts > :only-child, .bt-opts--1 { grid-template-columns: 1fr; } }
.bt-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; text-align: left; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.bt-opt > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.bt-opt b { font-weight: 450; }
.bt-opt small { color: var(--ink-2); font-size: 14px; }
.bt-opt .bt-ic { opacity: 0; transform: translateX(-6px); transition: .2s; }
.bt-opt:hover { border-color: var(--ink); }
.bt-opt:hover .bt-ic, .bt-opt:focus-visible .bt-ic { opacity: 1; transform: none; }
.bt-opt[aria-pressed="true"], .bt-opt.bt-picked { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, var(--surface)); }
.bt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.bt-step.bt-in { animation: bt-in .35s cubic-bezier(.2,.7,.2,1) both; }
.bt-step.bt-in .bt-opt { animation: bt-in .4s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--n, 0) * 45ms + 60ms); }
@keyframes bt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* form fields */
.bt-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .bt-grid--2 { grid-template-columns: 1fr 1fr; } .bt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.bt-field { display: flex; flex-direction: column; gap: 6px; }
.bt-field > span, .bt-legend { font-weight: 450; font-size: 15px; line-height: 1.3; }
.bt-field small { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.bt-input, .bt-select, .bt-textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 17px; line-height: 1.3; }
.bt-textarea { min-height: 96px; resize: vertical; }
.bt-input:focus, .bt-select:focus, .bt-textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 35%, transparent); }
.bt-input[aria-invalid="true"] { border-color: var(--bt-bad); }
.bt-suffix { position: relative; }
.bt-suffix .bt-input { padding-right: 64px; }
.bt-suffix em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-2); font-size: 15px; pointer-events: none; }
.bt fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bt-seg label { position: relative; }
.bt-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bt-seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 450; font-size: 15px; cursor: pointer; line-height: 1.25; }
.bt-seg input:checked + span { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, var(--surface)); }
.bt-seg input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.bt-range { width: 100%; accent-color: var(--acc); min-height: 32px; }

/* drop zone */
.bt-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 28px 18px; border: 2px dashed color-mix(in srgb, var(--kraft-ink) 55%, transparent); border-radius: var(--bt-r); background: var(--bt-kraft-bg); cursor: pointer; transition: background .2s, border-color .2s; position: relative; }
.bt-drop:hover, .bt-drop.bt-over { border-color: var(--acc); }
.bt-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bt-drop:focus-within { outline: 3px solid var(--acc); outline-offset: 3px; }
.bt-drop b { font-weight: 500;  font-size: 18px; }
.bt-drop .bt-note { max-width: 40ch; }
.bt-drop-ic { width: 46px; height: 46px; border-radius: 10px; background: var(--acc); transform: rotate(-14deg); display: grid; place-items: center; color: var(--bt-on-signal); margin-bottom: 6px; }
.bt-drop-ic svg { transform: rotate(14deg); width: 24px; height: 24px; }

/* box card (the result) */
.bt-box { position: relative; margin-top: 16px; border-radius: var(--bt-r); padding: 26px 20px 22px; background: var(--bt-kraft-bg); border: 1px solid color-mix(in srgb, var(--kraft) 55%, transparent);
  background-image: radial-gradient(color-mix(in srgb, var(--kraft-ink) 9%, transparent) 1px, transparent 1.2px); background-size: 7px 7px; }
@media (min-width: 700px) { .bt-box { padding: 34px 32px 28px; } }
.bt-tape { position: absolute; top: -10px; left: 50%; width: 120px; height: 22px; transform: translateX(-50%) rotate(-2deg); background: color-mix(in srgb, var(--acc) 70%, #fff 0%); opacity: .9; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.bt-box-name { font-size: clamp(28px, 7vw, 44px); font-weight: 500;  letter-spacing: -0.03em; line-height: 1; padding: 12px 0 .08em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.bt-stamp { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .08em;   border: 2px solid var(--signal-ink); color: var(--signal-ink); border-radius: 6px; padding: 4px 8px 3px; transform: rotate(-4deg); line-height: 1.2; }
.bt-dan { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 450; }
.bt-dan b { font-weight: 500; }
.bt-box-why { margin-top: 14px; font-weight: 450; max-width: 62ch; }
.bt-box-text { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }

/* result blocks */
.bt-res-top { display: grid; gap: 18px; align-items: center; }
@media (min-width: 700px) { .bt-res-top { grid-template-columns: 300px 1fr; gap: 32px; } }
.bt-verdict { font-size: clamp(30px, 7.5vw, 48px); font-weight: 500;  letter-spacing: -0.03em; line-height: 1; padding-bottom: .08em; }
.bt-fix { margin-top: 16px; border-left: 4px solid var(--acc); padding: 4px 0 4px 16px; }
.bt-fix .bt-eyebrow { color: var(--signal-ink); }
.bt-fix p:last-child { margin-top: 6px; }
.bt-restart { margin-top: 16px; }

/* dial */
.bt-dial { position: relative; width: 100%; max-width: 300px; margin-inline: auto; }
.bt-dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.bt-dial-num { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; line-height: 1; }
.bt-dial-num b { font-size: 64px; font-weight: 500;  letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: block; padding-bottom: .04em; }
.bt-dial-num span { font-size: 14px; color: var(--ink-2); font-weight: 450; }

/* stats / metrics */
.bt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@media (max-width: 559px) { .bt-stats--2 { grid-template-columns: 1fr; } }
@media (min-width: 700px) { .bt-stats { grid-template-columns: repeat(4, 1fr); } .bt-stats--3 { grid-template-columns: repeat(3, 1fr); } .bt-stats--2 { grid-template-columns: repeat(2, 1fr); } }
.bt-stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--paper); min-width: 0; }
.bt-stat b { display: block; font-size: clamp(26px, 6vw, 36px); font-weight: 500;  letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; padding-bottom: .06em; overflow-wrap: break-word; }
.bt-stat > span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; margin-top: 4px; }
.bt-stat--big { grid-column: 1 / -1; background: var(--ink); color: var(--paper); border-color: transparent; }
.bt-stat--big > span { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.bt-stat--big b { font-size: clamp(36px, 10vw, 64px); font-weight: 500;  }
.bt-ring { --v: 0; --c: var(--bt-ok); width: 76px; height: 76px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), var(--line) 0); display: grid; place-items: center; margin-bottom: 8px; }
.bt-ring::before { content: ''; grid-area: 1/1; width: 62px; height: 62px; border-radius: 50%; background: var(--paper); }
.bt-ring b { grid-area: 1/1; position: relative; font-size: 24px !important; padding: 0 !important; }

/* checklist */
.bt-checks { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 14px; }
.bt-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.bt-check > :not(i) { grid-column: 2; min-width: 0; }
.bt-check > i { grid-column: 1; grid-row: 1 / span 4; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 500; font-size: 14px; line-height: 1; margin-top: 1px; }
.bt-check b { font-weight: 500; line-height: 1.3; }
.bt-check p { color: var(--ink-2); font-size: 15px; line-height: 1.45; margin: 0; }
.bt-check p + p { margin-top: 4px; }
.bt-check--ok > i { background: var(--bt-ok-bg); color: var(--bt-ok); }
.bt-check--warn > i { background: var(--bt-warn-bg); color: var(--bt-warn); }
.bt-check--bad > i { background: var(--bt-bad-bg); color: var(--bt-bad); }
.bt-check--info > i { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.bt-pill { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .06em;  padding: 3px 9px 2px; border-radius: 999px; line-height: 1.4; vertical-align: middle; }
.bt-pill--ok { background: var(--bt-ok-bg); color: var(--bt-ok); }
.bt-pill--warn { background: var(--bt-warn-bg); color: var(--bt-warn); }
.bt-pill--bad { background: var(--bt-bad-bg); color: var(--bt-bad); }

/* tables */
.bt-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; }
.bt-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.bt-table th, .bt-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.bt-table th { font-weight: 450; font-size: 12.5px; letter-spacing: .06em;  color: var(--ink-2); background: var(--paper); }
.bt-table tr:last-child td { border-bottom: 0; }
.bt-table td.bt-num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* loader */
.bt-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 10px; text-align: center; }
.bt-spin { width: 34px; height: 34px; border-radius: 7px; background: var(--acc); animation: bt-spin 1.4s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes bt-spin { 0% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(166deg) translateY(-8px); } 100% { transform: rotate(346deg) translateY(0); } }
.bt-loading p { font-weight: 450; min-height: 1.5em; }
.bt-bar { width: min(320px, 100%); height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bt-bar i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .6s linear; }

/* spakirajte-logo */
.bt-stage { position: relative; height: 340px; border-radius: var(--bt-r); overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, var(--surface), var(--paper)); border: 1px solid var(--line); touch-action: pan-y; cursor: grab; }
.bt-stage:active { cursor: grabbing; }
@media (min-width: 700px) { .bt-stage { height: 440px; } }
.bt-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.bt-stage-hint { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 450; background: color-mix(in srgb, var(--surface) 85%, transparent); border-radius: 999px; padding: 5px 12px; pointer-events: none; }
.bt-mocks { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 560px) { .bt-mocks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .bt-mocks { grid-template-columns: repeat(3, 1fr); } }
.bt-mock { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.bt-mock canvas { display: block; width: 100%; height: auto; }
.bt-mock figcaption { padding: 10px 14px 12px; font-weight: 450; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.bt-mock figcaption span { color: var(--ink-2); font-weight: 400; font-size: 13.5px; text-align: right; }
.bt-tools-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; }
.bt-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 450; font-size: 15px; cursor: pointer; }
.bt-toggle input { width: 20px; height: 20px; accent-color: var(--acc); }
.bt-thumb { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: repeating-conic-gradient(var(--line) 0 25%, transparent 0 50%) 0 0 / 12px 12px; object-fit: contain; }

/* dan-l */
.bt-cal { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 700px) { .bt-cal { grid-template-columns: 1fr 1fr; } }
.bt-date { border-radius: 16px; padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.bt-date--l { background: var(--ink); color: var(--paper); border-color: transparent; }
.bt-date--l .bt-eyebrow { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.bt-date b { display: block; font-size: clamp(30px, 8vw, 46px); font-weight: 500;  letter-spacing: -0.03em; line-height: 1; padding: 8px 0 .08em; }
.bt-date span { font-size: 15px; }
.bt-days { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.bt-days i { width: 12px; height: 12px; border-radius: 3px; background: var(--kraft); }
.bt-days i.w { background: var(--line); }
.bt-days i.h { background: var(--acc); transform: rotate(-14deg); }
.bt-legend-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.bt-legend-row span { display: inline-flex; align-items: center; gap: 6px; }
.bt-legend-row i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: var(--kraft); }
.bt-legend-row i.w { background: var(--line); }
.bt-legend-row i.h { background: var(--acc); }
.bt-verdict-line { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 14px; }
.bt-verdict-line p { flex: 1 1 240px; margin: 0; }
.bt-verdict-line.ok { background: var(--bt-ok-bg); }
.bt-verdict-line.bad { background: var(--bt-bad-bg); }
.bt-verdict-line.warn { background: var(--bt-warn-bg); }

/* font tester */
.bt-glyphs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: 14px; }
.bt-glyph { border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px 6px; text-align: center; background: var(--paper); position: relative; }
.bt-glyph span { display: block; font-size: 34px; line-height: 1.25; padding: 4px 0 2px; min-height: 52px; }
.bt-glyph small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; }
.bt-glyph.ok small { color: var(--bt-ok); }
.bt-glyph.bad { border-color: var(--bt-bad); background: var(--bt-bad-bg); }
.bt-glyph.bad small { color: var(--bt-bad); }
.bt-glyph.info small { color: var(--ink-2); }
.bt-specimen { margin-top: 14px; display: grid; gap: 14px; }
.bt-specimen p { overflow-wrap: anywhere; line-height: 1.3; padding: 2px 0 .1em; }
.bt-specimen .bt-note { margin-bottom: -10px; }
.bt-editable { border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px 12px; outline: none; }
.bt-editable:focus { border-color: var(--acc); }

/* print check */
.bt-pages { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 12px; }
.bt-page { flex: none; text-align: center; font-size: 13px; color: var(--ink-2); }
.bt-page canvas { display: block; max-height: 180px; width: auto; border-radius: 4px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); background: #fff; margin-bottom: 6px; }

/* brand book */
.bt-bb-nav { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
.bt-bb-nav button { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 450; font-size: 15px; cursor: pointer; }
.bt-bb-nav button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bt-bb-panel { margin-top: 10px; }
.bt-mm-hero { border-radius: 16px; padding: 52px 18px; display: grid; place-items: center; background: #F4EFE3; color: #23331F; }
.bt-mm-hero svg { width: min(340px, 90%); height: auto; }
.bt-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 700px) { .bt-swatches { grid-template-columns: repeat(4, 1fr); } }
.bt-swatch { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); text-align: left; background: var(--paper); padding: 0; cursor: pointer; }
.bt-swatch i { display: block; height: 86px; }
.bt-swatch div { padding: 10px 12px 12px; font-size: 13.5px; line-height: 1.45; }
.bt-swatch b { display: block; font-size: 15px; }
.bt-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 700px) { .bt-dd { grid-template-columns: repeat(4, 1fr); } }
.bt-dd figure { margin: 0; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.bt-dd figure > div { height: 120px; display: grid; place-items: center; padding: 12px; background: #F4EFE3; }
.bt-dd figure svg { width: 85%; max-height: 90px; }
.bt-dd figcaption { padding: 10px 12px; font-size: 14px; line-height: 1.35; }
.bt-dd figcaption b { display: block; }
.bt-dd .no b { color: var(--bt-bad); }
.bt-dd .yes b { color: var(--bt-ok); }
.bt-apps { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 700px) { .bt-apps { grid-template-columns: repeat(3, 1fr); } }
.bt-apps figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.bt-apps figure > div { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.bt-apps figcaption { padding: 10px 12px; font-size: 14px; background: var(--paper); }

/* hub */
.bt-psi-shot { width: 100%; max-width: 220px; border-radius: 14px; border: 1px solid var(--line); display: block; }

@media (prefers-reduced-motion: reduce) {
  .bt *, .bt *::before, .bt *::after { animation: none !important; transition: none !important; }
}

/* inside the site's tool shell (.tb__in already is a card): no card-in-card, tighter padding on phones */
.tb__in .bt > .bt-card:first-child { border: 0; padding: 0; background: transparent; }
@media (max-width: 559px) { .tb__in .bt-card { padding: 16px; } .tb__in .bt-box { padding: 24px 16px 18px; } }
