    :root {
      --primary: #0D3B2E;
      --primary-dark: #07231B;
      --primary-light: #155543;
      --primary-surface: rgba(13, 59, 46, 0.05);
      --accent-gold: #C9963E;
      --accent-gold-hover: #b3822e;
      --accent-gold-light: #fbf5ea;
      --accent-gold-border: rgba(201, 150, 62, 0.38);
      --bg-page: #F4F6F4;
      --bg-card: #FFFFFF;
      --text-heading: #0D2B22;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-subtle: rgba(13, 59, 46, 0.09);
      --border-medium: rgba(13, 59, 46, 0.16);
      --status-live: #10B981;
      --status-warning: #F59E0B;
      --status-danger: #EF4444;
      --radius-card: 16px;
      --radius-btn: 10px;
      --radius-pill: 999px;
      --shadow-card: 0 4px 18px -3px rgba(13, 59, 46, 0.06), 0 1px 3px rgba(13, 59, 46, 0.03);
      --font-brand: 'Cinzel', serif;
      --font-display: 'Plus Jakarta Sans', sans-serif;
      --font-body: 'Inter', sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body {
      width: 100%;
      min-height: 100dvh;
      background-color: var(--bg-page);
      color: var(--text-body);
      font-family: var(--font-body);
      -webkit-font-smoothing: antialiased;
      line-height: 1.5;
    }

    body {
      display: flex;
      flex-direction: column;
    }

    button, input, select { font: inherit; }
    button { cursor: pointer; border: 0; outline: none; transition: all 0.2s ease; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      min-height: 64px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
      color: #fff;
      border-bottom: 1.5px solid var(--accent-gold-border);
      box-shadow: 0 4px 20px rgba(7, 35, 27, 0.22);
    }

    .brand-section {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
    }

    .brand-emblem {
      width: 40px;
      height: 40px;
      border: 1.5px solid var(--accent-gold);
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(201, 150, 62, 0.15);
      color: var(--accent-gold);
      font-size: 18px;
      flex-shrink: 0;
    }

    .brand-titles h1 {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: var(--accent-gold);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand-badge {
      font-family: var(--font-brand);
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 5px;
      background: rgba(201, 150, 62, 0.22);
      border: 1px solid var(--accent-gold);
      color: var(--accent-gold);
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      min-height: 38px;
      padding: 8px 15px;
      border-radius: var(--radius-btn);
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      text-decoration: none;
      box-sizing: border-box;
    }

    .btn-gold {
      background: linear-gradient(135deg, var(--accent-gold) 0%, #a67926 100%);
      color: #FFFFFF;
      box-shadow: 0 3px 12px rgba(201, 150, 62, 0.25);
    }
    .btn-gold:hover {
      background: linear-gradient(135deg, #d8a54d 0%, #b8862b 100%);
      transform: translateY(-1px);
      box-shadow: 0 5px 16px rgba(201, 150, 62, 0.35);
    }

    .btn-emerald {
      background: linear-gradient(135deg, #12563f 0%, #08281d 100%);
      color: #FFFFFF;
      border: 1px solid var(--accent-gold-border);
      box-shadow: 0 3px 12px rgba(8, 40, 29, 0.2);
    }
    .btn-emerald:hover {
      background: linear-gradient(135deg, #186b4f 0%, #0d3b2e 100%);
      transform: translateY(-1px);
    }

    .btn-secondary {
      background: #ffffff;
      color: #334155;
      border: 1.5px solid #cbd5e1;
    }
    .btn-secondary:hover {
      background: #f1f5f9;
      border-color: #94a3b8;
      color: #0f172a;
    }

    .btn-danger {
      background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
      color: #ffffff;
    }
    .btn-danger:hover {
      background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
      transform: translateY(-1px);
    }

    .btn-sm {
      min-height: 32px;
      padding: 5px 11px;
      font-size: 12px;
      border-radius: 7px;
    }

    .btn-nav {
      background: rgba(255, 255, 255, 0.1);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .btn-nav:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #FFFFFF;
    }

    .fullscreen-page-wrap {
      width: 100%;
      max-width: 100%;
      padding: 14px 18px 28px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1;
      box-sizing: border-box;
    }

    .hero-control-bar {
      background: #FFFFFF;
      border: 1.5px solid var(--border-medium);
      border-radius: var(--radius-card);
      padding: 14px 18px;
      box-shadow: var(--shadow-card);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .selector-cluster {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      flex: 1;
      min-width: 280px;
    }

    .draw-select-wrapper {
      position: relative;
      flex: 1;
      min-width: 220px;
      max-width: 440px;
    }

    .draw-select-wrapper i {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--accent-gold);
      pointer-events: none;
      font-size: 14px;
    }

    .draw-select {
      width: 100%;
      min-height: 40px;
      padding: 6px 12px 6px 36px;
      border: 1.5px solid var(--accent-gold-border);
      border-radius: 10px;
      background: #ffffff;
      color: var(--text-heading);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      outline: none;
      cursor: pointer;
    }

    .draw-select:focus {
      border-color: var(--accent-gold);
      box-shadow: 0 0 0 3px rgba(201, 150, 62, 0.15);
    }

    .stats-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      width: 100%;
    }

    @media (max-width: 900px) {
      .stats-strip {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .stat-pill {
      background: #ffffff;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 12px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    .stat-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      font-size: 16px;
      flex-shrink: 0;
    }

    .stat-icon.gold {
      background: rgba(201, 150, 62, 0.12);
      color: var(--accent-gold);
      border: 1px solid var(--accent-gold-border);
    }
    .stat-icon.emerald {
      background: rgba(16, 185, 129, 0.12);
      color: #059669;
      border: 1px solid rgba(16, 185, 129, 0.25);
    }
    .stat-icon.blue {
      background: rgba(14, 116, 144, 0.12);
      color: #0891b2;
      border: 1px solid rgba(14, 116, 144, 0.25);
    }
    .stat-icon.purple {
      background: rgba(139, 92, 246, 0.12);
      color: #7c3aed;
      border: 1px solid rgba(139, 92, 246, 0.25);
    }

    .stat-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .stat-val {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 800;
      color: var(--text-heading);
      line-height: 1.2;
    }

    .workspace-layout-3col {
      display: grid;
      grid-template-columns: 310px 1.25fr 1.05fr;
      gap: 14px;
      align-items: start;
      width: 100%;
    }

    @media (max-width: 1400px) {
      .workspace-layout-3col {
        grid-template-columns: 320px 1fr;
      }
      .col-entries-panel {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 880px) {
      .workspace-layout-3col {
        grid-template-columns: 1fr;
      }
      .col-entries-panel {
        grid-column: auto;
      }
    }

    .dashboard-col {
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
    }

    .card-panel {
      background: var(--bg-card);
      border: 1.5px solid var(--border-medium);
      border-radius: var(--radius-card);
      padding: 16px 18px;
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 10px;
      border-bottom: 1.5px solid var(--border-subtle);
    }

    .card-title {
      font-family: var(--font-display);
      font-size: 14.5px;
      font-weight: 800;
      color: var(--text-heading);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .card-title i {
      color: var(--accent-gold);
    }

    .form-group-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .form-row-2col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .form-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .form-label {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-heading);
    }

    .form-control {
      width: 100%;
      min-height: 38px;
      padding: 6px 11px;
      border: 1.5px solid #cbd5e1;
      border-radius: 8px;
      background: #ffffff;
      color: var(--text-heading);
      font-size: 13px;
      font-weight: 600;
      outline: none;
      transition: all 0.2s ease;
    }

    .form-control:focus {
      border-color: var(--accent-gold);
      box-shadow: 0 0 0 3px rgba(201, 150, 62, 0.15);
    }

    .toggle-switch-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      background: var(--primary-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 9px 12px;
      margin-top: 2px;
    }

    .toggle-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .toggle-title {
      font-size: 12.5px;
      font-weight: 800;
      color: var(--text-heading);
    }

    .toggle-desc {
      font-size: 11px;
      font-weight: 700;
      color: #059669;
    }

    .switch-toggle {
      position: relative;
      display: inline-block;
      width: 46px;
      height: 25px;
      flex-shrink: 0;
      cursor: pointer;
    }

    .switch-toggle input {
      opacity: 0;
      width: 0;
      height: 0;
      position: absolute;
    }

    .switch-slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background-color: #cbd5e1;
      border-radius: 30px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    }

    .switch-slider::before {
      position: absolute;
      content: "";
      height: 19px;
      width: 19px;
      left: 3px;
      bottom: 3px;
      background-color: #ffffff;
      border-radius: 50%;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .switch-toggle input:checked + .switch-slider {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

    .switch-toggle input:checked + .switch-slider::before {
      transform: translateX(21px);
    }

    .table-container {
      overflow-x: auto;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      background: #ffffff;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
      font-size: 12.5px;
    }

    thead th {
      position: sticky;
      top: 0;
      z-index: 2;
      background: #f8faf9;
      color: var(--text-muted);
      font-weight: 700;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 9px 11px;
      border-bottom: 1.5px solid var(--border-medium);
      white-space: nowrap;
    }

    tbody td {
      padding: 9px 11px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-body);
      vertical-align: middle;
    }

    tbody tr:hover {
      background: rgba(13, 59, 46, 0.02);
    }

    .badge-ticket {
      display: inline-block;
      font-family: monospace;
      font-size: 12px;
      font-weight: 800;
      color: #946200;
      background: #fef8eb;
      border: 1px solid rgba(201, 150, 62, 0.3);
      padding: 2px 6px;
      border-radius: 5px;
    }

    .badge-order {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--primary-surface);
      color: var(--primary);
      font-weight: 800;
      font-size: 11px;
      border: 1px solid var(--border-medium);
    }

    .empty-placeholder {
      padding: 24px 12px;
      text-align: center;
      color: var(--text-muted);
      font-size: 12.5px;
      font-weight: 600;
    }

    .empty-placeholder i {
      font-size: 22px;
      color: #cbd5e1;
      margin-bottom: 5px;
      display: block;
    }

    .custom-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(7, 35, 27, 0.75);
      backdrop-filter: blur(8px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .custom-modal-overlay.active {
      display: flex;
      opacity: 1;
    }

    .custom-modal-card {
      background: #ffffff;
      border: 1.5px solid var(--accent-gold-border);
      border-radius: 18px;
      width: 100%;
      max-width: 480px;
      padding: 24px 22px;
      box-shadow: 0 25px 60px rgba(0,0,0,0.35);
      transform: scale(0.95);
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .custom-modal-overlay.active .custom-modal-card {
      transform: scale(1);
    }

    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1.5px solid var(--border-subtle);
    }

    .modal-title {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 800;
      color: var(--primary);
    }

    .modal-close-btn {
      background: transparent;
      color: var(--text-muted);
      font-size: 17px;
      width: 30px;
      height: 30px;
      border-radius: 7px;
      display: grid;
      place-items: center;
    }

    .modal-close-btn:hover {
      background: #f1f5f9;
      color: #0f172a;
    }

    .toast-banner {
      position: fixed;
      top: 76px;
      right: 20px;
      z-index: 1100;
      min-width: 260px;
      max-width: 420px;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 10px 30px rgba(0,0,0,0.18);
      display: none;
      align-items: center;
      gap: 10px;
      animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .toast-banner.success {
      display: flex;
      background: #e9f7ef;
      color: #0c6548;
      border: 1.5px solid #bce8d2;
    }

    .toast-banner.error {
      display: flex;
      background: #fef2f2;
      color: #991b1b;
      border: 1.5px solid #fecaca;
    }

    @keyframes toastIn {
      from { transform: translateX(20px); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    .custom-confirm-overlay {
      position: fixed !important;
      inset: 0 !important;
      background: rgba(4, 21, 14, 0.74) !important;
      backdrop-filter: blur(10px) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 16px !important;
      z-index: 2147483647 !important;
      opacity: 0;
      transition: opacity 0.22s ease;
    }

    .custom-confirm-overlay.active {
      opacity: 1;
    }

    .custom-confirm-card {
      background: linear-gradient(145deg, #ffffff 0%, #fdfbf7 100%) !important;
      border: 1.5px solid rgba(216, 180, 92, 0.45) !important;
      border-radius: 22px !important;
      width: 100% !important;
      max-width: 460px !important;
      padding: 30px 24px 24px !important;
      text-align: center !important;
      box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4) !important;
      position: relative !important;
      transform: scale(0.92) translateY(16px);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .custom-confirm-overlay.active .custom-confirm-card {
      transform: scale(1) translateY(0);
    }

    .custom-confirm-icon-wrap {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 26px;
    }

    .custom-confirm-icon-wrap.danger {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(220, 38, 38, 0.22) 100%);
      color: #dc2626;
      border: 2px solid rgba(239, 68, 68, 0.38);
    }

    .custom-confirm-icon-wrap.warning {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.22) 100%);
      color: #d97706;
      border: 2px solid rgba(245, 158, 11, 0.38);
    }

    .custom-confirm-title {
      font-size: 19px;
      font-weight: 800;
      color: #0a291d;
      margin: 0 0 12px 0;
    }

    .custom-confirm-body {
      font-size: 14px;
      color: #354c41;
      line-height: 1.55;
      font-weight: 600;
      margin-bottom: 22px;
      white-space: pre-line;
      background: linear-gradient(135deg, #fbf9f4 0%, #f4eee1 100%);
      padding: 14px 18px;
      border-radius: 14px;
      border: 1px solid rgba(216, 180, 92, 0.32);
    }

    .custom-confirm-actions {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .custom-confirm-btn-cancel {
      flex: 1;
      padding: 11px 18px;
      background: #ffffff;
      color: #4b6358;
      border: 1.5px solid #cbd7d2;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    .custom-confirm-btn-cancel:hover {
      background: #f1f5f3;
      color: #1a3628;
    }

    .custom-confirm-btn-ok {
      flex: 1.35;
      padding: 11px 20px;
      color: #ffffff;
      border: none;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .custom-confirm-btn-ok.danger {
      background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
      box-shadow: 0 5px 16px rgba(220, 38, 38, 0.35);
    }
    .custom-confirm-btn-ok.danger:hover {
      background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
      transform: translateY(-1px);
    }

    .custom-confirm-btn-ok.warning {
      background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
      box-shadow: 0 5px 16px rgba(217, 119, 6, 0.35);
    }
    .custom-confirm-btn-ok.warning:hover {
      background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
      transform: translateY(-1px);
    }

    .search-input-wrap {
      position: relative;
      width: 100%;
      min-width: 180px;
      max-width: 260px;
    }

    .search-input-wrap i {
      position: absolute;
      left: 11px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      font-size: 12.5px;
    }

    .search-input {
      width: 100%;
      min-height: 34px;
      padding: 5px 10px 5px 30px;
      border: 1px solid #cbd5e1;
      border-radius: 7px;
      font-size: 12.5px;
      outline: none;
    }

    .search-input:focus {
      border-color: var(--accent-gold);
    }

    .file-input-hidden {
      display: none;
    }

    .topbar {
      min-height: 72px;
      padding-inline: clamp(16px, 3vw, 40px);
      background:
        radial-gradient(circle at 78% -90%, rgba(216, 180, 92, 0.32), transparent 24rem),
        linear-gradient(135deg, #041a12 0%, #0d3b2e 58%, #155543 100%);
    }

    .brand-section {
      gap: 14px;
    }

    .brand-emblem {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .brand-titles h1 {
      font-size: 18px;
      letter-spacing: -0.03em;
    }

    .brand-badge {
      letter-spacing: 0.1em;
    }

    .fullscreen-page-wrap {
      max-width: 1680px;
      margin: 0 auto;
      padding: clamp(18px, 2.5vw, 34px) clamp(16px, 3vw, 42px) 42px;
      gap: 18px;
    }

    .hero-control-bar {
      position: relative;
      overflow: hidden;
      padding: clamp(18px, 2vw, 26px);
      border-color: rgba(13, 59, 46, 0.14);
      border-radius: 22px;
      box-shadow: 0 18px 44px rgba(13, 59, 46, 0.09);
    }

    .hero-control-bar::after {
      content: '';
      position: absolute;
      right: -60px;
      bottom: -110px;
      width: 260px;
      height: 260px;
      border: 1px solid rgba(201, 150, 62, 0.2);
      border-radius: 50%;
      pointer-events: none;
    }

    .selector-cluster,
    .header-stage-actions {
      position: relative;
      z-index: 1;
    }

    .draw-select {
      min-height: 46px;
      font-size: 15px;
      border-radius: 13px;
    }

    .btn {
      min-height: 42px;
      border-radius: 12px;
    }

    .btn-sm {
      min-height: 38px;
      border-radius: 10px;
    }

    .stats-strip {
      gap: 14px;
    }

    .stat-pill {
      min-height: 84px;
      padding: 15px 16px;
      border-radius: 16px;
      box-shadow: 0 10px 24px rgba(13, 59, 46, 0.06);
    }

    .stat-label {
      font-size: 11px;
      letter-spacing: 0.06em;
    }

    .stat-val {
      font-size: 22px;
    }

    .workspace-layout-3col {
      grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.15fr) minmax(420px, 1.45fr);
      gap: 18px;
    }

    .card-panel {
      padding: 20px;
      gap: 16px;
      border-radius: 20px;
      border-color: rgba(13, 59, 46, 0.13);
      box-shadow: 0 14px 34px rgba(13, 59, 46, 0.06);
    }

    .card-header {
      padding-bottom: 13px;
    }

    .card-title {
      font-size: 16px;
    }

    .form-label {
      font-size: 12px;
    }

    .form-control,
    .search-input {
      min-height: 42px;
      font-size: 14px;
      border-radius: 10px;
    }

    .table-container {
      border-radius: 13px;
    }

    table {
      font-size: 13px;
    }

    thead th {
      padding: 11px 12px;
      font-size: 11px;
    }

    tbody td {
      padding: 12px;
    }

    .toast-banner {
      border-radius: 13px;
      padding: 14px 17px;
    }

    @media (max-width: 1400px) {
      .workspace-layout-3col {
        grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
      }
    }

    @media (max-width: 880px) {
      .topbar {
        align-items: flex-start;
      }

      .header-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .header-actions .btn {
        flex: 1 1 auto;
      }

      .hero-control-bar {
        align-items: stretch;
      }

      .selector-cluster {
        width: 100%;
        min-width: 0;
      }

      .draw-select-wrapper {
        min-width: 0;
        max-width: none;
      }

      .workspace-layout-3col {
        grid-template-columns: 1fr;
      }

      .col-entries-panel {
        grid-column: auto;
      }
    }

    @media (max-width: 560px) {
      .topbar {
        padding: 12px 14px;
      }

      .brand-titles h1 {
        font-size: 15px;
      }

      .brand-badge {
        display: none;
      }

      .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .header-actions .btn {
        width: 100%;
        min-width: 0;
        padding-inline: 9px;
        font-size: 11px;
      }

      .header-actions .btn:first-child {
        grid-column: 1 / -1;
      }

      .fullscreen-page-wrap {
        padding: 12px 10px 28px;
        gap: 12px;
      }

      .hero-control-bar {
        padding: 14px;
        border-radius: 17px;
      }

      .selector-cluster {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .draw-select-wrapper {
        grid-column: 1 / -1;
      }

      .selector-cluster .btn {
        width: 100%;
      }

      .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }

      .stat-pill {
        min-height: 76px;
        padding: 11px;
        gap: 9px;
      }

      .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
      }

      .stat-label {
        font-size: 9px;
      }

      .stat-val {
        font-size: 18px;
      }

      .card-panel {
        padding: 15px;
        border-radius: 16px;
      }

      .card-title {
        font-size: 14px;
      }

      .form-row-2col {
        grid-template-columns: 1fr;
      }

      .table-container {
        margin-inline: -2px;
      }

      .toast-banner {
        top: auto;
        right: 10px;
        bottom: 14px;
        left: 10px;
        min-width: 0;
        max-width: none;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

.csp-inline-1{display: none; gap: 8px; align-items: center;}
.csp-inline-2{display: none;}
.csp-inline-3{font-size: 15px;}
.csp-inline-4{display: flex; align-items: center; gap: 8px;}
.csp-inline-5{cursor: pointer; margin: 0; white-space: nowrap; height: 38px; padding: 0 12px;}
.csp-inline-6{font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.csp-inline-7{width: 100%; height: 38px;}
.csp-inline-8{max-height: 240px; overflow-y: auto;}
.csp-inline-9{width: 38px; text-align: center; white-space: nowrap;}
.csp-inline-10{width: 50px; text-align: center; white-space: nowrap;}
.csp-inline-11{min-width: 100px; white-space: nowrap;}
.csp-inline-12{min-width: 110px; white-space: nowrap;}
.csp-inline-13{width: 48px; text-align: center; white-space: nowrap;}
.csp-inline-14{width: 44px; text-align: center; white-space: nowrap;}
.csp-inline-15{width: 54px; text-align: center; white-space: nowrap;}
.csp-inline-16{display: none; padding: 4px 10px; font-size: 11.5px;}
.csp-inline-17{max-height: 260px; overflow-y: auto;}
.csp-inline-18{width: 44px; text-align: center;}
.csp-inline-19{height: 100%;}
.csp-inline-20{flex-wrap: nowrap; gap: 8px;}
.csp-inline-21{white-space: nowrap;}
.csp-inline-22{font-size: 12px; font-weight: 700; color: var(--text-muted);}
.csp-inline-23{display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; margin-left: auto;}
.csp-inline-24{padding: 5px 9px;}
.csp-inline-25{cursor: pointer; margin: 0; white-space: nowrap; padding: 5px 10px;}
.csp-inline-26{background: var(--primary-surface); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-subtle); align-items: end; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));}
.csp-inline-27{height: 38px;}
.csp-inline-28{max-height: 520px; overflow-y: auto;}
.csp-inline-29{width: 36px; text-align: center;}
.csp-inline-30{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:10px;}
.csp-inline-31{display: flex; flex-direction: column; gap: 12px;}
.csp-inline-32{display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px;}
.csp-inline-33{text-align: center; white-space: nowrap;}
.csp-inline-34{width: 34px; height: 34px; object-fit: cover; border-radius: 50%; border: 1px solid var(--accent-gold-border); display: block; margin: 0 auto;}
.csp-inline-35{width: 34px; height: 34px; border-radius: 6px; background: var(--primary-surface); display: grid; place-items: center; margin: 0 auto; color: var(--text-muted); font-size: 13px;}
.csp-inline-36{color: var(--primary); font-weight: 700;}
.csp-inline-37{color: var(--text-muted); font-weight: 700;}
.csp-inline-38{font-weight: 800;}
.csp-inline-39{color: #059669; font-weight: 800;}
.csp-inline-40{padding: 4px 8px; font-size: 11px;}
.csp-inline-41{text-align: center;}
.csp-inline-42{color: var(--primary);}
.csp-inline-43{color: var(--text-muted);}
.csp-inline-44{text-align: center; color: var(--text-muted);}
