:root {
  --idle: #2e7d32;
  --running: #1565c0;
  --spin: #e65100;
  --maintenance: #757575;
  --bg: #f5f6f8;
  --card-bg: #ffffff;
  --text: #1c1c1e;
  --text-muted: #6b7280;
  --border: #e2e4e8;
  --header-bg: #2b2f38;
  --header-text: #f5f6f8;
  --row-alt: #fafbfc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

header { text-align: center; margin-bottom: 20px; }
header h1 { font-size: 1.4rem; margin: 0 0 4px; }
.subtitle { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 6px; }
.notice { color: var(--spin); font-size: 0.82rem; font-weight: 600; margin: 0; }

.board {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.board-table thead th {
  background: var(--header-bg);
  color: var(--header-text);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 10px 12px;
  text-align: left;
}

.board-table tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.board-table tbody tr:last-child td { border-bottom: none; }
.board-table tbody tr:nth-child(even) { background: var(--row-alt); }

.board-table .type-label { white-space: nowrap; }
.board-table .type-inner { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.board-table .icon-group { display: inline-flex; align-items: center; gap: 2px; color: var(--text-muted); flex-shrink: 0; }
.board-table .icon-group svg { display: block; }
.board-table .name-lines { font-weight: 600; line-height: 1.25; }
.board-table .name-lines a { color: var(--text); text-decoration: none; }
.board-table .name-lines a:hover { color: var(--running); }
.board-table .remaining-cell { min-width: 120px; font-size: 0.85rem; color: var(--text); }

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--maintenance);
  white-space: nowrap;
}

.status-idle .badge { background: var(--idle); }
.status-running .badge { background: var(--running); }
.status-maintenance .badge { background: var(--maintenance); }

.progress {
  margin-top: 6px;
  height: 5px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--running);
  transition: width 0.4s ease;
}

footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
