:root {
  --ink: #182832;
  --muted: #77828a;
  --nav: #14232e;
  --line: #e5e9eb;
  --paper: #f5f6f8;
  --lime: #c8ef67;
  --green: #377956;
  --red: #b34d4d;
  --radius: 16px;
  --shadow: 0 3px 20px #14232e05;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button,
input,
select,
textarea {
  outline-offset: 4px;
}
*:focus-visible {
  outline: 3px solid #74a51d;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 650;
}
small {
  font-size: 12px;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 100;
  background: var(--lime);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.initial-loading,
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50vh;
  color: var(--muted);
}
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  flex: none;
  background: var(--nav);
  color: #b2bfc7;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 18px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 24px;
  letter-spacing: 1.2px;
  font-weight: 850;
  font-style: italic;
  line-height: 1.1;
  padding: 0 10px;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--nav);
  font-style: normal;
  font-size: 28px;
  width: 40px;
  height: 44px;
  border-radius: 11px;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-caption {
  display: block;
  font-style: normal;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 7px;
  color: #8b9fae;
}
.club-picker {
  display: block;
  border: 1px solid #ffffff14;
  background: #ffffff04;
  border-radius: 10px;
  padding: 13px 10px;
  margin: 35px 0 28px;
}
.club-picker > span {
  display: block;
  font-size: 10px;
  color: #81939f;
  margin-bottom: 6px;
  padding-left: 3px;
}
.club-picker select {
  width: 100%;
  background: var(--nav);
  color: #e9eef1;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 0;
  cursor: pointer;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.1px;
  padding: 0 13px;
  margin-bottom: 12px;
  color: #69808e;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  min-height: 45px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #a6b5c0;
  margin: 4px 0;
  transition:
    background 0.15s,
    color 0.15s;
  width: 100%;
  text-align: left;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #ffffff09;
  color: white;
}
.nav-item.active {
  background: var(--lime);
  color: #213523;
  font-weight: 650;
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #31462c;
  margin-left: auto;
}
.nav-separator {
  height: 1px;
  background: #ffffff0c;
  margin: 20px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.role-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ffffff10;
  border-bottom: 1px solid #ffffff10;
  padding: 17px 10px;
  margin-bottom: 12px;
  color: #78919f;
}
.role-card strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #c1ced6;
}
.role-card small {
  font-size: 9px;
  display: block;
  margin-bottom: 4px;
}
.workspace-main {
  margin-left: 244px;
  width: calc(100% - 244px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 84px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.breadcrumb {
  font-size: 11px;
  color: #93a0a8;
}
.breadcrumb span {
  padding: 0 12px;
  color: #c7ced2;
}
.breadcrumb strong {
  color: #576672;
  font-weight: 500;
}
.topbar-right,
.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-date {
  font-size: 11px;
  color: #83909a;
}
.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-size: 11px;
  font-weight: 600;
}
.profile-link small {
  display: block;
  color: #98a2aa;
  font-size: 9px;
  font-weight: 400;
  margin-top: 2px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9edf0;
  color: #536774;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.profile-link > .avatar {
  background: #edf4dd;
  color: #506a30;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 25px;
}
.icon-btn:hover {
  background: #edf0f2;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 34px 36px 40px;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .eyebrow {
  margin-bottom: 8px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.page-heading > .actions {
  justify-content: flex-end;
}
.btn {
  min-height: 39px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn.primary:hover {
  background: #2b424f;
}
.btn.lime {
  background: var(--lime);
  color: #233520;
}
.btn.lime:hover {
  background: #d8fa88;
}
.btn.secondary {
  background: #fff;
  border-color: #dfe4e7;
  color: #526471;
}
.btn.secondary:hover {
  background: #f1f4f6;
}
.btn.danger {
  background: #fff5f4;
  border-color: #f1d5d2;
  color: var(--red);
}
.btn.small {
  padding: 7px 11px;
  min-height: 32px;
  font-size: 10px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 24px 20px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.panel-head > .muted {
  font-size: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  color: #648040;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  min-width: 0;
}
.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7b8992;
  font-size: 11px;
}
.metric-label .icon {
  width: 17px;
  height: 17px;
  color: #95a7b2;
}
.metric > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.metric > strong {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.8px;
  display: block;
  margin: 8px 0 5px;
  line-height: 1.2;
}
.metric > small {
  color: #9aa4ab;
  font-size: 10px;
}
.metric strong small {
  font-size: 16px;
  letter-spacing: 0;
  color: #9aa4ab;
  font-weight: 400;
}
.metric .small-value {
  font-size: 15px;
  letter-spacing: 0;
}
.metric > .badge {
  display: inline-flex;
  font-size: 10px;
}
.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 247px;
  gap: 22px;
}
.next-training {
  display: flex;
  position: relative;
  background: #21353f;
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 252px;
  padding: 29px 30px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 75%;
}
.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9badb5;
  letter-spacing: 1.4px;
  font-size: 9px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}
.hero-copy h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 16px 0 5px;
  line-height: 1.2;
}
.hero-copy > p {
  font-size: 11px;
  color: #b5c6ce;
}
.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #d0dbe0;
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
  color: #7b959f;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
}
.hero-bottom > span {
  font-size: 9px;
  color: #acbec7;
}
.hero-art {
  position: absolute;
  right: -60px;
  top: -35px;
  bottom: -40px;
  width: 260px;
  opacity: 0.75;
  transform: rotate(-18deg);
  border: 1px solid #a2babb24;
  border-radius: 100px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 48px,
    #b9cad703 49px 50px
  );
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  height: 3px;
  background: #a1bdb61a;
}
.hero-art:after {
  top: 69%;
  background: #a7cad720;
}
.rink-mark {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid #bfd9c320;
  border-radius: 50%;
  left: 80px;
  top: 130px;
}
.hero-art strong {
  position: absolute;
  left: 12px;
  top: 105px;
  line-height: 0.95;
  font-style: italic;
  font-size: 57px;
  letter-spacing: -4px;
  color: #c9e7a918;
  transform: rotate(18deg);
}
.puck-one,
.puck-two {
  position: absolute;
  left: 90px;
  top: 54px;
  width: 53px;
  height: 18px;
  background: linear-gradient(#101e27, #172630);
  border-radius: 50%;
  box-shadow:
    0 7px 0 #0c1720,
    0 20px 15px #10202e44;
  transform: rotate(5deg);
}
.puck-two {
  left: 64px;
  top: 270px;
  width: 30px;
  height: 12px;
  opacity: 0.6;
}
.quick-panel {
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  padding: 25px 21px;
}
.quick-panel .eyebrow {
  display: block;
  font-size: 9px;
  margin: 0 0 18px;
}
.quick-panel .quick {
  min-width: 0;
  white-space: normal;
  flex: 1;
  display: flex;
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #f1f3f4;
  padding: 15px 0;
  width: 100%;
  font-size: 11px;
  color: #485c68;
}
.quick-panel .quick:last-child {
  border-bottom: 0;
}
.quick .icon {
  margin-right: 3px;
  color: #728791;
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}
.training-row {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  border: 0;
  border-top: 1px solid #eff1f3;
  background: white;
  text-align: left;
  padding: 20px 24px;
  transition: background 0.15s;
}
.training-row:hover {
  background: #fafcf7;
}
.date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f4f6f7;
  width: 44px;
  height: 49px;
  border-radius: 9px;
  flex-shrink: 0;
}
.date-tile strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.date-tile small {
  font-size: 9px;
  color: #8e9ba3;
}
.training-info {
  flex: 1;
  min-width: 0;
}
.training-info strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.training-info small {
  font-size: 10px;
  display: block;
  color: #9aa4ac;
  margin-top: 3px;
}
.training-time {
  font-size: 11px;
}
.training-time small {
  display: block;
  font-size: 9px;
  color: #9ca6ad;
}
.training-count {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #7b8a94;
  font-size: 10px;
}
.training-count .icon {
  width: 14px;
  height: 14px;
}
.training-row > .icon {
  width: 14px;
  height: 14px;
  color: #9cabb4;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 550;
  padding: 5px 9px;
  border-radius: 5px;
  background: #eef1f4;
  color: #637783;
  white-space: nowrap;
}
.badge.green {
  color: #4c795a;
  background: #eef5e9;
}
.badge.amber {
  color: #9b7d37;
  background: #fbf4e6;
}
.badge.blue {
  color: #4a7893;
  background: #eaf3f9;
}
.badge.red {
  color: #a65656;
  background: #fcedec;
}
.badge.muted {
  color: #8f9aa3;
  background: #f0f2f4;
}
.club-summary {
  padding-bottom: 23px;
}
.club-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 70px;
  border: 1px solid #dde7d2;
  border-radius: 20px 20px 26px 26px;
  background: #f3f7eb;
  color: #68814c;
  font-size: 22px;
  font-weight: 800;
  margin: 3px 24px 15px;
}
.club-summary > h3,
.club-summary > p,
.club-summary > .text-link {
  margin-left: 24px;
  margin-right: 24px;
}
.club-summary > h3 {
  font-size: 14px;
}
.club-summary > p {
  font-size: 11px;
  color: #8d9aa3;
  margin-top: 8px;
}
.summary-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 24px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #768890;
}
.summary-rule .icon {
  width: 17px;
  height: 17px;
}
.workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  color: #a9b2b9;
  font-size: 9px;
  border-top: 1px solid #e9ecee;
  margin-top: auto;
}
.panel-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.panel-toolbar .field {
  margin: 0;
  min-width: 160px;
}
.panel-toolbar .field > span {
  font-size: 9px;
}
.month-control {
  display: flex;
  align-items: center;
  gap: 15px;
}
.month-control h2 {
  font-size: 17px;
  text-transform: capitalize;
  min-width: 150px;
  text-align: center;
}
.segmented {
  display: flex;
  background: #f1f3f5;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  align-self: flex-end;
}
.segmented button {
  border: 0;
  background: transparent;
  color: #8796a1;
  border-radius: 6px;
  font-size: 10px;
  padding: 10px 14px;
}
.segmented button.selected {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 4px #13222c12;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays {
  padding: 14px 0;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
  color: #8c9ba5;
  font-size: 10px;
  text-align: right;
}
.calendar-weekdays span {
  padding-right: 15px;
}
.calendar-day {
  min-height: 122px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7px;
  min-width: 0;
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.day-number {
  display: block;
  margin: 0 0 6px auto;
  width: 25px;
  height: 25px;
  font-size: 11px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #637581;
}
.outside {
  background: #fafbfc;
}
.outside .day-number {
  color: #c3ccd1;
}
.today .day-number {
  background: var(--ink);
  color: var(--lime);
}
.calendar-event {
  display: block;
  border: 0;
  border-left: 2px solid #a5c977;
  background: #f0f5e8;
  width: 100%;
  text-align: left;
  border-radius: 3px;
  padding: 7px 6px;
  margin-bottom: 5px;
  font-size: 9px;
  line-height: 1.4;
  overflow: hidden;
}
.calendar-event strong {
  display: block;
  font-size: 10px;
  color: #687f47;
}
.calendar-event span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  margin: 3px 0;
}
.calendar-event small {
  display: block;
  font-size: 8px;
  color: #8e9a7c;
}
.calendar-event.cancelled {
  background: #f5f1f1;
  border-color: #d6c5c5;
  opacity: 0.7;
}
.calendar-event.completed {
  background: #edf3f7;
  border-color: #aac5d8;
}
.panel-note {
  padding: 16px 22px;
  font-size: 10px;
  color: #a0aab1;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 350px;
  max-width: 100%;
  color: #9aa8b1;
}
.search input {
  width: 100%;
  border: 0;
  background: #f6f7f8;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 11px;
}
.search > .icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
}
.search:has(> .icon) input {
  padding-left: 38px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  color: #9aa5ae;
  font-weight: 500;
  font-size: 10px;
  background: #fbfcfc;
  padding: 13px 23px;
  white-space: nowrap;
}
td {
  padding: 17px 23px;
  border-top: 1px solid #edf0f2;
  color: #596e7b;
}
td small {
  display: block;
  font-size: 9px;
  color: #9eacb4;
  margin-top: 3px;
}
td:last-child {
  white-space: nowrap;
}
td .field {
  position: relative;
  margin: 0;
  min-width: 95px;
}
td .field > span {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  color: var(--ink);
}
.person small {
  overflow-wrap: anywhere;
  white-space: normal;
}
td .person {
  min-width: 200px;
}
.empty {
  padding: 55px 24px;
  text-align: center;
  color: #9aa6ad;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty > .icon {
  width: 34px;
  height: 34px;
  color: #b8c5cd;
  margin-bottom: 4px;
}
.empty h3 {
  font-size: 15px;
  color: #70828d;
}
.empty p {
  font-size: 12px;
  max-width: 400px;
  line-height: 1.7;
}
.empty > .btn {
  margin-top: 5px;
}
.filter-empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.team-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: #c3d4ab;
}
.team-emblem {
  background: #f0f5e6;
  color: #75984f;
  border-radius: 16px;
  width: 65px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
}
.team-emblem .icon {
  width: 35px;
  height: 35px;
}
.team-card .eyebrow {
  font-size: 9px;
}
.team-card h2 {
  font-size: 21px;
  margin-top: 8px;
}
.team-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  color: #8c9ba5;
}
.number {
  display: inline-flex;
  background: #f2f4f6;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
}
.back-link {
  display: inline-block;
  color: #8798a3;
  font-size: 11px;
  margin-bottom: 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.padded-form {
  padding: 26px;
}
.field {
  display: block;
  margin-bottom: 19px;
  min-width: 0;
}
.field > span {
  display: block;
  font-size: 11px;
  color: #71848f;
  font-weight: 500;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dfe5e8;
  background: #fff;
  border-radius: 7px;
  min-height: 41px;
  font-size: 12px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.field textarea {
  resize: vertical;
  line-height: 1.65;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9ab370;
}
.field input:disabled {
  background: #f6f7f8;
  color: #9aa5ad;
}
.field input[type="file"] {
  font-size: 11px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin: 18px 0;
  color: #566a76;
  cursor: pointer;
}
.check input {
  accent-color: #648645;
  width: 17px;
  height: 17px;
}
.form-hint {
  font-size: 11px;
  line-height: 1.7;
  color: #899aa6;
  margin: 12px 0 20px;
}
.form-error {
  background: #fff1f0;
  border: 1px solid #f6d7d4;
  border-radius: 8px;
  color: #a54e46;
  font-size: 12px;
  padding: 13px 16px;
  white-space: pre-wrap;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.subscription-card {
  padding: 27px;
}
.subscription-card h2 {
  font-size: 23px;
  margin: 14px 0;
}
.subscription-card > .muted {
  font-size: 12px;
  margin: 15px 0 24px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 11px;
  gap: 14px 12px;
  margin: 24px 0;
  line-height: 1.5;
}
.details dt {
  color: #92a0a9;
}
.details dd {
  margin: 0;
  color: #5b707c;
  overflow-wrap: anywhere;
}
.notice {
  padding: 17px 20px;
  background: #fcf7e9;
  color: #8c7440;
  border: 1px solid #f0e5c7;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 12px;
}
.notice.success {
  background: #f1f8e9;
  border-color: #dce7ca;
  color: #587344;
}
.notice h3 {
  margin-bottom: 8px;
}
.lineup-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px 24px;
}
.lineup-side {
  border: 1px solid #e0e6ea;
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.lineup-side.dark {
  background: #20343f;
  color: white;
  border-color: #20343f;
}
.lineup-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lineup-title h3 {
  font-size: 14px;
}
.lineup-title > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #8d9ea7;
}
.jersey {
  display: grid;
  place-items: center;
  background: #f1f3f5;
  border: 1px solid #e0e6e9;
  width: 30px;
  height: 33px;
  border-radius: 5px 5px 10px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #657984;
}
.dark .jersey {
  background: #304652;
  border-color: #445e6c;
  color: #bacbd4;
}
.lineup-player {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid #819daf26;
  font-size: 11px;
}
.lineup-player small {
  font-size: 10px;
  color: #94a5af;
  margin-left: auto;
}
.position {
  font-size: 9px;
  background: #8ca4ae14;
  border-radius: 4px;
  padding: 4px;
  width: 28px;
  text-align: center;
  color: #8f9fa7;
}
.lineup-side > p {
  font-size: 11px;
}
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.panel-foot p {
  margin-right: auto;
  font-size: 11px;
}
.lineup-editor {
  --jersey: #edf1f4;
  --jersey-ink: #233744;
}
.lineup-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 24px 24px;
}
.lineup-settings .field {
  flex: 1 1 220px;
  max-width: 360px;
}
.lineup-pool {
  margin: 0 24px 20px;
  padding: 18px;
  border: 1px dashed #bac8d1;
  border-radius: 12px;
  background: #f8fafb;
}
.pool-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pool-heading h3 {
  font-size: 15px;
}
.pool-heading h3 span {
  margin-left: 8px;
  color: #536774;
}
.pool-heading > span {
  font-size: 12px;
}
.lineup-instruction {
  margin: 10px 0 14px;
  color: #536774;
  font-size: 13px;
  line-height: 1.5;
}
.free-player-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding: 3px;
}
.player-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  min-width: 0;
  padding: 7px 10px;
  background: white;
  border: 1px solid #dbe3e8;
  border-radius: 10px;
  text-align: left;
  color: var(--ink);
  cursor: grab;
}
.player-chip > span:last-child {
  min-width: 0;
}
.player-chip strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.player-chip small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #5f737f;
}
.player-chip.selected {
  outline: 2px solid #587919;
  background: #f4f9e9;
}
.lineup-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eaf0f4;
  color: #344d5d;
  font-size: 12px;
  font-weight: 650;
  object-fit: cover;
}
.position-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0 24px 20px;
  color: #526571;
  font-size: 11px;
}
.position-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.position-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--position-color);
}
.position-legend abbr {
  text-decoration: none;
  font-weight: 700;
}
.position-LW {
  --position-color: #377bdd;
}
.position-C {
  --position-color: #8952d1;
}
.position-RW {
  --position-color: #108c91;
}
.position-LD,
.position-RD {
  --position-color: #d14559;
}
.position-GK {
  --position-color: #368446;
}
.lineup-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 20px;
}
.lineup-tabs .btn {
  min-width: 140px;
}
.lineup-tabs .btn span {
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
}
.lineup-board {
  margin: 0 24px 24px;
}
.board-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--jersey);
  color: var(--jersey-ink);
  border: 1px solid #dae2e6;
  margin-bottom: 16px;
}
.board-title h3 {
  font-size: 18px;
}
.board-title > span {
  font-size: 12px;
}
.jersey-white {
  --jersey: #f2f5f7;
  --jersey-ink: #233744;
}
.jersey-dark {
  --jersey: #263743;
  --jersey-ink: #ffffff;
}
.jersey-red {
  --jersey: #c73848;
  --jersey-ink: #ffffff;
}
.jersey-blue {
  --jersey: #2867c5;
  --jersey-ink: #ffffff;
}
.jersey-green {
  --jersey: #287546;
  --jersey-ink: #ffffff;
}
.jersey-yellow {
  --jersey: #f6d45d;
  --jersey-ink: #42370d;
}
.jersey-orange {
  --jersey: #eaa04a;
  --jersey-ink: #47270b;
}
.jersey-purple {
  --jersey: #7750ac;
  --jersey-ink: #ffffff;
}
.jersey-pink {
  --jersey: #df82b4;
  --jersey-ink: #422237;
}
.jersey-gray {
  --jersey: #667681;
  --jersey-ink: #ffffff;
}
.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lineup-unit {
  min-width: 0;
  border: 1px solid #dae2e6;
  border-top: 5px solid var(--jersey);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}
.unit-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.unit-heading h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}
.jersey-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--jersey);
  border: 1px solid #23374440;
}
.unit-heading .field {
  margin: 0 0 0 auto;
  min-width: 120px;
  max-width: 165px;
}
.unit-heading .field > span {
  font-size: 11px;
}
.unit-heading select {
  min-height: 44px;
  padding: 8px;
}
.unit-remove {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: #f2f5f7;
  color: #576c79;
  cursor: pointer;
  font-size: 23px;
}
.unit-heading .field + .unit-remove {
  margin-left: 0;
}
.five-scheme {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 8px;
}
.lineup-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 6px;
  padding: 10px 4px;
  border: 1px dashed #c5d2da;
  border-radius: 9px;
  min-height: 132px;
  background: #fafcfd;
  color: #253d4a;
  cursor: pointer;
  grid-column: span 2;
}
.lineup-slot.position-LD {
  grid-column: 2 / 4;
}
.lineup-slot.position-RD {
  grid-column: 4 / 6;
}
.slot-position {
  color: #546a78;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
}
.lineup-slot .lineup-avatar {
  width: 46px;
  height: 46px;
  outline: 3px solid var(--position-color);
  outline-offset: 1px;
}
.lineup-slot strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
.lineup-slot small {
  font-size: 11px;
  color: #576d79;
}
.empty-player {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px dashed #bacbd5;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 400;
  color: #80929e;
}
.lineup-slot.vacant strong {
  color: #667c89;
  font-size: 11px;
}
.lineup-slot.occupied {
  background: #fff;
  border-style: solid;
}
.lineup-slot[draggable="true"] {
  cursor: grab;
}
.lineup-slot:disabled,
.player-chip:disabled {
  cursor: default;
  opacity: 1;
}
.lineup-slot:focus-visible,
.player-chip:focus-visible,
.unit-remove:focus-visible {
  outline: 3px solid #587919;
  outline-offset: 3px;
}
.lineup-slot:not(:disabled):hover,
.player-chip:not(:disabled):hover {
  background: #f2f6ec;
  border-color: #8da65b;
}
.lineup-goalkeepers {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #dae2e6;
  border-radius: 12px;
  background: #fff;
}
.goalkeepers-heading h4 {
  margin: 0 0 4px;
  font-size: 14px;
}
.goalkeepers-heading p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.goalie-scheme {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.goalie-scheme .lineup-slot {
  grid-column: auto;
}
.add-unit {
  width: 100%;
  margin-top: 16px;
  border-style: dashed;
}
.drop-target {
  outline: 3px solid #729a27;
  background: #f0f7df !important;
}
.lineup-error {
  margin: 20px 24px;
}
@media (max-width: 1200px) {
  .unit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .lineup-settings {
    padding: 0 14px 18px;
    gap: 12px;
  }
  .lineup-settings .field {
    max-width: none;
  }
  .lineup-pool {
    margin: 0 14px 16px;
    padding: 12px;
  }
  .free-player-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .player-chip {
    padding: 7px;
    gap: 6px;
  }
  .player-chip .lineup-avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .player-chip strong {
    font-size: 11px;
  }
  .position-legend {
    padding: 0 14px 16px;
    gap: 8px 12px;
  }
  .lineup-board {
    margin: 0 14px 18px;
  }
  .lineup-unit {
    padding: 12px 8px;
  }
  .unit-heading {
    gap: 6px;
  }
  .unit-heading h4 {
    font-size: 12px;
  }
  .unit-heading .field {
    min-width: 106px;
    max-width: 128px;
  }
  .unit-heading .field > span {
    font-size: 10px;
  }
  .unit-heading select {
    font-size: 13px;
  }
  .five-scheme {
    gap: 12px 5px;
  }
  .lineup-slot {
    min-height: 127px;
    padding: 9px 3px;
  }
  .lineup-slot .lineup-avatar {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }
  .lineup-slot strong {
    font-size: 11px;
  }
  .lineup-tabs {
    padding: 0 14px 16px;
  }
  .lineup-tabs .btn {
    min-width: 0;
    flex: 1;
  }
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}
.plan-card {
  padding: 22px;
  text-align: left;
  background: #fbfcf9;
  border: 1px solid #e8eddf;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  border-color: #afc783;
}
.plan-card .eyebrow {
  font-size: 8px;
}
.plan-card h3 {
  font-size: 15px;
  margin: 12px 0 18px;
}
.plan-card strong {
  font-size: 23px;
  letter-spacing: -0.5px;
}
.plan-card small {
  font-size: 10px;
  margin-top: 9px;
  color: #8b9c91;
}
.invoice-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0 12px;
}
.invoice-summary strong {
  font-size: 32px;
  letter-spacing: -1px;
}
.invoice-summary ~ p {
  color: #83949e;
  font-size: 12px;
  margin-bottom: 20px;
}
.section-title {
  margin: 28px 0 15px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
  min-width: 0;
}
.profile-header h2 {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.profile-header > .avatar {
  width: 68px;
  height: 68px;
  font-size: 22px;
}
.profile-photo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.upload-label {
  position: relative;
  display: block;
  overflow: hidden;
  font-size: 11px;
  color: #6e8c49;
  padding: 7px 0;
  cursor: pointer;
}
.upload-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.profile-header small {
  font-size: 9px;
}
.notification {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}
.notification:last-child {
  border: 0;
}
.notification.unread {
  background: #fafcf5;
}
.notification-icon {
  background: #f0f3f5;
  padding: 12px;
  border-radius: 12px;
  color: #7f939f;
}
.notification > div {
  flex: 1;
}
.notification h3 {
  font-size: 13px;
}
.notification p {
  font-size: 12px;
  color: #7f929e;
  margin: 5px 0 10px;
}
.notification small {
  font-size: 10px;
  color: #a0acb4;
}
.search-owner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 19px;
}
.search-owner > .field {
  flex: 1;
  margin: 0;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 16px;
  width: 540px;
  max-width: calc(100vw - 30px);
  max-height: 90dvh;
  box-shadow: 0 24px 100px #07121e50;
  color: var(--ink);
  background: white;
}
dialog.wide {
  width: 820px;
}
dialog::backdrop {
  background: #0d1b2b70;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 23px 27px;
}
.modal-body input[type="file"] {
  display: block;
  max-width: 100%;
  margin-top: 8px;
}
.modal-body > p:not([class]) {
  color: #81939f;
  font-size: 12px;
  margin-bottom: 18px;
  line-height: 1.8;
}
.modal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px 27px;
  background: #fafbfc;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #edf5df;
  border-radius: 50%;
  color: #7b9c53;
  margin-bottom: 16px;
}
#toasts {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(440px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  background: #223b32;
  color: #f2f7ed;
  border: 1px solid #46604d;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 10px 30px #15282320;
  white-space: pre-wrap;
}
.toast.error {
  background: #623833;
  border-color: #77423d;
}
.auth-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  background: var(--nav);
  padding: 52px 64px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-story .brand {
  padding: 0;
}
.auth-story-content {
  margin: auto 0;
  padding: 70px 0 160px;
  position: relative;
  z-index: 1;
}
.auth-story-content .eyebrow {
  color: #a6bd94;
  font-size: 10px;
}
.auth-story h1 {
  font-size: clamp(30px, 3.7vw, 62px);
  line-height: 1.17;
  letter-spacing: -2px;
  margin: 24px 0;
}
.auth-story-content > p {
  font-size: 14px;
  color: #93a8b5;
  line-height: 1.9;
}
.auth-story footer {
  font-size: 10px;
  color: #6f8897;
  z-index: 1;
}
.auth-rink {
  position: absolute;
  width: 430px;
  height: 670px;
  top: 250px;
  left: 150px;
  border: 1px solid #8ba9b625;
  border-radius: 150px;
  transform: rotate(-35deg);
  background: linear-gradient(90deg, transparent, #89a98504);
}
.rink-circle {
  position: absolute;
  top: 270px;
  left: 120px;
  width: 180px;
  height: 180px;
  border: 1px solid #aec89335;
  border-radius: 50%;
}
.rink-line {
  position: absolute;
  top: 360px;
  left: 0;
  right: 0;
  height: 2px;
  background: #8fa7822b;
}
.auth-rink:before,
.auth-rink:after {
  content: "";
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  height: 5px;
  background: #6c8fac17;
}
.auth-rink:after {
  top: 510px;
}
.puck {
  position: absolute;
  top: 250px;
  left: 20px;
  width: 130px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(#233a47, #142431);
  box-shadow:
    0 12px #0d1c28,
    0 28px 35px #081b2670;
  transform: rotate(20deg);
}
.auth-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 50px;
}
.auth-form-wrap {
  width: 100%;
  max-width: 370px;
}
.auth-form-wrap > .eyebrow {
  font-size: 9px;
}
.auth-form-wrap h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 15px 0 10px;
  line-height: 1.25;
}
.auth-form-wrap > .muted {
  font-size: 12px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.auth-form-wrap .field {
  margin-bottom: 23px;
}
.auth-form-wrap .field input {
  padding: 13px 14px;
  min-height: 46px;
}
.auth-submit {
  width: 100%;
  justify-content: space-between;
  min-height: 47px;
  margin-top: 3px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 78px !important;
}
.password-toggle {
  position: absolute;
  right: 9px;
  bottom: 12px;
  background: transparent;
  border: 0;
  font-size: 9px;
  color: #96a3ac;
  padding: 3px 7px;
}
.auth-link {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #718792;
  margin: 20px 0;
}
.auth-note {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 28px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  color: #8d9fa9;
  font-size: 10px;
  line-height: 1.8;
}
.auth-note .icon {
  width: 24px;
  height: 24px;
  color: #a3b294;
}
.auth-onboarding {
  max-width: 460px;
}
.auth-choices {
  display: grid;
  gap: 10px;
}
.auth-choices .btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.onboarding-section {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
.onboarding-section legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.auth-onboarding .field {
  margin-bottom: 16px;
}
.onboarding-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.onboarding-actions .btn {
  white-space: normal;
}
.invitation-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0 0 16px;
}
.invitation-summary dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.club-onboarding {
  display: grid;
  gap: 8px;
  padding: 0 12px 16px;
  font-size: 11px;
}
.sidebar-overlay {
  border: 0;
  background: #0d1b2b70;
  position: fixed;
  inset: 0;
  z-index: 25;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 42px;
  }
  .next-training {
    min-height: 275px;
  }
  .hero-copy h2 {
    font-size: 30px;
  }
  .hero-copy {
    width: 70%;
  }
  .hero-art {
    right: 0;
  }
  .hero-meta {
    margin-top: 25px;
  }
  .hero-bottom {
    margin-top: 30px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 210px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace-main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px;
  }
  .header-date {
    display: none;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
  }
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  .club-summary {
    display: none;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-art {
    opacity: 0.35;
    right: -100px;
  }
  .hero-copy h2 {
    font-size: 22px;
  }
  .hero-meta {
    gap: 10px;
  }
  .hero-bottom > span {
    display: none;
  }
  .training-row > .badge {
    display: none;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .metric > strong {
    font-size: 27px;
  }
  .metric > small {
    font-size: 9px;
  }
  .metric-label {
    font-size: 10px;
  }
  .settings-grid {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .calendar-day {
    min-height: 110px;
  }
  .auth-story {
    padding: 45px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 190px;
  }
  .workspace-main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .brand {
    font-size: 21px;
    gap: 8px;
  }
  .brand-caption {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .brand-symbol {
    width: 34px;
    height: 38px;
    font-size: 24px;
  }
  .nav-item {
    font-size: 11px;
    padding-left: 10px;
    gap: 9px;
  }
  .content {
    padding: 25px 20px;
  }
  .topbar {
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .profile-link > span:not(.avatar) {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .profile-link {
    padding-left: 12px;
  }
  .dashboard-top {
    grid-template-columns: 1fr;
  }
  .quick-panel {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 20px;
  }
  .quick-panel .eyebrow {
    display: none;
  }
  .quick-panel .quick {
    border-bottom: 0;
    font-size: 10px;
    padding: 5px 0;
  }
  .next-training {
    min-height: 245px;
  }
  .hero-copy h2 {
    font-size: 28px;
  }
  .hero-art {
    right: -35px;
    opacity: 0.7;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric > strong {
    font-size: 25px;
  }
  .metric-label {
    font-size: 11px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading > .actions {
    max-width: 230px;
  }
  .page-heading .btn {
    font-size: 10px;
    padding: 9px 11px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .subscription-card {
    max-width: none;
  }
  .calendar-scroll {
    overflow-x: auto;
  }
  .calendar-grid,
  .calendar-weekdays {
    min-width: 630px;
  }
  .panel-toolbar {
    padding: 17px;
  }
  .panel-head {
    padding: 20px;
  }
  .plan-grid {
    padding: 0 20px 20px;
  }
  .lineup-preview {
    grid-template-columns: 1fr;
  }
  .auth-story h1 {
    font-size: 35px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-form-area {
    padding: 40px 30px;
  }
  .auth-form-wrap h2 {
    font-size: 28px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 244px;
    padding: 28px 18px;
  }
  .sidebar.opened {
    visibility: visible;
    transform: translateX(0);
  }
  .workspace-main {
    margin-left: 0;
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .brand {
    font-size: 24px;
  }
  .brand-symbol {
    width: 40px;
    height: 44px;
  }
  .brand-caption {
    font-size: 8px;
  }
  .nav-item {
    font-size: 12px;
    padding: 11px 14px;
  }
  .topbar {
    height: 70px;
    padding: 0 18px;
  }
  .topbar-left {
    gap: 10px;
    min-width: 0;
  }
  .breadcrumb {
    font-size: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .breadcrumb span {
    display: none;
  }
  .breadcrumb strong {
    font-size: 11px;
  }
  .content {
    padding: 26px 18px;
  }
  .page-heading {
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading > .actions {
    max-width: 100%;
    justify-content: flex-start;
  }
  .page-heading .btn {
    font-size: 11px;
  }
  .next-training {
    padding: 25px 23px;
    min-height: 250px;
  }
  .hero-copy h2 {
    font-size: 25px;
    max-width: 90%;
  }
  .hero-meta {
    flex-direction: column;
    gap: 8px;
    margin-top: 17px;
  }
  .hero-bottom {
    margin-top: 24px;
  }
  .hero-art {
    right: -80px;
    opacity: 0.4;
  }
  .quick-panel {
    gap: 8px;
    padding: 14px;
  }
  .quick-panel .quick {
    font-size: 9px;
    gap: 5px;
  }
  .quick-panel .quick .icon {
    width: 14px;
    height: 14px;
  }
  .metrics {
    margin: 18px 0;
    gap: 10px;
  }
  .metrics.three {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 17px;
  }
  .metric > strong {
    font-size: 27px;
  }
  .metric-label {
    font-size: 10px;
  }
  .metric > small {
    font-size: 9px;
  }
  .training-row {
    padding: 18px 16px;
    gap: 10px;
  }
  .training-info strong {
    font-size: 11px;
  }
  .training-info small {
    font-size: 9px;
  }
  .training-count {
    display: none;
  }
  .training-time {
    font-size: 10px;
  }
  .training-row > .icon {
    display: none;
  }
  .date-tile {
    width: 38px;
    height: 45px;
  }
  .date-tile strong {
    font-size: 17px;
  }
  .panel-head {
    padding: 20px 18px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-head .text-link {
    font-size: 9px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    padding: 24px;
  }
  .settings-grid {
    gap: 10px;
  }
  .panel-toolbar {
    align-items: flex-start;
    gap: 13px;
  }
  .panel-toolbar > .actions {
    width: 100%;
  }
  .month-control {
    width: 100%;
    justify-content: space-between;
  }
  .panel-toolbar .field {
    flex: 1;
    min-width: 130px;
  }
  .panel-toolbar .actions {
    align-items: flex-end;
  }
  .panel-note {
    font-size: 9px;
  }
  .padded-form {
    padding: 20px;
  }
  .form-grid {
    gap: 12px;
  }
  .field {
    margin-bottom: 18px;
  }
  .field > span {
    font-size: 10px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .panel-toolbar .field input,
  .panel-toolbar .field select {
    font-size: 13px;
  }
  .lineup-preview {
    padding: 0 18px 18px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    padding: 0 18px 18px;
  }
  .plan-card {
    padding: 20px;
  }
  .workspace-footer {
    padding: 20px 18px;
    font-size: 8px;
  }
  .workspace-footer > span:last-child {
    display: none;
  }
  .notification {
    padding: 19px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .notification-icon {
    padding: 8px;
  }
  .notification > div {
    min-width: 65%;
  }
  .notification > .btn {
    margin-left: 46px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .auth-story {
    padding: 25px 26px 30px;
  }
  .auth-story-content {
    margin: 0;
    padding: 30px 0 0;
  }
  .auth-story-content > .eyebrow {
    display: none;
  }
  .auth-story h1 {
    font-size: 31px;
    letter-spacing: -1px;
    margin: 0 0 10px;
  }
  .auth-story-content > p {
    font-size: 11px;
    line-height: 1.6;
  }
  .auth-story footer {
    display: none;
  }
  .auth-rink {
    width: 250px;
    height: 400px;
    top: -60px;
    left: auto;
    right: -100px;
    border-radius: 100px;
    opacity: 0.5;
  }
  .auth-story .brand {
    font-size: 20px;
  }
  .auth-story .brand-symbol {
    width: 31px;
    height: 35px;
    font-size: 24px;
  }
  .auth-story .brand-caption {
    font-size: 6px;
  }
  .auth-form-area {
    padding: 35px 25px 28px;
    align-items: flex-start;
  }
  .auth-form-wrap {
    max-width: 460px;
  }
  .auth-form-wrap > .eyebrow {
    display: none;
  }
  .auth-form-wrap h2 {
    font-size: 27px;
    margin-top: 0;
  }
  .auth-form-wrap > .muted {
    margin-bottom: 23px;
    font-size: 11px;
  }
  .auth-note {
    margin-top: 26px;
    padding-top: 20px;
    font-size: 9px;
  }
  .auth-form-wrap .field input {
    font-size: 16px;
  }
  .auth-form-wrap .field {
    margin-bottom: 18px;
  }
  .password-toggle {
    bottom: 14px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-head h2 {
    font-size: 16px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-foot {
    padding: 17px 20px;
  }
  .modal-foot .btn {
    font-size: 11px;
  }
  .panel-foot {
    padding: 18px;
    justify-content: flex-start;
  }
  .panel-foot p {
    width: 100%;
    font-size: 10px;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 15px 17px;
  }
  .details {
    font-size: 11px;
  }
  dialog {
    max-height: 93dvh;
  }
  .back-link {
    margin-bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared section navigation and grouped content across the workspace. */
.unified-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px;
  background: #edf0f2;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.unified-section-nav > a,
.unified-section-nav > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #596b76;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.unified-section-nav > :hover { color: var(--ink); background: #ffffff80; }
.unified-section-nav > [aria-current="page"],
.unified-section-nav > [aria-pressed="true"] {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 2px 5px #14232e06;
}
.unified-nav-count { font-size: 11px; color: var(--muted); }
.unified-card-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.unified-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; min-width: 0; }
.unified-card h3 { margin-bottom: 10px; }
.unified-card p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.unified-card .actions { margin-top: 18px; }
.unified-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 12px; margin-top: 10px; }
.unified-section-body { padding: 0 24px 24px; }
.unified-details { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 12px 20px; font-size: 12px; }
.unified-details dt { color: var(--muted); }
.unified-details dd { margin: 0; overflow-wrap: anywhere; }
.unified-summary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 20px 24px; background: #fafbf9; border-bottom: 1px solid var(--line); }
.unified-form-section { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.unified-form-section:last-child { margin-bottom: 0; }
.unified-form-section + .unified-form-section { padding-top: 24px; border-top: 1px solid var(--line); }
.unified-form-section legend { float: left; width: 100%; margin-bottom: 16px; font-size: 16px; font-weight: 650; }
.unified-form-section legend + * { clear: both; }
.unified-form-section .form-hint { margin-top: 0; }
.unified-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.unified-check-grid .check { margin: 10px 0; }
.unified-profile { max-width: 1000px; }
.unified-profile .profile-header h2 { overflow-wrap: anywhere; }
.unified-profile-save { border-top: 1px solid var(--line); }
.unified-empty-form { display: none; }
.sidebar nav .nav-label { margin: 20px 14px 8px; }
.sidebar nav .nav-label:first-child { margin-top: 8px; }
.notification > div { min-width: 0; overflow-wrap: anywhere; }
.notification > .btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .unified-section-nav { gap: 4px; margin-bottom: 20px; }
  .unified-section-nav > a, .unified-section-nav > button { flex: 1 1 auto; min-height: 44px; padding: 10px 12px; }
  .unified-card-list, .unified-check-grid { grid-template-columns: 1fr; }
  .unified-card { padding: 18px; }
  .unified-section-body { padding: 0 18px 20px; }
  .unified-summary { padding: 18px; }
  .unified-profile .form-grid { grid-template-columns: 1fr; }
  .unified-profile .profile-header { align-items: flex-start; }
  .unified-profile .profile-header > div { min-width: 0; }
}
.standalone-shell { max-width: 1000px; margin: 0 auto; padding: 36px 24px; }
.standalone-shell.compact { max-width: 660px; }
.standalone-brand { color: var(--ink); font-size: 24px; font-style: italic; font-weight: 850; letter-spacing: 1.2px; margin-bottom: 32px; }
.standalone-error { color: var(--red); margin-bottom: 16px; }
.standalone-success { color: var(--green); margin-bottom: 16px; }
.standalone-error:empty, .standalone-success:empty { display: none; }
.unified-offline-training { padding: 20px 0; border-top: 1px solid var(--line); }
.unified-offline-training p, .unified-offline-training ul { margin-top: 8px; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .standalone-shell { padding: 24px 18px; } }
