:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #1b2028;
  --muted: #6b7480;
  --border: #dde2e8;
  --accent: #2f6feb;
  --pass: #16794c;
  --fail: #c0392b;
  --warn: #b26a00;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --surface: #1a1f27;
    --surface-2: #222935;
    --text: #e6eaf0;
    --muted: #98a3b3;
    --border: #2c3441;
    --accent: #5b9cff;
    --pass: #4ac081;
    --fail: #ff7a6b;
    --warn: #e0a94a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

button,
select {
  font: inherit;
  color: inherit;
}

/* header */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brand {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.project-select {
  max-width: 220px;
  padding: 6px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.chip {
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.chip-total {
  color: var(--text);
}

.btn {
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-icon {
  padding: 2px 10px;
  font-size: 18px;
  line-height: 1.2;
}

/* error banner */
.banner {
  padding: 8px 14px;
  background: var(--fail);
  color: #fff;
  font-size: 13px;
}

/* layout */
.main {
  flex: 1;
  min-height: 0;
  display: flex;
}

.board {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
}

.col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.col-count {
  color: var(--muted);
  font-weight: 400;
}

.col-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* cards */
.card {
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.card:hover,
.card:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent) inset;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-id {
  font-weight: 700;
  font-size: 12px;
}

.card-round,
.card-status,
.card-dev,
.card-time {
  color: var(--muted);
  font-size: 12px;
}

.card-badge {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}

.card-title {
  margin: 4px 0 6px;
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card.is-running {
  border-color: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card.is-running {
    animation: none;
  }
}

/* side panel */
.panel {
  width: 480px;
  flex: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border-left: 1px solid var(--border);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.panel-heading {
  flex: 1;
  min-width: 0;
}

.panel-title {
  display: block;
  font-weight: 700;
  word-break: break-word;
}

.panel-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.tab {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}

.empty {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

/* markdown */
.panel-body h1,
.panel-body h2,
.panel-body h3 {
  margin: 12px 0 6px;
  line-height: 1.35;
}

.panel-body h1 {
  font-size: 18px;
}

.panel-body h2 {
  font-size: 16px;
}

.panel-body h3 {
  font-size: 15px;
}

.panel-body p {
  margin: 6px 0;
  word-break: break-word;
}

.panel-body ul,
.panel-body ol {
  margin: 6px 0;
  padding-left: 22px;
}

.panel-body li {
  margin: 2px 0;
  word-break: break-word;
}

.panel-body li.md-task {
  list-style: none;
  margin-left: -18px;
}

.panel-body li.md-task input {
  margin-right: 6px;
}

.panel-body code {
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}

.panel-body pre,
.panel-body .raw {
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  overflow-x: auto;
}

.panel-body pre code {
  padding: 0;
  border: 0;
  background: none;
}

.panel-body pre,
.panel-body .raw {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  white-space: pre-wrap;
  word-break: break-word;
}

.panel-body blockquote {
  margin: 8px 0;
  padding: 4px 12px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

.panel-body a {
  color: var(--accent);
}

.verdict {
  display: inline-block;
  margin: 8px 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.verdict-pass {
  background: var(--pass);
  color: #fff;
}

.verdict-fail {
  background: var(--fail);
  color: #fff;
}

/* panel file sections */
.file {
  margin-bottom: 16px;
}

.file-name {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* timeline */
.events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.event {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.event-time {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.event-label {
  font-weight: 600;
}

.event-detail {
  color: var(--muted);
  word-break: break-word;
}

.event.ev-pass .event-detail {
  color: var(--pass);
  font-weight: 700;
}

.event.ev-fail .event-detail {
  color: var(--fail);
  font-weight: 700;
}

/* phone */
@media (max-width: 800px) {
  html,
  body {
    height: 100dvh;
    overflow: hidden;
    overflow-x: hidden;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px;
    flex: none;
    min-height: 0;
  }

  .brand {
    order: 1;
    font-size: 14px;
    flex: none;
  }

  .project-select {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding: 4px 6px;
    font-size: 13px;
  }

  #plan-btn {
    order: 4;
    flex: none;
    padding: 4px 8px;
    font-size: 12px;
  }

  .btn-new,
  .btn-token {
    order: 3;
    flex: none;
    padding: 4px 8px;
    font-size: 13px;
  }

  .counts {
    order: 5;
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 2px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .counts::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
    font-size: 12px;
    padding: 3px 8px;
  }

  .main {
    flex: 1;
    min-height: 0;
    flex-direction: column;
  }

  .board {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .col {
    flex: 0 0 auto;
    width: clamp(250px, 85vw, 390px);
    min-height: 0;
    scroll-snap-align: start;
  }

  .col-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .panel {
    position: fixed;
    inset: 0;
    width: auto;
    border-left: 0;
    z-index: 20;
    height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* live logs */
.live-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  margin: -12px;
  position: relative;
}

.live-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  flex: none;
}

.live-tag {
  padding: 4px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.live-status {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-running {
  color: var(--accent);
  font-weight: 600;
}

.live-running::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: live-blink 1.1s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .live-running::before { animation: none; }
}

.live-feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 12px 64px;
  position: relative;
}

.live-item {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  word-break: break-word;
}

.live-item:last-child {
  border-bottom: 0;
}

.live-tool {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.live-tool .live-tool-icon,
.live-tool .tool-name {
  flex: none;
}

.live-tool_result {
  font-size: 12px;
  color: var(--muted);
  max-height: 120px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-error {
  color: var(--fail);
}

.live-error.live-tool_result,
.live-tool_result.live-error {
  border-left: 3px solid var(--fail);
  padding-left: 8px;
}

.live-thinking {
  color: var(--muted);
  font-style: italic;
  font-size: 12.5px;
}

.live-thinking summary {
  cursor: pointer;
  color: var(--muted);
  font-style: italic;
  user-select: none;
}

.live-thinking .live-thinking-body,
.live-thinking details {
  margin-top: 4px;
  white-space: pre-wrap;
  max-height: 200px;
  overflow: auto;
}

.live-text {
  font-size: 13.5px;
}

.live-text p { margin: 4px 0; }

.live-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  white-space: pre-wrap;
  word-break: break-word;
}

.live-result {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}

.live-result:has(.verdict-pass) { border-left: 3px solid var(--pass); }
.live-result:has(.verdict-fail) { border-left: 3px solid var(--fail); }

.live-jump {
  position: absolute;
  right: 12px;
  bottom: 16px;
  display: block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 5;
}

.live-jump[hidden] {
  display: none;
}

.card-activity {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 800px) {
  .live-pane { margin: -8px; }
  .live-feed { padding: 8px 10px 72px; }
  .live-tool { font-size: 12px; }
  .live-tool_result { max-height: 100px; }
  .card-activity { font-size: 11.5px; }
}

/* ===== API v3 조작 UI ===== */
.btn-new {
  padding: 6px 12px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-new:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn-token {
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
}

.btn-token:hover {
  border-color: var(--accent);
}

.run-all {
  padding: 3px 8px;
  font-size: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
}

.run-all:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.action-btn {
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.action-btn[data-action="accept"],
.action-btn[data-action="run"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.action-btn[data-action="accept"]:hover,
.action-btn[data-action="run"]:hover {
  filter: brightness(1.08);
  color: #fff;
}

.action-btn[data-action="drop"],
.action-btn[data-action="reject"] {
  background: var(--fail);
  border-color: var(--fail);
  color: #fff;
  font-weight: 600;
}

.action-btn[data-action="drop"]:hover,
.action-btn[data-action="reject"]:hover {
  filter: brightness(1.08);
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 22, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-backdrop[hidden],
.modal[hidden] {
  display: none;
}

.modal {
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 16px;
}

.modal-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.title-input,
.note-input,
.spec-editor {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
}

.title-input:focus,
.note-input:focus,
.spec-editor:focus {
  outline: none;
  border-color: var(--accent);
}

.spec-editor {
  min-height: 320px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.note-input {
  min-height: 100px;
  resize: vertical;
  margin-top: 8px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(90vw, 480px);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 200;
  font-size: 13.5px;
  animation: toast-in 0.2s ease-out;
}

.toast[hidden] {
  display: none;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.toast-ok {
  background: var(--pass);
  color: #fff;
}

.toast-error {
  background: var(--fail);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    animation: none;
  }
}

@media (max-width: 800px) {
  .modal-backdrop {
    padding: 0;
  }

  .modal {
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border: none;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .spec-editor {
    min-height: 40vh;
  }

  .action-bar {
    padding: 8px 10px;
  }

  .toast {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    min-width: 0;
  }
}

/* Global: the hidden attribute always wins over component display rules (PM fix 2026-11-29) */
[hidden] { display: none !important; }

/* v4 — draft badges, mode tabs, brief editor, diff view, server status panel */

/* Badges: pill shape mirroring .card-badge, distinct color per draft state */
.badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.badge-drafting { background: var(--accent); color: #fff; }
.badge-approved { background: var(--pass); color: #fff; }
.badge-needs-pm { background: var(--warn); color: #fff; }
.badge-checked { background: var(--muted); color: #fff; }

/* Brief/spec mode tabs: mirror .tab and .tab.is-active */
.mode-tab {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.mode-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Brief editor: same modal editor look as .spec-editor */
.brief-editor {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.brief-editor:focus {
  outline: none;
  border-color: var(--accent);
}

/* Diff view */
.diff-file {
  margin: 10px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.diff-file-name {
  margin: 0;
  padding: 6px 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}

/* Long diff lines scroll sideways instead of wrapping (overrides the two
   .panel-body pre blocks above; higher specificity + written after them). */
.panel-body pre.diff-body {
  margin: 0;
  border: 0;
  border-radius: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  overflow-x: auto;
}

.diff-line {
  display: block;
  white-space: pre;
  padding: 0 10px;
}

.diff-add { background-color: color-mix(in srgb, var(--pass) 22%, transparent); }
.diff-del { background-color: color-mix(in srgb, var(--fail) 22%, transparent); }
.diff-hunk { color: var(--accent); }
.diff-ctx { color: var(--muted); background-color: transparent; }

.diff-empty {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.diff-files {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.diff-files li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  word-break: break-all;
}

.diff-stat-add { color: var(--pass); }
.diff-stat-del { color: var(--fail); }
.diff-stat-bin { color: var(--muted); }

/* Server status panel */
.gpu-card {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.temp-ok { color: var(--pass); }
.temp-warm { color: var(--warn); }
.temp-hot { color: var(--fail); }
.temp-na { color: var(--muted); }

.bar {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.llm-card {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.llm-down {
  margin: 4px 0;
  color: var(--fail);
  font-weight: 700;
}

/* Header server button + temperature readout */
.btn-system {
  padding: 6px 10px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.btn-system:hover {
  filter: brightness(1.08);
  color: #fff;
}

.sys-temp {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
