*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15.5px; color: #1f2f3a; background: #f4f7f9; }
h1 { font-size: 1.55rem; margin: 0 0 0.6rem; color: #14303f; }
h2 { font-size: 1.05rem; margin: 0 0 0.35rem; color: #14303f; }
p { line-height: 1.55; }
a { color: #146c8c; }
.lead { color: #5d7180; margin-top: 0; }
.muted-text { color: #7d94a2; }
.error { color: #b3261e; font-size: 0.9rem; }

/* shell */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 1.5rem; background: linear-gradient(90deg, #0f2a38, #14303f 60%, #163a4c); color: #d7e3ea; box-shadow: 0 2px 10px rgba(4,22,32,0.25); position: sticky; top: 0; z-index: 5; }
.top .brand { text-decoration: none; }
.topnav { display: flex; gap: 0.25rem; flex: 1; }
.topnav a { color: #b9cad4; text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 0.45rem 0.8rem; border-radius: 8px; }
.topnav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.topnav a.active { background: rgba(232,112,61,0.18); color: #fff; }
.who a { color: #d7e3ea; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.who .avatar { width: 28px; height: 28px; border-radius: 50%; background: #e8703d; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; }
@media (max-width: 640px) { .who-name { display: none; } .topnav a { padding: 0.4rem 0.55rem; font-size: 0.85rem; } }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand.center { flex-direction: column; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.brand-logo { display: block; height: 30px; width: auto; }
.top .brand-logo { background: #fff; border-radius: 7px; padding: 4px 7px; box-sizing: content-box; height: 26px; }
.brand-sub { display: block; font-size: 0.64rem; padding-top: 2px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #7d94a2; }
.who { display: flex; align-items: center; gap: 0.9rem; font-size: 0.88rem; }
.who form { margin: 0; }
.content { flex: 1; width: 100%; max-width: 800px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.foot { text-align: center; color: #8a9ba7; font-size: 0.78rem; padding: 1rem; }

/* public */
/* ---- public pages: modern Kashmiri. Near-black deodar, saffron + chinar-red + Dal-blue mesh, grain, glass, big type ---- */
.public-wrap { --pub-bg: #0a1310; --pub-ink: #f3f1ea; --pub-muted: #a3aea6; --saffron: #f5a524; --chinar: #ff5a3c; --dal: #2bb3c0; --glass: rgba(255,255,255,0.055); --glass-line: rgba(255,255,255,0.13); --display: "Syne", "Space Grotesk", system-ui, sans-serif; --body: "Space Grotesk", "Inter", system-ui, sans-serif;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; padding: 2.5rem 1.25rem 4.5rem; position: relative; isolation: isolate; overflow: hidden; background: var(--pub-bg); color: var(--pub-ink); font-family: var(--body); color-scheme: dark; }
.public-wrap::before { content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
    background: radial-gradient(38% 42% at 18% 22%, rgba(245,165,36,0.5), transparent 70%), radial-gradient(34% 40% at 82% 18%, rgba(255,90,60,0.42), transparent 70%), radial-gradient(40% 44% at 70% 88%, rgba(43,179,192,0.32), transparent 70%), radial-gradient(30% 30% at 25% 90%, rgba(31,80,64,0.7), transparent 70%); filter: blur(40px) saturate(1.15); }
.public-wrap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>") 0 0 / 200px 200px repeat; }
.public-buta { position: absolute; right: -6vw; top: -8vh; width: min(46vw, 560px); aspect-ratio: 420 / 560; background: url("img/buta-line.svg") center / contain no-repeat; opacity: 0.32; z-index: -1; pointer-events: none; transform: rotate(18deg); }

/* split hero + card on the sign-in pages */
.public-split { width: 100%; max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3.5rem; align-items: center; }
.hero { max-width: 40rem; }
.brand-pill { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0.9rem 0.4rem 0.45rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-decoration: none; color: var(--pub-ink); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2rem; }
.brand-pill img { height: 24px; width: auto; background: #fff; border-radius: 999px; padding: 4px 8px; box-sizing: content-box; }
.display { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 1.25rem; color: #fff; }
.display .grad { background: linear-gradient(92deg, #ffd166 0%, var(--saffron) 35%, var(--chinar) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display .dot { color: var(--dal); }
.hero-sub { font-size: 1.05rem; line-height: 1.55; color: var(--pub-muted); margin: 0 0 1.75rem; max-width: 34rem; }
.hero-sub b { color: var(--pub-ink); font-weight: 600; }
.stickers { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sticker { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 999px; font-weight: 700; font-size: 0.86rem; letter-spacing: -0.01em; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sticker.s1 { background: var(--saffron); color: #0a1310; border-color: transparent; transform: rotate(-2.5deg); }
.sticker.s2 { transform: rotate(1.5deg); }
.sticker.s3 { border-color: rgba(255,90,60,0.5); color: #ffb3a3; }

/* the glass card (sign-in, join, wizard, account pages) */
.public-card { position: relative; width: 100%; max-width: 520px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 28px; padding: 2.2rem 2.2rem 2rem; backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.12); color: var(--pub-ink); }
.public-card.narrow { max-width: 460px; }
.public-card h1, .public-card h2.card-title { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.05; color: #fff; margin: 0 0 0.35rem; }
.public-card .lead { color: var(--pub-muted); font-size: 0.95rem; margin: 0 0 1.5rem; line-height: 1.5; }
.public-card .brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; }
.public-card .brand-logo { height: 26px; width: auto; background: #fff; border-radius: 999px; padding: 5px 9px; box-sizing: content-box; }
.public-card .brand-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pub-muted); }
.public-card .field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.public-card .field label, .public-card .form-grid label { font-size: 0.8rem; font-weight: 600; color: var(--pub-muted); }
.public-card .field input, .public-card .form-grid input, .public-card .form-grid select, .public-card .form-grid textarea { width: 100%; padding: 0.85rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); border-radius: 14px; font: inherit; font-size: 0.98rem; color: var(--pub-ink); transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.public-card .field input::placeholder, .public-card .form-grid input::placeholder { color: #6f7a73; }
.public-card .field input:focus, .public-card .form-grid input:focus, .public-card .form-grid select:focus, .public-card .form-grid textarea:focus { outline: none; border-color: var(--saffron); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 4px rgba(245,165,36,0.22); }
.public-card .remember { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--pub-muted); margin: 0.1rem 0 1.2rem; }
.public-card .remember input { accent-color: var(--saffron); width: 16px; height: 16px; }
.public-card .validation-message, .public-card .error { color: #ff8c78; font-size: 0.82rem; }
.public-card .error { margin: 0 0 0.8rem; }
.public-card .error-list { background: rgba(255,90,60,0.12); border-color: rgba(255,90,60,0.4); color: #ffb3a3; }
.public-card .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.3rem; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255,255,255,0.06); color: var(--pub-ink); font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: transform 0.12s, box-shadow 0.15s, background 0.15s; }
.public-card .btn:hover { background: rgba(255,255,255,0.1); }
.public-card .btn-primary, .public-card .btn.block { background: var(--saffron); border-color: var(--saffron); color: #0a1310; }
.public-card .btn.block { width: 100%; }
.public-card .btn-primary:hover, .public-card .btn.block:hover { background: #ffb63a; transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(245,165,36,0.7); filter: none; }
.public-card .btn .arrow { font-family: var(--display); font-weight: 800; }
.public-card .alt { text-align: center; font-size: 0.88rem; color: var(--pub-muted); margin: 1.1rem 0 0; }
.public-card a { color: #ffd166; text-decoration: none; }
.public-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.batch-box { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); border-radius: 16px; padding: 0.9rem 1rem; margin-bottom: 1.2rem; text-align: left; }
.batch-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; }
.batch-meta { color: var(--pub-muted); font-size: 0.88rem; }
.alt { text-align: center; font-size: 0.88rem; color: var(--pub-muted); margin-bottom: 0; }

/* scrolling place names */
.marquee { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 0; border-top: 1px solid var(--glass-line); overflow: hidden; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pub-muted); background: rgba(10,19,16,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marquee .track { display: inline-block; padding-left: 100%; animation: marquee 42s linear infinite; }
.marquee .track span { margin: 0 1.4rem; }
.marquee .track em { font-style: normal; color: var(--saffron); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; padding-left: 1rem; } }
@media (max-width: 900px) { .public-split { grid-template-columns: 1fr; gap: 2rem; } .hero { text-align: left; } .public-buta { width: 70vw; right: -25vw; top: -5vh; opacity: 0.22; } }
@media (max-width: 640px) { .public-card { padding: 1.6rem 1.25rem 1.5rem; border-radius: 22px; } .display { font-size: clamp(3rem, 15vw, 4.2rem); } .public-wrap { padding-bottom: 5rem; } }

/* forms */
.field { margin-bottom: 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; }
.field label, .form-grid label { font-size: 0.83rem; font-weight: 600; color: #334855; }
.field input, .form-grid input, .form-grid select, .form-grid textarea { padding: 0.6rem 0.75rem; border: 1px solid #c9d5dc; border-radius: 9px; font: inherit; font-weight: 400; }
.field input:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: #146c8c; box-shadow: 0 0 0 3px rgba(20,108,140,0.18); }
.validation-message { color: #b3261e; font-size: 0.8rem; }
.remember { display: flex; align-items: flex-start; gap: 0.45rem; font-size: 0.86rem; color: #334855; margin: 0.4rem 0 0.9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.25rem; }
.form-grid label { display: flex; flex-direction: column; gap: 0.3rem; }
.form-grid label.span-2 { grid-column: span 2; }
.form-actions { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem; flex-wrap: wrap; }
.error-list { margin: 0.9rem 0 0; padding: 0.6rem 0.9rem 0.6rem 1.8rem; background: #fdecea; border: 1px solid #f5c2c0; border-radius: 8px; color: #8a1c14; font-size: 0.88rem; }

.btn { display: inline-block; padding: 0.6rem 1rem; border-radius: 9px; border: 1px solid #c9d5dc; background: #fff; color: #14303f; font-size: 0.93rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #17708f, #10566e); color: #fff; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.block { width: 100%; text-align: center; }
.btn-link { background: none; border: none; color: #146c8c; cursor: pointer; padding: 0; font: inherit; font-size: 0.9rem; }
.who .btn-link { color: #e8703d; }

/* cards */
.card { background: #fff; border: 1px solid #e1e8ed; border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(20,48,63,0.04); }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.doc-head p { margin: 0; font-size: 0.88rem; }
.file { font-size: 0.9rem; }
.note { background: #fff8e6; border: 1px solid #f3dea3; border-radius: 8px; padding: 0.6rem 0.9rem; color: #6b4d00; font-size: 0.9rem; }
.upload { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; padding: 0.5rem 0.9rem; border: 1px dashed #9fb4c0; border-radius: 9px; cursor: pointer; font-size: 0.9rem; color: #146c8c; font-weight: 600; }
.upload input { display: none; }
.badge { display: inline-block; padding: 0.18rem 0.6rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; }
.badge.ok { background: #e3f4e8; color: #1c7c3c; }
.badge.off { background: #fdecea; color: #8a1c14; }
.badge.plain { background: #e6f0f7; color: #10566e; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0 0 0.75rem; font-size: 0.92rem; }
.facts dt { color: #5d7180; } .facts dd { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.checklist li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; font-size: 0.92rem; }
.checklist li::before { content: "○"; position: absolute; left: 0; color: #9fb4c0; }
.checklist li.done::before { content: "✓"; color: #1c7c3c; }
.checklist li.missing::before { content: "!"; color: #b3261e; font-weight: 700; }
.status.ok { border-color: #bfe3ca; } .status.bad { border-color: #f5c2c0; } .status.warn { border-color: #f3dea3; }

/* stepper */
.stepper { list-style: none; display: flex; gap: 0.4rem; padding: 0; margin: 0 0 1.5rem; font-size: 0.78rem; color: #8a9ba7; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 0.4rem; }
.stepper li::after { content: ""; width: 18px; height: 1px; background: #d3dde3; margin-left: 0.4rem; }
.stepper li:last-child::after { display: none; }
.stepper span { width: 22px; height: 22px; border-radius: 50%; background: #e1e8ed; color: #5d7180; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.72rem; }
.stepper li.done span { background: #1c7c3c; color: #fff; }
.stepper li.current { color: #14303f; font-weight: 600; }
.stepper li.current span { background: #e8703d; color: #fff; }

/* verify */
.verify-row { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid #edf1f4; }
.verify-row p { margin: 0; }
.verify-row.current h2 { color: #e8703d; }
.otp { padding-top: 1rem; }
.inline-form { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.5rem; }
.code { font-size: 1.4rem; letter-spacing: 0.4em; width: 170px; padding: 0.45rem 0.6rem; border: 1px solid #c9d5dc; border-radius: 9px; text-align: center; font-family: ui-monospace, Menlo, monospace; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid label.span-2 { grid-column: auto; } .public-card { padding: 1.6rem 1.25rem; } }
.dev-box { background: #fff8e6; border: 1px dashed #e0b84a; border-radius: 8px; padding: 0.6rem 0.9rem; color: #6b4d00; font-size: 0.9rem; }
.dev-box code { font-size: 1.1rem; letter-spacing: 0.15em; background: #fff; padding: 0.1rem 0.4rem; border-radius: 4px; }
.num { text-align: right; white-space: nowrap; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid #edf1f4; }
.table th { color: #5d7180; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.table tr.group td { background: #f7f9fb; font-weight: 600; color: #14303f; }
.table tfoot td { font-weight: 600; background: #f7f9fb; }
.table tfoot tr.ctc td { background: #e6f0f7; color: #10566e; }
.sigpad-wrap { margin: 0.5rem 0 1rem; }
.sigpad { width: 100%; max-width: 520px; height: 160px; border: 1px dashed #9fb4c0; border-radius: 10px; background: #fff; touch-action: none; display: block; }
.card .btn + .btn { margin-left: 0.5rem; }

/* ---- learning ---- */
.crumbs { font-size: 0.85rem; color: #7d94a2; margin: 0 0 0.4rem; }
.crumbs a { color: #146c8c; text-decoration: none; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #e8703d; font-weight: 700; }
h2.section { margin-top: 1.5rem; font-size: 1rem; color: #5d7180; text-transform: uppercase; letter-spacing: 0.1em; }
.today { border-color: #e8703d; }
.track-card h2 a { color: #14303f; text-decoration: none; }
.plan { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.plan li { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px solid #edf1f4; font-size: 0.95rem; }
.plan li:last-child { border-bottom: none; }
.plan li.done { background: #eef8f1; margin: 0 -0.6rem; padding-left: 0.6rem; padding-right: 0.6rem; border-bottom-color: #d9eee0; }
.plan li.done a { color: #14303f; }
.plan li.done .tick { background: #1c7c3c; color: #fff; border-radius: 50%; width: 1.35rem; height: 1.35rem; line-height: 1.35rem; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.plan li.done .done-badge { margin-left: auto; background: #1c7c3c; color: #fff; border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; }
.plan li.locked { color: #9fb4c0; }
.plan .tick { width: 1.4rem; text-align: center; color: #1c7c3c; }
.plan a { text-decoration: none; color: #14303f; font-weight: 600; }
.pass { color: #1c7c3c; } .fail { color: #b3261e; }
.bar { display: inline-block; width: 140px; height: 8px; background: #e6ecf0; border-radius: 999px; overflow: hidden; vertical-align: middle; }
.bar.wide { display: block; width: 100%; height: 10px; margin: 0.4rem 0; }
.bar .fill { height: 100%; background: linear-gradient(90deg, #17708f, #1c7c3c); transition: width 0.3s; }
.track-meta { margin-bottom: 1rem; }
.track-meta .badge { margin-left: 0.5rem; }
.lead-prose { color: #5d7180; margin-bottom: 1rem; }
.day-card.locked { opacity: 0.6; }
.day-card h3 { font-size: 0.95rem; margin: 0.8rem 0 0.2rem; color: #14303f; }
.prose { font-size: 1rem; line-height: 1.65; }
.prose h1, .prose h2, .prose h3 { margin: 1rem 0 0.4rem; color: #14303f; }
.prose h2 { font-size: 1.15rem; } .prose h3 { font-size: 1rem; }
.prose table { border-collapse: collapse; margin: 0.6rem 0; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid #e1e8ed; padding: 0.4rem 0.6rem; text-align: left; vertical-align: top; }
.prose th { background: #f7f9fb; }
.prose blockquote { border-left: 3px solid #e8703d; margin: 0.4rem 0; padding: 0.3rem 0.9rem; background: #fff8f4; color: #4a3a30; }
.prose code { background: #eef2f5; padding: 0.1em 0.35em; border-radius: 4px; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 1rem; background: #000; border-radius: 10px; overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.confidence { margin: 1rem 0; padding: 1rem; background: #f7f9fb; border-radius: 10px; }
.confidence label { font-weight: 600; color: #334855; display: block; margin-bottom: 0.5rem; }
.conf-row { display: flex; align-items: center; gap: 1rem; }
.conf-row input[type="range"] { flex: 1; }
.q .q-num { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7d94a2; margin: 0 0 0.5rem; }
.scenario { background: #fff8f4; border: 1px solid #f3dcc9; border-radius: 10px; padding: 0.6rem 1rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.prompt { font-weight: 600; }
.choices { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.6rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.6rem 0.8rem; border: 1px solid #d9e4ea; border-radius: 9px; cursor: pointer; }
.choice.on { border-color: #146c8c; background: #eef6f9; }
.choice input { margin-top: 0.2rem; }
.result h2 { font-size: 1.4rem; }
.result.ok h2 { color: #1c7c3c; } .result.bad h2 { color: #b3261e; }
.result .score { font-size: 2rem; font-weight: 750; margin: 0.2rem 0 0.6rem; color: #14303f; }
.note.ok { background: #e3f4e8; border-color: #bfe3ca; color: #1c5c30; }
.q.correct { border-left: 4px solid #1c7c3c; } .q.wrong { border-left: 4px solid #b3261e; }
.review { list-style: none; padding: 0; margin: 0.5rem 0; }
.review li { padding: 0.25rem 0; color: #5d7180; }
.review li.is-correct { color: #1c7c3c; font-weight: 600; }
.review li.picked:not(.is-correct) { color: #b3261e; }
.explain { margin-top: 0.6rem; padding: 0.6rem 0.9rem; background: #f7f9fb; border-radius: 8px; font-size: 0.95rem; }
.note.bad { background: #fdecea; border-color: #f5c2c0; color: #8a1c14; }
/* ---- private video ---- */
.vp-wrap { margin-bottom: 0.75rem; }
.vp { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vp video { width: 100%; height: 100%; display: block; }
.vp-watermark { position: absolute; top: 12%; left: 8%; color: rgba(255,255,255,0.45); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; pointer-events: none; text-shadow: 0 0 6px rgba(0,0,0,0.6); transition: top 2s ease, left 2s ease; user-select: none; }
.vp-toast { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); background: rgba(20,48,63,0.92); color: #fff; padding: 0.45rem 0.9rem; border-radius: 8px; font-size: 0.85rem; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.vp-toast.show { opacity: 1; }
.coverage-row { margin: 0.25rem 0 0.75rem; }
.attachments { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.attachments li { padding: 0.35rem 0; border-top: 1px solid #edf1f4; }
.att-head { font-size: 0.95rem; margin: 1rem 0 0.3rem; color: #14303f; }
.att-kind { display: inline-block; min-width: 3.2rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5d7180; }
/* ---- practice ---- */
.brief { background: #f7f9fb; border: 1px solid #e1e8ed; border-radius: 10px; padding: 0.6rem 0.9rem; margin: 0.5rem 0 0.75rem; }
.chat-card { padding: 0; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 1rem; background: #14303f; color: #fff; }
.chat-title { font-weight: 600; }
.chat { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem; background: #eef2f0; max-height: 460px; overflow-y: auto; }
.bubble { padding: 0.55rem 0.85rem; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; max-width: 82%; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.bubble.customer { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.learner { background: #d9f6d2; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 0.7rem 0.9rem; }
.bubble.typing span { width: 7px; height: 7px; background: #9fb4c0; border-radius: 50%; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: 0.2s; } .bubble.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.composer { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid #e1e8ed; background: #fff; }
.composer textarea { flex: 1; padding: 0.55rem 0.75rem; border: 1px solid #c9d5dc; border-radius: 10px; font: inherit; resize: none; }
.chat-card .form-actions { padding: 0 1rem 1rem; margin-top: 0; }
.chat-card .error { padding: 0 1rem 0.75rem; }
.reply { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid #c9d5dc; border-radius: 10px; font: inherit; line-height: 1.5; }
.table.rubric td { vertical-align: top; }
.table.rubric tr.wrong td:first-child { border-left: 3px solid #b3261e; }
.table.rubric tr.partial td:first-child { border-left: 3px solid #e8703d; }
details.transcript summary { cursor: pointer; font-weight: 600; }
details.transcript .chat { margin-top: 0.75rem; border-radius: 10px; }

/* ---- team ---- */
.team-summary { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.card.flagged { border-color: #f3c2b6; }
.team-link { margin-bottom: 1rem; }

/* ---- home side cards, test-out ---- */
.side-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.mini-card { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: inherit; padding: 0.9rem 1.1rem; margin: 0; }
a.mini-card:hover { border-color: #146c8c; }
.session-row { font-size: 0.9rem; padding: 0.2rem 0; }
.testout { border-color: #e8703d; background: #fff8f4; }

.choice:hover { border-color: #146c8c; }
.choice input { accent-color: #146c8c; }
.card.q.correct { border-left: 4px solid #1c7c3c; }
.card.q.wrong { border-left: 4px solid #b3261e; }
.result.ok { border-color: #bfe3ca; } .result.bad { border-color: #f5c2c0; }

/* ---- "What's next" on My training ---- */
.next-up { display: flex; flex-direction: column; gap: 0.3rem; background: #f2f8fb; border: 1px solid #cfe3ec; border-left: 4px solid #17708f; border-radius: 10px; padding: 0.9rem 1.1rem; margin: 0.9rem 0 0.6rem; }
.next-up h3 { margin: 0; font-size: 1.05rem; color: #14303f; }
.next-up p { margin: 0; font-size: 0.92rem; color: #3e4f5c; }
.next-up .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.45rem; }
.next-up.wait { background: #fff8e6; border-color: #f3dea3; border-left-color: #d99a06; }
.next-up.wait h3 { color: #6b4d00; }
.next-up.ok { background: #e3f4e8; border-color: #bfe3ca; border-left-color: #1c7c3c; }
.next-up.bad { background: #fdecea; border-color: #f5c2c0; border-left-color: #8a1c14; }
.next-up.bad h3 { color: #8a1c14; }

/* ---- offer terms ---- */
.terms-list { margin: 0 0 0.75rem; padding-left: 1.2rem; line-height: 1.6; }
.terms-list li + li { margin-top: 0.45rem; }
