.symbol-card {
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--bl-surface-overlay) 92%, var(--card-elevated)) 0%,
    color-mix(in oklab, var(--bl-surface-overlay) 78%, var(--background)) 100%
  );
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--bl-border-subtle);
  transition: transform 0.2s, box-shadow 0.2s;
}

.symbol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px color-mix(in oklab, var(--foreground) 22%, transparent);
}

.symbol-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.session-info {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vol-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.vol-label.high {
  color: var(--bl-danger);
}

.vol-label.med {
  color: var(--bl-warning);
}

.vol-label.low {
  color: var(--bl-success);
}

.symbol-header h2 {
  color: var(--foreground);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.price-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price {
  font-size: 26px;
  font-weight: 700;
  color: var(--foreground);
}

.change-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.change-item {
  font-size: 11px;
  font-weight: 600;
}

.change-item.up {
  color: var(--bl-success);
}

.change-item.down {
  color: var(--bl-danger);
}

.signal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.signal-time {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 500;
}

.rules-section {
  margin-bottom: 24px;
}

.rules-section h3,
.indicators-section h3 {
  color: var(--bl-text-faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-weight: 600;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.rule-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-execution {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  border: 1px solid var(--bl-border-soft);
  background: color-mix(in oklab, var(--foreground) 4%, transparent);
  color: var(--foreground);
}

.profile-execution.executed {
  border-color: color-mix(in oklab, var(--bl-success) 35%, transparent);
  background: color-mix(in oklab, var(--bl-success) 8%, transparent);
  color: var(--bl-success);
}

.profile-execution.blocked {
  border-color: color-mix(in oklab, var(--bl-danger) 35%, transparent);
  background: color-mix(in oklab, var(--bl-danger) 8%, transparent);
  color: var(--bl-danger);
}

.profile-execution.skipped {
  border-color: color-mix(in oklab, var(--bl-border) 82%, transparent);
  background: color-mix(in oklab, var(--foreground) 3%, transparent);
  color: var(--bl-text-quiet);
}

.profile-execution-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.profile-execution-head code {
  font-size: 10px;
  color: var(--foreground);
  background: color-mix(in oklab, var(--foreground) 12%, transparent);
  border-radius: 4px;
  padding: 1px 5px;
}

.profile-execution-reason {
  font-size: 10px;
  line-height: 1.35;
}

.rule-status {
  justify-content: center;
  width: 100%;
  text-transform: none;
}

.ai-details {
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  margin-top: -4px;
  border-left: 3px solid transparent;
  background: color-mix(in oklab, var(--foreground) 3%, transparent);
}

.ai-details.passed {
  background: color-mix(in oklab, var(--bl-success) 5%, transparent);
  border-color: var(--bl-success);
}

.ai-details.failed {
  background: color-mix(in oklab, var(--bl-danger) 5%, transparent);
  border-color: var(--bl-danger);
}

.ai-confidence {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 12px;
}

.ai-details.passed .ai-confidence {
  color: var(--bl-success);
}

.ai-details.failed .ai-confidence {
  color: var(--bl-danger);
}

.ai-reasoning {
  color: var(--bl-text-quiet);
  line-height: 1.4;
  font-style: italic;
}

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

.indicator {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  border-radius: 8px;
  border: 1px solid var(--bl-border-subtle);
}

.indicator-label {
  color: var(--bl-text-faint);
  font-size: 12px;
  font-weight: 500;
}

.indicator-value {
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
}

/* Active Position Panel */

.active-position-panel {
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
  border-left: 4px solid var(--bl-text-faint);
}

.active-position-panel.buy {
  border-left-color: var(--bl-success);
}

.active-position-panel.sell {
  border-left-color: var(--bl-danger);
}

.pos-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pos-label {
  color: var(--bl-text-quiet);
}

.buy .pos-label {
  color: var(--bl-success);
}

.sell .pos-label {
  color: var(--bl-danger);
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pos-item {
  display: flex;
  flex-direction: column;
}

.pos-item .label {
  font-size: 0.65rem;
  color: var(--bl-text-quiet);
  text-transform: uppercase;
}

.pos-item .value {
  font-size: 0.85rem;
  font-weight: 500;
}

.pos-item.sl .value {
  color: var(--bl-danger);
}

.pos-item.tp .value {
  color: var(--bl-success);
}
