/* Live Set Report */

.live-hero {
  text-align: center;
  padding: 60px 20px 30px;
}

.live-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--matrix-green);
  letter-spacing: 0.15em;
  margin: 0;
}

.live-sub {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.live-summary {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.summary-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.summary-chip.good {
  color: var(--matrix-green);
  border: 1px solid rgba(0, 255, 65, 0.3);
}

.summary-chip.ok {
  color: var(--matrix-green);
  border: 1px solid rgba(0, 255, 65, 0.3);
}

.summary-chip.warn {
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.summary-chip.fix {
  color: var(--matrix-red);
  border: 1px solid rgba(255, 0, 64, 0.3);
}

/* Table */

.live-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  overflow-x: auto;
}

.live-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.live-table thead th {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
}

.live-table tbody tr {
  border-bottom: 1px solid rgba(0, 255, 65, 0.08);
  transition: background 0.15s;
}

.live-table tbody tr:hover {
  background: rgba(0, 255, 65, 0.04);
}

.live-table td {
  padding: 12px;
  vertical-align: top;
}

/* Columns */

.col-num {
  width: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.col-name {
  width: 160px;
  font-weight: 600;
  white-space: nowrap;
}

.col-notes {
  color: var(--text-muted);
  line-height: 1.5;
}

.col-edit {
  width: 36px;
  text-align: center;
}

.col-status {
  width: 30px;
  text-align: center;
}

.no-notes {
  color: rgba(160, 170, 181, 0.3);
}

/* Status dot */

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

.status-dot.good {
  background: var(--matrix-green);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
}

.status-dot.ok {
  background: var(--matrix-green);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
}

.status-dot.warn {
  background: #ffaa00;
  box-shadow: 0 0 6px rgba(255, 170, 0, 0.5);
}

.status-dot.fix {
  background: var(--matrix-red);
  box-shadow: 0 0 6px rgba(255, 0, 64, 0.5);
}

/* Row tint by status */

tr[data-status="fix"] .col-name {
  color: var(--matrix-red);
}

tr[data-status="good"] .col-name {
  color: var(--matrix-green);
}

tr[data-status="warn"] .col-name {
  color: #ffaa00;
}

tr[data-status="ok"] .col-name {
  color: var(--matrix-green);
}

/* Edit button */

.edit-btn,
.save-btn {
  background: none;
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: var(--text-muted);
  font-size: 0.9rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s;
  padding: 0;
  line-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.edit-btn:hover {
  color: var(--matrix-green);
  border-color: var(--matrix-green);
}

.save-btn {
  color: var(--matrix-green);
  border-color: rgba(0, 255, 65, 0.4);
  font-size: 1rem;
}

.save-btn:hover {
  border-color: var(--matrix-green);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
}

/* Notes textarea */

.notes-input {
  width: 100%;
  min-height: 60px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 8px;
  resize: vertical;
  border-radius: 2px;
  line-height: 1.5;
}

.notes-input:focus {
  outline: none;
  border-color: var(--border-active);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.15);
}

/* Arrangement notes */

.arrangement-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.arrangement-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.arrangement-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--matrix-green);
  letter-spacing: 0.15em;
  margin: 0;
}

.arrangement-display {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 12px 16px;
  background: rgba(0, 255, 65, 0.02);
  border: 1px solid rgba(0, 255, 65, 0.08);
  border-radius: 2px;
}

.arrangement-input {
  min-height: 100px;
}

/* Responsive */

@media (max-width: 600px) {
  .live-table {
    font-size: 0.8rem;
  }

  .col-name {
    width: auto;
    min-width: 100px;
  }

  .live-table td,
  .live-table th {
    padding: 10px 8px;
  }
}
