/* Classora 70 — deep ink, mint and periwinkle; shared vector icon language. */
:root{--hub-ink:#0c1623;--hub-panel:#121f2e;--hub-border:#ffffff15;--hub-text:#edf3fc;--hub-muted:#9eafc3;--hub-mint:#83e5c4;--hub-blue:#9ebfff}
[hidden]{display:none!important}.classora-icon{width:23px;height:23px;display:inline-block;vertical-align:middle;flex-shrink:0;color:var(--icon-color,#8ec4f7);pointer-events:none}.classora-icon path,.classora-icon ellipse,.classora-icon circle{vector-effect:non-scaling-stroke}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #91dcca!important;outline-offset:4px}button{touch-action:manipulation}button .classora-icon{margin-inline-end:7px}
.learning-hub{color:var(--hub-text);margin:24px 0}.hub-legacy,.hub-legacy-hero{display:none!important}.hub-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center;min-height:238px;padding:22px 8px 30px}.hub-kicker{font-size:11px;letter-spacing:2px;color:var(--hub-mint);font-weight:800}.hub-hero h1{font-size:clamp(30px,4.2vw,54px);line-height:1.15;letter-spacing:-1.8px;margin:17px 0;color:#eff4fc}.hub-hero p{color:var(--hub-muted);font-size:16px;line-height:1.7;max-width:520px}.hub-hero-art{position:relative;min-height:230px;isolation:isolate}.hub-art-ring{position:absolute;width:185px;height:185px;border:1px solid #a7c6ff25;border-radius:50%;left:50%;top:20px;transform:translateX(-50%)}.hub-art-ring:after{content:'';position:absolute;inset:23px;border:1px dashed #91e4c342;border-radius:50%}.hub-art-tile{position:absolute;display:grid;place-items:center;width:105px;height:105px;border:1px solid #b9d5fc32;border-radius:28px;box-shadow:0 20px 40px #0004;background:linear-gradient(140deg,#223b54,#101e2d);transform:rotate(-12deg);top:65px;left:15%}.hub-art-tile .classora-icon{width:65px;height:65px}.hub-art-tile.atom{left:49%;top:20px;transform:rotate(12deg);background:linear-gradient(140deg,#25473f,#142e2b);--icon-color:#88e8c5}.hub-art-tile.book{left:53%;top:128px;width:80px;height:80px;transform:rotate(-8deg);--icon-color:#c7b7ff;background:linear-gradient(140deg,#353453,#1f2239)}.hub-art-tile.book svg{width:44px;height:44px}
.hub-search{display:flex;align-items:center;gap:10px;min-height:56px;background:#142232;border:1px solid #aec8f023;border-radius:18px;padding:0 18px;max-width:730px}.hub-search input{width:100%;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--hub-text);font:inherit;outline:0;min-height:52px;padding:8px!important}.hub-subject-tabs{display:flex;gap:10px;margin:26px 0 22px;flex-wrap:wrap}.hub-button,.hub-subject-tabs button,.hub-back{border:1px solid #b2cae126;background:#172637;color:#dceafa;padding:12px 18px;border-radius:14px;font:inherit;font-size:14px;cursor:pointer;min-height:45px;transition:background .18s,transform .18s}.hub-subject-tabs button.active{background:#c2e4ff;color:#112535;border-color:transparent}.hub-subject-tabs button.active .classora-icon{color:#244b65}.hub-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hub-topic-card{position:relative;display:flex;flex-direction:column;text-align:start;background:var(--hub-panel);border:1px solid var(--hub-border);border-radius:22px;padding:22px;min-height:235px;color:var(--hub-text);cursor:pointer;overflow:hidden;transition:transform .22s,border-color .22s,background .22s}.hub-topic-card:hover{background:#192b3d;border-color:#a7ccfc60;transform:translateY(-4px)}.hub-topic-card:active{transform:scale(.98)}.hub-card-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#6eacff18;margin-bottom:21px}.hub-card-icon .classora-icon{width:30px;height:30px;margin:0}.hub-topic-card.science .hub-card-icon{background:#86e7be16;--icon-color:#83e5c4}.hub-card-category{font-size:9px;letter-spacing:1.5px;color:#9eb4cb}.hub-topic-card h3{margin:7px 0;font-size:19px;font-weight:700;line-height:1.35}.hub-topic-card p{font-size:13px;line-height:1.7;color:var(--hub-muted);margin:0;padding-inline-end:10px}.hub-card-arrow{position:absolute;inset-inline-end:20px;top:26px;font-size:24px;color:#a1bbd7}.hub-muted{color:var(--hub-muted);font-size:13px;line-height:1.8}.hub-assistant{margin:30px 0 16px!important;padding:22px!important;border-radius:22px!important;background:#101f2c!important;max-width:100%}.hub-assistant .lobby-ai-reply{max-height:230px;overflow:auto;white-space:pre-wrap}.hub-shared-tools{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 30px}.hub-shared-tools button{display:flex;align-items:center;gap:6px}.hub-dialog-body{font-size:15px;line-height:1.8;display:flex;flex-direction:column;gap:15px;min-width:0}.hub-dialog-body input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:13px;border-radius:13px}.hub-dialog-body p,.hub-dialog-body h2,.hub-dialog-body h3{margin:0}.hub-dialog-body .hub-button{width:auto}.hub-lesson-art{height:115px;display:grid;place-items:center;background:linear-gradient(125deg,#25473b,#173143);border-radius:20px}.hub-lesson-art svg{width:74px;height:74px;color:#8ce6c6}.hub-lesson-text{font-size:16px}.hub-example{background:#9cc7eb0b;border-inline-start:3px solid #9fe6c9;border-radius:10px;padding:14px;color:#d7e6f4;white-space:pre-wrap}.hub-actions{display:flex;gap:8px;flex-wrap:wrap}.hub-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hub-choices button{text-align:start;min-height:60px}.hub-choices button.correct{border-color:#83e5c4;background:#244d3f}.hub-choices button.incorrect{border-color:#ed9c9c;background:#542b35}.hub-feedback{min-height:28px}.hub-score{font-size:50px;font-weight:800;color:#8ce6c6;text-align:center}.hub-review{padding:16px;border:1px solid var(--hub-border);border-radius:16px}.hub-social-link{display:flex;align-items:center;gap:15px;padding:18px;border-radius:18px;color:#eee1ff;background:#ba93ed18;text-decoration:none}.hub-social-link svg{color:#dfb8ff}.hub-admin input[type=checkbox]{width:21px;height:21px;accent-color:#80e0ba}.hub-admin label{justify-content:flex-start;min-height:38px;font-size:14px}.hub-back{background:transparent}#settingsAccountsBtn{display:flex;align-items:center;justify-content:center;gap:9px;min-height:65px;border-radius:18px}
.particle-box{height:260px;position:relative;background:#0b1822;border:1px solid #94e7c345;border-radius:22px;overflow:hidden}.particle-box i{position:absolute;left:var(--x);top:var(--y);width:13px;height:13px;border-radius:50%;background:#8ce6c6;box-shadow:0 0 12px #8ce6c637}.particle-box[data-state=solid] i{animation:particle-solid .4s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.03s)}.particle-box[data-state=liquid] i{top:calc(100% - 75px + var(--i) * -2px);animation:particle-liquid 2.5s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.2s)}.particle-box[data-state=gas] i{animation:particle-gas 3s linear infinite alternate;animation-delay:calc(var(--i) * -.16s);background:#9ebfff}@keyframes particle-solid{to{transform:translate(2px,-2px)}}@keyframes particle-liquid{to{transform:translate(18px,-22px)}}@keyframes particle-gas{to{transform:translate(-45px,75px)}}
.hub-motion .hub-topic-card{animation:hub-card-enter .4s ease-out both}.hub-motion .hub-art-tile{animation:hub-float 5s ease-in-out infinite alternate}.hub-motion .hub-art-tile.atom{animation-delay:-2s}.intro-learning-art{width:240px;max-width:80vw}.intro-learning-art svg{width:100%;height:auto}.intro-learning-art path,.intro-learning-art g{animation:hub-card-enter .8s ease-out both}@keyframes hub-float{to{translate:0 -10px}}@keyframes hub-card-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
/* Voice draft owns the input slot until sent or discarded. */
#chatVoicePreview{grid-column:1;grid-row:1;width:100%;min-width:0;padding:10px 12px;box-sizing:border-box;border-radius:24px;background:#214036}#chatVoicePreview~#chatSendBtn{grid-column:2;grid-row:1;align-self:center}#chatVoicePreview .voice-player{width:100%}#chatModal .chat-message-options{position:relative;z-index:2;float:right;min-width:40px;min-height:36px;border-radius:10px;display:grid;place-items:center;margin-inline-start:5px;pointer-events:auto}#chatModal .chat-message-options:hover{background:#ffffff18}#chatModal .chat-bubble{min-width:80px}#studentChangeClassBtn[hidden]{display:none!important}.student-auth-tabs~.auth-step-kicker,.student-class-first .auth-step-kicker{display:none!important}
@media(min-width:1024px){body.hub-bottom-dock .platform-lobby{padding-bottom:115px!important;contain:none!important}body.hub-bottom-dock .lobby-topbar{position:static!important;transform:none!important;animation:none!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}body.hub-bottom-dock .lobby-top-actions{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1100;max-width:calc(100vw - 40px);width:max-content;display:flex;flex-wrap:nowrap!important;gap:7px;padding:9px 12px;border:1px solid #96b9d932;border-radius:24px;background:#122131f5;box-shadow:0 14px 50px #0007;backdrop-filter:blur(20px)}body.hub-bottom-dock .lobby-top-actions button{min-height:46px!important;height:auto!important;width:auto!important;min-width:46px;max-width:155px;padding:8px 11px!important;font-size:11px!important;white-space:nowrap;border-radius:14px!important}body.hub-bottom-dock #adminHybridBadge{display:none!important}body.hub-bottom-dock .lobby-top-actions .lobby-avatar{width:30px;height:30px}body.hub-bottom-dock .lobby-top-actions .classora-icon{width:21px;height:21px}body.classora-overlay-open .lobby-top-actions{pointer-events:none}body.hub-bottom-dock .lobby-profile-btn span{max-width:80px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:1023px){.hub-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-hero{grid-template-columns:1fr .7fr;gap:4px}.hub-hero-art{scale:.85}.hub-subject-tabs button{flex:1;padding:11px}.lobby-top-actions{gap:7px!important}.lobby-top-actions button{border-radius:13px!important}.lobby-top-actions .classora-icon{margin:0;width:21px;height:21px}}
@media(max-width:600px){.hub-hero{grid-template-columns:1fr;padding:6px 3px 20px;min-height:0}.hub-hero h1{font-size:35px;letter-spacing:-1px;margin-bottom:8px}.hub-hero p{font-size:14px;margin-bottom:0}.hub-hero-art{display:none}.learning-hub{margin-top:18px}.hub-card-grid{gap:10px}.hub-topic-card{padding:16px;min-height:219px;border-radius:18px}.hub-topic-card h3{font-size:16px}.hub-topic-card p{font-size:12px;padding:0}.hub-card-icon{width:43px;height:43px;border-radius:13px;margin-bottom:16px}.hub-card-arrow{top:17px;inset-inline-end:15px;font-size:19px}.hub-subject-tabs{gap:6px}.hub-subject-tabs button{font-size:12px;padding:10px 7px}.hub-subject-tabs .classora-icon{width:18px;height:18px;margin-inline-end:4px}.hub-kicker{font-size:9px;letter-spacing:1.4px}.hub-shared-tools{display:grid;grid-template-columns:1fr 1fr}.hub-shared-tools button{font-size:12px;padding:11px}.hub-choices{grid-template-columns:1fr}.hub-assistant{padding:16px!important}.classora-case-dialog:has(.hub-dialog-body){width:calc(100% - 24px);max-height:90vh;box-sizing:border-box}.hub-dialog-body{font-size:14px}.voice-player{gap:6px}}
@media(prefers-reduced-motion:reduce){.learning-hub *, .intro-learning-art *, .particle-box i{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.reduce-motion .learning-hub *,body.reduce-motion .particle-box i,body:not(.hub-motion) .particle-box i{animation:none!important}
/* Fallback for browsers predating dynamic viewport units. */
@supports not(height:100dvh){.platform-lobby{height:100vh!important;min-height:100vh!important;max-height:100vh!important}.modal{height:100vh!important}}
.case-dialog-fallback{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%);z-index:2147483646;display:block;box-shadow:0 0 0 100vmax #020915bb,0 24px 80px #0008;max-height:85vh;overflow:auto}.auth-role .ico:empty{display:none}#chatModal .chat-bubble.has-voice{width:min(320px,86%);box-sizing:border-box}

/* ================= CLASSORA MOBILE + VECTOR POLISH V78 ================= */
:root{--classora-mobile-gap:12px}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;min-height:100dvh;overflow-x:hidden}
img,video,canvas{max-width:100%}
svg{max-width:100%}
input,textarea,select,button{max-width:100%}
.classora-icon,.classora-inline-art{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.16em;flex:0 0 auto}
.classora-inline-art-wrap{display:inline-flex;align-items:center;justify-content:center;vertical-align:-.16em;margin-inline:.12em;color:currentColor}
.classora-inline-art-wrap .classora-inline-art{width:1.08em;height:1.08em;stroke:currentColor;fill:none}
h1 .classora-inline-art-wrap,h2 .classora-inline-art-wrap,h3 .classora-inline-art-wrap{vertical-align:-.1em}
.subject-ico .classora-inline-art,.lobby-action>span .classora-inline-art,.lobby-ai-orb .classora-inline-art{width:1em;height:1em}
.classora-intro{
  inset:-2px 0 -2px 0!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right))
          max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;
  background-color:#06101b!important;
}
.classora-intro-core{
  width:min(92vw,560px)!important;min-height:min(86dvh,680px);display:flex!important;flex-direction:column;
  align-items:center;justify-content:center;transform:none!important;isolation:isolate
}
.classora-intro-orbit{
  position:absolute;left:50%;top:50%;width:min(78vw,430px);height:min(78vw,430px);
  transform:translate(-50%,-50%);border:1px solid rgba(117,201,255,.12);border-radius:50%;
  box-shadow:inset 0 0 70px rgba(72,153,255,.035),0 0 55px rgba(86,83,255,.05);
  animation:classoraIntroOrbit 15s linear infinite;pointer-events:none;z-index:-1
}
.classora-intro-orbit::before,.classora-intro-orbit::after{
  content:"";position:absolute;inset:15%;border:1px dashed rgba(157,128,255,.12);border-radius:50%
}
.classora-intro-orbit::after{inset:31%;border-style:solid;border-color:rgba(76,225,161,.08)}
.intro-orbit-item{
  position:absolute;width:54px;height:54px;border-radius:17px;display:grid;place-items:center;
  color:#bfeaff;background:linear-gradient(145deg,rgba(21,53,79,.94),rgba(14,29,48,.92));
  border:1px solid rgba(126,205,255,.18);box-shadow:0 12px 34px rgba(0,0,0,.28),0 0 28px rgba(67,217,255,.08);
  backdrop-filter:blur(12px)
}
.intro-orbit-item svg{width:27px;height:27px;stroke:currentColor;fill:none;animation:classoraIntroCounterOrbit 15s linear infinite}
.intro-orbit-item:nth-child(1){left:50%;top:-27px;margin-left:-27px;color:#6fd5ff}
.intro-orbit-item:nth-child(2){right:-18px;top:20%;color:#7ee1b5}
.intro-orbit-item:nth-child(3){right:5%;bottom:3%;color:#c4a9ff}
.intro-orbit-item:nth-child(4){left:50%;bottom:-27px;margin-left:-27px;color:#ffd77a}
.intro-orbit-item:nth-child(5){left:5%;bottom:3%;color:#8fc7ff}
.intro-orbit-item:nth-child(6){left:-18px;top:20%;color:#9be3ce}
.classora-intro-mark{
  width:94px!important;height:94px!important;padding:0!important;border-radius:27px!important;margin:0 0 19px!important;
  background:#07121d!important;overflow:hidden;border:1px solid rgba(116,196,255,.20);
  box-shadow:0 22px 60px rgba(24,117,255,.30),0 0 45px rgba(127,73,255,.20)!important;
  animation:classoraIntroLogoFloat 3s ease-in-out infinite!important
}
.classora-intro-mark img{display:block;width:100%;height:100%;object-fit:cover}
.classora-intro-title{position:relative;z-index:2;font-size:clamp(52px,13vw,88px)!important;line-height:.98!important}
.classora-intro-rotator{position:relative;z-index:2;margin-top:15px!important;min-height:34px!important}
.classora-intro-word{display:block!important;min-width:0!important;font-size:clamp(16px,4.4vw,24px)!important}
.classora-intro-dots{position:relative;z-index:2;margin-top:18px!important}
@keyframes classoraIntroOrbit{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes classoraIntroCounterOrbit{from{transform:rotate(0)}to{transform:rotate(-360deg)}}
@keyframes classoraIntroLogoFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-7px) scale(1.035)}}
@media(max-width:760px){
  :root{--classora-mobile-gap:10px}
  body{min-width:0}
  .platform-lobby{
    inset:0!important;width:100%!important;height:100dvh!important;min-height:100dvh!important;
    padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right))
            max(14px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain
  }
  .lobby-shell{width:100%!important;max-width:none!important;margin:0!important;min-width:0}
  .lobby-topbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-bottom:14px!important;align-items:stretch!important}
  .lobby-brand{font-size:28px!important}
  .lobby-sub{font-size:12px!important}
  .lobby-top-actions{
    width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;justify-content:stretch!important
  }
  .lobby-top-actions .lobby-icon-btn,.lobby-top-actions .admin-panel-btn,.lobby-top-actions .lobby-profile-btn,.lobby-top-actions .lobby-logout-btn{
    width:100%!important;min-width:0!important;max-width:none!important;height:44px!important;min-height:44px!important;
    padding:0 7px!important;border-radius:12px!important;justify-content:center!important
  }
  .lobby-top-actions .lobby-icon-btn span:not(.classora-notify-badge),.lobby-top-actions .admin-panel-btn span{display:none!important}
  .lobby-profile-btn>span:not(.lobby-avatar){display:none!important}
  .lobby-avatar{width:31px!important;height:31px!important}
  .lobby-hero,.pythag-lobby-hero{grid-template-columns:1fr!important;padding:15px!important;border-radius:19px!important;gap:13px!important}
  .lobby-hero h2{font-size:clamp(28px,9vw,38px)!important}
  .lobby-hero p{font-size:13px!important;line-height:1.65!important}
  .lobby-ai-card{padding:13px!important;border-radius:16px!important}
  .lobby-ai-input{grid-template-columns:minmax(0,1fr) 44px!important}
  .lobby-section{margin-top:17px!important}
  .lobby-section-head{align-items:flex-start!important;gap:6px!important;flex-direction:column!important}
  .subject-grid,.pythag-action-grid,.lobby-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .subject-card,.pythag-action-card,.lobby-action{min-width:0!important;min-height:118px!important;padding:13px!important;border-radius:16px!important}
  .subject-card b,.pythag-action-card b,.lobby-action b{font-size:14px!important}
  .subject-card small,.pythag-action-card small,.lobby-action small{font-size:10.5px!important;line-height:1.45!important}
  .learning-hub{width:100%!important;max-width:100%!important}
  .hub-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hub-topic-card{min-height:190px!important;padding:14px!important}
  .hub-shared-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .modal{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .modal.open{display:flex!important}
  .modalbox,.profile-modalbox,.settings-modalbox,.exam-modalbox,.live-modalbox,.support-modalbox,.pythag-question-modalbox,.admin-panel-box{
    width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;
    margin:0!important;border-radius:0!important;padding:14px!important;padding-top:max(14px,env(safe-area-inset-top))!important;
    padding-bottom:max(14px,env(safe-area-inset-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important
  }
  .modalhead{top:0!important;margin:-14px -14px 12px!important;padding:12px 14px!important;background:rgba(7,16,27,.94)!important;backdrop-filter:blur(18px)}
  .modalhead h2{font-size:18px!important}
  .modalhead .close{width:44px!important;height:44px!important}
  .settings-grid,.admin-form-grid,.admin-control-grid,.cloud-home-grid,.live-home-grid,.competition-create-settings,.competition-builder-settings,.builder-top{
    grid-template-columns:1fr!important
  }
  .profile-stats,.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-hero,.settings-profile-row{align-items:flex-start!important}
  .profile-photo-wrap,.settings-avatar{width:68px!important;height:68px!important;flex:0 0 68px}
  .support-actions,.builder-actions,.live-host-controls{flex-wrap:wrap!important}
  .support-actions>*,.builder-actions>*,.live-host-controls>*{min-height:44px}
  .classora-chat-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  .chat-compose{grid-template-columns:minmax(0,1fr) 72px!important;padding:max(8px,env(safe-area-inset-bottom)) 8px 8px!important}
  .chat-compose button{min-width:0!important}
  .shell{
    display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-height:100dvh!important;
    gap:10px!important;padding:8px!important
  }
  .stage{width:100%!important;min-height:48dvh!important;height:48dvh!important;border-radius:20px!important}
  .side{width:100%!important;max-height:none!important;overflow:visible!important;border-radius:20px!important;padding:14px!important}
  .stagebar{top:9px!important;left:9px!important;right:9px!important;flex-wrap:wrap!important}
  .stagehint{left:9px!important;right:9px!important;bottom:9px!important}
  .inputs,.actions{grid-template-columns:1fr!important}
  input,textarea,select{font-size:16px!important}
  .auth-gate{width:100vw!important;height:100dvh!important;min-height:100dvh!important;padding:0!important;place-items:stretch!important;overflow:hidden!important}
  .auth-panel{
    width:100%!important;max-width:100%!important;min-height:100dvh!important;max-height:100dvh!important;
    border-radius:0!important;padding:74px 16px max(18px,env(safe-area-inset-bottom))!important;overflow-y:auto!important
  }
  .auth-language-switch{position:relative;z-index:2}
  .auth-role-grid{grid-template-columns:1fr!important}
  .auth-form-actions{flex-wrap:wrap!important}.auth-form-actions>*{min-height:44px}
  .classora-intro-core{min-height:100%!important;width:100%!important}
  .classora-intro-orbit{width:min(80vw,340px);height:min(80vw,340px)}
  .intro-orbit-item{width:46px;height:46px;border-radius:14px}.intro-orbit-item svg{width:23px;height:23px}
  .classora-intro-mark{width:82px!important;height:82px!important;border-radius:24px!important}
  .classora-intro-title{font-size:clamp(46px,17vw,70px)!important;letter-spacing:-2px!important}
}
@media(max-width:430px){
  .lobby-top-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .subject-grid,.pythag-action-grid,.lobby-action-grid,.hub-card-grid,.hub-shared-tools{grid-template-columns:1fr!important}
  .subject-card,.pythag-action-card,.lobby-action{min-height:96px!important}
  .hub-topic-card{min-height:155px!important}
  .classora-intro-orbit{width:min(82vw,315px);height:min(82vw,315px)}
  .intro-orbit-item{width:42px;height:42px}.intro-orbit-item svg{width:21px;height:21px}
}
@media(prefers-reduced-motion:reduce){
  .classora-intro-orbit,.intro-orbit-item svg,.classora-intro-mark{animation:none!important}
}

/* ================= CLASSORA V76 INSTALL + NOTIFICATION ONBOARDING ================= */
.auth-install-link{margin-top:8px;border-color:rgba(89,202,255,.16)!important;background:linear-gradient(135deg,rgba(24,137,238,.09),rgba(121,79,226,.07))!important;color:#cceeff!important}
.notification-onboarding-box{width:min(460px,92vw)!important;text-align:center!important;padding:28px!important;border-radius:24px!important}
.notification-onboarding-art{width:74px;height:74px;margin:0 auto 16px;border-radius:22px;display:grid;place-items:center;color:#8de8ff;background:linear-gradient(145deg,rgba(31,139,236,.18),rgba(121,78,226,.15));border:1px solid rgba(105,197,255,.18);box-shadow:0 16px 45px rgba(0,0,0,.22)}
.notification-onboarding-art svg{width:37px;height:37px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-onboarding-box h2{margin:0 0 8px;font-size:25px}
.notification-onboarding-box p{margin:0 auto 18px;max-width:380px;color:#94aabd;line-height:1.75;font-size:14px}
.notification-onboarding-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.notification-onboarding-actions button{min-height:48px;margin:0!important}
@media(max-width:760px){
  #notificationOnboardingModal{align-items:center!important;justify-content:center!important;padding:16px!important}
  #notificationOnboardingModal .notification-onboarding-box{width:min(92vw,420px)!important;height:auto!important;min-height:0!important;max-height:82dvh!important;border-radius:24px!important;padding:24px 18px max(20px,env(safe-area-inset-bottom))!important}
  .notification-onboarding-actions{grid-template-columns:1fr}
}

/* ================= CLASSORA V77 MOBILE CHAT + PAGE NAV ================= */
.classora-mobile-page-nav{display:none}
@media(max-width:760px){
  /* On phones, navigation replaces the little X close buttons. */
  body.classora-authenticated .modalhead .close{display:none!important}
  body.classora-authenticated .classora-mobile-page-nav{
    position:fixed;z-index:1000005;left:50%;bottom:max(10px,env(safe-area-inset-bottom));
    transform:translateX(-50%);width:min(330px,calc(100vw - 24px));
    display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:7px;
    border:1px solid rgba(135,202,255,.18);border-radius:18px;
    background:rgba(7,18,30,.92);box-shadow:0 16px 46px rgba(0,0,0,.42);
    backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
  }
  .classora-mobile-page-nav button{
    min-width:0;min-height:46px;border:1px solid rgba(255,255,255,.09);
    border-radius:13px;background:rgba(255,255,255,.045);color:#eef8ff;
    display:flex;align-items:center;justify-content:center;gap:8px;
    font-weight:900;font-size:13px;padding:8px 10px
  }
  .classora-mobile-page-nav button:last-child{background:linear-gradient(135deg,rgba(27,132,232,.18),rgba(122,77,229,.15))}
  .classora-mobile-page-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

  /* Keep normal phone pages above the navigation bar. */
  body.classora-authenticated .modalbox{padding-bottom:max(82px,calc(env(safe-area-inset-bottom) + 72px))!important}
  body.classora-authenticated .platform-lobby{padding-bottom:max(92px,calc(env(safe-area-inset-bottom) + 82px))!important}
  body.classora-authenticated .side{padding-bottom:88px!important}
  body.classora-authenticated .classora-subject-page{padding-bottom:72px!important}

  /* Chat stays compact instead of taking the whole phone screen. */
  #chatModal.open{
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:12px!important;background:rgba(2,8,14,.62)!important
  }
  #chatModal .classora-chat-box{
    width:min(94vw,480px)!important;max-width:min(94vw,480px)!important;
    height:min(76dvh,650px)!important;max-height:min(76dvh,650px)!important;min-height:0!important;
    margin:0!important;border-radius:22px!important;padding:14px!important;
    padding-bottom:14px!important;overflow:hidden!important;
    border:1px solid rgba(121,193,255,.15)!important;
    box-shadow:0 26px 80px rgba(0,0,0,.55)!important
  }
  #chatModal .modalhead{
    position:relative!important;top:auto!important;margin:0 0 8px!important;
    padding:2px 2px 10px!important;background:transparent!important;backdrop-filter:none!important
  }
  #chatModal .modalhead h2{font-size:18px!important}
  #chatModal .classora-chat-layout{height:auto!important;flex:1!important;min-height:0!important}
  #chatModal .chat-contacts-pane{max-height:none!important;height:100%!important}
  #chatModal .chat-thread-pane{min-height:0!important;height:100%!important}
  #chatModal .chat-search-wrap{padding-bottom:6px!important}
  #chatModal .chat-contact{padding:7px!important}
  #chatModal .chat-compose{padding:8px!important;padding-bottom:8px!important}

  /* Don't duplicate navigation inside the 3D lab on phones. */
  body.classora-authenticated .lab-mobile-nav{display:none!important}
}
@media(max-width:420px){
  #chatModal .classora-chat-box{
    width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;
    height:min(74dvh,600px)!important;max-height:min(74dvh,600px)!important;border-radius:20px!important
  }
}

/* ================= CLASSORA V78 TEACHER AUTH + GUEST + IPAD DESKTOP ================= */
.teacher-entry-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:4px 0 16px}
.teacher-entry-option{min-width:0;min-height:86px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.035);color:#eaf5ff;padding:11px;display:flex;align-items:center;gap:10px;text-align:start;cursor:pointer;transition:.18s}
.teacher-entry-option:hover,.teacher-entry-option.active{border-color:rgba(91,203,255,.42);background:linear-gradient(135deg,rgba(29,139,239,.13),rgba(124,81,230,.10));transform:translateY(-1px)}
.teacher-entry-option.google{border-color:rgba(255,255,255,.14)}
.teacher-entry-option>span:last-child{display:grid;gap:3px;min-width:0}.teacher-entry-option b{font-size:13px}.teacher-entry-option small{font-size:10px;line-height:1.4;color:#8fa7bb}
.teacher-entry-art{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:rgba(100,201,255,.10);color:#9de5ff}
.teacher-entry-art svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.teacher-google-mark{width:34px;height:34px;flex:0 0 34px;border-radius:11px;display:grid;place-items:center;background:#fff;color:#244c87;font-weight:1000;font-size:18px}
.teacher-entry-fields{display:grid;gap:7px;padding:14px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(255,255,255,.022)}
.teacher-entry-fields.hidden{display:none!important}.teacher-entry-fields label{font-size:12px;color:#a9bbca}.teacher-entry-fields .auth-primary{margin-top:4px}
.auth-guest-entry{width:100%;margin-top:11px;border:1px solid rgba(103,201,255,.14);border-radius:16px;background:linear-gradient(135deg,rgba(32,129,218,.07),rgba(104,72,200,.05));color:#dcecf7;padding:12px 14px;display:flex;align-items:center;gap:11px;text-align:start;cursor:pointer}
.auth-guest-entry:hover{border-color:rgba(103,201,255,.32);background:linear-gradient(135deg,rgba(32,129,218,.12),rgba(104,72,200,.09))}
.auth-guest-entry>span:last-child{display:grid;gap:3px}.auth-guest-entry b{font-size:13px}.auth-guest-entry small{font-size:10px;line-height:1.5;color:#8da4b6}
.auth-guest-icon{width:36px;height:36px;flex:0 0 36px;border-radius:12px;display:grid;place-items:center;background:rgba(91,207,255,.10);color:#9fe9ff}
.auth-guest-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.guest-login-reminder-box{width:min(470px,92vw)!important;height:auto!important;min-height:0!important;max-height:88dvh!important;border-radius:24px!important;text-align:center!important;padding:26px!important}
.guest-reminder-art{width:70px;height:70px;margin:0 auto 15px;border-radius:22px;display:grid;place-items:center;color:#8be4ff;background:linear-gradient(145deg,rgba(31,139,236,.17),rgba(121,78,226,.13));border:1px solid rgba(105,197,255,.18)}
.guest-reminder-art svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.guest-login-reminder-box h2{margin:0 0 8px;font-size:24px}.guest-login-reminder-box p{margin:0 auto 16px;max-width:390px;color:#9db0c0;line-height:1.75;font-size:13px}
.guest-reminder-never{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#9fb2c0;margin:12px 0 16px}.guest-reminder-never input{width:17px;height:17px}
.guest-reminder-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.guest-reminder-actions button{min-height:46px;margin:0!important}

/* iPad/tablets intentionally use the desktop composition instead of the phone UI. */
@media (min-width:700px) and (max-width:1366px) and (pointer:coarse){
  .classora-mobile-page-nav{display:none!important}
  .platform-lobby{width:100%!important;height:100dvh!important;min-height:100dvh!important;max-height:none!important;padding:18px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .lobby-shell{width:min(1500px,100%)!important;max-width:1500px!important;margin:0 auto!important}
  .lobby-topbar{display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:18px!important}
  .lobby-top-actions{width:auto!important;display:flex!important;grid-template-columns:none!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:7px!important}
  .lobby-top-actions .lobby-icon-btn,.lobby-top-actions .admin-panel-btn,.lobby-top-actions .lobby-profile-btn,.lobby-top-actions .lobby-logout-btn{width:auto!important;max-width:none!important;min-width:44px!important;height:auto!important;min-height:44px!important;padding:8px 10px!important}
  .lobby-top-actions .lobby-icon-btn span:not(.classora-notify-badge),.lobby-top-actions .admin-panel-btn span,.lobby-profile-btn>span:not(.lobby-avatar){display:inline!important}
  .lobby-hero,.pythag-lobby-hero{grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr)!important;padding:22px!important;gap:18px!important}
  .subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pythag-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.lobby-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .hub-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hub-hero{grid-template-columns:minmax(0,1fr) minmax(260px,.7fr)!important}.hub-hero-art{display:block!important;scale:1!important}
  .modal{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;padding:18px!important;align-items:center!important;justify-content:center!important}
  .modalbox,.profile-modalbox,.settings-modalbox,.exam-modalbox,.live-modalbox,.support-modalbox,.pythag-question-modalbox,.admin-panel-box{width:min(1040px,96vw)!important;max-width:96vw!important;height:auto!important;min-height:0!important;max-height:92dvh!important;margin:auto!important;border-radius:24px!important;padding:20px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .modalhead{position:sticky!important;top:0!important;margin:-6px -6px 14px!important;padding:10px 6px!important;background:rgba(7,16,27,.90)!important;border-radius:16px!important}
  .modalhead .close{display:grid!important;width:42px!important;height:42px!important}
  #chatModal.open{padding:18px!important;align-items:center!important;justify-content:center!important}
  #chatModal .classora-chat-box{width:min(1120px,96vw)!important;max-width:96vw!important;height:min(720px,88dvh)!important;max-height:88dvh!important;border-radius:24px!important;padding:16px!important}
  .settings-grid,.admin-form-grid,.admin-control-grid,.cloud-home-grid,.live-home-grid,.competition-create-settings,.competition-builder-settings,.builder-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .profile-stats,.admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .shell{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr)!important;gap:12px!important;padding:12px!important;min-height:100dvh!important}
  .stage{width:auto!important;height:auto!important;min-height:calc(100dvh - 24px)!important;border-radius:24px!important}.side{width:auto!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;border-radius:24px!important;padding:18px!important}
  .auth-gate{width:100vw!important;height:100dvh!important;min-height:100dvh!important;padding:18px!important;place-items:center!important;overflow:auto!important}
  .auth-panel{width:min(760px,94vw)!important;max-width:760px!important;min-height:0!important;height:auto!important;max-height:92dvh!important;border-radius:24px!important;padding:24px!important;overflow-y:auto!important}
  .auth-role-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:699px){
  .teacher-entry-options{grid-template-columns:1fr!important}.teacher-entry-option{min-height:62px}
  .guest-reminder-actions{grid-template-columns:1fr}
  #guestLoginReminderModal{align-items:center!important;justify-content:center!important;padding:14px!important}
  #guestLoginReminderModal .guest-login-reminder-box{width:min(92vw,440px)!important;height:auto!important;min-height:0!important;max-height:82dvh!important;border-radius:24px!important;padding:22px 18px!important}
}


/* V84: startup overlay must never trap the visitor. */
body.classora-intro-active{overflow:auto!important}
#classoraIntro{pointer-events:none!important;animation:classoraIntroEmergencyHide .01s linear 2.6s forwards!important}
@keyframes classoraIntroEmergencyHide{to{opacity:0;visibility:hidden;pointer-events:none}}


/* ================= CLASSORA V98 INTEGRATED CURRICULUM ================= */
.hub-curriculum-shelf{margin:18px 0 26px;padding:20px;border:1px solid rgba(132,205,255,.12);border-radius:26px;background:
 radial-gradient(circle at 8% 0,rgba(64,165,235,.12),transparent 34%),
 linear-gradient(145deg,rgba(12,31,47,.92),rgba(9,20,32,.92));box-shadow:0 22px 54px rgba(0,0,0,.18)}
.hub-curriculum-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:18px}.hub-curriculum-head h2{margin:6px 0 4px;font-size:clamp(23px,3vw,34px)}.hub-curriculum-head p{max-width:720px;margin:0}
.hub-grade-tabs{display:flex;gap:8px;flex-wrap:wrap}.hub-grade-button{width:54px;height:48px;border-radius:15px;border:1px solid rgba(160,213,255,.16);background:#122538;color:#bcd6e8;font:inherit;font-weight:1000;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.04);transition:.18s}.hub-grade-button:hover{transform:translateY(-2px);border-color:rgba(104,210,255,.45)}.hub-grade-button.active{color:#071723;background:linear-gradient(135deg,#9be2ff,#8cc7ff 55%,#b7a7ff);border-color:transparent;box-shadow:0 10px 28px rgba(87,188,255,.2)}
.hub-curriculum-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.hub-curriculum-subject{min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(255,255,255,.024);overflow:hidden;transition:transform .2s,border-color .2s,background .2s;position:relative}.hub-curriculum-subject:hover{transform:translateY(-3px);border-color:rgba(133,210,255,.24);background:rgba(76,159,217,.055)}
.hub-curriculum-subject:before{content:"";position:absolute;inset:auto -24px -48px auto;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,var(--subject-glow,#4fb7ff33),transparent 68%);pointer-events:none}.hub-curriculum-subject.math{--subject-glow:#4ca9ff55}.hub-curriculum-subject.science{--subject-glow:#4bd6ae55}.hub-curriculum-subject.arabic{--subject-glow:#a784ff55}.hub-curriculum-subject.english{--subject-glow:#ffb35a55}.hub-curriculum-subject.history{--subject-glow:#e8906655}.hub-curriculum-subject.geography{--subject-glow:#5fd3d055}
.hub-curriculum-subject-main{width:100%;display:flex;align-items:center;gap:13px;padding:16px 16px 12px;border:0;background:transparent;color:#edf7ff;text-align:start;cursor:pointer}.hub-curriculum-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:rgba(97,181,255,.09);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px rgba(255,255,255,.05)}.hub-curriculum-icon .classora-icon{width:28px;height:28px;margin:0}.hub-curriculum-subject.science .hub-curriculum-icon{background:rgba(66,214,164,.09);--icon-color:#78e1bd}.hub-curriculum-subject.arabic .hub-curriculum-icon{background:rgba(167,132,255,.09);--icon-color:#c6adff}.hub-curriculum-subject.english .hub-curriculum-icon{background:rgba(255,180,91,.09);--icon-color:#ffd397}.hub-curriculum-subject.history .hub-curriculum-icon{background:rgba(224,137,101,.09);--icon-color:#ffc2a7}.hub-curriculum-subject.geography .hub-curriculum-icon{background:rgba(88,212,208,.09);--icon-color:#8ce9e2}
.hub-curriculum-copy{min-width:0;display:flex;flex-direction:column}.hub-curriculum-copy small{font-size:9px;letter-spacing:1.4px;color:#77cfff;font-weight:900}.hub-curriculum-copy b{font-size:17px;margin:3px 0 2px}.hub-curriculum-copy em{font-size:11px;color:#8fa7b9;font-style:normal}.hub-curriculum-open{margin-inline-start:auto;font-size:22px;color:#7ed6ff;transition:transform .18s}.hub-curriculum-subject-main:hover .hub-curriculum-open{transform:translate(3px,-3px)}
.hub-curriculum-preview{display:flex;gap:6px;flex-wrap:wrap;padding:0 13px 14px}.hub-topic-chip{max-width:100%;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#a9c0d0;border-radius:999px;padding:7px 9px;font:inherit;font-size:10px;line-height:1.2;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-topic-chip:hover{background:rgba(87,180,255,.10);color:#eaf8ff;border-color:rgba(117,207,255,.22)}
.hub-track-badges{display:flex;gap:6px;flex-wrap:wrap;padding:0 13px 8px}.hub-track-badges span{padding:5px 8px;border-radius:999px;background:rgba(96,224,190,.07);border:1px solid rgba(96,224,190,.13);color:#8ce9ca;font-size:9px;font-weight:900}
.hub-topic-card.curriculum-topic{min-height:205px}.hub-topic-card.english .hub-card-icon{background:#ffbb6717;--icon-color:#ffd08f}.hub-topic-card.history .hub-card-icon{background:#e68c6817;--icon-color:#ffc0a6}.hub-topic-card.geography .hub-card-icon{background:#5dd5d117;--icon-color:#8ce9e3}.hub-topic-card.arabic .hub-card-icon{background:#9f80ff17;--icon-color:#c9b5ff}
.hub-topic-card.curriculum-topic:after{content:"3D";position:absolute;bottom:16px;inset-inline-end:17px;font-size:9px;font-weight:1000;letter-spacing:1px;color:#74d8ff;padding:4px 6px;border-radius:7px;border:1px solid rgba(92,205,255,.14);background:rgba(52,161,220,.06)}
@media(max-width:980px){.hub-curriculum-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hub-curriculum-shelf{padding:14px;border-radius:20px}.hub-curriculum-head{align-items:stretch}.hub-grade-tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.hub-grade-button{width:100%}.hub-curriculum-subjects{grid-template-columns:1fr}.hub-curriculum-subject-main{padding:14px 13px 10px}.hub-curriculum-preview{padding:0 11px 12px}.hub-topic-chip{font-size:9.5px}.hub-subject-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}.hub-subject-tabs::-webkit-scrollbar{display:none}.hub-subject-tabs button{white-space:nowrap;flex:0 0 auto}}


/* ================= CLASSORA V99 MOBILE SCIENCE PAGE FIX ================= */
.classora-case-dialog:has(.hub-dialog-body){
  width:min(980px,calc(100vw - 24px))!important;
  max-height:min(92dvh,900px)!important;
  overflow:hidden!important;
  padding:0!important;
}
.classora-case-dialog:has(.hub-dialog-body)>form{
  height:min(92dvh,900px);
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
}
.classora-case-dialog:has(.hub-dialog-body) h2{
  margin:0!important;
  padding:18px 20px 12px;
  background:rgba(12,31,45,.97);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.classora-case-dialog:has(.hub-dialog-body) .case-dialog-content{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:16px 20px 24px;
}
.classora-case-dialog:has(.hub-dialog-body) .case-dialog-actions{
  position:relative!important;
  z-index:3;
  margin:0!important;
  padding:10px 16px max(10px,env(safe-area-inset-bottom));
  background:rgba(10,27,39,.98);
  border-top:1px solid rgba(255,255,255,.08);
}
@media(max-width:700px){
 .classora-case-dialog:has(.hub-dialog-body){
   width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;
   margin:0!important;border:0!important;border-radius:0!important;
 }
 .classora-case-dialog:has(.hub-dialog-body)>form{height:100dvh!important}
 .classora-case-dialog:has(.hub-dialog-body) h2{padding:max(14px,env(safe-area-inset-top)) 14px 10px}
 .classora-case-dialog:has(.hub-dialog-body) .case-dialog-content{padding:12px 14px 22px}
 .classora-case-dialog:has(.hub-dialog-body) .case-dialog-actions{padding:9px 12px max(10px,env(safe-area-inset-bottom))}
}
