:root {
  --navy: #070d1a;
  --navy-soft: #101a2d;
  --ink: #0c1321;
  --muted: #657089;
  --line: #dbe0e9;
  --paper: #f7f8fb;
  --white: #ffffff;
  --red: #f0243b;
  --red-bright: #ff4d60;
  --mint: #34c796;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; color: var(--ink); background: var(--paper); }

a { color: inherit; text-decoration: none; }

.site-shell { overflow: clip; }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 27px 0;
}

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 25px; letter-spacing: 0; }
.site-header .brand { color: var(--white); }
.brand-mark { width: 35px; height: 35px; }
.footer-mark { width: 27px; height: 27px; }
.keyra-mark__bar { fill: #fff; }
.keyra-mark__upper { fill: var(--red); }
.keyra-mark__lower { fill: #d9142b; }
.keyra-mark__fold { fill: #8e0b1b; }

.main-nav { display: flex; gap: 30px; font-size: 14px; color: #d7dce6; }
.main-nav a, .header-link, .site-footer a { transition: color .18s ease; }
.main-nav a:hover, .header-link:hover, .site-footer a:hover { color: var(--red-bright); }
.header-link { color: #f5f7fb; font-size: 14px; font-weight: 650; }
.header-actions { display: flex; align-items: center; gap: 20px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(470px, 1.04fr);
  min-height: 620px;
  margin-top: -90px;
  padding: 145px max(40px, calc((100vw - 1320px) / 2)) 68px;
  color: var(--white);
  background: var(--navy);
}

.hero-copy { position: relative; z-index: 1; align-self: center; padding: 42px 60px 42px 0; }
.eyebrow { margin: 0 0 20px; color: #8290aa; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow-red { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 620px; margin-bottom: 23px; font-size: clamp(50px, 5.3vw, 82px); line-height: .99; font-weight: 780; letter-spacing: 0; }
.hero h1 span { color: var(--red); }
.hero-text { max-width: 510px; margin-bottom: 31px; color: #bcc4d3; font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 51px; padding: 0 21px; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-bright); }
.button-secondary { color: #eff2f7; border-color: #70809a; background: transparent; }
.button-secondary:hover { border-color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 46px 0 0; list-style: none; color: #c7cfdd; font-size: 13px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { width: 7px; height: 7px; border: 1px solid var(--red); border-radius: 50%; content: ""; }

.hero-visual { position: relative; min-height: 470px; overflow: hidden; align-self: stretch; border-left: 1px solid rgba(255,255,255,.13); }
.hero-visual img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.08); }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #070d1a 0%, rgba(7,13,26,.28) 34%, rgba(7,13,26,.1) 100%); }
.visual-label { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 11px 14px; color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(7,13,26,.72); font-size: 12px; font-weight: 650; backdrop-filter: blur(8px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.intro-band { display: grid; grid-template-columns: .7fr 1.25fr 1fr; gap: 40px; padding: 110px max(40px, calc((100vw - 1320px) / 2)) 74px; background: var(--white); }
.intro-band h2, .alpha-section h2 { margin-bottom: 0; font-size: clamp(30px, 3vw, 47px); line-height: 1.08; letter-spacing: 0; }
.intro-band > p:last-child { align-self: end; margin-bottom: 3px; color: var(--muted); line-height: 1.65; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1320px, calc(100% - 80px)); margin: 0 auto 112px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-item { min-height: 244px; padding: 30px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; margin-bottom: 34px; color: var(--red); border: 1px solid #ffd4da; background: #fff2f4; font-size: 10px; font-weight: 800; }
.feature-item h3 { margin-bottom: 9px; font-size: 19px; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }

.alpha-section { display: grid; grid-template-columns: 1.15fr .82fr .42fr; gap: 48px; align-items: end; padding: 88px max(40px, calc((100vw - 1320px) / 2)); color: #fff; background: var(--navy-soft); }
.alpha-section > p { max-width: 420px; margin-bottom: 0; color: #b6c0d1; line-height: 1.65; }
.text-link { color: #fff; font-size: 14px; font-weight: 750; }
.text-link span { margin-left: 13px; color: var(--red); }

.site-footer { color: #d7dde8; background: #060b15; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1320px, calc(100% - 80px)); min-height: 98px; margin: 0 auto; }
.footer-brand { font-size: 20px; }
.footer-inner > p { margin: 0; color: #7f8aa0; font-size: 13px; }
.footer-inner nav { display: flex; gap: 22px; color: #aeb7c6; font-size: 13px; }

.alpha-open { overflow: hidden; }
.alpha-open .site-shell { filter: blur(14px); transform: scale(1.012); user-select: none; pointer-events: none; }
.alpha-modal { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(2, 6, 14, .42); transition: opacity .2s ease, visibility .2s ease; }
.alpha-modal.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.alpha-modal__panel { width: min(100%, 540px); padding: 44px; color: var(--ink); border: 1px solid #e0e5ef; border-top: 4px solid var(--red); background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.modal-mark { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 28px; color: #fff; background: var(--red); font-size: 23px; font-weight: 800; }
.alpha-modal h2 { margin-bottom: 17px; font-size: 34px; line-height: 1.08; }
.alpha-modal p { color: #536078; line-height: 1.62; }
.alpha-modal .modal-emphasis { margin-bottom: 28px; color: var(--ink); font-weight: 720; }

.legal-header { color: var(--white); background: var(--navy); width: 100%; padding-left: max(40px, calc((100vw - 1320px) / 2)); padding-right: max(40px, calc((100vw - 1320px) / 2)); }
.legal-page { width: min(800px, calc(100% - 80px)); min-height: calc(100vh - 196px); padding: 93px 0 110px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 38px; font-size: clamp(42px, 5vw, 64px); line-height: 1; }
.legal-page h2 { margin: 40px 0 10px; font-size: 21px; }
.legal-page p { color: #46526a; line-height: 1.68; }
.legal-page a { color: #c31229; text-decoration: underline; text-underline-offset: 3px; }
.legal-notice { padding: 16px 18px; color: #811222; border-left: 3px solid var(--red); background: #fff0f2; line-height: 1.55; }

.auth-page { min-height: 100vh; color: var(--white); background: var(--navy); }
.auth-layout { display: grid; grid-template-columns: minmax(480px, .96fr) minmax(420px, 1.04fr); min-height: 100vh; }
.auth-brand { position: absolute; z-index: 2; top: 27px; left: max(40px, calc((100vw - 1320px) / 2)); color: var(--ink); }
.auth-brand .keyra-mark__bar { fill: var(--navy); }
.auth-panel { align-self: center; width: min(100% - 80px, 530px); margin: 115px auto 60px; padding: 48px; color: var(--ink); border-top: 4px solid var(--red); background: var(--white); box-shadow: 0 24px 70px rgba(0, 0, 0, .22); }
.auth-panel h1 { margin-bottom: 13px; font-size: clamp(34px, 3vw, 48px); line-height: 1.04; }
.auth-intro { margin-bottom: 31px; color: var(--muted); line-height: 1.58; }
.auth-form { display: grid; gap: 22px; }
.auth-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.auth-fields .auth-field-full { grid-column: 1 / -1; }
.auth-fields .register-only[hidden] { display: none !important; }
.auth-form label { display: grid; gap: 8px; color: #46526a; font-size: 13px; font-weight: 720; }
.auth-form input { width: 100%; min-height: 47px; padding: 0 13px; color: var(--ink); border: 1px solid #cdd4e0; border-radius: 4px; outline: none; background: #fff; font: inherit; font-size: 16px; transition: border-color .18s ease, box-shadow .18s ease; }
.auth-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(240, 36, 59, .12); }
.auth-submit { width: 100%; }
.auth-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; color: var(--muted); font-size: 14px; }
.text-button { padding: 0; color: #c31229; border: 0; background: transparent; font: inherit; font-weight: 760; cursor: pointer; }
.text-button:hover { color: var(--red-bright); }
.flash { margin: 0 0 21px; padding: 13px 15px; border-left: 3px solid; font-size: 14px; line-height: 1.45; }
.flash--success { color: #166545; border-color: #34c796; background: #e9fbf4; }
.flash--info { color: #1d4f93; border-color: #4188e8; background: #edf5ff; }
.flash--error { color: #8c1727; border-color: var(--red); background: #fff0f2; }
.auth-aside { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; padding: 70px max(40px, calc((100vw - 1320px) / 2)); border-left: 1px solid rgba(255,255,255,.12); background: #0e1b30; }
.auth-aside > p { margin: 0; font-size: clamp(47px, 4.7vw, 76px); font-weight: 780; line-height: 1; }
.auth-aside > p span { color: var(--red); }
.auth-aside__line { width: 100%; height: 1px; margin: 37px 0 18px; background: rgba(255,255,255,.22); }
.auth-aside small { color: #93a0b5; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.verify-layout { display: grid; min-height: 100vh; place-items: center; padding: 85px 20px 30px; }
.verify-panel { margin: 0; }
.code-input { font-size: 24px !important; font-weight: 780; letter-spacing: 9px; text-align: center; }
.resend-form { margin-top: 22px; text-align: center; }

.dashboard-page { min-height: 100vh; color: #f5f7fb; background: #060b15; }
.dashboard-shell { width: min(1460px, calc(100% - 56px)); margin: 0 auto; padding: 25px 0 64px; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; margin-bottom: 28px; }
.dashboard-brand { color: #fff; font-size: 22px; }
.dashboard-brand .keyra-mark__bar { fill: #fff; }
.dashboard-nav { display: flex; align-items: center; gap: 21px; color: #9eaabc; font-size: 14px; }
.dashboard-nav a:hover, .dashboard-nav__active { color: #fff; }
.dashboard-nav__active { font-weight: 750; }
.dashboard-flash { max-width: 720px; margin-bottom: 18px; }
.dashboard-greeting { display: grid; grid-template-columns: 90px minmax(0, 1fr) 210px; align-items: center; min-height: 132px; padding: 20px 36px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.dashboard-greeting__mark { display: grid; place-items: center; width: 68px; height: 68px; }
.dashboard-mark { width: 68px; height: 68px; }
.dashboard-greeting h1 { margin: 0 0 6px; font-size: 35px; line-height: 1.08; letter-spacing: 0; }
.dashboard-greeting p { margin: 0; color: #b3bdcd; font-size: 16px; }
.dashboard-date { display: grid; align-content: center; gap: 4px; min-height: 86px; padding-left: 36px; border-left: 1px solid #283548; }
.dashboard-date span { color: #b8c1cf; font-size: 15px; }
.dashboard-date strong { font-size: 31px; line-height: 1; }
.dashboard-date em { color: var(--red-bright); font-size: 14px; font-style: normal; font-weight: 720; }
.dashboard-todo-summary { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 20px; max-width: 370px; min-height: 132px; margin: 18px 0; padding: 24px 26px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.dashboard-summary-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--red-bright); border: 1px solid #303b4b; border-radius: 8px; background: #121d2c; font-size: 25px; font-weight: 700; }
.dashboard-todo-summary strong { display: block; margin-bottom: 4px; font-size: 30px; line-height: 1; }
.dashboard-todo-summary h2 { margin: 0; color: #cbd3df; font-size: 15px; font-weight: 500; }
.dashboard-todo-summary a { color: var(--red-bright); font-size: 13px; font-weight: 700; white-space: nowrap; }
.dashboard-todo-summary a span { margin-left: 8px; font-size: 18px; vertical-align: -1px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dashboard-panel { display: flex; flex-direction: column; min-height: 310px; padding: 25px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.dashboard-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #1e2a3a; }
.dashboard-panel__head h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.dashboard-panel__head span { color: var(--red-bright); font-size: 12px; font-weight: 700; }
.dashboard-panel__head h2 a { color: inherit; }
.dashboard-panel__link { color: var(--red-bright); font-size: 12px; font-weight: 700; }
.dashboard-panel__link:hover, .dashboard-panel__head h2 a:hover { color: #ff6b7b; }
.dashboard-empty { display: grid; align-content: center; flex: 1; padding: 34px 8px; text-align: center; }
.dashboard-empty p { margin: 0 0 10px; color: #f2f5fa; font-size: 17px; font-weight: 700; }
.dashboard-empty small { max-width: 260px; margin: 0 auto; color: #8794a8; font-size: 13px; line-height: 1.55; }
.dashboard-item-list { display: grid; gap: 10px; padding-top: 18px; }
.dashboard-item--message p { margin: 7px 0 0; color: #b7c2d0; font-size: 12px; line-height: 1.45; }
.dashboard-item { padding: 13px 14px; border: 1px solid #1a2637; border-radius: 6px; background: #0c1725; }
.dashboard-item strong, .dashboard-item small { display: block; }
.dashboard-item strong { font-size: 14px; line-height: 1.35; }
.dashboard-item small { margin-top: 5px; color: #91a0b5; font-size: 12px; line-height: 1.45; }
.calendar-response-list { margin-top: 18px; }
.calendar-response-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 22px; border-bottom: 1px solid #1e2a3a; }
.calendar-response-row:last-child { border-bottom: 0; }
.calendar-response-row strong, .calendar-response-row small { display: block; }
.calendar-response-row strong { margin-bottom: 5px; font-size: 14px; }
.calendar-response-row small { color: #93a1b5; font-size: 12px; line-height: 1.45; }
.calendar-response-row__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.calendar-response-row__actions form { display: flex; gap: 10px; }
.attendance-status { padding: 6px 9px; border: 1px solid #344154; border-radius: 99px; color: #9facbd; background: #101a28; font-size: 11px; font-weight: 700; white-space: nowrap; }
.attendance-status--attending { color: #a6e7c3; border-color: #28634a; background: #11271e; }
.attendance-status--declined { color: #ffb3bd; border-color: #70313e; background: #2a151c; }
.attendance-status--medical { color: #b8cfff; border-color: #3e5685; background: #15223a; }
.attendance-status--vacation { color: #f5cd92; border-color: #715530; background: #292116; }
.calendar-availability { align-items: flex-start; }
.calendar-availability > .portal-form, .club-details-editor > .portal-form { flex: 1 1 560px; }
.calendar-decline { position: relative; }
.calendar-decline summary { color: #ff7383; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.calendar-decline summary::-webkit-details-marker { display: none; }
.calendar-decline__form { display: grid; gap: 10px; width: min(100%, 360px); margin-top: 10px; padding: 14px; border: 1px solid #33465d; border-radius: 6px; background: #0d1827; }
.calendar-response-row__actions .calendar-decline__form { display: grid; }
.calendar-decline__form label { display: grid; gap: 6px; color: #c2ccda; font-size: 12px; font-weight: 700; }
.calendar-decline__form label small { color: #8d9bae; font-weight: 500; line-height: 1.4; }
.calendar-decline__form input, .calendar-decline__form select { min-height: 38px; padding: 0 10px; color: #edf2f8; border: 1px solid #35465c; border-radius: 4px; background: #101b2b; font: inherit; }
.club-details-editor { align-items: flex-start; margin-bottom: 18px; }
.chat-channel-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chat-channel-tabs a { display: grid; gap: 3px; min-width: 145px; padding: 12px 15px; color: #aeb9c9; border: 1px solid #27364a; border-radius: 6px; background: #0a1320; }
.chat-channel-tabs a strong { color: #eef2f7; font-size: 13px; }
.chat-channel-tabs a small { font-size: 11px; }
.chat-channel-tabs a.is-active { border-color: #d52a42; background: #28131c; }
.chat-shell { border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.chat-shell__head { padding: 24px 26px; border-bottom: 1px solid #1e2a3a; }
.chat-shell__head h2 { margin: 4px 0 8px; font-size: 22px; }
.chat-shell__head p:last-child { margin: 0; color: #9eabba; font-size: 13px; }
.chat-message-list { display: grid; gap: 12px; max-height: 690px; min-height: 280px; overflow-y: auto; padding: 24px 26px; }
.chat-message { max-width: min(82%, 720px); padding: 14px 16px; border: 1px solid #27364a; border-radius: 7px; background: #0d1827; }
.chat-message.is-own { justify-self: end; border-color: #663040; background: #25151e; }
.chat-message__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.chat-message__meta strong { font-size: 13px; }
.chat-message__meta small { color: #8f9caf; font-size: 11px; white-space: nowrap; }
.chat-message p { margin: 0; color: #e6ebf3; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-message__report { margin-top: 10px; }
.chat-message__report summary { color: #ff8998; cursor: pointer; font-size: 11px; font-weight: 700; }
.chat-message__report form { display: grid; gap: 8px; margin-top: 10px; }
.chat-message__report label { display: grid; gap: 5px; color: #b8c2d1; font-size: 11px; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; padding: 22px 26px; border-top: 1px solid #1e2a3a; }
.chat-compose label { display: grid; gap: 7px; color: #c6cfdb; font-size: 13px; font-weight: 700; }
.chat-compose textarea { resize: vertical; }
.chat-compose .button { align-self: end; }
.chat-report-list { margin-top: 24px; }
.chat-report { padding: 22px 26px; border-bottom: 1px solid #1e2a3a; }
.chat-report:last-child { border-bottom: 0; }
.chat-report > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.chat-report header strong, .chat-report header small { display: block; }
.chat-report header small { margin-top: 5px; color: #8f9daf; font-size: 12px; }
.chat-report > p { margin: 16px 0; color: #dbe2ed; font-size: 13px; line-height: 1.5; }
.chat-report details summary { color: var(--red-bright); cursor: pointer; font-size: 12px; font-weight: 700; }
.chat-report__context { display: grid; gap: 8px; margin-top: 12px; padding: 13px; border: 1px solid #28384d; border-radius: 6px; background: #0b1625; }
.chat-report__context p { display: grid; gap: 3px; margin: 0; color: #cbd4e1; font-size: 12px; line-height: 1.5; }
.chat-report__context small { color: #8795a9; font-size: 11px; }

.portal-page { min-height: 100vh; color: #f5f7fb; background: #060b15; }
.portal-layout { min-height: 100vh; }
.portal-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; display: flex; flex-direction: column; width: 252px; padding: 26px 15px 18px; border-right: 1px solid #1c2939; background: #09121f; }
.portal-brand { padding: 0 10px; color: #fff; font-size: 23px; }
.portal-brand .keyra-mark__bar { fill: #fff; }
.portal-mark { width: 34px; height: 34px; }
.portal-nav { display: grid; gap: 4px; margin-top: 46px; }
.portal-nav__link { display: flex; align-items: center; min-height: 43px; padding: 0 13px; color: #acb7c8; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 680; }
.portal-nav__link:hover { color: #fff; border-color: #233246; background: #111d2d; }
.portal-nav__link.is-active { color: #fff; border-color: #a91f31; background: #c91f35; }
.portal-account { display: grid; gap: 15px; margin-top: auto; padding: 16px 10px 0; border-top: 1px solid #202e40; }
.portal-account__profile { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.portal-account__initial { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; border-radius: 50%; background: #c91f35; font-size: 13px; font-weight: 800; }
.portal-account__profile strong, .portal-account__profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-account__profile strong { color: #eef2f7; font-size: 13px; }
.portal-account__profile small { margin-top: 3px; color: #8491a5; font-size: 11px; }
.portal-logout { display: flex; align-items: center; justify-content: space-between; color: #aab5c5; font-size: 13px; font-weight: 700; }
.portal-logout:hover { color: var(--red-bright); }
.portal-main { width: min(1460px, calc(100% - 308px)); min-height: 100vh; margin-left: 280px; padding: 40px 0 64px; }
.portal-page-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.portal-page-header h1 { margin-bottom: 9px; font-size: 38px; line-height: 1.05; letter-spacing: 0; }
.portal-page-header > div > p:last-child { max-width: 600px; margin-bottom: 0; color: #a9b4c4; line-height: 1.55; }
.dashboard-flash { max-width: none; }
.dashboard-greeting { margin-bottom: 18px; }
.dashboard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portal-tool, .portal-list, .portal-form, .calendar-card { border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.portal-tool { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 27px; margin-bottom: 18px; }
.portal-tool h2, .portal-list h2 { margin: 0 0 7px; font-size: 18px; letter-spacing: 0; }
.portal-tool p { margin: 0; color: #95a1b3; font-size: 14px; line-height: 1.5; }
.portal-search { display: grid; grid-template-columns: minmax(210px, 1fr) auto; gap: 10px; width: min(100%, 460px); }
.portal-search input, .portal-form input, .portal-form select, .portal-form textarea, .admin-review-form input, .admin-review-form textarea { width: 100%; min-height: 47px; padding: 0 13px; color: #eef2f7; border: 1px solid #344154; border-radius: 4px; outline: none; background: #101b2b; font: inherit; }
.portal-form input[type="file"] { padding: 10px 13px; font-size: 13px; }
.portal-form textarea, .admin-review-form textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.portal-search input:focus, .portal-form input:focus, .portal-form select:focus, .portal-form textarea:focus, .admin-review-form input:focus, .admin-review-form textarea:focus { border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(240, 36, 59, .15); }
.portal-search .button { min-height: 47px; }
.portal-list { min-height: 270px; }
.portal-list__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-bottom: 1px solid #1e2a3a; }
.portal-list__head h2 { margin: 0; }
.portal-list__head span { color: var(--red-bright); font-size: 12px; font-weight: 700; }
.portal-list--notice { border-color: #69303a; }
.medical-person-switcher { min-width: 230px; }
.medical-person-switcher label { display: grid; gap: 7px; color: #b9c4d3; font-size: 12px; font-weight: 700; }
.medical-person-switcher select { width: 100%; min-height: 43px; padding: 0 12px; color: #eef2f7; border: 1px solid #344154; border-radius: 4px; background: #101b2b; font: inherit; }
.medical-alpha-notice { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; padding: 17px 20px; color: #f3c6cd; border: 1px solid #71303c; border-radius: 7px; background: #24131a; line-height: 1.5; }
.medical-alpha-notice strong { flex: 0 0 auto; color: #ff9cab; }
.medical-alpha-notice p { margin: 0; }
.medical-subject-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 22px 25px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.medical-subject-header h2 { margin: 4px 0 0; font-size: 23px; }
.medical-access-badge { padding: 7px 10px; color: #adc5e8; border: 1px solid #334d71; border-radius: 100px; background: #102037; font-size: 12px; font-weight: 700; white-space: nowrap; }
.medical-section { margin-bottom: 18px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.medical-section--private { border-color: #493849; background: #15121c; }
.medical-section__intro { padding: 24px 26px; border-bottom: 1px solid #1e2a3a; }
.medical-section__intro h2 { margin: 4px 0 8px; font-size: 20px; }
.medical-section__intro > p:last-child { max-width: 820px; margin: 0; color: #9eabba; font-size: 14px; line-height: 1.55; }
.medical-substance-notice { color: #ffc0c8 !important; }
.medical-form { max-width: none; margin: 0; border: 0; border-radius: 0; background: transparent; }
.medical-record-list { display: grid; }
.medical-empty { padding: 23px 26px; color: #91a0b4; font-size: 14px; }
.medical-empty p { margin: 0; }
.medical-profile-readonly { padding: 22px 26px; }
.medical-profile-readonly dl, .medical-record__values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; margin: 0; }
.medical-profile-readonly dl > div, .medical-record__values > div { min-width: 0; }
.medical-profile-readonly dt, .medical-record__values dt { margin-bottom: 5px; color: #7f8da2; font-size: 11px; font-weight: 700; }
.medical-profile-readonly dd, .medical-record__values dd { margin: 0; color: #edf1f7; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.medical-record { padding: 20px 26px; border-bottom: 1px solid #1e2a3a; }
.medical-record:last-child { border-bottom: 0; }
.emergency-record { max-width: 980px; }
.emergency-access-result { display: grid; gap: 7px; min-width: min(100%, 420px); padding: 17px 19px; border: 1px solid #71303c; border-radius: 6px; background: #24131a; }
.emergency-access-result strong { color: #f2c7cd; font-size: 12px; text-transform: uppercase; }
.emergency-access-result a { overflow-wrap: anywhere; color: #f7e7e9; font-size: 13px; }
.emergency-access-result code { width: max-content; min-width: 120px; padding: 9px 12px; color: #fff; border: 1px solid #934250; background: #101b2b; font-size: 22px; letter-spacing: 2px; text-align: center; }
.emergency-access-result small { color: #d8a7af; font-size: 12px; line-height: 1.45; }
.medical-record details, .medical-add-record { margin-top: 18px; }
.medical-record summary, .medical-add-record summary { color: var(--red-bright); cursor: pointer; font-size: 13px; font-weight: 700; }
.medical-record summary { display: inline-block; }
.medical-record details[open] summary, .medical-add-record[open] summary { margin-bottom: 16px; }
.medical-record details .medical-form, .medical-add-record .medical-form { margin-top: 16px; padding: 20px; border: 1px solid #26364a; border-radius: 6px; background: #0b1625; }
.medical-record__actions { display: flex; gap: 12px; align-items: center; }
.medical-delete-form { margin-top: 10px; }
.medical-add-record { margin: 0 26px 24px; padding: 18px 0 0; border-top: 1px solid #26364a; }
.guardian-management { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 18px; padding: 27px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.guardian-management__intro h2 { margin: 4px 0 10px; font-size: 20px; }
.guardian-management__intro > p:last-child { margin: 0; color: #9ba8b9; font-size: 14px; line-height: 1.55; }
.guardian-management__form { max-width: none; padding: 0; border: 0; background: transparent; }
.guardian-management__list { grid-column: 1 / -1; border-top: 1px solid #26364a; }
.guardian-management__list h3 { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 0; color: #e9edf3; font-size: 15px; }
.guardian-management__list h3 span { display: grid; place-items: center; min-width: 25px; height: 25px; color: #ffb8c1; border-radius: 50%; background: #3a1620; font-size: 12px; }
.guardian-management__list > p { margin: 14px 0 0; color: #90a0b3; font-size: 13px; }
.guardian-management__list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid #1e2a3a; }
.guardian-management__list strong, .guardian-management__list small { display: block; }
.guardian-management__list strong { margin-bottom: 5px; color: #edf1f6; font-size: 14px; }
.guardian-management__list small { color: #91a0b4; font-size: 12px; }
.portal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; padding: 28px; }
.portal-form label { display: grid; gap: 8px; color: #c6cfdb; font-size: 13px; font-weight: 700; }
.portal-form label small { color: #8290a4; font-size: 11px; font-weight: 500; }
.portal-form input[readonly] { color: #8d9aad; cursor: not-allowed; }
.portal-form__full { grid-column: 1 / -1; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.profile-panel { padding: 28px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.profile-panel--security { grid-column: 1 / -1; }
.profile-panel h2 { margin: 4px 0 18px; font-size: 22px; }
.profile-panel > .portal-form { max-width: none; padding: 0; border: 0; background: transparent; }
.profile-photo-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.profile-photo-panel > .portal-form { grid-column: 1 / -1; }
.profile-photo-panel p:last-child { max-width: 440px; margin-bottom: 0; color: #9daabe; line-height: 1.55; }
.profile-photo-preview { display: grid; place-items: center; width: 72px; min-width: 72px; max-width: 72px; height: 72px; min-height: 72px; max-height: 72px; overflow: hidden; color: #fff; border: 1px solid #3d4c62; border-radius: 50%; background: #c91f35; font-size: 24px; font-weight: 800; }
.profile-photo-preview img { display: block; width: 72px !important; min-width: 72px; max-width: 72px; height: 72px !important; min-height: 72px; max-height: 72px; object-fit: cover; }
.profile-notice { margin: 0 0 18px; padding: 14px 16px; color: #b8c4d5; border-left: 3px solid #62728a; background: #101b2b; font-size: 14px; line-height: 1.5; }
.profile-notice--success { color: #8be0b9; border-left-color: #34c796; }
.totp-secret { display: block; width: 100%; overflow-wrap: anywhere; margin: -4px 0 18px; padding: 15px; color: #f3f6fb; border: 1px solid #344154; background: #101b2b; font-size: 16px; letter-spacing: 1.4px; }
.portal-account__photo { display: block; width: 32px !important; min-width: 32px; max-width: 32px; height: 32px !important; min-height: 32px; max-height: 32px; border-radius: 50%; object-fit: cover; }
.free-training-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr); gap: 18px; align-items: start; }
.free-training-form { max-width: none; }
.free-training-form h2 { margin: 4px 0 0; font-size: 22px; }
.form-checkbox-group { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.form-checkbox-group legend { margin-bottom: 9px; color: #c6cfdb; font-size: 13px; font-weight: 700; }
.free-training-history { min-height: 0; }
.free-training-history .portal-list__head { align-items: end; }
.free-training-history .portal-list__head h2 { margin: 0; }
.free-training-history .eyebrow { margin-bottom: 6px; }
.free-training-history__list { display: grid; }
.free-training-entry { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 17px; align-items: start; padding: 20px 24px; border-bottom: 1px solid #1e2a3a; }
.free-training-entry:last-child { border-bottom: 0; }
.free-training-entry__date { display: grid; gap: 1px; padding-right: 14px; border-right: 1px solid #253347; text-align: center; }
.free-training-entry__date strong { color: #f4f6fa; font-size: 26px; line-height: 1; }
.free-training-entry__date span { color: #aeb8c6; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.free-training-entry__date small { color: #758399; font-size: 10px; }
.free-training-entry__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.free-training-entry h3 { margin: 0; color: #f0f4f9; font-size: 16px; }
.free-training-entry__body > p { margin: 8px 0 0; color: #bac4d2; font-size: 13px; line-height: 1.5; }
.free-training-entry__body > small { display: block; margin-top: 8px; color: #8290a4; font-size: 12px; line-height: 1.5; }
.training-intensity { padding: 5px 8px; border: 1px solid #39485b; border-radius: 100px; color: #bec8d7; background: #111d2d; font-size: 11px; font-weight: 700; white-space: nowrap; }
.training-intensity--locker { color: #90d9b2; border-color: #276349; background: #10271e; }
.training-intensity--moderat { color: #79b9ff; border-color: #244b74; background: #0e2038; }
.training-intensity--hart { color: #ffbc71; border-color: #70491f; background: #2d1d0d; }
.training-intensity--maximal { color: #ff9eaa; border-color: #71313c; background: #30141a; }
.free-training-entry__sharing { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 120px; }
.free-training-entry__sharing span { padding: 5px 7px; color: #ffb3bd; border: 1px solid #6e2e39; border-radius: 100px; background: #29131a; font-size: 10px; font-weight: 700; }
.free-training-entry__sharing small { color: #718096; font-size: 11px; white-space: nowrap; }
.free-training-entry__edit { grid-column: 2 / -1; }
.free-training-entry__edit summary { color: #ff7383; cursor: pointer; font-size: 12px; font-weight: 700; }
.free-training-entry__edit[open] summary { margin-bottom: 14px; }
.free-training-edit-form { max-width: none; padding: 20px; border: 1px solid #27384d; border-radius: 6px; background: #0d1827; }
.staff-shared-training { min-height: 0; margin-bottom: 18px; }
.staff-shared-training__player { display: block; margin-top: 8px; color: #ffb2bd; font-size: 12px; }
.calendar-switcher { display: flex; align-items: center; gap: 20px; min-height: 45px; padding: 0 8px; border: 1px solid #26364a; border-radius: 5px; background: #0a1320; }
.calendar-switcher a { display: grid; place-items: center; width: 34px; height: 34px; color: #eff2f7; font-size: 20px; }
.calendar-switcher a:hover { color: var(--red-bright); }
.calendar-switcher strong { min-width: 145px; text-align: center; font-size: 14px; }
.calendar-card { overflow: hidden; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { border-bottom: 1px solid #1e2a3a; color: #8591a4; font-size: 12px; font-weight: 760; text-align: center; }
.calendar-weekdays span { padding: 15px 0; }
.calendar-day { min-height: 104px; padding: 12px; border-right: 1px solid #1e2a3a; border-bottom: 1px solid #1e2a3a; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day > span { display: grid; place-items: center; width: 28px; height: 28px; color: #e9eef6; border-radius: 50%; font-size: 13px; font-weight: 700; }
.calendar-day.is-outside > span { color: #536076; }
.calendar-day.is-today > span { background: #c91f35; }
.calendar-event { overflow: hidden; margin-top: 6px; padding: 5px 6px; color: #dbe5f1; border-left: 2px solid var(--red-bright); border-radius: 2px; background: #111e30; font-size: 11px; line-height: 1.25; }
.calendar-event--personal { border-left-color: #45b9ff; background: #102338; }
.calendar-event--personal strong { color: #88cfff; }
.calendar-event strong, .calendar-event span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event strong { color: #ff7d8b; font-size: 10px; }
.calendar-create { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 28px; margin-top: 24px; padding: 28px; }
.calendar-create h2 { margin: 4px 0 10px; font-size: 24px; }
.calendar-create p:last-child { max-width: 430px; color: #9daabe; line-height: 1.6; }
.calendar-create .portal-form { padding: 0; border: 0; background: transparent; }
.calendar-event-list { margin-top: 24px; }
.calendar-event-list article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #1e2a3a; }
.calendar-event-list article:last-child { border-bottom: 0; }
.calendar-event-list__personal { background: #0b1726; }
.calendar-event-list strong, .calendar-event-list small { display: block; }
.calendar-event-list strong { margin-bottom: 4px; color: #eef2f7; font-size: 14px; }
.calendar-event-list small { color: #92a0b4; font-size: 12px; }
.portal-empty-note { margin: 16px 0; color: #8794a8; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.club-foundation-callout { margin-top: 18px; }
.club-request-form { margin-bottom: 18px; }
.club-request-list { min-height: auto; }
.club-request-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 22px; padding: 20px 26px; border-bottom: 1px solid #1e2a3a; }
.club-request-row:last-child { border-bottom: 0; }
.club-request-row strong, .club-request-row span { display: block; }
.club-request-row strong { margin-bottom: 5px; font-size: 15px; }
.club-request-row > div > span, .club-request-row p { color: #98a4b5; font-size: 13px; }
.club-request-row p { grid-column: 1 / -1; margin: 0; line-height: 1.5; }
.status-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid; border-radius: 100px; font-size: 11px; font-weight: 760; white-space: nowrap; }
.status-badge--pending { color: #f2b84b; border-color: #72572a; background: #2a2112; }
.status-badge--needs_changes { color: #67a8ff; border-color: #31557f; background: #122238; }
.status-badge--approved { color: #60d5a5; border-color: #27634b; background: #10271e; }
.status-badge--rejected { color: #ff7c8b; border-color: #703241; background: #30151d; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin-filter a { padding: 8px 12px; color: #9faabc; border: 1px solid #28374a; border-radius: 5px; font-size: 13px; font-weight: 700; }
.admin-filter a:hover, .admin-filter a.is-active { color: #fff; border-color: #b51f32; background: #b51f32; }
.admin-request-list { display: grid; gap: 16px; }
.admin-request { padding: 26px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.admin-request > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 21px; border-bottom: 1px solid #1e2a3a; }
.admin-request h2 { margin: 0 0 6px; font-size: 22px; }
.admin-request header p:last-child { margin: 0; color: #9ba7b8; font-size: 14px; }
.admin-request__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.admin-request__details dt { margin-bottom: 7px; color: #8693a6; font-size: 11px; font-weight: 760; text-transform: uppercase; }
.admin-request__details dd { margin: 0; color: #eaf0f8; font-size: 14px; line-height: 1.45; }
.admin-request__details dd small, .admin-request__details dd a { display: block; margin-top: 4px; color: #8ba0bd; font-size: 12px; }
.admin-request__details dd a:hover { color: var(--red-bright); }
.admin-request__note, .admin-request__review { margin: 0 0 20px; padding: 14px 16px; color: #b6c0cf; border-left: 3px solid #33455e; background: #0e1928; font-size: 14px; line-height: 1.55; }
.admin-review-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.admin-review-form label { display: grid; gap: 8px; color: #c6cfdb; font-size: 13px; font-weight: 700; }
.admin-review-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; grid-column: 1 / -1; }
.admin-review-form .button { min-height: 44px; }
.admin-request__edit { margin: 0 0 20px; }
.admin-request__edit summary { color: var(--red-bright); cursor: pointer; font-size: 13px; font-weight: 700; }
.admin-request__edit[open] summary { margin-bottom: 16px; }
.admin-request__edit-form { padding: 20px; border: 1px solid #27384d; border-radius: 6px; background: #0d1827; }
.club-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.club-card { min-height: 195px; padding: 25px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.club-card h2 { margin: 0 0 9px; font-size: 20px; }
.club-card > p:not(.eyebrow) { margin-bottom: 29px; color: #9ca8b9; }
.club-card > span { color: #6cdbab; font-size: 12px; font-weight: 700; }
.club-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 22px; }
.club-switcher__label { margin: 0 0 8px; color: #95a1b3; font-size: 13px; font-weight: 700; }
.club-support-access { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; padding: 27px; border: 1px solid #9a3343; border-radius: 8px; background: #25131b; }
.club-support-access h2 { margin: 0; color: #fff0f2; font-size: 20px; }
.club-support-access p:not(.eyebrow) { max-width: 740px; margin: 9px 0 0; color: #e5b9c0; font-size: 14px; line-height: 1.55; }
.club-support-access .button { flex: 0 0 auto; }
.club-delete-access { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 18px; padding: 27px; border: 1px solid #a13c46; border-radius: 8px; background: #2c1218; }
.club-delete-access h2 { margin: 0; color: #fff0f2; font-size: 20px; }
.club-delete-access p:not(.eyebrow) { max-width: 700px; margin: 9px 0 0; color: #ecc0c5; font-size: 14px; line-height: 1.55; }
.club-delete-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; max-width: 520px; padding: 0; border: 0; background: transparent; }
.club-delete-form label { margin: 0; }
.button-danger { color: #fff; border: 1px solid #ef4658; background: #bd1f33; }
.button-danger:hover { border-color: #ff6877; background: #d52940; }
.club-switcher a { padding: 8px 12px; color: #a9b4c4; border: 1px solid #28374a; border-radius: 5px; font-size: 13px; font-weight: 700; }
.club-switcher a:hover, .club-switcher a.is-active { color: #fff; border-color: #b51f32; background: #b51f32; }
.club-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.club-settings-grid .portal-form { max-width: none; }
.club-settings-grid h2, .club-graphics-section h2 { margin: 0; font-size: 20px; }
.form-checkbox { display: flex !important; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px !important; color: #aab5c5 !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.45; }
.form-checkbox input { width: 18px !important; min-height: 18px !important; margin: 0; accent-color: var(--red); }
.team-admin-list article { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 26px; border-bottom: 1px solid #1e2a3a; }
.team-admin-list article:last-child { border-bottom: 0; }
.team-admin-list strong, .team-admin-list small { display: block; }
.team-admin-list strong { margin-bottom: 5px; font-size: 15px; }
.team-admin-list small { color: #8e9bb0; font-size: 12px; }
.team-admin-list article > span { color: #61d7a8; font-size: 12px; font-weight: 700; }
.team-admin-list__item { align-items: flex-start !important; }
.team-admin-list__item.is-inactive { background: #0c1420; }
.team-admin-list__item.is-inactive strong { color: #8e9bb0; }
.team-admin-edit { min-width: 230px; }
.team-admin-edit summary { color: var(--red-bright); cursor: pointer; font-size: 13px; font-weight: 700; }
.team-admin-edit[open] { width: min(100%, 640px); }
.team-admin-edit[open] summary { margin-bottom: 15px; }
.team-admin-edit .portal-form { max-width: none; padding: 20px; }
.team-provider-settings { display: grid; gap: 18px; margin-top: 18px; padding-top: 20px; border-top: 1px solid #26364a; }
.team-provider-settings h3 { margin: 4px 0 8px; font-size: 18px; }
.team-provider-settings > div > p:last-child { max-width: 690px; margin-bottom: 0; color: #9daabe; line-height: 1.55; }
.team-provider-settings__sync { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid #1e2a3a; border-bottom: 1px solid #1e2a3a; }
.team-provider-settings__sync strong, .team-provider-settings__sync small { display: block; }
.team-provider-settings__sync small { margin-top: 4px; color: #92a0b4; font-size: 12px; }
.team-provider-settings__source { margin: 0; color: #8d9aad; font-size: 12px; }
.team-provider-settings__source a { color: #ff5467; }
.team-staff-members { margin-top: 16px; border: 1px solid #26364a; border-radius: 6px; background: #0b1625; }
.team-staff-members__head, .team-staff-members__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.team-staff-members__head { border-bottom: 1px solid #26364a; }
.team-staff-members__head h3 { margin: 0; color: #f0f4f9; font-size: 14px; }
.team-staff-members__head span { display: grid; place-items: center; min-width: 25px; height: 25px; color: #ffb7c1; border-radius: 50%; background: #3a1620; font-size: 12px; font-weight: 700; }
.team-staff-members__row { border-bottom: 1px solid #1c2a3a; }
.team-staff-members__row:last-child { border-bottom: 0; }
.team-staff-members__row strong, .team-staff-members__row small { display: block; }
.team-staff-members__row strong { margin-bottom: 4px; color: #eef2f7; font-size: 13px; }
.team-staff-members__row small { color: #91a0b3; font-size: 12px; }
.team-staff-members > p { margin: 0; padding: 16px; color: #91a0b3; font-size: 13px; }
.staff-team-list { min-height: auto; }
.staff-team-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px; border-bottom: 1px solid #1e2a3a; }
.staff-team-row:last-child { border-bottom: 0; }
.staff-team-row strong, .staff-team-row small { display: block; }
.staff-team-row strong { margin-bottom: 5px; color: #eef2f7; font-size: 15px; }
.staff-team-row small { color: #92a0b4; font-size: 12px; }
.staff-team-role { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #ffb6c0; border: 1px solid #7e2e3d; border-radius: 100px; background: #2e131c; font-size: 12px; font-weight: 700; white-space: nowrap; }
.team-search-results { min-height: auto; margin-top: 18px; }
.portal-search--teams { grid-template-columns: minmax(230px, 1.3fr) minmax(190px, .9fr); }
.portal-search--teams #team-city { grid-column: 1; }
.portal-search--teams #team-radius { grid-column: 2; }
.portal-search--teams .button { grid-column: 2; grid-row: 3; justify-self: end; }
.portal-search--teams select { min-height: 46px; }
.team-search-result small + small { margin-top: 4px; }
.team-search-result form { flex: 0 0 auto; }
.staff-team-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.staff-team-tabs a { padding: 9px 13px; color: #aeb9c9; border: 1px solid #28374a; border-radius: 5px; font-size: 13px; font-weight: 700; }
.staff-team-tabs a:hover, .staff-team-tabs a.is-active { color: #fff; border-color: #b51f32; background: #b51f32; }
.staff-team-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 23px 26px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.staff-team-header h2 { margin: 0 0 5px; font-size: 23px; }
.staff-team-header p:not(.eyebrow) { margin: 0; color: #93a1b4; font-size: 13px; }
.staff-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.staff-operation-form { max-width: none; }
.staff-operation-form h2 { margin: 0; font-size: 20px; }
.staff-player-list { min-height: auto; margin-bottom: 18px; }
.staff-player-row, .staff-operation-list article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #1e2a3a; }
.staff-player-row:last-child, .staff-operation-list article:last-child { border-bottom: 0; }
.staff-player-row strong, .staff-player-row small, .staff-operation-list strong, .staff-operation-list small { display: block; }
.staff-player-row strong, .staff-operation-list strong { margin-bottom: 4px; color: #eef2f7; font-size: 14px; }
.staff-player-row small, .staff-operation-list small { color: #92a0b4; font-size: 12px; }
.staff-operation-list { min-height: auto; }
.club-graphics-section { display: grid; grid-template-columns: .75fr 1fr; gap: 24px; align-items: start; padding: 28px; border: 1px solid #1b2638; border-radius: 8px; background: #0a1320; }
.club-graphics-section > div > p:not(.eyebrow) { margin: 9px 0 0; color: #9ca8b9; font-size: 14px; line-height: 1.55; }
.club-graphics-form { max-width: none; padding: 0; border: 0; background: transparent; }
.club-graphics-form label small { display: block; margin-top: 4px; color: #93a1b5; font-size: 11px; font-weight: 500; }
.club-graphics-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 280px)); justify-content: start; gap: 16px; grid-column: 1 / -1; }
.club-graphics-preview__item { min-width: 0; max-width: 280px; margin: 0; }
.club-graphics-preview__item figcaption { margin-bottom: 8px; color: #b9c3d2; font-size: 12px; font-weight: 700; }
.club-graphics-preview__media { display: grid; place-items: center; min-height: 130px; max-height: 180px; padding: 12px; overflow: hidden; border: 1px solid #2a3a4f; border-radius: 6px; background: #07101d; }
.club-graphics-preview__item--logo .club-graphics-preview__media { aspect-ratio: 1 / 1; }
.club-graphics-preview__item--banner { grid-column: span 1; }
.club-graphics-preview__item--banner .club-graphics-preview__media { aspect-ratio: 16 / 5; min-height: 0; max-height: none; }
.club-graphics-preview img { display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.admin-club-list { margin-top: 28px; }
.admin-club-list__item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; border-bottom: 1px solid #1e2a3a; }
.admin-club-list__item:last-child { border-bottom: 0; }
.admin-club-list__item strong, .admin-club-list__item small { display: block; }
.admin-club-list__item strong { margin-bottom: 5px; color: #eef2f7; font-size: 15px; }
.admin-club-list__item small { color: #92a0b4; font-size: 12px; }
.admin-club-delete-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: end; gap: 10px; min-width: min(100%, 390px); }
.admin-club-delete-form label { margin: 0; }
.admin-club-delete-form label span { display: block; margin-bottom: 7px; color: #b7c0cf; font-size: 11px; font-weight: 700; }
.admin-club-delete-form input { width: 100%; min-height: 38px; }

@media (max-width: 900px) {
  .site-header { width: min(100% - 40px, 720px); }
  .main-nav { display: none; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-brand { left: 20px; color: var(--white); }
  .auth-brand .keyra-mark__bar { fill: var(--white); }
  .auth-panel { margin-top: 112px; }
  .dashboard-shell { width: min(100% - 40px, 720px); }
  .dashboard-greeting { grid-template-columns: 76px minmax(0, 1fr) 170px; padding: 20px 24px; }
  .dashboard-greeting h1 { font-size: 30px; }
  .dashboard-date { padding-left: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .portal-sidebar { width: 220px; }
  .portal-main { width: calc(100% - 260px); margin-left: 240px; }
  .portal-tool { align-items: stretch; flex-direction: column; }
  .portal-search { width: 100%; }
  .admin-request__details { grid-template-columns: 1fr 1fr; }
  .club-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-settings-grid, .club-graphics-section { grid-template-columns: 1fr; }
  .portal-search--teams { grid-template-columns: 1fr 1fr; }
  .portal-search--teams .button { grid-column: 2; grid-row: 3; }
  .staff-area-grid { grid-template-columns: 1fr; }
  .guardian-management { grid-template-columns: 1fr; }
  .free-training-layout { grid-template-columns: 1fr; }
  .club-support-access, .club-delete-access { align-items: flex-start; flex-direction: column; }
  .club-delete-form, .admin-club-delete-form { width: 100%; max-width: none; }
  .admin-club-list__item { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; margin-top: -86px; padding: 130px 20px 0; }
  .hero-copy { padding: 40px 0 62px; width: min(100%, 620px); margin: 0 auto; }
  .hero-visual { min-height: 420px; border-left: 0; }
  .hero-visual img { min-height: 420px; }
  .intro-band { grid-template-columns: 1fr; gap: 19px; padding: 76px 20px 55px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); width: calc(100% - 40px); margin-bottom: 72px; }
  .alpha-section { grid-template-columns: 1fr; gap: 23px; padding: 68px 20px; }
  .footer-inner { flex-wrap: wrap; width: calc(100% - 40px); padding: 26px 0; }
}

@media (max-width: 560px) {
  .site-header { padding: 20px 0; }
  .header-link { font-size: 13px; }
  .header-actions { gap: 13px; }
  .hero h1 { font-size: 51px; }
  .hero-text { font-size: 17px; }
  .hero-points { display: grid; gap: 12px; }
  .hero-visual { min-height: 330px; }
  .hero-visual img { min-height: 330px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 196px; }
  .feature-icon { margin-bottom: 21px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .alpha-modal__panel { padding: 32px 25px; }
  .alpha-modal h2 { font-size: 29px; }
  .legal-header { width: 100%; padding-left: 20px; padding-right: 20px; }
  .legal-page { width: calc(100% - 40px); padding-top: 62px; }
  .auth-panel { width: calc(100% - 40px); padding: 33px 25px; }
  .dashboard-shell { width: calc(100% - 32px); padding-top: 17px; }
  .dashboard-header { margin-bottom: 20px; }
  .dashboard-brand { font-size: 20px; }
  .dashboard-nav { gap: 13px; font-size: 12px; }
  .dashboard-greeting { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 20px; }
  .dashboard-greeting__mark, .dashboard-mark { width: 50px; height: 50px; }
  .dashboard-greeting h1 { font-size: 27px; }
  .dashboard-greeting p { font-size: 14px; }
  .dashboard-date { grid-column: 1 / -1; grid-template-columns: auto auto auto; align-items: baseline; gap: 10px; min-height: auto; margin-top: 9px; padding: 13px 0 0; border-top: 1px solid #283548; border-left: 0; }
  .dashboard-date strong { font-size: 25px; }
  .dashboard-todo-summary { max-width: none; }
  .portal-sidebar { position: static; width: 100%; min-height: 0; padding: 16px; border-right: 0; border-bottom: 1px solid #1c2939; }
  .portal-brand { padding: 0; }
  .portal-nav { display: flex; gap: 7px; margin-top: 17px; overflow-x: auto; }
  .portal-nav__link { flex: 0 0 auto; min-height: 38px; padding: 0 11px; font-size: 12px; }
  .portal-account { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; padding: 13px 0 0; }
  .portal-account__profile { max-width: calc(100% - 95px); }
  .portal-main { width: calc(100% - 32px); margin: 0 auto; padding: 28px 0 48px; }
  .portal-page-header { align-items: flex-start; flex-direction: column; gap: 17px; }
  .medical-person-switcher { width: 100%; }
  .portal-page-header h1 { font-size: 32px; }
  .portal-tool, .portal-form { padding: 22px; }
  .portal-search { grid-template-columns: 1fr; }
  .calendar-switcher { width: 100%; justify-content: space-between; }
  .calendar-day { min-height: 67px; padding: 8px; }
  .calendar-event { display: none; }
  .calendar-create { grid-template-columns: 1fr; padding: 22px; }
  .calendar-response-row { align-items: flex-start; flex-direction: column; }
  .calendar-response-row__actions { justify-content: flex-start; }
  .chat-message { max-width: 100%; }
  .chat-compose { grid-template-columns: 1fr; }
  .chat-compose .button { width: 100%; }
  .chat-report > header { align-items: flex-start; flex-direction: column; }
  .portal-form { grid-template-columns: 1fr; }
  .portal-form__full { grid-column: auto; }
  .medical-alpha-notice, .medical-subject-header, .guardian-management__list article { align-items: flex-start; flex-direction: column; }
  .medical-profile-readonly dl, .medical-record__values { grid-template-columns: 1fr; }
  .medical-add-record { margin-left: 20px; margin-right: 20px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-panel--security { grid-column: auto; }
  .profile-photo-panel { grid-template-columns: 1fr; }
  .free-training-entry { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; }
  .free-training-entry__sharing { grid-column: 2; justify-content: flex-start; max-width: none; }
  .free-training-entry__edit { grid-column: 1 / -1; }
  .team-provider-settings__sync { align-items: flex-start; flex-direction: column; }
  .club-request-row { grid-template-columns: 1fr; }
  .club-request-row p { grid-column: auto; }
  .admin-request { padding: 21px; }
  .admin-request > header { align-items: flex-start; flex-direction: column; }
  .admin-request__details, .admin-review-form, .club-grid { grid-template-columns: 1fr; }
  .club-settings-grid { grid-template-columns: 1fr; }
  .team-admin-list article { align-items: flex-start; flex-direction: column; gap: 8px; }
  .team-admin-edit, .team-admin-edit[open] { width: 100%; }
  .team-staff-members__head, .team-staff-members__row { align-items: flex-start; flex-direction: column; }
  .staff-team-row { align-items: flex-start; flex-direction: column; }
  .auth-fields { grid-template-columns: 1fr; }
  .auth-fields .auth-field-full { grid-column: auto; }
}
