/* AI Readiness Test (site/sitegen/readiness.py + assets/js/readiness.js). Uses the site's tokens from site.css. */
.rt { max-width: 860px; padding-top: 32px; padding-bottom: 72px; }
.rt .lead { margin: 12px 0 20px; }
.rt-areas { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rt-areas li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; }
.rt-areas li span { color: var(--ink-3); font-size: .925rem; }
.rt-how { margin: 8px 0 24px; } .rt-how .note { padding: 14px 18px; font-size: .95rem; }
.rt-signup .form { margin-top: 16px; }

.rt-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rt-sec { font-weight: 700; color: var(--violet); margin-right: 10px; } .rt-count { color: var(--ink-3); }
.rt-timer { font: 700 1.1rem var(--f-m); padding: 6px 12px; border-radius: 999px; background: var(--bg-3); color: var(--ink); min-width: 84px; text-align: center; }
.rt-timer.rt-low { background: var(--sun-soft); color: var(--sun-ink); }
.rt-bar { height: 6px; background: var(--bg-3); border-radius: 999px; margin: 12px 0 22px; overflow: hidden; }
.rt-bar span { display: block; height: 100%; width: 0; background: var(--violet); transition: width .3s; }
.rt-qtitle { margin-bottom: 12px; }
.rt-q p { margin: 0 0 12px; }
.rt-q pre, .rt-review pre { background: #1b1530; color: #f3efff; border-radius: var(--r-s); padding: 14px 16px; overflow-x: auto; font: 13.5px/1.55 var(--f-m); margin: 0 0 14px; white-space: pre; }
.rt-q table, .rt-review table { border-collapse: collapse; margin: 0 0 14px; font-size: .95rem; display: block; overflow-x: auto; }
.rt-q th, .rt-q td, .rt-review th, .rt-review td { border: 1px solid var(--line-2); padding: 6px 10px; text-align: left; white-space: nowrap; }
.rt-q th, .rt-review th { background: var(--bg-2); }
.rt-py { margin: 6px 0 18px; }
.rt-ans { margin: 8px 0 18px; display: grid; gap: 8px; }
.rt-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: var(--r-s); padding: 12px 14px; cursor: pointer; background: var(--card); }
.rt-opt:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.rt-opt input { margin-top: 4px; accent-color: var(--violet); }
.rt-ord { display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-s); padding: 8px 10px; background: var(--card); }
.rt-ord span { flex: 1; } .rt-ord b { color: var(--violet); min-width: 22px; }
.rt-ord button { min-height: 34px; padding: 0 10px; }
.rt-num { font: 1.1rem var(--f-m); padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); width: min(320px, 100%); background: var(--card); color: var(--ink); }
.rt-text { width: 100%; min-height: 140px; font: 1rem/1.5 var(--f-b); padding: 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--card); color: var(--ink); }
.rt-words { color: var(--ink-3); font-size: .9rem; }
.rt-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rt-msg { color: var(--ink-3); font-size: .95rem; }

.rt-areas-res { display: grid; gap: 10px; margin: 18px 0 28px; }
.rt-area { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--card); }
.rt-area-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 700; }
.rt-area .rt-meter { height: 8px; background: var(--bg-3); border-radius: 999px; margin: 10px 0 6px; overflow: hidden; }
.rt-area .rt-meter span { display: block; height: 100%; background: var(--violet); }
.rt-pill { font-size: .85rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: var(--bg-3); color: var(--ink-2); }
.rt-pill.ready { background: var(--mint-soft); color: var(--mint); } .rt-pill.developing { background: var(--sun-soft); color: var(--sun-ink); }
.rt-area small { color: var(--ink-3); }
.rt-cta { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; margin: 0 0 36px; }
.rt-cta .btn { margin: 6px 8px 0 0; }
.rt-item { border-top: 1px solid var(--line); padding: 22px 0; }
.rt-item-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.rt-item-h b { font-family: var(--f-d); font-size: 1.15rem; }
.rt-verdict { font-weight: 700; font-size: .9rem; } .rt-verdict.ok { color: var(--mint); } .rt-verdict.no { color: #c43b5c; } .rt-verdict.na { color: var(--ink-3); }
.rt-yours { background: var(--bg-2); border-radius: var(--r-s); padding: 10px 14px; margin: 10px 0; }
.rt-sol { border-left: 3px solid var(--violet); padding: 4px 0 4px 14px; margin: 12px 0; }
.rt-learn { font-size: .95rem; } .rt-learn a { font-weight: 600; }
@media (max-width: 640px) { .rt { padding-top: 20px; } .rt-q pre, .rt-review pre { font-size: 12.5px; } }

/* v2: standalone page, prefaces, the question hides when you leave */
.k-guide main { padding-top: 0; }
.rt-brand { padding-top: 22px; padding-bottom: 6px; max-width: 860px; } .rt-brand .logo { display: inline-flex; align-items: center; gap: 10px; }
.rt-hero { padding: 40px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.rt-kicker { font-weight: 700; color: var(--violet); margin: 0 0 12px; font-size: .95rem; }
.rt-h1 { font: 800 clamp(2.4rem, 7vw, 4.1rem)/1.04 var(--f-d); letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.rt-hero .lead { font-size: 1.2rem; max-width: 620px; margin: 18px 0 26px; }
.rt-rules { padding-left: 20px; margin: 10px 0 18px; display: grid; gap: 10px; }
.rt-small { color: var(--ink-3); font-size: .925rem; }
.rt-foot { color: var(--ink-3); font-size: .875rem; padding-top: 18px; padding-bottom: 34px; max-width: 860px; }
.rt-preface { color: var(--ink-2); margin: 0 0 6px; }
.rt-qlearn { margin: 0 0 16px; color: var(--ink-3); }
.rt-run { user-select: none; -webkit-user-select: none; }
.rt-run input, .rt-run textarea { user-select: text; -webkit-user-select: text; }
.rt-awaynote { display: none; background: var(--sun-soft); color: var(--sun-ink); font-weight: 700; padding: 14px 16px; border-radius: var(--r-s); margin-bottom: 14px; }
.rt-hidden .rt-awaynote { display: block; }
.rt-hidden .rt-body { filter: blur(14px); pointer-events: none; }
