:root {
    --em-900: #14532d; --em-800: #166534; --em-700: #15803d; --em-600: #16a34a; --em-500: #22c55e;
    --em-100: #dcfce7; --em-50: #f0fdf4;
    --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f6faf8; --white: #fff;
    --warn: #b45309; --warn-bg: #fef3c7; --danger: #b91c1c; --danger-bg: #fee2e2; --info: #1d4ed8; --info-bg: #dbeafe;
    --radius: 16px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(6,78,59,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px; }
a { color: var(--em-700); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 520px; }
.container.mid { max-width: 820px; }
main { min-height: calc(100vh - 220px); padding-bottom: 40px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.inline { display: inline; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; } .mt0 { margin-top: 0; }

/* Topbar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 16px; }
.topbar-inner { min-height: 76px !important; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--em-900); text-decoration: none; padding-right: 18px; border-right: 1px solid var(--line); }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.75rem; font-weight: 800; color: var(--em-900); letter-spacing: -.02em; }
.brand-text small { font-size: .78rem; color: var(--ink); font-weight: 500; margin-top: 3px; }
.ic { flex: 0 0 auto; vertical-align: middle; }
.nav a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.nav a.active { font-weight: 700; color: var(--em-700) !important; background: transparent !important; }
.nav a.active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -2px; height: 4px; border-radius: 4px; background: var(--em-600); }
.nav-actions { display: inline-flex; gap: 10px; margin-left: 18px; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn { box-shadow: 0 2px 0 rgba(20,83,45,.15); }
.btn:not(.btn-outline):not(.btn-ghost):not(.btn-wa):not(.btn-danger) { background: linear-gradient(180deg, #16a34a, #15803d); }
.btn-outline { border-width: 1.5px; border-color: var(--em-700); color: var(--em-800); }
@media (max-width: 1080px) { .brand { border-right: 0; padding-right: 0; } .nav-actions { margin-left: 0; } }
.role-chip { font-size: .7rem; letter-spacing: 0; font-weight: 600; background: var(--em-50); color: var(--em-700); padding: 2px 8px; border-radius: 99px; border: 1px solid var(--em-100); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav a:not(.btn):hover, .nav a.active { background: var(--em-50); color: var(--em-800); }
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1080px) {
    .nav-actions { display: flex; flex-direction: column; margin-top: 8px; }
    .nav a.active::after { display: none; }
    .nav-burger { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; }
    .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
    .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav form button { width: 100%; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--em-600); color: #fff; border: 1px solid var(--em-600); padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; font-family: inherit; transition: background .15s, transform .05s; }
.btn:hover { background: var(--em-700); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 6px 12px; font-size: .85rem; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--em-700); border-color: var(--em-100); }
.btn-ghost:hover { background: var(--em-50); }
.btn-outline { background: #fff; color: var(--em-700); border-color: var(--em-600); }
.btn-outline:hover { background: var(--em-50); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #991b1b; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.card-title h2, .card-title h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-side { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.page-head h1 { margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit; display: block; }
.stat:hover { border-color: var(--em-500); }
.stat .num { font-size: 1.6rem; font-weight: 700; color: var(--em-800); }
.stat .lbl { font-size: .82rem; color: var(--muted); }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge.ok { background: var(--em-100); color: var(--em-800); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.muted { background: #f1f5f9; color: var(--muted); }
.queue { display: inline-block; font-weight: 800; color: var(--em-800); background: var(--em-50); border: 1px solid var(--em-100); padding: 2px 10px; border-radius: 8px; }
.queue.big { font-size: 1.5rem; padding: 4px 16px; border-radius: 12px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; border: 1px solid transparent; }
.alert-success { background: var(--em-50); border-color: var(--em-100); color: var(--em-800); }
.alert-error, .alert-danger { background: var(--danger-bg); border-color: #fecaca; color: var(--danger); }
.alert-warning { background: var(--warn-bg); border-color: #fde68a; color: var(--warn); }
.alert-info { background: var(--info-bg); border-color: #bfdbfe; color: var(--info); }
.callout { background: var(--em-50); border: 1px dashed var(--em-500); border-radius: 12px; padding: 12px 14px; }
.callout.warn { background: var(--warn-bg); border-color: #f59e0b; }
.callout.danger { background: var(--danger-bg); border-color: #f87171; }

/* Forms */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--em-500); outline-offset: 0; border-color: var(--em-500); }
input[disabled] { background: #f1f5f9; color: var(--muted); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; accent-color: var(--em-600); }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; font-weight: 400; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; padding: 6px; font-size: 1rem; color: var(--muted); }
.ord-detail-list { margin: 10px 0 15px; padding: 13px; border: 1px solid #bbdfc5; border-radius: 12px; background: #f7fcf8; }
.ord-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ord-detail-head strong, .ord-detail-head span { display: block; }
.ord-detail-head span { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.ord-detail-row { display: grid; grid-template-columns: 1.05fr 1.5fr .7fr 1.1fr 1.25fr 34px; gap: 7px; margin-top: 8px; }
.ord-detail-row input, .ord-detail-row select { min-width: 0; padding: 8px 9px; font-size: .82rem; }
.ord-remove-detail { width: 34px; min-height: 38px; border: 1px solid #fecaca; border-radius: 8px; color: #b91c1c; background: #fff; cursor: pointer; font-size: 1.25rem; }
.asset-summary { display: none; }
.ord-form.js .asset-summary-row { display: block; margin-top: 10px; }
.ord-form.js .asset-summary-row > select, .ord-form.js .asset-summary-row > input { display: none; }
.ord-form.js .asset-summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #d9e8de; border-radius: 12px; background: #fff; }
.asset-summary-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--em-700); background: var(--em-50); }
.asset-summary > div { min-width: 0; }
.asset-summary strong, .asset-summary span, .asset-summary small { display: block; }
.asset-summary strong { overflow: hidden; color: #0f172a; text-overflow: ellipsis; white-space: nowrap; }
.asset-summary > div > span { color: #64748b; font-size: .8rem; }
.asset-summary small { color: #64748b; font-size: .76rem; }
.asset-summary > b { color: var(--em-700); font-size: 1rem; white-space: nowrap; }
.asset-summary-actions { display: flex !important; align-items: center; gap: 6px; }
.asset-edit-detail, .debt-edit-detail, .asset-summary-actions .ord-remove-detail { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; background: #fff; cursor: pointer; }
.asset-edit-detail, .debt-edit-detail { padding: 0 11px; border: 1px solid #bbdfc5; color: var(--em-700); font-weight: 700; }
.asset-summary-actions .ord-remove-detail { width: 36px; }
.asset-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 24px; color: #0f172a; background: #fff; box-shadow: 0 30px 90px rgba(15,23,42,.3); }
.asset-dialog::backdrop { background: rgba(30,41,59,.64); backdrop-filter: blur(3px); }
.asset-dialog-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; min-height: 112px; padding: 22px 34px; background: linear-gradient(120deg, #fff 0%, #f3fff6 56%, #d7f7df 100%); }
.asset-dialog-head::after { content: ""; position: absolute; right: -8%; bottom: -72px; width: 62%; height: 120px; border-radius: 50%; background: rgba(34,197,94,.13); transform: rotate(-7deg); }
.asset-dialog-head > span { position: relative; z-index: 1; width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center; border-radius: 17px; color: var(--em-700); background: #e4f9e9; box-shadow: 0 8px 18px rgba(21,128,61,.12); }
.asset-dialog-head > div { position: relative; z-index: 1; }
.asset-dialog-head h2 { margin: 0; font-size: 1.45rem; }
.asset-dialog-head p { margin: 4px 50px 0 0; color: #475569; }
.asset-dialog-close { position: absolute; z-index: 2; right: 22px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #d8e1e7; border-radius: 50%; color: #0f172a; background: #fff; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.asset-dialog-body { padding: 26px 34px 0; }
.asset-dialog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.asset-dialog-grid .field { margin: 0; }
.asset-dialog-grid label { color: #0f172a; font-weight: 700; }
.asset-dialog-grid input, .asset-dialog-grid select { min-height: 48px; }
.asset-dialog-wide { grid-column: 1 / -1; }
.asset-money-input { position: relative; }
.asset-money-input > span { position: absolute; left: 15px; top: 50%; z-index: 1; transform: translateY(-50%); color: #475569; font-weight: 700; }
.asset-money-input input { padding-left: 48px; font-size: 1.05rem; }
.asset-dialog-grid textarea { min-height: 92px; }
.asset-dialog-error { min-height: 22px; margin: 12px 0 0; color: var(--danger); font-size: .88rem; }
.asset-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -34px; padding: 18px 34px 24px; border-top: 1px solid #edf1f3; background: #fbfdfc; }
.asset-dialog-actions .btn { min-width: 130px; min-height: 48px; }
.asset-dialog-actions .btn:last-child { min-width: 210px; }
.tax-detail-summary { padding-left: 18px; color: #334155; font-size: .85rem; }
.coretax-secret { display: inline-flex; align-items: center; gap: 8px; }
.coretax-secret input { width: 180px; min-height: 38px; padding: 7px 10px; font: inherit; border: 1px solid #cbd5e1; border-radius: 9px; background: #f8fafc; }

/* Customer: Pesanan Saya */
.cust-dashboard { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; }
.cust-welcome { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; min-height: 92px; padding: 18px 34px; border: 1px solid #bde8c8; border-radius: 18px; background: linear-gradient(105deg, #fff 0%, #f1fff5 62%, #d6f8df 100%); box-shadow: 0 8px 22px rgba(15,73,42,.06); }
.cust-welcome::after { content: ""; position: absolute; right: -3%; bottom: -70px; width: 38%; height: 115px; border-radius: 50%; background: rgba(74,222,128,.32); transform: rotate(-7deg); }
.cust-welcome-icon { position: relative; z-index: 1; flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #4ade80, #16a34a); box-shadow: 0 8px 18px rgba(22,163,74,.24); }
.cust-welcome > div { position: relative; z-index: 1; padding-left: 22px; border-left: 1px solid #86efac; }
.cust-welcome strong { display: block; color: #14532d; font-size: 1.28rem; font-weight: 800; }
.cust-welcome p { margin: 2px 0 0; color: #475569; }
.cust-heading { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 20px; }
.cust-heading > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: #07852d; background: #dcfce7; }
.cust-heading h1 { margin: 0; color: #062e1c; font-size: clamp(1.8rem,3vw,2.35rem); font-weight: 850; }
.cust-heading p { margin: 2px 0 0; color: #475569; font-size: 1rem; }
.cust-heading .btn { min-width: 235px; min-height: 56px; font-weight: 800; }
.cust-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.cust-stats article { position: relative; overflow: hidden; min-height: 94px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid #dbe7e0; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(15,73,42,.05); }
.cust-stats article::after { content: ""; position: absolute; right: -22px; bottom: -43px; width: 120px; height: 75px; border-radius: 50%; background: rgba(134,239,172,.25); transform: rotate(-10deg); }
.cust-stats .is-wait::after { background: rgba(253,230,138,.35); }
.cust-stats img { position: relative; z-index: 1; width: 54px; height: 54px; object-fit: contain; }
.cust-stats div { position: relative; z-index: 1; display: flex; flex-direction: column; }
.cust-stats span { color: #334155; font-size: .88rem; }
.cust-stats strong { color: #075c2c; font-size: 1.8rem; line-height: 1.15; }
.cust-profile-reminder { min-height: 58px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 20px; border: 1px solid #86d99f; border-radius: 14px; color: #0f172a; background: linear-gradient(90deg,#fff,#f1fff5); text-decoration: none; }
.cust-profile-reminder > .ic { color: #07852d; }
.cust-profile-reminder strong { color: #07852d; text-decoration: underline; }
.cust-empty { position: relative; overflow: hidden; min-height: 275px; display: grid; grid-template-columns: 43% 1fr; align-items: center; gap: 30px; padding: 30px 70px; border: 1px solid #dbe7e0; border-radius: 20px; background: linear-gradient(120deg,#fff 0%,#fbfffc 72%,#e9faee 100%); box-shadow: 0 12px 28px rgba(15,73,42,.055); }
.cust-empty::before, .cust-empty::after { content: ""; position: absolute; left: -4%; bottom: -75px; width: 42%; height: 135px; border-radius: 50%; background: rgba(134,239,172,.22); transform: rotate(8deg); }
.cust-empty::after { left: auto; right: -5%; background: rgba(74,222,128,.18); transform: rotate(-8deg); }
.cust-empty-art, .cust-empty-copy { position: relative; z-index: 1; }
.cust-empty-art { text-align: center; }
.cust-empty-art img { width: min(320px,100%); height: auto; mix-blend-mode: multiply; }
.cust-empty-copy h2 { margin: 0; color: #064e2b; font-size: 2rem; font-weight: 850; }
.cust-empty-copy p { max-width: 480px; margin: 6px 0 18px; color: #475569; font-size: 1.05rem; }
.cust-empty-copy .btn { min-width: 270px; }
.cust-orders-card { overflow: hidden; border: 1px solid #dce7e1; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(15,73,42,.05); }
.cust-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 24px; border-bottom: 1px solid #e7efea; }
.cust-orders-head h2, .cust-orders-head p { margin: 0; }
.cust-orders-head p { color: #64748b; font-size: .9rem; }
.cust-orders-head > span { padding: 5px 12px; border-radius: 99px; color: #087c2c; background: #dcfce7; font-weight: 700; font-size: .8rem; }
.cust-orders-card .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.completion-dialog { width: min(720px, calc(100vw - 30px)); padding: 0; overflow: hidden; border: 0; border-radius: 28px; color: #0f172a; background: linear-gradient(145deg,#fff 0%,#f6fff8 62%,#ddfbe6 100%); box-shadow: 0 32px 90px rgba(6,78,38,.34); text-align: center; }
.completion-dialog::backdrop { background: rgba(15,23,42,.67); backdrop-filter: blur(5px); }
.completion-close { position: absolute; z-index: 3; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #d9e7df; border-radius: 50%; color: #334155; background: rgba(255,255,255,.9); box-shadow: 0 5px 15px rgba(15,23,42,.08); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.completion-confetti { position: absolute; inset: 0 0 auto; height: 125px; overflow: hidden; pointer-events: none; }
.completion-confetti i { position: absolute; top: -10px; width: 11px; height: 30px; border-radius: 8px; background: #22c55e; transform: rotate(28deg); }
.completion-confetti i:nth-child(1) { left: 9%; background: #facc15; transform: rotate(-31deg); }
.completion-confetti i:nth-child(2) { left: 27%; top: 24px; background: #38bdf8; }
.completion-confetti i:nth-child(3) { left: 51%; top: 7px; background: #fb7185; transform: rotate(52deg); }
.completion-confetti i:nth-child(4) { left: 73%; top: 30px; background: #a78bfa; transform: rotate(-18deg); }
.completion-confetti i:nth-child(5) { left: 91%; background: #f59e0b; transform: rotate(37deg); }
.completion-icon { position: relative; width: 106px; height: 106px; display: grid; place-items: center; margin: 56px auto 18px; border: 12px solid #dcfce7; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#22c55e,#07852d); box-shadow: 0 14px 30px rgba(21,128,61,.28); }
.completion-kicker { margin: 0 0 8px; color: #07852d; font-size: .8rem; font-weight: 900; letter-spacing: .16em; }
.completion-dialog h2 { margin: 0; color: #052e1a; font-size: clamp(1.8rem,4vw,2.45rem); }
.completion-copy { max-width: 570px; margin: 14px auto 24px; padding: 0 26px; color: #475569; font-size: 1rem; line-height: 1.65; }
.completion-summary { width: calc(100% - 80px); display: grid; grid-template-columns: 2fr 1fr; gap: 1px; margin: 0 auto 28px; overflow: hidden; border: 1px solid #cde9d5; border-radius: 16px; background: #cde9d5; text-align: left; }
.completion-summary > div { display: flex; flex-direction: column; gap: 4px; padding: 17px 20px; background: rgba(255,255,255,.9); }
.completion-summary small { color: #64748b; }
.completion-summary strong { color: #0f5132; }
.completion-actions { display: flex; justify-content: center; gap: 14px; padding: 22px 28px 28px; border-top: 1px solid #dcece1; background: rgba(255,255,255,.72); }
.completion-actions .btn { min-width: 170px; justify-content: center; }
@media (max-width: 900px) {
    .cust-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cust-empty { grid-template-columns: 1fr; padding: 28px; text-align: center; }
    .cust-empty-art img { width: 220px; }
    .cust-empty-copy p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .cust-dashboard { padding-top: 18px; }
    .cust-welcome { align-items: flex-start; padding: 18px; }
    .cust-welcome > div { padding-left: 0; border-left: 0; }
    .cust-welcome strong { font-size: 1.05rem; }
    .cust-heading { grid-template-columns: 52px 1fr; }
    .cust-heading > span { width: 50px; height: 50px; }
    .cust-heading .btn { grid-column: 1/-1; width: 100%; }
    .cust-stats { grid-template-columns: 1fr; }
    .completion-icon { width: 88px; height: 88px; margin-top: 48px; border-width: 9px; }
    .completion-summary { width: calc(100% - 36px); grid-template-columns: 1fr; }
    .completion-actions { flex-direction: column-reverse; padding: 18px; }
    .completion-actions .btn { width: 100%; }
    .cust-empty { min-height: 0; padding: 24px 18px; }
    .cust-empty-copy h2 { font-size: 1.55rem; }
    .cust-empty-copy .btn { min-width: 0; width: 100%; }
}

/* Customer dashboard v2 */
body.page-customer-dashboard main {
    overflow: hidden;
    padding-bottom: 0;
    background:
        radial-gradient(circle at 5% 8%,rgba(134,239,172,.2),transparent 30%),
        radial-gradient(circle at 95% 82%,rgba(74,222,128,.12),transparent 32%),
        linear-gradient(135deg,#f8fcfa,#effaf4 60%,#f8fcfa);
}
body .cust-dashboard-v2 {
    max-width: 1480px;
    gap: 26px;
    padding: 0 28px 70px;
}
.cust-hero {
    position: relative;
    min-height: 245px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 540px;
    align-items: center;
    gap: 30px;
}
.cust-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse at 76% 110%,rgba(74,222,128,.17),transparent 40%),
        linear-gradient(115deg,rgba(255,255,255,.38),rgba(220,252,231,.2));
}
body .cust-dashboard-v2 .cust-heading {
    position: relative;
    z-index: 1;
    grid-template-columns: 70px minmax(0,1fr);
    gap: 24px;
}
body .cust-dashboard-v2 .cust-heading > span {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    box-shadow: 0 8px 20px rgba(21,128,61,.08);
}
body .cust-dashboard-v2 .cust-heading h1 {
    font-size: clamp(2.35rem,3.3vw,3.25rem);
    letter-spacing: -.035em;
}
body .cust-dashboard-v2 .cust-heading p { margin-top: 4px; font-size: 1.08rem; }
body .cust-dashboard-v2 .cust-heading p strong { color: #063d25; }
body .cust-dashboard-v2 .cust-heading .btn {
    min-width: 270px;
    min-height: 60px;
    margin-top: 22px;
    padding-inline: 28px;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(22,163,74,.2);
}
.cust-hero-art {
    position: relative;
    z-index: 1;
    height: 235px;
    overflow: hidden;
    border-radius: 30px;
    -webkit-mask-image: linear-gradient(90deg,transparent 0,#000 18%,#000 100%);
    mask-image: linear-gradient(90deg,transparent 0,#000 18%,#000 100%);
}
.cust-hero-art img {
    position: absolute;
    top: 0;
    right: -8px;
    width: 620px;
    max-width: none;
    height: 235px;
    object-fit: cover;
    border-radius: 28px;
    mix-blend-mode: multiply;
}
body .cust-dashboard-v2 .cust-stats { gap: 20px; }
body .cust-dashboard-v2 .cust-stats article {
    min-height: 118px;
    gap: 22px;
    padding: 22px 28px;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15,73,42,.075);
}
body .cust-dashboard-v2 .cust-stats article::after { right: -15px; bottom: -55px; width: 145px; height: 90px; }
body .cust-dashboard-v2 .cust-stats img { width: 66px; height: 66px; }
body .cust-dashboard-v2 .cust-stats span { font-size: .95rem; }
body .cust-dashboard-v2 .cust-stats strong { margin-top: 2px; font-size: 2.1rem; }
body .cust-dashboard-v2 .cust-orders-card {
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15,73,42,.09);
}
body .cust-dashboard-v2 .cust-orders-head {
    min-height: 110px;
    gap: 26px;
    padding: 22px 28px;
}
.cust-orders-title { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.cust-orders-title > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: #07852d; background: #dcfce7; }
body .cust-dashboard-v2 .cust-orders-head h2 { color: #0f172a; font-size: 1.45rem; }
.cust-orders-tools { min-width: 0; display: grid; grid-template-columns: minmax(230px,1.55fr) minmax(145px,.75fr) minmax(135px,.7fr) auto; align-items: center; gap: 13px; flex: 1; }
.cust-order-search { position: relative; margin: 0; }
.cust-order-search > svg { position: absolute; z-index: 1; left: 16px; top: 50%; transform: translateY(-50%); color: #52657a; }
.cust-order-search input,
.cust-orders-tools select { height: 50px; border-color: #d5dee7; border-radius: 13px; box-shadow: 0 4px 12px rgba(15,23,42,.035); font-size: .82rem; }
.cust-order-search input { padding-left: 48px; }
.cust-orders-tools > span { padding: 8px 17px; border-radius: 99px; color: #087c2c; background: #dcfce7; white-space: nowrap; font-size: .78rem; font-weight: 800; }
body .cust-dashboard-v2 .cust-orders-card .table-wrap { padding: 0 20px 20px; overflow-x: auto; }
body .cust-dashboard-v2 .cust-orders-card table { min-width: 1040px; overflow: hidden; border: 1px solid #e3ebe6; border-radius: 16px; border-collapse: separate; border-spacing: 0; }
body .cust-dashboard-v2 .cust-orders-card thead { background: linear-gradient(90deg,#eef9f1,#f6fcf8); }
body .cust-dashboard-v2 .cust-orders-card th { padding: 14px 13px; border-bottom: 1px solid #e4ece7; color: #52657a; font-size: .74rem; text-transform: uppercase; }
body .cust-dashboard-v2 .cust-orders-card td { padding: 15px 13px; border-bottom: 0; }
body .cust-dashboard-v2 .cust-orders-card tbody tr { background: #fff; }
body .cust-dashboard-v2 .cust-orders-card tbody tr:hover { background: #fbfefc; }
body .cust-dashboard-v2 .cust-orders-card .queue { min-width: 54px; padding: 5px 12px; border-radius: 10px; text-align: center; }
body .cust-dashboard-v2 .cust-orders-card .badge { padding: 7px 13px; }
body .cust-dashboard-v2 .cust-orders-card td:last-child .btn { min-width: 92px; padding: 8px 16px; border-color: #16a34a; }
.cust-orders-no-result { margin: -2px 20px 20px; padding: 26px; border: 1px dashed #bbd9c4; border-radius: 14px; color: #64748b; background: #f8fcf9; text-align: center; }
body.page-customer-dashboard .footer { border-top: 0; background: rgba(255,255,255,.5); }

@media (max-width: 1120px) {
    .cust-hero { grid-template-columns: minmax(0,1fr) 400px; }
    .cust-hero-art img { right: -100px; }
    .cust-orders-head { align-items: stretch; flex-direction: column; }
    .cust-orders-tools { width: 100%; }
}
@media (max-width: 820px) {
    body .cust-dashboard-v2 { padding-inline: 18px; }
    .cust-hero { min-height: 0; grid-template-columns: 1fr; padding: 32px 0; }
    .cust-hero-art { display: none; }
    body .cust-dashboard-v2 .cust-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cust-orders-tools { grid-template-columns: 1fr 1fr; }
    .cust-order-search { grid-column: 1/-1; }
    .cust-orders-tools > span { justify-self: end; }
}
@media (max-width: 560px) {
    body .cust-dashboard-v2 { gap: 17px; padding-inline: 12px; }
    body .cust-dashboard-v2 .cust-heading { grid-template-columns: 50px minmax(0,1fr); gap: 12px; }
    body .cust-dashboard-v2 .cust-heading > span { width: 48px; height: 48px; border-radius: 14px; }
    body .cust-dashboard-v2 .cust-heading h1 { font-size: 1.9rem; }
    body .cust-dashboard-v2 .cust-heading p { font-size: .9rem; }
    body .cust-dashboard-v2 .cust-heading .btn { width: 100%; min-width: 0; min-height: 52px; margin-top: 16px; }
    body .cust-dashboard-v2 .cust-stats { grid-template-columns: 1fr; gap: 12px; }
    body .cust-dashboard-v2 .cust-stats article { min-height: 92px; padding: 14px 20px; }
    body .cust-dashboard-v2 .cust-stats img { width: 54px; height: 54px; }
    body .cust-dashboard-v2 .cust-orders-head { padding: 18px; }
    .cust-orders-title { align-items: flex-start; }
    .cust-orders-tools { grid-template-columns: 1fr; }
    .cust-order-search,.cust-orders-tools > span { grid-column: auto; }
    .cust-orders-tools > span { justify-self: start; }
}
.doc-status-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.doc-status-form select { width: auto; min-width: 135px; padding: 6px 8px; font-size: .78rem; }
.link-button { display: inline; padding: 0; border: 0; color: #087c2c; background: none; cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; }
@media (max-width: 760px) {
    .ord-detail-head { align-items: stretch; flex-direction: column; }
    .ord-detail-row { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid #dce7e0; border-radius: 10px; background: #fff; }
    .ord-detail-row input:nth-of-type(1), .ord-detail-row input:last-of-type { grid-column: 1 / -1; }
    .ord-remove-detail { grid-column: 2; justify-self: end; }
    .ord-form.js .asset-summary-row { padding: 0; border: 0; background: transparent; }
    .ord-form.js .asset-summary { grid-template-columns: 42px minmax(0, 1fr); }
    .asset-summary > b { grid-column: 2; }
    .asset-summary-actions { grid-column: 1 / -1; justify-content: flex-end; }
    .asset-dialog-head { padding: 20px; }
    .asset-dialog-head > span { width: 52px; height: 52px; flex-basis: 52px; }
    .asset-dialog-head h2 { padding-right: 28px; font-size: 1.2rem; }
    .asset-dialog-head p { margin-right: 0; font-size: .84rem; }
    .asset-dialog-body { padding: 22px 18px 0; }
    .asset-dialog-grid { grid-template-columns: 1fr; }
    .asset-dialog-wide { grid-column: auto; }
    .asset-dialog-actions { margin: 0 -18px; padding: 16px 18px 22px; }
    .asset-dialog-actions .btn, .asset-dialog-actions .btn:last-child { min-width: 0; flex: 1; }
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 12px; }
.filters > * { flex: 1 1 160px; }
.filters .btn { flex: 0 0 auto; }
.file-drop { border: 2px dashed var(--em-100); background: var(--em-50); border-radius: 12px; padding: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: #f8fafc; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfefc; }
td form { margin: 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; font-size: .92rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 6px; } }

/* Progress stepper */
.stepper { display: flex; gap: 0; list-style: none; padding: 0; margin: 8px 0 4px; counter-reset: s; overflow-x: auto; }
.stepper li { flex: 1; min-width: 88px; text-align: center; position: relative; font-size: .8rem; color: var(--muted); padding-top: 38px; }
.stepper li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: var(--muted); font-weight: 700; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: #e2e8f0; }
.stepper li:first-child::after { display: none; }
.stepper li.done { color: var(--em-800); }
.stepper li.done::before { content: "✓"; background: var(--em-600); color: #fff; }
.stepper li.done::after, .stepper li.current::after { background: var(--em-500); }
.stepper li.current { color: var(--em-800); font-weight: 700; }
.stepper li.current::before { background: #fff; border: 3px solid var(--em-600); color: var(--em-700); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--em-100); margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--em-500); border: 2px solid #fff; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { font-size: .78rem; color: var(--muted); }
.timeline .note { background: #f8fafc; border-radius: 8px; padding: 6px 10px; margin-top: 4px; font-size: .88rem; white-space: pre-line; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .tick { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #cbd5e1; display: grid; place-items: center; flex: 0 0 22px; font-size: .8rem; color: #fff; }
.checklist .tick.on { background: var(--em-600); border-color: var(--em-600); }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.file-list li:last-child { border-bottom: 0; }

/* Landing */
.hero { position: relative; overflow: hidden; padding-bottom: 36px;
    background:
        radial-gradient(1200px 500px at 85% 20%, rgba(219,234,254,.75), transparent 60%),
        radial-gradient(800px 400px at 10% 0%, rgba(220,252,231,.9), transparent 60%),
        linear-gradient(180deg, #f7fbff 0%, #f0fdf4 100%); }
.hero::before, .auth::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 180px, rgba(255,255,255,.55) 180px 186px, transparent 186px 360px); opacity: .5; }
.hero-blob, .auth-blob { position: absolute; left: -140px; top: -120px; width: 380px; height: 300px; border-radius: 0 0 100% 0; background: linear-gradient(135deg, #4ade80, #16a34a); opacity: .85; transform: rotate(-8deg); pointer-events: none; }
.hero-blob::after, .auth-blob::after { content: ""; position: absolute; inset: 24px -40px -40px 24px; border-radius: inherit; background: #dcfce7; opacity: .6; z-index: -1; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; padding-top: 42px; padding-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); color: #0b2e1b; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 14px 0 10px; }
.hero-sub { font-size: clamp(1.2rem, 2.2vw, 1.75rem); font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.hero .lead { font-size: 1.12rem; color: var(--ink); max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: var(--em-100); color: #0f172a; font-weight: 700; font-size: 1rem; padding: 10px 18px; border-radius: 99px; }
.eyebrow .ic { color: var(--em-700); }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; font-size: 1.05rem; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks .ic { color: var(--em-600); }
.hero-cta .btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.hero-art { position: relative; }
.hero-svg { width: 100%; height: auto; display: block; }
.features { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; padding: 22px 12px; box-shadow: 0 10px 40px rgba(20,83,45,.10); border: 1px solid #eef2f0; margin-top: 8px; }
.feature { display: flex; gap: 16px; align-items: center; padding: 4px 22px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature strong { display: block; font-size: 1.08rem; color: #0f172a; }
.feature span:not(.feature-ic) { display: block; color: var(--ink-2); font-size: .92rem; line-height: 1.35; }
.feature-ic { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f0fdf4, #dcfce7); color: var(--em-700); }
.features.compact { padding: 14px 6px; border-radius: 18px; }
.features.compact .feature { padding: 2px 12px; gap: 10px; }
.features.compact .feature-ic { width: 46px; height: 46px; }
.features.compact strong { font-size: .95rem; line-height: 1.2; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); row-gap: 16px; } .feature:nth-child(3) { border-left: 0; } }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; padding-top: 24px; } .hero-art { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } .feature + .feature { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; } .hero-cta .btn { width: 100%; } }
.section { padding: 56px 0 8px; }
.section h2 { font-size: 1.7rem; color: var(--em-900); }
.section-head { text-align: center; margin-bottom: 22px; }
.service-card { display: flex; flex-direction: column; }
.service-card .feature-ic { width: 52px; height: 52px; margin-bottom: 12px; }
.service-card .btn { margin-top: auto; }
.faq details.card { padding: 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--em-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--ink-2); }
.faq details + details { margin-top: 10px; }
.contact-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #f0fdf4, #fff); }

/* Login / auth */
body.page-auth .topbar { display: none; }
.auth { position: relative; overflow: hidden; min-height: calc(100vh - 110px); display: flex; align-items: center;
    background: radial-gradient(900px 500px at 30% 30%, rgba(219,234,254,.8), transparent 60%), linear-gradient(180deg, #f5f9ff, #f0fdf4); padding: 28px 0; }
.auth-inner { position: relative; display: grid; grid-template-columns: 1.15fr .95fr; gap: 28px; align-items: center; }
.auth-art .features { margin-top: -10px; }
.dev-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2e8f0; font-size: .9rem; color: #334155; }
.dev-brand { display: inline-flex; align-items: center; gap: 8px; }
.dev-brand img { border-radius: 50%; }
.dev-name { display: flex; flex-direction: column; line-height: 1.1; font-size: 1rem; color: #14532d; }
.dev-name .gold { color: #c2860a; }
.dev-link { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid #cbd5e1; color: #15803d; font-weight: 600; text-decoration: underline; }
.auth-hero-img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 20px 60px rgba(20,83,45,.10); }
.auth-side { display: flex; flex-direction: column; gap: 18px; }
.auth-brand { align-self: center; text-decoration: none; }
.auth-brand .brand-text strong { font-size: 2.6rem; }
.auth-brand .brand-text small { font-size: 1rem; margin-top: 8px; }
.auth-brand .brand-svg { width: 76px; height: 60px; }
.auth-card { padding: 34px 34px 26px; border-radius: 26px; box-shadow: 0 20px 60px rgba(20,83,45,.12); }
.auth-back-home { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--em-700); font-size: .9rem; font-weight: 700; text-decoration: none; }
.auth-back-home:hover { color: var(--em-900); text-decoration: underline; }
.auth-card h1 { text-align: center; font-size: 2rem; font-weight: 800; }
.auth-card .hl { color: var(--em-700); }
.icon-field { position: relative; }
.auth-field-label { display:block;margin:0 0 7px;color:#1f2937;font-size:.86rem;font-weight:800; }
.auth-field-help { display:block;margin:-8px 2px 15px;color:#64748b;font-size:.72rem; }
.icon-field input { padding: 15px 16px 15px 54px; border-radius: 14px; font-size: 1.02rem; border-color: #cbd5e1; }
.field-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #334155; pointer-events: none; display: flex; }
.icon-field.pw-wrap input { padding-right: 54px; }
.pw-toggle { color: #334155; display: flex; }
.pw-toggle.on { color: var(--em-600); }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 18px; }
.auth-row .check { margin: 0; font-weight: 500; }
.auth-row .check input { width: 20px; height: 20px; margin-top: 1px; }
.link-strong { font-weight: 700; text-decoration: none; color: var(--em-700); }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--ink-2); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.help-bar { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--em-50); text-decoration: none; color: var(--ink); }
.help-bar span { flex: 1; }
.help-bar:hover { background: var(--em-100); }
@media (max-width: 960px) { .auth-inner { grid-template-columns: 1fr; } .auth-art { order: 2; } .auth-art .hero-svg, .auth-hero-img { max-width: 520px; margin: 0 auto; } }
@media (max-width: 520px) { .auth-card { padding: 24px 18px; } .auth-brand .brand-text strong { font-size: 2rem; } }
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.steps .card { position: relative; padding-top: 46px; }
.steps .card::before { counter-increment: st; content: counter(st); position: absolute; top: 14px; left: 20px; width: 26px; height: 26px; border-radius: 8px; background: var(--em-600); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--em-700); }

/* Landing — gambar dinamis (Konten Beranda) */
.hero-img { display: block; width: 100%; height: auto; border-radius: 24px; }
.section h2.deco { display: inline-flex; align-items: center; gap: 18px; }
.section h2.deco::before, .section h2.deco::after { content: ""; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, #facc15); }
.section h2.deco::after { transform: scaleX(-1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.feature-ic.solid { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.service-img { width: 78px; height: 78px; object-fit: contain; margin-top: -6px; }
.service-card .price { align-self: flex-start; color: #fff; background: linear-gradient(180deg, #16a34a, #166534); padding: 4px 22px 4px 18px; margin: 4px 0 10px; border-radius: 6px 4px 4px 6px; clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); font-size: 1.45rem; }
.steps .step-card { padding-top: 18px; text-align: left; }
.steps .step-card::before { display: none; }
.step-img { display: block; height: 52px; width: auto; max-width: 80%; object-fit: contain; margin: 0 auto 10px; }
.step-card h3 { display: flex; align-items: center; gap: 8px; }
.step-no { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--em-700); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #f0fdf4, #f8fafc); border: 1px solid #eef2f0; border-radius: 24px; padding: 28px; }
.faq-side h2 { font-size: 1.9rem; color: var(--em-900); }
.faq-side img { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 8px; }
.faq details.card { box-shadow: none; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; padding: 18px; } .faq-side img { max-width: 240px; } }
.contact-copy { display: flex; align-items: center; gap: 18px; }
.contact-copy h2 { margin-bottom: 4px; }
.contact-img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 auto; }
.footer { background: #0b3b24; color: #e2f5ea; border-top: 0; }
.footer .muted { color: #a7c8b5; }
.footer strong { color: #fff; }

/* Beranda publik — komposisi promosi dengan konten dinamis dari admin. */
body.page-home { background: #f7fcfa; }
body.page-home main { padding-bottom: 24px; overflow: hidden; }
.page-home .topbar { border-bottom-color: #e8f2ed; box-shadow: 0 4px 24px rgba(20,83,45,.04); }
.page-home .hero { padding-bottom: 44px; background:
    radial-gradient(780px 420px at 88% 13%, rgba(219,234,254,.72), transparent 65%),
    radial-gradient(680px 420px at 4% 0%, rgba(187,247,208,.72), transparent 64%),
    linear-gradient(180deg, #f8fbff 0%, #f2fbf6 100%); }
.page-home .hero-inner { min-height: 420px; gap: 42px; padding-top: 34px; }
.page-home .hero-copy { position: relative; z-index: 2; }
.page-home .hero h1 { max-width: 560px; font-size: clamp(2.55rem, 5.3vw, 4.35rem); }
.page-home .hero-img { filter: drop-shadow(0 18px 30px rgba(20,83,45,.08)); }
.page-home .features { margin-top: 4px; padding: 20px 10px; }
.page-home .section { padding-top: 52px; }
.page-home .section-head { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-home #layanan .grid { align-items: stretch; }
.page-home #layanan .services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 420px)); justify-content: center; }
.page-home .grid > .card + .card, .page-home .steps > .card + .card { margin-top: 0; }
.page-home .service-card { min-height: 100%; border-color: #e4eee8; border-radius: 18px; padding: 20px; }
.page-home .service-card h3 { font-size: 1.08rem; color: #111827; }
.page-home .service-card .service-sla { margin-bottom: 8px; }
.page-home .service-card details { margin-bottom: 14px; }
.page-home .service-card details summary { cursor: pointer; font-weight: 650; color: #1f2937; }
.page-home .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page-home .step-card { min-width: 0; border-color: #e5eee9; }
.page-home .faq-wrap { background: transparent; border: 0; border-radius: 0; padding: 0; }
.page-home .faq details.card { border-color: #e4ece8; border-radius: 14px; }
.page-home .contact-card { padding: 24px 28px; border-color: #e4eee8; border-radius: 20px; box-shadow: 0 10px 30px rgba(20,83,45,.08); }
.landing-vendor { padding: 34px 0 10px; }
.vendor-card { display: grid; grid-template-columns: 1.05fr 1fr auto; align-items: center; gap: 28px; padding: 22px 34px; border-color: #e5eee9; border-radius: 22px; }
.vendor-app { padding-right: 28px; border-right: 1px solid #dbe7e0; }
.vendor-developer { display: flex; align-items: center; justify-content: center; gap: 18px; color: #334155; }
.vendor-developer > span:first-child { font-size: .84rem; text-align: right; }
.vendor-name { display: inline-flex; align-items: center; gap: 10px; color: #166534; line-height: 1.02; }
.vendor-name img { object-fit: contain; }
.vendor-name strong { font-style: normal; font-size: 1.05rem; }
.vendor-name i { color: #c2860a; font-style: normal; }
.vendor-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.page-home .footer { background: transparent; color: #537064; border-top: 0; text-align: center; padding: 18px 0 30px; }
body.page-home .footer p:first-child { display: none; }
body.page-home .footer .muted { color: #6f9182; max-width: 900px; margin: 0 auto; }
@media (max-width: 1060px) {
    .page-home .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vendor-card { grid-template-columns: 1fr 1fr; }
    .vendor-link { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 860px) {
    .page-home .hero-inner { min-height: 0; gap: 20px; }
    .page-home .hero-copy { text-align: center; }
    .page-home .hero h1, .page-home .hero .lead { margin-left: auto; margin-right: auto; }
    .page-home .ticks { display: inline-grid; text-align: left; }
    .page-home .hero-cta { justify-content: center; }
    .page-home .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vendor-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .vendor-app { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #dbe7e0; }
    .vendor-developer { flex-wrap: wrap; }
    .vendor-developer > span:first-child { text-align: center; width: 100%; }
    .vendor-link { grid-column: auto; }
}
@media (max-width: 560px) {
    .page-home .hero h1 { font-size: 2.35rem; }
    .page-home .hero-sub { font-size: 1.2rem; }
    .page-home .section { padding-top: 40px; }
    .page-home .section h2.deco { gap: 10px; font-size: 1.45rem; }
    .page-home .section h2.deco::before, .page-home .section h2.deco::after { width: 28px; }
    .page-home .steps { grid-template-columns: 1fr; }
    .page-home .contact-card { padding: 20px; }
    .page-home .contact-copy { align-items: flex-start; }
    .page-home .contact-card .btn { width: 100%; }
    .vendor-card { padding: 22px 18px; }
}

/* Daftar akun */
body.page-register main { padding-bottom: 0; }
.reg { position: relative; overflow: hidden; padding: 22px 0 36px;
    background:
        radial-gradient(700px 420px at 0% 10%, rgba(187,247,208,.65), transparent 60%),
        radial-gradient(700px 420px at 100% 90%, rgba(187,247,208,.6), transparent 60%),
        linear-gradient(180deg, #f3fbf7 0%, #eefaf3 100%); }
.reg-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px) minmax(0, 1fr); gap: 20px; align-items: center; max-width: 1480px; }
.reg-inner.no-art { grid-template-columns: minmax(0, 660px); justify-content: center; }
.reg-inner.no-art .reg-art { display: none; }
.reg-art img { display: block; width: 100%; height: auto;
    -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }
.reg-art-right img { margin-top: 40px; }
.reg-card { padding: 26px 34px 22px; border-radius: 26px; box-shadow: 0 20px 60px rgba(20,83,45,.12); border-color: #eef2f0; }
.reg-card h1 { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #0f172a; margin-bottom: 6px; text-align: center; }
.reg-title-ic { color: var(--em-600); display: flex; }
.reg-sub { text-align: center; color: var(--ink); max-width: 500px; margin: 0 auto 12px; }
.reg-form { margin-top: 8px; }
.reg-field { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.reg-ic-username { font-size: 1.35rem; font-weight: 900; line-height: 1; }
.reg-ic { flex: 0 0 34px; display: flex; justify-content: center; padding-top: 4px; color: var(--em-700); }
.reg-body { flex: 1; min-width: 0; }
.reg-body label { margin-bottom: 4px; color: #0f172a; font-weight: 700; font-size: .95rem; }
.req { color: var(--danger); }
.reg-body input { border-radius: 12px; padding: 10px 14px; border-color: #cbd5e1; }
.reg-body .pw-wrap input { padding-right: 46px; }
.reg-body .hint { color: var(--ink-2); }
.reg-agree { margin: 14px 0 16px; font-size: .95rem; color: var(--ink); }
.reg-agree input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 12px 0 6px; }
.reg-agree a { font-weight: 700; color: var(--em-700); }
.reg-card .btn-lg { font-size: 1.2rem; padding: 14px 26px; border-radius: 14px; }
.reg-login { margin: 14px 0 0; font-size: 1.02rem; }
.reg-login a { text-decoration: underline; }
.reg-features { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin-top: 28px; padding: 16px 10px; }
.reg-features .feature { padding: 4px 18px; gap: 14px; }
.reg-features .feature-ic { width: 58px; height: 58px; }
.reg-features strong { font-size: 1.02rem; line-height: 1.25; }
@media (max-width: 1180px) {
    .reg-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
    .reg-art-right { display: none; }
}
@media (max-width: 960px) {
    .reg-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .reg-card { width: 100%; max-width: 640px; }
    .reg-art-left { order: 2; max-width: 380px; }
    .reg-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    .reg-features .feature { border-left: 0 !important; }
}
@media (max-width: 520px) {
    .reg-card { padding: 22px 16px 18px; }
    .reg-card h1 { font-size: 1.4rem; gap: 8px; }
    .reg-title-ic svg { width: 30px; height: 30px; }
    .reg-ic { flex-basis: 24px; }
    .reg-features { grid-template-columns: 1fr; }
    .reg-features .feature + .feature { border-top: 1px solid var(--line); padding-top: 12px; }
}

/* ===== Tata letak admin (sidebar) ===== */
body.layout-admin { background: #f6faf8; }
.adm { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #fbfefc 60%, #effaf3 100%); border-right: 1px solid #e8efeb; padding: 20px 14px 0; z-index: 40; }
.adm-brand { text-decoration: none; padding: 4px 10px 22px; display: block; }
.adm-brand .brand-text strong { font-size: 1.55rem; }
.adm-brand .brand-svg { width: 50px; height: 39px; }
.adm-nav { display: flex; flex-direction: column; gap: 4px; }
.adm-nav a { display: flex; align-items: center; gap: 18px; padding: 13px 18px; border-radius: 14px; color: #1f2937; text-decoration: none; font-size: 1.08rem; font-weight: 500; }
.adm-nav a .ic { color: #334155; }
.adm-nav a:hover { background: var(--em-50); }
.adm-nav a.active { background: linear-gradient(180deg, #16a34a, #166534); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(21,128,61,.25); }
.adm-nav a.active .ic { color: #fff; }
.adm-badge { margin-left: auto; font-style: normal; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--em-600); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.adm-nav a.active .adm-badge { background: #fff; color: var(--em-700); }
.adm-side-card { margin: auto -14px 0; padding: 28px 16px 22px; text-align: center; background: radial-gradient(120% 70% at 50% 100%, #dcfce7 0%, rgba(220,252,231,0) 75%); }
.adm-side-card img { display: block; width: 78%; max-width: 230px; height: auto; margin: 0 auto 10px; }
.adm-side-card strong { display: block; font-size: 1.12rem; line-height: 1.3; color: #0f172a; }
.adm-side-card span { display: block; margin-top: 4px; color: var(--ink-2); }
.adm-side-cta { width: 165px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; border: 1.5px solid #16a34a; border-radius: 12px; color: #087c2c; background: rgba(255,255,255,.72); text-decoration: none; font-size: .85rem; font-weight: 700; }
.adm-side-cta:hover { background: #fff; box-shadow: 0 5px 12px rgba(21,128,61,.12); }
.adm-main { min-width: 0; display: flex; flex-direction: column; }
.adm-top { display: flex; align-items: center; gap: 16px; padding: 14px 28px 10px 44px; min-height: 84px; }
.adm-title { flex: 1; min-width: 0; }
.adm-title h1 { font-size: 2.05rem; font-weight: 800; margin: 0; color: #0f172a; letter-spacing: -.01em; }
.adm-title p { margin: 2px 0 0; color: var(--ink-2); }
.adm-actions { display: flex; align-items: center; gap: 14px; }
.adm-header-action { flex: 0 0 auto; }
.adm-drop { position: relative; }
.adm-drop > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eef2f0; box-shadow: 0 4px 16px rgba(15,23,42,.06); border-radius: 99px; height: 58px; padding: 0 16px; }
.adm-drop > summary::-webkit-details-marker { display: none; }
.adm-bell > summary { width: 58px; justify-content: center; padding: 0; position: relative; color: #1f2937; }
.adm-bell .dot { position: absolute; top: 13px; right: 15px; width: 11px; height: 11px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.adm-user > summary { padding: 0 16px 0 8px; font-weight: 600; font-size: 1.05rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; font-weight: 800; flex: 0 0 auto; }
.avatar.sm { width: 36px; height: 36px; font-size: .95rem; }
.adm-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(15,23,42,.14); padding: 8px; z-index: 50; }
.adm-menu-head { padding: 8px 12px 10px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.adm-menu-head small { display: block; font-weight: 500; color: var(--muted); }
.adm-menu a, .adm-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.adm-menu a:hover, .adm-menu button:hover { background: var(--em-50); }
.adm-menu a span:nth-child(2) { flex: 1; }
.adm-menu em { font-style: normal; font-weight: 700; background: var(--danger-bg); color: var(--danger); border-radius: 99px; padding: 1px 9px; font-size: .8rem; }
.adm-menu-ic { color: var(--em-700); display: flex; }
.adm-menu form { margin: 0; }
.adm-menu p { margin: 10px 0; }
.adm-content { flex: 1; padding: 6px 28px 28px 44px; min-height: 0; }
.adm-content .container { max-width: none; padding: 0; }
.adm-content .container.mid { max-width: 900px; margin: 0; }
.adm-content .container.narrow { max-width: 560px; }
.adm-content .page-head { margin-top: 8px; }
.adm-content > .alert { margin: 0 0 14px; }
.adm-footer { padding: 14px 44px 20px; color: var(--muted); font-size: .82rem; }
.adm-burger, .adm-overlay { display: none; }
@media (max-width: 1100px) {
    .adm { grid-template-columns: minmax(0, 1fr); }
    .adm-side { position: fixed; left: 0; top: 0; width: 290px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(15,23,42,.18); }
    #adm-nav:checked ~ .adm-side { transform: none; }
    #adm-nav:checked ~ .adm-overlay { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.35); z-index: 35; }
    .adm-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
    .adm-burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
    .adm-top { padding: 12px 16px 8px; }
    .adm-content { padding: 4px 16px 24px; }
    .adm-footer { padding: 12px 16px 18px; }
}
@media (max-width: 640px) {
    .adm-title h1 { font-size: 1.35rem; }
    .adm-title p { font-size: .85rem; }
    .adm-user-name, .adm-user > summary .ic { display: none; }
    .adm-drop > summary { height: 48px; }
    .adm-bell > summary { width: 48px; }
    .adm-user > summary { padding: 0 3px; }
    .adm-actions { gap: 8px; }
    .adm-menu { position: fixed; left: 12px; right: 12px; top: 72px; min-width: 0; }
}

/* ===== Dashboard admin ===== */
.dash { display: flex; flex-direction: column; gap: 22px; }
.dash-hero { position: relative; min-height: 225px; border-radius: 30px; margin-top: 50px; padding: 38px 44px; display: flex; align-items: center;
    background: radial-gradient(120% 140% at 0% 100%, #bbf7d0 0%, rgba(187,247,208,0) 45%), linear-gradient(100deg, #f0fdf4 0%, #ecfdf3 45%, #e3f6ea 100%);
    border: 1px solid #e3f2e8; }
.dash-hero::before { content: ""; position: absolute; left: 0; right: 40%; bottom: 0; height: 60%; border-radius: 0 0 0 30px; background: radial-gradient(90% 100% at 20% 100%, rgba(74,222,128,.35), transparent 70%); pointer-events: none; }
.dash-hero-copy { position: relative; z-index: 2; max-width: 52%; }
.dash-hero h2 { font-size: clamp(1.6rem, 2.8vw, 2.55rem); font-weight: 800; color: #0f172a; margin: 0 0 10px; letter-spacing: -.01em; }
.dash-hero h2 span { color: var(--em-600); }
.dash-hero h2 .wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out infinite; }
.dash-hero p { font-size: 1.15rem; color: #1f2937; margin: 0; max-width: 470px; }
.dash-hero-img { position: absolute; right: 0; bottom: 0; height: 129%; width: auto; max-width: 62%; object-fit: contain; object-position: right bottom; border-radius: 0 0 30px 0; z-index: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dstat { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; min-height: 128px; border-radius: 22px; text-decoration: none; color: #0f172a; border: 1px solid transparent; box-shadow: 0 6px 20px rgba(15,23,42,.05); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.dstat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,23,42,.09); }
.dstat-ic { display: flex; flex: 0 0 auto; }
.dstat-body { display: flex; flex-direction: column; position: relative; z-index: 1; }
.dstat-body strong { font-size: 1.08rem; }
.dstat-body b { font-size: 2.2rem; line-height: 1.15; font-weight: 800; margin: 4px 0 2px; }
.dstat-body small { color: var(--ink-2); font-size: .92rem; }
.dstat img { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); height: 78px; width: auto; mix-blend-mode: multiply; }
.dstat.green { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #d1f5dd; } .dstat.green .dstat-ic { color: #16a34a; }
.dstat.blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #d6e6fb; } .dstat.blue .dstat-ic { color: #0d9488; }
.dstat.amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fbecc0; } .dstat.amber .dstat-ic { color: #f59e0b; }
.dstat.red { background: linear-gradient(135deg, #fff1f2, #ffe4e6); border-color: #fcd9dd; } .dstat.red .dstat-ic { color: #e11d48; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.dash-row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dash .card { border-radius: 22px; border-color: #edf2ef; margin: 0; }
.dash-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.dash-card-head h3 { margin: 0; font-size: 1.15rem; flex: 1; }
.dash-head-ic { color: var(--em-600); display: flex; flex: 0 0 auto; }
.dash-total { white-space: nowrap; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: #e5e7eb; stroke-width: 1; }
.chart .baseline { stroke: #cbd5e1; stroke-width: 1; }
.chart .axis { font-size: 11px; fill: #475569; font-family: inherit; }
.chart .mark { fill: #16a34a; transition: fill .12s; }
.chart .mark.zero { fill: #86efac; }
.chart .hit { fill: transparent; cursor: default; }
.chart .bar.on .mark { fill: #15803d; }
.chart .bar.on .hit { fill: rgba(22,163,74,.06); }
.chart-tip { position: absolute; transform: translate(-50%, -100%); background: #0f172a; color: #fff; font-size: .8rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 5; box-shadow: 0 6px 16px rgba(15,23,42,.2); }
.chart-table { margin-top: 8px; }
.chart-table summary { cursor: pointer; color: var(--em-700); font-weight: 600; }
.chart-table .table-wrap { margin-top: 8px; max-height: 260px; overflow: auto; }
.dash-side { display: flex; flex-direction: column; gap: 20px; }
.dash-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; }
.dash-mini { position: relative; display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit; overflow: hidden; }
a.dash-mini:hover { border-color: var(--em-500); }
.dash-mini > span:nth-child(2) { display: flex; flex-direction: column; position: relative; z-index: 1; min-width: 0; }
.dash-mini strong { font-size: 1rem; }
.dash-mini b { font-size: 1.7rem; font-weight: 800; color: var(--em-700); line-height: 1.2; margin: 4px 0 2px; }
.dash-mini b i { font-style: normal; font-size: 1.25rem; }
.dash-mini small { color: var(--ink-2); }
.dash-revenue b { font-size: 2rem; }
.dash-revenue img { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); height: 92px; width: auto; mix-blend-mode: multiply; }
.dash-table th { background: #f8fafc; text-transform: none; letter-spacing: 0; font-size: .9rem; color: #1f2937; font-weight: 700; }
.dash-table td { padding: 12px; }
.staff { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.staff:hover { color: var(--em-700); }
.empty-row { color: var(--ink-2); padding: 22px 12px !important; }
.empty-row .ic { color: var(--muted); margin-right: 6px; }
@media (max-width: 1280px) { .dstat img { height: 60px; opacity: .85; } .dash-revenue img { height: 70px; opacity: .8; } }
@media (max-width: 1200px) { .dash-row, .dash-row-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .dash-hero { margin-top: 0; padding: 24px 20px 150px; min-height: 0; }
    .dash-hero-copy { max-width: none; }
    .dash-hero-img { height: 170px; max-width: 100%; }
}
@media (max-width: 560px) {
    .dash-stats, .dash-mini-row { grid-template-columns: minmax(0, 1fr); }
    .dstat img { height: 56px; }
}

/* ===== Semua Antrean ===== */
.adm-title { display: flex; align-items: center; gap: 16px; }
.adm-title-ic { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #f0fdf4, #dcfce7); color: var(--em-700); box-shadow: 0 4px 14px rgba(21,128,61,.12); }
.queue-page { display: flex; flex-direction: column; }
.q-hero { position: relative; min-height: 190px; margin: 54px 0 20px; padding: 28px 44px; border-radius: 28px; display: flex; align-items: center;
    background: radial-gradient(90% 120% at 0% 100%, #bbf7d0 0%, rgba(187,247,208,0) 50%), linear-gradient(100deg, #f7fef9 0%, #ecfdf3 50%, #dff5e7 100%); border: 1px solid #e3f2e8; }
.q-hero-copy { position: relative; z-index: 2; max-width: 58%; }
.q-hero h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800; color: #0f172a; margin: 0 0 8px; letter-spacing: -.01em; }
.q-pill { display: inline-block; background: linear-gradient(180deg, #16a34a, #166534); color: #fff; font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.75rem); padding: 4px 20px; border-radius: 12px; box-shadow: 0 6px 16px rgba(21,128,61,.25); }
.q-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 0; margin: 20px 0 0; font-weight: 700; }
.q-points li { display: flex; align-items: center; gap: 8px; }
.q-points .ic { color: var(--em-600); }
.q-hero-img { position: absolute; right: 0; bottom: 0; height: 147%; width: auto; max-width: 52%; object-fit: contain; object-position: right bottom; border-radius: 0 0 28px 0; z-index: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
.q-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.qstat { display: flex; align-items: center; gap: 30px; padding: 18px 26px; border-radius: 22px; text-decoration: none; color: #0f172a; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.qstat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.qstat.current { box-shadow: 0 0 0 2px currentColor inset; }
.qstat > span:last-child { display: flex; flex-direction: column; }
.qstat strong { font-size: 1.02rem; }
.qstat b { font-size: 2.1rem; line-height: 1.15; font-weight: 800; margin-top: 4px; }
.qstat small { font-size: .98rem; color: #1f2937; }
.qstat-ic { flex: 0 0 66px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px rgba(15,23,42,.12); }
.qstat-ic .ic { stroke-width: 2.2; }
.qstat.green { background: linear-gradient(135deg, #f0fdf4, #dcfce7); } .qstat.green .qstat-ic { background: linear-gradient(180deg, #4ade80, #15803d); }
.qstat.blue { background: linear-gradient(135deg, #eff6ff, #dbeafe); } .qstat.blue .qstat-ic { background: linear-gradient(180deg, #38bdf8, #0284c7); }
.qstat.amber { background: linear-gradient(135deg, #fffbeb, #fef3c7); } .qstat.amber .qstat-ic { background: linear-gradient(180deg, #fde047, #f59e0b); color: #f59e0b; }
.qstat.amber .qstat-ic .ic path { stroke: #fff; }
.qstat.red { background: linear-gradient(135deg, #fff1f2, #ffe4e6); } .qstat.red .qstat-ic { background: linear-gradient(180deg, #fb7185, #e11d48); color: transparent; }
.qstat.green.current { color: #0f172a; box-shadow: 0 0 0 2px #22c55e inset; }
.qstat.blue.current { box-shadow: 0 0 0 2px #38bdf8 inset; }
.qstat.amber.current { box-shadow: 0 0 0 2px #f59e0b inset; }
.qstat.red.current { box-shadow: 0 0 0 2px #fb7185 inset; }
.q-filters { background: #fff; border: 1px solid #edf2ef; border-radius: 20px; padding: 16px 20px; box-shadow: 0 6px 20px rgba(15,23,42,.04); margin-bottom: 20px; gap: 14px 18px; }
.q-filters label { color: #0f172a; font-weight: 700; }
.q-filters select, .q-filters input { border-radius: 10px; padding: 10px 14px; }
.q-filters .q-search { flex: 1.4 1 220px; }
.q-filters .btn { padding: 11px 22px; border-radius: 10px; }
.input-ic { position: relative; }
.input-ic input { padding-right: 42px; }
.input-ic .ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; }
.q-table-card { background: #fff; border: 1px solid #edf2ef; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.q-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; flex-wrap: wrap; border-bottom: 1px solid #edf2ef; }
.q-table-wrap { border: 0; border-radius: 0; }
.q-table thead th { background: #e8f7ed; color: #0f172a; font-size: .86rem; font-weight: 800; letter-spacing: .02em; padding: 16px 14px; }
.q-table td { padding: 12px 14px; }
.q-empty { text-align: center; padding: 34px 16px 30px !important; }
.q-empty img { display: block; margin: 0 auto 10px; width: 214px; max-width: 70%; height: auto; mix-blend-mode: multiply; }
.q-empty strong { display: block; font-size: 1.25rem; color: #0f172a; }
.q-empty > span { display: block; color: var(--ink-2); margin: 4px 0 14px; }
.q-empty .btn-row { justify-content: center; }
.q-empty .btn-outline { border-radius: 12px; padding: 10px 26px; }
tbody tr:hover .q-empty { background: #fff; }
@media (max-width: 1200px) { .q-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .q-hero { margin-top: 0; padding: 24px 20px 160px; min-height: 0; }
    .q-hero-copy { max-width: none; }
    .q-hero-img { height: 175px; max-width: 100%; }
    .adm-title-ic { width: 48px; height: 48px; border-radius: 14px; }
    .adm-title-ic .ic { width: 26px; height: 26px; }
}
@media (max-width: 560px) { .q-stats { grid-template-columns: minmax(0, 1fr); } .qstat { gap: 18px; } }

/* ===== Buat Pesanan Layanan ===== */
/* Semua Antrean admin v2 */
body.page-admin-orders .adm-content { padding:20px 24px 34px;background:linear-gradient(135deg,#f9fcfa,#f4faf7); }
body.page-admin-orders .queue-page { width:100%;max-width:1500px;margin:0 auto; }
body.page-admin-orders .q-hero { min-height:140px;margin:0 0 22px;padding:18px 24px;border-radius:22px;background:linear-gradient(105deg,#f8fff9,#e9f9ee);box-shadow:0 8px 24px rgba(15,73,42,.05); }
body.page-admin-orders .q-hero-copy { max-width:68%; }
body.page-admin-orders .q-hero h2 { margin-bottom:1px;font-size:1.9rem; }
body.page-admin-orders .q-hero-copy>p { margin:0;color:#64748b;font-size:.82rem; }
.q-hero-benefits { display:flex;align-items:center;gap:22px;margin-top:13px; }
body.page-admin-orders .q-pill { padding:5px 20px;border-radius:10px;font-size:1.05rem; }
body.page-admin-orders .q-points { align-items:center;gap:0;margin:0;font-size:.72rem; }
body.page-admin-orders .q-points li { gap:6px;padding:0 18px;border-left:1px solid #9cb9a7; }
body.page-admin-orders .q-hero-img { right:0;height:118%;max-width:43%;border-radius:0 0 22px 0; }
body.page-admin-orders .q-stats { gap:16px;margin-bottom:20px; }
body.page-admin-orders .qstat { min-height:92px;gap:18px;padding:13px 18px;border-width:1px;border-radius:17px;box-shadow:0 7px 18px rgba(15,23,42,.045); }
body.page-admin-orders .qstat.current { box-shadow:0 0 0 1px currentColor inset,0 7px 18px rgba(15,23,42,.045); }
body.page-admin-orders .qstat-ic { width:54px;height:54px;flex-basis:54px; }
body.page-admin-orders .qstat strong { font-size:.82rem; }
body.page-admin-orders .qstat b { margin:0;font-size:1.55rem; }
body.page-admin-orders .qstat small { font-size:.76rem; }
body.page-admin-orders .queue-pay-tabs { gap:12px;margin:0 0 22px; }
body.page-admin-orders .queue-pay-tabs a { min-height:42px;padding:9px 18px;border:1px solid #dfe7e2;border-radius:99px;background:#fff;box-shadow:0 5px 13px rgba(15,23,42,.05); }
body.page-admin-orders .queue-pay-tabs a.active { border-color:#10ad3f;background:linear-gradient(135deg,#18be49,#079736); }
body.page-admin-orders .q-filters { display:grid;grid-template-columns:minmax(220px,1.2fr) repeat(3,minmax(165px,.9fr)) 135px;align-items:end;gap:16px;margin-bottom:20px;padding:14px 20px;border-radius:17px; }
body.page-admin-orders .q-filters.is-archive { grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(180px,1fr)) 135px; }
body.page-admin-orders .q-archive-stats .qstat.red .qstat-ic { color:#fff; }
body.page-admin-orders .q-filters>div { min-width:0; }
body.page-admin-orders .q-filters label { margin-bottom:5px;font-size:.75rem; }
body.page-admin-orders .q-filters input,body.page-admin-orders .q-filters select { height:42px;padding-block:8px;font-size:.8rem; }
body.page-admin-orders .q-filters .btn { height:42px;justify-content:center;padding:8px 15px; }
body.page-admin-orders .q-table-card { border-radius:18px;box-shadow:0 10px 26px rgba(15,73,42,.06); }
body.page-admin-orders .q-toolbar { min-height:72px;padding:13px 20px; }
body.page-admin-orders .q-table thead th { padding:14px 16px;color:#fff;background:linear-gradient(180deg,#159b42,#078232);font-size:.76rem;text-transform:uppercase; }
body.page-admin-orders .q-table td { padding:16px; }
body.page-admin-orders .q-table tbody tr:hover { background:#f8fcf9; }
body.page-admin-orders .q-table .btn { min-width:74px;justify-content:center; }
@media(max-width:1200px){body.page-admin-orders .q-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.q-filters .q-search{grid-column:1/-1}body.page-admin-orders .q-filters .btn{grid-column:2;justify-self:end;width:150px}}
@media(max-width:800px){body.page-admin-orders .adm-content{padding:12px}body.page-admin-orders .q-hero{padding:20px 18px 145px}body.page-admin-orders .q-hero-copy{max-width:none}.q-hero-benefits{align-items:flex-start;flex-direction:column;gap:10px}body.page-admin-orders .q-points{flex-wrap:wrap}body.page-admin-orders .q-points li{padding:4px 12px 4px 0;border-left:0}body.page-admin-orders .q-stats{grid-template-columns:1fr 1fr}body.page-admin-orders .q-filters{grid-template-columns:1fr}body.page-admin-orders .q-filters .q-search,body.page-admin-orders .q-filters .btn{grid-column:auto;width:100%}}
@media(max-width:520px){body.page-admin-orders .q-stats{grid-template-columns:1fr}body.page-admin-orders .queue-pay-tabs{overflow-x:auto;flex-wrap:nowrap}body.page-admin-orders .queue-pay-tabs a{white-space:nowrap}}

.ord-page { display: flex; flex-direction: column; }
.ord-head { position: relative; min-height: 170px; display: flex; align-items: center; padding: 10px 4px 20px; }
.layout-admin .ord-head { margin-top: -88px; padding-top: 70px; min-height: 236px; }
.layout-admin .adm-top { position: relative; z-index: 3; }
.ord-head-copy { position: relative; z-index: 2; max-width: 55%; }
.ord-head h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 6px; color: #0f172a; letter-spacing: -.01em; }
.ord-head p { font-size: 1.05rem; color: var(--ink-2); margin: 0; }
.ord-head-img { position: absolute; right: 8%; bottom: 0; height: 100%; max-height: 220px; width: auto; max-width: 48%; object-fit: contain; object-position: right bottom;
    -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.page-order main:not(.adm-content) .ord-head { min-height: 185px; overflow: hidden; background: radial-gradient(65% 130% at 83% 100%, #c9f7d7, transparent 72%), linear-gradient(105deg,#fafffb,#effcf3); border-radius: 0 0 24px 24px; padding: 28px 28px; margin-top: 0; }
.page-order main:not(.adm-content) .ord-head-copy { padding-left: 22px; }
.page-order main:not(.adm-content) .ord-head-copy::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 6px; background: linear-gradient(180deg,#22c55e,#15803d); }
.page-order main:not(.adm-content) .ord-head-img { right: 2%; max-width: 52%; max-height: 205px; -webkit-mask-image: none; mask-image: none; }
.ord-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 20px; padding: 18px 24px; background: #fff; border: 1px solid #edf2ef; border-radius: 20px; box-shadow: 0 6px 20px rgba(15,23,42,.05); position: relative; z-index: 2; }
.ord-steps li { display: flex; align-items: center; gap: 12px; color: #1f2937; font-weight: 500; font-size: 1.02rem; white-space: nowrap; }
.ord-steps li + li::before { content: ""; width: clamp(30px, 10vw, 150px); height: 3px; border-radius: 3px; background: #e2e8f0; margin-right: 6px; }
.ord-steps li.is-done + li::before, .ord-steps li.is-current + li::before { background: linear-gradient(90deg, var(--em-600) 50%, #e2e8f0 50%); }
.ord-steps li.is-done + li.is-current::before { background: var(--em-600); }
.ord-steps span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #cbd5e1; font-weight: 700; color: #334155; background: #fff; }
.ord-steps li.is-current { color: var(--em-700); font-weight: 700; }
.ord-steps li.is-current span { background: var(--em-700); border-color: var(--em-700); color: #fff; }
.ord-steps li.is-done span { background: var(--em-100); border-color: var(--em-600); color: var(--em-700); }
.ord-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.ord-grid-2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.ord-card { margin: 0 !important; border-radius: 20px; border-color: #edf2ef; padding: 22px; }
.ord-card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; color: #0f172a; margin-bottom: 16px; }
.ord-card h2 .ic { color: var(--em-600); }
.ord-card h2 .muted { font-weight: 400; }
.ord-card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ord-card-title > span { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--em-700); background: linear-gradient(180deg,#f0fdf4,#dcfce7); }
.ord-card-title h2 { margin: 0 0 2px; }
.ord-card-title p { margin: 0; color: #64748b; font-size: .88rem; }
.ord-step[data-step="2"] .ord-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 20px; align-items: stretch; }
.ord-step[data-step="2"] .ord-card { min-height: 440px; }
.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; margin: 0; transition: border-color .15s, background .15s; }
.svc:hover { border-color: #86efac; }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc-radio { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #64748b; display: grid; place-items: center; }
.svc-ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--em-50); color: var(--em-700); }
.svc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-body strong { color: #0f172a; font-size: .98rem; }
.svc-body small { color: var(--ink-2); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.svc-price { font-weight: 800; color: var(--em-700); font-size: 1.2rem; white-space: nowrap; }
.svc:has(input:checked) { border-color: var(--em-600); background: #f3fcf6; box-shadow: 0 0 0 1px var(--em-600) inset; }
.svc:has(input:checked) .svc-radio { border-color: var(--em-700); }
.svc:has(input:checked) .svc-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--em-700); }
.svc:has(input:focus-visible) { outline: 2px solid var(--em-500); outline-offset: 2px; }
.fake-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; color: var(--ink); }
.fake-input .ic { color: var(--ink-2); }
.mb0 { margin-bottom: 0; }
.doc-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 150px; padding: 18px; border: 2px dashed #cbd5e1; border-radius: 14px; cursor: pointer; font-weight: 400; margin: 0; background: #fcfdfc; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--em-500); background: var(--em-50); }
.dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.dz-ic { color: var(--em-600); }
.dropzone strong { font-size: 1.1rem; color: #0f172a; }
.dropzone span { color: var(--ink-2); }
.dropzone small { color: var(--muted); margin-top: 6px; }
.dropzone .dz-choose { margin-top: 9px; color: var(--em-700); }
.dropzone.has-files { border-color: var(--em-500); border-style: solid; background: var(--em-50); }
.doc-examples { background: var(--em-50); border-radius: 14px; padding: 16px 18px; }
.doc-examples strong { display: block; margin-bottom: 6px; }
.doc-examples ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.doc-examples li { display: flex; align-items: flex-start; gap: 8px; }
.doc-examples .ic, .disc-points .ic { color: var(--em-600); margin-top: 2px; }
.file-selection { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #effaf3; }
.file-selection[hidden] { display: none; }
.file-selection strong, .file-selection span { display: block; }
.file-selection span { color: var(--muted); font-size: .78rem; }
.file-picked { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: .88rem; }
.file-picked li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.file-picked li .ic { color: var(--em-600); }
.file-picked li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-picked li small { color: var(--muted); white-space: nowrap; }
.file-picked li.too-big { background: var(--danger-bg); border-color: #fecaca; color: var(--danger); }
.file-error { min-height: 20px; margin: 7px 0 0; color: var(--danger); font-size: .82rem; }
.doc-wrap + .file-picked + .hint, .doc-wrap ~ .hint { margin-top: 10px; }
.disc-text { text-align: center; color: #1f2937; font-size: 1.02rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.disc-points { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.disc-points li { display: flex; gap: 8px; align-items: flex-start; }
.ord-summary { grid-template-columns: minmax(190px,.8fr) minmax(0,1.2fr); gap: 0; }
.ord-summary dt, .ord-summary dd { min-height: 31px; display: flex; align-items: center; margin: 0; padding: 5px 10px; border: 0; }
.ord-summary dt { gap: 10px; color: #334155; font-weight: 600; }
.ord-summary dt .ic { color: var(--em-600); }
.ord-summary dd { position: relative; color: #0f172a; font-weight: 600; }
.ord-summary dd::before { content: ":"; margin-right: 28px; color: #475569; }
.ord-summary dt:nth-of-type(odd), .ord-summary dt:nth-of-type(odd) + dd { background: linear-gradient(90deg,#f2f8f4,#f8fbf9); }
.ord-summary dt:nth-of-type(odd) { border-radius: 8px 0 0 8px; }
.ord-summary dt:nth-of-type(odd) + dd { border-radius: 0 8px 8px 0; }
.ord-step[data-step="2"] .check { gap: 16px; padding: 8px 4px; color: #1f2937; font-size: .96rem; line-height: 1.45; }
.ord-step[data-step="2"] .check input { flex: 0 0 23px; width: 23px; height: 23px; margin-top: 2px; }
.ord-security-note { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 16px 24px; border-radius: 18px; color: #166534; background: linear-gradient(110deg,#effcf3,#d9f8e2); }
.ord-security-note::after { content: ""; position: absolute; right: -30px; bottom: -55px; width: 180px; height: 95px; border-radius: 50%; background: rgba(74,222,128,.22); transform: rotate(-8deg); }
.ord-security-note > .ic { position: relative; z-index: 1; flex: 0 0 auto; }
.ord-security-note span { position: relative; z-index: 1; padding-left: 18px; border-left: 1px solid #86efac; }
.ord-security-note strong, .ord-security-note small { display: block; }
.ord-security-note small { margin-top: 2px; color: #334155; line-height: 1.35; }
.ord-bar { position: sticky; bottom: 12px; z-index: 10; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 28px; background: linear-gradient(110deg,#fff 0%,#fff 65%,#f0fdf4 100%); border: 1px solid #dfe9e3; border-radius: 20px; box-shadow: 0 10px 30px rgba(15,23,42,.10); }
.ord-total { display: flex; align-items: center; gap: 14px; }
.ord-total > .ic { width: 44px; height: 44px; color: var(--em-700); padding-right: 14px; border-right: 1px solid #86efac; }
.ord-total small { display: block; font-weight: 600; color: #0f172a; }
.ord-total b { font-size: 2rem; font-weight: 850; color: var(--em-700); line-height: 1.1; }
.ord-bar-msg { flex: 1; min-width: 120px; font-size: .9rem; color: var(--em-800); }
.ord-bar .btn-row { margin-left: auto; gap: 12px; }
.ord-bar .btn-row .btn { min-width: 130px; min-height: 50px; }
.ord-bar #btn-submit { min-width: 210px; font-weight: 800; }
/* langkah: tanpa JS semua bagian tampil & tombol langsung "Buat Pesanan" */
.ord-form:not(.js) #btn-next, .ord-form:not(.js) #btn-draft { display: none; }
.ord-form.js[data-step="1"] .ord-step[data-step="2"], .ord-form.js[data-step="2"] .ord-step[data-step="1"] { display: none; }
.ord-form.js[data-step="1"] #btn-submit, .ord-form.js[data-step="2"] #btn-next { display: none; }
.ord-form .is-invalid input:not([type="checkbox"]):not([type="radio"]),
.ord-form .is-invalid select,
.ord-form .is-invalid textarea,
.ord-form .svc-list.is-invalid,
.ord-form .ord-detail-list.is-invalid,
.ord-form .dropzone.is-invalid,
.ord-form .seg.is-invalid { border-color: #ef4444 !important; background-color: #fff7f7; box-shadow: 0 0 0 3px rgba(239, 68, 68, .13); }
.ord-form .svc-list.is-invalid, .ord-form .seg.is-invalid { padding: 10px; border: 1px solid #ef4444; border-radius: 12px; }
.ord-form .is-invalid > label, .ord-form .is-invalid > .ord-detail-head strong { color: #b91c1c; }
.ord-form .field-error-inline { display: block; width: 100%; margin-top: 6px; color: #dc2626; font-size: .79rem; font-weight: 700; line-height: 1.35; }
.ord-steps [data-step-ind].has-error span { color: #fff; background: #dc2626; border-color: #dc2626; }
@media (max-width: 1100px) { .ord-grid, .ord-grid-2, .ord-step[data-step="2"] .ord-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
    .layout-admin .ord-head { margin-top: 0; padding-top: 4px; }
    .ord-head { flex-direction: column; align-items: flex-start; padding-bottom: 150px; min-height: 0 !important; }
    .ord-head-copy { max-width: none; }
    .ord-head-img { right: 0; height: 150px; max-width: 100%; }
    .ord-steps { justify-content: flex-start; overflow-x: auto; gap: 10px; padding: 14px; }
    .ord-steps li { font-size: .9rem; } .ord-steps span { width: 32px; height: 32px; }
}
@media (max-width: 640px) {
    .doc-wrap { grid-template-columns: minmax(0, 1fr); }
    .svc { flex-wrap: wrap; gap: 10px 14px; } .svc-price { margin-left: 74px; }
    .ord-bar { bottom: 0; border-radius: 16px 16px 0 0; padding: 12px 14px; }
    .ord-bar .btn-row { width: 100%; } .ord-bar .btn-row .btn { flex: 1; }
    .ord-bar .btn-ghost { display: none; }
    .ord-summary { grid-template-columns: 1fr; }
    .ord-summary dt, .ord-summary dd { border-radius: 8px !important; }
    .ord-summary dd { padding-left: 38px; }
    .ord-summary dd::before { margin-right: 10px; }
}

/* Tambah antrean */
.new-order h2 { font-size: 1.1rem; color: var(--em-800); }
.seg { display: inline-flex; background: #f1f5f9; border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.seg label { margin: 0; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.seg input { accent-color: var(--em-600); }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.1); color: var(--em-800); }

/* ===== Pembayaran ===== */
.pay-head-copy { display: flex; align-items: center; gap: 18px; max-width: 58%; }
.pay-head-copy .adm-title-ic { width: 76px; height: 76px; border-radius: 20px; background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.pay-head-copy h1 { margin-bottom: 4px; }
.pay-head .ord-head-img { right: 4%; }
.pay-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; position: relative; z-index: 2; }
.pstat { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid #edf2ef; border-radius: 20px; box-shadow: 0 6px 20px rgba(15,23,42,.05); text-decoration: none; color: #0f172a; transition: transform .15s, box-shadow .15s; }
.pstat:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,23,42,.09); }
.pstat > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pstat strong { font-size: 1rem; font-weight: 600; }
.pstat b { font-size: 1.7rem; font-weight: 800; color: var(--em-700); line-height: 1.2; }
.pstat b.ink { color: #0f172a; }
.pstat b i { font-style: normal; font-size: 1.2rem; font-weight: 700; }
.pstat-ic { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.pstat-ic.green { background: #dcfce7; color: var(--em-700); }
.pstat-ic.blue { background: #dbeafe; color: #1d4ed8; }
.pstat-ic.amber { background: #fef3c7; color: #d97706; }
.pay-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; margin-bottom: 14px; scrollbar-width: thin; }
.pay-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 99px; background: #fff; border: 1px solid #e5ece8; color: #1f2937; text-decoration: none; font-weight: 600; box-shadow: 0 2px 8px rgba(15,23,42,.04); }
.pay-tabs a:hover { border-color: #86efac; }
.pay-tabs a em { font-style: normal; font-size: .75rem; font-weight: 700; background: #f1f5f9; color: var(--ink-2); border-radius: 99px; padding: 1px 8px; }
.pay-tabs a.active { background: linear-gradient(180deg, #16a34a, #166534); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(21,128,61,.25); }
.pay-tabs a.active em { background: rgba(255,255,255,.22); color: #fff; }
.pay-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.input-ic-left { position: relative; }
.input-ic-left > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #475569; pointer-events: none; }
.input-ic-left input, .input-ic-left select { padding-left: 48px; }
.pay-search { flex: 1 1 320px; }
.pay-search input { border-radius: 99px; padding-top: 13px; padding-bottom: 13px; border-color: #dfe7e2; background: #fff; }
.pay-period select { border-radius: 12px; padding-top: 12px; padding-bottom: 12px; min-width: 200px; border-color: #dfe7e2; }
.pay-add { padding: 13px 22px; border-radius: 12px; font-size: 1rem; }
.pay-search-btn { border-radius: 12px; padding: 12px 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pay-table thead th { background: #fff; color: #0f172a; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.pay-table td { padding: 14px; }
.pay-table .num { text-align: right; white-space: nowrap; }
.pay-table th.center, .pay-table td.center { text-align: center; }
.pay-table .cust { font-weight: 600; }
.proof-thumb { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 44px; height: 52px; border: 1px solid #cbd5e1; border-radius: 6px; background: linear-gradient(180deg, #f8fafc, #e2e8f0); color: #475569; text-decoration: none; box-shadow: 0 2px 4px rgba(15,23,42,.08); }
.proof-thumb:hover { border-color: var(--em-500); color: var(--em-700); }
.proof-thumb small { font-size: .6rem; font-weight: 700; }
.pbadge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.pbadge.warn { background: #fef3c7; color: #b45309; }
.pbadge.ok { background: #dcfce7; color: #15803d; }
.pbadge.danger { background: #fee2e2; color: #b91c1c; }
.pbadge.muted { background: #f1f5f9; color: #64748b; }
.act-row { display: inline-flex; gap: 8px; }
.act { width: 42px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid; background: #fff; cursor: pointer; text-decoration: none; padding: 0; transition: background .15s; }
.act-view { border-color: #bbf7d0; color: var(--em-700); }
.act-ok { border-color: #86efac; color: var(--em-700); }
.act-del { border-color: #fecaca; color: #dc2626; }
.act-view:hover, .act-ok:hover:not([disabled]) { background: var(--em-50); }
.act-del:hover:not([disabled]) { background: #fef2f2; }
.act[disabled] { opacity: .35; cursor: not-allowed; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); }
.pager-nav { display: flex; gap: 8px; }
.pager-nav a, .pager-nav span { min-width: 42px; height: 40px; border-radius: 10px; display: grid; place-items: center; padding: 0 10px; background: #f1f5f9; color: var(--ink); text-decoration: none; font-weight: 700; }
.pager-nav a:hover { background: var(--em-50); color: var(--em-700); }
.pager-nav .cur { background: var(--em-700); color: #fff; }
.pager-nav .off { opacity: .4; }
.dlg { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(15,23,42,.25); }
.dlg::backdrop { background: rgba(15,23,42,.45); }
.dlg-body { padding: 24px; }
.dlg-body h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.dlg-body h2 .ic { color: var(--em-600); }
.dlg-body .kv { grid-template-columns: 110px 1fr; margin-bottom: 12px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 1200px) { .pay-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pay-head-copy { max-width: none; } }
@media (max-width: 560px) {
    .pay-stats { grid-template-columns: minmax(0, 1fr); }
    .pay-head-copy .adm-title-ic { display: none; }
    .pay-period, .pay-period select, .pay-add { width: 100%; }
}

/* Pembayaran & filter chip */
.pay-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.pay-summary .card { margin: 0; display: flex; flex-direction: column; }
.pay-summary b { font-size: 1.45rem; color: var(--em-800); }
.pay-summary small { color: var(--muted); }
@media (max-width: 720px) { .pay-summary { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; }
.tabs a em { font-style: normal; background: #f1f5f9; border-radius: 99px; padding: 0 8px; margin-left: 4px; font-size: .78rem; }
.tabs a.active { background: var(--em-700); border-color: var(--em-700); color: #fff; }
.tabs a.active em { background: rgba(255,255,255,.25); }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--em-50); border: 1px solid var(--em-100); color: var(--em-800); padding: 6px 8px 6px 14px; border-radius: 99px; font-size: .9rem; }
.filter-chip a { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--em-800); text-decoration: none; font-weight: 700; }

/* Admin — Konten Beranda (tab) */
.lp-page { max-width: none; }
.lp-tabs { position: sticky; top: 0; z-index: 6; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding: 10px 12px; margin: 4px 0 20px; background: rgba(255,255,255,.72); border: 1px solid #edf2ef; border-radius: 18px; box-shadow: 0 6px 20px rgba(15,23,42,.04); }
.lp-tabs a { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; color: #0f172a; text-decoration: none; font-weight: 700; white-space: nowrap; background: #fff; border: 1px solid #e2e8f0; transition: all .15s ease; }
.lp-tabs a:hover { background: #f0fdf4; border-color: #bbf7d0; }
.lp-tabs a.active { background: linear-gradient(180deg, #16a34a, #166534); color: #fff; border-color: transparent; box-shadow: 0 10px 18px rgba(21,128,61,.22); }
.lp-tabs a .ic { flex: 0 0 auto; }
.lp-dirty { display: none; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.lp-tabs a.dirty .lp-dirty { display: inline-block; }
.landing-form .lp-panel { margin: 0; border-radius: 24px; border-color: #edf2ef; padding: 20px; background: rgba(255,255,255,.75); }
.landing-form.js .lp-panel[hidden] { display: none; }
.landing-form:not(.js) .lp-panel + .lp-panel { margin-top: 16px; }
.lp-panel > h2 { font-size: 1.3rem; margin-bottom: 16px; }
.lp-savebar { position: sticky; bottom: 12px; z-index: 6; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 12px 16px; background: #fff; border: 1px solid #edf2ef; border-radius: 16px; box-shadow: 0 10px 30px rgba(15,23,42,.10); }
.lp-save-msg { flex: 1; min-width: 160px; color: var(--muted); font-size: .9rem; }
.lp-save-msg.warn { color: var(--warn); font-weight: 600; }
.lp-hero-shell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .95fr); gap: 22px; align-items: start; }
.lp-hero-form { min-width: 0; }
.lp-hero-form h2 { margin: 0 0 18px; font-size: 1.25rem; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.lp-hero-form h2::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: 0 6px 12px rgba(34,197,94,.22); }
.lp-hero-preview { padding: 8px 0 0; }
.lp-hero-preview h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #0f172a; font-size: 1.25rem; }
.lp-hero-preview h3 .ic { color: #16a34a; }
.lp-preview-card { position: relative; overflow: hidden; min-height: 490px; padding: 18px 18px 0; border: 1px solid #e2e8f0; border-radius: 22px; background: linear-gradient(180deg, #ecfdf5, #f8fafc); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.lp-brand-row { display: flex; align-items: center; gap: 12px; }
.lp-brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #16a34a, #15803d); color: #fff; font-size: 1.2rem; font-weight: 800; }
.lp-brand-row strong { display: block; font-size: 1.05rem; color: #0f172a; }
.lp-brand-row small { display: block; color: #475569; font-size: .78rem; }
.lp-preview-copy { position: relative; z-index: 2; padding: 18px 0 0; }
.lp-preview-copy h4 { margin: 0 0 14px; font-size: clamp(1.7rem, 2vw, 2.5rem); line-height: 1.1; color: #0f172a; letter-spacing: -.03em; }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.lp-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(22,163,74,.12); color: #166534; font-weight: 700; font-size: .78rem; }
.lp-preview-copy p { margin: 0 0 18px; color: #334155; font-weight: 600; }
.lp-preview-copy button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 18px; height: 54px; padding: 0 24px; background: linear-gradient(180deg, #14b86b, #14904a); color: #fff; font-weight: 800; box-shadow: 0 10px 18px rgba(21,128,61,.2); }
.lp-preview-illustration { position: absolute; right: 0; bottom: 0; width: 100%; height: 250px; }
.lp-figure { position: absolute; right: 16px; bottom: 0; width: 300px; height: 220px; }
.lp-person-head { position: absolute; right: 104px; bottom: 136px; width: 58px; height: 58px; background: #f2d5b3; border-radius: 50%; box-shadow: 0 0 0 10px #f5dcc0; }
.lp-person-head::before, .lp-person-head::after { content: ""; position: absolute; top: 18px; width: 7px; height: 7px; background: #1f2937; border-radius: 50%; }
.lp-person-head::before { left: 16px; }
.lp-person-head::after { right: 16px; }
.lp-person-body { position: absolute; right: 74px; bottom: 24px; width: 120px; height: 100px; background: linear-gradient(180deg, #ecfccb, #bbf7d0); border-radius: 18px 18px 12px 12px; }
.lp-person-laptop { position: absolute; right: 16px; bottom: 18px; width: 170px; height: 104px; border-radius: 18px; background: linear-gradient(180deg, #0f172a, #1f2937); box-shadow: 0 12px 24px rgba(15,23,42,.16); }
.lp-person-laptop::before { content: ""; position: absolute; inset: 12px 14px 12px 14px; border-radius: 12px; background: linear-gradient(180deg, #1ecf72, #0f823d); }
.faq-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.faq-panel-title { display: flex; align-items: center; gap: 12px; }
.faq-title-ic { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(180deg, #dcfce7, #bbf7d0); color: #15803d; }
.faq-panel-title h2 { margin: 0; font-size: 1.2rem; }
.faq-add-btn { padding: 11px 20px; border-radius: 12px; font-size: 1rem; }
.faq-search-wrap { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #dfe7e2; background: #fff; border-radius: 14px; margin-bottom: 14px; }
.faq-search-wrap input { border: 0; background: transparent; font: inherit; width: 100%; outline: none; }
.faq-search-wrap .ic { color: #64748b; }
.faq-list-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.faq-item-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 14px; background: rgba(255,255,255,.8); }
.faq-handle { display: grid; place-items: center; color: #64748b; }
.faq-text { font-weight: 700; color: #0f172a; }
.faq-actions { display: inline-flex; gap: 8px; }
.faq-action { width: 34px; height: 34px; border-radius: 10px; border: 1px solid #dfe7e2; background: #fff; color: #334155; display: grid; place-items: center; }
.faq-action.delete { border-color: #fecaca; color: #dc2626; }
.faq-edit-box { padding-top: 8px; border-top: 1px solid #edf2ef; }
.faq-repeat-row { margin-top: 12px; }
@media (max-width: 1120px) {
    .lp-hero-shell { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .lp-tabs a span { display: none; }
    .lp-tabs a.active span { display: inline; }
    .landing-form .lp-panel { padding: 16px; }
    .lp-savebar { bottom: 0; border-radius: 14px 14px 0 0; }
    .lp-savebar .btn-outline { display: none; }
    .faq-panel-top { flex-direction: column; align-items: stretch; }
    .lp-preview-card { min-height: 420px; }
    .lp-preview-copy h4 { font-size: 1.8rem; }
    .lp-figure { transform: scale(.8); transform-origin: bottom right; }
}

/* Konten Beranda — susunan editor Hero dan pratinjau */
.lp-view-site { min-width: 190px; justify-content: center; background: #fff; }
.lp-tabs { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); padding: 10px; }
.lp-tabs a { justify-content: center; padding: 14px 16px; font-size: .98rem; }
.lp-tabs a .ic { width: 23px; height: 23px; }
.landing-form .lp-panel[data-panel="hero"] { padding: 0; border: 0; background: transparent; box-shadow: none; }
.lp-hero-shell { grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr); gap: 18px; align-items: stretch; }
.lp-hero-form,
.lp-hero-preview { min-width: 0; padding: 20px 22px; border: 1px solid #e3e9e6; border-radius: 20px; background: rgba(255,255,255,.86); box-shadow: 0 12px 26px rgba(15,23,42,.05); }
.lp-section-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.lp-section-title > span { display: grid; place-items: center; color: #0b9b37; padding-top: 2px; }
.lp-section-title h2 { margin: 0; font-size: 1.35rem; color: #0f172a; }
.lp-section-title h2::before { display: none; }
.lp-section-title p { margin: 3px 0 0; color: #475569; font-size: .88rem; }
.lp-hero-form .field { margin-bottom: 14px; }
.lp-hero-form .field > label { font-weight: 700; color: #0f172a; }
.lp-hero-form input[type="text"],
.lp-hero-form textarea { border-color: #cbd5e1; border-radius: 10px; padding: 10px 12px; background: #fff; }
.lp-image-field { display: grid; grid-template-columns: 126px minmax(120px, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid #dbe4df; border-radius: 12px; background: #fff; }
.lp-image-thumb { width: 126px; height: 70px; overflow: hidden; display: grid; place-items: center; border-radius: 9px; background: #ecfdf5; color: #16a34a; }
.lp-image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-image-meta { min-width: 0; }
.lp-image-meta strong,
.lp-image-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-image-meta strong { color: #0f172a; font-size: .86rem; }
.lp-image-meta small { margin-top: 4px; color: #64748b; font-size: .76rem; }
.lp-file-btn input,
.lp-remove-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lp-file-btn,
.lp-remove-btn { position: relative; cursor: pointer; white-space: nowrap; }
.btn-danger-outline { border: 1px solid #fca5a5; color: #dc2626; background: #fff; }
.lp-remove-btn:has(input:checked) { color: #fff; background: #dc2626; border-color: #dc2626; }
.lp-hero-preview { padding: 20px 12px 12px; }
.lp-hero-preview h3 { margin: 0 10px 18px; font-size: 1.2rem; }
.lp-preview-card { min-height: 430px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #f0fff4 48%, #c7f9d5 100%); }
.lp-preview-card::before,
.lp-preview-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.lp-preview-card::before { width: 520px; height: 250px; right: -80px; top: -120px; background: rgba(134,239,172,.32); }
.lp-preview-card::after { width: 480px; height: 220px; left: -80px; bottom: -155px; background: rgba(74,222,128,.24); }
.lp-brand-row { position: relative; z-index: 3; }
.lp-brand-row .brand-svg { width: 48px; height: 38px; }
.lp-brand-row .brand-text strong { font-size: 1.05rem; }
.lp-brand-row .brand-text small { font-size: .63rem; }
.lp-preview-copy { width: 53%; padding-top: 38px; }
.lp-preview-copy h4 { margin-bottom: 10px; font-size: clamp(1.65rem, 2.15vw, 2.45rem); }
.lp-preview-subtitle { display: inline-flex; padding: 7px 16px; margin-bottom: 14px; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #18b94b, #08852d); font-size: .82rem; font-weight: 800; }
.lp-preview-copy p { max-width: 330px; margin-bottom: 22px; font-size: .88rem; line-height: 1.45; font-weight: 500; }
.lp-preview-copy button { gap: 14px; max-width: 270px; height: auto; min-height: 52px; padding: 10px 16px 10px 22px; text-align: left; border-radius: 999px; line-height: 1.05; }
.lp-preview-copy button .ic { flex: 0 0 auto; padding: 7px; width: 34px; height: 34px; border-radius: 50%; color: #118b36; background: #fff; }
.lp-preview-image { position: absolute; z-index: 1; right: -3%; bottom: 0; width: 57%; height: 78%; object-fit: cover; object-position: 50% 50%; border-radius: 45% 0 0 0; filter: drop-shadow(0 12px 16px rgba(15,23,42,.12)); }
.lp-preview-image-placeholder { position: absolute; right: 8%; bottom: 10%; color: #86efac; }
.lp-reset-btn { margin-right: auto; border: 1px solid #cbd5e1; background: #fff; }
.lp-savebar .lp-save-msg { flex: 1; }

/* Tab Layanan */
.landing-form .lp-panel[data-panel="layanan"] { padding: 0; border: 0; background: transparent; box-shadow: none; }
.lp-service-shell { display: grid; grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr); gap: 18px; align-items: stretch; }
.lp-service-form,
.lp-service-preview { min-width: 0; min-height: 480px; padding: 24px 26px; border: 1px solid #e3e9e6; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 12px 26px rgba(15,23,42,.05); }
.lp-service-form .lp-section-title { margin-bottom: 38px; }
.lp-service-form .field { margin-bottom: 20px; }
.lp-service-form .field > label { font-size: 1rem; font-weight: 700; color: #0f172a; }
.lp-service-form input,
.lp-service-form textarea { padding: 12px 14px; border-color: #cbd5e1; border-radius: 10px; background: #fff; }
.lp-service-preview { padding: 24px 16px 16px; }
.lp-service-preview h3 { display: flex; align-items: center; gap: 13px; margin: 0 10px 25px; color: #0f172a; font-size: 1.2rem; }
.lp-service-preview h3 .ic { color: #079735; }
.lp-service-preview-card { position: relative; min-height: 305px; overflow: hidden; padding: 54px 34px; border: 1px solid #d9eee0; border-radius: 16px; background: linear-gradient(135deg, #f4fff7 0%, #fff 55%, #d9fbdc 100%); }
.lp-service-preview-card::before,
.lp-service-preview-card::after { content: ""; position: absolute; left: -8%; bottom: -35%; width: 68%; height: 55%; border-radius: 50% 50% 0 0; background: rgba(16,185,129,.12); transform: rotate(6deg); }
.lp-service-preview-card::after { left: 28%; bottom: -44%; width: 75%; height: 62%; background: rgba(74,222,128,.14); transform: rotate(-8deg); }
.lp-service-preview-copy { position: relative; z-index: 3; width: 62%; }
.lp-service-preview-copy h4 { margin: 0 0 24px; color: #0f172a; font-size: clamp(1.7rem, 2.2vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
.lp-service-preview-copy h4 em { color: #079735; font-style: normal; }
.lp-service-preview-copy p { margin: 0; color: #1e293b; font-size: .92rem; line-height: 1.5; }
.lp-service-art { position: absolute; z-index: 2; right: 4%; bottom: 8%; width: 36%; height: 72%; }
.lp-clipboard { position: absolute; right: 10%; bottom: 3%; width: 118px; height: 170px; padding: 46px 20px 12px; border: 8px solid #26a879; border-radius: 12px; background: #fff; box-shadow: 0 15px 22px rgba(15,118,80,.2); transform: rotate(4deg); }
.lp-clipboard::before { content: ""; position: absolute; left: 31px; top: -20px; width: 58px; height: 30px; border-radius: 16px 16px 6px 6px; background: #31b985; border-bottom: 6px solid #168e64; }
.lp-clipboard::after { content: ""; position: absolute; left: 52px; top: -28px; width: 18px; height: 18px; border: 7px solid #31b985; border-bottom: 0; border-radius: 15px 15px 0 0; }
.lp-clipboard span { position: relative; display: block; height: 30px; color: #07a13d; font-size: 1.35rem; font-weight: 800; }
.lp-clipboard span::after { content: ""; position: absolute; left: 30px; top: 10px; width: 50px; height: 4px; border-radius: 4px; background: #b8d2ef; box-shadow: 0 10px 0 #d7e4f3; }
.lp-calculator { position: absolute; z-index: 3; right: -2%; bottom: -2%; display: grid; grid-template-columns: repeat(3, 12px); gap: 5px; width: 78px; padding: 12px 10px; border-radius: 9px; background: #078747; border: 5px solid #056d3b; transform: rotate(5deg); box-shadow: 0 10px 16px rgba(15,118,80,.22); }
.lp-calculator b { grid-column: 1 / -1; height: 22px; margin-bottom: 3px; border: 4px solid #143f2c; border-radius: 4px; background: #cdfa91; }
.lp-calculator i { width: 12px; height: 9px; border-radius: 2px; background: #d8ee64; }
.lp-service-leaf { position: absolute; z-index: -1; width: 58px; height: 100px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #43df52, #0a9a34); }
.lp-service-leaf.leaf-a { right: -5%; bottom: 12%; transform: rotate(24deg); }
.lp-service-leaf.leaf-b { left: 2%; bottom: 5%; transform: rotate(-38deg) scale(.75); }

/* Tab Kontak */
.landing-form .lp-panel[data-panel="kontak"] { padding: 0; overflow: hidden; }
.lp-contact-card { position: relative; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; padding: 26px 24px 28px; background: linear-gradient(110deg, #fff 0%, #fff 73%, #f1fff5 100%); }
.lp-contact-content { position: relative; z-index: 2; min-width: 0; }
.lp-contact-head { display: flex; align-items: center; gap: 16px; margin-bottom: 38px; }
.lp-contact-head > span { flex: 0 0 auto; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: linear-gradient(180deg, #20c455, #07862e); box-shadow: 0 10px 20px rgba(21,128,61,.2); }
.lp-contact-head h2 { margin: 0; color: #0f172a !important; font-size: 1.55rem; }
.lp-contact-head p { margin: 3px 0 0; color: #334155; }
.lp-contact-row { display: grid; grid-template-columns: minmax(260px, 1.05fr) minmax(220px, 1fr) minmax(240px, 1.05fr); gap: 20px; align-items: end; }
.lp-contact-card .field { margin-bottom: 22px; }
.lp-contact-card .field > label { font-weight: 700; color: #0f172a; }
.lp-contact-card input[type="text"],
.lp-contact-card textarea { border: 1px solid #cbd5e1; border-radius: 11px; padding: 12px 14px; background: #fff; }
.lp-contact-card textarea { min-height: 70px; }
.lp-contact-upload { min-height: 90px; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #d6e0e7; border-radius: 11px; background: #fff; }
.lp-contact-icon { width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(180deg, #22c55e, #0a982f); }
.lp-contact-icon img { width: 100%; height: 100%; object-fit: cover; }
.lp-contact-file { cursor: pointer; padding: 8px 13px; white-space: nowrap; }
.lp-contact-upload small { display: block; margin-top: 7px; color: #64748b; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-contact-remove { grid-column: 1 / -1; display: inline-flex; gap: 6px; color: #b91c1c; font-size: .75rem; }
.lp-wa-input { position: relative; }
.lp-wa-input > .ic { position: absolute; left: 14px; top: 50%; z-index: 1; transform: translateY(-50%); color: #16a34a; }
.lp-wa-input input { padding-left: 48px !important; }
.lp-contact-art { position: relative; align-self: stretch; overflow: hidden; border-radius: 38% 18% 28% 38%; background: linear-gradient(145deg, #effff3, #dff9e6); }
.lp-contact-art::before,
.lp-contact-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(74,222,128,.18); }
.lp-contact-art::before { width: 300px; height: 220px; right: -80px; top: -70px; }
.lp-contact-art::after { width: 260px; height: 180px; left: -100px; bottom: -65px; }
.lp-contact-art img { position: absolute; z-index: 2; left: -155px; bottom: 35px; height: 70%; width: auto; max-width: none; object-fit: cover; filter: drop-shadow(0 14px 18px rgba(15,23,42,.12)); }
.lp-chat-bubble { position: absolute; z-index: 3; left: 42px; top: 110px; display: flex; gap: 8px; padding: 18px 20px; border-radius: 18px 18px 18px 5px; background: linear-gradient(180deg, #5adb78, #21bc51); box-shadow: 0 10px 18px rgba(21,128,61,.18); }
.lp-chat-bubble i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

@media (max-width: 1280px) {
    .lp-tabs { display: flex; }
    .lp-hero-shell { grid-template-columns: minmax(350px, .9fr) minmax(460px, 1.1fr); }
    .lp-image-field { grid-template-columns: 100px minmax(0, 1fr); }
    .lp-image-thumb { width: 100px; }
    .lp-file-btn, .lp-remove-btn { justify-self: stretch; justify-content: center; }
    .lp-service-shell { grid-template-columns: minmax(350px, .9fr) minmax(460px, 1.1fr); }
    .lp-contact-card { grid-template-columns: minmax(0, 1fr) 280px; }
    .lp-contact-row { grid-template-columns: 1fr 1fr; }
    .lp-contact-icon-field { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
    .lp-hero-shell { grid-template-columns: 1fr; }
    .lp-image-field { grid-template-columns: 126px 1fr auto auto; }
    .lp-service-shell { grid-template-columns: 1fr; }
    .lp-service-form, .lp-service-preview { min-height: 0; }
    .lp-contact-card { grid-template-columns: 1fr; }
    .lp-contact-art { min-height: 280px; }
    .lp-contact-art img { left: 5%; width: 90%; height: auto; bottom: -10px; }
}
@media (max-width: 760px) {
    .adm-header-action { display: none; }
    .lp-image-field { grid-template-columns: 90px 1fr; }
    .lp-image-thumb { width: 90px; }
    .lp-preview-card { min-height: 520px; }
    .lp-preview-copy { width: 100%; }
    .lp-preview-image { width: 70%; height: 52%; opacity: .9; }
    .lp-service-preview-card { min-height: 390px; padding: 38px 24px; }
    .lp-service-preview-copy { width: 100%; }
    .lp-service-art { width: 50%; height: 58%; opacity: .82; }
    .lp-contact-card { padding: 20px 16px; }
    .lp-contact-row { grid-template-columns: 1fr; }
    .lp-contact-icon-field { grid-column: auto; }
    .lp-contact-head { margin-bottom: 24px; }
}
.landing-form .card h2 { color: var(--em-800); }
.landing-form .card .lp-section-title h2 { color: #0f172a; }
.img-field { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.img-preview { width: 150px; min-height: 90px; border: 1px dashed #cbd5e1; border-radius: 12px; display: grid; place-items: center; background: #f8fafc; overflow: hidden; }
.img-preview img { display: block; max-width: 100%; max-height: 120px; object-fit: contain; }
.img-field input[type=file] { max-width: 100%; }
.repeat-row { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 2px; margin-bottom: 12px; background: #fcfefd; }
.repeat-no { position: absolute; top: -10px; left: 12px; background: var(--em-700); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 99px; padding: 1px 9px; }
.feat-row { grid-template-columns: 140px 1fr 1.4fr; gap: 12px; padding-top: 12px; }
.reg-feat-row { grid-template-columns: 140px 1fr; }
@media (max-width: 720px) { .feat-row { grid-template-columns: 1fr; } }
/* Admin: Audit Log */
.au-page { display: flex; flex-direction: column; gap: 20px; }
.au-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; min-height: 180px; padding: 30px 36px; border-radius: 24px; border: 1px solid #dcfce7; background: linear-gradient(100deg, #ecfdf5 0%, #f0fdf4 55%, #dcfce7 100%); }
.au-hero::before { content: ""; position: absolute; left: 35%; right: -10%; bottom: -60px; height: 120px; border-radius: 50%; background: rgba(187,247,208,.5); }
.au-hero-ic { position: relative; z-index: 1; flex: 0 0 auto; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; box-shadow: 0 12px 24px rgba(21,128,61,.25); }
.au-hero-copy { position: relative; z-index: 1; flex: 1; min-width: 0; }
.au-hero-copy h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #0f172a; letter-spacing: -.02em; }
.au-hero-copy p { margin: 0; font-size: 1.1rem; color: #334155; }
.au-hero-art { position: absolute; z-index: 1; right: 30px; bottom: 0; width: auto; height: 100%; max-height: 180px; }
.au-card { background: #fff; border: 1px solid #e8eef0; border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.au-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.au-toolbar h2 { flex: 1 1 auto; margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.au-count { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #f0fdf4; color: var(--em-700); font-weight: 700; font-size: 1.05rem; }
.au-search, .au-period { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid #dfe5e8; border-radius: 12px; background: #fff; }
.au-search { flex: 0 1 420px; }
.au-search .ic, .au-period .ic { flex: 0 0 auto; color: #334155; }
.au-search input, .au-period select { border: 0; background: transparent; outline: none; box-shadow: none; padding: 0; min-height: 0; font: inherit; font-size: .95rem; color: #0f172a; width: 100%; }
.au-period select { min-width: 150px; cursor: pointer; }
.au-search:focus-within, .au-period:focus-within { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.au-tabs { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 14px; scrollbar-width: thin; }
.au-tabs a { flex: 0 0 auto; padding: 10px 26px; border-radius: 12px; border: 1px solid #e5ece8; background: #fff; color: var(--em-700); text-decoration: none; font-weight: 600; box-shadow: 0 2px 8px rgba(15,23,42,.05); }
.au-tabs a:hover { border-color: #86efac; }
.au-tabs a.active { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(21,128,61,.25); }
.au-table-wrap { overflow-x: auto; border: 1px solid #e8eef0; border-radius: 16px; }
.au-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.au-table th { text-align: left; padding: 16px 20px; background: #f8fafc; color: #334155; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid #e8eef0; white-space: nowrap; }
.au-table td { padding: 14px 20px; border-bottom: 1px solid #eef2f4; color: #0f172a; vertical-align: middle; }
.au-table tbody tr:last-child td { border-bottom: 0; }
.au-table tbody tr:hover td { background: #fafffb; }
.au-sort { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.au-sort-ic { display: inline-flex; flex-direction: column; gap: 2px; }
.au-sort-ic::before, .au-sort-ic::after { content: ""; border: 4px solid transparent; }
.au-sort-ic::before { border-bottom: 5px solid #94a3b8; border-top: 0; }
.au-sort-ic::after { border-top: 5px solid #94a3b8; border-bottom: 0; }
.au-sort-ic.desc::after, .au-sort-ic.asc::before { border-top-color: #334155; border-bottom-color: #334155; }
.au-time { white-space: nowrap; }
.au-muted { color: #64748b; }
.au-action { white-space: nowrap; }
.au-tag { display: inline-block; margin-right: 8px; padding: 4px 10px; border-radius: 8px; font-size: .8rem; font-weight: 600; background: #f1f5f9; color: #475569; }
.au-tag.g-auth { background: #dcfce7; color: #15803d; }
.au-tag.g-order { background: #fef3c7; color: #b45309; }
.au-tag.g-payment { background: #ffedd5; color: #c2410c; }
.au-tag.g-file { background: #e0f2fe; color: #0369a1; }
.au-tag.g-user { background: #fce7f3; color: #be185d; }
.au-tag.g-service { background: #ede9fe; color: #6d28d9; }
.au-tag.g-landing { background: #dbeafe; color: #1d4ed8; }
.au-tag.g-settings { background: #e2e8f0; color: #334155; }
.au-tag.g-customer { background: #ccfbf1; color: #0f766e; }
.au-detail { color: #64748b; max-width: 320px; overflow-wrap: anywhere; }
.au-empty { text-align: center; color: #64748b; padding: 34px 20px !important; }
.au-empty a { margin-left: 8px; }
.au-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 4px 0; }
.au-foot-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.au-per { margin: 0; }
.au-per select { min-width: 160px; padding: 10px 14px; border: 1px solid #dfe5e8; border-radius: 10px; background-color: #fff; font: inherit; font-size: .92rem; }
.au-pager { display: flex; align-items: center; gap: 8px; }
.au-pager a, .au-pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid #e5ece8; background: #fff; color: #0f172a; text-decoration: none; font-weight: 600; }
.au-pager a:hover { border-color: #86efac; color: var(--em-700); }
.au-pager .cur { background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; border-color: transparent; }
.au-pager .gap { border: 0; background: none; min-width: 20px; }
.au-pager .off { opacity: .4; }
.au-note { display: flex; align-items: center; gap: 8px; margin: -6px 4px 0; color: #64748b; font-size: .85rem; }
.au-note .ic { color: var(--em-700); }
@media (max-width: 1000px) { .au-hero-art { opacity: .35; } }
@media (max-width: 720px) {
    .au-hero { padding: 22px; gap: 16px; min-height: 0; }
    .au-hero-ic { width: 56px; height: 56px; border-radius: 16px; }
    .au-hero-art { display: none; }
    .au-toolbar h2 { flex-basis: 100%; }
    .au-search, .au-period { flex: 1 1 100%; }
    .au-card { padding: 16px; }
    .au-foot, .au-foot-right { justify-content: center; }
}

/* ===== Live Chat widget v3 — visual parity with customer-chat reference ===== */
.chat-global-frame,
.chat-customer-dock-panel {
    right: 46px;
    bottom: 126px;
    width: min(620px, calc(100vw - 48px));
    height: min(690px, calc(100vh - 154px));
    border: 1px solid rgba(224, 231, 235, .92);
    border-radius: 30px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 70px rgba(30, 58, 71, .20);
}
.chat-customer-dock-panel > .chat-widget { border-radius: 29px; }
.chat-customer-dock-panel .chat-widget-head {
    min-height: 112px;
    gap: 16px;
    padding: 22px 28px 20px 38px;
    border-bottom: 0;
    background: linear-gradient(120deg, #fff 0%, #fbfffc 62%, #e8faee 100%);
}
.chat-customer-dock-panel .chat-widget-head::after {
    right: -32px;
    bottom: -72px;
    width: 290px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(115deg, rgba(74, 222, 128, .16), rgba(34, 197, 94, .28));
    transform: rotate(-5deg);
}
.chat-header-logo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.chat-header-logo .brand-svg { display: block; width: 56px; height: auto; }
.chat-customer-dock-panel .chat-agent-copy { flex: 1; }
.chat-customer-dock-panel .chat-agent-copy h1 {
    color: #080d18;
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -.025em;
}
.chat-customer-dock-panel .chat-agent-copy p {
    gap: 9px;
    margin-top: 5px;
    color: #334155;
    font-size: .98rem;
}
.chat-customer-dock-panel .chat-agent-copy p > span { width: 13px; height: 13px; }
.chat-window-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}
.chat-window-actions button,
.chat-window-actions a {
    width: 34px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #0f172a;
    background: transparent;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.chat-window-actions button:hover,
.chat-window-actions a:hover { background: rgba(255, 255, 255, .72); }
.chat-window-actions .chat-window-more { display: flex; flex-direction: column; gap: 3px; }
.chat-window-more i { width: 4px; height: 4px; display: block; border-radius: 50%; background: currentColor; }
.chat-customer-dock-panel .chat-topic-bar {
    min-height: 42px;
    padding: 8px 28px;
    border-color: #eef2f4;
    color: #64748b;
    background: #fff;
}
.chat-customer-dock-panel .chat-widget-messages {
    padding: 22px 28px 18px;
    background: radial-gradient(circle at 100% 0, rgba(220, 252, 231, .13), transparent 36%), #fff;
}
.chat-customer-dock-panel .chat-day-note {
    margin-bottom: 20px;
    padding: 7px 22px;
    color: #64748b;
    background: #f3f5f8;
    font-size: .78rem;
}
.chat-customer-dock-panel .chat-widget-messages .chat-bubble {
    max-width: 84%;
    gap: 12px;
    margin-bottom: 13px;
}
.chat-customer-dock-panel .chat-widget-messages .chat-bubble > div {
    padding: 13px 18px;
    border: 1px solid #f0f2f5;
    border-radius: 20px 20px 20px 7px;
    background: #f8f9fb;
    box-shadow: 0 5px 13px rgba(15, 23, 42, .055);
}
.chat-customer-dock-panel .chat-widget-messages .chat-bubble.mine > div {
    border-color: #d9f6df;
    border-radius: 20px 20px 7px 20px;
    background: linear-gradient(135deg, #e8faec, #d8f7df);
}
.chat-customer-dock-panel .chat-widget-messages .chat-bubble p {
    color: #0f172a;
    font-size: .96rem;
    line-height: 1.42;
}
.chat-customer-dock-panel .chat-widget-messages .chat-bubble small { margin-top: 5px; font-size: .7rem; }
.chat-customer-dock-panel .chat-message-avatar {
    width: 44px;
    height: 44px;
    border: 1px solid #d8f5df;
    color: #08a83b;
    background: #effcf3;
    box-shadow: 0 4px 11px rgba(15, 118, 52, .1);
}
.chat-customer-dock-panel .chat-widget-composer {
    grid-template-columns: 46px minmax(0, 1fr) 58px;
    gap: 10px;
    margin: 0;
    padding: 14px 20px 20px;
    border-top: 0;
    background: #fff;
}
.chat-customer-dock-panel .chat-widget-composer .chat-attach {
    width: 46px;
    height: 46px;
    border: 0;
    color: #64748b;
}
.chat-composer-field {
    height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    overflow: hidden;
    border: 1.5px solid #d5dce5;
    border-radius: 30px;
    background: #fff;
}
.chat-customer-dock-panel .chat-widget-composer .chat-composer-field textarea {
    width: 100%;
    height: 54px;
    min-height: 54px;
    padding: 15px 6px 14px 20px;
    border: 0;
    outline: 0;
    color: #334155;
    background: transparent;
    box-shadow: none;
}
.chat-emoji {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid #64748b;
    border-radius: 50%;
    color: #64748b;
    font-size: 1.12rem;
    line-height: 1;
}
.chat-customer-dock-panel .chat-send-button {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #18c954, #05a53a);
    box-shadow: 0 9px 20px rgba(5, 165, 58, .26);
}
.chat-customer-dock-panel .chat-send-button:hover { transform: translateY(-1px); filter: brightness(.98); }
.chat-customer-dock-panel .chat-list-toolbar { padding: 14px 24px; }
.chat-customer-dock-panel .chat-widget-thread-list { height: calc(100% - 211px); padding: 8px 16px; }
.chat-customer-dock-panel .chat-widget-note { padding: 11px 14px; }

.chat-dock-launcher {
    right: 46px;
    bottom: 28px;
    min-width: 380px;
    min-height: 82px;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 9px 24px 9px 10px;
    border: 1px solid rgba(226, 232, 240, .95);
    color: #0f172a;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 42px rgba(30, 58, 71, .20);
}
.chat-dock-launcher-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #17c953, #04a538);
    box-shadow: 0 6px 14px rgba(5, 165, 58, .18);
}
.chat-dock-launcher-icon svg { width: 31px; height: 31px; }
.chat-dock-launcher strong { font-size: 1.12rem; letter-spacing: -.01em; }
.chat-dock-launcher small { margin-top: 4px; font-size: .82rem; }
.chat-dock-launcher small i { width: 11px; height: 11px; margin-right: 7px; }
.chat-dock-launcher > em { right: 9px; top: -7px; min-width: 31px; height: 31px; font-size: .8rem; }
.chat-dock-launcher > svg { transform: rotate(90deg); }
.chat-dock-launcher.is-open > svg { transform: rotate(-90deg); }

body.chat-embed .chat-customer-dock-panel { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
body.chat-embed .chat-customer-dock-panel > .chat-widget { border-radius: 0; }

@media (max-width: 700px) {
    .chat-global-frame,
    .chat-customer-dock-panel { inset: 10px 10px 82px; width: auto; height: auto; border-radius: 22px; }
    .chat-dock-launcher { right: 12px; bottom: 12px; min-width: 0; min-height: 58px; }
    .chat-customer-dock-panel .chat-widget-head { min-height: 84px; padding: 14px 13px 13px 18px; gap: 10px; }
    .chat-header-logo .brand-svg { width: 42px; }
    .chat-customer-dock-panel .chat-agent-copy h1 { font-size: 1rem; }
    .chat-customer-dock-panel .chat-agent-copy p { font-size: .7rem; }
    .chat-customer-dock-panel .chat-agent-copy p > span { width: 9px; height: 9px; }
    .chat-window-actions { gap: 1px; }
    .chat-window-actions button, .chat-window-actions a { width: 30px; height: 34px; font-size: 1.5rem; }
    .chat-customer-dock-panel .chat-topic-bar { padding: 7px 12px; }
    .chat-customer-dock-panel .chat-widget-messages { padding: 14px 12px; }
    .chat-customer-dock-panel .chat-widget-messages .chat-bubble { max-width: 92%; }
    .chat-customer-dock-panel .chat-widget-composer { grid-template-columns: 36px minmax(0, 1fr) 48px; gap: 5px; padding: 9px 8px 11px; }
    .chat-composer-field { height: 48px; }
    .chat-customer-dock-panel .chat-widget-composer .chat-composer-field textarea { height: 44px; min-height: 44px; padding: 10px 4px 10px 12px; }
    .chat-customer-dock-panel .chat-widget-composer .chat-attach { width: 36px; height: 40px; }
    .chat-customer-dock-panel .chat-send-button { width: 48px; height: 48px; }
    .chat-emoji { width: 27px; height: 27px; font-size: .9rem; }
    body.chat-embed .chat-customer-dock-panel { inset: 0; border-radius: 0; }
}

/* ===== Admin live-chat workspace ===== */
body .chat-dock-panel {
    right: 22px;
    bottom: 118px;
    width: min(1400px, calc(100vw - 44px));
    height: min(895px, calc(100vh - 140px));
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 32px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 80px rgba(23,70,48,.22);
}
body .chat-dock-panel-head.chat-admin-panel-head {
    position: relative;
    height: 112px;
    min-height: 112px;
    gap: 24px;
    overflow: hidden;
    padding: 18px 30px 18px 26px;
    border: 0;
    background: linear-gradient(115deg,#fff 0%,#fbfffd 60%,#d9f6df 100%);
}
body .chat-dock-panel-head.chat-admin-panel-head::before,
body .chat-dock-panel-head.chat-admin-panel-head::after {
    content: "";
    position: absolute;
    right: -4%;
    bottom: -75px;
    width: 48%;
    height: 115px;
    border-radius: 50%;
    background: rgba(34,197,94,.22);
    transform: rotate(-6deg);
}
body .chat-dock-panel-head.chat-admin-panel-head::after { right: 18%; bottom: -91px; background: rgba(74,222,128,.13); transform: rotate(7deg); }
.chat-admin-product-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
    color: #075a2b;
}
body .chat-dock-panel-head .chat-admin-product-brand { flex: 0 0 auto; }
.chat-admin-product-brand .brand-svg { width: 61px; height: auto; }
.chat-admin-product-brand span,
.chat-admin-product-brand small,
.chat-admin-product-brand strong { display: block; line-height: .96; }
.chat-admin-product-brand small { color: #173d2c; font-size: 1.05rem; font-weight: 800; }
.chat-admin-product-brand strong { margin-top: 3px; font-size: 1.55rem; }
.chat-admin-head-divider { position: relative; z-index: 1; width: 2px; height: 58px; flex: 0 0 auto; background: #a4b9ad; }
.chat-admin-panel-title { position: relative; z-index: 1; min-width: 0; flex: 1; }
.chat-admin-panel-title strong,
.chat-admin-panel-title small { display: block; }
.chat-admin-panel-title strong { color: #0f172a; font-size: 1.8rem; line-height: 1.05; }
.chat-admin-panel-title small { margin-top: 7px; color: #64748b; font-size: .95rem; }
body .chat-dock-panel-head.chat-admin-panel-head > button {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    border: 1px solid #dce5e0;
    box-shadow: 0 8px 20px rgba(15,23,42,.12);
    font-size: 2rem;
}
body .chat-dock-panel .chat-admin-console {
    height: calc(100% - 112px);
    grid-template-columns: minmax(330px,32%) minmax(0,1fr);
    border-top: 1px solid #dbe8df;
    background: #fff;
}
body .chat-dock-panel .chat-multi-list { border-right: 1px solid #deebe2; background: rgba(255,255,255,.98); }
body .chat-dock-panel .chat-multi-list > header { padding: 28px 24px 18px; }
body .chat-dock-panel .chat-multi-list > header strong { color: #0f172a; font-size: 1.55rem; }
body .chat-dock-panel .chat-multi-list > header small { margin-top: 6px; font-size: .86rem; }
body .chat-dock-panel .chat-multi-list > header > span { width: 58px; height: 58px; border-radius: 18px; }
body .chat-dock-panel .chat-client-search { position: relative; margin: 0 23px 17px; }
body .chat-dock-panel .chat-client-search input {
    width: 100%;
    height: 54px;
    padding: 0 15px 0 54px;
    border: 1px solid #cad5e1;
    border-radius: 18px;
    box-shadow: 0 5px 13px rgba(15,23,42,.05);
    font-size: .82rem;
}
body .chat-dock-panel .chat-client-search button {
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 7px;
    width: 38px;
    height: 40px;
    border: 0;
    color: #07852d;
    background: transparent;
}
body .chat-dock-panel .chat-filter-tabs { gap: 8px; padding: 0 23px 20px; }
body .chat-dock-panel .chat-filter-tabs a {
    flex: 1;
    padding: 10px 11px;
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    color: #334155;
    box-shadow: 0 4px 10px rgba(15,23,42,.04);
    text-align: center;
    font-size: .78rem;
}
body .chat-dock-panel .chat-filter-tabs a.active { color: #fff; border-color: #10b943; background: linear-gradient(135deg,#12c74a,#08a438); }
body .chat-dock-panel .chat-client-row {
    position: relative;
    grid-template-columns: 58px minmax(0,1fr) auto;
    gap: 14px;
    min-height: 124px;
    margin: 0 12px 8px;
    padding: 20px 18px;
    border-radius: 21px;
}
body .chat-dock-panel .chat-client-row.active {
    background: linear-gradient(105deg,#effcf2,#e0f8e6);
    box-shadow: inset 5px 0 #12b83f;
}
body .chat-dock-panel .chat-client-avatar { width: 58px; height: 58px; border-width: 3px; font-size: 1.35rem; }
body .chat-dock-panel .chat-client-row strong { font-size: 1rem; }
body .chat-dock-panel .chat-client-row small { margin-top: 5px; font-size: .77rem; }
body .chat-dock-panel .chat-client-row small b { display: inline-block; margin-right: 8px; padding: 4px 10px; border-radius: 99px; color: #19452d; background: rgba(15,118,52,.1); }
body .chat-dock-panel .chat-client-row time { align-self: start; color: #64748b; font-size: .75rem; }
body .chat-dock-panel .chat-client-row em { position: absolute; right: 17px; bottom: 21px; }

body .chat-dock-panel .chat-admin-widget { padding: 12px; background: linear-gradient(135deg,#edf9f1,#f8fcf9); }
body .chat-dock-panel .chat-admin-widget .chat-widget { border: 1px solid #d8e9dd; border-radius: 28px; box-shadow: 0 12px 34px rgba(15,73,42,.09); }
body .chat-dock-panel .chat-widget-admin .chat-widget-head {
    min-height: 124px;
    padding: 20px 25px;
    gap: 18px;
    background: linear-gradient(110deg,#f5fff7,#d9f7df);
}
body .chat-dock-panel .chat-widget-admin .chat-widget-head::after { display: none; }
body .chat-dock-panel .chat-widget-admin .chat-agent-avatar { width: 76px; height: 76px; border-width: 5px; font-size: 2rem; }
body .chat-dock-panel .chat-widget-admin .chat-agent-copy h1 { color: #0f172a; font-size: 1.5rem; }
body .chat-dock-panel .chat-widget-admin .chat-agent-copy p { gap: 8px; margin-top: 10px; color: #1f5137; font-size: .82rem; }
body .chat-dock-panel .chat-widget-admin .chat-agent-copy p > i { width: 1px; height: 18px; margin: 0 5px; background: #97ad9f; }
.chat-admin-thread-meta { z-index: 1; display: flex; align-items: center; gap: 17px; margin-left: auto; }
.chat-admin-thread-meta > span { padding: 10px 14px; border-radius: 99px; color: #166534; background: rgba(22,163,74,.1); font-weight: 900; }
.chat-admin-thread-meta > strong { display: inline-flex; align-items: center; gap: 8px; padding: 11px 19px; border-radius: 99px; color: #075a2b; background: #bcefc8; white-space: nowrap; }
.chat-admin-more { z-index: 1; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 1px solid #d6e1dc; border-radius: 50%; color: #334155; background: rgba(255,255,255,.88); box-shadow: 0 7px 16px rgba(15,23,42,.09); cursor: pointer; }
.chat-admin-more i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
body .chat-dock-panel .chat-topic-bar { min-height: 68px; padding: 12px 30px; font-size: .87rem; }
body .chat-dock-panel .chat-topic-bar > span { display: flex; align-items: center; gap: 10px; color: #334155; }
body .chat-dock-panel .chat-topic-bar > span > i { width: 1px; height: 17px; background: #9aa8b8; }
body .chat-dock-panel .chat-topic-bar b { display: inline-flex; align-items: center; gap: 10px; max-width: 48%; padding: 10px 18px; border: 1px solid #ade1b9; font-size: .8rem; }
body .chat-dock-panel .chat-widget-admin .chat-widget-messages { padding: 22px 30px; background: #fff; }
body .chat-dock-panel .chat-widget-admin .chat-day-note { position: relative; padding: 7px 22px; background: #f2f4f7; font-size: .76rem; }
body .chat-dock-panel .chat-widget-messages .chat-bubble { max-width: 78%; margin-bottom: 16px; }
body .chat-dock-panel .chat-widget-messages .chat-bubble > div { padding: 13px 17px; border-radius: 20px 20px 20px 7px; background: #fff1e4; box-shadow: 0 7px 18px rgba(15,23,42,.07); }
body .chat-dock-panel .chat-widget-messages .chat-bubble.mine > div { border-radius: 20px 20px 7px 20px; background: #dcf7e2; }
body .chat-dock-panel .chat-widget-messages .chat-bubble p { font-size: .95rem; }
body .chat-dock-panel .chat-message-avatar { width: 46px; height: 46px; font-size: 1rem; }
body .chat-dock-panel .chat-widget-admin .chat-widget-composer {
    grid-template-columns: 52px 52px minmax(0,1fr) 66px;
    gap: 10px;
    margin: 0;
    padding: 18px 22px 20px;
    border-top: 1px solid #e5ebe7;
    background: #fbfdfc;
}
body .chat-dock-panel .chat-widget-composer .chat-attach,
.chat-admin-emoji { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #cad5df; border-radius: 16px; color: #52657a; background: #fff; box-shadow: 0 4px 10px rgba(15,23,42,.05); }
.chat-admin-emoji { font-size: 1.5rem; }
body .chat-dock-panel .chat-widget-composer textarea { height: 58px; min-height: 58px; padding: 16px 21px; border: 2px solid #16a443; border-radius: 30px; box-shadow: none; }
body .chat-dock-panel .chat-send-button { width: 66px; height: 58px; border-radius: 18px; background: linear-gradient(135deg,#ff9f32,#f97316); box-shadow: 0 9px 20px rgba(249,115,22,.24); }
body .chat-dock-panel .chat-admin-actions {
    min-height: 88px;
    gap: 22px;
    margin-top: 12px;
    padding: 14px 18px 14px 30px;
    border-radius: 23px;
    box-shadow: 0 8px 24px rgba(15,73,42,.06);
}
body .chat-dock-panel .chat-admin-actions > span { display: block; width: auto; color: #475569; font-size: .88rem; }
body .chat-dock-panel .chat-admin-actions select { width: min(380px,42%); height: 56px; padding: 10px 20px; border-radius: 15px; font-size: .9rem; }
body .chat-dock-panel .chat-admin-actions .btn { min-width: 250px; height: 56px; justify-content: center; border-radius: 14px; font-size: .95rem; box-shadow: 0 8px 16px rgba(22,163,74,.22); }
body.layout-admin .chat-dock-launcher { min-width: 520px; }

@media (max-width: 900px) {
    body .chat-dock-panel { inset: 10px 10px 80px; width: auto; height: auto; border-radius: 22px; }
    body .chat-dock-panel-head.chat-admin-panel-head { height: 82px; min-height: 82px; padding: 12px 15px; gap: 12px; }
    .chat-admin-product-brand span,.chat-admin-head-divider { display: none; }
    .chat-admin-product-brand .brand-svg { width: 44px; }
    .chat-admin-panel-title strong { font-size: 1.15rem; }
    .chat-admin-panel-title small { font-size: .68rem; }
    body .chat-dock-panel-head.chat-admin-panel-head > button { width: 42px; height: 42px; }
    body .chat-dock-panel .chat-admin-console { height: calc(100% - 82px); grid-template-columns: 1fr; }
    body .chat-dock-panel .chat-multi-list > header { padding: 18px 16px 12px; }
    body .chat-dock-panel .chat-client-search { margin-inline: 14px; }
    body .chat-dock-panel .chat-filter-tabs { padding-inline: 14px; }
    body .chat-dock-panel .chat-admin-widget { display: none; }
    body .chat-dock-panel .chat-admin-console:has(.chat-widget-admin) .chat-multi-list { display: none; }
    body .chat-dock-panel .chat-admin-console:has(.chat-widget-admin) .chat-admin-widget { display: grid; }
    body .chat-dock-panel .chat-widget-admin .chat-widget-head { min-height: 92px; padding: 12px; gap: 10px; }
    body .chat-dock-panel .chat-widget-admin .chat-agent-avatar { width: 54px; height: 54px; }
    .chat-admin-thread-meta > strong { padding: 8px 10px; font-size: .65rem; }
    .chat-admin-thread-meta > span,.chat-admin-more { display: none; }
    body .chat-dock-panel .chat-topic-bar { min-height: 45px; padding: 8px 12px; }
    body .chat-dock-panel .chat-widget-admin .chat-widget-messages { padding: 12px; }
    body .chat-dock-panel .chat-widget-admin .chat-widget-composer { grid-template-columns: 40px 40px minmax(0,1fr) 50px; gap: 5px; padding: 8px; }
    body .chat-dock-panel .chat-widget-composer .chat-attach,.chat-admin-emoji { width: 40px; height: 42px; border-radius: 12px; }
    body .chat-dock-panel .chat-widget-composer textarea { height: 48px; min-height: 48px; padding: 11px 13px; }
    body .chat-dock-panel .chat-send-button { width: 50px; height: 48px; }
    body .chat-dock-panel .chat-admin-actions { min-height: 66px; gap: 7px; margin-top: 6px; padding: 7px; }
    body .chat-dock-panel .chat-admin-actions > span { display: none; }
    body .chat-dock-panel .chat-admin-actions select { min-width: 0; width: auto; height: 46px; flex: 1; }
    body .chat-dock-panel .chat-admin-actions .btn { min-width: 145px; height: 46px; font-size: .75rem; }
    body.layout-admin .chat-dock-launcher { min-width: 0; }
}

/* Konten Beranda: daftar Keunggulan & FAQ */
.landing-form .lp-panel.lp-plain { padding: 0; background: transparent; border: 0; box-shadow: none; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.lp-card { background: #fff; border: 1px solid #e8eef0; border-radius: 22px; padding: 22px; box-shadow: 0 12px 30px rgba(15,23,42,.05); min-width: 0; }
.lp-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lp-card-ic { flex: 0 0 auto; color: var(--em-700); display: inline-flex; }
.lp-card-title { flex: 1; min-width: 0; }
.lp-card-title h2, .landing-form .lp-card h2 { margin: 0; font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.lp-card-title p { margin: 4px 0 0; color: #334155; font-size: .9rem; }
.lp-add { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: .92rem; }
.lp-add[disabled] { opacity: .5; cursor: not-allowed; }
.lp-list { display: flex; flex-direction: column; gap: 10px; }
.lp-item { display: grid; grid-template-columns: 24px auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid #e8eef0; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.03); transition: border-color .12s, background .12s; }
.lp-item:hover { border-color: #bbf7d0; }
.lp-item.is-open, .lp-item.is-active { border-color: #86efac; background: #f0fdf4; }
.lp-item.dragging { opacity: .5; }
.lp-grip { color: #475569; cursor: grab; display: grid; place-items: center; }
.lp-grip:active { cursor: grabbing; }
.lp-item-ic { width: 66px; height: 62px; display: grid; place-items: center; border-radius: 14px; background: #f0fdf4; color: var(--em-700); }
.lp-item-copy { min-width: 0; }
.lp-item-copy strong { display: block; font-size: 1.02rem; color: #0f172a; }
.lp-item-copy small { display: block; margin-top: 3px; color: #334155; font-size: .88rem; }
.lp-item-act { display: flex; gap: 8px; }
.lp-item-edit { grid-column: 1 / -1; display: grid; grid-template-columns: 150px 1fr; gap: 10px 12px; padding-top: 12px; border-top: 1px dashed #bbf7d0; }
.lp-item-edit[hidden] { display: none; }
.lp-item-edit .field { margin: 0; }
.lp-item-edit .field:nth-child(3) { grid-column: 1 / -1; }
.lp-done { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.lp-empty { margin: 12px 0 0; color: #64748b; font-size: .9rem; text-align: center; }
.faq-item { grid-template-columns: 24px minmax(0, 1fr) auto; padding-top: 14px; padding-bottom: 14px; }
.faq-q { text-align: left; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .98rem; color: #0f172a; cursor: pointer; line-height: 1.4; }
.faq-q:hover { color: var(--em-700); }
.faq-item .svc-act.del { display: grid; }
.lp-pv-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 1.25rem; font-weight: 800; color: #0f172a; }
.lp-pv-title .ic { color: var(--em-700); }
.feat-pv { position: relative; overflow: hidden; padding: 40px 20px 110px; border: 1px solid #edf2ef; border-radius: 16px; background: linear-gradient(180deg, #fff, #f8fffa); text-align: center; }
.feat-pv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(187,247,208,.55), rgba(134,239,172,.35)); clip-path: path('M0 60 C 120 20, 260 70, 400 40 S 640 0, 900 30 L 900 120 L 0 120 Z'); pointer-events: none; }
.feat-pv h4 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; color: #0f172a; }
.feat-pv h4 span { color: var(--em-700); }
.feat-pv > p { margin: 0 0 30px; color: #1f2937; }
.feat-pv-grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
.feat-pv-item { width: 110px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feat-pv-item span { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: #f0fdf4; color: var(--em-700); }
.feat-pv-item strong { font-size: .98rem; line-height: 1.3; color: #0f172a; }
.faq-editor { display: flex; flex-direction: column; }
.faq-ed-body { display: flex; flex-direction: column; flex: 1; }
.faq-ed-body[hidden] { display: none; }
.faq-ed-body textarea { min-height: 130px; }
.faq-ed-empty { flex: 1; display: grid; place-items: center; padding: 30px 10px; }
.faq-ed-err { margin: 0 0 8px; color: #b91c1c; font-size: .88rem; font-weight: 600; }
.faq-ed-actions { margin-top: auto; padding-top: 18px; display: flex; justify-content: flex-end; gap: 12px; }
.faq-ed-actions .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; }
.lp-section-set { margin-top: 18px; padding: 16px 22px; }
.lp-section-set summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: #0f172a; list-style: none; }
.lp-section-set summary::-webkit-details-marker { display: none; }
.lp-section-set summary .ic { color: var(--em-700); }
.lp-section-set summary small { color: #64748b; font-weight: 500; }
.lp-section-set[open] summary { margin-bottom: 14px; }
.lp-tips { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 18px 24px; border: 1px solid #dcfce7; border-radius: 18px; background: linear-gradient(90deg, #f0fdf4, #f8fffa); }
.lp-tips > .ic { flex: 0 0 auto; color: var(--em-700); margin-top: 2px; }
.lp-tips strong { color: var(--em-700); font-size: 1.05rem; }
.lp-tips p { margin: 4px 0 0; color: #1f2937; font-size: .92rem; }
/* Konten Beranda: Cara Kerja */
.st-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px; margin-bottom: 18px; border-radius: 20px; border: 1px solid #dcfce7; background: linear-gradient(100deg, #f0fdf4, #ecfdf5 60%, #dcfce7); }
.st-hero::after { content: ""; position: absolute; left: 30%; right: -10%; bottom: -50px; height: 90px; border-radius: 50%; background: rgba(187,247,208,.45); pointer-events: none; }
.st-hero-copy { position: relative; z-index: 1; max-width: 460px; }
.st-hero-copy h2, .landing-form .st-hero-copy h2 { margin: 0 0 8px; font-size: 1.7rem; font-weight: 800; color: var(--em-800); }
.st-hero-copy p { margin: 0; color: #334155; line-height: 1.5; }
.st-hero-flow { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.st-hero-flow img { width: 72px; height: 72px; object-fit: contain; }
.st-arrow { color: var(--em-700); display: inline-flex; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.st-grid .lp-card { padding: 18px; }
.st-grid .lp-card-head { margin-bottom: 16px; }
.st-grid .lp-card-title h2, .landing-form .st-grid .lp-card h2 { font-size: 1.12rem; }
.st-grid .lp-card-title p { font-size: .8rem; }
.st-head-grip { color: #475569; }
.st-add { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .82rem; }
.st-add[disabled] { opacity: .5; cursor: not-allowed; }
.st-item { grid-template-columns: 20px 64px 30px minmax(0, 1fr); gap: 12px; padding: 10px 14px 10px 10px; cursor: pointer; }
.st-thumb { width: 64px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: #f0fdf4; color: var(--em-700); overflow: hidden; }
.st-thumb img { width: 48px; height: 48px; object-fit: contain; }
.st-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; font-size: .85rem; font-weight: 800; }
.st-copy { min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; }
.st-copy strong { display: block; font-size: .98rem; color: #0f172a; }
.st-copy small { display: block; margin-top: 2px; color: #334155; font-size: .8rem; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st-item .st-fields { display: none; }
#st-slot .st-fields { display: block; }
.st-editor .field label { font-weight: 600; font-size: .88rem; color: #0f172a; }
.st-editor .field input, .st-editor .field textarea { font-size: .88rem; border-radius: 10px; }
.st-info { color: #64748b; font-weight: 400; cursor: help; }
.st-img-field { display: flex; align-items: flex-start; gap: 14px; }
.st-img-preview { flex: 0 0 auto; width: 112px; height: 100px; display: grid; place-items: center; border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; color: #94a3b8; overflow: hidden; }
.st-img-preview img { width: 84px; height: 84px; object-fit: contain; }
.st-img-actions { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-img-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.st-img-actions small { color: #64748b; font-size: .78rem; }
.st-file-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; font-size: .82rem; }
.st-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.st-del-step { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 0; border: 0; background: none; color: #dc2626; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.st-del-step:hover { text-decoration: underline; }
.st-pv { position: relative; overflow: hidden; padding: 28px 14px 70px; border-radius: 16px; border: 1px solid #dcfce7; background: linear-gradient(180deg, #f0fdf4, #ecfdf5); text-align: center; }
.st-pv::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 80px; border-radius: 50%; background: rgba(187,247,208,.6); }
.st-pv h4 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; color: var(--em-800); }
.st-pv > p { margin: 0 auto 22px; max-width: 280px; color: #334155; font-size: .85rem; line-height: 1.45; }
.st-pv-flow { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: 4px; flex-wrap: wrap; }
.st-pv-item { width: 58px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.st-pv-img { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--em-700); box-shadow: 0 4px 10px rgba(15,23,42,.06); overflow: hidden; }
.st-pv-img img { width: 34px; height: 34px; object-fit: contain; }
.st-pv-item b { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #15803d; color: #fff; font-size: .68rem; }
.st-pv-item small { font-size: .72rem; line-height: 1.25; color: #0f172a; }
.st-pv-arrow { margin-top: 16px; color: var(--em-700); font-size: .8rem; }
@media (max-width: 1280px) { .st-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .st-pv-card { grid-column: 1 / -1; } }
@media (max-width: 860px) {
    .st-grid { grid-template-columns: 1fr; }
    .st-hero { flex-direction: column; align-items: flex-start; }
    .st-hero-flow { justify-content: flex-start; }
    .st-hero-flow img { width: 48px; height: 48px; }
}
@media (max-width: 520px) {
    .st-item { grid-template-columns: 18px 48px 26px minmax(0, 1fr); }
    .st-thumb { width: 48px; height: 44px; }
    .st-img-field { flex-direction: column; }
}

.lp-footer-card { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; padding: 28px; }
.lp-footer-card .lp-card-head { margin-bottom: 22px; }
.lp-footer-card .field label { font-weight: 600; color: #0f172a; }
.lp-footer-card .field input, .lp-footer-card .field textarea { border-radius: 10px; }
.lp-footer-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .lp-split { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .lp-footer-card { grid-template-columns: 1fr; } .lp-footer-art { display: none; } }
@media (max-width: 640px) {
    .lp-card { padding: 16px; }
    .lp-card-head { flex-wrap: wrap; }
    .lp-add { width: 100%; justify-content: center; }
    .lp-item { grid-template-columns: 20px auto minmax(0, 1fr); }
    .lp-item .lp-item-act { grid-column: 1 / -1; justify-content: flex-end; }
    .faq-item .lp-item-act { grid-column: auto; }
    .lp-item-ic { width: 48px; height: 48px; }
    .lp-item-edit { grid-template-columns: 1fr; }
}
.sticky-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(180deg, transparent, var(--bg) 35%); margin-top: 16px; z-index: 5; }

/* Animasi ilustrasi */
.anim-type { animation: type 0.9s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
.anim-type.r { animation-delay: .45s; }
.anim-line { animation: line 2.4s ease-in-out infinite; transform-origin: left center; transform-box: fill-box; }
.anim-line.d2 { animation-delay: .4s; } .anim-line.d3 { animation-delay: .8s; }
.anim-doc { animation: doc 4s ease-in-out infinite; transform-box: fill-box; }
.anim-check { animation: pop 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.anim-float { animation: float 5s ease-in-out infinite; transform-box: fill-box; }
.anim-head { animation: nod 4s ease-in-out infinite; transform-origin: 50% 90%; transform-box: fill-box; }
.anim-steam { animation: steam 3s ease-in-out infinite; transform-box: fill-box; }
.anim-cheer { animation: cheer 1.6s ease-in-out infinite; transform-origin: 85% 95%; transform-box: fill-box; }
.anim-cheer.r { animation-delay: .5s; }
.anim-head.r { animation-delay: 1s; }
.anim-float-slow { animation: float 7s ease-in-out infinite; transform-box: fill-box; }
.anim-swing { animation: float 4.5s ease-in-out infinite; }
.anim-sway { animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes cheer { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg) translateY(-4px); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes type { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes line { 0% { transform: scaleX(.15); } 60%, 100% { transform: scaleX(1); } }
@keyframes doc { 0%, 15% { transform: translate(0, 0); opacity: 1; } 55% { transform: translate(-70px, -38px) rotate(-8deg); opacity: 1; } 70%, 100% { transform: translate(-70px, -38px) rotate(-8deg); opacity: 0; } }
@keyframes pop { 0% { transform: scale(.4); opacity: .3; } 12% { transform: scale(1.18); opacity: 1; } 22%, 100% { transform: scale(1); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 50% { opacity: .7; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .anim-check { opacity: 1; transform: none; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; font-size: .88rem; }

/* Admin: Layanan & Harga Paket */
.svc-page { display: flex; flex-direction: column; gap: 18px; }
.layout-admin .svc-head { min-height: 250px; margin-top: -88px; padding: 86px 26px 22px; overflow: hidden; border: 1px solid #dcf3e4; border-radius: 0 0 22px 22px; background: linear-gradient(110deg, #f2fff6 0%, #fff 55%, #e4fae8 100%); }
.svc-head::before { content: ""; position: absolute; right: 7%; bottom: -58%; width: 43%; height: 105%; border-radius: 50%; background: rgba(74,222,128,.13); }
.svc-head .ord-head-img { right: 1%; bottom: 0; max-height: 185px; max-width: 47%; mix-blend-mode: multiply; }
.svc-head .pay-head-copy { max-width: 61%; }
.svc-head .pay-head-copy h1 { font-size: clamp(2rem, 3vw, 2.65rem); }
.svc-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(400px, 1fr); gap: 18px; align-items: stretch; }
.svc-panel { background: #fff; border: 1px solid #e8eef0; border-radius: 22px; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.svc-panel-list { padding: 18px 16px 18px; min-height: 720px; align-self: stretch; }
.svc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 16px; }
.svc-panel-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.svc-h-ic { color: var(--em-700); display: inline-flex; }
.svc-search { flex: 0 1 270px; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid #dfe5e8; background: #fff; border-radius: 12px; }
.svc-search .ic { color: #475569; flex: 0 0 auto; }
.svc-search input { width: 100%; border: 0; background: transparent; outline: none; font: inherit; font-size: .92rem; color: #0f172a; padding: 0; min-height: 0; box-shadow: none; }
.svc-search input::placeholder { color: #94a3b8; }
.svc-table { display: flex; flex-direction: column; gap: 6px; }
.svc-thead, .svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px 80px 120px; align-items: center; gap: 10px; }
.svc-thead { display: none; }
.svc-thead span:nth-child(n+2) { text-align: center; }
.svc-row { padding: 12px 12px; border: 1px solid #e2f0e7; border-radius: 14px; background: linear-gradient(90deg, #f4fff6, #fff); box-shadow: 0 4px 12px rgba(15,23,42,.035); transition: border-color .12s ease; }
.svc-row:hover, .svc-row.is-editing { border-color: #86efac; }
.svc-row[hidden] { display: none; }
.svc-row-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.svc-item-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #dcfce7; color: var(--em-700); }
.svc-item-copy { min-width: 0; }
.svc-item-copy strong { display: block; font-size: .95rem; line-height: 1.35; color: #0f172a; }
.svc-item-copy small { display: block; margin-top: 4px; color: #64748b; font-size: .86rem; }
.svc-row-meta { padding-left: 16px; border-left: 1px solid #dce9e1; }
.svc-item-price { display: block; font-size: 1rem; font-weight: 800; color: #087a28; text-align: left; white-space: nowrap; }
.svc-item-sla { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .8rem; color: #475569; text-align: left; white-space: nowrap; }
.svc-row > span:nth-child(3) { text-align: center; }
.svc-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.svc-status::before { content: "✓"; width: auto; height: auto; background: none; font-weight: 900; }
.svc-status.ok { background: #dcfce7; color: #15803d; }
.svc-status.muted { background: #f1f5f9; color: #64748b; }
.svc-actions { display: flex; justify-content: center; gap: 8px; }
.svc-actions form { margin: 0; display: contents; }
.svc-act { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #fff; cursor: pointer; padding: 0; transition: background .12s ease; }
.svc-act.edit { border: 1px solid #86efac; color: #16a34a; }
.svc-act.edit:hover { background: #f0fdf4; }
.svc-act.toggle.is-active { border: 1px solid #fdba74; color: #ea580c; }
.svc-act.toggle.is-active:hover { background: #fff7ed; }
.svc-act.toggle.is-inactive { border: 1px solid #86efac; color: #16a34a; }
.svc-act.toggle.is-inactive:hover { background: #f0fdf4; }
.svc-act.del { display: none; border: 1px solid #fca5a5; color: #dc2626; }
.svc-actions .svc-act.del { display: grid; }
.svc-act.del:hover { background: #fef2f2; }
.svc-act:disabled { opacity: .4; cursor: not-allowed; background: #fff; }
.svc-empty { margin: 14px 0 0; text-align: center; color: #64748b; font-size: .92rem; }
.svc-panel-form { min-height: 720px; padding: 12px 16px 22px; }
.svc-form-tabs { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; margin-bottom: 18px; }
.svc-form-tabs span,
.svc-form-tabs strong { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #dfe7e2; border-radius: 12px; color: #0f172a; background: #fff; font-size: .92rem; }
.svc-form-tabs strong { border-color: #0a9f36; color: #fff; background: linear-gradient(180deg, #18b94b, #07852d); box-shadow: 0 8px 16px rgba(21,128,61,.2); }
.svc-form-head { display: none; }
.svc-form-plus { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(180deg, #22c55e, #15803d); color: #fff; }
.svc-form-plus .ic { stroke-width: 3; }
.svc-form-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #0f172a; }
.svc-form { display: flex; flex-direction: column; gap: 12px; padding: 0 3px; }
.svc-field { display: flex; flex-direction: column; gap: 6px; }
.svc-field > label { color: #0f172a; font-weight: 700; font-size: .9rem; }
.svc-field > label span { color: #ef4444; }
.svc-input { position: relative; display: flex; }
.svc-input > .ic { display: none; }
.svc-input.is-area > .ic { top: 16px; transform: none; }
.svc-input input, .svc-input textarea { width: 100%; border: 1px solid #d5dee5; border-radius: 10px; background: #fff; padding: 11px 13px; font: inherit; font-size: .9rem; color: #0f172a; min-height: 44px; }
.svc-input textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.svc-input #req { min-height: 70px; }
.svc-input input::placeholder, .svc-input textarea::placeholder { color: #64748b; }
.svc-input input:focus, .svc-input textarea:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.svc-row-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-upload { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px dashed #bdcbd4; border-radius: 10px; background: #fff; }
.svc-upload-box { flex: 0 0 auto; display: flex; align-items: stretch; border: 1px solid #dfe5e8; border-radius: 10px; background: #fff; overflow: hidden; }
.svc-upload-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; color: #16a34a; background: #ecfdf5; }
.svc-upload-ic img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; }
.svc-upload-copy { min-width: 0; }
.svc-upload-copy strong, .svc-upload-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-upload-copy strong { font-size: .84rem; color: #0f172a; }
.svc-upload-copy small { margin-top: 3px; color: #64748b; font-size: .72rem; }
.svc-upload-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; margin: 0; background: #fff; border: 1px solid #a7e5b7; border-radius: 9px; cursor: pointer; font-size: .8rem; font-weight: 700; color: #087c2c; }
.svc-upload-btn:hover { background: #f0fdf4; border-color: #86efac; }
.svc-upload.is-dragging { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.svc-upload-help { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.svc-upload-help small { color: #334155; font-size: .8rem; line-height: 1.6; }
.svc-check { display: inline-flex; align-items: center; gap: 8px; color: #b91c1c; font-size: .82rem; font-weight: 600; }
.svc-check input { width: auto; margin: 0; accent-color: #dc2626; }
.svc-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 2px; font-weight: 500; font-size: .92rem; color: #0f172a; }
.svc-toggle input { width: 22px; height: 22px; margin: 0; accent-color: #16a34a; }
.svc-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.svc-save { flex: 1 1 auto; width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; font-size: 1rem; font-weight: 700; background: linear-gradient(180deg, #16b943, #07842b); box-shadow: 0 8px 18px rgba(21,128,61,.25); }
.svc-form-actions .btn-ghost { flex: 0 0 auto; min-height: 50px; }
@media (max-width: 1280px) {
    .svc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .svc-panel-head { flex-direction: column; align-items: stretch; }
    .svc-search { flex-basis: auto; }
    .svc-thead { display: none; }
    .svc-row { grid-template-columns: 1fr auto; gap: 10px 12px; }
    .svc-row-main { grid-column: 1 / -1; }
    .svc-row-meta { padding-left: 0; border-left: 0; }
    .svc-item-price, .svc-item-sla, .svc-row > span:nth-child(3) { text-align: left; }
    .svc-item-price::before, .svc-item-sla::before { content: attr(data-label) ": "; font-weight: 500; color: #64748b; font-size: .82rem; }
    .svc-actions { justify-content: flex-end; }
    .svc-row-two { grid-template-columns: 1fr; gap: 12px; }
    .svc-upload { grid-template-columns: 46px minmax(0, 1fr); }
    .svc-upload-btn { grid-column: 1 / -1; width: 100%; }
}

/* Modal tambah/ubah layanan */
.svc-layout { grid-template-columns: minmax(0, 1fr); }
.svc-panel-list { min-height: 420px; }
.svc-list-tools { display: flex; align-items: center; gap: 10px; }
.svc-list-tab { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 1px solid #d8e3dd; border-radius: 11px; color: #0f172a; background: #fff; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.svc-open-create { min-height: 44px; min-width: 190px; justify-content: center; }
.svc-service-dialog { width: min(660px, calc(100vw - 30px)); max-height: calc(100vh - 28px); padding: 0; overflow: auto; border: 0; border-radius: 22px; color: #0f172a; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.3); }
.svc-service-dialog::backdrop { background: rgba(30,41,59,.64); backdrop-filter: blur(2px); }
.svc-modal-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; min-height: 100px; padding: 20px 38px; background: linear-gradient(115deg, #fff 0%, #f5fff7 58%, #d7f9df 100%); }
.svc-modal-head::before,
.svc-modal-head::after { content: ""; position: absolute; right: -6%; bottom: -65px; width: 55%; height: 105px; border-radius: 50%; background: rgba(74,222,128,.25); transform: rotate(-7deg); }
.svc-modal-head::after { right: 21%; bottom: -82px; background: rgba(34,197,94,.13); transform: rotate(8deg); }
.svc-modal-head > span { position: relative; z-index: 1; flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: #0b9635; background: #e6faeb; box-shadow: 0 8px 18px rgba(21,128,61,.12); }
.svc-modal-head > div { position: relative; z-index: 1; }
.svc-modal-head h2 { margin: 0; font-size: 1.35rem; }
.svc-modal-head p { margin: 4px 0 0; color: #475569; font-size: .82rem; }
.svc-modal-close { position: absolute; z-index: 2; right: 20px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #d8e1e7; border-radius: 50%; color: #0f172a; background: #fff; cursor: pointer; font-size: 1.7rem; line-height: 1; box-shadow: 0 5px 12px rgba(15,23,42,.08); }
.svc-modal-body { padding: 20px 38px 0; }
.svc-service-dialog .svc-form-tabs,
.svc-service-dialog .svc-form-head { display: none; }
.svc-service-dialog .svc-form { gap: 12px; padding: 0; }
.svc-service-dialog .svc-field > label { font-size: .82rem; }
.svc-service-dialog .svc-input > .ic { display: block; position: absolute; z-index: 1; left: 16px; top: 50%; transform: translateY(-50%); color: #475569; }
.svc-service-dialog .svc-input.is-area > .ic { top: 17px; transform: none; }
.svc-service-dialog .svc-input input,
.svc-service-dialog .svc-input textarea { padding-left: 50px; }
.svc-service-dialog .svc-input textarea { min-height: 78px; }
.svc-char-count { position: absolute; right: 8px; bottom: -18px; color: #64748b; font-size: .72rem; }
.svc-service-dialog .svc-field:has(#desc) { margin-bottom: 14px; }
.svc-service-dialog .svc-field:has(#disc) { display: none; }
.svc-service-dialog .svc-toggle { display: none; }
.svc-service-dialog .svc-upload { min-height: 86px; padding: 12px 20px; }
.svc-service-dialog .svc-form-actions { display: flex; align-items: center; justify-content: space-between; margin: 8px -38px 0; padding: 16px 38px 24px; border-top: 1px solid #edf1f3; background: #fbfdfc; }
.svc-service-dialog .svc-form-actions .btn { flex: 0 0 auto; min-height: 46px; min-width: 95px; justify-content: center; }
.svc-service-dialog .svc-form-actions .svc-save { min-width: 210px; }
@media (max-width: 900px) {
    .svc-panel-head { align-items: stretch; flex-direction: column; }
    .svc-list-tools { flex-wrap: wrap; }
    .svc-search { flex: 1 1 100%; max-width: none; }
    .svc-list-tab, .svc-open-create { flex: 1; }
}
@media (max-width: 600px) {
    .svc-modal-head { padding: 18px 20px; }
    .svc-modal-head h2 { padding-right: 34px; font-size: 1.15rem; }
    .svc-modal-body { padding: 18px 18px 0; }
    .svc-service-dialog .svc-row-two { grid-template-columns: 1fr; }
    .svc-service-dialog .svc-form-actions { margin: 8px -18px 0; padding: 14px 18px 20px; gap: 10px; }
    .svc-service-dialog .svc-form-actions .btn, .svc-service-dialog .svc-form-actions .svc-save { min-width: 0; flex: 1; }
}

/* Admin: Manajemen Pengguna */
.page-admin-users .adm-main { position: relative; overflow: hidden; }
.page-admin-users .adm-top { position: relative; isolation: isolate; min-height: 174px; align-items: flex-end; padding-top: 62px; padding-bottom: 22px; }
.page-admin-users .adm-top::before,
.page-admin-users .adm-top::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; transform: rotate(-12deg); }
.page-admin-users .adm-top::before { width: 620px; height: 185px; right: -75px; top: -116px; background: rgba(187,247,208,.38); }
.page-admin-users .adm-top::after { width: 480px; height: 150px; right: 160px; top: -111px; background: rgba(220,252,231,.58); }
.adm-breadcrumb { position: absolute; top: 28px; left: 44px; display: flex; align-items: center; gap: 13px; color: #64748b; font-size: .82rem; }
.adm-breadcrumb a { display: grid; place-items: center; color: #07852d; text-decoration: none; }
.adm-breadcrumb strong { color: #0f172a; font-weight: 600; }
.page-admin-users .adm-title-ic { background: linear-gradient(145deg,#effff3,#d1f7dc); box-shadow: 0 10px 24px rgba(21,128,61,.18); }
.page-admin-users .adm-title h1 { font-size: clamp(1.8rem,2.4vw,2.35rem); }
.page-admin-users .adm-content { position: relative; z-index: 1; }
.usr-page { display: flex; flex-direction: column; gap: 22px; }
.usr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usr-page .usr-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usr-stat { position: relative; overflow: hidden; min-height: 124px; display: flex; align-items: center; gap: 20px; padding: 20px 30px; border: 1px solid #dfe9e3; border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(15,23,42,.045); }
.usr-stat.is-total { background: linear-gradient(135deg, #f1fff5, #e5fae9); border-color: #cdeed7; }
.usr-stat.is-total::after { content: ""; position: absolute; right: -30px; bottom: -55px; width: 190px; height: 105px; border-radius: 50%; background: rgba(74,222,128,.35); transform: rotate(-8deg); }
.usr-stat > span { position: relative; z-index: 1; flex: 0 0 auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #088b31; background: #e4f9e9; box-shadow: 0 8px 18px rgba(21,128,61,.1); }
.usr-stat.is-total > span { border-radius: 17px; background: rgba(255,255,255,.68); }
.usr-stat:not(.is-total)::after { content: ""; position: absolute; right: 18px; bottom: -26px; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 50% 35%,rgba(134,239,172,.38) 0 19%,transparent 20%),radial-gradient(circle at 25% 60%,rgba(134,239,172,.28) 0 18%,transparent 19%),radial-gradient(circle at 75% 60%,rgba(134,239,172,.28) 0 18%,transparent 19%); opacity: .8; }
.usr-stat > div { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.usr-stat strong { color: #0f172a; font-size: 1rem; }
.usr-stat b { color: #0f172a; font-size: 1.85rem; line-height: 1.12; }
.usr-stat small { color: #475569; font-size: .8rem; white-space: nowrap; }
.usr-toolbar { position: relative; z-index: 8; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #dfe9e3; border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(15,23,42,.045); }
.usr-filters { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.usr-search { flex: 1 1 330px; min-width: 230px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #d5dfe6; border-radius: 12px; background: #f8fafc; color: #334155; }
.usr-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent; font: inherit; }
.usr-role-tabs { display: flex; gap: 8px; }
.usr-role-tabs a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #cfe5d5; border-radius: 11px; color: #087c2c; background: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; }
.usr-role-tabs a.active { color: #fff; border-color: #0b9633; background: linear-gradient(180deg, #19b94a, #07862d); box-shadow: 0 7px 14px rgba(21,128,61,.2); }
.usr-separator { width: 1px; height: 48px; background: #cbd5e1; margin: 0 5px; }
.usr-status-filter { flex: 0 0 190px; position: relative; }
.usr-status-filter > span { position: absolute; z-index: 1; left: 15px; top: 50%; transform: translateY(-50%); color: #334155; font-size: .86rem; }
.usr-status-filter select { height: 48px; padding: 0 38px 0 62px; border-radius: 11px; background-color: #fff; font-weight: 700; }
.usr-create { flex: 0 0 auto; position: relative; }
.usr-create > summary { min-height: 48px; min-width: 210px; justify-content: center; list-style: none; cursor: pointer; }
.usr-create > summary::-webkit-details-marker { display: none; }
.usr-create-box { position: absolute; right: 0; top: calc(100% + 12px); width: min(760px, calc(100vw - 60px)); padding: 20px; border: 1px solid #dce7e0; border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(15,23,42,.18); }
.usr-create-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.usr-create-head h2 { margin: 0; font-size: 1.2rem; }
.usr-create-head p { margin: 3px 0 0; color: #64748b; font-size: .82rem; }
.usr-create-head > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #07862d; background: #e6f9eb; }
.usr-create-btn { flex: 0 0 auto; min-width: 210px; min-height: 48px; justify-content: center; }
.usr-create-dialog { width: min(800px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 24px; color: #0f172a; background: #fff; box-shadow: 0 30px 80px rgba(15,23,42,.28); }
.usr-create-dialog::backdrop { background: rgba(30,41,59,.64); backdrop-filter: blur(2px); }
.usr-modal-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; min-height: 122px; padding: 24px 36px; background: linear-gradient(120deg, #fff 0%, #f4fff7 58%, #d9f8e2 100%); }
.usr-modal-head::before,
.usr-modal-head::after { content: ""; position: absolute; right: -5%; bottom: -75px; width: 52%; height: 120px; border-radius: 50%; background: rgba(74,222,128,.22); transform: rotate(-6deg); }
.usr-modal-head::after { right: 19%; bottom: -92px; width: 45%; background: rgba(34,197,94,.12); transform: rotate(8deg); }
.usr-modal-head > span { position: relative; z-index: 1; flex: 0 0 auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px; color: #0a9835; background: #e6faeb; box-shadow: 0 9px 18px rgba(21,128,61,.12); }
.usr-modal-head > div { position: relative; z-index: 1; }
.usr-modal-head h2 { margin: 0; font-size: 1.55rem; }
.usr-modal-head p { margin: 4px 0 0; color: #475569; }
.usr-modal-close { position: absolute; z-index: 2; right: 24px; top: 22px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #d6e1e7; border-radius: 50%; color: #0f172a; background: #fff; cursor: pointer; font-size: 1.8rem; line-height: 1; box-shadow: 0 5px 12px rgba(15,23,42,.08); }
.usr-modal-form { padding: 28px 36px 0; }
.usr-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.usr-modal-grid .field { margin: 0; }
.usr-modal-grid .field > label { color: #0f172a; font-weight: 700; }
.usr-password-field { grid-column: 1 / -1; }
.usr-modal-input { position: relative; display: flex; align-items: center; }
.usr-modal-input > .ic,
.usr-modal-input > b { position: absolute; z-index: 1; left: 16px; color: #475569; font-size: 1.2rem; }
.usr-modal-input input,
.usr-modal-input select { width: 100%; height: 48px; padding: 0 48px 0 54px; border: 1px solid #cbd7e1; border-radius: 11px; background-color: #fff; }
.usr-modal-input input:focus,
.usr-modal-input select:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.usr-modal-input > button { position: absolute; right: 13px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; color: #475569; background: transparent; cursor: pointer; }
.usr-modal-check { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 26px; color: #0f172a; }
.usr-modal-check input { width: 22px; height: 22px; accent-color: #16a34a; }
.usr-modal-actions { display: flex; align-items: center; justify-content: space-between; margin: 0 -36px; padding: 18px 36px 26px; border-top: 1px solid #edf1f3; background: #fbfdfc; }
.usr-modal-actions .btn { min-width: 112px; min-height: 50px; justify-content: center; }
.usr-modal-actions .btn:last-child { min-width: 235px; }
.usr-table-wrap { overflow: visible; border-radius: 20px; border-color: #dfe9e3; box-shadow: 0 12px 28px rgba(15,23,42,.045); }
.usr-table { width: 100%; }
.usr-table thead th { padding: 15px 12px; color: #26364a; background: linear-gradient(180deg, #f2fcf5, #eaf8ee); font-size: .78rem; font-weight: 800; text-align: left; white-space: nowrap; }
.usr-table tbody tr { transition: background .12s; }
.usr-table tbody tr:hover { background: #fbfffc; }
.usr-table tbody td { padding: 12px; border-bottom: 1px solid #e9eef1; color: #0f172a; font-size: .82rem; vertical-align: middle; white-space: nowrap; }
.usr-table tbody tr:last-child td { border-bottom: 0; }
.usr-name { display: flex; align-items: center; gap: 10px; }
.usr-name > i { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #087c2c; background: #dff8d5; font-style: normal; font-size: 1rem; font-weight: 800; }
.usr-name strong { font-size: .86rem; }
.usr-name em { padding: 2px 7px; border-radius: 99px; color: #2563eb; background: #dbeafe; font-size: .65rem; font-style: normal; }
.usr-role, .usr-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.usr-role.admin { color: #08733a; background: #d4f7e5; }
.usr-role.staff { color: #16743a; background: #ddf8d5; }
.usr-role.customer { color: #1262b8; background: #dcebff; }
.usr-state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.usr-state.active { color: #07852d; background: #e2f8dd; }
.usr-state.inactive { color: #dc2626; background: #fee2e2; }
.usr-state.locked { margin-left: 4px; color: #b45309; background: #fef3c7; }
.usr-actions, .usr-actions form { display: flex; align-items: center; gap: 7px; margin: 0; }
.usr-actions { position: relative; }
.usr-reset, .usr-edit { position: relative; }
.usr-reset > summary, .usr-edit > summary, .usr-icon-btn { width: 38px; height: 36px; display: grid; place-items: center; padding: 0; list-style: none; cursor: pointer; color: #0f172a; border: 1px solid #d9e2e8; border-radius: 10px; background: #fff; }
.usr-edit-open:hover { color: #07852d; border-color: #86efac; background: #f0fdf4; }
.customer-record-open { color: #166534; }
.customer-record-open:hover { color: #fff; border-color: #16a34a; background: #16a34a; }
.customer-record-dialog { width: min(880px, calc(100vw - 32px)); }
.customer-record-body { padding: 24px 36px 0; }
.customer-record-body > section, #record-order-data > section { margin-bottom: 20px; padding: 18px; border: 1px solid #e1ebe5; border-radius: 14px; background: #fbfdfc; }
.customer-record-body h3 { margin: 0 0 14px; color: #14532d; font-size: 1.05rem; }
.customer-record-grid { display: grid; grid-template-columns: 150px minmax(0,1fr) 150px minmax(0,1fr); gap: 9px 16px; margin: 0; }
.customer-record-grid dt { color: #64748b; font-size: .8rem; font-weight: 700; }
.customer-record-grid dd { min-width: 0; margin: 0; color: #0f172a; overflow-wrap: anywhere; font-size: .86rem; font-weight: 600; }
.customer-record-list { margin: 0; padding-left: 20px; color: #334155; font-size: .86rem; }
.customer-record-list li + li { margin-top: 6px; }
.customer-record-actions { margin: 0 -36px; }
@media (max-width: 720px) {
    .customer-record-body { padding: 18px 18px 0; }
    .customer-record-grid { grid-template-columns: 110px minmax(0,1fr); }
    .customer-record-actions { margin: 0 -18px; }
}
.usr-reset > summary::-webkit-details-marker, .usr-edit > summary::-webkit-details-marker { display: none; }
.usr-reset > div, .usr-edit > div { position: absolute; z-index: 12; right: 0; top: calc(100% + 8px); width: 255px; padding: 12px; border: 1px solid #dce5e0; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.18); }
.usr-reset > div form { display: grid; grid-template-columns: 1fr auto; }
.usr-reset input { min-width: 0; padding: 8px 10px; }
.usr-edit > div { width: 300px; }
.usr-edit > div form { display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.usr-edit label { display: flex; flex-direction: column; gap: 4px; color: #334155; font-size: .72rem; font-weight: 700; }
.usr-edit input { padding: 8px 10px; }
.usr-verify { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid #d6e4db; border-radius: 10px; color: #64748b; background: #fff; cursor: pointer; white-space: nowrap; font-size: .72rem; }
.usr-verify.on { color: #07852d; border-color: #bde8c8; background: #effbf1; }
.usr-toggle { width: 45px; height: 28px; padding: 3px; border: 1px solid #d2dce2; border-radius: 999px; background: #e2e8f0; cursor: pointer; }
.usr-toggle i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.2); transition: transform .15s; }
.usr-toggle.on { border-color: #6bd58b; background: #20bb55; }
.usr-toggle.on i { transform: translateX(16px); }
.usr-empty { padding: 38px !important; text-align: center; color: #64748b !important; }
@media (max-width: 1280px) {
    .usr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .usr-toolbar { align-items: stretch; flex-direction: column; }
    .usr-create-btn { width: 100%; }
}
@media (max-width: 900px) {
    .page-admin-users .adm-top { min-height: 142px; padding-top: 52px; }
    .adm-breadcrumb { top: 20px; left: 16px; }
    .usr-filters { flex-wrap: wrap; }
    .usr-search { flex-basis: 100%; }
    .usr-role-tabs { flex: 1; overflow-x: auto; }
    .usr-separator { display: none; }
    .usr-table-wrap { overflow-x: auto; }
    .usr-table { min-width: 980px; }
}
@media (max-width: 560px) {
    .usr-stats { grid-template-columns: 1fr; }
    .usr-stat { min-height: 108px; }
    .usr-status-filter { flex: 1 1 150px; }
    .usr-modal-head { padding: 20px; }
    .usr-modal-head > span { width: 54px; height: 54px; }
    .usr-modal-head h2 { padding-right: 30px; font-size: 1.2rem; }
    .usr-modal-form { padding: 22px 18px 0; }
    .usr-modal-grid { grid-template-columns: 1fr; }
    .usr-password-field { grid-column: auto; }
    .usr-modal-actions { margin: 0 -18px; padding: 16px 18px 22px; gap: 10px; }
    .usr-modal-actions .btn, .usr-modal-actions .btn:last-child { min-width: 0; flex: 1; }
}
@media print { .topbar, .footer, .btn, form, .adm-side, .adm-actions, .adm-footer { display: none !important; } .adm { display: block; } }

/* ===== Live Chat customer & back office ===== */
.nav-chat-badge,.chat-fab>em { min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px;border-radius:99px;color:#fff;background:#ef4444;font-size:.7rem;font-style:normal;font-weight:800; }
.chat-fab { position:fixed;z-index:30;right:26px;bottom:24px;display:flex;align-items:center;gap:11px;padding:11px 18px;border:5px solid #fff;border-radius:999px;color:#fff;background:linear-gradient(135deg,#16a34a,#08752a);box-shadow:0 12px 30px rgba(15,118,52,.28);text-decoration:none; }
.chat-fab span,.chat-fab strong,.chat-fab small { display:block;line-height:1.15; }.chat-fab small{margin-top:2px;font-size:.7rem}.chat-fab>em{position:absolute;right:-3px;top:-5px}
.chat-client-page,.chat-conversation-page{max-width:1120px;padding-top:18px}.chat-client-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:18px}.chat-thread-list,.chat-new-card{border-radius:20px}
.chat-thread-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 10px;border-top:1px solid #e7ece9;color:#0f172a;text-decoration:none}.chat-thread-item:hover{background:#f4fcf6}.chat-thread-item>span:nth-child(2),.chat-thread-item strong,.chat-thread-item small{display:block;min-width:0}.chat-thread-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread-item small{margin-top:2px;color:#64748b;font-size:.76rem}.chat-thread-item>em,.chat-queue-item>em{min-width:23px;height:23px;display:grid;place-items:center;border-radius:99px;color:#fff;background:#ef4444;font-size:.72rem;font-style:normal;font-weight:800}.chat-thread-icon,.chat-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:#087c2c;background:#dcfce7}
.chat-security-note{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 12px;border:1px solid #fde68a;border-radius:10px;color:#854d0e;background:#fffbeb;font-size:.8rem}.chat-empty{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:24px;color:#64748b;text-align:center}.chat-empty strong{color:#0f172a;font-size:1.05rem}.chat-empty.small{min-height:110px;font-size:.8rem}
.chat-client-page{max-width:900px}.chat-client-box{overflow:hidden;border:1px solid #dce8e0;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(15,73,42,.08)}.chat-client-box-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid #e4ece7;background:linear-gradient(180deg,#fbfefc,#f5fbf7)}.chat-client-box-head>div{display:flex;align-items:center;gap:11px;min-width:0}.chat-client-box-head strong,.chat-client-box-head small{display:block}.chat-client-box-head strong{font-size:1rem}.chat-client-box-head small{margin-top:2px;color:#64748b;font-size:.72rem}.chat-client-list{min-height:290px;max-height:480px;overflow-y:auto}.chat-client-list .chat-thread-item:first-child{border-top:0}.chat-client-list .chat-empty{min-height:290px}.chat-thread-arrow{display:grid;place-items:center;color:#94a3b8}.chat-client-box-foot{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border-top:1px solid #e7ede9;color:#64748b;background:#fbfdfc;font-size:.72rem}
.chat-new-dialog{width:min(490px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;overflow:auto;border:0;border-radius:18px;color:#0f172a;background:#fff;box-shadow:0 26px 80px rgba(15,23,42,.3)}.chat-new-dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.chat-new-dialog>form>header{display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid #e5ebe7;background:linear-gradient(120deg,#fff,#eafbee)}.chat-new-dialog>form>header>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;color:#07852d;background:#dcfce7}.chat-new-dialog>form>header>div{min-width:0;flex:1}.chat-new-dialog h2{margin:0;font-size:1.08rem}.chat-new-dialog header p{margin:2px 0 0;color:#64748b;font-size:.75rem}.chat-new-dialog header button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#334155;background:#fff;cursor:pointer;font-size:1.45rem}.chat-new-dialog-body{padding:15px 18px 4px}.chat-new-dialog-body .field{margin-bottom:12px}.chat-new-dialog-body input,.chat-new-dialog-body select{min-height:42px}.chat-new-dialog-body textarea{min-height:92px}.chat-new-dialog>form>footer{display:flex;justify-content:flex-end;gap:9px;padding:12px 18px 16px;border-top:1px solid #e8eeea;background:#fbfdfc}.chat-new-dialog>form>footer .btn{min-width:105px;justify-content:center}
.chat-conversation{height:min(720px,calc(100vh - 130px));display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;overflow:hidden;border:1px solid #dce8e0;border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(15,73,42,.08)}.chat-conversation-head,.chat-center-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #e5ebe7;background:#fbfefc}.chat-conversation-head>a{display:flex;color:#0f172a}.chat-conversation-head>div{min-width:0;flex:1}.chat-conversation-head h1,.chat-center-head h2{margin:0;font-size:1.05rem}.chat-conversation-head p,.chat-center-head p{margin:2px 0 0;color:#64748b;font-size:.76rem}.chat-head-topic{padding:5px 10px;border-radius:99px;color:#087c2c;background:#e8f9ed;font-size:.76rem;font-weight:700}
.chat-messages{min-height:0;overflow-y:auto;padding:18px;background:linear-gradient(180deg,#f8fcf9,#f3faf5)}.chat-day-note{width:max-content;margin:0 auto 15px;padding:4px 10px;border-radius:99px;color:#64748b;background:#fff;font-size:.7rem}.chat-bubble{width:max-content;max-width:min(74%,620px);margin:0 0 10px;padding:9px 12px;border:1px solid #e1e8e3;border-radius:5px 14px 14px 14px;background:#fff;box-shadow:0 2px 5px rgba(15,23,42,.035)}.chat-bubble.mine{margin-left:auto;border-color:#b8e5c5;border-radius:14px 5px 14px 14px;background:#dcfce7}.chat-bubble strong{display:block;color:#166534;font-size:.7rem}.chat-bubble p{margin:3px 0;line-height:1.45;white-space:normal}.chat-bubble small{display:block;color:#64748b;text-align:right;font-size:.65rem}.chat-file{display:inline-flex;align-items:center;gap:6px;margin:5px 0;padding:7px 9px;border:1px solid #b7dfc2;border-radius:8px;color:#166534;background:#fff;text-decoration:none;font-size:.78rem}
.chat-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:8px;padding:12px 14px;border-top:1px solid #e4ebe6;background:#fff}.chat-composer textarea{min-height:44px;max-height:110px;resize:none}.chat-attach{width:42px;height:42px;display:grid;place-items:center;margin:0;border:1px solid #cbd5e1;border-radius:10px;color:#166534;cursor:pointer}.chat-composer .btn{width:44px;height:44px;padding:0}.chat-close-form{position:absolute;right:30px;bottom:85px}.chat-close-form button{border:0;color:#64748b;background:transparent;cursor:pointer;font-size:.72rem}.chat-closed{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border-top:1px solid #e5ebe7;background:#f8fafc}
.page-chat-admin .adm-content{display:flex;min-height:0;padding-bottom:18px}.chat-admin-page{width:100%;min-height:0;display:flex;flex-direction:column;gap:10px}.chat-admin-tabs{display:flex;align-items:center;gap:7px}.chat-admin-tabs>a{padding:8px 12px;border:1px solid #d7e2db;border-radius:9px;color:#475569;background:#fff;text-decoration:none;font-size:.78rem;font-weight:700}.chat-admin-tabs>a.active{color:#fff;border-color:#159444;background:#16a34a}.chat-admin-tabs form{display:flex;margin-left:auto}.chat-admin-tabs input{width:240px;border-radius:9px 0 0 9px}.chat-admin-tabs button{width:40px;border:1px solid #cbd5e1;border-left:0;border-radius:0 9px 9px 0;background:#fff;cursor:pointer}
.chat-workspace{min-height:560px;height:calc(100vh - 155px);display:grid;grid-template-columns:minmax(245px,25%) minmax(420px,1fr) minmax(245px,25%);overflow:hidden;border:1px solid #dce7e0;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,73,42,.06)}.chat-queue,.chat-context{min-width:0;overflow-y:auto;background:#fbfdfc}.chat-queue{border-right:1px solid #e4ebe6}.chat-context{border-left:1px solid #e4ebe6;padding-bottom:16px}.chat-pane-title{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e5ebe7}.chat-pane-title span{padding:2px 8px;border-radius:99px;color:#087c2c;background:#dcfce7;font-size:.72rem;font-weight:800}.chat-queue-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;border-bottom:1px solid #edf1ee;color:#0f172a;text-decoration:none}.chat-queue-item:hover,.chat-queue-item.active{background:#eefaef}.chat-queue-item>span:nth-child(2),.chat-queue-item strong,.chat-queue-item small{display:block;min-width:0}.chat-queue-item strong,.chat-queue-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-queue-item small{margin-top:2px;color:#64748b;font-size:.68rem}.chat-center{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.chat-center>.chat-empty{grid-row:1/-1}.chat-center-head>div{flex:1;min-width:0}.chat-context .kv{grid-template-columns:95px 1fr;padding:14px;font-size:.78rem}.chat-context-form{display:grid;grid-template-columns:1fr auto;gap:7px;margin:12px 14px}.chat-context-form label{grid-column:1/-1;margin:0}.chat-context-form select{min-width:0;padding:7px 8px}.chat-sla-note{display:flex;align-items:center;gap:7px;margin:15px;padding:10px;border-radius:10px;color:#166534;background:#ecfdf3;font-size:.76rem}
@media(max-width:1000px){.chat-workspace{grid-template-columns:250px minmax(400px,1fr)}.chat-context{display:none}.chat-admin-tabs{overflow-x:auto}.chat-client-grid{grid-template-columns:1fr}}
@media(max-width:700px){.chat-fab{right:14px;bottom:14px;padding:10px 13px}.chat-fab span{display:none}.chat-conversation-page{padding:8px}.chat-conversation{height:calc(100vh - 100px);border-radius:14px}.chat-head-topic{display:none}.chat-bubble{max-width:86%}.chat-admin-tabs form{display:none}.chat-workspace{height:calc(100vh - 145px);grid-template-columns:1fr}.chat-queue{border:0}.chat-center{display:none}.chat-queue-item.active~*{}body:has(.chat-queue-item.active) .chat-queue{display:none}body:has(.chat-queue-item.active) .chat-center{display:grid}.chat-client-page{padding-top:8px}.chat-new-card,.chat-thread-list{padding:16px}.chat-close-form{display:none}.chat-client-box-head{align-items:stretch;flex-direction:column}.chat-client-box-head .btn{width:100%;justify-content:center}.chat-client-box-foot{text-align:center}.chat-new-dialog>form>footer .btn{flex:1;min-width:0}}

/* ===== Live Chat widget v2 ===== */
.chat-stage{position:relative;min-height:calc(100vh - 76px);display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 12% 20%,rgba(134,239,172,.28),transparent 30%),radial-gradient(circle at 88% 74%,rgba(253,186,116,.16),transparent 28%),linear-gradient(135deg,#f3fbf6,#edf7f0 55%,#f9fcfa)}
.chat-stage::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.22);backdrop-filter:blur(2px);pointer-events:none}
.chat-widget{position:relative;z-index:1;width:min(820px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:34px;background:rgba(255,255,255,.96);box-shadow:0 30px 80px rgba(22,67,40,.2)}
.chat-widget-head{min-height:136px;display:flex;align-items:center;gap:16px;padding:24px 30px;position:relative;overflow:hidden;border-bottom:1px solid #deebe2;background:linear-gradient(135deg,#f8fff9 0%,#e8f9e9 62%,#fff5e8 100%)}
.chat-widget-head::after{content:"";position:absolute;right:55px;bottom:-38px;width:240px;height:95px;border-radius:50%;background:linear-gradient(135deg,rgba(34,197,94,.2),rgba(249,115,22,.14));transform:rotate(-7deg)}
.chat-agent-avatar,.chat-client-avatar{position:relative;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#087c2c;background:linear-gradient(145deg,#dcfce7,#fff);border:4px solid #fff;box-shadow:0 5px 16px rgba(15,118,52,.18)}
.chat-agent-avatar{width:76px;height:76px}.chat-agent-avatar i,.chat-client-avatar i{position:absolute;right:1px;bottom:2px;width:17px;height:17px;border:3px solid #fff;border-radius:50%;background:#22c55e}
.chat-agent-copy{min-width:0;z-index:1}.chat-agent-copy h1{margin:0;color:#063d25;font-size:1.75rem;line-height:1.05}.chat-agent-copy p{display:flex;align-items:center;gap:7px;margin:7px 0 0;color:#4b5563}.chat-agent-copy p>span{width:12px;height:12px;border-radius:50%;background:#22c55e}
.chat-head-brand{z-index:1;margin-left:auto;display:flex;align-items:center;gap:8px;color:#07522d}.chat-head-brand strong,.chat-head-brand span{display:block;line-height:1.1}.chat-head-brand span{color:#64748b;font-size:.72rem}.chat-widget-close{z-index:2;width:44px;height:44px;display:grid;place-items:center;align-self:flex-start;border:1px solid #d9e6dd;border-radius:50%;color:#0b3f2a;background:rgba(255,255,255,.82);box-shadow:0 4px 12px rgba(15,23,42,.08);text-decoration:none;font-size:2rem;line-height:1}
.chat-list-toolbar,.chat-topic-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 22px;border-bottom:1px solid #e7ede9;background:#fff}.chat-list-toolbar strong,.chat-list-toolbar small{display:block}.chat-list-toolbar small{margin-top:2px;color:#64748b;font-size:.75rem}.chat-widget-thread-list{min-height:310px;max-height:440px;padding:6px 16px;overflow-y:auto}.chat-widget-thread-list .chat-thread-item{padding:14px 10px;border-radius:14px}.chat-widget-thread-list .chat-thread-item:hover{background:#effaf2}.chat-widget-note{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;border-top:1px solid #e7ede9;color:#64748b;background:#fbfdfc;font-size:.72rem}
.chat-topic-bar{padding:9px 24px;color:#64748b;font-size:.76rem}.chat-topic-bar b{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 10px;border-radius:99px;color:#087c2c;background:#e8f9ed;font-size:.7rem}
.chat-widget-conversation{height:min(730px,calc(100vh - 118px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.chat-widget-messages{padding:22px 28px;background:linear-gradient(180deg,#fff,#fbfdfc)}
.chat-widget-messages .chat-bubble{display:flex;align-items:flex-end;gap:9px;max-width:min(76%,620px);padding:0;border:0;background:transparent;box-shadow:none}.chat-widget-messages .chat-bubble>div{padding:11px 15px;border-radius:22px 22px 22px 7px;background:#fff3e9;box-shadow:0 3px 12px rgba(15,23,42,.055)}.chat-widget-messages .chat-bubble.mine{justify-content:flex-end;margin-left:auto}.chat-widget-messages .chat-bubble.mine>div{border-radius:22px 22px 7px 22px;background:linear-gradient(135deg,#e6f8e3,#d7f2d4)}.chat-widget-messages .chat-bubble p{margin:0;font-size:.94rem}.chat-widget-messages .chat-bubble small{margin-top:4px;color:#64748b}.chat-widget-messages .chat-bubble.mine small{color:#07852d}.chat-message-avatar{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border:2px solid #fff;border-radius:50%;color:#087c2c;background:#dcfce7;box-shadow:0 2px 7px rgba(15,23,42,.12)}
.chat-widget-composer{margin:0 20px 20px;padding:0;border:0;background:transparent;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.chat-widget-composer textarea{height:58px;min-height:58px;padding:17px 18px;border:2px solid #159447;border-radius:30px;background:#fff;box-shadow:0 4px 13px rgba(15,118,52,.11)}.chat-widget-composer .chat-attach{width:48px;height:48px;border-radius:50%}.chat-send-button{width:58px;height:58px;display:grid;place-items:center;padding:0;border:0;border-radius:18px;color:#fff;background:linear-gradient(135deg,#fb923c,#f97316);box-shadow:0 8px 18px rgba(249,115,22,.28);cursor:pointer}.chat-new-dialog .chat-send-button{width:auto;height:42px;display:inline-flex;padding:0 18px;border-radius:10px}
.chat-admin-console{width:100%;min-height:620px;height:calc(100vh - 154px);display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden;border:1px solid #dce8e0;border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 18px 46px rgba(15,73,42,.1)}
.chat-multi-list{min-width:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);border-right:1px solid #deebe2;background:#f8fcf9}.chat-multi-list>header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px}.chat-multi-list>header strong,.chat-multi-list>header small{display:block}.chat-multi-list>header strong{font-size:1.05rem}.chat-multi-list>header small{margin-top:2px;color:#64748b;font-size:.72rem}.chat-multi-list>header>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#087c2c;background:#dcfce7}
.chat-client-search{display:flex;margin:0 14px 10px}.chat-client-search input{min-width:0;height:40px;border-radius:11px 0 0 11px}.chat-client-search button{width:42px;border:1px solid #cbd5e1;border-left:0;border-radius:0 11px 11px 0;color:#087c2c;background:#fff;cursor:pointer}.chat-filter-tabs{display:flex;gap:5px;padding:0 14px 12px;overflow-x:auto}.chat-filter-tabs a{padding:6px 9px;border-radius:9px;color:#64748b;background:#fff;text-decoration:none;font-size:.67rem;font-weight:800}.chat-filter-tabs a.active{color:#fff;background:#159447}.chat-multi-scroll{min-height:0;overflow-y:auto}.chat-client-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 8px 5px;padding:11px;border-radius:14px;color:#0f172a;text-decoration:none}.chat-client-row:hover,.chat-client-row.active{background:#e5f7e9;box-shadow:inset 3px 0 #16a34a}.chat-client-avatar{width:42px;height:42px;border-width:2px;font-weight:900}.chat-client-avatar i{width:12px;height:12px;border-width:2px}.chat-client-row>span:nth-child(2),.chat-client-row strong,.chat-client-row small{display:block;min-width:0}.chat-client-row strong,.chat-client-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-client-row small{margin-top:2px;color:#64748b;font-size:.66rem}.chat-client-row em{min-width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#ef4444;font-size:.67rem;font-style:normal;font-weight:900}
.chat-admin-widget{min-width:0;min-height:0;position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:18px;background:radial-gradient(circle at 80% 10%,rgba(134,239,172,.2),transparent 32%),#eef8f1}.chat-admin-widget .chat-widget{width:100%;height:100%;border-radius:24px;box-shadow:0 16px 44px rgba(15,73,42,.12)}.chat-widget-admin .chat-widget-head{min-height:110px;padding:16px 22px}.chat-widget-admin .chat-agent-avatar{width:62px;height:62px}.chat-widget-admin .chat-agent-copy h1{font-size:1.35rem}.chat-widget-admin .chat-widget-messages{padding:18px 24px}.chat-widget-admin .chat-widget-composer{margin:0 16px 14px}.chat-customer-avatar{color:#fff;background:linear-gradient(135deg,#16a34a,#087c2c);font-weight:900}.chat-admin-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#64748b;text-align:center}.chat-admin-empty svg{color:#16a34a}.chat-admin-empty strong{color:#0f172a;font-size:1.2rem}.chat-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:10px;padding:8px 10px;border:1px solid #dce8e0;border-radius:14px;background:#fff}.chat-admin-actions>span{display:flex;align-items:center;gap:6px;margin-right:auto;color:#475569;font-size:.76rem;font-weight:700}.chat-admin-actions select{width:190px;height:38px;padding:6px 9px}
@media(max-width:1000px){.chat-admin-console{grid-template-columns:260px minmax(0,1fr)}.chat-widget-head{min-height:116px;padding:18px 22px}.chat-agent-avatar{width:64px;height:64px}.chat-head-brand{display:none}}
@media(max-width:700px){.chat-stage{min-height:calc(100vh - 70px);padding:8px}.chat-widget{border-radius:18px}.chat-widget-conversation{height:calc(100vh - 86px)}.chat-widget-head{min-height:92px;padding:12px 14px;gap:10px}.chat-agent-avatar{width:54px;height:54px}.chat-agent-copy h1{font-size:1.15rem}.chat-agent-copy p{margin-top:4px;font-size:.72rem}.chat-widget-close{width:36px;height:36px;font-size:1.6rem}.chat-topic-bar{padding:8px 12px}.chat-topic-bar b{display:none}.chat-widget-messages{padding:14px 12px}.chat-widget-messages .chat-bubble{max-width:90%}.chat-widget-composer{margin:0 9px 10px;gap:6px}.chat-widget-composer textarea{height:48px;min-height:48px;padding:12px 14px}.chat-widget-composer .chat-attach{width:40px;height:40px}.chat-send-button{width:48px;height:48px}.chat-admin-console{height:calc(100vh - 130px);grid-template-columns:1fr;border-radius:18px}.chat-admin-widget{display:none;padding:7px}.chat-admin-console:has(.chat-widget-admin) .chat-multi-list{display:none}.chat-admin-console:has(.chat-widget-admin) .chat-admin-widget{display:grid}.chat-admin-actions{flex-wrap:wrap}.chat-admin-actions>span{width:100%}.chat-admin-actions select{min-width:0;flex:1}.chat-widget-note{text-align:center}.chat-list-toolbar{align-items:flex-start}.chat-list-toolbar small{display:none}}

/* ===== Floating live chat dock ===== */
.chat-dock-launcher{position:fixed;z-index:82;right:26px;bottom:22px;min-width:230px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 14px 9px 10px;border:2px solid #f97316;border-radius:999px;color:#073e27;background:linear-gradient(135deg,#fff,#fff8ee);box-shadow:0 16px 38px rgba(15,23,42,.22);text-align:left;text-decoration:none;cursor:pointer}.chat-dock-launcher>span:nth-child(2),.chat-dock-launcher strong,.chat-dock-launcher small{display:block}.chat-dock-launcher strong{font-size:.9rem}.chat-dock-launcher small{margin-top:2px;color:#475569;font-size:.68rem}.chat-dock-launcher small i{display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:50%;background:#22c55e}.chat-dock-launcher-icon{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#16a34a,#087c2c)}.chat-dock-launcher-icon i{position:absolute;right:0;bottom:1px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#22c55e}.chat-dock-launcher>em{position:absolute;right:-4px;top:-6px;min-width:23px;height:23px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:50%;color:#fff;background:#ef4444;font-size:.68rem;font-style:normal;font-weight:900}.chat-dock-launcher>svg{transition:transform .2s}.chat-dock-launcher.is-open>svg{transform:rotate(-90deg)}
.chat-dock-panel{position:fixed;z-index:81;right:26px;bottom:102px;width:min(680px,calc(100vw - 70px));height:min(500px,calc(100vh - 130px));overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(22px) scale(.98);transform-origin:right bottom;transition:opacity .2s,transform .2s,visibility .2s}.chat-dock-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.chat-dock-panel-head{height:62px;display:flex;align-items:center;gap:11px;padding:10px 15px;border-bottom:1px solid #e5ebe7;background:linear-gradient(135deg,#f7fff8,#fff6e9)}.chat-dock-panel-head>span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#16a34a}.chat-dock-panel-head>div{min-width:0;flex:1}.chat-dock-panel-head strong,.chat-dock-panel-head small{display:block}.chat-dock-panel-head small{margin-top:1px;color:#64748b;font-size:.68rem}.chat-dock-panel-head button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#334155;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.08);cursor:pointer;font-size:1.6rem}
.chat-dock-panel .chat-admin-console{height:calc(100% - 62px);min-height:0;grid-template-columns:225px minmax(0,1fr);border:0;border-radius:0;box-shadow:none}.chat-dock-panel .chat-multi-list>header{padding:11px 12px 8px}.chat-dock-panel .chat-client-search{margin:0 9px 7px}.chat-dock-panel .chat-filter-tabs{padding:0 9px 7px;gap:3px}.chat-dock-panel .chat-filter-tabs a{padding:5px 7px;font-size:.6rem}.chat-dock-panel .chat-client-row{grid-template-columns:36px minmax(0,1fr) auto;margin:0 5px 3px;padding:8px}.chat-dock-panel .chat-client-avatar{width:34px;height:34px}.chat-dock-panel .chat-admin-widget{padding:7px}.chat-dock-panel .chat-widget-admin .chat-widget-head{min-height:72px;padding:8px 12px}.chat-dock-panel .chat-widget-admin .chat-agent-avatar{width:42px;height:42px}.chat-dock-panel .chat-widget-admin .chat-agent-copy h1{font-size:1rem}.chat-dock-panel .chat-widget-admin .chat-agent-copy p{font-size:.65rem}.chat-dock-panel .chat-topic-bar{padding:6px 10px;font-size:.66rem}.chat-dock-panel .chat-widget-admin .chat-widget-messages{padding:10px 12px}.chat-dock-panel .chat-widget-messages .chat-bubble{max-width:88%;margin-bottom:7px}.chat-dock-panel .chat-widget-messages .chat-bubble>div{padding:8px 10px;border-radius:14px 14px 14px 5px}.chat-dock-panel .chat-widget-messages .chat-bubble.mine>div{border-radius:14px 14px 5px 14px}.chat-dock-panel .chat-widget-messages .chat-bubble p{font-size:.76rem}.chat-dock-panel .chat-widget-admin .chat-widget-composer{margin:0 8px 7px;gap:5px}.chat-dock-panel .chat-widget-composer textarea{height:42px;min-height:42px;padding:10px 12px}.chat-dock-panel .chat-widget-composer .chat-attach{width:36px;height:36px}.chat-dock-panel .chat-send-button{width:42px;height:42px;border-radius:50%}.chat-dock-panel .chat-admin-actions{margin-top:6px;padding:5px 7px}.chat-dock-panel .chat-admin-actions>span{display:none}.chat-dock-panel .chat-admin-actions select{height:34px;font-size:.7rem}.chat-dock-panel .chat-admin-actions .btn{height:34px}.chat-dock-page-hint{width:min(620px,100%);min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;margin:auto;padding:30px;border:1px dashed #b9dac3;border-radius:24px;color:#64748b;background:linear-gradient(135deg,#f8fdf9,#eefaf2);text-align:center}.chat-dock-page-hint svg{color:#16a34a}.chat-dock-page-hint strong{color:#073e27;font-size:1.15rem}
.chat-customer-dock-panel{position:fixed;z-index:81;inset:auto 26px 102px auto;width:min(430px,calc(100vw - 34px));height:min(570px,calc(100vh - 130px));min-height:0;display:block;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(22px) scale(.98);transform-origin:right bottom;transition:opacity .2s,transform .2s,visibility .2s}.chat-customer-dock-panel::before{display:none}.chat-customer-dock-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.chat-customer-dock-panel>.chat-widget{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}.chat-customer-dock-panel .chat-widget-head{min-height:88px;padding:12px 14px}.chat-customer-dock-panel .chat-agent-avatar{width:52px;height:52px}.chat-customer-dock-panel .chat-agent-copy h1{font-size:1.08rem}.chat-customer-dock-panel .chat-agent-copy p{font-size:.68rem}.chat-customer-dock-panel .chat-head-brand{display:none}.chat-customer-dock-panel .chat-widget-close{width:34px;height:34px;font-size:1.5rem}.chat-customer-dock-panel .chat-widget-conversation{grid-template-rows:auto auto minmax(0,1fr) auto}.chat-customer-dock-panel .chat-widget-messages{padding:12px}.chat-customer-dock-panel .chat-widget-messages .chat-bubble{max-width:88%;margin-bottom:7px}.chat-customer-dock-panel .chat-widget-messages .chat-bubble>div{padding:8px 11px}.chat-customer-dock-panel .chat-widget-messages .chat-bubble p{font-size:.8rem}.chat-customer-dock-panel .chat-widget-composer{margin:0 8px 9px;gap:5px}.chat-customer-dock-panel .chat-widget-composer textarea{height:44px;min-height:44px;padding:11px 13px}.chat-customer-dock-panel .chat-widget-composer .chat-attach{width:38px;height:38px}.chat-customer-dock-panel .chat-send-button{width:44px;height:44px;border-radius:50%}.chat-customer-dock-panel .chat-list-toolbar{padding:9px 12px}.chat-customer-dock-panel .chat-widget-thread-list{min-height:0;max-height:none;height:calc(100% - 167px);padding:4px 8px}.chat-customer-dock-panel .chat-widget-note{padding:7px 10px;font-size:.63rem}
.chat-global-frame{position:fixed;z-index:81;right:26px;bottom:102px;width:min(430px,calc(100vw - 34px));height:min(570px,calc(100vh - 130px));overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(22px) scale(.98);transform-origin:right bottom;transition:opacity .2s,transform .2s,visibility .2s}.chat-global-frame.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.chat-global-frame iframe{width:100%;height:100%;display:block;border:0;background:#fff}
body.chat-embed{overflow:hidden;background:#fff}body.chat-embed .topbar,body.chat-embed>.footer,body.chat-embed>.chat-dock-launcher{display:none!important}body.chat-embed>main{height:100vh}body.chat-embed .chat-customer-dock-panel{inset:0;width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
@media(max-width:1100px){.chat-dock-panel{width:min(680px,calc(100vw - 70px))}}
@media(max-width:700px){.chat-dock-launcher{right:12px;bottom:12px;min-width:0;width:58px;height:58px;display:grid;grid-template-columns:1fr;padding:5px;border-width:2px}.chat-dock-launcher>span:nth-child(2),.chat-dock-launcher>svg{display:none}.chat-dock-panel,.chat-customer-dock-panel,.chat-global-frame{inset:10px 10px 80px;width:auto;height:auto;border-radius:20px}.chat-dock-panel .chat-admin-console{height:calc(100% - 58px)}.chat-dock-panel-head{height:58px}.chat-dock-page-hint{min-height:200px}.chat-dock-panel .chat-admin-console{grid-template-columns:1fr}.chat-dock-panel .chat-admin-widget{display:none}.chat-dock-panel .chat-admin-console:has(.chat-widget-admin) .chat-multi-list{display:none}.chat-dock-panel .chat-admin-console:has(.chat-widget-admin) .chat-admin-widget{display:grid}.chat-customer-dock-panel .chat-widget-head{min-height:78px}.chat-customer-dock-panel .chat-widget-thread-list{height:calc(100% - 157px)}body.chat-embed .chat-customer-dock-panel{inset:0;border-radius:0}}

/* ===== Admin: Pengaturan umum ===== */
.page-settings.layout-admin { background: linear-gradient(135deg, #f9fcfa 0%, #f3fbf6 48%, #eafaf0 100%); }
.page-settings .adm-top { position: relative; overflow: hidden; }
.page-settings .adm-top::before,
.page-settings .adm-top::after { content: ""; position: absolute; z-index: -1; right: -3%; top: -90px; width: 48%; height: 150px; border-radius: 50%; background: rgba(187,247,208,.28); transform: rotate(-8deg); }
.page-settings .adm-top::after { right: 18%; top: -110px; background: rgba(134,239,172,.18); transform: rotate(8deg); }
.page-settings .adm-title { display: flex; align-items: center; gap: 18px; }
.page-settings .adm-title-ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: #078a31; background: linear-gradient(145deg, #e9faee, #d4f5de); }
.page-settings .adm-content { padding-top: 12px; }
.settings-page { position: relative; width: 100%; }
.settings-tabs { position: absolute; z-index: 4; right: 0; top: -78px; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #dce9e0; border-radius: 11px; background: rgba(255,255,255,.86); box-shadow: 0 4px 14px rgba(15,23,42,.04); }
.settings-tabs a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; color: #475569; text-decoration: none; font-size: .82rem; font-weight: 700; }
.settings-tabs a:hover { color: #087c2c; background: #f0fdf4; }
.settings-tabs a.active { color: #fff; background: linear-gradient(180deg, #16a34a, #07852d); box-shadow: 0 3px 8px rgba(21,128,61,.18); }
.settings-card { overflow: hidden; padding: 0 26px 22px; border: 1px solid #dce8e0; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(15,73,42,.055); }
.settings-section { padding: 20px 0 21px; border-bottom: 1px solid #d9e2e7; }
.settings-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.settings-section-icon { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; color: #078b31; background: linear-gradient(145deg, #eefcf2, #d9f8e2); }
.settings-section-icon .ic { stroke-width: 2; }
.settings-section-head h2 { margin: 0; color: #0f172a; font-size: 1.28rem; font-weight: 800; letter-spacing: -.01em; }
.settings-section-head p { margin: 2px 0 0; color: #475569; font-size: .88rem; line-height: 1.35; }
.settings-grid { display: grid; gap: 16px 30px; }
.settings-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.settings-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.settings-field { min-width: 0; }
.settings-field label { margin-bottom: 5px; color: #0f172a; font-size: .88rem; font-weight: 700; }
.settings-field input,
.settings-field select,
.settings-field textarea { border-color: #c7d2dc; border-radius: 9px; background: #fff; box-shadow: inset 0 1px 2px rgba(15,23,42,.025); }
.settings-field input,
.settings-field select { height: 42px; padding-top: 0; padding-bottom: 0; }
.settings-field textarea { min-height: 90px; padding: 10px 14px; line-height: 1.45; }
.settings-field input:focus,
.settings-field select:focus,
.settings-field textarea:focus { outline: 0; border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.settings-section-template { padding-bottom: 20px; border-bottom: 0; }
.settings-note { display: flex; align-items: flex-start; gap: 14px; padding: 13px 18px; border: 1px solid #bfe8c9; border-radius: 12px; color: #0f5132; background: linear-gradient(90deg, #f3fcf5, #effbf2); }
.settings-note > span { flex: 0 0 auto; display: flex; margin-top: 1px; color: #078b31; }
.settings-note p { margin: 0; color: #1e293b; font-size: .88rem; line-height: 1.45; }
.settings-actions { display: flex; justify-content: flex-end; padding-top: 17px; }
.settings-save { min-width: 250px; min-height: 50px; border-radius: 12px; font-size: 1rem; box-shadow: 0 8px 18px rgba(21,128,61,.22); }
@media (max-width: 1100px) {
    .settings-tabs { position: static; margin-bottom: 10px; }
}
@media (max-width: 820px) {
    .settings-grid-3 { grid-template-columns: 1fr 1fr; }
    .settings-grid-3 .settings-field:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .page-settings .adm-title { gap: 10px; }
    .page-settings .adm-title-ic { width: 46px; height: 46px; border-radius: 13px; }
    .page-settings .adm-title-ic .ic { width: 27px; height: 27px; }
    .settings-card { padding: 0 16px 18px; border-radius: 16px; }
    .settings-section { padding: 18px 0; }
    .settings-section-head { align-items: flex-start; gap: 12px; }
    .settings-section-icon { width: 42px; height: 42px; }
    .settings-section-head h2 { font-size: 1.1rem; }
    .settings-grid-2, .settings-grid-3 { grid-template-columns: 1fr; }
    .settings-grid-3 .settings-field:last-child { grid-column: auto; }
    .settings-note br { display: none; }
    .settings-actions .settings-save { width: 100%; min-width: 0; }
}

/* ===== Laporan & Bagi Hasil ===== */
.rp { display: flex; flex-direction: column; gap: 18px; }
.rp .card { border-radius: 22px; border-color: #edf2ef; margin: 0; padding: 18px 20px; }
.rp h3 { margin: 0; font-size: 1.12rem; font-weight: 800; }
.rp .d-block { display: block; }
.rp .nowrap { white-space: nowrap; }
.rp .num { text-align: right; white-space: nowrap; }
.rp .pbadge { padding: 4px 10px; font-size: .8rem; gap: 5px; }
.pbadge.info { background: #dbeafe; color: #1d4ed8; }
.rp .warn { color: var(--warn); }
.is-loading { opacity: .55; transition: opacity .15s; pointer-events: none; }

/* KPI */
.rp-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.rp-kpi { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px 16px; min-height: 100px; background: #fff; border: 1px solid #edf2ef; border-radius: 22px; box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.rp-kpi::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(134,239,172,.38), rgba(134,239,172,0)); pointer-events: none; }
a.rp-kpi:hover { border-color: #bbf7d0; }
.rp-kpi-ic { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #e9f9ef; color: var(--em-600); }
.rp-kpi-body { display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 1; }
.rp-kpi b { font-size: 1.9rem; font-weight: 800; line-height: 1.05; color: #0f172a; }
.rp-kpi strong { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.rp-kpi small { font-size: .72rem; color: var(--muted); line-height: 1.3; }

/* Baris grafik / pendapatan / komposisi */
.rp-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.rp-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rp-card-head h3 { flex: 1; }
.rp-head-ic { color: var(--em-600); display: flex; }
.rp-legend { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: .78rem; color: var(--ink-2); }
.rp-legend li { display: flex; align-items: center; gap: 5px; }
.rp-legend li::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: currentColor; }
.rp-legend .l-orders::before { background: #94a3b8; } .rp-legend .l-paid::before { background: #4ade80; } .rp-legend .l-done::before { background: #15803d; height: 4px; }
.rp-chart { margin-top: 4px; }
.rp-chart .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rp-chart .ln-orders { stroke: #94a3b8; stroke-width: 1.6; stroke-dasharray: 4 4; }
.rp-chart .ln-paid { stroke: #4ade80; stroke-width: 2; }
.rp-chart .ln-done { stroke: #16a34a; stroke-width: 3; }
.rp-chart .pt .mark { fill: #fff; stroke: #16a34a; stroke-width: 2; }
.rp-chart .pt.on .mark, .rp-chart .pt:hover .mark { fill: #16a34a; }
.rp-chart .pt:hover .hit { fill: rgba(22,163,74,.06); }
.rp-chart-badge { position: absolute; top: -4px; right: 8px; background: var(--em-700); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 8px; }

.rp-income { display: flex; flex-direction: column; gap: 12px; }
.rp-income-top { display: flex; gap: 14px; align-items: flex-start; }
.rp-income-top small { display: block; font-size: .78rem; }
.rp-round-ic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e9f9ef; color: var(--em-600); }
.rp-big { display: block; font-size: 2rem; font-weight: 800; line-height: 1.15; margin-top: 4px; letter-spacing: -.01em; }
.rp-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rp-lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
.rp-lines li span { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.rp-lines li span .ic { color: var(--em-600); }
.rp-lines li em { font-style: normal; font-size: .72rem; color: var(--muted); }
.rp-lines li b { font-weight: 800; white-space: nowrap; }
.rp-lines li.hl { background: #e9f9ef; }
.rp-lines li.hl b { color: var(--em-700); }

.rp-comp { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rp-comp h3 { flex: 0 0 100%; }
.rp-donut-wrap { position: relative; width: 168px; height: 168px; flex: 0 0 auto; }
.rp-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.rp-donut circle { fill: none; stroke-width: 17; }
.rp-donut .d-bg { stroke: #f1f5f9; }
.rp-donut .d-dev { stroke: #86efac; }
.rp-donut .d-own { stroke: #16a34a; }
.rp-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rp-donut-c { padding: 0 34px; }
.rp-donut-c b { font-size: .84rem; font-weight: 800; line-height: 1.2; word-break: break-all; }
.rp-donut-c small { color: var(--muted); font-size: .78rem; }
.rp-comp-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rp-comp-legend li { display: flex; gap: 10px; align-items: flex-start; }
.rp-comp-legend i { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; margin-top: 2px; }
.rp-comp-legend .c-own { background: #16a34a; } .rp-comp-legend .c-dev { background: #86efac; }
.rp-comp-legend span { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-2); }
.rp-comp-legend b { font-size: 1.15rem; color: #0f172a; font-weight: 700; }

/* Tab tabel */
.rp-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #eef2f0; scrollbar-width: thin; }
.rp-tabs a { padding: 8px 14px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.rp-tabs a:hover { background: var(--em-50); }
.rp-tabs a.active { background: var(--em-50); color: var(--em-700); box-shadow: inset 0 0 0 1.5px #86efac; }
.rp-toolbar { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 10px; }
.rp-toolbar h3 { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 200px; }
.rp-toolbar h3 .ic { color: var(--em-600); }
.rp-toolbar h3 .muted { font-weight: 500; font-size: .9rem; }
.rp-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; height: 38px; background: #fff; color: var(--muted); margin: 0; }
.rp-search input { border: 0; outline: none; padding: 0; height: 100%; min-width: 220px; font: inherit; font-size: .88rem; background: transparent; box-shadow: none; }
.rp-search:focus-within { border-color: #86efac; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.rp-subtotals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 12px; }
.rp-subtotals > div { display: grid; background: #f8fdf9; border: 1px solid #e6f4ea; border-radius: 12px; padding: 9px 12px; }
.rp-subtotals strong { font-size: .86rem; }
.rp-subtotals span { font-size: .75rem; color: var(--muted); }
.rp-subtotals b { color: var(--em-700); font-size: 1.05rem; }
.rp-subtotals b.warn { color: var(--warn); }
.rp-tw { border-color: #eef2f0; }
.rp-grid { min-width: 760px; }
.rp-grid th { background: #f8fafc; text-transform: none; letter-spacing: 0; font-size: .82rem; color: #1f2937; font-weight: 700; padding: 9px 12px; }
.rp-grid td { padding: 8px 12px; font-size: .88rem; }
.rp-grid td a { font-weight: 600; text-decoration: none; }
.rp-grid tr.neg td { color: var(--danger); }
.rp-grid tr.off td { opacity: .55; }
.rp-grid code { font-size: .8rem; background: #f1f5f9; padding: 2px 6px; border-radius: 6px; }
.rp-meta { font-size: .78rem !important; color: var(--muted); max-width: 340px; word-break: break-word; }
.rp-empty { text-align: center !important; padding: 26px 12px !important; color: var(--muted); }
.rp-empty .ic { display: block; margin: 0 auto 6px; color: #94a3b8; }
.rp-empty span { display: block; margin-bottom: 8px; }
.rp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.rp-foot .au-pager a, .rp-foot .au-pager span { min-width: 34px; height: 34px; padding: 0 8px; }

/* Baris bawah */
.rp-row-2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.rp-recap-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #eef2f0; border-radius: 14px; }
.rp-recap-cells > div { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; min-width: 0; }
.rp-recap-cells > div + div { border-left: 1px solid #eef2f0; }
.rp-recap-cells > div > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rp-cell-ic { color: var(--em-600); display: flex; margin-top: 2px; }
.rp-recap-cells small { color: var(--muted); font-size: .78rem; }
.rp-recap-cells b { font-size: 1.12rem; font-weight: 800; white-space: nowrap; }
.rp-chg { font-style: normal; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: middle; }
.rp-chg.up { background: #dcfce7; color: var(--em-700); }
.rp-chg.down { background: var(--danger-bg); color: var(--danger); }
.rp-setting { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.rp-setting p { margin: 4px 0 0; }
.rp-setting-btns { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }

/* Header: filter & export */
.rp-head-actions { display: flex; gap: 10px; align-items: center; }
.rp-range > summary { height: 52px; padding: 0 14px; gap: 10px; color: #0f172a; font-weight: 600; font-size: .92rem; border-radius: 14px; }
.rp-range > summary .ic:first-child { color: var(--ink-2); }
.rp-range-txt { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.rp-range-txt small { font-size: .72rem; color: var(--em-700); font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.rp-export > summary { height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--em-600); color: var(--em-700); font-weight: 700; box-shadow: none; }
.rp-filter { width: 340px; padding: 10px 14px 14px; margin: 0; }
.rp-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.rp-chip { position: relative; cursor: pointer; }
.rp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rp-chip span { display: inline-block; padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.rp-chip input:checked + span { background: var(--em-600); border-color: var(--em-600); color: #fff; }
.rp-chip input:focus-visible + span { outline: 2px solid #86efac; outline-offset: 2px; }
.rp-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.rp-dates[hidden] { display: none; }
.rp-dates label, .rp-sel { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.rp-dates input, .rp-sel select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .88rem; background: #fff; }
.rp-filter-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.rp-filter-btns .btn { width: auto; display: inline-flex; padding: 7px 14px; color: inherit; }
.rp-filter-btns .btn:not(.btn-outline) { color: #fff; }

/* Dialog */
.rp-dialog { border: 0; border-radius: 18px; padding: 18px 20px 20px; width: min(520px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; box-shadow: 0 24px 60px rgba(15,23,42,.25); }
.rp-dialog.wide { width: min(820px, calc(100vw - 32px)); }
.rp-dialog::backdrop { background: rgba(15,23,42,.45); }
.rp-dialog h4 { margin: 14px 0 8px; font-size: .95rem; }
.rp-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rp-dlg-head h3 { margin: 0; font-size: 1.15rem; }
.rp-x { border: 0; background: #f1f5f9; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.rp-dlg-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.rp-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; background: #f8fdf9; border: 1px solid #e6f4ea; border-radius: 12px; padding: 12px 14px; }
.rp-kv dt { font-size: .75rem; color: var(--muted); }
.rp-kv dd { margin: 0; font-weight: 600; font-size: .9rem; }
.rp-dlg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.rp-dlg-actions form { margin: 0; }
.rp-dialog .rp-grid { min-width: 0; }
.rp-transfer { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.rp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.rp-cancel { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.rp-cancel input { flex: 1; min-width: 200px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .88rem; }
.btn-danger-o { color: var(--danger) !important; border-color: #fca5a5 !important; }

/* Pengaturan → Bagi Hasil */
.st-tabs { display: flex; gap: 6px; margin: 6px 0 10px; }
.st-tabs a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .88rem; background: #fff; }
.st-tabs a.active { background: var(--em-600); border-color: var(--em-600); color: #fff; }
.bh-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bh-grid .card { margin: 0; border-radius: 20px; }
.bh-title { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; color: #0f172a; }
.bh-title .ic { color: var(--em-600); }
.bh-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin-top: 10px; }
.bh-fixed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; background: var(--em-50); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.bh-fixed dt { font-size: .75rem; color: var(--muted); }
.bh-fixed dd { margin: 0; font-weight: 600; font-size: .88rem; }
.bh-sim { margin-bottom: 14px; }
.bh-sim table { margin-top: 6px; }
.bh-sim td, .bh-sim th { padding: 7px 10px; }
.bh-off td { opacity: .55; }
.settings-search{width:265px;height:46px;display:flex;align-items:center;gap:10px;padding:0 16px;border:1px solid #e0ebe4;border-radius:999px;color:#475569;background:rgba(255,255,255,.92)}.settings-search input{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;font:inherit;font-size:.82rem}.page-settings-commission .adm-top{min-height:96px}.page-settings-commission .adm-content{padding-top:0}.commission-settings-page{width:100%}.page-settings-commission .commission-settings-tabs{position:static;width:max-content;margin:0 0 22px;padding:0;border:0;gap:6px;background:transparent;box-shadow:none}.commission-settings-tabs a{min-width:145px;min-height:48px;justify-content:center;gap:8px;padding:0 24px;border:1px solid #dce7e0;border-radius:999px;background:#fff;font-size:.9rem}.commission-settings-tabs a.active{background:linear-gradient(180deg,#17b949,#07852d)}
.commission-settings-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(390px,.95fr);gap:16px;align-items:start}.commission-panel{min-width:0;overflow:hidden;border:1px solid #dce8e0;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(15,73,42,.05)}.commission-form{padding:18px 24px 22px}.commission-panel-head{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid #e3eae6}.commission-panel-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;color:#0a9b38}.commission-panel-head>div:not(.commission-active){min-width:0;flex:1}.commission-panel-head h2{margin:0;font-size:1.18rem}.commission-panel-head p{margin:2px 0 0;color:#475569;font-size:.8rem}.commission-active{display:flex;align-items:center;gap:10px;min-width:200px;padding:10px 14px;border-radius:12px;color:#075c2c;background:linear-gradient(120deg,#edfff2,#dff9e6)}.commission-active>span{display:flex;color:#0a9b38}.commission-active small,.commission-active strong{display:block}.commission-active small{color:#0f172a;font-size:.72rem;font-weight:700}.commission-active strong{font-size:.78rem}
.commission-enable{display:flex;align-items:center;gap:10px;margin:16px 0 14px;color:#0f172a;font-weight:600;font-size:.86rem}.commission-enable input{width:21px;height:21px;accent-color:#16a34a}.commission-enable i{display:flex;color:#475569;font-style:normal}.commission-fields{display:grid;grid-template-columns:1fr 1fr .85fr;gap:18px}.commission-fields .settings-field>small{display:block;margin-top:5px;color:#64748b;font-size:.68rem}.commission-value{display:flex}.commission-value input{min-width:0;border-radius:9px 0 0 9px}.commission-value span{width:50px;display:grid;place-items:center;border:1px solid #c7d2dc;border-left:0;border-radius:0 9px 9px 0;background:#f1f5f9;font-weight:800}.commission-reason{margin-top:15px}.commission-reason label span{color:#475569;font-weight:500}.commission-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0 16px;padding:12px 14px;border-radius:13px;background:linear-gradient(90deg,#f4fff7,#ebfaef)}.commission-facts>div{padding:0 13px;border-left:1px solid #dce9e0}.commission-facts>div:first-child{border-left:0}.commission-facts dt{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:.72rem;font-weight:800}.commission-facts dt .ic{color:#0a9b38}.commission-facts dd{margin:5px 0 0;color:#0f172a;font-size:.72rem}.commission-simulation h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:.92rem}.commission-simulation h3 .ic{color:#0a9b38}.commission-simulation .table-wrap{border:0;border-radius:0;box-shadow:none}.commission-simulation table{width:100%;border-collapse:collapse;font-size:.72rem}.commission-simulation th,.commission-simulation td{padding:7px 12px;border-bottom:1px solid #e5e7eb;text-align:left}.commission-simulation th{background:#f1f5f9;font-weight:800}.commission-save{min-width:220px;margin-top:18px;justify-content:center}
.commission-history{padding:18px 20px}.commission-history .commission-panel-head{margin-bottom:14px}.commission-history .table-wrap{border-radius:13px;box-shadow:none}.commission-history table{width:100%;border-collapse:collapse;font-size:.72rem}.commission-history th,.commission-history td{padding:11px 10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.commission-history th{background:#f1f5f9;font-weight:800}.commission-history td:first-child{white-space:nowrap}.commission-history td:first-child .ic{margin-right:4px;color:#0a9b38;vertical-align:middle}.commission-history td:last-child span{display:block;min-width:140px}.commission-history td form{margin:5px 0 0}.commission-history td form button{padding:0;border:0;color:#dc2626;background:none;cursor:pointer;font-size:.68rem}.commission-history tr.is-off td{color:#475569}.commission-status{display:inline-flex;padding:5px 10px;border-radius:999px;font-weight:800;white-space:nowrap}.commission-status.active{color:#087c2c;background:#bbf7d0}.commission-status.scheduled{color:#a16207;background:#fef3c7}.commission-status.inactive{color:#475569;background:#e2e8f0}.commission-history-note{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:13px;border-radius:11px;color:#334155;background:#f1f5f9}.commission-history-note .ic{flex:0 0 auto;color:#166534}.commission-history-note p{margin:0;font-size:.72rem;line-height:1.45}
@media(max-width:1250px){.commission-settings-grid{grid-template-columns:1fr}.commission-history{order:2}.settings-search{display:none}}
@media(max-width:720px){.page-settings-commission .commission-settings-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.commission-settings-tabs a{min-width:0;padding:0 12px}.commission-form,.commission-history{padding:16px}.commission-panel-head{align-items:flex-start;flex-wrap:wrap}.commission-active{width:100%;min-width:0}.commission-fields,.commission-facts{grid-template-columns:1fr}.commission-facts>div{padding:9px 5px;border-left:0;border-top:1px solid #dce9e0}.commission-facts>div:first-child{border-top:0}.commission-save{width:100%;min-width:0}.commission-history .table-wrap{overflow-x:auto}.commission-history table{min-width:650px}}

@media (max-width: 1500px) {
    .rp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .rp-trend { grid-column: 1 / -1; }
}
@media (max-width: 1280px) {
    .page-reports .adm-top { flex-wrap: wrap; }
    .page-reports .adm-header-action { order: 3; flex: 1 0 100%; display: flex; justify-content: flex-end; }
}
@media (max-width: 1100px) {
    .rp-row-2, .bh-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .rp-row { grid-template-columns: minmax(0, 1fr); }
    .rp-recap-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-recap-cells > div:nth-child(3) { border-left: 0; }
    .rp-recap-cells > div:nth-child(n+3) { border-top: 1px solid #eef2f0; }
}
@media (max-width: 640px) {
    .page-reports .adm-title p, .page-reports .adm-title-ic { display: none; }
    .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rp-kpi { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; min-height: 0; }
    .rp-kpi-ic { width: 42px; height: 42px; }
    .rp-kpi-ic .ic { width: 22px; height: 22px; }
    .rp-kpi b { font-size: 1.5rem; }
    .rp .card { padding: 14px; }
    .rp-big { font-size: 1.6rem; }
    .page-reports .adm-header-action { justify-content: stretch; }
    .rp-head-actions { width: 100%; }
    .rp-range { flex: 1; min-width: 0; }
    .rp-range > summary, .rp-export > summary { height: 46px; }
    .rp-range-txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: .84rem; }
    .rp-export > summary span { display: none; }
    .rp-filter { position: fixed; left: 12px; right: 12px; top: 120px; width: auto; max-height: calc(100vh - 140px); overflow: auto; }
    .rp-search { width: 100%; }
    .rp-search input { min-width: 0; flex: 1; }
    .rp-comp { justify-content: center; }
    .rp-recap-cells { grid-template-columns: minmax(0, 1fr); }
    .rp-recap-cells > div + div { border-left: 0; border-top: 1px solid #eef2f0; }
    .rp-setting { grid-template-columns: minmax(0, 1fr); }
    .rp-setting .rp-round-ic { display: none; }
    .rp-setting-btns { justify-content: stretch; }
    .rp-setting-btns .btn { flex: 1; }
    .rp-kv, .rp-form-grid, .bh-row, .bh-fixed { grid-template-columns: minmax(0, 1fr); }
}

/* Detail pesanan customer */
.customer-order-detail { max-width: 1220px; padding-bottom: 42px; }
.cod-head { margin: 25px 0 18px; }
.cod-back { display: inline-block; margin-bottom: 15px; color: var(--em-700); font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cod-head h1 { margin: 0; color: #111827; font-size: clamp(1.65rem, 3vw, 2rem); }
.cod-head p { margin: 5px 0 0; color: #64748b; }
.cod-head .queue.big { margin-left: 4px; color: #087c2c; background: #e4f9ea; font-size: .9em; }
.cod-progress-card { margin-bottom: 24px; padding: 15px 34px 13px; border-color: #dce5e0; border-radius: 13px; box-shadow: 0 7px 22px rgba(15, 73, 42, .035); }
.cod-stepper { margin: 0; }
.cod-request .note { margin-top: 7px; white-space: pre-line; }
.cod-request p { margin: 5px 0 0; color: #64748b; font-size: .8rem; }
.cod-payment { padding: 24px 28px 22px; border: 1.5px solid #49c476; border-radius: 15px; box-shadow: 0 8px 26px rgba(15, 73, 42, .055); }
.cod-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cod-card-heading h2 { flex: 1; margin: 0; color: #111827; font-size: 1.5rem; }
.cod-heading-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #07953b; background: #e4f9ea; }
.cod-card-heading > .badge { padding: 8px 14px; font-size: .8rem; }
.cod-payment-grid { display: grid; grid-template-columns: minmax(310px, .85fr) minmax(430px, 1.15fr); gap: 28px; }
.cod-payment-info { padding: 7px 28px 0 8px; border-right: 1px solid #dce5e0; }
.cod-payment-kv { grid-template-columns: 135px minmax(0, 1fr); gap: 9px 12px; font-size: .93rem; }
.cod-payment-kv dt::after { content: ":"; float: right; color: #64748b; }
.cod-payment-kv .price { color: #078934; font-size: 1.45rem; font-weight: 850; }
.cod-fee-note { margin: 15px 0 0; color: #64748b; font-size: .76rem; }
.cod-payment-action { min-width: 0; }
.cod-proof-form { margin: 0; }
.cod-proof-drop { min-height: 104px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px dashed #93dfad; border-radius: 13px; color: #059138; background: #f5fcf7; cursor: pointer; }
.cod-proof-drop > span:first-child { display: grid; place-items: center; flex: 0 0 auto; }
.cod-proof-drop > span:nth-child(2) { min-width: 0; color: #111827; }
.cod-proof-drop strong, .cod-proof-drop small { display: block; }
.cod-proof-drop strong { font-size: 1rem; }
.cod-proof-drop small { margin-top: 4px; color: #64748b; font-style: italic; font-weight: 500; }
.cod-proof-drop input { margin-top: 3px; max-width: 220px; color: #334155; font-size: .78rem; }
.cod-proof-submit { width: 100%; justify-content: center; margin-top: 14px; }
.cod-proof-note { margin: 9px 0 0; color: #64748b; font-size: .76rem; line-height: 1.45; }
.cod-proof-current { min-height: 115px; display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px dashed #9cdcb2; border-radius: 13px; color: #078934; background: #f5fcf7; }
.cod-proof-current span { flex: 1; min-width: 0; }
.cod-proof-current strong, .cod-proof-current small { display: block; }
.cod-proof-current small { margin-top: 4px; color: #64748b; }
.cod-accordions { display: grid; gap: 12px; margin-top: 22px; }
.cod-accordion { overflow: hidden; margin-top: 12px; border: 1px solid #d8e3dd; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(15, 73, 42, .035); }
.cod-accordions .cod-accordion { margin-top: 0; }
.cod-accordion > summary { min-height: 58px; display: grid; grid-template-columns: 34px 235px 1fr 28px; align-items: center; gap: 12px; padding: 10px 22px; list-style: none; cursor: pointer; }
.cod-accordion > summary::-webkit-details-marker { display: none; }
.cod-acc-icon { display: grid; place-items: center; color: #0a9a3f; }
.cod-accordion > summary strong { color: #111827; font-size: 1rem; }
.cod-acc-preview { min-width: 0; padding-left: 22px; border-left: 1px solid #d8e3dd; color: #64748b; font-size: .83rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cod-chevron { display: grid; place-items: center; color: #334155; transition: transform .18s ease; }
.cod-accordion[open] .cod-chevron { transform: rotate(180deg); }
.cod-accordion[open] > summary { background: #fbfdfc; border-bottom: 1px solid #e5ede8; }
.cod-acc-body { padding: 20px 24px 23px; }
.cod-acc-body .file-list { margin: 0; }
.cod-acc-body .timeline { margin-top: 0; }
.cod-order-kv { max-width: 760px; grid-template-columns: 190px 1fr; }
.cod-wa-text { margin-bottom: 14px; padding: 12px; border-radius: 10px; background: #f8fafc; white-space: pre-line; }
.pre-line { white-space: pre-line; }

@media (max-width: 820px) {
    .cod-progress-card { padding-inline: 12px; }
    .cod-payment { padding: 20px; }
    .cod-payment-grid { grid-template-columns: 1fr; gap: 20px; }
    .cod-payment-info { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid #dce5e0; }
    .cod-accordion > summary { grid-template-columns: 30px minmax(150px, auto) 1fr 24px; padding-inline: 15px; }
}
@media (max-width: 600px) {
    .customer-order-detail { padding-inline: 12px; }
    .cod-head { margin-top: 18px; }
    .cod-head .queue.big { display: inline-block; margin: 5px 0 0; }
    .cod-card-heading { align-items: flex-start; flex-wrap: wrap; }
    .cod-card-heading h2 { font-size: 1.25rem; }
    .cod-card-heading > .badge { margin-left: 62px; }
    .cod-payment { padding: 17px 14px; }
    .cod-payment-kv { grid-template-columns: 110px minmax(0, 1fr); }
    .cod-proof-drop { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
    .cod-proof-drop input { width: 100%; max-width: none; margin-left: 43px; }
    .cod-proof-current { align-items: flex-start; flex-wrap: wrap; }
    .cod-accordion > summary { grid-template-columns: 28px 1fr 24px; gap: 9px; }
    .cod-acc-preview { grid-column: 2 / 3; padding: 3px 0 0; border-left: 0; font-size: .75rem; }
    .cod-chevron { grid-column: 3; grid-row: 1 / 3; }
    .cod-acc-body { padding: 16px; }
    .cod-order-kv { grid-template-columns: 1fr; }
}

/* Detail pesanan customer — layout referensi v2 */
.cod-v2 { max-width: 1380px; }
.cod-v2 .cod-top { display: grid; grid-template-columns: minmax(380px, .95fr) minmax(580px, 1.05fr); align-items: center; gap: 34px; margin: 24px 0 20px; }
.cod-v2 .cod-head { margin: 0; }
.cod-v2 .cod-head h1 { display: flex; align-items: center; gap: 14px; }
.cod-v2 .cod-head p { display: flex; align-items: center; gap: 14px; }
.cod-v2 .cod-head p i { width: 1px; height: 18px; display: inline-block; background: #aab8c3; }
.cod-v2 .cod-progress-card { margin: 0; padding: 18px 28px 15px; }
.cod-v2 .cod-stepper li { min-width: 100px; font-size: .83rem; }
.cod-primary-grid { display: grid; grid-template-columns: minmax(440px, .95fr) minmax(540px, 1.05fr); gap: 18px; }
.cod-payment-summary { min-height: 310px; padding: 27px 22px; border-radius: 18px; }
.cod-payment-summary .cod-card-heading { margin: 0 3px 34px; }
.cod-payment-summary .cod-card-heading h2 { font-size: 1.35rem; }
.cod-pay-panels { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 130px; overflow: hidden; border: 1px solid #d8e6dd; border-radius: 16px; box-shadow: 0 6px 17px rgba(15, 73, 42, .05); }
.cod-pay-total, .cod-pay-method { display: flex; align-items: center; gap: 18px; padding: 25px 26px; color: #078934; }
.cod-pay-total { background: linear-gradient(110deg, #effcf3, #f8fffa); }
.cod-pay-total small, .cod-pay-method small { display: block; margin-bottom: 5px; color: #1e293b; font-weight: 700; }
.cod-pay-total strong { display: block; color: #087c2c; font-size: 2rem; line-height: 1; }
.cod-pay-method strong { display: block; color: #111827; font-size: .95rem; }
.cod-pay-method p { margin: 7px 0 0; color: #475569; font-size: .76rem; }
.cod-deadline { display: flex; align-items: center; gap: 7px; margin: 14px 4px 0; color: #64748b; font-size: .76rem; }
.cod-wa-card { min-height: 310px; display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 14px; padding: 20px 18px 18px; border: 2px solid #16a34a; border-radius: 18px; background: linear-gradient(120deg, #f3fff6 0%, #fff 68%, #effcf3 100%); box-shadow: 0 10px 24px rgba(15, 118, 52, .08); }
.cod-wa-icon { grid-row: 1 / 3; display: grid; place-items: start center; color: #16a34a; }
.cod-wa-title { min-width: 0; position: relative; padding-right: 88px; }
.cod-wa-title h2 { margin: 0; color: #111827; font-size: 1.25rem; }
.cod-wa-title > span { position: absolute; top: 0; right: 0; padding: 4px 13px; border-radius: 99px; color: #fff; background: #e00000; font-size: .75rem; font-weight: 900; }
.cod-wa-title p { margin: 4px 0 10px; color: #475569; font-size: .86rem; line-height: 1.45; }
.cod-wa-message { grid-column: 1 / -1; min-height: 94px; display: flex; align-items: flex-start; gap: 10px; padding: 14px 13px 13px 20px; border: 1px solid #dce6df; border-radius: 15px; color: #111827; background: #fff; box-shadow: 0 5px 14px rgba(15, 73, 42, .05); font-size: .86rem; line-height: 1.4; }
.cod-wa-message span { flex: 1; }
.cod-wa-message button { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 50%; color: #334155; background: #f1f5f9; cursor: pointer; }
.cod-wa-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 12px; margin-top: 12px; }
.cod-wa-actions .btn { min-height: 48px; justify-content: center; }
.cod-wa-actions .btn-outline { color: #087c2c; background: #fff; }
.cod-wa-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 22px; border: 1px dashed #86d8a1; border-radius: 14px; color: #087c2c; background: #fff; }
.cod-wa-empty span { color: #475569; }
.cod-share-fallback { grid-column: 1 / -1; margin-top: 8px; color: #64748b; font-size: .74rem; }
.cod-v2-accordions { margin-top: 18px; gap: 10px; }
.cod-v2-accordions .cod-accordion > summary { grid-template-columns: 38px 290px minmax(0, 1fr) auto 28px; min-height: 56px; }
.cod-v2-accordions .cod-chevron { grid-column: -1; }
.cod-summary-badge { padding: 5px 15px; border-radius: 99px; color: #166534; background: #dcfce7; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.cod-summary-badge:not(.done) { color: #166534; background: #dcfce7; }
.cod-summary-badge.danger { color: #fff; background: #dc2626; }
.cod-v2 .cod-documents { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e5ebe7; }
.cod-v2 .cod-documents h3 { display: flex; align-items: center; gap: 8px; }
.cod-v2 .cod-proof-drop { min-height: 90px; }

@media (max-width: 1050px) {
    .cod-v2 .cod-top, .cod-primary-grid { grid-template-columns: 1fr; }
    .cod-v2 .cod-progress-card { max-width: none; }
    .cod-payment-summary { min-height: 0; }
}
@media (max-width: 720px) {
    .cod-v2 .cod-top { display: block; }
    .cod-v2 .cod-progress-card { margin-top: 20px; }
    .cod-pay-panels { grid-template-columns: 1fr; }
    .cod-pay-total, .cod-pay-method { padding: 20px; }
    .cod-wa-card { grid-template-columns: 46px minmax(0, 1fr); padding: 16px 13px; }
    .cod-wa-icon .ic { width: 43px; height: 43px; }
    .cod-wa-title { padding-right: 0; }
    .cod-wa-title > span { position: static; display: inline-block; margin-top: 7px; }
    .cod-wa-title h2 { font-size: 1.08rem; }
    .cod-wa-message { margin-top: 8px; }
    .cod-wa-actions { grid-template-columns: 1fr; }
    .cod-wa-empty { flex-wrap: wrap; }
    .cod-v2-accordions .cod-accordion > summary { grid-template-columns: 28px minmax(0, 1fr) auto 24px; }
    .cod-v2-accordions .cod-acc-preview { display: none; }
    .cod-v2-accordions .cod-chevron { grid-column: -1; grid-row: auto; }
    .cod-summary-badge { padding-inline: 9px; }
}

/* Detail pesanan admin — ruang kerja verifikasi */
/* Detail pesanan customer v3 */
body.page-customer-order-detail main { padding-bottom:80px;background:radial-gradient(circle at 0 8%,rgba(134,239,172,.18),transparent 28%),radial-gradient(circle at 100% 84%,rgba(74,222,128,.13),transparent 32%),linear-gradient(135deg,#f9fcfa,#f5f9fc 58%,#f7fcf9); }
body .customer-order-detail.cod-v2 { max-width:1420px;padding:0 24px 50px; }
body .cod-v2 .cod-top { display:block;margin:24px 0 18px; }
body .cod-v2 .cod-head { margin:0 0 20px; }
body .cod-v2 .cod-back { margin:0 0 16px 14px;color:#087c2c;text-decoration:none;font-size:.85rem; }
.cod-title-row { display:flex;align-items:center;gap:17px; }
.cod-title-icon { width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#078f36;background:#dcfce7; }
body .cod-v2 .cod-head h1 { gap:18px;color:#0f172a;font-size:2rem; }
body .cod-v2 .cod-head .queue.big { padding:7px 18px;border:0;border-radius:99px;font-size:1rem; }
body .cod-v2 .cod-head p { margin-top:6px;color:#475569;font-size:1rem; }
body .cod-v2 .cod-progress-card { min-height:214px;padding:24px 28px 20px;border:1px solid #dce8e1;border-radius:24px;background:rgba(255,255,255,.86);box-shadow:0 12px 30px rgba(15,73,42,.06); }
.cod-progress-heading { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px; }
.cod-progress-heading h2 { display:flex;align-items:center;gap:11px;margin:0;color:#0f172a;font-size:1.15rem; }
.cod-progress-heading h2 svg { color:#0b9d3e; }
.cod-progress-heading h2 span { font-weight:500; }
.cod-progress-heading>strong { padding:8px 20px;border-radius:99px;color:#087c2c;background:#dcfce7;white-space:nowrap; }
body .cod-v2 .cod-stepper { min-height:118px;align-items:flex-start;padding:0 8px;border-radius:36px;background:linear-gradient(90deg,#effcf3,#f8fdfa); }
body .cod-v2 .cod-stepper li { min-width:140px;padding-top:50px;color:#64748b;font-size:.84rem; }
body .cod-v2 .cod-stepper li::before { top:0;width:40px;height:40px;border:4px solid #fff;box-shadow:0 0 0 2px #d0d8e3; }
body .cod-v2 .cod-stepper li::after { top:19px;height:3px; }
body .cod-v2 .cod-stepper li.done::before { box-shadow:0 0 0 2px #22b950; }
body .cod-v2 .cod-stepper li.current::before { content:"";border:10px solid #fff;box-shadow:0 0 0 5px #b8f0c7,0 0 0 7px #22b950;background:#16a34a; }
body .cod-v2 .cod-stepper li>strong { display:block;color:#0f172a;font-size:.98rem; }
body .cod-v2 .cod-stepper li>small { display:block;margin-top:4px;color:#64748b;font-size:.75rem;font-weight:500; }
body .cod-v2 .cod-stepper li.current>small { width:max-content;margin:7px auto 0;padding:4px 13px;border-radius:99px;color:#087c2c;background:#dcfce7; }
body .cod-v2 .cod-primary-grid { grid-template-columns:minmax(440px,1fr) minmax(440px,1fr);gap:20px; }
body .cod-v2 .cod-payment-summary,body .cod-v2 .cod-communication-card { min-height:205px;padding:18px 22px 22px;border:1px solid #dce7e1;border-radius:22px;box-shadow:0 10px 28px rgba(15,73,42,.055); }
body .cod-v2 .cod-card-heading { margin:0 0 15px; }
body .cod-v2 .cod-card-heading h2 { font-size:1.25rem; }
body .cod-v2 .cod-card-heading>.badge { padding:8px 14px; }
body .cod-v2 .cod-pay-panels { min-height:108px; }
body .cod-v2 .cod-pay-total,body .cod-v2 .cod-pay-method { padding:20px 24px; }
body .cod-v2 .cod-pay-total strong { font-size:1.7rem; }
.cod-communication-card .cod-card-heading>a { display:inline-flex;align-items:center;gap:7px;color:#087c2c;text-decoration:none;font-size:.8rem;font-weight:800; }
.cod-communication-message { min-height:104px;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;padding:14px 18px;border:1px solid #d8e7dd;border-radius:18px;background:linear-gradient(105deg,#f5fff7,#edf9f1); }
.cod-communication-message>span { width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#078f36;background:#dcfce7; }
.cod-communication-message strong { color:#0f172a; }
.cod-communication-message strong small { color:#64748b;font-weight:500; }
.cod-communication-message p { margin:5px 0 0;color:#334155;font-size:.84rem;line-height:1.5; }
body .cod-v2 .cod-v2-accordions { display:flex;flex-direction:column;gap:8px;margin-top:18px; }
body .cod-v2 .cod-acc-data { order:1; }
body .cod-v2 .cod-acc-history { order:2; }
body .cod-v2 .cod-acc-proof { order:3; }
body .cod-v2 .cod-acc-communication { order:4; }
body .cod-v2 .cod-v2-accordions>details:not(.cod-acc-data):not(.cod-acc-history):not(.cod-acc-proof):not(.cod-acc-communication) { order:5; }
body .cod-v2 .cod-accordion { border-radius:14px;box-shadow:0 5px 16px rgba(15,73,42,.035); }
body .cod-v2 .cod-v2-accordions .cod-accordion>summary { min-height:48px;grid-template-columns:32px 220px minmax(0,1fr) auto 24px;padding:8px 24px; }
body .cod-v2 .cod-accordion>summary strong { font-size:.88rem; }
body .cod-v2 .cod-acc-preview { font-size:.78rem; }
@media(max-width:980px){body .cod-v2 .cod-primary-grid{grid-template-columns:1fr}body .cod-v2 .cod-payment-summary,body .cod-v2 .cod-communication-card{min-height:0}}
@media(max-width:700px){body .customer-order-detail.cod-v2{padding-inline:12px}.cod-title-row{align-items:flex-start}.cod-title-icon{width:48px;height:48px}body .cod-v2 .cod-head h1{align-items:flex-start;flex-direction:column;gap:7px;font-size:1.55rem}body .cod-v2 .cod-head p{align-items:flex-start;flex-direction:column;gap:3px;font-size:.82rem}body .cod-v2 .cod-head p i{display:none}body .cod-v2 .cod-progress-card{min-height:0;padding:18px 12px}.cod-progress-heading{align-items:flex-start}.cod-progress-heading h2 span{display:none}.cod-progress-heading>strong{padding:6px 10px;font-size:.72rem}body .cod-v2 .cod-stepper{overflow-x:auto}body .cod-v2 .cod-stepper li{min-width:115px}body .cod-v2 .cod-pay-panels{grid-template-columns:1fr}body .cod-v2 .cod-card-heading{align-items:center;flex-wrap:wrap}body .cod-v2 .cod-card-heading>.badge{margin-left:0}.cod-communication-message{grid-template-columns:42px minmax(0,1fr);padding:12px}.cod-communication-message>span{width:40px;height:40px}body .cod-v2 .cod-v2-accordions .cod-accordion>summary{grid-template-columns:28px minmax(0,1fr) auto 24px;padding-inline:14px}body .cod-v2 .cod-acc-preview{display:none}}

.admin-order-detail { max-width: 1500px; padding: 0 18px 35px; }
.aod-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 0 22px; }
.aod-head > div { min-width: 0; }
.aod-head > div > a { display: inline-block; margin-bottom: 13px; color: #111827; font-size: .84rem; font-weight: 700; }
.aod-head h1 { display: flex; align-items: center; gap: 14px; margin: 0; color: #0f172a; font-size: 1.9rem; }
.aod-head h1 .queue { color: #087c2c; background: #dff8e7; }
.aod-head p { display: flex; align-items: center; gap: 14px; margin: 6px 0 0; color: #475569; font-weight: 600; }
.aod-head p i { width: 1px; height: 18px; background: #94a3b8; }
.aod-head > .badge { padding: 11px 20px; border-radius: 99px; font-size: .9rem; }
.aod-main-grid { display: grid; grid-template-columns: 1.03fr .98fr .93fr; gap: 16px; align-items: stretch; }
.aod-panel { min-width: 0; min-height: 540px; padding: 22px 20px; border-radius: 17px; box-shadow: 0 8px 25px rgba(15, 73, 42, .055); }
.aod-panel > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; padding-bottom: 15px; border-bottom: 1px solid #e3ebe6; color: #111827; font-size: 1.28rem; }
.aod-panel > h2 .ic { color: #0a9a3f; }
.aod-participant dl { display: grid; grid-template-columns: 132px 12px minmax(0, 1fr); margin: 0; }
.aod-participant dt, .aod-participant dd { min-width: 0; padding: 7px 3px; border-bottom: 1px solid #dce5e0; font-size: .84rem; overflow-wrap: anywhere; }
.aod-participant dt { color: #475569; font-weight: 650; }
.aod-participant dt::after { content: ":"; float: right; }
.aod-participant dd { grid-column: 3; margin: 0; color: #111827; font-weight: 700; }
.aod-participant dd a { display: inline-flex; margin-left: 10px; color: #16a34a; vertical-align: middle; }
.aod-secret { display: flex; align-items: center; gap: 5px; }
.aod-secret input { min-width: 0; padding: 6px 7px; }
.aod-secret button { min-height: 33px; padding: 4px 7px; border: 1px solid #bbdfc5; border-radius: 7px; color: #087c2c; background: #fff; cursor: pointer; font-size: .72rem; }
.aod-payment-summary { display: grid; grid-template-columns: 38px 1fr 1px 38px 1fr; align-items: center; gap: 11px; padding: 18px; border-radius: 14px; color: #078934; background: linear-gradient(115deg, #effcf3, #f8fffa); }
.aod-payment-summary > i { align-self: stretch; background: #cfe6d6; }
.aod-payment-summary small, .aod-payment-summary strong { display: block; }
.aod-payment-summary small { color: #1e293b; font-size: .74rem; font-weight: 700; }
.aod-payment-summary strong { margin-top: 4px; color: #111827; font-size: .85rem; }
.aod-payment-summary > div:first-of-type strong { color: #087c2c; font-size: 1.5rem; }
.aod-file-row { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 10px 9px; border: 1px solid #e1e8e4; border-radius: 12px; background: #fff; box-shadow: 0 5px 13px rgba(15, 73, 42, .05); }
.aod-file-icon { width: 40px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #dc2626; background: #fee2e2; }
.aod-file-row > span:nth-child(2) { flex: 1; min-width: 0; }
.aod-file-row strong, .aod-file-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aod-file-row small { margin-top: 2px; color: #64748b; font-size: .73rem; }
.aod-proof-preview { height: 330px; position: relative; overflow: hidden; margin-top: 10px; border-radius: 13px; background: #eef2f1; }
.aod-proof-preview img, .aod-proof-preview iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: contain; }
.aod-proof-preview > a { width: 39px; height: 39px; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; border-radius: 9px; color: #111827; background: rgba(255,255,255,.94); box-shadow: 0 5px 13px rgba(15,23,42,.12); }
.aod-proof-empty { height: 330px; display: grid; place-items: center; align-content: center; gap: 9px; margin-top: 15px; border: 1px dashed #cbd5e1; border-radius: 13px; color: #64748b; background: #f8fafc; }
.aod-timeline { padding: 0 0 0 5px; margin: 0; list-style: none; }
.aod-timeline li { min-height: 64px; position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 2px 5px; }
.aod-timeline li:not(:last-child)::after { content: ""; width: 2px; position: absolute; top: 30px; bottom: -6px; left: 20px; background: #cbd5e1; }
.aod-timeline li > span { width: 27px; height: 27px; display: grid; place-items: center; z-index: 1; border: 2px solid #cbd5e1; border-radius: 50%; color: #fff; background: #fff; }
.aod-timeline li.done > span { border-color: #16a34a; background: #16a34a; }
.aod-timeline li.done:not(:last-child)::after { background: #22c55e; }
.aod-timeline li.current { margin: -1px 0 5px; padding: 10px 9px 9px 5px; border-radius: 13px; background: linear-gradient(90deg, #eefcf2, #e5f8e9); }
.aod-timeline li.current > span { border: 5px solid #84cc16; box-shadow: inset 0 0 0 3px #fff; background: #16a34a; }
.aod-timeline strong, .aod-timeline small { display: block; }
.aod-timeline strong { color: #111827; font-size: .9rem; }
.aod-timeline small { margin-top: 3px; color: #64748b; font-size: .75rem; }
.aod-admin-note { margin-top: 10px; padding: 14px 15px; border-radius: 14px; background: linear-gradient(120deg, #effcf3, #f7fff9); }
.aod-admin-note > div { display: flex; align-items: center; gap: 10px; color: #087c2c; }
.aod-admin-note > div strong { flex: 1; color: #111827; }
.aod-admin-note button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #087c2c; background: #fff; cursor: pointer; }
.aod-admin-note p { margin: 10px 0 5px; color: #111827; font-size: .79rem; line-height: 1.45; }
.aod-admin-note small { color: #64748b; }
.aod-action-bar { position: sticky; z-index: 8; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 13px 16px; border: 1px solid #dce6e0; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(15,73,42,.12); backdrop-filter: blur(10px); }
.aod-action-bar > div { display: flex; gap: 12px; }
.aod-action-bar form { margin: 0; }
.aod-action-bar .btn { min-height: 48px; justify-content: center; padding-inline: 23px; }
.aod-action-bar .btn-danger.btn-outline { color: #dc2626; border-color: #ef4444; background: #fff; }
.aod-operations { display: grid; gap: 12px; margin-top: 18px; }
.aod-operations details { padding: 0; overflow: hidden; }
.aod-operations summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; cursor: pointer; font-weight: 800; }
.aod-operations details[open] summary { border-bottom: 1px solid #e5ebe7; }
.aod-detail-body { padding: 20px; }
.aod-detail-body .file-list small { display: block; color: #64748b; }
.aod-dialog { width: min(520px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 17px; box-shadow: 0 24px 70px rgba(15,23,42,.25); }
.aod-dialog::backdrop { background: rgba(15,23,42,.45); backdrop-filter: blur(3px); }
.aod-dialog form { padding: 20px; }
.aod-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.aod-dialog-head h2 { margin: 0; }
.aod-dialog-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; cursor: pointer; font-size: 1.4rem; }

@media (max-width: 1180px) {
    .aod-main-grid { grid-template-columns: 1fr 1fr; }
    .aod-followup { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 760px) {
    .admin-order-detail { padding-inline: 10px; }
    .aod-head { align-items: flex-start; flex-direction: column; }
    .aod-head h1 { flex-wrap: wrap; }
    .aod-main-grid { grid-template-columns: 1fr; }
    .aod-followup { grid-column: auto; }
    .aod-panel { min-height: 0; padding: 17px 14px; }
    .aod-participant dl { grid-template-columns: 105px 8px minmax(0, 1fr); }
    .aod-payment-summary { grid-template-columns: 32px 1fr; }
    .aod-payment-summary > i { display: none; }
    .aod-payment-summary > span:nth-of-type(2) { margin-top: 10px; }
    .aod-proof-preview { height: 280px; }
    .aod-action-bar, .aod-action-bar > div { align-items: stretch; flex-direction: column; }
    .aod-action-bar { position: static; }
    .aod-action-bar .btn, .aod-action-bar form { width: 100%; }
    .aod-detail-body .grid-2 { grid-template-columns: 1fr; }
}

/* Final chat cascade: this file contains legacy widget rules above. */
body .chat-global-frame,
body .chat-customer-dock-panel {
    right: 46px;
    bottom: 126px;
    width: min(620px, calc(100vw - 48px));
    height: min(690px, calc(100vh - 154px));
    border: 1px solid rgba(224, 231, 235, .92);
    border-radius: 30px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 70px rgba(30, 58, 71, .20);
}
body .chat-customer-dock-panel > .chat-widget { border-radius: 29px; }
body .chat-customer-dock-panel .chat-widget-head {
    min-height: 112px;
    gap: 16px;
    padding: 22px 28px 20px 38px;
    border-bottom: 0;
    background: linear-gradient(120deg, #fff 0%, #fbfffc 62%, #e8faee 100%);
}
body .chat-customer-dock-panel .chat-agent-copy h1 { color: #080d18; font-size: 1.45rem; }
body .chat-customer-dock-panel .chat-agent-copy p { margin-top: 5px; font-size: .98rem; }
body .chat-customer-dock-panel .chat-widget-messages { padding: 22px 28px 18px; }
body .chat-customer-dock-panel .chat-widget-messages .chat-bubble { max-width: 84%; margin-bottom: 13px; }
body .chat-customer-dock-panel .chat-widget-messages .chat-bubble > div { padding: 13px 18px; border-radius: 20px 20px 20px 7px; background: #f8f9fb; }
body .chat-customer-dock-panel .chat-widget-messages .chat-bubble.mine > div { border-radius: 20px 20px 7px 20px; background: linear-gradient(135deg, #e8faec, #d8f7df); }
body .chat-customer-dock-panel .chat-widget-messages .chat-bubble p { font-size: .96rem; }
body .chat-customer-dock-panel .chat-widget-composer { grid-template-columns: 46px minmax(0, 1fr) 58px; gap: 10px; margin: 0; padding: 14px 20px 20px; }
body .chat-customer-dock-panel .chat-widget-composer .chat-attach { width: 46px; height: 46px; border: 0; }
body .chat-customer-dock-panel .chat-send-button { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #18c954, #05a53a); box-shadow: 0 9px 20px rgba(5, 165, 58, .26); }
body .chat-customer-dock-panel .chat-widget-thread-list { height: calc(100% - 211px); padding: 8px 16px; }
body .chat-customer-dock-panel .chat-widget-note { padding: 11px 14px; }
body .chat-dock-launcher {
    right: 46px;
    bottom: 28px;
    min-width: 380px;
    min-height: 82px;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 9px 24px 9px 10px;
    border: 1px solid rgba(226, 232, 240, .95);
    color: #0f172a;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 42px rgba(30, 58, 71, .20);
}
body .chat-dock-launcher-icon { width: 64px; height: 64px; }
body .chat-dock-launcher strong { font-size: 1.12rem; }
body .chat-dock-launcher small { margin-top: 4px; font-size: .82rem; }
body .chat-dock-launcher > svg { transform: rotate(90deg); }
body .chat-dock-launcher.is-open > svg { transform: rotate(-90deg); }
body.chat-embed .chat-customer-dock-panel { inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
body.chat-embed .chat-customer-dock-panel > .chat-widget { border-radius: 0; }

@media (max-width: 700px) {
    body .chat-global-frame,
    body .chat-customer-dock-panel { inset: 10px 10px 80px; width: auto; height: auto; border-radius: 20px; }
    body .chat-dock-launcher { right: 12px; bottom: 12px; min-width: 0; width: 58px; height: 58px; min-height: 58px; grid-template-columns: 1fr; padding: 5px; }
    body .chat-customer-dock-panel .chat-widget-head { min-height: 84px; padding: 14px 13px 13px 18px; gap: 10px; }
    body .chat-customer-dock-panel .chat-agent-copy h1 { font-size: 1rem; }
    body .chat-customer-dock-panel .chat-agent-copy p { font-size: .7rem; }
    body .chat-customer-dock-panel .chat-widget-messages { padding: 14px 12px; }
    body .chat-customer-dock-panel .chat-widget-messages .chat-bubble { max-width: 92%; }
    body .chat-customer-dock-panel .chat-widget-composer { grid-template-columns: 36px minmax(0, 1fr) 48px; gap: 5px; padding: 9px 8px 11px; }
    body .chat-customer-dock-panel .chat-widget-composer .chat-attach { width: 36px; height: 40px; }
    body .chat-customer-dock-panel .chat-send-button { width: 48px; height: 48px; }
    body.chat-embed .chat-customer-dock-panel { inset: 0; border-radius: 0; }
}

/* Launcher chat admin ringkas: sisakan ruang agar tidak menutupi data. */
body.layout-admin .adm-content { padding-bottom: 100px; }

/* Avatar otomatis berdasarkan pilihan pengguna */
.user-avatar { --avatar-size:44px; position:relative; flex:0 0 var(--avatar-size); width:var(--avatar-size); height:var(--avatar-size); display:inline-grid; place-items:center; overflow:hidden; border:2px solid rgba(255,255,255,.95); border-radius:50%; background:#e5f7e8; box-shadow:0 3px 9px rgba(15,23,42,.13); vertical-align:middle; }
.user-avatar svg { width:100%; height:100%; display:block; transform-origin:50% 82%; animation:avatar-breathe 3.4s ease-in-out infinite; }
.user-avatar .avatar-eyes { transform-box:fill-box; transform-origin:center; animation:avatar-blink 4.8s infinite; }
.user-avatar.is-female svg { animation-delay:-1.1s; }
.user-avatar.is-neutral { color:#087c2c; background:linear-gradient(145deg,#e5f9e8,#c7f0cf); font-weight:800; }
.user-avatar.is-neutral b { font-size:calc(var(--avatar-size) * .42); }
@keyframes avatar-breathe { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-1.5px) rotate(.7deg)} }
@keyframes avatar-blink { 0%,44%,48%,100%{transform:scaleY(1)} 46%{transform:scaleY(.08)} }

/* Pilihan jenis kelamin pada halaman daftar */
.reg-gender { margin:2px 0 14px 48px; padding:0; border:0; }
.reg-gender legend { width:100%; margin:0 0 7px; color:#0f172a; font-size:.95rem; font-weight:700; }
.reg-gender legend small { margin-left:6px; color:#64748b; font-size:.75rem; font-weight:500; }
.reg-gender-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.reg-gender-options label { cursor:pointer; }
.reg-gender-options input { position:absolute; opacity:0; pointer-events:none; }
.reg-gender-options label > span { min-height:60px; display:flex; align-items:center; gap:11px; padding:7px 12px; border:1px solid #cbd5e1; border-radius:13px; color:#334155; background:#fff; transition:border-color .15s,box-shadow .15s,background .15s; }
.reg-gender-options label > span > .ic { margin-left:auto; color:#16a34a; opacity:0; transform:scale(.7); transition:.15s; }
.reg-gender-options input:checked + span { border-color:#22c55e; background:#f0fdf4; box-shadow:0 0 0 3px rgba(34,197,94,.1); }
.reg-gender-options input:checked + span > .ic { opacity:1; transform:scale(1); }
.reg-gender-options input:focus-visible + span { outline:3px solid rgba(37,99,235,.25); outline-offset:2px; }

/* Penyesuaian tabel Manajemen Pengguna sesuai referensi */
.page-admin-users .usr-table thead th { color:#fff; background:linear-gradient(180deg,#159b42,#087b2e); border-color:#087b2e; }
.page-admin-users .usr-table-wrap { overflow:hidden; border-color:#d5e8da; }
.page-admin-users .usr-name > .user-avatar { margin-right:1px; }
.page-admin-users .usr-stat:nth-child(2) { background:linear-gradient(135deg,#f8fbff,#e7f1ff); border-color:#d6e5fb; }
.page-admin-users .usr-stat:nth-child(3) { background:linear-gradient(135deg,#fffdf7,#fff4cf); border-color:#f5e6b7; }

@media (max-width: 640px) {
    .reg-gender { margin-left:38px; }
    .reg-gender-options { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .user-avatar svg, .user-avatar .avatar-eyes { animation:none; }
}

/* Detail pesanan admin: tata letak dashboard sesuai referensi */
body.page-admin-order-detail .adm-main { position:relative; overflow:hidden; }
body.page-admin-order-detail .adm-top { position:absolute; z-index:20; top:0; right:0; left:0; background:transparent; pointer-events:none; }
body.page-admin-order-detail .adm-top .adm-actions { margin-left:auto; pointer-events:auto; }
body.page-admin-order-detail .adm-content { padding-top:12px; padding-bottom:110px; background:radial-gradient(70% 32% at 88% 0,#dff9e8 0,rgba(223,249,232,0) 70%),linear-gradient(135deg,#fafffb,#f5faf8); }
.page-admin-order-detail .admin-order-detail { position:relative; z-index:1; }
.page-admin-order-detail .aod-head { min-height:126px; align-items:flex-end; margin:0 0 18px; padding:20px 0 8px; }
.page-admin-order-detail .aod-head > div > a { display:inline-flex; align-items:center; gap:7px; color:#087c2c; text-decoration:none; }
.aod-title-icon { width:48px; height:48px; display:inline-grid; place-items:center; border-radius:14px; color:#0a9638; background:linear-gradient(145deg,#effff3,#d8f8e0); box-shadow:0 7px 18px rgba(21,128,61,.1); }
.page-admin-order-detail .aod-head > .badge { margin:0 4px 7px 0; }
.page-admin-order-detail .aod-panel { min-height:505px; overflow:hidden; padding:22px 20px 18px; border-color:#dce9e0; }
.page-admin-order-detail .aod-panel > h2 { position:relative; isolation:isolate; margin:-22px -20px 14px; padding:18px 20px 15px; overflow:hidden; background:linear-gradient(105deg,#fff 0%,#f8fff9 62%,#e2f9e8 100%); }
.page-admin-order-detail .aod-panel > h2::after { content:""; position:absolute; z-index:-1; right:-25px; bottom:-35px; width:52%; height:62px; border-radius:50%; background:rgba(74,222,128,.2); transform:rotate(-7deg); }
.page-admin-order-detail .aod-participant dt { display:flex; align-items:center; gap:8px; }
.page-admin-order-detail .aod-participant dt::after { margin-left:auto; }
.page-admin-order-detail .aod-participant dt > .ic { flex:0 0 auto; color:#17243a; }
.aod-value-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:99px; color:#087c2c; background:#dcfce7; font-size:.72rem; }
.page-admin-order-detail .aod-proof-preview { height:245px; border:1px solid #f3cbd2; background:linear-gradient(145deg,#fff7f8,#fff0f3); }
.aod-pdf-card { width:100%; height:100%; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px; padding:24px; color:#dc2626; text-align:center; }
.aod-pdf-card .ic { filter:drop-shadow(0 7px 9px rgba(220,38,38,.14)); }
.aod-pdf-card strong { margin-top:-42px; padding:3px 8px; border-radius:4px; color:#fff; background:#dc2626; font-size:1.05rem; }
.aod-pdf-card span { max-width:90%; margin-top:30px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#111827; font-weight:700; }
.aod-pdf-card small { color:#64748b; }
.aod-proof-actions { display:grid; grid-template-columns:1fr 1.35fr; gap:10px; margin-top:10px; }
.aod-proof-actions .btn { min-height:42px; justify-content:center; }
.aod-status-card { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(480px,2fr); gap:12px 30px; align-items:center; margin-top:18px; padding:18px 22px 0; border-radius:18px; border-color:#dce8e0; box-shadow:0 9px 26px rgba(15,73,42,.06); }
.aod-status-head h2 { display:flex; align-items:center; gap:10px; margin:0 0 14px; color:#111827; font-size:1.18rem; }
.aod-status-head h2 .ic { color:#0a9a3f; }
.aod-status-head > div { display:flex; align-items:center; gap:10px; color:#475569; font-size:.85rem; }
.aod-status-head .badge { font-size:.8rem; }
.aod-journey { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; padding:0; list-style:none; }
.aod-journey li { position:relative; display:grid; justify-items:center; gap:6px; color:#64748b; font-size:.78rem; }
.aod-journey li:not(:last-child)::before { content:""; position:absolute; z-index:0; top:12px; left:50%; width:100%; height:2px; background:#cbd5e1; }
.aod-journey li.done:not(:last-child)::before { background:#16a34a; }
.aod-journey li > span { position:relative; z-index:1; width:25px; height:25px; display:grid; place-items:center; border:2px solid #cbd5e1; border-radius:50%; color:#fff; background:#fff; }
.aod-journey li.done > span { border-color:#159a3c; background:#159a3c; }
.aod-journey li.current > span { border:6px solid #bbf7d0; box-shadow:0 0 0 2px #16a34a; background:#16a34a; }
.aod-journey li.done strong,.aod-journey li.current strong { color:#111827; }
.aod-action-bar.is-inline { position:static; grid-column:1/-1; margin:0 -22px; padding:14px 22px 17px; border:0; border-top:1px solid #e5ece7; border-radius:0 0 18px 18px; box-shadow:none; background:#fbfdfc; backdrop-filter:none; }
.aod-action-bar.is-inline .btn { min-height:42px; padding-inline:18px; }
.page-admin-order-detail .aod-operations { margin-top:12px; }
.page-admin-order-detail .aod-operations details { border-color:#e0e9e3; box-shadow:none; }
@media(max-width:1200px){.aod-status-card{grid-template-columns:1fr}.aod-action-bar.is-inline{grid-column:auto}.page-admin-order-detail .aod-panel{min-height:0}}
@media(max-width:1100px){body.page-admin-order-detail .adm-top{position:static}body.page-admin-order-detail .adm-content{padding-top:4px}.page-admin-order-detail .aod-head{min-height:0;padding-top:8px}}
@media(max-width:700px){.aod-status-card{padding-inline:14px}.aod-action-bar.is-inline{margin-inline:-14px;padding-inline:14px}.aod-journey strong{font-size:.68rem}.aod-proof-actions{grid-template-columns:1fr}.aod-title-icon{width:40px;height:40px}.page-admin-order-detail .aod-head h1{font-size:1.55rem}}

/* Admin premium 3D: sidebar global + Dashboard Laporan & Bagi Hasil */
:root { --sidebar:#064b3b; --sidebar-deep:#033e35; --dash-blue:#0672e9; --dash-orange:#ff9200; --dash-purple:#7650e9; --dash-teal:#00a994; --dash-pink:#ec3f84; --dash-canvas:#f6f9ff; }
body.layout-admin .adm { grid-template-columns:250px minmax(0,1fr); }
body.layout-admin .adm-side { width:250px; padding:18px 12px 0; color:#fff; border-right:0; background:radial-gradient(110% 45% at 30% 100%,rgba(18,185,99,.35),transparent 70%),linear-gradient(165deg,var(--sidebar) 0%,#005b45 55%,var(--sidebar-deep) 100%); box-shadow:8px 0 30px rgba(2,62,53,.12); }
body.layout-admin .adm-brand { padding:2px 12px 24px; }
body.layout-admin .adm-brand .brand-text strong,body.layout-admin .adm-brand .brand-text small { color:#fff; }
body.layout-admin .adm-brand .brand-text strong { font-size:1.42rem; line-height:1.02; }
body.layout-admin .adm-brand .brand-text small { margin-top:4px; opacity:.86; }
body.layout-admin .adm-nav { gap:4px; }
body.layout-admin .adm-nav a { min-height:47px; gap:14px; padding:11px 16px; border:1px solid transparent; border-radius:13px; color:rgba(255,255,255,.94); font-size:.9rem; font-weight:650; }
body.layout-admin .adm-nav a .ic { color:rgba(255,255,255,.92); filter:drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
body.layout-admin .adm-nav a:hover { color:#fff; background:rgba(255,255,255,.1); }
body.layout-admin .adm-nav a.active { color:#fff; border-color:rgba(159,255,146,.58); background:linear-gradient(180deg,#24d951,#06a93f); box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 18px rgba(0,25,14,.3),0 0 16px rgba(70,255,111,.2); }
body.layout-admin .adm-nav a:nth-child(4) { margin-top:8px; padding-top:17px; border-top-color:rgba(255,255,255,.22); border-radius:0 0 13px 13px; }
body.layout-admin .adm-badge { min-width:22px; height:22px; color:#064b3b; background:#d8ffe1; box-shadow:0 2px 7px rgba(0,0,0,.18); }
body.layout-admin .adm-nav a.active .adm-badge { color:#087c3c; background:#fff; }
body.layout-admin .adm-side-card { margin:auto 4px 14px; padding:12px 12px 14px; border:1px solid rgba(170,255,198,.44); border-radius:18px; color:#fff; background:linear-gradient(180deg,rgba(11,128,87,.6),rgba(3,62,53,.86)); box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 25px rgba(0,32,24,.26); }
body.layout-admin .adm-side-card img { width:94%; max-height:105px; margin-top:-30px; object-fit:contain; filter:drop-shadow(0 9px 10px rgba(0,0,0,.18)); }
body.layout-admin .adm-side-card strong { color:#fff; font-size:1rem; }
body.layout-admin .adm-side-card span { color:rgba(255,255,255,.82); font-size:.78rem; }
body.layout-admin .adm-side-cta { width:100%; min-height:37px; color:#07552d; border-color:#b7f447; background:linear-gradient(180deg,#d9ff67,#a8ed35); box-shadow:0 5px 12px rgba(0,0,0,.2); }
.adm-eyebrow { display:block; margin-bottom:1px; color:#22324a; font-size:.84rem; font-weight:700; }

body.page-reports { background:var(--dash-canvas); }
body.page-reports .adm-main { background:radial-gradient(45% 30% at 88% 0,rgba(218,226,255,.8),transparent 75%),var(--dash-canvas); }
body.page-reports .adm-top { min-height:108px; padding:18px 26px 10px; }
body.page-reports .adm-title h1 { font-size:1.9rem; line-height:1.05; }
body.page-reports .adm-title p { margin-top:4px; color:#52637b; font-size:.86rem; }
body.page-reports .adm-content { padding:6px 20px 90px; }
body.page-reports .rp { gap:12px; }
body.page-reports .rp .card { border:1px solid #dfe7f2; border-radius:17px; box-shadow:0 8px 20px rgba(51,65,112,.09),inset 0 1px 0 rgba(255,255,255,.72); }
body.page-reports .rp-kpis { gap:11px; }
body.page-reports .rp-kpi { min-height:105px; gap:12px; padding:13px 14px; overflow:hidden; color:#fff; border:0; border-radius:17px; box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 9px 18px rgba(45,59,102,.18); transition:transform .18s,box-shadow .18s; }
body.page-reports a.rp-kpi:hover { transform:translateY(-3px); border:0; box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 13px 24px rgba(45,59,102,.25); }
body.page-reports .rp-kpi:nth-child(1){background:linear-gradient(135deg,#41dc35,#00a943)}
body.page-reports .rp-kpi:nth-child(2){background:linear-gradient(135deg,#4abfff,#0672e9)}
body.page-reports .rp-kpi:nth-child(3){background:linear-gradient(135deg,#ffc852,#ff9200)}
body.page-reports .rp-kpi:nth-child(4){background:linear-gradient(135deg,#bd94ff,#7650e9)}
body.page-reports .rp-kpi:nth-child(5){background:linear-gradient(135deg,#42ddcb,#00a994)}
body.page-reports .rp-kpi:nth-child(6){background:linear-gradient(135deg,#ff83b8,#ec3f84)}
body.page-reports .rp-kpi::before { content:""; position:absolute; right:-16px; bottom:-25px; width:82px; height:82px; border-radius:50%; background:rgba(255,255,255,.17); box-shadow:-22px -8px 0 rgba(255,255,255,.08); }
body.page-reports .rp-kpi::after { width:115px; height:70px; right:-34px; bottom:-38px; background:radial-gradient(closest-side,rgba(255,255,255,.24),transparent); }
body.page-reports .rp-kpi-ic { width:48px; height:48px; color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.22); box-shadow:inset 0 2px 5px rgba(255,255,255,.25),0 6px 10px rgba(0,0,0,.18); }
body.page-reports .rp-kpi b,body.page-reports .rp-kpi strong,body.page-reports .rp-kpi small { color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.18); }
body.page-reports .rp-kpi b { font-size:1.75rem; }
body.page-reports .rp-kpi strong { font-size:.85rem; font-weight:800; }
body.page-reports .rp-kpi small { opacity:.9; font-size:.66rem; }
body.page-reports .rp-row { grid-template-columns:minmax(0,1.28fr) minmax(0,.95fr) minmax(0,.95fr); gap:12px; }
body.page-reports .rp-row > .card { min-height:248px; padding:14px 16px; }
body.page-reports .rp-chart svg { height:190px; }
body.page-reports .rp-chart .ln-orders { stroke:#22c55e; stroke-width:2.5; stroke-dasharray:none; }
body.page-reports .rp-chart .ln-paid { stroke:#168af5; stroke-width:2.5; }
body.page-reports .rp-chart .ln-done { stroke:#8057e9; stroke-width:2.5; }
body.page-reports .rp-legend .l-orders::before{background:#22c55e}body.page-reports .rp-legend .l-paid::before{background:#168af5}body.page-reports .rp-legend .l-done::before{background:#8057e9}
body.page-reports .rp-income { color:#fff; border:0; background:radial-gradient(75% 95% at 100% 0,rgba(170,255,75,.45),transparent 65%),linear-gradient(145deg,#15bc44,#068d36); }
body.page-reports .rp-income h3,body.page-reports .rp-income .rp-big,body.page-reports .rp-income-top small { color:#fff; }
body.page-reports .rp-income .rp-round-ic { color:#fff; background:rgba(255,255,255,.18); }
body.page-reports .rp-income .rp-lines { margin:auto -8px -6px; padding:7px; border-radius:13px; color:#102039; background:rgba(239,255,244,.93); box-shadow:0 -5px 18px rgba(0,91,41,.12); }
body.page-reports .rp-income .rp-lines li { padding:7px 9px; }
body.page-reports .rp-income .rp-lines li.hl { background:rgba(255,255,255,.72); }
body.page-reports .rp-comp { align-content:flex-start; }
body.page-reports .rp-donut { filter:drop-shadow(0 10px 8px rgba(20,93,77,.2)); }
body.page-reports .rp-donut circle { stroke-width:20; }
body.page-reports .rp-donut .d-own { stroke:#05b53c; }
body.page-reports .rp-donut .d-dev { stroke:#1a9df0; }
body.page-reports .rp-comp-legend .c-own{background:#05b53c}body.page-reports .rp-comp-legend .c-dev{background:#1a9df0}
body.page-reports .rp-table { padding:10px 12px 12px; }
body.page-reports .rp-tabs { gap:9px; margin:-2px 0 8px; padding-bottom:7px; }
body.page-reports .rp-tabs a { display:inline-flex; align-items:center; gap:7px; padding:9px 15px; border:1px solid transparent; border-radius:12px; color:#23324a; font-size:.82rem; font-weight:750; }
body.page-reports .rp-tabs a.active { color:#fff; border-color:#13a43d; background:linear-gradient(180deg,#25c94e,#079636); box-shadow:0 6px 12px rgba(10,145,54,.2); }
body.page-reports .rp-toolbar { margin-bottom:7px; }
body.page-reports .rp-grid th { color:#17223a; background:linear-gradient(180deg,#f1f4ff,#e8edfb); }
body.page-reports .rp-grid td { padding:7px 10px; font-size:.82rem; }
body.page-reports .rp-row-2 { gap:12px; }
body.page-reports .rp-recap { border-color:#cfc2ff; background:radial-gradient(80% 120% at 0 0,rgba(150,94,255,.22),transparent 60%),linear-gradient(135deg,#faf7ff,#eee7ff); }
body.page-reports .rp-recap-cells { border-color:#d8ccfa; background:rgba(255,255,255,.48); }
body.page-reports .rp-recap-cells > div + div { border-color:#d8ccfa; }
body.page-reports .rp-cell-ic { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:#7048e8; background:#fff; box-shadow:0 5px 10px rgba(112,72,232,.16); }
body.page-reports .rp-setting { border-color:#bfddff; background:radial-gradient(35% 110% at 100% 50%,rgba(50,137,255,.28),transparent 70%),linear-gradient(135deg,#f7fbff,#e7f2ff); }
body.page-reports .rp-setting .rp-round-ic { color:#fff; background:linear-gradient(145deg,#2ba8ff,#0873e9); box-shadow:0 7px 14px rgba(8,115,233,.24); }
body.page-reports .rp-setting-btns .btn:last-child { color:#fff; border-color:#1684ef; background:linear-gradient(180deg,#2ca9ff,#0874e9); }
body.page-reports .rp-head-actions { gap:10px; }
body.page-reports .rp-range > summary,body.page-reports .rp-export > summary { height:48px; background:#fff; box-shadow:0 7px 16px rgba(51,65,112,.1); }
@media(max-width:1280px){body.page-reports .rp-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}body.page-reports .rp-row{grid-template-columns:1fr 1fr}body.page-reports .rp-trend{grid-column:1/-1}}
@media(max-width:1100px){body.layout-admin .adm{grid-template-columns:minmax(0,1fr)}body.layout-admin .adm-side{width:270px}.adm-eyebrow{font-size:.78rem}}
@media(max-width:760px){body.page-reports .adm-top{min-height:auto}body.page-reports .rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.page-reports .rp-row{grid-template-columns:1fr}body.page-reports .rp-kpi{min-height:94px}body.page-reports .rp-row> .card{min-height:0}body.page-reports .rp-grid{min-width:840px}}

/* Tipografi logo sidebar: satu baris, proporsional, dan tetap terbaca */
body.layout-admin { font-family:"Segoe UI Variable Text","Segoe UI",Inter,system-ui,-apple-system,sans-serif; }
body.layout-admin .adm-brand { padding:5px 9px 25px; overflow:visible; }
body.layout-admin .adm-brand .brand-logo { width:100%; display:grid; grid-template-columns:46px minmax(0,1fr); align-items:center; gap:11px; }
body.layout-admin .adm-brand .brand-svg { width:46px; height:36px; filter:drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
body.layout-admin .adm-brand .brand-text { min-width:0; line-height:1; }
body.layout-admin .adm-brand .brand-text strong { display:block; white-space:nowrap; color:#fff; font-family:"Segoe UI Variable Display","Segoe UI",Inter,system-ui,sans-serif; font-size:1.08rem; font-weight:800; line-height:1.08; letter-spacing:-.025em; text-shadow:0 2px 5px rgba(0,0,0,.2); }
body.layout-admin .adm-brand .brand-text small { display:block; margin-top:5px; white-space:nowrap; color:#dff8e9; font-size:.64rem; font-weight:600; line-height:1.15; letter-spacing:.005em; opacity:1; }

/* Pemberitahuan sesi berakhir pada halaman login */
.auth.has-session-expired { padding-top:194px; }
.auth-expired-banner { position:absolute; z-index:5; top:26px; left:50%; width:min(1320px,calc(100% - 40px)); min-height:150px; display:grid; grid-template-columns:150px minmax(0,1fr) 1px minmax(260px,330px); align-items:center; gap:24px; padding:20px 78px 20px 28px; overflow:hidden; border:9px solid rgba(255,255,255,.72); border-radius:34px; color:#fff; background:radial-gradient(65% 130% at 100% 50%,rgba(219,0,56,.62),transparent 70%),linear-gradient(115deg,#fb7185 0%,#f02e55 42%,#e81849 100%); box-shadow:0 18px 42px rgba(190,24,65,.2),inset 0 1px 0 rgba(255,255,255,.5),0 0 0 1px rgba(255,255,255,.75); transform:translateX(-50%); }
.auth-expired-banner::before,.auth-expired-banner::after { content:""; position:absolute; z-index:-1; width:520px; height:160px; border-radius:50%; background:rgba(255,255,255,.08); transform:rotate(-9deg); }
.auth-expired-banner::before { left:-110px; bottom:-100px; }
.auth-expired-banner::after { right:-100px; top:-95px; }
.auth-expired-icon { position:relative; width:118px; height:106px; display:grid; place-items:center; margin:auto; border-radius:50%; color:#fff; background:linear-gradient(145deg,#ffe66b,#f6a900); box-shadow:inset 0 5px 8px rgba(255,255,255,.55),inset 0 -8px 12px rgba(184,82,0,.25),0 12px 18px rgba(134,19,43,.3); transform:rotate(-8deg); }
.auth-expired-icon .ic { width:62px; height:62px; stroke-width:2.4; filter:drop-shadow(0 3px 2px rgba(154,52,0,.25)); }
.auth-expired-icon b { position:absolute; top:12px; right:4px; width:50px; height:50px; display:grid; place-items:center; border:4px solid #ffc2c9; border-radius:15px; color:#fff; background:linear-gradient(145deg,#f43f5e,#bd1234); box-shadow:0 7px 12px rgba(118,10,34,.3); font-size:2rem; line-height:1; }
.auth-expired-copy { min-width:0; }
.auth-expired-copy h2 { margin:0 0 4px; color:#fff; font-family:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif; font-size:2.05rem; font-weight:850; letter-spacing:-.035em; text-shadow:0 3px 5px rgba(124,12,36,.35); }
.auth-expired-copy h2 mark { padding:0; color:#ffea57; background:transparent; }
.auth-expired-copy p { max-width:620px; margin:0; color:#fff; font-size:1.05rem; line-height:1.4; }
.auth-expired-banner > i { width:1px; height:54px; background:rgba(255,255,255,.82); }
.auth-expired-banner > a { min-height:58px; display:flex; align-items:center; justify-content:center; gap:12px; padding:10px 22px; border:2px solid rgba(255,255,255,.88); border-radius:99px; color:#d71942; background:linear-gradient(180deg,#fff,#fff5f7); box-shadow:0 9px 15px rgba(112,7,31,.28),inset 0 -3px 0 rgba(244,63,94,.08); text-decoration:none; font-size:1.05rem; font-weight:800; text-align:center; transition:transform .15s,box-shadow .15s; }
.auth-expired-banner > a:hover { transform:translateY(-2px); box-shadow:0 13px 20px rgba(112,7,31,.32); }
.auth-expired-banner > button { position:absolute; top:12px; right:18px; padding:0; border:0; color:#fff; background:transparent; cursor:pointer; font-size:2rem; font-weight:500; line-height:1; }
@media(max-width:1050px){.auth-expired-banner{grid-template-columns:100px minmax(0,1fr) minmax(230px,290px);gap:17px;padding-left:20px}.auth-expired-banner>i{display:none}.auth-expired-icon{width:88px;height:82px}.auth-expired-icon .ic{width:48px;height:48px}.auth-expired-icon b{width:38px;height:38px;font-size:1.5rem}.auth-expired-copy h2{font-size:1.6rem}.auth-expired-copy p{font-size:.9rem}}
@media(max-width:760px){.auth.has-session-expired{display:block;padding-top:18px}.auth-expired-banner{position:relative;top:auto;left:auto;width:calc(100% - 24px);min-height:0;grid-template-columns:68px minmax(0,1fr);margin:0 auto 22px;padding:17px 42px 17px 14px;border-width:5px;border-radius:23px;transform:none}.auth-expired-icon{width:62px;height:58px}.auth-expired-icon .ic{width:35px;height:35px}.auth-expired-icon b{top:4px;right:-2px;width:28px;height:28px;border-width:2px;border-radius:9px;font-size:1.05rem}.auth-expired-copy h2{font-size:1.28rem}.auth-expired-copy p{font-size:.78rem}.auth-expired-banner>a{grid-column:1/-1;min-height:45px;font-size:.88rem}.auth-expired-banner>button{top:8px;right:12px;font-size:1.55rem}}
body.layout-admin .chat-dock-launcher {
    right: 24px;
    bottom: 22px;
    width: auto;
    min-width: 220px;
    min-height: 56px;
    grid-template-columns: 42px minmax(0,1fr) 18px;
    gap: 10px;
    padding: 6px 14px 6px 7px;
    border: 1px solid #dfe7e2;
    box-shadow: 0 10px 26px rgba(15,23,42,.16);
}
body.layout-admin .chat-dock-launcher-icon { width: 42px; height: 42px; }
body.layout-admin .chat-dock-launcher-icon svg { width: 22px; height: 22px; }
body.layout-admin .chat-dock-launcher strong { font-size: .82rem; }
body.layout-admin .chat-dock-launcher small { display: none; }
body.layout-admin .chat-dock-launcher > em { right: -5px; top: -7px; min-width: 24px; height: 24px; }
@media(max-width:700px){body.layout-admin .adm-content{padding-bottom:82px}body.layout-admin .chat-dock-launcher{right:12px;bottom:12px;width:58px;min-width:58px;height:58px;min-height:58px;grid-template-columns:1fr;padding:6px}body.layout-admin .chat-dock-launcher>span:nth-child(2),body.layout-admin .chat-dock-launcher>svg{display:none}}

/* ===== Pengaturan: panel kartu sesuai mockup ===== */
body.page-settings.layout-admin { background:radial-gradient(80% 55% at 86% -8%,rgba(134,239,172,.28),transparent 62%),linear-gradient(135deg,#f9fcfa 0%,#f4faf7 55%,#edf9f2 100%); }
body.page-settings .adm-top { min-height:98px; padding-top:15px; padding-bottom:12px; overflow:visible; }
body.page-settings .adm-title-ic { width:58px; height:58px; border-radius:16px; box-shadow:0 9px 20px rgba(22,163,74,.09); }
body.page-settings .adm-title h1 { font-size:2.18rem; letter-spacing:-.035em; }
body.page-settings .adm-title p { font-size:.94rem; }
body.page-settings .adm-content { padding-top:0; }
.settings-header-tabs { position:static; display:inline-flex; gap:5px; padding:5px; border:1px solid #dce7e0; border-radius:999px; background:rgba(255,255,255,.94); box-shadow:0 7px 18px rgba(15,23,42,.08); }
.settings-header-tabs a { min-width:138px; min-height:48px; justify-content:center; gap:9px; padding:0 22px; border-radius:999px; color:#0f172a; font-size:1rem; font-weight:800; }
.settings-header-tabs a.active { background:linear-gradient(180deg,#16b947,#078a31); box-shadow:0 7px 13px rgba(21,128,61,.24); }
.settings-card { display:grid; gap:12px; overflow:visible; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.settings-section { position:relative; overflow:hidden; padding:13px 29px 17px; border:1px solid #d8e5de; border-radius:23px; background:rgba(255,255,255,.9); box-shadow:0 10px 28px rgba(15,73,42,.055); }
.settings-section::after { content:""; position:absolute; z-index:0; right:-38px; top:11px; width:260px; height:88px; border-radius:50% 0 0 50%; background:linear-gradient(145deg,rgba(220,252,231,0),rgba(187,247,208,.52)); transform:rotate(-9deg); pointer-events:none; }
.settings-section > * { position:relative; z-index:1; }
.settings-section-head { gap:18px; margin-bottom:8px; }
.settings-section-icon { width:52px; height:52px; border-radius:14px; background:linear-gradient(145deg,#effdf3,#d9f9e2); }
.settings-section-head h2 { font-size:1.28rem; font-weight:850; letter-spacing:-.025em; }
.settings-section-head p { margin-top:0; font-size:.78rem; }
.settings-grid { gap:11px 30px; }
.settings-field label { margin-bottom:5px; font-size:.8rem; font-weight:800; }
.settings-control { min-width:0; height:42px; display:flex; align-items:center; border:1px solid #b9c9dc; border-radius:9px; color:#078b31; background:#fff; box-shadow:inset 0 1px 2px rgba(15,23,42,.025); transition:border-color .15s,box-shadow .15s; }
.settings-control:focus-within { border-color:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.12); }
.settings-control > span { width:48px; display:grid; place-items:center; flex:0 0 auto; }
.settings-control input,.settings-control select { min-width:0; width:100%; height:40px; padding:0 12px 0 0; border:0; outline:0; background:transparent; box-shadow:none; }
.settings-control input:focus,.settings-control select:focus { border:0; box-shadow:none; }
.settings-control-select select { cursor:pointer; }
.settings-section-template { padding-bottom:15px; }
.settings-section-template textarea { min-height:64px; padding:9px 14px; font-size:.78rem; resize:vertical; }
.settings-note { margin-top:10px; padding:9px 14px; border-radius:10px; }
.settings-note p { font-size:.76rem; line-height:1.35; }
.settings-actions { justify-content:flex-end; padding:0 235px 0 0; }
.settings-save { min-width:230px; min-height:46px; border-radius:999px; font-size:.9rem; }
body.page-settings .adm-footer { padding-top:9px; }
@media(max-width:1320px){.settings-header-tabs a{min-width:112px;padding:0 16px}.settings-actions{padding-right:0}}
@media(max-width:1100px){body.page-settings .adm-top{min-height:auto}.settings-header-tabs{display:none}.settings-section{padding:15px 20px}.settings-card{gap:10px}}
@media(max-width:760px){body.page-settings .adm-title h1{font-size:1.45rem}.settings-section{padding:15px;border-radius:17px}.settings-section::after{display:none}.settings-section-head{align-items:center}.settings-section-icon{width:44px;height:44px}.settings-grid-2,.settings-grid-3{grid-template-columns:1fr}.settings-grid-3 .settings-field:last-child{grid-column:auto}.settings-note br{display:none}.settings-actions{padding:0}.settings-save{width:100%;min-width:0}.settings-section-template textarea{min-height:110px}}

/* ===== Sidebar admin: hijau premium + kartu Digital Warga Nusantara ===== */
body.layout-admin .adm { grid-template-columns:264px minmax(0,1fr); }
body.layout-admin .adm-side { position:sticky; isolation:isolate; width:264px; padding:22px 15px 18px; overflow-x:hidden; color:#fff; background:radial-gradient(120% 38% at -12% 17%,rgba(19,184,104,.38),transparent 58%),radial-gradient(120% 42% at 102% 91%,rgba(8,180,91,.42),transparent 62%),linear-gradient(165deg,#064f3d 0%,#004936 52%,#033c32 100%); box-shadow:10px 0 34px rgba(2,62,53,.14); }
body.layout-admin .adm-side::before,body.layout-admin .adm-side::after { content:""; position:absolute; z-index:-1; width:360px; height:160px; border-radius:50%; pointer-events:none; }
body.layout-admin .adm-side::before { left:-150px; top:98px; border-top:2px solid rgba(56,231,118,.24); background:linear-gradient(160deg,rgba(18,173,92,.28),transparent 72%); transform:rotate(-10deg); }
body.layout-admin .adm-side::after { right:-170px; bottom:-40px; border-top:2px solid rgba(49,239,115,.34); background:linear-gradient(160deg,rgba(14,193,92,.28),transparent 70%); transform:rotate(-12deg); }
body.layout-admin .adm-brand { padding:2px 10px 29px; }
body.layout-admin .adm-brand .brand-logo { position:relative; grid-template-columns:54px minmax(0,1fr); gap:18px; }
body.layout-admin .adm-brand .brand-logo::after { content:""; position:absolute; left:62px; top:2px; width:1px; height:54px; background:rgba(255,255,255,.62); }
body.layout-admin .adm-brand .brand-svg { width:54px; height:44px; }
body.layout-admin .adm-brand .brand-text strong { font-size:1.12rem; line-height:1.08; }
body.layout-admin .adm-brand .brand-text small { margin-top:5px; font-size:.64rem; }
body.layout-admin .adm-nav { gap:5px; }
body.layout-admin .adm-nav a { position:relative; min-height:50px; gap:17px; padding:12px 17px; border-radius:14px; color:rgba(255,255,255,.96); font-size:.98rem; font-weight:750; letter-spacing:-.01em; }
body.layout-admin .adm-nav a .ic { width:23px; height:23px; flex:0 0 auto; stroke-width:2.2; color:#fff; }
body.layout-admin .adm-nav a:hover { background:rgba(255,255,255,.1); }
body.layout-admin .adm-nav a.active { border-color:#83ff78; border-radius:16px; background:radial-gradient(70% 150% at 18% 50%,rgba(72,255,99,.62),transparent 68%),linear-gradient(180deg,#16bd47,#078f35); box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 8px 21px rgba(0,24,13,.34),0 0 18px rgba(72,255,102,.34); }
body.layout-admin .adm-nav a:nth-child(4) { margin-top:20px; padding-top:12px; border-top-color:transparent; border-radius:14px; }
body.layout-admin .adm-nav a:nth-child(4)::before { content:""; position:absolute; top:-13px; left:0; right:0; height:1px; background:rgba(98,229,164,.44); }
body.layout-admin .adm-badge { min-width:26px; height:26px; padding:0 8px; color:#064b3b; background:#dfffe7; font-size:.78rem; box-shadow:0 3px 9px rgba(0,0,0,.2); }
body.layout-admin .adm-side-card { position:relative; z-index:1; margin:auto 0 0; padding:12px 13px 15px; border:1px solid rgba(110,255,166,.58); border-radius:23px; color:#fff; background:radial-gradient(100% 55% at 50% 0,rgba(26,206,108,.3),transparent 70%),linear-gradient(180deg,rgba(3,105,73,.78),rgba(2,62,53,.92)); box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 15px 28px rgba(0,28,21,.3),0 0 16px rgba(35,218,100,.12); }
body.layout-admin .adm-side-card img.adm-dwn-logo { width:126px; height:126px; max-height:none; margin:-52px auto 1px; border-radius:50%; object-fit:contain; filter:drop-shadow(0 8px 10px rgba(0,0,0,.26)); }
body.layout-admin .adm-side-card .adm-dwn-title { display:block; margin-top:-4px; color:#fff; font-size:1.36rem; font-weight:900; line-height:1.02; letter-spacing:-.035em; text-shadow:0 3px 7px rgba(0,0,0,.28); }
body.layout-admin .adm-side-card .adm-dwn-title b { color:#ffc928; font:inherit; }
body.layout-admin .adm-side-card .adm-dwn-tagline { display:block; margin:8px 0 13px; color:#e7fff0; font-size:.63rem; font-weight:650; }
.adm-side-service { padding:13px 10px 10px; border:1px solid rgba(102,255,163,.35); border-radius:18px; background:linear-gradient(180deg,rgba(7,121,79,.72),rgba(3,77,59,.88)); box-shadow:inset 0 1px 0 rgba(255,255,255,.09); }
body.layout-admin .adm-side-card .adm-side-service strong { color:#fff; font-size:1rem; line-height:1.22; }
body.layout-admin .adm-side-card .adm-side-service span { margin-top:7px; color:#e5f9ec; font-size:.73rem; }
body.layout-admin .adm-side-cta { width:100%; min-height:42px; gap:7px; margin-top:12px; padding:0 10px; border:1px solid #caff45; border-radius:13px; color:#064b33; background:linear-gradient(180deg,#d9ff58,#a9f331); box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 7px 14px rgba(0,26,15,.3); font-size:.73rem; font-weight:900; }
body.layout-admin .adm-side-cta:hover { color:#043d29; background:linear-gradient(180deg,#e4ff73,#b9fa42); transform:translateY(-1px); }
@media(max-width:1100px){body.layout-admin .adm{grid-template-columns:minmax(0,1fr)}body.layout-admin .adm-side{position:fixed;width:280px}.adm-side-card{margin-top:70px}}


/* ===== Identitas: logo "N" Aplikasi Pajak Ku (SVG transparan) ===== */
.brand-logo { display:inline-flex; align-items:center; gap:12px; line-height:1; }
.brand-svg { display:block; flex:0 0 auto; overflow:visible; background:transparent; filter:drop-shadow(0 3px 5px rgba(6,95,48,.22)); }
.brand-text { display:flex; flex-direction:column; min-width:0; line-height:1.05; }
.brand-text strong { color:#0b3d2a; font-size:1.32rem; font-weight:800; letter-spacing:-.02em; white-space:nowrap; }
.brand-text small { margin-top:4px; color:#475569; font-size:.74rem; font-weight:600; white-space:nowrap; }
.topbar .brand-svg { width:46px; height:40px; }
.auth-brand .brand-logo { gap:16px; }
.auth-brand .brand-svg { width:66px; height:58px; }
.auth-brand .brand-text strong { font-size:2.1rem; }
.auth-brand .brand-text small { font-size:.95rem; }
.lp-brand-row .brand-svg { width:42px; height:37px; }
.vendor-app .brand-svg { width:52px; height:46px; }
.chat-header-logo .brand-svg { width:46px; height:auto; filter:drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.chat-admin-product-brand .brand-svg { width:54px; height:auto; }
.dwn-img { display:block; height:auto; max-width:100%; object-fit:contain; background:transparent; }
.dev-brand img, .vendor-name img { width:auto; height:44px; border-radius:0; }
@media(max-width:700px){ .topbar .brand-svg{width:40px;height:35px} .topbar .brand-text strong{font-size:1.12rem} .topbar .brand-text small{font-size:.66rem} .auth-brand .brand-svg{width:52px;height:46px} .auth-brand .brand-text strong{font-size:1.6rem} }

/* Sidebar admin — logo sesuai mockup: monogram | garis | nama aplikasi */
body.layout-admin .adm-brand { display:block; padding:6px 6px 26px; text-decoration:none; }
body.layout-admin .adm-brand .brand-logo { position:relative; width:100%; display:grid; grid-template-columns:52px minmax(0,1fr); justify-content:start; align-items:center; gap:21px; }
body.layout-admin .adm-brand .brand-logo::after { content:""; display:block; position:absolute; left:62px; top:50%; width:1px; height:48px; margin-top:-24px; background:rgba(255,255,255,.55); }
body.layout-admin .adm-brand .brand-svg { width:52px; height:46px; filter:drop-shadow(0 5px 7px rgba(0,0,0,.28)); }
body.layout-admin .adm-brand .brand-text strong { color:#fff; font-size:1.06rem; letter-spacing:-.02em; text-shadow:0 2px 5px rgba(0,0,0,.22); }
body.layout-admin .adm-brand .brand-text small { margin-top:5px; color:#dcf7e7; font-size:.66rem; }

/* Kartu Digital Warga Nusantara — emblem menembus tepi atas kartu */
body.layout-admin .adm-nav { margin-bottom:84px; }
body.layout-admin .adm-side-card { margin:auto 0 0; padding:0 13px 14px; overflow:visible; }
body.layout-admin .adm-side-card img.dwn-emblem { width:128px; height:auto; max-height:none; margin:-66px auto 4px; border-radius:0; filter:drop-shadow(0 10px 12px rgba(0,0,0,.3)); }
body.layout-admin .adm-side-card .adm-dwn-title { margin:0; font-size:1.42rem; }
.adm-dwn-rule { position:relative; display:block; width:150px; height:2px; margin:9px auto 7px; background:linear-gradient(90deg,transparent,#f5b92a 18%,#f5b92a 42%,transparent 44%,transparent 56%,#f5b92a 58%,#f5b92a 82%,transparent); }
.adm-dwn-rule::after { content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; margin:-4px 0 0 -4px; background:#f5b92a; transform:rotate(45deg); }
body.layout-admin .adm-side-card .adm-dwn-tagline { margin:0 0 2px; font-size:.64rem; }
body.layout-admin .adm-side-card img.dwn-skyline { width:calc(100% + 16px); max-width:none; height:auto; max-height:none; margin:2px -8px 6px; border-radius:0; filter:drop-shadow(0 6px 8px rgba(0,0,0,.22)); }
@media(max-height:860px) and (min-width:1101px){ body.layout-admin .adm-nav a{min-height:44px;padding-block:9px} body.layout-admin .adm-nav{margin-bottom:76px} }

/* ===== Pemberitahuan sesi berakhir — sesuai mockup ===== */
.auth.has-session-expired { padding-top:178px; }
.auth-expired-banner { top:22px; width:min(1220px,calc(100% - 40px)); min-height:140px; grid-template-columns:140px minmax(0,1fr) 2px minmax(250px,340px); gap:26px; padding:12px 72px 12px 22px; border-width:8px; border-color:rgba(255,228,234,.85); border-radius:32px; background:radial-gradient(60% 120% at 100% 50%,rgba(205,0,52,.55),transparent 70%),linear-gradient(110deg,#fb6f8c 0%,#f2385e 40%,#e0123f 100%); box-shadow:0 16px 40px rgba(190,24,65,.18),inset 0 1px 0 rgba(255,255,255,.45),0 0 0 1px rgba(255,255,255,.8); }
.auth-expired-icon { width:140px; height:120px; margin:-6px 0 -8px; border-radius:0; background:none; box-shadow:none; transform:none; }
.auth-expired-icon svg { display:block; width:100%; height:100%; filter:drop-shadow(0 8px 8px rgba(120,10,30,.3)); }
.auth-expired-copy h2 { margin:0 0 6px; font-size:2.25rem; line-height:1.05; }
.auth-expired-copy h2 mark { color:#ffd23a; }
.auth-expired-copy p { max-width:520px; font-size:1.12rem; line-height:1.4; color:#fff; }
.auth-expired-banner > i { width:2px; height:62px; border-radius:2px; background:rgba(255,255,255,.8); }
.auth-expired-banner > a { min-height:60px; gap:12px; padding:10px 26px; border:0; color:#d6113c; background:linear-gradient(180deg,#fff,#fff1f4); box-shadow:0 8px 16px rgba(112,7,31,.25),inset 0 -3px 0 rgba(244,63,94,.1); font-size:1.12rem; font-weight:800; }
.auth-expired-banner > a .ic { color:#d6113c; stroke-width:2.4; }
.auth-expired-banner > button { top:14px; right:22px; font-size:2.1rem; opacity:.95; }
.auth-expired-banner > button:hover { opacity:1; transform:scale(1.08); }
@media(max-width:1050px){ .auth-expired-banner{grid-template-columns:104px minmax(0,1fr) minmax(220px,280px);gap:16px;padding-right:56px} .auth-expired-icon{width:104px;height:90px} .auth-expired-copy h2{font-size:1.7rem} .auth-expired-copy p{font-size:.95rem} }
@media(max-width:760px){ .auth.has-session-expired{padding-top:16px} .auth-expired-banner{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:14px 40px 14px 12px;border-width:5px;border-radius:22px} .auth-expired-icon{width:72px;height:62px;margin:0} .auth-expired-copy h2{font-size:1.3rem} .auth-expired-copy p{font-size:.82rem} .auth-expired-banner>a{grid-column:1/-1;min-height:46px;font-size:.92rem} }

/* ===== Kerapian halaman admin ===== */
body.layout-admin .adm-main { overflow-x:clip; }
body.layout-admin .adm-side-card .adm-dwn-tagline { white-space:nowrap; font-size:.6rem; letter-spacing:-.005em; }
/* Pengguna: kolom aksi sejajar di setiap baris */
.usr-icon-slot { width:38px; height:36px; flex:0 0 auto; }
/* Layanan: teks header tidak tertimpa ilustrasi, kolom status cukup lebar */
.svc-head .pay-head-copy { max-width:58%; }
.svc-thead, .svc-row { grid-template-columns:minmax(0,1fr) 128px 104px 132px; }
.svc-row > span { display:flex; justify-content:center; }
/* Konten Beranda: tombol Hapus tetap merah-putih (tidak tertimpa gradasi hijau .btn) */
.btn.btn-danger-outline { color:#dc2626; border-color:#fca5a5; background:#fff; box-shadow:none; }
.btn.btn-danger-outline:hover { background:#fef2f2; }
.btn.lp-remove-btn:has(input:checked) { color:#fff; border-color:#dc2626; background:#dc2626; }
.lp-preview-copy { width:47%; }
.lp-preview-copy h4 { font-size:clamp(1.4rem,1.75vw,2.05rem); }
/* Laporan: tren, pendapatan & komposisi satu baris di layar lebar */
@media(min-width:1281px){ body.page-reports .rp-row > .rp-trend { grid-column:auto; } }
body.page-reports .rp-chart svg { width:100%; }
@media(max-width:1100px){ .svc-head .pay-head-copy{max-width:100%} }
@media(max-width:760px){ .svc-row{grid-template-columns:1fr auto} .usr-icon-slot{display:none} .lp-preview-copy{width:100%} }

/* Konten Beranda: baris gambar rapi (thumb | nama file, tombol di bawahnya) */
.btn.btn-danger-outline:not(.btn-outline):not(.btn-ghost):not(.btn-wa):not(.btn-danger) { color:#dc2626; border:1px solid #fca5a5; background:#fff; box-shadow:none; }
.btn.btn-danger-outline:not(.btn-outline):not(.btn-ghost):not(.btn-wa):not(.btn-danger):hover { background:#fef2f2; }
.btn.lp-remove-btn:not(.btn-outline):not(.btn-ghost):not(.btn-wa):not(.btn-danger):has(input:checked) { color:#fff; border-color:#dc2626; background:#dc2626; }
.lp-image-field { grid-template-columns:110px minmax(0,1fr) minmax(0,1fr); gap:8px 10px; }
.lp-image-field .lp-image-thumb { grid-row:span 2; }
.lp-image-field .lp-image-meta { grid-column:2 / -1; min-width:0; }
.lp-image-field .lp-image-meta strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lp-image-field > .btn { width:100%; justify-content:center; }
.lp-image-field > .lp-file-btn:last-child { grid-column:2 / -1; }
/* ===== Live Chat admin — panel menyatu di halaman (sesuai mockup) ===== */
body.page-chat-admin .chat-dock-launcher, body.page-chat-admin .chat-dock-page-hint { display:none !important; }
body.page-chat-admin .adm-content { padding-bottom:22px; }
.lc { position:relative; display:flex; flex-direction:column; height:calc(100vh - 150px); min-height:600px; overflow:hidden; border:1px solid #dbe9e0; border-radius:26px; background:#fff; box-shadow:0 18px 44px rgba(15,73,42,.09); }
.lc-banner { position:relative; display:flex; align-items:center; gap:26px; min-height:118px; padding:16px 26px; overflow:hidden; border-bottom:1px solid #e3eee7; background:linear-gradient(100deg,#fff 0%,#fbfffc 45%,#effcf2 62%,#c9f4d2 100%); }
.lc-banner::before { content:""; position:absolute; right:-6%; bottom:-120px; width:62%; height:210px; border-radius:50% 50% 0 0; background:linear-gradient(160deg,#3ddc62,#0d9f3f); transform:rotate(-7deg); opacity:.9; }
.lc-banner::after { content:""; position:absolute; right:22%; bottom:-140px; width:40%; height:200px; border-radius:50%; background:rgba(134,239,172,.55); transform:rotate(9deg); }
.lc-banner > * { position:relative; z-index:1; }
.lc-brand { display:flex; align-items:center; gap:12px; }
.lc-brand .brand-svg { width:62px; height:auto; }
.lc-brand span { display:block; line-height:.95; }
.lc-brand small { display:block; color:#0b6b2c; font-size:1.05rem; font-weight:800; }
.lc-brand strong { display:block; margin-top:2px; color:#0e8d35; font-size:1.75rem; font-weight:900; font-style:italic; letter-spacing:-.03em; }
.lc-banner-rule { width:2px; height:58px; border-radius:2px; background:#0f7a33; opacity:.75; }
.lc-banner-copy { min-width:0; flex:1; }
.lc-banner-copy h2 { margin:0; color:#0f172a; font-size:1.7rem; font-weight:850; letter-spacing:-.025em; }
.lc-banner-copy p { margin:4px 0 0; color:#475569; font-size:.92rem; }
.lc-banner-art { align-self:flex-end; height:118px; margin:-16px 40px -16px 0; }
.lc-banner-art img { display:block; height:118px; width:auto; -webkit-mask-image:radial-gradient(ellipse 70% 95% at 55% 60%,#000 55%,transparent 78%); mask-image:radial-gradient(ellipse 70% 95% at 55% 60%,#000 55%,transparent 78%); }
.lc-float { position:absolute; z-index:2; left:-14px; top:20px; display:flex; gap:4px; padding:8px 11px; border-radius:14px 14px 14px 4px; background:linear-gradient(180deg,#34d058,#119c3f); box-shadow:0 6px 12px rgba(5,90,35,.25); animation:lc-bob 3s ease-in-out infinite; }
.lc-float i { width:6px; height:6px; border-radius:50%; background:#fff; }
@keyframes lc-bob { 50% { transform:translateY(-5px); } }
.lc-close { position:absolute; z-index:3; top:50%; right:22px; width:44px; height:44px; margin-top:-22px; display:grid; place-items:center; border-radius:50%; color:#0f172a; background:#fff; box-shadow:0 6px 16px rgba(0,0,0,.14); font-size:1.7rem; line-height:1; text-decoration:none; }
.lc-close:hover { transform:scale(1.06); }

.lc-body { flex:1; min-height:0; display:grid; grid-template-columns:minmax(300px,36%) minmax(0,1fr); }
.lc-list { display:flex; flex-direction:column; min-height:0; padding:20px 14px 10px 20px; border-right:1px solid #e3eee7; }
.lc-list-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 4px; }
.lc-list-head h3 { margin:0; font-size:1.35rem; font-weight:850; letter-spacing:-.02em; }
.lc-list-head small { color:#64748b; }
.lc-refresh { width:44px; height:44px; display:grid; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(180deg,#22c55e,#0e9a3d); box-shadow:0 6px 14px rgba(22,163,74,.28); }
.lc-refresh:hover { filter:brightness(1.06); }
.lc-search { display:flex; align-items:center; gap:10px; margin:14px 0 12px; padding:0 16px; height:46px; border:1px solid #d9e4dd; border-radius:999px; color:#0e8d35; background:#fff; box-shadow:0 2px 6px rgba(15,23,42,.04); }
.lc-search:focus-within { border-color:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.14); }
.lc-search input { flex:1; min-width:0; height:44px; padding:0; border:0; outline:0; background:transparent; box-shadow:none; font-size:.88rem; }
.lc-search input:focus { outline:0; border:0; }
.lc-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:10px; }
.lc-tab { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border:1px solid #e2e8f0; border-radius:999px; color:#1e293b; background:#fff; text-decoration:none; font-size:.8rem; font-weight:700; white-space:nowrap; box-shadow:0 2px 5px rgba(15,23,42,.05); }
.lc-tab i { width:7px; height:7px; border-radius:50%; background:#cbd5e1; }
.lc-tab-new i { background:#ef4444; } .lc-tab-waiting i { background:#f59e0b; }
.lc-tab-waiting { background:#fffbeb; border-color:#fde68a; }
.lc-tab:hover { border-color:#86efac; }
.lc-tab.active { color:#fff; border-color:#16a34a; background:linear-gradient(180deg,#22c55e,#0e9a3d); box-shadow:0 5px 12px rgba(22,163,74,.25); }
.lc-tab.active i { background:#bbf7d0; }
.lc-rows { flex:1; min-height:0; overflow-y:auto; margin:0 -6px; padding:2px 6px; }
.lc-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:11px 12px; border-bottom:1px solid #eef2f0; border-radius:14px; color:inherit; text-decoration:none; transition:background .12s; }
.lc-row:hover { background:#f6fbf8; }
.lc-row.active { border-bottom-color:transparent; background:linear-gradient(90deg,#dcfce7,#effdf3); }
.lc-row-av { position:relative; }
.lc-dot { position:absolute; top:0; right:0; width:11px; height:11px; border:2px solid #fff; border-radius:50%; background:#f97316; }
.lc-row-main { min-width:0; }
.lc-row-main strong { display:block; overflow:hidden; color:#0f172a; font-size:.95rem; text-overflow:ellipsis; white-space:nowrap; }
.lc-row-main small { display:block; overflow:hidden; color:#475569; font-size:.8rem; text-overflow:ellipsis; white-space:nowrap; }
.lc-row-side { display:grid; justify-items:end; gap:5px; }
.lc-row-side time { color:#334155; font-size:.78rem; font-weight:600; }
.lc-chip { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:8px; font-size:.72rem; font-style:normal; font-weight:800; }
.lc-chip.new { color:#fff; background:#16a34a; }
.lc-chip.wait { color:#b45309; background:#fef3c7; }
.lc-chip.active { color:#1d4ed8; background:#dbeafe; }
.lc-chip.done { color:#15803d; background:#dcfce7; }
.lc-empty-list { display:grid; justify-items:center; gap:4px; padding:44px 12px; color:#64748b; text-align:center; font-size:.85rem; }
.lc-empty-list .ic { color:#86c99b; }
.lc-empty-list strong { color:#0f172a; }

.lc-conv { min-width:0; min-height:0; display:flex; flex-direction:column; padding:14px; background:linear-gradient(180deg,#fbfdfc,#f6faf8); }
.lc-empty { margin:auto; display:grid; justify-items:center; gap:8px; max-width:360px; text-align:center; color:#64748b; }
.lc-empty span { width:86px; height:86px; display:grid; place-items:center; border-radius:26px; color:#16a34a; background:#dcfce7; }
.lc-empty strong { color:#0f172a; font-size:1.1rem; }
.lc-empty p { margin:0; font-size:.88rem; }
.lc-thread { flex:1; min-height:0; display:flex; flex-direction:column; }
.lc-thread-head { display:flex; align-items:center; gap:13px; padding:12px 16px; border:1px solid #e3eee7; border-radius:18px; background:#fff; box-shadow:0 4px 12px rgba(15,23,42,.04); }
.lc-thread-who { min-width:0; flex:1; }
.lc-thread-who h3 { margin:0; font-size:1.15rem; font-weight:800; }
.lc-thread-who p { display:flex; align-items:center; gap:6px; margin:1px 0 0; color:#334155; font-size:.82rem; }
.lc-thread-who p span { color:#94a3b8; }
.lc-status-dot { width:9px; height:9px; border-radius:50%; background:#94a3b8; }
.lc-status-dot.new, .lc-status-dot.active { background:#22c55e; } .lc-status-dot.wait { background:#f59e0b; } .lc-status-dot.done { background:#16a34a; }
.lc-thread-tools { display:flex; gap:8px; }
.lc-tool { width:42px; height:42px; display:grid; place-items:center; list-style:none; cursor:pointer; border:1px solid #e6ece8; border-radius:13px; color:#0e8d35; background:#fff; box-shadow:0 3px 8px rgba(15,23,42,.06); }
.lc-tool::-webkit-details-marker { display:none; }
.lc-tool:hover { background:#f0fdf4; }
.lc-info { position:relative; }
.lc-info[open] > .lc-tool { color:#fff; background:#16a34a; }
.lc-info-pop { position:absolute; z-index:20; right:0; top:calc(100% + 8px); width:300px; padding:14px; border:1px solid #e2e8f0; border-radius:16px; background:#fff; box-shadow:0 18px 40px rgba(15,23,42,.16); }
.lc-info-pop dl { display:grid; grid-template-columns:86px 1fr; gap:6px 10px; margin:0 0 12px; font-size:.82rem; }
.lc-info-pop dt { color:#64748b; } .lc-info-pop dd { margin:0; color:#0f172a; font-weight:600; overflow-wrap:anywhere; }
.lc-status-form { display:grid; gap:7px; padding-top:12px; border-top:1px solid #eef2f0; }
.lc-status-form label { margin:0; font-size:.8rem; }
.lc-messages { flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:14px; padding:16px 8px; }
.lc-day { text-align:center; }
.lc-day span { display:inline-block; padding:3px 12px; border-radius:8px; color:#475569; background:#eef2f0; font-size:.74rem; font-weight:600; }
.lc-msg { display:flex; align-items:flex-start; gap:10px; max-width:78%; }
.lc-msg.mine { align-self:flex-end; flex-direction:row-reverse; }
.lc-msg-av { flex:0 0 auto; }
.lc-msg.mine .lc-msg-av { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#fff; box-shadow:0 3px 9px rgba(15,23,42,.13); }
.lc-bubble { padding:11px 15px 8px; border:1px solid #e6ece8; border-radius:4px 16px 16px 16px; background:#fff; box-shadow:0 3px 10px rgba(15,23,42,.05); }
.lc-msg.mine .lc-bubble { border-color:#cdeed6; border-radius:16px 4px 16px 16px; background:linear-gradient(180deg,#eafbef,#ddf7e4); }
.lc-bubble p { margin:0; color:#0f172a; font-size:.9rem; line-height:1.5; overflow-wrap:anywhere; }
.lc-bubble small { display:block; margin-top:4px; color:#64748b; font-size:.72rem; }
.lc-msg.mine .lc-bubble small { text-align:right; }
.lc-read { color:#16a34a; font-weight:800; letter-spacing:-.15em; }
.lc-file { display:inline-flex; align-items:center; gap:6px; margin-top:6px; padding:6px 10px; border-radius:10px; color:#0e7a31; background:#fff; border:1px solid #d1e7d9; text-decoration:none; font-size:.82rem; font-weight:700; }
.lc-composer { display:flex; align-items:center; gap:10px; margin-top:4px; padding:9px 10px; border:1px solid #e3eee7; border-radius:18px; background:#fff; box-shadow:0 4px 12px rgba(15,23,42,.05); }
.lc-attach { width:42px; height:42px; display:grid; place-items:center; flex:0 0 auto; margin:0; cursor:pointer; border-radius:12px; color:#475569; }
.lc-attach:hover { color:#0e8d35; background:#f0fdf4; }
.lc-input { flex:1; min-width:0; display:flex; flex-direction:column; border:1px solid #e2e8f0; border-radius:14px; background:#fbfdfc; }
.lc-input:focus-within { border-color:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.12); }
.lc-input textarea { min-height:44px; max-height:140px; padding:11px 14px; border:0; outline:0; resize:none; background:transparent; box-shadow:none; font-size:.9rem; }
.lc-input textarea:focus { outline:0; border:0; }
.lc-file-name:empty { display:none; }
.lc-file-name { padding:0 14px 8px; color:#0e7a31; font-size:.75rem; font-weight:700; }
.lc-send { width:58px; height:46px; flex:0 0 auto; display:grid; place-items:center; border:0; border-radius:14px; color:#fff; cursor:pointer; background:linear-gradient(180deg,#22c55e,#0e9a3d); box-shadow:0 6px 14px rgba(22,163,74,.3); }
.lc-send:hover { filter:brightness(1.06); }
.lc-closed { display:flex; align-items:center; gap:8px; margin-top:6px; padding:12px 16px; border-radius:14px; color:#475569; background:#f1f5f9; font-size:.85rem; }
@media(max-width:1250px){ .lc-banner-art{display:none} .lc-banner-copy h2{font-size:1.4rem} }
@media(max-width:900px){
    .lc { height:auto; min-height:0; }
    .lc-banner { gap:14px; padding:14px 64px 14px 16px; min-height:0; }
    .lc-banner-rule, .lc-banner-copy p { display:none; }
    .lc-brand strong { font-size:1.3rem; } .lc-brand .brand-svg { width:44px; }
    .lc-body { grid-template-columns:1fr; }
    .lc-list { max-height:none; border-right:0; border-bottom:1px solid #e3eee7; padding:14px; }
    .lc-rows { max-height:320px; }
    .lc-conv { height:72vh; min-height:480px; padding:10px; }
    .lc-msg { max-width:92%; }
    .lc-info-pop { width:min(300px,calc(100vw - 40px)); }
}
.lc { flex:1 1 auto; width:100%; min-width:0; }
.lc-banner::before { right:-12%; width:46%; }
.lc-banner::after { right:16%; width:30%; }
.lc-banner-copy { position:relative; z-index:2; }
.lc-tabs { flex-wrap:nowrap; gap:5px; overflow-x:auto; scrollbar-width:none; }
.lc-tab { padding:6px 10px; font-size:.76rem; }.lc-tab { gap:5px; padding:6px 8px; font-size:.72rem; }
.lc-tab i { width:6px; height:6px; }

/* ===== Beranda: kartu vendor + footer disclaimer (sesuai mockup) ===== */
.landing-vendor { padding:40px 0 6px; background:radial-gradient(60% 80% at 100% 0,rgba(187,247,208,.45),transparent 70%); }
.vendor-card.vc { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 2px minmax(0,1fr) 2px minmax(0,1fr); align-items:center; gap:28px; min-height:200px; padding:28px 40px 64px; overflow:hidden; border:1px solid #e3eee7; border-radius:34px; background:linear-gradient(180deg,#fff 0%,#f8fdf9 100%); box-shadow:0 18px 42px rgba(15,73,42,.09),inset 0 1px 0 #fff; }
.vc > :not(.vc-waves) { position:relative; z-index:1; }
.vc-rule { align-self:center; width:2px; height:96px; border-radius:2px; background:linear-gradient(180deg,transparent,#2fb85a 20%,#2fb85a 80%,transparent); }
.vc-app { display:flex; align-items:center; justify-content:center; gap:14px; }
.vc-app .brand-svg { width:96px; height:auto; filter:drop-shadow(0 7px 9px rgba(6,95,48,.28)); }
.vc-app-text strong { display:block; color:#0b5b27; font-size:2.2rem; font-weight:900; line-height:.95; letter-spacing:-.035em; }
.vc-app-text strong b { color:#10a33e; font-weight:900; }
.vc-app-text small { display:block; margin-top:8px; color:#1f2937; font-size:.95rem; font-weight:500; }
.vc-dev { display:grid; justify-items:center; gap:10px; }
.vc-pill { padding:6px 22px; border-radius:999px; color:#14532d; background:#dcfce7; font-size:.85rem; font-weight:700; }
.vc-dev-brand { display:flex; align-items:center; gap:12px; }
.vc-dev-brand .dwn-emblem { width:96px; height:auto; filter:drop-shadow(0 5px 6px rgba(0,0,0,.12)); }
.vc-dev-brand strong { display:block; color:#0b5b27; font-size:1.55rem; font-weight:900; line-height:1; letter-spacing:-.03em; }
.vc-dev-brand strong b { display:block; color:#e0a106; font-weight:900; }
.vc-dev-brand .adm-dwn-rule { width:100%; margin:9px 0 0; }
.vc-link { position:relative; justify-self:center; display:inline-flex; align-items:center; gap:14px; min-height:68px; padding:12px 34px 12px 22px; border-radius:999px; color:#fff; background:radial-gradient(90% 140% at 80% 0,rgba(255,255,255,.22),transparent 60%),linear-gradient(180deg,#1fb14a,#0a7a32); box-shadow:0 0 0 6px rgba(187,247,208,.55),0 12px 24px rgba(8,110,44,.28),inset 0 1px 0 rgba(255,255,255,.35); text-decoration:none; font-size:1.3rem; font-weight:800; letter-spacing:-.01em; white-space:nowrap; transition:transform .15s,box-shadow .15s; }
.vc-link:hover { transform:translateY(-2px); box-shadow:0 0 0 6px rgba(187,247,208,.7),0 16px 28px rgba(8,110,44,.32),inset 0 1px 0 rgba(255,255,255,.35); }
.vc-link .ic { flex:0 0 auto; }
.vc-cursor { position:absolute; right:-18px; bottom:-26px; filter:drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.vc-waves { position:absolute; z-index:0; left:0; right:0; bottom:0; width:100%; height:78px; }

.footer { padding:26px 0 40px; border-top:0; color:#334155; text-align:left; background:radial-gradient(70% 120% at 0 100%,rgba(187,247,208,.5),transparent 60%),radial-gradient(60% 120% at 100% 100%,rgba(187,247,208,.45),transparent 60%),#f4faf6; }
body.page-home .footer { background:radial-gradient(70% 120% at 0 100%,rgba(187,247,208,.5),transparent 60%),radial-gradient(60% 120% at 100% 100%,rgba(187,247,208,.45),transparent 60%),transparent; }
.footer-note { display:grid; grid-template-columns:auto 2px minmax(0,1fr); align-items:center; gap:24px; max-width:1040px; }
.footer-note-ic { width:52px; height:52px; display:grid; place-items:center; color:#16a34a; }
.footer-note-ic .ic { width:44px; height:44px; stroke-width:2.2; }
.footer-note-rule { width:2px; height:56px; border-radius:2px; background:#4fbf74; }
.footer .footer-note p { margin:0; color:#334155; font-size:1rem; line-height:1.65; text-align:center; }
.footer .footer-note strong { color:inherit; font-weight:inherit; }
.footer-brand { color:#16a34a; font-weight:800; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.footer-brand:hover { color:#0e7a31; }
@media(max-width:1180px){ .vendor-card.vc{gap:18px;padding:24px 24px 58px} .vc-app-text strong{font-size:1.7rem} .vc-app .brand-svg{width:72px} .vc-dev-brand strong{font-size:1.25rem} .vc-dev-brand .dwn-emblem{width:76px} .vc-link{font-size:1.05rem;padding:10px 24px 10px 16px;min-height:58px} }
@media(max-width:900px){ .vendor-card.vc{grid-template-columns:1fr;justify-items:center;text-align:center;gap:20px;padding:26px 18px 70px;border-radius:26px} .vc-rule{width:70%;height:2px;background:linear-gradient(90deg,transparent,#2fb85a 20%,#2fb85a 80%,transparent)} .vc-app{justify-content:center;text-align:left} .vc-dev-brand{text-align:left} .vc-cursor{right:-10px} }
@media(max-width:600px){ .footer-note{grid-template-columns:1fr;justify-items:center;gap:10px} .footer-note-rule{display:none} .footer .footer-note p{font-size:.88rem} .vc-link{font-size:.95rem} }

/* ===== Form Buat Pesanan — sesuai mockup + Harta/Utang ===== */
body.page-order { background:radial-gradient(60% 40% at 100% 0,rgba(187,247,208,.35),transparent 70%),#f4faf6; }
.page-order main:not(.adm-content) .ord-head { min-height:128px; padding:18px 28px; }
.page-order .ord-head h1 { font-size:clamp(1.6rem,2.6vw,2.2rem); }
.page-order .ord-head p { font-size:.95rem; }
.page-order .ord-head-img { max-height:122px; }
.page-order .ord-steps { padding:12px 20px; margin-bottom:16px; }
.page-order .ord-steps li { font-size:.92rem; }
.page-order .ord-steps span { width:34px; height:34px; }
.ord-grid.ord-grid-main { grid-template-columns:minmax(0,42fr) minmax(0,58fr); gap:16px; align-items:start; margin-bottom:16px; }
.ord-grid-main .ord-card-services { position:sticky; top:92px; }
.page-order .ord-card { padding:20px 22px; border-radius:18px; box-shadow:0 6px 18px rgba(15,73,42,.05); }
.page-order .ord-card h2 { font-size:1.2rem; margin-bottom:14px; }
.ord-card-detail .field { margin-bottom:11px; }
.ord-card-detail label { display:flex; align-items:center; gap:6px; margin-bottom:5px; color:#0f172a; font-size:.82rem; font-weight:700; }
.ord-card-detail label .ic { color:#16a34a; flex:0 0 auto; }
.ord-card-detail label .muted { font-weight:500; color:#64748b; }
.ord-card-detail input[type=text], .ord-card-detail select, .ord-card-detail textarea, .ord-card-detail .fake-input { min-height:40px; padding:8px 12px; border-radius:9px; font-size:.9rem; }
.ord-card-detail .fake-input { color:#334155; background:#f8fafc; }
.ord-card-detail textarea { min-height:62px; }
.ord-card-detail .hint { margin-top:4px; font-size:.72rem; line-height:1.4; color:#64748b; }
.ofd-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.ofd-grid[hidden], .txp[hidden], .txp-sec[hidden], .txp-assist[hidden], .txp-empty[hidden], [data-when-party][hidden] { display:none !important; }

/* Panel Daftar Harta & Hutang */
.txp { margin:4px 0 14px; border:1px solid #cfe9d8; border-radius:16px; overflow:hidden; background:#fff; }
.txp-head { display:flex; align-items:center; gap:12px; padding:11px 16px; background:linear-gradient(180deg,#e9f9ee,#f4fcf6); border-bottom:1px solid #d9efe1; }
.txp-head > span { color:#16a34a; display:flex; }
.txp-head strong { display:block; color:#0f172a; font-size:.98rem; }
.txp-head small { display:block; color:#475569; font-size:.74rem; }
.txp-sec { padding:12px 16px 14px; }
.txp-sec + .txp-sec { border-top:1px dashed #d9e7de; }
.txp-sec.is-invalid { background:#fff7f7; }
.txp-sec-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:12px; }
.txp-sec-ic { width:40px; height:40px; display:grid; place-items:center; border-radius:11px; color:#16a34a; background:#effcf3; }
.txp-sec-head strong { display:block; color:#0f172a; font-size:.9rem; }
.txp-sec-head strong em { color:#16a34a; font-style:normal; }
.txp-sec-head small { display:block; color:#64748b; font-size:.72rem; line-height:1.4; }
.txp-sec-head .btn { white-space:nowrap; border-radius:10px; }
.txp-assist { display:flex; align-items:center; gap:6px; margin:10px 0 0; padding:8px 11px; border-radius:10px; color:#92400e; background:#fffbeb; font-size:.76rem; }
.txp-rows { display:grid; gap:7px; margin-top:10px; }
.txp-empty { margin:10px 0 0; padding:10px; border:1px dashed #d1e2d8; border-radius:10px; color:#94a3b8; font-size:.78rem; text-align:center; }
.tx-row > input[type=hidden] { display:none; }
.tx-sum { display:grid; grid-template-columns:auto minmax(0,1.4fr) auto minmax(0,1fr) auto auto; align-items:center; gap:10px; padding:8px 8px 8px 12px; border:1px solid #e2ece6; border-radius:11px; background:#fff; box-shadow:0 2px 6px rgba(15,23,42,.035); font-size:.8rem; }
.tx-sum-ic { color:#16a34a; display:flex; }
.tx-sum-main { min-width:0; }
.tx-sum-main strong { display:block; overflow:hidden; color:#0f172a; text-overflow:ellipsis; white-space:nowrap; }
.tx-sum-main small { display:block; overflow:hidden; color:#64748b; font-size:.7rem; text-overflow:ellipsis; white-space:nowrap; }
.tx-chip { padding:3px 10px; border-radius:999px; color:#166534; background:#e7f8ec; font-size:.7rem; font-weight:700; white-space:nowrap; }
.tx-party { padding-left:10px; overflow:hidden; border-left:1px solid #e2e8f0; color:#334155; text-overflow:ellipsis; white-space:nowrap; }
.tx-amount { color:#0f172a; font-weight:800; white-space:nowrap; }
.tx-menu { position:relative; }
.tx-menu > summary { width:32px; height:32px; display:grid; place-items:center; list-style:none; cursor:pointer; border-radius:8px; color:#334155; }
.tx-menu > summary::-webkit-details-marker { display:none; }
.tx-menu > summary:hover, .tx-menu[open] > summary { background:#f1f5f9; }
.tx-menu > div { position:absolute; z-index:15; right:0; top:calc(100% + 4px); min-width:130px; padding:5px; border:1px solid #e2e8f0; border-radius:11px; background:#fff; box-shadow:0 12px 28px rgba(15,23,42,.14); }
.tx-menu button { width:100%; display:flex; align-items:center; gap:8px; padding:8px 10px; border:0; border-radius:8px; color:#0f172a; background:none; font:inherit; font-size:.82rem; cursor:pointer; text-align:left; }
.tx-menu button:hover { background:#f0fdf4; }
.tx-menu button.danger { color:#dc2626; } .tx-menu button.danger:hover { background:#fef2f2; }

/* Modal Harta / Utang */
.tx-dialog { width:min(820px,calc(100vw - 24px)); max-height:90vh; padding:0; overflow:hidden; border:0; border-radius:20px; color:#0f172a; background:#fff; box-shadow:0 30px 90px rgba(15,23,42,.3); }
.tx-dialog::backdrop { background:rgba(15,40,28,.55); backdrop-filter:blur(3px); }
.tx-dialog[open] { display:flex; }
.tx-dialog-inner { display:flex; flex-direction:column; width:100%; max-height:90vh; }
.tx-dialog-head { display:flex; align-items:center; gap:14px; padding:16px 22px; background:linear-gradient(110deg,#effcf3,#fff 70%); border-bottom:1px solid #e3efe7; }
.tx-dialog-head > span { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; border-radius:14px; color:#fff; background:linear-gradient(180deg,#22c55e,#0e9a3d); box-shadow:0 6px 14px rgba(22,163,74,.28); }
.tx-dialog-head h2 { margin:0; font-size:1.25rem; }
.tx-dialog-head p { margin:2px 0 0; color:#475569; font-size:.82rem; }
.tx-dialog-head > div { flex:1; min-width:0; }
.tx-dialog-close { width:38px; height:38px; border:0; border-radius:50%; color:#334155; background:#f1f5f9; font-size:1.5rem; line-height:1; cursor:pointer; }
.tx-dialog-close:hover { background:#e2e8f0; }
.tx-dialog-body { flex:1; min-height:0; overflow-y:auto; padding:18px 22px 6px; }
.tx-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.tx-grid .tx-wide { grid-column:1 / -1; }
.tx-grid .field { margin-bottom:12px; }
.tx-grid label { display:flex; align-items:center; gap:6px; margin-bottom:5px; color:#0f172a; font-size:.82rem; font-weight:700; }
.tx-grid label .ic { color:#16a34a; }
.tx-grid input, .tx-grid select, .tx-grid textarea { width:100%; min-height:42px; padding:9px 12px; border-radius:10px; font-size:.92rem; }
.tx-grid select:disabled { color:#94a3b8; background:#f8fafc; }
.tx-grid .field.is-invalid input, .tx-grid .field.is-invalid select, .tx-grid .field.is-invalid .tx-money { border-color:#dc2626; box-shadow:0 0 0 3px rgba(220,38,38,.1); }
.tx-money { display:flex; align-items:center; border:1px solid #cbd5e1; border-radius:10px; background:#fff; overflow:hidden; }
.tx-money:focus-within { border-color:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.14); }
.tx-money > span { padding:0 12px; align-self:stretch; display:grid; place-items:center; color:#166534; background:#f0fdf4; border-right:1px solid #dcefe2; font-weight:700; font-size:.85rem; }
.tx-money input { border:0 !important; box-shadow:none !important; outline:0; text-align:right; font-weight:700; }
.tx-dialog-error { min-height:1em; margin:0 0 8px; color:#dc2626; font-size:.82rem; font-weight:600; }
.tx-dialog-actions { display:flex; justify-content:flex-end; gap:10px; padding:12px 22px; border-top:1px solid #e8efeb; background:#fbfdfc; }
.tx-dialog-actions .btn { min-width:130px; }

/* Ringkasan langkah 2 */
.ord-sum-items:empty { display:none; }
.ord-sum-items { margin-top:12px; padding:12px 14px; border:1px solid #e2ece6; border-radius:14px; background:#fbfdfc; }
.ord-sum-items h3 { margin:0 0 8px; font-size:.92rem; } .ord-sum-items h3 em { color:#16a34a; font-style:normal; }
.ord-sum-items ul { margin:0; padding:0; list-style:none; display:grid; gap:6px; }
.ord-sum-items li { display:flex; justify-content:space-between; gap:12px; font-size:.82rem; }
.ord-sum-items li small { display:block; color:#64748b; font-size:.72rem; }
.ord-sum-items p { margin:8px 0 0; text-align:right; font-size:.85rem; }

/* Disclaimer & dokumen */
.page-order .disc-points { margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.page-order .disc-points li { display:flex; gap:9px; align-items:flex-start; color:#334155; font-size:.86rem; }
.page-order .disc-points li .ic { color:#16a34a; flex:0 0 auto; margin-top:2px; }
.page-order .ord-grid-2 { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:16px; margin-bottom:16px; }

/* Chat tidak menutupi bar aksi */
body.page-order .chat-dock-launcher { bottom:112px; }

/* Rincian harta/utang di detail pesanan */
.tax-items-title { display:flex; align-items:center; gap:7px; margin:16px 0 8px; font-size:.98rem; }
.tax-items-title .ic { color:#16a34a; } .tax-items-title span { color:#64748b; font-weight:600; }
.tax-items-wrap { overflow-x:auto; border:1px solid #e2ece6; border-radius:12px; }
.tax-items { width:100%; border-collapse:collapse; font-size:.82rem; }
.tax-items th { padding:8px 10px; color:#166534; background:#f0fdf4; font-size:.72rem; text-transform:uppercase; letter-spacing:.03em; text-align:left; white-space:nowrap; }
.tax-items td { padding:8px 10px; border-top:1px solid #eef2f0; vertical-align:top; }
.tax-items td small { display:block; margin-top:2px; color:#64748b; font-size:.72rem; }
.tax-items .num { text-align:right; white-space:nowrap; font-weight:700; }

@media(max-width:980px){
    .ord-grid.ord-grid-main, .page-order .ord-grid-2 { grid-template-columns:1fr; }
    .ord-grid-main .ord-card-services { position:static; }
}
@media(max-width:640px){
    .ofd-grid, .tx-grid { grid-template-columns:1fr; }
    .ord-card-detail input[type=text], .ord-card-detail select, .ord-card-detail textarea, .tx-grid input, .tx-grid select, .tx-grid textarea { font-size:16px; }
    .txp-sec-head { grid-template-columns:auto minmax(0,1fr); }
    .txp-sec-head .btn { grid-column:1 / -1; width:100%; }
    .tx-sum { grid-template-columns:auto minmax(0,1fr) auto; row-gap:4px; }
    .tx-chip { grid-column:2; justify-self:start; }
    .tx-party { grid-column:2; padding-left:0; border-left:0; font-size:.74rem; }
    .tx-amount { grid-column:3; grid-row:1; }
    .tx-menu { grid-column:3; grid-row:2 / span 2; justify-self:end; }
    .tx-dialog { width:100vw; max-height:94vh; border-radius:18px 18px 0 0; margin:auto 0 0; }
    .tx-dialog-actions .btn { flex:1; min-width:0; }
    body.page-order .chat-dock-launcher { bottom:96px; }
    .tax-items thead { display:none; }
    .tax-items, .tax-items tbody, .tax-items tr, .tax-items td { display:block; width:100%; }
    .tax-items tr { padding:8px 10px; border-top:1px solid #eef2f0; }
    .tax-items td { padding:2px 0; border:0; text-align:left !important; }
    .tax-items td[data-label]::before { content:attr(data-label) ": "; color:#64748b; font-size:.72rem; }
    .tax-items td:first-child::before { content:none; }
}

/* ===== Antrean admin: ringkasan isian + panel "Lihat Data" ===== */
.q-cust { display:block; color:#0f172a; }
.q-chips { display:flex; flex-wrap:wrap; gap:4px; margin-top:4px; }
.q-chips i { display:inline-flex; align-items:center; gap:3px; padding:1px 7px; border-radius:999px; color:#334155; background:#f1f5f9; font-size:.68rem; font-style:normal; font-weight:700; white-space:nowrap; }
.q-chips i.ok { color:#166534; background:#dcfce7; }
.q-chips i.warn { color:#92400e; background:#fef3c7; }
.q-chips i .ic { width:12px; height:12px; }
.q-expand { white-space:nowrap; }
.q-expand.is-open { color:#fff; background:#16a34a; border-color:#16a34a; }
.q-table tr.is-expanded > td { background:#f0fdf4; border-bottom-color:transparent; }
.q-table tr.q-detail > td { padding:0 14px 16px; background:#f0fdf4; border-bottom:2px solid #bbf7d0; }
.qd { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.qd-box { padding:12px 14px; border:1px solid #dcefe2; border-radius:14px; background:#fff; }
.qd-box h4 { display:flex; align-items:center; gap:6px; margin:0 0 8px; color:#14532d; font-size:.85rem; }
.qd-box h4 .ic { color:#16a34a; }
.qd-box dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:5px 10px; margin:0; font-size:.78rem; }
.qd-box dt { color:#64748b; white-space:nowrap; }
.qd-box dd { margin:0; color:#0f172a; font-weight:600; overflow-wrap:anywhere; }
.qd-docs { margin:0 0 8px; padding:0; list-style:none; display:grid; gap:5px; font-size:.78rem; }
.qd-docs li { display:flex; justify-content:space-between; gap:8px; }
.qd-docs a { display:inline-flex; align-items:center; gap:5px; min-width:0; overflow:hidden; color:#0e7a31; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.qd-docs small { color:#64748b; white-space:nowrap; }
.qd-note { margin:0; font-size:.78rem; color:#334155; }
.qd-muted { color:#94a3b8; font-size:.78rem; margin:0; }
.qd-items { margin-top:4px; padding:4px 14px 12px; border:1px solid #dcefe2; border-radius:14px; background:#fff; }
.qd-items .tax-items-title { margin-top:10px; }
@media(max-width:1280px){ .qd{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:700px){ .qd{grid-template-columns:1fr} .q-table tr.q-detail > td{padding:0 8px 12px} }.q-expand { display:inline-flex; align-items:center; gap:4px; margin-top:6px; padding:3px 9px; border:1px solid #86efac; border-radius:8px; color:#15803d; background:#fff; font:inherit; font-size:.72rem; font-weight:700; cursor:pointer; }
.q-expand:hover { background:#f0fdf4; }
.q-expand.is-open { color:#fff; background:#16a34a; border-color:#16a34a; }
.q-expand.is-open span::after { content:" (tutup)"; }
.q-table tr.q-detail > td { max-width:0; }
.qd > * { min-width:0; }
.q-table .tax-items th { padding:7px 10px; color:#166534; background:#f0fdf4; font-size:.68rem; letter-spacing:.03em; }
.q-table .tax-items td { padding:7px 10px; font-size:.78rem; background:#fff; }body.page-admin-orders .q-table .tax-items thead th, .q-table .tax-items thead th { padding:7px 10px; color:#166534; background:#f0fdf4; font-size:.68rem; font-weight:800; }
