.portal-body { background: #f5f7f2; min-height: 100vh; }
.portal-header { align-items: center; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 76px; padding: 10px max(20px, calc((100vw - 1160px) / 2)); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px); }
.portal-header-actions { align-items: center; display: flex; gap: 18px; }
.portal-header-actions > a { color: var(--navy); font-size: .86rem; font-weight: 800; text-decoration: none; }
.portal-book-button { background:transparent; border:0; color:var(--navy); cursor:pointer; font-size:.86rem; font-weight:800; padding:7px 0; }
.portal-book-button:hover { color:var(--success); }
.portal-login { align-items: center; display: grid; gap: 90px; grid-template-columns: 1.05fr .75fr; min-height: calc(100vh - 150px); padding-block: 70px; }
.portal-login-copy h1 { font-size: clamp(3rem, 6vw, 5.35rem); margin-bottom: 22px; }
.portal-login-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 620px; }
.portal-feature-list { display: grid; gap: 11px; margin-top: 32px; max-width: 620px; }
.portal-feature-list p { align-items: center; background: rgba(255,255,255,.72); border: 1px solid #dce2d8; border-radius: 14px; display: grid; gap: 2px 12px; grid-template-columns: 42px 1fr; margin: 0; padding: 13px 15px; }
.portal-feature-list p > span { align-items: center; background: var(--yellow-soft); border-radius: 10px; display: flex; font-weight: 900; grid-row: span 2; height: 38px; justify-content: center; width: 38px; }
.portal-feature-list strong { font-size: .88rem; }.portal-feature-list small { color: var(--muted); font-size: .73rem; }
.portal-login-card { background: white; border: 2px solid var(--navy); border-radius: 24px; box-shadow: 10px 10px 0 var(--yellow); padding: 34px; }
.portal-login-card h2 { font-size: 2.35rem; margin-bottom: 8px; }.portal-login-card > p:not(.eyebrow) { color: var(--muted); font-size: .88rem; }
.portal-login-card form { display: grid; gap: 14px; margin-top: 25px; }.portal-login-card form .button { margin-top: 3px; width: 100%; }
.preview-credentials { background: var(--mint-soft); border-radius: 12px; display: grid; font-size: .76rem; gap: 2px; margin-top: 20px; padding: 12px 14px; }.preview-credentials strong { color: var(--success); }
.privacy-note { color: var(--muted); display: block; font-size: .67rem; line-height: 1.45; margin-top: 14px; }

.student-hero { background: linear-gradient(125deg,var(--navy),color-mix(in srgb, var(--navy) 82%, white)); color: white; overflow: hidden; position: relative; }
.student-hero::after { border: 55px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; height: 260px; position: absolute; right: 8%; top: -125px; width: 260px; }
.student-hero-inner { align-items: center; display: flex; justify-content: space-between; min-height: 225px; padding-block: 42px; position: relative; z-index: 1; }
.student-hero h1 { color: white; font-size: clamp(2.5rem, 5vw, 4.6rem); margin: 0 0 8px; }.student-hero .eyebrow { color: var(--yellow); margin-bottom: 5px; }.student-hero p:last-child { color: rgba(255,255,255,.72); margin: 0; }
.student-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.student-streak { align-items: center; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; display: grid; gap: 0 10px; grid-template-columns: 42px 1fr; min-width: 205px; padding: 18px; }
.student-streak > span { align-items: center; background: var(--yellow); border-radius: 12px; color: var(--navy); display: flex; grid-row: span 2; height: 42px; justify-content: center; }.student-streak strong { font: 900 1.7rem/1 var(--heading-font); }.student-streak small { color: rgba(255,255,255,.72); }
.student-workspace { display: grid; gap: 24px; grid-template-columns: 210px minmax(0,1fr); padding-block: 30px 80px; }
.student-tabs { align-content: start; display: grid; gap: 7px; position: sticky; top: 104px; }
.student-tabs button { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 12px; color: #59637a; cursor: pointer; display: flex; font-weight: 800; gap: 10px; padding: 12px 13px; text-align: left; }.student-tabs button span { align-items: center; display: flex; justify-content: center; width: 22px; }.student-tabs button.is-active { background: white; border-color: #dce2d8; color: var(--navy); box-shadow: 0 8px 22px rgba(19,35,63,.06); }
.student-tabs button > b { align-items:center; background:#d7ad3b; border-radius:999px; color:#13231e; display:flex; font-size:.62rem; font-weight:950; height:22px; justify-content:center; margin-left:auto; min-width:22px; padding:0 6px; }
.student-message-notice { align-items:center; background:linear-gradient(120deg,#fff7d7,#eef8f3); border:1px solid #d8bc62; border-left:6px solid #d5a92e; border-radius:17px; box-shadow:0 8px 24px rgba(19,35,63,.07); display:flex; gap:18px; justify-content:space-between; margin-bottom:16px; padding:17px 18px; }
.student-message-notice-copy { align-items:flex-start; display:flex; gap:13px; min-width:0; }
.student-message-notice-copy > span { align-items:center; background:#f3d77e; border-radius:12px; display:flex; flex:0 0 auto; font-size:1.1rem; height:42px; justify-content:center; width:42px; }
.student-message-notice-copy div { display:grid; gap:2px; min-width:0; }
.student-message-notice-copy small { color:#23705d; font-size:.58rem; font-weight:950; letter-spacing:.07em; text-transform:uppercase; }
.student-message-notice-copy strong { font:900 1.05rem var(--heading-font); }
.student-message-notice-copy p { color:#59637a; font-size:.72rem; margin:2px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.student-message-notice > .button { flex:0 0 auto; }
.student-tutor-contact { align-items:center; background:linear-gradient(120deg,#eaf8ef,#fffdf3); border:1px solid #9ed2ae; border-left:6px solid #1f9d55; border-radius:17px; box-shadow:0 8px 24px rgba(19,35,63,.07); display:grid; gap:15px; grid-template-columns:46px 1fr auto; margin-bottom:16px; padding:16px 18px; }
.student-tutor-contact[hidden] { display:none!important; }
.student-tutor-contact-mark { align-items:center; background:#1f9d55; border-radius:13px; color:#fff; display:flex; font:900 .75rem var(--heading-font); height:44px; justify-content:center; width:44px; }
.student-tutor-contact > div { display:grid; gap:2px; min-width:0; }
.student-tutor-contact small { color:#247047; font-size:.58rem; font-weight:950; letter-spacing:.07em; text-transform:uppercase; }
.student-tutor-contact strong { font:900 1.05rem var(--heading-font); }
.student-tutor-contact p { color:#52645b; font-size:.72rem; margin:1px 0 0; }
.student-tutor-contact > .button { background:#1f6f43; border-color:#1f6f43; white-space:nowrap; }
.student-panel { display: none; }.student-panel.is-active { display: block; }
.renewal-secured-label,.renewal-coming-soon { border-radius: 9px; display: inline-flex; font-size: .64rem; font-weight: 900; line-height: 1.35; margin-top: 8px; max-width: 250px; padding: 8px 10px; text-align: right; }.renewal-secured-label { background: rgba(255,255,255,.16); color: white; }.renewal-coming-soon { background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); }
.student-overview-stats { display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); margin-bottom: 16px; }.student-overview-stats article { align-items: center; background: white; border: 1px solid #dce2d8; border-radius: 14px; display: flex; gap: 11px; padding: 15px; }.student-overview-stats span { align-items: center; background: var(--blue-soft); border-radius: 10px; display: flex; height: 39px; justify-content: center; width: 39px; }.student-overview-stats article:nth-child(2) span { background: var(--yellow-soft); }.student-overview-stats article:nth-child(3) span { background: var(--mint-soft); }.student-overview-stats strong { display: block; font: 900 1.25rem/1.05 var(--heading-font); }.student-overview-stats small { color: var(--muted); font-size: .68rem; }
.overview-available-lessons { margin-bottom:16px; }
.overview-availability-banner { align-items:center; background:linear-gradient(125deg,#edf7f1,#f8f4df); border:1px solid #bcd8cb; border-radius:19px; display:grid; gap:18px; grid-template-columns:minmax(210px,.85fr) minmax(300px,1.15fr) auto; padding:19px 21px; }
.overview-availability-banner.has-cancellation { border-color:#d8bb63; box-shadow:5px 5px 0 rgba(224,193,104,.55); }
.overview-availability-banner h2 { font-size:1.55rem; margin:2px 0 4px; }
.overview-availability-banner > div > p:last-child { color:var(--muted); font-size:.71rem; margin:0; }
.overview-availability-banner ul { display:grid; gap:6px; list-style:none; margin:0; padding:0; }
.overview-availability-banner li { align-items:center; background:rgba(255,255,255,.76); border-radius:10px; display:grid; gap:9px; grid-template-columns:31px 1fr; padding:8px 10px; }
.overview-availability-banner li > span { align-items:center; background:var(--mint-soft); border-radius:8px; color:var(--success); display:flex; font-size:.57rem; font-weight:900; height:31px; justify-content:center; text-transform:uppercase; }
.overview-availability-banner li.is-cancellation > span { background:var(--yellow); color:var(--navy); }
.overview-availability-banner li div { display:grid; }
.overview-availability-banner li strong { font-size:.72rem; }
.overview-availability-banner li small { color:var(--muted); font-size:.61rem; }
.overview-availability-banner > .button { white-space:nowrap; }
.term-renewal-notice { align-items: center; background: linear-gradient(125deg,var(--navy),color-mix(in srgb, var(--navy) 82%, white)); border: 2px solid var(--navy); border-radius: 20px; box-shadow: 7px 7px 0 var(--yellow); color: white; display: grid; gap: 18px; grid-template-columns: 56px 1fr auto; margin: 4px 7px 23px 0; padding: 20px; }.term-renewal-notice .renewal-icon { align-items: center; background: var(--yellow); border-radius: 15px; color: var(--navy); display: flex; font: 900 1.05rem var(--heading-font); height: 52px; justify-content: center; width: 52px; }.term-renewal-notice h2 { color: white; font-size: 1.65rem; margin: 3px 0 4px; }.term-renewal-notice p { color: rgba(255,255,255,.75); font-size: .78rem; margin: 0; }.term-renewal-notice .portal-card-kicker { color: var(--yellow); }.renewal-copy > small { color: rgba(255,255,255,.62); display: block; font-size: .66rem; margin-top: 7px; }.renewal-price { align-items: flex-end; display: flex; flex-direction: column; gap: 3px; min-width: 190px; }.renewal-price > span { color: rgba(255,255,255,.72); font-size: .65rem; font-weight: 800; }.renewal-price > span s { margin-right: 6px; }.renewal-price > strong { color: white; font: 900 1.8rem var(--heading-font); }.renewal-price .button { margin-top: 5px; white-space: nowrap; }.term-renewal-notice.is-paid { background: linear-gradient(125deg,#1d7258,#2b8a6c); border-color: #1d7258; grid-template-columns: 56px 1fr auto; }.term-renewal-notice.is-paid > strong { background: rgba(255,255,255,.15); border-radius: 999px; padding: 7px 12px; }
.term-renewal-notice.is-coming-soon { background:linear-gradient(125deg,#28483f,#3b6156); border-color:#28483f; box-shadow:7px 7px 0 #b8cbbd; }.term-renewal-notice.is-coming-soon .renewal-price .button[disabled] { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.22); color:white; cursor:not-allowed; opacity:1; }
.bulk-payment-batch { background:linear-gradient(135deg,#f7fbf8,#fff9e8); border:2px solid var(--navy); border-radius:20px; box-shadow:7px 7px 0 var(--yellow); display:grid; gap:16px; margin:4px 7px 23px 0; padding:20px; }
.bulk-payment-batch-heading h2 { font-size:1.55rem; margin:3px 0 5px; }.bulk-payment-batch-heading > p { color:var(--muted); font-size:.72rem; line-height:1.5; margin:0; max-width:780px; }
.bulk-payment-card-grid { display:grid; gap:11px; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.bulk-payment-card { background:white; border:1px solid #d5ded5; border-radius:15px; display:grid; gap:9px; padding:14px; }.bulk-payment-card.is-overdue { border-color:#c2525e; box-shadow:inset 4px 0 0 #c2525e; }.bulk-payment-card.is-paid { background:#eef8f2; border-color:#8fbea3; }
.bulk-payment-card > header { align-items:start; display:flex; gap:12px; justify-content:space-between; }.bulk-payment-card > header span { color:var(--success); font-size:.57rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.bulk-payment-card > header h3 { font-size:1rem; margin:2px 0 0; }.bulk-payment-card > header > strong { background:#edf0ea; border-radius:999px; color:var(--muted); font-size:.57rem; padding:6px 8px; white-space:nowrap; }.bulk-payment-card.is-open > header > strong { background:#e0f2e7; color:#246c4c; }.bulk-payment-card.is-overdue > header > strong { background:#f8d9dd; color:#91333f; }.bulk-payment-card.is-paid > header > strong { background:#dff1e5; color:#246c4c; }
.bulk-payment-card > p { color:var(--muted); font-size:.64rem; margin:0; }.bulk-payment-lessons { border-block:1px solid #e4e9e2; display:grid; gap:0; list-style:none; margin:0; padding:4px 0; }.bulk-payment-lessons li { align-items:center; display:flex; font-size:.64rem; justify-content:space-between; padding:5px 2px; }.bulk-payment-lessons li strong { font-size:.65rem; }
.bulk-payment-card > footer { align-items:center; display:grid; gap:4px 10px; grid-template-columns:1fr auto; }.bulk-payment-card > footer > span { color:var(--muted); font-size:.57rem; }.bulk-payment-card > footer > strong { font:900 1.25rem var(--heading-font); text-align:right; }.bulk-payment-card > footer .bulk-payment-paid-breakdown { color:var(--muted); display:grid; font-size:.6rem; gap:4px; grid-column:1/-1; margin:0; }.bulk-payment-paid-breakdown > div { align-items:center; display:flex; gap:12px; justify-content:space-between; }.bulk-payment-paid-breakdown dt,.bulk-payment-paid-breakdown dd { margin:0; }.bulk-payment-paid-breakdown dd { color:var(--navy); font-weight:850; }.bulk-payment-paid-breakdown .is-card { border-top:1px solid #d6e4db; color:var(--navy); font-size:.7rem; margin-top:2px; padding-top:5px; }.bulk-payment-card > footer .button,.bulk-payment-card > footer > b { grid-column:1/-1; justify-content:center; margin-top:3px; text-align:center; width:100%; }.bulk-payment-card > footer > b { color:var(--success); font-size:.72rem; }
.bulk-payment-batch.has-unpaid-payments { background:repeating-linear-gradient(135deg,#fff9dc 0,#fff9dc 18px,#fde9ec 18px,#fde9ec 36px); border-color:#b53e4d; }
.bulk-payment-card.is-payment-pending { background:repeating-linear-gradient(135deg,#fff0a8 0,#fff0a8 12px,#f7c9cf 12px,#f7c9cf 24px); border-color:#ca4656; box-shadow:inset 5px 0 0 #ca4656; color:#5d252d; }
.bulk-payment-card.is-payment-pending > header > strong { background:#a92f3e; color:white; }
.bulk-payment-lesson-price { align-items:baseline; display:inline-flex; gap:7px; justify-content:flex-end; white-space:nowrap; }.bulk-payment-lesson-price s { color:#7f5c61; font-weight:700; }.bulk-payment-lesson-price span { color:#173c34; font-size:.72rem; font-weight:950; }
.academic-year-prompt{background:linear-gradient(130deg,#173c34,#2d5b4e);border:2px solid #173c34;border-radius:22px;box-shadow:8px 8px 0 #e0bd62;color:#fff;display:grid;gap:20px;grid-template-columns:minmax(250px,.8fr) minmax(420px,1.2fr);margin:4px 9px 26px 0;padding:24px}.academic-year-prompt h2{color:#fff;font-size:1.8rem;margin:4px 0 7px}.academic-year-prompt p,.academic-year-prompt small{color:rgba(255,255,255,.76)}.academic-year-prompt form{display:grid;gap:8px}.academic-year-prompt form>label{align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:12px;cursor:pointer;display:flex;gap:10px;padding:10px 12px}.academic-year-prompt form>label:has(input:checked){background:#f8edc8;border-color:#e0bd62;color:#173c34}.academic-year-prompt form>label:has(input:checked) small{color:#51645e}.academic-year-prompt form>label input{accent-color:#287d67;height:18px;width:18px}.academic-year-prompt form>label span{display:grid;gap:1px}.academic-year-prompt form>label strong{font-size:.78rem}.academic-year-prompt form>label small{font-size:.65rem}.academic-year-prompt .button{justify-self:start}.academic-year-prompt.is-answered{grid-template-columns:1fr}.rollover-confirmed-time{background:rgba(255,255,255,.13);border-radius:10px;display:inline-block;padding:9px 12px}.rollover-slot-form>div{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(115px,1fr))}.rollover-slot-form>strong{color:#fff}.rollover-slot-form label span{display:flex!important;justify-content:space-between;width:100%}
@media(max-width:900px){.academic-year-prompt{grid-template-columns:1fr}.rollover-slot-form>div{grid-template-columns:repeat(2,minmax(115px,1fr))}}
.renewal-dates { border-top: 1px solid rgba(255,255,255,.18); margin-top: 14px; padding-top: 12px; }.renewal-dates > strong { color: white; display: block; font-size: .68rem; margin-bottom: 7px; }.renewal-dates > div { display: grid; gap: 6px; grid-template-columns: repeat(5,minmax(100px,1fr)); }.renewal-dates span { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 9px; display: grid; font-size: .66rem; gap: 1px 6px; grid-template-columns: 22px 1fr; padding: 7px; }.renewal-dates b { align-items: center; background: var(--yellow); border-radius: 6px; color: var(--navy); display: flex; font-size: .62rem; grid-row: span 2; height: 22px; justify-content: center; }.renewal-dates small { color: rgba(255,255,255,.62); font-size: .58rem; }.term-renewal-dialog { background: transparent; border: 0; max-width: 980px; padding: 18px; width: calc(100% - 28px); }.term-renewal-dialog::backdrop { background: rgba(13,24,42,.82); backdrop-filter: blur(7px); }.term-renewal-dialog-shell { position: relative; }.term-renewal-dialog .term-renewal-notice { box-shadow: 10px 10px 0 var(--yellow); margin: 0 10px 10px 0; padding: 30px 28px; }.renewal-dismiss-button { align-items: center; background: white; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); cursor: pointer; display: flex; font-size: 1.35rem; font-weight: 900; height: 38px; justify-content: center; position: absolute; right: -7px; top: -17px; width: 38px; z-index: 2; }.renewal-dismiss-button:hover { background: var(--yellow); }
.lesson-disruption-notice { align-items: start; background: linear-gradient(125deg,var(--navy),color-mix(in srgb, var(--navy) 82%, white)); border: 2px solid var(--navy); border-radius: 20px; box-shadow: 7px 7px 0 #e16d78; color: white; display: grid; gap: 18px; grid-template-columns: 56px 1fr; margin: 4px 7px 23px 0; padding: 22px; }.disruption-icon { align-items: center; background: #e16d78; border-radius: 15px; color: white; display: flex; font: 900 1.35rem var(--heading-font); height: 52px; justify-content: center; width: 52px; }.lesson-disruption-notice .portal-card-kicker { color: #ffb7bd; }.lesson-disruption-notice h2 { color: white; font-size: 1.8rem; margin: 3px 0 6px; }.lesson-disruption-notice p { color: rgba(255,255,255,.76); font-size: .78rem; margin: 0; }.lesson-disruption-options { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-top: 16px; }.lesson-disruption-option { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 11px; color: white; cursor: pointer; display: flex; justify-content: space-between; padding: 11px 13px; text-align: left; }.lesson-disruption-option:hover { background: rgba(255,255,255,.18); border-color: var(--yellow); }.lesson-disruption-option strong { display: block; font: 900 .82rem var(--heading-font); }.lesson-disruption-option small { color: rgba(255,255,255,.65); }.lesson-disruption-option span { color: var(--yellow); font-size: 1.1rem; font-weight: 900; }.lesson-credit-choice { align-items: center; border-top: 1px solid rgba(255,255,255,.18); display: flex; gap: 16px; justify-content: space-between; margin-top: 14px; padding-top: 14px; }.lesson-credit-choice strong { color: white; display: block; font-size: .78rem; }.lesson-credit-choice small { color: rgba(255,255,255,.65); }.lesson-credit-choice .button { flex: 0 0 auto; }.lesson-disruption-dialog { background: transparent; border: 0; max-width: 920px; padding: 18px; width: calc(100% - 28px); }.lesson-disruption-dialog::backdrop { background: rgba(13,24,42,.84); backdrop-filter: blur(7px); }.lesson-disruption-dialog-shell { position: relative; }.lesson-disruption-dialog .lesson-disruption-notice { box-shadow: 10px 10px 0 #e16d78; margin: 0 10px 10px 0; padding: 30px 28px; }.credit-note-card { align-items: center; background: var(--mint-soft); border: 1px solid #a9d4c6; border-radius: 16px; color: #285f50; display: flex; gap: 14px; justify-content: space-between; padding: 16px 18px; }.credit-note-card > div { display: grid; gap: 2px; }.credit-note-card strong { font: 900 1rem var(--heading-font); }.credit-note-card span { background: white; border-radius: 999px; color: var(--success); font-size: .7rem; font-weight: 900; padding: 7px 10px; }
.lesson-credit-choice .lesson-credit-refund-button { background:var(--yellow); border:2px solid white; box-shadow:0 0 0 3px rgba(255,216,93,.22); color:var(--navy); font-weight:900; min-height:48px; }
.lesson-credit-choice .lesson-credit-refund-button:hover,.lesson-credit-choice .lesson-credit-refund-button:focus-visible { background:#ffe785; border-color:var(--yellow); outline:2px solid white; outline-offset:2px; }
.student-overview-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }.portal-card { background: white; border: 1px solid #dce2d8; border-radius: 18px; min-height: 230px; padding: 23px; }.portal-card-large { grid-column: span 2; }.portal-card-kicker { color: var(--success); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }.portal-card h2, .portal-card h3 { margin-bottom: 10px; }.portal-card h2 { font-size: 2rem; }.portal-card > p { color: var(--muted); }.portal-card-footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 20px; padding-top: 17px; }.portal-card-footer small { color: var(--muted); }
.assigned-lesson-notice { align-items:start; background:linear-gradient(125deg,var(--navy),#244d43); border:2px solid var(--navy); border-radius:20px; box-shadow:7px 7px 0 var(--yellow); color:white; display:grid; gap:18px; grid-template-columns:52px minmax(0,1fr) auto; margin:4px 7px 23px 0; padding:20px; }
.assigned-lesson-notice[hidden] { display:none; }
.assigned-lesson-notice-icon { align-items:center; background:var(--yellow); border-radius:14px; color:var(--navy); display:flex; font:900 1.35rem var(--heading-font); height:50px; justify-content:center; width:50px; }
.assigned-lesson-notice-copy { min-width:0; }
.assigned-lesson-notice .portal-card-kicker { color:var(--yellow); }
.assigned-lesson-notice h2 { color:white; font-size:1.55rem; margin:3px 0 4px; }
.assigned-lesson-notice-copy > p { color:rgba(255,255,255,.76); font-size:.76rem; margin:0; }
.assigned-booking-list { display:grid; gap:9px; margin-top:14px; }
.assigned-booking-summary { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:13px; min-width:0; padding:12px 14px; }
.assigned-booking-summary header,.assigned-booking-summary footer { align-items:center; display:flex; gap:10px; justify-content:space-between; }
.assigned-booking-summary header span { color:var(--yellow); font-size:.62rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.assigned-booking-summary header strong { color:white; font-size:.72rem; }
.assigned-booking-summary p { color:white; font-size:.7rem; line-height:1.55; margin:8px 0; overflow-wrap:anywhere; }
.assigned-booking-summary footer { border-top:1px solid rgba(255,255,255,.16); padding-top:8px; }
.assigned-booking-summary footer small { color:rgba(255,255,255,.72); line-height:1.45; max-width:540px; }
.assigned-booking-summary footer > strong { color:white; display:flex; flex:0 0 auto; flex-direction:column; font:900 1rem var(--heading-font); text-align:right; }
.assigned-booking-summary footer > strong span { color:rgba(255,255,255,.65); font:800 .55rem var(--body-font); text-transform:uppercase; }
.assigned-booking-payment { align-items:flex-start; display:grid; gap:8px; min-width:0; }
.assigned-booking-payment .button { background:var(--yellow); border-color:var(--yellow); color:var(--navy); justify-self:start; min-height:42px; padding:9px 14px; }
.assigned-lesson-notice > .button { align-self:center; min-height:44px; white-space:nowrap; }
.student-refund-notice { align-items:center; background:linear-gradient(130deg,#e8f6ed,#fff8da); border:1px solid #bcd7c4; border-radius:18px; display:grid; gap:14px; grid-template-columns:48px minmax(0,1fr) auto; margin:16px 0; padding:16px 18px; }
.student-refund-notice[hidden] { display:none; }
.student-refund-notice-icon { align-items:center; background:var(--success); border-radius:14px; color:white; display:flex; font:900 1rem var(--heading-font); height:46px; justify-content:center; width:46px; }
.student-refund-notice > div { display:grid; gap:3px; min-width:0; }
.student-refund-notice h2 { color:var(--navy); font-size:1rem; margin:0; }
.student-refund-notice p { color:var(--muted); font-size:.67rem; line-height:1.5; margin:0; }
.student-refund-notice > .button { min-height:40px; white-space:nowrap; }

.student-whatsapp-consent-dialog { background:transparent; border:0; max-height:calc(100dvh - 18px); max-width:650px; overflow:auto; overscroll-behavior:contain; padding:14px; width:calc(100% - 24px); }
.student-whatsapp-consent-dialog::backdrop { backdrop-filter:blur(5px); background:rgba(12,30,26,.72); }
.student-whatsapp-consent-shell { align-items:start; background:linear-gradient(140deg,#fff 0%,#f7fbf6 72%,#fff4c9 100%); border:2px solid var(--navy); border-radius:25px; box-shadow:10px 10px 0 var(--yellow); display:grid; gap:20px; grid-template-columns:64px minmax(0,1fr); padding:28px; }
.student-whatsapp-consent-mark { align-items:center; background:#23805f; border-radius:18px; color:white; display:flex; font:900 1rem var(--heading-font); height:60px; justify-content:center; width:60px; }
.student-whatsapp-consent-copy { min-width:0; }
.student-whatsapp-consent-copy .eyebrow { color:var(--success); margin:0 0 5px; }
.student-whatsapp-consent-copy h2 { color:var(--navy); font-size:2rem; line-height:1.08; margin:0; }
.student-whatsapp-consent-copy > p:not(.eyebrow) { color:var(--muted); line-height:1.55; margin:12px 0 0; }
.student-whatsapp-consent-copy ul { display:grid; gap:7px; list-style:none; margin:16px 0 0; padding:0; }
.student-whatsapp-consent-copy li { align-items:start; color:var(--navy); display:grid; font-size:.78rem; font-weight:800; gap:8px; grid-template-columns:19px minmax(0,1fr); }
.student-whatsapp-consent-copy li::before { align-items:center; background:var(--mint-soft); border-radius:50%; color:var(--success); content:"✓"; display:flex; font-size:.65rem; height:19px; justify-content:center; width:19px; }
.student-whatsapp-consent-copy .student-whatsapp-consent-privacy { font-size:.68rem; }
.student-whatsapp-consent-status { min-height:1.2em; }
.student-whatsapp-consent-status.is-error { color:#a82f3d!important; font-weight:800; }
.student-whatsapp-consent-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:17px; }
.student-whatsapp-consent-actions .button { min-height:46px; }
.overview-question-library { background:linear-gradient(135deg,#f5f1df 0%,#fff 46%,#edf5ef 100%); border-color:#c7d6ca; min-height:0; overflow:hidden; }
.overview-question-library[hidden] { display:none; }
.overview-question-library-heading { align-items:flex-start; display:flex; gap:20px; justify-content:space-between; }
.overview-question-library-heading h2 { font-size:clamp(1.45rem,2.4vw,2rem); margin:5px 0 7px; }
.overview-question-library-heading p { color:var(--muted); font-size:.76rem; line-height:1.5; margin:0; max-width:720px; }
.overview-question-library-heading > b { background:var(--navy); border-radius:999px; color:white; flex:0 0 auto; font-size:.67rem; padding:8px 11px; }
.overview-question-resource-list { display:grid; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:18px; }
.overview-question-resource { align-items:center; background:rgba(255,255,255,.9); border:1px solid #d4ded6; border-radius:13px; display:grid; gap:10px; grid-template-columns:auto minmax(0,1fr) auto; padding:11px; }
.saved-question-icon { align-items:center; background:var(--navy); border-radius:10px; color:white; display:flex; font:900 .76rem var(--heading-font); height:40px; justify-content:center; width:40px; }
.saved-question-copy { display:grid; gap:2px; min-width:0; }
.saved-question-copy > span { color:var(--success); font-size:.53rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.saved-question-copy strong { font-size:.75rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.saved-question-copy small { color:var(--muted); font-size:.56rem; line-height:1.35; }
.overview-question-resource > button { background:var(--navy); border:0; border-radius:9px; color:white; cursor:pointer; font-size:.6rem; font-weight:900; padding:9px 11px; }
.overview-question-library > footer { align-items:center; border-top:1px solid #d5ded5; display:flex; justify-content:space-between; margin-top:15px; padding-top:13px; }
.overview-question-library > footer small { color:var(--muted); font-size:.62rem; }
.overview-lesson-notes{background:linear-gradient(135deg,#edf5ef,#fff);min-height:0}.overview-lesson-notes[hidden]{display:none}.overview-lesson-notes>header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.overview-lesson-notes>header h2{margin:4px 0 6px}.overview-lesson-notes>header p{color:var(--muted);font-size:.76rem;margin:0}.overview-lesson-notes>header b{background:var(--navy);border-radius:999px;color:#fff;font-size:.62rem;padding:7px 10px}.overview-lesson-note-list{display:grid;gap:9px;margin-top:16px}.overview-lesson-note-list article{align-items:center;background:#fff;border:1px solid #d7e2da;border-radius:12px;display:grid;gap:11px;grid-template-columns:auto minmax(0,1fr) auto;padding:11px}.overview-lesson-note-list article>span{align-items:center;background:#eadfe2;border-radius:8px;color:#7b2d45;display:flex;font-size:.54rem;font-weight:900;height:38px;justify-content:center;width:38px}.overview-lesson-note-list article>div{display:grid;gap:2px;min-width:0}.overview-lesson-note-list article strong{font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-lesson-note-list article small{color:var(--muted);font-size:.58rem}.overview-lesson-note-list article button{background:var(--success);border:0;border-radius:8px;color:#fff;cursor:pointer;font-size:.6rem;font-weight:900;min-height:38px;padding:8px 10px}
.next-lesson-card { align-items: stretch; display: grid; gap: 28px; grid-template-columns: 1fr 280px; }.next-lesson-time { background: var(--yellow-soft); border-radius: 16px; display: flex; flex-direction: column; justify-content: center; padding: 22px; }.next-lesson-time strong { font: 900 2rem var(--heading-font); }.next-lesson-time span, .next-lesson-time small { color: #6f5d20; }
.homework-progress { background: #edf0f5; border-radius: 999px; height: 8px; margin: 17px 0 8px; overflow: hidden; }.homework-progress span { background: var(--success); display: block; height: 100%; }
.student-section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 24px; }.student-section-heading h2 { font-size: clamp(2.2rem,4vw,3.4rem); margin: 0; }.student-section-heading > p { color: var(--muted); margin: 0; max-width: 390px; }

.zoom-lesson-card { background: white; border: 1px solid #dce2d8; border-radius: 20px; overflow: hidden; }.zoom-lesson-details { align-items: center; display: grid; gap: 20px; grid-template-columns: 72px 1fr auto; padding: 23px; }.zoom-date { align-items: center; background: var(--yellow-soft); border-radius: 15px; display: flex; flex-direction: column; height: 70px; justify-content: center; }.zoom-date strong { font: 900 1.45rem/1 var(--heading-font); }.zoom-date span { font-size: .68rem; font-weight: 900; text-transform: uppercase; }.zoom-lesson-details h3 { margin: 0 0 3px; }.zoom-lesson-details p { color: var(--muted); font-size: .8rem; margin: 0; }.secure-badge { background: var(--mint-soft); border-radius: 999px; color: var(--success); display: inline-flex; font-size: .68rem; font-weight: 900; margin-top: 8px; padding: 4px 8px; }
.zoom-room { background: #101827; color: white; min-height: 510px; padding: 18px; }.zoom-room-topbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }.zoom-room-topbar strong { font-size: .82rem; }.zoom-room-topbar span { background: rgba(255,255,255,.1); border-radius: 999px; color: #c9d4e7; font-size: .65rem; padding: 5px 9px; }.zoom-stage { align-items: center; background: radial-gradient(circle at 50% 40%,#334c6e,#1b293e 60%,#121a29); border-radius: 16px; display: flex; justify-content: center; min-height: 390px; position: relative; }.zoom-avatar { align-items: center; background: var(--yellow); border-radius: 50%; color: var(--navy); display: flex; font: 900 2rem var(--heading-font); height: 92px; justify-content: center; width: 92px; }.zoom-stage > p { bottom: 50px; color: #dce4ef; font-size: .82rem; margin: 0; position: absolute; }.zoom-stage > small { bottom: 28px; color: #96a6bd; position: absolute; }.zoom-controls { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }.zoom-controls button { background: #25344b; border: 1px solid #40516b; border-radius: 10px; color: white; cursor: pointer; font-size: .72rem; font-weight: 800; padding: 9px 12px; }.zoom-controls button.is-off { background: #773844; border-color: #a95764; }.zoom-controls .leave-room { background: #b23b4a; border-color: #b23b4a; margin-left: 12px; }.zoom-preview-note { background: #fff8d8; border-left: 4px solid var(--yellow); color: #6d5a1f; font-size: .72rem; margin: 0; padding: 11px 15px; }

.lesson-is-open { background: #101827; overflow: hidden; }.live-lesson-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); height: min(900px,calc(100vh - 28px)); min-height: 650px; overflow: hidden; padding: 0; }.live-lesson-workspace.is-theatre-mode { grid-template-columns: minmax(0,1fr) minmax(0,2fr); height: 100dvh; inset: 0; max-height: none; max-width: none; min-height: 0; position: fixed; width: 100dvw; z-index: 1000; }.live-lesson-workspace:fullscreen { height: 100dvh; min-height: 100dvh; width: 100dvw; }.live-question-panel { background: #f5f1df; color: var(--navy); display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow-y: auto; padding: max(20px,env(safe-area-inset-top)) 24px max(18px,env(safe-area-inset-bottom)); }.live-question-panel > header { align-items: center; border-bottom: 1px solid #d9d2b8; display: flex; justify-content: space-between; padding-bottom: 16px; }.live-question-panel > header strong { font: 900 .9rem var(--heading-font); }.live-question-panel > header span { background: #e66f78; border-radius: 999px; color: white; font-size: .62rem; font-weight: 900; padding: 4px 8px; text-transform: uppercase; }.live-question-panel > div { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 0; padding-block: 20px; }.live-question-label { color: var(--success); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.live-question-panel h2 { font-size: clamp(1.65rem,2.5vw,2.7rem); line-height: 1.18; margin: 12px 0 20px; overflow-wrap: anywhere; white-space: pre-wrap; }.live-question-panel > div > small { color: #70766d; display: block; margin-top: 16px; }.live-tutor-prompt { background: white; border-left: 5px solid var(--yellow); border-radius: 11px; padding: 13px 15px; }.live-tutor-prompt span { color: #74652c; font-size: .62rem; font-weight: 900; text-transform: uppercase; }.live-tutor-prompt p { font-size: .85rem; font-weight: 700; margin: 3px 0 0; white-space: pre-wrap; }.live-question-waiting { color: #6e746e; }.live-question-panel > footer { border-top: 1px solid #d9d2b8; color: #74786f; font-size: .66rem; line-height: 1.45; padding-top: 14px; }.zoom-video-panel { background: #101827; display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: max(16px,env(safe-area-inset-top)) 18px max(16px,env(safe-area-inset-bottom)); }.zoom-video-panel .zoom-stage { flex: 1; height: auto; min-height: 0; width: 100%; }.zoom-video-panel .zoom-controls { flex: 0 0 auto; }
.student-lesson-resources { display: grid; flex: 0 0 auto; gap: 6px; margin-bottom: 10px; }.student-lesson-resources[hidden] { display: none; }.student-lesson-resource { align-items: center; background: #f5f1df; border: 1px solid #d9d2b8; border-radius: 11px; color: var(--navy); display: flex; gap: 10px; justify-content: space-between; padding: 8px 10px; }.student-lesson-resource > div { align-items: center; display: flex; gap: 8px; min-width: 0; }.student-lesson-resource > div:first-child > span { background: #e85d69; border-radius: 7px; color: white; font-size: .53rem; font-weight: 900; padding: 7px 5px; }.student-lesson-resource p { display: grid; margin: 0; min-width: 0; }.student-lesson-resource strong { font-size: .65rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.student-lesson-resource small { color: #72756f; font-size: .55rem; }.student-lesson-resource button { background: white; border: 1px solid #c9c4b3; border-radius: 7px; color: var(--navy); cursor: pointer; font-size: .58rem; font-weight: 900; padding: 6px 8px; }.lesson-pdf-split { background: #e9ece7; color: var(--navy); display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom)); }.lesson-pdf-split[hidden] { display: none; }.lesson-pdf-split > header { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 9px; }.lesson-pdf-split > header > div { display: grid; }.lesson-pdf-split > header span { color: var(--success); font-size: .55rem; font-weight: 900; text-transform: uppercase; }.lesson-pdf-split > header strong { font-size: .72rem; }.lesson-pdf-split > header button { background: white; border: 1px solid #c9cfc7; border-radius: 8px; cursor: pointer; font-size: 1rem; height: 30px; width: 30px; }.lesson-pdf-split iframe { background: white; border: 0; border-radius: 9px; flex: 1; min-height: 0; width: 100%; }.live-lesson-workspace.pdf-split-is-open,.live-lesson-workspace.is-theatre-mode.pdf-split-is-open { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }.pdf-split-is-open .live-question-panel { display: none; }.student-pdf-dialog { background: transparent; border: 0; height: min(92dvh,920px); max-width: 1100px; padding: 10px; width: calc(100% - 20px); }.student-pdf-dialog::backdrop { background: rgba(8,16,28,.82); backdrop-filter: blur(4px); }.student-pdf-dialog-shell { background: #e9ece7; border: 2px solid var(--navy); border-radius: 18px; box-shadow: 9px 9px 0 var(--yellow); display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 13px; }.student-pdf-dialog-shell > header { align-items: center; display: flex; flex: 0 0 auto; justify-content: space-between; padding: 2px 3px 10px; }.student-pdf-dialog-shell h2 { font-size: 1.25rem; margin: 0; }.student-pdf-dialog-shell .eyebrow { margin-bottom: 2px; }.student-pdf-dialog-shell iframe { background: white; border: 0; border-radius: 10px; flex: 1; min-height: 0; width: 100%; }
.student-whiteboard-wrap { aspect-ratio: 3/2; background: white; border: 1px solid #d2d5cf; border-radius: 10px; box-shadow: 0 8px 24px rgba(19,35,63,.1); margin-block: 12px; overflow: hidden; width: 100%; }.student-whiteboard-wrap svg { display: block; height: 100%; width: 100%; }
.booked-lesson-list { display: grid; gap: 16px; }.standing-reservation-card { align-items: center; background: linear-gradient(125deg,var(--navy),color-mix(in srgb, var(--navy) 82%, white)); border-radius: 20px; color: white; display: grid; gap: 28px; grid-template-columns: 1fr auto; padding: 23px; }.standing-reservation-card h3 { color: white; font-size: 1.7rem; margin: 4px 0; }.standing-reservation-card p { color: rgba(255,255,255,.72); margin: 0; }.standing-reservation-card > div:last-child { align-items: flex-end; display: flex; flex-direction: column; gap: 4px; }.standing-reservation-card > div:last-child strong { color: var(--yellow); font: 900 1.25rem var(--heading-font); }.standing-reservation-card > div:last-child small { color: rgba(255,255,255,.7); }.standing-reservation-card .button { margin-top: 8px; }
.standing-reservation-actions { display: flex; gap: 7px; }
.standing-reservation-actions .button-quiet { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: white; }
.booked-lessons-heading { align-items: center; display: flex; justify-content: space-between; margin-top: 7px; }.booked-lessons-heading h3 { margin: 0; }.booked-lessons-heading span { background: var(--blue-soft); border-radius: 999px; color: #40557f; font-size: .68rem; font-weight: 900; padding: 5px 10px; }.booked-lessons-heading.is-past { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 22px; }.booked-lessons-stack { display: grid; gap: 10px; }.booked-lesson-card { align-items: center; background: white; border: 1px solid #dce2d8; border-radius: 16px; display: grid; gap: 16px; grid-template-columns: 58px 1fr auto; padding: 15px 17px; }.booked-lesson-date { align-items: center; background: var(--yellow-soft); border-radius: 12px; display: flex; flex-direction: column; height: 58px; justify-content: center; }.booked-lesson-date span { font-size: .62rem; font-weight: 900; text-transform: uppercase; }.booked-lesson-date strong { font: 900 1.25rem/1 var(--heading-font); }.booked-lesson-copy > div { align-items: center; display: flex; gap: 9px; }.booked-lesson-copy h3 { font-size: 1rem; margin: 0; }.booked-lesson-copy p { color: var(--muted); font-size: .76rem; margin: 4px 0 1px; }.booked-lesson-copy small { color: #59637a; }.lesson-state { border-radius: 999px; font-size: .6rem; font-weight: 900; padding: 4px 7px; text-transform: uppercase; }.lesson-state.is-upcoming { background: var(--blue-soft); color: #40557f; }.lesson-state.is-complete { background: var(--mint-soft); color: var(--success); }.booked-lesson-actions { display: flex; gap: 7px; }
.booked-lesson-card.is-payment-pending,.student-calendar-event.is-payment-pending { background:repeating-linear-gradient(135deg,#fff0a8 0,#fff0a8 12px,#f7c9cf 12px,#f7c9cf 24px); border-color:#ca4656; box-shadow:inset 5px 0 0 #ca4656; color:#5d252d; }
.lesson-state.is-payment-pending { background:#a92f3e; color:white; }
.lesson-change-policy { align-items: center; background: #fff8d8; border: 1px solid #ead77f; border-radius: 14px; display: grid; gap: 12px; grid-template-columns: 38px 1fr; margin-bottom: 16px; padding: 12px 14px; }.lesson-change-policy > span { align-items: center; background: var(--yellow); border-radius: 50%; display: flex; font-weight: 900; height: 35px; justify-content: center; width: 35px; }.lesson-change-policy p { color: #655920; font-size: .76rem; margin: 0; }.lesson-change-policy strong { display: block; }.text-danger-button { background: transparent; border: 0; color: #ad3545; cursor: pointer; font-size: .7rem; font-weight: 900; padding: 7px; }.change-request-status { border-radius: 999px; display: inline-flex; font-size: .6rem; font-weight: 900; margin-top: 6px; padding: 4px 8px; text-transform: capitalize; }.change-request-status.is-pending { background: var(--yellow-soft); color: #715e20; }.change-request-status.is-approved { background: var(--mint-soft); color: var(--success); }.change-request-status.is-declined { background: #f8e3e6; color: #9d3241; }
.lesson-substitution-note { background: var(--mint-soft); border-radius: 8px; color: var(--success); display: inline-flex; font-size: .66rem; font-weight: 800; margin-top: 7px; padding: 6px 8px; }
.lesson-state.is-cancelled { background: #f8e3e6; color: #9d3241; }
.lesson-summary-content { display: grid; gap: 12px; grid-template-columns: repeat(3,1fr); }.summary-block { background: #f7f8f6; border-radius: 11px; padding: 13px; }.summary-block span { color: var(--muted); display: block; font-size: .65rem; font-weight: 900; margin-bottom: 4px; text-transform: uppercase; }.summary-block p { font-size: .8rem; margin: 0; }.summary-main { grid-column: span 3; }
.lesson-summary-dialog { background: transparent; border: 0; max-width: 740px; padding: 18px; width: calc(100% - 24px); }.lesson-summary-dialog::backdrop { background: rgba(13,24,42,.7); backdrop-filter: blur(4px); }.lesson-summary-dialog-shell { background: white; border: 2px solid var(--navy); border-radius: 24px; box-shadow: 10px 10px 0 var(--yellow); padding: 28px; }.lesson-summary-dialog-shell > header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; }.lesson-summary-dialog-shell h2 { font-size: 2.3rem; margin: 0; }.lesson-summary-dialog-shell .eyebrow { margin-bottom: 4px; }.lesson-summary-dialog-meta { align-items: center; display: flex; justify-content: space-between; margin-bottom: 12px; }.lesson-summary-dialog-meta time { color: var(--muted); font-weight: 800; }.lesson-summary-dialog-meta span { background: var(--mint-soft); border-radius: 999px; color: var(--success); font-size: .68rem; font-weight: 900; padding: 5px 10px; }.lesson-summary-dialog-content > h3 { font-size: 1.5rem; margin-bottom: 18px; }
#lesson-summary-dialog-content > h3 { font-size: 1.5rem; margin-bottom: 18px; }
.student-message-card { background: white; border: 1px solid #dce2d8; border-radius: 20px; display: flex; flex-direction: column; min-height: 560px; overflow: hidden; }.student-message-card .message-thread { min-height: 340px; }.student-message-card .message-composer { grid-template-columns: 140px 1fr auto; }.lesson-change-dialog { background: transparent; border: 0; max-width: 620px; padding: 14px; width: calc(100% - 24px); }.lesson-change-dialog::backdrop { background: rgba(13,24,42,.72); backdrop-filter: blur(4px); }.lesson-change-dialog-shell { background: white; border: 2px solid var(--navy); border-radius: 22px; box-shadow: 10px 10px 0 var(--yellow); display: grid; gap: 16px; padding: 25px; }.lesson-change-dialog-shell > header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 16px; }.lesson-change-dialog-shell h2 { font-size: 2rem; margin: 0; }.lesson-change-dialog-shell .eyebrow { margin-bottom: 3px; }.lesson-change-summary { background: var(--blue-soft); border-radius: 12px; display: grid; gap: 2px; padding: 13px 15px; }.lesson-change-summary strong { font: 900 1rem var(--heading-font); }.lesson-change-summary span { color: #53627a; font-size: .72rem; }.lesson-fee-warning { background: #fff8d8; border-left: 5px solid var(--yellow); border-radius: 10px; padding: 12px 14px; }.lesson-fee-warning strong { color: #655920; font-size: .78rem; }.lesson-fee-warning p { color: #70652e; font-size: .74rem; margin: 3px 0 0; }.reschedule-fields { display: grid; gap: 11px; grid-template-columns: 1fr 1fr; }.lesson-change-dialog-shell > label, .reschedule-fields label { display: grid; font-size: .75rem; font-weight: 900; gap: 5px; }
.renewal-checkout-dialog { background: transparent; border: 0; max-width: 570px; padding: 14px; width: calc(100% - 24px); }.renewal-checkout-dialog::backdrop { background: rgba(13,24,42,.72); backdrop-filter: blur(4px); }.renewal-checkout-shell { background: white; border: 2px solid var(--navy); border-radius: 22px; box-shadow: 10px 10px 0 var(--yellow); padding: 25px; }.renewal-checkout-shell > header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 19px; padding-bottom: 15px; }.renewal-checkout-shell h2 { font-size: 2rem; margin: 0; }.renewal-checkout-shell .eyebrow { margin-bottom: 3px; }.renewal-checkout-shell h3 { font-size: 1.45rem; margin: 12px 0 4px; }.renewal-checkout-shell p { color: var(--muted); font-size: .78rem; }.stripe-preview-badge { background: #635bff; border-radius: 999px; color: white; display: inline-flex; font-size: .65rem; font-weight: 900; padding: 6px 10px; }.renewal-payment-lines { background: #f7f8f6; border-radius: 13px; margin-block: 16px; padding: 8px 15px; }.renewal-payment-lines > div { align-items: center; border-bottom: 1px solid #dfe3dc; display: flex; font-size: .78rem; justify-content: space-between; padding-block: 9px; }.renewal-payment-lines > div:last-child { border-bottom: 0; }.renewal-payment-lines .discount { color: var(--success); }.renewal-payment-lines .total { font-size: .95rem; }.renewal-payment-lines .total strong { font: 900 1.35rem var(--heading-font); }.stripe-preview-note { background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 9px; color: #6b5d27!important; padding: 10px 12px; }.renewal-checkout-content > .button,#renewal-checkout-content > .button { width: 100%; }.renewal-success-mark { align-items: center; background: var(--mint-soft); border-radius: 50%; color: var(--success); display: flex; font-size: 1.4rem; font-weight: 900; height: 58px; justify-content: center; margin: 5px auto 12px; width: 58px; }#renewal-checkout-content:has(.renewal-success-mark) { text-align: center; }
.homework-list { display: grid; gap: 12px; }.homework-card { background: white; border: 1px solid #dce2d8; border-radius: 17px; overflow: hidden; }.homework-heading { align-items: center; cursor: pointer; display: flex; justify-content: space-between; list-style: none; padding: 18px 20px; }.homework-heading::-webkit-details-marker { display: none; }.homework-heading h3 { font-size: 1rem; margin: 2px 0 3px; }.homework-heading p { color: var(--muted); font-size: .72rem; margin: 0; }.homework-lesson-label { color: var(--success); display: block; font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }.homework-summary-actions { align-items: center; display: flex; gap: 10px; }.homework-chevron { align-items: center; background: #f1f3ef; border-radius: 50%; display: flex; font-size: 1rem; height: 32px; justify-content: center; transition: transform 150ms ease; width: 32px; }.homework-card[open] .homework-chevron { transform: rotate(180deg); }.homework-card[open] .homework-heading { border-bottom: 1px solid var(--line); }.homework-status { background: var(--yellow-soft); border-radius: 999px; color: #715e20; font-size: .68rem; font-weight: 900; padding: 5px 10px; }.homework-status.is-complete { background: var(--mint-soft); color: var(--success); }.homework-ai-note { background: var(--blue-soft); color: #40557f; font-size: .71rem; margin: 0; padding: 9px 23px; }.homework-approval-note { align-items:center; background:#e6f2ea; color:#1f6b4d; display:flex; font-size:.65rem; font-weight:900; gap:7px; margin:0; padding:9px 23px; }.homework-approval-note span { align-items:center; background:var(--success); border-radius:50%; color:white; display:inline-flex; flex:0 0 18px; height:18px; justify-content:center; }.homework-questions { display: grid; gap: 11px; padding: 20px 23px 24px; }.homework-question { border: 1px solid var(--line); border-radius: 13px; padding: 14px; }.homework-question label { display: grid; gap: 9px; }.question-prompt { align-items: flex-start; display: flex; font-weight: 800; gap: 10px; }.question-number { align-items: center; background: var(--yellow-soft); border-radius: 8px; display: flex; flex: 0 0 auto; font-size: .72rem; height: 28px; justify-content: center; width: 28px; }.question-actions { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }.hint-button { background: transparent; border: 0; color: var(--success); cursor: pointer; font-size: .72rem; font-weight: 900; padding: 0; }.question-hint { background: var(--mint-soft); border-radius: 8px; color: #356858; font-size: .72rem; margin: 8px 0 0; padding: 8px 10px; }.homework-submit { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 17px; }.homework-submit small { color: var(--muted); }
.homework-pdf-resources { background:#f7faf7; border-bottom:1px solid var(--line); display:grid; gap:8px; padding:14px 23px; }
.homework-pdf-resources > strong { color:var(--navy); font-size:.72rem; }
.homework-pdf-resources ul { display:grid; gap:7px; list-style:none; margin:0; padding:0; }
.homework-pdf-resources li { align-items:center; background:white; border:1px solid #dce2d8; border-radius:11px; display:grid; gap:9px; grid-template-columns:minmax(0,1fr) auto; padding:10px; }
.homework-pdf-resources li > span { display:grid; gap:2px; min-width:0; }
.homework-pdf-resources li strong { font-size:.68rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.homework-pdf-resources li small { color:var(--muted); font-size:.62rem; line-height:1.45; }
.empty-portal-card { background: white; border: 1px dashed #c9d0c5; border-radius: 18px; color: var(--muted); padding: 44px 25px; text-align: center; }
.portal-footer { border-top: 1px solid #dce2d8; color: var(--muted); font-size: .76rem; padding: 25px 0; }.portal-footer .shell { align-items: center; display: flex; justify-content: space-between; }.portal-footer p { margin: 0; }.portal-footer a { font-weight: 800; }
.student-extra-marketplace { background: linear-gradient(130deg,#edf7f1,#f7f4df); border: 1px solid #bcd8cb; border-radius: 19px; margin: 0 0 18px; overflow: hidden; padding: 21px; }.extra-marketplace-heading { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; }.extra-marketplace-heading > div { min-width: 0; }.extra-marketplace-heading h2,.extra-marketplace-heading h3 { margin: 2px 0 5px; }.extra-marketplace-heading p { color: var(--muted); font-size: .76rem; margin: 0; }.extra-marketplace-count { background: white; border: 1px solid #bcd8cb; border-radius: 999px; color: var(--success); flex: 0 0 auto; font-size: .68rem; font-weight: 900; padding: 7px 10px; }.extra-lesson-grid { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 15px; }.extra-lesson-card { align-items: center; background: white; border: 1px solid #d7e3da; border-radius: 14px; display: grid; gap: 10px; grid-template-columns: 50px 1fr auto; padding: 12px; }.extra-lesson-date { align-items: center; background: var(--navy); border-radius: 10px; color: white; display: flex; flex-direction: column; height: 50px; justify-content: center; text-transform: uppercase; }.extra-lesson-date span { color: var(--yellow); font-size: .55rem; font-weight: 900; }.extra-lesson-date strong { font: 900 1.15rem var(--heading-font); }.extra-lesson-card h4 { font-size: .86rem; margin: 0 0 2px; }.extra-lesson-card p { color: var(--muted); font-size: .66rem; margin: 0; }.extra-lesson-card .button { white-space: nowrap; }.extra-marketplace-empty { color: var(--muted); font-size: .72rem; margin: 12px 0 0; }.own-exchange-list { border-top: 1px solid #cdded3; display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; }.own-exchange-list > strong { color: var(--navy); font-size: .72rem; }.own-exchange-card { align-items: center; background: rgba(255,255,255,.72); border-radius: 11px; display: flex; gap: 12px; justify-content: space-between; padding: 10px 12px; }.own-exchange-card p { display: grid; margin: 0; }.own-exchange-card p strong { font-size: .72rem; }.own-exchange-card p small { color: var(--muted); font-size: .64rem; }.exchange-status { border-radius: 999px; flex: 0 0 auto; font-size: .62rem; font-weight: 900; padding: 6px 8px; }.exchange-status.is-open { background: var(--yellow-soft); color: #6f5b18; }.exchange-status.is-claimed { background: var(--mint-soft); color: var(--success); }.exchange-status.is-expired,.exchange-status.is-withdrawn { background: #edf0ec; color: #6e766e; }.exchange-withdraw-button { background: transparent; border: 0; color: #9d3241; cursor: pointer; font-size: .64rem; font-weight: 900; padding: 4px; }.lesson-exchange-dialog { background: transparent; border: 0; max-width: 650px; padding: 14px; width: calc(100% - 24px); }.lesson-exchange-dialog::backdrop { background: rgba(13,24,42,.76); backdrop-filter: blur(5px); }.lesson-exchange-dialog-shell { background: white; border: 2px solid var(--navy); border-radius: 22px; box-shadow: 10px 10px 0 var(--yellow); display: grid; gap: 16px; padding: 25px; }.lesson-exchange-dialog-shell > header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 16px; }.lesson-exchange-dialog-shell h2 { font-size: 2rem; margin: 0; }.exchange-credit-breakdown { background: #f5f7f3; border-radius: 13px; display: grid; padding: 5px 14px; }.exchange-credit-breakdown > div { align-items: center; border-bottom: 1px solid #dce2d8; display: flex; font-size: .74rem; justify-content: space-between; padding: 9px 2px; }.exchange-credit-breakdown > div:last-child { border-bottom: 0; }.exchange-credit-breakdown .is-total { color: var(--success); font-weight: 900; }.exchange-confirmation { align-items: flex-start; background: var(--mint-soft); border-radius: 11px; display: flex !important; font-size: .73rem !important; grid-template-columns: 18px 1fr; line-height: 1.45; padding: 12px 14px; }.exchange-confirmation input { margin-top: 3px; }.exchange-book-price { align-items: center; background: var(--mint-soft); border-radius: 13px; color: var(--success); display: flex; justify-content: space-between; padding: 14px 16px; }.exchange-book-price span { font-size: .75rem; font-weight: 800; }.exchange-book-price strong { font: 900 1.35rem var(--heading-font); }.exchange-privacy-note { color: var(--muted); font-size: .72rem; margin: 0; }.lesson-state.is-released { background: var(--yellow-soft); color: #6f5b18; }.released-lesson-note { color: #6f5b18; display: block; font-size: .67rem; font-weight: 800; margin-top: 6px; }
.student-booking-context { align-items:center; background:linear-gradient(125deg,var(--navy),#35584e); border-radius:18px; color:white; display:grid; gap:12px 28px; grid-template-columns:auto auto minmax(220px,1fr); margin-bottom:18px; padding:18px 20px; }
.student-booking-context > div { display:grid; }
.student-booking-context span { color:var(--yellow); font-size:.58rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.student-booking-context strong { color:white; font:.9rem var(--heading-font); }
.student-booking-context p { color:rgba(255,255,255,.72); font-size:.7rem; margin:0; text-align:right; }
.student-group-lessons { background: white; border: 1px solid #cfdcd2; border-radius: 19px; margin: 0 0 18px; padding: 21px; }.group-lessons-heading { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; }.group-lessons-heading h3 { margin: 2px 0 5px; }.group-lessons-heading p { color: var(--muted); font-size: .76rem; margin: 0; }.group-lessons-count { background: var(--mint-soft); border-radius: 999px; color: var(--success); flex: 0 0 auto; font-size: .68rem; font-weight: 900; padding: 7px 10px; }.group-lesson-grid { display: grid; gap: 10px; margin-top: 15px; }.group-lesson-card { align-items: center; background: #f8faf7; border: 1px solid #d9e2da; border-radius: 14px; display: grid; gap: 14px; grid-template-columns: 120px minmax(0,1fr) auto; padding: 13px; }.group-lesson-date { border-right: 1px solid #d9e2da; display: grid; padding-right: 13px; }.group-lesson-date span { color: var(--success); font-size: .64rem; font-weight: 900; }.group-lesson-date strong { font: 900 1.05rem var(--heading-font); }.group-lesson-copy h4 { font-size: .94rem; margin: 0 0 3px; }.group-lesson-copy p { color: var(--muted); font-size: .68rem; margin: 0 0 4px; }.group-lesson-copy span { color: var(--success); font-size: .64rem; font-weight: 900; }.group-lesson-action { align-items: flex-end; display: flex; flex-direction: column; gap: 6px; }.group-lesson-action > strong { font: 900 1.12rem var(--heading-font); }.group-lesson-action .button[disabled] { cursor: default; opacity: .72; }
.group-lessons-empty { color:var(--muted); font-size:.72rem; margin:15px 0 0; }
.group-paid-badge { background:var(--mint-soft); border-radius:999px; color:var(--success); font-size:.63rem; font-weight:900; padding:6px 9px; }

@media (min-width: 681px) {
  .portal-body.student-session-open { height: 100dvh; min-height: 0; overflow: hidden; }
  .portal-body.student-session-open > main { flex: 1; min-height: 0; overflow: hidden; }
  .portal-body.student-session-open { display: flex; flex-direction: column; }
  .student-session-open .portal-header { flex: 0 0 auto; position: relative; }
  .student-session-open .student-portal { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
  .student-session-open .student-portal[hidden] { display: none; }
  .student-session-open .student-hero { flex: 0 0 auto; }
  .student-session-open .student-hero-inner { min-height: 170px; padding-block: 25px; }
  .student-session-open .student-workspace { flex: 1; grid-template-rows: minmax(0,1fr); min-height: 0; overflow: hidden; padding-block: 20px; }
  .student-session-open .student-tabs { min-height: 0; overflow-y: auto; position: static; }
  .student-session-open .student-panels { min-height: 0; overflow: hidden; }
  .student-session-open .student-panel.is-active { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 2px 12px 28px 2px; scrollbar-gutter: stable; }
  .student-session-open .portal-footer { display: none; }
}

.student-pencil-tail{filter:drop-shadow(0 2px 4px rgba(19,35,63,.28));height:100%;inset:0;overflow:visible;pointer-events:none;position:absolute;width:100%;z-index:11}.student-pencil-tail[hidden]{display:none}.student-pencil-tail line{stroke:#ce3f4d;stroke-linecap:round;stroke-linejoin:round;stroke-width:8}.student-pencil-tail circle{fill:#ce3f4d;stroke:#f5d978;stroke-width:3}

.booked-lesson-actions .print-question-pack { align-items:center; display:inline-flex; gap:7px; justify-content:center; text-decoration:none; }
.booked-lesson-actions .print-question-pack > span { align-items:center; background:rgba(36,59,53,.12); border-radius:999px; display:inline-flex; font-size:.64rem; height:21px; justify-content:center; min-width:21px; padding:0 5px; }
.booked-lesson-actions .print-question-pack:disabled { cursor:not-allowed; opacity:.58; }
.lesson-question-pack { align-items:center; background:linear-gradient(135deg,#edf5ef,#f8f3dd); border:1px solid #bfd3c6; border-radius:14px; display:grid; gap:12px; grid-template-columns:auto minmax(0,1fr) auto; margin-top:14px; max-width:760px; padding:13px; }
.lesson-question-pack-icon { align-items:center; aspect-ratio:1; background:#243b35; border-radius:11px; color:#fff; display:flex; font-size:.66rem; font-weight:900; justify-content:center; width:44px; }
.lesson-question-pack > div:nth-child(2) { display:grid; gap:2px; min-width:0; }
.lesson-question-pack span { color:#23805f; font-size:.64rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.lesson-question-pack strong { color:#243b35; font-family:"Nunito",sans-serif; font-size:1rem; }
.lesson-question-pack small { color:#63746d; line-height:1.35; }
.lesson-question-pack .print-question-pack { align-items:center; display:inline-flex; justify-content:center; text-decoration:none; white-space:nowrap; }
.student-ipad-pairing-status { background:#edf5ef; border:1px solid #c3d8c9; border-radius:10px; color:#355a4a; font-size:.84rem; line-height:1.45; margin:12px 0; padding:10px 12px; }

@media (max-width: 1100px) {
  .portal-login { gap: 45px; grid-template-columns: 1fr 1fr; }
  .student-workspace { grid-template-columns: 1fr; }.student-tabs { display: flex; overflow-x: auto; position: static; }.student-tabs button { flex: 0 0 auto; }
  .student-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }.lesson-summary-content { grid-template-columns: 1fr 1fr; }.summary-main { grid-column: span 2; }.booked-lesson-card { grid-template-columns: 58px 1fr; }.booked-lesson-actions { grid-column: span 2; justify-content: flex-end; }
  .term-renewal-notice { grid-template-columns: 50px 1fr; }.renewal-price { align-items: flex-start; grid-column: span 2; padding-left: 68px; }.renewal-dates > div { grid-template-columns: repeat(3,minmax(100px,1fr)); }
  .overview-availability-banner { grid-template-columns:1fr auto; }.overview-availability-banner ul { grid-column:1 / -1; grid-row:2; }
  .assigned-lesson-notice { grid-template-columns:50px minmax(0,1fr); }.assigned-lesson-notice > .button { grid-column:2; justify-self:start; }
}
.student-question-meta { display: flex !important; flex: 0 0 auto !important; flex-direction: row !important; flex-wrap: wrap; gap: 6px; justify-content: flex-start !important; min-height: 0 !important; padding: 10px 0 0 !important; }.student-question-meta span { background: rgba(19,35,63,.08); border-radius: 999px; font-size: .58rem; font-weight: 900; padding: 4px 7px; }
.live-question-pdf-link { align-self: flex-start; background: var(--navy); border-radius: 10px; color: white; display: inline-flex; font-size: .7rem; font-weight: 900; margin: -8px 0 16px; padding: 9px 12px; text-decoration: none; }
@media (max-width: 680px) {
  .portal-header { flex-wrap: wrap; gap: 8px 12px; }.portal-body:not(.student-session-open) .portal-header { -webkit-backdrop-filter: none; backdrop-filter: none; position: relative; }.portal-header .brand { font-size: .9rem; }.portal-header .brand-mark { height: 38px; width: 46px; }.portal-header-actions { gap: 6px; margin-left: auto; }.portal-header-actions > a { display: inline-flex; font-size: .68rem; }.portal-header-actions .button { font-size: .68rem; min-height: 36px; padding: 6px 10px; }.portal-login { display: flex; flex-direction: column; gap: 35px; min-height: auto; padding-block: 48px 70px; }.portal-login-card { order: -1; padding: 25px 20px; width: 100%; }.portal-login-copy h1 { font-size: 3.1rem; }
  .student-hero-inner { align-items: flex-start; flex-direction: column; gap: 25px; }.student-hero-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.student-streak { min-width: 0; width: 100%; }
  .overview-availability-banner { align-items:stretch; grid-template-columns:1fr; padding:16px; }.overview-availability-banner ul { grid-column:auto; grid-row:auto; }.overview-availability-banner > .button { width:100%; }
  .assigned-lesson-notice { grid-template-columns:43px minmax(0,1fr); padding:16px; }.assigned-lesson-notice-icon { border-radius:12px; height:43px; width:43px; }.assigned-lesson-notice h2 { font-size:1.3rem; }.assigned-lesson-notice > .button { grid-column:1 / -1; justify-self:stretch; width:100%; }.assigned-booking-summary footer { align-items:flex-start; flex-direction:column; }.assigned-booking-summary footer > strong { text-align:left; }
  .assigned-booking-payment,.assigned-booking-payment .button { width:100%; }.assigned-booking-payment .button { justify-self:stretch; }
  .student-whatsapp-consent-dialog { padding:7px; width:calc(100% - 10px); }.student-whatsapp-consent-shell { border-radius:19px; gap:13px; grid-template-columns:46px minmax(0,1fr); padding:20px 16px; }.student-whatsapp-consent-mark { border-radius:13px; height:44px; width:44px; }.student-whatsapp-consent-copy h2 { font-size:1.55rem; }.student-whatsapp-consent-copy > p:not(.eyebrow) { font-size:.75rem; }.student-whatsapp-consent-actions { grid-column:1 / -1; }.student-whatsapp-consent-actions .button { flex:1 1 100%; width:100%; }
  .student-overview-stats { grid-template-columns: 1fr; }.student-overview-grid { grid-template-columns: 1fr; }.portal-card-large { grid-column: auto; }.next-lesson-card { grid-template-columns: 1fr; }.next-lesson-time { min-height: 150px; }
  .term-renewal-notice { align-items: flex-start; grid-template-columns: 46px 1fr; padding: 16px; }.term-renewal-notice .renewal-icon { border-radius: 12px; height: 43px; width: 43px; }.term-renewal-notice h2 { font-size: 1.35rem; }.renewal-price { grid-column: span 2; padding-left: 0; width: 100%; }.renewal-price .button { width: 100%; }.term-renewal-notice.is-paid { grid-template-columns: 46px 1fr; }.term-renewal-notice.is-paid > strong { grid-column: 2; justify-self: start; }.term-renewal-dialog { padding: 10px; width: calc(100% - 12px); }.term-renewal-dialog .term-renewal-notice { margin: 0 5px 5px 0; padding: 20px 16px; }.renewal-dismiss-button { right: -2px; top: -13px; }.renewal-dates > div { grid-template-columns: 1fr 1fr; }
  .lesson-disruption-notice { grid-template-columns: 46px 1fr; padding: 16px; }.disruption-icon { border-radius: 12px; height: 43px; width: 43px; }.lesson-disruption-notice h2 { font-size: 1.4rem; }.lesson-disruption-options { grid-column: span 2; grid-template-columns: 1fr; }.lesson-credit-choice { align-items: stretch; flex-direction: column; }.lesson-credit-choice .button { width: 100%; }.lesson-disruption-dialog { padding: 10px; width: calc(100% - 12px); }.lesson-disruption-dialog .lesson-disruption-notice { margin: 0 5px 5px 0; padding: 20px 16px; }.credit-note-card { align-items: flex-start; flex-direction: column; }
  .student-tabs { margin-inline: -13px; padding: 0 13px 7px; scrollbar-width: thin; }.student-tabs button { min-height: 44px; padding: 10px; white-space: nowrap; }.student-tabs button span { display: flex; }
  .zoom-lesson-details { align-items: flex-start; grid-template-columns: 62px 1fr; }.zoom-lesson-details .button { grid-column: span 2; width: 100%; }.zoom-room { padding: 10px; }.zoom-stage { min-height: 320px; }.zoom-controls { flex-wrap: wrap; }.zoom-controls .leave-room { margin-left: 0; }.live-lesson-workspace,.live-lesson-workspace.is-theatre-mode { grid-template-columns: 1fr; grid-template-rows: minmax(260px,.85fr) minmax(420px,1.15fr); height: 100dvh; min-height: 0; padding: 0; }.live-lesson-workspace:fullscreen { height: 100dvh; }.live-question-panel { padding: 18px; }.live-question-panel > div { padding-block: 16px; }.live-question-panel h2 { font-size: 1.65rem; margin-block: 8px 12px; }.zoom-video-panel { padding: 10px; }
  .student-lesson-resource { align-items: stretch; flex-direction: column; }.student-lesson-resource > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }.live-lesson-workspace.pdf-split-is-open,.live-lesson-workspace.is-theatre-mode.pdf-split-is-open { grid-template-columns: 1fr; grid-template-rows: minmax(300px,1fr) minmax(360px,1fr); }.pdf-split-is-open .lesson-pdf-split { grid-row: 1; }.pdf-split-is-open .zoom-video-panel { grid-row: 2; }.student-pdf-dialog { height: calc(100dvh - 12px); padding: 6px; width: calc(100% - 8px); }.student-pdf-dialog-shell { border-radius: 13px; padding: 8px; }
  .standing-reservation-card { align-items: flex-start; grid-template-columns: 1fr; }.standing-reservation-card > div:last-child { align-items: flex-start; }.standing-reservation-actions { flex-wrap: wrap; }.booked-lesson-card { align-items: start; gap: 11px; grid-template-columns: 50px 1fr; padding: 13px; }.booked-lesson-date { height: 50px; }.booked-lesson-copy > div { align-items: flex-start; flex-direction: column; gap: 5px; }.booked-lesson-actions { grid-column: span 2; }.booked-lesson-actions .button { flex: 1; }.lesson-summary-content { grid-template-columns: 1fr; }.summary-main { grid-column: auto; }.lesson-summary-dialog { padding: 8px; }.lesson-summary-dialog-shell { border-radius: 18px; padding: 20px 16px; }.lesson-summary-dialog-shell h2 { font-size: 1.8rem; }.lesson-summary-dialog-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .student-message-card .message-composer { grid-template-columns: 1fr; }.reschedule-fields { grid-template-columns: 1fr; }.lesson-change-dialog { padding: 8px; }.lesson-change-dialog-shell { padding: 18px 15px; }.booked-lesson-actions { flex-wrap: wrap; }.text-danger-button { min-height: 38px; }
  .extra-lesson-grid { grid-template-columns: 1fr; }.extra-lesson-card { grid-template-columns: 46px 1fr; }.extra-lesson-card .button { grid-column: span 2; width: 100%; }.lesson-exchange-dialog { padding: 7px; }.lesson-exchange-dialog-shell { padding: 18px 15px; }.own-exchange-card { align-items: flex-start; flex-wrap: wrap; }
  .homework-heading { align-items: flex-start; gap: 10px; padding: 15px; }.homework-summary-actions { align-items: flex-end; flex-direction: column; }.homework-status { font-size: .6rem; }.homework-submit { align-items: stretch; flex-direction: column; gap: 12px; }.portal-footer .shell { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (max-width: 680px) { .bulk-payment-batch { border-radius:16px; padding:15px; }.bulk-payment-batch-heading h2 { font-size:1.3rem; }.bulk-payment-card-grid { grid-template-columns:1fr; }.bulk-payment-card > header { align-items:flex-start; flex-direction:column; gap:6px; } }
@media (orientation:landscape) and (max-height:600px) {
  .student-whatsapp-consent-dialog { max-height:calc(100dvh - 8px); padding:5px; }
  .student-whatsapp-consent-shell { gap:12px; grid-template-columns:46px minmax(0,1fr); padding:16px; }
  .student-whatsapp-consent-mark { border-radius:13px; height:44px; width:44px; }
  .student-whatsapp-consent-copy h2 { font-size:1.45rem; }
  .student-whatsapp-consent-copy > p:not(.eyebrow) { margin-top:7px; }
  .student-whatsapp-consent-copy ul { margin-top:9px; }
  .student-whatsapp-consent-actions { margin-top:10px; }
}
.student-exam-paper { background:#fff; border:1px solid #171717; color:#111; font-family:Arial,Helvetica,sans-serif; margin:12px 0; padding:14px 15px 11px; }
.student-live-question-surface { aspect-ratio:3 / 2; container-type:inline-size; flex:0 0 auto; margin:12px 0; overflow:hidden; position:relative; width:100%; }
.student-live-question-surface .student-exam-paper { display:flex; flex-direction:column; height:100%; inset:0; margin:0; padding:3.5% 4%; position:absolute; width:100%; }
.student-live-question-surface .student-question-meta { padding-top:1.3% !important; }
.student-live-question-surface .student-exam-question-row { gap:1.4%; grid-template-columns:4% minmax(0,1fr) 7%; padding-top:3%; }
.student-live-question-surface .student-exam-question-row h2 { font-size:clamp(.56rem,3cqw,1rem); line-height:1.45; }
.student-live-question-surface .live-tutor-prompt { font-size:clamp(.46rem,2cqw,.75rem); margin:2% 10% 0 5.4%; padding:1.2% 1.6%; }
.student-live-question-surface .live-tutor-prompt p { font-size:inherit; }
.student-live-question-surface .student-exam-paper footer { border-top:1px solid #aaa; margin:auto 7% 0 5.4%; padding-top:1%; }
.student-live-question-annotation { height:100%; inset:0; pointer-events:none; position:absolute; width:100%; z-index:2; }
.student-exam-heading { border-bottom:2px solid #171717; display:flex; font-size:.63rem; font-weight:700; justify-content:space-between; letter-spacing:.02em; padding-bottom:7px; text-transform:uppercase; }
.student-exam-information { border-bottom:1px solid #777; display:flex; flex-wrap:wrap; gap:6px 16px; padding:7px 0; }
.student-exam-information span { color:#333; font-size:.52rem; }
.student-exam-question-row { align-items:start; display:grid; gap:9px; grid-template-columns:22px minmax(0,1fr) 34px; padding:16px 0 9px; }
.student-exam-question-row h2 { color:#111; font-family:Arial,Helvetica,sans-serif; font-size:1rem; font-weight:400; line-height:1.55; margin:0; }
.student-exam-answer-space { display:grid; gap:8px; margin:2px 7% 10px 5.4%; }
.student-exam-answer-space i { border-bottom:1px solid #c6c6c6; display:block; height:8px; }

/* Tutor-controlled live lesson screens */
.live-lesson-workspace,.live-lesson-workspace.is-theatre-mode { background:#101827; display:grid; grid-template-columns:185px minmax(0,1fr); grid-template-rows:1fr; height:100dvh; min-height:0; padding:0; }
.student-lesson-file-rail { background:#f5f1df; border-right:1px solid #d9d2b8; color:var(--navy); display:flex; flex-direction:column; min-height:0; overflow:hidden; padding:max(15px,env(safe-area-inset-top)) 10px max(12px,env(safe-area-inset-bottom)); }
.student-lesson-file-rail[hidden] { display:none; }
.live-lesson-workspace.student-resources-locked,.live-lesson-workspace.is-theatre-mode.student-resources-locked { grid-template-columns:minmax(0,1fr); }
.live-lesson-workspace.student-zoom-only,.live-lesson-workspace.is-theatre-mode.student-zoom-only { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.student-zoom-only .student-screen-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.student-zoom-only .student-camera-screen { display:flex; }
.student-lesson-file-rail > header { align-items:center; border-bottom:1px solid #d9d2b8; display:flex; flex:0 0 auto; justify-content:space-between; padding:2px 2px 11px; }
.student-lesson-file-rail > header > div { display:grid; }
.student-lesson-file-rail > header span { color:var(--success); font-size:.52rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.student-lesson-file-rail > header strong { font-size:.66rem; }
.student-lesson-file-rail > header b { align-items:center; background:var(--navy); border-radius:50%; color:white; display:flex; font-size:.52rem; height:23px; justify-content:center; width:23px; }
.student-lesson-file-rail > footer { border-top:1px solid #d9d2b8; color:#74786f; flex:0 0 auto; font-size:.52rem; padding:9px 2px 0; }
.student-lesson-resources { align-content:start; display:grid; flex:1; gap:7px; margin:9px 0; overflow-y:auto; }
.student-lesson-resource { align-items:center; background:white; border:1px solid #d9d2b8; border-radius:10px; display:grid; gap:3px; grid-template-columns:minmax(0,1fr) auto; padding:7px; }
.student-lesson-resource.is-live { border-color:var(--success); box-shadow:inset 3px 0 0 var(--success); }
.student-lesson-resource > button:first-child { align-items:center; background:transparent; border:0; color:var(--navy); cursor:pointer; display:flex; gap:7px; min-width:0; padding:0; text-align:left; }
.student-lesson-resource > button:first-child > span { background:#e85d69; border-radius:6px; color:white; font-size:.47rem; font-weight:900; padding:6px 4px; }
.student-lesson-resource p { display:grid; margin:0; min-width:0; }
.student-lesson-resource strong { font-size:.58rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.student-lesson-resource small { color:#72756f; font-size:.48rem; }
.student-lesson-resource > button:last-child { background:#f1f3ef; border:0; border-radius:7px; color:var(--navy); cursor:pointer; font-size:.7rem; height:25px; padding:0; width:25px; }
.student-question-resource-copy { align-items:center; display:flex; gap:7px; min-width:0; }
.student-question-resource-copy > span { align-items:center; background:var(--navy); border-radius:6px; color:white; display:flex; flex:0 0 auto; font-size:.52rem; font-weight:900; height:25px; justify-content:center; width:25px; }
.student-question-resource a { align-items:center; background:#eef4ef; border-radius:7px; color:#246343; display:flex; font-size:.5rem; font-weight:900; height:25px; justify-content:center; text-decoration:none; width:34px; }
.student-question-sent-chip { background:#edf6ef; border-radius:999px; color:#246343; font-size:.47rem; font-weight:900; padding:5px 6px; }
.student-resource-empty { color:#76776e; font-size:.58rem; line-height:1.45; padding:10px 4px; }
.student-view-shell { display:flex; flex-direction:column; min-height:0; min-width:0; position:relative; }
.student-lesson-topbar { align-items:center; background:#101827; color:white; display:flex; flex:0 0 auto; justify-content:space-between; padding:max(10px,env(safe-area-inset-top)) 14px 9px; }
.student-lesson-topbar > div:first-child { display:grid; }
.student-lesson-topbar strong { font-size:.7rem; }
.student-lesson-topbar span { color:#aebdd0; font-size:.53rem; }
.student-lesson-topbar > div:last-child { display:flex; gap:6px; }
.student-lesson-topbar button { background:#25344b; border:1px solid #40516b; border-radius:8px; color:white; cursor:pointer; font-size:.58rem; font-weight:900; padding:7px 9px; }
.student-lesson-topbar button:disabled { cursor:not-allowed; opacity:.48; }
.student-lesson-topbar [data-fullscreen-lesson].is-ready { border-color:#92d7be; box-shadow:0 0 0 2px rgba(146,215,190,.18); }
.student-lesson-topbar .leave-room { background:#b23b4a; border-color:#b23b4a; }
.lesson-upload-banner { align-items:center; background:#fff4ce; border:2px solid var(--yellow); border-radius:12px; box-shadow:0 8px 24px rgba(5,14,27,.28); color:var(--navy); display:flex; gap:10px; justify-content:space-between; left:14px; padding:9px 11px; position:absolute; right:14px; top:55px; z-index:20; }
.lesson-upload-banner[hidden] { display:none; }
.lesson-upload-banner > div { align-items:center; display:flex; gap:8px; min-width:0; }
.lesson-upload-banner > div:first-child > span { background:#e85d69; border-radius:7px; color:white; font-size:.5rem; font-weight:900; padding:7px 5px; }
.lesson-upload-banner p { display:grid; margin:0; min-width:0; }
.lesson-upload-banner strong { font-size:.68rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lesson-upload-banner small { color:#6e663e; font-size:.54rem; }
.lesson-upload-banner button { background:var(--navy); border:0; border-radius:7px; color:white; cursor:pointer; font-size:.57rem; font-weight:900; padding:7px 9px; }
.lesson-upload-banner button:last-child { align-items:center; background:transparent; color:var(--navy); display:flex; font-size:1rem; height:25px; justify-content:center; padding:0; width:25px; }
.student-screen-grid { display:grid; flex:1; grid-template-columns:minmax(0,1fr); min-height:0; min-width:0; overflow:hidden; }
.student-screen-grid[data-screen-count="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.student-pack-share-active .student-lesson-topbar { border-bottom:2px solid #8fd2af; }
.student-pack-share-active .student-lesson-topbar [data-student-view-label] { color:#aee7c8; font-weight:800; }
.student-screen { display:none; min-height:0; min-width:0; overflow:hidden; }
.student-camera-screen.is-visible,.student-visualiser-screen.is-visible,.student-question-screen.is-visible,.student-repository-pdf-screen.is-visible,.student-whiteboard-screen.is-visible { display:flex; }
.student-camera-placeholder { align-content:center; color:#fff; display:grid; flex:1; gap:8px; justify-items:center; min-height:0; text-align:center; }
.student-camera-placeholder span { background:#2e8067; border-radius:999px; font-size:.58rem; font-weight:900; letter-spacing:.08em; padding:6px 10px; }
.student-camera-placeholder strong { font:900 clamp(1.3rem,3vw,2.4rem) var(--heading-font); }
.student-camera-placeholder small { color:#a9bcb5; max-width:420px; }
.student-visualiser-screen .zoom-video-panel { background:#07100d; overflow:hidden; position:relative; }
.student-visualiser-video,.student-visualiser-frame { background:#07100d; display:block; height:100%; object-fit:contain; width:100%; }
.student-visualiser-connection { align-content:center; background:radial-gradient(circle at 50% 38%,#315f51,#112a23 65%,#07100d); color:#fff; display:grid; inset:0; justify-items:center; padding:24px; position:absolute; text-align:center; }
.student-visualiser-connection[hidden] { display:none; }
.student-visualiser-connection span { background:#2e8067; border-radius:999px; font-size:.58rem; font-weight:900; letter-spacing:.08em; padding:6px 10px; }
.student-visualiser-connection strong { font:900 clamp(1.3rem,3vw,2.4rem) var(--heading-font); margin-top:10px; }
.student-visualiser-connection small { color:#b4c8c0; margin-top:6px; max-width:440px; }
.student-visualiser-live-chip { background:rgba(12,36,28,.86); border:1px solid rgba(255,255,255,.2); border-radius:999px; color:#fff; font-size:.55rem; font-weight:900; left:14px; padding:7px 10px; position:absolute; top:14px; z-index:2; }
.student-pdf-screen.is-visible { display:flex; }
.student-camera-screen .zoom-video-panel { flex:1; padding:10px 14px max(12px,env(safe-area-inset-bottom)); }
.student-question-screen .live-question-panel { flex:1; padding:clamp(20px,3vw,42px); }
.student-question-screen .live-question-panel > div { margin:auto; max-width:1100px; width:100%; }
.student-screen-grid[data-screen-count="2"] .student-pdf-screen .student-shared-pdf-layout { grid-template-columns:minmax(0,1fr); }
.student-screen-grid[data-screen-count="2"] .student-pdf-screen .student-page-question { display:none; }
.student-pdf-screen { background:#e9ece7; color:var(--navy); padding:10px 12px; }
.student-pdf-screen.is-repository-question { background:#dfe3de; padding:7px 8px 8px; }
.student-pdf-screen.is-repository-question .student-shared-pdf-layout { gap:0; grid-template-columns:minmax(0,1fr); }
.student-pdf-screen.is-repository-question .student-page-question { display:none; }
.student-pdf-screen.is-repository-question .student-pdf-frame-stage { background:transparent; border:0; border-radius:0; padding:0; }
.student-pdf-screen.is-repository-question .student-pdf-frame-wrap { box-shadow:0 4px 22px rgba(19,35,63,.2); }
.student-shared-pdf-empty { align-items:center; background:white; border-radius:14px; display:flex; flex:1; flex-direction:column; justify-content:center; text-align:center; }
.student-shared-pdf-empty span { background:#e85d69; border-radius:8px; color:white; font-size:.6rem; font-weight:900; padding:8px 6px; }
.student-shared-pdf-empty h2 { font-size:1.6rem; margin:12px 0 4px; }
.student-shared-pdf-empty p { color:var(--muted); margin:0; }
.student-shared-pdf-document { display:flex; flex:1; flex-direction:column; min-height:0; min-width:0; }
.student-shared-pdf-document[hidden] { display:none; }
.student-shared-pdf-document > header { align-items:center; display:flex; flex:0 0 auto; justify-content:space-between; padding:0 2px 8px; }
.student-shared-pdf-document > header > div { display:grid; min-width:0; }
.student-shared-pdf-document > header span { color:var(--success); font-size:.53rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.student-shared-pdf-document > header strong { font-size:.72rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.student-shared-pdf-document > header b { background:white; border-radius:999px; font-size:.59rem; padding:6px 9px; }
.student-shared-pdf-layout { display:grid; flex:1; gap:0; grid-template-columns:minmax(0,1fr); min-height:0; min-width:0; }
.student-pdf-frame-stage { align-items:center; background:#dfe3de; border:1px solid #cbc7b9; border-radius:11px; display:flex; justify-content:center; min-height:0; overflow:hidden; padding:8px; }
.student-pdf-frame-wrap { aspect-ratio:1000 / 1414; background:#d8ddd7; box-shadow:0 3px 14px rgba(19,35,63,.14); flex:0 1 auto; height:100%; max-height:100%; max-width:100%; min-height:0; overflow:hidden; position:relative; width:auto; }
.student-pdf-frame-wrap img,.student-pdf-frame-wrap svg { border:0; height:100%; inset:0; position:absolute; width:100%; }
.student-pdf-frame-wrap img { background:white; object-fit:fill; pointer-events:none; }
.student-pdf-frame-wrap svg { pointer-events:none; }
.student-continuous-pdf{background:#fffef9;height:100%;inset:0;overflow:hidden;position:absolute;width:100%}.student-continuous-pdf[hidden]{display:none}.student-continuous-sheet{background:#fffef9;inset:0;overflow:hidden;position:absolute;width:100%}.student-continuous-sheet::after{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(3.253% - 1px),rgba(23,60,52,.17) calc(3.253% - 1px),rgba(23,60,52,.17) 3.253%);content:"";inset:var(--answer-start) 7.2% 0;position:absolute;z-index:0}.student-continuous-sheet header{color:#173c34;display:grid;gap:2px;left:7.2%;position:absolute;top:2.2%;z-index:2}.student-continuous-sheet header span{font-size:clamp(.32rem,.7vw,.54rem);font-weight:900;letter-spacing:.08em}.student-continuous-sheet header strong{font:900 clamp(.55rem,1.25vw,.95rem) Nunito,sans-serif}.student-question-fragment{overflow:hidden;position:absolute;z-index:2}.student-pdf-frame-wrap .student-question-fragment img{height:auto;max-width:none;object-fit:fill;pointer-events:none;position:absolute}.student-pdf-frame-wrap .student-continuous-sheet>svg{height:100%;inset:0;position:absolute;width:100%;z-index:4}.student-pencil-pointer{filter:drop-shadow(0 2px 5px rgba(19,35,63,.45));height:30px;pointer-events:none;position:absolute;transform:translate(-50%,-50%);width:30px;z-index:12}.student-pencil-pointer[hidden]{display:none}.student-pencil-pointer i{background:rgba(245,217,120,.22);border:3px solid #f5d978;border-radius:50%;box-shadow:0 0 0 2px #173c34,0 0 0 7px rgba(245,217,120,.28);display:block;height:100%;width:100%}.student-pencil-pointer b{background:#173c34;border-radius:999px;color:#fff;font-size:.43rem;left:22px;padding:3px 6px;position:absolute;top:19px;white-space:nowrap}
.student-pdf-frame-wrap.is-continuation { background:#fff; }
.student-pdf-frame-wrap [data-student-continuation-paper][hidden] { display:none; }
.student-pdf-screen.is-live-notebook .student-pdf-frame-wrap { box-shadow:0 4px 24px rgba(19,35,63,.22); }
.student-pdf-screen.is-live-notebook [data-student-pdf-kind] { color:#ce3f4d; }
.student-page-question { display:none; }
.student-page-question > span { color:var(--success); font-size:.6rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.student-page-question > strong { font:900 clamp(1.25rem,2.2vw,2rem) var(--heading-font); margin:6px 0 18px; }
.student-page-question p { background:white; border-left:5px solid var(--yellow); border-radius:11px; font-size:clamp(.9rem,1.3vw,1.2rem); font-weight:700; line-height:1.55; margin:0; padding:17px; white-space:pre-wrap; }
.student-page-question small { color:#72776f; font-size:.59rem; margin-top:15px; }
.student-whiteboard-screen { background:#e9ece7; color:var(--navy); flex-direction:column; padding:12px 18px max(15px,env(safe-area-inset-bottom)); }
.student-repository-pdf-screen { background:#e9ece7; color:var(--navy); flex-direction:column; padding:10px 12px 12px; }.student-repository-pdf-screen > header { align-items:center; display:flex; flex:0 0 auto; justify-content:space-between; padding:0 2px 8px; }.student-repository-pdf-screen > header > div { display:grid; }.student-repository-pdf-screen > header span { color:var(--success); font-size:.54rem; font-weight:900; text-transform:uppercase; }.student-repository-pdf-screen > header strong { font-size:.72rem; }.student-repository-pdf-screen > header b { background:#e66f78; border-radius:999px; color:white; font-size:.52rem; padding:5px 8px; }.student-repository-pdf-screen iframe { background:white; border:0; border-radius:10px; flex:1; min-height:0; width:100%; }
.student-whiteboard-screen > header { align-items:center; display:flex; flex:0 0 auto; justify-content:space-between; padding:0 2px 9px; }
.student-whiteboard-screen > header > div { display:grid; }
.student-whiteboard-screen > header span { color:var(--success); font-size:.54rem; font-weight:900; text-transform:uppercase; }
.student-whiteboard-screen > header strong { font-size:.74rem; }
.student-whiteboard-screen > header b { background:#e66f78; border-radius:999px; color:white; font-size:.53rem; padding:5px 8px; }
#student-live-whiteboard { align-items:center; background:white; border-radius:14px; display:flex; flex:1; flex-direction:column; justify-content:center; min-height:0; overflow:hidden; padding:14px; }
#student-live-whiteboard .student-whiteboard-wrap { height:100%; margin:0; max-height:100%; width:100%; }
#student-live-whiteboard > .live-question-label,#student-live-whiteboard > small { flex:0 0 auto; }
@media (max-width:1100px) {
  .live-lesson-workspace,.live-lesson-workspace.is-theatre-mode { grid-template-columns:140px minmax(0,1fr); grid-template-rows:1fr; }
  .student-shared-pdf-layout { grid-template-columns:minmax(0,1fr); }
  .student-screen-grid[data-screen-count="2"] .student-shared-pdf-layout { grid-template-columns:minmax(0,1fr); }
  .student-page-question { padding:15px; }
}
@media (max-width:600px) {
  .live-lesson-workspace,.live-lesson-workspace.is-theatre-mode { grid-template-columns:1fr; grid-template-rows:112px minmax(0,1fr); }
  .live-lesson-workspace.student-resources-locked,.live-lesson-workspace.is-theatre-mode.student-resources-locked,.live-lesson-workspace.student-zoom-only,.live-lesson-workspace.is-theatre-mode.student-zoom-only { grid-template-rows:minmax(0,1fr); }
  .student-lesson-file-rail { border-bottom:1px solid #d9d2b8; border-right:0; padding:8px 10px; }
  .student-lesson-file-rail > header { padding-bottom:6px; }
  .student-lesson-file-rail > footer { display:none; }
  .student-lesson-resources { grid-auto-columns:minmax(150px,1fr); grid-auto-flow:column; margin:6px 0 0; overflow-x:auto; overflow-y:hidden; }
  .student-screen-grid[data-screen-count="2"] { grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(2,minmax(0,1fr)); }
  .student-shared-pdf-layout { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr); overflow:hidden; }
  .student-screen-grid[data-screen-count="2"] .student-shared-pdf-layout { grid-template-rows:minmax(0,1fr); }
  .student-page-question { padding:13px; }
  .student-page-question > strong { margin-bottom:8px; }
  .student-whiteboard-screen { padding:8px; }
}

@media (min-width:681px) and (max-width:1100px) {
  .student-session-open .student-workspace { grid-template-rows: auto minmax(0,1fr); }
  .student-session-open .student-tabs { overflow-x: auto; overflow-y: hidden; }
}

@media (max-width:680px) {
  .student-tutor-contact { align-items:stretch; grid-template-columns:44px 1fr; padding:15px; }
  .student-tutor-contact > .button { grid-column:1/-1; width:100%; }
  .group-lessons-heading { align-items: stretch; flex-direction: column; }
  .group-lessons-count { align-self: flex-start; }
  .group-lesson-card { align-items: stretch; grid-template-columns: 1fr; }
  .group-lesson-date { border-bottom: 1px solid #d9e2da; border-right: 0; padding: 0 0 9px; }
  .group-lesson-action { align-items: stretch; }
  .group-lesson-action > strong { text-align: right; }
  .renewal-secured-label,.renewal-coming-soon { max-width: none; text-align: left; }
}
.student-exam-question-row > b,.student-exam-question-row > strong { font-size:.86rem; }
.student-exam-question-row > strong { text-align:right; }
.student-exam-answer-space { display:grid; gap:11px; margin:4px 34px 8px 31px; }
.student-exam-answer-space i { border-bottom:1px solid #c9c9c9; display:block; }
.student-exam-paper footer { font-size:.62rem; font-weight:700; text-align:right; }
.lda-zoom-frame { background:#101827; border:0; border-radius:inherit; display:block; flex:1; height:100%; min-height:0; width:100%; }
.zoom-sdk-help { color:#aebbd0; flex:0 0 auto; font-size:.68rem; line-height:1.35; margin:8px 8px 0; text-align:center; }
.zoom-video-panel.zoom-is-live .zoom-stage { background:#101827; }
@media (max-width:700px) {
  .student-camera-screen .zoom-video-panel { padding:6px max(6px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left)); }
  .student-camera-screen .zoom-stage { border-radius:10px; overflow:hidden; }
  .student-lesson-topbar { gap:8px; padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right)); }
  .student-lesson-topbar > div:first-child { min-width:0; }
  .student-lesson-topbar > div:first-child strong,.student-lesson-topbar > div:first-child span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .student-lesson-topbar > div:last-child { flex:0 0 auto; }
  .student-lesson-topbar button { min-height:44px; }
  .student-ipad-companion-link { display:none; }
  .zoom-sdk-help { font-size:.6rem; margin-top:6px; }
}
@media (max-width:480px) {
  .student-lesson-topbar > div:first-child { display:none; }
  .student-lesson-topbar > div:last-child { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .student-lesson-topbar button { width:100%; }
}
@media (orientation:landscape) and (max-height:560px) and (max-width:950px) {
  .student-lesson-topbar { min-height:42px; padding-block:max(5px,env(safe-area-inset-top)) 5px; }
  .student-lesson-topbar > div:first-child span { display:none; }
  .student-lesson-topbar button { min-height:44px; padding-block:5px; }
  .zoom-sdk-help { display:none; }
  .student-camera-screen .zoom-video-panel { padding-bottom:max(5px,env(safe-area-inset-bottom)); }
}

/* Saved annotated lesson PDFs and learner working copy */
.booked-lesson-resources { background:#eef4ef; border:1px solid #c8d8cc; border-radius:11px; display:grid; gap:7px; margin-top:10px; padding:9px; }
.booked-lesson-resources > span { color:#4d715f; font-size:.56rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
@media (max-width:720px) {
  .lesson-question-pack { grid-template-columns:auto minmax(0,1fr); }
  .lesson-question-pack .print-question-pack { grid-column:1 / -1; width:100%; }
}
.booked-lesson-resource { align-items:center; background:white; border:1px solid #d6e0d8; border-radius:9px; display:flex; gap:8px; justify-content:space-between; padding:7px 8px; }
.booked-lesson-resource > div { display:grid; min-width:0; }
.booked-lesson-resource strong { font-size:.66rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.booked-lesson-resource small { color:var(--muted); font-size:.54rem; }
.booked-lesson-resource button { background:var(--navy); border:0; border-radius:7px; color:white; cursor:pointer; font-size:.57rem; font-weight:900; padding:6px 8px; }
.booked-lesson-resource.is-repository-question { background:#fffaf0; border-color:#d8cb9d; display:grid; grid-template-columns:auto minmax(0,1fr) auto; padding:9px; }
.booked-lesson-resource.is-repository-question .saved-question-icon { border-radius:7px; height:30px; width:30px; }
.booked-lesson-resource.is-repository-question .saved-question-copy { display:grid; }
.student-lesson-resource.is-repository-question { background:#fffaf0; border-color:#d8cb9d; }
.student-lesson-resource.is-repository-question > button:first-child > span { background:var(--navy); }

/* Repository question PDFs use the whole live stage at every breakpoint. */
.student-pdf-screen.is-repository-question .student-shared-pdf-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); overflow:hidden; }

@media (max-width:760px) {
  .overview-question-library { padding:18px 15px; }
  .overview-question-library-heading { align-items:flex-start; }
  .overview-question-library-heading > b { font-size:.58rem; padding:6px 8px; }
  .overview-question-resource-list { grid-template-columns:1fr; }
  .overview-question-resource { align-items:stretch; grid-template-columns:34px minmax(0,1fr); }
  .overview-question-resource .saved-question-icon { height:34px; width:34px; }
  .overview-question-resource > button { grid-column:1 / -1; min-height:40px; width:100%; }
  .overview-question-library > footer { align-items:stretch; flex-direction:column; gap:10px; }
  .booked-lesson-resource.is-repository-question { grid-template-columns:30px minmax(0,1fr); }
  .booked-lesson-resource.is-repository-question > button { grid-column:1 / -1; min-height:38px; width:100%; }
}
.student-pdf-dialog-shell > header { gap:12px; }
.student-pdf-dialog-pages { align-items:center; display:flex; gap:5px; }
.student-pdf-dialog-pages > button:not(.icon-button),.student-pdf-dialog-shell > footer button,.student-pdf-dialog-shell > footer a { background:white; border:1px solid #bbb6a5; border-radius:7px; color:var(--navy); cursor:pointer; font-size:.62rem; font-weight:900; padding:6px 8px; text-decoration:none; }
.student-pdf-dialog-pages > button:not(.icon-button) { font-size:1rem; height:30px; padding:0; width:30px; }
.student-pdf-dialog-pages strong { font-size:.65rem; min-width:82px; text-align:center; }
.student-pdf-workspace { display:grid; flex:1; gap:12px; grid-template-columns:minmax(0,2fr) minmax(230px,1fr); min-height:0; }
.student-pdf-workspace-stage { align-items:center; background:#dfe3de; border:1px solid #cbc7b9; border-radius:11px; display:flex; justify-content:center; min-height:0; overflow:hidden; padding:8px; }
.student-pdf-dialog-surface { aspect-ratio:1000 / 1414; background:white; box-shadow:0 3px 14px rgba(19,35,63,.14); flex:0 1 auto; height:100%; max-height:100%; max-width:100%; position:relative; width:auto; }
.student-pdf-dialog-surface img,.student-pdf-dialog-surface svg,.student-pdf-dialog-surface canvas { border:0; height:100%; inset:0; position:absolute; width:100%; }
.student-pdf-dialog-surface img { object-fit:fill; pointer-events:none; z-index:1; }
.student-pdf-dialog-surface svg { pointer-events:none; z-index:2; }
.student-pdf-dialog-surface canvas { cursor:crosshair; touch-action:none; z-index:3; }
.student-pdf-workspace-help { align-self:stretch; background:#f5f1df; border-radius:14px; display:flex; flex-direction:column; justify-content:center; padding:22px; }
.student-pdf-workspace-help > span { color:var(--success); font-size:.55rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.student-pdf-workspace-help > strong { font:900 1.2rem var(--heading-font); line-height:1.2; margin:5px 0 9px; }
.student-pdf-workspace-help p { color:#626860; font-size:.68rem; line-height:1.5; }
.student-pdf-workspace-help button.is-shared { background:#e4f2e8; border-color:#83b594; color:#215d3e; }
.student-pdf-workspace-help small { color:#687169; font-size:.55rem; margin-top:8px; }
.student-pdf-dialog-shell > footer { align-items:center; display:flex; flex:0 0 auto; gap:7px; padding-top:9px; }
.student-pdf-dialog-shell > footer select { background:white; border:1px solid #bbb6a5; border-radius:7px; font-size:.58rem; padding:6px; }
.student-pdf-dialog-shell > footer > small { color:#627069; font-size:.54rem; margin-left:auto; }
.summary-worked-answers { background:#edf3ee; border:1px solid #d0ddd3; border-radius:14px; display:grid; gap:9px; margin-top:16px; padding:14px; }
.summary-worked-answers > div { display:grid; gap:2px; }
.summary-worked-answers > div span { color:var(--success); font-size:.58rem; font-weight:900; text-transform:uppercase; }
.summary-worked-answers article { align-items:center; background:white; border-radius:10px; display:flex; gap:12px; justify-content:space-between; padding:10px; }
.summary-worked-answers article div { display:grid; gap:2px; }
.summary-worked-answers article strong { font-size:.68rem; }
.summary-worked-answers article small { color:var(--muted); font-size:.54rem; }
.summary-worked-answers article button { background:var(--navy); border:0; border-radius:8px; color:white; cursor:pointer; font-size:.58rem; font-weight:900; min-height:38px; padding:8px 10px; }
.student-pdf-pen-colours { display:flex; gap:5px; margin-right:auto; }
.student-pdf-pen-colours button { background:var(--pen); border:2px solid white; border-radius:999px; box-shadow:0 0 0 1px #aaa58f; height:22px; padding:0; width:22px; }
.student-pdf-pen-colours button.is-selected { box-shadow:0 0 0 3px var(--yellow); }
.student-ipad-companion-link { background:#f5d978!important; border-color:#d5b84f!important; color:var(--navy)!important; }
.student-ipad-connect-dialog { background:transparent; border:0; max-width:850px; padding:14px; width:calc(100% - 24px); }
.student-ipad-connect-dialog::backdrop { backdrop-filter:blur(5px); background:rgba(8,16,28,.8); }
.student-ipad-connect-shell { background:white; border:2px solid var(--navy); border-radius:22px; box-shadow:10px 10px 0 var(--yellow); padding:24px; }
.student-ipad-connect-shell > header { align-items:flex-start; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; margin-bottom:20px; padding-bottom:16px; }
.student-ipad-connect-shell h2 { font-size:2rem; margin:0; }
.student-ipad-connect-shell .eyebrow { margin-bottom:3px; }
.student-ipad-connect-layout { align-items:center; display:grid; gap:26px; grid-template-columns:250px minmax(0,1fr); }
.student-ipad-qr { align-items:center; aspect-ratio:1; background:white; border:1px solid #d3dcd2; border-radius:16px; color:var(--muted); display:flex; font-size:.7rem; justify-content:center; padding:12px; text-align:center; width:100%; }
.student-ipad-qr svg { display:block; height:auto; width:100%; }
.student-ipad-qr.is-unreachable { opacity:.3; }
.student-ipad-connect-copy { display:grid; gap:13px; min-width:0; }
.student-ipad-connect-copy ol { display:grid; gap:11px; list-style:none; margin:0; padding:0; }
.student-ipad-connect-copy li { display:grid; gap:2px; grid-template-columns:29px 1fr; position:relative; }
.student-ipad-connect-copy li::before { align-items:center; background:var(--navy); border-radius:50%; color:white; content:counter(list-item); display:flex; font-size:.62rem; font-weight:900; grid-row:span 2; height:24px; justify-content:center; width:24px; }
.student-ipad-connect-copy li strong { font-size:.75rem; }
.student-ipad-connect-copy li span { color:var(--muted); font-size:.65rem; }
.student-ipad-local-warning { background:#fff0d7; border-left:5px solid #d98a2f; border-radius:9px; color:#74501f; font-size:.68rem; line-height:1.45; margin:0; padding:10px 12px; }
.student-ipad-local-warning strong { display:block; }
.student-ipad-link-box { background:#eef4ef; border:1px solid #c7d6ca; border-radius:10px; display:grid; gap:4px; padding:10px 12px; }
.student-ipad-link-box span { color:var(--success); font-size:.55rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.student-ipad-link-box code { font-size:.62rem; overflow-wrap:anywhere; }
.student-ipad-connect-actions { display:flex; gap:8px; }
.student-ipad-connect-actions .button { flex:1; }
.student-ipad-connect-copy > small { color:var(--muted); font-size:.6rem; }
@media (max-width:760px) {
  .student-pdf-workspace { grid-template-columns:1fr; grid-template-rows:minmax(400px,1fr) auto; overflow-y:auto; }
  .student-pdf-workspace-help { padding:12px; }
  .student-pdf-dialog-shell > footer { flex-wrap:wrap; }
  .student-pdf-dialog-shell > footer > small { flex-basis:100%; margin-left:0; }
  .student-ipad-connect-layout { grid-template-columns:1fr; }
  .student-ipad-qr { justify-self:center; max-width:230px; }
  .student-ipad-connect-actions { flex-direction:column; }
}
.student-camera-screen .zoom-video-panel { position:relative; }
.student-ipad-share-chip { background:#f2d875; border:1px solid #d5ad46; border-radius:999px; color:#243b35; font-size:.55rem; font-weight:900; left:24px; letter-spacing:.06em; padding:7px 10px; position:absolute; top:20px; z-index:8; }
.lesson-transcription-status { align-items:center; background:#f5f6f2; border-top:1px solid #dce2d8; display:grid; gap:16px; grid-template-columns:minmax(0,1fr) auto; padding:14px 18px; }
.lesson-transcription-status > div { display:grid; gap:2px; }
.lesson-transcription-status span { color:#6f7d76; font-size:.6rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.lesson-transcription-status strong { color:var(--navy); font:900 .9rem var(--heading-font); }
.lesson-transcription-status p { color:var(--muted); font-size:.68rem; line-height:1.45; margin:2px 0 0; }
.lesson-transcription-status.is-on { background:#e9f6ee; border-color:#bfddca; }
.lesson-transcription-status.is-on strong { color:#196b4e; }
.lesson-transcription-status.is-pending { background:#fff8dc; border-color:#ead584; }
.student-settings-grid { grid-template-columns:minmax(0,820px); justify-content:center; }
.portal-transcription-settings-card { grid-column:auto; }
.transcription-consent-current { background:#f2f4f1; border:1px solid #d8ded7; border-radius:14px; display:grid; gap:3px; margin:18px 0; padding:13px 15px; }
.transcription-consent-current strong { color:var(--navy); font:900 .9rem var(--heading-font); }
.transcription-consent-current small { color:var(--muted); line-height:1.45; }
.transcription-consent-current.is-on { background:#e9f6ee; border-color:#b9d9c5; }
.transcription-consent-current.is-on strong { color:#196b4e; }
.transcription-consent-current.is-pending { background:#fff8dc; border-color:#ead584; }
.transcription-consent-form fieldset { border:0; display:grid; gap:9px; margin:0; padding:0; }
.transcription-consent-form legend { color:var(--navy); font-size:.72rem; font-weight:900; margin-bottom:8px; }
.transcription-consent-form fieldset label { align-items:flex-start; background:#f7f8f5; border:1px solid #dfe4dc; border-radius:12px; cursor:pointer; display:flex; gap:10px; min-width:0; padding:12px; }
.transcription-consent-form fieldset input[type="radio"] { accent-color:var(--success); flex:0 0 20px; height:20px; margin:1px 0 0; min-height:20px; padding:0; width:20px; }
.transcription-consent-form fieldset span { display:grid; gap:2px; min-width:0; overflow-wrap:anywhere; }
.transcription-consent-form fieldset strong { color:var(--navy); font-size:.78rem; }
.transcription-consent-form fieldset small,.transcription-privacy-note { color:var(--muted); font-size:.66rem; line-height:1.5; }
.transcription-privacy-note a { color:var(--navy); font-weight:800; }
.transcription-acknowledgement { align-items:flex-start; }
.transcription-acknowledgement input { margin-top:4px; }
.portal-passkeys-settings-card .passkey-manager { border-top:0; margin-top:0; padding-top:0; }
.lesson-transcription-chip { background:rgba(16,24,39,.88); border:1px solid #526174; border-radius:999px; color:#d9e1ec; font-size:.52rem; font-weight:900; letter-spacing:.04em; padding:7px 9px; position:absolute; right:24px; text-transform:uppercase; top:20px; z-index:9; }
.lesson-transcription-chip.is-on { background:#196b4e; border-color:#8fc4a6; color:white; }
.lesson-transcription-chip.is-pending { background:#74540b; border-color:#e2bf5b; color:#fff8dc; }
.student-lesson-topbar .lesson-transcription-chip { justify-self:start; margin-top:4px; position:static; white-space:nowrap; }

@media (max-width:680px) {
  .lesson-transcription-status { align-items:stretch; grid-template-columns:1fr; }
  .lesson-transcription-status .button { width:100%; }
  .lesson-transcription-chip { max-width:calc(100% - 28px); right:14px; top:12px; }
}

/* Keep the cancel/offer confirmation readable beside the native checkbox. */
.exchange-confirmation { align-items:flex-start!important; display:flex!important; flex-direction:row!important; gap:11px!important; margin:0!important; width:100%!important; }
.exchange-confirmation input[type="checkbox"] { accent-color:var(--navy); flex:0 0 22px!important; height:22px!important; margin:1px 0 0!important; min-height:22px!important; padding:0!important; width:22px!important; }
.exchange-confirmation span { display:block; flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
.button-danger { background:#9d3241!important; border-color:#9d3241!important; color:white!important; }
.lesson-change-limit { background:#edf0ec; border-radius:999px; color:#66706a; font-size:.62rem; font-weight:850; padding:8px 10px; text-align:center; }
.exchange-status.is-cancelled-no-refund { background:#f7dfe2; color:#8f2c3a; }

@media (max-width:760px) {
  .student-booking-context { align-items:start; grid-template-columns:1fr 1fr; }
  .student-booking-context p { grid-column:1 / -1; text-align:left; }
}

/* Guided rescheduling: only real tutor availability is selectable. */
.lesson-change-dialog:has(.reschedule-alternatives) { max-width:880px; }
.reschedule-alternatives { background:#f7f8f6; border:1px solid #d9e0d7; border-radius:16px; padding:15px; }
.reschedule-alternatives > header { align-items:flex-start; display:flex; gap:14px; justify-content:space-between; }
.reschedule-alternatives > header > div { display:grid; gap:3px; }
.reschedule-alternatives > header strong { font:900 .9rem var(--heading-font); }
.reschedule-alternatives > header small { color:var(--muted); font-size:.62rem; line-height:1.4; }
.reschedule-alternatives > header b { background:#dff1e5; border-radius:999px; color:var(--success); flex:0 0 auto; font-size:.6rem; padding:6px 9px; }
.reschedule-alternative-slots { display:grid; gap:8px; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:12px; max-height:290px; overflow-y:auto; overscroll-behavior:contain; padding:2px; }
.reschedule-slot-card { cursor:pointer; position:relative; }
.reschedule-slot-card > input { height:1px; opacity:0; position:absolute; width:1px; }
.reschedule-slot-card > span { background:white; border:2px solid #d6ded4; border-radius:12px; display:grid; gap:2px; min-height:100%; padding:11px 12px; transition:.16s ease; }
.reschedule-slot-card > span b { color:var(--success); font-size:.57rem; text-transform:uppercase; }
.reschedule-slot-card > span strong { font:900 1.05rem var(--heading-font); }
.reschedule-slot-card > span small { color:var(--muted); font-size:.52rem; line-height:1.3; }
.reschedule-slot-card > em { display:none; }
.reschedule-slot-card > input:checked + span { background:var(--mint-soft); border-color:var(--success); box-shadow:inset 0 0 0 1px var(--success); }
.reschedule-slot-card > input:focus-visible + span { outline:3px solid rgba(35,128,95,.24); outline-offset:2px; }
.reschedule-no-slots { background:white; border:1px dashed #c9d1c7; border-radius:12px; grid-column:1 / -1; padding:16px; }
.reschedule-no-slots strong { font-size:.76rem; }
.reschedule-no-slots p { color:var(--muted); font-size:.62rem; margin:4px 0 0; }
.reschedule-message-policy { color:#53635a; font-size:.61rem; line-height:1.45; margin:0; }
.reschedule-message-policy.is-limited { background:#fff4d6; border-left:4px solid var(--yellow); border-radius:8px; color:#6d5d24; padding:9px 11px; }
.reschedule-actions { flex-wrap:wrap; }
.reschedule-actions .button[hidden] { display:none; }

@media (max-width:700px) {
  .reschedule-alternative-slots { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .reschedule-actions .button { flex:1 1 45%; }
}
@media (max-width:440px) {
  .reschedule-alternatives > header { flex-direction:column; }
  .reschedule-alternative-slots { grid-template-columns:1fr; max-height:255px; }
  .reschedule-actions .button { flex-basis:100%; }
}

/* Student lesson-document library and blank-only print policy. */
.student-tabs [data-student-tab="documents"] > span { font-size:.5rem; letter-spacing:-.02em; }
@media (max-width:680px) {
  .student-message-notice { align-items:stretch; flex-direction:column; gap:12px; padding:15px; }
  .student-message-notice-copy p { white-space:normal; }
  .student-message-notice > .button { width:100%; }
  .student-tabs button > b { margin-left:0; }
}
.lesson-documents-heading { align-items:flex-end; }
.lesson-document-toolbar { align-items:end; background:white; border:1px solid #d8e0d6; border-radius:18px; display:grid; gap:18px; grid-template-columns:minmax(280px,1fr) auto; padding:18px; }
.lesson-document-search { display:grid; gap:7px; }
.lesson-document-search > label,.lesson-document-grouping legend { color:var(--navy); font-size:.68rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.lesson-document-search > div { align-items:center; background:#f6f8f4; border:2px solid #dbe2d9; border-radius:12px; display:grid; gap:8px; grid-template-columns:auto minmax(0,1fr) auto; min-height:48px; padding:0 11px; }
.lesson-document-search > div:focus-within { border-color:var(--success); box-shadow:0 0 0 3px rgba(35,128,95,.12); }
.lesson-document-search > div > span { color:var(--success); font-size:1.25rem; font-weight:900; }
.lesson-document-search input { background:transparent; border:0; color:var(--navy); font:700 .78rem var(--body-font); min-width:0; outline:0; padding:12px 0; width:100%; }
.lesson-document-search button { background:transparent; border:0; color:var(--success); cursor:pointer; font-size:.7rem; font-weight:900; min-height:44px; min-width:44px; padding:0 5px; }
.lesson-document-grouping { border:0; margin:0; padding:0; }
.lesson-document-grouping legend { margin-bottom:7px; }
.lesson-document-grouping > div { background:#edf1ec; border-radius:12px; display:flex; padding:4px; }
.lesson-document-grouping button { background:transparent; border:0; border-radius:9px; color:#5c6761; cursor:pointer; font-size:.7rem; font-weight:900; min-height:44px; padding:8px 13px; white-space:nowrap; }
.lesson-document-grouping button.is-active { background:var(--navy); color:white; box-shadow:0 4px 12px rgba(19,35,63,.16); }
.lesson-document-policy { align-items:center; background:linear-gradient(120deg,#e8f4ec,#f8f4df); border:1px solid #bcd5c5; border-radius:15px; display:grid; gap:13px; grid-template-columns:40px 1fr; margin-top:14px; padding:13px 15px; }
.lesson-document-policy > span { align-items:center; background:var(--success); border-radius:11px; color:white; display:flex; font-weight:900; height:38px; justify-content:center; width:38px; }
.lesson-document-policy strong { color:var(--navy); display:block; font-size:.75rem; }
.lesson-document-policy p { color:#5f6963; font-size:.7rem; line-height:1.45; margin:2px 0 0; }
.lesson-document-result-summary { color:#647069; font-size:.7rem; font-weight:800; margin:18px 2px 9px; min-height:1em; }
.lesson-document-library { display:grid; gap:22px; }
.lesson-document-refresh-error { align-items:center; background:#fff4df; border:1px solid #d8b66a; border-radius:12px; color:#6b5120; display:flex; font-size:.7rem; font-weight:800; gap:12px; justify-content:space-between; padding:10px 12px; }
.lesson-document-refresh-error button { background:var(--navy); border:0; border-radius:8px; color:white; cursor:pointer; font-size:.68rem; font-weight:900; min-height:40px; padding:8px 12px; }
.lesson-document-group { display:grid; gap:10px; }
.lesson-document-group > header { align-items:end; border-bottom:1px solid #d4ddd3; display:flex; gap:14px; justify-content:space-between; padding:0 2px 9px; }
.lesson-document-group > header div { display:grid; gap:2px; }
.lesson-document-group > header span { color:var(--success); font-size:.62rem; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.lesson-document-group > header h3 { font-size:1.35rem; margin:0; }
.lesson-document-group > header b { background:#e8eee8; border-radius:999px; color:#526158; font-size:.58rem; padding:6px 9px; }
.lesson-document-grid { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.lesson-document-card { background:white; border:1px solid #d8e0d6; border-radius:16px; display:grid; gap:13px; padding:16px; position:relative; }
.lesson-document-card.is-annotated { border-color:#c6d6ca; box-shadow:inset 4px 0 0 var(--success); }
.lesson-document-card > header { align-items:start; display:grid; gap:11px; grid-template-columns:42px minmax(0,1fr) auto; }
.lesson-document-icon { align-items:center; background:#e9dfe2; border-radius:11px; color:#7a3046; display:flex; font-size:.55rem; font-weight:900; height:42px; justify-content:center; width:42px; }
.lesson-document-title { display:grid; gap:3px; min-width:0; }
.lesson-document-title > span { color:var(--success); font-size:.54rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.lesson-document-title strong { color:var(--navy); font:900 .9rem/1.2 var(--heading-font); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lesson-document-title small { color:var(--muted); font-size:.58rem; line-height:1.35; }
.lesson-document-view-state { background:#e4f2e8; border-radius:999px; color:#286247; font-size:.6rem; font-weight:900; padding:6px 8px; white-space:nowrap; }
.lesson-document-meta { display:flex; flex-wrap:wrap; gap:6px; }
.lesson-document-meta span { background:#f2f4f0; border-radius:999px; color:#59655e; font-size:.62rem; font-weight:800; padding:6px 8px; }
.lesson-document-actions { align-items:stretch; border-top:1px solid #e0e5de; display:grid; gap:8px; grid-template-columns:1fr 1fr; padding-top:12px; }
.lesson-document-actions button,.lesson-document-actions a { align-items:center; border-radius:10px; cursor:pointer; display:flex; font-size:.68rem; font-weight:900; justify-content:center; min-height:44px; padding:9px 11px; text-align:center; text-decoration:none; }
.lesson-document-actions button { background:var(--navy); border:1px solid var(--navy); color:white; }
.lesson-document-actions a { background:#f7edc7; border:1px solid #d7bd59; color:var(--navy); }
.lesson-document-actions .is-unavailable { background:#f1f2ef; border-color:#d8dcd6; color:#7b827d; cursor:not-allowed; }
.lesson-document-blank-note { color:#747d77; font-size:.62rem; line-height:1.35; margin:-5px 1px 0; }
.lesson-document-empty { align-items:center; background:white; border:1px dashed #bdc9bf; border-radius:18px; display:flex; flex-direction:column; min-height:260px; justify-content:center; padding:30px; text-align:center; }
.lesson-document-empty > span { align-items:center; background:#edf3ee; border-radius:14px; color:var(--success); display:flex; font-size:.68rem; font-weight:900; height:54px; justify-content:center; width:54px; }
.lesson-document-empty h3 { font-size:1.45rem; margin:13px 0 5px; }
.lesson-document-empty p { color:var(--muted); font-size:.72rem; margin:0; max-width:420px; }
.lesson-document-empty .button { margin-top:14px; min-height:44px; }
.student-pdf-workspace-help > a { margin-top:12px; text-align:center; text-decoration:none; }
.student-pdf-workspace-help > a[aria-disabled="true"] { background:#e8e9e5; border-color:#d1d5ce; color:#737a75; cursor:not-allowed; pointer-events:none; }
.student-pdf-dialog.is-immutable-document .student-pdf-edit-control { display:none!important; }
.student-pdf-dialog.is-immutable-document .student-pdf-dialog-surface canvas { cursor:default; pointer-events:none; }
.student-pdf-dialog.is-immutable-document .student-pdf-dialog-shell > footer { justify-content:flex-end; }
.student-pdf-dialog-pages button:disabled { cursor:not-allowed; opacity:.42; }
.annotated-print-guard { display:none; }

/* Student booking, discounts and calendar views. */
.student-tabs-shell { min-width:0; position:relative; }
.student-tabs-scroll { display:none; }
.student-discount-price-label { background:rgba(255,255,255,.18); border-radius:999px; display:inline-block; font-size:.52rem; margin-left:4px; padding:3px 6px; }
.group-lesson-action s { color:var(--muted); font-size:.72rem; margin-right:4px; }
.next-lesson-actions { align-items:center; display:flex; flex-wrap:wrap; gap:8px; }
.next-lesson-actions .print-question-pack { text-decoration:none; }
.print-question-pack small { align-items:center; background:rgba(36,59,53,.12); border-radius:999px; display:inline-flex; font-size:.56rem; height:20px; justify-content:center; min-width:20px; padding:0 5px; }
.student-calendar-export { align-items:center; background:white; border:1px solid #cdd9d0; border-radius:16px; display:grid; gap:12px 16px; grid-template-columns:minmax(0,1fr) auto; margin:0 0 18px; padding:15px 17px; }
.student-calendar-export > div:first-child { align-items:center; display:flex; gap:12px; }
.student-calendar-export > div:first-child > span { align-items:center; background:var(--mint-soft); border-radius:11px; color:var(--success); display:flex; flex:0 0 auto; font-weight:900; height:42px; justify-content:center; width:42px; }
.student-calendar-export h3 { font-size:.96rem; margin:0 0 2px; }
.student-calendar-export p { color:var(--muted); font-size:.65rem; margin:0; }
.student-calendar-export #student-calendar-connection-status { color:var(--success); display:block; font-size:.59rem; font-weight:800; margin-top:4px; }
.student-calendar-export-actions { display:flex; flex-wrap:wrap; gap:7px; justify-content:flex-end; }
.student-calendar-export-actions button,.student-calendar-export-actions .button,.student-calendar-view-toolbar button { align-items:center; background:white; border:1px solid #bdcac0; border-radius:9px; color:var(--navy); cursor:pointer; display:inline-flex; font-size:.64rem; font-weight:900; justify-content:center; min-height:38px; padding:7px 10px; text-decoration:none; }
.student-calendar-export-actions #student-calendar-create { background:var(--navy); border-color:var(--navy); color:white; }
.student-calendar-export-actions button:hover,.student-calendar-export-actions button:focus-visible,.student-calendar-export-actions .button:hover,.student-calendar-export-actions .button:focus-visible,.student-calendar-view-toolbar button:hover,.student-calendar-view-toolbar button:focus-visible { border-color:var(--success); outline:2px solid rgba(35,128,95,.15); }
.student-calendar-link-field,.student-calendar-privacy { grid-column:1 / -1; }
.student-calendar-link-field span { color:var(--muted); display:block; font-size:.56rem; font-weight:900; margin-bottom:4px; text-transform:uppercase; }
.student-calendar-link-field input { background:#f8faf7; border:1px solid #cdd9d0; border-radius:9px; color:var(--navy); font-size:.64rem; padding:9px 10px; width:100%; }
.student-calendar-export .student-calendar-privacy { color:#775a24; font-size:.57rem; line-height:1.45; margin:-2px 0 0; }
.student-calendar-view-toolbar { align-items:center; display:flex; gap:10px; justify-content:flex-end; margin:13px 0; }
.student-calendar-view-toolbar > span { color:var(--muted); font-size:.63rem; font-weight:800; }
.student-calendar-view-toolbar > div { background:#edf1ed; border-radius:11px; display:flex; gap:3px; padding:3px; }
.student-calendar-view-toolbar button { background:transparent; border-color:transparent; min-height:34px; }
.student-calendar-view-toolbar button[aria-pressed="true"] { background:white; border-color:#c9d3cb; box-shadow:0 3px 8px rgba(19,35,63,.08); }
.student-month-calendar { background:white; border:1px solid #d7e0d8; border-radius:16px; overflow:hidden; }
.student-month-calendar > header { align-items:center; background:#f5f7f3; border-bottom:1px solid #d7e0d8; display:grid; grid-template-columns:42px 1fr 42px; padding:9px 11px; }
.student-month-calendar > header h3 { font-size:1.05rem; margin:0; text-align:center; }
.student-month-calendar > header button { background:white; border:1px solid #cbd6cd; border-radius:9px; color:var(--navy); cursor:pointer; font-size:1.25rem; height:36px; }
.student-calendar-scroll { overflow-x:auto; }
.student-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(104px,1fr)); min-width:728px; }
.student-calendar-weekdays { display:contents; }
.student-calendar-weekdays span { background:#f9faf8; border-bottom:1px solid #dfe5df; color:#65716a; font-size:.58rem; font-weight:900; padding:7px; text-align:center; text-transform:uppercase; }
.student-calendar-day { border-bottom:1px solid #e2e7e2; border-right:1px solid #e2e7e2; min-height:112px; padding:7px; }
.student-calendar-day:nth-of-type(7n) { border-right:0; }
.student-calendar-day.is-outside { background:#fafbf9; color:#9ca39e; }
.student-calendar-day.is-today { box-shadow:inset 0 0 0 2px var(--yellow); }
.student-calendar-day > time { display:block; font-size:.63rem; font-weight:900; margin-bottom:5px; }
.student-calendar-event { background:#edf3ee; border-left:3px solid var(--success); border-radius:7px; display:grid; gap:2px; margin-top:4px; padding:5px; }
.student-calendar-event.is-completed:not(.is-payment-pending) { background:#f0f1ef; border-left-color:#78837c; }
.student-calendar-event.is-cancellation-slot { background:#fff8d8; border-left-color:#d0a930; }
.student-calendar-event strong { font-size:.62rem; }
.student-calendar-event > span { font-size:.56rem; font-weight:800; }
.student-calendar-event > small { color:var(--muted); font-size:.52rem; }
.student-calendar-event > button,.student-calendar-event-actions button,.student-calendar-event-actions a { background:var(--navy); border:0; border-radius:6px; color:white; cursor:pointer; display:inline-flex; font-size:.52rem; font-weight:900; justify-content:center; margin-top:3px; min-height:28px; padding:5px; text-decoration:none; }
.student-calendar-event-actions { display:flex; flex-wrap:wrap; gap:3px; }
.student-calendar-event-actions .print-question-pack span,.student-calendar-event-actions .print-question-pack small { display:none; }
.extra-lesson-source { color:var(--success); display:block; font-size:.53rem; font-weight:900; letter-spacing:.05em; margin-bottom:2px; text-transform:uppercase; }
.extra-lesson-card .extra-lesson-saving { color:var(--success); font-size:.55rem; font-weight:900; grid-column:3; justify-self:end; margin-top:-8px; }
.extra-lesson-block-card{border-color:#d6b658;box-shadow:0 8px 22px rgba(71,60,21,.08);grid-column:1 / -1;grid-template-columns:58px minmax(0,1fr) minmax(210px,auto);padding:16px}.extra-block-date{background:#6b5520;height:58px}.extra-block-date small{color:#fff4c8;font-size:.42rem;font-weight:900}.extra-block-copy{display:grid;gap:4px}.extra-lesson-source.is-block{background:#f7e8ad;border-radius:999px;color:#604c11;display:inline-flex;font-size:.55rem;font-weight:900;padding:4px 7px;width:max-content}.extra-block-copy details{font-size:.62rem;margin-top:4px}.extra-block-copy summary{color:var(--success);cursor:pointer;font-weight:900}.extra-block-date-list{display:grid;gap:5px;list-style:none;margin:8px 0 0;padding:0}.extra-block-date-list li{align-items:center;background:#f6f8f4;border-radius:8px;display:flex;gap:10px;justify-content:space-between;padding:7px 9px}.extra-block-date-list li strong{font-size:.63rem}.extra-block-date-list li span{color:var(--muted);font-size:.58rem}.extra-block-price{align-items:flex-end;display:flex;flex-direction:column;gap:3px;text-align:right}.extra-block-price>span{color:var(--muted);font-size:.58rem}.extra-block-price>span b{color:var(--success);display:block}.extra-block-price>strong{font:900 1.35rem var(--heading-font)}.extra-block-price>small{color:var(--muted);font-size:.55rem;margin-bottom:5px}.extra-block-review{display:grid;gap:14px}.extra-block-review-heading h3{font-size:1.35rem;margin:6px 0}.extra-block-review-heading p,.extra-block-commitment{color:var(--muted);font-size:.72rem;margin:0}.extra-block-costs{background:#f5f7f3;border-radius:13px;display:grid;padding:5px 14px}.extra-block-costs>div{align-items:center;border-bottom:1px solid #dce2d8;display:flex;font-size:.74rem;justify-content:space-between;padding:9px 2px}.extra-block-costs>div:last-child{border:0}.extra-block-costs .is-discount{color:var(--success)}.extra-block-costs .is-total{font-size:.86rem;font-weight:900}.extra-block-commitment{background:var(--yellow-soft);border-radius:10px;color:#6b5d27;padding:11px 12px}.extra-block-confirmation{margin:0}.student-calendar-event.is-lesson-block{background:#fff6d9;border-color:#d6b658}
.extra-lesson-card .button s { color:rgba(255,255,255,.68); font-size:.58rem; }
.lesson-document-actions { grid-template-columns:1fr; }

@media (max-width:1100px) {
  .student-tabs-shell { padding-inline:46px; }
  .student-tabs-shell .student-tabs { margin:0; padding:0 3px 7px; }
  .student-tabs-scroll { align-items:center; background:white; border:1px solid #cbd7cf; border-radius:11px; box-shadow:0 5px 16px rgba(23,58,49,.14); color:var(--navy); cursor:pointer; display:flex; font:900 1.3rem var(--heading-font); height:40px; justify-content:center; padding:0; position:absolute; top:1px; width:38px; z-index:6; }
  .student-tabs-scroll-previous { left:2px; }
  .student-tabs-scroll-next { right:2px; }
  .student-tabs-scroll:disabled { cursor:default; opacity:.34; }
  .student-calendar-export { align-items:flex-start; grid-template-columns:1fr; }
  .student-calendar-export-actions { justify-content:flex-start; }
  .student-calendar-link-field,.student-calendar-privacy { grid-column:1; }
}

@media (max-width:680px) {
  .student-calendar-export-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .student-calendar-export-actions button,.student-calendar-export-actions .button { padding-inline:4px; }
  #student-calendar-create { grid-column:1 / -1; }
  .student-calendar-view-toolbar { align-items:flex-start; flex-direction:column; }
  .student-calendar-view-toolbar > div { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .extra-lesson-card .extra-lesson-saving { grid-column:1 / -1; justify-self:start; margin:0; }
  .extra-lesson-block-card { grid-template-columns:46px minmax(0,1fr); }
  .extra-lesson-block-card .extra-block-price { align-items:stretch; grid-column:1 / -1; text-align:left; }
  .extra-lesson-block-card .extra-block-price .button { grid-column:auto; }
  .extra-block-date-list li { align-items:flex-start; flex-direction:column; gap:2px; }
  .next-lesson-actions .button,.next-lesson-actions .print-question-pack { flex:1 1 180px; justify-content:center; }
}

@media (max-width:900px) {
  .lesson-document-toolbar { grid-template-columns:1fr; }
  .lesson-document-grouping > div { display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-width:700px) {
  .lesson-documents-heading { align-items:flex-start; }
  .lesson-document-grid { grid-template-columns:1fr; }
  .lesson-document-card > header { grid-template-columns:38px minmax(0,1fr); }
  .lesson-document-icon { height:38px; width:38px; }
  .lesson-document-view-state { grid-column:1 / -1; justify-self:start; }
  .lesson-document-toolbar { padding:13px; }
}
@media (max-width:440px) {
  .lesson-document-actions { grid-template-columns:1fr; }
  .lesson-document-group > header { align-items:flex-start; flex-direction:column; }
  .lesson-document-refresh-error { align-items:stretch; flex-direction:column; }
}

@media print {
  body.annotated-document-view-open > * { display:none!important; }
  body.annotated-document-view-open > .annotated-print-guard { align-items:center; color:#13233f; display:flex!important; flex-direction:column; font-family:Arial,sans-serif; gap:10px; justify-content:center; min-height:90vh; padding:40px; text-align:center; }
  .annotated-print-guard strong { font-size:24pt; }
  .annotated-print-guard span { font-size:12pt; }
}
/* Read-only scientific calculator mirrored from the tutor. The iframe is the
   handset itself, with no surrounding modal card or backdrop. */
.student-scientific-calculator {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: min(592px, calc(100dvh - 92px));
  margin: 0;
  overflow: visible;
  padding: 0;
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  top: max(72px, calc(env(safe-area-inset-top) + 58px));
  width: min(310px, calc(100vw - 24px));
  z-index: 2300;
}

.student-scientific-calculator[hidden] {
  display: none;
}

.student-scientific-calculator iframe {
  background: transparent;
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

@media (max-width: 720px) {
  .student-scientific-calculator {
    height: min(514px, calc(100dvh - 82px));
    right: 8px;
    top: max(66px, calc(env(safe-area-inset-top) + 52px));
    width: min(270px, calc(100vw - 16px));
  }
}

.student-booking-launchers { display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.student-booking-launcher { background:white; border:1px solid #cedbd2; border-radius:18px; color:var(--navy); cursor:pointer; display:grid; gap:5px; min-height:150px; padding:20px; text-align:left; }
.student-booking-launcher:hover,.student-booking-launcher:focus-visible { border-color:var(--success); box-shadow:0 10px 24px rgba(31,72,59,.12); outline:0; transform:translateY(-2px); }
.student-booking-launcher.is-term { background:linear-gradient(135deg,#fff7d6,#f6f1df); border-color:#d6b64f; grid-column:1 / -1; }
.student-booking-launcher > span { color:var(--success); font-size:.62rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.student-booking-launcher > strong { font:900 1.2rem var(--heading-font); }
.student-booking-launcher > small { color:var(--muted); font-size:.68rem; }
.student-booking-launcher > b { align-self:end; color:var(--success); font-size:.7rem; margin-top:8px; }
.student-booking-dialog { background:transparent; border:0; max-height:calc(100dvh - 28px); max-width:1050px; overflow:visible; padding:14px; width:calc(100% - 24px); }
.student-booking-dialog::backdrop { backdrop-filter:blur(5px); background:rgba(13,24,42,.76); }
.student-booking-dialog-shell { background:#f8faf7; border:2px solid var(--navy); border-radius:23px; box-shadow:10px 10px 0 var(--yellow); max-height:calc(100dvh - 56px); overflow:auto; padding:24px; }
.student-booking-dialog-shell > header { align-items:flex-start; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; margin-bottom:18px; padding-bottom:15px; position:sticky; top:-24px; background:#f8faf7; z-index:5; }
.student-booking-dialog-shell > header h2 { font-size:2rem; margin:0; }
.student-booking-dialog .student-extra-marketplace,.student-booking-dialog .student-group-lessons { margin-bottom:0; }
.extra-lesson-card.is-basket-selected,.group-lesson-card.is-basket-selected,.student-calendar-event.is-basket-selected { background:#e5f4eb; border-color:#23805f; box-shadow:inset 0 0 0 1px #23805f; }
.basket-select-button[aria-pressed="true"] { background:#23805f; color:white; }
.lesson-basket-summary { align-items:center; background:var(--navy); border-radius:16px; color:white; display:grid; gap:14px; grid-template-columns:minmax(0,1fr) minmax(220px,auto) auto; margin-top:17px; padding:15px 16px; position:sticky; bottom:0; z-index:4; }
.lesson-basket-summary > div:first-child { display:grid; gap:3px; }
.lesson-basket-summary > div:first-child span { color:rgba(255,255,255,.7); font-size:.61rem; line-height:1.4; }
.lesson-basket-summary dl { display:grid; gap:3px; margin:0; }
.lesson-basket-summary dl div { display:flex; font-size:.62rem; gap:18px; justify-content:space-between; }
.lesson-basket-summary dd { font-weight:900; margin:0; }
.lesson-basket-summary .is-saving { color:#bde8cd; }
.lesson-basket-summary .is-total { border-top:1px solid rgba(255,255,255,.25); font-size:.74rem; margin-top:3px; padding-top:5px; }
.lesson-basket-summary .button { background:var(--yellow); color:var(--navy); white-space:nowrap; }
.lesson-basket-summary.is-empty { background:#edf1ed; color:var(--navy); display:block; position:static; }
.lesson-basket-summary.is-empty span { color:var(--muted)!important; }
.student-calendar-event.is-holiday-slot { background:#fff4cc; border-left-color:#c79d22; }

@media (max-width:760px) {
  .student-booking-launchers { grid-template-columns:1fr; }
  .student-booking-launcher.is-term { grid-column:auto; }
  .student-booking-dialog { max-height:calc(100dvh - 8px); padding:5px; width:calc(100% - 8px); }
  .student-booking-dialog-shell { border-radius:18px; max-height:calc(100dvh - 18px); padding:16px 13px; }
  .student-booking-dialog-shell > header { top:-16px; }
  .lesson-basket-summary { align-items:stretch; grid-template-columns:1fr; }
  .lesson-basket-summary .button { width:100%; }
}

@media (max-width:680px) {
  .student-refund-notice { grid-template-columns:43px minmax(0,1fr); padding:15px; }
  .student-refund-notice-icon { border-radius:12px; height:43px; width:43px; }
  .student-refund-notice > .button { grid-column:1/-1; width:100%; }
}

.portal-book-button[disabled],#student-tab-book[disabled] { cursor:not-allowed; opacity:.48; }
.student-booking-access-notice { align-items:center; background:#fff4cc; border:1px solid #dec46c; border-radius:16px; display:flex; gap:14px; margin-bottom:18px; padding:15px 17px; }
.student-booking-access-notice span { align-items:center; background:var(--navy); border-radius:50%; color:white; display:flex; flex:0 0 34px; font-weight:900; height:34px; justify-content:center; }
.student-booking-access-notice div { display:grid; gap:3px; }
.student-booking-access-notice strong { color:var(--navy); }
.student-booking-access-notice p { color:var(--muted); margin:0; }
.student-booking-locked { background:#f3f6f2; border:1px solid var(--line); border-radius:16px; display:grid; gap:6px; padding:20px; }
.student-booking-locked h3,.student-booking-locked p { margin:0; }
.student-taster-feedback-dialog { background:transparent; border:0; max-width:640px; padding:14px; width:calc(100% - 24px); }
.student-taster-feedback-dialog::backdrop { backdrop-filter:blur(5px); background:rgba(13,24,42,.76); }
.student-taster-feedback-shell { background:#fff; border:2px solid var(--navy); border-radius:22px; box-shadow:9px 9px 0 var(--yellow); display:grid; gap:16px; padding:26px; }
.student-taster-feedback-shell h2,.student-taster-feedback-shell p { margin:0; }
.student-taster-feedback-shell fieldset { border:1px solid var(--line); border-radius:14px; display:flex; flex-wrap:wrap; gap:10px 18px; margin:0; padding:14px; }
.student-taster-feedback-shell legend { font-weight:900; padding:0 6px; }
.student-taster-feedback-shell label { align-items:center; display:flex; gap:7px; }
.student-taster-feedback-status { color:var(--muted); min-height:1.4em; }
.student-taster-feedback-status.is-error { color:#a52d38; }
.student-taster-feedback-actions { display:flex; flex-wrap:wrap; gap:10px; }

@media (max-width:680px) {
  .student-taster-feedback-shell { padding:20px 16px; }
  .student-taster-feedback-actions .button { flex:1 1 100%; }
}
