/* Theme 3 owns its layout. No unscoped reset, no screenshot sprites, no rules for themes 1/2. */
body[data-hesan-theme-id="3"]{--portal-bg:#f3e5dd;--portal-paper:#fff6ee;--portal-ink:#133f3c;--portal-muted:#686966;--portal-line:#e1cabb;--portal-accent:#008d7d;--portal-soft:#e5efdf;--portal-shadow:0 3px 5px #78563726;--ink:var(--portal-ink);--muted:var(--portal-muted);--line:var(--portal-line);--green:var(--portal-accent);background:radial-gradient(ellipse at 5% 0,#e8dbe655,transparent 45%),#f3e5dd;color:var(--portal-ink)}
body[data-hesan-theme-id="3"] #app-view{max-width:1380px;margin:18px auto;border:2px solid #fff9;border-radius:18px;overflow:clip;background:linear-gradient(120deg,#fcf1e9,#f1e1d8);box-shadow:0 8px 20px #78563730;min-height:calc(100svh - 36px);font-family:'Vazirmatn',Tahoma,sans-serif}
body[data-hesan-theme-id="3"] #app-view [hidden]{display:none!important}
body[data-hesan-theme-id="3"] #app-view .topbar{position:relative!important;top:auto;display:grid!important;grid-template-columns:1fr auto 1fr;direction:ltr;height:65px!important;min-height:65px!important;padding:7px 20px!important;background:linear-gradient(110deg,#fff8ed,#f6e6dd)!important;border:1px solid #fff;border-radius:12px;margin:5px;box-shadow:var(--portal-shadow);z-index:10}
body[data-hesan-theme-id="3"] #app-view .topbar .account{grid-column:1;grid-row:1;justify-self:start;direction:rtl;font-size:11px!important;gap:10px}
body[data-hesan-theme-id="3"] #app-view .topbar .brand{grid-column:2;grid-row:1;justify-self:center;direction:rtl;font-size:25px!important;gap:8px;color:#075a50}
body[data-hesan-theme-id="3"] #app-view .topbar .brand>span:last-child{font-size:0!important}body[data-hesan-theme-id="3"] #app-view .topbar .brand>span:last-child:after{content:'حسان';font-size:26px;font-weight:800}body[data-hesan-theme-id="3"] #app-view .topbar .brand small{display:none!important}
body[data-hesan-theme-id="3"] #app-view .topbar .brand-mark{width:34px!important;height:34px!important;border:0;background:transparent;box-shadow:none}
body[data-hesan-theme-id="3"] #app-view .topbar .shamsi-clock{grid-column:3;grid-row:1;justify-self:end;direction:rtl;font-size:10px!important;background:transparent;border:0;padding:5px}
body[data-hesan-theme-id="3"] #app-view .topbar #logout{padding:5px 9px!important;min-height:30px!important;font-size:10px!important}body[data-hesan-theme-id="3"] #app-view .user-chip{gap:7px}body[data-hesan-theme-id="3"] #app-view .avatar{width:34px;height:34px}body[data-hesan-theme-id="3"] #app-view .user-chip strong{font-size:11px!important}
body[data-hesan-theme-id="3"] #app-view .app-layout{display:grid!important;grid-template-columns:165px minmax(0,1fr)!important;direction:rtl;gap:10px!important;padding:0 8px 12px!important;max-width:none;width:100%;align-items:stretch}
body[data-hesan-theme-id="3"] #app-view .side-nav{position:relative!important;top:auto;max-height:none!important;height:auto;min-width:0;width:auto!important;border:1px solid #fff!important;border-radius:12px;background:linear-gradient(90deg,#f6e8df,#fcf4eb)!important;padding:10px 6px!important;gap:3px;box-shadow:var(--portal-shadow)}
body[data-hesan-theme-id="3"] #app-view .side-nav .nav-item{min-height:37px!important;padding:8px 7px!important;font-size:11px!important;border:0!important;border-radius:9px!important;margin:0 0 4px;gap:7px;box-shadow:none!important;color:#2a2931;background:transparent}
body[data-hesan-theme-id="3"] #app-view .side-nav .nav-item.selected{background:linear-gradient(#62b9aa,#008b7d)!important;color:white!important;box-shadow:inset 0 1px 2px #fffa,0 3px 6px #117e6d25!important}
body[data-hesan-theme-id="3"] #app-view .nav-icon{width:25px!important;height:25px!important;background:transparent!important;border:0!important;box-shadow:none!important}.theme3-preview{background:linear-gradient(130deg,#f4e6da 45%,#12988b 45% 70%,#c3a6d3 70%)}
body[data-hesan-theme-id="3"] #app-view .dashboard{padding:0!important;min-width:0;display:block}
body[data-hesan-theme-id="3"] #app-view .welcome-row{position:relative!important;isolation:isolate;min-height:180px!important;padding:16px 18px!important;margin:0 0 10px!important;border:0!important;border-radius:0!important;overflow:hidden;background:radial-gradient(ellipse at 24% 40%,#fffcf4aa,transparent 65%)!important;display:flex;align-items:center}
body[data-hesan-theme-id="3"] #app-view .welcome-row:before{content:'';position:absolute;z-index:-1;inset:8px auto 0 0;width:49%;background:url('/assets/theme3/hero-manager.png') center/contain no-repeat;mask-image:linear-gradient(90deg,#000 88%,transparent);pointer-events:none}
body[data-hesan-theme-id="3"][data-hesan-role="teacher"] #app-view .welcome-row:before{background-image:url('/assets/subjects/writing.webp')}
body[data-hesan-theme-id="3"][data-hesan-role="student"] #app-view .welcome-row:before{background-image:url('/assets/theme3/hero-student.png')}
body[data-hesan-theme-id="3"][data-hesan-role="vice_principal"] #app-view .welcome-row:before,body[data-hesan-theme-id="3"][data-hesan-role="grade_manager"] #app-view .welcome-row:before{background-image:url('/assets/theme3/hero-deputy.png')}
body[data-hesan-theme-id="3"] #app-view .welcome-row:after{display:none!important}
body[data-hesan-theme-id="3"] #app-view .welcome-copy{width:51%!important;position:relative;z-index:1;margin:0!important}.portal-greeting{display:none}
body[data-hesan-theme-id="3"] #app-view .portal-greeting{display:block!important;color:#252733;font-size:13px!important;font-weight:700;margin:8px 0 3px}
body[data-hesan-theme-id="3"] #app-view .welcome-row .eyebrow{display:inline-block;padding:3px 24px!important;color:#075749;background:linear-gradient(#fff8e9,#efdbc4);border:1px solid #c89d67;border-radius:20px 7px;box-shadow:inset 0 0 0 2px #fff9,0 2px 4px #a07d4820;font-size:20px!important;font-weight:800}
body[data-hesan-theme-id="3"] #app-view .welcome-row h1{font-size:17px!important;margin:8px 0 0!important;font-weight:700!important;color:var(--portal-ink)}
body[data-hesan-theme-id="3"] #app-view .welcome-row .muted{font-size:11px!important;margin:3px 0;color:var(--portal-muted)}
body[data-hesan-theme-id="3"] #app-view .welcome-tools{position:absolute;left:12px;bottom:7px;max-width:45%;z-index:1;font-size:9px}body[data-hesan-theme-id="3"] #app-view .welcome-emblem{display:none!important}body[data-hesan-theme-id="3"] #app-view .pulse-mini{font-size:9px!important;padding:3px 8px;box-shadow:none}
body[data-hesan-theme-id="3"] #app-view .panel,body[data-hesan-theme-id="3"] #app-view .data-card,body[data-hesan-theme-id="3"] #app-view .portal-panel{border:1px solid #fff!important;border-radius:14px;background:linear-gradient(125deg,#fff7ef,#f3e3d9)!important;box-shadow:var(--portal-shadow)!important;padding:13px;color:var(--portal-ink)}
body[data-hesan-theme-id="3"] #app-view .portal-panel h2{font-size:18px!important;line-height:1.6;margin:0 0 10px;font-weight:800;color:#07554c}
body[data-hesan-theme-id="3"] #app-view .portal-subject-bar{display:flex;gap:14px;align-items:end;border:1px solid #fff;border-radius:12px;background:#fcf1e8;padding:10px 13px;margin-bottom:10px;box-shadow:var(--portal-shadow)}body[data-hesan-theme-id="3"] #app-view .portal-subject-bar label{display:flex;align-items:center;gap:10px;flex:1;font-size:12px!important}body[data-hesan-theme-id="3"] #app-view .portal-subject-bar input{padding:6px 10px;min-height:34px;font-size:11px!important;background:#fff9f2;border:1px solid #d6c4b6;border-radius:9px;flex:1;min-width:0}
body[data-hesan-theme-id="3"] #app-view .portal-button{font:inherit;font-size:11px!important;min-height:30px;padding:4px 14px!important;border:1px solid #fff9;border-radius:10px;background:linear-gradient(#6cbcab,#008b7b);color:#fff;box-shadow:inset 0 1px 2px #fffa;cursor:pointer}body[data-hesan-theme-id="3"] #app-view .portal-button:disabled{background:linear-gradient(#e3dfdd,#d1cecb);color:#666;cursor:not-allowed}body[data-hesan-theme-id="3"] #app-view .portal-button:focus-visible{outline:3px solid #b28c4f;outline-offset:3px}
body[data-hesan-theme-id="3"] #app-view .portal-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}body[data-hesan-theme-id="3"] #app-view .portal-tile{padding:13px;border:1px solid #fff;border-radius:14px;background:linear-gradient(135deg,#fff8ee,#f2e3dc);box-shadow:var(--portal-shadow);min-width:0}body[data-hesan-theme-id="3"] #app-view .portal-tile img{width:78px;height:78px;object-fit:contain;float:right;margin:0 0 5px 8px}body[data-hesan-theme-id="3"] #app-view .portal-tile h3{font-size:15px!important;margin:0;color:#083f3d}body[data-hesan-theme-id="3"] #app-view .portal-tile p{font-size:11px!important;line-height:1.8;color:#343b40}body[data-hesan-theme-id="3"] #app-view .portal-tile .portal-button{font-size:10px!important;min-height:25px}
body[data-hesan-theme-id="3"] #app-view .portal-home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:10px}body[data-hesan-theme-id="3"] #app-view .portal-table-wrap{overflow:auto}body[data-hesan-theme-id="3"] #app-view .portal-sessions table{width:100%;border-collapse:collapse;min-width:470px;font-size:11px}body[data-hesan-theme-id="3"] #app-view .portal-sessions td,body[data-hesan-theme-id="3"] #app-view .portal-sessions th{text-align:right;padding:7px 5px;border-bottom:1px solid #e7d8cd;font-size:11px!important}body[data-hesan-theme-id="3"] #app-view .portal-sessions td img{width:38px;height:38px;object-fit:contain;float:right;margin-left:6px}body[data-hesan-theme-id="3"] #app-view .portal-sessions td small{display:block;font-size:10px!important;color:#777}body[data-hesan-theme-id="3"] #app-view .portal-secondary .portal-button{display:inline-flex;margin:4px;background:#f8eee4;color:#166e60;border-color:#c8dcd0}body[data-hesan-theme-id="3"] #app-view .portal-secondary p{font-size:12px!important;line-height:2}body[data-hesan-theme-id="3"] #app-view .portal-empty{font-size:12px!important;color:#6b7167;padding:15px 0}
body[data-hesan-theme-id="3"] #app-view .portal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}body[data-hesan-theme-id="3"] #app-view .portal-stat{padding:15px;background:#fff6ed;border:1px solid #fff;border-radius:12px;box-shadow:var(--portal-shadow)}body[data-hesan-theme-id="3"] #app-view .portal-stat span{font-size:12px!important;color:#35443e}body[data-hesan-theme-id="3"] #app-view .portal-stat strong{display:block;font-size:25px!important;color:#096356}body[data-hesan-theme-id="3"] #app-view .portal-chart{margin-top:10px}body[data-hesan-theme-id="3"] #app-view .portal-bars{display:flex;gap:18px;align-items:end;min-height:145px;border-bottom:1px solid #d5c7b4;background:repeating-linear-gradient(0deg,transparent 0 29px,#bfb3a322 29px 30px);padding:10px}body[data-hesan-theme-id="3"] #app-view .portal-bar-col{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:end;font-size:10px;color:#657666}body[data-hesan-theme-id="3"] #app-view .portal-bar{width:65%;min-height:2px;background:linear-gradient(#98cdb5,#62b19a);border-radius:4px 4px 0 0;box-shadow:inset 0 0 0 1px #fff9}body[data-hesan-theme-id="3"] #app-view .portal-bar-col:nth-child(even) .portal-bar{background:linear-gradient(#d9c3e5,#b894ce)}
/* Student: three real lesson cards on the right, weekly agenda on the left. */
body[data-hesan-theme-id="3"] #app-view #student-panel{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}body[data-hesan-theme-id="3"] #app-view #student-panel>.student-theme-welcome{display:none!important}body[data-hesan-theme-id="3"] #app-view #student-class-schedule{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}body[data-hesan-theme-id="3"] #app-view #student-class-schedule>.classroom-launcher-heading{min-height:0!important;padding:0 12px 8px!important;border:0!important;background:none!important;box-shadow:none!important}body[data-hesan-theme-id="3"] #app-view #student-class-schedule>.classroom-launcher-heading .launch-icon,body[data-hesan-theme-id="3"] #app-view #student-class-schedule>.classroom-launcher-heading p,body[data-hesan-theme-id="3"] #app-view #student-class-schedule>.classroom-launcher-heading small{display:none!important}body[data-hesan-theme-id="3"] #app-view #student-selected-day-heading{font-size:20px!important;margin:0!important}
body[data-hesan-theme-id="3"] #app-view .student-schedule-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 27%!important;gap:12px;align-items:start;direction:rtl}body[data-hesan-theme-id="3"] #app-view .student-agenda-panel{grid-column:2;grid-row:1;padding:12px;border:1px solid #fff;border-radius:13px;background:linear-gradient(125deg,#fff6ec,#f1e1d7);box-shadow:var(--portal-shadow)}body[data-hesan-theme-id="3"] #app-view .student-agenda-heading{display:flex;justify-content:center;gap:10px;font-size:17px!important;font-weight:800;color:#07544a}body[data-hesan-theme-id="3"] #app-view .student-agenda-day{display:block;text-align:center;background:var(--portal-soft);border:1px solid #c6d9c5;border-radius:22px;padding:3px;font-size:20px!important;margin:10px 0}body[data-hesan-theme-id="3"] #app-view .student-day-agenda{display:grid;gap:5px}body[data-hesan-theme-id="3"] #app-view .student-agenda-row{display:flex;align-items:center;gap:7px;justify-content:space-between;padding:6px 3px;border-bottom:1px solid #fff;font-size:11px!important}body[data-hesan-theme-id="3"] #app-view .student-agenda-dot{width:8px;height:8px;background:#b58ecb;border-radius:50%;flex-shrink:0}body[data-hesan-theme-id="3"] #app-view .student-agenda-row:nth-child(3n+2) .student-agenda-dot{background:#0da798}body[data-hesan-theme-id="3"] #app-view .student-agenda-row:nth-child(3n) .student-agenda-dot{background:#e6a15b}body[data-hesan-theme-id="3"] #app-view .student-agenda-row time{font-size:11px!important;direction:ltr;padding:1px 7px;background:#eedbce;border-radius:15px;border:1px solid #fff}body[data-hesan-theme-id="3"] #app-view .student-week-navigation{display:flex!important;align-items:center;justify-content:space-between;gap:5px;margin:12px 0 0!important;max-width:none!important}body[data-hesan-theme-id="3"] #app-view .student-week-days{display:none!important}body[data-hesan-theme-id="3"] #app-view .student-week-navigation button{width:40px;height:32px;min-height:32px!important;padding:0!important;border:1px solid #b7d0bc;border-radius:20px;background:#f4f5e9;color:#147968;font-size:23px!important}body[data-hesan-theme-id="3"] #app-view .student-selected-day-label{font-size:12px!important;color:#23423a}
body[data-hesan-theme-id="3"] #app-view .student-schedule-list{grid-column:1;grid-row:1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;margin:0!important;padding:8px;background:#fbf0e7;border:1px solid #fff;border-radius:14px;box-shadow:var(--portal-shadow);align-items:start}body[data-hesan-theme-id="3"] #app-view .student-schedule-card{display:flex!important;flex-direction:column;min-width:0;padding:8px!important;gap:7px;border:1px solid #fff;border-radius:13px;background:linear-gradient(#fff8ef,#f3e5db);box-shadow:var(--portal-shadow)}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .classroom-schedule-info{display:block!important;text-align:center}body[data-hesan-theme-id="3"] #app-view .student-lesson-art{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1!important;background:none!important;border-radius:10px;overflow:hidden;margin:0 0 7px;flex:none!important}body[data-hesan-theme-id="3"] #app-view .student-lesson-art img{display:block;width:100%;height:100%;object-fit:contain;background:#fbf0e5}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .schedule-subject-icon{display:none!important}body[data-hesan-theme-id="3"] #app-view .student-schedule-card strong{font-size:13px!important;line-height:1.7!important;font-weight:800}body[data-hesan-theme-id="3"] #app-view .student-schedule-card small{font-size:10px!important;line-height:1.8;display:block}body[data-hesan-theme-id="3"] #app-view .portal-start-time{font-size:12px!important;font-weight:700;margin:5px 0;color:#253d38}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .schedule-card-actions{display:flex;flex-wrap:wrap;gap:5px}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .schedule-card-actions>*{flex:1;min-height:29px;font-size:10px!important;padding:4px 6px!important;border-radius:10px}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .schedule-card-actions [data-join-session]{flex-basis:100%;background:linear-gradient(#64bbaa,#008f80);color:white;border:1px solid #fff9;font-weight:700}body[data-hesan-theme-id="3"] #app-view .student-schedule-card.upcoming{opacity:.6;filter:saturate(.7)}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .schedule-card-actions button:disabled{background:linear-gradient(#e8e3df,#d4ceca);color:#646462}body[data-hesan-theme-id="3"] #app-view .student-attendance-section{margin-top:12px;padding:12px;border:1px solid #fff;border-radius:14px;background:#fff5ec}body[data-hesan-theme-id="3"] #app-view #student-class-list{padding:5px 0;display:flex;flex-wrap:wrap;gap:8px}
body[data-hesan-theme-id="3"] #auth-view{background:radial-gradient(ellipse at 20% 10%,#cce4d580,transparent 45%),linear-gradient(135deg,#f6e5d8,#eee1df)}body[data-hesan-theme-id="3"] .auth-card{background:linear-gradient(#fffaf0,#f5e7dc);border:2px solid #fff9;box-shadow:0 10px 30px #7d614730;border-radius:22px}body[data-hesan-theme-id="3"] .auth-foot{color:#42554c;text-shadow:none}
@media(max-width:1050px){body[data-hesan-theme-id="3"] #app-view{margin:8px}body[data-hesan-theme-id="3"] #app-view .app-layout{grid-template-columns:145px minmax(0,1fr)!important}body[data-hesan-theme-id="3"] #app-view .student-schedule-layout{grid-template-columns:minmax(0,1fr) 29%!important;gap:7px}body[data-hesan-theme-id="3"] #app-view .student-schedule-list{gap:5px;padding:5px}body[data-hesan-theme-id="3"] #app-view .portal-home-grid{grid-template-columns:1fr}body[data-hesan-theme-id="3"] #app-view .portal-tile img{width:55px;height:55px}}
@media(max-width:760px){body[data-hesan-theme-id="3"] #app-view{margin:0;border-radius:0;min-height:100svh}body[data-hesan-theme-id="3"] #app-view .topbar{height:96px!important;grid-template-columns:1fr 1fr;padding-top:35px!important}body[data-hesan-theme-id="3"] #app-view .topbar .brand{position:absolute;top:2px;left:50%;transform:translateX(-50%)}body[data-hesan-theme-id="3"] #app-view .topbar .shamsi-clock{grid-column:2;font-size:9px!important}body[data-hesan-theme-id="3"] #app-view .app-layout{grid-template-columns:1fr!important;padding:0 9px 12px!important}body[data-hesan-theme-id="3"] #app-view .side-nav{position:fixed!important;inset:0 0 0 auto!important;width:min(285px,85vw)!important;z-index:70;height:100svh;overflow-y:auto;transform:translateX(110%)}body[data-hesan-theme-id="3"] #app-view.mobile-nav-open .side-nav{transform:translateX(0)}body[data-hesan-theme-id="3"] #app-view .welcome-row{min-height:155px!important;padding:12px!important}body[data-hesan-theme-id="3"] #app-view .welcome-copy{width:64%!important}body[data-hesan-theme-id="3"] #app-view .welcome-row .eyebrow{font-size:16px!important;padding:2px 13px!important}body[data-hesan-theme-id="3"] #app-view .welcome-row h1{font-size:14px!important}body[data-hesan-theme-id="3"] #app-view .welcome-row:before{width:43%;opacity:.65}body[data-hesan-theme-id="3"] #app-view .portal-greeting{font-size:11px!important}body[data-hesan-theme-id="3"] #app-view .welcome-tools{display:none!important}body[data-hesan-theme-id="3"] #app-view .portal-quick{grid-template-columns:1fr}body[data-hesan-theme-id="3"] #app-view .portal-tile{min-height:95px}body[data-hesan-theme-id="3"] #app-view .portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-hesan-theme-id="3"] #app-view .portal-subject-bar{flex-wrap:wrap}body[data-hesan-theme-id="3"] #app-view .portal-subject-bar label{display:grid;width:100%;flex-basis:100%}body[data-hesan-theme-id="3"] #app-view .student-schedule-layout{grid-template-columns:1fr!important}body[data-hesan-theme-id="3"] #app-view .student-agenda-panel{grid-column:1;grid-row:1}body[data-hesan-theme-id="3"] #app-view .student-schedule-list{grid-column:1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-hesan-theme-id="3"] #app-view .student-day-agenda{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-hesan-theme-id="3"] #app-view .portal-bars{gap:5px;padding-inline:0}body[data-hesan-theme-id="3"] #app-view .portal-bar-col small{font-size:8px!important}}
@media(max-width:420px){body[data-hesan-theme-id="3"] #app-view .student-schedule-list{grid-template-columns:1fr!important}body[data-hesan-theme-id="3"] #app-view .student-day-agenda{grid-template-columns:1fr}body[data-hesan-theme-id="3"] #app-view .student-schedule-card .student-lesson-art{max-width:220px;margin-inline:auto}}
@media(prefers-reduced-motion:reduce){body[data-hesan-theme-id="3"] #app-view *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Neutralize the legacy student ::before brand so حسان is rendered once. */
body[data-hesan-theme-id="3"] #app-view .brand>span:last-child:before{content:none!important;display:none!important}
body[data-hesan-theme-id="3"] #app-view .welcome-row .eyebrow{display:none!important}
body[data-hesan-theme-id="3"] #app-view .welcome-row h1{display:inline-block;font-size:21px!important;font-weight:800!important;margin:0 0 8px!important;padding:3px 23px!important;color:#075749!important;background:linear-gradient(#fff8e9,#efdbc4);border:1px solid #c89d67;border-radius:20px 7px;box-shadow:inset 0 0 0 2px #fff9,0 2px 4px #a07d4820}
@media(max-width:760px){body[data-hesan-theme-id="3"] #app-view .welcome-row h1{font-size:16px!important;padding:3px 13px!important}}

@media(min-width:761px){body[data-hesan-theme-id="3"] #app-view #mobile-nav-toggle{display:none!important}}

/* Subject artwork in teacher selection and scheduled classes. */
body[data-hesan-theme-id="3"] #app-view .subject-launch-tile>.lesson-launch-art{display:block!important;width:40px!important;height:40px!important;min-width:40px;max-width:40px;box-sizing:border-box;border-radius:8px;overflow:hidden;margin:0 auto 8px;background:#faf1e8}
body[data-hesan-theme-id="3"] #app-view .lesson-launch-art img,body[data-hesan-theme-id="3"] #app-view .schedule-lesson-art img{display:block;width:100%;height:100%;object-fit:contain}
body[data-hesan-theme-id="3"] #app-view .classroom-schedule-info:has(>.schedule-lesson-art){grid-template-columns:80px minmax(0,1fr)!important;align-items:center;gap:12px}
body[data-hesan-theme-id="3"] #app-view .schedule-lesson-art{display:block;width:80px;height:80px;overflow:hidden;border-radius:10px;background:#faf1e8}
body[data-hesan-theme-id="3"] #app-view .lesson-launch-art img[src$="hero-student.png"],body[data-hesan-theme-id="3"] #app-view .schedule-lesson-art img[src$="hero-student.png"],body[data-hesan-theme-id="3"] #app-view .student-lesson-art img[src$="hero-student.png"]{object-fit:cover}
@media(max-width:500px){body[data-hesan-theme-id="3"] #app-view .subject-launch-tile>.lesson-launch-art{width:40px!important;height:40px!important}body[data-hesan-theme-id="3"] #app-view .classroom-schedule-info:has(>.schedule-lesson-art){grid-template-columns:64px minmax(0,1fr)!important}body[data-hesan-theme-id="3"] #app-view .schedule-lesson-art{width:64px;height:64px}}

/* A 200px picture tile, with the subject on the image and teacher below. */
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options{grid-template-columns:repeat(auto-fill,200px)!important;gap:12px!important}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .subject-launch-tile{display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;width:200px!important;min-width:0;min-height:0!important;overflow:hidden;padding:0!important;border:0!important;background:transparent!important;box-sizing:border-box;gap:6px}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .subject-picture{position:relative;display:block;width:200px;height:200px;min-height:200px;box-sizing:border-box;overflow:hidden;border:1px solid #dfd7cc;border-radius:10px;background:#fff}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .subject-picture>.lesson-launch-art{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden;margin:0!important}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .lesson-launch-art img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;position:static!important;margin:0!important}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .subject-picture>strong{position:absolute;inset:auto 0 0;padding:12px 3px 4px;background:linear-gradient(transparent,#fff 35%);color:#174b46;font-size:11px!important;line-height:1.3;text-align:center;overflow-wrap:anywhere}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .subject-picture-grade{display:block;font-size:9px!important}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .teacher-full-name{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:11px!important;line-height:1.6}
body[data-hesan-theme-id="3"] #app-view #classroom-subject-options .selected .subject-picture{border:2px solid #159b85}

/* Registered schedules: a square lesson image and grouped actions. */
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px;padding:16px!important;border:1px solid var(--portal-line);border-radius:16px;background:var(--portal-paper)}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-info{display:grid!important;grid-template-columns:200px minmax(0,1fr)!important;gap:16px;align-items:center;min-width:0}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-lesson-art{display:block;width:200px!important;height:200px!important;box-sizing:border-box;overflow:hidden;border-radius:12px;background:#fff;border:1px solid var(--portal-line)}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-lesson-art img{width:100%!important;height:100%!important;object-fit:contain!important}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-info>div{min-width:0;overflow-wrap:anywhere}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-info strong{display:block;font-size:15px!important;line-height:1.8}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-info small{display:block;margin:8px 0;font-size:12px!important;line-height:1.9}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding-top:12px;border-top:1px solid var(--portal-line)}
body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-card-actions button{min-height:36px;padding:7px 12px!important;font-size:12px!important;border-radius:9px;white-space:normal}
@media(max-width:600px){body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .classroom-schedule-info{grid-template-columns:minmax(0,1fr)!important;text-align:center}body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-lesson-art{justify-self:center}body[data-hesan-theme-id="3"] #app-view #classroom-schedule-list .schedule-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
