:root{--green:#176b49;--green2:#0f5137;--ink:#172b22;--muted:#64756b;--line:#e0e9e3;--bg:#f4f8f5;--white:#fff;--shadow:0 10px 32px rgba(20,65,42,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px max(20px,calc((100% - 1180px)/2));background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800}.brand small{display:block;font-weight:500;font-size:11px;color:var(--muted)}.logo{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--green);color:#fff;font-size:13px;letter-spacing:.5px}.top-right{display:flex;align-items:center;gap:12px;font-size:13px}.wrap{max-width:1180px;margin:30px auto;padding:0 20px;min-height:70vh}.foot{text-align:center;color:var(--muted);font-size:12px;padding:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow);margin-bottom:20px}.panel h2{font-size:18px;margin:0 0 16px}.panel h1{font-size:27px;line-height:1.2;margin:8px 0 12px}.narrow{max-width:680px;margin:25px auto}.auth{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;max-width:1000px;margin:45px auto}.auth-copy{padding:20px}.auth-copy h1{font-size:clamp(34px,4vw,50px);line-height:1.08;margin:14px 0}.auth-copy p{font-size:17px;color:var(--muted);max-width:530px}.auth-copy li{margin:10px 0}.auth-form{margin:0}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--green);font-weight:800}.muted{color:var(--muted)}.small{font-size:12px}.stack{display:flex;flex-direction:column;gap:10px}.stack label,.auth-form label{font-size:13px;font-weight:700;margin-top:4px}input,select,textarea{width:100%;border:1px solid #cfddd3;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #a7d9ba;border-color:var(--green)}.btn{border:0;border-radius:10px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 13px system-ui;text-decoration:none;cursor:pointer;white-space:nowrap}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green2)}.btn-light{background:#edf5ef;color:var(--green2)}.full{width:100%;margin-top:12px;padding:13px}.sub-link{display:inline-block;color:var(--green);font-size:13px;font-weight:700;text-decoration:none;margin-top:10px}.error{background:#fff0ee;border:1px solid #f1c4bd;color:#8b2b20;padding:12px;border-radius:10px;margin:10px 0}.notice{background:#e7f6eb;border:1px solid #b8e1c4;color:#165b35;padding:12px 15px;border-radius:10px;margin-bottom:18px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.page-head h1{font-size:30px;margin:3px 0}.pill{display:inline-flex;padding:5px 10px;border-radius:99px;background:#edf5ef;color:var(--green);font-size:11px;font-weight:800}.pill.green{background:#e4f7e9;color:#1c713d}.pill.red{background:#ffedeb;color:#a22c22}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stats div{background:#f6faf7;border:1px solid var(--line);border-radius:13px;padding:18px}.stats strong{display:block;font-size:26px;color:var(--green);line-height:1.2}.stats span{display:block;color:var(--muted);font-size:12px;margin-top:6px}.stats.big{margin-bottom:22px}.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.menu-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow)}.menu-card:hover{border-color:#a9cfb5;transform:translateY(-1px)}.menu-icon{font-size:25px}.menu-card small{color:var(--muted);font-size:12px}.plain-list{padding-left:20px;color:var(--muted)}.plain-list li{margin:8px 0}.cols{display:grid;grid-template-columns:1fr 1.35fr;gap:18px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f5f9f6;color:#456253;font-size:11px;text-transform:uppercase;letter-spacing:.4px}tr:last-child td{border-bottom:0}.inline{display:inline-flex;gap:6px;align-items:center}.inline select{width:auto;padding:6px}.inline .btn{padding:7px 10px}.link-danger{border:0;background:none;color:#b32b22;font-weight:700;cursor:pointer}.token-panel{border-color:#9cc9a8;background:#f8fff9}.token{padding:15px;border:1px dashed var(--green);border-radius:10px;background:#fff;font:700 18px ui-monospace,monospace;letter-spacing:1px;word-break:break-all;margin:12px 0}.criterion h3{font-size:16px;margin:8px 0 10px;white-space:pre-line}.score-row{display:flex;align-items:center;gap:15px;margin:14px 0}.score-row label{font-weight:800}.score-row select{max-width:330px}.sticky-save{position:sticky;bottom:10px;box-shadow:0 5px 20px #173f2c2b;padding:14px 20px}.auth-form h2{font-size:22px}.auth-form input{margin-bottom:5px}.hr{border:0;border-top:1px solid var(--line);margin:12px 0}hr{border:0;border-top:1px solid var(--line);width:100%;margin:14px 0}@media(max-width:800px){.auth,.cols{grid-template-columns:1fr}.auth{margin:18px auto;gap:8px}.auth-copy{padding:10px}.auth-copy h1{font-size:34px}.menu-grid{grid-template-columns:repeat(2,1fr)}.page-head{align-items:flex-start;flex-direction:column}.stats{gap:8px}.stats div{padding:12px}.stats strong{font-size:22px}.panel{padding:18px}.top{padding:12px 16px}.top-right>span{display:none}.wrap{margin:18px auto;padding:0 12px}}@media(max-width:420px){.menu-grid{grid-template-columns:1fr 1fr}.menu-card{padding:14px}.brand{font-size:13px}.brand small{font-size:10px}.logo{width:38px;height:38px}.stats span{font-size:11px}}@media print{.top,.foot,.btn,.sticky-save,.sub-link{display:none!important}body{background:#fff}.wrap{max-width:none;margin:0;padding:0}.panel{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.page-head{margin:0 0 10px}}

.app-shell{display:grid;grid-template-columns:245px minmax(0,1fr);max-width:1500px;margin:0 auto;min-height:calc(100vh - 76px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 14px;display:flex;flex-direction:column;gap:6px}.side-label{font-size:10px;letter-spacing:1.4px;font-weight:800;color:var(--muted);padding:5px 12px 12px}.sidebar a{display:flex;align-items:center;gap:11px;padding:12px;border-radius:10px;text-decoration:none;color:#40584b;font-weight:650;font-size:13px}.sidebar a:hover{background:#e8f4ec;color:var(--green)}.app-shell .wrap{max-width:none;width:100%;margin:0;padding:26px;min-width:0}.indicator-step[hidden]{display:none!important}.step-head{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 18px;margin-bottom:14px}.step-progress{height:7px;flex:1;background:#e6eee8;border-radius:99px;overflow:hidden}.step-progress span{display:block;height:100%;width:0;background:var(--green);transition:width .2s}.step-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;position:sticky;bottom:10px;box-shadow:0 5px 20px #173f2c20}.step-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:8px;flex-direction:row;overflow-x:auto}.side-label{display:none}.sidebar a{flex:0 0 auto;padding:10px;font-size:12px}.app-shell .wrap{padding:16px 12px}.step-head{flex-wrap:wrap}.step-progress{flex-basis:100%;order:3}.step-actions{flex-wrap:wrap}.step-actions button{flex:1}.step-actions #saveSteps{flex-basis:100%}}

.indicator-nav{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:14px}
.indicator-nav-title{font-size:13px;font-weight:800;margin-bottom:10px;color:#365746}
.indicator-nav-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:7px;max-height:150px;overflow:auto;padding:2px}
.indicator-jump{border:1px solid #d7e4da;background:#f8fbf9;color:#315943;border-radius:8px;padding:8px 5px;font:700 12px system-ui;cursor:pointer}
.indicator-jump:hover{border-color:var(--green);background:#e8f4ec}
.indicator-jump.current{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 0 0 2px #b9dec5}
.indicator-jump.completed:not(.current){background:#e4f7e9;border-color:#9dceaa;color:#176b49}
@media(max-width:760px){.indicator-nav-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));max-height:125px}}

.score-choice{margin:18px 0 20px}.score-choice-label{font-weight:800;font-size:14px;margin-bottom:10px}.score-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.score-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:100px;padding:12px 8px;border:1px solid #cfded3;border-radius:13px;background:#fff;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.score-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.score-number{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#edf5ef;color:#176b49;font-size:18px;font-weight:800}.score-description{font-size:12px;line-height:1.35;color:#4f6257}.score-option:has(input:checked){border:2px solid #176b49;background:#eaf7ee;box-shadow:0 0 0 2px #c9e7d1}.score-option:has(input:checked) .score-number{background:#176b49;color:#fff}.score-option:focus-within{outline:2px solid #8dcba0;outline-offset:2px}@media(max-width:600px){.score-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.score-option{min-height:76px;flex-direction:row;justify-content:flex-start;text-align:left;padding:10px}.score-number{flex:0 0 34px;width:34px;height:34px}.score-description{font-size:12px}.score-choice{margin:14px 0 18px}}

.super-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.super-tabs a{display:inline-flex;align-items:center;padding:11px 16px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:#315943;background:#fff;font-weight:750;font-size:13px}.super-tabs a.active{background:var(--green);border-color:var(--green);color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 24px rgba(20,60,40,.04)}.stat-card span{font-size:13px;color:#52665b;font-weight:700}.stat-card strong{font-size:32px;line-height:1.1;color:#176b49}.stat-card small{font-size:12px;color:#738178}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.section-title h2{margin-bottom:4px}.token-panel{border:1px solid #b9ddc7;background:#f1faf4;border-radius:12px;padding:16px;margin:12px 0}.token{font-size:18px;word-break:break-all;font-weight:800;letter-spacing:.04em;margin:12px 0}.super-tabs a{margin-bottom:4px}@media(max-width:800px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.stats-grid{grid-template-columns:1fr}.super-tabs{display:grid;grid-template-columns:1fr}.super-tabs a{justify-content:center}}

.sidebar a.active{background:#e6f5eb;color:#116747;border:1px solid #c5e7d1}.super-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.super-stats>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(20,60,40,.04)}.super-stats strong{display:block;font-size:32px;line-height:1.2;color:var(--green)}.super-stats span{display:block;font-weight:750;margin-top:8px}.super-stats small{display:block;color:var(--muted);margin-top:5px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h2{margin:0}.btn-danger{background:#fff0ee;color:#a52b20;border:1px solid #f1c2bc}.panel-head form,.row-actions form{margin:0}.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
@media(max-width:900px){.super-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.super-stats{grid-template-columns:1fr}.panel-head{align-items:flex-start;flex-direction:column}.sidebar a span{display:inline}}

.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(20,65,45,.04)}.stat-icon{width:38px;height:38px;border-radius:11px;background:#e7f5eb;color:#176b49;display:grid;place-items:center;font-size:22px;margin-bottom:14px}.stat-label{font-size:13px;color:#61766a;font-weight:700}.stat-value{font-size:34px;font-weight:850;line-height:1.25;color:#173b2c;margin:5px 0}.stat-foot{font-size:12px;color:#6b8175}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-heading h2{margin:0}.btn-danger{background:#fff0ef;color:#a62a21;border:1px solid #f2c9c5}.status-pill{display:inline-block;border-radius:999px;padding:4px 9px;background:#edf5ef;font-size:12px;font-weight:700}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.sidebar a.active{background:#e8f5ec;color:#176b49}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-heading{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:14px}.stat-value{font-size:28px}}

/* Super Admin dashboard redesign */
.sidebar a{display:flex;align-items:center;gap:10px;margin:4px 10px;padding:12px 13px;border-radius:10px;text-decoration:none;color:#244b3a;font-weight:750;font-size:13px}
.sidebar a:hover,.sidebar a.active{background:#e7f4ec;color:#126747}
.super-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.super-tabs a{display:inline-flex;align-items:center;padding:12px 18px;border:1px solid #dce9e0;border-radius:12px;text-decoration:none;color:#315943;background:#fff;font-weight:750;font-size:13px}
.super-tabs a.active{background:#176b49;border-color:#176b49;color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0 22px}
.stat-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:20px;background:#fff;border:1px solid #dce9e0;border-radius:16px;box-shadow:0 8px 24px rgba(28,69,48,.045);text-decoration:none;color:#18372a}
.stat-card:hover{border-color:#8fc9a7;transform:translateY(-1px)}
.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e8f5ed;color:#176b49;font-size:20px;font-weight:800}
.stat-label{font-size:12px;color:#5b7567;font-weight:700}
.stat-card strong{font-size:32px;line-height:1.1;color:#173b2a}
.stat-card small{font-size:12px;color:#60796b}
.panel-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.panel-heading-row h2{margin-bottom:5px}
.status-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#edf3ef;font-size:12px;font-weight:700}
.status-used{background:#e3f5e9;color:#176b49}.status-unused{background:#fff4d8;color:#875f00}.status-revoked{background:#fce8e6;color:#a12b24}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px}.stat-card strong{font-size:27px}.super-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.super-tabs a{justify-content:center;text-align:center;padding:11px 8px}.panel-heading-row{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card strong{font-size:24px}}


/* Super Admin: satu navigasi saja. Desktop memakai sidebar kiri; mobile memakai bottom navigation. */
.superadmin-layout .sidebar a{gap:10px}
.superadmin-layout .sidebar a .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;flex:0 0 22px;font-size:16px}
.superadmin-layout .sidebar a.active{background:#e5f4ea;color:#116747;border:1px solid #c5e7d1}
.superadmin-layout .super-tabs{display:none!important}
@media(max-width:760px){
 .superadmin-layout .app-shell{display:block;min-height:calc(100vh - 76px);padding-bottom:78px}
 .superadmin-layout .sidebar{position:fixed;z-index:1000;left:0;right:0;bottom:0;top:auto;height:auto;min-height:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border:0;border-top:1px solid #dbe7df;box-shadow:0 -5px 22px rgba(18,55,36,.10);overflow:visible}
 .superadmin-layout .sidebar .side-label{display:none}
 .superadmin-layout .sidebar a{min-width:0;min-height:48px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;border:1px solid transparent;border-radius:10px;font-size:10px;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:anywhere}
 .superadmin-layout .sidebar a .nav-icon{width:auto;flex:0 0 auto;font-size:18px;line-height:1.1}
 .superadmin-layout .sidebar a span:last-child{display:block;font-size:10px;max-width:100%}
 .superadmin-layout .app-shell .wrap{padding:18px 12px 24px}
 .superadmin-layout .top{position:sticky;top:0;z-index:900}
}
@media(max-width:380px){.superadmin-layout .sidebar a span:last-child{font-size:9px}.superadmin-layout .sidebar{padding-left:2px;padding-right:2px;gap:1px}}

/* Mobile navigation: fixed bottom bar, not a horizontal strip under the header */
@media (max-width: 760px) {
  body.superadmin-layout { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .app-shell { display: block; min-height: calc(100dvh - 76px); }
  .app-shell > .sidebar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 9999;
    width: 100% !important;
    height: calc(68px + env(safe-area-inset-bottom)) !important;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 2px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.98) !important;
    border: 0 !important;
    border-top: 1px solid #dce8df !important;
    box-shadow: 0 -5px 22px rgba(20,65,42,.10);
    box-sizing: border-box;
  }
  .app-shell > .sidebar .side-label { display: none !important; }
  .app-shell > .sidebar a {
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 5px 1px !important;
    border: 1px solid transparent;
    border-radius: 9px !important;
    display: flex !important;
    flex: initial !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.1 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
  }
  .app-shell > .sidebar a .nav-icon { display: block !important; font-size: 17px !important; line-height: 1.1 !important; }
  .app-shell > .sidebar a span:not(.nav-icon) { display: block !important; font-size: 9px !important; line-height: 1.1 !important; }
  .app-shell .wrap { padding: 18px 12px 24px !important; margin: 0 !important; width: 100% !important; }
  .super-tabs { display: none !important; }
}
@media (max-width: 380px) {
  .app-shell > .sidebar a { font-size: 8px !important; }
  .app-shell > .sidebar a span:not(.nav-icon) { font-size: 8px !important; }
  .app-shell > .sidebar a .nav-icon { font-size: 16px !important; }
}


/* FINAL OVERRIDE: responsive Super Admin navigation */
@media screen and (max-width: 760px) {
  html, body { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
  body.superadmin-layout { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  body.superadmin-layout .app-shell { display:block !important; width:100% !important; max-width:100% !important; min-width:0 !important; margin:0 !important; }
  body.superadmin-layout .app-shell > aside.sidebar,
  body.superadmin-layout aside.sidebar {
    position:fixed !important; inset:auto 0 0 0 !important; top:auto !important;
    z-index:2147483000 !important; display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    grid-auto-flow:row !important; width:100vw !important; max-width:100vw !important;
    min-width:0 !important; height:calc(66px + env(safe-area-inset-bottom)) !important;
    box-sizing:border-box !important; margin:0 !important;
    padding:4px 3px calc(4px + env(safe-area-inset-bottom)) !important;
    gap:2px !important; overflow:hidden !important;
    background:#fff !important; border:0 !important; border-top:1px solid #dce8df !important;
    box-shadow:0 -4px 16px rgba(20,65,42,.12) !important;
    transform:none !important; float:none !important;
  }
  body.superadmin-layout aside.sidebar .side-label { display:none !important; }
  body.superadmin-layout aside.sidebar > a {
    display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
    width:auto !important; min-width:0 !important; max-width:100% !important; height:100% !important;
    box-sizing:border-box !important; margin:0 !important; padding:3px 0 !important;
    gap:3px !important; overflow:hidden !important; white-space:normal !important;
    overflow-wrap:anywhere !important; word-break:normal !important; text-align:center !important;
    font-size:9px !important; line-height:1.05 !important; border-radius:8px !important;
  }
  body.superadmin-layout aside.sidebar > a .nav-icon { display:block !important; flex:none !important; font-size:17px !important; line-height:1 !important; }
  body.superadmin-layout aside.sidebar > a span:not(.nav-icon) { display:block !important; min-width:0 !important; max-width:100% !important; font-size:8px !important; line-height:1.05 !important; }
  body.superadmin-layout .app-shell > .wrap,
  body.superadmin-layout .app-shell .wrap {
    width:100% !important; max-width:100% !important; min-width:0 !important;
    box-sizing:border-box !important; margin:0 !important; padding:16px 12px calc(88px + env(safe-area-inset-bottom)) !important;
  }
  body.superadmin-layout .super-tabs { display:none !important; }
  body.superadmin-layout .top { width:100% !important; max-width:100% !important; box-sizing:border-box !important; }
  body.superadmin-layout .top-right { flex-shrink:0 !important; }
  body.superadmin-layout .page-head h1 { overflow-wrap:anywhere !important; }
}
@media screen and (max-width: 390px) {
  body.superadmin-layout aside.sidebar > a span:not(.nav-icon) { font-size:7px !important; }
  body.superadmin-layout aside.sidebar > a .nav-icon { font-size:15px !important; }
  body.superadmin-layout .top .brand { min-width:0 !important; }
  body.superadmin-layout .top .brand > span:last-child { font-size:13px !important; }
  body.superadmin-layout .top .brand small { font-size:10px !important; }
}


/* Super Admin modal forms and multi-school supervisor assignments */
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.section-head h2{margin:0}
.admin-modal{width:min(680px,calc(100vw - 28px));max-width:680px;max-height:88vh;overflow:auto;border:1px solid var(--line,#dce8e0);border-radius:18px;padding:0;background:#fff;color:var(--ink,#17352a);box-shadow:0 24px 80px rgba(0,0,0,.25)}
.admin-modal::backdrop{background:rgba(10,28,20,.52);backdrop-filter:blur(2px)}
.modal-form{padding:24px}
.modal-form .section-head{position:sticky;top:-24px;background:#fff;padding:8px 0;z-index:2;border-bottom:1px solid var(--line,#dce8e0)}
.school-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;overflow:auto;border:1px solid var(--line,#dce8e0);padding:10px;border-radius:12px}
.check-option{display:flex!important;align-items:flex-start;gap:10px;border:1px solid var(--line,#dce8e0);border-radius:10px;padding:10px;cursor:pointer;font-weight:500!important}
.check-option input{width:auto;margin-top:3px;flex:0 0 auto}
.check-option span{display:block}.check-option small{display:block;color:var(--muted,#66786d);font-size:12px;margin-top:3px}
.btn-sm{padding:7px 10px;font-size:12px}
.btn-danger{background:#fff0ef;color:#9b2c25;border:1px solid #f0c1bd}
.token-actions{min-width:180px}.token-actions form{display:inline-block;margin:5px 4px 0 0}.token-view{font:12px monospace;overflow-wrap:anywhere;padding:8px;background:#f3f8f4;border-radius:8px;margin:8px 0}
.status-pill{display:inline-block;padding:5px 8px;border-radius:999px;background:#edf5ef;font-size:12px;white-space:nowrap}
@media(max-width:640px){.school-check-list{grid-template-columns:1fr}.modal-form{padding:16px}.section-head{align-items:stretch}.section-head .btn{width:100%}.token-actions{min-width:140px}}

/* Dashboard Pengawas: infografik wilayah binaan */
@media(min-width:1200px){.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.supervisor-welcome{border-left:4px solid #176b49;padding-left:16px}
