/* ==========================================================================
   FlipPnL™ - Unified Deal & Launch Calendar and Sourcing Desk
   ========================================================================== */

.deal-calendar-section {
  position: relative;
  padding: 0 !important;
  margin: 18px 0 0 0 !important;
  width: 100%;
}


.deal-calendar-container {
  background: rgba(10, 15, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px 22px;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .deal-calendar-container {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}

/* Header & Control Strip */
.dc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .dc-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dc-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dc-cockpit-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary, #f8fafc);
  margin: 4px 0 0 0;
}

.dc-cockpit-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0;
  line-height: 1.4;
}

.dc-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Month Navigation & Mode Toggle Buttons */
.dc-nav-group {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  padding: 3px;
}

[data-theme="light"] .dc-nav-group {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dc-btn-icon {
  background: transparent;
  border: none;
  color: var(--text-primary, #f8fafc);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.dc-btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .dc-btn-icon:hover {
  background: rgba(0, 0, 0, 0.08);
}

.dc-month-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  padding: 0 10px;
  min-width: 120px;
  text-align: center;
}

.dc-mode-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
  padding: 3px;
}

[data-theme="light"] .dc-mode-toggle {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dc-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dc-mode-btn.active {
  background: var(--accent-emerald, #10b981);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.dc-btn-today {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald, #10b981);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dc-btn-today:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

/* Morning Sourcing Desk Daily Briefing Banner */
.dc-briefing-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg, 12px);
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.dc-briefing-banner:empty {
  display: none !important;
}

[data-theme="light"] .dc-briefing-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.dc-briefing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dc-briefing-left {
  flex: 1 1 300px;
}

.dc-briefing-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.dc-briefing-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: dcPulseGlow 2s infinite;
}

@keyframes dcPulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.dc-briefing-title {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
}

[data-theme="light"] .dc-briefing-title {
  color: #0284c7;
}

.dc-briefing-ticker-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

[data-theme="light"] .dc-briefing-ticker-pill {
  background: #e0f2fe;
  border: 1px solid #0284c7;
  color: #0369a1;
  font-weight: 800;
}

.dc-briefing-ticker-pill.active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

[data-theme="light"] .dc-briefing-ticker-pill.active {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  font-weight: 800;
}

.dc-briefing-headline {
  font-size: 0.88rem;
  color: var(--text-primary, #f8fafc);
  line-height: 1.35;
}

.dc-briefing-metrics-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dc-briefing-metric-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 110px;
  text-align: center;
}

[data-theme="light"] .dc-briefing-metric-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.dc-briefing-metric-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 2px;
}

.dc-briefing-metric-value {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dc-briefing-metric-value.sky { color: #38bdf8; }
.dc-briefing-metric-value.emerald { color: #10b981; }
.dc-briefing-metric-value.amber { color: #fbbf24; }

[data-theme="light"] .dc-briefing-metric-value.sky { color: #0284c7; }
[data-theme="light"] .dc-briefing-metric-value.emerald { color: #059669; }
[data-theme="light"] .dc-briefing-metric-value.amber { color: #d97706; }

.dc-briefing-tax-wrap {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.dc-briefing-tax-tag {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.dc-briefing-tax-tag.exempt {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

[data-theme="light"] .dc-briefing-tax-tag.exempt {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  font-weight: 800;
}

.dc-briefing-tax-tag.taxable {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

[data-theme="light"] .dc-briefing-tax-tag.taxable {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-weight: 800;
}

.dc-briefing-tax-tag:hover {
  transform: scale(1.04);
  filter: brightness(1.15);
}

/* Category Filter Bar */
.dc-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dc-filter-bar::-webkit-scrollbar {
  display: none;
}

.dc-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary, #94a3b8);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

[data-theme="light"] .dc-filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dc-filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary, #f8fafc);
  transform: translateY(-1px);
}

[data-theme="light"] .dc-filter-chip:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.dc-filter-chip:not(.active) {
  opacity: 0.55;
  filter: grayscale(0.5);
}

.dc-filter-chip.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary, #f8fafc);
  opacity: 1;
  filter: none;
}

.dc-filter-chip.active[data-category="collector_drop"] {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.6);
  color: #f3e8ff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

[data-theme="light"] .dc-filter-chip.active[data-category="collector_drop"] {
  background: #f3e8ff;
  border-color: #a855f7;
  color: #581c87;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(168, 85, 247, 0.2);
}

.dc-filter-chip.active[data-category="retail_arbitrage"],
.dc-filter-chip.active[data-category="retail_clearance"],
.dc-filter-chip.active[data-category="online_arbitrage"] {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.6);
  color: #d1fae5;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .dc-filter-chip.active[data-category="retail_arbitrage"],
[data-theme="light"] .dc-filter-chip.active[data-category="retail_clearance"],
[data-theme="light"] .dc-filter-chip.active[data-category="online_arbitrage"] {
  background: #d1fae5;
  border-color: #10b981;
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
}

.dc-filter-chip.active[data-category="cyclical_wave"] {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.6);
  color: #fef08a;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

[data-theme="light"] .dc-filter-chip.active[data-category="cyclical_wave"] {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
}

.dc-filter-chip.active[data-category="apex_warning"] {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fee2e2;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
}

[data-theme="light"] .dc-filter-chip.active[data-category="apex_warning"] {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
}

.dc-filter-chip.active[data-category="usps_holiday"] {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(59, 130, 246, 0.7);
  color: #bfdbfe;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .dc-filter-chip.active[data-category="usps_holiday"] {
  background: #dbeafe;
  border-color: #2563eb;
  color: #1e40af;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

/* Google Calendar-Style Checkbox Indicator */
.dc-checkbox-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  margin-right: 1px;
  transition: all 0.15s ease;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}

[data-theme="light"] .dc-checkbox-box {
  border-color: #94a3b8;
}

.dc-filter-chip.active .dc-checkbox-box {
  border-color: currentColor;
  background: currentColor;
}

.dc-filter-chip.active .dc-checkbox-box::after {
  content: '';
  position: absolute;
  width: 3.5px;
  height: 6.5px;
  border: solid #0f172a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  top: 1px;
}

[data-theme="light"] .dc-filter-chip.active .dc-checkbox-box::after {
  border-color: #ffffff;
}

.dc-filter-chip.dc-filter-all {
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.15);
}

.dc-filter-chip.dc-filter-all.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-primary, #f8fafc);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .dc-filter-chip.dc-filter-all.active {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.dc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dc-dot.purple { background: #a855f7; box-shadow: 0 0 6px #a855f7; }
.dc-dot.emerald { background: #10b981; box-shadow: 0 0 6px #10b981; }
.dc-dot.sky { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.dc-dot.amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.dc-dot.rose { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dc-dot.postal { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }

/* Multi-Mode Cockpit Layout (Full Width by Mode) */
.dc-cockpit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
}

@media (max-width: 1024px) {
  .dc-cockpit-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Grid Section */
.dc-grid-card {
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg, 12px);
  padding: 16px;
  overflow: hidden;
}

[data-theme="light"] .dc-grid-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.dc-weekdays-row span {
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
  user-select: none;
}

.dc-weekdays-row span:hover {
  color: var(--accent-emerald, #10b981);
}

[data-theme="light"] .dc-weekdays-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.dc-day-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  min-height: 100px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .dc-day-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.dc-day-cell:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

[data-theme="light"] .dc-day-cell:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.dc-day-cell.other-month {
  opacity: 0.25;
  background: transparent;
  pointer-events: none;
}

.dc-day-cell.is-today {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.04);
}

.dc-day-cell.is-today .dc-day-num {
  color: var(--accent-emerald, #10b981);
  font-weight: 800;
}

[data-theme="light"] .dc-day-cell.is-today {
  border-color: #059669;
  background: rgba(5, 150, 105, 0.05);
}

[data-theme="light"] .dc-day-cell.is-today .dc-day-num {
  color: #047857;
}

.dc-day-cell.is-selected {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.09) !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .dc-day-cell.is-selected {
  border-color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
}

.dc-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.dc-day-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
}

.dc-day-badge-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
}

[data-theme="light"] .dc-day-badge-count {
  background: #e2e8f0;
  color: #0f172a;
}

/* Event Pills inside Day Cells */
.dc-events-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.dc-cell-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.dc-cell-pill.collector_drop {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.dc-cell-pill.retail_arbitrage,
.dc-cell-pill.retail_clearance,
.dc-cell-pill.online_arbitrage {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dc-cell-pill.cyclical_wave {
  background: rgba(245, 158, 11, 0.16);
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.dc-cell-pill.apex_warning {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.dc-cell-pill.usps_holiday {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.5);
  font-weight: 700;
}

[data-theme="light"] .dc-cell-pill.collector_drop { background: #f3e8ff; color: #581c87; border: 1px solid #d8b4fe; font-weight: 700; }
[data-theme="light"] .dc-cell-pill.retail_arbitrage,
[data-theme="light"] .dc-cell-pill.retail_clearance,
[data-theme="light"] .dc-cell-pill.online_arbitrage { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; font-weight: 700; }
[data-theme="light"] .dc-cell-pill.cyclical_wave { background: #fffbeb; color: #0f172a; border: 1px solid #fcd34d; font-weight: 700; }
[data-theme="light"] .dc-cell-pill.apex_warning { background: #fee2e2; color: #991b1b; border: 1px solid #fda4af; font-weight: 700; }
[data-theme="light"] .dc-cell-pill.usps_holiday { background: #dbeafe; color: #1e40af; border: 1px solid #3b82f6; font-weight: 800; }

.dc-pill-more {
  font-size: 0.62rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  text-align: center;
  margin-top: 1px;
}

/* ==========================================================================
   Week Mode Grid & Cell Layout (Spacious Multi-Lead Capacity)
   ========================================================================== */
.dc-grid-card.dc-week-card {
  overflow-x: auto;
  scrollbar-width: thin;
  min-height: 320px;
}

/* Multi-Day Spanning Track for Week View (Continuous Calendar Spanning) */
.dc-week-spanning-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  row-gap: 5px;
  padding: 4px 0 8px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 185px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

[data-theme="light"] .dc-week-spanning-track {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.dc-spanning-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  min-width: 0;
  box-sizing: border-box;
}

.dc-spanning-bar:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.dc-spanning-bar.retail_clearance {
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.22) 0%, rgba(249, 115, 22, 0.14) 100%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fb923c;
}

.dc-spanning-bar.online_arbitrage {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.14) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.dc-spanning-bar.collector_drop,
.dc-spanning-bar.collectible_drop {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.22) 0%, rgba(168, 85, 247, 0.14) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c084fc;
}

[data-theme="light"] .dc-spanning-bar.retail_clearance {
  background: #fff7ed;
  border-color: #fb923c;
  color: #c2410c;
}

[data-theme="light"] .dc-spanning-bar.online_arbitrage {
  background: #ecfdf5;
  border-color: #34d399;
  color: #047857;
}

[data-theme="light"] .dc-spanning-bar.collector_drop,
[data-theme="light"] .dc-spanning-bar.collectible_drop {
  background: #faf5ff;
  border-color: #c084fc;
  color: #7e22ce;
}

.dc-spanning-bar-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

[data-theme="light"] .dc-spanning-bar-badge {
  background: rgba(0, 0, 0, 0.06);
}

.dc-spanning-bar-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.dc-spanning-bar-window {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.dc-calendar-grid.dc-week-mode {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.dc-day-cell.dc-week-cell {
  height: 440px;
  max-height: 440px;
  min-height: 440px;
  padding: 8px 5px;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.2s ease;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

[data-theme="light"] .dc-day-cell.dc-week-cell {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.dc-week-cell-header {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

[data-theme="light"] .dc-week-cell-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-week-date-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-week-dayname {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #64748b);
}

.dc-day-cell.is-today .dc-week-dayname {
  color: var(--accent-emerald, #10b981);
}

.dc-week-daynum {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
}

[data-theme="light"] .dc-week-daynum {
  color: #0f172a;
}

.dc-week-events-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  padding-right: 2px;
}

.dc-week-events-stack::-webkit-scrollbar {
  width: 4px;
}

.dc-week-events-stack::-webkit-scrollbar-track {
  background: transparent;
}

.dc-week-events-stack::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.dc-week-events-stack::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .dc-week-events-stack {
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

[data-theme="light"] .dc-week-events-stack::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
}

.dc-week-pill {
  padding: 6px 8px;
  border-radius: 6px;
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.3;
  flex-shrink: 0;
}

.dc-week-time-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.58rem;
  font-weight: 800;
  opacity: 0.85;
}

.dc-week-pill-title {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 1.25;
}

.dc-week-empty-lead {
  text-align: center;
  padding: 40px 4px;
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
}

/* Right Agenda Sidebar & Underwriting Rail */
.dc-agenda-rail {
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

[data-theme="light"] .dc-agenda-rail {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.dc-agenda-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .dc-agenda-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-agenda-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-emerald, #10b981);
}

.dc-agenda-date-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
  margin: 2px 0 0 0;
}

/* Reseller Intelligence Metrics Bar */
.dc-intel-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

[data-theme="light"] .dc-intel-summary {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-intel-metric-lbl {
  font-size: 0.65rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 2px;
}

.dc-intel-metric-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
}

.dc-intel-metric-val.emerald { color: var(--accent-emerald, #10b981); }
.dc-intel-metric-val.sky { color: var(--accent-sky, #38bdf8); }
.dc-intel-metric-val.amber { color: var(--accent-amber, #f59e0b); }

/* Quick Controls Strip (Expand All / Collapse All) */
.dc-agenda-toggle-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 10px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2px;
}

[data-theme="light"] .dc-agenda-toggle-strip {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.dc-agenda-toggle-lbl {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-theme="light"] .dc-agenda-toggle-lbl {
  color: #64748b;
}

.dc-agenda-toggle-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dc-btn-toggle-all {
  background: transparent;
  border: none;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald, #10b981);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.dc-btn-toggle-all:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

[data-theme="light"] .dc-btn-toggle-all {
  color: #059669;
}

[data-theme="light"] .dc-btn-toggle-all:hover {
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}

.dc-toggle-divider {
  color: var(--text-muted, #64748b);
  font-size: 0.68rem;
  opacity: 0.4;
}

/* Agenda Cards List */
.dc-agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 4px;
}

.dc-agenda-empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--text-secondary, #94a3b8);
  font-size: 0.85rem;
}

.dc-agenda-empty-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
  opacity: 0.7;
}

/* Individual Agenda Underwriting Card */
.dc-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 10px);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
  gap: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}

[data-theme="light"] .dc-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dc-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.dc-card.highlight-pulse {
  border-color: var(--accent-emerald, #10b981) !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.5), inset 0 0 12px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(-2px) scale(1.015);
  animation: dcCardGlowPulse 2.5s ease-out;
}

[data-theme="light"] .dc-card.highlight-pulse {
  border-color: #059669 !important;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4), 0 0 0 2px rgba(5, 150, 105, 0.3) !important;
  transform: translateY(-2px) scale(1.015);
  animation: dcCardGlowPulseLight 2.5s ease-out;
}

@keyframes dcCardGlowPulse {
  0% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.7), inset 0 0 16px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2); }
  100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes dcCardGlowPulseLight {
  0% { box-shadow: 0 4px 24px rgba(5, 150, 105, 0.5), 0 0 0 3px rgba(5, 150, 105, 0.4); }
  50% { box-shadow: 0 4px 18px rgba(5, 150, 105, 0.3), 0 0 0 2px rgba(5, 150, 105, 0.2); }
  100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
}

/* Accordion Header */
.dc-card-accordion-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 6px;
  padding: 2px 0;
  transition: opacity 0.15s ease;
}

.dc-card-accordion-header:hover .dc-card-title {
  color: var(--accent-emerald, #10b981);
}

[data-theme="light"] .dc-card-accordion-header:hover .dc-card-title {
  color: #059669;
}

.dc-card-accordion-header:focus-visible {
  outline: 2px solid var(--accent-emerald, #10b981);
  outline-offset: 2px;
}

/* Accordion Chevron Icon */
.dc-card-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #94a3b8);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dc-card.is-expanded .dc-card-chevron {
  transform: rotate(180deg);
  color: var(--accent-emerald, #10b981);
}

[data-theme="light"] .dc-card.is-expanded .dc-card-chevron {
  color: #059669;
}

/* Accordion Body */
.dc-card-accordion-body {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.3s ease;
}

.dc-card:not(.is-expanded) .dc-card-accordion-body {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.dc-card.is-expanded .dc-card-accordion-body {
  max-height: 1200px;
  opacity: 1;
  margin-top: 10px;
  pointer-events: auto;
  visibility: visible;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.dc-time-pill {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 9px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.3;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  vertical-align: middle;
}

.dc-time-pill.live,
.dc-time-pill.store {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

[data-theme="light"] .dc-time-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .dc-time-pill.live,
[data-theme="light"] .dc-time-pill.store {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0284c7;
  box-shadow: none;
}

.dc-card-category-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 12px;
}

.dc-card-category-badge.collector_drop { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.dc-card-category-badge.retail_arbitrage,
.dc-card-category-badge.retail_clearance,
.dc-card-category-badge.online_arbitrage { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.dc-card-category-badge.cyclical_wave { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.dc-card-category-badge.apex_warning { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.dc-card-category-badge.usps_holiday { background: rgba(37, 99, 235, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }

[data-theme="light"] .dc-card-category-badge.collector_drop { background: #f3e8ff; color: #6b21a8; border: 1px solid #c084fc; font-weight: 800; }
[data-theme="light"] .dc-card-category-badge.retail_arbitrage,
[data-theme="light"] .dc-card-category-badge.retail_clearance,
[data-theme="light"] .dc-card-category-badge.online_arbitrage { background: #d1fae5; color: #065f46; border: 1px solid #10b981; font-weight: 800; }
[data-theme="light"] .dc-card-category-badge.cyclical_wave { background: #fffbeb; color: #0f172a; border: 1px solid #f59e0b; font-weight: 800; }
[data-theme="light"] .dc-card-category-badge.apex_warning { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; font-weight: 800; }
[data-theme="light"] .dc-card-category-badge.usps_holiday { background: #dbeafe; color: #1e40af; border: 1px solid #2563eb; font-weight: 800; }

.dc-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  line-height: 1.35;
  margin: 0;
}

.dc-card-title-link {
  color: var(--text-primary, #f8fafc);
  text-decoration: none;
  transition: color 0.15s ease;
}

.dc-card-title-link:hover {
  color: var(--accent-emerald, #10b981);
  text-decoration: underline;
}

[data-theme="light"] .dc-card-title-link {
  color: #0f172a;
}

[data-theme="light"] .dc-card-title-link:hover {
  color: #059669;
}

.dc-card-notes {
  font-size: 0.76rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.4;
  margin: 0;
}

/* Financial Underwriting Breakdown Table */
.dc-fin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 8px 10px;
}

[data-theme="light"] .dc-fin-grid {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dc-fin-row {
  display: flex;
  flex-direction: column;
}

.dc-fin-lbl {
  font-size: 0.65rem;
  color: var(--text-muted, #64748b);
  font-weight: 600;
}

.dc-fin-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
}

.dc-fin-val.comp { color: var(--accent-emerald, #10b981); }

/* Shipping & Lifecycle Indicator Bar */
.dc-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.72rem;
}

.dc-ship-tier-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

[data-theme="light"] .dc-ship-tier-badge {
  background: rgba(0, 0, 0, 0.06);
}

.dc-lifecycle-badge {
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dc-lifecycle-badge.heartbeat { color: #34d399; }
.dc-lifecycle-badge.infancy { color: #38bdf8; }
.dc-lifecycle-badge.apex_crash { color: #f87171; }

/* Card Action Strip & Buttons */
.dc-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.dc-btn-bridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  text-decoration: none;
}

.dc-btn-bridge:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.dc-btn-bridge:active {
  transform: translateY(0);
}

.dc-btn-bridge.warning-action {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.dc-btn-bridge.warning-action:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.dc-btn-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary, #94a3b8);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dc-btn-source:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald, #10b981);
  transform: translateY(-1px);
}

[data-theme="light"] .dc-btn-source {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #475569;
}

[data-theme="light"] .dc-btn-source:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #059669;
}

/* Contextual Bridge Banner Source Link */
.btn-bridge-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary, #f8fafc);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-bridge-source:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--accent-emerald, #10b981);
}

[data-theme="light"] .btn-bridge-source {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .btn-bridge-source:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #059669;
}

/* Flash Glow Pulse Animation for Calculator Target */
@keyframes calcPulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    border-color: #10b981;
  }
  50% {
    box-shadow: 0 0 35px 8px rgba(16, 185, 129, 0.5);
    border-color: #34d399;
  }
  100% {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.pulse-highlight-target {
  animation: calcPulseHighlight 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* Contextual Sourcing Intelligence Disclosure Footer */
.dc-disclosure-footer {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

[data-theme="light"] .dc-disclosure-footer {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.dc-disclosure-icon {
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.dc-disclosure-text {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
}

.dc-disclosure-text strong {
  color: var(--text-secondary, #cbd5e1);
  font-weight: 700;
}

[data-theme="light"] .dc-disclosure-text strong {
  color: #334155;
}

/* Sleek Gear Buttons for Nav and Calendar Header */
.btn-nav-gear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-gear:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald, #10b981);
  transform: rotate(45deg);
}

[data-theme="light"] .btn-nav-gear {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
}

[data-theme="light"] .btn-nav-gear:hover {
  background: #e2e8f0;
  color: #059669;
}

.dc-gear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dc-gear-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald, #10b981);
  transform: rotate(45deg);
}

[data-theme="light"] .dc-gear-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
}

[data-theme="light"] .dc-gear-btn:hover {
  background: #e2e8f0;
  color: #059669;
}

/* ==========================================================================
   USPS Postal Holiday Indicators & Advisory Cards
   ========================================================================== */
.dc-briefing-ticker-pill.postal-holiday {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
  font-weight: 700;
}

[data-theme="light"] .dc-briefing-ticker-pill.postal-holiday {
  background: #ffe4e6;
  border: 1px solid #f43f5e;
  color: #9f1239;
  font-weight: 800;
}

.dc-day-cell.is-usps-holiday {
  border-color: rgba(244, 63, 94, 0.3) !important;
}

.dc-day-cell.is-usps-holiday .dc-day-num {
  color: #fda4af;
  font-weight: 800;
}

[data-theme="light"] .dc-day-cell.is-usps-holiday {
  border-color: rgba(244, 63, 94, 0.4) !important;
}

[data-theme="light"] .dc-day-cell.is-usps-holiday .dc-day-num {
  color: #e11d48;
  font-weight: 800;
}

.dc-usps-advisory-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-left: 4px solid #f43f5e;
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  margin-bottom: 14px;
  animation: fadeIn 0.2s ease-out;
}

[data-theme="light"] .dc-usps-advisory-card {
  background: #fff1f2;
  border: 1px solid #fda4af;
  border-left: 4px solid #e11d48;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

.dc-usps-advisory-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dc-usps-advisory-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.dc-usps-advisory-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fda4af;
  margin: 0;
}

[data-theme="light"] .dc-usps-advisory-title {
  color: #9f1239;
}

.dc-usps-advisory-sub {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  display: block;
}

[data-theme="light"] .dc-usps-advisory-sub {
  color: #881337;
}

.dc-usps-advisory-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-secondary, #cbd5e1);
  margin: 0 0 10px 0;
}

[data-theme="light"] .dc-usps-advisory-desc {
  color: #4c0519;
}

.dc-usps-advisory-tip {
  font-size: 0.73rem;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(244, 63, 94, 0.35);
  color: var(--text-primary, #f8fafc);
}

[data-theme="light"] .dc-usps-advisory-tip {
  background: #ffffff;
  border-color: #f43f5e;
  color: #1e293b;
}

/* ==========================================================================
   Pre-Launch Apex Downgrade Sentinel Banner & Badging
   ========================================================================== */
.dc-downgrade-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-left: 3px solid #f43f5e;
  border-radius: var(--radius-sm, 6px);
  padding: 8px 10px;
  margin: 8px 0 10px 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #fda4af;
}

[data-theme="light"] .dc-downgrade-banner {
  background: #fff1f2;
  border-color: #fda4af;
  border-left-color: #e11d48;
  color: #9f1239;
}

.dc-downgrade-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid #f43f5e;
  color: #fda4af;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-theme="light"] .dc-downgrade-badge {
  background: #ffe4e6;
  border-color: #e11d48;
  color: #e11d48;
}

/* ==========================================================================
   Store Promotion & Clearance Hub Cards (Retail & Online Arbitrage)
   ========================================================================== */
.dc-store-card {
  border-left: 3px solid #38bdf8;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
}

[data-theme="light"] .dc-store-card {
  background: #ffffff;
  border-left: 3px solid #0284c7;
}

.dc-store-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm, 6px);
  padding: 10px 12px;
  margin-bottom: 12px;
}

[data-theme="light"] .dc-store-dossier-grid {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.dc-store-dossier-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-store-dossier-lbl {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
  font-weight: 700;
}

.dc-store-dossier-val {
  font-size: 0.78rem;
  color: var(--text-primary, #f8fafc);
  font-weight: 600;
  line-height: 1.25;
}

[data-theme="light"] .dc-store-dossier-val {
  color: #0f172a;
}

.dc-btn-store-feed {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-md, 8px);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dc-btn-store-feed:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.45) 100%);
  border-color: rgba(16, 185, 129, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .dc-btn-store-feed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .dc-btn-store-feed:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
}

.dc-time-pill.store {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

[data-theme="light"] .dc-time-pill.store {
  background: #f0f9ff;
  border-color: #7dd3fc;
  color: #0284c7;
}

/* ==========================================================================
   Passed / Post-Launch Soft Dimming
   ========================================================================== */
.dc-cell-pill.is-past-launch {
  opacity: 0.52;
  filter: saturate(70%);
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.dc-cell-pill.is-past-launch:hover {
  opacity: 0.95;
  filter: saturate(100%);
}

.dc-week-pill.is-past-launch .dc-week-time-tag {
  opacity: 0.75;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .dc-week-pill.is-past-launch .dc-week-time-tag {
  text-decoration-color: rgba(0, 0, 0, 0.4);
}

.dc-card.is-past-card {
  opacity: 0.65;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.4);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.dc-card.is-past-card:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .dc-card.is-past-card {
  opacity: 0.7;
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .dc-card.is-past-card:hover {
  opacity: 1;
  background: #ffffff;
  border-color: #cbd5e1;
}

.dc-passed-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

[data-theme="light"] .dc-passed-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

/* ==========================================================================
   10-Minute Collector Drop Alert Takeover Modal
   ========================================================================== */
.dc-alert-takeover-overlay {
  z-index: 100000;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: dcFadeInOverlay 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dcFadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dc-alert-takeover-card {
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.2), 0 0 0 1px rgba(249, 115, 22, 0.15), 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  background: linear-gradient(165deg, #182234 0%, #0f172a 100%);
  animation: dcScaleInCard 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

[data-theme="light"] .dc-alert-takeover-card {
  background: #ffffff;
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes dcScaleInCard {
  from { transform: scale(0.92) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.dc-alert-takeover-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.08) 100%);
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}

[data-theme="light"] .dc-alert-takeover-banner {
  background: linear-gradient(90deg, #ffedd5 0%, #fff7ed 100%);
  border-bottom-color: #fdba74;
}

.dc-alert-badge-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-alert-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 10px #f97316;
  animation: dcPulseGlow 1.5s infinite;
}

.dc-alert-badge-text {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fb923c;
}

[data-theme="light"] .dc-alert-badge-text {
  color: #c2410c;
}

.dc-alert-close-btn {
  font-size: 1.3rem;
  color: var(--text-muted, #94a3b8);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.15s ease;
}

.dc-alert-close-btn:hover {
  color: #f97316;
}

.dc-alert-takeover-body {
  padding: 20px 22px;
}

.dc-alert-time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dc-alert-time-pill {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #fdba74;
}

[data-theme="light"] .dc-alert-time-pill {
  background: #ffedd5;
  border-color: #f97316;
  color: #c2410c;
}

.dc-alert-heat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

[data-theme="light"] .dc-alert-heat-tag {
  background: #fee2e2;
  border-color: #ef4444;
  color: #b91c1c;
}

.dc-alert-product-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary, #f8fafc);
  margin: 0 0 8px 0;
}

[data-theme="light"] .dc-alert-product-title {
  color: #0f172a;
}

.dc-alert-notes {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary, #cbd5e1);
  margin: 0 0 16px 0;
}

[data-theme="light"] .dc-alert-notes {
  color: #475569;
}

.dc-alert-financial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 8px);
  padding: 12px;
  margin-bottom: 14px;
}

[data-theme="light"] .dc-alert-financial-grid {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.dc-alert-fin-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.dc-alert-fin-lbl {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
}

.dc-alert-fin-val {
  font-size: 1.05rem;
  font-weight: 800;
}

.dc-alert-fin-val.buy {
  color: #38bdf8;
}

.dc-alert-fin-val.comp {
  color: #a855f7;
}

.dc-alert-fin-val.profit {
  color: #10b981;
}

[data-theme="light"] .dc-alert-fin-val.buy {
  color: #0284c7;
}

[data-theme="light"] .dc-alert-fin-val.comp {
  color: #7e22ce;
}

[data-theme="light"] .dc-alert-fin-val.profit {
  color: #059669;
}

.dc-alert-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--text-muted, #94a3b8);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  flex-wrap: wrap;
}

[data-theme="light"] .dc-alert-meta-bar {
  background: #f1f5f9;
  color: #64748b;
}

.dc-alert-takeover-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .dc-alert-takeover-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

.dc-alert-takeover-footer .btn-deal-modal {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.dc-alert-source-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary, #f8fafc);
  text-decoration: none;
  white-space: nowrap !important;
}

.dc-alert-source-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

[data-theme="light"] .dc-alert-source-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .dc-alert-source-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dc-alert-model-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35) !important;
  border: none !important;
  white-space: nowrap !important;
}

.dc-alert-model-btn:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
  transform: translateY(-1px);
}

@media (max-width: 580px) {
  .dc-alert-takeover-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px;
  }
  .dc-alert-takeover-footer .btn-deal-modal,
  .dc-alert-takeover-footer .dc-alert-source-btn,
  .dc-alert-takeover-footer .dc-alert-model-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================================
   Month / Week / Day Multi-Mode Cockpit Responsiveness
   ========================================================================= */
/* Month View: Full-width calendar grid, right agenda rail hidden */
.dc-cockpit-layout.view-month {
  grid-template-columns: 1fr !important;
}
.dc-cockpit-layout.view-month .dc-grid-card {
  display: block !important;
  width: 100%;
}
.dc-cockpit-layout.view-month .dc-agenda-rail {
  display: none !important;
}

/* Week View: Full-width 7-day planner, right agenda rail hidden */
.dc-cockpit-layout.view-week {
  grid-template-columns: 1fr !important;
}
.dc-cockpit-layout.view-week .dc-grid-card {
  display: block !important;
  width: 100%;
}
.dc-cockpit-layout.view-week .dc-agenda-rail {
  display: none !important;
}

/* Day View: Full-width Daily Cockpit & Agenda Rail, calendar grid hidden */
.dc-cockpit-layout.view-day {
  grid-template-columns: 1fr !important;
}
.dc-cockpit-layout.view-day .dc-grid-card {
  display: none !important;
}
.dc-cockpit-layout.view-day .dc-agenda-rail {
  display: flex !important;
  width: 100%;
  max-width: 100%;
  position: static;
}
.dc-cockpit-layout.view-day .dc-agenda-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
}

@media (max-width: 768px) {
  .dc-cockpit-layout.view-day .dc-agenda-list {
    grid-template-columns: 1fr;
  }
}

.dc-week-cell-header {
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.dc-week-cell-header:hover {
  opacity: 0.8;
}

/* Inspect Deal Button on Cards */
.dc-card-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: auto;
}

.dc-card-inspect-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

[data-theme="light"] .dc-card-inspect-btn {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .dc-card-inspect-btn:hover {
  background: rgba(2, 132, 199, 0.15);
  color: #0369a1;
}

/* =========================================================================
   Mobile Compact Month Grid (< 768px): Dots & Badges
   ========================================================================= */
.dc-day-dots {
  display: none;
}

@media (max-width: 768px) {
  .dc-calendar-grid {
    gap: 4px;
  }

  .dc-day-cell {
    min-height: 52px;
    padding: 5px 3px;
  }

  .dc-events-stack .dc-cell-pill {
    display: none !important;
  }

  .dc-day-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    flex-wrap: wrap;
  }

  .dc-dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
  }

  .dc-dot-indicator.collector_drop { background: #c084fc; box-shadow: 0 0 4px rgba(192, 132, 252, 0.5); }
  .dc-dot-indicator.online_arbitrage,
  .dc-dot-indicator.retail_clearance,
  .dc-dot-indicator.retail_arbitrage { background: #34d399; box-shadow: 0 0 4px rgba(52, 211, 153, 0.5); }
  .dc-dot-indicator.cyclical_wave { background: #fbbf24; box-shadow: 0 0 4px rgba(251, 191, 36, 0.5); }
  .dc-dot-indicator.apex_warning { background: #f87171; box-shadow: 0 0 4px rgba(248, 113, 113, 0.5); }
  .dc-dot-indicator.usps_holiday { background: #38bdf8; box-shadow: 0 0 4px rgba(56, 189, 248, 0.5); }

  .dc-day-badge-count {
    font-size: 0.62rem;
    padding: 0 4px;
    height: 14px;
    line-height: 14px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-weight: 800;
  }

  .dc-mode-toggle {
    display: flex;
    gap: 4px;
  }

  .dc-mode-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

/* =========================================================================
   Focused Deal Dossier Modal & Pager Styles
   ========================================================================= */
.dc-dossier-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 7, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dc-dossier-modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.dc-dossier-modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.15);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-dossier-modal-backdrop.active .dc-dossier-modal-dialog {
  transform: translateY(0) scale(1);
}

[data-theme="light"] .dc-dossier-modal-backdrop {
  background: rgba(15, 23, 42, 0.65);
}

[data-theme="light"] .dc-dossier-modal-dialog {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

/* Modal Header */
.dc-dossier-header {
  padding: 18px 22px 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

[data-theme="light"] .dc-dossier-header {
  border-bottom-color: #e2e8f0;
}

.dc-dossier-header-left {
  flex: 1;
  min-width: 0;
}

.dc-dossier-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dc-dossier-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.35;
  margin: 0;
  word-break: break-word;
}

[data-theme="light"] .dc-dossier-title {
  color: #0f172a;
}

.dc-dossier-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.dc-dossier-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

[data-theme="light"] .dc-dossier-close-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

/* Modal Body */
.dc-dossier-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Financials HUD */
.dc-dossier-fin-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

[data-theme="light"] .dc-dossier-fin-hud {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.dc-dossier-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dc-dossier-metric-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
}

.dc-dossier-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  color: #f8fafc;
}

[data-theme="light"] .dc-dossier-metric-val {
  color: #0f172a;
}

.dc-dossier-metric-val.emerald {
  color: #10b981;
}

[data-theme="light"] .dc-dossier-metric-val.emerald {
  color: #059669;
}

.dc-dossier-metric-val.positive {
  color: #38bdf8;
}

[data-theme="light"] .dc-dossier-metric-val.positive {
  color: #0284c7;
}

.dc-dossier-metric-sub {
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
}

.dc-dossier-metric-sub.positive {
  color: #10b981;
  font-weight: 700;
}

[data-theme="light"] .dc-dossier-metric-sub.positive {
  color: #059669;
}

/* Dossier Grid */
.dc-dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dc-dossier-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

[data-theme="light"] .dc-dossier-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.dc-dossier-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
}

.dc-dossier-val {
  font-size: 0.86rem;
  font-weight: 700;
  color: #cbd5e1;
}

[data-theme="light"] .dc-dossier-val {
  color: #334155;
}

/* Notes box */
.dc-dossier-notes-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

[data-theme="light"] .dc-dossier-notes-box {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.dc-dossier-notes-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

[data-theme="light"] .dc-dossier-notes-heading {
  color: #0284c7;
}

.dc-dossier-notes-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin: 0;
  white-space: pre-line;
}

[data-theme="light"] .dc-dossier-notes-text {
  color: #1e293b;
}

/* Actions Row: Balanced 3-Column Equal Height Grid */
.dc-dossier-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.btn-dossier-source {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 11px 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 44px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-dossier-source:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
}

.btn-dossier-bridge {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 11px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 44px;
  transition: all 0.2s ease;
}

.btn-dossier-bridge:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
  transform: translateY(-1px);
}

[data-theme="light"] .btn-dossier-bridge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.4);
}

@media (max-width: 680px) {
  .dc-dossier-actions {
    grid-template-columns: 1fr;
  }
}

/* Modal Footer Pager */
.dc-dossier-footer {
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  gap: 12px;
}

[data-theme="light"] .dc-dossier-footer {
  border-top-color: #e2e8f0;
  background: #f8fafc;
}

.btn-dossier-page {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 40px;
}

.btn-dossier-page:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-dossier-page:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

[data-theme="light"] .btn-dossier-page {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .btn-dossier-page:hover:not(:disabled) {
  background: #f1f5f9;
  color: #0f172a;
}

.dc-dossier-page-counter {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  color: var(--text-muted, #94a3b8);
}

@media (max-width: 580px) {
  .dc-dossier-modal-dialog {
    max-height: 94vh;
    border-radius: 14px;
  }

  .dc-dossier-header {
    padding: 14px 16px;
  }

  .dc-dossier-body {
    padding: 14px 16px;
  }

  .dc-dossier-fin-hud {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dc-dossier-grid {
    grid-template-columns: 1fr;
  }

  .dc-dossier-actions {
    flex-direction: column;
  }

  .btn-dossier-source,
  .btn-dossier-bridge {
    width: 100%;
  }

  .dc-dossier-footer {
    padding: 10px 14px;
  }

  .btn-dossier-page {
    padding: 8px 12px;
    font-size: 0.76rem;
  }
}


