:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.5; font-synthesis: none; color-scheme: light;
  --ink: #1f2329; --muted: #626b7a; --accent: #0052d9; --accent-hover: #003cab;
  --canvas: #f5f7fa; --surface: #ffffff; --line: #e7ebf0; --soft: #f2f3ff;
  color: var(--ink); background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--canvas); }
button { font: inherit; }
svg { flex-shrink: 0; }
.board { max-width: 1120px; margin: 0 auto; padding: 28px 40px 36px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1120px; min-height: 80px; margin: 0 auto; padding: 0 40px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 650; letter-spacing: .035em; }
.brand-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 6px; background: var(--accent); color: #fff; }
.refresh-cadence { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.connection-advice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 16px 20px; border: 1px solid #efd898; border-left: 4px solid #d7a227; border-radius: 6px; background: #fff8e6; color: #674d16; }
.connection-advice svg { margin-top: 2px; color: #916700; }
.connection-advice strong { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 650; }
.connection-advice p { margin: 0; font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
.masthead { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 240px; margin-bottom: 28px; padding: 34px 40px; border-radius: 8px; color: #fff; background: var(--accent); }
.heading { position: relative; z-index: 1; flex: 1; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #d9e1ff; font-size: .75rem; font-weight: 500; letter-spacing: .14em; }
.eyebrow span { height: 2px; width: 20px; background: currentColor; }
h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
.intro { margin: 16px 0 0; color: #e4eaff; font-size: .9375rem; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 42%; overflow: hidden; pointer-events: none; }
.hero-art span { position: absolute; top: -40%; width: 58%; height: 180%; transform: rotate(28deg); background: #ffffff0b; border-left: 1px solid #ffffff1f; }
.hero-art span:nth-child(1) { right: -30%; }
.hero-art span:nth-child(2) { right: 14%; }
.hero-art span:nth-child(3) { right: 58%; background: #ffffff05; }
.server-health { position: relative; z-index: 1; flex: 0 0 280px; min-width: 0; padding: 20px 24px; background: #003cab; border: 1px solid #ffffff33; border-radius: 6px; }
.health-heading { display: flex; align-items: center; gap: 8px; color: #d9e1ff; }
.health-heading h2 { min-width: 0; font-size: .8125rem; font-weight: 500; }
.health-current { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.health-current > span:last-child { color: #fff; font-size: 1.75rem; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.health-indicator { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #d9e1ff; color: #003cab; }
.server-health[data-state="running"] .health-indicator { background: #2ba471; color: #fff; }
.server-health[data-state="maintenance"] .health-indicator { background: #f6c445; color: #604300; }
.server-health[data-state="fault"] .health-indicator { background: #d54941; color: #fff; }
.health-detail { margin: 10px 0 0; color: #e4eaff; font-size: .8125rem; line-height: 1.6; }
.health-checked { margin: 8px 0 0; color: #c3d4ff; font-size: .75rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.surface { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 20px #1f366003; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; }
.list-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
h2 { margin: 0; font-size: 1.0625rem; line-height: 1.5; font-weight: 600; }
.count { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--canvas); color: var(--muted); font-size: .75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 10px 15px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 4px; font-size: .8125rem; font-weight: 500; cursor: pointer; touch-action: manipulation; }
button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button:active { background: #002a7c; border-color: #002a7c; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .65; cursor: wait; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.name-col { width: 29%; } .state-col { width: 18%; } .usage-col { width: 27%; } .subscription-col { width: 26%; }
.subscription-actions { text-align: right; color: var(--muted); }
.copy-subscription { color: #006c45; background: #fff; border-color: #98d1b1; white-space: nowrap; }
.copy-subscription:hover { background: #dff3e7; border-color: #008858; }
.copy-subscription:active { background: #c6ead9; }
.subscription-feedback { margin: 0 28px 20px; padding: 12px 16px; border: 1px solid #b8cef7; border-radius: 4px; background: #f2f6ff; color: #003cab; font-size: .875rem; overflow-wrap: anywhere; }
.subscription-url { display: block; width: 100%; min-height: 44px; margin-top: 10px; padding: 8px; font: inherit; font-size: .8125rem; border: 1px solid #98d1b1; border-radius: 4px; background: #fff; color: var(--ink); }
.subscription-url:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
th { padding: 12px 28px; background: #f8f9fb; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .75rem; font-weight: 500; text-align: left; }
td { padding: 19px 28px; border-bottom: 1px solid #edf0f4; vertical-align: middle; font-size: 1rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f5f8ff; }
.user-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.user-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border: 1px solid #e1e8ff; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: .875rem; font-weight: 600; }
.user-label { min-width: 0; font-weight: 550; overflow-wrap: anywhere; }
.user-details { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.current-user-label { flex-shrink: 0; padding: 2px 7px; border: 1px solid #b2dec5; border-radius: 4px; background: #dff3e7; color: #006c45; font-size: .75rem; font-weight: 500; white-space: nowrap; }
tbody tr.is-current, tbody tr.is-current:hover { background: #edf9f1; }
tbody tr.is-current td:first-child { box-shadow: inset 3px 0 #008858; }
tbody tr.is-current .user-avatar { background: #dff3e7; color: #006c45; border-color: #b2dec5; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid #e5e7eb; border-radius: 4px; background: #f5f6f8; color: #626b7a; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.status::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #8a919f; }
.status.online { border-color: #c6ead9; color: #006c45; background: #eaf8f0; }
.status.online::before { background: #008858; }
.status.unknown { border-color: #f0dcc8; color: #954500; background: #fff1e9; }
.status.unknown::before { background: #be5a00; }
.usage { text-align: right; }
.usage-caption { display: none; }
.usage-value { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; color: var(--ink); font-size: 1.3125rem; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.05em; white-space: nowrap; }
.usage-unit { display: inline-block; min-width: 2.1em; margin-left: 9px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .75rem; font-weight: 400; letter-spacing: 0; }
.update-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 28px; background: #fcfcfd; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.update-stamp { display: inline-flex; align-items: center; gap: 7px; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; color: var(--muted); font-size: .75rem; }
.footer-separator { margin: 0 2px; }
.notice { margin: 0 28px 20px; padding: 12px 16px; background: #fff1e9; border: 1px solid #f0dcc8; border-radius: 4px; color: #954500; font-size: .875rem; }
.empty { padding: 72px 24px; text-align: center; color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) {
  .board { padding: 24px 24px 28px; }
  .header-inner { min-height: 72px; padding: 0 24px; }
  .masthead { min-height: 208px; padding: 26px; margin-bottom: 24px; gap: 24px; }
  .server-health { flex-basis: 234px; padding: 18px; }
  .hero-art { width: 34%; }
  .toolbar { padding: 20px; }
  th, td { padding-left: 20px; padding-right: 20px; }
  .update-line { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 860px) {
  .board { padding: 20px max(18px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-bottom)); }
  .header-inner { min-height: 68px; padding: 0 max(18px, env(safe-area-inset-left)); gap: 12px; }
  .brand { gap: 9px; font-size: .875rem; }
  .brand-mark { width: 32px; flex-basis: 32px; height: 32px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .refresh-cadence { gap: 5px; font-size: .75rem; }
  .refresh-cadence svg { width: 14px; height: 14px; }
  .connection-advice { margin-bottom: 16px; padding: 12px 14px; gap: 10px; }
  .connection-advice p { font-size: .8125rem; }
  .connection-advice strong { font-size: .8125rem; }
  .connection-advice svg { width: 19px; height: 19px; }
  .masthead { flex-direction: column; align-items: stretch; min-height: 192px; padding: 24px 20px; margin-bottom: 24px; border-radius: 6px; gap: 22px; }
  .heading { flex: auto; }
  .server-health { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; flex: auto; padding: 15px; }
  .health-heading { grid-column: 1; gap: 6px; }
  .health-heading svg { display: none; }
  .health-heading h2 { font-size: .75rem; }
  .health-current { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 8px; }
  .health-current > span:last-child { font-size: 1.375rem; }
  .health-indicator { flex-basis: 28px; width: 28px; height: 28px; }
  .health-symbol { width: 19px; height: 19px; }
  .health-detail { grid-column: 1; margin: 0; font-size: .75rem; }
  .health-checked { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 10px; border-top: 1px solid #ffffff26; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: 2.5rem; }
  .intro { margin-top: 14px; font-size: .8125rem; }
  .hero-art { width: 24%; opacity: .5; }
  .surface { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .toolbar { padding: 0 0 16px; }
  .list-heading { gap: 9px; }
  h2 { font-size: 1rem; }
  .count { background: #eaf0fb; border-color: #dfe7f5; color: #405a85; }
  button { min-height: 44px; padding: 9px 12px; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  colgroup { display: none; }
  tbody { display: grid; gap: 12px; }
  tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 8px #1f366003; }
  tbody tr:hover { background: var(--surface); }
  tbody tr.is-current { border-color: #98d1b1; box-shadow: inset 3px 0 #008858; }
  tbody tr.is-current td:first-child { box-shadow: none; }
  td { padding: 0; border: 0; min-width: 0; }
  td:nth-child(2) { justify-self: end; }
  .user-identity { gap: 10px; }
  .user-avatar { flex-basis: 34px; height: 34px; }
  .user-label { font-size: 1rem; }
  .status { padding: 4px 9px; }
  td.usage { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
  .usage-caption { display: inline; flex-shrink: 0; color: var(--muted); font-size: .75rem; }
  .usage-value { font-size: 1.375rem; overflow-wrap: anywhere; white-space: normal; }
  .usage-unit { margin-left: 6px; }
  .update-line { padding: 20px 2px 0; background: none; border: 0; font-size: .75rem; }
  .notice { margin: 0 0 16px; }
  .subscription-feedback { margin: 0 0 16px; }
  td.subscription-actions { display: none; }
  .is-current td.subscription-actions { display: block; grid-column: 1 / -1; }
  .copy-subscription { width: 100%; }
  .empty { grid-column: 1 / -1; padding: 44px 8px; }
  footer { margin-top: 22px; font-size: .75rem; gap: 4px; flex-direction: column; }
  .footer-separator { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background .16s, border-color .16s, color .16s; }
  tbody tr { transition: background .16s; }
  button[aria-busy="true"] svg { animation: refresh-spin 1s linear infinite; }
  @keyframes refresh-spin { to { transform: rotate(360deg); } }
}
