@font-face {
    font-family: "adidas FG";
    src: url("/fonts/adidasFG.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG";
    src: url("/fonts/adidasFG-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG";
    src: url("/fonts/adidasFG-It.otf") format("opentype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG";
    src: url("/fonts/adidasFG-BoldIt.otf") format("opentype");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}

@font-face {calc(100% + 0.5rem);
    font-family: "adidas FG Compressed";
    src: url("/fonts/adidasFG-Compressed.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG Compressed";
    src: url("/fonts/adidasFG-CompressedBold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG Compressed";
    src: url("/fonts/adidasFG-CompressedIt.otf") format("opentype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "adidas FG Compressed";
    src: url("/fonts/adidasFG-CompressedBoldIt.otf") format("opentype");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}

:root {
    --ds-color-ink: #000000;
    --ds-color-ink-secondary: #151515;
    --ds-color-paper: #ffffff;
    --ds-color-accent: #d9ff43;
    --ds-color-canvas: #fafafa;
    --ds-color-surface-subtle: #f5f5f5;
    --ds-color-border: #e5e5e5;
    --ds-color-border-subtle: #f1f1f1;
    --ds-color-text-muted: #6b6b6b;
    --ds-color-text-secondary: #525252;
    --ds-color-success-surface: #ecfdf5;
    --ds-color-success-text: #047857;
    --ds-color-warning-surface: #fffbeb;
    --ds-color-warning-text: #b45309;
    --ds-color-overlay: rgb(0 0 0 / 60%);
    --ds-color-sidebar-hover: rgb(255 255 255 / 10%);
    --ds-color-sidebar-border: rgb(255 255 255 / 15%);
    --ds-font-body: "adidas FG", Arial, sans-serif;
    --ds-font-display: "adidas FG Compressed", "Arial Narrow", Arial, sans-serif;
    --ds-tracking-label: 0.14em;
    --ds-tracking-kicker: 0.25em;
    --ds-control-height-sm: 2rem;
    --ds-control-height: 3rem;
    --ds-control-height-lg: 3.5rem;
    --ds-sidebar-width: 16.5rem;
    --ds-transition-fast: 150ms ease;
    --ds-shadow-raised: 0 12px 24px rgb(0 0 0 / 12%);
    --desktop-header-height: 4rem;
}

* { box-sizing: border-box; }
html { background: var(--ds-color-paper); }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--ds-color-canvas);
    color: var(--ds-color-ink);
    font-family: var(--ds-font-body);
    -webkit-font-smoothing: antialiased;
}
button, input, select { color: inherit; font: inherit; }
button { margin: 0; padding: 0; background: none; border: 0; cursor: pointer; }
h1, h2, p { margin: 0; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--ds-color-ink); outline-offset: 2px; }
strong { font-weight: 600; }

/* Design-system typography */
.ds-page-title { font-family: var(--ds-font-display); font-size: clamp(2.5rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.ds-section-title { font-family: var(--ds-font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; }
.ds-kicker, .ds-label { font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: var(--ds-tracking-label); text-transform: uppercase; }
.ds-kicker { color: var(--ds-color-text-muted); letter-spacing: var(--ds-tracking-kicker); }
.ds-helper { color: var(--ds-color-text-muted); font-size: 0.75rem; line-height: 1.25rem; }
.text-muted { color: var(--ds-color-text-muted); }
.text-secondary { color: var(--ds-color-text-secondary); }
.text-semibold { font-weight: 600; }
.align-right { text-align: right; }
.display-block { display: block; }

/* Design-system controls */
.ds-button { align-items: center; background: transparent; border: 1px solid transparent; display: inline-flex; font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 700; height: var(--ds-control-height); justify-content: center; letter-spacing: var(--ds-tracking-label); padding-inline: 1.5rem; text-transform: uppercase; transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast); }
.ds-button--solid { background: var(--ds-color-ink); border-color: var(--ds-color-ink); color: var(--ds-color-paper); }
.ds-button--solid:hover { background: var(--ds-color-text-secondary); }
.ds-button--outline { background: var(--ds-color-paper); border-color: var(--ds-color-ink); color: var(--ds-color-ink); }
.ds-button--outline:hover, .ds-button--ghost:hover { background: var(--ds-color-surface-subtle); }
.ds-button--large { height: var(--ds-control-height-lg); }
.ds-button--spread { justify-content: space-between; }
.ds-button:disabled { background: var(--ds-color-border); border-color: var(--ds-color-border); color: var(--ds-color-text-muted); cursor: not-allowed; }
.ds-field { background: var(--ds-color-paper); border: 1px solid var(--ds-color-border); color: var(--ds-color-ink); height: var(--ds-control-height); outline: none; padding-inline: 1rem; transition: border-color var(--ds-transition-fast), box-shadow var(--ds-transition-fast); }
.ds-field--large { height: var(--ds-control-height-lg); }
.ds-field:focus { border-color: var(--ds-color-ink); box-shadow: 0 0 0 1px var(--ds-color-ink); }
.ds-select { font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ds-back-link { font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 1.75rem; text-transform: uppercase; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-link--label, .label-button { font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.field-full, .login__submit { width: 100%; }
.form-group { display: block; margin-top: 1.5rem; }
.form-group--first { margin-top: 2.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; }
.check-label { align-items: center; display: flex; gap: 0.5rem; }
.check-label--small { font-size: 0.75rem; }
.checkbox { accent-color: var(--ds-color-ink); height: 1rem; width: 1rem; }

/* Design-system surfaces */
.ds-card { background: var(--ds-color-paper); border: 1px solid var(--ds-color-border); padding: 1.5rem; }
.ds-card--interactive { text-align: left; transition: border-color var(--ds-transition-fast), box-shadow var(--ds-transition-fast), transform var(--ds-transition-fast); }
.ds-card--interactive:hover { border-color: var(--ds-color-ink); box-shadow: var(--ds-shadow-raised); transform: translateY(-0.25rem); }
.ds-card--borderless { border: 0; }
.ds-card--compact { padding: 1.25rem; }
.ds-card--spacious { padding: 2rem; }
.ds-card--strong { border-color: var(--ds-color-ink); }
.ds-chip { background: var(--ds-color-surface-subtle); color: var(--ds-color-text-secondary); display: inline-flex; font-size: 0.75rem; padding: 0.25rem 0.625rem; }
.ds-thumbnail { align-items: center; background: var(--ds-color-surface-subtle); color: var(--ds-color-text-muted); display: flex; font-family: var(--ds-font-display); font-size: 0.5rem; height: 2.75rem; justify-content: center; text-align: center; text-transform: uppercase; width: 2.75rem; }
.ds-thumbnail--large { align-items: center; background: var(--ds-color-surface-subtle); color: var(--ds-color-text-muted); display: flex; font-family: var(--ds-font-display); font-size: 1rem; height: 5rem; justify-content: center; text-align: center; text-transform: uppercase; width: 5rem; }
.ds-table-frame { background: var(--ds-color-paper); border: 1px solid var(--ds-color-border); overflow-x: auto; }
.ds-badge { display: inline-flex; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.25rem 0.625rem; text-transform: uppercase; }
.ds-badge--neutral { background: var(--ds-color-surface-subtle); color: var(--ds-color-text-secondary); }
.ds-badge--success { background: var(--ds-color-success-surface); color: var(--ds-color-success-text); }
.ds-badge--warning { background: var(--ds-color-warning-surface); color: var(--ds-color-warning-text); }

/* Brand */
.brand-lockup { align-items: center; display: inline-flex; gap: 0.75rem; }
.brand-lockup__mark { height: 2rem; object-fit: contain; width: 2.85rem; }
.brand-lockup__type { border-left: 1px solid var(--ds-color-border); display: flex; flex-direction: column; gap: 0.125rem; padding-left: 0.75rem; }
.brand-lockup__name { font-family: var(--ds-font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; line-height: 0.85; text-transform: uppercase; }
.brand-lockup__endorsement { font-size: 0.75rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.brand-lockup--inverse { color: var(--ds-color-paper); }
.brand-lockup--inverse .brand-lockup__type { border-left-color: rgb(255 255 255 / 35%); }

/* Login */
.login { min-height: 100vh; background: var(--ds-color-surface-subtle); }
.login__hero { display: none; }
.login__panel { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 3rem 1.5rem; }
.login__form { max-width: 28rem; width: 100%; }
.login__mobile-logo { margin-bottom: 3.5rem; }
.login__title { font-family: var(--ds-font-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; margin-top: 0.75rem; text-transform: uppercase; }
.login__intro { color: var(--ds-color-text-secondary); margin-top: 1rem; }
.login__options { align-items: center; display: flex; font-size: 0.875rem; justify-content: end; margin-top: 1.25rem; }
.login__submit { font-size: 0.875rem; margin-top: 1.5rem; }
.login__security { margin-top: 2rem; }

/* Page composition */
.page-header { border-bottom: 1px solid var(--ds-color-border); display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 1.75rem; }
.page-header__subtitle { color: var(--ds-color-text-muted); font-size: 0.875rem; margin-top: 0.5rem; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.section-space, .metrics-grid, .action-grid, .card-grid, .season-grid, .selection-list, .setup-card { margin-top: 2rem; }
.metrics-grid { background: var(--ds-color-border); border: 1px solid var(--ds-color-border); display: grid; gap: 1px; }
.metric__value { font-family: var(--ds-font-display); font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 1.5rem; }
.action-grid { display: grid; gap: 1.25rem; }
.action-card { display: flex; flex-direction: column; min-height: 12rem; text-align: left; }
.action-card--dark { background: var(--ds-color-ink); color: var(--ds-color-paper); padding: 1.5rem; transition: background-color var(--ds-transition-fast), box-shadow var(--ds-transition-fast); }
.action-card--dark:hover { background: var(--ds-color-text-secondary); box-shadow: var(--ds-shadow-raised); }
.card-title { font-family: var(--ds-font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.card-caption { color: var(--ds-color-text-muted); font-size: 0.75rem; margin-top: 0.25rem; }
.card-caption--inverse { color: #a3a3a3; }
.card-arrow { font-size: 1.25rem; margin-top: auto; transition: transform var(--ds-transition-fast); }
.ds-card--interactive:hover .card-arrow, .entity-card:hover .card-arrow { transform: translateX(0.25rem); }
.home-action-card:hover .card-arrow, .entity-card:hover .card-arrow { transform: translateX(0.25rem); }
.action-card__plus { align-items: center; align-self: flex-start; background: var(--ds-color-accent); color: var(--ds-color-ink); display: flex; font-size: 1.25rem; font-weight: 700; height: 2.25rem; justify-content: center; margin-top: auto; transition: transform var(--ds-transition-fast); width: 2.25rem; }
.action-card--dark:hover .action-card__plus { transform: rotate(90deg); }
.home-action-card-dark:hover .action-card__plus { transform: rotate(90deg); }
.section-heading { align-items: center; display: flex; justify-content: space-between; margin: 2.5rem 0 1rem; }
.data-section { border-top: 2px solid var(--ds-color-ink); margin-top: 2rem; overflow-x: auto; }
.card-grid, .season-grid { display: grid; gap: 1.25rem; }
.entity-card { display: flex; flex-direction: column; }
.entity-card--team { min-height: 14rem; }
.entity-card--warehouse { min-height: 13rem; }
.entity-card__header { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; }
.entity-card__title { font-size: 1.25rem; }
.entity-card__title--uppercase { text-transform: uppercase; }
.entity-card__meta { color: var(--ds-color-text-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin-top: 0.5rem; text-transform: uppercase; }
.entity-card__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.entity-card__description { color: var(--ds-color-text-secondary); font-size: 0.875rem; margin-top: 1.5rem; }
.entity-card__footer { margin-top: auto; padding-top: 1.5rem; }
.entity-card__footer--split { align-items: flex-end; display: flex; justify-content: space-between; }
.entity-card__footer--split .entity-card__meta { margin: 0; }
.entity-card__count { font-size: 1.5rem; }
.season-grid { gap: 0.75rem; }
.season-card { min-height: 12rem; }
.season-card__title { font-family: var(--ds-font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.season-card__caption { color: var(--ds-color-text-muted); display: block; font-size: 0.75rem; margin-top: 0.25rem; }
.season-card__stat { display: flex; font-size: 0.875rem; justify-content: space-between; margin-top: 0.5rem; }
.season-card__stat--first { border-top: 1px solid var(--ds-color-border); margin-top: 3.5rem; padding-top: 0.75rem; }
.setup-card { max-width: 28rem; }
.setup-card__helper { margin-top: 0.5rem; }
.table-note { color: var(--ds-color-text-muted); font-size: 0.75rem; margin-top: 0.75rem; }

/* Tables */
.table-header { align-items: center; background: var(--ds-color-canvas); border-bottom: 1px solid var(--ds-color-border); color: var(--ds-color-text-muted); font-family: var(--ds-font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; min-height: 2.75rem; padding: 0 0.5rem; text-transform: uppercase; }
.table-row { align-items: center; background: var(--ds-color-paper); border-bottom: 1px solid var(--ds-color-border-subtle); font-size: 0.875rem; min-height: 4rem; padding: 0.5rem; transition: background-color var(--ds-transition-fast); }
.table-button { text-align: left; width: 100%; }
button.table-row:hover { background: var(--ds-color-surface-subtle); }
.table-grid, .products-grid, .setup-grid, .order-detail-grid { display: grid; gap: 1rem; }
.table-grid { grid-template-columns: minmax(180px, 1fr) 150px 32px; }
.products-grid { grid-template-columns: 64px minmax(190px, 1.3fr) 130px 150px minmax(190px, 1fr) 90px; }
.setup-grid { grid-template-columns: 60px minmax(190px, 1.3fr) 110px 140px minmax(170px, 1fr) 90px; }
.order-detail-grid { grid-template-columns: 72px 92px 210px 100px 76px repeat(9, 62px) 82px 92px 70px; min-width: 1410px; }
.order-detail-header { align-items: center; background: var(--ds-color-canvas); border-bottom: 1px solid var(--ds-color-border); color: var(--ds-color-text-secondary); font-size: 0.6875rem; font-weight: 700; line-height: 1.05; min-height: 3.75rem; padding: 0 0.875rem; text-transform: uppercase; }
.order-detail-row { align-items: center; border-bottom: 1px solid var(--ds-color-border); font-size: 0.8125rem; min-height: 4.75rem; padding: 0.625rem 0.875rem; }
.table-wide { min-width: 640px; }
.cell-action { font-size: 1.125rem; text-align: right; }
.cell-action--display { font-family: var(--ds-font-display); }
.quantity-field { align-items: center; display: flex; flex-direction: column; gap: 0.25rem; }
.quantity-field__size { color: var(--ds-color-text-muted); font-size: 0.6875rem; }
.quantity-field__input { background: var(--ds-color-paper); border: 1px solid var(--ds-color-border); font-size: 0.75rem; height: 1.75rem; outline: none; text-align: center; width: 2.5rem; }
.quantity-field__input:focus { border-color: var(--ds-color-ink); }
.quantity-field__empty { height: 1.75rem; }

/* Team selection */
.selection-list { background: var(--ds-color-paper); border: 1px solid var(--ds-color-border); overflow: hidden; }
.selection-list__header, .selection-list__row { display: grid; grid-template-columns: 150px 1fr; }
.selection-list__header { background: var(--ds-color-canvas); border-bottom: 1px solid var(--ds-color-border); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; padding: 1rem 1.25rem; text-transform: uppercase; }
.selection-list__row { align-items: center; border-bottom: 1px solid var(--ds-color-border-subtle); min-height: 4rem; padding: 0.75rem 1.25rem; text-align: left; transition: background-color var(--ds-transition-fast); width: 100%; }
.selection-list__row:last-child { border-bottom: 0; }
.selection-list__row:hover { background: var(--ds-color-canvas); }
.selection-list__row.is-selected { background: var(--ds-color-success-surface); }
.selection-list__state { align-items: center; display: flex; font-size: 0.875rem; gap: 0.5rem; }
.selection-list__check { align-items: center; border: 1px solid #d4d4d4; display: flex; height: 1.25rem; justify-content: center; width: 1.25rem; }
.selection-list__check.is-checked { background: var(--ds-color-ink); border-color: var(--ds-color-ink); color: var(--ds-color-paper); }
.selection-list__detail { color: var(--ds-color-text-muted); display: block; margin-top: 0.25rem; }

/* Tabs, toggles, and settings */
.tabs { border-bottom: 1px solid #d4d4d4; display: flex; margin-top: 1.75rem; }
.tab { border-bottom: 2px solid transparent; color: var(--ds-color-text-muted); font-family: var(--ds-font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: var(--ds-tracking-label); padding: 0.75rem 1.25rem; text-transform: uppercase; }
.tab-active { border-color: var(--ds-color-ink); color: var(--ds-color-ink); }
.tab-panel { margin-top: 1.25rem; }
.toggle { background: #d4d4d4; border-radius: 999px; display: inline-block; height: 1.25rem; position: relative; width: 2.25rem; }
.toggle.is-on { background: var(--ds-color-ink); }
.toggle__thumb { background: var(--ds-color-paper); border-radius: 50%; height: 1rem; left: 0.125rem; position: absolute; top: 0.125rem; transition: left var(--ds-transition-fast); width: 1rem; }
.toggle__thumb.is-on { left: 1.125rem; }
.settings-list { border-top: 2px solid var(--ds-color-ink); margin-top: 2rem; max-width: 42rem; }
.settings-row { align-items: center; border-bottom: 1px solid #d4d4d4; display: flex; justify-content: space-between; padding-block: 1.25rem; }
.settings-row__label { font-family: var(--ds-font-display); letter-spacing: 0.025em; text-transform: uppercase; font-weight: 600; }

/* Modal */
.modal-backdrop { align-items: center; background: var(--ds-color-overlay); display: flex; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 50; }
.modal { max-width: 28rem; width: 100%; }
.modal__title { font-family: var(--ds-font-display); font-size: 1.875rem; font-weight: 700; text-transform: uppercase; padding-bottom: 1rem; }
.modal__subtitle { color: var(--ds-color-text-muted); font-size: 0.875rem; margin-top: 0.25rem; }
.file-drop { align-items: center; border: 1px dashed var(--ds-color-text-muted); display: flex; flex-direction: column; justify-content: center; margin-top: 1.5rem; min-height: 8rem; padding: 1.25rem; width: 100%; }
.file-drop:hover { background: var(--ds-color-surface-subtle); }
.file-drop__title { font-family: var(--ds-font-display); text-transform: uppercase; }
.file-drop__caption { color: var(--ds-color-text-muted); font-size: 0.75rem; margin-top: 0.5rem; }
.modal__actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
.visually-hidden-input { display: none; }

/* App shell */
.app-shell, .app-main { min-height: 100vh; }
.mobile-header { align-items: center; background: var(--ds-color-paper); border-bottom: 1px solid var(--ds-color-border); display: flex; height: 4rem; inset: 0 0 auto; justify-content: space-between; padding-inline: 1.25rem; position: fixed; z-index: 30; }
.sidebar { background: var(--ds-color-ink); color: var(--ds-color-paper); display: flex; flex-direction: column; inset: 0 auto 0 0; position: fixed; transform: translateX(-100%); transition: transform var(--ds-transition-fast); width: var(--ds-sidebar-width); z-index: 40; }
.sidebar.is-open { transform: translateX(0); }
.sidebar__brand { border-bottom: 1px solid var(--ds-color-sidebar-border); padding: 1.75rem; }
.partner { align-items: center; display: flex; gap: 0.75rem; margin: 1.5rem 1.75rem 0; }
.partner__avatar { align-items: center; background: var(--ds-color-paper); color: var(--ds-color-ink); display: flex; font-size: 0.75rem; font-weight: 700; height: 2.5rem; justify-content: center; width: 2.5rem; }
.partner__name { display: block; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; }
.sidebar__nav { flex: 1; margin-top: 1.5rem; padding-inline: 0.75rem; }
.sidebar__eyebrow { color: var(--ds-color-text-muted); font-size: 0.625rem; font-weight: 700; letter-spacing: var(--ds-tracking-kicker); padding: 0 1rem 0.75rem; text-transform: uppercase; }
.sidebar__nav-item { color: #a3a3a3; display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; padding: 0.75rem 1rem; text-align: left; transition: background-color var(--ds-transition-fast), color var(--ds-transition-fast); width: 100%; }
.sidebar__nav-item:hover { background: var(--ds-color-sidebar-hover); color: var(--ds-color-paper); }
.sidebar__nav-item.is-active { background: var(--ds-color-paper); color: var(--ds-color-ink); }
.sidebar__footer { border-top: 1px solid var(--ds-color-sidebar-border); padding: 1rem; position: relative; }
.profile-menu { background: #171717; border: 1px solid #404040; bottom: 5.125rem; box-shadow: var(--ds-shadow-raised); left: 1rem; padding: 0.5rem; position: absolute; right: 1rem; }
.profile-menu__item { color: #d4d4d4; display: block; font-size: 0.875rem; padding: 0.75rem; text-align: left; width: 100%; }
.profile-menu__item:hover, .profile-trigger:hover { background: var(--ds-color-sidebar-hover); color: var(--ds-color-paper); }
.profile-menu__item--strong { color: var(--ds-color-paper); font-weight: 600; }
.profile-trigger { align-items: center; display: flex; gap: 0.75rem; margin-bottom: 0.75rem; padding: 0.5rem 0.75rem; text-align: left; width: 100%; }
.profile-trigger__avatar { align-items: center; background: var(--ds-color-accent); color: var(--ds-color-ink); display: flex; font-size: 0.75rem; font-weight: 700; height: 2.25rem; justify-content: center; width: 2.25rem; }
.profile-trigger__identity { flex: 1; min-width: 0; }
.profile-trigger__name { font-size: 0.875rem; font-weight: 600; }
.profile-trigger__role { color: var(--ds-color-text-muted); font-size: 0.75rem; }
.profile-trigger__chevron { color: var(--ds-color-text-muted); font-size: 0.75rem; transition: transform var(--ds-transition-fast); }
.profile-trigger__chevron.is-open { transform: rotate(180deg); }
.sidebar__credit { color: #525252; font-size: 0.625rem; padding-inline: 0.75rem; }
.nav-backdrop { background: rgb(0 0 0 / 50%); inset: 0; position: fixed; z-index: 30; }
.app-main { padding-top: 4rem; }
.desktop-header { display: none; }
.page-content { margin-inline: auto; max-width: 93.75rem; padding: 1.5rem; }
.toast { align-items: center; background: var(--ds-color-ink); bottom: 1.5rem; box-shadow: var(--ds-shadow-raised); color: var(--ds-color-paper); display: flex; font-size: 0.875rem; font-weight: 600; gap: 0.75rem; padding: 1rem 1.25rem; position: fixed; right: 1.5rem; z-index: 60; }
.toast__icon { align-items: center; background: var(--ds-color-accent); color: var(--ds-color-ink); display: flex; height: 1.5rem; justify-content: center; width: 1.5rem; }

@media (min-width: 640px) {
    .page-header { align-items: flex-end; flex-direction: row; justify-content: space-between; }
    .page-header__subtitle { font-size: 1rem; }
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid, .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-content { padding: 2rem; }
}

@media (min-width: 768px) {
    .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .login { display: grid; grid-template-columns: 1.1fr 0.9fr; }
    .login__hero { background: var(--ds-color-ink); color: var(--ds-color-paper); display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; padding: 3rem; position: relative; }
    .login__pattern { background-image: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.6)), url("/images/login-lookbook.jpg"); background-position: center; background-repeat: no-repeat; background-size: cover; inset: 0; position: absolute; }
    .login__brand { position: relative; z-index: 1; }
    .login__hero-content { margin-top: auto; max-width: 36rem; padding-bottom: 2rem; position: relative; z-index: 1; }
    .login__eyebrow { color: var(--ds-color-accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em; margin-bottom: 1.25rem; text-transform: uppercase; }
    .login__headline { font-family: var(--ds-font-display); font-size: 3.75rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; text-transform: uppercase; }
    .login__hero-copy { color: #d4d4d4; font-size: 1.125rem; line-height: 1.75rem; margin-top: 1.75rem; max-width: 28rem; }
    .login__mobile-logo, .mobile-header, .nav-backdrop { display: none; }
    .sidebar { transform: translateX(0); }
    .app-main { margin-left: var(--ds-sidebar-width); padding-top: 0; }
    .desktop-header {
        align-items: center;
        background: var(--ds-color-paper);
        border-bottom: 1px solid var(--ds-color-border);
        display: flex;
        font-size: 0.75rem;
        font-weight: 700;
        height: var(--desktop-header-height);
        justify-content: space-between;
        letter-spacing: 0.2em;
        padding-inline: 2rem;
        text-transform: uppercase;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

@media (min-width: 1280px) {
    .card-grid, .season-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-content { padding: 3rem; }
    .desktop-header { padding-inline: 3rem; }
}

@media (max-width: 900px) {
    .products-grid, .setup-grid { min-width: 850px; }
}

#powered-by {
    padding-top: 20px;
    margin-bottom: -20px;
    font-size: 0.7rem;
    color: #333;
    display: flex;
    align-items:center;
    justify-content: end;
}

.imageLogo {
    padding-left: 5px;
    width: 50px;
}

.warning {
    color: var(--ds-color-warning-text);
    margin-top: 10px;
    font-size: 0.8rem;
}

/*body, html {*/
/*    --activeColor: rgb(195, 41, 28);*/
/*    --activeColorDisabled: rgb(195, 41, 28, 0.5);*/
/*    --activeColorHover: rgb(195, 41, 28, 0.85);*/
/*    --secondaryActiveColorHover: rgb(195, 41, 28, 0.1);*/
/*}*/
/**/
/*body, html {*/
/*    */
/*  --primaryFontColor: rgb(17, 24, 39);*/
/*  --secondaryFontColor: rgb(107, 114, 128);*/
/*  --lightBorderColor: rgb(107, 114, 128, 0.5);*/
/*  --grayBackgroundColor: rgb(243, 244, 246);*/
/*  */
/*  margin: 0;*/
/*  padding: 0;*/
/*  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/
/*  color: var(--primaryFontColor);*/
/*}*/
/**/
/*textarea {*/
/*    font-size: 1rem;*/
/*}*/
/**/
/*h3 {*/
/*    font-weight: normal;*/
/*}*/
/**/
/*.preloadedImage {*/
/*    width:1px;*/
/*    height:1px;*/
/*    display:none;*/
/*}*/
/**/
/*.container {*/
/*  display: grid;*/
/*  height: 100vh;*/
/*  overflow: hidden;*/
/*  grid-template-columns: 12rem 1fr;*/
/*  grid-template-rows: 4rem 1fr;*/
/*  grid-template-areas:*/
/*    "nav header"*/
/*    "nav content"*/
/*/*    "nav footer";*/*/
/*}*/
/**/
/*.nav-menu-toggle {*/
/*    position: absolute;*/
/*    opacity: 0;*/
/*    pointer-events: none;*/
/*}*/
/**/
/*.nav-menu-button,*/
/*.nav-menu-backdrop {*/
/*    display: none;*/
/*}*/
/**/
/*.logo-container {*/
/*    width: 80%;*/
/*    padding-left: 10%;*/
/*    padding-top: 2rem;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    flex-direction: column;*/
/*    gap: 0.4rem;*/
/*}*/
/**/
.club-switcher {
    position: relative;
    width: auto;
}

.club-switcher summary {
    list-style: none;
}

.club-switcher summary::-webkit-details-marker {
    display: none;
}

.club-switcher-summary {
    cursor: pointer;
    outline: none;
}

.club-switcher-summary .logo-container {
    width: calc(100% - 2rem);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.club-switcher-name {
    text-align: center;
}

.club-switcher-menu {
    position: absolute;
    background: var(--ds-color-ink-secondary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
}

.club-switcher-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    color: white;
    text-decoration: none;
}

.club-switcher-item:hover {
    background: var(--ds-color-sidebar-hover);
}

.club-switcher-item.current {
    background: var(--ds-color-sidebar-hover);
}

.club-switcher-item-logo {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex: 0 0 auto;
}

a {
    color: var(--ds-color-ink);
}

/*.logo {*/
/*    max-height: 100%;*/
/*    width: 100%;*/
/*}*/
/**/
/*header {*/
/*  grid-area: header;*/
/*  background-color: #fff;*/
/*  margin: 0 0 3px 0;*/
/*  box-shadow: 0px 2px 3px #eee;*/
/*  */
/*  padding-left: 2rem;*/
/*  padding-right: 2rem;*/
/*  */
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: space-between;*/
/*}*/
/**/
/*header a {*/
/*    text-decoration: none;*/
/*    color: var(--activeColor);*/
/*}*/
/**/
/*header a:hover {*/
/*    text-decoration: underline;*/
/*}*/
/**/
/*nav {*/
/*  grid-area: nav;*/
/*  position: relative;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 2rem;*/
/*  background-color: rgb(13, 20, 31);*/
/*  color: white;*/
/*  overflow-x: hidden;*/
/*  overflow-y: auto;*/
/*  scrollbar-gutter: stable;*/
/*  z-index: 400;*/
/*}*/
/**/
nav ul {
  list-style-type: none; /* Remove bullet points */
  padding: 0 1rem 0 1rem;
}

nav ul li.nav-group-header {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondaryFontColor, #888);
    padding: 1.2rem 0 0.3rem 0;
    pointer-events: none;
    user-select: none;
    list-style: none;
}

nav ul li a {
    color: #a3a3a3;
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem;
    text-align: left;
    transition: background-color var(--ds-transition-fast),
    color var(--ds-transition-fast);
    width: 100%;
/*  color: rgb(156, 163, 175);*/
  text-decoration: none;
/*  font-size: 18px;*/
/*  display: block;*/
/*  padding: 10px;*/
/*  border-radius: 5px;*/
}

nav ul li a:hover {
    color: color: var(--ds-color-paper);
    background: var(--ds-color-sidebar-hover);
}

nav ul li a.current {
    color: var(--ds-color-ink);
    background: var(--ds-color-paper);
}

.primaryButton {
    text-decoration: none;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    font-family: var(--ds-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    height: var(--ds-control-height);
    justify-content: center;
    letter-spacing: var(--ds-tracking-label);
    padding-inline: 1.5rem;
    text-transform: uppercase;
    transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast);
    background: var(--ds-color-ink);
    border-color: var(--ds-color-ink);
    color: var(--ds-color-paper);
}

.primaryButton:hover {
    background: var(--ds-color-text-secondary);
}

.primaryButtonSmall {
    text-decoration: none;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    font-family: var(--ds-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    height: var(--ds-control-height-sm);
    justify-content: center;
    letter-spacing: var(--ds-tracking-label);
    padding-inline: 0.75rem;
    text-transform: uppercase;
    transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast);
    background: var(--ds-color-ink);
    border-color: var(--ds-color-ink);
    color: var(--ds-color-paper);
}

.primaryButtonSmall:hover {
    background: var(--ds-color-text-secondary);
}

.secondaryButton {
    text-decoration: none;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    font-family: var(--ds-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    height: var(--ds-control-height);
    justify-content: center;
    letter-spacing: var(--ds-tracking-label);
    padding-inline: 1.5rem;
    text-transform: uppercase;
    transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast);
    
    background: var(--ds-color-paper);
    border-color: var(--ds-color-ink);
    color: var(--ds-color-ink);
}

.secondaryButton:hover, .ds-button--ghost:hover { background: var(--ds-color-surface-subtle); }

.destructiveButton {
    text-decoration: none;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    font-family: var(--ds-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    height: var(--ds-control-height);
    justify-content: center;
    letter-spacing: var(--ds-tracking-label);
    padding-inline: 1.5rem;
    text-transform: uppercase;
    transition: background-color var(--ds-transition-fast), border-color var(--ds-transition-fast), color var(--ds-transition-fast);
    
    background: var(--ds-color-warning-text);
    border-color: var(--ds-color-warning-text);
    color: var(--ds-color-paper);
}

.destructiveButton:hover { opacity: 0.8; }

/*.ds-button--large { height: var(--ds-control-height-lg); }*/
/*.ds-button--spread { justify-content: space-between; }*/

.primaryButton:disabled { background: var(--ds-color-border); border-color: var(--ds-color-border); color: var(--ds-color-text-muted); cursor: not-allowed; }
.secondaryButton:disabled { background: var(--ds-color-border); border-color: var(--ds-color-border); color: var(--ds-color-text-muted); cursor: not-allowed; }

.secondaryToolbar {
/*    position: sticky;*/
/*    top: 0px;*/
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: right;
    align-items: center;
    padding-block: 1rem;
    margin: 0 0 3px 0;
/*    z-index:100; /* HACK switches are on top otherwise */*/
}

.selectInput {
    background: var(--ds-color-paper);
    border: 1px solid var(--ds-color-border);
    color: var(--ds-color-ink);
    height: var(--ds-control-height);
    outline: none;
    padding-inline: 1rem;
    transition: border-color var(--ds-transition-fast), box-shadow var(--ds-transition-fast);
    
    font-family: var(--ds-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.textInput {
    border: 1px solid var(--ds-color-border);
    outline:none;
    padding: 10px 5px;
    font-size: 1rem;
}
    
/*    appearance: none;*/
/*    border: 1px solid black;*/
/*    padding: 10px 30px 10px 10px;*/
/*    font-size: 1rem;*/
/*    outline: none;*/
/*    */
/*    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");*/
/*    background-repeat: no-repeat;*/
/*    background-position: right 10px center;*/
/*}*/

/*.secondary {*/
/*    background-color: white;*/
/*    color: var(--activeColor);*/
/*    border: 1px solid var(--activeColor);*/
/*    border-radius: 10px; /* Adjust this value for more or less rounded corners */*/
/*    padding: 10px 20px;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*}*/
/**/
/*.secondary:hover {*/
/*    background-color: var(--secondaryActiveColorHover);*/
/*}*/
/**/
/*input[type="checkbox"]:checked {*/
/*    accent-color: var(--activeColor);*/
/*}*/
/**/


/*main {*/
/*  grid-area: content;*/
/*  background-color: white;*/
/*  overflow-y: scroll;*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/
/**/
/*/*footer {*/*/
/*/*  grid-area: footer;*/*/
/*/*  background-color: #222;*/*/
/*/*  color: #ddd;*/*/
/*/*  padding: 1rem;*/*/
/*/*  */*/
/*/*  display: flex;*/*/
/*/*  align-items: center;*/*/
/*/*  justify-content: center;*/*/
/*/*}*/*/
/**/


/**/
/*.opacity30 {*/
/*    filter:alpha(opacity=30);*/
/*    -moz-opacity:0.3;*/
/*    -khtml-opacity: 0.3; opacity: 0.3;*/
/*}*/
/**/
/*span.badgePositive {*/
/*    background-color: rgb(240, 253, 244);*/
/*    border: 1px solid rgb(229, 231, 235);*/
/*    border-radius: 6px;*/
/*    color: rgb(21, 128, 61);*/
/*    padding-bottom: 4px;*/
/*    padding-top: 4px;*/
/*    padding-left: 8px;*/
/*    padding-right: 8px;*/
/*    font-size: 0.8rem;*/
/*    white-space: nowrap;*/
/*}*/
/**/
/*@media (max-width: 768px) {*/
/*    .container {*/
/*        grid-template-columns: 1fr;*/
/*        grid-template-rows: 4rem 1fr;*/
/*        grid-template-areas:*/
/*            "header"*/
/*            "content";*/
/*    }*/
/**/
/*    header {*/
/*        padding-left: 0.75rem;*/
/*        padding-right: 1rem;*/
/*        gap: 0.75rem;*/
/*    }*/
/**/
/*    header h2 {*/
/*        min-width: 0;*/
/*        overflow: hidden;*/
/*        text-overflow: ellipsis;*/
/*        white-space: nowrap;*/
/*    }*/
/**/
/*    .nav-menu-button {*/
/*        display: inline-flex;*/
/*        width: 2.5rem;*/
/*        height: 2.5rem;*/
/*        flex: 0 0 2.5rem;*/
/*        align-items: center;*/
/*        justify-content: center;*/
/*        flex-direction: column;*/
/*        gap: 0.3rem;*/
/*        border: 1px solid rgb(229, 231, 235);*/
/*        border-radius: 6px;*/
/*        cursor: pointer;*/
/*        background-color: white;*/
/*    }*/
/**/
/*    .nav-menu-button span {*/
/*        display: block;*/
/*        width: 1.15rem;*/
/*        height: 2px;*/
/*        border-radius: 999px;*/
/*        background-color: var(--primaryFontColor);*/
/*    }*/
/**/
/*    nav {*/
/*        position: fixed;*/
/*        top: 0;*/
/*        left: 0;*/
/*        bottom: 0;*/
/*        width: min(18rem, 85vw);*/
/*        transform: translateX(-100%);*/
/*        transition: transform 180ms ease;*/
/*        box-shadow: none;*/
/*        z-index: 1000;*/
/*    }*/
/**/
/*    .nav-menu-toggle:checked ~ nav {*/
/*        transform: translateX(0);*/
/*        box-shadow: 16px 0 32px rgba(0, 0, 0, 0.18);*/
/*    }*/
/**/
/*    .nav-menu-backdrop {*/
/*        position: fixed;*/
/*        inset: 0;*/
/*        background-color: rgba(17, 24, 39, 0.45);*/
/*        z-index: 900;*/
/*    }*/
/**/
/*    .nav-menu-toggle:checked ~ .nav-menu-backdrop {*/
/*        display: block;*/
/*    }*/
/**/
/*    .secondaryToolbar {*/
/*        flex-direction: column;*/
/*        align-items: flex-end;*/
/*        justify-content: flex-start;*/
/*        gap: 0.75rem;*/
/*        padding: 1rem;*/
/*        margin: 0;*/
/*        box-shadow: none;*/
/*        border-bottom: none;*/
/*    }*/
/*}*/
/**/
/*span.badgeNeutral {*/
/*    background-color: rgb(244, 244, 244);*/
/*    border: 1px solid rgb(229, 229, 229);*/
/*    border-radius: 6px;*/
/*    color: rgb(21, 21, 21);*/
/*    padding-bottom: 4px;*/
/*    padding-top: 4px;*/
/*    padding-left: 8px;*/
/*    padding-right: 8px;*/
/*    font-size: 0.8rem;*/
/*    white-space: nowrap;*/
/*}*/
/**/
/*span.badgeNegative {*/
/*    background-color: rgb(252, 243, 242);*/
/*    border: 1px solid rgb(248, 222, 221);*/
/*    border-radius: 6px;*/
/*    color: rgb(177, 30, 27);*/
/*    padding-bottom: 4px;*/
/*    padding-top: 4px;*/
/*    padding-left: 8px;*/
/*    padding-right: 8px;*/
/*    font-size: 0.8rem;*/
/*    white-space: nowrap;*/
/*}*/
