/* Side Jobs Dashboard - CSS
 * Uses hex-ui CSS custom properties set by applyTheme()
 * Optimized for older hardware: no blur, no complex filters
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Inter:wght@300;400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--hex-bg, #0f1419);
  color: var(--hex-text, #e8eaed);
  font-family: var(--hex-font-body, sans-serif);
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(15, 20, 25, 0.9);
  border-bottom: 1px solid var(--hex-border, #2a3040);
  z-index: 100;
}

#header h1 {
  font-family: var(--hex-font-heading, serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--hex-accent, #4a9eff);
}

#last-updated {
  font-size: 10px;
  color: var(--hex-text-muted, #5c6370);
}

#refresh-btn {
  background: none;
  border: 1px solid var(--hex-accent, #4a9eff);
  color: var(--hex-accent, #4a9eff);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--hex-font-body, sans-serif);
  opacity: 0.6;
}

#refresh-btn:hover {
  opacity: 1;
  background: rgba(74, 158, 255, 0.1);
}

/* ===== BANNER STACK (blockers + decisions) ===== */
#banner-stack {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

#banner-stack > * {
  pointer-events: auto;
}

/* ===== BLOCKER BANNER ===== */
#blockers {
  display: flex;
  gap: 8px;
  padding: 8px 20px;
  overflow-x: auto;
}

#blockers:empty {
  display: none;
}

.blocker-card {
  flex-shrink: 0;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid var(--hex-status-blocked, #ff6b6b);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blocker-name {
  font-weight: 500;
  color: var(--hex-status-blocked, #ff6b6b);
}

.blocker-reason {
  color: var(--hex-text-muted, #5c6370);
}

/* ===== DECISIONS BANNER ===== */
#decisions-banner {
  display: flex;
  gap: 8px;
  padding: 6px 20px;
  overflow-x: auto;
}

#decisions-banner:empty {
  display: none;
}

.decision-banner-card {
  flex-shrink: 0;
  background: rgba(255, 217, 61, 0.08);
  border: 1px solid var(--hex-status-new, #ffd93d);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s;
  max-width: 340px;
}

.decision-banner-card:hover {
  background: rgba(255, 217, 61, 0.15);
}

.decision-banner-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.decision-banner-project {
  font-weight: 500;
  color: var(--hex-status-new, #ffd93d);
  white-space: nowrap;
}

.decision-banner-question {
  color: var(--hex-text-muted, #5c6370);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== RECOMMENDATIONS PANEL ===== */
#recommendations {
  position: fixed;
  top: 56px;
  right: 12px;
  width: 260px;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  z-index: 80;
  background: rgba(15, 20, 25, 0.92);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 8px;
  padding: 12px;
}

#recommendations h3 {
  font-family: var(--hex-font-heading, serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hex-accent, #4a9eff);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rec-card {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hex-border, #2a3040);
  cursor: pointer;
}

.rec-card:last-child {
  border-bottom: none;
}

.rec-rank {
  font-family: var(--hex-font-heading, serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--hex-accent, #4a9eff);
  min-width: 24px;
  text-align: center;
  opacity: 0.6;
}

.rec-info {
  flex: 1;
  min-width: 0;
}

.rec-name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-reason {
  font-size: 9px;
  color: var(--hex-text-muted, #5c6370);
  margin-bottom: 4px;
}

.rec-effort {
  display: flex;
  gap: 6px;
  font-size: 10px;
  align-items: center;
}

.effort-matt {
  color: var(--hex-effort-matt-light, #ffa500);
}

.effort-agent {
  color: var(--hex-effort-agent-only, #4ecdc4);
}

.effort-label {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.06);
}

.effort-label.quick-win { color: var(--hex-effort-quick-win, #ffd93d); }
.effort-label.matt-light { color: var(--hex-effort-matt-light, #ffa500); }
.effort-label.matt-heavy { color: var(--hex-effort-matt-heavy, #ff6b6b); }
.effort-label.agent-only { color: var(--hex-effort-agent-only, #4ecdc4); }
.effort-label.agent-grind { color: var(--hex-effort-agent-grind, #4a9eff); }
.effort-label.blocked { color: var(--hex-effort-blocked, #ff6b6b); }

/* ===== QUICK WINS PANEL ===== */
#quick-wins {
  position: fixed;
  top: 110px;
  left: 12px;
  width: 240px;
  z-index: 80;
  background: rgba(15, 20, 25, 0.92);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 8px;
  padding: 12px;
}

#quick-wins:empty {
  display: none;
}

#quick-wins h3 {
  font-family: var(--hex-font-heading, serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hex-effort-quick-win, #ffd93d);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.qw-card {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hex-border, #2a3040);
  cursor: pointer;
  align-items: center;
}

.qw-card:last-child {
  border-bottom: none;
}

.qw-icon {
  font-size: 16px;
  min-width: 22px;
  text-align: center;
}

.qw-info {
  flex: 1;
  min-width: 0;
}

.qw-name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qw-meta {
  font-size: 9px;
  color: var(--hex-text-muted, #5c6370);
}

.qw-time {
  font-size: 10px;
  color: var(--hex-effort-quick-win, #ffd93d);
  white-space: nowrap;
}

/* ===== HEX CONTAINER ===== */
#hex-container {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
}

#hex-svg {
  width: 100%;
  height: 100%;
  background: var(--hex-bg, #0f1419);
}

/* ===== HEX SHAPES ===== */
.hex-shape {
  fill: rgba(74, 158, 255, 0.06);
  stroke: var(--hex-text-muted, #5c6370);
  stroke-width: var(--hex-stroke-width, 1.5);
  transition: stroke-width 0.2s;
}

.hex-group:hover .hex-shape {
  stroke-width: var(--hex-hover-stroke-width, 2.5);
}

/* Status-specific hex styles */
.hex-group.blocked .hex-shape {
  stroke: var(--hex-status-blocked, #ff6b6b);
  fill: rgba(255, 107, 107, 0.08);
}

.hex-group.active .hex-shape {
  stroke: var(--hex-status-active, #4ecdc4);
  fill: rgba(78, 205, 196, 0.06);
}

.hex-group.in_progress .hex-shape {
  stroke: var(--hex-status-in_progress, #4a9eff);
  fill: rgba(74, 158, 255, 0.08);
  stroke-width: 2;
}

.hex-group.new .hex-shape {
  stroke: var(--hex-status-new, #ffd93d);
  fill: rgba(255, 217, 61, 0.06);
}

.hex-group.paused .hex-shape {
  stroke: var(--hex-status-paused, #8b7355);
  fill: rgba(139, 115, 85, 0.06);
}

.hex-group.complete .hex-shape {
  stroke: var(--hex-status-complete, #45b7aa);
  stroke-dasharray: var(--hex-completed-dash, 4 2);
  fill: rgba(69, 183, 170, 0.04);
}

/* Recommended project highlight */
.hex-group.recommended .hex-shape {
  stroke-width: 2.5;
}

/* ===== HEX TEXT ===== */
.hex-title {
  font-family: var(--hex-font-body, sans-serif);
  font-size: 10px;
  font-weight: 500;
  fill: var(--hex-text, #e8eaed);
  pointer-events: none;
}

.hex-status {
  font-size: 7px;
  letter-spacing: 0.1em;
  fill: var(--hex-text-muted, #5c6370);
  pointer-events: none;
}

.hex-agents {
  font-size: 7px;
  fill: var(--hex-text-muted, #5c6370);
  pointer-events: none;
  opacity: 0.7;
}

.hex-badge {
  pointer-events: none;
}

.status-dot {
  fill: var(--hex-text-muted, #5c6370);
}

.hex-group.blocked .status-dot { fill: var(--hex-status-blocked); }
.hex-group.active .status-dot { fill: var(--hex-status-active); }
.hex-group.in_progress .status-dot { fill: var(--hex-status-in_progress); }
.hex-group.new .status-dot { fill: var(--hex-status-new); }
.hex-group.paused .status-dot { fill: var(--hex-status-paused); }
.hex-group.complete .status-dot { fill: var(--hex-status-complete); }

/* ===== AGENTS PANEL ===== */
#agents-panel {
  position: fixed;
  bottom: 12px;
  right: 12px;
  width: 260px;
  background: rgba(15, 20, 25, 0.92);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 8px;
  padding: 12px;
  z-index: 80;
}

#agents-panel h3 {
  font-family: var(--hex-font-heading, serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hex-text-muted, #5c6370);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.agent-row {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  font-size: 11px;
  align-items: baseline;
}

.agent-name {
  color: var(--hex-accent, #4a9eff);
  font-weight: 500;
  min-width: 48px;
}

.agent-focus {
  color: var(--hex-text-muted, #5c6370);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.agent-focus.blocked-focus {
  color: var(--hex-status-blocked, #ff6b6b);
}

/* ===== ZOOM CONTROLS ===== */
#zoom-controls {
  position: fixed;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 4px;
  z-index: 80;
}

#zoom-controls button {
  width: 32px;
  height: 32px;
  background: rgba(15, 20, 25, 0.92);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 6px;
  color: var(--hex-text, #e8eaed);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#zoom-controls button:active {
  background: rgba(74, 158, 255, 0.15);
}

/* ===== RING LEGEND ===== */
#ring-legend {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 80;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ring-label {
  color: var(--hex-text-muted, #5c6370);
  opacity: 0.6;
}

.ring-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.ring-label.tier1::before { background: var(--hex-status-blocked, #ff6b6b); }
.ring-label.tier2::before { background: var(--hex-status-in_progress, #4a9eff); }
.ring-label.tier3::before { background: var(--hex-status-active, #4ecdc4); }
.ring-label.standing::before { background: var(--hex-text-muted, #5c6370); }
.ring-label.complete-ring::before { background: var(--hex-status-complete, #45b7aa); opacity: 0.5; }

/* ===== TOOLTIP ===== */
.hex-tooltip {
  background: rgba(15, 20, 25, 0.95);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 8px;
  padding: 12px;
  max-width: 280px;
  font-family: var(--hex-font-body, sans-serif);
  color: var(--hex-text, #e8eaed);
}

.hex-tt-title {
  font-family: var(--hex-font-heading, serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hex-tt-status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hex-tt-fields {
  font-size: 11px;
  margin-bottom: 6px;
}

.hex-tt-field {
  margin-bottom: 2px;
}

.hex-tt-label {
  color: var(--hex-text-muted, #5c6370);
}

.hex-tt-list {
  font-size: 10px;
  color: var(--hex-text-muted, #5c6370);
  border-top: 1px solid var(--hex-border, #2a3040);
  padding-top: 6px;
  margin-top: 6px;
  max-height: 80px;
  overflow: hidden;
}

.hex-tt-list-item::before {
  content: "\2022  ";
}

.hex-tt-footer {
  font-size: 10px;
  color: var(--hex-text-muted, #5c6370);
  margin-top: 6px;
  font-style: italic;
}

/* ===== DETAIL PANEL (slide-in from right) ===== */
#detail-panel {
  position: fixed;
  top: 48px; right: 0; bottom: 0;
  width: 360px;
  background: rgba(15, 20, 25, 0.97);
  border-left: 1px solid var(--hex-border, #2a3040);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 250ms ease-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#detail-panel.open {
  transform: translateX(0);
}

#panel-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: none;
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 6px;
  color: var(--hex-text-muted, #5c6370);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

#panel-close:hover {
  color: var(--hex-text, #e8eaed);
  border-color: var(--hex-text-muted, #5c6370);
}

#panel-content {
  padding: 20px;
}

.panel-name {
  font-family: var(--hex-font-heading, 'Cormorant Garamond', serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-right: 40px;
}

.panel-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  height: 28px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.panel-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--hex-accent, #4a9eff);
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.25);
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-family: var(--hex-font-body, sans-serif);
}

.panel-action-btn:hover {
  background: rgba(74, 158, 255, 0.2);
}

.panel-action-btn[title]:hover {
  position: relative;
}

.panel-action-btn.ping-active {
  color: var(--hex-status-active, #4ecdc4);
  border-color: rgba(78, 205, 196, 0.4);
  background: rgba(78, 205, 196, 0.15);
}

.panel-section {
  margin-bottom: 16px;
}

.panel-section-title {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hex-text-muted, #5c6370);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hex-border, #2a3040);
}

.panel-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  margin-bottom: 4px;
}

.panel-field-label {
  color: var(--hex-text-muted, #5c6370);
}

.panel-field-value {
  font-weight: 500;
}

/* Effort breakdown bar */
.effort-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 4px;
  background: var(--hex-border, #2a3040);
}

.effort-bar-matt {
  background: var(--hex-effort-matt-light, #ffa500);
}

.effort-bar-agent {
  background: var(--hex-effort-agent-only, #4ecdc4);
}

.effort-legend {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--hex-text-muted, #5c6370);
}

.effort-legend-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

/* Agent tags */
.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.agent-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(74, 158, 255, 0.1);
  color: var(--hex-accent, #4a9eff);
  border: 1px solid rgba(74, 158, 255, 0.2);
}

/* Completed items */
.completed-item {
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--hex-text-muted, #5c6370);
  padding-left: 14px;
  position: relative;
}

.completed-item::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--hex-status-complete, #45b7aa);
  opacity: 0.5;
}

/* Next steps */
.next-step-item {
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--hex-text, #e8eaed);
  padding-left: 14px;
  position: relative;
}

.next-step-item::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--hex-accent, #4a9eff);
}

/* Notes */
.panel-notes {
  font-size: 11px;
  color: var(--hex-text-muted, #5c6370);
  line-height: 1.5;
  font-style: italic;
}

/* ===== DECISION INBOX ===== */
.decision-section {
  margin-bottom: 20px;
  border-left: 3px solid var(--hex-status-new, #ffd93d);
  background: rgba(255, 217, 61, 0.05);
  border-radius: 0 8px 8px 0;
  padding: 12px;
}

.decision-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.decision-icon {
  font-size: 16px;
}

.decision-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hex-status-new, #ffd93d);
}

.decision-question {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--hex-text, #e8eaed);
}

.decision-meta {
  font-size: 10px;
  color: var(--hex-text-muted, #5c6370);
  margin-bottom: 8px;
}

.decision-context {
  font-size: 11px;
  color: var(--hex-text-muted, #5c6370);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.decision-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.decision-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: rgba(15, 20, 25, 0.6);
}

.decision-option:hover {
  border-color: var(--hex-status-new, #ffd93d);
  background: rgba(255, 217, 61, 0.06);
}

.decision-option.expanded {
  border-color: var(--hex-accent, #4a9eff);
  background: rgba(74, 158, 255, 0.06);
  flex-direction: column;
  align-items: stretch;
}

.decision-option.sent {
  border-color: var(--hex-status-active, #4ecdc4);
  background: rgba(78, 205, 196, 0.08);
  pointer-events: none;
}

.agent-initial {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
  color: var(--hex-bg, #0f1419);
}

.agent-initial.dave { background: var(--hex-accent, #4a9eff); }
.agent-initial.inara { background: #c084fc; }
.agent-initial.lucy { background: #f472b6; }
.agent-initial.kaylee { background: var(--hex-status-active, #4ecdc4); }
.agent-initial.wash { background: #fb923c; }
.agent-initial.zack { background: #a78bfa; }
.agent-initial.river { background: #38bdf8; }
.agent-initial.matt { background: var(--hex-status-new, #ffd93d); }

.decision-option-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.decision-option-label {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}

.decision-option-from {
  font-size: 9px;
  color: var(--hex-text-muted, #5c6370);
}

.decision-expanded-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--hex-border, #2a3040);
}

.decision-message-preview {
  font-size: 11px;
  line-height: 1.5;
  color: var(--hex-text, #e8eaed);
  margin-bottom: 8px;
  white-space: pre-wrap;
}

.decision-message-edit {
  width: 100%;
  font-size: 11px;
  line-height: 1.5;
  color: var(--hex-text, #e8eaed);
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid var(--hex-border, #2a3040);
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
  resize: vertical;
  min-height: 60px;
  font-family: var(--hex-font-body, sans-serif);
}

.decision-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.decision-btn {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid;
  cursor: pointer;
  font-family: var(--hex-font-body, sans-serif);
  transition: background 0.15s;
}

.decision-btn-send {
  color: #0f1419;
  background: var(--hex-status-new, #ffd93d);
  border-color: var(--hex-status-new, #ffd93d);
}

.decision-btn-send:hover {
  background: #ffe566;
}

.decision-btn-edit {
  color: var(--hex-text-muted, #5c6370);
  background: none;
  border-color: var(--hex-border, #2a3040);
}

.decision-btn-edit:hover {
  color: var(--hex-text, #e8eaed);
  border-color: var(--hex-text-muted, #5c6370);
}

.decision-sent-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--hex-status-active, #4ecdc4);
  padding: 4px 0;
}

/* Decisions pending badge in header */
.decisions-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  color: var(--hex-status-new, #ffd93d);
  background: rgba(255, 217, 61, 0.12);
  border: 1px solid rgba(255, 217, 61, 0.3);
  border-radius: 4px;
  padding: 3px 8px;
  margin-left: 12px;
  cursor: default;
}

/* Decision-pending hex animation */
.hex-group.has-decision .hex-shape {
  stroke: var(--hex-status-new, #ffd93d);
}

/* Selected hex highlight */
.hex-group.selected .hex-shape {
  stroke-width: 3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #detail-panel {
    width: 80vw;
  }

  #recommendations {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 8px 8px 0 0;
    max-height: 40vh;
    overflow-y: auto;
  }

  #quick-wins {
    display: none;
  }

  #agents-panel {
    display: none;
  }

  #ring-legend {
    display: none;
  }
}
