:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  color: #1f2328; background: #fff; font-synthesis: none;
  --muted: #59636e; --border: #d1d9e0; --subtle: #f6f8fa; --blue: #0969da; --green: #1f883d;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 14px; border: 1px solid #1b1f2426; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; font-size: 13px; line-height: 20px; cursor: pointer; box-shadow: 0 1px 0 #1b1f2410; white-space: nowrap; }
button:hover { background: #1a7f37; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary, #refresh, #reload-users { color: #25292e; background: var(--subtle); border-color: var(--border); }
button.secondary:hover, #refresh:hover, #reload-users:hover { background: #eff2f5; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.global-header { min-height: 64px; padding: 16px 32px; display: flex; align-items: center; gap: 24px; background: var(--subtle); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; color: #1f2328; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: #24292f; border-radius: 50%; color: #fff; font-size: 22px; font-weight: 700; }
.breadcrumb { font-size: 14px; }.breadcrumb span { margin: 0 9px; color: var(--muted); }
#account-menu { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }
#account-menu > span { font-weight: 600; }
.repo-nav { min-height: 49px; display: flex; align-items: stretch; gap: 12px; padding: 0 32px; background: var(--subtle); border-bottom: 1px solid var(--border); }
.repo-nav a { position: relative; display: flex; align-items: center; padding: 10px 12px; color: #1f2328; white-space: nowrap; }
.repo-nav a:hover { text-decoration: none; background: #eaeef2; }
.repo-nav [aria-current=page] { font-weight: 600; }
.repo-nav [aria-current=page]::after { content: ""; position: absolute; height: 2px; background: #fd8c73; bottom: -1px; left: 6px; right: 6px; }
.private-label { align-self: center; margin-left: auto; font-size: 12px; padding: 0 8px; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); }
main { max-width: 1440px; margin: auto; padding: 32px; }
.eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.5px; }
p { color: var(--muted); margin: 7px 0 0; }
small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); border-radius: 6px; margin: 0 0 24px; background: #fff; }
.stats article { padding: 16px 20px; border-right: 1px solid var(--border); }.stats article:last-child { border: 0; }
.stats article > span { font-size: 12px; color: var(--muted); }.stats strong { font-size: 24px; font-weight: 600; display: block; margin-top: 4px; }.stats .source { font-size: 20px; line-height: 36px; }.source span { color: var(--muted); font-size: 14px; }
.panel { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--subtle); border-bottom: 1px solid var(--border); }
h2 { font-size: 14px; font-weight: 600; margin: 0; }h2 span { display: inline-block; background: #afb8c133; padding: 0 7px; border-radius: 20px; font-size: 12px; margin-left: 6px; }.panel-title > span { font-size: 12px; color: var(--muted); }
.filters { display: flex; gap: 10px; padding: 16px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 6px; padding: 0 10px; background: var(--subtle); color: var(--muted); flex: 1; min-width: 230px; }.search:focus-within { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: -1px; }
.search input { width: 100%; border: 0; outline: none; background: transparent; padding: 7px 0; font-size: 13px; }.search input:focus-visible { outline: none; }
select { color: #25292e; padding: 7px 28px 7px 10px; border: 1px solid var(--border); background: var(--subtle); border-radius: 6px; font-size: 12px; max-width: 230px; }
.archive { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 12px; white-space: nowrap; }input[type=checkbox] { accent-color: var(--blue); }
.table-wrap { overflow-x: auto; }table { border-collapse: collapse; width: 100%; text-align: left; }th { background: var(--subtle); padding: 11px 16px; font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--border); }td { padding: 13px 16px; font-size: 12px; border-bottom: 1px solid #d1d9e0b3; vertical-align: top; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover { background: var(--subtle); }td:first-child { min-width: 330px; width: 48%; }
.task-title { display: flex; gap: 9px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #1f2328; }.task-title:hover { color: var(--blue); text-decoration: none; }.task-icon { color: var(--green); font-size: 18px; flex-shrink: 0; line-height: 21px; }.task-meta { margin: 4px 0 0 27px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border: 1px solid; border-radius: 20px; font-size: 11px; font-weight: 500; white-space: nowrap; }.badge i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }.green { color: #1a7f37; background: #dafbe1; border-color: #1a7f3740; }.blue { color: #0969da; background: #ddf4ff; border-color: #0969da40; }.purple { color: #8250df; background: #fbefff; border-color: #8250df40; }.gray { color: var(--muted); background: #f6f8fa; border-color: var(--border); }
.person { display: flex; align-items: center; gap: 6px; white-space: nowrap; }.assignees { display: flex; flex-wrap: wrap; gap: 6px; }.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ddf4ff; color: #0550ae; font-size: 9px; border: 1px solid #0969da26; }.muted,.date { color: var(--muted); }.date { white-space: nowrap; }
#notice { padding: 28px 16px; text-align: center; color: var(--muted); }#notice.error { text-align: left; padding: 16px; background: #fff8c5; color: #633c01; border-bottom: 1px solid #d4a72c66; }
.table-footer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #d1d9e080; }
.auth-page { min-height: 100vh; background: #fff; }.auth-card { max-width: 380px; padding: 40px 20px; margin: auto; }.auth-card > .brand { display: flex; justify-content: center; flex-direction: column; font-size: 16px; }.auth-card .brand-mark { width: 48px; height: 48px; font-size: 30px; }.auth-card h1 { font-size: 23px; text-align: center; font-weight: 400; margin: 24px 0 8px; }.auth-card #forms > p { font-size: 13px; text-align: center; }.auth-tabs { display: flex; margin: 22px 0 16px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }.auth-tabs button { border: 0; border-radius: 0; flex: 1; box-shadow: none; }.auth-tabs button:not(.secondary) { background: #24292f; }.auth-card form { padding: 20px; background: var(--subtle); border: 1px solid var(--border); border-radius: 6px; }.auth-card form label { display: block; font-size: 14px; margin-top: 16px; }.auth-card form label:first-child { margin-top: 0; }.auth-card form input { display: block; width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; background: #fff; margin-top: 8px; box-shadow: inset 0 1px 0 #d1d9e033; }.auth-card form button { width: 100%; margin-top: 20px; }.auth-card form p { font-size: 12px; margin-top: 16px; }.auth-card small { font-size: 12px; }#account-notice { color: var(--muted); margin: 16px 0; }#account-notice:not(:empty) { border: 1px solid var(--border); padding: 12px 16px; background: var(--subtle); border-radius: 6px; }#waiting { text-align: center; }#waiting p { margin-bottom: 20px; }#waiting button { margin: 4px; }.actions { display: flex; gap: 8px; }.actions button { font-size: 12px; padding: 3px 10px; }
@media(max-width:1000px) { .global-header { flex-wrap: wrap; gap: 12px; }.breadcrumb { flex: 1; }#account-menu { gap: 10px; }.filters .search { min-width: 100%; }.stats article { padding: 12px 16px; } }
@media(max-width:640px) { main { padding: 24px 16px; }.global-header { padding: 12px 16px; }.breadcrumb { font-size: 12px; }.breadcrumb strong { display: none; }.breadcrumb span { display: none; }#account-menu { width: 100%; justify-content: flex-end; }.repo-nav { padding: 0 8px; gap: 0; font-size: 12px; }.private-label { margin-right: 8px; }.heading { align-items: flex-start; }.heading p { font-size: 13px; }h1 { font-size: 24px; }.stats { grid-template-columns: repeat(2,1fr); }.stats article:nth-child(2) { border-right: 0; }.stats article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }.stats small { font-size: 11px; }.filters { padding: 12px; gap: 8px; }select { max-width: 100%; }.panel-title { flex-wrap: wrap; }.table-footer { flex-wrap: wrap; }footer span { display: none; }.auth-card { padding: 28px 16px; }.actions { flex-wrap: wrap; } }

.sync-panel{margin:0 0 24px}.sync-panel details summary{padding:14px 20px;cursor:pointer;font-size:12px}.sync-panel .panel-title p{margin-top:5px}.sync-panel .filters{font-size:12px}
