:root{
  --bg:#05101d;
  --bg-soft:#0d1d34;
  --panel:#0d1a2d;
  --card:#ffffff;
  --card-soft:#f5f8fc;
  --text:#0f172a;
  --muted:#64748b;
  --line:#dde6f0;
  --line-strong:#c8d4e3;
  --primary:#2563eb;
  --primary-strong:#173ea8;
  --gold:#cfa249;
  --success:#047857;
  --danger:#b91c1c;
  --shadow:0 20px 40px rgba(15,23,42,.12);
  --hero-shadow:0 22px 46px rgba(0,0,0,.26);
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --page-max:460px;
  --nav-h:84px;
  --google-text:#111827;
}
html[data-theme="dark"]{
  --card:rgba(9,18,31,.96);
  --card-soft:rgba(255,255,255,.04);
  --text:#f8fbff;
  --muted:#9eb0c8;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --shadow:0 20px 44px rgba(0,0,0,.36);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{margin:0;padding:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:radial-gradient(circle at top,#12274a 0%,var(--bg) 44%,#02070f 100%);color:var(--text);-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;text-rendering:optimizeLegibility}
html[data-theme="light"] body{background:linear-gradient(180deg,#eef4fb 0%,#e7eef8 100%)}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
[hidden]{display:none !important}
.page{min-height:100svh;padding:calc(env(safe-area-inset-top,0px) + 10px) 12px calc(env(safe-area-inset-bottom,0px) + 12px);display:flex;justify-content:center}
.phone-shell{width:100%;max-width:var(--page-max);display:flex;flex-direction:column;gap:14px;min-height:calc(100svh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 22px)}
.app-shell{padding-bottom:calc(var(--nav-h) + 4px)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 0}
.topbar-user{display:flex;align-items:center;gap:12px;min-width:0}
.topbar-avatar{width:44px;height:44px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);box-shadow:var(--hero-shadow);flex:none}
.topbar-avatar img{width:100%;height:100%;object-fit:cover}
.logo-avatar{padding:5px;background:rgba(255,255,255,.94)}
.topbar-copy{min-width:0}
.topbar-name{font-size:1rem;font-weight:900;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.topbar-sub{margin-top:2px;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
html[data-theme="light"] .topbar-name{color:#0f172a}
html[data-theme="light"] .topbar-sub{color:#64748b}
.topbar-actions{display:flex;align-items:center;gap:8px}
.icon-btn{min-width:44px;height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));color:#fff;display:grid;place-items:center;box-shadow:var(--hero-shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease}
.icon-btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.2)}
.icon-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(96,165,250,.22),var(--hero-shadow)}
html[data-theme="light"] .icon-btn{background:linear-gradient(180deg,#fff,#f8fbff);color:#0f172a;border-color:#dbe4f0;box-shadow:var(--shadow)}
html[data-theme="light"] .icon-btn:hover{border-color:#bfd0e5;background:linear-gradient(180deg,#ffffff,#f2f7ff)}
.icon-btn svg{width:20px;height:20px}
.icon-btn[data-variant="logout"]{border-radius:16px;border-color:rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.08))}
html[data-theme="light"] .icon-btn[data-variant="logout"]{border-color:#cfdceb;background:linear-gradient(180deg,#ffffff,#f5f8fd)}
.hero-panel{padding:18px;border-radius:var(--radius-xl);background:linear-gradient(135deg,#0f172a 0%,#14284b 54%,#0b1220 100%);color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:var(--hero-shadow);display:flex;align-items:center;gap:16px}
.compact-hero{padding:16px}
.hero-mark{width:96px;height:96px;border-radius:26px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);flex:none;padding:10px}
.small-mark{width:72px;height:72px;border-radius:22px;padding:8px}

.hero-mark-wide{width:124px;height:74px;padding:10px 12px}
.hero-mark-wide img{object-fit:contain}
.small-mark.hero-mark-wide{width:118px;height:62px;border-radius:18px;padding:8px 10px}
.landing-hero-panel{gap:14px}
.landing-brand-mark{width:132px;height:68px;border-radius:20px;padding:8px 10px;background:rgba(255,255,255,.1)}
.landing-brand-mark img{filter:drop-shadow(0 2px 8px rgba(0,0,0,.14))}
.logo-avatar img{object-fit:contain}
.hero-mark img{width:100%;height:100%;object-fit:contain}
.hero-copy{min-width:0;flex:1}
.align-left{text-align:left}
.hero-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-title{margin:12px 0 0;font-size:1.52rem;font-weight:900;letter-spacing:-.03em}
.small-title{font-size:1.12rem;margin-top:10px}
.content-card{padding:16px;border-radius:24px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.center-card{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;min-height:180px}
.stack-section{display:flex;flex-direction:column;gap:14px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.section-title{margin:0;font-size:1rem;font-weight:900;color:var(--text)}
.form-stack{display:grid;grid-template-columns:1fr;gap:12px}
.label{display:block;margin:0 0 6px;font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
input{width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--line-strong);background:var(--card-soft);color:var(--text);outline:none;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease}
input::placeholder{color:var(--muted)}
input:focus{border-color:rgba(37,99,235,.48);box-shadow:0 0 0 4px rgba(37,99,235,.12);background:#fff}
html[data-theme="dark"] input:focus{background:rgba(255,255,255,.06)}
.field-wrap{position:relative}
.suggest-box{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;background:var(--card);border:1px solid var(--line-strong);border-radius:16px;overflow:hidden;box-shadow:0 18px 34px rgba(15,23,42,.18)}
.suggest-item{width:100%;padding:12px 14px;border:none;background:transparent;color:var(--text);text-align:left;font-weight:700}
.suggest-item:hover,.suggest-item.is-active{background:var(--card-soft)}
.note-box,.status-box{padding:12px 14px;border-radius:16px;border:1px solid var(--line-strong);background:var(--card-soft);font-size:.88rem;font-weight:800;color:var(--text)}
.note-box{margin:14px 0}
.status-box{line-height:1.45}
.status-box[data-state="error"]{background:linear-gradient(135deg,#be123c,#991b1b);border-color:transparent;color:#fff}
.status-box[data-state="success"]{background:linear-gradient(135deg,#0f766e,#047857);border-color:transparent;color:#fff}
.mini-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:999px;background:var(--card-soft);border:1px solid var(--line);font-size:.76rem;font-weight:900;color:var(--text);white-space:nowrap}
.mini-pill[data-state="success"]{background:rgba(4,120,87,.12);border-color:rgba(4,120,87,.24);color:var(--success)}
.mini-pill[data-state="pending"]{background:rgba(207,162,73,.12);border-color:rgba(207,162,73,.32);color:#8a5e12}
.mini-pill[data-state="error"]{background:rgba(185,28,28,.12);border-color:rgba(185,28,28,.24);color:var(--danger)}
.btn{min-height:48px;padding:0 16px;border-radius:16px;border:1px solid transparent;background:var(--card-soft);color:var(--text);font-weight:900}
.btn-primary{background:linear-gradient(135deg,var(--primary),#5c8cff);color:#fff;box-shadow:0 14px 28px rgba(37,99,235,.22)}
.btn-secondary{background:var(--card);border-color:var(--line-strong)}
.full-width{width:100%}
.formal-google{min-height:54px;padding:0 18px;border-radius:18px;border:1px solid rgba(0,0,0,.08);background:#fff;color:var(--google-text);display:flex;align-items:center;justify-content:center;gap:14px;font-weight:900;box-shadow:0 14px 28px rgba(15,23,42,.12)}
.google-icon{width:22px;height:22px;flex:none}
.loading-inline{display:inline-flex;align-items:center;gap:10px;font-weight:800}
.loading-inline .dot{width:10px;height:10px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 8px rgba(207,162,73,.16);animation:pulse 1.1s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(.82);opacity:.6}50%{transform:scale(1);opacity:1}}
.summary-row{display:flex;align-items:center;gap:14px}
.summary-avatar-wrap{flex:none}
.summary-avatar{width:82px;height:82px;border-radius:24px;object-fit:cover;border:1px solid var(--line-strong);background:var(--card-soft)}
.summary-copy{min-width:0;flex:1}
.summary-name{font-size:1.08rem;font-weight:900;color:var(--text);line-height:1.28}
.summary-meta-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.profile-card{display:flex;flex-direction:column;gap:14px}
.profile-center{display:flex;flex-direction:column;align-items:center;gap:12px}
.profile-preview{width:124px;height:124px;border-radius:30px;object-fit:cover;border:1px solid var(--line-strong);background:var(--card-soft)}
.profile-name{text-align:center}
.profile-photo-card{gap:16px}
.profile-photo-card .profile-center{padding:4px 0 2px}
.profile-pill-row{justify-content:center;margin-top:0}
.profile-photo-card .button-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-photo-card .btn{white-space:normal;line-height:1.18}
.profile-photo-card .profile-debug-panel{border:1px solid var(--line);background:var(--card-soft)}
html[data-theme="dark"] .profile-photo-card .profile-debug-panel{background:rgba(255,255,255,.03)}
.profile-upload-popup{position:fixed;inset:0;z-index:95;display:grid;place-items:center;padding:18px}
.profile-upload-popup[hidden]{display:none!important}
.profile-upload-popup__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.62);backdrop-filter:blur(8px)}
.profile-upload-popup__card{position:relative;width:min(100%,420px);padding:18px;border-radius:24px;background:var(--card);border:1px solid var(--line-strong);box-shadow:0 24px 56px rgba(2,6,23,.32);display:grid;gap:14px}
.profile-upload-popup__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.profile-upload-popup__kicker{font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.profile-upload-popup h2{margin:4px 0 0;font-size:1.06rem;line-height:1.25;font-weight:900;color:var(--text)}
.profile-upload-popup__close{min-width:38px;height:38px;border-radius:12px;box-shadow:none}
.profile-upload-popup__progress{height:12px;border-radius:999px;overflow:hidden;background:var(--card-soft);border:1px solid var(--line)}
.profile-upload-popup__bar{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e);transition:width .18s ease}
.profile-upload-popup__percent{font-size:2.1rem;line-height:1;font-weight:1000;color:var(--text);letter-spacing:0}
.profile-upload-popup p{margin:0;font-size:.92rem;font-weight:900;line-height:1.4;color:var(--text)}
.profile-upload-popup small{font-size:.78rem;font-weight:800;line-height:1.45;color:var(--muted);word-break:break-word}
.profile-upload-popup[data-state="success"] .profile-upload-popup__bar{background:linear-gradient(90deg,#047857,#22c55e)}
.profile-upload-popup[data-state="error"] .profile-upload-popup__bar{background:linear-gradient(90deg,#be123c,#ef4444)}
.button-grid{display:grid;gap:10px}
.button-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.bottom-nav{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 10px);transform:translateX(-50%);width:min(calc(100vw - 24px), var(--page-max));padding:10px 12px;border-radius:24px;background:rgba(8,17,30,.92);border:1px solid rgba(255,255,255,.08);display:grid;grid-template-columns:repeat(3,1fr);gap:8px;box-shadow:0 22px 40px rgba(0,0,0,.28);backdrop-filter:blur(18px);z-index:30}
.bottom-nav-two{grid-template-columns:repeat(2,1fr)}
.bottom-nav-three{grid-template-columns:repeat(3,1fr)}
.nav-item-button{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:inherit;text-align:center;cursor:pointer;padding:0}
.nav-item{text-decoration:none}
.bottom-nav-four{grid-template-columns:repeat(4,1fr)}
html[data-theme="light"] .bottom-nav{background:rgba(255,255,255,.96);border-color:#dbe4f0;box-shadow:var(--shadow)}
.nav-item{min-height:56px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:rgba(255,255,255,.74);font-weight:800;letter-spacing:.02em}
html[data-theme="light"] .nav-item{color:#64748b}
.nav-item.is-active{background:rgba(255,255,255,.10);color:#fff}
html[data-theme="light"] .nav-item.is-active{background:#eef4fb;color:#0f172a}
.nav-icon{font-size:1rem;line-height:1}
.nav-label{font-size:.76rem}


/* v19.236 - Home footer size sync
   Footer/bottom navigation must follow the same desktop width as the header shell.
   Mobile remains locked: full phone width minus page padding. */
@media (min-width:700px){
  .bottom-nav{
    width:min(calc(100vw - 40px),520px);
  }
}
@media (min-width:700px){
  .page{padding:20px}
  .phone-shell{max-width:520px}
}

.menu-home-card{display:flex;flex-direction:column;gap:16px}
.compact-head{margin-bottom:0}
.submenu-groups{display:flex;flex-direction:column;gap:18px}
.submenu-group{display:flex;flex-direction:column;gap:10px}
.submenu-group{content-visibility:auto;contain-intrinsic-size:280px}
.submenu-group-title{font-size:.74rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.submenu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.submenu-tile{min-height:92px;padding:12px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);color:var(--text);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .submenu-tile{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.submenu-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(37,99,235,.08);color:var(--primary);border:1px solid rgba(37,99,235,.14)}
html[data-theme="dark"] .submenu-icon{background:rgba(255,255,255,.06);color:#dbeafe;border-color:rgba(255,255,255,.10)}
.submenu-icon svg{width:22px;height:22px}
.submenu-label{font-size:.88rem;font-weight:900;line-height:1.28;text-align:left}
@media (min-width:420px){
  .submenu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 460px){
  .home-dashboard-head{grid-template-columns:minmax(0,1fr)}
  .home-role-row{justify-content:flex-end}
}


.minimal-shell{gap:12px}
.landing-card-tight{min-height:0;padding-top:18px;padding-bottom:18px}
.landing-logo-row{display:flex;align-items:center;justify-content:center;width:100%}
.landing-inline-logo{width:min(190px,66vw);height:auto;object-fit:contain;filter:drop-shadow(0 4px 12px rgba(0,0,0,.16))}
.form-card-tight{padding-top:14px}
.menu-home-card-tight{padding-top:14px}
.minimal-shell .content-card{border-radius:22px}
.minimal-shell .topbar{padding-top:0}

.menu-role-row{display:flex;justify-content:flex-end;margin-bottom:10px}
.home-dashboard-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;margin-bottom:14px}
.home-role-row{margin-bottom:0;align-self:start;padding-top:10px}
.home-role-row .mini-pill{min-height:38px;padding:0 18px;border-radius:999px;background:rgba(9,18,31,.82);border-color:rgba(255,255,255,.12);color:#fff;box-shadow:0 12px 24px rgba(2,6,23,.18);font-size:.96rem;font-weight:900}
html[data-theme="light"] .home-role-row .mini-pill{background:#fff;border-color:#dbe4f0;color:#0f172a;box-shadow:0 12px 22px rgba(15,23,42,.08)}
.home-live-panel{padding:0;border-radius:0;background:transparent;border:none;box-shadow:none;display:grid;gap:6px;min-width:0}
html[data-theme="light"] .home-live-panel{background:transparent;border:none;box-shadow:none}
.home-live-date{font-size:.88rem;font-weight:900;line-height:1.15;color:#fff;opacity:.96;letter-spacing:.01em}
html[data-theme="light"] .home-live-date{color:#0f172a}
.home-live-time{font-size:2.35rem;line-height:.96;font-weight:900;letter-spacing:.08em;color:#fff}
.home-live-time.is-preview-note{font-size:.98rem;line-height:1.32;font-weight:700;letter-spacing:.01em;max-width:16rem;white-space:normal;color:#cbd5e1}
html[data-theme="light"] .home-live-time{color:#0f172a}
html[data-theme="light"] .home-live-time.is-preview-note{color:#334155}
.home-live-divider{height:8px;width:62%;border-radius:999px;background:linear-gradient(90deg,#0f766e 0%,#0ea5e9 100%);box-shadow:inset 0 0 0 2px rgba(2,6,23,.35)}
html[data-theme="light"] .home-live-divider{box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)}
.home-live-mini-row{display:flex;align-items:stretch;gap:8px;margin-top:3px;min-width:0}
.home-live-mini-grid{display:grid;grid-template-columns:max-content max-content;gap:8px;flex:none;margin-top:0}
.home-live-mini{padding:9px 12px 8px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));border:1px solid rgba(148,163,184,.10);display:grid;gap:5px;min-width:0;min-height:62px;align-content:start}
.home-live-mini--day{width:124px}
.home-live-mini--week{width:92px}
.home-apk-cta{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:18px;text-decoration:none;overflow:hidden;background:linear-gradient(135deg,rgba(17,24,39,.98) 0%,rgba(18,44,96,.96) 42%,rgba(2,14,38,.98) 100%);border:1px solid rgba(56,189,248,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 10px 24px rgba(2,6,23,.22)}
.home-apk-cta::before{content:"";position:absolute;inset:2px;border-radius:16px;border:1px solid rgba(255,255,255,.10);pointer-events:none}
.home-apk-cta::after{content:"";position:absolute;left:10px;right:10px;top:3px;height:16px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,0));opacity:.62;pointer-events:none}
.home-apk-cta:active{transform:translateY(1px)}
.home-apk-cta__play{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.home-apk-cta__play svg{width:30px;height:30px;display:block;filter:drop-shadow(0 3px 6px rgba(0,0,0,.22))}
.home-apk-cta__copy{display:grid;gap:0;min-width:0;line-height:1}
.home-apk-cta__label{font-size:.56rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.92)}
.home-apk-cta__title{font-size:1.5rem;font-weight:1000;letter-spacing:.02em;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.22)}
.home-apk-cta__divider{width:1px;align-self:stretch;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.34),rgba(255,255,255,0));opacity:.85}
.home-apk-cta__brand{min-width:0;display:flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.10)}
.home-apk-cta__brand img{display:block;height:24px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.18))}
html[data-theme="light"] .home-apk-cta{background:linear-gradient(135deg,#fdfefe 0%,#eff6ff 48%,#ffffff 100%);border-color:rgba(37,99,235,.30);box-shadow:inset 0 0 0 1px rgba(59,130,246,.18),0 12px 22px rgba(15,23,42,.10)}
html[data-theme="light"] .home-apk-cta::before{border-color:rgba(59,130,246,.18)}
html[data-theme="light"] .home-apk-cta__play{background:linear-gradient(180deg,#ffffff,#eef5ff);border-color:rgba(15,23,42,.08)}
html[data-theme="light"] .home-apk-cta__label{color:#1d4ed8}
html[data-theme="light"] .home-apk-cta__title{color:#0f3ea8;text-shadow:none}
html[data-theme="light"] .home-apk-cta__divider{background:linear-gradient(180deg,rgba(15,23,42,0),rgba(37,99,235,.22),rgba(15,23,42,0))}
html[data-theme="light"] .home-apk-cta__brand{background:linear-gradient(180deg,#ffffff,#eef5ff);border-color:rgba(15,23,42,.08)}
html[data-theme="light"] .home-live-mini{background:rgba(248,250,252,.96);border-color:rgba(15,23,42,.08)}
.home-live-mini-label{font-size:.58rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.7)}
html[data-theme="light"] .home-live-mini-label{color:#64748b}
.home-live-mini-value{font-size:1.42rem;font-weight:900;line-height:1;color:#fff;letter-spacing:.02em}
html[data-theme="light"] .home-live-mini-value{color:#0f172a}
@media (max-width: 400px){.home-live-time{font-size:2.08rem}.home-role-row{padding-top:8px}.home-role-row .mini-pill{min-height:34px;padding:0 14px;font-size:.86rem}.home-live-mini--day{width:114px}.home-live-mini--week{width:84px}.home-apk-cta{padding:7px 8px;gap:7px;border-radius:16px}.home-apk-cta__play{width:40px;height:40px;border-radius:12px}.home-apk-cta__play svg{width:27px;height:27px}.home-apk-cta__label{font-size:.51rem}.home-apk-cta__title{font-size:1.28rem}.home-apk-cta__brand{padding:4px 6px}.home-apk-cta__brand img{height:20px}}
.submenu-tile{text-decoration:none}
.blank-shell{gap:12px}
.blank-shell .content-card{min-height:calc(100vh - 220px);background:transparent;border:none;box-shadow:none;padding:0}
.blank-space{min-height:calc(100vh - 240px)}
.page-shell-title{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
html[data-theme="light"] .page-shell-title{color:#64748b}


.admin-page-card{display:flex;flex-direction:column;gap:14px;padding-top:14px}
.admin-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.admin-page-title-wrap{display:flex;flex-direction:column;gap:6px;min-width:0}
.admin-page-title{margin:0;font-size:1.12rem;font-weight:900;color:var(--text);letter-spacing:-.02em}
.admin-page-meta{display:flex;gap:8px;flex-wrap:wrap}
.admin-search-row{display:flex;gap:10px;align-items:center}
.admin-search-row input{flex:1}
.admin-menu-list{display:flex;flex-direction:column;gap:10px}
.admin-menu-link{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06);color:var(--text);text-decoration:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
html[data-theme="dark"] .admin-menu-link{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.admin-menu-link:active{transform:scale(.992)}
.admin-menu-link:hover{border-color:rgba(37,99,235,.28)}
.admin-menu-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgba(37,99,235,.08);color:var(--primary);border:1px solid rgba(37,99,235,.14);flex:none}
html[data-theme="dark"] .admin-menu-icon{background:rgba(255,255,255,.06);color:#dbeafe;border-color:rgba(255,255,255,.10)}
.admin-menu-icon svg{width:22px;height:22px}
.admin-menu-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.admin-menu-title{font-size:.92rem;font-weight:900;color:var(--text);line-height:1.25}
.admin-menu-note{font-size:.76rem;font-weight:700;color:var(--muted);line-height:1.35}
.admin-menu-tail{display:flex;align-items:center;gap:8px;flex:none}
.admin-menu-arrow{font-size:1.05rem;line-height:1;color:var(--muted)}
.admin-empty{padding:18px;border-radius:18px;border:1px dashed var(--line-strong);background:var(--card-soft);text-align:center;font-size:.86rem;font-weight:800;color:var(--muted)}

.pengguna-page-card{gap:12px}
.admin-refresh-btn{min-width:92px}
.filter-chip-row{display:flex;gap:8px;overflow:auto;padding-bottom:2px;-ms-overflow-style:none;scrollbar-width:none}
.filter-chip-row::-webkit-scrollbar{display:none}
.filter-chip{min-height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--card-soft);color:var(--muted);font-size:.76rem;font-weight:900;white-space:nowrap}
.filter-chip.is-active{background:rgba(37,99,235,.10);border-color:rgba(37,99,235,.22);color:var(--primary)}
html[data-theme="dark"] .filter-chip.is-active{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#fff}
.user-list{display:flex;flex-direction:column;gap:10px}
.user-row{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .user-row{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.user-row-avatar{width:46px;height:46px;border-radius:14px;overflow:hidden;flex:none;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.14);display:grid;place-items:center;font-size:1rem;font-weight:900;color:var(--primary)}
html[data-theme="dark"] .user-row-avatar{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.10);color:#dbeafe}
.user-row-avatar img{width:100%;height:100%;object-fit:cover}
.user-row-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.user-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.user-row-name{font-size:.92rem;font-weight:900;line-height:1.28;color:var(--text)}
.user-row-email{font-size:.78rem;font-weight:700;color:var(--muted);word-break:break-word}
.user-row-submeta{display:flex;gap:8px;flex-wrap:wrap;padding-top:2px}
.user-row-meta{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:120px}
.user-row-order{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.16);font-size:.82rem;font-weight:900;color:var(--primary);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
html[data-theme="dark"] .user-row-order{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#dbeafe;box-shadow:none}
@media (max-width:380px){
  .admin-search-row{flex-wrap:wrap}
  .admin-search-row .admin-refresh-btn{width:100%}
  .user-row{padding:12px}
}
select{width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--line-strong);background:var(--card-soft);color:var(--text);outline:none;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 20px) calc(50% - 3px),calc(100% - 14px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat}
select:focus{border-color:rgba(37,99,235,.48);box-shadow:0 0 0 4px rgba(37,99,235,.12);background-color:#fff}
html[data-theme="dark"] select:focus{background-color:rgba(255,255,255,.06)}
select option,select optgroup{background:#ffffff;color:#0f172a}
html[data-theme="dark"] select option,html[data-theme="dark"] select optgroup{background:#0f172a;color:#f8fbff}
.btn-danger{background:linear-gradient(135deg,#c62828,#a21717);color:#fff;box-shadow:0 14px 28px rgba(185,28,28,.18)}
.group-user-list{display:flex;flex-direction:column;gap:10px}
.group-user-card{padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:12px}
html[data-theme="dark"] .group-user-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.group-user-top{display:flex;align-items:center;gap:12px}
.group-user-headcopy{min-width:0;flex:1;display:flex;align-items:center;gap:10px}
.group-user-name{font-size:.94rem;font-weight:900;line-height:1.3;color:var(--text);min-width:0;flex:1}
.group-email-stack{display:flex;flex-direction:column;gap:8px}
.group-email-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:var(--card-soft);border:1px solid var(--line)}
.group-email-row.is-muted{opacity:.8}
.group-email-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.group-email-label{font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.group-email-value{font-size:.82rem;font-weight:800;color:var(--text);text-align:left;word-break:break-word;line-height:1.35}
.email-delete-btn{min-width:88px;min-height:38px;padding:0 12px;border-radius:12px;font-size:.74rem;font-weight:900;box-shadow:none;flex-shrink:0}
.email-delete-btn:not(:disabled){border-color:rgba(185,28,28,.28);color:#fff;background:linear-gradient(135deg,#c62828,#a21717)}
.email-delete-btn:disabled{opacity:.5;cursor:not-allowed}
.group-user-pills{display:flex;gap:8px;flex-wrap:wrap}
.group-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.group-user-actions .action-btn[data-action="delete"]{grid-column:1/-1}
.action-btn{min-height:44px;padding:0 12px;border-radius:14px;font-size:.78rem;font-weight:800}
.modal-shell{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:16px}
.modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.58);backdrop-filter:blur(4px)}
.modal-card{position:relative;width:min(100%,var(--page-max));max-height:min(82svh,760px);overflow:auto;border-radius:24px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:14px}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.modal-eyebrow{font-size:.74rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.modal-title{margin:4px 0 0;font-size:1.08rem;font-weight:900;color:var(--text)}
.modal-close-btn{min-width:40px;height:40px;border-radius:12px;box-shadow:none}
.modal-summary{padding:12px;border-radius:18px;background:var(--card-soft);border:1px solid var(--line)}
.modal-summary-row{display:flex;align-items:flex-start;gap:12px}
.modal-summary-avatar{width:48px;height:48px}
.modal-summary-avatar span{font-weight:900}
.modal-summary-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:10px}
.modal-summary-name{font-size:.94rem;font-weight:900;color:var(--text);line-height:1.28}
.modal-summary-pills{display:flex;gap:8px;flex-wrap:wrap}
.modal-email-list{display:flex;flex-direction:column;gap:8px}
.modal-email-chip{padding:10px 12px;border-radius:14px;background:var(--card);border:1px solid var(--line);display:flex;flex-direction:column;gap:2px;font-size:.8rem;font-weight:800;color:var(--text)}
.modal-email-label{font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.modal-actions{display:grid;gap:8px}
.two-col-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:380px){
  .group-user-card{padding:12px}
  .group-user-top{align-items:flex-start}
  .group-user-headcopy{align-items:flex-start;gap:8px}
  .group-email-row{align-items:flex-start;flex-direction:column}
  .email-delete-btn{width:100%}
  .group-user-actions{grid-template-columns:1fr}
  .group-user-actions .action-btn[data-action="delete"]{grid-column:auto}
  .two-col-actions{grid-template-columns:1fr}
}

.presence-page-card{display:flex;flex-direction:column;gap:12px;padding-top:14px}
.presence-section-head{display:flex;flex-direction:column;gap:6px}
.presence-section-note{margin:0;font-size:.78rem;font-weight:700;color:var(--muted)}
.presence-stack-card{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .presence-stack-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.presence-mini-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.presence-mini-head h2{margin:0;font-size:.92rem;font-weight:900;color:var(--text)}
.presence-empty-card{padding:18px;border-radius:18px;border:1px dashed var(--line-strong);background:var(--card-soft);text-align:center;font-size:.86rem;font-weight:800;color:var(--muted)}
.presence-list-compact{display:flex;flex-direction:column;gap:10px}
.presence-brief-card{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;border:1px solid var(--line);background:var(--card-soft)}
.presence-brief-card[data-tone="success"]{border-color:rgba(4,120,87,.24)}
.presence-brief-card[data-tone="pending"]{border-color:rgba(207,162,73,.28)}
.presence-brief-card[data-tone="error"]{border-color:rgba(185,28,28,.24)}
.presence-brief-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.presence-brief-title{font-size:.92rem;font-weight:900;color:var(--text);line-height:1.25}
.presence-brief-subtitle{font-size:.78rem;font-weight:700;color:var(--muted);line-height:1.35;margin-top:3px}
.presence-brief-meta{display:flex;gap:8px;flex-wrap:wrap}
.presence-brief-meta span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);font-size:.72rem;font-weight:800;color:var(--primary)}
html[data-theme="dark"] .presence-brief-meta span{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.09);color:#dbeafe}
.keberadaan-form-stack{gap:12px}
.presence-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.presence-stat-card{padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .presence-stat-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.presence-stat-card[data-tone="success"]{border-color:rgba(4,120,87,.24)}
.presence-stat-card[data-tone="pending"]{border-color:rgba(207,162,73,.28)}
.presence-stat-card[data-tone="error"]{border-color:rgba(185,28,28,.24)}
.presence-stat-label{font-size:.74rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.presence-stat-value{margin-top:8px;font-size:1.18rem;font-weight:900;color:var(--text)}
.presence-analysis-list{display:flex;flex-direction:column;gap:8px}
.presence-analysis-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:var(--card-soft);border:1px solid var(--line);font-size:.82rem;font-weight:800;color:var(--text)}
.presence-analysis-row.spread{align-items:flex-start}
.presence-analysis-main{font-size:.84rem;font-weight:900;color:var(--text);line-height:1.28}
.presence-analysis-sub{margin-top:4px;font-size:.74rem;font-weight:700;color:var(--muted);line-height:1.3}
.presence-date-band{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:var(--card-soft)}
.presence-date-label{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.presence-date-value{font-size:.88rem;font-weight:900;color:var(--text);line-height:1.35}
.presence-inline-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:2px}
.presence-action-btn{width:28px;min-width:28px;min-height:28px;padding:0;border-radius:9px;border:1px solid var(--line);background:var(--card);color:var(--text);display:inline-flex;align-items:center;justify-content:center}
.presence-action-btn svg{width:13px;height:13px;display:block}
.presence-action-btn.delete{border-color:rgba(185,28,28,.22);color:var(--danger)}
html[data-theme="dark"] .presence-action-btn{background:rgba(255,255,255,.04)}
.presence-edit-sheet{position:fixed;inset:0;z-index:80;padding:18px;background:rgba(2,6,23,.56);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center}
.presence-edit-card{width:min(100%,var(--page-max));border-radius:24px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:12px}
.presence-sheet-close{min-width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:var(--card-soft);color:var(--text);font-weight:900}
.presence-modal-actions .btn{min-height:44px}
.danger-soft{border-color:rgba(185,28,28,.22);color:var(--danger)}
.presence-inline-block{display:flex;flex-direction:column;gap:8px}
.presence-inline-note{font-size:.74rem;font-weight:700;color:var(--muted);line-height:1.35}
.presence-suggest-wrap{position:relative}
.presence-suggest-box{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;background:var(--card);border:1px solid var(--line-strong);border-radius:16px;overflow:hidden;box-shadow:0 18px 34px rgba(15,23,42,.18)}
.presence-suggest-item{width:100%;padding:12px 14px;border:none;background:transparent;color:var(--text);text-align:left;display:flex;flex-direction:column;gap:2px}
.presence-suggest-item small{font-size:.72rem;font-weight:800;color:var(--muted)}
.presence-suggest-item:hover{background:var(--card-soft)}
.presence-empty-inline{padding:12px 14px;font-size:.78rem;font-weight:800;color:var(--muted)}
.presence-selected-people{display:flex;flex-direction:column;gap:8px}
.presence-selected-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:var(--card-soft);border:1px solid var(--line)}
.presence-selected-chip strong{display:block;font-size:.82rem;font-weight:900;color:var(--text)}
.presence-selected-chip small{display:block;margin-top:2px;font-size:.72rem;font-weight:800;color:var(--muted)}
.presence-selected-chip button{min-height:34px;padding:0 10px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);font-size:.72rem;font-weight:900}
html[data-theme="dark"] .presence-selected-chip button{background:rgba(255,255,255,.04)}
.compact-form .label{font-size:.72rem}


.presence-summary-card{padding-top:12px}
.presence-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.presence-summary-item{display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--card-soft)}
.presence-summary-item span{font-size:.72rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.presence-summary-item strong{font-size:.84rem;font-weight:900;line-height:1.35;color:var(--text)}
.presence-stat-grid-analysis .presence-stat-card.stat-wide-mobile{grid-column:1/-1}
.presence-analysis-duo-grid{display:grid;grid-template-columns:1fr;gap:12px}
.presence-recent-wrap-card{padding-bottom:16px}
.presence-recent-list{display:flex;flex-direction:column;gap:10px}
.presence-recent-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card-soft) 0%, rgba(255,255,255,.02) 100%)}
html[data-theme=dark] .presence-recent-card{background:linear-gradient(180deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.02) 100%)}
.presence-recent-card[data-tone=success]{border-color:rgba(4,120,87,.24)}
.presence-recent-card[data-tone=pending]{border-color:rgba(207,162,73,.28)}
.presence-recent-card[data-tone=error]{border-color:rgba(185,28,28,.24)}
.presence-recent-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.presence-recent-copy{min-width:0}
.presence-recent-title{font-size:.86rem;font-weight:900;line-height:1.28;color:var(--text)}
.presence-recent-date{margin-top:4px;font-size:.75rem;font-weight:800;line-height:1.35;color:var(--muted)}
.presence-recent-meta{display:flex;flex-wrap:wrap;gap:8px}
.presence-recent-meta span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(37,99,235,.12);background:rgba(37,99,235,.08);font-size:.72rem;font-weight:800;line-height:1.25;color:var(--primary)}
html[data-theme=dark] .presence-recent-meta span{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.09);color:#dbeafe}
@media (min-width:720px){
  .presence-analysis-duo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .presence-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .presence-stat-grid-analysis .presence-stat-card.stat-wide-mobile{grid-column:auto}
}



.presence-filter-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;border:1px solid var(--line);background:var(--card-soft)}
.presence-filter-grid{display:grid;grid-template-columns:1fr;gap:10px}
.presence-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
.presence-filter-caption{font-size:.76rem;font-weight:800;color:var(--muted);line-height:1.35}
.presence-report-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.presence-report-stat{padding:12px;border-radius:14px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%)}
html[data-theme="dark"] .presence-report-stat{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%)}
.presence-report-stat span{display:block;font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.presence-report-stat strong{display:block;margin-top:8px;font-size:1.08rem;font-weight:900;color:var(--text)}
@media (min-width:640px){
  .presence-filter-grid{grid-template-columns:1.1fr .9fr;align-items:end}
  .presence-report-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
}


/* Keberadaan live report full width */
.presence-page-card.report-fit-mode{padding:10px;display:flex;flex-direction:column;gap:10px;overflow:visible}
.presence-live-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:end}
.presence-live-controls .label{margin-bottom:4px}
.presence-live-controls input{min-height:42px;font-size:15px}
.presence-live-controls .btn{min-height:42px;padding:0 12px;border-radius:14px;white-space:nowrap;font-size:15px}
.live-report-sheet{width:100%;max-width:100%;background:#fff;border:1px solid #dbe3ef;border-radius:24px;padding:14px;color:#0f172a;box-shadow:0 8px 24px rgba(15,23,42,.08);overflow:hidden}
.live-report-sheet *{box-sizing:border-box}
.live-report-sheet .hero{padding:14px 14px;border-radius:20px;background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 55%,#38bdf8 100%);color:#fff;margin-bottom:12px}
.live-report-sheet .hero h1{margin:0;font-size:18px;line-height:1.12}
.live-report-sheet .hero p{display:none}
.live-report-sheet .chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.live-report-sheet .identity-debug-panel{margin-top:10px;border:1px solid #dbe3ef;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 8px 20px rgba(15,23,42,.06);overflow:hidden}
.live-report-sheet .identity-debug-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid #e7eef7;background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%)}
.live-report-sheet .identity-debug-panel-title-wrap{display:flex;flex-direction:column;gap:2px;min-width:0}
.live-report-sheet .identity-debug-panel-kicker{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b;line-height:1.2}
.live-report-sheet .identity-debug-panel-title{font-size:12px;font-weight:900;line-height:1.2;color:#0f172a}
.live-report-sheet .identity-debug-panel-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;flex:0 0 auto}
.live-report-sheet .identity-debug-panel-body{padding:10px 12px 12px}
.live-report-sheet .identity-debug-panel-chips{margin-top:0}
.live-report-sheet .chip{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #cbd5e1;font-size:11px;font-weight:700;color:#334155;max-width:100%;overflow-wrap:anywhere}
.live-report-sheet .chips-debug{gap:6px;margin-top:10px}
.live-report-sheet .chip-debug{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 8px;border-radius:12px;background:#f8fafc;border-color:#dbe3ef;font-size:10px;font-weight:700;line-height:1.2;color:#334155;box-shadow:none;overflow:hidden}
.live-report-sheet .chip-debug-primary{box-shadow:0 1px 2px rgba(15,23,42,.08)}
.live-report-sheet .chip-debug-label{font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#64748b;white-space:nowrap;flex:0 0 auto}
.live-report-sheet .chip-debug-value{font-size:10px;font-weight:800;color:inherit;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}
.live-report-sheet .chip-debug-wide{max-width:100%}
.live-report-sheet .chip-debug-wide .chip-debug-value{max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.live-report-sheet .chip-debug-note{background:#fffbeb;border-color:#fde68a;color:#92400e}
.live-report-sheet .chip-debug-note .chip-debug-label{color:#a16207}
@media (max-width:639px){
  .live-report-sheet .identity-debug-panel-head{flex-direction:column;align-items:flex-start}
  .live-report-sheet .identity-debug-panel-badge{min-height:22px;padding:0 8px}
}
.live-report-sheet .chip-match{font-weight:800;box-shadow:0 1px 2px rgba(15,23,42,.08)}
.live-report-sheet .chip-match-ic{background:#ecfdf5;border-color:#86efac;color:#166534}
.live-report-sheet .chip-match-profile{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}
.live-report-sheet .chip-match-ref{background:#f5f3ff;border-color:#c4b5fd;color:#6d28d9}
.live-report-sheet .chip-match-name{background:#fff7ed;border-color:#fdba74;color:#c2410c}
.live-report-sheet .chip-match-email{background:#eef2ff;border-color:#c7d2fe;color:#4338ca}
.live-report-sheet .chip-match-overall{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.live-report-sheet .chip-match-none{background:#f8fafc;border-color:#cbd5e1;color:#475569}
.live-report-sheet .chip-match-default{background:#f8fafc;border-color:#cbd5e1;color:#334155}
.live-report-sheet .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.live-report-sheet .stat{padding:10px;border-radius:16px;background:#fff;border:1px solid #dbe3ef;min-height:92px}
.live-report-sheet .stat.analysis{background:linear-gradient(135deg,#ecfccb,#f0fdf4);border-color:#bbf7d0}
.live-report-sheet .stat span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:800;line-height:1.25}
.live-report-sheet .stat strong{display:block;margin-top:6px;font-size:18px;line-height:1.05}
.live-report-sheet .stat small{display:block;margin-top:5px;font-size:10px;color:#475569;line-height:1.3}
.live-report-sheet .note{display:none}
.live-report-sheet table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;background:#fff;border:1px solid #dbe3ef;border-radius:18px;overflow:hidden}
.live-report-sheet th,.live-report-sheet td{padding:8px 6px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top;font-size:10px;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.live-report-sheet th{background:#f8fafc;text-transform:uppercase;letter-spacing:.04em;color:#334155;font-size:9px;line-height:1.2}
.live-report-sheet tr:nth-child(even) td{background:#fcfdff}
.live-report-sheet td strong{font-size:10px}
.live-report-sheet td small{display:block;margin-top:2px;font-size:9px;color:#64748b;line-height:1.25}
.live-report-sheet th:nth-child(1), .live-report-sheet td:nth-child(1){width:18%}
.live-report-sheet th:nth-child(2), .live-report-sheet td:nth-child(2){width:14%}
.live-report-sheet th:nth-child(3), .live-report-sheet td:nth-child(3){width:16%}
.live-report-sheet th:nth-child(4), .live-report-sheet td:nth-child(4){width:14%}
.live-report-sheet th:nth-child(5), .live-report-sheet td:nth-child(5){width:12%}
.live-report-sheet th:nth-child(6), .live-report-sheet td:nth-child(6){width:12%}
.live-report-sheet th:nth-child(7), .live-report-sheet td:nth-child(7){width:14%}
.live-report-actions{display:inline-flex;gap:5px;flex-wrap:nowrap;align-items:center;justify-content:center;margin:0;white-space:nowrap}
.table-action-btn{min-height:30px;padding:0 11px;border-radius:11px;border:1px solid #d7e1ee;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);color:#0f172a;font-size:11px;font-weight:900;letter-spacing:.01em;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 6px 14px rgba(15,23,42,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.table-action-btn.icon-only{width:26px;min-width:26px;min-height:26px;height:26px;padding:0;border-radius:8px;gap:0;box-shadow:none}
.table-action-btn__icon{display:inline-flex;align-items:center;justify-content:center;line-height:0}
.table-action-btn.icon-only svg{width:12px;height:12px;display:block}
.table-action-btn:hover{transform:translateY(-1px);border-color:#bfd0e5;box-shadow:0 10px 18px rgba(15,23,42,.08)}
.table-action-btn.icon-only:hover{box-shadow:0 4px 10px rgba(15,23,42,.08)}
.table-action-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(59,130,246,.16),0 10px 18px rgba(15,23,42,.08)}
.table-action-btn.delete{border-color:#fecaca;background:linear-gradient(180deg,#fffafa 0%,#fff1f2 100%);color:#b91c1c}
.live-report-sheet td:last-child,.live-report-sheet th:last-child{width:78px;text-align:center}
.live-report-sheet td:last-child .live-report-actions{justify-content:center}
html[data-theme="dark"] .table-action-btn{border-color:rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,.04) 100%);color:#f8fbff;box-shadow:none}
html[data-theme="dark"] .table-action-btn:hover{border-color:rgba(255,255,255,.2);background:linear-gradient(180deg,rgba(255,255,255,.11) 0%,rgba(255,255,255,.06) 100%)}
html[data-theme="dark"] .table-action-btn.delete{border-color:rgba(248,113,113,.38);background:linear-gradient(180deg,rgba(127,29,29,.26) 0%,rgba(69,10,10,.18) 100%);color:#fecaca}
@media (max-width:420px){
  .presence-live-controls{grid-template-columns:1fr 1fr;gap:8px}
  .presence-live-controls > :first-child{grid-column:1/-1}
  .presence-live-controls > :last-child{grid-column:1/-1}
  .live-report-sheet{padding:12px}
  .live-report-sheet .hero h1{font-size:16px}
  .live-report-sheet .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:640px){
  .live-report-sheet .stats{grid-template-columns:repeat(6,minmax(0,1fr))}
  .live-report-sheet th,.live-report-sheet td{font-size:11px}
  .live-report-sheet th{font-size:10px}
}


.upload-guru-page-card{gap:12px}
.upload-section-card{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .upload-section-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.upload-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.upload-section-head h2{margin:0;font-size:.94rem;font-weight:900;color:var(--text)}
.compact-note-box{margin:0;font-size:.8rem;line-height:1.45}
.upload-inline-actions{display:flex;gap:8px;flex-wrap:wrap}
.upload-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.upload-action-grid .btn:last-child{grid-column:1/-1}

/* v24DZF - Upload Senarai Guru desktop polish: keep mobile shell, widen only desktop. */
@media (min-width:900px){
  body[data-page-module="upload-senarai-guru"] .page{
    align-items:flex-start;
    padding:20px 24px calc(env(safe-area-inset-bottom,0px) + 112px);
  }
  body[data-page-module="upload-senarai-guru"] .phone-shell{
    max-width:1180px;
    min-height:calc(100svh - 40px);
    gap:16px;
  }
  body[data-page-module="upload-senarai-guru"] .topbar,
  body[data-page-module="upload-senarai-guru"] #appStatus,
  body[data-page-module="upload-senarai-guru"] .upload-guru-page-card{
    width:100%;
    max-width:1180px;
    margin-inline:auto;
    box-sizing:border-box;
  }
  body[data-page-module="upload-senarai-guru"] .upload-guru-page-card{
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:14px;
    padding:18px;
  }
  body[data-page-module="upload-senarai-guru"] .admin-page-head{
    grid-column:1/-1;
    align-items:center;
  }
  body[data-page-module="upload-senarai-guru"] .upload-section-card{
    min-width:0;
    border-radius:18px;
  }
  body[data-page-module="upload-senarai-guru"] .upload-section-card:nth-of-type(1),
  body[data-page-module="upload-senarai-guru"] .upload-section-card:nth-of-type(2){
    grid-column:span 6;
  }
  body[data-page-module="upload-senarai-guru"] .upload-section-card:nth-of-type(3){
    grid-column:1/-1;
  }
  body[data-page-module="upload-senarai-guru"] .upload-section-card:nth-of-type(4){
    grid-column:span 5;
  }
  body[data-page-module="upload-senarai-guru"] .upload-section-card:nth-of-type(5){
    grid-column:span 7;
  }
  body[data-page-module="upload-senarai-guru"] .compact-two-col{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  body[data-page-module="upload-senarai-guru"] .upload-action-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body[data-page-module="upload-senarai-guru"] .upload-action-grid .btn:last-child{
    grid-column:auto;
  }
  body[data-page-module="upload-senarai-guru"] .upload-guru-bottom-nav{
    width:min(calc(100vw - 40px),520px);
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
.upload-result-stack{display:flex;flex-direction:column;gap:8px}
.upload-preview-list,.upload-teacher-list{display:flex;flex-direction:column;gap:10px}
.upload-preview-card,.upload-teacher-card{padding:12px;border-radius:18px;border:1px solid var(--line);background:var(--card-soft);display:flex;flex-direction:column;gap:10px}
.upload-preview-head,.upload-teacher-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.upload-preview-head strong{font-size:.84rem;font-weight:900;color:var(--text)}
.upload-teacher-head h3{margin:4px 0 0;font-size:.92rem;font-weight:900;line-height:1.28;color:var(--text)}
.upload-teacher-head p{margin:4px 0 0;font-size:.76rem;font-weight:700;color:var(--muted)}
.upload-teacher-order{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.16);font-size:.76rem;font-weight:900;color:var(--primary);margin-bottom:6px}
html[data-theme="dark"] .upload-teacher-order{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#dbeafe}
.upload-field-grid{display:grid;grid-template-columns:1fr;gap:8px}
.upload-field-grid.compact-two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.upload-field-row{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
.upload-field-row span{font-size:.7rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.upload-field-row strong{font-size:.8rem;font-weight:800;color:var(--text);line-height:1.35;word-break:break-word}
.btn-inline{min-width:0;padding-inline:12px}
@media (max-width:380px){
  .upload-action-grid,.upload-field-grid.compact-two-col{grid-template-columns:1fr}
}

.menu-settings-page-card{gap:14px}
.settings-action-row{display:flex;gap:8px;flex-wrap:wrap}
.compact-actions .btn{min-width:110px}
.menu-settings-search-row{flex-wrap:wrap}
.menu-settings-search-row input{flex:1 1 220px}
.menu-settings-search-row select{flex:1 1 180px}
.settings-summary-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.settings-summary-card{padding:12px 14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);display:flex;flex-direction:column;gap:6px;box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .settings-summary-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.settings-summary-card span{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.settings-summary-card strong{font-size:1.24rem;font-weight:900;color:var(--text);line-height:1}
.settings-summary-card.pending{border-color:rgba(37,99,235,.22)}
.menu-setting-list{display:flex;flex-direction:column;gap:10px}
.menu-setting-card{padding:14px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);display:flex;flex-direction:column;gap:12px;box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme="dark"] .menu-setting-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.menu-setting-card.is-changed{border-color:rgba(37,99,235,.28);box-shadow:0 12px 24px rgba(37,99,235,.12)}
html[data-theme="dark"] .menu-setting-card.is-changed{border-color:rgba(255,255,255,.14);box-shadow:none}
.menu-setting-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.menu-setting-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}
.menu-setting-title-row{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.menu-setting-title{margin:0;font-size:.96rem;font-weight:900;color:var(--text);line-height:1.28}
.menu-setting-meta{display:flex;flex-direction:column;gap:2px;font-size:.76rem;font-weight:700;color:var(--muted);word-break:break-word}
.menu-setting-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px;align-items:start}
.menu-setting-field{display:flex;flex-direction:column;gap:6px}
.menu-setting-field label{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.menu-setting-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.menu-setting-info{padding:10px 8px;border-radius:14px;background:var(--card-soft);border:1px solid var(--line);display:flex;flex-direction:column;gap:4px;text-align:center}
.menu-setting-info span{font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.menu-setting-info strong{font-size:.8rem;font-weight:900;color:var(--text);line-height:1.2}
@media (max-width:420px){
  .settings-action-row{width:100%}
  .compact-actions .btn{flex:1}
  .menu-setting-body{grid-template-columns:1fr}
  .menu-setting-side{grid-template-columns:repeat(3,minmax(0,1fr))}
}

.exam-page-card{display:flex;flex-direction:column;gap:14px;padding-top:14px}
.exam-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.exam-tab{min-height:42px;padding:0 10px;border-radius:14px;border:1px solid var(--line);background:var(--card-soft);color:var(--muted);font-size:.76rem;font-weight:900;letter-spacing:.04em}
.exam-tab.is-active{background:linear-gradient(135deg,var(--primary),#5c8cff);border-color:transparent;color:#fff;box-shadow:0 14px 28px rgba(37,99,235,.18)}
.exam-section-block{display:flex;flex-direction:column;gap:12px}
.exam-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.exam-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.exam-home-card,.exam-level-btn{min-height:84px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;color:var(--text);box-shadow:0 10px 18px rgba(15,23,42,.06)}
html[data-theme='dark'] .exam-home-card,html[data-theme='dark'] .exam-level-btn{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}
.exam-home-card-title,.exam-level-title{font-size:.92rem;font-weight:900;line-height:1.25}
.exam-home-card-note,.exam-level-note{font-size:.76rem;font-weight:700;color:var(--muted);line-height:1.35;text-align:left}
.exam-level-grid{display:grid;grid-template-columns:1fr;gap:10px}
.exam-level-btn.is-empty{opacity:.9}
@media (max-width:380px){
  .exam-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.exam-editor-card{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%)}
html[data-theme='dark'] .exam-editor-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%)}
.exam-editor-grid{display:grid;grid-template-columns:1fr;gap:10px}
.exam-editor-field{display:flex;flex-direction:column;gap:6px}
.exam-editor-field span{font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

.exam-notice-card{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;border:1px dashed var(--line);background:var(--card-soft)}
.exam-notice-title{font-size:.74rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.exam-notice-copy{font-size:.84rem;font-weight:700;line-height:1.4;color:var(--text)}


.exam-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center}
.btn-inline-danger{min-width:72px;background:rgba(220,38,38,.12)!important;color:#b91c1c!important;border:1px solid rgba(220,38,38,.18)!important}
[data-theme="dark"] .btn-inline-danger{color:#fca5a5!important;border-color:rgba(252,165,165,.2)!important;background:rgba(252,165,165,.08)!important}


.analysis-report-sheet{padding:14px}
.analysis-report-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}
.analysis-report-card{padding:12px;border-radius:18px;background:#fff;border:1px solid #dbe3ef}
.analysis-report-card-full{margin-bottom:12px}
.analysis-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.analysis-card-head h2{margin:0;font-size:13px;line-height:1.2;color:#0f172a}
.analysis-hero-panel{position:relative;overflow:hidden}
.analysis-hero-copy{display:grid;gap:10px;min-width:0}
.analysis-hero-chips{margin-top:0}
.analysis-hero-note{margin:0;font-size:11px;line-height:1.5;color:rgba(255,255,255,.86);max-width:720px}
.analysis-overview-stack{display:grid;gap:12px;margin-bottom:12px}
.analysis-summary-card{padding:0;overflow:hidden}
.analysis-summary-card .analysis-stats-grid{margin-bottom:0;padding:12px}
.analysis-summary-card .analysis-card-head{margin-bottom:0;padding:12px 12px 0}
.analysis-integrated-card{box-shadow:0 8px 20px rgba(15,23,42,.06)}
.analysis-card-head-tight{align-items:flex-start}
.analysis-section-kicker{display:inline-flex;align-items:center;min-height:18px;padding:0 8px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#1d4ed8;margin-bottom:6px}
.analysis-card-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:999px;background:#f8fafc;border:1px solid #dbe3ef;font-size:10px;font-weight:900;letter-spacing:.04em;color:#334155;white-space:nowrap;flex:0 0 auto}
.analysis-panel-note{display:block;margin-top:3px;font-size:10px;line-height:1.45;color:#64748b}
.analysis-table-card{padding:12px}
.analysis-table-note{margin:-2px 0 10px;font-size:11px;line-height:1.45;color:#64748b}
.analysis-bar-list{display:flex;flex-direction:column;gap:10px}
.analysis-bar-row{display:flex;flex-direction:column;gap:6px}
.analysis-bar-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;color:#334155}
.analysis-bar-track{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.analysis-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#60a5fa)}
.analysis-bar-fill.success{background:linear-gradient(90deg,#047857,#34d399)}
.analysis-bar-fill.warning{background:linear-gradient(90deg,#b45309,#f59e0b)}
.analysis-bar-fill.danger{background:linear-gradient(90deg,#b91c1c,#fb7185)}
.analysis-bar-fill.info{background:linear-gradient(90deg,#1d4ed8,#38bdf8)}
.analysis-month-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:end;min-height:160px}
.analysis-month-col{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.analysis-month-bar-wrap{height:96px;width:100%;border-radius:14px;background:#eff6ff;border:1px solid #dbeafe;display:flex;align-items:flex-end;justify-content:center;padding:6px}
.analysis-month-bar{width:100%;max-width:18px;border-radius:999px 999px 10px 10px;background:linear-gradient(180deg,#60a5fa 0%,#2563eb 100%)}
.analysis-month-value{font-size:10px;font-weight:900;color:#0f172a;line-height:1}
.analysis-month-label{font-size:10px;font-weight:800;color:#64748b;line-height:1.1;text-align:center}
.analysis-reason-list{display:flex;flex-wrap:wrap;gap:8px}
.analysis-reason-chip{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border-radius:999px;background:#f8fafc;border:1px solid #dbe3ef;font-size:11px;font-weight:800;color:#334155;max-width:100%}
.analysis-reason-chip span{max-width:calc(100% - 28px);overflow-wrap:anywhere}
.analysis-reason-chip strong{color:#0f172a}
.analysis-table-wrap{width:100%}
.analysis-report-sheet table{margin-top:0}
.analysis-report-sheet th:nth-child(1), .analysis-report-sheet td:nth-child(1){width:22%}
.analysis-report-sheet th:nth-child(2), .analysis-report-sheet td:nth-child(2){width:34%}
.analysis-report-sheet th:nth-child(3), .analysis-report-sheet td:nth-child(3){width:22%}
.analysis-report-sheet th:nth-child(4), .analysis-report-sheet td:nth-child(4){width:22%}
html[data-theme=dark] .analysis-report-card{background:#0f172a;border-color:rgba(255,255,255,.08)}
html[data-theme=dark] .analysis-card-head h2{color:#e5eefb}
html[data-theme=dark] .analysis-bar-copy{color:#cbd5e1}
html[data-theme=dark] .analysis-bar-track{background:rgba(255,255,255,.08)}
html[data-theme=dark] .analysis-month-bar-wrap{background:rgba(37,99,235,.12);border-color:rgba(96,165,250,.18)}
html[data-theme=dark] .analysis-month-value{color:#f8fafc}
html[data-theme=dark] .analysis-month-label{color:#94a3b8}
html[data-theme=dark] .analysis-reason-chip{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);color:#dbeafe}
html[data-theme=dark] .analysis-reason-chip strong{color:#fff}
html[data-theme=dark] .analysis-section-kicker{background:rgba(37,99,235,.18);border-color:rgba(96,165,250,.26);color:#bfdbfe}
html[data-theme=dark] .analysis-card-badge{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);color:#dbeafe}
html[data-theme=dark] .analysis-hero-note{color:rgba(255,255,255,.84)}
html[data-theme=dark] .analysis-panel-note,html[data-theme=dark] .analysis-table-note{color:#94a3b8}
html[data-theme=dark] .live-report-sheet .chip-debug-note{background:rgba(234,179,8,.12);border-color:rgba(250,204,21,.22);color:#fde68a}
html[data-theme=dark] .live-report-sheet .chip-debug-note .chip-debug-label{color:#fcd34d}
@media (max-width:767px){
  .analysis-card-badge{align-self:flex-start}
  .analysis-summary-card .analysis-card-head{padding:12px 12px 0}
  .analysis-table-note{margin-top:0}
}
@media (min-width:720px){
  .analysis-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.data-admin-page-card{gap:16px}.data-admin-hero{padding:14px 16px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card-soft) 0%,var(--card) 100%);display:grid;gap:6px}.data-admin-hero strong{font-size:.98rem;color:var(--text)}.data-admin-hero p{margin:0;font-size:.82rem;font-weight:700;line-height:1.5;color:var(--muted)}.data-admin-section{display:grid;gap:10px}.data-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.data-admin-section-head h2{margin:0;font-size:.92rem;font-weight:900;color:var(--text)}.data-admin-grid{display:grid;grid-template-columns:1fr;gap:10px}.data-admin-card{display:grid;gap:8px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);box-shadow:0 10px 18px rgba(15,23,42,.06);text-decoration:none;color:var(--text)}html[data-theme='dark'] .data-admin-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}.data-admin-card.is-live{border-color:rgba(4,120,87,.18)}.data-admin-card.is-plan{border-style:dashed}.data-admin-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.data-admin-icon{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.14);font-size:1.15rem}.data-admin-card-title{font-size:.9rem;font-weight:900;color:var(--text)}.data-admin-card-note{font-size:.78rem;font-weight:700;line-height:1.45;color:var(--muted)}@media (min-width: 768px){.data-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.data-admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.data-tab-btn{min-height:44px;padding:0 12px;border-radius:14px;border:1px solid var(--line-strong);background:var(--card);color:var(--muted);font-weight:900}.data-tab-btn.is-active{background:linear-gradient(135deg,var(--primary),#5c8cff);border-color:transparent;color:#fff;box-shadow:0 14px 28px rgba(37,99,235,.18)}.data-tab-panel{display:grid;gap:12px}.data-admin-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.data-admin-summary-grid{display:grid;grid-template-columns:1fr;gap:10px}.data-summary-card{padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);display:grid;gap:6px}.data-summary-label{font-size:.74rem;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}.data-summary-value{font-size:1.35rem;font-weight:900;color:var(--text)}.data-summary-value-sm{font-size:1rem}.data-summary-note{font-size:.78rem;font-weight:700;line-height:1.45;color:var(--muted)}.data-export-card{align-content:start}.data-export-count{font-size:.82rem;font-weight:900;color:var(--text)}.data-export-actions{display:flex;gap:8px;flex-wrap:wrap}.data-export-alert{padding:10px 12px;border-radius:14px;border:1px solid rgba(220,38,38,.14);background:rgba(220,38,38,.08);font-size:.76rem;font-weight:700;line-height:1.45;color:#b91c1c}.data-export-actions .btn{flex:1;min-width:110px}.data-export-actions .btn[disabled]{opacity:.55;cursor:not-allowed}.data-tab-panel[hidden]{display:none!important}html[data-theme='dark'] .data-summary-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%)}html[data-theme='dark'] .data-tab-btn{background:rgba(255,255,255,.03)}html[data-theme='dark'] .data-export-alert{background:rgba(252,165,165,.08);border-color:rgba(252,165,165,.16);color:#fecaca}@media (min-width: 768px){.data-admin-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.data-admin-split{display:grid;grid-template-columns:1fr;gap:12px}.data-manager-toolbar{display:flex;flex-wrap:wrap;gap:8px}.data-manager-toolbar input{flex:1 1 220px}.data-manager-toolbar select{flex:1 1 180px}.data-manager-list{display:grid;grid-template-columns:1fr;gap:10px}.data-manager-card{padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%);display:grid;gap:10px;box-shadow:0 10px 18px rgba(15,23,42,.05)}html[data-theme='dark'] .data-manager-card{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%);box-shadow:none}.data-manager-head{display:flex;align-items:flex-start;gap:12px}.data-manager-head-tight{align-items:center}.data-manager-avatar{width:46px;height:46px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.14);font-size:1rem;font-weight:900;color:var(--text)}.data-manager-avatar img{width:100%;height:100%;object-fit:cover}.data-manager-copy{min-width:0;flex:1;display:grid;gap:6px}.data-manager-title{font-size:.92rem;font-weight:900;color:var(--text);line-height:1.28}.data-manager-sub{font-size:.78rem;font-weight:700;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}.data-manager-meta{display:flex;gap:8px;flex-wrap:wrap}.data-manager-detail-grid{display:grid;grid-template-columns:1fr;gap:8px}.data-manager-detail-grid>div{padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--card-soft);display:grid;gap:4px}.data-manager-label{font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.data-manager-detail-grid strong{font-size:.8rem;line-height:1.4;color:var(--text);overflow-wrap:anywhere}.data-manager-actions{display:flex;gap:8px;flex-wrap:wrap}.data-manager-actions .btn{flex:1;min-width:120px}.data-manager-inline-note{font-size:.74rem;font-weight:800;color:var(--muted)}#userEditEmail[readonly],#presenceEditTeacher[readonly]{opacity:.9;background:var(--card)}@media (min-width:768px){.data-admin-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.data-admin-split{grid-template-columns:repeat(2,minmax(0,1fr))}.data-manager-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.data-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}


.data-sync-list{display:grid;grid-template-columns:1fr;gap:10px}.data-sync-card{align-content:start}.data-sync-preview{display:flex;gap:8px;flex-wrap:wrap}.data-sync-details{border-top:1px dashed var(--line);padding-top:10px}.data-sync-details summary{cursor:pointer;font-size:.78rem;font-weight:900;color:var(--primary)}.data-sync-details-wrap{display:grid;gap:8px;padding-top:10px}.data-sync-item{padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--card-soft);display:grid;gap:3px}.data-sync-item strong{font-size:.8rem;color:var(--text);overflow-wrap:anywhere}.data-sync-item span{font-size:.74rem;font-weight:800;color:var(--muted);overflow-wrap:anywhere}.data-sync-item small{font-size:.72rem;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}html[data-theme='dark'] .data-sync-item{background:rgba(255,255,255,.03)}
.data-restore-warning{display:inline-block;margin-top:6px;font-size:.74rem;font-weight:800;line-height:1.45;color:#b45309}
html[data-theme='dark'] .data-restore-warning{color:#fdba74}

@media (min-width:1024px){.data-admin-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}}


.analysis-admin-filter-card{padding:14px 14px 12px}
.analysis-admin-filter-toolbar{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.analysis-admin-search-wrap{position:relative;flex:1 1 320px;min-width:280px;display:grid;gap:6px}
.analysis-admin-search-label{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.analysis-admin-search-control{position:relative}
.analysis-admin-search-input{width:100%;min-height:44px;padding:11px 14px;border-radius:14px;border:1px solid var(--line-strong);background:var(--card);color:var(--text);font-size:.9rem;font-weight:800;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.analysis-admin-search-input::placeholder{color:var(--muted);font-weight:700}
.analysis-admin-search-input:focus{outline:none;border-color:rgba(37,99,235,.45);box-shadow:0 0 0 3px rgba(37,99,235,.12),0 8px 18px rgba(15,23,42,.08)}
.analysis-admin-suggest-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;background:var(--card);border:1px solid var(--line-strong);border-radius:14px;overflow:auto;max-height:300px;box-shadow:0 18px 34px rgba(15,23,42,.16)}
.analysis-admin-reset-btn{min-height:44px;padding:0 14px;border-radius:14px;font-weight:900}
.analysis-admin-search-note{font-size:.72rem;font-weight:700;color:var(--muted);line-height:1.35}
.presence-suggest-item{cursor:pointer}
.presence-suggest-item span{font-size:.84rem;font-weight:900;line-height:1.28}
@media (max-width:767px){.analysis-admin-filter-toolbar{align-items:stretch}.analysis-admin-reset-btn{width:100%}}
html[data-theme=dark] .analysis-admin-search-input{background:rgba(255,255,255,.04);box-shadow:none}


.profile-debug-panel{margin-top:0;padding:0;overflow:hidden;border-radius:22px}
.profile-debug-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line-strong);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01))}
.profile-debug-kicker{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.profile-debug-title{margin-top:4px;font-size:.98rem;font-weight:900;color:var(--text)}
.profile-debug-body{padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.profile-debug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-debug-kv-card{padding:10px 12px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.profile-debug-kv-label{font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--text-soft)}
.profile-debug-kv-value{margin-top:4px;font-size:.9rem;font-weight:900;line-height:1.35;color:var(--text);word-break:break-word}
.profile-debug-log{display:flex;flex-direction:column;gap:10px}
.profile-debug-item{padding:12px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.profile-debug-item[data-state="matched"]{border-color:rgba(4,120,87,.32);background:rgba(4,120,87,.10)}
.profile-debug-item[data-state="error"]{border-color:rgba(185,28,28,.28);background:rgba(185,28,28,.10)}
.profile-debug-item[data-state="not_found"]{border-color:rgba(207,162,73,.28);background:rgba(207,162,73,.10)}
.profile-debug-item-top{display:flex;align-items:flex-start;gap:10px}
.profile-debug-step-no{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid var(--line);font-size:.82rem;font-weight:900;color:var(--text)}
.profile-debug-step-copy{flex:1;min-width:0}
.profile-debug-step-title{font-size:.86rem;font-weight:900;color:var(--text)}
.profile-debug-step-message{margin-top:2px;font-size:.8rem;font-weight:700;line-height:1.45;color:var(--text-soft)}
.profile-debug-step-detail{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);font-size:.76rem;font-weight:700;line-height:1.45;color:var(--text-soft);word-break:break-word}
.profile-debug-empty{padding:14px;border-radius:16px;border:1px dashed var(--line);font-size:.82rem;font-weight:800;color:var(--text-soft);text-align:center}
@media (max-width:520px){.profile-debug-grid{grid-template-columns:1fr}.profile-debug-head{padding:12px 14px}.profile-debug-body{padding:12px 14px}.profile-debug-item-top{flex-wrap:wrap}}


/* 2026-03-30 final analysis toolbar compact overrides */
.analysis-admin-filter-card{padding:12px 12px 10px}
.analysis-admin-filter-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.analysis-admin-filter-copy{display:grid;gap:2px;min-width:220px}
.analysis-admin-filter-eyebrow{font-size:.66rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.analysis-admin-filter-title{font-size:.82rem;font-weight:800;line-height:1.35;color:var(--text)}
.analysis-admin-filter-actions{display:flex;gap:8px;align-items:center;flex:1 1 460px;justify-content:flex-end;flex-wrap:wrap}
.analysis-admin-search-wrap{position:relative;flex:1 1 300px;min-width:240px;display:grid;gap:4px}
.analysis-admin-search-label{font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.analysis-admin-search-control{position:relative}
.analysis-admin-search-input{width:100%;min-height:42px;padding:10px 12px;border-radius:12px;border:1px solid var(--line-strong);background:var(--card);color:var(--text);font-size:.88rem;font-weight:800;box-shadow:0 6px 14px rgba(15,23,42,.05)}
.analysis-admin-search-input::placeholder{color:var(--muted);font-weight:700}
.analysis-admin-search-input:focus{outline:none;border-color:rgba(37,99,235,.42);box-shadow:0 0 0 3px rgba(37,99,235,.10),0 8px 16px rgba(15,23,42,.07)}
.analysis-admin-suggest-list{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:30;background:var(--card);border:1px solid var(--line-strong);border-radius:12px;overflow:auto;max-height:300px;box-shadow:0 16px 28px rgba(15,23,42,.14)}
.analysis-admin-reset-btn{min-width:144px;min-height:42px;padding:0 14px;border-radius:12px;border:1px solid rgba(37,99,235,.18);background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);color:#0f172a;font-weight:900;letter-spacing:.01em;box-shadow:0 8px 18px rgba(15,23,42,.05)}
.analysis-admin-reset-btn:hover:not([disabled]){border-color:rgba(37,99,235,.34);transform:translateY(-1px);box-shadow:0 12px 22px rgba(15,23,42,.08)}
.analysis-admin-reset-btn.is-active,.analysis-admin-reset-btn[disabled]{border-color:transparent;background:linear-gradient(135deg,var(--primary),#5c8cff);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.16);opacity:1;cursor:default}
.analysis-admin-reset-btn[disabled]{pointer-events:none}
@media (max-width:767px){.analysis-admin-filter-toolbar{align-items:stretch}.analysis-admin-filter-copy{min-width:0}.analysis-admin-filter-actions{width:100%;justify-content:stretch}.analysis-admin-search-wrap{min-width:0;flex:1 1 100%}.analysis-admin-reset-btn{width:100%;min-width:0}}
html[data-theme=dark] .analysis-admin-reset-btn{background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.03) 100%);border-color:rgba(148,163,184,.20);color:#e5eefb;box-shadow:none}
html[data-theme=dark] .analysis-admin-reset-btn:hover:not([disabled]){border-color:rgba(96,165,250,.38);box-shadow:none}
html[data-theme=dark] .analysis-admin-reset-btn.is-active,html[data-theme=dark] .analysis-admin-reset-btn[disabled]{background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff}

/* 2026-03-30 final guru report pro contrast overrides */
.live-report-sheet{background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border-color:#cfdceb;border-radius:26px;box-shadow:0 18px 42px rgba(15,23,42,.12)}
.live-report-sheet .hero{padding:16px 16px 14px;border-radius:22px;background:linear-gradient(135deg,#11203a 0%,#2452cf 56%,#42b9f6 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.live-report-sheet .hero h1{font-size:18px;letter-spacing:-.02em}
.live-report-sheet .chip{min-height:30px;padding:0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.96);font-size:11px;font-weight:900;color:#243247;box-shadow:0 6px 14px rgba(15,23,42,.08)}
.live-report-sheet .stats{gap:9px;margin-bottom:14px}
.live-report-sheet .stat{position:relative;padding:12px 12px 11px;border-radius:16px;border:1px solid #d6e0eb;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);min-height:96px;box-shadow:0 10px 22px rgba(15,23,42,.05)}
.live-report-sheet .stat::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;border-radius:16px 16px 0 0;background:linear-gradient(90deg,#1d4ed8,#60a5fa)}
.live-report-sheet .stat.analysis{background:linear-gradient(180deg,#f1fbe8 0%,#e5f8d5 100%);border-color:#b9e4a4}
.live-report-sheet .stat.analysis::before{background:linear-gradient(90deg,#65a30d,#22c55e)}
.live-report-sheet .stat span{font-size:9px;letter-spacing:.08em;color:#5c6d84;font-weight:900}
.live-report-sheet .stat strong{margin-top:7px;font-size:18px;line-height:1;color:#081120;letter-spacing:-.02em}
.live-report-sheet table,.live-report-sheet .sheet-table{width:100%;max-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);border:1px solid #d6e0eb;border-radius:18px;overflow:hidden}
.live-report-sheet thead th,.live-report-sheet .sheet-table th{padding:11px 9px;background:linear-gradient(180deg,#f7fafd 0%,#eef4fa 100%);border-bottom:1px solid #dbe5ef;color:#334155;font-size:10px;font-weight:900;letter-spacing:.06em;line-height:1.25;text-transform:uppercase}
.live-report-sheet tbody td,.live-report-sheet .sheet-table td{padding:11px 9px;border-bottom:1px solid #e5edf5;background:transparent;color:#0f172a;font-size:11px;line-height:1.35;vertical-align:top;word-break:break-word;overflow-wrap:anywhere}
.live-report-sheet tbody tr:last-child td,.live-report-sheet .sheet-table tr:last-child td{border-bottom:none}
.live-report-sheet tbody tr:nth-child(even) td,.live-report-sheet .sheet-table tr:nth-child(even) td{background:#fbfdff}
.live-report-sheet tbody tr:hover td,.live-report-sheet .sheet-table tr:hover td{background:#f3f8ff}
.live-report-sheet .presence-report-row.own td{background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.live-report-sheet .presence-report-row.other td{background:linear-gradient(180deg,#fcfdff 0%,#f8fbff 100%)}
.live-report-sheet td[data-col="name"] strong{display:block;font-size:11px;font-weight:900;line-height:1.38;color:#081120;letter-spacing:.01em}
.live-report-sheet td[data-col="record"]{font-size:10.5px;line-height:1.36;color:#243247}
.live-report-sheet td[data-col="time"]{white-space:nowrap;font-size:10.5px;font-weight:800;color:#243247}
.live-report-sheet td[data-col="actions"],.live-report-sheet th[data-col="actions"]{width:82px;text-align:center}
.live-report-sheet .live-report-actions{display:inline-flex;gap:6px;align-items:center;justify-content:center;white-space:nowrap}
.live-report-sheet .presence-row-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.live-report-sheet .presence-row-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:999px;border:1px solid #dbe7f4;background:#f8fbff;color:#51637a;font-size:8.5px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;line-height:1;box-shadow:0 2px 6px rgba(15,23,42,.04)}
.live-report-sheet .presence-row-badge.own{background:#eaf3ff;border-color:#b7d3ff;color:#1747b8}
.live-report-sheet .presence-row-badge.other{background:#f8fafc;border-color:#dde6ef;color:#526375}
.live-report-sheet .presence-row-badge.editable{background:#ebfbf3;border-color:#b7edcc;color:#0f7a52}
.live-report-sheet .presence-row-badge.note{justify-content:flex-start;max-width:100%;background:#eef4ff;border-color:#cadcff;color:#173f8a;text-transform:none;letter-spacing:0;font-size:7.8px;font-weight:800;white-space:normal;line-height:1.15;padding:3px 7px;text-align:left}
.live-report-sheet .presence-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:12px;border:1px solid #d8e3ef;background:#f8fafc;color:#334155;font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.15;text-align:center;text-transform:uppercase;white-space:normal;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.live-report-sheet .presence-status-badge.sekolah{background:linear-gradient(180deg,#ecfdf5 0%,#ddf8ea 100%);border-color:#8ee5b7;color:#0c7a4d}
.live-report-sheet .presence-status-badge.luar{background:linear-gradient(180deg,#eaf3ff 0%,#d9ebff 100%);border-color:#9dc5ff;color:#1d4ed8}
.live-report-sheet .presence-status-badge.cuti{background:linear-gradient(180deg,#fff4e8 0%,#ffe7d1 100%);border-color:#f7bf8d;color:#c25b0a}
.live-report-sheet .presence-status-badge.rasmi{background:linear-gradient(180deg,#f6edff 0%,#efe2ff 100%);border-color:#d9b8ff;color:#7a3ded}
.live-report-sheet .presence-status-badge.neutral{background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);border-color:#dbe3ec;color:#475569}
.live-report-sheet .table-action-btn{min-height:32px;padding:0 11px;border-radius:11px;border:1px solid #cfdae8;background:linear-gradient(180deg,#ffffff 0%,#f6faff 100%);color:#15324a;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.live-report-sheet .table-action-btn.icon-only,.live-report-sheet .sheet-action-btn{width:30px;min-width:30px;min-height:30px;height:30px;padding:0;border-radius:10px}
.live-report-sheet .table-action-btn__icon svg{width:13px;height:13px;display:block}
.live-report-sheet .table-action-btn:hover{transform:translateY(-1px);border-color:#9cbbe0;box-shadow:0 10px 20px rgba(15,23,42,.1)}
.live-report-sheet .table-action-btn.delete{border-color:#f2b8b8;background:linear-gradient(180deg,#fff3f3 0%,#ffe2e2 100%);color:#b91c1c}
html[data-theme="dark"] .live-report-sheet{background:linear-gradient(180deg,rgba(9,18,31,.98) 0%,rgba(8,16,29,.98) 100%);border-color:rgba(148,163,184,.22);box-shadow:0 24px 46px rgba(0,0,0,.34);color:#f8fbff}
html[data-theme="dark"] .live-report-sheet .hero{background:linear-gradient(135deg,#0f1d34 0%,#1d4ed8 56%,#38bdf8 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
html[data-theme="dark"] .live-report-sheet .chip{border-color:rgba(148,163,184,.22);background:rgba(10,20,35,.76);color:#e6f0ff;box-shadow:none}
html[data-theme="dark"] .live-report-sheet .stat{border-color:rgba(148,163,184,.16);background:linear-gradient(180deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,.03) 100%);box-shadow:none}
html[data-theme="dark"] .live-report-sheet .stat.analysis{background:linear-gradient(180deg,rgba(34,197,94,.14) 0%,rgba(22,163,74,.08) 100%);border-color:rgba(74,222,128,.24)}
html[data-theme="dark"] .live-report-sheet .stat span{color:#97aac4}
html[data-theme="dark"] .live-report-sheet .stat strong{color:#f8fbff}
html[data-theme="dark"] .live-report-sheet table,html[data-theme="dark"] .live-report-sheet .sheet-table{background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,rgba(255,255,255,.02) 100%);border-color:rgba(148,163,184,.17)}
html[data-theme="dark"] .live-report-sheet thead th,html[data-theme="dark"] .live-report-sheet .sheet-table th{background:linear-gradient(180deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,.05) 100%);border-bottom-color:rgba(148,163,184,.17);color:#d8e5f7}
html[data-theme="dark"] .live-report-sheet tbody td,html[data-theme="dark"] .live-report-sheet .sheet-table td{border-bottom-color:rgba(148,163,184,.14);color:#eef5ff}
html[data-theme="dark"] .live-report-sheet tbody tr:nth-child(even) td,html[data-theme="dark"] .live-report-sheet .sheet-table tr:nth-child(even) td{background:rgba(255,255,255,.018)}
html[data-theme="dark"] .live-report-sheet tbody tr:hover td,html[data-theme="dark"] .live-report-sheet .sheet-table tr:hover td{background:rgba(59,130,246,.08)}
html[data-theme="dark"] .live-report-sheet .presence-report-row.own td{background:linear-gradient(180deg,rgba(37,99,235,.08) 0%,rgba(37,99,235,.03) 100%)}
html[data-theme="dark"] .live-report-sheet .presence-report-row.other td{background:linear-gradient(180deg,rgba(255,255,255,.018) 0%,rgba(255,255,255,.012) 100%)}
html[data-theme="dark"] .live-report-sheet td[data-col="name"] strong{color:#f8fbff}
html[data-theme="dark"] .live-report-sheet td[data-col="record"],html[data-theme="dark"] .live-report-sheet td[data-col="time"]{color:#d7e4f7}
html[data-theme="dark"] .live-report-sheet .presence-row-badge{border-color:rgba(148,163,184,.18);background:rgba(255,255,255,.05);color:#d9e7f7;box-shadow:none}
html[data-theme="dark"] .live-report-sheet .presence-row-badge.own{background:rgba(59,130,246,.22);border-color:rgba(96,165,250,.32);color:#dbeafe}
html[data-theme="dark"] .live-report-sheet .presence-row-badge.other{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.14);color:#c7d6ea}
html[data-theme="dark"] .live-report-sheet .presence-row-badge.editable{background:rgba(16,185,129,.20);border-color:rgba(52,211,153,.3);color:#bbf7d0}
html[data-theme="dark"] .live-report-sheet .presence-row-badge.note{background:rgba(59,130,246,.18);border-color:rgba(96,165,250,.28);color:#dbeafe}
html[data-theme="dark"] .live-report-sheet .presence-status-badge{background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.05) 100%);border-color:rgba(148,163,184,.18);color:#eaf2ff;box-shadow:none}
html[data-theme="dark"] .live-report-sheet .presence-status-badge.sekolah{background:linear-gradient(180deg,rgba(16,185,129,.24) 0%,rgba(16,185,129,.14) 100%);border-color:rgba(74,222,128,.3);color:#bbf7d0}
html[data-theme="dark"] .live-report-sheet .presence-status-badge.luar{background:linear-gradient(180deg,rgba(59,130,246,.24) 0%,rgba(59,130,246,.14) 100%);border-color:rgba(96,165,250,.32);color:#dbeafe}
html[data-theme="dark"] .live-report-sheet .presence-status-badge.cuti{background:linear-gradient(180deg,rgba(249,115,22,.24) 0%,rgba(249,115,22,.14) 100%);border-color:rgba(251,146,60,.32);color:#fed7aa}
html[data-theme="dark"] .live-report-sheet .presence-status-badge.rasmi{background:linear-gradient(180deg,rgba(168,85,247,.24) 0%,rgba(168,85,247,.14) 100%);border-color:rgba(192,132,252,.34);color:#f3e8ff}
html[data-theme="dark"] .live-report-sheet .table-action-btn{border-color:rgba(148,163,184,.2);background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.05) 100%);color:#ecf3ff;box-shadow:none}
html[data-theme="dark"] .live-report-sheet .table-action-btn:hover{border-color:rgba(96,165,250,.36);background:linear-gradient(180deg,rgba(59,130,246,.18) 0%,rgba(59,130,246,.1) 100%)}
html[data-theme="dark"] .live-report-sheet .table-action-btn.delete{border-color:rgba(248,113,113,.34);background:linear-gradient(180deg,rgba(127,29,29,.3) 0%,rgba(69,10,10,.22) 100%);color:#fecaca}
@media (max-width:420px){
  .live-report-sheet .hero{padding:14px 14px 13px}
  .live-report-sheet .hero h1{font-size:16px}
  .live-report-sheet .chip{min-height:28px;padding:0 10px;font-size:10px}
  .live-report-sheet thead th,.live-report-sheet .sheet-table th{padding:10px 7px;font-size:9px}
  .live-report-sheet tbody td,.live-report-sheet .sheet-table td{padding:10px 7px;font-size:10.5px}
  .live-report-sheet td[data-col="time"],.live-report-sheet td[data-col="record"]{font-size:10px}
  .live-report-sheet td[data-col="actions"],.live-report-sheet th[data-col="actions"]{width:72px}
}


/* 2026-03-30 final compact polish overrides */
.live-report-sheet{border-radius:24px}
.live-report-sheet .hero{padding:14px 14px 12px;border-radius:20px}
.live-report-sheet .hero h1{font-size:17px}
.live-report-sheet .chip{min-height:28px;padding:0 10px;font-size:10.5px}
.live-report-sheet .stats{gap:8px;margin-bottom:12px}
.live-report-sheet .stat{padding:10px 10px 9px;min-height:86px;border-radius:14px}
.live-report-sheet .stat::before{height:2px;border-radius:14px 14px 0 0}
.live-report-sheet .stat span{font-size:8.5px;letter-spacing:.07em}
.live-report-sheet .stat strong{margin-top:6px;font-size:16px}
.live-report-sheet table,.live-report-sheet .sheet-table{border-radius:16px}
.live-report-sheet thead th,.live-report-sheet .sheet-table th{padding:9px 8px;font-size:9.5px;letter-spacing:.055em}
.live-report-sheet tbody td,.live-report-sheet .sheet-table td{padding:9px 8px;font-size:10.5px;line-height:1.28}
.live-report-sheet td[data-col="name"] strong{font-size:10.5px;line-height:1.34}
.live-report-sheet td[data-col="record"],.live-report-sheet td[data-col="time"]{font-size:10px;line-height:1.28}
.live-report-sheet td[data-col="actions"],.live-report-sheet th[data-col="actions"]{width:72px}
.live-report-sheet .live-report-actions{gap:5px}
.live-report-sheet .presence-row-badges{gap:4px;margin-top:5px}
.live-report-sheet .presence-row-badge{min-height:20px;padding:0 7px;font-size:8px}
.live-report-sheet .presence-status-badge{min-height:28px;padding:5px 9px;border-radius:11px;font-size:9.4px;line-height:1.12}
.live-report-sheet .table-action-btn{min-height:30px;padding:0 10px;border-radius:10px}
.live-report-sheet .table-action-btn.icon-only,.live-report-sheet .sheet-action-btn{width:28px;min-width:28px;min-height:28px;height:28px;border-radius:9px}
.live-report-sheet .table-action-btn__icon svg{width:12px;height:12px}
html[data-theme="dark"] .live-report-sheet .hero{box-shadow:none}
@media (max-width:420px){
  .live-report-sheet{border-radius:22px}
  .live-report-sheet .hero{padding:12px 12px 11px;border-radius:18px}
  .live-report-sheet .hero h1{font-size:15px}
  .live-report-sheet .chip{min-height:26px;padding:0 9px;font-size:9.5px}
  .live-report-sheet .stats{gap:7px;margin-bottom:10px}
  .live-report-sheet .stat{padding:9px 9px 8px;min-height:78px;border-radius:13px}
  .live-report-sheet .stat span{font-size:8px}
  .live-report-sheet .stat strong{font-size:14px}
  .live-report-sheet thead th,.live-report-sheet .sheet-table th{padding:8px 6px;font-size:8.5px}
  .live-report-sheet tbody td,.live-report-sheet .sheet-table td{padding:8px 6px;font-size:10px;line-height:1.24}
  .live-report-sheet td[data-col="name"] strong{font-size:10px}
  .live-report-sheet td[data-col="record"],.live-report-sheet td[data-col="time"]{font-size:9.5px}
  .live-report-sheet td[data-col="actions"],.live-report-sheet th[data-col="actions"]{width:64px}
  .live-report-sheet .presence-status-badge{min-height:26px;padding:4px 8px;font-size:8.9px}
  .live-report-sheet .presence-row-badge{min-height:18px;padding:0 6px;font-size:7.6px}
  .live-report-sheet .table-action-btn.icon-only,.live-report-sheet .sheet-action-btn{width:26px;min-width:26px;min-height:26px;height:26px}
}


/* 2026-03-30 v38 — samakan kemasan compact pada paparan admin dan guru untuk keberadaan_guru.html */
.live-report-sheet.viewer-admin .stats,
.live-report-sheet.viewer-guru .stats{gap:8px;margin-bottom:12px}
.live-report-sheet.viewer-admin .stat,
.live-report-sheet.viewer-guru .stat{padding:10px 10px 9px;min-height:86px;border-radius:14px}
.live-report-sheet.viewer-admin .stat span,
.live-report-sheet.viewer-guru .stat span{font-size:8.5px;letter-spacing:.07em}
.live-report-sheet.viewer-admin .stat strong,
.live-report-sheet.viewer-guru .stat strong{margin-top:6px;font-size:16px}
.live-report-sheet.viewer-admin table,
.live-report-sheet.viewer-admin .sheet-table,
.live-report-sheet.viewer-guru table,
.live-report-sheet.viewer-guru .sheet-table{border-radius:16px}
.live-report-sheet.viewer-admin thead th,
.live-report-sheet.viewer-admin .sheet-table th,
.live-report-sheet.viewer-guru thead th,
.live-report-sheet.viewer-guru .sheet-table th{padding:9px 8px;font-size:9.5px;letter-spacing:.055em}
.live-report-sheet.viewer-admin tbody td,
.live-report-sheet.viewer-admin .sheet-table td,
.live-report-sheet.viewer-guru tbody td,
.live-report-sheet.viewer-guru .sheet-table td{padding:9px 8px;font-size:10.5px;line-height:1.28}
.live-report-sheet.viewer-admin td[data-col="name"] strong,
.live-report-sheet.viewer-guru td[data-col="name"] strong{font-size:10.5px;line-height:1.34}
.live-report-sheet.viewer-admin td[data-col="record"],
.live-report-sheet.viewer-admin td[data-col="time"],
.live-report-sheet.viewer-guru td[data-col="record"],
.live-report-sheet.viewer-guru td[data-col="time"]{font-size:10px;line-height:1.28}
.live-report-sheet.viewer-admin .presence-status-badge,
.live-report-sheet.viewer-guru .presence-status-badge{min-height:28px;padding:5px 9px;border-radius:11px;font-size:9.4px;line-height:1.12}
.live-report-sheet.viewer-admin .table-action-btn,
.live-report-sheet.viewer-guru .table-action-btn{min-height:30px;padding:0 10px;border-radius:10px}
.live-report-sheet.viewer-admin .table-action-btn.icon-only,
.live-report-sheet.viewer-admin .sheet-action-btn,
.live-report-sheet.viewer-guru .table-action-btn.icon-only,
.live-report-sheet.viewer-guru .sheet-action-btn{width:28px;min-width:28px;min-height:28px;height:28px;border-radius:9px}
.live-report-sheet.viewer-admin .table-action-btn__icon svg,
.live-report-sheet.viewer-guru .table-action-btn__icon svg{width:12px;height:12px}
.live-report-sheet.viewer-admin .live-report-actions{gap:5px}
.live-report-sheet.viewer-admin td[data-col="actions"],
.live-report-sheet.viewer-admin th[data-col="actions"]{width:78px}
@media (max-width: 767px){
  .live-report-sheet.viewer-admin .stats,
  .live-report-sheet.viewer-guru .stats{gap:7px;margin-bottom:10px}
  .live-report-sheet.viewer-admin .stat,
  .live-report-sheet.viewer-guru .stat{padding:9px 9px 8px;min-height:78px;border-radius:13px}
  .live-report-sheet.viewer-admin .stat span,
  .live-report-sheet.viewer-guru .stat span{font-size:8px}
  .live-report-sheet.viewer-admin .stat strong,
  .live-report-sheet.viewer-guru .stat strong{font-size:14px}
  .live-report-sheet.viewer-admin thead th,
  .live-report-sheet.viewer-admin .sheet-table th,
  .live-report-sheet.viewer-guru thead th,
  .live-report-sheet.viewer-guru .sheet-table th{padding:8px 6px;font-size:8.5px}
  .live-report-sheet.viewer-admin tbody td,
  .live-report-sheet.viewer-admin .sheet-table td,
  .live-report-sheet.viewer-guru tbody td,
  .live-report-sheet.viewer-guru .sheet-table td{padding:8px 6px;font-size:10px;line-height:1.24}
  .live-report-sheet.viewer-admin td[data-col="name"] strong,
  .live-report-sheet.viewer-guru td[data-col="name"] strong{font-size:10px}
  .live-report-sheet.viewer-admin td[data-col="record"],
  .live-report-sheet.viewer-admin td[data-col="time"],
  .live-report-sheet.viewer-guru td[data-col="record"],
  .live-report-sheet.viewer-guru td[data-col="time"]{font-size:9.5px}
  .live-report-sheet.viewer-admin td[data-col="actions"],
  .live-report-sheet.viewer-admin th[data-col="actions"],
  .live-report-sheet.viewer-guru td[data-col="actions"],
  .live-report-sheet.viewer-guru th[data-col="actions"]{width:64px}
  .live-report-sheet.viewer-admin .presence-status-badge,
  .live-report-sheet.viewer-guru .presence-status-badge{min-height:26px;padding:4px 8px;font-size:8.9px}
  .live-report-sheet.viewer-admin .table-action-btn.icon-only,
  .live-report-sheet.viewer-admin .sheet-action-btn,
  .live-report-sheet.viewer-guru .table-action-btn.icon-only,
  .live-report-sheet.viewer-guru .sheet-action-btn{width:26px;min-width:26px;min-height:26px;height:26px}
}


/* 2026-03-30 v39 final family density alignment for keberadaan_analisis */
.analysis-report-card.analysis-admin-family-card{padding:11px 12px 10px;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border:1px solid #cfdceb;box-shadow:0 14px 30px rgba(15,23,42,.08)}
.analysis-admin-family-card .analysis-admin-filter-toolbar{gap:8px}
.analysis-admin-family-card .analysis-admin-filter-copy{gap:1px}
.analysis-admin-family-card .analysis-admin-filter-title{font-size:.8rem;font-weight:900}
.analysis-admin-family-card .analysis-admin-search-wrap{flex:1 1 290px;min-width:220px}
.analysis-admin-family-card .analysis-admin-search-input{min-height:40px;padding:9px 12px;border-radius:12px;font-size:.86rem;box-shadow:0 6px 14px rgba(15,23,42,.05)}
.analysis-admin-family-card .analysis-admin-reset-btn{min-height:40px;min-width:132px;border-radius:12px}

.analysis-family-sheet{padding:12px;border-radius:26px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border-color:#cfdceb;box-shadow:0 18px 42px rgba(15,23,42,.12)}
.analysis-family-sheet .hero{padding:16px 16px 14px;border-radius:22px;background:linear-gradient(135deg,#11203a 0%,#2452cf 56%,#42b9f6 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);margin-bottom:10px}
.analysis-family-sheet .hero h1{font-size:17px;letter-spacing:-.02em}
.analysis-family-sheet .chips{gap:6px;margin-top:10px}
.analysis-family-sheet .chip{min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.95);border:1px solid #cfdceb;font-size:10px;font-weight:800;color:#334155}
.analysis-family-sheet .analysis-overview-stack{gap:10px;margin-bottom:10px}
.analysis-family-sheet .analysis-report-grid{gap:10px;margin-bottom:10px}
.analysis-family-sheet .analysis-report-card{padding:10px 10px 11px;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border:1px solid #d6e0eb;box-shadow:0 10px 22px rgba(15,23,42,.05)}
.analysis-family-sheet .analysis-summary-card{padding:0;overflow:hidden}
.analysis-family-sheet .analysis-summary-card .analysis-card-head{padding:10px 10px 0;margin-bottom:0}
.analysis-family-sheet .analysis-summary-card .analysis-stats-grid{padding:10px}
.analysis-family-sheet .analysis-card-head{gap:8px;margin-bottom:8px}
.analysis-family-sheet .analysis-card-head h2{font-size:12px;line-height:1.2;color:#081120;font-weight:900}
.analysis-family-sheet .analysis-card-head-tight{align-items:flex-start}
.analysis-family-sheet .analysis-section-kicker{min-height:17px;padding:0 7px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:8.5px;font-weight:900;letter-spacing:.07em;color:#1d4ed8;margin-bottom:5px}
.analysis-family-sheet .analysis-card-badge{min-height:24px;padding:0 9px;border-radius:999px;background:#f8fafc;border:1px solid #dbe3ef;font-size:9px;font-weight:900;color:#334155}
.analysis-family-sheet .stats{gap:8px;margin-bottom:0}
.analysis-family-sheet .stat{padding:10px 10px 9px;min-height:86px;border-radius:14px}
.analysis-family-sheet .stat::before{height:2px;border-radius:14px 14px 0 0}
.analysis-family-sheet .stat span{font-size:8.5px;letter-spacing:.07em}
.analysis-family-sheet .stat strong{margin-top:6px;font-size:16px}
.analysis-family-sheet .analysis-bar-list{gap:8px}
.analysis-family-sheet .analysis-bar-row{gap:5px}
.analysis-family-sheet .analysis-bar-copy{font-size:10px;font-weight:900}
.analysis-family-sheet .analysis-bar-track{height:9px;border-radius:999px}
.analysis-family-sheet .analysis-month-chart{gap:7px;min-height:144px}
.analysis-family-sheet .analysis-month-col{gap:5px}
.analysis-family-sheet .analysis-month-bar-wrap{height:88px;border-radius:12px;padding:5px}
.analysis-family-sheet .analysis-month-bar{max-width:16px;border-radius:999px 999px 8px 8px}
.analysis-family-sheet .analysis-month-value{font-size:9px}
.analysis-family-sheet .analysis-month-label{font-size:9px;line-height:1.15}
.analysis-family-sheet .analysis-reason-list{gap:6px}
.analysis-family-sheet .analysis-reason-chip{min-height:30px;padding:0 10px;border-radius:12px;font-size:10px;font-weight:900}
.analysis-family-sheet .analysis-reason-chip strong{font-size:10px}
.analysis-family-sheet .analysis-table-card{padding:10px}
.analysis-family-sheet .analysis-table-wrap{width:100%}
.analysis-family-sheet table,.analysis-family-sheet .sheet-table{border-radius:16px;overflow:hidden}
.analysis-family-sheet thead th,.analysis-family-sheet .sheet-table th{padding:9px 8px;font-size:9px;letter-spacing:.055em}
.analysis-family-sheet tbody td,.analysis-family-sheet .sheet-table td{padding:9px 8px;font-size:10px;line-height:1.26}
.analysis-family-sheet tbody td strong{font-size:10px;line-height:1.28}
.analysis-family-sheet .identity-debug-panel{margin-top:0;border-radius:18px}
.analysis-family-sheet .identity-debug-panel-head{padding:10px 11px}
.analysis-family-sheet .identity-debug-panel-body{padding:10px 11px 11px}
.analysis-family-sheet .chip-debug{min-height:26px;padding:4px 8px;font-size:9.5px;border-radius:11px}

@media (max-width:767px){
  .analysis-report-card.analysis-admin-family-card{padding:10px 10px 9px;border-radius:20px}
  .analysis-admin-family-card .analysis-admin-search-input{min-height:38px;padding:8px 11px}
  .analysis-admin-family-card .analysis-admin-reset-btn{min-height:38px}
  .analysis-family-sheet{padding:11px;border-radius:24px}
  .analysis-family-sheet .hero{padding:14px 14px 12px;border-radius:20px}
  .analysis-family-sheet .hero h1{font-size:15px}
  .analysis-family-sheet .chip{min-height:26px;padding:0 9px;font-size:9.5px}
  .analysis-family-sheet .analysis-report-card{padding:9px 9px 10px;border-radius:18px}
  .analysis-family-sheet .analysis-summary-card .analysis-card-head{padding:9px 9px 0}
  .analysis-family-sheet .analysis-summary-card .analysis-stats-grid{padding:9px}
  .analysis-family-sheet .analysis-card-head h2{font-size:11px}
  .analysis-family-sheet .analysis-card-badge{min-height:22px;padding:0 8px;font-size:8.5px}
  .analysis-family-sheet .stat{padding:9px 9px 8px;min-height:78px;border-radius:13px}
  .analysis-family-sheet .stat span{font-size:8px}
  .analysis-family-sheet .stat strong{font-size:14px}
  .analysis-family-sheet .analysis-bar-copy{font-size:9.5px}
  .analysis-family-sheet .analysis-month-chart{gap:6px;min-height:132px}
  .analysis-family-sheet .analysis-month-bar-wrap{height:78px;padding:4px}
  .analysis-family-sheet .analysis-month-value,.analysis-family-sheet .analysis-month-label{font-size:8.5px}
  .analysis-family-sheet .analysis-reason-chip{min-height:28px;padding:0 9px;font-size:9.5px}
  .analysis-family-sheet thead th,.analysis-family-sheet .sheet-table th{padding:8px 6px;font-size:8.5px}
  .analysis-family-sheet tbody td,.analysis-family-sheet .sheet-table td{padding:8px 6px;font-size:9.8px;line-height:1.24}
  .analysis-family-sheet tbody td strong{font-size:9.8px}
}

html[data-theme="dark"] .analysis-report-card.analysis-admin-family-card{background:linear-gradient(180deg,#0f172a 0%,#0b1322 100%);border-color:rgba(148,163,184,.16);box-shadow:none}
html[data-theme="dark"] .analysis-family-sheet{background:linear-gradient(180deg,#0f172a 0%,#0b1322 100%);border-color:rgba(148,163,184,.16);box-shadow:none}
html[data-theme="dark"] .analysis-family-sheet .hero{background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#38bdf8 100%);box-shadow:none}
html[data-theme="dark"] .analysis-family-sheet .chip{background:rgba(255,255,255,.06);border-color:rgba(148,163,184,.16);color:#dbeafe}
html[data-theme="dark"] .analysis-family-sheet .analysis-report-card{background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.025) 100%);border-color:rgba(148,163,184,.16);box-shadow:none}
html[data-theme="dark"] .analysis-family-sheet .analysis-card-head h2{color:#e5eefb}
html[data-theme="dark"] .analysis-family-sheet .analysis-section-kicker{background:rgba(37,99,235,.16);border-color:rgba(96,165,250,.22);color:#bfdbfe}
html[data-theme="dark"] .analysis-family-sheet .analysis-card-badge{background:rgba(255,255,255,.05);border-color:rgba(148,163,184,.16);color:#dbeafe}
html[data-theme="dark"] .analysis-family-sheet .analysis-month-bar-wrap{background:rgba(37,99,235,.12);border-color:rgba(96,165,250,.18)}
html[data-theme="dark"] .analysis-family-sheet .analysis-reason-chip{background:rgba(255,255,255,.05);border-color:rgba(148,163,184,.16);color:#dbeafe}
html[data-theme="dark"] .analysis-family-sheet .analysis-reason-chip strong{color:#fff}
html[data-theme="dark"] .analysis-family-sheet table,html[data-theme="dark"] .analysis-family-sheet .sheet-table{background:transparent}

/* 2026-03-30 v40 — susunan header/data laporan keberadaan ikut format Status | Nama Penuh | Dari | Hingga | Rekod | Dari Masa Ke | Hingga Masa Ke */
.live-report-sheet th[data-col="status"],
.live-report-sheet td[data-col="status"]{width:132px}
.live-report-sheet th[data-col="name"],
.live-report-sheet td[data-col="name"]{width:188px}
.live-report-sheet th[data-col="date-from"],
.live-report-sheet td[data-col="date-from"],
.live-report-sheet th[data-col="date-to"],
.live-report-sheet td[data-col="date-to"]{width:96px;white-space:nowrap;font-weight:800;color:#243247}
.live-report-sheet th[data-col="record"],
.live-report-sheet td[data-col="record"]{width:auto}
.live-report-sheet th[data-col="time-from"],
.live-report-sheet td[data-col="time-from"],
.live-report-sheet th[data-col="time-to"],
.live-report-sheet td[data-col="time-to"]{width:104px}
.live-report-sheet th[data-col="actions"],
.live-report-sheet td[data-col="actions"]{width:72px;text-align:center}
.live-report-sheet td[data-col="record"]{font-size:10px;line-height:1.28;color:#243247}
.live-report-sheet td[data-col="date-from"],
.live-report-sheet td[data-col="date-to"],
.live-report-sheet td[data-col="time-from"],
.live-report-sheet td[data-col="time-to"]{font-size:9.8px;line-height:1.2}
.live-report-sheet .presence-time-cell{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.live-report-sheet .presence-time-code{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:22px;padding:0 7px;border-radius:999px;border:1px solid #d8e3ef;background:linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);color:#163756;font-size:10px;font-weight:900;letter-spacing:.02em}
.live-report-sheet .presence-time-label{display:block;color:#5b6d84;font-size:8.7px;font-weight:800;line-height:1.15}
html[data-theme="dark"] .live-report-sheet td[data-col="date-from"],
html[data-theme="dark"] .live-report-sheet td[data-col="date-to"],
html[data-theme="dark"] .live-report-sheet td[data-col="record"],
html[data-theme="dark"] .live-report-sheet td[data-col="time-from"],
html[data-theme="dark"] .live-report-sheet td[data-col="time-to"]{color:#d7e4f7}
html[data-theme="dark"] .live-report-sheet .presence-time-code{border-color:rgba(148,163,184,.2);background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.04) 100%);color:#ecf3ff}
html[data-theme="dark"] .live-report-sheet .presence-time-label{color:#a9bad3}
.live-report-sheet.viewer-admin th[data-col="status"],
.live-report-sheet.viewer-admin td[data-col="status"],
.live-report-sheet.viewer-guru th[data-col="status"],
.live-report-sheet.viewer-guru td[data-col="status"]{width:132px}
.live-report-sheet.viewer-admin th[data-col="name"],
.live-report-sheet.viewer-admin td[data-col="name"],
.live-report-sheet.viewer-guru th[data-col="name"],
.live-report-sheet.viewer-guru td[data-col="name"]{width:188px}
.live-report-sheet.viewer-admin th[data-col="date-from"],
.live-report-sheet.viewer-admin td[data-col="date-from"],
.live-report-sheet.viewer-admin th[data-col="date-to"],
.live-report-sheet.viewer-admin td[data-col="date-to"],
.live-report-sheet.viewer-guru th[data-col="date-from"],
.live-report-sheet.viewer-guru td[data-col="date-from"],
.live-report-sheet.viewer-guru th[data-col="date-to"],
.live-report-sheet.viewer-guru td[data-col="date-to"]{width:96px}
.live-report-sheet.viewer-admin th[data-col="time-from"],
.live-report-sheet.viewer-admin td[data-col="time-from"],
.live-report-sheet.viewer-admin th[data-col="time-to"],
.live-report-sheet.viewer-admin td[data-col="time-to"],
.live-report-sheet.viewer-guru th[data-col="time-from"],
.live-report-sheet.viewer-guru td[data-col="time-from"],
.live-report-sheet.viewer-guru th[data-col="time-to"],
.live-report-sheet.viewer-guru td[data-col="time-to"]{width:104px}
.live-report-sheet.viewer-admin th[data-col="actions"],
.live-report-sheet.viewer-admin td[data-col="actions"],
.live-report-sheet.viewer-guru th[data-col="actions"],
.live-report-sheet.viewer-guru td[data-col="actions"]{width:72px}
@media (max-width: 767px){
  .live-report-sheet th[data-col="status"],
  .live-report-sheet td[data-col="status"],
  .live-report-sheet.viewer-admin th[data-col="status"],
  .live-report-sheet.viewer-admin td[data-col="status"],
  .live-report-sheet.viewer-guru th[data-col="status"],
  .live-report-sheet.viewer-guru td[data-col="status"]{width:112px}
  .live-report-sheet th[data-col="name"],
  .live-report-sheet td[data-col="name"],
  .live-report-sheet.viewer-admin th[data-col="name"],
  .live-report-sheet.viewer-admin td[data-col="name"],
  .live-report-sheet.viewer-guru th[data-col="name"],
  .live-report-sheet.viewer-guru td[data-col="name"]{width:160px}
  .live-report-sheet th[data-col="date-from"],
  .live-report-sheet td[data-col="date-from"],
  .live-report-sheet th[data-col="date-to"],
  .live-report-sheet td[data-col="date-to"],
  .live-report-sheet.viewer-admin th[data-col="date-from"],
  .live-report-sheet.viewer-admin td[data-col="date-from"],
  .live-report-sheet.viewer-admin th[data-col="date-to"],
  .live-report-sheet.viewer-admin td[data-col="date-to"],
  .live-report-sheet.viewer-guru th[data-col="date-from"],
  .live-report-sheet.viewer-guru td[data-col="date-from"],
  .live-report-sheet.viewer-guru th[data-col="date-to"],
  .live-report-sheet.viewer-guru td[data-col="date-to"]{width:88px}
  .live-report-sheet th[data-col="time-from"],
  .live-report-sheet td[data-col="time-from"],
  .live-report-sheet th[data-col="time-to"],
  .live-report-sheet td[data-col="time-to"],
  .live-report-sheet.viewer-admin th[data-col="time-from"],
  .live-report-sheet.viewer-admin td[data-col="time-from"],
  .live-report-sheet.viewer-admin th[data-col="time-to"],
  .live-report-sheet.viewer-admin td[data-col="time-to"],
  .live-report-sheet.viewer-guru th[data-col="time-from"],
  .live-report-sheet.viewer-guru td[data-col="time-from"],
  .live-report-sheet.viewer-guru th[data-col="time-to"],
  .live-report-sheet.viewer-guru td[data-col="time-to"]{width:92px}
  .live-report-sheet th[data-col="actions"],
  .live-report-sheet td[data-col="actions"],
  .live-report-sheet.viewer-admin th[data-col="actions"],
  .live-report-sheet.viewer-admin td[data-col="actions"],
  .live-report-sheet.viewer-guru th[data-col="actions"],
  .live-report-sheet.viewer-guru td[data-col="actions"]{width:64px}
  .live-report-sheet td[data-col="date-from"],
  .live-report-sheet td[data-col="date-to"],
  .live-report-sheet td[data-col="time-from"],
  .live-report-sheet td[data-col="time-to"]{font-size:9.3px}
  .live-report-sheet .presence-time-code{min-width:24px;min-height:20px;padding:0 6px;font-size:9px}
  .live-report-sheet .presence-time-label{font-size:8.1px}
}


/* 2026-03-30 v41 — divider status + mobile fit penuh tanpa scroll kanan kiri */
.live-report-sheet .group-divider-row td,
.live-report-sheet .sheet-table .group-divider-row td{padding:8px 10px;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);border-top:1px solid #d9e7f4;border-bottom:1px solid #d9e7f4}
.live-report-sheet .group-divider-row:hover td,
.live-report-sheet .sheet-table .group-divider-row:hover td{background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%)}
.live-report-sheet .group-divider-pill{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.live-report-sheet .group-divider-pill__label{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#1e3a8a}
.live-report-sheet .group-divider-pill__label::before{content:'';display:inline-block;width:10px;height:10px;border-radius:999px;background:linear-gradient(180deg,#3b82f6 0%,#60a5fa 100%);box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.live-report-sheet .group-divider-pill__count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 9px;border-radius:999px;background:#e8f1ff;border:1px solid #bfd6ff;color:#1d4ed8;font-size:11px;font-weight:900;line-height:1}
.live-report-sheet td[data-col="actions"],.live-report-sheet th[data-col="actions"]{width:66px}
.live-report-sheet td[data-col="status"]{width:112px}
.live-report-sheet td[data-col="date-from"],
.live-report-sheet td[data-col="date-to"],
.live-report-sheet td[data-col="time-from"],
.live-report-sheet td[data-col="time-to"]{font-size:9.8px}
html[data-theme="dark"] .live-report-sheet .group-divider-row td{background:linear-gradient(180deg,rgba(30,64,175,.22) 0%,rgba(15,23,42,.16) 100%);border-top-color:rgba(96,165,250,.22);border-bottom-color:rgba(96,165,250,.22)}
html[data-theme="dark"] .live-report-sheet .group-divider-row:hover td{background:linear-gradient(180deg,rgba(30,64,175,.22) 0%,rgba(15,23,42,.16) 100%)}
html[data-theme="dark"] .live-report-sheet .group-divider-pill__label{color:#dbeafe}
html[data-theme="dark"] .live-report-sheet .group-divider-pill__label::before{box-shadow:0 0 0 3px rgba(96,165,250,.16)}
html[data-theme="dark"] .live-report-sheet .group-divider-pill__count{background:rgba(59,130,246,.18);border-color:rgba(96,165,250,.28);color:#dbeafe}
@media (max-width: 767px){
  .live-report-sheet,
  .live-report-sheet .sheet-table-wrap,
  .live-report-sheet .sheet-table,
  .live-report-sheet table{max-width:100%;width:100%;overflow:hidden}
  .live-report-sheet .sheet-table,
  .live-report-sheet table{table-layout:auto;border-radius:16px;background:transparent;border:none}
  .live-report-sheet thead,
  .live-report-sheet .sheet-table thead{display:none}
  .live-report-sheet tbody,
  .live-report-sheet .sheet-table tbody{display:block;width:100%;padding:0 0 8px}
  .live-report-sheet tbody tr,
  .live-report-sheet .sheet-table tbody tr{display:block;width:100%}
  .live-report-sheet tbody tr.presence-report-row,
  .live-report-sheet .sheet-table tbody tr.presence-report-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px;margin:8px 8px 10px;padding:10px 10px 9px;border:1px solid #dbe6f2;border-radius:14px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 8px 18px rgba(15,23,42,.05)}
  .live-report-sheet tbody tr.presence-report-row:last-child,
  .live-report-sheet .sheet-table tbody tr.presence-report-row:last-child{border-bottom:1px solid #dbe6f2}
  .live-report-sheet tbody tr.presence-report-row td,
  .live-report-sheet .sheet-table tbody tr.presence-report-row td{display:block;padding:0;border-bottom:none;background:transparent !important;min-width:0;width:100%}
  .live-report-sheet tbody tr.presence-report-row td::before,
  .live-report-sheet .sheet-table tbody tr.presence-report-row td::before{content:attr(data-label);display:block;margin-bottom:3px;font-size:8.1px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#64748b;line-height:1.2}
  .live-report-sheet tbody tr.presence-report-row td[data-col="status"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="status"]{order:1;grid-column:1/-1}
  .live-report-sheet tbody tr.presence-report-row td[data-col="status"]::before,
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="status"]::before,
  .live-report-sheet tbody tr.presence-report-row td[data-col="name"]::before,
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="name"]::before{display:none}
  .live-report-sheet tbody tr.presence-report-row td[data-col="name"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="name"]{order:2;grid-column:1/-1}
  .live-report-sheet tbody tr.presence-report-row td[data-col="record"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="record"]{order:3;grid-column:1/-1}
  .live-report-sheet tbody tr.presence-report-row td[data-col="date-from"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="date-from"]{order:4}
  .live-report-sheet tbody tr.presence-report-row td[data-col="date-to"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="date-to"]{order:5}
  .live-report-sheet tbody tr.presence-report-row td[data-col="time-from"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="time-from"]{order:6}
  .live-report-sheet tbody tr.presence-report-row td[data-col="time-to"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="time-to"]{order:7}
  .live-report-sheet tbody tr.presence-report-row td[data-col="actions"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="actions"]{order:8;grid-column:1/-1;padding-top:6px;margin-top:2px;border-top:1px dashed #dbe6f2}
  .live-report-sheet tbody tr.presence-report-row td[data-col="name"] strong,
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="name"] strong{display:block;font-size:10.7px;line-height:1.34;letter-spacing:.01em}
  .live-report-sheet tbody tr.presence-report-row td[data-col="record"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="record"],
  .live-report-sheet tbody tr.presence-report-row td[data-col="date-from"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="date-from"],
  .live-report-sheet tbody tr.presence-report-row td[data-col="date-to"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="date-to"],
  .live-report-sheet tbody tr.presence-report-row td[data-col="time-from"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="time-from"],
  .live-report-sheet tbody tr.presence-report-row td[data-col="time-to"],
  .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="time-to"]{font-size:9.5px;line-height:1.28}
  .live-report-sheet .presence-status-badge{min-height:24px;padding:4px 9px;font-size:8.4px;border-radius:999px;justify-content:flex-start;max-width:100%;text-align:left}
  .live-report-sheet .presence-row-badges{gap:4px;margin-top:5px}
  .live-report-sheet .presence-row-badge{font-size:7.8px;padding:3px 7px;border-radius:999px}
  .live-report-sheet .presence-time-cell{gap:1px}
  .live-report-sheet .presence-time-code{min-width:23px;min-height:19px;padding:0 5px;font-size:8.7px;border-radius:7px}
  .live-report-sheet .presence-time-label{font-size:7.8px;line-height:1.2}
  .live-report-sheet .live-report-actions{justify-content:flex-end;gap:6px}
  .live-report-sheet .table-action-btn.icon-only,.live-report-sheet .sheet-action-btn{width:28px;min-width:28px;min-height:28px;height:28px;border-radius:9px}
  .live-report-sheet .group-divider-row,
  .live-report-sheet .sheet-table .group-divider-row{display:block;width:100%;margin:10px 0 4px}
  .live-report-sheet .group-divider-row td,
  .live-report-sheet .sheet-table .group-divider-row td{display:block;padding:7px 10px;border-radius:12px;background:linear-gradient(180deg,#eff6ff 0%,#e7f0ff 100%);border:1px solid #d5e4ff}
  .live-report-sheet .group-divider-pill{gap:8px}
  .live-report-sheet .group-divider-pill__label{font-size:9px;letter-spacing:.075em}
  .live-report-sheet .group-divider-pill__label::before{width:8px;height:8px}
  .live-report-sheet .group-divider-pill__count{min-width:24px;height:24px;padding:0 8px;font-size:10px}
  html[data-theme="dark"] .live-report-sheet tbody tr.presence-report-row,
  html[data-theme="dark"] .live-report-sheet .sheet-table tbody tr.presence-report-row{border-color:rgba(96,165,250,.18);background:linear-gradient(180deg,rgba(15,23,42,.88) 0%,rgba(17,24,39,.82) 100%);box-shadow:none}
  html[data-theme="dark"] .live-report-sheet tbody tr.presence-report-row td::before,
  html[data-theme="dark"] .live-report-sheet .sheet-table tbody tr.presence-report-row td::before{color:#93a8c3}
  html[data-theme="dark"] .live-report-sheet tbody tr.presence-report-row td[data-col="actions"],
  html[data-theme="dark"] .live-report-sheet .sheet-table tbody tr.presence-report-row td[data-col="actions"]{border-top-color:rgba(148,163,184,.16)}
  html[data-theme="dark"] .live-report-sheet .group-divider-row td,
  html[data-theme="dark"] .live-report-sheet .sheet-table .group-divider-row td{background:linear-gradient(180deg,rgba(30,64,175,.24) 0%,rgba(15,23,42,.2) 100%);border-color:rgba(96,165,250,.22)}
}

/* 2026-03-31 v43 — jadual seragam desktop/smartphone ikut contoh ringkas dan padat */
.live-report-sheet .presence-group-list{display:grid;gap:12px}
.live-report-sheet .presence-group-block{border:1px solid #d6e0eb;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);overflow:hidden}
.live-report-sheet .presence-group-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:linear-gradient(180deg,#f8fafc 0%,#eef4fa 100%);border-bottom:1px solid #dbe5ef}
.live-report-sheet .presence-group-heading h2{margin:0;font-size:11px;line-height:1.15;font-weight:900;letter-spacing:.04em;color:#0f172a;text-transform:uppercase}
.live-report-sheet .presence-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-size:10px;font-weight:900}
.live-report-sheet .presence-empty-note{padding:10px 12px;font-size:10px;font-weight:700;color:#475569}
.live-report-sheet .grouped-report-table{border:none !important;border-radius:0 !important;background:transparent !important}
.live-report-sheet .grouped-report-table col.col-status{width:22%}
.live-report-sheet .grouped-report-table col.col-name{width:34%}
.live-report-sheet .grouped-report-table col.col-time-from{width:17%}
.live-report-sheet .grouped-report-table col.col-time-to{width:17%}
.live-report-sheet .grouped-report-table col.col-actions{width:10%}
.live-report-sheet .grouped-report-table thead th{padding:7px 5px;font-size:8px;line-height:1.1;text-align:left;vertical-align:middle}
.live-report-sheet .grouped-report-table tbody td{padding:7px 5px;font-size:8.2px;line-height:1.15;vertical-align:top}
.live-report-sheet .grouped-report-table td[data-col="name"] strong{display:block;font-size:8.6px;line-height:1.18;letter-spacing:0;font-weight:900}
.live-report-sheet .grouped-report-table td[data-col="time-from"],
.live-report-sheet .grouped-report-table td[data-col="time-to"]{font-size:7.9px;line-height:1.16}
.live-report-sheet .grouped-report-table td[data-col="status"]{font-size:7.9px;line-height:1.16}
.live-report-sheet .grouped-report-table td[data-col="actions"],
.live-report-sheet .grouped-report-table th[data-col="actions"]{text-align:center}
.live-report-sheet .grouped-report-table td[data-col="actions"]{padding-left:3px;padding-right:3px}
.live-report-sheet .presence-status-text{display:block;font-size:7.8px;line-height:1.12;font-weight:900;letter-spacing:.03em;text-transform:uppercase;color:#334155}
.live-report-sheet .presence-status-text.sekolah{color:#0c7a4d}
.live-report-sheet .presence-status-text.luar{color:#1d4ed8}
.live-report-sheet .presence-status-text.cuti{color:#c25b0a}
.live-report-sheet .presence-status-text.rasmi{color:#7a3ded}
.live-report-sheet .presence-status-text.neutral{color:#475569}
.live-report-sheet .presence-row-badges{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}
.live-report-sheet .presence-row-badge{min-height:14px;padding:0 4px;border-radius:999px;font-size:6.6px;letter-spacing:.03em;box-shadow:none}
.live-report-sheet .presence-time-inline{display:block;font-size:7.8px;line-height:1.14;color:inherit}
.live-report-sheet .live-report-actions{display:inline-flex;gap:2px;align-items:center;justify-content:center;width:100%}
.live-report-sheet .table-action-btn.icon-only,
.live-report-sheet .sheet-action-btn{width:16px;min-width:16px;height:16px;min-height:16px;border-radius:5px}
.live-report-sheet .table-action-btn__icon svg{width:8px;height:8px}
.live-report-sheet .table-muted{font-size:7.4px;line-height:1.1}
html[data-theme="dark"] .live-report-sheet .presence-group-block{border-color:rgba(148,163,184,.16);background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,rgba(255,255,255,.02) 100%)}
html[data-theme="dark"] .live-report-sheet .presence-group-heading{background:linear-gradient(180deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,.05) 100%);border-bottom-color:rgba(148,163,184,.17)}
html[data-theme="dark"] .live-report-sheet .presence-group-heading h2{color:#e5efff}
html[data-theme="dark"] .live-report-sheet .presence-group-count{background:rgba(148,163,184,.16);color:#f8fbff}
html[data-theme="dark"] .live-report-sheet .presence-empty-note{color:#d7e4f7}
html[data-theme="dark"] .live-report-sheet .presence-status-text{color:#eaf2ff}
html[data-theme="dark"] .live-report-sheet .presence-status-text.sekolah{color:#bbf7d0}
html[data-theme="dark"] .live-report-sheet .presence-status-text.luar{color:#dbeafe}
html[data-theme="dark"] .live-report-sheet .presence-status-text.cuti{color:#fed7aa}
html[data-theme="dark"] .live-report-sheet .presence-status-text.rasmi{color:#f3e8ff}

@media (max-width: 767px){
  .live-report-sheet .presence-group-list{gap:10px}
  .live-report-sheet .presence-group-block{border-radius:14px}
  .live-report-sheet .presence-group-heading{padding:7px 8px}
  .live-report-sheet .presence-group-heading h2{font-size:9.2px}
  .live-report-sheet .presence-group-count{min-width:18px;height:18px;padding:0 5px;font-size:8px}
  .live-report-sheet .grouped-report-table,
  .live-report-sheet table.grouped-report-table{display:table !important;table-layout:fixed !important;width:100% !important;border:none !important;border-radius:0 !important;background:transparent !important}
  .live-report-sheet .grouped-report-table thead{display:table-header-group !important}
  .live-report-sheet .grouped-report-table tbody{display:table-row-group !important;width:auto !important;padding:0 !important}
  .live-report-sheet .grouped-report-table tr,
  .live-report-sheet .grouped-report-table tbody tr,
  .live-report-sheet .grouped-report-table tbody tr.presence-report-row{display:table-row !important;width:auto !important;margin:0 !important;padding:0 !important;border:none !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important}
  .live-report-sheet .grouped-report-table td,
  .live-report-sheet .grouped-report-table th,
  .live-report-sheet .grouped-report-table tbody tr.presence-report-row td{display:table-cell !important;width:auto !important;min-width:0 !important;padding:6px 4px !important;border-bottom:1px solid rgba(226,232,240,.95) !important;background:transparent !important;vertical-align:top}
  .live-report-sheet .grouped-report-table td::before,
  .live-report-sheet .grouped-report-table tbody tr.presence-report-row td::before{display:none !important;content:none !important}
  .live-report-sheet .grouped-report-table thead th{padding:6px 4px !important;font-size:7px !important;line-height:1.05 !important}
  .live-report-sheet .grouped-report-table tbody td{font-size:7.2px !important;line-height:1.08 !important}
  .live-report-sheet .grouped-report-table td[data-col="name"] strong{font-size:7.5px !important;line-height:1.1 !important}
  .live-report-sheet .grouped-report-table td[data-col="time-from"],
  .live-report-sheet .grouped-report-table td[data-col="time-to"]{font-size:6.9px !important;line-height:1.08 !important}
  .live-report-sheet .grouped-report-table td[data-col="status"]{font-size:6.9px !important;line-height:1.08 !important}
  .live-report-sheet .presence-status-text{font-size:6.8px;line-height:1.04}
  .live-report-sheet .presence-row-badges{gap:2px;margin-top:2px}
  .live-report-sheet .presence-row-badge{min-height:12px;padding:0 3px;font-size:5.8px}
  .live-report-sheet .presence-time-inline{font-size:6.8px;line-height:1.05}
  .live-report-sheet .table-action-btn.icon-only,
  .live-report-sheet .sheet-action-btn{width:14px;min-width:14px;height:14px;min-height:14px;border-radius:4px}
  .live-report-sheet .table-action-btn__icon svg{width:7px;height:7px}
  .live-report-sheet .live-report-actions{gap:1px}
  html[data-theme="dark"] .live-report-sheet .grouped-report-table td,
  html[data-theme="dark"] .live-report-sheet .grouped-report-table th,
  html[data-theme="dark"] .live-report-sheet .grouped-report-table tbody tr.presence-report-row td{border-bottom-color:rgba(148,163,184,.14) !important}
}

.live-report-sheet .grouped-report-table td[data-col="name"] .record-origin-badge{margin-top:4px;transform:scale(.94);transform-origin:left top}
.live-report-sheet .grouped-report-table .presence-status-text{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:4px 6px;font-size:7.2px;line-height:1.08;text-align:center;word-break:normal;overflow-wrap:break-word}
.live-report-sheet .grouped-report-table .live-report-actions{justify-content:center}
.live-report-sheet .grouped-report-table .sheet-action-btn{width:22px;height:22px;min-width:22px;padding:0}
@media (max-width: 640px){
  .live-report-sheet .grouped-report-table .presence-status-text{min-height:20px;padding:3px 5px;font-size:6.7px}
  .live-report-sheet .grouped-report-table td[data-col="name"] strong{font-size:7.3px !important;line-height:1.08 !important}
}

.live-report-sheet .presence-row-badge.note{min-height:16px}
@media (max-width: 640px){.live-report-sheet .presence-row-badge.note{font-size:5.8px;padding:2px 5px;line-height:1.1}}


.content-card,.submenu-group,.admin-menu-link,.user-row,.schedule-card,.exam-section-block,.analysis-card,.presence-card{content-visibility:auto;contain-intrinsic-size:280px;}
.nav-item,.submenu-tile,.admin-menu-link,.btn,.icon-btn{will-change:transform;}
.nav-item:active,.submenu-tile:active,.admin-menu-link:active,.btn:active,.icon-btn:active{transform:scale(.988);}
#shellAvatar{background:rgba(255,255,255,.06);}
#shellAvatar[src$="avatar-placeholder.svg"]{padding:0;}


.record-note-admin-page-card{gap:14px}
.record-note-admin-section{display:grid;gap:10px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,var(--card) 0%,var(--card-soft) 100%)}
html[data-theme='dark'] .record-note-admin-section{background:linear-gradient(180deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 100%)}
.record-note-admin-form{gap:12px}
.record-note-admin-card.is-inactive{opacity:.94}
.record-note-admin-card.is-inactive .data-manager-avatar{background:rgba(185,28,28,.08);border-color:rgba(185,28,28,.16)}


.koko-check-page-card{display:flex;flex-direction:column;gap:10px;padding-top:12px}
.koko-check-page-card.analysis-family-sheet{gap:10px}
.koko-check-page-card .admin-page-head{margin-bottom:2px}
.koko-check-page-card .admin-page-title{font-size:1.04rem;letter-spacing:-.018em;font-weight:900}
.koko-check-page-card .admin-page-meta{gap:6px}
.koko-hero-badge{min-height:28px;padding:0 10px;border-radius:999px}
.koko-panel-card{gap:9px;padding:12px 12px 13px;border-radius:20px}
.koko-panel-head{align-items:flex-start;padding-bottom:2px}
.koko-panel-head h2{margin:2px 0 0;font-size:.96rem;letter-spacing:-.012em;font-weight:900;color:var(--text)}
.koko-role-badge{align-self:flex-start}
.koko-search-btn{min-width:132px;min-height:44px;border-radius:14px;font-size:.84rem;font-weight:900;letter-spacing:.02em;box-shadow:0 12px 24px rgba(37,99,235,.18)}
.koko-search-btn:hover{transform:translateY(-1px)}
html[data-theme='dark'] .koko-search-btn{box-shadow:none}

.koko-check-form-stack{gap:9px}
.koko-check-inline-note{font-size:.76rem;font-weight:800;color:var(--muted);line-height:1.42;padding:9px 11px;border-radius:14px;border:1px solid #d6e0eb;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
html[data-theme='dark'] .koko-check-inline-note{background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.025) 100%);border-color:rgba(148,163,184,.16)}
.koko-sync-actions.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}
.koko-preview-list,.koko-result-list{display:grid;grid-template-columns:1fr;gap:8px}
.koko-preview-card,.koko-result-card{padding:11px 11px 12px;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border:1px solid #d6e0eb;box-shadow:0 10px 22px rgba(15,23,42,.05);display:grid;gap:8px}
html[data-theme='dark'] .koko-preview-card,html[data-theme='dark'] .koko-result-card{background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.025) 100%);border-color:rgba(148,163,184,.16);box-shadow:none}
.koko-preview-card strong,.koko-result-title{font-size:.92rem;font-weight:900;letter-spacing:-.012em;color:var(--text);line-height:1.24}
.koko-preview-card span,.koko-result-sub{font-size:.78rem;font-weight:800;color:var(--muted);line-height:1.4}
.koko-preview-card small{font-size:.73rem;color:var(--muted);line-height:1.35}
.koko-search-row{align-items:stretch}
.koko-search-row .btn{min-width:120px}
.koko-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:7px;border-bottom:1px solid #dbe3ef}
html[data-theme='dark'] .koko-result-head{border-bottom-color:rgba(148,163,184,.16)}
.koko-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.koko-result-grid>div{padding:10px 11px;border-radius:14px;border:1px solid #dbe3ef;background:#f8fafc;display:grid;gap:3px}
html[data-theme='dark'] .koko-result-grid>div{background:rgba(255,255,255,.05);border-color:rgba(148,163,184,.16)}
.koko-result-grid span{font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.koko-result-grid strong{font-size:.79rem;font-weight:900;color:var(--text);line-height:1.35;overflow-wrap:anywhere}

.koko-empty-state{display:grid;gap:7px;justify-items:start;text-align:left;padding:12px 12px 13px;border-radius:18px;border:1px dashed #cbd5e1;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);color:#475569}
.koko-empty-state strong{font-size:.92rem;line-height:1.22;letter-spacing:-.012em;color:#081120}
.koko-empty-state span{font-size:.76rem;line-height:1.42;font-weight:800;color:#64748b}
.koko-empty-state-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:8.5px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#1d4ed8}
html[data-theme='dark'] .koko-empty-state{background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.025) 100%);border-color:rgba(148,163,184,.16);color:#cbd5e1}
html[data-theme='dark'] .koko-empty-state strong{color:#e5eefb}
html[data-theme='dark'] .koko-empty-state span{color:#94a3b8}
html[data-theme='dark'] .koko-empty-state-badge{background:rgba(37,99,235,.16);border-color:rgba(96,165,250,.22);color:#bfdbfe}
@media (max-width:767px){.koko-sync-actions.three-col{grid-template-columns:1fr}.koko-search-row{flex-wrap:wrap}.koko-search-row .btn{width:100%}.koko-result-grid{grid-template-columns:1fr}}

.koko-gender-badge{min-height:28px;padding:0 10px;border-radius:999px;font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.koko-gender-badge.male{background:linear-gradient(180deg,#eaf3ff 0%,#d9ebff 100%);border-color:#9dc5ff;color:#1d4ed8}
.koko-gender-badge.female{background:linear-gradient(180deg,#fdf2f8 0%,#fce7f3 100%);border-color:#f9a8d4;color:#be185d}
.koko-gender-badge.neutral{background:#f8fafc;border-color:#dbe3ef;color:#334155}
.koko-result-card .analysis-card-badge{box-shadow:none}
.koko-panel-card .analysis-card-head{margin-bottom:2px}
.koko-panel-card .analysis-section-kicker{margin-bottom:2px}
@media (max-width:767px){.koko-panel-card{padding:10px 10px 11px;border-radius:18px}.koko-check-page-card .admin-page-title{font-size:.98rem}.koko-panel-head h2{font-size:.92rem}.koko-search-btn{width:100%;min-height:42px;border-radius:13px}.koko-hero-badge,.koko-role-badge,.koko-gender-badge{min-height:24px;padding:0 8px;font-size:8.8px}.koko-result-head{gap:8px;padding-bottom:6px}.koko-preview-list,.koko-result-list{gap:7px}.koko-empty-state{padding:11px 11px 12px;border-radius:16px}.koko-empty-state strong{font-size:.88rem}.koko-empty-state span{font-size:.74rem}}

/* 2026-04-01 v2 — Jadual PdP Hari Ini + Relief Home */
.home-pdp-card{display:grid;gap:12px;padding:14px;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #dbe6f3;box-shadow:0 12px 28px rgba(15,23,42,.08);margin-bottom:16px}
.home-pdp-card__head{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px}
.home-pdp-debug-btn{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid #dbe3ef;background:#f8fafc;font-size:10px;font-weight:900;letter-spacing:.05em;color:#334155;white-space:nowrap}
.home-pdp-debug-btn[hidden]{display:none !important}
.home-pdp-debug-panel{display:grid;gap:8px;padding:12px;border-radius:18px;background:#0f172a;border:1px solid rgba(148,163,184,.22)}
.home-pdp-debug-panel[hidden]{display:none !important}
.home-pdp-debug-panel__head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-pdp-debug-panel__head strong{font-size:11px;line-height:1.2;color:#f8fafc;letter-spacing:.04em;text-transform:uppercase}
.home-pdp-debug-panel__state{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:9px;font-weight:900;letter-spacing:.04em;color:#e2e8f0;white-space:nowrap}
.home-pdp-debug-panel__pre{margin:0;max-height:260px;overflow:auto;padding:12px;border-radius:14px;background:rgba(2,6,23,.78);border:1px solid rgba(148,163,184,.18);font-size:10.5px;line-height:1.45;color:#dbeafe;white-space:pre-wrap;word-break:break-word}
.home-pdp-card__head-main{display:grid;gap:7px;min-width:0}
.home-pdp-card__kicker{display:inline-flex;align-items:center;min-height:18px;padding:0 8px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#1d4ed8;margin-bottom:6px}
.home-pdp-card__head h2{margin:0;font-size:17px;line-height:1.15;color:#0f172a}
.home-pdp-card__meta{display:block;color:var(--muted)}
.home-pdp-card__link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;background:#f8fafc;border:1px solid #dbe3ef;font-size:11px;font-weight:900;color:#334155;text-decoration:none;white-space:nowrap}
.home-pdp-card__legend{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.home-pdp-card__legend[hidden]{display:none !important}
.home-pdp-card__legend-item{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;border:1px solid #dbeafe;background:#eff6ff;font-size:9px;font-weight:900;letter-spacing:.04em;color:#1d4ed8;white-space:nowrap}
.home-pdp-card__legend-item--normal{background:#eff6ff;border-color:#dbeafe;color:#1d4ed8}
.home-pdp-card__legend-item--incomplete{background:#f8fafc;border-color:#dbe3ef;color:#475569}
.home-pdp-card__legend-item--candidate{background:#fffbeb;border-color:#fde68a;color:#b45309}
.home-pdp-card__legend-item--official{background:#ecfdf5;border-color:#86efac;color:#15803d}
html[data-theme="light"] .home-pdp-debug-panel{background:#f8fbff;border-color:#dbe6f3}
html[data-theme="light"] .home-pdp-debug-panel__head strong{color:#0f172a}
html[data-theme="light"] .home-pdp-debug-panel__state{background:#eff6ff;border-color:#dbeafe;color:#1d4ed8}
html[data-theme="light"] .home-pdp-debug-panel__pre{background:#ffffff;border-color:#dbe6f2;color:#0f172a}
.home-pdp-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home-pdp-summary-card{padding:11px 12px;border-radius:16px;background:#f8fafc;border:1px solid #dbe6f2;display:grid;gap:6px;min-width:0}
.home-pdp-summary-card__label{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.home-pdp-summary-card__value{font-size:15px;line-height:1.1;font-weight:900;color:#0f172a;overflow-wrap:anywhere}
.home-pdp-slot-list{display:grid;gap:10px}
.home-pdp-slot-row{display:grid;grid-template-columns:minmax(0,138px) minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px 13px;border-radius:18px;background:#fff;border:1px solid #dbe6f2;box-shadow:0 8px 18px rgba(15,23,42,.05)}
.home-pdp-slot-row--incomplete{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border-color:#cbd5e1}
.home-pdp-slot-row--candidate{background:linear-gradient(180deg,#fffef5 0%,#fffbeb 100%);border-color:#fde68a}
.home-pdp-slot-row--official{background:linear-gradient(180deg,#f7fff9 0%,#ecfdf5 100%);border-color:#86efac}
.home-pdp-slot-row--replacement{box-shadow:0 10px 20px rgba(15,23,42,.08)}
.home-pdp-slot-row--timeline-past{opacity:.45;filter:saturate(.72);box-shadow:none}
.home-pdp-slot-row--timeline-past .home-pdp-slot-row__copy strong,.home-pdp-slot-row--timeline-past .home-pdp-slot-row__copy span{color:#64748b}
.home-pdp-slot-row--timeline-current{position:relative;border-color:#38bdf8;background:linear-gradient(180deg,#f0fbff 0%,#e0f2fe 100%);box-shadow:0 12px 26px rgba(14,165,233,.18),0 0 0 1px rgba(56,189,248,.22)}
.home-pdp-slot-row--timeline-current::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 999px 999px 0;background:#0ea5e9}
.home-pdp-slot-row--timeline-next{border-color:#facc15;background:linear-gradient(180deg,#fffef7 0%,#fffbeb 100%);box-shadow:0 10px 22px rgba(234,179,8,.14)}
.home-pdp-slot-row__time{display:grid;gap:5px;align-content:start;font-size:11px;font-weight:900;color:#1d4ed8;line-height:1.35;white-space:nowrap;padding-top:2px}
.home-pdp-slot-row__timeline{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:104px;min-height:20px;padding:0 7px;border-radius:999px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-size:9px;font-weight:900;line-height:1;text-align:center;white-space:nowrap}
.home-pdp-slot-row__timeline--past{background:#f1f5f9;border-color:#e2e8f0;color:#64748b}
.home-pdp-slot-row__timeline--current{background:#0ea5e9;border-color:#0284c7;color:#fff;box-shadow:0 8px 16px rgba(14,165,233,.18)}
.home-pdp-slot-row__timeline--next{background:#fef3c7;border-color:#facc15;color:#92400e}
.home-pdp-slot-row__copy{display:grid;gap:4px;min-width:0;align-content:start}
.home-pdp-slot-row__copy strong{font-size:12.5px;line-height:1.28;color:#0f172a;overflow-wrap:anywhere}
.home-pdp-slot-row__copy span{font-size:10.5px;line-height:1.35;color:#64748b;overflow-wrap:anywhere}
.home-pdp-slot-row--replacement .home-pdp-slot-row__copy strong{letter-spacing:.03em}
.home-pdp-slot-row__remark{display:block;font-size:10px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}
.home-pdp-slot-row__remark--normal{color:#64748b}
.home-pdp-slot-row__remark--incomplete{color:#475569}
.home-pdp-slot-row__remark--candidate{color:#a16207}
.home-pdp-slot-row__remark--official{color:#15803d}
.home-pdp-slot-row__badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eff6ff;border:1px solid #dbeafe;font-size:10px;font-weight:900;color:#1d4ed8;max-width:160px;text-align:center;overflow-wrap:anywhere;white-space:normal}
.home-pdp-slot-row__badge--normal{background:#eff6ff;border-color:#dbeafe;color:#1d4ed8}
.home-pdp-slot-row__badge--incomplete{background:#f8fafc;border-color:#dbe3ef;color:#475569}
.home-pdp-slot-row__badge--candidate{background:#fffbeb;border-color:#fde68a;color:#b45309}
.home-pdp-slot-row__badge--official{background:#ecfdf5;border-color:#86efac;color:#15803d}
.home-pdp-empty-state{padding:14px;border-radius:18px;border:1px dashed #c9d7e8;background:#f8fbff;display:grid;gap:5px;text-align:left}
.home-pdp-empty-state strong{font-size:12px;line-height:1.3;color:#0f172a}
.home-pdp-empty-state span{font-size:10.5px;line-height:1.45;color:#64748b}
@media (max-width:640px){
  .home-live-card{padding:13px;border-radius:20px}
  .home-live-main{grid-template-columns:minmax(0,1fr);gap:10px}
  .home-live-title h1{font-size:1rem}
  .home-live-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-pdp-card{padding:13px;border-radius:20px}
  .home-pdp-card__head{flex-direction:row;align-items:flex-start}
  .home-pdp-card__head h2{font-size:16px}
  .home-pdp-card__meta{font-size:10.5px}
  .home-pdp-card__link{min-height:32px;padding:0 11px;font-size:10.5px}
  .home-pdp-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-pdp-summary-card{padding:10px 11px}
  .home-pdp-summary-card__value{font-size:13.5px}
  .home-pdp-card__legend{gap:5px}
  .home-pdp-card__legend-item{min-height:22px;padding:0 8px;font-size:8.5px}
  .home-pdp-slot-row{grid-template-columns:minmax(0,104px) minmax(0,1fr) minmax(0,112px);gap:8px;padding:11px 12px}
  .home-pdp-slot-row__time{font-size:10.5px;gap:4px}
  .home-pdp-slot-row__timeline{max-width:86px;min-height:18px;padding:0 6px;font-size:8.4px}
  .home-pdp-slot-row__copy strong{font-size:11.5px}
  .home-pdp-slot-row__remark{font-size:9.5px}
  .home-pdp-slot-row__badge{max-width:112px;min-height:26px;padding:0 8px;font-size:9.2px;justify-content:center}
.home-pdp-debug-btn{min-height:28px;padding:0 9px;font-size:9.2px}
.home-pdp-debug-panel__pre{max-height:220px;font-size:9.8px}
}
html[data-theme="dark"] .home-pdp-card{background:linear-gradient(180deg,rgba(15,23,42,.92) 0%,rgba(15,23,42,.84) 100%);border-color:rgba(148,163,184,.16);box-shadow:none}
html[data-theme="dark"] .home-pdp-debug-btn{background:rgba(255,255,255,.06);border-color:rgba(148,163,184,.16);color:#e5eefb}
html[data-theme="dark"] .home-pdp-debug-panel{background:rgba(2,6,23,.76);border-color:rgba(148,163,184,.16)}
html[data-theme="dark"] .home-pdp-debug-panel__pre{background:rgba(2,6,23,.94);border-color:rgba(148,163,184,.16);color:#dbeafe}
html[data-theme="dark"] .home-pdp-card__kicker{background:rgba(37,99,235,.16);border-color:rgba(96,165,250,.24);color:#bfdbfe}
html[data-theme="dark"] .home-pdp-card__head h2{color:#e5eefb}
html[data-theme="dark"] .home-pdp-card__meta{color:#93a8c3}
html[data-theme="dark"] .home-pdp-card__link{background:rgba(255,255,255,.06);border-color:rgba(148,163,184,.16);color:#e5eefb}
html[data-theme="dark"] .home-pdp-card__legend-item--normal{background:rgba(37,99,235,.18);border-color:rgba(96,165,250,.22);color:#dbeafe}
html[data-theme="dark"] .home-pdp-card__legend-item--incomplete{background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.22);color:#dbe6f3}
html[data-theme="dark"] .home-pdp-card__legend-item--candidate{background:rgba(245,158,11,.16);border-color:rgba(245,158,11,.28);color:#fde68a}
html[data-theme="dark"] .home-pdp-card__legend-item--official{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.28);color:#bbf7d0}
html[data-theme="dark"] .home-pdp-summary-card{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.14)}
html[data-theme="dark"] .home-pdp-summary-card__label{color:#93a8c3}
html[data-theme="dark"] .home-pdp-summary-card__value{color:#f8fbff}
html[data-theme="dark"] .home-pdp-slot-row{background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.14);box-shadow:none}
html[data-theme="dark"] .home-pdp-slot-row--incomplete{background:linear-gradient(180deg,rgba(71,85,105,.18) 0%,rgba(30,41,59,.08) 100%);border-color:rgba(148,163,184,.28)}
html[data-theme="dark"] .home-pdp-slot-row--candidate{background:linear-gradient(180deg,rgba(245,158,11,.16) 0%,rgba(120,53,15,.08) 100%);border-color:rgba(245,158,11,.28)}
html[data-theme="dark"] .home-pdp-slot-row--official{background:linear-gradient(180deg,rgba(34,197,94,.14) 0%,rgba(20,83,45,.08) 100%);border-color:rgba(34,197,94,.28)}
html[data-theme="dark"] .home-pdp-slot-row--timeline-past{opacity:.48;filter:saturate(.75)}
html[data-theme="dark"] .home-pdp-slot-row--timeline-current{background:linear-gradient(180deg,rgba(14,165,233,.22) 0%,rgba(30,41,59,.58) 100%);border-color:rgba(56,189,248,.55);box-shadow:0 12px 26px rgba(14,165,233,.16)}
html[data-theme="dark"] .home-pdp-slot-row--timeline-next{background:linear-gradient(180deg,rgba(250,204,21,.16) 0%,rgba(30,41,59,.5) 100%);border-color:rgba(250,204,21,.36)}
html[data-theme="dark"] .home-pdp-slot-row__time{color:#bfdbfe}
html[data-theme="dark"] .home-pdp-slot-row__timeline--past{background:rgba(148,163,184,.14);border-color:rgba(148,163,184,.2);color:#cbd5e1}
html[data-theme="dark"] .home-pdp-slot-row__timeline--current{background:#0284c7;border-color:#38bdf8;color:#fff}
html[data-theme="dark"] .home-pdp-slot-row__timeline--next{background:rgba(250,204,21,.18);border-color:rgba(250,204,21,.4);color:#fde68a}
html[data-theme="dark"] .home-pdp-slot-row__copy strong{color:#f8fbff}
html[data-theme="dark"] .home-pdp-slot-row__copy span{color:#c7d5e7}
html[data-theme="dark"] .home-pdp-slot-row__remark--normal{color:#c7d5e7}
html[data-theme="dark"] .home-pdp-slot-row__remark--incomplete{color:#dbe6f3}
html[data-theme="dark"] .home-pdp-slot-row__remark--candidate{color:#fde68a}
html[data-theme="dark"] .home-pdp-slot-row__remark--official{color:#bbf7d0}
html[data-theme="dark"] .home-pdp-slot-row__badge--normal{background:rgba(37,99,235,.18);border-color:rgba(96,165,250,.22);color:#dbeafe}
html[data-theme="dark"] .home-pdp-slot-row__badge--incomplete{background:rgba(148,163,184,.12);border-color:rgba(148,163,184,.22);color:#dbe6f3}
html[data-theme="dark"] .home-pdp-slot-row__badge--candidate{background:rgba(245,158,11,.16);border-color:rgba(245,158,11,.28);color:#fde68a}
html[data-theme="dark"] .home-pdp-slot-row__badge--official{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.28);color:#bbf7d0}
html[data-theme="dark"] .home-pdp-empty-state{background:rgba(255,255,255,.03);border-color:rgba(148,163,184,.18)}
html[data-theme="dark"] .home-pdp-empty-state strong{color:#e5eefb}
html[data-theme="dark"] .home-pdp-empty-state span{color:#c7d5e7}


/* v13: Sembunyi menu Perancangan Takwim Sekolah untuk guru apabila paparan smartphone dikesan.
   JS app-page.js sudah filter tile ini; CSS ini ialah guard tambahan jika cache/resize masih melukis tile lama. */
html[data-roses-role="guru"][data-roses-viewport="smartphone"] .submenu-tile[data-menu-key="takwim_pengurusan_unit"]{
  display:none!important;
}

/* ROSES v19.10 — Home APK button responsive hotfix */
.home-live-mini-row{width:100%;max-width:100%;box-sizing:border-box;display:grid;grid-template-columns:max-content minmax(210px,1fr);align-items:stretch;gap:8px}
.home-live-mini-grid{display:grid;grid-template-columns:max-content max-content;gap:8px;min-width:0}
.home-live-mini--day{width:124px;box-sizing:border-box}
.home-live-mini--week{width:92px;box-sizing:border-box}
.home-apk-cta{min-height:62px;box-sizing:border-box}
@media (max-width:560px){
  .home-live-divider{width:45%}
  .home-live-mini-row{grid-template-columns:1fr;gap:8px}
  .home-live-mini-grid{grid-template-columns:max-content max-content;justify-content:start;width:100%}
  .home-live-mini--day{width:126px}
  .home-live-mini--week{width:96px}
  .home-apk-cta{width:100%;max-width:100%;min-height:58px;justify-content:flex-start;padding:8px 10px;border-radius:18px}
  .home-apk-cta__play{width:42px;height:42px;flex:0 0 42px}
  .home-apk-cta__copy{flex:0 0 auto}
  .home-apk-cta__divider{flex:0 0 1px}
  .home-apk-cta__brand{flex:1;min-width:0;justify-content:center}
  .home-apk-cta__brand img{height:24px;max-width:100%;object-fit:contain}
}
@media (max-width:380px){
  .home-live-mini--day{width:118px}
  .home-live-mini--week{width:88px}
  .home-apk-cta__play{width:38px;height:38px;flex-basis:38px}
  .home-apk-cta__play svg{width:26px;height:26px}
  .home-apk-cta__title{font-size:1.22rem}
  .home-apk-cta__label{font-size:.5rem}
  .home-apk-cta__brand img{height:21px}
}


/* ROSES v19.13 — Multi-platform install banner: mobile-first, ringkas, jelas */
.home-install-banner{position:relative;flex:1;min-width:0;display:grid;gap:8px;padding:8px;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,rgba(17,24,39,.98) 0%,rgba(18,44,96,.96) 50%,rgba(2,14,38,.98) 100%);border:1px solid rgba(56,189,248,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 10px 24px rgba(2,6,23,.22);box-sizing:border-box;min-height:62px}
.home-install-banner::before{content:"";position:absolute;inset:2px;border-radius:18px;border:1px solid rgba(255,255,255,.10);pointer-events:none}
.home-install-banner::after{content:"";position:absolute;left:10px;right:10px;top:3px;height:16px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.30),rgba(255,255,255,0));opacity:.55;pointer-events:none}
.home-install-banner__brand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 10px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.15);z-index:1}
.home-install-banner__brand img{display:block;width:88px;height:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.22))}
.home-install-banner__brand span{font-size:.58rem;font-weight:1000;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.92);line-height:1;white-space:nowrap}
.home-install-banner__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0;z-index:1}
.home-install-platform{display:flex;align-items:center;gap:7px;min-width:0;padding:9px 8px;border-radius:15px;color:#fff;text-decoration:none;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.10);transition:transform .14s ease,filter .14s ease}
.home-install-platform:active{transform:translateY(1px) scale(.99)}
.home-install-platform__icon{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;color:#eaf4ff}
.home-install-platform__icon svg{width:26px;height:26px;display:block;filter:drop-shadow(0 2px 5px rgba(0,0,0,.2))}
.home-install-platform span:last-child{display:grid;gap:2px;min-width:0;line-height:1}
.home-install-platform b{font-size:.60rem;font-weight:1000;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.home-install-platform em{font-size:.46rem;font-style:normal;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme="light"] .home-install-banner{background:linear-gradient(135deg,#fdfefe 0%,#eff6ff 48%,#ffffff 100%);border-color:rgba(37,99,235,.30);box-shadow:inset 0 0 0 1px rgba(59,130,246,.18),0 12px 22px rgba(15,23,42,.10)}
html[data-theme="light"] .home-install-banner::before{border-color:rgba(59,130,246,.18)}
html[data-theme="light"] .home-install-banner__brand{background:linear-gradient(180deg,#ffffff,#eef5ff);border-color:rgba(15,23,42,.08)}
html[data-theme="light"] .home-install-banner__brand span{color:#1d4ed8}
html[data-theme="light"] .home-install-platform{background:linear-gradient(180deg,#ffffff,#eef5ff);border-color:rgba(15,23,42,.08);color:#0f3ea8}
html[data-theme="light"] .home-install-platform__icon{color:#1d4ed8}
html[data-theme="light"] .home-install-platform b{color:#0f3ea8}
html[data-theme="light"] .home-install-platform em{color:#64748b}
@media (min-width:561px){
  .home-install-banner{grid-template-columns:108px minmax(0,1fr);align-items:stretch}
  .home-install-banner__brand{flex-direction:column;justify-content:center;padding:8px 6px}
  .home-install-banner__brand img{width:86px}
  .home-install-banner__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .home-install-platform{justify-content:center;flex-direction:column;gap:4px;padding:8px 4px;min-height:56px}
  .home-install-platform__icon{width:24px;height:24px;flex-basis:24px}
  .home-install-platform__icon svg{width:24px;height:24px}
  .home-install-platform b{font-size:.54rem;text-align:center}
  .home-install-platform em{font-size:.41rem;text-align:center}
}
@media (max-width:380px){
  .home-install-banner{padding:7px}
  .home-install-banner__brand{padding:7px 8px}
  .home-install-banner__brand img{width:82px}
  .home-install-platform{padding:8px 7px}
  .home-install-platform__icon,.home-install-platform__icon svg{width:24px;height:24px}
  .home-install-platform b{font-size:.56rem}
  .home-install-platform em{font-size:.43rem}
}


/* ROSES v19.14 — Home install layout exact: 50% + 50%, banner 100% */
.home-live-mini-row{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  align-items:stretch!important;
}
.home-live-mini-grid{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  justify-content:stretch!important;
}
.home-live-mini,
.home-live-mini--day,
.home-live-mini--week{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.home-install-banner{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.home-live-mini-label{font-size:.56rem}
.home-live-mini-value{font-size:1.45rem}
@media (max-width:380px){
  .home-live-mini-grid{gap:8px!important}
  .home-live-mini{padding:9px 10px 8px!important}
  .home-live-mini-label{font-size:.52rem}
  .home-live-mini-value{font-size:1.36rem}
}

/* ROSES v24EEF - home online count card */
.home-live-mini-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.home-live-mini--online{
  width:auto!important;
}
.home-live-mini--online .home-live-mini-value{
  color:#7dd3fc;
}
html[data-theme="light"] .home-live-mini--online .home-live-mini-value{
  color:#0369a1;
}
@media (max-width:380px){
  .home-live-mini-label{font-size:.49rem}
  .home-live-mini-value{font-size:1.24rem}
}

/* ROSES v19.39 — APK native UX: install/download banner only appears on web browser */
html.is-roses-native-apk .home-install-banner,
html[data-runtime="native-apk"] .home-install-banner,
html.is-roses-native-apk .home-apk-cta,
html[data-runtime="native-apk"] .home-apk-cta{display:none!important}


/* v19.326: Home Telegram card CSS moved to lazy app-only file: home-telegram-card.css */

/* v19.326: Birthday and Teachers Day popup CSS moved to lazy files: roses-birthday-card.css and roses-teachersday-card.css */


/* v24EGF · Profile required service year */
.profile-service-year-required{
  border:1px solid rgba(14,116,144,.24);
  background:linear-gradient(180deg,rgba(236,254,255,.92),rgba(255,255,255,.96));
  border-radius:18px;
  padding:12px;
}
.profile-service-year-required .required-star{
  color:#dc2626;
  font-weight:900;
}
.profile-service-year-required input#profileServiceYear{
  font-weight:900;
  letter-spacing:.04em;
}
.profile-service-date-note{
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:800;
  color:#0f766e;
}
