/* ===== SINYAL (Sistem Informasi Layanan Aduan Jaringan) – IAKN Manado ===== */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --primary: #0b3b8c;
  --primary-2: #1557d0;
  --primary-soft: #e8efff;
  --accent: #f2a900;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --text: #0f1b33;
  --muted: #5c6884;
  --border: #e2e7f1;
  --ring: rgba(21, 87, 208, .25);
  --green: #12805c;  --green-bg: #e3f6ee;
  --amber: #9a6100;  --amber-bg: #fff3d6;
  --red: #c0352b;    --red-bg: #fde8e6;
  --blue: #1557d0;   --blue-bg: #e6eeff;
  --gray: #55607a;   --gray-bg: #eef1f6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 8px 24px rgba(15, 27, 51, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6f9dff;
    --primary-2: #8fb3ff;
    --primary-soft: #1b2a4a;
    --bg: #0c1220;
    --surface: #131b2e;
    --surface-2: #18223a;
    --text: #e7ecf7;
    --muted: #97a3bf;
    --border: #26324d;
    --ring: rgba(111, 157, 255, .3);
    --green: #5fd3a8; --green-bg: #12332a;
    --amber: #f4c25b; --amber-bg: #3a2d10;
    --red: #ff8a80;   --red-bg: #3d1a18;
    --blue: #8fb3ff;  --blue-bg: #1b2a4a;
    --gray: #aab4cc;  --gray-bg: #222c43;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1240px; }
.main { flex: 1; padding-top: 24px; padding-bottom: 48px; }
.main-bare { display: flex; flex-direction: column; justify-content: center; }

/* ---- Topbar ---- */
.topbar { background: linear-gradient(120deg, #082b6b, #0b3b8c 55%, #1557d0); color: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px rgba(8, 43, 107, .25); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); }
.brand-mark .ic { width: 22px; height: 22px; color: var(--accent); }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text small { font-size: .75rem; opacity: .8; }
.topnav { display: flex; gap: 4px; }
.topnav a, .adminnav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.85); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.topnav a:hover, .adminnav a:hover { background: rgba(255,255,255,.12); text-decoration: none; color: #fff; }
.topnav a.on, .adminnav a.on { background: #fff; color: #0b3b8c; }
.adminnav { display: flex; gap: 4px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.adminnav::-webkit-scrollbar { display: none; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user .who { display: inline-flex; gap: 6px; align-items: center; font-size: .88rem; opacity: .9; }
.admin-user form { margin: 0; }
.topbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---- Hero ---- */
.hero { display: grid; gap: 6px; margin: 8px 0 22px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-2); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.hero p { color: var(--muted); max-width: 60ch; margin: 0; }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card + .card { margin-top: 16px; }
.card.narrow { max-width: 460px; width: 100%; margin: 0 auto; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.section-title:first-child { margin-top: 0; }

/* ---- Forms ---- */
.form { display: grid; gap: 14px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .9rem; }
.field > span .req { color: var(--red); }
.field small { color: var(--muted); font-size: .8rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 4px var(--ring); background: var(--surface); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--primary-2); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c6884' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.check { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.counter { text-align: right; }

/* Pilihan chip (radio) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; min-height: 0; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface-2); font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.chip input:checked + span { border-color: var(--primary-2); background: var(--primary-soft); color: var(--primary-2); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--ring); }
.chips-block .chip { flex: 1 1 calc(50% - 8px); }
.chips-block .chip span { width: 100%; border-radius: var(--radius-sm); padding: 12px 14px; }

/* Upload */
.upload { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; position: relative; }
.upload:hover { border-color: var(--primary-2); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.upload .ic { width: 28px; height: 28px; color: var(--primary-2); }
.upload-preview { max-height: 120px; border-radius: 8px; display: none; margin-top: 8px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .92rem; border-radius: var(--radius-sm); padding: 11px 18px; min-height: 44px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .05s, background .15s, box-shadow .15s; color: var(--text); background: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #1557d0, #0b3b8c); color: #fff; box-shadow: 0 6px 16px rgba(21, 87, 208, .28); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--red-bg); color: var(--red); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Alerts & badges ---- */
.alert { border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; font-size: .92rem; border: 1px solid transparent; }
.alert-success { background: var(--green-bg); color: var(--green); }
.alert-danger { background: var(--red-bg); color: var(--red); }
.alert-warning { background: var(--amber-bg); color: var(--amber); }
.alert-info { background: var(--blue-bg); color: var(--blue); }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-gray { background: var(--gray-bg); color: var(--gray); }
.badge-outline { background: transparent; border: 1.5px solid currentColor; padding: 2px 9px; }

/* ---- Layout halaman pelapor ---- */
.layout-lapor { display: grid; grid-template-columns: 1fr 280px; gap: 18px; align-items: start; }
.side-card { position: sticky; top: 84px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: .9rem; color: var(--muted); }
.steps b { color: var(--text); display: block; }
.steps .n { width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-2); display: grid; place-items: center; font-weight: 800; }

/* Tiket sukses */
.success { text-align: center; }
.success-ic { width: 72px; height: 72px; margin: 4px auto 14px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; }
.success-ic .ic { width: 36px; height: 36px; }
.ticket { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; max-width: 100%; font-size: clamp(1.05rem, .6rem + 3.2vw, 1.9rem); font-weight: 800; letter-spacing: .04em; padding: 14px 20px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-2); border: 2px dashed var(--primary-2); margin: 8px 0 16px; font-variant-numeric: tabular-nums; }
.copy-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; border-radius: 8px; display: grid; }
.copy-btn:hover { background: rgba(21, 87, 208, .12); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 26px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -6px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline li.internal::after { background: var(--gray); box-shadow: 0 0 0 4px var(--gray-bg); }
.timeline .t-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.timeline .t-body { margin-top: 4px; white-space: pre-line; }

/* Definition list */
.dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; font-size: .93rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.desc-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; white-space: pre-line; word-break: break-word; }

/* ---- Admin: statistik ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.stat .s-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.stat .s-ic .ic { width: 22px; height: 22px; }
.stat .s-val { font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .s-lbl { font-size: .82rem; color: var(--muted); }
.s-blue { background: var(--blue-bg); color: var(--blue); }
.s-amber { background: var(--amber-bg); color: var(--amber); }
.s-green { background: var(--green-bg); color: var(--green); }
.s-gray { background: var(--gray-bg); color: var(--gray); }
.s-red { background: var(--red-bg); color: var(--red); }

/* Filter */
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 16px; }
.filters .field > span { font-size: .78rem; color: var(--muted); }
.filters input, .filters select { min-height: 42px; padding-top: 8px; padding-bottom: 8px; }

/* Tabel */
.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--muted); font-size: .8rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.tiket-link { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .ic { width: 40px; height: 40px; margin-bottom: 8px; opacity: .6; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: .88rem; padding: 0 10px; }
.pager .on { background: var(--primary-2); color: #fff; border-color: var(--primary-2); }

/* Detail admin */
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.lampiran-img { max-width: 100%; max-height: 420px; object-fit: contain; background: var(--surface-2); border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }

/* ---- Laporan ---- */
.tabs { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; gap: 4px; }
.tabs a { padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.tabs a.on { background: var(--surface); color: var(--primary-2); box-shadow: var(--shadow); }
.tabs a:hover { text-decoration: none; }
.report-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.report-bar form { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.report-bar select { min-height: 42px; padding-top: 8px; padding-bottom: 8px; width: auto; }
.chart-box { position: relative; height: 280px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: .88rem; }
.bar-row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-track { grid-column: 1 / -1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, #1557d0, #4d8bff); border-radius: 99px; transition: width .6s ease; }
.print-only, .kop.print-only, .ttd.print-only { display: none; }
.kop { display: flex; align-items: center; gap: 16px; border-bottom: 3px double #000; padding-bottom: 10px; margin-bottom: 16px; }
.kop img { width: 70px; height: 70px; object-fit: contain; }
.kop .k-text { flex: 1; text-align: center; line-height: 1.3; }
.kop .k-text b { display: block; font-size: 16pt; }
.ttd { margin-top: 36px; display: flex; justify-content: flex-end; }
.ttd div { text-align: center; min-width: 240px; }
.ttd .space { height: 70px; }

/* ---- Footer ---- */
.footer { padding: 20px 0 28px; color: var(--muted); font-size: .82rem; text-align: center; }

/* ---- Responsif ---- */
@media (max-width: 1000px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
  .filters .f-search { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .layout-lapor { grid-template-columns: 1fr; }
  .side-card { position: static; order: -1; }
  .side-card .steps { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .side-card .steps li { grid-template-columns: 1fr; text-align: center; justify-items: center; font-size: .78rem; }
  .side-card .step-desc { display: none; }
  .grid-2, .grid-3, .two-col { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 14px; }
  .table-wrap { margin: 0 -18px; padding: 0 18px; }
  .topnav a span { display: none; }
  .topnav a { padding: 10px; }
  .admin-user .who, .admin-user .btn span { display: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 8px; }
  .chips-block .chip { flex: 1 1 100%; }
  /* tabel menjadi kartu */
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; padding: 6px 4px; background: var(--surface); }
  table.responsive td { border: 0; padding: 6px 10px; display: flex; gap: 10px; justify-content: space-between; text-align: right; }
  table.responsive td::before { content: attr(data-label); color: var(--muted); font-size: .78rem; font-weight: 600; text-align: left; flex: none; }
  table.responsive td.td-main { display: block; text-align: left; font-size: .95rem; }
  table.responsive td.td-main::before { display: none; }
  .table-wrap { overflow: visible; }
}
@media (max-width: 420px) {
  .stats { gap: 10px; }
  .stat { padding: 12px; gap: 10px; }
  .stat .s-ic { width: 36px; height: 36px; }
  .stat .s-val { font-size: 1.3rem; }
}

/* ---- Cetak / PDF ---- */
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  :root { --surface: #fff; --surface-2: #fff; --bg: #fff; --text: #000; --muted: #333; --border: #bbb; --shadow: none; }
  body { background: #fff; font-size: 10.5pt; display: block; }
  .topbar, .footer, .no-print, .report-bar, .alert { display: none !important; }
  .print-only { display: block; }
  .kop.print-only, .ttd.print-only { display: flex; }
  .main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; padding: 12px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat { box-shadow: none; padding: 8px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .chart-box { height: 220px; overflow: hidden; }
  .chart-box canvas { width: 100% !important; height: 100% !important; }
  table { font-size: 9pt; }
  th, td { padding: 5px 6px; }
  tr { break-inside: avoid; }
  .card.breakable { break-inside: auto; }
  .two-col { break-inside: avoid; }
  .badge { padding: 0; background: none !important; color: #000 !important; border: 0; }
  a { color: #000; }
}

/* Tambahan */
a.stat { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.stat:hover { transform: translateY(-2px); }
.install-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.install-head h1 { font-size: 1.4rem; margin: 0; }
.install-head .brand-mark { background: var(--primary-soft); border-color: var(--border); }
.install-head .brand-mark .ic { color: var(--primary-2); }
pre.small { white-space: pre-wrap; word-break: break-all; }
.field { align-content: start; }
.grid-2, .grid-3 { align-items: start; }
.steps .step-desc { font-style: normal; }

/* Gangguan penyedia */
.filters-isp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline li.from-isp::after { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-bg); }
@media (max-width: 760px) { .filters-isp { grid-template-columns: 1fr 1fr; } }
.brand-inst { font-weight: 500; opacity: .75; }
.brand-text strong { letter-spacing: .02em; }
@media (max-width: 760px) { .hide-sm { display: none; } .area-public .brand-text small { display: none; } }

/* Captcha */
.captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha img { border-radius: var(--radius-sm); border: 1.5px solid var(--border); height: 52px; width: auto; background: #ecf1fb; }
.captcha input { width: 120px; flex: none; font-size: 1.1rem; font-weight: 700; text-align: center; letter-spacing: .1em; }
.captcha-teks { font-size: 1.2rem; font-weight: 800; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary-2); }
.toggle-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); cursor: pointer; }
.toggle-row input { margin-top: 3px; }
.toggle-row b { display: block; font-size: .92rem; }
.toggle-row small { color: var(--muted); font-size: .82rem; line-height: 1.45; display: block; }

/* Cek sistem */
.cek-list { display: grid; gap: 8px; }
.cek-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); font-size: .9rem; }
.cek-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.cek-ic .ic { width: 16px; height: 16px; }
.cek-ok .cek-ic { background: var(--green-bg); color: var(--green); }
.cek-bad { border-color: var(--red); background: var(--red-bg); }
.cek-bad .cek-ic { background: var(--red); color: #fff; }
.cek-warn .cek-ic { background: var(--amber-bg); color: var(--amber); }
.err-list { display: grid; gap: 10px; max-height: 70vh; overflow: auto; }
.err-item { border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 0; padding: 10px 12px; background: var(--surface-2); }
.err-msg { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; margin: 4px 0; word-break: break-word; }
