@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#1d2340;--muted:#81869e;--line:#eceef5;--purple:#635bda;--bg:#f7f8fc}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);font-size:14px}a{text-decoration:none;color:inherit}.app{min-height:100vh}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;overflow-y:auto;background:#fff;border-right:1px solid var(--line);padding:25px 17px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 32px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#766bf1,#5047bd);color:#fff;display:grid;place-items:center;font-weight:800;font-family:'Plus Jakarta Sans';letter-spacing:-1px;box-shadow:0 6px 14px #655cda35}.brand b{display:block;font-size:17px;font-family:'Plus Jakarta Sans'}.brand small{color:var(--muted);font-size:11px}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.1px;color:#a1a5b8;padding:15px 12px 8px}.nav{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#777d97;font-weight:600;margin:2px 0;transition:.2s}.nav span{width:20px;text-align:center;font-size:17px}.nav:hover,.nav.active{background:#f0efff;color:var(--purple)}.sidebar-bottom{margin-top:24px;border-top:1px solid var(--line);padding:17px 5px 0}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;background:#eeeaff;color:#5d53cb;display:grid;place-items:center;font-weight:800}.user-chip b{font-size:12px;display:block}.user-chip small{font-size:11px;color:var(--muted)}.logout{display:block;color:#888da3;font-size:12px;padding:14px 4px 0}.main{margin-left:250px;padding:29px 34px;max-width:1700px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:800;color:#8a8da7;margin:0 0 6px}.topbar h2{font:800 25px 'Plus Jakarta Sans';margin:0;letter-spacing:-.8px}.top-right{display:flex;align-items:center;gap:17px}.date-pill,.live-pill{border:1px solid var(--line);background:#fff;border-radius:20px;padding:9px 13px;color:#6f7590;font-size:11px}.small-avatar{width:34px;height:34px}.welcome{background:linear-gradient(110deg,#5b54ce,#8278ef);border-radius:18px;padding:28px 32px;color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;min-height:205px;box-shadow:0 12px 30px #665ddd20}.welcome h1{font:800 25px 'Plus Jakarta Sans';margin:10px 0}.welcome p:not(.eyebrow){color:#e2e0ff;margin:0 0 22px}.eyebrow.light{color:#d5d1ff}.welcome-icon{font-size:115px;opacity:.18;margin-right:25px;transform:rotate(-12deg)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;border:0;border-radius:9px;font:700 12px 'DM Sans';cursor:pointer}.btn.primary{background:var(--purple);color:#fff}.btn.primary:hover{background:#5149c2}.btn.white{background:#fff;color:#5148bd}.btn.outline{border:1px solid #e2e4ef;background:#fff;color:#666d87}.btn.danger-btn{background:#fff1f0;color:#cf5752;padding:7px 10px}.btn.full{width:100%;margin-top:20px;padding:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.section-head,.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head{margin:28px 0 15px}.section-head h3,.panel-head h3{font:700 16px 'Plus Jakarta Sans';margin:0 0 5px}.muted{color:var(--muted)}.section-head p,.panel-head p{margin:0;font-size:12px}.live-pill{color:#319a79;background:#f0fbf6;border-color:#ddf5e9}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 10px #29305004}.stat-card{padding:20px 19px;position:relative}.stat-icon,.quick-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px}.purple{background:#f0edff;color:#665bd9}.blue{background:#e9f4ff;color:#3985d8}.orange{background:#fff2e5;color:#d98b38}.green{background:#e6f9f1;color:#2caa7e}.stat-card p{color:#7c8199;font-size:12px;margin:16px 0 6px}.stat-card strong{font:800 27px 'Plus Jakarta Sans';letter-spacing:-1px}.stat-card small{display:block;color:#a2a6b7;font-size:11px;margin-top:7px}.panel{padding:22px;margin-top:20px}.panel-head{margin-bottom:19px}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.quick-item{border:1px solid var(--line);border-radius:12px;padding:16px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;transition:.2s}.quick-item:hover{border-color:#c8c3ff;transform:translateY(-2px)}.quick-item b{font-size:12px;margin-top:5px}.quick-item small{font-size:11px;color:#8e93a8}.arrow{position:absolute;right:15px;top:15px;color:#a4a8bb}.schedule-form,.master-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.master-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:11px;font-weight:700;color:#656b85}.field input,.field select,.login-card input{width:100%;padding:11px 12px;border:1px solid #e4e6f0;border-radius:8px;background:#fff;color:var(--ink);font:13px 'DM Sans';outline:none}.field input:focus,.field select:focus,.login-card input:focus{border-color:#9189f2;box-shadow:0 0 0 3px #766bf11a}.span-two{grid-column:span 2}.action-field{justify-content:end}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;background:#fafaff;color:#888da5;font-size:10px;text-transform:uppercase;letter-spacing:.5px;font-weight:700;padding:13px 12px}td{border-bottom:1px solid #f0f1f6;padding:13px 12px;font-size:12px;color:#5f657d}td b{color:#292f4b}.tag{background:#f0efff;color:#6157d3;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:700}.empty{text-align:center;padding:32px;color:#9da1b2}.alert{padding:12px 15px;border-radius:9px;margin:0 0 16px;font-size:12px}.alert.success{background:#eaf9f2;color:#25845f}.alert.danger{background:#fff0ef;color:#b84640}.empty-state{text-align:center;padding:42px 15px}.empty-illustration{margin:auto auto 15px;width:58px;height:58px;border-radius:18px;background:#f0edff;color:#6a5fe0;display:grid;place-items:center;font-size:27px}.empty-state h3{font:700 18px 'Plus Jakarta Sans'}.empty-state p{max-width:510px;line-height:1.7;color:#81869e;margin:0 auto 20px}footer{text-align:center;color:#a4a8b7;font-size:10px;padding:30px 0 5px}.login-bg{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 15% 15%,#e9e7ff,transparent 35%),radial-gradient(circle at 90% 85%,#e4f4ff,transparent 35%),#f8f9fe}.login-card{width:min(100%,400px);background:#fff;border:1px solid #eceef5;border-radius:20px;padding:35px;box-shadow:0 18px 60px #34315c12}.login-card .brand-mark{margin-bottom:22px}.login-card h1{font:800 24px 'Plus Jakarta Sans';margin:5px 0}.login-card .muted{margin:7px 0 25px}.login-card label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}.small{font-size:11px;text-align:center;margin-top:22px}.login-card .alert{margin-bottom:14px}
@media(max-width:1100px){.sidebar{width:215px}.main{margin-left:215px;padding:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:700px) and (pointer:coarse){.sidebar{position:static;width:auto;height:auto;padding:12px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 4px 10px}.sidebar .nav-label,.sidebar .nav,.sidebar-bottom{display:none}.main{margin:0;padding:18px 13px}.topbar h2{font-size:21px}.date-pill{display:none}.welcome{padding:22px;min-height:0}.welcome h1{font-size:21px}.welcome-icon{display:none}.stats{gap:10px}.stat-card{padding:15px}.stat-card strong{font-size:23px}.quick-grid{gap:9px}.panel{padding:15px}.schedule-form,.master-form{grid-template-columns:1fr}.span-two{grid-column:span 1}.panel-head{align-items:flex-start}.panel-head .btn{font-size:10px;padding:8px}.login-card{padding:27px}}
@media print{body{background:#fff}.sidebar,.topbar,.welcome,.section-head,.panel-head .btn,.schedule-form,.master-form,.no-print,footer{display:none!important}.main{margin:0;padding:0;max-width:none}.panel{border:0;box-shadow:none;padding:0;margin:0 0 20px}.table-wrap{overflow:visible}table{white-space:normal}th,td{border:1px solid #bbb;color:#111;padding:7px;font-size:10px}.tag{background:none;color:#111}.stats,.quick-grid{display:none}}


/* SIPU visual refresh: clean editorial dashboard, restrained colors, crisp SVG icons */
:root{--ink:#17243b;--muted:#748198;--line:#e5eaf1;--purple:#365d8d;--bg:#f3f6fa;--accent:#315f8f}
body{background:#f3f6fa;color:#17243b;font-family:Inter,"Segoe UI",Arial,sans-serif}
.sidebar{background:#fff;border-right:1px solid #e3e9f1;padding:22px 15px;box-shadow:4px 0 18px rgba(27,45,71,.025)}
.brand{padding-bottom:27px}.brand-mark{background:#193b61;border-radius:12px;box-shadow:none}
.brand b{letter-spacing:-.4px}.brand small{font-size:11px}
.nav-label{color:#9aa6b6;font-size:9px;letter-spacing:1.35px;font-weight:800;margin-top:17px}
.nav{min-height:42px;padding:10px 12px;gap:12px;border-radius:8px;color:#52627a;font-size:13px;font-weight:600}
.nav:hover{background:#f2f6fa;color:#244e78}
.nav.active{background:#eaf1f8;color:#214d78;box-shadow:inset 3px 0 #315f8f}
.sipu-icon{display:inline-block;flex:0 0 22px;width:22px;height:22px;vertical-align:middle;filter:drop-shadow(0 1px 1px rgba(30,41,59,.10));transition:transform .2s ease,filter .2s ease}.nav:hover .sipu-icon,.nav.active .sipu-icon{transform:translateY(-1px);filter:drop-shadow(0 2px 3px rgba(71,118,246,.22))}
.nav span{width:auto;text-align:left;font-size:13px}
.main{padding:30px 36px;max-width:1800px}
.topbar{padding-bottom:18px;border-bottom:1px solid #e5eaf1;margin-bottom:25px}
.topbar h2{font-size:23px;letter-spacing:-.55px;color:#182b45}
.eyebrow{color:#8492a6}
.date-pill{border-color:#e3e9f0;color:#607087;border-radius:7px;background:#fff}
.panel,.stat-card,.quick-item{border:1px solid #e4eaf1;box-shadow:0 3px 12px rgba(30,52,79,.035);border-radius:12px}
.panel{padding:22px;background:#fff}
.stat-card{background:#fff}
.stat-card strong{font-size:29px;color:#172f4c}
.stat-icon,.quick-icon{border-radius:9px;background:#edf3f8!important;color:#315f8f!important;display:grid;place-items:center}
.quick-item{padding:17px;background:#fff;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.quick-item:hover{transform:translateY(-2px);border-color:#bdcddd;box-shadow:0 9px 22px rgba(35,62,91,.08)}
.quick-icon{width:38px;height:38px}
.btn.primary{background:#244f78;border-radius:8px}
input,select,textarea{border:1px solid #dce4ed!important;border-radius:7px!important;min-height:40px}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(49,95,143,.12);border-color:#7393b2!important}
table th{background:#f6f8fb;color:#66758b;font-size:11px;text-transform:uppercase;letter-spacing:.4px}
.sidebar-bottom{border-top:1px solid #e8edf2}
@media(max-width:800px){.main{padding:20px 16px}.sidebar{box-shadow:5px 0 18px rgba(20,35,55,.07)}}


/* Mobile navigation: pindahkan menu sidebar menjadi bottom navigation */
@media screen and (max-width:700px) and (pointer:coarse){
  body{padding-bottom:82px}
  .sidebar{
    position:fixed!important;
    inset:auto 0 0 0!important;
    width:100%!important;
    height:76px!important;
    min-height:76px;
    padding:6px 8px max(6px, env(safe-area-inset-bottom))!important;
    margin:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    gap:4px;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap;
    background:#fff!important;
    border-top:1px solid #dfe6ef!important;
    border-right:0!important;
    box-shadow:0 -5px 20px rgba(25,45,70,.10)!important;
    z-index:1000!important;
    scrollbar-width:none;
  }
  .sidebar::-webkit-scrollbar{display:none}
  .sidebar .brand,
  .sidebar .nav-label,
  .sidebar .sidebar-bottom{display:none!important}
  .sidebar .nav{
    display:flex!important;
    flex:0 0 76px;
    min-width:76px;
    height:62px;
    min-height:62px;
    margin:0!important;
    padding:7px 4px!important;
    border-radius:9px!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px!important;
    text-align:center;
    font-size:10px!important;
    line-height:1.15;
    white-space:normal;
  }
  .sidebar .nav .sipu-icon{
    width:19px!important;
    height:19px!important;
    flex:0 0 19px;
  }
  .sidebar .nav span{
    display:block;
    width:100%!important;
    font-size:9px!important;
    line-height:1.15;
    text-align:center!important;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .main{margin:0!important;padding:18px 13px 24px!important}
}


/* V19 — iOS-inspired Liquid Glass treatment for mobile bottom navigation */
@media screen and (max-width:700px) and (pointer:coarse){
  .sidebar{
    background:rgba(248,251,255,.58)!important;
    -webkit-backdrop-filter:blur(28px) saturate(190%)!important;
    backdrop-filter:blur(28px) saturate(190%)!important;
    border-top:1px solid rgba(255,255,255,.78)!important;
    box-shadow:
      0 -1px 0 rgba(255,255,255,.55),
      0 -10px 34px rgba(24,47,76,.12),
      inset 0 1px 0 rgba(255,255,255,.7)!important;
    background-image:linear-gradient(
      135deg,
      rgba(255,255,255,.76) 0%,
      rgba(244,249,255,.48) 42%,
      rgba(226,238,250,.40) 100%
    )!important;
  }
  .sidebar::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:1px;
    background:linear-gradient(90deg,
      rgba(255,255,255,0),
      rgba(255,255,255,.98) 18%,
      rgba(255,255,255,.98) 82%,
      rgba(255,255,255,0)
    );
    pointer-events:none;
  }
  .sidebar .nav{
    position:relative;
    isolation:isolate;
    color:#586a80!important;
    border:1px solid transparent!important;
    transition:background .2s ease, transform .2s ease, color .2s ease;
  }
  .sidebar .nav.active{
    color:#174a79!important;
    background:rgba(255,255,255,.66)!important;
    border-color:rgba(255,255,255,.9)!important;
    box-shadow:
      0 3px 12px rgba(31,65,101,.10),
      inset 0 1px 0 rgba(255,255,255,.95),
      inset 0 -1px 0 rgba(190,211,233,.25)!important;
  }
  .sidebar .nav.active::before{
    content:"";
    position:absolute;
    inset:2px;
    border-radius:8px;
    background:linear-gradient(145deg,rgba(255,255,255,.38),rgba(255,255,255,0));
    z-index:-1;
    pointer-events:none;
  }
  .sidebar .nav:active{transform:scale(.96)}
  .sidebar .nav .sipu-icon{filter:drop-shadow(0 1px 1px rgba(255,255,255,.8))}
}

/* V20 — bottom bar hanya menu inti; menu lainnya melalui hamburger kiri atas */
.mobile-menu-toggle,.mobile-menu-close{display:none}
@media screen and (max-width:700px) and (pointer:coarse){
  .topbar{position:relative;display:flex;align-items:center;gap:12px;justify-content:flex-start;padding-left:44px;min-height:46px}
  .mobile-menu-toggle{display:grid;place-items:center;position:absolute;left:0;top:0;width:38px;height:38px;border:1px solid rgba(255,255,255,.9);border-radius:12px;background:rgba(255,255,255,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#24496d;font-size:22px;line-height:1;box-shadow:0 3px 12px rgba(25,45,70,.10);z-index:1001}
  .sidebar:not(.menu-open) .nav{display:none!important}
  .sidebar:not(.menu-open) .nav[href="index.php"],
  .sidebar:not(.menu-open) .nav[href="?page=kehadiran"],
  .sidebar:not(.menu-open) .nav[href="?page=berita"],
  .sidebar:not(.menu-open) .nav[href="?page=nilai"]{display:flex!important}
  .sidebar:not(.menu-open){height:76px!important}
  .sidebar.menu-open{position:fixed!important;inset:0 auto 0 0!important;width:min(84vw,330px)!important;height:100dvh!important;min-height:100dvh!important;padding:20px 16px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;overflow-y:auto!important;overflow-x:hidden!important;white-space:normal!important;background:rgba(249,252,255,.94)!important;-webkit-backdrop-filter:blur(28px) saturate(180%)!important;backdrop-filter:blur(28px) saturate(180%)!important;border:0!important;border-radius:0 22px 22px 0!important;box-shadow:12px 0 40px rgba(20,35,55,.20)!important;z-index:1200!important}
  .sidebar.menu-open .brand{display:flex!important;justify-content:space-between;padding:0 2px 22px!important}
  .sidebar.menu-open .mobile-menu-close{display:block;border:0;border-radius:9px;background:rgba(226,235,246,.8);padding:8px 10px;color:#34516e;font-size:12px;font-weight:700}
  .sidebar.menu-open .nav-label{display:block!important;flex:0 0 auto;padding:14px 10px 7px!important;font-size:10px}
  .sidebar.menu-open .nav{display:flex!important;flex:0 0 auto!important;width:100%;min-width:0;height:auto;min-height:44px;margin:2px 0!important;padding:11px 12px!important;flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;text-align:left;font-size:13px!important;white-space:normal!important;border-radius:10px!important}
  .sidebar.menu-open .nav span{width:auto!important;text-align:left!important;font-size:13px!important}
  .sidebar.menu-open .sidebar-bottom{display:block!important;margin-top:18px}
  body.mobile-menu-visible:before{content:"";position:fixed;inset:0;background:rgba(18,31,49,.32);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:1190}
}

/* V22 — mobile navigation refinement: four essential tabs + working drawer */
@media screen and (max-width:700px) and (pointer:coarse){
  .sidebar:not(.menu-open){
    position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;height:82px!important;min-height:82px!important;
    padding:7px 10px max(7px,env(safe-area-inset-bottom))!important;
    display:flex!important;flex-direction:row!important;align-items:stretch!important;
    overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;
    border:0!important;border-top:1px solid rgba(255,255,255,.82)!important;
    border-radius:20px 20px 0 0!important;
    background:rgba(247,250,255,.78)!important;
    background-image:linear-gradient(135deg,rgba(255,255,255,.88),rgba(232,241,251,.68))!important;
    -webkit-backdrop-filter:blur(30px) saturate(190%)!important;backdrop-filter:blur(30px) saturate(190%)!important;
    box-shadow:0 -8px 32px rgba(34,56,82,.13),inset 0 1px 0 rgba(255,255,255,.95)!important;
    z-index:1100!important;
  }
  .sidebar:not(.menu-open) .brand,.sidebar:not(.menu-open) .nav-label,.sidebar:not(.menu-open) .sidebar-bottom{display:none!important}
  .sidebar:not(.menu-open) .nav{display:none!important}
  .sidebar:not(.menu-open) .nav[href="index.php"],
  .sidebar:not(.menu-open) .nav[href="?page=kehadiran"],
  .sidebar:not(.menu-open) .nav[href="?page=berita"],
  .sidebar:not(.menu-open) .nav[href="?page=nilai"]{
    display:flex!important;flex:1 0 20%!important;min-width:68px!important;max-width:120px!important;
    height:66px!important;min-height:66px!important;margin:0 2px!important;padding:7px 4px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;
    border:1px solid transparent!important;border-radius:14px!important;text-align:center!important;
    color:#596b82!important;font-size:11px!important;line-height:1.15!important;
  }
  .sidebar:not(.menu-open) .nav.active{background:rgba(255,255,255,.82)!important;border-color:rgba(255,255,255,.98)!important;color:#174a79!important;box-shadow:0 3px 14px rgba(31,65,101,.12),inset 0 1px 0 #fff!important}
  .sidebar:not(.menu-open) .nav .sipu-icon{width:22px!important;height:22px!important;flex:0 0 22px!important}
  .sidebar:not(.menu-open) .nav span{display:block!important;width:100%!important;font-size:10px!important;text-align:center!important;white-space:normal!important}
  .main{padding-bottom:112px!important}
  .topbar{display:grid!important;grid-template-columns:44px minmax(0,1fr) 40px!important;align-items:center!important;gap:8px!important;padding:4px 0 18px 0!important;min-height:72px!important}
  .mobile-menu-toggle{display:grid!important;grid-column:1;grid-row:1;position:static!important;place-items:center!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:14px!important;background:rgba(255,255,255,.82)!important;color:#24496d!important;font-size:0!important;line-height:1!important;box-shadow:0 4px 16px rgba(25,45,70,.12),inset 0 1px 0 #fff!important;z-index:1301!important;cursor:pointer!important;touch-action:manipulation!important}
  .mobile-menu-toggle span{font-size:23px!important;line-height:1!important;pointer-events:none}
  .topbar>div:first-of-type{grid-column:2;grid-row:1;min-width:0}
  .topbar .top-right{grid-column:3;grid-row:1;justify-content:flex-end}
  .topbar .date-pill{display:none!important}
  .topbar h2{font-size:23px!important;line-height:1.15!important}
  .sidebar.menu-open{
    position:fixed!important;inset:0 auto 0 0!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;
    width:min(86vw,340px)!important;height:100dvh!important;min-height:100dvh!important;
    padding:22px 16px max(22px,env(safe-area-inset-bottom))!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;white-space:normal!important;
    border:0!important;border-radius:0 24px 24px 0!important;background:rgba(249,252,255,.96)!important;
    -webkit-backdrop-filter:blur(28px) saturate(180%)!important;backdrop-filter:blur(28px) saturate(180%)!important;
    box-shadow:14px 0 44px rgba(20,35,55,.22)!important;z-index:1400!important;
  }
  .sidebar.menu-open .brand{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 2px 20px!important}
  .sidebar.menu-open .mobile-menu-close{display:block!important;position:static!important;border:0!important;border-radius:10px!important;background:#eaf0f7!important;padding:9px 12px!important;color:#34516e!important;font-size:12px!important;font-weight:700!important}
  .sidebar.menu-open .nav-label{display:block!important;flex:0 0 auto!important;padding:14px 10px 7px!important;font-size:10px!important}
  .sidebar.menu-open .nav{display:flex!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:46px!important;margin:2px 0!important;padding:11px 12px!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important;font-size:13px!important;white-space:normal!important;border-radius:11px!important}
  .sidebar.menu-open .nav span{display:inline!important;width:auto!important;font-size:13px!important;text-align:left!important}
  .sidebar.menu-open .sidebar-bottom{display:block!important;margin-top:18px!important}
  body.mobile-menu-visible:before{content:"";position:fixed;inset:0;background:rgba(18,31,49,.36);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:1390}
}
/* Quick access cards use a clean layout without redundant external-link arrows. */
.quick-item .arrow{display:none!important}

/* Koreksi Nilai: submenu collapsible directly beneath its parent */
.nav-toggle{width:100%;border:0;background:transparent;text-align:left;cursor:pointer;font:inherit;position:relative}
.nav-toggle .nav-chevron{margin-left:auto;width:auto;font-size:15px;transition:transform .18s ease}
.nav-toggle[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}
.nav-sub{display:flex;flex-direction:column;gap:3px;margin:0 0 7px 32px;padding:4px 0 5px 12px;border-left:2px solid #dbe4ef}
.nav-sub[hidden]{display:none!important}
.nav-sub a{display:block;padding:8px 10px;border-radius:8px;color:#69758b;text-decoration:none;font-size:12px;line-height:1.35}
.nav-sub a:hover,.nav-sub a.active{background:#eef3f9;color:#244f78;font-weight:700}

/* V30: submenu visibility must override sidebar/nav display rules */
#koreksiSubmenu[hidden]{display:none!important}
#koreksiSubmenu:not([hidden]){display:flex!important;flex-direction:column}

/* V35 - UI absensi dibuat lebih jelas dan mudah digunakan */
.attendance-entry{border:2px solid #d5e2ef}
.attendance-entry .panel-head h3{font-size:22px;line-height:1.35;margin-bottom:7px;color:#173653}
.attendance-entry .panel-head .muted{font-size:15px;line-height:1.65;max-width:900px}
.attendance-help{background:#eef6ff;border:1px solid #bfd7f1;border-left:5px solid #2d6597;border-radius:10px;padding:14px 16px;margin:12px 0 18px;font-size:15px;line-height:1.6;color:#23496d}
.attendance-entry .table-wrap{overflow-x:auto}
.attendance-entry table{min-width:1080px;width:100%;border-collapse:separate;border-spacing:0}
.attendance-entry table th{font-size:14px;font-weight:800;letter-spacing:.02em;padding:15px 12px;white-space:nowrap;background:#edf3f9;color:#304c68}
.attendance-entry table td{font-size:15px;line-height:1.5;padding:14px 12px;vertical-align:middle}
.attendance-entry table tbody tr{min-height:64px}
.attendance-entry table tbody tr:hover{background:#f8fbff}
.attendance-entry input:not([type=checkbox]),.attendance-entry select{font-size:15px!important;min-height:46px!important;padding:10px 12px!important;border:1px solid #b9cadd!important;border-radius:9px!important}
.attendance-entry .attendance-check{display:flex;align-items:center;gap:10px;min-width:112px;font-size:14px;font-weight:700;color:#9a3b32;cursor:pointer;white-space:nowrap}
.attendance-entry .attendance-check input{width:21px;height:21px;min-width:21px;accent-color:#c4493b;cursor:pointer}
.attendance-entry .absence-status:disabled{background:#f1f4f7!important;color:#788596!important;opacity:1}
.attendance-entry .btn.primary{font-size:16px;padding:14px 24px;min-height:50px;font-weight:800}
@media(max-width:700px){
 .attendance-entry .panel-head h3{font-size:20px}
 .attendance-entry .panel-head .muted,.attendance-help{font-size:14px}
 .attendance-entry table{min-width:1050px}
}

/* V39: rekap siswa tidak hadir dikelompokkan per kelas */
.attendance-absent-class{border:1px solid #dbe4ef;border-radius:12px;padding:14px;margin:14px 0;background:#fff}
.attendance-absent-class h4{margin:0 0 10px;font-size:16px;font-weight:800;color:#244b70}
.attendance-absent-class .table-wrap{margin:0}
.attendance-absent-class table{min-width:680px}
.attendance-absent-class td,.attendance-absent-class th{padding:10px 12px}
@media print{.attendance-absent-class{break-inside:avoid;border:1px solid #999}.attendance-absent-class h4{color:#000}}

/* V42: dropdown Daftar Kehadiran */
#kehadiranSubmenu{display:flex;flex-direction:column;gap:4px;margin:2px 0 8px 34px;padding-left:12px;border-left:2px solid #dbe5f0}
#kehadiranSubmenu[hidden]{display:none!important}
#kehadiranSubmenu a{display:block;padding:9px 10px;border-radius:8px;color:#52647b;font-size:13px;text-decoration:none}
#kehadiranSubmenu a:hover{background:#eef4fa;color:#234f78}
#kehadiranSubmenu a:focus{outline:2px solid #7aa7d4;outline-offset:1px}
html{scroll-behavior:smooth}
#pilihTanggalRuangan,#inputKehadiran,#rekapKehadiran,#rekapSusulan{scroll-margin-top:18px}

/* V44: ikon SVG berwarna untuk submenu Daftar Kehadiran */
#kehadiranSubmenu a{display:flex;align-items:center;gap:10px;padding:9px 10px;margin:2px 0;border-radius:9px;min-height:38px}
#kehadiranSubmenu .attendance-sub-icon{width:27px;height:27px;min-width:27px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
#kehadiranSubmenu .attendance-sub-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#kehadiranSubmenu .attendance-icon-input{background:#e0f2fe;color:#0284c7}
#kehadiranSubmenu .attendance-icon-recap{background:#dcfce7;color:#16a34a}
#kehadiranSubmenu .attendance-icon-susulan{background:#fef3c7;color:#d97706}
#kehadiranSubmenu a:hover .attendance-sub-icon{filter:saturate(1.2);transform:translateY(-1px)}
#kehadiranSubmenu .attendance-sub-icon{transition:transform .15s ease,filter .15s ease}


/* V48 - Refresh UI/UX rekap harian: dashboard modern + print clean */
.recap-dashboard{padding:26px!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border:1px solid #e0e8f1!important}
.recap-screen-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #e8eef5}
.recap-heading{display:flex;align-items:center;gap:14px}
.recap-heading-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#e7f1fb,#dceafa);color:#245783;flex:0 0 48px}
.recap-heading-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.recap-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#6b88a7;margin-bottom:4px}
.recap-heading h3{margin:0!important;font-size:21px!important;line-height:1.3;color:#183956!important;font-weight:800!important;letter-spacing:-.35px}
.recap-heading p{margin:5px 0 0!important;font-size:12px;color:#8190a3;line-height:1.5}
.recap-print-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:0 17px!important;border-radius:10px!important;background:#244f78!important;box-shadow:0 5px 12px rgba(36,79,120,.16);font-size:12px!important;font-weight:750!important;white-space:nowrap}
.recap-print-btn:hover{background:#183d61!important;transform:translateY(-1px)}
.recap-print-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.recap-metrics{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px;margin:0 0 20px}
.recap-metric,.recap-date-chip{min-height:74px;display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid #e4ebf3;border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(31,57,84,.025)}
.metric-symbol{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;font-size:22px;font-weight:700}
.metric-blue{background:#e9f3fc;color:#2c679b}.metric-violet{background:#f0edff;color:#7356b6}
.recap-metric small,.recap-date-chip small{display:block;color:#8492a5;font-size:11px;font-weight:600;margin-bottom:3px}
.recap-metric strong{display:block;color:#1c3d5c;font-size:22px;line-height:1.1;font-weight:800}
.recap-date-chip{display:block;padding-top:15px}
.recap-date-chip strong{display:block;color:#244f78;font-size:16px;font-weight:800}
.recap-dashboard .attendance-absent-class{margin:0 0 14px!important;padding:17px!important;border:1px solid #e0e8f1!important;border-radius:13px!important;background:#fff!important;box-shadow:0 3px 10px rgba(31,57,84,.035)}
.recap-dashboard .attendance-absent-class:last-child{margin-bottom:0!important}
.recap-dashboard .attendance-absent-class h4{display:flex;align-items:center;gap:9px;margin:0 0 13px!important;padding:0 0 12px!important;border-bottom:1px solid #edf1f6;color:#244f78!important;font-size:15px!important;font-weight:800!important;letter-spacing:.1px}
.recap-dashboard .attendance-absent-class h4:before{content:"";display:inline-block;width:4px;height:19px;border-radius:4px;background:#3b78ad}
.recap-dashboard .table-wrap{overflow-x:auto;border:1px solid #e8edf3;border-radius:9px}
.recap-dashboard table{width:100%;min-width:540px;border-collapse:separate!important;border-spacing:0!important;table-layout:auto}
.recap-dashboard th{padding:12px 14px!important;background:#f3f7fb!important;color:#61758b!important;font-size:10px!important;font-weight:800!important;letter-spacing:.65px!important;border:0!important;border-bottom:1px solid #e4ebf2!important}
.recap-dashboard td{padding:13px 14px!important;color:#53657a!important;font-size:12px!important;border:0!important;border-bottom:1px solid #edf1f5!important;line-height:1.45}
.recap-dashboard tbody tr:last-child td{border-bottom:0!important}
.recap-dashboard tbody tr:nth-child(even){background:#fbfcfe}
.recap-dashboard td:first-child{text-align:center;color:#91a0b1;font-weight:700;width:54px}
.recap-dashboard td:nth-child(2){font-weight:750;color:#263f5b}
.recap-dashboard .badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;background:#fff2e9;color:#b85b29;border:1px solid #f4ddce;font-size:10px;font-weight:800}
.recap-dashboard .empty{padding:34px 20px;border:1px dashed #d5e0eb;border-radius:12px;background:#f9fbfd;color:#6f8093;text-align:center}
@media(max-width:720px){
 .recap-dashboard{padding:16px!important}
 .recap-screen-head{align-items:flex-start;flex-direction:column}
 .recap-print-btn{align-self:stretch}
 .recap-metrics{grid-template-columns:1fr 1fr}
 .recap-date-chip{grid-column:1/-1}
 .recap-heading h3{font-size:18px!important}
}
@media print{
 .recap-screen-head,.recap-metrics{display:none!important}
 #rekapKehadiran .print-recap-header{display:block!important}
 #rekapKehadiran .attendance-absent-class{box-shadow:none!important}
}


/* V49: print layout overhaul - readable A4 report */
@page{size:A4 portrait;margin:16mm 15mm 17mm}
@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  html,body{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important;color:#172b42!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11pt!important;line-height:1.45!important}
  body *{visibility:hidden!important}
  #rekapKehadiran,#rekapKehadiran *{visibility:visible!important}
  #rekapKehadiran{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;font-size:11pt!important;zoom:1!important;transform:none!important}
  #rekapKehadiran .print-recap-header{display:block!important;visibility:visible!important;position:relative!important;text-align:center!important;margin:0 0 9mm!important;padding:0 0 6mm!important;border-bottom:3px solid #244f78!important;background:#fff!important}
  #rekapKehadiran .print-school{font-size:16pt!important;line-height:1.25!important;font-weight:800!important;letter-spacing:1.4px!important;color:#173d60!important;margin:0 0 3mm!important}
  #rekapKehadiran .print-title{font-size:19pt!important;line-height:1.25!important;font-weight:800!important;letter-spacing:.35px!important;color:#172f4c!important;margin:0 0 2mm!important}
  #rekapKehadiran .print-subtitle{font-size:10.5pt!important;color:#5d6e82!important;margin:0 0 4mm!important}
  #rekapKehadiran .print-date{display:inline-block!important;font-size:11pt!important;font-weight:700!important;color:#244f78!important;background:#edf4fa!important;border:1px solid #cbd9e7!important;border-radius:5px!important;padding:2.5mm 6mm!important}
  #rekapKehadiran .panel-head,#rekapKehadiran .recap-screen-head,#rekapKehadiran .recap-metrics{display:none!important}
  #rekapKehadiran .attendance-absent-class{display:block!important;position:relative!important;break-inside:avoid!important;page-break-inside:avoid!important;margin:0 0 7mm!important;padding:5mm!important;border:1px solid #cbd7e3!important;border-radius:3mm!important;background:#fff!important;box-shadow:none!important}
  #rekapKehadiran .attendance-absent-class h4{display:block!important;font-size:13pt!important;line-height:1.3!important;font-weight:800!important;color:#fff!important;background:#244f78!important;border-radius:1.5mm!important;padding:3mm 4mm!important;margin:0 0 3mm!important;letter-spacing:.2px!important}
  #rekapKehadiran .attendance-absent-class h4:before{display:none!important}
  #rekapKehadiran .table-wrap{display:block!important;width:100%!important;overflow:visible!important;margin:0!important;border:0!important;border-radius:0!important}
  #rekapKehadiran table{display:table!important;width:100%!important;min-width:0!important;border-collapse:collapse!important;table-layout:fixed!important;font-size:11pt!important}
  #rekapKehadiran thead{display:table-header-group!important}
  #rekapKehadiran tbody{display:table-row-group!important}
  #rekapKehadiran tr{break-inside:avoid!important;page-break-inside:avoid!important}
  #rekapKehadiran th{font-size:10pt!important;line-height:1.3!important;font-weight:800!important;letter-spacing:.5px!important;text-transform:uppercase!important;color:#1e3f60!important;background:#eaf1f7!important;padding:3.5mm 3mm!important;border:1px solid #cbd7e3!important;text-align:left!important}
  #rekapKehadiran td{font-size:11pt!important;line-height:1.4!important;color:#26384d!important;padding:3.5mm 3mm!important;border:1px solid #d6dfe8!important;overflow-wrap:anywhere!important;vertical-align:middle!important}
  #rekapKehadiran tbody tr:nth-child(even){background:#f5f8fb!important}
  #rekapKehadiran th:first-child,#rekapKehadiran td:first-child{width:12%!important;text-align:center!important}
  #rekapKehadiran th:nth-child(2),#rekapKehadiran td:nth-child(2){width:38%!important}
  #rekapKehadiran th:nth-child(3),#rekapKehadiran td:nth-child(3){width:20%!important}
  #rekapKehadiran th:nth-child(4),#rekapKehadiran td:nth-child(4){width:30%!important}
  #rekapKehadiran .badge{display:inline-block!important;font-size:10pt!important;font-weight:800!important;line-height:1.2!important;padding:1.5mm 3mm!important;border:1px solid #e6c7b4!important;border-radius:4mm!important;background:#fff3eb!important;color:#a64e24!important}
  #rekapKehadiran .empty{font-size:12pt!important;padding:12mm!important;border:1px dashed #aebdcd!important;text-align:center!important}
}

/* V50: Rekap Ujian Susulan - cetak F4/Folio portrait dengan ceklis manual */
.makeup-print-header{display:none}
.makeup-screen-head{align-items:center;gap:16px}
.makeup-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.makeup-class{margin:16px 0 22px}
.makeup-table{min-width:0!important;width:100%!important}
.makeup-table .makeup-no{text-align:center;width:58px}
.makeup-table .makeup-name{width:29%}
.makeup-table .makeup-name small{display:block;margin-top:3px;color:#91a0b1;font-size:10px;font-weight:500}
.makeup-table .makeup-subject{width:auto}
.makeup-table .makeup-check-head,.makeup-table .makeup-check-cell{text-align:center;width:90px}
.manual-check-box{display:inline-block;width:22px;height:22px;border:1.6px solid #52677d;border-radius:2px;background:#fff;vertical-align:middle}
.makeup-note{margin-top:20px;padding:12px 14px;border:1px dashed #cbd7e3;border-radius:9px;color:#61758b;font-size:12px}
@page susulan{size:215.9mm 330.2mm;margin:13mm 13mm 15mm}
#rekapSusulan{page:susulan}
@media print{
 body *{visibility:hidden!important}
 #rekapSusulan,#rekapSusulan *{visibility:visible!important}
 #rekapSusulan{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;font-family:Arial,Helvetica,sans-serif!important;font-size:11pt!important;color:#172b42!important;page:susulan!important}
 #rekapSusulan .makeup-print-header{display:block!important;text-align:center!important;margin:0 0 8mm!important;padding:0 0 5mm!important;border-bottom:2.5px solid #244f78!important}
 #rekapSusulan .makeup-school{font-size:16pt!important;font-weight:800!important;letter-spacing:1px!important;color:#173d60!important;margin-bottom:2mm!important}
 #rekapSusulan .makeup-title{font-size:18pt!important;font-weight:800!important;color:#172f4c!important;margin-bottom:2mm!important}
 #rekapSusulan .makeup-subtitle{font-size:10pt!important;color:#5d6e82!important;margin-bottom:3mm!important}
 #rekapSusulan .makeup-date,#rekapSusulan .makeup-room{display:inline-block!important;font-size:10.5pt!important;font-weight:700!important;color:#244f78!important;margin:0 4mm!important}
 #rekapSusulan .makeup-screen-head{display:none!important}
 #rekapSusulan .makeup-class{display:block!important;break-inside:auto!important;page-break-inside:auto!important;margin:0 0 7mm!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important}
 #rekapSusulan .makeup-class h4{display:block!important;font-size:12pt!important;font-weight:800!important;color:#173d60!important;background:#eaf1f7!important;border:1px solid #cbd7e3!important;border-radius:1mm!important;padding:3mm 4mm!important;margin:0 0 2mm!important}
 #rekapSusulan .makeup-class h4:before{display:none!important}
 #rekapSusulan .table-wrap{display:block!important;width:100%!important;overflow:visible!important;border:0!important;border-radius:0!important}
 #rekapSusulan .makeup-table{display:table!important;width:100%!important;min-width:0!important;border-collapse:collapse!important;table-layout:fixed!important}
 #rekapSusulan .makeup-table thead{display:table-header-group!important}
 #rekapSusulan .makeup-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
 #rekapSusulan .makeup-table th{font-size:10pt!important;font-weight:800!important;color:#1e3f60!important;background:#eaf1f7!important;padding:3mm 3mm!important;border:1px solid #bfcddd!important;text-align:left!important}
 #rekapSusulan .makeup-table td{font-size:11pt!important;line-height:1.4!important;color:#26384d!important;padding:3.2mm 3mm!important;border:1px solid #cbd7e3!important;vertical-align:middle!important;overflow-wrap:anywhere!important}
 #rekapSusulan .makeup-table .makeup-no{width:10%!important;text-align:center!important}
 #rekapSusulan .makeup-table .makeup-name{width:31%!important}
 #rekapSusulan .makeup-table .makeup-subject{width:45%!important}
 #rekapSusulan .makeup-table .makeup-check-head,#rekapSusulan .makeup-table .makeup-check-cell{width:14%!important;text-align:center!important}
 #rekapSusulan .makeup-table .makeup-name small{font-size:9pt!important;color:#66788b!important}
 #rekapSusulan .manual-check-box{width:8mm!important;height:8mm!important;border:1.5pt solid #26384d!important;border-radius:0!important}
 #rekapSusulan .makeup-note{font-size:9.5pt!important;color:#46596d!important;border:0!important;border-top:1px solid #cbd7e3!important;border-radius:0!important;padding:4mm 0 0!important;margin-top:5mm!important}
 #rekapSusulan .empty{font-size:11pt!important;padding:10mm!important;border:1px dashed #aebdcd!important;text-align:center!important}
}


/* SIPU V40 — Berita Acara premium workflow */
.ba-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;margin:0 0 20px;border-radius:18px;background:linear-gradient(115deg,#142f50 0%,#1c526c 100%);color:#fff;box-shadow:0 12px 28px rgba(19,48,77,.13);border-left:4px solid #d9aa45}
.ba-kicker{display:block;margin-bottom:9px;color:#e9bd62;font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.ba-hero h2{margin:0 0 7px;color:#fff;font-size:25px;font-weight:850;letter-spacing:-.03em}
.ba-hero p{margin:0;color:#d9e6f2;font-size:13px;line-height:1.65}
.ba-hero-stat{min-width:120px;padding:15px 18px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.09);text-align:center}
.ba-hero-stat strong{display:block;color:#fff;font-size:27px;line-height:1.1}.ba-hero-stat span{display:block;margin-top:5px;color:#d9e6f2;font-size:10px}
.ba-select-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.ba-select-form .field{margin:0}
.ba-count{padding:7px 11px;border-radius:99px;background:#edf4fa;color:#315b7d;font-size:11px;font-weight:800}
.ba-table{width:100%;border-collapse:separate;border-spacing:0}.ba-table th{background:#f1f5f9;color:#51677d;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.ba-table td{font-size:12px;vertical-align:middle}.ba-table td small{display:block;margin-top:4px;color:#8796a8;font-size:10px}
.ba-paper{max-width:1000px;margin:0 auto 24px;padding:32px 38px;border:1px solid #e3eaf1;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(26,51,78,.06);color:#263548}
.ba-paper-head{text-align:center;margin-bottom:28px;padding-bottom:18px;border-bottom:1px solid #e9edf2}.ba-paper-head h2{margin:4px 0 7px;color:#172f4b;font-family:Georgia,"Times New Roman",serif;font-size:22px;letter-spacing:.04em}.ba-paper-head h3{margin:3px 0;color:#314a63;font-family:Georgia,"Times New Roman",serif;font-size:12px;font-weight:700;line-height:1.5}
.ba-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 20px}.ba-info-grid>div{padding:12px 14px;border:1px solid #e8edf3;border-radius:10px;background:#f8fafc}.ba-info-grid small{display:block;margin-bottom:5px;color:#8493a4;font-size:10px}.ba-info-grid b{display:block;color:#24415e;font-size:12px;line-height:1.45}
.ba-count-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.ba-count-grid .field{margin:0}.ba-count-grid small{display:block;margin-top:6px;color:#8796a8;font-size:10px;line-height:1.5}
.ba-form textarea{width:100%;min-height:120px;border:1px solid #dce5ee;border-radius:10px;padding:12px;font:inherit;font-size:12px;resize:vertical}
.ba-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #edf1f5}.ba-saved-state{color:#718399;font-size:11px}
.ba-paper-fields{display:grid;gap:10px;margin:22px 0}.ba-paper-fields>div{display:grid;grid-template-columns:240px 1fr;gap:10px;align-items:baseline;font-family:Georgia,"Times New Roman",serif;font-size:13px}.ba-paper-fields>div span{padding-bottom:3px;border-bottom:1px dotted #8290a0}
.ba-notes{min-height:100px;padding:12px 0;border-bottom:1px dotted #a6b0ba;white-space:pre-wrap;font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.7}
.ba-signature{display:flex;justify-content:flex-end;margin-top:30px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:13px}.ba-signature>div{min-width:220px}
.ba-actions{display:flex;align-items:center;gap:12px;margin-top:22px;padding-top:16px;border-top:1px solid #edf1f5}.ba-print-only{display:none}
@media(max-width:760px){.ba-hero{align-items:flex-start;padding:21px;flex-direction:column}.ba-hero-stat{min-width:0;width:100%;text-align:left}.ba-select-form{grid-template-columns:1fr}.ba-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-count-grid{grid-template-columns:1fr}.ba-paper{padding:22px 18px}.ba-paper-fields>div{grid-template-columns:1fr;gap:3px}.ba-form-footer{align-items:flex-start;flex-direction:column}}
@media print{
 body{background:#fff!important;color:#111!important;font-family:"Times New Roman",serif!important}
 .sidebar,.topbar,.ba-hero,.no-print,.panel-head,.alert,footer{display:none!important}
 .main{margin:0!important;padding:0!important;max-width:none!important}
 .ba-paper{max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 .ba-paper-head{margin-bottom:30px;border:0!important}
 .ba-paper-head h2,.ba-paper-head h3{color:#111!important;font-family:"Times New Roman",serif!important}
 .ba-form{display:none!important}.ba-print-only{display:block!important}
 .ba-info-grid{display:none!important}
 .ba-paper-fields{gap:12px}
 .ba-paper-fields>div{grid-template-columns:220px 1fr;font-family:"Times New Roman",serif;font-size:12pt}
 .ba-paper-fields>div span{border-bottom:1px dotted #111}
 .ba-notes{min-height:90px;border-bottom:1px dotted #111;font-family:"Times New Roman",serif;font-size:12pt}
 .ba-signature{margin-top:34px;font-family:"Times New Roman",serif}
 @page{size:A4 portrait;margin:22mm 20mm}
}

/* V41 admin BA management + PDF print */
.ba-bulk-page{break-after:page;page-break-after:always}
.ba-bulk-page:last-child{break-after:auto;page-break-after:auto}
@media print{.ba-bulk-print{display:block!important}.ba-bulk-page{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;min-height:250mm}.ba-bulk-page .ba-paper-head{border:0!important}.ba-bulk-page .ba-paper-head h2,.ba-bulk-page .ba-paper-head h3{color:#111!important}}

/* V44 - print berita acara in official plain-paper layout */
.ba-classic-paper{max-width:none!important;margin:0 auto!important;padding:18mm 16mm!important;background:#fff!important;color:#111!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:"Times New Roman",Times,serif!important;font-size:12pt!important;line-height:1.45!important}
.ba-classic-head{text-align:center;margin:0 0 34px!important;padding:0!important;border:0!important}
.ba-classic-head h2{font-family:"Times New Roman",Times,serif!important;font-size:14pt!important;font-weight:700!important;letter-spacing:0!important;color:#111!important;margin:0!important;line-height:1.2!important}
.ba-classic-head h3{font-family:"Times New Roman",Times,serif!important;font-size:12pt!important;font-weight:700!important;color:#111!important;margin:0!important;line-height:1.25!important}
.ba-classic-intro{margin:0 0 14px!important;text-align:justify}
.ba-classic-fields{margin:0 0 22px 24px!important}
.ba-classic-fields>div{display:grid;grid-template-columns:190px 1fr;gap:8px;margin:3px 0;align-items:start}
.ba-classic-fields>div b{font-weight:400}
.ba-classic-fields>div span{border:0!important;padding:0!important;min-height:18px}
.ba-classic-notes-title{margin:18px 0 4px!important}
.ba-classic-notes{min-height:76px!important;padding:0 0 4px!important;border:0!important;white-space:pre-wrap!important;line-height:1.8!important}
.ba-classic-closing{margin:16px 0 0!important}
.ba-classic-signature{width:230px;margin:34px 0 0 auto!important;text-align:center!important;font-family:"Times New Roman",Times,serif!important;font-size:12pt!important;line-height:1.5!important}
.ba-bulk-print .ba-classic-paper{break-after:page;page-break-after:always}
.ba-bulk-print .ba-classic-paper:last-child{break-after:auto;page-break-after:auto}
@page{size:A4 portrait;margin:0}
@media print{
 html,body{background:#fff!important;margin:0!important;padding:0!important}
 body *{visibility:hidden!important}
 .ba-classic-paper,.ba-classic-paper *,.ba-bulk-print,.ba-bulk-print *{visibility:visible!important}
 .ba-classic-paper{position:relative!important;left:0!important;top:0!important;width:210mm!important;min-height:297mm!important;box-sizing:border-box!important;padding:20mm 18mm!important;margin:0!important}
 .ba-bulk-print{display:block!important}
 .ba-bulk-page{break-after:page!important;page-break-after:always!important}
 .ba-bulk-page:last-child{break-after:auto!important;page-break-after:auto!important}
 .no-print{display:none!important}
}
