    :root {
      --primary:        #14304D;
      --primary-mid:    #0C2135;
      --primary-light:  #4C7FA6;
      --accent:         #2E6690;
      --accent-soft:    #E7EEF3;
      --accent-mid:     #1B4A6B;
      --green:          #16A34A;
      --green-soft:     #DCFCE7;
      --red:            #DC2626;
      --red-soft:       #FEE2E2;
      --amber:          #D97706;
      --amber-soft:     #FEF3C7;
      --bg:             #F9FAFB;
      --surface:        #FFFFFF;
      --surface-2:      #F2F4F7;
      --surface-3:      #E9ECF1;
      --border:         #E4E7EC;
      --border-soft:    #EEF1F5;
      --text-1:         #101828;
      --text-2:         #475467;
      --text-3:         #98A2B3;
      --text-4:         #B4BBC7;
      --radius-sm:      8px;
      --radius:         12px;
      --radius-lg:      16px;
      --radius-xl:      20px;
      --shadow-sm:      0 1px 3px rgba(16,24,40,.05), 0 2px 8px rgba(16,24,40,.04);
      --shadow:         0 2px 12px rgba(16,24,40,.08), 0 4px 24px rgba(16,24,40,.05);
      --shadow-lg:      0 8px 40px rgba(16,24,40,.14), 0 2px 8px rgba(16,24,40,.06);
      --shadow-xl:      0 24px 60px rgba(16,24,40,.30), 0 4px 16px rgba(16,24,40,.10);
    }

    *, *::before, *::after {
      font-family: 'Plus Jakarta Sans', sans-serif;
      box-sizing: border-box; margin: 0; padding: 0;
    }
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(16,24,40,.18); border-radius: 99px; }
    html { scroll-behavior: smooth; }
    body { background: var(--bg); min-height: 100svh; -webkit-tap-highlight-color: transparent; }

    .topbar {
      background: linear-gradient(180deg, var(--primary-mid) 0%, var(--primary) 100%);
      height: 60px;
      display: flex; align-items: center; padding: 0 20px; gap: 14px;
      box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 4px 18px rgba(16,24,40,.14);
      border-bottom: 1px solid rgba(255,255,255,.08);
      position: sticky; top: 0; z-index: 200;
    }
    .logo-icon {
      width: 34px; height: 34px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,.16);
    }
    .logo-text strong { display: block; color: #FFFFFF; font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
    .logo-text span   { display: block; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 500; line-height: 1.2; }

    .topbar-nav {
      margin-left: auto;
      display: flex; align-items: center; gap: 10px;
    }
    .nav-links-group {
      display: flex; align-items: center; gap: 2px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 11px; padding: 3px;
    }
    .topbar-nav-btn {
      display: flex; align-items: center; gap: 6px;
      padding: 7px 14px;
      border-radius: 8px;
      font-size: 11.5px; font-weight: 700;
      color: rgba(255,255,255,.62);
      text-decoration: none;
      background: transparent;
      border: none;
      transition: background .16s, color .16s;
      white-space: nowrap;
      cursor: pointer;
    }
    .nav-links-group .topbar-nav-btn:hover { background: rgba(255,255,255,.10); color: rgba(255,255,255,.92); }
    .nav-links-group .topbar-nav-btn.active {
      background: #FFFFFF;
      color: var(--primary-mid);
      box-shadow: 0 2px 6px rgba(16,24,40,.18);
    }

    .topbar-profile {
      display: flex; align-items: center; gap: 8px;
      padding: 4px 10px 4px 4px; border-radius: 99px;
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10);
      transition: background .14s; flex-shrink: 0;
    }
    .topbar-profile:hover { background: rgba(255,255,255,.14); }
    .topbar-profile-avatar {
      width: 28px; height: 28px; border-radius: 50%;
      background: #FFFFFF; color: var(--primary-mid);
      display: flex; align-items: center; justify-content: center;
      font-size: 11.5px; font-weight: 800; flex-shrink: 0;
    }
    .topbar-profile-name {
      font-size: 12px; font-weight: 700; color: rgba(255,255,255,.92);
      white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis;
    }
    #btnLogout { color: rgba(255,255,255,.55); }
    #btnLogout:hover { background: rgba(220,38,38,.20); color: #fff; }

    @media (max-width: 540px) {
      .logo-text span { display: none; }
    }

    @media (max-width: 420px) {
      .topbar-nav-btn { padding: 7px 9px; font-size: 11px; }
      .topbar-nav-btn .nav-label { display: none; }
      .topbar-profile { padding: 4px; gap: 0; background: transparent; border-color: transparent; }
      .topbar-profile-name { display: none; }
    }

    .bottom-tabbar { display: none; }
    @media (max-width: 767px) {
      .topbar-nav-link { display: none; }
      body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
      .bottom-tabbar {
        display: flex;
        position: fixed; left: 0; right: 0; bottom: 0;
        background: var(--surface);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(16,24,40,.10);
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
        z-index: 500;
      }
      .bottom-tab {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
        padding: 6px 4px; border-radius: 12px;
        text-decoration: none; color: var(--text-3);
        font-size: 10px; font-weight: 700;
        transition: color .15s, background .15s;
      }
      .bottom-tab:active { background: var(--surface-2); }
      .bottom-tab.active { color: var(--primary); }
      .bottom-tab svg { width: 20px; height: 20px; }
    }

    .main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 80px; }
    @media (min-width: 640px) { .main { padding: 28px 24px 80px; } }

    .page-hero { margin-bottom: 22px; }
    .page-hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--accent-soft); border: 1px solid rgba(46,102,144,.2);
      border-radius: 99px; padding: 5px 14px;
      font-size: 10.5px; font-weight: 800; color: var(--accent-mid);
      text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
    }
    .page-hero h1 { font-size: clamp(18px, 5vw, 24px); font-weight: 800; color: var(--text-1); letter-spacing: -.03em; line-height: 1.2; }
    .page-hero p  { font-size: 13px; color: var(--text-3); font-weight: 500; margin-top: 6px; }

    .stats-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px; margin-bottom: 16px;
    }
    @media (min-width: 560px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
    .stat-card {
      background: var(--surface); border-radius: var(--radius-lg);
      border: 1px solid var(--border-soft); padding: 14px 16px;
      box-shadow: var(--shadow-sm);
    }
    .stat-label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
    .stat-value { font-size: 28px; font-weight: 900; color: var(--primary); letter-spacing: -.04em; line-height: 1; }
    .stat-sub   { font-size: 10px; font-weight: 600; color: var(--text-4); margin-top: 3px; }

    .table-card {
      background: var(--surface); border-radius: var(--radius-lg);
      border: 1px solid var(--border-soft); box-shadow: var(--shadow);
      overflow: hidden;
    }

    .filter-bar {
      display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
      padding: 14px 18px 12px; border-bottom: 1px solid var(--border-soft);
    }
    .search-wrap { position: relative; flex: 1; min-width: 180px; }
    .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
    .search-input {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 8px; height: 32px; padding: 7px 14px 7px 34px;
      font-size: 12px; font-weight: 500; color: var(--text-1);
      outline: none; width: 100%;
      transition: border-color .15s, box-shadow .15s;
      font-family: inherit;
    }
    .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(35,64,82,.10); background: white; }
    .search-input::placeholder { color: var(--text-4); font-weight: 400; }
    .filter-select {
      appearance: none; -webkit-appearance: none; -moz-appearance: none;
      padding: 6px 30px 6px 14px; border-radius: 8px; height: 32px;
      border: 1px solid var(--border); background-color: var(--surface);
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
      background-repeat: no-repeat; background-position: right 10px center; background-size: 11px;
      font-size: 11.5px; font-weight: 600; color: var(--text-2);
      outline: none; font-family: inherit; cursor: pointer;
      transition: border-color .15s;
    }
    .filter-select:focus { border-color: var(--primary); }

    .pic-ac-wrap { position: relative; }
    .pic-ac-input {
      padding: 6px 14px 6px 32px; border-radius: 8px; height: 32px;
      border: 1px solid var(--border); background: var(--surface);
      font-size: 11.5px; font-weight: 600; color: var(--text-2);
      outline: none; font-family: inherit; cursor: text; width: 140px;
      transition: border-color .15s, box-shadow .15s, width .2s;
    }
    .pic-ac-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(35,64,82,.10); background: #fff; width: 180px; }
    .pic-ac-input::placeholder { color: var(--text-4); font-weight: 400; }
    .pic-ac-icon {
      position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
      color: var(--text-3); pointer-events: none;
    }
    .pic-ac-list {
      position: absolute; top: calc(100% + 4px); left: 0; min-width: 190px; z-index: 999;
      background: #fff; border: 1.5px solid var(--primary);
      border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.13);
      max-height: 220px; overflow-y: auto; display: none;
    }
    .pic-ac-list.open { display: block; }
    .pic-ac-item {
      padding: 9px 14px; font-size: 12.5px; font-weight: 500; color: var(--text-1);
      cursor: pointer; transition: background .1s; white-space: nowrap;
    }
    .pic-ac-item:hover, .pic-ac-item.active { background: var(--surface-2); color: var(--primary); }
    .pic-ac-item mark { background: none; color: var(--primary); font-weight: 700; }
    .pic-ac-clear {
      position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
      font-size: 13px; color: var(--text-3); cursor: pointer; display: none;
      line-height: 1; padding: 2px;
    }
    .pic-ac-clear:hover { color: var(--text-1); }

    @media (max-width: 700px) {
      .filter-bar { gap: 8px; }
      .search-wrap  { flex: 1 1 100%; min-width: 0; order: 1; }
      .pic-ac-wrap  { flex: 1 1 calc(50% - 4px); min-width: 0; order: 2; }
      #filterBrand  { flex: 1 1 calc(50% - 4px); min-width: 0; order: 3; }
      #filterStatus { flex: 1 1 calc(50% - 4px); min-width: 0; order: 4; }
      #btnRefresh   { flex: 1 1 calc(50% - 4px); min-width: 0; justify-content: center; order: 5; }
      #btnExportCsv { flex: 1 1 100%; min-width: 0; justify-content: center; order: 6; }
      #btnClearFilters { flex: 1 1 100%; min-width: 0; justify-content: center; order: 7; }
      .pic-ac-input, .pic-ac-input:focus {
        width: 100%;
        transition: border-color .15s, box-shadow .15s;
      }
    }

    .btn-refresh {
      padding: 6px 14px; border-radius: 8px; height: 32px;
      border: 1px solid var(--border); background: var(--surface);
      font-size: 11.5px; font-weight: 700; color: var(--text-2);
      cursor: pointer; font-family: inherit;
      transition: all .14s; display: flex; align-items: center; gap: 5px;
    }
    .btn-refresh:hover { border-color: var(--primary); color: var(--primary); }
    .btn-refresh.spinning svg { animation: spin .7s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    .col-header span[data-sort] {
      cursor: pointer; user-select: none;
      display: inline-flex; align-items: center; gap: 4px;
      transition: color .15s;
    }
    .col-header span[data-sort]:hover { color: var(--primary); }
    .col-header span[data-sort].asc::after  { content: ' ▲'; font-size: 8px; }
    .col-header span[data-sort].desc::after { content: ' ▼'; font-size: 8px; }

    .col-header {
      background: var(--surface-2); padding: 10px 18px;
      font-size: 10px; font-weight: 800; text-transform: uppercase;
      letter-spacing: .07em; color: var(--text-3);
      border-bottom: 1px solid var(--border-soft);
      display: grid; align-items: center;
      grid-template-columns: 1fr 0.8fr 1.6fr 1fr 0.9fr 0.85fr 0.9fr;
    }
    .data-row {
      cursor: pointer; border-bottom: 1px solid var(--border-soft);
      transition: background .1s, box-shadow .1s;
      display: grid; padding: 12px 18px; align-items: center;
      grid-template-columns: 1fr 0.8fr 1.6fr 1fr 0.9fr 0.85fr 0.9fr;
    }
    .data-row:hover { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--primary-light); }
    .data-row:last-child { border-bottom: none; }
    .cell-id    { font-size: 11px; font-weight: 800; color: var(--primary); font-family: 'DM Mono', monospace; }
    .cell-date  { font-size: 11.5px; font-weight: 600; color: var(--text-3); }
    .cell-name  { font-size: 12.5px; font-weight: 700; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
    .cell-pic   { font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cell-brand { font-size: 11.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cell-total { font-size: 12px; font-weight: 800; color: var(--text-1); font-family: 'DM Mono', monospace; white-space: nowrap; }

    .table-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding: 11px 18px; border-top: 1px solid var(--border-soft);
    }
    .row-count { font-size: 11.5px; font-weight: 700; color: var(--text-3); }

    .pagination-bar {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      flex-wrap: wrap; padding: 11px 18px; border-top: 1px solid var(--border-soft);
    }
    .page-size-wrap { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--text-3); }
    .page-size-select {
      appearance: none; -webkit-appearance: none; -moz-appearance: none;
      padding: 5px 26px 5px 10px; border-radius: 8px; border: 1px solid var(--border);
      background-color: var(--surface);
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
      background-repeat: no-repeat; background-position: right 8px center; background-size: 10px;
      font-size: 12px; font-weight: 700; color: var(--text-2);
      outline: none; font-family: inherit; cursor: pointer; transition: border-color .15s;
    }
    .page-size-select:focus { border-color: var(--primary); }
    .pagination-controls { display: flex; align-items: center; gap: 4px; }
    .page-btn {
      min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px;
      border: 1px solid var(--border); background: var(--surface);
      font-size: 12px; font-weight: 700; color: var(--text-2);
      cursor: pointer; font-family: inherit; transition: all .14s;
      display: flex; align-items: center; justify-content: center;
    }
    .page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--surface-2); }
    .page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
    .page-btn:disabled { opacity: .35; cursor: not-allowed; }
    .page-ellipsis { font-size: 12px; font-weight: 700; color: var(--text-4); padding: 0 3px; }
    @media (max-width: 560px) { .pagination-bar { justify-content: center; } }

    .empty-state {
      text-align: center; padding: 52px 24px;
    }
    .empty-state-icon { font-size: 36px; margin-bottom: 12px; }
    .empty-state h3 { font-size: 15px; font-weight: 800; color: var(--text-2); margin-bottom: 6px; }
    .empty-state p  { font-size: 12.5px; font-weight: 500; color: var(--text-4); }

    .skeleton-rows { padding: 8px 0; }
    .skeleton-row {
      display: grid; align-items: center;
      grid-template-columns: 1fr 0.8fr 1.6fr 1fr 0.9fr 0.85fr 0.9fr;
      padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
      gap: 12px;
    }
    .shimmer {
      background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.4s infinite;
      border-radius: 6px; height: 14px;
    }
    @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

    .mobile-cards { display: none; }
    @media (max-width: 700px) {

      #tableBody { display: none; }
      .col-header { display: none; }
      .mobile-cards { display: block; padding: 10px 14px; }
    }
    .m-card {
      background: var(--surface); border: 1.5px solid var(--border-soft);
      border-radius: var(--radius-lg); padding: 16px;
      margin-bottom: 10px; cursor: pointer;
      box-shadow: var(--shadow-sm);
      transition: box-shadow .15s, transform .15s, border-color .15s;
      animation: cardIn .2s ease-out;
    }
    @keyframes cardIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
    .m-card:hover, .m-card:active { box-shadow: var(--shadow); border-color: var(--border); transform: translateY(-1px); }
    .m-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
    .m-card-id  { font-size: 10.5px; font-weight: 800; color: var(--primary); font-family: 'DM Mono', monospace; }
    .m-card-name { font-size: 14px; font-weight: 800; color: var(--text-1); margin-bottom: 6px; line-height: 1.3; }
    .m-card-meta { font-size: 11.5px; font-weight: 600; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; }
    .m-card-bottom { display: flex; align-items: center; justify-content: space-between; }
    .m-card-total  { font-size: 13px; font-weight: 800; color: var(--text-1); font-family: 'DM Mono', monospace; }
    .m-card-arrow  { color: var(--text-4); flex-shrink: 0; }

    .modal-overlay {
      position: fixed; inset: 0;
      background: rgba(10,26,40,.55);
      z-index: 1000; display: none;
      align-items: flex-end; justify-content: center;
      backdrop-filter: blur(4px);
      padding: 0;
    }
    .modal-overlay.open { display: flex; }
    @media (min-width: 600px) {
      .modal-overlay { align-items: center; padding: 20px; }
    }
    .modal-sheet {
      background: white; border-radius: 22px 22px 0 0;
      width: 100%; max-width: 760px; max-height: 92vh;
      overflow-y: auto; padding: 22px 20px 32px;
      animation: sheetUp .25s cubic-bezier(.34,1.56,.64,1);
      box-shadow: var(--shadow-xl);
    }
    @media (min-width: 600px) {
      .modal-sheet { border-radius: 20px; max-height: 90vh; padding: 28px 30px 36px; }
    }
    @keyframes sheetUp { from { transform: translateY(30px) scale(0.98); opacity:0; } to { transform: translateY(0) scale(1); opacity:1; } }
    .modal-drag-handle {
      width: 40px; height: 4px; background: var(--border);
      border-radius: 99px; margin: 0 auto 18px;
    }
    @media (min-width: 600px) { .modal-drag-handle { display: none; } }
    .modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
    .modal-order-id { font-size: 10px; font-weight: 800; color: var(--accent-mid); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; font-family: 'DM Mono', monospace; }
    .modal-title { font-size: 17px; font-weight: 900; color: var(--text-1); letter-spacing: -.02em; line-height: 1.3; max-width: 560px; }
    .modal-close {
      width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2);
      border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: var(--text-3); flex-shrink: 0; margin-left: 12px;
      transition: background .15s, color .15s;
    }
    .modal-close:hover { background: var(--border); color: var(--text-1); }
    .meta-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px;
    }
    @media (min-width: 500px) { .meta-grid { grid-template-columns: repeat(3, 1fr); } }
    .meta-item { background: var(--surface-2); border-radius: var(--radius); padding: 11px 14px; border: 1px solid var(--border-soft); }
    .meta-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-4); margin-bottom: 4px; }
    .meta-value { font-size: 12.5px; font-weight: 700; color: var(--text-1); }
    .info-block { background: var(--surface-2); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border-soft); margin-bottom: 10px; }
    .info-block-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-4); margin-bottom: 5px; }
    .info-block-value { font-size: 12.5px; font-weight: 500; color: var(--text-2); line-height: 1.6; }

    .items-section-title {
      font-size: 10.5px; font-weight: 800; text-transform: uppercase;
      letter-spacing: .08em; color: var(--text-3); margin: 16px 0 10px;
      display: flex; align-items: center; gap: 7px;
    }
    .items-table-wrap { border-radius: var(--radius); border: 1px solid var(--border-soft); overflow-x: auto; margin-bottom: 14px; }
    .items-mini { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 680px; }
    .items-mini th {
      background: var(--surface-2); padding: 8px 12px;
      font-size: 9.5px; font-weight: 800; text-transform: uppercase;
      letter-spacing: .07em; color: var(--text-3);
      border-bottom: 1px solid var(--border-soft); text-align: left;
      white-space: nowrap;
    }
    .items-mini th.num, .items-mini td.num { text-align: right; }
    .items-mini td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); color: var(--text-2); vertical-align: middle; }
    .items-mini tr:last-child td { border-bottom: none; }
    .items-mini tfoot td { background: var(--surface-2); font-weight: 800; color: var(--primary); border-top: 1px solid var(--border-soft); }

    .item-badge { padding: 3px 9px; font-size: 9px; font-weight: 800; border-radius: 99px; text-transform: uppercase; display: inline-block; white-space: nowrap; letter-spacing: .04em; }
    .item-badge-pending      { background: #F8FAFC; color: #64748B; border: 1px solid #CBD5E1; }
    .item-badge-approved     { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }
    .item-badge-rejected     { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
    .item-badge-processing   { background: #FFF7ED; color: #D97706; border: 1px solid #FDE68A; }
    .item-badge-done         { background: #F0FDF4; color: #15803D; border: 1px solid #86EFAC; }
    .item-badge-out_of_stock { background: #FFF1F2; color: #9F1239; border: 1px solid #FECDD3; }
    .item-badge-default      { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border-soft); }

    .item-note-text  { font-size: 11px; font-weight: 500; color: var(--text-3); font-style: italic; max-width: 160px; word-break: break-word; line-height: 1.4; }
    .item-note-empty { font-size: 11px; color: var(--text-4); }

    .history-section { margin-top: 16px; }

    .leader-actions-bar {
      margin: 4px 0 18px; padding: 14px 16px;
      border: 1px solid #FDE68A; background: #FFFBEB; border-radius: var(--radius);
      display: flex; flex-direction: column; gap: 10px;
    }
    .leader-actions-label { font-size: 12px; font-weight: 800; color: var(--amber); }
    .leader-notes-input {
      width: 100%; min-height: 60px; resize: vertical;
      border: 1px solid var(--border); border-radius: var(--radius-sm);
      padding: 9px 12px; font-size: 12.5px; font-family: inherit;
      outline: none; box-sizing: border-box; background: var(--surface);
    }
    .leader-notes-input:focus { border-color: var(--accent); }
    .leader-actions-buttons { display: flex; gap: 10px; justify-content: flex-end; }
    .btn-leader-approve, .btn-leader-reject {
      padding: 9px 20px; border-radius: 99px; font-size: 12.5px; font-weight: 800;
      cursor: pointer; font-family: inherit; border: none; transition: opacity .15s;
    }
    .btn-leader-approve { background: var(--green); color: #fff; }
    .btn-leader-reject  { background: var(--red); color: #fff; }
    .btn-leader-approve:disabled, .btn-leader-reject:disabled { opacity: .5; cursor: not-allowed; }
    .history-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
    .history-item:last-child { border-bottom: none; }
    .history-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 4px; }
    .history-body { flex: 1; }
    .history-status { font-size: 11px; font-weight: 800; color: var(--text-1); margin-bottom: 2px; }
    .history-note   { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
    .history-meta   { font-size: 10px; font-weight: 600; color: var(--text-4); margin-top: 2px; }

    .toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; width: calc(100% - 32px); max-width: 400px; }
    .toast { background: var(--text-1); color: white; padding: 12px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 9px; animation: toastIn .25s cubic-bezier(.34,1.56,.64,1); }
    @keyframes toastIn { from { opacity:0; transform: translateY(14px) scale(.95); } to { opacity:1; transform:none; } }
