/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .block {
    display: block;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  --ink: #121815;
  --muted: #64736c;
  --line: #d8e3dd;
  --surface: rgba(255, 255, 255, .9);
  --surface-solid: #ffffff;
  --canvas: #eef4f1;
  --primary: #c21f32;
  --primary-dark: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    --primary-dark: color-mix(in srgb, var(--primary) 62%, #111111);
  }
  --primary-soft: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    --primary-soft: color-mix(in srgb, var(--primary) 10%, #ffffff);
  }
  --primary-line: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    --primary-line: color-mix(in srgb, var(--primary) 22%, #ded8cf);
  }
  --gold: #866832;
  --gold-soft: #f4ead7;
  --danger: #a23a32;
  --shadow: 0 24px 70px rgba(28, 24, 20, .12);
  --shadow-soft: 0 12px 34px rgba(28, 24, 20, .08);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.app-body {
  background: linear-gradient(rgba(20, 20, 18, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 18, .025) 1px, transparent 1px), linear-gradient(135deg, #fbf8f0 0%, #f7f3ea 52%, #fffaf1 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--ink);
  min-height: 100vh;
}
a {
  color: inherit;
}
.muted-link {
  color: var(--primary-dark);
  font-weight: 850;
  text-decoration: none;
}
.muted-link:hover {
  text-decoration: underline;
}
.topbar {
  align-items: center;
  backdrop-filter: blur(22px);
  background: #211d18;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 76px;
  padding: 0 max(34px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  align-items: center;
  color: #fff8ea;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: 0 12px 28px var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 30%, transparent);
  }
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.main-nav {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  padding: 5px;
  justify-self: center;
}
.club-pill {
  align-items: center;
  background: #fff8ea;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #211d18;
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  gap: 10px;
  justify-self: end;
  min-height: 48px;
  padding: 6px 16px 6px 7px;
  position: relative;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.club-pill:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transform: translateY(-1px);
}
.club-pill-avatar {
  align-items: center;
  background: linear-gradient(145deg, #f2efe6, #d7cfc0);
  border-radius: 50%;
  color: #211d18;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.club-pill-avatar img {
  border-radius: 50%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.club-pill-label {
  border-left: 1px solid rgba(33, 29, 24, .15);
  color: #6f6252;
  font-size: 12px;
  font-weight: 900;
  padding-left: 10px;
  text-transform: uppercase;
}
.nav-link {
  border-radius: 7px;
  color: rgba(255, 248, 234, .72);
  font-size: 14px;
  font-weight: 850;
  padding: 10px 14px;
  text-decoration: none;
}
.nav-link:hover {
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
  color: #fff8ea;
}
.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 54px 28px 92px;
}
.hero-panel {
  background: var(--surface);
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  overflow: hidden;
}
.hero-panel.compact {
  margin-bottom: 30px;
}
.hero-panel .club-head {
  margin: 0;
  padding: 32px 36px;
}
.hero-stripe {
  background: var(--primary);
  height: 5px;
}
.filter-panel {
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e3dacb;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
  padding: 22px;
}
.match-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.match-card {
  background: #fff;
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 206px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.match-card:hover {
  border-color: #d4c5ac;
  box-shadow: 0 22px 54px rgba(39, 31, 22, .12);
  transform: translateY(-2px);
}
.match-card-media {
  align-items: center;
  background: #fff6df;
  display: flex;
  justify-content: center;
  padding: 24px;
}
.match-logo {
  align-items: center;
  color: #b82028;
  display: flex;
  font-size: 44px;
  font-weight: 950;
  justify-content: center;
  min-height: 130px;
  text-align: center;
}
.match-logo img {
  max-height: 146px;
  max-width: 146px;
  object-fit: contain;
}
.match-card-body {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.card-meta {
  margin-top: auto;
}
.content-stack {
  display: grid;
  gap: 28px;
  margin-top: 0;
}
.content-stack-item {
  margin-top: 28px;
}
.dashboard-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}
.dashboard-card {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 22px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.dashboard-card:hover {
  border-color: var(--primary-line);
  box-shadow: 0 22px 54px rgba(39, 31, 22, .12);
  transform: translateY(-2px);
}
.dashboard-card span {
  color: var(--primary);
}
.dashboard-card strong {
  font-size: 20px;
  font-weight: 950;
}
.dashboard-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.app-hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .78fr);
  min-height: calc(100vh - 160px);
}
.hero-copy {
  display: grid;
  gap: 24px;
}
.hero-title {
  color: #101713;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .97;
  margin: 0;
}
.hero-subtitle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 690px;
}
.panel, .app-card, .card, .table-wrap {
  background: var(--surface);
  border: 1px solid rgba(216, 227, 221, .92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.panel, .app-card {
  padding: 28px;
}
.panel.narrow {
  margin: 0 auto;
  max-width: 560px;
}
.card {
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: var(--primary-line);
  box-shadow: 0 30px 80px rgba(24, 38, 32, .16);
  transform: translateY(-3px);
}
.card-body {
  padding: 24px;
}
.card-title-row {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
h1, h2, h3 {
  color: #101713;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}
h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.03;
}
h2 {
  align-items: center;
  display: flex;
  font-size: 23px;
  gap: 10px;
}
p {
  color: var(--muted);
  line-height: 1.62;
  margin: 10px 0 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
code {
  background: #eef5f1;
  border: 1px solid #d3e2db;
  border-radius: 6px;
  color: var(--primary-dark);
  font-weight: 850;
  padding: 3px 7px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: var(--gold);
  display: inline-block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.actions, .row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.club-head {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.club-logo {
  align-items: center;
  background: linear-gradient(145deg, #fff, var(--primary-soft));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
  display: flex;
  flex: 0 0 auto;
  height: 82px;
  justify-content: center;
  overflow: hidden;
  width: 82px;
}
.club-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(244, 248, 246, .94));
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 112px;
  padding: 20px;
}
.stat strong {
  color: var(--primary-dark);
  display: block;
  font-size: 28px;
  font-weight: 950;
}
form {
  display: grid;
  gap: 16px;
}
.inline-form {
  display: inline-flex;
}
label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 850;
  gap: 8px;
}
.field, input, select {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #c9d8d0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 11px 13px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
  width: 100%;
}
.field:focus, input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
  }
}
input:disabled {
  background: #edf2ef;
  color: #899690;
}
input[type="color"].color-field {
  cursor: pointer;
  min-height: 54px;
  padding: 7px;
}
.compact-color {
  border: 0;
  flex: 0 0 58px;
  height: 42px;
  min-height: 42px;
  padding: 3px;
  width: 58px;
}
.color-control {
  align-items: center;
  background: #fff;
  border: 1px solid #c9d8d0;
  border-radius: 8px;
  display: inline-flex;
  gap: 12px;
  padding: 7px 12px 7px 7px;
  width: fit-content;
}
.color-swatch {
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #d8e3dd;
  display: inline-block;
  height: 24px;
  margin-right: 6px;
  vertical-align: middle;
  width: 24px;
}
.password-control {
  display: block;
  position: relative;
}
.password-control .field {
  padding-right: 54px;
}
.password-toggle {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  box-shadow: none;
  color: var(--primary-dark);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px !important;
  z-index: 2;
}
.password-toggle:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: none;
  transform: translateY(-50%);
}
.password-toggle .icon-eye-hide, .password-toggle.is-visible .icon-eye-show {
  display: none;
}
.password-toggle.is-visible .icon-eye-hide {
  display: block;
}
textarea.field {
  min-height: 118px;
  resize: vertical;
}
.button, button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--primary) 72%, #111111);
  }
  border-radius: 8px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  position: relative;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  isolation: isolate;
  overflow: hidden;
}
.button::before, button::before {
  display: none;
}
.button:hover, button:hover {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 88%, #111111);
  }
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 58%, #111111);
  }
  box-shadow: none;
  transform: translateY(-1px);
}
.button:hover::before, button:hover::before {
  display: none;
}
.button:active, button:active {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 80%, #111111);
  }
  box-shadow: none;
  transform: translateY(0);
}
.button.secondary, button.secondary {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 9%, #ffffff);
  }
  border: 1px solid var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--primary) 26%, #d8e3dd);
  }
  box-shadow: none;
  color: var(--primary-dark);
}
.button.secondary:hover, button.secondary:hover {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 14%, #ffffff);
  }
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 38%, #d8e3dd);
  }
  color: var(--primary-dark);
}
.button.warning, button.warning {
  background: #fff5e5;
  border-color: #e9cfa7;
  box-shadow: none;
  color: #80530b;
}
.button.warning:hover, button.warning:hover {
  background: #ffefd2;
  border-color: #d9b477;
  color: #6c4100;
}
.button.ghost, button.ghost {
  background: transparent;
  border: 1px solid var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--primary) 22%, #d8e3dd);
  }
  box-shadow: none;
  color: var(--primary-dark);
}
.button.ghost:hover, button.ghost:hover {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 7%, #ffffff);
  }
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 34%, #d8e3dd);
  }
  color: var(--primary-dark);
}
.actions-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.actions-row form {
  display: inline-flex;
}
button:disabled {
  background: #eef1ee;
  border-color: rgba(190, 200, 194, .74);
  box-shadow: none;
  color: #87948e;
  cursor: not-allowed;
  filter: grayscale(.16);
  transform: none;
}
button:disabled::before {
  display: none;
}
.icon {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}
.settings-shell {
  margin-inline: auto;
  max-width: 1120px;
}
.settings-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
}
.settings-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(201, 216, 208, .82);
  box-shadow: 0 18px 46px rgba(28, 24, 20, .07);
  display: grid;
  gap: 16px;
  padding: 22px;
}
.settings-card-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}
.settings-card-head h2 {
  line-height: 1.05;
  margin: 0;
}
.settings-card-head p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  margin: 5px 0 0;
}
.settings-icon {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  color: var(--primary-dark);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.identity-card, .password-card {
  grid-column: 1;
}
.logo-card, .access-card {
  grid-column: 2;
}
.settings-card form {
  display: grid;
  gap: 13px;
}
.settings-card .button, .settings-card button {
  justify-self: start;
}
.logo-editor, .logo-row {
  align-items: center;
  display: flex;
  gap: 14px;
}
.logo-editor {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), var(--primary));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, rgba(255, 255, 255, .72), color-mix(in srgb, var(--primary) 7%, rgba(255, 255, 255, .78)));
  }
  border: 1px solid rgba(201, 216, 208, .72);
  border-radius: 8px;
  padding: 14px;
}
.logo-editor-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.logo-editor-body .muted {
  margin: 0;
}
.logo-preview {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  display: flex;
  height: 86px;
  justify-content: center;
  width: 86px;
}
.logo-preview img {
  border-radius: 8px;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}
.logo-preview strong {
  color: var(--primary-dark);
  font-size: 32px;
}
.logo-form, .delete-logo-form {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
.compact-action, .settings-card .compact-action, .settings-card .logo-form button, .settings-card .delete-logo-form button {
  flex: 0 0 auto;
  justify-self: start;
  width: auto !important;
}
.file-drop, .upload-button {
  background: rgba(255, 255, 255, .74);
  border: 1px dashed var(--primary-line);
  border-radius: 8px;
  cursor: pointer;
  padding: 14px;
}
.file-drop input {
  background: transparent;
  border: 0;
  min-height: auto;
  padding: 10px 0 0;
}
.file-drop span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.upload-button {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary-dark);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  width: fit-content;
}
.upload-button input {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  width: 0 !important;
}
.upload-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.match-access-list {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.access-link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(201, 216, 208, .9);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 12px;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.access-link:hover {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.access-link-icon {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.access-link strong, .access-link small {
  display: block;
}
.access-link small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.access-link-action {
  color: var(--primary-dark);
  font-weight: 900;
}
.empty-action-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), var(--primary-soft));
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 16px;
}
.empty-action-card strong, .empty-action-card p {
  display: block;
}
.empty-action-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  margin: 4px 0 0;
}
.upload-actions, .upload-inline {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.asset-upload-shell {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 1120px;
}
.asset-upload-card {
  width: min(100%, 900px);
}
.asset-upload-form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
}
.asset-upload-form .upload-inline {
  grid-column: 1 / -1;
}
.inline-edit-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}
.text-icon {
  height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
  width: 15px;
}
.icon-title {
  height: 30px;
  width: 30px;
}
.table-wrap {
  background: var(--surface-solid);
  overflow-x: auto;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  width: 100%;
}
.score-table-wrap table {
  min-width: 1160px;
}
.scoring-flow-panel {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.squad-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}
.squad-tab {
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.squad-tab:hover, .squad-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--primary) 72%, #111111);
  }
  box-shadow: none;
  color: #fff;
  transform: translateY(-1px);
}
.squad-assignment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.squad-card {
  align-items: center;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(201, 216, 208, .78);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(130px, .55fr) minmax(0, 1fr);
  padding: 14px;
}
.squad-card strong, .squad-card span {
  display: block;
}
.squad-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.squad-card form {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}
th, td {
  border-bottom: 1px solid #e4ebe7;
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
}
th {
  background: #f7f8f5;
  color: #65746d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
tbody tr {
  background: #fff;
  transition: background .16s ease;
}
tbody tr:hover {
  background: #f7fbf9;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.row-edited {
  background: #fff8e8 !important;
}
.badge {
  align-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
  min-height: 27px;
  padding: 5px 10px;
  white-space: nowrap;
}
.badge.amber {
  background: #fbefd8;
  border-color: #ebd4a6;
  color: #80570f;
  margin-top: 8px;
}
.locked-action {
  min-height: 43px;
  padding: 9px 13px;
}
.app-alert {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
  padding: 14px 16px;
}
.app-alert.success {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.app-alert.danger {
  background: #f8dfdc;
  color: var(--danger);
}
.score-inputs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 64px);
}
.score-inputs input {
  min-height: 42px;
  min-width: 0;
  padding: 8px;
  text-align: center;
}
.mini-field {
  color: var(--muted);
  display: grid;
  font-size: 11px;
  font-weight: 950;
  gap: 5px;
  letter-spacing: .04em;
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
}
.mini-field.single {
  max-width: 110px;
}
.mini-field span {
  color: #7a877f;
}
.score-inputs.impacts input {
  border-color: #cbded5;
}
.score-inputs.penalties input {
  border-color: #ead8ba;
}
.time-field {
  text-align: center;
}
.score-review-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 22px;
}
.score-review-grid div {
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.score-review-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.score-review-grid strong {
  color: var(--primary-dark);
  font-size: 26px;
  font-weight: 950;
}
.score-review-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.validation-screen {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
}
.validation-card, .pin-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(216, 227, 221, .92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.score-spotlight {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}
.score-spotlight div {
  background: var(--primary-dark);
  border-radius: 8px;
  color: #fff8ea;
  min-height: 112px;
  padding: 18px;
}
.score-spotlight span {
  color: rgba(255, 248, 234, .72);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.score-spotlight strong {
  display: block;
  font-size: 30px;
  font-weight: 950;
  margin-top: 10px;
}
.pin-card {
  position: sticky;
  top: 100px;
}
.pin-entry {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: .18em;
  text-align: center;
}
.pin-entry.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
  }
}
.pin-pad {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pin-pad button {
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  box-shadow: none;
  color: var(--primary-dark);
  font-size: 22px;
  min-height: 66px;
}
.pin-pad button[data-pin-clear], .pin-pad button[data-pin-back] {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  font-size: 14px;
}
.validate-button {
  min-height: 58px;
  width: 100%;
}
.score-scale {
  align-self: end;
  background: #fbf7ef;
  border: 1px solid #eadfcd;
  border-radius: 8px;
  color: var(--primary-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 46px;
  padding: 9px 12px;
}
.score-scale span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: 100%;
}
.score-scale strong {
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 8px;
}
.asset-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}
.asset-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  padding: 16px;
}
.asset-card > div {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.asset-kind {
  background: var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--primary) 9%, #fff);
  }
  border: 1px solid var(--primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--primary) 24%, #fff);
  }
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  padding: 5px 9px;
}
.asset-kind-form {
  display: grid;
  gap: 9px;
}
.asset-card img {
  aspect-ratio: 1;
  background: #fbf7ef;
  border: 1px solid #eadfcd;
  border-radius: 8px;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}
.designer-shell {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 320px minmax(0, 1fr);
}
.briefing-panel {
  background: rgba(255, 255, 255, .82);
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
}
.briefing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.designer-sidebar, .designer-main {
  background: var(--surface);
  border: 1px solid rgba(216, 227, 221, .92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.designer-sidebar {
  position: sticky;
  top: 98px;
}
.designer-assets {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.selection-tools {
  display: grid;
  gap: 12px;
}
.range-field {
  accent-color: var(--primary);
  padding-inline: 0;
}
.button.small {
  min-height: 38px;
  padding: 9px 13px;
}
.asset-tool {
  background: #fff;
  border: 1px solid #d8e3dd;
  box-shadow: none;
  color: var(--ink);
  display: grid;
  gap: 9px;
  grid-template-columns: 44px minmax(0, 1fr);
  justify-content: start;
  min-height: 58px;
  padding: 7px 10px;
  text-align: left;
}
.asset-tool img {
  aspect-ratio: 1;
  object-fit: contain;
  width: 44px;
}
.asset-tool small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-top: 2px;
}
.stage-canvas-toolbar {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.stage-canvas-wrap {
  background: #fbf7ef;
  border: 1px solid #e1d7c8;
  border-radius: 8px;
  overflow: auto;
  padding: 16px;
}
.stage-canvas {
  aspect-ratio: 1.66 / 1;
  background: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(135deg, #a4dc5b, #7fca43);
  background-size: 32px 32px, 32px 32px, auto;
  border: 2px solid #20251f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  min-width: 720px;
  position: relative;
  touch-action: none;
}
.design-item {
  align-items: center;
  cursor: grab;
  display: flex;
  justify-content: center;
  position: absolute;
  user-select: none;
}
.design-item.selected {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.design-item-content {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  pointer-events: none;
  transform-origin: center;
  width: 100%;
}
.design-item img {
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}
.design-text {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #1f2520;
  color: #151914;
  display: flex;
  font-weight: 950;
  height: 100%;
  justify-content: center;
  padding: 6px;
  text-align: center;
  width: 100%;
}
.resize-handle {
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -7px;
  cursor: nwse-resize;
  height: 15px;
  position: absolute;
  right: -7px;
  width: 15px;
}
.rotate-handle {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
  cursor: grab;
  height: 17px;
  left: 50%;
  position: absolute;
  top: -27px;
  transform: translateX(-50%);
  width: 17px;
}
.rotate-handle::after {
  background: var(--primary);
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: 15px;
  transform: translateX(-50%);
  width: 2px;
}
.modal-backdrop {
  align-items: center;
  backdrop-filter: blur(7px);
  background: rgba(20, 18, 15, .58);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 22px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}
.modal-backdrop[hidden] {
  display: none;
}
.app-modal {
  background: #fffaf1;
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  display: grid;
  gap: 18px;
  max-width: 520px;
  padding: 24px;
  width: min(100%, 520px);
}
.app-modal.wide {
  max-width: 1040px;
  width: min(100%, 1040px);
}
.stage-briefing-modal {
  background: linear-gradient(135deg, rgba(255, 255, 255, .93), rgba(255, 250, 241, .88));
  max-height: calc(100vh - 36px);
  max-width: 1180px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: min(100%, 1180px);
}
.modal-close {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 216, 208, .76);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(28, 24, 20, .08);
  color: var(--ink);
  font-size: 18px;
  height: 26px;
  line-height: 1;
  min-height: 26px;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 26px !important;
  z-index: 3;
}
.stage-briefing-head {
  align-items: center;
  border-bottom: 1px solid rgba(201, 216, 208, .76);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 54px 18px 22px;
}
.stage-briefing-head h2, .stage-briefing-head p {
  margin: 0;
}
.stage-briefing-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0;
}
.zoom-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}
.stage-briefing-scroll {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 18px;
}
.stage-briefing-zoom {
  display: grid;
  gap: 16px;
  margin-inline: auto;
  max-width: 1040px;
  width: 100%;
  transform-origin: top center;
  transition: transform .16s ease;
}
.stage-read-plan {
  aspect-ratio: 1.66 / 1;
  background: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px), #8fd84a;
  background-size: 32px 32px, 32px 32px, auto;
  border: 2px solid #20251f;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}
.stage-read-item {
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  transform-origin: center;
}
.stage-read-item img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.stage-read-item.is-text span, .stage-read-empty {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #1f2520;
  color: #151914;
  display: flex;
  font-weight: 950;
  height: 100%;
  justify-content: center;
  padding: 6px;
  text-align: center;
  width: 100%;
}
.stage-read-empty {
  border: 0;
  inset: 0;
  position: absolute;
}
.briefing-two-cols {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.briefing-two-cols table, .briefing-targets {
  background: #fff;
  border: 1px solid rgba(201, 216, 208, .78);
  border-radius: 8px;
  overflow: hidden;
}
.briefing-two-cols th, .briefing-two-cols td, .briefing-targets th, .briefing-targets td {
  padding: 12px 14px;
}
.briefing-two-cols th {
  width: 32%;
}
.stage-preview {
  background: #fbf7ef;
  border: 1px solid #e2d9c8;
  border-radius: 8px;
  overflow: auto;
  padding: 14px;
}
.stage-canvas-preview {
  min-width: min(860px, 100%);
}
[data-tooltip] {
  position: relative;
}
.tooltip-bubble {
  background: #13231e;
  border-radius: 7px;
  bottom: calc(100% + 9px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  left: 50%;
  line-height: 1.35;
  max-width: 220px;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 4px);
  transition: opacity .14s ease, transform .14s ease;
  white-space: nowrap;
  z-index: 50;
}
[data-tooltip]:hover .tooltip-bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  .topbar, .club-head {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
  .topbar {
    padding: 18px;
  }
  .main-nav {
    width: 100%;
  }
  .club-pill {
    justify-self: start;
  }
  .app-hero, .grid.two, .grid.three, .briefing-grid, .dashboard-cards, .asset-grid, .designer-shell, .match-access-list {
    grid-template-columns: 1fr;
  }
  .asset-upload-form, .briefing-two-cols, .scoring-flow-panel, .squad-assignment-grid, .settings-layout {
    grid-template-columns: 1fr;
  }
  .scoring-flow-panel {
    align-items: start;
  }
  .squad-tabs {
    justify-content: flex-start;
  }
  .squad-card {
    grid-template-columns: 1fr;
  }
  .logo-card, .password-card, .settings-card, .identity-card, .access-card {
    grid-column: 1 / -1;
  }
  .match-card-grid {
    grid-template-columns: 1fr;
  }
  .match-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .designer-sidebar {
    position: static;
  }
  .app-hero {
    min-height: auto;
  }
  .shell {
    padding: 24px 16px 44px;
  }
  .hero-title, h1 {
    font-size: 34px;
  }
  .panel, .app-card, .card-body {
    padding: 20px;
  }
  .score-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .validation-screen, .score-spotlight, .score-review-grid.compact {
    grid-template-columns: 1fr;
  }
  .pin-card {
    position: static;
  }
  .stage-canvas {
    min-width: 620px;
  }
  .admin-clubs-table {
    border-spacing: 0 14px;
  }
  .admin-clubs-table thead {
    display: none;
  }
  .admin-clubs-table, .admin-clubs-table tbody, .admin-clubs-table tr, .admin-clubs-table td {
    display: block;
    width: 100%;
  }
  .admin-clubs-table tr {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(216, 227, 221, .92);
    border-radius: 8px;
    padding: 12px;
  }
  .admin-clubs-table td {
    align-items: flex-start;
    border-bottom: 1px solid rgba(216, 227, 221, .72);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(92px, .38fr) minmax(0, 1fr);
    padding: 12px 4px;
  }
  .admin-clubs-table td:last-child {
    border-bottom: 0;
  }
  .admin-clubs-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .admin-clubs-table td[data-label="Actions"] {
    display: block;
  }
  .admin-clubs-table td[data-label="Actions"]::before {
    display: block;
    margin-bottom: 10px;
  }
  .admin-clubs-table .actions-row {
    justify-content: flex-start;
  }
  .admin-clubs-table code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
  }
}
@media (max-width: 620px) {
  .topbar {
    gap: 14px;
  }
  .main-nav {
    overflow-x: auto;
  }
  .nav-link {
    white-space: nowrap;
  }
  .club-pill {
    max-width: 100%;
  }
  .club-pill-label {
    display: none;
  }
  .hero-panel .club-head {
    padding: 22px;
  }
  .actions, .row-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
  .actions .button, .actions button, .row-actions .button, .row-actions button {
    width: 100%;
  }
  .match-card {
    grid-template-columns: 1fr;
  }
  .match-card-media {
    min-height: 150px;
  }
  th, td {
    padding: 14px;
  }
  .score-inputs {
    grid-template-columns: repeat(3, 56px);
  }
  .stage-canvas-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .stage-canvas {
    min-width: 520px;
  }
  .app-modal {
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 18px;
  }
  .clean-modal {
    align-items: stretch;
    padding: 10px;
  }
  .stage-briefing-modal {
    max-height: calc(100vh - 20px);
    width: calc(100vw - 20px);
  }
  .stage-briefing-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 44px 14px 16px;
  }
  .stage-briefing-head h2 {
    font-size: 24px;
    line-height: 1.05;
  }
  .zoom-controls {
    gap: 6px;
    width: 100%;
  }
  .zoom-controls .button {
    flex: 1 1 0;
  }
  .stage-briefing-scroll {
    max-height: calc(100vh - 154px);
    overflow-x: hidden;
    padding: 12px;
  }
  .stage-briefing-zoom {
    max-width: 100%;
    transform-origin: top left;
  }
  .stage-read-plan {
    min-height: 0;
    width: 100%;
  }
  .briefing-two-cols {
    grid-template-columns: 1fr;
  }
}
.settings-card .button, .settings-card button, .settings-card .upload-button, .asset-upload-card .button, .asset-upload-card button, .asset-upload-card .upload-button {
  min-width: 0;
  width: auto !important;
}
.settings-card .logo-form, .settings-card .delete-logo-form, .asset-upload-card .upload-inline {
  align-items: center;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  width: auto !important;
}
.settings-card .subtle {
  background: #fff5e5;
  border-color: rgba(204, 143, 47, .3);
  color: #8a5607;
  box-shadow: none;
}
.password-control .password-toggle {
  border-radius: 8px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  position: absolute !important;
  right: 6px;
  top: 50%;
  transform: translateY(-50%) !important;
  width: 36px !important;
}
.password-control .password-toggle:hover {
  transform: translateY(-50%) !important;
}
.password-control .password-toggle::before {
  display: none;
}
.button, button, .squad-tab, .pin-pad button, .asset-tool, .modal-close, .upload-button {
  box-shadow: none !important;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
