/**
 * v2Proposal.css - V2 Advisor Proposal Workflow Styles
 * 
 * Styles for the consolidated Proposal experience:
 * - Accordion workflow with 4 steps
 * - Account mapping with detail drawer
 * - Tax location rules matrix
 * - Risk cards and Monte Carlo charts
 */

/* ==========================================================================
   CONTAINER LAYOUT
   ========================================================================== */

.v2-proposal-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--v2-bg-page);
}

.v2-consolidated-proposal-tab {
  height: 100%;
  overflow: auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.v2-proposal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--v2-border-color);
  background: var(--v2-bg-card);
}

.v2-proposal-header-info h2 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-proposal-header-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--v2-text-secondary);
}

.v2-proposal-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MAIN LAYOUT (RAIL + CONTENT + DRAWER)
   ========================================================================== */

.v2-proposal-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ==========================================================================
   WORKFLOW RAIL
   ========================================================================== */

.v2-proposal-rail {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px solid var(--v2-border-color);
  background: var(--v2-bg-card);
}

.v2-workflow-rail {
  padding: 16px 0;
}

.v2-workflow-rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.v2-workflow-rail-item:hover {
  background: var(--v2-bg-page);
}

.v2-workflow-rail-item.active {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: var(--v2-primary);
}

.v2-rail-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--v2-bg-page);
  color: var(--v2-text-secondary);
  font-size: 0.875rem;
}

.v2-workflow-rail-item.active .v2-rail-icon {
  background: var(--v2-primary);
  color: white;
}

.v2-rail-content {
  flex: 1;
  min-width: 0;
}

.v2-rail-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--v2-text-primary);
  margin-bottom: 2px;
}

.v2-rail-badge {
  font-size: 0.75rem;
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

.v2-proposal-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--v2-bg-page);
}

/* ==========================================================================
   ACCORDION SECTIONS
   ========================================================================== */

.v2-proposal-section {
  margin-bottom: 16px;
  border-radius: var(--v2-border-radius);
  border: 1px solid var(--v2-border-color);
  background: var(--v2-bg-card);
  overflow: hidden;
}

.v2-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  background: var(--v2-bg-elevated);
  transition: background 0.2s ease;
}

.v2-section-header:hover {
  background: var(--v2-bg-page);
}

.v2-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-section-title i {
  color: var(--v2-primary);
}

.v2-section-content {
  padding: 16px;
  border-top: 1px solid var(--v2-border-color);
}

.v2-section-description {
  margin: 0 0 16px 0;
  font-size: 0.875rem;
  color: var(--v2-text-secondary);
}

/* ==========================================================================
   MODEL SECTION
   ========================================================================== */

.v2-model-section .v2-form-group {
  margin-bottom: 16px;
}

.v2-model-section .v2-form-group > label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--v2-text-secondary);
}

.v2-model-section .v2-form-select {
  width: 100%;
  max-width: 400px;
}

.v2-model-info {
  margin-bottom: 16px;
}

.v2-model-meta {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--v2-text-secondary);
}

.v2-model-meta i {
  margin-right: 4px;
  color: var(--v2-text-muted);
}

.v2-model-chart-row {
  margin-bottom: 16px;
}

.v2-sleeve-chart-container h4,
.v2-sleeves-grid-container h4 {
  margin: 0 0 12px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-grid-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ==========================================================================
   CONSTRAINTS SECTION
   ========================================================================== */

.v2-constraints-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-constraints-panel {
  padding: 16px;
  border-radius: var(--v2-border-radius);
  background: var(--v2-bg-elevated);
  border: 1px solid var(--v2-border-color);
}

.v2-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.v2-panel-header h4 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-panel-header h4 i {
  margin-right: 8px;
  color: var(--v2-primary);
}

.v2-panel-description {
  margin: 0 0 12px 0;
  font-size: 0.8125rem;
  color: var(--v2-text-secondary);
}

.v2-constraints-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.v2-constraints-numeric {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.v2-form-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-form-inline label {
  font-size: 0.8125rem;
  color: var(--v2-text-secondary);
  white-space: nowrap;
}


/* ==========================================================================
   ANALYTICS SECTION
   ========================================================================== */

.v2-analytics-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-risk-mode-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--v2-border-radius);
  background: var(--v2-bg-elevated);
  border: 1px solid var(--v2-border-color);
}

.v2-risk-mode-panel > label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--v2-text-secondary);
}

.v2-btn-group {
  display: flex;
  gap: 0;
}

.v2-btn-group .v2-btn {
  border-radius: 0;
}

.v2-btn-group .v2-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.v2-btn-group .v2-btn:last-child {
  border-radius: 0 4px 4px 0;
}

/* Risk Cards */
.v2-risk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.v2-risk-card {
  padding: 16px;
  border-radius: var(--v2-border-radius);
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-color);
}

.v2-risk-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--v2-text-muted);
  margin-bottom: 12px;
}

.v2-risk-card-values {
  display: flex;
  gap: 16px;
}

.v2-risk-current,
.v2-risk-proposal {
  flex: 1;
}

.v2-risk-current .label,
.v2-risk-proposal .label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--v2-text-muted);
  margin-bottom: 4px;
}

.v2-risk-current .value,
.v2-risk-proposal .value {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--v2-text-secondary);
}

.v2-risk-proposal.active .value {
  color: var(--v2-primary);
}

/* Comparison Panels */
.v2-comparison-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.v2-comparison-panel {
  padding: 16px;
  border-radius: var(--v2-border-radius);
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-color);
}

.v2-comparison-panel h4 {
  margin: 0 0 12px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

/* Monte Carlo Panel */
.v2-monte-carlo-panel,
.v2-showcase-panel {
  padding: 16px;
  border-radius: var(--v2-border-radius);
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-color);
}

.v2-monte-carlo-panel h4,
.v2-showcase-panel h4 {
  margin: 0 0 12px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-showcase-disclaimer {
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.75rem;
  color: #D97706;
}

.v2-showcase-disclaimer i {
  margin-right: 6px;
}

/* Empty State */
.v2-proposal-container .v2-empty-state,
.v2-consolidated-proposal-tab .v2-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--v2-text-muted);
  text-align: center;
}

.v2-proposal-container .v2-empty-state i,
.v2-consolidated-proposal-tab .v2-empty-state i {
  margin-bottom: 12px;
  opacity: 0.5;
}

.v2-proposal-container .v2-empty-state p,
.v2-consolidated-proposal-tab .v2-empty-state p {
  margin: 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   ACCOUNT DRAWER
   ========================================================================== */

.v2-proposal-drawer {
  width: 0;
  flex-shrink: 0;
  border-left: 1px solid var(--v2-border-color);
  background: var(--v2-bg-card);
  transition: width 0.3s ease;
  overflow: hidden;
}

.v2-proposal-drawer.open {
  width: 360px;
}

.v2-drawer-content {
  width: 360px;
  padding: 16px;
  overflow-y: auto;
  height: 100%;
}

.v2-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.v2-drawer-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-drawer-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--v2-text-secondary);
}

.v2-drawer-section {
  margin-bottom: 20px;
}

.v2-drawer-section.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.v2-drawer-section h4 {
  margin: 0 0 12px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-drawer-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.v2-drawer-section-header h4 {
  margin: 0;
}

.v2-sleeve-override-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.v2-sleeve-name {
  flex: 1;
  font-size: 0.875rem;
  color: var(--v2-text-primary);
}

.v2-sleeve-override-row .v2-form-select {
  width: 160px;
}

.v2-select-sm {
  padding: 6px 10px !important;
  font-size: 0.8125rem !important;
  min-width: 140px;
}

.v2-input-sm {
  padding: 6px 10px !important;
  font-size: 0.8125rem !important;
  width: 80px;
}

.v2-security-overrides-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-security-override-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 4px;
  background: var(--v2-bg-page);
  border: 1px solid var(--v2-border-color);
}

.v2-security-override-item .ticker {
  font-family: monospace;
  font-weight: 600;
  color: var(--v2-text-primary);
}

.v2-security-override-item .value {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--v2-text-secondary);
}

.v2-drawer-empty-text {
  font-size: 0.8125rem;
  color: var(--v2-text-muted);
  font-style: italic;
}

.v2-drawer-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--v2-border-color);
}

.v2-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  color: var(--v2-text-muted);
  text-align: center;
}

.v2-drawer-empty i {
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.v2-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--v2-text-primary);
  cursor: pointer;
}

.v2-checkbox-large {
  font-size: 1rem;
  font-weight: 500;
}

.v2-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--v2-text-secondary);
  cursor: pointer;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.v2-proposal-container .badge,
.v2-consolidated-proposal-tab .badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.v2-proposal-container .badge-success,
.v2-consolidated-proposal-tab .badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.v2-proposal-container .badge-info,
.v2-consolidated-proposal-tab .badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #2563EB;
}

.v2-proposal-container .badge-warning,
.v2-consolidated-proposal-tab .badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.v2-proposal-container .badge-danger,
.v2-consolidated-proposal-tab .badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
}

.v2-proposal-container .badge-secondary,
.v2-consolidated-proposal-tab .badge-secondary {
  background: rgba(107, 114, 128, 0.15);
  color: #6B7280;
}

/* ==========================================================================
   LOADING STATE
   ========================================================================== */

.v2-loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--v2-text-muted);
}

.v2-loading-indicator i {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.v2-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--v2-danger);
}

.v2-error-state i {
  margin-bottom: 12px;
}

/* ==========================================================================
   DARK THEME OVERRIDES
   ========================================================================== */

.dark-theme .v2-proposal-container {
  background: #0c111a;
}

.dark-theme .v2-proposal-header {
  background: var(--v2-bg-surface, #111520);
  border-bottom-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-proposal-header-info h2 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-proposal-header-info p {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-proposal-rail {
  background: var(--v2-bg-surface, #111520);
  border-right-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-workflow-rail-item:hover {
  background: #161b26;
}

.dark-theme .v2-workflow-rail-item.active {
  background: rgba(59, 130, 246, 0.15);
  border-left-color: var(--v2-accent, #0d7cc4);
}

.dark-theme .v2-rail-icon {
  background: #0c111a;
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-workflow-rail-item.active .v2-rail-icon {
  background: var(--v2-accent, #0d7cc4);
  color: #ffffff;
}

.dark-theme .v2-rail-label {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-proposal-content {
  background: #0c111a;
}

.dark-theme .v2-proposal-section {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-section-header {
  background: #161b26;
}

.dark-theme .v2-section-header:hover {
  background: #1c222e;
}

.dark-theme .v2-section-title {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-section-title i {
  color: var(--v2-accent, #0d7cc4);
}

.dark-theme .v2-section-content {
  border-top-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-section-description {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-model-section .v2-form-group > label {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-model-meta {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-sleeve-chart-container h4,
.dark-theme .v2-sleeves-grid-container h4 {
  color: var(--v2-text-primary, #e6e9f0);
}

/* Constraints - Dark */
.dark-theme .v2-constraints-panel {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-panel-header h4 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-panel-header h4 i {
  color: var(--v2-accent, #0d7cc4);
}

.dark-theme .v2-panel-description {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-form-inline label {
  color: var(--v2-text-muted, #8b92a5);
}

/* Analytics - Dark */
.dark-theme .v2-risk-mode-panel {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-risk-mode-panel > label {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-risk-card {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-risk-card-label {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-risk-current .label,
.dark-theme .v2-risk-proposal .label {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-risk-current .value,
.dark-theme .v2-risk-proposal .value {
  color: var(--v2-text-secondary, #a3a8b8);
}

.dark-theme .v2-risk-proposal.active .value {
  color: var(--v2-accent, #0d7cc4);
}

.dark-theme .v2-comparison-panel {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-comparison-panel h4 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-monte-carlo-panel,
.dark-theme .v2-showcase-panel {
  background: var(--v2-bg-surface, #111520);
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-monte-carlo-panel h4,
.dark-theme .v2-showcase-panel h4 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-showcase-disclaimer {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}

/* Empty State - Dark */
.dark-theme .v2-proposal-container .v2-empty-state,
.dark-theme .v2-consolidated-proposal-tab .v2-empty-state {
  color: var(--v2-text-muted, #8b92a5);
}

/* Drawer - Dark */
.dark-theme .v2-proposal-drawer {
  background: var(--v2-bg-surface, #111520);
  border-left-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-drawer-header h3 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-drawer-meta {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-drawer-section h4 {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-sleeve-name {
  color: var(--v2-text-primary, #e6e9f0);
}


.dark-theme .v2-security-override-item {
  background: #0c111a;
  border-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-security-override-item .ticker {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-security-override-item .value {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-drawer-empty-text {
  color: var(--v2-text-muted, #8b92a5);
}

.dark-theme .v2-drawer-footer {
  border-top-color: var(--v2-border, #1e2433);
}

.dark-theme .v2-drawer-empty {
  color: var(--v2-text-muted, #8b92a5);
}

/* Form Elements - Dark */
.dark-theme .v2-checkbox-label {
  color: var(--v2-text-primary, #e6e9f0);
}

.dark-theme .v2-toggle-label {
  color: var(--v2-text-muted, #8b92a5);
}

/* Badges - Dark */
.dark-theme .v2-proposal-container .badge-success,
.dark-theme .v2-consolidated-proposal-tab .badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.dark-theme .v2-proposal-container .badge-info,
.dark-theme .v2-consolidated-proposal-tab .badge-info {
  background: rgba(59, 130, 246, 0.2);
  color: #3B82F6;
}

.dark-theme .v2-proposal-container .badge-warning,
.dark-theme .v2-consolidated-proposal-tab .badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
}

.dark-theme .v2-proposal-container .badge-danger,
.dark-theme .v2-consolidated-proposal-tab .badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.dark-theme .v2-proposal-container .badge-secondary,
.dark-theme .v2-consolidated-proposal-tab .badge-secondary {
  background: rgba(107, 114, 128, 0.2);
  color: #9CA3AF;
}

/* Loading - Dark */
.dark-theme .v2-loading-indicator {
  color: var(--v2-text-muted, #8b92a5);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .v2-proposal-rail {
    width: 60px;
  }
  
  .v2-rail-content {
    display: none;
  }
  
  .v2-proposal-drawer.open {
    width: 300px;
  }
  
  .v2-drawer-content {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .v2-comparison-panels {
    grid-template-columns: 1fr;
  }
  
  .v2-proposal-drawer.open {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 600px) {
  .v2-proposal-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .v2-proposal-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .v2-risk-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HIGHCHARTS DARK THEME OVERRIDES
   ========================================================================== */

.dark-theme .v2-proposal-container .highcharts-background,
.dark-theme .v2-consolidated-proposal-tab .highcharts-background {
  fill: transparent;
}

.dark-theme .v2-proposal-container .highcharts-title,
.dark-theme .v2-proposal-container .highcharts-subtitle,
.dark-theme .v2-consolidated-proposal-tab .highcharts-title,
.dark-theme .v2-consolidated-proposal-tab .highcharts-subtitle {
  fill: var(--v2-text-primary, #e6e9f0) !important;
}

.dark-theme .v2-proposal-container .highcharts-axis-labels text,
.dark-theme .v2-proposal-container .highcharts-legend-item text,
.dark-theme .v2-consolidated-proposal-tab .highcharts-axis-labels text,
.dark-theme .v2-consolidated-proposal-tab .highcharts-legend-item text {
  fill: var(--v2-text-muted, #8b92a5) !important;
}

.dark-theme .v2-proposal-container .highcharts-axis-title,
.dark-theme .v2-consolidated-proposal-tab .highcharts-axis-title {
  fill: var(--v2-text-muted, #8b92a5) !important;
}

.dark-theme .v2-proposal-container .highcharts-grid-line,
.dark-theme .v2-consolidated-proposal-tab .highcharts-grid-line {
  stroke: var(--v2-border, #1e2433);
}

.dark-theme .v2-proposal-container .highcharts-tooltip-box,
.dark-theme .v2-consolidated-proposal-tab .highcharts-tooltip-box {
  fill: var(--v2-bg-surface, #111520);
  stroke: var(--v2-border, #1e2433);
}

.dark-theme .v2-proposal-container .highcharts-tooltip text,
.dark-theme .v2-consolidated-proposal-tab .highcharts-tooltip text {
  fill: var(--v2-text-primary, #e6e9f0) !important;
}

