/* Sign-off round: lesson screens. Loaded after styles.css. */

/* ---------- lesson page (phone) ---------- */
.so-ls .lesson-hero { padding: 12px 16px 24px; border-radius: 0 0 28px 28px; }
.so-ls .lesson-hero .hero-text { padding: 14px 0 0; gap: 14px; max-width: none; }
.so-ls .lesson-hero.after { padding-bottom: 22px; }
.so-ls .lesson-hero.after .hero-text { gap: 12px; }
.so-ls .hero-bar .row.gap-8 { gap: 8px; }
.so-ls .hero-text h1 { font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
.so-ls .lesson-hero.after .hero-text h1 { font-size: 30px; }
.so-ls .hero-pitch { font-size: 16.5px; margin: 0; }
.so-ls .lesson-hero.after .hero-pitch { font-size: 15.5px; }
.so-ls .hero-text .pill { height: auto; padding: 5px 11px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.so-ls-pill { background: #FFFFFF; color: #4A433D; }
.so-ls .ux-you-pill.go { background: #FFFFFF; color: #0D5340; }
[dir="rtl"] .so-ls .hero-text h1 { letter-spacing: 0; }

.so-ls .lesson-main { padding: 16px 16px 20px; gap: 12px; }
.so-ls .lesson-main > .card, .so-ls-facts, .so-ls-idea, .so-ls-plan, .so-ls-bring, .so-ls-qs, .so-ls-ready, .so-ls-links, .so-ls-going-card, .so-ls-recap, .so-ls-recapform, .so-ls-how { border-radius: 20px; border: 1px solid #ECE6DF; background: #FFFFFF; }
.so-ls p { margin: 0; }
.so-ls-mute { color: #6E655D; font-size: 14.5px; }

/* facts */
.so-ls-facts { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.so-ls-fact { display: flex; gap: 12px; align-items: flex-start; }
.so-ls-fact > .i { flex: none; margin-top: 1px; }
.so-ls-when { font-weight: 700; font-size: 16.5px; }
.so-ls-fsub { font-size: 14px; color: #6E655D; line-height: 1.45; }
.so-ls-fact .material-row { margin-top: 0; }
.so-ls-facts.host { gap: 10px; }
.so-ls-facts.host .so-ls-when { font-size: 17px; }
.so-ls-tsub { font-size: 14.5px; color: #4A433D; line-height: 1.45; }
.so-ls-call:empty { display: none; }
.so-ls-seats { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.so-ls-seats-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.so-ls-seats-row .so-ls-mute { font-size: 14px; }
.so-ls-bar { height: 8px; border-radius: 4px; background: #ECE6DF; display: flex; overflow: hidden; }
.so-ls-bar > span { height: 8px; border-radius: 4px; background: #11684F; }

/* teacher */
.so-ls-teacher { padding: 14px 16px; gap: 12px; }
.so-ls-teacher .tiny { font-size: 13px; color: #6E655D; }
.so-ls-teacher strong { font-size: 16.5px; }
.so-ls-teacher .small { font-size: 13.5px; color: #6E655D; }
.so-ls .qf-btn { height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; gap: 6px; }
.so-ls .qf-btn.btn-soft { background: #FCE9DD; color: #A33A0E; border: 0; }
.so-ls .qf-btn.btn-soft .i { display: none; }

/* by the end */
.so-ls-idea { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.so-ls-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.05em; color: #6E655D; text-transform: uppercase; }
[dir="rtl"] .so-ls-kicker { letter-spacing: 0; }
.so-ls-promise { font-weight: 700; font-size: 17px; line-height: 1.4; }
.so-ls-for { font-size: 14.5px; color: #4A433D; }
.so-ls-for strong { color: #221D19; }

/* plan */
.so-ls-plan { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.so-ls-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.so-ls-plan h2, .so-ls-bring h2, .so-ls-qs h2, .so-ls-ready h2, .so-ls-photos h2, .so-ls-flow h2 { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.25; }
.so-ls-only { font-size: 13px; color: #6E655D; flex: none; max-width: 45%; margin-top: 3px; }
.so-ls-parts { display: flex; flex-direction: column; }
.so-ls-parts li { display: flex; gap: 14px; padding: 8px 0; }
.so-ls-plan.host .so-ls-parts li { padding: 10px 0; }
.so-ls-plan.host .so-ls-parts li + li { border-top: 1px solid #F0EBE5; }
.so-ls-min { width: 58px; flex: none; font-weight: 800; font-size: 15px; color: #0D5340; }
.so-ls-plan.host .so-ls-min { width: 56px; }
.so-ls-parts strong { display: block; font-weight: 700; font-size: 15.5px; }
.so-ls-desc { display: block; font-size: 14px; color: #6E655D; }
.so-ls-plan.host .so-ls-desc { color: #4A433D; margin-top: 2px; }
.so-ls-note { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: #4A433D; margin-top: 4px; }
.so-ls-note .i { flex: none; margin-top: 2px; color: #A33A0E; }

/* bring */
.so-ls-bring { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.so-ls-bring p { font-size: 15px; color: #4A433D; line-height: 1.5; }

/* going */
.so-ls-going { padding: 4px; gap: 12px; justify-content: flex-start; flex-wrap: nowrap; }
.so-ls-going .faces { padding-inline-end: 0; }
.so-ls-going .face { border: 2px solid #F5F3F0; }
.so-ls-going > span { font-weight: 700; font-size: 15px; }
.so-ls-going-card { padding: 16px; display: flex; align-items: center; gap: 12px; }
.so-ls-going-card .faces { padding-inline-end: 0; }
.so-ls-going-card p { font-weight: 700; font-size: 15.5px; }
.so-ls-soft-btn { height: 40px; padding: 0 12px; border-radius: 12px; border: 0; background: #FCE9DD; color: #A33A0E; font: inherit; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; flex: none; cursor: pointer; }
.so-ls-soft-btn.big { height: 44px; padding: 0 16px; font-size: 15px; }

/* questions */
.so-ls-qs { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* lesson chat */
.so-ls .so-ls-chat { padding: 14px 16px; gap: 12px; border-radius: 20px; }
.so-ls .so-ls-chat .soft-square { width: 42px; height: 42px; border-radius: 12px; background: #FBEFD0; color: #744F00; }
.so-ls .so-ls-chat strong { font-size: 16px; }
.so-ls .so-ls-chat .small { font-size: 13.5px; color: #6E655D; }
.so-ls-disclaimer { font-size: 13px; color: #6E655D; padding: 6px 12px; margin: 0; }

/* teacher: ready to teach */
.so-ls-ready { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.so-ls-ready-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.so-ls-ready-head > span { font-size: 14px; font-weight: 700; color: #0D5340; flex: none; }
.so-ls-todo { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: #FBEFD0; color: #5C3F00; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.so-ls-todo:hover { color: #5C3F00; }
.so-ls-todo-go { font-weight: 700; text-decoration: underline; flex: none; }

/* teacher: questions and chat list */
.so-ls-links { padding: 6px 16px; }
.so-ls-link { display: flex; align-items: center; gap: 12px; min-height: 60px; text-decoration: none; color: #221D19; }
.so-ls-link:hover { color: #221D19; }
.so-ls-link + .so-ls-link { border-top: 1px solid #F0EBE5; }
.so-ls-link strong { display: block; font-weight: 700; font-size: 15.5px; }
.so-ls-link .grow > span { display: block; font-size: 13.5px; color: #6E655D; }
.so-ls-link > .i { flex: none; color: #6E655D; }
.so-ls-foot { font-size: 13px; color: #6E655D; text-align: center; padding: 6px 12px; line-height: 1.45; }

/* sticky bar */
.so-ls .sticky-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: none; border-top: 1px solid #ECE6DF; }
.so-ls .sticky-bar .btn-lg, .so-ls .sticky-bar .going-yes { height: 54px; border-radius: 16px; font-size: 17px; }
.so-ls .sticky-bar .going-yes { flex: 1; background: #DDF2EA; color: #0D5340; font-size: 16.5px; }
.so-ls .sticky-bar .going-yes + .btn-secondary { flex: 1; border: 1.5px solid #D9D1C8; font-size: 16px; padding: 0 12px; }
.so-ls .ux-teacher-bar { gap: 8px; }
.so-ls .ux-teacher-bar .btn-secondary { flex: 1; font-size: 16px; border: 1.5px solid #D9D1C8; }
.so-ls .ux-teacher-bar .btn-primary { flex: 2; }
.so-ls .ux-teacher-bar .tiny { font-size: 13px; color: #6E655D; }

/* ---------- after the lesson ---------- */
.so-ls-how { padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 1.5px solid #CC4A14 !important; }
.so-ls-how h2, .so-ls-recapform h2 { font-size: 20px; margin: 0; }
.so-ls-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.so-ls-rate { min-height: 52px; border-radius: 14px; font: inherit; font-weight: 700; font-size: 14.5px; padding: 6px; border: 1.5px solid #D9D1C8; background: #FFFFFF; color: #221D19; cursor: pointer; line-height: 1.25; }
.so-ls-rate.on { border-color: #CC4A14; background: #FCE9DD; color: #A33A0E; }
.so-ls-label { font-size: 14.5px; font-weight: 700; }
.so-ls-textarea { width: 100%; border: 1.5px solid #D9D1C8; border-radius: 14px; padding: 12px; font: inherit; font-size: 15.5px; resize: none; color: #221D19; background: #FFFFFF; }
.so-ls-how .so-ls-textarea { margin-top: -4px; }
.so-ls-send { height: 50px; border-radius: 14px; border: 0; background: #CC4A14; color: #FFFFFF; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.so-ls-send:disabled { opacity: 0.6; }
.so-ls-recap { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.so-ls-recap-text { font-size: 15.5px; line-height: 1.55; }
.so-ls-recapform { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.so-ls-photos { display: flex; flex-direction: column; gap: 8px; }
.so-ls-photos-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 2px; }
.so-ls-addlink { border: 0; background: none; padding: 8px 0; font: inherit; font-weight: 700; font-size: 14.5px; color: #A33A0E; text-decoration: underline; cursor: pointer; }
.so-ls-photos .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.so-ls-photos .photo-cell { aspect-ratio: 1; border-radius: 12px; }
.so-ls-p2 { background: #221D19; color: #FFFFFF; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.so-ls-p2-h { font-size: 20px; }
.so-ls-p2-sub { font-size: 14.5px; color: #E6DFD7; line-height: 1.5; }
.so-ls-p2-btn { height: 48px; border-radius: 14px; border: 0; background: #FFFFFF; color: #221D19; font: inherit; font-weight: 700; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.so-ls-p2-btn:hover { color: #221D19; }
.so-ls-p2-btn.on { background: #DDF2EA; color: #0D5340; }

/* ---------- the ⋯ menu ---------- */
.sheet:has(.so-ls-menu) { padding: 10px 16px calc(34px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; }
.sheet:has(.so-ls-menu) .sheet-head { padding: 18px 4px 2px; }
.sheet:has(.so-ls-menu) .sheet-head h2 { font-size: 22px; display: flex; flex-direction: column; min-width: 0; }
.sheet:has(.so-ls-menu) .sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: #D9D1C8; }
.sheet:has(.so-ls-menu) .sheet-head .icon-btn { position: absolute; top: 4px; inset-inline-end: 0; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
.sheet:has(.so-ls-menu) .sheet-head .icon-btn:focus-visible { width: 32px; height: 32px; clip: auto; }
.so-ls-menu-sub { font-family: var(--body); font-size: 13.5px; font-weight: 400; color: #6E655D; letter-spacing: 0; }
.so-ls-menu { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.so-ls-mgroup { background: #FFFFFF; border-radius: 18px; padding: 0 14px; }
.so-ls-mrow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; border: 0; background: none; padding: 0; font: inherit; color: #221D19; text-decoration: none; text-align: start; cursor: pointer; }
.so-ls-mrow:hover { color: #221D19; }
.so-ls-mrow + .so-ls-mrow { border-top: 1px solid #F0EBE5; }
.so-ls-mrow > .i { flex: none; }
.so-ls-mrow-l { flex: 1 0 auto; max-width: 60%; font-weight: 600; font-size: 16px; padding-block: 8px; }
.so-ls-mrow-hint { font-size: 13px; line-height: 1.35; color: #6E655D; flex: 0 1 auto; min-width: 0; margin-inline-start: auto; text-align: end; padding-block: 8px; }
.so-ls-mrow.danger, .so-ls-mrow.danger:hover { color: #B42318; }
.so-ls-mrow.sub { min-height: 48px; padding-inline-start: 36px; }
.so-ls-mrow.sub .so-ls-mrow-l { font-size: 15px; }
.so-ls-mrow.sub > .i { color: #6E655D; }

/* ---------- wide screens ---------- */
.so-ls-wide { padding: 8px 16px 40px; display: flex; flex-direction: column; gap: 20px; }
.so-ls-top { display: flex; align-items: center; gap: 8px; }
.so-ls-backpill { height: 44px; padding: 0 14px 0 8px; border-radius: 22px; background: #FFFFFF; border: 1px solid #ECE6DF; color: #221D19; font: inherit; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
[dir="rtl"] .so-ls-backpill { padding: 0 8px 0 14px; }
.so-ls-pillbtn { height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid #ECE6DF; background: #FFFFFF; font: inherit; font-weight: 700; font-size: 15px; color: #221D19; cursor: pointer; }
.so-ls-roundbtn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #ECE6DF; background: #FFFFFF; color: #221D19; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.so-ls-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.so-ls-article { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.so-ls-article > .card, .so-ls-article > section.card { border-radius: 22px; }
.so-ls-cover { height: 300px; border-radius: 28px; display: flex; align-items: center; justify-content: center; }
.so-ls-cover svg { width: 120px; height: 120px; opacity: 0.9; }
.so-ls-head { display: flex; flex-direction: column; gap: 10px; }
.so-ls-head .pill { height: auto; padding: 4px 10px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.so-ls-head .so-ls-pill:not(.fmt) { background: #F0ECE7; color: #4A433D; }
.so-ls-head .ux-you-pill.go { background: #DDF2EA; }
.so-ls-head h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
[dir="rtl"] .so-ls-head h1 { letter-spacing: 0; }
.so-ls-pitch { font-size: 17px; color: #4A433D; line-height: 1.55; max-width: 640px; }
.so-ls-head .parent-link { background: #FFFFFF; }
.so-ls-flow { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.so-ls-flow h2 { font-size: 20px; }
.so-ls-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.so-ls-tile { border-radius: 16px; background: #F5F3F0; padding: 14px; }
.so-ls-tile-min { font-size: 13px; font-weight: 800; color: #A33A0E; }
.so-ls-tile-h { font-weight: 700; font-size: 16px; margin-top: 4px !important; }
.so-ls-tile-d { font-size: 14px; color: #4A433D; margin-top: 4px !important; line-height: 1.45; }
.so-ls-wteacher { padding: 20px; display: flex; align-items: center; gap: 14px; }
.so-ls-wt-name { font-weight: 700; font-size: 17px; }
.so-ls-wteacher .so-ls-mute { font-size: 14.5px; }
.so-ls-wteacher .qf-btn { height: 44px; }
.so-ls-outline-btn { height: 44px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #D9D1C8; color: #221D19; text-decoration: none; font-weight: 700; font-size: 15px; display: flex; align-items: center; flex: none; }
.so-ls-outline-btn:hover { color: #221D19; }
.so-ls-aside { position: sticky; top: 24px; background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.so-ls-wfact { display: flex; gap: 12px; align-items: flex-start; }
.so-ls-wfact-ic { width: 40px; height: 40px; border-radius: 12px; background: #F5F3F0; display: flex; align-items: center; justify-content: center; flex: none; color: #4A433D; }
.so-ls-wfact-h { font-weight: 700; font-size: 16px; }
.so-ls-wfact-d { font-size: 14px; color: #6E655D; margin-top: 2px !important; line-height: 1.4; }
.so-ls-inline { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.so-ls-inline:hover { color: #A33A0E; text-decoration: underline; }
.so-ls-aud { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.so-ls-placebox .material-row { background: #DDF2EA; color: #0D5340; border-radius: 16px; padding: 12px 14px; }
.so-ls-aside .sticky-bar { position: static; transform: none; width: auto; max-width: none; padding: 0; border: none; box-shadow: none; background: none; flex-wrap: wrap; }
.so-ls-aside .sticky-bar .btn-lg { height: 56px; border-radius: 16px; font-size: 17px; }
.so-ls-aside .sticky-bar .going-yes { height: 56px; border-radius: 16px; }
.so-ls-aside .ux-teacher-bar .row { width: 100%; }
.so-ls-aside-hint { font-size: 13.5px; color: #6E655D; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.so-ls-wide .lesson-main { padding: 0; }
.so-ls-wide .disclaimer { justify-content: flex-start; }

/* ---------- present mode ---------- */
.so-pr { padding: 12px 16px calc(34px + env(safe-area-inset-bottom)); gap: 16px; }
.so-pr .present-top { gap: 10px; }
.so-pr-part { flex: 1; text-align: center; font-weight: 700; font-size: 15px; color: #9FE0C9; }
.so-pr-total { width: 44px; flex: none; text-align: end; font-size: 13px; color: #BFD8CE; font-variant-numeric: tabular-nums; white-space: nowrap; }
.so-pr .present-steps { height: 6px; gap: 4px; }
.so-pr .present-steps span { border-radius: 3px; }
.so-pr .present-main { gap: 16px; }
.so-pr .present-name { font-size: 46px; line-height: 1.1; }
.so-pr .present-desc { font-size: 16px; margin: -6px 0 0; }
.so-pr .so-pr-card { width: 100%; max-width: none; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); gap: 6px; }
.so-pr-label { font-size: 13px; font-weight: 700; color: #BFD8CE; }
.so-pr .so-pr-card p { font-size: 20px; line-height: 1.45; margin: 0; color: #FFFFFF; }
.so-pr .present-clock { font-size: 96px; font-weight: 700; }
.so-pr-next { font-size: 14.5px; color: #BFD8CE; margin: 0; }
.so-pr .present-controls { gap: 12px; }
.so-pr .round-btn.big { width: 64px; height: 64px; flex: none; }
.so-pr .present-play { flex: 1; max-width: none; min-width: 0; height: 64px; border-radius: 20px; font-size: 19px; }
.so-pr-adjust { gap: 10px; }
.so-pr .chip-btn { height: 44px; padding: 0 16px; border-radius: 22px; font-weight: 700; font-size: 15px; }
.so-pr-hint { text-align: center; font-size: 13px; color: #BFD8CE; margin: 0; }

/* ---------- video room: waiting ---------- */
.so-wait { padding: calc(12px + env(safe-area-inset-top)) 16px calc(34px + env(safe-area-inset-bottom)); }
.so-wait-title { font-weight: 700; font-size: 16px; }
.so-wait-sub { font-size: 13px; color: #CFC8C0; }
.so-wait-stage { position: relative; }
.so-wait-tag { position: absolute; bottom: 14px; inset-inline-start: 14px; padding: 5px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.5); font-size: 13px; font-weight: 600; }
.so-wait-card h1 { font-size: 22px; margin: 0; }
.so-wait-card p { font-size: 14.5px; }
.so-wait-ctrls { display: flex; justify-content: center; gap: 14px; }
.so-wait-btn { width: 60px; height: 60px; border-radius: 30px; border: 0; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.so-wait-btn.on { background: #FFFFFF; color: #1B1714; }
.so-wait-tip { text-align: center; font-size: 13px; color: #CFC8C0; margin: 0; }

/* Arabic: text the teacher wrote in English keeps its own direction but lines up with the rest of the page. */
[dir="rtl"] .so-ls [dir="auto"], [dir="rtl"] .so-pr [dir="auto"] { text-align: right; }
[dir="rtl"] .so-pr .present-main > [dir="auto"] { text-align: center; }
.so-ls-min { width: auto; min-width: 58px; white-space: nowrap; }
.so-ls-plan.host .so-ls-min { width: auto; min-width: 56px; }
[dir="rtl"] .so-wait [dir="auto"] { text-align: right; }
/* Star rating after a lesson */
.rt-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rt-stars { display: flex; gap: 2px; direction: ltr; }
.rt-star { width: 40px; height: 44px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: #D9D1C8; cursor: pointer; padding: 0; }
.rt-star.on { color: #E5A00D; }
.rt-star:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.rt-note { font-size: 13.5px; color: var(--muted); }
.sent-box .rt-row { justify-content: center; }

/* ---------- Video room: our layout inside the RealtimeKit provider, as designed ---------- */
.call-screen { background: #1B1714; }
.room-wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.room-prov { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; background: #1B1714; }
.room-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0 12px calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
.room-stage { flex: 1 1 auto; min-height: 0; display: flex; position: relative; }
.room-grid { flex: 1 1 auto; min-height: 0; }
.room-sidebar { position: absolute; inset: 0 0 0 auto; max-width: 100%; z-index: 5; }
.room-setup { flex: 1 1 auto; }
.room-controls { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 6px 0 0; flex-wrap: wrap; }
.room-btn { width: 60px; height: 60px; border-radius: 30px; border: 0; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.room-btn.on { background: #9FE0C9; color: #1B1714; }
.room-btn:focus-visible { outline: 3px solid #FFB590; outline-offset: 2px; }
.room-ended { margin: auto; color: #CFC8C0; text-align: center; }
.call-screen.in-room .call-note { display: none; }
.room-btn.on { background: #FFFFFF; color: #1B1714; }
.room-btn.cues.on { background: #9FE0C9; color: #1B1714; }
.room-btn.leave { background: #E5484D; color: #FFFFFF; }
.room-controls { justify-content: space-between; max-width: 380px; width: 100%; margin: 0 auto; flex-wrap: nowrap; }

/* ---------- Teach Club Space on the Teach Club side (ss-): the venue page, the booking on a lesson, ticket ---------- */
/* The venue's page, as the venue app's listing preview shows it */
.ss-h2 { margin: 0; font-size: 17px; font-weight: 700; }
.ss-desc { margin: 0; font-size: 15px; line-height: 1.55; color: #3A332D; }
.ss-deal { background: #FCE9DD; border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.ss-deal-ic { width: 40px; height: 40px; border-radius: 12px; background: #CC4A14; color: #FFFFFF; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.ss-deal-h { margin: 0; font-weight: 700; font-size: 15px; color: #7E2C0A; }
.ss-deal-s { margin: 1px 0 0; font-size: 13px; color: #8A300B; }
.ss-room { background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 16px; padding: 10px; display: flex; gap: 12px; align-items: center; }
.ss-room-ph { width: 64px; height: 64px; border-radius: 12px; flex: none; object-fit: cover; display: block; }
.ss-room-name { margin: 0; font-weight: 700; font-size: 15px; }
.ss-room-label { font-weight: 500; font-size: 13px; color: #5E564F; }
.ss-room-sub { margin: 1px 0 0; font-size: 13px; color: #5E564F; }
.ss-room-price { margin: 3px 0 0; font-size: 14px; font-weight: 700; color: #A33A0E; font-variant-numeric: tabular-nums; }
.ss-price-note { margin: 0; font-size: 12.5px; color: #5E564F; }
.ss-review-card { background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 16px; padding: 12px 14px; }
.ss-review-text { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ss-review-by { margin: 6px 0 0; font-size: 13px; color: #5E564F; }
.ss-review-stars { letter-spacing: 0.02em; }
.ss-review-reply { margin-top: 10px; padding: 8px 12px; border-inline-start: 3px solid #E0D8CF; background: #FAF8F6; border-radius: 0 10px 10px 0; font-size: 13.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
[dir="rtl"] .ss-review-reply { border-radius: 10px 0 0 10px; }
.ss-review-reply strong { font-size: 12.5px; color: #4A433D; }
.ss-paused { display: flex; gap: 12px; align-items: flex-start; background: #FBEFD0; color: #4A3300; border-radius: 16px; padding: 12px 14px; }
.ss-paused strong { display: block; font-size: 15px; }
.ss-paused span { font-size: 13.5px; }
.ss-entrance { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.ss-entrance .i { flex: none; margin-top: 2px; color: var(--accent-ink); }
.ss-review { resize: vertical; min-height: 72px; }
.ss-rate .nf-btn[disabled] { opacity: 0.5; cursor: default; }
.sp-foot .ux-foot-btn[disabled] { opacity: 0.5; cursor: default; }
.ss-cover-wrap { position: relative; display: block; }
.ss-featured { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #221D19; color: #FFFFFF; font-size: 12px; font-weight: 700; }
.ss-runvenue { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #FFFFFF; border: 1px dashed #D9D1C8; color: var(--ink); text-decoration: none; }
.ss-runvenue:hover { color: var(--ink); border-color: #CC4A14; }
.ss-runvenue-ic { width: 40px; height: 40px; border-radius: 12px; background: #F0ECE7; color: #4A433D; display: flex; align-items: center; justify-content: center; flex: none; }
.ss-runvenue strong { display: block; font-size: 15px; }
.ss-runvenue span span, .ss-runvenue .grow > span { display: block; font-size: 13px; color: #5E564F; line-height: 1.4; }

/* The booking on the teacher's lesson page */
.ss-book { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 16px; background: var(--seg); margin-top: 12px; }
.ss-book.ok { background: #E3F4E8; }
.ss-book.warn { background: var(--warn-soft); }
.ss-book.sugg { background: #FCE9DD; }
.ss-book-h { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.ss-book-h .i { flex: none; margin-top: 1px; }
.ss-book.ok .ss-book-h .i { color: var(--ok-ink); }
.ss-book.sugg .ss-book-h { color: #7E2C0A; }
.ss-book-sub { margin: 0; padding-inline-start: 26px; font-size: 13px; color: var(--muted); }
.ss-book-sub a { color: inherit; }
.ss-book-line { margin: 0; padding-inline-start: 26px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ss-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ss-btns:empty { display: none; }
.ss-btns .nf-btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
.ss-book .nf-btn.soft { background: #FFFFFF; border-color: transparent; }
.ss-sugg { background: #FFFFFF; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.ss-sugg-what { margin: 0; font-weight: 700; font-size: 16px; }
.ss-sugg-note { margin: 2px 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ss-sugg-was { margin: 0; font-size: 12.5px; color: var(--muted); }

/* The attendee's ticket */
.ss-ticket { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ss-ticket-top { background: #221D19; color: #FFFFFF; padding: 14px 18px 16px; }
.ss-ticket-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #F5B48F; }
[dir="rtl"] .ss-ticket-k { letter-spacing: 0; }
.ss-ticket-v { margin: 4px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.25; }
[dir="rtl"] .ss-ticket-v { font-family: 'Readex Pro', sans-serif; }
.ss-ticket-r { margin: 2px 0 0; font-size: 13.5px; color: #D9D1C8; }
.ss-ticket-cut { height: 0; border-top: 2px dashed #E0D8CF; margin: 0 14px; position: relative; }
.ss-ticket-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 18px 16px; text-align: center; }
.ss-qr { width: 196px; height: 196px; padding: 10px; background: #FFFFFF; border: 1px solid #ECE6DF; border-radius: 16px; }
.ss-qr svg { width: 100%; height: 100%; display: block; }
.ss-code { margin: 0; font-size: 13px; color: var(--muted); }
.ss-code bdi { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.ss-in { margin: 0; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #DDF2EA; color: #0D5340; font-weight: 700; font-size: 14px; }
.ss-ticket-hint { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; max-width: 300px; }
.ss-ticket .ss-deal { margin: 0 14px 14px; }

/* "Message <venue>" sheet */
.ss-thread { display: flex; flex-direction: column; gap: 2px; max-height: 52vh; overflow-y: auto; padding: 4px 2px 12px; }
.ss-thread-empty { margin: 12px 4px; font-size: 14px; color: var(--muted); }
.ss-thread-form { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
.ss-thread-form textarea { flex: 1; resize: none; min-height: 48px; }
.ss-send { width: 48px; height: 48px; border-radius: 14px; border: 0; background: #CC4A14; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
[dir="rtl"] .ss-send .i { transform: scaleX(-1); }
.nf-btn.danger { color: #B42318; border-color: #F1C9C3; }

/* The owner's venue applications queue (vq-) */
.vq-list { display: flex; flex-direction: column; gap: 10px; }
.vq-card { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.vq-name { font-size: 16.5px; }
.vq-kind { flex: none; padding: 3px 9px; border-radius: 999px; background: #F0ECE7; color: #4A433D; font-size: 12px; font-weight: 700; }
.vq-line { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
.vq-meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.vq-note { margin: 0; font-size: 13.5px; line-height: 1.45; padding: 8px 10px; background: var(--warn-soft); color: var(--warn-text); border-radius: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vq-card .nf-btn { height: 36px; margin-top: 4px; }
.vq-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; }
.vq-detail { display: flex; flex-direction: column; gap: 14px; }
.vq-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vq-sec { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vq-title { margin: 0; font-size: 22px; }
.vq-pill { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #F0ECE7; color: #4A433D; }
.vq-pill.pending { background: #FCE9DD; color: #A33A0E; }
.vq-pill.needs_info { background: var(--warn-soft); color: var(--warn-text); }
.vq-pill.approved { background: #DDF2EA; color: #0D5340; }
.vq-pill.rejected, .vq-pill.suspended { background: #FDE7E4; color: #B42318; }
.vq-facts { margin: 0; display: flex; flex-direction: column; }
.vq-fact { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid #F0ECE7; font-size: 14px; }
.vq-fact:first-child { border-top: 0; }
.vq-fact dt { color: var(--muted); }
.vq-fact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vq-docs { display: flex; flex-direction: column; gap: 8px; }
.vq-doc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ECE6DF; border-radius: 12px; color: var(--ink); text-decoration: none; }
.vq-doc strong { display: block; font-size: 14px; }
.vq-doc span span { display: block; font-size: 12.5px; color: var(--muted); }
.vq-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.vq-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.vq-last { background: #FAF8F6; border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.vq-last > span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.vq-last p { margin: 2px 0 6px; }
.vq-last ul { margin: 2px 0 0; padding-inline-start: 18px; }
.vq-thread { display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow-y: auto; }
.vq-prices { padding: 12px 14px; border-radius: 14px; background: #FAF8F6; }
@media (min-width: 900px) {
  .vq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vq-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 16px; }
}
.nf-btn.danger-fill { background: #B42318; border-color: #B42318; color: #FFFFFF; }
.vq-tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; gap: 6px; }
.vq-tabs::-webkit-scrollbar { display: none; }
.vq-tabs .chip-btn { white-space: nowrap; flex: none; }
.so-owner textarea[name="maintEn"], .so-owner textarea[name="maintAr"] { min-height: 84px; field-sizing: content; }
/* the attendee's place row: one pin is enough */
.so-ls-fact > .i + div > .material-row > .i:first-child { display: none; }
.so-ls-going-card > p { white-space: nowrap; }
.ss-entrance p { margin: 2px 0 0; }
.ss-entrance strong { display: block; color: var(--ink); font-size: 13.5px; }
@media (min-width: 900px) {
  .dk-page .so-owner > .ux-head { padding-inline: 0; }
  .vq-tabs { margin-inline: 0; padding-inline: 0; flex-wrap: wrap !important; }
}

/* ---------- Teach Club Space update (20 Nov): booking card, ask-and-pay, reports, payments ---------- */
.sp3-sar { white-space: nowrap; font-weight: 700; }
.warn-text { color: var(--warn-ink); font-weight: 600; }
.center-text { text-align: center; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.sp3-k { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
[dir="rtl"] .sp3-k { letter-spacing: 0; text-transform: none; }
.sp3-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #F0ECE7; color: #4A433D; white-space: nowrap; }
.sp3-pill.green { background: #DDF2EA; color: #0D5340; }
.sp3-pill.amber { background: #FBEFD0; color: #744F00; }
.sp3-pill.red { background: #FDE7E4; color: #B42318; }
.sp3-pill.orange { background: #FCE9DD; color: #A33A0E; }
.sp3-brand { font-size: 12px; font-weight: 700; color: var(--ok-ink); text-transform: uppercase; letter-spacing: 0.05em; }
[dir="rtl"] .sp3-brand { letter-spacing: 0; }
.sp3-bk { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); margin: 12px 0; }
.sp3-bk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sp3-bk-venue { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.sp3-bk-venue strong { font-size: 16px; }
.sp3-bk-venue span { font-size: 13.5px; color: var(--muted); }
.sp3-bk-msg { font-size: 14.5px; line-height: 1.45; }
.sp3-newtime { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 14px; background: #FBEFD0; }
.sp3-quote { margin: 0; padding: 10px 12px; border-inline-start: 3px solid var(--line-2); background: var(--field); border-radius: 10px; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.sp3-quote-by { font-size: 12px; font-weight: 700; color: var(--muted); }
.sp3-timer { display: flex; flex-direction: column; gap: 6px; }
.sp3-timer-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sp3-timer-bar { height: 6px; border-radius: 6px; background: var(--track); overflow: hidden; }
.sp3-timer-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.sp3-fee { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: #4A433D; margin: 0; }
.sp3-fee .sp3-dot { width: 8px; height: 8px; border-radius: 50%; background: #8A817A; flex: none; transform: translateY(-1px); }
.sp3-fee.green { color: #0D5340; }
.sp3-fee.green .sp3-dot { background: #11684F; }
.sp3-fee.amber { color: #744F00; }
.sp3-fee.amber .sp3-dot { background: #E0A100; }
.sp3-fee.red { color: #8F1D14; }
.sp3-fee.red .sp3-dot { background: #B42318; }
.sp3-fee a { color: inherit; font-weight: 700; }
.sp3-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sp3-btns .nf-btn { flex: 1 1 auto; justify-content: center; }
.nf-btn.danger { color: var(--danger); border-color: #F3C2BC; }
.sp3-note { font-size: 12.5px; color: var(--muted); }
.sp3-tstate { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); margin: 12px 0; align-items: flex-start; }
.sp3-tstate.red { border-color: #F3C2BC; }
.sp3-tbc { font-weight: 700; }
.sp3-offline { display: flex; gap: 6px; align-items: center; font-size: 13px; padding: 8px 12px; border-radius: 12px; background: #FBEFD0; color: #744F00; margin: 0 0 8px; }
.sp3-show { font-weight: 700; font-size: 14px; }
.sp3-tk-row { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.sp3-tk-links { padding: 0 16px 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.sp3-late { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.sp3-late > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.sp3-late.sent { flex-direction: row; align-items: center; color: var(--ok-ink); font-weight: 600; font-size: 14px; }
.sp3-late-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sp3-paynote { font-size: 12px; color: var(--muted); padding: 0 16px 14px; }
.sp3-menu-note { font-size: 12.5px; color: var(--muted); padding: 10px 6px 4px; }
.so-ls-mrow.off { opacity: 0.55; }
.sp3-sheet { padding: 0 4px 6px; }
.sp3-feebox { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; font-size: 14px; background: var(--field); }
.sp3-feebox.red { background: #FDE7E4; color: #8F1D14; }
.sp3-feebox.green { background: #DDF2EA; color: #0D5340; }
.sp3-feebox a { color: inherit; font-weight: 700; }
.sp3-done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #DDF2EA; color: #0D5340; }
.sp3-done-ic.big { width: 72px; height: 72px; }
.sp3-about { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.sp3-em { padding: 12px 14px; border-radius: 14px; background: #FDE7E4; color: #5C140D; display: flex; flex-direction: column; gap: 8px; }
.sp3-em-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sp3-em-btns .nf-btn { flex: 1 1 auto; justify-content: center; }
.sp3-radios { display: flex; flex-direction: column; gap: 8px; }
.sp3-radio { display: flex; gap: 12px; align-items: flex-start; text-align: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font: inherit; color: inherit; }
.sp3-radio > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.sp3-radio.on { border: 1.5px solid var(--ink); background: var(--field); }
.sp3-ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B9AFA4; flex: none; display: grid; place-items: center; margin-top: 2px; }
.sp3-room.on .sp3-ring { border-color: var(--accent); }
.sp3-room.on .sp3-ring::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.sp3-radio.on .sp3-ring { border-color: var(--ink); }
.sp3-radio.on .sp3-ring::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ss-qr.big { width: 260px; height: 260px; margin: 0 auto; }
.sp3-sys { display: flex; justify-content: center; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--muted); text-align: center; padding: 6px 12px; }
.sp3-sys-at { font-size: 11.5px; }
.sp3-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.sp3-quick { display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px; }
.sp3-quick .chip-btn { white-space: nowrap; }
.sp3-result { align-items: flex-start; }
.sp3-cmp-row { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.sp3-cmp-row:first-of-type { border-top: 0; }
.sp3-cmp-row .sp3-k { width: 64px; flex: none; }
.sp3-was { background: var(--field); }
.sp3-held { display: flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--warn-ink); font-weight: 600; }
.sp3-confirm { padding: 16px; border-radius: 18px; border: 1.5px solid #F3C2BC; background: #FFF8F6; }
.sp3-photo { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line-2); font-weight: 700; color: var(--accent-ink); cursor: pointer; }
.sp3-photo img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
/* ask flow */
.sp3-ask .lesson-main { padding-top: 4px; }
.sp3-ask-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 4px; }
.sp3-step { font-size: 13px; font-weight: 700; color: var(--muted); }
.sp3-h1 { font-size: 26px; line-height: 1.15; padding: 0 16px; margin: 4px 0; }
.lesson-main .sp3-h1 { padding: 0; }
.sp3-lessonline { font-size: 14px; color: var(--ink-2); }
.sp3-whenrow { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sp3-feerule { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sp3-count { font-size: 14px; font-weight: 700; }
.sp3-vrow { display: flex; gap: 12px; align-items: center; padding: 12px; text-decoration: none; color: var(--ink); border-radius: 18px; }
.sp3-vph { width: 64px; height: 64px; border-radius: 14px; background: #C7D1C4; display: grid; place-items: center; color: #FFFFFF; object-fit: cover; flex: none; }
.sp3-empty, .sp3-busy { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--card); border: 1px dashed var(--line-2); }
.sp3-suggest { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sp3-suggest > span { display: flex; flex-direction: column; gap: 2px; }
.sp3-rule { display: flex; gap: 12px; align-items: flex-start; }
.sp3-rule > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.sp3-rule-n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; flex: none; }
.sp3-room { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: start; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); font: inherit; color: inherit; }
.sp3-room.on { border: 2px solid var(--accent); background: #FDF6F2; }
.sp3-room.off { border: 1px dashed var(--line-2); background: #F5F3F0; opacity: 0.75; cursor: not-allowed; }
.sp3-room-ph { width: 56px; height: 56px; border-radius: 12px; flex: none; object-fit: cover; }
.sp3-room > .grow { display: flex; flex-direction: column; }
.sp3-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sp3-days button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font: inherit; color: var(--ink); }
.sp3-days button.on { border-color: var(--accent); background: var(--accent); color: #FFFFFF; }
.sp3-days .wd { font-size: 11.5px; }
.sp3-days .n { font-size: 17px; font-weight: 700; }
.sp3-days .sub { font-size: 10px; }
.sp3-tl { position: relative; height: 22px; border-radius: 8px; background: #EEF5EF; overflow: hidden; }
.sp3-tl span { position: absolute; top: 0; bottom: 0; }
.sp3-tl .z, .sp3-key.z { background: #D9D1C8; }
.sp3-tl .s, .sp3-key.s { background: repeating-linear-gradient(45deg, #E6DFD7 0 4px, #F5F3F0 4px 8px); }
.sp3-tl .b, .sp3-key.b { background: #4A433D; }
.sp3-tl .sel, .sp3-key.sel { background: var(--accent); border-radius: 4px; }
.sp3-tl-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
[dir="rtl"] .sp3-tl-axis { flex-direction: row-reverse; }
.sp3-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
.sp3-sel { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; background: var(--bg); font-weight: 700; }
.sp3-rep { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; background: #FCE9DD; color: #7E2C08; }
.sp3-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.sp3-kv > span:first-child { color: var(--muted); flex: none; }
.sp3-kv > span:last-child { text-align: end; }
.sp3-sees { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--field); }
.sp3-pay { position: relative; min-height: 100vh; }
.sp3-paybg { padding: 70px 16px; opacity: 0.4; font-size: 26px; }
.sp3-pay::before { content: ''; position: fixed; inset: 0; background: rgba(34, 29, 25, 0.45); z-index: 1; }
.sp3-paysheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 2; max-width: 520px; margin: 0 auto; background: #FFFFFF; border-radius: 26px 26px 0 0; padding: 8px 18px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -10px 40px rgba(34, 29, 25, 0.25); max-height: 92vh; overflow-y: auto; }
.sp3-paysum { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--field); }
.sp3-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.sp3-mark { padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; border: 1px solid #D9D1C8; background: #FFFFFF; }
.sp3-mark.mada { color: #1B6E3A; text-transform: lowercase; }
.sp3-mark.visa { background: #1A1F71; color: #FFFFFF; border-color: #1A1F71; font-style: italic; }
.sp3-mark.apple { background: #000000; color: #FFFFFF; border-color: #000000; }
.sp3-info { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: #E4EEFB; color: #1D4F8F; margin: 0; }
.sp3-info .i { flex: none; margin-top: 1px; }
.sp3-sent .lesson-main { padding-top: 32px; }
.sp3-steps { display: flex; flex-direction: column; margin: 0; }
.sp3-steps li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.sp3-steps li::before { content: ''; position: absolute; inset-inline-start: 7px; top: 18px; bottom: 0; width: 2px; background: #E6DFD7; }
.sp3-steps li:last-child::before { display: none; }
.sp3-stepdot { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #B9AFA4; background: #FFFFFF; flex: none; margin-top: 2px; }
.sp3-steps li.done .sp3-stepdot { background: var(--accent); border-color: var(--accent); }
.sp3-steps li.now .sp3-stepdot { border-color: var(--accent); }
.sp3-err-ic { width: 52px; height: 52px; border-radius: 50%; background: #FDE7E4; color: #B42318; display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.sp3-errbox { padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
/* coach step 10 */
.sp3-cw { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); margin: 10px 0; }
.sp3-cw.ask { border: 1.5px solid var(--accent); background: #FDF6F2; }
.sp3-cw-k { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0; }
.sp3-pick { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 14px; flex: none; align-self: center; }
.sp3-warn { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 10px 12px; border-radius: 12px; background: #FBEFD0; color: #4A3300; margin: 0; }
.sp3-warn > span:first-child { width: 20px; height: 20px; border-radius: 50%; background: #E0A100; color: #FFFFFF; font-weight: 800; display: grid; place-items: center; flex: none; font-size: 13px; }
.sp3-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp3-cmp > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--field); font-size: 14px; }
.sp3-points { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sp3-points.keep li::marker { color: var(--ok-ink); }
.sp3-pubnote { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0; }
/* spaces */
.ss-featured.sp3-paused-tag { inset-inline-start: auto; inset-inline-end: 10px; background: #FBEFD0; color: #744F00; }
.ss-featured.sp3-inline { position: static; align-self: flex-start; }
.sp3-filters-btn { display: inline-flex; gap: 6px; align-items: center; }
.sp3-stepper { display: inline-flex; align-items: center; gap: 12px; }
.sp3-stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); font-size: 18px; font-weight: 700; }
/* payments */
.sp3-pm-plan { text-decoration: none; color: var(--ink); }
.sp3-pm-list { padding: 4px 14px; }
.sp3-pm-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sp3-pm-row:first-child { border-top: 0; }
.sp3-pm-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; flex: none; background: #F0ECE7; color: #221D19; }
.sp3-pm-ic.held { background: #FBEFD0; color: #744F00; }
.sp3-pm-ic.back, .sp3-pm-ic.way { background: #DDF2EA; color: #0D5340; }
.sp3-pm-ic.kept { background: #FDE7E4; color: #8F1D14; }
.sp3-pm-ic.pro { background: #FCE9DD; color: #A33A0E; }
.sp3-pm-amt { font-weight: 700; white-space: nowrap; }
.sp3-pm-amt.strike { text-decoration: line-through; color: var(--muted); }
.sp3-receipt .sp3-kv:first-child { border-top: 0; }
@media print { .sheet-backdrop, #app > :not(.sheet-layer) { display: none; } }
.sp3-nw { white-space: nowrap; }
.so-ls-menu .so-ls-mrow-l { white-space: normal; } .so-ls-menu .so-ls-mrow-hint { min-width: 0; text-align: end; }
