/* =====================================================================
   Dasbor publik Menu Kegiatan (index.php) + mode TV.
   Berdiri sendiri (tidak memuat style.css lama). Warna & huruf seragam portal.
   ===================================================================== */
:root {
  --ink: #0f1f3a; --muted: #50607c; --faint: #8593a9;
  --blue: #1f62d6; --blue-d: #1a4fb0; --blue-l: #4b93f2; --blue-xl: #a6cbfa;
  --surface: #ffffff; --surface2: #f3f7fe; --line: #e2eaf6; --line2: #cfdcef;
  --amber: #b45309; --amber-c: #f59e0b; --amber-bg: #fff6e0; --amber-line: #fbe2a8;
  --ok: #13804c; --ok-bg: #e3f5ec; --warn: #8a5300; --warn-bg: #fff1d6; --done: #475569; --done-bg: #eef2f7;
  --grad: linear-gradient(145deg, #4b93f2, #1f62d6);
  --shadow: 0 1px 2px rgb(16 40 90 / .05), 0 14px 30px -18px rgb(20 60 140 / .32);
  --shadow-hi: 0 2px 4px rgb(16 40 90 / .06), 0 26px 46px -22px rgb(20 60 140 / .45);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 15px; line-height: 1.5; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); }
h1, h2, h3 { letter-spacing: -.015em; margin: 0; }
.pb-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(900px 520px at 92% -8%, rgb(91 160 255 / .26), transparent 62%),
  radial-gradient(700px 420px at 8% 0%, rgb(160 205 255 / .30), transparent 60%),
  linear-gradient(180deg, #d9eaff 0%, #edf5ff 30%, #ffffff 64%); }
.pb-muted { color: var(--muted); font-size: 13.5px; }
.pb-note { color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }

/* ---------- kepala ---------- */
.pb-top { max-width: 1200px; margin: 0 auto; padding: 20px clamp(16px, 3vw, 32px) 0; display: flex; align-items: center; gap: 14px; }
.pb-mark { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 16px var(--font); text-decoration: none; background: var(--grad); box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 -3px 0 rgb(0 0 0 / .14) inset, 0 10px 18px -8px rgb(31 98 214 / .75); }
.pb-brand { flex: 1; min-width: 0; }
.pb-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3b5ba9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-title { font-size: 19px; font-weight: 800; line-height: 1.25; }
.pb-portal { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.pb-portal:hover { background: rgb(255 255 255 / .6); }
.pb-masuk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid #d5e2fb; box-shadow: 0 8px 18px -10px rgb(15 30 61 / .35), inset 0 -2px 0 #dce6fa; white-space: nowrap; }
.pb-masuk:hover { box-shadow: var(--shadow-hi), inset 0 -2px 0 #dce6fa; }

/* ---------- tab ---------- */
.pb-tabs-wrap { max-width: 1200px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 32px) 0; position: sticky; top: 0; z-index: 20; }
.pb-tabs { display: flex; gap: 4px; padding: 5px; overflow-x: auto; scrollbar-width: none; background: rgb(255 255 255 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 24px -14px rgb(15 30 61 / .25); }
.pb-tabs::-webkit-scrollbar { display: none; }
.pb-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 13px; color: #33415c; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.pb-tabs a:hover { background: var(--surface2); }
.pb-tabs a.on { color: #fff; font-weight: 700; background: var(--grad); box-shadow: 0 6px 14px -4px rgb(31 98 214 / .5), inset 0 1px 0 rgb(255 255 255 / .35); }

/* ---------- isi ---------- */
.pb-main { max-width: 1200px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 32px) 40px; display: flex; flex-direction: column; gap: 20px; }
#pbHari { display: flex; flex-direction: column; gap: 20px; }
.pb-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.pb-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.pb-card.pb-pad { padding: 22px; }
.pb-soft { background: linear-gradient(155deg, #fff, #edf4ff); border-color: #dce6fa; }
.pb-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pb-card-h h3 { margin: 0; }
.pb-card-h span { font-size: 12.5px; color: var(--muted); }
.pb-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pb-head h2, .pb-h2 { font-size: 19px; font-weight: 800; }
.pb-head span { font-size: 13px; color: var(--muted); }
.pb-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pb-start { align-items: start; }
.pb-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pb-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; font: 700 14px var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 8px 16px -8px rgb(31 98 214 / .7), inset 0 1px 0 rgb(255 255 255 / .3); }
.pb-btn.sm { min-height: 40px; padding: 0 14px; margin: 0; }

/* hero */
.pb-hero { position: relative; overflow: hidden; border-radius: 24px; padding: 24px 26px; color: #fff; background: linear-gradient(135deg, #1a4fb0 0%, #2563eb 55%, #5ea2f5 100%); box-shadow: 0 22px 44px -22px rgb(29 78 216 / .7), inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -4px 0 rgb(0 0 0 / .10); }
.pb-hero-bubble { position: absolute; border-radius: 50%; background: rgb(255 255 255 / .10); }
.pb-hero-bubble.a { width: 260px; height: 260px; right: -70px; top: -90px; }
.pb-hero-bubble.b { width: 200px; height: 200px; right: 90px; bottom: -120px; background: rgb(255 255 255 / .07); }
.pb-hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pb-hero-date { font-size: 14px; font-weight: 600; opacity: .92; }
.pb-hero h1 { font-size: clamp(24px, 4vw, 30px); font-weight: 800; line-height: 1.2; margin-top: 4px; }
.pb-hero-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .16); font-size: 13px; font-weight: 600; }
.pb-blink { width: 8px; height: 8px; border-radius: 50%; background: #86efac; flex: none; animation: pbBlink 1.6s ease-in-out infinite; }
@keyframes pbBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.pb-clock { font: 600 clamp(34px, 6vw, 46px)/1 var(--mono); letter-spacing: -.02em; }
.pb-clock small { font-size: 15px; opacity: .85; margin-left: 6px; }

/* KPI */
.pb-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pb-kpi-i { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow), inset 0 -3px 0 #eef3fd; display: flex; flex-direction: column; min-width: 0; }
.pb-kpi.alt .pb-kpi-i { box-shadow: var(--shadow), inset 0 -3px 0 #fdf1d8; }
.pb-kpi-i span { font-size: 13px; font-weight: 600; color: var(--muted); }
.pb-kpi-i b { font-size: 30px; font-weight: 800; line-height: 1.15; margin-top: 4px; }
.pb-kpi-i small { font-size: 12px; color: var(--muted); }

/* kartu sesi */
.pb-sesi { display: flex; flex-direction: column; gap: 12px; }
.pb-sesi-top { display: flex; align-items: flex-start; gap: 14px; }
.pb-time { flex: none; display: flex; flex-direction: column; align-items: center; padding: 8px 10px; border-radius: 12px; background: #eef4ff; color: var(--blue); font: 600 13.5px/1.3 var(--mono); }
.pb-time small { font-size: 12px; color: #5d7fc4; }
.pb-sesi-info { flex: 1; min-width: 0; }
.pb-sesi-info h3, .pb-riset h3 { font-size: 16px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.pb-sesi-info p, .pb-riset p { margin: 2px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.pb-sesi-info p b { color: var(--ink); font-weight: 600; }
.pb-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.pb-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pb-progress { height: 6px; border-radius: 999px; background: #e7eefb; overflow: hidden; }
.pb-progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #16a34a); }
.pb-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pb-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pb-pill-live { background: var(--ok-bg); color: var(--ok); }
.pb-pill-live .pb-dot { animation: pbBlink 1.6s ease-in-out infinite; }
.pb-pill-nanti { background: var(--warn-bg); color: var(--warn); }
.pb-pill-selesai { background: var(--done-bg); color: var(--done); }
.pb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 10px; border-radius: 10px; background: #f5f8fe; border: 1px solid var(--line); font-size: 12px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.pb-chip:hover { border-color: var(--blue-xl); background: #eef4ff; }
.pb-chip.alt { background: #fffaf0; border-color: var(--amber-line); }
.pb-kode { font: 600 11.5px var(--mono); color: var(--blue); white-space: nowrap; }
.pb-chip.alt .pb-kode { color: var(--amber); }

.pb-riset { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--amber-c); }
.pb-riset-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pb-time-inline { font: 600 13px var(--mono); color: var(--amber); }

.pb-next h3 { margin-bottom: 4px; }
.pb-next-i { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.pb-next-i:first-of-type { border-top: 0; }
.pb-next-d { width: 70px; flex: none; font: 600 12px var(--mono); color: #3b5ba9; display: flex; flex-direction: column; }
.pb-next-d small { color: var(--muted); font-size: 11.5px; }
.pb-next-i b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.pb-next-i span { color: var(--muted); }

.pb-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 18px; border: 1.5px dashed var(--line2); border-radius: 18px; background: rgb(255 255 255 / .7); color: var(--muted); font-size: 13.5px; }
.pb-empty b { color: var(--ink); font-size: 15px; }
.pb-empty-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--blue); background: #eef4ff; margin-bottom: 4px; }

/* kalender & agenda */
.pb-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pb-cal-head h2 { font-size: 18px; font-weight: 800; }
.pb-iconbtn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid #dce6fa; background: #f5f8fe; color: var(--blue); }
.pb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.pb-cal-dn { font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.pb-cal-d { min-height: 46px; padding-top: 6px; border-radius: 12px; font-size: 14px; font-weight: 600; background: #f7faff; }
.pb-cal-d.ada { background: #edf4ff; }
.pb-cal-d.today { background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 6px 14px -4px rgb(31 98 214 / .5); }
.pb-cal-dots { display: flex; justify-content: center; gap: 3px; height: 6px; margin-top: 3px; }
.pb-cal-dots i, .pb-legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.pb-cal-dots i.p, .pb-legend i.p { background: var(--blue); }
.pb-cal-dots i.r, .pb-legend i.r { background: var(--amber-c); }
.pb-cal-d.today .pb-cal-dots i.p { background: #fff; }
.pb-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.pb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pb-legend i { width: 10px; height: 10px; border-radius: 3px; }
.pb-legend i.s1 { background: var(--blue); } .pb-legend i.s2 { background: var(--amber-c); } .pb-legend i.s3 { background: var(--blue-xl); }
.pb-ag { display: flex; gap: 12px; }
.pb-ag-date { width: 56px; flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 16px; background: #fff; border: 1px solid #dce6fa; box-shadow: var(--shadow); }
.pb-ag-date small { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.pb-ag-date b { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.pb-ag-date.today { background: var(--grad); border-color: transparent; }
.pb-ag-date.today small, .pb-ag-date.today b { color: #fff; }
.pb-ag-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pb-ag-i { padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid #dce6fa; box-shadow: 0 6px 14px -10px rgb(15 30 61 / .3); font-size: 13px; min-width: 0; }
.pb-ag-i.r { background: #fffbf0; border-color: var(--amber-line); }
.pb-ag-meta { font: 600 12px var(--mono); color: var(--muted); }
.pb-ag-i b { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.pb-ag-i span { color: var(--muted); overflow-wrap: anywhere; }

/* filter & segmen */
.pb-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-filter label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--muted); min-width: 0; }
.pb-filter select { min-height: 42px; max-width: 100%; padding: 0 10px; border-radius: 12px; border: 1px solid #d5e2fb; background: #fff; font: 600 14px var(--font); color: var(--ink); }
.pb-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #eef3fd; }
.pb-seg a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #33415c; text-decoration: none; }
.pb-seg a.on { background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 4px 10px -4px rgb(15 30 61 / .25); }
.pb-seg-src { margin: 14px 0 6px; }

/* podium & peringkat */
.pb-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin-top: 8px; }
.pb-pod { text-align: center; min-width: 0; }
.pb-pod b { display: block; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.pb-pod small { display: block; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.pb-pod-v { display: block; font: 600 15px var(--mono); color: var(--blue); margin: 4px 0 8px; }
.pb-pod-blk { display: flex; justify-content: center; padding-top: 10px; border-radius: 14px 14px 6px 6px; font-size: 22px; font-weight: 800; color: #fff; box-shadow: 0 12px 20px -10px rgb(29 78 216 / .6), inset 0 1px 0 rgb(255 255 255 / .35); }
.pb-pod-1 .pb-pod-blk { height: 116px; background: linear-gradient(180deg, #2563eb, #1a3f8f); }
.pb-pod-2 .pb-pod-blk { height: 84px; background: linear-gradient(180deg, #5ea2f5, #1a4fb0); }
.pb-pod-3 .pb-pod-blk { height: 62px; background: linear-gradient(180deg, #93c5fd, #3b6fd0); }
.pb-rank { list-style: none; margin: 14px 0 0; padding: 0; }
.pb-rank li { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid #edf2fb; font-size: 14px; }
.pb-rank-n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #eef4ff; color: var(--blue); font-weight: 800; font-size: 13px; }
.pb-rank-n.top { background: var(--grad); color: #fff; box-shadow: 0 6px 12px -6px rgb(29 78 216 / .6); }
.pb-rank-t { flex: 1; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.pb-rank-t b { color: var(--ink); }
.pb-rank-s { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.pb-rank-v { font: 600 14px var(--mono); color: var(--blue); }
.pb-spot { display: grid; gap: 10px; }
.pb-spot div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: rgb(255 255 255 / .8); border: 1px solid #dce6fa; }
.pb-spot span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #3b5ba9; }
.pb-spot b { font-size: 15px; }
.pb-spot small { color: var(--muted); font-size: 12.5px; }

.pb-gauge-row { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.pb-gauge { --v: 0; width: 92px; height: 92px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--v) * 1%), #dce6fa 0); box-shadow: 0 10px 18px -10px rgb(29 78 216 / .5); }
.pb-gauge span { width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 800; }
.pb-big { font-size: 22px; font-weight: 800; }
.pb-big small { font-size: 13px; color: var(--muted); font-weight: 600; }
.pb-tag { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700; }

/* grafik batang */
.pb-vbars { display: flex; align-items: flex-end; gap: 8px; height: 150px; border-bottom: 1px solid #dce6fa; }
.pb-vbar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.pb-vbar small { font-size: 11px; font-weight: 700; color: var(--muted); }
.pb-vbar i { display: block; width: 100%; max-width: 36px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #6aa8f5, #1f62d6); }
.pb-vbars.alt .pb-vbar i { background: linear-gradient(180deg, #fbbf24, #c26a06); }
.pb-vlabels { display: flex; gap: 8px; margin-top: 6px; }
.pb-vlabels span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-hbar { margin-bottom: 12px; }
.pb-hbar-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 5px; }
.pb-hbar-t span { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pb-hbar-t b { font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.pb-hbar-b { height: 10px; border-radius: 999px; background: #eef3fd; overflow: hidden; }
.pb-hbar-b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6aa8f5, #1f62d6); }
.pb-hbar.alt .pb-hbar-b { background: #fdf3df; }
.pb-hbar.alt .pb-hbar-b i { background: linear-gradient(90deg, #fcd34d, #c26a06); }

/* tabel */
.pb-table-wrap { overflow-x: auto; margin: 0 -4px; }
.pb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.pb-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pb-table td { padding: 9px 6px; border-bottom: 1px solid #f0f4fb; vertical-align: middle; }
.pb-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-table td.num b { font-weight: 700; color: var(--blue); }
.pb-table td.num small { display: block; font-size: 11px; color: var(--faint); }
.pb-nama { font-family: var(--mono); font-weight: 500; white-space: nowrap; }

/* top alat */
.pb-alat { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-alat-i { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 14px; color: var(--ink); text-decoration: none; }
a.pb-alat-i:hover { background: var(--surface2); }
.pb-alat-i .pb-rank-n { width: 36px; height: 36px; border-radius: 12px; font-size: 14px; }
.pb-alat-body { flex: 1; min-width: 0; }
.pb-alat-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; }
.pb-alat-n { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.pb-alat-n em { font: normal 500 12px var(--mono); color: #3b5ba9; white-space: nowrap; }
.pb-alat-t b { font: 600 14px var(--mono); flex: none; }
.pb-stack { display: flex; height: 10px; margin-top: 6px; border-radius: 999px; background: #eef3fd; overflow: hidden; }
.pb-stack i { display: block; height: 100%; }
.pb-stack i.s1 { background: var(--blue); } .pb-stack i.s2 { background: var(--amber-c); } .pb-stack i.s3 { background: var(--blue-xl); }
.pb-jarang { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pb-jarang a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fafcff; text-decoration: none; color: var(--ink); min-width: 0; }
.pb-jarang a:hover { border-color: var(--blue-xl); }
.pb-jarang em { font: normal 600 12px var(--mono); color: var(--blue); }
.pb-jarang b { font-size: 14px; overflow-wrap: anywhere; }
.pb-jarang span { font-size: 12px; color: var(--muted); }

/* peta jam sibuk */
.pb-heat { --kol: 10; display: grid; grid-template-columns: 38px repeat(var(--kol), minmax(0, 1fr)); gap: 4px; margin-top: 16px; }
.pb-heat-h { font: 500 11px var(--mono); color: var(--muted); text-align: center; }
.pb-heat-d { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; align-items: center; }
.pb-heat-c { height: 36px; border-radius: 8px; display: inline-block; }
.pb-heat-c.l0 { background: #f1f5fd; } .pb-heat-c.l1 { background: #dbe7fe; } .pb-heat-c.l2 { background: #a9c6fb; } .pb-heat-c.l3 { background: #5b8def; } .pb-heat-c.l4 { background: #1f4fc0; }
.pb-heat-leg { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.pb-heat-leg .pb-heat-c { width: 22px; height: 14px; border-radius: 4px; }
.pb-dekat { margin: 0; }

/* kaki */
.pb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pb-foot b { display: block; color: var(--ink); font-size: 13.5px; }
.pb-foot-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

@media (max-width: 960px) {
  .pb-split, .pb-grid2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .pb-top { padding-top: 14px; gap: 10px; }
  .pb-portal { display: none; }
  .pb-title { font-size: 16px; }
  .pb-eyebrow { font-size: 10.5px; }
  .pb-masuk { padding: 0 12px; }
  .pb-tabs-wrap { padding-top: 12px; }
  .pb-tabs a { padding: 0 12px; font-size: 13.5px; }
  .pb-main { padding-top: 16px; gap: 16px; }
  #pbHari { gap: 16px; }
  .pb-hero { padding: 20px; border-radius: 20px; }
  .pb-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pb-kpi-i { padding: 13px; border-radius: 16px; }
  .pb-kpi-i b { font-size: 26px; }
  .pb-card { padding: 15px; border-radius: 18px; }
  .pb-card.pb-pad { padding: 16px; }
  .pb-sesi-top { flex-wrap: wrap; gap: 10px 12px; }
  .pb-sesi-top .pb-pill { margin-left: auto; align-self: center; }
  .pb-sesi-info { order: 3; flex-basis: 100%; }
  .pb-filter { width: 100%; }
  .pb-filter label { flex: 1 1 120px; }
  .pb-filter select { width: 100%; }
  .pb-heat { grid-template-columns: 30px repeat(var(--kol), minmax(0, 1fr)); gap: 3px; }
  .pb-heat-c { height: 28px; border-radius: 6px; }
  .pb-heat-h { font-size: 9.5px; }
  .pb-cal-d { min-height: 42px; font-size: 13px; }
  .pb-rank-s { display: none; }
  .pb-foot-r { align-items: flex-start; }
}
@media (max-width: 380px) {
  .pb-masuk span { display: none; }
  .pb-masuk { width: 44px; padding: 0; justify-content: center; }
  .pb-kpi-i b { font-size: 23px; }
}

/* ---------- mode TV ---------- */
body.tv { overflow: hidden; }
.tv-wrap { height: 100vh; padding: 3.2vh 3.4vw; display: flex; flex-direction: column; gap: 3vh; position: relative; }
.tv-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2vw; }
.tv-eyebrow { font-size: 2vh; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #3b5ba9; }
.tv-top h1 { font-size: 5.2vh; font-weight: 800; }
.tv-clock-box { text-align: right; }
.tv-clock { font: 600 9vh/1 var(--mono); color: var(--blue); }
.tv-date { font-size: 2.3vh; font-weight: 600; color: var(--muted); margin-top: .6vh; }
.tv-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2vw; }
.tv-col { display: flex; flex-direction: column; gap: 2vh; min-height: 0; }
.tv-live { border-radius: 3vh; padding: 3vh 2.4vw; color: #fff; background: linear-gradient(135deg, #1a4fb0, #2563eb 60%, #5ea2f5); box-shadow: 0 2.4vh 5vh -2vh rgb(29 78 216 / .6), inset 0 1px 0 rgb(255 255 255 / .35); }
.tv-live.idle { background: linear-gradient(135deg, #3b5ba9, #6a8fd6); }
.tv-badge { display: inline-flex; align-items: center; gap: 1vh; font-size: 2.1vh; font-weight: 700; padding: .7vh 1.6vh; border-radius: 999px; background: rgb(255 255 255 / .18); }
.tv-badge .pb-blink { width: 1.3vh; height: 1.3vh; }
.tv-live h2 { font-size: 4.6vh; font-weight: 800; margin-top: 1.6vh; line-height: 1.15; }
.tv-live p { font-size: 2.5vh; font-weight: 600; opacity: .92; margin: .8vh 0 0; }
.tv-prog { height: 1.3vh; border-radius: 999px; background: rgb(255 255 255 / .25); margin-top: 2.2vh; overflow: hidden; }
.tv-prog i { display: block; height: 100%; background: #86efac; border-radius: 999px; }
.tv-card { background: #fff; border: 1px solid #dce6fa; border-radius: 3vh; padding: 2.6vh 2vw; box-shadow: var(--shadow); min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1.6vh; }
.tv-card h3 { font-size: 2.9vh; font-weight: 800; }
.tv-muted { color: var(--muted); font-size: 2.2vh; margin: 0; }
.tv-row { display: flex; align-items: center; gap: 1.4vw; padding-top: 1.4vh; border-top: 1px solid var(--line); }
.tv-row.selesai { opacity: .55; }
.tv-time { font: 600 2.6vh var(--mono); color: var(--blue); width: 5.4vw; flex: none; }
.tv-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tv-row-t b { font-size: 2.4vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-row-t small { font-size: 1.8vh; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-row .pb-pill { font-size: 1.7vh; padding: .5vh 1.2vh; }
.tv-alat { display: flex; align-items: center; gap: 1.2vw; }
.tv-rank { width: 5.6vh; height: 5.6vh; flex: none; border-radius: 1.6vh; display: grid; place-items: center; font-size: 2.6vh; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 1vh 1.6vh -1vh rgb(29 78 216 / .7); }
.tv-alat > div { flex: 1; min-width: 0; }
.tv-alat-t { display: flex; justify-content: space-between; gap: 1vw; font-size: 2.4vh; font-weight: 700; }
.tv-alat-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-alat-t b { font-family: var(--mono); }
.tv-bar { height: 1.3vh; border-radius: 999px; background: #eef3fd; margin-top: .8vh; overflow: hidden; }
.tv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6aa8f5, #1f62d6); }
.tv-next { margin-top: auto; padding: 1.8vh 1.4vw; border-radius: 2vh; background: #fff8e8; border: 1px solid var(--amber-line); display: flex; flex-direction: column; }
.tv-next span { font-size: 1.8vh; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .05em; }
.tv-next b { font-size: 2.6vh; }
.tv-next small { font-size: 2vh; color: var(--muted); }
.tv-url { font-size: 1.9vh; color: var(--muted); }
.tv-exit { position: absolute; right: 1.2vw; bottom: 1.2vh; font-size: 13px; color: var(--muted); text-decoration: none; opacity: .35; }
.tv-exit:hover { opacity: 1; }
@media (max-width: 900px) {
  body.tv { overflow: auto; }
  .tv-wrap { height: auto; min-height: 100vh; padding: 20px 16px; }
  .tv-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .pb-blink, .pb-pill-live .pb-dot { animation: none; }
}

/* ---------- halaman Masuk (login.php) ---------- */
.lg-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.lg-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid #dce6fa; border-radius: 26px; padding: 28px; box-shadow: 0 30px 60px -30px rgb(15 30 61 / .45), inset 0 -4px 0 #eef3fd; display: flex; flex-direction: column; gap: 16px; }
.lg-back { font-size: 13px; font-weight: 600; text-decoration: none; }
.lg-brand { display: flex; gap: 14px; align-items: center; }
.lg-brand h1 { font-size: 24px; font-weight: 800; }
.lg-brand p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.lg-r { position: absolute; opacity: 0; pointer-events: none; }
.lg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 16px; background: #eef3fd; }
.lg-tabs label { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; }
#r-mahasiswa:checked ~ .lg-tabs .t-mahasiswa, #r-asisten:checked ~ .lg-tabs .t-asisten, #r-admin:checked ~ .lg-tabs .t-admin, #r-kalab:checked ~ .lg-tabs .t-kalab { background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 4px 10px -4px rgb(15 30 61 / .3); }
#r-mahasiswa:focus-visible ~ .lg-tabs .t-mahasiswa, #r-asisten:focus-visible ~ .lg-tabs .t-asisten, #r-admin:focus-visible ~ .lg-tabs .t-admin, #r-kalab:focus-visible ~ .lg-tabs .t-kalab { outline: 2px solid var(--blue); outline-offset: 2px; }
.lg-form { display: flex; flex-direction: column; gap: 14px; }
#r-admin:checked ~ .f-user, #r-kalab:checked ~ .f-user, #r-admin:not(:checked) ~ .f-admin, #r-kalab:not(:checked) ~ .f-kalab { display: none; }
#r-asisten:checked ~ .f-user .b-mahasiswa, #r-asisten:checked ~ .f-user .h-mahasiswa,
#r-mahasiswa:checked ~ .f-user .b-asisten, #r-mahasiswa:checked ~ .f-user .h-asisten { display: none; }
.lg-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.lg-field input { min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid #d5e2fb; background: #f8faff; font: 500 15px var(--font); color: var(--ink); width: 100%; }
.lg-field input:focus { outline: none; border-color: var(--blue-l); box-shadow: 0 0 0 4px rgb(75 147 242 / .18); background: #fff; }
.lg-btn { min-height: 50px; border: 0; border-radius: 14px; font: 800 15px var(--font); color: #fff; background: var(--grad); box-shadow: 0 12px 20px -10px rgb(29 78 216 / .7), inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -3px 0 rgb(0 0 0 / .12); cursor: pointer; }
.lg-btn.dark { background: linear-gradient(145deg, #1e3a8a, #0f1f3a); box-shadow: 0 12px 20px -10px rgb(15 30 61 / .7), inset 0 1px 0 rgb(255 255 255 / .25); }
.lg-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.lg-info { padding: 12px 14px; border-radius: 14px; background: #eef4ff; border: 1px solid #d5e2fb; font-size: 13px; color: #1e3a8a; }
.lg-alert { padding: 12px 14px; border-radius: 14px; background: #fde6e3; border: 1px solid #f6c3bc; color: #a1271d; font-size: 13.5px; font-weight: 600; }
.lg-portal { text-align: center; font-size: 13px; color: var(--muted); text-decoration: none; }
@media (max-width: 480px) { .lg-tabs label svg { display: none; } .lg-tabs label { font-size: 12.5px; padding: 0 2px; } }
@media (max-width: 400px) { .lg-card { padding: 20px; border-radius: 22px; } .lg-tabs label { font-size: 12px; } }
.pb-pt { background: linear-gradient(145deg, #4b93f2, #1f62d6); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgb(31 98 214 / .8), inset 0 1px 0 rgb(255 255 255 / .3); }
@media (max-width: 680px) { .pb-masuk span { display: none; } .pb-masuk { width: 44px; padding: 0; justify-content: center; } }

/* =====================================================================
   v2: agenda per tanggal, profil peneliti, jam sibuk berangka, Suara Mahasiswa
   ===================================================================== */
.pb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb-btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
a.pb-cal-d { display: block; color: inherit; text-decoration: none; transition: transform .12s, box-shadow .12s; }
a.pb-cal-d:hover { transform: translateY(-1px); box-shadow: 0 6px 12px -6px rgb(31 98 214 / .4); }
a.pb-cal-d:focus-visible, .pb-ag-date:focus-visible { outline: 3px solid #9cc2ff; outline-offset: 2px; }
.pb-cal-d.sel:not(.today) { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font-weight: 800; }
.pb-cal-d.today.sel { box-shadow: 0 0 0 3px #bcd6ff, 0 6px 14px -4px rgb(31 98 214 / .5); }
a.pb-ag-date { text-decoration: none; }
.pb-daynav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pb-det { display: flex; flex-direction: column; gap: 3px; }
.pb-det .pb-chips { margin-top: 6px; }
.pb-hadir { margin-top: 8px; border-top: 1px dashed var(--line2); padding-top: 8px; }
.pb-hadir summary { cursor: pointer; font-size: 13px; color: var(--ink); list-style: none; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.pb-hadir summary::-webkit-details-marker { display: none; }
.pb-hadir summary::before { content: "▸"; color: var(--blue); margin-right: 4px; transition: transform .15s; }
.pb-hadir[open] summary::before { transform: rotate(90deg); }
.pb-hadir-l { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; counter-reset: h; }
.pb-hadir-l li { counter-increment: h; display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #f0f4fb; font-size: 13.5px; }
.pb-hadir-l li::before { content: counter(h); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #eef4ff; color: var(--blue); font: 700 11.5px var(--font); }
.pb-hadir-l li span { flex: 1; min-width: 0; font-family: var(--mono); font-weight: 500; }
.pb-hadir-l li time { font: 600 13px var(--mono); color: var(--blue); background: #eef4ff; padding: 2px 8px; border-radius: 8px; }
.pb-hadir-0 { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pb-rencana { margin-top: 22px; }

/* peneliti */
.pb-peneliti { margin-top: 22px; }
.pb-qotd { margin: 0 0 14px; padding: 18px 20px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #1a4fb0, #2563eb 60%, #5ea2f5); box-shadow: var(--shadow-hi); position: relative; overflow: hidden; }
.pb-qotd::after { content: "”"; position: absolute; right: 14px; top: -22px; font: 800 120px/1 Georgia, serif; opacity: .14; }
.pb-qotd-l { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.pb-qotd blockquote { margin: 6px 0 8px; font-size: 19px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pb-qotd figcaption { font-size: 13px; opacity: .9; }
.pb-cari { display: block; margin-bottom: 12px; }
.pb-cari input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid #d5e2fb; background: #fff; font: 500 14.5px var(--font); color: var(--ink); }
.pb-cari input:focus { outline: 3px solid #cfe1ff; border-color: var(--blue); }
.pb-pen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.pb-pen { display: flex; gap: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #dce6fa; box-shadow: var(--shadow); min-width: 0; }
.pb-pen[hidden] { display: none; }
.pb-pen-foto { width: 72px; height: 72px; flex: none; border-radius: 20px; overflow: hidden; background: var(--grad); display: grid; place-items: center; color: #fff; font: 800 24px var(--font); box-shadow: 0 8px 16px -8px rgb(29 78 216 / .6); }
.pb-pen-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-pen-body { flex: 1; min-width: 0; }
.pb-pen-nama { display: block; font-size: 15px; font-weight: 800; font-family: var(--mono); }
.pb-pen-sub { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.pb-pen-npm { font-family: var(--mono); letter-spacing: .04em; }
.pb-pen-judul { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pb-pen-judul.kosong { color: var(--faint); font-style: italic; font-weight: 500; }
.pb-pen-q { margin: 8px 0 0; padding: 8px 10px; border-radius: 12px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: #6b4300; font-size: 13px; font-style: italic; overflow-wrap: anywhere; }
.pb-pen-m { display: block; margin-top: 8px; color: var(--faint); font-size: 11.5px; }

/* jam sibuk */
.pb-heat-c { display: grid; place-items: center; font: 600 11px var(--mono); color: #2c4a86; }
.pb-heat-c.l0 { color: transparent; }
.pb-heat-c.l3, .pb-heat-c.l4 { color: #fff; }
.pb-heat-leg .pb-heat-c { display: inline-block; }
.pb-insight { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 14px; }
.pb-insight div { padding: 10px 14px; border-radius: 14px; background: #f3f7fe; border: 1px solid var(--line); }
.pb-insight span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #3b5ba9; }
.pb-insight b { font-size: 20px; font-weight: 800; }
.pb-insight small { display: block; color: var(--muted); font-size: 12.5px; }
.pb-hari { margin-top: 16px; }
.pb-hari-r { margin-top: 14px; }
.pb-hari-t { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 5px; }
.pb-hari-t span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.pb-hari-t span b { color: var(--blue); font-family: var(--mono); }
.pb-hari-r small { display: block; margin-top: 4px; color: var(--faint); font-size: 12px; }
.pb-hari-r .pb-hbar-b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6aa8f5, #1f62d6); }

/* Suara Mahasiswa */
.pb-hero-sr .pb-hero-emo { font-size: 56px; line-height: 1; filter: drop-shadow(0 8px 12px rgb(15 30 61 / .25)); }
.pb-sr-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 18px; }
.pb-sr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pb-fs { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.pb-fs legend { padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 800; }
.pb-fs legend small { font-weight: 500; color: var(--muted); }
.pb-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-opt { position: relative; cursor: pointer; }
.pb-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pb-opt > span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #d5e2fb; background: #fff; font-size: 14px; font-weight: 700; color: #33415c; transition: all .12s; }
.pb-opt > span i { font-style: normal; font-size: 18px; }
.pb-opt.sm > span { min-height: 36px; padding: 0 12px; font-size: 13px; }
.pb-opt input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 16px -8px rgb(31 98 214 / .7); }
.pb-opt input:focus-visible + span { outline: 3px solid #9cc2ff; outline-offset: 2px; }
.pb-rate { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pb-opt.rate > span { flex-direction: column; justify-content: center; gap: 2px; width: 100%; min-height: 66px; padding: 6px 2px; border-radius: 16px; }
.pb-opt.rate > span i { font-size: 26px; line-height: 1; filter: grayscale(.9); opacity: .7; transition: all .12s; }
.pb-opt.rate > span small { font-size: 11px; font-weight: 700; }
.pb-opt.rate input:checked + span { background: #eef4ff; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.pb-opt.rate input:checked + span i { filter: none; opacity: 1; transform: scale(1.18); }
.pb-fl { display: block; margin-bottom: 14px; }
.pb-fl > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; }
.pb-fl > span small { font-weight: 500; color: var(--muted); }
.pb-fl textarea, .pb-fl input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid #d5e2fb; background: #fff; font: 500 15px/1.5 var(--font); color: var(--ink); resize: vertical; }
.pb-fl input { min-height: 46px; padding-top: 0; padding-bottom: 0; }
.pb-fl textarea:focus, .pb-fl input:focus { outline: 3px solid #cfe1ff; border-color: var(--blue); }
.pb-count { display: block; text-align: right; margin-top: 4px; color: var(--faint); font-size: 12px; font-family: var(--mono); }
.pb-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border: 0; border-radius: 16px; background: var(--grad); color: #fff; font: 800 15.5px var(--font); cursor: pointer; box-shadow: 0 14px 24px -12px rgb(31 98 214 / .8); }
.pb-send:hover { filter: brightness(1.05); }
.pb-send:focus-visible { outline: 3px solid #9cc2ff; outline-offset: 3px; }
.pb-flash { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; }
.pb-flash.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #b7e4cb; }
.pb-flash.bad { background: #fde6e3; color: #a3261c; border: 1px solid #f6c3bd; }
.pb-dinding { display: flex; flex-direction: column; gap: 12px; }
.pb-bub { padding: 14px 16px; border-radius: 6px 20px 20px 20px; background: #fff; border: 1px solid #dce6fa; box-shadow: var(--shadow); min-width: 0; }
.pb-bub.kritik { border-left: 4px solid #e0573d; } .pb-bub.saran { border-left: 4px solid var(--blue); }
.pb-bub.request { border-left: 4px solid #8b5cf6; } .pb-bub.curhat { border-left: 4px solid var(--amber-c); }
.pb-bub-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.pb-bub-j { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: #eef4ff; color: var(--blue); }
.pb-bub-j i { font-style: normal; }
.pb-bub-u { font-size: 12px; font-weight: 700; color: var(--muted); }
.pb-bub-r { margin-left: auto; font-size: 20px; }
.pb-bub p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.pb-bub-f { color: var(--faint); font-size: 12px; }
.pb-bub-f b.st-selesai { color: var(--ok); } .pb-bub-f b.st-diproses { color: var(--warn); }
.pb-bub-b { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f3f7fe; font-size: 13px; color: #2a3a5c; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .pb-sr-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pb-pen { padding: 12px; gap: 12px; }
  .pb-pen-foto { width: 60px; height: 60px; border-radius: 16px; font-size: 20px; }
  .pb-qotd blockquote { font-size: 17px; }
  .pb-heat-c { font-size: 9.5px; }
  .pb-hero-sr .pb-hero-emo { font-size: 40px; }
  .pb-opt.rate > span { min-height: 60px; }
  .pb-opt.rate > span i { font-size: 23px; }
  .pb-hari-t { flex-wrap: wrap; }
}
