/* Tampilan web laporan Obonk. Warna aksen mengikuti merek outlet. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F5F4F1; color: #1C1B1A; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; }
.merek-obonk { --aksen: #C0232A; }
.merek-bebek { --aksen: #125A34; }
.isi { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kepala { background: #FFF; border-bottom: 3px solid var(--aksen); }
.kepala .isi { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { display: block; height: 50px; width: auto; }
.logo span { font-size: 14px; font-weight: 600; color: #5C5A55; }
.pengguna { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: #5C5A55; }
.tautan-tombol { min-height: 44px; padding: 0 14px; border: 1px solid #D5D1C8; border-radius: 8px; background: #FFF; color: #1C1B1A; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.pita { background: #FFF; border-bottom: 1px solid #E4E1DA; }
.pita .isi { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; color: #5C5A55; font-weight: 600; text-decoration: none; }
.tab[aria-current] { color: #1C1B1A; font-weight: 800; border-bottom-color: var(--aksen); }
.badan { padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.baris { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid #D5D1C8; border-radius: 999px; background: #FFF; color: #1C1B1A; font-size: 14px; font-weight: 600; text-decoration: none; }
.chip[aria-current] { background: #1C1B1A; border-color: #1C1B1A; color: #FFF; }
.kisi { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kisi-lebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.lentur { display: flex; flex-wrap: wrap; gap: 16px; }
.lentur > .utama { flex: 999 1 560px; min-width: 0; }
.lentur > .samping { flex: 1 1 280px; min-width: 0; }
.kartu { background: #FFF; border: 1px solid #E4E1DA; border-radius: 12px; padding: 20px; min-width: 0; }
.judul { margin: 0; font-size: 15px; font-weight: 700; }
.kecil { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #5C5A55; }
.label { margin: 0; font-size: 13px; font-weight: 600; color: #5C5A55; }
.angka { margin: 6px 0 4px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.angka-teks { margin: 6px 0 4px; font-size: 18px; line-height: 36px; font-weight: 700; color: #5C5A55; }
.naik { color: #1E7A46; font-weight: 700; }
.turun { color: #B3261E; font-weight: 700; }
.biasa { color: #5C5A55; font-weight: 600; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 16px; font-size: 13px; color: #5C5A55; }
.legenda span { display: flex; align-items: center; gap: 6px; }
.legenda i { width: 18px; height: 3px; border-radius: 2px; }
.warna-aksen { background: var(--aksen); }
.warna-abu { background: #8A8780; }
.grafik { position: relative; height: 220px; padding-left: 68px; padding-bottom: 26px; }
.plot { position: relative; width: 100%; height: 100%; touch-action: pan-y; }
.plot .grid { position: absolute; left: 0; right: 0; border-top: 1px solid #EEEBE5; }
.plot .sumbu { position: absolute; left: -68px; width: 60px; transform: translateY(-50%); text-align: right; font-size: 12px; color: #5C5A55; font-variant-numeric: tabular-nums; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot polyline { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.garis-aksen { stroke: var(--aksen); stroke-width: 2.5px; }
.garis-abu { stroke: #8A8780; stroke-width: 2px; }
.plot .x { position: absolute; left: 0; right: 0; bottom: -24px; display: flex; justify-content: space-between; font-size: 12px; color: #5C5A55; }
.plot .pandu { position: absolute; top: 0; bottom: 0; border-left: 1px solid #5C5A55; display: none; }
.plot .tip { position: absolute; top: -6px; transform: translateX(-50%); display: none; background: #1C1B1A; color: #FFF; border-radius: 8px; padding: 8px 12px; font-size: 13px; line-height: 1.5; white-space: nowrap; pointer-events: none; z-index: 2; }
.plot polyline.titik { stroke-width: 7px; }
.gulir { overflow-x: auto; margin-top: 12px; }
table.tabel { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tabel th { padding: 0 12px 10px 0; text-align: left; font-size: 12px; font-weight: 700; color: #5C5A55; white-space: nowrap; }
.tabel td { padding: 11px 12px 11px 0; border-top: 1px solid #EEEBE5; white-space: nowrap; }
.tabel .kanan { text-align: right; }
.tabel .tebal { font-weight: 700; }
.batang { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.batang div { flex: 1 1 auto; height: 10px; background: #F1EEE8; border-radius: 5px; }
.batang b { display: block; height: 10px; background: var(--aksen); border-radius: 5px; }
.batang span { width: 44px; text-align: right; }
table.peta { width: 100%; min-width: 460px; border-collapse: separate; border-spacing: 3px; font-size: 13px; font-variant-numeric: tabular-nums; }
.peta th { padding: 4px; font-size: 12px; font-weight: 700; color: #5C5A55; }
.peta td { padding: 9px 4px; border-radius: 5px; text-align: center; font-weight: 600; }
.daftar { margin: 12px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.55; }
.kolom6 { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 14px; }
.kolom6 > div { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.kolom6 i { display: block; width: 100%; max-width: 56px; background: #CFCBC2; border-radius: 4px 4px 0 0; }
.kolom6 > div:last-child i { background: var(--aksen); }
.kolom6 span { color: #5C5A55; }
.kosong { padding: 24px; text-align: center; color: #5C5A55; }
.formulir { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: end; margin-top: 12px; }
.formulir label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #5C5A55; }
.formulir input, .formulir select { min-height: 44px; padding: 0 12px; border: 1px solid #D5D1C8; border-radius: 8px; background: #FFF; color: #1C1B1A; font: inherit; }
.tombol { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--aksen); color: #FFF; font: inherit; font-weight: 700; cursor: pointer; }
.pesan { padding: 12px 16px; border-radius: 8px; background: #FBE9E9; color: #1C1B1A; font-size: 14px; }
.pesan-baik { background: #E7F2EC; }
.masuk { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.masuk .kartu { width: 100%; max-width: 420px; text-align: center; padding: 32px 24px; }
.masuk img { display: block; height: 72px; width: auto; margin: 0 auto 8px; }
.masuk .logo-dua { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.masuk h1 { margin: 16px 0 4px; font-size: 20px; }
.masuk .tombol-google { display: flex; justify-content: center; margin-top: 20px; min-height: 44px; }
@media (max-width: 480px) {
  .isi { padding-left: 16px; padding-right: 16px; }
  .logo img { height: 42px; }
  .angka { font-size: 26px; }
  .grafik { padding-left: 60px; }
  .plot .sumbu { left: -60px; width: 54px; }
}
