/* Scoped changes: preserve all existing buttons and the rest of the theme. */
.kh-live-overview{margin-bottom:28px;color:#282720;min-width:0}
.kh-live-overview>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;margin-bottom:14px;border:1px solid rgba(255,255,255,.95);border-radius:22px;background:linear-gradient(110deg,#fffefb,#f8f5ee);box-shadow:0 12px 30px #3b352509}
.kh-live-overview header>div>small{font-size:10px;font-weight:700;letter-spacing:.22em;color:#987523}.kh-live-overview h3{font:27px Georgia,serif;margin:7px 0}.kh-live-overview header p{margin:0;font-size:12px;color:#807b70}
.kh-performance-state{display:grid;justify-items:end;gap:9px;font-size:11px;color:#716b5d}.kh-performance-state>span{display:flex;align-items:center;gap:7px}.kh-performance-state i{width:6px;height:6px;background:#aa872e;border-radius:50%;box-shadow:0 0 0 4px #b7912c15}.kh-performance-state small{font-size:10px;border:1px solid #ded5c0;border-radius:20px;padding:6px 10px}
.kh-performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kh-performance-card{position:relative;overflow:hidden;min-width:0;padding:20px 24px 23px;border:1px solid #e9e2d4;border-radius:18px;background:linear-gradient(140deg,#fffefc 45%,#f7f3e9);box-shadow:0 5px 18px #332e2406;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;isolation:isolate}
.kh-performance-card:hover,.kh-performance-card:focus-visible{transform:translateY(-3px);border-color:#c4a65d;box-shadow:0 12px 30px #8970391b;outline:2px solid transparent}.kh-performance-card:focus-visible{outline-color:#a58230;outline-offset:3px}
.kh-performance-card>div{display:flex;align-items:center;justify-content:space-between;color:#9c9179;font-size:10px;letter-spacing:.12em}.kh-performance-card>div i{font:20px Georgia;color:#b59445}.kh-performance-card h4{font:600 10px system-ui;letter-spacing:.12em;text-transform:uppercase;color:#827863;margin:14px 0 8px}.kh-performance-card strong{display:block;position:relative;z-index:1;font:600 clamp(21px,1.8vw,30px) Georgia,serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.kh-performance-card p{font-size:10px;color:#938a78;margin:8px 0 0}
.kh-performance-light{position:absolute;inset:auto 22px 0;height:2px;background:linear-gradient(90deg,transparent,#c1a353,transparent);opacity:.45;transition:opacity .22s}.kh-performance-card:hover .kh-performance-light{opacity:1}.kh-performance-card.is-loss strong{color:#a95c4d}.kh-performance-card.is-profit strong{color:#566d54}
body .kh-sales-filters.universal-record-filters{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(85px,.7fr) minmax(130px,1fr)!important;align-items:end!important;gap:12px!important}
body .kh-sales-filters .kh-sales-date-scope{display:flex!important;flex-direction:row!important;align-items:center!important;align-self:end!important;gap:8px;min-height:42px;margin:0!important;white-space:nowrap}
body .kh-sales-filters [data-sales-clear]{width:100%!important;justify-self:stretch!important;min-width:0!important;margin:0!important}
.kh-bank-review{max-height:90dvh}.kh-bank-review>form{max-height:calc(90dvh - 110px);overflow-y:auto;overscroll-behavior:contain}.kh-bank-plan{padding:18px;border:1px solid #d2bd85;border-radius:12px;background:#f6f0df}.kh-bank-review .finance-check{display:flex;align-items:flex-start;gap:10px}.kh-bank-review .finance-check input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin-top:2px}
@media(min-width:1800px){.kh-performance-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.kh-performance-card{padding:18px 15px 21px}.kh-performance-card strong{font-size:22px}}
@media(max-width:1100px){body .kh-sales-filters.universal-record-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){.kh-live-overview>header{padding:20px;align-items:flex-start}.kh-performance-state{max-width:120px}.kh-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kh-performance-card{padding:16px}.kh-performance-card:last-child{grid-column:1/-1}.kh-performance-card strong{font-size:23px}body .kh-sales-filters.universal-record-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){.kh-performance-grid,body .kh-sales-filters.universal-record-filters{grid-template-columns:1fr!important}.kh-live-overview>header{flex-wrap:wrap}.kh-performance-state{justify-items:start;max-width:none}}
@media(prefers-reduced-motion:reduce){.kh-performance-card,.kh-performance-light{transition:none}.kh-performance-card:hover{transform:none}}
