/* B-UI-2: the pages a learner sees while they wait for a seat, and the welcome dialog. Same cream / violet language as the app. */
.beta-page { min-height: 100svh; display: flex; flex-direction: column; background: linear-gradient(180deg, #EFE9FF 0%, #F4F1EA 46%, #F4F1EA 100%); padding: 0 16px; }
.beta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 520px; width: 100%; margin: 0 auto; padding: 18px 0 8px; }
.beta-brand { display: inline-flex; text-decoration: none; }
.beta-brand svg, .beta-brand img { height: 30px; width: auto; }
.beta-lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.beta-lang button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font: 600 12px/1 var(--text); color: var(--muted); cursor: pointer; }
.beta-lang button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.beta-card { flex: none; max-width: 520px; width: 100%; margin: 12px auto 0; padding: 30px 26px 26px; border-radius: 28px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); text-align: center; }
.beta-card img.beta-mascot { width: 104px; height: 104px; margin: 0 auto 6px; display: block; }
.beta-card h1 { font: 600 26px/1.2 var(--display); margin: 4px 0 10px; }
.beta-qtitle { text-wrap: balance; }
.beta-qtitle .nobr { white-space: nowrap; }
.beta-card p { margin: 0 0 12px; color: var(--ink2); line-height: 1.6; }
.beta-card .beta-mail { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 4px 12px; border-radius: 999px; background: var(--lilac); color: var(--ink); font-weight: 600; }
.beta-card .beta-big { display: block; margin: 8px auto 14px; font: 600 64px/1 var(--display); color: var(--violet); }
.beta-card .beta-big small { display: block; margin-top: 6px; font: 500 14px/1.3 var(--text); color: var(--muted); }
.beta-card .beta-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.beta-card .beta-acts .btn { width: 100%; justify-content: center; }
.beta-card .beta-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--soft); font-size: 14px; color: var(--muted); }
.beta-card .beta-note.bad { background: var(--red-bg); color: var(--red-ink); }
.beta-card .beta-note.ok { background: var(--green-bg); color: var(--green-ink); }
.beta-card .beta-dates { margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--soft); font-size: 14px; line-height: 1.7; text-align: left; }
.beta-card .beta-dates b { display: inline-block; min-width: 4.4em; color: var(--muted); font-weight: 500; }
.beta-foot { max-width: 520px; width: 100%; margin: 14px auto 28px; text-align: center; font-size: 12px; color: var(--muted); }
.beta-spin { width: 34px; height: 34px; margin: 18px auto; border-radius: 50%; border: 4px solid var(--lilac); border-top-color: var(--violet); animation: betaSpin .8s linear infinite; }
@keyframes betaSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .beta-spin { animation-duration: 3s; } }

/* welcome dialog */
.dialog.welcome-dlg { max-width: 460px; text-align: left; }
.dialog.welcome-dlg h2 { font-size: 22px; margin-bottom: 4px; }
.dialog.welcome-dlg .wd-seat { margin: 0 0 10px; color: var(--violet-d); font-weight: 600; }
.dialog.welcome-dlg ul { margin: 8px 0 12px; padding-left: 20px; color: var(--ink2); line-height: 1.6; }
.dialog.welcome-dlg .wd-dates { margin: 8px 0 10px; padding: 10px 12px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.7; }
.dialog.welcome-dlg .wd-small { font-size: 13px; color: var(--muted); }

/* seat counter chips: sign-up sheet and account menu */
.seat-chip { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--lilac); color: var(--ink); font: 600 13px/1.3 var(--text); }
.seat-chip.full { background: var(--red-bg); color: var(--red-ink); }
.seat-chip.queue { display: table; margin: -4px 0 12px; background: var(--lilac2, #ECE6FF); color: var(--violet-d, #4F37B8); }      /* R2-2: round 2 queue, under the heading, not the red 'full' */
.lg-consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.lg-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet); }
.lg-consent a { color: var(--violet-d); }

/* B-UI-3: the deck's pieces */
.beta-card p.t { font: 600 20px/1.5 var(--display); color: var(--ink); margin: 6px 0 14px; }
.beta-card .beta-sub { margin: 14px 0 6px; }
.beta-table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 15px; text-align: left; }
.beta-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.beta-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.dialog.welcome-dlg .wd-badge { display: inline-block; padding: 4px 14px; border: 2px solid var(--violet); border-radius: 999px; color: var(--violet); font: 700 13px/1.2 var(--text); }
.dialog.welcome-dlg p { margin: 0 0 10px; }
.dialog.welcome-dlg ol { margin: 6px 0 12px; padding-left: 22px; color: var(--ink2); line-height: 1.6; }
.dialog.welcome-dlg .acts .btn { height: 48px; }
.dialog.welcome-dlg { max-height: calc(100svh - 24px); overflow-y: auto; padding: 22px 20px 0; }
.dialog.welcome-dlg h2 { margin: 8px 0 8px; }
.dialog.welcome-dlg ol { margin: 2px 0 12px; }
.dialog.welcome-dlg .wd-dates { margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.6; }
.dialog.welcome-dlg .acts { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; margin: 0 -20px; padding: 10px 20px 16px; background: #fff; }
.dialog.welcome-dlg .acts .btn { width: 100%; justify-content: center; }

/* B-UI-6 item 4: day X of N and the reward conditions, at the top of Home */
.bstrip { margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(37, 33, 51, .1); font: 500 13px/1.4 var(--text, system-ui, sans-serif); color: #4b445c; }
.bstrip .bs-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.bstrip .bs-top b { font: 700 15px/1.3 var(--display, system-ui, sans-serif); color: #1f1a2e; }
.bstrip .bs-bar { height: 6px; margin: 8px 0 10px; border-radius: 99px; background: #ece8f6; overflow: hidden; }
.bstrip .bs-bar i { display: block; height: 100%; border-radius: inherit; background: #7548ea; }
.bstrip .bs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.bstrip .bs-list li { color: #6a6178; }
.bstrip .bs-list li.ok { color: #1f6b46; font-weight: 600; }
.bstrip .bs-list em { font-style: normal; color: #8a8199; }
.bstrip .bs-done { margin: 8px 0 0; font-weight: 600; color: #1f6b46; }
.bs-keep { margin: 8px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 420px) { .bstrip .bs-list { grid-template-columns: 1fr; } }
/* OD-25 PB-1: the card a tester sees on Home once the testing period is over (the app keeps working) */
.bstrip.bover { margin: 12px 0 0; }
.bstrip.bover .bo-sub { margin: 4px 0 8px; }
.bstrip.bover .bo-h { margin: 10px 0 6px; }
.bstrip.bover p { margin: 0 0 8px; }
.bstrip.bover .fbtn { display: inline-flex; margin: 2px 0 6px; text-decoration: none; }
.bstrip.bover .bo-note { color: #6a6178; font-size: 12.5px; margin-top: 10px; }
.bstrip.bover { position: relative; }
.bstrip.bover .bo-hide { position: absolute; top: 8px; right: 10px; padding: 4px 8px; }
.bstrip.bover .bs-top { padding-right: 52px; }

/* B-UI-4: the end-of-round questionnaire */
.beta-card:has(.sv) { max-width: 640px; text-align: left; }
.sv h1 { margin-top: 0; }
.sv-q { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.sv-q legend { padding: 0; margin: 0 0 8px; font: 600 16px/1.4 var(--text); color: var(--ink); }
.sv-q legend b { color: var(--red-ink, #b3261e); }
.sv-q p.tiny { margin: -4px 0 8px; }
.sv-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-scale label { flex: 0 0 auto; }
.sv-scale input, .sv-opt input[type=radio], .sv-opt input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.sv-scale span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 12px; border: 2px solid #d9d3ea; background: #fff; font: 600 16px var(--text); color: var(--ink); cursor: pointer; }
.sv-scale input:checked + span { background: var(--violet, #7548ea); border-color: var(--violet, #7548ea); color: #fff; }
.sv-scale input:focus-visible + span, .sv-opt input:focus-visible + span { outline: 3px solid #b9a2ff; outline-offset: 2px; }
.sv-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 12px; color: var(--muted, #6a6178); }
.sv-opts { display: flex; flex-direction: column; gap: 8px; }
.sv-opt span { display: block; padding: 12px 14px; border-radius: 12px; border: 2px solid #d9d3ea; background: #fff; font: 500 15px/1.4 var(--text); color: var(--ink); cursor: pointer; }
.sv-opt input:checked + span { border-color: var(--violet, #7548ea); background: #f3effb; font-weight: 600; }
.sv-other { width: 100%; padding: 10px 12px; border-radius: 10px; border: 2px solid #d9d3ea; font: 500 15px var(--text); }
.sv-q textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid #d9d3ea; font: 500 15px/1.5 var(--text); resize: vertical; }
.sv-err { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--red-ink, #b3261e); }

/* B-APP-R2 (mockup row C): C1 the card under the Pretest result, C3 the /android page */
.and-card { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--violet); }
.and-head { display: flex; gap: 10px; align-items: center; }
.and-head .fh2 { margin: 0; }
.and-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.and-perk { background: #F7F4EE; border-radius: 14px; padding: 10px 4px 9px; text-align: center; font-size: 12px; line-height: 1.35; color: var(--ink2); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.and-pi { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.and-go { justify-content: center; }
.and-trust { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0; font-size: 12px; color: #1F6B47; }
.and-later { align-self: center; min-height: 40px; }
/* B-UI-APP-ALWAYS-1 (owner 2026-11-14): one compact card for every device, an "Android only" label · Later = one line */
.and-c { gap: 8px; padding: 12px 14px 10px; border-width: 1.5px; }
.and-c .and-head { gap: 8px; }
.and-c .and-head .fh2 { flex: 1; min-width: 0; font-size: 16px; line-height: 1.3; }
.and-chip { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--lilac); color: var(--violet-d); font: 700 11.5px var(--text); white-space: nowrap; }
.and-perkline span { white-space: nowrap; }
.and-perkline { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.and-row { display: flex; align-items: center; gap: 6px; }
.and-row .and-go { flex: 1; }
.and-row .and-later { flex: none; min-height: 40px; display: flex; align-items: center; }
.and-only { margin: 0; padding: 0; list-style: none; font-size: 11.5px; line-height: 1.5; color: var(--muted2); }
.and-only .and-trust { justify-content: flex-start; font-size: 11.5px; }
.and-mini { padding: 10px 14px; }
.and-page { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.and-page h1 { margin: 0; }
.and-back { align-self: flex-start; border: 0; background: none; padding: 6px 0; min-height: 40px; font: 600 14px var(--text); color: var(--muted); cursor: pointer; }
.and-why { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; background: #E3F7EE; border: 1.5px solid #9ED9BD; color: #1F6B47; font-size: 13px; line-height: 1.55; }
.and-why svg { flex: none; }
.and-time { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--muted); }
.and-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.and-step { display: flex; gap: 12px; align-items: stretch; }
.and-rail { flex: none; width: 30px; display: flex; flex-direction: column; align-items: center; }
.and-num { width: 30px; height: 30px; border-radius: 50%; background: var(--violet); color: #fff; font: 700 15px var(--display); display: flex; align-items: center; justify-content: center; }
.and-step.done .and-num { background: #1F8A5B; }
.and-ln { flex: 1; width: 2px; background: #C9C1DD; margin: 4px 0; }
.and-sb { flex: 1; min-width: 0; padding: 4px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.and-st { font-size: 15px; line-height: 1.3; }
.and-tick { font-weight: 600; font-size: 13px; color: #1F6B47; }
.and-how { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.and-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: #5F6368; color: #fff; font: 600 12px 'DM Sans', sans-serif; outline: 2px solid #FF7A45; outline-offset: 2px; white-space: nowrap; }
.and-ext { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.and-sb .btn { min-height: 44px; width: 100%; }
.and-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.and-invite { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink2); }
.and-store { width: 100%; min-height: 48px; }
.and-done-big { font: 600 20px/1.4 var(--display); color: #1F6B47; margin: 8px 0 4px; }

/* B-APP-R2 P1: C2 the Home strip · A4 the queue timeline · A6/B3 the 14-day bar */
.and-strip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #C9C1DD; border-radius: 14px; padding: 8px 6px 8px 14px; }
.and-strip svg { flex: none; }
.and-strip-t { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.4; }
.and-strip-t a { color: #4F37B8; font-weight: 600; }
.and-strip-x { flex: none; width: 40px; height: 40px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: #8A8398; cursor: pointer; border-radius: 10px; }
.q-big { font: 600 58px/1 var(--display); color: var(--violet); margin: 4px 0 6px; }
.q-app { text-align: left; margin: 0 0 14px; padding: 14px; border: 1.5px solid #C9C1DD; border-radius: 14px; background: #fff; }
.q-app-t { display: flex; gap: 10px; align-items: flex-start; }
.q-app-t svg { flex: none; margin-top: 2px; }
.beta-card .q-app p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.q-app-go { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; white-space: nowrap; }
.beta-card .q-app-web { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.q-tl { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 14px; padding: 0; position: relative; }
.q-tl::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 9px; height: 2.5px; background: #C9C1DD; }
.q-tl li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.q-dot { width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 2.5px solid #C9C1DD; background: #fff; display: flex; align-items: center; justify-content: center; }
.q-tl li.done .q-dot { background: #1F8A5B; border-color: #1F8A5B; }
.q-tl li.next .q-dot { border-color: var(--violet); }
.q-tl li.next span:last-child { color: #4F37B8; font-weight: 600; }
.dialog.welcome-dlg .wd-dates p { margin: 0; }
.wd-bar { display: grid; gap: 3px; margin: 8px 0 4px; }
.wd-bar span { height: 10px; border-radius: 3px; background: #E4DCFF; }
.wd-bar span.on { background: var(--violet); }
.wd-bar-l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }

/* B-UI-R2-MISSION: the Android line in the welcome dialog · the optional line under the missions */
.dialog.welcome-dlg .wd-app { font-size: 14px; line-height: 1.6; }
.dialog.welcome-dlg .wd-app-go { padding: 0; margin-top: 2px; color: #4F37B8; font-weight: 600; text-decoration: underline; background: none; border: 0; cursor: pointer; font-size: 14px; }
.msn-app { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #E4DCFF; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.msn-app a { color: #4F37B8; font-weight: 600; }

/* B-UI-R2-MISSION part B: the day-7 Full Test reminder on Home (round 2) */
.bnudge { position: relative; background: #fff; border: 1.5px solid #C9C1DD; border-radius: 16px; padding: 12px 44px 12px 14px; }
.bnudge p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.bnudge .fbtn { display: inline-flex; }
.bnudge-x { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: #8A8398; cursor: pointer; border-radius: 10px; }
