:root {
  color-scheme: light;
  --bg: #f5f6f3;
  --surface: #ffffff;
  --soft: #edf0eb;
  --ink: #202e2b;
  --muted: #65726c;
  --line: #dce2dc;
  --accent: #24664d;
  --accent-soft: #e5f1e8;
  --accent-ink: #ffffff;
  --success: #286a49;
  --success-soft: #e8f3eb;
  --warning: #8a581a;
  --warning-soft: #fbf0da;
  --danger: #ad3c39;
  --danger-soft: #fbe8e6;
  --neutral: #626b67;
  --neutral-soft: #ecefeb;
  --shadow: 0 8px 32px #23382d06;
  --font: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --h4: 1.25rem;
  --h3: 1.5rem;
  --h2: 2rem;
  --h1: 2.75rem;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --line-width: 1px;
  --focus-width: 3px;
  --touch: 44px;
  --page-width: 1200px;
  --ease: 160ms ease;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151e1b;
  --surface: #1d2924;
  --soft: #27352e;
  --ink: #e2ebe4;
  --muted: #a8b7ae;
  --line: #36453c;
  --accent: #acd2b3;
  --accent-soft: #2d4535;
  --accent-ink: #1b3424;
  --success: #a7d7b6;
  --success-soft: #293f30;
  --warning: #edc27c;
  --warning-soft: #483b26;
  --danger: #ffb1a9;
  --danger-soft: #4c302e;
  --neutral: #b7c0b9;
  --neutral-soft: #303d35;
  --shadow: 0 8px 32px #0000000a;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: var(--text-base)/1.6 var(--font); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.65; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: var(--s1); }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: var(--h1); line-height: 1.25; letter-spacing: -0.055em; }
h2 { font-size: var(--h4); letter-spacing: -0.04em; }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }
small { font-size: var(--text-xs); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--touch); padding: var(--s2) var(--s4); border: var(--line-width) solid var(--line); border-radius: var(--r-sm); color: var(--ink); background: var(--surface); font-weight: 600; text-decoration: none; transition: background var(--ease); }
.button:hover { background: var(--soft); }
.button-primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { color: var(--accent); background: var(--accent-soft); }
.icon-button { width: var(--touch); padding: var(--s2); }
.icon { width: var(--s5); height: var(--s5); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.panel { background: var(--surface); border: var(--line-width) solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.badge { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s2); border-radius: var(--r-sm); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; background: var(--neutral-soft); color: var(--neutral); }
.badge::before { content: ""; width: var(--s1); height: var(--s1); border-radius: var(--r-pill); background: currentColor; }
.badge-success { color: var(--success); background: var(--success-soft); }
.badge-warning { color: var(--warning); background: var(--warning-soft); }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.sr-only { position: absolute; width: var(--line-width); height: var(--line-width); padding: 0; margin: calc(-1 * var(--line-width)); overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: var(--s3); left: var(--s3); z-index: 5; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .main { width: min(var(--page-width), calc(100% - var(--s12))); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: var(--s6); border-bottom: var(--line-width) solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); font-size: var(--h3); font-weight: 750; text-decoration: none; letter-spacing: -0.05em; }
.brand-mark { display: flex; align-items: flex-end; gap: var(--s1); width: var(--s6); height: var(--s6); }
.brand-mark i { width: var(--s1); background: var(--accent); border-radius: var(--r-sm); height: 50%; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 75%; }
.brand-divider { height: var(--s4); width: var(--line-width); background: var(--line); margin-inline: var(--s1); }
.brand-label { font-size: var(--text-base); letter-spacing: -0.03em; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: var(--s6); }
.hub-link { color: var(--muted); text-decoration: none; font-size: var(--text-sm); padding-block: var(--s3); }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); padding-block: var(--s12) var(--s8); }
.intro h1 { margin-block: var(--s3); }
.intro-copy { color: var(--muted); }
.intro-actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s3); flex-shrink: 0; padding-bottom: var(--s1); }
.intro-actions > span { font-size: var(--text-xs); }
.mobile-break { display: none; }
.overview { display: flex; justify-content: space-between; align-items: center; padding: var(--s6) var(--s8); border-left: var(--s1) solid var(--accent); }
.overview-lead { display: flex; align-items: center; gap: var(--s5); }
.signal { display: flex; align-items: center; justify-content: center; gap: var(--s1); height: var(--s12); width: var(--s12); border-radius: var(--r-md); background: var(--accent-soft); }
.signal i { width: var(--s1); height: var(--s3); border-radius: var(--r-pill); background: var(--accent); }
.signal i:nth-child(2) { height: var(--s6); }
.signal i:nth-child(3) { height: var(--s8); }
.signal i:nth-child(4) { height: var(--s5); }
.overview-title { font-size: var(--text-lg); font-weight: 650; }
.overview-lead .muted { font-size: var(--text-xs); margin-top: var(--s1); }
.overview-stats { display: flex; gap: var(--s8); margin: 0; }
.overview-stats > div { padding-left: var(--s8); border-left: var(--line-width) solid var(--line); }
.overview-stats dt { color: var(--muted); font-size: var(--text-xs); }
.overview-stats dd { margin: 0; font-size: var(--h2); font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.overview-stats dd span { margin-left: var(--s1); font-size: var(--text-xs); color: var(--muted); font-weight: 400; }
#app-healthy { color: var(--success); }
.section { margin-top: var(--s10); }
.section-heading, .section-title { display: flex; align-items: center; }
.section-heading { justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.section-title { gap: var(--s3); }
.section-number { font-size: var(--text-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.section-note { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--text-xs); color: var(--muted); }
.live-dot { width: var(--s1); height: var(--s1); border-radius: var(--r-pill); background: var(--success); }
.app-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); }
.app-card { padding: var(--s5); border-radius: var(--r-md); min-width: 0; }
.app-top { display: flex; align-items: center; gap: var(--s3); }
.app-mark { flex: 0 0 var(--s8); display: grid; place-items: center; height: var(--s8); background: var(--soft); color: var(--accent); border-radius: var(--r-sm); font-size: var(--text-sm); font-weight: 700; }
.app-info { min-width: 0; }
.app-info h3 { font-size: var(--text-base); letter-spacing: -0.04em; }
.app-name { text-decoration: none; }
.app-name:hover { text-decoration: underline; text-underline-offset: var(--s1); }
.app-description { font-size: var(--text-xs); color: var(--muted); white-space: nowrap; }
.app-arrow { margin-left: auto; align-self: flex-start; color: var(--muted); font-size: var(--text-sm); }
.app-url { font-size: var(--text-xs); color: var(--muted); margin-block: var(--s4); overflow-wrap: anywhere; }
.app-status { border-top: var(--line-width) solid var(--line); padding-top: var(--s3); display: flex; align-items: center; justify-content: space-between; gap: var(--s1); }
.latency { font-size: var(--text-xs); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.footnote { margin-top: var(--s3); color: var(--muted); font-size: var(--text-xs); }
.staff-panel { overflow: hidden; }
.staff-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); padding: var(--s5) var(--s6); font-size: var(--text-xs); border-bottom: var(--line-width) solid var(--line); }
.staff-meta > div { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.meta-label { color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: var(--s5) var(--s6); font-size: var(--text-sm); border-bottom: var(--line-width) solid var(--line); }
thead th { background: var(--soft); color: var(--muted); padding-block: var(--s3); font-size: var(--text-xs); font-weight: 500; }
tbody th { font-weight: 600; }
.task-label { display: block; margin-bottom: var(--s1); }
.relative-time { display: block; }
.absolute-time { display: block; color: var(--muted); font-size: var(--text-xs); white-space: nowrap; margin-top: var(--s1); }
.notice { margin: var(--s4) var(--s6); padding: var(--s3) var(--s4); border-radius: var(--r-sm); font-size: var(--text-sm); }
.notice-warning { color: var(--warning); background: var(--warning-soft); }
.notice-error { color: var(--danger); background: var(--danger-soft); }
.runs-section { padding: var(--s5) var(--s6); }
.runs-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.runs-heading h3 { font-size: var(--text-sm); }
.runs-heading .muted { font-size: var(--text-xs); }
.runs { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); max-height: calc(var(--s16) * 4); overflow-y: auto; }
.run { display: flex; align-items: center; gap: var(--s4); font-size: var(--text-xs); }
.run::before { content: ""; width: var(--s1); height: var(--s1); background: var(--muted); border-radius: var(--r-pill); flex-shrink: 0; }
.run-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.run-name { font-weight: 600; overflow-wrap: anywhere; }
.run .badge { margin-left: auto; }
.empty { color: var(--muted); padding: var(--s5); text-align: center; font-size: var(--text-sm); }
.site-footer { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s10); padding-block: var(--s6); border-top: var(--line-width) solid var(--line); font-size: var(--text-xs); color: var(--muted); }
.site-footer strong { color: var(--ink); margin-right: var(--s3); }
@media (max-width: 1100px) {
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intro { align-items: flex-start; }
  h1 { font-size: var(--h2); }
  .overview-stats, .overview-stats > div { gap: var(--s4); padding-left: var(--s4); }
  th, td { padding-inline: var(--s4); }
}
@media (max-width: 700px) {
  .site-header, .main { width: calc(100% - var(--s8)); }
  .site-header { padding-block: var(--s4); }
  .header-actions { gap: var(--s3); }
  .brand { gap: var(--s2); }
  .intro { flex-direction: column; gap: var(--s5); padding-block: var(--s8) var(--s6); }
  .intro h1 { line-height: 1.35; }
  .intro-copy { font-size: var(--text-sm); max-width: calc(var(--s16) * 4); }
  .mobile-break { display: initial; }
  .intro-actions { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: var(--s2); padding: 0; }
  .intro-actions > span { max-width: calc(var(--s16) * 2); text-align: right; }
  .overview { padding: var(--s5); display: block; }
  .overview-lead { gap: var(--s3); }
  .overview-title { font-size: var(--text-base); }
  .signal { flex-shrink: 0; width: var(--s10); height: var(--s10); }
  .overview-stats { padding: var(--s4) 0 0; margin-top: var(--s4); border-top: var(--line-width) solid var(--line); justify-content: space-between; gap: 0; }
  .overview-stats > div { border: 0; padding: 0 var(--s2); }
  .overview-stats dd { font-size: var(--h3); }
  .section { margin-top: var(--s8); }
  .section-title { gap: var(--s2); }
  .section-note { font-size: var(--text-xs); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .app-card { padding: var(--s3); }
  .app-top { gap: var(--s2); }
  .app-mark { flex-basis: var(--s6); height: var(--s6); }
  .app-info h3 { font-size: var(--text-sm); }
  .app-description, .app-arrow { display: none; }
  .app-status { flex-wrap: wrap; }
  .app-url { margin-block: var(--s3); }
  .staff-meta { padding: var(--s4); align-items: flex-start; }
  .staff-meta > div { flex: 1; }
  #generated-at { line-height: 1.8; }
  table, tbody { display: block; }
  thead { position: absolute; width: var(--line-width); height: var(--line-width); overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--s4); gap: var(--s4) var(--s3); border-bottom: var(--line-width) solid var(--line); }
  tbody th { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s3); }
  th, td { padding: 0; border: 0; }
  td::before { content: attr(data-label); display: block; font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--s1); }
  .absolute-time { white-space: normal; font-size: var(--text-xs); }
  td:nth-child(2) { order: 1; }
  td:nth-child(4) { order: 2; }
  td:nth-child(3) { order: 3; }
  td:nth-child(5) { order: 4; }
  .notice { margin-inline: var(--s4); }
  .runs-section { padding: var(--s4); }
  .run { flex-wrap: wrap; gap: var(--s2); }
  .run-time { flex-basis: calc(100% - var(--s3)); }
  .run-name { margin-left: var(--s3); }
  .site-footer { flex-direction: column; gap: var(--s2); margin-top: var(--s8); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
