/* Branding, visibility helpers, and authentication layout. */
.auth-brand img,
.brand-mark img,
.setup-wizard-brand img {
  display: block;
  width: auto;
  height: 42px;
}
.brand-mark img {
  height: 42px;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
}
.auth-brand img {
  height: 48px;
  max-width: 208px;
}
.setup-wizard-brand img {
  height: 40px;
  max-width: 190px;
  background: #172b42;
  border-radius: 8px;
  padding: 4px 8px;
}
.team-navigation[hidden],
.owner-navigation[hidden],
.settings-navigation[hidden] {
  display: none !important;
}
.team-navigation .nav-item[hidden] {
  display: none !important;
}
.invite-panel [hidden] {
  display: none !important;
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 32px 20px;
  background:
    linear-gradient(rgba(14, 54, 31, 0.7), rgba(14, 54, 31, 0.7)),
    url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=2400&q=85")
      center/cover fixed;
  color: #fff;
}
.auth-screen[hidden] {
  display: none;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 21px "Barlow Condensed";
  letter-spacing: 1.2px;
}
.auth-brand > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--coral);
  font-size: 15px;
  letter-spacing: 0;
}
.auth-brand small {
  display: block;
  font: 500 8px "DM Sans";
  letter-spacing: 1.4px;
  color: #c1d0c3;
}
.auth-card {
  width: min(100%, 430px);
  padding: 35px;
  background: rgba(255, 253, 248, 0.98);
  color: var(--ink);
  border-radius: 9px;
  box-shadow: 0 20px 60px rgba(5, 35, 19, 0.28);
}
.auth-intro {
  text-align: center;
}
.auth-intro .eyebrow {
  color: var(--green);
}
.auth-intro h1 {
  margin-top: 9px;
  font-size: 41px;
}
.auth-intro p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  margin: 28px 0 22px;
}
.auth-tab {
  padding: 0 0 12px;
  color: #89968d;
  font-size: 11px;
  font-weight: 700;
}
.auth-tab.active {
  color: var(--ink);
  border-bottom: 2px solid var(--coral);
}
.auth-form {
  display: grid;
  gap: 15px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  color: #64766a;
  font-size: 10px;
  font-weight: 700;
}
.auth-form label[hidden] {
  display: none !important;
}
.auth-form input {
  height: 42px;
  border: 1px solid #dce5dc;
  border-radius: 5px;
  padding: 0 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}
.auth-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.auth-submit {
  width: 100%;
  margin-top: 5px;
}
.auth-submit span {
  float: right;
  margin-right: 0;
}
.auth-feedback {
  min-height: 15px;
  text-align: center;
  color: var(--coral);
  font-size: 10px;
}
.auth-legal,
.auth-footer {
  color: #a2b2a5;
  font-size: 9px;
  text-align: center;
}
.auth-legal {
  margin-top: 22px;
}
.auth-footer {
  margin: 0;
}
.decline-invitation-link {
  display: block;
  width: 100%;
  margin-top: 4px;
  text-align: center;
  color: #89968d;
  font-size: 10px;
  text-decoration: underline;
  background: none;
  border: 0;
}
.decline-invitation-link:hover {
  color: var(--coral);
}
/* Signed-in application shell, navigation, and shared controls. */
/* Signed-in application shell, navigation, and shared controls. */
.app-shell.auth-locked {
  display: none;
}
.auth-mode .player-drawer,
.auth-mode .toast {
  display: none;
}
.profile-row .more-button {
  cursor: pointer;
}
.content-grid,
.lower-grid {
  min-width: 0;
}
.panel {
  min-width: 0;
}
.player-drawer {
  right: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.player-drawer.open {
  right: 0;
  transform: translateX(0);
}
:root {
  --ink: #152236;
  --muted: #718094;
  --line: #e4e9ed;
  --paper: #f7f9f8;
  --white: #fff;
  --navy: #223b58;
  --coral: #e87964;
  --green: #7bb79c;
  --yellow: #edc96d;
  --shadow: 0 14px 40px rgba(26, 44, 63, 0.07);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 246px;
  background: #172b42;
  color: #dce5ed;
  display: flex;
  flex-direction: column;
  padding: 26px 16px 18px;
  flex-shrink: 0;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 32px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1.2px;
}
.brand-mark span {
  display: grid;
  place-items: center;
  background: var(--coral);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 0;
}
.brand-mark small {
  display: block;
  font:
    500 8px "DM Sans",
    sans-serif;
  letter-spacing: 1.5px;
  color: #9eafc0;
  margin-top: 1px;
}
.sidebar-club-identity {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 27px;
  padding: 0 12px 4px;
  text-align: center;
}
.club-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0e4ca;
  color: #a1634c;
  display: grid;
  place-items: center;
  font: 700 11px "Barlow Condensed";
}
.sidebar-club-identity strong,
.profile-row strong {
  display: block;
  font-size: 20px;
  color: #fff;
}
.sidebar-club-identity .club-badge {
  width: 100px;
  height: 100px;
  font-size: 30px;
  margin-bottom: 20px;
}
.profile-row span {
  display: block;
  font-size: 10px;
  color: #9eafc0;
  margin-top: 2px;
}
.more-button {
  color: #91a3b5;
  margin-left: auto;
  font-size: 16px;
  letter-spacing: 2px;
}
.primary-nav,
.secondary-nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  height: 39px;
  text-align: left;
  padding: 0 12px;
  color: #aebdcc;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  transition: 0.2s;
}
.nav-item:hover,
.nav-item.active {
  background: #29445f;
  color: #fff;
}
.nav-icon {
  color: #8ca1b5;
  width: 14px;
  font-weight: 700;
  text-align: center;
}
.nav-item.active .nav-icon {
  color: var(--coral);
}
.nav-count {
  margin-left: auto;
  background: var(--coral);
  color: #fff;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  padding: 3px 5px;
  font-size: 10px;
}
.sidebar-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6f8499;
  padding: 28px 12px 10px;
}
.sidebar-bottom {
  margin-top: auto;
}
.season-card {
  border-top: 1px solid #2c455d;
  border-bottom: 1px solid #2c455d;
  padding: 18px 12px;
  margin-bottom: 17px;
}
.eyebrow,
.kicker {
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a9bad;
  font-weight: 700;
}
.season-card strong {
  display: block;
  color: #fff;
  font: 600 20px "Barlow Condensed";
  margin: 5px 0;
}
.season-card > span:last-child {
  font-size: 10px;
  color: #8da0b1;
}
.profile-row {
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 9px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.avatar-coral {
  background: #d88870;
}
.avatar-blue {
  background: #718daa;
}
.avatar-yellow {
  background: #d9ad57;
}
.avatar-green {
  background: #75a78c;
}
.main-content {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.breadcrumbs {
  font-size: 12px;
  color: #95a0ac;
}
.breadcrumbs b {
  font-weight: 400;
  margin: 0 9px;
  color: #c1c9cf;
}
.breadcrumbs strong {
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-button {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #8996a2;
  font-weight: 700;
  position: relative;
}
.notification-dot {
  position: absolute;
  right: 2px;
  top: 1px;
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
}
.help-button {
  font-size: 11px;
  color: #697889;
  margin-left: 12px;
}
/* Workspace views, cards, tables, and feature panels. */
.view {
  display: none;
  padding: 38px 48px 70px;
  max-width: 1440px;
  margin: auto;
}
.active-view {
  display: block;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 31px;
}
.kicker {
  margin: 0 0 7px;
  color: var(--coral);
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font:
    600 42px/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.2px;
  color: var(--ink);
}
h1 span {
  color: var(--coral);
}
.heading-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.primary-button {
  background: var(--coral);
  color: #fff;
  border-radius: 6px;
  padding: 12px 17px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 7px 17px rgba(232, 121, 100, 0.22);
}
.primary-button span {
  font-size: 17px;
  line-height: 0;
  vertical-align: -2px;
  margin-right: 7px;
}
.team-bar {
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid #e9eeed;
  border-radius: 6px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.team-title,
.team-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}
.team-title strong {
  font-size: 13px;
}
.team-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.navy {
  background: var(--navy);
}
.pill {
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
}
.pill.green {
  color: #4a8c6a;
  background: #e6f3eb;
}
.pill.blue {
  color: #587da1;
  background: #e9f0f7;
}
.chevron {
  color: #9daab5;
  font-size: 12px;
  margin-left: 4px;
}
.team-meta {
  color: #8d9aa7;
  font-size: 11px;
}
.divider {
  height: 14px;
  width: 1px;
  background: var(--line);
}
.outline-button {
  border: 1px solid var(--coral);
  border-radius: 5px;
  padding: 9px 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background: var(--coral);
  box-shadow: 0 5px 13px rgba(232, 121, 100, 0.16);
}
.outline-button:hover {
  background: #d86652;
  border-color: #d86652;
}
.outline-button.danger-button {
  color: #fff !important;
  background: var(--coral);
  border-color: var(--coral);
}
.team-meta .outline-button {
  margin-left: 10px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.stat-card,
.panel {
  background: #fff;
  border: 1px solid #e6ebeb;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 18px 19px 14px;
  min-height: 164px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  color: #8794a0;
  font-size: 10px;
}
.card-symbol {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.card-symbol.coral {
  background: #fae9e5;
  color: var(--coral);
}
.card-symbol.green {
  background: #e5f2eb;
  color: #62a181;
}
.card-symbol.navy {
  background: #e5ebf1;
  color: #5a7892;
}
.stat-main {
  display: block;
  font: 600 31px "Barlow Condensed";
  margin: 11px 0 2px;
  letter-spacing: 0.2px;
}
.stat-main small {
  font: 500 16px "DM Sans";
  color: #82909d;
}
.stat-detail {
  font-size: 11px;
  color: #738294;
}
.stat-detail b {
  color: #b1bcc5;
  margin: 0 3px;
}
.stat-footer {
  border-top: 1px solid #eef1f1;
  margin-top: 16px;
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
  color: #8e9ba6;
  font-size: 10px;
}
.status-line {
  color: #718291;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 3px;
}
.progress-track {
  height: 5px;
  border-radius: 10px;
  background: #edf1ee;
  margin-top: 15px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 10px;
}
.form-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}
.form-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.form-dots .win {
  background: var(--green);
}
.form-dots .loss {
  background: #e8a08d;
}
.form-dots span {
  font-size: 10px;
  color: #98a3ad;
  margin-left: 4px;
}
.content-grid,
.lower-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
  margin-bottom: 18px;
}
.lower-grid {
  grid-template-columns: 1fr 1fr;
}
.panel {
  padding: 20px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-heading h2 {
  font: 600 23px "Barlow Condensed";
  margin-top: 4px;
}
.text-button {
  font-size: 10px;
  color: #607488;
  font-weight: 700;
}
.text-button span {
  color: var(--coral);
  margin-left: 5px;
  font-size: 14px;
}
.fixture-date {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.date-block {
  background: #eef3f3;
  border-radius: 4px;
  width: 42px;
  height: 43px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--navy);
}
.date-block b {
  font: 700 21px "Barlow Condensed";
  line-height: 18px;
}
.date-block small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.fixture-date strong {
  display: block;
  font-size: 12px;
}
.fixture-date div span,
.fixture-list-item small {
  display: block;
  color: #8896a3;
  font-size: 10px;
  margin-top: 3px;
}
.home-away {
  margin-left: auto;
  border: 1px solid #dfeae3;
  border-radius: 3px;
  color: #75a488;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 6px;
}
.fixture-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 19px 0;
}
.fixture-teams strong {
  font: 600 15px "Barlow Condensed";
  line-height: 14px;
}
.fixture-teams strong span {
  font: 500 10px "DM Sans";
  color: #82909d;
}
.versus {
  font-size: 9px;
  color: #b6c0c8;
  margin: 0 5px;
}
.crest {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 11px "Barlow Condensed";
}
.crest-northwood {
  background: #dfe8ee;
  color: #315271;
}
.crest-redbridge {
  background: #fae3df;
  color: #b96858;
}
.panel-footer {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}
.count-badge {
  background: #fae9e5;
  color: #d76e5b;
  border-radius: 15px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
}
.attention-list {
  margin-top: 15px;
}
.attention-item {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.attention-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.attention-icon.coral {
  background: #fae9e5;
  color: var(--coral);
}
.attention-icon.yellow {
  background: #f9f1d9;
  color: #c59d3e;
}
.attention-icon.blue {
  background: #e8eff5;
  color: #7192ad;
}
.attention-item strong {
  display: block;
  font-size: 11px;
}
.attention-item small {
  display: block;
  color: #929eaa;
  font-size: 9px;
  margin-top: 3px;
}
.list-arrow {
  margin-left: auto;
  color: #bdc7cf;
  font-size: 15px;
}
.squad-summary {
  display: flex;
  align-items: center;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0 15px;
}
.donut {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) 0 78%,
    var(--yellow) 78% 92%,
    #e2e6e7 92%
  );
  display: grid;
  place-items: center;
  position: relative;
}
.donut:after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 50%;
}
.donut span {
  z-index: 1;
  text-align: center;
  font: 600 25px "Barlow Condensed";
}
.donut small {
  display: block;
  font: 500 8px "DM Sans";
  color: #8a98a3;
}
.squad-legend {
  display: grid;
  gap: 8px;
  font-size: 10px;
  color: #83909c;
}
.squad-legend span {
  display: flex;
  align-items: center;
  min-width: 145px;
}
.squad-legend b {
  margin-left: auto;
  color: var(--ink);
}
.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
}
.legend-dot.green {
  background: var(--green);
}
.legend-dot.yellow {
  background: var(--yellow);
}
.legend-dot.grey {
  background: #cfd7d9;
}
.mini-players {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding-top: 15px;
}
.mini-player {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.mini-player strong {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-player small {
  display: block;
  color: #95a0aa;
  font-size: 8px;
  margin-top: 2px;
}
.availability {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 3px;
}
.availability.available {
  background: var(--green);
}
.availability.pending {
  background: var(--yellow);
}
.message-row {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.message-avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0d9d0;
  color: #b06858;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.message-avatar.alt {
  background: #e0e8ef;
  color: #58728d;
}
.green-avatar {
  background: #dfeee6;
  color: #5e9275;
}
.message-row strong {
  display: block;
  font-size: 10px;
}
.message-row span {
  display: block;
  color: #7a8896;
  font-size: 10px;
  margin-top: 3px;
}
.message-row small {
  display: block;
  color: #aab3bc;
  font-size: 8px;
  margin-top: 4px;
}
.message-unread {
  width: 6px !important;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  margin-left: auto;
}
.tab-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  gap: 19px;
}
.tab {
  padding: 0 0 12px;
  color: #84919e;
  font-size: 11px;
}
.tab.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--coral);
}
.tab b {
  font-size: 9px;
  background: #eef1f2;
  border-radius: 10px;
  padding: 3px 5px;
  margin-left: 3px;
}
.tab-spacer {
  flex: 1;
}
.table-panel {
  padding: 0;
}
.table-toolbar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 30px;
  padding: 0 9px;
  color: #a5b0b9;
  flex: 1;
  max-width: 260px;
  font-size: 11px;
}
.search-field input {
  border: 0;
  outline: 0;
  margin-left: 8px;
  width: 100%;
  font-size: 11px;
}
.filter-button {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 11px;
  color: #708092;
  font-size: 10px;
}
.filter-button span {
  margin-left: 12px;
}
.table-row {
  display: grid;
  grid-template-columns: 2fr 1.25fr 0.5fr 1.4fr 1fr 0.3fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eef1f2;
  color: #738293;
  font-size: 10px;
}
.table-head {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a0aab2;
  padding-top: 12px;
  padding-bottom: 10px;
}
.player-name {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.player-row:hover {
  background: #fbfcfc;
}
.rating {
  color: var(--ink);
  font-weight: 700;
}
.fixture-list {
  padding: 0;
}
.fixture-list-header {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}
.fixture-list-header span:last-child {
  color: #8795a0;
  font-weight: 400;
}
.fixture-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.fixture-list-item > div {
  flex: 1;
}
.fixture-list-item strong {
  font-size: 12px;
}
.fixture-list-item strong span {
  color: #a4aeb7;
  margin: 0 5px;
}
.muted-date {
  background: #f2f4f4;
  color: #8d9aa3;
}
.message-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
}
.inbox-panel {
  padding: 0;
}
.inbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.inbox-item {
  display: flex;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.inbox-item.active {
  background: #fdf3f0;
  border-left: 3px solid var(--coral);
  padding-left: 15px;
}
.inbox-item strong,
.inbox-item span,
.inbox-item small {
  display: block;
}
.inbox-item strong {
  font-size: 11px;
}
.inbox-item span {
  font-size: 10px;
  color: #718091;
  margin-top: 3px;
}
.inbox-item small {
  font-size: 9px;
  color: #a2adb5;
  margin-top: 5px;
}
.empty-thread {
  min-height: 310px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f6e9e5;
  color: var(--coral);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 13px;
}
.empty-thread h2 {
  font: 600 23px "Barlow Condensed";
}
.empty-thread p {
  font-size: 11px;
  color: #8b98a3;
  margin-top: 6px;
}
.tactics-board {
  background: #fff;
  padding: 20px;
}
.pitch-label {
  font: 600 12px "Barlow Condensed";
  display: flex;
  justify-content: space-between;
}
.pitch-label span {
  font: 500 10px "DM Sans";
  color: #8c99a4;
}
.pitch {
  height: 500px;
  margin-top: 15px;
  background: #8fbd9f;
  position: relative;
  overflow: hidden;
  border: 6px solid #e9f0e9;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 50%
  );
  background-size: 16% 100%;
}
.pitch:before,
.pitch:after {
  content: "";
  position: absolute;
  left: 25%;
  width: 50%;
  height: 16%;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.pitch:before {
  top: 0;
}
.pitch:after {
  bottom: 0;
}
.halfway {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}
.center-circle {
  position: absolute;
  width: 95px;
  height: 95px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}
.player-token {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #223b58;
  border: 3px solid #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 2px 5px #578667;
}
.player-token span {
  position: absolute;
  top: 30px;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  text-shadow: 0 1px 2px #487257;
}
.player-token.goalkeeper {
  background: var(--coral);
}
/* Player details drawer and transient toast notifications. */
.player-drawer {
  position: fixed;
  right: -360px;
  top: 0;
  bottom: 0;
  width: 360px;
  background: #fff;
  z-index: 5;
  box-shadow: -15px 0 40px rgba(19, 35, 52, 0.14);
  padding: 43px 31px;
  transition: right 0.3s ease;
}
.player-drawer.open {
  right: 0;
}
.drawer-close {
  position: absolute;
  right: 24px;
  top: 24px;
  color: #98a4ae;
  font-size: 16px;
}
.drawer-avatar {
  width: 65px;
  height: 65px;
  font-size: 18px;
  margin-bottom: 25px;
}
.player-drawer h2 {
  font: 600 34px "Barlow Condensed";
  margin-top: 8px;
}
.drawer-subtitle {
  color: #7c8997;
  font-size: 11px;
  margin-top: 5px;
}
.drawer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 25px 0;
}
.drawer-stats strong {
  display: block;
  font: 600 25px "Barlow Condensed";
}
.drawer-stats span {
  display: block;
  color: #8794a0;
  font-size: 9px;
  margin-top: 2px;
}
.drawer-section {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-section strong {
  font-size: 12px;
}
.drawer-section > span:not(.eyebrow),
.drawer-section p {
  color: #7d8996;
  font-size: 10px;
  line-height: 1.5;
}
.drawer-section p {
  margin-top: 5px;
}
.full-width {
  width: 100%;
  margin-top: 22px;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 27px;
  background: #203951;
  color: #fff;
  padding: 12px 14px;
  border-radius: 5px;
  font-size: 11px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast button {
  color: #9eb0bf;
  margin-left: 15px;
}
@media (max-width: 1050px) {
  .sidebar {
    width: 205px;
  }
  .view {
    padding-left: 30px;
    padding-right: 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .content-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .mini-players {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .sidebar {
    width: 62px;
    padding: 18px 9px;
  }
  .brand-mark {
    padding: 0 5px 28px;
  }
  .brand-mark div,
  .nav-item:not(.active)::after,
  .nav-item {
    font-size: 0;
  }
  .sidebar-label,
  .season-card,
  .profile-row > div:not(.avatar),
  .profile-row .more-button {
    display: none;
  }
  .profile-row {
    padding: 0;
    justify-content: center;
  }
  .nav-item {
    justify-content: center;
    padding: 0;
  }
  .nav-icon {
    font-size: 14px;
  }
  .nav-count {
    position: absolute;
    margin: 0 0 27px 24px;
    font-size: 8px;
    min-width: 15px;
    padding: 2px;
  }
  .main-content {
    width: calc(100% - 62px);
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
  }
  .help-button {
    display: none;
  }
  .view {
    padding: 27px 17px 50px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 37px;
  }
  .primary-button {
    align-self: stretch;
    text-align: center;
  }
  .team-bar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .team-meta {
    width: 100%;
    justify-content: space-between;
  }
  .team-meta .outline-button {
    margin-left: auto;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    min-height: 0;
  }
  .mini-players {
    grid-template-columns: 1fr;
  }
  .message-layout {
    grid-template-columns: 1fr;
  }
  .empty-thread {
    display: none;
  }
  .tab-row {
    overflow: auto;
    white-space: nowrap;
  }
  .table-panel {
    overflow-x: auto;
  }
  .table-toolbar {
    min-width: 650px;
  }
  .player-table {
    min-width: 650px;
  }
  .fixture-list {
    overflow: hidden;
  }
  .fixture-list-item {
    gap: 9px;
    padding: 14px 12px;
  }
  .fixture-list-item .pill,
  .fixture-list-item .text-button {
    display: none;
  }
  .fixture-list-item strong {
    font-size: 10px;
  }
  .player-drawer {
    width: min(360px, 100%);
  }
  .tactics-board {
    padding: 10px;
  }
  .pitch {
    height: 430px;
  }
}

/* A pitch-like field texture keeps the workspace connected to the game. */
:root {
  --ink: #173129;
  --muted: #667a6d;
  --line: #dce5dc;
  --paper: #dcebdc;
  --white: #fffdf8;
  --navy: #183d36;
  --coral: #e8755d;
  --green: #61a678;
  --yellow: #e6bf5d;
  --shadow: 0 14px 34px rgba(25, 68, 43, 0.12);
}
body {
  background-color: #dcebdc;
  background-image:
    linear-gradient(rgba(220, 235, 220, 0.72), rgba(220, 235, 220, 0.72)),
    url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=2400&q=85");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: "DM Sans", sans-serif;
}
.main-content {
  background: rgba(224, 239, 222, 0.38);
}
.topbar {
  background: rgba(255, 253, 248, 0.94);
  border-bottom-color: rgba(29, 83, 48, 0.16);
}
.topbar {
  background: #d3e7d5;
}
.main-content {
  padding-top: 72px;
}
.topbar {
  position: fixed;
  top: 0;
  left: 246px;
  right: 0;
  z-index: 4;
}
@media (max-width: 1050px) {
  .topbar {
    left: 205px;
  }
}
@media (max-width: 720px) {
  .main-content {
    padding-top: 58px;
  }
  .topbar {
    left: 62px;
    height: 58px;
  }
}
.sidebar {
  background: linear-gradient(165deg, #12392f, #1a4937 70%, #215541);
  box-shadow: 10px 0 28px rgba(15, 62, 35, 0.12);
}
.app-shell {
  height: 100vh;
  min-height: 0;
}
.sidebar {
  height: 100vh;
  overflow-y: auto;
}
.sidebar-bottom .brand-mark {
  padding: 18px 12px 0;
}
.club-popout {
  display: none;
  position: fixed;
  width: max-content;
  min-width: 214px;
  max-width: min(420px, calc(100vw - 24px));
  padding: 13px;
  border: 1px solid rgba(220, 235, 220, 0.2);
  border-radius: 8px;
  background: #203f36;
  box-shadow: 0 14px 35px rgba(4, 25, 15, 0.3);
  z-index: 60;
}
.club-popout.open {
  display: block;
}
.sidebar-bottom {
  position: relative;
}
.club-popout .profile-row {
  min-width: 0;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(220, 235, 220, 0.16);
}
.club-popout .profile-row > div:nth-child(2) {
  min-width: 0;
}
.club-popout .profile-row strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.club-popout-actions {
  display: grid;
  gap: 2px;
  margin-top: 8px;
}
.club-popout-actions button {
  padding: 9px 7px;
  border-radius: 4px;
  text-align: left;
  color: #dcebdc;
  font-size: 11px;
}
.club-popout-actions button:hover {
  background: rgba(75, 141, 91, 0.28);
  color: #fff;
}
.club-popout-clubs {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(220, 235, 220, 0.16);
}
.club-popout-clubs .club-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 7px;
  border-radius: 4px;
  text-align: left;
  color: #dcebdc;
  font-size: 11px;
}
.club-popout-clubs .club-option:hover {
  background: rgba(75, 141, 91, 0.28);
  color: #fff;
}
.club-popout-clubs .club-option.active {
  background: rgba(75, 141, 91, 0.4);
  color: #fff;
  font-weight: 700;
}
.club-popout-clubs .club-option small {
  color: #a7c2ab;
  font-weight: 400;
  text-transform: capitalize;
}
.club-popout-clubs .club-option-add {
  color: #8fd39f;
}
.topbar-season {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 15px;
  padding: 7px 13px;
  border: 1px solid rgba(29, 83, 48, 0.14);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.62);
}
.topbar-season-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 70px;
  align-items: center;
  text-align: center;
}
.topbar-season .eyebrow {
  color: #71917a;
  font-size: 8px;
}
.topbar-season strong {
  color: var(--ink);
  font: 600 16px "Barlow Condensed";
}
.squad-player-list {
  padding: 20px;
  margin-top: 16px;
}
.squad-player-items {
  display: grid;
  gap: 0;
  margin-top: 12px;
}
.squad-player-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.squad-player-item strong,
.squad-player-item small {
  display: block;
}
.squad-player-item strong {
  font-size: 12px;
}
.squad-player-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.squad-empty-copy {
  color: var(--muted);
  font-size: 12px;
}
.squad-player-copy {
  min-width: 130px;
}
.squad-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.squad-player-actions .text-button {
  font-size: 10px;
}
.danger-button {
  color: var(--coral) !important;
}
.player-action-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 35, 20, 0.7);
  backdrop-filter: blur(6px);
}
.player-action-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 25px 80px rgba(3, 24, 12, 0.35);
}
.player-action-card h2 {
  margin-top: 8px;
}
.player-action-card .drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.player-action-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}
.player-action-form .full-field {
  grid-column: 1/-1;
}
.player-action-form .form-actions {
  grid-column: 1/-1;
}
.squad-player-item {
  cursor: pointer;
}
.squad-player-item:hover {
  background: rgba(226, 240, 224, 0.35);
}
.squad-player-actions button {
  cursor: pointer;
}
.fixture-table-panel {
  max-width: 1100px;
  padding: 20px;
}
.fixture-table-wrap {
  overflow-x: auto;
}
.fixture-table {
  min-width: 720px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr 1.5fr 0.8fr;
  align-items: center;
  gap: 16px;
}
.fixture-table-head {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fixture-table-row {
  padding: 15px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.fixture-table-row strong {
  font-size: 12px;
}
.fixture-empty {
  padding: 42px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.mail-layout {
  display: grid;
  grid-template-columns: 180px minmax(300px, 1fr) minmax(240px, 0.8fr);
  gap: 16px;
  max-width: 1120px;
}
.mail-sidebar,
.mail-inbox,
.mail-thread {
  min-height: 440px;
  padding: 18px;
}
.mail-folder {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
}
.mail-folder.active {
  background: #e8f2e7;
  color: var(--ink);
  font-weight: 700;
}
.mail-folder b {
  font-size: 10px;
}
.mail-toolbar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mail-empty,
.mail-thread {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.mail-empty p,
.mail-thread p {
  max-width: 270px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.mail-empty .outline-button {
  margin-top: 18px;
}
.tactics-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin-bottom: 16px;
}
.tactics-option-card {
  padding: 20px;
}
.formation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.formation-options button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 700;
}
.tactics-option-card textarea {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
}
.tactics-option-card .outline-button {
  margin-top: 12px;
}
.tactics-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 300px;
  text-align: center;
}
.tactics-empty p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.coming-soon-card p {
  max-width: 420px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.invite-panel {
  max-width: 850px;
  padding: 22px;
}
.invite-panel + .invite-panel {
  margin-top: 18px;
}
.people-team-staff + .people-team-staff {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.people-staff-list {
  display: grid;
  gap: 8px;
}
.people-staff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #eef1f1;
}
.people-staff-row strong,
.people-staff-row small {
  display: block;
}
.people-staff-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.team-access-card {
  width: min(560px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 28px));
  overflow: auto;
}
.team-access-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.team-access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.team-access-row strong,
.team-access-row small {
  display: block;
}
.team-access-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.team-access-row select {
  min-width: 140px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.team-access-pending {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.team-access-pending-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f1;
}
.team-access-pending-row strong,
.team-access-pending-row small {
  display: block;
}
.team-access-pending-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.team-access-pending-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.team-access-pending-actions .primary-button,
.team-access-pending-actions .outline-button {
  padding: 7px 9px;
  font-size: 9px;
}
.team-access-invite {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.team-access-invite > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.team-access-invite-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.team-access-invite-form[hidden] {
  display: none;
}
.team-access-invite-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.team-access-invite-form input,
.team-access-invite-form select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.team-access-invite-form .primary-button {
  margin-top: 2px;
}
.team-access-invite-form .auth-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.invite-link-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #cfe3ce;
  border-radius: 6px;
  background: #f1f8ef;
  color: var(--ink);
}
.invite-link-result p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 12px;
}
.invite-link-result input {
  width: 100%;
  height: 38px;
  margin: 8px 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
}
.approvals-panel {
  max-width: 1120px;
  margin-top: 18px;
  padding: 20px;
}
.approval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.approval-row strong,
.approval-row small,
.approval-row span {
  display: block;
}
.approval-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}
.approval-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.approval-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.club-badge img,
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.club-badge img {
  display: block;
}
.file-field {
  grid-column: 1/-1;
}
.file-field input {
  height: auto;
  padding: 10px;
}
.player-sensitive-fields {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.player-sensitive-fields legend {
  padding: 0 6px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.player-sensitive-fields textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}
.checkbox-field {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.checkbox-field input {
  width: auto !important;
  height: auto !important;
}
.squad-page-heading {
  align-items: flex-end;
}
.squad-back-button {
  display: block;
  margin-bottom: 12px;
}
.squad-heading-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.squad-team-switcher {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.squad-team-switcher select {
  min-width: 180px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  font: 600 12px "Barlow";
}
.squad-team-switcher select:focus {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
@media (max-width: 760px) {
  .topbar-season > span:last-child {
    display: none;
  }
  .topbar-season {
    margin-right: 8px;
    padding: 6px 9px;
  }
  .topbar-season strong {
    font-size: 14px;
  }
}
.nav-item:hover,
.nav-item.active {
  background: rgba(75, 141, 91, 0.28);
}
.view {
  background: transparent;
}
.main-content {
  background: rgba(224, 239, 222, 0.22);
}
.help-request-modal,
.manager-request-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  place-items: center;
  padding: 20px;
  background: rgba(7, 35, 20, 0.62);
  backdrop-filter: blur(5px);
}
.help-request-modal.open,
.manager-request-modal.open {
  display: grid;
}
.help-request-card,
.manager-request-card {
  position: relative;
  width: min(440px, 100%);
  padding: 30px;
  border-radius: 9px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(3, 24, 12, 0.3);
}
.help-request-card h2,
.manager-request-card h2 {
  margin-top: 8px;
  font-size: 27px;
}
.help-request-card > p,
.manager-request-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.help-request-card form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}
.help-request-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.help-request-card textarea {
  resize: vertical;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}
.help-request-card textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.manager-request-card .primary-button {
  width: 100%;
  margin-top: 20px;
}
.manager-waiting-summary {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: rgba(97, 166, 120, 0.09);
}
.manager-waiting-summary strong {
  font-family: var(--serif);
  font-size: 21px;
}
.manager-waiting-summary span {
  color: var(--muted);
  font-size: 12px;
}
.manager-waiting-content {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.manager-waiting-content article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.manager-waiting-content .card-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.manager-waiting-content strong {
  font-size: 13px;
}
.manager-waiting-content p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.manager-waiting-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.setup-wizard-step [id="managerWaitingDone"] {
  margin-top: 8px;
}
.team-bar,
.stat-card,
.panel {
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(36, 96, 52, 0.12);
}
.team-bar {
  box-shadow: 0 9px 25px rgba(28, 83, 43, 0.1);
}
.stat-main,
h1,
h2,
.fixture-teams strong,
.player-name {
  color: var(--ink);
}
.fixture-date,
.panel-footer,
.message-row,
.squad-summary,
.table-row,
.fixture-list-item,
.inbox-item {
  border-color: #e3ebe1;
}
.date-block {
  background: #e4f0e1;
  color: #276344;
}
.pitch {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(27, 86, 45, 0.18);
}
.player-drawer {
  background: #fffdf8;
}

/* Public landing page */
.auth-screen {
  display: block;
  min-height: 100vh;
  padding: 0;
  background:
    linear-gradient(120deg, rgba(14, 54, 31, 0.82), rgba(14, 54, 31, 0.55)),
    url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=2400&q=85")
      center/cover fixed;
  color: #fff;
}
/* Public landing page and interactive demo presentation. */
.landing-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 34px 72px;
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-nav-link {
  color: #d7e4d8;
  font-size: 11px;
  text-decoration: none;
}
.landing-nav-link strong {
  color: #fff;
  margin-left: 4px;
}
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 8vw;
  padding: 92px 0 82px;
}
.landing-copy {
  max-width: 590px;
}
.landing-copy .eyebrow {
  color: #d8ebd6;
}
.landing-copy h1 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.91;
  max-width: 620px;
}
.landing-copy h1 span {
  color: var(--coral);
}
.landing-copy > p {
  max-width: 510px;
  margin-top: 24px;
  color: #d7e4d8;
  font-size: 16px;
  line-height: 1.7;
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 31px;
}
.landing-cta {
  display: inline-flex;
  text-decoration: none;
}
.landing-note {
  color: #bed0c1;
  font-size: 10px;
}
.landing-preview {
  min-height: 300px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.14);
  box-shadow: 0 25px 70px rgba(4, 34, 18, 0.24);
  transform: rotate(2deg);
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px 18px;
  color: #fff;
  font-size: 11px;
}
.preview-top > span:last-child {
  margin-left: auto;
  color: #bdd0c0;
  font-size: 9px;
}
.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}
.preview-body {
  min-height: 240px;
  padding: 27px 24px;
  background: #fffdf8;
  color: var(--ink);
  border-radius: 7px;
}
.preview-body .eyebrow {
  color: var(--green);
}
.preview-body h2 {
  margin-top: 10px;
  font-size: 28px;
}
.preview-lines {
  display: grid;
  gap: 17px;
  margin-top: 28px;
  color: #52655a;
  font-size: 11px;
}
.preview-lines span {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2eae1;
}
.preview-lines i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}
.preview-lines span:nth-child(2) i {
  background: var(--green);
}
.preview-lines span:nth-child(3) i {
  background: var(--yellow);
}
.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 27px;
}
.landing-features article {
  max-width: 260px;
}
.feature-number {
  color: var(--coral);
  font: 700 11px "Barlow Condensed";
  letter-spacing: 1px;
}
.landing-features h2 {
  margin-top: 10px;
  color: #fff;
  font-size: 19px;
}
.landing-features p {
  margin-top: 8px;
  color: #c6d8c9;
  font-size: 11px;
  line-height: 1.6;
}
.auth-card {
  margin: 0 auto 20px;
  scroll-margin-top: 20px;
}
.auth-footer {
  padding-bottom: 24px;
}
@media (max-width: 760px) {
  .landing-shell {
    padding: 22px 20px 48px;
  }
  .landing-nav-link {
    font-size: 0;
  }
  .landing-nav-link strong {
    font-size: 11px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 66px 0 58px;
  }
  .landing-copy h1 {
    font-size: 58px;
  }
  .landing-copy > p {
    font-size: 14px;
  }
  .landing-preview {
    max-width: 430px;
    width: 94%;
    justify-self: center;
  }
  .landing-features {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .landing-features article {
    max-width: none;
  }
  .auth-card {
    width: calc(100% - 40px);
    padding: 28px 23px;
  }
}
.workspace-empty {
  min-height: 560px;
  display: grid;
  place-items: start center;
  align-content: center;
  text-align: center;
  padding: 42px 20px;
}
.workspace-empty .empty-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(97, 166, 120, 0.18);
  color: var(--green);
  font: 700 25px "Barlow Condensed";
}
.workspace-empty .eyebrow {
  margin-top: 23px;
  color: var(--green);
}
.workspace-empty h1 {
  margin-top: 9px;
}
.workspace-empty p {
  max-width: 390px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.workspace-empty .primary-button {
  margin-top: 23px;
}
.setup-panel {
  max-width: 720px;
  margin-top: 24px;
  padding: 25px;
}
.setup-panel p {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.setup-panel .outline-button {
  margin-top: 18px;
}
.team-management {
  max-width: 860px;
}
.team-form-panel {
  padding: 25px;
  margin-bottom: 20px;
}
.team-form {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  gap: 14px;
}
.team-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.team-form input,
.team-form select,
.setup-form select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  outline: 0;
}
.team-form input:focus,
.team-form select:focus,
.setup-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.form-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}
.team-management-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.team-management-card .club-badge {
  flex-shrink: 0;
  border-radius: 8px;
  background: #e2f0e0;
  color: #317351;
}
.team-management-card h2 {
  margin-top: 3px;
  font-size: 21px;
}
.team-management-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.team-management-card .outline-button {
  margin-left: auto;
  white-space: nowrap;
}
.workspace-dashboard .page-heading {
  margin-bottom: 27px;
}
.setup-checklist {
  max-width: 860px;
  margin-top: 24px;
  padding: 25px;
}
.setup-checklist-intro {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.setup-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.setup-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.setup-steps li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #edf3ed;
  color: var(--green);
  font: 700 12px "Barlow Condensed";
  flex-shrink: 0;
}
.setup-steps li.complete > span {
  background: var(--green);
  color: #fff;
}
.setup-steps li div {
  display: grid;
  gap: 3px;
}
.setup-steps li strong {
  color: var(--ink);
  font-size: 12px;
}
.setup-steps li small {
  color: var(--muted);
  font-size: 11px;
}
.setup-steps li button {
  margin-left: auto;
  white-space: nowrap;
}
.team-form-panel {
  padding: 25px;
  margin-bottom: 20px;
}
.team-form {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  gap: 14px;
}
.team-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.team-form input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  outline: 0;
}
.team-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.form-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}
.team-management-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.team-management-card .club-badge {
  flex-shrink: 0;
  border-radius: 8px;
  background: #e2f0e0;
  color: #317351;
}
.team-management-card h2 {
  margin-top: 3px;
  font-size: 21px;
}
.team-management-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.team-management-card .outline-button {
  margin-left: auto;
  white-space: nowrap;
}
.workspace-dashboard .page-heading {
  margin-bottom: 27px;
}
/* Owner and manager onboarding wizard. */
.setup-wizard {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  place-items: center;
  padding: 24px;
  background: rgba(7, 35, 20, 0.78);
  backdrop-filter: blur(8px);
}
.setup-wizard.open {
  display: grid;
}
.setup-wizard-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  padding: 38px 42px;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 25px 80px rgba(3, 24, 12, 0.35);
}
.setup-signout {
  position: absolute;
  top: 17px;
  right: 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font:
    600 11px/1 "DM Sans",
    sans-serif;
  cursor: pointer;
}
.setup-signout:hover {
  color: var(--coral);
}
.setup-wizard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 1px;
}
.setup-wizard-brand span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.setup-wizard-progress {
  display: flex;
  gap: 6px;
  margin: 28px 0 34px;
}
.setup-wizard-progress span {
  height: 4px;
  flex: 1;
  border-radius: 3px;
  background: #e2ebe1;
}
.setup-wizard-progress span.active {
  background: var(--green);
}
.setup-wizard-step h1 {
  margin-top: 10px;
  font-size: 36px;
}
.setup-wizard-step h1 span {
  color: var(--coral);
}
.setup-wizard-step > p {
  max-width: 430px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.setup-wizard-step .primary-button {
  margin-top: 28px;
}
.setup-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
  min-width: 0;
}
.setup-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.setup-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}
.setup-form select {
  max-width: 100%;
  min-width: 0;
}
.setup-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.setup-form .primary-button {
  margin-top: 4px;
}
.setup-form .auth-feedback {
  margin: 0;
  color: var(--coral);
  font-size: 12px;
}
.setup-active .app-shell {
  filter: blur(2px);
  pointer-events: none;
}
.setup-choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.setup-choice {
  display: grid;
  gap: 5px;
  text-align: left;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.setup-choice:hover {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.setup-choice strong {
  font-size: 13px;
}
.setup-choice small {
  color: var(--muted);
  font-size: 11px;
}
.setup-back {
  display: block;
  margin-top: 14px;
}
.team-list-form {
  gap: 12px;
}
.setup-wizard-step[data-setup-step="team"] {
  min-width: 0;
}
.setup-wizard-step[data-setup-step="team"] .setup-form {
  min-height: 0;
}
.initial-team-rows {
  display: grid;
  gap: 10px;
  max-height: calc(80vh - 390px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 8px 2px 0;
}
.initial-team-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.initial-team-row > span {
  grid-column: 1/-1;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.initial-team-row label {
  font-size: 10px;
  min-width: 0;
}
.initial-team-row input,
.initial-team-row select {
  width: 100%;
  min-width: 0;
  height: 40px;
}
.team-list-form .primary-button {
  margin-top: 8px;
}
.feature-catalog-view {
  max-width: 1080px;
}
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  min-height: 220px;
  padding: 23px;
}
.feature-card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e5f1e3;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.feature-card h2 {
  margin-top: 18px;
  font-size: 19px;
}
.feature-card p {
  min-height: 54px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.feature-card .outline-button {
  margin-top: 17px;
}
.integration-list {
  display: grid;
  gap: 13px;
  max-width: 900px;
}
.integration-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
}
.integration-card > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.integration-card h2 {
  font-size: 18px;
}
.integration-card p {
  max-width: 620px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.integration-card .outline-button {
  white-space: nowrap;
}
@media (max-width: 850px) {
  .feature-card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .integration-card {
    grid-template-columns: 1fr auto;
  }
  .integration-card .outline-button {
    grid-column: 1/-1;
    justify-self: start;
  }
}
@media (max-width: 600px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
  }
  .integration-card {
    grid-template-columns: 1fr;
  }
  .integration-card .pill {
    justify-self: start;
  }
}
.app-shell {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
.sidebar {
  height: 100vh;
  overflow-y: auto;
}
.topbar {
  background: #d3e7d5;
}
.main-content {
  height: 100vh;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(224, 239, 222, 0.22);
}
@media (max-width: 600px) {
  .setup-wizard {
    padding: 14px;
  }
  .setup-wizard-card {
    padding: 28px 23px;
  }
  .setup-wizard-step h1 {
    font-size: 31px;
  }
}
.team-form-panel {
  padding: 25px;
  margin-bottom: 20px;
}
.team-form {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  gap: 14px;
}
.team-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.team-form input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  outline: 0;
}
.team-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(97, 166, 120, 0.13);
}
.form-actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}
.team-management-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.team-management-card .club-badge {
  flex-shrink: 0;
  border-radius: 8px;
  background: #e2f0e0;
  color: #317351;
}
.team-management-card h2 {
  margin-top: 3px;
  font-size: 21px;
}
.team-management-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.team-management-card .outline-button {
  margin-left: auto;
  white-space: nowrap;
}
.workspace-dashboard .page-heading {
  margin-bottom: 27px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
}
.settings-card {
  padding: 25px;
}
.settings-card h2 {
  margin-top: 8px;
  font-size: 21px;
}
.settings-card p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.settings-card .outline-button,
.settings-card .primary-button {
  margin-top: 20px;
}
.settings-field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.settings-field input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffdf8;
  color: var(--ink);
  outline: 0;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.settings-actions button {
  margin-top: 0;
}
.settings-actions .danger-button {
  border-color: #c0392b;
  color: #c0392b;
}
.settings-actions .danger-button:hover {
  background: #c0392b;
  color: #fff;
}
.logout-button {
  margin-left: auto;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  color: #dcebdc;
  font-size: 10px;
  font-weight: 700;
}
.logout-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.context-popover {
  display: none;
  position: fixed;
  z-index: 25;
  width: 190px;
  padding: 6px;
  border: 1px solid rgba(36, 96, 52, 0.14);
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 14px 35px rgba(20, 60, 32, 0.2);
}
.context-popover.open {
  display: grid;
  gap: 2px;
}
.context-popover button {
  padding: 10px 11px;
  border-radius: 5px;
  text-align: left;
  color: var(--ink);
  font-size: 11px;
}
.context-popover button:hover {
  background: #eaf3e8;
  color: var(--green);
}
.top-logout {
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.top-logout:hover {
  background: #d9614d;
}
@media (max-width: 760px) {
  .team-form {
    grid-template-columns: 1fr;
  }
  .team-management-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .team-management-card .outline-button {
    width: 100%;
    margin-left: 0;
  }
  .setup-panel {
    padding: 20px;
  }
}
.landing-preview {
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.landing-secondary-cta {
  color: #e2eee2;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.landing-secondary-cta:hover {
  color: #fff;
}
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  place-items: center;
  padding: 20px;
  background: rgba(7, 35, 20, 0.72);
  backdrop-filter: blur(7px);
}
.demo-modal.open {
  display: grid;
}
.demo-window {
  width: min(900px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 25px 80px rgba(3, 24, 12, 0.35);
}
.demo-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 31px 23px;
  border-bottom: 1px solid #e3ebe1;
}
.demo-header .eyebrow {
  color: var(--green);
}
.demo-header h2 {
  margin-top: 7px;
  font-size: 28px;
}
.demo-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf4ec;
  color: var(--muted);
  font-size: 17px;
}
.demo-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 350px;
}
.demo-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 22px 13px;
  background: #eef5ed;
}
.demo-nav-item {
  padding: 12px 13px;
  border-radius: 6px;
  text-align: left;
  color: #6a7d6f;
  font-size: 11px;
  font-weight: 700;
}
.demo-nav-item.active,
.demo-nav-item:hover {
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(37, 87, 47, 0.08);
}
.demo-content {
  padding: 32px;
}
.demo-panel {
  display: none;
}
.demo-panel.active {
  display: block;
}
.demo-panel > .eyebrow {
  color: var(--green);
}
.demo-panel h3 {
  margin-top: 8px;
  font-size: 26px;
}
.demo-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.demo-stat-grid article {
  padding: 17px;
  border: 1px solid #e0e9df;
  border-radius: 6px;
}
.demo-stat-grid strong {
  display: block;
  font: 700 30px "Barlow Condensed";
  color: var(--green);
}
.demo-stat-grid span,
.demo-list small,
.demo-team-row small,
.demo-fixture small,
.demo-message small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.demo-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid #e0e9df;
}
.demo-list > div,
.demo-team-row,
.demo-fixture,
.demo-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e9df;
  font-size: 11px;
}
.demo-list b {
  margin-left: auto;
  color: var(--coral);
}
.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}
.demo-dot.green {
  background: var(--green);
}
.demo-team-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: #dff0df;
  color: #2d7650;
  font: 700 12px "Barlow Condensed";
}
.demo-team-badge.blue {
  background: #e1edf2;
  color: #43718b;
}
.demo-team-badge.yellow {
  background: #f8efd4;
  color: #92722d;
}
.demo-team-row > b {
  margin-left: auto;
  font-size: 10px;
  color: var(--green);
}
.demo-fixture {
  padding: 22px 0;
}
.demo-date {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  background: #e3f0e0;
  color: #317351;
}
.demo-date strong {
  font: 700 26px "Barlow Condensed";
}
.demo-date small {
  font-size: 9px;
}
.demo-fixture em {
  margin-left: auto;
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.demo-checklist {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  color: #53695a;
  font-size: 11px;
}
.demo-checklist i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 50%;
  background: #dff0df;
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}
.demo-checklist span:last-child i {
  background: #fae8df;
  color: var(--coral);
}
.demo-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dfeee1;
  color: #397250;
  font: 700 10px "Barlow Condensed";
}
.demo-avatar.coral {
  background: #fae4de;
  color: #b86651;
}
.demo-message time {
  margin-left: auto;
  color: #99a79b;
  font-size: 9px;
}
.demo-message-action {
  margin-top: 20px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}
.demo-message-action span {
  margin-left: 6px;
}
.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 31px;
  background: #f2f7f0;
  color: #87988b;
  font-size: 10px;
}
.demo-footer a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
}
.demo-footer a span {
  margin-left: 5px;
}
@media (max-width: 600px) {
  .demo-window {
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .demo-nav {
    display: flex;
    overflow: auto;
    padding: 10px;
  }
  .demo-nav-item {
    white-space: nowrap;
  }
  .demo-content {
    padding: 24px 20px;
  }
  .demo-stat-grid {
    gap: 6px;
  }
  .demo-stat-grid article {
    padding: 12px 9px;
  }
  .demo-stat-grid strong {
    font-size: 25px;
  }
  .demo-header,
  .demo-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .demo-header h2 {
    font-size: 24px;
  }
}
.demo-footer {
  gap: 16px;
}
.demo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-controls button {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}
.demo-controls button:disabled {
  color: #aebdb0;
  cursor: default;
}
.demo-controls span {
  min-width: 24px;
  text-align: center;
  color: #667a6d;
  font-weight: 700;
}
@media (max-width: 600px) {
  .demo-footer {
    flex-wrap: wrap;
  }
  .demo-controls {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}
.auth-page {
  min-height: 100vh;
  background: #5f9b5d;
  background-image:
    linear-gradient(rgba(18, 65, 32, 0.2), rgba(18, 65, 32, 0.2)),
    url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=2400&q=85");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 24px 20px;
}
.auth-back {
  display: block;
  width: min(900px, 100%);
  margin: 0 auto;
  color: #e2eee2;
  font-size: 11px;
  text-decoration: none;
}
.auth-page .auth-screen {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 32px 20px;
  background: none;
}
.auth-page .auth-card {
  margin: 0;
}
.auth-page .auth-footer {
  padding: 0;
}
.confirmation-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  place-items: center;
  padding: 20px;
  background: rgba(7, 35, 20, 0.72);
  backdrop-filter: blur(7px);
}
.confirmation-modal.open {
  display: grid;
}
.confirmation-card {
  width: min(100%, 410px);
  padding: 36px 34px;
  text-align: center;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 25px 80px rgba(3, 24, 12, 0.35);
}
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e2f0e0;
  color: var(--green);
  font: 700 24px "Barlow Condensed";
}
.confirmation-card .eyebrow {
  color: var(--green);
}
.confirmation-card h2 {
  margin-top: 8px;
  font-size: 31px;
}
.confirmation-card p {
  margin: 13px auto 24px;
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.confirmation-card .primary-button {
  width: 100%;
}
.manager-preview-dashboard {
  max-width: 1100px;
}
.manager-preview-dashboard .page-heading {
  align-items: flex-start;
  margin-bottom: 22px;
}
.manager-preview-dashboard .heading-note {
  max-width: 680px;
  line-height: 1.7;
}
.manager-preview-request {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.manager-preview-request strong {
  font: 600 24px "Barlow Condensed";
  color: var(--ink);
}
.manager-preview-request > span:last-child {
  color: var(--muted);
  font-size: 11px;
}
.manager-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.manager-preview-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  text-align: left;
  background: #fff;
  border: 1px solid #e9eeed;
  border-radius: 7px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.manager-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(26, 44, 63, 0.12);
}
.manager-preview-card .card-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}
.manager-preview-card strong {
  font: 600 22px "Barlow Condensed";
  color: var(--ink);
}
.manager-preview-card p {
  min-height: 52px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.manager-preview-link {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}
@media (max-width: 800px) {
  .manager-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Owner team summary modal and its read-only information tabs. */
.owner-team-modal {
  z-index: 30;
}
.owner-team-modal-card {
  display: flex;
  flex-direction: column;
  width: min(80vw, 1100px);
  height: min(80vh, 900px);
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}
.owner-team-modal-card > .drawer-close {
  width: 38px;
  height: 38px;
  font-size: 28px;
  line-height: 1;
}
.owner-team-modal-content {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}
.owner-team-modal-content > .team-access-card {
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.owner-team-modal-heading {
  padding-right: 28px;
}
.owner-team-modal-heading h2 {
  margin: 5px 0 6px;
  font:
    600 30px/1 "Barlow Condensed",
    sans-serif;
}
.owner-team-modal-heading p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.owner-team-modal-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.owner-team-modal-tabs button {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.owner-team-modal-tabs button.active {
  border-bottom-color: var(--coral);
  color: var(--coral);
}

/* Keep the application chrome consistent with the dark brand palette. */
.sidebar,
.topbar {
  background: #172b42;
  color: #fff;
}
.sidebar .brand-mark,
.sidebar .sidebar-club-identity strong,
.sidebar .sidebar-label,
.sidebar .nav-item,
.sidebar .nav-icon,
.sidebar .season-card,
.sidebar .season-card strong,
.sidebar .season-card > span:last-child,
.topbar .breadcrumbs,
.topbar .breadcrumbs b,
.topbar .breadcrumbs strong,
.topbar .topbar-season,
.topbar .topbar-season .eyebrow,
.topbar .topbar-season strong,
.topbar .topbar-season > span:last-child,
.topbar .help-button,
.topbar .top-logout {
  color: #fff;
}
.topbar .topbar-season {
  background: #fff;
  color: #000;
  margin-left: 0;
  margin-right: 0;
  margin-top: 15px;
}
.topbar .topbar-season .eyebrow,
.topbar .topbar-season strong,
.topbar .topbar-season > span:last-child {
  color: #000;
}
.topbar .help-button {
  margin-left: 0;
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.topbar .help-button:hover {
  background: #d9614d;
}
.owner-team-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.owner-team-summary strong {
  color: var(--ink);
  font:
    600 22px/1 "Barlow Condensed",
    sans-serif;
}
.owner-team-summary > div {
  display: grid;
  gap: 4px;
}
.owner-team-list {
  display: grid;
  gap: 8px;
}
.owner-team-row,
.owner-team-note {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.owner-team-row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.owner-team-row strong,
.owner-team-note strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}
.owner-team-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.owner-team-avatar,
.owner-team-date {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5f2eb;
  color: #4a8c6a;
  font-size: 10px;
  font-weight: 700;
}
.owner-team-avatar-navy {
  background: #e5ebf1;
  color: #5a7892;
}
.owner-team-date {
  border-radius: 5px;
  background: #fae9e5;
  color: var(--coral);
}
.owner-team-date strong {
  color: inherit;
  font:
    600 16px/1 "Barlow Condensed",
    sans-serif;
}
.owner-team-date small {
  color: inherit;
  font-size: 8px;
  text-transform: uppercase;
}
.owner-team-note p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.owner-note-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.owner-note-heading div {
  display: flex;
  gap: 10px;
}
.owner-note-edit,
.owner-note-remove {
  padding: 0;
  font-size: 10px;
}
.owner-note-remove {
  color: var(--coral);
}
.owner-note-card {
  width: min(500px, calc(100vw - 32px));
}
@media (max-width: 760px) {
  .owner-team-modal-card {
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
  }
}
