.whiteboard-page{width:100%!important;height:100dvh!important;margin:0!important;padding:5px!important;overflow:hidden!important;direction:rtl;color:#f3d394;background:radial-gradient(circle at 50% 10%,rgba(130,80,25,.22),transparent 42%),#090806!important}.whiteboard-page *{box-sizing:border-box}.whiteboard-reference-layout{width:100%!important;height:100%!important;display:grid!important;grid-template-columns:78px minmax(0,1fr) 245px!important;grid-template-rows:64px minmax(0,1fr) 52px!important;gap:5px!important;overflow:hidden!important}.whiteboard-reference-header{grid-column:1/-1!important;height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(220,160,72,.4)!important;border-radius:11px!important;background:#120f0b!important}.whiteboard-title-plaque{min-width:250px!important;padding:8px 25px!important;text-align:center!important;font-size:24px!important;font-weight:900!important;color:#efc674!important;border:1px solid #9f6a2d!important;border-radius:9px!important;background:#090806!important}.whiteboard-brand-flag{position:absolute!important;top:10px!important;left:12px!important;width:65px!important;height:45px!important;z-index:20!important;overflow:hidden!important}.whiteboard-brand-flag img{width:100%!important;height:100%!important;object-fit:contain!important}.whiteboard-tool-rail{grid-column:1!important;grid-row:2!important;width:78px!important;min-height:0!important;padding:4px!important;display:flex!important;flex-direction:column!important;gap:4px!important;overflow-y:auto!important;overflow-x:hidden!important;border:1px solid rgba(220,160,72,.38)!important;border-radius:10px!important;background:#100e0b!important}.whiteboard-tool-rail button{width:100%!important;min-height:38px!important;padding:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;color:#f1d092!important;border:1px solid rgba(220,160,72,.25)!important;border-radius:7px!important;background:rgba(255,255,255,.024)!important;font-size:10px!important}.whiteboard-tool-rail button.active,.whiteboard-tool-rail button:hover{color:#ffe3a2!important;border-color:rgba(232,174,83,.75)!important;background:rgba(194,126,39,.17)!important}.whiteboard-paper-stage{grid-column:2!important;grid-row:2!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:7px!important;overflow:hidden!important;border:2px solid #9c6428!important;border-radius:12px!important;background:repeating-linear-gradient(0deg,rgba(90,55,18,.035) 0 1px,transparent 1px 28px),linear-gradient(135deg,#ecd7ad,#d8b172)!important;box-shadow:inset 0 0 34px rgba(70,35,8,.22),0 10px 28px rgba(0,0,0,.35)!important}.whiteboard-paper-stage:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.1;background:radial-gradient(circle at 12% 15%,transparent 0 35px,#77501e 36px 37px,transparent 38px),radial-gradient(circle at 88% 88%,transparent 0 42px,#77501e 43px 44px,transparent 45px)}.whiteboard-canvas-stack,.whiteboard-canvas-viewport{position:relative!important;z-index:2!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border-radius:8px!important}.whiteboard-drawing-canvas,.whiteboard-canvas-stack canvas,.whiteboard-canvas-viewport canvas{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;touch-action:none!important}.whiteboard-students-panel{grid-column:3!important;grid-row:2!important;width:245px!important;min-width:0!important;min-height:0!important;height:100%!important;padding:7px!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:6px!important;overflow:hidden!important;border:1px solid rgba(220,160,72,.4)!important;border-radius:11px!important;background:linear-gradient(180deg,#1b1711,#090806)!important}.whiteboard-students-list{min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:4px!important;overflow-y:auto!important;overflow-x:hidden!important}.whiteboard-students-list>*{min-height:34px!important;border:1px solid rgba(226,169,83,.2)!important;border-radius:7px!important;background:rgba(255,255,255,.024)!important}.whiteboard-teacher-card{position:absolute!important;z-index:45!important;left:92px!important;bottom:60px!important;min-width:118px!important;max-width:170px!important;min-height:44px!important;padding:4px 7px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;overflow:hidden!important;color:#f3d397!important;border:1px solid rgba(214,151,62,.5)!important;border-radius:24px 9px 9px 24px!important;background:rgba(13,11,8,.88)!important;box-shadow:0 7px 18px rgba(0,0,0,.38)!important}.whiteboard-teacher-card img,.whiteboard-teacher-card .avatar,.whiteboard-teacher-card [class*=avatar]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:50%!important;object-fit:cover!important;border:1px solid rgba(229,174,90,.7)!important}.whiteboard-teacher-card strong,.whiteboard-teacher-card h3,.whiteboard-teacher-card p,.whiteboard-teacher-card span{margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;line-height:1.25!important}.whiteboard-reference-footer,.whiteboard-bottom-toolbar{grid-column:1/-1!important;grid-row:3!important;height:52px!important;min-width:0!important;min-height:0!important;padding:5px 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;border:1px solid rgba(220,160,72,.36)!important;border-radius:10px!important;background:#0c0a08!important}.whiteboard-bottom-toolbar button,.whiteboard-page-controls button,.whiteboard-view-controls button,.whiteboard-stroke-controls button,.whiteboard-shape-picker button{min-height:37px!important;flex:0 0 auto!important;color:#f2d091!important;border:1px solid rgba(223,165,77,.28)!important;border-radius:8px!important;background:rgba(255,255,255,.024)!important}.whiteboard-reference-layout{direction:ltr!important}.whiteboard-reference-header,.whiteboard-tool-rail,.whiteboard-paper-stage,.whiteboard-students-panel,.whiteboard-reference-footer,.whiteboard-bottom-toolbar{direction:rtl!important}@media(max-width:1100px)and (orientation:landscape){.whiteboard-page{padding:3px!important}.whiteboard-reference-layout{grid-template-columns:60px minmax(0,1fr) 202px!important;grid-template-rows:54px minmax(0,1fr) 44px!important;gap:3px!important}.whiteboard-reference-header{height:54px!important}.whiteboard-title-plaque{min-width:195px!important;min-height:40px!important;padding:5px 16px!important;font-size:16px!important}.whiteboard-brand-flag{top:7px!important;left:7px!important;width:52px!important;height:38px!important}.whiteboard-tool-rail{width:60px!important;padding:3px!important;gap:3px!important}.whiteboard-tool-rail button{min-height:32px!important;padding:3px!important;font-size:8px!important}.whiteboard-students-panel{width:202px!important;padding:5px!important;gap:4px!important;font-size:10px!important}.whiteboard-students-list>*{min-height:30px!important}.whiteboard-teacher-card{left:67px!important;bottom:49px!important;min-width:100px!important;max-width:140px!important;min-height:37px!important;padding:3px 5px!important;grid-template-columns:31px minmax(0,1fr)!important}.whiteboard-teacher-card img,.whiteboard-teacher-card .avatar,.whiteboard-teacher-card [class*=avatar]{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}.whiteboard-reference-footer,.whiteboard-bottom-toolbar{height:44px!important;padding:3px 5px!important}.whiteboard-bottom-toolbar button,.whiteboard-page-controls button,.whiteboard-view-controls button{min-height:32px!important;font-size:9px!important}}@media(max-width:900px)and (orientation:landscape){.whiteboard-page{padding:2px!important}.whiteboard-reference-layout{grid-template-columns:44px minmax(0,1fr) 142px!important;grid-template-rows:40px minmax(0,1fr) 37px!important;gap:2px!important}.whiteboard-reference-header{height:40px!important;padding:2px!important}.whiteboard-title-plaque{min-width:135px!important;max-width:45vw!important;min-height:31px!important;padding:3px 9px!important;font-size:11px!important}.whiteboard-brand-flag{top:4px!important;left:4px!important;width:38px!important;height:30px!important}.whiteboard-tool-rail{width:44px!important;padding:2px!important;gap:2px!important}.whiteboard-tool-rail button{min-height:27px!important;padding:2px!important;font-size:0!important}.whiteboard-tool-rail button svg{width:14px!important;height:14px!important}.whiteboard-paper-stage{padding:3px!important;border-radius:7px!important}.whiteboard-students-panel{width:142px!important;padding:3px!important;gap:3px!important;font-size:7px!important}.whiteboard-students-list{gap:2px!important}.whiteboard-students-list>*{min-height:25px!important}.whiteboard-teacher-card{left:48px!important;bottom:40px!important;min-width:73px!important;max-width:102px!important;min-height:27px!important;padding:2px 3px!important;grid-template-columns:23px minmax(0,1fr)!important;gap:2px!important}.whiteboard-teacher-card img,.whiteboard-teacher-card .avatar,.whiteboard-teacher-card [class*=avatar]{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}.whiteboard-teacher-card strong,.whiteboard-teacher-card h3,.whiteboard-teacher-card p,.whiteboard-teacher-card span{font-size:6px!important}.whiteboard-reference-footer,.whiteboard-bottom-toolbar{height:37px!important;padding:2px 3px!important;gap:2px!important}.whiteboard-bottom-toolbar button,.whiteboard-page-controls button,.whiteboard-view-controls button{min-height:28px!important;padding:2px 4px!important;font-size:7px!important}}@media(max-width:900px)and (orientation:portrait){.whiteboard-page:after{content:"لف الهاتف للوضع العرضي لتشغيل السبورة";position:fixed;top:0;right:0;bottom:0;left:0;z-index:999999;display:grid;place-items:center;padding:28px;text-align:center;font-size:18px;font-weight:900;color:#f0ce89;background:radial-gradient(circle at center,rgba(117,71,22,.28),transparent 55%),#080706}}.map-challenge-pro{width:100%!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:5px!important;display:grid!important;grid-template-columns:205px minmax(0,1fr) 250px!important;grid-template-rows:58px minmax(0,1fr)!important;gap:5px!important;overflow:hidden!important;direction:ltr!important;color:#f2d18f!important;background:radial-gradient(circle at 50% 15%,rgba(124,77,24,.18),transparent 42%),linear-gradient(180deg,#16120d,#070706)!important}.map-challenge-pro *{box-sizing:border-box!important}.map-game-topbar{grid-column:1/-1!important;grid-row:1!important;height:58px!important;min-width:0!important;padding:5px 10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;overflow:hidden!important;direction:rtl!important;border:1px solid rgba(218,160,72,.38)!important;border-radius:11px!important;background:linear-gradient(180deg,#1e1912,#0b0907)!important;box-shadow:0 8px 24px rgba(0,0,0,.35)!important}.map-player-profile,.map-game-counters,.map-lives{display:flex!important;align-items:center!important;gap:6px!important}.map-game-nav,.map-game-secondary-nav{grid-column:1!important;grid-row:2!important;width:205px!important;min-width:0!important;min-height:0!important;height:100%!important;padding:7px!important;display:flex!important;flex-direction:column!important;gap:4px!important;overflow-y:auto!important;overflow-x:hidden!important;direction:rtl!important;border:1px solid rgba(218,160,72,.4)!important;border-radius:11px!important;background:linear-gradient(180deg,#1c1812,#0a0907)!important;box-shadow:0 9px 26px rgba(0,0,0,.35)!important}.map-game-nav button,.map-game-secondary-nav button{width:100%!important;min-height:38px!important;padding:6px 8px!important;text-align:right!important;color:#f0d296!important;border:1px solid rgba(224,169,83,.23)!important;border-radius:7px!important;background:rgba(255,255,255,.024)!important}.map-game-nav button.active,.map-game-secondary-nav button.active{color:#ffe3a7!important;border-color:rgba(233,179,91,.72)!important;background:linear-gradient(90deg,rgba(185,118,34,.25),rgba(185,118,34,.05))!important}.map-game-main{grid-column:2!important;grid-row:2!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:5px!important;overflow:hidden!important;direction:rtl!important}.map-game-toolbar{min-width:0!important;min-height:40px!important;padding:4px 7px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;border:1px solid rgba(218,160,72,.33)!important;border-radius:9px!important;background:#0c0a08!important}.map-region-tabs,.map-view-tools,.map-drawing-tools{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important}.map-game-toolbar button,.map-view-tools button,.map-drawing-tools button,.map-region-tabs button{min-width:34px!important;min-height:31px!important;padding:4px 7px!important;flex:0 0 auto!important;color:#efd092!important;border:1px solid rgba(224,169,83,.23)!important;border-radius:7px!important;background:rgba(255,255,255,.024)!important}.map-game-canvas-shell{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border:2px solid rgba(183,119,40,.65)!important;border-radius:12px!important;background:radial-gradient(circle at center,rgba(54,88,72,.22),transparent 50%),#11201d!important;box-shadow:inset 0 0 30px rgba(0,0,0,.3),0 11px 30px rgba(0,0,0,.4)!important}.map-game-canvas-shell canvas,.map-game-canvas-shell svg,.map-game-canvas-shell .leaflet-container,.map-game-canvas-shell [class*=map-container]{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}.map-layer-dock{position:absolute!important;z-index:45!important;left:8px!important;right:8px!important;bottom:7px!important;min-width:0!important;min-height:42px!important;padding:5px 7px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;direction:rtl!important;border:1px solid rgba(224,169,83,.44)!important;border-radius:9px!important;background:rgba(9,8,7,.92)!important;box-shadow:0 8px 20px rgba(0,0,0,.45)!important}.map-layer-dock button{min-height:30px!important;padding:4px 8px!important;flex:0 0 auto!important;color:#efd091!important;border:1px solid rgba(224,169,83,.23)!important;border-radius:6px!important;background:rgba(255,255,255,.03)!important}.map-layer-dock button.active{color:#ffe1a1!important;border-color:rgba(235,181,91,.72)!important;background:rgba(188,120,35,.2)!important}.map-game-question-panel{grid-column:3!important;grid-row:2!important;width:250px!important;min-width:0!important;min-height:0!important;height:100%!important;padding:8px!important;display:flex!important;flex-direction:column!important;gap:7px!important;overflow-y:auto!important;overflow-x:hidden!important;direction:rtl!important;border:1px solid rgba(218,160,72,.4)!important;border-radius:11px!important;background:linear-gradient(180deg,#1b1711,#090806)!important;box-shadow:0 9px 26px rgba(0,0,0,.35)!important}.map-question-progress{min-height:7px!important;overflow:hidden!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important}.map-question-progress>*{height:100%!important;border-radius:999px!important}.map-question-copy{padding:10px 7px!important;text-align:center!important;border:1px solid rgba(224,169,83,.2)!important;border-radius:9px!important;background:rgba(255,255,255,.024)!important}.map-question-copy h2,.map-question-copy h3,.map-question-copy p{margin:4px 0!important}.map-question-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.map-question-stats>*{padding:7px 4px!important;text-align:center!important;border:1px solid rgba(224,169,83,.18)!important;border-radius:7px!important;background:rgba(255,255,255,.024)!important}.map-question-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.map-question-actions button,.map-start-button{min-height:40px!important;border:1px solid rgba(231,176,87,.52)!important;border-radius:8px!important;color:#171009!important;background:linear-gradient(180deg,#e8bb65,#b87627)!important;font-weight:900!important}.map-xp-reward{margin-top:auto!important;padding:8px!important;text-align:center!important;color:#9ee5a8!important;border:1px solid rgba(77,185,101,.27)!important;border-radius:9px!important;background:rgba(45,137,66,.1)!important}.map-game-loading,.map-game-message{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:60!important;display:grid!important;place-items:center!important;text-align:center!important;color:#f2d18f!important;background:rgba(7,7,6,.72)!important}@media(max-width:1100px)and (orientation:landscape){.map-challenge-pro{padding:3px!important;grid-template-columns:160px minmax(0,1fr) 200px!important;grid-template-rows:50px minmax(0,1fr)!important;gap:3px!important}.map-game-topbar{height:50px!important;padding:3px 7px!important;font-size:10px!important}.map-game-nav,.map-game-secondary-nav{width:160px!important;padding:5px!important;gap:3px!important}.map-game-nav button,.map-game-secondary-nav button{min-height:33px!important;padding:4px 6px!important;font-size:9px!important}.map-game-main{gap:3px!important}.map-game-toolbar{min-height:35px!important;padding:3px 5px!important}.map-game-toolbar button,.map-view-tools button,.map-drawing-tools button,.map-region-tabs button{min-width:30px!important;min-height:28px!important;padding:3px 5px!important;font-size:8px!important}.map-game-question-panel{width:200px!important;padding:6px!important;gap:5px!important;font-size:9px!important}.map-question-copy{padding:6px 4px!important}.map-question-actions button,.map-start-button{min-height:34px!important;font-size:9px!important}.map-layer-dock{left:5px!important;right:5px!important;bottom:5px!important;min-height:36px!important;padding:3px 5px!important}.map-layer-dock button{min-height:27px!important;padding:3px 6px!important;font-size:8px!important}}@media(max-width:900px)and (orientation:landscape){.map-challenge-pro{padding:2px!important;grid-template-columns:112px minmax(0,1fr) 158px!important;grid-template-rows:40px minmax(0,1fr)!important;gap:2px!important}.map-game-topbar{height:40px!important;padding:2px 4px!important;gap:3px!important;font-size:7px!important}.map-player-profile,.map-game-counters,.map-lives{gap:3px!important}.map-game-nav,.map-game-secondary-nav{width:112px!important;padding:3px!important;gap:2px!important}.map-game-nav button,.map-game-secondary-nav button{min-height:27px!important;padding:3px 4px!important;font-size:7px!important}.map-game-main{gap:2px!important}.map-game-toolbar{min-height:31px!important;padding:2px 3px!important;gap:2px!important}.map-region-tabs,.map-view-tools,.map-drawing-tools{gap:2px!important}.map-game-toolbar button,.map-view-tools button,.map-drawing-tools button,.map-region-tabs button{min-width:25px!important;min-height:24px!important;padding:2px 3px!important;font-size:6px!important}.map-game-canvas-shell{border-radius:7px!important}.map-game-question-panel{width:158px!important;padding:4px!important;gap:3px!important;font-size:7px!important}.map-question-copy{padding:4px 3px!important}.map-question-copy h2,.map-question-copy h3,.map-question-copy p{margin:2px 0!important}.map-question-stats{gap:3px!important}.map-question-stats>*{padding:4px 2px!important}.map-question-actions{gap:3px!important}.map-question-actions button,.map-start-button{min-height:29px!important;font-size:7px!important}.map-xp-reward{padding:4px!important}.map-layer-dock{left:3px!important;right:3px!important;bottom:3px!important;min-height:30px!important;padding:2px 3px!important;gap:2px!important}.map-layer-dock button{min-height:23px!important;padding:2px 4px!important;font-size:6px!important}}@media(max-width:900px)and (orientation:portrait){.map-challenge-pro:after{content:"لف الهاتف للوضع العرضي لتشغيل تحدي الخرائط";position:fixed;top:0;right:0;bottom:0;left:0;z-index:999999;display:grid;place-items:center;padding:28px;text-align:center;font-size:18px;font-weight:900;color:#f0ce89;background:radial-gradient(circle at center,rgba(117,71,22,.28),transparent 55%),#080706}.map-challenge-pro>*{visibility:hidden!important}}:root{font-family:Tahoma,Arial,sans-serif;color:#152033;background:#f3f5f8;--gold:#d7ad35;--gold-dark:#a87712;--dark:#0b0d12;--nav:#131925;--panel:#ffffff;--line:#e4e8ef;--muted:#748095}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:#f3f5f8}button,input{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}.app-shell.lesson-mode-shell{display:block;min-height:100vh;min-height:100dvh}.sidebar{background:linear-gradient(180deg,#090c12,#171f2e);color:#fff;padding:20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:50}.brand-panel{display:flex;align-items:center;gap:12px;padding:8px 4px 20px;border-bottom:1px solid #ffffff14}.brand-mark{width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,var(--gold),#8c6109);display:grid;place-items:center;font-size:28px;font-weight:900;color:#111}.brand-panel h1{margin:0;color:#f1d77a}.brand-panel p{margin:3px 0 0;color:#c7cfda}.drawer-close{display:none}.sidebar nav{display:grid;gap:5px;margin-top:20px}.sidebar nav button{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#e7ecf3;padding:12px 13px;border-radius:12px;text-align:right}.sidebar nav button:hover,.sidebar nav button.active{background:linear-gradient(90deg,#b88417,#dfbd50);color:#121212}.sidebar-footer{margin-top:auto;padding:14px;border-radius:14px;background:rgba(255,255,255,.03);display:grid;gap:4px}.sidebar-footer span{font-size:11px;color:#aeb9c8}.mobile-header{display:none}.app-content{padding:24px;min-width:0}.page{max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.page-heading h2{margin:4px 0 6px;font-size:30px}.page-heading p{margin:0;color:var(--muted)}.eyebrow{color:#a87712;font-weight:800;font-size:12px}.date-chip{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:#657084}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;gap:13px;align-items:center;box-shadow:0 8px 24px rgba(0,0,0,.04)}.stat-icon{width:50px;height:50px;border-radius:15px;background:#111827;display:grid;place-items:center;font-size:24px}.stat-card span,.stat-card small{display:block;color:var(--muted);font-size:12px}.stat-card strong{display:block;font-size:27px;margin:2px 0}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;box-shadow:0 8px 24px rgba(0,0,0,.04)}.current-session{background:radial-gradient(circle at top right,#d7ad3525,transparent 35%),linear-gradient(145deg,#101723,#24334a);color:#fff}.current-session h3{font-size:25px;margin:10px 0 6px}.current-session p{color:#c7d0db}.live-badge{color:#f2cf62;font-size:12px}.quick-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:18px}.quick-actions button,.primary-btn{border:0;border-radius:11px;padding:11px 13px;background:linear-gradient(145deg,#dfbd50,#a87712);font-weight:800;color:#17120a}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.panel-title h3{margin:0}.panel-title button,.text-btn{border:0;background:transparent;color:#a87712;font-weight:700}.student-list{display:grid;gap:9px}.student-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid #edf0f4;border-radius:12px}.student-row strong,.student-row small{display:block}.student-row small{color:var(--muted);margin-top:3px}.student-code{width:34px;height:34px;border-radius:10px;background:#111827;color:#f2cf62;display:inline-grid;place-items:center;font-weight:900}.status-pill{background:#f0f3f7;color:#667083;border-radius:20px;padding:6px 9px;font-size:11px}.search-input{width:100%;padding:12px;border:1px solid var(--line);border-radius:11px;margin-bottom:12px}.responsive-table{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px;border-bottom:1px solid #edf0f4;text-align:right;white-space:nowrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-grid input{padding:11px;border:1px solid var(--line);border-radius:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:18px;z-index:100}.modal-card{background:#fff;border-radius:19px;padding:20px;width:min(650px,100%)}.modal-card h3{margin-top:0}.modal-actions{display:flex;gap:9px;margin-top:15px}.secondary-btn{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 14px}.attendance-list{display:grid;gap:9px}.attendance-row{display:grid;grid-template-columns:auto minmax(170px,1fr) auto;gap:10px;align-items:center;border:1px solid #edf0f4;border-radius:13px;padding:12px}.attendance-name strong,.attendance-name small{display:block}.attendance-name small{color:var(--muted)}.attendance-actions{display:flex;gap:6px;flex-wrap:wrap}.attendance-actions button{border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}.present-btn.selected{background:#daf6e7;color:#087845;border-color:#7dd8ab}.late-btn.selected{background:#fff3d1;color:#8e6500;border-color:#edca6e}.absent-btn.selected{background:#ffe3e3;color:#a22828;border-color:#ef9999}.whatsapp-btn{background:#e4f8eb!important;color:#087845!important}.empty-state,.empty-module{text-align:center;color:var(--muted);padding:35px}.empty-module>div{font-size:48px}.danger-btn{background:#ffe7e7;color:#a22323;border:0;border-radius:10px;padding:11px 14px}.loading-screen{min-height:100vh;background:radial-gradient(circle at top,#26334a,#090c12 58%);color:#fff;display:grid;place-content:center;text-align:center}.loading-mark{width:100px;height:100px;border-radius:30px;background:linear-gradient(145deg,var(--gold),#8c6109);display:grid;place-items:center;margin:auto;font-size:50px;font-weight:900;color:#111}.loading-screen h1{color:#f1d77a}.drawer-overlay{display:none}@media(max-width:1100px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding:15px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.app-shell{display:block}.mobile-header{display:flex;position:sticky;top:0;z-index:40;background:#0d111a;color:#fff;align-items:center;gap:12px;padding:10px 13px}.mobile-header>button{width:42px;height:42px;border-radius:11px;border:1px solid #ffffff1f;background:rgba(255,255,255,.043);color:#fff}.mobile-header>div{display:grid}.mobile-header span{font-size:10px;color:#bac4d1}.sidebar{position:fixed;right:0;top:0;width:min(86vw,330px);height:100vh;transform:translate(105%);transition:.25s;box-shadow:-20px 0 50px rgba(0,0,0,.533)}.sidebar.open{transform:translate(0)}.drawer-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:rgba(0,0,0,.6);z-index:45}.drawer-close{display:block;margin-right:auto;border:0;background:transparent;color:#fff}.app-content{padding:13px}.page-heading{flex-direction:column}.page-heading h2{font-size:24px}.dashboard-grid{grid-template-columns:1fr}.attendance-row{grid-template-columns:auto 1fr}.attendance-actions{grid-column:1/-1}}@media(max-width:560px){.stats-grid,.form-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}}.cards-list{display:grid;gap:12px}.session-item{display:flex;justify-content:space-between;align-items:center;gap:12px}.session-item h3{margin:5px 0}.session-item p{margin:0;color:var(--muted)}.current-item{border-color:#d7ad35;box-shadow:0 0 0 2px rgba(215,173,53,.133)}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.stats-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.form-stack{display:grid;gap:10px}.form-stack select,.form-stack textarea,.form-grid select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.game-start{display:grid;gap:12px}.game-start select{padding:11px;border:1px solid var(--line);border-radius:10px}.game-board{text-align:center}.game-progress-text{color:var(--muted);font-size:13px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.answer-grid button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:15px;font-weight:700}.answer-grid button.correct-answer{background:#dff6e9;border-color:#78d2a5;color:#087845}@media(max-width:800px){.session-item{align-items:flex-start;flex-direction:column}.stats-grid.compact,.answer-grid{grid-template-columns:1fr}}.class-mode-page{max-width:1600px}.class-mode-header{background:radial-gradient(circle at top right,#d7ad3530,transparent 35%),linear-gradient(145deg,#0c121d,#253750);color:#fff;border-radius:20px;padding:18px;display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:13px}.class-mode-header h2{margin:7px 0}.class-mode-header p{margin:0;color:#cbd5e1}.class-students-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.class-student-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px;box-shadow:0 8px 22px rgba(0,0,0,.04)}.class-student-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.class-student-card header strong,.class-student-card header small{display:block}.class-student-card header small{color:var(--muted);margin-top:3px}.class-attendance-actions,.voice-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px}.class-attendance-actions button,.voice-shortcuts button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 5px}.voice-shortcuts button{background:#111827;color:#fff;border-color:#253349;font-size:12px}.spoken-banner{background:#fff6d8;color:#775504;border:1px solid #ecd070;border-radius:13px;padding:11px;margin-bottom:12px;text-align:center;font-weight:700}.excused-btn.selected{background:#e8e9ff;color:#5042a4;border-color:#a9a1ef}.class-status.present{background:#dff6e9;color:#087845}.class-status.absent{background:#ffe3e3;color:#a22828}.class-status.late{background:#fff2ca;color:#8a6500}.class-status.excused{background:#ececff;color:#5145a2}.student-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.print-student-card{position:relative;min-height:220px;border-radius:18px;padding:18px;color:#fff;background:radial-gradient(circle at top right,#d7ad3540,transparent 36%),linear-gradient(145deg,#090d14,#202d42);border:2px solid #c99b2d;display:grid;grid-template-columns:1fr auto;gap:12px;overflow:hidden}.card-brand{grid-column:1/-1;display:flex;justify-content:space-between;color:#f0d478}.card-brand span{color:#cbd5e1}.card-info h3{font-size:23px;margin:8px 0}.card-info p{margin:5px 0;color:#d6dde7}.short-code{margin-top:12px;background:rgba(255,255,255,.07);border-radius:10px;padding:8px}.short-code b{font-size:22px;color:#f0d478}.card-qr{background:#fff;padding:6px;border-radius:12px;align-self:center}.print-student-card footer{grid-column:1/-1;border-top:1px solid #ffffff1c;padding-top:9px;color:#f0d478;text-align:center}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef0f4}.setting-row input[type=checkbox]{width:20px;height:20px}.setting-row input[type=range]{width:160px}.setting-row input:not([type=checkbox]):not([type=range]){max-width:180px;padding:9px;border:1px solid var(--line);border-radius:9px}.settings-divider{height:1px;background:#eef0f4;margin:10px 0}.lock-screen{min-height:100vh;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at top,#26334a,#090c12 58%)}.lock-card{width:min(390px,100%);background:#fff;border-radius:22px;padding:25px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.467)}.lock-card h1{margin-bottom:4px}.lock-card p{color:var(--muted)}.lock-card input{width:100%;font-size:24px;letter-spacing:8px;text-align:center;padding:12px;border:1px solid var(--line);border-radius:11px;margin:10px 0}.lock-card .primary-btn{width:100%}.lock-card small{display:block;color:var(--muted);margin-top:12px}.lock-error{display:block;color:#b42323;margin-bottom:8px}.messages-layout{display:grid;grid-template-columns:1fr 1fr;gap:13px}.notification-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eef0f4}.notification-row strong,.notification-row small{display:block}.notification-row small{color:var(--muted);margin-top:3px}.notification-status{font-size:11px;border-radius:20px;padding:5px 8px}.notification-status.ready{background:#fff2ca;color:#805c00}.notification-status.sent{background:#dff6e9;color:#087845}.bulk-panel{margin-top:13px}.bulk-students{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.bulk-students label{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:9px}.bulk-students input{grid-row:1/3}.bulk-students small{color:var(--muted)}.permission-check{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:10px}.permission-check input{width:18px;height:18px}@media(max-width:900px){.class-students-grid,.student-cards-grid,.settings-grid,.messages-layout{grid-template-columns:1fr}.bulk-students{grid-template-columns:1fr 1fr}}@media(max-width:560px){.class-attendance-actions,.voice-shortcuts{grid-template-columns:1fr 1fr}.bulk-students{grid-template-columns:1fr}.class-mode-header{align-items:flex-start;flex-direction:column}}.scanner-summary-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:13px;margin-bottom:13px}.selected-student{display:flex;align-items:center;gap:13px}.large-code{width:58px;height:58px;font-size:24px}.manual-code{display:flex;gap:8px}.manual-code input{flex:1;padding:11px;border:1px solid var(--line);border-radius:10px}.result-live-card{display:grid;place-content:center;text-align:center;background:linear-gradient(145deg,#101723,#26364a);color:#fff}.result-live-card strong{font-size:34px}.low-percentage{color:#ff9f9f}.good-percentage{color:#8ce0b7}.exam-picker-panel{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin-bottom:13px}.exam-picker-panel select{padding:11px;border:1px solid var(--line);border-radius:10px}.question-marking-list{display:grid;gap:11px}.marking-question header{display:grid;grid-template-columns:auto 1fr auto;gap:11px}.question-number{width:35px;height:35px;border-radius:10px;background:#111827;color:#f0d478;display:grid;place-items:center}.question-max{white-space:nowrap}.marking-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.marking-options button{padding:10px;border:1px solid var(--line);background:#fff;border-radius:10px}.marking-options .active.correct{background:#dff6e9;color:#087845}.marking-options .active.partial{background:#fff2ca;color:#805c00}.marking-options .active.wrong{background:#ffe3e3;color:#a22828}.marking-options .active.blank{background:#eceff4;color:#536176}.save-result-bar{position:sticky;bottom:8px;background:#111827;color:#fff;padding:13px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;margin-top:13px}.success-result-banner{margin-top:12px;padding:13px;background:#dff6e9;color:#087845;border-radius:13px}.result-details-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:13px}.result-question-row{display:grid;grid-template-columns:auto 1fr auto;gap:9px;padding:11px 0;border-bottom:1px solid #edf0f4}.result-question-row small{display:block;color:var(--muted)}.weak-topic-row{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #edf0f4}@media(max-width:800px){.scanner-summary-grid,.result-details-layout{grid-template-columns:1fr}.marking-options{grid-template-columns:1fr 1fr}.exam-picker-panel{grid-template-columns:1fr}}.game-control-panel{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.game-control-panel select{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.professional-games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.pro-game-card{border:0;text-align:right;border-radius:18px;padding:18px;min-height:165px;color:#fff;background:linear-gradient(145deg,#111827,#26364a);box-shadow:0 10px 25px rgba(0,0,0,.133)}.pro-game-card:nth-child(2){background:linear-gradient(145deg,#7c2d12,#ea580c)}.pro-game-card:nth-child(3){background:linear-gradient(145deg,#166534,#22c55e)}.pro-game-card:nth-child(4){background:linear-gradient(145deg,#581c87,#9333ea)}.pro-game-card:nth-child(5){background:linear-gradient(145deg,#1e3a8a,#2563eb)}.pro-game-card:nth-child(6){background:linear-gradient(145deg,#831843,#db2777)}.pro-game-card>span{font-size:34px}.pro-game-card h3{font-size:20px;margin:10px 0 6px}.pro-game-card p{margin:0;color:#eef2f7;line-height:1.7}.question-bank-summary{margin-top:14px;display:flex;justify-content:space-between;gap:10px}.question-bank-summary span{color:var(--muted)}.game-stage-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.game-stage-header>div{display:grid;text-align:center}.game-stage-header span{color:var(--muted);font-size:12px}.game-stage-header strong{font-size:23px}.combo-badge{background:#fff3cc;color:#805c00;border-radius:20px;padding:8px 12px}.professional-game-board{text-align:center;max-width:950px;margin:auto}.professional-game-board h2{font-size:26px;line-height:1.7;margin:18px 0}.pro-answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pro-answer-grid button,.tf-buttons button{padding:15px;border:1px solid var(--line);background:#fff;border-radius:12px;font-weight:700}.pro-answer-grid button.correct{background:#dff6e9;border-color:#72d1a2;color:#087845}.tf-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tf-buttons button:first-child{background:#e8f8ee;color:#087845}.tf-buttons button:last-child{background:#ffeaea;color:#a22828}.game-feedback{margin-top:14px;padding:12px;border-radius:11px;font-weight:700}.game-feedback.good{background:#dff6e9;color:#087845}.game-feedback.bad{background:#ffe7e7;color:#a22828}.next-game-btn{margin-top:12px}.active-player-banner{background:#fff3cc;color:#805c00;border-radius:12px;padding:10px;margin-bottom:12px}.character-panel{display:grid;gap:10px}.clues{display:grid;gap:8px}.clues span{background:#f4f6f9;border-radius:10px;padding:10px}.character-panel input{padding:12px;border:1px solid var(--line);border-radius:10px}.timeline-panel{display:grid;gap:8px}.timeline-event{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;background:#f7f8fa;border:1px solid var(--line);border-radius:11px;padding:10px;text-align:right}.timeline-event>span{width:30px;height:30px;border-radius:9px;background:#111827;color:#f0d478;display:grid;place-items:center}.timeline-event button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:5px 9px}.game-result-screen{text-align:center;max-width:650px;margin:50px auto}.game-result-icon{font-size:75px}.game-result-screen h2{font-size:32px}.game-result-screen p{font-size:21px}.professional-game-board button:disabled{opacity:.75}.professional-game-board button:not(:disabled):active,.pro-game-card:active{transform:scale(.98)}@media(max-width:900px){.game-control-panel,.professional-games-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.game-control-panel,.professional-games-grid,.pro-answer-grid,.tf-buttons{grid-template-columns:1fr}.question-bank-summary{flex-direction:column}.professional-game-board h2{font-size:21px}}.portal-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.portal-toolbar select{min-width:240px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.portal-role-tabs{display:flex;gap:8px}.portal-role-tabs button{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;padding:10px 13px;border-radius:10px}.portal-role-tabs button.active{background:#111827;color:#fff;border-color:#111827}.portal-preview-shell{max-width:900px;margin:auto;background:#f5f7fa;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.067)}.portal-preview-shell>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:linear-gradient(145deg,#101723,#283950);color:#fff;padding:18px}.portal-preview-shell header strong,.portal-preview-shell header span{display:block}.portal-preview-shell header span{color:#cbd5e1;margin-top:4px}.portal-avatar{width:54px;height:54px;border-radius:16px;background:#d7ad35;color:#111;display:grid;place-items:center;font-weight:900;font-size:24px}.portal-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.portal-cards article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px}.portal-cards article span,.portal-cards article strong,.portal-cards article small{display:block}.portal-cards article span,.portal-cards article small{color:var(--muted)}.portal-cards article strong{font-size:26px;margin:7px 0}.portal-messages{margin:0 16px 16px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px}.portal-messages h4{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:15px}.portal-message-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eef0f4}.portal-message-row:last-child{border-bottom:none}.portal-message-row strong{display:block;font-size:14px}.portal-message-row small{display:block;color:var(--muted);margin-top:2px}.portal-private-note{margin:0 16px 16px;background:#fff4d8;color:#775504;border-radius:12px;padding:11px;text-align:center}.settings-notice{background:#eef7ff;color:#164c77;border:1px solid #b9dcf6;border-radius:11px;padding:10px 12px;margin-bottom:12px}.settings-help{color:var(--muted);line-height:1.7}.backup-actions{display:flex;gap:8px;flex-wrap:wrap}.setting-row select{padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff}@media(max-width:600px){.portal-toolbar{align-items:stretch;flex-direction:column}.portal-toolbar select{min-width:0;width:100%}.portal-role-tabs button{flex:1}.portal-cards{grid-template-columns:1fr}}.diagnostics-run{display:flex;align-items:center;gap:7px}.diagnostics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.diagnostic-card{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start}.diagnostic-card strong,.diagnostic-card span,.diagnostic-card small{display:block}.diagnostic-card span{font-weight:800;margin:4px 0}.diagnostic-card small{color:var(--muted);line-height:1.6}.diagnostic-card.ok{border-color:#77cfa2}.diagnostic-card.ok>svg,.diagnostic-card.ok span{color:#087845}.diagnostic-card.fail{border-color:#ef9999}.diagnostic-card.fail>svg,.diagnostic-card.fail span{color:#a22828}.diagnostic-card.pending>svg,.diagnostic-card.pending span{color:#805c00}.diagnostic-actions{margin-top:13px}.diagnostic-actions p{color:var(--muted);line-height:1.7}.cloud-settings{display:grid;gap:10px}.cloud-settings>label{display:grid;gap:5px}.cloud-settings>label span{font-size:12px;color:var(--muted)}.cloud-settings>label input{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px}.sync-times{display:block;color:var(--muted);line-height:1.8;margin-top:4px}@media(max-width:700px){.diagnostics-grid{grid-template-columns:1fr}}:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--gold-soft:#f2d477;--ink:#111826}html{scroll-behavior:smooth}body{overscroll-behavior-y:none}.app-shell{min-height:100dvh}.sidebar{padding:calc(16px + var(--safe-top)) 14px calc(14px + var(--safe-bottom));overflow:hidden}.sidebar-top{flex:0 0 auto}.brand-panel{padding:4px 4px 16px;position:relative}.brand-avatar{position:relative;width:58px;height:58px;border-radius:19px;background:radial-gradient(circle at 30% 20%,#f8de81,#be8615 68%,#765006);display:grid;place-items:center;color:#111;font-size:29px;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.333),inset 0 1px rgba(255,255,255,.533)}.brand-avatar i{position:absolute;left:-4px;bottom:-4px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#a3700f;border:2px solid #151b27}.brand-panel h1{font-size:23px}.brand-panel p{font-weight:800}.brand-panel small{display:block;color:#8996a9;font-size:10px;margin-top:4px}.session-mini-card{width:100%;border:1px solid #ffffff15;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.024));color:#fff;border-radius:15px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;text-align:right;margin-top:12px}.session-mini-card:hover{border-color:rgba(215,173,53,.4);background:rgba(215,173,53,.07)}.session-mini-card>span:nth-child(2){display:grid;gap:2px}.session-mini-card small{color:#9aa6b8}.session-mini-card strong{font-size:12px}.session-mini-icon{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#d9b54e,#8e6210);color:#111;display:grid;place-items:center}.sidebar-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:13px 2px 18px;margin:10px -2px 0!important;scrollbar-width:thin;scrollbar-color:#d7ad3544 transparent}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-thumb{background:rgba(215,173,53,.267);border-radius:8px}.sidebar nav button{display:grid;grid-template-columns:auto 1fr auto;gap:10px;padding:9px 10px;min-height:54px}.nav-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.04);color:#bec8d6}.nav-copy{display:grid;gap:2px}.nav-copy strong{font-size:12px}.nav-copy small{font-size:9px;color:#78869b}.nav-arrow{opacity:0;color:#111}.sidebar nav button:hover,.sidebar nav button.active{background:linear-gradient(100deg,#dfbd50,#b78317);box-shadow:0 8px 20px rgba(0,0,0,.133)}.sidebar nav button.active .nav-icon,.sidebar nav button:hover .nav-icon{background:#111827;color:#f1d77a}.sidebar nav button.active .nav-copy small,.sidebar nav button:hover .nav-copy small{color:#4d3b12}.sidebar nav button.active .nav-arrow{opacity:1}.sidebar-footer{flex:0 0 auto;margin-top:0;padding:10px 11px;background:rgba(255,255,255,.03)}.sidebar-footer>div{display:flex;gap:8px;align-items:center}.sidebar-footer>div span{display:grid}.sidebar-footer strong{font-size:10px}.sidebar-footer small{font-size:8px;color:#8996a9}.sidebar-footer>b{font-size:9px;color:#d6b958;margin-top:5px}.app-content{padding:max(24px,var(--safe-top)) max(24px,var(--safe-right)) calc(24px + var(--safe-bottom)) max(24px,var(--safe-left))}.dashboard-page{padding-bottom:12px}.dashboard-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.35fr .65fr;gap:22px;align-items:center;min-height:290px;border-radius:26px;padding:30px;background:radial-gradient(circle at 82% 0%,#d7ad3540,transparent 30%),radial-gradient(circle at 5% 100%,#4b638140,transparent 35%),linear-gradient(135deg,#080b11,#172235 65%,#253853);color:#fff;box-shadow:0 22px 55px rgba(23,34,53,.145)}.dashboard-hero:after{content:"م";position:absolute;left:4%;bottom:-42%;font-size:330px;line-height:1;color:#fff03;font-weight:900;pointer-events:none}.hero-copy,.hero-session-card{position:relative;z-index:1}.hero-kicker{display:inline-flex;align-items:center;gap:6px;border:1px solid #f1d77a55;background:rgba(241,215,122,.07);color:#f4dc83;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.hero-copy h2{font-size:33px;line-height:1.45;margin:14px 0 8px;max-width:700px}.hero-copy p{color:#c9d2df;line-height:1.8;margin:0;max-width:650px}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.hero-actions button{display:flex;align-items:center;gap:7px;border-radius:12px;padding:11px 16px;font-weight:800}.hero-primary{border:0;background:linear-gradient(135deg,#f0d16a,#bd8619);color:#14100a}.hero-secondary{border:1px solid #ffffff2d;background:rgba(255,255,255,.043);color:#fff}.hero-session-card{border:1px solid #ffffff20;background:rgba(255,255,255,.05);backdrop-filter:blur(12px);border-radius:20px;padding:20px;box-shadow:inset 0 1px rgba(255,255,255,.067)}.hero-session-card h3{font-size:22px;margin:12px 0 6px}.hero-session-card p{color:#c5ceda;line-height:1.7}.hero-session-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:17px}.hero-session-metrics div{background:rgba(7,16,28,.467);border:1px solid #ffffff10;border-radius:12px;padding:10px;text-align:center}.hero-session-metrics strong,.hero-session-metrics span{display:block}.hero-session-metrics strong{font-size:20px;color:#f1d77a}.hero-session-metrics span{font-size:9px;color:#aeb9c8;margin-top:2px}.dashboard-summary-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.dashboard-summary-strip>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;display:flex;align-items:center;gap:10px;box-shadow:0 7px 20px rgba(0,0,0,.03)}.dashboard-summary-strip svg{color:#a97813}.dashboard-summary-strip span{display:grid}.dashboard-summary-strip small{color:var(--muted);font-size:9px}.dashboard-summary-strip strong{font-size:17px;margin-top:2px}.dashboard-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:22px 0 11px}.dashboard-section-heading h3{margin:3px 0 0;font-size:22px}.dashboard-section-heading>small{color:var(--muted)}.dashboard-actions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dashboard-action{border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:right;box-shadow:0 8px 20px rgba(0,0,0,.03);transition:.2s}.dashboard-action:hover{transform:translateY(-2px);border-color:rgba(215,173,53,.467)}.dashboard-action>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#111827;color:#f0d478}.dashboard-action div{display:grid;gap:3px}.dashboard-action strong{font-size:13px}.dashboard-action small{font-size:9px;color:var(--muted)}.dashboard-action>svg{color:#8994a5}.dashboard-action.gold{background:linear-gradient(135deg,#f3d773,#bd8619);border-color:#b37d15}.dashboard-action.gold>span{background:#111827}.dashboard-action.gold small{color:#5b4211}.dashboard-content-grid{display:grid;grid-template-columns:1.25fr .8fr .8fr;gap:12px;margin-top:14px}.premium-panel{border-radius:18px}.panel-title>div h3{margin:3px 0 0}.dashboard-student-list{display:grid;gap:7px}.dashboard-student-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;border:1px solid #edf0f4;background:#fafbfc;border-radius:12px;padding:9px;text-align:right}.dashboard-student-row>span:nth-child(2){display:grid;gap:3px}.dashboard-student-row small{color:var(--muted);font-size:9px}.attendance-dot{border-radius:999px;padding:5px 8px;font-size:9px;background:#eef1f5;color:#667286}.attendance-dot.present{background:#dff6e9;color:#087845}.attendance-dot.late{background:#fff2ca;color:#805c00}.attendance-dot.absent{background:#ffe3e3;color:#a22828}.ranking-list{display:grid;gap:8px}.ranking-row{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:9px;border-radius:12px;background:#f8f9fb}.rank-number{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#e8ebf0;font-weight:900}.rank-1{background:#f6d761;color:#6d4e00}.rank-2{background:#dfe3e9;color:#4d5969}.rank-3{background:#edc29a;color:#7f4614}.ranking-row>div{display:grid}.ranking-row small{color:var(--muted);font-size:9px}.ranking-row>b{color:#a87712}.alerts-panel{display:grid;align-content:start;gap:8px}.alerts-panel .panel-title{margin-bottom:4px}.alerts-panel>button{border:1px solid #edf0f4;background:#fafbfc;border-radius:12px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;text-align:right}.alerts-panel>button>span{display:grid}.alerts-panel>button small{color:var(--muted);font-size:9px;margin-top:2px}.alerts-panel>button>svg:first-child{color:#a87712}@media(max-width:1100px){.dashboard-content-grid{grid-template-columns:1fr 1fr}.dashboard-content-grid>article:first-child{grid-column:1/-1}.dashboard-hero{grid-template-columns:1fr .8fr}.dashboard-actions-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.app-shell{display:block}.mobile-header{height:calc(62px + var(--safe-top));padding:calc(8px + var(--safe-top)) 12px 8px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;position:sticky;top:0;z-index:45;background:#0c111b;color:#fff;box-shadow:0 8px 25px rgba(0,0,0,.2)}.mobile-menu-button,.mobile-alert-button{width:40px;height:40px;border:1px solid #ffffff18;background:rgba(255,255,255,.05);color:#fff;border-radius:12px;display:grid;place-items:center;position:relative}.mobile-alert-button b{position:absolute;left:-3px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:#d7ad35;color:#111;font-size:9px}.mobile-brand-copy{display:grid;gap:2px}.mobile-brand-copy strong{font-size:14px;color:#f0d478}.mobile-brand-copy span{font-size:9px;color:#9eaabd}.sidebar{position:fixed;right:0;top:0;bottom:0;width:min(88vw,340px);height:100dvh;transform:translate(105%);transition:transform .25s ease;box-shadow:-20px 0 60px rgba(0,0,0,.533)}.sidebar.open{transform:translate(0)}.drawer-close{display:grid;position:absolute;left:0;top:0;width:36px;height:36px;place-items:center;border:0;border-radius:11px;background:rgba(255,255,255,.047);color:#fff}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:49;border:0;background:rgba(2,5,11,.72);backdrop-filter:blur(3px)}.app-content{padding:14px 12px calc(22px + var(--safe-bottom))}.dashboard-hero{grid-template-columns:1fr;padding:20px;min-height:auto}.hero-copy h2{font-size:26px}.dashboard-summary-strip{grid-template-columns:1fr 1fr}.dashboard-content-grid{grid-template-columns:1fr}.dashboard-content-grid>article:first-child{grid-column:auto}.dashboard-section-heading>small{display:none}}@media(max-width:520px){.dashboard-actions-grid{grid-template-columns:1fr}.dashboard-summary-strip{grid-template-columns:1fr 1fr}.hero-session-metrics{gap:5px}.hero-actions button{flex:1;justify-content:center}.dashboard-hero:after{font-size:230px}.page-heading h2{font-size:25px}}.brand-avatar-photo{overflow:visible;padding:2px;background:linear-gradient(145deg,#f8de81,#8f6210)}.class-mode-page{max-width:1700px}.class-command-bar{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;background:radial-gradient(circle at 80% 0,#d7ad3540,transparent 30%),linear-gradient(135deg,#080b11,#18263a 65%,#2a3d58);color:#fff;border-radius:24px;padding:20px;box-shadow:0 20px 50px rgba(23,34,53,.145)}.class-title-block h2{margin:6px 0;font-size:24px}.class-title-block p{margin:0;color:#c7d0db}.class-live-metrics{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:7px}.class-live-metrics>div{min-width:76px;border:1px solid #ffffff16;background:rgba(7,16,28,.467);border-radius:13px;padding:9px;text-align:center;display:grid;place-items:center}.class-live-metrics b{font-size:18px;color:#f1d77a}.class-live-metrics span{font-size:9px;color:#aeb9c8}.class-top-actions{display:flex;gap:7px;align-items:center}.icon-action{width:42px;height:42px;border:1px solid #ffffff1d;background:rgba(255,255,255,.047);color:#fff;border-radius:12px;display:grid;place-items:center}.class-mode-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.class-mode-tabs button,.class-quick-strip button{border:1px solid var(--line);background:#fff;border-radius:13px;padding:11px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800}.class-mode-tabs button.active{background:#111827;color:#f0d478;border-color:#111827}.class-quick-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.selected-student-focus{display:flex;align-items:center;gap:10px;border:1px solid #d7ad3560;background:#fff7da;border-radius:15px;padding:12px;margin-bottom:12px}.selected-student-focus>div{display:grid;flex:1}.selected-student-focus span{font-size:9px;color:#8a6b1a}.selected-student-focus strong{font-size:18px}.class-student-card.focused{border-color:#d7ad35;box-shadow:0 0 0 2px rgba(215,173,53,.125),0 12px 28px rgba(0,0,0,.067)}.student-points-row{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:9px}.student-points-row button{width:32px;height:32px;border:1px solid var(--line);background:#fff;border-radius:9px;display:grid;place-items:center}.student-points-row svg{width:15px}.student-points-row b{min-width:38px;text-align:center;color:#a87712;font-size:18px}.explain-layout{display:grid;grid-template-columns:1fr 330px;gap:12px}.board-panel{padding:12px}.board-toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.tool-group{display:flex;gap:7px;flex-wrap:wrap}.tool-group button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 11px;display:flex;align-items:center;gap:6px}.tool-group button.active{background:#111827;color:#f0d478}.canvas-wrap{background:#e9edf3;border-radius:15px;padding:10px;overflow:auto}.canvas-wrap canvas{display:block;width:100%;height:min(67vh,700px);background:#fff;border-radius:10px;touch-action:none;box-shadow:inset 0 0 0 1px #dfe4eb}.lesson-side-panel{display:grid;gap:12px;align-content:start}.resource-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.resource-buttons button{border:1px solid var(--line);background:#fafbfc;border-radius:11px;padding:11px;display:flex;align-items:center;justify-content:center;gap:6px}.lesson-side-panel textarea{width:100%;resize:vertical;padding:11px;border:1px solid var(--line);border-radius:11px;line-height:1.7}.class-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#f3f5f8;padding:10px;overflow:auto;max-width:none}.phone-picker-field{display:grid;grid-template-columns:1fr auto;gap:7px}.phone-picker-field input{min-width:0}.phone-picker-field button{width:44px;border:1px solid #d7ad3566;background:#fff7da;color:#8a6510;border-radius:10px;display:grid;place-items:center}.contact-message{grid-column:1/-1;border:1px solid #f0ca65;background:#fff7da;color:#795b10;border-radius:10px;padding:9px;font-size:11px}@media(max-width:1100px){.class-command-bar{grid-template-columns:1fr}.class-live-metrics{grid-template-columns:repeat(4,1fr)}.class-top-actions{justify-content:flex-start}.explain-layout{grid-template-columns:1fr}.lesson-side-panel{grid-template-columns:1fr 1fr}}@media(max-width:800px){.class-command-bar{padding:15px}.class-live-metrics,.class-mode-tabs,.class-quick-strip{grid-template-columns:1fr 1fr}.lesson-side-panel{grid-template-columns:1fr}.canvas-wrap canvas{height:56vh}.class-top-actions{flex-wrap:wrap}.class-top-actions .danger-btn{flex:1}.class-students-grid{grid-template-columns:1fr}}@media(max-width:520px){.class-mode-tabs,.class-quick-strip{grid-template-columns:1fr}.class-live-metrics{grid-template-columns:1fr 1fr}.class-mode-tabs button{justify-content:flex-start}.form-grid{grid-template-columns:1fr}}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.card-print-controls{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px;align-items:end;margin-bottom:16px}.card-print-controls label{display:grid;gap:6px}.card-print-controls select,.card-print-controls input{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px;background:#fff}.card-search{position:relative}.card-search svg{position:absolute;right:12px;bottom:12px;color:var(--muted)}.card-search input{padding-right:38px}.print-note{display:flex;align-items:center;gap:8px;color:#7a5a0a;background:#fff5cf;border:1px solid #efd985;border-radius:12px;padding:11px}.student-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.print-student-card{position:relative;overflow:hidden;min-height:255px;border-radius:22px;padding:16px;background:linear-gradient(145deg,#070a0f,#1d293d 72%);border:2px solid #cfaa43;color:#fff;box-shadow:0 18px 35px rgba(0,0,0,.133);break-inside:avoid;page-break-inside:avoid}.card-gold-orbit{position:absolute;width:170px;height:170px;border:22px solid #d7ad3520;border-radius:50%;left:-75px;bottom:-90px}.premium-card-header{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #ffffff20}.premium-card-header img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #d8b34c}.premium-card-header strong,.premium-card-header span{display:block}.premium-card-header strong{color:#f1d77d}.premium-card-header span{font-size:11px;color:#d5dbe5;margin-top:3px}.premium-card-header>b{color:#f1d77d}.premium-card-body{position:relative;display:grid;grid-template-columns:1fr auto;gap:13px;align-items:center;padding:15px 0}.card-label{font-size:10px;color:#d0d6df}.premium-card-body h3{font-size:23px;margin:5px 0 9px}.premium-card-body p{margin:4px 0;color:#d7dde6}.short-code{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.063);border:1px solid #ffffff18;border-radius:10px;padding:7px 10px;margin-top:10px}.short-code b{font-size:23px;color:#f1d77d}.card-qr{background:#fff;border-radius:14px;padding:7px}.print-student-card footer{position:relative;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ffffff20;padding-top:10px;color:#f1d77d}.print-student-card footer small{color:#c7ced8}.messages-kpi,.assistant-badge{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:linear-gradient(145deg,#111827,#26364a);color:#fff}.messages-kpi strong,.messages-kpi small,.assistant-badge strong,.assistant-badge small{display:block}.messages-kpi strong,.assistant-badge strong{font-size:22px;color:#f0d478}.messages-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}.message-composer textarea{resize:vertical}.queue-panel{max-height:580px;overflow:auto}.queue-panel select{border:1px solid var(--line);border-radius:9px;padding:8px;background:#fff}.notification-row-pro{grid-template-columns:1fr auto auto}.queue-actions{display:flex;gap:6px}.queue-actions button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px}.notification-status.failed{background:#ffe3e3;color:#9d2020}.notification-status.postponed{background:#e9edff;color:#4d56a5}.bulk-filter-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:9px;margin:12px 0}.bulk-filter-grid>label{display:flex;align-items:center;gap:7px}.bulk-filter-grid select,.bulk-filter-grid input{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff}.bulk-search{position:relative}.bulk-toolbar{display:flex;gap:8px;margin-bottom:10px}.bulk-toolbar button{display:flex;align-items:center;gap:6px}.reports-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0}.report-tabs{display:flex;gap:7px;background:#eef1f5;border-radius:12px;padding:4px}.report-tabs button{border:0;background:transparent;border-radius:9px;padding:9px 13px}.report-tabs button.active{background:#111827;color:#fff}.reports-toolbar label{display:flex;align-items:center;gap:7px}.reports-toolbar select{border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff}.report-table-wrap{overflow:auto}.report-table{width:100%;border-collapse:collapse;min-width:720px}.report-table th,.report-table td{padding:12px 10px;border-bottom:1px solid #edf0f4;text-align:right}.report-table td strong,.report-table td small{display:block}.report-table td small{color:var(--muted);margin-top:3px}.success-text{color:#087845}.danger-text{color:#b22525}.reports-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.weakness-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.weakness-card h3,.weakness-card p{margin:0}.weakness-card p{color:var(--muted);margin-top:3px}.weakness-card>div{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.weakness-card>div span{background:#fff0f0;color:#9d2020;border-radius:20px;padding:6px 9px;font-size:11px}.report-insight{border-right:5px solid #7d8aa1}.report-insight.danger{border-right-color:#cf3d3d}.report-insight.warning{border-right-color:#dda813}.report-insight.info{border-right-color:#406fd5}.report-insight>span{font-size:10px;border-radius:20px;background:#eef1f5;padding:5px 8px}.report-insight h3{margin:10px 0 6px}.report-insight p{color:var(--muted);line-height:1.7}.assistant-filter-bar{display:flex;gap:7px;overflow:auto;padding-bottom:8px}.assistant-filter-bar button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 13px}.assistant-filter-bar button.active{background:#111827;color:#fff}.assistant-layout{display:grid;grid-template-columns:1.6fr .7fr;gap:14px;margin-top:10px}.assistant-insights-list{display:grid;gap:10px}.assistant-insight{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;background:#fff;border:1px solid var(--line);border-right:5px solid #718097;border-radius:15px;padding:14px}.assistant-insight.danger{border-right-color:#d13d3d}.assistant-insight.warning{border-right-color:#d5a218}.assistant-insight.info{border-right-color:#4775dc}.assistant-icon{width:42px;height:42px;border-radius:12px;background:#f2f4f7;display:grid;place-items:center}.assistant-copy>span{font-size:10px;color:var(--muted)}.assistant-copy h3{margin:5px 0}.assistant-copy p{margin:0 0 7px;color:var(--muted);line-height:1.65}.assistant-copy>strong{font-size:12px}.assistant-top-students{align-self:start}.assistant-rank{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f4}.assistant-rank>b{width:30px;height:30px;border-radius:9px;background:#111827;color:#f0d478;display:grid;place-items:center}.assistant-rank strong,.assistant-rank small{display:block}.assistant-rank small{color:var(--muted)}.assistant-rank>span{font-weight:900;color:#087845}@media(max-width:900px){.card-print-controls,.messages-layout,.assistant-layout{grid-template-columns:1fr}.bulk-filter-grid{grid-template-columns:1fr 1fr}.student-cards-grid,.reports-card-grid{grid-template-columns:1fr}.messages-kpi,.assistant-badge{align-self:flex-start}.reports-toolbar{align-items:stretch;flex-direction:column}.report-tabs{overflow:auto}}@media(max-width:560px){.bulk-filter-grid{grid-template-columns:1fr}.notification-row-pro{grid-template-columns:1fr auto}.queue-actions{grid-column:1/-1}.premium-card-body{grid-template-columns:1fr auto}.premium-card-body h3{font-size:19px}.card-qr svg{width:82px;height:82px}.assistant-insight{grid-template-columns:auto 1fr}.assistant-insight>.whatsapp-btn{grid-column:1/-1}.card-print-controls{padding:12px}}.game-live-page{padding-bottom:30px}.game-timer{min-width:72px;text-align:center;background:#eef2f7;border-radius:999px;padding:8px 12px;font-weight:900}.game-timer.danger{background:#ffe4e4;color:#b42318;animation:pulseTimer .7s infinite}.powerup-banner{background:linear-gradient(135deg,#fff2c4,#f7d15f);color:#5f4300;padding:10px;border-radius:12px;margin-bottom:12px;font-weight:900}.matching-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.matching-grid button{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.matching-grid button.active{background:#111827;color:#f0d478;border-color:#d6ae38}.game-level-copy{color:var(--muted)}@keyframes pulseTimer{50%{transform:scale(1.06)}}.map-controls{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-bottom:12px}.map-controls select{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.map-scorebar{display:flex;justify-content:space-between;gap:12px;background:#111827;color:#fff;padding:11px 14px;border-radius:13px;margin-bottom:12px}.map-board{text-align:center}.map-start{padding:42px 20px}.map-start>div{font-size:64px}.map-question{font-size:22px;margin-bottom:12px}.training-map{position:relative;width:min(780px,100%);aspect-ratio:16/10;margin:0 auto 14px;border-radius:22px;background:radial-gradient(circle at 30% 25%,#345b4f 0 4%,transparent 5%),linear-gradient(145deg,#d7c899,#a9c58d);border:6px solid #26364a;overflow:hidden;box-shadow:inset 0 0 45px rgba(0,0,0,.2)}.training-map:before{content:"";position:absolute;top:8%;right:10%;bottom:8%;left:10%;border-radius:42% 55% 48% 43%;background:#d8c48e;box-shadow:0 0 0 3px #7d704e;transform:rotate(-3deg)}.map-pin{position:absolute;transform:translate(-50%,-50%);z-index:2;width:34px;height:34px;border-radius:50%;border:0;background:transparent}.map-pin span{display:block;width:17px;height:17px;border-radius:50% 50% 50% 0;background:#b42318;border:3px solid #fff;transform:rotate(-45deg);box-shadow:0 3px 8px rgba(0,0,0,.467)}.map-message{display:inline-block;padding:9px 14px;border-radius:999px;margin-bottom:12px;font-weight:900}.map-message.good{background:#dff6e9;color:#087845}.map-message.bad{background:#ffe3e3;color:#a22828}.map-note{margin-top:12px}.map-note p{color:var(--muted);margin-bottom:0}@media(max-width:760px){.map-controls,.matching-grid{grid-template-columns:1fr}.map-scorebar{font-size:12px}.training-map{aspect-ratio:4/3}}.gis-page{padding-bottom:28px}.gis-kpi{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center;background:linear-gradient(145deg,#111827,#26364a);color:#fff;border-radius:16px;padding:11px 16px}.gis-kpi svg{grid-row:1/3;color:#f0d478}.gis-kpi strong{font-size:22px;color:#f0d478}.gis-kpi span{font-size:10px;color:#cbd5e1}.gis-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px}.gis-sidebar{align-self:start;display:grid;gap:16px;position:sticky;top:86px}.gis-section{display:grid;gap:9px}.gis-section>label{display:flex;align-items:center;gap:7px;font-weight:900;color:#344054}.gis-section select{padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff}.gis-layer-list{display:grid;gap:7px}.gis-layer-list button{--layer-color:#d6ae38;display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;text-align:right}.gis-layer-list button svg{color:var(--layer-color)}.gis-layer-list button.active{background:#111827;color:#fff;border-color:#111827;box-shadow:inset -5px 0 var(--layer-color)}.gis-toggle{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px}.gis-zoom{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.gis-zoom button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px}.gis-start{width:100%}.gis-map-panel{padding:0;overflow:hidden;background:#0d1721}.gis-topbar{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;padding:13px 16px;background:linear-gradient(90deg,#111827,#26364a);color:#fff}.gis-topbar>div{display:flex;align-items:center;gap:8px}.gis-topbar>div:first-child strong{color:#f0d478}.gis-topbar span{font-size:11px;color:#cbd5e1}.gis-timer{background:rgba(255,255,255,.07);border-radius:999px;padding:7px 12px}.gis-timer b{font-size:20px}.gis-timer.danger{background:#8e1f1f;animation:pulseTimer .7s infinite}.gis-empty{min-height:570px;display:grid;place-content:center;text-align:center;color:#dfe7ef;background:radial-gradient(circle at 50% 30%,#27485b,#0d1721 64%)}.gis-empty>div{font-size:80px}.gis-empty h3{font-size:25px;margin:8px}.gis-empty p{max-width:560px;color:#aebccc}.gis-question{text-align:center;background:#fff7d8;color:#664b00;padding:11px;font-size:20px}.gis-map-wrap{position:relative;height:min(66vh,650px);overflow:hidden;background:#9dd4ef}.gis-draw-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;touch-action:none;cursor:crosshair}.gis-draw-canvas.active{pointer-events:auto}.gis-draw-toolbar{display:flex;align-items:center;gap:8px;background:#111827;padding:9px 12px;border-radius:0 0 14px 14px}.gis-draw-toolbar button{width:36px;height:36px;border-radius:10px;border:1px solid #ffffff22;background:rgba(255,255,255,.05);color:#f0d478;display:grid;place-items:center}.gis-draw-toolbar button.active{background:#d7ad35;color:#100c08}.gis-draw-toolbar input[type=color]{width:34px;height:34px;border-radius:10px;border:1px solid #ffffff22;background:transparent;padding:2px}.gis-svg{width:100%;height:100%;display:block;transform-origin:center;transition:transform .2s ease}.gis-ocean{fill:#9dd4ef}.gis-grid-lines line{stroke:rgba(255,255,255,.4);stroke-width:1;stroke-dasharray:5 7}.gis-country{fill:#e6d7a4;stroke:#53675f;stroke-width:1.4;transition:.18s}.gis-country.clickable{cursor:pointer}.gis-country.clickable:hover,.gis-country.clickable:active{fill:#f1c84c;filter:drop-shadow(0 0 5px #fff)}.gis-label,.gis-feature-label{font-family:Tahoma,Arial;font-size:11px;font-weight:800;fill:#172033;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.gis-feature-label{opacity:0;text-anchor:start}.gis-feature-label.show{opacity:1}.gis-marker{cursor:pointer}.gis-marker circle:first-child{fill:#fff;stroke-width:5;filter:drop-shadow(0 3px 4px #0006)}.gis-marker circle:nth-child(2){fill:#111}.gis-marker.terrain circle:first-child{stroke:#8d6e4c}.gis-marker.water circle:first-child{stroke:#2f80ed}.gis-marker.minerals circle:first-child{stroke:#b85c9e}.gis-marker.capitals circle:first-child{stroke:#d64545}.gis-marker:hover circle:first-child{r:17}.gis-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;padding:11px 14px}.gis-legend{display:flex;flex-wrap:wrap;gap:13px}.gis-legend span{display:flex;align-items:center;gap:6px;font-size:11px;color:#667085}.gis-legend i{width:13px;height:13px;border-radius:4px;display:inline-block}.legend-country{background:#e6d7a4;border:1px solid #53675f}@media(max-width:900px){.gis-layout{grid-template-columns:1fr}.gis-sidebar{position:static}.gis-layer-list{grid-template-columns:repeat(2,1fr)}.gis-map-wrap{height:58vh}}@media(max-width:560px){.gis-layer-list{grid-template-columns:1fr}.gis-topbar{grid-template-columns:1fr auto}.gis-topbar>div:last-child{display:none}.gis-question{font-size:17px}.gis-map-wrap{height:52vh}.gis-footer{align-items:stretch;flex-direction:column}.gis-footer button{width:100%}}.fatal-screen{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#29364c,#080b11 65%)}.fatal-card{max-width:520px;background:#fff;border-radius:24px;padding:24px;text-align:center}.fatal-card img{width:92px;height:92px;border-radius:50%;object-fit:cover;border:4px solid #d7ad35}.fatal-card code{display:block;direction:ltr;text-align:left;white-space:pre-wrap;background:#111827;color:#fca5a5;padding:12px;border-radius:10px;margin:15px 0}.fatal-card button{border:0;border-radius:10px;background:#111827;color:#fff;padding:12px 18px}.updates-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.current-version-card,.update-action-card{display:grid;place-items:center;text-align:center;gap:8px}.current-version-card svg,.update-action-card svg{color:#c99b2d;width:34px;height:34px}.current-version-card strong{font-size:32px}.update-action-card .primary-btn,.update-result .primary-btn{display:flex;align-items:center;justify-content:center;gap:7px}.update-result{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:13px 0}.update-result.available{border:1px solid #d7ad35;background:#fffaf0}.update-result.latest{border:1px solid #80c89e;background:#f2fff7}.update-history-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f4}.content-form{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:13px}.content-form input,.content-form select,.content-form textarea,.content-filters select{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.content-form textarea,.content-form button{grid-column:1/-1}.content-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:13px}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.content-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.content-icon{width:48px;height:48px;border-radius:14px;background:#111827;color:#f0d478;display:grid;place-items:center}.content-card span,.content-card small{color:var(--muted);font-size:12px}.content-card h3{margin:5px 0}.content-card p{margin:0 0 5px}.content-actions{display:flex;align-items:center;gap:7px}.content-actions a,.content-actions button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px;color:#111827;text-decoration:none}.content-actions button{color:#b42323}@media(max-width:760px){.updates-grid,.content-grid,.content-form,.content-filters{grid-template-columns:1fr}.update-result{align-items:stretch;flex-direction:column}.content-form textarea,.content-form button{grid-column:auto}.content-card{grid-template-columns:auto 1fr}.content-actions{grid-column:1/-1;justify-content:flex-end}}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.bank-stats{margin-bottom:13px}.bank-toolbar{display:grid;grid-template-columns:1fr 1fr 2fr auto auto;gap:9px;margin-bottom:13px}.bank-toolbar select,.bank-toolbar input{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.question-bank-table-wrap{overflow:auto}.question-bank-table{width:100%;border-collapse:collapse;min-width:900px}.question-bank-table th,.question-bank-table td{padding:11px;text-align:right;border-bottom:1px solid #edf0f4;vertical-align:top}.question-bank-table th{position:sticky;top:0;background:#111827;color:#f0d478;z-index:2}.question-bank-table td strong,.question-bank-table td small{display:block}.question-bank-table td small{color:var(--muted);margin-top:4px}.question-bank-table tbody tr:hover{background:#faf8ef}@media(max-width:900px){.bank-toolbar{grid-template-columns:1fr 1fr}.bank-toolbar input{grid-column:1/-1}.heading-actions{width:100%}.heading-actions button{flex:1}}.identity-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.03);border:1px solid #ffffff18;color:#f3d77a}.brand-avatar-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 24%;border-radius:16px;display:block;border:1px solid #fff5}.front-hero{display:grid;grid-template-rows:auto 1fr auto;gap:10px;padding:12px;background:linear-gradient(180deg,#211409,#0a0c11 52%);border-left:1px solid #d7ad3555}.front-hero-banner{position:absolute;left:14px;right:14px;top:14px;display:grid;gap:4px;justify-items:start;z-index:2}.front-hero-banner span{font-size:12px;color:#f1cb67;letter-spacing:.4px}.front-hero-banner strong{font-size:20px;color:#fff;background:rgba(11,13,18,.85);border:1px solid #d7ad3540;border-radius:999px;padding:6px 12px}.hero-image-wrap{position:relative;min-height:246px;border-radius:18px;overflow:hidden;border:1px solid #d8b34c;background:#1b140f;margin-top:34px}.hero-image-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.22));pointer-events:none}.hero-embellishment{display:grid;gap:4px;justify-items:center;padding-bottom:2px}.hero-embellishment-mark{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#0b0d12;border:1px solid #d7ad3550;color:#f0d478;font-size:12px}.hero-embellishment-sub{font-size:11px;color:#d9dee8;text-align:center}.front-brand{display:flex;align-items:center;justify-content:space-between;gap:10px}.front-brand-copy h3{margin:0;font-size:18px}.front-brand-copy p{margin:4px 0 0;color:#c0c8d4;font-size:12px}.front-title-block{display:grid;gap:3px;padding:4px 0}.front-title-block h4{margin:0;font-size:21px}.front-title-block p{margin:0;color:#c6cfdb}.front-info-list{display:grid;gap:8px}.card-field-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px 11px;border-radius:14px;background:#0b0d12;border:1px solid #d7ad3550}.card-field-icon{width:34px;height:34px;border-radius:11px;background:rgba(215,173,53,.125);color:#f0d478;display:grid;place-items:center;font-size:18px}.card-field-copy span{display:block;font-size:11px;color:#d7dce5}.card-field-copy strong{display:block;font-size:15px;margin-top:2px}.front-id-area{display:grid;grid-template-columns:1fr 112px;gap:12px;align-items:center}.front-barcode-card,.front-qr-card{display:grid;place-items:center;padding:8px;border-radius:16px;background:#f8f9fc;color:#111;min-height:66px}.front-barcode-card{gap:2px}.barcode-number{font-size:18px;font-weight:900;line-height:1}.mini-barcode{width:100%;height:auto;max-width:140px}.front-qr-card svg{width:88px;height:88px}.back-card{grid-template-columns:1fr 1.08fr 1fr;background:radial-gradient(circle at top right,#d9ac3a1c,transparent 28%),linear-gradient(145deg,#06080d,#131b28 76%)}.back-left,.back-right{padding:18px 16px;display:grid;align-content:center;gap:16px}.back-section-title{font-size:26px;font-weight:900;color:#f1cf70;text-align:center}.back-benefits div{display:flex;gap:10px;align-items:flex-start}.back-benefits span{color:#f0d478;font-size:16px;line-height:1.2}.back-benefits p{margin:0;color:#f5f7fb;font-size:13px}.back-center{display:grid;align-content:center;justify-items:center;gap:16px;padding:16px}.back-portrait-ring{width:264px;height:264px;border-radius:50%;padding:8px;border:2px solid #d7ad35;background:radial-gradient(circle at center,#d7ad3528,transparent 52%)}.back-portrait-plate{width:100%;height:100%;border-radius:50%;overflow:hidden;border:1px solid #e0b44a;background:#1b140f}.back-quote{font-size:18px;color:#f3d77a;text-align:center}.back-logo-emblem{display:grid;justify-items:center;text-align:center;gap:3px}.back-logo-emblem strong{font-size:34px;color:#f1cf70;line-height:1}.back-logo-emblem small{color:#d2d9e4}.back-copy-block h3{margin:0;font-size:22px;color:#f5f7fb;text-align:center}.back-copy-block p{margin:10px 0 0;color:#d6dce7;text-align:center;line-height:1.7}.back-landmarks{display:flex;justify-content:center;gap:12px;color:#f0d478;font-size:19px}.card-print-info{display:grid;gap:14px}.print-note{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:14px;background:#fff8e8;color:#5f4709;border:1px solid #e4c76a}.print-summary-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.print-summary-list div{display:grid;gap:4px;padding:10px 12px;border-radius:14px;background:#f5f7fb}.print-summary-list span{font-size:12px;color:var(--muted)}.print-summary-list strong{font-size:18px}.selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.selection-actions button{display:flex;align-items:center;justify-content:center;gap:8px}.card-student-select-list{display:grid;gap:8px;max-height:320px;overflow:auto;padding-right:2px}.card-student-select-row{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:14px;background:#fff}.card-student-select-row.selected{border-color:#d7ad35;background:#fff8e5}.card-student-select-row strong,.card-student-select-row small{display:block}.card-student-select-row small{color:var(--muted)}.print-pack{display:grid;gap:14px;margin-top:16px}.print-pack-page{display:grid;gap:10px}.print-pack-label{font-weight:900;color:#8a6517}.print-sheet{background:#fff;border-radius:20px;border:1px solid #dfe4ec;padding:8px;overflow:hidden}.print-sheet-grid{display:grid;grid-template-columns:repeat(var(--print-columns),1fr);grid-template-rows:repeat(var(--print-rows),1fr);gap:2mm}.print-slot{min-width:0;min-height:0}.print-slot .student-card-face{width:100%;height:100%;min-height:0;border-radius:8px;box-shadow:none;aspect-ratio:auto}.print-slot .student-card-face:before,.print-slot .student-card-face:after{top:6px;right:6px;bottom:6px;left:6px;border-radius:8px}.print-slot .front-hero{border-left-width:0}.print-slot .front-hero-banner strong{font-size:8px;padding:2px 6px}.print-slot .front-hero-banner span{font-size:6px}.print-slot .hero-image-wrap{min-height:0;margin-top:20px}.print-slot .front-brand-copy h3{font-size:10px}.print-slot .front-title-block p,.print-slot .card-field-copy span,.print-slot .card-field-copy strong,.print-slot .barcode-number{font-size:6px}.print-slot .card-field-row{padding:3px 4px;gap:6px;border-radius:6px}.print-slot .card-field-icon{width:16px;height:16px;border-radius:4px;font-size:8px}.print-slot .front-id-area{grid-template-columns:1fr 42px;gap:4px}.print-slot .front-barcode-card,.print-slot .front-qr-card{padding:2px;border-radius:6px;min-height:34px}.print-slot .mini-barcode{max-width:62px}.print-slot .front-qr-card svg{width:36px;height:36px}.print-slot .back-left,.print-slot .back-right,.print-slot .back-center{padding:6px}.print-slot .back-section-title{font-size:8px}.print-slot .back-benefits{gap:4px}.print-slot .back-benefits span,.print-slot .back-benefits p,.print-slot .back-copy-block p,.print-slot .back-landmarks{font-size:5px}.print-slot .back-logo-emblem small,.print-slot .back-copy-block h3,.print-slot .back-quote{font-size:6px}.print-slot .back-portrait-ring{width:64px;height:64px;padding:3px}.print-slot .card-frame-corner{width:12px;height:12px}.mobile-brand-copy{display:flex;align-items:center;gap:10px}.mobile-brand-copy>div{display:grid}.mobile-brand-copy strong{font-size:13px}.mobile-brand-copy span{font-size:10px;color:#b4becc}.mobile-brand-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #d7ad35;box-shadow:0 0 0 1px rgba(0,0,0,.2)}.brand-avatar-photo img,.lock-avatar,.fatal-card img{image-rendering:auto}.sidebar-footer b{letter-spacing:.5px}.sidebar-footer small{color:#9caac0}.lock-card{position:relative}.lock-avatar{width:104px;height:104px;border-radius:24px;object-fit:cover;border:3px solid #d7ad35;box-shadow:0 12px 24px rgba(0,0,0,.133);margin-bottom:8px}.lock-badge{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 8px;padding:5px 12px;border-radius:999px;background:#fff3c7;color:#7a5a0a;font-weight:900}.student-card-lab{padding-bottom:28px}.student-card-toolbar{display:grid;grid-template-columns:1.1fr 1fr 1.5fr 1fr auto;gap:12px;align-items:end;margin-bottom:16px}.student-card-toolbar label{display:grid;gap:6px;font-weight:900;color:#344054}.student-card-toolbar span{font-size:12px}.student-card-toolbar select,.student-card-toolbar input{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff}.side-toggle-group{display:flex;gap:8px;align-self:end}.side-toggle-group button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 13px;display:inline-flex;align-items:center;gap:7px;font-weight:900;white-space:nowrap}.side-toggle-group button.active{background:#111827;color:#f0d478;border-color:#111827}.student-card-workbench{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.card-preview-stage,.card-print-info{align-self:start}.preview-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.preview-head h3{margin:4px 0 6px;font-size:22px}.preview-head p{margin:0;color:var(--muted)}.preview-mini-stats{display:grid;grid-template-columns:1fr;gap:8px;text-align:center}.preview-mini-stats span{display:grid;padding:9px 11px;border-radius:12px;background:#f4f6f9;min-width:88px}.preview-mini-stats strong{font-size:18px;color:#111827}.large-card-preview{max-width:100%}.student-card-face{position:relative;overflow:hidden;display:grid;border:2px solid #d2ad45;border-radius:26px;box-shadow:0 20px 48px #00018a;background:radial-gradient(circle at top right,#d9ac3a30,transparent 28%),linear-gradient(145deg,#06080d,#1a2435 70%);color:#fff;aspect-ratio:856 / 540}.student-card-face:before,.student-card-face:after{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:20px;border:1px solid #d7ad3550;pointer-events:none}.student-card-face:after{top:18px;right:18px;bottom:18px;left:18px;border-radius:16px;opacity:.25}.card-frame-corner{position:absolute;width:34px;height:34px;border-color:#e0b44a;border-style:solid;pointer-events:none}.corner-tl{top:10px;left:10px;border-width:2px 0 0 2px;border-top-left-radius:18px}.corner-tr{top:10px;right:10px;border-width:2px 2px 0 0;border-top-right-radius:18px}.corner-bl{bottom:10px;left:10px;border-width:0 0 2px 2px;border-bottom-left-radius:18px}.corner-br{bottom:10px;right:10px;border-width:0 2px 2px 0;border-bottom-right-radius:18px}.front-card{grid-template-columns:1.05fr 1.12fr}.front-hero{position:relative;padding:14px;background:linear-gradient(180deg,#22130a,#0a0c11 58%);border-left:1px solid #d7ad3555}.hero-topline{position:absolute;top:14px;right:16px;left:16px;text-align:center;font-size:12px;color:#100;mix-blend-mode:screen;background:#d7ad35;padding:4px 10px;border-radius:999px;font-weight:900;letter-spacing:.2px;opacity:.9}.hero-image-wrap{position:absolute;top:58px;right:14px;bottom:84px;left:14px;border-radius:18px;overflow:hidden;border:1px solid #d8b34c;background:#1b140f}.hero-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center top}.hero-image-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.34));pointer-events:none}.hero-badge{position:absolute;left:14px;top:14px;display:grid;gap:2px;background:rgba(7,8,13,.875);border:1px solid #d7ad3550;border-radius:14px;padding:10px 12px;box-shadow:0 12px 24px rgba(0,0,0,.267)}.hero-badge strong{font-size:18px;color:#f2cd69}.hero-badge span{font-size:12px;color:#d8deea}.hero-library-line{position:absolute;left:14px;right:14px;bottom:14px;display:flex;flex-direction:column;gap:5px}.hero-library-line span{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;background:rgba(18,15,14,.85);border:1px solid #d7ad3540;border-radius:10px;color:#f0d478;font-size:11px}.front-details{position:relative;padding:16px 16px 14px;display:grid;grid-template-rows:auto auto 1fr auto;gap:12px}.front-brand{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.front-brand-mark{display:grid;place-items:center}.brand-emblem{width:100px;height:100px;border-radius:50%;border:3px solid #d7ad35;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#1d1408,#0d1017 70%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.067)}.brand-emblem-feather{font-size:24px;color:#f0d478;line-height:1}.brand-emblem-book{font-weight:900;font-size:18px;color:#f0d478;margin-top:3px}.front-brand-copy h3{margin:0;font-size:34px;color:#f0d478;line-height:1.2}.front-brand-copy p{margin:5px 0 0;color:#c9d1df;font-size:15px}.front-title-block{display:grid;gap:2px;text-align:center}.front-title-block h4{margin:0;font-size:26px}.front-title-block p{margin:0;color:#d9e1ea;font-size:13px}.front-info-list{display:grid;gap:7px}.card-field-row{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:8px 10px;border:1px solid #e0b44a55;border-radius:13px;background:rgba(16,19,25,.85)}.card-field-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#efc25d,#b57e17);color:#111827;font-size:18px}.card-field-copy span{display:block;font-size:10px;color:#c6cfdb}.card-field-copy strong{display:block;font-size:18px;color:#fff;line-height:1.25}.front-id-area{display:grid;grid-template-columns:1fr 122px;gap:12px;align-items:center}.front-barcode-card{display:grid;gap:7px;justify-items:center;background:#f6f7f9;border-radius:16px;padding:10px 8px;border:2px solid #e3d4a2}.mini-barcode{width:100%;height:auto;display:block}.barcode-number{font-weight:900;font-size:20px;color:#111827}.front-qr-card{display:grid;place-items:center;background:#f6f7f9;border-radius:16px;padding:10px;border:2px solid #e3d4a2}.front-qr-card svg{width:92px;height:92px}.back-card{grid-template-columns:1.04fr 1fr 1.08fr;padding:18px 18px 16px;background:radial-gradient(circle at 70% 20%,#d7ad3522,transparent 28%),linear-gradient(145deg,#05070a,#111827 70%)}.back-left,.back-center,.back-right{position:relative;z-index:1}.back-left{display:grid;align-content:start;gap:12px;padding:6px 10px 6px 4px}.back-section-title{font-size:30px;color:#f0d478;font-weight:900}.back-benefits{display:grid;gap:10px}.back-benefits div{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.back-benefits span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid #f0d478;color:#f0d478;font-size:11px}.back-benefits p{margin:0;color:#edf2f9;line-height:1.55;font-size:17px}.back-center{display:grid;align-content:center;justify-items:center;gap:12px;padding:6px 0}.back-portrait-ring{width:238px;height:238px;border-radius:50%;border:3px solid #e0b44a;display:grid;place-items:center;box-shadow:0 0 0 14px rgba(215,173,53,.067);background:radial-gradient(circle at 50% 0,#d7ad3530,transparent 35%)}.back-portrait-plate{width:212px;height:212px;border-radius:50%;overflow:hidden;border:1px solid #d7ad3550;background:#1a1f28}.back-portrait-plate img{width:100%;height:100%;object-fit:cover;object-position:center top}.back-quote{font-size:24px;color:#f0d478;font-weight:900;text-align:center;letter-spacing:.2px}.back-right{display:grid;align-content:center;justify-items:center;gap:14px;padding:10px 10px 10px 2px;text-align:center}.back-logo-emblem{display:grid;justify-items:center;gap:3px;width:100%;max-width:260px;padding:14px 12px;border-radius:22px;border:1px solid #d7ad3550;background:rgba(10,13,18,.847)}.back-logo-emblem strong{font-size:22px;color:#f0d478}.back-logo-emblem small{color:#c9d1df}.back-copy-block h3{margin:0;font-size:29px;color:#f0d478;line-height:1.35}.back-copy-block p{margin:8px 0 0;color:#d9e1ea;line-height:1.7;font-size:16px}.back-landmarks{display:flex;gap:8px;color:#f0d478;font-size:22px;opacity:.8}.print-pack{display:grid;gap:16px;margin-top:18px}.print-pack-page{display:grid;gap:8px}.print-pack-label{font-weight:900;color:#7d5c0b}.print-sheet{background:#fff;border:1px solid #dfe4ea;border-radius:20px;padding:10mm;box-shadow:0 12px 26px rgba(0,0,0,.067)}.print-sheet-grid{display:grid;grid-template-columns:repeat(var(--print-columns),minmax(0,1fr));grid-template-rows:repeat(var(--print-rows),minmax(0,1fr));gap:4mm;aspect-ratio:210 / 297}.print-slot{min-height:0}.print-slot .student-card-face{width:100%;height:100%;min-height:0;aspect-ratio:auto;border-width:1px;border-radius:8px;box-shadow:none}.print-slot .front-hero{padding:4mm}.print-slot .hero-topline{top:4mm;right:4mm;left:4mm;font-size:5px;padding:2px 5px}.print-slot .hero-image-wrap{top:16mm;right:4mm;bottom:14mm;left:4mm;border-radius:9px}.print-slot .hero-badge{top:4mm;left:4mm;padding:4px 6px;border-radius:8px}.print-slot .hero-badge strong{font-size:9px}.print-slot .hero-badge span{font-size:6px}.print-slot .hero-library-line{left:4mm;right:4mm;bottom:4mm}.print-slot .hero-library-line span{font-size:5px;padding:2px 4px;border-radius:6px}.print-slot .front-details{padding:4mm;gap:5px}.print-slot .brand-emblem{width:22mm;height:22mm;border-width:1px}.print-slot .brand-emblem-book{font-size:9px}.print-slot .brand-emblem-feather{font-size:10px}.print-slot .front-brand-copy h3{font-size:11px}.print-slot .front-brand-copy p{font-size:6px}.print-slot .front-title-block h4{font-size:10px}.print-slot .front-title-block p{font-size:6px}.print-slot .card-field-row{padding:3px 4px;border-radius:6px;gap:4px}.print-slot .card-field-icon{width:18px;height:18px;font-size:9px;border-radius:5px}.print-slot .card-field-copy span{font-size:5px}.print-slot .card-field-copy strong{font-size:8px}.print-slot .front-id-area{gap:5px}.print-slot .front-barcode-card,.print-slot .front-qr-card{border-radius:7px;padding:4px 3px}.print-slot .mini-barcode{height:14mm}.print-slot .barcode-number{font-size:8px}.print-slot .front-qr-card svg{width:16mm;height:16mm}.print-slot .back-card{padding:4mm}.print-slot .back-section-title{font-size:10px}.print-slot .back-benefits,.print-slot .back-benefits div{gap:5px}.print-slot .back-benefits span{width:13px;height:13px;font-size:5px;border-width:1px}.print-slot .back-benefits p{font-size:6px;line-height:1.45}.print-slot .back-portrait-ring{width:34mm;height:34mm;border-width:1px}.print-slot .back-portrait-plate{width:30mm;height:30mm}.print-slot .back-quote{font-size:8px}.print-slot .back-logo-emblem{padding:4px 6px;border-radius:8px}.print-slot .back-logo-emblem strong{font-size:10px}.print-slot .back-logo-emblem small{font-size:5px}.print-slot .back-copy-block h3{font-size:10px}.print-slot .back-copy-block p{font-size:6px}.print-slot .back-landmarks{font-size:10px}.empty-card-slot{width:100%;height:100%;border-radius:10px;border:1px dashed #d8dbe0;background:repeating-linear-gradient(135deg,#fafbfc,#fafbfc 8px,#f4f6f8 8px,#f4f6f8 16px)}@media(max-width:1200px){.student-card-workbench{grid-template-columns:1fr}.student-card-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.side-toggle-group{grid-column:1/-1;justify-self:start}.card-student-select-list{max-height:260px}}@media(max-width:760px){.student-card-toolbar{grid-template-columns:1fr}.preview-head{flex-direction:column}.front-card,.back-card{grid-template-columns:1fr}.front-hero{border-left:0;border-bottom:1px solid #d7ad3555}.front-details{padding-top:10px}.front-id-area{grid-template-columns:1fr}.back-portrait-ring{width:190px;height:190px}.back-portrait-plate{width:170px;height:170px}.back-copy-block h3{font-size:24px}.card-student-select-list{max-height:220px}.print-slot .student-card-face{border-radius:7px}}@media print{body{background:#fff!important}body *{visibility:hidden!important}.print-only,.print-only *{visibility:visible!important}.no-print,.mobile-header,.sidebar,.drawer-overlay{display:none!important}.app-shell,.app-content,.page{display:block!important;margin:0!important;padding:0!important;max-width:none!important}.print-only{display:block!important}.print-only-page{page-break-after:always;break-after:page}.print-sheet{box-shadow:none;border:0;border-radius:0;padding:0;page-break-inside:avoid}.print-sheet-grid{gap:2mm}.print-slot .student-card-face{border-width:.7pt}.print-sheet,.print-sheet-grid{width:100%!important;max-width:100%!important}.print-slot .student-card-face{break-inside:avoid;page-break-inside:avoid}}.front-hero-footer{position:absolute;left:14px;right:14px;bottom:14px;display:grid;gap:4px;justify-items:start;pointer-events:none}.front-hero-mark{color:#f3d77a;font-size:12px;font-weight:900;letter-spacing:.4px}.front-hero-caption{color:#f3d77a;font-size:10px;opacity:.92}.front-hero-sub{color:#fff;font-size:8px;opacity:.85}.print-mode-group{display:grid;gap:8px}.print-mode-group>span{color:var(--muted);font-size:12px;font-weight:900}.side-toggle-group.compact{flex-wrap:wrap}.side-toggle-group.compact button{padding-inline:12px;font-size:12px}.print-run{display:grid;gap:10px}.print-run-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}.print-run-header h2{margin:0;font-size:22px}.print-run-header p{margin:0;color:var(--muted)}.print-run-separator{height:0;border-top:2px dashed #d6dbe3;margin:6px 0 14px}@media print{@page{size:auto;margin:8mm}body{background:#fff!important}body *{visibility:hidden!important}.print-only,.print-only *{visibility:visible!important}.print-only{display:block!important;position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;padding:0!important;margin:0!important}.print-run{break-after:page;page-break-after:always}.print-run:last-child{break-after:auto;page-break-after:auto}.print-run-separator{break-after:page;page-break-after:always}.no-print{display:none!important}}.content-page-actions,.content-toolbar,.content-form-actions,.preview-actions,.lesson-resource-actions,.lesson-game-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.content-toolbar{padding:14px;display:grid;gap:12px;margin-bottom:13px}.content-search-box{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.content-search-box input{border:0;outline:0;font:inherit;background:transparent;min-width:0}.content-filters-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.content-filters-grid select,.content-form-grid input,.content-form-grid select,.content-form-grid textarea{padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.content-form-panel{display:grid;gap:14px;margin-bottom:13px}.form-preview-card{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:12px;border-radius:14px;background:linear-gradient(145deg,#111827,#334155);color:#fff}.form-preview-card small{display:block;color:#cfd6e1}.content-icon-large{width:56px;height:56px;border-radius:16px;background:#111827;color:#f0d478;display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}.content-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.content-form-grid .span-2{grid-column:1/-1}.exam-file-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px dashed #d7ad35;border-radius:12px;background:#fff8e6}.exam-file-name{color:#8a6510;font-weight:700;font-size:13px}.sequence-builder,.preview-flow-strip,.lesson-flow-strip,.lesson-game-resource-list,.resource-list,.resource-buttons.flow-buttons{display:flex;gap:8px;flex-wrap:wrap}.sequence-builder button,.preview-flow-strip span,.lesson-flow-strip button,.lesson-game-resource-list button,.resource-list button,.resource-buttons.flow-buttons button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;display:inline-flex;align-items:center;gap:6px}.sequence-builder button.active,.preview-flow-strip span,.lesson-flow-strip button.active,.lesson-game-resource-list button.active,.resource-list button.active,.resource-buttons.flow-buttons button.active{background:#111827;color:#f0d478;border-color:#111827}.content-workspace{display:grid;grid-template-columns:1.2fr .85fr;gap:12px;align-items:start}.content-grid-shell{min-width:0}.content-card.selected{border-color:#d7ad35;box-shadow:0 0 0 2px rgba(215,173,53,.125),0 12px 26px rgba(0,0,0,.067)}.content-main-copy{min-width:0}.content-main-copy small,.preview-notes p,.board-stage-summary span,.lesson-game-copy p,.preview-meta-grid span,.preview-summary-box p,.lesson-resource-note{color:var(--muted)}.content-preview-panel{display:grid;gap:12px;align-content:start}.preview-hero{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.preview-hero h3{margin:5px 0}.preview-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preview-meta-grid article,.preview-summary-box,.lesson-resource-note,.board-stage-summary{padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #edf0f4}.preview-meta-grid article{display:grid;gap:5px}.preview-meta-grid strong{font-size:15px}.preview-notes{display:grid;gap:6px}.preview-tags,.lesson-resource-meta{display:flex;gap:8px;flex-wrap:wrap}.preview-tags span,.lesson-resource-meta span{padding:6px 9px;border-radius:999px;background:#fff6d8;color:#8a6510;border:1px solid #efd57a}.preview-actions{justify-content:flex-start}.preview-summary-box{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.preview-summary-box strong{display:block;margin-bottom:4px}.lesson-resource-banner{display:grid;gap:12px;margin-bottom:13px;background:linear-gradient(145deg,#09111d,#22324a);color:#fff}.lesson-resource-banner .eyebrow,.lesson-resource-banner p{color:#cbd5e1}.lesson-resource-banner h3{margin:6px 0}.lesson-resource-copy{display:grid;gap:4px}.lesson-resource-banner .lesson-flow-strip button{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.125)}.lesson-resource-banner .lesson-flow-strip button.active{background:#f0d478;color:#111827;border-color:#f0d478}.lesson-resource-actions .secondary-btn,.lesson-resource-actions .primary-btn{min-width:fit-content}.board-stage-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:10px}.board-stage-summary div{display:grid;gap:3px;padding:10px 12px;border-radius:13px;background:#f8fafc;border:1px solid #edf0f4}.board-stage-summary strong{font-size:14px}.lesson-game-panel{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;margin-bottom:13px}.lesson-game-copy h3{margin:5px 0}.lesson-game-copy p{margin:0}.lesson-game-actions{justify-content:flex-end}.professional-games-grid .pro-game-card,.lesson-game-actions .secondary-btn,.lesson-game-actions .primary-btn,.content-page-actions .secondary-btn,.content-page-actions .primary-btn,.preview-actions .secondary-btn,.preview-actions .primary-btn,.lesson-resource-actions .secondary-btn,.lesson-resource-actions .primary-btn{white-space:nowrap}.content-empty-state{min-height:190px;display:grid;place-items:center;text-align:center}.content-empty-state p{margin:0}.canvas-wrap canvas{background-color:#fff}@media(max-width:1100px){.content-workspace{grid-template-columns:1fr}.content-filters-grid{grid-template-columns:repeat(2,1fr)}.lesson-game-panel{grid-template-columns:1fr}.board-stage-summary{grid-template-columns:repeat(2,1fr)}.class-command-bar{grid-template-columns:1fr}.class-live-metrics{grid-template-columns:repeat(4,1fr)}.class-top-actions{justify-content:flex-start}.explain-layout{grid-template-columns:1fr}.lesson-side-panel{grid-template-columns:1fr 1fr}}@media(max-width:800px){.content-filters-grid,.content-form-grid,.preview-meta-grid,.board-stage-summary{grid-template-columns:1fr}.content-card{grid-template-columns:auto 1fr}.content-actions{grid-column:1/-1;justify-content:flex-end}.content-form-grid .span-2{grid-column:auto}.content-page-actions,.lesson-resource-actions,.lesson-game-actions{flex-direction:column;align-items:stretch}.content-toolbar,.content-form-panel{padding:12px}.class-command-bar{padding:15px}.class-live-metrics,.class-mode-tabs,.class-quick-strip{grid-template-columns:1fr 1fr}.lesson-side-panel{grid-template-columns:1fr}.canvas-wrap canvas{height:56vh}.class-top-actions{flex-wrap:wrap}.class-top-actions .danger-btn{flex:1}.class-students-grid{grid-template-columns:1fr}}.voice-clips-box{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#fff,#f8fafc)}.voice-clips-header{display:grid;gap:4px}.voice-clips-header small{color:var(--muted)}.voice-clip-form{display:grid;grid-template-columns:1.1fr .8fr 1.3fr auto;gap:10px}.voice-clip-form input,.voice-clip-form select{padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff}.voice-clips-list{display:grid;gap:10px}.voice-clip-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #edf0f4;border-radius:14px;background:#fff}.voice-clip-item small{display:block;color:var(--muted);margin-top:4px}.voice-clip-actions{display:flex;gap:8px;flex-wrap:wrap}.settings-notice{padding:11px 13px;border-radius:12px;background:#fff6d8;border:1px solid #efd57a;color:#8a6510}.settings-help{color:var(--muted)}.scanner-modal{width:min(720px,100%)}.scanner-video{width:100%;min-height:280px;border-radius:16px;background:#111827;object-fit:cover;display:block;margin:10px 0 0}.content-form-grid .span-2{grid-column:1 / -1}.content-page .content-workspace .panel{min-width:0}.preview-media{display:grid;gap:10px;padding:12px;border:1px solid #edf0f4;border-radius:14px;background:#fff}.preview-media-image,.preview-media-video,.preview-media-pdf{width:100%;min-height:220px;border:0;border-radius:12px;object-fit:cover;background:#fff}.preview-media-audio{width:100%}.preview-media-fallback{min-height:180px;display:grid;place-items:center;border-radius:12px;background:#f8fafc;color:var(--muted)}.resource-preview-frame{display:grid;gap:10px;padding:12px;border:1px solid #edf0f4;border-radius:16px;background:#fff}.resource-preview-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.resource-preview-body{position:relative;display:grid;gap:10px}.resource-preview-body img,.resource-preview-body video,.resource-preview-body iframe,.resource-preview-body audio{width:100%;border-radius:12px;object-fit:cover}.resource-preview-body iframe{min-height:260px;border:0;background:#fff}.resource-placeholder{min-height:220px;display:grid;place-items:center;border-radius:12px;background:#f8fafc;color:var(--muted)}.resource-annotation-overlay{display:flex;flex-wrap:wrap;gap:8px}.resource-annotation-overlay span{display:inline-block;padding:8px 10px;border-radius:999px;color:#fff;font-weight:700;box-shadow:0 8px 20px rgba(0,0,0,.133)}.annotation-controls{display:grid;grid-template-columns:.9fr 1.7fr auto;gap:10px}.annotation-controls select,.annotation-controls input{padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff}.annotation-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.annotation-list{display:grid;gap:10px;margin-top:12px}.annotation-chip{display:grid;gap:8px;padding:11px;border-radius:14px;border:1px solid var(--line);background:#fff}.annotation-chip span{display:inline-flex;align-self:flex-start;color:#111827;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}.annotation-chip p{margin:0}.annotation-chip .text-btn{justify-self:end}.related-question-list{display:grid;gap:8px}.related-question-chip{display:grid;gap:3px;text-align:right;width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px}.related-question-chip strong{font-size:13px;line-height:1.5}.related-question-chip small{color:var(--muted)}.lesson-resource-banner .lesson-flow-strip{display:flex;gap:8px;flex-wrap:wrap}.content-card .content-actions{display:flex;gap:7px;align-items:center}.content-card .content-actions a,.content-card .content-actions button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px;color:#111827;text-decoration:none}@media(max-width:900px){.voice-clip-form,.annotation-controls,.content-workspace,.board-stage-summary,.content-filters-grid,.content-form-grid,.preview-meta-grid{grid-template-columns:1fr}.voice-clip-item{flex-direction:column;align-items:flex-start}.voice-clip-actions{width:100%;justify-content:flex-end}.content-page-actions,.content-page-actions .secondary-btn,.content-page-actions .primary-btn{width:100%}}.board-paper-header{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.board-paper-header div{display:grid;gap:3px;padding:10px 12px;border-radius:13px;background:linear-gradient(180deg,#fffdf3,#fff);border:1px solid #efd57a}.board-paper-header span{color:var(--muted);font-size:12px}.board-paper-header strong{font-size:15px;color:#111827}.lock-screen{position:relative;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 20% 20%,rgba(215,173,53,.18),transparent 22%),radial-gradient(circle at 80% 15%,rgba(85,58,18,.25),transparent 22%),linear-gradient(135deg,#08090d,#0f1117 38%,#1c150d);color:#f7e8b1;padding:24px}.lock-screen-glow{position:absolute;inset:auto;width:340px;height:340px;border-radius:50%;filter:blur(12px);opacity:.45;pointer-events:none}.lock-glow-1{top:-80px;left:-90px;background:rgba(215,173,53,.12)}.lock-glow-2{right:-100px;bottom:-120px;background:rgba(255,200,100,.08)}.lock-screen-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.78fr);gap:22px;align-items:center;min-height:calc(100vh - 48px);max-width:1500px;margin:0 auto}.lock-hero-panel,.lock-card{border:1px solid rgba(255,213,123,.18);box-shadow:0 28px 80px rgba(0,0,0,.38);backdrop-filter:blur(10px)}.lock-hero-panel{position:relative;overflow:hidden;min-height:calc(100vh - 48px);padding:28px;border-radius:30px;display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto auto;gap:20px;background:linear-gradient(180deg,rgba(11,13,18,.82),rgba(23,17,10,.72))}.lock-brand-chip{width:fit-content;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,214,124,.2);background:rgba(255,255,255,.05);color:#f4d06a;font-weight:800}.lock-hero-copy h1{margin:10px 0 12px;font-size:clamp(40px,6vw,70px);line-height:1.05;color:#f3cf71}.lock-hero-kicker{margin:0;display:inline-flex;align-items:center;gap:8px;color:#ffd56f;font-size:13px;font-weight:800;letter-spacing:.2px}.lock-hero-text{margin:0;max-width:700px;color:#e9e0ca;line-height:1.9;font-size:17px}.lock-hero-portrait{position:relative;border-radius:28px;overflow:hidden;min-height:320px;border:1px solid rgba(255,214,124,.18);background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.42))}.lock-avatar{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;filter:saturate(1.02) contrast(1.02)}.lock-portrait-ribbon{position:absolute;right:16px;left:16px;bottom:14px;display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:9px 12px;border-radius:999px;background:rgba(6,8,12,.75);border:1px solid rgba(255,214,124,.2);color:#f0d478}.lock-role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lock-role-grid button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#f6e4b3;border-radius:18px;padding:14px 10px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800}.lock-role-grid button.active{background:linear-gradient(145deg,rgba(239,194,93,.95),rgba(181,126,23,.95));color:#10131a;box-shadow:0 8px 24px rgba(215,173,53,.25)}.lock-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lock-hero-stats div{padding:14px;border-radius:18px;border:1px solid rgba(255,214,124,.16);background:rgba(255,255,255,.04);display:grid;gap:5px}.lock-hero-stats strong{color:#ffd770;font-size:24px}.lock-hero-stats span{color:#d7d0be;font-size:12px}.lock-card{position:relative;z-index:1;display:grid;gap:18px;padding:26px;border-radius:28px;background:linear-gradient(180deg,rgba(13,15,20,.92),rgba(8,10,14,.94))}.lock-card-header{display:flex;align-items:center;gap:14px}.lock-card-badge{width:72px;height:72px;border-radius:20px;object-fit:cover;border:1px solid rgba(255,214,124,.2)}.lock-card-header h2{margin:0;font-size:22px;color:#f3cf71}.lock-card-header p{margin:4px 0 0;color:#cfd7e4}.lock-card-title h3{margin:0 0 8px;font-size:28px;color:#f6e09c}.lock-card-title p{margin:0;color:#d5d0bf;line-height:1.7}.lock-pin-label{display:grid;gap:9px}.lock-pin-label span{font-weight:800;color:#e9d08a}.lock-pin-label input{width:100%;font-size:26px;letter-spacing:8px;text-align:center;padding:14px;border-radius:16px;color:#fff;border:1px solid rgba(255,214,124,.2);background:rgba(255,255,255,.05);outline:none}.lock-pin-label input:focus{border-color:#f1d77a;box-shadow:0 0 0 3px rgba(215,173,53,.16)}.lock-submit{width:100%;padding-block:14px;border-radius:16px}.lock-card-footer{display:grid;gap:4px}.lock-card-footer small{color:#b9c3d2}.lock-error{display:block;color:#ff8f8f;background:rgba(255,71,71,.08);border:1px solid rgba(255,71,71,.15);padding:10px 12px;border-radius:12px}.dashboard-hero{grid-template-columns:minmax(0,1.08fr) minmax(300px,.75fr) minmax(275px,.72fr);gap:18px}.hero-copy{display:grid;align-content:start}.hero-info-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:22px}.dashboard-mini-stat{padding:12px 13px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.dashboard-mini-stat strong{display:block;color:#f3cf71;font-size:18px}.dashboard-mini-stat span{display:block;color:#d0d7e3;font-size:11px;margin-top:3px}.hero-visual{position:relative;min-height:340px;border-radius:28px;overflow:hidden;border:1px solid rgba(255,214,124,.14);background:radial-gradient(circle at 65% 30%,rgba(215,173,53,.32),transparent 28%),linear-gradient(145deg,#0a0c11,#1f160c 80%)}.hero-visual-map{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.5)),url(../identity/mostafa-barakat.jpg) center/cover no-repeat;opacity:.27;filter:sepia(.9) saturate(.6) contrast(.9)}.hero-visual-portrait{position:absolute;right:22px;bottom:0;width:min(52%,300px);height:92%;object-fit:cover;object-position:center top;filter:saturate(1.03) contrast(1.03)}.hero-visual-copy{position:absolute;left:18px;right:18px;bottom:16px;display:grid;gap:2px;max-width:260px}.hero-visual-copy span{color:#f0d478;font-size:12px;font-weight:800}.hero-visual-copy strong{font-size:21px;color:#fff}.hero-visual-copy small{color:#cdd6e2;font-size:12px}.hero-session-card{display:grid;gap:12px;align-self:stretch}.hero-session-list{display:grid;gap:9px}.hero-session-row{padding:11px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);display:grid;gap:3px}.hero-session-row strong{color:#f3cf71;font-size:14px}.hero-session-row span{color:#d6dde8;font-size:12px}.hero-upcoming-box{padding:12px;border-radius:16px;border:1px solid rgba(255,214,124,.14);background:rgba(255,255,255,.04);display:grid;gap:6px}.hero-upcoming-box span{color:#f3cf71;font-size:12px;font-weight:800}.hero-upcoming-box strong{color:#fff;font-size:14px}.dashboard-actions-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-action span{background:linear-gradient(145deg,#f0c85c,#b77d17)}.dashboard-action.gold{border-color:rgba(215,173,53,.35);background:linear-gradient(145deg,rgba(215,173,53,.12),rgba(255,255,255,.03))}.dashboard-action.gold span{background:linear-gradient(145deg,#f1d77a,#d39f2d)}.dashboard-action strong{font-size:18px}.dashboard-action small{font-size:12px}.gis-page-heading{align-items:center}.gis-mode-list{display:grid;gap:8px}.gis-mode-list button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 11px;display:grid;grid-template-columns:auto 1fr;gap:8px 10px;text-align:right}.gis-mode-list button svg{grid-row:1/span 2;color:#9b6e18}.gis-mode-list button strong,.gis-mode-list button span{display:block}.gis-mode-list button span{font-weight:900}.gis-mode-list button small{grid-column:2;font-size:11px;color:var(--muted)}.gis-mode-list button.active{background:linear-gradient(145deg,#111827,#25364b);color:#fff;border-color:#111827}.gis-mode-list button.active svg{color:#f0d478}.gis-mode-list button.active small{color:#ccd6e1}.gis-topbar{grid-template-columns:1fr auto auto auto}.gis-topbar>div:nth-child(4){justify-content:flex-end}@media(max-width:1100px){.lock-screen-layout{grid-template-columns:1fr}.lock-hero-panel{min-height:auto}.dashboard-hero{grid-template-columns:1fr 1fr}.dashboard-hero>:last-child{grid-column:1/-1}.hero-info-strip,.dashboard-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.lock-screen{padding:14px}.lock-screen-layout{min-height:auto}.lock-hero-panel,.lock-card{padding:18px;border-radius:24px}.lock-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lock-hero-stats,.dashboard-hero{grid-template-columns:1fr}.hero-visual{min-height:280px}.hero-visual-portrait{width:min(44%,210px)}.dashboard-summary-strip{grid-template-columns:1fr 1fr}.dashboard-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-info-strip{grid-template-columns:1fr 1fr}.gis-topbar{grid-template-columns:1fr auto auto}.gis-topbar>div:nth-child(4){display:none}}@media(max-width:560px){.dashboard-actions-grid{grid-template-columns:1fr}.hero-info-strip{grid-template-columns:1fr 1fr}.hero-session-card{padding:16px}.gis-mode-list{grid-template-columns:1fr}}.auth-screen{min-height:100vh;position:relative;overflow:hidden;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,rgba(215,173,53,.18),transparent 30%),linear-gradient(135deg,#0a0a0b,#14110d 45%,#090808)}.auth-background,.auth-background>*{pointer-events:none}.auth-glow{position:absolute;border-radius:999px;filter:blur(10px);opacity:.7}.auth-glow-1{width:360px;height:360px;background:rgba(215,173,53,.16);top:-120px;right:-120px}.auth-glow-2{width:260px;height:260px;background:rgba(255,255,255,.08);bottom:-80px;left:-80px}.auth-glow-3{width:180px;height:180px;background:rgba(151,111,26,.14);top:14%;left:18%}.auth-card{position:relative;z-index:1;width:min(1320px,100%);min-height:min(860px,calc(100vh - 48px));display:grid;grid-template-columns:.95fr 1.05fr;gap:0;border-radius:32px;overflow:hidden;background:rgba(11,10,9,.94);border:1px solid rgba(215,173,53,.24);box-shadow:0 35px 80px rgba(0,0,0,.55);backdrop-filter:blur(18px)}.auth-brand-panel{padding:34px;background:linear-gradient(180deg,rgba(15,12,10,.42),rgba(6,5,5,.86)),url(../identity/mostafa-barakat.jpg) center / contain no-repeat,#0b0a09;display:flex;flex-direction:column;justify-content:flex-end;gap:22px;color:#f8e2b1}.auth-brand-orb{width:124px;height:124px;border-radius:28px;overflow:hidden;border:1px solid rgba(215,173,53,.45);background:rgba(0,0,0,.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}.auth-brand-orb img{width:100%;height:100%;object-fit:cover}.auth-brand-copy h1{margin:8px 0 6px;font-size:clamp(2.2rem,4vw,4.2rem);line-height:.95;color:#f4cf79}.auth-brand-copy p{margin:0;font-size:1.25rem;color:#fff6e1}.auth-brand-copy small{color:#c8b184}.auth-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(215,173,53,.14);color:#f3d28c;border:1px solid rgba(215,173,53,.22);width:fit-content}.auth-brand-notes{display:grid;gap:12px;margin-top:8px;padding:18px 16px;border-radius:20px;background:rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.06)}.auth-brand-notes div{display:flex;align-items:center;gap:10px;color:#f2e0b8}.auth-form-panel{padding:30px 28px;background:radial-gradient(circle at top right,rgba(215,173,53,.14),transparent 35%),linear-gradient(180deg,rgba(18,15,12,.96),rgba(10,9,8,.96));color:#f8f0df;display:flex;flex-direction:column;gap:18px}.auth-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auth-topline h2{margin:6px 0 8px;font-size:clamp(1.4rem,2.3vw,2.2rem)}.auth-topline p{margin:0;color:rgba(248,240,223,.8);max-width:520px}.auth-role-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(215,173,53,.14);border:1px solid rgba(215,173,53,.24);color:#f6dc9c;white-space:nowrap}.auth-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.auth-role-card{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#f7f2e6;border-radius:18px;padding:14px 12px;text-align:right;display:grid;gap:8px;min-height:92px;transition:transform .15s ease,border-color .15s ease,background .15s ease}.auth-role-card:hover{transform:translateY(-1px)}.auth-role-card.active{background:linear-gradient(180deg,rgba(215,173,53,.18),rgba(215,173,53,.07));border-color:rgba(215,173,53,.42)}.auth-role-card span{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(215,173,53,.18);color:#f5d88f}.auth-role-card strong{font-size:1rem}.auth-role-card small{color:rgba(247,242,230,.7)}.auth-panel-shell{display:grid;gap:14px;padding:16px;border-radius:24px;background:rgba(0,0,0,.24);border:1px solid rgba(255,255,255,.06)}.auth-field{display:grid;gap:9px}.auth-field span{color:#f5dfac;font-size:.95rem}.auth-field input{width:100%;border:1px solid rgba(215,173,53,.2);background:rgba(5,5,5,.5);color:#fff;padding:15px 16px;border-radius:16px;outline:none;font-size:1rem}.auth-field input:focus{border-color:rgba(215,173,53,.55);box-shadow:0 0 0 3px rgba(215,173,53,.16)}.auth-submit{border:0;background:linear-gradient(180deg,#f3cf7a,#bd8b2a);color:#1d1206;font-weight:800;padding:14px 18px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.auth-submit.secondary{background:linear-gradient(180deg,#f0c76b,#a87222)}.auth-submit.ghost{background:rgba(255,255,255,.04);color:#f7f0dc;border:1px solid rgba(215,173,53,.22)}.auth-inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qr-scanner-box{position:relative;min-height:260px;border-radius:18px;overflow:hidden;border:1px solid rgba(215,173,53,.18);background:rgba(0,0,0,.3);display:grid;place-items:center;gap:10px}.qr-scanner-box video{width:100%;height:260px;object-fit:cover}.qr-scanner-frame{position:absolute;top:18px;right:18px;bottom:18px;left:18px;border:2px solid rgba(243,207,122,.65);border-radius:18px;box-shadow:inset 0 0 0 999px rgba(0,0,0,.18);pointer-events:none}.qr-scanner-box small{position:absolute;bottom:12px;left:12px;right:12px;background:rgba(0,0,0,.55);color:#f7e7bf;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:8px 10px}.auth-notice.error{padding:12px 14px;border-radius:14px;background:rgba(171,53,53,.14);border:1px solid rgba(255,128,128,.22);color:#ffd7d7}.auth-notice.success{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:14px;background:rgba(76,175,80,.14);border:1px solid rgba(139,224,143,.28);color:#d9f7db}.auth-help{color:rgba(247,242,230,.65)}.auth-pin-wrap{position:relative;display:flex;align-items:center}.auth-pin-wrap input{padding-left:46px}.auth-pin-eye{position:absolute;left:8px;border:0;background:rgba(255,255,255,.06);color:#f3d28c;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;cursor:pointer}.auth-pin-eye:hover{background:rgba(215,173,53,.18)}.auth-remember-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.auth-remember{display:inline-flex;align-items:center;gap:8px;color:rgba(248,240,223,.85);font-size:.92rem;cursor:pointer}.auth-remember input{width:16px;height:16px;accent-color:#d7ad35;cursor:pointer}.auth-link-btn{border:0;background:none;color:#f3d28c;font-size:.9rem;cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-decoration:underline;text-underline-offset:3px;padding:4px 2px}.auth-link-btn:hover{color:#ffe3a3}.auth-recovery{display:grid;gap:14px;animation:fadeSlideIn .22s ease both}.auth-recovery-head{display:flex;align-items:center;justify-content:space-between;color:#f5dfac;font-weight:700}.auth-recovery-head span{display:inline-flex;align-items:center;gap:8px}.auth-icon-btn{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#f7f2e6;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;cursor:pointer}.auth-icon-btn:hover{background:rgba(215,173,53,.16)}.auth-recovery-question{margin:0;padding:12px 14px;border-radius:14px;background:rgba(215,173,53,.1);border:1px solid rgba(215,173,53,.22);color:#f6dc9c}@keyframes fadeSlideIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes authCardIn{0%{opacity:0;transform:translateY(18px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes authGlowDrift{0%,to{transform:translateZ(0)}50%{transform:translate3d(0,14px,0)}}.auth-card{animation:authCardIn .45s cubic-bezier(.16,1,.3,1) both}.auth-glow{animation:authGlowDrift 9s ease-in-out infinite}@keyframes welcomeToastIn{0%{opacity:0;transform:translate(-50%,-14px)}to{opacity:1;transform:translate(-50%)}}.pin-order{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;margin-inline-start:4px;border-radius:999px;background:#d7ad35;color:#100c08;font-size:10px;font-weight:800}.update-prompt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;background:rgba(6,5,4,.72);display:grid;place-items:center;padding:20px}.update-prompt-card{position:relative;width:min(420px,100%);padding:28px 24px;border-radius:24px;background:linear-gradient(180deg,#171310,#0b0a09);border:1px solid rgba(215,173,53,.35);color:#f6dc9c;text-align:center;box-shadow:0 30px 60px rgba(0,0,0,.5)}.update-prompt-close{position:absolute;top:14px;left:14px;color:rgba(246,220,156,.6);background:none;border:0}.update-prompt-icon{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:rgba(215,173,53,.14);display:grid;place-items:center;color:#d7ad35}.update-prompt-card h2{font-size:1.15rem;margin:0 0 14px;line-height:1.5}.update-prompt-versions{display:flex;flex-direction:column;gap:4px;font-size:.9rem;color:#e7d4a2;margin-bottom:10px}.update-prompt-notes{font-size:.85rem;color:#c9ae76;margin-bottom:12px}.update-prompt-mandatory{font-size:.85rem;color:#ff9a7a;font-weight:700;margin-bottom:12px}.update-prompt-actions{display:flex;flex-direction:column;gap:10px}.welcome-toast{position:fixed;top:max(18px,var(--safe-top, 18px));left:50%;z-index:600;max-width:min(560px,calc(100% - 32px));padding:14px 22px;border-radius:999px;background:linear-gradient(135deg,#171310,#0b0a09);border:1px solid rgba(215,173,53,.45);color:#f6dc9c;font-weight:800;text-align:center;box-shadow:0 20px 40px rgba(0,0,0,.35);animation:welcomeToastIn .4s cubic-bezier(.16,1,.3,1) both;pointer-events:none}.auth-role-card{animation:fadeSlideIn .3s ease both}.auth-role-card:nth-child(1){animation-delay:.03s}.auth-role-card:nth-child(2){animation-delay:.07s}.auth-role-card:nth-child(3){animation-delay:.11s}.auth-role-card:nth-child(4){animation-delay:.15s}.auth-role-card:nth-child(5){animation-delay:.19s}@media(prefers-reduced-motion:reduce){.auth-card,.auth-glow,.auth-role-card,.auth-recovery{animation:none}}.mobile-header-actions{display:flex;align-items:center;gap:8px}.mobile-role-pill{border:1px solid rgba(215,173,53,.22);background:rgba(215,173,53,.12);color:#f2d48f;border-radius:999px;padding:8px 12px}.sidebar-role-card{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);color:#f5e6c0;margin-top:12px}.sidebar-role-card small{display:block;color:rgba(245,230,192,.7)}.logout-btn{margin-top:10px;width:100%;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#f8e7c1;padding:11px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.classmode-scene{position:relative;overflow:hidden;padding-bottom:22px;background:radial-gradient(circle at top left,rgba(208,158,61,.11),transparent 30%),linear-gradient(180deg,#0e0b0a,#17110c 52%,#0c0908)}.classmode-scene.fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;overflow:auto;padding:16px;border-radius:0;background:#0e0b0a}.classmode-scene.fullscreen .classmode-layout{grid-template-columns:minmax(0,4fr) minmax(280px,1fr)}.classmode-layout{display:grid;grid-template-columns:minmax(0,4fr) minmax(280px,1fr);gap:18px}.classmode-board-panel,.classmode-side-panel,.classmode-students-panel{background:rgba(7,6,5,.92);border:1px solid rgba(215,173,53,.15);box-shadow:0 20px 45px rgba(0,0,0,.35)}.classmode-board-panel{padding:16px;border-radius:28px}.classmode-board-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px 2px 14px}.classmode-top-header{display:flex;align-items:center;gap:16px;padding:12px 20px;margin-bottom:14px;border-radius:22px;background:linear-gradient(135deg,#171310,#0b0a09);border:1px solid rgba(215,173,53,.25);box-shadow:0 10px 26px rgba(0,0,0,.3)}.classmode-header-brand{display:flex;align-items:center;gap:10px;flex:none}.classmode-header-brand img{width:44px;height:44px;object-fit:contain}.classmode-header-brand strong{display:block;color:#f3cf7a;font-size:1rem}.classmode-header-brand small{color:rgba(255,255,255,.6);font-size:.75rem}.classmode-header-tabs{display:flex;gap:8px;flex:1;justify-content:center;padding:6px;border-radius:18px;background:rgba(0,0,0,.25)}.classmode-header-tabs button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 16px;border-radius:14px;border:1px solid transparent;background:transparent;color:rgba(255,255,255,.6);font-size:.78rem;font-weight:700}.classmode-header-tabs button.active{background:linear-gradient(180deg,rgba(215,173,53,.24),rgba(215,173,53,.08));border-color:rgba(215,173,53,.45);color:#f6dc9c}.classmode-header-meta{display:flex;align-items:center;gap:10px;flex:none}.header-meta-item{display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#f0dca6}.header-meta-item b{display:block;font-size:.85rem}.header-meta-item small{color:rgba(255,255,255,.55);font-size:.68rem}.header-meta-item.book-icon{padding:8px}.classmode-map-embed{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;border-radius:18px;background:#0b0d12}.classmode-map-embed .page{min-height:100%;padding:0}.classmode-metrics{display:flex;gap:10px;flex-wrap:wrap}.classmode-metrics>div{min-width:96px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);color:#f4e6c0;display:grid;gap:2px;justify-items:center;text-align:center}.classmode-metrics b{font-size:1.2rem;color:#f3cf7a}.classmode-metrics span{font-size:.76rem;color:rgba(255,255,255,.7)}.classmode-top-actions{display:flex;gap:8px;flex-wrap:wrap}.classmode-resource-card{display:grid;gap:12px;margin-bottom:14px;padding:16px 18px;border-radius:22px;background:linear-gradient(180deg,rgba(215,173,53,.08),rgba(255,255,255,.02));border:1px solid rgba(215,173,53,.14)}.classmode-resource-card h3{margin:8px 0 4px;font-size:1.5rem;color:#f5db92}.classmode-resource-card p{margin:0;color:rgba(255,255,255,.75)}.classmode-session-plan{display:grid;gap:8px;margin-bottom:14px;padding:12px 16px;border-radius:18px;background:rgba(215,173,53,.06);border:1px dashed rgba(215,173,53,.28)}.classmode-session-plan-row{display:flex;align-items:center;gap:8px}.classmode-session-plan-list{display:flex;gap:8px;overflow-x:auto;flex:1;scrollbar-width:thin}.classmode-session-plan-list button{flex:none;padding:8px 12px;border-radius:12px;border:1px solid rgba(215,173,53,.25);background:rgba(0,0,0,.25);color:#f0dca6;font-size:.85rem;white-space:nowrap}.classmode-session-plan-list button.active{background:#d7ad35;color:#100c08;font-weight:800}.classmode-flow-row{display:flex;gap:8px;flex-wrap:wrap}.classmode-flow-row button,.classmode-resource-actions button,.classmode-tool-group button,.classmode-resource-list button,.classmode-activity-list button,.classmode-student-actions button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#f7f1df;border-radius:14px;padding:10px 12px}.classmode-flow-row button.active,.classmode-resource-list button.active,.classmode-activity-list button.active,.classmode-tool-group button.active{border-color:rgba(215,173,53,.45);background:linear-gradient(180deg,rgba(215,173,53,.2),rgba(215,173,53,.06));color:#f7df9e}.classmode-resource-actions{display:flex;gap:10px;flex-wrap:wrap}.classmode-board-frame{position:relative;border-radius:28px;overflow:hidden;border:1px solid rgba(215,173,53,.18);background:linear-gradient(180deg,rgba(19,14,10,.9),rgba(5,5,5,.98));padding:14px}.classmode-board-surface{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;min-height:820px}.classmode-board-sidebar-left{border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.06);padding:14px 10px;display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow-y:auto}.classmode-board-sidebar-left button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 4px;border-radius:14px;border:1px solid transparent;background:transparent;color:rgba(255,255,255,.65);font-size:.72rem;font-weight:700}.classmode-board-sidebar-left button.active,.classmode-board-sidebar-left button:hover{background:linear-gradient(180deg,rgba(215,173,53,.22),rgba(215,173,53,.08));border-color:rgba(215,173,53,.4);color:#f6dc9c}.classmode-left-toolbar-divider{height:1px;background:rgba(255,255,255,.1);margin:4px 6px}.classmode-swatch{width:26px;height:26px;border-radius:50%;border:2px solid rgba(255,255,255,.2);padding:0}.classmode-swatch.active{border-color:#fff;box-shadow:0 0 0 2px rgba(215,173,53,.6)}.classmode-board-stage{position:relative;border-radius:26px;overflow:hidden;background:#f6f0e1;border:1px solid rgba(0,0,0,.08);min-height:820px}.classmode-resource-preview{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow:hidden;background:#f6f0e1}.classmode-resource-preview .resource-preview-head{position:absolute;top:14px;right:14px;left:14px;z-index:2;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:rgba(255,255,255,.92);border-radius:14px;padding:8px 14px;box-shadow:0 8px 20px rgba(0,0,0,.14)}.classmode-resource-preview .resource-preview-head strong{color:#1a1508}.classmode-resource-preview .resource-preview-head small{color:#6b5f45}.classmode-page-nav{display:flex;align-items:center;gap:6px;margin-inline-start:auto;background:#100c08;border-radius:999px;padding:4px 10px;color:#f0dca6}.classmode-page-nav button{width:26px;height:26px;border-radius:50%;border:0;background:rgba(215,173,53,.18);color:#f0dca6;font-size:16px;line-height:1;display:grid;place-items:center}.classmode-page-nav span{font-size:12px;font-weight:700;white-space:nowrap}.classmode-exam-link{display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:#d7ad35;color:#100c08;font-size:12px;font-weight:800;white-space:nowrap}.classmode-resource-preview .resource-preview-body{position:absolute;top:0;right:0;bottom:0;left:0}.classmode-resource-preview .resource-preview-body img,.classmode-resource-preview .resource-preview-body video,.classmode-resource-preview .resource-preview-body iframe{width:100%;height:100%;border-radius:0;object-fit:contain}.classmode-page-nav{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.classmode-page-nav button{width:26px;height:26px;border-radius:8px;border:1px solid #d0d5dd;background:#fff;color:#111827;font-size:16px;line-height:1;display:grid;place-items:center}.classmode-page-nav span{font-size:12px;font-weight:800;color:#111827;white-space:nowrap}.classmode-exam-link{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:8px;background:#d7ad35;color:#100c08;font-size:11px;font-weight:800;white-space:nowrap}.classmode-board-stage .class-board-canvas-shell{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:3;transform:scale(var(--board-zoom, 1));transform-origin:top left;width:calc(100% / var(--board-zoom, 1));height:calc(100% / var(--board-zoom, 1));touch-action:none}.classmode-board-stage .class-board-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none}.class-stamp{position:absolute;z-index:4;transform:translate(-50%,-50%);pointer-events:none}.text-stamp{background:rgba(255,255,255,.68);border:1px dashed rgba(0,0,0,.18);padding:8px 10px;border-radius:12px;color:#2d1e08;font-weight:700;white-space:pre-wrap;max-width:220px}.shape-stamp{width:100px;height:72px;border:3px solid rgba(153,93,12,.88)}.shape-stamp.circle{border-radius:50%}.shape-stamp.triangle{width:0;height:0;border:0;border-left:54px solid transparent;border-right:54px solid transparent;border-bottom:92px solid rgba(153,93,12,.88);background:transparent}.shape-stamp.line{width:120px;height:0;border:0;border-top:4px solid rgba(153,93,12,.88);background:transparent}.arrow-stamp{color:rgba(153,93,12,.88);display:grid;place-items:center}.classmode-toolbar{margin-top:14px;display:grid;gap:10px;padding:14px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}.classmode-tool-group{display:flex;gap:8px;flex-wrap:wrap}.classmode-tool-group button{display:inline-flex;align-items:center;gap:7px}.classmode-tool-group.compact button{padding-inline:10px}.classmode-side-column{display:grid;gap:14px}.classmode-side-panel{border-radius:24px;padding:16px}.panel-heading.compact{display:flex;align-items:center;justify-content:space-between;gap:10px}.classmode-students-list{display:grid;gap:8px;max-height:410px;overflow:auto;padding-right:2px}.classmode-student-row{display:flex;align-items:center;gap:8px;border-radius:16px;padding:6px 8px 6px 12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);color:#f7f0dc}.classmode-student-row.active{border-color:rgba(215,173,53,.4);background:rgba(215,173,53,.12)}.classmode-student-row-main{flex:1;display:grid;grid-template-columns:56px 1fr auto auto;align-items:center;gap:10px;background:transparent;border:0;color:inherit;padding:4px 0;min-width:0}.classmode-student-row-actions{display:flex;gap:6px;flex:none}.student-point-btn,.student-praise-btn{width:30px;height:30px;border-radius:50%;border:1px solid rgba(215,173,53,.3);background:rgba(0,0,0,.25);color:#f0dca6;display:grid;place-items:center;flex:none}.student-point-btn:active{background:#d7ad35;color:#100c08}.student-praise-btn:active{background:rgba(78,161,255,.2)}.student-score{min-width:36px;text-align:center;color:#f4cf7a;font-weight:800}.classmode-student-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.classmode-phrase-list{display:flex;flex-direction:column;gap:6px;max-height:260px;overflow-y:auto}.classmode-phrase-row{display:flex;align-items:center;gap:6px}.classmode-phrase-row button:first-child{flex:1;text-align:right;padding:9px 12px;border-radius:10px;background:rgba(215,173,53,.08);border:1px solid rgba(215,173,53,.2);color:#f0dca6;font-weight:700;font-size:.85rem}.classmode-phrase-row .phrase-remove{width:26px;height:26px;color:#ff9a7a}.classmode-phrase-add{display:flex;flex-direction:column;gap:8px;margin-top:10px}.classmode-phrase-add input{padding:9px 12px;border-radius:10px;border:1px solid rgba(215,173,53,.25);background:rgba(0,0,0,.2);color:#f0dca6}.classmode-bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding:12px 16px;border-radius:20px;background:rgba(0,0,0,.3);border:1px solid rgba(215,173,53,.16)}.classmode-bottom-actions-mid{display:flex;gap:8px;flex-wrap:wrap;flex:1;justify-content:center}.classmode-end-btn{min-width:140px}.classmode-selected-student{margin-top:10px;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:rgba(215,173,53,.1);border:1px solid rgba(215,173,53,.16)}.classmode-selected-student span{display:block;color:rgba(255,255,255,.65);font-size:.8rem}.classmode-selected-student strong{color:#f6e0a1}.classmode-activity-list{display:flex;flex-wrap:wrap;gap:8px}.classmode-resource-summary{margin-top:12px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.04);color:#f8efdc}.classmode-resource-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.classmode-resource-tags span{padding:7px 10px;border-radius:999px;background:rgba(215,173,53,.12);color:#f7df9f;border:1px solid rgba(215,173,53,.14)}.classmode-resource-list{display:grid;gap:8px}.classmode-resource-list button{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;align-items:center;text-align:right}.classmode-resource-list button small{grid-column:2;color:rgba(255,255,255,.62)}.annotation-controls{display:grid;grid-template-columns:1fr 1.4fr auto;gap:8px}.annotation-controls input,.annotation-controls select,.classmode-side-panel textarea{width:100%;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);color:#fff;padding:11px 12px}.annotation-actions{display:flex;gap:8px;margin-top:10px}.annotation-list{display:grid;gap:8px;margin-top:10px}.annotation-chip{display:grid;gap:6px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.annotation-chip span{width:fit-content;padding:5px 8px;border-radius:999px;color:#fff;font-size:.76rem}.annotation-chip p{margin:0;color:#f6e7c1}.classmode-summary-actions{display:flex;gap:8px;margin-top:10px}.spoken-banner{position:fixed;bottom:22px;left:50%;transform:translate(-50%);z-index:50;background:rgba(0,0,0,.9);color:#f4d98f;border:1px solid rgba(215,173,53,.25);padding:12px 16px;border-radius:16px;box-shadow:0 15px 45px rgba(0,0,0,.35)}.classmode-students-footer{display:none}.student-card-lab .panel{background:rgba(11,10,9,.95);border-color:rgba(215,173,53,.12)}.student-card-toolbar{display:grid;grid-template-columns:1fr 1fr 1.2fr 1fr auto;gap:10px;align-items:end;margin-bottom:16px}.student-card-toolbar label{display:grid;gap:8px}.student-card-toolbar span{color:#f5dfac;font-size:.9rem}.student-card-toolbar input,.student-card-toolbar select,.card-print-info textarea,.classmode-side-panel textarea{width:100%;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05);color:#fff;padding:11px 12px}.card-search{display:flex!important;align-items:center;gap:8px}.student-card-workbench{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}.card-preview-stage{padding:16px}.preview-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.preview-mini-stats{display:flex;gap:8px;flex-wrap:wrap}.preview-mini-stats span{min-width:94px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.05);color:#f6e7c2;display:grid;gap:2px;text-align:center}.preview-mini-stats strong{color:#f3cf7a}.large-card-preview{margin-top:12px;width:100%;display:grid;place-items:center;overflow:auto;padding:10px 0}.student-card-face{width:min(1200px,100%);aspect-ratio:2.06 / 1;border-radius:26px;overflow:hidden;position:relative;border:1px solid rgba(215,173,53,.25);background:linear-gradient(180deg,#0c0b0a,#16110d);color:#fff4dd;box-shadow:0 18px 48px rgba(0,0,0,.4)}.front-card{display:grid;grid-template-columns:1.08fr 1.22fr}.front-panel-image{position:relative;overflow:hidden;background:#1c130d}.front-panel-image img{width:100%;height:100%;object-fit:cover;display:block}.front-panel-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:space-between;padding:18px;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.44))}.front-panel-badge{width:fit-content;padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.45);border:1px solid rgba(215,173,53,.26);color:#f7de98;font-weight:700}.front-panel-brand{display:grid;gap:6px;width:fit-content;align-self:flex-start}.front-panel-brand strong{font-size:2.1rem;color:#f4cf77}.front-panel-brand span{color:#f9e9bf}.front-panel-details{padding:18px 18px 16px;display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;background:radial-gradient(circle at top right,rgba(215,173,53,.18),transparent 24%),linear-gradient(180deg,#0f0d0b,#090807)}.front-headline{display:flex;justify-content:space-between;gap:12px;align-items:center}.front-headline h3{margin:4px 0 2px;color:#f5d88f;font-size:1.65rem}.front-headline p{margin:0;color:rgba(255,255,255,.68)}.front-round-mark{width:100px;height:100px;border-radius:50%;padding:10px;border:2px solid rgba(215,173,53,.45);background:rgba(255,255,255,.04)}.front-round-mark img{width:100%;height:100%;object-fit:contain}.front-title-block{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(215,173,53,.12)}.front-title-block h4{margin:0 0 6px;font-size:1.55rem;color:#fff4db}.front-title-block p{margin:0;color:rgba(255,255,255,.74)}.front-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card-field-row{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}.card-field-row.wide{grid-column:span 2}.card-field-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(243,207,122,.22),rgba(243,207,122,.08));color:#f8dc98;flex:0 0 auto}.card-field-copy span{display:block;color:rgba(255,255,255,.62);font-size:.78rem}.card-field-copy strong{display:block;color:#f8edd0;font-size:1rem}.front-id-area{display:grid;grid-template-columns:1fr 132px;gap:12px;align-items:center}.front-barcode-card,.front-qr-card{min-height:132px;border-radius:16px;overflow:hidden;background:#fff;display:grid;place-items:center;color:#111}.front-barcode-card{padding:10px;gap:8px}.barcode-number{font-weight:800;color:#111}.front-qr-card{padding:10px}.mini-barcode{width:100%;height:auto}.back-card{padding:18px}.back-banner{display:flex;align-items:center;gap:12px;color:#f7e2a9}.back-banner-logo{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(215,173,53,.35);background:rgba(255,255,255,.04)}.back-banner-logo img{width:70%;height:70%;object-fit:contain}.back-banner strong{display:block;font-size:1.8rem}.back-banner span{color:rgba(255,255,255,.7)}.back-content-grid{margin-top:16px;display:grid;grid-template-columns:1.05fr .95fr 1fr;gap:14px;align-items:center;min-height:calc(100% - 90px)}.back-benefits-panel,.back-copy-panel{height:100%;border-radius:20px;padding:16px;background:rgba(255,255,255,.03);border:1px solid rgba(215,173,53,.12)}.back-benefits-panel h4{margin:0 0 14px;font-size:1.35rem;color:#f6da92}.back-benefits{display:grid;gap:12px}.back-benefits div{display:flex;gap:10px;align-items:center;color:#f7e6be}.back-benefits p{margin:0}.back-portrait-panel{display:grid;justify-items:center;gap:14px}.back-portrait-ring{width:240px;height:240px;border-radius:50%;padding:10px;border:2px solid rgba(215,173,53,.5);background:radial-gradient(circle,rgba(215,173,53,.12),transparent 60%)}.back-portrait-plate{width:100%;height:100%;border-radius:50%;overflow:hidden;border:1px solid rgba(255,255,255,.08)}.back-portrait-plate img{width:100%;height:100%;object-fit:cover}.back-quote{width:fit-content;padding:8px 12px;border-radius:999px;color:#f8df9d;border:1px solid rgba(215,173,53,.2);background:rgba(0,0,0,.22)}.back-copy-block{margin-top:24px}.back-copy-block h3{margin:0 0 10px;font-size:1.7rem;color:#f5d98e}.back-copy-block p{margin:0;color:rgba(255,255,255,.78)}.back-landmarks{display:flex;justify-content:center;gap:14px;color:#d8b765;margin-top:22px;font-size:1.6rem}.back-signature{margin-top:auto;display:grid;justify-items:center;gap:2px;color:#f5dfac}.back-signature strong{font-size:1.6rem}.print-summary-list{display:grid;gap:10px;margin:12px 0}.print-summary-list div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);color:#f7eecf}.print-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:16px;background:rgba(215,173,53,.09);color:#f8e8b9}.selection-actions,.card-print-actions{display:flex;gap:8px;flex-wrap:wrap}.card-student-select-list{margin-top:12px;display:grid;gap:8px;max-height:320px;overflow:auto}.card-student-select-row{display:grid;grid-template-columns:auto 56px 1fr;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}.card-student-select-row.selected{border-color:rgba(215,173,53,.4);background:rgba(215,173,53,.1)}.card-student-select-row input{width:18px;height:18px}.card-student-select-row .student-code{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(215,173,53,.14);color:#f7df9f;font-weight:800}.card-student-select-row strong{display:block;color:#f9efd1}.card-student-select-row small{color:rgba(255,255,255,.64)}.print-run{page-break-after:always;margin-bottom:18px}.print-run-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#f7ebcb}.print-sheet-grid{display:grid;grid-template-columns:repeat(var(--print-columns),minmax(0,1fr));gap:10px}.print-slot{break-inside:avoid;page-break-inside:avoid}.print-slot .student-card-face{width:100%;aspect-ratio:2.06 / 1;border-radius:16px}.empty-slot,.empty-card-slot{min-height:100px}.print-only{display:none}.print-run-separator{height:14px}@media(max-width:1200px){.auth-card,.classmode-layout,.student-card-workbench,.classmode-hero,.classmode-board-surface,.back-content-grid,.front-card,.front-id-area{grid-template-columns:1fr}.student-card-toolbar{grid-template-columns:1fr 1fr}.auth-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.auth-card{min-height:auto}.auth-brand-panel,.auth-form-panel{padding:20px}.auth-inline-actions,.student-card-toolbar,.annotation-controls,.classmode-student-actions{grid-template-columns:1fr}.classmode-board-surface{min-height:620px}.classmode-board-sidebar-left{order:2}.classmode-board-stage{min-height:620px}.classmode-hero{gap:12px}.classmode-teacher-card{justify-content:center}.classmode-tool-group{overflow-x:auto;flex-wrap:nowrap}.student-card-workbench{grid-template-columns:1fr}.card-print-info{order:2}}@media print{body{background:#fff!important}.no-print,.app-shell,.auth-screen,.mobile-header,.sidebar,.print-pack.no-print,.page-heading.no-print,.student-card-toolbar.no-print,.student-card-workbench.no-print,.dashboard-page,.classmode-students-footer,.spoken-banner{display:none!important}.print-only{display:block!important}.print-slot .student-card-face,.student-card-face{box-shadow:none!important}@page{size:A4 landscape;margin:10mm}}.shared-access-page{min-height:100vh;padding:20px;background:radial-gradient(circle at top,#2b1d0f 0,#07090d 62%)}.shared-shell{width:min(1240px,100%);margin:0 auto;display:grid;gap:16px}.shared-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px;border-radius:26px;background:linear-gradient(145deg,rgba(8,10,16,.94),rgba(24,17,10,.9));color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.267)}.shared-brand{display:flex;align-items:center;gap:14px;min-width:0}.shared-brand img{width:68px;height:68px;border-radius:18px;object-fit:cover;border:1px solid #d7ad35;box-shadow:0 0 0 1px rgba(255,255,255,.063) inset}.shared-brand h2{margin:6px 0 4px;font-size:clamp(1.4rem,3vw,2.4rem);color:#f0d27d}.shared-brand p{margin:0;color:#dbc9a0;line-height:1.8;white-space:pre-line}.shared-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.shared-actions .secondary-btn,.shared-actions .primary-btn{display:inline-flex;align-items:center;gap:7px}.shared-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shared-metric-card{padding:16px;border-radius:20px;display:grid;gap:8px;background:linear-gradient(180deg,#12161d,#0d1117);color:#fff;border:1px solid rgba(215,173,53,.24)}.shared-metric-card span{color:#d5c28e;font-size:.82rem}.shared-metric-card strong{font-size:1.3rem;color:#f6d98d}.shared-content-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;align-items:start}.shared-content-grid>.panel{border-radius:24px}.shared-resource-preview{display:grid;gap:12px;padding:16px}.shared-resource-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.shared-resource-head h3{margin:6px 0 4px;font-size:1.4rem}.shared-resource-head p{margin:0;color:var(--muted)}.shared-resource-badge{padding:8px 11px;border-radius:999px;background:#111827;color:#f0d478;border:1px solid #d7ad35;white-space:nowrap}.shared-resource-body{min-height:240px;border-radius:18px;overflow:hidden;background:#f8fafc;border:1px solid #edf0f4}.shared-resource-body img,.shared-resource-body video,.shared-resource-body iframe{display:block;width:100%;height:100%;min-height:240px;object-fit:cover;border:0}.shared-placeholder{min-height:220px;padding:18px;border-radius:18px;display:grid;place-items:center;text-align:center;background:linear-gradient(180deg,#f8fafc,#eef2f7);color:var(--muted);border:1px dashed #d9e0ea}.shared-notes-card,.shared-questions-card{display:grid;gap:12px;padding:16px}.shared-notes-box{padding:14px;border-radius:16px;background:#f8fafc;border:1px solid #edf0f4;line-height:1.95;white-space:pre-wrap}.shared-flow-strip{display:flex;gap:8px;flex-wrap:wrap}.shared-flow-strip span{padding:6px 10px;border-radius:999px;background:#111827;color:#f0d478}.shared-meta-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shared-meta-row div{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:13px;background:#f8fafc;border:1px solid #edf0f4;color:var(--muted)}.shared-question-list{display:grid;gap:10px;max-height:560px;overflow:auto;padding-right:2px}.shared-question-item{display:grid;gap:4px;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #edf0f4}.shared-question-item strong{color:#a87712}.shared-question-item span{font-weight:700}.shared-question-item small{color:var(--muted);line-height:1.7}.shared-notice{padding:12px 14px;border-radius:14px;background:#fff7df;border:1px solid #e8cf7a;color:#72550c}@media(max-width:900px){.shared-hero,.shared-content-grid,.shared-metrics-grid,.shared-meta-row{grid-template-columns:1fr}.shared-hero{flex-direction:column;align-items:flex-start}.shared-actions{width:100%;justify-content:flex-start}.shared-resource-head{flex-direction:column}.shared-resource-body img,.shared-resource-body video,.shared-resource-body iframe{min-height:200px}}.classmode-recordings-list{display:grid;gap:10px}.classmode-recording-item{display:grid;gap:5px;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(215,173,53,.18)}.classmode-recording-item strong{color:#f6e0a1}.classmode-recording-item small{color:rgba(255,255,255,.65)}.classmode-recording-actions{display:flex;gap:8px;flex-wrap:wrap}.classmode-challenge-panel{gap:12px}.classmode-challenge-switch,.classmode-challenge-summary,.shared-player-list,.shared-board-actions,.gis-build-stats{display:flex;gap:10px;flex-wrap:wrap}.classmode-challenge-switch button{flex:1 1 0;border:1px solid rgba(215,173,53,.22);background:rgba(255,255,255,.05);color:#fff;border-radius:14px;padding:10px 12px;cursor:pointer}.classmode-challenge-switch button.active{background:rgba(215,173,53,.18);border-color:rgba(215,173,53,.48);color:#f8e2a7}.classmode-challenge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.classmode-challenge-grid button{text-align:start;border-radius:16px;padding:12px;border:1px solid rgba(215,173,53,.14);background:rgba(255,255,255,.05);color:#fff;display:grid;gap:4px;cursor:pointer}.classmode-challenge-grid button.active{background:rgba(215,173,53,.16);border-color:rgba(215,173,53,.46)}.classmode-challenge-summary{justify-content:space-between;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.24);color:#f2e1b2}.shared-board-image{margin-top:12px;border-radius:16px;overflow:hidden;border:1px solid #d9c49b33}.shared-board-image img{width:100%;display:block}.shared-game-card{display:grid;gap:12px}.shared-player-list{align-items:center}.shared-player-list span{padding:8px 12px;border-radius:999px;background:rgba(215,173,53,.12);border:1px solid rgba(215,173,53,.22);color:#f5deb0;font-weight:600}.shared-board-actions{padding:12px 14px;border-radius:16px;background:linear-gradient(145deg,rgba(215,173,53,.12),rgba(255,255,255,.03));border:1px solid rgba(215,173,53,.18);justify-content:space-between;align-items:center}.shared-board-actions strong{color:#fff1c2}.shared-board-actions small{color:#dbc9a0}.gis-build-panel{display:grid;gap:10px;margin-bottom:10px}.gis-build-palette{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.gis-palette-chip{min-width:156px;text-align:start;border-radius:16px;padding:12px;cursor:grab;border:1px solid rgba(255,255,255,.08);background:rgba(9,12,18,.9);color:#fff;position:relative}.gis-palette-chip:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;border:1px solid var(--chip-color);opacity:.2;pointer-events:none}.gis-palette-chip strong{display:block;color:#f3d48f;margin-bottom:3px}.gis-palette-chip small{color:#d9caa8;line-height:1.5}.gis-map-wrap.build-mode{position:relative;overflow:hidden}.gis-placement-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.gis-placement-chip{position:absolute;transform:translate(-50%,-50%);min-width:140px;padding:8px 10px;border-radius:14px;background:rgba(7,10,16,.84);border:1px solid var(--chip-color);color:#fff;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.22)}.gis-placement-chip strong{display:block;color:#fff0b8}.gis-placement-chip small{color:#d9caa8}.gis-build-stats{justify-content:space-between;color:#fff}.gis-build-stats strong{color:#f0d478}:root{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}html,body,#root{min-height:100%}body{overflow-x:hidden;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;overscroll-behavior-y:contain}img,svg,video{max-width:100%}.app-shell,.app-content{min-width:0}.app-content{transition:padding .2s ease}.page,.panel,.hero-visual,.classmode-board-panel,.classmode-side-panel,.student-card-face,.auth-card,.lock-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}.screen-stage{min-width:0;animation:screenRise .26s ease both}@keyframes screenRise{0%{opacity:0;transform:translateY(10px) scale(.992);filter:blur(1.5px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.mobile-header,.sidebar,.drawer-overlay{transition:opacity .22s ease,transform .25s ease,background .22s ease}.mobile-header{padding-top:calc(8px + var(--safe-top))}.app-content{padding-bottom:calc(24px + var(--safe-bottom))}.page{width:min(100%,1500px)}@media(max-width:1024px){.page-heading h2{font-size:26px}.dashboard-hero{grid-template-columns:1fr 1fr}.dashboard-hero>:last-child{grid-column:1 / -1}.classmode-layout,.student-card-workbench,.content-workspace,.gis-layout,.result-details-layout{grid-template-columns:1fr}.classmode-board-surface{grid-template-columns:220px minmax(0,1fr);min-height:680px}.classmode-board-stage,.classmode-board-frame{min-height:680px}.classmode-students-list{max-height:340px}.student-card-face{width:100%}.content-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.dashboard-summary-strip,.dashboard-actions-grid,.hero-info-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.classmode-hero{grid-template-columns:1fr}.classmode-ribbon,.classmode-teacher-card{min-height:auto}.classmode-layout{gap:14px}.classmode-board-surface{grid-template-columns:1fr;min-height:auto}.classmode-board-sidebar-left{order:2}.classmode-board-stage{order:1;min-height:540px}.classmode-board-panel{padding:12px;border-radius:22px}.classmode-board-frame{padding:10px;border-radius:22px}.classmode-board-sidebar-left{padding:14px;border-radius:20px}.classmode-tool-group,.classmode-flow-row,.classmode-resource-actions,.classmode-summary-actions{gap:8px}.auth-card{grid-template-columns:1fr;min-height:auto}.auth-brand-panel{min-height:340px;border-bottom:1px solid rgba(255,255,255,.06)}.auth-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-inline-actions{grid-template-columns:1fr}.lock-screen-layout{grid-template-columns:1fr;min-height:auto}.lock-hero-panel{min-height:auto}}@media(max-width:680px){.mobile-header{gap:8px;padding-inline:10px}.mobile-brand-copy strong{font-size:13px}.mobile-brand-copy span{font-size:8px}.mobile-role-pill{display:none}.app-content{padding:12px 10px calc(18px + var(--safe-bottom))}.page{width:100%}.page-heading{margin-bottom:14px}.dashboard-hero,.dashboard-summary-strip,.dashboard-actions-grid,.hero-info-strip,.content-filters-grid,.updates-grid,.content-grid,.content-form,.content-filters,.content-workspace,.result-details-layout,.scanner-summary-grid,.diagnostics-grid,.gis-layout,.portal-cards{grid-template-columns:1fr}.dashboard-hero{gap:12px;padding:16px}.hero-copy h2{font-size:24px}.hero-visual{min-height:240px}.hero-visual-portrait{width:min(48%,200px)}.dashboard-action{min-height:88px}.dashboard-content-grid,.class-students-grid,.student-cards-grid,.messages-layout{grid-template-columns:1fr}.class-students-grid,.student-card-workbench,.classmode-layout,.content-workspace,.portal-cards{gap:12px}.classmode-board-stage{min-height:460px}.classmode-resource-preview{inset:12px 12px auto 12px;max-width:calc(100% - 24px)}.classmode-student-row{grid-template-columns:46px 1fr auto}.classmode-student-row>:nth-child(4){display:none}.classmode-student-actions,.annotation-controls,.student-card-toolbar,.content-form-grid,.content-page-actions,.lesson-resource-actions,.lesson-game-actions{grid-template-columns:1fr}.student-card-toolbar{align-items:stretch}.student-card-workbench{display:grid}.student-card-face{aspect-ratio:auto;min-height:520px}.front-card,.back-card{grid-template-columns:1fr}.front-hero{border-left:0;border-bottom:1px solid #d7ad3555}.back-portrait-ring{width:176px;height:176px}.back-portrait-plate{width:156px;height:156px}.auth-brand-panel{min-height:280px;padding:22px}.auth-form-panel,.lock-card,.lock-hero-panel{padding:16px;border-radius:22px}.auth-card{border-radius:22px}.auth-role-grid,.lock-role-grid{grid-template-columns:1fr 1fr}.lock-pin-label input{font-size:22px;letter-spacing:6px}.lock-hero-text{font-size:15px}.classmode-hero-copy h2{font-size:28px}.classmode-board-stage .class-board-canvas-shell{width:100%;height:100%;transform:none}.classmode-board-stage .class-board-canvas{top:0;right:0;bottom:0;left:0}.classmode-board-stage .class-board-canvas-shell,.classmode-board-stage .class-board-canvas{position:absolute}.classmode-students-list{max-height:300px}.dashboard-summary-strip>div,.dashboard-actions-grid button,.classmode-tool-group button,.classmode-flow-row button,.classmode-resource-actions button,.content-page-actions button,.lesson-resource-actions button,.lesson-game-actions button{min-height:46px}}@media(max-width:480px){.auth-screen,.lock-screen{padding:10px}.dashboard-actions-grid,.dashboard-summary-strip{grid-template-columns:1fr}.hero-info-strip{grid-template-columns:1fr 1fr}.classmode-metrics>div,.dashboard-summary-strip>div{min-width:0}.classmode-board-stage{min-height:410px}.student-card-face{min-height:460px}.lock-brand-chip,.auth-role-pill{font-size:12px}.hero-visual-copy strong{font-size:18px}.page-heading h2{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.screen-stage{animation:none}}@media(min-width:801px){.app-shell:not(.lesson-mode-shell){direction:ltr;grid-template-columns:224px minmax(0,1fr);background:#070706}.app-shell:not(.lesson-mode-shell)>.sidebar,.app-shell:not(.lesson-mode-shell)>.app-content{direction:rtl}.app-shell:not(.lesson-mode-shell)>.sidebar{left:0;right:auto;background:radial-gradient(circle at 50% 0%,rgba(215,173,53,.13),transparent 22%),linear-gradient(180deg,#090908,#10100f 52%,#070707);border-left:0;border-right:1px solid rgba(215,173,53,.2);padding:15px 12px;overflow-y:auto}.app-shell:not(.lesson-mode-shell)>.app-content{padding:0;background:#070706}}.sidebar .brand-panel{justify-content:center;text-align:center;flex-direction:column;gap:8px;padding:10px 4px 16px;border-bottom-color:rgba(215,173,53,.16)}.sidebar .brand-avatar-photo{width:88px;height:88px;border-radius:50%;padding:5px;border:1px solid rgba(215,173,53,.75);background:radial-gradient(circle,rgba(215,173,53,.25),rgba(0,0,0,.5))}.sidebar .brand-avatar-photo img{border-radius:50%;object-fit:cover}.sidebar .brand-panel h1{font-size:2rem;line-height:1}.sidebar .brand-panel p{color:#e3b85a}.sidebar .brand-panel small{color:#ae9561}.sidebar .sidebar-role-card,.sidebar .session-mini-card{display:none}.sidebar .sidebar-nav{margin-top:10px;gap:2px}.sidebar .sidebar-nav button{min-height:44px;border-radius:10px;padding:9px 10px;color:#f1eee7}.sidebar .sidebar-nav button:hover,.sidebar .sidebar-nav button.active{background:linear-gradient(90deg,rgba(215,173,53,.22),rgba(215,173,53,.08));border:1px solid rgba(215,173,53,.25);color:#f4ce78}.sidebar .nav-copy small,.sidebar .nav-arrow{display:none}.sidebar .nav-icon{color:#e0ac42}.sidebar .sidebar-footer{background:transparent;border:1px solid rgba(215,173,53,.2)}.dashboard-reference-layout{width:100%;max-width:none;min-height:100vh;padding:0 14px 16px;color:#f8ead0;background:radial-gradient(circle at 52% 18%,rgba(177,102,24,.08),transparent 28%),linear-gradient(180deg,#080807,#0d0b08 55%,#070706)}.dashboard-desktop-topbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 8px;border-bottom:1px solid rgba(215,173,53,.13)}.dashboard-search-wrap{width:min(520px,48vw);height:48px;position:relative;display:flex;align-items:center;gap:10px;padding:0 15px;border-radius:12px;background:rgba(11,11,10,.93);border:1px solid rgba(215,173,53,.27);color:#d6a23d;z-index:25}.dashboard-search-wrap input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#fff5df;font-size:1rem}.dashboard-search-wrap>button,.dashboard-search-results-head button{border:0;background:transparent;color:#d8b56d;display:grid;place-items:center}.dashboard-search-results{position:absolute;top:calc(100% + 8px);right:0;left:0;padding:8px;border-radius:14px;background:rgba(10,10,9,.98);border:1px solid rgba(215,173,53,.28);box-shadow:0 24px 50px rgba(0,0,0,.733)}.dashboard-search-results-head{display:flex;justify-content:space-between;padding:7px 8px 10px;color:#e8c373}.dashboard-search-results>button{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:0;border-radius:10px;text-align:right;color:#f7ecd5;background:transparent}.dashboard-search-results>button:hover{background:rgba(215,173,53,.1)}.dashboard-search-results>button span:nth-child(2){display:grid;gap:2px}.dashboard-search-results small{color:#a8997d}.dashboard-search-result-icon{width:30px;height:30px;display:grid;place-items:center;color:#e1ae49;background:rgba(215,173,53,.1);border-radius:8px}.dashboard-search-empty{padding:15px;text-align:center;color:#a89c84}.dashboard-account-strip{display:flex;align-items:center;gap:14px}.dashboard-bell{position:relative;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#e1b75f;border-left:1px solid rgba(215,173,53,.14)}.dashboard-bell b{position:absolute;top:1px;right:2px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#c5332e;color:#fff;font-size:10px}.dashboard-account{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#f3e6ca;text-align:right}.dashboard-account span{display:grid;gap:2px}.dashboard-account small{color:#a99a7c}.dashboard-account img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid #b88328}.dashboard-reference-hero{min-height:430px;display:grid;grid-template-columns:minmax(340px,1.15fr) minmax(350px,.95fr) minmax(260px,.78fr);overflow:hidden;position:relative;border:1px solid rgba(215,173,53,.18);border-radius:0 0 18px 18px;background:linear-gradient(90deg,rgba(2,2,2,.98),rgba(13,9,6,.88) 35%,rgba(12,9,7,.35) 68%,rgba(3,3,3,.93)),repeating-linear-gradient(90deg,rgba(115,73,33,.06) 0,rgba(115,73,33,.06) 1px,transparent 1px,transparent 54px),#0b0907}.dashboard-reference-copy{position:relative;z-index:3;align-self:center;padding:34px 38px}.dashboard-reference-kicker{display:block;color:#e6b85b;font-size:1.8rem;font-weight:800}.dashboard-reference-copy h2{margin:-2px 0 0;font-size:clamp(4.5rem,7vw,7.2rem);line-height:.95;color:#e5ad43;text-shadow:0 5px 24px #000}.dashboard-reference-copy h3{margin:14px 0 18px;font-size:2.2rem;color:#d99d36}.dashboard-reference-copy p{max-width:560px;margin:0;line-height:2;color:#ede5d8;font-size:1.05rem}.dashboard-reference-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.dashboard-reference-cta button{min-height:48px;padding:0 24px;border-radius:9px;display:inline-flex;align-items:center;gap:10px}.dashboard-reference-portrait{position:relative;min-height:430px;overflow:hidden}.dashboard-reference-portrait>img{position:absolute;z-index:3;right:13%;bottom:-10px;width:min(88%,430px);height:90%;object-fit:cover;object-position:center top;filter:saturate(.83) contrast(1.07);border-radius:45% 45% 8px 8px;-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,#000 82%,transparent 100%)}.dashboard-map-paper{position:absolute;top:0;right:-8%;left:16%;height:72%;padding:20px;color:#21160d;text-align:center;background:radial-gradient(circle at 25% 45%,transparent 0 8%,rgba(61,36,16,.26) 8.5% 9%,transparent 9.5%),repeating-radial-gradient(ellipse at 60% 50%,rgba(77,43,17,.2) 0 1px,transparent 2px 18px),linear-gradient(135deg,#a36d2f,#6f421f 48%,#b17b3b);opacity:.72;transform:perspective(600px) rotateY(-6deg)}.dashboard-map-paper span,.dashboard-map-paper small{display:block;font-weight:900}.dashboard-banner{position:absolute;z-index:2;top:30px;left:4%;width:115px;min-height:185px;padding:16px 10px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:16px;text-align:center;color:#b8782e;background:linear-gradient(180deg,#12100e,#090807);border:1px solid rgba(180,116,41,.5)}.dashboard-banner span{writing-mode:vertical-rl;font-size:1.3rem}.dashboard-history-books{position:absolute;z-index:4;bottom:20px;left:0;display:grid;gap:4px;transform:rotate(-4deg)}.dashboard-history-books span{padding:7px 18px;border-radius:4px;color:#d6a956;background:linear-gradient(90deg,#2d1b0e,#4b2b13,#26160b);border:1px solid #7b4b20;box-shadow:0 5px 8px rgba(0,0,0,.533)}.dashboard-today-panel{margin:14px;padding:18px;align-self:stretch;border-radius:14px;background:rgba(10,10,9,.94);border:1px solid rgba(215,173,53,.24);box-shadow:0 20px 40px rgba(0,0,0,.467)}.dashboard-today-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid rgba(215,173,53,.13);color:#e7b95b}.dashboard-today-head div{display:grid;gap:4px}.dashboard-today-head strong{font-size:1.3rem;color:#fff0cf}.dashboard-today-head small{color:#c99b42}.dashboard-today-list{display:grid;gap:3px;padding:12px 0}.dashboard-today-list>button{width:100%;min-height:52px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;border:0;border-bottom:1px solid rgba(255,255,255,.05);color:#eee4d1;background:transparent;text-align:right}.dashboard-today-list>button:hover{background:rgba(215,173,53,.07)}.dashboard-today-list small{color:#d2c6af;direction:rtl}.schedule-dot{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff}.schedule-dot.tone-1{background:#1974a8}.schedule-dot.tone-2{background:#2c8848}.schedule-dot.tone-3{background:#b96c12}.schedule-dot.tone-4{background:#7b3fa1}.dashboard-full-schedule{width:100%;min-height:45px;display:flex;justify-content:center;align-items:center;gap:9px;border-radius:9px;border:1px solid rgba(215,173,53,.28);color:#e8bd65;background:transparent}.dashboard-today-empty{padding:18px;text-align:center;color:#a59577}.dashboard-feature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:14px 5px}.dashboard-feature-card{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 12px;border-radius:14px;border:1px solid rgba(215,173,53,.18);color:#f6ead0;background:linear-gradient(180deg,#141310,#0c0c0b);box-shadow:inset 0 1px rgba(255,255,255,.03),0 12px 25px rgba(0,0,0,.267);text-align:center}.dashboard-feature-card:hover{transform:translateY(-3px);border-color:rgba(215,173,53,.45)}.dashboard-feature-icon{width:58px;height:58px;border-radius:12px;display:grid;place-items:center;color:#fff}.dashboard-feature-card.violet .dashboard-feature-icon{background:linear-gradient(145deg,#7532a5,#3c175a)}.dashboard-feature-card.green .dashboard-feature-icon{background:linear-gradient(145deg,#4d9f5c,#205c2a)}.dashboard-feature-card.blue .dashboard-feature-icon{background:linear-gradient(145deg,#187bb0,#0a496f)}.dashboard-feature-card.red .dashboard-feature-icon{background:linear-gradient(145deg,#b8403c,#6b1c1a)}.dashboard-feature-card.amber .dashboard-feature-icon{background:linear-gradient(145deg,#be862e,#765015)}.dashboard-feature-card.orange .dashboard-feature-icon{background:linear-gradient(145deg,#bd721a,#6e3c0b)}.dashboard-feature-card strong{font-size:1.2rem;color:#e5b75b}.dashboard-feature-card small{min-height:43px;color:#c8c0b1;line-height:1.65}.dashboard-feature-link{margin-top:4px;width:100%;min-height:38px;display:flex;justify-content:center;align-items:center;gap:8px;border:1px solid rgba(215,173,53,.2);border-radius:8px;color:#d9a94c}.dashboard-reference-bottom{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:12px;padding:0 5px}.dashboard-current-class-card,.dashboard-lower-panel{min-height:208px;border-radius:14px;border:1px solid rgba(215,173,53,.18);background:linear-gradient(180deg,#12110f,#090908)}.dashboard-current-class-card{display:grid;grid-template-columns:135px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 14px;padding:16px}.dashboard-current-art{grid-row:1/3;border-radius:12px;display:grid;place-content:center;gap:9px;color:#ba772a;background:radial-gradient(circle,#3f2815,#130e09 68%);border:1px solid rgba(177,107,34,.32)}.dashboard-current-class-card span,.dashboard-lower-title{color:#e4b459}.dashboard-current-class-card h3{margin:7px 0;color:#fff2d5}.dashboard-current-class-card p{margin:0;color:#beb29f}.dashboard-current-class-card>div:nth-child(2)>strong{display:block;margin-top:10px;color:#e2a747;font-size:1.5rem;direction:ltr;text-align:right}.dashboard-current-class-card>button,.dashboard-lower-link{min-height:36px;border-radius:8px;border:1px solid rgba(215,173,53,.2);color:#e4b45b;background:transparent}.dashboard-lower-panel{padding:14px;display:grid;grid-template-rows:auto 1fr auto}.dashboard-lower-title{display:flex;align-items:center;justify-content:center;gap:8px;padding-bottom:10px;border-bottom:1px solid rgba(215,173,53,.13)}.dashboard-announcement-list{display:grid;align-content:center;gap:8px;padding:8px 0}.dashboard-announcement-list>button{display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;align-items:center;padding:7px 4px;border:0;background:transparent;text-align:right;color:#f3e8d2}.dashboard-announcement-list i{width:8px;height:8px;border-radius:50%;background:#d9a22f}.dashboard-announcement-list i.red{background:#d6423d}.dashboard-announcement-list i.orange{background:#ef8c22}.dashboard-announcement-list span{display:grid;gap:3px}.dashboard-announcement-list small{color:#a99e89}.dashboard-hidden-live-metrics{display:none}.whiteboard-page{width:100%;max-width:none;min-height:100vh;padding:8px;color:#f8e8bf;background:radial-gradient(circle at 50% 0%,rgba(151,91,28,.16),transparent 24%),linear-gradient(180deg,#0e0b08,#080706)}.whiteboard-page.css-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;overflow:auto}.whiteboard-reference-header{min-height:118px;display:grid;grid-template-columns:260px minmax(300px,1fr) 310px;align-items:center;gap:14px;padding:9px 16px;border:1px solid rgba(215,173,53,.32);border-radius:16px 16px 0 0;background:linear-gradient(90deg,rgba(19,13,8,.98),rgba(139,90,39,.72),rgba(34,20,11,.95)),repeating-linear-gradient(30deg,transparent 0 13px,rgba(0,0,0,.12) 14px 15px)}.whiteboard-brand-flag,.whiteboard-teacher-card{display:flex;align-items:center;gap:12px}.whiteboard-brand-flag img{width:74px;height:74px;object-fit:contain}.whiteboard-brand-flag div,.whiteboard-teacher-card div{display:grid;gap:4px}.whiteboard-brand-flag strong{color:#e2ab43;font-size:2rem}.whiteboard-brand-flag small{color:#deb75e}.whiteboard-title-plaque{justify-self:center;min-width:min(440px,100%);padding:13px 34px;text-align:center;border:2px solid #7f5124;outline:1px solid #d2a34e;outline-offset:4px;border-radius:8px;background:linear-gradient(180deg,#1a100a,#080706);box-shadow:0 8px 20px rgba(0,0,0,.533)}.whiteboard-title-plaque span{display:block;font-size:2rem;color:#e3ad4a;font-weight:900}.whiteboard-title-plaque small{color:#d7c19b}.whiteboard-teacher-card{justify-content:flex-start}.whiteboard-teacher-card img{width:92px;height:92px;border-radius:50%;object-fit:cover;border:3px solid #b8792f;box-shadow:0 0 0 3px #24150b}.whiteboard-teacher-card strong{color:#e1ad4b;font-size:1.25rem}.whiteboard-teacher-card small{color:#d3c09c}.whiteboard-reference-layout{display:grid;grid-template-columns:92px minmax(0,1fr) 285px;gap:8px;min-height:calc(100vh - 190px);border-left:1px solid rgba(215,173,53,.25);border-right:1px solid rgba(215,173,53,.25);background:#070605}.whiteboard-tool-rail{padding:12px 7px;display:flex;flex-direction:column;gap:3px;background:linear-gradient(180deg,#17110c,#090706);border-left:1px solid rgba(215,173,53,.18)}.whiteboard-tool-rail button{min-height:54px;border:0;border-bottom:1px solid rgba(215,173,53,.12);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#d8c7a8;background:transparent;font-size:.72rem}.whiteboard-tool-rail button:hover,.whiteboard-tool-rail button.active{color:#f0c46a;background:rgba(215,173,53,.1)}.whiteboard-tool-rail button:disabled{opacity:.35}.whiteboard-rail-divider{height:1px;background:rgba(215,173,53,.25);margin:5px 4px}.whiteboard-paper-stage{min-width:0;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#15100b}.whiteboard-resource-strip{min-height:44px;display:flex;justify-content:space-between;gap:10px;padding:7px 10px;background:#0c0907;border-bottom:1px solid rgba(215,173,53,.17)}.whiteboard-resource-strip label{flex:1;display:flex;align-items:center;gap:8px;color:#dba747}.whiteboard-resource-strip select{width:min(500px,100%);min-height:32px;border-radius:8px;border:1px solid rgba(215,173,53,.22);background:#17110d;color:#f4e5c3;padding:0 9px}.whiteboard-shape-picker{display:flex;gap:5px}.whiteboard-shape-picker button{width:34px;border-radius:7px;border:1px solid rgba(215,173,53,.18);color:#d9b260;background:transparent}.whiteboard-shape-picker button.active{background:#d7ad35;color:#111}.whiteboard-canvas-viewport{position:relative;overflow:auto;min-height:650px;padding:16px;display:grid;place-items:center;background:radial-gradient(circle,#2b1d11,#0e0a07 72%)}.whiteboard-canvas-stack{position:relative;width:100%;max-width:1400px;aspect-ratio:1400/850;transform-origin:center;border:8px solid #5a3518;outline:2px solid #b3742e;background:radial-gradient(circle at 12% 18%,rgba(127,91,42,.07),transparent 18%),repeating-linear-gradient(0deg,rgba(98,74,39,.035) 0 1px,transparent 1px 30px),#f4ecd9;box-shadow:inset 0 0 40px rgba(101,65,28,.18),0 20px 45px rgba(0,0,0,.533)}.whiteboard-background-media,.whiteboard-drawing-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0}.whiteboard-background-media{object-fit:contain;z-index:1;background:#f4ecd9}.whiteboard-drawing-canvas{z-index:2;touch-action:none;cursor:crosshair}.whiteboard-bottom-toolbar{min-height:64px;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;padding:8px 13px;background:#0d0a08;border-top:1px solid rgba(215,173,53,.18)}.whiteboard-stroke-controls,.whiteboard-page-controls,.whiteboard-view-controls{display:flex;align-items:center;gap:7px}.whiteboard-stroke-controls button{width:26px;height:26px;padding:0;border-radius:50%;border:2px solid #2b241d}.whiteboard-stroke-controls button.active{outline:2px solid #d7ad35;outline-offset:2px}.whiteboard-stroke-controls select{min-height:32px;border-radius:7px;background:#16110d;border:1px solid #5c452c;color:#f4dfb8}.whiteboard-page-controls{justify-content:center;padding:5px 12px;border-radius:12px;background:#17110d;border:1px solid rgba(215,173,53,.16)}.whiteboard-page-controls button,.whiteboard-view-controls button{min-height:34px;display:inline-flex;align-items:center;gap:5px;border-radius:8px;border:1px solid rgba(215,173,53,.18);color:#e4bd6a;background:transparent}.whiteboard-view-controls{justify-content:flex-end}.whiteboard-view-controls .danger{color:#ff9b8d;border-color:rgba(214,66,61,.4)}.whiteboard-notice{position:absolute;z-index:20;right:50%;bottom:78px;transform:translate(50%);max-width:80%;padding:10px 15px;border-radius:10px;border:1px solid rgba(215,173,53,.35);background:rgba(6,5,4,.94);color:#efc873;box-shadow:0 15px 35px rgba(0,0,0,.533)}.whiteboard-students-panel{display:grid;grid-template-rows:auto 1fr auto;min-width:0;background:linear-gradient(180deg,#16100b,#080706);border-right:1px solid rgba(215,173,53,.18)}.whiteboard-students-head{min-height:58px;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;color:#e0ad4e;border-bottom:1px solid rgba(215,173,53,.18)}.whiteboard-students-head small{color:#a9936d}.whiteboard-students-list{overflow:auto;padding:8px}.whiteboard-students-list>div{min-height:46px;display:grid;grid-template-columns:30px minmax(0,1fr) 42px 30px;align-items:center;gap:5px;padding:5px 7px;border-bottom:1px solid rgba(215,173,53,.1)}.whiteboard-students-list>div>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;border:1px solid #8d6026;color:#e7bd63}.whiteboard-students-list strong{color:#f1e5cd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whiteboard-students-list b{text-align:center;color:#e8ba5d}.whiteboard-students-list button{width:27px;height:27px;border-radius:6px;border:0;background:#d6a33e;color:#1a1107;display:grid;place-items:center}.whiteboard-motto{min-height:100px;display:grid;place-content:center;gap:3px;text-align:center;color:#dcb05a;border-top:1px solid rgba(215,173,53,.16)}.whiteboard-motto span{color:#bca783}.whiteboard-book-mark{font-size:1.7rem}.whiteboard-reference-footer{min-height:62px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 15px;border:1px solid rgba(215,173,53,.25);border-radius:0 0 15px 15px;background:#0b0907}.whiteboard-reference-footer button{min-height:38px;display:inline-flex;align-items:center;gap:7px;border-radius:8px;border:1px solid rgba(215,173,53,.24);color:#e5bd68;background:transparent}.whiteboard-reference-footer span{color:#a89777}@media(max-width:1320px){.dashboard-reference-hero{grid-template-columns:1.1fr .9fr}.dashboard-today-panel{grid-column:1/-1;display:grid;grid-template-columns:230px minmax(0,1fr) 190px;align-items:center}.dashboard-today-head{border-bottom:0;border-left:1px solid rgba(215,173,53,.13);padding-left:15px}.dashboard-today-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-feature-card{min-height:190px}.whiteboard-reference-layout{grid-template-columns:82px minmax(0,1fr) 245px}}@media(max-width:980px){.dashboard-reference-hero{grid-template-columns:1fr}.dashboard-reference-portrait{min-height:360px}.dashboard-today-panel{grid-column:auto;display:block}.dashboard-today-head{border-left:0;border-bottom:1px solid rgba(215,173,53,.13)}.dashboard-reference-bottom{grid-template-columns:1fr}.whiteboard-reference-header{grid-template-columns:1fr 1fr}.whiteboard-title-plaque{grid-column:1/-1;grid-row:1}.whiteboard-reference-layout{grid-template-columns:76px minmax(0,1fr)}.whiteboard-students-panel{grid-column:1/-1;max-height:330px}.whiteboard-students-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.whiteboard-reference-footer{flex-wrap:wrap}}@media(max-width:800px){.dashboard-reference-layout{padding:0 8px 12px}.dashboard-desktop-topbar{padding-top:10px}.dashboard-search-wrap{width:100%}.dashboard-account-strip{display:none}.dashboard-reference-copy{padding:28px 20px}.dashboard-reference-copy h2{font-size:4.6rem}.dashboard-reference-copy h3{font-size:1.8rem}.dashboard-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:0}.dashboard-feature-card{min-height:170px}.dashboard-reference-bottom{padding-inline:0}.whiteboard-page{padding:4px}.whiteboard-reference-header{grid-template-columns:1fr}.whiteboard-title-plaque{grid-column:auto;grid-row:auto;min-width:0}.whiteboard-teacher-card{display:none}.whiteboard-reference-layout{grid-template-columns:58px minmax(0,1fr)}.whiteboard-tool-rail button{min-height:48px}.whiteboard-tool-rail button span{display:none}.whiteboard-canvas-viewport{min-height:520px;padding:7px}.whiteboard-bottom-toolbar{grid-template-columns:1fr}.whiteboard-stroke-controls,.whiteboard-page-controls,.whiteboard-view-controls{justify-content:center;flex-wrap:wrap}.whiteboard-students-list{grid-template-columns:1fr}}@media(max-width:520px){.dashboard-feature-grid{grid-template-columns:1fr}.dashboard-reference-copy h2{font-size:3.7rem}.dashboard-reference-portrait{min-height:300px}.dashboard-today-list{grid-template-columns:1fr}.whiteboard-reference-layout{grid-template-columns:50px minmax(0,1fr)}.whiteboard-brand-flag img{width:55px;height:55px}.whiteboard-brand-flag strong{font-size:1.5rem}.whiteboard-title-plaque span{font-size:1.45rem}.whiteboard-resource-strip{flex-direction:column}.whiteboard-canvas-viewport{min-height:430px}}.whiteboard-pdf-nav{display:flex;align-items:center;gap:7px;color:#e0b65e;white-space:nowrap}.whiteboard-pdf-nav button{width:30px;height:30px;border-radius:7px;border:1px solid rgba(215,173,53,.22);background:#17110d;color:#e5bd68}.whiteboard-pdf-loading{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:rgba(244,236,217,.86);color:#5d421a;font-weight:800;pointer-events:none}.classmode-pdf-status{position:absolute;inset:auto 18px 18px;z-index:4;padding:9px 12px;border-radius:10px;background:rgba(12,9,6,.9);color:#efc56d;border:1px solid rgba(215,173,53,.3);font-weight:800}.classmode-pdf-status.error{color:#ffb4a8;border-color:rgba(220,38,38,.45)}.class-stamp.selected{outline:2px dashed #d7ad35;outline-offset:7px}.classmode-tool-group button:disabled{opacity:.38;cursor:not-allowed}.student-attendance-mini{width:26px;height:26px;border-radius:7px;border:1px solid rgba(255,255,255,.15);background:#17130f;color:#d8c7a6;font-size:.68rem;font-weight:900}.student-attendance-mini.present.selected{background:#15803d;color:#fff;border-color:#4ade80}.student-attendance-mini.late.selected{background:#b45309;color:#fff;border-color:#fbbf24}.student-attendance-mini.absent.selected{background:#b91c1c;color:#fff;border-color:#fb7185}.recording-active{background:#b91c1c!important;color:#fff!important;border-color:#ef4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.16);animation:recordingPulse 1.2s infinite}@keyframes recordingPulse{50%{box-shadow:0 0 0 9px rgba(239,68,68,.04)}}.classmode-student-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:210;background:rgba(0,0,0,.72);backdrop-filter:blur(7px);display:grid;justify-items:end}.classmode-student-drawer{width:min(720px,94vw);height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:linear-gradient(180deg,#17110d,#080706);border-right:1px solid rgba(215,173,53,.35);box-shadow:-25px 0 70px #000;padding:18px}.classmode-student-drawer>header,.classmode-student-drawer>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid rgba(215,173,53,.16);background:rgba(255,255,255,.03);border-radius:15px}.classmode-student-drawer h3{margin:5px 0 0;color:#f6dfa5}.classmode-student-drawer-list{overflow:auto;display:grid;gap:8px;padding:12px 0;align-content:start}.classmode-student-drawer-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035)}.classmode-student-drawer-row strong,.classmode-student-drawer-row small{display:block}.classmode-student-drawer-row strong{color:#fff1d0}.classmode-student-drawer-row small{color:#a99776;margin-top:4px}.drawer-attendance-actions,.drawer-point-actions{display:flex;align-items:center;gap:6px}.drawer-attendance-actions button,.drawer-point-actions button{min-height:34px;border-radius:9px;border:1px solid rgba(215,173,53,.2);background:#15110e;color:#e5c886;padding:5px 10px}.drawer-attendance-actions .selected.present{background:#15803d;color:#fff}.drawer-attendance-actions .selected.late{background:#b45309;color:#fff}.drawer-attendance-actions .selected.absent{background:#b91c1c;color:#fff}.drawer-point-actions b{min-width:34px;text-align:center;color:#efc56d}@media(max-width:700px){.classmode-student-drawer-row{grid-template-columns:1fr}.classmode-student-drawer>footer{flex-wrap:wrap}.drawer-attendance-actions,.drawer-point-actions{justify-content:center}}.map-challenge-pro{width:100%;max-width:none;padding:0;background:#07090b;color:#f4e9cf;border:1px solid rgba(215,173,53,.22);border-radius:18px;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.533)}.map-game-topbar{min-height:72px;display:grid;grid-template-columns:1fr auto 250px;align-items:center;gap:16px;padding:9px 18px;background:linear-gradient(90deg,#16191d,#24251f 58%,#12110e);border-bottom:1px solid rgba(215,173,53,.22)}.map-player-profile,.map-game-title{display:flex;align-items:center;gap:10px}.map-player-profile img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #d7ad35}.map-player-profile strong,.map-player-profile small,.map-game-title strong,.map-game-title small{display:block}.map-player-profile small,.map-game-title small{color:#a99d87;font-size:.75rem;margin-top:3px}.map-game-title{justify-content:flex-end;color:#e9bf61}.map-game-counters{display:flex;gap:18px;align-items:center}.map-game-counters span{white-space:nowrap;color:#d6c7a9}.map-game-counters b{color:#f4ca68}.map-game-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 290px;min-height:760px;direction:ltr}.map-game-layout>*{direction:rtl}.map-game-nav{display:grid;grid-template-rows:auto auto 1fr;background:linear-gradient(180deg,#111317,#080a0d);border-right:1px solid rgba(215,173,53,.2);padding:15px 11px}.map-game-brand{display:grid;justify-items:center;gap:7px;padding:4px 6px 17px;color:#e5ba58;border-bottom:1px solid rgba(215,173,53,.17)}.map-game-brand img{width:72px;height:72px;object-fit:contain}.map-game-brand strong{font-size:1.35rem}.map-game-nav nav,.map-game-secondary-nav{display:grid;align-content:start;gap:5px;padding-top:12px}.map-game-nav button{min-height:48px;display:flex;align-items:center;gap:10px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:#c9c3b8;text-align:right;font-weight:800}.map-game-nav button:hover,.map-game-nav button.active{background:linear-gradient(90deg,rgba(215,173,53,.23),rgba(215,173,53,.05));color:#f1cc78;box-shadow:inset -3px 0 #d7ad35}.map-game-secondary-nav{align-self:end;border-top:1px solid rgba(215,173,53,.13)}.map-game-main{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#07111a;overflow:hidden}.map-game-toolbar{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:rgba(9,13,16,.96);border-bottom:1px solid rgba(215,173,53,.14)}.map-region-tabs,.map-view-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.map-region-tabs button,.map-view-tools button{min-height:34px;border:1px solid rgba(215,173,53,.16);border-radius:8px;background:#12161a;color:#cbbd9e;padding:6px 11px}.map-region-tabs button.active,.map-view-tools button:hover{background:#d7ad35;color:#111;border-color:#d7ad35}.map-game-canvas-shell{position:relative;min-height:620px;overflow:auto;background:#05223a}.map-game-loading{position:absolute;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:rgba(6,26,44,.92);color:#efc66c;font-weight:900}.map-pro-stage{position:relative;width:100%;height:100%;min-height:620px;overflow:hidden;background:radial-gradient(circle at 50% 40%,#134b68,#041522 75%)}.map-pro-transform{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;transition:transform .2s ease}.map-pro-svg,.map-pro-draw-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.map-pro-svg{filter:saturate(1.08) contrast(1.06)}.map-pro-country{stroke:#d8cc9a;stroke-width:1.2;vector-effect:non-scaling-stroke;transition:filter .15s,fill .15s,stroke-width .15s}.map-pro-country.clickable{cursor:pointer}.map-pro-country.clickable:hover,.map-pro-country.highlighted{filter:brightness(1.25) drop-shadow(0 0 8px #f1c34a);stroke:#fff1a5;stroke-width:2.3}.map-pro-label,.map-pro-feature-label{font:700 12px Tahoma,Arial,sans-serif;fill:#fff8dd;stroke:#111;stroke-width:3px;paint-order:stroke;pointer-events:none;text-anchor:middle}.map-pro-feature-label{text-anchor:start;font-size:13px}.map-pro-marker{cursor:pointer}.map-pro-marker:hover circle:nth-of-type(2),.map-pro-marker.highlighted circle:nth-of-type(2){stroke:#fff4b4;stroke-width:4}.map-pro-compass circle{fill:rgba(9,19,26,.8);stroke:#d7ad35;stroke-width:2}.map-pro-compass path{fill:#e3b44d;stroke:#fff1bf}.map-pro-compass text{fill:#f5d98f;text-anchor:middle;font:800 15px Tahoma}.map-pro-placement{position:absolute;transform:translate(-50%,-50%);min-width:95px;padding:7px 9px;border-radius:10px;border:2px solid var(--placement-color);background:rgba(8,11,14,.86);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.533)}.map-pro-placement strong,.map-pro-placement small{display:block}.map-pro-placement small{color:#cfc3ab;font-size:.67rem}.map-pro-draw-canvas{z-index:7;pointer-events:none;touch-action:none}.map-drawing-tools{position:absolute;z-index:12;right:14px;bottom:15px;display:flex;gap:5px;padding:6px;border-radius:11px;background:rgba(9,13,17,.91);border:1px solid rgba(215,173,53,.23);box-shadow:0 10px 30px rgba(0,0,0,.467)}.map-drawing-tools button{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;border:1px solid rgba(215,173,53,.18);background:#171b20;color:#d8bd82}.map-drawing-tools button.active{background:#d7ad35;color:#111}.map-drawing-tools input{width:34px;height:34px;border:0;background:transparent;padding:0}.map-layer-dock{min-height:60px;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 10px;background:#0c0e11;border-top:1px solid rgba(215,173,53,.18);overflow:auto}.map-layer-dock button{min-width:120px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;background:transparent;color:#bdb5a5}.map-layer-dock button.active,.map-layer-dock button:hover{color:#f2ca6b;border-color:rgba(215,173,53,.3);background:rgba(215,173,53,.09)}.map-game-question-panel{min-width:0;display:flex;flex-direction:column;gap:12px;padding:15px;background:linear-gradient(180deg,#171a1e,#0a0c0f);border-left:1px solid rgba(215,173,53,.2)}.map-question-progress{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;color:#d7c7a9;font-size:.8rem}.map-question-progress b{color:#efc66c}.map-question-progress i{grid-column:1/-1;height:8px;border-radius:99px;background:#303238;overflow:hidden}.map-question-progress em{display:block;height:100%;background:linear-gradient(90deg,#b67c1a,#f2ce72)}.map-question-copy{min-height:150px;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;border-radius:14px;background:radial-gradient(circle at top,#d7ad351d,transparent 60%),#0d1014;border:1px solid rgba(215,173,53,.14);padding:15px}.map-question-copy svg{color:#e4b84f}.map-question-copy small{color:#9f9688}.map-question-copy h3{margin:0;color:#f7ebd3;line-height:1.6;font-size:1.05rem}.map-question-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.map-question-stats div{padding:10px;border-radius:10px;background:#0e1115;border:1px solid rgba(255,255,255,.06);text-align:center}.map-question-stats span,.map-question-stats strong{display:block}.map-question-stats span{color:#938a7c;font-size:.7rem}.map-question-stats strong{color:#efc66c;font-size:1rem;margin-top:3px}.map-lives{display:flex;justify-content:center;gap:7px;font-size:1.4rem;color:#3c3d40}.map-lives .alive{color:#dc3f43;text-shadow:0 0 8px #dc3f4388}.map-build-palette{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:250px;overflow:auto}.map-build-palette button{padding:8px;border-radius:8px;border:1px solid rgba(215,173,53,.3);border-right:5px solid var(--palette-color);background:#11151a;color:#eee;text-align:right;cursor:grab}.map-build-palette strong,.map-build-palette small{display:block}.map-build-palette small{color:#988f82;font-size:.65rem;margin-top:2px}.map-game-message{padding:9px 11px;border-radius:9px;background:#341315;border:1px solid #7f2e35;color:#ffc8cc;text-align:center;font-weight:800;font-size:.8rem}.map-game-message.good{background:#0d2d1b;border-color:#1f7544;color:#baf4ce}.map-question-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.map-question-actions button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;border:1px solid rgba(215,173,53,.23);background:#14181d;color:#e4c989;font-weight:800}.map-question-actions .map-start-button{grid-column:1/-1;background:linear-gradient(180deg,#e7bd5d,#a96d14);color:#15100a;border-color:#f2d384}.map-xp-reward{margin-top:auto;display:flex;align-items:center;gap:9px;padding:10px;border-radius:11px;background:#111419;border:1px solid rgba(215,173,53,.14);color:#e4b74f}.map-xp-reward div{flex:1}.map-xp-reward strong,.map-xp-reward small{display:block}.map-xp-reward small{color:#8d8579;font-size:.68rem}.classmode-map-embed .map-challenge-pro{border:0;border-radius:0;min-height:100%}.classmode-map-embed .map-game-topbar,.classmode-map-embed .map-game-nav{display:none}.classmode-map-embed .map-game-layout{grid-template-columns:minmax(0,1fr) 270px;min-height:780px}.classmode-map-embed .map-game-main{grid-column:1}.classmode-map-embed .map-game-question-panel{grid-column:2;grid-row:1}@media(max-width:1200px){.map-game-layout{grid-template-columns:180px minmax(0,1fr) 260px}.map-game-nav button{font-size:.78rem}.map-game-topbar{grid-template-columns:1fr auto 200px}.map-layer-dock button{min-width:100px}}@media(max-width:900px){.map-game-topbar{grid-template-columns:1fr auto}.map-game-title{display:none}.map-game-layout{grid-template-columns:1fr}.map-game-nav{grid-template-rows:auto auto}.map-game-brand{display:none}.map-game-nav nav{display:flex;overflow:auto;padding:7px 0}.map-game-nav nav button{min-width:145px}.map-game-secondary-nav{display:none}.map-game-question-panel{border-left:0;border-top:1px solid rgba(215,173,53,.2)}.map-game-canvas-shell,.map-pro-stage{min-height:520px}.classmode-map-embed .map-game-layout{grid-template-columns:1fr}.classmode-map-embed .map-game-question-panel{grid-column:1;grid-row:auto}}@media(max-width:600px){.map-game-topbar{grid-template-columns:1fr}.map-game-counters{justify-content:center}.map-game-layout{min-height:0}.map-game-toolbar{align-items:stretch;flex-direction:column}.map-region-tabs button{flex:1}.map-game-canvas-shell,.map-pro-stage{min-height:410px}.map-layer-dock{justify-content:flex-start}.map-layer-dock button{min-width:110px}.map-game-question-panel{padding:10px}.map-question-copy{min-height:120px}}.student-card-face{isolation:isolate;background:#070706;box-shadow:0 24px 65px rgba(0,0,0,.6),inset 0 0 0 2px rgba(215,173,53,.09)}.student-card-face:after{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:-1;pointer-events:none;border:1px solid rgba(229,184,82,.55);border-radius:19px;box-shadow:inset 0 0 28px rgba(215,173,53,.05)}.front-card{grid-template-columns:41% 59%;background:radial-gradient(circle at 16% 45%,rgba(198,132,38,.2),transparent 34%),linear-gradient(110deg,#17100a,#050505 52%,#0c0a08)}.front-panel-image:before{content:"خريطة العالم في العصور الوسطى";position:absolute;z-index:2;top:20px;right:20px;max-width:170px;color:#1d1208;background:rgba(221,174,92,.8);padding:5px 9px;border-radius:7px;font-weight:900;font-size:.72rem;box-shadow:0 3px 14px rgba(0,0,0,.333)}.front-panel-image:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 30% 30%,transparent 0 22%,rgba(0,0,0,.25) 70%),repeating-radial-gradient(ellipse at 85% 18%,rgba(201,150,70,.08) 0 1px,transparent 1px 11px);pointer-events:none}.front-panel-image img{object-position:center 18%;filter:saturate(.9) contrast(1.08) sepia(.08)}.front-panel-overlay{z-index:3;border-left:2px solid rgba(215,173,53,.48)}.front-panel-brand strong{font-size:clamp(2rem,4vw,3.6rem);text-shadow:0 3px 10px #000}.front-panel-brand span{font-size:1.1rem;font-weight:800}.front-panel-details{padding:22px 24px 20px;background:radial-gradient(circle at 80% 10%,rgba(215,173,53,.15),transparent 28%),linear-gradient(160deg,#0f0e0c,#050505)}.front-headline{padding-bottom:10px;border-bottom:1px solid rgba(215,173,53,.22)}.front-headline h3{font-size:clamp(1.8rem,3vw,3rem)}.front-headline .eyebrow{font-size:1rem}.front-round-mark{width:118px;height:118px;background:radial-gradient(circle,#24170a,#050505);box-shadow:0 0 0 5px rgba(215,173,53,.08)}.front-title-block{text-align:center;border-radius:13px;background:linear-gradient(90deg,rgba(215,173,53,.02),rgba(215,173,53,.1),rgba(215,173,53,.02))}.front-title-block h4{font-size:clamp(1.5rem,2.6vw,2.5rem)}.card-field-row{border-color:rgba(215,173,53,.24);background:linear-gradient(90deg,rgba(255,255,255,.024),rgba(215,173,53,.043))}.card-field-icon{background:linear-gradient(145deg,#f0c35f,#9e6113);color:#130d05}.card-field-copy strong{font-size:1.08rem}.front-barcode-card,.front-qr-card{border:3px solid #d7ad35;box-shadow:0 0 0 2px #111}.back-card{background:radial-gradient(circle at 50% 20%,rgba(215,173,53,.16),transparent 35%),linear-gradient(150deg,#0d0b08,#050505)}.back-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:repeating-linear-gradient(45deg,transparent 0 18px,rgba(215,173,53,.018) 18px 19px)}.back-banner{justify-content:center;border-bottom:1px solid rgba(215,173,53,.2);padding-bottom:10px}.back-benefits-panel,.back-copy-panel{background:linear-gradient(180deg,rgba(215,173,53,.043),rgba(0,0,0,.12));border-color:rgba(215,173,53,.3)}.back-portrait-ring{box-shadow:0 0 0 8px rgba(215,173,53,.07),0 20px 40px rgba(0,0,0,.467)}.back-copy-block h3,.back-benefits-panel h4{color:#efbd58}.back-signature:before{content:"✦ ───────── ✦";display:block;color:#b98223;margin-bottom:8px}.duplex-mode-control{display:grid;gap:7px;margin-top:12px;padding:12px;border-radius:14px;border:1px solid rgba(215,173,53,.18);background:rgba(215,173,53,.043)}.duplex-mode-control select{width:100%;min-height:42px;border-radius:10px;border:1px solid rgba(215,173,53,.25);background:#12100d;color:#f5dfad;padding:8px 10px}.duplex-mode-control small{color:#a99a7d;line-height:1.55}.print-sheet.duplex-mirrored{outline:2px dashed rgba(215,173,53,.22);outline-offset:-6px}@media print{html,body{width:297mm!important;min-height:210mm!important;margin:0!important;padding:0!important;background:#fff!important}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body *{visibility:hidden!important}.print-only,.print-only *{visibility:visible!important}.print-only{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:block!important;width:297mm!important;margin:0!important;padding:0!important}.print-run,.print-pack{margin:0!important;padding:0!important;display:block!important}.print-run-header,.print-pack-label,.print-run-separator{display:none!important}.print-pack-page{width:297mm!important;height:210mm!important;margin:0!important;padding:10mm!important;box-sizing:border-box!important;break-after:page!important;page-break-after:always!important;overflow:hidden!important}.print-sheet{width:277mm!important;height:190mm!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;outline:0!important}.print-sheet-grid{width:277mm!important;height:190mm!important;display:grid!important;grid-template-columns:repeat(var(--print-columns),minmax(0,1fr))!important;grid-template-rows:repeat(var(--print-rows),minmax(0,1fr))!important;gap:2mm!important;align-items:center!important;justify-items:center!important}.print-slot{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;overflow:hidden!important}.print-slot .student-card-face{width:100%!important;height:auto!important;max-height:100%!important;aspect-ratio:2.06/1!important;border-radius:2.4mm!important;border-width:.35mm!important;box-shadow:none!important;transform:none!important}.print-slot.empty-slot{opacity:0!important}@page{size:A4 landscape;margin:0}}.sidebar-desktop-toggle{position:absolute;top:18px;left:13px;z-index:4;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(215,173,53,.28);background:rgba(8,8,7,.82);color:#e7b24a;cursor:pointer}.sidebar-desktop-toggle:hover,.sidebar-desktop-toggle:focus-visible{background:rgba(215,173,53,.14);outline:2px solid rgba(215,173,53,.32);outline-offset:2px}.sidebar .brand-avatar-photo{padding:0;overflow:hidden;-webkit-appearance:none;appearance:none;cursor:pointer}.sidebar .brand-avatar-photo img{width:100%;height:100%;border-radius:inherit;object-fit:cover}@media(min-width:801px){.app-shell.sidebar-collapsed:not(.lesson-mode-shell){grid-template-columns:82px minmax(0,1fr)}.sidebar.collapsed{padding-inline:9px}.sidebar.collapsed .brand-panel{padding-top:54px}.sidebar.collapsed .brand-avatar-photo{width:56px;height:56px}.sidebar.collapsed .brand-panel>div,.sidebar.collapsed .nav-copy,.sidebar.collapsed .nav-arrow,.sidebar.collapsed .sidebar-footer>div,.sidebar.collapsed .sidebar-footer>b,.sidebar.collapsed .logout-btn{display:none!important}.sidebar.collapsed .sidebar-nav button{display:grid;grid-template-columns:1fr;place-items:center;padding-inline:0}.sidebar.collapsed .nav-icon{margin:0}.sidebar.collapsed .sidebar-footer{min-height:42px;border:0}}@media(max-width:800px){.sidebar-desktop-toggle{display:none}}.classmode-resource-preview .resource-preview-head{z-index:6}.classmode-resource-preview .resource-preview-body{top:66px;right:0;bottom:auto;left:0;width:calc(100% / var(--board-zoom, 1));height:calc((100% - 66px) / var(--board-zoom, 1));transform:scale(var(--board-zoom, 1));transform-origin:top left}.classmode-board-stage .class-board-canvas-shell.has-resource-head{top:66px;bottom:auto;height:calc((100% - 66px) / var(--board-zoom, 1))}.classmode-empty-resource{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:10px;padding:28px;text-align:center;color:#4a3a20;background:radial-gradient(circle at 50% 20%,rgba(215,173,53,.14),transparent 34%),#f6f0e1}.classmode-empty-resource p{max-width:520px;margin:0}@media(max-width:680px){.classmode-resource-preview{top:0;right:0;bottom:0;left:0;max-width:none;height:100%}.classmode-resource-preview .resource-preview-head{top:8px;right:8px;left:8px}.classmode-resource-preview .resource-preview-body,.classmode-board-stage .class-board-canvas-shell.has-resource-head{top:74px;height:calc((100% - 74px) / var(--board-zoom, 1))}}.map-build-palette button.active{background:rgba(215,173,53,.2);border-color:#efc66c;box-shadow:0 0 0 2px rgba(215,173,53,.12)}.library-system-page{display:grid;gap:14px}.library-heading{align-items:flex-end}.library-heading-actions{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.library-heading-actions label{display:grid;gap:5px;color:var(--muted);font-size:12px}.library-heading-actions select,.classmode-lesson-select{min-width:230px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;font:inherit;color:var(--ink)}.library-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.library-summary-strip article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px 15px;border:1px solid rgba(215,173,53,.24);border-radius:16px;background:linear-gradient(145deg,#111827,#1f2937);color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.133)}.library-summary-strip svg{color:#f0d478}.library-summary-strip span{font-size:12px;color:#d1d5db}.library-summary-strip strong{font-size:23px;color:#f0d478}.library-permanent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-permanent-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:18px;border-radius:20px;border:1px solid var(--line);background:#fff;position:relative;overflow:hidden}.library-permanent-card:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:5px;background:#b8bec9}.library-permanent-card.ready:before{background:#d7ad35}.library-permanent-card.ready{box-shadow:0 12px 30px rgba(17,24,39,.08)}.library-permanent-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:#111827;color:#f0d478;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.library-permanent-copy{min-width:0}.library-permanent-copy h3{margin:4px 0 6px}.library-permanent-copy p{margin:0 0 6px;color:var(--muted);font-size:12px;line-height:1.7}.library-permanent-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8a6510}.library-permanent-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.library-permanent-actions a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.library-notice{margin:0}.library-search-bar{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:15px}.library-search-bar input{border:0;outline:0;font:inherit;min-width:0;background:transparent}.library-search-bar>span{color:var(--muted);font-size:12px}.library-grade-accordions{display:grid;gap:10px}.library-grade-section{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}.library-grade-section.open{border-color:rgba(215,173,53,.5);box-shadow:0 8px 25px rgba(0,0,0,.05)}.library-grade-header{width:100%;background:linear-gradient(145deg,#fff,#f8fafc);padding:8px 12px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right}.library-grade-toggle{flex:1;min-width:0;border:0;background:transparent;padding:7px 5px;text-align:right;color:inherit}.library-grade-title{display:flex;align-items:center;gap:11px}.library-grade-title>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#111827;color:#f0d478}.library-grade-title strong{display:block;font-size:17px}.library-grade-title small{display:block;margin-top:4px;color:var(--muted)}.library-grade-add{display:inline-flex;align-items:center;gap:6px;border:1px solid #e6c665;color:#7a5700;border-radius:999px;padding:8px 11px;background:#fff8dd;font-weight:700;font-size:12px}.library-lessons-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 14px 14px;background:#fbfcfe}.library-lesson-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #e6e9ef;border-radius:16px;background:#fff;align-items:start}.library-lesson-thumbnail{width:92px;height:92px;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#111827,#334155);color:#f0d478;display:grid;place-items:center}.library-lesson-thumbnail img{width:100%;height:100%;object-fit:cover}.library-lesson-main{min-width:0}.library-lesson-main h3{margin:4px 0 6px}.library-lesson-main p{margin:0 0 8px;color:var(--muted);font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-lesson-meta,.library-media-chips{display:flex;gap:6px;flex-wrap:wrap}.library-lesson-meta span,.library-media-chips span{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:5px 7px;background:#f4f6f8;color:#4b5563;font-size:10px}.library-media-chips{margin-top:7px}.library-media-chips span{background:#fff7dc;color:#7a5700;border:1px solid #f0d47866}.library-lesson-actions{grid-column:1/-1;display:flex;gap:7px;align-items:center;justify-content:flex-end;padding-top:8px;border-top:1px solid #eef0f3}.library-empty-grade{grid-column:1/-1;min-height:150px}.library-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:rgba(2,5,11,.8);backdrop-filter:blur(5px);display:grid;place-items:center;padding:16px}.library-lesson-editor{width:min(980px,96vw);max-height:94vh;overflow:auto;border-radius:24px;background:#f8fafc;border:1px solid rgba(215,173,53,.5);box-shadow:0 30px 100px rgba(0,0,0,.667);padding:18px;display:grid;gap:14px}.library-lesson-editor>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:4px 4px 13px;border-bottom:1px solid var(--line)}.library-lesson-editor>header h2{margin:5px 0}.library-lesson-editor>header p{margin:0;color:var(--muted)}.library-editor-textbook-state{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:center;padding:13px;border:1px solid #e8cd75;border-radius:15px;background:#fff8df;color:#6c4d00}.library-editor-textbook-state small{display:block;margin-top:4px}.library-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-editor-grid label{display:grid;gap:5px;color:#374151;font-size:12px;font-weight:700}.library-editor-grid input,.library-editor-grid select,.library-editor-grid textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 11px;font:inherit;resize:vertical}.library-editor-grid .span-2{grid-column:1/-1}.library-editor-section{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff}.library-editor-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.library-editor-section-head strong{display:block}.library-editor-section-head small{display:block;color:var(--muted);margin-top:3px}.library-sequence-row{display:flex;gap:8px;flex-wrap:wrap}.library-sequence-row button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px}.library-sequence-row button.active{background:#111827;color:#f0d478;border-color:#111827}.library-editor-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.library-editor-media-grid article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:9px;border:1px solid #e8ebef;border-radius:13px;background:#fafbfc}.library-editor-media-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#111827;color:#f0d478}.library-editor-media-grid strong,.library-editor-media-grid small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-editor-media-grid small{color:var(--muted);margin-top:3px}.library-editor-empty-media{grid-column:1/-1;min-height:90px;display:grid;place-items:center;text-align:center;color:var(--muted)}.library-special-assets{grid-template-columns:1fr 1fr}.library-special-assets>div{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:9px;border:1px dashed #d8dde5;border-radius:13px}.library-special-assets small{display:block;color:var(--muted);margin-top:3px}.library-lesson-editor>footer{display:flex;justify-content:flex-end;gap:9px;position:sticky;bottom:-18px;margin:0 -18px -18px;padding:13px 18px;background:#fff;border-top:1px solid var(--line);z-index:2}.lesson-map-studio{height:100%;min-height:720px;display:grid;grid-template-columns:270px minmax(0,1fr);background:#07090b;color:#f4e9cf;border-radius:16px;overflow:hidden}.lesson-map-symbol-sidebar{min-width:0;border-left:1px solid rgba(215,173,53,.22);background:linear-gradient(180deg,#0f1214,#090b0d);padding:12px;display:flex;flex-direction:column;gap:10px;overflow:auto}.lesson-map-sidebar-title{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:start;padding:8px;border-radius:12px;background:rgba(255,255,255,.03)}.lesson-map-sidebar-title svg{color:#f0b84b}.lesson-map-sidebar-title strong,.lesson-map-sidebar-title small{display:block}.lesson-map-sidebar-title small{color:#b7aa91;margin-top:3px;font-size:10px}.lesson-map-group-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px}.lesson-map-group-tabs button,.lesson-map-region-tabs button,.lesson-map-layer-tabs button,.lesson-map-draw-tools button{border:1px solid rgba(215,173,53,.2);background:#101417;color:#d8c9ab;border-radius:9px;padding:7px 8px}.lesson-map-group-tabs button.active,.lesson-map-region-tabs button.active,.lesson-map-layer-tabs button.active,.lesson-map-draw-tools button.active{background:linear-gradient(145deg,#d7ad35,#a97116);color:#111;border-color:#f0d478}.lesson-map-symbol-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.lesson-map-symbol-list button{display:grid;grid-template-columns:34px 1fr;gap:7px;align-items:center;text-align:right;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.02);color:#f4e9cf;padding:7px}.lesson-map-symbol-list button>b{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#111;border:1px solid var(--symbol-color);color:var(--symbol-color);font-size:16px}.lesson-map-symbol-list strong,.lesson-map-symbol-list small{display:block}.lesson-map-symbol-list strong{font-size:11px}.lesson-map-symbol-list small{color:#988d79;font-size:8px;margin-top:2px}.lesson-map-symbol-list button.active{outline:2px solid var(--symbol-color);background:rgba(255,255,255,.055)}.lesson-map-custom-label{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center}.lesson-map-custom-label input,.lesson-map-search input{min-width:0;border:1px solid rgba(215,173,53,.22);background:#0d1114;color:#fff;border-radius:9px;padding:8px}.lesson-map-custom-label button{border:0;border-radius:9px;background:#d7ad35;color:#111;padding:8px}.lesson-map-placed-list{display:grid;gap:5px}.lesson-map-placed-list>strong{font-size:11px;color:#f0d478}.lesson-map-placed-list button{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);color:#ddd1bc;border-radius:8px;padding:6px 8px;display:flex;justify-content:space-between;gap:6px}.lesson-map-main{min-width:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;background:#07101a}.lesson-map-topbar{padding:9px 11px;border-bottom:1px solid rgba(215,173,53,.18);background:#0b0f13;display:grid;gap:7px}.lesson-map-recommendation{display:flex;gap:7px;align-items:center;font-size:11px;color:#d9c79f}.lesson-map-recommendation svg{color:#4ecb86}.lesson-map-region-tabs,.lesson-map-layer-tabs,.lesson-map-draw-tools{display:flex;gap:5px;flex-wrap:wrap}.lesson-map-region-tabs button{font-size:9px;padding:6px 8px}.lesson-map-region-tabs button.recommended:not(.active){border-color:#d7ad35;color:#f0d478;box-shadow:inset 0 0 0 1px rgba(215,173,53,.19)}.lesson-map-controlbar{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 10px;background:#101419;border-bottom:1px solid rgba(215,173,53,.14)}.lesson-map-layer-tabs button{font-size:9px}.lesson-map-draw-tools{justify-content:flex-end;align-items:center}.lesson-map-draw-tools button{display:inline-flex;align-items:center;gap:4px;padding:7px}.lesson-map-draw-tools button.save-needed{box-shadow:0 0 0 2px rgba(239,181,56,.533)}.lesson-map-draw-tools input[type=color]{width:30px;height:30px;border:0;background:transparent}.lesson-map-draw-tools input[type=range]{width:75px}.lesson-map-search-row{display:grid;grid-template-columns:minmax(260px,.8fr) 1fr;gap:8px;padding:8px 10px;background:#0c1116}.lesson-map-search{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:center;position:relative}.lesson-map-search-results{position:absolute;top:calc(100% + 4px);right:24px;left:0;z-index:10;display:grid;background:#11171d;border:1px solid #d7ad3555;border-radius:10px;padding:5px;box-shadow:0 15px 35px rgba(0,0,0,.667)}.lesson-map-search-results button{border:0;background:transparent;color:#fff;text-align:right;padding:7px;border-radius:7px;display:flex;justify-content:space-between}.lesson-map-search-results button:hover{background:rgba(255,255,255,.05)}.lesson-map-search-results small{color:#b6a98e}.lesson-map-selected-location{display:flex;gap:7px;align-items:center;color:#d5c6aa;font-size:11px}.lesson-map-canvas-shell{min-height:0;position:relative;overflow:hidden}.lesson-map-canvas-shell .map-pro-stage{height:100%;min-height:560px;border-radius:0}.lesson-map-footer-info{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:7px 10px;background:#0b0f13;border-top:1px solid rgba(215,173,53,.18);font-size:10px;color:#b7aa91}.lesson-map-footer-info strong{color:#f0d478}.map-pro-placement.geography-placement{transform:translate(-50%,-50%);min-width:62px;pointer-events:none;text-align:center;color:#fff;text-shadow:0 2px 4px #000}.map-pro-placement.geography-placement>b{display:grid;place-items:center;margin:auto;width:30px;height:30px;border-radius:50%;background:var(--placement-color);border:2px solid #fff9;color:#fff}.map-pro-placement.geography-placement>strong,.map-pro-placement.geography-placement>small{display:block;font-size:9px;margin-top:2px}.map-pro-draw-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;touch-action:none}.map-pro-draw-canvas.active{pointer-events:auto;cursor:crosshair}.map-pro-placement-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.map-pro-transform{position:relative;transform-origin:center center}.classmode-map-embed{height:100%;min-height:720px}.classmode-lesson-select{font-weight:800;max-width:380px}.resource-placeholder{display:grid;place-items:center;gap:10px;text-align:center}.resource-placeholder a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}@media(max-width:1150px){.library-lessons-grid{grid-template-columns:1fr}.lesson-map-studio{grid-template-columns:220px minmax(0,1fr)}.lesson-map-symbol-list{grid-template-columns:1fr}.lesson-map-controlbar{align-items:flex-start;flex-direction:column}.lesson-map-draw-tools{justify-content:flex-start}}@media(max-width:800px){.library-summary-strip,.library-permanent-grid,.library-editor-grid,.library-editor-media-grid,.library-special-assets{grid-template-columns:1fr}.library-permanent-card{grid-template-columns:auto 1fr}.library-permanent-actions{grid-column:1/-1;justify-content:flex-start}.library-lessons-grid{padding:0 8px 8px}.library-lesson-card{grid-template-columns:70px 1fr}.library-lesson-thumbnail{width:70px;height:70px}.library-heading-actions,.library-heading-actions label,.library-heading-actions select{width:100%}.lesson-map-studio{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.lesson-map-symbol-sidebar{border-left:0;border-bottom:1px solid rgba(215,173,53,.22);max-height:270px}.lesson-map-symbol-list{grid-template-columns:repeat(3,minmax(0,1fr))}.lesson-map-search-row{grid-template-columns:1fr}.lesson-map-region-tabs,.lesson-map-layer-tabs,.lesson-map-draw-tools{flex-wrap:nowrap;overflow:auto;padding-bottom:2px}.lesson-map-region-tabs button,.lesson-map-layer-tabs button{white-space:nowrap}.lesson-map-canvas-shell .map-pro-stage{min-height:480px}.classmode-map-embed{min-height:750px}}@media(max-width:520px){.library-summary-strip{grid-template-columns:1fr 1fr}.library-lesson-card{grid-template-columns:1fr}.library-lesson-thumbnail{width:100%;height:140px}.lesson-map-symbol-list{grid-template-columns:1fr 1fr}}.question-bank-official-source{margin:12px 0;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border-color:rgba(215,173,53,.4);background:linear-gradient(145deg,#fffaf0,#fff)}.question-bank-official-source>svg{color:#b9821d}.question-bank-official-source h3{margin:4px 0}.question-bank-official-source p{margin:0;color:var(--muted)}.question-bank-official-source a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.question-bank-official-source.missing{border-style:dashed;opacity:.86}@media(max-width:700px){.question-bank-official-source{grid-template-columns:auto 1fr}.question-bank-official-source a{grid-column:1/-1;justify-content:center}}.library-report-section{display:grid;gap:12px}.library-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.library-report-summary article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px;border-radius:15px;background:#111827;color:#fff}.library-report-summary svg,.library-report-summary strong{color:#f0d478}.library-report-summary span{font-size:11px;color:#d1d5db}.library-report-summary strong{font-size:22px}@media(max-width:800px){.library-report-summary{grid-template-columns:1fr 1fr}}.homework-report-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.homework-report-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}.homework-report-card h3{margin:4px 0 7px}.homework-report-card p{margin:0 0 8px;white-space:pre-wrap;line-height:1.75}.homework-report-card small{color:var(--muted)}.homework-report-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff7df;color:#a87316}.library-lesson-actions a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.library-content-unavailable{font-size:11px;color:var(--muted);padding:7px 9px;border:1px dashed var(--line);border-radius:9px}.dashboard-page,.classmode-page,.map-game-layout,.whiteboard-page,.whiteboard-shell{width:100%;max-width:100%;min-width:0;overflow-x:hidden}.dashboard-content-grid,.dashboard-hero,.dashboard-summary-strip,.dashboard-actions-grid,.classmode-resource-preview,.classmode-board-stage,.classmode-map-embed,.map-game-main,.map-game-canvas-shell,.map-game-question-panel,.whiteboard-layout,.whiteboard-main,.whiteboard-paper-stage,.whiteboard-resource-stage{min-width:0;max-width:100%}@media(max-width:1180px){.dashboard-content-grid,.dashboard-hero{grid-template-columns:minmax(0,1fr)!important}.dashboard-summary-strip,.dashboard-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.classmode-layout,.classmode-content-grid,.classmode-workspace{grid-template-columns:minmax(0,1fr)!important}.classmode-resource-preview,.classmode-board-stage,.classmode-map-embed{width:100%!important}.classmode-board-canvas-shell{width:100%!important;max-width:100%!important;overflow:auto}.map-game-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.map-game-main,.map-game-canvas-shell,.map-pro-stage{width:100%!important;max-width:100%!important}.map-game-canvas-shell,.map-pro-stage{min-height:clamp(380px,58dvh,720px)!important}.map-game-topbar,.map-game-toolbar,.map-game-nav,.map-region-tabs,.map-view-tools,.map-layer-dock{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.map-game-nav,.map-region-tabs,.map-view-tools{flex-wrap:nowrap!important}.whiteboard-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.whiteboard-main,.whiteboard-paper-stage,.whiteboard-resource-stage{width:100%!important}.whiteboard-paper-stage{min-height:clamp(420px,62dvh,760px)!important}.whiteboard-tools-panel,.whiteboard-students-panel{width:100%!important;max-width:100%!important;max-height:240px;overflow:auto}.whiteboard-bottom-toolbar,.whiteboard-shape-controls,.whiteboard-page-controls,.whiteboard-view-controls{max-width:100%;overflow-x:auto;flex-wrap:nowrap!important}}@media(max-width:680px){.dashboard-page,.classmode-page,.map-game-layout,.whiteboard-page{padding-inline:8px!important}.dashboard-summary-strip,.dashboard-actions-grid{grid-template-columns:minmax(0,1fr)!important}.map-game-topbar{grid-template-columns:minmax(0,1fr) auto!important}.map-game-title{font-size:clamp(17px,5vw,22px)!important}.map-game-brand{display:none!important}.map-game-question-panel{padding:10px!important}.map-game-canvas-shell,.map-pro-stage{min-height:430px!important}.classmode-board-stage,.whiteboard-paper-stage{min-height:460px!important}}@media(orientation:landscape)and (max-height:760px){.dashboard-page,.classmode-page,.map-game-layout,.whiteboard-page{min-height:100dvh;padding-block:6px!important}.dashboard-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.dashboard-summary-strip,.dashboard-actions-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.map-game-layout{grid-template-columns:minmax(0,1fr) minmax(230px,32vw)!important;align-items:stretch;gap:8px!important}.map-game-main{min-height:0!important}.map-game-canvas-shell,.map-pro-stage{height:calc(100dvh - 145px)!important;min-height:300px!important;overflow:hidden}.map-game-question-panel{max-height:calc(100dvh - 145px);overflow-y:auto;padding:9px!important}.map-game-topbar{min-height:0!important;padding-block:5px!important}.map-game-brand{display:none!important}.classmode-resource-preview,.classmode-board-stage,.classmode-map-embed{min-height:calc(100dvh - 150px)!important;max-height:calc(100dvh - 110px);overflow:auto}.whiteboard-paper-stage{height:calc(100dvh - 155px)!important;min-height:300px!important}.whiteboard-tools-panel,.whiteboard-students-panel{max-height:150px}}@media(orientation:landscape)and (min-width:900px)and (min-height:600px){.map-game-layout{grid-template-columns:minmax(0,1fr) minmax(280px,30vw)!important}.map-game-canvas-shell,.map-pro-stage{min-height:560px!important}.whiteboard-paper-stage,.classmode-board-stage{min-height:600px!important}}.student-card-template-card{position:relative!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#000!important;overflow:hidden!important;container-type:inline-size;isolation:isolate}.student-card-template-front{aspect-ratio:1536 / 572!important}.student-card-template-back{aspect-ratio:1536 / 572!important;background:#000!important}.student-card-template-back .student-card-template-image{object-fit:contain}.student-card-template-image{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.student-card-template-value{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;padding-inline:.7cqw;overflow:hidden;color:#fff;background:#090909;font-size:2.05cqw;font-weight:700;line-height:1;text-align:center;white-space:nowrap;text-overflow:ellipsis}.student-card-template-name{top:38.1%;left:47.1%;width:22.3%;height:9.6%}.student-card-template-code{top:49.2%;left:51.1%;width:18.3%;height:9.4%;font-size:2.35cqw}.student-card-template-grade{top:59.8%;left:47.7%;width:21.7%;height:9.7%;font-size:2.1cqw}.student-card-template-group{top:70.6%;left:51.1%;width:18.3%;height:9.5%}.student-card-template-year{top:81.3%;left:49.8%;width:19.6%;height:9.7%;font-size:2.25cqw}.student-card-template-id{position:absolute;top:48%;left:81.25%;z-index:3;display:flex;width:16.55%;height:45%;padding:.65cqw;flex-direction:column;align-items:center;justify-content:center;gap:.3cqw;overflow:hidden;color:#111;background:#fff;border:.22cqw solid #bd7d18;border-radius:1.45cqw;box-sizing:border-box}.student-card-template-id .mini-barcode{display:block;width:88%;height:auto;max-height:25%}.student-card-template-id strong{display:block;margin:0;font-size:1.85cqw;line-height:1;color:#111}.student-card-template-id>svg:last-child{display:block;width:42%;height:auto;max-height:46%}@media print{.student-card-template-card{break-inside:avoid!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}.student-card-template-image{print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}}html,body,#root{min-width:0;min-height:100%}body{overflow-x:hidden}.loading-screen,.fatal-screen{min-height:100vh;min-height:100dvh}.loading-recovery{padding:24px;gap:12px}.loading-recovery .loading-logo{width:clamp(100px,18vw,180px);aspect-ratio:1;object-fit:contain;margin-inline:auto;border-radius:50%;box-shadow:0 18px 55px rgba(0,0,0,.42)}.loading-recovery p{max-width:620px;margin:0 auto;line-height:1.8;color:#e9edf4}.loading-recovery-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.loading-recovery small{color:#b9c1cc}.mobile-brand-logo{object-fit:contain!important;background:#050505;border:1px solid rgba(215,173,53,.6)}.sidebar .brand-avatar-photo img{object-fit:contain!important;object-position:center!important;background:#050505;border-radius:50%!important}.class-board-canvas-shell{isolation:isolate;background-color:#fffdf6}.class-board-canvas-shell.board-theme-history{background:radial-gradient(circle at 14% 20%,transparent 0 46px,rgba(126,78,27,.055) 47px 49px,transparent 50px 88px),radial-gradient(circle at 86% 76%,transparent 0 62px,rgba(126,78,27,.045) 63px 65px,transparent 66px 110px),repeating-linear-gradient(112deg,rgba(119,74,27,.028) 0 1px,transparent 1px 12px),linear-gradient(145deg,#f5e8c8,#fffaf0 52%,#ead3a8)}.class-board-canvas-shell.board-theme-geography{background:radial-gradient(circle at 83% 16%,transparent 0 32px,rgba(30,94,77,.1) 33px 35px,transparent 36px),repeating-radial-gradient(ellipse at 12% 75%,transparent 0 46px,rgba(30,94,77,.055) 47px 49px,transparent 50px 85px),linear-gradient(145deg,#eef7ed,#fffdf3)}.class-board-canvas-shell.board-theme-manuscript{background:linear-gradient(90deg,rgba(102,64,24,.045) 1px,transparent 1px),repeating-linear-gradient(0deg,rgba(102,64,24,.035) 0 1px,transparent 1px 6px),linear-gradient(145deg,#ead4aa,#fff5de);background-size:70px 100%,auto,auto}.class-board-canvas-shell.board-theme-history:before,.class-board-canvas-shell.board-theme-geography:before,.class-board-canvas-shell.board-theme-manuscript:before{content:"";position:absolute;top:2.2%;right:2.2%;bottom:2.2%;left:2.2%;z-index:0;pointer-events:none;border:2px solid rgba(142,91,28,.16);border-radius:22px;box-shadow:inset 0 0 0 7px rgba(215,173,53,.035)}.classmode-board-identity{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;overflow:hidden}.classmode-board-watermark{position:absolute;left:50%;top:50%;width:min(30%,270px);max-height:42%;object-fit:contain;transform:translate(-50%,-50%);opacity:.075;filter:sepia(.18) saturate(.85)}.classmode-board-teacher-mark{position:absolute;right:clamp(10px,1.5vw,22px);bottom:clamp(8px,1.4vw,18px);display:flex;align-items:center;gap:8px;max-width:min(32%,260px);padding:5px 9px;color:#f5d889;background:rgba(26,17,8,.7);border:1px solid rgba(215,173,53,.44);border-radius:999px;backdrop-filter:blur(4px);opacity:.72}.classmode-board-teacher-mark img{width:clamp(34px,4vw,52px);height:clamp(34px,4vw,52px);flex:none;border-radius:50%;object-fit:cover;object-position:center 18%;border:2px solid #d7ad35}.classmode-board-teacher-mark span,.classmode-board-teacher-mark strong,.classmode-board-teacher-mark small{display:block;min-width:0}.classmode-board-teacher-mark strong{font-size:clamp(9px,1vw,13px);white-space:nowrap}.classmode-board-teacher-mark small{font-size:clamp(7px,.8vw,10px);color:#fff3d0}.classmode-history-ornament{position:absolute;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,rgba(151,94,27,.28),transparent)}.classmode-history-ornament:after{content:"✦  ❖  ✦";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 12px;color:rgba(139,83,21,.25);background:transparent}.classmode-history-ornament.ornament-top{top:7%}.classmode-history-ornament.ornament-bottom{bottom:7%}.class-board-canvas{position:relative;z-index:2;background-color:transparent}.map-pro-placement-layer{pointer-events:none!important}.map-pro-placement.geography-placement{pointer-events:auto!important;cursor:grab;user-select:none;touch-action:none}.map-pro-placement.geography-placement:active{cursor:grabbing}.geography-placement-glyph svg{width:28px;height:28px;display:block}.geography-population-glyph{letter-spacing:-2px;font-size:10px}.geography-line-glyph{display:block;font-size:24px;line-height:1;font-weight:900}.classmode-document-placeholder{width:100%;height:100%;min-height:0;align-content:center;color:#1f2937;background:linear-gradient(145deg,#fff,#f4f0e8)}.resource-preview-body>img,.resource-preview-body>video,.resource-preview-body>iframe{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;border:0;background:#111}.resource-preview-body>audio{width:min(760px,92%);margin:auto}.card-print-notice,.student-card-toolbar+.settings-notice{margin-block:8px}.student-card-template-back .student-card-template-image{object-fit:fill!important}.print-sheet-grid{grid-template-rows:repeat(var(--print-rows),auto)!important;align-content:start}.print-slot,.print-slot .student-card-template-card,.print-slot .student-card-face{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1536 / 572!important}@media print{@page{size:A4 landscape;margin:8mm}.print-pack-page{width:auto!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important;break-after:page!important;page-break-after:always!important}.print-sheet{padding:0!important}.print-sheet-grid{aspect-ratio:auto!important;grid-template-rows:repeat(var(--print-rows),auto)!important;gap:3mm!important}.print-slot .student-card-template-card,.print-slot .student-card-face{aspect-ratio:1536 / 572!important;width:100%!important;height:auto!important}}@media(orientation:landscape){.lesson-mode-shell,.lesson-mode-shell>.classmode-scene,.classmode-scene.fullscreen{width:100%;height:100vh;height:100dvh;min-height:0!important;overflow:hidden!important}.classmode-scene,.classmode-scene.fullscreen{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:6px;padding:max(4px,var(--safe-top)) max(5px,var(--safe-right)) max(4px,var(--safe-bottom)) max(5px,var(--safe-left))!important;border-radius:0!important}.classmode-top-header{position:relative;z-index:30;display:grid!important;grid-template-columns:minmax(105px,.55fr) minmax(390px,2.4fr) minmax(150px,.8fr);gap:7px!important;min-height:0;margin:0!important;padding:5px 8px!important;border-radius:13px!important}.classmode-header-brand{min-width:0;gap:6px!important}.classmode-header-brand img{width:34px!important;height:34px!important}.classmode-header-brand div{min-width:0}.classmode-header-brand strong,.classmode-header-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classmode-header-brand strong{font-size:11px!important}.classmode-header-brand small{font-size:8px!important}.classmode-header-tabs{min-width:0;justify-content:center!important;gap:4px!important;padding:3px!important;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.classmode-header-tabs button{flex:1 0 48px;min-width:48px;min-height:42px;gap:1px!important;padding:3px 5px!important;border-radius:9px!important;font-size:8px!important;white-space:nowrap}.classmode-header-tabs button svg{width:18px;height:18px}.classmode-header-meta{min-width:0;justify-content:flex-end;gap:4px!important}.header-meta-item{min-width:0;padding:4px 6px!important;border-radius:9px!important}.header-meta-item b{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px!important}.header-meta-item small{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px!important}.header-meta-item.book-icon{display:none}.classmode-layout,.classmode-scene.fullscreen .classmode-layout{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(235px,23vw,330px)!important;gap:7px!important;min-width:0;min-height:0;height:100%;overflow:hidden}.classmode-board-panel{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:5px;min-width:0;min-height:0;height:100%;padding:6px!important;overflow:hidden;border-radius:15px!important}.classmode-board-topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;flex-wrap:nowrap!important;gap:6px!important;min-height:0;padding:0!important}.classmode-current-badge{padding:5px 8px!important;font-size:8px!important;white-space:nowrap}.classmode-metrics{min-width:0;flex-wrap:nowrap!important;gap:4px!important;overflow:hidden}.classmode-metrics>div{min-width:60px!important;padding:3px 5px!important;border-radius:8px!important}.classmode-metrics b{font-size:10px!important}.classmode-metrics span{font-size:7px!important}.classmode-top-actions{flex-wrap:nowrap!important;gap:3px!important}.classmode-top-actions button{min-width:31px;min-height:31px;padding:5px 7px!important;border-radius:8px!important;font-size:8px!important;white-space:nowrap}.classmode-top-actions button svg{width:15px;height:15px}.classmode-resource-card{display:grid!important;grid-template-columns:minmax(150px,.9fr) minmax(170px,1fr) auto;align-items:center;gap:6px!important;min-height:0;margin:0!important;padding:5px 8px!important;border-radius:10px!important}.classmode-resource-card .eyebrow{display:none}.classmode-resource-card h3{margin:0!important;font-size:11px!important}.classmode-resource-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px!important}.classmode-lesson-select{width:100%;max-width:none!important;padding:5px 7px;font-size:9px}.classmode-flow-row{min-width:0;flex-wrap:nowrap!important;gap:3px!important;overflow-x:auto}.classmode-flow-row button,.classmode-resource-actions button{padding:5px 7px!important;border-radius:7px!important;font-size:8px!important;white-space:nowrap}.classmode-resource-actions{flex-wrap:nowrap!important;gap:3px!important}.classmode-resource-actions button svg{width:13px;height:13px}.classmode-session-plan{min-height:0;margin:0!important;padding:4px 6px!important;border-radius:9px!important;gap:3px!important}.classmode-session-plan>.eyebrow{display:none}.classmode-session-plan-row,.classmode-session-plan-list{gap:3px!important}.classmode-session-plan-list button{padding:4px 7px!important;border-radius:7px!important;font-size:8px!important}.classmode-board-frame{min-height:0;height:100%;padding:5px!important;border-radius:13px!important;overflow:hidden!important}.classmode-board-surface{grid-template-columns:48px minmax(0,1fr)!important;gap:5px!important;width:100%;height:100%;min-height:0!important;overflow:hidden}.classmode-board-sidebar-left{min-height:0;padding:4px 3px!important;gap:2px!important;border-radius:10px!important;overflow-y:auto}.classmode-board-sidebar-left button{min-height:35px;padding:3px 2px!important;gap:0!important;border-radius:7px!important}.classmode-board-sidebar-left button span{display:none}.classmode-board-sidebar-left button svg{width:16px;height:16px}.classmode-left-toolbar-divider{margin:1px 3px!important}.classmode-board-stage,.classmode-resource-preview,.classmode-map-embed{width:100%;height:100%!important;min-width:0;min-height:0!important;max-height:none!important;overflow:hidden!important;border-radius:11px!important}.class-board-canvas-shell,.class-board-canvas{width:100%!important;height:100%!important;min-height:0!important}.class-board-canvas{object-fit:contain;touch-action:none}.resource-preview-head{min-height:31px;padding:4px 7px!important;gap:5px!important;overflow:hidden}.resource-preview-head>strong,.resource-preview-head>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-preview-head>strong{font-size:9px}.resource-preview-head>small{font-size:7px}.classmode-page-nav{gap:3px!important}.classmode-page-nav button{min-width:25px;min-height:25px;padding:2px 5px!important}.classmode-page-nav span{font-size:7px!important}.resource-preview-body{min-height:0!important;height:calc(100% - 31px);overflow:hidden!important}.classmode-toolbar{display:flex!important;min-width:0;min-height:39px;max-height:48px;gap:4px!important;margin:0!important;padding:4px!important;overflow-x:auto;overflow-y:hidden;border-radius:10px!important}.classmode-tool-group{flex:none;flex-wrap:nowrap!important;gap:3px!important}.classmode-tool-group button,.classmode-tool-group select,.classmode-tool-group input{min-height:30px;padding:3px 6px!important;border-radius:7px!important;font-size:8px!important;white-space:nowrap}.classmode-tool-group button svg{width:13px;height:13px}.classmode-text-style-row{display:flex!important}.classmode-side-column{display:grid!important;grid-template-rows:minmax(0,1.16fr) minmax(125px,.84fr);gap:6px!important;min-width:0;min-height:0;height:100%;overflow:hidden!important}.classmode-side-column>.classmode-side-panel:not(.classmode-students-panel):not(.classmode-phrases-panel){display:none!important}.classmode-side-panel{min-width:0;min-height:0;margin:0!important;padding:6px!important;overflow:hidden;border-radius:13px!important}.classmode-students-panel,.classmode-phrases-panel{display:grid!important}.classmode-students-panel{grid-template-rows:auto minmax(0,1fr) auto auto}.classmode-phrases-panel{grid-template-rows:auto minmax(0,1fr) auto}.classmode-side-panel .panel-heading{min-height:0;margin:0 0 4px!important;padding:0!important}.classmode-side-panel .panel-heading .eyebrow{display:none}.classmode-side-panel .panel-heading h3{margin:0!important;font-size:10px!important}.classmode-students-list,.classmode-phrase-list{min-height:0;overflow-y:auto!important;overscroll-behavior:contain}.classmode-student-row{padding:3px!important;gap:2px!important}.classmode-student-row-main{min-height:32px;gap:4px!important;padding:3px!important}.classmode-student-row-main strong{font-size:9px!important}.classmode-student-row-main small,.classmode-student-row-main .attendance-dot{font-size:6px!important}.student-code{min-width:26px!important;font-size:7px!important;padding:2px!important}.student-score{min-width:24px!important;font-size:10px!important}.classmode-student-row-actions{flex-wrap:nowrap!important;gap:2px!important}.classmode-student-row-actions button{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;padding:2px!important;border-radius:6px!important}.classmode-student-actions{display:flex!important;gap:3px!important;overflow-x:auto}.classmode-student-actions button{flex:none;padding:4px 6px!important;font-size:7px!important}.classmode-selected-student{min-height:0!important;padding:4px 6px!important;font-size:7px!important}.classmode-selected-student svg{width:14px;height:14px}.classmode-selected-student strong,.classmode-selected-student b{font-size:8px!important}.classmode-phrase-row button:first-child{padding:5px 6px!important;font-size:8px!important;line-height:1.35}.classmode-phrase-add{gap:3px!important}.classmode-phrase-add input{min-width:0;padding:5px!important;font-size:8px!important}.classmode-phrase-add button{padding:5px 6px!important;font-size:7px!important;white-space:nowrap}.classmode-map-embed .lesson-map-studio{width:100%;height:100%!important;min-height:0!important;grid-template-columns:clamp(170px,22vw,245px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;border-radius:0!important}.classmode-map-embed .lesson-map-symbol-sidebar{min-height:0;max-height:none!important;padding:5px!important;overflow-y:auto}.classmode-map-embed .lesson-map-symbol-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important}.classmode-map-embed .lesson-map-symbol-list button{padding:3px!important;grid-template-columns:25px 1fr!important}.classmode-map-embed .lesson-map-symbol-list button>b{width:24px!important;height:24px!important}.classmode-map-embed .lesson-map-main,.classmode-map-embed .lesson-map-canvas-shell,.classmode-map-embed .map-pro-stage{min-height:0!important;height:100%!important}.classmode-map-embed .lesson-map-topbar,.classmode-map-embed .lesson-map-controlbar,.classmode-map-embed .lesson-map-search-row,.classmode-map-embed .lesson-map-footer-info{padding:3px 5px!important}.map-game-page{height:100vh;height:100dvh;min-height:0!important;overflow:hidden!important;padding:5px!important}.map-game-layout{height:calc(100dvh - 65px);min-height:0;overflow:hidden}.map-game-main,.map-game-canvas-shell,.map-game-canvas-shell .map-pro-stage{height:100%!important;min-height:0!important;max-height:none!important}.whiteboard-page{height:100vh;height:100dvh;min-height:0!important;overflow:hidden!important}.whiteboard-reference-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.whiteboard-reference-layout{min-height:0;height:100%;grid-template-columns:64px minmax(0,1fr) clamp(210px,23vw,280px)!important;overflow:hidden}.whiteboard-canvas-viewport,.whiteboard-paper-stage{height:100%!important;min-height:0!important}.whiteboard-tool-rail,.whiteboard-students-panel,.whiteboard-students-list{min-height:0;overflow-y:auto}.app-shell:not(.lesson-mode-shell)>.app-content{min-width:0}.dashboard-reference-layout{min-width:0;padding:6px!important;gap:7px!important;background-size:cover!important}.dashboard-desktop-topbar{min-height:44px!important;padding:4px 8px!important}.dashboard-reference-hero{grid-template-columns:minmax(250px,1.1fr) minmax(250px,.9fr) minmax(220px,.72fr)!important;min-height:255px!important;overflow:hidden}.dashboard-reference-copy{padding:16px 18px!important}.dashboard-reference-copy h2{font-size:clamp(3rem,6vw,5.6rem)!important;line-height:.9!important}.dashboard-reference-copy h3{margin:8px 0!important;font-size:clamp(1.25rem,2.2vw,2rem)!important}.dashboard-reference-copy p{line-height:1.55!important;font-size:clamp(.72rem,1.15vw,.95rem)!important}.dashboard-reference-cta{margin-top:10px!important;gap:6px!important}.dashboard-reference-cta button{min-height:36px!important;padding:0 12px!important;font-size:10px!important}.dashboard-reference-portrait{min-height:255px!important}.dashboard-reference-portrait>img{height:100%!important;bottom:0!important;object-fit:cover!important}.dashboard-map-paper{inset:5% 2% auto auto!important}.dashboard-today-panel{grid-column:auto!important;display:block!important;min-width:0}.dashboard-today-head{border-left:0!important;border-bottom:1px solid rgba(215,173,53,.13)!important;padding:8px!important}.dashboard-today-list{display:grid!important;grid-template-columns:1fr!important}.dashboard-today-list button{min-height:37px!important;padding:5px 8px!important}.dashboard-feature-grid{grid-template-columns:repeat(6,minmax(120px,1fr))!important;gap:6px!important;padding:0!important;overflow-x:auto}.dashboard-feature-card{min-height:112px!important;padding:10px!important}.dashboard-feature-card h3{font-size:12px!important}.dashboard-feature-card p{font-size:8px!important;line-height:1.4!important}.dashboard-reference-bottom{grid-template-columns:1.05fr 1fr 1fr!important;gap:6px!important;padding:0!important}.dashboard-current-class-card,.dashboard-lower-panel{min-height:115px!important;padding:9px!important}}@media(orientation:landscape)and (max-height:520px){.classmode-top-header{grid-template-columns:55px minmax(330px,1fr) 70px;padding:2px 4px!important}.classmode-header-brand div,.classmode-header-meta .header-meta-item:not(:first-child){display:none!important}.classmode-header-brand img{width:30px!important;height:30px!important}.classmode-header-tabs button{min-height:34px;flex-basis:43px}.classmode-header-tabs button span{display:none}.classmode-layout,.classmode-scene.fullscreen .classmode-layout{grid-template-columns:minmax(0,1fr) clamp(205px,29vw,245px)!important}.classmode-resource-card,.classmode-session-plan{display:none!important}.classmode-board-panel{grid-template-rows:auto minmax(0,1fr) auto!important}.classmode-metrics>div:nth-child(2),.classmode-metrics>div:nth-child(3){display:none}.classmode-top-actions .secondary-btn,.classmode-top-actions .danger-btn{padding-inline:5px!important;font-size:0!important}.classmode-top-actions .danger-btn:after{content:"إنهاء";font-size:7px}.classmode-toolbar{min-height:33px;max-height:38px}.classmode-tool-group button,.classmode-tool-group select,.classmode-tool-group input{min-height:26px}.classmode-side-column{grid-template-rows:minmax(0,1.3fr) minmax(92px,.7fr)}.classmode-phrase-add{display:none!important}.dashboard-reference-hero,.dashboard-reference-portrait{min-height:200px!important}.dashboard-reference-copy p{display:none}.dashboard-reference-bottom{display:none!important}}@media(orientation:portrait)and (max-width:900px){.classmode-top-header{position:sticky;top:0;z-index:40}.classmode-header-tabs{overflow-x:auto;justify-content:flex-start}.classmode-header-tabs button{flex:0 0 72px}.classmode-board-teacher-mark{max-width:48%}}.classmode-board-stage .class-board-canvas-shell.has-resource-head,.classmode-board-stage .class-board-canvas-shell.has-resource-head .class-board-canvas{background:transparent!important;background-image:none!important}.classmode-board-stage .class-board-canvas-shell.has-resource-head:before,.classmode-board-stage .class-board-canvas-shell.has-resource-head:after{display:none!important}.portal-child-switcher{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.portal-child-switcher>div{display:flex;align-items:center;gap:8px}.portal-child-switcher small{color:var(--muted)}.portal-child-switcher select{min-width:min(340px,100%)}.portal-account-strip{display:flex;gap:12px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--line);background:#fff9e9}.portal-account-strip span{display:inline-flex;align-items:center;gap:6px}.portal-finance-summary{padding:14px;border-top:1px solid var(--line)}.portal-finance-summary h4{display:flex;align-items:center;gap:7px;margin:0 0 10px}@media(max-width:680px){.portal-child-switcher,.portal-child-switcher select{width:100%}.portal-child-switcher select{min-width:0}}.map-pro-placement.geography-placement{touch-action:none;user-select:none;-webkit-user-select:none}.classmode-media-navigator{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;margin:0 12px 8px;padding:7px 10px;border:1px solid rgba(215,173,53,.3);border-radius:14px;background:linear-gradient(135deg,rgba(16,19,26,.97),rgba(35,29,17,.94));box-shadow:0 8px 22px rgba(0,0,0,.18)}.classmode-media-navigator-center{min-width:0;display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:8px;color:#f2d77f}.classmode-media-navigator-center select{min-width:0;width:100%;height:34px;border-color:rgba(215,173,53,.28);background:rgba(255,255,255,.08);color:#fff}.classmode-media-navigator-center select option{color:#111827}.classmode-media-navigator-center span{white-space:nowrap;color:rgba(255,255,255,.78);font-size:.78rem;font-weight:800}.live-teacher-panel{border-color:rgba(215,173,53,.34);background:linear-gradient(150deg,rgba(19,21,29,.98),rgba(39,31,16,.98));color:#f8fafc}.live-teacher-panel .panel-heading h3,.live-teacher-panel .panel-heading .eyebrow{color:inherit}.live-panel-description{margin:0 0 12px;color:rgba(255,255,255,.72);font-size:.86rem;line-height:1.65}.live-status-line{display:inline-flex;align-items:center;gap:6px;color:#ef4444!important}.live-status-line i{width:9px;height:9px;display:inline-block;border-radius:999px;background:currentColor;box-shadow:0 0 0 5px rgba(239,68,68,.13);animation:live-pulse 1.4s infinite}@keyframes live-pulse{50%{opacity:.45;transform:scale(.82)}}.live-room-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px;border:1px solid rgba(215,173,53,.25);border-radius:12px;background:rgba(0,0,0,.2)}.live-room-code-row>div{display:flex;align-items:center;gap:9px}.live-room-code-row span{color:rgba(255,255,255,.67);font-size:.76rem}.live-room-code-row strong{color:#f2d77f;font-size:1.2rem;letter-spacing:.16em}.live-broadcast-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}.live-participant-heading{display:flex;align-items:center;justify-content:space-between;margin:13px 0 7px;color:rgba(255,255,255,.84)}.live-participant-heading span{display:inline-flex;align-items:center;gap:6px}.live-participant-heading b{min-width:28px;padding:3px 8px;text-align:center;border-radius:999px;color:#17120a;background:#d7ad35}.live-participant-list{display:grid;gap:7px;max-height:250px;overflow:auto;padding-inline-end:2px}.live-participant-row{display:grid;gap:7px;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(255,255,255,.055)}.live-participant-row.mic-requested{border-color:rgba(245,158,11,.7);background:rgba(245,158,11,.1)}.live-participant-row.mic-approved,.live-participant-row.mic-speaking{border-color:rgba(34,197,94,.58)}.live-participant-name,.live-participant-controls{display:flex;align-items:center;gap:7px}.live-participant-name>i{width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:#64748b}.live-participant-name>i.online{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.13)}.live-participant-name span{min-width:0;display:grid;gap:1px}.live-participant-name strong{overflow:hidden;color:#fff;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.live-participant-name small{color:rgba(255,255,255,.56);font-size:.68rem}.live-participant-controls{justify-content:flex-end}.compact-btn{min-height:30px!important;padding:5px 8px!important}.live-volume-control{min-width:0;flex:1;display:flex;align-items:center;gap:5px;color:rgba(255,255,255,.68)}.live-volume-control input{min-width:55px;width:100%;accent-color:#d7ad35}.live-activity-list{display:grid;gap:5px;max-height:150px;overflow:auto;margin-top:10px;padding:7px;border-radius:10px;background:rgba(0,0,0,.18)}.live-activity-list div{display:flex;align-items:flex-start;gap:6px;color:rgba(255,255,255,.75);font-size:.72rem}.live-end-room{width:100%;margin-top:10px}.classmode-recording-preview{width:100%;max-height:150px;border-radius:9px;background:#050607;object-fit:contain}.classmode-recording-actions button{display:inline-flex;align-items:center;gap:4px}.recording-log-only{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:.72rem}.live-student-page{min-height:100dvh;padding:clamp(10px,2vw,24px);color:#f8fafc;background:radial-gradient(circle at 15% 15%,rgba(215,173,53,.16),transparent 28%),linear-gradient(145deg,#080a0f,#17130c 68%,#090b10)}.live-student-join-shell{min-height:calc(100dvh - 48px);display:grid;place-items:center}.live-student-join-card{width:min(560px,100%);padding:clamp(18px,4vw,32px);border-color:rgba(215,173,53,.35);background:rgba(15,17,23,.96)}.live-student-join-card header,.live-student-topbar,.live-student-brand,.live-student-top-actions{display:flex;align-items:center;gap:12px}.live-student-join-card header img{width:84px;height:84px;object-fit:contain}.live-student-join-card h2,.live-student-topbar h2{margin:2px 0;color:#fff}.live-student-join-card p{margin:0;color:rgba(255,255,255,.63)}.live-student-join-card form{display:grid;gap:12px;margin-top:22px}.live-student-join-card label{display:grid;gap:6px}.live-student-join-card label span{color:rgba(255,255,255,.72);font-size:.78rem;font-weight:700}.live-student-join-card input,.live-chat-compose input{width:100%;color:#fff;border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.07)}.live-join-code{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border:1px dashed rgba(215,173,53,.55);border-radius:12px;color:rgba(255,255,255,.68)}.live-join-code strong{color:#f3d77c;font-size:1.35rem;letter-spacing:.18em}.live-student-topbar{justify-content:space-between;padding:10px 14px;border-color:rgba(215,173,53,.3);background:rgba(13,15,20,.96)}.live-student-brand img{width:48px;height:48px;border-radius:12px;object-fit:contain}.live-student-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:12px;height:calc(100dvh - 112px);margin-top:10px}.live-student-stage{position:relative;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;padding:0;border-color:rgba(215,173,53,.3);background:#050607}.live-student-stage video,.live-state-snapshot{width:100%;height:100%;display:block;object-fit:contain;background:#050607}.live-waiting-stage{display:grid;place-items:center;gap:8px;text-align:center;color:rgba(255,255,255,.66)}.live-waiting-stage h3{margin:6px 0 0;color:#fff}.live-waiting-stage p{margin:0}.live-stage-caption{position:absolute;right:12px;bottom:12px;left:12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(6,8,12,.82);backdrop-filter:blur(8px)}.live-stage-caption span,.live-stage-caption small{color:#f2d77f;font-size:.75rem}.live-stage-caption strong{overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.live-student-controls{min-height:0;display:grid;align-content:start;gap:10px;overflow:auto}.live-student-controls .panel{border-color:rgba(215,173,53,.23);background:rgba(15,17,23,.96)}.live-student-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.live-reaction-row{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:9px}.live-reaction-row button{min-height:38px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.06);font-size:1.15rem}.live-mic-status{display:flex;align-items:center;gap:7px;margin-top:9px;padding:8px;border-radius:10px;color:rgba(255,255,255,.7);background:rgba(255,255,255,.05)}.live-chat-panel{min-height:220px;display:grid;grid-template-rows:auto minmax(100px,1fr) auto}.live-chat-list{display:grid;align-content:start;gap:6px;max-height:230px;overflow:auto;padding:5px 0}.live-chat-list>div{display:flex;align-items:flex-start;gap:6px;width:fit-content;max-width:92%;padding:7px 9px;border-radius:10px 10px 3px;color:rgba(255,255,255,.82);background:rgba(255,255,255,.08);font-size:.78rem}.live-chat-list>div.mine{margin-inline-start:auto;border-radius:10px 10px 10px 3px;color:#18130a;background:#d7ad35}.live-chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.live-student-notice{color:#fff;background:rgba(37,99,235,.23)}.live-student-error{width:min(520px,100%);margin:12vh auto 0;text-align:center;background:rgba(15,17,23,.96)}@media(max-width:900px){.live-student-layout{grid-template-columns:minmax(0,1fr) 280px}.live-broadcast-actions{grid-template-columns:1fr}}@media(max-width:720px){.classmode-media-navigator{grid-template-columns:36px minmax(0,1fr) 36px;margin-inline:6px}.classmode-media-navigator-center{grid-template-columns:minmax(0,1fr) auto}.classmode-media-navigator-center>svg{display:none}.live-student-page{padding:6px}.live-student-topbar{align-items:flex-start}.live-student-top-actions{flex-wrap:wrap;justify-content:flex-end}.live-student-layout{grid-template-columns:minmax(0,1fr) minmax(235px,42vw);height:calc(100dvh - 100px)}.live-stage-caption{right:6px;bottom:6px;left:6px}}@media(orientation:portrait)and (max-width:720px){.live-student-layout{grid-template-columns:1fr;height:auto}.live-student-stage{min-height:52dvh}.live-student-controls{overflow:visible}}.online-game-host-panel{display:grid;gap:12px;margin-top:14px;border-color:rgba(215,173,53,.3);background:radial-gradient(circle at top left,rgba(215,173,53,.12),transparent 36%),var(--panel, #fff)}.online-game-host-title,.online-game-scoreboard-head,.online-game-launch-row,.online-game-room-strip,.online-game-waiting,.online-game-question-meta,.online-game-score-row,.online-game-student-header,.online-game-student-header>div,.online-game-student-metrics{display:flex;align-items:center}.online-game-host-title,.online-game-launch-row,.online-game-question-meta,.online-game-student-header{justify-content:space-between}.online-game-host-title p,.online-game-launch-row small,.online-game-waiting span,.online-game-score-row small,.online-game-student-header p{display:block;margin:3px 0 0;color:var(--muted, #777);font-size:.78rem}.online-game-launch-row{gap:12px;padding:12px;border:1px dashed rgba(215,173,53,.4);border-radius:14px}.online-game-room-strip{flex-wrap:wrap;gap:8px;padding:10px;border-radius:14px;background:rgba(215,173,53,.08)}.online-game-room-strip>div{min-width:105px;display:grid;gap:2px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.75)}.online-game-room-strip>div span{color:var(--muted, #777);font-size:.7rem}.online-game-room-strip>div strong{font-size:1.08rem;letter-spacing:.04em}.online-game-room-strip .secondary-btn{text-decoration:none}.online-game-waiting,.online-game-finished{gap:12px;padding:16px;border:1px solid rgba(215,173,53,.24);border-radius:14px;background:rgba(255,255,255,.62)}.online-game-waiting>div{min-width:0;flex:1}.online-game-current-question{display:grid;gap:10px;padding:14px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#18140d,#30250f)}.online-game-current-question h4{margin:0;font-size:clamp(1rem,2vw,1.4rem)}.online-game-answer-progress{width:fit-content;padding:6px 9px;border-radius:999px;color:#f8dc7e;background:rgba(255,255,255,.09);font-size:.76rem}.online-game-finished{display:grid;place-items:center;text-align:center}.online-game-finished h4{margin:0}.online-game-scoreboard,.online-game-student-scoreboard{min-width:0;display:grid;align-content:start;gap:6px}.online-game-scoreboard-head{gap:7px;margin-bottom:3px}.online-game-score-row{min-width:0;gap:8px;padding:8px 10px;border:1px solid rgba(0,0,0,.07);border-radius:11px;background:rgba(255,255,255,.72)}.online-game-score-row.current{border-color:rgba(215,173,53,.72);background:rgba(215,173,53,.13)}.online-game-score-row>div{min-width:0;flex:1}.online-game-score-row>div strong,.online-game-score-row>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-game-score-row>b{min-width:50px;text-align:end;color:#9d7411}.online-game-rank{width:34px;color:#9d7411;font-weight:800}.online-game-close{justify-self:start}.online-game-student-page{min-height:100dvh;padding:10px;color:#fff;background:radial-gradient(circle at 20% 0%,rgba(215,173,53,.2),transparent 34%),#08090c}.online-game-student-shell{width:min(1280px,100%);margin:0 auto}.online-game-student-header{gap:12px;margin-bottom:10px;border-color:rgba(215,173,53,.28);background:rgba(17,19,25,.96)}.online-game-student-header>div{gap:9px}.online-game-student-header h2{margin:0;color:#fff}.online-game-student-metrics{gap:8px}.online-game-student-metrics span{min-width:86px;display:grid;gap:2px;padding:7px 10px;border-radius:10px;color:rgba(255,255,255,.68);background:rgba(255,255,255,.06);font-size:.7rem;text-align:center}.online-game-student-metrics strong{color:#f0cf68;font-size:1rem}.online-game-student-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:10px;height:calc(100dvh - 108px)}.online-game-question-card,.online-game-student-scoreboard,.online-game-ended-card{border-color:rgba(215,173,53,.24);background:rgba(15,17,23,.97)}.online-game-question-card{min-height:0;display:grid;align-content:center;gap:14px;overflow:auto}.online-game-question-card h3{margin:0;color:#fff;font-size:clamp(1.2rem,3vw,2rem);line-height:1.5;text-align:center}.online-game-question-meta{color:#e8ca6c}.online-game-question-meta .danger{color:#ff8c8c}.online-game-student-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.online-game-student-options button{min-height:64px;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(255,255,255,.13);border-radius:14px;color:#fff;background:rgba(255,255,255,.07);font:inherit;text-align:start}.online-game-student-options button>span{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;color:#17120a;background:#d7ad35;font-weight:900}.online-game-student-options button.selected{border-color:#d7ad35;box-shadow:0 0 0 2px rgba(215,173,53,.15)}.online-game-student-options button.correct{border-color:#4ade80;background:rgba(34,197,94,.2)}.online-game-student-options button.wrong{border-color:#f87171;background:rgba(239,68,68,.2)}.online-game-answer-result{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:11px}.online-game-answer-result.correct{color:#bbf7d0;background:rgba(34,197,94,.18)}.online-game-answer-result.wrong{color:#fecaca;background:rgba(239,68,68,.18)}.online-game-student-scoreboard{min-height:0;overflow:auto}.online-game-student-scoreboard .online-game-score-row{color:#fff;border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.05)}.online-game-student-waiting,.online-game-ended-card{display:grid;place-items:center;gap:8px;text-align:center}.online-game-student-waiting h3,.online-game-ended-card h3{margin:0;color:#fff}.online-game-student-waiting p,.online-game-ended-card p{margin:0;color:rgba(255,255,255,.66)}.online-game-ended-card{min-height:55dvh}.online-game-student-notice{margin-top:8px;color:#fff;background:rgba(37,99,235,.2)}.online-game-join-card header img{object-fit:contain}@media(max-width:760px){.online-game-student-page{padding:5px}.online-game-student-header{padding:8px}.online-game-student-grid{grid-template-columns:minmax(0,1fr) minmax(190px,34vw);height:calc(100dvh - 91px)}.online-game-question-card{padding:10px}.online-game-student-options{gap:6px}.online-game-student-options button{min-height:48px;padding:7px;font-size:.78rem}.online-game-student-options button>span{width:24px;height:24px}}@media(orientation:portrait)and (max-width:720px){.online-game-student-grid{grid-template-columns:1fr;height:auto}.online-game-question-card{min-height:58dvh}.online-game-student-scoreboard{max-height:35dvh}}.sidebar-search-button{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:9px;padding:9px 10px;border:1px solid rgba(215,173,53,.22);border-radius:12px;color:inherit;background:rgba(215,173,53,.07);text-align:start}.sidebar-search-button>span{min-width:0;display:grid}.sidebar-search-button strong,.sidebar-search-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-search-button small{color:var(--muted, #888);font-size:.68rem}.sidebar-search-button kbd{padding:3px 5px;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:var(--muted, #999);background:rgba(255,255,255,.05);font:.6rem/1 inherit}.sidebar.collapsed .sidebar-search-button{grid-template-columns:1fr;justify-items:center}.sidebar.collapsed .sidebar-search-button>span,.sidebar.collapsed .sidebar-search-button kbd{display:none}.global-search-backdrop{position:fixed;z-index:5000;top:0;right:0;bottom:0;left:0;display:grid;place-items:start center;padding:min(12vh,90px) 12px 12px;background:rgba(3,5,9,.68);backdrop-filter:blur(8px)}.global-search-dismiss{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:transparent}.global-search-panel{position:relative;z-index:1;width:min(720px,100%);max-height:min(650px,78dvh);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(215,173,53,.32);border-radius:18px;background:#111319;box-shadow:0 28px 80px rgba(0,0,0,.45)}.global-search-input-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.09);color:#d7ad35}.global-search-input-row input{min-width:0;border:0;outline:0;color:#fff;background:transparent;font:inherit;font-size:1rem}.global-search-input-row input::placeholder{color:rgba(255,255,255,.42)}.global-search-input-row button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;color:#fff;background:rgba(255,255,255,.06)}.global-search-results{min-height:220px;overflow:auto;padding:8px}.global-search-result{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid transparent;border-radius:12px;color:#fff;background:transparent;text-align:start}.global-search-result:hover,.global-search-result:focus-visible{border-color:rgba(215,173,53,.28);outline:0;background:rgba(215,173,53,.08)}.global-search-result-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#f3d675;background:rgba(215,173,53,.12)}.global-search-result>span:nth-child(2){min-width:0;display:grid;gap:2px}.global-search-result strong,.global-search-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-result small{color:rgba(255,255,255,.58);font-size:.74rem}.global-search-result em{padding:4px 7px;border-radius:999px;color:#e9cd72;background:rgba(255,255,255,.06);font-size:.66rem;font-style:normal}.global-search-empty{min-height:230px;display:grid;place-items:center;align-content:center;gap:6px;color:rgba(255,255,255,.45);text-align:center}.global-search-empty strong{color:#fff}.global-search-empty span{font-size:.76rem}@media(max-width:720px){.global-search-backdrop{padding-top:8px}.global-search-panel{max-height:calc(100dvh - 16px);border-radius:14px}}.achievements-page{display:grid;gap:14px}.achievements-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;overflow:hidden;border-color:rgba(215,173,53,.32);background:radial-gradient(circle at 8% 20%,rgba(215,173,53,.24),transparent 27%),linear-gradient(135deg,#15120c,#2b220f);color:#fff}.achievements-level-orb{width:104px;height:104px;display:grid;place-items:center;align-content:center;border:2px solid rgba(245,216,115,.68);border-radius:50%;color:#f5d873;background:rgba(255,255,255,.06);box-shadow:inset 0 0 24px rgba(215,173,53,.18)}.achievements-level-orb strong{font-size:1.7rem;line-height:1}.achievements-level-orb span{font-size:.68rem}.achievements-hero-copy h3{margin:3px 0 9px;font-size:clamp(1.3rem,2.4vw,2rem)}.achievements-progress{height:11px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.12)}.achievements-progress i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#b98a19,#f5d873)}.achievements-hero-copy small{display:block;margin-top:7px;color:rgba(255,255,255,.66)}.achievements-quick-stats{display:grid;grid-template-columns:repeat(3,minmax(85px,1fr));gap:7px}.achievements-quick-stats span{display:grid;justify-items:center;gap:2px;padding:9px;border-radius:12px;color:#f0d474;background:rgba(255,255,255,.07);text-align:center}.achievements-quick-stats small{color:rgba(255,255,255,.58);font-size:.65rem}.achievements-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.85fr);gap:14px}.achievements-badge-grid,.reward-catalog-grid,.reward-request-list{display:grid;gap:8px}.achievements-badge-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.achievement-badge{display:grid;justify-items:center;gap:4px;padding:14px 9px;border:1px solid rgba(215,173,53,.2);border-radius:14px;background:rgba(215,173,53,.06);text-align:center}.achievement-badge>span{font-size:2rem}.achievement-badge small{color:var(--muted, #777);font-size:.68rem}.reward-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid rgba(0,0,0,.07);border-radius:12px;background:rgba(255,255,255,.62)}.reward-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;color:#9a7214;background:rgba(215,173,53,.15)}.reward-card>div{min-width:0;display:grid}.reward-card small{color:#9a7214;font-weight:700}.reward-remove{width:34px;height:34px;padding:0}.reward-view-only{color:var(--muted, #777);font-size:.7rem}.reward-add-form{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:7px;margin-top:10px}.reward-add-form input{min-width:0}.reward-request-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(0,0,0,.07);border-radius:12px}.reward-request-row>div:first-child{min-width:0;display:grid}.reward-request-row small{color:var(--muted, #777)}.reward-request-row>div:last-child{display:flex;gap:6px}.reward-request-row .primary-btn,.reward-request-row .danger-btn,.reward-request-row .secondary-btn{min-height:35px;padding:7px 9px}.achievements-notice{position:sticky;bottom:10px;z-index:5}@media(max-width:900px){.achievements-hero{grid-template-columns:auto minmax(0,1fr)}.achievements-quick-stats{grid-column:1 / -1}.achievements-layout{grid-template-columns:1fr}}@media(max-width:620px){.achievements-level-orb{width:82px;height:82px}.achievements-quick-stats{grid-template-columns:repeat(3,1fr)}.reward-add-form{grid-template-columns:1fr 90px}.reward-add-form button{grid-column:1 / -1}.reward-request-row{align-items:stretch;flex-direction:column}}:root{--mobdea-gold:#d7ad35;--mobdea-gold-soft:#f0d478;--mobdea-ink:#090b10;--mobdea-panel:#111723;--mobdea-panel-2:#172131;--mobdea-line:rgba(215,173,53,.24)}*,*:before,*:after{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{overflow-x:hidden;background:#080a0f}button,input,select,textarea{font:inherit}img,video,canvas,svg,iframe{max-width:100%}.app-shell:not(.lesson-mode-shell){min-height:100dvh;display:grid;grid-template-columns:clamp(230px,20vw,285px) minmax(0,1fr);direction:rtl;background:#0a0d13}.app-shell:not(.lesson-mode-shell)>.sidebar{position:sticky!important;inset-block-start:0;width:auto!important;height:100dvh!important;transform:none!important;overflow:hidden;border-left:1px solid rgba(215,173,53,.18);background:linear-gradient(180deg,#090b0f,#111927 66%,#0b0e14)!important}.app-shell:not(.lesson-mode-shell)>.app-content{min-width:0;padding:clamp(10px,1.3vw,22px)!important;background:radial-gradient(circle at 8% 0%,rgba(215,173,53,.09),transparent 28%),linear-gradient(145deg,#0b0e14,#111722 58%,#0b0d12)}.sidebar .brand-panel,.sidebar .sidebar-search-button,.sidebar .sidebar-footer,.sidebar .sidebar-nav button{min-width:0}.sidebar .brand-panel{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:10px!important}.sidebar .brand-panel>div{min-width:0}.sidebar .brand-panel h1,.sidebar .brand-panel p,.sidebar .brand-panel small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .brand-avatar-photo{width:58px!important;height:58px!important;border-radius:16px!important;padding:5px!important;background:#fff!important}.sidebar .brand-avatar-photo img{width:100%;height:100%;object-fit:contain!important;border-radius:12px!important}.sidebar .sidebar-nav{display:grid!important;gap:4px!important;overflow-y:auto!important;min-height:0!important}.sidebar .sidebar-nav button{display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:48px!important;padding:7px 9px!important;text-align:right!important}.sidebar .nav-copy{min-width:0!important;display:grid!important;gap:2px!important}.sidebar .nav-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem!important}.sidebar .nav-copy small{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.64rem!important;color:#9ca9ba!important}.sidebar nav button.active .nav-copy small,.sidebar nav button:hover .nav-copy small{color:#4e3a12!important}.sidebar .nav-arrow{display:block!important}.mobile-header{display:none!important}@media(max-width:900px){.app-shell:not(.lesson-mode-shell){display:block!important}.mobile-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;position:sticky;top:0;z-index:80;min-height:54px;padding:max(6px,var(--safe-top)) 8px 6px;background:rgba(9,12,18,.97);border-bottom:1px solid rgba(215,173,53,.22);backdrop-filter:blur(14px)}.mobile-brand-copy{min-width:0}.mobile-brand-copy>div{min-width:0}.mobile-brand-copy strong,.mobile-brand-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.lesson-mode-shell)>.sidebar{position:fixed!important;z-index:120!important;top:0!important;right:0!important;width:min(84vw,330px)!important;height:100dvh!important;transform:translate(105%)!important;transition:transform .22s ease!important;box-shadow:-20px 0 50px rgba(0,0,0,.667)!important}.app-shell:not(.lesson-mode-shell)>.sidebar.open{transform:translate(0)!important}.drawer-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:110!important;background:rgba(0,0,0,.6)!important}.app-shell:not(.lesson-mode-shell)>.app-content{padding:8px!important}}.dashboard-reference-layout{width:100%;max-width:1700px;margin:0 auto;display:grid;gap:12px;min-width:0;color:#f7edd7;background:transparent!important}.dashboard-desktop-topbar{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;min-width:0!important;padding:7px 10px!important;border:1px solid var(--mobdea-line)!important;border-radius:14px!important;background:rgba(11,14,20,.9)!important}.dashboard-search-wrap{min-width:0!important;flex:1!important;max-width:620px!important}.dashboard-reference-hero{display:grid!important;grid-template-columns:minmax(280px,1.1fr) minmax(250px,.85fr) minmax(220px,.72fr)!important;min-width:0!important;min-height:300px!important;overflow:hidden!important;border:1px solid var(--mobdea-line)!important;border-radius:22px!important;background:radial-gradient(circle at 42% 30%,rgba(215,173,53,.14),transparent 30%),linear-gradient(135deg,#0b0d12,#17150f 55%,#0d1119)!important;box-shadow:0 24px 55px rgba(0,0,0,.467)!important}.dashboard-reference-copy{min-width:0!important;padding:clamp(20px,3vw,42px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.dashboard-reference-copy h2{margin:2px 0!important;font-size:clamp(3rem,6vw,6.3rem)!important;line-height:.92!important;color:#fff4d4!important}.dashboard-reference-copy h3{margin:9px 0 14px!important;color:#d9a746!important}.dashboard-reference-copy p{max-width:620px!important;color:#d8d0c3!important}.dashboard-reference-portrait{position:relative!important;min-width:0!important;min-height:300px!important;overflow:hidden!important}.dashboard-reference-portrait>img{position:absolute!important;right:8%!important;bottom:0!important;width:min(88%,430px)!important;height:94%!important;object-fit:cover!important;object-position:center top!important}.dashboard-map-paper{right:0!important;left:8%!important;top:4%!important;height:70%!important;overflow:hidden!important}.dashboard-today-panel{min-width:0!important;margin:12px!important;padding:14px!important;overflow:hidden!important}.dashboard-today-list{min-width:0!important}.dashboard-today-list>button{min-width:0!important}.dashboard-today-list strong,.dashboard-today-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-feature-grid{display:grid!important;grid-template-columns:repeat(6,minmax(135px,1fr))!important;gap:10px!important;min-width:0!important;padding:0!important;overflow-x:auto!important}.dashboard-feature-card{min-width:135px!important;min-height:175px!important;padding:14px 10px!important}.dashboard-reference-bottom{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:0!important;min-width:0!important}.dashboard-current-class-card,.dashboard-lower-panel{min-width:0!important;overflow:hidden!important}@media(max-width:1100px){.dashboard-reference-hero{grid-template-columns:minmax(260px,1.05fr) minmax(230px,.8fr)!important}.dashboard-today-panel{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}.dashboard-today-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.dashboard-reference-bottom{grid-template-columns:1fr 1fr!important}.dashboard-current-class-card{grid-column:1/-1!important}}@media(max-width:700px){.dashboard-desktop-topbar{display:none!important}.dashboard-reference-hero{grid-template-columns:1fr!important;min-height:0!important}.dashboard-reference-copy{padding:22px!important}.dashboard-reference-portrait{min-height:250px!important}.dashboard-today-panel{grid-template-columns:1fr!important;margin:8px!important}.dashboard-today-list{grid-template-columns:1fr!important}.dashboard-feature-grid{grid-template-columns:repeat(2,minmax(150px,1fr))!important}.dashboard-reference-bottom{grid-template-columns:1fr!important}}.lesson-mode-shell{width:100%;height:100dvh;min-height:0!important;overflow:hidden!important;background:#06080c}.classmode-scene,.classmode-scene.fullscreen{width:100%;height:100dvh;min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:6px!important;padding:max(5px,var(--safe-top)) max(6px,var(--safe-right)) max(5px,var(--safe-bottom)) max(6px,var(--safe-left))!important;overflow:hidden!important;border-radius:0!important;background:radial-gradient(circle at 50% -10%,rgba(215,173,53,.12),transparent 32%),linear-gradient(145deg,#07090d,#0d1118)!important}.classmode-scene>.spoken-banner{position:fixed!important;z-index:300!important;left:50%!important;bottom:62px!important;transform:translate(-50%)!important;width:min(650px,82vw)!important;margin:0!important;box-shadow:0 15px 45px rgba(0,0,0,.667)!important}.classmode-top-header{position:relative!important;z-index:40!important;display:grid!important;grid-template-columns:minmax(135px,.55fr) minmax(420px,2.4fr) minmax(150px,.75fr)!important;align-items:center!important;gap:8px!important;min-height:54px!important;margin:0!important;padding:5px 8px!important;border:1px solid var(--mobdea-line)!important;border-radius:14px!important;background:linear-gradient(135deg,#0d1119,#181711)!important}.classmode-header-brand{min-width:0!important}.classmode-header-brand img{width:39px!important;height:39px!important;object-fit:contain!important;background:#fff!important;border-radius:10px!important;padding:3px!important}.classmode-header-brand>div{min-width:0!important}.classmode-header-brand strong,.classmode-header-brand small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-header-tabs{min-width:0!important;display:grid!important;grid-template-columns:repeat(6,minmax(62px,1fr))!important;gap:5px!important;padding:3px!important;overflow:hidden!important}.classmode-header-tabs button{min-width:0!important;min-height:43px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:2px!important;padding:4px 5px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:10px!important;color:#d4dbe6!important;background:rgba(255,255,255,.02)!important;font-size:.69rem!important;font-weight:800!important}.classmode-header-tabs button.active{color:#161109!important;background:linear-gradient(145deg,#f0d478,#b87d16)!important;border-color:#ffe59b!important;box-shadow:0 8px 20px rgba(0,0,0,.333)!important}.classmode-header-tabs button svg{width:20px!important;height:20px!important}.classmode-header-meta{min-width:0!important;display:flex!important;justify-content:flex-end!important;gap:5px!important}.header-meta-item{min-width:0!important}.header-meta-item b,.header-meta-item small{display:block!important;max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-layout,.classmode-scene.fullscreen .classmode-layout{min-width:0!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(220px,24vw,310px)!important;gap:7px!important;overflow:hidden!important}.classmode-board-panel{min-width:0!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:6px!important;overflow:hidden!important;border:1px solid var(--mobdea-line)!important;border-radius:15px!important;background:linear-gradient(145deg,#0e131c,#121925)!important}.classmode-board-topbar{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;padding:0!important}.classmode-current-badge{flex:0 0 auto!important}.classmode-metrics{min-width:0!important;flex:1!important;display:flex!important;gap:4px!important;overflow:hidden!important}.classmode-metrics>div{min-width:64px!important;padding:4px 6px!important}.classmode-top-actions{flex:0 0 auto!important;display:flex!important;gap:3px!important;flex-wrap:nowrap!important}.classmode-top-actions button{min-height:31px!important;padding:5px 7px!important;font-size:.69rem!important;white-space:nowrap!important}.classmode-resource-card{flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(180px,1fr) auto!important;align-items:center!important;gap:7px!important;min-height:42px!important;margin:0!important;padding:5px 8px!important;border-radius:10px!important}.classmode-resource-card>.classmode-flow-row{display:none!important}.classmode-resource-card>.classmode-resource-actions{display:flex!important;gap:4px!important;flex-wrap:nowrap!important}.classmode-resource-card>.classmode-resource-actions button:first-child{display:none!important}.classmode-resource-card .eyebrow,.classmode-resource-card p{display:none!important}.classmode-lesson-select{width:100%!important;max-width:none!important;min-height:31px!important;padding:4px 8px!important}.classmode-session-plan{display:none!important}.classmode-media-navigator{flex:0 0 auto!important;margin:0!important;min-height:38px!important;padding:4px 7px!important}.classmode-board-frame{flex:1 1 auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:5px!important;overflow:hidden!important;border:1px solid rgba(215,173,53,.18)!important;border-radius:13px!important;background:#05070a!important}.classmode-board-surface{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;overflow:hidden!important}.classmode-board-surface.with-tools{grid-template-columns:50px minmax(0,1fr)!important}.classmode-board-sidebar-left{min-height:0!important;height:100%!important;padding:3px!important;gap:2px!important;overflow-y:auto!important}.classmode-board-sidebar-left button{min-height:36px!important;padding:3px!important}.classmode-board-sidebar-left button span{display:none!important}.classmode-board-stage{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border-radius:10px!important;background:#f5f1e8!important}.classmode-resource-preview,.classmode-map-embed,.class-board-canvas-shell{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border-radius:10px!important}.classmode-resource-preview{z-index:1!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;background:#0b0e14!important}.class-board-canvas-shell{z-index:2!important;background:transparent!important}.classmode-map-embed{z-index:4!important;background:#07101a!important}.resource-preview-head{min-height:36px!important;padding:5px 8px!important}.resource-preview-body{position:relative!important;min-height:0!important;height:100%!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:#080b10!important}.resource-preview-body>img,.resource-preview-body>video,.resource-preview-body>iframe,.resource-preview-body>object{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border:0!important;background:#080b10!important}.resource-preview-body>audio{width:min(720px,92%)!important}.class-board-canvas{width:100%!important;height:100%!important;object-fit:contain!important;touch-action:none!important}.classmode-board-identity{pointer-events:none!important}.classmode-board-watermark{max-width:32%!important;max-height:48%!important;opacity:.07!important}.classmode-board-teacher-mark{max-width:43%!important;opacity:.9!important}.classmode-toolbar{flex:0 0 auto!important;min-height:38px!important;max-height:46px!important;display:flex!important;gap:4px!important;margin:0!important;padding:4px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:10px!important}.classmode-tool-group{flex:0 0 auto!important;display:flex!important;gap:3px!important;flex-wrap:nowrap!important}.classmode-tool-group button,.classmode-tool-group select,.classmode-tool-group input{min-height:29px!important;padding:3px 6px!important;font-size:.68rem!important;white-space:nowrap!important}.classmode-side-column{min-width:0!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important}.classmode-side-column>.classmode-side-panel:not(.live-teacher-panel):not(.classmode-students-panel):not(.classmode-phrases-panel){display:none!important}.live-teacher-panel{flex:0 0 auto!important;margin:0!important;padding:8px!important;max-height:235px!important;overflow:auto!important}.live-teacher-panel.is-idle .live-panel-description{display:none!important}.live-teacher-panel.is-idle .panel-heading{margin-bottom:6px!important}.classmode-students-panel{flex:1 1 auto!important;min-height:0!important;margin:0!important;padding:7px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.classmode-students-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding-inline-end:2px!important}.classmode-student-row{padding:4px!important}.classmode-student-row-main{min-height:36px!important;padding:3px!important}.classmode-student-row-main small{display:none!important}.classmode-student-row-actions{gap:2px!important}.classmode-student-row-actions button{min-width:27px!important;min-height:27px!important;padding:3px!important}.classmode-student-actions{display:flex!important;gap:3px!important;overflow-x:auto!important;flex-wrap:nowrap!important}.classmode-student-actions button{flex:0 0 auto!important;padding:5px 7px!important;font-size:.68rem!important}.classmode-phrases-panel{flex:0 0 clamp(120px,22vh,185px)!important;min-height:0!important;margin:0!important;padding:7px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.classmode-phrase-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}.classmode-phrase-add{display:none!important}.classmode-bottom-actions{position:relative!important;z-index:45!important;min-width:0!important;min-height:46px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;margin:0!important;padding:4px 6px!important;border:1px solid var(--mobdea-line)!important;border-radius:12px!important;background:linear-gradient(135deg,#0d1118,#17140e)!important}.classmode-bottom-actions-mid{min-width:0!important;display:flex!important;gap:4px!important;justify-content:center!important;overflow-x:auto!important;flex-wrap:nowrap!important}.classmode-bottom-actions button{min-height:32px!important;padding:5px 8px!important;font-size:.69rem!important;white-space:nowrap!important}.classmode-bottom-actions-mid button:nth-child(n+5){display:none!important}.classmode-map-embed .lesson-map-studio{width:100%!important;height:100%!important;min-height:0!important;display:grid!important;grid-template-columns:clamp(175px,21vw,240px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;border-radius:0!important;overflow:hidden!important}.classmode-map-embed .lesson-map-symbol-sidebar{min-height:0!important;max-height:none!important;overflow-y:auto!important;padding:6px!important}.classmode-map-embed .lesson-map-main{min-width:0!important;min-height:0!important;height:100%!important;grid-template-rows:auto auto auto minmax(0,1fr) auto!important;overflow:hidden!important}.classmode-map-embed .lesson-map-canvas-shell,.classmode-map-embed .map-pro-stage{min-height:0!important;height:100%!important}.classmode-map-embed .lesson-map-symbol-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.classmode-map-embed .lesson-map-topbar,.classmode-map-embed .lesson-map-controlbar,.classmode-map-embed .lesson-map-search-row,.classmode-map-embed .lesson-map-footer-info{padding:4px 6px!important}.map-game-page{min-width:0!important;overflow:hidden!important}.map-challenge-pro{width:100%!important;max-width:none!important;min-width:0!important;overflow:hidden!important}.map-game-layout{min-width:0!important;display:grid!important;grid-template-columns:clamp(175px,19vw,230px) minmax(0,1fr) clamp(225px,24vw,300px)!important;gap:0!important;overflow:hidden!important}.map-game-main,.map-game-canvas-shell{min-width:0!important;min-height:0!important;overflow:hidden!important}.map-game-canvas-shell .map-pro-stage{width:100%!important;height:100%!important;min-height:520px!important}.map-pro-svg{display:block!important;width:100%!important;height:100%!important}@media(max-width:980px){.map-game-layout{grid-template-columns:180px minmax(0,1fr)!important}.map-game-question-panel{grid-column:1/-1!important;max-height:220px!important;overflow:auto!important}}.portal-preview-shell{width:min(1050px,100%)!important;max-width:none!important}.portal-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}.portal-cards article{min-width:0!important}@media(max-width:760px){.portal-cards{grid-template-columns:1fr!important}}.print-only,body.mobdea-printing-cards .no-print{display:none!important}body.mobdea-printing-cards .print-only{display:block!important;position:relative!important;z-index:9999!important;background:#fff!important;color:#111!important}body.mobdea-printing-cards .student-card-lab{background:#fff!important;padding:0!important}body.mobdea-printing-cards .print-run-header,body.mobdea-printing-cards .print-pack-label{color:#111!important}body.mobdea-printing-cards .print-pack-page{background:#fff!important}@media(orientation:landscape)and (max-height:520px){.classmode-top-header{grid-template-columns:46px minmax(380px,1fr) 56px!important;min-height:42px!important;padding:2px 4px!important}.classmode-header-brand>div,.classmode-header-meta .header-meta-item:not(:first-child){display:none!important}.classmode-header-brand img{width:32px!important;height:32px!important}.classmode-header-tabs button{min-height:35px!important;font-size:.59rem!important}.classmode-header-tabs button svg{width:16px!important;height:16px!important}.classmode-layout{grid-template-columns:minmax(0,1fr) clamp(205px,28vw,245px)!important}.classmode-resource-card{display:none!important}.classmode-board-topbar .classmode-metrics>div:nth-child(2),.classmode-board-topbar .classmode-metrics>div:nth-child(3){display:none!important}.classmode-board-sidebar-left{width:44px!important}.classmode-board-surface.with-tools{grid-template-columns:44px minmax(0,1fr)!important}.classmode-toolbar{min-height:32px!important;max-height:36px!important}.live-teacher-panel{display:none!important}.classmode-phrases-panel{flex-basis:96px!important}.classmode-bottom-actions{min-height:39px!important}}@media(orientation:portrait)and (max-width:900px){.lesson-mode-shell{height:100dvh!important;overflow:hidden!important}.classmode-top-header{grid-template-columns:auto minmax(0,1fr) auto!important}.classmode-header-brand>div,.classmode-header-meta .header-meta-item:not(:first-child){display:none!important}.classmode-header-tabs{grid-template-columns:repeat(6,78px)!important;overflow-x:auto!important;justify-content:flex-start!important}.classmode-layout{grid-template-columns:minmax(0,1fr)!important}.classmode-side-column{display:none!important}.classmode-bottom-actions-mid button:nth-child(n+4){display:none!important}}.portal-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.portal-quick-actions>button{min-width:0;display:flex;align-items:center;gap:9px;padding:12px;border:1px solid rgba(215,173,53,.22);border-radius:14px;color:#f8edd0;background:linear-gradient(145deg,#101725,#17140e);text-align:right}.portal-quick-actions>button>span{min-width:0;display:grid;gap:3px}.portal-quick-actions strong,.portal-quick-actions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-quick-actions small{color:#aab5c5}@media(max-width:720px){.portal-quick-actions{grid-template-columns:1fr}}.live-idle-actions{display:grid;grid-template-columns:1fr;gap:6px}.live-idle-actions button{width:100%;justify-content:center}.student-lesson-viewer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;display:grid;place-items:center;padding:max(10px,var(--safe-top)) max(10px,var(--safe-right)) max(10px,var(--safe-bottom)) max(10px,var(--safe-left));background:rgba(2,4,8,.88);backdrop-filter:blur(12px)}.student-lesson-viewer{width:min(1180px,100%);height:min(760px,94dvh);min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(215,173,53,.35);border-radius:20px;background:linear-gradient(145deg,#0b0e14,#151d2a);box-shadow:0 30px 80px rgba(0,0,0,.733)}.student-lesson-viewer>header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid rgba(215,173,53,.2)}.student-lesson-viewer>header>div{min-width:0}.student-lesson-viewer>header h2,.student-lesson-viewer>header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-lesson-viewer-stage{min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;padding:8px;background:#06080c}.student-lesson-media,.student-lesson-document{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border:0;border-radius:10px;background:#080b10}.student-lesson-audio{width:min(760px,92%)}.student-lesson-file-fallback{display:grid;place-items:center;gap:10px;text-align:center;color:#f3e6c3}.student-lesson-viewer>footer{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 10px;border-top:1px solid rgba(215,173,53,.2)}.student-lesson-resource-tabs{min-width:0;display:flex;gap:5px;overflow-x:auto;overflow-y:hidden}.student-lesson-resource-tabs button{flex:0 0 auto;max-width:180px;display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #ffffff12;border-radius:9px;color:#cbd4e0;background:rgba(255,255,255,.024)}.student-lesson-resource-tabs button.active{color:#161109;background:linear-gradient(145deg,#f0d478,#b87d16)}.student-lesson-resource-tabs span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:650px){.student-lesson-viewer{height:96dvh;border-radius:13px}.student-lesson-viewer>footer{grid-template-columns:auto 1fr auto}.student-lesson-resource-tabs button span{display:none}}@media(orientation:landscape)and (max-height:520px){.live-teacher-panel{display:block!important;flex:0 0 auto!important;max-height:92px!important;overflow:auto!important}.live-teacher-panel.is-idle .panel-heading h3{font-size:.76rem!important}.live-teacher-panel.is-idle .settings-notice{display:none!important}.live-teacher-panel.is-idle .live-idle-actions{grid-template-columns:1fr!important}.live-teacher-panel.is-open{position:fixed!important;z-index:420!important;top:max(6px,var(--safe-top))!important;right:max(6px,var(--safe-right))!important;width:min(390px,46vw)!important;max-height:calc(100dvh - 12px)!important;box-shadow:0 22px 60px rgba(0,0,0,.8)!important}}.map-challenge-pro{width:100%!important;height:calc(100dvh - (2*clamp(8px,1.3vw,22px)))!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important;padding:0!important}.map-game-topbar{min-width:0!important;min-height:50px!important;padding:5px 10px!important;overflow:hidden!important}.map-game-layout{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:clamp(145px,17vw,215px) minmax(0,1fr) clamp(205px,22vw,285px)!important;grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important}.map-game-nav,.map-game-main,.map-game-question-panel{min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important}.map-game-nav{display:flex!important;flex-direction:column!important}.map-game-nav nav,.map-game-secondary-nav{min-height:0!important;overflow-y:auto!important}.map-game-nav nav button,.map-game-secondary-nav button{min-height:37px!important;padding:5px 7px!important;font-size:.72rem!important}.map-game-main{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important}.map-game-toolbar,.map-layer-dock{min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;padding:4px!important}.map-region-tabs,.map-view-tools,.map-layer-dock{display:flex!important;gap:4px!important;flex-wrap:nowrap!important}.map-region-tabs button,.map-layer-dock button{flex:0 0 auto!important;min-height:30px!important;padding:4px 7px!important;font-size:.66rem!important}.map-game-canvas-shell{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#07101a!important}.map-game-canvas-shell .map-pro-stage{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}.map-game-canvas-shell .map-pro-svg{display:block!important;width:100%!important;height:100%!important}.map-game-question-panel{overflow-y:auto!important;padding:8px!important}.map-question-copy h3{font-size:clamp(.9rem,1.4vw,1.22rem)!important}.map-question-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.map-build-palette{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;max-height:215px!important;overflow-y:auto!important}.map-build-palette button{min-width:0!important;padding:5px!important}@media(max-width:980px)and (orientation:landscape){.map-challenge-pro{height:calc(100dvh - 70px)!important}.map-game-topbar{min-height:42px!important}.map-game-layout{grid-template-columns:130px minmax(0,1fr) 195px!important}.map-player-profile div,.map-game-title small,.map-game-brand strong{display:none!important}.map-game-question-panel{grid-column:auto!important;max-height:none!important}}@media(max-width:699px)and (orientation:portrait){.map-challenge-pro{height:auto!important;min-height:calc(100dvh - 70px)!important;overflow:visible!important}.map-game-layout{height:auto!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(430px,65vh) auto!important;overflow:visible!important}.map-game-nav{height:auto!important;max-height:185px!important}.map-game-question-panel{height:auto!important;max-height:none!important}}.runtime-error-screen{width:min(720px,calc(100% - 24px));min-height:360px;margin:clamp(20px,7vh,90px) auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px;border:1px solid rgba(215,173,53,.35);border-radius:22px;color:#f8efd9;text-align:center;background:linear-gradient(145deg,#0c1018,#19150e);box-shadow:0 25px 70px rgba(0,0,0,.533)}.runtime-error-screen>img{width:82px;height:82px;object-fit:contain;padding:7px;border-radius:18px;background:#fff}.runtime-error-screen>svg{color:#e8b94e}.runtime-error-screen h2,.runtime-error-screen p{margin:0}.runtime-error-screen p{max-width:580px;color:#d3d8e0;overflow-wrap:anywhere}.runtime-error-screen>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.runtime-error-screen small{color:#9ba8b8}.classmode-board-page{width:100%!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;margin:0!important;padding:6px!important;overflow:hidden!important;box-sizing:border-box!important;direction:rtl;color:#f7dfaa;background:radial-gradient(circle at 50% 15%,rgba(146,91,26,.18),transparent 44%),linear-gradient(180deg,#17130e,#080706)!important}.classmode-board-page *{box-sizing:border-box}.classmode-board-page .classmode-shell{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important}.classmode-board-page .classmode-header,.classmode-board-page .classmode-topbar,.classmode-board-page .classmode-media-navigator,.classmode-board-page .media-navigator{min-width:0!important;margin:0!important;border:1px solid rgba(220,160,72,.35)!important;border-radius:12px!important;background:rgba(12,11,9,.97)!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important}.classmode-board-page .classmode-mode-tabs,.classmode-board-page .classmode-media-tabs,.classmode-board-page .media-navigator-tabs,.classmode-board-page [class*=media-nav]{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:5px!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}.classmode-board-page .classmode-mode-tabs button,.classmode-board-page .classmode-media-tabs button,.classmode-board-page .media-navigator button,.classmode-board-page [class*=media-nav] button{flex:0 0 auto!important;min-width:68px!important;min-height:48px!important;padding:5px 8px!important;border:1px solid rgba(224,169,83,.3)!important;border-radius:9px!important;color:#f2cd80!important;background:rgba(255,255,255,.024)!important}.classmode-board-page .classmode-main,.classmode-board-page .classmode-layout,.classmode-board-page .classmode-workspace,.classmode-board-page .classmode-content{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(230px,22vw,290px)!important;grid-template-rows:minmax(0,1fr)!important;gap:7px!important;overflow:hidden!important}.classmode-board-page .classmode-board-panel,.classmode-board-page .classmode-stage,.classmode-board-page .classmode-display,.classmode-board-page .classmode-resource-stage,.classmode-board-page .classmode-canvas-wrap{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;margin:0!important;overflow:hidden!important;border:2px solid rgba(190,128,48,.58)!important;border-radius:12px!important;background:linear-gradient(rgba(239,215,169,.96),rgba(220,185,123,.96)),#d7b57d!important;box-shadow:inset 0 0 38px rgba(84,42,5,.2),0 10px 28px rgba(0,0,0,.32)!important}.classmode-board-page canvas,.classmode-board-page iframe,.classmode-board-page video,.classmode-board-page img,.classmode-board-page .react-pdf__Page,.classmode-board-page .react-pdf__Page__canvas,.classmode-board-page .classmode-resource-viewer{max-width:100%!important;max-height:100%!important;object-fit:contain!important}.classmode-board-page .classmode-side-panel:not(.classmode-phrases-pane){min-width:0!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:7px!important;overflow:hidden!important;border:1px solid rgba(218,160,72,.38)!important;border-radius:12px!important;background:linear-gradient(180deg,rgba(27,24,18,.98),rgba(10,9,7,.98))!important}.classmode-board-page .classmode-phrases-pane{display:none!important}.classmode-board-page .classmode-students-list{min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:3px!important;display:flex!important;flex-direction:column!important;gap:5px!important}.classmode-board-page .classmode-student-row{min-height:36px!important;padding:4px 5px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:5px!important;border:1px solid rgba(224,169,83,.22)!important;border-radius:8px!important;background:rgba(255,255,255,.024)!important}.classmode-board-page .classmode-student-row button{min-width:29px!important;min-height:29px!important;padding:3px!important}.classmode-board-page .classmode-student-actions{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px!important;padding-top:6px!important}.classmode-board-page .classmode-phrase-icon-row{position:relative!important;width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:4px!important}.classmode-board-page .classmode-phrase-menu{position:relative!important;min-width:0!important}.classmode-board-page .classmode-phrase-menu>summary{min-height:42px!important;padding:5px 7px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;cursor:pointer!important;list-style:none!important;border:1px solid rgba(224,169,83,.42)!important;border-radius:9px!important;color:#f6d995!important;background:rgba(255,255,255,.035)!important;user-select:none}.classmode-board-page .classmode-phrase-menu>summary::-webkit-details-marker{display:none}.classmode-board-page .classmode-phrase-menu>summary span{font-size:19px!important;line-height:1!important}.classmode-board-page .classmode-phrase-menu>summary small{font-size:10px!important;font-weight:700!important}.classmode-board-page .classmode-phrase-menu-positive>summary{border-color:rgba(67,194,105,.48)!important}.classmode-board-page .classmode-phrase-menu-corrective>summary{border-color:rgba(232,152,45,.55)!important}.classmode-board-page .classmode-phrase-popover{position:absolute!important;z-index:300!important;right:0!important;bottom:calc(100% + 7px)!important;width:min(280px,72vw)!important;max-height:260px!important;padding:8px!important;overflow:hidden!important;border:1px solid rgba(224,169,83,.48)!important;border-radius:11px!important;color:#f6dfab!important;background:rgba(12,11,9,.99)!important;box-shadow:0 15px 35px rgba(0,0,0,.55)!important}.classmode-board-page .classmode-phrase-popover strong{display:block!important;margin-bottom:7px!important;text-align:center!important;color:#e7b85c!important}.classmode-board-page .classmode-phrase-choices{max-height:205px!important;display:flex!important;flex-direction:column!important;gap:5px!important;overflow-y:auto!important}.classmode-board-page .classmode-phrase-choices button{width:100%!important;min-height:35px!important;padding:6px 8px!important;text-align:right!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:7px!important;color:#f5e3bb!important;background:rgba(255,255,255,.035)!important}.classmode-board-page .classmode-phrase-choices button:active{transform:scale(.98)}.classmode-board-page .classmode-select-student-notice{grid-column:1 / -1!important;padding:7px!important;text-align:center!important;font-size:11px!important;color:rgba(247,223,170,.72)!important}.classmode-board-page .classmode-footer,.classmode-board-page .classmode-bottom-bar,.classmode-board-page .classmode-session-actions{min-width:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;border:1px solid rgba(218,160,72,.35)!important;border-radius:11px!important;background:rgba(11,10,8,.97)!important}.classmode-board-page .classmode-footer button,.classmode-board-page .classmode-bottom-bar button,.classmode-board-page .classmode-session-actions button{flex:0 0 auto!important}@media(max-width:1100px)and (orientation:landscape){.classmode-board-page{padding:4px!important}.classmode-board-page .classmode-main,.classmode-board-page .classmode-layout,.classmode-board-page .classmode-workspace,.classmode-board-page .classmode-content{grid-template-columns:minmax(0,1fr) 220px!important;gap:4px!important}.classmode-board-page .classmode-student-row{min-height:32px!important;font-size:10px!important}.classmode-board-page .classmode-mode-tabs button,.classmode-board-page .classmode-media-tabs button,.classmode-board-page .media-navigator button{min-width:61px!important;min-height:43px!important;font-size:9px!important}}@media(max-width:900px)and (orientation:landscape){.classmode-board-page{padding:2px!important}.classmode-board-page .classmode-main,.classmode-board-page .classmode-layout,.classmode-board-page .classmode-workspace,.classmode-board-page .classmode-content{display:block!important;width:100%!important;height:100%!important}.classmode-board-page .classmode-board-panel,.classmode-board-page .classmode-stage,.classmode-board-page .classmode-display,.classmode-board-page .classmode-resource-stage,.classmode-board-page .classmode-canvas-wrap{width:100%!important;height:100%!important}.classmode-board-page .classmode-student-drawer-backdrop{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:1200!important;display:grid!important;justify-items:end!important;background:rgba(0,0,0,.62)!important}.classmode-board-page .classmode-student-drawer{width:min(290px,78vw)!important;height:100dvh!important;max-height:100dvh!important;padding:8px!important;overflow:hidden!important;border-left:1px solid rgba(224,169,83,.45)!important;background:linear-gradient(180deg,rgba(29,25,18,.99),rgba(8,7,6,.99))!important;box-shadow:-22px 0 55px rgba(0,0,0,.62)!important}.classmode-board-page .classmode-student-drawer-list{min-height:0!important;overflow-y:auto!important}.classmode-board-page .classmode-phrase-popover{position:fixed!important;right:8px!important;bottom:65px!important;width:min(290px,calc(100vw - 16px))!important;max-height:calc(100dvh - 90px)!important}.classmode-board-page .classmode-phrase-choices{max-height:calc(100dvh - 145px)!important}.classmode-board-page .classmode-mode-tabs button,.classmode-board-page .classmode-media-tabs button,.classmode-board-page .media-navigator button{min-width:55px!important;min-height:39px!important;padding:3px 5px!important;font-size:8px!important}}@media(max-width:900px)and (orientation:portrait){.classmode-board-page:before{content:"لف الهاتف للوضع العرضي لتشغيل وضع الحصة";position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;display:grid;place-items:center;padding:28px;text-align:center;font-size:18px;font-weight:800;color:#f3d28c;background:radial-gradient(circle at center,rgba(110,67,22,.3),transparent 55%),#090806}.classmode-board-page>*{visibility:hidden!important}}:root{--v103-bg: #06080d;--v103-panel: #0e131c;--v103-panel-2: #15130e;--v103-gold: #d7ad35;--v103-gold-soft: #f1d37c;--v103-line: rgba(215, 173, 53, .24);--v103-muted: #aeb8c8;--v103-radius: 14px}html,body,#root{width:100%;min-width:0;min-height:100%;margin:0;background:var(--v103-bg)}body{overflow-x:hidden;overscroll-behavior:none}.screen-stage{width:100%;min-width:0;min-height:0}.app-shell-v103:not(.lesson-mode-shell){width:100%;min-width:0;min-height:100dvh;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(235px,20vw,300px)!important;grid-template-areas:"content sidebar"!important;background:radial-gradient(circle at 18% 0%,rgba(215,173,53,.09),transparent 28%),#080b11}.app-shell-v103:not(.lesson-mode-shell)>.sidebar{grid-area:sidebar!important;width:auto!important;min-width:0!important;height:100dvh!important;position:sticky!important;top:0!important;right:auto!important;overflow:hidden!important;padding:12px!important;border-left:1px solid var(--v103-line)}.app-shell-v103:not(.lesson-mode-shell)>.app-content{grid-area:content!important;min-width:0!important;padding:clamp(8px,1.4vw,18px)!important;overflow-x:hidden!important}.app-shell-v103 .sidebar-nav{min-height:0!important;overflow-y:auto!important;padding-bottom:10px!important}.app-shell-v103 .sidebar-nav button{width:100%!important;min-width:0!important;grid-template-columns:34px minmax(0,1fr) 15px!important}.app-shell-v103 .nav-copy,.app-shell-v103 .nav-copy strong,.app-shell-v103 .nav-copy small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}@media(max-width:920px),(orientation:portrait){.app-shell-v103:not(.lesson-mode-shell){display:block!important;min-height:100dvh}.app-shell-v103:not(.lesson-mode-shell)>.mobile-header{display:flex!important;position:sticky!important;top:0!important;z-index:100!important;min-height:54px!important}.app-shell-v103:not(.lesson-mode-shell)>.sidebar{position:fixed!important;z-index:150!important;top:0!important;right:0!important;width:min(86vw,330px)!important;height:100dvh!important;transform:translate(105%)!important;transition:transform .22s ease!important;box-shadow:-24px 0 60px rgba(0,0,0,.72)!important}.app-shell-v103:not(.lesson-mode-shell)>.sidebar.open{transform:translate(0)!important}.app-shell-v103:not(.lesson-mode-shell)>.app-content{padding:8px!important}}.dashboard-v103{width:100%!important;max-width:1680px!important;min-width:0!important;margin:0 auto!important;display:grid!important;grid-template-rows:auto minmax(260px,auto) auto auto!important;gap:10px!important}.dashboard-v103 .dashboard-reference-hero{min-width:0!important;min-height:clamp(280px,42vh,470px)!important;display:grid!important;grid-template-columns:minmax(310px,1.05fr) minmax(280px,.9fr) minmax(230px,.72fr)!important;overflow:hidden!important;border:1px solid var(--v103-line)!important;border-radius:22px!important;background:linear-gradient(135deg,#0a0d13,#21170d 58%,#0a111b)!important}.dashboard-v103 .dashboard-reference-copy,.dashboard-v103 .dashboard-reference-portrait,.dashboard-v103 .dashboard-today-panel{min-width:0!important}.dashboard-v103 .dashboard-reference-portrait{min-height:0!important;height:100%!important}.dashboard-v103 .dashboard-reference-portrait>img{width:100%!important;height:100%!important;right:0!important;bottom:0!important;object-fit:cover!important;object-position:center top!important;opacity:.96}.dashboard-v103 .dashboard-map-paper{inset:4% 4% auto 4%!important;width:auto!important;max-width:none!important;height:58%!important;opacity:.42!important}.dashboard-v103 .dashboard-feature-grid{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(6,minmax(140px,1fr))!important;gap:8px!important;overflow-x:auto!important;padding-bottom:3px!important}.dashboard-v103 .dashboard-feature-card{min-width:140px!important;min-height:158px!important;padding:13px!important}.dashboard-v103 .dashboard-reference-bottom{min-width:0!important;display:grid!important;grid-template-columns:1.25fr 1fr 1fr!important;gap:9px!important}.dashboard-v103 .dashboard-current-class-card,.dashboard-v103 .dashboard-lower-panel{min-width:0!important;overflow:hidden!important}@media(max-width:1180px){.dashboard-v103 .dashboard-reference-hero{grid-template-columns:minmax(280px,1fr) minmax(260px,.85fr)!important}.dashboard-v103 .dashboard-today-panel{grid-column:1 / -1!important;display:grid!important;grid-template-columns:210px minmax(0,1fr) 160px!important;align-items:center!important}.dashboard-v103 .dashboard-today-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-v103 .dashboard-reference-bottom{grid-template-columns:1fr 1fr!important}.dashboard-v103 .dashboard-current-class-card{grid-column:1 / -1!important}}@media(orientation:landscape)and (max-height:560px){.dashboard-v103{height:calc(100dvh - 16px)!important;grid-template-rows:auto minmax(0,1fr) 128px!important;overflow:hidden!important}.dashboard-v103 .dashboard-desktop-topbar{min-height:38px!important;padding:4px 8px!important}.dashboard-v103 .dashboard-reference-hero{min-height:0!important;grid-template-columns:minmax(250px,1fr) minmax(230px,.8fr) minmax(215px,.72fr)!important}.dashboard-v103 .dashboard-reference-copy{padding:16px 20px!important}.dashboard-v103 .dashboard-reference-copy h2{font-size:clamp(2.6rem,6vw,4.5rem)!important}.dashboard-v103 .dashboard-reference-copy p{display:none!important}.dashboard-v103 .dashboard-feature-grid{grid-template-columns:repeat(6,minmax(130px,1fr))!important;overflow-x:auto!important}.dashboard-v103 .dashboard-feature-card{min-height:118px!important;padding:8px!important}.dashboard-v103 .dashboard-feature-card small,.dashboard-v103 .dashboard-feature-link,.dashboard-v103 .dashboard-reference-bottom{display:none!important}}.lesson-mode-shell,.lesson-mode-shell>.screen-stage{width:100%!important;height:100dvh!important;min-width:0!important;min-height:0!important;overflow:hidden!important}.classmode-v103,.classmode-v103.fullscreen{width:100%!important;height:100dvh!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-rows:56px minmax(0,1fr) 48px!important;gap:6px!important;padding:6px!important;overflow:hidden!important;border-radius:0!important;background:radial-gradient(circle at 50% -10%,rgba(215,173,53,.12),transparent 35%),#070a10!important}.classmode-v103 .classmode-top-header{min-width:0!important;min-height:0!important;height:56px!important;display:grid!important;grid-template-columns:clamp(120px,14vw,190px) minmax(390px,1fr) clamp(95px,13vw,170px)!important;align-items:center!important;gap:7px!important;margin:0!important;padding:5px 7px!important;overflow:hidden!important;border:1px solid var(--v103-line)!important;border-radius:13px!important;background:linear-gradient(135deg,#0e131c,#18140e)!important}.classmode-v103 .classmode-header-brand,.classmode-v103 .classmode-header-meta,.classmode-v103 .classmode-header-tabs{min-width:0!important}.classmode-v103 .classmode-header-brand img{width:39px!important;height:39px!important;flex:0 0 39px!important;object-fit:contain!important;padding:2px!important;border-radius:10px!important;background:#fff!important}.classmode-v103 .classmode-header-brand>div,.classmode-v103 .classmode-header-brand strong,.classmode-v103 .classmode-header-brand small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-v103 .classmode-header-tabs{width:100%!important;display:grid!important;grid-template-columns:repeat(6,minmax(52px,1fr))!important;gap:4px!important;overflow:hidden!important;padding:2px!important}.classmode-v103 .classmode-header-tabs button{min-width:0!important;min-height:44px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:1px!important;padding:3px 4px!important;border-radius:9px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.024)!important;color:#e5eaf2!important;font-size:clamp(.56rem,.8vw,.72rem)!important;line-height:1!important}.classmode-v103 .classmode-header-tabs button.active{color:#161009!important;background:linear-gradient(145deg,#f6dc86,#b97d17)!important;border-color:#ffe5a0!important;box-shadow:0 7px 18px rgba(0,0,0,.36)!important}.classmode-v103 .classmode-header-tabs svg{width:19px!important;height:19px!important}.classmode-v103 .classmode-header-meta{display:flex!important;justify-content:flex-end!important;gap:4px!important;overflow:hidden!important}.classmode-v103 .header-meta-item{min-width:0!important;padding:4px 6px!important}.classmode-v103 .header-meta-item b,.classmode-v103 .header-meta-item small{max-width:90px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-v103 .classmode-layout,.classmode-v103.fullscreen .classmode-layout{min-width:0!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(210px,24vw,300px)!important;gap:6px!important;overflow:hidden!important}.classmode-v103 .classmode-board-panel{min-width:0!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:5px!important;overflow:hidden!important;border:1px solid var(--v103-line)!important;border-radius:13px!important;background:linear-gradient(145deg,#0c1119,#111824)!important}.classmode-v103 .classmode-board-topbar{flex:0 0 35px!important;min-width:0!important;min-height:35px!important;display:flex!important;align-items:center!important;gap:5px!important;padding:0 2px!important;overflow:hidden!important}.classmode-v103 .classmode-metrics{flex:1 1 auto!important;min-width:0!important;display:flex!important;gap:3px!important;overflow:hidden!important}.classmode-v103 .classmode-metrics>div{min-width:56px!important;min-height:30px!important;padding:3px 5px!important;border-radius:8px!important}.classmode-v103 .classmode-metrics>div:nth-child(2),.classmode-v103 .classmode-metrics>div:nth-child(3){display:none!important}.classmode-v103 .classmode-top-actions{flex:0 0 auto!important;display:flex!important;gap:3px!important;flex-wrap:nowrap!important;overflow:hidden!important}.classmode-v103 .classmode-top-actions button{min-height:30px!important;padding:4px 7px!important;font-size:.66rem!important;white-space:nowrap!important}.classmode-v103 .classmode-resource-card,.classmode-v103 .classmode-session-plan{display:none!important}.classmode-v103 .classmode-media-navigator{flex:0 0 38px!important;min-width:0!important;min-height:38px!important;margin:0!important;padding:3px 6px!important;overflow:hidden!important;border-radius:9px!important}.classmode-v103 .classmode-media-navigator-center{min-width:0!important}.classmode-v103 .classmode-media-navigator-center select{min-width:0!important;max-width:100%!important;height:30px!important}.classmode-v103 .classmode-board-frame{flex:1 1 auto!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:11px!important;border:1px solid rgba(215,173,53,.18)!important;background:#070a0f!important}.classmode-v103 .classmode-board-surface{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important}.classmode-v103 .classmode-board-surface.with-tools{grid-template-columns:48px minmax(0,1fr)!important}.classmode-v103 .classmode-board-sidebar-left{width:48px!important;min-width:48px!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;padding:3px!important;overflow-y:auto!important;overflow-x:hidden!important}.classmode-v103 .classmode-board-sidebar-left button{flex:0 0 34px!important;min-width:0!important;min-height:34px!important;padding:3px!important;display:grid!important;place-items:center!important}.classmode-v103 .classmode-board-sidebar-left button span{display:none!important}.classmode-v103 .classmode-board-stage{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:block!important;overflow:hidden!important;padding:0!important;background:#080b11!important}.classmode-v103 .classmode-resource-preview,.classmode-v103 .classmode-map-embed,.classmode-v103 .class-board-canvas-shell,.classmode-v103 .classmode-empty-resource{position:absolute!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;overflow:hidden!important}.classmode-v103 .classmode-resource-preview{display:grid!important;grid-template-rows:34px minmax(0,1fr)!important;background:#090d14!important;transform:none!important}.classmode-v103 .classmode-resource-preview .resource-preview-head{min-width:0!important;min-height:34px!important;height:34px!important;padding:4px 8px!important;display:flex!important;align-items:center!important;gap:6px!important;overflow:hidden!important}.classmode-v103 .classmode-resource-preview .resource-preview-head strong,.classmode-v103 .classmode-resource-preview .resource-preview-head small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-v103 .resource-preview-body{position:relative!important;inset:auto!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:#0a0d12!important}.classmode-v103 .resource-preview-body>img,.classmode-v103 .resource-preview-body>video,.classmode-v103 .resource-preview-body>iframe{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:#fff!important}.classmode-v103 .class-board-canvas-shell{transform:none!important;aspect-ratio:auto!important;background:linear-gradient(145deg,#f4ead4,#fffaf0)!important}.classmode-v103 .class-board-canvas{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;touch-action:none!important}.classmode-v103 .classmode-board-watermark{max-width:27%!important;max-height:48%!important;opacity:.075!important}.classmode-v103 .classmode-board-teacher-mark{max-width:40%!important;opacity:.88!important}.classmode-v103 .classmode-toolbar{flex:0 0 40px!important;min-width:0!important;min-height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:3px 4px!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:9px!important}.classmode-v103 .classmode-tool-group{flex:0 0 auto!important;display:flex!important;flex-wrap:nowrap!important;gap:3px!important}.classmode-v103 .classmode-tool-group button,.classmode-v103 .classmode-tool-group select,.classmode-v103 .classmode-tool-group input{min-height:29px!important;padding:3px 6px!important;font-size:.66rem!important;white-space:nowrap!important}.classmode-v103 .classmode-side-column{min-width:0!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) clamp(100px,22vh,160px)!important;gap:5px!important;overflow:hidden!important}.classmode-v103 .classmode-side-column>.classmode-side-panel:not(.live-teacher-panel):not(.classmode-students-panel):not(.classmode-phrases-panel){display:none!important}.classmode-v103 .live-teacher-panel{min-width:0!important;max-height:155px!important;margin:0!important;padding:7px!important;overflow:auto!important}.classmode-v103 .live-teacher-panel.is-idle{max-height:94px!important}.classmode-v103 .live-teacher-panel.is-idle .live-panel-description,.classmode-v103 .live-teacher-panel.is-idle .live-panel-help{display:none!important}.classmode-v103 .classmode-students-panel,.classmode-v103 .classmode-phrases-panel{min-width:0!important;min-height:0!important;margin:0!important;padding:7px!important;overflow:hidden!important;border-radius:12px!important}.classmode-v103 .classmode-students-panel{display:flex!important;flex-direction:column!important}.classmode-v103 .classmode-students-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.classmode-v103 .classmode-student-row{min-width:0!important;padding:3px!important}.classmode-v103 .classmode-student-row-main{min-width:0!important;min-height:34px!important;grid-template-columns:34px minmax(0,1fr) auto 32px!important;padding:3px 4px!important}.classmode-v103 .classmode-student-row-main>div,.classmode-v103 .classmode-student-row-main strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.classmode-v103 .classmode-student-row-main small{display:none!important}.classmode-v103 .classmode-student-row-actions{display:grid!important;grid-template-columns:repeat(6,minmax(25px,1fr))!important;gap:2px!important}.classmode-v103 .classmode-student-row-actions button{min-width:0!important;min-height:26px!important;padding:2px!important}.classmode-v103 .classmode-student-actions{display:flex!important;gap:3px!important;flex-wrap:nowrap!important;overflow-x:auto!important}.classmode-v103 .classmode-student-actions button{flex:0 0 auto!important;padding:4px 6px!important;font-size:.64rem!important}.classmode-v103 .classmode-phrases-panel{display:flex!important;flex-direction:column!important}.classmode-v103 .classmode-phrase-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.classmode-v103 .classmode-phrase-add{display:none!important}.classmode-v103 .classmode-bottom-actions{min-width:0!important;min-height:48px!important;height:48px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:4px!important;margin:0!important;padding:4px 6px!important;overflow:hidden!important;border:1px solid var(--v103-line)!important;border-radius:11px!important;background:linear-gradient(135deg,#0d121a,#17130d)!important}.classmode-v103 .classmode-bottom-actions-mid{min-width:0!important;display:flex!important;justify-content:center!important;gap:4px!important;flex-wrap:nowrap!important;overflow-x:auto!important}.classmode-v103 .classmode-bottom-actions button{min-height:31px!important;padding:4px 7px!important;font-size:.66rem!important;white-space:nowrap!important}.classmode-v103 .classmode-map-embed .lesson-map-studio{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:clamp(170px,20vw,230px) minmax(0,1fr)!important;overflow:hidden!important}.classmode-v103 .classmode-map-embed .lesson-map-symbol-sidebar,.classmode-v103 .classmode-map-embed .lesson-map-main,.classmode-v103 .classmode-map-embed .lesson-map-canvas-shell,.classmode-v103 .classmode-map-embed .map-pro-stage{min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important}.classmode-v103 .classmode-map-embed .lesson-map-symbol-sidebar{overflow-y:auto!important;padding:5px!important}.classmode-v103 .classmode-map-embed .lesson-map-main{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important}.classmode-v103 .classmode-map-embed .lesson-map-symbol-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}@media(orientation:landscape)and (max-height:520px){.classmode-v103,.classmode-v103.fullscreen{grid-template-rows:44px minmax(0,1fr) 40px!important;gap:4px!important;padding:3px!important}.classmode-v103 .classmode-top-header{height:44px!important;grid-template-columns:42px minmax(360px,1fr) 52px!important;gap:4px!important;padding:2px 4px!important}.classmode-v103 .classmode-header-brand>div,.classmode-v103 .classmode-header-meta .header-meta-item:not(:first-child){display:none!important}.classmode-v103 .classmode-header-brand img{width:34px!important;height:34px!important}.classmode-v103 .classmode-header-tabs button{min-height:36px!important;font-size:.55rem!important}.classmode-v103 .classmode-header-tabs svg{width:16px!important;height:16px!important}.classmode-v103 .classmode-layout,.classmode-v103.fullscreen .classmode-layout{grid-template-columns:minmax(0,1fr) clamp(195px,27vw,235px)!important;gap:4px!important}.classmode-v103 .classmode-board-panel{gap:3px!important;padding:3px!important}.classmode-v103 .classmode-board-topbar{flex-basis:31px!important;min-height:31px!important}.classmode-v103 .classmode-current-badge,.classmode-v103 .classmode-top-actions .secondary-btn,.classmode-v103 .classmode-top-actions .danger-btn{display:none!important}.classmode-v103 .classmode-media-navigator{flex-basis:32px!important;min-height:32px!important}.classmode-v103 .classmode-toolbar{flex-basis:33px!important;min-height:33px!important;max-height:33px!important}.classmode-v103 .live-teacher-panel{display:none!important}.classmode-v103 .classmode-side-column{grid-template-rows:minmax(0,1fr) 86px!important}.classmode-v103 .classmode-phrases-panel{grid-row:2!important}.classmode-v103 .classmode-bottom-actions{height:40px!important;min-height:40px!important}.classmode-v103 .classmode-bottom-actions-mid button:nth-child(n+5){display:none!important}}.map-challenge-pro.map-game-v103,.map-game-v103{width:100%!important;min-width:0!important;min-height:0!important}.map-challenge-pro{width:100%!important;min-width:0!important;overflow:hidden!important}.map-challenge-pro .map-game-layout{min-width:0!important;min-height:clamp(520px,76dvh,920px)!important;display:grid!important;grid-template-columns:clamp(170px,18vw,225px) minmax(0,1fr) clamp(215px,23vw,290px)!important;overflow:hidden!important}.map-challenge-pro .map-game-nav,.map-challenge-pro .map-game-main,.map-challenge-pro .map-game-question-panel,.map-challenge-pro .map-game-canvas-shell,.map-challenge-pro .map-pro-stage,.map-challenge-pro .map-pro-transform{min-width:0!important;min-height:0!important}.map-challenge-pro .map-game-main{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important}.map-challenge-pro .map-game-canvas-shell,.map-challenge-pro .map-pro-stage{width:100%!important;height:100%!important;min-height:420px!important;overflow:hidden!important}.map-challenge-pro .map-pro-transform,.map-challenge-pro .map-pro-svg{width:100%!important;height:100%!important;display:block!important}@media(orientation:landscape)and (max-height:560px){.map-challenge-pro{height:calc(100dvh - 12px)!important;display:grid!important;grid-template-rows:48px minmax(0,1fr)!important}.map-challenge-pro .map-game-layout{min-height:0!important;height:100%!important;grid-template-columns:145px minmax(0,1fr) 205px!important}.map-challenge-pro .map-game-nav,.map-challenge-pro .map-game-question-panel{overflow-y:auto!important}.map-challenge-pro .map-game-canvas-shell,.map-challenge-pro .map-pro-stage{min-height:0!important}}.portal-page-v103,.portal-page-v103 .portal-preview-shell{min-width:0!important}.portal-page-v103 .portal-preview-shell{width:min(1180px,100%)!important;margin:0 auto!important}.portal-page-v103 .portal-cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:9px!important}.portal-page-v103 .portal-quick-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}@media(max-width:700px){.portal-page-v103 .portal-quick-actions,.portal-page-v103 .portal-cards{grid-template-columns:1fr!important}}.print-only{display:none!important}body.mobdea-printing-cards{background:#fff!important;overflow:visible!important}body.mobdea-printing-cards #root,body.mobdea-printing-cards .screen-stage,body.mobdea-printing-cards .student-card-lab{width:100%!important;min-height:0!important;background:#fff!important;overflow:visible!important}body.mobdea-printing-cards .no-print{display:none!important}body.mobdea-printing-cards .print-only{display:block!important;position:static!important;width:100%!important;min-height:1px!important;opacity:1!important;visibility:visible!important;background:#fff!important;color:#111!important}body.mobdea-printing-cards .print-run,body.mobdea-printing-cards .print-pack,body.mobdea-printing-cards .print-pack-page,body.mobdea-printing-cards .print-sheet,body.mobdea-printing-cards .print-sheet-grid,body.mobdea-printing-cards .print-slot,body.mobdea-printing-cards .student-card-face{opacity:1!important;visibility:visible!important}@media print{@page{size:A4 landscape;margin:4mm}html,body,#root{width:100%!important;min-height:0!important;overflow:visible!important;background:#fff!important}body:not(.mobdea-printing-cards) .print-only{display:block!important}.print-only{position:static!important;opacity:1!important;visibility:visible!important}.print-pack-page{break-after:page!important;page-break-after:always!important}.print-pack-page.last-page{break-after:auto!important;page-break-after:auto!important}}body.mobdea-printing-cards .app-shell,body.mobdea-printing-cards .app-shell-v103,body.mobdea-printing-cards .app-content,body.mobdea-printing-cards .student-card-lab{display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important}body.mobdea-printing-cards .sidebar,body.mobdea-printing-cards .mobile-header,body.mobdea-printing-cards .app-backdrop,body.mobdea-printing-cards .app-toast,body.mobdea-printing-cards .route-loading,body.mobdea-printing-cards .student-card-lab>:not(.print-only){display:none!important}body.mobdea-printing-cards .student-card-lab>.print-only{display:block!important;width:100%!important;margin:0!important;padding:0!important}.classmode-v103 .classmode-live-shortcut{border-color:rgba(215,173,53,.62)!important;color:#f1d37c!important}@media(orientation:landscape)and (max-height:520px){.classmode-v103 .classmode-bottom-actions-mid .classmode-live-shortcut{display:inline-flex!important}}@media(orientation:landscape)and (max-height:520px){.classmode-v103 .classmode-bottom-actions-mid button.classmode-live-shortcut{display:inline-flex!important}}.library-v103{width:min(1500px,100%)!important;min-width:0!important;margin:0 auto!important}.library-v103 .library-heading,.library-v103 .library-summary-strip,.library-v103 .library-permanent-grid,.library-v103 .library-lessons-grid,.library-v103 .library-editor-grid,.library-v103 .library-editor-media-grid,.library-v103 .library-special-assets{min-width:0!important}.library-v103 .library-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}.library-v103 .library-summary-strip{grid-template-columns:repeat(4,minmax(115px,1fr))!important;overflow-x:auto!important}.library-v103 .library-permanent-grid,.library-v103 .library-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.library-v103 .library-lesson-card,.library-v103 .library-permanent-card{min-width:0!important;overflow:hidden!important}.library-v103 .library-lesson-main,.library-v103 .library-lesson-main h3,.library-v103 .library-lesson-main p,.library-v103 .library-permanent-copy{min-width:0!important;overflow-wrap:anywhere!important}.library-v103 .library-lesson-actions{min-width:0!important;flex-wrap:wrap!important}.library-v103 .student-lesson-viewer{width:min(1180px,96vw)!important;height:min(850px,94dvh)!important;max-height:94dvh!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important}.library-v103 .student-lesson-viewer-stage,.library-v103 .student-lesson-media,.library-v103 .student-lesson-document{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.library-v103 .student-lesson-resource-tabs{min-width:0!important;overflow-x:auto!important;flex-wrap:nowrap!important}@media(max-width:900px){.library-v103 .library-heading{grid-template-columns:1fr!important}.library-v103 .library-heading-actions{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.library-v103 .library-permanent-grid,.library-v103 .library-lessons-grid{grid-template-columns:1fr!important}}@media(orientation:landscape)and (max-height:560px){.library-v103 .page-heading{padding:7px 10px!important;margin-bottom:7px!important}.library-v103 .page-heading p,.library-v103 .library-summary-strip,.library-v103 .library-permanent-grid{display:none!important}.library-v103 .library-grade-header{padding:4px 8px!important}.library-v103 .library-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.library-v103 .library-lesson-card{grid-template-columns:62px minmax(0,1fr)!important;padding:7px!important}.library-v103 .library-lesson-thumbnail{width:62px!important;height:62px!important}.library-v103 .library-lesson-main p,.library-v103 .library-media-chips{display:none!important}.library-v103 .library-lesson-editor{width:min(1200px,98vw)!important;max-height:96dvh!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:10px!important;gap:8px!important}.library-v103 .library-lesson-editor>header,.library-v103 .library-lesson-editor>footer,.library-v103 .library-editor-textbook-state,.library-v103 .library-special-assets{grid-column:1 / -1!important}.library-v103 .library-lesson-editor>footer{bottom:-10px!important;margin:0 -10px -10px!important;padding:7px 10px!important}}.games-v103{width:min(1450px,100%)!important;min-width:0!important;margin:0 auto!important}.games-v103 .game-control-panel{min-width:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(130px,1fr)) repeat(2,auto)!important;gap:7px!important}.games-v103 .lesson-game-panel,.games-v103 .online-game-host-panel,.games-v103 .professional-game-board,.games-v103 .game-stage-header{min-width:0!important;overflow:hidden!important}.games-v103 .professional-games-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}.games-v103 .online-game-room-strip,.games-v103 .online-game-launch-row,.games-v103 .game-stage-header{min-width:0!important;flex-wrap:wrap!important}@media(max-width:900px){.games-v103 .game-control-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important}.games-v103 .lesson-game-panel{grid-template-columns:1fr!important}}@media(orientation:landscape)and (max-height:560px){.games-v103{padding-bottom:6px!important}.games-v103>.page-heading,.games-v103 .question-bank-summary{display:none!important}.games-v103 .game-control-panel{grid-template-columns:repeat(4,minmax(100px,1fr)) repeat(2,auto)!important;padding:6px!important;margin-bottom:6px!important}.games-v103 .lesson-game-panel{padding:7px!important;margin-bottom:6px!important}.games-v103 .professional-games-grid{grid-template-columns:repeat(4,minmax(130px,1fr))!important;gap:6px!important}.games-v103 .pro-game-card{min-height:105px!important;padding:7px!important}.games-v103 .pro-game-card p{display:none!important}}.cards-v103{width:min(1500px,100%)!important;min-width:0!important;margin:0 auto!important}.cards-v103 .student-card-toolbar,.cards-v103 .student-card-workbench,.cards-v103 .card-preview-stage,.cards-v103 .large-card-preview{min-width:0!important}.cards-v103 .student-card-toolbar{grid-template-columns:repeat(4,minmax(120px,1fr)) auto!important}.cards-v103 .student-card-workbench{grid-template-columns:minmax(0,1fr) clamp(250px,25vw,330px)!important}@media(max-width:900px){.cards-v103 .student-card-toolbar,.cards-v103 .student-card-workbench{grid-template-columns:1fr!important}}
