/* _content/MMS.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout styling: Pure Flexbox Full-Height Layout Architecture */
.v2-app-shell[b-novngvq2ap] {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-canvas, #f4f7fa);
}

.v2-layout-body[b-novngvq2ap] {
    flex: 1 1 0%;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: var(--color-canvas, #f4f7fa);
}

.v2-main-container[b-novngvq2ap] {
    flex: 1 1 0%;
    min-height: 0;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-canvas, #f4f7fa);
    margin: 0 !important;
}

.v2-main-content[b-novngvq2ap] {
    flex: 1 1 0%;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--color-canvas, #f4f7fa);
    box-sizing: border-box;
    padding: 24px 32px 36px 32px;
}

@media (max-width: 1024px) {
    .v2-main-content[b-novngvq2ap] {
        padding: 16px 16px 24px 16px;
    }
}

/* ==========================================================================
   GARIS SIDEBAR (disamakan dengan project mms)
   Sidebar menempati tinggi penuh layar di desktop, garis kanannya naik sampai atas.
   ========================================================================== */
.v2-sidebar[b-novngvq2ap] {
    border-right: 1px solid #e5e7eb;
}

/* ==========================================================================
   BARIS BRAND: logo Panasonic + tombol panel (desktop)
   ========================================================================== */
.v2-sidebar-brand-row[b-novngvq2ap] {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: var(--topbar-height, 54px);
    padding: 0 10px 0 18px;
    box-sizing: border-box;
}

.v2-sidebar-brand-link[b-novngvq2ap] {
    display: flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
    user-select: none;
}

.v2-brand-full[b-novngvq2ap] {
    white-space: nowrap;
}

.v2-env-tag[b-novngvq2ap] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #b45309;
    margin-left: 6px;
    vertical-align: middle;
}

/* Ikon MMS: tersembunyi saat sidebar terbuka */
.v2-brand-mms-icon[b-novngvq2ap] {
    display: none;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Panel toggle button beside brand mark */
.v2-sidebar-panel-btn[b-novngvq2ap] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.v2-sidebar-panel-btn:hover[b-novngvq2ap] {
    background-color: #f1f5f9;
}

.v2-panel-icon[b-novngvq2ap] {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.v2-sidebar-panel-btn:hover .v2-panel-icon[b-novngvq2ap] {
    opacity: 1;
}

/* panel-left (default) -> panel-left-close (on hover when sidebar is open) */
.v2-panel-icon-hover[b-novngvq2ap] {
    display: none;
}

.v2-sidebar:not(.v2-sidebar-collapsed) .v2-sidebar-panel-btn:hover .v2-panel-icon-default[b-novngvq2ap] {
    display: none;
}

.v2-sidebar:not(.v2-sidebar-collapsed) .v2-sidebar-panel-btn:hover .v2-panel-icon-hover[b-novngvq2ap] {
    display: block;
}

/* ==========================================================================
   SIDEBAR DITUTUP: hanya logo MMS. Hover -> ikon "buka panel"
   (panel-left-close diputar 180deg). Klik di mana saja pada baris = buka sidebar.
   ========================================================================== */
.v2-sidebar-collapsed .v2-sidebar-brand-row[b-novngvq2ap] {
    justify-content: center;
    padding: 0;
}

.v2-sidebar-collapsed .v2-brand-full[b-novngvq2ap] {
    display: none;
}

.v2-sidebar-collapsed .v2-brand-mms-icon[b-novngvq2ap] {
    display: block;
}

.v2-sidebar-collapsed .v2-sidebar-panel-btn[b-novngvq2ap] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: transparent;
}

.v2-sidebar-collapsed .v2-sidebar-panel-btn:hover[b-novngvq2ap] {
    background: transparent;
}

.v2-sidebar-collapsed .v2-sidebar-panel-btn .v2-panel-icon[b-novngvq2ap] {
    display: none;
}

.v2-sidebar-collapsed .v2-sidebar-brand-row:hover .v2-brand-mms-icon[b-novngvq2ap] {
    visibility: hidden;
}

.v2-sidebar-collapsed .v2-sidebar-brand-row:hover .v2-sidebar-panel-btn .v2-panel-icon-hover[b-novngvq2ap] {
    display: block;
    opacity: 1;
    transform: rotate(180deg);
}

/* ==========================================================================
   BAR ATAS TABLET / MOBILE: hamburger (2 garis, tanpa kotak) - logo - akun bulat
   - Di posisi paling atas: transparan, tanpa garis
   - Setelah konten di-scroll (class .scrolled dari JS): warna solid sama dengan
     kanvas halaman (bukan putih, tidak tembus pandang) + garis tipis di bawahnya.
     Tanpa blur.
   Tampil/sembunyi diatur oleh .v2-mobile-tablet-only (layout.css); display grid
   hanya diset di dalam media query supaya tidak muncul di desktop.
   ========================================================================== */
.v2-mobile-bar[b-novngvq2ap] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--topbar-height, 54px);
    padding: 0 14px;
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: content-box;
    background-color: rgba(244, 247, 250, 0);
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.v2-mobile-bar.scrolled[b-novngvq2ap] {
    background-color: var(--color-canvas, #f4f7fa);
    border-bottom-color: #e5e7eb;
}

.v2-mobile-burger[b-novngvq2ap] {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: -8px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #111827;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.v2-mobile-burger:active[b-novngvq2ap] {
    opacity: 0.6;
}

.v2-mobile-bar-brand[b-novngvq2ap] {
    justify-self: center;
    display: flex;
    align-items: center;
    text-decoration: none;
    user-select: none;
}

.v2-mobile-account[b-novngvq2ap] {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

@media (max-width: 1024px) {
    .v2-mobile-bar[b-novngvq2ap] {
        display: grid !important;
    }

    /* Bar melayang di atas konten, jadi konten diberi ruang setinggi bar */
    .v2-main-content[b-novngvq2ap] {
        padding-top: calc(var(--topbar-height, 54px) + env(safe-area-inset-top, 0px) + 8px) !important;
    }

    /* Mobile drawer: hide redundant brand text row */
    .v2-sidebar-brand-row[b-novngvq2ap],
    .v2-sidebar-collapsed .v2-sidebar-brand-row[b-novngvq2ap] {
        display: none !important;
    }

    /* Pastikan drawer mobile selalu berukuran penuh dan label teks menu tampil normal bahkan saat desktop collapsed aktif */
    .v2-sidebar[b-novngvq2ap],
    .v2-sidebar.collapsed[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed[b-novngvq2ap] {
        width: 290px !important;
    }

    .v2-sidebar.collapsed .nav-item[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .nav-item[b-novngvq2ap] {
        justify-content: flex-start !important;
        width: 100% !important;
        height: auto !important;
        padding: 9px 10px !important;
        margin: 0 !important;
    }

    .v2-sidebar.collapsed .nav-item span[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .nav-item span[b-novngvq2ap] {
        display: inline !important;
    }

    .v2-sidebar.collapsed .menu-section-title[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .menu-section-title[b-novngvq2ap] {
        height: auto !important;
        font-size: 0.55rem !important;
        line-height: normal !important;
        padding: 0 10px !important;
        margin-top: 14px !important;
        background-color: transparent !important;
    }

    .v2-sidebar.collapsed .chevron-icon[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .chevron-icon[b-novngvq2ap] {
        display: block !important;
    }

    .v2-sidebar.collapsed .nav-submenu[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .nav-submenu[b-novngvq2ap] {
        display: flex !important;
    }

    .v2-sidebar.collapsed .nav-item-left[b-novngvq2ap],
    .v2-sidebar.v2-sidebar-collapsed .nav-item-left[b-novngvq2ap] {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
}
/* _content/MMS.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* Container Utama NavMenu */
.nav-menu-container[b-liz718fpp9] {
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Judul Kategori MENU */
.menu-section-title[b-liz718fpp9] {
    font-size: 0.55rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.08em;
    padding: 0 10px;
    text-transform: uppercase;
}

/* Jarak ekstra antar kelompok menu (MENU -> PENGATURAN) */
.menu-section-spaced[b-liz718fpp9] {
    margin-top: 14px;
}

/* Daftar Item Navigasi (Gap Dihilangkan) */
.nav-list[b-liz718fpp9] {
    display: flex;
    flex-direction: column;
    gap: 0; /* Zero gap between nav buttons */
}

/* Base NavLink item style (Default / Inactive) */
[b-liz718fpp9] .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    background-color: transparent;
    color: #6b7280; /* Teks warna abu-abu */
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

    /* Inactive item icon style (Muted gray) */
    [b-liz718fpp9] .nav-item .nav-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        opacity: 0.5;
        filter: grayscale(100%);
        transition: all 0.2s ease;
    }

    /* State HOVER, ACTIVE, dan EXPANDED (Teks Jadi Hitam) */
    [b-liz718fpp9] .nav-item:hover,
    [b-liz718fpp9] .nav-item.active,
    [b-liz718fpp9] .nav-item.expanded {
        background-color: transparent;
        color: #000000;
        font-weight: 600;
    }

        /* Icon Menjadi Hitam saat Hover, Active, dan Expanded */
        [b-liz718fpp9] .nav-item:hover .nav-icon,
        [b-liz718fpp9] .nav-item.active .nav-icon,
        [b-liz718fpp9] .nav-item.expanded .nav-icon {
            opacity: 1;
            filter: brightness(0);
        }

/* --- DROPDOWN & SUBMENU STYLES --- */

/* Wrapper dropdown */
.nav-dropdown-group[b-liz718fpp9] {
    display: flex;
    flex-direction: column;
}

/* Mengubah layout item khusus toggle dropdown */
[b-liz718fpp9] .nav-dropdown-toggle {
    cursor: pointer;
    justify-content: space-between; /* Memisahkan konten teks di kiri dan chevron di kanan */
}

/* Left icon and label grouping */
.nav-item-left[b-liz718fpp9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Chevron toggle icon style */
.chevron-icon[b-liz718fpp9] {
    transition: transform 0.3s ease, opacity 0.2s ease;
    opacity: 0.5; /* Menyesuaikan state non-aktif */
}

/* Chevron active and hover states */
[b-liz718fpp9] .nav-dropdown-toggle:hover .chevron-icon,
.nav-dropdown-toggle.expanded .chevron-icon[b-liz718fpp9] {
    opacity: 1;
    color: #000000;
}

/* Animasi putar chevron saat menu terbuka */
.nav-dropdown-toggle.expanded .chevron-icon[b-liz718fpp9] {
    transform: rotate(180deg);
}

/* Submenu container */
/* Submenu container */
.nav-submenu[b-liz718fpp9] {
    display: flex;
    flex-direction: column;
    margin-left: 19px;                /* garis sejajar tengah ikon menu induk */
    margin-top: 2px;
    gap: 0;
    border-left: 1px solid #e5e7eb;   /* Continuous vertical guideline for submenu items */
}

/* Ukuran item di dalam submenu */
[b-liz718fpp9] .submenu-item {
    position: relative;           /* Left active border indicator */
    padding: 5px 10px 5px 18px;   /* ruang kiri antara garis dan teks; padding atas-bawah kecil = jarak antar item submenu rapat */
    font-size: 0.8rem;
    border-radius: 0 6px 6px 0;
}

    /* Segmen garis di sisi kiri item: menimpa garis abu-abu menerus milik .nav-submenu */
    [b-liz718fpp9] .submenu-item::before {
        content: "";
        position: absolute;
        left: -1px;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: transparent;
        transition: background-color 0.2s ease;
    }

    /* Active indicator highlight on hover or route match */
    [b-liz718fpp9] .submenu-item:hover::before,
    [b-liz718fpp9] .submenu-item.active::before {
        background-color: #000000;
    }


/* --- STYLING COLLAPSED SIDEBAR (DESKTOP SAJA >= 1025px) --- */
@media (min-width: 1025px) {
    :host-context(.collapsed) .nav-menu-container[b-liz718fpp9],
    :host-context(.v2-sidebar-collapsed) .nav-menu-container[b-liz718fpp9] {
        padding: 12px 6px;
        gap: 4px;
    }

    :host-context(.collapsed) .menu-section-title[b-liz718fpp9],
    :host-context(.v2-sidebar-collapsed) .menu-section-title[b-liz718fpp9] {
        height: 1px;
        margin: 8px 4px;
        padding: 0;
        background-color: #e5e7eb;
        font-size: 0;
        overflow: hidden;
        line-height: 0;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .nav-item,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .nav-item {
        justify-content: center;
        padding: 0;
        width: 44px;
        height: 44px;
        margin: 2px auto;
        border-radius: 8px;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .nav-item:hover,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .nav-item:hover {
        background-color: #f1f5f9;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .nav-item span,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .nav-item span {
        display: none !important;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .nav-item-left,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .nav-item-left {
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .nav-icon,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .nav-icon {
        width: 20px;
        height: 20px;
        margin: 0;
    }

    :host-context(.collapsed)[b-liz718fpp9]  .chevron-icon,
    :host-context(.v2-sidebar-collapsed)[b-liz718fpp9]  .chevron-icon {
        display: none !important;
    }

    :host-context(.collapsed) .nav-submenu[b-liz718fpp9],
    :host-context(.v2-sidebar-collapsed) .nav-submenu[b-liz718fpp9] {
        display: none !important;
    }
}
/* _content/MMS.Web/Components/Pages/Dashboard.razor.rz.scp.css */
/* ==========================================================================
   SAMAKAN DENGAN MMS: netralkan CSS global mms-merged yang bocor ke Dashboard
   (UI saja, tanpa menyentuh logic)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('Fonts/Inter-VariableFont.ttf') format('truetype-variations');
    font-weight: 100 900;
}

.dashboard-container[b-dpk5e6e74n] {
    padding: 0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: normal;
    color: #111;
    text-rendering: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

button[b-dpk5e6e74n],
input[b-dpk5e6e74n] {
    font: revert;
    color: revert;
}

.dashboard-header[b-dpk5e6e74n] { margin-bottom: 0; flex-wrap: nowrap; }
.breadcrumb-text[b-dpk5e6e74n] { text-transform: none; }
.page-title[b-dpk5e6e74n] { letter-spacing: normal; }
.header-actions[b-dpk5e6e74n] { flex-wrap: nowrap; }

.btn[b-dpk5e6e74n] { min-height: 0; justify-content: flex-start; white-space: normal; user-select: auto; }

.summary-cards-grid[b-dpk5e6e74n] { margin-bottom: 0; }
.summary-card[b-dpk5e6e74n] { position: static; border-radius: 0; box-shadow: none; }
.card-header-row[b-dpk5e6e74n] { margin-bottom: 0; justify-content: flex-start; }
.card-icon-box[b-dpk5e6e74n] { border-radius: 0; color: inherit; }
.card-title[b-dpk5e6e74n] { letter-spacing: normal; }
.card-value-row[b-dpk5e6e74n] { margin-bottom: 0; justify-content: flex-start; }
.card-value[b-dpk5e6e74n] { font-family: inherit; font-variant-numeric: normal; letter-spacing: normal; }
.card-subtitle[b-dpk5e6e74n] { line-height: normal; }
.card-footer-row[b-dpk5e6e74n] { display: block; align-items: normal; justify-content: flex-start; font-size: inherit; }
.trend-badge[b-dpk5e6e74n] { gap: 0; white-space: normal; letter-spacing: normal; }
.trend-up[b-dpk5e6e74n], .trend-down[b-dpk5e6e74n] { border: none; }

.modal-overlay[b-dpk5e6e74n] { padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; will-change: auto; transform: none; }
.modal-box[b-dpk5e6e74n] { width: auto; max-width: none; max-height: none; box-shadow: none; will-change: auto; transform: none; animation: none; }
.modal-header-row[b-dpk5e6e74n] { padding: 0; border-bottom: none; background: transparent; }

.production-table[b-dpk5e6e74n] { font-size: inherit; }
.production-table thead[b-dpk5e6e74n] { position: static; background-color: transparent; }
.production-table thead th[b-dpk5e6e74n] { letter-spacing: normal; text-transform: none; font-variant-numeric: normal; font-feature-settings: normal; }
.production-table tbody td[b-dpk5e6e74n] { transition: none; font-variant-numeric: normal; font-feature-settings: normal; }
.production-table tbody tr:nth-child(even) td[b-dpk5e6e74n] { background-color: #ffffff; }
.production-table tbody tr:hover td[b-dpk5e6e74n] { background-color: #f9fafb !important; }
.production-table tbody tr.modal-detail-row:hover td[b-dpk5e6e74n] { background-color: #ffffff !important; }

.search-input[b-dpk5e6e74n] { min-height: 0; }
.search-input:focus[b-dpk5e6e74n] { border-color: #0040be !important; box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1) !important; }

/* Container Utama Dashboard */
.dashboard-container[b-dpk5e6e74n] {
    width: 100%;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.dashboard-header[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-dpk5e6e74n] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-dpk5e6e74n] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.header-actions[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header button base style */
.btn[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-icon[b-dpk5e6e74n] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-revision[b-dpk5e6e74n] {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

    .btn-revision:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-export[b-dpk5e6e74n] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover[b-dpk5e6e74n] {
        background-color: #003399;
    }

.btn-icon-white[b-dpk5e6e74n] {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   DIVIDER LINE
   ========================================================================== */

.dashboard-divider[b-dpk5e6e74n] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* ==========================================================================
   SUMMARY CARDS GRID & ITEM (CLICKABLE CARD)
   ========================================================================== */

.summary-cards-grid[b-dpk5e6e74n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Card sebagai Link Clickable */
.summary-card[b-dpk5e6e74n] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-decoration: none; /* Hilangkan garis bawah link */
    color: inherit; /* Inherit text color */
    cursor: pointer;
    transition: all 0.2s ease;
}

    /* Card hover state */
    .summary-card:hover[b-dpk5e6e74n] {
        border-color: #9ca3af;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
        transform: translateY(-2px);
    }

/* Row 1: Header (Icon Box + Title) */
.card-header-row[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
}

.card-title-group[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-dpk5e6e74n] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-dpk5e6e74n] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-dpk5e6e74n] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

/* Row 2: Value & Badge */
.card-value-row[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.card-value[b-dpk5e6e74n] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1;
}

.trend-badge[b-dpk5e6e74n] {
    font-size: 0.725rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.trend-up[b-dpk5e6e74n] {
    background-color: #e6f4ea;
    color: #137333;
}

.trend-down[b-dpk5e6e74n] {
    background-color: #fce8e6;
    color: #c5221f;
}

/* Row 3: Subtitle */
.card-subtitle[b-dpk5e6e74n] {
    font-size: 0.725rem;
    color: #6b7280;
    margin-top: 8px;
}

/* Row 4: Footer / Button Lihat Detail */
.card-footer-row[b-dpk5e6e74n] {
    margin-top: 18px;
    padding-top: 12px;
    border-top: none;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px; /* Jarak & ketebalan garis */
    background-repeat: repeat-x;
}

.btn-detail[b-dpk5e6e74n] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
}

.detail-icon[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

/* Animasi Panah Bergeser Kekanan Saat Card Di-hover */
.summary-card:hover .detail-icon[b-dpk5e6e74n] {
    transform: translateX(5px);
}

/* ==========================================================================
   ANALYTICS CARDS SECTION (2 CARDS BELOW)
   ========================================================================== */

.analytics-cards-grid[b-dpk5e6e74n] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.analytics-card[b-dpk5e6e74n] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.analytics-header-row[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Button Filter */
.btn-filter[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-filter:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-filter-icon[b-dpk5e6e74n] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* Dashed Line Divider inside Analytics Card */
.card-dashed-divider[b-dpk5e6e74n] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ==========================================================================
   TABLE HEADER SORT DROPDOWN (Seri, Parent, Total Produksi)
   ========================================================================== */

.th-header-content[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.th-dropdown-wrapper[b-dpk5e6e74n] {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.th-chevron-icon[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    object-fit: contain;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.production-table thead th:hover .th-chevron-icon[b-dpk5e6e74n] {
    opacity: 1;
}

.th-chevron-icon-active[b-dpk5e6e74n] {
    opacity: 1;
}

.th-dropdown-backdrop[b-dpk5e6e74n] {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: transparent;
}

.th-dropdown-menu[b-dpk5e6e74n] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    z-index: 10;
    overflow: hidden;
}

.th-dropdown-option[b-dpk5e6e74n] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

    .th-dropdown-option:hover[b-dpk5e6e74n] {
        background-color: #f3f4f6;
    }

.th-dropdown-option-active[b-dpk5e6e74n] {
    color: #0040be;
    font-weight: 700;
    background-color: #e8f0fe;
}

/* ==========================================================================
   MODAL DETAIL MODEL
   ========================================================================== */

.modal-overlay[b-dpk5e6e74n] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box[b-dpk5e6e74n] {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.modal-header-row[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title-group[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-subtitle[b-dpk5e6e74n] {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.modal-close-btn[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .modal-close-btn:hover[b-dpk5e6e74n] {
        background-color: #e5e7eb;
        border-color: #9ca3af;
    }

    .modal-close-btn img[b-dpk5e6e74n] {
        width: 12px;
        height: 12px;
    }

.modal-table-wrapper[b-dpk5e6e74n] {
    flex: 1;
    overflow: auto;
}

/* Expand Row */
.th-expand-col[b-dpk5e6e74n] {
    width: 40px;
}

.modal-table-row[b-dpk5e6e74n] {
    cursor: pointer;
}

.td-expand-col[b-dpk5e6e74n] {
    text-align: center;
}

.row-expand-icon[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.row-expand-icon-open[b-dpk5e6e74n] {
    transform: rotate(180deg);
}

/* Detail Row (Material List) */
.modal-detail-row td[b-dpk5e6e74n] {
    background-color: #f9fafb;
    padding: 14px 20px;
}

/* Material Group Cards (dalam expanded row Lini Produksi/Modal) */
.material-group-list[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

.material-group-card[b-dpk5e6e74n] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.material-group-header[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    cursor: pointer;
}

    .material-group-header:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
    }

    .material-group-header-disabled:hover[b-dpk5e6e74n] {
        background-color: #ffffff; /* Empty state card hover override */
    }

.material-group-header-disabled[b-dpk5e6e74n] {
    cursor: default;
}

.material-group-title-wrap[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.material-group-title[b-dpk5e6e74n] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.material-group-subtitle[b-dpk5e6e74n] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.material-group-chevron[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

.material-group-body[b-dpk5e6e74n] {
    border-top: 1px solid #e5e7eb;
    padding: 4px 14px 8px;
}

.material-part-row[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

    .material-part-row:last-child[b-dpk5e6e74n] {
        border-bottom: none;
    }

.material-part-name[b-dpk5e6e74n] {
    font-family: 'Courier New', monospace;
    color: #111827;
    font-weight: 500;
    min-width: 130px; 
}

.material-part-qty[b-dpk5e6e74n] {
    color: #6b7280;
    font-weight: 500;
}

/* Pagination */
.modal-pagination[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    flex-shrink: 0;
}

.modal-pagination-controls[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn[b-dpk5e6e74n] {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pagination-btn:hover:not(:disabled)[b-dpk5e6e74n] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-dpk5e6e74n] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.pagination-page-active[b-dpk5e6e74n] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

.modal-jump-box[b-dpk5e6e74n] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-jump-label[b-dpk5e6e74n] {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.modal-jump-total[b-dpk5e6e74n] {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.modal-jump-trigger[b-dpk5e6e74n] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .modal-jump-trigger:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

.modal-jump-chevron[b-dpk5e6e74n] {
    width: 10px;
    height: 10px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.modal-jump-chevron-open[b-dpk5e6e74n] {
    transform: rotate(180deg);
}

.modal-jump-trigger-container[b-dpk5e6e74n] {
    position: relative;
    display: flex;
}

.modal-jump-dropdown[b-dpk5e6e74n] {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 160px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.modal-jump-option[b-dpk5e6e74n] {
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

    .modal-jump-option:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
    }

.modal-jump-option-active[b-dpk5e6e74n] {
    background-color: #e8f0fe;
    color: #0040be;
    font-weight: 600;
}

.modal-jump-backdrop[b-dpk5e6e74n] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background: transparent;
}

/* ==========================================================================
   MODAL TOOLBAR (SEARCH + BUTTONS)
   ========================================================================== */

.modal-toolbar[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* Search Box Container */
.modal-search-box[b-dpk5e6e74n] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1; /* Mengisi sisa ruang kosong di kiri */
    max-width: 380px; /* Max width constraint for wide viewports */
}

.search-icon[b-dpk5e6e74n] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-dpk5e6e74n] {
    width: 100%;
    padding: 8px 32px 8px 34px; /* Clear icon and search icon padding */
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.775rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

    .search-input:focus[b-dpk5e6e74n] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-dpk5e6e74n]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-dpk5e6e74n] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

    .search-clear-btn:hover[b-dpk5e6e74n] {
        color: #374151;
    }

/* Toolbar Buttons Group */
.modal-toolbar-actions[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-action[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-modal-action:hover[b-dpk5e6e74n] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

/* Primary action button variant */
.btn-modal-action-primary[b-dpk5e6e74n] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

    .btn-modal-action-primary:hover[b-dpk5e6e74n] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

.btn-action-icon[b-dpk5e6e74n] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* Summary card sekarang div (bukan <a>), pastikan tetap terlihat clickable */
.summary-card[b-dpk5e6e74n] {
    cursor: pointer;
}

/* ==========================================================================
   BAR CHART STYLES
   ========================================================================== */

.chart-wrapper[b-dpk5e6e74n] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.chart-area[b-dpk5e6e74n] {
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding-right: 45px; /* Margin clearance for right Y-axis labels */
}

/* Horizontal Dashed Grid Lines */
.chart-grid-lines[b-dpk5e6e74n] {
    position: absolute;
    top: 0;
    left: 0;
    right: 45px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.grid-line[b-dpk5e6e74n] {
    border-bottom: 1px dashed #e5e7eb;
    width: 100%;
}

/* Right Y-Axis */
.y-axis[b-dpk5e6e74n] {
    position: absolute;
    right: 0;
    top: -6px;
    bottom: -6px;
    width: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Bar chart container */
.chart-bars-container[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Day column container */
.bar-group[b-dpk5e6e74n] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100%;
    flex: 1; /* Otomatis membagi ruangan secara merata */
    justify-content: center;
}

/* Bar width sizing */
.bar[b-dpk5e6e74n] {
    width: 18px; /* Adjusted width for readability */
    border-radius: 2px 2px 0 0;
    transition: height 0.3s ease;
}

.bar-prev[b-dpk5e6e74n] {
    background-color: #e5e7eb;
}

.bar-current[b-dpk5e6e74n] {
    background-color: #0040be;
}

/* X Axis Labels */
.x-axis[b-dpk5e6e74n] {
    display: flex;
    justify-content: space-between;
    padding-right: 45px;
    margin-top: 12px;
    font-size: 0.675rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
}

    .x-axis span[b-dpk5e6e74n] {
        flex: 1; /* Aligns with bar group */
        text-align: center;
    }

/* Legend Bottom Left */
.chart-legend[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    font-size: 0.725rem;
    color: #6b7280;
    font-weight: 500;
}

.legend-item[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-prev[b-dpk5e6e74n] {
    background-color: #e5e7eb;
}

.legend-current[b-dpk5e6e74n] {
    background-color: #0040be;
}

.card-content-placeholder[b-dpk5e6e74n] {
    flex: 1;
    min-height: 220px;
}

/* ==========================================================================
   PIE CHART (CARD TOTAL PRODUKSI)
   ========================================================================== */

.pie-stat[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
}

.pie-stat-label[b-dpk5e6e74n] {
    font-size: 0.725rem;
    font-weight: 600;
    color: #9ca3af;
}

.pie-stat-row[b-dpk5e6e74n] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.pie-stat-value[b-dpk5e6e74n] {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.pie-stat-unit[b-dpk5e6e74n] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
}

.pie-stat-note[b-dpk5e6e74n] {
    font-size: 0.725rem;
    color: #9ca3af;
}

/* Pie + daftar jenis model (desktop: berdampingan) */
.pie-body[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pie-figure[b-dpk5e6e74n] {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
}

.pie-svg[b-dpk5e6e74n] {
    display: block;
    width: 100%;
    height: 100%;
}

.pie-slice[b-dpk5e6e74n] {
    stroke: #ffffff;
    stroke-width: 2;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pie-slice-dim[b-dpk5e6e74n] {
    opacity: 0.45;
}

.pie-empty[b-dpk5e6e74n] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f3f4f6;
    box-shadow: 0 0 0 1px #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie-empty-text[b-dpk5e6e74n] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

/* High-contrast tooltip with pointer line and dot */
.pie-tooltip[b-dpk5e6e74n] {
    position: absolute;
    transform: translate(-50%, calc(-100% - 14px));
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px 10px;
    background-color: #111827;
    color: #ffffff;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

    .pie-tooltip[b-dpk5e6e74n]::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        width: 1px;
        height: 10px;
        background-color: #111827;
    }

    .pie-tooltip[b-dpk5e6e74n]::before {
        content: "";
        position: absolute;
        left: 50%;
        top: calc(100% + 8px);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #111827;
        border: 1px solid #ffffff;
        transform: translateX(-50%);
    }

.pie-tooltip-label[b-dpk5e6e74n] {
    font-size: 0.65rem;
    font-weight: 500;
    color: #9ca3af;
}

.pie-tooltip-value[b-dpk5e6e74n] {
    font-size: 0.8rem;
    font-weight: 700;
}

/* Daftar jenis model: label di kiri, persen dan nilai di kanan */
.pie-legend[b-dpk5e6e74n] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pie-legend-item[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .pie-legend-item:last-child[b-dpk5e6e74n] {
        border-bottom: none;
    }

    .pie-legend-item:hover[b-dpk5e6e74n],
    .pie-legend-item-active[b-dpk5e6e74n] {
        background-color: #f9fafb;
    }

    .pie-legend-item .legend-color[b-dpk5e6e74n] {
        flex-shrink: 0;
    }

.pie-legend-label[b-dpk5e6e74n] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pie-legend-pct[b-dpk5e6e74n] {
    min-width: 46px;
    text-align: right;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

.pie-legend-value[b-dpk5e6e74n] {
    min-width: 64px;
    text-align: right;
    font-weight: 700;
    color: #111827;
}

.pie-legend-empty[b-dpk5e6e74n] {
    padding: 12px 0;
    font-size: 0.775rem;
    color: #9ca3af;
}

/* Desktop sempit: card setengah lebar, pie dan daftar dirapatkan */
@media (min-width: 1025px) and (max-width: 1280px) {
    .pie-body[b-dpk5e6e74n] {
        gap: 20px;
    }

    .pie-figure[b-dpk5e6e74n] {
        width: 180px;
        height: 180px;
    }

    .pie-legend-value[b-dpk5e6e74n] {
        min-width: 52px;
    }
}

/* Tablet: card selebar baris, pie lebih besar dan daftar lega */
@media (min-width: 641px) and (max-width: 1024px) {
    .pie-stat-value[b-dpk5e6e74n] {
        font-size: 2.25rem;
    }

    .pie-body[b-dpk5e6e74n] {
        gap: 40px;
    }

    .pie-figure[b-dpk5e6e74n] {
        width: 240px;
        height: 240px;
    }
}

/* Mobile: tumpuk ke bawah, pie di tengah, area sentuh lebih besar */
@media (max-width: 640px) {
    .pie-stat[b-dpk5e6e74n] {
        margin-bottom: 16px;
    }

    .pie-stat-value[b-dpk5e6e74n] {
        font-size: 1.65rem;
    }

    .pie-body[b-dpk5e6e74n] {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .pie-figure[b-dpk5e6e74n] {
        width: 100%;
        max-width: 240px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .pie-legend-item[b-dpk5e6e74n] {
        padding: 13px 4px;
    }

    .pie-tooltip[b-dpk5e6e74n] {
        padding: 4px 8px;
    }
}

@media (max-width: 360px) {
    .pie-stat-value[b-dpk5e6e74n] {
        font-size: 1.4rem;
    }

    .pie-legend-pct[b-dpk5e6e74n] {
        min-width: 40px;
    }

    .pie-legend-value[b-dpk5e6e74n] {
        min-width: 52px;
    }
}

/* ==========================================================================
   MATERIAL SISA LIST (4 CARD HORIZONTAL DI DALAM CARD "SISA MATERIAL")
   ========================================================================== */

.material-sisa-list[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.material-sisa-item[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .material-sisa-item:hover[b-dpk5e6e74n] {
        border-color: #9ca3af;
        background-color: #f9fafb;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transform: translateY(-1px);
    }

.material-sisa-icon-box[b-dpk5e6e74n] {
    width: 38px;
    height: 38px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .material-sisa-icon-box img[b-dpk5e6e74n] {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

.material-sisa-info[b-dpk5e6e74n] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.material-sisa-title[b-dpk5e6e74n] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.material-sisa-subtitle[b-dpk5e6e74n] {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
}

.material-sisa-value-group[b-dpk5e6e74n] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.material-sisa-value[b-dpk5e6e74n] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0040be;
}

.material-sisa-unit[b-dpk5e6e74n] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 600;
}

.material-sisa-arrow[b-dpk5e6e74n] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.material-sisa-item:hover .material-sisa-arrow[b-dpk5e6e74n] {
    transform: translateX(4px);
    opacity: 1;
}

/* ==========================================================================
   PRODUCTION LINE CARD (TABLE)
   ========================================================================== */

.production-line-card[b-dpk5e6e74n] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-top: 16px;
}

.production-table-wrapper[b-dpk5e6e74n] {
    width: 100%;
    overflow-x: auto;
}

.production-table[b-dpk5e6e74n] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    table-layout: auto;
}

    .production-table thead th[b-dpk5e6e74n] {
        background-color: #f3f4f6;
        color: #374151;
        font-size: 0.75rem;
        font-weight: 700;
        text-align: left;
        padding: 10px 14px;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-dpk5e6e74n] {
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        padding: 12px 14px;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-dpk5e6e74n] {
        background-color: #f9fafb;
    }

    /* Exclude expanded detail rows from hover highlight */
    .production-table tbody tr.modal-detail-row:hover td[b-dpk5e6e74n] {
        background-color: #ffffff;
    }

/* Sortable Header (Kolom Total) */
.th-sortable[b-dpk5e6e74n] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

    .th-sortable:hover[b-dpk5e6e74n] {
        background-color: #e5e7eb;
    }

.th-sortable-content[b-dpk5e6e74n] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.th-sort-icon[b-dpk5e6e74n] {
    width: 10px;
    height: 10px;
    object-fit: contain;
}

/* Status Badge */
.status-badge[b-dpk5e6e74n] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    line-height: 1.6;
}

.status-selesai[b-dpk5e6e74n] {
    background-color: #e6f4ea;
    color: #137333;
}

.status-progress[b-dpk5e6e74n] {
    background-color: #e8f0fe;
    color: #0040be;
}

.status-idle[b-dpk5e6e74n] {
    background-color: #fef3e2;
    color: #b45309;
}

.status-mati[b-dpk5e6e74n] {
    background-color: #fce8e6;
    color: #c5221f;
}

/* Responsive */
@media (max-width: 640px) {
    .production-table thead th[b-dpk5e6e74n],
    .production-table tbody td[b-dpk5e6e74n] {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
}

/* Responsive: item jadi sedikit lebih compact di layar kecil */
@media (max-width: 640px) {
    .material-sisa-item[b-dpk5e6e74n] {
        padding: 10px 12px;
        gap: 10px;
    }

    .material-sisa-value[b-dpk5e6e74n] {
        font-size: 1rem;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
    .summary-cards-grid[b-dpk5e6e74n] {
        grid-template-columns: repeat(2, 1fr);
    }

    .analytics-cards-grid[b-dpk5e6e74n] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-header[b-dpk5e6e74n] {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions[b-dpk5e6e74n] {
        width: 100%;
        margin-top: 12px;
    }

    .btn[b-dpk5e6e74n] {
        flex: 1;
        justify-content: center;
    }

    .summary-cards-grid[b-dpk5e6e74n] {
        grid-template-columns: 1fr;
    }

    .bar[b-dpk5e6e74n] {
        width: 10px;
    }

    .chart-area[b-dpk5e6e74n] {
        padding-right: 35px;
    }

    .chart-grid-lines[b-dpk5e6e74n] {
        right: 35px;
    }

    .x-axis[b-dpk5e6e74n] {
        padding-right: 35px;
        font-size: 0.55rem;
    }
}
/* _content/MMS.Web/Components/Pages/Defects/Index.razor.rz.scp.css */
/* ==========================================================================
   MATERIAL DEFECT - gaya disamakan dengan Material AMP, Kitting (Print QR) dan PSI:
   tajam (tanpa border-radius), header, tombol, card, toolbar, tabel, menu filter
   ========================================================================== */

/* Catch-all: semua elemen halaman ini tajam (tombol, input, badge, dropdown, dll) */
*[b-8wyx3kk8fq],
*[b-8wyx3kk8fq]::before,
*[b-8wyx3kk8fq]::after {
    border-radius: 0 !important;
}

/* ---- CONTAINER + HEADER (identik dengan halaman Material/Kitting/PSI) ---- */
.dashboard-container[b-8wyx3kk8fq] {
    width: 100%;
    padding: 0 !important;
}

.dashboard-header[b-8wyx3kk8fq] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 0;
}

.header-title-wrapper[b-8wyx3kk8fq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-8wyx3kk8fq] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-8wyx3kk8fq] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
}

.dashboard-divider[b-8wyx3kk8fq] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-8wyx3kk8fq] {
    min-height: 300px;
    border: none;
    padding: 0;
    background-color: transparent;
    text-align: left;
}

/* ---- HEADER ACTIONS + TOMBOL ---- */
.header-actions[b-8wyx3kk8fq] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-8wyx3kk8fq] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-8wyx3kk8fq] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-8wyx3kk8fq] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-8wyx3kk8fq] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-8wyx3kk8fq] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-8wyx3kk8fq] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* ---- CARD ---- */
.material-card[b-8wyx3kk8fq] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.material-card-header[b-8wyx3kk8fq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Collapsible rate card: native <details>, default closed. */
details.material-card > summary.material-card-header[b-8wyx3kk8fq] {
    cursor: pointer;
    list-style: none;
    padding: 0;
}

details.material-card > summary.material-card-header[b-8wyx3kk8fq]::-webkit-details-marker {
    display: none;
}

details.material-card > summary.material-card-header[b-8wyx3kk8fq]::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

details.material-card[open] > summary.material-card-header[b-8wyx3kk8fq]::after {
    transform: rotate(225deg);
}

.rate-summary-inline[b-8wyx3kk8fq] {
    color: #DC2626;
    font-weight: 700;
    font-size: 13px;
}

.card-title-group[b-8wyx3kk8fq] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-8wyx3kk8fq] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
}

    .card-icon-box img[b-8wyx3kk8fq] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-8wyx3kk8fq] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: normal;
}

.card-dashed-divider[b-8wyx3kk8fq] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---- TOOLBAR: search ---- */
.material-toolbar-row[b-8wyx3kk8fq] {
    --toolbar-height: 30px; /* sama dengan search bar di Material AMP */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 20px 0;
    padding: 0;
    flex-wrap: wrap;
}

.material-search-box[b-8wyx3kk8fq] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.search-icon[b-8wyx3kk8fq] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-8wyx3kk8fq] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-8wyx3kk8fq] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-8wyx3kk8fq]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-8wyx3kk8fq] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

/* Filter Tipe di pojok kanan judul card */
.type-select-wrap[b-8wyx3kk8fq] {
    position: relative;
    display: flex;
    flex-shrink: 0;
}

/* Tombol Tipe (desktop): gaya sama dengan tombol "Pilih Minggu" di Print QR */
.toolbar-trigger[b-8wyx3kk8fq] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .toolbar-trigger:hover[b-8wyx3kk8fq] {
        border-color: #9ca3af;
    }

    .toolbar-trigger .th-chevron-icon[b-8wyx3kk8fq] {
        width: 12px;
        height: 12px;
        opacity: 0.6;
        flex-shrink: 0;
    }

.type-label[b-8wyx3kk8fq] {
    font-weight: 600;
}

.type-badge[b-8wyx3kk8fq] {
    min-width: 18px;
    padding: 1px 6px;
    background-color: #f3f4f6;
    font-size: 0.65rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
}

/* ---- TOMBOL ELLIPSIS (hanya tampil di HP; gaya sama dengan Filter lanjutan di Material AMP) ---- */
.ellipsis-btn[b-8wyx3kk8fq] {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .ellipsis-btn:hover[b-8wyx3kk8fq] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .ellipsis-btn img[b-8wyx3kk8fq] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.ellipsis-btn-active[b-8wyx3kk8fq],
.ellipsis-btn-active:hover[b-8wyx3kk8fq] {
    background-color: #eff6ff;
    border-color: #0040be;
}

/* ---- MENU FILTER TIPE (gaya sama dengan menu Filter lanjutan di Material AMP) ---- */
.filter-menu-backdrop[b-8wyx3kk8fq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.filter-menu[b-8wyx3kk8fq] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 20;
    overflow: hidden;
    text-align: left;
}

.filter-menu-title[b-8wyx3kk8fq] {
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #f3f4f6;
}

.filter-menu-option[b-8wyx3kk8fq] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

    .filter-menu-option:hover[b-8wyx3kk8fq] {
        background-color: #f3f4f6;
    }

.filter-menu-option-active[b-8wyx3kk8fq] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

/* ---- TABLE ---- */
.material-table-wrapper[b-8wyx3kk8fq] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-8wyx3kk8fq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table th[b-8wyx3kk8fq] {
        padding: 10px 14px;
        background-color: #f9fafb;
        color: #4b5563;
        font-weight: 600;
        font-size: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table td[b-8wyx3kk8fq] {
        padding: 12px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
    }

    .production-table thead th[b-8wyx3kk8fq] {
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
        text-transform: none;
        letter-spacing: normal;
    }

    .production-table tbody td[b-8wyx3kk8fq] {
        background-color: #ffffff;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-8wyx3kk8fq] {
        background-color: #f9fafb;
    }

.th-center[b-8wyx3kk8fq],
.td-center[b-8wyx3kk8fq] {
    text-align: center;
}

.td-mono[b-8wyx3kk8fq] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.75rem;
}

.td-muted[b-8wyx3kk8fq] {
    color: #6b7280;
}

.td-kode-material[b-8wyx3kk8fq] {
    font-weight: 600;
    color: #0040be;
}

.td-part-number[b-8wyx3kk8fq] {
    font-weight: 600;
    color: #111827;
}

.td-part-desc[b-8wyx3kk8fq] {
    margin-top: 2px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #9ca3af;
}

.td-qty-defect[b-8wyx3kk8fq] {
    font-weight: 700;
    color: #dc2626;
}

.trigger-badge[b-8wyx3kk8fq] {
    display: inline-block;
    padding: 2px 8px;
    background-color: #fef3c7;
    font-size: 0.7rem;
    font-weight: 700;
    color: #b45309;
}

.td-empty-state[b-8wyx3kk8fq] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .material-toolbar-row[b-8wyx3kk8fq] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .material-search-box[b-8wyx3kk8fq] {
        max-width: 100%;
        flex: 0 0 auto;
    }

    /* Judul card + tombol filter tetap satu baris */
    .material-card-header[b-8wyx3kk8fq] {
        gap: 8px;
        flex-wrap: nowrap;
    }

    /* Filter Tipe: tombol teks diganti tombol ellipsis */
    .type-select-wrap .toolbar-trigger[b-8wyx3kk8fq] {
        display: none;
    }

    .type-select-wrap .ellipsis-btn[b-8wyx3kk8fq] {
        display: flex;
    }
}
/* _content/MMS.Web/Components/Pages/Kitting/Print.razor.rz.scp.css */
/* ==========================================================================
   PRINT QR (KITTING) - gaya tajam: tanpa border-radius, konten menempel ke sidebar
   ========================================================================== */

/* Catch-all: semua elemen halaman ini tajam (tombol, input, badge, dropdown, dll) */
*[b-4knx70dqz6],
*[b-4knx70dqz6]::before,
*[b-4knx70dqz6]::after {
    border-radius: 0 !important;
}

/* ---- CONTAINER: sama seperti Dashboard ----
   Padding ganda dari app.css (.dashboard-container) dimatikan; jarak ke sidebar
   cukup dari padding layout (.v2-main-content), persis seperti halaman Dashboard. */
.dashboard-container[b-4knx70dqz6] {
    width: 100%;
    padding: 0 !important;
}

.dashboard-header[b-4knx70dqz6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 0;
}

.header-title-wrapper[b-4knx70dqz6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-4knx70dqz6] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-4knx70dqz6] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-4knx70dqz6] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Wrapper konten: sebelumnya kotak dashed (dari app.css), sekarang polos */
.production-content-placeholder[b-4knx70dqz6] {
    min-height: 300px;
    border: none;
    padding: 0;
    background-color: transparent;
}

    .production-content-placeholder > .empty-state-text[b-4knx70dqz6] {
        padding: 48px 24px;
    }

/* ---- TAB MATERIAL AKTIF / RIWAYAT (di atas search bar, full width, tajam) ---- */
.material-tabs-row[b-4knx70dqz6] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    overflow: visible;
    box-sizing: border-box;
}

.material-tab[b-4knx70dqz6] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-4knx70dqz6] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-4knx70dqz6] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-4knx70dqz6] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* angka jumlah di tab aktif juga ikut hitam (app.css membuatnya biru) */
.material-tab-active .material-tab-badge[b-4knx70dqz6] {
    color: #111827;
}

/* Jumlah di samping label: angka abu-abu polos */
.material-tab-badge[b-4knx70dqz6] {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    color: #9ca3af;
}

/* ---- BUTTONS ---- */
.btn-outline[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-4knx70dqz6] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-action-icon[b-4knx70dqz6] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* ---- MATERIAL CARD ---- */
.material-card[b-4knx70dqz6] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.material-card-header[b-4knx70dqz6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.material-card-header-nowrap[b-4knx70dqz6] {
    flex-wrap: nowrap;
}

    .material-card-header-nowrap .card-title-group[b-4knx70dqz6] {
        min-width: 0;
    }

.card-title-group[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-4knx70dqz6] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
}

    .card-icon-box img[b-4knx70dqz6] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-4knx70dqz6] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: normal;
}

.card-dashed-divider[b-4knx70dqz6] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---- TOOLBAR: Search Bar + Pilih Minggu, tepat di bawah tab ---- */
.material-toolbar-row[b-4knx70dqz6] {
    --toolbar-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 20px 0;
    padding: 0;
    flex-wrap: wrap;
}

.material-toolbar-row-nowrap[b-4knx70dqz6] {
    flex-wrap: nowrap;
}

.material-search-box[b-4knx70dqz6] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.search-icon[b-4knx70dqz6] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-4knx70dqz6] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-4knx70dqz6] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-4knx70dqz6]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-4knx70dqz6] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

.import-warning-text[b-4knx70dqz6] {
    padding: 0 0 12px 0;
}

/* ---- PILIH MINGGU ---- */
.week-select-wrap[b-4knx70dqz6] {
    position: relative;
    flex-shrink: 0;
}

.week-trigger[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .week-trigger:hover[b-4knx70dqz6] {
        border-color: #9ca3af;
    }

    .week-trigger .th-chevron-icon[b-4knx70dqz6] {
        width: 12px;
        height: 12px;
        opacity: 0.6;
        flex-shrink: 0;
    }

.date-range-icon[b-4knx70dqz6] {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* tombol titik tiga: hanya tampil di HP */
.week-ellipsis-btn[b-4knx70dqz6] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .week-ellipsis-btn:hover[b-4knx70dqz6] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .week-ellipsis-btn img[b-4knx70dqz6] {
        width: 16px;
        height: 16px;
    }

.week-menu-backdrop[b-4knx70dqz6] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.week-menu[b-4knx70dqz6] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.week-menu-title[b-4knx70dqz6] {
    padding: 8px 12px 4px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.week-menu-item[b-4knx70dqz6] {
    padding: 9px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
}

    .week-menu-item:hover[b-4knx70dqz6] {
        background-color: #f3f4f6;
    }

.week-menu-item-active[b-4knx70dqz6],
.week-menu-item-active:hover[b-4knx70dqz6] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

/* ---- TABLE: full-bleed, menempel ke sidebar ---- */
.material-table-wrapper[b-4knx70dqz6] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-4knx70dqz6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table th[b-4knx70dqz6] {
        padding: 10px 14px;
        background-color: #f9fafb;
        color: #4b5563;
        font-weight: 600;
        font-size: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table td[b-4knx70dqz6] {
        padding: 12px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
    }

    .production-table thead th[b-4knx70dqz6] {
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-4knx70dqz6] {
        background-color: #ffffff;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-4knx70dqz6] {
        background-color: #f9fafb;
    }

    .production-table tbody tr.modal-detail-row:hover td[b-4knx70dqz6] {
        background-color: #ffffff;
    }

.th-no-col[b-4knx70dqz6] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-4knx70dqz6] {
    text-align: center;
}

.td-kode-material[b-4knx70dqz6] {
    font-weight: 600;
    color: #0040be;
}

.th-expand-col[b-4knx70dqz6], .td-expand-col[b-4knx70dqz6] {
    width: 40px;
    text-align: center;
}

.modal-table-row[b-4knx70dqz6] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .modal-table-row:hover[b-4knx70dqz6] {
        background-color: #f9fafb;
    }

.row-expand-icon[b-4knx70dqz6] {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.row-expand-icon-open[b-4knx70dqz6] {
    transform: rotate(180deg);
}

.modal-detail-row[b-4knx70dqz6] {
    background-color: #f9fafb;
}

    .modal-detail-row td[b-4knx70dqz6] {
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
    }

.td-empty-state[b-4knx70dqz6] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

/* pesan kosong boleh turun baris (teksnya cukup panjang di HP) */
.production-table tbody td.td-empty-state[b-4knx70dqz6] {
    white-space: normal;
}

/* ---- CHECKBOX (tajam, tanpa sudut membulat) ---- */
.th-checkbox-col[b-4knx70dqz6], .td-checkbox-col[b-4knx70dqz6] {
    width: 36px;
    text-align: center;
}

    .th-checkbox-col input[type="checkbox"][b-4knx70dqz6],
    .td-checkbox-col input[type="checkbox"][b-4knx70dqz6],
    .box-breakdown-card-header input[type="checkbox"][b-4knx70dqz6] {
        -webkit-appearance: none;
        appearance: none;
        display: inline-block;
        width: 16px;
        height: 16px;
        margin: 0;
        padding: 0;
        background-color: #ffffff;
        border: 1px solid #9ca3af;
        cursor: pointer;
        flex-shrink: 0;
        vertical-align: middle;
    }

        .th-checkbox-col input[type="checkbox"]:checked[b-4knx70dqz6],
        .td-checkbox-col input[type="checkbox"]:checked[b-4knx70dqz6],
        .box-breakdown-card-header input[type="checkbox"]:checked[b-4knx70dqz6] {
            background-color: #0040be;
            border-color: #0040be;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 12px 12px;
        }

.checkbox-badge-wrapper[b-4knx70dqz6] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkbox-count-badge[b-4knx70dqz6] {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    background-color: #0040be;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    box-shadow: 0 0 0 1.5px #ffffff;
}

/* ---- BOX BREAKDOWN ---- */
.box-breakdown-list[b-4knx70dqz6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
    gap: 12px;
    justify-content: start;
}

.box-breakdown-card[b-4knx70dqz6] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-breakdown-card-header[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-breakdown-code[b-4knx70dqz6] {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-breakdown-qty[b-4knx70dqz6] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #0040be;
    white-space: nowrap;
    flex-shrink: 0;
}

.box-breakdown-printed-at[b-4knx70dqz6] {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 500;
    text-align: center;
}

.box-breakdown-divider[b-4knx70dqz6] {
    width: 100%;
    height: 1px;
    background-color: #f3f4f6;
}

.btn-print-barcode[b-4knx70dqz6] {
    width: 100%;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-print-barcode:hover[b-4knx70dqz6] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

/* ---- QR CODE AREA ---- */
.qr-code-wrapper[b-4knx70dqz6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 12px;
}

.qr-code-img[b-4knx70dqz6] {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    image-rendering: pixelated;
}

.qr-code-placeholder[b-4knx70dqz6] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    width: 90px;
    height: 90px;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.qr-cell[b-4knx70dqz6] {
    background-color: transparent;
}

.qr-cell-filled[b-4knx70dqz6] {
    background-color: #111827;
}

.qr-code-text[b-4knx70dqz6] {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ---- PAGINATION ---- */
.modal-pagination[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.modal-jump-box[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-jump-trigger-container[b-4knx70dqz6] {
    position: relative;
}

.modal-jump-trigger[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    color: #111827;
    cursor: pointer;
}

.modal-jump-chevron[b-4knx70dqz6] {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.modal-jump-chevron-open[b-4knx70dqz6] {
    transform: rotate(180deg);
}

.modal-jump-backdrop[b-4knx70dqz6] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.modal-jump-dropdown[b-4knx70dqz6] {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 20;
    min-width: 60px;
}

.modal-jump-option[b-4knx70dqz6] {
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

    .modal-jump-option:hover[b-4knx70dqz6] {
        background-color: #f3f4f6;
    }

.modal-jump-option-active[b-4knx70dqz6] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

.modal-pagination-controls[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pagination-btn:hover:not(:disabled)[b-4knx70dqz6] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-4knx70dqz6] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f9fafb;
    }

.pagination-ellipsis[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    color: #9ca3af;
    font-size: 0.8rem;
    user-select: none;
}

.pagination-page[b-4knx70dqz6] {
    font-size: 0.75rem;
    font-weight: 500;
}

.pagination-page-active[b-4knx70dqz6] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .pagination-page-active:hover:not(:disabled)[b-4knx70dqz6] {
        background-color: #0040be;
        color: #ffffff;
    }

/* ---- HEADER ACTIONS + TOMBOL UTAMA ---- */
.header-actions[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-4knx70dqz6] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0; /* netralkan min-height: 38px dari app.css, sama seperti tombol Request Part di Production */
    padding: 8px 14px;
    font-family: revert; /* font bawaan tombol, sama seperti Production */
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-4knx70dqz6] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-4knx70dqz6] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-4knx70dqz6] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-4knx70dqz6] {
        background-color: #003399;
    }

.btn-icon-white[b-4knx70dqz6] {
    filter: brightness(0) invert(1);
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-4knx70dqz6] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-4knx70dqz6] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-4knx70dqz6] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* ---- RESPONSIVE ---- */

/* HP (<= 640px): pilih minggu lewat menu titik tiga */
@media (max-width: 640px) {
    .header-title-wrapper[b-4knx70dqz6] {
        min-width: 0;
    }

    .week-trigger[b-4knx70dqz6] {
        display: none;
    }

    .week-ellipsis-btn[b-4knx70dqz6] {
        display: flex;
    }

    .week-menu[b-4knx70dqz6] {
        min-width: 200px;
    }

    .material-search-box[b-4knx70dqz6] {
        max-width: none;
    }
}
/* _content/MMS.Web/Components/Pages/Kitting/Scan.razor.rz.scp.css */
/* CONTAINER & HEADER */
.dashboard-container[b-ys0ugysy3o] {
    width: 100%;
}

.dashboard-header[b-ys0ugysy3o] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-ys0ugysy3o] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-ys0ugysy3o] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-ys0ugysy3o] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-ys0ugysy3o] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

.production-content-placeholder[b-ys0ugysy3o] {
    min-height: 300px;
}

/* BUTTONS */
.btn-outline[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-scan-action[b-ys0ugysy3o] {
    background-color: #0040be;
    color: #ffffff !important;
    border-color: #0040be;
}

    .btn-scan-action:hover[b-ys0ugysy3o] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff !important;
    }

.btn-action-icon[b-ys0ugysy3o] {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* MATERIAL CARD */
.material-card[b-ys0ugysy3o] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-ys0ugysy3o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.card-title-group[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-ys0ugysy3o] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-ys0ugysy3o] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-ys0ugysy3o] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-ys0ugysy3o] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* TABLE */
.material-table-wrapper[b-ys0ugysy3o] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-ys0ugysy3o] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table th[b-ys0ugysy3o] {
        padding: 10px 14px;
        background-color: #f9fafb;
        color: #4b5563;
        font-weight: 600;
        font-size: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table td[b-ys0ugysy3o] {
        padding: 12px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
    }

    .production-table thead th[b-ys0ugysy3o] {
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-ys0ugysy3o] {
        background-color: #ffffff;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-ys0ugysy3o] {
        background-color: #f9fafb;
    }

.th-no-col[b-ys0ugysy3o] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-ys0ugysy3o] {
    text-align: center;
}

.td-kode-material[b-ys0ugysy3o] {
    font-weight: 600;
    color: #0040be;
}

.modal-table-row[b-ys0ugysy3o] {
    transition: background-color 0.15s ease;
}

/* Empty state table row */
.td-empty-state[b-ys0ugysy3o] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

.production-table tbody td.td-empty-state[b-ys0ugysy3o] {
    white-space: normal;
}

/* STATUS BADGES */
.th-status-col[b-ys0ugysy3o] {
    width: 100px;
    text-align: center;
}

.status-badge[b-ys0ugysy3o] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
}

    .status-badge.success[b-ys0ugysy3o] {
        background-color: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .status-badge.pending[b-ys0ugysy3o] {
        background-color: #fef3c7;
        color: #92400e;
        border: 1px solid #fde68a;
    }

/* ============================= */
/* Bottom sticky scan button */
/* ============================= */
.sticky-action-bar[b-ys0ugysy3o] {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width, 200px);
    right: 0;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    z-index: 10;
}

.btn-sticky[b-ys0ugysy3o] {
    flex: 1;
    height: 46px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .sticky-action-bar[b-ys0ugysy3o] {
        left: 0;
    }
}

/* ============================= */
/* ELLIPSIS PILIH MINGGU (pojok kanan judul card) */
/* ============================= */
.ellipsis-wrapper[b-ys0ugysy3o] {
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.ellipsis-btn[b-ys0ugysy3o] {
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .ellipsis-btn:hover[b-ys0ugysy3o] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .ellipsis-btn img[b-ys0ugysy3o] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.filter-menu-backdrop[b-ys0ugysy3o] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.filter-menu[b-ys0ugysy3o] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 150px;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.filter-menu-title[b-ys0ugysy3o] {
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #f3f4f6;
}

.filter-menu-empty[b-ys0ugysy3o] {
    padding: 10px 12px;
    font-size: 0.72rem;
    color: #9ca3af;
    white-space: nowrap;
}

.filter-menu-option[b-ys0ugysy3o] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

    .filter-menu-option:hover[b-ys0ugysy3o] {
        background-color: #f3f4f6;
    }

.filter-menu-option-active[b-ys0ugysy3o] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

/* ============================= */
/* MODAL SCAN QR                 */
/* ============================= */
.scan-modal-overlay[b-ys0ugysy3o] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeInOverlay-b-ys0ugysy3o 0.2s ease;
}

.scan-modal-box[b-ys0ugysy3o] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: scaleInModal-b-ys0ugysy3o 0.2s ease;
}

.scan-modal-header[b-ys0ugysy3o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.scan-modal-title[b-ys0ugysy3o] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.scan-modal-close[b-ys0ugysy3o] {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

    .scan-modal-close:hover[b-ys0ugysy3o] {
        color: #374151;
    }

/* Viewfinder / Frame kamera */
.scan-viewfinder[b-ys0ugysy3o] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #111827;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 3px solid transparent;
    transition: border-color 0.15s ease;
}

.scan-viewfinder-success[b-ys0ugysy3o] {
    border-color: #10b981;
}

.scan-viewfinder-warning[b-ys0ugysy3o] {
    border-color: #f59e0b;
}

.scan-placeholder-text[b-ys0ugysy3o] {
    color: #9ca3af;
    font-size: 0.75rem;
    text-align: center;
    padding: 0 30px;
}

/* Input manual fallback */
.scan-manual-input[b-ys0ugysy3o] {
    display: flex;
    gap: 8px;
}

.scan-input[b-ys0ugysy3o] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
}

    .scan-input:focus[b-ys0ugysy3o] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 2px rgba(0, 64, 190, 0.15);
    }

.scan-manual-btn[b-ys0ugysy3o] {
    padding: 8px 14px;
}

/* Animasi */
@keyframes fadeInOverlay-b-ys0ugysy3o {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleInModal-b-ys0ugysy3o {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================= */
/* Toolbar: Search and week selector */
/* ============================= */
.material-toolbar-row[b-ys0ugysy3o] {
    --toolbar-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.material-search-box[b-ys0ugysy3o] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    flex: 1;
}

.search-icon[b-ys0ugysy3o] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-ys0ugysy3o] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-ys0ugysy3o] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.search-clear-btn[b-ys0ugysy3o] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

.date-ellipsis-group[b-ys0ugysy3o] {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
}

.date-range-icon[b-ys0ugysy3o] {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

.modal-jump-trigger-container[b-ys0ugysy3o] {
    position: relative;
}

.modal-jump-trigger[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #111827;
    cursor: pointer;
}

.th-chevron-icon[b-ys0ugysy3o] {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.modal-jump-chevron[b-ys0ugysy3o] {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.modal-jump-chevron-open[b-ys0ugysy3o] {
    transform: rotate(180deg);
}

.modal-jump-backdrop[b-ys0ugysy3o] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.modal-jump-dropdown[b-ys0ugysy3o] {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 20;
    min-width: 60px;
}

.modal-jump-option[b-ys0ugysy3o] {
    padding: 6px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

    .modal-jump-option:hover[b-ys0ugysy3o] {
        background-color: #f3f4f6;
    }

.modal-jump-option-active[b-ys0ugysy3o] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

/* ============================= */
/* EXPAND ROW + BOX BREAKDOWN */
/* ============================= */
.modal-table-row[b-ys0ugysy3o] {
    cursor: pointer;
}

    .modal-table-row:hover td[b-ys0ugysy3o] {
        background-color: #f9fafb;
    }

.th-expand-col[b-ys0ugysy3o], .td-expand-col[b-ys0ugysy3o] {
    width: 40px;
    text-align: center;
}

.row-expand-icon[b-ys0ugysy3o] {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.row-expand-icon-open[b-ys0ugysy3o] {
    transform: rotate(180deg);
}

.modal-detail-row td[b-ys0ugysy3o] {
    background-color: #f9fafb;
    padding: 16px;
}

.td-box-col[b-ys0ugysy3o] {
    white-space: nowrap;
}

.box-breakdown-list[b-ys0ugysy3o] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
    gap: 12px;
    justify-content: start;
}

.box-breakdown-card[b-ys0ugysy3o] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.box-breakdown-card-header[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-breakdown-code[b-ys0ugysy3o] {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-breakdown-divider[b-ys0ugysy3o] {
    width: 100%;
    height: 1px;
    background-color: #f3f4f6;
}

.box-breakdown-qty[b-ys0ugysy3o] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0040be;
    text-align: center;
}

/* ============================= */
/* PAGINATION */
/* ============================= */
.modal-pagination[b-ys0ugysy3o] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.modal-jump-box[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
    flex-shrink: 0;
    white-space: nowrap;
}

.modal-jump-label[b-ys0ugysy3o], .modal-jump-total[b-ys0ugysy3o] {
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-pagination-controls[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.pagination-btn[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
}

    .pagination-btn:hover:not(:disabled)[b-ys0ugysy3o] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-ys0ugysy3o] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pagination-page-active[b-ys0ugysy3o] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

/* ============================= */
/* SCAN FEEDBACK (modal) */
/* ============================= */
.scan-feedback[b-ys0ugysy3o] {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.scan-feedback-success[b-ys0ugysy3o] {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.scan-feedback-error[b-ys0ugysy3o] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================= */
/* TOAST NOTIFIKASI SCAN (pop-up atas layar) */
/* ============================= */
.scan-toast[b-ys0ugysy3o] {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100005 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 340px;
    max-width: 90vw;
    padding: 14px 18px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1.5px solid #10b981;
    animation: scanToastIn-b-ys0ugysy3o 0.25s ease;
}

.scan-toast-warning[b-ys0ugysy3o] {
    border-color: #f59e0b;
}

.scan-toast-icon[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    background-color: #d1fae5;
    color: #065f46;
}

.scan-toast-warning .scan-toast-icon[b-ys0ugysy3o] {
    background-color: #fef3c7;
    color: #92400e;
}

.scan-toast-body[b-ys0ugysy3o] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scan-toast-code[b-ys0ugysy3o] {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.scan-toast-qty[b-ys0ugysy3o] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0040be;
}

.scan-toast-message[b-ys0ugysy3o] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #065f46;
    margin-top: 2px;
}

.scan-toast-warning .scan-toast-message[b-ys0ugysy3o] {
    color: #92400e;
}

@keyframes scanToastIn-b-ys0ugysy3o {
    from {
        opacity: 0;
        transform: translate(-50%, -12px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes scanToastOut-b-ys0ugysy3o {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
}

/* Sticky full-width scan button across viewports */

/* Ellipsis in windowed pagination */
.pagination-ellipsis[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    color: #9ca3af;
    font-size: 0.8rem;
    user-select: none;
}

.pagination-page[b-ys0ugysy3o] {
    font-size: 0.75rem;
    font-weight: 500;
}

.pagination-page-active:hover:not(:disabled)[b-ys0ugysy3o] {
    background-color: #0040be;
    color: #ffffff;
}

/* Mobile pagination wrap and alignment */
@media (max-width: 640px) {
    .modal-pagination[b-ys0ugysy3o] {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .modal-pagination-controls[b-ys0ugysy3o] {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* HP: search bar selebar penuh */
@media (max-width: 640px) {
    .material-search-box[b-ys0ugysy3o] {
        max-width: 100%;
    }
}

/* ==========================================================================
   DISAMAKAN DENGAN PRINT QR (Print.razor.css): gaya tajam, header, pilih minggu
   ========================================================================== */

/* Semua elemen halaman ini tajam (tombol, input, badge, kartu, modal, toast) */
*[b-ys0ugysy3o],
*[b-ys0ugysy3o]::before,
*[b-ys0ugysy3o]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout */
.dashboard-container[b-ys0ugysy3o] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-ys0ugysy3o] {
    border: none;
    padding: 0;
    background-color: transparent;
}

    .production-content-placeholder > .empty-state-text[b-ys0ugysy3o] {
        padding: 48px 24px;
    }

/* ---- HEADER ACTIONS + TOMBOL ---- */
.header-actions[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-ys0ugysy3o] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-ys0ugysy3o] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-ys0ugysy3o] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-ys0ugysy3o] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-ys0ugysy3o] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* tombol Scan Material (sticky) tetap rata tengah */
.btn-sticky[b-ys0ugysy3o] {
    justify-content: center;
}

/* ---- PILIH MINGGU (di pojok kanan judul card) ---- */
.week-select-wrap[b-ys0ugysy3o] {
    position: relative;
    flex-shrink: 0;
}

.week-trigger[b-ys0ugysy3o] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .week-trigger:hover[b-ys0ugysy3o] {
        border-color: #9ca3af;
    }

/* tombol titik tiga: hanya tampil di HP */
.week-ellipsis-btn[b-ys0ugysy3o] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .week-ellipsis-btn:hover[b-ys0ugysy3o] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .week-ellipsis-btn img[b-ys0ugysy3o] {
        width: 16px;
        height: 16px;
    }

.week-menu-backdrop[b-ys0ugysy3o] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.week-menu[b-ys0ugysy3o] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.week-menu-title[b-ys0ugysy3o] {
    padding: 8px 12px 4px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.week-menu-item[b-ys0ugysy3o] {
    padding: 9px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
}

    .week-menu-item:hover[b-ys0ugysy3o] {
        background-color: #f3f4f6;
    }

.week-menu-item-active[b-ys0ugysy3o],
.week-menu-item-active:hover[b-ys0ugysy3o] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

/* HP (<= 640px): pilih minggu lewat menu titik tiga */
@media (max-width: 640px) {
    .week-trigger[b-ys0ugysy3o] {
        display: none;
    }

    .week-ellipsis-btn[b-ys0ugysy3o] {
        display: flex;
    }

    .week-menu[b-ys0ugysy3o] {
        min-width: 200px;
    }
}

/* _content/MMS.Web/Components/Pages/MasterData/Employees.razor.rz.scp.css */
/* ==========================================================================
   KARYAWAN / OPERATOR - gaya disamakan dengan Data Material (Master Data):
   tajam (tanpa border-radius), header, tombol, card, toolbar, tabel, dan modal
   ========================================================================== */

.dashboard-container[b-dle3n4lida] {
    width: 100%;
}

.dashboard-header[b-dle3n4lida] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-dle3n4lida] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-actions[b-dle3n4lida] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-text[b-dle3n4lida] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-dle3n4lida] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-dle3n4lida] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan Data Material */
*[b-dle3n4lida],
*[b-dle3n4lida]::before,
*[b-dle3n4lida]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman lain) */
.dashboard-container[b-dle3n4lida] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-dle3n4lida] {
    min-height: 300px;
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.state-text[b-dle3n4lida] {
    padding: 24px 0;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* ---------- BUTTONS HEADER (disamakan dengan Data Material) ---------- */
.btn[b-dle3n4lida] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-dle3n4lida] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-dle3n4lida] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-dle3n4lida] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-dle3n4lida] {
        background-color: #003399;
    }

.btn-icon-white[b-dle3n4lida] {
    filter: brightness(0) invert(1);
}

/* Export Excel / Non-Aktif: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-dle3n4lida] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-dle3n4lida] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-dle3n4lida] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* ---------- BUTTONS ---------- */
.btn-outline[b-dle3n4lida] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

    .btn-outline:hover[b-dle3n4lida] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-dle3n4lida] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary-outline[b-dle3n4lida] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-dle3n4lida] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

/* ---------- CARD ---------- */
.material-card[b-dle3n4lida] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-dle3n4lida] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-dle3n4lida] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-dle3n4lida] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-dle3n4lida] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-dle3n4lida] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-dle3n4lida] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---------- TOOLBAR: search (ukuran sama dengan search bar di Material AMP) ---------- */
.material-toolbar-row[b-dle3n4lida] {
    --toolbar-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.material-search-box[b-dle3n4lida] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    flex: 1;
}

.search-icon[b-dle3n4lida] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-dle3n4lida] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .search-input:focus[b-dle3n4lida] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-dle3n4lida]::placeholder {
        color: #9ca3af;
    }

/* ---------- TABLE ---------- */
.material-table-wrapper[b-dle3n4lida] {
    width: 100%;
    overflow-x: auto;
    min-height: 120px;
}

.production-table[b-dle3n4lida] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table thead th[b-dle3n4lida] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-dle3n4lida] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-dle3n4lida] {
        background-color: #f9fafb;
    }

.th-no-col[b-dle3n4lida] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-dle3n4lida] {
    text-align: center;
}

.th-status-col[b-dle3n4lida] {
    width: 120px;
    text-align: center;
}

.td-status-col[b-dle3n4lida] {
    text-align: center;
}

.th-action-col[b-dle3n4lida] {
    width: 150px;
    text-align: center;
}

.td-action-col[b-dle3n4lida] {
    text-align: center;
}

.td-kode-material[b-dle3n4lida] {
    font-weight: 600;
    color: #0040be;
}

.td-nama[b-dle3n4lida] {
    font-weight: 600;
    color: #111827;
}

.td-empty-state[b-dle3n4lida] {
    text-align: center;
    padding: 32px 14px;
    color: #9ca3af;
    font-weight: 500;
}

    .td-empty-state p[b-dle3n4lida] {
        margin: 0 0 14px 0;
        font-size: 0.85rem;
    }

.td-empty-title[b-dle3n4lida] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
}

.status-badge[b-dle3n4lida] {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-active[b-dle3n4lida] {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive[b-dle3n4lida] {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Tombol aksi di baris tabel (Ubah / Nonaktif / Pulihkan) */
.td-row-actions[b-dle3n4lida] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-row-action[b-dle3n4lida] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-row-action:hover[b-dle3n4lida] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

.btn-row-danger[b-dle3n4lida] {
    color: #b42318;
}

    .btn-row-danger:hover[b-dle3n4lida] {
        border-color: #b42318;
        background-color: #fef2f2;
        color: #b42318;
    }

/* ---------- MODAL (gaya sama dengan modal Sunting/Tambah di Data Material) ---------- */
.md-modal-overlay[b-dle3n4lida] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.md-modal-box[b-dle3n4lida] {
    background-color: #ffffff;
    width: 100%;
    max-width: 560px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.emp-modal-box[b-dle3n4lida] {
    max-width: 480px;
}

.md-modal-header[b-dle3n4lida] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.md-modal-title-wrap[b-dle3n4lida] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.md-modal-title[b-dle3n4lida] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.md-modal-subtitle[b-dle3n4lida] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.md-modal-close[b-dle3n4lida] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .md-modal-close:hover[b-dle3n4lida] {
        color: #374151;
    }

.md-dash[b-dle3n4lida] {
    width: 100%;
    height: 1px;
    margin: 14px 0 16px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.emp-modal-body[b-dle3n4lida] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.md-mfield[b-dle3n4lida] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.md-ml[b-dle3n4lida] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.md-mi[b-dle3n4lida] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
}

    .md-mi:focus[b-dle3n4lida] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.md-modal-actions[b-dle3n4lida] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* Input barcode + tombol Scan Kamera */
.emp-scan-row[b-dle3n4lida] {
    display: flex;
    gap: 8px;
}

    .emp-scan-row .md-mi[b-dle3n4lida] {
        flex: 1;
        min-width: 0;
    }

.btn-scan[b-dle3n4lida] {
    height: 36px;
    padding: 0 14px;
    gap: 8px;
}

@media (max-width: 640px) {
    .dashboard-header[b-dle3n4lida] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .material-toolbar-row[b-dle3n4lida] {
        flex-direction: column;
        align-items: stretch;
    }

    .material-search-box[b-dle3n4lida] {
        max-width: 100%;
    }
}
/* _content/MMS.Web/Components/Pages/MasterData/FeederData.razor.rz.scp.css */
/* ==========================================================================
   BASE LAYOUT
   ========================================================================== */
.dashboard-container[b-uidrqo195f] {
    width: 100%;
}

.dashboard-header[b-uidrqo195f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-uidrqo195f] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-uidrqo195f] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-uidrqo195f] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-uidrqo195f] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan halaman QC, Material AMP, dan Laporan */
*[b-uidrqo195f],
*[b-uidrqo195f]::before,
*[b-uidrqo195f]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman lain) */
.dashboard-container[b-uidrqo195f] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-uidrqo195f] {
    min-height: 300px;
    border: none;
    padding: 0;
    background-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-outline[b-uidrqo195f] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-uidrqo195f] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-uidrqo195f] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary-outline[b-uidrqo195f] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-uidrqo195f] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

.btn-edit-material[b-uidrqo195f], .btn-remove-material[b-uidrqo195f] {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    color: #374151;
}

    .btn-edit-material:hover[b-uidrqo195f] {
        border-color: #0040be;
        color: #0040be;
    }

    .btn-remove-material:hover[b-uidrqo195f] {
        border-color: #dc2626;
        color: #dc2626;
    }

/* ==========================================================================
   CARD WRAPPER
   ========================================================================== */
.material-card[b-uidrqo195f] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-uidrqo195f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-uidrqo195f] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-uidrqo195f] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-uidrqo195f] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-uidrqo195f] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-uidrqo195f] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.td-empty-state[b-uidrqo195f] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

/* ==========================================================================
   MODAL (Tambah/Edit Posisi Feeder)
   ========================================================================== */
.scan-modal-overlay[b-uidrqo195f] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.scan-modal-box[b-uidrqo195f] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.scan-modal-header[b-uidrqo195f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

    .scan-modal-title[b-uidrqo195f] {
        font-size: 0.95rem;
        font-weight: 700;
        color: #111827;
    }

    .scan-modal-close[b-uidrqo195f] {
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #9ca3af;
        cursor: pointer;
    }

        .scan-modal-close:hover[b-uidrqo195f] {
            color: #374151;
        }

    .scan-input[b-uidrqo195f] {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 0.8rem;
        color: #111827;
        box-sizing: border-box;
    }

        .scan-input:focus[b-uidrqo195f] {
            outline: none;
            border-color: #0040be;
            box-shadow: 0 0 0 2px rgba(0, 64, 190, 0.15);
        }

        .scan-input:disabled[b-uidrqo195f] {
            background-color: #f3f4f6;
            color: #9ca3af;
        }

    .form-field[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 14px;
    }

        .form-field label[b-uidrqo195f] {
            font-size: 0.72rem;
            font-weight: 600;
            color: #6b7280;
        }

    .modal-subtext[b-uidrqo195f] {
        font-size: 0.78rem;
        color: #6b7280;
        margin-bottom: 14px;
    }

    .modal-actions-row[b-uidrqo195f] {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 16px;
    }
    /* ==========================================================================
   BADGE
   ========================================================================== */
    .badge-status[b-uidrqo195f] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 3px 9px 3px 7px;
        border-radius: 10px;
        background-color: #d1fae5;
        color: #065f46;
    }

    .badge-dot[b-uidrqo195f] {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #059669;
    }
    /* ==========================================================================
   FEEDER — LIST MESIN (satu card per mesin, expand di dalamnya)
   ========================================================================== */
    .feeder-mesin-list[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .feeder-mesin-block[b-uidrqo195f] {
        border: 1px solid #e5e7eb;
        overflow: hidden;
        background-color: #ffffff;
        transition: border-color 0.15s ease;
    }

    .feeder-mesin-row[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px;
        cursor: pointer;
        transition: background-color 0.15s ease;
    }

        .feeder-mesin-row:hover[b-uidrqo195f] {
            background-color: #f9fafb;
        }

    .feeder-mesin-block-active .feeder-mesin-row[b-uidrqo195f] {
        background-color: #f9fafb;
    }

    .feeder-mesin-icon-box[b-uidrqo195f] {
        width: 38px;
        height: 38px;
        background-color: #f3f4f6;
        border: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .feeder-mesin-icon-box img[b-uidrqo195f] {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

    .feeder-mesin-info[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .feeder-mesin-title[b-uidrqo195f] {
        font-size: 0.85rem;
        font-weight: 700;
        color: #111827;
    }

    .feeder-mesin-subtitle[b-uidrqo195f] {
        font-size: 0.7rem;
        color: #6b7280;
        font-weight: 500;
    }

    .feeder-mesin-row-right[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .feeder-mesin-expand[b-uidrqo195f] {
        border-top: 1px solid #e5e7eb;
        padding: 20px;
        background-color: #fafbff;
    }

    .feeder-meta-text[b-uidrqo195f] {
        font-size: 0.7rem;
        color: #9ca3af;
        font-weight: 500;
        white-space: nowrap;
    }
    /* Filter bar: pilih Model Aktif */
    .feeder-filter-bar[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .feeder-filter-inline[b-uidrqo195f] {
        display: inline-flex;
        align-items: stretch;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        overflow: hidden;
        background-color: #ffffff;
    }

    .feeder-filter-inline-label[b-uidrqo195f] {
        display: flex;
        align-items: center;
        padding: 0 12px;
        background-color: #f9fafb;
        border-right: 1px solid #d1d5db;
        font-size: 0.75rem;
        font-weight: 700;
        color: #374151;
        white-space: nowrap;
    }

    .feeder-filter-inline-select[b-uidrqo195f] {
        border: none;
        outline: none;
        background-color: #ffffff;
        padding: 8px 34px 8px 12px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #111827;
        min-width: 220px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
    }

        .feeder-filter-inline-select:focus[b-uidrqo195f] {
            box-shadow: 0 0 0 2px rgba(0, 64, 190, 0.15) inset;
        }
    /* Empty state: belum ada model dipilih */
    .feeder-empty-dashed[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        border: 1px dashed #d1d5db;
        border-radius: 8px;
        color: #9ca3af;
    }

        .feeder-empty-dashed svg[b-uidrqo195f] {
            margin-bottom: 10px;
            opacity: 0.5;
        }

    .feeder-empty-title[b-uidrqo195f] {
        font-size: 0.85rem;
        font-weight: 700;
        color: #6b7280;
        margin: 0 0 4px 0;
    }

    .feeder-empty-subtitle[b-uidrqo195f] {
        font-size: 0.75rem;
        color: #9ca3af;
        margin: 0;
        max-width: 280px;
    }
    /* ==========================================================================
   FEEDER — ACCORDION & POSISI (di dalam panel expand)
   ========================================================================== */
    .feeder-accordion[b-uidrqo195f] {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .feeder-accordion-header[b-uidrqo195f] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        cursor: pointer;
        background-color: #ffffff;
        transition: background-color 0.15s ease;
    }

        .feeder-accordion-header:hover[b-uidrqo195f] {
            background-color: #f9fafb;
        }

    .feeder-accordion-header-static[b-uidrqo195f] {
        cursor: default;
    }

        .feeder-accordion-header-static:hover[b-uidrqo195f] {
            background-color: #ffffff;
        }

    .feeder-accordion-title-group[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .feeder-accordion-title[b-uidrqo195f] {
        font-size: 0.85rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 0.3rem;
    }

    .feeder-accordion-subtitle[b-uidrqo195f] {
        font-size: 0.72rem;
        color: #9ca3af;
        margin-top: 1px;
    }

    .feeder-chevron[b-uidrqo195f] {
        color: #9ca3af;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .feeder-chevron-open[b-uidrqo195f] {
        transform: rotate(180deg);
    }

    .feeder-accordion-body[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        padding: 14px 16px;
        gap: 10px;
        background-color: #fcfcfd;
    }

    .feeder-position-row[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
    }

        .feeder-position-row:last-of-type[b-uidrqo195f] {
            border-bottom: none;
        }

    .feeder-position-code-badge[b-uidrqo195f] {
        flex-shrink: 0;
        min-width: 42px;
        text-align: center;
        padding: 4px 8px;
        border-radius: 6px;
        background-color: #eff6ff;
        color: #0040be;
        font-size: 0.72rem;
        font-weight: 700;
        font-family: 'Courier New', monospace;
    }

    .feeder-position-info[b-uidrqo195f] {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
    }

    .feeder-position-part[b-uidrqo195f] {
        font-size: 0.8rem;
        color: #111827;
        font-weight: 600;
    }

    .feeder-position-part-empty[b-uidrqo195f] {
        color: #9ca3af;
        font-weight: 500;
        font-style: italic;
    }

    .feeder-position-qty[b-uidrqo195f] {
        font-size: 0.7rem;
        color: #9ca3af;
    }

    .feeder-position-actions[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .feeder-add-in-kategori[b-uidrqo195f] {
        align-self: flex-start;
        margin-top: 4px;
    }

    .feeder-kategori-lock-banner[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #fef3c7;
        border: 1px solid #fde68a;
        color: #92400e;
        border-radius: 6px;
        padding: 9px 12px;
        font-size: 0.75rem;
        margin-bottom: 16px;
    }

        .feeder-kategori-lock-banner svg[b-uidrqo195f] {
            flex-shrink: 0;
        }

    .feeder-kategori-locked[b-uidrqo195f] {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        background-color: #f3f4f6;
        font-size: 0.8rem;
        font-weight: 700;
        color: #374151;
    }

        .feeder-kategori-locked span[b-uidrqo195f] {
            font-weight: 500;
            font-size: 0.68rem;
            color: #9ca3af;
        }

    .feeder-warning-text[b-uidrqo195f] {
        display: block;
        font-size: 0.7rem;
        color: #b45309;
        margin-top: 4px;
    }

    .feeder-error-text[b-uidrqo195f] {
        display: block;
        font-size: 0.72rem;
        color: #b91c1c;
        background-color: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 6px;
        padding: 8px 10px;
        margin-top: 4px;
    }

    .feeder-add-model-btn[b-uidrqo195f] {
        width: fit-content;
        margin-top: 4px;
    }

    .feeder-empty-dashed + .feeder-add-model-btn[b-uidrqo195f] {
        margin-top: 12px;
    }

.feeder-add-model-inline-btn[b-uidrqo195f] {
    margin-left: auto;
    white-space: nowrap;
}

.feeder-filter-inline-select:disabled[b-uidrqo195f] {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* ---------- Material IC (SMT-1 s/d SMT-3) ---------- */
.feeder-ic-info-banner[b-uidrqo195f] {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

    .feeder-ic-info-banner svg[b-uidrqo195f] {
        flex-shrink: 0;
    }

.feeder-position-code-badge-ic[b-uidrqo195f] {
    background-color: #ecfdf5;
    color: #047857;
}

/* ---------- Switch Tabel 1-4 (SMT-2 / SMT-3) ---------- */
.view-switch[b-uidrqo195f] {
    display: inline-flex;
    align-self: flex-start; /* .feeder-accordion-body itu flex column, jangan melebar penuh */
    max-width: 100%;
    overflow-x: auto;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.view-switch-btn[b-uidrqo195f] {
    height: 32px;
    padding: 0 14px;
    background-color: #ffffff;
    border: none;
    border-right: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .view-switch-btn:last-child[b-uidrqo195f] {
        border-right: none;
    }

    .view-switch-btn:hover[b-uidrqo195f] {
        background-color: #f9fafb;
    }

.view-switch-btn-active[b-uidrqo195f],
.view-switch-btn-active:hover[b-uidrqo195f] {
    background-color: #eff6ff;
    color: #0040be;
}

/* ==========================================================================
   FEEDER — POLISH & RESPONSIVE (tambahan, harus di PALING BAWAH file)
   ========================================================================== */

/* Nama mesin & jumlah model tidak boleh patah baris */
.feeder-mesin-title[b-uidrqo195f],
.feeder-mesin-subtitle[b-uidrqo195f] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nama material / part number panjang ikut turun baris, tidak mendorong tombol */
.feeder-position-part[b-uidrqo195f],
.feeder-position-qty[b-uidrqo195f] {
    overflow-wrap: anywhere;
}

/* ---------- Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
    .dashboard-header[b-uidrqo195f] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .dashboard-divider[b-uidrqo195f] {
        margin: 14px 0 16px 0;
    }

    .material-card[b-uidrqo195f] {
        padding: 14px;
    }

    .card-dashed-divider[b-uidrqo195f] {
        margin: 12px 0 14px 0;
    }

    /* ----- Baris mesin ----- */
    .feeder-mesin-list[b-uidrqo195f] {
        gap: 12px;
    }

    .feeder-mesin-row[b-uidrqo195f] {
        gap: 12px;
        padding: 12px;
    }

    .feeder-mesin-row-right[b-uidrqo195f] {
        gap: 8px;
    }

    /* ----- Panel yang terbuka ----- */
    .feeder-mesin-expand[b-uidrqo195f] {
        padding: 12px;
    }

    /* Tombol Tambah Model di atas, dropdown Model Aktif di bawah */
    .feeder-filter-bar[b-uidrqo195f] {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 14px;
    }

    .feeder-filter-inline[b-uidrqo195f] {
        display: flex;
        width: 100%;
    }

    .feeder-filter-inline-label[b-uidrqo195f] {
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .feeder-filter-inline-select[b-uidrqo195f] {
        flex: 1;
        width: 100%;
        min-width: 0;
        height: 40px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 0.85rem;
    }

    .feeder-add-model-inline-btn[b-uidrqo195f] {
        width: 100%;
        height: 40px;
        margin-left: 0;
    }

    .feeder-kategori-lock-banner[b-uidrqo195f] {
        align-items: flex-start;
        margin-bottom: 14px;
        line-height: 1.45;
    }

        .feeder-kategori-lock-banner svg[b-uidrqo195f] {
            margin-top: 2px;
        }

    .feeder-empty-dashed[b-uidrqo195f] {
        padding: 28px 16px;
    }

    /* ----- Card model (accordion) ----- */
    .feeder-accordion-header[b-uidrqo195f] {
        padding: 12px;
        gap: 10px;
    }

    .feeder-accordion-body[b-uidrqo195f] {
        padding: 12px;
    }

    .feeder-position-row[b-uidrqo195f] {
        gap: 10px;
    }

    .btn-edit-material[b-uidrqo195f],
    .btn-remove-material[b-uidrqo195f] {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .feeder-add-in-kategori[b-uidrqo195f] {
        align-self: stretch;
        height: 40px;
    }

    /* Tombol Tabel 1-4 / Feeder / IC: selebar panel, dibagi rata */
    .view-switch[b-uidrqo195f] {
        display: flex;
        align-self: stretch;
    }

    .view-switch-btn[b-uidrqo195f] {
        flex: 1 0 auto;
        height: 38px;
    }

    /* ----- Modal jadi bottom sheet (sama seperti halaman lain) ----- */
    .scan-modal-overlay[b-uidrqo195f] {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .scan-modal-box[b-uidrqo195f] {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)) 16px;
        box-sizing: border-box;
        animation: feeder-slide-up-b-uidrqo195f 0.22s ease-out;
    }

    .scan-input[b-uidrqo195f] {
        height: 40px;
        font-size: 0.85rem;
    }

    .modal-actions-row[b-uidrqo195f] {
        gap: 8px;
    }

        .modal-actions-row .btn-outline[b-uidrqo195f] {
            flex: 1;
            height: 40px;
        }
}

@keyframes feeder-slide-up-b-uidrqo195f {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}
/* _content/MMS.Web/Components/Pages/MasterData/Machines.razor.rz.scp.css */
/* ==========================================================================
   MESIN AMP - gaya disamakan dengan Data Material (Master Data):
   tajam (tanpa border-radius), header, tombol, card, tabel, dan modal
   ========================================================================== */

.dashboard-container[b-s7yisbzec7] {
    width: 100%;
}

.dashboard-header[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-actions[b-s7yisbzec7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-text[b-s7yisbzec7] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-s7yisbzec7] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-s7yisbzec7] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan Data Material */
*[b-s7yisbzec7],
*[b-s7yisbzec7]::before,
*[b-s7yisbzec7]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman lain) */
.dashboard-container[b-s7yisbzec7] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-s7yisbzec7] {
    min-height: 300px;
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.state-text[b-s7yisbzec7] {
    padding: 24px 0;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* ---------- BUTTONS HEADER (disamakan dengan Data Material) ---------- */
.btn[b-s7yisbzec7] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-s7yisbzec7] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-s7yisbzec7] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-s7yisbzec7] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-s7yisbzec7] {
        background-color: #003399;
    }

.btn-icon-white[b-s7yisbzec7] {
    filter: brightness(0) invert(1);
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-s7yisbzec7] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-s7yisbzec7] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-s7yisbzec7] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* ---------- BUTTONS ---------- */
.btn-outline[b-s7yisbzec7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

    .btn-outline:hover[b-s7yisbzec7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-s7yisbzec7] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary-outline[b-s7yisbzec7] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-s7yisbzec7] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

/* ---------- CARD ---------- */
.material-card[b-s7yisbzec7] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-s7yisbzec7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-s7yisbzec7] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-s7yisbzec7] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-s7yisbzec7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-s7yisbzec7] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---------- TABLE ---------- */
.material-table-wrapper[b-s7yisbzec7] {
    width: 100%;
    overflow-x: auto;
    min-height: 120px;
}

.production-table[b-s7yisbzec7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table thead th[b-s7yisbzec7] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-s7yisbzec7] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-s7yisbzec7] {
        background-color: #f9fafb;
    }

.th-no-col[b-s7yisbzec7] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-s7yisbzec7] {
    text-align: center;
}

.th-status-col[b-s7yisbzec7] {
    width: 110px;
    text-align: center;
}

.td-status-col[b-s7yisbzec7] {
    text-align: center;
}

.th-action-col[b-s7yisbzec7] {
    width: 220px;
    text-align: center;
}

.td-action-col[b-s7yisbzec7] {
    text-align: center;
}

.td-kode-material[b-s7yisbzec7] {
    font-weight: 600;
    color: #0040be;
}

.td-nama[b-s7yisbzec7] {
    font-weight: 600;
    color: #111827;
}

.td-mono[b-s7yisbzec7] {
    font-size: 0.75rem;
    color: #374151;
}

.td-empty-state[b-s7yisbzec7] {
    text-align: center;
    padding: 32px 14px;
    color: #9ca3af;
    font-weight: 500;
}

    .td-empty-state p[b-s7yisbzec7] {
        margin: 0 0 14px 0;
        font-size: 0.85rem;
    }

.td-empty-title[b-s7yisbzec7] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
}

.type-badge[b-s7yisbzec7] {
    display: inline-block;
    padding: 2px 8px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 0.72rem;
    font-weight: 700;
    color: #374151;
}

.status-badge[b-s7yisbzec7] {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-active[b-s7yisbzec7] {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive[b-s7yisbzec7] {
    background-color: #fef3c7;
    color: #92400e;
}

/* Tombol aksi di baris tabel (Partlist / Ubah / Hapus) */
.td-row-actions[b-s7yisbzec7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-row-action[b-s7yisbzec7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-row-action:hover[b-s7yisbzec7] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

.btn-row-danger[b-s7yisbzec7] {
    color: #b42318;
}

    .btn-row-danger:hover[b-s7yisbzec7] {
        border-color: #b42318;
        background-color: #fef2f2;
        color: #b42318;
    }

/* ---------- MODAL (gaya sama dengan modal Sunting/Tambah di Data Material) ---------- */
.md-modal-overlay[b-s7yisbzec7] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.md-modal-box[b-s7yisbzec7] {
    background-color: #ffffff;
    width: 100%;
    max-width: 560px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.mc-modal-box[b-s7yisbzec7] {
    max-width: 860px;
}

.md-modal-header[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.md-modal-title-wrap[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.md-modal-title[b-s7yisbzec7] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.md-modal-subtitle[b-s7yisbzec7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.md-modal-close[b-s7yisbzec7] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .md-modal-close:hover[b-s7yisbzec7] {
        color: #374151;
    }

.md-dash[b-s7yisbzec7] {
    width: 100%;
    height: 1px;
    margin: 14px 0 16px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.mc-modal-body[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.md-mfield[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.md-ml[b-s7yisbzec7] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.md-mi[b-s7yisbzec7] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
}

    .md-mi:focus[b-s7yisbzec7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.md-modal-actions[b-s7yisbzec7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.mc-row-2[b-s7yisbzec7] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.mc-row-3[b-s7yisbzec7] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

/* Blok konfigurasi (Table feeder / Axial-Radial / Jumper) */
.mc-section[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.mc-section-head[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mc-section-title[b-s7yisbzec7] {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mc-section-hint[b-s7yisbzec7] {
    margin-top: 2px;
    font-size: 0.72rem;
    color: #6b7280;
}

.mc-section-text[b-s7yisbzec7] {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7280;
}

.mc-inline[b-s7yisbzec7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-inline-label[b-s7yisbzec7] {
    margin-bottom: 0;
}

.mc-num[b-s7yisbzec7] {
    width: 76px;
    text-align: center;
    font-weight: 700;
}

.mc-table-list[b-s7yisbzec7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-table-row[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.mc-table-name[b-s7yisbzec7] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0040be;
}

.mc-table-label[b-s7yisbzec7] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.mc-chip[b-s7yisbzec7] {
    display: inline-block;
    padding: 2px 8px;
    background-color: #eff6ff;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0040be;
}

.mc-preview[b-s7yisbzec7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
    color: #374151;
}

.mc-accent[b-s7yisbzec7] {
    color: #0040be;
}

@media (max-width: 640px) {
    .dashboard-header[b-s7yisbzec7] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .mc-row-2[b-s7yisbzec7],
    .mc-row-3[b-s7yisbzec7] {
        grid-template-columns: 1fr;
    }

    .mc-table-row[b-s7yisbzec7] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* _content/MMS.Web/Components/Pages/MasterData/MaterialData.razor.rz.scp.css */
.dashboard-container[b-b8wj3hmvmh] {
    width: 100%;
}

.dashboard-header[b-b8wj3hmvmh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-b8wj3hmvmh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-actions[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-text[b-b8wj3hmvmh] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-b8wj3hmvmh] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-b8wj3hmvmh] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan halaman QC, Material AMP, Laporan, dan Feeder */
*[b-b8wj3hmvmh],
*[b-b8wj3hmvmh]::before,
*[b-b8wj3hmvmh]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman lain) */
.dashboard-container[b-b8wj3hmvmh] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-b8wj3hmvmh] {
    min-height: 300px;
    border: none;
    padding: 0;
    background-color: transparent;
}

.empty-state-text[b-b8wj3hmvmh] {
    color: #ef4444;
    font-size: 0.85rem;
}

/* BUTTONS HEADER (disamakan dengan Material AMP) */
.btn[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-b8wj3hmvmh] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-b8wj3hmvmh] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-b8wj3hmvmh] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-b8wj3hmvmh] {
        background-color: #003399;
    }

.btn-icon-white[b-b8wj3hmvmh] {
    filter: brightness(0) invert(1);
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-b8wj3hmvmh] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-b8wj3hmvmh] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-b8wj3hmvmh] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* BUTTONS */
.btn-outline[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-b8wj3hmvmh] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-b8wj3hmvmh] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Tombol + Tambah Material: ukuran disamakan dengan tombol Filter Tipe di Material Defect
   (tinggi 32px, padding 0 12px, font 0.75rem). Hanya untuk tombol di header card,
   tombol Batal/Simpan di modal tidak ikut berubah. */
.btn-outline.btn-add-material[b-b8wj3hmvmh] {
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-primary-outline[b-b8wj3hmvmh] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-b8wj3hmvmh] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

/* CARD */
.material-card[b-b8wj3hmvmh] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-b8wj3hmvmh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-b8wj3hmvmh] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-b8wj3hmvmh] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-b8wj3hmvmh] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-b8wj3hmvmh] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* TOOLBAR */
.material-toolbar-row[b-b8wj3hmvmh] {
    --toolbar-height: 30px; /* sama dengan search bar di Material AMP */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.material-search-box[b-b8wj3hmvmh] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    flex: 1;
}

.search-icon[b-b8wj3hmvmh] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-b8wj3hmvmh] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .search-input:focus[b-b8wj3hmvmh] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-b8wj3hmvmh]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-b8wj3hmvmh] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

.filter-select[b-b8wj3hmvmh] {
    height: var(--toolbar-height);
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    outline: none;
}

    .filter-select:focus[b-b8wj3hmvmh] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

/* TABLE */
.material-table-wrapper[b-b8wj3hmvmh] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-b8wj3hmvmh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table thead th[b-b8wj3hmvmh] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-b8wj3hmvmh] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-b8wj3hmvmh] {
        background-color: #f9fafb;
    }

    .production-table tbody tr.modal-detail-row:hover td[b-b8wj3hmvmh] {
        background-color: #f9fafb;
    }

.th-no-col[b-b8wj3hmvmh] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-b8wj3hmvmh] {
    text-align: center;
}

.td-kode-material[b-b8wj3hmvmh] {
    font-weight: 600;
    color: #0040be;
}

.td-empty-state[b-b8wj3hmvmh] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
    white-space: normal !important;
}

.th-expand-col[b-b8wj3hmvmh], .td-expand-col[b-b8wj3hmvmh] {
    width: 40px;
    text-align: center;
}

.modal-table-row[b-b8wj3hmvmh] {
    cursor: pointer;
}

.row-expand-icon[b-b8wj3hmvmh] {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.row-expand-icon-open[b-b8wj3hmvmh] {
    transform: rotate(180deg);
}

.modal-detail-row td[b-b8wj3hmvmh] {
    background-color: #f9fafb;
    padding: 16px;
}

.count-badge[b-b8wj3hmvmh] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    background-color: #eff6ff;
    color: #0040be;
}

.count-badge-empty[b-b8wj3hmvmh] {
    background-color: #f3f4f6;
    color: #9ca3af;
}

/* DETAIL (expand) */
.detail-block[b-b8wj3hmvmh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    white-space: normal;
}

.detail-line[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-line-top[b-b8wj3hmvmh] {
    align-items: flex-start;
}

.detail-label[b-b8wj3hmvmh] {
    min-width: 170px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
}

.detail-value[b-b8wj3hmvmh] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.model-chip-list[b-b8wj3hmvmh] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.model-chip[b-b8wj3hmvmh] {
    padding: 3px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #111827;
}

/* Pagination controls */
.modal-pagination[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.modal-jump-box[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-pagination-controls[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-ellipsis[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    color: #9ca3af;
    font-size: 0.8rem;
    user-select: none;
}

.pagination-page[b-b8wj3hmvmh] {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Page jump dropdown */
.modal-jump-trigger-container[b-b8wj3hmvmh] {
    position: relative;
}

.modal-jump-trigger[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.75rem;
    color: #111827;
    cursor: pointer;
}

.modal-jump-chevron[b-b8wj3hmvmh] {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.modal-jump-chevron-open[b-b8wj3hmvmh] {
    transform: rotate(180deg);
}

.modal-jump-backdrop[b-b8wj3hmvmh] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.modal-jump-dropdown[b-b8wj3hmvmh] {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 20;
    min-width: 60px;
}

.modal-jump-option[b-b8wj3hmvmh] {
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    font-size: 0.75rem;
    color: #374151;
}

    .modal-jump-option:hover[b-b8wj3hmvmh] {
        background-color: #f3f4f6;
    }

.modal-jump-option-active[b-b8wj3hmvmh] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

.pagination-btn[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
}

    .pagination-btn:hover:not(:disabled)[b-b8wj3hmvmh] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-b8wj3hmvmh] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pagination-page-active[b-b8wj3hmvmh] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .pagination-page-active:hover:not(:disabled)[b-b8wj3hmvmh] {
        background-color: #0040be;
    }

/* MODAL IMPORT */
.scan-modal-overlay[b-b8wj3hmvmh] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.scan-modal-box[b-b8wj3hmvmh] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.scan-modal-header[b-b8wj3hmvmh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scan-modal-title[b-b8wj3hmvmh] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.scan-modal-close[b-b8wj3hmvmh] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .scan-modal-close:hover[b-b8wj3hmvmh] {
        color: #374151;
    }

.import-dropzone[b-b8wj3hmvmh] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

    .import-dropzone:hover[b-b8wj3hmvmh] {
        border-color: #0040be;
        background-color: #f0f5ff;
    }

.import-dropzone-text[b-b8wj3hmvmh] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.import-dropzone-link[b-b8wj3hmvmh] {
    color: #0040be;
    font-weight: 700;
}

.import-dropzone-hint[b-b8wj3hmvmh] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.import-file-info[b-b8wj3hmvmh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.import-file-name[b-b8wj3hmvmh] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    word-break: break-all;
}

.import-file-size[b-b8wj3hmvmh] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.import-warning[b-b8wj3hmvmh] {
    padding: 9px 12px;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    color: #92400e;
    font-size: 0.75rem;
}

.import-error[b-b8wj3hmvmh] {
    padding: 9px 12px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: 500;
}

.modal-actions-row[b-b8wj3hmvmh] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .material-toolbar-row[b-b8wj3hmvmh] {
        flex-direction: column;
        align-items: stretch;
    }

    .material-search-box[b-b8wj3hmvmh] {
        max-width: 100%;
    }

    .detail-line[b-b8wj3hmvmh] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .dashboard-header[b-b8wj3hmvmh] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    /* Mobile pagination layout */
    .modal-pagination[b-b8wj3hmvmh] {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .modal-pagination-controls[b-b8wj3hmvmh] {
        justify-content: center;
        gap: 3px;
        max-width: 100%;
    }

    .pagination-btn[b-b8wj3hmvmh] {
        min-width: 32px;
        height: 32px;
    }

    .pagination-ellipsis[b-b8wj3hmvmh] {
        min-width: 20px;
        height: 32px;
    }

    .modal-jump-trigger[b-b8wj3hmvmh] {
        padding: 6px 10px;
    }
}

/* Action column */
.th-edit-col[b-b8wj3hmvmh] {
    width: 80px;
    text-align: center;
}

.td-edit-col[b-b8wj3hmvmh] {
    text-align: center;
}

.td-edit-actions[b-b8wj3hmvmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit-material[b-b8wj3hmvmh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-edit-material:hover:not(:disabled)[b-b8wj3hmvmh] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

/* Edit modal styling */
.md-modal-overlay[b-b8wj3hmvmh] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.md-modal-box[b-b8wj3hmvmh] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.md-modal-header[b-b8wj3hmvmh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.md-modal-title-wrap[b-b8wj3hmvmh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.md-modal-title[b-b8wj3hmvmh] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.md-modal-subtitle[b-b8wj3hmvmh] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.md-modal-close[b-b8wj3hmvmh] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .md-modal-close:hover[b-b8wj3hmvmh] {
        color: #374151;
    }

.md-dash[b-b8wj3hmvmh] {
    width: 100%;
    height: 1px;
    margin: 14px 0 16px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.md-mgrid[b-b8wj3hmvmh] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.md-mfield[b-b8wj3hmvmh] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.md-ml[b-b8wj3hmvmh] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.md-mi[b-b8wj3hmvmh] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
}

    .md-mi:focus[b-b8wj3hmvmh] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.md-modal-actions[b-b8wj3hmvmh] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
/* _content/MMS.Web/Components/Pages/MasterData/ModelBom.razor.rz.scp.css */
.dashboard-container[b-tg3vzugoon] {
    width: 100%;
}

.dashboard-header[b-tg3vzugoon] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-tg3vzugoon] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-tg3vzugoon] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-tg3vzugoon] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan Data Material, Material AMP, dan Material Defect */
*[b-tg3vzugoon],
*[b-tg3vzugoon]::before,
*[b-tg3vzugoon]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman lain) */
.dashboard-container[b-tg3vzugoon] {
    padding: 0 !important;
}

/* Wrapper konten: polos, tanpa kotak dashed, tanpa padding/margin dari app.css */
.production-content-placeholder[b-tg3vzugoon] {
    min-height: 300px;
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.material-card[b-tg3vzugoon] {
    margin: 0;
}

.empty-state-text[b-tg3vzugoon] {
    color: #ef4444;
    font-size: 0.85rem;
}

/* ---------- BUTTONS ---------- */
.btn-outline[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-tg3vzugoon] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-tg3vzugoon] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary-outline[b-tg3vzugoon] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-tg3vzugoon] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

/* ---------- CARD ---------- */
.material-card[b-tg3vzugoon] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-tg3vzugoon] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-tg3vzugoon] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-tg3vzugoon] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-tg3vzugoon] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-tg3vzugoon] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---------- SEARCH ---------- */
.search-icon[b-tg3vzugoon] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-tg3vzugoon] {
    width: 100%;
    height: 30px; /* sama dengan search bar di Material AMP */
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .search-input:focus[b-tg3vzugoon] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-tg3vzugoon]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-tg3vzugoon] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

/* ============================================================ */
/* SPLIT VIEW: dua card terpisah (kiri = cari + daftar model,    */
/* kanan = detail BOM)                                           */
/* ============================================================ */
.bom-split[b-tg3vzugoon] {
    display: flex;
    gap: 16px;
    min-height: 480px;
}

/* ---------- Card kiri ---------- */
.bom-list-panel[b-tg3vzugoon] {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    contain: size;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.bom-list-head[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.bom-search[b-tg3vzugoon] {
    position: relative;
    display: flex;
    align-items: center;
    height: 30px; /* sama dengan search bar di Material AMP */
}

.bom-filter-row[b-tg3vzugoon] {
    display: flex;
    gap: 8px;
}

/* Tombol Filter / Urutkan + menu */
.bom-menu-wrap[b-tg3vzugoon] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bom-menu-btn[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-menu-btn > span:first-child[b-tg3vzugoon] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bom-menu-btn:hover[b-tg3vzugoon] {
        border-color: #9ca3af;
    }

.bom-menu-btn-active[b-tg3vzugoon],
.bom-menu-btn-active:hover[b-tg3vzugoon] {
    background-color: #eff6ff;
    border-color: #0040be;
    color: #0040be;
}

.bom-caret[b-tg3vzugoon] {
    font-size: 0.65rem;
    opacity: 0.7;
}

.bom-menu-backdrop[b-tg3vzugoon] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.bom-menu[b-tg3vzugoon] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    width: max-content;
    z-index: 21;
    display: flex;
    flex-direction: column;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bom-menu-item[b-tg3vzugoon] {
    padding: 8px 10px;
    background: none;
    border: none;
    border-radius: 6px;
    text-align: left;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
}

    .bom-menu-item:hover[b-tg3vzugoon] {
        background-color: #f3f4f6;
    }

.bom-menu-item-active[b-tg3vzugoon],
.bom-menu-item-active:hover[b-tg3vzugoon] {
    background-color: #eff6ff;
    color: #0040be;
}

/* Daftar model: satu baris per model */
.bom-list-scroll[b-tg3vzugoon] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.bom-list-empty[b-tg3vzugoon] {
    padding: 28px 16px;
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
}

.bom-item[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    min-height: 52px;
    padding: 0 14px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-item:hover[b-tg3vzugoon] {
        border-color: #9ca3af;
        background-color: #f9fafb;
    }

.bom-item-active[b-tg3vzugoon],
.bom-item-active:hover[b-tg3vzugoon] {
    background-color: #eff6ff;
    border-color: #0040be;
}

.bom-item-name[b-tg3vzugoon] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
}

.bom-item-active .bom-item-name[b-tg3vzugoon] {
    color: #0040be;
}

.bom-item-count[b-tg3vzugoon] {
    flex-shrink: 0;
    padding: 2px 9px;
    border-radius: 10px;
    background-color: #f3f4f6;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.bom-item-active .bom-item-count[b-tg3vzugoon] {
    background-color: #ffffff;
    color: #0040be;
}

/* ---------- Card kanan ---------- */
.bom-detail-panel[b-tg3vzugoon] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bom-d-header[b-tg3vzugoon] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bom-d-text[b-tg3vzugoon] {
    display: flex;
    flex-direction: row; /* sebelumnya column */
    align-items: center; /* sejajar vertikal dengan judul */
    flex-wrap: wrap; /* kalau judul panjang, badge turun otomatis */
    gap: 12px;
    min-width: 0;
}

.bom-d-title[b-tg3vzugoon] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.bom-d-sub[b-tg3vzugoon] {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
}

.bom-d-flag[b-tg3vzugoon] {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 6px;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: help;
}

.bom-d-actions[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.bom-d-warn[b-tg3vzugoon] {
    padding: 0;
}

/* Kartu angka kategori (berfungsi sebagai tab) */
.bom-seg-row[b-tg3vzugoon] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.bom-seg[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-seg:hover[b-tg3vzugoon] {
        border-color: #9ca3af;
    }

.bom-seg-active[b-tg3vzugoon],
.bom-seg-active:hover[b-tg3vzugoon] {
    border-color: #0040be;
    box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
}

.bom-seg-label[b-tg3vzugoon] {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.bom-seg-count[b-tg3vzugoon] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.bom-seg-active .bom-seg-label[b-tg3vzugoon],
.bom-seg-active .bom-seg-count[b-tg3vzugoon] {
    color: #0040be;
}

.bom-part-tools[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .bom-part-tools .bom-part-search[b-tg3vzugoon] {
        flex: 1;
        max-width: 360px;
    }

.bom-more-wrap[b-tg3vzugoon] {
    flex: 0 0 auto;
}

.bom-more-btn[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-more-btn:hover[b-tg3vzugoon] {
        border-color: #9ca3af;
        background-color: #f9fafb;
    }

.bom-more-btn-active[b-tg3vzugoon],
.bom-more-btn-active:hover[b-tg3vzugoon] {
    border-color: #0040be;
    background-color: #eff6ff;
    color: #0040be;
}

/* Menu yang melebar ke kiri (supaya tidak keluar dari card) */
.bom-menu-right[b-tg3vzugoon] {
    left: auto;
    right: 0;
}

/* ---------- Tabel part ---------- */
.bom-part-scroll[b-tg3vzugoon] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.bom-part-table[b-tg3vzugoon] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

    .bom-part-table thead th[b-tg3vzugoon] {
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 10px 14px;
        background-color: #f3f4f6;
        border-bottom: 1px solid #e5e7eb;
        color: #374151;
        font-size: 0.71rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .bom-part-table tbody td[b-tg3vzugoon] {
        padding: 11px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .bom-part-table tbody tr:last-child td[b-tg3vzugoon] {
        border-bottom: none;
    }

    .bom-part-table tbody tr:hover td[b-tg3vzugoon] {
        background-color: #f9fafb;
    }

.bom-col-no[b-tg3vzugoon] {
    width: 56px;
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

.bom-col-num[b-tg3vzugoon] {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.bom-part-table tbody td.bom-col-num[b-tg3vzugoon] {
    font-weight: 700;
}

.bom-part-code[b-tg3vzugoon] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #0040be;
}

.bom-kode[b-tg3vzugoon] {
    padding: 2px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background-color: #f9fafb;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #111827;
}

.bom-unreg[b-tg3vzugoon] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
}

.bom-desc[b-tg3vzugoon] {
    display: block;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
}

.bom-muted[b-tg3vzugoon] {
    color: #d1d5db;
}

.bom-cat-tag[b-tg3vzugoon] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #374151;
}

.bom-qty-unit[b-tg3vzugoon] {
    display: none;
}

.bom-part-table tbody td.bom-part-empty[b-tg3vzugoon] {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
}

/* ---------- Pagination ---------- */
.bom-pager[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* sebelumnya space-between */
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

.bom-pager-btns[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bom-pg-btn[b-tg3vzugoon] {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .bom-pg-btn:hover:not(:disabled)[b-tg3vzugoon] {
        border-color: #0040be;
        color: #0040be;
    }

    .bom-pg-btn:disabled[b-tg3vzugoon] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.bom-pg-btn-active[b-tg3vzugoon],
.bom-pg-btn-active:hover:not(:disabled)[b-tg3vzugoon] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

.bom-pg-dots[b-tg3vzugoon] {
    padding: 0 2px;
    color: #9ca3af;
}

/* ---------- Empty state ---------- */
.bom-empty-state[b-tg3vzugoon] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 48px 20px;
    text-align: center;
}

.bom-empty-title[b-tg3vzugoon] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.bom-empty-sub[b-tg3vzugoon] {
    margin: 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ---------- Banner ---------- */
.import-warning[b-tg3vzugoon] {
    padding: 9px 12px;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    color: #92400e;
    font-size: 0.75rem;
}

.import-success[b-tg3vzugoon] {
    margin-bottom: 16px;
    padding: 9px 12px;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 500;
}

.import-error[b-tg3vzugoon] {
    padding: 9px 12px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---------- MODAL IMPORT ---------- */
.scan-modal-overlay[b-tg3vzugoon] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.scan-modal-box[b-tg3vzugoon] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.scan-modal-header[b-tg3vzugoon] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scan-modal-title[b-tg3vzugoon] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.scan-modal-close[b-tg3vzugoon] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .scan-modal-close:hover[b-tg3vzugoon] {
        color: #374151;
    }

.import-dropzone[b-tg3vzugoon] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

    .import-dropzone:hover[b-tg3vzugoon] {
        border-color: #0040be;
        background-color: #f0f5ff;
    }

.import-dropzone-text[b-tg3vzugoon] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.import-dropzone-link[b-tg3vzugoon] {
    color: #0040be;
    font-weight: 700;
}

.import-dropzone-hint[b-tg3vzugoon] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.import-file-info[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.import-file-name[b-tg3vzugoon] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    word-break: break-all;
}

.import-file-size[b-tg3vzugoon] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.modal-actions-row[b-tg3vzugoon] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

/* ---------- Tombol aksi di header card ---------- */
.material-card-actions[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Tombol header card: ukuran disamakan dengan tombol Filter Tipe di Material Defect
   (tinggi 32px, padding 0 12px, font 0.75rem). Tombol Edit/Batal/Simpan dan modal tidak ikut berubah. */
.material-card-actions .btn-outline[b-tg3vzugoon] {
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- MODAL TAMBAH MODEL ---------- */
.bom-add-box[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.bom-add-header[b-tg3vzugoon] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bom-add-title-wrap[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bom-add-subtitle[b-tg3vzugoon] {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6b7280;
}

.bom-add-divider[b-tg3vzugoon] {
    margin: 0;
}

.bom-add-grid[b-tg3vzugoon] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bom-add-field[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bom-add-field-full[b-tg3vzugoon] {
    grid-column: 1 / -1;
}

.bom-add-label[b-tg3vzugoon] {
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.bom-add-input[b-tg3vzugoon] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
    transition: all 0.15s ease;
}

    .bom-add-input:focus[b-tg3vzugoon] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.bom-add-mono[b-tg3vzugoon] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.bom-add-section[b-tg3vzugoon] {
    margin-top: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

.bom-add-rows[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bom-add-row[b-tg3vzugoon] {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 100px 32px;
    gap: 8px;
    align-items: start;
}

.bom-add-row-head[b-tg3vzugoon] {
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.bom-add-partcell[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bom-add-hint[b-tg3vzugoon] {
    font-size: 0.68rem;
    font-weight: 600;
}

.bom-add-hint-ok[b-tg3vzugoon] {
    color: #166534;
}

.bom-add-hint-warn[b-tg3vzugoon] {
    color: #b45309;
}

.bom-add-del[b-tg3vzugoon] {
    width: 32px;
    height: 36px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-add-del:hover:not(:disabled)[b-tg3vzugoon] {
        border-color: #ef4444;
        background-color: #fef2f2;
        color: #ef4444;
    }

    .bom-add-del:disabled[b-tg3vzugoon] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.bom-add-more[b-tg3vzugoon] {
    align-self: flex-start;
    padding: 8px 14px;
    background-color: #ffffff;
    border: 1px dashed #9ca3af;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-add-more:hover[b-tg3vzugoon] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

/* ---------- RESPONSIVE ---------- */

/* Tablet & mobile: dua card ditumpuk, model dipilih lewat dropdown */
@media (max-width: 900px) {
    .bom-split[b-tg3vzugoon] {
        flex-direction: column;
        height: auto;
        min-height: 0; /* TAMBAHAN */
    }

    .bom-list-panel[b-tg3vzugoon] {
        width: 100%;
        overflow: visible;
        contain: none; /* TAMBAHAN */
    }

    .bom-list-head[b-tg3vzugoon] {
        border-bottom: none; /* garis pemisah dihapus */
    }

    .bom-model-dd[b-tg3vzugoon] {
        display: block;
    }

    .bom-list-scroll[b-tg3vzugoon] {
        display: none; /* daftar model diganti dropdown */
    }
}

/* Mobile: kategori jadi chip, tabel jadi kartu per part */
@media (max-width: 640px) {
    .material-card[b-tg3vzugoon] {
        padding: 14px;
    }

    .bom-detail-panel[b-tg3vzugoon] {
        padding: 14px;
    }

    .bom-d-header[b-tg3vzugoon] {
        flex-wrap: wrap;
    }

    .bom-d-actions[b-tg3vzugoon] {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .bom-menu-btn[b-tg3vzugoon] {
        height: 40px;
    }

    .bom-part-search[b-tg3vzugoon] {
        max-width: none;
    }

    .bom-part-tools .bom-part-search[b-tg3vzugoon] {
        max-width: none;
    }

    .bom-more-btn[b-tg3vzugoon] {
        width: 40px;
        height: 40px;
    }

    .bom-seg-row[b-tg3vzugoon] {
        display: flex;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .bom-seg[b-tg3vzugoon] {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 20px;
    }

    .bom-seg-count[b-tg3vzugoon] {
        font-size: 0.8rem;
    }

    .bom-part-scroll[b-tg3vzugoon] {
        overflow: visible;
        border: none;
    }

    .bom-part-table[b-tg3vzugoon],
    .bom-part-table tbody[b-tg3vzugoon] {
        display: block;
    }

        .bom-part-table thead[b-tg3vzugoon] {
            display: none;
        }

        .bom-part-table tbody tr[b-tg3vzugoon] {
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-areas:
                "pn qty"
                "ku cat"
                "desc desc";
            align-items: center;
            gap: 8px 12px;
            margin-bottom: 10px;
            padding: 12px 14px;
            background-color: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
        }

        .bom-part-table tbody td[b-tg3vzugoon] {
            padding: 0;
            border: none;
            white-space: normal;
        }

    .bom-td-no[b-tg3vzugoon] {
        display: none;
    }

    .bom-td-pn[b-tg3vzugoon] {
        grid-area: pn;
    }

    .bom-td-ku[b-tg3vzugoon] {
        grid-area: ku;
    }

    .bom-td-cat[b-tg3vzugoon] {
        grid-area: cat;
    }

    .bom-td-desc[b-tg3vzugoon] {
        grid-area: desc;
    }

    .bom-td-qty[b-tg3vzugoon] {
        grid-area: qty;
    }

    .bom-part-table tbody td.bom-td-qty[b-tg3vzugoon] {
        font-size: 1.1rem;
    }

    .bom-qty-unit[b-tg3vzugoon] {
        display: inline;
        font-size: 0.7rem;
        font-weight: 500;
        color: #6b7280;
    }

    .bom-part-table tbody td.bom-part-empty[b-tg3vzugoon] {
        grid-column: 1 / -1;
    }

    .bom-pg-btn[b-tg3vzugoon] {
        min-width: 40px;
        height: 40px;
    }
}

/* Dropdown pilih model: hanya tampil di tablet & mobile */
.bom-model-dd[b-tg3vzugoon] {
    flex: none;
}

@media (min-width: 901px) {
    .bom-model-dd[b-tg3vzugoon] {
        display: none;
    }
}

.bom-menu-model[b-tg3vzugoon] {
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
}

.bom-menu-item-model[b-tg3vzugoon] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bom-menu-item-name[b-tg3vzugoon] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bom-menu-item-active .bom-item-count[b-tg3vzugoon] {
    background-color: #ffffff;
    color: #0040be;
}

.bom-menu-empty[b-tg3vzugoon] {
    padding: 10px;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

.bom-d-cavity[b-tg3vzugoon] {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 999px; /* Membuat sudut melengkung sempurna (pill) */
    font-size: 0.72rem;
    color: #6b7280; /* Warna teks sekunder agar tidak menyaingi judul utama */
    width: fit-content;
}

    .bom-d-cavity b[b-tg3vzugoon] {
        margin-left: 4px;
        color: #0040be; /* Menggunakan warna aksen biru utama aplikasi Anda */
        font-weight: 700;
    }

/* ---------- Tab detail: BOM | Process Time ---------- */
.bom-tabs[b-tg3vzugoon] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.bom-tab[b-tg3vzugoon] {
    margin-bottom: -1px;
    padding: 8px 14px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .bom-tab:hover[b-tg3vzugoon] {
        color: #111827;
    }

.bom-tab-active[b-tg3vzugoon],
.bom-tab-active:hover[b-tg3vzugoon] {
    color: #0040be;
    border-bottom-color: #0040be;
}

@media (max-width: 640px) {
    .bom-tab[b-tg3vzugoon] {
        min-height: 40px;
    }
}

/* ---------- Hasil import process time ---------- */
.ptimp-block[b-tg3vzugoon] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ptimp-title[b-tg3vzugoon] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
}

.ptimp-list[b-tg3vzugoon] {
    margin: 0;
    padding: 8px 8px 8px 26px;
    max-height: 160px;
    overflow-y: auto;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #374151;
}
/* _content/MMS.Web/Components/Pages/MasterData/ProcessTimePanel.razor.rz.scp.css */
.pt-panel[b-afpjqp2hzi] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pt-toolbar[b-afpjqp2hzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pt-toolbar-text[b-afpjqp2hzi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pt-title[b-afpjqp2hzi] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.pt-sub[b-afpjqp2hzi] {
    font-size: 0.72rem;
    color: #6b7280;
}

.pt-toolbar-actions[b-afpjqp2hzi] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Action buttons */
.btn-outline[b-afpjqp2hzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-afpjqp2hzi] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .btn-outline:disabled[b-afpjqp2hzi] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary-outline[b-afpjqp2hzi] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .btn-primary-outline:hover[b-afpjqp2hzi] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

/* ---------- Banner ---------- */
.pt-success[b-afpjqp2hzi] {
    padding: 9px 12px;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 500;
}

.pt-error[b-afpjqp2hzi] {
    padding: 9px 12px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---------- Tabel ---------- */
.pt-scroll[b-afpjqp2hzi] {
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.pt-table[b-afpjqp2hzi] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

    .pt-table thead th[b-afpjqp2hzi] {
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 10px 14px;
        background-color: #f3f4f6;
        border-bottom: 1px solid #e5e7eb;
        color: #374151;
        font-size: 0.71rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .pt-table tbody td[b-afpjqp2hzi] {
        padding: 9px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .pt-table tbody tr:last-child td[b-afpjqp2hzi] {
        border-bottom: none;
    }

    .pt-table tbody tr:hover td[b-afpjqp2hzi] {
        background-color: #f9fafb;
    }

.pt-col-no[b-afpjqp2hzi] {
    width: 56px;
    color: #9ca3af;
    font-variant-numeric: tabular-nums;
}

.pt-col-num[b-afpjqp2hzi] {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.pt-table tbody td.pt-col-num[b-afpjqp2hzi] {
    font-weight: 700;
}

.pt-mesin[b-afpjqp2hzi] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #0040be;
}

.pt-unset[b-afpjqp2hzi] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
}

.pt-muted[b-afpjqp2hzi] {
    color: #d1d5db;
}

.pt-unit[b-afpjqp2hzi] {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
}

.pt-input[b-afpjqp2hzi] {
    width: 120px;
    height: 32px;
    padding: 0 10px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    color: #111827;
    outline: none;
    transition: all 0.15s ease;
}

    .pt-input:focus[b-afpjqp2hzi] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.pt-note[b-afpjqp2hzi] {
    margin: 0;
    font-size: 0.72rem;
    color: #9ca3af;
}

.pt-empty[b-afpjqp2hzi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 40px 20px;
    text-align: center;
}

.pt-empty-title[b-afpjqp2hzi] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.pt-empty-sub[b-afpjqp2hzi] {
    margin: 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ---------- Mobile: baris jadi kartu ---------- */
@media (max-width: 640px) {
    .pt-scroll[b-afpjqp2hzi] {
        overflow: visible;
        border: none;
    }

    .pt-table[b-afpjqp2hzi],
    .pt-table tbody[b-afpjqp2hzi] {
        display: block;
    }

        .pt-table thead[b-afpjqp2hzi] {
            display: none;
        }

        .pt-table tbody tr[b-afpjqp2hzi] {
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-areas:
                "mesin time"
                "cat cap";
            align-items: center;
            gap: 8px 12px;
            margin-bottom: 10px;
            padding: 12px 14px;
            background-color: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
        }

        .pt-table tbody td[b-afpjqp2hzi] {
            padding: 0;
            border: none;
            white-space: normal;
        }

    .pt-td-no[b-afpjqp2hzi] {
        display: none;
    }

    .pt-td-mesin[b-afpjqp2hzi] {
        grid-area: mesin;
    }

    .pt-td-time[b-afpjqp2hzi] {
        grid-area: time;
    }

    .pt-td-cat[b-afpjqp2hzi] {
        grid-area: cat;
        color: #6b7280;
        font-size: 0.75rem;
    }

    .pt-td-cap[b-afpjqp2hzi] {
        grid-area: cap;
        font-size: 0.75rem;
    }

    .pt-input[b-afpjqp2hzi] {
        height: 40px;
    }

    .btn-outline[b-afpjqp2hzi] {
        height: 40px;
    }
}
/* _content/MMS.Web/Components/Pages/Material/ScanMesin.razor.rz.scp.css */
/* ===== BASE CLASSES (Blazor CSS isolation scope) ===== */

/* Semua elemen halaman ini tajam (tanpa border-radius) */
*[b-gk9auxj66x],
*[b-gk9auxj66x]::before,
*[b-gk9auxj66x]::after {
    border-radius: 0 !important;
}

.dashboard-container[b-gk9auxj66x] {
    width: 100%;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan Material AMP) */
.dashboard-container[b-gk9auxj66x] {
    padding: 0 !important;
}

.dashboard-header[b-gk9auxj66x] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-gk9auxj66x] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-gk9auxj66x] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.header-actions[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-icon[b-gk9auxj66x] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-gk9auxj66x] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover[b-gk9auxj66x] {
        background-color: #003399;
    }

.btn-icon-white[b-gk9auxj66x] {
    filter: brightness(0) invert(1);
}

/* ===== INFO: Operator + Model Terakhir ===== */
.qc-info-row[b-gk9auxj66x] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.qc-info-card[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.qc-info-body[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.qc-info-label[b-gk9auxj66x] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.qc-info-value[b-gk9auxj66x] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qc-info-empty[b-gk9auxj66x] {
    color: #9ca3af;
    font-weight: 600;
}

.qc-info-sub[b-gk9auxj66x] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qc-info-badge[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
}

.qc-info-dot[b-gk9auxj66x] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.qc-info-dot-on[b-gk9auxj66x] {
    background-color: #16a34a;
}

.qc-info-dot-off[b-gk9auxj66x] {
    background-color: #9ca3af;
}

@media (max-width: 640px) {
    .qc-info-row[b-gk9auxj66x] {
        grid-template-columns: 1fr;
    }
}

.dashboard-divider[b-gk9auxj66x] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

.production-content-placeholder[b-gk9auxj66x] {
    min-height: 300px;
    /* wrapper polos (bukan kotak dashed dari app.css) */
    border: none;
    padding: 0;
    background-color: transparent;
    text-align: left;
}

.btn-outline[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-gk9auxj66x] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-scan-action[b-gk9auxj66x] {
    background-color: #0040be;
    color: #ffffff !important;
    border-color: #0040be;
}

    .btn-scan-action:hover[b-gk9auxj66x] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff !important;
    }

.btn-action-icon[b-gk9auxj66x] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.btn-primary[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    background-color: #0040be;
    border: 1px solid #0040be;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-primary:hover:not(:disabled)[b-gk9auxj66x] {
        background-color: #0035a0;
    }

    .btn-primary:disabled[b-gk9auxj66x] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.material-card[b-gk9auxj66x] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-gk9auxj66x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-gk9auxj66x] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-gk9auxj66x] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-gk9auxj66x] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-gk9auxj66x] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.model-picker-row[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.model-select[b-gk9auxj66x] {
    flex: 1;
    min-width: 220px;
    height: 36px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
}

    .model-select:focus[b-gk9auxj66x] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.material-table-wrapper[b-gk9auxj66x] {
    width: 100%;
    overflow-x: auto;
    min-height: 120px;
}

.production-table[b-gk9auxj66x] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table th[b-gk9auxj66x] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table td[b-gk9auxj66x] {
        padding: 12px 14px;
        border: 1px solid #e5e7eb;
        color: #111827;
        font-size: 0.8rem;
        background-color: #ffffff;
        font-weight: 500;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-gk9auxj66x] {
        background-color: #f9fafb;
    }

.th-no-col[b-gk9auxj66x] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-gk9auxj66x] {
    text-align: center;
}

.th-edit-col[b-gk9auxj66x], .td-edit-col[b-gk9auxj66x] {
    width: 84px;
    text-align: center;
}

/* Edit button in action column */

.td-edit-actions[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit-material[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #0040be;
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-edit-material:hover[b-gk9auxj66x] {
        background-color: #dbeafe;
        border-color: #0040be;
    }

.td-kode-material[b-gk9auxj66x] {
    font-weight: 600;
    color: #0040be;
}

.btn-remove-material[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-remove-material:hover[b-gk9auxj66x] {
        background-color: #fee2e2;
        border-color: #dc2626;
    }

.detail-footer-actions[b-gk9auxj66x] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* ===== TAB NAVIGASI MESIN (baru, gantiin grid card) ===== */

.mesin-tabs-row[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mesin-tab[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease;
}

    .mesin-tab:hover[b-gk9auxj66x] {
        color: #111827;
    }

.mesin-tab-active[b-gk9auxj66x] {
    color: #111827 !important;
    border-bottom-color: #0040be;
}

.mesin-tab-dot[b-gk9auxj66x] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mesin-tab-dot-aktif[b-gk9auxj66x] {
    background-color: #0040be;
}

.mesin-tab-dot-nonaktif[b-gk9auxj66x] {
    background-color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .model-picker-row[b-gk9auxj66x] {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-footer-actions[b-gk9auxj66x] {
        flex-direction: column-reverse;
    }

        .detail-footer-actions .btn-outline[b-gk9auxj66x],
        .detail-footer-actions .btn-primary[b-gk9auxj66x] {
            width: 100%;
        }

    .mesin-tabs-row[b-gk9auxj66x] {
        -webkit-overflow-scrolling: touch;
    }
}

.sticky-action-bar[b-gk9auxj66x] {
    position: relative;
    width: 100%;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
}

.btn-sticky[b-gk9auxj66x] {
    width: 100% !important;
    height: 52px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 64, 190, 0.25);
}

.modal-overlay[b-gk9auxj66x] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-box[b-gk9auxj66x] {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 24px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-title[b-gk9auxj66x] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.modal-subtitle[b-gk9auxj66x] {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 4px 0 16px 0;
}

.modal-label[b-gk9auxj66x] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.modal-input[b-gk9auxj66x] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
    box-sizing: border-box;
    margin-bottom: 20px;
}

    .modal-input:focus[b-gk9auxj66x] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.modal-actions[b-gk9auxj66x] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================= */
/* MODAL SCAN (Edit Material)    */
/* ============================= */
.scan-modal-overlay[b-gk9auxj66x] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeInOverlay-b-gk9auxj66x 0.2s ease;
}

.scan-modal-box[b-gk9auxj66x] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: scaleInModal-b-gk9auxj66x 0.2s ease;
}

.scan-modal-header[b-gk9auxj66x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.scan-modal-title[b-gk9auxj66x] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.scan-modal-close[b-gk9auxj66x] {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

    .scan-modal-close:hover[b-gk9auxj66x] {
        color: #374151;
    }

.scan-viewfinder[b-gk9auxj66x] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #111827;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 3px solid transparent;
    transition: border-color 0.15s ease;
}

.scan-viewfinder-success[b-gk9auxj66x] {
    border-color: #10b981;
}

.scan-viewfinder-warning[b-gk9auxj66x] {
    border-color: #f59e0b;
}

.scan-placeholder-text[b-gk9auxj66x] {
    color: #9ca3af;
    font-size: 0.75rem;
    text-align: center;
    padding: 0 30px;
}

.scan-corner[b-gk9auxj66x] {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 3px solid #0040be;
}

    .scan-corner.tl[b-gk9auxj66x] {
        top: 16px;
        left: 16px;
        border-right: none;
        border-bottom: none;
        border-top-left-radius: 6px;
    }

    .scan-corner.tr[b-gk9auxj66x] {
        top: 16px;
        right: 16px;
        border-left: none;
        border-bottom: none;
        border-top-right-radius: 6px;
    }

    .scan-corner.bl[b-gk9auxj66x] {
        bottom: 16px;
        left: 16px;
        border-right: none;
        border-top: none;
        border-bottom-left-radius: 6px;
    }

    .scan-corner.br[b-gk9auxj66x] {
        bottom: 16px;
        right: 16px;
        border-left: none;
        border-top: none;
        border-bottom-right-radius: 6px;
    }

.scan-line[b-gk9auxj66x] {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: #0040be;
    box-shadow: 0 0 8px 1px rgba(0, 64, 190, 0.8);
    animation: scanMove-b-gk9auxj66x 2s ease-in-out infinite;
}

@keyframes fadeInOverlay-b-gk9auxj66x {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleInModal-b-gk9auxj66x {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scanMove-b-gk9auxj66x {
    0% {
        top: 16px;
    }

    50% {
        top: calc(100% - 18px);
    }

    100% {
        top: 16px;
    }
}

/* Expanded row and box breakdown styles */

.th-expand-col[b-gk9auxj66x], .td-expand-col[b-gk9auxj66x] {
    width: 40px;
    text-align: center;
}

.modal-table-row[b-gk9auxj66x] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .modal-table-row:hover td[b-gk9auxj66x] {
        background-color: #f9fafb;
    }

.row-expand-icon[b-gk9auxj66x] {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.row-expand-icon-open[b-gk9auxj66x] {
    transform: rotate(180deg);
}

.modal-detail-row[b-gk9auxj66x] {
    background-color: #f9fafb;
}

    .modal-detail-row td[b-gk9auxj66x] {
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
    }

.box-breakdown-list[b-gk9auxj66x] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
    gap: 12px;
    justify-content: start;
}

.box-breakdown-card[b-gk9auxj66x] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.box-breakdown-card-header[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-breakdown-code[b-gk9auxj66x] {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-breakdown-divider[b-gk9auxj66x] {
    width: 100%;
    height: 1px;
    background-color: #f3f4f6;
}

.box-breakdown-info-row[b-gk9auxj66x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
}

.box-breakdown-label[b-gk9auxj66x] {
    color: #9ca3af;
    font-weight: 500;
}

.box-breakdown-qty[b-gk9auxj66x] {
    font-weight: 600;
    color: #0040be;
}

.box-breakdown-location[b-gk9auxj66x] {
    font-weight: 600;
    color: #374151;
}

@media (max-width: 768px) {
    .sticky-action-bar[b-gk9auxj66x] {
        left: 0;
    }
}

/* ============================= */
/* INPUT MANUAL + FEEDBACK (Scan Material) */
/* ============================= */
.scan-manual-input[b-gk9auxj66x] {
    display: flex;
    gap: 8px;
}

.scan-input[b-gk9auxj66x] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
}

    .scan-input:focus[b-gk9auxj66x] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 2px rgba(0, 64, 190, 0.15);
    }

.scan-manual-btn[b-gk9auxj66x] {
    padding: 8px 14px;
}

.scan-feedback[b-gk9auxj66x] {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.scan-feedback-success[b-gk9auxj66x] {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.scan-feedback-error[b-gk9auxj66x] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================= */
/* TOAST NOTIFIKASI SCAN (pop-up atas layar) */
/* ============================= */
.scan-toast[b-gk9auxj66x] {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100005 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 340px;
    max-width: 90vw;
    padding: 14px 18px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1.5px solid #10b981;
    animation: scanToastIn-b-gk9auxj66x 0.25s ease;
}

.scan-toast-warning[b-gk9auxj66x] {
    border-color: #f59e0b;
}

.scan-toast-icon[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    background-color: #d1fae5;
    color: #065f46;
}

.scan-toast-warning .scan-toast-icon[b-gk9auxj66x] {
    background-color: #fef3c7;
    color: #92400e;
}

.scan-toast-body[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scan-toast-code[b-gk9auxj66x] {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.scan-toast-qty[b-gk9auxj66x] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0040be;
}

.scan-toast-message[b-gk9auxj66x] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #065f46;
    margin-top: 2px;
}

.scan-toast-warning .scan-toast-message[b-gk9auxj66x] {
    color: #92400e;
}

@keyframes scanToastIn-b-gk9auxj66x {
    from {
        opacity: 0;
        transform: translate(-50%, -12px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes scanToastOut-b-gk9auxj66x {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
}

/* ===== DROPDOWN KATEGORI + MESIN ===== */
.mesin-select-row[b-gk9auxj66x] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
}

.mesin-select-field[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Responsive ordering: Operator, Shift, Category, Machine */
.mesin-select-row > .mesin-select-field:nth-child(1)[b-gk9auxj66x] { order: 1; } /* Operator */
.mesin-select-row > .mesin-select-field:nth-child(4)[b-gk9auxj66x] { order: 2; } /* Shift */
.mesin-select-row > .mesin-select-field:nth-child(2)[b-gk9auxj66x] { order: 3; } /* Kategori */
.mesin-select-row > .mesin-select-field:nth-child(3)[b-gk9auxj66x] { order: 4; } /* Mesin */

.mesin-select-label[b-gk9auxj66x] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
}

.mesin-dropdown[b-gk9auxj66x] {
    position: relative;
}

.mesin-dropdown-trigger[b-gk9auxj66x] {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .mesin-dropdown-trigger:hover[b-gk9auxj66x] {
        border-color: #9ca3af;
    }

    .mesin-dropdown-trigger:focus-visible[b-gk9auxj66x] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

/* Operator badge scan button */
.mesin-action-btn[b-gk9auxj66x] {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

    .mesin-action-btn:hover[b-gk9auxj66x] {
        border-color: #9ca3af;
        background-color: #f9fafb;
    }

    .mesin-action-btn:focus-visible[b-gk9auxj66x] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

/* Tombol Scan ID Card: ukuran sama dengan trigger dropdown Shift / Kategori / Mesin */
.mesin-scan-btn[b-gk9auxj66x] {
    width: 100%;
    height: 36px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px;
    background-color: #0040be;
    border: 1px solid #0040be;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: normal;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

    .mesin-scan-btn:hover[b-gk9auxj66x] {
        background-color: #003399;
        border-color: #003399;
    }

    .mesin-scan-btn:focus-visible[b-gk9auxj66x] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.mesin-scan-btn-icon[b-gk9auxj66x] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.mesin-dropdown-value[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mesin-dropdown-chevron[b-gk9auxj66x] {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mesin-dropdown-chevron-open[b-gk9auxj66x] {
    transform: rotate(180deg);
}

.mesin-dropdown-backdrop[b-gk9auxj66x] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.mesin-dropdown-menu[b-gk9auxj66x] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.mesin-dropdown-option[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

    .mesin-dropdown-option:hover[b-gk9auxj66x] {
        background-color: #f3f4f6;
    }

.mesin-dropdown-option-active[b-gk9auxj66x],
.mesin-dropdown-option-active:hover[b-gk9auxj66x] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

.mesin-option-left[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mesin-option-count[b-gk9auxj66x] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
}

.mesin-dot[b-gk9auxj66x] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mesin-dot-aktif[b-gk9auxj66x] {
    background-color: #0040be;
}

.mesin-dot-nonaktif[b-gk9auxj66x] {
    background-color: #9ca3af;
}

/* Tablet (<= 1100px): 2 kolom x 2 baris
   Operator | Shift
   Kategori | Mesin */
@media (max-width: 1100px) {
    .mesin-select-row[b-gk9auxj66x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* HP (<= 640px): 1 kolom ke bawah: Operator, Shift, Kategori, Mesin */
@media (max-width: 640px) {
    .mesin-select-row[b-gk9auxj66x] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== KOLOM BILL ===== */
.th-bill-col[b-gk9auxj66x],
.td-bill-col[b-gk9auxj66x] {
    width: 80px;
    text-align: center;
}

/* Unverified slot row style */
.production-table tbody tr.row-belum-scan td[b-gk9auxj66x] {
    background-color: #fafafa;
    color: #9ca3af;
    cursor: default;
}

    .production-table tbody tr.row-belum-scan td.td-kode-material[b-gk9auxj66x] {
        color: #9ca3af;
    }

/* Disabled action button state */
.btn-edit-material:disabled[b-gk9auxj66x],
.btn-remove-material:disabled[b-gk9auxj66x] {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

/* ===== SISA DI MESIN ===== */
.dashboard-container[b-gk9auxj66x] {
    padding-bottom: 0;
}

.sisa-section[b-gk9auxj66x] {
    margin-top: 0px;
}

.sisa-section-head[b-gk9auxj66x] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.sisa-section-title[b-gk9auxj66x] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
}

.sisa-section-sub[b-gk9auxj66x] {
    font-size: 0.7rem;
    font-weight: 500;
    color: #9ca3af;
}

.sisa-card-standalone[b-gk9auxj66x] {
    margin-top: 16px;
}

.th-sisa-aksi-col[b-gk9auxj66x],
.td-sisa-aksi-col[b-gk9auxj66x] {
    width: 190px;
    text-align: center;
}

.btn-sisa-kembali[b-gk9auxj66x] {
    padding: 5px 10px;
    font-size: 0.7rem;
    margin: 0 auto;
}

.sisa-table-wrapper[b-gk9auxj66x] {
    min-height: 0;
}

.card-solid-divider[b-gk9auxj66x] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-color: #e5e7eb;
}

.view-switch[b-gk9auxj66x] {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.view-switch-btn[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

    .view-switch-btn:hover[b-gk9auxj66x] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

.view-switch-btn-active[b-gk9auxj66x],
.view-switch-btn-active:hover[b-gk9auxj66x] {
    color: #111827;
    background-color: #ffffff;
    border-color: #374151;
}

    .view-switch-btn-active .view-switch-count[b-gk9auxj66x] {
        color: #374151;
        background-color: transparent;
    }

.view-switch-count[b-gk9auxj66x] {
    padding: 1px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #6b7280;
    background-color: #f3f4f6;
    border-radius: 999px;
}

/* Completed table tab style */
.view-switch-btn-done[b-gk9auxj66x] {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

    .view-switch-btn-done:hover[b-gk9auxj66x] {
        background-color: #a7f3d0;
        border-color: #10b981;
    }

    .view-switch-btn-done .view-switch-count[b-gk9auxj66x] {
        color: #065f46;
        background-color: #ffffff;
    }

    .view-switch-btn-done.view-switch-btn-active[b-gk9auxj66x],
    .view-switch-btn-done.view-switch-btn-active:hover[b-gk9auxj66x] {
        color: #065f46;
        background-color: #d1fae5;
        border-color: #059669;
    }

        .view-switch-btn-done.view-switch-btn-active .view-switch-count[b-gk9auxj66x] {
            color: #065f46;
            background-color: #ffffff;
        }

/* ===== SEGMENTED VARIANT (Table 1..N / IC tabs) ===== */
.view-switch-seg[b-gk9auxj66x] {
    gap: 2px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

    .view-switch-seg .view-switch-btn[b-gk9auxj66x] {
        flex: 1 1 0;
        justify-content: center;
        gap: 6px;
        min-width: max-content;
        height: 28px;
        padding: 0 10px;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 6px;
        font-size: 0.72rem;
        font-weight: 500;
        color: #111827;
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .view-switch-seg .view-switch-btn:hover[b-gk9auxj66x] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
        border-color: transparent;
    }

    .view-switch-seg .view-switch-btn:focus-visible[b-gk9auxj66x] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

    .view-switch-seg .view-switch-count[b-gk9auxj66x] {
        padding: 0 6px;
        font-size: 0.66rem;
        line-height: 16px;
        color: #6b7280;
        background-color: #e5e7eb;
    }

    /* Aktif: putih timbul seperti tab Produksi */
    .view-switch-seg .view-switch-btn-active[b-gk9auxj66x],
    .view-switch-seg .view-switch-btn-active:hover[b-gk9auxj66x] {
        color: #111827 !important;
        font-weight: 600;
        background-color: #ffffff;
        border-color: #e5e7eb;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }

        .view-switch-seg .view-switch-btn-active .view-switch-count[b-gk9auxj66x] {
            color: #374151;
            background-color: #f3f4f6;
        }

    /* Completed status indicator (green) */
    .view-switch-seg .view-switch-btn-done[b-gk9auxj66x],
    .view-switch-seg .view-switch-btn-done:hover[b-gk9auxj66x] {
        color: #065f46;
        background-color: #d1fae5;
        border-color: transparent;
    }

    .view-switch-seg .view-switch-btn-done:hover[b-gk9auxj66x] {
        background-color: #a7f3d0;
    }

        .view-switch-seg .view-switch-btn-done .view-switch-count[b-gk9auxj66x] {
            color: #065f46;
            background-color: #ffffff;
        }

    .view-switch-seg .view-switch-btn-done.view-switch-btn-active[b-gk9auxj66x],
    .view-switch-seg .view-switch-btn-done.view-switch-btn-active:hover[b-gk9auxj66x] {
        color: #065f46;
        background-color: #d1fae5;
        border-color: #059669;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }

/* Mobile table dropdown selector */
.tabel-dropdown[b-gk9auxj66x] {
    display: none;
    position: relative;
    margin-bottom: 16px;
}

.tabel-dropdown-btn[b-gk9auxj66x] {
    display: block;
    width: 100%;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
}

.tabel-dropdown-current[b-gk9auxj66x] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 34px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tabel-dropdown-current-done[b-gk9auxj66x] {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #059669;
}

    .tabel-dropdown-current-done .view-switch-count[b-gk9auxj66x] {
        color: #065f46;
        background-color: #ffffff;
    }

.tabel-dropdown-chev[b-gk9auxj66x] {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -8px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.tabel-dropdown-chev-open[b-gk9auxj66x] {
    transform: rotate(180deg);
}

.tabel-dropdown-backdrop[b-gk9auxj66x] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.tabel-dropdown-list[b-gk9auxj66x] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform-origin: top;
    animation: tabel-dropdown-slide-b-gk9auxj66x 0.18s ease-out;
}

.tabel-dropdown-item[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .tabel-dropdown-item:hover[b-gk9auxj66x] {
        background-color: #f3f4f6;
    }

.tabel-dropdown-item-active[b-gk9auxj66x],
.tabel-dropdown-item-active:hover[b-gk9auxj66x] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

    .tabel-dropdown-item-active .view-switch-count[b-gk9auxj66x] {
        background-color: #ffffff;
    }

/* Completed table indicator */
.tabel-dropdown-item-done[b-gk9auxj66x],
.tabel-dropdown-item-done:hover[b-gk9auxj66x] {
    color: #065f46;
    background-color: #d1fae5;
}

.tabel-dropdown-item-done:hover[b-gk9auxj66x] {
    background-color: #a7f3d0;
}

    .tabel-dropdown-item-done .view-switch-count[b-gk9auxj66x] {
        color: #065f46;
        background-color: #ffffff;
    }

.tabel-dropdown-item-done.tabel-dropdown-item-active[b-gk9auxj66x],
.tabel-dropdown-item-done.tabel-dropdown-item-active:hover[b-gk9auxj66x] {
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #059669;
}

@keyframes tabel-dropdown-slide-b-gk9auxj66x {
    from {
        opacity: 0;
        transform: translateY(-6px) scaleY(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Mobile: segmented control diganti dropdown (sama seperti filter lokasi di Material AMP) */
@media (max-width: 640px) {
    .view-switch.view-switch-seg[b-gk9auxj66x] {
        display: none;
    }

    .tabel-dropdown[b-gk9auxj66x] {
        display: block;
    }
}

/* ===== CHIP OPERATOR AKTIF (header) ===== */
.operator-chip[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    padding: 0 6px;
}

.operator-chip-label[b-gk9auxj66x] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.operator-chip-name[b-gk9auxj66x] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

/* ===== SUB-NAVIGATION TABS (Production / Production Output) ===== */
.material-tabs-row[b-gk9auxj66x] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin-bottom: 16px;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.material-tab[b-gk9auxj66x] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-gk9auxj66x] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-gk9auxj66x] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-gk9auxj66x] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ============================= */
/* DETAIL PRODUKSI (papan Kanban harian) */
/* ============================= */
/* Tab kategori Kanban: disembunyikan di desktop (3 kolom tampil sekaligus), muncul di bawah ukuran desktop */
.kanban-tabs[b-gk9auxj66x] {
    display: none;
}

.kanban-tab-count[b-gk9auxj66x] {
    padding: 0 6px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 16px;
    color: #6b7280;
    background-color: #e5e7eb;
    border-radius: 999px;
}

.material-tab-active .kanban-tab-count[b-gk9auxj66x] {
    color: #374151;
    background-color: #f3f4f6;
}

.kanban-board[b-gk9auxj66x] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.kanban-col[b-gk9auxj66x] {
    min-width: 0;
    padding: 10px;
    background-color: #f4f4f5;
    border: 1px solid #ececee;
    border-radius: 0;
}

.kanban-col-head[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 10px;
}

.kanban-dot[b-gk9auxj66x] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid #9ca3af;
    border-radius: 50%;
}

.kanban-dot-inprogress[b-gk9auxj66x] {
    border-color: #f59e0b;
    background-color: #fef3c7;
}

.kanban-dot-done[b-gk9auxj66x] {
    border-color: #10b981;
    background-color: #10b981;
}

.kanban-col-title[b-gk9auxj66x] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
}

.kanban-col-count[b-gk9auxj66x] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

.kanban-col-body[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kanban-empty[b-gk9auxj66x] {
    padding: 24px 10px;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    border: 1px dashed #d1d5db;
    border-radius: 0;
}

.kanban-card[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kanban-card-clickable[b-gk9auxj66x] {
    cursor: pointer;
}

    .kanban-card-clickable:hover[b-gk9auxj66x] {
        border-color: #c7cbd1;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .kanban-card-clickable:focus-visible[b-gk9auxj66x] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.kanban-card-title[b-gk9auxj66x] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
    margin-top: 5px;
}

.kanban-card-sub[b-gk9auxj66x] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.72rem;
    color: #6b7280;
}

.kanban-sep[b-gk9auxj66x] {
    color: #d1d5db;
}

.kanban-progress-track[b-gk9auxj66x] {
    height: 4px;
    background-color: #f3f4f6;
    border-radius: 0;
    overflow: hidden;
}

.kanban-progress-fill[b-gk9auxj66x] {
    height: 100%;
    border-radius: 0;
    background-color: #9ca3af;
    transition: width 0.3s ease;
}

.kanban-progress-inprogress[b-gk9auxj66x] {
    background-color: #f59e0b;
}

.kanban-progress-done[b-gk9auxj66x] {
    background-color: #10b981;
}

.kanban-chips[b-gk9auxj66x] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kanban-chip[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
}

.kanban-chip-plan[b-gk9auxj66x] {
    background-color: #eff6ff;
    border-color: transparent;
    color: #0040be;
    font-weight: 600;
}

.kanban-chip-warn[b-gk9auxj66x] {
    background-color: #fee2e2;
    border-color: transparent;
    color: #991b1b;
}

.kanban-chip-muted[b-gk9auxj66x] {
    color: #9ca3af;
}

.kanban-chip-carry[b-gk9auxj66x] {
    background-color: #f3f4f6;
    border-color: transparent;
    color: #374151;
    font-weight: 600;
}

.kanban-card-notes[b-gk9auxj66x] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
}

/* Baris status di atas card: badge di kiri, chevron di pojok kanan */
.kanban-card-head[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kanban-badges[b-gk9auxj66x] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kanban-chevron[b-gk9auxj66x] {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #6b7280;
    pointer-events: none;   /* Entire card handles click */
}

.kanban-card-clickable:hover .kanban-chevron[b-gk9auxj66x] {
    color: #111827;
}

    .kanban-chevron svg[b-gk9auxj66x] {
        transition: transform 0.2s ease;
    }

.kanban-chevron-open svg[b-gk9auxj66x] {
    transform: rotate(180deg);
}

/* Badge jenis model (AC / Radio / Refri) dan kode mesin: tanpa border dan tanpa radius */
.kanban-type-badge[b-gk9auxj66x] {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 10px;
    background-color: #f3f4f6;
    border: none;
    border-radius: 0;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: #374151;
}

/* Baris Target: label di kiri, produksi / plan di kanan */
.kanban-target-row[b-gk9auxj66x] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
}

.kanban-target-label[b-gk9auxj66x] {
    font-weight: 500;
    color: #6b7280;
    margin-top: 10px;
}

.kanban-target-value[b-gk9auxj66x] {
    font-weight: 700;
    color: #111827;
}

.kanban-notes-title[b-gk9auxj66x] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ca3af;
}

.kanban-note[b-gk9auxj66x] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: baseline;
    font-size: 0.72rem;
    color: #374151;
}

.kanban-note-time[b-gk9auxj66x] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #6b7280;
}

.kanban-note-by[b-gk9auxj66x] {
    color: #9ca3af;
}

/* Production log formatting */
.kanban-note-prod[b-gk9auxj66x] {
    grid-template-columns: 1fr auto auto;
}

.kanban-note-date[b-gk9auxj66x] {
    font-weight: 500;
    color: #374151;
}

.kanban-note-prod .kanban-note-text[b-gk9auxj66x] {
    font-weight: 600;
}

.kanban-note-down .kanban-note-time[b-gk9auxj66x],
.kanban-note-down .kanban-note-by[b-gk9auxj66x] {
    color: #991b1b;
}

/* Mobile: single category tab per view */
@media (max-width: 1100px) {
    .kanban-tabs[b-gk9auxj66x] {
        display: flex;
    }

    .kanban-board[b-gk9auxj66x] {
        display: block;
    }

    .kanban-col-inactive[b-gk9auxj66x] {
        display: none;
    }
}

.hasil-empty[b-gk9auxj66x] {
    text-align: center;
    padding: 32px 14px;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==========================================================================
   QC SEQUENTIAL VERIFICATION STYLES & VISUAL MARKERS
   ========================================================================== */

.production-table tbody tr.row-qc-verified td[b-gk9auxj66x] {
    background-color: #f0fdf4 !important;
    color: #0f172a;
}

.production-table tbody tr.row-qc-verified td:first-child[b-gk9auxj66x] {
    border-left: 4px solid #10b981;
}

.production-table tbody tr.row-qc-target td[b-gk9auxj66x] {
    background-color: #eff6ff !important;
    color: #0f172a;
    font-weight: 600;
}

.production-table tbody tr.row-qc-target td:first-child[b-gk9auxj66x] {
    border-left: 4px solid #0040be;
}

.qc-status-badge[b-gk9auxj66x] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.qc-status-verified[b-gk9auxj66x] {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.qc-status-target[b-gk9auxj66x] {
    background-color: #dbeafe;
    border: 1.5px solid #93c5fd;
    color: #1e40af;
    box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.12);
}

.qc-status-waiting[b-gk9auxj66x] {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.qc-pulse-dot[b-gk9auxj66x] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #0040be;
    animation: qcDotBlink-b-gk9auxj66x 1s infinite alternate;
}

@keyframes qcDotBlink-b-gk9auxj66x {
    from { opacity: 0.3; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.15); }
}

.qc-progress-card[b-gk9auxj66x] {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.qc-progress-top[b-gk9auxj66x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.qc-progress-title-group[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qc-progress-badge[b-gk9auxj66x] {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: #eff6ff;
    color: #0040be;
    letter-spacing: 0.04em;
}

.qc-progress-title[b-gk9auxj66x] {
    font-size: 0.88rem;
    color: #0f172a;
    font-weight: 700;
}

.qc-progress-metric[b-gk9auxj66x] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.qc-progress-nums[b-gk9auxj66x] {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.qc-progress-percent[b-gk9auxj66x] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.qc-progress-bar-bg[b-gk9auxj66x] {
    width: 100%;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.qc-progress-bar-fill[b-gk9auxj66x] {
    height: 100%;
    background-color: #0040be;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.qc-progress-fill-done[b-gk9auxj66x] {
    background-color: #10b981;
}

.qc-complete-banner[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
}

.qc-target-hint-banner[b-gk9auxj66x] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #1e40af;
}

.qc-target-hint-banner code[b-gk9auxj66x] {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    color: #0f172a;
    background: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.slot-pill[b-gk9auxj66x] {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    margin-right: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.track-l[b-gk9auxj66x] { background:#eff6ff; border:1.5px solid #bfdbfe; color:#0057b8; }
.track-r[b-gk9auxj66x] { background:#fffbeb; border:1.5px solid #fde68a; color:#b45309; }
.track-single[b-gk9auxj66x] { background:#ecfdf5; border:1.5px solid #a7f3d0; color:#047857; }
.track-ic[b-gk9auxj66x] { background:#f5f3ff; border:1.5px solid #ddd6fe; color:#6d28d9; }
/* _content/MMS.Web/Components/Pages/Material/StockAMP.razor.rz.scp.css */
/* Container and header styling */
.dashboard-container[b-5smvt37zt7] {
    width: 100%;
}

.dashboard-header[b-5smvt37zt7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-5smvt37zt7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-5smvt37zt7] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-5smvt37zt7] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-5smvt37zt7] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

.production-content-placeholder[b-5smvt37zt7] {
    min-height: 300px;
}

/* BUTTONS */
.btn-outline[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-5smvt37zt7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-action-icon[b-5smvt37zt7] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* MATERIAL / STOCK CARD */
.material-card[b-5smvt37zt7] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-5smvt37zt7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-5smvt37zt7] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-5smvt37zt7] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-5smvt37zt7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-5smvt37zt7] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* TOOLBAR */
.material-toolbar-row[b-5smvt37zt7] {
    --toolbar-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.material-search-box[b-5smvt37zt7], .search-input[b-5smvt37zt7], .date-range-box[b-5smvt37zt7], .ellipsis-btn[b-5smvt37zt7] {
    height: var(--toolbar-height);
}

.ellipsis-btn[b-5smvt37zt7] {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: var(--toolbar-height);
    min-height: var(--toolbar-height);
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.material-search-box[b-5smvt37zt7] {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 300px;
    margin-bottom: 0;
    flex: 1;
}

.search-icon[b-5smvt37zt7] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-5smvt37zt7] {
    width: 100%;
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-5smvt37zt7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-5smvt37zt7]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-5smvt37zt7] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

.date-ellipsis-group[b-5smvt37zt7] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    flex-shrink: 0;
}

.date-range-box[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.date-range-icon[b-5smvt37zt7] {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

.date-range-text[b-5smvt37zt7] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6B7280;
}

.ellipsis-btn[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .ellipsis-btn:hover[b-5smvt37zt7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .ellipsis-btn img[b-5smvt37zt7] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

/* TABLE */
.material-table-wrapper[b-5smvt37zt7] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-5smvt37zt7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table th[b-5smvt37zt7] {
        padding: 10px 14px;
        background-color: #f9fafb;
        color: #4b5563;
        font-weight: 600;
        font-size: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table td[b-5smvt37zt7] {
        padding: 12px 14px;
        border-bottom: 1px solid #f3f4f6;
        color: #111827;
        font-size: 0.8rem;
    }

    .production-table thead th[b-5smvt37zt7] {
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-5smvt37zt7] {
        background-color: #ffffff;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-5smvt37zt7] {
        background-color: #f9fafb;
    }

.th-no-col[b-5smvt37zt7] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-5smvt37zt7] {
    text-align: center;
}

.td-kode-material[b-5smvt37zt7] {
    font-weight: 600;
    color: #0040be;
}

.td-empty-state[b-5smvt37zt7] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

/* PAGINATION */
.modal-pagination[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.modal-jump-box[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-jump-trigger-container[b-5smvt37zt7] {
    position: relative;
}

.modal-jump-trigger[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #111827;
    cursor: pointer;
}

.modal-jump-chevron[b-5smvt37zt7] {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.modal-jump-chevron-open[b-5smvt37zt7] {
    transform: rotate(180deg);
}

.modal-jump-backdrop[b-5smvt37zt7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.modal-jump-dropdown[b-5smvt37zt7] {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 20;
    min-width: 60px;
}

.modal-jump-option[b-5smvt37zt7] {
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

    .modal-jump-option:hover[b-5smvt37zt7] {
        background-color: #f3f4f6;
    }

.modal-jump-option-active[b-5smvt37zt7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

.modal-pagination-controls[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pagination-btn:hover:not(:disabled)[b-5smvt37zt7] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-5smvt37zt7] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f9fafb;
    }

.pagination-page[b-5smvt37zt7] {
    font-size: 0.75rem;
    font-weight: 500;
}

.pagination-page-active[b-5smvt37zt7] {
    background-color: #0040be;
    color: #ffffff;
    border-color: #0040be;
}

    .pagination-page-active:hover:not(:disabled)[b-5smvt37zt7] {
        background-color: #0040be;
        color: #ffffff;
    }

/* Pagination overflow prevention */
.modal-pagination[b-5smvt37zt7] {
    flex-wrap: wrap;
    gap: 12px;
}

.modal-jump-box[b-5smvt37zt7] {
    flex-shrink: 0;
    white-space: nowrap;
}

.modal-pagination-controls[b-5smvt37zt7] {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.pagination-ellipsis[b-5smvt37zt7] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 20px;
    height: 28px;
    padding-bottom: 6px;
    box-sizing: border-box;
    font-size: 0.8rem;
    color: #9ca3af;
    user-select: none;
}

@media (max-width: 640px) {
    .modal-pagination[b-5smvt37zt7] {
        flex-direction: column;
        align-items: center;
    }

    .modal-pagination-controls[b-5smvt37zt7] {
        justify-content: center;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 640px) {
    .material-card-header[b-5smvt37zt7] {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .material-toolbar-row[b-5smvt37zt7] {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }

    .material-search-box[b-5smvt37zt7] {
        max-width: 100%;
    }

    .date-ellipsis-group[b-5smvt37zt7] {
        width: 100%;
        flex-direction: row;
    }
}

/* EXPAND ROW - consistent across Print QR & Scan QR */
.th-expand-col[b-5smvt37zt7], .td-expand-col[b-5smvt37zt7] {
    width: 40px;
    text-align: center;
}

.modal-table-row[b-5smvt37zt7] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .modal-table-row:hover[b-5smvt37zt7] {
        background-color: #f9fafb;
    }

.row-expand-icon[b-5smvt37zt7] {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.row-expand-icon-open[b-5smvt37zt7] {
    transform: rotate(180deg);
}

.modal-detail-row[b-5smvt37zt7] {
    background-color: #f9fafb;
}

    .modal-detail-row td[b-5smvt37zt7] {
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
    }

/* BOX BREAKDOWN (dropdown detail per material) */
.box-breakdown-list[b-5smvt37zt7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
    gap: 12px;
    justify-content: start;
}

.box-breakdown-card[b-5smvt37zt7] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-breakdown-card-header[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-breakdown-code[b-5smvt37zt7] {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box-breakdown-divider[b-5smvt37zt7] {
    width: 100%;
    height: 1px;
    background-color: #f3f4f6;
}

.box-breakdown-info-row[b-5smvt37zt7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
}

.box-breakdown-label[b-5smvt37zt7] {
    color: #9ca3af;
    font-weight: 500;
}

.box-breakdown-qty[b-5smvt37zt7] {
    font-weight: 600;
    color: #0040be;
}

.box-breakdown-location[b-5smvt37zt7] {
    font-weight: 600;
    color: #374151;
}

/* Location segmented control */
.material-tabs-row[b-5smvt37zt7] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin-bottom: 20px;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.material-tab[b-5smvt37zt7] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-5smvt37zt7] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-5smvt37zt7] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-5smvt37zt7] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Mobile location dropdown */
.location-dropdown[b-5smvt37zt7] {
    display: none;
    position: relative;
    margin-bottom: 16px;
}

.location-dropdown-btn[b-5smvt37zt7] {
    display: block;
    width: 100%;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
}

.location-dropdown-current[b-5smvt37zt7] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 34px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.location-dropdown-chev[b-5smvt37zt7] {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -8px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.location-dropdown-chev-open[b-5smvt37zt7] {
    transform: rotate(180deg);
}

.location-dropdown-backdrop[b-5smvt37zt7] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.location-dropdown-list[b-5smvt37zt7] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform-origin: top;
    animation: location-dropdown-slide-b-5smvt37zt7 0.18s ease-out;
}

.location-dropdown-item[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 36px;
    padding: 0 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .location-dropdown-item:hover[b-5smvt37zt7] {
        background-color: #f3f4f6;
    }

.location-dropdown-item-active[b-5smvt37zt7],
.location-dropdown-item-active:hover[b-5smvt37zt7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

@keyframes location-dropdown-slide-b-5smvt37zt7 {
    from {
        opacity: 0;
        transform: translateY(-6px) scaleY(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Mobile: segmented control diganti dropdown */
@media (max-width: 640px) {
    .material-tabs-row[b-5smvt37zt7] {
        display: none;
    }

    .location-dropdown[b-5smvt37zt7] {
        display: block;
    }
}

/* FILTER LANJUTAN (menu ellipsis) */
.ellipsis-wrapper[b-5smvt37zt7] {
    --toolbar-height: 32px;
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.ellipsis-btn-active[b-5smvt37zt7],
.ellipsis-btn-active:hover[b-5smvt37zt7] {
    background-color: #eff6ff;
    border-color: #0040be;
}

.filter-menu-backdrop[b-5smvt37zt7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.filter-menu[b-5smvt37zt7] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 20;
    overflow: hidden;
    text-align: left;
}

.filter-menu-title[b-5smvt37zt7] {
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #f3f4f6;
}

.filter-menu-empty[b-5smvt37zt7] {
    padding: 10px 12px;
    font-size: 0.72rem;
    color: #9ca3af;
    white-space: nowrap;
}

.filter-menu-option[b-5smvt37zt7] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .filter-menu-option:hover[b-5smvt37zt7] {
        background-color: #f3f4f6;
    }

.filter-menu-option-active[b-5smvt37zt7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

/* ==========================================================================
   DISAMAKAN DENGAN PRINT QR / PSI: gaya tajam, header, tombol, menu cetak
   ========================================================================== */

/* Semua elemen halaman ini tajam (tombol, input, badge, kartu, tab, dropdown) */
*[b-5smvt37zt7],
*[b-5smvt37zt7]::before,
*[b-5smvt37zt7]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout */
.dashboard-container[b-5smvt37zt7] {
    padding: 0 !important;
}

/* Wrapper konten: polos (bukan kotak dashed dari app.css) */
.production-content-placeholder[b-5smvt37zt7] {
    border: none;
    padding: 0;
    background-color: transparent;
}

/* ---- HEADER ACTIONS + TOMBOL ---- */
.header-actions[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-5smvt37zt7] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-5smvt37zt7] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-5smvt37zt7] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-5smvt37zt7] {
        background-color: #003399;
    }

.btn-icon-white[b-5smvt37zt7] {
    filter: brightness(0) invert(1);
}

/* Export Excel: putih, teks + ikon hitam, border abu-abu; hover border hitam */
.btn-export-outline[b-5smvt37zt7] {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

    .btn-export-outline .btn-icon[b-5smvt37zt7] {
        filter: brightness(0);
    }

    .btn-export-outline:hover:not(:disabled)[b-5smvt37zt7] {
        background-color: #ffffff;
        border-color: #111827;
    }

/* ---- MENU CETAK QR ---- */
.print-menu-wrap[b-5smvt37zt7] {
    position: relative;
}

.print-menu-backdrop[b-5smvt37zt7] {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.print-menu[b-5smvt37zt7] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 210px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 4px 0;
}

.print-menu-item[b-5smvt37zt7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

    .print-menu-item:hover:not(:disabled)[b-5smvt37zt7] {
        background-color: #f3f4f6;
    }

    .print-menu-item:disabled[b-5smvt37zt7] {
        color: #9ca3af;
        cursor: not-allowed;
    }

.print-menu-divider[b-5smvt37zt7] {
    height: 1px;
    margin: 4px 0;
    background-color: #f3f4f6;
}

.print-menu-badge[b-5smvt37zt7] {
    min-width: 18px;
    padding: 1px 6px;
    background-color: #f3f4f6;
    font-size: 0.65rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
}

.print-menu-badge-primary[b-5smvt37zt7] {
    background-color: #eff6ff;
    color: #0040be;
}
/* _content/MMS.Web/Components/Pages/Material/TambahMaterialTemporary.razor.rz.scp.css */
/* Semua elemen halaman ini tajam (tanpa border-radius) */
*[b-vcx5pqm7co],
*[b-vcx5pqm7co]::before,
*[b-vcx5pqm7co]::after {
    border-radius: 0 !important;
}

/* CONTAINER & HEADER (identik dengan Material AMP / Print QR) */
.dashboard-container[b-vcx5pqm7co] {
    width: 100%;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan Material AMP) */
.dashboard-container[b-vcx5pqm7co] {
    padding: 0 !important;
}

.dashboard-header[b-vcx5pqm7co] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-vcx5pqm7co] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.breadcrumb-text[b-vcx5pqm7co] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-vcx5pqm7co] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.dashboard-divider[b-vcx5pqm7co] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

.production-content-placeholder[b-vcx5pqm7co] {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px; /* sama dengan jarak di bawah garis header (.dashboard-divider) */
    /* wrapper polos (bukan kotak dashed dari app.css) */
    border: none;
    padding: 0;
    background-color: transparent;
    text-align: left;
}

/* BUTTONS */
.header-actions[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn:disabled[b-vcx5pqm7co] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-icon[b-vcx5pqm7co] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-vcx5pqm7co] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover:not(:disabled)[b-vcx5pqm7co] {
        background-color: #003399;
    }

.btn-icon-white[b-vcx5pqm7co] {
    filter: brightness(0) invert(1);
}

/* CARD */
.material-card[b-vcx5pqm7co] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 0; /* margin bawaan app.css dimatikan, jarak antar card murni dari gap wrapper */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Card Input Penambahan Material: tanpa shadow */
.tmp-input-card[b-vcx5pqm7co] {
    box-shadow: none;
}

.material-card-header[b-vcx5pqm7co] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-group[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-box[b-vcx5pqm7co] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-vcx5pqm7co] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-vcx5pqm7co] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.card-dashed-divider[b-vcx5pqm7co] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* FORM INPUT */
.tmp-message[b-vcx5pqm7co] {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tmp-message-success[b-vcx5pqm7co] {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.tmp-message-error[b-vcx5pqm7co] {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.tmp-form-row[b-vcx5pqm7co] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.tmp-field[b-vcx5pqm7co] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tmp-field-grow[b-vcx5pqm7co] {
    flex: 1 1 280px;
    min-width: 0;
}

.tmp-field-tipe[b-vcx5pqm7co] {
    width: 110px;
    flex-shrink: 0;
}

.tmp-field-qty[b-vcx5pqm7co] {
    width: 120px;
    flex-shrink: 0;
}

.tmp-label[b-vcx5pqm7co] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4b5563;
    text-align: left;
}

.tmp-input[b-vcx5pqm7co] {
    width: 100%;
    height: 30px;
    min-height: 0;
    padding: 0 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .tmp-input:focus[b-vcx5pqm7co] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .tmp-input[b-vcx5pqm7co]::placeholder {
        color: #9ca3af;
    }

    .tmp-input:disabled[b-vcx5pqm7co] {
        background-color: #f9fafb;
        cursor: not-allowed;
    }

.tmp-add-btn[b-vcx5pqm7co] {
    justify-content: center;
    height: 30px;
    min-height: 0;
    min-width: 120px;
    padding: 0 12px;
    line-height: normal;
    font-size: 0.725rem;
    font-weight: 700;
}

    .tmp-add-btn .btn-icon[b-vcx5pqm7co] {
        width: 14px;
        height: 14px;
    }

.tmp-hint[b-vcx5pqm7co] {
    font-size: 0.7rem;
    color: #6b7280;
}

.tmp-hint-warning[b-vcx5pqm7co] {
    color: #b45309;
}

/* DROPDOWN SARAN PART NUMBER */
.tmp-combobox[b-vcx5pqm7co] {
    position: relative;
}

    /* input & tombol panah tetap bisa diklik saat daftar terbuka (di atas backdrop) */
    .tmp-combobox .tmp-input[b-vcx5pqm7co] {
        position: relative;
        z-index: 11;
        padding-right: 30px;
    }

.tmp-combobox-toggle[b-vcx5pqm7co] {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 100%;
    padding: 0;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

.tmp-combobox-chev[b-vcx5pqm7co] {
    transition: transform 0.2s ease;
}

.tmp-combobox-chev-open[b-vcx5pqm7co] {
    transform: rotate(180deg);
}

.tmp-suggest-empty[b-vcx5pqm7co] {
    padding: 10px 12px;
    font-size: 0.72rem;
    color: #9ca3af;
}

.tmp-suggest-backdrop[b-vcx5pqm7co] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.tmp-suggest-list[b-vcx5pqm7co] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 280px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tmp-suggest-item[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .tmp-suggest-item:hover[b-vcx5pqm7co] {
        background-color: #f3f4f6;
    }

.tmp-suggest-part[b-vcx5pqm7co] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0040be;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tmp-suggest-meta[b-vcx5pqm7co] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #9ca3af;
    flex-shrink: 0;
}

/* TOOLBAR */
/* FILTER TIPE (pojok kanan judul card; sama dengan Material Defect) */
.type-select-wrap[b-vcx5pqm7co] {
    position: relative;
    display: flex;
    flex-shrink: 0;
}

.toolbar-trigger[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    min-height: 0;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .toolbar-trigger:hover[b-vcx5pqm7co] {
        border-color: #9ca3af;
    }

    .toolbar-trigger .th-chevron-icon[b-vcx5pqm7co] {
        width: 12px;
        height: 12px;
        opacity: 0.6;
        flex-shrink: 0;
    }

.type-label[b-vcx5pqm7co] {
    font-weight: 600;
}

.type-badge[b-vcx5pqm7co] {
    min-width: 18px;
    padding: 1px 6px;
    background-color: #f3f4f6;
    font-size: 0.65rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
}

/* Tombol ellipsis (hanya tampil di HP) */
.ellipsis-btn[b-vcx5pqm7co] {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .ellipsis-btn:hover[b-vcx5pqm7co] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .ellipsis-btn img[b-vcx5pqm7co] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.ellipsis-btn-active[b-vcx5pqm7co],
.ellipsis-btn-active:hover[b-vcx5pqm7co] {
    background-color: #eff6ff;
    border-color: #0040be;
}

/* Menu filter (gaya sama dengan Filter lanjutan di Material AMP) */
.filter-menu-backdrop[b-vcx5pqm7co] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.filter-menu[b-vcx5pqm7co] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 150px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 20;
    overflow: hidden;
    text-align: left;
}

.filter-menu-title[b-vcx5pqm7co] {
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #f3f4f6;
}

.filter-menu-option[b-vcx5pqm7co] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

    .filter-menu-option:hover[b-vcx5pqm7co] {
        background-color: #f3f4f6;
    }

.filter-menu-option-active[b-vcx5pqm7co] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 600;
}

.material-toolbar-row[b-vcx5pqm7co] {
    --toolbar-height: 30px; /* sama dengan search bar di Material Defect */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.material-search-box[b-vcx5pqm7co] {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 300px;
    flex: 1;
    min-width: 0;
    height: var(--toolbar-height);
}

.search-icon[b-vcx5pqm7co] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-vcx5pqm7co] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-vcx5pqm7co] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-vcx5pqm7co]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-vcx5pqm7co] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

/* TABLE */
.material-table-wrapper[b-vcx5pqm7co] {
    width: 100%;
    overflow-x: auto;
    min-height: 200px;
}

.production-table[b-vcx5pqm7co] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table thead th[b-vcx5pqm7co] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-vcx5pqm7co] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-vcx5pqm7co] {
        background-color: #f9fafb;
    }

.th-no-col[b-vcx5pqm7co] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-vcx5pqm7co] {
    text-align: center;
}

.td-kode-material[b-vcx5pqm7co] {
    font-weight: 600;
    color: #0040be;
}

.td-kode-unik[b-vcx5pqm7co] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.td-empty-state[b-vcx5pqm7co] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

.production-table tbody td.td-empty-state[b-vcx5pqm7co] {
    white-space: normal;
}

/* CHECKBOX */
.th-checkbox-col[b-vcx5pqm7co], .td-checkbox-col[b-vcx5pqm7co] {
    width: 36px;
    text-align: center;
}

    .th-checkbox-col input[type="checkbox"][b-vcx5pqm7co], .td-checkbox-col input[type="checkbox"][b-vcx5pqm7co] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: #0040be;
    }

/* STATUS & AKSI */
.tmp-badge[b-vcx5pqm7co] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.tmp-badge-pending[b-vcx5pqm7co] {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.tmp-badge-done[b-vcx5pqm7co] {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.td-actions[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tmp-row-btn[b-vcx5pqm7co] {
    padding: 5px 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .tmp-row-btn:hover:not(:disabled)[b-vcx5pqm7co] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

    .tmp-row-btn:disabled[b-vcx5pqm7co] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.tmp-row-btn-danger[b-vcx5pqm7co] {
    color: #b91c1c;
}

    .tmp-row-btn-danger:hover:not(:disabled)[b-vcx5pqm7co] {
        background-color: #fef2f2;
        border-color: #fca5a5;
        color: #991b1b;
    }

/* PAGINATION */
.modal-pagination[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.tmp-page-info[b-vcx5pqm7co] {
    font-size: 0.75rem;
    color: #6b7280;
}

.modal-pagination-controls[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn[b-vcx5pqm7co] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pagination-btn:hover:not(:disabled)[b-vcx5pqm7co] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .pagination-btn:disabled[b-vcx5pqm7co] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f9fafb;
    }

/* RESPONSIVE MOBILE */
@media (max-width: 640px) {
    .dashboard-header[b-vcx5pqm7co] {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .header-actions[b-vcx5pqm7co] {
        width: 100%;
    }

        .header-actions .btn[b-vcx5pqm7co] {
            width: 100%;
            justify-content: center;
        }

    .tmp-field-tipe[b-vcx5pqm7co],
    .tmp-field-qty[b-vcx5pqm7co],
    .tmp-field-grow[b-vcx5pqm7co] {
        width: 100%;
        flex: 1 1 100%;
    }

    .tmp-add-btn[b-vcx5pqm7co] {
        width: 100%;
    }

    .material-toolbar-row[b-vcx5pqm7co] {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }

    .material-search-box[b-vcx5pqm7co] {
        max-width: 100%;
        flex: 0 0 auto;
    }

    /* Judul card + tombol filter tetap satu baris */
    .material-card-header[b-vcx5pqm7co] {
        gap: 8px;
        flex-wrap: nowrap;
    }

    /* Filter Tipe: tombol teks diganti tombol ellipsis */
    .type-select-wrap .toolbar-trigger[b-vcx5pqm7co] {
        display: none;
    }

    .type-select-wrap .ellipsis-btn[b-vcx5pqm7co] {
        display: flex;
    }
}
/* _content/MMS.Web/Components/Pages/Production.razor.rz.scp.css */
/* ==========================================================================
   SAMAKAN DENGAN MMS (sama seperti Dashboard.razor.css): netralkan CSS global
   mms-merged (app.css, v2/*.css) yang bocor ke halaman ini. UI saja, tanpa logic.
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('Fonts/Inter-VariableFont.ttf') format('truetype-variations');
    font-weight: 100 900;
}

.dashboard-container[b-ekkylwaobt] {
    padding: 0 !important; /* app.css memaksa padding 24px 32px pada .dashboard-container */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: normal;
    color: #111;
    text-rendering: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

button[b-ekkylwaobt],
input[b-ekkylwaobt] {
    font: revert;
    color: revert;
}

.dashboard-header[b-ekkylwaobt] { margin-bottom: 0; flex-wrap: nowrap; }
.breadcrumb-text[b-ekkylwaobt] { text-transform: none; }
.page-title[b-ekkylwaobt] { letter-spacing: normal; }
.header-actions[b-ekkylwaobt] { flex-wrap: nowrap; }

.btn[b-ekkylwaobt] { min-height: 0; justify-content: flex-start; white-space: normal; user-select: auto; }

.material-card[b-ekkylwaobt] { border-radius: 0; margin-bottom: 0; }
.card-icon-box[b-ekkylwaobt] { border-radius: 0; color: inherit; }
.card-title[b-ekkylwaobt] { letter-spacing: normal; }

.dashboard-container[b-ekkylwaobt] {
    width: 100%;
}

.dashboard-header[b-ekkylwaobt] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.header-title-wrapper[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumb-text[b-ekkylwaobt] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.page-title[b-ekkylwaobt] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.header-actions[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-icon[b-ekkylwaobt] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-export[b-ekkylwaobt] {
    background-color: #0040be;
    color: #ffffff;
}

    .btn-export:hover[b-ekkylwaobt] {
        background-color: #003399;
    }

.btn-icon-white[b-ekkylwaobt] {
    filter: brightness(0) invert(1);
}

.dashboard-divider[b-ekkylwaobt] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

.production-content-placeholder[b-ekkylwaobt] {
    min-height: 300px;
}

.empty-state-text[b-ekkylwaobt] {
    color: #ef4444;
    font-size: 0.85rem;
}

/* Empty state di dalam card (di bawah garis dashed) */
.production-empty-state[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0 8px 0;
}

.production-empty-title[b-ekkylwaobt] {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    letter-spacing: normal;
}

.production-empty-text[b-ekkylwaobt] {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 0 18px 0;
}

.btn-outline[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-outline:hover[b-ekkylwaobt] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.btn-primary[b-ekkylwaobt] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

    .btn-primary:hover[b-ekkylwaobt] {
        background-color: #003399;
        border-color: #003399;
        color: #ffffff;
    }

    .btn-primary:disabled[b-ekkylwaobt] {
        background-color: #9ca3af;
        border-color: #9ca3af;
        cursor: not-allowed;
        opacity: 0.6;
    }

/* ============================= */
/* MATERIAL CARD (shared pattern from Print.razor.css, kept consistent) */
/* ============================= */
.material-card[b-ekkylwaobt] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.material-card-header[b-ekkylwaobt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar-weekday-header[b-ekkylwaobt] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.calendar-weekday-label[b-ekkylwaobt] {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.03em;
}

.calendar-weekday-label-weekend[b-ekkylwaobt] {
    color: #ef4444;
}

.day-box-weekend[b-ekkylwaobt] {
    border-color: #fca5a5;
    background-color: #fef2f2;
}

    .day-box-weekend .day-box-number[b-ekkylwaobt] {
        color: #ef4444;
    }

    .day-box-weekend.day-box-filled[b-ekkylwaobt] {
        background-color: #fee2e2;
        border-color: #f87171;
    }

.day-box-outside[b-ekkylwaobt] {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    background-color: #f9fafb;
}

    .day-box-outside .day-box-number[b-ekkylwaobt] {
        color: #9ca3af;
    }

.day-box-model-count[b-ekkylwaobt] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6b7280;
}

.day-box-weekend .day-box-model-count[b-ekkylwaobt] {
    color: #ef4444;
    opacity: 0.8;
}

/* MODAL: Detail Produksi */
.day-detail-modal-box[b-ekkylwaobt] {
    width: 840px;
    height: 500px;
    max-height: 90vh;
}

.day-detail-input[b-ekkylwaobt] {
    height: 36px;
    padding: 0 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .day-detail-input:focus[b-ekkylwaobt] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.day-detail-input-model[b-ekkylwaobt] {
    flex: 1;
    min-width: 0;
}

.day-detail-input-qty[b-ekkylwaobt] {
    width: 90px;
    flex-shrink: 0;
    text-align: right;
}

    .day-detail-input-qty[b-ekkylwaobt]::-webkit-outer-spin-button,
    .day-detail-input-qty[b-ekkylwaobt]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

select.day-detail-input[b-ekkylwaobt] {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 7px;
    padding-right: 28px;
}

.day-detail-arrow[b-ekkylwaobt] {
    font-size: 0.85rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.day-detail-add-btn[b-ekkylwaobt] {
    width: 100%;
    margin-bottom: 16px;
}

.day-detail-table-wrapper[b-ekkylwaobt] {
    width: 100%;
    overflow-x: auto;
}

.day-detail-table[b-ekkylwaobt] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .day-detail-table th[b-ekkylwaobt] {
        padding: 10px 14px;
        background-color: #f8fafc;
        color: #374151;
        font-weight: 800;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .day-detail-table td[b-ekkylwaobt] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-weight: 500;
        border: 1px solid #e5e7eb;
    }

.th-expand-col[b-ekkylwaobt],
.td-expand-col[b-ekkylwaobt] {
    width: 40px;
    text-align: center;
}

.td-empty-state[b-ekkylwaobt] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af;
    font-weight: 500;
}

.day-detail-table-model-input[b-ekkylwaobt] {
    font-weight: 600;
}

.day-detail-table-input[b-ekkylwaobt] {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.8rem;
    color: #111827;
    padding: 0;
    box-sizing: border-box;
}

.day-detail-table-select[b-ekkylwaobt] {
    cursor: pointer;
    font-weight: 600;
}

.day-detail-table-input-qty[b-ekkylwaobt] {
    width: 100%;
    text-align: right;
    font-weight: 700;
    color: #0040be;
    box-sizing: border-box;
}

.day-detail-remove-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .day-detail-remove-btn:hover[b-ekkylwaobt] {
        background-color: #fef2f2;
        color: #ef4444;
    }

.day-detail-actions[b-ekkylwaobt] {
    justify-content: flex-end;
    margin-top: auto;
}

.day-detail-actions[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.day-detail-warning[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    color: #dc2626;
    font-weight: 500;
}

.day-detail-warning-icon[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.card-title-group[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title-text-group[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-icon-box[b-ekkylwaobt] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .card-icon-box img[b-ekkylwaobt] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.card-title[b-ekkylwaobt] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.month-year-badge[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.month-year-icon[b-ekkylwaobt] {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    flex-shrink: 0;
}

.month-year-text[b-ekkylwaobt] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    text-transform: capitalize;
}

.card-subtitle[b-ekkylwaobt] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: capitalize;
}

.card-dashed-divider[b-ekkylwaobt] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ============================= */
/* MONTHLY PLAN PRODUCTION CARD */
/* ============================= */
.monthly-plan-card[b-ekkylwaobt] {

}

.monthly-plan-grid[b-ekkylwaobt] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.day-box[b-ekkylwaobt] {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 6px 4px;
    transition: all 0.15s ease;
}

    .day-box:hover[b-ekkylwaobt] {
        border-color: #0040be;
        background-color: #f0f5ff;
    }

    .day-box-weekend:hover[b-ekkylwaobt] {
        border-color: #f87171;
        background-color: #fee2e2;
    }

.day-box-filled[b-ekkylwaobt] {
    background-color: #f0f5ff;
    border-color: #c7d9f7;
}

.day-box-active[b-ekkylwaobt] {
    border-color: #0040be;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.12);
}

.day-box-number[b-ekkylwaobt] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    line-height: 1;
}

.day-box-active .day-box-number[b-ekkylwaobt] {
    color: #0040be;
}

.day-box-value[b-ekkylwaobt] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0040be;
    line-height: 1;
}

.day-box:not(.day-box-filled) .day-box-value[b-ekkylwaobt] {
    color: #d1d5db;
    font-weight: 600;
}

.day-box-input[b-ekkylwaobt] {
    width: 100%;
    max-width: 44px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0040be;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

    .day-box-input[b-ekkylwaobt]::-webkit-outer-spin-button,
    .day-box-input[b-ekkylwaobt]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* MODAL OVERLAY */
.modal-overlay[b-ekkylwaobt] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.modal-header-row[b-ekkylwaobt] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.modal-title-group[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.modal-subtitle[b-ekkylwaobt] {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.modal-close-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .modal-close-btn:hover[b-ekkylwaobt] {
        background-color: #e5e7eb;
        border-color: #9ca3af;
    }

    .modal-close-btn img[b-ekkylwaobt] {
        width: 12px;
        height: 12px;
    }

/* IMPORT EXCEL MODAL BOX */
.import-modal-box[b-ekkylwaobt] {
    width: 480px;
    max-width: 100%;
    max-height: 90vh;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.import-dropzone[b-ekkylwaobt] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .import-dropzone:hover[b-ekkylwaobt] {
        border-color: #0040be;
        background-color: #f0f5ff;
    }

.import-dropzone-active[b-ekkylwaobt] {
    border-color: #0040be;
    background-color: #f0f5ff;
}

.import-dropzone-icon[b-ekkylwaobt] {
    width: 28px;
    height: 28px;
    opacity: 0.5;
}

.import-dropzone-text[b-ekkylwaobt] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

.import-dropzone-link[b-ekkylwaobt] {
    color: #0040be;
    font-weight: 700;
}

.import-dropzone-hint[b-ekkylwaobt] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.import-file-card[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.import-file-row[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.import-file-icon-box[b-ekkylwaobt] {
    width: 36px;
    height: 36px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .import-file-icon-box img[b-ekkylwaobt] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.import-file-info[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.import-file-name[b-ekkylwaobt] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.import-file-size[b-ekkylwaobt] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.import-file-remove-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    font-size: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

    .import-file-remove-btn:hover[b-ekkylwaobt] {
        background-color: #f3f4f6;
        color: #374151;
    }

.import-progress-bar-track[b-ekkylwaobt] {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.import-progress-bar-fill[b-ekkylwaobt] {
    height: 100%;
    background-color: #0040be;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.import-modal-footer[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.import-warning-text[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #b45309;
    font-weight: 500;
}

.import-warning-icon[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fef3e2;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.import-modal-actions[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* ============================= */
/* RESPONSIVE: TABLET */
/* ============================= */
@media (max-width: 1024px) {
    .import-modal-box[b-ekkylwaobt] {
        width: 100%;
        max-width: 520px;
    }

    .monthly-plan-grid[b-ekkylwaobt],
    .calendar-weekday-header[b-ekkylwaobt] {
        gap: 8px;
    }

    .day-box-number[b-ekkylwaobt] {
        font-size: 0.65rem;
    }

    .day-box-value[b-ekkylwaobt],
    .day-box-input[b-ekkylwaobt] {
        font-size: 0.75rem;
    }
}

/* ============================= */
/* RESPONSIVE: MOBILE */
/* ============================= */
@media (max-width: 640px) {
    .modal-overlay[b-ekkylwaobt] {
        padding: 0;
        align-items: flex-end;
    }

    .import-modal-box[b-ekkylwaobt] {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        padding: 20px;
        gap: 16px;
    }

    .import-dropzone[b-ekkylwaobt] {
        padding: 28px 14px;
        gap: 8px;
    }

    .import-modal-footer[b-ekkylwaobt] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .import-modal-actions[b-ekkylwaobt] {
        width: 100%;
    }

    .material-card[b-ekkylwaobt] {
        padding: 16px;
    }

    .material-card-header[b-ekkylwaobt] {
        flex-direction: column;
        align-items: flex-start;
    }

    .month-year-badge[b-ekkylwaobt] {
        width: 100%;
        justify-content: center;
    }

    .monthly-plan-grid[b-ekkylwaobt],
    .calendar-weekday-header[b-ekkylwaobt] {
        gap: 6px;
    }

    .calendar-weekday-label[b-ekkylwaobt] {
        font-size: 0.55rem;
    }

    .day-box[b-ekkylwaobt] {
        border-radius: 6px;
        padding: 4px 2px;
    }

    .day-box-number[b-ekkylwaobt] {
        font-size: 0.6rem;
    }

    .day-box-value[b-ekkylwaobt],
    .day-box-input[b-ekkylwaobt] {
        font-size: 0.7rem;
    }
}

/* ============================= */
/* KONFIRMASI PRODUKSI MINGGUAN */
/* ============================= */
.weekly-confirm-list[b-ekkylwaobt] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weekly-confirm-item[b-ekkylwaobt] {
    min-width: 0;
    border: 1px solid #e5e7eb;
    padding: 18px;
    background-color: #ffffff;
}

.weekly-confirm-item-clickable[b-ekkylwaobt] {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

    .weekly-confirm-item-clickable:hover[b-ekkylwaobt] {
        border-color: #a7aaaf;
    }

.weekly-confirm-status-label[b-ekkylwaobt] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.weekly-confirm-status-pending[b-ekkylwaobt] {
    background-color: #fef3e2;
    color: #b45309;
}

.weekly-confirm-status-confirmed[b-ekkylwaobt] {
    background-color: #dcfce7;
    color: #15803d;
}

.weekly-confirm-heading[b-ekkylwaobt] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-top: 5px;
    margin-bottom: 2px;
}

.weekly-confirm-date-row[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.weekly-confirm-date-icon[b-ekkylwaobt] {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    flex-shrink: 0;
}

.weekly-confirm-subtext[b-ekkylwaobt] {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 16px;
}

.weekly-confirm-meta-row[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.weekly-confirm-meta-item[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.weekly-confirm-meta-icon[b-ekkylwaobt] {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.weekly-confirm-detail-link[b-ekkylwaobt] {
    display: block;
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
    padding: 14px 0 0 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0040be;
    cursor: pointer;
}


    /* Divider above view detail */
    .weekly-confirm-detail-link[b-ekkylwaobt]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
        background-position: top;
        background-size: 12px 1px;
        background-repeat: repeat-x;
    }

    .weekly-confirm-detail-link:hover[b-ekkylwaobt] {
        text-decoration: underline;
    }

.weekly-confirm-expand-panel[b-ekkylwaobt] {
    margin-top: 0;
}

/* garis dashed di atas kalender tanggal (muncul saat card dibuka) */
.weekly-confirm-item-divider[b-ekkylwaobt] {
    margin: 12px 0 20px 0;
}

/* chevron di pojok kanan atas card */
.weekly-confirm-chevron[b-ekkylwaobt] {
    flex-shrink: 0;
    margin-left: auto;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.weekly-confirm-chevron-open[b-ekkylwaobt] {
    transform: rotate(180deg);
}

/* Daily production info (mobile viewport) */
.weekly-confirm-day-info[b-ekkylwaobt] {
    display: none;
}

.weekly-confirm-model-row[b-ekkylwaobt] {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.8rem;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
}

    .weekly-confirm-model-row:last-of-type[b-ekkylwaobt] {
        border-bottom: none;
    }

.weekly-confirm-empty-text[b-ekkylwaobt] {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    padding: 12px 0;
}

.weekly-confirm-expand-actions[b-ekkylwaobt] {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.weekly-confirm-top-row[b-ekkylwaobt] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.weekly-confirm-date-corner[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.weekly-confirm-date-corner-icon[b-ekkylwaobt] {
    width: 13px;
    height: 13px;
    opacity: 0.6;
}

@media (max-width: 640px) {
    /* tanggal, jumlah model, jumlah material: tersusun ke bawah (Model, Material, Tanggal) */
    .weekly-confirm-meta-row[b-ekkylwaobt] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .weekly-confirm-meta-item:nth-child(2)[b-ekkylwaobt] {
        order: 1; /* Jumlah Model */
    }

    .weekly-confirm-meta-item:nth-child(3)[b-ekkylwaobt] {
        order: 2; /* Jumlah Material */
    }

    .weekly-confirm-meta-item:nth-child(1)[b-ekkylwaobt] {
        order: 3; /* Tanggal */
    }

    .weekly-confirm-detail-link[b-ekkylwaobt] {
        order: 4;
    }

    /* Weekly calendar grid */
    .weekly-confirm-item[b-ekkylwaobt] {
        padding: 14px;
    }

    .weekly-confirm-mini-grid[b-ekkylwaobt],
    .weekly-confirm-expand-panel .calendar-weekday-header[b-ekkylwaobt] {
        gap: 4px;
    }

    .weekly-confirm-mini-grid .day-box[b-ekkylwaobt] {
        aspect-ratio: 1 / 1;
        min-height: 0;
        overflow: hidden;
        padding: 2px 1px;
        gap: 2px;
    }

    .weekly-confirm-mini-grid .day-box-number[b-ekkylwaobt],
    .weekly-confirm-mini-grid .day-box-value[b-ekkylwaobt],
    .weekly-confirm-mini-grid .day-box-model-count[b-ekkylwaobt] {
        line-height: 1;
    }

    /* Date tile layout */
    .weekly-confirm-mini-grid .day-box-value[b-ekkylwaobt],
    .weekly-confirm-mini-grid .day-box-model-count[b-ekkylwaobt] {
        display: none;
    }

    .weekly-confirm-mini-grid .day-box-number[b-ekkylwaobt] {
        font-size: 0.8rem;
    }

    .weekly-confirm-day-info[b-ekkylwaobt] {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 14px;
    }

    .day-info-row[b-ekkylwaobt] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        background-color: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        font-size: 0.72rem;
        cursor: pointer;
    }

    .day-info-date[b-ekkylwaobt] {
        font-weight: 700;
        color: #111827;
        white-space: nowrap;
    }

    .day-info-date-weekend[b-ekkylwaobt] {
        color: #ef4444;
    }

    .day-info-meta[b-ekkylwaobt] {
        font-weight: 600;
        color: #0040be;
        text-align: right;
    }

    .day-info-model[b-ekkylwaobt] {
        color: #6b7280;
        font-weight: 500;
    }

    .weekly-confirm-mini-grid .day-box-model-count[b-ekkylwaobt] {
        max-width: 100%;
        font-size: 0.45rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .weekly-confirm-detail-link[b-ekkylwaobt] {
        margin-top: 6px;
    }

}

/* ============================= */
/* MODAL DETAIL PRODUKSI: DESKTOP */
/* Drawer side panel */
/* ============================= */
.day-detail-dash[b-ekkylwaobt] {
    display: none;
}

@media (min-width: 1025px) {
    .modal-overlay.day-detail-overlay[b-ekkylwaobt] {
        align-items: stretch;
        justify-content: flex-end;
        padding: 0;
    }

    .import-modal-box.day-detail-modal-box[b-ekkylwaobt] {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 40vw;
        min-width: 480px;
        max-width: 900px;
        height: 100%;
        max-height: 100%;
        border: none;
        border-radius: 0;
        padding: 24px;
        box-sizing: border-box;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
        animation: day-detail-slide-in-right-b-ekkylwaobt 0.22s ease-out;
    }

    /* Title and subtitle typography */
    .day-detail-modal-box .modal-title-group[b-ekkylwaobt] {
        gap: 2px;
    }

    .day-detail-modal-box .modal-title-group .card-title[b-ekkylwaobt] {
        font-size: 0.95rem;
        font-weight: 700;
        color: #111827;
    }

    .day-detail-modal-box .modal-subtitle[b-ekkylwaobt] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #6b7280;
    }

    /* garis putus-putus di bawah header */
    .day-detail-dash[b-ekkylwaobt] {
        display: block;
        width: 100%;
        height: 1px;
        margin: -6px 0 -4px 0;
        background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
        background-position: top;
        background-size: 12px 1px;
        background-repeat: repeat-x;
        flex-shrink: 0;
    }

    /* tabel mengisi ruang panel dan menggulir sendiri bila panjang */
    .day-detail-modal-box .day-detail-table-wrapper[b-ekkylwaobt] {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }

    /* Bottom sticky action button */
    .day-detail-modal-box .day-detail-actions[b-ekkylwaobt] {
        margin-top: auto;
        padding-top: 16px;
        flex-shrink: 0;
    }
}

@keyframes day-detail-slide-in-right-b-ekkylwaobt {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* ==========================================================================
   RINGKASAN KEBUTUHAN MATERIAL (PSI)
   Satu strip statistik (sel dipisah garis 1px), tab bergaris bawah, chip filter,
   tabel rata. Datar, siku, #0040be - sama seperti card Dashboard.
   ========================================================================== */
.psi-panel[b-ekkylwaobt] {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Strip statistik ---- */
.psi-stats[b-ekkylwaobt] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.psi-stat[b-ekkylwaobt] {
    --psi-c: #0040be;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.psi-stat-head[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.psi-stat-label[b-ekkylwaobt] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.675rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
    white-space: nowrap;
}

.psi-stat-mark[b-ekkylwaobt] {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background-color: var(--psi-c);
}

.psi-stat-menu[b-ekkylwaobt] {
    position: relative;
    margin: -4px -6px -4px 0;
}

.psi-stat-menu-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .psi-stat-menu-btn:hover[b-ekkylwaobt] {
        background-color: #f3f4f6;
        color: #111827;
    }

.psi-menu-backdrop[b-ekkylwaobt] {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: transparent;
}

.psi-menu-list[b-ekkylwaobt] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 10;
    min-width: 140px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.psi-menu-item[b-ekkylwaobt] {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .psi-menu-item:hover[b-ekkylwaobt] {
        background-color: #f3f4f6;
    }

.psi-menu-item-active[b-ekkylwaobt],
.psi-menu-item-active:hover[b-ekkylwaobt] {
    background-color: #e8f0fe;
    color: #0040be;
    font-weight: 700;
}

.psi-stat-main[b-ekkylwaobt] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-top: 20px;
}

.psi-stat-num[b-ekkylwaobt] {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.psi-stat-noun[b-ekkylwaobt] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.psi-stat-qty[b-ekkylwaobt] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    font-variant-numeric: tabular-nums;
}

    .psi-stat-qty span[b-ekkylwaobt] {
        font-weight: 500;
        color: #9ca3af;
    }

/* ---- Tab + filter ---- */
.psi-toolbar[b-ekkylwaobt] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.psi-tabs[b-ekkylwaobt] {
    display: flex;
    gap: 24px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

    .psi-tabs[b-ekkylwaobt]::-webkit-scrollbar {
        display: none;
    }

.psi-tab[b-ekkylwaobt] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -1px;
    padding: 10px 0 11px 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

    .psi-tab:hover[b-ekkylwaobt] {
        color: #111827;
    }

.psi-tab-active[b-ekkylwaobt],
.psi-tab-active:hover[b-ekkylwaobt] {
    color: #0040be;
    border-bottom-color: #0040be;
}

.psi-filter[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 8px;
}

.psi-filter-menu[b-ekkylwaobt] {
    position: relative;
}

    /* daftar selebar tombol, rata kanan */
    .psi-filter-menu .psi-menu-list[b-ekkylwaobt] {
        min-width: 100%;
    }

.psi-filter-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .psi-filter-btn:hover[b-ekkylwaobt] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.psi-filter-chevron[b-ekkylwaobt] {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.psi-filter-chevron-open[b-ekkylwaobt] {
    transform: rotate(180deg);
}

/* ---- Tabel ---- */
.psi-table-wrap[b-ekkylwaobt] {
    max-height: 360px;
    overflow: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.psi-table[b-ekkylwaobt] {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
}

    .psi-table thead th[b-ekkylwaobt] {
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 10px 14px;
        background-color: #f3f4f6;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        font-size: 0.75rem;
        font-weight: 700;
        text-align: left;
        color: #374151;
        white-space: nowrap;
    }

    .psi-table tbody td[b-ekkylwaobt] {
        padding: 12px 14px;
        background-color: #ffffff;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        font-size: 0.8rem;
        white-space: nowrap;
        font-weight: 500;
        color: #111827;
        vertical-align: middle;
    }

    .psi-table tbody tr:last-child td[b-ekkylwaobt] {
        border-bottom: none;
    }

    .psi-table th:last-child[b-ekkylwaobt],
    .psi-table td:last-child[b-ekkylwaobt] {
        border-right: none;
    }

    .psi-table tbody tr:hover td[b-ekkylwaobt] {
        background-color: #f9fafb;
    }

    .psi-table tfoot td[b-ekkylwaobt] {
        position: sticky;
        bottom: 0;
        padding: 11px 14px;
        background-color: #f9fafb;
        border-top: 1px solid #e5e7eb;
        border-right: 1px solid #e5e7eb;
        font-weight: 700;
        color: #111827;
    }

    .psi-table .psi-col-no[b-ekkylwaobt] {
        width: 48px;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .psi-table .psi-num[b-ekkylwaobt] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .psi-table .psi-center[b-ekkylwaobt] {
        text-align: center;
    }

    .psi-table .psi-strong[b-ekkylwaobt] {
        font-weight: 700;
    }

    .psi-table .psi-accent[b-ekkylwaobt] {
        color: #0040be;
    }

    .psi-table .psi-foot-label[b-ekkylwaobt] {
        text-align: left;
    }

    .psi-table .psi-part[b-ekkylwaobt],
    .psi-table .psi-model[b-ekkylwaobt] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #0040be;
        white-space: nowrap;
    }

.psi-models[b-ekkylwaobt] {
    display: block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    color: #6b7280;
}

.psi-type-badge[b-ekkylwaobt],
.psi-badge[b-ekkylwaobt] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.psi-badge[b-ekkylwaobt] {
    background-color: #e8f0fe;
    color: #0040be;
}

/* ikon ellipsis pada tombol filter (hanya tampil di mobile) */
.psi-filter-dots[b-ekkylwaobt] {
    display: none;
}

/* teks tombol Konfirmasi: versi pendek hanya di mobile */
.weekly-confirm-btn-short[b-ekkylwaobt] {
    display: none;
    align-items: center;
    gap: 6px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    /* tab + filter selalu satu baris */
    .psi-toolbar[b-ekkylwaobt] {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .psi-tabs[b-ekkylwaobt] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .psi-filter[b-ekkylwaobt] {
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    /* kartu ringkasan: 1 kartu per layar, geser kanan-kiri */
    .psi-stats[b-ekkylwaobt] {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .psi-stats[b-ekkylwaobt]::-webkit-scrollbar {
            display: none;
        }

    .psi-stat[b-ekkylwaobt] {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 12px 14px;
    }

    .psi-stat-num[b-ekkylwaobt] {
        font-size: 1.4rem;
    }

    /* tab tetap 2 (Part Lists + Detail Model), dirapatkan */
    .psi-tabs[b-ekkylwaobt] {
        gap: 16px;
    }

    /* tombol filter jadi ellipsis */
    .psi-filter-btn[b-ekkylwaobt] {
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
    }

    .psi-filter-text[b-ekkylwaobt],
    .psi-filter-chevron[b-ekkylwaobt] {
        display: none;
    }

    .psi-filter-dots[b-ekkylwaobt] {
        display: block;
    }

    /* tombol Konfirmasi: teks pendek + ikon centang */
    .weekly-confirm-btn-full[b-ekkylwaobt] {
        display: none;
    }

    .weekly-confirm-btn-short[b-ekkylwaobt] {
        display: inline-flex;
    }

    /* menu dropdown jadi bottom sheet (tidak terpotong area geser) */
    .psi-menu-backdrop[b-ekkylwaobt] {
        z-index: 1000;
        background-color: rgba(17, 24, 39, 0.35);
    }

    .psi-menu-list[b-ekkylwaobt] {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1001;
        min-width: 0;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 12px;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    }

    .psi-menu-item[b-ekkylwaobt] {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .psi-filter-menu .psi-menu-list[b-ekkylwaobt] {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .psi-tab svg[b-ekkylwaobt] {
        display: none;
    }
}

/* ==========================================================================
   TAB + TOOLBAR PART LISTS / DETAIL MODEL
   Style tab disamakan dengan tab Print QR (Print.razor.css)
   ========================================================================== */
.material-tabs-row[b-ekkylwaobt] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    overflow: visible;
    box-sizing: border-box;
    border-radius: 0 !important;
}

.material-tab[b-ekkylwaobt] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0 !important;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-ekkylwaobt] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-ekkylwaobt] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-ekkylwaobt] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Toolbar: search kiri, filter pojok kanan */
.material-toolbar-row[b-ekkylwaobt] {
    --toolbar-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.material-search-box[b-ekkylwaobt] {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--toolbar-height);
    max-width: 300px;
    flex: 1;
    min-width: 0;
}

.search-icon[b-ekkylwaobt] {
    position: absolute;
    left: 12px;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    pointer-events: none;
}

.search-input[b-ekkylwaobt] {
    width: 100%;
    height: var(--toolbar-height);
    min-height: 0;
    padding: 0 28px 0 30px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0;
    font-size: 0.725rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .search-input:focus[b-ekkylwaobt] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .search-input[b-ekkylwaobt]::placeholder {
        color: #9ca3af;
    }

.search-clear-btn[b-ekkylwaobt] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 0.7rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
}

/* Tombol filter: tinggi & sudut disamakan dengan search bar */
.psi-search-row .psi-filter[b-ekkylwaobt] {
    padding-bottom: 0;
    flex-shrink: 0;
}

.psi-search-row .psi-filter-btn[b-ekkylwaobt] {
    height: var(--toolbar-height);
    padding: 0 10px;
    gap: 6px;
    border-radius: 0;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .material-search-box[b-ekkylwaobt] {
        max-width: none;
    }

    .psi-search-row .psi-filter-btn[b-ekkylwaobt] {
        width: var(--toolbar-height);
        height: var(--toolbar-height);
        padding: 0;
    }
}

/* ==========================================================================
   SEMUA TOMBOL TAJAM (tanpa border-radius)
   ========================================================================== */
button[b-ekkylwaobt],
.btn[b-ekkylwaobt],
.btn-outline[b-ekkylwaobt],
.btn-primary[b-ekkylwaobt],
.btn-export[b-ekkylwaobt],
.modal-close-btn[b-ekkylwaobt],
.import-file-remove-btn[b-ekkylwaobt],
.day-detail-remove-btn[b-ekkylwaobt],
.psi-stat-menu-btn[b-ekkylwaobt],
.psi-filter-btn[b-ekkylwaobt],
.material-tab[b-ekkylwaobt],
.search-clear-btn[b-ekkylwaobt] {
    border-radius: 0 !important;
}

/* ==========================================================================
   NAVIGASI BULAN (‹ Oktober 2026 ›)
   ========================================================================== */
.month-year-badge[b-ekkylwaobt] {
    border-radius: 0 !important;
}

.month-nav[b-ekkylwaobt] {
    justify-content: space-between;
    gap: 16px;
    min-width: 190px;
    padding: 0 4px;
}

.month-nav-btn[b-ekkylwaobt] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 100%;
    padding: 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #374151;
    cursor: pointer;
}
/* _content/MMS.Web/Components/Pages/QcReports/Performance.razor.rz.scp.css */
.qc-page[b-2ai6aotyu6] {
    width: 100%;
}

.qc-mt[b-2ai6aotyu6] {
    margin-top: 16px;
}

.qc-center[b-2ai6aotyu6] {
    text-align: center;
}

.qc-red[b-2ai6aotyu6] {
    color: #c5221f;
    font-weight: 700;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan halaman QC & Laporan Mesin */
*[b-2ai6aotyu6],
*[b-2ai6aotyu6]::before,
*[b-2ai6aotyu6]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman QC) */
.qc-page[b-2ai6aotyu6] {
    padding: 0 !important;
}

/* Tombol Export Excel: ukuran sama dengan tombol header Material AMP, tanpa shadow (normal maupun hover) */
.qc-btn.qc-btn-export[b-2ai6aotyu6] {
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    box-shadow: none;
}

    .qc-btn.qc-btn-export:hover:not(:disabled)[b-2ai6aotyu6] {
        box-shadow: none;
    }

    .qc-btn.qc-btn-export .qc-btn-icon[b-2ai6aotyu6] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

/* ---------- Header ---------- */
.qc-header[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.qc-title-wrap[b-2ai6aotyu6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qc-breadcrumb[b-2ai6aotyu6] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.qc-title[b-2ai6aotyu6] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.qc-actions[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-divider[b-2ai6aotyu6] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* ---------- Buttons ---------- */
.qc-btn[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.qc-btn-primary[b-2ai6aotyu6] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

    .qc-btn-primary:hover[b-2ai6aotyu6] {
        background-color: #003399;
        border-color: #003399;
    }

.qc-btn-outline[b-2ai6aotyu6] {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

    .qc-btn-outline:hover[b-2ai6aotyu6] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.qc-btn-icon[b-2ai6aotyu6] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.qc-icon-white[b-2ai6aotyu6] {
    filter: brightness(0) invert(1);
}

/* ---------- Toolbar: bulan + group ---------- */
.qc-toolbar[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.qc-monthnav[b-2ai6aotyu6] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.qc-monthnav-btn[b-2ai6aotyu6] {
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .qc-monthnav-btn:hover:not(:disabled)[b-2ai6aotyu6] {
        background-color: #f3f4f6;
    }

    .qc-monthnav-btn:disabled[b-2ai6aotyu6] {
        color: #d1d5db;
        cursor: not-allowed;
    }

.qc-monthnav-label[b-2ai6aotyu6] {
    min-width: 130px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    line-height: 30px;
}

.qc-pill[b-2ai6aotyu6] {
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .qc-pill:hover[b-2ai6aotyu6] {
        border-color: #9ca3af;
    }

    .qc-pill:focus[b-2ai6aotyu6] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

/* ---------- Card statistik bulanan ---------- */
.qc-stats-row[b-2ai6aotyu6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.qc-stat[b-2ai6aotyu6] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    min-width: 0;
}

.qc-stat-top[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.qc-stat-label[b-2ai6aotyu6] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-stat-icon[b-2ai6aotyu6] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #9ca3af;
    transform: translateY(3px);
}

.qc-stat-value[b-2ai6aotyu6] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.qc-stat-value-red[b-2ai6aotyu6] {
    color: #c5221f;
}

/* ---------- Card ---------- */
.qc-card[b-2ai6aotyu6] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.qc-card-head[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qc-title-group[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-title-stack[b-2ai6aotyu6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qc-icon-box[b-2ai6aotyu6] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .qc-icon-box img[b-2ai6aotyu6] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.qc-card-title[b-2ai6aotyu6] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.qc-card-sub[b-2ai6aotyu6] {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
}

.qc-dashed[b-2ai6aotyu6] {
    width: 100%;
    height: 1px;
    margin: 16px 0 16px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---------- Bar di atas tabel: pilih metrik + aksi ---------- */
.qc-tablebar[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.qc-tablebar-right[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.qc-seg-group[b-2ai6aotyu6] {
    display: inline-flex;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    overflow-x: auto;
}

.qc-seg-btn[b-2ai6aotyu6] {
    height: 32px;
    padding: 0 14px;
    background-color: #ffffff;
    border: none;
    border-right: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

    .qc-seg-btn:last-child[b-2ai6aotyu6] {
        border-right: none;
    }

    .qc-seg-btn:hover[b-2ai6aotyu6] {
        background-color: #f9fafb;
    }

.qc-seg-btn-on[b-2ai6aotyu6],
.qc-seg-btn-on:hover[b-2ai6aotyu6] {
    background-color: #eff6ff;
    color: #0040be;
}

.qc-check[b-2ai6aotyu6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

    .qc-check input[b-2ai6aotyu6] {
        accent-color: #0040be;
        cursor: pointer;
    }

/* ---------- Tabel matriks (minggu > hari) ---------- */
.qc-matrix-wrap[b-2ai6aotyu6] {
    width: 100%;
    max-height: 70vh;
    overflow: auto;
    border: 1px solid #e5e7eb;
}

.qc-matrix[b-2ai6aotyu6] {
    width: 100%;
    border-collapse: separate; /* Preserves borders on sticky columns */
    border-spacing: 0;
    font-size: 0.8rem;
}

    .qc-matrix th[b-2ai6aotyu6],
    .qc-matrix td[b-2ai6aotyu6] {
        padding: 10px 14px;
        background-color: #ffffff;
        color: #111827;
        border-right: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

        .qc-matrix th:last-child[b-2ai6aotyu6],
        .qc-matrix td:last-child[b-2ai6aotyu6] {
            border-right: none;
        }

    /* Excludes bottom border on last row */
    .qc-matrix tbody tr:last-child td[b-2ai6aotyu6] {
        border-bottom: none;
    }

    /* header menempel di atas */
    .qc-matrix thead th[b-2ai6aotyu6] {
        position: sticky;
        top: 0;
        z-index: 3;
        background-color: #f3f4f6;
        color: #374151;
        font-size: 0.75rem;
        font-weight: 700;
    }

    /* kolom Periode menempel di kiri */
    .qc-matrix .qc-col-date[b-2ai6aotyu6] {
        position: sticky;
        left: 0;
        z-index: 2;
        min-width: 160px;
        text-align: left;
    }

    .qc-matrix thead th.qc-col-date[b-2ai6aotyu6] {
        z-index: 4;
    }

    .qc-matrix .qc-col-total[b-2ai6aotyu6] {
        font-weight: 700;
    }

    .qc-matrix .qc-num[b-2ai6aotyu6] {
        font-variant-numeric: tabular-nums;
    }

    /* baris minggu */
    .qc-matrix tbody tr.qc-week-row td[b-2ai6aotyu6] {
        background-color: #f9fafb;
        font-weight: 700;
        cursor: pointer;
    }

    .qc-matrix tbody tr.qc-week-row:hover td[b-2ai6aotyu6] {
        background-color: #f3f4f6;
    }

.qc-week-name[b-2ai6aotyu6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qc-chev[b-2ai6aotyu6] {
    color: #9ca3af;
    flex-shrink: 0;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.qc-chev-open[b-2ai6aotyu6] {
    transform: rotate(0deg);
}

/* baris hari */
.qc-day-name[b-2ai6aotyu6] {
    display: inline-block;
    padding-left: 22px;
    font-weight: 500;
}

.qc-matrix tbody tr.qc-day-row:hover td[b-2ai6aotyu6] {
    background-color: #fafbff;
}

.qc-matrix tbody tr.qc-day-row td.qc-cell-click[b-2ai6aotyu6] {
    cursor: pointer;
}

    .qc-matrix tbody tr.qc-day-row td.qc-cell-click:hover[b-2ai6aotyu6] {
        background-color: #eff6ff;
    }

.qc-matrix tbody tr.qc-day-off td[b-2ai6aotyu6] {
    color: #9ca3af;
    background-color: #fafafa;
}

.qc-matrix td.qc-empty-cell[b-2ai6aotyu6] {
    text-align: center;
    padding: 16px 14px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* baris total bulan menempel di bawah */
.qc-matrix tfoot td[b-2ai6aotyu6] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
    font-weight: 700;
}

    .qc-matrix tfoot td.qc-col-date[b-2ai6aotyu6] {
        z-index: 3;
    }

/* warna isi sel */
.qc-matrix td.qc-cell-none[b-2ai6aotyu6] {
    color: #d1d5db;
    font-weight: 500;
}

.qc-matrix td.qc-cell-zero[b-2ai6aotyu6] {
    color: #9ca3af;
}

.qc-matrix td.qc-cell-red[b-2ai6aotyu6] {
    color: #c5221f;
    font-weight: 700;
}

.qc-matrix td.qc-u-perfect[b-2ai6aotyu6] {
    color: #0040be;
    font-weight: 700;
}

.qc-matrix td.qc-u-world[b-2ai6aotyu6] {
    color: #137333;
    font-weight: 700;
}

.qc-matrix td.qc-u-typical[b-2ai6aotyu6] {
    color: #b45309;
    font-weight: 700;
}

.qc-matrix td.qc-u-low[b-2ai6aotyu6] {
    color: #c5221f;
    font-weight: 700;
}

/* ---------- Legend (mode Utilization) ---------- */
.qc-legend[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 14px;
    font-size: 0.725rem;
    color: #6b7280;
    font-weight: 500;
    flex-wrap: wrap;
}

.qc-lg[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qc-dot[b-2ai6aotyu6] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.qc-dot-perfect[b-2ai6aotyu6] {
    background-color: #0040be;
}

.qc-dot-world[b-2ai6aotyu6] {
    background-color: #137333;
}

.qc-dot-typical[b-2ai6aotyu6] {
    background-color: #b45309;
}

.qc-dot-low[b-2ai6aotyu6] {
    background-color: #c5221f;
}

/* ---------- Modal detail per shift ---------- */
.qc-modal-overlay[b-2ai6aotyu6] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.qc-modal-box[b-2ai6aotyu6] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 720px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.qc-modal-header[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.qc-modal-title-wrap[b-2ai6aotyu6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qc-modal-title[b-2ai6aotyu6] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.qc-modal-subtitle[b-2ai6aotyu6] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

.qc-modal-close[b-2ai6aotyu6] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .qc-modal-close:hover[b-2ai6aotyu6] {
        color: #374151;
    }

.qc-dash[b-2ai6aotyu6] {
    width: 100%;
    height: 1px;
    margin: 14px 0 16px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

.qc-modal-actions[b-2ai6aotyu6] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.qc-dtl-wrap[b-2ai6aotyu6] {
    width: 100%;
    overflow-x: auto;
}

.qc-dtl[b-2ai6aotyu6] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

    .qc-dtl th[b-2ai6aotyu6],
    .qc-dtl td[b-2ai6aotyu6] {
        padding: 10px 14px;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
        text-align: left;
        color: #111827;
        background-color: #ffffff;
    }

    .qc-dtl thead th[b-2ai6aotyu6] {
        background-color: #f3f4f6;
        color: #374151;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .qc-dtl .qc-center[b-2ai6aotyu6] {
        text-align: center;
    }

    .qc-dtl tfoot td[b-2ai6aotyu6] {
        background-color: #f3f4f6;
        font-weight: 700;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    /* Summary card carousel */
    .qc-stats-row[b-2ai6aotyu6] {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .qc-stats-row[b-2ai6aotyu6]::-webkit-scrollbar {
            display: none;
        }

    .qc-stat[b-2ai6aotyu6] {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media (max-width: 640px) {
    /* Header title and export button alignment */
    .qc-header[b-2ai6aotyu6] {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 12px;
    }

    .qc-title-wrap[b-2ai6aotyu6] {
        min-width: 0;
    }

    .qc-actions[b-2ai6aotyu6] {
        flex-shrink: 0;
        margin-left: auto;
    }

    .qc-tablebar[b-2ai6aotyu6] {
        flex-direction: column;
        align-items: stretch;
    }

    .qc-tablebar-right[b-2ai6aotyu6] {
        justify-content: space-between;
    }

    .qc-matrix .qc-col-date[b-2ai6aotyu6] {
        min-width: 130px;
    }
}

.qc-tablebar-right[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* ---------- Navigasi bulan ---------- */
.qc-monthnav[b-2ai6aotyu6] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.qc-monthnav-btn[b-2ai6aotyu6] {
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .qc-monthnav-btn:hover:not(:disabled)[b-2ai6aotyu6] {
        background-color: #f3f4f6;
    }

    .qc-monthnav-btn:disabled[b-2ai6aotyu6] {
        color: #d1d5db;
        cursor: not-allowed;
    }

.qc-monthnav-label[b-2ai6aotyu6] {
    min-width: 130px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    line-height: 30px;
}

/* ---------- Menu kebab ---------- */
.qc-menu-wrap[b-2ai6aotyu6] {
    position: relative;
}

.qc-ellipsis-btn[b-2ai6aotyu6] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .qc-ellipsis-btn:hover[b-2ai6aotyu6] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .qc-ellipsis-btn img[b-2ai6aotyu6] {
        width: 16px;
        height: 16px;
    }

.qc-menu-backdrop[b-2ai6aotyu6] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.qc-menu[b-2ai6aotyu6] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 210px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
    overflow: hidden;
}

.qc-menu-title[b-2ai6aotyu6] {
    padding: 8px 12px 4px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-menu-item[b-2ai6aotyu6] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .qc-menu-item:hover[b-2ai6aotyu6] {
        background-color: #f3f4f6;
    }

.qc-menu-item-active[b-2ai6aotyu6],
.qc-menu-item-active:hover[b-2ai6aotyu6] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

.qc-menu-sep[b-2ai6aotyu6] {
    height: 1px;
    margin: 4px 0;
    background-color: #e5e7eb;
}

/* ---------- Header card: bulan (desktop) + titik tiga di pojok kanan ---------- */
.qc-head-right[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Sub-navigation tabs */
.material-tabs-row[b-2ai6aotyu6] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin-bottom: 16px;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.material-tab[b-2ai6aotyu6] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-2ai6aotyu6] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-2ai6aotyu6] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-2ai6aotyu6] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important; /* app.css memaksa biru dengan !important, di sini ditimpa jadi hitam */
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Mobile sub-menu dropdown */
.metric-dropdown[b-2ai6aotyu6] {
    display: none;
}

.metric-dropdown-btn[b-2ai6aotyu6] {
    display: block;
    width: 100%;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
}

.metric-dropdown-current[b-2ai6aotyu6] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 34px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.metric-dropdown-chev[b-2ai6aotyu6] {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -8px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.metric-dropdown-chev-open[b-2ai6aotyu6] {
    transform: rotate(180deg);
}

.metric-dropdown-backdrop[b-2ai6aotyu6] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.metric-dropdown-list[b-2ai6aotyu6] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform-origin: top;
    animation: metric-dropdown-slide-b-2ai6aotyu6 0.18s ease-out;
}

.metric-dropdown-item[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .metric-dropdown-item:hover[b-2ai6aotyu6] {
        background-color: #f3f4f6;
    }

.metric-dropdown-item-active[b-2ai6aotyu6],
.metric-dropdown-item-active:hover[b-2ai6aotyu6] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

@keyframes metric-dropdown-slide-b-2ai6aotyu6 {
    from {
        opacity: 0;
        transform: translateY(-6px) scaleY(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Mobile month selector menu */
.qc-menu-mobile-only[b-2ai6aotyu6] {
    display: none;
}

.qc-menu-month[b-2ai6aotyu6] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 8px;
}

.qc-menu-month-label[b-2ai6aotyu6] {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.qc-menu-month-btn[b-2ai6aotyu6] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .qc-menu-month-btn:hover:not(:disabled)[b-2ai6aotyu6] {
        background-color: #f3f4f6;
        border-color: #9ca3af;
    }

    .qc-menu-month-btn:disabled[b-2ai6aotyu6] {
        color: #d1d5db;
        cursor: not-allowed;
    }

/* ---------- Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
    /* Right-aligned mobile menu button */
    .qc-card-head[b-2ai6aotyu6] {
        flex-wrap: nowrap;
    }

    /* navigasi bulan dihapus; bulan dipilih lewat menu titik tiga */
    .qc-monthnav-desktop[b-2ai6aotyu6] {
        display: none;
    }

    .qc-menu-mobile-only[b-2ai6aotyu6] {
        display: block;
    }

    .qc-menu[b-2ai6aotyu6] {
        min-width: 230px;
    }

    /* sub menu berubah jadi dropdown */
    .material-tabs-row[b-2ai6aotyu6] {
        display: none;
    }

    .metric-dropdown[b-2ai6aotyu6] {
        display: block;
        position: relative;
        margin-bottom: 16px;
    }
}
/* _content/MMS.Web/Components/Pages/QcReports/Report.razor.rz.scp.css */
.qc-page[b-a01nyem8v7] {
    width: 100%;
}

.qc-mt[b-a01nyem8v7] {
    margin-top: 16px;
}

.qc-center[b-a01nyem8v7] {
    text-align: center;
}

.qc-strong[b-a01nyem8v7] {
    font-weight: 700;
}

/* Semua elemen halaman ini tajam (tanpa border-radius), sama dengan halaman QC */
*[b-a01nyem8v7],
*[b-a01nyem8v7]::before,
*[b-a01nyem8v7]::after {
    border-radius: 0 !important;
}

/* Padding ganda dari app.css dimatikan, jarak ke sidebar cukup dari layout (sama dengan halaman QC) */
.qc-page[b-a01nyem8v7] {
    padding: 0 !important;
}

/* Tombol Export Excel: ukuran sama dengan tombol header Material AMP (.btn: min-height 0, padding 8px 14px, font 0.8rem, ikon 16px), tanpa shadow (normal maupun hover) */
.qc-btn.qc-btn-export[b-a01nyem8v7] {
    min-height: 0;
    padding: 8px 14px;
    font-family: revert;
    line-height: normal;
    font-size: 0.8rem;
    box-shadow: none;
}

    .qc-btn.qc-btn-export:hover:not(:disabled)[b-a01nyem8v7] {
        box-shadow: none;
    }

    .qc-btn.qc-btn-export .qc-btn-icon[b-a01nyem8v7] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

/* Tombol tanggal: [icon] [tanggal], tinggi 32px sama dengan tombol titik tiga */
.qc-date-btn[b-a01nyem8v7] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .qc-date-btn:hover[b-a01nyem8v7] {
        border-color: #9ca3af;
    }

    .qc-date-btn:focus-within[b-a01nyem8v7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.qc-date-icon[b-a01nyem8v7] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #6b7280;
}

/* input tanggal asli tetap dipakai (binding tidak berubah), hanya disembunyikan di atas tombol */
.qc-date-input[b-a01nyem8v7] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

    .qc-date-input[b-a01nyem8v7]::-webkit-calendar-picker-indicator {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

/* ---------- Header ---------- */
.qc-header[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.qc-title-wrap[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qc-breadcrumb[b-a01nyem8v7] {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.qc-title[b-a01nyem8v7] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.qc-actions[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-divider[b-a01nyem8v7] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0 24px 0;
}

/* ---------- Buttons ---------- */
.qc-btn[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.qc-btn-primary[b-a01nyem8v7] {
    background-color: #0040be;
    border-color: #0040be;
    color: #ffffff;
}

    .qc-btn-primary:hover[b-a01nyem8v7] {
        background-color: #003399;
        border-color: #003399;
    }

.qc-btn-outline[b-a01nyem8v7] {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

    .qc-btn-outline:hover[b-a01nyem8v7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
        color: #111827;
    }

.qc-btn-icon[b-a01nyem8v7] {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.qc-icon-white[b-a01nyem8v7] {
    filter: brightness(0) invert(1);
}

.qc-icon-btn[b-a01nyem8v7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

    .qc-icon-btn:hover[b-a01nyem8v7] {
        background-color: #fee2e2;
        border-color: #dc2626;
    }

/* ---------- Card ---------- */
.qc-card[b-a01nyem8v7] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.qc-card-head[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qc-title-group[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-icon-box[b-a01nyem8v7] {
    width: 34px;
    height: 34px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .qc-icon-box img[b-a01nyem8v7] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

.qc-card-title[b-a01nyem8v7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.qc-dashed[b-a01nyem8v7] {
    width: 100%;
    height: 1px;
    margin: 16px 0 20px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* ---------- Inputs ---------- */
.qc-input[b-a01nyem8v7] {
    height: 34px;
    padding: 0 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
    font-family: inherit;
}

    .qc-input:focus[b-a01nyem8v7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.qc-input-sm[b-a01nyem8v7] {
    height: 30px;
    font-size: 0.75rem;
}

.qc-num[b-a01nyem8v7] {
    width: 76px;
    text-align: center;
}

.qc-unit[b-a01nyem8v7] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 600;
}

.qc-notice[b-a01nyem8v7] {
    margin-bottom: 16px;
    padding: 10px 14px;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---------- List Mesin: toolbar (tanggal, shift, titik tiga) ---------- */
.qc-toolbar[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.qc-pill[b-a01nyem8v7] {
    height: 32px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .qc-pill:hover[b-a01nyem8v7] {
        border-color: #9ca3af;
    }

    .qc-pill:focus[b-a01nyem8v7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.qc-menu-wrap[b-a01nyem8v7] {
    position: relative;
}

.qc-ellipsis-btn[b-a01nyem8v7] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .qc-ellipsis-btn:hover[b-a01nyem8v7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

    .qc-ellipsis-btn img[b-a01nyem8v7] {
        width: 16px;
        height: 16px;
    }

.qc-menu-backdrop[b-a01nyem8v7] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.qc-menu[b-a01nyem8v7] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 160px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
    overflow: hidden;
}

.qc-menu-item[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .qc-menu-item:hover[b-a01nyem8v7] {
        background-color: #f3f4f6;
    }

.qc-menu-item-active[b-a01nyem8v7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

/* ---------- List Mesin: baris mesin (gaya Feeder) ---------- */
.qc-mesin-list[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qc-mesin-block[b-a01nyem8v7] {
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.qc-mesin-row[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .qc-mesin-row:hover[b-a01nyem8v7],
    .qc-mesin-block-active .qc-mesin-row[b-a01nyem8v7] {
        background-color: #f9fafb;
    }

.qc-mesin-icon[b-a01nyem8v7] {
    width: 38px;
    height: 38px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .qc-mesin-icon img[b-a01nyem8v7] {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

.qc-mesin-info[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.qc-mesin-title[b-a01nyem8v7] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.qc-mesin-sub[b-a01nyem8v7] {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
}

.qc-mesin-right[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.qc-chevron[b-a01nyem8v7] {
    color: #9ca3af;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.qc-chevron-open[b-a01nyem8v7] {
    transform: rotate(180deg);
}

.qc-mesin-expand[b-a01nyem8v7] {
    border-top: 1px solid #e5e7eb;
    padding: 20px;
    background-color: #fafbff;
}

.qc-expand-table[b-a01nyem8v7] {
    margin-top: 14px;
}

.qc-expand-actions[b-a01nyem8v7] {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

/* ---------- Badge, utilization, KPI ---------- */
.qc-badge[b-a01nyem8v7] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    line-height: 1.6;
}

.qc-badge-running[b-a01nyem8v7] {
    background-color: #e8f0fe;
    color: #0040be;
}

.qc-badge-downtime[b-a01nyem8v7] {
    background-color: #fce8e6;
    color: #c5221f;
}

.qc-badge-saved[b-a01nyem8v7] {
    background-color: #e6f4ea;
    color: #137333;
}

.qc-badge-empty[b-a01nyem8v7] {
    background-color: #fef3e2;
    color: #b45309;
}

.qc-util-row[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 6px;
}

    .qc-util-row b[b-a01nyem8v7] {
        color: #111827;
    }

.qc-track[b-a01nyem8v7] {
    height: 6px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.qc-fill[b-a01nyem8v7] {
    height: 100%;
    background-color: #0040be;
    transition: width 0.3s ease;
}

.qc-fill-near[b-a01nyem8v7] {
    background-color: #f59e0b;
}

.qc-fill-over[b-a01nyem8v7] {
    background-color: #c5221f;
}

.qc-kpis[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.qc-kpi[b-a01nyem8v7] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .qc-kpi span[b-a01nyem8v7] {
        font-size: 0.65rem;
        font-weight: 600;
        color: #9ca3af;
    }

    .qc-kpi b[b-a01nyem8v7] {
        font-size: 0.85rem;
        color: #111827;
    }

.qc-empty[b-a01nyem8v7] {
    font-size: 0.75rem;
    color: #9ca3af;
    padding: 8px 0;
}

/* ---------- Tabel ---------- */
.qc-table-wrap[b-a01nyem8v7] {
    width: 100%;
    overflow-x: auto;
}

.qc-table[b-a01nyem8v7] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    text-align: left;
}

    .qc-table thead th[b-a01nyem8v7] {
        background-color: #f3f4f6;
        color: #374151;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 10px 14px;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .qc-table tbody td[b-a01nyem8v7] {
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        padding: 10px 14px;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .qc-table tbody tr:hover td[b-a01nyem8v7] {
        background-color: #f9fafb;
    }

.qc-empty-cell[b-a01nyem8v7] {
    text-align: center;
    color: #9ca3af !important;
    font-size: 0.75rem !important;
    padding: 20px !important;
}

.qc-total[b-a01nyem8v7] {
    font-weight: 700;
}

.qc-ok[b-a01nyem8v7] {
    color: #137333;
}

.qc-over[b-a01nyem8v7] {
    color: #0040be;
}

.qc-under[b-a01nyem8v7] {
    color: #c5221f;
}

/* ---------- Form report ---------- */
.qc-meta[b-a01nyem8v7] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.qc-meta-chip[b-a01nyem8v7] {
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
    color: #6b7280;
}

    .qc-meta-chip b[b-a01nyem8v7] {
        color: #111827;
        margin-left: 4px;
    }

.qc-report-grid[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    align-items: start;
}

.qc-report-main[b-a01nyem8v7] {
    min-width: 0;
}

.qc-issue-row[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

    .qc-issue-row:last-child[b-a01nyem8v7] {
        border-bottom: none;
    }

    .qc-issue-row select[b-a01nyem8v7] {
        flex: 1;
        min-width: 0;
    }

.qc-summary[b-a01nyem8v7] {
    position: sticky;
    top: 0;
    gap: 0;
}

.qc-summary-util[b-a01nyem8v7] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0 8px;
}

    .qc-summary-util b[b-a01nyem8v7] {
        font-size: 1.8rem;
        font-weight: 700;
        color: #111827;
        line-height: 1;
    }

    .qc-summary-util span[b-a01nyem8v7] {
        font-size: 0.75rem;
        color: #6b7280;
    }

.qc-sum-row[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
}

    .qc-sum-row b[b-a01nyem8v7] {
        color: #111827;
    }

.qc-warn[b-a01nyem8v7] {
    margin-top: 12px;
    padding: 8px 12px;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
}

.qc-summary-actions[b-a01nyem8v7] {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

    .qc-summary-actions .qc-btn[b-a01nyem8v7] {
        flex: 1;
        padding: 9px 14px;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .qc-report-grid[b-a01nyem8v7] {
        grid-template-columns: 1fr;
    }

    .qc-summary[b-a01nyem8v7] {
        position: static;
    }
}

@media (max-width: 640px) {
    /* Header alignment */
    .qc-header[b-a01nyem8v7] {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 12px;
    }

    .qc-title-wrap[b-a01nyem8v7] {
        min-width: 0;
    }

    .qc-actions[b-a01nyem8v7] {
        flex-shrink: 0;
        margin-left: auto;
    }

    .qc-toolbar[b-a01nyem8v7] {
        width: 100%;
    }

    .qc-mesin-right .qc-badge[b-a01nyem8v7] {
        display: none;
    }

    .qc-issue-row[b-a01nyem8v7] {
        flex-wrap: wrap;
    }
}

/* Machine dropdown toolbar and table */
.qc-expand-toolbar[b-a01nyem8v7] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.material-table-wrapper[b-a01nyem8v7] {
    width: 100%;
    overflow-x: auto;
}

.production-table[b-a01nyem8v7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

    .production-table thead th[b-a01nyem8v7] {
        padding: 10px 14px;
        background-color: #f3f4f6;
        color: #374151;
        font-weight: 700;
        font-size: 0.75rem;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody td[b-a01nyem8v7] {
        padding: 12px 14px;
        background-color: #ffffff;
        color: #111827;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .production-table tbody tr:hover td[b-a01nyem8v7] {
        background-color: #f9fafb;
    }

    /* High-contrast result vs plan indicators */
    .production-table tbody td.qc-total[b-a01nyem8v7] {
        font-weight: 700;
    }

    .production-table tbody td.qc-ok[b-a01nyem8v7] {
        color: #137333;
    }

    .production-table tbody td.qc-over[b-a01nyem8v7] {
        color: #0040be;
    }

    .production-table tbody td.qc-under[b-a01nyem8v7] {
        color: #c5221f;
    }

.td-empty-state[b-a01nyem8v7] {
    text-align: center;
    padding: 32px 14px !important;
    color: #9ca3af !important;
    font-weight: 500;
}

/* Row action buttons */
.qc-row-actions[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.qc-act-btn[b-a01nyem8v7] {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    color: #374151;
}

.qc-act-edit:hover[b-a01nyem8v7] {
    border-color: #0040be;
    color: #0040be;
}

.qc-act-remove:hover[b-a01nyem8v7] {
    border-color: #dc2626;
    color: #dc2626;
}

.qc-btn:disabled[b-a01nyem8v7] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Add/Edit modal styles */
.qc-modal-overlay[b-a01nyem8v7] {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.qc-modal-box[b-a01nyem8v7] {
    background-color: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 980px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.qc-modal-header[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.qc-modal-title[b-a01nyem8v7] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.qc-modal-close[b-a01nyem8v7] {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
}

    .qc-modal-close:hover[b-a01nyem8v7] {
        color: #374151;
    }

.qc-modal-subtext[b-a01nyem8v7] {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0 0 14px 0;
}

.qc-form-field[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
    flex: 1;
    min-width: 0;
}

    .qc-form-field label[b-a01nyem8v7] {
        font-size: 0.72rem;
        font-weight: 600;
        color: #6b7280;
    }

    .qc-form-field .qc-input[b-a01nyem8v7] {
        width: 100%;
        box-sizing: border-box;
    }

.qc-form-row[b-a01nyem8v7] {
    display: flex;
    gap: 10px;
}

.qc-modal-preview[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

    .qc-modal-preview div[b-a01nyem8v7] {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .qc-modal-preview span[b-a01nyem8v7] {
        font-size: 0.65rem;
        font-weight: 600;
        color: #9ca3af;
    }

    .qc-modal-preview b[b-a01nyem8v7] {
        font-size: 0.85rem;
        color: #111827;
    }

.qc-modal-actions[b-a01nyem8v7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* Edit modal styling */
.th-no-col[b-a01nyem8v7] {
    width: 48px;
    text-align: center;
}

.td-no-col[b-a01nyem8v7] {
    text-align: center;
}

.qc-msec-title[b-a01nyem8v7] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.qc-dash[b-a01nyem8v7] {
    width: 100%;
    height: 1px;
    margin: 18px 0;
    background-image: linear-gradient(to right, #d1d5db 40%, transparent 0%);
    background-position: top;
    background-size: 12px 1px;
    background-repeat: repeat-x;
}

/* form */
.qc-mgrid[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
}

.qc-mfield[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.qc-ml[b-a01nyem8v7] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.qc-mi[b-a01nyem8v7] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #111827;
    outline: none;
}

    .qc-mi:focus[b-a01nyem8v7] {
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.qc-mi-min[b-a01nyem8v7] {
    width: 90px;
    height: 30px;
    text-align: center;
}

/* kotak info & ringkasan */
.qc-info[b-a01nyem8v7],
.qc-stats[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

    .qc-info div[b-a01nyem8v7],
    .qc-stats div[b-a01nyem8v7] {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .qc-info span[b-a01nyem8v7],
    .qc-stats span[b-a01nyem8v7] {
        font-size: 0.72rem;
        font-weight: 600;
        color: #9ca3af;
    }

    .qc-info b[b-a01nyem8v7],
    .qc-stats b[b-a01nyem8v7] {
        font-size: 0.85rem;
        font-weight: 700;
        color: #111827;
    }

        .qc-info b.qc-ok[b-a01nyem8v7] {
            color: #137333;
        }

        .qc-info b.qc-over[b-a01nyem8v7] {
            color: #0040be;
        }

        .qc-info b.qc-under[b-a01nyem8v7] {
            color: #c5221f;
        }

/* tab kategori downtime */
.qc-tabs[b-a01nyem8v7] {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    overflow-x: auto;
    border-bottom: 1px solid #e5e7eb;
}

.qc-tab[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    margin-bottom: -1px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease;
}

    .qc-tab:hover[b-a01nyem8v7] {
        color: #111827;
    }

.qc-tab-active[b-a01nyem8v7] {
    color: #0040be;
    border-bottom-color: #0040be;
}

.qc-count[b-a01nyem8v7] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    background-color: #eff6ff;
    color: #0040be;
}

/* Sub-issue selector */
.qc-subs[b-a01nyem8v7] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.qc-sub[b-a01nyem8v7] {
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .qc-sub:hover[b-a01nyem8v7] {
        background-color: #f9fafb;
        border-color: #9ca3af;
    }

.qc-sub-on[b-a01nyem8v7] {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #0040be;
}

.qc-dt-total[b-a01nyem8v7] {
    margin-top: 10px;
    text-align: right;
    font-size: 0.8rem;
    color: #374151;
}

    .qc-dt-total b[b-a01nyem8v7] {
        color: #0040be;
    }

@media (max-width: 640px) {
    .qc-mgrid[b-a01nyem8v7] {
        grid-template-columns: 1fr 1fr;
    }

    .qc-mfield-wide[b-a01nyem8v7] {
        grid-column: 1 / -1;
    }

    .qc-info[b-a01nyem8v7],
    .qc-stats[b-a01nyem8v7] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Table action footer */
.qc-expand-footer[b-a01nyem8v7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

/* Mobile full-width action buttons */
@media (max-width: 1100px) {
    .qc-expand-footer[b-a01nyem8v7] {
        justify-content: stretch;
    }

        .qc-expand-footer .qc-btn[b-a01nyem8v7] {
            flex: 1 1 0;
            min-width: 0;
        }
}

/* Confirm button */
.btn-confirm-material[b-a01nyem8v7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-confirm-material:hover[b-a01nyem8v7] {
        background-color: #d1fae5;
        border-color: #059669;
    }

.btn-confirm-material-on[b-a01nyem8v7] {
    background-color: #059669;
    border-color: #059669;
    color: #ffffff;
}

    .btn-confirm-material-on:hover[b-a01nyem8v7] {
        background-color: #047857;
        border-color: #047857;
    }

/* Lock edit/delete on confirmed rows */
.btn-edit-material:disabled[b-a01nyem8v7],
.btn-remove-material:disabled[b-a01nyem8v7] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Confirmed row styling */
.production-table tbody tr.qc-row-confirmed td[b-a01nyem8v7] {
    background-color: #f0fdf4;
}

/* Action columns */
.th-edit-col[b-a01nyem8v7] {
    width: 110px;
    text-align: center;
}

.td-edit-col[b-a01nyem8v7] {
    text-align: center;
}

.td-edit-actions[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit-material[b-a01nyem8v7],
.btn-remove-material[b-a01nyem8v7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-edit-material:hover:not(:disabled)[b-a01nyem8v7] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

    .btn-remove-material:hover:not(:disabled)[b-a01nyem8v7] {
        border-color: #dc2626;
        background-color: #fef2f2;
        color: #dc2626;
    }

.qc-modal-box-sm[b-a01nyem8v7] {
    max-width: 560px;
}

/* Header modal: judul + nama mesin di baris kedua */
.qc-modal-header[b-a01nyem8v7] {
    align-items: flex-start;
    margin-bottom: 0;
}

.qc-modal-title-wrap[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qc-modal-subtitle[b-a01nyem8v7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

/* Model creation form */
.qc-mgrid-stack[b-a01nyem8v7] {
    grid-template-columns: 1fr;
}

.qc-modal-box-md[b-a01nyem8v7] {
    max-width: 820px;
}

.qc-dt-pick[b-a01nyem8v7] {
    margin-bottom: 14px;
}

.qc-dt-add[b-a01nyem8v7] {
    align-self: flex-start;
    margin-top: 8px;
}

.qc-mi-sub[b-a01nyem8v7] {
    height: 30px;
}

.qc-dt-toolbar[b-a01nyem8v7] {
    display: flex;
    margin-bottom: 12px;
}

.qc-dt-footer[b-a01nyem8v7] {
    display: flex;
    margin-top: 12px;
}

/* Jarak garis di bawah header modal */
.qc-modal-header + .qc-dash[b-a01nyem8v7] {
    margin: 14px 0 16px 0;
}

/* Downtime table layout */
.qc-dt-table[b-a01nyem8v7] {
    table-layout: fixed;
}

    .qc-dt-table tbody td[b-a01nyem8v7] {
        padding: 10px 14px;
    }

/* Add Downtime row */
.production-table tbody td.qc-dt-add-cell[b-a01nyem8v7] {
    padding: 8px 14px;
    background-color: #fafbff;
}

.qc-dt-add-btn[b-a01nyem8v7] {
    width: 100%;
    padding: 8px;
    background: none;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .qc-dt-add-btn:hover[b-a01nyem8v7] {
        border-color: #0040be;
        background-color: #eff6ff;
        color: #0040be;
    }

/* ---------- Card downtime per model (di bawah tabel) ---------- */
.qc-dtcard[b-a01nyem8v7] {
    margin-top: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.qc-dtcard-head[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.qc-dtcard-title[b-a01nyem8v7] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
}

.qc-dtcard-total[b-a01nyem8v7] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #c5221f;
}

.qc-dtcard-row[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: 180px 1fr 80px;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
}

    .qc-dtcard-row:last-child[b-a01nyem8v7] {
        border-bottom: none;
    }

.qc-dtcard-model[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .qc-dtcard-model b[b-a01nyem8v7] {
        font-size: 0.8rem;
        color: #111827;
    }

    .qc-dtcard-model span[b-a01nyem8v7] {
        font-size: 0.68rem;
        font-weight: 600;
        color: #6b7280;
    }

.qc-dtcard-items[b-a01nyem8v7] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qc-dtcard-chip[b-a01nyem8v7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    background-color: #fce8e6;
    color: #c5221f;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.qc-dtcard-none[b-a01nyem8v7] {
    font-size: 0.72rem;
    color: #9ca3af;
}

.qc-dtcard-sum[b-a01nyem8v7] {
    text-align: right;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 640px) {
    .qc-dtcard-row[b-a01nyem8v7] {
        grid-template-columns: 1fr;
    }

    .qc-dtcard-sum[b-a01nyem8v7] {
        text-align: left;
    }
}

/* ---------- Kolom Downtime di tabel ---------- */
.production-table tbody td.qc-dt-val[b-a01nyem8v7] {
    color: #9ca3af;
}

    .production-table tbody td.qc-dt-val.qc-dt-has[b-a01nyem8v7] {
        color: #c5221f;
        font-weight: 700;
    }

/* ---------- Card statistik mesin (di atas tabel) ---------- */
.qc-stats-row[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.qc-stat[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    min-width: 0;
}

.qc-stat-top[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.qc-stat-label[b-a01nyem8v7] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-stat-value[b-a01nyem8v7] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    white-space: nowrap;
    font-variant-numeric: tabular-nums; /* Monospace digit widths */
}

.qc-stat-icon[b-a01nyem8v7] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #9ca3af;
    transform: translateY(3px);
}

/* Icon muted color */
.qc-stat-icon-ok[b-a01nyem8v7],
.qc-stat-icon-near[b-a01nyem8v7],
.qc-stat-icon-over[b-a01nyem8v7] {
    color: #9ca3af;
}

.qc-stat-value[b-a01nyem8v7] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    white-space: nowrap;
}

.qc-stat-value-red[b-a01nyem8v7] {
    color: #c5221f;
}

/* Carousel styling */
@media (max-width: 1100px) {
    .qc-stats-row[b-a01nyem8v7] {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

        .qc-stats-row[b-a01nyem8v7]::-webkit-scrollbar { /* Chrome, Edge, Safari */
            display: none;
        }

    .qc-stat[b-a01nyem8v7] {
        flex: 0 0 100%; /* satu card = selebar area */
        scroll-snap-align: start;
        scroll-snap-stop: always; /* Snap stop per card */
    }
}

/* ---------- Panel Downtime Issue (di bawah tabel) ---------- */
.qc-dt[b-a01nyem8v7] {
    margin-top: 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.qc-dt-head[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.qc-dt-head-left[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qc-dt-title[b-a01nyem8v7] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

.qc-dt-sub[b-a01nyem8v7] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-dt-total[b-a01nyem8v7] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
}

.qc-dt-has[b-a01nyem8v7] {
    color: #c5221f;
}

/* ---- blok per model ---- */
.qc-dt-model[b-a01nyem8v7] {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
}

    .qc-dt-model:last-child[b-a01nyem8v7] {
        border-bottom: none;
    }

.qc-dt-model-head[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.qc-dt-model-name[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

    .qc-dt-model-name b[b-a01nyem8v7] {
        font-size: 0.8rem;
        color: #111827;
    }

.qc-dt-tag[b-a01nyem8v7] {
    padding: 1px 8px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.qc-dt-model-sum[b-a01nyem8v7] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    white-space: nowrap;
}

.qc-dt-none[b-a01nyem8v7] {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #9ca3af;
}

/* ---- daftar issue ---- */
.qc-dt-list[b-a01nyem8v7] {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qc-dt-item[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: 8px minmax(0, 1.6fr) minmax(80px, 1fr) 56px;
    align-items: center;
    gap: 12px;
}

.qc-dt-dot[b-a01nyem8v7] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.qc-dt-item-main[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.qc-dt-item-name[b-a01nyem8v7] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #111827;
}

.qc-dt-item-group[b-a01nyem8v7] {
    font-size: 0.68rem;
    color: #9ca3af;
}

.qc-dt-bar[b-a01nyem8v7] {
    height: 6px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.qc-dt-bar-fill[b-a01nyem8v7] {
    height: 100%;
    transition: width 0.3s ease;
}

.qc-dt-item-min[b-a01nyem8v7] {
    text-align: right;
    font-size: 0.78rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

/* Loss category colors */
.qc-dt-c-plan[b-a01nyem8v7]    { background-color: #9ca3af; }
.qc-dt-c-stop[b-a01nyem8v7]    { background-color: #c5221f; }
.qc-dt-c-ability[b-a01nyem8v7] { background-color: #f59e0b; }
.qc-dt-c-defect[b-a01nyem8v7]  { background-color: #7c3aed; }
.qc-dt-c-other[b-a01nyem8v7]   { background-color: #9ca3af; }

/* Responsive bar alignment */
@media (max-width: 640px) {
    .qc-dt-item[b-a01nyem8v7] {
        grid-template-columns: 8px minmax(0, 1fr) auto;
        row-gap: 6px;
    }

    .qc-dt-bar[b-a01nyem8v7] {
        grid-column: 2 / -1;
        grid-row: 2;
    }
}

/* ---------- Downtime Issue (di bawah tabel) ---------- */
.qc-dti[b-a01nyem8v7] {
    margin-top: 16px;
}

.qc-dti-title[b-a01nyem8v7] {
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

.production-table tbody td.qc-dti-model[b-a01nyem8v7] {
    font-weight: 700;
    vertical-align: top;
}

.production-table tbody td.qc-dti-min[b-a01nyem8v7] {
    font-weight: 700;
    color: #c5221f;
}

.production-table tbody tr.qc-dti-total td[b-a01nyem8v7] {
    background-color: #f3f4f6;
    font-weight: 700;
}

/* ---------- Downtime Issue: card per model ---------- */
.qc-dti[b-a01nyem8v7] {
    margin-top: 16px;
}

.qc-dti-head[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.qc-dti-title[b-a01nyem8v7] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
}

.qc-dti-total[b-a01nyem8v7] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c5221f;
}

.qc-dti-empty[b-a01nyem8v7] {
    padding: 16px;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.qc-dti-grid[b-a01nyem8v7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.qc-dti-card[b-a01nyem8v7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    min-width: 0;
}

.qc-dti-card-top[b-a01nyem8v7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.qc-dti-label[b-a01nyem8v7] {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-dti-value[b-a01nyem8v7] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #c5221f;
}

.qc-dti-list[b-a01nyem8v7] {
    list-style: none;
    margin: 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .qc-dti-list li[b-a01nyem8v7] {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.75rem;
        color: #374151;
    }

        .qc-dti-list li b[b-a01nyem8v7] {
            color: #111827;
            white-space: nowrap;
        }

.qc-dti[b-a01nyem8v7] {
    margin-top: 0;
}

.qc-dti-divider[b-a01nyem8v7] {
    height: 1px;
    margin: 18px 0 16px 0;
    background-color: #e5e7eb;
}

/* ---------- List Mesin: header card (judul kiri; tanggal + titik tiga di pojok kanan) ---------- */
.qc-card-head-list[b-a01nyem8v7] {
    flex-wrap: nowrap;
}

.qc-head-right[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.qc-menu-title[b-a01nyem8v7] {
    padding: 8px 12px 4px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qc-menu-sep[b-a01nyem8v7] {
    height: 1px;
    margin: 4px 0;
    background-color: #e5e7eb;
}

/* Mobile date menu */
.qc-menu-mobile-only[b-a01nyem8v7] {
    display: none;
}

.qc-menu-date[b-a01nyem8v7] {
    padding: 4px 12px 8px;
}

.qc-pill-block[b-a01nyem8v7] {
    width: 100%;
    box-sizing: border-box;
}

/* Shift sub-navigation tabs */
.material-tabs-row[b-a01nyem8v7] {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin-bottom: 16px;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.material-tab[b-a01nyem8v7] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 32px;
    padding: 0 12px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .material-tab:hover:not(.material-tab-active)[b-a01nyem8v7] {
        color: #111827;
        background-color: rgba(255, 255, 255, 0.55);
    }

    .material-tab:focus-visible[b-a01nyem8v7] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.15);
    }

.material-tab-active[b-a01nyem8v7] {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827 !important; /* app.css memaksa biru dengan !important, di sini ditimpa jadi hitam */
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ---------- Sub menu Shift: dropdown (tablet & HP) ---------- */
.shift-dropdown[b-a01nyem8v7] {
    display: none;
}

.shift-dropdown-btn[b-a01nyem8v7] {
    display: block;
    width: 100%;
    padding: 3px;
    background-color: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    cursor: pointer;
}

.shift-dropdown-current[b-a01nyem8v7] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 34px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.shift-dropdown-chev[b-a01nyem8v7] {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -8px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.shift-dropdown-chev-open[b-a01nyem8v7] {
    transform: rotate(180deg);
}

.shift-dropdown-backdrop[b-a01nyem8v7] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.shift-dropdown-list[b-a01nyem8v7] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform-origin: top;
    animation: shift-dropdown-slide-b-a01nyem8v7 0.18s ease-out;
}

.shift-dropdown-item[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

    .shift-dropdown-item:hover[b-a01nyem8v7] {
        background-color: #f3f4f6;
    }

.shift-dropdown-item-active[b-a01nyem8v7],
.shift-dropdown-item-active:hover[b-a01nyem8v7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

@keyframes shift-dropdown-slide-b-a01nyem8v7 {
    from {
        opacity: 0;
        transform: translateY(-6px) scaleY(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* Tablet & HP (<= 1100px): tab Shift berubah jadi dropdown */
@media (max-width: 1100px) {
    .material-tabs-row[b-a01nyem8v7] {
        display: none;
    }

    .shift-dropdown[b-a01nyem8v7] {
        display: block;
        position: relative;
        margin-bottom: 16px;
    }
}

/* HP (<= 640px): tanggal dipilih lewat menu titik tiga */
@media (max-width: 640px) {
    .qc-date-desktop[b-a01nyem8v7] {
        display: none;
    }

    .qc-menu-mobile-only[b-a01nyem8v7] {
        display: block;
    }

    .qc-menu[b-a01nyem8v7] {
        min-width: 230px;
    }
}

/* Shift dropdown */
.mesin-dropdown[b-a01nyem8v7] {
    position: relative;
}

.mesin-dropdown-trigger[b-a01nyem8v7] {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .mesin-dropdown-trigger:hover[b-a01nyem8v7] {
        border-color: #9ca3af;
    }

    .mesin-dropdown-trigger:focus-visible[b-a01nyem8v7] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

.mesin-dropdown-value[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mesin-dropdown-chevron[b-a01nyem8v7] {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mesin-dropdown-chevron-open[b-a01nyem8v7] {
    transform: rotate(180deg);
}

.mesin-dropdown-backdrop[b-a01nyem8v7] {
    position: fixed;
    inset: 0;
    z-index: 10;
}

.mesin-dropdown-menu[b-a01nyem8v7] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.mesin-dropdown-option[b-a01nyem8v7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

    .mesin-dropdown-option:hover[b-a01nyem8v7] {
        background-color: #f3f4f6;
    }

.mesin-dropdown-option-active[b-a01nyem8v7],
.mesin-dropdown-option-active:hover[b-a01nyem8v7] {
    background-color: #eff6ff;
    color: #0040be;
    font-weight: 700;
}

.mesin-option-count[b-a01nyem8v7] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
}

/* Report toolbar alignment */
.qc-shift-dropdown[b-a01nyem8v7] {
    min-width: 130px;
}

    .qc-shift-dropdown .mesin-dropdown-trigger[b-a01nyem8v7] {
        height: 32px;
    }

    .qc-shift-dropdown .mesin-dropdown-menu[b-a01nyem8v7] {
        min-width: 170px;
    }

/* ===== INLINE MODEL ADD ROW ===== */
.production-table tbody tr.qc-new-row td[b-a01nyem8v7] {
    background-color: #f8faff;
}

.qc-cell-input[b-a01nyem8v7] {
    width: 100%;
    min-width: 90px;
    height: 32px;
    padding: 0 8px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    color: #111827;
    box-sizing: border-box;
}

    .qc-cell-input:focus[b-a01nyem8v7] {
        outline: none;
        border-color: #0040be;
        box-shadow: 0 0 0 3px rgba(0, 64, 190, 0.1);
    }

    .qc-cell-input:disabled[b-a01nyem8v7] {
        background-color: #f3f4f6;
        color: #9ca3af;
        cursor: not-allowed;
    }

.qc-cell-num[b-a01nyem8v7] {
    min-width: 80px;
    text-align: center;
}

.btn-save-row[b-a01nyem8v7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .btn-save-row:hover:not(:disabled)[b-a01nyem8v7] {
        background-color: #d1fae5;
        border-color: #059669;
    }

    .btn-save-row:disabled[b-a01nyem8v7] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.production-table tbody tr.qc-new-row-error td[b-a01nyem8v7] {
    background-color: #fef2f2;
    color: #991b1b;
    font-size: 0.75rem;
}

/* Input Result Total di baris tersimpan: warna ikut status (ok / over / under) */
.production-table tbody td.qc-total .qc-cell-input[b-a01nyem8v7] {
    color: inherit;
    font-weight: 700;
}

.production-table tbody td.qc-total .qc-cell-input[b-a01nyem8v7] {
    color: inherit;
    font-weight: 700;
}
