:root {
  color-scheme: light;
  --ink: #171a1e;
  --muted: #555e66;
  --red: #c62236;
  --red-dark: #a11529;
  --line: #d9dfe2;
  --paper: #fff;
  --snow: #f4f6f7;
  --dark: #15191c;
  --accent: #ec4656;
  --radius: 16px;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: var(--snow);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 284px;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button,
select,
input,
textarea {
  font-size: 1rem;
}
p {
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: fixed;
  z-index: 30;
  left: 1rem;
  top: -120px;
  background: white;
  padding: 1rem;
  color: var(--ink);
  border-radius: 8px;
}
.skip:focus {
  top: 1rem;
}
:focus-visible {
  outline: 3px solid #2471af;
  outline-offset: 3px;
}
.boot {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 100dvh;
  color: var(--muted);
}
.boot-mark {
  width: 32px;
  height: 32px;
  border: 3px solid #d3d7dc;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.muted {
  color: var(--muted);
}
.btn,
.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.2;
  font-size: 0.94rem;
  font-weight: 690;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 17px;
  text-decoration: none;
  min-height: 44px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn,
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn:hover,
.btn-primary:hover {
  background: var(--red-dark);
}
.btn-secondary {
  background: #fff;
  border-color: #cbd1d4;
  color: var(--ink);
}
.btn-secondary:hover {
  background: #f2f4f5;
  border-color: #aeb6bb;
}
.btn-text {
  color: var(--red-dark);
  background: none;
  padding: 6px 0;
  min-height: 36px;
}
.btn-text:hover {
  text-decoration: underline;
}
.btn-small {
  font-size: 0.875rem;
  padding: 7px 12px;
  min-height: 36px;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-button {
  height: 40px;
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
}
.icon-button:hover {
  background: var(--snow);
}
.eyebrow,
.section-label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--red-dark);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}
.club-crest {
  width: 44px;
  height: 50px;
  object-fit: contain;
}
.brand-words {
  display: grid;
  gap: 4px;
}
.brand-words strong {
  font-size: 1.04rem;
  letter-spacing: 0.035em;
  font-weight: 850;
  line-height: 1;
}
.brand-words small {
  font-size: 0.77rem;
  line-height: 1.2;
  letter-spacing: 0.045em;
}
.signin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(24px, 4.1vw, 78px);
  border-bottom: 1px solid var(--line);
  background: white;
}
.home-link {
  font-size: 0.91rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}
.home-link:hover {
  color: var(--red-dark);
}
.home-link .icon {
  width: 17px;
  height: 17px;
}
.auth-page {
  min-height: 100dvh;
  background: #f8f9fa;
}
.auth-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(365px, 0.9fr);
  max-width: 1550px;
  margin: 0 auto;
  gap: clamp(35px, 6.4vw, 105px);
  padding: clamp(22px, 3.6vw, 58px) clamp(24px, 4.1vw, 78px) 32px;
  align-items: stretch;
}
.auth-hero,
.dash-hero {
  background: #23292c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.auth-hero {
  min-height: clamp(570px, 73vh, 830px);
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
}
.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  object-position: 50% 42%;
}
.auth-hero:before,
.dash-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 18, 0.02) 10%,
    rgba(13, 19, 23, 0.12) 35%,
    rgba(10, 15, 19, 0.72) 68%,
    rgba(10, 15, 19, 0.98) 100%
  );
}
.hero-copy {
  padding: clamp(26px, 4vw, 62px);
  position: relative;
  max-width: 650px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: white;
}
.hero-kicker:before {
  content: '';
  width: 28px;
  height: 3px;
  background: #ed3f54;
}
.hero-title {
  font-size: clamp(3.25rem, 5.9vw, 6.1rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 19px 0;
  max-width: 680px;
  text-wrap: balance;
}
.hero-copy p {
  font-size: 1rem;
  line-height: 1.62;
  color: #e7eaed;
  max-width: 39ch;
}
.auth-panel {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-panel-inner {
  width: min(100%, 430px);
}
.auth-tabs {
  display: flex;
  position: relative;
  gap: 3px;
  background: #e9ecee;
  padding: 4px;
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  margin-bottom: 30px;
}
.auth-tabs button {
  width: 50%;
  background: transparent;
  color: #586069;
  border: 0;
  border-radius: 7px;
  min-height: 42px;
  font-weight: 700;
  font-size: 0.94rem;
}
.auth-tabs button[aria-pressed='true'] {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 4px #18212820;
}
.auth-panel h1,
.dialog h2 {
  letter-spacing: -0.045em;
  line-height: 1.09;
}
.auth-panel h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 780;
}
.auth-lead {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 24px;
}
.form-stack {
  display: grid;
  gap: 16px;
}
.form-stack .btn-primary {
  min-height: 46px;
}
.form-field {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}
.form-field > span,
.form-field > label {
  font-size: 0.88rem;
  font-weight: 680;
  color: #2c3439;
}
.form-field small,
.form-hint {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.45;
}
input:not([type='checkbox']):not([type='radio']):not([type='file']),
textarea,
select {
  height: 45px;
  max-width: 100%;
  width: 100%;
  border: 1px solid #bfc8ce;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}
input::placeholder,
textarea::placeholder {
  color: #68747c;
}
textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
select {
  padding-right: 30px;
}
input:disabled {
  background: #f0f2f3;
}
.auth-foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-foot .icon {
  width: 16px;
  height: 16px;
}
.form-status:empty {
  display: none;
}
.form-status,
.inline-error,
.inline-info {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  background: #fdf1f2;
  color: #8e2630;
  border: 1px solid #f0c6cb;
}
.inline-info {
  background: #eff5f8;
  color: #254959;
  border-color: #d4e3e8;
}
.auth-subrow {
  display: flex;
  justify-content: flex-end;
  margin-top: -5px;
}
.button-bare {
  border: 0;
  padding: 2px 0;
  line-height: 1.4;
  background: none;
  color: var(--red-dark);
  font-weight: 650;
  font-size: 0.91rem;
}
.button-bare:hover {
  text-decoration: underline;
}
.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: var(--dark);
  color: #f5f7f8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  padding: 25px 16px 14px;
  overflow-y: auto;
  z-index: 9;
}
.sidebar .brand {
  margin: 0 10px 24px;
}
.sidebar .brand-words small {
  color: #c4cbd0;
}
.sidebar .club-crest {
  width: 43px;
  height: 48px;
}
.sidebar .section-label {
  color: #a5b0b6;
  font-size: 0.72rem;
  margin: 19px 12px 8px;
}
.workspace-switch,
.workspace-label {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: #272d31;
  border: 1px solid #454d51;
  border-radius: 9px;
  min-height: 46px;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 670;
}
.workspace-switch {
  cursor: pointer;
}
.workspace-switch:hover {
  background: #353c40;
}
.workspace-switch .icon:last-child {
  margin-left: auto;
  width: 16px;
}
.workspace-label {
  background: #22272b;
}
.sidebar nav {
  display: grid;
  gap: 3px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 41px;
  padding: 8px 11px;
  background: transparent;
  color: #d0d6d9;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 570;
}
.side-link .icon {
  width: 18px;
  height: 18px;
  color: #aeb7bc;
}
.side-link:hover {
  color: white;
  background: #262c30;
}
.side-link[aria-current='page'] {
  color: #fff;
  background: #48242b;
  border-color: #684049;
}
.side-link[aria-current='page'] .icon {
  color: #ff8591;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #343b40;
  padding-top: 10px;
}
.sidebar-footer .home-link {
  color: #cfd4d8;
  min-height: 37px;
  padding-left: 11px;
}
.workspace-body {
  min-width: 0;
}
.appbar {
  height: 73px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.6vw, 68px);
  gap: 15px;
}
.crumb {
  font-size: 0.89rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.crumb .muted {
  font-weight: 500;
}
.crumb .icon {
  width: 14px;
  height: 14px;
  color: #7b848a;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 0;
  padding: 5px 0 5px 5px;
  text-align: left;
  font-weight: 650;
  font-size: 0.88rem;
}
.avatar,
.row-icon {
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-weight: 750;
  flex: none;
}
.avatar {
  background: #f4e9eb;
  color: #9b2434;
  width: 34px;
  height: 34px;
  font-size: 0.82rem;
}
.account-button .icon {
  width: 15px;
  height: 15px;
}
.account-wrap {
  position: relative;
}
.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 15;
  background: white;
  border: 1px solid var(--line);
  padding: 14px;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 35px #15212b20;
}
.account-menu p {
  font-size: 0.86rem;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.menu-toggle {
  display: none;
}
.scrim {
  display: none;
}
.view-root {
  max-width: 1570px;
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 48px) clamp(20px, 3.6vw, 68px) 70px;
  outline: 0;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.page-heading h1,
.view-root > h1 {
  font-weight: 770;
  font-size: clamp(2.1rem, 3.7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.page-heading p {
  color: var(--muted);
  margin-top: 7px;
  max-width: 72ch;
}
.dash-hero {
  min-height: 245px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.dash-hero:before {
  background: linear-gradient(90deg, #13191df7 3%, #141a1df5 30%, #14191dbf 60%, #14191d44 100%);
}
.dash-hero .cover-photo {
  object-position: 50% 40%;
}
.dash-copy {
  padding: clamp(22px, 3.2vw, 50px);
  max-width: 74%;
}
.dash-copy h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 12px 0 8px;
  text-wrap: balance;
}
.dash-copy p {
  color: #e8ecee;
  font-size: 0.98rem;
}
.dash-copy .btn {
  margin-top: 18px;
}
.dash-copy .eyebrow {
  color: #ffc3ca;
}
.kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 22px;
}
.kpi {
  border: 1px solid var(--line);
  background: white;
  text-align: left;
  border-radius: 12px;
  padding: clamp(14px, 1.7vw, 24px);
  color: var(--ink);
}
.kpi:hover {
  border-color: #b4999f;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
}
.kpi-top .icon {
  color: var(--red-dark);
  width: 19px;
}
.kpi strong {
  display: block;
  margin-top: 12px;
  font-size: 2.05rem;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -0.045em;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.section-grid {
  display: grid;
  gap: 18px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(17px, 2vw, 28px);
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.card h2,
.sub-heading {
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  font-weight: 735;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.card h3 {
  font-size: 1.01rem;
  letter-spacing: -0.012em;
  line-height: 1.4;
}
.card-head p {
  font-size: 0.89rem;
  color: var(--muted);
  margin-top: 4px;
}
.empty-state {
  display: grid;
  justify-items: start;
  gap: 5px;
  background: #f7f9fa;
  border: 1px dashed #c9d1d6;
  border-radius: 11px;
  padding: 20px;
}
.empty-state h3 {
  font-size: 1rem;
}
.empty-state p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 52ch;
}
.empty-state .icon {
  width: 23px;
  height: 23px;
  color: #7c868d;
  margin-bottom: 6px;
}
.portal-list {
  display: grid;
  gap: 0;
}
.data-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e5e9ec;
  min-width: 0;
}
.data-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.data-row:last-child {
  padding-bottom: 0;
}
.row-icon {
  width: 37px;
  height: 37px;
  background: #f1f3f5;
  color: #55626b;
  border-radius: 8px;
}
.row-icon .icon {
  width: 18px;
  height: 18px;
}
.row-body {
  min-width: 0;
  flex: 1;
}
.row-body p {
  font-size: 0.9rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.row-end {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  background: #eff2f4;
  color: #43515a;
  font-size: 0.78rem;
  font-weight: 680;
  padding: 5px 8px;
  line-height: 1.2;
  border-radius: 6px;
}
.tag.green {
  background: #e6f2ea;
  color: #27613b;
}
.tag.red {
  background: #f8e9eb;
  color: #953544;
}
.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.toolbar .form-field {
  min-width: 190px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tabs button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 0.89rem;
  font-weight: 620;
  min-height: 39px;
  color: var(--ink);
}
.tabs button[aria-pressed='true'] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.profile-card .profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-card .avatar {
  width: 46px;
  height: 48px;
  font-size: 1rem;
}
.profile-card .meta {
  color: var(--muted);
  font-size: 0.89rem;
}
.profile-card .actions {
  margin-top: 17px;
}
.body-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.program-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.program-card .actions {
  margin-top: auto;
  padding-top: 5px;
}
.program-meta,
.meta-line {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}
.program-meta .icon {
  width: 16px;
  height: 16px;
}
.photo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(215px, 100%), 1fr));
}
.photo-card {
  margin: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.photo-image {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: #e8ecee;
  color: #51606a;
  text-align: center;
  font-size: 0.85rem;
}
.photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-image button {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.photo-card figcaption {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
}
.photo-card small {
  color: var(--muted);
}
.photo-full {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  background: #eff1f3;
}
.cv-sheet {
  background: white;
  padding: clamp(22px, 3vw, 45px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 10px;
}
.cv-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 18px;
}
.cv-head p {
  color: var(--muted);
}
.cv-sheet h2 {
  font-size: 2rem;
  letter-spacing: -0.045em;
  margin: 6px 0;
}
.cv-sheet h3 {
  font-size: 1.02rem;
  margin: 20px 0 6px;
}
.cv-sheet .cv-text {
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: #30383c;
  line-height: 1.6;
}
.cv-sheet ul {
  padding-left: 1.2rem;
  line-height: 1.6;
}
.dialog {
  width: min(calc(100% - 30px), 540px);
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 20px 90px #13191e40;
}
.dialog::backdrop {
  background: #13191f91;
}
.dialog-inner {
  padding: clamp(18px, 3vw, 30px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.dialog h2 {
  font-size: 1.55rem;
}
.dialog .form-stack > p {
  color: var(--muted);
}
.dialog .actions {
  justify-content: flex-end;
  margin-top: 4px;
}
.dialog .icon-button {
  flex: none;
}
.dialog [aria-busy='true'] {
  cursor: wait;
}
.dialog .btn-secondary {
  margin: 0;
}
.dialog .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#notice {
  position: fixed;
  z-index: 28;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 26px);
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px #1114;
  padding: 12px 19px;
  font-size: 0.93rem;
  line-height: 1.4;
}
#notice:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .app-shell {
    grid-template-columns: 213px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 11px;
    padding-right: 11px;
  }
  .brand-words strong {
    font-size: 0.94rem;
  }
  .auth-main {
    gap: 34px;
    grid-template-columns: 1fr minmax(330px, 0.9fr);
  }
  .auth-hero {
    min-height: 570px;
  }
  .view-root,
  .appbar {
    padding-left: 23px;
    padding-right: 23px;
  }
  .kpi-grid {
    gap: 10px;
  }
}
@media (max-width: 810px) {
  .auth-main {
    grid-template-columns: 1fr minmax(295px, 1fr);
    gap: 22px;
    padding: 22px;
  }
  .hero-copy {
    padding: 23px;
  }
  .hero-title {
    font-size: 3.3rem;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 254px;
    transform: translateX(-100%);
    transition: transform 0.18s;
  }
  .app-shell.nav-open .sidebar {
    transform: translateX(0);
  }
  .scrim {
    position: fixed;
    inset: 0;
    z-index: 8;
    background: #1119;
    border: 0;
  }
  .app-shell.nav-open .scrim {
    display: block;
  }
  .menu-toggle {
    display: inline-grid;
  }
  .appbar {
    height: 63px;
  }
  .crumb {
    margin-right: auto;
  }
  .family-grid {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .signin-top {
    padding: 12px 18px;
  }
  .club-crest {
    width: 34px;
    height: 40px;
  }
  .auth-main {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 0;
  }
  .auth-hero {
    min-height: 177px;
    border-radius: 12px;
  }
  .hero-copy {
    padding: 21px;
  }
  .hero-kicker {
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: 2.3rem;
    margin: 9px 0;
    max-width: none;
  }
  .hero-copy p {
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 47ch;
  }
  .auth-hero:before {
    background: linear-gradient(90deg, #10151bef, #10151b9c 68%, #15191d44);
  }
  .auth-hero .cover-photo {
    object-position: 50% 37%;
  }
  .auth-panel {
    padding: 24px 2px;
  }
  .auth-tabs {
    margin-bottom: 19px;
  }
  .auth-lead {
    margin-bottom: 17px;
  }
  .auth-panel-inner {
    width: min(100%, 520px);
  }
  .family-grid {
    grid-template-columns: 1fr;
  }
  .appbar {
    padding: 0 16px;
    gap: 10px;
  }
  .view-root {
    padding: 22px 15px 50px;
  }
  .crumb .crumb-first,
  .crumb > .icon {
    display: none;
  }
  .account-button .account-name {
    display: none;
  }
  .kpi-grid {
    gap: 7px;
    margin-bottom: 15px;
  }
  .kpi {
    padding: 12px 9px;
    border-radius: 9px;
  }
  .kpi-top {
    font-size: 0.78rem;
    align-items: start;
  }
  .kpi-top .icon {
    display: none;
  }
  .kpi strong {
    font-size: 1.55rem;
  }
  .dash-hero {
    min-height: 222px;
    margin-bottom: 14px;
  }
  .dash-copy {
    max-width: 100%;
    padding: 22px;
  }
  .dash-copy h1 {
    font-size: 2.4rem;
  }
  .dash-copy p {
    font-size: 0.91rem;
  }
  .dash-hero:before {
    background: linear-gradient(90deg, #13191def, #14191dc9 58%, #14191d83);
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 2.1rem;
  }
  .card {
    border-radius: 12px;
  }
  .row-end {
    gap: 3px;
  }
  .data-row {
    gap: 9px;
  }
  .row-body p {
    font-size: 0.86rem;
  }
  .row-icon {
    width: 32px;
    height: 32px;
  }
  .toolbar .form-field {
    min-width: 0;
    flex: 1;
  }
  .section-grid {
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .account-button {
    gap: 2px;
  }
  .home-link {
    font-size: 0.83rem;
  }
  .dialog .form-grid {
    grid-template-columns: 1fr;
  }
  .row-end .btn {
    padding: 6px 7px;
  }
  .signin-top .brand {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .appbar,
  .skip,
  .scrim,
  #notice,
  dialog,
  .view-root > :not(.cv-sheet) {
    display: none !important;
  }
  .app-shell,
  .workspace-body,
  .view-root {
    display: block;
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .cv-sheet {
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .cv-sheet .eyebrow {
    color: #82232d;
  }
  .cv-sheet h3 {
    break-after: avoid;
  }
  body:has(.cv-sheet) {
    font:
      11pt Arial,
      sans-serif;
  }
  @page {
    margin: 18mm;
  }
}
.prelaunch {
  margin: -4px 0 20px;
}
.prelaunch p {
  margin: 4px 0 10px;
  line-height: 1.45;
}
.prelaunch a {
  font-weight: 600;
}
.prelaunch .btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.88rem;
}
.preview-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px clamp(20px, 3.6vw, 68px);
  border-bottom: 1px solid #cedee4;
  background: #eaf3f6;
  color: #31515e;
  font-size: 0.84rem;
  font-weight: 600;
}
.preview-strip span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.preview-strip .icon {
  width: 15px;
  height: 15px;
}
.preview-strip .button-bare {
  font-size: 0.84rem;
  color: #31515e;
  text-decoration: underline;
}
.hero-title {
  text-wrap: initial;
}
.hero-title {
  max-width: 9.7ch;
}
.auth-panel-inner .prelaunch + form {
  gap: 12px;
}
@media (max-width: 650px) {
  .hero-title {
    max-width: 100%;
  }
  .preview-strip {
    padding: 8px 15px;
  }
}
@media print {
  .preview-strip {
    display: none !important;
  }
}
.profile-bio {
  margin-top: 14px;
}
.entry-body {
  margin-top: 4px;
  color: var(--ink) !important;
}
.fee-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.view-root > .card + .card {
  margin-top: 16px;
}
.row-end .btn-text {
  white-space: nowrap;
}
.btn:disabled {
  cursor: not-allowed;
}
.cover-photo {
  pointer-events: none;
}
.field-status {
  font-weight: 650;
}
.hero-title {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-size: clamp(4.3rem, 7.9vw, 7.7rem);
  max-width: 10.6ch;
}
.hero-copy .hero-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
}
.brand-words strong {
  font-family: var(--display);
  font-size: 1.38rem;
  letter-spacing: 0.035em;
}
.dash-copy h1 {
  line-height: 1.06;
}
.auth-panel .btn-text + .btn-text {
  margin-left: 12px;
}
@media (max-width: 810px) {
  .hero-title {
    font-size: 4.25rem;
  }
}
@media (max-width: 650px) {
  .hero-title {
    font-size: 2.9rem;
    max-width: none;
  }
  .brand-words strong {
    font-size: 1.1rem;
  }
  .hero-copy .hero-kicker {
    font-size: 0.7rem;
  }
}
.sidebar-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}
.mobile-nav-close {
  display: none;
}
.account-name {
  max-width: clamp(80px, 16vw, 260px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu {
  max-width: calc(100vw - 32px);
}
.row-body,
.profile-top > div {
  overflow-wrap: anywhere;
}
.row-end .btn {
  max-width: 100%;
}
@media (max-width: 810px) {
  .sidebar {
    visibility: hidden;
  }
  .app-shell.nav-open .sidebar {
    visibility: visible;
  }
  .mobile-nav-close {
    display: grid;
    place-items: center;
    color: #eef2f4;
    background: #262c30;
    border-color: #444c52;
    width: 32px;
    height: 32px;
    margin: 7px 2px 0 0;
  }
  .mobile-nav-close:hover {
    background: #394046;
  }
}
@media (max-width: 650px) {
  .data-row:has(.row-end) {
    flex-wrap: wrap;
  }
  .data-row:has(.row-end) .row-body {
    flex: 1 1 calc(100% - 55px);
  }
  .data-row .row-end {
    margin-left: 41px;
  }
  .row-end .btn {
    min-height: 34px;
    padding: 7px 10px;
  }
}
.switch-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}
.switch-copy strong {
  font-weight: 670;
  line-height: 1.2;
}
.switch-copy small {
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 500;
  color: #c6cfd4;
}
.btn-text:hover {
  background: transparent;
  color: var(--red-dark);
}
