/* Kalkulator PPh 29 Dokter Mitra — design system (tema hijau sesuai mockup) */
:root {
  --green-900: #0b4a3d;
  --green-800: #0d5e4c;
  --green-700: #0f7a5c;
  --green: #12895f;          /* primary */
  --green-600: #17a06f;
  --green-100: #e6f5ee;
  --green-50: #f1faf5;
  --navy: #12395A;
  --surface: #f4f6f8;
  --border: #e1e7ec;
  --text: #1d2a35;
  --muted: #64748b;
  --amber-bg: #fff7e6;
  --amber-bd: #f2b84b;
  --amber-fg: #a35a00;
  --chip-amber: #fbc531;
  --due-bg: #fff4e5;  --due-fg: #9a4b00;
  --nil-bg: #e7f6ee;  --nil-fg: #136c3a;
  --over-bg: #e8f1fc; --over-fg: #0f5aa6;
  --sidebar-w: 260px;
  --radius: .75rem;
}

body { background: var(--surface); color: var(--text); font-size: .93rem; }
a { color: var(--green-700); }
:focus-visible { outline: 3px solid #ffbf47 !important; outline-offset: 2px; }
.bi { line-height: 1; vertical-align: -.125em; }

/* ---------- Layout ---------- */
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar {
  width: var(--sidebar-w); flex-shrink: 0; color: #e3f4ec;
  background: linear-gradient(180deg, #0f6b45 0%, #0d5e40 50%, #0b5238 100%);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1030;
  display: flex; flex-direction: column;
}
.app-sidebar .brand { display: flex; gap: .75rem; align-items: center; padding: 1.4rem 1.2rem 1.3rem; border-bottom: 1px solid rgba(255,255,255,.12); margin: 0 .6rem; }
.app-sidebar .brand-ico {
  width: 46px; height: 46px; border-radius: .7rem; background: #fff; color: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0;
}
.app-sidebar .brand-logo { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,.25); background: #fff; }
.app-sidebar .brand .brand-name { font-size: 1.25rem; line-height: 1.2; }
.app-sidebar .brand-center { flex-direction: column; text-align: center; gap: .45rem; padding: 1.3rem .8rem 1.2rem; }
.app-sidebar .brand-center .brand-logo { width: 72px; height: 72px; }
.app-sidebar .brand-center strong { font-size: 1.15rem; line-height: 1.2; }
.app-sidebar .brand-pill { display: inline-block; background: linear-gradient(90deg, #f6d36b, #e9b730); color: #2b2100; font-size: .74rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.app-sidebar .brand small { display: block; color: #fff; font-size: .9rem; font-weight: 800; }
.app-sidebar .brand strong { color: #fff; font-size: .95rem; font-weight: 800; line-height: 1.2; display: block; }
.app-sidebar nav { padding: 1rem .7rem; }
.app-sidebar .nav-section { padding: 1.1rem .7rem .4rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: #a7d3c2; }
.app-sidebar .nav-link {
  color: #f0faf5; padding: .62rem .8rem; border-radius: .6rem; display: flex; gap: .75rem; align-items: center;
  font-weight: 500; margin-bottom: .2rem;
}
.app-sidebar .nav-link .bi { font-size: 1.1rem; width: 1.2rem; text-align: center; }
.app-sidebar .nav-link:hover { background: rgba(255,255,255,.09); color: #fff; }
.app-sidebar .nav-link.active { background: linear-gradient(90deg, #ffffff 0%, #e3f5ea 55%, #bfe7cf 100%); color: #0b4a2e; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.85); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.app-sidebar .nav-link.active .bi { color: #0f6b3a; }
.app-sidebar .sidebar-foot { margin-top: auto; padding: 120px 1rem 1rem; position: relative;
  background: url("../img/sidebar-wave.png") center top / 100% 140px no-repeat; }
.app-sidebar .sidebar-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px;
  background: linear-gradient(180deg, #0d5e40, rgba(13,94,64,0)); }
.app-sidebar .user-box { position: relative; background: rgba(0,0,0,.12); border: 1px solid rgba(255,255,255,.25); border-radius: .8rem; padding: .7rem .8rem; font-size: .8rem; }
.app-sidebar .user-ava { width: 38px; height: 38px; border-radius: 50%; background: #e8f6ee; color: #0f6b3a; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.app-sidebar .user-role { color: #d6efe1; }
.app-sidebar .user-box .btn { color: #fff; border-color: rgba(255,255,255,.35); }
.app-sidebar .user-box .btn:hover { background: rgba(255,255,255,.12); }
.app-sidebar .disclaimer { color: #a7d3c2; font-size: .72rem; margin-top: .6rem; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mobile-bar { display: none; background: var(--green-800); color: #fff; padding: .55rem 1rem; align-items: center; gap: .6rem; position: sticky; top: 0; z-index: 1020; }
.mobile-bar .btn { color: #fff; border-color: rgba(255,255,255,.4); }
.app-content { padding: 1.4rem 1.6rem 2rem; max-width: 1400px; width: 100%; }

@media (max-width: 1023.98px) {
  .app-sidebar { position: fixed; left: 0; transform: translateX(-100%); transition: transform .2s; }
  .app-sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.35); }
  .mobile-bar { display: flex; }
  .app-content { padding: 1rem; }
}

/* ---------- Page header ---------- */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.page-head .title-wrap { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.head-ico {
  width: 48px; height: 48px; border-radius: .7rem; background: var(--green-100); color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.65rem; flex-shrink: 0;
}
.page-title { font-size: 1.55rem; font-weight: 800; color: var(--text); margin: 0; line-height: 1.2; }
.page-sub { color: var(--muted); margin-bottom: 1.1rem; }
.page-head .page-sub { margin: .1rem 0 0; }
.page-head .badges { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .35rem; border-radius: .5rem; padding: .35rem .75rem; font-size: .82rem; font-weight: 700; border: 1px solid transparent; }
.pill-gray { background: #6b7785; color: #fff; }
.pill-amber { background: #fdeaa7; color: #6b4b00; }
.pill-demo { background: #fff4cc; color: #6b4b00; border: 1.5px dashed #e2b33c; }
.pill-green { background: var(--green-100); color: var(--green-800); }
.pill-red { background: #fde3e3; color: #a51d1d; }
.pill-blue { background: #e2eefc; color: #0f5aa6; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-ghost:hover { background: var(--green-50); border-color: var(--green-600); color: var(--green-800); }

/* ---------- Stepper (chevron) ---------- */
.stepper { display: flex; gap: .55rem; list-style: none; padding: 0; margin: 0 0 1.2rem; flex-wrap: wrap; }
.stepper li { flex: 1 1 0; min-width: 170px; }
.stepper a {
  position: relative; display: flex; align-items: center; gap: .7rem; padding: .78rem 1.6rem .78rem 1.1rem; height: 100%;
  background: #fff; color: var(--text); text-decoration: none; font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 0 0);
  border-radius: .6rem 0 0 .6rem; box-shadow: inset 0 0 0 1px var(--border);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.05));
}
.stepper li:not(:first-child) a { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 14px 50%); padding-left: 1.8rem; border-radius: 0; }
.stepper .num {
  width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #eef1f4; color: var(--text); font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.stepper .step-ico { font-size: 1.25rem; color: var(--green-700); }
.stepper .current a { background: linear-gradient(90deg, var(--green-700), var(--green)); color: #fff; box-shadow: none; }
.stepper .current .step-ico { color: #fff; font-size: 1.3rem; }
.stepper .done .num { background: var(--green-100); color: var(--green-800); }
.stepper .done .num::before { content: "\2713"; }
.stepper .done .num span { display: none; }
@media (max-width: 767.98px) {
  .stepper li { min-width: calc(50% - .3rem); }
  .stepper a, .stepper li:not(:first-child) a { clip-path: none; border-radius: .6rem; padding: .65rem .8rem; }
}

/* ---------- Cards ---------- */
.card { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(15,40,30,.05); }
.card-header { background: #fff; border-bottom: 1px solid var(--border); font-weight: 700; padding: .9rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0 !important; }
.card-title-lg { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 800; color: var(--text); margin: 0; }
.card-title-lg .bi { color: var(--green-700); font-size: 1.25rem; }
.card-body { padding: 1.1rem 1.25rem; }
.card-footer { border-top: 1px solid var(--border); padding: .9rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius) !important; }

/* KPI */
.kpi { padding: 1rem 1.1rem; display: flex; gap: .9rem; align-items: center; }
.kpi .kpi-ico { width: 44px; height: 44px; border-radius: .6rem; background: var(--green-100); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.kpi .label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi .value { font-size: 1.55rem; font-weight: 800; color: var(--text); line-height: 1.1; }

/* ---------- Forms ---------- */
.form-label { font-weight: 700; font-size: .87rem; color: var(--text); margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem; }
.form-label > .bi { color: var(--green-700); }
.form-text { font-size: .78rem; color: var(--muted); }
.req::after { content: " *"; color: #d0302f; }
.form-control, .form-select { border-color: #d7dee4; border-radius: .5rem; padding: .55rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--green-600); box-shadow: 0 0 0 .2rem rgba(23,160,111,.18); }
.form-control[readonly] { background: #f7f9fa; }
.input-icon { position: relative; }
.input-icon > .bi { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #6b7785; pointer-events: none; font-size: 1rem; z-index: 4; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.4rem; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(23,160,111,.2); border-color: var(--green-600); }
.form-check-input { width: 1.15em; height: 1.15em; }
.consent-box { background: var(--green-50); border: 1px solid #cfeadc; border-radius: .6rem; padding: .9rem 1rem; display: flex; gap: .8rem; }
.consent-box .form-check-input { width: 1.4em; height: 1.4em; margin-top: .1rem; flex-shrink: 0; }
.preview-box { background: var(--green-50); border: 1px dashed var(--green-600); border-radius: .5rem; padding: .75rem 1rem; }
.upload-row { display: flex; gap: .5rem; align-items: stretch; flex-wrap: wrap; }
.upload-row .form-control { flex: 1 1 160px; min-width: 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: .55rem; font-weight: 600; }
.btn-primary, .btn-teal { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover, .btn-teal:hover, .btn-primary:focus, .btn-teal:focus { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.btn-primary:disabled, .btn-teal:disabled { background: #8cc9b0; border-color: #8cc9b0; }
.btn-outline-primary { color: var(--green-700); border-color: var(--green); }
.btn-outline-primary:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-lg-soft { padding: .6rem 1.2rem; }
.text-navy, .text-green { color: var(--green-800) !important; }

/* ---------- Money / tables ---------- */
.money { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
td.money, th.money { text-align: right; }
.table > :not(caption) > * > * { padding: .6rem .7rem; }
.table thead th { background: #f3f7f5; color: var(--green-900); font-weight: 700; font-size: .8rem; border-bottom-color: var(--border); }

/* ---------- Result ---------- */
.hero-result { border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.hero-result .amount { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.result-due { background: var(--due-bg) !important; color: var(--due-fg) !important; }
.result-nil { background: var(--nil-bg) !important; color: var(--nil-fg) !important; }
.result-over { background: var(--over-bg) !important; color: var(--over-fg) !important; }
.status-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.status-chips .chip { border: 1px solid var(--border); border-radius: 999px; padding: .25rem .8rem; font-size: .82rem; color: var(--muted); background: #fff; }
.status-chips .chip.on { font-weight: 700; border-width: 2px; }
.status-chips .chip.on.result-due { border-color: var(--due-fg); }
.status-chips .chip.on.result-nil { border-color: var(--nil-fg); }
.status-chips .chip.on.result-over { border-color: var(--over-fg); }
.calc-table td:first-child { color: var(--muted); }
.calc-table tr.total td { font-weight: 800; border-top: 2px solid var(--green-800); color: var(--green-900); }
.badge-demo { background: #fff4cc; color: #6b4b00; border: 1px dashed #e2b33c; }
.badge-projection { background: #fdeaa7; color: #6b4b00; }

/* ---------- Validation panel ---------- */
.val-head { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 800; margin-bottom: .8rem; }
.val-head .bi { font-size: 1.35rem; }
.val-chips { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: .9rem; }
.val-chip { display: inline-flex; align-items: center; gap: .35rem; border-radius: .45rem; padding: .3rem .65rem; font-size: .8rem; font-weight: 700; }
.val-chip.err { background: #e5383b; color: #fff; }
.val-chip.blk { background: var(--chip-amber); color: #3d2c00; }
.val-chip.wrn { background: #eceff2; color: #3a4652; }
.validation-list { list-style: none; padding: 0; margin: 0; }
.validation-list li { padding: .65rem .85rem; border-left: 4px solid; border-radius: .4rem; margin-bottom: .55rem; font-size: .88rem; line-height: 1.45; }
.validation-list .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: .82rem; margin-right: .35rem; }
.validation-list .sev { font-weight: 800; }
.validation-list li.sev-ERROR { border-color: #d0302f; background: #fdeeee; }
.validation-list li.sev-ERROR .code { color: #b42318; }
.validation-list li.sev-BLOCK_APPROVAL { border-color: var(--amber-bd); background: var(--amber-bg); }
.validation-list li.sev-BLOCK_APPROVAL .code { color: var(--amber-fg); }
.validation-list li.sev-WARNING { border-color: #f5cf74; background: #fffaf0; }
.validation-list li.sev-WARNING .code { color: #6b5a2b; }
.validation-list li.sev-INFO { border-color: #b7d4f5; background: #f2f7fd; }
.info-card .val-head .bi { color: #1f6fd1; }
.info-card .validation-list li { border-left: 0; background: #f2f6fb; }
.info-card .validation-list .code { color: var(--text); display: block; margin-bottom: .15rem; }

/* ---------- Login (Mey dan Rekan) ---------- */
.login-page { background: linear-gradient(120deg, #eef5fb 0%, #e9f2f9 55%, #e4eef7 100%); }
.login-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-hero { position: relative; overflow: hidden; }
.login-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.login-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 2rem; }
.login-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.login-brand img { width: 92px; height: auto; mix-blend-mode: multiply; }
.login-brand .name { font-size: 2.4rem; font-weight: 800; color: #0f6b3a; line-height: 1; letter-spacing: -.01em; }
.login-brand .tag { font-size: 1.15rem; font-weight: 500; color: #1d2a35; margin-top: .2rem; }
.login-panel { width: 100%; max-width: 560px; background: #fff; border-radius: 1.4rem; padding: 2rem 2.4rem 1.6rem;
  box-shadow: 0 18px 50px rgba(30,70,110,.12); }
.login-title { text-align: center; font-size: 2rem; font-weight: 800; color: #111; margin-bottom: .5rem; }
.login-title span { color: #128a3c; }
.login-lead { text-align: center; color: #2b3640; margin: 0 auto 1.4rem; max-width: 440px; line-height: 1.45; }
.login-field { position: relative; margin-bottom: .9rem; }
.login-field > .bi { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: #4a5562; pointer-events: none; }
.login-field .form-control { height: 3.4rem; padding-left: 3.3rem; border: 1.5px solid #d6dde4; border-radius: .9rem; font-size: 1.05rem; }
.login-field .form-control:focus { border-color: #1a9a4a; box-shadow: 0 0 0 .2rem rgba(26,154,74,.15); }
.login-field .toggle-pass { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .35rem .5rem; font-size: 1.3rem; color: #4a5562; }
.login-field input[type=password], .login-field input[name=password] { padding-right: 3.2rem; }
.login-row .form-check-input { width: 1.3em; height: 1.3em; }
.login-row .form-check-input:checked { background-color: #128a3c; border-color: #128a3c; }
.login-link { color: #128a3c; font-weight: 700; text-decoration: none; }
.login-link:hover { text-decoration: underline; }
.btn-login { height: 3.4rem; border-radius: .9rem; border: 0; color: #fff; font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(90deg, #1f9a3e 0%, #138a3a 50%, #0c6e33 100%); box-shadow: 0 6px 16px rgba(18,120,60,.25); }
.btn-login:hover, .btn-login:focus { color: #fff; filter: brightness(1.07); }
.btn-login .bi, .btn-register .bi { margin-right: .4rem; }
.login-sep { display: flex; align-items: center; gap: 1rem; margin: 1.1rem 0 .9rem; color: #2b3640; }
.login-sep::before, .login-sep::after { content: ""; flex: 1; height: 1px; background: #d6dde4; }
.btn-register { height: 3.4rem; display: flex; align-items: center; justify-content: center; border: 1.5px solid #128a3c; border-radius: .9rem;
  color: #0f6b3a; font-size: 1.2rem; font-weight: 700; background: #fff; }
.btn-register:hover { background: #f0faf3; color: #0c5c31; border-color: #0c6e33; }
.login-wa { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: .9rem;
  background: #eef7f0; color: #1d2a35; text-decoration: none; }
.login-wa:hover { background: #e2f2e6; color: #111; }
.login-wa .wa-ico { font-size: 1.6rem; color: #25d366; }
.login-wa strong { margin-right: .3rem; }
.login-dev { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid #e3e8ed; font-size: .9rem; }
.login-dev .label { color: #2b3640; }
.login-dev img { width: 64px; height: 64px; border-radius: 50%; }
.login-dev .dev-name { display: flex; flex-direction: column; font-weight: 800; line-height: 1.1; font-size: 1.05rem; }
.login-dev .dev-name span:first-child { color: #0b4a2e; }
.login-dev .dev-name span:last-child { color: #c08a12; }
.login-dev .dev-sep { width: 1px; height: 28px; background: #2b3640; }
.login-dev a { color: #0f6b3a; font-weight: 600; text-decoration: underline; }

@media (max-width: 991.98px) {
  .login-split { grid-template-columns: 1fr; }
  .login-hero { display: none; }
  .login-side { padding: 1.5rem 1rem; }
}
@media (max-width: 575.98px) {
  .login-brand .name { font-size: 1.7rem; }
  .login-brand .tag { font-size: .95rem; }
  .login-brand img { width: 64px; }
  .login-panel { padding: 1.5rem 1.1rem 1.2rem; border-radius: 1.1rem; }
  .login-title { font-size: 1.5rem; }
  .login-wa { font-size: .88rem; }
}

/* ---------- Dashboard ---------- */
.app-disclaimer { color: var(--muted); font-size: .82rem; margin: 1.2rem 0 0; display: flex; gap: .5rem; align-items: center; }
.app-disclaimer .bi { color: #94a3b8; font-size: 1rem; }
.dash-hero { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: -1.4rem -1.6rem 1rem; padding: 1.4rem 1.6rem 0; min-height: 150px; overflow: hidden;
  background: linear-gradient(90deg, #f4f6f8 0%, #f1f6f4 60%, #e7f3ee 100%); }
.dash-hero-text { position: relative; z-index: 1; max-width: 860px; }
.dash-title { font-size: 2.1rem; font-weight: 800; color: #0f3d2a; margin: 0 0 .7rem; display: inline-block; position: relative; padding-bottom: .45rem; }
.dash-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #d9a521, #f2cf62); }
.dash-sub { color: #2b3640; font-size: 1rem; line-height: 1.55; margin: 0; }
.dash-hero-art { position: absolute; right: 0; top: 0; height: 100%; max-height: 165px; width: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }

.kpi-card { position: relative; overflow: hidden; display: flex; gap: 1.1rem; align-items: center; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 1rem 1.1rem; box-shadow: 0 4px 14px rgba(15,40,30,.06); }
.kpi-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 80px; border-radius: 50%; opacity: .55; transform: rotate(-18deg); }
.kpi-card .kpi-ico { width: 64px; height: 64px; border-radius: .9rem; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.kpi-card .kpi-label { font-size: 1rem; color: #2b3640; font-weight: 500; }
.kpi-card .kpi-value { font-size: 2rem; font-weight: 800; color: #111; line-height: 1.1; }
.tone-green .kpi-ico { background: #e3f4ea; color: #148a4c; }  .kpi-card.tone-green::after { background: linear-gradient(90deg, #d6f0e0, #9fdcb7); }
.tone-amber .kpi-ico { background: #fdf0d7; color: #e2a21a; }  .kpi-card.tone-amber::after { background: linear-gradient(90deg, #fdeccd, #f6cf7b); }
.tone-blue .kpi-ico  { background: #e2f3fc; color: #1a8fd0; }  .kpi-card.tone-blue::after  { background: linear-gradient(90deg, #d9effb, #93d4f3); }
.tone-mint .kpi-ico  { background: #e1f6e7; color: #22a54e; }  .kpi-card.tone-mint::after  { background: linear-gradient(90deg, #dcf5e3, #9ee3b2); }
.kpi-card.tone-green { background: linear-gradient(135deg, #fff 60%, #f3faf6); }
.kpi-card.tone-amber { background: linear-gradient(135deg, #fff 60%, #fffaf0); }
.kpi-card.tone-blue  { background: linear-gradient(135deg, #fff 60%, #f3faff); }
.kpi-card.tone-mint  { background: linear-gradient(135deg, #fff 60%, #f3fbf5); }

.dash-card { border-radius: 1rem; box-shadow: 0 4px 14px rgba(15,40,30,.05); }
.dash-card > .card-body { padding: 1.3rem 1.4rem; }
.dash-card-title { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; font-weight: 800; color: #111; margin-bottom: 1rem; }
.dash-card-title .bi { color: #148a4c; font-size: 1.45rem; }
@media (min-width: 992px) { .dash-chart-col { border-right: 1px solid var(--border); } }

.bar-chart { display: flex; gap: .6rem; height: 190px; padding-right: 1rem; }
.bar-axis { display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 44px); color: #475569; font-size: .85rem; padding-top: 0; }
.bar-plot { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; border-left: 1px solid #cbd5df;
  background: linear-gradient(#e5eaef 1px, transparent 1px) 0 0 / 100% calc((100% - 44px) / 2); }
.bar-col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bar-track { position: relative; flex: 1; width: 100%; max-width: 90px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 2px solid #9fd9b4; }
.bar-val { font-weight: 700; margin-bottom: .3rem; }
.bar { display: block; width: 100%; border-radius: .2rem .2rem 0 0; min-height: 0; }
.bar.tone-green { background: linear-gradient(180deg, #2cb36a, #128a4c); }
.bar.tone-amber { background: linear-gradient(180deg, #f6c64f, #e9a619); }
.bar.tone-blue  { background: linear-gradient(180deg, #6fd0f5, #2fa9de); }
.bar.tone-mint  { background: linear-gradient(180deg, #8de3a6, #43c06b); }
.bar-label { height: 44px; padding-top: .45rem; font-size: .85rem; text-align: center; line-height: 1.15; color: #1d2a35; }

.donut { width: 180px; height: 180px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.donut-hole { width: 128px; height: 128px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; color: #1d2a35; }
.donut-hole strong { font-size: 1.9rem; font-weight: 800; color: #111; }
.donut-legend h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .7rem; }
.donut-legend ul { list-style: none; padding: 0; margin: 0; }
.donut-legend li { display: flex; align-items: center; gap: .7rem; padding: .25rem 0; font-size: .98rem; }
.donut-legend .sw { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0; }
.donut-legend .lg-label { min-width: 170px; }
.donut-legend .lg-val { margin-left: auto; font-variant-numeric: tabular-nums; }

.btn-dash-primary { background: linear-gradient(90deg, #138a3a, #0c6e33); color: #fff; border: 0; padding: .55rem 1.1rem; border-radius: .6rem; font-weight: 700; }
.btn-dash-primary:hover, .btn-dash-primary:focus { color: #fff; filter: brightness(1.08); }
.dash-table thead th { background: #e9f5ee; color: #111; font-size: .95rem; font-weight: 700; border: 0; padding: .8rem 1rem; }
.dash-table thead th:first-child { border-radius: .6rem 0 0 .6rem; }
.dash-table thead th:last-child { border-radius: 0 .6rem .6rem 0; }
.dash-table td { padding: .8rem 1rem; font-size: .98rem; }
.dash-table .money-c { font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-cell { display: inline-flex; align-items: center; gap: .8rem; }
.doc-ava { width: 40px; height: 40px; border-radius: .6rem; background: #e9f5ee; color: #148a4c; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.soft-pill { display: inline-block; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.soft-pill.result-due { background: #fdf0d7 !important; color: #9a5b00 !important; }
.soft-pill.result-nil { background: #e2f6e9 !important; color: #136c3a !important; }
.soft-pill.result-over { background: #e2eefc !important; color: #0f5aa6 !important; }
.soft-pill.secondary, .soft-pill.st-secondary { background: #eef1f4; color: #475569; }
.soft-pill.st-info { background: #6fd3f7; color: #06374d; }
.soft-pill.st-warning { background: #fde8a8; color: #6b4b00; }
.soft-pill.st-danger { background: #fde3e3; color: #a51d1d; }
.soft-pill.st-success { background: #d3f3dd; color: #136c3a; }
.soft-pill.st-primary { background: #dff2e8; color: #0f6b3a; }
.soft-pill.st-dark { background: #475569; color: #fff; }
.btn-open { border: 1.5px solid #138a3a; color: #0f6b3a; background: #fff; padding: .35rem 1.3rem; border-radius: .6rem; font-weight: 600; }
.btn-open:hover { background: #138a3a; color: #fff; }
.workflow-card .card-body { font-size: .98rem; line-height: 1.6; color: #2b3640; }
.wf-ico { width: 56px; height: 56px; border-radius: .9rem; background: #e3f4ea; color: #148a4c; display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; }

/* ---------- Wizard (Profil & langkah lain) ---------- */
.page-head .head-ico { width: 52px; height: 52px; border-radius: .8rem; background: #e3f4ea; color: #148a4c; }
.page-head .page-title { font-size: 1.9rem; color: #111; }
.page-head .page-sub .text-body { color: #111 !important; }
.pill { border-radius: .55rem; padding: .45rem .85rem; }
.pill-blue { background: #dcecff; color: #1559b3; }
.pill-amber { background: #fde68a; color: #6b4b00; }
.pill-demo { background: #fff4cc; color: #6b4b00; border: 1.5px dashed #e2b33c; }
.pill-gray { background: #eef1f4; color: #3a4652; }
.btn-history { background: #fff; border: 1px solid var(--border); border-radius: .6rem; padding: .45rem .9rem; box-shadow: 0 2px 6px rgba(0,0,0,.06); }

.stepper { gap: .4rem; }
.stepper a { font-size: 1rem; padding: .95rem 1.8rem .95rem 1.3rem; color: #3a4652; box-shadow: none; filter: drop-shadow(0 2px 4px rgba(15,40,30,.08)); border-radius: .8rem 0 0 .8rem; }
.stepper li:not(:first-child) a { padding-left: 2rem; }
.stepper li:last-child a { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); border-radius: 0 .8rem .8rem 0; }
.stepper .step-ico { color: #148a4c; font-size: 1.35rem; }
.stepper .current a { background: linear-gradient(90deg, #0c6e33, #138a3a); color: #fff; font-weight: 700; }
.stepper .done a { color: #0f6b3a; }
@media (max-width: 767.98px) { .stepper li:last-child a { clip-path: none; border-radius: .6rem; } }

.wiz-card { border-radius: 1rem; box-shadow: 0 4px 14px rgba(15,40,30,.05); }
.wiz-card > .card-body { padding: 1.3rem 1.4rem; }
.wiz-title { position: relative; display: flex; align-items: center; gap: .65rem; font-size: 1.2rem; font-weight: 800; color: #111;
  padding-bottom: .75rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.wiz-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 3px; border-radius: 3px; background: #f2b01e; }
.wiz-title .bi { color: #148a4c; font-size: 1.4rem; }
.wiz-title-lg { font-size: 1.45rem; }
.wiz-card .form-label { font-weight: 800; color: #111; }
.wiz-card .form-label > .bi { color: #148a4c; }
.wiz-card .form-control, .wiz-card .form-select { height: 2.75rem; border-radius: .6rem; }
.wiz-card .form-control[readonly], .wiz-card .form-select:disabled { background: #f3f5f7; }
.wiz-card .form-check-input:checked { background-color: #148a4c; border-color: #148a4c; }
.wiz-card .consent-box { background: #edf8f1; border-color: #cfeadc; padding: 1rem 1.1rem; border-radius: .8rem; }
.wiz-card .card-footer { background: #fff; border-top: 1px solid var(--border); margin: 0 1.4rem; padding: 1rem 0 1.2rem; }
.btn-wiz-outline { border: 1.5px solid #138a3a; color: #0f6b3a; background: #fff; padding: .6rem 1.4rem; border-radius: .6rem; font-weight: 700; font-size: 1.02rem; }
.btn-wiz-outline:hover { background: #f0faf3; color: #0c5c31; }
.btn-wiz-primary { background: linear-gradient(90deg, #138a3a, #0c6e33); color: #fff; border: 0; padding: .65rem 1.6rem; border-radius: .6rem; font-weight: 700; font-size: 1.02rem; }
.btn-wiz-primary:hover, .btn-wiz-primary:focus { color: #fff; filter: brightness(1.08); }

.dropzone { border: 1.5px dashed #b6c0ca; border-radius: .8rem; padding: 1rem; text-align: center; background: #fff; transition: background .15s, border-color .15s; }
.dropzone.is-over { background: #f0faf3; border-color: #148a4c; }
.dropzone .dz-ico { font-size: 1.9rem; color: #5b6876; display: block; }
.dropzone .dz-text { color: #5b6876; margin: .2rem 0 .5rem; line-height: 1.3; }
.btn-dz { border: 1.5px solid #138a3a; color: #0f6b3a; background: #fff; border-radius: .55rem; font-weight: 700; padding: .4rem 1.2rem; }
.btn-dz:hover { background: #138a3a; color: #fff; }

.val-chips { gap: .5rem; }
.val-chip { border-radius: .6rem; padding: .45rem .9rem; font-size: .88rem; }
.val-chip.err { background: #f05252; }
.val-chip.blk { background: #fcd34d; color: #3d2c00; }
.val-chip.wrn { background: #eef1f4; color: #1d2a35; }
.validation-list li { border-left-width: 3px; border-radius: .5rem; padding: .6rem .8rem; }
.validation-list li.sev-BLOCK_APPROVAL, .validation-list li.sev-WARNING { border-color: #f2b01e; background: #fff8e6; }
.validation-list li.sev-BLOCK_APPROVAL .code, .validation-list li.sev-WARNING .code { color: #8a5a00; }
.validation-list .code { margin-right: .7rem; font-family: inherit; font-size: .85rem; letter-spacing: .02em; }
.info-card .wiz-title .bi { color: #1a6fd6; }
.info-card .validation-list li { background: #f1f4f8; border-radius: .6rem; padding: .7rem 1rem; }
.info-card .validation-list .code { font-weight: 800; font-size: .9rem; }

/* Wizard langkah 2+ : tabel, tombol aksi, ringkasan */
.wiz-title-box .title-box { width: 40px; height: 40px; border-radius: .7rem; background: #e3f4ea; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wiz-title-box .title-box .bi { font-size: 1.25rem; }
.wiz-title-box .title-box.gold { background: #fdf0d2; }
.wiz-title-box .title-box.gold .bi { color: #d99a0b; }
.wiz-table td { padding: .75rem .8rem; }
.wiz-table thead th { padding: .7rem .8rem; }
.wiz-table .main-row td { border-bottom: 1px solid #eef1f4; }
.bukti-cell { position: relative; white-space: nowrap; }
.bukti-cell summary { cursor: pointer; color: #1d2a35; list-style: none; }
.bukti-cell summary::-webkit-details-marker { display: none; }
.bukti-cell summary::after { content: " ▾"; color: #94a3b8; font-size: .75rem; }
.bukti-cell details[open] .bukti-pop { position: absolute; z-index: 20; left: 0; top: 100%; width: 340px; max-width: 80vw; white-space: normal;
  background: #fff; border: 1px solid var(--border); border-radius: .7rem; padding: .8rem; box-shadow: 0 10px 30px rgba(15,40,30,.15); font-size: .85rem; }
.wiz-table .sub-row td { padding-top: 0; padding-bottom: .7rem; }
.wiz-table .sub-row summary { color: #0f6b3a; cursor: pointer; }
.wiz-table .row-muted td { background: #f6f7f9; }
.wiz-table .badge { border-radius: .4rem; font-size: .72rem; padding: .3rem .55rem; margin-top: .2rem; }
.wiz-table .badge.bg-warning { background: #fcd34d !important; color: #3d2c00 !important; }
.btn-act { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; font-size: .82rem; font-weight: 600; border-radius: .5rem; background: #fff; border: 1.5px solid; }
.act-edit { border-color: #4caf73; color: #0f6b3a; }
.act-edit:hover { background: #138a3a; border-color: #138a3a; color: #fff; }
.act-del { border-color: #ef8080; color: #c81e1e; }
.act-del:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.act-ok { border-color: #4caf73; color: #0f6b3a; }
.act-ok:hover { background: #138a3a; border-color: #138a3a; color: #fff; }
.summary-card { border-top: 4px solid #f2c94c; }
.summary-card .sum-label { color: #1d2a35; margin-bottom: .1rem; }
.summary-card .sum-total { font-size: 2.1rem; font-weight: 800; color: #0f6b3a; line-height: 1.15; }
.summary-card .sum-sep { border-top: 1px solid var(--border); margin: 1rem 0; }
.coverage-list { list-style: none; padding: 0; margin: 0; }
.coverage-list li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; border-bottom: 1px solid #eef1f4; }
.coverage-list li:last-child { border-bottom: 0; }
.coverage-list .bi { color: #148a4c; }
.btn-back { padding: .6rem 1.2rem; font-size: 1.02rem; }

/* Wizard langkah 3: kredit */
.wiz-title-sub { align-items: center; }
.wiz-title-sub .h-reset { font-size: 1.25rem; font-weight: 800; margin: 0; color: #111; }
.wiz-title-sub .sub { font-size: .92rem; font-weight: 400; color: #3a4652; }
.credit-sum { list-style: none; padding: 0; margin: 0 0 1rem; }
.credit-sum li { display: flex; justify-content: space-between; padding: .7rem .7rem; border-bottom: 1px solid var(--border); color: #3a4652; font-size: 1rem; }
.credit-sum li span:last-child { color: #111; }
.credit-sum li.total { border: 0; margin-top: .5rem; background: #e3f4ea; border-radius: .6rem; font-weight: 800; font-size: 1.1rem; }
.credit-sum li.total span { color: #0f6b3a !important; }
.note-box { display: flex; gap: .6rem; background: #f1f4f8; border-radius: .6rem; padding: .8rem .9rem; font-size: .86rem; color: #3a4652; }
.note-box .bi { color: #148a4c; font-size: 1.1rem; }
.btn-big { padding: .75rem 1rem; font-size: 1.12rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-big-outline { padding: .6rem 1rem; font-size: 1.02rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: .6rem; }
.validation-list li { display: flex; align-items: flex-start; gap: .7rem; }
.validation-list li .code { flex-shrink: 0; margin-right: 0; padding: .1rem .5rem; border-radius: .35rem; background: rgba(242,176,30,.22); }
.validation-list li.sev-ERROR .code { background: rgba(208,48,47,.12); }
.info-card .validation-list li { display: block; }
.info-card .validation-list li .code { background: none; padding: 0; }

/* Wizard langkah 4: hasil */
.result-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; overflow: hidden;
  border-radius: 1rem; padding: 1.3rem 1.5rem; border: 1px solid #d4ecdc; background: linear-gradient(100deg, #f3faf5 0%, #edf7ef 60%, #e3f3e7 100%); box-shadow: 0 4px 14px rgba(15,40,30,.05); }
.result-hero.res-lebih_bayar { background: linear-gradient(100deg, #f3f8fe 0%, #eaf2fc 100%); border-color: #cfe0f5; }
.result-hero-text { position: relative; z-index: 1; min-width: 0; }
.hero-tag { display: inline-block; background: #fff; border: 1px solid #d6dde4; color: #111; font-size: .74rem; font-weight: 800; padding: .25rem .6rem; border-radius: .4rem; }
.hero-tag.tag-amber { background: #fde68a; border-color: #fde68a; color: #6b4b00; }
.hero-tag.tag-green { background: #d3f3dd; border-color: #d3f3dd; color: #136c3a; }
.hero-tag.tag-demo { background: #fff4cc; border: 1.5px dashed #e2b33c; color: #6b4b00; }
.hero-label { font-size: 1.05rem; color: #1d2a35; margin-top: .2rem; }
.hero-amount { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: #0f5a32; line-height: 1.1; letter-spacing: -.01em; }
.res-lebih_bayar .hero-amount { color: #0f5aa6; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.hero-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid #d6dde4; border-radius: 999px; padding: .3rem .9rem; font-size: .88rem; color: #64748b; }
.hero-chip .bi { font-size: .7rem; }
.hero-chip.on { border: 2px solid #f08c2e; color: #9a4b00; font-weight: 700; background: #fff7ef; }
.res-lebih_bayar .hero-chip.on { border-color: #2f7fd6; color: #0f5aa6; background: #f0f6fe; }
.res-nihil .hero-chip.on { border-color: #2fa45a; color: #136c3a; background: #effaf2; }
.result-hero-art { width: 210px; height: auto; flex-shrink: 0; mix-blend-mode: multiply; }
@media (max-width: 575.98px) { .result-hero-art { position: absolute; right: -30px; bottom: -10px; opacity: .25; } }
.res-table td { padding: .5rem .2rem; border-color: #eef1f4; color: #1d2a35; }
.bracket-box summary { list-style: none; cursor: pointer; font-weight: 800; padding: .4rem 0; }
.bracket-box summary::-webkit-details-marker { display: none; }
.bracket-box summary .bi { transition: transform .15s; display: inline-block; margin-right: .4rem; }
.bracket-box:not([open]) summary .bi { transform: rotate(180deg); }
.res-brackets td, .res-brackets th { padding: .55rem .9rem; font-size: .9rem; }
.res-band { display: flex; justify-content: space-between; align-items: center; background: #e3f4ea; border: 1px solid #cfeadc; border-radius: .6rem; padding: .6rem .9rem; margin: .8rem 0 .4rem; font-weight: 800; color: #0f6b3a; font-size: 1.02rem; }
.res-band .bi { margin-right: .3rem; }
.res-final { font-size: 1.1rem; }
.res-src th { font-size: .82rem; padding: .5rem .8rem; }
.res-src td { font-size: .88rem; padding: .45rem .8rem; }
.src-credits summary { cursor: pointer; color: #0f6b3a; font-weight: 600; font-size: .9rem; }
.btn-aksi { padding: .6rem 1rem; font-size: 1.02rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-aksi-muted { border: 1.5px solid #c3ccd5; background: #fff; color: #1d2a35; border-radius: .6rem; padding: .55rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 500; }
.btn-aksi-muted:hover { background: #f3f5f7; border-color: #9aa5b1; }
.aksi-sep { border-top: 1px solid var(--border); margin: .3rem 0; }
.aksi-form { background: #f8fafb; border: 1px solid var(--border); border-radius: .6rem; padding: .7rem; }
.back-link { color: #1a73e8; text-decoration: underline; }
.meta-list { display: grid; grid-template-columns: 7.5rem 1fr; row-gap: .45rem; column-gap: .6rem; font-size: .9rem; }
.meta-list dt { font-weight: 800; color: #111; }
.meta-list dd { margin: 0; color: #1d2a35; min-width: 0; }
.btn-copy { background: none; border: 0; padding: .1rem .3rem; color: #3a4652; }
.btn-copy:hover { color: #0f6b3a; }
.val-title-inline { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; color: #111; margin: 0; }
.val-title-inline .bi { color: #f2b01e; font-size: 1.35rem; }

/* Akses & Penugasan */
.hero-ico { width: 60px; height: 60px; border-radius: .9rem; background: linear-gradient(135deg, #1f9a4e, #0f6b3a); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(15,107,58,.25); }
.org-users { list-style: none; padding: 0; margin: 0; }
.org-users li { background: #f1f4f8; border-radius: .5rem; padding: .55rem .8rem; margin-bottom: .4rem; font-size: .92rem; }
.note-box code { color: #0f6b3a; }
.assign-search { width: 100%; max-width: 360px; }
.assign-search .form-control { height: 2.7rem; border-radius: .6rem; }
.role-pill { display: inline-block; border-radius: .45rem; padding: .25rem .7rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.role-green { background: #d3f3dd; color: #136c3a; }
.role-blue { background: #dcecff; color: #1559b3; }
.role-amber { background: #fdf0d2; color: #8a5a00; }
.role-gray { background: #eef1f4; color: #3a4652; }

/* Daftar Kasus (hero masjid, KPI bulat, filter) */
.page-hero { min-height: 140px; background: linear-gradient(180deg, #f7faf8 0%, #f4f6f8 100%); }
.page-hero .dash-title { font-size: 2rem; }
.page-hero .dash-title::after { width: 56px; background: #148a4c; }
.hero-mosque { position: absolute; right: 26%; bottom: 0; height: 130px; width: auto; mix-blend-mode: multiply; opacity: .95; }
.hero-swoosh { position: absolute; right: -60px; bottom: -30px; width: 55%; height: 120px; border-radius: 50%;
  background: linear-gradient(100deg, rgba(167,226,186,0) 0%, #b9e8c8 40%, #2fa45a 75%, #138a3a 100%);
  transform: rotate(-8deg); box-shadow: 0 -10px 0 -2px #f2c230; opacity: .85; }
.kpi-round .kpi-ico { border-radius: 50%; width: 72px; height: 72px; font-size: 2.1rem; }
.kpi-round .kpi-label { font-weight: 700; color: #111; }
.kpi-card.kpi-round { background: #fff; }
.kpi-card.kpi-round::after { display: none; }
.tone-teal .kpi-ico { background: #dff3ea; color: #148a4c; }
.tone-lime .kpi-ico { background: #e7f8dc; color: #fff; }
.tone-lime .kpi-ico .bi { color: #3bb54a; background: #fff; border-radius: 50%; line-height: 1; }
.kpi-round.tone-blue .kpi-ico { background: #cfeefa; color: #0e8fb5; }
.filter-card .form-label { font-weight: 800; font-size: .98rem; }
.filter-card .form-control, .filter-card .form-select { height: 2.8rem; border-radius: .6rem; }
.btn-filter { height: 2.8rem; border: 1.5px solid #138a3a; color: #0f6b3a; background: #fff; border-radius: .6rem; font-weight: 700; }
.btn-filter:hover { background: #138a3a; color: #fff; }
.btn-reset { color: #1a73e8; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.soft-tag { display: inline-block; background: #fde68a; color: #6b4b00; font-size: .72rem; font-weight: 800; padding: .15rem .45rem; border-radius: .3rem; }
.soft-pill.sm { font-size: .78rem; padding: .2rem .6rem; border-radius: .4rem; }
.btn-sm-pad { padding: .3rem .8rem; }
.btn-open-muted { border: 1.5px solid #9aa5b1; color: #3a4652; background: #fff; border-radius: .6rem; font-weight: 600; }
.btn-open-muted:hover { background: #eef1f4; color: #111; }
.app-disclaimer { background: linear-gradient(90deg, #eaf6ee 0%, #eaf6ee 75%, #cdebd7 100%); border-radius: .8rem; padding: .9rem 1.2rem; color: #1d2a35; font-size: .95rem; }
.app-disclaimer .bi { color: #148a4c; font-size: 1.3rem; }

@media (max-width: 1199.98px) { .hero-mosque { right: 4%; opacity: .4; } }
@media (max-width: 1023.98px) {
  .dash-hero { margin: -1rem -1rem 1rem; padding: 1rem 1rem 0; }
}
@media (max-width: 767.98px) {
  .dash-hero-art { opacity: .35; }
  .dash-title { font-size: 1.6rem; }
  .kpi-card .kpi-ico { width: 48px; height: 48px; font-size: 1.5rem; }
  .kpi-card .kpi-value { font-size: 1.6rem; }
  .donut-legend .lg-label { min-width: 0; }
}

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; }

@media print {
  .app-sidebar, .mobile-bar, .no-print, .stepper { display: none !important; }
  .app-content { padding: 0; max-width: none; }
  body { background: #fff; }
  .card { border: 0; box-shadow: none; }
}
