@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root { --font-geist-sans: "Manrope"; --font-geist-mono: "DM Mono"; }
body { font-family: "Manrope", Arial, sans-serif; }
button { font: inherit; }
.message-stack { position: fixed; top: 18px; left: 50%; z-index: 20; transform: translateX(-50%); pointer-events: none; }
.message { width: fit-content; max-width: 680px; margin-left: auto; padding: 13px 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); font-size: 13px; }
.message.error { border-color: rgba(219,76,17,.35); background: #fff2e8; color: #8b3816; }
.message.success { border-color: rgba(30,115,80,.3); background: #eff7e7; color: #245b3f; }
.header-account, .row-actions { display: flex; align-items: center; gap: 14px; }
.header-account { color: var(--ink-soft); font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.panel-spaced { margin-top: 22px; }
.panel-title { margin: 5px 0 0; font-size: 22px; letter-spacing: -.03em; }
.status-warn { background: #fff1dc; color: #8b4b16; }
.count-chip { display: grid; min-width: 32px; height: 32px; place-items: center; border-radius: 999px; background: var(--paper-deep); font-size: 12px; font-weight: 800; }
.connection-row, .project-source { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f7f4ed; }
.connection-row small, .project-source small { display: block; margin-top: 5px; color: #7c8780; font-size: 11px; }
.button-small { min-height: 38px; padding-inline: 14px; border-color: var(--line); background: var(--white); }
.danger { color: #a34220; }
.project-form { margin-top: 24px; }
.project-form > label, .auth-form label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.project-form > input, .auth-form input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.league-select-grid { display: grid; gap: 10px; margin: 16px 0; }
.league-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #f7f4ed; cursor: pointer; }
.league-choice:has(input:checked) { border-color: var(--green); background: #f0f6e6; }
.league-choice input { width: 18px; height: 18px; accent-color: var(--green); }
.league-choice small { display: block; margin-top: 4px; color: #7c8780; font-size: 11px; }
.league-choice a { color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.project-sidebar { padding: 25px; border-radius: 16px; background: var(--ink); color: white; }
.project-sidebar h2 { margin: 7px 0 20px; font-size: 25px; }
.project-link { display: block; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.15); }
.project-link strong, .project-link span { display: block; }
.project-link span, .project-sidebar .muted { margin-top: 5px; color: #aebbb3; font-size: 11px; }
.narrow-content { max-width: 900px; }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.detail-heading h1 { margin: 0; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.055em; }
.detail-heading p { color: var(--ink-soft); }
.settings-list { margin: 22px 0; }
.settings-list div { display: grid; grid-template-columns: minmax(160px, .45fr) 1fr; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.settings-list dt { color: var(--ink-soft); font-size: 12px; }
.settings-list dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.muted { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.project-source .status-chip { margin-left: auto; }
.next-step { margin-top: 22px; padding: 26px; border-radius: 16px; background: var(--lime); }
.next-step h2 { margin: 6px 0 8px; }
.next-step p { max-width: 650px; margin: 0; line-height: 1.6; }
.auth-shell { display: grid; min-height: 100vh; place-items: center; align-content: center; gap: 24px; padding: 45px 20px; background: radial-gradient(circle at 15% 0%, rgba(216,239,97,.4), transparent 34%), var(--paper); }
.auth-card { width: min(100%, 480px); padding: clamp(28px, 5vw, 46px); border: 1px solid var(--line); border-radius: 19px; background: var(--white); box-shadow: var(--shadow); }
.auth-card h1 { margin: 0; font-size: 38px; letter-spacing: -.05em; line-height: 1.05; }
.auth-card > p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.6; }
.auth-form { margin-top: 24px; }
.auth-form p { margin: 0 0 15px; }
.auth-form .helptext, .auth-form ul { color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.auth-form .errorlist { color: #a34220; }
.auth-form button { width: 100%; margin-top: 6px; }
.auth-links { display: flex; justify-content: space-between; gap: 15px; margin-top: 20px; color: var(--orange-dark); font-size: 12px; font-weight: 700; }
.auth-footnote { margin: 0; color: var(--ink-soft); font-size: 11px; }
@media (max-width: 850px) { .dashboard-grid { grid-template-columns: 1fr; } .project-sidebar { order: 2; } }
@media (max-width: 680px) { .header-account span { display: none; } .detail-heading, .connection-row, .project-source { align-items: flex-start; flex-direction: column; } .row-actions { width: 100%; justify-content: space-between; } .league-choice { grid-template-columns: auto 1fr; } .league-choice a { grid-column: 2; } .settings-list div { grid-template-columns: 1fr; gap: 5px; } .auth-links { flex-direction: column; } }
