/* WAHAI V8.6.10 — satu lapisan visual yang terkendali.
   Tema V8.6.8/V8.6.9 dicabut dari index sebelum CSS ini dipasang. */
:root{
  --wahai-green:#075e54;--wahai-green-light:#e9f6f0;
  --wahai-deep-green:#063f39;--wahai-navy:#122e76;
  --wahai-gold:#f7cb2d;--wahai-white:#fff;--wahai-border:#dbe7e2;
}
html body{background:#f7faf8;color:#203b33}
html body #sidebar{background:#075e54!important;color:#fff!important;border-right:3px solid var(--wahai-gold)}
html body #sidebar :is(a,button,[data-view]){color:#fff!important}
html body #sidebar :is(a,button,[data-view]):hover{background:rgba(255,255,255,.1)!important}
html body #sidebar :is(.active,[aria-current="page"],[aria-selected="true"]){background:#118574!important;box-shadow:inset 3px 0 0 var(--wahai-gold)!important}
html body :is(.app-header,.main-header,.workspace-header,.topbar){background:#fff!important;border-bottom-color:var(--wahai-border)!important}
html body :is(.app-header,.main-header,.workspace-header,.topbar) :is(h1,h2,.page-title){color:var(--wahai-deep-green)!important}
html body :is(.btn-primary,.primary-btn,.send-btn,button[type="submit"]):not(.wahai-v8610-close){background:var(--wahai-green)!important;color:#fff!important;border-color:var(--wahai-green)!important}
html body :is(input,select,textarea):focus-visible{outline:2px solid #128c7e;outline-offset:1px}
html body #view-conversations :is(#conversationMessages,.conversation-messages,.chat-messages){background:#edf4ef!important}
html body #view-conversations :is(.message-out,.message.outgoing,.message-bubble.outgoing){background:#dcf8d5!important;color:#163b30!important}
html body #view-conversations :is(.message-in,.message.incoming,.message-bubble.incoming){background:#fff!important;color:#243c32!important}
html body :is(.message-ticks,.message-receipt,.msg-ticks){color:#24352f!important}
/* Dashboard: pertahankan komposisi navy lama. Jangan beri latar hijau pada anak banner. */
html body #view-dashboard :is(.hero,.hero-banner,.dashboard-hero,.hero-card){box-shadow:none}
html body #view-dashboard :is(.hero,.hero-banner,.dashboard-hero,.hero-card) :is(.btn-primary,.button-primary){background:var(--wahai-green)!important;color:white!important}
/* Login: branding navy utuh, hijau dipakai sebagai aksen, tanpa persegi overlay di konten. */
html body .wahai-v8610-login-layout{background:#122e76!important}
html body .wahai-v8610-login-brand{background:transparent!important;box-shadow:none!important;color:#fff!important}
html body .wahai-v8610-login-brand .wahai-v8610-wordmark{color:#fff!important;font-weight:900;letter-spacing:-.035em}
html body .wahai-v8610-login-brand .wahai-v8610-wordmark strong{color:var(--wahai-gold)!important}
html body .wahai-v8610-expansion{border-left:4px solid var(--wahai-gold);padding-left:12px;color:#e6fff3;font-weight:700;font-size:clamp(.92rem,1.35vw,1.1rem);margin:8px 0 14px}
html body .wahai-v8610-login-form{background:#fff!important;border-radius:20px;color:#17372d;box-shadow:0 9px 30px rgba(5,17,32,.1)}
html body .wahai-v8610-login-form :is(h1,h2){color:var(--wahai-deep-green)!important}
html body .wahai-v8610-login-form button[type="submit"]{background:var(--wahai-green)!important;color:#fff!important}
/* Status: sembunyikan KATALOG TEKNIS saja; formulir dan riwayat Status tetap hidup. */
html body #view-wapito .wahai-v8610-catalog-hidden{display:none!important}
html body #view-wapito .wahai-v8610-status-note{padding:10px 14px;border-left:3px solid var(--wahai-gold);border-radius:8px;background:var(--wahai-green-light);color:var(--wahai-deep-green);margin:6px 0 14px}
html body #view-conversations .wahai-v869-chat-tools{display:none!important}
/* Akses dari bilah balasan bawah, BUKAN panel atau kolom ketiga. */
html body #replyForm{position:relative}
html body #replyForm .wahai-v8610-composer-trigger{width:38px;height:38px;min-width:38px;display:inline-grid;place-items:center;border:1px solid #b9ded0;background:#e8f7ed;color:#075e54;border-radius:50%;font-size:25px;font-weight:500;cursor:pointer;align-self:center;line-height:1}
html body #replyForm .wahai-v8610-composer-trigger[hidden]{display:none!important}
html body #replyForm .wahai-v8610-composer-menu{position:absolute;z-index:250;bottom:calc(100% + 9px);left:6px;display:grid;gap:5px;padding:8px;width:min(240px,90vw);border:1px solid #d4e5dd;background:#fff;border-radius:12px;box-shadow:0 14px 34px rgba(5,35,22,.16)}
html body #replyForm .wahai-v8610-composer-menu[hidden]{display:none!important}
html body #replyForm .wahai-v8610-composer-menu button{width:100%;background:#fff;color:#163d31;border:0;padding:10px 12px;text-align:left;border-radius:8px;cursor:pointer}
html body #replyForm .wahai-v8610-composer-menu button:hover{background:#e9f6ef}
html body .wahai-v8610-overlay{position:fixed;z-index:99999;inset:0;background:rgba(8,29,22,.25);display:flex;align-items:flex-end;justify-content:center;padding:14px}
html body .wahai-v8610-sheet{width:min(650px,100%);max-height:min(82vh,850px);overflow:auto;background:#fff;border:1px solid #b9d6c7;border-top:4px solid #075e54;box-shadow:0 20px 64px rgba(1,25,17,.24);border-radius:15px 15px 9px 9px;padding:14px;color:#193b30}
html body .wahai-v8610-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:-14px;background:#fff;z-index:3;padding:10px 0;border-bottom:1px solid #e2e8e4}
html body .wahai-v8610-sheet-heading h3{margin:0;font-size:1.12rem;color:#075e54}
html body .wahai-v8610-close{border:1px solid #d4e5de;background:#fff;color:#075e54;border-radius:8px;padding:8px 12px;cursor:pointer}
html body .wahai-v8610-sheet-note{color:#52695f;font-size:.84rem;line-height:1.5;margin:10px 0}
/* Satu pencatatan nominal transfer; tidak ada rumus tarif atau status lunas otomatis. */
html body .wahai-v8610-pencairan{margin-top:18px;background:#fff;border:1px solid var(--wahai-border);border-top:3px solid var(--wahai-gold);border-radius:13px;padding:16px}
html body .wahai-v8610-pencairan h3{color:#075e54;font-size:1.08rem;margin:0 0 6px}
html body .wahai-v8610-pencairan-note,.wahai-v8610-pencairan-alert{font-size:.83rem;color:#596c62;margin:6px 0 13px}
html body .wahai-v8610-pencairan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .wahai-v8610-pencairan-fields label{display:flex;flex-direction:column;gap:5px;color:#254a3b;font-size:.83rem;font-weight:650}
html body .wahai-v8610-pencairan-fields input{min-width:0;width:100%;background:#fff;color:#173c30;border:1px solid var(--wahai-border);border-radius:8px;padding:10px;font:inherit}
html body .wahai-v8610-pencairan-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
html body .wahai-v8610-pencairan-actions button{border:1px solid #075e54;background:#075e54;color:#fff;padding:9px 12px;border-radius:8px;cursor:pointer}
html body .wahai-v8610-pencairan-actions button.secondary,html body .wahai-v8610-pencairan-row button.secondary{background:#fff;color:#075e54;border:1px solid #cfe4d8}
html body .wahai-v8610-pencairan-actions button:disabled{opacity:.5;cursor:not-allowed}
html body .wahai-v8610-pencairan-summary{font-weight:750;color:#075e54;background:#eaf6ee;border-radius:8px;padding:10px;margin:9px 0}
html body .wahai-v8610-pencairan-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #e8eee9;font-size:.83rem}
html body .wahai-v8610-pencairan-row button{border-radius:7px;padding:5px 9px;cursor:pointer}
@media(max-width:680px){html body .wahai-v8610-pencairan-fields{grid-template-columns:1fr}html body .wahai-v8610-sheet{max-height:85vh;padding:10px}html body .wahai-v8610-overlay{padding:0}html body .wahai-v8610-sheet{border-radius:14px 14px 0 0}}
@media(prefers-reduced-motion:reduce){html body .wahai-v8610-sheet{scroll-behavior:auto}}
