/* ==========================================================================
   SIAKAD · desain "Nusa"
   Warna utama diambil dari Profil Institusi (--brand), turunan warna dihitung
   dengan color-mix() sehingga setiap kampus mendapat tema sendiri.
   ========================================================================== */

:root {
    --brand: #0f6e66;
    --gold: #c8963e;

    --brand-600: color-mix(in oklab, var(--brand) 88%, black);
    --brand-900: color-mix(in oklab, var(--brand) 55%, #06121a);
    --brand-50: color-mix(in oklab, var(--brand) 8%, white);
    --brand-100: color-mix(in oklab, var(--brand) 16%, white);

    --bg: #f5f6f3;
    --surface: #ffffff;
    --surface-2: #f9faf8;
    --line: #e4e7e2;
    --text: #18211f;
    --text-2: #56625e;
    --text-3: #8a948f;
    --ok: #15803d;
    --err: #c2410c;
    --ring: color-mix(in oklab, var(--brand) 35%, transparent);

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(16 24 22 / .04), 0 4px 16px rgb(16 24 22 / .04);
    --sidebar-w: 272px;
    --topbar-h: 64px;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Motif kawung tipis untuk sidebar dan halaman masuk */
    --kawung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='white' stroke-opacity='.07' stroke-width='1.2'%3E%3Cellipse cx='22' cy='11' rx='6.5' ry='10'/%3E%3Cellipse cx='22' cy='33' rx='6.5' ry='10'/%3E%3Cellipse cx='11' cy='22' rx='10' ry='6.5'/%3E%3Cellipse cx='33' cy='22' rx='10' ry='6.5'/%3E%3Ccircle cx='22' cy='22' r='1.6' fill='white' fill-opacity='.08'/%3E%3C/g%3E%3C/svg%3E");

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0d1413;
        --surface: #141d1c;
        --surface-2: #182322;
        --line: #26332f;
        --text: #e8eeec;
        --text-2: #a5b2ad;
        --text-3: #74827d;
        --brand-50: color-mix(in oklab, var(--brand) 14%, #141d1c);
        --brand-100: color-mix(in oklab, var(--brand) 24%, #141d1c);
        --shadow: 0 1px 2px rgb(0 0 0 / .3);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0d1413;
    --surface: #141d1c;
    --surface-2: #182322;
    --line: #26332f;
    --text: #e8eeec;
    --text-2: #a5b2ad;
    --text-3: #74827d;
    --brand-50: color-mix(in oklab, var(--brand) 14%, #141d1c);
    --brand-100: color-mix(in oklab, var(--brand) 24%, #141d1c);
    --shadow: 0 1px 2px rgb(0 0 0 / .3);
    color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.ikon { flex-shrink: 0; }
.muted { color: var(--text-2); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* Ikon tema */
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: inline; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .only-dark { display: inline; }
    :root:not([data-theme="light"]) .only-light { display: none; }
}

/* ---------- Kerangka ---------- */
.shell { display: flex; min-height: 100vh; min-height: 100dvh; }
.shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ---------- Sidebar ---------- */
.sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 40;
    width: var(--sidebar-w);
    display: flex; flex-direction: column;
    color: #e6f0ee;
    background: var(--kawung), linear-gradient(180deg, var(--brand-900), color-mix(in oklab, var(--brand-900) 80%, black));
    transition: transform .25s ease;
}
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; min-width: 0; }
.brand-mark {
    display: grid; place-items: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 12px;
    font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in oklab, var(--brand) 60%, var(--gold)));
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 0 0 3px rgb(200 150 62 / .35);
}
.brand-mark-lg { width: 72px; height: 72px; font-size: 22px; border-radius: 18px; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 16px; letter-spacing: .08em; }
.brand-text small { font-size: 12px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { flex: 1; overflow-y: auto; padding: 4px 12px 16px; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .15) transparent; }
.nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-group {
    margin: 18px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold);
}
.nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 10px;
    color: rgb(230 240 238 / .82); font-weight: 500; font-size: 14px;
    transition: background .15s, color .15s;
}
.nav-link:hover { background: rgb(255 255 255 / .07); color: #fff; }
.nav-link.is-active {
    background: rgb(255 255 255 / .12); color: #fff; font-weight: 600;
    box-shadow: inset 3px 0 0 var(--gold);
}
.nav-link.is-soon { opacity: .5; cursor: default; }
.nav-link.is-soon:hover { background: none; color: rgb(230 240 238 / .82); }
.nav-link em {
    margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600;
    padding: 1px 7px; border-radius: 99px; border: 1px solid rgb(255 255 255 / .2);
}
.sidebar-foot { padding: 14px 18px 18px; border-top: 1px solid rgb(255 255 255 / .08); }
.chip-inst { font-size: 12px; opacity: .7; }
.icon-btn.sidebar-x { display: none; color: #fff; }
.shell-overlay { display: none; }

/* ---------- Topbar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 30;
    height: var(--topbar-h);
    display: flex; align-items: center; gap: 12px;
    padding: 0 28px;
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.icon-btn.topbar-menu { display: none; }
.search {
    flex: 1; max-width: 420px;
    display: flex; align-items: center; gap: 10px;
    height: 40px; padding: 0 12px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line); color: var(--text-3);
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.search input[type="search"] { flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; outline: 0; box-shadow: none; background: none; font: inherit; color: var(--text); }
.search kbd { font: 600 11px var(--font); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-3); }
.topbar .search { position: relative; margin: 0; }
.cari-hasil {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
    max-height: 70vh; overflow-y: auto; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(0 0 0 / .16);
}
.cari-hasil[hidden] { display: none; }
.cari-grup { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cari-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.cari-item svg { flex-shrink: 0; color: var(--text-3); }
.cari-item span { display: grid; min-width: 0; }
.cari-item strong, .cari-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cari-item strong { font-weight: 600; font-size: 14px; }
.cari-item small { color: var(--text-3); font-size: 12px; }
.cari-item:hover, .cari-item.is-aktif { background: var(--brand-50); }
.cari-kosong { padding: 12px 10px; color: var(--text-3); font-size: 13px; }
.icon-btn.topbar-cari { display: none; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 12px; border: 0; background: none; cursor: pointer;
    color: var(--text-2);
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
.has-dot::after {
    content: ""; position: absolute; top: 10px; right: 11px; width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 2px var(--bg);
}

.menu-wrap { position: relative; }
.user-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--line);
    background: var(--surface); cursor: pointer;
}
.avatar {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand); color: #fff; font-weight: 700; font-size: 13px;
}
.user-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.user-meta strong { font-size: 13px; }
.user-meta small { font-size: 11px; color: var(--text-3); }
.user-caret { color: var(--text-3); }
.dropdown {
    position: absolute; right: 0; top: calc(100% + 8px); width: 240px;
    padding: 6px; border-radius: var(--radius); background: var(--surface);
    border: 1px solid var(--line); box-shadow: 0 12px 32px rgb(0 0 0 / .12);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.menu-wrap.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-head { display: flex; flex-direction: column; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dropdown-head small { color: var(--text-3); font-size: 12px; }
.dropdown-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left;
}
.dropdown-item { color: var(--text); font-size: 14px; }
.dropdown-item:hover { background: var(--surface-2); color: var(--brand); }
.dropdown-item.is-danger:hover { color: var(--err); }
.dropdown-role { align-self: flex-start; gap: 5px; margin-top: 8px; }
.dropdown-label { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.dropdown-sep { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

/* ---------- Halaman ---------- */
.page { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 28px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-title { font-size: 26px; font-weight: 800; }
.page-sub { margin-top: 4px; color: var(--text-2); max-width: 64ch; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.crumbs a { color: var(--text-2); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 28px; font-size: 12px; color: var(--text-3); }

/* ---------- Komponen ---------- */
.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h3 { font-size: 16px; font-weight: 700; }
.card-tint { background: var(--brand-50); border-color: var(--brand-100); }

.badge {
    display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px;
    font-size: 12px; font-weight: 600; background: var(--brand-50); color: var(--brand);
    border: 1px solid var(--brand-100);
}
:root[data-theme="dark"] .badge { color: color-mix(in oklab, var(--brand) 50%, white); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
    font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; cursor: pointer; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }

.alert {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px;
    border: 1px solid; font-weight: 500;
}
.alert-ok { background: color-mix(in oklab, var(--ok) 9%, var(--surface)); border-color: color-mix(in oklab, var(--ok) 25%, transparent); color: var(--ok); }
.alert-err { background: color-mix(in oklab, var(--err) 9%, var(--surface)); border-color: color-mix(in oklab, var(--err) 25%, transparent); color: var(--err); }
.alert-x { margin-left: auto; border: 0; background: none; cursor: pointer; color: inherit; display: grid; }
.alert-aksi { flex-wrap: wrap; }
.alert-aksi > span { flex: 1 1 220px; }

/* ---------- Formulir ---------- */
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field:last-child { margin-bottom: 0; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--text); }
.req { color: var(--err); }
.hint { font-size: 12px; color: var(--text-3); }
.field-err { font-size: 12px; color: var(--err); font-weight: 500; }
input:not([type="checkbox"], [type="radio"], [type="color"], [type="file"]), select, textarea {
    width: 100%; min-height: 42px; padding: 9px 12px;
    font: inherit; color: var(--text);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
select {
    appearance: none; padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a948f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.is-invalid { border-color: var(--err) !important; }
.input-icon { position: relative; }
.input-icon > .ikon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-icon input { padding-left: 40px !important; }
.input-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; color: var(--text-3); padding: 6px; display: grid; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }

.row-2, .row-3 { display: grid; gap: 0 16px; }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-body {
    display: flex; flex-direction: column; gap: 2px; height: 100%;
    padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2);
    transition: .15s;
}
.choice-body strong { font-size: 14px; }
.choice-body small { font-size: 12px; color: var(--text-3); }
.choice:hover .choice-body { border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.choice input:checked + .choice-body { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:checked + .choice-body strong { color: var(--brand); }
:root[data-theme="dark"] .choice input:checked + .choice-body strong { color: color-mix(in oklab, var(--brand) 45%, white); }
.choice input:focus-visible + .choice-body { box-shadow: 0 0 0 3px var(--ring); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.form-side { position: sticky; top: calc(var(--topbar-h) + 20px); display: grid; gap: 16px; }
.form-side .card + .card { margin-top: 0; }
.logo-drop { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 18px; }
.logo-preview { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 20px; background: var(--surface-2); border: 1px dashed var(--line); }
.logo-preview img { max-width: 88px; max-height: 88px; object-fit: contain; }
.color-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
input[type="color"] { width: 46px; height: 42px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); background: var(--sw); cursor: pointer; }
.kv { margin: 0; display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; font-weight: 700; }

/* ---------- Dasbor ---------- */
.hero-card {
    position: relative; overflow: hidden;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    padding: 26px 28px; border-radius: calc(var(--radius) + 4px); color: #fff; margin-bottom: 20px;
    background: var(--kawung), linear-gradient(120deg, var(--brand-900), var(--brand));
}
.hero-card::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
    border: 28px solid rgb(200 150 62 / .22);
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero-card h2 { font-size: 24px; font-weight: 800; margin: 6px 0 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-meta span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgb(255 255 255 / .12); }
.hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: rgb(0 0 0 / .18); min-width: 180px; }
.hero-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.hero-side strong { font-size: 18px; }
.hero-side small { opacity: .8; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in oklab, var(--tone) 12%, var(--surface)); color: var(--tone); }
.stat-label { font-size: 13px; color: var(--text-2); }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tone-primary { --tone: var(--brand); }
.tone-gold { --tone: #b07d26; }
.tone-sky { --tone: #0369a1; }
.tone-rose { --tone: #be123c; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.grid-2 .card + .card { margin-top: 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.tl-dot { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: #fff; }
.timeline li.is-done .tl-dot { background: var(--brand); border-color: var(--brand); }
.timeline li div { display: flex; flex-direction: column; }
.timeline strong { font-size: 14px; }
.timeline small { font-size: 13px; color: var(--text-3); }

.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.todo li div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.todo strong { font-size: 14px; }
.todo small { font-size: 12px; color: var(--text-3); }
.todo li .meter-batang { display: block; flex: none; margin: 6px 0 0; }
.todo strong .pill { margin-left: 6px; vertical-align: 1px; }
.todo-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.todo li.is-done .todo-ico { background: var(--ok); color: #fff; }
.todo li.is-muted { opacity: .6; }

/* ---------- Tabel & daftar ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.card-flush { padding: 0; overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
.tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabel th, .tabel td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.tabel thead th {
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3);
    background: var(--surface-2); white-space: nowrap;
}
.tabel tbody tr:last-child > * { border-bottom: 0; }
.tabel tbody tr:hover > td { background: color-mix(in oklab, var(--brand) 3%, var(--surface)); }
.tabel .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabel .center { text-align: center; }
.tabel .aksi { width: 1%; white-space: nowrap; text-align: right; }
.tabel .aksi > * { vertical-align: middle; }
.tabel .kosong { padding: 36px 16px; text-align: center; color: var(--text-3); }
.td-sub { display: block; font-size: 12px; }
.tabel code, .matriks-hak code {
    font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace;
    padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
}
.td-orang { display: flex; align-items: center; gap: 10px; }
.avatar-sm { width: 30px; height: 30px; font-size: 12px; flex-shrink: 0; }
.inline-form { display: inline; }
.icon-btn-sm { width: 34px; height: 34px; border-radius: 10px; }
.icon-btn-sm:hover { background: var(--brand-50); color: var(--brand); }
.icon-btn.is-danger:hover { background: color-mix(in oklab, var(--err) 10%, var(--surface)); color: var(--err); }

.pill {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
    color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line);
}
.pill-list { display: flex; flex-wrap: wrap; gap: 4px; }
.pill-ok, .pill-akr-unggul, .pill-akr-a { color: var(--ok); background: color-mix(in oklab, var(--ok) 9%, var(--surface)); border-color: color-mix(in oklab, var(--ok) 25%, transparent); }
.pill-akr-baik_sekali, .pill-akr-b { color: #0369a1; background: color-mix(in oklab, #0369a1 9%, var(--surface)); border-color: color-mix(in oklab, #0369a1 25%, transparent); }
.pill-akr-baik, .pill-akr-c { color: #a16207; background: color-mix(in oklab, #a16207 9%, var(--surface)); border-color: color-mix(in oklab, #a16207 25%, transparent); }
.pill-muted, .pill-akr-belum { opacity: .75; }
.pill-fakultas, .pill-jurusan { color: var(--brand); background: var(--brand-50); border-color: var(--brand-100); }
.pill-prodi { color: #0369a1; background: color-mix(in oklab, #0369a1 9%, var(--surface)); border-color: color-mix(in oklab, #0369a1 22%, transparent); }
:root[data-theme="dark"] .pill-fakultas, :root[data-theme="dark"] .pill-jurusan { color: color-mix(in oklab, var(--brand) 50%, white); }
:root[data-theme="dark"] .pill-prodi, :root[data-theme="dark"] .pill-akr-baik_sekali, :root[data-theme="dark"] .pill-akr-b { color: #7dd3fc; }
:root[data-theme="dark"] .pill-akr-baik, :root[data-theme="dark"] .pill-akr-c { color: #fcd34d; }
:root[data-theme="dark"] .pill-ok, :root[data-theme="dark"] .pill-akr-unggul, :root[data-theme="dark"] .pill-akr-a { color: #86efac; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pill-fakultas, :root:not([data-theme="light"]) .pill-jurusan { color: color-mix(in oklab, var(--brand) 50%, white); }
    :root:not([data-theme="light"]) .pill-prodi, :root:not([data-theme="light"]) .pill-akr-baik_sekali, :root:not([data-theme="light"]) .pill-akr-b { color: #7dd3fc; }
    :root:not([data-theme="light"]) .pill-akr-baik, :root:not([data-theme="light"]) .pill-akr-c { color: #fcd34d; }
    :root:not([data-theme="light"]) .pill-ok, :root:not([data-theme="light"]) .pill-akr-unggul, :root:not([data-theme="light"]) .pill-akr-a { color: #86efac; }
    :root:not([data-theme="light"]) .badge,
    :root:not([data-theme="light"]) .baris-grup th { color: color-mix(in oklab, var(--brand) 50%, white); }
}

/* Pohon unit */
.pohon-nama { display: inline-flex; align-items: center; gap: 8px; padding-left: calc(var(--tingkat, 0) * 22px); }
.pohon-nama small { color: var(--text-3); font-size: 12px; }
.pohon-garis { width: 12px; height: 12px; margin-left: -4px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); border-bottom-left-radius: 4px; transform: translateY(-4px); flex-shrink: 0; }

/* Matriks hak akses */
.tabel-matriks th, .tabel-matriks td { padding: 10px 14px; }
.tabel-matriks .sticky-col { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 240px; }
.tabel-matriks thead .sticky-col { background: var(--surface-2); }
.tabel-matriks tbody tr:hover > .sticky-col { background: color-mix(in oklab, var(--brand) 3%, var(--surface)); }
.baris-grup th { background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
:root[data-theme="dark"] .baris-grup th { color: color-mix(in oklab, var(--brand) 50%, white); }
.matriks-peran { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-transform: none; letter-spacing: 0; font-size: 12px; min-width: 84px; white-space: normal; }
.matriks-hak { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; font-weight: 400; }
.matriks-hak strong { font-size: 14px; font-weight: 600; }
.matriks-cek { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; }

/* Alat bantu daftar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.toolbar .search-inline { flex: 1 1 260px; max-width: none; height: 42px; }
.toolbar select { width: auto; min-width: 170px; }
.paginasi { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.paginasi-tombol { display: flex; align-items: center; gap: 8px; }
.paginasi-hal { font-variant-numeric: tabular-nums; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* Formulir tambahan */
.narrow { max-width: 720px; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.form-side .form-actions .btn { flex: 1; }
.choice-grid-auto { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.choice-body strong .ikon { vertical-align: -2px; }
.alert-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--text); }
.alert-info .ikon { color: var(--brand); }
.page-note { display: flex; align-items: center; gap: 6px; margin-top: 14px; }

/* Dasbor per peran */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feature {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm);
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text); transition: border-color .15s, background .15s;
}
a.feature:hover { border-color: var(--brand); background: var(--brand-50); }
.feature.is-soon { opacity: .7; }
.feature-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feature-body strong { font-size: 14px; }
.feature-body small { font-size: 12px; color: var(--text-3); }
.feature-go { color: var(--brand); }
.soon-tag { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--text-3); }

.dasbor-blok { margin-bottom: 16px; }
.blok-atas { margin-top: 16px; }
.todo li > div a { color: var(--text); }
.todo li > div a:hover { color: var(--brand); }

/* Profil & detail */
.profil-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-lg { width: 64px; height: 64px; font-size: 24px; flex-shrink: 0; }
.profil-head h2 { font-size: 20px; font-weight: 800; }
.profil-head .hero-meta span:not(.pill) { background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.kv-grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv-grid dt { font-size: 12px; color: var(--text-3); font-weight: 600; }
.kv-grid dd { margin: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.riwayat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.riwayat li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.riwayat time { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.riwayat small { grid-column: 2; font-size: 12px; color: var(--text-3); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost.btn-danger:hover { border-color: var(--err); color: var(--err); }

/* Impor */
.langkah { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.langkah span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-3); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.langkah span.is-now { color: var(--brand); border-color: var(--brand); background: var(--brand-50); }
.langkah span.is-done { color: var(--ok); }
.baris-galat > td { background: color-mix(in oklab, var(--err) 5%, var(--surface)); }
.galat-list { margin: 4px 0 0; padding-left: 18px; color: var(--err); font-size: 12px; text-align: left; }
.pill-galat { color: var(--err); background: color-mix(in oklab, var(--err) 9%, var(--surface)); border-color: color-mix(in oklab, var(--err) 25%, transparent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.ringkas-impor { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
code.pola {
    font: 600 14px ui-monospace, SFMono-Regular, Consolas, monospace; padding: 4px 8px; border-radius: 6px;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
}

/* Tab dan tombol segmen */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); }
.tabs a.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.segmen { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.segmen a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.segmen a.is-on { background: var(--brand-50); color: var(--brand); }
.putar { transform: rotate(180deg); }
.judul-bagian { font-size: 16px; font-weight: 700; margin: 22px 0 10px; }

/* Warna jenis kegiatan */
.kg-krs { --kg: #0369a1; }
.kg-kuliah { --kg: var(--brand); }
.kg-ujian { --kg: #b45309; }
.kg-nilai { --kg: #7c3aed; }
.kg-wisuda { --kg: #a16207; }
.kg-libur { --kg: #be123c; }
.kg-lain { --kg: #64748b; }

/* Kalender bulan */
.card.kalender { padding: 0; overflow: hidden; }
.kalender-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.kalender-head h3 { font-size: 17px; font-weight: 700; text-transform: capitalize; }
.kalender-grid { display: grid; }
.kalender-baris { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kalender-hari span { padding: 8px; font-size: 12px; font-weight: 700; color: var(--text-3); text-align: center; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.kalender-sel { min-height: 104px; padding: 6px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.kalender-baris .kalender-sel:last-child { border-right: 0; }
.kalender-sel.is-luar { background: var(--surface-2); }
.kalender-sel.is-luar .kalender-tgl { color: var(--text-3); opacity: .6; }
.kalender-sel.is-libur-pekan .kalender-tgl { color: var(--err); }
.kalender-tgl { font-size: 12px; font-weight: 700; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.kalender-sel.is-hari-ini .kalender-tgl { background: var(--brand); color: #fff; }
.kg { display: block; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.35;
    color: var(--kg); background: color-mix(in oklab, var(--kg) 12%, var(--surface)); border-left: 3px solid var(--kg); }
.kg-teks { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg-lebih { font-size: 11px; color: var(--text-3); padding-left: 4px; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; color: var(--text-2); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.kg-titik { width: 10px; height: 10px; border-radius: 3px; background: var(--kg); display: inline-block; }

/* Daftar agenda */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.agenda-item:last-child { border-bottom: 0; }
.agenda-item.is-selesai { opacity: .6; }
.agenda-tgl { flex-shrink: 0; width: 48px; height: 52px; border-radius: 12px; display: grid; place-content: center; text-align: center; line-height: 1.1;
    color: var(--kg); background: color-mix(in oklab, var(--kg) 12%, var(--surface)); }
.agenda-tgl strong { font-size: 18px; }
.agenda-tgl small { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.agenda-isi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.agenda-isi strong { font-size: 14px; }
.agenda-isi small { font-size: 12px; color: var(--text-3); }
.agenda-ket { margin-top: 2px; }
.agenda-aksi { display: inline-flex; }
.agenda .kosong { padding: 28px 16px; text-align: center; }
.card .agenda-item { padding-left: 0; padding-right: 0; }
.card-flush .agenda-item { padding-left: 16px; padding-right: 16px; }

/* Aturan berversi */
.versi-list { display: grid; gap: 14px; margin-top: 14px; }
.versi-list .card + .card { margin-top: 0; }
.versi.is-berlaku { border-color: color-mix(in oklab, var(--ok) 40%, var(--line)); box-shadow: inset 3px 0 0 var(--ok), var(--shadow); }
.versi-meta { margin-top: 6px; }
.versi-meta .pill { font-weight: 600; }
.versi-ket { margin-top: 10px; }
.chip-skala { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-skala span { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); min-width: 74px; }
.chip-skala strong { font-size: 16px; }
.chip-skala small { font-size: 11px; color: var(--text-3); }
.chip-skala .is-gagal strong { color: var(--err); }
.tabel-isian td { padding: 6px 8px; }
.tabel-isian th { padding: 8px; }
.input-kecil { max-width: 120px; }

/* Kurikulum, kelas, dan ruang */
.card-head-pad { padding: 14px 16px 0; margin-bottom: 10px; }
.card-head-pad small { display: block; font-size: 12px; }
.card-flush + .card-flush, .blok-gedung + .blok-gedung { margin-top: 16px; }
.td-baris { display: block; font-size: 13px; }
.pilih-prasyarat { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pilih-prasyarat fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px 10px; margin: 0; display: grid; gap: 6px; }
.pilih-prasyarat legend { font-size: 12px; font-weight: 700; color: var(--text-3); padding: 0 4px; }
.pilih-prasyarat .check { font-size: 13px; }
.daftar-cpl { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; }
.is-sekarang { border-color: color-mix(in oklab, var(--ok) 40%, var(--line)); }
.cetak-judul { display: none; }

/* Jadwal mingguan: kolom jam + satu kolom per hari; slot bertumpuk di hari yang sama memakai lajur berbeda */
.jadwal-minggu { display: grid; grid-template-columns: 56px repeat(var(--hari, 6), minmax(0, 1fr)); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.jm-kolom { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; }
.jm-kolom.jm-jam { border-left: 0; }
.jm-kepala { height: 36px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--text-2);
    background: var(--surface-2); border-bottom: 1px solid var(--line); }
.jm-isi { display: grid; grid-template-rows: repeat(var(--baris), 26px); gap: 0 3px; padding: 0 3px; position: relative;
    background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 100% 52px; }
.jm-jam .jm-isi { background: none; padding: 0; }
.jm-jam .jm-isi span { font-size: 11px; color: var(--text-3); text-align: right; padding: 2px 6px 0 0; }
.jm-blok { margin: 2px 0; padding: 4px 6px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; gap: 1px; min-width: 0;
    background: var(--brand-50); border-left: 3px solid var(--brand); color: var(--text); font-size: 11px; line-height: 1.25; }
.jm-blok strong { font-size: 12px; color: var(--brand); }
:root[data-theme="dark"] .jm-blok strong { color: color-mix(in oklab, var(--brand) 50%, white); }
.jm-blok span, .jm-blok small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-blok small { color: var(--text-3); }
.jm-blok.is-praktikum { background: color-mix(in oklab, #7c3aed 10%, var(--surface)); border-left-color: #7c3aed; }
.jm-blok.is-praktikum strong { color: #7c3aed; }
.jadwal-daftar { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .jm-blok strong { color: color-mix(in oklab, var(--brand) 50%, white); }
    :root:not([data-theme="light"]) .jm-blok.is-praktikum strong { color: #c4b5fd; }
}
:root[data-theme="dark"] .jm-blok.is-praktikum strong { color: #c4b5fd; }

/* KRS */
.krs-kepala { display: grid; gap: 14px; margin-bottom: 16px; }
.krs-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.krs-status p { margin-top: 4px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.meter-sks { display: grid; gap: 6px; }
.meter-teks { font-size: 13px; color: var(--text-2); }
.meter-teks strong { font-size: 20px; color: var(--text); }
.meter-batang { height: 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter-batang span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .3s; }
.meter-batang span.is-penuh { background: var(--gold); }
.catatan-pa { display: flex; align-items: flex-start; gap: 6px; padding: 10px 12px; border-radius: var(--radius-sm); background: color-mix(in oklab, var(--gold) 12%, var(--surface)); font-size: 14px; }
.tawaran { display: grid; }
.tawaran-mk { padding: 12px 16px; border-top: 1px solid var(--line); }
.tawaran-mk > header { display: flex; flex-direction: column; margin-bottom: 8px; }
.tawaran-mk > header small { font-size: 12px; }
.tawaran-kelas { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.tawaran-kelas + .tawaran-kelas { margin-top: 8px; }
.tawaran-kelas.is-diambil { border-color: color-mix(in oklab, var(--ok) 40%, var(--line)); background: color-mix(in oklab, var(--ok) 6%, var(--surface)); }
.tawaran-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.tawaran-info small { font-size: 12px; }
.tawaran-aksi { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.krs-pilihan { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.krs-pilihan li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface-2); }
.krs-pilihan div { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.krs-pilihan small { font-size: 12px; color: var(--text-3); }
.krs-ajukan { margin-top: 14px; }
.pratinjau-hari { margin: 10px 0 4px; }
.pratinjau-hari:first-of-type { margin-top: 0; }
.pratinjau-jadwal { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.pratinjau-jadwal span { display: inline-block; min-width: 92px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ringkas-krs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ringkas-krs a { display: flex; flex-direction: column; padding: 10px 14px; min-width: 96px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.ringkas-krs a.is-on { border-color: var(--brand); background: var(--brand-50); }
.ringkas-krs strong { font-size: 20px; }
.ringkas-krs small { font-size: 12px; color: var(--text-3); }
.stat-kecil { font-size: 14px !important; font-weight: 600 !important; }
.krs-total { padding-bottom: 14px; }

/* Nilai */
.tabel-nilai th small { display: block; font-size: 10px; color: var(--text-3); font-weight: 600; }
.tabel-nilai td, .tabel-nilai th { padding: 8px 10px; }
.input-nilai { width: 76px !important; min-height: 36px !important; padding: 6px 8px !important; text-align: center; font-variant-numeric: tabular-nums; }
.tabel-nilai [data-huruf] { font-size: 15px; }
.bobot-ringkas .pill { margin: 0 4px 4px 0; }
.meter-kecil { height: 6px; margin-bottom: 4px; min-width: 90px; }
.aksi-nilai { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.buka-kunci { position: relative; }
.buka-kunci summary { list-style: none; }
.buka-kunci summary::-webkit-details-marker { display: none; }
.buka-kunci[open] form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; gap: 6px; padding: 8px; width: 280px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgb(0 0 0 / .14); }
.buka-kunci form input { min-height: 34px; }
.perubahan { display: inline-flex; align-items: center; gap: 6px; }
.ringkas-item { display: flex; flex-direction: column; padding: 10px 14px; min-width: 96px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.ringkas-item strong { font-size: 20px; }
.ringkas-item small { font-size: 12px; color: var(--text-3); }
.tren-ips { width: 100%; height: auto; max-height: 180px; }
.tren-grid { stroke: var(--line); stroke-width: 1; }
.tren-sumbu { fill: var(--text-3); font-size: 9px; }
.tren-nilai { fill: var(--text-2); font-size: 9px; font-weight: 700; }
.tren-garis { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.tren-titik { fill: var(--surface); stroke: var(--brand); stroke-width: 2.5; }

/* Lonceng notifikasi */
.notif-jumlah { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
    background: var(--err); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.notif .agenda-isi { color: var(--text); }
.notif.is-dibaca { opacity: .65; }

/* Lembar cetak KRS */
.lembar-cetak { max-width: 820px; margin: 24px auto; padding: 32px; background: #fff; color: #111; border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; }
.cetak-aksi { text-align: right; margin-bottom: 12px; }
.kop { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 3px double #111; }
.kop-logo { width: 64px; height: 64px; object-fit: contain; }
.kop div { display: flex; flex-direction: column; }
.kop strong { font-size: 16px; }
.lembar-cetak h1 { text-align: center; font-size: 16px; letter-spacing: .08em; margin: 18px 0 2px; }
.cetak-sub { text-align: center; margin-bottom: 14px; }
.cetak-identitas { width: 100%; margin-bottom: 12px; }
.cetak-identitas td { padding: 2px 4px; }
.cetak-tabel { width: 100%; border-collapse: collapse; }
.cetak-tabel th, .cetak-tabel td { border: 1px solid #555; padding: 5px 6px; text-align: left; vertical-align: top; }
.cetak-tabel th { background: #eee; }
.cetak-tabel .num { text-align: center; }
.cetak-tabel tfoot td { font-weight: 700; }
.ttd { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; }
.ttd > div { width: 45%; }
.ttd-ruang { height: 70px; display: grid; place-items: center; }
.stempel { border: 2px solid #15803d; color: #15803d; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; transform: rotate(-4deg); }

/* Cetak: hanya isi halaman, tanpa menu */
@media print {
    .sidebar, .topbar, .bottomnav, .foot, .page-actions, .toolbar, .crumbs, .page-head, .alert, .shell-overlay { display: none !important; }
    .shell-main { margin: 0 !important; }
    .page { padding: 0; max-width: none; }
    body { background: #fff; color: #000; font-size: 11px; }
    .cetak-judul { display: block; margin-bottom: 8px; font-size: 13px; }
    .jadwal-minggu { box-shadow: none; }
    .jm-blok { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .card { box-shadow: none; break-inside: avoid; }
    .cetak-aksi { display: none; }
    .lembar-cetak { margin: 0; padding: 0; box-shadow: none; max-width: none; }
}

/* Halaman galat */
.error-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 20px 16px; }
.error-card { max-width: 440px; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 32px 24px; }
.error-card h1 { font-size: 24px; font-weight: 800; }
.error-ico { width: 52px; height: 52px; border-radius: 16px; }

/* ---------- Halaman masuk ---------- */
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.auth-hero {
    position: relative; display: flex; align-items: flex-end; padding: 48px; color: #fff; overflow: hidden;
    background: var(--kawung), radial-gradient(120% 90% at 0% 100%, var(--brand) 0%, var(--brand-900) 70%);
}
.auth-hero::before {
    content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
    border: 48px solid rgb(200 150 62 / .2);
}
.auth-hero-inner { position: relative; max-width: 460px; }
.brand-lg .brand-mark { width: 52px; height: 52px; font-size: 17px; border-radius: 15px; }
.brand-lg .brand-text strong { font-size: 20px; }
.brand-lg .brand-text small { font-size: 14px; white-space: normal; }
.auth-tagline { font-size: 34px; font-weight: 800; letter-spacing: -.025em; margin: 40px 0 24px; line-height: 1.15; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; opacity: .9; }
.auth-points .ikon { color: var(--gold); }
.auth-panel { display: grid; place-items: center; padding: 32px 20px; background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 28px; font-weight: 800; }
.auth-card > .muted { margin: 6px 0 28px; }
.auth-card .field { margin-bottom: 0; }
.auth-mobile-brand { display: none; }
.auth-theme { margin-top: 28px; }

/* ---------- Navigasi bawah (ponsel) ---------- */
.bottomnav { display: none; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (min-width: 1024px) {
    .shell-main { margin-left: var(--sidebar-w); }
}

@media (max-width: 1180px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    .sidebar { transform: translateX(-100%); box-shadow: none; }
    .shell.is-nav-open .sidebar { transform: none; box-shadow: 20px 0 40px rgb(0 0 0 / .25); }
    .shell-overlay { display: block; position: fixed; inset: 0; z-index: 35; background: rgb(6 12 12 / .45); opacity: 0; visibility: hidden; transition: .2s; }
    .shell.is-nav-open .shell-overlay { opacity: 1; visibility: visible; }
    .icon-btn.sidebar-x { display: inline-grid; }
    .sidebar-x:hover { background: rgb(255 255 255 / .1); color: #fff; }
    .icon-btn.topbar-menu { display: inline-grid; }
    .topbar { padding: 0 16px; }
    .page { padding: 22px 16px; }
    .foot { padding: 16px; }
    .form-layout { grid-template-columns: minmax(0, 1fr); }
    .form-side { position: static; }
    .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .auth { grid-template-columns: 1fr; }
    .auth-hero { display: none; }
    .auth-mobile-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font-weight: 600; color: var(--text-2); }
    .auth-panel { place-items: start center; padding-top: 12vh; background: var(--kawung) top / 44px, var(--bg); }
    :root:not([data-theme="dark"]) .auth-panel { background: var(--bg); }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .topbar .search { display: none; }
    .icon-btn.topbar-cari { display: inline-grid; }
    .user-meta, .user-caret { display: none; }
    .user-btn { padding: 3px; }
    .page { padding: 18px 16px calc(84px + env(safe-area-inset-bottom)); }
    .page-title { font-size: 22px; }
    .page-head { margin-bottom: 18px; }
    .page-actions, .page-actions .btn { width: 100%; }
    .row-2, .row-3 { grid-template-columns: minmax(0, 1fr); }
    .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .card { padding: 16px; }
    .hero-card { padding: 20px; }
    .hero-card h2 { font-size: 20px; }
    .hero-side { width: 100%; }
    .stats { gap: 10px; }
    .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .stat-ico { width: 38px; height: 38px; border-radius: 11px; }
    .stat-value { font-size: 22px; }
    .foot { display: none; }
    .sticky-actions {
        position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 25;
        padding: 10px 16px; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(8px);
        border-top: 1px solid var(--line);
    }
    .form-layout { padding-bottom: 64px; }

    .bottomnav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        display: grid; grid-template-columns: repeat(4, 1fr);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: var(--surface); border-top: 1px solid var(--line);
    }
    .bottomnav > * {
        display: flex; flex-direction: column; align-items: center; gap: 2px;
        padding: 6px 0; border: 0; background: none; border-radius: 10px;
        font-size: 11px; font-weight: 600; color: var(--text-3); cursor: pointer;
    }
    .bottomnav .is-active { color: var(--brand); }
    .bottomnav .is-active .ikon { background: var(--brand-50); border-radius: 99px; padding: 3px 14px; width: 50px; }
    .bottomnav .is-soon { opacity: .45; cursor: default; }
}

/* Tabel di ponsel: tabel-kartu menjadi kartu bertumpuk, tabel lain digulir ke samping */
@media (max-width: 760px) {
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .card.card-flush { padding: 0; overflow: visible; background: none; border: 0; box-shadow: none; }
    .tabel-kartu .td-sub.hanya-lebar { display: none; }
    .table-scroll { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
    .tabel-kartu thead { display: none; }
    .tabel-kartu, .tabel-kartu tbody { display: block; }
    .tabel-kartu tr {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px;
        padding: 14px 16px; margin-bottom: 10px; border-radius: var(--radius);
        background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .tabel-kartu td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; grid-column: 1 / -1; text-align: right; }
    .tabel-kartu td::before { content: attr(data-label); flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--text-3); text-align: left; }
    .tabel-kartu td.td-judul { grid-column: 1; grid-row: 1; display: block; text-align: left; padding-bottom: 8px; margin-bottom: 4px; }
    .tabel-kartu td.td-judul::before, .tabel-kartu td.aksi::before, .tabel-kartu td.kosong::before { content: none; }
    .tabel-kartu td.aksi { grid-column: 2; grid-row: 1; width: auto; align-self: start; }
    .tabel-kartu td.td-tumpuk { display: block; text-align: left; }
    .tabel-kartu td.td-tumpuk::before { display: block; margin-bottom: 2px; }
    .tabel-kartu td.kosong { display: block; text-align: center; }
    .tabel-kartu tbody tr:hover > td { background: none; }
    .tabel-kartu .td-sub { text-align: inherit; }
    .tabel-kartu .pill-list { justify-content: flex-end; }
    .pohon-nama { padding-left: calc(var(--tingkat, 0) * 14px); }
    .tabel-matriks .sticky-col { min-width: 180px; }
    .paginasi { border-top: 0; padding: 4px 0; }
}

@media (max-width: 640px) {
    .toolbar .search-inline { display: flex; flex-basis: 100%; }
    .toolbar select { flex: 1 1 calc(50% - 5px); min-width: 0; }
    .toolbar > .btn { flex: 1 1 100%; }
    .narrow .form-actions .btn { flex: 1; }
    .sticky-actions.form-actions { margin-top: 0; justify-content: stretch; }
    .sticky-actions.form-actions .btn { flex: 1; }
    form:has(> .sticky-actions) { padding-bottom: 64px; }
    .dropdown { width: min(280px, calc(100vw - 32px)); }
    .kv-grid { grid-template-columns: minmax(0, 1fr); }
    .jadwal-minggu { display: none; }
    .krs-status { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .tabel-kartu td.td-pilih:not(:has(input)) { display: none; }
    .tawaran-kelas { flex-direction: column; }
    .tawaran-aksi { flex-direction: row; align-items: center; justify-content: space-between; }
    .tawaran-aksi form, .tawaran-aksi .btn { flex: 1; }
    .lembar-cetak { margin: 0; padding: 16px; border-radius: 0; }
    .ttd { flex-direction: column; }
    .ttd > div { width: 100%; }
    .jadwal-daftar { display: grid; gap: 14px; }
    .jadwal-daftar .card-flush + .card-flush { margin-top: 0; }
    .agenda-tgl.kg-kuliah strong { font-size: 13px; }
    /* Kalender di ponsel: sel ringkas, kegiatan menjadi titik berwarna; rinciannya di daftar di bawahnya. */
    .kalender-sel { min-height: 52px; padding: 4px 2px; align-items: center; gap: 2px; flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-start; }
    .kalender-tgl { flex-basis: 100%; margin: 0 auto; }
    .kg { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--kg); }
    .kg-teks, .kg-lebih { display: none; }
    .kalender-hari span { padding: 6px 0; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .tabs a { white-space: nowrap; }
    .toolbar .segmen { flex: 1 1 100%; }
    .segmen a { flex: 1; justify-content: center; }
    .agenda-item { flex-wrap: wrap; }
    .agenda-isi { flex-basis: calc(100% - 62px); }
    .tabel-isian thead { display: none; }
    .tabel-isian, .tabel-isian tbody { display: block; }
    .tabel-isian tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .tabel-isian td { display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0; }
    .tabel-isian td::before { content: attr(data-label); font-size: 11px; font-weight: 600; color: var(--text-3); }
    .tabel-isian td.aksi { grid-row: 1; grid-column: 3; align-self: end; }
    .input-kecil { max-width: none; }
    .inline-actions .btn, .inline-actions form { flex: 1; }
    .inline-actions form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

/* ---------- Keuangan ---------- */
.stat-value.stat-rp { font-size: 19px; overflow-wrap: anywhere; }
.teks-galat { color: var(--err); }
.teks-ok { color: var(--ok); }
.pecah { overflow-wrap: anywhere; word-break: break-all; }
.tabel-ringkas td, .tabel-ringkas th { padding: 9px 16px; }
.tabel-ringkas tfoot th { border-top: 1px solid var(--line); font-weight: 800; }
.card-foot-form { padding: 14px 16px; border-top: 1px solid var(--line); }
.form-actions-kiri { justify-content: flex-start; }
.pill .inline-form { display: inline; }
.pill-x { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 0 0 4px; display: inline-grid; vertical-align: middle; opacity: .7; }
.pill-x:hover { opacity: 1; }
.lipat { display: inline-block; }
.lipat > summary { list-style: none; }
.lipat > summary::-webkit-details-marker { display: none; }
.lipat[open] { display: block; width: 100%; }
.lipat-isi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; text-align: left; }
.lipat-isi select, .lipat-isi input { width: auto; flex: 1 1 160px; }
.lipat-form { display: block; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.lipat-form input, .lipat-form select { width: 100%; }
.aksi .lipat[open] { min-width: 240px; }
.meter-mini { grid-template-columns: minmax(60px, 1fr) auto; align-items: center; min-width: 120px; }
.meter-mini small { font-size: 12px; color: var(--text-2); }
.daftar-skema { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.daftar-skema .card + .card { margin-top: 0; }
.daftar-skema .card-head { align-items: flex-start; }
.sub-judul { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
form[data-model]:not([data-model="ukt"]) [data-hanya="ukt"],
form[data-model]:not([data-model="per_sks"]) [data-hanya="per_sks"] { display: none; }
.cetak-tabel .kanan { text-align: right; white-space: nowrap; }
.cetak-h2 { font-size: 13px; margin: 16px 0 6px; }
.cetak-catatan { font-size: 11px; margin-top: 8px; color: #444; }
.cetak-kwitansi td { padding: 5px 4px; }
.cetak-kwitansi td:first-child { width: 160px; }
@media (max-width: 640px) {
    .daftar-skema { grid-template-columns: minmax(0, 1fr); }
    .aksi .lipat[open] { min-width: 0; }
}

/* ---------- Presensi & ujian ---------- */
.agenda-tautan { display: flex; align-items: center; gap: 12px; width: 100%; color: inherit; text-decoration: none; }
.qr-buka { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.qr-buka h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.qr-buka > div { flex: 1 1 260px; }
.pilih-hadir { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pilih-hadir label { cursor: pointer; }
.pilih-hadir input { position: absolute; opacity: 0; pointer-events: none; }
.pilih-hadir span { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); }
.pilih-hadir input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pilih-hadir label.pilih-hadir input:checked + span { color: #fff; background: var(--ok); border-color: var(--ok); }
.pilih-hadir label.pilih-izin input:checked + span { color: #fff; background: #0369a1; border-color: #0369a1; }
.pilih-hadir label.pilih-sakit input:checked + span { color: #fff; background: #a16207; border-color: #a16207; }
.pilih-hadir label.pilih-alpa input:checked + span { color: #fff; background: var(--err); border-color: var(--err); }
.layar-qr { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px 16px; text-align: center; background: var(--bg); color: var(--text); }
.layar-qr h1 { font-size: clamp(20px, 4vw, 32px); font-weight: 800; }
.qr-kotak { background: #fff; padding: 16px; border-radius: 16px; box-shadow: var(--shadow); width: min(80vw, 420px); aspect-ratio: 1; display: grid; place-items: center; color: #111; }
.qr-kotak svg { width: 100%; height: auto; }
.qr-info { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 15px; color: var(--text-2); }
.qr-info strong { color: var(--text); font-size: 20px; }
.pindai-kartu { text-align: center; }
.pindai-kartu form { display: grid; gap: 8px; justify-items: center; margin-top: 12px; }
.btn-lebar { width: 100%; max-width: 320px; justify-content: center; }
.daftar-pertemuan { display: block; }
.daftar-pertemuan li { flex-wrap: wrap; }
.kartu-kepala { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.kartu-qr svg { width: 110px; height: 110px; }
@media (max-width: 640px) {
    .qr-buka .btn, .qr-buka form { width: 100%; }
    .qr-buka form .btn { justify-content: center; }
}

/* ---------- Kelulusan ---------- */
.judul-ta { font-size: 16px; font-weight: 700; line-height: 1.4; }
.tabel .baris-sub td { padding-top: 0; background: var(--surface-2); }
.riwayat-pad { padding: 0 16px 12px; }
.daftar-syarat { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.daftar-syarat .muted { color: var(--text-2); }
.isian-nomor { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.isian-nomor input, .isian-nomor select { width: auto; flex: 1 1 120px; min-width: 0; }
.isian-nomor .input-kecil { flex: 0 1 80px; }
.daftar-pilih { display: grid; gap: 6px; max-height: 220px; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pill-tombol { cursor: pointer; font: inherit; font-size: 12px; }
.pill-tombol:hover { filter: brightness(.95); }
.batang-frek { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.batang-frek li { display: grid; grid-template-columns: minmax(80px, 30%) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.bf-label { overflow-wrap: anywhere; }
.bf-angka { color: var(--text-2); font-size: 13px; white-space: nowrap; }
.ringkas-krs .ringkas-item { display: flex; flex-direction: column; padding: 10px 14px; min-width: 96px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.ringkas-krs .ringkas-item strong { font-size: 20px; }
@media (max-width: 640px) {
    .batang-frek li { grid-template-columns: 1fr auto; }
    .batang-frek .meter-batang { grid-column: 1 / -1; grid-row: 2; }
}
.card-head .badge, .card-head > .pill { white-space: nowrap; flex-shrink: 0; }

/* ---------- Pelaporan PDDikti ---------- */
.baris-peta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; align-items: center; margin-bottom: 8px; }
.baris-peta label { margin: 0; font-size: 13px; }
.pratinjau-json { display: block; max-width: 100%; overflow: auto; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; white-space: pre-wrap; word-break: break-all; }
.langkah { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.card-head { flex-wrap: wrap; }
.tanpa-bingkai { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Ringkas IKU 1 di dasbor (data dari Portal Alumni) */
.iku-ringkas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.iku-ringkas div { padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.iku-ringkas strong { display: block; font-size: 24px; color: var(--brand); }
.iku-ringkas span { font-size: 13px; color: var(--text-2); }
@media (max-width: 700px) { .iku-ringkas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
