/* =====================================================================
   BEE PRINT + NUKI - style.css (UI SaaS, tahap 3: shell)
   ---------------------------------------------------------------------
   Mobile-first. Breakpoint (min-width saja):
     400px  : field pendek form jadi 2 kolom
     640px  : grid 2 kolom, modal di tengah
     768px  : search di topbar
     1024px : sidebar navy (nav yang sama menjadi sidebar)
     1280px : grid 3 kolom
   Class dari app.js (jangan diganti namanya):
     .card .row .name .job .status .tag .actions .dark .empty
     .product-card .product-info .product-name .product-category
     .product-price .product-actions .order-card-web
     .hide (modal) .hide-page (halaman) .active (nav & tab)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */

:root {
    color-scheme: light;

    /* brand */
    --primary: #2563EB;
    --primary-600: #1D4ED8;
    --primary-50: #EEF4FF;
    --primary-100: #DCE7FF;
    --bee: #F5B301;

    /* sidebar */
    --navy: #0B1A2E;
    --navy-2: #13243C;
    --navy-3: #1B2F4B;
    --navy-text: #B8C4D6;
    --navy-muted: #7D8BA3;

    /* surface */
    --bg: #F4F6FA;
    --surface: #FFFFFF;
    --surface-2: #F7F9FC;
    --border: #E6EAF1;
    --border-strong: #D3DAE5;

    /* text */
    --text: #0F172A;
    --text-2: #334155;
    --muted: #64748B;
    --on-primary: #FFFFFF;

    /* status */
    --baru: #2563EB;
    --baru-bg: #EAF1FF;
    --proses: #C26A00;
    --proses-bg: #FFF3DC;
    --selesai: #15803D;
    --selesai-bg: #E4F6EA;
    --batal: #DC2626;
    --batal-bg: #FDEBEB;

    /* shape */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
    --shadow: 0 4px 18px rgba(15, 23, 42, .07);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .22);

    /* spacing */
    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s5: 20px;
    --s6: 24px;
    --s8: 32px;

    /* typography */
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-xs: 12px;
    --fs-sm: 13px;
    --fs: 15px;
    --fs-md: 17px;
    --fs-lg: 22px;
    --fs-xl: 28px;

    /* layout */
    --sidebar-w: 244px;
    --bottom-nav-h: 66px;
    --topbar-h: 64px;
    --tap: 44px;
}


/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--fs);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
    margin: 0;
}

small,
em {
    font-style: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: var(--s2) var(--s3);
    min-height: 38px;
    transition: background-color .15s, border-color .15s, color .15s;
}

button:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
}

button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

:focus-visible {
    outline: 3px solid var(--primary-100);
    outline-offset: 2px;
}

input,
select,
textarea {
    width: 100%;
    min-height: var(--tap);
    padding: 10px var(--s3);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 16px; /* 16px mencegah auto-zoom di iOS */
}

textarea {
    resize: vertical;
    min-height: 88px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

input[readonly] {
    background: var(--surface-2);
    color: var(--muted);
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
}


/* ---------------------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-height: var(--tap);
    padding: 0 var(--s4);
    border-radius: var(--radius);
    font-weight: 600;
    white-space: nowrap;
}

.btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.btn.primary:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.btn.ghost {
    background: var(--surface);
}

.btn.block {
    width: 100%;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-2);
}


/* ---------------------------------------------------------------------
   4. LAYOUT SHELL
   --------------------------------------------------------------------- */

.app {
    min-height: 100vh;
}

.main {
    min-width: 0;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + var(--s6));
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--topbar-h);
    padding: var(--s2) var(--s3);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-width: 0;
}

.topbar-brand strong,
.nav-brand strong {
    display: block;
    font-size: var(--fs-md);
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.1;
    white-space: nowrap;
}

.topbar-brand small,
.nav-brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.topbar-search {
    display: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-width: 0;
    margin-left: auto;
}

.topbar-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
    white-space: nowrap;
    line-height: 1.2;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.topbar-clock[hidden] {
    display: none;
}

.topbar-clock b {
    font-size: var(--fs-md);
    color: var(--text);
}

/* Mobile: hanya jam; tanggal lengkap tampil mulai 768px */
#topbar-date {
    display: none;
}

.topbar-updated {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--muted);
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--selesai);
    box-shadow: 0 0 0 3px var(--selesai-bg);
}

.avatar-wrap {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
}

.avatar-name {
    display: none;
    white-space: nowrap;
    font-weight: 600;
    font-size: var(--fs-sm);
}

.content {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--s4);
}

.page.hide-page {
    display: none;
}


/* ---------------------------------------------------------------------
   5. NAVIGASI - mobile: bottom navigation
   --------------------------------------------------------------------- */

.nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
}

/* Elemen khusus sidebar desktop disembunyikan di bawah 1024px */
@media (max-width: 1023.98px) {
    .nav-brand,
    .nav-status,
    .nav-item.nav-desktop,
    .nav-item .lbl-desk,
    .nav-item .soon,
    .nav-item .icon-bot {
        display: none;
    }
}

.nav-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    height: var(--bottom-nav-h);
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    height: 100%;
    padding: var(--s1) 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.nav-item::-webkit-details-marker {
    display: none;
}

.nav-item:hover {
    background: transparent;
    color: var(--primary);
}

.nav-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-item.active {
    color: var(--primary);
}

.nav-home    { order: 1; }
.nav-orders  { order: 2; }
.nav-nuki    { order: 3; }
.nav-products { order: 4; }

/* Tombol mic NUKI di tengah */
.nav-nuki .icon-mic {
    width: 56px;
    height: 56px;
    padding: 15px;
    margin-top: -26px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .35), 0 0 0 5px var(--surface);
}

.nav-nuki:hover .icon-mic {
    background: var(--primary-600);
}

/* Menu "Lainnya" */
.nav-more {
    order: 5;
    position: relative;
    min-width: 0;
}

.nav-more > summary {
    height: 100%;
}

.nav-more[open] > summary {
    color: var(--primary);
}

.more-sheet {
    position: fixed;
    right: var(--s3);
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + var(--s2));
    z-index: 45;
    display: grid;
    gap: 2px;
    width: min(240px, calc(100vw - 24px));
    padding: var(--s2);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.more-item {
    display: flex;
    align-items: center;
    gap: var(--s3);
    width: 100%;
    min-height: var(--tap);
    padding: 0 var(--s3);
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    text-align: left;
    font-weight: 600;
    color: var(--text-2);
}

.more-item.active {
    background: var(--primary-50);
    color: var(--primary);
}

/* "Lainnya" ikut aktif bila halaman di dalamnya sedang dibuka */
.nav-more:has(.more-item.active) > summary {
    color: var(--primary);
}

.soon {
    margin-left: auto;
    padding: 1px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--muted);
}


/* ---------------------------------------------------------------------
   6. PAGE HEADER & PANEL
   --------------------------------------------------------------------- */

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s3) var(--s4);
    margin-bottom: var(--s5);
}

.page-head > div {
    min-width: 0;
    flex: 1 1 220px;
}

.page-head h1 {
    font-size: var(--fs-lg);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}

.page-head p {
    margin-top: var(--s1);
    color: var(--muted);
    font-size: var(--fs-sm);
}

.page-head .btn {
    flex: 1 1 auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: var(--s1);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-head {
    margin: var(--s6) 0 var(--s3);
}

.section-head h2 {
    font-size: var(--fs-md);
    font-weight: 700;
}

.section-head p {
    font-size: var(--fs-sm);
    color: var(--muted);
}

.panel {
    min-width: 0;
    padding: var(--s5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.panel h2 {
    margin-bottom: var(--s3);
    font-size: var(--fs-md);
    font-weight: 700;
}

.soon-panel {
    display: grid;
    justify-items: center;
    gap: var(--s2);
    padding: var(--s8) var(--s5);
    text-align: center;
    color: var(--muted);
}

.soon-panel h2 {
    margin: 0;
    color: var(--text);
}

.soon-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--primary-50);
    color: var(--primary);
}

.soon-icon .icon {
    width: 26px;
    height: 26px;
}

.empty {
    grid-column: 1 / -1;
    padding: var(--s6) var(--s4);
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}


/* ---------------------------------------------------------------------
   7. STAT CARDS
   --------------------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3);
}

.stat {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon label" "icon value" "icon note";
    column-gap: var(--s3);
    align-items: center;
    min-width: 0;
    padding: var(--s3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat small {
    grid-area: label;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-2);
}

.stat b {
    grid-area: value;
    font-size: var(--fs-lg);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    overflow-wrap: break-word;
}

.stat em {
    grid-area: note;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.stat-icon {
    grid-area: icon;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--primary-50);
    color: var(--primary);
}

.stat-icon .icon {
    width: 22px;
    height: 22px;
}

.stat-baru .stat-icon     { background: var(--baru-bg);    color: var(--baru); }
.stat-proses .stat-icon   { background: var(--proses-bg);  color: var(--proses); }
.stat-deadline .stat-icon { background: var(--batal-bg);   color: var(--batal); }
.stat-selesai .stat-icon  { background: var(--selesai-bg); color: var(--selesai); }
.stat-income .stat-icon   { background: var(--selesai-bg); color: var(--selesai); }
.stat-expense .stat-icon  { background: var(--batal-bg);   color: var(--batal); }
.stat-profit .stat-icon   { background: var(--primary-50); color: var(--primary); }
.stat-count .stat-icon    { background: var(--proses-bg);  color: var(--proses); }
.stat-total .stat-icon    { background: var(--primary-50); color: var(--primary); }

/* Dashboard: jarak antar-baris kartu; kartu Pemasukan selebar 2 kolom di HP */
.dash-status {
    margin-top: var(--s3);
}

.dash-finance .stat-income {
    grid-column: 1 / -1;
}

/* HP sempit (< 400px): kartu Dashboard setengah-lebar memakai ikon di atas agar label tidak terpotong */
@media (max-width: 399.98px) {
    #page-home .stat:not(.stat-income) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "icon" "label" "value" "note";
        align-items: start;
    }

    #page-home .stat:not(.stat-income) .stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: var(--s2);
    }
}

.stat-income b,
.stat-expense b,
.stat-profit b {
    font-size: var(--fs);
}


/* ---------------------------------------------------------------------
   8. KARTU PESANAN (markup dari app.js)
   --------------------------------------------------------------------- */

.order-grid,
.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
}

.card {
    min-width: 0;
    padding: var(--s4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-wrap: anywhere;
}

.card .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s3);
    margin-bottom: var(--s3);
}

.card .row > div {
    min-width: 0;
}

.card .name {
    font-size: var(--fs-md);
    font-weight: 700;
}

.card .job {
    font-size: var(--fs-sm);
    color: var(--muted);
}

.tag {
    display: inline-block;
    max-width: 100%;
    margin: 0 var(--s1) var(--s2) 0;
    padding: 3px 10px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-2);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.status {
    flex: none;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--muted);
}

.status.baru    { background: var(--baru-bg);    color: var(--baru); }
.status.proses  { background: var(--proses-bg);  color: var(--proses); }
.status.selesai { background: var(--selesai-bg); color: var(--selesai); }
.status.batal   { background: var(--batal-bg);   color: var(--batal); }

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-top: var(--s2);
}

.actions button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    font-weight: 600;
    font-size: var(--fs-sm);
}

.actions button.dark {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

.actions button.dark:hover {
    background: var(--primary-600);
}

.order-card-web {
    min-width: 0;
    border: 1px solid var(--border);
    overflow-wrap: anywhere;
}

.order-card-web select {
    width: auto;
    min-height: 36px;
    font-size: var(--fs-sm);
}

.order-card-web button {
    min-height: 40px;
    font-weight: 600;
}


/* ---------------------------------------------------------------------
   9. KATALOG
   --------------------------------------------------------------------- */

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s4);
    min-width: 0;
    padding: var(--s4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-wrap: anywhere;
}

.product-name {
    font-size: var(--fs-md);
    font-weight: 700;
}

.product-category {
    display: inline-block;
    margin-top: var(--s1);
    padding: 2px 10px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-50);
    border-radius: var(--radius-pill);
}

.product-price {
    margin-top: var(--s3);
    font-size: var(--fs-lg);
    font-weight: 800;
}

.product-price span {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--muted);
}

.product-actions {
    display: flex;
    gap: var(--s2);
}

.product-actions button {
    flex: 1 1 0;
    min-height: 40px;
    font-weight: 600;
}


/* ---------------------------------------------------------------------
   10. KEUANGAN
   --------------------------------------------------------------------- */

.segmented {
    display: inline-flex;
    gap: var(--s1);
    max-width: 100%;
    margin-bottom: var(--s4);
    padding: var(--s1);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.finance-tab {
    min-width: 72px;
    min-height: 36px;
    padding: 0 var(--s4);
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.finance-tab:hover {
    background: var(--surface-2);
}

.finance-tab.active {
    background: var(--primary);
    color: var(--on-primary);
}

.finance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
    margin-top: var(--s4);
}

.finance-summary {
    color: var(--muted);
}

.finance-summary b {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--muted);
}

.finance-summary span {
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
}

.finance-list {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.finance-list b,
.finance-list strong {
    color: var(--text);
}

.finance-list button {
    min-height: 32px;
    font-size: var(--fs-xs);
    font-weight: 600;
}


/* ---------------------------------------------------------------------
   11. MODAL & FORM (mobile: bottom sheet, >= 640px: dialog)
   --------------------------------------------------------------------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, .5);
}

.modal.hide {
    display: none;
}

.sheet {
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Field yang di-scroll/fokus tidak berhenti di bawah header sheet yang sticky */
.sheet input,
.sheet select,
.sheet textarea,
.sheet button {
    scroll-margin-top: 88px;
    scroll-margin-bottom: 16px;
}

.sheettop {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    padding: var(--s4) var(--s5);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.sheettop small {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--primary);
}

.sheettop h3 {
    font-size: var(--fs-md);
    font-weight: 700;
}

.form {
    display: grid;
    gap: var(--s4);
    padding: var(--s5);
}

.field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.field > label,
.field-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-2);
}

/* Dropdown "Pilih dari Katalog" disisipkan app.js sebelum #pesanan */
.picker-host {
    display: grid;
    min-width: 0;
}

.picker-host > label {
    font-size: var(--fs-xs);
    color: var(--muted);
}

.two {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
}

.form .btn.block {
    margin-top: var(--s1);
    min-height: 48px;
}


/* ---------------------------------------------------------------------
   12. >= 400px
   --------------------------------------------------------------------- */

@media (min-width: 400px) {

    .two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-head .btn {
        flex: 0 0 auto;
    }

    .stat-income b,
    .stat-expense b,
    .stat-profit b {
        font-size: var(--fs-md);
    }
}


/* ---------------------------------------------------------------------
   13. >= 640px : tablet
   --------------------------------------------------------------------- */

@media (min-width: 640px) {

    .content {
        padding: var(--s6);
    }

    .topbar {
        padding: var(--s2) var(--s6);
    }

    .topbar-updated {
        display: inline-flex;
    }

    .page-head h1 {
        font-size: var(--fs-xl);
    }

    .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--s4);
    }

    /* Dashboard baris 1: tiga kartu sejajar */
    .dash-finance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dash-finance .stat-income {
        grid-column: auto;
    }

    .dash-status {
        margin-top: var(--s4);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Nilai rupiah panjang: kartu keuangan tetap 2 kolom sampai 1280px */
    #page-finance .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat {
        padding: var(--s4);
    }

    .order-grid,
    .product-grid,
    .finance-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--s4);
    }

    .modal {
        align-items: center;
        padding: var(--s6);
    }

    .sheet {
        max-width: 560px;
        max-height: calc(100vh - 48px);
        border-radius: var(--radius-lg);
        padding-bottom: 0;
    }
}


/* ---------------------------------------------------------------------
   14. >= 768px : search di topbar
   --------------------------------------------------------------------- */

@media (min-width: 768px) {

    #topbar-date {
        display: inline;
    }

    /* Dashboard baris 2: empat kartu status sejajar mulai 768px */
    .dash-status {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* 768-1279px: ruang topbar untuk search + tanggal; "Diperbarui" tampil lagi >= 1280px */
    .topbar-updated {
        display: none;
    }

    .topbar-search {
        display: flex;
        align-items: center;
        gap: var(--s2);
        flex: 1 1 280px;
        max-width: 420px;
        min-width: 0;
        height: 40px;
        padding: 0 var(--s3);
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--muted);
    }

    .topbar-search input {
        min-height: 0;
        height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: var(--fs-sm);
    }

    .topbar-search input:focus {
        box-shadow: none;
    }

    .topbar-search input:disabled {
        cursor: not-allowed;
    }
}


/* ---------------------------------------------------------------------
   15. >= 1024px : desktop, nav menjadi sidebar navy
   --------------------------------------------------------------------- */

@media (min-width: 1024px) {

    .nav {
        top: 0;
        right: auto;
        width: var(--sidebar-w);
        display: flex;
        flex-direction: column;
        padding: var(--s5) var(--s3);
        background: var(--navy);
        border-top: 0;
        box-shadow: none;
        color: var(--navy-text);
    }

    .nav-brand {
        display: flex;
        align-items: center;
        gap: var(--s3);
        padding: var(--s1) var(--s2) var(--s6);
        color: #FFFFFF;
    }

    .nav-brand small {
        color: var(--navy-muted);
    }

    .nav-items {
        display: flex;
        flex-direction: column;
        gap: var(--s1);
        height: auto;
    }

    .nav-item .lbl-mob,
    .nav-items .nav-more,
    .nav-item .icon-mic {
        display: none;
    }

    .nav-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--s3);
        height: auto;
        min-height: var(--tap);
        padding: 0 var(--s3);
        border-radius: var(--radius);
        color: var(--navy-text);
        font-size: var(--fs);
        font-weight: 500;
    }

    .nav-item:hover {
        background: var(--navy-2);
        color: #FFFFFF;
    }

    .nav-item.active {
        background: var(--primary);
        color: #FFFFFF;
        font-weight: 600;
    }

    .nav-home, .nav-orders, .nav-nuki, .nav-products, .nav-more { order: 0; }

    .nav-item .soon {
        padding: 1px 6px;
        background: var(--navy-3);
        color: var(--navy-muted);
    }

    .nav-item > span {
        flex: 0 1 auto;
        min-width: 0;
    }

    .nav-status {
        display: grid;
        gap: var(--s2);
        margin-top: auto;
        padding: var(--s4);
        background: var(--navy-2);
        border-radius: var(--radius-lg);
        color: var(--navy-text);
    }

    .nav-status-head {
        display: flex;
        align-items: center;
        gap: var(--s2);
        color: #FFFFFF;
    }

    .nav-status p {
        font-size: var(--fs-sm);
        color: var(--navy-muted);
    }

    .nav-status .btn.primary {
        min-height: 40px;
        margin-top: var(--s1);
    }

    .status-dot {
        width: 10px;
        height: 10px;
        flex: none;
        border-radius: 50%;
        background: var(--navy-muted);
    }

    .status-dot.online {
        background: #22C55E;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
    }

    .main {
        margin-left: var(--sidebar-w);
        padding-bottom: var(--s8);
    }

    .topbar {
        min-height: 68px;
        padding: var(--s2) var(--s8);
    }

    .topbar-brand {
        display: none;
    }


    .content {
        padding: var(--s6) var(--s8) var(--s8);
    }
}


/* ---------------------------------------------------------------------
   16. >= 1280px
   --------------------------------------------------------------------- */

@media (min-width: 1280px) {

    #page-finance .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .topbar-updated {
        display: inline-flex;
    }

    .avatar-name {
        display: inline;
    }

    .order-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================================
   W1 WEB CONSUMER
   Read-only notification UI
   ============================================================ */

.w1-notification-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.w1-notification-button {
    position: relative;
}

.w1-notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
    background: #d92d20;
    color: #fff;
    box-sizing: border-box;
}

.w1-notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    max-height: min(560px, calc(100vh - 110px));
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(11, 26, 46, .12);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
    z-index: 1000;
}

.w1-notification-panel-title {
    position: sticky;
    top: 0;
    padding: 14px 16px;
    font-weight: 800;
    background: #fff;
    border-bottom: 1px solid rgba(11, 26, 46, .08);
}

.w1-notification-empty {
    padding: 20px 16px;
    color: #687386;
    font-size: 13px;
}

.w1-notification-item {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(11, 26, 46, .08);
}

.w1-notification-item:last-child {
    border-bottom: 0;
}

.w1-notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.w1-notification-head strong {
    font-size: 14px;
}

.w1-notification-head span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(11, 26, 46, .07);
}

.w1-notification-customer {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 7px;
}

.w1-notification-detail {
    font-size: 13px;
    line-height: 1.45;
    color: #364152;
    margin-bottom: 10px;
}

.w1-notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    color: #687386;
}

@media (max-width: 600px) {
    .w1-notification-panel {
        position: fixed;
        top: 68px;
        right: 12px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 90px);
    }
}
/* ============================================================
   W1 WEB AUTH GATE
   ============================================================ */

.w1-auth-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 26, 46, 0.96);
}

.w1-auth-gate[hidden] {
    display: none !important;
}

.w1-auth-card {
    width: min(420px, 100%);
    box-sizing: border-box;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.w1-auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.w1-auth-logo {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #F5B301;
    font-size: 24px;
}

.w1-auth-brand strong,
.w1-auth-brand small {
    display: block;
}

.w1-auth-brand strong {
    font-size: 17px;
    letter-spacing: .3px;
}

.w1-auth-brand small {
    margin-top: 2px;
    opacity: .65;
}

.w1-auth-card h1 {
    margin: 0 0 8px;
    font-size: 25px;
}

.w1-auth-subtitle {
    margin: 0 0 22px;
    line-height: 1.5;
    opacity: .68;
}

.w1-auth-field {
    display: block;
    margin-bottom: 15px;
}

.w1-auth-field > span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.w1-auth-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 11px;
    background: #fff;
    font: inherit;
    outline: none;
}

.w1-auth-field input:focus {
    border-color: #F5B301;
    box-shadow: 0 0 0 3px rgba(245, 179, 1, .16);
}

.w1-auth-error {
    margin: 5px 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff0f0;
    color: #9b2020;
    font-size: 13px;
    line-height: 1.4;
}

body.w1-auth-locked {
    overflow: hidden;
}

/* ============================================================
   W2 WHATSAPP UI
   ============================================================ */

.w2-page-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}

.w2-page-head h2 {
    margin:0;
}

.w2-subtitle {
    margin:5px 0 0;
    opacity:.7;
}

.w2-refresh {
    border:0;
    border-radius:10px;
    padding:10px 16px;
    cursor:pointer;
}

.w2-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    align-items:start;
}

.w2-column {
    min-width:0;
    border-radius:16px;
    padding:16px;
    background:var(--card-bg,#fff);
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.w2-column-head {
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:14px;
}

.w2-column-head h3 {
    margin:0;
    font-size:17px;
}

.w2-column-head span {
    display:block;
    margin-top:4px;
    font-size:12px;
    opacity:.65;
}

.w2-list {
    display:flex;
    flex-direction:column;
    gap:10px;
    max-height:620px;
    overflow:auto;
}

.w2-card {
    border:1px solid rgba(0,0,0,.08);
    border-radius:12px;
    padding:12px;
    background:rgba(255,255,255,.65);
}

.w2-card-title {
    font-weight:700;
    margin-bottom:4px;
}

.w2-card-meta {
    font-size:12px;
    opacity:.65;
    margin-bottom:7px;
}

.w2-card-preview {
    font-size:13px;
    line-height:1.45;
    overflow-wrap:anywhere;
}

.w2-card-actions {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:10px;
}

.w2-card-actions button {
    border:0;
    border-radius:8px;
    padding:7px 10px;
    cursor:pointer;
}

.w2-empty {
    padding:28px 14px;
    text-align:center;
    opacity:.6;
    font-size:13px;
}

.w2-reminder-form {
    display:flex;
    gap:8px;
    margin-bottom:12px;
}

.w2-reminder-form input {
    flex:1;
    min-width:0;
    border:1px solid rgba(0,0,0,.12);
    border-radius:9px;
    padding:10px;
}

.w2-reminder-form button {
    border:0;
    border-radius:9px;
    padding:10px 13px;
    cursor:pointer;
}

@media (max-width:1100px) {
    .w2-grid {
        grid-template-columns:1fr 1fr;
    }

    .w2-column:last-child {
        grid-column:1 / -1;
    }
}

@media (max-width:700px) {
    .w2-page-head {
        align-items:flex-start;
        flex-direction:column;
    }

    .w2-grid {
        grid-template-columns:1fr;
    }

    .w2-column:last-child {
        grid-column:auto;
    }

    .w2-reminder-form {
        flex-direction:column;
    }
}
 /* ============================================================
    PESANAN - VERTICAL WINDOWS DETAIL STYLE
    Hanya mengatur layout halaman Pesanan
    ============================================================ */

 #orders-list {
     display: flex !important;
     flex-direction: column !important;
     gap: 18px !important;
     width: 100% !important;
 }

 #orders-list > * {
     width: 100% !important;
     max-width: 100% !important;
     min-width: 0 !important;
     box-sizing: border-box !important;
 }

 #orders-list .order-section {
     width: 100% !important;
     max-width: 100% !important;
     min-width: 0 !important;
     box-sizing: border-box !important;
 }

 #orders-list .order-detail-table-wrap {
     width: 100% !important;
     max-width: 100% !important;
     overflow-x: auto !important;
 }

 #orders-list .order-detail-table {
     width: 100% !important;
     min-width: 850px;
     border-collapse: collapse !important;
 }


 /* PESANAN - HILANGKAN CHECKBOX SELEKSI */
 #orders-list .order-detail-table th:has(input[type="checkbox"]),
 #orders-list .order-detail-table td:has(input[type="checkbox"]) {
     display: none !important;
 }


/* ============================================================
   BEE PRINT - MINIMALIST DASHBOARD UI
   Dashboard ONLY
   ============================================================ */

#page-home .dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

#page-home .dashboard-summary-card {
    min-height: 92px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
}

#page-home .dashboard-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 21px;
    font-weight: 700;
    background: #f1f5f9;
}

#page-home .dashboard-summary-card.income
.dashboard-summary-icon {
    background: #eaf8ef;
}

#page-home .dashboard-summary-card.proses
.dashboard-summary-icon {
    background: #fff4df;
}

#page-home .dashboard-summary-card.selesai
.dashboard-summary-icon {
    background: #eaf8ef;
}

#page-home .dashboard-summary-card.total
.dashboard-summary-icon {
    background: #edf3ff;
}

#page-home .dashboard-summary-card small,
#page-home .dashboard-status-item small {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

#page-home .dashboard-summary-card b {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    color: #0f172a;
}

#page-home .dashboard-summary-card em,
#page-home .dashboard-status-item em {
    display: block;
    font-size: 11px;
    font-style: normal;
    color: #94a3b8;
    margin-top: 3px;
}

#page-home .dashboard-status-panel {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

#page-home .dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
}

#page-home .dashboard-panel-head small {
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#page-home .dashboard-panel-head h2 {
    margin: 3px 0 0;
    font-size: 18px;
    color: #0f172a;
}

#page-home .dashboard-link-btn {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}

#page-home .dashboard-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

#page-home .dashboard-status-item {
    border: 1px solid #edf1f5;
    border-radius: 14px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
}

#page-home .dashboard-status-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
    background: #eef2f7;
}

#page-home .dashboard-status-item.proses {
    background: #fffaf0;
}

#page-home .dashboard-status-item.proses
.dashboard-status-icon {
    background: #fff0d2;
}

#page-home .dashboard-status-item.selesai {
    background: #f0fbf4;
}

#page-home .dashboard-status-item.selesai
.dashboard-status-icon {
    background: #dcf7e5;
}

#page-home .dashboard-status-item.batal {
    background: #fff5f5;
}

#page-home .dashboard-status-item.batal
.dashboard-status-icon {
    background: #ffe2e2;
}

#page-home .dashboard-status-item b {
    display: block;
    font-size: 21px;
    color: #0f172a;
}

#page-home .section-head {
    margin-top: 6px;
    margin-bottom: 12px;
}

#page-home .section-head h2 {
    font-size: 18px;
}

#page-home .dashboard-orders-table-wrap {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    overflow-x: auto;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

#page-home .dashboard-orders-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 13px;
}

#page-home .dashboard-orders-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid #e8edf3;
    white-space: nowrap;
}

#page-home .dashboard-orders-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f6;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
}

#page-home .dashboard-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

#page-home .dashboard-orders-table tbody tr:hover {
    background: #fafcff;
}

#page-home .dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

#page-home .dashboard-status-badge.status-selesai {
    background: #dcfce7;
    color: #15803d;
}

#page-home .dashboard-status-badge.status-proses {
    background: #fef3c7;
    color: #b45309;
}

#page-home .dashboard-status-badge.status-baru {
    background: #dbeafe;
    color: #2563eb;
}

#page-home .dashboard-status-badge.status-batal {
    background: #fee2e2;
    color: #dc2626;
}

#page-home .dashboard-order-actions {
    display: flex;
    gap: 6px;
}

#page-home .dashboard-action-btn {
    border: 1px solid #dce3eb;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 11px;
    cursor: pointer;
    color: #334155;
}

#page-home .dashboard-action-btn:hover {
    background: #f8fafc;
}

#page-home .dashboard-action-btn.danger {
    color: #475569;
}

@media (max-width: 1100px) {

    #page-home .dashboard-summary-grid,
    #page-home .dashboard-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 640px) {

    #page-home .dashboard-summary-grid,
    #page-home .dashboard-status-grid {
        grid-template-columns: 1fr;
    }

    #page-home .dashboard-status-panel {
        padding: 15px;
    }

    #page-home .dashboard-panel-head {
        align-items: flex-start;
    }

}

/* ============================================================
   BEE PRINT - FINAL DASHBOARD MINIMALIST
   ============================================================ */

#page-home .dashboard-summary-grid {
    width: 100%;
    box-sizing: border-box;
}

#page-home .dashboard-status-panel {
    width: 100%;
    box-sizing: border-box;
}

#page-home #list {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#page-home .dashboard-orders-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
}

#page-home .dashboard-orders-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
}

#page-home .dashboard-orders-table th,
#page-home .dashboard-orders-table td {
    white-space: nowrap;
}

#page-home .dashboard-orders-table th:nth-child(1),
#page-home .dashboard-orders-table td:nth-child(1) {
    width: 45px;
}

#page-home .dashboard-orders-table th:nth-child(2) {
    min-width: 130px;
}

#page-home .dashboard-orders-table th:nth-child(3) {
    min-width: 150px;
}

#page-home .dashboard-orders-table th:nth-child(4) {
    width: 80px;
}

#page-home .dashboard-orders-table th:nth-child(5) {
    width: 120px;
}

#page-home .dashboard-orders-table th:nth-child(6) {
    width: 110px;
}

#page-home .dashboard-orders-table th:nth-child(7) {
    width: 90px;
}

#page-home .dashboard-orders-table th:nth-child(8) {
    width: 150px;
}

#page-home .dashboard-order-actions {
    white-space: nowrap;
}


/* ============================================================
   BEE PRINT - DASHBOARD MOBILE FINAL
   KHUSUS HP - DESKTOP TIDAK DIUBAH
   ============================================================ */

@media (max-width: 767px) {

    /* --------------------------------------------------------
       DASHBOARD SUMMARY
       -------------------------------------------------------- */

    #page-home .dashboard-summary-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 12px !important;
    }

    #page-home .dashboard-summary-card {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    #page-home .dashboard-summary-card b {
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    #page-home .dashboard-summary-card small {
        font-size: 11px !important;
    }

    #page-home .dashboard-summary-card em {
        font-size: 10px !important;
    }

    #page-home .dashboard-summary-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }


    /* --------------------------------------------------------
       STATUS PESANAN
       -------------------------------------------------------- */

    #page-home .dashboard-status-panel {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-top: 14px !important;
        border-radius: 14px !important;
    }

    #page-home .dashboard-status-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    #page-home .dashboard-status-item {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }

    #page-home .dashboard-status-item b {
        font-size: 20px !important;
    }

    #page-home .dashboard-status-item small {
        font-size: 10px !important;
    }

    #page-home .dashboard-status-item em {
        font-size: 9px !important;
    }


    /* --------------------------------------------------------
       HEADER SECTION
       -------------------------------------------------------- */

    #page-home .section-head {
        gap: 8px !important;
        margin-top: 18px !important;
        margin-bottom: 10px !important;
    }

    #page-home .section-head h2 {
        font-size: 18px !important;
    }

    #page-home .dashboard-panel-head {
        gap: 8px !important;
    }

    #page-home .dashboard-panel-head h2 {
        font-size: 18px !important;
    }

    #page-home .dashboard-link-btn {
        font-size: 11px !important;
        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       PESANAN TERBARU - MOBILE
       -------------------------------------------------------- */

    #page-home #list {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    #page-home .dashboard-orders-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 12px !important;
    }

    #page-home .dashboard-orders-table {
        min-width: 760px !important;
        width: max-content !important;
        border-collapse: collapse !important;
    }

    #page-home .dashboard-orders-table th,
    #page-home .dashboard-orders-table td {
        padding: 10px 9px !important;
        font-size: 11px !important;
    }

    #page-home .dashboard-orders-table th {
        font-size: 10px !important;
    }

    #page-home .dashboard-orders-table td:first-child {
        text-align: center !important;
    }


    /* --------------------------------------------------------
       STATUS BADGE
       -------------------------------------------------------- */

    #page-home .dashboard-status-badge {
        font-size: 9px !important;
        padding: 4px 7px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       ACTION BUTTONS
       -------------------------------------------------------- */

    #page-home .dashboard-order-actions {
        display: flex !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }

    #page-home .dashboard-action-btn {
        min-height: 34px !important;
        padding: 7px 9px !important;
        font-size: 10px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       MOBILE CONTENT SPACING
       -------------------------------------------------------- */

    #page-home {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

}


/* ============================================================
   HP SANGAT KECIL
   ============================================================ */

@media (max-width: 399.98px) {

    #page-home .dashboard-summary-grid {
        gap: 8px !important;
    }

    #page-home .dashboard-summary-card {
        padding: 11px !important;
    }

    #page-home .dashboard-summary-card b {
        font-size: 19px !important;
    }

    #page-home .dashboard-summary-card small {
        font-size: 10px !important;
    }

    #page-home .dashboard-status-grid {
        gap: 6px !important;
    }

    #page-home .dashboard-status-item {
        padding: 10px !important;
    }

}

/* ============================================================


/* ============================================================
   BEE PRINT - BOTTOM NAV FINAL CLEAN
   MOBILE ONLY
   DESKTOP LOCKED
   ============================================================ */

/* ============================================================
   HP NORMAL
   WhatsApp | Beranda | Pesanan | NUKI | Katalog | Laporan | Pengaturan
   ============================================================ */

@media (min-width: 420px) and (max-width: 1023.98px) {

    .nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(76px + env(safe-area-inset-bottom, 0px)) !important;

        background: #ffffff !important;
        border-top: 1px solid #e5e5e5 !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,.07) !important;

        padding: 0 0 env(safe-area-inset-bottom, 0px) !important;

        z-index: 9999 !important;
        overflow: visible !important;
    }

    .nav-items {
        width: 100% !important;
        height: 76px !important;

        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;

        gap: 0 !important;
        margin: 0 !important;
        padding: 0 4px !important;

        box-sizing: border-box !important;
    }

    .nav-items > .nav-item {
        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        height: 76px !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 4px !important;

        margin: 0 !important;
        padding: 7px 1px 5px !important;

        box-sizing: border-box !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 12px !important;

        color: #555555 !important;

        font-size: 9px !important;
        font-weight: 500 !important;

        white-space: nowrap !important;
        overflow: visible !important;
    }

    /* Semua menu yang sebelumnya nav-desktop harus tampil */
    .nav-items > .nav-mobile-report,
    .nav-items > .nav-mobile-settings {
        display: flex !important;
    }

    /* Urutan */
    .nav-items > .nav-whatsapp {
        order: 1 !important;
    }

    .nav-items > .nav-home {
        order: 2 !important;
    }

    .nav-items > .nav-orders {
        order: 3 !important;
    }

    .nav-items > .nav-nuki {
        order: 4 !important;
    }

    .nav-items > .nav-products {
        order: 5 !important;
    }

    .nav-items > .nav-mobile-report {
        order: 6 !important;
    }

    .nav-items > .nav-mobile-settings {
        order: 7 !important;
    }

    /* Lainnya tidak tampil di HP normal */
    .nav-items > .nav-more {
        display: none !important;
    }

    /* Icon */
    .nav-items > .nav-item .icon:not(.icon-mic),
    .nav-items > .nav-item .nav-icon {
        width: 21px !important;
        height: 21px !important;

        min-width: 21px !important;
        min-height: 21px !important;

        margin: 0 !important;

        color: #111111 !important;
    }

    /* Label */
    .nav-items > .nav-item > span {
        display: block !important;

        max-width: 100% !important;

        color: #333333 !important;

        font-size: 9px !important;
        line-height: 11px !important;

        text-align: center !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Active */
    .nav-items > .nav-item.active {
        background: #f1f1f1 !important;
        color: #111111 !important;
        font-weight: 700 !important;
    }

    .nav-items > .nav-item.active > span {
        color: #111111 !important;
    }

    /* NUKI */
    .nav-items > .nav-nuki {
        position: relative !important;
        z-index: 10001 !important;

        justify-content: flex-start !important;

        padding: 0 !important;
        overflow: visible !important;

        background: transparent !important;
    }

    .nav-items > .nav-nuki .icon-mic {
        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;
        min-height: 52px !important;

        padding: 13px !important;
        margin-top: -9px !important;

        box-sizing: border-box !important;

        border-radius: 50% !important;

        background: #000000 !important;
        color: #ffffff !important;

        box-shadow:
            0 8px 20px rgba(0,0,0,.20),
            0 0 0 4px #ffffff !important;
    }

    .nav-items > .nav-nuki .lbl-desk {
        display: none !important;
    }

    /* Hilangkan efek hover */
    .nav-items > .nav-item:hover {
        background: transparent !important;
        color: #111111 !important;
        transform: none !important;
    }

    #app,
    main,
    .main,
    .content {
        padding-bottom: 92px !important;
    }
}


/* ============================================================
   HP KECIL
   WhatsApp | Beranda | Pesanan | NUKI | Katalog | Lainnya
   ============================================================ */

@media (max-width: 419.98px) {

    .nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        height: calc(74px + env(safe-area-inset-bottom, 0px)) !important;

        background: #ffffff !important;
        border-top: 1px solid #e5e5e5 !important;
        box-shadow: 0 -5px 18px rgba(0,0,0,.07) !important;

        padding: 0 0 env(safe-area-inset-bottom, 0px) !important;

        z-index: 9999 !important;
        overflow: visible !important;
    }

    .nav-items {
        width: 100% !important;
        height: 74px !important;

        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

        gap: 0 !important;

        margin: 0 !important;
        padding: 0 3px !important;

        box-sizing: border-box !important;
    }

    .nav-items > .nav-item,
    .nav-items > .nav-more {
        width: 100% !important;
        min-width: 0 !important;
        height: 74px !important;

        display: flex !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 4px !important;

        margin: 0 !important;
        padding: 6px 1px !important;

        box-sizing: border-box !important;

        background: transparent !important;
        color: #555555 !important;

        border: 0 !important;
        border-radius: 12px !important;

        font-size: 9px !important;
    }

    /* Urutan */
    .nav-items > .nav-whatsapp {
        order: 1 !important;
    }

    .nav-items > .nav-home {
        order: 2 !important;
    }

    .nav-items > .nav-orders {
        order: 3 !important;
    }

    .nav-items > .nav-nuki {
        order: 4 !important;
    }

    .nav-items > .nav-products {
        order: 5 !important;
    }

    /* Laporan + Pengaturan masuk Lainnya */
    .nav-items > .nav-mobile-report,
    .nav-items > .nav-mobile-settings {
        display: none !important;
    }

    .nav-items > .nav-more {
        display: flex !important;
        order: 6 !important;
    }

    .nav-items > .nav-more > summary {
        width: 100% !important;
        height: 100% !important;

        display: flex !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 4px !important;

        color: #555555 !important;
        background: transparent !important;

        border: 0 !important;
        border-radius: 12px !important;
    }

    /* Icon */
    .nav-items > .nav-item .icon:not(.icon-mic),
    .nav-items > .nav-item .nav-icon,
    .nav-items > .nav-more .icon {
        width: 21px !important;
        height: 21px !important;

        min-width: 21px !important;
        min-height: 21px !important;

        margin: 0 !important;

        color: #111111 !important;
    }

    /* Label */
    .nav-items > .nav-item > span,
    .nav-items > .nav-more summary > span {
        font-size: 9px !important;
        line-height: 11px !important;

        color: #333333 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Active */
    .nav-items > .nav-item.active {
        background: #f1f1f1 !important;
        color: #111111 !important;
        font-weight: 700 !important;
    }

    /* NUKI */
    .nav-items > .nav-nuki {
        position: relative !important;

        padding: 0 !important;

        justify-content: flex-start !important;

        overflow: visible !important;

        z-index: 10001 !important;
    }

    .nav-items > .nav-nuki .icon-mic {
        width: 50px !important;
        height: 50px !important;

        min-width: 50px !important;
        min-height: 50px !important;

        padding: 12px !important;

        margin-top: -8px !important;

        box-sizing: border-box !important;

        border-radius: 50% !important;

        background: #000000 !important;
        color: #ffffff !important;

        box-shadow:
            0 8px 18px rgba(0,0,0,.20),
            0 0 0 4px #ffffff !important;
    }

    .nav-items > .nav-nuki .lbl-desk {
        display: none !important;
    }

    /* Lainnya */
    .nav-more .more-sheet {
        position: fixed !important;

        left: 12px !important;
        right: 12px !important;

        bottom: calc(
            74px +
            env(safe-area-inset-bottom, 0px) +
            10px
        ) !important;

        width: auto !important;

        background: #ffffff !important;

        border: 1px solid #e5e5e5 !important;
        border-radius: 20px !important;

        box-shadow:
            0 18px 50px rgba(0,0,0,.18) !important;

        padding: 16px !important;

        z-index: 10002 !important;
    }

    .nav-more .more-item {
        min-height: 52px !important;

        background: #f5f5f5 !important;
        color: #111111 !important;

        border-radius: 14px !important;
    }

    .nav-items > .nav-item:hover,
    .nav-items > .nav-more:hover {
        background: transparent !important;
        color: #111111 !important;
        transform: none !important;
    }

    #app,
    main,
    .main,
    .content {
        padding-bottom: 90px !important;
    }
}


/* ============================================================
   BEE PRINT - WHATSAPP ICON FINAL
   VISUAL ONLY
   ============================================================ */

@media (max-width: 1023.98px) {

    .nav-items > .nav-whatsapp .nav-wa-icon {
        display: block !important;

        width: 22px !important;
        height: 22px !important;

        min-width: 22px !important;
        min-height: 22px !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #111111 !important;

        fill: none !important;

        overflow: visible !important;
    }

    .nav-items > .nav-whatsapp .nav-wa-icon path:first-child {
        fill: none !important;
        stroke: #111111 !important;
        stroke-width: 1.8 !important;
    }

    .nav-items > .nav-whatsapp .nav-wa-icon path:last-child {
        fill: #111111 !important;
        stroke: none !important;
    }

    .nav-items > .nav-whatsapp > span:not(.nav-icon),
    .nav-items > .nav-whatsapp > .nav-icon + span {
        color: #333333 !important;
    }
}


/* ============================================================
   BEE PRINT - WA ICON DESKTOP SAFE
   MOBILE: SVG WHATSAPP
   DESKTOP: KEMBALI KE TAMPILAN DESKTOP
   VISUAL ONLY
   ============================================================ */

@media (min-width: 1024px) {

    .nav-items > .nav-whatsapp .nav-wa-icon {
        display: none !important;
    }

    .nav-items > .nav-whatsapp::before {
        content: "WA" !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 22px !important;
        height: 22px !important;

        font-size: 8px !important;
        font-weight: 800 !important;
        letter-spacing: -0.3px !important;

        color: #ffffff !important;
        background: #1B1B1F !important;

        border-radius: 50% !important;
        margin-bottom: 4px !important;
    }

}

@media (max-width: 1023.98px) {

    .nav-items > .nav-whatsapp .nav-wa-icon {
        display: block !important;
    }

}


/* ============================================================
   BEE PRINT - WA ICON DESKTOP SAFE FINAL
   MOBILE = SVG WA
   DESKTOP = ORIGINAL STYLE
   VISUAL ONLY
   ============================================================ */

@media (min-width: 1024px) {

    .nav-items > .nav-whatsapp .nav-wa-icon {
        display: none !important;
    }

    .nav-items > .nav-whatsapp::before {
        content: "WA" !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 22px !important;
        height: 22px !important;

        margin-bottom: 4px !important;

        font-size: 8px !important;
        font-weight: 800 !important;
        line-height: 1 !important;

        color: #ffffff !important;
        background: #1B1B1F !important;

        border-radius: 50% !important;
    }

}

@media (max-width: 1023.98px) {

    .nav-items > .nav-whatsapp .nav-wa-icon {
        display: block !important;
    }

}


/* W2 MINIMAL FINAL 20261007 */

.w2-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.w2-head-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Nama customer sedikit lebih besar */
#w2-orders-list .w2-card-meta {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #222;
}

/* Checkbox + label super minimal */
#w2-orders-list .w2-order-check {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 7px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    color: #777 !important;
}

/* Checkbox kecil */
#w2-orders-list .w2-order-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1.4px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;

    display: inline-grid;
    place-content: center;

    cursor: pointer;
    box-sizing: border-box;
}

/* Tanda centang */
#w2-orders-list .w2-order-check input[type="checkbox"]::after {
    content: "";
    width: 6px;
    height: 3px;

    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;

    transform: rotate(-45deg) scale(0);
    transition: transform .1s ease;
}

/* Saat selesai */
#w2-orders-list .w2-order-check input[type="checkbox"]:checked {
    background: #222;
    border-color: #222;
}

#w2-orders-list .w2-order-check input[type="checkbox"]:checked::after {
    transform: rotate(-45deg) scale(1);
}

#w2-orders-list .w2-order-check span {
    font-size: 11.5px;
    font-weight: 400;
    color: #777;
}
/* W2 VISUAL FIX - 20261007 */

.w2-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.w2-head-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Customer name */
#w2-orders-list .w2-card-meta {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35;
}

/* Checkbox sebenarnya class-nya langsung pada INPUT */
#w2-orders-list input.w2-order-check {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1.3px solid #b8b8b8 !important;
    border-radius: 3px !important;

    background: #fff !important;

    display: inline-grid !important;
    place-content: center !important;

    cursor: pointer;
    box-sizing: border-box !important;
}

#w2-orders-list input.w2-order-check::after {
    content: "" !important;
    width: 6px !important;
    height: 3px !important;

    border-left: 1.5px solid #fff !important;
    border-bottom: 1.5px solid #fff !important;

    transform: rotate(-45deg) scale(0);
    transition: transform .1s ease;
}

#w2-orders-list input.w2-order-check:checked {
    background: #222 !important;
    border-color: #222 !important;
}

#w2-orders-list input.w2-order-check:checked::after {
    transform: rotate(-45deg) scale(1);
}

/* Label tetap kecil */
#w2-orders-list label.w2-order-check {
    font-size: 11px !important;
    color: #777 !important;
}
/* ============================================================
   W2 CLEAN HEADER ICONS
   VISUAL ONLY
   ============================================================ */

.w2-clean-title {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.w2-clean-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    flex: 0 0 16px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* W2 CLEAN HEADER ICONS FINAL */

.w2-clean-title {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.w2-clean-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    flex: 0 0 16px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
/* W2 THREE TITLES - SAFE MINIMAL ICONS */

.w2-clean-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.w2-clean-icon {
    width: 15px;
    height: 15px;
    min-width: 15px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    color: currentColor;
}

/* CHAT */
.w2-icon-chat {
    border: 1.5px solid currentColor;
    border-radius: 4px;
}

.w2-icon-chat::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -3px;
    width: 5px;
    height: 5px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    background: #fff;
    transform: skewY(-25deg);
}

/* BAG */
.w2-icon-bag {
    border: 1.5px solid currentColor;
    border-radius: 3px;
    top: 2px;
    height: 12px;
}

.w2-icon-bag::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 4px;
    left: 3px;
    top: -5px;
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

/* BELL */
.w2-icon-bell {
    width: 13px;
    height: 13px;
    margin-left: 1px;
    margin-right: 1px;
    border: 1.5px solid currentColor;
    border-radius: 8px 8px 4px 4px;
    border-bottom-color: transparent;
    top: 1px;
}

.w2-icon-bell::before {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-bottom: 1.5px solid currentColor;
}

.w2-icon-bell::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    left: 4px;
    bottom: -5px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: #fff;
}
/* W2 FINAL MINIMAL ICONS */
.w2-clean-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w2-clean-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: currentColor;
}

/* CHAT */
.w2-icon-chat {
    border: 1.7px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
}

.w2-icon-chat::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -3px;
    width: 6px;
    height: 6px;
    border-left: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: skewY(-25deg);
    background: transparent;
}

/* BAG */
.w2-icon-bag {
    border: 1.7px solid currentColor;
    border-radius: 3px;
    box-sizing: border-box;
    top: 2px;
    height: 14px;
}

.w2-icon-bag::before {
    content: "";
    position: absolute;
    left: 4px;
    top: -5px;
    width: 7px;
    height: 6px;
    border: 1.7px solid currentColor;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    box-sizing: border-box;
}

/* BELL */
.w2-icon-bell {
    width: 16px;
    height: 16px;
    margin-left: 1px;
    border: 1.7px solid currentColor;
    border-bottom: 0;
    border-radius: 9px 9px 3px 3px;
    box-sizing: border-box;
    top: 1px;
}

.w2-icon-bell::before {
    content: "";
    position: absolute;
    left: -3px;
    bottom: -2px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.w2-icon-bell::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: -6px;
    width: 5px;
    height: 5px;
    border: 1.5px solid currentColor;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
}

/* DASHBOARD ICONS — CLEAN / NO UNICODE */

.dashboard-summary-icon.dash-icon,
.dashboard-status-icon.dash-status-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    box-sizing: border-box;
}

/* PEMASUKAN */
.dash-income-icon {
    width: 18px;
    height: 18px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.dash-income-icon::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 2px;
    background: currentColor;
    right: -1px;
    top: 4px;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.dash-income-icon::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    right: -1px;
    top: 1px;
}

/* PROSES */
.dash-process-icon,
.dash-process-status-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
}

/* SELESAI */
.dash-done-icon,
.dash-done-status-icon {
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) scale(.65);
}

/* TOTAL */
.dash-total-icon {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.dash-total-icon::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid currentColor;
    border-radius: 1px;
}

/* BARU */
.dash-new-icon {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

/* BATAL */
.dash-cancel-icon {
    width: 18px;
    height: 18px;
}

.dash-cancel-icon::before,
.dash-cancel-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 18px;
    background: currentColor;
    left: 8px;
    top: 0;
}

.dash-cancel-icon::before {
    transform: rotate(45deg);
}

.dash-cancel-icon::after {
    transform: rotate(-45deg);
}
/* =========================================================
   DASHBOARD ICONS — FINAL CLEAN OVERRIDE
   Visual only. Tidak menyentuh modul lain.
   ========================================================= */

.dashboard-summary-icon.dash-icon,
.dashboard-status-icon.dash-status-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    box-sizing: border-box;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    overflow: visible;
}

/* ---------- PEMASUKAN : garis trend naik ---------- */

.dashboard-summary-icon.dash-income-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 3px;
    width: 12px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: skewY(-32deg);
}

.dashboard-summary-icon.dash-income-icon::after {
    content: "";
    position: absolute;
    right: 1px;
    top: 2px;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

/* ---------- PROSES : spinner ---------- */

.dashboard-summary-icon.dash-process-icon,
.dashboard-status-icon.dash-process-status-icon {
    border: 2px solid currentColor !important;
    border-right-color: transparent !important;
    border-radius: 50% !important;
}

/* ---------- SELESAI : check ---------- */

.dashboard-summary-icon.dash-done-icon,
.dashboard-status-icon.dash-done-status-icon {
    width: 18px !important;
    height: 18px !important;
}

.dashboard-summary-icon.dash-done-icon::after,
.dashboard-status-icon.dash-done-status-icon::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 7px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(42deg);
}

/* ---------- TOTAL : dua lembar ---------- */

.dashboard-summary-icon.dash-total-icon::before,
.dashboard-summary-icon.dash-total-icon::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    background: transparent;
}

.dashboard-summary-icon.dash-total-icon::before {
    left: 1px;
    top: 3px;
}

.dashboard-summary-icon.dash-total-icon::after {
    left: 4px;
    top: 1px;
}

/* ---------- BARU : dokumen ---------- */

.dashboard-status-icon.dash-new-icon {
    border: 1.5px solid currentColor !important;
    border-radius: 3px !important;
}

.dashboard-status-icon.dash-new-icon::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 4px;
    height: 4px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
}

/* ---------- BATAL : X ---------- */

.dashboard-status-icon.dash-cancel-icon::before,
.dashboard-status-icon.dash-cancel-icon::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 2px;
    height: 15px;
    background: currentColor;
    border-radius: 2px;
}

.dashboard-status-icon.dash-cancel-icon::before {
    transform: rotate(45deg);
}

.dashboard-status-icon.dash-cancel-icon::after {
    transform: rotate(-45deg);
}

/* Pastikan ikon tidak mendapat bentuk dari style lama */
.dashboard-summary-icon.dash-icon::before,
.dashboard-summary-icon.dash-icon::after,
.dashboard-status-icon.dash-status-icon::before,
.dashboard-status-icon.dash-status-icon::after {
    box-sizing: border-box;
}

/* =========================================================
   BEE PRINT DASHBOARD ICONS V2
   Modern / Soft / Clean
   Dashboard only
   ========================================================= */

.dashboard-summary-icon.dash-icon,
.dashboard-status-icon.dash-status-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;

    flex: 0 0 32px !important;
    box-sizing: border-box !important;

    border: 0 !important;
    border-radius: 10px !important;

    transform: none !important;
    background: #f1f5f9 !important;

    color: #172033 !important;
}

/* =========================================================
   PEMASUKAN
   ========================================================= */

.dashboard-summary-icon.dash-income-icon {
    background: #edf8f2 !important;
    color: #16845a !important;
}

.dashboard-summary-icon.dash-income-icon::before {
    content: "";
    position: absolute;

    width: 14px;
    height: 9px;

    left: 7px;
    top: 11px;

    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: skewY(-28deg);
}

.dashboard-summary-icon.dash-income-icon::after {
    content: "";
    position: absolute;

    width: 7px;
    height: 7px;

    right: 6px;
    top: 7px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: rotate(0deg);
}

/* =========================================================
   PROSES
   ========================================================= */

.dashboard-summary-icon.dash-process-icon,
.dashboard-status-icon.dash-process-status-icon {
    background: #fff7e8 !important;
    color: #c57b16 !important;
}

.dashboard-summary-icon.dash-process-icon::before,
.dashboard-status-icon.dash-process-status-icon::before {
    content: "";

    width: 15px;
    height: 15px;

    border: 2px solid currentColor;
    border-right-color: transparent;

    border-radius: 50%;

    box-sizing: border-box;
}

.dashboard-summary-icon.dash-process-icon::after,
.dashboard-status-icon.dash-process-status-icon::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: currentColor;
}

/* =========================================================
   SELESAI
   ========================================================= */

.dashboard-summary-icon.dash-done-icon,
.dashboard-status-icon.dash-done-status-icon {
    background: #edf9f2 !important;
    color: #15915e !important;
}

.dashboard-summary-icon.dash-done-icon::before,
.dashboard-status-icon.dash-done-status-icon::before {
    content: "";

    width: 15px;
    height: 8px;

    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(-45deg) translateY(-1px);

    box-sizing: border-box;
}

.dashboard-summary-icon.dash-done-icon::after,
.dashboard-status-icon.dash-done-status-icon::after {
    display: none !important;
}

/* =========================================================
   TOTAL PESANAN
   ========================================================= */

.dashboard-summary-icon.dash-total-icon {
    background: #eef4ff !important;
    color: #3867d6 !important;
}

.dashboard-summary-icon.dash-total-icon::before {
    content: "";

    position: absolute;

    width: 13px;
    height: 15px;

    left: 8px;
    top: 8px;

    border: 1.8px solid currentColor;
    border-radius: 3px;

    background: transparent;
}

.dashboard-summary-icon.dash-total-icon::after {
    content: "";

    position: absolute;

    width: 13px;
    height: 15px;

    left: 11px;
    top: 11px;

    border: 1.8px solid currentColor;
    border-radius: 3px;

    background: transparent;
}

/* =========================================================
   STATUS BARU
   ========================================================= */

.dashboard-status-icon.dash-new-icon {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.dashboard-status-icon.dash-new-icon::before {
    content: "";

    width: 13px;
    height: 16px;

    border: 1.8px solid currentColor;
    border-radius: 3px;

    box-sizing: border-box;
}

.dashboard-status-icon.dash-new-icon::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 2px;

    top: 10px;
    left: 14px;

    background: currentColor;

    box-shadow:
        0 4px 0 currentColor;
}

/* =========================================================
   STATUS BATAL
   ========================================================= */

.dashboard-status-icon.dash-cancel-icon {
    background: #fff0f0 !important;
    color: #d64545 !important;
}

.dashboard-status-icon.dash-cancel-icon::before,
.dashboard-status-icon.dash-cancel-icon::after {
    content: "";

    position: absolute;

    width: 2px;
    height: 16px;

    left: 15px;
    top: 8px;

    background: currentColor;

    border-radius: 2px;
}

.dashboard-status-icon.dash-cancel-icon::before {
    transform: rotate(45deg);
}

.dashboard-status-icon.dash-cancel-icon::after {
    transform: rotate(-45deg);
}

/* =========================================================
   AGAR IKON TIDAK TERPOTONG OLEH STYLE LAMA
   ========================================================= */

.dashboard-summary-icon.dash-icon,
.dashboard-status-icon.dash-status-icon {
    overflow: visible !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* W2 VISUAL SAFE PATCH */

/* Status dot setelah nomor */
.w2-state-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    min-height: 7px;
    margin: 0 5px 1px 5px;
    border-radius: 50%;
    vertical-align: middle;
}

.w2-dot-red {
    background: #dc2626;
}

.w2-dot-yellow {
    background: #eab308;
}

/* Tombol Refresh */
.w2-refresh {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.w2-refresh-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
