:root {
  --ink: #132238;
  --muted: #66758a;
  --line: #dfe6ee;
  --surface: #ffffff;
  --canvas: #f4f7fa;
  --navy: #183654;
  --navy-dark: #102a43;
  --orange: #f47b35;
  --orange-soft: #fff0e7;
  --blue-soft: #eaf2f8;
  --green: #238767;
  --green-soft: #e6f5ef;
  --danger: #b83b3b;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(24, 54, 84, .08);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); }
body { min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.migration-screen { min-height: 100vh; display: grid; place-items: center; padding: 36px 20px; background: radial-gradient(circle at 15% 10%, rgba(244,123,53,.13), transparent 28%), linear-gradient(145deg, #eef3f7, #f8fafb 52%, #e8eff4); }
.migration-card { width: min(100%, 650px); overflow: hidden; border: 1px solid rgba(17,42,67,.12); border-radius: 24px; background: white; box-shadow: 0 28px 70px rgba(17,42,67,.16); }
.migration-card__header { display: flex; align-items: center; gap: 11px; padding: 18px 24px; color: white; background: var(--navy-dark); }
.migration-card__header img { width: 38px; height: 38px; object-fit: contain; }
.migration-card__header strong, .migration-card__header span { display: block; }
.migration-card__header strong { font-size: 14px; }.migration-card__header span { margin-top: 2px; color: #96adc1; font-size: 10px; }
.migration-card__body { padding: clamp(28px, 6vw, 48px); }
.migration-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 17px; color: #a84e20; background: var(--orange-soft); }
.migration-card h1 { max-width: 540px; margin: 9px 0 15px; color: var(--navy-dark); font-family: Georgia, serif; font-size: clamp(32px, 6vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.migration-lead { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.migration-details { display: grid; gap: 15px; margin: 29px 0; padding: 21px; border-radius: 16px; background: #f4f7f9; }
.migration-details > div { display: flex; align-items: flex-start; gap: 11px; }.migration-details svg { flex: 0 0 auto; margin-top: 2px; color: #1f755b; }
.migration-details strong, .migration-details small { display: block; }.migration-details strong { color: var(--navy-dark); font-size: 12px; }.migration-details small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.migration-action { width: 100%; min-height: 50px; font-size: 14px; }
.migration-progress { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; border: 1px solid #cbd9e4; border-radius: 14px; color: var(--navy-dark); background: var(--blue-soft); }
.migration-progress strong { font-size: 13px; }.migration-progress p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.migration-spinner { flex: 0 0 auto; animation: migration-spin 1s linear infinite; }
.migration-error { margin: 13px 0 0; color: #9f261d; font-size: 12px; line-height: 1.5; }
.migration-signout { display: inline-flex; align-items: center; gap: 6px; margin: 20px auto 0; padding: 5px; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.migration-signout:hover { color: var(--navy-dark); }
@keyframes migration-spin { to { transform: rotate(360deg); } }

.app-shell { display: grid; grid-template-columns: 258px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 18px 18px; color: #dbe7f1; background: var(--navy-dark); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 26px; color: white; }
.brand__mark { display: block; width: 40px; height: 40px; flex: 0 0 auto; object-fit: contain; }
.brand strong, .brand small, .account-strip strong, .account-strip small { display: block; }
.brand strong { font-size: 15px; }.brand small { margin-top: 2px; color: #90a8bc; font-size: 11px; }
.sidebar__nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 9px; color: #a9bdcd; font-size: 14px; font-weight: 650; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item--active { color: white; background: #234765; box-shadow: inset 3px 0 var(--orange); }
.account-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: auto; padding: 14px 8px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.account-strip .avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--navy-dark); background: #d6e4ef; font-weight: 800; font-size: 12px; }.account-strip strong { overflow: hidden; color: white; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.account-strip small { overflow: hidden; margin-top: 2px; color: #819bad; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.account-strip button { display: grid; border: 0; color: #8fa8ba; background: none; cursor: pointer; }
.main-content { min-width: 0; background: var(--canvas); }.mobile-topbar { display: none; }
.page { max-width: 1260px; margin: 0 auto; padding: 42px 44px 70px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.page-header h1 { margin: 4px 0 7px; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.page-header p:not(.eyebrow) { max-width: 670px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }.page-header__actions { display: flex; align-items: center; gap: 10px; padding-top: 9px; }
.eyebrow { margin: 0; color: #55718a; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }.eyebrow--light { color: #8eb2ca; }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 19px; color: #5c7184; font-size: 13px; font-weight: 700; }.back-link:hover { color: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }.button:hover { transform: translateY(-1px); }.button:disabled { cursor: wait; opacity: .65; transform: none; }.button--primary { color: white; background: var(--orange); box-shadow: 0 7px 15px rgba(244,123,53,.2); }.button--primary:hover { background: #e86f2d; }.button--secondary { border-color: #ccd8e2; color: var(--navy); background: white; box-shadow: none; }.button--danger { border-color: #efb6b0; color: #9f261d; background: #fff5f4; box-shadow: none; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }.error-fallback { max-width: 620px; margin: 12vh auto; padding: 32px; text-align: center; }
.marketing-page { min-height: 100vh; overflow: hidden; color: var(--ink); background: #f8fafc; }
.marketing-page .button { min-height: 44px; padding-inline: 18px; }
.marketing-page a:focus-visible { border-radius: 8px; outline: 3px solid #ffad75; outline-offset: 3px; }
.marketing-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(19,34,56,.08); background: rgba(255,255,255,.96); }
.marketing-header__inner { display: flex; align-items: center; justify-content: space-between; width: min(1200px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; gap: 24px; }
.marketing-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-dark); font-size: 15px; letter-spacing: -.01em; }
.marketing-brand img { width: 42px; height: 42px; object-fit: contain; }
.marketing-header__actions { display: flex; align-items: center; gap: 22px; }
.marketing-header__ios { min-height: 44px; display: inline-flex; align-items: center; color: #496176; font-size: 13px; font-weight: 750; }
.marketing-header__ios:hover { color: var(--navy-dark); }

.marketing-hero { position: relative; isolation: isolate; color: white; background: linear-gradient(112deg, #102a43 0%, #163957 58%, #1b4564 100%); }
.marketing-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .22; background: radial-gradient(circle at 14% 18%, rgba(142,178,202,.52), transparent 28%), linear-gradient(120deg, transparent 50%, rgba(244,123,53,.22)); }
.marketing-hero__inner { display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr); align-items: stretch; width: min(1280px, calc(100% - 48px)); min-height: 650px; margin: 0 auto; }
.marketing-hero__copy { display: flex; justify-content: center; flex-direction: column; max-width: 610px; padding: 82px 58px 82px 0; animation: marketing-copy-in .65s ease-out both; }
.marketing-hero h1 { margin: 18px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5.6vw, 76px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.marketing-hero__copy > p:not(.eyebrow):not(.marketing-hero__note) { max-width: 590px; margin: 0; color: #d9e4ed; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.marketing-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.marketing-button--light { border-color: white; color: var(--navy-dark); background: white; box-shadow: 0 9px 22px rgba(2,14,27,.2); }
.marketing-button--light:hover { color: var(--navy-dark); background: #fff8f2; box-shadow: 0 12px 28px rgba(2,14,27,.26); }
.marketing-button--ghost { border-color: rgba(255,255,255,.45); color: white; background: transparent; }
.marketing-button--ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.marketing-hero__note { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; color: #aac1d2; font-size: 12px; font-weight: 650; }
.marketing-hero__note svg { flex: 0 0 auto; color: #ff9c62; }
.marketing-hero__media { position: relative; min-width: 0; min-height: 650px; margin: 0; overflow: hidden; animation: marketing-image-in .8s .08s ease-out both; }
.marketing-hero__media::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(16,42,67,.32), transparent 35%), linear-gradient(0deg, rgba(5,19,31,.32), transparent 46%); }
.marketing-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; transform: scale(1.015); animation: marketing-image-settle 1.2s .12s ease-out both; }
.marketing-hero__media figcaption { position: absolute; z-index: 2; right: 24px; bottom: 24px; max-width: 245px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: rgba(255,255,255,.82); background: rgba(10,31,47,.76); box-shadow: 0 12px 30px rgba(3,17,27,.24); font-size: 13px; line-height: 1.45; backdrop-filter: blur(10px); }
.marketing-hero__media figcaption span { display: block; margin-bottom: 2px; color: white; font-size: 17px; font-weight: 850; }

.marketing-benefits { border-bottom: 1px solid var(--line); background: white; }
.marketing-benefits__inner { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.marketing-benefits p { display: grid; gap: 4px; margin: 0; padding: 28px 26px; border-left: 1px solid var(--line); }
.marketing-benefits p:first-child { border-left: 0; }
.marketing-benefits strong { color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.marketing-benefits span { color: var(--muted); font-size: 12px; }

.marketing-story { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: clamp(80px, 9vw, 124px) 0 84px; }
.marketing-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); align-items: end; gap: 24px 80px; margin-bottom: 44px; }
.marketing-section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; color: #b85622; }
.marketing-section-heading h2 { max-width: 600px; margin: 0; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.marketing-section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.marketing-feature-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 1px; overflow: hidden; border: 1px solid #d7e0e8; border-radius: 22px; background: #d7e0e8; box-shadow: 0 18px 50px rgba(24,54,84,.09); }
.marketing-feature { position: relative; min-width: 0; padding: 32px 36px; background: white; transition: background .18s ease, transform .18s ease; }
.marketing-feature:hover { z-index: 1; background: #fbfdff; }
.marketing-feature--lead { display: flex; justify-content: space-between; flex-direction: column; grid-row: span 3; min-height: 610px; color: white; background: linear-gradient(150deg, #183654 0%, #102a43 75%); }
.marketing-feature--lead::before { position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; box-shadow: 0 0 0 52px rgba(255,255,255,.035), 0 0 0 104px rgba(255,255,255,.025); }
.marketing-feature--lead:hover { background: linear-gradient(150deg, #1c3e60 0%, #102a43 75%); }
.marketing-feature__body { position: relative; }
.marketing-feature__icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 13px; color: #c65f28; background: var(--orange-soft); }
.marketing-feature--lead .marketing-feature__icon { color: white; background: var(--orange); box-shadow: 0 9px 22px rgba(244,123,53,.24); }
.marketing-feature__label { margin: 0 0 8px !important; color: #b85622 !important; font-size: 10px !important; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.marketing-feature--lead .marketing-feature__label { color: #ffb489 !important; }
.marketing-feature h3 { position: relative; max-width: 520px; margin: 0 0 12px; color: var(--navy-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.marketing-feature--lead h3 { color: white; font-size: clamp(34px, 4vw, 52px); }
.marketing-feature__body > p:last-child { position: relative; max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.marketing-feature--lead .marketing-feature__body > p:last-child { color: #c8d7e3; font-size: 16px; }
.marketing-lineup-preview { position: relative; z-index: 1; width: min(100%, 470px); margin-bottom: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(7,27,43,.44); box-shadow: 0 18px 38px rgba(5,18,29,.18); backdrop-filter: blur(8px); }
.marketing-lineup-preview__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border-bottom: 1px solid rgba(255,255,255,.11); }
.marketing-lineup-preview__header div { display: grid; gap: 2px; }
.marketing-lineup-preview__header div span { color: #9db7ca; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.marketing-lineup-preview__header div strong { color: white; font-size: 12px; }
.marketing-lineup-preview__header > p { display: flex; align-items: center; gap: 6px; margin: 0; color: #d2e0ea; font-size: 9px; font-weight: 750; white-space: nowrap; }
.marketing-lineup-preview__header > p span { width: 7px; height: 7px; border-radius: 50%; background: #ff8a4a; box-shadow: 0 0 0 3px rgba(244,123,53,.16); }
.marketing-lineup-preview__labels, .marketing-lineup-preview__row { display: grid; grid-template-columns: minmax(130px, 1fr) 74px 54px; align-items: center; gap: 9px; padding-inline: 17px; }
.marketing-lineup-preview__labels { padding-block: 10px 5px; color: #86a4ba; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.marketing-lineup-preview__labels span:not(:first-child) { text-align: center; }
.marketing-lineup-preview__row { min-height: 43px; border-top: 1px solid rgba(255,255,255,.075); color: #afc3d2; font-size: 9px; }
.marketing-lineup-preview__row strong { display: flex; align-items: center; min-width: 0; gap: 9px; color: white; font-size: 10px; }
.marketing-lineup-preview__row i { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; color: #173652; background: #dce8f0; font-size: 8px; font-style: normal; font-weight: 900; }
.marketing-lineup-preview__row > span, .marketing-lineup-preview__row > b { justify-self: center; }
.marketing-lineup-preview__row > b { display: grid; place-items: center; width: 31px; height: 24px; border-radius: 7px; color: white; background: var(--orange); font-size: 9px; }
.marketing-lineup-preview__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 43px; padding: 9px 17px; border-top: 1px solid rgba(255,255,255,.11); color: #a9c0d1; background: rgba(255,255,255,.035); font-size: 8px; }
.marketing-lineup-preview__footer span { display: flex; align-items: center; gap: 7px; }
.marketing-lineup-preview__footer span i { width: 7px; height: 7px; border-radius: 50%; background: #62c79f; box-shadow: 0 0 0 3px rgba(98,199,159,.12); }
.marketing-lineup-preview__footer strong { color: #dce7ee; font-size: 8px; letter-spacing: .03em; }
.marketing-privacy-note { display: flex; align-items: flex-start; gap: 14px; max-width: 720px; margin: 26px 0 0 auto; padding-right: 4px; color: #356b58; }
.marketing-privacy-note svg { flex: 0 0 auto; }
.marketing-privacy-note strong { color: var(--navy-dark); font-size: 13px; }
.marketing-privacy-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.marketing-final-cta { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 48px)); margin: 0 auto 76px; padding: 42px 48px; overflow: hidden; border-radius: 22px; color: white; background: linear-gradient(115deg, #102a43, #1c4565); box-shadow: 0 18px 45px rgba(16,42,67,.18); }
.marketing-final-cta h2 { max-width: 650px; margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.marketing-final-cta .button { flex: 0 0 auto; margin-left: 30px; }
.marketing-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 40px; border-top: 1px solid var(--line); gap: 24px; color: var(--muted); font-size: 12px; }
.marketing-footer .marketing-brand img { width: 34px; height: 34px; }
.marketing-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; color: var(--navy); font-weight: 750; }
.marketing-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.marketing-footer nav a:hover { color: var(--orange); }

.legal-page { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0; }.legal-page header { padding: 24px 0 32px; border-bottom: 1px solid var(--line); }.legal-page h1 { margin: 12px 0 8px; font-size: clamp(38px, 6vw, 58px); }.legal-intro { max-width: 680px; font-size: 18px; line-height: 1.7; }.legal-page section { padding: 24px 0; border-bottom: 1px solid var(--line); }.legal-page section h2 { font-size: 20px; }.legal-page section p { line-height: 1.75; color: #435363; }.legal-footer { display: flex; flex-wrap: wrap; gap: 20px; padding: 32px 0; color: var(--muted); }.legal-footer a { color: var(--navy); font-weight: 800; }

@keyframes marketing-copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marketing-image-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes marketing-image-settle { from { transform: scale(1.07); } to { transform: scale(1.015); } }

@media (max-width: 900px) {
  .marketing-hero__inner { grid-template-columns: 1fr; width: 100%; }
  .marketing-hero__copy { max-width: none; padding: 70px max(24px, calc((100% - 720px) / 2)) 58px; }
  .marketing-hero__media { min-height: 500px; }
  .marketing-benefits__inner { grid-template-columns: repeat(2, 1fr); }
  .marketing-benefits p:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .marketing-benefits p:nth-child(4) { border-top: 1px solid var(--line); }
  .marketing-section-heading { grid-template-columns: 1fr; gap: 20px; }
  .marketing-feature-grid { grid-template-columns: 1fr; }
  .marketing-feature--lead { grid-row: auto; min-height: 580px; }
  .marketing-feature { min-height: 250px; }
  .marketing-final-cta { align-items: flex-start; flex-direction: column; gap: 28px; }
  .marketing-final-cta .button { margin-left: 0; }
  .marketing-footer { grid-template-columns: 1fr auto; }
  .marketing-footer > span { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .migration-screen { padding: 0; background: white; }.migration-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }.migration-card__header { padding: 15px 20px; }.migration-card__body { padding: 30px 22px 42px; }.migration-lead { font-size: 16px; }.migration-details { padding: 18px; }.migration-details strong { font-size: 15px; }.migration-details small, .migration-progress p, .migration-error { font-size: 14px; }.migration-action { min-height: 52px; font-size: 16px; }.migration-signout { min-height: 44px; font-size: 14px; }
  .marketing-header__inner { width: min(100% - 28px, 1200px); min-height: 68px; }
  .marketing-brand img { width: 36px; height: 36px; }
  .marketing-header__ios { display: none; }
  .marketing-header__actions .button { min-height: 44px; padding: 9px 13px; font-size: 12px; }
  .marketing-hero__copy { padding: 55px 20px 44px; }
  .marketing-hero h1 { margin: 16px 0 18px; font-size: clamp(39px, 12vw, 52px); }
  .marketing-hero__copy > p:not(.eyebrow):not(.marketing-hero__note) { font-size: 17px; }
  .marketing-hero__actions { align-items: stretch; flex-direction: column; margin-top: 26px; }
  .marketing-hero__actions .button { width: 100%; }
  .marketing-hero__media { min-height: 390px; }
  .marketing-hero__media figcaption { right: 14px; bottom: 14px; left: 14px; max-width: none; }
  .marketing-benefits__inner { width: 100%; }
  .marketing-benefits p { padding: 22px 20px; }
  .marketing-benefits strong { font-size: 17px; }
  .marketing-story { width: min(100% - 28px, 1120px); padding: 72px 0 64px; }
  .marketing-section-heading { margin-bottom: 32px; }
  .marketing-section-heading h2 { font-size: 42px; }
  .marketing-feature-grid { border-radius: 16px; }
  .marketing-feature, .marketing-feature--lead { min-height: 0; padding: 30px 26px; }
  .marketing-feature--lead { padding-top: 54px; }
  .marketing-lineup-preview { display: none; }
  .marketing-feature--lead h3 { font-size: 38px; }
  .marketing-privacy-note { margin-top: 22px; }
  .marketing-final-cta { width: min(100% - 28px, 1120px); margin-bottom: 58px; padding: 34px 28px; border-radius: 17px; }
  .marketing-final-cta .button { width: 100%; }
  .marketing-footer { grid-template-columns: 1fr; width: min(100% - 28px, 1120px); gap: 12px; }
  .marketing-footer nav { gap: 16px; }
  .marketing-footer > span { grid-column: auto; }
  .legal-page { width: min(100% - 28px, 780px); padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page *, .marketing-page *::before, .marketing-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.button-row, .badge-row, .check-pair { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }.icon-button svg { width: 17px; }
.text-button { display: block; width: 100%; margin-top: 19px; border: 0; color: #345c7d; background: none; font-size: 13px; font-weight: 750; text-align: center; cursor: pointer; }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel { padding: 24px; }.panel__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }.panel__header h2 { margin: 4px 0 0; color: var(--navy-dark); font-family: Georgia, serif; font-size: 24px; letter-spacing: -.02em; }.panel__header a { color: #426985; font-size: 12px; font-weight: 800; }
.search-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; width: min(100%, 290px); min-height: 42px; overflow: hidden; border: 1px solid rgba(35,56,88,.14); border-radius: 12px; color: #718096; background: #f6f8fc; box-shadow: inset 0 1px 2px rgba(28,53,92,.025); cursor: text; transition: border-color .15s, box-shadow .15s, background .15s; }
.search-field svg { z-index: 1; grid-area: 1 / 1; margin-left: 13px; pointer-events: none; }
.search-field input { grid-area: 1 / 1 / 2 / 3; width: 100%; min-width: 0; min-height: 42px; padding: 9px 13px 9px 40px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-field input::placeholder { color: #8491a3; opacity: 1; }
.search-field:focus-within { border-color: #6087a4; background: white; box-shadow: 0 0 0 3px rgba(96,135,164,.12); }
.team-directory-search { margin-bottom: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 22px; }.stat-grid .card { display: flex; align-items: center; gap: 15px; padding: 19px; }.stat-grid small, .stat-grid strong { display: block; }.stat-grid small { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }.stat-grid strong { margin-top: 3px; color: var(--navy-dark); font-size: 26px; }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; }.stat-icon svg { width: 20px; }.stat-icon--blue { color: #32658a; background: var(--blue-soft); }.stat-icon--orange { color: #c95f24; background: var(--orange-soft); }.stat-icon--green { color: var(--green); background: var(--green-soft); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: 20px; }

.badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 8px; border-radius: 999px; color: #536779; background: #edf2f6; font-size: 10px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }.badge--orange { color: #a94d1d; background: var(--orange-soft); }.badge--blue { color: #2b6288; background: var(--blue-soft); }.badge--green { color: #1f755b; background: var(--green-soft); }
.team-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; overflow: hidden; border-radius: 10px; color: white; font-size: 11px; font-weight: 900; letter-spacing: -.02em; }.team-mark--image { outline: 1px solid rgba(17, 42, 67, .12); outline-offset: -1px; }.team-mark img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }.team-mark--lg { width: 52px; height: 52px; border-radius: 13px; font-size: 15px; }.team-mark--lg img { padding: 5px; }.team-mark--xl { width: 68px; height: 68px; border-radius: 17px; font-size: 20px; box-shadow: 0 10px 25px rgba(17,42,67,.18); }.team-mark--xl img { padding: 6px; }
.team-list { display: grid; }.team-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid #edf1f4; }.team-row:first-child { border-top: 0; }.team-row strong, .team-row small { display: block; }.team-row strong { font-size: 13px; }.team-row small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.team-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.team-card { position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }.team-card:hover { border-color: #b7c8d6; transform: translateY(-2px); }.team-card__stripe { position: absolute; inset: 0 0 auto; height: 5px; }.team-card > div { display: flex; align-items: center; justify-content: space-between; }.team-card h2 { margin: 25px 0 6px; color: var(--navy-dark); font-family: Georgia, serif; font-size: 24px; }.team-card p { min-height: 42px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.team-card__link { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 15px; border-top: 1px solid #edf1f4; color: #365f7d; font-size: 12px; font-weight: 850; }
.hero-card { position: relative; overflow: hidden; min-height: 320px; padding: 30px; }.hero-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--team-color); }.hero-card h2 { margin: 18px 0 7px; font-family: Georgia, serif; font-size: 35px; }.hero-card > p:not(.eyebrow) { margin: 0 0 25px; color: var(--muted); }

.event-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid #edf1f4; }.event-row:first-of-type { border-top: 0; }.event-date { display: grid; place-items: center; width: 46px; min-height: 50px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.event-date strong { color: var(--navy-dark); font-family: Georgia, serif; font-size: 20px; line-height: 1; }.event-row__body strong, .event-row__body small { display: block; }.event-row__body strong { font-size: 13px; }.event-row__body small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.timeline { display: grid; }.timeline-row { position: relative; display: grid; grid-template-columns: 8px auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 15px 4px; border-top: 1px solid #edf1f4; }.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: #5687aa; }.timeline-dot--game { background: var(--orange); }.timeline-row small { color: var(--muted); }.block { display: block; }.timeline-row .block { margin: 5px 0 3px; font-size: 13px; }

.tabs { display: flex; gap: 5px; margin-bottom: 22px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: #eaf0f5; }.tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 110px; padding: 9px 14px; border: 0; border-radius: 7px; color: #60758a; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }.tabs .tabs__active { color: var(--navy-dark); background: white; box-shadow: 0 2px 7px rgba(20,45,70,.09); }
.checklist-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; width: 100%; gap: 12px; padding: 15px 0; border: 0; border-top: 1px solid #edf1f4; text-align: left; background: transparent; cursor: pointer; }.checklist-row:first-of-type { border-top: 0; }.checklist-row strong, .checklist-row small { display: block; }.checklist-row strong { font-size: 13px; }.checklist-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }.checklist-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #627789; background: #edf2f6; font-size: 11px; font-weight: 900; }.checklist-dot--done { color: var(--green); background: var(--green-soft); }

.form-stack { display: grid; gap: 16px; }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.form-grid--3 { grid-template-columns: repeat(3, 1fr); }.form-stack label, .subform label, .settings-form label { display: grid; gap: 7px; color: #445c70; font-size: 11px; font-weight: 800; }.form-stack input, .form-stack select, .form-stack textarea, .subform input, .subform select, .subform textarea, .settings-form input, .settings-form select, .settings-form textarea { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #cbd7e1; border-radius: 8px; outline: none; color: var(--ink); background: white; font-size: 13px; }.form-stack input:focus, .form-stack select:focus, .subform input:focus, .subform select:focus, textarea:focus { border-color: #6087a4; box-shadow: 0 0 0 3px rgba(96,135,164,.12); }.form-stack input[type="color"] { padding: 5px; }.check-row { display: flex !important; grid-auto-flow: column; align-items: center; justify-content: flex-start; width: fit-content; }.check-row input { width: 16px !important; min-height: 16px !important; }.inline-form { margin-bottom: 20px; padding: 24px; }.subform { position: relative; display: grid; gap: 15px; margin-bottom: 20px; padding: 20px; border: 1px solid #cedbe5; border-radius: 11px; background: #f7fafc; }.subform__close { position: absolute; top: 10px; right: 10px; }.settings-form { max-width: 760px; }
.ai-lineup-panel { display: grid; gap: 20px; margin-top: 20px; }
.ai-lineup-panel .ai-lineup-panel__header { margin-bottom: 0; }
.ai-lineup-panel__intro { max-width: 820px; margin: -3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.ai-lineup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ai-lineup-form label { display: grid; grid-template-rows: auto auto 1fr; gap: 5px; min-width: 0; color: var(--navy-dark); font-size: 12px; font-weight: 800; }
.ai-lineup-form label > small { color: var(--muted); font-size: 10px; font-weight: 500; }
.ai-lineup-form textarea { width: 100%; min-height: 104px; margin-top: 5px; padding: 12px 13px; resize: vertical; border: 1px solid #cbd7e1; border-radius: 12px; outline: none; color: var(--ink); background: #fbfcfe; font-size: 12px; line-height: 1.55; transition: border-color .15s, box-shadow .15s, background .15s; }
.ai-lineup-form textarea::placeholder { color: #8a97a8; }
.ai-lineup-form textarea:focus { border-color: #6087a4; background: white; box-shadow: 0 0 0 3px rgba(96,135,164,.12); }
.ai-lineup-panel__actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-lineup-panel__actions p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ai-lineup-panel__actions .button { flex: 0 0 auto; }
.ai-lineup-panel .inline-notice { margin-top: -4px; }

.roster-panel { overflow: hidden; }
.roster-panel__header { align-items: flex-start; }
.roster-panel__summary { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.roster-toolbar { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0 18px; border-bottom: 1px solid rgba(35,56,88,.10); }
.roster-search { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; min-width: 0; border-radius: 10px; background: #f1f4fa; }
.roster-search svg { z-index: 1; grid-area: 1 / 1; margin-left: 12px; color: #718096; }
.roster-search input { grid-area: 1 / 1 / 2 / 3; width: 100%; min-height: 40px; padding: 9px 12px 9px 38px; border: 0; border-radius: 10px; outline: 1px solid rgba(35,56,88,.10); outline-offset: -1px; color: var(--ink); background: transparent; font-size: 13px; }
.roster-search input::placeholder { color: #8190a2; }
.roster-search input:focus { outline: 2px solid #6087a4; outline-offset: -2px; background: white; }
.roster-results { min-width: 0; margin: 0; color: var(--muted); font-size: 11px; }
.roster-table { display: grid; }
.roster-table__head, .roster-table__row { display: grid; grid-template-columns: minmax(230px, 1.25fr) minmax(220px, .85fr) auto; align-items: center; gap: 18px; padding: 14px 8px; }
.roster-table__head { color: #7a8b99; font-size: 10px; font-weight: 750; }
.roster-table__row { min-height: 70px; border-top: 1px solid rgba(35,56,88,.08); font-size: 12px; }
.player-cell { display: flex; align-items: center; min-width: 0; gap: 12px; }
.player-cell__body { min-width: 0; }
.player-cell strong, .player-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-cell strong { color: var(--navy-dark); font-size: 13px; }
.player-cell small, .roster-table__row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.player-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; color: #335d7a; background: var(--blue-soft); outline: 1px solid rgba(35,56,88,.08); outline-offset: -1px; font-size: 10px; font-weight: 900; }
.roster-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.roster-jersey { color: var(--navy); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.roster-action { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; min-height: 36px; padding: 7px 2px 7px 10px; color: #345c7d; font-size: 12px; font-weight: 800; }
.roster-action:hover { color: var(--navy-dark); }
.roster-action:focus-visible { border-radius: 6px; outline: 2px solid var(--orange); outline-offset: 2px; }
.roster-action svg { flex: 0 0 auto; }

.player-profile-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .65fr); align-items: start; gap: 20px; }
.player-editor { min-width: 0; overflow: hidden; }
.profile-panel-header { padding-bottom: 22px; }
.profile-panel-header h2, .activity-panel-header h2 { margin: 4px 0 0; color: var(--navy-dark); font-size: 24px; letter-spacing: -.02em; }
.profile-panel-header > div > p:last-child { max-width: 56ch; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.player-form { display: grid; }
.player-form label { display: grid; gap: 7px; color: #445c70; font-size: 11px; font-weight: 800; }
.player-form input:not([type="checkbox"], [type="range"]), .player-form textarea { width: 100%; min-height: 41px; padding: 9px 11px; border: 0; border-radius: 8px; outline: 1px solid rgba(35,56,88,.20); outline-offset: -1px; color: var(--ink); background: white; font-size: 13px; }
.player-form textarea { resize: vertical; }
.player-form input:not([type="checkbox"], [type="range"]):focus, .player-form textarea:focus { outline: 2px solid #6087a4; outline-offset: -2px; }
.profile-form-section { display: grid; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(35,56,88,.09); }
.profile-form-section__heading h3 { margin: 0; color: var(--navy-dark); font-size: 15px; }
.profile-form-section__heading p { max-width: 62ch; margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.ability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ability-control { min-width: 0; padding: 15px; border-radius: 13px; background: #f1f4fa; }
.ability-control__header, .ability-scale { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ability-control__header > span:first-child { color: var(--navy-dark); }
.ability-control input[type="range"] { width: 100%; min-height: 22px; padding: 0; border: 0; outline: none; accent-color: var(--orange); background: transparent; }
.ability-control input[type="range"]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ability-scale { color: var(--muted); font-size: 9px; font-weight: 600; }
.profile-choice-fieldset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-choice-fieldset legend { padding: 0; color: var(--navy-dark); font-size: 11px; font-weight: 800; }
.role-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.role-choice { display: flex !important; grid-auto-flow: initial; align-items: flex-start; width: auto; min-width: 0; gap: 10px; padding: 13px; border: 1px solid rgba(35,56,88,.10); border-radius: 11px; cursor: pointer; }
.role-choice:hover { background: #f8f9fc; }
.role-choice:has(input:checked) { border-color: rgba(40,75,122,.28); background: var(--blue-soft); }
.role-choice input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--navy); }
.role-choice span { min-width: 0; }
.role-choice strong, .role-choice small { display: block; }
.role-choice strong { color: var(--navy-dark); font-size: 12px; }
.role-choice small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.45; }
.profile-position-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.position-choice { position: relative; display: grid !important; place-items: center; min-width: 0; min-height: 38px; cursor: pointer; }
.position-choice input { position: absolute; inset: 0; opacity: 0; }
.position-choice span { display: grid; place-items: center; width: 100%; min-height: 38px; border: 1px solid rgba(35,56,88,.11); border-radius: 9px; color: #5b6f83; background: white; font-size: 11px; font-weight: 850; }
.position-choice:hover span { background: #f8f9fc; }
.position-choice:has(input:checked) span { border-color: var(--navy); color: white; background: var(--navy); }
.position-choice:has(input:focus-visible) span { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-group { display: grid; gap: 13px; min-width: 0; padding: 16px; border-radius: 13px; background: #f1f4fa; }
.contact-group h4 { margin: 0; color: var(--navy-dark); font-size: 12px; }
.profile-form-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(35,56,88,.09); }
.profile-remove-action { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-remove-action p { max-width: 34ch; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.player-activity-panel { position: sticky; top: 20px; min-width: 0; overflow: hidden; }
.activity-panel-header { padding-bottom: 18px; }
.activity-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 16px 0; border-block: 1px solid rgba(35,56,88,.09); }
.activity-summary > div { padding-inline: 16px; border-left: 1px solid rgba(35,56,88,.09); }
.activity-summary > div:first-child { padding-left: 0; border-left: 0; }
.activity-summary > div:last-child { padding-right: 0; }
.activity-summary dt { color: var(--navy-dark); font-size: 10px; font-weight: 750; }
.activity-summary dd { margin: 5px 0 0; color: var(--muted); font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.activity-empty { display: flex; align-items: flex-start; gap: 10px; padding: 22px 0 2px; }
.activity-empty svg { flex: 0 0 auto; margin-top: 2px; color: #6d8297; }
.activity-empty h3 { margin: 0; color: var(--navy-dark); font-size: 13px; }
.activity-empty p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.activity-section { padding-top: 22px; }
.activity-section + .activity-section { margin-top: 22px; border-top: 1px solid rgba(35,56,88,.09); }
.activity-section__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.activity-section__header h3 { margin: 0; color: var(--navy-dark); font-size: 13px; }
.activity-list { display: grid; }
.player-activity-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; padding: 13px 0; border-top: 1px solid rgba(35,56,88,.08); }
.player-activity-row:hover .player-activity-row__title { color: var(--navy); }
.player-activity-row > div { min-width: 0; }
.player-activity-row p { overflow: hidden; margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.player-activity-row .player-activity-row__title { margin-top: 0; color: var(--navy-dark); font-size: 12px; font-weight: 800; }
.player-activity-row > svg, .activity-row-status > svg { flex: 0 0 auto; color: #6d8297; }
.activity-row-status { display: flex; align-items: center; gap: 7px; }

.lineup-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 20px; }.inning-rail { position: sticky; top: 20px; padding: 21px; }.inning-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 15px 0 20px; }.inning-button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; background: white; font-weight: 800; cursor: pointer; }.inning-button--active { border-color: var(--orange); color: white; background: var(--orange); }.lineup-summary { display: grid; margin-bottom: 17px; padding: 15px 0; border-block: 1px solid #edf1f4; }.lineup-summary strong { font-family: Georgia, serif; font-size: 28px; }.lineup-summary span, .lineup-summary small { color: var(--muted); font-size: 10px; }.lineup-summary small { margin-top: 7px; }.saved-note { margin: 10px 0 0; color: var(--green); font-size: 11px; font-weight: 800; }.position-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.position-slot { display: grid; gap: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }.position-slot > span { display: grid; place-items: center; width: 30px; height: 24px; border-radius: 6px; color: white; background: var(--navy); font-size: 10px; font-weight: 900; }.position-slot select { width: 100%; min-height: 38px; border: 1px solid #cbd7e1; border-radius: 7px; background: white; font-size: 12px; }.position-slot small { min-height: 26px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.fielding-workspace { display: grid; min-width: 0; max-width: 100%; gap: 20px; }.inning-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; min-width: 0; align-items: center; gap: 24px; padding: 20px 24px; }.inning-toolbar h2 { margin: 4px 0 3px; font-family: Georgia, serif; font-size: 24px; }.inning-toolbar p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }.inning-toolbar__controls { display: flex; flex-wrap: wrap; gap: 6px; }.inning-chip { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 12px; font-weight: 850; cursor: pointer; }.inning-chip:hover { border-color: #9eb4c4; }.inning-chip--active { border-color: var(--orange); color: white; background: var(--orange); box-shadow: 0 5px 12px rgba(244,123,53,.22); }
.fielding-grid { display: grid; grid-template-columns: minmax(500px, 1.45fr) minmax(300px, .75fr); align-items: start; gap: 20px; }.diamond-card { min-width: 0; }.fielding-sidebar { display: grid; gap: 20px; }.assignment-card { min-height: 400px; }.assignment-card .empty-state { padding-block: 70px; }.current-assignment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid #c9dbe7; border-radius: 10px; background: var(--blue-soft); }.current-assignment strong, .current-assignment small { display: block; }.current-assignment small { margin-top: 3px; color: var(--muted); font-size: 9px; }.eligible-player-list { display: grid; margin-top: 12px; }.eligible-player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 11px 2px; border: 0; border-top: 1px solid #edf1f4; text-align: left; background: transparent; cursor: pointer; }.eligible-player:hover { background: #f8fafc; }.eligible-player strong, .eligible-player small { display: block; }.eligible-player small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }.eligible-player__roles { color: #426985; font-size: 10px; font-weight: 900; }.assigned-position-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px 2px; border: 0; border-top: 1px solid #edf1f4; text-align: left; background: transparent; cursor: pointer; }.assigned-position-row strong, .assigned-position-row small { display: block; }.assigned-position-row small { color: var(--muted); font-size: 9px; }
.baseball-field { position: relative; width: min(100%, 720px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: 1px solid #4d714b; border-radius: 18px 18px 48% 48%; background: radial-gradient(circle at 50% 100%, #82bd67 0 15%, #6cae59 15% 31%, #78b960 31% 47%, #68aa55 47% 63%, #75b65d 63% 100%); box-shadow: inset 0 0 60px rgba(20,68,35,.18); }.baseball-field::before, .baseball-field::after { content: ""; position: absolute; z-index: 1; bottom: -2%; width: 62%; height: 74%; border-top: 2px solid rgba(255,255,255,.75); }.baseball-field::before { left: 49.7%; transform: rotate(-43deg); transform-origin: bottom left; }.baseball-field::after { right: 49.7%; transform: rotate(43deg); transform-origin: bottom right; }.baseball-field__grass-lines { position: absolute; inset: 0; opacity: .18; background: repeating-conic-gradient(from 315deg at 50% 82%, rgba(255,255,255,.32) 0deg 8deg, transparent 8deg 16deg); }.baseball-field__infield { position: absolute; z-index: 1; left: 24%; top: 30%; width: 52%; aspect-ratio: 1; border-radius: 22%; background: #d8b47c; transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(100,68,35,.18); }.baseball-field__basepaths { position: absolute; z-index: 2; left: 32%; top: 38%; width: 36%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.92); transform: rotate(45deg); }.baseball-field__mound { position: absolute; z-index: 3; left: 50%; top: 57%; width: 24px; height: 24px; border: 1px solid #9f7645; border-radius: 50%; background: #c79861; transform: translate(-50%, -50%); }.baseball-field__base { position: absolute; z-index: 4; width: 13px; height: 13px; border: 1px solid #b7b7ac; background: #fffdf4; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 1px 3px rgba(0,0,0,.18); }.baseball-field__base--home { left: 50%; top: 81%; }.baseball-field__base--first { left: 68%; top: 56%; }.baseball-field__base--second { left: 50%; top: 38%; }.baseball-field__base--third { left: 32%; top: 56%; }
.field-position { position: absolute; z-index: 6; display: grid; place-items: center; align-content: center; width: 62px; min-height: 52px; padding: 5px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); background: rgba(255,255,255,.94); box-shadow: 0 5px 13px rgba(16,42,67,.18); transform: translate(-50%, -50%); cursor: pointer; transition: transform .14s, box-shadow .14s, border-color .14s; }.field-position:hover { transform: translate(-50%, -50%) scale(1.05); }.field-position strong, .field-position small { display: block; max-width: 100%; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.field-position strong { font-size: 10px; line-height: 1.1; }.field-position small { margin-top: 2px; font-size: 9px; font-weight: 850; }.field-position--assigned { border-color: white; color: white; background: var(--navy); }.field-position--active { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,123,53,.28), 0 7px 18px rgba(16,42,67,.22); transform: translate(-50%, -50%) scale(1.08); }
.baseball-field--readonly .field-position { cursor: default; }
.baseball-field--readonly .field-position:hover { transform: translate(-50%, -50%); }
.lineup-matrix-card, .lineup-matrix-scroll { min-width: 0; max-width: 100%; }.lineup-matrix-scroll { overflow-x: auto; }.lineup-matrix { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 11px; }.lineup-matrix th, .lineup-matrix td { padding: 11px 12px; border-bottom: 1px solid #e7edf2; text-align: center; }.lineup-matrix thead th { color: #708292; background: #f5f8fa; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }.lineup-matrix th:first-child { position: sticky; left: 0; z-index: 2; min-width: 180px; text-align: left; background: white; }.lineup-matrix thead th:first-child { background: #f5f8fa; }.lineup-matrix tbody th { color: var(--navy-dark); font-weight: 800; }

.print-workspace { display: grid; gap: 22px; }.print-controls { display: grid; gap: 18px; }.print-controls .panel__header { margin-bottom: 0; }.print-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 0; border-block: 1px solid rgba(35,56,88,.09); cursor: pointer; }.print-option strong, .print-option small { display: block; }.print-option strong { color: var(--navy-dark); font-size: 13px; }.print-option small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }.toggle-control { position: relative; display: inline-flex; width: 42px; flex: 0 0 auto; padding: 3px; border-radius: 999px; background: #dce2ec; box-shadow: inset 0 0 0 1px rgba(28,53,92,.08); }.toggle-control > span { width: 17px; height: 17px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(28,53,92,.22); transition: transform .18s; }.toggle-control input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }.toggle-control:has(input:checked) { background: var(--navy); }.toggle-control:has(input:checked) > span { transform: translateX(19px); }.toggle-control:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }.print-pdf-hint { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }.print-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 8px 2px 0; }.print-preview-heading h2 { margin: 4px 0 0; color: var(--navy-dark); font-size: 24px; }.print-preview-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }.print-sheet { min-width: 0; padding: 28px; border-color: rgba(35,56,88,.10); background: white; }.print-sheet__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 21px; padding-bottom: 15px; border-bottom: 2px solid var(--navy-dark); }.print-sheet__header h2 { margin: 4px 0 0; color: var(--navy-dark); font-size: 25px; }.print-sheet__header > p { margin: 0; color: var(--muted); font-size: 11px; }.print-warning { margin: -5px 0 16px; padding: 9px 11px; border-radius: 8px; color: #8a4d2b; background: var(--orange-soft); font-size: 11px; }.print-table-scroll { min-width: 0; overflow-x: auto; }.print-summary-table, .print-roster-table { width: 100%; border-collapse: collapse; }.print-summary-table { min-width: 650px; }.print-summary-table th, .print-summary-table td, .print-roster-table th, .print-roster-table td { padding: 10px; border-bottom: 1px solid rgba(35,56,88,.10); font-size: 11px; text-align: center; }.print-summary-table thead th, .print-roster-table thead th { color: var(--navy-dark); background: #edf0f7; font-size: 10px; white-space: nowrap; }.print-summary-table tbody th, .print-roster-table tbody th { text-align: left; }.print-summary-table tbody tr:nth-child(even), .print-roster-table tbody tr:nth-child(even) { background: #f8f9fc; }.print-inning-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); align-items: start; gap: 24px; }.print-diamond { min-width: 0; }
.availability-list, .attendance-list { display: grid; }.availability-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; border-top: 1px solid #edf1f4; text-align: left; cursor: pointer; }.availability-row:hover { background: #fafbfd; }.availability-row strong, .availability-row small { display: block; }.availability-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }.availability-control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 144px; }.availability-control__label { min-width: 70px; font-size: 9px; font-weight: 900; text-align: right; text-transform: uppercase; }.availability-control--yes .availability-control__label { color: var(--green); }.availability-control--no .availability-control__label { color: var(--danger); }.availability-switch { position: relative; display: inline-flex; width: 46px; flex: 0 0 auto; padding: 3px; border-radius: 999px; background: #f3caca; box-shadow: inset 0 0 0 1px rgba(180,46,46,.12); transition: background .18s, box-shadow .18s; }.availability-switch > span { width: 19px; height: 19px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(28,53,92,.24); transition: transform .18s; }.availability-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }.availability-switch:has(input:checked) { background: var(--green); box-shadow: inset 0 0 0 1px rgba(16,110,91,.15); }.availability-switch:has(input:checked) > span { transform: translateX(21px); }.availability-switch:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.attendance-row { display: grid; grid-template-columns: auto minmax(140px, 1fr) auto; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid #edf1f4; font-size: 12px; }.segmented { display: flex; padding: 3px; border-radius: 8px; background: #edf2f6; }.segmented button { padding: 6px 9px; border: 0; border-radius: 6px; color: #6b7d8c; background: transparent; font-size: 9px; font-weight: 800; text-transform: capitalize; cursor: pointer; }.segmented .segmented__active { color: var(--navy-dark); background: white; box-shadow: 0 1px 4px rgba(20,45,70,.12); }
.import-panel > .muted { margin: 17px 0; }
.import-source { padding-bottom: 22px; }
.import-review { padding-top: 22px; border-top: 1px solid rgba(35,56,88,.1); }
.import-review__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.import-review__header h3 { margin: 4px 0 5px; color: var(--navy-dark); font-size: 20px; }
.import-review__header > div:first-child > p:last-child { max-width: 560px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.import-review__actions { justify-content: flex-end; flex: 0 0 auto; }
.import-preview-list { display: grid; gap: 12px; }
.import-preview-card { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1.55fr); gap: 22px; padding: 18px; border: 1px solid rgba(35,56,88,.11); border-radius: 12px; background: #fbfcfe; }
.import-preview-card__heading { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.import-preview-card__heading > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; color: #315d7c; background: var(--blue-soft); font-size: 10px; font-weight: 900; }
.import-preview-card__heading p { margin: 1px 0 3px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.import-preview-card__heading h4 { margin: 0; overflow-wrap: anywhere; color: var(--navy-dark); font-size: 14px; }
.import-preview-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 18px; margin: 0; }
.import-preview-fields--schedule { grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(90px, .5fr)); }
.import-preview-field { min-width: 0; }
.import-preview-field--wide { grid-column: span 2; }
.import-preview-field dt { color: #788a99; font-size: 9px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.import-preview-field dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 11px; line-height: 1.4; }
.import-preview-field dd.import-preview-field__empty { color: #9aa7b2; font-style: italic; }
.batting-order-panel .panel__header { align-items: flex-start; }
.batting-order-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.batting-order-list { border-top: 1px solid #edf1f4; }
.batting-order-row { display: grid; grid-template-columns: 34px 30px minmax(140px, 1fr) auto; align-items: center; gap: 11px; min-height: 61px; padding: 8px 4px; border-bottom: 1px solid #edf1f4; background: white; transition: border-color .15s, box-shadow .15s, opacity .15s, transform .15s; }
.batting-order-row strong { color: var(--navy-dark); font-size: 12px; }
.batting-order-row--dragging { opacity: .42; transform: scale(.995); }
.batting-order-row--target { position: relative; z-index: 1; border-color: rgba(249,115,22,.52); border-radius: 10px; box-shadow: 0 0 0 2px rgba(249,115,22,.13), 0 8px 20px rgba(28,53,92,.08); }
.batting-drag-handle { display: grid; place-items: center; width: 34px; height: 40px; padding: 0; border: 0; border-radius: 8px; color: #8190a2; background: transparent; cursor: grab; touch-action: none; }
.batting-drag-handle:hover { color: var(--navy); background: #edf1f7; }
.batting-drag-handle:active { cursor: grabbing; }
.batting-drag-handle:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.batting-order-position { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--navy); background: #edf1f7; font-size: 11px; font-weight: 900; }
.batting-order-row .icon-button:disabled { opacity: .3; cursor: not-allowed; }

/* Public team page: a branded, game-day schedule built from each team's colors. */
.public-team-page { min-height: 100vh; overflow: hidden; color: #172235; background: #f6f4ef; -webkit-font-smoothing: antialiased; }
.public-team-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.public-team-hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: linear-gradient(125deg, color-mix(in srgb, var(--team-primary), #07111f 38%), color-mix(in srgb, var(--team-secondary), #07111f 45%)); }
.public-team-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .22; background: repeating-linear-gradient(112deg, transparent 0 78px, rgba(255,255,255,.09) 78px 79px); }
.public-team-hero::after { content: ""; position: absolute; z-index: -1; inset: auto -9% -190px auto; width: 570px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.035), 0 0 0 116px rgba(255,255,255,.025); }
.public-team-hero__diamond { position: absolute; z-index: -1; right: 13%; bottom: -185px; width: 330px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); transform: rotate(45deg); }
.public-team-hero__inner { display: grid; gap: 38px; padding-block: 24px 72px; }
.public-team-brandbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-team-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 750; }
.public-team-brand > img { display: block; width: 34px; height: 34px; object-fit: contain; }
.public-team-brandbar > p { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 650; }
.public-team-brandbar svg { flex: 0 0 auto; stroke: var(--team-secondary); }
.public-team-identity { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.public-team-logo { display: grid; place-items: center; width: 116px; aspect-ratio: 1; overflow: hidden; border-radius: 26px; color: var(--team-primary); background: white; box-shadow: 0 18px 45px rgba(4,11,24,.24); }
.public-team-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.public-team-logo span { font-size: 30px; font-weight: 900; letter-spacing: -.055em; }
.public-team-identity__copy { min-width: 0; }
.public-team-kicker { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.public-team-identity__copy .public-team-kicker { color: color-mix(in srgb, var(--team-secondary), white 35%); }
.public-team-identity h1 { max-width: 18ch; margin: 7px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 82px); font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.public-team-identity__copy > p:last-child { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.public-calendar-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px 10px 11px; border: 0; border-radius: 12px; color: #152237; background: white; box-shadow: 0 12px 25px rgba(3,10,22,.18); font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.public-calendar-cta svg { flex: 0 0 auto; stroke: var(--team-primary); }
.public-calendar-cta:hover { transform: translateY(-2px); }
.public-calendar-cta:focus-visible { outline: 2px solid var(--team-secondary); outline-offset: 3px; }
.public-team-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.public-team-stats > div { padding: 20px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.public-team-stats > div:first-child { padding-left: 0; border-left: 0; }
.public-team-stats dt { color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.public-team-stats dd { margin: 6px 0 0; color: white; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.public-team-content { position: relative; z-index: 2; display: grid; gap: 64px; padding-block: 0 76px; }
.public-team-content > .notice { margin: 24px 0 -40px; }
.public-next-event { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 30px; margin-top: -38px; padding: 34px; border-radius: 24px; background: white; box-shadow: 0 24px 65px rgba(20,32,54,.12); outline: 1px solid rgba(15,28,48,.05); }
.public-next-event--practice { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); }
.public-next-event__main { display: grid; align-content: start; gap: 28px; min-width: 0; }
.public-section-heading { display: grid; gap: 7px; }
.public-section-heading .public-team-kicker { color: color-mix(in srgb, var(--team-primary), #172235 24%); }
.public-section-heading h2 { max-width: 35ch; margin: 0; color: #172235; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.public-section-heading > p:last-child:not(.public-team-kicker) { max-width: 56ch; margin: 0; color: #687386; font-size: 13px; line-height: 1.65; text-wrap: pretty; }
.public-event-details { display: flex; flex-wrap: wrap; gap: 9px 18px; color: #687386; }
.public-event-details p { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; }
.public-event-details svg { flex: 0 0 auto; stroke: color-mix(in srgb, var(--team-primary), #526173 20%); }
.public-event-details--featured { display: grid; gap: 12px; }
.public-event-details--featured p { font-size: 13px; }
.public-snack-duty { min-width: 0; padding: 20px; border-radius: 16px; background: color-mix(in srgb, var(--team-secondary), white 91%); }
.public-snack-duty--featured { align-self: stretch; padding: 24px; border-radius: 18px; }
.public-snack-duty__heading, .public-snack-duty--covered, .public-calendar-note { display: flex; align-items: flex-start; gap: 10px; }
.public-snack-duty svg, .public-calendar-note svg { flex: 0 0 auto; stroke: var(--team-primary); }
.public-snack-duty strong, .public-snack-duty p, .public-calendar-note strong, .public-calendar-note p { display: block; }
.public-snack-duty strong, .public-calendar-note strong { color: #1d2b3e; font-size: 12px; }
.public-snack-duty p, .public-calendar-note p { margin: 4px 0 0; color: #687386; font-size: 10px; line-height: 1.55; }
.public-snack-duty--covered { align-items: center; }
.public-snack-duty--covered svg { stroke: #28806b; }
.public-snack-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.public-snack-form > div { display: grid; gap: 6px; min-width: 0; }
.public-snack-form label { color: #48576a; font-size: 9px; font-weight: 800; }
.public-snack-form input { width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 9px; outline: 1px solid rgba(20,40,65,.13); outline-offset: -1px; color: #172235; background: white; font-size: 12px; }
.public-snack-form input:focus { outline: 2px solid var(--team-primary); outline-offset: -2px; }
.public-snack-form .button { grid-column: 1 / -1; min-height: 36px; border: 0; color: var(--team-secondary-ink); background: var(--team-secondary); box-shadow: none; }
.public-snack-form .button:hover { filter: brightness(.96); }
.public-calendar-note { align-self: center; padding: 24px; border-left: 2px solid color-mix(in srgb, var(--team-secondary), white 25%); }
.public-schedule-section { display: grid; gap: 24px; }
.public-event-list { display: grid; gap: 12px; }
.public-event-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(280px, .75fr); align-items: center; gap: 20px; padding: 20px 22px; border-radius: 18px; background: white; outline: 1px solid rgba(15,28,48,.07); box-shadow: 0 12px 30px rgba(20,32,54,.05); }
.public-date-tile { display: grid; place-items: center; width: 62px; min-height: 68px; border-radius: 13px; color: white; background: color-mix(in srgb, var(--team-primary), #07111f 18%); font-variant-numeric: tabular-nums; }
.public-date-tile span { font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.public-date-tile strong { font-family: Georgia, serif; font-size: 25px; font-weight: 600; }
.public-event-card__body { min-width: 0; }
.public-event-type { width: fit-content; margin: 0 0 5px; padding: 4px 8px; border-radius: 999px; color: color-mix(in srgb, var(--team-primary), #172235 18%); background: color-mix(in srgb, var(--team-primary), white 90%); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.public-event-type--practice { color: color-mix(in srgb, var(--team-secondary), #172235 45%); background: color-mix(in srgb, var(--team-secondary), white 88%); }
.public-event-card h3 { margin: 0 0 10px; color: #172235; font-size: 16px; font-weight: 700; }
.public-schedule-section--past { padding-top: 36px; border-top: 1px solid rgba(18,34,55,.1); }
.public-event-card--past { grid-template-columns: auto minmax(0, 1fr); opacity: .74; box-shadow: none; }
.public-schedule-empty { display: flex; align-items: flex-start; gap: 16px; margin-top: -38px; padding: 32px; border-radius: 24px; background: white; box-shadow: 0 24px 65px rgba(20,32,54,.12); }
.public-schedule-empty svg { flex: 0 0 auto; stroke: var(--team-secondary); }
.public-schedule-empty h2 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 600; }
.public-schedule-empty p { margin: 7px 0 0; color: #687386; font-size: 13px; }
.public-team-footer { color: rgba(255,255,255,.68); background: color-mix(in srgb, var(--team-primary), #07111f 52%); }
.public-team-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.public-team-footer p { margin: 0; font-size: 11px; }
.public-team-footer strong { color: white; }
.public-team-footer a { color: white; font-size: 11px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.public-calendar-dialog__backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: rgba(7,17,31,.72); backdrop-filter: blur(7px); }
.public-calendar-dialog { position: relative; width: min(620px, 100%); padding: 34px; border-radius: 24px; color: #172235; background: white; box-shadow: 0 30px 90px rgba(4,11,24,.32); }
.public-calendar-dialog__close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(20,40,65,.1); border-radius: 50%; color: #526173; background: #f7f8fa; cursor: pointer; }
.public-calendar-dialog__close:hover { color: #172235; background: #eef1f5; }
.public-calendar-dialog__close:focus-visible { outline: 2px solid var(--team-primary); outline-offset: 2px; }
.public-calendar-dialog__heading { display: grid; gap: 8px; padding-right: 42px; }
.public-calendar-dialog__heading .public-team-kicker { color: color-mix(in srgb, var(--team-primary), #172235 18%); }
.public-calendar-dialog__heading h2 { max-width: 18ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.public-calendar-dialog__heading > p:last-child { max-width: 52ch; margin: 2px 0 0; color: #687386; font-size: 13px; line-height: 1.6; }
.public-calendar-steps { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.public-calendar-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 11px; }
.public-calendar-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--team-secondary-ink); background: var(--team-secondary); font-size: 11px; font-weight: 900; }
.public-calendar-steps p { margin: 1px 0 0; color: #687386; font-size: 12px; line-height: 1.55; }
.public-calendar-steps strong { color: #26364b; }
.public-calendar-url { display: grid; gap: 7px; }
.public-calendar-url label { color: #48576a; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.public-calendar-url > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.public-calendar-url input { min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(20,40,65,.14); border-radius: 10px; color: #334257; background: #f7f8fa; font-size: 12px; }
.public-calendar-url input:focus { outline: 2px solid var(--team-primary); outline-offset: 1px; }
.public-calendar-url button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 13px; border: 0; border-radius: 10px; color: white; background: var(--team-primary); font-size: 11px; font-weight: 800; cursor: pointer; }
.public-calendar-url button:focus-visible { outline: 2px solid var(--team-secondary); outline-offset: 2px; }
.public-calendar-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.public-calendar-dialog__actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.public-calendar-dialog__primary { color: white; background: var(--team-primary); box-shadow: 0 10px 22px color-mix(in srgb, var(--team-primary), transparent 78%); }
.public-calendar-dialog__secondary { border: 1px solid rgba(20,40,65,.14); color: #26364b; background: white; }
.public-calendar-dialog__actions a:focus-visible { outline: 2px solid var(--team-secondary); outline-offset: 2px; }
.public-calendar-dialog__note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(20,40,65,.1); color: #687386; font-size: 11px; line-height: 1.55; }
.public-calendar-dialog__note strong { color: #334257; }
.public-team-loading { display: grid; place-items: center; align-content: center; min-height: 100vh; color: #687386; background: #f6f4ef; }
.public-team-loading__ball { width: 40px; aspect-ratio: 1; border-radius: 50%; background: #f8f5ed; box-shadow: inset 0 0 0 2px #c94845; }

@media (max-width: 760px) {
  .public-team-shell { width: min(100% - 28px, 1120px); }
  .public-team-hero__inner { gap: 28px; padding-block: 18px 58px; }
  .public-team-brandbar > p { font-size: 14px; }
  .public-team-identity { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
  .public-team-logo { width: 82px; border-radius: 20px; }
  .public-team-logo span { font-size: 23px; }
  .public-team-identity h1 { margin-block: 5px 7px; font-size: clamp(38px, 11vw, 56px); }
  .public-team-identity__copy > p:last-child { font-size: 16px; }
  .public-calendar-cta { grid-column: 1 / -1; width: 100%; min-height: 48px; font-size: 16px; }
  .public-team-stats > div { padding: 16px 12px; }
  .public-team-stats > div:first-child { padding-left: 0; }
  .public-team-stats dt { font-size: 9px; }
  .public-team-stats dd { font-size: 16px; }
  .public-team-content { gap: 50px; padding-bottom: 56px; }
  .public-next-event, .public-next-event--practice { grid-template-columns: 1fr; gap: 26px; margin-top: -30px; padding: 24px; border-radius: 20px; }
  .public-section-heading h2 { font-size: 27px; }
  .public-section-heading > p:last-child:not(.public-team-kicker) { font-size: 16px; }
  .public-event-details p, .public-event-details--featured p { font-size: 16px; }
  .public-event-details svg { width: 18px; height: 18px; }
  .public-snack-duty { padding: 18px; }
  .public-snack-duty strong, .public-calendar-note strong { font-size: 16px; }
  .public-snack-duty p, .public-calendar-note p { font-size: 16px; }
  .public-snack-form { grid-template-columns: 1fr; }
  .public-snack-form label { font-size: 14px; }
  .public-snack-form input { min-height: 48px; font-size: 16px; }
  .public-snack-form .button { grid-column: auto; min-height: 48px; font-size: 16px; }
  .public-event-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px; }
  .public-event-card .public-snack-duty { grid-column: 1 / -1; }
  .public-event-card h3 { font-size: 20px; }
  .public-event-type { font-size: 10px; }
  .public-date-tile { width: 58px; min-height: 64px; }
  .public-event-details { display: grid; gap: 8px; }
  .public-team-footer > div { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
  .public-team-footer p, .public-team-footer a { font-size: 14px; line-height: 1.6; }
  .public-calendar-dialog__backdrop { align-items: end; padding: 12px; }
  .public-calendar-dialog { max-height: calc(100vh - 24px); padding: 28px 20px 22px; overflow-y: auto; border-radius: 22px; }
  .public-calendar-dialog__heading h2 { font-size: 29px; }
  .public-calendar-dialog__heading > p:last-child, .public-calendar-steps p, .public-calendar-dialog__note { font-size: 16px; }
  .public-calendar-url label { font-size: 12px; }
  .public-calendar-url > div { grid-template-columns: 1fr; }
  .public-calendar-url input, .public-calendar-url button { min-height: 48px; font-size: 16px; }
  .public-calendar-dialog__actions { display: grid; }
  .public-calendar-dialog__actions a { min-height: 48px; font-size: 16px; }
}

@media (max-width: 430px) {
  .public-team-brandbar > p { display: none; }
  .public-team-stats { grid-template-columns: 1.3fr 1fr 1fr; }
  .public-team-stats > div { padding-inline: 9px; }
  .public-team-stats dd { font-size: 14px; }
  .public-calendar-note { padding: 18px 0 0; border-top: 2px solid color-mix(in srgb, var(--team-secondary), white 25%); border-left: 0; }
}

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); align-items: start; gap: 20px; }.settings-aside { display: grid; gap: 13px; }.integration-card { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 18px; }.integration-card > svg { width: 19px; color: #407092; }.integration-card h3 { margin: 4px 0 5px; font-size: 13px; }.integration-card p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.integration-card code { font-size: 10px; }.note-card { margin-top: 16px; padding: 20px; }.note-card p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.team-settings-shell { container-type: inline-size; }
.team-settings-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .7fr); align-items: start; gap: 20px; }
.team-settings-main { min-width: 0; overflow: hidden; }
.team-settings-heading { margin-bottom: 0; }
.team-settings-heading > div { min-width: 0; }
.team-settings-heading p:last-child { max-width: 62ch; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.team-settings-form { max-width: none; gap: 0; }
.team-settings-section { display: grid; gap: 16px; padding: 28px 0; border-top: 1px solid rgba(35,56,88,.09); }
.settings-section-heading { min-width: 0; }
.settings-section-heading h3 { margin: 0; color: var(--navy-dark); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.settings-section-heading p { max-width: 58ch; margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.select-control { display: grid; grid-template-columns: minmax(0, 1fr) 36px; }
.select-control select { z-index: 1; grid-area: 1 / 1 / 2 / 3; padding-right: 36px; appearance: none; background: transparent; }
.select-control svg { grid-area: 1 / 2; place-self: center; color: #66758a; pointer-events: none; }
.settings-color-grid { align-items: stretch; }
.team-settings-form .settings-color-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 11px; border: 1px solid rgba(35,56,88,.11); border-radius: 12px; background: #f7f9fc; cursor: pointer; }
.team-settings-form .settings-color-field input { width: 44px; min-height: 40px; padding: 3px; border-color: rgba(35,56,88,.14); border-radius: 9px; cursor: pointer; }
.settings-color-field > span { min-width: 0; }
.settings-color-field strong, .settings-color-field small { display: block; }
.settings-color-field strong { color: var(--navy-dark); font-size: 12px; }
.settings-color-field small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 550; line-height: 1.4; }
.settings-toggle-list { display: grid; border-block: 1px solid rgba(35,56,88,.09); }
.team-settings-form .settings-toggle { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 16px 2px; cursor: pointer; }
.team-settings-form .settings-toggle + .settings-toggle { border-top: 1px solid rgba(35,56,88,.09); }
.settings-toggle > span:first-child { min-width: 0; }
.settings-toggle strong, .settings-toggle small { display: block; }
.settings-toggle strong { color: var(--navy-dark); font-size: 12px; }
.settings-toggle small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 550; line-height: 1.45; }
.team-settings-form .toggle-control { flex: 0 0 auto; }
.team-settings-form .toggle-control input { min-height: 0; padding: 0; border: 0; }
.team-settings-form textarea { min-height: 106px; resize: vertical; line-height: 1.55; }
.team-settings-form textarea::placeholder { color: #8a97a8; }
.team-settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(35,56,88,.09); }
.team-settings-actions p { margin: 0; color: var(--muted); font-size: 10px; }
.team-settings-actions .button { flex: 0 0 auto; }
.team-settings-aside { position: sticky; top: 20px; display: grid; gap: 16px; min-width: 0; }
.team-logo-panel, .team-resources-panel { padding: 20px; }
.team-logo-preview { display: flex; align-items: flex-start; gap: 13px; }
.team-logo-preview .team-mark { flex: 0 0 auto; }
.team-logo-preview > div { min-width: 0; }
.team-logo-preview h3 { margin: 4px 0 5px; overflow: hidden; color: var(--navy-dark); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.team-logo-preview p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.team-logo-upload { display: grid; gap: 7px; margin-top: 18px; color: #445c70; font-size: 11px; font-weight: 800; }
.team-logo-upload input { width: 100%; min-width: 0; min-height: 40px; padding: 4px; border: 1px solid #cbd7e1; border-radius: 9px; color: var(--muted); background: white; font-size: 11px; }
.team-logo-upload input::file-selector-button { min-height: 30px; margin-right: 8px; padding: 6px 9px; border: 0; border-radius: 7px; color: var(--navy); background: #edf1f7; font: inherit; font-weight: 800; cursor: pointer; }
.team-logo-upload input:focus-visible { border-color: #6087a4; outline: 2px solid rgba(96,135,164,.22); outline-offset: -1px; }
.team-logo-button { min-height: 34px; margin-top: 10px; padding: 7px 11px; font-size: 11px; }
.team-logo-panel .saved-note { font-size: 10px; line-height: 1.45; }
.team-resources-panel .settings-section-heading { padding-bottom: 14px; }
.team-resource-links { display: grid; border-top: 1px solid rgba(35,56,88,.09); }
.team-resource-links a { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 2px; color: var(--ink); }
.team-resource-links a + a { border-top: 1px solid rgba(35,56,88,.09); }
.team-resource-links a:hover strong { color: var(--orange); }
.team-resource-links a > span { min-width: 0; }
.team-resource-links strong, .team-resource-links small { display: block; }
.team-resource-links strong { color: var(--navy-dark); font-size: 12px; }
.team-resource-links small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.team-resource-links svg { flex: 0 0 auto; color: #66758a; }
.team-danger-zone { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 2px 0; border-top: 1px solid rgba(184,59,59,.18); }
.team-danger-zone > div { min-width: 0; }
.team-danger-zone h3 { margin: 0; color: #8f3030; font-size: 13px; }
.team-danger-zone p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.team-danger-zone .button { min-height: 34px; flex: 0 0 auto; padding: 7px 10px; font-size: 11px; }

@container (max-width: 860px) {
  .team-settings-layout { grid-template-columns: 1fr; }
  .team-settings-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-danger-zone { grid-column: 1 / -1; }
}

@container (max-width: 560px) {
  .team-settings-aside { grid-template-columns: 1fr; }
  .team-danger-zone { grid-column: auto; }
  .settings-color-grid { grid-template-columns: 1fr; }
  .team-settings-actions, .team-danger-zone { align-items: stretch; flex-direction: column; }
  .team-settings-actions .button, .team-danger-zone .button { width: 100%; }
  .team-settings-heading p:last-child, .settings-section-heading p, .team-logo-preview p:last-child, .team-resource-links small, .team-danger-zone p, .settings-toggle small { font-size: 16px; }
  .settings-section-heading h3, .team-logo-preview h3, .team-danger-zone h3 { font-size: 18px; }
  .team-settings-form label, .team-logo-upload { font-size: 16px; }
  .team-settings-form input, .team-settings-form select, .team-settings-form textarea, .team-logo-upload input { min-height: 48px; font-size: 16px; }
  .team-settings-form .settings-color-field { padding: 13px; }
  .settings-color-field strong, .settings-toggle strong, .team-resource-links strong { font-size: 16px; }
  .settings-color-field small { font-size: 14px; }
  .team-settings-form .settings-toggle { padding: 18px 2px; }
  .team-settings-form .toggle-control { width: 50px; padding: 4px; }
  .team-settings-form .toggle-control > span { width: 19px; height: 19px; }
  .team-settings-form .toggle-control:has(input:checked) > span { transform: translateX(23px); }
}
.groupme-page { container-type: inline-size; display: grid; gap: 18px; }
.groupme-page .eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.groupme-page .button { min-height: 36px; padding: 7px 12px; }
.groupme-page .button svg { flex: 0 0 auto; }
.groupme-notice { margin: 0; padding: 12px 15px; border: 1px solid rgba(40,128,107,.18); border-radius: 11px; color: #216755; background: #edf8f4; font-size: 13px; line-height: 1.5; }
.groupme-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; padding: 24px 26px 0; overflow: hidden; }
.groupme-overview__copy { display: flex; align-items: flex-start; min-width: 0; gap: 12px; }
.groupme-overview__copy > svg { flex: 0 0 auto; margin-top: 3px; color: #00a4df; }
.groupme-overview__copy > div { min-width: 0; }
.groupme-overview h2 { margin: 5px 0 6px; color: var(--navy-dark); font-size: 23px; font-weight: 650; letter-spacing: -.02em; }
.groupme-overview__copy p:last-child { max-width: 68ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.groupme-overview__copy p strong { color: var(--navy-dark); font-weight: 750; }
.groupme-progress { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 18px 0 19px; border-top: 1px solid rgba(35,56,88,.08); }
.groupme-progress li { display: flex; align-items: flex-start; min-width: 0; gap: 10px; padding: 0 18px; border-left: 1px solid rgba(35,56,88,.08); color: #8290a2; }
.groupme-progress li:first-child { padding-left: 0; border-left: 0; }
.groupme-progress li:last-child { padding-right: 0; }
.groupme-progress li > span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid rgba(35,56,88,.14); border-radius: 50%; font-size: 10px; font-weight: 800; }
.groupme-progress li > div { min-width: 0; }
.groupme-progress strong, .groupme-progress small { display: block; }
.groupme-progress strong { color: #66768a; font-size: 11px; }
.groupme-progress small { margin-top: 2px; font-size: 10px; }
.groupme-progress__done > span { border-color: rgba(40,128,107,.18) !important; color: var(--green); background: var(--green-soft); }
.groupme-progress__done strong, .groupme-progress__current strong { color: var(--navy-dark); }
.groupme-progress__current > span { border-color: #00a4df !important; color: white; background: #00a4df; }
.groupme-connect-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px 18px; padding: 24px 26px; }
.groupme-connect-panel > svg { flex: 0 0 auto; margin-top: 3px; color: #00a4df; }
.groupme-connect-panel h3, .groupme-section-heading h3, .groupme-control-panel h3 { margin: 0; color: var(--navy-dark); font-size: 16px; font-weight: 650; }
.groupme-connect-panel p, .groupme-section-heading p, .groupme-control-panel section > p:not(.eyebrow), .groupme-group-options section > p { max-width: 68ch; margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.groupme-connect-panel .form-help { grid-column: 2 / -1; margin: 0; }
.form-help--warning { padding: 11px 13px; border-radius: 8px; color: #76511f; background: #fff7e8; font-size: 12px; }
.groupme-setup-panel { padding: 26px; }
.groupme-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.groupme-section-heading > div { min-width: 0; }
.groupme-section-heading .eyebrow { margin-bottom: 5px; }
.groupme-group-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid rgba(35,56,88,.08); border-bottom: 1px solid rgba(35,56,88,.08); }
.groupme-group-options > section { min-width: 0; padding: 24px 26px 26px 0; }
.groupme-group-options > section + section { padding-right: 0; padding-left: 26px; border-left: 1px solid rgba(35,56,88,.08); }
.groupme-group-options h4, .groupme-history h4 { margin: 0; color: var(--navy-dark); font-size: 14px; font-weight: 650; }
.groupme-option-form, .groupme-settings-form, .groupme-message-form { display: grid; gap: 14px; margin-top: 18px; }
.groupme-option-form label, .groupme-settings-form label, .groupme-event-picker, .groupme-message-form label { display: grid; gap: 7px; color: #445c70; font-size: 11px; font-weight: 800; }
.groupme-option-form input, .groupme-option-form select, .groupme-settings-form input, .groupme-event-picker select, .groupme-message-form textarea { width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #cbd7e1; border-radius: 9px; outline: none; color: var(--ink); background: white; font-size: 13px; }
.groupme-select { display: grid; grid-template-columns: minmax(0, 1fr) 32px; }
.groupme-select select { z-index: 1; grid-column: 1 / -1; grid-row: 1; padding-right: 32px; appearance: none; background: transparent; }
.groupme-select svg { grid-column: 2; grid-row: 1; place-self: center; pointer-events: none; color: #60758a; }
.groupme-option-form input:focus, .groupme-option-form select:focus, .groupme-settings-form input:focus, .groupme-event-picker select:focus, .groupme-message-form textarea:focus { border-color: #6087a4; box-shadow: 0 0 0 3px rgba(96,135,164,.12); }
.groupme-loading, .groupme-empty-note { margin: 18px 0 0; padding: 13px 14px; border-radius: 9px; color: var(--muted); background: #f3f5f9; font-size: 12px; line-height: 1.5; }
.groupme-setup-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; padding-top: 18px; color: var(--muted); font-size: 11px; }
.groupme-workspace { display: grid; grid-template-columns: minmax(0, 3fr) minmax(290px, 2fr); align-items: start; gap: 18px; }
.groupme-composer, .groupme-control-panel { padding: 26px; }
.groupme-event-picker { margin-top: 24px; }
.groupme-message-form textarea { min-height: 142px; resize: vertical; line-height: 1.55; }
.groupme-composer__actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid rgba(35,56,88,.08); }
.groupme-composer__actions p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.groupme-composer__actions .button { flex: 0 0 auto; }
.groupme-history { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(35,56,88,.08); }
.groupme-history > div > p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.groupme-history ul { display: grid; margin: 17px 0 0; padding: 0; }
.groupme-history li { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(35,56,88,.08); }
.groupme-history li:first-child { border-top: 0; }
.groupme-history li > div { display: flex; align-items: center; gap: 9px; }
.groupme-history time { color: #7a8799; font-size: 10px; }
.groupme-history li > p { margin: 0; color: #34475c; font-size: 12px; line-height: 1.55; }
.groupme-control-panel { display: grid; padding-top: 5px; padding-bottom: 5px; }
.groupme-control-panel > section { padding: 22px 0; border-top: 1px solid rgba(35,56,88,.08); }
.groupme-control-panel > section:first-child { border-top: 0; }
.groupme-control-panel .eyebrow { margin-bottom: 5px; }
.groupme-settings-form .form-grid { gap: 10px; }
.groupme-settings-form label small { color: var(--muted); font-size: 9px; font-weight: 600; }
.groupme-settings-form .check-pair { display: grid; gap: 9px; }
.groupme-connection-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

@container (max-width: 780px) {
  .groupme-overview, .groupme-connect-panel { grid-template-columns: 1fr; }
  .groupme-overview { padding: 22px 22px 0; }
  .groupme-overview > .badge { justify-self: start; }
  .groupme-connect-panel .form-help { grid-column: 1; }
  .groupme-group-options, .groupme-workspace { grid-template-columns: 1fr; }
  .groupme-group-options > section { padding: 22px 0; }
  .groupme-group-options > section + section { padding-left: 0; border-top: 1px solid rgba(35,56,88,.08); border-left: 0; }
}

@container (max-width: 520px) {
  .groupme-page { gap: 14px; }
  .groupme-overview, .groupme-connect-panel, .groupme-setup-panel, .groupme-composer { padding: 20px; }
  .groupme-overview { padding-bottom: 0; }
  .groupme-overview h2 { font-size: 22px; }
  .groupme-overview__copy p:last-child, .groupme-connect-panel p, .groupme-section-heading p, .groupme-control-panel section > p:not(.eyebrow), .groupme-group-options section > p, .groupme-history li > p { font-size: 16px; }
  .groupme-progress { grid-template-columns: 1fr; gap: 0; }
  .groupme-progress li, .groupme-progress li:first-child, .groupme-progress li:last-child { padding: 13px 0; border-top: 1px solid rgba(35,56,88,.08); border-left: 0; }
  .groupme-progress li:first-child { border-top: 0; }
  .groupme-progress strong, .groupme-progress small, .groupme-history > div > p, .groupme-composer__actions p, .groupme-setup-footer { font-size: 14px; }
  .groupme-section-heading, .groupme-composer__actions { align-items: stretch; flex-direction: column; }
  .groupme-section-heading .button, .groupme-composer__actions .button, .groupme-connect-panel .button, .groupme-option-form .button, .groupme-settings-form .button { width: 100%; min-height: 48px; font-size: 14px; }
  .groupme-option-form label, .groupme-settings-form label, .groupme-event-picker, .groupme-message-form label { font-size: 16px; }
  .groupme-option-form input, .groupme-option-form select, .groupme-settings-form input, .groupme-event-picker select, .groupme-message-form textarea { min-height: 48px; font-size: 16px; }
}

.empty-state { display: grid; place-items: center; padding: 42px 20px; text-align: center; }.empty-state__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #477493; background: var(--blue-soft); }.empty-state h3 { margin: 14px 0 5px; font-family: Georgia, serif; font-size: 20px; }.empty-state p { max-width: 380px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.notice { margin: 0 0 17px; padding: 11px 13px; border-radius: 8px; font-size: 12px; }.notice--error { border: 1px solid #efc1c1; color: #983131; background: #fff0f0; }.muted { color: var(--muted); }.loading { display: grid; place-items: center; align-content: center; min-height: 100vh; color: var(--muted); }.loading__ball { font-size: 34px; animation: bounce 1s infinite alternate ease-in-out; }@keyframes bounce { to { transform: translateY(-8px) rotate(10deg); } }

/* Clubhouse: approachable, spacious, team-forward surfaces. */
.app-shell {
  --ink: #182335;
  --muted: #657187;
  --line: rgba(35, 56, 88, .10);
  --surface: #ffffff;
  --canvas: #f3f5fb;
  --navy: #284b7a;
  --navy-dark: #1c355c;
  --orange: #ef6f51;
  --orange-soft: #feebe6;
  --blue-soft: #e7eefb;
  --green: #28806b;
  --green-soft: #e4f3ef;
  --radius: 20px;
  --shadow: 0 14px 36px rgba(42, 55, 89, .08);
  grid-template-columns: 276px minmax(0, 1fr);
}
.app-shell .sidebar { margin: 14px 0 14px 14px; height: calc(100vh - 28px); border-radius: 22px; color: #dbe5f5; background: #1c355c; }
.app-shell .brand__mark { background: transparent; box-shadow: none; }
.app-shell .nav-item { border-radius: 12px; }
.app-shell .nav-item--active { background: rgba(255,255,255,.11); box-shadow: none; }
.app-shell .page { max-width: 1320px; padding: 48px 52px 76px; }
.app-shell .page-header h1,
.app-shell .panel__header h2,
.app-shell .hero-card h2,
.app-shell .inning-toolbar h2 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 700; }
.app-shell .page-header h1 { font-size: clamp(34px, 4vw, 48px); }
.app-shell .card { border-color: rgba(35,56,88,.08); }
.app-shell .stat-grid .card { align-items: flex-end; justify-content: space-between; min-height: 116px; }
.app-shell .stat-icon { order: 2; color: #284b7a; background: transparent; }
.app-shell .stat-grid strong { font-size: 34px; }
.app-shell .button { border-radius: 12px; }
.app-shell .tabs { padding: 6px; border-color: transparent; border-radius: 14px; background: #e6eaf4; }
.app-shell .tabs button { border-radius: 10px; }
.app-shell .subform { border-color: transparent; border-radius: 15px; background: #f1f4fa; }
.app-shell .player-avatar { color: #284b7a; background: #e7eefb; }

@media (max-width: 820px) {
  .app-shell .sidebar { margin: 0; height: 66px; border-radius: 0; }
  .app-shell .page { padding: 26px 20px 45px; }
}

.auth-layout { display: grid; grid-template-columns: minmax(440px, 1.15fr) minmax(430px, .85fr); min-height: 100vh; background: white; }.auth-story { position: relative; display: grid; align-items: center; overflow: hidden; padding: 70px clamp(45px, 7vw, 105px); color: white; background: var(--navy-dark); }.auth-story::before { content: ""; position: absolute; right: -120px; bottom: -170px; width: 490px; height: 490px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }.auth-story__content { position: relative; z-index: 1; max-width: 660px; }.auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 90px; font-size: 14px; font-weight: 850; }.auth-story h1 { max-width: 650px; margin: 12px 0 20px; font-family: Georgia, serif; font-size: clamp(43px, 5.6vw, 72px); line-height: .99; letter-spacing: -.045em; }.auth-story__content > p:not(.eyebrow) { max-width: 570px; color: #b5c9d8; font-size: 16px; line-height: 1.7; }.auth-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }.auth-proof > span { display: grid; grid-template-columns: auto 1fr; gap: 9px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }.auth-proof svg { color: #f5a06e; }.auth-proof strong, .auth-proof small { display: block; }.auth-proof strong { font-size: 11px; }.auth-proof small { margin-top: 3px; color: #809caf; font-size: 9px; line-height: 1.4; }.auth-panel { display: grid; place-items: center; padding: 40px; }.auth-card { width: min(100%, 430px); }.auth-card h2 { margin: 7px 0 8px; color: var(--navy-dark); font-family: Georgia, serif; font-size: 31px; letter-spacing: -.025em; }.auth-card > p:not(.eyebrow, .security-note) { margin: 0 0 27px; color: var(--muted); font-size: 13px; }.security-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 22px 0 0; color: #81909d; font-size: 9px; }
.recovery-story h1 { max-width: 560px; }.recovery-proof { grid-template-columns: 1fr; max-width: 510px; margin-top: 45px; }.recovery-card > p:not(.eyebrow) { line-height: 1.6; }.recovery-card .notice { margin-bottom: 18px; }.recovery-card .form-stack .button { width: 100%; min-height: 46px; margin-top: 2px; }.recovery-back { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 22px auto 0; color: #527087; font-size: 12px; font-weight: 750; }.recovery-back:hover, .text-button:hover { color: var(--navy-dark); }.recovery-result { text-align: center; }.recovery-result__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 17px; color: #32658a; background: var(--blue-soft); }.recovery-result__icon--success { color: var(--green); background: var(--green-soft); }.recovery-result__icon--warning { color: #b85622; background: var(--orange-soft); }.recovery-result h2 { margin-bottom: 12px; }.recovery-result > p:not(.eyebrow, .recovery-help) { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }.recovery-result .button { width: 100%; min-height: 46px; }.recovery-help { margin: -8px 0 22px; padding: 12px 14px; border-radius: 9px; color: #647789; background: #f4f7fa; font-size: 11px; line-height: 1.55; }

@media (max-width: 1050px) {
  .team-card-grid { grid-template-columns: repeat(2, 1fr); }
  .position-grid { grid-template-columns: repeat(2, 1fr); }
  .print-inning-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr 1fr; }.auth-story { padding: 55px 42px; }.auth-proof { grid-template-columns: 1fr; margin-top: 35px; }.auth-brand { margin-bottom: 55px; }
  .inning-toolbar { grid-template-columns: 1fr; gap: 15px; }.fielding-grid { grid-template-columns: 1fr; }.fielding-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }.assignment-card { min-height: 0; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }.sidebar { position: fixed; z-index: 10; inset: auto 0 0; width: auto; height: 66px; padding: 7px 14px; }.brand, .account-strip { display: none; }.sidebar__nav { grid-template-columns: repeat(4, 1fr); }.nav-item { justify-content: center; padding: 10px; }.nav-item span { font-size: 10px; }.nav-item--active { box-shadow: inset 0 -3px var(--orange); }.main-content { padding-bottom: 66px; }.mobile-topbar { display: flex; align-items: center; gap: 9px; height: 58px; padding: 0 20px; color: white; background: var(--navy-dark); }.mobile-topbar .brand__mark { width: 31px; height: 31px; border-radius: 8px; font-size: 11px; }.mobile-topbar strong { flex: 1; font-size: 13px; }.page { padding: 26px 20px 45px; }.dashboard-grid, .settings-grid, .lineup-layout, .player-profile-grid { grid-template-columns: 1fr; }.player-activity-panel { position: static; }.inning-rail { position: static; }.inning-buttons { grid-template-columns: repeat(6, 1fr); }.auth-layout { grid-template-columns: 1fr; }.auth-story { display: none; }.auth-panel { min-height: 100vh; padding: 28px; }
}

@media (max-width: 620px) {
  .page-header { display: grid; }.page-header__actions { padding: 0; }.page-header h1 { font-size: 36px; }.stat-grid { grid-template-columns: 1fr; }.team-card-grid { grid-template-columns: 1fr; }.form-grid, .form-grid--3 { grid-template-columns: 1fr; }.panel { padding: 18px; }.panel__header { align-items: flex-start; }.roster-toolbar { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }.roster-search { grid-column: 1 / -1; }.roster-search input { min-height: 48px; font-size: 16px; }.roster-results { font-size: 14px; }.roster-table__head { display: none; }.roster-table__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 15px 2px; }.roster-meta { grid-column: 1 / -1; padding-left: 50px; }.roster-action { grid-column: 2; grid-row: 1; min-height: 48px; font-size: 14px; }.position-grid { grid-template-columns: 1fr; }.attendance-row { grid-template-columns: auto 1fr; }.attendance-row .segmented { grid-column: 1 / -1; overflow-x: auto; }.inning-buttons { grid-template-columns: repeat(4, 1fr); }.auth-panel { padding: 22px; }.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }.tabs button { min-width: 0; padding-inline: 7px; }.auth-card h2 { font-size: 27px; }.fielding-sidebar { grid-template-columns: 1fr; }.inning-toolbar { padding: 18px; }.baseball-field { border-radius: 13px 13px 42% 42%; }.field-position { width: 48px; min-height: 44px; padding: 4px; }.field-position strong { font-size: 8px; }.field-position small { font-size: 8px; }
  .print-option, .print-sheet__header { align-items: flex-start; }.print-pdf-hint { width: 100%; }.print-sheet { padding: 18px; }.print-sheet__header { display: grid; }.print-sheet__header h2 { font-size: 22px; }.print-inning-grid { gap: 18px; }
  .ai-lineup-form { grid-template-columns: 1fr; }.ai-lineup-panel__actions { align-items: stretch; flex-direction: column; }.ai-lineup-panel__actions .button { width: 100%; }
  .profile-panel-header h2, .activity-panel-header h2 { font-size: 22px; }
  .profile-panel-header > div > p:last-child, .profile-form-section__heading p, .activity-empty p { font-size: 16px; }
  .profile-form-section { padding: 21px 0; }
  .profile-form-section__heading h3, .activity-empty h3 { font-size: 18px; }
  .player-form label, .profile-choice-fieldset legend { font-size: 14px; }
  .player-form input:not([type="checkbox"], [type="range"]), .player-form textarea { min-height: 48px; font-size: 16px; }
  .ability-grid, .role-choice-grid, .contact-group-grid { grid-template-columns: 1fr; }
  .ability-control { padding: 16px; }
  .ability-control__header { font-size: 16px; }
  .ability-scale, .role-choice small { font-size: 14px; }
  .role-choice { min-height: 58px; }
  .role-choice input { width: 20px; height: 20px; }
  .role-choice strong, .contact-group h4 { font-size: 16px; }
  .profile-position-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .position-choice, .position-choice span { min-height: 48px; }
  .position-choice span { font-size: 14px; }
  .profile-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .profile-form-actions > .button, .profile-remove-action .button { width: 100%; min-height: 48px; font-size: 14px; }
  .profile-remove-action { align-items: stretch; flex-direction: column; }
  .profile-remove-action p { max-width: none; font-size: 14px; }
  .activity-summary dt { font-size: 14px; }
  .activity-summary dd { font-size: 24px; }
  .activity-section__header h3, .player-activity-row .player-activity-row__title { font-size: 16px; }
  .player-activity-row { min-height: 58px; }
  .player-activity-row p { font-size: 14px; }
  .panel__header:has(.search-field) { flex-wrap: wrap; }
  .panel__header .search-field { width: 100%; flex-basis: 100%; }
  .team-directory-search { width: 100%; }
  .search-field, .search-field input { min-height: 48px; }
  .search-field input { font-size: 16px; }
  .import-review__header { display: grid; }
  .import-review__actions { justify-content: flex-start; }
  .import-review__actions .button { min-height: 48px; font-size: 14px; }
  .import-preview-card { grid-template-columns: 1fr; gap: 16px; }
  .import-preview-fields, .import-preview-fields--schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .import-preview-field--wide { grid-column: 1 / -1; }
}
