    :root {
      --bc-panel-radius: 16px;
      --bc-field-height: 42px;
      --bc-page-max: 1168px;
      --bc-shell-gap: 14px;
      --bc-card-padding: 14px;
      --bc-header-height: 80px;
      --bc-gap-1: 8px;
      --bc-gap-2: 12px;
      --bc-gap-3: 16px;
      --bc-gap-4: 20px;
      --bc-ring: 0 0 0 3px rgba(212, 148, 90, 0.22);
      --bc-surface-shadow: 0 14px 34px var(--shadow);
    }

    body {
      font-family: "Manrope", "Segoe UI", sans-serif;
      background:
        radial-gradient(1200px 420px at -12% -8%, rgba(212, 148, 90, 0.12), transparent 45%),
        radial-gradient(1000px 360px at 108% 0%, rgba(201, 132, 90, 0.1), transparent 42%),
        var(--bg-primary);
      color: var(--text-primary);
    }

    h1, h2, h3, h4, .logo-text, .section-title, .nav-label, .dashboard-plan strong, .phase-pill {
      font-family: "Sora", "Manrope", "Segoe UI", sans-serif;
      letter-spacing: 0.1px;
    }

    .dashboard {
      grid-template-columns: minmax(0, 1fr);
      min-height: 100vh;
    }

    .sidebar,
    .sidebar-overlay,
    .mobile-menu-toggle {
      display: none !important;
    }

    .workspace-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      min-width: 0;
      overflow: visible;
    }

    .workspace-menu {
      position: relative;
    }

    .workspace-trigger {
      min-height: 36px !important;
      border-radius: 10px !important;
      padding: 0 14px !important;
      display: inline-flex !important;
      align-items: center;
      gap: 7px;
      font-size: 14px !important;
      letter-spacing: 0.1px;
      font-weight: 800 !important;
      border: 1px solid transparent !important;
      background: transparent !important;
      color: var(--text-secondary) !important;
      box-shadow: none;
    }

    .workspace-trigger:not(.active) {
      border-color: transparent !important;
      background: transparent !important;
      color: var(--text-secondary) !important;
      box-shadow: none !important;
    }

    .workspace-trigger::after {
      content: "▾";
      font-size: 11px;
      opacity: 0.72;
    }

    .workspace-trigger:hover,
    .workspace-trigger.active {
      background: color-mix(in oklab, var(--success) 16%, transparent) !important;
      color: var(--success) !important;
      border-color: color-mix(in oklab, var(--success) 32%, transparent) !important;
      box-shadow: none;
    }

    .workspace-menu-panel {
      position: absolute;
      top: calc(100% + 10px);
      left: -14px;
      min-width: 520px;
      padding: 22px 24px;
      border-radius: 0 0 22px 22px;
      border: 1px solid color-mix(in oklab, var(--bc-line) 82%, rgba(255,255,255,0.05));
      border-top: 0;
      background:
        linear-gradient(180deg, color-mix(in oklab, var(--bg-card) 96%, rgba(255,255,255,0.02) 4%), color-mix(in oklab, var(--bg-card) 98%, #101317 2%));
      box-shadow: 0 24px 48px rgba(6, 9, 16, 0.34);
      backdrop-filter: blur(16px);
      display: none;
      grid-template-columns: repeat(2, minmax(200px, 1fr));
      gap: 22px;
    }

    .workspace-menu.open .workspace-menu-panel {
      display: grid;
      animation: fadeInUp 160ms ease;
    }

    .workspace-col {
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .workspace-title {
      margin: 0 0 4px;
      font-size: 13px;
      font-weight: 800;
      color: var(--bc-text);
    }

    .workspace-link {
      border: 0;
      background: transparent;
      color: var(--bc-muted);
      text-align: left;
      font-size: 14px;
      font-weight: 700;
      padding: 6px 0;
      cursor: pointer;
    }

    .workspace-link:hover,
    .workspace-link.active {
      color: var(--success);
    }

    .sidebar {
      padding: 24px 18px;
      border-right: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg-secondary), color-mix(in oklab, var(--bg-secondary) 82%, #000 18%));
      display: flex;
      flex-direction: column;
    }

    .sidebar .logo {
      margin-bottom: 28px;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: color-mix(in oklab, var(--bg-card) 88%, transparent);
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .sidebar .logo:hover {
      transform: translateY(-1px);
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
      background: var(--bg-card-hover);
    }

    .brand-logo-img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    .sidebar-brand-logo {
      width: min(190px, 100%);
    }

    .sidebar .nav-label {
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.45px;
      font-size: 11px;
      font-weight: 800;
      margin: 0 0 6px 10px;
    }

    .sidebar .nav-item.panel-btn {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-card);
      color: var(--text-secondary);
      min-height: 40px;
      font-size: 13px;
      padding: 0 12px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
    }

    .sidebar .nav-item.panel-btn:hover {
      transform: translateY(-1px);
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
      color: var(--text-primary);
      background: var(--bg-card-hover);
    }

    .sidebar .nav-item.panel-btn.active {
      border-color: color-mix(in oklab, var(--accent-copper) 50%, #ffffff 8%);
      background: var(--accent-gradient);
      color: #191919;
      box-shadow: 0 10px 20px rgba(184, 115, 51, 0.25);
    }

    .sidebar .nav-section {
      flex: 1 1 auto;
    }

    .main-content {
      position: relative;
      padding: 20px 24px 36px;
      overflow: auto;
      background:
        radial-gradient(900px 380px at 12% -8%, rgba(43, 122, 255, 0.12), transparent 48%),
        radial-gradient(760px 320px at 92% -6%, rgba(71, 214, 122, 0.09), transparent 42%),
        linear-gradient(180deg, color-mix(in oklab, var(--bg-primary) 92%, #08152d 8%), var(--bg-primary));
    }

    .main-content::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent 18%),
        radial-gradient(circle at top left, rgba(255,255,255,0.035), transparent 28%);
      opacity: 0.9;
    }

    .header {
      position: sticky;
      top: 8px;
      z-index: 30;
      max-width: var(--bc-page-max);
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 14px;
      min-height: 72px;
      padding: 10px 16px;
      border: 1px solid color-mix(in oklab, var(--border) 74%, rgba(255,255,255,0.06));
      border-radius: 0 0 24px 24px;
      background:
        linear-gradient(180deg, color-mix(in oklab, var(--bg-card) 94%, rgba(255,255,255,0.03) 6%), color-mix(in oklab, var(--bg-card) 98%, #0b0f15 2%));
      backdrop-filter: blur(14px);
      box-shadow: 0 18px 42px rgba(5, 16, 34, 0.22);
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      grid-template-areas:
        "brand . actions"
        "nav nav nav";
      align-items: center;
      gap: 12px 16px;
    }

    .header-left {
      grid-area: brand;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .header-brand {
      border: 0;
      background: transparent;
      padding: 0;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
    }

    .header-brand-logo {
      width: min(156px, 18vw);
    }

    .header-subtitle {
      display: none;
    }

    .header-business {
      min-height: 38px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid color-mix(in oklab, var(--border) 84%, transparent);
      background: color-mix(in oklab, var(--bg-secondary) 90%, transparent);
      color: var(--text-primary);
      font-size: 14px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      pointer-events: none;
    }

    .header-business::after {
      content: "▾";
      font-size: 11px;
      opacity: 0.74;
    }

    .header-center {
      grid-area: nav;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      min-width: 0;
      padding-top: 6px;
      border-top: 1px solid color-mix(in oklab, var(--border) 74%, transparent);
    }

    .header-right {
      grid-area: actions;
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      min-width: 0;
    }

    .header-search {
      width: 100%;
      min-height: 40px;
      border-radius: 12px;
      border: 1px solid color-mix(in oklab, var(--border) 84%, transparent);
      background: color-mix(in oklab, var(--bg-secondary) 92%, transparent);
      color: var(--text-primary);
      padding: 0 14px 0 38px;
      font-size: 14px;
      outline: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2391a1bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: 14px center;
    }

    .header-utility-row {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex: 0 0 auto;
    }

    .header-utility-btn {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid transparent;
      background: transparent;
      color: var(--text-secondary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
    }

    .header-utility-btn:hover {
      border-color: color-mix(in oklab, var(--border) 84%, transparent);
      background: color-mix(in oklab, var(--bg-secondary) 88%, transparent);
      color: var(--text-primary);
    }

    .content-wrapper {
      position: relative;
      z-index: 1;
      max-width: var(--bc-page-max);
      width: 100%;
      margin: 0 auto;
      display: grid;
      gap: 18px;
      align-content: start;
    }

    /* Base contract for current and future tabs/subtabs:
       Any new panel should use .app-panel + .card + .inline-grid to inherit this UI rhythm */
    .app-panel {
      max-width: 100%;
      margin: 0;
      display: none;
    }

    .app-panel.active {
      display: block;
      animation: fadeInUp 180ms ease;
    }

    .app-panel > main {
      width: 100%;
    }

    .app-panel > main.layout,
    .app-panel > main.stack {
      margin: 0;
      width: 100%;
      display: grid;
      gap: 18px;
      align-content: start;
    }

    .app-panel .stack {
      gap: 18px;
    }

    .app-panel .card,
    .options-pane .card {
      border-radius: var(--bc-panel-radius);
      padding: var(--bc-card-padding);
    }

    .app-panel .inline-grid {
      gap: var(--bc-gap-2);
    }

    .app-panel .row {
      gap: var(--bc-gap-1);
    }

    .app-panel .options-pane {
      max-width: 100%;
      margin: 0;
    }

    .options-pane {
      margin-top: 0;
    }

    .options-pane.active {
      display: grid;
      gap: var(--bc-shell-gap);
      animation: fadeInUp 180ms ease;
    }

    .bidcenter-content { display: block !important; }

    .phase-pill {
      border: 1px solid var(--border);
      background: var(--accent-gradient);
      color: #1a1a1a;
      border-radius: 999px;
      min-height: 34px;
      padding: 0 12px;
      font-size: 11px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      line-height: 1;
      white-space: nowrap;
    }

    .panel-btn { cursor: pointer; }
    .panel-btn i.nav-icon {
      width: 18px;
      min-width: 18px;
      text-align: center;
    }

    .theme-switch {
      position: relative;
      width: 48px;
      height: 26px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--bg-card-hover);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
      cursor: pointer;
      transition: border-color 0.16s ease, background 0.16s ease;
      outline: none;
    }

    .theme-switch::after {
      content: "";
      position: absolute;
      top: 2px;
      left: 2px;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      background: #ffffff;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .theme-switch:focus-visible {
      box-shadow: var(--bc-ring);
    }

    .theme-switch.active {
      background: var(--accent-gradient);
      border-color: color-mix(in oklab, var(--accent-copper) 60%, var(--border));
    }

    .theme-switch.active::after {
      transform: translateX(22px);
      background: #1d1d1f;
    }

    html[data-theme="light"] .theme-switch {
      background: var(--bg-card-hover);
    }

    html[data-theme="light"] .theme-switch::after {
      transform: translateX(0);
      background: #ffffff;
    }

    html[data-theme="light"] .theme-switch.active::after {
      transform: translateX(22px);
      background: #ffffff;
    }

    .user-menu {
      position: relative;
      display: flex;
      align-items: center;
      gap: 11px;
      cursor: pointer;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: var(--bg-card);
      padding: 7px 10px 7px 8px;
      box-shadow: 0 8px 20px var(--shadow);
      transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
      min-height: 48px;
    }

    .user-avatar {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: inline-grid;
      place-items: center;
      font-size: 14px;
      font-weight: 800;
      color: #1a1a1a;
      background: var(--accent-gradient);
      flex: 0 0 auto;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
    }

    .user-avatar.has-logo {
      color: transparent;
      text-indent: -999px;
      background-size: contain;
      background-color: rgba(255,255,255,0.96);
      background-origin: content-box;
      padding: 4px;
    }

    .dashboard-home {
      display: block;
      padding: 6px 0 0;
    }

    .dashboard-shell {
      display: grid;
      grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }

    .dashboard-sidebar {
      display: grid;
      gap: 16px;
      position: sticky;
      top: 112px;
      align-content: start;
    }

    .dashboard-surface {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(22, 48, 88, 0.98), rgba(14, 35, 68, 0.98));
      box-shadow:
        0 18px 42px rgba(5, 18, 37, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .dashboard-surface::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 30%);
    }

    .admin-panel-card {
      padding: 18px;
      display: grid;
      gap: 18px;
    }

    .admin-panel-head {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .dashboard-avatar {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      font-size: 22px;
      font-weight: 800;
      background: var(--accent-gradient);
      color: #1b1b1f;
      flex: 0 0 auto;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
      box-shadow: 0 12px 24px rgba(212, 148, 90, 0.16);
    }

    .dashboard-avatar.has-logo {
      color: transparent;
      text-indent: -999px;
      background-size: contain;
      background-color: rgba(255,255,255,0.96);
      background-origin: content-box;
      padding: 6px;
    }

    .admin-panel-title {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .admin-panel-title h3 {
      margin: 0;
      font-size: 24px;
      line-height: 1.05;
      color: var(--text-primary);
      font-weight: 800;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .admin-panel-title p {
      margin: 0;
      font-size: 13px;
      color: var(--text-secondary);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .admin-panel-phase {
      border: 1px solid rgba(157, 181, 216, 0.16);
      border-radius: 18px;
      background: rgba(19, 48, 91, 0.62);
      padding: 14px 15px;
      display: grid;
      gap: 4px;
    }

    .admin-panel-phase span {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #8bb2f1;
    }

    .admin-panel-phase strong {
      font-size: 20px;
      font-weight: 800;
      line-height: 1.1;
      color: #f4f8ff;
    }

    .admin-panel-phase p {
      margin: 0;
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.45;
    }

    .dashboard-action-stack {
      display: grid;
      gap: 10px;
    }

    .dashboard-action-btn {
      min-height: 48px !important;
      border-radius: 14px !important;
      padding: 0 14px !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 14px !important;
      font-weight: 800 !important;
      letter-spacing: 0.01em;
    }

    .dashboard-action-btn i {
      font-size: 15px;
    }

    .dashboard-action-btn.primary {
      background: linear-gradient(120deg, #d4945a, #efbf83) !important;
      color: #1d1409 !important;
      border: 1px solid transparent !important;
      box-shadow: 0 16px 28px rgba(212, 148, 90, 0.22);
    }

    .dashboard-action-btn.primary:hover {
      box-shadow: 0 18px 30px rgba(212, 148, 90, 0.28);
    }

    .dashboard-action-btn.secondary {
      background: rgba(19, 48, 91, 0.54) !important;
      color: var(--text-primary) !important;
      border: 1px solid rgba(157, 181, 216, 0.16) !important;
    }

    .dashboard-note-card {
      padding: 14px 16px;
      display: grid;
      gap: 8px;
      color: var(--text-secondary);
      font-size: 13px;
      line-height: 1.5;
    }

    .dashboard-note-card strong {
      color: var(--text-primary);
      font-size: 15px;
    }

    .dashboard-main-grid {
      display: grid;
      gap: 18px;
      align-content: start;
    }

    .dashboard-hero {
      padding: 20px 22px 22px;
      display: grid;
      gap: 18px;
    }

    .dashboard-hero-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .dashboard-hero-copy {
      display: grid;
      gap: 6px;
      max-width: 720px;
    }

    .dashboard-hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #8eb3ef;
    }

    .dashboard-hero-copy h2 {
      margin: 0;
      font-size: clamp(26px, 2.4vw, 34px);
      line-height: 1.02;
      color: #f7fbff;
      font-weight: 800;
    }

    .dashboard-hero-copy p {
      margin: 0;
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    .dashboard-hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }

    .dashboard-chip,
    .status-badge {
      border-radius: 999px;
      padding: 6px 10px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .dashboard-chip {
      border: 1px solid rgba(157, 181, 216, 0.16);
      background: rgba(19, 48, 91, 0.52);
      color: #f2f6ff;
    }

    .dashboard-chip i {
      font-size: 10px;
    }

    .status-badge.neutral {
      color: #dce9fb;
      background: rgba(157, 181, 216, 0.14);
      border: 1px solid rgba(157, 181, 216, 0.14);
    }

    .status-badge.success {
      color: #c8f7da;
      background: rgba(46, 189, 115, 0.16);
      border: 1px solid rgba(46, 189, 115, 0.18);
    }

    .status-badge.warn {
      color: #ffd7a8;
      background: rgba(212, 148, 90, 0.16);
      border: 1px solid rgba(212, 148, 90, 0.2);
    }

    .status-badge.danger {
      color: #ffc5ba;
      background: rgba(239, 143, 115, 0.16);
      border: 1px solid rgba(239, 143, 115, 0.18);
    }

    .status-badge.info {
      color: #cae7ff;
      background: rgba(61, 142, 255, 0.16);
      border: 1px solid rgba(61, 142, 255, 0.18);
    }

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

    .status-mini-card {
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 18px;
      padding: 15px;
      background: rgba(20, 47, 88, 0.6);
      display: grid;
      gap: 8px;
      min-height: 110px;
    }

    .status-mini-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .status-mini-icon {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,0.06);
      color: #ecf4ff;
      font-size: 15px;
    }

    .status-mini-label {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #8eb3ef;
    }

    .status-mini-value {
      font-size: 20px;
      line-height: 1.1;
      color: #f6f9ff;
      font-weight: 800;
    }

    .status-mini-meta {
      font-size: 12px;
      color: var(--text-secondary);
    }

    .hero-secondary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .hero-secondary-card {
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 16px;
      padding: 14px 15px;
      background: rgba(17, 40, 77, 0.48);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .hero-secondary-card span {
      font-size: 12px;
      color: #8eb3ef;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .hero-secondary-card strong {
      font-size: 14px;
      color: #edf5ff;
    }

    .dashboard-content-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
      gap: 18px;
      align-items: start;
    }

    .dashboard-column {
      display: grid;
      gap: 18px;
      align-content: start;
    }

    .dashboard-card {
      padding: 18px;
      display: grid;
      gap: 14px;
    }

    .dashboard-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .dashboard-card-head h3 {
      margin: 0;
      font-size: 20px;
      line-height: 1.08;
      font-weight: 800;
      color: #f7fbff;
    }

    .dashboard-card-subtitle {
      margin: 4px 0 0;
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.55;
      max-width: 620px;
    }

    .dashboard-link-btn {
      min-height: 38px !important;
      padding: 0 14px !important;
      border-radius: 12px !important;
      background: rgba(19, 48, 91, 0.58) !important;
      border: 1px solid rgba(157, 181, 216, 0.16) !important;
      color: #eff5ff !important;
      display: inline-flex !important;
      align-items: center;
      gap: 8px;
    }

    .dashboard-empty {
      border: 1px dashed rgba(157, 181, 216, 0.2);
      border-radius: 18px;
      padding: 18px;
      background: rgba(19, 48, 91, 0.34);
      display: grid;
      gap: 10px;
    }

    .dashboard-empty strong {
      font-size: 18px;
      color: #f2f7ff;
    }

    .dashboard-empty p {
      margin: 0;
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    .auction-metric-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .auction-metric {
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 16px;
      padding: 14px;
      background: rgba(18, 44, 82, 0.5);
      display: grid;
      gap: 6px;
    }

    .auction-metric span {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #8eb3ef;
    }

    .auction-metric strong {
      font-size: 22px;
      color: #f7fbff;
      line-height: 1;
    }

    .auction-metric small {
      color: var(--text-secondary);
      font-size: 12px;
    }

    .metric-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .metric-card {
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 16px;
      padding: 15px;
      background: rgba(18, 44, 82, 0.56);
      display: grid;
      gap: 8px;
    }

    .metric-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .metric-card label {
      margin: 0;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #8eb3ef;
    }

    .metric-card strong {
      font-size: 18px;
      color: #f4f8ff;
      line-height: 1.15;
    }

    .metric-card p {
      margin: 0;
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    .metric-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 16px;
      padding: 12px 14px;
      background: rgba(18, 44, 82, 0.52);
      font-size: 13px;
      color: #edf5ff;
      font-weight: 700;
    }

    .metric-pill i {
      color: #8eb3ef;
    }

    .checklist {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    .checklist-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      border: 1px solid rgba(157, 181, 216, 0.14);
      border-radius: 16px;
      padding: 14px 15px;
      background: rgba(18, 44, 82, 0.52);
    }

    .checklist-indicator {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      font-size: 15px;
      background: rgba(255,255,255,0.05);
    }

    .checklist-item.success .checklist-indicator {
      color: #7fe0a6;
      background: rgba(46, 189, 115, 0.16);
    }

    .checklist-item.warn .checklist-indicator {
      color: #ffcb8f;
      background: rgba(212, 148, 90, 0.16);
    }

    .checklist-item.neutral .checklist-indicator {
      color: #9db5d8;
      background: rgba(157, 181, 216, 0.12);
    }

    .checklist-copy strong {
      display: block;
      font-size: 15px;
      color: #f4f8ff;
      line-height: 1.15;
      margin-bottom: 4px;
    }

    .checklist-copy p {
      margin: 0;
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.45;
    }

    .checklist-action {
      border: 0;
      background: transparent;
      color: #9fc1f2;
      font-weight: 700;
      padding: 0;
      min-height: 0;
    }

    .activity-feed {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    .activity-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      padding: 14px 15px;
      border-radius: 16px;
      border: 1px solid rgba(157, 181, 216, 0.14);
      background: rgba(18, 44, 82, 0.5);
    }

    .activity-bullet {
      width: 12px;
      height: 12px;
      border-radius: 999px;
      margin-top: 5px;
      background: #3d8cff;
      box-shadow: 0 0 0 4px rgba(61, 142, 255, 0.14);
    }

    .activity-item.success .activity-bullet {
      background: #2ebd73;
      box-shadow: 0 0 0 4px rgba(46, 189, 115, 0.14);
    }

    .activity-item.warn .activity-bullet {
      background: #d4945a;
      box-shadow: 0 0 0 4px rgba(212, 148, 90, 0.14);
    }

    .activity-copy strong {
      display: block;
      margin-bottom: 4px;
      color: #f4f8ff;
      font-size: 14px;
    }

    .activity-copy p {
      margin: 0;
      color: var(--text-secondary);
      font-size: 12px;
      line-height: 1.5;
    }

    .activity-time {
      color: #8eb3ef;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
      padding-top: 2px;
    }

    .dashboard-section-grid {
      display: grid;
      gap: 18px;
    }

    .dashboard-status-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    @media (max-width: 1380px) {
      .hero-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

    @media (max-width: 1180px) {
      .dashboard-shell,
      .dashboard-content-grid {
        grid-template-columns: 1fr;
      }

      .dashboard-sidebar {
        position: static;
      }
    }

    @media (max-width: 780px) {
      .hero-status-grid,
      .hero-secondary-grid,
      .metric-grid,
      .auction-metric-grid {
        grid-template-columns: 1fr;
      }

      .dashboard-hero,
      .dashboard-card,
      .admin-panel-card {
        padding: 16px;
      }
    }


    .user-info {
      min-width: 0;
      display: grid;
      gap: 1px;
    }

    .user-name {
      font-size: 13px;
      line-height: 1.15;
      font-weight: 700;
      color: var(--text-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .user-role {
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.15;
    }

    .user-menu:hover {
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
      transform: translateY(-1px);
      background: var(--bg-card-hover);
    }

    .user-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: 320px;
      max-width: min(92vw, 360px);
      border: 1px solid var(--border);
      border-radius: 14px;
      background: color-mix(in oklab, var(--bg-card) 92%, transparent);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(12px);
      padding: 10px;
      display: none;
      z-index: 90;
      cursor: default;
    }

    .user-menu.open .user-dropdown {
      display: grid;
      gap: 8px;
    }

    .user-dropdown-header {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-secondary);
      padding: 10px;
      display: grid;
      gap: 2px;
    }

    .user-dropdown-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.25;
      word-break: break-word;
    }

    .user-dropdown-role {
      font-size: 12px;
      color: var(--text-secondary);
    }

    .user-dropdown-item {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-secondary);
      color: var(--text-primary);
      text-align: left;
      min-height: 38px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
    }

    .user-dropdown-item:hover {
      background: var(--bg-card-hover);
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
      transform: translateY(-1px);
    }

    .user-dropdown-menu {
      display: grid;
      gap: 4px;
      padding-bottom: 2px;
      border-bottom: 1px solid var(--border);
    }

    .user-dropdown-plan {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-secondary);
      padding: 8px 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .user-plan-name {
      color: var(--text-primary);
      font-size: 13px;
      font-weight: 700;
    }

    .user-plan-btn {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-secondary);
      color: var(--text-primary);
      font-size: 12px;
      min-height: 36px;
      padding: 0 12px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
    }

    .user-plan-btn:hover {
      background: var(--bg-card-hover);
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
      transform: translateY(-1px);
    }

    .user-theme-row {
      justify-content: space-between;
      gap: 10px;
    }

    .profile-theme-switch {
      width: 44px;
      height: 24px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #4b4d52;
      position: relative;
      flex: 0 0 auto;
    }

    .profile-theme-switch::after {
      content: "";
      position: absolute;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      top: 2px;
      left: 2px;
      background: #fff;
      transition: transform 0.2s ease;
    }

    html[data-theme="light"] .profile-theme-switch {
      background: #d0d6e3;
    }

    html[data-theme="dark"] .profile-theme-switch {
      background: #33c283;
    }

    html[data-theme="dark"] .profile-theme-switch::after {
      transform: translateX(20px);
    }

    .content-wrapper .card {
      position: relative;
      background:
        radial-gradient(circle at top right, rgba(255,255,255,0.035), transparent 22%),
        linear-gradient(180deg, color-mix(in oklab, var(--bg-card) 88%, rgba(255,255,255,0.02) 12%), color-mix(in oklab, var(--bg-card) 98%, #091221 2%));
      border: 1px solid color-mix(in oklab, var(--border) 82%, rgba(255,255,255,0.05));
      color: var(--text-primary);
      border-radius: 22px;
      padding: 18px;
      box-shadow: 0 18px 42px rgba(5, 16, 34, 0.18);
      margin-bottom: 0;
      overflow: hidden;
    }

    .content-wrapper .card::before {
      content: "";
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 65%);
      pointer-events: none;
    }

    .content-wrapper .card h2 {
      margin: 0 0 8px;
      font-size: clamp(19px, 1.45vw, 24px);
      line-height: 1.08;
      font-weight: 800;
      color: var(--text-primary);
      letter-spacing: 0.08px;
    }

    .content-wrapper #panel-auction .card h2,
    .content-wrapper #panel-auction .section-title,
    .content-wrapper #panel-auction .auction-fold > summary {
      font-size: clamp(16px, 1.1vw, 21px);
      line-height: 1.16;
    }

    .content-wrapper .card h3 {
      margin: 0 0 6px;
      font-size: 14px;
      font-weight: 800;
      color: var(--text-primary);
      letter-spacing: 0.08px;
    }

    .content-wrapper .section-title,
    .content-wrapper .company-section-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--text-primary);
      letter-spacing: 0.12px;
      text-transform: uppercase;
    }

    .content-wrapper .muted,
    .content-wrapper .subhead,
    .content-wrapper .quick-caption {
      font-size: 12px;
      line-height: 1.5;
    }

    .content-wrapper label,
    .content-wrapper .muted,
    .content-wrapper .subhead,
    .content-wrapper .quick-caption {
      color: var(--text-secondary) !important;
    }

    .content-wrapper input,
    .content-wrapper select,
    .content-wrapper textarea {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      color: var(--text-primary);
      border-radius: 10px;
      min-height: var(--bc-field-height);
      padding: 0 12px;
      transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }

    .content-wrapper input::placeholder,
    .content-wrapper textarea::placeholder {
      color: var(--text-muted);
    }

    .content-wrapper input:focus,
    .content-wrapper select:focus,
    .content-wrapper textarea:focus {
      outline: none;
      border-color: color-mix(in oklab, var(--accent-copper) 55%, var(--border));
      box-shadow: var(--bc-ring);
      background: color-mix(in oklab, var(--bg-secondary) 88%, #ffffff 12%);
    }

    .content-wrapper textarea {
      min-height: 118px;
      padding: 10px 12px;
      resize: vertical;
    }

    .content-wrapper button {
      border: 1px solid transparent;
      background: var(--accent-gradient);
      color: #1a1a1a;
      font-weight: 700;
      min-height: var(--bc-field-height);
      border-radius: 10px;
      padding: 0 14px;
      transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .content-wrapper button.secondary,
    .content-wrapper button.options-btn,
    .content-wrapper button.ghost,
    .content-wrapper button.danger {
      background: var(--bg-secondary);
      border-color: var(--border);
      color: var(--text-primary);
    }

    .content-wrapper button:hover {
      filter: brightness(1.04);
      transform: translateY(-1px);
    }

    .content-wrapper button:active {
      transform: translateY(0);
    }

    .content-wrapper input[type="file"] {
      min-height: var(--bc-field-height);
      padding: 0 8px 0 0;
      line-height: calc(var(--bc-field-height) - 2px);
    }

    .content-wrapper input[type="file"]::file-selector-button {
      height: calc(var(--bc-field-height) - 8px);
      margin: 3px 8px 3px 3px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: var(--bg-secondary);
      color: var(--text-primary);
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      padding: 0 11px;
      cursor: pointer;
      transition: background 0.16s ease, border-color 0.16s ease;
    }

    .content-wrapper input[type="file"]::file-selector-button:hover {
      background: var(--bg-card-hover);
      border-color: color-mix(in oklab, var(--accent-copper) 45%, var(--border));
    }

    .content-wrapper .group-panel,
    .content-wrapper .group-list,
    .content-wrapper .manual-group-list,
    .content-wrapper .manual-image-card,
    .content-wrapper .manual-inbox-card,
    .content-wrapper .manual-pair-card,
    .content-wrapper .manual-pair-photo,
    .content-wrapper .manual-option-row,
    .content-wrapper .schedule-list,
    .content-wrapper .substitute-list,
    .content-wrapper .logo-preview-wrap,
    .content-wrapper .template-preview-wrap,
    .content-wrapper pre {
      background: linear-gradient(180deg, color-mix(in oklab, var(--bg-secondary) 72%, #225a92 28%), color-mix(in oklab, var(--bg-card) 90%, #14345a 10%));
      border-color: color-mix(in oklab, var(--border) 82%, rgba(255,255,255,0.04));
      color: var(--text-primary);
      border-radius: 16px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }

    .content-wrapper .group-item:hover,
    .content-wrapper .schedule-item:hover,
    .content-wrapper .manual-group-item:hover {
      background: color-mix(in oklab, var(--bg-card-hover) 88%, rgba(255,255,255,0.03) 12%);
      transform: translateY(-1px);
    }

    .content-wrapper .manual-pair-card {
      position: relative;
      transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        opacity 180ms ease,
        background-color 180ms ease;
      transform-origin: center center;
    }

    .content-wrapper .manual-pair-card::after {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: 18px;
      border: 2px dashed transparent;
      pointer-events: none;
      opacity: 0;
      transition: border-color 180ms ease, opacity 180ms ease;
    }

    .content-wrapper .manual-pair-card.dragging {
      opacity: 0.42;
      transform: scale(0.985) rotate(-1deg);
      box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
    }

    .content-wrapper .manual-pair-card.drag-over {
      transform: translateY(-6px) scale(1.012);
      border-color: color-mix(in oklab, var(--accent) 78%, white 22%);
      box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.26),
        0 0 0 1px color-mix(in oklab, var(--accent) 64%, white 36%);
      background:
        linear-gradient(
          180deg,
          color-mix(in oklab, var(--bg-secondary) 78%, var(--accent) 22%),
          color-mix(in oklab, var(--bg-card) 88%, var(--accent-soft) 12%)
        );
    }

    .content-wrapper .manual-pair-card.drag-over::after {
      opacity: 1;
      border-color: color-mix(in oklab, var(--accent-soft) 78%, white 22%);
    }

    .content-wrapper .substitute-item {
      border-bottom-color: var(--border);
      color: var(--text-primary);
    }

    .content-wrapper .group-main,
    .content-wrapper .schedule-title,
    .content-wrapper .batch-item-title {
      color: var(--text-primary);
    }

    .content-wrapper .group-jid,
    .content-wrapper .schedule-meta,
    .content-wrapper .batch-item-meta,
    .content-wrapper .manual-image-label,
    .content-wrapper .debug-card details summary,
    .content-wrapper .manual-inbox-meta {
      color: var(--text-secondary);
    }

    .row-end {
      align-items: end;
    }

    .mt-8 {
      margin-top: 8px;
    }

    .mt-10 {
      margin-top: 10px;
    }

    .mt-12 {
      margin-top: 12px;
    }

    .mb-8 {
      margin-bottom: 8px;
    }

    .summary-compact {
      cursor: pointer;
      font-weight: 700;
    }

    .checkline {
      margin: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .label-tight {
      margin-bottom: 8px;
    }

    .maxw-90 {
      max-width: 90px;
    }

    .is-hidden {
      display: none !important;
    }

    .schedule-item.is-selected {
      border-left: 4px solid var(--accent-copper);
      background: color-mix(in oklab, var(--accent-copper) 18%, var(--bg-secondary));
      padding-left: 7px;
    }

    .schedule-form-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      width: 100%;
    }

    .schedule-form-actions button {
      width: 100%;
    }

    #panel-auction > main.stack {
      width: min(var(--bc-page-max), 100%);
      margin: 0 auto;
    }

    .auction-subnav-card {
      padding-bottom: 10px;
    }

    .auction-subnav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .auction-subbtn {
      min-height: 34px !important;
      border-radius: 10px !important;
      background: var(--bg-secondary) !important;
      border: 1px solid var(--border) !important;
      color: var(--text-primary) !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      padding: 0 12px !important;
    }

    .auction-subbtn.active {
      background: var(--accent-gradient) !important;
      color: #1a1a1a !important;
      border-color: transparent !important;
      box-shadow: 0 8px 18px rgba(184, 115, 51, 0.22);
    }

    .auction-pane {
      display: none;
      gap: var(--bc-shell-gap);
      align-content: start;
    }

    .auction-pane.active {
      display: grid;
      animation: fadeInUp 170ms ease;
    }

    .billing-workspace-nav {
      display: grid;
      gap: 14px;
      margin-top: 8px;
    }

    .billing-module-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .billing-subbtn,
    .billing-module-btn {
      min-height: 38px !important;
      border-radius: 14px !important;
      background: var(--bg-secondary) !important;
      border: 1px solid var(--border) !important;
      color: var(--text-primary) !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      padding: 0 16px !important;
      display: inline-flex !important;
      align-items: center;
      gap: 8px;
    }

    .billing-subbtn.active,
    .billing-module-btn.active {
      background: var(--accent-gradient) !important;
      color: #1a1a1a !important;
      border-color: transparent !important;
      box-shadow: 0 8px 18px rgba(184, 115, 51, 0.22);
    }

    .billing-contextbar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 10px;
      border-radius: 16px;
      border: 1px solid color-mix(in oklab, var(--bc-line) 82%, transparent);
      background: color-mix(in oklab, var(--bg-card) 94%, #0d1b37 6%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .billing-context-link {
      border: 1px solid transparent;
      background: transparent;
      color: var(--bc-muted);
      text-align: left;
      font-size: 13px;
      font-weight: 700;
      padding: 10px 12px;
      border-radius: 12px;
      min-width: 180px;
      cursor: pointer;
      transition: 140ms ease;
    }

    .billing-context-link strong {
      display: block;
      font-size: 13px;
      color: inherit;
    }

    .billing-context-link small {
      display: block;
      font-size: 11px;
      opacity: 0.72;
      margin-top: 3px;
      font-weight: 500;
    }

    .billing-context-link:hover {
      border-color: color-mix(in oklab, var(--bc-line) 82%, transparent);
      background: color-mix(in oklab, var(--bg-secondary) 86%, transparent);
      color: var(--bc-text);
    }

    .billing-context-link.active {
      border-color: color-mix(in oklab, var(--success) 38%, var(--bc-line) 62%);
      background: color-mix(in oklab, var(--success) 12%, transparent);
      color: var(--success);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .billing-pane-shell {
      display: grid;
      gap: 18px;
    }

    .billing-hero-grid {
      display: grid;
      gap: 16px;
      grid-template-columns: 1.45fr 1fr;
    }

    .billing-hero-card {
      border-radius: 22px;
      border: 1px solid color-mix(in oklab, var(--bc-line) 82%, transparent);
      background: linear-gradient(180deg, color-mix(in oklab, var(--bg-card) 96%, #102447 4%) 0%, color-mix(in oklab, var(--bg-secondary) 96%, #0a1327 4%) 100%);
      padding: 22px;
      display: grid;
      gap: 12px;
      min-height: 190px;
    }

    .billing-hero-card h3 {
      margin: 0;
      font-size: 24px;
      letter-spacing: -0.02em;
    }

    .billing-hero-card p {
      margin: 0;
      color: var(--bc-muted);
      line-height: 1.65;
    }

    .billing-hero-chiprow {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .billing-hero-chip {
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      color: var(--bc-text);
      background: color-mix(in oklab, var(--bg-secondary) 82%, transparent);
      border: 1px solid color-mix(in oklab, var(--bc-line) 84%, transparent);
    }

    .billing-kpi-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .billing-kpi-card {
      padding: 16px;
      border-radius: 16px;
      border: 1px solid color-mix(in oklab, var(--bc-line) 84%, transparent);
      background: color-mix(in oklab, var(--bg-secondary) 90%, transparent);
      display: grid;
      gap: 6px;
    }

    .billing-kpi-card span {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--bc-muted);
    }

    .billing-kpi-card strong {
      font-size: 24px;
      line-height: 1;
      color: var(--bc-text);
    }

    .billing-pane-grid {
      display: grid;
      gap: 18px;
      grid-template-columns: 1.3fr 1fr;
      align-items: start;
    }

    .billing-pane-grid.is-financeiro {
      grid-template-columns: 1.15fr 1fr;
    }

    @media (max-width: 1120px) {
      .billing-hero-grid,
      .billing-pane-grid,
      .billing-pane-grid.is-financeiro {
        grid-template-columns: 1fr;
      }

      .billing-customer-layout {
        grid-template-columns: 1fr;
      }

      .billing-page-grid,
      .billing-page-toolbar,
      .billing-customer-shell {
        grid-template-columns: 1fr;
      }

      .billing-context-link {
        min-width: 0;
        flex: 1 1 220px;
      }

      .billing-form-topbar {
        grid-template-columns: 1fr;
      }

      .billing-module-hero-head {
        grid-template-columns: 1fr;
      }

      .billing-stats-row {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 920px) {
      .billing-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .billing-form-shell .billing-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .billing-list-toolbar-filters.premium {
        grid-template-columns: 1fr;
      }

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

    @media (max-width: 640px) {
      .billing-list-toolbar-filters {
        grid-template-columns: 1fr;
      }

      .billing-field-grid {
        grid-template-columns: 1fr;
      }

      .billing-field-grid .span-2,
      .billing-field-grid .span-3 {
        grid-column: auto;
      }

      .billing-form-shell .billing-field-grid .span-2,
      .billing-form-shell .billing-field-grid .span-3,
      .billing-form-shell .billing-field-grid .span-4 {
        grid-column: auto;
      }

      .billing-filter-grid {
        grid-template-columns: 1fr;
      }
    }

    .billing-pane {
      display: none;
      gap: var(--bc-shell-gap);
      align-content: start;
    }

    .billing-pane.active {
      display: grid;
      animation: fadeInUp 170ms ease;
    }

    .billing-empty-state {
      border: 1px dashed color-mix(in oklab, var(--bc-line) 88%, transparent);
      border-radius: 16px;
      padding: 18px;
      background: color-mix(in oklab, var(--bg-card) 95%, transparent);
      color: var(--bc-muted);
    }

    .billing-empty-state strong {
      display: block;
      margin-bottom: 6px;
      color: var(--bc-text);
      font-size: 16px;
    }

    .billing-empty-state p {
      margin: 0;
      line-height: 1.6;
    }

    .target-summary {
      min-height: 26px;
      display: flex;
      align-items: center;
    }

    .manual-group-actions {
      justify-content: flex-start;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
    }

    #panel-auction .manual-group-actions button {
      width: auto;
      min-height: 34px;
      padding: 0 12px;
      font-size: 12px;
      flex: 0 0 auto;
    }

    .dynamic-render .dynamic-item {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-secondary);
      color: var(--text-primary);
    }

    .dynamic-render .dynamic-title {
      color: var(--text-primary);
      font-weight: 700;
    }

    .dynamic-render .dynamic-meta {
      color: var(--text-secondary);
      font-size: 12px;
      line-height: 1.35;
    }

    .status {
      border: 1px solid var(--border);
      background: color-mix(in oklab, var(--bg-secondary) 84%, transparent);
      color: var(--text-secondary);
      border-radius: 10px;
      min-height: 40px;
      display: flex;
      align-items: center;
    }
    .status.ok {
      background: rgba(107, 142, 107, 0.14);
      color: #8ec38e;
      border-color: rgba(107, 142, 107, 0.35);
    }
    .status.warn {
      background: rgba(194, 120, 120, 0.16);
      color: #e0a6a6;
      border-color: rgba(194, 120, 120, 0.4);
    }

    .options-nav,
    .tag-list {
      gap: 8px;
    }

    .options-nav {
      padding: 8px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: color-mix(in oklab, var(--bg-secondary) 86%, transparent);
      margin-bottom: 2px;
    }

    .options-nav .options-btn {
      min-height: 36px;
      padding: 0 11px;
      border-radius: 9px;
      font-size: 12px;
      font-weight: 700;
    }

    body:not(.authenticated) .requires-auth {
      display: none !important;
    }

    body:not(.authenticated) {
      background:
        radial-gradient(980px 540px at 0% 0%, rgba(50, 196, 111, 0.16), transparent 54%),
        radial-gradient(820px 420px at 100% 10%, rgba(69, 146, 240, 0.14), transparent 48%),
        radial-gradient(760px 360px at 50% 100%, rgba(14, 92, 190, 0.16), transparent 56%),
        linear-gradient(180deg, #eef9f1 0%, #f7fbff 58%, #f2f7fd 100%);
    }

    html[data-theme="dark"] body:not(.authenticated) {
      background:
        radial-gradient(980px 540px at 0% 0%, rgba(50, 196, 111, 0.13), transparent 54%),
        radial-gradient(820px 420px at 100% 10%, rgba(69, 146, 240, 0.12), transparent 48%),
        radial-gradient(760px 360px at 50% 100%, rgba(14, 92, 190, 0.14), transparent 56%),
        linear-gradient(180deg, #081b37 0%, #0b2347 58%, #091f3e 100%);
    }

    body:not(.authenticated) .dashboard {
      grid-template-columns: 1fr;
      min-height: 100vh;
    }

    body:not(.authenticated) .wrap {
      width: min(1320px, 100%);
      margin: 0 auto;
      padding: 0 20px;
    }

    body:not(.authenticated) .main-content {
      overflow: visible;
      display: grid;
      place-items: center;
      padding: clamp(36px, 7vh, 72px) 22px;
      min-height: 100dvh;
      background: transparent;
    }

    body:not(.authenticated) .content-wrapper {
      width: min(1280px, 100%);
      max-width: 1280px;
      gap: 0;
      align-self: center;
    }

    body:not(.authenticated) .header,
    body:not(.authenticated) .mobile-menu-toggle {
      display: none !important;
    }

    body:not(.authenticated) #panel-core {
      display: block !important;
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
    }

    body:not(.authenticated) #panel-core > .layout,
    body:not(.authenticated) #panel-core > .stack {
      grid-template-columns: 1fr;
      gap: 0;
    }

    body:not(.authenticated) #panel-core .stack[aria-label="Dashboard principal"] > :not(.auth-shell) {
      display: none !important;
    }

    body:not(.authenticated) .auth-shell {
      display: grid;
      grid-template-columns: minmax(360px, 1.02fr) minmax(460px, 0.98fr);
      gap: 48px;
      align-items: center;
      min-height: min(860px, calc(100dvh - 70px));
    }

    body:not(.authenticated) .auth-showcase {
      display: grid;
      gap: 24px;
      align-content: center;
      padding: clamp(20px, 2.4vw, 28px);
    }

    body:not(.authenticated) .auth-brand {
      display: grid;
      gap: 14px;
      justify-items: start;
      text-align: left;
    }

    body:not(.authenticated) .auth-brand-logo {
      width: min(410px, 76vw);
      filter: drop-shadow(0 24px 44px rgba(7, 26, 59, 0.2));
    }

    body:not(.authenticated) .auth-brand-subtitle {
      margin: 0;
      max-width: 520px;
      color: rgba(28, 56, 94, 0.74);
      font-size: 15px;
      line-height: 1.72;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-brand-subtitle {
      color: rgba(226, 236, 250, 0.78);
    }

    body:not(.authenticated) .auth-showcase-copy {
      display: grid;
      gap: 12px;
      max-width: 560px;
    }

    body:not(.authenticated) .auth-showcase-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(47, 190, 103, 0.12);
      border: 1px solid rgba(47, 190, 103, 0.2);
      color: #219a4d;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-showcase-kicker {
      background: rgba(47, 190, 103, 0.12);
      border: 1px solid rgba(47, 190, 103, 0.18);
      color: #84f0af;
    }

    body:not(.authenticated) .auth-showcase h1 {
      margin: 0;
      font-family: "Sora", "Manrope", sans-serif;
      font-size: clamp(38px, 5vw, 60px);
      line-height: 1.02;
      letter-spacing: -0.05em;
      color: #16365f;
      max-width: 620px;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-showcase h1 {
      color: #f2f7ff;
    }

    body:not(.authenticated) .auth-showcase p {
      margin: 0;
      color: rgba(31, 58, 93, 0.78);
      font-size: 16px;
      line-height: 1.75;
      max-width: 560px;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-showcase p {
      color: rgba(219, 230, 248, 0.84);
    }

    body:not(.authenticated) .auth-benefits {
      display: grid;
      gap: 12px;
      margin: 0;
      padding: 0;
      list-style: none;
      max-width: 540px;
    }

    body:not(.authenticated) .auth-benefits li {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 14px;
      align-items: start;
      padding: 16px 18px;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(25, 59, 100, 0.08);
      box-shadow: 0 14px 32px rgba(18, 56, 107, 0.08);
      backdrop-filter: blur(12px);
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-benefits li {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: none;
    }

    body:not(.authenticated) .auth-benefit-icon {
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: rgba(47, 190, 103, 0.15);
      color: #23a553;
      font-size: 18px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-benefit-icon {
      color: #6de49b;
    }

    body:not(.authenticated) .auth-benefit-copy strong {
      display: block;
      margin-bottom: 3px;
      color: #173761;
      font-size: 15px;
      font-weight: 800;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-benefit-copy strong {
      color: #f4f8ff;
    }

    body:not(.authenticated) .auth-benefit-copy span {
      color: rgba(31, 58, 93, 0.68);
      font-size: 13px;
      line-height: 1.55;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-benefit-copy span {
      color: rgba(219, 230, 248, 0.75);
    }

    body:not(.authenticated) .auth-showcase-footer {
      color: rgba(24, 52, 88, 0.6);
      font-size: 13px;
      letter-spacing: 0.01em;
      max-width: 520px;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-showcase-footer {
      color: rgba(202, 219, 245, 0.72);
    }

    body:not(.authenticated) .auth-card {
      padding: 34px 34px 24px;
      border-color: rgba(20, 55, 91, 0.08);
      background: rgba(255, 255, 255, 0.96);
      box-shadow:
        0 28px 72px rgba(10, 31, 67, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
      max-width: 520px;
      width: 100%;
      margin-left: auto;
      border-radius: 26px;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-card {
      background:
        linear-gradient(180deg, rgba(12, 29, 56, 0.96) 0%, rgba(11, 27, 52, 0.98) 100%);
      border-color: rgba(157, 181, 216, 0.12);
      box-shadow:
        0 30px 84px rgba(1, 10, 25, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    body:not(.authenticated) .auth-portal-head {
      display: grid;
      gap: 10px;
      margin-bottom: 22px;
      text-align: center;
    }

    body:not(.authenticated) .auth-portal-logo {
      width: min(280px, 72%);
      margin: 0 auto 2px;
      filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.12));
    }

    body:not(.authenticated) .auth-portal-kicker {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin: 0 auto;
      padding: 7px 13px;
      border-radius: 999px;
      background: rgba(47, 190, 103, 0.1);
      color: #249a52;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid rgba(47, 190, 103, 0.14);
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-portal-kicker {
      color: #7ee7ab;
      background: rgba(47, 190, 103, 0.12);
    }

    body:not(.authenticated) .auth-card h2 {
      margin: 0;
      text-align: center;
      font-size: clamp(28px, 4.2vw, 38px);
      font-family: "Sora", "Manrope", sans-serif;
      font-weight: 800;
      letter-spacing: -0.045em;
      color: color-mix(in oklab, var(--bc-text) 92%, #ffffff 8%);
    }

    body:not(.authenticated) .auth-card .subhead {
      margin: 0;
      text-align: center;
      color: color-mix(in oklab, var(--bc-muted) 90%, #ffffff 10%);
      font-size: 14px;
      line-height: 1.65;
    }

    body:not(.authenticated) .auth-view {
      display: none;
      gap: 14px;
    }

    body:not(.authenticated) .auth-view.is-active {
      display: grid;
    }

    body:not(.authenticated) .auth-inline-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: 1fr 1fr;
    }

    body:not(.authenticated) .auth-inline-grid .full {
      grid-column: 1 / -1;
    }

    body:not(.authenticated) .auth-card label {
      font-size: 13px;
      font-weight: 700;
      color: color-mix(in oklab, var(--bc-muted) 84%, var(--bc-text) 16%);
      margin-bottom: 6px;
      display: inline-block;
    }

    body:not(.authenticated) .auth-card input,
    body:not(.authenticated) .auth-card select,
    body:not(.authenticated) .auth-card textarea {
      min-height: 52px;
      border-radius: 14px;
      background: color-mix(in oklab, var(--bc-field-bg) 96%, #ffffff 4%);
      border: 1px solid color-mix(in oklab, var(--bc-field-border) 96%, transparent);
      color: var(--bc-field-text);
      font-size: 15px;
      padding: 12px 15px;
      box-shadow: none;
    }

    body:not(.authenticated) .auth-card input:focus,
    body:not(.authenticated) .auth-card select:focus,
    body:not(.authenticated) .auth-card textarea:focus {
      outline: none;
      border-color: rgba(47, 190, 103, 0.7);
      box-shadow: 0 0 0 4px rgba(47, 190, 103, 0.12);
    }

    body:not(.authenticated) .auth-primary-btn {
      min-height: 52px;
      border-radius: 16px;
      border: 0;
      background: linear-gradient(135deg, #2fbe67, #249a52);
      color: #f7fffb;
      font-size: 16px;
      font-weight: 800;
      box-shadow: 0 18px 30px rgba(36, 154, 82, 0.28);
    }

    body:not(.authenticated) .auth-primary-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.02);
    }

    body:not(.authenticated) .auth-secondary-btn {
      min-height: 50px;
      border-radius: 15px;
      border: 1px solid color-mix(in oklab, var(--border) 78%, transparent);
      background: rgba(255, 255, 255, 0.72);
      color: var(--bc-text);
      font-weight: 700;
    }

    html[data-theme="dark"] body:not(.authenticated) .auth-secondary-btn {
      background: rgba(255, 255, 255, 0.04);
    }

    body:not(.authenticated) .auth-switch-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: -4px;
    }

    body:not(.authenticated) .auth-link-btn {
      border: 0;
      background: transparent;
      color: #35c26e;
      padding: 0;
      font-weight: 800;
      font-size: 14px;
      text-align: left;
    }

    body:not(.authenticated) .auth-link-btn:hover {
      color: #50da87;
      text-decoration: underline;
    }

    body:not(.authenticated) .auth-divider {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 12px;
      align-items: center;
      color: color-mix(in oklab, var(--bc-muted) 90%, transparent);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      margin: 2px 0;
    }

    body:not(.authenticated) .auth-divider::before,
    body:not(.authenticated) .auth-divider::after {
      content: "";
      height: 1px;
      background: color-mix(in oklab, var(--border) 82%, transparent);
    }

    body:not(.authenticated) #googleAuthMount,
    body:not(.authenticated) #googleAuthMountRegister {
      display: flex;
      justify-content: center;
      min-height: 46px;
    }

    body:not(.authenticated) .auth-social-box {
      display: grid;
      gap: 10px;
    }

    body:not(.authenticated) .auth-social-note {
      font-size: 12px;
      text-align: center;
      color: color-mix(in oklab, var(--bc-muted) 90%, transparent);
    }

    body:not(.authenticated) .auth-reset-box {
      display: none;
      margin-top: 2px;
      padding-top: 4px;
    }

    body:not(.authenticated).reset-mode .auth-reset-box {
      display: grid;
    }

    body:not(.authenticated) .auth-footer-cta {
      text-align: center;
      font-size: 14px;
      color: color-mix(in oklab, var(--bc-muted) 86%, transparent);
    }

    body:not(.authenticated) .auth-footer-links {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 14px;
      font-size: 12px;
      color: color-mix(in oklab, var(--bc-muted) 86%, transparent);
    }

    body:not(.authenticated) .auth-footer-links a {
      color: inherit;
      text-decoration: none;
    }

    body:not(.authenticated) .auth-footer-links button {
      border: 0;
      background: transparent;
      color: inherit;
      text-decoration: none;
      padding: 0;
      min-height: 0;
      font: inherit;
      cursor: pointer;
    }

    body:not(.authenticated) .auth-footer-links a:hover {
      color: #33b761;
      text-decoration: underline;
    }

    body:not(.authenticated) .auth-footer-links button:hover {
      color: #33b761;
      text-decoration: underline;
    }

    body:not(.authenticated) .auth-status-wrap {
      margin-top: 14px;
    }

    .auth-faq-card {
      width: min(760px, 100%);
      display: grid;
      gap: 18px;
    }

    .auth-faq-head {
      display: grid;
      gap: 8px;
    }

    .auth-faq-head h2 {
      margin: 0;
      font-size: clamp(28px, 4vw, 38px);
      line-height: 1.02;
      font-weight: 800;
      color: var(--bc-text);
    }

    .auth-faq-head p {
      margin: 0;
      font-size: 14px;
      line-height: 1.6;
      color: var(--bc-muted);
    }

    .auth-faq-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    body:not(.authenticated) #authStatus.is-empty {
      display: none;
    }

    body:not(.authenticated)[data-auth-view="register"] .auth-shell {
      grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.08fr);
    }

    body:not(.authenticated)[data-auth-view="register"] .auth-card {
      max-width: 640px;
    }

    body.authenticated .auth-login-only { display: none !important; }
    body.authenticated #panel-core .auth-shell { display: none !important; }
    body:not(.authenticated) .auth-after-login { display: none !important; }

    @media (max-width: 980px) {
      body:not(.authenticated) .auth-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
      }

      body:not(.authenticated) .auth-showcase {
        justify-items: center;
        text-align: center;
        padding: 0 0 8px;
      }

      body:not(.authenticated) .auth-brand,
      body:not(.authenticated) .auth-showcase-copy {
        justify-items: center;
        text-align: center;
      }

      body:not(.authenticated) .auth-card {
        margin: 0 auto;
      }
    }

    @media (max-width: 640px) {
      body:not(.authenticated) .main-content {
        padding: 24px 14px;
      }

      body:not(.authenticated) .auth-card {
        padding: 24px 18px 18px;
      }

      body:not(.authenticated) .auth-inline-grid {
        grid-template-columns: 1fr;
      }

      body:not(.authenticated) .auth-brand-logo,
      body:not(.authenticated) .auth-portal-logo {
        width: min(260px, 82vw);
      }
    }

    @media (max-width: 1024px) {
      .main-content { padding: 20px 16px; }
      .header-right { gap: 8px; }
      .phase-pill { display: none; }
      .header {
        min-height: auto;
        top: 4px;
        grid-template-columns: 1fr;
        grid-template-areas:
          "brand"
          "actions"
          "nav";
      }
      .header-center {
        padding-top: 12px;
      }
      .workspace-nav {
        flex-wrap: wrap;
      }
      .header-right {
        justify-content: space-between;
        flex-wrap: wrap;
      }
      .header-left {
        flex-wrap: wrap;
      }
    }
    @media (max-width: 920px) {
      .schedule-form-actions {
        grid-template-columns: 1fr;
      }
    }
/* Operational dashboard refresh */
[data-theme="dark"] body {
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(69, 219, 131, 0.06), transparent 48%),
    radial-gradient(980px 360px at 100% -10%, rgba(57, 92, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #0b0f14 0%, #0f141b 100%);
}

.main-content {
  background:
    radial-gradient(920px 320px at 12% -8%, rgba(168, 85, 247, 0.06), transparent 46%),
    radial-gradient(740px 260px at 92% -6%, rgba(216, 180, 254, 0.05), transparent 42%),
    linear-gradient(180deg, #0e0a13 0%, #120e18 100%);
  padding-top: 18px;
}

.main-content::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 18%),
    radial-gradient(circle at top left, rgba(255,255,255,0.018), transparent 26%);
  opacity: 0.58;
}

.header {
  max-width: 1320px;
  min-height: 74px;
  padding: 10px 18px 14px;
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20, 24, 31, 0.94), rgba(15, 19, 26, 0.98));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.header-center {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.header-business,
.header-search,
.header-utility-btn,
.user-menu {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.08);
}

.header-search {
  color: #f1f5f9;
}

.header-search::placeholder {
  color: #7f8ba0;
}

.workspace-nav {
  gap: 18px;
}

.workspace-trigger {
  min-height: 34px !important;
  padding: 0 2px 10px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #96a2b6 !important;
  font-size: 15px !important;
}

.workspace-trigger::after {
  display: none;
}

.workspace-trigger:hover,
.workspace-trigger.active {
  background: transparent !important;
  color: #55d98c !important;
  border-bottom-color: #55d98c !important;
}

.workspace-menu-panel {
  top: calc(100% + 14px);
  left: 0;
  min-width: 460px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(21, 26, 34, 0.98), rgba(15, 19, 26, 0.98));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.dashboard-home {
  padding-top: 10px;
}

.dashboard-shell.dashboard-shell-overview {
  grid-template-columns: 1fr;
  gap: 22px;
}

.dashboard-surface {
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(22, 26, 34, 0.97), rgba(17, 21, 29, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.dashboard-surface::after {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.035), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 28%);
}

.dashboard-summary-surface {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.dashboard-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-section-kicker,
.dashboard-panel-label,
.dashboard-phase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5fdd91;
}

.dashboard-section-header h2,
.dashboard-board-header h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.dashboard-section-header h2 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.02;
  color: #f8fafc;
}

.dashboard-section-header p,
.dashboard-board-header p {
  margin: 6px 0 0;
  color: #94a1b5;
  font-size: 14px;
  line-height: 1.6;
  max-width: 780px;
}

.dashboard-summary-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 338px) minmax(0, 1.14fr) minmax(280px, 320px);
  gap: 16px;
}

.dashboard-summary-card,
.dashboard-panel {
  min-width: 0;
}

.dashboard-summary-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.015));
  padding: 18px;
  display: grid;
  gap: 14px;
}

.dashboard-identity-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #55db8d, #2ea86a);
  color: #09110d;
  box-shadow: none;
}

.dashboard-identity-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-identity-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  color: #f8fafc;
}

.dashboard-identity-copy p {
  margin: 0;
  font-size: 13px;
  color: #94a1b5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-panel-phase-compact {
  border-radius: 18px;
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  padding: 15px 16px;
}

.admin-panel-phase-compact span {
  color: #63dc93;
}

.admin-panel-phase-compact strong {
  font-size: 18px;
  color: #f7f9fc;
}

.admin-panel-phase-compact p {
  color: #94a1b5;
}

.dashboard-action-stack-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-action-btn.primary {
  background: linear-gradient(180deg, #a855f7, #7c3aed) !important;
  color: #09110d !important;
  box-shadow: none !important;
}

.dashboard-action-btn.secondary {
  background: rgba(255,255,255,0.03) !important;
  color: #eef2f7 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}

.dashboard-action-btn.secondary:hover {
  background: rgba(255,255,255,0.05) !important;
}

.dashboard-card-head-simple {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-card-head-simple h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  color: #f8fafc;
}

.dashboard-inline-metrics {
  display: grid;
  gap: 10px;
}

.dashboard-inline-metric,
.status-mini-card,
.auction-metric,
.metric-card,
.metric-pill,
.checklist-item,
.activity-item {
  background: #11161f;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
}

.dashboard-inline-metric {
  border-radius: 16px;
  padding: 13px 14px;
  display: grid;
  gap: 6px;
}

.dashboard-inline-metric span,
.metric-card label,
.status-mini-label,
.auction-metric span,
.activity-time {
  color: #8994a7;
}

.dashboard-inline-metric strong,
.status-mini-value,
.metric-card strong,
.auction-metric strong,
.checklist-copy strong,
.activity-copy strong {
  color: #f8fafc;
}

.dashboard-inline-metric strong {
  font-size: 14px;
}

.dashboard-note-card-inline {
  padding: 15px 16px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.11), rgba(168, 85, 247, 0.05));
}

.dashboard-note-card-inline strong {
  color: #f6f8fb;
}

.dashboard-note-card-inline span {
  color: #d4dce8;
}

.hero-status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-mini-card {
  min-height: 0;
  padding: 16px;
}

.status-mini-icon,
.checklist-indicator {
  background: rgba(255,255,255,0.04);
}

.status-mini-value {
  font-size: 18px;
}

.status-mini-meta,
.dashboard-card-subtitle,
.metric-card p,
.auction-metric small,
.checklist-copy p,
.activity-copy p {
  color: #96a4b8;
}

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

.dashboard-board-header h3 {
  font-size: 28px;
  line-height: 1.04;
  color: #f8fafc;
}

.dashboard-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-panel {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.dashboard-card-head h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.dashboard-card-subtitle {
  max-width: none;
}

.dashboard-link-btn {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #eef2f7 !important;
}

.dashboard-link-btn:hover {
  background: rgba(255,255,255,0.05) !important;
}

.dashboard-empty {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border-color: rgba(255,255,255,0.08);
  padding: 20px;
}

.dashboard-empty strong {
  font-size: 20px;
}

.auction-metric-grid,
.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auction-metric,
.metric-card,
.metric-pill,
.checklist-item,
.activity-item {
  border-radius: 16px;
}

.auction-metric,
.metric-card {
  padding: 16px;
}

.metric-pill {
  min-height: 56px;
  padding: 14px 15px;
}

.metric-pill i,
.checklist-action {
  color: #c084fc;
}

.checklist-item.success .checklist-indicator {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.14);
}

.checklist-item.warn .checklist-indicator {
  color: #f8bb72;
  background: rgba(248, 187, 114, 0.12);
}

.checklist-item.neutral .checklist-indicator {
  color: #9cadc3;
  background: rgba(156, 173, 195, 0.12);
}

.activity-bullet {
  background: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.activity-item.success .activity-bullet {
  background: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.16);
}

.activity-item.warn .activity-bullet {
  background: #f8bb72;
  box-shadow: 0 0 0 4px rgba(248, 187, 114, 0.14);
}

.dashboard-chip,
.status-badge {
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.dashboard-chip {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #eef2f7;
}

.status-badge.neutral {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.08);
  color: #dbe4f0;
}

.status-badge.success {
  background: rgba(88, 217, 141, 0.14);
  border-color: rgba(88, 217, 141, 0.2);
  color: #86e7aa;
}

.status-badge.warn {
  background: rgba(248, 187, 114, 0.14);
  border-color: rgba(248, 187, 114, 0.2);
  color: #f9cb92;
}

.status-badge.danger {
  background: rgba(244, 99, 99, 0.14);
  border-color: rgba(244, 99, 99, 0.2);
  color: #ffb1b1;
}

.status-badge.info {
  background: rgba(86, 143, 255, 0.16);
  border-color: rgba(86, 143, 255, 0.22);
  color: #c9daff;
}

@media (max-width: 1320px) {
  .dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-control-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .dashboard-board-grid,
  .dashboard-summary-grid,
  .dashboard-action-stack-inline {
    grid-template-columns: 1fr;
  }

  .dashboard-control-card {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .hero-status-grid,
  .auction-metric-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-surface,
  .dashboard-panel {
    padding: 18px;
  }

  .dashboard-board-header {
    align-items: flex-start;
  }
}
/* Internal surfaces and auth refresh */
body:not(.authenticated) {
  background:
    radial-gradient(1180px 560px at 0% 0%, rgba(168, 85, 247, 0.12), transparent 54%),
    radial-gradient(920px 420px at 100% 10%, rgba(216, 180, 254, 0.1), transparent 46%),
    linear-gradient(180deg, #09070d 0%, #0d0912 52%, #110d18 100%);
}

html[data-theme="dark"] body:not(.authenticated) {
  background:
    radial-gradient(1180px 560px at 0% 0%, rgba(168, 85, 247, 0.12), transparent 54%),
    radial-gradient(920px 420px at 100% 10%, rgba(216, 180, 254, 0.1), transparent 46%),
    linear-gradient(180deg, #09070d 0%, #0d0912 52%, #110d18 100%);
}

body:not(.authenticated) .auth-shell {
  grid-template-columns: minmax(360px, 1.06fr) minmax(460px, 0.94fr);
  gap: clamp(36px, 5vw, 72px);
  min-height: min(900px, calc(100dvh - 56px));
}

body:not(.authenticated) .auth-showcase {
  padding: 0;
  gap: 28px;
}

body:not(.authenticated) .auth-brand-logo {
  filter: none;
}

body:not(.authenticated) .auth-brand-subtitle,
body:not(.authenticated) .auth-showcase p,
html[data-theme="dark"] body:not(.authenticated) .auth-showcase p,
html[data-theme="dark"] body:not(.authenticated) .auth-brand-subtitle {
  color: #9aa5b8;
}

body:not(.authenticated) .auth-showcase-kicker,
body:not(.authenticated) .auth-portal-kicker {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

body:not(.authenticated) .auth-showcase h1,
html[data-theme="dark"] body:not(.authenticated) .auth-showcase h1 {
  color: #f8fafc;
  max-width: 680px;
}

body:not(.authenticated) .auth-benefits li,
html[data-theme="dark"] body:not(.authenticated) .auth-benefits li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body:not(.authenticated) .auth-benefit-icon {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  box-shadow: none;
}

body:not(.authenticated) .auth-benefit-copy strong,
html[data-theme="dark"] body:not(.authenticated) .auth-benefit-copy strong {
  color: #f4f7fb;
}

body:not(.authenticated) .auth-benefit-copy span,
html[data-theme="dark"] body:not(.authenticated) .auth-benefit-copy span,
body:not(.authenticated) .auth-showcase-footer,
html[data-theme="dark"] body:not(.authenticated) .auth-showcase-footer {
  color: #8f9aad;
}

body:not(.authenticated) .auth-card,
html[data-theme="dark"] body:not(.authenticated) .auth-card {
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.98) 0%, rgba(14, 19, 27, 0.98) 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 24px 56px rgba(0,0,0,0.28);
  border-radius: 28px;
}

body:not(.authenticated) .auth-card h2,
html[data-theme="dark"] body:not(.authenticated) .auth-card h2 {
  color: #f8fafc;
}

body:not(.authenticated) .auth-card .subhead,
body:not(.authenticated) .auth-card label,
body:not(.authenticated) .auth-footer-cta,
body:not(.authenticated) .auth-social-note,
body:not(.authenticated) .auth-footer-links,
body:not(.authenticated) .auth-footer-links a,
body:not(.authenticated) .auth-footer-links button {
  color: #98a5b9;
}

body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  background: #141b24;
  border-color: rgba(255,255,255,0.08);
  color: #f5f7fb;
}

body:not(.authenticated) .auth-card input::placeholder,
body:not(.authenticated) .auth-card textarea::placeholder {
  color: #748094;
}

body:not(.authenticated) .auth-card input:focus,
body:not(.authenticated) .auth-card select:focus,
body:not(.authenticated) .auth-card textarea:focus {
  border-color: rgba(168, 85, 247, 0.58);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

body:not(.authenticated) .auth-primary-btn {
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  color: #0b120e;
  box-shadow: none;
}

body:not(.authenticated) .auth-secondary-btn,
html[data-theme="dark"] body:not(.authenticated) .auth-secondary-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: #eef2f7;
}

body:not(.authenticated) .auth-link-btn,
body:not(.authenticated) .auth-footer-links a:hover,
body:not(.authenticated) .auth-footer-links button:hover {
  color: #d8b4fe;
}

.auth-faq-card {
  background: linear-gradient(180deg, rgba(19, 25, 35, 0.98), rgba(14, 18, 27, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.3);
  padding: 28px;
}

.auth-faq-head h2,
.auth-faq-head p {
  color: #f8fafc;
}

.auth-faq-head p {
  color: #98a5b9;
}

.app-panel > main.stack,
#panel-auction > main.stack,
#panel-billing > main.stack {
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 18px;
}

.content-wrapper .card {
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(15, 20, 28, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.content-wrapper .card::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent 65%);
}

.content-wrapper .card h2 {
  font-size: clamp(21px, 1.5vw, 26px);
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.content-wrapper .card h3,
.content-wrapper .section-title,
.content-wrapper .company-section-title {
  color: #f1f5f9;
}

.content-wrapper .subhead,
.content-wrapper .muted,
.content-wrapper .quick-caption,
.content-wrapper label {
  color: #95a3b7 !important;
}

.content-wrapper input,
.content-wrapper select,
.content-wrapper textarea,
.content-wrapper .filter-input {
  background: #141a23;
  border-color: rgba(255,255,255,0.08);
  color: #f5f7fb;
  border-radius: 14px;
  min-height: 46px;
}

.content-wrapper input::placeholder,
.content-wrapper textarea::placeholder,
.content-wrapper .filter-input::placeholder {
  color: #728093;
}

.content-wrapper input:focus,
.content-wrapper select:focus,
.content-wrapper textarea:focus,
.content-wrapper .filter-input:focus {
  border-color: rgba(168, 85, 247, 0.48);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
  background: #1a1423;
}

.content-wrapper button,
.content-wrapper .panel-btn,
.content-wrapper .auction-subbtn,
.content-wrapper .options-btn,
.content-wrapper .billing-subbtn,
.content-wrapper .billing-module-btn {
  border-radius: 14px;
}

.content-wrapper button {
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  color: #fbf7ff;
  box-shadow: none;
}

.content-wrapper button.secondary,
.content-wrapper button.options-btn,
.content-wrapper button.ghost,
.content-wrapper button.danger,
.content-wrapper .auction-subbtn,
.content-wrapper .billing-subbtn,
.content-wrapper .billing-module-btn {
  background: rgba(255,255,255,0.035) !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: #eef2f7 !important;
}

.content-wrapper button.secondary:hover,
.content-wrapper .auction-subbtn:hover,
.content-wrapper .billing-subbtn:hover,
.content-wrapper .billing-module-btn:hover,
.content-wrapper .options-btn:hover {
  background: rgba(255,255,255,0.05) !important;
}

.content-wrapper .auction-subbtn.active,
.content-wrapper .billing-subbtn.active,
.content-wrapper .billing-module-btn.active,
.content-wrapper .options-nav .options-btn.active {
  background: linear-gradient(180deg, #a855f7, #7c3aed) !important;
  border-color: transparent !important;
  color: #09110d !important;
  box-shadow: none !important;
}

.auction-subnav-card,
.billing-page-toolbar,
#panel-options > .card:first-child {
  padding: 18px 20px;
}

.auction-subnav,
.options-nav,
.billing-module-row,
.billing-contextbar {
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.options-nav {
  margin-top: 8px;
}

.billing-page-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.billing-page-toolbar-copy strong {
  color: #f8fafc;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.billing-page-toolbar-copy span {
  display: block;
  margin-top: 4px;
  color: #95a3b7;
  font-size: 14px;
  line-height: 1.55;
}

.billing-pane-shell,
.billing-customer-shell,
.billing-customer-mainlist,
.billing-customer-sidebar,
.billing-page-section,
.billing-section-card,
.billing-list-toolbar,
.billing-composer,
.company-groups-card,
.payment-flow-surface,
.group-panel,
.logo-preview-wrap,
.template-preview-wrap,
.billing-hero-card,
.billing-kpi-card,
.billing-empty-state,
.billing-payment-card,
.billing-proof-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  box-shadow: none;
}

.billing-pane-shell {
  gap: 20px;
}

.billing-list-toolbar,
.billing-composer,
.billing-page-section,
.billing-section-card,
.group-panel,
.company-groups-card,
.payment-flow-surface {
  padding: 18px;
}

.billing-list-toolbar-head,
.billing-section-head,
.billing-page-section-head,
.billing-composer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.billing-page-section-head h3,
.billing-section-head h3,
.billing-composer-head strong,
.group-panel h3,
.company-groups-card h3 {
  margin: 0;
  font-size: 18px;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.billing-page-section-head p,
.billing-section-head p,
.billing-composer-head span,
.billing-inline-note,
.billing-empty-state p,
.payment-flow-surface .muted,
.company-groups-card .muted {
  color: #95a3b7;
}

.billing-list-toolbar-actions,
.billing-composer-actions,
.inline-actions,
.billing-actions-row,
.payment-flow-actions,
.org-inline-row,
.manual-group-actions,
.billing-form-actions,
.row {
  gap: 10px;
}

.billing-list-toolbar-filters,
.billing-list-toolbar-filters.premium,
.billing-filter-grid,
.billing-field-grid,
.billing-page-grid,
.billing-recent-grid,
.billing-hero-grid,
.billing-kpi-grid,
.billing-pane-grid,
.billing-customer-shell,
.groups-grid,
.mini-grid,
.template-preview-wrap,
.inline-grid,
.company-grid {
  gap: 16px 18px;
}

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

.billing-customer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.88fr);
  align-items: start;
}

.billing-customer-sidebar {
  display: grid;
  gap: 18px;
}

.billing-hero-card,
.billing-kpi-card,
.billing-contextbar,
.billing-context-link,
.billing-hero-chip,
.billing-payment-request-list .billing-payment-card,
.billing-payment-request-list .billing-proof-card,
.dashboard-mini-list li,
.org-list li,
.group-list li,
.manual-group-list li,
.schedule-list li,
.command-catalog li,
.user-list li,
.substitute-item {
  background: #11161f;
  border-color: rgba(255,255,255,0.07);
  color: #eef2f7;
}

.billing-context-link,
.billing-hero-chip {
  color: #dbe3ee;
}

.billing-context-link.active {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(192, 132, 252, 0.24);
  color: #e9d5ff;
}

.billing-kpi-card strong,
.dashboard-mini-list strong,
.billing-keypoints strong {
  color: #f8fafc;
}

.billing-kpi-card span,
.dashboard-mini-list span,
.billing-keypoints span {
  color: #95a3b7;
}

.billing-keypoints,
.dashboard-mini-list,
.command-catalog,
.org-list,
.user-list,
.group-list,
.manual-group-list,
.schedule-list,
.substitute-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.billing-keypoints li,
.dashboard-mini-list li,
.command-catalog li,
.org-list li,
.user-list li,
.group-list li,
.manual-group-list li,
.schedule-list li,
.substitute-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 12px 14px;
}

.command-catalog li code,
.payment-flow-surface code,
.faq-stack code,
.quick-caption code,
.subhead code {
  color: #83eab0;
}

.faq-stack details {
  background: #11161f;
  border-color: rgba(255,255,255,0.08);
}

.faq-stack summary {
  color: #f2f6fb;
}

.faq-stack details p {
  color: #97a4b7;
}

.logo-preview-wrap,
.template-preview-wrap,
.logo-preview-empty,
.billing-table,
.billing-payment-request-list,
#billingOrderItems,
#billingOrderList,
#billingCustomerList {
  background: #11161f;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
}

.logo-preview-wrap,
.template-preview-wrap {
  padding: 18px;
}

.status {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: #cad5e3;
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 14px;
}

.status.ok {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(192, 132, 252, 0.24);
  color: #e9d5ff;
}

.status.warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f7c37a;
}

@media (max-width: 1180px) {
  .billing-page-toolbar,
  .billing-customer-shell,
  .billing-pane-grid,
  .billing-hero-grid,
  .groups-grid,
  .mini-grid,
  .company-grid,
  .inline-grid {
    grid-template-columns: 1fr;
  }

  .billing-page-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .auth-faq-card,
  .billing-list-toolbar,
  .billing-composer,
  .billing-page-section,
  .billing-section-card,
  .group-panel,
  .company-groups-card,
  .payment-flow-surface,
  .auction-subnav-card,
  #panel-options > .card:first-child {
    padding: 16px;
  }

  .auction-subnav,
  .options-nav,
  .billing-module-row,
  .billing-contextbar {
    padding: 8px;
  }
}
/* Theme-aware shell tokens */
:root,
[data-theme="light"] {
  --bc-app-shell-body-bg:
    radial-gradient(1180px 560px at 0% 0%, rgba(34, 197, 94, 0.12), transparent 54%),
    radial-gradient(920px 420px at 100% 10%, rgba(37, 99, 235, 0.12), transparent 46%),
    linear-gradient(180deg, #eef4fb 0%, #f6f9fc 52%, #edf2f8 100%);
  --bc-app-main-bg:
    radial-gradient(980px 340px at 12% -8%, rgba(59, 130, 246, 0.08), transparent 46%),
    radial-gradient(740px 260px at 92% -6%, rgba(34, 197, 94, 0.08), transparent 42%),
    linear-gradient(180deg, #edf3f9 0%, #eef4fb 100%);
  --bc-app-header-bg: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.98));
  --bc-app-header-border: rgba(15, 23, 42, 0.08);
  --bc-app-header-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --bc-app-panel-bg: #ffffff;
  --bc-app-panel-bg-soft: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,248,251,0.98));
  --bc-app-panel-border: rgba(15, 23, 42, 0.08);
  --bc-app-panel-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --bc-app-card-bg: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,247,251,0.98));
  --bc-app-card-border: rgba(15, 23, 42, 0.08);
  --bc-app-surface-text: #0f172a;
  --bc-app-muted-text: #5f6f85;
  --bc-app-soft-text: #73839a;
  --bc-app-secondary-bg: rgba(15, 23, 42, 0.03);
  --bc-app-secondary-bg-hover: rgba(15, 23, 42, 0.06);
  --bc-app-field-bg: #f8fafc;
  --bc-app-field-border: rgba(15, 23, 42, 0.1);
  --bc-app-field-text: #0f172a;
  --bc-app-primary-gradient: linear-gradient(180deg, #a855f7, #7c3aed);
  --bc-app-primary-text: #fbf7ff;
  --bc-app-accent: #7c3aed;
  --bc-app-accent-soft: rgba(168, 85, 247, 0.12);
  --bc-app-info-soft: rgba(168, 85, 247, 0.14);
  --bc-app-warn-soft: rgba(245, 158, 11, 0.14);
  --bc-app-danger-soft: rgba(239, 68, 68, 0.14);
}

[data-theme="dark"] {
  --bc-app-shell-body-bg:
    radial-gradient(1180px 560px at 0% 0%, rgba(168, 85, 247, 0.12), transparent 54%),
    radial-gradient(920px 420px at 100% 10%, rgba(216, 180, 254, 0.1), transparent 46%),
    linear-gradient(180deg, #09070d 0%, #0d0912 52%, #110d18 100%);
  --bc-app-main-bg:
    radial-gradient(920px 320px at 12% -8%, rgba(168, 85, 247, 0.06), transparent 46%),
    radial-gradient(740px 260px at 92% -6%, rgba(216, 180, 254, 0.05), transparent 42%),
    linear-gradient(180deg, #0e0a13 0%, #120e18 100%);
  --bc-app-header-bg: linear-gradient(180deg, rgba(19, 14, 25, 0.94), rgba(15, 10, 21, 0.98));
  --bc-app-header-border: rgba(255,255,255,0.08);
  --bc-app-header-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  --bc-app-panel-bg: #15111c;
  --bc-app-panel-bg-soft: linear-gradient(180deg, rgba(24, 18, 31, 0.97), rgba(18, 14, 24, 0.98));
  --bc-app-panel-border: rgba(255,255,255,0.08);
  --bc-app-panel-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  --bc-app-card-bg: linear-gradient(180deg, rgba(22, 17, 29, 0.98), rgba(18, 14, 24, 0.98));
  --bc-app-card-border: rgba(255,255,255,0.08);
  --bc-app-surface-text: #f8fafc;
  --bc-app-muted-text: #95a3b7;
  --bc-app-soft-text: #8f81a4;
  --bc-app-secondary-bg: rgba(255,255,255,0.035);
  --bc-app-secondary-bg-hover: rgba(255,255,255,0.05);
  --bc-app-field-bg: #171220;
  --bc-app-field-border: rgba(255,255,255,0.08);
  --bc-app-field-text: #f5f7fb;
  --bc-app-primary-gradient: linear-gradient(180deg, #a855f7, #7c3aed);
  --bc-app-primary-text: #fbf7ff;
  --bc-app-accent: #c084fc;
  --bc-app-accent-soft: rgba(192, 132, 252, 0.14);
  --bc-app-info-soft: rgba(168, 85, 247, 0.16);
  --bc-app-warn-soft: rgba(245, 158, 11, 0.12);
  --bc-app-danger-soft: rgba(239, 68, 68, 0.14);
}

body,
[data-theme] body,
body:not(.authenticated),
html[data-theme="dark"] body:not(.authenticated) {
  background: var(--bc-app-shell-body-bg);
}

.main-content {
  background: var(--bc-app-main-bg);
}

.header {
  border-color: var(--bc-app-header-border);
  background: var(--bc-app-header-bg);
  box-shadow: var(--bc-app-header-shadow);
}

.header-center {
  border-top-color: var(--bc-app-header-border);
}

.header-business,
.header-search,
.header-utility-btn,
.user-menu,
.workspace-menu-panel,
.auction-subnav,
.options-nav,
.billing-module-row,
.billing-contextbar {
  background: var(--bc-app-secondary-bg);
  border-color: var(--bc-app-panel-border);
}

.header-search,
.content-wrapper input,
.content-wrapper select,
.content-wrapper textarea,
.content-wrapper .filter-input,
body:not(.authenticated) .auth-card input,
body:not(.authenticated) .auth-card select,
body:not(.authenticated) .auth-card textarea {
  background: var(--bc-app-field-bg);
  border-color: var(--bc-app-field-border);
  color: var(--bc-app-field-text);
}

.header-search::placeholder,
.content-wrapper input::placeholder,
.content-wrapper textarea::placeholder,
.content-wrapper .filter-input::placeholder,
body:not(.authenticated) .auth-card input::placeholder,
body:not(.authenticated) .auth-card textarea::placeholder {
  color: var(--bc-app-soft-text);
}

.workspace-trigger,
.content-wrapper .subhead,
.content-wrapper .muted,
.content-wrapper .quick-caption,
.content-wrapper label,
body:not(.authenticated) .auth-card .subhead,
body:not(.authenticated) .auth-card label,
body:not(.authenticated) .auth-footer-cta,
body:not(.authenticated) .auth-social-note,
body:not(.authenticated) .auth-footer-links,
body:not(.authenticated) .auth-footer-links a,
body:not(.authenticated) .auth-footer-links button,
body:not(.authenticated) .auth-brand-subtitle,
body:not(.authenticated) .auth-showcase p,
body:not(.authenticated) .auth-benefit-copy span,
body:not(.authenticated) .auth-showcase-footer {
  color: var(--bc-app-muted-text) !important;
}

.workspace-trigger:hover,
.workspace-trigger.active,
body:not(.authenticated) .auth-link-btn,
body:not(.authenticated) .auth-footer-links a:hover,
body:not(.authenticated) .auth-footer-links button:hover,
.metric-pill i,
.checklist-action {
  color: var(--bc-app-accent) !important;
  border-bottom-color: var(--bc-app-accent) !important;
}

.dashboard-surface,
.content-wrapper .card,
body:not(.authenticated) .auth-card,
.auth-faq-card {
  background: var(--bc-app-card-bg);
  border-color: var(--bc-app-card-border);
  box-shadow: var(--bc-app-panel-shadow);
}

.dashboard-summary-card,
.billing-pane-shell,
.billing-customer-shell,
.billing-customer-mainlist,
.billing-customer-sidebar,
.billing-page-section,
.billing-section-card,
.billing-list-toolbar,
.billing-composer,
.company-groups-card,
.payment-flow-surface,
.group-panel,
.logo-preview-wrap,
.template-preview-wrap,
.billing-hero-card,
.billing-kpi-card,
.billing-empty-state,
.billing-payment-card,
.billing-proof-card,
body:not(.authenticated) .auth-benefits li {
  background: var(--bc-app-panel-bg);
  border-color: var(--bc-app-panel-border);
  box-shadow: none;
}

.dashboard-summary-surface,
.dashboard-panel,
.billing-list-toolbar,
.billing-composer,
.billing-page-section,
.billing-section-card,
.group-panel,
.company-groups-card,
.payment-flow-surface,
.auction-subnav-card,
#panel-options > .card:first-child,
.auth-faq-card {
  color: var(--bc-app-surface-text);
}

.dashboard-section-header h2,
.dashboard-board-header h3,
.dashboard-identity-copy h3,
.dashboard-card-head h3,
.dashboard-card-head-simple h3,
.content-wrapper .card h2,
.content-wrapper .card h3,
.content-wrapper .section-title,
.content-wrapper .company-section-title,
.billing-page-toolbar-copy strong,
.billing-page-section-head h3,
.billing-section-head h3,
.billing-composer-head strong,
.group-panel h3,
.company-groups-card h3,
body:not(.authenticated) .auth-showcase h1,
body:not(.authenticated) .auth-card h2,
body:not(.authenticated) .auth-benefit-copy strong,
.auth-faq-head h2 {
  color: var(--bc-app-surface-text) !important;
}

.dashboard-section-header p,
.dashboard-board-header p,
.dashboard-identity-copy p,
.admin-panel-phase-compact p,
.dashboard-card-subtitle,
.status-mini-meta,
.metric-card p,
.auction-metric small,
.checklist-copy p,
.activity-copy p,
.billing-page-toolbar-copy span,
.billing-page-section-head p,
.billing-section-head p,
.billing-composer-head span,
.billing-inline-note,
.billing-empty-state p,
.payment-flow-surface .muted,
.company-groups-card .muted,
.auth-faq-head p {
  color: var(--bc-app-muted-text) !important;
}

.dashboard-chip,
.status-badge,
.billing-hero-chip,
.header-business,
.metric-pill,
.dashboard-inline-metric,
.status-mini-card,
.auction-metric,
.metric-card,
.checklist-item,
.activity-item,
.billing-context-link,
.billing-kpi-card,
.dashboard-mini-list li,
.billing-keypoints li,
.command-catalog li,
.org-list li,
.user-list li,
.group-list li,
.manual-group-list li,
.schedule-list li,
.substitute-item,
.logo-preview-wrap,
.template-preview-wrap,
.billing-table,
.billing-payment-request-list,
#billingOrderItems,
#billingOrderList,
#billingCustomerList,
.faq-stack details,
.status {
  background: var(--bc-app-panel-bg);
  border-color: var(--bc-app-panel-border);
  color: var(--bc-app-surface-text);
}

.dashboard-note-card-inline {
  background: var(--bc-app-accent-soft);
  border-color: color-mix(in oklab, var(--bc-app-accent) 28%, var(--bc-app-panel-border));
}

.dashboard-note-card-inline span,
.dashboard-note-card-inline strong,
.command-catalog li code,
.payment-flow-surface code,
.faq-stack code,
.quick-caption code,
.subhead code {
  color: var(--bc-app-surface-text);
}

.command-catalog li code,
.payment-flow-surface code,
.faq-stack code,
.quick-caption code,
.subhead code {
  color: var(--bc-app-accent);
}

.status.ok,
.checklist-item.success .checklist-indicator,
.activity-item.success .activity-bullet {
  background: var(--bc-app-accent-soft);
  border-color: color-mix(in oklab, var(--bc-app-accent) 28%, var(--bc-app-panel-border));
  color: var(--bc-app-accent);
}

.status.warn,
.checklist-item.warn .checklist-indicator,
.activity-item.warn .activity-bullet {
  background: var(--bc-app-warn-soft);
  border-color: color-mix(in oklab, #f59e0b 30%, var(--bc-app-panel-border));
  color: #f59e0b;
}

.status-badge.info {
  background: var(--bc-app-info-soft);
  border-color: color-mix(in oklab, var(--bc-app-accent) 30%, var(--bc-app-panel-border));
  color: color-mix(in oklab, var(--bc-app-accent) 82%, var(--bc-app-surface-text));
}

.status-badge.success {
  background: var(--bc-app-accent-soft);
  border-color: color-mix(in oklab, var(--bc-app-accent) 28%, var(--bc-app-panel-border));
  color: var(--bc-app-accent);
}

.status-badge.warn {
  background: var(--bc-app-warn-soft);
  border-color: color-mix(in oklab, #f59e0b 30%, var(--bc-app-panel-border));
  color: #f59e0b;
}

.status-badge.danger {
  background: var(--bc-app-danger-soft);
  border-color: color-mix(in oklab, #ef4444 30%, var(--bc-app-panel-border));
  color: #ef4444;
}

.status-badge.neutral,
.dashboard-chip,
.checklist-item.neutral .checklist-indicator,
.activity-bullet,
.status-mini-icon,
.checklist-indicator {
  background: var(--bc-app-secondary-bg);
  border-color: var(--bc-app-panel-border);
  color: var(--bc-app-muted-text);
}

.dashboard-action-btn.primary,
.content-wrapper button,
body:not(.authenticated) .auth-primary-btn,
.content-wrapper .auction-subbtn.active,
.content-wrapper .billing-subbtn.active,
.content-wrapper .billing-module-btn.active,
.content-wrapper .options-nav .options-btn.active {
  background: var(--bc-app-primary-gradient) !important;
  color: var(--bc-app-primary-text) !important;
  border-color: transparent !important;
}

.dashboard-action-btn.secondary,
.content-wrapper button.secondary,
.content-wrapper button.options-btn,
.content-wrapper button.ghost,
.content-wrapper button.danger,
.content-wrapper .auction-subbtn,
.content-wrapper .billing-subbtn,
.content-wrapper .billing-module-btn,
body:not(.authenticated) .auth-secondary-btn {
  background: var(--bc-app-secondary-bg) !important;
  border-color: var(--bc-app-panel-border) !important;
  color: var(--bc-app-surface-text) !important;
}

.dashboard-action-btn.secondary:hover,
.content-wrapper button.secondary:hover,
.content-wrapper .auction-subbtn:hover,
.content-wrapper .billing-subbtn:hover,
.content-wrapper .billing-module-btn:hover,
.content-wrapper .options-btn:hover,
body:not(.authenticated) .auth-secondary-btn:hover {
  background: var(--bc-app-secondary-bg-hover) !important;
}

body:not(.authenticated) .auth-showcase-kicker,
body:not(.authenticated) .auth-portal-kicker,
body:not(.authenticated) .auth-benefit-icon {
  background: var(--bc-app-accent-soft);
  color: var(--bc-app-accent);
  border-color: color-mix(in oklab, var(--bc-app-accent) 24%, var(--bc-app-panel-border));
}

body:not(.authenticated) .auth-benefits li,
body:not(.authenticated) .auth-card,
.auth-faq-card {
  backdrop-filter: blur(10px);
}

@media (max-width: 1180px) {
  body:not(.authenticated) .auth-shell,
  .billing-page-toolbar,
  .billing-customer-shell,
  .billing-pane-grid,
  .billing-hero-grid,
  .groups-grid,
  .mini-grid,
  .company-grid,
  .inline-grid {
    grid-template-columns: 1fr;
  }

  .billing-page-toolbar {
    grid-template-columns: 1fr;
  }
}

