/* InvestorWakaf.com — warna brand: merah investorwakaf.com (#E00000 → #8B0000). Hijau/oranye hanya untuk penanda capaian. */
:root {
  --maroon: #c40c0c; --maroon-d: #8b0000; --maroon-50: #fdeceb; --red-hi: #e60000;
  --green: #1d5c3b; --green-2: #2f8a57; --green-50: #e9f4ee;
  --gold: #b8871b; --gold-50: #fbf3df;
  --blue: #2a5f8f; --blue-50: #e8f0f8;
  --bg: #f6f4ef; --card: #ffffff; --ink: #1d2124; --muted: #6b7075; --line: #e7e2d8; --line-2: #f0ece4;
  --radius: 12px; --shadow: 0 1px 2px rgba(30, 25, 15, .05), 0 4px 16px rgba(30, 25, 15, .04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 14.5px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; } h3 { font-size: 1.05rem; } h4 { font-size: .95rem; margin-top: 1.2em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
img { max-width: 100%; }
.muted { color: var(--muted); } .small { font-size: .85em; } .center { text-align: center; } .b { font-weight: 600; }
.inline { display: inline; } .row-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Kerangka */
.shell { display: flex; min-height: 100vh; background: linear-gradient(90deg, #7a0000 256px, var(--bg) 256px); }
.side { width: 256px; flex: 0 0 256px; background: linear-gradient(180deg, #c40c0c 0%, #9a0000 45%, #7a0000 100%); color: #fff2f2; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; gap: 10px; align-items: center; padding: 18px 18px 14px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand img.tile { background: #fff; border-radius: 10px; padding: 3px; }
.brand b { display: block; font-size: 1.05rem; letter-spacing: .01em; } .brand small { display: block; opacity: .7; font-size: .75rem; }
.side nav { padding: 8px 10px 16px; flex: 1; }
.nav-group { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; opacity: .55; padding: 14px 10px 6px; }
.side nav a { display: flex; align-items: center; gap: 10px; color: #fff2f2; padding: 8px 10px; border-radius: 8px; font-size: .9rem; opacity: .88; }
.side nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; opacity: 1; }
.side nav a.on { background: rgba(255,255,255,.14); opacity: 1; font-weight: 600; box-shadow: inset 3px 0 0 #fff; }
.side-foot { font-size: .72rem; opacity: .5; padding: 12px 18px 16px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(246,244,239,.92); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
.top h1 { font-size: 1.2rem; margin: 0; flex: 1; }
.top-logo { display: none; } .top-logo img { height: 32px; width: auto; display: block; }
.burger { display: none; border: 0; background: none; font-size: 1.4rem; cursor: pointer; }
.me { display: flex; align-items: center; gap: 12px; }
.me > a:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.me > a:first-child:hover { text-decoration: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-weight: 700; }
.me-name { line-height: 1.15; font-weight: 600; font-size: .88rem; } .me-name small { display: block; color: var(--muted); font-weight: 400; }
.content { padding: 22px 28px 40px; max-width: 1320px; width: 100%; }
.foot { margin-top: auto; padding: 16px 28px 22px; font-size: .78rem; color: var(--muted); display: grid; gap: 10px; }
.partners { display: inline-flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 12px; max-width: 100%; justify-self: start; }
.partners span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.partners img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.auth-form { flex-direction: column; gap: 28px; }
.partners-auth { align-self: center; width: 100%; max-width: 420px; align-items: center; }
.partners-auth img { height: auto; width: 100%; }
.preview-bar { background: var(--gold-50); border-bottom: 1px solid #ecd9a6; padding: 8px 28px; font-size: .88rem; }
.preview-bar.warn { background: var(--maroon-50); border-color: #efc9cf; }

/* ---------- Ikon (CSS mask sederhana via emoji fallback) */
.ic { width: 18px; text-align: center; font-style: normal; opacity: .9; }
.ic::before { font-size: .95rem; }
.ic-home::before { content: "◧"; } .ic-coin::before { content: "◎"; } .ic-doc::before { content: "▤"; } .ic-news::before { content: "✎"; }
.ic-gh::before { content: "⌂"; } .ic-chart::before { content: "▥"; } .ic-cycle::before { content: "↻"; } .ic-upload::before { content: "⇪"; }
.ic-users::before { content: "☺"; } .ic-build::before { content: "▦"; } .ic-pin::before { content: "⌖"; } .ic-pie::before { content: "◔"; }
.ic-shield::before { content: "⛉"; } .ic-gear::before { content: "⚙"; } .ic-refresh::before { content: "⟳"; } .ic-db::before { content: "⛁"; } .ic-list::before { content: "≡"; }

/* ---------- Kartu & grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card.narrow { max-width: 640px; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-h h3 { margin: 0; }
.grid-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.section-t { margin: 8px 0 12px; }
.hello { margin-bottom: 16px; } .hello h2 { margin-bottom: 2px; }

/* ---------- KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpis-3 { grid-template-columns: repeat(3, 1fr); } .kpis-4 { grid-template-columns: repeat(4, 1fr); }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.kpi-l { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.kpi-v { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.kpi-v-sm { font-size: 1.1rem; }
.kpi-s { font-size: .8rem; color: var(--muted); }
.kpi-accent { background: linear-gradient(135deg, var(--red-hi) 0%, var(--maroon-d) 100%); border-color: transparent; }
.kpi-accent .kpi-l, .kpi-accent .kpi-s { color: rgba(255,255,255,.78); } .kpi-accent .kpi-v { color: #fff; }
.kpi-accent .var { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Badge & selisih */
.badge { display: inline-block; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.b-green { background: var(--green-50); color: var(--green); } .b-maroon { background: var(--maroon-50); color: var(--maroon); }
.b-gold { background: var(--gold-50); color: #8a650f; } .b-blue { background: var(--blue-50); color: var(--blue); } .b-grey { background: #eeece7; color: #5d6166; }
.var { display: inline-block; font-size: .74rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.var-up { background: var(--green-50); color: var(--green); } .var-down { background: #fef1e2; color: #b45309; }
.var-eq { background: #eeece7; color: #5d6166; } .var-na { color: var(--muted); }

/* ---------- Tabel */
.table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fbfaf7; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tr:hover td { background: #fcfbf8; }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.tot td { font-weight: 700; border-top: 1px solid var(--line); background: #fbfaf7; }
.tbl-compact td, .tbl-compact th { padding: 6px 8px; }
.tbl-pa { font-size: .84rem; } .tbl-pa td { padding: 8px 8px; }
.tbl-pa thead tr:first-child th { text-align: center; border-bottom: 0; }
.tbl-pa thead tr:nth-child(2) th { text-align: right; font-size: .68rem; }
.tbl-pa td.b { color: var(--maroon-d); }
.tbl-pa th[colspan] { border-left: 1px solid var(--line-2); }
.row-plan td { color: #8b8f94; background: #fcfbf8; }
.actions { white-space: nowrap; text-align: right; }
.actions .small { margin-right: 8px; }

/* ---------- Tombol & form */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 9px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { text-decoration: none; border-color: #d4cdc0; background: #fdfcfa; }
.btn-primary { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-d); border-color: var(--maroon-d); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 10px; font-size: .8rem; border-radius: 7px; }
.btn-block { width: 100%; justify-content: center; padding: 11px; }
.btn-danger-ghost { background: transparent; color: var(--maroon); border-color: transparent; }
.btn-danger-ghost:hover { background: var(--maroon-50); }
.form label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 12px; }
.form h3 { margin-top: 18px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid #d9d3c7; border-radius: 9px; background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(196, 12, 12, .16); border-color: var(--maroon); }
input:disabled, select:disabled, textarea:disabled { background: #f4f2ed; color: #777; }
input[type=file] { margin-top: 6px; font-size: .85rem; }
.hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; }
.check input { margin-top: 3px; }
.req { color: var(--maroon); font-style: normal; }
.form-card { max-width: 920px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 14px; } .field.full { grid-column: 1 / -1; }
.field > label:not(.check) { margin-bottom: 0; }
.form-section { grid-column: 1 / -1; margin: 12px 0 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--maroon); }
.form-grid > .form-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prefix, .suffix { position: relative; }
.prefix input { padding-left: 36px; } .prefix::before { content: "Rp"; position: absolute; left: 11px; top: calc(50% + 2px); transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.suffix input { padding-right: 30px; } .suffix::after { content: "%"; position: absolute; right: 12px; top: calc(50% + 2px); transform: translateY(-50%); color: var(--muted); }
.form-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.file-now { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.file-now img { height: 56px; border-radius: 8px; border: 1px solid var(--line); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar p { margin: 0; flex: 1; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters select, .filters input { width: auto; margin: 0; min-width: 160px; padding: 7px 10px; }
.filters .check { margin: 0; }
.pager { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.pay-form { display: grid; grid-template-columns: 140px 1fr; gap: 6px; align-items: center; min-width: 360px; }
.pay-form input { margin: 0; padding: 6px 8px; font-size: .82rem; }
.pay-form input[type=text], .pay-form button { grid-column: span 1; }
.restore-form { display: flex; gap: 6px; align-items: center; }
.restore-form select, .restore-form input { width: auto; margin: 0; padding: 5px 8px; font-size: .8rem; }

/* ---------- Peringatan */
.alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .9rem; border: 1px solid; }
.alert-ok { background: var(--green-50); color: var(--green); border-color: #cde6d7; }
.alert-err { background: var(--maroon-50); color: var(--maroon-d); border-color: #efc9cf; }
.alert-info { background: var(--blue-50); color: #224d73; border-color: #cddcec; }
.empty { text-align: center; padding: 26px; color: var(--muted); }
.empty.big { padding: 60px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-ic { font-size: 2.4rem; margin-bottom: 8px; } .empty h2 { color: var(--ink); }

/* ---------- Grafik */
.chart-box { position: relative; height: 300px; }
.chart-donut { position: relative; height: 190px; width: 190px; flex: 0 0 190px; }
.legend { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.lg-plan { background: #d9d3c7; } .lg-act { background: var(--maroon); }
.split { display: flex; gap: 18px; align-items: center; }
.split table { flex: 1; }
.bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.bar span { display: block; height: 100%; background: var(--maroon); border-radius: 99px; }
.reserve { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--gold-50); display: grid; gap: 2px; }
.reserve b { font-size: 1.2rem; }

/* ---------- Tahap budidaya */
.stepper { list-style: none; display: flex; padding: 0; margin: 10px 0 12px; counter-reset: s; }
.stepper li { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); position: relative; padding-top: 18px; }
.stepper li span { position: absolute; top: 4px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #ddd7cb; z-index: 1; }
.stepper li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: #ddd7cb; }
.stepper li:first-child::before { display: none; }
.stepper li.done span, .stepper li.done::before, .stepper li.now::before { background: var(--maroon); }
.stepper li.now span { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-50); width: 13px; height: 13px; margin-left: -6px; top: 3px; }
.stepper li.now { color: var(--ink); font-weight: 700; }

/* ---------- Investor: kartu GH */
.gh-card .stepper li:not(.now) { font-size: 0; }
.gh-card .stepper li.now { font-size: .74rem; white-space: nowrap; }
.gh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.gh-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.gh-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,25,15,.08); }
.gh-card-top { display: flex; gap: 12px; } .gh-card-top > div:last-child { display: flex; flex-direction: column; }
.gh-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--maroon-50); display: grid; place-items: center; font-size: 1.8rem; flex: 0 0 64px; }
.gh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gh-card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); padding-top: 10px; font-size: .88rem; }
.gh-head { display: flex; gap: 20px; align-items: stretch; }
.gh-head-img { width: 220px; flex: 0 0 220px; border-radius: 10px; overflow: hidden; background: var(--maroon-50); display: grid; place-items: center; font-size: 3.4rem; min-height: 150px; }
.gh-head-img img { width: 100%; height: 100%; object-fit: cover; }
.gh-head-info { flex: 1; } .gh-head-info h2 { margin: 6px 0 2px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.facts > div { background: #fbfaf7; border: 1px solid var(--line-2); border-radius: 9px; padding: 8px 10px; }
.facts span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts b { font-variant-numeric: tabular-nums; }
.note { background: #fbfaf7; border-left: 3px solid var(--gold); padding: 8px 12px; border-radius: 6px; margin: 12px 0 0; font-size: .88rem; }

/* ---------- Kabar, dokumen, log */
.feed { list-style: none; padding: 0; margin: 0 0 14px; }
.feed li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.feed li img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.feed li div { display: flex; flex-direction: column; }
.posts { display: grid; gap: 14px; }
.post { display: flex; gap: 14px; }
.post img { width: 140px; height: 105px; object-fit: cover; border-radius: 10px; flex: 0 0 140px; }
.post h3, .post h4 { margin: 2px 0 6px; } .post p { margin: 0; color: #3a3f44; }
.posts-wide .post img { width: 220px; height: 160px; flex-basis: 220px; }
.docs { list-style: none; padding: 0; margin: 0; }
.docs li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.docs li > a:first-child { font-weight: 600; display: flex; gap: 6px; flex: 1 1 260px; }
.log { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.log li { padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.todo { list-style: none; padding: 0; margin: 0 0 8px; font-size: .88rem; }
.todo li { padding: 8px 10px; border-radius: 8px; background: var(--gold-50); margin-bottom: 6px; }
.todo li.warn { background: var(--maroon-50); } .todo li.ok { background: var(--green-50); }
.version-big { font-size: 2rem; font-weight: 800; color: var(--maroon); margin: 0; }
.update-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 10px 0; }
.update-box.new { border-color: #cde6d7; background: var(--green-50); }
.changelog { white-space: pre-wrap; background: #fbfaf7; border: 1px solid var(--line-2); padding: 10px; border-radius: 8px; max-height: 320px; overflow: auto; }
.code { white-space: pre-wrap; text-align: left; background: #fff; padding: 10px; border-radius: 8px; }
.steps { padding-left: 18px; }

/* ---------- Halaman masuk & pemasang */
body.auth { background: var(--bg); }
.auth-wrap { display: flex; min-height: 100vh; }
.auth-hero { flex: 1.1; background: radial-gradient(circle at 20% 15%, #ff1a1a 0%, #c40c0c 38%, #6d0000 100%); color: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; position: relative; overflow: hidden; }
.auth-hero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 2px, transparent 2px 26px); }
.auth-hero-in { max-width: 440px; position: relative; z-index: 1; }
.auth-logo { width: 300px; max-width: 80%; height: auto; display: block; }
.auth-logo.tile { width: 96px; background: #fff; border-radius: 16px; padding: 8px; }
.auth-hero h2 { font-size: 2.2rem; margin: 18px 0 4px; }
.auth-hero p { opacity: .85; font-size: 1.05rem; }
.auth-hero ul { padding-left: 18px; opacity: .92; line-height: 1.9; }
.auth-partners { margin-top: 28px; font-size: .8rem; opacity: .65; }
.auth-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-title { font-size: 1.5rem; }
.install { max-width: 760px; margin: 30px auto; padding: 0 16px; }
.install-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.install-head img { width: 150px; } .install-head h1 { margin: 0; font-size: 1.5rem; } .install-head p { margin: 0; }

/* ---------- Responsif */
@media (max-width: 1100px) { .grid-main { grid-template-columns: 1fr; } .kpis-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .stepper li:not(.now) { font-size: 0; } .stepper li.now { white-space: nowrap; }
  .shell { background: var(--bg); }
  .side { position: fixed; left: -270px; z-index: 30; transition: left .2s; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .side.open { left: 0; }
  .burger { display: block; } .top-logo { display: block; }
  .top { padding: 12px 16px; } .content { padding: 16px; }
  .me-name { display: none; }
  .grid-2, .form-grid, .grid2, .kpis-3 { grid-template-columns: 1fr; }
  .gh-head { flex-direction: column; } .gh-head-img { width: 100%; flex-basis: auto; height: 180px; }
  .split { flex-direction: column; }
  .auth-hero { display: none; }
  .post, .posts-wide .post { flex-direction: column; } .post img, .posts-wide .post img { width: 100%; height: 180px; flex-basis: auto; }
}
@media (max-width: 520px) { .kpis-4 { grid-template-columns: 1fr; } .kpi-v { font-size: 1.25rem; } .filters select, .filters input { min-width: 0; width: 100%; } }
@media print {
  .partners { display: none !important; }
  .side, .top, .toolbar, .noprint, .foot, .preview-bar { display: none !important; }
  .content { padding: 0; } .card, .kpi { box-shadow: none; break-inside: avoid; } body { background: #fff; }
}
