/* ═══════════════════════════════════════════════════════════════
   kulit-mz.css — SNAPSHOT VERBATIM design system master ".mz-*"
   Sumber: resources/views/livewire/master/_mz-style.blade.php
           (git show bee7a59, isi blok <style> baris 4-455, apa adanya)
   ATURAN: JANGAN diedit tangan. Regenerasi = salin ulang blok <style>
   dari sumber. Uji penjaga: tests/Feature/KulitKembarTest.php.
   ═══════════════════════════════════════════════════════════════ */
.mz-dash{ /* LIGHT (default) — surface/teks/garis terang; aksen neon dipertahankan */
    --mz-surf:rgba(255,255,255,.82); --mz-surf2:rgba(244,245,249,.9);
    --mz-line:rgba(15,18,30,.10); --mz-line2:rgba(15,18,30,.06);
    --mz-text:#1A1B22; --mz-mut:#565A66; --mz-mut2:#8A8E9C;
    --mz-fill:rgba(15,18,30,.05); --mz-fill2:rgba(15,18,30,.08);
    --mz-a1:#7C5CFF; --mz-a2:#22D3EE; --mz-pos:#34D399; --mz-neg:#FB7185; --mz-warn:#FBBF24;
    --mz-grad:linear-gradient(135deg,var(--mz-a1),var(--mz-a2));
    color:var(--mz-text); padding-bottom:2rem;
    max-width:1200px; margin-inline:auto;   /* kolom terpusat — konten rata-tengah di layar lebar */
}
html.dark .mz-dash{ /* DARK — neon glass asli */
    --mz-surf:rgba(20,20,28,.72); --mz-surf2:rgba(28,28,38,.6);
    --mz-line:rgba(255,255,255,.08); --mz-line2:rgba(255,255,255,.05);
    --mz-text:#F4F4F6; --mz-mut:#9A9AA8; --mz-mut2:#6E6E80;
    --mz-fill:rgba(255,255,255,.05); --mz-fill2:rgba(255,255,255,.1);
}
.mz-dash .material-symbols-outlined{font-variation-settings:'wght' 400,'opsz' 20;font-size:18px;line-height:1}

/* ── filter bar ── */
.mz-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.4rem}
.mz-bar-l{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.mz-chip{appearance:none;border:1px solid var(--mz-line);background:var(--mz-surf2);color:var(--mz-mut);
    font:600 12px/1 'Inter',sans-serif;padding:.5rem .8rem;border-radius:999px;cursor:pointer;transition:.18s}
.mz-chip:hover{color:var(--mz-text);border-color:rgba(255,255,255,.18)}
.mz-chip.on{color:#0B0B10;background:var(--mz-grad);border-color:transparent;box-shadow:0 4px 16px -4px rgba(124,92,255,.5)}
.mz-sep{width:1px;height:20px;background:var(--mz-line);margin:0 .25rem}
.mz-date{display:flex;align-items:center;gap:.4rem;font:600 11px/1 'Inter';color:var(--mz-mut2);text-transform:uppercase;letter-spacing:.04em}
.mz-date input{background:var(--mz-surf2);border:1px solid var(--mz-line);color:var(--mz-text);border-radius:10px;
    padding:.45rem .55rem;font:500 12px 'Inter'}
.mz-date input:focus{outline:none;border-color:var(--mz-a1)}
.mz-select{background:var(--mz-surf2);border:1px solid var(--mz-line);color:var(--mz-text);border-radius:10px;
    padding:.5rem 2rem .5rem .8rem;font:600 12px 'Inter';cursor:pointer}
.mz-select:focus{outline:none;border-color:var(--mz-a1)}

/* ── hero (layout CENTER 2026-07-13 — semua isi rata tengah & wrap-safe) ── */
.mz-hero{position:relative;overflow:hidden;border:1px solid var(--mz-line);border-radius:24px;
    background:radial-gradient(120% 140% at 50% 0,rgba(124,92,255,.12),transparent 55%),var(--mz-surf);
    backdrop-filter:blur(14px);padding:clamp(1.4rem,4vw,2.4rem);margin-bottom:2rem}
.mz-hero-glow{position:absolute;left:50%;transform:translateX(-50%);top:-170px;width:380px;height:380px;border-radius:50%;
    background:var(--mz-grad);filter:blur(90px);opacity:.18;pointer-events:none}
.mz-hero-grid{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.5rem}
.mz-eyebrow{display:flex;align-items:center;gap:.5rem;font:700 11px/1 'Inter';text-transform:uppercase;letter-spacing:.14em;color:var(--mz-mut);margin-bottom:.7rem}
.mz-hero .mz-eyebrow{justify-content:center;flex-wrap:wrap}
.mz-live{width:9px;height:9px;border-radius:50%;background:var(--mz-a2);box-shadow:0 0 0 0 rgba(34,211,238,.6);animation:mzpulse 2s infinite}
.mz-hero-scope{margin-left:.5rem;padding:.22rem .6rem;border-radius:999px;border:1px solid rgba(124,92,255,.4);
    background:rgba(124,92,255,.12);color:var(--mz-text);font:700 10px/1 'Inter';text-transform:none;letter-spacing:.02em;
    display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;transition:.16s;-webkit-tap-highlight-color:transparent}
.mz-hero-scope:hover{border-color:rgba(124,92,255,.7);background:rgba(124,92,255,.2)}
.mz-hero-scope:focus-visible{outline:2px solid var(--mz-a2);outline-offset:2px}
.mz-hero-scope span{color:var(--mz-mut);font-weight:600;font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.mz-hero-scope.is-all{border-color:var(--mz-line);background:var(--mz-fill);color:var(--mz-mut);cursor:default}
.mz-hero-num{display:flex;flex-direction:column;align-items:center;gap:.7rem}
.mz-num{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(3.2rem,10vw,5.8rem);line-height:.85;letter-spacing:-.03em;
    background:var(--mz-grad);-webkit-background-clip:text;background-clip:text;color:transparent;
    filter:drop-shadow(0 6px 30px rgba(124,92,255,.35))}
.mz-hero-unit{font:600 14px/1 'Inter';text-transform:uppercase;letter-spacing:.12em;color:var(--mz-mut)}
.mz-hero-sub{font:500 13px 'Inter';color:var(--mz-mut);margin-top:.7rem}
.mz-underline{height:3px;width:120px;margin:1rem auto 0;border-radius:3px;background:var(--mz-grad);background-size:200% 100%;animation:mzshim 3s linear infinite}
.mz-hero-stats{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:.5rem clamp(.9rem,3vw,2rem)}
.mz-hero-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.45rem;min-width:86px;padding:.55rem .4rem;border-radius:14px;transition:background .15s}
.mz-hero-stats>div:hover{background:var(--mz-fill)}
.mz-s-lbl{font:700 10px/1.25 'Inter';text-transform:uppercase;letter-spacing:.1em;color:var(--mz-mut2);text-align:center}
.mz-s-num{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:30px;line-height:1;color:var(--mz-text)}
.mz-s-num.mz-s-pos{color:#34D399}
.mz-s-num.mz-s-neg{color:#FB7185}

/* ── monitor cabang · live ── */
.mz-mon{margin-bottom:2rem}
.mz-mon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}
.mz-moncard{appearance:none;width:100%;text-align:left;cursor:pointer;color:inherit;font:inherit;
    display:flex;flex-direction:column;gap:.55rem;padding:1rem 1.1rem}
.mz-moncard:focus-visible{outline:2px solid var(--mz-a2);outline-offset:2px}
.mz-moncard.is-active{border-color:rgba(124,92,255,.55);
    background:radial-gradient(120% 140% at 100% 0,rgba(124,92,255,.14),transparent 60%),var(--mz-surf);
    box-shadow:0 0 0 1px rgba(124,92,255,.35),0 12px 32px -14px rgba(124,92,255,.55)}
.mz-moncard-h{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.mz-moncard-name{font:700 11px/1.2 'Inter';text-transform:uppercase;letter-spacing:.08em;color:var(--mz-mut);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-moncard-dot{width:8px;height:8px;border-radius:50%;background:var(--mz-mut2);flex-shrink:0}
.mz-moncard-dot.on{background:var(--mz-pos);box-shadow:0 0 8px -1px var(--mz-pos)}
.mz-moncard-num{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:2rem;line-height:1;color:var(--mz-text);
    display:flex;align-items:baseline;gap:.4rem}
.mz-moncard-num span{font:500 11px 'Inter';color:var(--mz-mut)}
.mz-moncard-foot{display:flex;flex-wrap:wrap;gap:.2rem .8rem;font:600 10.5px 'Inter';color:var(--mz-mut2)}

/* ── section heads ── */
.mz-analytics-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 1rem}
.mz-analytics-head h2{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:20px;letter-spacing:-.01em;color:var(--mz-text)}
.mz-range{font:600 12px 'Inter';color:var(--mz-a2)}
.mz-subhead{display:flex;align-items:center;justify-content:center;gap:.45rem;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15px;letter-spacing:-.01em;color:var(--mz-text);margin:1.4rem 0 .8rem}
.mz-subhead .material-symbols-outlined{font-size:18px;color:var(--mz-a1)}
/* Judul halaman — SATU pola seragam, rata-tengah (konvensi 2026-07-14: semua konten center). */
.mz-page-head{margin:0 0 1.5rem;text-align:center}
.mz-page-title{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(22px,4vw,28px);letter-spacing:-.02em;line-height:1.15;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.mz-page-title .material-symbols-outlined{font-size:.9em;color:var(--mz-a2)}
.mz-page-sub{font:500 13px/1.5 'Inter';color:var(--mz-mut);margin-top:.35rem;max-width:46rem;margin-inline:auto}

/* ── cards / kpi ── */
.mz-card{border:1px solid var(--mz-line);border-radius:18px;background:var(--mz-surf);backdrop-filter:blur(12px);
    padding:1.1rem 1.2rem;transition:transform .2s,border-color .2s}
.mz-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.14)}
.mz-card-h{font:700 11px/1 'Inter';text-transform:uppercase;letter-spacing:.1em;color:var(--mz-mut);margin-bottom:1rem;display:flex;align-items:center;gap:.4rem}
.mz-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin-bottom:.9rem}
.mz-kpis-inap{grid-template-columns:repeat(3,1fr);margin-bottom:1.6rem}
.mz-kpis-6{grid-template-columns:repeat(3,1fr)}
.mz-kpi{display:flex;flex-direction:column;gap:.45rem}
.mz-k-lbl{font:700 10px/1.2 'Inter';text-transform:uppercase;letter-spacing:.08em;color:var(--mz-mut);display:flex;align-items:center;gap:.35rem}
.mz-k-lbl .material-symbols-outlined{font-size:15px;color:var(--mz-a2)}
.mz-k-num{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(1.8rem,3vw,2.3rem);line-height:1;color:var(--mz-text)}
.mz-k-num.mz-grad{background:var(--mz-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.mz-k-foot{font:500 10.5px 'Inter';color:var(--mz-mut2)}
.mz-inap{border-color:rgba(124,92,255,.22);background:linear-gradient(180deg,rgba(124,92,255,.06),transparent),var(--mz-surf)}

/* ── trend ── */
.mz-trend{margin-bottom:1.6rem}
.mz-trend-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1.1rem}
.mz-trend-title{font:700 11px/1 'Inter';text-transform:uppercase;letter-spacing:.1em;color:var(--mz-mut)}
.mz-trend-hint{margin-left:.5rem;font:600 9.5px/1 'Inter';text-transform:uppercase;letter-spacing:.06em;color:var(--mz-mut2)}
.mz-trend-tot{display:flex;flex-wrap:wrap;gap:.45rem}
.mz-tt{display:flex;align-items:center;gap:.5rem;padding:.4rem .7rem;border-radius:12px;background:var(--mz-fill);border:1px solid var(--mz-line2);
    appearance:none;font:inherit;cursor:pointer;transition:.16s;-webkit-tap-highlight-color:transparent}
.mz-tt:hover{border-color:rgba(255,255,255,.16);background:var(--mz-fill2)}
.mz-tt:focus-visible{outline:2px solid var(--mz-a2);outline-offset:2px}
.mz-tt:active{transform:translateY(1px)}
.mz-tt.is-off{opacity:.4}
.mz-tt.is-off .v{color:var(--mz-mut2)}
.mz-tt.is-off .d{box-shadow:none;filter:grayscale(1)}
.mz-tt .d{width:8px;height:8px;border-radius:3px;flex-shrink:0;box-shadow:0 0 8px -1px currentColor}
.mz-tt .d.total{background:#475569;color:transparent;box-shadow:none}
html.dark .mz-dash .mz-tt .d.total{background:#E2E8F0}
.mz-tt .d.done{background:var(--mz-pos);color:var(--mz-pos)}
.mz-tt .d.inap{background:#A78BFA;color:#A78BFA}
.mz-tt .d.proses{background:#22D3EE;color:#22D3EE}
.mz-tt .d.batal{background:var(--mz-neg);color:var(--mz-neg)}
.mz-tt .v{font:700 17px/1 'Space Grotesk';color:var(--mz-text)}
.mz-tt .l{font:600 9.5px/1 'Inter';text-transform:uppercase;letter-spacing:.05em;color:var(--mz-mut2)}

/* ── breakdown ── */
.mz-2col{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:.9rem}
.mz-card-legend{margin-left:auto;font:600 9px 'Inter';text-transform:none;letter-spacing:0;color:var(--mz-mut2);display:inline-flex;align-items:center;gap:.25rem}
.mz-card-legend i{width:7px;height:7px;border-radius:2px;display:inline-block;margin-left:.35rem}
.mz-card-legend i.pos{background:#34D399}.mz-card-legend i.neg{background:#FB7185}.mz-card-legend i.inap{background:#A78BFA}.mz-card-legend i.proc{background:#22D3EE}
.mz-brow{display:flex;align-items:center;gap:.7rem;padding:.42rem .45rem;border-radius:10px;transition:background .15s}
.mz-brow:hover{background:var(--mz-fill)}
.mz-brow-rank{width:20px;height:20px;flex-shrink:0;border-radius:6px;display:flex;align-items:center;justify-content:center;font:700 10px 'Space Grotesk';color:var(--mz-mut);background:var(--mz-fill2)}
.mz-brow-rank.top{background:var(--mz-grad);color:#0B0B10}
.mz-brow-name{width:88px;flex-shrink:0;font:600 12px 'Inter';color:var(--mz-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-brow-bar{flex:1;height:9px;border-radius:99px;background:var(--mz-fill);overflow:hidden;display:flex;gap:2px}
.mz-brow-bar i{height:100%;border-radius:99px;min-width:3px;transition:width .55s cubic-bezier(.2,.8,.2,1)}
.mz-brow-bar i.pos{background:linear-gradient(90deg,#34D399,#22D3EE)}
.mz-brow-bar i.neg{background:linear-gradient(90deg,#FB7185,#F43F5E)}
.mz-brow-bar i.solo{background:var(--mz-grad)}
.mz-brow-bar i.inap{background:linear-gradient(90deg,#7C5CFF,#A78BFA)}
.mz-brow-bar i.proc{background:linear-gradient(90deg,#22D3EE,#67E8F9)}

/* ── kartu ringkasan inap (bar partisi penuh selesai+proses+batal) ── */
.mz-inap-card{margin-bottom:.9rem}
.mz-ib-stats{display:flex;flex-wrap:wrap;gap:.5rem 0;margin-bottom:1rem}
.mz-ib-stats>div{display:flex;flex-direction:column;gap:.4rem;padding:0 1.4rem}
.mz-ib-stats>div:first-child{padding-left:.2rem}
.mz-ib-stats>div+div{border-left:1px solid var(--mz-line)}
.mz-ib-num{font:700 1.5rem/1 'Space Grotesk',sans-serif;color:var(--mz-text)}
.mz-ib-num.grad{background:var(--mz-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.mz-ib-num.pos{color:#34D399}
.mz-ib-num.proc{color:#22D3EE}
.mz-ib-num.neg{color:#FB7185}
.mz-ib-lbl{font:700 10px/1 'Inter';text-transform:uppercase;letter-spacing:.1em;color:var(--mz-mut2)}
.mz-brow-bar.mz-ib-bar{height:13px;margin-bottom:1.1rem}
.mz-brow-val{flex-shrink:0;font:700 13px 'Space Grotesk';color:var(--mz-text);min-width:72px;text-align:right}
.mz-brow-val .sl{opacity:.3;margin:0 3px;font-weight:400}
.mz-empty{font:500 12.5px 'Inter';color:var(--mz-mut2);padding:.8rem 0;text-align:center}

/* ── tabel antrian ── */
.mz-tablewrap{border:1px solid var(--mz-line);border-radius:18px;background:var(--mz-surf);backdrop-filter:blur(12px);overflow:hidden}
.mz-tbl{width:100%;border-collapse:collapse;font:500 13px 'Inter'}
.mz-tbl thead th{text-align:left;padding:.85rem 1rem;font:700 10px/1 'Inter';text-transform:uppercase;letter-spacing:.08em;color:var(--mz-mut2);border-bottom:1px solid var(--mz-line)}
.mz-tbl tbody td{padding:.85rem 1rem;border-bottom:1px solid var(--mz-line2);vertical-align:middle}
.mz-tbl tbody tr:last-child td{border-bottom:0}
.mz-tbl tbody tr:hover{background:var(--mz-fill)}
.mz-q-id{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--mz-text)}
.mz-q-sub{font:500 11px 'Inter';color:var(--mz-mut2);margin-top:.15rem}
.mz-prog{display:flex;align-items:center;gap:.5rem;min-width:150px}
.mz-prog-t{flex:1;height:6px;border-radius:6px;background:var(--mz-fill2);overflow:hidden}
.mz-prog-t i{display:block;height:100%;background:var(--mz-grad);border-radius:6px}
.mz-prog-t i.done{background:var(--mz-pos)}
.mz-prog-n{font:600 10px 'Inter';color:var(--mz-mut2)}
.mz-badge{display:inline-block;padding:.28rem .6rem;border-radius:7px;font:700 10px/1 'Inter';text-transform:uppercase;letter-spacing:.04em;border:1px solid transparent}
.mz-badge.primary{background:rgba(124,92,255,.14);color:#b6a6ff;border-color:rgba(124,92,255,.25)}
.mz-badge.info{background:rgba(34,211,238,.12);color:#7fe6f5;border-color:rgba(34,211,238,.22)}
.mz-badge.ok{background:rgba(52,211,153,.14);color:#6ee7b7;border-color:rgba(52,211,153,.24)}
.mz-badge.err{background:rgba(251,113,133,.14);color:#fda4af;border-color:rgba(251,113,133,.24)}
.mz-badge.muted{background:var(--mz-fill2);color:var(--mz-mut);border-color:var(--mz-line)}
.mz-badge.warn{background:rgba(251,191,36,.14);color:#fcd34d;border-color:rgba(251,191,36,.24)}
.mz-empty-block{padding:2.4rem 1rem;text-align:center;color:var(--mz-mut2);font:500 13px 'Inter'}
.mz-empty-block .material-symbols-outlined{font-size:34px;display:block;margin:0 auto .5rem;opacity:.5}

/* ── data walk in customer (heatmap status×bulan, neon) ── */
.mz-walkin-head{justify-content:space-between;flex-wrap:wrap;gap:.5rem .9rem}      /* sub-bagian: tier .mz-subhead + meta kanan */
.mz-walkin-head .mz-subhead-t{display:inline-flex;align-items:center;gap:.45rem}
.mz-walkin-meta{display:flex;align-items:center;gap:.9rem}
.mz-walkin-meta .mz-card-legend{margin-left:0}
.mz-walkin-wrap{border:1px solid var(--mz-line);border-radius:18px;background:var(--mz-surf);backdrop-filter:blur(12px);overflow:hidden}

/* ── pivot heatmap (walk in customer) ── */
.mz-pivot{width:100%;border-collapse:collapse;font:600 12px 'Inter';white-space:nowrap}
.mz-pivot th,.mz-pivot td{padding:.6rem .8rem;border-bottom:1px solid var(--mz-line2);text-align:right;color:var(--mz-text)}
.mz-pivot thead th{font:700 10px/1 'Inter';text-transform:uppercase;letter-spacing:.06em;color:var(--mz-mut2);border-bottom:1px solid var(--mz-line)}
.mz-pivot th:first-child,.mz-pivot td:first-child{text-align:left;position:sticky;left:0;background:var(--mz-surf);z-index:1}
.mz-pivot .mz-pivot-cat{font-weight:700}
.mz-pivot .mz-pivot-cat .dot{display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:.5rem;vertical-align:middle;background:rgb(var(--wk,124,92,255));box-shadow:0 0 8px -1px rgb(var(--wk,124,92,255))}
/* hue per baris status */
.mz-pivot tr.r-done{--wk:52,211,153}
.mz-pivot tr.r-inap{--wk:167,139,250}
.mz-pivot tr.r-proses{--wk:34,211,238}
.mz-pivot tr.r-batal{--wk:251,113,133}
.mz-pivot tr.r-klaim{--wk:251,191,36}
.mz-pivot tr.r-order{--wk:52,211,153}
/* sel data: intensitas = hue baris × alfa (dihitung di Blade) */
.mz-pivot td.hot{background:rgba(var(--wk,124,92,255),var(--a,0));font-family:'Space Grotesk',sans-serif;font-weight:700;transition:box-shadow .18s}
.mz-pivot td.is-peak{box-shadow:inset 0 0 0 1px rgb(var(--wk)),0 0 14px -4px rgb(var(--wk))}
.mz-pivot tbody tr:hover td:first-child{background:var(--mz-fill)}
.mz-pivot tbody tr:hover td.hot{box-shadow:inset 0 0 0 1px rgba(var(--wk),.45)}
/* total kolom & baris: angka payoff, gradient brand */
.mz-pivot .tot{font-family:'Space Grotesk',sans-serif;font-weight:700;background:var(--mz-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.mz-pivot tfoot td{font:700 12px 'Space Grotesk',sans-serif;border-top:1px solid var(--mz-line);border-bottom:0;background:var(--mz-surf);color:var(--mz-text)}
/* sparkline tren per baris (inline SVG, mewarisi --wk dari baris) */
.mz-pivot .mz-spark-h{text-align:center}
.mz-pivot td.mz-spark-cell{text-align:center;padding:.35rem .6rem}
.mz-spark{display:inline-block;width:60px;height:20px;overflow:visible;vertical-align:middle}
.mz-spark polyline{fill:none;stroke:rgb(var(--wk,124,92,255));stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 3px rgba(var(--wk,124,92,255),.5))}
.mz-spark circle{fill:rgb(var(--wk,124,92,255))}
/* highlight bulan berjalan (multi-bulan) — header/footer + tint empties; tak adu dgn ring/hover sel */
.mz-pivot thead th.is-cur{color:var(--mz-a2);box-shadow:inset 0 -2px 0 rgba(34,211,238,.55)}
.mz-pivot thead th.is-cur::after{content:'kini';display:block;font:700 7.5px/1 'Inter';letter-spacing:.08em;color:var(--mz-a2);opacity:.85;margin-top:3px}
.mz-pivot tbody td.is-cur:not(.hot){background:rgba(34,211,238,.05)}
.mz-pivot tbody td.is-cur.hot{background-image:linear-gradient(rgba(34,211,238,.12),rgba(34,211,238,.12))} /* wash di atas hue → lane menerus */
.mz-pivot tfoot td.is-cur{color:var(--mz-a2)}
/* tooltip kaya saat hover sel */
.mz-wktip{position:fixed;z-index:60;pointer-events:none;max-width:210px;padding:.55rem .7rem;border-radius:11px;
    border:1px solid var(--mz-line);border-left:2px solid rgb(var(--wk,124,92,255));background:var(--mz-surf);
    backdrop-filter:blur(14px);box-shadow:0 12px 34px -8px rgba(0,0,0,.6)}
.mz-wktip-st{display:flex;align-items:center;gap:.35rem;font:600 11px 'Inter';color:var(--mz-mut)}
.mz-wktip-st i{width:7px;height:7px;border-radius:2px;flex-shrink:0;background:rgb(var(--wk,124,92,255))}
.mz-wktip-st b{color:var(--mz-text);font-weight:700}
.mz-wktip-n{display:block;font:700 21px/1.1 'Space Grotesk',sans-serif;color:var(--mz-text);margin:.18rem 0 .1rem}
.mz-wktip-sub{display:block;font:500 10.5px 'Inter';color:var(--mz-mut2)}

/* ── inap monitor cards ── */
.mz-inap-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:.9rem}
.mz-inap-card{border:1px solid var(--mz-line);border-radius:18px;background:var(--mz-surf);backdrop-filter:blur(12px);padding:1.1rem;display:flex;flex-direction:column;gap:.8rem}
.mz-ic-head{display:flex;align-items:flex-start;gap:.7rem}
.mz-ic-ava{width:38px;height:38px;border-radius:11px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:rgba(124,92,255,.14);border:1px solid rgba(124,92,255,.25)}
.mz-ic-ava .material-symbols-outlined{color:#b6a6ff}
.mz-ic-ava.done{background:rgba(52,211,153,.14);border-color:rgba(52,211,153,.28)}
.mz-ic-ava.done .material-symbols-outlined{color:#6ee7b7}
.mz-inap-card.is-done{border-color:rgba(52,211,153,.16)}
.mz-ic-id{font-family:'Space Grotesk',sans-serif;font-weight:700}
.mz-ic-id span{color:var(--mz-a2)}
.mz-ic-sub{font:500 11px 'Inter';color:var(--mz-mut2);margin-top:.15rem}
.mz-ic-form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.mz-ic-form .mz-select{flex:1;min-width:150px}
.mz-btn{appearance:none;border:none;cursor:pointer;border-radius:10px;font:700 12px 'Inter';padding:.55rem .9rem;color:#0B0B10;background:var(--mz-grad);transition:.18s;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem}
.mz-btn:hover{filter:brightness(1.08)}
.mz-btn.ghost{background:transparent;color:var(--mz-mut);border:1px solid var(--mz-line)}
.mz-btn.ghost:hover{color:var(--mz-text);border-color:rgba(255,255,255,.2)}
.mz-btn.danger{background:rgba(251,113,133,.15);color:var(--mz-neg);border:1px solid rgba(251,113,133,.32)}
.mz-btn.danger:hover{filter:none;background:rgba(251,113,133,.24)}
.mz-btn.sm{padding:.4rem .65rem;font-size:11px;border-radius:8px}
.mz-btn:disabled{opacity:.55;cursor:not-allowed}

/* ── primitif form & flash (halaman master klasik) ── */
.mz-input{background:var(--mz-surf2);border:1px solid var(--mz-line);color:var(--mz-text);border-radius:10px;padding:.55rem .7rem;font:500 12.5px 'Inter';width:100%}
.mz-input:focus{outline:none;border-color:var(--mz-a1)}

/* ── Smart search bar (Master Antrian + Inap) — selaras .mz-input/.mz-chip ── */
.mz-search{display:flex;flex-direction:column;gap:.45rem;width:100%;max-width:440px;min-width:min(280px,100%)}
.mz-search-box{display:flex;align-items:stretch;gap:.4rem}
.mz-search-field{position:relative;flex:1;display:flex;align-items:center;min-width:0}
.mz-search-ic{position:absolute;left:.6rem;width:15px;height:15px;color:var(--mz-mut2);pointer-events:none}
.mz-search-input{width:100%;background:var(--mz-surf2);border:1px solid var(--mz-line);color:var(--mz-text);border-radius:10px;padding:.55rem 2rem .55rem 1.95rem;font:500 12.5px 'Inter'}
.mz-search-input:focus{outline:none;border-color:var(--mz-a1)}
.mz-search-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.mz-search-clear{position:absolute;right:.45rem;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:transparent;color:var(--mz-mut2);cursor:pointer;border-radius:6px}
.mz-search-clear:hover{color:var(--mz-text);background:var(--mz-fill)}
.mz-search-clear svg{width:12px;height:12px}
.mz-search-filter{position:relative;flex:0 0 auto}
.mz-search-fbtn{height:100%;white-space:nowrap;cursor:pointer;background:var(--mz-surf2);border:1px solid var(--mz-line);color:var(--mz-mut);border-radius:10px;padding:.5rem .7rem;font:600 11.5px 'Inter'}
.mz-search-fbtn:hover{color:var(--mz-text);border-color:rgba(255,255,255,.18)}
.mz-search-drop{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:190px;background:var(--mz-surf2);backdrop-filter:blur(18px);border:1px solid var(--mz-line);border-radius:12px;padding:.4rem;box-shadow:0 18px 40px -12px rgba(0,0,0,.45)}
.mz-search-drop button{width:100%;text-align:left;background:transparent;border:none;cursor:pointer;color:var(--mz-mut);font:600 12px 'Inter';padding:.5rem .6rem;border-radius:8px}
.mz-search-drop button:hover{background:var(--mz-fill);color:var(--mz-text)}
.mz-search-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.mz-search-chip{display:inline-flex;align-items:center;gap:.35rem;font:600 10.5px 'Inter';color:var(--mz-text);background:var(--mz-fill);border:1px solid var(--mz-line2);border-radius:999px;padding:.25rem .3rem .25rem .6rem}
.mz-search-chip button{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:none;background:transparent;color:var(--mz-mut2);cursor:pointer;border-radius:50%;padding:0}
.mz-search-chip button:hover{color:var(--mz-neg);background:rgba(251,113,133,.14)}
.mz-search-chip button svg{width:10px;height:10px}
.mz-search-notice{font:600 10.5px 'Inter';color:#f4b740}
.mz-search-count{font:500 10.5px 'Inter';color:var(--mz-mut2)}
.mz-lbl{display:block;font:700 10.5px/1 'Inter';text-transform:uppercase;letter-spacing:.08em;color:var(--mz-mut2);margin-bottom:.4rem}
.mz-flash{display:flex;align-items:flex-start;gap:.5rem;padding:.7rem 1rem;border-radius:12px;font:600 12.5px/1.45 'Inter';margin-bottom:1rem;border:1px solid transparent}
.mz-flash.ok{background:rgba(52,211,153,.12);color:#34D399;border-color:rgba(52,211,153,.25)}
.mz-flash.err{background:rgba(251,113,133,.12);color:#FB7185;border-color:rgba(251,113,133,.28)}
.mz-flash ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem}
.mz-stagecount{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.4rem}
.mz-stagecount .sc{border:1px solid var(--mz-line);background:var(--mz-surf2);border-radius:10px;padding:.45rem .7rem;font:600 11px 'Inter';color:var(--mz-mut);display:flex;align-items:center;gap:.4rem}
.mz-stagecount .sc b{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--mz-text)}

/* ── journey stepper (themed ulang utk dark neon; tak pakai inap/_inap) ── */
.mz-dash .inap-journey{display:flex;align-items:flex-start;gap:0;padding:.1rem 0 .3rem}
.mz-dash .ij-step{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;position:relative}
.mz-dash .ij-step::before{content:'';position:absolute;top:11px;right:50%;width:100%;height:2px;background:rgba(255,255,255,.1);z-index:0}
.mz-dash .ij-step:first-child::before{display:none}
.mz-dash .ij-step.done::before,.mz-dash .ij-step.active::before{background:var(--mz-grad)}
.mz-dash .ij-dot{position:relative;z-index:1;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;background:#15151c;border:2px solid rgba(255,255,255,.15);color:var(--mz-mut2)}
.mz-dash .ij-step.done .ij-dot{background:var(--mz-a1);border-color:var(--mz-a1);color:#0B0B10}
.mz-dash .ij-step.active .ij-dot{background:var(--mz-a2);border-color:var(--mz-a2);color:#0B0B10;box-shadow:0 0 0 4px rgba(34,211,238,.16)}
.mz-dash .ij-label{font:600 9px 'Inter';color:var(--mz-mut2);margin-top:.3rem;text-align:center;line-height:1.2;max-width:62px}
.mz-dash .ij-step.active .ij-label{color:var(--mz-text)}
.mz-dash .ij-here{display:none}
@media(max-width:420px){ .mz-dash .ij-label{display:none} .mz-dash .ij-dot{width:20px;height:20px;font-size:10px} }

/* ── responsive ── */
@media(max-width:900px){
    .mz-kpis,.mz-kpis-inap,.mz-kpis-6,.mz-mon-grid{grid-template-columns:repeat(2,1fr)}
    .mz-2col{grid-template-columns:1fr}
}
@media(max-width:640px){
    /* filter bar */
    .mz-bar{flex-direction:column;align-items:stretch}
    .mz-sep{display:none}
    .mz-bar-l{flex-wrap:wrap}
    .mz-bar-l.scroll{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:3px}
    .mz-bar-l.scroll::-webkit-scrollbar{height:0}
    .mz-bar-l.scroll .mz-chip{flex:0 0 auto}
    .mz-bar-r{width:100%}
    .mz-bar-r .mz-select{width:100%}
    .mz-date{flex-direction:column;align-items:stretch;gap:.2rem;flex:1}
    .mz-date input{width:100%}
    /* hero — tetap CENTER di layar sempit; stat jadi grid 3×2 rapi */
    .mz-hero{padding:1.3rem}
    .mz-hero-grid{gap:1.1rem}
    .mz-hero-stats{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem .3rem;justify-items:stretch}
    .mz-hero-stats>div{min-width:0;padding:.5rem .2rem}
    .mz-s-num{font-size:26px}
    /* analitik */
    .mz-analytics-head{flex-wrap:wrap;gap:.2rem .8rem}
    .mz-kpis,.mz-kpis-inap,.mz-kpis-6{grid-template-columns:repeat(2,1fr)}
    .mz-ib-stats>div{padding:0 .9rem}
    .mz-ib-num{font-size:1.25rem}
    .mz-trend-head{flex-direction:column;align-items:flex-start;gap:.7rem}
    .mz-trend-tot{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:.5rem}
    .mz-tt{justify-content:flex-start}
    /* inap list — fix overflow + form stack */
    .mz-inap-list{grid-template-columns:1fr}
    .mz-ic-form{flex-direction:column;align-items:stretch}
    .mz-ic-form .mz-select,.mz-ic-form .mz-btn{width:100%}
    /* tabel Antrian → kartu bertumpuk */
    .mz-tablewrap{background:transparent;border:0;border-radius:0;overflow:visible}
    .mz-tbl thead{display:none}
    .mz-tbl,.mz-tbl tbody,.mz-tbl tbody tr,.mz-tbl tbody td{display:block;width:100%}
    .mz-tbl tbody tr{border:1px solid var(--mz-line);border-radius:14px;margin-bottom:.7rem;padding:.3rem .2rem;background:var(--mz-surf)}
    .mz-tbl tbody tr:hover{background:var(--mz-surf)}
    .mz-tbl tbody td{display:flex;justify-content:space-between;align-items:center;gap:1rem;border:0;padding:.5rem .9rem}
    .mz-tbl tbody td::before{content:attr(data-label);font:700 10px/1.2 'Inter';text-transform:uppercase;letter-spacing:.06em;color:var(--mz-mut2);flex:0 0 auto}
    .mz-tbl td[data-label="Aksi"]{justify-content:flex-end}
    .mz-tbl td[data-label="Aksi"]::before{display:none}
    .mz-tbl td .mz-select{max-width:none!important}
    .mz-prog{min-width:0;flex:1}
}
@media(max-width:400px){
    .mz-kpis,.mz-kpis-inap,.mz-kpis-6,.mz-mon-grid{grid-template-columns:1fr}
}

/* ── top teknisi clickable + modal detail ── */
.mz-card-h.is-link{appearance:none;background:none;border:0;padding:0;width:100%;cursor:pointer;text-align:left}
.mz-card-h.is-link:hover{color:var(--mz-text)}
.mz-card-h.is-link:focus-visible{outline:2px solid var(--mz-a2);outline-offset:3px;border-radius:6px}
.mz-card-more{margin-left:auto;display:inline-flex;align-items:center;gap:.1rem;color:var(--mz-a2);font:600 9.5px 'Inter';letter-spacing:.03em;text-transform:none}
.mz-card-more .material-symbols-outlined{font-size:14px}

.mz-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1.2rem}
.mz-modal-back{position:absolute;inset:0;background:rgba(6,6,10,.66);backdrop-filter:blur(4px)}
.mz-modal-panel{position:relative;z-index:1;width:100%;max-width:560px;max-height:82vh;display:flex;flex-direction:column;
    border:1px solid var(--mz-line);border-radius:20px;background:var(--mz-surf);backdrop-filter:blur(16px);
    box-shadow:0 30px 80px -20px rgba(0,0,0,.7);overflow:hidden}
.mz-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;border-bottom:1px solid var(--mz-line)}
.mz-modal-head h3{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:17px;letter-spacing:-.01em;color:var(--mz-text)}
.mz-modal-sub{display:block;margin-top:.25rem;font:600 11px 'Inter';color:var(--mz-a2)}
.mz-modal-close{appearance:none;border:1px solid var(--mz-line);background:var(--mz-surf2);color:var(--mz-mut);width:30px;height:30px;
    border-radius:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:.15s}
.mz-modal-close:hover{color:var(--mz-text);border-color:rgba(255,255,255,.18)}
.mz-modal-close .material-symbols-outlined{font-size:18px}
.mz-modal-body{padding:.5rem .8rem;overflow-y:auto}
.mz-ttrow{display:flex;align-items:center;gap:.6rem;padding:.5rem .55rem;border-radius:10px}
.mz-ttrow:not(.mz-tthead):hover{background:var(--mz-fill)}
.mz-tthead{position:sticky;top:0;background:var(--mz-surf);z-index:1}
.mz-ttrank{width:22px;height:22px;flex-shrink:0;border-radius:6px;display:flex;align-items:center;justify-content:center;font:700 10px 'Space Grotesk';color:var(--mz-mut);background:var(--mz-fill2)}
.mz-tthead .mz-ttrank{background:none;color:var(--mz-mut2);font:700 9.5px 'Inter'}
.mz-ttrank.top{background:var(--mz-grad);color:#0B0B10}
.mz-ttname{flex:1;min-width:0;font:600 12.5px 'Inter';color:var(--mz-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-tthead .mz-ttname{font:700 9.5px 'Inter';text-transform:uppercase;letter-spacing:.07em;color:var(--mz-mut2)}
.mz-ttnum{width:50px;flex-shrink:0;text-align:right;font:700 13px 'Space Grotesk'}
.mz-tthead .mz-ttnum{font:700 9px 'Inter';text-transform:uppercase;letter-spacing:.05em;color:var(--mz-mut2)}
.mz-tttot{color:var(--mz-text)}
.mz-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.3rem;border-top:1px solid var(--mz-line)}
.mz-modal-count{font:600 11px 'Inter';color:var(--mz-mut2)}
.mz-modal-link{display:inline-flex;align-items:center;gap:.25rem;font:700 12px 'Inter';color:var(--mz-a2);text-decoration:none}
.mz-modal-link:hover{color:var(--mz-text)}
.mz-modal-link .material-symbols-outlined{font-size:16px}
@media(max-width:560px){ .mz-ttnum{width:42px;font-size:12px} .mz-modal-head h3{font-size:15px} }

/* ── baris teknisi clickable + drill-down detail ── */
.mz-brow-btn{appearance:none;background:none;border:0;width:100%;cursor:pointer;text-align:left;color:inherit;font:inherit}
.mz-ttrow-btn{appearance:none;background:none;border:0;width:100%;cursor:pointer;color:inherit;font:inherit}
.mz-ttrow-btn:hover{background:var(--mz-fill)}
.mz-brow-btn:focus-visible,.mz-ttrow-btn:focus-visible{outline:2px solid var(--mz-a2);outline-offset:-2px;border-radius:10px}
.mz-td-dot{width:7px;height:7px;border-radius:50%;background:var(--mz-mut2);display:inline-block;margin-right:.4rem;flex-shrink:0;vertical-align:1px}
.mz-td-dot.on{background:var(--mz-pos);box-shadow:0 0 7px -1px var(--mz-pos)}
.mz-td-activebadge{margin-left:.45rem;padding:.05rem .35rem;border-radius:999px;background:rgba(124,92,255,.16);border:1px solid rgba(124,92,255,.4);color:#C4B5FD;font:700 8.5px 'Inter';text-transform:uppercase;letter-spacing:.04em;vertical-align:1px}

.mz-td-head{display:flex;align-items:center;gap:.7rem}
.mz-td-avatar{width:40px;height:40px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 13px 'Space Grotesk';color:var(--mz-mut);background:var(--mz-fill2);border:1px solid var(--mz-line)}
.mz-td-avatar.on{color:var(--mz-pos);background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.35)}
.mz-td-status{color:var(--mz-mut2)}.mz-td-status.on{color:var(--mz-pos)}
.mz-td-sec{font:700 9.5px 'Inter';text-transform:uppercase;letter-spacing:.08em;color:var(--mz-mut2);margin:1rem .55rem .5rem}
.mz-td-sec:first-child{margin-top:.4rem}
.mz-td-active{display:flex;align-items:center;gap:.7rem;padding:.7rem .8rem;margin:0 .35rem;border:1px solid rgba(124,92,255,.25);border-radius:12px;background:linear-gradient(180deg,rgba(124,92,255,.07),transparent),var(--mz-surf2)}
.mz-td-anum{font:700 14px 'Space Grotesk';color:var(--mz-a1);flex-shrink:0}
.mz-td-rmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}
.mz-td-dev{font:600 12px 'Inter';color:var(--mz-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-td-cust{font:500 10.5px 'Inter';color:var(--mz-mut2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mz-td-badge{flex-shrink:0;padding:.18rem .5rem;border-radius:999px;font:700 9px 'Inter';text-transform:uppercase;letter-spacing:.04em;background:var(--mz-fill2);color:var(--mz-mut)}
.mz-td-badge.pos{background:rgba(52,211,153,.14);color:#34D399}
.mz-td-badge.neg{background:rgba(251,113,133,.14);color:#FB7185}
.mz-td-since{font:500 10.5px 'Inter';color:var(--mz-mut2);margin:.4rem .6rem 0}
.mz-td-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin:0 .35rem}
.mz-td-stats>div{display:flex;flex-direction:column;gap:.2rem;align-items:center;padding:.6rem .3rem;border:1px solid var(--mz-line);border-radius:11px;background:var(--mz-surf2)}
.mz-td-snum{font:700 17px 'Space Grotesk';color:var(--mz-text)}
.mz-td-slbl{font:600 8.5px 'Inter';text-transform:uppercase;letter-spacing:.05em;color:var(--mz-mut2)}
.mz-td-row{display:flex;align-items:center;gap:.6rem;padding:.45rem .6rem;border-radius:9px}
.mz-td-row:hover{background:var(--mz-fill)}
.mz-td-rnum{font:700 11px 'Space Grotesk';color:var(--mz-mut);flex-shrink:0;min-width:42px}
.mz-td-stage{flex-shrink:0;font:600 9.5px 'Inter';color:#C4B5FD;padding:.12rem .45rem;border-radius:6px;background:rgba(124,92,255,.12)}
.mz-td-rmeta{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:.2rem}
.mz-td-time{font:500 9.5px 'Inter';color:var(--mz-mut2)}
@media(max-width:560px){ .mz-td-stats{grid-template-columns:repeat(3,1fr)} }

/* ── motion off ── */
@media(prefers-reduced-motion:reduce){
    .mz-live,.mz-underline{animation:none}
    .mz-card,.mz-brow-bar i,.mz-brow,.mz-pivot td.hot{transition:none}
}
@keyframes mzpulse{0%{box-shadow:0 0 0 0 rgba(34,211,238,.55)}70%{box-shadow:0 0 0 8px rgba(34,211,238,0)}100%{box-shadow:0 0 0 0 rgba(34,211,238,0)}}
@keyframes mzshim{0%{background-position:0 0}100%{background-position:200% 0}}
