@font-face { font-family: "Mona Sans"; src: url("/fonts/MonaSansVF.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #f0f6fc;
  --muted: #9198a1;
  --line: #3d444d;
  --accent: #4493f8;
  --surface: #0d1117;
  --canvas: #0d1117;
  --subtle: #151b23;
  --button: #212830;
  --hover: #262c36;
  --green: #238636;
  --green-hover: #29903b;
  --danger: #f85149;
  --danger-bg: #f851491a;
  --edge: 24px;
  --panel: 16px;
  --gap: 8px;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #1f2328;
  --muted: #59636e;
  --line: #d1d9e0;
  --accent: #0969da;
  --surface: #fff;
  --canvas: #fff;
  --subtle: #f6f8fa;
  --button: #f6f8fa;
  --hover: #eff2f5;
  --green: #1f883d;
  --green-hover: #1a7f37;
  --danger: #d1242f;
  --danger-bg: #ffebe9;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.topbar { min-height: 64px; gap: var(--panel); flex-wrap: wrap; padding: var(--gap) var(--edge); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--subtle); }
.site-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--gap); }
.site-title { margin: 0; font-size: 16px; }
.deploy-time { color: var(--muted); font-size: 12px; }
.brand { color: var(--ink); font-weight: 600; text-decoration: none; }
.brand:hover { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gap); }
.account { color: var(--muted); font-size: 12px; }
.text-button, .secondary-button, .theme-select { padding: 5px 12px; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--button); font-size: 12px; font-weight: 500; }
.text-button:hover, .secondary-button:hover, .theme-select:hover { background: var(--hover); }
.eyebrow { margin: 0 0 var(--gap); color: var(--muted); font-size: 12px; font-weight: 600; }
.count { min-width: 20px; padding: 0 6px; border-radius: 20px; color: var(--muted); background: var(--hover); font-size: 12px; text-align: center; }
.content { width: 100%; padding: var(--panel) var(--edge); }
.primary-button { width: 100%; padding: var(--gap) var(--panel); border: 1px solid #ffffff26; border-radius: 6px; color: #fff; background: var(--green); font-weight: 600; }
.primary-button:hover { background: var(--green-hover); }
.result-summary { margin: 0 0 var(--gap); color: var(--muted); font-size: 12px; }
.issue-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: var(--panel); align-items: start; overflow-x: auto; padding-bottom: var(--gap); }
.board-column { min-width: 0; padding: var(--gap); border: 1px solid var(--line); border-radius: 6px; background: var(--subtle); }
.column-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); padding: var(--gap); margin-bottom: var(--gap); min-height: 40px; }
.column-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.column-heading .count { flex-shrink: 0; }
.issue-list { display: grid; gap: var(--gap); }
.issue-row { min-width: 0; display: flex; align-items: center; gap: var(--gap); padding: var(--gap) 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.issue-row:hover { border-color: var(--accent); }
.issue-title { flex: 1; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.issue-title:hover { color: var(--accent); }
.issue-assignees { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 52px; flex-shrink: 0; }
.assignee-avatar { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--line); font-size: 9px; }
.empty-state { margin: 0; padding: var(--panel); color: var(--muted); text-align: center; font-size: 12px; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); margin-bottom: var(--panel); padding: var(--panel); border: 1px solid var(--danger); border-radius: 6px; color: var(--ink); background: var(--danger-bg); }
.loading-panel { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); }
.login-card { width: min(360px, calc(100% - 32px)); margin: max(12vh, 60px) auto 0; padding: var(--edge); border: 1px solid var(--line); border-radius: 6px; background: var(--subtle); text-align: center; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto var(--panel); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); font-size: 24px; font-weight: 600; }
.login-card h1 { margin: 0; font-size: 24px; font-weight: 400; }
.login-copy { margin: var(--panel) 0; color: var(--muted); font-size: 14px; }
.spinner { width: 20px; height: 20px; display: inline-block; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { :root { --edge: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
