/* HESAN Graphic — final integration stylesheet, V5.
 * ALL rules affecting the application are scoped to theme ID 4.
 * Design tokens are independent from the classic, dark and theme-3 variants.
 * Mobile: 320px+, touch-friendly, no scaling of a desktop screenshot.
 */
/* The existing welcome banner already provides the dashboard introduction. */
body[data-hesan-theme-id="4"] #app-view .hg-introduction{display:none!important}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.has-teacher-video:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:85px!important;gap:8px!important}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.multi-video.has-teacher-video:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid{grid-template-rows:minmax(0,1fr) 85px!important}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.has-teacher-video:not(.smart-board-active):not(.remote-screen-sharing) #teacher-video-tile:not([hidden]){grid-column:1/-1!important;min-height:0!important}
body[data-hesan-theme-id="4"]{
  --hg-forest:#063f3a;--hg-forest-2:#075e51;--hg-emerald:#078568;
  --hg-teal:#05aa91;--hg-lime:#53cc62;--hg-line:#d9e9e5;
  --hg-surface:#fff;--hg-ground:#f2faf8;--hg-ink:#133e3a;
  --hg-muted:#607b78;--hg-shadow:0 9px 28px #084b4020;
  --blue:var(--hg-emerald);--navy:var(--hg-forest);
  --sky:#e6f7f1;--green:var(--hg-emerald);
  --line:var(--hg-line);--ink:var(--hg-ink);--muted:var(--hg-muted);
  background:var(--hg-ground)!important;color:var(--hg-ink)!important;
}
body[data-hesan-theme-id="4"] #app-view{
  min-width:0;max-width:100%;overflow-x:clip;
  color:var(--hg-ink);background:radial-gradient(ellipse at 14% 0,#d8f6e8 0,transparent 32%),
    linear-gradient(160deg,#f0faf7,#f8fbff 63%,#e8f5f3)!important;
}
body[data-hesan-theme-id="4"] #app-view :is(button,input,select,textarea){font-family:var(--school-body-font,Vazirmatn,Tahoma,sans-serif)!important}
body[data-hesan-theme-id="4"] #app-view :is(button,a,input,select,textarea):focus-visible{
  outline:3px solid #1bbca1!important;outline-offset:3px!important;
}
body[data-hesan-theme-id="4"] #app-view :is(button,a){touch-action:manipulation}
/* Product header and clear hierarchy */
body[data-hesan-theme-id="4"] #app-view .topbar{
  position:sticky;top:0;z-index:55;min-height:78px;height:auto!important;
  width:100%;padding:10px clamp(14px,2vw,34px)!important;gap:16px;
  background:linear-gradient(115deg,#fff 0%,#fff 67%,#d7f7e9 88%,#64cf8a 100%)!important;
  border-bottom:1px solid #d4eae4;box-shadow:0 5px 18px #063d3512;
}
body[data-hesan-theme-id="4"] #app-view .topbar .brand{color:#073b39;font-weight:900;font-size:19px;gap:13px;min-width:0}
body[data-hesan-theme-id="4"] #app-view .topbar .brand small{font-size:11px!important;color:#42645d}
body[data-hesan-theme-id="4"] #app-view .topbar .brand-mark{width:55px;height:55px;flex:none;border:0;background:transparent;box-shadow:none}
body[data-hesan-theme-id="4"] #app-view .topbar .brand-mark img{object-fit:contain;padding:1px;border-radius:10px}
body[data-hesan-theme-id="4"] #app-view .shamsi-clock{
  background:#eaf9f2;color:#0a6c59;border:1px solid #cfe9de;
  border-radius:15px;padding:10px 14px;box-shadow:inset 0 1px #fff;
}
body[data-hesan-theme-id="4"] #app-view .user-chip{background:#fff;border:1px solid #e0ece7;padding:6px 11px;border-radius:18px}
body[data-hesan-theme-id="4"] #app-view .user-chip .avatar{background:linear-gradient(135deg,#c6e9de,#ddf7ed);color:#0a6f5d;border:2px solid white;box-shadow:0 2px 8px #063f3a20}
body[data-hesan-theme-id="4"] #app-view .user-chip strong{color:#0c3f37;font-size:13px!important}
body[data-hesan-theme-id="4"] #app-view .user-chip small{color:#67877c;font-size:11px!important}
body[data-hesan-theme-id="4"] #app-view #logout{
  min-height:42px;background:linear-gradient(135deg,#ef5255,#ad182e)!important;
  border:1px solid #ffbfc5!important;color:#fff!important;border-radius:15px;
  box-shadow:0 6px 12px #bc24312e;
}
/* Global work area, campus navigation */
body[data-hesan-theme-id="4"] #app-view>.app-layout{
  display:grid!important;grid-template-columns:235px minmax(0,1fr)!important;
  width:100%!important;max-width:1840px!important;margin-inline:auto;
  padding:18px clamp(12px,1.5vw,28px) 40px!important;gap:18px!important;
}
body[data-hesan-theme-id="4"] #app-view .dashboard{min-width:0;width:100%;max-width:100%}
body[data-hesan-theme-id="4"] #app-view .side-nav{
  position:sticky;top:94px;align-self:start;max-height:calc(100vh - 108px);
  overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;
  background:linear-gradient(165deg,#096858 0%,#073d39 61%,#052e30 100%)!important;
  border:1px solid #2a8274!important;border-radius:25px!important;
  padding:16px 11px 152px!important;box-shadow:0 13px 27px #06493a2d!important;
}
body[data-hesan-theme-id="4"] #app-view .side-nav:before{
  content:"";pointer-events:none;position:absolute;bottom:6px;right:0;left:0;height:164px;
  background:url('/assets/graphic/sidebar-arch.svg') center bottom/auto 162px no-repeat;
  opacity:.7;
}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item{
  display:flex;align-items:center;justify-content:flex-start;text-align:right;
  gap:11px;min-height:48px;width:100%;padding:10px 11px!important;
  border:1px solid transparent;border-radius:13px!important;
  color:#f5fffb!important;background:transparent!important;
  font-size:13px!important;font-weight:700;transition:background .15s,color .15s;
}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item.selected{
  color:#064c40!important;background:linear-gradient(115deg,#effff8,#b8f4e3)!important;
  border-color:#b3efd9!important;box-shadow:0 4px 12px #032e2d22,inset 3px 0 #3ad28d;
}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item:hover:not(.selected){background:#ffffff19!important;transform:none!important}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item .nav-icon{
  flex:none;display:grid;place-items:center;width:32px;height:32px;
  background:#ffffff19!important;border-radius:10px!important;color:#eafff4!important;
}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item.selected .nav-icon{background:#0f947126!important;color:#00604e!important}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* Illustrated school banner */
body[data-hesan-theme-id="4"] #app-view .welcome-row{
  position:relative;isolation:isolate;display:flex;align-items:center;
  padding:25px 31px!important;width:100%!important;margin:0 0 16px!important;
  min-height:190px!important;overflow:hidden!important;border-radius:24px!important;
  background:linear-gradient(98deg,#0a8f70 4%,#0bb69a 42%,#086457 78%,#034741 100%)!important;
  border:1px solid #d4ebdf!important;box-shadow:0 12px 27px #085b4c21!important;
}
body[data-hesan-theme-id="4"] #app-view .welcome-row:before{
  content:"";position:absolute!important;inset:0 auto 0 0!important;
  width:59%!important;height:100%!important;
  background:url('/assets/graphic/campus-illustration.webp') center/cover no-repeat!important;
  clip-path:polygon(0 0,100% 0,96% 100%,0 100%);
  opacity:1!important;z-index:-1;
}
body[data-hesan-theme-id="4"] #app-view .welcome-row:after{
  content:""!important;position:absolute;inset:0 0 0 auto;
  width:61%;height:100%;pointer-events:none;display:block!important;
  background:linear-gradient(90deg,transparent,#06786644 16%,transparent 100%);
  border:0!important;box-shadow:none!important;z-index:-1;
}
body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-copy{position:relative;max-width:45%;min-width:0;z-index:2}
body[data-hesan-theme-id="4"] #app-view .welcome-row :is(h1,p,.eyebrow,.portal-greeting){color:#fff!important;text-shadow:0 1px 2px #06432a50}
body[data-hesan-theme-id="4"] #app-view .welcome-row h1{
  display:block!important;width:auto!important;padding:0!important;margin:0 0 5px!important;
  color:#fff!important;background:transparent!important;box-shadow:none!important;border:0!important;
  font-size:clamp(22px,2vw,29px)!important;line-height:1.5!important;
}
body[data-hesan-theme-id="4"] #app-view .welcome-row .eyebrow{
  display:block!important;color:#bdf3de!important;font-size:13px!important;
  margin:0 0 7px!important;background:none!important;border:none!important;
  box-shadow:none!important;padding:0!important;
}
body[data-hesan-theme-id="4"] #app-view .welcome-row .muted,
body[data-hesan-theme-id="4"] #app-view .welcome-row .portal-greeting{
  font-size:14px!important;color:#e2fff4!important;font-weight:600;line-height:1.9;
}
body[data-hesan-theme-id="4"] #app-view .welcome-tools{z-index:2}
body[data-hesan-theme-id="4"] #app-view .welcome-emblem{
  width:72px;height:72px;border-radius:21px;background:#effff422;
  box-shadow:inset 0 0 0 1px #ffffff66;color:white;
}
body[data-hesan-theme-id="4"] #app-view .welcome-emblem svg{color:white}
body[data-hesan-theme-id="4"] #app-view .pulse-mini{background:#075348b8;border:1px solid #ffffff55;color:white}
body[data-hesan-theme-id="4"] #app-view .welcome-heading-line .mobile-nav-toggle{
  position:static!important;right:auto;top:auto;transform:none!important;
  min-width:44px;min-height:44px;border:1px solid #b9f1df;background:#e2fff2;color:#067452;
  border-radius:13px;box-shadow:0 2px 8px #06433322;
}
/* Registered KPIs (never fabricate counts or percentages) */
body[data-hesan-theme-id="4"] #app-view #metrics{
  width:100%!important;margin:0 0 18px!important;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px!important;
}
body[data-hesan-theme-id="4"] #app-view #metrics .metric{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  min-height:110px;padding:17px!important;background:#fff!important;
  border:1px solid #e0eae8!important;border-radius:20px!important;
  box-shadow:var(--hg-shadow)!important;
}
body[data-hesan-theme-id="4"] #app-view #metrics .metric:nth-child(5n + 1){background:linear-gradient(130deg,#fff,#e5fff3)!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric:nth-child(5n + 2){background:linear-gradient(130deg,#fff,#eff0ff)!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric:nth-child(5n + 3){background:linear-gradient(130deg,#fff,#fff3de)!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric:nth-child(5n + 4){background:linear-gradient(130deg,#fff,#ebf5ff)!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric:nth-child(5n + 5){background:linear-gradient(130deg,#fff,#ffe8ee)!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric>div>span{font-size:14px!important;color:#607d76!important;font-weight:700}
body[data-hesan-theme-id="4"] #app-view #metrics .metric>div>strong{font-size:27px!important;color:#0b453d!important}
body[data-hesan-theme-id="4"] #app-view #metrics .metric .metric-icon{background:linear-gradient(135deg,#30bf8b,#0f8b65);color:white!important;border-radius:17px;width:52px;height:52px}
/* Shared visual components: list, forms, buttons, records, tables */
body[data-hesan-theme-id="4"] #app-view :is(.panel,.data-card,.report-card,.school-overview-dashboard,.portal-panel,
  .room-people-card,.room-chat-card,.classroom-launcher,.live-class-panel,
  .student-agenda-panel,.student-schedule-layout,.student-attendance-section,
  .school-overview-segments,.stat-card,.dashboard-card){
  background:#fff!important;border:1px solid #d9e9e4!important;
  border-radius:21px!important;box-shadow:var(--hg-shadow)!important;
}
body[data-hesan-theme-id="4"] #app-view :is(.panel-heading,.data-card-head,.report-card-heading,.schedule-list-heading){
  background:linear-gradient(120deg,#fff,#f0faf6)!important;
  border-color:#e0eeea!important;gap:12px;flex-wrap:wrap;
}
body[data-hesan-theme-id="4"] #app-view :is(.panel-heading h2,.data-card-head h3,.report-card-heading strong,
  .schedule-list-heading strong){color:#064e43!important;font-size:19px!important;font-weight:900}
body[data-hesan-theme-id="4"] #app-view :is(.panel-heading-actions,.report-actions,.teacher-head-actions,.form-actions){
  display:flex;flex-wrap:wrap;gap:9px;align-items:center;
}
body[data-hesan-theme-id="4"] #app-view :is(.button.primary,.hg-button,.portal-button,.classroom-schedule-start,
  button[data-join-session]:not(:disabled)){
  background:linear-gradient(140deg,#0fbd85,#047a60)!important;border:1px solid #087759!important;
  color:#fff!important;border-radius:13px!important;box-shadow:0 5px 12px #087e622d!important;
  font-weight:800;min-height:42px;
}
body[data-hesan-theme-id="4"] #app-view :is(.button.quiet,.table-action,.board-file-button){
  border:1px solid #d9eae5;background:#f4faf7;color:#176b57;border-radius:11px;
}
body[data-hesan-theme-id="4"] #app-view :is(input:not([type="color"]):not([type="range"]),select,textarea){
  max-width:100%;min-width:0;border-radius:12px;border:1px solid #c8dfd9;
  background:#fff;color:#153f37;line-height:1.5;
}
body[data-hesan-theme-id="4"] #app-view :is(.create-form,.inline-form){background:linear-gradient(140deg,#f3fbf7,#fbfefd)}
body[data-hesan-theme-id="4"] #app-view :is(.record-row,.student-row,.teacher-row,.classroom-schedule-card,
  .homework-card,.student-schedule-card,.report-list>*:not(.empty-state)){
  border:1px solid #e0ece8;border-radius:14px;background:#fff;box-shadow:0 3px 10px #0652450b;
}
body[data-hesan-theme-id="4"] #app-view :is(.record-row,.student-row,.teacher-row,.classroom-schedule-card):hover{
  border-color:#97d8c2;background:#f7fefa;
}
body[data-hesan-theme-id="4"] #app-view table{border-collapse:separate;border-spacing:0;max-width:100%;min-width:550px}
body[data-hesan-theme-id="4"] #app-view th{background:#eaf9f2;color:#0b594a;font-weight:800}
body[data-hesan-theme-id="4"] #app-view td{color:#315c52;line-height:1.75}
body[data-hesan-theme-id="4"] #app-view :is(.table-wrap,.report-table-wrap,.portal-table-wrap){overflow-x:auto;max-width:100%;border-radius:14px}
body[data-hesan-theme-id="4"] #app-view :is(.status,.credential-notice,.permission-note,.empty-state){border-radius:12px}
body[data-hesan-theme-id="4"] #app-view :is(.team-segment-picker,.teacher-segment-picker,.grade-picker){background:#f8fdfb;border-color:#dcece5;border-radius:14px}
/* HESAN graphic dashboard cards, connected to real runtime data */
body[data-hesan-theme-id="4"] #portal-home.hg-portal-home{display:grid;gap:17px;margin:0 0 20px}
body[data-hesan-theme-id="4"] #portal-home.hg-portal-home[hidden]{display:none!important}
body[data-hesan-theme-id="4"] .hg-introduction{
  padding:15px 20px;background:linear-gradient(100deg,#e9f9f2,#fff);
  border:1px solid #d5ebe1;border-radius:18px;display:grid;gap:5px;
}
body[data-hesan-theme-id="4"] .hg-introduction-kicker{font-weight:800;color:#14816e;font-size:11px}
body[data-hesan-theme-id="4"] .hg-introduction strong{color:#0c5044;font-size:21px!important;line-height:1.45}
body[data-hesan-theme-id="4"] .hg-introduction p{margin:0;font-size:13px!important;color:#648278}
body[data-hesan-theme-id="4"] .hg-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:11px}
body[data-hesan-theme-id="4"] .hg-metric{
  display:flex;align-items:center;gap:12px;min-width:0;min-height:100px;
  padding:14px;border:1px solid #dfece9;border-radius:19px;
  background:linear-gradient(130deg,#fff,#f1fff9);box-shadow:0 7px 17px #063d3811;
}
body[data-hesan-theme-id="4"] :is(.hg-tone-mint,.hg-tone-green){--hg-tile:#0ba66f;--hg-tile-bg:#e9fff3}
body[data-hesan-theme-id="4"] .hg-tone-blue{--hg-tile:#228ce7;--hg-tile-bg:#e9f5ff}
body[data-hesan-theme-id="4"] .hg-tone-lavender{--hg-tile:#8b61d4;--hg-tile-bg:#f3edff}
body[data-hesan-theme-id="4"] .hg-tone-amber{--hg-tile:#e99d16;--hg-tile-bg:#fff6dd}
body[data-hesan-theme-id="4"] .hg-tone-rose{--hg-tile:#e65b9e;--hg-tile-bg:#fff0f6}
body[data-hesan-theme-id="4"] .hg-tone-aqua{--hg-tile:#069eaa;--hg-tile-bg:#e8fbfc}
body[data-hesan-theme-id="4"] .hg-tone-violet{--hg-tile:#6f5bdf;--hg-tile-bg:#f0efff}
body[data-hesan-theme-id="4"] .hg-metric{background:linear-gradient(135deg,#fff,var(--hg-tile-bg,#e9fff3))}
body[data-hesan-theme-id="4"] .hg-metric-icon{
  display:grid;place-items:center;flex:0 0 51px;width:51px;height:51px;
  background:linear-gradient(135deg,var(--hg-tile,#07a67b),#048d73);color:#fff;
  border:2px solid #ffffffd9;border-radius:16px;box-shadow:0 5px 12px #045f4124;
}
body[data-hesan-theme-id="4"] .hg-metric-icon svg{display:block;width:27px;height:27px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-hesan-theme-id="4"] .hg-metric-copy{display:grid;gap:4px;min-width:0}
body[data-hesan-theme-id="4"] .hg-metric-copy small{font-size:12px!important;font-weight:750;color:#557970;line-height:1.55}
body[data-hesan-theme-id="4"] .hg-metric-copy strong{font-size:25px!important;color:#0f4a3d;font-weight:900}
body[data-hesan-theme-id="4"] .hg-section-heading{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap}
body[data-hesan-theme-id="4"] .hg-section-heading h2{margin:0;font-size:19px!important;color:#074d41}
body[data-hesan-theme-id="4"] .hg-section-heading span{font-size:12px;color:#66877d}
body[data-hesan-theme-id="4"] .hg-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr));gap:11px}
body[data-hesan-theme-id="4"] .hg-shortcut{
  display:grid;place-content:center;justify-items:center;gap:9px;
  min-height:114px;padding:12px 8px;border:1px solid #dce8e9;
  border-radius:19px;background:linear-gradient(155deg,#fff,var(--hg-tile-bg,#e7fff3));
  box-shadow:0 6px 16px #164c4a16;transition:transform .16s ease,box-shadow .16s ease;
  text-align:center;color:#143d39;
}
body[data-hesan-theme-id="4"] .hg-shortcut-icon{
  display:grid;place-items:center;width:54px;height:54px;
  background:linear-gradient(130deg,#fff,var(--hg-tile-bg,#e9fff3));
  color:var(--hg-tile,#078568);border-radius:15px;font-size:32px;
  filter:drop-shadow(0 3px 2px #12422d18);
}
body[data-hesan-theme-id="4"] .hg-shortcut strong{font-size:13px!important;line-height:1.5;color:#183c39}
@media(hover:hover) and (pointer:fine){body[data-hesan-theme-id="4"] .hg-shortcut:hover{transform:translateY(-3px);box-shadow:0 10px 22px #174a421f}}
body[data-hesan-theme-id="4"] .hg-portal-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.9fr);gap:13px;align-items:start}
body[data-hesan-theme-id="4"] .hg-panel{
  background:#fff;border:1px solid #dbe9e5;border-radius:19px;min-width:0;
  box-shadow:0 8px 18px #0b4e4215;padding:16px;
}
body[data-hesan-theme-id="4"] .hg-panel-header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:13px}
body[data-hesan-theme-id="4"] .hg-panel-header h2{font-size:17px!important;color:#0b5344;margin:0}
body[data-hesan-theme-id="4"] .hg-panel-tag{color:#1c876c;background:#eafaef;padding:6px 10px;border-radius:20px;font-size:11px}
body[data-hesan-theme-id="4"] .hg-days{display:flex;gap:5px;overflow-x:auto;padding-bottom:7px;margin-bottom:8px}
body[data-hesan-theme-id="4"] .hg-day{
  flex:1 0 auto;min-width:57px;min-height:40px;padding:7px 9px;
  border:1px solid #d4e5e0;border-radius:11px;background:#eff7f5;color:#205b50;
  font-size:12px!important;font-weight:800;
}
body[data-hesan-theme-id="4"] .hg-day[aria-pressed="true"]{background:linear-gradient(145deg,#1dc98d,#007b63);color:white;border-color:#2eb88e;box-shadow:0 3px 8px #07845f29}
body[data-hesan-theme-id="4"] .hg-sessions{display:grid;gap:9px}
body[data-hesan-theme-id="4"] .hg-session{
  display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:12px;align-items:center;
  padding:10px;border:1px solid #dce9e5;border-radius:14px;
  background:linear-gradient(110deg,#fff,var(--hg-tile-bg,#f8fffb));min-width:0;
}
body[data-hesan-theme-id="4"] .hg-session-art{display:grid;place-items:center;width:47px;height:47px;border-radius:13px;background:var(--hg-tile-bg,#effef4)}
body[data-hesan-theme-id="4"] .hg-subject-image{width:41px;height:41px;object-fit:contain;border-radius:10px}
body[data-hesan-theme-id="4"] .hg-session-info{display:grid;gap:4px;min-width:0}
body[data-hesan-theme-id="4"] .hg-session-info strong{font-size:13px!important;color:#153f39;line-height:1.55}
body[data-hesan-theme-id="4"] .hg-session-info small{font-size:10px!important;color:#608077;line-height:1.55}
body[data-hesan-theme-id="4"] .hg-session-topic{color:#137660!important}
body[data-hesan-theme-id="4"] .hg-session-time{font-size:12px!important;color:#1e6a5b;white-space:nowrap;background:#e7f8f0;border-radius:15px;padding:7px 10px}
body[data-hesan-theme-id="4"] .hg-join{
  min-height:39px;padding:7px 13px;background:linear-gradient(120deg,#17c38b,#068664);
  color:white;border:0;border-radius:11px;white-space:nowrap;font-size:12px!important;font-weight:750;
}
body[data-hesan-theme-id="4"] .hg-join:disabled{background:#e9f1ee;color:#7f9890;border:1px solid #d5e4df;box-shadow:none;cursor:default}
body[data-hesan-theme-id="4"] .hg-empty{padding:20px;text-align:center;color:#638277;background:#f8fcfa;border:1px dashed #cce0d8;border-radius:12px}
body[data-hesan-theme-id="4"] .hg-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;min-width:0;margin-top:25px}
body[data-hesan-theme-id="4"] .hg-chart-column{display:grid;align-items:end;justify-items:center;min-width:0;gap:8px}
body[data-hesan-theme-id="4"] .hg-chart-column small{font-size:10px!important;color:#4a786a;white-space:nowrap}
body[data-hesan-theme-id="4"] .hg-chart-track{display:flex;align-items:end;width:100%;height:160px;border-bottom:1px solid #a9d7c4;background:linear-gradient(to top,#f1f9f6,#fff);border-radius:9px 9px 0 0}
body[data-hesan-theme-id="4"] .hg-chart-bar{display:block;width:100%;min-height:0;background:linear-gradient(170deg,#2ad891,#049b6a);border-radius:8px 8px 0 0}
body[data-hesan-theme-id="4"] .hg-chart-column:nth-child(2n) .hg-chart-bar{background:linear-gradient(#53aaf9,#1f8edb)}
body[data-hesan-theme-id="4"] .hg-chart-column:nth-child(3n) .hg-chart-bar{background:linear-gradient(#b58cf9,#8a56ca)}
body[data-hesan-theme-id="4"] .hg-create-class{
  display:flex;align-items:center;gap:19px;padding:11px 18px;border-radius:19px;
  border:1px solid #c0eddc;background:linear-gradient(120deg,#d9fff2,#a6ecd2);min-width:0;
}
body[data-hesan-theme-id="4"] .hg-create-class>img{width:135px;height:87px;border-radius:14px;object-fit:cover;flex:none}
body[data-hesan-theme-id="4"] .hg-create-class>div{flex:1;min-width:0}
body[data-hesan-theme-id="4"] .hg-create-class strong{font-size:18px!important;color:#07564a}
body[data-hesan-theme-id="4"] .hg-create-class p{font-size:12px!important;color:#427667;margin:6px 0 0}
body[data-hesan-theme-id="4"] .hg-button{padding:10px 17px;font-size:13px!important;white-space:normal}
body[data-hesan-theme-id="4"] .hg-teacher-composer{
  display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px 19px;
  border:1px solid #dcefe5;border-radius:18px;background:linear-gradient(115deg,#f6fcf9,#fff);
}
body[data-hesan-theme-id="4"] .hg-teacher-composer label{flex:1;display:grid;gap:7px;font-size:12px;font-weight:750;color:#29695d;min-width:160px}
body[data-hesan-theme-id="4"] .hg-teacher-composer input{min-height:43px;padding:9px 12px}
/* Existing student components: real schedules, tasks, attendance, class tiles */
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .welcome-row{min-height:162px!important}
body[data-hesan-theme-id="4"] #app-view :is(.student-schedule-card,.student-day-agenda-card,.student-agenda-panel){border-radius:17px}
body[data-hesan-theme-id="4"] #app-view .student-schedule-card.upcoming{opacity:.62;filter:saturate(.78)}
body[data-hesan-theme-id="4"] #app-view .student-schedule-card button:not(:disabled)[data-join-session]{background:linear-gradient(120deg,#10b88c,#04785d)!important;color:white!important}
body[data-hesan-theme-id="4"] #app-view .student-schedule-card .student-lesson-art img{border-radius:12px;object-fit:cover}
body[data-hesan-theme-id="4"] #app-view .student-agenda-day.selected,
body[data-hesan-theme-id="4"] #app-view .student-agenda-day[aria-selected="true"]{background:linear-gradient(120deg,#1abf8f,#087961)!important;color:#fff!important}
body[data-hesan-theme-id="4"] #app-view .portal-greeting{font-weight:750}
/* Live classroom — keep real WebRTC/video element behavior */
body[data-hesan-theme-id="4"] #app-view #live-class-panel{overflow:visible}
body[data-hesan-theme-id="4"] #app-view #classroom-room-content .live-room-header{
  background:linear-gradient(115deg,#0f806b,#05443d)!important;border-radius:20px 20px 0 0;
  color:white;padding:16px 20px;min-height:86px;
}
body[data-hesan-theme-id="4"] #app-view #classroom-room-content .live-room-header :is(h2,p,.muted){color:#fff!important}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-layout{
  display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,.72fr);
  padding:16px;gap:14px;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .lesson-stage{
  border:3px solid #0c8c76;border-radius:20px;min-height:360px;
  background:radial-gradient(ellipse at 45% 0,#1a7967 0,transparent 70%),#083f3a;
  box-shadow:0 9px 20px #064b4321;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:minmax(0,1fr);
  inset:34px 11px 38px!important;overflow:auto;align-content:stretch;
}
/* Teacher remains prominent; other cameras may appear below, not replacing the teacher. */
body[data-hesan-theme-id="4"] #app-view #lesson-stage:not(.smart-board-active):not(.remote-screen-sharing) #teacher-video-tile:not([hidden]){
  grid-column:1;grid-row:1;position:relative!important;width:100%!important;
  height:100%!important;max-width:none!important;min-height:270px;
  border:0!important;border-radius:17px!important;background:#0b3833!important;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage:not(.smart-board-active):not(.remote-screen-sharing) #teacher-video-tile video:not([hidden]){
  display:block;width:100%!important;height:100%!important;object-fit:contain!important;
}
/* Smartboard becomes primary stage; teacher video is in an actual small PiP window. */
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active:not(.remote-screen-sharing) #file-presentation-screen:not([hidden]){
  position:absolute;inset:9px!important;z-index:9;display:grid!important;width:auto!important;
  min-height:0!important;height:calc(100% - 18px)!important;max-height:none!important;
  padding:9px;border:1px solid #bde9d4;border-radius:16px;
  background:#fff!important;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active:not(.remote-screen-sharing) #classroom-video-grid{z-index:0!important;pointer-events:none}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active #smart-board-camera-preview:not([hidden]){
  display:block!important;position:absolute!important;z-index:22!important;
  top:auto!important;bottom:16px!important;left:16px!important;right:auto!important;
  width:clamp(116px,19%,190px)!important;height:auto!important;max-height:none!important;
  aspect-ratio:4/3;object-fit:cover;border:3px solid white;border-radius:14px;
  background:#084439;box-shadow:0 6px 19px #0004;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active:has(#smart-board-camera-preview:not([hidden])) #teacher-video-tile{
  visibility:hidden!important;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active .hg-teacher-pip-fallback{
  display:none;position:absolute;bottom:16px;left:16px;z-index:21;
  width:140px;aspect-ratio:4/3;align-content:center;justify-items:center;
  background:linear-gradient(155deg,#0b6252,#083b38);border:3px solid white;
  border-radius:14px;box-shadow:0 6px 19px #0003;color:white;
}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active:has(#smart-board-camera-preview[hidden]) .hg-teacher-pip-fallback{display:grid}
body[data-hesan-theme-id="4"] #app-view .hg-teacher-pip-fallback img{width:46px;height:46px;border-radius:13px;object-fit:contain;background:white}
body[data-hesan-theme-id="4"] #app-view .hg-teacher-pip-fallback span{font-size:11px!important}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active:has(#smart-board-camera-preview[hidden]) #teacher-video-tile{visibility:hidden!important}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-controls{
  display:flex;align-items:center;justify-content:center;gap:7px;
  background:#f8fffb;border:1px solid #d0e9df;border-radius:18px;padding:8px;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .room-control{
  border-radius:13px;background:linear-gradient(130deg,#eafff4,#d5f4e7);
  border:1px solid #a6d9c8;color:#095d4e;min-height:54px;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .room-control[aria-pressed="true"]{background:#0b9877;color:#fff}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .room-leave{
  border-radius:13px;background:linear-gradient(125deg,#f05261,#b92038);color:#fff;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel :is(.room-people-card,.room-chat-card,.lesson-workspace){
  border-radius:17px;border-color:#cfe8dc;box-shadow:0 5px 16px #06453812;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .file-presentation-canvas{
  border-radius:12px;background:#fff;
}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .file-drawing-tools,
body[data-hesan-theme-id="4"] #app-view #live-class-panel .file-presentation-actions{
  scrollbar-width:thin;
}
/* Mobile bottom dock routes to the real role-authorized navigation. */
body[data-hesan-theme-id="4"] #app-view .hg-mobile-dock{display:none}
/* Login is part of the same visual system */
body[data-hesan-theme-id="4"] #auth-view{background:radial-gradient(ellipse at 20% 15%,#d9fbed 0,transparent 42%),linear-gradient(130deg,#f0faf6,#e2f5ef)!important}
body[data-hesan-theme-id="4"] #auth-view .auth-card{background:#fff!important;border:1px solid #d4e9e1!important;border-radius:25px!important;box-shadow:0 17px 48px #07483821!important}
body[data-hesan-theme-id="4"] #auth-view .primary{background:linear-gradient(110deg,#07b987,#056c57)!important;color:white!important}
/* Responsive: tablet and small laptop */
@media(max-width:1250px){
  body[data-hesan-theme-id="4"] #app-view>.app-layout{grid-template-columns:210px minmax(0,1fr)!important;padding:14px 12px 32px!important;gap:13px!important}
  body[data-hesan-theme-id="4"] #app-view .side-nav{padding-inline:8px!important}
  body[data-hesan-theme-id="4"] .hg-portal-grid{grid-template-columns:1fr}
  body[data-hesan-theme-id="4"] .hg-chart-track{height:115px}
  body[data-hesan-theme-id="4"] .hg-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  body[data-hesan-theme-id="4"] #app-view>.app-layout{grid-template-columns:170px minmax(0,1fr)!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row:before{width:53%!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-copy{max-width:49%}
  body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item{font-size:11px!important;gap:6px;padding:8px 7px!important}
  body[data-hesan-theme-id="4"] .hg-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-hesan-theme-id="4"] .hg-session{grid-template-columns:44px minmax(0,1fr) auto}
  body[data-hesan-theme-id="4"] .hg-session-time{grid-column:2}
  body[data-hesan-theme-id="4"] .hg-session .hg-join{grid-column:3;grid-row:1 / 3}
}
/* Portrait phones — purpose-built single-column controls, no desktop-scale copies */
@media(max-width:760px){
  body[data-hesan-theme-id="4"] #app-view{padding-bottom:75px}
  body[data-hesan-theme-id="4"] #app-view .topbar{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    min-height:80px!important;height:auto!important;padding:8px 12px!important;gap:6px;
  }
  body[data-hesan-theme-id="4"] #app-view .topbar .brand{
    font-size:14px!important;min-width:0;grid-column:1;position:static!important;transform:none!important;
  }
  body[data-hesan-theme-id="4"] #app-view .topbar .brand-mark{width:42px;height:42px}
  body[data-hesan-theme-id="4"] #app-view .topbar .brand small{font-size:9px!important}
  body[data-hesan-theme-id="4"] #app-view .topbar .account{grid-column:2;justify-self:end;gap:5px}
  body[data-hesan-theme-id="4"] #app-view .topbar .user-chip{padding:4px 5px;background:transparent;border:0}
  body[data-hesan-theme-id="4"] #app-view .topbar .user-chip>.avatar{width:34px;height:34px}
  body[data-hesan-theme-id="4"] #app-view .topbar .user-chip strong{max-width:66px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px!important}
  body[data-hesan-theme-id="4"] #app-view .topbar .user-chip small{display:none}
  body[data-hesan-theme-id="4"] #app-view #logout{min-height:37px;padding:6px 8px;font-size:10px!important}
  body[data-hesan-theme-id="4"] #app-view .topbar .shamsi-clock{
    grid-row:2;grid-column:1 / -1;justify-self:center;padding:5px 9px;font-size:10px!important;
  }
  body[data-hesan-theme-id="4"] #app-view>.app-layout{
    display:block!important;grid-template-columns:minmax(0,1fr)!important;
    padding:10px 10px 20px!important;gap:0!important;
  }
  body[data-hesan-theme-id="4"] #app-view>.app-layout>.side-nav{
    position:fixed!important;inset:0 0 0 auto!important;z-index:100!important;
    width:min(304px,87vw)!important;max-width:87vw!important;min-width:0!important;
    max-height:100vh!important;height:100vh!important;margin:0!important;
    padding:18px 12px 150px!important;overflow-y:auto!important;
    border-radius:24px 0 0 24px!important;
    transform:translateX(105%)!important;
    transition:transform .22s ease!important;
  }
  body[data-hesan-theme-id="4"] #app-view.mobile-nav-open>.app-layout>.side-nav{
    transform:translateX(0)!important;
  }
  body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item{
    min-height:46px;font-size:13px!important;justify-content:flex-start!important;
  }
  body[data-hesan-theme-id="4"] #app-view .welcome-row{
    padding:12px 15px!important;min-height:154px!important;border-radius:17px!important;
    background:linear-gradient(95deg,#0e9f7f,#07564a)!important;
  }
  body[data-hesan-theme-id="4"] #app-view .welcome-row:before{
    width:51%!important;opacity:.81!important;filter:saturate(1.02);
    clip-path:none;
  }
  body[data-hesan-theme-id="4"] #app-view .welcome-row:after{
    left:0;right:0;width:100%!important;
    background:linear-gradient(90deg,transparent,#0b72576e 41%,#07584c 64%);
  }
  body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-copy{max-width:64%;width:64%;margin:0;min-width:0}
  body[data-hesan-theme-id="4"] #app-view .welcome-row h1{font-size:17px!important;line-height:1.6!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row .muted,
  body[data-hesan-theme-id="4"] #app-view .welcome-row .portal-greeting{font-size:11px!important;line-height:1.6!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-tools{display:none!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row .eyebrow{font-size:10px!important}
  body[data-hesan-theme-id="4"] #app-view #metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body[data-hesan-theme-id="4"] #app-view #metrics .metric{min-height:90px!important;padding:11px!important}
  body[data-hesan-theme-id="4"] #app-view #metrics .metric .metric-icon{width:40px;height:40px}
  body[data-hesan-theme-id="4"] #app-view #metrics .metric>div>span{font-size:12px!important}
  body[data-hesan-theme-id="4"] #app-view #metrics .metric>div>strong{font-size:21px!important}
  body[data-hesan-theme-id="4"] .hg-introduction{padding:12px 14px}
  body[data-hesan-theme-id="4"] .hg-introduction strong{font-size:17px!important}
  body[data-hesan-theme-id="4"] .hg-introduction p{font-size:12px!important}
  body[data-hesan-theme-id="4"] .hg-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-hesan-theme-id="4"] .hg-shortcut{min-height:95px;padding:9px 6px}
  body[data-hesan-theme-id="4"] .hg-shortcut-icon{width:46px;height:46px;font-size:27px}
  body[data-hesan-theme-id="4"] .hg-shortcut strong{font-size:11px!important}
  body[data-hesan-theme-id="4"] .hg-portal-grid{grid-template-columns:1fr}
  body[data-hesan-theme-id="4"] .hg-session{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:8px}
  body[data-hesan-theme-id="4"] .hg-session-time{grid-row:2;grid-column:2;font-size:11px!important;padding:5px}
  body[data-hesan-theme-id="4"] .hg-session .hg-join{grid-column:3;grid-row:1 / 3;white-space:normal;min-width:74px;max-width:98px;font-size:11px!important}
  body[data-hesan-theme-id="4"] .hg-chart-track{height:125px}
  body[data-hesan-theme-id="4"] .hg-create-class{gap:9px;flex-wrap:wrap;padding:10px}
  body[data-hesan-theme-id="4"] .hg-create-class>img{width:66px;height:68px}
  body[data-hesan-theme-id="4"] .hg-create-class strong{font-size:15px!important}
  body[data-hesan-theme-id="4"] .hg-create-class .hg-button{width:100%;min-height:43px}
  body[data-hesan-theme-id="4"] #app-view .hg-mobile-dock{
    display:flex!important;position:fixed!important;bottom:0;left:0;right:0;z-index:85;
    align-items:stretch;justify-content:space-around;gap:4px;
    min-height:65px;padding:6px 6px max(6px,env(safe-area-inset-bottom));
    border-top:1px solid #d4e7de;background:#fffffff7;box-shadow:0 -5px 22px #093d3b17;
  }
  body[data-hesan-theme-id="4"] #app-view .hg-mobile-dock[hidden]{display:none!important}
  body[data-hesan-theme-id="4"] #app-view .hg-dock-button{
    flex:1;min-width:0;min-height:51px;border:0;border-radius:12px;background:transparent;
    display:grid;place-items:center;gap:1px;color:#42695f;padding:3px;
  }
  body[data-hesan-theme-id="4"] #app-view .hg-dock-button>span{font-size:20px;line-height:1.2}
  body[data-hesan-theme-id="4"] #app-view .hg-dock-button small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  body[data-hesan-theme-id="4"] #app-view .hg-dock-button[aria-current="page"]{
    background:linear-gradient(160deg,#e3faec,#c7f3e2);color:#086b53;font-weight:800;
  }
  body[data-hesan-theme-id="4"] #app-view.classroom-session-active .hg-mobile-dock{display:none!important}
  body[data-hesan-theme-id="4"] #app-view.classroom-session-active{padding-bottom:0}
  body[data-hesan-theme-id="4"] #app-view :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px!important;min-height:44px}
  body[data-hesan-theme-id="4"] #app-view :is(.create-form,.inline-form) label{min-width:0}
  body[data-hesan-theme-id="4"] #app-view :is(.panel-heading-actions,.teacher-head-actions,.report-actions)>.button{flex:1 1 auto;min-height:44px}
  body[data-hesan-theme-id="4"] #app-view :is(.panel-heading,.data-card-head){padding:13px}
  body[data-hesan-theme-id="4"] #app-view :is(.panel-heading h2,.data-card-head h3){font-size:16px!important}
  body[data-hesan-theme-id="4"] #app-view .form-grid{grid-template-columns:1fr!important}
  body[data-hesan-theme-id="4"] #app-view .placeholder-grid{grid-template-columns:1fr!important}
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-layout{
    display:flex!important;flex-direction:column!important;padding:8px!important;gap:10px!important;
  }
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-main{order:0;width:100%;min-width:0}
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-sidebar{order:1;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .lesson-stage{
    min-height:250px!important;aspect-ratio:4/3;border-radius:16px;
  }
  body[data-hesan-theme-id="4"] #app-view #lesson-stage:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid{
    inset:30px 7px 36px!important;
  }
  body[data-hesan-theme-id="4"] #app-view #lesson-stage:not(.smart-board-active):not(.remote-screen-sharing) #teacher-video-tile:not([hidden]){min-height:185px}
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active{aspect-ratio:auto!important;min-height:430px!important}
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active #file-presentation-screen:not([hidden]){inset:5px!important;height:calc(100% - 10px)!important;padding:5px!important}
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active #smart-board-camera-preview:not([hidden]){
    width:100px!important;bottom:8px!important;left:8px!important;border-width:2px;border-radius:11px;
  }
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active .hg-teacher-pip-fallback{bottom:8px;left:8px;width:100px}
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active .hg-teacher-pip-fallback img{width:30px;height:30px}
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-controls{
    position:sticky;bottom:4px;z-index:12;gap:4px;padding:7px 4px;overflow-x:auto;
    justify-content:flex-start;
  }
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-controls :is(button,.room-control,.room-leave){
    flex:1 0 54px;min-height:55px;padding:5px 3px;
  }
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .classroom-controls small{font-size:9px!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-room-content .live-room-header{padding:13px}
}
@media(max-width:380px){
  body[data-hesan-theme-id="4"] .hg-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-hesan-theme-id="4"] .hg-day{min-width:56px;font-size:11px!important}
  body[data-hesan-theme-id="4"] #app-view .welcome-row h1{font-size:15px!important}
  body[data-hesan-theme-id="4"] #app-view .hg-metric-icon{width:40px;height:40px;flex-basis:40px}
  body[data-hesan-theme-id="4"] #app-view .hg-metric-copy strong{font-size:20px!important}
}
@media(orientation:landscape) and (max-height:530px) and (max-width:990px){
  body[data-hesan-theme-id="4"] #app-view.classroom-session-active .topbar{position:relative}
  body[data-hesan-theme-id="4"] #app-view #live-class-panel .lesson-stage{min-height:220px;aspect-ratio:16/8}
  body[data-hesan-theme-id="4"] #app-view #lesson-stage.smart-board-active{min-height:260px!important}
}
@media(prefers-reduced-motion:reduce){
  body[data-hesan-theme-id="4"] #app-view *,
  body[data-hesan-theme-id="4"] #app-view *:before,
  body[data-hesan-theme-id="4"] #app-view *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
body[data-hesan-theme-id="4"] #app-view :is(.hg-shortcut-icon,.hg-dock-icon) svg{display:block;width:30px;height:30px;fill:none;stroke:var(--hg-tile,#0b8870);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 1px #24523d18)}
body[data-hesan-theme-id="4"] #app-view .hg-dock-icon svg{width:23px;height:23px;stroke:#1f725c}
/* Graphic theme picker — replaces seasonal Yalda swatch with HESAN palette. */
body[data-hesan-theme-id="4"] .hesan-theme-option[data-theme-choice="4"] .hesan-theme-preview,
.hesan-theme-option[data-theme-choice="4"] .hg-preview{
  background:linear-gradient(120deg,#063f3a 0 34%,#078b71 34% 63%,#27cfa4 63% 84%,#ddf9ed 84%);
}
/* Context ribbon, reusable for all management detail screens. */
body[data-hesan-theme-id="4"] #app-view .hg-page-context{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:13px 17px;margin:0 0 15px;
  border:1px solid #d9eae3;border-radius:16px;background:linear-gradient(110deg,#e8fbf0,#fff);
  box-shadow:0 4px 15px #0559430d;
}
body[data-hesan-theme-id="4"] #app-view .hg-page-context[hidden]{display:none!important}
body[data-hesan-theme-id="4"] #app-view .hg-context-copy{display:grid;gap:2px}
body[data-hesan-theme-id="4"] #app-view .hg-context-copy small{font-size:11px!important;color:#548372}
body[data-hesan-theme-id="4"] #app-view .hg-context-copy strong{font-size:18px!important;color:#065c49}
body[data-hesan-theme-id="4"] #app-view .hg-context-back{
  min-height:42px;padding:8px 12px;border:1px solid #b9e3d1;border-radius:12px;
  background:#f4fff9;color:#0a7762;font-weight:800;
}
@media(max-width:760px){
 body[data-hesan-theme-id="4"] #app-view .hg-page-context{padding:10px 12px}
 body[data-hesan-theme-id="4"] #app-view .hg-context-copy strong{font-size:15px!important}
 body[data-hesan-theme-id="4"] #app-view .hg-context-back{font-size:11px!important}
}
/* V5 student home — theme 4 owns this layout (theme 3 remains untouched). */
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-panel{
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-panel>.student-theme-welcome{
  display:flex;min-height:90px;margin:0 0 16px;padding:12px 20px;
  background:linear-gradient(105deg,#e9fff1,#d6f6ed,#fff)!important;
  border:1px solid #cbe8da;border-radius:18px;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-panel>.student-theme-welcome>img,
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-panel>.student-theme-welcome>#student-theme-fallback{
  width:58px;height:58px;border-radius:50%;border:3px solid white;box-shadow:0 3px 12px #063d3830;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-class-schedule{
  padding:16px!important;margin:0 0 15px!important;border:1px solid #d8ebe3;
  border-radius:19px;background:#fff;box-shadow:var(--hg-shadow);
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-layout{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(210px,29%)!important;
  gap:13px;align-items:start;direction:rtl;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-panel{
  grid-column:2;grid-row:1;min-width:0;padding:13px!important;
  background:linear-gradient(120deg,#e7fff1,#fff)!important;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-heading{
  display:flex;align-items:center;gap:9px;font-weight:850;color:#086a57;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-day{
  display:block;margin:10px 0;padding:7px;text-align:center;border-radius:12px;
  background:#e0f9ed;color:#06735a;font-weight:850;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-day-agenda{display:grid;gap:7px}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-row{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  border-bottom:1px solid #d4eadf;padding:8px 2px;font-size:12px;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-row time{direction:ltr;white-space:nowrap;color:#0b7966}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-week-navigation{
  display:flex!important;align-items:center;flex-wrap:wrap;justify-content:center;gap:12px;
  padding:8px;margin:5px 0 12px!important;max-width:none!important;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-week-navigation button{
  min-height:44px;min-width:44px;border-radius:12px;border:1px solid #b9e5d3;
  background:#e7f9f1;color:#08765f;font-size:24px;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-column:1;grid-row:1;gap:10px;margin:0!important;min-width:0;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card{
  display:flex!important;flex-direction:column;align-items:stretch;min-width:0;gap:10px;
  background:linear-gradient(140deg,#fff,#effbf7)!important;border-radius:17px;
  padding:12px!important;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .classroom-schedule-info{
  display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:6px;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-lesson-art{
  width:min(100%,180px)!important;height:auto!important;aspect-ratio:16/10;display:block!important;
  background:#e2f6ef;border-radius:14px;overflow:hidden;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-lesson-art img{
  display:block;width:100%!important;height:100%!important;object-fit:cover!important;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-subject-icon{display:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card strong{font-size:13px!important;color:#064c40;line-height:1.6}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card small{font-size:11px!important;line-height:1.6}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions{
  display:flex;flex-wrap:wrap;justify-content:center;gap:7px;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions button{min-height:44px;border-radius:12px}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras{
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);
  gap:14px;margin:14px 0;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras[hidden]{display:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras>section{
  padding:16px;background:#fff;border:1px solid #d9e9e4;border-radius:18px;box-shadow:var(--hg-shadow);min-width:0;
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras h2{font-size:17px!important;color:#0a6353}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras p{border-bottom:1px solid #e4eee9;margin:0;padding:11px 0;overflow-wrap:anywhere;font-size:12px!important}
@media(max-width:900px){
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-layout{grid-template-columns:1fr!important}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-agenda-panel{grid-column:1;grid-row:1}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-list{grid-column:1;grid-row:2}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-overview-extras{grid-template-columns:1fr}
}
@media(max-width:560px){
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view #student-class-schedule{padding:11px!important}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-list{grid-template-columns:1fr!important}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card{flex-direction:row;flex-wrap:wrap;align-items:center}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .classroom-schedule-info{flex:1 1 100%;flex-direction:row;justify-content:flex-start;text-align:right}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-lesson-art{width:68px!important;height:68px!important;aspect-ratio:1}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-day-agenda{grid-template-columns:1fr}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions{flex:1 1 100%;justify-content:stretch}
 body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions>*{flex:1}
}

/* Reference alignment, scoped to the new theme. */
body[data-hesan-theme-id="4"] #app-view .portal-greeting{display:block!important;color:#edfff7;font-size:14px!important;line-height:1.8}
body[data-hesan-theme-id="4"] #app-view .hg-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-hesan-theme-id="4"] #app-view .hg-shortcut{min-height:92px;padding:12px!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-theme-welcome{display:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;grid-template-rows:auto!important;direction:rtl}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;position:static!important;transform:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .brand>span:last-child{font-size:19px!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .brand>span:last-child:before{content:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .shamsi-clock{grid-column:2!important;grid-row:1!important;justify-self:center!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .shamsi-clock{width:max-content!important;max-width:none!important;white-space:nowrap!important;display:flex!important;flex-wrap:nowrap!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .account{grid-column:3!important;grid-row:1!important;justify-self:end!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-list{grid-template-columns:minmax(0,1fr)!important;align-content:start;gap:10px}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px!important;align-items:center;overflow:visible}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .classroom-schedule-info{display:flex!important;flex-direction:row!important;text-align:right;gap:12px;min-width:0}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-lesson-art{width:72px!important;height:72px!important;min-width:72px;flex:none;margin:0!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-lesson-art img{width:100%!important;height:100%!important;object-fit:contain!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .classroom-schedule-info>div{min-width:0}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view[data-workspace-target="metrics"] .student-schedule-card .classroom-schedule-info small:not(.portal-start-time):not(.student-topic-label):not(.hg-session-teacher){display:none!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions{display:flex;flex-direction:column;gap:7px;margin:0;min-width:126px}
body[data-hesan-theme-id="4"] #app-view .hg-class-more{position:relative;font-size:12px;z-index:2}
body[data-hesan-theme-id="4"] #app-view .hg-class-more[open]{z-index:8}
body[data-hesan-theme-id="4"] #app-view .hg-class-more summary{display:grid;place-items:center;min-height:44px;padding:6px 12px;border:1px solid #d5e9e3;border-radius:12px;background:#f1faf7;color:#09634f;cursor:pointer;list-style:none}
body[data-hesan-theme-id="4"] #app-view .hg-class-more summary::-webkit-details-marker{display:none}
body[data-hesan-theme-id="4"] #app-view .hg-class-menu{position:absolute;inset:100% auto auto 0;min-width:190px;display:grid;gap:6px;padding:8px;background:white;box-shadow:0 8px 22px #063f3a30;border:1px solid #c9e7dc;border-radius:12px}
body[data-hesan-theme-id="4"] #app-view .hg-class-menu button{width:100%;min-height:44px}
body[data-hesan-theme-id="4"] #app-view .hg-teacher-pip-fallback[hidden]{display:none!important}
@media(max-width:760px){
body[data-hesan-theme-id="4"] #app-view .hg-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar{grid-template-columns:1fr 1fr!important;grid-template-rows:auto auto!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .brand{grid-column:1!important;font-size:14px!important;gap:6px}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .brand>span:last-child{font-size:14px!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .account{grid-column:2!important}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .topbar .shamsi-clock{grid-column:1/-1!important;grid-row:2!important}
body[data-hesan-theme-id="4"] #app-view .hg-metric:last-child:nth-child(odd){grid-column:1/-1}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card{grid-template-columns:minmax(0,1fr)}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions{flex-direction:row;flex-wrap:wrap;min-width:0}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view .student-schedule-card .schedule-card-actions>*{flex:1}
}
@media(max-width:380px){body[data-hesan-theme-id="4"] #app-view .hg-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:761px){body[data-hesan-theme-id="4"] #app-view .welcome-row{min-height:150px!important;padding:18px 24px!important}body[data-hesan-theme-id="4"] #app-view #mobile-nav-toggle{display:none!important}}

body[data-hesan-theme-id="4"] #app-view .hg-chart-column>small{white-space:normal;overflow-wrap:anywhere;text-align:center}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view[data-workspace-target="metrics"] #student-panel>.panel-heading,body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view[data-workspace-target="metrics"] #student-class-list,body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view[data-workspace-target="metrics"] #student-panel>.student-attendance-section{display:none!important}body[data-hesan-theme-id="4"] #auth-view .auth-foot{color:#315f54!important;text-shadow:none!important}body[data-hesan-theme-id="4"] #app-view .student-schedule-card>.student-material-list{grid-column:1/-1}
body[data-hesan-theme-id="4"] #app-view #lesson-stage.hg-remote-instructor:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr) 85px!important;grid-auto-rows:85px!important;gap:8px!important}body[data-hesan-theme-id="4"] #app-view #lesson-stage.hg-remote-instructor:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid>.hg-instructor-tile{grid-column:1/-1!important;grid-row:1!important;min-height:0!important;max-width:none!important;width:100%!important;height:100%!important}body[data-hesan-theme-id="4"] #app-view #lesson-stage.hg-remote-instructor #classroom-video-grid>.hg-instructor-tile video{object-fit:contain!important}body[data-hesan-theme-id="4"] #app-view #lesson-stage.hg-remote-instructor:not(.smart-board-active):not(.remote-screen-sharing) #classroom-video-grid>#teacher-video-tile:not([hidden]){grid-column:auto!important;grid-row:auto!important;min-height:0!important;height:85px!important}
body[data-hesan-theme-id="4"] #app-view .hg-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:14px 0}body[data-hesan-theme-id="4"] #app-view .hg-ring-layout{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap;padding:14px 0}body[data-hesan-theme-id="4"] #app-view .hg-ring{display:grid;place-items:center;width:128px;height:128px;flex:none;border-radius:50%;background:conic-gradient(#12bb72 var(--hg-ring-angle,0deg),#e4efea 0);box-shadow:inset 0 0 0 1px #d5e9df}body[data-hesan-theme-id="4"] #app-view .hg-ring-center{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100px;height:100px;border-radius:50%;background:#fff;gap:5px}body[data-hesan-theme-id="4"] #app-view .hg-ring-center strong{font-size:27px;color:#076c4c}body[data-hesan-theme-id="4"] #app-view .hg-ring-center small{font-size:10px;color:#5c7d70}body[data-hesan-theme-id="4"] #app-view .hg-ring-legend{min-width:0;flex:1}body[data-hesan-theme-id="4"] #app-view .hg-ring-legend p{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:8px;border-bottom:1px solid #ddefe6}body[data-hesan-theme-id="4"] #app-view .hg-attendance-trend{display:block;width:100%;height:160px;max-width:100%}body[data-hesan-theme-id="4"] #app-view .hg-trend-range{display:block;text-align:center;color:#54806c}body[data-hesan-theme-id="4"] #app-view .hg-activity-row{display:grid;gap:5px;padding:10px;border-radius:10px;background:#edf8f2;border:1px solid #dcece5;font-size:12px}body[data-hesan-theme-id="4"] #app-view .hg-activity-row small{color:#537566}



/* Teacher class creation: show lesson artwork as a clear, compact square card. */
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options{
  grid-template-columns:repeat(auto-fill,minmax(170px,210px))!important;
  justify-content:start;gap:12px!important;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile{
  display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;
  width:100%!important;max-width:210px;min-height:0!important;padding:10px!important;gap:8px;
  border:1px solid #d3e9df;border-radius:16px;background:linear-gradient(145deg,#f8fffb,#eaf7f0);
  box-shadow:0 4px 12px #075b4814;box-sizing:border-box;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile>.lesson-launch-art{
  display:block!important;width:156px!important;height:156px!important;min-width:0!important;max-width:100%!important;
  margin:0!important;overflow:hidden;border:1px solid #d6e9df;border-radius:13px;background:#fff;box-sizing:border-box;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile>.lesson-launch-art img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center!important;position:static!important;margin:0!important;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile>strong{
  width:100%;font-size:14px!important;line-height:1.6;text-align:center;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile>.teacher-full-name{
  display:block;width:100%;font-size:12px!important;line-height:1.7;text-align:center;white-space:normal;overflow-wrap:anywhere;
}
body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile.selected{
  border:2px solid #099778;background:linear-gradient(145deg,#f0fff7,#dff6ea);box-shadow:0 0 0 3px #0b9b7618,0 5px 15px #075b4820;
}
@media(max-width:600px){
  body[data-hesan-theme-id="4"] #app-view #classroom-subject-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile{max-width:none;padding:8px!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-subject-options .subject-launch-tile>.lesson-launch-art{width:min(100%,140px)!important;height:auto!important;aspect-ratio:1}
}

/* Registered class cards: two balanced cards per desktop row. */
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;gap:12px!important;
  min-width:0;padding:14px!important;border:1px solid #d6e9df;border-radius:16px;
  background:linear-gradient(145deg,#fbfffd,#f0faf5);box-shadow:0 4px 14px #075b4810;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info{
  display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:12px!important;
  align-items:center;min-width:0;text-align:right;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art{
  display:block;width:132px!important;height:132px!important;min-width:0;overflow:hidden;
  border:1px solid #d6e9df;border-radius:13px;background:#fff;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art img{
  display:block;width:100%!important;height:100%!important;object-fit:contain!important;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info>div{min-width:0;overflow-wrap:anywhere}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info strong{font-size:14px!important;line-height:1.8}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info small{font-size:11px!important;line-height:1.8}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-card-actions{
  display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px;padding-top:10px;border-top:1px solid #dcece5;
}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-card-actions button{
  min-height:36px;padding:6px 10px!important;font-size:11px!important;white-space:normal;
}
@media(max-width:760px){
  body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list{grid-template-columns:minmax(0,1fr)!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info{grid-template-columns:96px minmax(0,1fr)!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art{width:96px!important;height:96px!important}
}
@media(min-width:761px) and (max-width:1100px){
  body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info{grid-template-columns:105px minmax(0,1fr)!important}
  body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art{width:105px!important;height:105px!important}
}
