/* VOICE  work tool, confident: a forge-made instrument, not a template
   IDEA   an airport departures board, but for AI bots: who may come in, who gets through the door
   PICTURE a split-flap board in black steel and ember; letters flip and settle as results land
   COLOUR white ground (night: warm black), ink, ember #e8501a; board black with amber flaps,
          green CAN READ, red BLOCKED, amber CAN'T TELL
   TYPE   Space Grotesk 700 display + flaps, Inter text
   LAYOUT question and a big address box centred at the top (the one place to start), the board beneath:
          plain-text tool names, answer as coloured flap tiles; then verdict, fixes, bot's-eye view. */

html[data-theme="light"] {
  --bg: #ffffff; --bg-2: #f4f2ee; --surface: #ffffff; --surface-2: #faf9f7;
  --border: #e5e1da; --text: #121212; --muted: #57534e; --faint: #8a847c;
  --ember: #e8501a; --ember-2: #f26b1d; --ember-3: #c2410c;
  --ok: #12813f; --ok-bg: #e6f5ec; --bad: #c2341a; --bad-bg: #fbe9e4; --warn: #a86a0c; --warn-bg: #fbf1dc; --info: #2753c6; --info-bg: #e8eefb;
  --header-bg: rgba(255,255,255,.86); --code-bg: #f6f4f0;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0d0c0b; --bg-2: #151412; --surface: #151412; --surface-2: #1a1816;
  --border: #2b2825; --text: #f3efe8; --muted: #aba49a; --faint: #7d776f;
  --ember: #ff6a2b; --ember-2: #ff8a3d; --ember-3: #ff8a3d;
  --ok: #46d68a; --ok-bg: rgba(70,214,138,.12); --bad: #ff6b4a; --bad-bg: rgba(255,107,74,.12); --warn: #f5b942; --warn-bg: rgba(245,185,66,.12); --info: #8fb0ff; --info-bg: rgba(143,176,255,.12);
  --header-bg: rgba(13,12,11,.82); --code-bg: #100f0e;
  color-scheme: dark;
}
.aic { --board: #121110; --tile: #1f1d1b; --tile-hi: #2a2825; --seam: #050505; --flap: #f4ecdc; --amber: #ffb020; --b-ok: #46d68a; --b-bad: #ff5a3c; --b-warn: #ffc53d; }
body.aic { background: var(--bg); color: var(--text); transition: background-color .3s, color .3s; overflow-x: clip; }
body.aic::before { display: none; }
.aic main *, .aic main *::before, .aic main *::after { min-width: 0; }
.aic .site-header { background: var(--header-bg); }
.aic .nav-links a:hover, .aic .nav-links a.active { background: var(--bg-2); color: var(--text); }
html[data-theme="light"] .aic .mobile-bar { background: rgba(255,255,255,.96); }
html[data-theme="light"] .aic .mobile-bar .mb-mail svg { stroke: var(--text); }
.aic .site-footer { background: var(--bg-2); margin-top: 0; }
.aic .btn-primary { background: var(--ember); color: #fff; box-shadow: none; }
.aic .btn-primary:hover { background: var(--ember-3); box-shadow: none; }
.aic .nav-links .nav-cta a.btn-primary { background: var(--ember); color: #fff; }

/* theme switch */
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  display: grid; place-items: center; cursor: pointer; position: relative; overflow: hidden; }
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: transform .45s cubic-bezier(.5,1.6,.4,1), opacity .3s; }
html[data-theme="light"] .theme-toggle .moon, html[data-theme="dark"] .theme-toggle .sun { transform: translateY(24px) rotate(90deg); opacity: 0; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- title + address box: one obvious place to start ---------- */
.aic-title { padding: 48px 0 30px; text-align: center; }
.aic-title h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.aic-title .lead { color: var(--muted); font-size: 1.12rem; margin: 14px auto 0; max-width: 560px; }
.aic-form { width: 100%; max-width: 700px; margin: 28px auto 0; text-align: left; }
.aic-form label.l { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin: 0 0 10px 4px; }
.aic-row { display: flex; gap: 8px; padding: 7px; border: 2px solid var(--ember); border-radius: 16px; background: var(--surface);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ember) 14%, transparent), 0 18px 40px -24px rgba(0,0,0,.35); transition: box-shadow .2s, border-color .2s; }
.aic-row.hint { animation: hint 1.6s ease-out 3; }
@keyframes hint { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ember) 45%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.aic-row:focus-within { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ember) 26%, transparent); animation: none; }
.aic-row.bad { border-color: var(--bad); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.aic-row input { flex: 1; background: transparent; border: 0; color: var(--text); font: 500 1.3rem var(--font-body); padding: 14px 14px; }
.aic-row input:focus { outline: none; }
.aic-row input::placeholder { color: var(--faint); font-weight: 400; }
.aic-row .btn { border-radius: 11px; padding: 15px 26px; font-size: 1.05rem; justify-content: center; flex: none; }
.btn[disabled] { opacity: .8; cursor: progress; transform: none !important; }
.aic-err { color: var(--bad); font-size: 1rem; font-weight: 500; margin: 10px 4px 0; min-height: 1.35em; }
.aic-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--muted); font-size: .92rem; }
.aic-meta button { background: none; border: 0; padding: 0; color: var(--ember-3); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the board: plain names, flaps only where the answer is ---------- */
.board { container-type: inline-size; background: var(--board); border-radius: 18px; padding: 18px clamp(16px, 3vw, 30px) 16px; color: var(--flap);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -34px rgba(0,0,0,.6); position: relative; scroll-margin-top: 90px; }
.board::after { content: ""; position: absolute; inset: 7px; border-radius: 13px; border: 1px solid rgba(255,255,255,.05); pointer-events: none; }
.board-in { --cw: clamp(15px, calc((100cqw - 40px) / 24), 26px); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.board-name { display: flex; align-items: center; gap: 12px; }
.board-name .lab { display: block; margin-bottom: 2px; }
.board-name .site { font: 700 clamp(1.15rem, 3.4cqw, 1.6rem)/1.15 var(--font-head); color: #fff; letter-spacing: -.01em; overflow-wrap: anywhere; }
.board-name .tag { display: inline-block; margin-left: 8px; vertical-align: middle; font: 600 .74rem/1 var(--font-body); padding: 4px 8px; border-radius: 6px;
  background: var(--amber); color: #1a1000; }
.board-score { display: flex; align-items: center; gap: 10px; }
.lab { font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: #a19a8e; white-space: nowrap; }

/* split-flap cells */
.flaps { display: inline-flex; gap: 2px; }
.flaps i { width: var(--cw); height: calc(var(--cw) * 1.34); border-radius: 3px; background: linear-gradient(var(--tile-hi), var(--tile) 49%, var(--seam) 49%, var(--seam) 51%, var(--tile) 51%);
  display: grid; place-items: center; font: 700 calc(var(--cw) * .78)/1 var(--font-head); color: inherit; text-transform: uppercase; overflow: hidden; }
.flaps i.f { animation: flip .08s linear; }
@keyframes flip { 50% { transform: scaleY(.12); filter: brightness(1.7); } }
.flaps.big i { --cw: clamp(28px, 5cqw, 40px); font-size: calc(var(--cw) * .8); color: var(--amber); }

.board-head, .board-row { display: grid; grid-template-columns: minmax(0, 1fr) calc(10 * var(--cw) + 18px); gap: 0 16px; align-items: center; }
.board-head { padding: 10px 0 8px; }
.board-head span { font-size: .9rem; color: #a19a8e; }
.board-head span:last-child { color: #fff; font-weight: 600; }
.board-row { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); }
.c-name b { display: block; font: 600 clamp(.98rem, 2.6cqw, 1.12rem)/1.25 var(--font-body); color: #f4ecdc; }
.c-name small { display: block; font-size: .8rem; color: #8f887d; margin-top: 1px; }
.c-res i { color: var(--amber); }
.c-res.ok i { color: #04210f; background: linear-gradient(#5fe39d, #46d68a 49%, #2a9e60 49%, #2a9e60 51%, #46d68a 51%); }
.c-res.bad i { color: #fff; background: linear-gradient(#f26a4c, #e2462a 49%, #a52b14 49%, #a52b14 51%, #e2462a 51%); }
.c-res.warn i { color: #241700; background: linear-gradient(#ffd466, #ffc53d 49%, #c48e12 49%, #c48e12 51%, #ffc53d 51%); }
.c-res.ok i.e, .c-res.bad i.e, .c-res.warn i.e { background: linear-gradient(var(--tile-hi), var(--tile) 49%, var(--seam) 49%, var(--seam) 51%, var(--tile) 51%); }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; margin-top: 8px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.board-foot .status { font-size: .98rem; color: #f4ecdc; font-weight: 500; }
.board.busy .board-foot .status { color: var(--amber); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: #c9c1b3; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend em { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.board .lamp { width: 10px; height: 10px; border-radius: 50%; background: #3a3632; flex: none; }
.board.busy .lamp { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: lamp .7s infinite alternate; }
.board.done .lamp { background: var(--b-ok); box-shadow: 0 0 10px var(--b-ok); }
@keyframes lamp { to { opacity: .25; } }
@container (max-width: 520px) { .board-head span:first-child { visibility: hidden; } }

/* ---------- verdict strip ---------- */
.verdict { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 0 6px; }
.verdict .score { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.4rem, 7vw, 4.8rem); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.verdict .score small { font-size: .28em; letter-spacing: 0; color: var(--faint); font-weight: 500; margin-left: 4px; }
.verdict .score.good { color: var(--ok); } .verdict .score.partial { color: var(--warn); } .verdict .score.poor { color: var(--bad); }
.verdict h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.2; }
.verdict p { color: var(--muted); margin-top: 4px; font-size: .95rem; overflow-wrap: anywhere; }
.sample { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--ember-3); border: 1px solid currentColor; border-radius: 6px; padding: 0 7px; margin-right: 6px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.share .btn { padding: 10px 14px; font-size: .9rem; border-radius: 10px; }
.btn-line { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn-line:hover { border-color: var(--text); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* points bar */
.points { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--bg-2); margin: 16px 0 8px; }
.points i { display: block; height: 100%; width: 0; transition: width .9s cubic-bezier(.2,.9,.2,1); }
.points i + i { box-shadow: -2px 0 0 var(--bg); }
.points-key { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .86rem; color: var(--muted); }
.points-key span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.points-key b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.points-key .miss b { color: var(--bad); }
.points-key em { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* ---------- report ---------- */
.report { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding: 36px 0 10px; align-items: start; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec-h h2 { font-size: 1.45rem; letter-spacing: -.02em; }
.sec-h span { color: var(--muted); font-size: .9rem; }
.fix { border-top: 1px solid var(--border); }
.fix:last-child { border-bottom: 1px solid var(--border); }
.fix summary { list-style: none; cursor: pointer; padding: 15px 2px; display: grid; grid-template-columns: 112px minmax(0, 1fr) 18px; gap: 14px; align-items: baseline; }
.fix summary::-webkit-details-marker { display: none; }
.fix summary h3 { font-size: 1.04rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; transition: color .15s; }
.fix summary .chev { color: var(--faint); transition: transform .25s; text-align: right; }
.fix[open] summary .chev { transform: rotate(180deg); }
.fix summary:hover h3 { color: var(--ember-3); }
.lvl { font-size: .84rem; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.lvl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lvl-high { color: var(--bad); } .lvl-medium { color: var(--warn); } .lvl-low { color: var(--muted); } .lvl-info { color: var(--info); }
.fix .body { padding: 0 2px 18px 128px; }
.fix .body p { color: var(--muted); }
.fix .how { margin-top: 10px; }
.fix .how b { font-family: var(--font-head); font-weight: 600; }
.codebox { position: relative; margin-top: 10px; }
.codebox pre { padding: 14px 16px; padding-right: 70px; border-radius: 10px; background: var(--code-bg); border: 1px solid var(--border); color: var(--text); overflow-x: auto;
  font: .86rem/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.codebox button { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 500 .8rem var(--font-head); cursor: pointer; }
.codebox button:hover { color: var(--text); border-color: var(--text); }
.allgood { padding: 20px 22px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 500; }

.reader { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.reader-h { display: flex; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: .86rem; color: var(--muted); }
.reader-h b { color: var(--text); font-weight: 600; font-family: var(--font-head); overflow-wrap: anywhere; }
.reader-b { padding: 16px; }
.reader-b .t { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.reader-b .d { color: var(--muted); font-size: .93rem; margin: 6px 0 12px; }
.reader-b .x { font: .86rem/1.65 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text); background: var(--code-bg); border-radius: 10px; padding: 12px 14px; min-height: 110px; max-height: 250px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.reader-b .x::after { content: "▍"; color: var(--ember); animation: blink 1s steps(2) infinite; }
.reader-b .x.done::after { content: ""; }
@keyframes blink { 50% { opacity: 0; } }
.facts { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: .93rem; }
.facts dt, .facts dd { padding: 9px 0; border-top: 1px solid var(--border); }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; font-weight: 600; font-family: var(--font-head); overflow-wrap: anywhere; padding-left: 12px; }
.facts .y { color: var(--ok); } .facts .n { color: var(--bad); } .facts .m { color: var(--warn); }

/* all 17 bots */
.bots { padding: 34px 0 6px; }
.tbl { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: .84rem; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top; }
.tbl tr.grp td { background: var(--bg-2); font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 9px 14px; }
.tbl tr.grp td small { font-family: var(--font-body); font-weight: 400; color: var(--muted); margin-left: 8px; }
.tbl td b { font-weight: 600; font-family: var(--font-head); }
.tbl td small { display: block; color: var(--faint); font-size: .8rem; }
.st { font-weight: 600; white-space: nowrap; }
.st.y { color: var(--ok); } .st.n { color: var(--bad); } .st.m { color: var(--warn); } .st.z { color: var(--faint); font-weight: 400; }
.note-s { color: var(--faint); font-size: .86rem; margin-top: 10px; }

/* llms.txt maker */
.maker { padding: 36px 0 10px; }
.maker-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.maker .form { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.maker .form input, .maker .form textarea { background: var(--bg); font-size: 16px; }
.file { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; background: var(--surface); }
.file-h { padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); font: 500 .85rem ui-monospace, Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.file textarea { flex: 1; min-height: 330px; border: 0; resize: vertical; padding: 14px 16px; background: var(--code-bg); color: var(--text); font: .85rem/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.file textarea:focus { outline: none; }
.file .actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--border); align-items: center; }
.file .actions p { color: var(--faint); font-size: .85rem; }

.badge-box { margin-top: 26px; display: none; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.badge-box.show { display: flex; }
.badge-box img { width: 180px; height: auto; flex: none; border-radius: 10px; }
.badge-box p { color: var(--muted); font-size: .93rem; }

/* what we check + FAQ */
.explain { padding: 60px 0 10px; }
.explain-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--text); }
.explain-g > div { padding: 22px 26px 6px 0; }
.explain-g > div + div { padding-left: 26px; border-left: 1px solid var(--border); }
.explain-g h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -.01em; }
.explain-g p { color: var(--muted); font-size: .96rem; }
.explain-g svg { width: 28px; height: 28px; color: var(--ember); margin-bottom: 12px; }
.faq { padding: 44px 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.faq h2 { font-size: 1.9rem; letter-spacing: -.03em; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--muted); max-width: 680px; }

/* closing band */
.close-band { background: var(--ember); color: #fff; }
.close-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 46px; padding-bottom: 46px; }
.close-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.03em; line-height: 1.08; }
.close-band p { opacity: .94; margin-top: 10px; max-width: 520px; }
.close-band .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.close-band .btn-light { background: #fff; color: #121212; }
.close-band .btn-light:hover { transform: translateY(-2px); }
.close-band .btn-ghost-w { border: 1px solid rgba(255,255,255,.75); color: #fff; }
.close-band .btn-ghost-w:hover { background: rgba(255,255,255,.12); }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px); opacity: 0; z-index: 120; background: var(--text); color: var(--bg);
  padding: 11px 18px; border-radius: 10px; font-size: .92rem; transition: opacity .25s, transform .3s; pointer-events: none; max-width: calc(100% - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fade-in { animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- narrower screens ---------- */
@media (max-width: 980px) {
  .report, .maker-g, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq { gap: 16px; }
  .verdict { grid-template-columns: auto minmax(0, 1fr); }
  .share { grid-column: 1 / -1; justify-content: flex-start; }
  .close-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .close-band .acts { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .explain-g { grid-template-columns: minmax(0, 1fr); }
  .explain-g > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .fix summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; }
  .fix summary .lvl { grid-column: 1 / -1; }
  .fix .body { padding-left: 2px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .aic-title { padding: 26px 0 20px; }
  .aic-title .lead { font-size: 1.02rem; }
  .aic-row input { font-size: 1.15rem; padding: 12px 10px; }
  .aic-row { flex-wrap: wrap; }
  .aic-row input { flex-basis: 100%; }
  .aic-row .btn { width: 100%; }
  .board { border-radius: 14px; padding: 14px 12px 12px; }
  .verdict { gap: 14px; }
  .share { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .share .btn { justify-content: center; }
  .share .btn-wa { grid-column: 1 / -1; }
  .badge-box.show { flex-direction: column; align-items: flex-start; }
  .tbl table { font-size: 13px; }
  .tbl th, .tbl td { padding: 8px 10px; }
  .tbl .h-co, .tbl .c-co { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flaps i.f, .board.busy .lamp, .aic-row.hint, .reader-b .x::after, .fade-in, .aic-row.bad { animation: none !important; }
  .points i { transition: none; }
}

/* site-wide floating buttons: icon-only here so they don't cover the report */
.aic .fab { width: 52px; height: 52px; padding: 0; justify-content: center; }
.aic .fab .fab-label { display: none; }
.aic .fab svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .share .btn:last-child { grid-column: 1 / -1; } }
.board-name .tag[hidden] { display: none; }

/* the tile seam: always one crisp pixel, never a smear across the letters */
.flaps i { height: calc(var(--cw) * 1.34); height: round(calc(var(--cw) * 1.34), 2px);
  background: linear-gradient(var(--tile-hi), var(--tile) calc(50% - .5px), var(--seam) calc(50% - .5px), var(--seam) calc(50% + .5px), var(--tile) calc(50% + .5px)); }
.c-res.ok i { background: linear-gradient(#5fe39d, #46d68a calc(50% - .5px), rgba(0,0,0,.18) calc(50% - .5px), rgba(0,0,0,.18) calc(50% + .5px), #46d68a calc(50% + .5px)); }
.c-res.bad i { background: linear-gradient(#f26a4c, #e2462a calc(50% - .5px), rgba(0,0,0,.2) calc(50% - .5px), rgba(0,0,0,.2) calc(50% + .5px), #e2462a calc(50% + .5px)); }
.c-res.warn i { background: linear-gradient(#ffd466, #ffc53d calc(50% - .5px), rgba(0,0,0,.16) calc(50% - .5px), rgba(0,0,0,.16) calc(50% + .5px), #ffc53d calc(50% + .5px)); }
.c-res.ok i.e, .c-res.bad i.e, .c-res.warn i.e { background: linear-gradient(var(--tile-hi), var(--tile) calc(50% - .5px), var(--seam) calc(50% - .5px), var(--seam) calc(50% + .5px), var(--tile) calc(50% + .5px)); }
.c-res.ok i { background: linear-gradient(#5fe39d, #46d68a); }
.c-res.bad i { background: linear-gradient(#f06447, #e2462a); }
.c-res.warn i { background: linear-gradient(#ffd466, #ffc53d); }
.c-res.ok i.e, .c-res.bad i.e, .c-res.warn i.e { background: var(--tile); }

/* links to the guides */
.guides-l { padding: 44px 0 0; }
.guides-l h2 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 14px; }
.guides-l > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guides-l a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: var(--surface); transition: border-color .2s, transform .2s; }
.guides-l a:hover { border-color: var(--ember); transform: translateY(-2px); }
.guides-l b { font-family: var(--font-head); font-size: 1.02rem; }
.guides-l span { color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) { .guides-l > div { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guides-l > div { grid-template-columns: minmax(0, 1fr); } }
