/* ==========================================================================
   Bee Smart English Course — stylesheet utama
   Warna mengikuti materi Bee Smart: navy + kuning madu, aksen hijau/oranye/biru
   per program. Mobile-first; tanpa framework agar ringan & cepat (SEO).
   ========================================================================== */

/* Font cadangan berukuran sama dengan Poppins (lebar & tinggi baris), agar saat Poppins selesai dimuat teks
   tidak melebar lalu mendorong isi halaman ke bawah (layout shift / CLS). Rasio diukur dari Poppins vs Arial. */
@font-face { font-family: "Poppins Fallback"; font-weight: 100 500; font-style: normal;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica"), local("Roboto");
  size-adjust: 111.8%; ascent-override: 93.9%; descent-override: 31.3%; line-gap-override: 8.9%; }
@font-face { font-family: "Poppins Fallback"; font-weight: 600 900; font-style: normal;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Neue Bold"), local("Helvetica Bold"), local("Roboto Bold");
  size-adjust: 108.2%; ascent-override: 97%; descent-override: 32.3%; line-gap-override: 9.2%; }

:root {
  --navy: #1B1F3B;
  --navy-2: #272C55;
  --navy-3: #3A4070;
  --honey: #F5B700;
  --honey-2: #FFCB2E;
  --honey-soft: #FFF3C4;
  --cream: #FFFBEF;
  --paper: #FFFFFF;
  --ink: #1E2235;
  --muted: #5D627A;
  --line: #ECE6D3;
  --line-2: #E3E5EE;
  --green: #2E9E5B;
  --green-soft: #E3F5EA;
  --orange: #D9771E;
  --orange-soft: #FDEBD9;
  --blue: #1F6391;
  --blue-soft: #E1EEF8;
  --red: #C93C3C;
  --red-soft: #FBE5E5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(27,31,59,.05), 0 4px 14px rgba(27,31,59,.07);
  --shadow-lg: 0 12px 32px rgba(27,31,59,.14);
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Skala ringkas: 1rem = 14px. Hampir semua ukuran memakai rem/em sehingga ikut mengecil. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 87.5%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .85em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--honey); color: var(--navy); padding: 10px 16px;
  border-radius: 10px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem }
.mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }
.flex { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .58em 1.1em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .9rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--honey); color: var(--navy); box-shadow: 0 3px 10px rgba(245,183,0,.3); }
.btn-primary:hover { background: var(--honey-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: #F6F7FB; }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: #25D366; color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: .36em .75em; font-size: .8rem; }
.btn-lg { padding: .75em 1.4em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Badge & chip ---------- */
.badge { display: inline-flex; align-items: center; gap: .3em; padding: .15em .6em; border-radius: 999px;
  font-size: .74rem; font-weight: 600; background: #EEF0F6; color: var(--navy-3); white-space: nowrap; }
.badge-honey { background: var(--honey-soft); color: #7A5A00; }
.badge-green { background: var(--green-soft); color: #1C6B3C; }
.badge-orange { background: var(--orange-soft); color: #94500F; }
.badge-blue { background: var(--blue-soft); color: #164A6D; }
.badge-red { background: var(--red-soft); color: #9A2525; }
.badge-navy { background: var(--navy); color: #fff; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #7A5C00; margin-bottom: .45rem; }

/* ==========================================================================
   WEBSITE PUBLIK
   ========================================================================== */
.promo-bar { background: var(--navy); color: #fff; font-size: .8rem; text-align: center; padding: .4rem 1rem; }
.promo-bar strong { color: var(--honey); }
.promo-bar a { color: var(--honey); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); flex-shrink: 0; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-name span { color: var(--honey); }
.brand-sub { font-size: .68rem; letter-spacing: .24em; font-weight: 600; color: #7A5C00; margin-top: 2px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .88rem; padding: .4rem .65rem; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--honey-soft); }
.main-nav .btn { margin-left: .4rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }
/* menu desktop di layar sedang: lebih rapat agar tetap satu baris (nav-long = ada menu Jadwal/Biaya) */
@media (max-width: 1180px) and (min-width: 1001px) { .main-nav a { padding: .4rem .5rem; font-size: .85rem; } }
@media (max-width: 1080px) and (min-width: 1001px) { .main-nav.nav-long a { padding: .35rem .32rem; font-size: .8rem; } }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 56px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 20px 1.5rem; gap: .25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s; max-height: calc(100vh - 56px); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform .2s ease, opacity .2s ease; }
  .main-nav a { padding: .65rem .9rem; font-size: .98rem; }
  .main-nav .btn { margin: .5rem 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% -10%, #FFE7A0 0%, transparent 60%),
  linear-gradient(180deg, var(--cream), #fff); padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(2rem, 4vw, 3.4rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.2rem; align-items: center; }
.hero h1 span { color: #C79200; position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .28em; background: var(--honey-soft); z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 1.02rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0; list-style: none; color: var(--navy-3); font-size: .88rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .4em; }
.hero-card { position: relative; background: var(--navy); color: #fff; border-radius: 20px; padding: 1.3rem; box-shadow: var(--shadow-lg); }
.hero-card::before, .hero-card::after { content: ""; position: absolute; width: 90px; height: 90px; border: 4px solid #6B5A1E;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.hero-card::before { top: -30px; right: -20px; background: var(--honey); border: 0; width: 70px; height: 70px; }
.hero-card::after { bottom: -26px; left: -24px; background: #F7D873; border: 0; width: 56px; height: 56px; }
.hero-card h2 { color: #fff; font-size: 1.02rem; margin-bottom: .75rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.stat { background: var(--navy-2); border-radius: 12px; padding: .75rem .85rem; }
.stat b { display: block; font-size: 1.5rem; color: var(--honey); line-height: 1.1; }
.stat span { font-size: .8rem; color: #C9CCE0; }
.hero-card .mini-report { margin-top: .7rem; background: #fff; color: var(--ink); border-radius: 12px; padding: .75rem .85rem; font-size: .84rem; }
.mini-report .row { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem 0; border-bottom: 1px dashed var(--line-2); }
.mini-report .row:last-child { border: 0; }
.mini-report .stars { color: var(--honey); letter-spacing: 1px; }
.up { color: var(--green); font-weight: 600; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; } .hero-card { max-width: 440px; } }

/* Sections */
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 1.6rem; text-align: center; }
.section-head p { color: var(--muted); font-size: .98rem; }
.section-navy .section-head p { color: #C9CCE0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 1.25rem;
  background: var(--honey-soft); margin-bottom: .65rem; }
.feature p { color: var(--muted); margin: 0; }

/* Metode BEE */
.bee-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: bee; }
.bee-step { background: var(--navy-2); border-radius: var(--radius); padding: 1.15rem; position: relative; overflow: hidden; }
.bee-step .letter { font-size: 2.5rem; font-weight: 800; color: var(--honey); line-height: 1; }
.bee-step h3 { margin: .4rem 0 .2rem; }
.bee-step .sub { color: var(--honey-2); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.bee-step p { color: #C9CCE0; margin: 0; }
@media (max-width: 820px) { .bee-method { grid-template-columns: 1fr; } }

/* Program cards */
.program-card { --c: var(--honey); display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.program-card .top { background: var(--c); color: #fff; padding: 1rem 1.15rem .9rem; position: relative; }
.program-card .top::after { content: ""; position: absolute; right: -18px; top: -18px; width: 90px; height: 90px; opacity: .18; background: #fff;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.program-card .top .icon { font-size: 1.5rem; }
.program-card .top h3 { color: #fff; font-size: 1.2rem; margin: .2rem 0 .05rem; }
.program-card .top p { margin: 0; opacity: .92; font-size: .86rem; }
.program-card .body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.program-card ul { list-style: none; padding: 0; margin: 0; }
.program-card li { padding: .2rem 0 .2rem 1.45rem; position: relative; font-size: .9rem; }
.program-card li::before { content: "🐝"; position: absolute; left: 0; font-size: .8rem; top: .28rem; }
.program-card .meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.program-card .price { margin-top: auto; display: flex; align-items: baseline; gap: .3rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.program-card .price b { font-size: 1.3rem; color: var(--navy); }
.program-card .actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Jalur belajar */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.path-step { text-align: center; padding: 0 1rem; position: relative; }
.path-step .dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.55rem; margin: 0 auto .75rem;
  background: #fff; border: 3px solid var(--c, var(--honey)); position: relative; z-index: 1; }
.path::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 4px; background: repeating-linear-gradient(90deg, var(--honey) 0 14px, transparent 14px 24px); }
.path-step p { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .path { grid-template-columns: 1fr; gap: 1.5rem; } .path::before { display: none; } }

/* Alur 60 menit */
.timeline { display: grid; grid-template-columns: 5fr 10fr 20fr 15fr 10fr; gap: 6px; margin-bottom: 1.25rem; }
.timeline div { height: 10px; border-radius: 99px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.flow-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .8rem; }
.flow-item b { display: block; color: var(--navy); }
.flow-item .min { font-size: .8rem; font-weight: 700; color: #7A5C00; }
.flow-item p { margin: .2rem 0 0; font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .timeline { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Tabel jadwal & harga */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FFFDF6; }
.slot-cell { display: flex; flex-direction: column; gap: .15rem; }
.slot-cell b { color: var(--navy); }
.dot-color { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .35em; vertical-align: middle; }
.seats { font-size: .78rem; }

.price-table td b { font-size: 1rem; }
.save { color: var(--green); font-weight: 600; font-size: .8rem; display: block; }

/* Rapor preview */
.report-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .ic { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--honey-soft); font-size: 1rem; }
.check-list b { display: block; color: var(--navy); }
.check-list span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .report-showcase { grid-template-columns: 1fr; } }

/* Testimoni */
.testi { background: #fff; border-radius: var(--radius); padding: 1.15rem; border: 1px solid var(--line); position: relative; }
.testi::before { content: "“"; position: absolute; top: -.2rem; right: .9rem; font-size: 3.8rem; color: var(--honey-soft); font-family: Georgia, serif; line-height: 1; }
.testi .rating { color: var(--honey); letter-spacing: 2px; }
.testi blockquote { margin: .4rem 0 .75rem; font-size: .93rem; }
.testi footer b { display: block; color: var(--navy); }
.testi footer span { color: var(--muted); font-size: .84rem; }

/* Langkah daftar */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; counter-reset: s; }
.steps li { list-style: none; background: #fff; border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--honey); color: var(--navy); font-weight: 800; margin-bottom: .55rem; font-size: .9rem; }
.steps b { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
ol.steps { padding: 0; margin: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1rem; margin-bottom: .5rem; }
.faq summary { cursor: pointer; padding: .75rem 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: #7A5C00; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 .85rem; color: var(--muted); font-size: .93rem; }
.faq details > div p:last-child { margin: 0; }

/* Posts */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--navy-3)); display: grid; place-items: center; font-size: 2.3rem; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post-card h3 { font-size: .98rem; margin: 0; }
.post-card p { color: var(--muted); font-size: .86rem; margin: 0; }
.post-card time { font-size: .8rem; color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 1.1rem 0; }
.article .content { font-size: 1rem; }
.article .content h2 { font-size: 1.25rem; margin-top: 1.4rem; }
.article .content h3 { margin-top: 1.4rem; }
.prose h2 { font-size: 1.15rem; margin-top: 1.1rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.breadcrumb a { color: var(--muted); }
.page-hero { background: linear-gradient(180deg, var(--cream), #fff); padding: clamp(1.5rem, 3.5vw, 2.4rem) 0 1rem; }
.page-hero p.lead { color: var(--muted); font-size: 1rem; max-width: 46em; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.tabs a { padding: .32rem .8rem; border-radius: 999px; text-decoration: none; color: var(--navy); border: 1px solid var(--line-2); font-size: .84rem; font-weight: 500; background: #fff; }
.tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; align-items: center; }

/* CTA */
.cta-band { background: var(--navy); border-radius: 20px; color: #fff; padding: clamp(1.3rem, 3.5vw, 2.3rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9CCE0; }
/* form di dalam pita navy: teks kembali gelap & di atas hiasan heksagon */
.cta-band .form-card { position: relative; z-index: 1; }
.cta-band .form-card p { color: var(--ink); }
.cta-band .form-card p.muted, .cta-band .form-card .muted { color: var(--muted); }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--honey); opacity: .14;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* Form */
.form-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.2rem; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .85rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .82rem; color: var(--navy); margin-bottom: .22rem; }
.field .help { font-size: .76rem; color: var(--muted); margin-top: .25rem; }
.field .errors, .errorlist { color: var(--red); font-size: .83rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; padding: .52rem .72rem; border-radius: 9px; border: 1.5px solid var(--line-2); font: 400 .92rem/1.4 var(--font);
  color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(245,183,0,.18); }
textarea.input { resize: vertical; min-height: 64px; }
.input-sm { padding: .36rem .55rem; font-size: .84rem; border-radius: 8px; }
.field.has-error .input, .field.has-error input, .field.has-error select { border-color: var(--red); }
.check-field { display: flex; gap: .55rem; align-items: flex-start; }
.check-field input { width: 16px; height: 16px; margin-top: .18rem; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; }

/* Kontak & peta */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 260px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; gap: .7rem; }
.contact-list .ic { flex: 0 0 36px; height: 36px; border-radius: 9px; background: var(--honey-soft); display: grid; place-items: center; font-size: 1.2rem; }

/* Footer */
.site-footer { background: var(--navy); color: #C9CCE0; padding: 2.4rem 0 1.1rem; margin-top: 0; font-size: .86rem; }
.site-footer a { color: #E8EAF5; text-decoration: none; }
.site-footer a:hover { color: var(--honey); }
.site-footer h2, .site-footer h3 { color: #fff; font-size: .92rem; margin-bottom: .6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-bottom { border-top: 1px solid var(--navy-3); margin-top: 1.6rem; padding-top: .9rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .76rem; }
.site-footer .brand { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 14px; bottom: 14px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 25px; height: 25px; fill: #fff; }

.notice { border-radius: var(--radius-sm); padding: .65rem .85rem; margin-bottom: .8rem; border: 1px solid; font-size: .92rem; }
.notice-success { background: var(--green-soft); border-color: #BDE5CC; color: #17532F; }
.notice-error { background: var(--red-soft); border-color: #F2C2C2; color: #7D1F1F; }
.notice-info { background: var(--blue-soft); border-color: #C2DBEE; color: #164A6D; }
.notice-warning { background: var(--honey-soft); border-color: #F5DD8A; color: #6E5200; }

/* ==========================================================================
   APLIKASI: DASHBOARD ADMIN & PORTAL
   ========================================================================== */
.app { background: #F5F6FA; min-height: 100vh; }
.app-shell { display: grid; grid-template-columns: 216px 1fr; min-height: 100vh; }
.sidebar { background: var(--navy); color: #C9CCE0; padding: .85rem .6rem 1.5rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { color: #fff; padding: .2rem .5rem .85rem; }
.sidebar .brand img { width: 30px; height: 30px; }
.sidebar .brand-name { font-size: 1rem; }
.side-group { margin-top: .8rem; }
.side-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: #8389AD; padding: 0 .75rem; margin-bottom: .3rem; }
.side-link { display: flex; align-items: center; gap: .55rem; padding: .42rem .65rem; border-radius: 8px; color: #DADDF0; text-decoration: none; font-size: .87rem; }
.side-link:hover { background: var(--navy-2); color: #fff; }
.side-link.active { background: var(--honey); color: var(--navy); font-weight: 600; }
.side-link .ico { width: 1.4em; text-align: center; }
.side-link .count { margin-left: auto; background: var(--red); color: #fff; border-radius: 99px; font-size: .72rem; padding: 0 .5em; font-weight: 700; }
.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: .8rem; padding: .5rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 30; }
.topbar .title { font-weight: 600; color: var(--navy); }
.topbar .user { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .84rem; line-height: 1.25; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--honey); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.15rem; }
.content { padding: 1.15rem 1.25rem; max-width: 1280px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .9rem; }
.page-head h1 { font-size: 1.32rem; margin: 0; }
.page-head p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.side-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .3rem; color: var(--navy); }
.side-toggle svg { width: 22px; height: 22px; }
.backdrop { display: none; }
@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  /* visibility: menu tertutup tidak bisa dijangkau Tab (sebelumnya ±20 link tak terlihat ikut difokus) */
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 240px; z-index: 80; transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  .sidebar.open { transform: none; visibility: visible; transition: transform .22s ease; }
  .backdrop.open { display: block; position: fixed; inset: 0; background: rgba(15,18,40,.45); z-index: 70; }
  .side-toggle { display: inline-flex; }
  .content { padding: .85rem; }
  .topbar { padding: .45rem .85rem; }
}

.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(27,31,59,.04); margin-bottom: 1rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem 1rem; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.panel-head h2 { font-size: .96rem; margin: 0; }
.panel-body { padding: 1rem; }
.panel-body.flush { padding: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1rem; }
.kpi { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .75rem .9rem; text-decoration: none; color: inherit; display: block; }
.kpi:hover { border-color: var(--honey); }
.kpi .label { font-size: .77rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.kpi .value { font-size: 1.42rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin-top: .1rem; }
.kpi .sub { font-size: .76rem; color: var(--muted); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kpis { grid-template-columns: 1fr 1fr; gap: .5rem; } .kpi .value { font-size: 1.22rem; } .kpi { padding: .6rem .7rem; } }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.cols-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 1100px) { .cols, .cols-even { grid-template-columns: minmax(0, 1fr); } }
.cols > *, .cols-even > * { min-width: 0; }

.dtable { width: 100%; border-collapse: collapse; font-size: .87rem; }
.dtable th { text-align: left; font-weight: 600; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .5rem .8rem; background: #FAFAFD; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.dtable td { padding: .5rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover td { background: #FCFCFE; }
.dtable a.row-link { color: var(--navy); font-weight: 600; text-decoration: none; }
.dtable a.row-link:hover { text-decoration: underline; }
.dtable .actions { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.empty { text-align: center; padding: 1.6rem 1rem; color: var(--muted); font-size: .9rem; }
.empty .big { font-size: 1.8rem; }

.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; padding: .6rem 1rem; border-bottom: 1px solid var(--line-2); }
.toolbar .input { width: auto; min-width: 140px; padding: .4rem .65rem; font-size: .85rem; }
.toolbar .search { flex: 1; min-width: 200px; }

.capacity { height: 6px; border-radius: 99px; background: #EEF0F6; overflow: hidden; min-width: 80px; }
.capacity > span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.capacity.warn > span { background: var(--honey); }
.capacity.full > span { background: var(--red); }

.def { display: grid; grid-template-columns: 130px 1fr; gap: .35rem .9rem; margin: 0; font-size: .88rem; }
.def dt { color: var(--muted); }
.def dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 480px) { .def { grid-template-columns: 1fr; } .def dt { margin-top: .4rem; } }

.form-panel .form-grid { gap: .75rem 1rem; }
.form-section-title { grid-column: 1 / -1; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #7A5C00; font-weight: 700; margin: .55rem 0 -.25rem; padding-top: .6rem; border-top: 1px dashed var(--line-2); }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; padding: .7rem 1rem; border-top: 1px solid var(--line-2); background: #FAFAFD; border-radius: 0 0 var(--radius) var(--radius); align-items: center; }
.form-actions .spacer { flex: 1; }
.cb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .3rem .8rem; list-style: none; padding: 0; margin: 0; }
.cb-list label { font-weight: 400; display: flex; gap: .4rem; align-items: center; color: var(--ink); }
.cb-list div, .field > div > div { display: flex; gap: .4rem; align-items: center; }

.credentials { background: var(--honey-soft); border: 2px dashed var(--honey); border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.credentials code { background: #fff; padding: .12em .45em; border-radius: 6px; font-size: .95rem; font-weight: 600; }

/* Absensi */
.att-row td { vertical-align: middle; }
.att-choices { display: flex; gap: .3rem; flex-wrap: nowrap; }
.att-choices label { display: inline-flex; }
.att-choices input { position: absolute; opacity: 0; pointer-events: none; }
.att-choices label > span { display: inline-grid; place-items: center; width: 32px; height: 28px; border-radius: 7px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .78rem; cursor: pointer; color: var(--muted); background: #fff; }
.att-choices input:checked + span.H { background: var(--green); border-color: var(--green); color: #fff; }
.att-choices input:checked + span.I { background: var(--blue); border-color: var(--blue); color: #fff; }
.att-choices input:checked + span.S { background: var(--orange); border-color: var(--orange); color: #fff; }
.att-choices input:checked + span.A { background: var(--red); border-color: var(--red); color: #fff; }
.att-choices input:focus-visible + span { outline: 3px solid var(--honey); }

/* Rapor (dokumen) */
.report { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; max-width: 900px; margin: 0 auto; }
.report-head { background: var(--navy); color: #fff; padding: 1rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.report-head h1, .report-head h2, .report-head .h { color: #fff; margin: 0; font-size: 1.18rem; font-weight: 700; line-height: 1.2; }
.report-head .sub { color: var(--honey); font-size: .78rem; font-weight: 600; }
.report-body { padding: 1rem 1.2rem; }
.report-section { margin-bottom: 1.15rem; }
.report-section h3 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7A5C00; border-bottom: 2px solid var(--honey-soft); padding-bottom: .3rem; margin-bottom: .65rem; }
.summary-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.tile { background: var(--cream); border-radius: 10px; padding: .6rem .5rem; text-align: center; border: 1px solid var(--line); }
.tile b { display: block; font-size: 1.25rem; color: var(--navy); line-height: 1.2; }
.tile span { font-size: .74rem; color: var(--muted); display: block; }
.tile small { font-size: .7rem; font-weight: 600; }
@media (max-width: 720px) { .summary-tiles { grid-template-columns: repeat(2, 1fr); } }
.skill-table td, .skill-table th { padding: .45rem .65rem; }
.stars { color: var(--honey); letter-spacing: 1px; font-size: .95rem; white-space: nowrap; }
.stars.prev { color: #B8BCD0; }
.trend { font-weight: 600; font-size: .8rem; white-space: nowrap; }
.trend.up { color: var(--green); } .trend.same { color: var(--blue); } .trend.down { color: var(--orange); } .trend.new { color: var(--muted); } .trend.muted { color: var(--muted); }
.can-do { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.can-do li { background: var(--green-soft); border-radius: 8px; padding: .42rem .7rem; font-size: .92rem; display: flex; gap: .55rem; }
.can-do li::before { content: "✓"; font-weight: 800; color: var(--green); }
.quote-box { background: var(--cream); border-left: 3px solid var(--honey); border-radius: 0 10px 10px 0; padding: .65rem .85rem; font-size: .93rem; }
.reco { display: inline-flex; gap: .45rem; align-items: center; padding: .42rem .8rem; border-radius: 10px; font-size: .9rem; background: var(--blue-soft); color: #164A6D; font-weight: 600; }
.reco.up { background: var(--green-soft); color: #17532F; }
.target-list, .home-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.target-list li, .home-list li { padding: .42rem .7rem; border-radius: 8px; background: #F6F7FB; font-size: .9rem; }
.score-chart { width: 100%; max-width: 500px; display: block; }
.score-chart .grid { stroke: #E8EAF2; stroke-width: 1; }
.score-chart .axis { font-size: 11px; fill: #8389A3; font-family: var(--font); }
.score-chart .bar { fill: #F7D873; }
.score-chart .bar.last { fill: var(--honey); }
.score-chart .val { font-size: 12px; font-weight: 700; fill: var(--navy); font-family: var(--font); }
.score-chart .trend { stroke: var(--navy); stroke-width: 2; stroke-dasharray: 4 4; }
.report-foot { border-top: 1px dashed var(--line-2); padding: .75rem 1.2rem; font-size: .76rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Portal */
.portal-top { background: var(--navy); color: #fff; }
.portal-top .wrap { display: flex; align-items: center; gap: .8rem; min-height: 52px; }
.portal-top .brand { color: #fff; }
.portal-top .brand img { width: 30px; height: 30px; }
.portal-nav { display: flex; gap: .2rem; margin-left: auto; align-items: center; }
.portal-nav a { color: #DADDF0; text-decoration: none; padding: .35rem .7rem; border-radius: 999px; font-size: .86rem; }
.portal-nav a:hover { background: var(--navy-2); color: #fff; }
.portal-nav a.active { background: var(--honey); color: var(--navy); font-weight: 600; }
.portal-hero { background: linear-gradient(180deg, var(--navy) 0, var(--navy) 60%, transparent 60%); padding: 1rem 0 0; }
.child-switch { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.child-switch a { display: inline-flex; gap: .4rem; align-items: center; padding: .25rem .75rem .25rem .25rem; border-radius: 999px; text-decoration: none; background: var(--navy-2); color: #fff; font-size: .84rem; white-space: nowrap; }
.child-switch a.active { background: #fff; color: var(--navy); font-weight: 600; }
.child-switch .avatar { width: 24px; height: 24px; font-size: .66rem; }
.portal-main { padding-bottom: 4.2rem; }
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .portal-nav { display: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line-2); z-index: 60; padding: .2rem .25rem calc(.2rem + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 0; font-size: .7rem; color: var(--muted); text-decoration: none; padding: .25rem 0; border-radius: 8px; }
  .bottom-nav a .ico { font-size: 1.1rem; line-height: 1.25; }
  .bottom-nav a.active { color: var(--navy); font-weight: 600; background: var(--honey-soft); }
}
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-item { display: flex; gap: .7rem; padding: .6rem 1rem; border-bottom: 1px solid var(--line-2); align-items: flex-start; text-decoration: none; color: inherit; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: #FCFCFE; }
.list-item .ic { flex: 0 0 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--honey-soft); font-size: 1rem; }
.list-item .date-box { flex: 0 0 46px; text-align: center; background: var(--navy); color: #fff; border-radius: 9px; padding: .28rem 0; line-height: 1.1; }
.list-item .date-box b { display: block; font-size: 1.2rem; color: var(--honey); }
.list-item .date-box span { font-size: .7rem; text-transform: uppercase; }
.list-item .t { font-weight: 600; color: var(--navy); }
.list-item .s { font-size: .8rem; color: var(--muted); }

/* Login */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { background: var(--navy); color: #fff; padding: 2.2rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side h2 { color: #fff; font-size: 1.6rem; }
.auth-side p { color: #C9CCE0; }
.auth-side::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: var(--honey); opacity: .15; clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.auth-main { display: grid; place-items: center; padding: 2rem 1.25rem; }
.auth-box { width: 100%; max-width: 360px; }
@media (max-width: 860px) { .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* Utilitas cetak: rapor rapi saat Print / Save PDF */
@media print {
  .no-print, .sidebar, .topbar, .portal-top, .bottom-nav, .subnav, .child-switch, .wa-float, .site-header, .site-footer, .promo-bar, .messages { display: none !important; }
  body, .app { background: #fff; }
  .app-shell { display: block; }
  /* Hanya halaman yang berisi rapor yang memakai tata letak cetak khusus (tanpa jarak tepi bawaan). */
  .main:has(.report-page), .content:has(.report-page), .portal-main:has(.report-page), main:has(.report-page) { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .report-page { page: report; }
  .report { border: 0; max-width: none; border-radius: 0; overflow: visible; }
  .report-page.is-hidden { display: block !important; }
  .report-page + .report-page { break-before: page; margin-top: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* Cetak / simpan PDF RAPOR (halaman bernama "report"): margin atas-bawah 0 agar browser tidak
   menambahkan tanggal, judul, dan URL di pojok halaman; jarak atas & catatan kaki dibuat oleh
   .print-frame. Halaman lain (tagihan, daftar) tetap memakai margin cetak bawaan browser. */
@page report { size: A4; margin: 0 12mm; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
@media (max-width: 640px) { .hide-sm { display: none; } }
@media (max-width: 480px) { .stat b { font-size: 1.3rem; } .hero-card { padding: 1rem; } }
.list-item .date-box { flex-basis: 50px; }
.list-item .date-box b { font-size: .92rem; }
@media (min-width: 981px) { .app-shell { background: linear-gradient(90deg, var(--navy) 216px, transparent 216px); } }
.show-xs { display: none; }
@media (max-width: 560px) {
  .hide-xs { display: none; }
  .show-xs { display: block; }
  .skill-table td, .skill-table th { padding: .55rem .5rem; }
  .skill-table .stars { font-size: .9rem; letter-spacing: 0; }
  .skill-table .trend { white-space: normal; font-size: .8rem; }
  .report-head, .report-body { padding-left: 1rem; padding-right: 1rem; }
}

/* Formulir trial: kakak/adik */
.siblings { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: .2rem .9rem; }
.siblings[open] { padding-bottom: .9rem; }
.siblings summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: .45rem 0; font-size: .86rem; }
.siblings .form-grid { margin-top: .3rem; }

/* Portal: pemilih anak */
.child-switch { align-items: center; }
.child-switch .switch-label { color: #8389AD; font-size: .8rem; white-space: nowrap; }
.child-switch a.current { box-shadow: inset 0 0 0 2px var(--honey); }
.child-switch a.dim { opacity: .75; }
.child-switch a small { font-size: .72rem; opacity: .85; }

/* Portal: kartu anak di beranda keluarga */
.family-card { overflow: hidden; }
.family-card.dim { opacity: .8; }
.family-card-head { text-decoration: none; color: inherit; }
.family-card-head:hover h2 { text-decoration: underline; }
.family-card-actions { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-2); }
.family-card-actions a { text-align: center; padding: .5rem .3rem; font-size: .82rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.family-card-actions a + a { border-left: 1px solid var(--line-2); }
.family-card-actions a:hover { background: var(--honey-soft); }

/* ==========================================================================
   Penyesuaian ringkas untuk HP
   ========================================================================== */
@media (max-width: 640px) {
  .section { padding: 1.6rem 0; }
  .section-head { margin-bottom: 1.1rem; }
  .card, .feature, .testi, .steps li, .bee-step { padding: .9rem; }
  .program-card .top { padding: .85rem 1rem .75rem; }
  .program-card .body { padding: .85rem 1rem 1rem; }
  .form-card { padding: 1rem; }
  .cta-band { border-radius: 16px; }
  .panel-head { padding: .6rem .8rem; }
  .panel-body { padding: .8rem; }
  .list-item { padding: .55rem .8rem; }
  .dtable td, .dtable th { padding-left: .6rem; padding-right: .6rem; }
  .page-head h1 { font-size: 1.18rem; }
  .report-head h2 { font-size: 1.05rem; }
  /* iPhone men-zoom halaman bila font kolom isian < 16px: kolom isian tetap 16px. */
  .input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
  .toolbar .input, .input-sm { font-size: 16px; }
}

/* ---------- Penilaian berbasis indikator ---------- */
.lvl { --c: #5D627A; display: inline-flex; align-items: center; justify-content: center; min-width: 2.3em; padding: .12em .45em; border-radius: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1.35; white-space: nowrap; color: var(--c); background: #F4F5F9; background: color-mix(in srgb, var(--c) 13%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); vertical-align: middle; }
.lvl-sm { font-size: .68rem; min-width: 0; padding: .04em .35em; }
.lvl-lg { font-size: .95rem; padding: .18em .55em; }
.tile .lvl-lg { font-size: 1.05rem; }
.lvl-none { --c: #8A8FA6; font-weight: 600; font-style: italic; }

.chip-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.chip-tab { display: inline-flex; gap: .35rem; align-items: center; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); text-decoration: none; font-size: .86rem; }
.chip-tab .small { background: #F1F2F7; border-radius: 999px; padding: 0 .45rem; }
.chip-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip-tab.active .small { background: var(--honey); color: var(--navy); }
.ind-group { border-bottom: 1px solid var(--line-2); }
.ind-group:last-child { border-bottom: 0; }
.ind-group-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .6rem 1rem; background: #FAFAFD; }
.ind-table { table-layout: fixed; width: 100%; }
.ind-table td, .ind-table th { vertical-align: top; }
.ind-table th:nth-child(2) { width: 70px; } .ind-table th:nth-child(3) { width: 70px; } .ind-table th:nth-child(4) { width: 76px; }
@media (max-width: 560px) { .ind-table th:nth-child(2) { width: 52px; } }
.dtable .num { text-align: right; white-space: nowrap; }
.muted-row td { opacity: .6; }
.ind-empty { padding: .5rem 1rem; margin: 0; }
.calc-steps { margin: 0 0 .6rem; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: .9rem; }

.rubric-summary { position: sticky; top: .5rem; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; background: var(--navy); color: #fff; border-radius: 10px; padding: .55rem .8rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.rubric-summary > div { display: flex; flex-direction: column; }
.rubric-summary .muted { color: #C9CCE0; font-size: .7rem; }
.rubric-summary b { font-size: 1.15rem; color: var(--honey); line-height: 1.3; }
.rubric-summary .lvl { font-size: .85rem; }
.rubric-legend { display: flex; flex-wrap: wrap; gap: .3rem .4rem; align-items: center; margin: 0 0 .6rem; }
.rubric-group { border: 1px solid var(--line-2); border-radius: 10px; padding: 0; margin: 0 0 .7rem; overflow: hidden; }
.rubric-group legend { float: left; width: 100%; padding: .5rem .8rem; background: #FAFAFD; font-weight: 700; font-size: .9rem; color: var(--navy); border-bottom: 1px solid var(--line-2); }
.rubric-group legend + * { clear: both; }
.rubric-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .5rem .8rem; border-bottom: 1px solid #F0F1F6; }
.rubric-row:last-child { border-bottom: 0; }
.rubric-text { font-size: .9rem; flex: 1 1 auto; min-width: 0; }
.lvl-choices { display: flex; gap: .25rem; flex: 0 0 auto; }
.lvl-choices label { display: inline-flex; position: relative; }
.lvl-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lvl-choices label > span { --c: #5D627A; display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 .35rem; border-radius: 7px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .76rem; cursor: pointer; color: var(--muted); background: #fff; }
.lvl-choices label > span.none { min-width: 30px; }
.lvl-choices input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.lvl-choices input:checked + span.none { background: #EEF0F5; color: var(--muted); border-color: #D5D8E3; }
.lvl-choices input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 1px; }
@media (max-width: 640px) {
  .rubric-summary { grid-template-columns: repeat(2, 1fr); top: 0; }
  .rubric-row { flex-direction: column; align-items: stretch; gap: .4rem; }
  .lvl-choices { justify-content: space-between; }
  .lvl-choices label { flex: 1 1 0; }
  .lvl-choices label > span, .lvl-choices label > span.none { width: 100%; min-width: 0; height: 34px; }
}
.check-list-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .35rem .9rem; padding: .55rem .7rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: .88rem; }

/* Rapor dua bahasa */
.report-tabs { display: flex; justify-content: center; gap: .35rem; margin: 0 auto .7rem; max-width: 900px; }
.report-tab { font: inherit; font-size: .88rem; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
.report-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.report-page + .report-page { margin-top: 1rem; }
.report-page.is-hidden { display: none; }
.report-meta { color: #C9CCE0; font-size: .85rem; margin-top: .25rem; }
.report-head-right { text-align: right; }
@media (max-width: 560px) { .report-head-right { text-align: left; } }
.tile-score small { display: block; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 720px) { .outcomes { grid-template-columns: 1fr; } }
.outcome-group { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; break-inside: avoid; }
.outcome-head { background: var(--cream); padding: .4rem .7rem; font-weight: 700; font-size: .84rem; color: var(--navy); border-bottom: 1px solid var(--line); }
.outcome-group ul { list-style: none; margin: 0; padding: 0; }
.outcome-group li { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; padding: .4rem .7rem; font-size: .86rem; border-bottom: 1px solid #F2F3F7; }
.outcome-group li:last-child { border-bottom: 0; }
.outcome-text { flex: 1 1 auto; }
.scale-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem; font-size: .84rem; }
.scale-legend li { display: flex; gap: .55rem; align-items: flex-start; }
.scale-legend .lvl { margin-top: .1rem; }
@media (max-width: 720px) { .scale-legend { grid-template-columns: 1fr; } }
.report-method p { margin-bottom: .5rem; }
.check-list-box label { font-weight: 400; margin: 0; }
.tile span.lvl { display: inline-flex; color: var(--c); font-size: inherit; }
.tile b .lvl-lg { font-size: 1.05rem; }

/* Ringkasan uang (tagihan): 3 kolom di layar lebar, bertumpuk rapi di HP */
.kpis.kpis-money { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis.kpis-money .value { font-size: 1.3rem; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .kpis.kpis-money { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .kpis.kpis-money .kpi { display: flex; justify-content: space-between; align-items: baseline; padding: .5rem .75rem; }
  .kpis.kpis-money .value { font-size: 1.05rem; margin: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Rapor: ringkasan, tabel aspek, bingkai cetak ---------- */
.print-frame { width: 100%; border-collapse: collapse; }
.print-frame > thead > tr > td, .print-frame > tfoot > tr > td, .print-frame > tbody > tr > td { padding: 0; border: 0; }
.print-gap { display: none; }
.summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .6rem; align-items: stretch; }
.score-card { --c: #8A8FA6; display: flex; gap: .85rem; align-items: center; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); border-left: 5px solid var(--c); }
.score-num { text-align: center; min-width: 4.2rem; }
.score-num b { display: block; font-size: 2.2rem; line-height: 1; color: var(--navy); }
.score-num span { font-size: .7rem; color: var(--muted); }
.score-info { display: grid; gap: .25rem; font-size: .86rem; min-width: 0; }
.score-info .trend { white-space: normal; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.stat-strip > div { padding: .6rem .75rem; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: center; }
.stat-strip > div:first-child { border-left: 0; }
.stat-strip dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-strip dd { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); }
.stat-strip dd b { font-size: 1.2rem; color: var(--navy); }
@media (max-width: 720px) { .summary { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .stat-strip { grid-template-columns: minmax(0, 1fr); } .stat-strip > div { border-left: 0; border-top: 1px solid var(--line-2); flex-direction: row; justify-content: space-between; align-items: baseline; } .stat-strip > div:first-child { border-top: 0; } }

.aspect-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .88rem; }
.aspect-table .c-aspect { width: 34%; } .aspect-table col.c-prev { width: 17%; } .aspect-table .c-now { width: 31%; } .aspect-table .c-trend { width: 18%; }
.aspect-table th { text-align: left; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: .4rem .5rem; border-bottom: 2px solid var(--line-2); }
.aspect-table td { padding: .45rem .5rem; border-bottom: 1px solid #EEF0F5; vertical-align: middle; }
.aspect-table tr:last-child td { border-bottom: 0; }
.aspect-table .a-name { font-weight: 600; color: var(--navy); }
.aspect-table td.c-prev { color: var(--muted); white-space: nowrap; }
.a-now { display: flex; align-items: center; gap: .45rem; }
.a-now b { min-width: 1.8em; text-align: right; color: var(--navy); }
.meter { flex: 1 1 auto; height: 7px; background: #EEF0F5; border-radius: 99px; overflow: hidden; min-width: 30px; }
.meter i { display: block; height: 100%; border-radius: 99px; }
.aspect-table .trend { white-space: normal; }
@media (max-width: 560px) {
  .aspect-table col.c-prev, .aspect-table .c-prev { display: none; }
  .aspect-table .c-aspect { width: 37%; } .aspect-table .c-now { width: 33%; } .aspect-table .c-trend { width: 30%; }
  .aspect-table { font-size: .82rem; } .aspect-table td, .aspect-table th { padding: .4rem .3rem; }
  .aspect-table th { font-size: .6rem; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .aspect-table .trend { white-space: nowrap; font-size: .74rem; }
  .a-now { gap: .3rem; } .a-now .meter { min-width: 18px; }
}

@media print {
  html:has(.report-page) { font-size: 12px; }
  body { font-size: 1rem; }
  .print-gap { display: block; height: 10mm; }
  .print-runner { display: flex; align-items: flex-end; justify-content: space-between; height: 9mm; font-size: 8pt; color: #8A8FA6; border-top: 1px solid #E3E5EE; padding-top: 1.5mm; }
  .report-head { border-radius: 10px; padding: .8rem 1rem; }
  .report-body { padding: .8rem 0 0; }
  .report-foot { padding: .6rem 0 0; }
  .report-section { break-inside: auto; margin-bottom: .9rem; }
  .report-section.keep, .summary, .score-card, .stat-strip, .aspect-table tr, .outcome-group, .can-do li, .target-list li,
  .home-list li, .scale-legend li, .quote-box, .reco, .score-chart { break-inside: avoid; }
  .report-section h3, .outcome-head { break-after: avoid; }
  .outcomes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-strip > div { border-top: 0; border-left: 1px solid var(--line-2); flex-direction: column; }
  .score-chart { max-width: 290px; }
  .runner-draft { color: var(--orange); }
  .report-foot { break-before: avoid; }
  .cols-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Audit E2E: link Akun di HP, ringkasan nilai tetap terlihat, tombol kecil mudah diketuk */
.top-account { display: none; }
@media (max-width: 760px) {  /* sama dengan saat menu atas portal disembunyikan */
  .top-account { display: inline-flex; margin-left: auto; }
  .top-account + .logout-form { margin-left: .4rem !important; }
}
@media (max-width: 640px) {
  .rubric-summary { top: 52px; }  /* di bawah topbar yang juga sticky */
  .btn-sm { min-height: 36px; padding: .45em .85em; }
}

/* ---------- Aksesibilitas (audit WCAG 2.2 AA) ---------- */
:root { --green-text: #1F7A45; --orange-text: #A85A12; }
/* Fokus dua warna: terlihat di latar terang (navy) maupun gelap (madu) */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 5px var(--honey); }
.input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.att-choices input:focus-visible + span, .lvl-choices input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 5px var(--honey); }
/* Kontras teks ≥ 4.5:1 */
.lvl { color: color-mix(in srgb, var(--c) 62%, #000); }
.tile span.lvl { color: color-mix(in srgb, var(--c) 62%, #000); }
.lvl-choices input:checked + span { background: color-mix(in srgb, var(--c) 72%, #000); border-color: color-mix(in srgb, var(--c) 72%, #000); }
.att-choices input:checked + span.H { background: var(--green-text); border-color: var(--green-text); }
.att-choices input:checked + span.S { background: var(--orange-text); border-color: var(--orange-text); }
.trend.up, .save { color: var(--green-text); } .trend.down { color: var(--orange-text); }
.btn-wa { color: #0B3D20; }
.sidebar .brand-sub, .portal-top .brand-sub, .site-footer .brand-sub { color: var(--honey); }
/* Ringkasan nilai selalu tepat di bawah topbar (semua lebar layar) */
.rubric-summary { top: 52px; }
legend { padding: 0; font-weight: 600; font-size: .86rem; margin-bottom: .3rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
h2.form-section-title { line-height: 1.4; }
.site-footer li a, .promo-bar a { display: inline-block; padding: .25rem 0; }
@media (max-width: 560px) {
  .aspect-table th { white-space: normal; overflow: visible; text-overflow: clip; font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .program-card:hover { transform: none !important; }
}
.auth-tagline { font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 .6rem; }
.h3-like { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.up { color: var(--green-text); }
.reco.up { color: #17532F; }
/* Badge warna program: latar digelapkan agar teks putih tetap ≥ 4.5:1 */
.badge-program { background: var(--navy); background: color-mix(in srgb, var(--pc, #1B1F3B) 72%, #000); color: #fff; }

/* ---------- Halaman & bagian metode TPR ---------- */
.tpr-hero { background: linear-gradient(180deg, var(--honey-soft), #fff); }
.tpr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.tpr-hero h1 .hl, .tpr-band h2 .hl { background: linear-gradient(transparent 60%, var(--honey) 60%); padding: 0 .1em; }
.tpr-demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tpr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .15rem; box-shadow: var(--shadow); }
.tpr-card .say { font-weight: 700; color: var(--navy); }
.tpr-card .act { font-size: 1.9rem; line-height: 1.2; }
.tpr-origin { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.tpr-quote { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.tpr-quote p { font-size: 1.05rem; color: #fff; margin: 0 0 .5rem; }
.tpr-quote .small { color: var(--honey); }
.tpr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; counter-reset: tpr; }
.tpr-steps li { background: var(--navy-2); border-radius: var(--radius); padding: 1rem; position: relative; counter-increment: tpr; }
.tpr-steps li::before { content: counter(tpr); position: absolute; top: .7rem; right: .9rem; font-weight: 800; font-size: 1.6rem; color: rgba(255,255,255,.12); }
.tpr-steps b { display: block; color: #fff; margin: .35rem 0 .25rem; }
.tpr-steps p { color: #C9CCE0; margin: 0; font-size: .9rem; }
.tpr-step-ic { font-size: 1.8rem; }
.tpr-program { --c: var(--honey); background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--c); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.tpr-program-head { display: flex; gap: .6rem; align-items: center; font-size: 1.6rem; }
.tpr-program-head b { display: block; font-size: 1rem; color: var(--navy); }
.tpr-program-head .small { display: block; font-size: .78rem; }
.tpr-program ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; flex: 1; }
.tpr-program li { display: flex; flex-direction: column; background: #FAFAFD; border-radius: 8px; padding: .45rem .6rem; }
.tpr-program .say { font-weight: 600; color: var(--navy); font-size: .9rem; }
.tpr-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.tpr-band .tpr-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
ul.tpr-examples { list-style: none; padding: 0; margin: .6rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .5rem; }
ul.tpr-examples li { display: flex; flex-direction: column; background: var(--honey-soft); border-radius: 8px; padding: .5rem .7rem; margin: 0; }
ul.tpr-examples .say { font-weight: 600; color: var(--navy); }
@media (max-width: 900px) {
  .tpr-hero-grid, .tpr-origin, .tpr-band { grid-template-columns: minmax(0, 1fr); }
  .tpr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .tpr-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kurikulum: level & topik ---------- */
.card-levels { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .1rem 0 .55rem; }
.lv-chip { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--navy); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff);
  border-radius: 999px; padding: .12rem .55rem; font-size: .78rem; font-weight: 600; }
.lv-arrow { color: var(--muted); font-size: .8rem; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; align-items: start; }
.lv-card { --c: var(--honey); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.lv-head { background: color-mix(in srgb, var(--c) 10%, #fff); border-bottom: 3px solid var(--c); padding: .85rem 1rem .75rem; }
.lv-head h3 { margin: .2rem 0 .15rem; font-size: 1.08rem; color: var(--navy); }
.lv-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.lv-step { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--c); border-radius: 999px; padding: .1rem .55rem; }
.lv-topics { list-style: none; margin: 0; padding: .35rem .5rem; counter-reset: none; }
.lv-topics li { margin: 0; border-bottom: 1px dashed var(--line-2); }
.lv-topics li:last-child { border-bottom: 0; }
.lv-topics summary { list-style: none; display: flex; align-items: center; gap: .6rem; padding: .55rem .4rem; cursor: pointer; border-radius: 8px; }
.lv-topics summary::-webkit-details-marker { display: none; }
.lv-topics summary:hover { background: #FAFAFD; }
.lv-topics summary:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.t-ic { flex: 0 0 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 10px; font-size: 1.15rem;
  background: color-mix(in srgb, var(--c) 12%, #fff); }
.t-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.t-name b { color: var(--navy); font-size: .93rem; }
.t-name span { color: var(--muted); font-size: .78rem; }
.t-no { flex: 0 0 auto; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, #fff); font-size: .9rem; }
.lv-topics summary .t-no::after { content: " ▾"; font-size: .7rem; color: var(--muted); }
.lv-topics details[open] summary .t-no::after { content: " ▴"; }
.t-body { padding: .1rem .5rem .8rem 3.1rem; font-size: .87rem; }
.t-body p { margin: .3rem 0; }
.t-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.t-tag { background: var(--honey-soft); color: var(--navy); border-radius: 6px; padding: .1rem .45rem; font-size: .76rem; font-weight: 600; }
.t-vocab { display: flex; flex-wrap: wrap; gap: .25rem; margin: .4rem 0; }
.t-vocab span { border: 1px solid var(--line-2); border-radius: 999px; padding: .05rem .5rem; font-size: .76rem; background: #fff; }
.t-say { color: var(--navy); font-style: italic; }
.t-project { background: #F3FAF5; border-radius: 8px; padding: .35rem .55rem; }
.lv-closing { margin: 0; padding: .6rem 1rem; background: #FAFAFD; border-top: 1px solid var(--line-2); font-size: .82rem; color: var(--muted); }
.curr-hero { background: linear-gradient(180deg, var(--honey-soft), #fff); }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; position: relative; }
.journey li { --c: var(--honey); margin: 0; position: relative; }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: 2.05rem; right: -.6rem; width: .6rem; border-top: 3px dotted var(--line-2); }
.journey a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--c); border-radius: var(--radius); padding: .75rem .4rem .7rem; height: 100%; box-shadow: var(--shadow); }
.journey a:hover { transform: translateY(-2px); }
.j-ic { font-size: 1.6rem; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); }
.j-step { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .2rem; }
.journey b { font-size: .9rem; color: var(--navy); }
.j-lv { font-weight: 700; color: var(--c); filter: brightness(.8); }
.j-aud { font-size: .74rem; color: var(--muted); }
.curr-program-head { --c: var(--honey); display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.curr-program-head .icon { font-size: 1.6rem; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--c) 15%, #fff); }
.curr-program-head h2 { margin: 0; }
.curr-program-head p { margin: 0; }
.curr-program-head > div { flex: 1; min-width: 200px; }
@media (max-width: 900px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey li:nth-child(3n)::after { display: none; }
}
@media (max-width: 520px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li::after { display: none; }
  .t-body { padding-left: .5rem; }
}

/* ---------- Kurikulum di dashboard & portal ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; align-items: start; }
.guide-grid .panel { margin: 0; }
.guide-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.guide-summary { font-size: 1.02rem; max-width: 70ch; }
.guide-mini { border: 1px dashed var(--line-2); border-radius: 10px; padding: .5rem .75rem; background: #FAFAFD; }
.guide-mini summary { cursor: pointer; font-weight: 600; }
.guide-mini-body { padding-top: .5rem; }
.curr-row { text-decoration: none; color: inherit; }
.curr-dot { flex: 0 0 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  border: 2px solid var(--line-2); color: var(--muted); background: #fff; }
.curr-row.done .curr-dot { background: var(--green, #2E9E5B); border-color: var(--green, #2E9E5B); color: #fff; }
.curr-row.current .curr-dot { background: var(--honey); border-color: var(--honey); color: var(--navy); }
.curr-row.current .t { font-weight: 700; }
.curr-row.next .t { color: var(--muted); }
@media print {
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid .panel, .guide-head { break-inside: avoid; }
}

/* karakter kelas (Playful • Curious • Cheerful) di bawah tagline halaman program */
.traits-line { margin: .25rem 0 0; font-weight: 600; color: var(--navy); letter-spacing: .01em; }

/* pengelompokan kelas: kemampuan + teman sekelas seusia */
.age-compare { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem 1.1rem; }
.age-compare-title { margin: 0 0 .7rem; font-weight: 600; color: var(--navy); }
.age-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.age-card { background: #FAFAFD; border-radius: 10px; padding: .8rem .9rem; }
.age-card ul { margin: .5rem 0 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: .92rem; }
.age-badge { display: inline-block; background: var(--honey-soft); color: var(--navy); font-weight: 700; font-size: .8rem;
  border-radius: 999px; padding: .15rem .65rem; }
.age-note { display: flex; gap: .7rem; align-items: flex-start; background: var(--honey-soft); border-radius: var(--radius);
  padding: .8rem 1rem; margin: 1rem 0 0; }
.age-note .ico { font-size: 1.4rem; line-height: 1.2; }
.age-note p { margin: 0; }
@media (max-width: 620px) { .age-compare-grid { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Kartu cerah warna solid (kartu program & kelompok kartu .cards-bright)
   Warna teks mengikuti kontras: --on = putih / navy (filter on_color, WCAG ≥ 4,5:1).
   ===================================================================== */
.program-card { background: var(--c); color: var(--on, #fff); border: 0; border-radius: 22px; padding: .5rem;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--c) 70%, #000); }
.program-card .top { background: transparent; color: var(--on, #fff); display: flex; align-items: flex-end;
  justify-content: space-between; gap: .5rem; min-height: 132px; padding: .85rem .8rem .5rem; overflow: hidden; }
.program-card .top::before { content: ""; position: absolute; right: -36px; bottom: -46px; width: 170px; height: 170px;
  border-radius: 50%; background: rgba(255, 255, 255, .18); }
.program-card .top::after { display: none; }
.program-card .top .txt { position: relative; align-self: flex-start; min-width: 0; }
.program-card .top h3 { color: var(--on, #fff); font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .15rem; }
.program-card .top p { color: var(--on, #fff); opacity: 1; font-size: .9rem; font-weight: 600; margin: 0; }
.program-card .art { position: relative; flex: 0 0 auto; }
.program-card .art span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; font-size: 3.3rem;
  background: rgba(255, 255, 255, .32); transform: rotate(-8deg); }
.program-card:hover .art span { transform: rotate(4deg) scale(1.05); transition: transform .2s ease; }
.program-card .body { background: #fff; color: var(--ink); border-radius: 16px; padding: 1rem 1rem 1.05rem; }
.program-card .lv-chip { background: color-mix(in srgb, var(--c) 14%, #fff); }

.cards-bright > * { --c: #1976D2; --on: #fff; }
.cards-bright > :nth-child(6n+2) { --c: #FB8C00; --on: #1B1F3B; }
.cards-bright > :nth-child(6n+3) { --c: #20A464; --on: #1B1F3B; }
.cards-bright > :nth-child(6n+4) { --c: #7C3AED; --on: #fff; }
.cards-bright > :nth-child(6n+5) { --c: #FFC531; --on: #1B1F3B; }
.cards-bright > :nth-child(6n+6) { --c: #D6336C; --on: #fff; }

.cards-bright > .feature { background: var(--c); color: var(--on); border: 0; border-radius: 20px; position: relative;
  overflow: hidden; padding: 1.15rem 1.15rem 4.9rem; box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--c) 80%, #000); }
.cards-bright > .feature::before { content: ""; position: absolute; right: -28px; bottom: -34px; width: 120px; height: 120px;
  border-radius: 50%; background: rgba(255, 255, 255, .2); }
.cards-bright > .feature h3 { color: var(--on); font-size: 1.12rem; font-weight: 800; margin: 0 0 .3rem; }
.cards-bright > .feature p { color: var(--on); }
.cards-bright > .feature .ico { position: absolute; right: .95rem; bottom: .85rem; width: 62px; height: 62px; margin: 0;
  border-radius: 50%; font-size: 2.1rem; background: rgba(255, 255, 255, .32); transform: rotate(-8deg); }

.cards-bright > .tpr-card { background: var(--c); color: var(--on); border: 0; border-radius: 18px; position: relative;
  overflow: hidden; box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--c) 80%, #000); }
.cards-bright > .tpr-card .say, .cards-bright > .tpr-card .small, .cards-bright > .tpr-card .muted { color: var(--on); }
.cards-bright > .tpr-card .small { font-weight: 600; }
.cards-bright > .tpr-card .act { font-size: 2.2rem; }

ol.steps.cards-bright > li { background: var(--c); color: var(--on); border: 0; border-radius: 18px;
  box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--c) 80%, #000); }
ol.steps.cards-bright > li::before { background: rgba(255, 255, 255, .9); color: #1B1F3B; }
ol.steps.cards-bright b, ol.steps.cards-bright span { color: var(--on); }

/* teks di atas warna program: ikuti kontras */
.lv-step { color: var(--on, #fff); }
.j-lv { color: color-mix(in srgb, var(--c) 55%, #000); filter: none; }
.badge-program { background: color-mix(in srgb, var(--pc, #1B1F3B) 55%, #000); }

@media (max-width: 620px) {
  .program-card .top { min-height: 116px; }
  .program-card .top h3 { font-size: 1.35rem; }
  .program-card .art span { width: 76px; height: 76px; font-size: 2.7rem; }
  .cards-bright > .feature { padding-bottom: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) { .program-card:hover .art span { transform: rotate(-8deg); } }

/* kartu program ringkas: tombol tetap di dasar kartu */
.program-card .actions { margin-top: auto; padding-top: .3rem; }

/* "Program lainnya" ringkas: tautan berwarna, bukan kartu program lengkap */
.other-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .8rem;
  max-width: 760px; margin: 1rem auto 0; }
.other-program { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 18px; text-decoration: none;
  background: var(--c); color: var(--on); box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--c) 80%, #000); }
.other-program:hover { transform: translateY(-2px); }
.other-program .ic { font-size: 1.8rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .3); flex: 0 0 auto; }
.other-program b { display: block; font-size: 1.08rem; color: var(--on); }
.other-program .small { display: block; color: var(--on); font-weight: 600; }
.other-program .go { margin-left: auto; font-size: 1.3rem; font-weight: 800; }
.tpr-origin { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* nomor legal di kartu "Resmi berizin" (Tentang Kami) */
.legal-ids { margin: .7rem 0 0; display: grid; gap: .15rem; font-size: .86rem; }
.legal-ids dt { font-weight: 700; opacity: 1; }
.legal-ids dd { margin: 0 0 .35rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .01em;
  overflow-wrap: anywhere; }

/* =====================================================================
   Portal orang tua — tata letak ringkas (mobile-first)
   ===================================================================== */
.page-narrow { max-width: 760px; margin: 0 auto; }
.hello { font-size: 1.35rem; margin: 0 0 .8rem; }
.go { color: var(--muted); font-weight: 600; }
.bottom-nav { grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 760px) { .bottom-nav { grid-template-columns: none; } }
.top-account { background: var(--navy-2); color: #fff; }
.top-account.active { background: var(--honey); color: var(--navy); }

/* kepala anak: satu baris, tanpa ID & jadwal panjang */
.kid-head { display: flex; gap: .75rem; align-items: center; margin: 0 0 .9rem; }
.kid-head .avatar-lg { width: 46px; height: 46px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pc, var(--honey)); }
.kid-head h1, .kid-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.25; display: block; text-decoration: none; }
.kid-name:hover { text-decoration: underline; }
.kid-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .82rem; color: var(--muted); margin-top: .2rem; }

.notice-link { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 500; }
.notice-link:hover { filter: brightness(.97); }

/* kartu "Kelas berikutnya" berwarna program */
.next-card { --c: var(--navy); --on: #fff; display: flex; align-items: flex-end; gap: .8rem; background: var(--c); color: var(--on);
  border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .75rem; box-shadow: var(--shadow); }
.next-label { font-size: .8rem; font-weight: 600; opacity: .9; }
.next-day { font-size: 1.35rem; font-weight: 700; line-height: 1.2; margin-top: .15rem; }
.next-time { font-size: .95rem; opacity: .95; }
.next-go { color: var(--c); background: var(--on); border-radius: 999px;
  padding: .4rem .85rem; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.next-go:hover { opacity: .92; }

/* PR terakhir */
.hw-card { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--honey);
  border-radius: 12px; padding: .75rem .9rem; margin-bottom: 1rem; text-decoration: none; color: inherit; }
.hw-card:hover { border-color: var(--honey); }
.hw-card .ic { font-size: 1.3rem; line-height: 1.2; }
.hw-label, .hw-topic { display: block; font-size: .78rem; color: var(--muted); }
.hw-text { display: block; color: var(--navy); font-size: 1rem; line-height: 1.35; margin: .1rem 0; }

/* angka besar */
.kstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kstat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem; padding: .8rem .4rem;
  text-decoration: none; color: inherit; min-width: 0; }
.kstat + .kstat { border-left: 1px solid var(--line-2); }
a.kstat:hover { background: #FCFCFE; }
.kstat-label { font-size: .76rem; color: var(--muted); }
.kstat-value { font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1.2; display: inline-flex; gap: .3rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.kstat-sub { font-size: .74rem; color: var(--muted); font-weight: 400; }
.kstats-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding: .65rem 1rem;
  border-top: 1px solid var(--line-2); text-decoration: none; color: inherit; margin: 0; }
a.kstats-foot:hover .go { color: var(--navy); }
.kstats-foot .reco { font-size: .84rem; padding: .3rem .65rem; }
.kstats-mini { border-top: 1px solid var(--line-2); }
.kstats-mini .kstat { padding: .6rem .3rem; }
.kstats-mini .kstat-value { font-size: 1.05rem; flex-direction: column; gap: 0; }
.kstats-mini .kstat-value .lvl { margin-top: .1rem; }
@media (max-width: 480px) { .kstat-value { font-size: 1.3rem; } }

/* perjalanan belajar: langkah topik */
.topic-steps { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; align-items: center; }
.topic-steps li { flex: 1; display: flex; align-items: center; }
.topic-steps li:not(:last-child)::after { content: ""; flex: 1; height: 3px; background: var(--line-2); margin: 0 .2rem; border-radius: 2px; }
.topic-steps li.done:not(:last-child)::after { background: var(--c, var(--green)); }
.topic-steps li:last-child { flex: 0 0 auto; }
.topic-steps .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: #F1F2F7; color: var(--muted); flex: 0 0 auto; }
.topic-steps .done .dot { background: var(--c, var(--green)); color: #fff; }
.topic-steps .current .dot { background: var(--honey); color: var(--navy); box-shadow: 0 0 0 4px var(--honey-soft); }
.now-topic { display: grid; gap: .45rem; justify-items: start; }
.now-title { font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.now-title .muted { font-weight: 400; font-size: .88rem; }
.home-idea { background: var(--cream); border-radius: 10px; padding: .6rem .75rem; font-size: .9rem; width: 100%; }
.all-topics { margin-top: .8rem; font-size: .88rem; }
.all-topics summary, .more-list summary, .report-fold summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .85rem; }
.all-topics ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .3rem; }
.all-topics li.current { font-weight: 600; }
.more-list summary { padding: .7rem 1rem; border-top: 1px solid var(--line-2); }
.more-list[open] summary { border-bottom: 1px solid var(--line-2); }
.list-item .hw { font-size: .86rem; margin-top: .15rem; }

/* beranda keluarga */
.family-grid { gap: .9rem; }
.family-card { overflow: hidden; margin-bottom: 0; }
.family-card-head { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; background: var(--c); color: var(--on); text-decoration: none; }
.family-card-head h2 { color: var(--on); font-size: 1.12rem; margin: 0; }
.family-card-head .avatar-lg { width: 46px; height: 46px; background: #fff; color: var(--navy); }
.family-card-head .go { color: var(--on); font-size: 1.2rem; }
.family-sub { font-size: .82rem; opacity: .92; }
.family-flags { display: flex; gap: .35rem; flex-wrap: wrap; padding: .55rem 1rem 0; }
.family-card-head:hover h2 { text-decoration: underline; }
@media (max-width: 720px) { .family-grid { grid-template-columns: 1fr; } }

/* jadwal */
.next-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.next-date { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .55rem .3rem; border-radius: 12px;
  background: #F6F7FB; font-size: .76rem; color: var(--muted); }
.next-date b { font-size: 1.05rem; color: var(--navy); }
.next-date.first { background: var(--c); color: var(--on); }
.next-date.first b { color: var(--on); }

/* daftar rapor */
.score-box { --c: var(--navy); flex: 0 0 52px; height: 52px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 2px solid color-mix(in srgb, var(--c) 55%, #fff); color: var(--navy); line-height: 1.05; }
.score-box b { font-size: 1.2rem; }
.score-box span { font-size: .68rem; font-weight: 700; }
.report-item { align-items: center; }
.report-item .badge { margin-top: .25rem; }
.report-fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: .2rem 0; }
.report-fold > summary::-webkit-details-marker { display: none; }
.report-fold > summary h3 { flex: 1; margin-bottom: 0; }
.report-fold > summary::after { content: "Lihat ▾"; font-size: .76rem; margin-left: .6rem; }
.report-fold[open] > summary::after { content: "Tutup ▴"; }
.report-fold[open] > summary h3 { margin-bottom: .65rem; }

/* tagihan */
.pay-due { display: flex; align-items: center; gap: .8rem; background: var(--navy); color: #fff; border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.pay-label { font-size: .8rem; opacity: .85; }
.pay-total { font-size: 1.7rem; font-weight: 700; color: var(--honey); line-height: 1.2; }
.pay-sub { font-size: .8rem; opacity: .85; }
.pay-how { padding: .75rem 1rem; border-top: 1px solid var(--line-2); background: #FCFCFE; border-radius: 0 0 var(--radius) var(--radius);
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pay-how p { flex-basis: 100%; }
.inv { align-items: center; }
.inv-amt { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; text-align: right; white-space: nowrap; }
.inv-amt b { color: var(--navy); }

@media print {
  .report-fold > summary::after { content: none; }
}

/* Batas hero ↔ bagian berikutnya (beranda): hero krem sampai bawah lalu ditutup lengkungan putih,
   bagian TPR berdiri sendiri sebagai panel. */
.hero { background:
  radial-gradient(1200px 500px at 85% -10%, #FFE7A0 0%, transparent 60%),
  linear-gradient(180deg, var(--cream), #FFF4D2);
  padding-bottom: clamp(3.2rem, 7vw, 5.2rem); }
.hero > .wrap { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 4.5vw, 64px); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 34C180 6 420 2 720 26s560 34 720 6v32H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.section-after-hero { padding-top: clamp(1.2rem, 3vw, 2rem); }
.tpr-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(27,31,59,.04), 0 12px 32px rgba(27,31,59,.06); }
.tpr-panel h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.tpr-panel .tpr-card { padding: .7rem .85rem; }
.tpr-panel .tpr-card .act { font-size: 1.6rem; }

/* Logo Bee Smart (gambar) — lebih spesifik dari aturan lama ".brand img" (ikon 34px) */
.brand img.brand-logo { display: block; height: 52px; width: auto; }
.brand:has(.brand-logo) { gap: 0; }
.site-footer .brand img.brand-logo { height: 56px; }
.sidebar .brand img.brand-logo { height: 40px; }
.portal-top .brand img.brand-logo { height: 38px; }
.auth-page .brand img.brand-logo { height: 54px; }
@media (max-width: 600px) { .site-header .brand img.brand-logo { height: 42px; } .portal-top .brand img.brand-logo { height: 32px; } }

/* Lebah kecil terbang (gambar diam, dekorasi) di setiap pembatas antarbagian website, berganti sisi kiri/kanan */
#konten > section + section { position: relative; }
#konten > section + section::before { content: ""; position: absolute; top: 0; left: max(10px, calc(50% - 650px));
  width: 88px; height: 43px; transform: translateY(-50%) rotate(-4deg); z-index: 2; pointer-events: none;
  background: url("../img/bee-fly.83141371cbd3.svg") center / contain no-repeat; }
#konten > section + section:nth-of-type(odd)::before { left: auto; right: max(10px, calc(50% - 650px)); transform: translateY(-50%) scaleX(-1) rotate(-4deg); }
@media (max-width: 600px) { #konten > section + section::before { width: 60px; height: 29px; } }
@media print { #konten > section + section::before { display: none; } }
/* Bagian lanjutan (langsung menyambung judul halaman / kartu CTA, tanpa batas terlihat): tanpa lebah */
#konten > section.section-cont::before { content: none; }
