/* A single page frame: the rail and every existing inner page share one gutter. */
html body{--cl293-rail:208px;--cl293-gutter:24px}
html body #cl290Navigation .cl286-rail{inset:16px 16px 16px auto!important;width:var(--cl293-rail)!important;height:calc(100dvh - 32px)!important;padding:22px 12px 12px!important;box-sizing:border-box!important;background:var(--d-paper)!important;border:1px solid var(--d-line)!important;border-radius:22px!important;box-shadow:0 8px 30px #0000000c;display:flex!important;flex-direction:column!important;gap:0!important}
html body #cl290Navigation .cl286-logo{font-size:25px!important;justify-content:flex-start!important;padding:0 10px!important;margin:0 0 26px!important;gap:10px!important}
html body #cl290Navigation .cl286-logo i{width:30px!important;height:30px!important;border-radius:10px!important;background:linear-gradient(135deg,var(--d-green),var(--d-primary))!important}
html body #cl290Navigation .cl286-rail nav{display:grid!important;gap:6px!important}
html body #cl290Navigation .cl286-rail nav button{min-height:48px!important;margin:0!important;padding:11px 13px!important;border:0!important;border-radius:12px!important;font-size:14px!important;font-weight:600!important;gap:12px!important;color:var(--d-muted)!important;box-shadow:none!important}
html body #cl290Navigation .cl286-rail nav button.selected{color:var(--d-green)!important;background:var(--d-soft)!important;box-shadow:inset -3px 0 var(--d-green)!important}
html body #cl290Navigation .cl286-rail nav button svg{width:20px!important;height:20px!important}
html body #cl290Navigation .cl286-account{margin-top:auto!important;padding:17px 10px 4px!important;font-size:14px!important;gap:10px!important}
html body #cl290Navigation .cl286-account>i{padding:9px!important;border-radius:12px!important}
html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open{inset:0 calc(var(--cl293-rail) + 32px) 0 0!important;padding:24px!important;width:auto!important;max-width:none!important;height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;background:var(--d-page)!important}
html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open>:is(.modalbox,.classora-curriculum-shell){width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;position:relative!important;inset:auto!important;transform:none!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;box-sizing:border-box!important}
html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open :is(.modalhead,.classora-curriculum-top){position:relative!important;inset:auto!important;transform:none!important;margin:0 0 24px!important;padding:4px 0 20px!important;background:transparent!important;backdrop-filter:none!important;border:0!important;border-bottom:1px solid var(--d-line)!important;box-shadow:none!important;border-radius:0!important;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
html body.cl288-page :is(#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open .modalhead h2{font-size:26px!important;font-weight:700!important;color:var(--d-ink)!important;margin:0!important}
html body.cl288-page .cl288-inline.open :is(p,small,.cloud-note,.subject-assistant-line,.settings-note){font-weight:400!important;line-height:1.75!important;text-shadow:none!important}
html body.cl288-page .cl288-inline.open :is(.subject-assistant-line,.cloud-note,.settings-note){font-size:13px!important;color:var(--d-muted)!important}
html body.cl288-page .cl288-inline.open :is(button,label){text-shadow:none!important;font-weight:600!important}
html body.cl288-page .cl288-inline.open :is(.profile-card,.live-card,.exam-card,.settings-card,.class-manager-hero,.live-hero,.cloud-note,.competition-create-settings label){background:var(--d-paper)!important;color:var(--d-ink)!important;border:1px solid var(--d-line)!important;border-radius:16px!important;box-shadow:none!important}
html body.cl288-page .cl288-inline.open :is(.profile-card,.live-card,.exam-card,.settings-card){padding:22px!important}
html body.cl288-page .cl288-inline.open :is(.class-manager-hero,.live-hero){padding:24px!important;margin-bottom:20px!important;background:var(--d-soft)!important}
html body.cl288-page .cl288-inline.open :is(.profile-card,.live-card,.exam-card) h3{font-size:19px!important;font-weight:700!important;margin:0 0 12px!important;color:var(--d-ink)!important}
html body.cl288-page .cl288-inline.open :is(.apply,.exam-primary){background:var(--d-primary)!important;color:var(--d-on-primary)!important;border:0!important;border-radius:12px!important;min-height:46px;font-weight:600!important;box-shadow:none!important}
html body.cl288-page .cl288-inline.open :is(.exam-secondary,.close){background:var(--d-soft)!important;color:var(--d-green)!important;border:1px solid var(--d-line)!important;border-radius:11px!important;min-height:42px;box-shadow:none!important}
html body.cl288-page #settingsModal.cl288-inline.open .settings-modalbox{display:block!important;overflow:visible!important}
html body #settingsModal #classoraAppearanceSettings{margin:0 0 24px!important;padding:22px!important;background:var(--d-paper)!important;border:1px solid var(--d-line)!important;border-radius:16px!important}
html body #settingsModal .settings-profile-row{margin:0 0 24px!important;background:var(--d-paper)!important;border-radius:16px!important}
html body #settingsModal .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html body #settingsModal .settings-card{border-radius:16px!important}
html body #settingsModal :is(.cl239-sessions,.cl240-owner){width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:16px 0!important;background:var(--d-paper)!important;color:var(--d-ink)!important;border-color:var(--d-line)!important}
html body.cl288-page #chatModal.cl288-inline.open>.classora-chat-box{height:calc(100dvh - 48px)!important;max-height:calc(100dvh - 48px)!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
html body #chatModal .classora-chat-layout{grid-template-columns:280px minmax(0,1fr)!important;gap:16px!important;padding:0!important}
html body #chatModal :is(.chat-contacts-pane,.chat-thread-pane){border-radius:16px!important}
html body #chatModal #chatMessages{background:var(--d-page)!important}
html body #chatModal .chat-thread-head{position:relative!important;inset:auto!important}
html body #classoraCurriculumModal .classora-curriculum-body{padding:0!important;background:none!important}
html body #classoraCurriculumModal :is(.cv289-hero,.cv289-topic-hero){padding:26px!important;margin:0 0 24px!important;min-height:0!important;border-radius:18px!important;background:var(--d-soft)!important}
html body #classoraCurriculumModal .cv289-hero h2{font-size:30px!important}
html body #classoraCurriculumModal .cv289-hero-art{display:none!important}
html body #classoraCurriculumModal .curriculum-subject-card{min-height:210px!important;padding:22px!important;border-radius:18px!important;background:var(--d-paper)!important}
html body #classoraCurriculumModal .curriculum-subject-card::before,html body #classoraCurriculumModal .curriculum-subject-card::after{display:none!important}
html body #classoraCurriculumModal .cv289-subject-icon{width:64px!important;height:64px!important;border-radius:17px!important;margin-bottom:12px!important}
html body #classoraCurriculumModal .cv289-subject-copy b{font-size:20px!important}
html body #classoraCurriculumModal .curriculum-unit-section{padding:20px!important;border-radius:18px!important}
@media(min-width:1000px){html body #cl286Dashboard{grid-template-columns:var(--cl293-rail) minmax(0,1fr) 280px!important;gap:24px!important;padding:24px 16px!important}}
@media(max-width:999px){
 html body #cl290Navigation .cl286-rail{display:none!important}
 html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open{inset:0 0 calc(88px + env(safe-area-inset-bottom)) 0!important;height:calc(100dvh - 88px - env(safe-area-inset-bottom))!important;padding:18px!important}
 html body.cl288-page #chatModal.cl288-inline.open>.classora-chat-box{height:calc(100dvh - 124px - env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 124px - env(safe-area-inset-bottom))!important}
 html body #cl290Navigation .cl286-mobile-nav{border-radius:18px!important;background:var(--d-paper)!important}
}
@media(max-width:700px){html body #settingsModal .settings-grid{grid-template-columns:1fr!important}html body #chatModal .classora-chat-layout{grid-template-columns:minmax(0,1fr)!important}html body.cl288-page .cl288-inline.open :is(.profile-card,.live-card,.exam-card,.settings-card){padding:16px!important}html body #classoraCurriculumModal .cv289-hero h2{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){html body #cl290Navigation button{transition:none!important}}
/* Approved preview geometry. Scoped to inner pages: the lobby is untouched. */
html body.cl288-page #cl290Navigation .cl286-rail{inset:0 0 0 auto!important;width:180px!important;height:100dvh!important;border-radius:0!important;border:0!important;border-inline-end:1px solid var(--d-line)!important;padding:26px 14px!important;box-shadow:none!important}
html body.cl288-page #cl290Navigation .cl286-logo{font-size:23px!important;margin-bottom:30px!important}
html body.cl288-page #cl290Navigation .cl286-rail nav{gap:5px!important}
html body.cl288-page #cl290Navigation .cl286-rail nav button{font-family:Tahoma,Arial,sans-serif!important;font-size:13px!important;font-weight:500!important;border-radius:11px!important;min-height:46px!important}
html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open{inset:0 180px 0 0!important;padding:30px!important;font-family:Tahoma,Arial,sans-serif!important;line-height:1.7!important}
html body.cl288-page .cl288-inline.open :is(button,input,select,textarea){font-family:inherit!important}
html body.cl288-page .cl288-inline.open h2{font-weight:700!important;letter-spacing:0!important}
html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-hero{display:block!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;margin:0 0 22px!important;overflow:visible!important}
html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-hero h2{font-size:28px!important;color:var(--d-ink)!important;margin:6px 0 10px!important}
html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-hero p{font-size:13px!important;color:var(--d-muted)!important;opacity:1!important;margin:0!important}
html body.cl288-page #classoraCurriculumModal .curriculum-kicker{font-size:12px!important;color:var(--d-green)!important;letter-spacing:0!important}
html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-subject-card{min-height:0!important;gap:0!important;padding:19px!important;border-radius:17px!important;background:var(--d-paper)!important;box-shadow:none!important;text-align:start!important}
html body.cl288-page #classoraCurriculumModal [data-subject]{--tile-color:var(--d-green);--tile-tint:var(--d-soft)}
html body.cl288-page #classoraCurriculumModal [data-subject=science],html body.cl288-page #classoraCurriculumModal [data-subject=geography]{--tile-color:var(--d-purple);--tile-tint:var(--d-purple-soft)}
html body.cl288-page #classoraCurriculumModal [data-subject=arabic],html body.cl288-page #classoraCurriculumModal [data-subject=history]{--tile-color:var(--d-peach-ink);--tile-tint:var(--d-peach)}
html body.cl288-page #classoraCurriculumModal .cv294-art{display:flex;align-items:center;justify-content:space-between;width:100%;height:108px;padding:18px;margin-bottom:18px;box-sizing:border-box;border-radius:12px;background:var(--tile-tint);color:var(--tile-color)}
html body.cl288-page #classoraCurriculumModal .cv294-art svg{width:42px!important;height:42px!important;stroke:currentColor!important;fill:none!important}
html body.cl288-page #classoraCurriculumModal .cv294-art>span{font:32px Georgia,serif;opacity:.65}
html body.cl288-page #classoraCurriculumModal .cv289-subject-copy{gap:8px!important;min-height:64px}
html body.cl288-page #classoraCurriculumModal .cv289-subject-copy b{font-size:17px!important;font-weight:700!important}
html body.cl288-page #classoraCurriculumModal .cv289-subject-copy small{font-size:12px!important;color:var(--d-muted)!important}
html body.cl288-page #classoraCurriculumModal .cv289-enter{font-size:12px!important;color:var(--tile-color)!important;padding-top:13px!important;margin-top:17px!important;font-weight:500!important}
html body.cl288-page #classoraCurriculumModal .curriculum-subject-card[hidden]{display:none!important}
html body.cl288-page #classoraCurriculumModal .curriculum-unit-section{border:0!important;padding:0!important;background:transparent!important;margin:0 0 25px!important}
html body.cl288-page #classoraCurriculumModal .curriculum-topic-card{background:var(--d-paper)!important;border-radius:17px!important;padding:19px!important}
html body.cl288-page #classoraCurriculumModal .curriculum-topic-card b{font-size:17px!important}
html body.cl288-page #classoraCurriculumModal .cv290-topic-art{height:108px!important;min-height:108px!important;border-radius:12px!important}
html body.cl288-page :is(#classModal,#examModal,#competitionModal,#settingsModal) :is(.myclasses-main-card,.myclasses-join-card,.myclasses-assignments-card,.profile-card,.live-card,.exam-card,.settings-card){background:var(--d-paper)!important;border:1px solid var(--d-line)!important;border-radius:16px!important;box-shadow:none!important;padding:20px!important;color:var(--d-ink)!important}
html body.cl288-page #classModal .myclasses-hero{background:var(--d-soft)!important;border:0!important;border-radius:18px!important;padding:24px!important;margin:0 0 20px!important;color:var(--d-ink)!important}
html body.cl288-page #classModal .myclasses-layout{gap:16px!important}
html body.cl288-page #classModal .myclasses-assignments-card{margin-top:16px!important}
html body.cl288-page #competitionModal .live-home-grid{gap:16px!important;align-items:start!important}
html body.cl288-page #competitionModal .live-hero{border:0!important;padding:0!important;background:transparent!important;text-align:start!important}
html body.cl288-page #competitionModal .live-card{min-height:0!important}
html body.cl288-page #settingsModal .settings-grid{gap:14px!important}
html body.cl288-page #settingsModal .settings-card h3{font-size:17px!important}
html body.cl288-page #chatModal .chat-contacts-pane{width:auto!important;background:var(--d-paper)!important}
@media(max-width:999px){html body.cl288-page :is(#classoraCurriculumModal,#classModal,#examModal,#competitionModal,#settingsModal,#chatModal,#profileModal).cl288-inline.open{inset:0 0 calc(88px + env(safe-area-inset-bottom)) 0!important;padding:20px!important}html body.cl288-page #cl290Navigation .cl286-rail{display:none!important}}
@media(max-width:700px){html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}html body.cl288-page #classoraCurriculumModal:not(.lesson-open) .curriculum-subject-card{padding:13px!important}html body.cl288-page #classoraCurriculumModal .cv294-art{height:82px;padding:12px}html body.cl288-page #classoraCurriculumModal .cv294-art svg{width:29px!important;height:29px!important}html body.cl288-page #classoraCurriculumModal .cv294-art>span{font-size:24px}html body.cl288-page #classoraCurriculumModal .cv289-subject-copy b{font-size:16px!important}}
