/* =========================================================================
   SI-PRO v1.0 — Stylesheet
   Gaya: "pusat kendali operasional" — navy + aksen amber, label mono huruf kapital,
   kartu bersih dengan garis warna status. Tanpa framework CSS.
   ========================================================================= */
:root {
  --navy-950: #08152c; --navy-900: #0c1c3a; --navy-800: #13284f; --navy-700: #1c3566; --navy: #0f2147;
  --blue: #1d4ed8; --blue-600: #2563eb; --blue-50: #eef3ff; --blue-100: #dbe6ff;
  --green: #047857; --green-500: #10b981; --green-50: #ecfdf5; --green-100: #c9f2df;
  --red: #c81e1e; --red-500: #ef4444; --red-50: #fef2f2; --red-100: #fde0e0;
  --amber: #b45309; --amber-500: #f59e0b; --amber-50: #fffbeb; --amber-100: #fdecc8;
  --violet: #6d28d9; --violet-50: #f5f3ff;
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --muted-2: #94a3b8;
  --line: #e3e8f0; --line-2: #eef2f7; --bg: #f3f6fa; --card: #ffffff;
  --mono: Arial, Helvetica, sans-serif;           /* seluruh aplikasi memakai Arial */
  --sans: Arial, Helvetica, sans-serif;
  --r: 8px; --r-sm: 6px; --sb-w: 248px; --top-h: 60px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
  --shadow-lg: 0 18px 50px rgba(8, 21, 44, .22);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
#root { min-height: 100%; }
body { font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

.lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.lbl-sm { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── Tag / chip ── */
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  padding: 3px 8px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap; line-height: 1.3; }
.tag .ic { width: 12px; height: 12px; }
.tag-blue { background: var(--blue-50); color: var(--blue); border-color: #c7d6fb; }
.tag-green { background: var(--green-50); color: var(--green); border-color: #b4e8cf; }
.tag-red { background: var(--red-50); color: var(--red); border-color: #f6c3c3; }
.tag-amber { background: var(--amber-50); color: var(--amber); border-color: #f5d79a; }
.tag-gray { background: #f1f5f9; color: var(--muted); border-color: #e2e8f0; }
.tag-navy { background: var(--navy); color: #fff; }
.tag-violet { background: var(--violet-50); color: var(--violet); border-color: #ddd3fb; }
.pill { border-radius: 999px; padding: 3px 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; flex: none; }
.dot-pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.chip-polda { white-space: nowrap; display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; padding: 2px 6px; border-radius: 3px; margin-top: 4px; }
.chip-pb { background: var(--blue-50); color: var(--blue); border: 1px solid #c7d6fb; }
.chip-pbd { background: var(--green-50); color: var(--green); border: 1px solid #b4e8cf; }

/* ── Tombol ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; text-decoration: none; }
.btn:hover { background: #f8fafc; border-color: #cfd8e3; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: #1a43c0; border-color: #1a43c0; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); border-color: var(--navy-800); }
.btn-success { background: #0f9f6e; border-color: #0f9f6e; color: #fff; }
.btn-success:hover { background: #0b8a5f; border-color: #0b8a5f; }
.btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.btn-soft-green { background: var(--green-50); border-color: #a7e3c6; color: var(--green); }
.btn-soft-green:hover { background: #dcf7ea; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(15, 23, 42, .05); }
.btn-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; gap: 6px; }
.btn-sm .ic { width: 15px; height: 15px; }
.btn-xs { height: 26px; padding: 0 9px; font-size: 11px; font-family: var(--mono); letter-spacing: .06em; font-weight: 600; text-transform: uppercase; border-radius: 4px; gap: 5px; }
.btn-xs .ic { width: 13px; height: 13px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 38px; padding: 0; }
.act-view { color: var(--blue); border-color: #c7d6fb; background: #fff; }
.act-view:hover { background: var(--blue-50); }
.act-edit { color: var(--amber); border-color: #f5d79a; background: #fffdf5; }
.act-edit:hover { background: var(--amber-50); }
.act-del { color: var(--red); border-color: #f6c3c3; background: #fff; }
.act-del:hover { background: var(--red-50); }
.act-wa { color: var(--green); border-color: #a7e3c6; background: #fff; }
.act-wa:hover { background: var(--green-50); }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; display: inline-block; flex: none; }
@keyframes rot { to { transform: rotate(360deg) } }

/* ── Form ── */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .flabel { display: flex; justify-content: flex-start; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field > label .lbl-sm { font-weight: 500; }
.req { color: var(--red-500); margin-left: 2px; }
.input, .select { width: 100%; height: 42px; border: 1px solid #d5dde8; border-radius: var(--r-sm); background: #fff; padding: 0 12px; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }
.input:focus, .select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.input.mono, .select.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .03em; }
.input[readonly], .input:disabled, .select:disabled { background: #f6f8fb; color: var(--ink-2); }
.input.err, .select.err { border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.select { appearance: none; padding-right: 34px; 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='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; cursor: pointer; text-overflow: ellipsis; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.with-ic { position: relative; }
.with-ic > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.with-ic > .input { padding-left: 38px; }
.with-ic .kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.kbd { font-family: var(--mono); font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; background: #fff; }
.lock-ic { color: var(--amber-500); width: 14px; height: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: #f1f5f9; border: 1px solid var(--line); border-radius: var(--r-sm); }
.seg button { height: 38px; border: 0; border-radius: 5px; background: transparent; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button.on { background: var(--navy); color: #fff; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }

/* =================== LOGIN =================== */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(1200px 600px at 50% -10%, #e9effa, transparent), linear-gradient(180deg, #f3f6fb, #e8edf5); }
.login-box { width: 100%; max-width: 520px; }
.login-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 2px 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-2); }
.login-meta .l { display: inline-flex; align-items: center; gap: 8px; }
.login-meta .l .dot { color: var(--blue); }
.login-meta .r { color: var(--muted-2); }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 60px rgba(15, 33, 71, .12); overflow: hidden; }
.login-card::before { content: ''; display: block; height: 5px; background: linear-gradient(90deg, var(--navy) 0 68%, var(--amber-500) 68% 100%); }
.login-in { padding: 26px 30px 22px; }
.login-head { display: flex; justify-content: space-between; align-items: center; }
.login-head .lbl { color: var(--blue); border-left: 3px solid var(--amber-500); padding-left: 8px; font-weight: 600; }
.login-head .tag-navy { color: #fbbf24; border-radius: 999px; padding: 4px 12px; letter-spacing: .14em; }
.emblem { width: 84px; height: 84px; margin: 22px auto 10px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #fff7e6, #fff); border: 1px solid #f3dca8; color: var(--amber-500); position: relative; }
.emblem .ic { width: 40px; height: 40px; }
.emblem .tb { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fbbf24; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; font-weight: 700; padding: 4px 10px; border-radius: 6px; border: 1px solid #f3dca8; }
.login-title { text-align: center; font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 24px 0 4px; color: var(--navy); }
.login-sub { text-align: center; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--navy); }
.login-sub2 { text-align: center; color: var(--muted); margin-top: 4px; }
.login-sep { height: 1px; background: var(--line); margin: 20px 0 18px; }
.login-desc { font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid; font-size: 13px; margin-bottom: 14px; }
.alert .ic { margin-top: 1px; }
.alert b { font-family: var(--mono); letter-spacing: .06em; font-size: 12px; display: block; }
.alert-red { background: var(--red-50); border-color: #f6c3c3; color: var(--red); }
.alert-red .m { font-family: var(--mono); font-size: 12px; }
.alert-blue { background: #f1f6ff; border-color: #c9d9fb; color: var(--ink-2); }
.alert-blue .ic { color: var(--blue); }
.alert-amber { background: var(--amber-50); border-color: #f5d79a; color: #7c4a03; }
.alert-amber .ic { color: #d97706; }
.alert-green { background: var(--green-50); border-color: #a7e3c6; color: var(--green); }
.gbtn-host { min-height: 52px; display: flex; justify-content: center; align-items: center; background: var(--navy); border-radius: var(--r-sm); padding: 6px; margin-bottom: 14px; color: #cbd5e1; font-size: 13px; gap: 10px; }
.login-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; }
.login-foot .on { color: var(--green); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.login-foot .off { color: var(--amber); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.login-ver { text-align: center; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }

/* Password: tombol mata & daftar syarat */
.with-ic.pwd > .input { padding-right: 44px; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; border-radius: 5px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.eye:hover { background: #f1f5f9; } .eye.on { color: var(--blue); }
.pwd-rules { list-style: none; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12.5px; color: var(--muted); }
.pwd-rules li::before { content: '○'; margin-right: 6px; font-weight: 700; }
.pwd-rules li.ok { color: var(--green); } .pwd-rules li.ok::before { content: '✓'; }
.pwd-gen { display: flex; gap: 8px; }
.pwd-gen .input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .pwd-rules { grid-template-columns: 1fr; } }

/* =================== LAYOUT APP =================== */
.app { display: grid; grid-template-columns: var(--sb-w) minmax(0, 1fr); min-height: 100%; }
.sb { background: var(--navy-900); color: #cbd5e1; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; z-index: 40; border-right: 1px solid #0a1730; }
.sb-brand { display: flex; align-items: center; gap: 12px; height: var(--top-h); padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); flex: none; }
.sb-logo { width: 38px; height: 38px; border-radius: 8px; background: #1b2f57; border: 1px solid #2a4373; display: grid; place-items: center; color: #fbbf24; flex: none; }
.sb-brand b { display: block; font-family: var(--mono); color: #fff; letter-spacing: .1em; font-size: 15px; }
.sb-brand small { font-family: var(--mono); font-size: 10.5px; color: #8ea2c4; letter-spacing: .08em; }
.sb-sec { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: #7f93b5; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.sb-sec .tag { background: transparent; color: #fbbf24; border-color: #5b4a1c; font-size: 10px; }
.sb-nav { padding: 8px 0; flex: 1; overflow-y: auto; }
.sb-nav a > span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 15px; color: #c4cfe1; text-decoration: none; font-size: 14.5px; border-left: 3px solid transparent; }
.sb-nav a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.sb-nav a.on { background: linear-gradient(90deg, rgba(251, 191, 36, .13), rgba(255, 255, 255, .02)); color: #fde68a; border-left-color: #fbbf24; font-weight: 600; }
.sb-nav a .ic { width: 19px; height: 19px; }
.sb-nav a .adm { margin-left: auto; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; background: #b91c1c; color: #fff; padding: 2px 6px; border-radius: 3px; }
.sb-nav a .cnt { margin-left: auto; font-family: var(--mono); font-size: 10.5px; background: #fbbf24; color: var(--navy); border-radius: 999px; padding: 1px 7px; font-weight: 700; }
.sb-nav a .cnt + .adm { margin-left: 6px; }
.sb-div { height: 1px; background: rgba(255, 255, 255, .06); margin: 8px 0; }
.sb-foot { border-top: 1px solid rgba(255, 255, 255, .07); padding: 12px 16px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #8ea2c4; display: grid; gap: 7px; flex: none; }
.sb-foot .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sb-foot .on { color: #34d399; display: inline-flex; gap: 6px; align-items: center; }
.sb-foot .off { color: #fbbf24; display: inline-flex; gap: 6px; align-items: center; }
.sb-foot .w { color: #e2e8f0; }
.sb-foot .ver { color: #60a5fa; }
.sb-backdrop { display: none; }

.app > .main { min-width: 0; display: flex; flex-direction: column; }
.top { height: var(--top-h); background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 22px; position: sticky; top: 0; z-index: 30; }
.top .burger { display: none; }
.crumb { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; gap: 8px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.crumb span { color: var(--muted-2); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sync { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; font-weight: 600; height: 32px; padding: 0 10px; border-radius: 5px; border: 1px solid #a7e3c6; background: var(--green-50); color: var(--green); cursor: pointer; }
.sync.busy { border-color: #c7d6fb; background: var(--blue-50); color: var(--blue); }
.sync.off { border-color: #f5d79a; background: var(--amber-50); color: var(--amber); }
.sync .spin { width: 12px; height: 12px; }
.who { display: flex; align-items: center; gap: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.who .nm { text-align: right; line-height: 1.2; }
.who .nm b { display: block; font-size: 13.5px; }
.who .nm small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; font-weight: 700; padding: 5px 8px; border-radius: 4px; background: var(--navy); color: #fbbf24; white-space: nowrap; }
.role.petugas { background: #e7eefb; color: var(--navy); }
.avatar { width: 36px; height: 36px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; border: 0; cursor: pointer; overflow: hidden; padding: 0; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu-pop { position: fixed; right: 16px; top: calc(var(--top-h) - 2px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); min-width: 250px; padding: 6px; z-index: 60; }
.menu-pop .hd { padding: 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.menu-pop .hd small { display: block; color: var(--muted); font-size: 12px; word-break: break-all; }
.menu-pop button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; background: transparent; border-radius: 6px; cursor: pointer; text-align: left; font-size: 13.5px; }
.menu-pop button:hover { background: #f1f5f9; }

.content { padding: 24px 28px 40px; width: 100%; max-width: 1480px; flex: 1; }
.page { animation: fadein .16s ease-out; }
@keyframes fadein { from { opacity: .4; transform: translateY(3px) } to { opacity: 1; transform: none } }
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ph .crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ph .crumbs b { color: var(--ink); font-weight: 600; }
.ph .crumbs .hl { color: var(--blue); }
.ph .crumbs .hl-red { color: var(--red); }
.ph h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ph h1.ttl-bar { border-left: 5px solid var(--blue); padding-left: 12px; text-transform: uppercase; font-size: 24px; }
.ph .desc { margin: 6px 0 0; color: var(--muted); max-width: 760px; }
.ph .desc.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.ph-act { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Kartu ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.card-h h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.card-h h3.up { text-transform: uppercase; font-size: 16px; letter-spacing: -.01em; }
.card-h .ico { width: 30px; height: 30px; border-radius: 6px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.card-h .ico .ic { width: 17px; height: 17px; }
.card-h .ico.red { background: var(--red-50); color: var(--red); }
.card-b { padding: 18px; }
.card-f { padding: 12px 18px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mb { margin-bottom: 18px; }
.mt { margin-top: 18px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 14px; position: relative; overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.stat.l-blue { border-left: 4px solid var(--blue); } .stat.l-green { border-left: 4px solid #0f9f6e; } .stat.l-red { border-left: 4px solid #dc2626; } .stat.l-amber { border-left: 4px solid var(--amber-500); }
.stat.t-blue { border-top: 3px solid var(--blue); } .stat.t-green { border-top: 3px solid #0f9f6e; } .stat.t-navy { border-top: 3px solid var(--navy); } .stat.t-teal { border-top: 3px solid #0d9488; }
.stat .top-l { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stat .si { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.stat .si .ic { width: 17px; height: 17px; }
.stat .si.green { background: var(--green-50); color: #0f9f6e; } .stat .si.red { background: var(--red-50); color: #dc2626; } .stat .si.amber { background: var(--amber-50); color: #d97706; }
.stat .big { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 14px 0 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stat .big small { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.stat .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.c-blue { color: var(--blue); } .c-green { color: #0f8a61; } .c-red { color: #dc2626; } .c-amber { color: #d97706; } .c-navy { color: var(--navy); }
.bar { height: 7px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .4s; }
.bar.green > i { background: #10b981; } .bar.amber > i { background: var(--amber-500); } .bar.red > i { background: #ef4444; } .bar.navy > i { background: var(--navy-700); }
.bar.thick { height: 11px; }

.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fbox { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 6px 6px 12px; background: #fafbfd; min-width: 0; }
.fbox .lbl { color: var(--blue); font-weight: 600; }
.fbox .select { height: 36px; min-width: 240px; max-width: 420px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fgrid .select { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.factive { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 16px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); border: 1px solid #c7d6fb; max-width: 100%; }
.fchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fchip.v { background: var(--violet-50); color: var(--violet); border-color: #ddd3fb; }
.fchip.g { background: var(--green-50); color: var(--green); border-color: #b4e8cf; }
.fchip.a { background: var(--amber-50); color: var(--amber); border-color: #f5d79a; }
.fchip button { border: 0; background: transparent; padding: 0; cursor: pointer; color: inherit; display: inline-flex; }
.fchip .ic { width: 13px; height: 13px; }
.linkbtn { border: 0; background: none; color: var(--red); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-decoration: underline; cursor: pointer; text-transform: uppercase; padding: 0; font-weight: 600; }
.linkbtn.blue { color: var(--blue); }
.total-badge { margin-left: auto; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; padding: 6px 12px; border-radius: 4px; font-weight: 600; }

.bulk { display: flex; align-items: center; gap: 14px; background: var(--navy); color: #fff; border-radius: var(--r); padding: 10px 14px; margin-bottom: 14px; flex-wrap: wrap; box-shadow: 0 8px 22px rgba(15, 33, 71, .18); }
.bulk .n { font-family: var(--mono); letter-spacing: .08em; color: #93c5fd; border: 1px solid #2d4a85; padding: 5px 10px; border-radius: 4px; font-weight: 600; }
.bulk .sp { flex: 1; }
.bulk .t { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: #c3cee2; }

/* ── Tabel ── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr:hover td { background: #fafcff; }
.tbl tr.sel td { background: #f3f7ff; }
.tbl tr.sel td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
.tbl .c { text-align: center; }
.tbl .r { text-align: right; }
.tbl .nm { font-weight: 700; color: var(--ink); }
.tbl .sub { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .03em; margin-top: 2px; }
.tbl .sub.red { color: var(--red); } .tbl .sub.amber { color: var(--amber); }
.tbl .no { font-family: var(--mono); color: var(--muted); }
.tbl .acts { display: flex; gap: 6px; justify-content: flex-end; }
.tbl input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; vertical-align: middle; }
.tbl .grp td { background: #f5f8fd; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; color: var(--navy); padding: 10px 14px; }
.tbl .grp.pbd td { background: #f1fbf6; color: #065f46; }
.tbl .grp .kode { float: right; }
.tbl .mono-n { font-family: var(--mono); }
.tbl .num-ok { font-family: var(--mono); color: #0f8a61; }
.tbl .num-bad { font-family: var(--mono); color: var(--muted-2); }
.pdf-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 5px; border: 1px solid #f6c3c3; background: var(--red-50); color: var(--red); font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; cursor: pointer; }
.pdf-btn:hover { background: #fde4e4; }
.pdf-btn .ic { width: 14px; height: 14px; }
.pdf-none { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 5px; background: #f1f5f9; color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; border: 1px solid #e5e9f0; white-space: nowrap; }
.prog-chip { display: inline-block; font-family: var(--mono); font-size: 11.5px; line-height: 1.4; border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; background: #fff; max-width: 170px; }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); }
.empty .ic { width: 34px; height: 34px; color: var(--muted-2); margin-bottom: 8px; }
.empty b { display: block; color: var(--ink-2); margin-bottom: 4px; }
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 34px; height: 32px; padding: 0 10px; border: 1px solid var(--line); background: #fff; border-radius: 5px; cursor: pointer; font-family: var(--mono); font-size: 12px; }
.pager button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager button:disabled { opacity: .45; cursor: default; }
.pager .gap { color: var(--muted); padding: 0 2px; }
.foot-info { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; display: flex; align-items: center; gap: 8px; }
.foot-info b { color: var(--ink); }
.foot-info .dot { color: var(--blue); }

/* ── Beranda ── */
.split { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.split-eq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.prog-item { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.prog-item:first-child { padding-top: 2px; }
.prog-item:last-child { border-bottom: 0; }
.prog-item .h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.prog-item .h b { font-size: 14px; text-transform: uppercase; }
.prog-item .h .bt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 8px; font-weight: 400; text-transform: none; letter-spacing: .03em; }
.prog-item .h .v { font-family: var(--mono); font-size: 12.5px; color: var(--blue); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.prog-item .f { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .03em; gap: 10px; flex-wrap: wrap; }
.donut-wrap { display: grid; place-items: center; padding: 8px 0 14px; }
.legend { display: grid; gap: 4px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.legend .li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 600; }
.legend .li i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; flex: none; }
.legend .li .v { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.legend .li .v b { color: var(--blue); }
.berkas-ok { display: inline-flex; flex-direction: column; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; font-weight: 600; border: 1px solid #b4e8cf; background: var(--green-50); color: var(--green); padding: 4px 8px; border-radius: 4px; min-width: 62px; line-height: 1.35; }
.berkas-no { border: 1px dashed #f5b4b4; background: var(--red-50); color: var(--red); }
.berkas-part { border: 1px dashed #f5d79a; background: var(--amber-50); color: var(--amber); }
.berkas-set { display: flex; gap: 6px; }
.mine-pel { display: grid; gap: 14px; }
.mine-row { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; }
.mine-row .t b { font-size: 15px; text-transform: uppercase; }
.mine-row .t .s { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: .03em; display: flex; gap: 12px; flex-wrap: wrap; }
.mine-row .r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* ── Rekap ── */
.hbar { padding: 10px 0 12px; border-bottom: 1px dashed var(--line-2); }
.hbar:last-child { border-bottom: 0; }
.hbar .h { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; gap: 10px; }
.hbar .h span { font-family: var(--mono); color: var(--blue); font-weight: 600; white-space: nowrap; }
.hbar .f { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); gap: 8px; }
.rings { display: flex; justify-content: space-around; gap: 16px; padding: 6px 0 18px; flex-wrap: wrap; }
.ring { text-align: center; }
.ring .cap { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; margin-top: 10px; }
.ring .cap small { display: block; font-weight: 400; color: var(--muted); letter-spacing: .03em; margin-top: 2px; }
.audit { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.audit .ah { padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; font-weight: 600; border-bottom: 1px solid var(--line-2); background: #fafbfd; }
.audit .ar { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; }
.audit .ar:last-child { border-bottom: 0; }
.audit .ar .tag { margin-left: auto; }
.audit .ar.bad { background: var(--red-50); color: var(--red); font-weight: 600; letter-spacing: .05em; }

/* ── Belum mengirim ── */
.def-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; margin-bottom: 18px; }
.def-card { border: 2px solid #ef4444; background: linear-gradient(180deg, #fff5f5, #fff); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; min-width: 0; }
.def-card .h { display: flex; justify-content: space-between; color: var(--red); gap: 10px; }
.def-card .h b { font-family: var(--mono); letter-spacing: .08em; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.def-card .h small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: #e05252; margin-top: 4px; }
.def-card .h .ic { width: 30px; height: 30px; }
.def-card .n { font-family: var(--mono); font-size: 44px; font-weight: 800; color: #991b1b; line-height: 1.12; margin: 22px 0 16px; letter-spacing: -.01em; }
.def-card .f { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #fbd5d5; margin-top: 18px; padding-top: 14px; color: var(--ink-2); }
.dl-card { border: 2px solid #fbbf24; background: linear-gradient(180deg, #fffcf0, #fff); border-radius: var(--r); padding: 20px 24px; min-width: 0; }
.dl-card .h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid #f7e2a8; }
.dl-card .h .w { background: #ea580c; color: #fff; padding: 6px 10px; border-radius: 3px; letter-spacing: .08em; font-size: 11.5px; }
.dl-card .mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; }
.dl-card .cd-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: #b45309; margin-bottom: 8px; }
.countdown { border: 2px solid #f87171; background: #fff; border-radius: 6px; padding: 12px 16px; font-family: var(--mono); font-size: 22px; font-weight: 700; color: #b91c1c; letter-spacing: .04em; line-height: 1.35; }
.countdown.done { border-color: #94a3b8; color: var(--muted); font-size: 16px; }
.dl-card .ft { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #f7e2a8; padding-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: #7c4a03; }
.dl-card .ft .r { color: #c2410c; font-weight: 700; }
.ok-card { border: 2px solid #86efac; background: linear-gradient(180deg, #f0fdf6, #fff); border-radius: var(--r); padding: 22px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ok-card .ico { width: 56px; height: 56px; border-radius: 10px; border: 1px solid #86efac; background: #dcfce7; color: var(--green); display: grid; place-items: center; flex: none; }
.ok-card .ico .ic { width: 28px; height: 28px; }
.ok-card .t { flex: 1; min-width: 240px; }
.ok-card .t .lbl { color: var(--green); font-weight: 600; }
.ok-card h3 { font-family: var(--mono); font-size: 17px; letter-spacing: .06em; margin: 6px 0; color: var(--navy); }
.ok-card p { margin: 0; color: var(--green); }
.status-bel { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #f6a5a5; background: #fff; color: var(--red); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-bel .ic { width: 13px; height: 13px; }
.status-ok { border-color: #a7e3c6; color: var(--green); background: var(--green-50); }
.status-draft { border-color: #f5d79a; color: var(--amber); background: var(--amber-50); }
.phone { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--green); background: var(--green-50); border: 1px solid #b4e8cf; padding: 4px 10px; border-radius: 4px; white-space: nowrap; text-decoration: none; }
.phone.none { color: var(--muted); background: #f1f5f9; border-color: var(--line); }

/* ── Input peserta ── */
.form-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #f1f6ff; border: 1px solid #c9d9fb; border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.form-meta .l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-meta b { color: var(--navy); }
.form-meta .hl { color: var(--blue); font-weight: 700; }
.fsec { margin-bottom: 18px; }
.fsec > .card-h { padding: 12px 16px; }
.fsec .num { width: 30px; height: 30px; border-radius: 5px; background: var(--navy); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12.5px; display: grid; place-items: center; }
.fsec > .card-h h3 { font-family: var(--mono); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.fsec > .card-b { padding: 22px 24px; }
.drive-path { display: flex; align-items: center; gap: 10px; background: var(--green-50); border: 1px solid #b4e8cf; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--ink-2); text-transform: uppercase; flex-wrap: wrap; }
.drive-path .ic { color: var(--green); }
.drive-path b { color: var(--green); font-weight: 600; word-break: break-all; }
.up-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; font-size: 13.5px; text-transform: uppercase; }
.drop { border: 2px dashed #b8c6da; border-radius: var(--r); padding: 22px 16px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; background: #fcfdff; }
.drop:hover, .drop.over { border-color: var(--blue-600); background: #f5f8ff; }
.drop .fi { width: 46px; height: 46px; border-radius: 10px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); border: 1px solid #f6c3c3; }
.drop .fi.n { background: #f1f5f9; color: var(--ink-2); border-color: var(--line); }
.drop .t { font-weight: 600; margin-bottom: 6px; }
.drop .s { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .03em; margin-bottom: 14px; }
.file-card { border: 1px solid #a7e3c6; background: var(--green-50); border-radius: var(--r); padding: 14px 16px; margin-top: 12px; }
.file-card .r1 { display: flex; align-items: center; gap: 12px; }
.file-card .r1 .ic.pdf { color: var(--red); width: 26px; height: 26px; }
.file-card .r1 .nmw { min-width: 0; flex: 1; }
.file-card .r1 b { display: block; font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.file-card .r1 small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.file-card .r1 .okc { color: #10b981; width: 22px; height: 22px; }
.file-card .r2 { display: flex; justify-content: flex-end; gap: 14px; margin-top: 10px; }
.file-card .r2 button { border: 0; background: none; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; padding: 0; }
.file-card.busy { border-color: #c7d6fb; background: var(--blue-50); }
.file-card.err { border-color: #f6c3c3; background: var(--red-50); }
.upnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; border: 1px solid #f5d79a; background: var(--amber-50); color: #92400e; border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; }
.upnote .ic { width: 16px; height: 16px; color: #d97706; }
.sticky-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-top: 1px solid var(--line); margin: 0 -28px -40px; padding: 12px 28px; display: flex; align-items: center; gap: 12px; }
.sticky-bar .w { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); letter-spacing: .03em; flex: 1; min-width: 0; }
.sticky-bar .w .ic { color: #d97706; }
.backlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--blue); text-decoration: none; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }

/* ── Laporan ── */
.lap { display: grid; grid-template-columns: 380px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: calc(100vh - var(--top-h) - 150px); }
.lap-l { padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.lap-l .field > label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.lap-l .select, .lap-l .input { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.lap-l .sp { flex: 1; }
.lap-opts { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fafbfd; padding: 4px 14px; }
.lap-opts .check { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.lap-opts .check:last-child { border-bottom: 0; }
.lap-opts .check b { display: block; font-size: 13.5px; }
.lap-opts .check small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.lap-r { background: #e9edf3; display: flex; flex-direction: column; min-width: 0; }
.lap-tb { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; }
.lap-tb .btn-sm { font-family: var(--mono); letter-spacing: .06em; }
.lap-stage { flex: 1; overflow: auto; padding: 24px; display: flex; justify-content: center; align-items: flex-start; }
.paper-box { flex: none; }
.paper { width: 794px; background: #fff; box-shadow: 0 8px 30px rgba(15, 23, 42, .18); transform-origin: top left; }
.paper iframe { width: 794px; height: 1123px; border: 0; display: block; }
.paper-empty { width: 100%; max-width: 520px; text-align: center; color: var(--muted); padding: 80px 20px; }
.paper-empty .ic { width: 40px; height: 40px; color: var(--muted-2); margin-bottom: 10px; }

/* ── Master ── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs button .n { font-family: var(--mono); font-size: 11px; background: #eef2f7; color: var(--ink-2); border-radius: 999px; padding: 1px 8px; }
.tabs button.on { color: var(--navy); border-bottom-color: var(--blue); }
.tabs button.on .n { background: var(--blue-50); color: var(--blue); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.toolbar .with-ic { flex: 1; min-width: 220px; }
.toolbar .select { width: auto; min-width: 180px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.hint-box { border: 1px dashed #c3cfdf; border-radius: var(--r); padding: 16px 18px; display: flex; gap: 14px; margin-top: 18px; background: #fbfcfe; }
.hint-box .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.hint-box b { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.hint-box p { margin: 6px 0 0; color: var(--ink-2); }
.hint-box code, .code { font-family: var(--mono); background: #eef2f7; padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.warn-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.warn-list li { display: flex; gap: 8px; font-size: 13px; color: #92400e; background: var(--amber-50); border: 1px solid #f5d79a; border-radius: 5px; padding: 8px 10px; }
.warn-list .ic { width: 16px; height: 16px; color: #d97706; margin-top: 1px; }
.steps { display: grid; gap: 10px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 5px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; flex: none; }
.sheet-checks { display: flex; gap: 10px; flex-wrap: wrap; }
.sheet-checks .check { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: #fafbfd; font-weight: 600; }

/* ── Modal, toast ── */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fadein .12s; }
.modal { background: #fff; border-radius: 10px; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal::before { content: ''; height: 6px; background: var(--navy); flex: none; }
.modal.danger::before { background: #dc2626; }
.modal.wide { max-width: 900px; }
.modal.sm { max-width: 460px; }
.modal.pdf { max-width: 1000px; height: calc(100vh - 32px); }
.modal-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: #fafbfd; }
.modal-h .ico { width: 38px; height: 38px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.modal-h .ico.red { background: var(--red-50); color: var(--red); }
.modal-h h3 { margin: 0; font-size: 18px; flex: 1; min-width: 0; }
.modal-b { padding: 20px; overflow-y: auto; flex: 1; }
.modal-b.np { padding: 0; }
.modal-f { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid #10b981; border-radius: var(--r-sm); padding: 12px 14px; box-shadow: var(--shadow-lg); animation: tin .2s ease-out; font-size: 13.5px; }
.toast .ic { margin-top: 1px; color: #10b981; }
.toast.error { border-left-color: #ef4444; } .toast.error .ic { color: #ef4444; }
.toast.warn { border-left-color: #f59e0b; } .toast.warn .ic { color: #f59e0b; }
.toast.info { border-left-color: var(--blue); } .toast.info .ic { color: var(--blue); }
.toast b { display: block; margin-bottom: 2px; }
@keyframes tin { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.detail-grid { display: grid; grid-template-columns: 170px 1fr; gap: 12px 16px; font-size: 14px; margin: 0; }
.detail-grid dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.detail-grid dd { margin: 0; font-weight: 500; word-break: break-word; }

.sk { background: linear-gradient(90deg, #eef2f7 25%, #f6f8fb 50%, #eef2f7 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0 } }
.net-banner { background: var(--amber-50); border-bottom: 1px solid #f5d79a; color: #7c4a03; font-size: 13px; padding: 8px 22px; display: flex; gap: 10px; align-items: center; }
.boot-err { max-width: 520px; margin: 60px auto; text-align: center; }
.boot-err .ic { width: 40px; height: 40px; color: var(--amber-500); }

/* =================== RESPONSIF =================== */
@media (max-width: 1280px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lap { grid-template-columns: 330px minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .split, .split-eq, .def-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who .nm { display: none; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sb { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  .app.nav-open .sb { transform: none; }
  .app.nav-open .sb-backdrop { display: block; position: fixed; inset: 0; background: rgba(8, 21, 44, .45); z-index: 35; }
  .top { padding: 0 12px; gap: 10px; }
  .top .burger { display: inline-flex; }
  .crumb { font-size: 11px; }
  .crumb .hide-m { display: none; }
  .content { padding: 16px 14px 32px; }
  .sticky-bar { margin: 0 -14px -32px; padding: 10px 14px; }
  .lap { grid-template-columns: minmax(0, 1fr); }
  .lap-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .lap-stage { padding: 12px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sync .t { display: none; }
}
@media (max-width: 760px) {
  .ph h1 { font-size: 22px; }
  .ph h1.ttl-bar { font-size: 18px; }
  .stats { gap: 10px; }
  .stat { padding: 12px 12px 10px; }
  .stat .big { font-size: 30px; margin: 10px 0 8px; }
  .stat .foot { flex-direction: column; align-items: flex-start; }
  .g2, .g3, .g4, .fgrid { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .fbox { width: 100%; flex-wrap: wrap; }
  .fbox .select { min-width: 0; max-width: none; flex: 1; }
  .role { display: none; }
  .who { padding-left: 0; border-left: 0; }
  .def-card .n { font-size: 32px; }
  .dl-card .mid { grid-template-columns: minmax(0, 1fr); }
  .countdown { font-size: 18px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .detail-grid dd { margin-bottom: 10px; }
  .sticky-bar .w { display: none; }
  .sticky-bar .btn { flex: 1; }
  .ph-act { width: 100%; }
  .ph-act .btn { flex: 1; }
  .modal-bg { padding: 0; align-items: end; }
  .modal { max-height: 94vh; border-radius: 14px 14px 0 0; }
  .modal.pdf { height: 94vh; }
  .total-badge { margin-left: 0; }
  .mine-row { grid-template-columns: minmax(0, 1fr); }
  .mine-row .r { justify-content: flex-start; }
  .login-in { padding: 22px 18px 18px; }
  .login-title { font-size: 32px; }
  .login-meta .r { display: none; }
  /* Tabel → kartu */
  table.rtable thead { display: none; }
  table.rtable, table.rtable tbody, table.rtable tr, table.rtable td { display: block; width: 100%; }
  table.rtable tr { border: 1px solid var(--line); border-radius: var(--r); margin: 10px; width: auto; background: #fff; padding: 6px 4px; position: relative; }
  table.rtable tr.sel { border-color: var(--blue); }
  table.rtable tr.grp { border: 0; padding: 0; margin: 14px 10px 4px; background: transparent; }
  table.rtable tr.grp td { border-radius: 6px; }
  table.rtable td { border: 0; padding: 6px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  table.rtable td::before { content: attr(data-l); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; flex: none; }
  table.rtable td.main { display: block; text-align: left; padding-top: 8px; padding-right: 44px; }
  table.rtable td.main::before { display: none; }
  table.rtable td.ck { position: absolute; right: 4px; top: 6px; width: auto; padding: 6px; }
  table.rtable td.ck::before { display: none; }
  table.rtable td.no-m { display: none; }
  table.rtable td.acts-td { justify-content: flex-end; border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 10px; }
  table.rtable td.acts-td::before { display: none; }
  table.rtable tr.grp td { display: block; text-align: left; }
  table.rtable tr.grp td::before { display: none; }
  table.rtable td[colspan] { display: block; text-align: center; }
  table.rtable td[colspan]::before { display: none; }
  table.rtable tr.sel td:first-child { box-shadow: none; }
  .tbl .acts { flex-wrap: wrap; }
  .prog-chip { max-width: 200px; text-align: right; }
}
@media print {
  .sb, .top, .sticky-bar, .toasts { display: none !important; }
  .app { display: block; }
}

/* =========================================================================
   TIPOGRAFI ARIAL — ukuran lebih besar & jarak huruf rapat agar mudah dibaca
   ========================================================================= */
body { font-size: 15px; line-height: 1.5; }
body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
.lbl { font-size: 12px; letter-spacing: .04em; font-weight: 700; color: #4b5b70; }
.lbl-sm { font-size: 11.5px; letter-spacing: .03em; }
.tag { font-size: 11.5px; letter-spacing: .03em; font-weight: 700; }
.hint { font-size: 12.5px; letter-spacing: 0; color: #5b6b80; }
.tbl { font-size: 14px; }
.tbl th { font-size: 12px; letter-spacing: .04em; font-weight: 700; color: #334155; }
.tbl .sub { font-size: 12px; letter-spacing: 0; }
.btn { font-size: 14px; }
.btn-mono { font-size: 13px; letter-spacing: .03em; }
.btn-xs { font-size: 11.5px; letter-spacing: .03em; height: 28px; }
.crumb { font-size: 13px; letter-spacing: .05em; }
.ph .crumbs { font-size: 12px; letter-spacing: .05em; }
.ph .desc.mono { font-size: 12.5px; letter-spacing: .04em; }
.sb-brand b { letter-spacing: .06em; font-size: 16px; }
.sb-brand small, .sb-sec, .sb-foot { letter-spacing: .04em; font-size: 11.5px; }
.sb-nav a { font-size: 15px; }
.stat .foot { font-size: 12px; letter-spacing: 0; }
.stat .big small { font-size: 13px; letter-spacing: 0; }
.foot-info { font-size: 13px; letter-spacing: 0; }
.fchip, .total-badge, .bulk .n, .bulk .t, .sync, .role { letter-spacing: .03em; }
.form-meta, .drive-path, .upnote, .sticky-bar .w { letter-spacing: .02em; font-size: 12.5px; }
.seg button { letter-spacing: .04em; font-size: 13px; }
.chip-polda { font-size: 11px; letter-spacing: .02em; }
.status-bel { font-size: 11.5px; letter-spacing: .02em; }
.phone { font-size: 13px; }
.prog-item .f, .prog-item .h .bt, .hbar .f { font-size: 12px; letter-spacing: 0; }
.audit .ah, .audit .ar { letter-spacing: .02em; font-size: 12.5px; }
.countdown { letter-spacing: .01em; }
.dl-card .h, .dl-card .ft, .dl-card .cd-l { letter-spacing: .02em; }
.def-card .n { letter-spacing: 0; }
.login-meta, .login-sub, .login-foot, .login-ver, .lap-tb { letter-spacing: .04em; }
.input.mono, .select.mono, .mono-n, .mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.file-card .r1 b, .file-card .r1 small { letter-spacing: 0; }
.tabs button { font-size: 15px; }
.field > label, .flabel { font-size: 13.5px; }

/* Logo */
.sb-logo.img { background: transparent; border: 0; width: 40px; height: 46px; border-radius: 0; }
.sb-logo.img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.login-logo { display: block; height: 128px; width: auto; margin: 18px auto 4px; filter: drop-shadow(0 4px 10px rgba(127, 29, 29, .25)); }
.login-title { margin-top: 10px; }

/* Pas foto 4×6 */
.id-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: start; }
.foto-slot { text-align: center; }
.foto-slot .up-h { justify-content: center; flex-wrap: wrap; }
.foto-box { width: 160px; aspect-ratio: 2 / 3; margin: 0 auto; border: 2px dashed #b8c6da; border-radius: 6px; background: #f8fafc; display: grid; place-items: center; overflow: hidden; cursor: pointer; position: relative; color: var(--muted); font-size: 12.5px; padding: 8px; }
.foto-box:hover, .foto-box.over { border-color: var(--blue-600); background: #f5f8ff; }
.foto-box.has { border-style: solid; border-color: #a7e3c6; padding: 0; cursor: default; }
.foto-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-box .ic { width: 34px; height: 34px; color: #94a3b8; margin-bottom: 6px; }
.foto-box .busy { position: absolute; inset: 0; background: rgba(255,255,255,.8); display: grid; place-items: center; }
.foto-acts { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.foto-acts button { border: 0; background: none; font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; }
.foto-detail { width: 120px; aspect-ratio: 2/3; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #f1f5f9; display: grid; place-items: center; color: var(--muted); font-size: 12px; flex: none; }
.foto-detail img { width: 100%; height: 100%; object-fit: cover; }
.img-view { display: grid; place-items: center; height: 100%; background: #e9edf3; padding: 16px; }
.img-view img { max-width: 100%; max-height: 100%; box-shadow: 0 6px 24px rgba(0,0,0,.2); background: #fff; }

/* Berkas mini (SPRIN / SPPD / FOTO) */
.files { display: flex; gap: 5px; flex-wrap: nowrap; }
.fbtn { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em; border: 1px solid; cursor: pointer; white-space: nowrap; background: #fff; }
.fbtn.ok { color: var(--red); border-color: #f6c3c3; background: var(--red-50); }
.fbtn.ok.img { color: var(--blue); border-color: #c7d6fb; background: var(--blue-50); }
.fbtn.no { color: #a0aec0; border-color: #e5e9f0; background: #f8fafc; cursor: default; text-decoration: line-through; }

/* Kuota */
.kuota-box { display: flex; gap: 12px; align-items: center; border-radius: var(--r-sm); padding: 10px 12px; margin-top: 4px; font-size: 13.5px; border: 1px solid; }
.kuota-box .ic { flex: none; }
.kuota-box.ok { background: var(--green-50); border-color: #a7e3c6; color: var(--green); }
.kuota-box.full { background: var(--red-50); border-color: #f6c3c3; color: var(--red); }
.kuota-box.none { background: #f8fafc; border-color: var(--line); color: var(--muted); }
.kuota-in { width: 84px; height: 36px; text-align: center; font-weight: 700; font-size: 15px; }
.kuota-in.on { border-color: #10b981; background: #f0fdf6; }
.alok-sum { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.alok-sum b { font-size: 18px; color: var(--navy); }
.quick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; }
.quick .input { width: 70px; height: 34px; text-align: center; }
.flow { display: flex; gap: 0; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.flow > div { flex: 1; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; border-right: 1px solid var(--line-2); min-width: 0; }
.flow > div:last-child { border-right: 0; }
.flow .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.flow b { display: block; }
.flow small { color: var(--muted); }
.notice { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid #f5d79a; background: var(--amber-50); border-radius: var(--r); padding: 14px 18px; margin-bottom: 18px; color: #7c4a03; }
.mine-row .kq { margin-top: 10px; max-width: 420px; }
.mine-row .kq .bar { margin-top: 6px; }
@media (max-width: 900px) { .flow { flex-direction: column; } .flow > div { border-right: 0; border-bottom: 1px solid var(--line-2); } }
@media (max-width: 760px) { .id-grid { grid-template-columns: minmax(0, 1fr); } .id-grid > .foto-slot { order: -1; } }

/* Foto profil di daftar pengguna */
.u-ava { width: 38px; height: 57px; border-radius: 5px; border: 1px solid var(--line); background: #eef2f7; color: var(--navy); font-weight: 700; font-size: 12px; cursor: pointer; padding: 0; overflow: hidden; display: grid; place-items: center; }
.u-ava img { width: 100%; height: 100%; object-fit: cover; }
.u-ava:hover { border-color: var(--blue-600); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.top { justify-content: flex-end; }
.top .burger { margin-right: auto; }

/* =================== v1.4 — komponen baru =================== */
.btn-excel { background: #107c41; border-color: #0b6b37; color: #fff; }
.btn-excel:hover { background: #0b6b37; }
.btn-excel .ic { color: #fff; }
.pf-row { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.pf-row.adm { grid-template-columns: minmax(220px, 1.5fr) minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
.pf-row .select { font-size: 13px; }
.pf-b .factive { margin-top: 12px; padding-top: 10px; }
.tbl-peserta td { white-space: nowrap; }
.tbl-peserta td.main .nm, .tbl-peserta td[title] { overflow: hidden; text-overflow: ellipsis; }
.tbl-peserta td.main { max-width: 230px; }
.tbl-peserta td[data-l="Jabatan"], .tbl-peserta td[data-l="Satker"] { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.tbl-peserta td[data-l="Program"] { max-width: 200px; }
.tbl-peserta .prog-chip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-peserta .pkt { font-weight: 700; color: var(--ink-2); font-size: 12.5px; }
.tbl-peserta th.ck, .tbl-peserta td.ck { width: 40px; }
.tbl-peserta .fbtn { gap: 4px; }
.tbl-peserta .fbtn .ic { width: 12px; height: 12px; }
.tbl-peserta .fbtn.ok { color: #047857; border-color: #a7e3c6; background: var(--green-50); }
.tbl-peserta .fbtn.no { text-decoration: none; color: #b91c1c; border-color: #f6c3c3; background: #fff; border-style: dashed; }
.tbl tr.pending td { background: #f7faff; color: var(--ink-2); }
.pend { gap: 6px; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; }
.rk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; }
.side { min-width: 0; }
.donut-row { display: flex; gap: 14px; align-items: center; }
.donut-row .donut-wrap { padding: 0; flex: none; }
.donut-row .legend { flex: 1; border-top: 0; padding-top: 0; min-width: 0; }
.seg.sm button { height: 32px; font-size: 12px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; }
.seg.sm button .ic { width: 14px; height: 14px; }
.rk-audit .rings { padding: 0 0 10px; }
.bl-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bl-bar .seg { min-width: 320px; }
.ph-act .filters .fbox .select { min-width: 200px; max-width: 300px; }
.alert .btn { margin-left: auto; flex: none; }
.alert .btn + .btn { margin-left: 0; }
@media (max-width: 1100px) { .dash, .rk-grid { grid-template-columns: minmax(0, 1fr); } .pf-row, .pf-row.adm { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-row .pf-q { grid-column: 1 / -1; } }
@media (max-width: 760px) { .pf-row, .pf-row.adm { grid-template-columns: minmax(0, 1fr); } .bl-bar .seg { min-width: 0; width: 100%; } }

/* =================== v1.4 — PAS LAYAR (tanpa gulir) di laptop/desktop =================== */
@media (min-width: 1024px) and (min-height: 560px) {
  html, body { overflow: hidden; }
  .app { height: 100vh; min-height: 0; }
  .app > .main { height: 100vh; min-height: 0; overflow: hidden; }
  .content { flex: 1; min-height: 0; overflow: hidden; padding: 14px 20px 14px; max-width: none; display: flex; flex-direction: column; }
  .page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .page[hidden] { display: none !important; }
  .fcol { display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; }
  .page > *, .fcol > * { flex: none; margin-top: 0 !important; margin-bottom: 0 !important; }
  .page > .fill, .fcol > .fill, .dash > .fill, .rk-grid > .fill { flex: 1 1 0 !important; min-height: 0; }
  .dash.fill, .rk-grid.fill { display: grid; grid-template-rows: minmax(0, 1fr); }
  .dash > *, .rk-grid > * { min-height: 0; }
  .card.fill { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
  .card.fill > .tbl-wrap { flex: 1 1 0; min-height: 0; overflow: auto; }
  .card.fill > .card-b.scroll, .card-b.scroll { flex: 1 1 0; min-height: 0; overflow: auto; }
  .fcol.scroll { overflow: auto; padding-right: 4px; }
  .card.fill > .card-h, .card.fill > .card-f, .card.fill > .toolbar { flex: none; }
  .tbl thead th { position: sticky; top: 0; z-index: 2; }
  .fit-hide, .card-f.info-f { display: none !important; }

  /* Ringkas: judul, kartu, tabel */
  .ph { margin: 0; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .ph > div:first-child { min-width: 0; }
  .ph h1 { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ph h1.ttl-bar { font-size: 19px; }
  .ph .desc { display: none; }
  .ph-act { flex-wrap: nowrap; align-items: center; }
  .ph-act .filters { flex-wrap: nowrap; gap: 8px; }
  .ph-act .fbox { padding: 3px 3px 3px 10px; }
  .ph-act .fbox .select { height: 32px; min-width: 150px; max-width: 260px; }
  .card-h { padding: 10px 14px; }
  .card-h h3.up { font-size: 14px; }
  .card-b { padding: 12px 14px; }
  .card-f { padding: 7px 14px; }
  .toolbar { padding: 10px 14px; }
  .stats { gap: 12px; }
  .stat { padding: 11px 14px 10px; }
  .stat .big { font-size: 30px; margin: 6px 0 8px; }
  .stat .foot { padding-top: 7px; }
  .stat .bar { margin-top: -2px; }
  .notice { padding: 8px 14px; }
  .tbl th { padding: 9px 12px; }
  .tbl td { padding: 7px 12px; }
  .tbl .sub { margin-top: 0; }
  .btn-xs { height: 28px; }
  .tabs { margin: 0 !important; }
  .tabs button { padding: 9px 14px; }
  .flow > div { padding: 8px 12px; }

  /* Beranda */
  .prog-item { padding: 10px 0; }
  .prog-item .h { margin-bottom: 6px; }
  .prog-item .f { margin-top: 6px; }
  .donut-row svg { width: 112px; height: 112px; }
  .legend .li { padding: 4px 0; font-size: 13px; }
  .mine-pel { gap: 10px; }
  .mine-row { padding: 12px 14px; }

  /* Data peserta */
  .pf-b { padding: 10px 14px; }
  .pf-row .field { gap: 4px; }
  .pf-row .input, .pf-row .select { height: 38px; }
  .bulk { padding: 7px 12px; }

  /* Rekap */
  .rk-audit .rings svg { width: 86px; height: 86px; }
  .rk-audit .audit .ar { padding: 7px 12px; }
  .rk-audit .audit .ah { padding: 7px 12px; }
  .hbar { padding: 7px 0 8px; }

  /* Belum mengirim */
  .bl-bar { padding: 10px 14px; }
  .bl-bar .select, .bl-bar .seg button { height: 34px; }
  .bl-bar .seg { padding: 3px; }
  .def-grid { gap: 12px; }
  .def-card { padding: 12px 16px; }
  .def-card .n { font-size: 26px; margin: 8px 0; }
  .def-card .n br { display: none; }
  .def-card .f { margin-top: 8px; padding-top: 8px; }
  .dl-card { padding: 10px 16px; }
  .dl-card .mid { padding: 8px 0; gap: 12px; }
  .dl-card .mid .hint { display: none; }
  .dl-card .ft { padding-top: 6px; }
  .countdown { font-size: 17px; padding: 7px 12px; }
  .ok-card { padding: 14px 18px; }

  /* Input peserta: 2 kolom, tanpa gulir */
  .fit-form { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
  .fit-form .fsec { margin: 0; min-height: 0; }
  .fit-form .s1 { grid-column: 1; grid-row: 1; }
  .fit-form .s2 { grid-column: 1; grid-row: 2; }
  .fit-form .s3 { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .fit-form .s3 > .card-b { flex: 1; min-height: 0; overflow: auto; }
  .fit-form .sticky-bar { grid-column: 1 / -1; grid-row: 3; position: static; margin: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 14px; }
  .fit-form .fsec > .card-h { padding: 8px 14px; }
  .fit-form .fsec > .card-b { padding: 12px 14px; }
  .fit-form .grid { gap: 10px 14px; }
  .fit-form .field .hint { display: none; }
  .fit-form .field .input, .fit-form .field .select { height: 38px; }
  .fit-form [data-kuota] { margin-top: 10px !important; }
  .fit-form .kuota-box { padding: 7px 10px; font-size: 13px; }
  .fit-form .drive-path, .fit-form .upnote { display: none; }
  .fit-form .slots { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fit-form .drop { padding: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; text-align: left; align-items: center; }
  .fit-form .drop .fi { margin: 0; grid-row: 1 / 3; width: 40px; height: 40px; }
  .fit-form .drop .t { margin: 0; }
  .fit-form .drop .s { margin: 0; grid-column: 2; }
  .fit-form .drop .btn { grid-column: 3; grid-row: 1 / 3; }
  .fit-form .up-h { margin-bottom: 6px; }
  [data-failed] .alert { margin: 0; align-items: center; }
  [data-failed]:empty { display: none; }

  /* Cetak laporan */
  .lap.fill { display: grid; grid-template-rows: minmax(0, 1fr); }
  .lap-l { overflow: auto; padding: 14px 16px; gap: 10px; }
  .lap-l h2 { font-size: 18px !important; }
  .lap-l p.muted { display: none; }
  .lap-l .input, .lap-l .select { height: 36px; }
  .lap-opts .check { padding: 7px 0; }
  .lap-r { min-height: 0; }
  .lap-stage { min-height: 0; padding: 16px; }
  .lap-l .btn-lg { height: 42px; }
}
/* Layar laptop pendek (≤ 720 px): rapatkan lagi */
@media (min-width: 1024px) and (min-height: 560px) and (max-height: 720px) {
  .stat .big { font-size: 26px; margin: 4px 0 6px; }
  .stat .top-l .si { width: 26px; height: 26px; }
  .content { padding: 10px 16px; }
  .page, .fcol { gap: 10px; }
  .def-grid .dl-card .ft { display: none; }
  .tbl td { padding: 6px 12px; }
}
.tbl tr[hidden] { display: none !important; }
@media (min-width: 1024px) and (min-height: 560px) {
  [data-form] .grid { gap: 10px 14px; }
  [data-form] .field .hint { display: none; }
  [data-form] .field .input { height: 38px; }
  [data-form] textarea.input { height: auto; }
  .hbar:last-of-type { border-bottom: 0; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .tbl td { white-space: nowrap; }
  .tbl td.main { max-width: 280px; }
  .tbl td.main .nm, .tbl td.main .sub, .tbl td.ell { overflow: hidden; text-overflow: ellipsis; }
  .tbl td.ell { max-width: 220px; }
  .tbl .berkas-ok { flex-direction: row; gap: 4px; min-width: 0; }
  .berkas-set { align-items: center; }
  .ph-act .fbox .select { min-width: 140px; max-width: 220px; }
  .rk-lbl { display: none; }
  .rk-audit { padding: 10px 12px; }
  .rk-audit .rings { padding: 0; gap: 6px; flex-wrap: nowrap; }
  .rk-audit .rings svg { width: 74px; height: 74px; }
  .rk-audit .ring .cap { margin-top: 4px; font-size: 11px; }
  .rk-audit .audit { margin-top: 8px; }
  .side .prog-item .h { flex-wrap: nowrap; }
  .side .prog-item .h b { font-size: 13px; }
  .side .prog-item .h .bt { display: block; margin: 2px 0 0; }
  .side .prog-item .h .v { flex-direction: column; align-items: flex-end; gap: 2px; font-size: 11.5px; }
  .side .prog-item .f { margin-top: 4px; }
  .side .prog-item .f > span:first-child { display: none; }
  .donut-row { padding: 8px 14px; }
  .donut-row svg { width: 86px !important; height: 86px !important; }
  .donut-row .legend .lbl { display: none; }
  .card-f[data-apf] { flex-wrap: nowrap; gap: 8px; }
  .side .card-f[data-apf] .foot-info { font-size: 11px; white-space: nowrap; }
  .card-f .pager { flex-wrap: nowrap; }
  .card-f .pager button { min-width: 28px; height: 28px; padding: 0 7px; }
  .fit-form .field > label .tag { display: none; }
  .fit-form .field > label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bl-bar { flex-wrap: nowrap; }
  .bl-bar .fbox { min-width: 0 !important; }
  .bl-bar .seg { min-width: 0; flex: none; }
  .bl-bar .seg button { padding: 0 10px; font-size: 12px; white-space: nowrap; }
  .bl-bar > .select { max-width: 200px !important; flex: 0 1 200px; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .fit-no { display: none !important; }
  .ph > div:first-child { flex: none; max-width: 46%; }
  .ph-act { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
  .ph-act .filters { flex: 0 1 auto; min-width: 0; }
  .ph-act .fbox { flex: 0 1 auto; min-width: 0; }
  .ph-act .fbox .select { width: 100%; min-width: 90px; }
  .ph-act > .btn, .ph-act > a.btn { flex: none; }
  .dash { grid-template-columns: minmax(0, 1fr) 330px; }
  .rk-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .dash .act-view { padding: 0 8px; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .tbl.fx { table-layout: fixed; }
  .tbl.fx td, .tbl.fx th { overflow: hidden; text-overflow: ellipsis; }
  .tbl.fx td.main, .tbl.fx td.ell, .tbl.fx td[data-l] { max-width: none; }
  .tbl.fx td > div:not(.acts):not(.files):not(.berkas-set), .tbl.fx td .nm, .tbl.fx td .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tbl.fx .acts { flex-wrap: nowrap; }
  .tbl.fx .prog-chip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tbl.fx th { white-space: nowrap; }
  /* Data peserta */
  .tbl-peserta th:nth-child(1) { width: 40px; } .tbl-peserta th:nth-child(2) { width: 44px; }
  .tbl-peserta th:nth-child(4) { width: 108px; }
  .tbl-peserta.adm th:nth-child(3) { width: 17%; } .tbl-peserta.adm th:nth-child(5) { width: 9%; } .tbl-peserta.adm th:nth-child(6) { width: 14%; }
  .tbl-peserta.adm th:nth-child(7) { width: 13%; } .tbl-peserta.adm th:nth-child(8) { width: 15%; }
  .tbl-peserta.adm th:nth-child(9), .tbl-peserta.adm th:nth-child(10) { width: 72px; } .tbl-peserta.adm th:nth-child(11) { width: 134px; }
  .tbl-peserta:not(.adm) th:nth-child(3) { width: 20%; } .tbl-peserta:not(.adm) th:nth-child(5) { width: 10%; } .tbl-peserta:not(.adm) th:nth-child(6) { width: 17%; }
  .tbl-peserta:not(.adm) th:nth-child(7) { width: 18%; }
  .tbl-peserta:not(.adm) th:nth-child(8), .tbl-peserta:not(.adm) th:nth-child(9) { width: 72px; } .tbl-peserta:not(.adm) th:nth-child(10) { width: 190px; }
  /* Pengiriman terakhir (beranda) */
  .tbl-recent th:nth-child(1) { width: 27%; } .tbl-recent th:nth-child(2) { width: 25%; } .tbl-recent th:nth-child(3) { width: 12%; }
  .tbl-recent th:nth-child(4) { width: 16%; } .tbl-recent th:nth-child(5) { width: 150px; } .tbl-recent th:nth-child(6) { width: 56px; }
  /* Pengguna */
  .tbl-users th:nth-child(1) { width: 42px; } .tbl-users th:nth-child(2) { width: 52px; } .tbl-users th:nth-child(3) { width: 19%; }
  .tbl-users th:nth-child(4) { width: 10%; } .tbl-users th:nth-child(5) { width: 13%; } .tbl-users th:nth-child(6) { width: 15%; }
  .tbl-users th:nth-child(7) { width: 10%; } .tbl-users th:nth-child(8) { width: 9%; } .tbl-users th:nth-child(9) { width: 268px; }
  .tbl-users .u-ava { width: 30px; height: 45px; font-size: 11px; }
  /* Satker */
  .tbl-satker th:nth-child(1) { width: 104px; } .tbl-satker th:nth-child(2) { width: 23%; } .tbl-satker th:nth-child(3) { width: 11%; }
  .tbl-satker th:nth-child(4) { width: 15%; } .tbl-satker th:nth-child(5) { width: 18%; } .tbl-satker th:nth-child(6) { width: 9%; }
  .tbl-satker th:nth-child(7) { width: 9%; } .tbl-satker th:nth-child(8) { width: 136px; }
  .tabs button { padding: 9px 11px; font-size: 14px; gap: 6px; }
  .tabs button .ic { width: 16px; height: 16px; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .tbl-recent th:nth-child(1) { width: 29%; } .tbl-recent th:nth-child(2) { width: 25%; } .tbl-recent th:nth-child(3) { width: 9%; }
  .tbl-recent th:nth-child(4) { width: 15%; } .tbl-recent th:nth-child(5) { width: 168px; } .tbl-recent th:nth-child(6) { width: 52px; }
  .fcol.migr { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: minmax(0, 1fr); gap: 12px; }
  .fcol.migr > .split { display: contents; }
  .fcol.migr .card { display: flex; flex-direction: column; min-height: 0; margin: 0 !important; }
  .fcol.migr .card > .card-b { flex: 1; min-height: 0; overflow: auto; }
  .fcol.migr .split > .card:nth-child(2) { order: 3; }
  .fcol.migr > .card { order: 2; }
  .fcol.migr .field .hint { display: none; }
  .fcol.migr .card-b .field[style] { margin-top: 10px !important; }
  .fcol.migr .grid.g2, .fcol.migr .grid.g3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fcol.migr .sheet-checks { gap: 6px; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .def-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .tbl-pel .acts { flex-wrap: nowrap !important; max-width: none !important; }
  .tbl-pel th:nth-child(1) { width: 25%; } .tbl-pel th:nth-child(2) { width: 17%; } .tbl-pel th:nth-child(3) { width: 10%; }
  .tbl-pel th:nth-child(4) { width: 9%; } .tbl-pel th:nth-child(5) { width: 9%; } .tbl-pel th:nth-child(6) { width: 11%; } .tbl-pel th:nth-child(7) { width: 340px; }
  .tbl-pel td > br { display: none; }
  .tbl-rekap th:nth-child(1) { width: 30%; } .tbl-rekap th:nth-child(2) { width: 9%; } .tbl-rekap th:nth-child(3) { width: 11%; }
  .tbl-rekap th:nth-child(4) { width: 11%; } .tbl-rekap th:nth-child(5) { width: 22%; } .tbl-rekap th:nth-child(7) { width: 180px; }
  .tbl-rekap tr.grp td { white-space: nowrap; }
  .tbl-prog th:nth-child(1) { width: 32%; } .tbl-prog th:nth-child(2) { width: 14%; } .tbl-prog th:nth-child(8) { width: 72px; }
}
/* Laptop sempit (1024–1279 px): menu samping ringkas berupa ikon */
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 560px) {
  :root { --sb-w: 68px; }
  .sb-brand { padding: 0 14px; justify-content: center; }
  .sb-brand > div:last-child, .sb-sec, .sb-nav a > span, .sb-nav a .adm { display: none; }
  .sb-nav a { justify-content: center; padding: 12px 0; position: relative; }
  .sb-nav a .cnt:not([hidden]) { display: inline-block !important; position: absolute; top: 4px; right: 8px; margin: 0; font-size: 9.5px; padding: 0 5px; }
  .dash .side > .card:not(.fill) { display: none; }
  .rk-audit .audit { display: none; }
  .lap-l { gap: 8px; }
  .tabs button .n { display: none; }
  .who .nm { display: none; }
  .dash { grid-template-columns: minmax(0, 1fr) 300px; }
  .rk-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
/* Layar pendek: tinggi bilah atas & kartu angka diringkas */
@media (min-width: 1024px) and (min-height: 560px) and (max-height: 760px) {
  :root { --top-h: 52px; }
  .stat .foot { display: none; }
  .stat .big { margin-bottom: 2px; }
  .notice { padding: 6px 12px; font-size: 13px; }
  .notice .btn { height: 30px; }
  .card-h { padding: 8px 14px; }
  .card-h .ico { width: 26px; height: 26px; }
  .ph h1 { font-size: 20px; }
  .lap-opts .check small { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) and (min-height: 560px) {
  .tabs button .n { display: none; }
}
@media (min-width: 1024px) and (min-height: 560px) {
  .ph h1 { flex-wrap: nowrap; }
  .fit-form .fsec > .card-h { flex-wrap: nowrap; }
  .fit-form .fsec > .card-h .tag { display: none; }
  .pf-row.adm { grid-template-columns: minmax(180px, 1.4fr) minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
  .pf-row { grid-template-columns: minmax(200px, 1.6fr) repeat(2, minmax(0, 1fr)); }
  .pf-row .pf-q { grid-column: auto; }
}

/* =================== v1.5 — Halaman masuk: gambar SPN di kiri, formulir di kanan =================== */
.login-wrap.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 460px); min-height: 0; height: 100vh; padding: 0; place-items: stretch; background: #fff; }
.login-hero { position: relative; overflow: hidden; display: grid; place-items: center; min-width: 0;
  background: linear-gradient(180deg, #c9def4 0%, #e6f0fb 48%, #6fa84a 52%, #3d7a24 100%); }   /* langit di atas, rumput di bawah */
.login-hero img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.login-side { display: grid; place-items: center; padding: 20px 28px; background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 60%); border-left: 1px solid var(--line); overflow-y: auto; box-shadow: -18px 0 40px rgba(15, 33, 71, .10); position: relative; z-index: 1; }
.login-wrap.split .login-box { max-width: 400px; }
.login-wrap.split .login-card { box-shadow: 0 14px 40px rgba(15, 33, 71, .10); }
.login-wrap.split .login-in { padding: 20px 24px 18px; }
.login-wrap.split .login-logo { height: 92px; margin: 10px auto 2px; }
.login-wrap.split .login-title { font-size: 32px; margin-top: 6px; }
.login-wrap.split .login-sep { margin: 14px 0 12px; }
.login-wrap.split .login-desc { font-size: 14px; margin-bottom: 10px; }
@media (max-height: 700px) and (min-width: 901px) {
  .login-wrap.split .login-logo { height: 64px; margin-top: 4px; }
  .login-wrap.split .login-title { font-size: 26px; }
  .login-wrap.split .login-sub2 { display: none; }
}
/* HP & tablet tegak: gambar utuh di atas, langsung disusul kolom username & password — satu layar tanpa gulir */
@media (max-width: 900px) {
  .login-wrap.split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; height: auto; min-height: 0; background: #fff; }
  body:has(.login-wrap) { background: #fff; }
  .login-hero { place-items: stretch; background: none; }
  .login-hero img { height: auto; max-height: 42vh; max-height: 42dvh; object-fit: cover; object-position: center top; }
  .login-side { place-items: start stretch; border-left: 0; border-top: 3px solid var(--amber-500); box-shadow: none; padding: 16px 18px 20px; overflow: visible; background: #fff; }
  .login-wrap.split .login-box { max-width: 480px; margin: 0 auto; }
  .login-wrap.split .login-card { border: 0; box-shadow: none; background: transparent; }
  .login-wrap.split .login-card::before { display: none; }
  .login-wrap.split .login-in { padding: 0; }
  .login-wrap.split .login-head, .login-wrap.split .login-logo, .login-wrap.split .login-title,
  .login-wrap.split .login-sub, .login-wrap.split .login-sep, .login-in:has(#fLogin) .login-desc { display: none; }
  .login-wrap.split #fLogin { margin-bottom: 0 !important; }
  .login-wrap.split .alert { margin-bottom: 12px; }
  html:has(.login-wrap), body:has(.login-wrap) { overflow: visible !important; height: auto !important; }
}

.btn-trash .ic { width: 14px; height: 14px; }
@media (min-width: 1024px) and (min-height: 560px) { .btn-trash { padding: 0 8px; } }

/* =================== v1.7 — Pendaftaran kolektif =================== */
.brow { display: grid; grid-template-columns: 26px minmax(0, 1.7fr) 100px 108px minmax(0, 1.2fr) minmax(0, 1.5fr) 32px; gap: 8px; align-items: center; padding: 5px 0; }
.brow.head { position: sticky; top: -12px; z-index: 2; background: var(--surface, #fff); padding: 0 0 6px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.brow .input, .brow .select { height: 38px; font-size: 13.5px; min-width: 0; }
.brow .bno { font-weight: 700; color: var(--muted); text-align: center; font-size: 13px; }
.brow .brm { width: 32px; height: 32px; padding: 0; justify-content: center; color: var(--muted); }
.brow .brm:hover { color: var(--red); background: #fef2f2; }
[data-brows] .brow + .brow { border-top: 1px dashed var(--line-2, #eef1f6); }
.btn-add { margin-top: 10px; width: 100%; border-style: dashed; color: var(--blue); background: #f5f8ff; justify-content: center; }
.btn-add:hover { background: #eaf1ff; }
.bh { flex-wrap: wrap; gap: 10px; }
.bh h3 .tag { margin-left: 6px; font-size: 11px; }
.bdef { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.bdef label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bdef .select { height: 36px; min-width: 220px; max-width: 360px; }
.bk-f { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.kchip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: 12px; border: 1px solid; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kchip b { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.kchip.ok { background: var(--green-50); border-color: #a7e3c6; color: #065f46; }
.kchip.bad { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.bshare { display: flex; gap: 8px; align-items: flex-start; background: #f5f8ff; border: 1px solid #dbe6ff; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.bshare .ic { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 2px; }
.bgab { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; cursor: pointer; }
.bgab input { margin-top: 3px; width: 16px; height: 16px; }
.bgab small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.fit-form.batch .slots { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) and (min-height: 560px) {
  .fit-form.batch { grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .fit-form.batch .s1 { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; }
  .fit-form.batch .s1 > .card-b { flex: 1; min-height: 0; overflow: auto; }
  .fit-form.batch .s3 { grid-column: 2; grid-row: 1; }
  .fit-form.batch .bk-f { padding: 7px 14px; }
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .brow { grid-template-columns: 22px minmax(0, 1.6fr) 96px 90px minmax(0, 1.1fr) minmax(0, 1.3fr) 30px; gap: 6px; }
  .bdef .select { min-width: 160px; }
}
/* HP / layar sempit: tiap peserta menjadi kartu kecil */
@media (max-width: 1023px) {
  .brow.head { display: none; }
  .brow { grid-template-columns: 28px 1fr 1fr 34px; grid-template-areas: "no nama nama rm" "no nrp pkt rm" "no jab jab rm" "no pel pel rm"; gap: 6px 8px; padding: 10px 0; }
  .brow .bno { grid-area: no; align-self: start; padding-top: 10px; }
  .brow [data-k=Nama] { grid-area: nama; } .brow [data-k=NRP_NIP] { grid-area: nrp; } .brow [data-k=Pangkat] { grid-area: pkt; }
  .brow [data-k=Jabatan] { grid-area: jab; } .brow [data-k=ID_Pelatihan] { grid-area: pel; } .brow .brm { grid-area: rm; align-self: start; }
  .bdef { margin-left: 0; width: 100%; } .bdef .select { flex: 1; min-width: 0; max-width: none; }
}
.brow > * { min-width: 0; }
.brow.head > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-form.batch .drop { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; text-align: left; align-items: center; padding: 12px 14px; }
.fit-form.batch .drop .fi { grid-row: 1 / 3; margin: 0; width: 40px; height: 40px; }
.fit-form.batch .drop .t { margin: 0; font-size: 13.5px; }
.fit-form.batch .drop .s { margin: 0; grid-column: 2; font-size: 12px; }
.fit-form.batch .drop .btn { display: none; }
.fit-form.batch .up-h { font-size: 12.5px; }
.fit-form.batch .bshare, .fit-form.batch .bgab { margin-bottom: 10px; padding: 7px 10px; }
@media (min-width: 1024px) and (min-height: 560px) and (max-height: 760px) { .fit-form.batch .bshare { display: none; } .fit-form.batch .bgab small { display: none; } }
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 560px) { .fit-form.batch .bshare { display: none; } .fit-form.batch .bgab small { display: none; } .fit-form.batch { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); } }
