.graphic-preview{background:linear-gradient(135deg,#fff8ef 0 35%,#16a99c 35% 60%,#168de7 60% 78%,#efb63d 78%);border-color:#9adacc}
.graphic-preview i:first-child{background:#0c8478}
.graphic-preview i:nth-child(2){background:#fffaf3;border-color:#d9c7ac}
.graphic-preview i:nth-child(3){background:#dff5ec}
/* HESAN 06 — actual responsive student/teacher/management components.
 * Requires existing theme 4; never touches other skins. No screenshot as UI.
 */

body[data-hesan-theme-id="4"] #portal-home.h6-root{
  --h6-ink:#11384c;--h6-light:#f9fdff;--h6-line:#d8e8ed;--h6-forest:#005d50;
  display:block!important;direction:rtl;font-family:var(--school-body-font,Vazirmatn,Tahoma,sans-serif);
  width:100%;max-width:100%;color:var(--h6-ink);padding:0 0 25px;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root *{box-sizing:border-box}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(button,a){-webkit-tap-highlight-color:transparent}
body[data-hesan-theme-id="4"] #portal-home.h6-root button:focus-visible{outline:3px solid #2fc5a8;outline-offset:3px}
body[data-hesan-theme-id="4"] #app-view .welcome-row{margin-bottom:14px!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-intro{display:none}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{
 display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;margin:4px 0 20px;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick{
 appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
 padding:17px 6px 13px;min-height:116px;width:100%;border:1px solid #d8e9f1;border-radius:23px;
 background:linear-gradient(155deg,#fff 3%,var(--tone-soft,#eaf9f7) 100%);color:#0c3546;
 box-shadow:0 7px 15px #154d6921,inset 0 2px 2px #fff;cursor:pointer;transition:transform .15s,box-shadow .15s;
 font-family:inherit!important;text-align:center;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick:hover{transform:translateY(-3px);box-shadow:0 10px 17px #154d6930,inset 0 2px 2px #fff}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick:active{transform:translateY(0)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick strong{font-size:clamp(11px,1vw,16px);font-weight:850;line-height:1.7;white-space:normal}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon{display:grid;place-items:center;width:59px;height:56px;
 font-size:39px;line-height:1;filter:drop-shadow(0 4px 2px #0002)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-aqua{--tone-soft:#dafbf5;--tone-color:#11a28b}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-sky{--tone-soft:#dff2fe;--tone-color:#139de9}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-gold{--tone-soft:#fff1c7;--tone-color:#e59a14}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-violet{--tone-soft:#f0e7ff;--tone-color:#8454d4}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-mint{--tone-soft:#d9f8e8;--tone-color:#00a860}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-pink{--tone-soft:#ffe5f0;--tone-color:#ee4b95}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-blue{--tone-soft:#dcefff;--tone-color:#127dd7}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tone-green{--tone-soft:#d7f6dc;--tone-color:#078955}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-student-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:17px;align-items:stretch}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel{
 min-width:0;padding:18px 17px;border-radius:25px;border:1px solid #d9eaf2;
 background:linear-gradient(145deg,#fff,#f9fcfe);box-shadow:0 7px 18px #0d516121;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel-heading{
 display:flex;align-items:center;gap:10px;margin:0 0 17px;font-size:clamp(15px,1.3vw,21px);font-weight:900;
 color:#112d42;text-align:right;line-height:1.5;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel-heading svg{color:#00a36c;width:27px;height:27px;flex:0 0 27px;stroke-width:2.5}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-list{display:flex;flex-direction:column;gap:10px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session{
 display:flex;align-items:center;gap:10px;padding:9px 11px;min-height:73px;border:1px solid #d7e7ef;
 border-radius:16px;background:linear-gradient(110deg,#f8fdff,#ecf4fa);box-shadow:0 2px 5px #09486212;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-subject-icon{
 display:grid;place-items:center;border-radius:14px;padding:7px;width:54px;height:54px;flex:0 0 54px;
 background:linear-gradient(135deg,#fff,var(--tone-soft,#e7f1fd));border:1px solid #ffffffc2;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-subject-icon img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #0335)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy strong{font-size:16px;font-weight:900;color:#0a3044}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy small{color:#60798b;font-size:11px;white-space:normal;line-height:1.45}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-time{display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:25px;
 background:#dcf8ef;color:#116653;flex:0 0 auto;font-size:12px;font-weight:750;direction:rtl;white-space:nowrap}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-time svg{width:17px;height:17px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter{
 min-width:111px;min-height:39px;padding:6px 12px;border:1px solid #cbd9e1;border-radius:13px;
 background:linear-gradient(#f7fafc,#eaf0f4);font-family:inherit;font-size:12px;font-weight:900;color:#8395a0;white-space:nowrap;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter-on{
 color:white;background:linear-gradient(#00bd6c,#008c53);border-color:#00a36b;box-shadow:0 4px 7px #14956150;cursor:pointer;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter-on:hover{filter:brightness(1.08)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner{
 display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;margin-top:19px;min-height:100px;
 border-radius:19px;background:linear-gradient(100deg,#c0fce3,#55e2ac);overflow:hidden;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner img{width:min(33%,160px);height:92px;object-fit:contain;mix-blend-mode:multiply}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner-button{flex:1;min-width:0;
 padding:13px 12px;background:linear-gradient(#00aa72,#007849);color:#fff;border:4px solid #fff;
 box-shadow:0 4px 10px #0756454f;border-radius:35px;font-weight:900;font-size:clamp(13px,1.4vw,20px);cursor:pointer}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-days{
 display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-bottom:14px;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day{
 font-family:inherit!important;border:1px solid #dbe9f0;background:linear-gradient(#fff,#eaf3f6);
 border-radius:11px;min-height:43px;padding:6px 2px;color:#143344;font-size:clamp(9px,.8vw,13px);font-weight:850;cursor:pointer;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day[aria-pressed="true"]{
 background:linear-gradient(#0bc47a,#007e52);border-color:#05aa74;color:white;box-shadow:0 4px 9px #008c5c50;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-selected-day{display:flex;align-items:center;justify-content:center;min-height:38px;margin:2px auto 11px;padding:6px 20px;width:max-content;min-width:118px;border:1px solid #b8dfd3;border-radius:22px;background:linear-gradient(105deg,#e1f5eb,#f5faf3);color:#075b4e;font-size:17px;font-weight:900}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day-controls{display:flex;justify-content:center;align-items:center;gap:12px;margin:12px 0 2px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day-arrow{display:grid;place-items:center;width:43px;height:43px;border:1px solid #c7e0d7;border-radius:50%;background:linear-gradient(#fff,#eff8f3);color:#078675;box-shadow:0 3px 9px #0a483d13;cursor:pointer}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day-arrow:hover{transform:translateY(-1px);box-shadow:0 5px 13px #0a483d25}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day-arrow svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.4}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-locked{opacity:.55;filter:saturate(.72)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-locked .h6-enter{cursor:not-allowed}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week-list .h6-session{background:linear-gradient(110deg,#edfff5,#e9f7f4)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week-list .h6-enter{display:none}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week-list .h6-subject-icon{width:47px;height:47px;flex-basis:47px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week-list .h6-session{min-height:65px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:13px;margin-bottom:19px;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat{
 display:grid;grid-template-columns:62px 1fr;grid-template-rows:1fr 1fr;column-gap:12px;align-items:center;
 padding:14px 12px;min-height:97px;border:1px solid #deedf5;border-radius:23px;
 background:linear-gradient(135deg,#fff,var(--tone-soft));box-shadow:0 7px 17px #14516d21;
}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon{grid-row:span 2;font-size:35px;display:grid;place-items:center;
 border-radius:17px;width:57px;height:58px;background:linear-gradient(140deg,#fff9,var(--tone-soft));filter:drop-shadow(0 3px 2px #1642)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-caption{font-size:14px;font-weight:800;align-self:end;color:#28475b}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat strong{font-size:26px;color:#102f43;align-self:start}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-teacher-columns,
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin:18px 0}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-teacher-columns>*:first-child,
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns>*:first-child{min-width:0}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{grid-template-columns:1.2fr 1fr 1fr}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-chart{display:flex;align-items:end;justify-content:space-between;gap:10px;min-height:175px;padding:12px 6px 2px;border-bottom:1px solid #c9e1de}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-col{display:flex;min-width:0;flex:1;align-items:center;flex-direction:column;gap:6px;font-size:12px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-col strong{color:#144d44}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-col small{font-size:10px;white-space:nowrap}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-track{position:relative;display:block;width:min(100%,45px);height:115px;border-radius:9px 9px 0 0;background:#eaf4f0;overflow:hidden}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-track i{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(#65e890,#00a36a);border-radius:8px 8px 0 0}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tool-actions,
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-action-boxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tool-button,
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-action{min-height:67px;padding:8px 7px;border:1px solid #d3e6ef;border-radius:17px;background:linear-gradient(145deg,#fff,var(--tone-soft,#e4f9f1));color:#124535;font-weight:850;font-size:14px;cursor:pointer;box-shadow:0 4px 9px #18604618;font-family:inherit}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-empty{text-align:center;color:#77929b;min-height:65px;display:grid;place-items:center;font-size:13px}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(button.h6-enter:disabled){opacity:.85;cursor:not-allowed}
body[data-hesan-theme-id="4"] .h6-mobile-dock{display:none}
@media(max-width:1240px){
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{gap:9px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick{min-height:105px;padding:12px 4px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session{flex-wrap:wrap}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy{flex:1 1 80px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter{min-width:0}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{grid-template-columns:1fr 1fr}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns>*:first-child{grid-column:1 / -1}
}
@media(max-width:800px){
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:0}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick{min-height:94px;border-radius:17px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon{font-size:31px;width:44px;height:42px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-student-columns,
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-teacher-columns,
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns,
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bottom{display:grid;grid-template-columns:1fr;gap:15px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns>*:first-child{grid-column:auto}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel{padding:14px 11px;border-radius:20px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat{grid-template-columns:40px 1fr;padding:10px 8px;column-gap:7px;min-height:83px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon{width:38px;height:42px;font-size:25px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-caption{font-size:11px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat strong{font-size:19px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-days{gap:3px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day{min-height:40px;font-size:9px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session{padding:7px;gap:7px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy strong{font-size:14px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-subject-icon{width:46px;height:46px;flex-basis:46px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-time{font-size:11px}
 body[data-hesan-theme-id="4"] .h6-mobile-dock{position:sticky;bottom:0;z-index:88;display:flex;justify-content:space-evenly;padding:7px 7px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #c3e7da;background:#f9fffcf2;backdrop-filter:blur(10px)}
 body[data-hesan-theme-id="4"] .h6-mobile-dock[hidden]{display:none}
 body[data-hesan-theme-id="4"] .h6-dock-item{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:54px;padding:4px 7px;background:transparent;border:0;color:#076a57;font-family:inherit;font-weight:800}
 body[data-hesan-theme-id="4"] .h6-dock-item span{font-size:22px}
 body[data-hesan-theme-id="4"] .h6-dock-icon{display:grid;place-items:center;width:25px;height:25px}
 body[data-hesan-theme-id="4"] .h6-dock-icon svg{width:23px;height:23px;stroke:#087d70;stroke-width:2.1}
 body[data-hesan-theme-id="4"] .h6-dock-item small{font-size:11px}
}
@media(max-width:420px){
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick strong{font-size:10px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day{font-size:8px;letter-spacing:-.35px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-time{order:3}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter{order:4;font-size:11px;padding:4px 8px;min-height:34px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner img{width:28%;height:73px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner-button{font-size:12px;border-width:2px}
}
@media(prefers-reduced-motion:reduce){body[data-hesan-theme-id="4"] #portal-home.h6-root *{transition:none!important}}

/* ===== 06 — High-fidelity visual layer based on HESAN-approved mockups ===== */
body[data-hesan-theme-id="4"] #app-view .topbar{
  min-height:82px!important;background:
    radial-gradient(ellipse at 85% -120%,#6ae69f 0 40%,transparent 41%),
    linear-gradient(98deg,#ffffff 0 61%,#f0fff9 78%,#e4fff0 100%)!important;
  border-bottom:2px solid #dceeee!important;
}
body[data-hesan-theme-id="4"] #app-view .topbar .brand{font-size:21px!important;letter-spacing:-.3px}
body[data-hesan-theme-id="4"] #app-view .topbar .brand:focus-visible{outline-color:#09c57c}
body[data-hesan-theme-id="4"] #app-view>.app-layout{gap:14px!important;grid-template-columns:224px minmax(0,1fr)!important;max-width:1900px!important;padding-top:11px!important}
body[data-hesan-theme-id="4"] #app-view .side-nav{top:94px!important;min-height:650px;padding:15px 9px 170px!important;border-radius:28px!important;background:linear-gradient(163deg,#045f55 0%,#00554f 36%,#003d3d 100%)!important}
body[data-hesan-theme-id="4"] #app-view .side-nav:before{height:195px!important;background-size:auto 190px!important;opacity:1!important}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item{font-size:14px!important;margin-bottom:3px;min-height:50px}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-item.selected{background:linear-gradient(100deg,#d9fff7,#ecfffd)!important;color:#005b4c!important;box-shadow:0 4px 9px #002d2b42!important}
body[data-hesan-theme-id="4"] #app-view .side-nav .nav-icon svg{width:25px;height:25px;stroke-width:2.2}
body[data-hesan-theme-id="4"] #app-view .welcome-row{min-height:175px!important;margin-bottom:12px!important;border-radius:25px!important;background:linear-gradient(109deg,#03995f 0%,#008f75 43%,#004f49 100%)!important}
body[data-hesan-theme-id="4"] #app-view .welcome-row:before{width:60%!important;background-image:url('/assets/graphic/campus-hero-2k.webp')!important;background-position:35% center!important;background-size:cover!important;clip-path:polygon(0 0,100% 0,94% 100%,0 100%)}
body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="student"]:before{background-image:url('/assets/graphic/student-hero-2k.webp')!important;background-position:30% center!important}
body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="teacher"]:before,
body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="vice_principal"]:before{background-image:url('/assets/graphic/teacher-hero-2k.webp')!important;background-position:30% center!important}
body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="teacher"]:before{background-image:url('/assets/graphic/teacher-hero-2k.webp')!important;background-position:30% center!important}
body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-copy{max-width:49%;}
body[data-hesan-theme-id="4"] #app-view .welcome-row h1{font-size:clamp(21px,2.1vw,33px)!important;line-height:1.55!important}
body[data-hesan-theme-id="4"] #app-view .welcome-row .portal-greeting{display:none!important} /* title already greets by name; avoid duplicated line */
body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-emblem{border:2px solid #ffffff77!important;border-radius:999px!important;background:#ffffff29!important;box-shadow:0 4px 16px #00382259!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{gap:13px;margin:8px 0 19px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick{min-height:104px;border-radius:23px;gap:2px;border:1px solid #d9e8ef;box-shadow:0 5px 12px #0e465c21,inset 0 2px 3px #fff}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon{width:59px;height:62px;filter:drop-shadow(0 5px 3px #0c303023)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon svg{width:44px;height:44px;stroke:var(--tone-color,#068f8b);stroke-width:2.3;filter:drop-shadow(1px 3px 0 #fff8)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick strong{font-size:14px;font-weight:850}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel{border:1px solid #d5e7ec!important;border-radius:24px;box-shadow:0 6px 16px #164b6924}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel-heading{font-size:19px!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session{background:linear-gradient(90deg,#f1f8ff,#fff)!important;border:1px solid #daeaf1!important;min-height:76px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-subject-icon{box-shadow:0 4px 9px #105d6d24;}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter-on{background:linear-gradient(#0dc37f,#008d55)!important;box-shadow:0 4px 10px #0182574a!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner{min-height:112px;background:linear-gradient(110deg,#c5fbe7,#64e4b5)!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner-button{max-width:440px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week-list .h6-session{background:linear-gradient(100deg,#e1f9ef,#f0fbff)!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon svg{width:39px;height:39px;color:var(--tone-color);stroke-width:2.2}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat:nth-child(5n+2){background:linear-gradient(130deg,#fff,#f1e8ff)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat:nth-child(5n+3){background:linear-gradient(130deg,#fff,#e2f3ff)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat:nth-child(5n+4){background:linear-gradient(130deg,#fff,#fff0c6)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat:nth-child(5n+5){background:linear-gradient(130deg,#fff,#ffedf6)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-action:hover,body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-tool-button:hover{transform:translateY(-2px)}
/* Keep page detail views as the SAME product design instead of theme-free forms. */
body[data-hesan-theme-id="4"] #app-view .dashboard>section.panel:not(#portal-home):not([hidden]){
 border:1px solid #d6ebe3!important;border-radius:23px!important;
 background:linear-gradient(165deg,#fff,#f9fffc)!important;
 box-shadow:0 8px 20px #055f4b17!important;overflow:visible;
}
body[data-hesan-theme-id="4"] #app-view .dashboard>section.panel:not(#portal-home):not([hidden]) .panel-heading{
 border-radius:19px 19px 12px 12px!important;padding:18px!important;
 background:linear-gradient(100deg,#d4fae8,#f6fffa)!important;
}
body[data-hesan-theme-id="4"] #app-view :is(.classroom-launcher,.school-overview-dashboard,.teacher-panel,.student-panel,.data-card){box-shadow:0 5px 17px #005c4319!important}
body[data-hesan-theme-id="4"] #app-view :is(.button.primary,.start-classroom-button,.classroom-join-button):not(:disabled){transition:transform .15s ease,filter .15s ease}
@media(hover:hover) and (pointer:fine){body[data-hesan-theme-id="4"] #app-view :is(.button.primary,.start-classroom-button,.classroom-join-button):not(:disabled):hover{filter:brightness(1.07);transform:translateY(-1px)}}
body[data-hesan-theme-id="4"] #app-view #classroom-room-content .live-room-header{border-radius:20px!important}
body[data-hesan-theme-id="4"] #app-view #live-class-panel .room-control{font-weight:850}
/* Layout integrity: responsive replacement, not scaled desktop artwork. */
@media(max-width:1000px){
 body[data-hesan-theme-id="4"] #app-view>.app-layout{grid-template-columns:190px minmax(0,1fr)!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-student-columns{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 body[data-hesan-theme-id="4"] #app-view>.app-layout{display:block!important;padding:7px 10px 88px!important;max-width:100%!important}
 body[data-hesan-theme-id="4"] #app-view .topbar{min-height:64px!important;position:sticky!important;padding:8px 10px!important;gap:5px!important}
 body[data-hesan-theme-id="4"] #app-view .topbar .brand{font-size:15px!important}
 body[data-hesan-theme-id="4"] #app-view .topbar .brand-mark{width:38px!important;height:38px!important}
 body[data-hesan-theme-id="4"] #app-view .topbar .shamsi-clock{font-size:10px!important;padding:5px!important}
 body[data-hesan-theme-id="4"] #app-view .topbar #logout{min-height:35px!important;font-size:11px;padding:5px 8px}
 body[data-hesan-theme-id="4"] #app-view .side-nav{min-height:0!important;z-index:100!important;padding:16px 10px 180px!important;top:70px!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row{min-height:144px!important;padding:17px!important;border-radius:21px!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row:before{width:49%!important;background-position:10% center;background-size:cover!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row .welcome-copy{max-width:55%!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row h1{font-size:17px!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row .muted{font-size:11px!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick{min-height:90px;padding:7px 3px;border-radius:16px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon{height:47px;width:45px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick-icon svg{height:36px;width:36px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-quick strong{font-size:11px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel{padding:12px!important;border-radius:17px!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-panel-heading{font-size:17px!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-student-columns{display:flex!important;flex-direction:column!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-week{order:2}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-today{order:1}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session{flex-wrap:wrap;gap:8px!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy{flex:1 1 calc(100% - 75px)}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-time{order:3}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-enter{order:4;margin-inline-start:auto;min-height:37px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-days{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day{flex:1 0 69px;font-size:11px;min-height:44px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon svg{width:28px;height:28px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-chart{min-height:128px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-action-boxes{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-hesan-theme-id="4"] #app-view .h6-mobile-dock{position:fixed!important;right:0;left:0;bottom:0;z-index:95!important;min-height:66px;box-shadow:0 -4px 17px #073f4b24;background:#fafffef8!important}
 body[data-hesan-theme-id="4"] #app-view.classroom-session-active .h6-mobile-dock{display:none!important}
}
@media(max-width:390px){
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy strong{font-size:13px!important}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner img{height:58px}
 body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-join-banner-button{font-size:11px!important}
}
/* The teacher transitions to a compact adjacent PiP when the board becomes the main stage.
   The existing LiveKit streams stay in their original video elements. */
@media(min-width:1100px){
}
/* Custom vector subject pictograms; each scales sharply on iPhone/Android. */
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-art-vector{display:grid;place-items:center;width:100%;height:100%}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-art-vector svg{width:100%;height:100%;max-width:50px;max-height:50px;overflow:visible;filter:drop-shadow(0 3px 2px #073c6038)}
/* Detail-view breadcrumb keeps management forms coherent with the approved dashboard. */
body[data-hesan-theme-id="4"] #app-view .h6-context{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-1px 0 14px;padding:10px 15px;border-radius:14px;border:1px solid #d4e6e4;background:linear-gradient(110deg,#e4fff1,#fff);box-shadow:0 4px 13px #005d4311}
body[data-hesan-theme-id="4"] #app-view .h6-context[hidden]{display:none!important}
body[data-hesan-theme-id="4"] #app-view .h6-context-text{font-size:13px;color:#146955;font-weight:850}
body[data-hesan-theme-id="4"] #app-view .h6-context-back{min-height:42px;padding:6px 16px;font-weight:750;background:linear-gradient(#fff,#defbf0);border-radius:11px;border:1px solid #a7ddc8;color:#085742;cursor:pointer}
@media(max-width:760px){body[data-hesan-theme-id="4"] #app-view .h6-context{flex-wrap:wrap}body[data-hesan-theme-id="4"] #app-view .h6-context-back{min-height:44px}}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-notices{margin-top:16px;}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-notice-row{padding:11px 15px;margin:7px 0;border:1px solid #cde9dd;border-radius:12px;color:#145546;background:linear-gradient(110deg,#effbf5,#fff);font-size:13px}
/* Integration fixes only: preserve existing class layout and avoid boys artwork in girls schools. */
body[data-hesan-theme-id="4"][data-graphic-school="girls"] #app-view .welcome-row:before,
body[data-hesan-theme-id="4"][data-graphic-school="neutral"] #app-view .welcome-row:before{
 background-image:url('/assets/graphic/teacher-hero-2k.webp')!important;
 
}
body[data-hesan-theme-id="4"][data-hesan-role="student"] #app-view[data-workspace-target="metrics"] #student-panel{display:none!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root[hidden]{display:none!important}
body[data-hesan-theme-id="4"] #app-view #h6-mobile-dock[hidden]{display:none!important}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(button,a){min-height:44px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day-arrow{height:44px;width:44px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-day{min-height:44px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-session-copy{overflow-wrap:anywhere}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-chart{gap:5px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-col small{white-space:normal;text-align:center;overflow-wrap:anywhere}
body[data-hesan-theme-id="4"] #app-view[data-workspace-target="metrics"] .welcome-row .portal-season-label{display:none!important}
/* Long real school names must not stretch mobile statistic cards. */
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:800px){body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat strong{font-size:17px!important}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat{min-height:92px;align-content:center}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-caption{font-size:11px!important}}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-bar-col small{font-size:10px!important;line-height:1.6}
/* Shared staff card layout: names cannot collapse into vertical letters. */
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-grid{align-items:start}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat{grid-template-columns:50px minmax(0,1fr);grid-template-rows:auto auto;min-height:92px;align-content:center;column-gap:11px;row-gap:2px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon{width:48px;height:48px;align-self:center;border:1px solid #ffffffd9;box-shadow:inset 0 2px 2px #fff,0 3px 6px #15544c19}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon svg{width:30px;height:30px;stroke-width:2;filter:drop-shadow(0 2px 1px #fff)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-caption{min-width:0;font-size:12px!important;line-height:1.7;align-self:end;white-space:normal;word-break:normal;overflow-wrap:normal}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat .h6-stat-value{min-width:0;font-size:23px!important;line-height:1.5;align-self:start;word-break:normal}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat[data-stat-kind="school"]{grid-column:1/-1;order:-1;display:grid;grid-template-columns:42px auto minmax(0,1fr);grid-template-rows:auto;min-height:64px;padding:10px 14px;gap:12px;align-items:center}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat[data-stat-kind="school"] .h6-stat-icon{grid-row:1;width:40px;height:40px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat[data-stat-kind="school"] .h6-stat-caption{align-self:center;font-size:12px!important;white-space:nowrap}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat[data-stat-kind="school"] .h6-stat-value{align-self:center;font-size:15px!important;line-height:1.8;-webkit-line-clamp:2;word-break:normal;overflow-wrap:break-word}
body[data-hesan-theme-id="4"] #portal-home.h6-root:is([data-h6-role="grade_manager"],[data-h6-role="section_manager"],[data-h6-role="school_admin"],[data-h6-role="vice_principal"]) .h6-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-session{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:7px;min-width:0;min-height:94px;padding:10px}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-subject-icon{grid-column:1;grid-row:1/3;width:48px;height:48px;min-width:0}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-session-copy{grid-column:2/-1;grid-row:1;min-width:0;width:100%;word-break:normal;overflow-wrap:break-word}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-session-copy strong{font-size:15px!important;line-height:1.7}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-session-copy small{font-size:11px!important;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-time{grid-column:2;grid-row:2;min-width:0;max-width:100%;justify-self:start;white-space:nowrap;font-size:11px!important;padding:5px 7px}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-enter{grid-column:3;grid-row:2;min-width:0;min-height:38px;padding:6px 9px;font-size:11px!important;margin:0;justify-self:end}
/* A management column is narrower than a teacher's column: give its button a separate line. */
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns .h6-session{grid-template-columns:42px minmax(0,1fr)}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns .h6-subject-icon{width:42px;height:44px}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns .h6-time{grid-column:2;grid-row:2}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns .h6-enter{grid-column:2;grid-row:3;justify-self:start}
@media(min-width:761px){body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr)}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-teacher-columns{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:1240px) and (min-width:801px){body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns>.h6-panel:first-child{grid-column:1/-1}}
@media(max-width:800px){body[data-hesan-theme-id="4"] #portal-home.h6-root:is([data-h6-role="grade_manager"],[data-h6-role="section_manager"],[data-h6-role="school_admin"],[data-h6-role="vice_principal"]) .h6-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat{grid-template-columns:38px minmax(0,1fr);gap:5px;min-height:88px;padding:10px}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon{width:36px;height:39px}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat-icon svg{width:27px;height:27px}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat .h6-stat-value{font-size:20px!important}body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-stat[data-stat-kind="school"] .h6-stat-value{font-size:14px!important}}
body[data-hesan-theme-id="4"] #portal-home.h6-root .h6-admin-columns{align-items:start}
body[data-hesan-theme-id="4"] #portal-home.h6-root :is(.h6-teacher-columns,.h6-admin-columns) .h6-week-list{display:grid;gap:10px}
/* Permission state is distinct from whether a device is currently switched on. */
#live-class-panel .classroom-controls .room-control.permission-crossed .room-control-icon{position:relative}
#live-class-panel .classroom-controls .room-control.permission-crossed .room-control-icon::after,
#live-class-panel .grant-media.permission-crossed::after{content:"×";position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:18px;height:18px;border:2px solid white;border-radius:50%;background:#d72e41;color:white;font:700 16px/1 Tahoma,sans-serif;box-shadow:0 1px 4px #5c122229;pointer-events:none}
#live-class-panel .grant-media.permission-crossed{position:relative}
/* Fullscreen must hide the roster even when normal classroom layout forces it to grid. */
#app-view #live-class-panel:fullscreen #classroom-sidebar,
#app-view #live-class-panel:-webkit-full-screen #classroom-sidebar,
#app-view #live-class-panel.classroom-fallback-fullscreen #classroom-sidebar{display:none!important;visibility:hidden!important;pointer-events:none!important}
/* Clean permission slash: works even when roster cards move into the main sidebar. */
#app-view [data-grant-mic].permission-crossed,
#app-view [data-grant-camera].permission-crossed,
#app-view [data-grant-present].permission-crossed{position:relative!important;overflow:visible!important}
#app-view [data-grant-mic].permission-crossed::after,
#app-view [data-grant-camera].permission-crossed::after,
#app-view [data-grant-present].permission-crossed::after,
#app-view #live-class-panel .classroom-controls .room-control.permission-crossed .room-control-icon::after{
 content:""!important;position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;width:27px!important;height:3px!important;border:0!important;border-radius:2px!important;background:#d32f44!important;color:transparent!important;transform:translate(-50%,-50%) rotate(-45deg)!important;box-shadow:0 0 0 1px #fff9!important;pointer-events:none!important;z-index:5!important;
}
body[data-hesan-theme-id="4"] #app-view #classroom-video-grid>.classroom-video-tile{min-height:0!important;overflow:hidden}
body[data-hesan-theme-id="4"] #app-view #classroom-video-grid .classroom-video-label{direction:rtl;max-width:calc(100% - 12px);overflow:hidden}
body[data-hesan-theme-id="4"] #app-view #classroom-video-grid .classroom-tile-video{object-fit:contain!important}
/* Registered schedules: artwork and text occupy separate columns. */
body[data-hesan-theme-id="4"] #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 #cce8de;border-radius:20px;background:linear-gradient(130deg,#fff,#f4fcf8);min-width:0}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:20px;align-items:center;min-width:0;position:relative}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art{display:block!important;position:static!important;width:150px!important;height:150px!important;min-width:0;overflow:hidden;border:1px solid #dcece5;border-radius:16px;background:#fff}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art img{position:static!important;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{position:static!important;min-width:0;padding:0!important;overflow-wrap:break-word}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info strong{display:block;font-size:16px!important;line-height:1.8}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info small{display:block;font-size:12px!important;line-height:1.9;margin:6px 0}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-card-actions{display:flex!important;position:static!important;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #dcece5;min-width:0}
body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-card-actions>button{min-height:40px;padding:7px 12px;font-size:12px!important;line-height:1.6;border-radius:11px}
@media(max-width:600px){body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info{grid-template-columns:82px minmax(0,1fr)!important;gap:12px}body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .schedule-lesson-art{width:82px!important;height:82px!important}body[data-hesan-theme-id="4"] #app-view #classroom-schedule-list .classroom-schedule-info strong{font-size:13px!important}}
/* Keep the mobile drawer above its dimming backdrop. */
@media(max-width:760px){body[data-hesan-theme-id="4"] #app-view .mobile-nav-backdrop:not([hidden]){z-index:210!important}body[data-hesan-theme-id="4"] #app-view.mobile-nav-open>.app-layout>.side-nav{z-index:220!important;opacity:1!important;filter:none!important;pointer-events:auto!important}}
/* Student photo requests and scoped approval notifications. */
.profile-notifications{position:relative;flex:0 0 36px;min-width:0}
.profile-notifications[hidden]{display:none!important}
.profile-bell{position:relative;display:grid;place-items:center;width:36px;height:38px;border:1px solid #d4e8df;border-radius:12px;background:#fff;color:#076351;cursor:pointer}
.profile-bell>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-notification-count{position:absolute;top:-6px;right:-5px;min-width:19px;height:19px;padding:1px 4px;border-radius:12px;background:#dc3246;color:#fff;font:700 10px/17px Tahoma,sans-serif;direction:ltr;border:1px solid white}
.profile-notification-count[hidden],.profile-notification-menu[hidden]{display:none!important}
.profile-notification-menu{position:absolute;top:48px;left:0;z-index:500;width:min(355px,calc(100vw - 24px));max-height:70vh;overflow:auto;padding:14px;background:#fff;color:#163d35;border:1px solid #cce4da;border-radius:16px;box-shadow:0 8px 26px #143b3d35;direction:rtl;text-align:right}
.profile-notification-menu h3{font-size:16px;margin:0 0 12px}
.profile-notification-item{display:grid;gap:8px;padding:12px;margin:8px 0;border:1px solid #d9e9e1;border-radius:12px;background:#f6fbf8}
.profile-notification-item>strong{font-size:13px!important;line-height:1.8}
.profile-notification-item>small{font-size:11px!important;color:#56766b}
.profile-notification-item>img{width:86px;height:86px;object-fit:contain;border-radius:12px;background:white}
.profile-review-actions{display:flex;gap:8px;flex-wrap:wrap}
.profile-review-actions button{min-height:42px;font-size:12px!important;padding:7px 10px}
.student-photo-request-form{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;max-width:650px;padding:20px;background:#f5fbf8;border:1px solid #d5e8df;border-radius:18px;margin-top:20px}
.student-photo-request-preview{width:110px;height:110px;object-fit:contain;border-radius:16px;background:white}
.student-photo-request-form label{display:grid;gap:10px;font-size:12px;line-height:1.9;min-width:0}
.student-photo-request-form input{width:100%;min-width:0;font:inherit}
.student-photo-request-form>button,.student-photo-request-form>p{grid-column:1/-1;margin:0;line-height:1.8}
#student-profile-review-panel[hidden],#student-profile-review-nav[hidden]{display:none!important}
@media(max-width:760px){.profile-notification-menu{position:fixed;top:90px;left:12px;width:calc(100vw - 24px)}#app-view .topbar .account{min-width:0;gap:5px}#app-view .topbar .user-chip{min-width:0;padding:4px}.student-photo-request-form{grid-template-columns:1fr}.student-photo-request-preview{justify-self:center}}

/* Presentation controls remain reachable; spectators follow the presenter's viewport. */
#live-class-panel #file-presentation-screen.presentation-readonly #presented-office,
#live-class-panel #file-presentation-screen.presentation-readonly #presented-text{overflow:hidden!important;touch-action:none}
#live-class-panel #file-presentation-screen.presentation-readonly #presented-pdf{pointer-events:none!important}
#live-class-panel .file-presentation-canvas:has(>#presented-video:not([hidden])) #file-annotation-canvas{pointer-events:none!important}
#live-class-panel .file-presentation-canvas:has(>#presented-video:not([hidden])){padding:0!important;overflow:hidden!important}
#live-class-panel #presented-video:not([hidden]){width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain}
#live-class-panel #fullscreen-file-presentation{position:absolute!important;bottom:12px!important;top:auto!important;left:12px!important;right:auto!important;z-index:12}
.classroom-poll-result{flex-wrap:wrap}.classroom-poll-result [data-poll-voters]{flex-basis:100%;line-height:1.8;white-space:normal}

#app-view .room-control-icon{position:relative!important}

#live-class-panel .lesson-stage>.file-presentation-screen .file-presentation-canvas>pre{box-sizing:border-box!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:auto!important}


#classroom-subject-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;min-width:0}
#classroom-subject-options .subject-launch-tile{display:grid!important;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:6px 12px;width:100%;min-width:0;max-width:100%;height:auto;min-height:104px;padding:12px;box-sizing:border-box;overflow:hidden;text-align:right}
#classroom-subject-options .lesson-launch-art,#classroom-subject-options .subject-picture{grid-row:1 / 3;grid-column:1;display:flex;align-items:center;justify-content:center;width:72px!important;height:80px!important;max-width:72px;min-width:0;overflow:hidden}
#classroom-subject-options .lesson-launch-art img,#classroom-subject-options .subject-picture img{display:block;width:100%!important;height:100%!important;max-width:72px!important;max-height:80px!important;object-fit:contain}
#classroom-subject-options .subject-launch-tile>strong,#classroom-subject-options .teacher-full-name{grid-column:2;min-width:0;white-space:normal;overflow-wrap:anywhere;margin:0;position:static}
#classroom-subject-options .subject-picture .lesson-launch-art{width:72px;height:80px}
#classroom-subject-options .subject-picture>strong{display:none}
#classroom-subject-options .subject-launch-tile.selected{outline:2px solid #138a68;outline-offset:-2px}
@media(max-width:760px){#classroom-subject-options{grid-template-columns:1fr}#classroom-launcher{min-width:0;max-width:100%;box-sizing:border-box}#classroom-class-step{min-width:0;max-width:100%}}

/* Compact live classroom header and remove the camera identity overlay. */
#live-class-panel .stage-lower-third{display:none!important}
@media(max-width:760px){
#app-view #classroom-room-content .live-room-header{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:8px 10px!important;margin:0 0 8px!important;min-height:0!important;height:auto!important;border-radius:12px!important;background-image:none!important}
#classroom-room-content .live-room-header:before,#classroom-room-content .live-room-header:after{display:none!important}
#classroom-room-content .live-room-title{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;padding:0!important;margin:0!important}
#classroom-room-content .live-indicator{font-size:10px!important;padding:3px 6px!important;margin:0!important;flex-shrink:0}
#classroom-room-content #classroom-title{font-size:14px!important;line-height:1.5!important;margin:0!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#classroom-room-content #classroom-subtitle,#classroom-room-content .room-duration{display:none!important}
#classroom-room-content .live-room-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;margin:0!important;padding:0!important;min-height:0!important}
#classroom-room-content .live-room-meta>span,#classroom-room-content .live-room-meta>button{font-size:10px!important;line-height:1.5!important;padding:4px 7px!important;min-height:26px!important;height:auto!important;margin:0!important;border-radius:8px!important}
}

/* Keep teacher identity visible as a compact camera caption. */
#live-class-panel .stage-lower-third{display:flex!important;align-items:center!important;gap:5px!important;padding:4px 6px!important;max-width:min(65%,200px)!important;min-height:0!important;border-radius:8px!important;bottom:6px!important;right:6px!important}
#live-class-panel .stage-lower-third .stage-speaker-avatar{width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important}
#live-class-panel .stage-speaker-avatar img{width:100%!important;height:100%!important;object-fit:cover}
#live-class-panel .stage-lower-third>span:last-child{min-width:0!important}
#live-class-panel #stage-speaker-name{display:block!important;font-size:10px!important;line-height:1.4!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#live-class-panel #stage-speaker-detail{display:block!important;font-size:9px!important;line-height:1.4!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

#live-class-panel #presented-office.hassan-pdf-pages{display:block;box-sizing:border-box;width:100%;height:100%;max-height:100%;overflow:auto!important;padding:8px;direction:ltr;touch-action:pan-y}
#live-class-panel #presented-office.hassan-pdf-pages[hidden]{display:none!important}
#live-class-panel .hassan-pdf-pages canvas{display:block;width:100%;height:auto;margin:0 auto 8px;background:white;box-shadow:0 1px 4px #0003}

#hassan-pdf-zoom-tools{position:absolute;top:10px;left:10px;z-index:15;display:flex;direction:ltr;gap:3px;padding:4px;background:#fffef2;border:1px solid #b9dacc;border-radius:10px;box-shadow:0 2px 8px #0002}
#hassan-pdf-zoom-tools[hidden]{display:none!important}
#hassan-pdf-zoom-tools button{min-width:34px;min-height:34px;border:0;border-radius:7px;color:#086747;background:#e7f5ee;font-size:17px;touch-action:manipulation}
#hassan-pdf-zoom-value{font-size:12px!important}

#app-view #room-participants .grant-media{position:relative!important}
#app-view #room-participants .grant-media::after{display:none!important}
#app-view #room-participants .hassan-permission-slash{display:none!important;position:absolute!important;pointer-events:none!important;width:28px!important;height:3px!important;top:50%!important;left:50%!important;background:#df263c!important;border-radius:2px!important;transform:translate(-50%,-50%) rotate(-45deg)!important;box-shadow:0 0 0 1px #fff9!important;z-index:10!important;opacity:1!important;visibility:visible!important}
#app-view #room-participants .permission-crossed>.hassan-permission-slash{display:block!important}

/* Remove legacy floating slash pseudo-elements; marks stay within their icons. */
body #app-view #live-class-panel [data-grant-mic]::after,body #app-view #live-class-panel [data-grant-camera]::after,body #app-view #live-class-panel [data-grant-present]::after,body #app-view #live-class-panel .classroom-controls .room-control .room-control-icon::after{content:none!important;display:none!important}
body #app-view #live-class-panel .classroom-controls .room-control.permission-crossed .room-control-icon svg{background-image:linear-gradient(135deg,transparent calc(50% - 1.5px),#d32f44 calc(50% - 1.5px),#d32f44 calc(50% + 1.5px),transparent calc(50% + 1.5px))!important}

@media(max-width:760px){
body #app-view .welcome-heading-line{display:flex!important;flex-direction:row!important;direction:rtl;align-items:center!important;justify-content:flex-start!important;gap:6px!important}
body #app-view .welcome-heading-line #mobile-nav-toggle{order:-1!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;flex:0 0 24px!important;padding:4px!important;margin:0!important;border-radius:7px!important;box-sizing:border-box!important}
body #app-view #mobile-nav-toggle svg{width:14px!important;height:14px!important;min-width:0!important}
body #app-view .welcome-heading-line .eyebrow{margin:0!important}
}

.hy-school-panel{padding:16px!important;min-width:0}.hy-school-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.hy-school-tabs [aria-pressed=true]{background:#087b5d;color:white}.hy-timetable-day h3{font-size:15px;margin:12px 0 6px}.hy-timetable-slot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #dcebe4}.hy-timetable-slot strong{color:#087b5d}.hy-timetable-slot small{color:#66776f}.hy-timetable-editor-row{display:grid;grid-template-columns:60px 1fr 1fr 100px 100px;gap:7px;align-items:center;padding:9px 0;border-bottom:1px solid #dcebe4}.hy-timetable-editor-row input{min-width:0;width:100%;box-sizing:border-box}.hy-virtual-row{padding:14px;margin:10px 0;border:1px solid #cee4d8;border-radius:14px;background:white}.hy-virtual-row button{display:block;margin-top:10px}
@media(max-width:760px){.hy-timetable-editor-row{grid-template-columns:50px 1fr 1fr}.hy-timetable-editor-row input[type=time]{grid-row:2}.h6-student-columns{display:flex!important;flex-direction:column!important}.h6-student-columns>.h6-week{order:0}.h6-student-columns>.h6-today{order:1}}

/* High-DPI hero images only on desktop; mobile always gets the lighter 2K asset. */
@media(min-width:761px){
 body[data-hesan-theme-id="4"] #app-view .welcome-row:before{background-image:image-set(url('/assets/graphic/campus-hero-2k.webp') 1x,url('/assets/graphic/campus-hero-4k.webp') 2x)!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="student"]:before{background-image:image-set(url('/assets/graphic/student-hero-2k.webp') 1x,url('/assets/graphic/student-hero-4k.webp') 2x)!important}
 body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="teacher"]:before,
 body[data-hesan-theme-id="4"] #app-view .welcome-row[data-h6-role="vice_principal"]:before,
 body[data-hesan-theme-id="4"][data-graphic-school="girls"] #app-view .welcome-row:before,
 body[data-hesan-theme-id="4"][data-graphic-school="neutral"] #app-view .welcome-row:before{background-image:image-set(url('/assets/graphic/teacher-hero-2k.webp') 1x,url('/assets/graphic/teacher-hero-4k.webp') 2x)!important}
}