:root {
  --surface: #fff;
  --surface-muted: #f4f4f5;
  --surface-soft: #fafafa;
  --text: #18181b;
  --text-muted: #71717a;
  --text-soft: #a1a1aa;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --sidebar: #202124;
  --sidebar-hover: rgba(255,255,255,.08);
  --sidebar-active: rgba(255,255,255,.14);
  --primary: #27272a;
  --primary-hover: #3f3f46;
  --success: #3c763d;
  --danger: #a94442;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--text); background: var(--surface-muted); font-size: 13px; line-height: 1.42857143; }
a { color: #337ab7; text-decoration: none; }
a:hover { color: #23527c; text-decoration: underline; }
button, input, select { font: inherit; }
.menu-toggle { display: none; }

.demo-read-only-banner {
  position: fixed;
  z-index: 1400;
  inset: 0 0 auto;
  min-height: 32px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #614800;
  border-bottom: 1px solid #e5cf7a;
  background: #fff3bf;
  text-align: center;
}
.demo-read-only .navbar { top: 32px; }
.demo-read-only .sidebar { top: 83px; }
.demo-read-only .page-wrapper { padding-top: 102px; }
.demo-read-only .auth-content { padding-top: 112px; }

.navbar {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 51px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(24,24,27,.08);
}
.navbar-brand { width: 220px; display: flex; align-items: center; padding: 6px 16px; background: #fff; }
.navbar-brand a { display: flex; align-items: center; }
.navbar-brand img { width: auto; max-width: 184px; height: 34px; object-fit: contain; }
.navbar-toggle { display: none; }
.top-nav { margin-left: auto; display: flex; align-items: stretch; }
.managed-team-selector { min-width: 230px; padding: 5px 14px; display: grid; align-content: center; border-right: 1px solid var(--border); }
.managed-team-selector label { color: var(--text-muted); font-size: 10px; font-weight: 600; line-height: 1.1; }
.managed-team-selector select { width: 100%; max-width: 280px; padding: 1px 24px 1px 0; border: 0; color: var(--text); background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.managed-team-selector select:focus { outline: 2px solid var(--border-strong); outline-offset: 2px; }
.top-dropdown { position: relative; }
.top-dropdown summary { height: 50px; padding: 0 15px; display: flex; align-items: center; gap: 6px; color: var(--text-muted); cursor: pointer; list-style: none; user-select: none; }
.top-dropdown summary::-webkit-details-marker { display: none; }
.top-dropdown summary:hover, .top-dropdown[open] summary { color: var(--text); background: var(--surface-muted); }
.top-dropdown summary small { font-size: 11px; }
.top-icon { font-size: 14px; }
.caret { margin-left: 2px; font-size: 10px; }
.notification-badge { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; color: #fff; background: #a94442; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }
.top-dropdown-menu { position: absolute; z-index: 1100; top: 50px; right: 0; min-width: 210px; padding: 7px 0; border: 1px solid var(--border-strong); border-radius: 0 0 4px 4px; background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.14); }
.user-menu a, .dropdown-button { width: 100%; padding: 8px 16px; display: block; border: 0; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.user-menu a:hover, .dropdown-button:hover { background: var(--surface-muted); text-decoration: none; }
.user-notifications summary { position: relative; min-width: 42px; justify-content: center; }
.user-notifications summary .grid-action-icon { width: 17px; height: 17px; }
.notification-badge { position: absolute; top: 7px; right: 3px; }
.is-hidden { display: none !important; }
.notifications-menu { width: 380px; padding: 0; }
.notifications-header { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6e6e6; }
.notifications-clear-all { padding: 0; border: 0; color: #555; background: transparent; font-size: 11px; cursor: pointer; }
.notifications-clear-all:hover { color: #111; text-decoration: underline; }
.notifications-list { max-height: 430px; overflow-y: auto; }
.notification-item { padding: 12px 14px; display: flex; gap: 10px; border-bottom: 1px solid #eee; background: #fff; }
.notification-item:last-child { border-bottom: 0; }
.notification-item.is-unread { background: #fff7f7; }
.notification-content { min-width: 0; flex: 1; }
.notification-content time { margin-bottom: 4px; display: block; color: #888; font-size: 11px; }
.notification-title { display: block; color: #333; font-weight: 700; line-height: 1.25; }
a.notification-title:hover { color: #111; text-decoration: underline; }
.notification-content p { margin: 4px 0 0; color: #666; font-size: 12px; line-height: 1.35; }
.notification-delete { width: 22px; height: 22px; padding: 0; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border: 0; color: #777; background: transparent; cursor: pointer; }
.notification-delete:hover { color: #d9534f; }
.notifications-empty { padding: 30px 16px; display: grid; justify-items: center; gap: 8px; color: #888; text-align: center; }
.notifications-empty .grid-action-icon { width: 24px; height: 24px; color: #aaa; }

.sidebar { position: fixed; z-index: 900; top: 51px; bottom: 0; left: 0; width: 220px; overflow-y: auto; border-right: 1px solid rgba(15,23,42,.24); background: var(--sidebar); }
.sidebar-nav ul { margin: 0; padding: 0; list-style: none; }
.sidebar-nav li a { position: relative; padding: 9px 15px; display: flex; align-items: center; color: #e4e4e7; border-top: 1px solid rgba(255,255,255,.06); font-weight: 500; transition: .15s; }
.sidebar-nav li a:hover { padding-left: 17px; color: #fff; background: var(--sidebar-hover); text-decoration: none; }
.sidebar-nav li.active a { color: #fff; background: var(--sidebar-active); }
.sidebar-nav li.active a::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: #d4d4d8; }
.sidebar-icon { width: 18px; margin-right: 8px; color: #d4d4d8; text-align: center; font-size: 16px; }
.sidebar-section-heading { margin-top: 8px; padding: 4px 16px; color: #a1a1aa; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-folder details > summary { position: relative; padding: 9px 15px; display: flex; align-items: center; color: #e4e4e7; border-top: 1px solid rgba(255,255,255,.06); font-weight: 500; cursor: pointer; list-style: none; transition: .15s; }
.sidebar-folder details > summary::-webkit-details-marker { display: none; }
.sidebar-folder details > summary:hover, .sidebar-folder.active-folder details > summary { color: #fff; background: var(--sidebar-hover); }
.sidebar-arrow { margin-left: auto; color: #a1a1aa; font-size: 17px; transform: rotate(-90deg); transition: transform .15s ease; }
.sidebar-folder details[open] .sidebar-arrow { transform: rotate(90deg); }
.sidebar-folder details ul a { padding: 8px 15px 8px 41px; color: #d4d4d8; background: rgba(255,255,255,.025); font-size: 12px; box-shadow: inset 1px 0 0 rgba(255,255,255,.06); }
.sidebar-folder details ul a:hover { padding-left: 43px; background: var(--sidebar-hover); }
.sidebar-folder details ul li.active a { color: #fff; background: #2f3033; }

.page-wrapper { min-height: 100vh; margin-left: 220px; padding: 70px 20px 30px; background: #fff; }
.page-header { margin: 0 -20px 14px; padding: 0 20px 10px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 24px; font-weight: 400; line-height: 1.15; }
.page-header small { margin-left: 8px; color: var(--text-muted); font-size: 14px; font-weight: 400; }
.page-header--with-context { display: flex; align-items: center; gap: 18px; }
.page-header__identity { min-width: 0; display: flex; align-items: baseline; flex: 0 1 auto; white-space: nowrap; }
.page-header__context { min-width: 0; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px 16px; color: var(--text-muted); font-size: 12px; font-weight: 400; line-height: 1.25; }
.page-header__context-item { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.page-header__context-label { color: #909098; font-size: 10px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.page-header__context-value { color: #4b4b52; font-weight: 600; }
.page-section { max-width: 100%; }
.alert { position: relative; min-height: 44px; margin-bottom: 18px; padding: 11px 48px 11px 15px; display: flex; align-items: center; border: 1px solid transparent; border-radius: 6px; }
.alert__content { min-width: 0; flex: 1; }
.alert__dismiss { position: absolute; top: 50%; right: 10px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: currentColor; background: transparent; font-size: 21px; line-height: 1; opacity: .68; cursor: pointer; transform: translateY(-50%); }
.alert__dismiss:hover, .alert__dismiss:focus-visible { background: rgba(255,255,255,.55); opacity: 1; }
.alert-success { color: #3c763d; border-color: #d6e9c6; background: #dff0d8; }
.alert-danger { color: #a94442; border-color: #ebccd1; background: #f2dede; }
.alert-warning { color: #8a5b00; border-color: #faebcc; background: #fcf8e3; }
.impersonation-alert .alert__content { display: flex; align-items: center; justify-content: center; gap: 12px; }
.impersonation-alert form { margin: 0; }

.index-toolbar { min-height: 34px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.index-toolbar__left, .index-toolbar__right { display: flex; align-items: center; gap: 8px; }
.toolbar-label { color: var(--text-muted); font-weight: 600; }
.filter-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; color: #fff; background: #71717a; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
.filter-toggle, .alert-panel-toggle { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle-button { min-width: 0; border-radius: 999px; font-weight: 600; }
.filter-toggle-button .grid-action-icon { width: 13px; height: 13px; }
.filter-chevron { font-size: 14px; transition: transform .16s ease; }
.filter-toggle:not(:checked) ~ .index-toolbar .filter-chevron { transform: rotate(180deg); }
.filter-toggle:not(:checked) ~ .datagrid-form { display: none; }
.datagrid-alert-panel__toggle { margin-left: 8px; cursor: pointer; }
.datagrid-alert-panel__count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: #52525b; font-size: 11px; font-weight: 700; }
.alert-panel-chevron { font-size: 14px; transition: transform .16s ease; }
.alert-panel-toggle:checked ~ .index-toolbar .alert-panel-chevron { transform: rotate(180deg); }
.alert-panel-toggle:not(:checked) ~ .datagrid-alert-panel { display: none; }
.datagrid-alert-panel { margin-bottom: 18px; }
.index-alerts { max-height: 420px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); box-shadow: 0 1px 2px rgba(24,24,27,.06); }
.index-alerts--empty { color: var(--text-muted); }
.index-alerts__record { padding: 10px 0; border-bottom: 1px solid var(--border); }
.index-alerts__record:first-child { padding-top: 0; }
.index-alerts__record:last-child { padding-bottom: 0; border-bottom: 0; }
.index-alerts__record-heading { margin-bottom: 6px; font-weight: 600; }
.index-alerts__meta { margin-left: 8px; color: var(--text-muted); font-weight: 400; }
.index-alerts__line { padding: 3px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.35; }
.index-alerts__line .grid-action-icon { width: 13px; height: 13px; margin-top: 2px; flex: 0 0 auto; color: #a66a00; }
.index-alerts__action { margin-left: 8px; white-space: nowrap; }
.btn { min-height: 36px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border-strong); border-radius: 8px; color: #333; background: #fff; font-weight: 500; line-height: 1.1; cursor: pointer; }
.btn:hover { border-color: #adadad; color: #333; background: #e6e6e6; text-decoration: none; }
.btn-primary { border-color: #1f1f22; color: #fff; background: var(--primary); }
.btn-primary:hover { border-color: #1f1f22; color: #fff; background: var(--primary-hover); }
.btn-xs { min-height: 24px; padding: 2px 7px; font-size: 11px; }
.btn-icon { font-size: 15px; line-height: 1; }

.datagrid-form { margin-bottom: 18px; padding: 10px 12px 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); box-shadow: 0 1px 2px rgba(24,24,27,.06); }
.datagrid-form-inputs { display: flex; flex-wrap: wrap; align-items: stretch; }
.filter-group { position: relative; min-width: 180px; margin: 8px 10px 10px 0; padding: 20px 9px 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.filter-group label { position: absolute; top: 6px; left: 9px; color: var(--text-muted); font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.filter-group-label { position: absolute; top: 6px; left: 9px; color: var(--text-muted); font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.filter-group input, .filter-group select { width: 250px; max-width: 100%; height: 30px; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text); background: #fff; outline: none; }
.filter-group .filter-checkbox { position: static; min-height: 30px; display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.filter-group .filter-checkbox input { width: auto; height: auto; margin: 0; padding: 0; }
.filter-group input:focus, .filter-group select:focus { border-color: #737373; box-shadow: 0 0 0 2px rgba(39,39,42,.1); }
.datagrid-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 0; }
.datagrid-form-actions .btn { min-width: 118px; border-radius: 999px; }
.datagrid-form-actions .btn-default { background: transparent; }

.grid-container { width: 100%; overflow-x: auto; }
.table { width: 100%; max-width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 8px; border-top: 1px solid var(--border); vertical-align: middle; text-align: left; }
.table thead th { border-top: 0; border-bottom: 1px solid var(--border); color: #3f3f46; background: #f4f4f5; font-size: 12px; font-weight: 700; white-space: nowrap; }
.table-striped tbody tr:nth-of-type(odd) td { background: #fafafa; }
.table-striped tbody tr:nth-of-type(even) td { background: #fff; }
.table tbody tr:hover td { background: #f4f4f5; }
.order-link { display: inline-flex; align-items: center; gap: 4px; color: #3f3f46; }
.order-link:hover { color: #18181b; text-decoration: none; }
.order-arrows { font-size: 11px; font-weight: 400; letter-spacing: -2px; }
.grid-actions { width: 1%; text-align: right !important; white-space: nowrap; }
.table-actions { width: 1px; padding-right: 25px !important; padding-left: 25px !important; white-space: nowrap; text-align: left !important; }
.table-actions a, .grid-action-button { width: 22px; height: 22px; margin-right: 8px; padding: 0; display: inline-flex; align-items: center; justify-content: flex-start; border: 0; color: #3f3f46; background: transparent; vertical-align: middle; cursor: pointer; }
.table-actions a:last-child, .grid-action-form:last-child .grid-action-button { margin-right: 0; }
.table-actions a:hover, .grid-action-button:hover { color: #18181b; text-decoration: none; }
.grid-action-form { display: inline-block; margin: 0; }
.grid-action-icon { width: 14px; height: 14px; fill: currentColor; }
.grid-action-danger:hover { color: #b42318; }
.grid-action-button:disabled { color: #c4c4c7; cursor: not-allowed; }
.empty-row { padding: 28px !important; color: var(--text-muted); text-align: center !important; }
.status-label { padding: 3px 7px; display: inline-flex; align-items: center; border-radius: 3px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.availability-response { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.availability-response small { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.status-active { color: #3c763d; background: #dff0d8; }
.status-inactive { color: #a94442; background: #f2dede; }
.status-neutral { color: #52525b; background: #e4e4e7; }
.status-info { color: #245269; background: #d9edf7; }
.status-warning { color: #8a5b00; background: #fcf8e3; }
.status-success { color: #3c763d; background: #dff0d8; }
.status-danger { color: #a94442; background: #f2dede; }

.wellness-ai-intro { margin-bottom: 16px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.wellness-ai-intro h2 { margin: 4px 0 8px; }
.wellness-ai-intro p { max-width: 820px; margin: 0; color: var(--text-muted); line-height: 1.55; }
.wellness-ai-intro__count { min-width: 150px; padding: 14px 18px; border-radius: 8px; background: #fcf8e3; text-align: center; }
.wellness-ai-intro__count span { display: block; color: #8a5b00; font-size: 12px; }
.wellness-ai-intro__count strong { display: block; margin-top: 4px; color: #8a5b00; font-size: 28px; }
.wellness-ai-notice { margin-bottom: 16px; padding: 12px 16px; border-left: 4px solid #567c9d; background: #eef5f8; color: #245269; line-height: 1.45; }
.wellness-ai-generate { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.wellness-ai-generate span { color: var(--text-muted); font-size: 12px; }
.wellness-ai-results__summary { padding: 20px 22px 4px; line-height: 1.55; }
.wellness-ai-player-list { padding: 16px 22px 22px; display: grid; gap: 14px; }
.wellness-ai-player-card { padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.wellness-ai-player-card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wellness-ai-player-card__header h3, .wellness-ai-player-card h4 { margin: 0; }
.wellness-ai-player-card__focus { margin: 8px 0 16px; color: var(--text-muted); }
.wellness-ai-player-card__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.wellness-ai-player-card__columns h4 { font-size: 13px; }
.wellness-ai-player-card ul, .wellness-ai-team-actions ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.5; }
.wellness-ai-team-actions { margin: 0 22px 22px; padding: 18px; border-radius: 8px; background: #f4f4f5; }
.wellness-ai-team-actions h3 { margin: 0; }

@media (max-width: 767px) {
  .wellness-ai-intro { align-items: stretch; flex-direction: column; }
  .wellness-ai-generate { align-items: stretch; flex-direction: column; }
  .wellness-ai-player-card__columns { grid-template-columns: 1fr; }
}
.pagination-container { padding: 15px 0; display: flex; align-items: center; color: var(--text); font-size: 13px; }
.pagination-entries-info { min-width: 270px; }
.pagination-entries-info strong { font-weight: 700; }
.pagination-pages { flex-grow: 2; text-align: center; }
.pagination { margin: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; list-style: none; }
.pagination > li { display: inline-flex; }
.pagination > li > a, .pagination > li > span { width: 32px; min-width: 32px; height: 32px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e4e4e7; border-radius: 8px; color: #18181b; background: #fff; box-shadow: 0 1px 2px rgba(24,24,27,.08); font-size: 13px; font-weight: 600; line-height: 1; }
.pagination > li > a:hover { border-color: #d4d4d8; background: #f4f4f5; text-decoration: none; }
.pagination > .pagination-page-status > span { width: auto; min-width: auto; height: auto; padding: 0 10px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-weight: 400; line-height: 32px; }
.pagination > li.disabled > span { color: #a1a1aa; background: #fff; border-color: #e4e4e7; box-shadow: 0 1px 2px rgba(24,24,27,.04); cursor: not-allowed; }
.pagination-icon { width: 15px; height: 15px; display: block; overflow: visible; }
.pagination-icon--right { transform: rotate(180deg); }
.pagination-double-icon { display: inline-flex; align-items: center; justify-content: center; }
.pagination-double-icon .pagination-icon + .pagination-icon { margin-left: -7px; }
.pagination-limit-selector { display: inline-flex; align-items: center; }
.pagination-limit-selector > span { height: 32px; margin-right: 6px; display: inline-flex; align-items: center; }
.pagination-limit-selector .btn-group { display: inline-flex; align-items: center; }
.pagination-limit-selector .btn { min-height: 32px; height: 32px; margin-left: -1px; padding: 0 13px; border-radius: 0; font-size: 13px; line-height: 32px; }
.pagination-limit-selector .btn:first-child { margin-left: 0; border-radius: 8px 0 0 8px; }
.pagination-limit-selector .btn:last-child { border-radius: 0 8px 8px 0; }
.index-exports { margin: 0 0 15px; padding-top: 10px; border-top: 1px solid var(--border); text-align: right; }
.index-exports .export-text { margin-right: 10px; display: inline-block; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.index-exports .btn { min-width: 92px; margin-right: 8px; color: var(--text); border-color: var(--border-strong); background: #fff; }
.index-exports .btn:last-child { margin-right: 0; }
.index-exports .btn:hover { color: #18181b; border-color: #a1a1aa; background: var(--surface-soft); }
.audit-summary { margin-bottom: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.audit-summary dl { margin: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 18px; }
.audit-summary dt { color: var(--text-muted); font-weight: 600; }
.audit-summary dd { margin: 0; overflow-wrap: anywhere; }
.audit-changes td { max-width: 40vw; overflow-wrap: anywhere; }
.comments-thread { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 18px; }
.comments-thread h2 { margin: 0 0 16px; font-size: 17px; font-weight: 500; }
.comments-list { max-width: 900px; }
.comment-item { margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.comment-meta { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: 12px; }
.comment-meta strong { color: var(--text); }
.comment-meta form { margin-left: auto; }
.comment-delete { padding: 2px; display: inline-flex; border: 0; color: var(--text-muted); background: transparent; cursor: pointer; }
.comment-delete:hover { color: var(--danger); }
.comment-body p { margin: 8px 0 0; white-space: pre-wrap; }
.comments-empty { color: var(--text-muted); }
.comment-form { max-width: 900px; margin-top: 16px; }
.comment-form label { margin-bottom: 5px; display: block; font-size: 12px; font-weight: 600; }
.comment-form textarea { width: 100%; margin-bottom: 8px; padding: 9px; border: 1px solid var(--border-strong); border-radius: 8px; resize: vertical; }

.edit-form { width: 100%; }
.nav-tabs { margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--border); list-style: none; }
.nav-tabs li { margin-bottom: -1px; }
.nav-tabs a { padding: 10px 2px 11px; display: block; border-bottom: 2px solid transparent; color: var(--text-muted); font-weight: 500; }
.nav-tabs a:hover { color: var(--text); border-bottom-color: var(--border-strong); text-decoration: none; }
.nav-tabs li.active a { color: var(--text); border-bottom-color: #3f3f46; font-weight: 600; }
.tabs-mobile-navigation { display: none; }
.tab-pane { margin-top: 20px; }
.tab-pane[hidden] { display: none; }
.field { margin-bottom: 15px; }
.field label { margin-bottom: 5px; display: block; color: #3f3f46; font-size: 12px; font-weight: 600; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text); background: #fff; box-shadow: none; outline: none; }
.field input:not([type="checkbox"]), .field select { min-height: 32px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { border-color: #3f3f46; box-shadow: 0 0 0 3px rgba(24,24,27,.12); }
.field.role-field select { width: auto; min-width: 165px; }
.field.checkbox { display: flex; align-items: center; gap: 7px; }
.field.checkbox input { margin: 0; }
.field.checkbox label { margin: 0; color: #3f3f46; font-weight: 500; }
.checkbox-list { padding: 14px; border: 1px solid var(--border); border-radius: 8px; }
.checkbox-list legend { padding: 0 5px; color: #3f3f46; font-size: 12px; font-weight: 600; }
.checkbox-option { margin: 8px 0 0; display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.checkbox-option input { margin: 0; }
.field-help { margin: 0 0 9px; color: var(--text-muted); font-size: 12px; }
.form-actions { margin-top: 24px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.button { min-height: 34px; padding: 6px 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 4px; color: #333; background: #fff; cursor: pointer; }
.button.primary { border-color: #1f1f22; color: #fff; background: var(--primary); }
.button.secondary { background: #fff; }
.button.full { width: 100%; }
.form-errors { margin-bottom: 15px; padding: 10px 12px; color: var(--danger); border: 1px solid #ebccd1; border-radius: 4px; background: #f2dede; }
.nested-fields { position: relative; margin-bottom: 14px; padding: 16px 74px 1px 18px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(24,24,27,.05); }
.nested-fields__remove { position: absolute; top: 14px; right: 14px; }
.nested-form-links { margin-top: 4px; }

.hero-card { padding: 26px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.hero-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 400; }
.hero-card p { margin: 0; color: var(--text-muted); }
.hero-monogram { color: #d4d4d8; font-size: 48px; font-weight: 700; }
.eyebrow { margin: 0 0 5px; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-grid { margin: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.status-card { padding: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.status-card small, .status-card strong { display: block; }
.status-card small { color: var(--text-muted); }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; }
.status-dot.ready { background: #3c763d; }
.status-dot.pending { background: #a66a00; }
.panel { border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.panel-heading { padding: 12px 15px; border-bottom: 1px solid var(--border); }
.panel-heading h2 { margin: 0; font-size: 16px; }
.membership-summary { margin-top: 28px; }
.panel-actions { padding: 12px 15px; border-top: 1px solid var(--border); }
.crest-column { width: 64px; text-align: center; }
.crest-thumbnail { width: 38px; height: 38px; display: inline-block; object-fit: contain; }
.crest-placeholder { color: var(--text-soft); font-size: 24px; }
.crest-preview { width: 96px; height: 96px; margin: 0 0 10px; display: block; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.form-section { margin-bottom: 24px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.form-section-title { margin: -18px -18px 18px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--surface-soft); font-size: 16px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.field--wide { grid-column: 1 / -1; }
.positions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.radio-group { padding: 12px 0; border: 0; }
.radio-group legend { margin-bottom: 8px; color: #3f3f46; font-size: 12px; font-weight: 600; }
.radio-option { margin-right: 16px; display: inline-flex !important; align-items: center; gap: 6px; font-weight: 500 !important; }
.radio-option input { margin: 0; }
.player-photo-column { width: 58px; text-align: center; }
.player-photo-thumbnail { width: 38px; height: 38px; display: inline-block; border-radius: 50%; object-fit: cover; }
.player-photo-placeholder { color: var(--text-soft); font-size: 20px; }
.player-sport-name { text-transform: uppercase; }
.player-wellness-column { min-width: 470px; }
.wellness-results-column { min-width: 535px; }
.wellness-metric-boxes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(56px, 1fr); gap: 5px; }
.wellness-metric-boxes > span { min-width: 0; padding: 5px 6px; border: 1px solid var(--border); border-radius: 5px; background: #fff; text-align: center; }
.wellness-metric-boxes .wellness-metric-box--success { border-color: #c9e6c1; color: #2f6b35; background: #e8f5e4; }
.wellness-metric-boxes .wellness-metric-box--warning { border-color: #eadb91; color: #765b00; background: #fff7d6; }
.wellness-metric-boxes .wellness-metric-box--danger { border-color: #edc3c0; color: #963b38; background: #fbe7e6; }
.wellness-metric-boxes small, .wellness-metric-boxes strong { display: block; }
.wellness-metric-boxes small { overflow: hidden; color: var(--text-muted); font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wellness-metric-boxes strong { margin-top: 2px; font-size: 12px; font-weight: 600; }
.player-wellness-empty { display: block; color: var(--text-muted); font-size: 10px; }
.player-photo-preview { width: 120px; height: 150px; margin: 0 0 10px; display: block; object-fit: cover; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.player-photo-field [hidden] { display: none !important; }
.player-photo-field__preview { min-height: 150px; margin-bottom: 10px; display: flex; align-items: center; }
.player-photo-field__empty { width: 120px; height: 150px; padding: 14px; display: grid; place-items: center; border: 1px dashed var(--border-strong); border-radius: 8px; color: var(--text-muted); background: var(--surface-soft); text-align: center; }
.player-photo-field__actions, .photo-editor-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field label.photo-editor-trigger { min-width: 120px; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: #333; font-size: 13px; font-weight: 500; line-height: 1.1; }
.photo-editor-input { position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.photo-editor-status { min-height: 18px; margin: 7px 0; color: var(--text-muted); }
.photo-editor-status--error { color: var(--danger); }
.photo-editor-panel { max-width: 720px; margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.photo-editor-video { width: 100%; max-height: 62vh; margin-bottom: 10px; display: block; border-radius: 6px; background: #18181b; object-fit: contain; }
.photo-editor-instructions { margin: 0 0 9px; color: var(--text-muted); }
.photo-editor-crop-stage { height: min(58vh, 520px); margin-bottom: 10px; overflow: hidden; background: #18181b; }
.photo-editor-crop-stage > img { max-width: 100%; display: block; }
.photo-editor-crop-stage cropper-canvas { width: 100%; height: 100%; }
.participant-selector { max-height: 260px; overflow-y: auto; padding: 4px 12px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.participant-selector--columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.squad-selector { display: grid; gap: 12px; }
.squad-team { overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.squad-team__heading { min-height: 46px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.squad-team__heading h3 { margin: 0; color: #3f3f46; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.squad-team__players { padding: 10px 12px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.called-player-selector { display: grid; gap: 12px; }
.called-player-selector__heading { padding: 0 2px; display: flex; align-items: baseline; gap: 10px; }
.called-player-selector__heading h3 { margin: 0; color: #3f3f46; font-size: 14px; font-weight: 700; }
.called-player-selector__heading p { margin: 0; color: var(--text-muted); font-size: 11px; }
.called-player-grid { padding: 10px 12px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.called-player-option { min-width: 0; min-height: 52px; padding: 8px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; }
.called-player-option:has(input:checked) { border-color: #b8d9bd; background: #f3faf4; }
.called-player-option input { width: 18px; height: 18px; flex: 0 0 18px; }
.called-player-option__identity { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.called-player-option__identity strong, .called-player-option__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.called-player-option__identity strong { font-size: 12px; }
.called-player-option__identity small { margin-top: 2px; color: var(--text-muted); font-size: 10px; }
.called-player-option .availability-response { flex: 0 0 auto; }
.squad-other-teams { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.squad-other-teams > summary { min-height: 44px; padding: 0 14px; display: flex; align-items: center; color: #3f3f46; font-weight: 600; cursor: pointer; }
.squad-other-teams > summary::before { content: "›"; margin-right: 8px; color: var(--text-muted); font-size: 20px; transition: transform .15s; }
.squad-other-teams[open] > summary::before { transform: rotate(90deg); }
.squad-other-teams__content { padding: 0 12px 12px; display: grid; gap: 12px; }
.attendance-table small, .participant-name small { color: var(--text-muted); }
.attendance-checkbox { width: 20px; height: 20px; }
.attendance-toolbar { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.attendance-toolbar .field-help { margin: 0; }
.attendance-toolbar .btn { flex: 0 0 auto; }
.data-entry-table { min-width: 1500px; }
.data-entry-table--lineup-only { min-width: 850px; }
.data-entry-table th { white-space: nowrap; }
.data-entry-table td:not(.participant-name) { min-width: 82px; }
.data-entry-table .participant-name { min-width: 210px; }
.performance-entry-table { min-width: 1420px; }
.performance-entry-table .participant-name { min-width: 210px; }
.performance-entry-table .participant-name small { margin-top: 2px; display: block; color: var(--text-muted); }
.performance-entry-table input { width: 112px; min-height: 34px; padding: 5px 7px; border: 1px solid var(--border-strong); border-radius: 5px; }
.performance-entry-table td:last-child input { width: 220px; }
.data-entry-table input:not([type="checkbox"]), .data-entry-table select { width: 100%; min-height: 32px; padding: 5px; border: 1px solid var(--border-strong); border-radius: 5px; }
.data-entry-table .boolean-cell { min-width: 64px; text-align: center; }
.data-entry-table .boolean-cell input { width: 18px; height: 18px; }
.match-lineup-builder { margin: 17px 0 22px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.04); }
.match-lineup-builder__toolbar { min-height: 94px; padding: 15px 18px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.match-lineup-field-column { min-width: 0; display: grid; align-content: start; gap: 10px; }
.match-lineup-builder__toolbar--pitch { width: min(100%, 680px); min-height: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; justify-self: center; border: 0; background: transparent; }
.match-lineup-builder__toolbar--pitch .match-lineup-builder__formation { width: 100%; }
.match-lineup-builder__captain { width: 100%; margin: 0; }
.match-lineup-builder__captain select { width: 100%; min-height: 38px; }
.match-lineup-builder__captain .field-help { margin-bottom: 0; }
.match-lineup-builder__formation { width: min(100%, 330px); margin: 0; }
.match-lineup-builder__formation select { width: 100%; min-height: 38px; }
.match-lineup-builder__formation .field-help { margin-bottom: 0; }
.match-lineup-builder__post-match-help { margin: -7px 0 12px; }
.match-lineup-builder__workspace { padding: 18px; display: grid; grid-template-columns: minmax(500px, 720px) minmax(250px, 1fr); align-items: start; gap: 18px; background: #f4f6f4; }
.match-lineup-builder--selection .match-lineup-builder__workspace { grid-template-columns: minmax(560px, 1fr) minmax(480px, 680px) minmax(180px, 220px); }
.match-lineup-pitch { position: relative; width: min(100%, 680px); aspect-ratio: 68 / 82; justify-self: center; overflow: hidden; border: 3px solid #fff; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 12.5%, transparent 12.5%, transparent 25%), #438a55; box-shadow: 0 8px 22px rgba(28,67,38,.2); }
.match-lineup-pitch::before { content: ""; position: absolute; z-index: 0; inset: 0; border: 1px solid rgba(255,255,255,.86); pointer-events: none; }
.match-lineup-pitch__halfway { position: absolute; z-index: 0; top: 50%; right: 0; left: 0; border-top: 1px solid rgba(255,255,255,.9); }
.match-lineup-pitch__circle { position: absolute; z-index: 0; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; transform: translate(-50%, -50%); }
.match-lineup-pitch__circle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.match-lineup-pitch__area { position: absolute; z-index: 0; left: 25%; width: 50%; height: 15%; border: 1px solid rgba(255,255,255,.9); }
.match-lineup-pitch__area::after { content: ""; position: absolute; left: 25%; width: 50%; height: 35%; border: 1px solid rgba(255,255,255,.9); }
.match-lineup-pitch__area--top { top: 0; border-top: 0; }
.match-lineup-pitch__area--top::after { top: 0; border-top: 0; }
.match-lineup-pitch__area--bottom { bottom: 0; border-bottom: 0; }
.match-lineup-pitch__area--bottom::after { bottom: 0; border-bottom: 0; }
.match-lineup-slot { position: absolute; z-index: 2; top: var(--slot-y); left: var(--slot-x); width: 108px; display: flex; align-items: center; flex-direction: column; transform: translate(-50%, -50%); }
.match-lineup-slot__role { min-width: 34px; padding: 2px 5px; border-radius: 7px 7px 0 0; color: #245f34; background: rgba(255,255,255,.93); box-shadow: 0 2px 6px rgba(23,55,31,.16); font-size: 9px; font-weight: 800; text-align: center; }
.match-lineup-slot select { width: 108px; min-height: 29px; padding: 3px 20px 3px 5px; overflow: hidden; border: 2px solid rgba(255,255,255,.96); border-radius: 6px; color: #fff; background-color: rgba(29,74,41,.9); box-shadow: 0 3px 8px rgba(23,55,31,.24); font-size: 10px; font-weight: 700; text-overflow: ellipsis; }
.match-lineup-slot--assigned select { color: #183e23; background-color: #fff; }
.match-lineup-slot__player { width: 108px; min-height: 29px; padding: 6px 5px; overflow: hidden; border: 2px solid rgba(255,255,255,.96); border-radius: 6px; color: rgba(255,255,255,.78); background: rgba(29,74,41,.9); box-shadow: 0 3px 8px rgba(23,55,31,.24); font-size: 10px; font-weight: 700; line-height: 1.25; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.match-lineup-slot--assigned .match-lineup-slot__player { color: #183e23; background: #fff; }
.match-lineup-builder--readonly .match-lineup-builder__workspace { grid-template-columns: minmax(480px, 680px) minmax(0, 1fr); }
.match-lineup-builder--readonly .match-lineup-starters__list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.match-lineup-sidebars__summary { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); gap: 12px; }
.match-lineup-formation-summary { padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.match-lineup-formation-summary h3 { margin: 3px 0 2px; font-size: 22px; }
.match-lineup-formation-summary p { margin: 0; color: var(--text-muted); font-size: 11px; }
.match-lineup-formation-metrics { width: 100%; }
.match-lineup-formation-metrics .attendance-overview__metric { min-width: 0; flex: 1; }
.match-lineup-slot:focus-within { z-index: 4; }
.match-lineup-starters { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.match-lineup-sidebars { display: grid; gap: 14px; }
.match-lineup-starters__heading { padding: 14px 15px 12px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.match-lineup-starters__heading h3 { margin: 2px 0 5px; font-size: 16px; }
.match-lineup-starters__heading small { color: var(--text-muted); line-height: 1.35; }
.match-lineup-starters__heading--compact { display: flex; align-items: baseline; gap: 7px; padding-top: 10px; padding-bottom: 10px; }
.match-lineup-starters__heading--compact h3 { margin: 0; }
.match-lineup-starters__heading--compact > span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.match-lineup-starters__heading > .match-lineup-starters__heading--compact { padding: 0; }
.match-lineup-starters__empty { margin: 0; padding: 20px 15px; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.match-lineup-starters__empty[hidden] { display: none; }
.match-lineup-starters__list { max-height: 570px; padding: 10px; display: grid; gap: 7px; overflow-y: auto; }
.match-lineup-player { min-height: 46px; padding: 7px 8px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: grab; }
.match-lineup-player[hidden] { display: none; }
.match-lineup-player:active { cursor: grabbing; }
.match-lineup-player--assigned { border-color: #b8d9bd; background: #f1f8f2; }
.match-lineup-player--substitute { cursor: default; }
.match-lineup-player--convoked { min-height: 58px; display: grid; grid-template-columns: minmax(64px, 1fr) 58px minmax(92px, 115px); grid-template-areas: "identity jersey assignment"; gap: 8px; cursor: grab; }
.match-lineup-player--convoked .match-lineup-player__identity { grid-area: identity; }
.match-lineup-player--convoked .match-lineup-player__jersey { width: 100%; grid-area: jersey; }
.match-lineup-player--convoked .match-lineup-player__assignment { width: auto; grid-area: assignment; }
.match-lineup-convoked .match-lineup-starters__list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.match-lineup-player--convoked:active { cursor: grabbing; }
.match-lineup-player__jersey { width: 64px; flex: 0 0 64px; display: flex; flex-direction: column; gap: 2px; color: var(--text-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.match-lineup-player__jersey input { width: 100%; min-height: 30px; padding: 4px 6px; border: 1px solid var(--border-strong); border-radius: 5px; background: #fff; font-size: 12px; }
.match-lineup-player__assignment { width: 125px; flex: 0 0 125px; padding: 6px 8px; border-radius: 999px; color: #52525b; background: #f4f4f5; font-size: 10px; font-weight: 700; text-align: center; }
.match-lineup-player--assigned .match-lineup-player__assignment { color: #245f34; background: #e8f4e9; }
.match-lineup-bench--dropzone { border-style: dashed; }
.match-lineup-sidebars--bench .match-lineup-player { min-height: 42px; padding: 6px; gap: 6px; }
.match-lineup-sidebars--bench .match-lineup-player__number { width: 26px; height: 26px; flex-basis: 26px; }
.match-lineup-sidebars--bench .match-lineup-starters__heading { padding: 12px 10px 10px; }
.match-lineup-sidebars--bench .match-lineup-starters__list { padding: 7px; gap: 5px; }
.match-lineup-bench .match-lineup-player__number { background: #71717a; }
.match-lineup-print-action { display: flex; justify-content: flex-end; }
.match-lineup-print-action .btn { display: inline-flex; min-width: 170px; align-items: center; justify-content: center; gap: 8px; }
.match-lineup-player__number { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #286c3d; font-size: 11px; font-weight: 800; }
.match-lineup-player__identity { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.match-lineup-player__identity strong, .match-lineup-player__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-lineup-player__identity strong { font-size: 12px; }
.match-lineup-player__identity small { margin-top: 2px; color: var(--text-muted); font-size: 10px; }
.match-lineup-player__remove { width: 28px; height: 28px; flex: 0 0 28px; border: 0; border-radius: 50%; color: var(--text-muted); background: transparent; font-size: 19px; line-height: 1; cursor: pointer; }
.match-lineup-player__remove:hover { color: var(--danger); background: #fbe7e6; }
.empty-state { padding: 35px; color: var(--text-muted); text-align: center; }
.empty-state h3 { color: var(--text); }
.empty-icon { font-size: 24px; }

@media (min-width: 1600px) {
  .match-lineup-builder--readonly .match-lineup-starters__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dashboard-stat-grid { margin: 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-stat-card { min-height: 128px; padding: 17px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); text-decoration: none; }
.dashboard-stat-card:hover { border-color: var(--border-strong); background: var(--surface-soft); box-shadow: 0 9px 24px rgba(24,24,27,.08); text-decoration: none; transform: translateY(-1px); }
.dashboard-stat-card small { color: var(--text-muted); font-weight: 600; }
.dashboard-stat-card strong { margin: 7px 0 5px; font-size: 30px; font-weight: 500; line-height: 1; }
.dashboard-stat-card span { margin-top: auto; color: var(--text-muted); font-size: 12px; }
.dashboard-stat-card--attention strong { color: #a16207; }
.dashboard-stat-grid.coach-dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-dashboard-hero { padding: 24px 26px; border-radius: 16px; background: radial-gradient(circle at top right, rgba(111,161,102,.17), transparent 28%), linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.team-dashboard-hero h2 { margin-bottom: 7px; font-size: 28px; font-weight: 650; }
.team-dashboard-hero-link { margin-top: 12px; padding: 6px 10px; display: inline-flex; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); background: #fff; font-size: 11px; font-weight: 700; }
.team-dashboard-crest { width: 76px; height: 76px; flex: 0 0 auto; object-fit: contain; }
.dashboard-columns { margin-bottom: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dashboard-priority-section { margin-top: 18px; }
.dashboard-panel { overflow: hidden; border-radius: 14px; box-shadow: 0 7px 22px rgba(24,24,27,.05); }
.dashboard-panel-heading { min-height: 72px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.dashboard-panel-heading h2 { font-size: 18px; }
.dashboard-panel-link { flex: 0 0 auto; color: var(--text-muted); font-size: 12px; font-weight: 600; }
.dashboard-event { min-height: 82px; padding: 13px 18px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.dashboard-event:last-child { border-bottom: 0; }
.dashboard-event:hover { background: var(--surface-soft); text-decoration: none; }
.dashboard-event time { width: 52px; height: 58px; flex: 0 0 auto; display: grid; place-content: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); text-align: center; }
.dashboard-event time strong, .dashboard-event time span { display: block; line-height: 1; }
.dashboard-event time strong { font-size: 21px; font-weight: 700; }
.dashboard-event time span { margin-top: 4px; color: var(--text-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.dashboard-event-content { min-width: 0; flex: 1; }
.dashboard-event-content strong, .dashboard-event-content small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-event-content strong { font-size: 13px; font-weight: 600; }
.dashboard-event-content small { margin-top: 4px; color: var(--text-muted); }
.dashboard-event time.dashboard-event-date--training { border-color: #c8dfc2; color: #315f32; background: #edf7e9; }
.dashboard-event time.dashboard-event-date--training span { color: #527653; }
.dashboard-event time.dashboard-event-date--match { border-color: #f3c98d; color: #9a4d08; background: #fff1dc; }
.dashboard-event time.dashboard-event-date--match span { color: #ad641f; }
.dashboard-event-arrow { color: var(--text-soft); font-size: 24px; }
.dashboard-empty-state { min-height: 144px; display: grid; place-items: center; }
.dashboard-empty-state p { margin: 0; }
.help-hero { margin-bottom: 16px; }
.help-columns { align-items: stretch; }
.help-topic { overflow: hidden; }
.help-topic .panel-heading { min-height: 66px; }
.help-topic .panel-heading .eyebrow { margin-bottom: 3px; }
.help-topic__body { padding: 16px 18px; color: var(--text-muted); line-height: 1.6; }
.help-topic__body > :first-child { margin-top: 0; }
.help-topic__body > :last-child { margin-bottom: 0; }
.help-steps { margin: 0; padding-left: 22px; }
.help-steps li { margin-bottom: 9px; padding-left: 3px; }
.help-steps li:last-child { margin-bottom: 0; }
.help-note { margin-top: 15px; padding: 11px 13px; border-left: 3px solid var(--border-strong); color: #52525b; background: var(--surface-soft); }
.dashboard-pending-panel { margin-bottom: 16px; }
.dashboard-results-panel { margin-bottom: 16px; }
.dashboard-wellness-panel { margin-bottom: 16px; }
.dashboard-wellness-overview { margin-bottom: 18px; }
.dashboard-wellness-hero p { margin: 7px 0 0; color: var(--text-muted); font-size: 13px; }
.dashboard-wellness-hero .dashboard-panel-link { margin-top: 8px; }
.dashboard-wellness-grid { display: grid; }
.wellness-report-kpis.dashboard-wellness-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dashboard-wellness-kpis article { min-width: 0; }
.dashboard-wellness-kpis article small { color: var(--text-muted); font-size: 11px; }
.dashboard-wellness-kpi--success { border-color: #c9e6c1 !important; background: linear-gradient(180deg, #fff 0%, #edf8e9 100%) !important; }
.dashboard-wellness-kpi--warning { border-color: #eadb91 !important; background: linear-gradient(180deg, #fff 0%, #fff8dc 100%) !important; }
.dashboard-wellness-kpi--danger { border-color: #edc3c0 !important; background: linear-gradient(180deg, #fff 0%, #fcebea 100%) !important; }
.dashboard-wellness-value-link { width: fit-content; color: inherit; text-decoration: none; }
.dashboard-wellness-value-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.dashboard-wellness-value-link:focus-visible { border-radius: 2px; outline: 2px solid var(--primary); outline-offset: 3px; }
.dashboard-wellness-grid .dashboard-wellness-alert strong { color: #963b38; }
.dashboard-wellness-dimensions { background: rgba(255,255,255,.94); }
.dashboard-summary-section { margin-bottom: 16px; }
.dashboard-section-heading { margin-bottom: 12px; padding: 0 3px; }
.dashboard-section-heading h2 { margin: 0; font-size: 18px; }
.dashboard-summary-section .dashboard-stat-grid { margin: 0; }
.dashboard-result-score { min-width: 58px; font-size: 18px; text-align: center; white-space: nowrap; }
.dashboard-request-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #854d0e; background: #fef3c7; font-weight: 700; }

.player-hero { margin-bottom: 16px; }
.family-hero { justify-content: flex-start; gap: 18px; }
.family-hero > div:last-child { min-width: 0; }
.player-dashboard-photo { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.player-stat-grid { margin-bottom: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.player-fines-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-stat-card { padding: 16px; display: grid; gap: 3px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.player-stat-card small, .player-stat-card span { color: var(--text-muted); }
.player-stat-card strong { font-size: 25px; font-weight: 500; }
.player-dashboard-panel { margin-bottom: 16px; }
.player-dashboard-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family-player-selector select { min-width: 220px; }
.family-next-event { margin-bottom: 16px; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.family-next-event > .panel-heading { border-bottom: 1px solid var(--border); }
.family-event-list { display: grid; }
.family-event-card { min-height: 104px; padding: 14px 16px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--border); background: #fff; }
.family-event-card:last-child { border-bottom: 0; }
.family-event-card--featured { border: 0; }
.family-event-card > time { width: 62px; height: 68px; flex: 0 0 auto; display: grid; place-content: center; border: 1px solid #c8dfc2; border-radius: 9px; color: #315f32; background: #edf7e9; text-align: center; text-transform: uppercase; }
.family-event-card > time strong { font-size: 25px; line-height: 1; }
.family-event-card > time span { margin-top: 4px; font-size: 11px; font-weight: 700; }
.family-event-card h3 { margin: 2px 0 4px; font-size: 17px; }
.family-event-card p { margin: 0 0 8px; color: var(--text-muted); }
.family-dashboard-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family-summary-panel { margin-bottom: 16px; }
.family-summary-panel__actions { padding: 9px 15px; display: flex; justify-content: flex-end; }
.family-list { display: grid; }
.family-list-item { min-height: 66px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.family-list-item:last-child { border-bottom: 0; }
.family-list-item:hover { background: var(--surface-soft); text-decoration: none; }
.family-list-item strong, .family-list-item span { display: block; }
.family-list-item div span { margin-top: 3px; color: var(--text-muted); font-size: 12px; }
.family-unread { width: fit-content; padding: 3px 7px; border-radius: 999px; color: #245269 !important; background: #d9edf7; font-size: 10px !important; font-weight: 700; text-transform: uppercase; }
.announcement-reader-card { padding: 26px; font-size: 15px; line-height: 1.7; }
.announcement-reader-card__body p:first-child { margin-top: 0; }
.announcement-reader-card__body p:last-child { margin-bottom: 0; }
.announcement-reader-card__meta { margin-top: 24px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12px; }
.family-conversation-list { display: grid; }
.family-conversation-row { min-height: 88px; padding: 14px 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.family-conversation-row:last-child { border-bottom: 0; }
.family-conversation-row:hover { background: var(--surface-soft); text-decoration: none; }
.family-conversation-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #e7efe5; font-weight: 700; }
.family-conversation-row strong, .family-conversation-row span, .family-conversation-row small { display: block; }
.family-conversation-row span, .family-conversation-row small, .family-conversation-row time { margin-top: 3px; color: var(--text-muted); }
.family-conversation-row > div:last-child { display: grid; justify-items: end; gap: 6px; }
.family-thread-messages { padding: 20px; display: grid; gap: 12px; background: #f4f4f5; }
.family-message { width: min(78%, 680px); padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px 12px 12px 3px; background: #fff; }
.family-message--mine { justify-self: end; border-color: #c8dfc2; border-radius: 12px 12px 3px; background: #edf7e9; }
.family-message > div { display: flex; justify-content: space-between; gap: 12px; }
.family-message time { color: var(--text-muted); font-size: 11px; }
.family-message p { margin: 8px 0 0; line-height: 1.5; }
.family-reply { padding: 16px 20px; border-top: 1px solid var(--border); }
.consent-intro { margin-bottom: 16px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 15px; }
.consent-intro__icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #315f32; background: #e7f4e3; font-size: 21px; font-weight: 700; }
.consent-intro h2 { margin: 0 0 6px; font-size: 20px; }
.consent-intro p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.consent-card-list { display: grid; gap: 16px; }
.consent-card { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(24,24,27,.05); }
.consent-card--accepted { border-color: #bddab6; }
.consent-card__header { padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.consent-card__header h2 { margin: 4px 0 7px; font-size: 20px; }
.consent-card__header p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.consent-legal-text { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.consent-legal-text summary { padding: 13px 20px; color: #3f6212; font-weight: 700; cursor: pointer; }
.consent-legal-text > div { padding: 2px 20px 15px; color: #52525b; font-size: 13px; line-height: 1.65; }
.consent-legal-text p { margin: 10px 0 0; }
.consent-checkbox { margin: 16px 20px 20px; padding: 15px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #c8dfc2; border-radius: 8px; background: #f4faF2; cursor: pointer; }
.consent-checkbox input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; accent-color: #3c763d; }
.consent-checkbox strong, .consent-checkbox small { display: block; }
.consent-checkbox strong { line-height: 1.45; }
.consent-checkbox small { margin-top: 6px; color: var(--text-muted); line-height: 1.4; }
.consent-decision-summary { padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: #f4faf2; }
.consent-decision-summary strong, .consent-decision-summary span { display: block; }
.consent-decision-summary span { flex: 1; color: var(--text-muted); font-size: 13px; }
.consent-history-note { margin: -8px 20px 18px; color: #854d0e; font-size: 12px; }
.consent-submit-bar { margin: 16px 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: 9px; background: #fff; position: sticky; bottom: 12px; box-shadow: 0 8px 24px rgba(24,24,27,.12); }
.consent-submit-bar p { margin: 0; color: var(--text-muted); font-size: 13px; }
.consent-rights-note { margin-top: 16px; padding: 14px 17px; border-left: 3px solid var(--border-strong); color: #52525b; background: var(--surface-soft); }
.consent-rights-note p { margin: 5px 0 0; line-height: 1.5; }
.consent-template-detail { margin-bottom: 16px; }
.consent-template-detail__body { margin-top: 16px; color: #3f3f46; line-height: 1.65; }
.consent-template-detail__declaration { margin-top: 18px; padding: 14px; border: 1px solid #c8dfc2; border-radius: 8px; background: #f4faf2; }
.nested-fields__access { margin: 12px 42px 12px 0; display: flex; align-items: center; gap: 10px; }
.player-statistics-selector { margin-bottom: 16px; padding: 5px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.player-statistics-selector a { min-height: 48px; padding: 8px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; color: var(--text-muted); text-decoration: none; }
.player-statistics-selector a:hover { color: var(--text); background: #fff; text-decoration: none; }
.player-statistics-selector a.active { border-color: var(--border); color: var(--text); background: #fff; box-shadow: 0 2px 7px rgba(24,24,27,.08); }
.player-statistics-selector a span { font-size: 19px; }
.player-statistics-filters { margin-bottom: 18px; }
.player-statistics-overview .wellness-report-kpis { margin-bottom: 0; }
.player-statistics-charts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wellness-pending-list article { padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--border); }
.wellness-pending-list article:last-child { border-bottom: 0; }
.wellness-pending-list strong, .wellness-pending-list span { display: block; }
.wellness-pending-list span { margin-top: 2px; color: var(--text-muted); }
.availability-event { min-height: 86px; }
.availability-event:hover { background: transparent; }
.dashboard-event time.availability-date--training { border-color: #c8dfc2; color: #315f32; background: #edf7e9; }
.dashboard-event time.availability-date--training span { color: #527653; }
.dashboard-event time.availability-date--match { border-color: #f3c98d; color: #9a4d08; background: #fff1dc; }
.dashboard-event time.availability-date--match span { color: #ad641f; }
.availability-event-content small { white-space: normal; }
.availability-event-status { margin-top: 7px; display: block; }
.availability-actions { display: flex; align-items: center; gap: 8px; }
.availability-actions form { margin: 0; }
.btn.availability-button--confirmed { border-color: #3c763d; color: #fff; background: #3c763d; }
.btn.availability-button--declined { border-color: #a94442; color: #fff; background: #a94442; }
.wellness-intro { margin-bottom: 16px; padding: 16px 18px; border-left: 4px solid #3f3f46; background: var(--surface-soft); }
.wellness-intro strong, .wellness-intro span { display: block; }
.wellness-intro span { margin-top: 3px; color: var(--text-muted); }
.wellness-intro p { margin: 10px 0 0; }
.wellness-question-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wellness-scale { margin: 0 0 15px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.wellness-scale legend { padding: 0 5px; color: #3f3f46; font-size: 12px; font-weight: 600; }
.wellness-scale-options { display: flex; gap: 7px; }
.wellness-scale-options label { flex: 1; cursor: pointer; }
.wellness-scale-options input { position: absolute; opacity: 0; pointer-events: none; }
.wellness-scale-options span { min-height: 34px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 7px; background: #fff; font-weight: 600; }
.wellness-scale-options input:checked + span { border-color: var(--primary); color: #fff; background: var(--primary); }
.wellness-scale-options input:focus-visible + span { outline: 3px solid rgba(24,24,27,.18); }
.wellness-scale-ends { margin-top: 5px; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 11px; }
.wellness-form textarea { width: 100%; padding: 9px; border: 1px solid var(--border-strong); border-radius: 8px; resize: vertical; }
.profile-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.profile-summary-grid > div { min-height: 72px; padding: 13px; background: #fff; }
.profile-summary-grid small, .profile-summary-grid strong { display: block; }
.profile-summary-grid small { margin-bottom: 5px; color: var(--text-muted); }
.profile-summary-grid strong { overflow-wrap: anywhere; font-weight: 500; }
.player-profile-summary .nav-tabs { margin-bottom: 8px; }
.player-profile-summary .tab-pane { margin-top: 0; }
.player-show .nav-tabs { margin-bottom: 16px; }
.player-show-hero { margin-bottom: 14px; padding: 25px 27px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(circle at top right, rgba(111,161,102,.16), transparent 31%), linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.player-show-hero__identity { min-width: 0; display: flex; align-items: center; gap: 19px; }
.player-show-avatar-trigger { width: 92px; height: 92px; padding: 0; display: block; border: 0; border-radius: 22px; background: transparent; cursor: zoom-in; }
.player-show-avatar-trigger:focus-visible { outline: 3px solid rgba(53,98,49,.4); outline-offset: 3px; }
.player-show-avatar { width: 92px; height: 92px; flex: 0 0 92px; object-fit: cover; border: 3px solid #fff; border-radius: 22px; background: var(--surface-soft); box-shadow: 0 6px 18px rgba(24,24,27,.16); }
.player-show-avatar--fallback { display: inline-flex; align-items: center; justify-content: center; color: #356231; background: linear-gradient(145deg, #e3f1df, #f4faf2); font-size: 30px; font-weight: 800; }
.player-photo-lightbox { width: min(680px, calc(100vw - 40px)); max-width: none; max-height: calc(100vh - 40px); padding: 0; overflow: visible; border: 0; border-radius: 18px; background: transparent; }
.player-photo-lightbox::backdrop { background: rgba(10,10,12,.82); backdrop-filter: blur(5px); }
.player-photo-lightbox__content { position: relative; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; color: #fff; background: #18181b; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.player-photo-lightbox__image { width: 100%; max-height: calc(100vh - 105px); display: block; border-radius: 11px; object-fit: contain; }
.player-photo-lightbox__content > strong { font-size: 14px; }
.player-photo-lightbox__close { position: absolute; z-index: 1; top: 22px; right: 22px; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(24,24,27,.82); font-size: 26px; line-height: 1; cursor: pointer; }
.player-photo-lightbox__close:hover, .player-photo-lightbox__close:focus-visible { background: #18181b; }
.player-show-hero h2 { margin: 4px 0 0; font-size: 30px; line-height: 1.05; }
.player-show-hero p { margin: 5px 0 0; color: var(--text-muted); font-size: 14px; }
.player-show-hero__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.player-show-hero__tags span { min-height: 28px; padding: 5px 10px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.86); color: #52525b; font-size: 11px; font-weight: 650; }
.player-show-hero__status { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.player-show-facts { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.player-show-facts article { min-height: 112px; padding: 17px 19px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.player-show-facts span, .player-show-summary-card .eyebrow { color: var(--text-muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.player-show-facts strong { margin: 7px 0 4px; font-size: 27px; line-height: 1; }
.player-show-facts strong.player-own-profile__fact-text { font-size: 19px; line-height: 1.15; }
.player-show-facts small { color: var(--text-muted); font-size: 11px; }
.player-show-summary-grid { margin-bottom: 18px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.player-show-summary-card { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 7px 22px rgba(24,24,27,.05); }
.player-show-summary-card__heading { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.player-show-summary-card__heading h3, .player-show-summary-card > h3 { margin: 4px 0 0; font-size: 19px; }
.player-show-summary-card__heading > strong { font-size: 26px; }
.player-show-summary-card .wellness-metric-boxes { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.player-show-summary-card .wellness-metric-boxes > span { padding: 9px 7px; }
.player-show-compact-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.player-show-compact-stats > span { min-height: 77px; padding: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; text-align: center; }
.player-show-compact-stats strong { font-size: 23px; line-height: 1; }
.player-show-compact-stats small { margin-top: 6px; color: var(--text-muted); font-size: 10px; }
.player-show-report { margin-bottom: 14px; }
.wellness-report-kpis.player-show-report-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.player-show-list-card { margin-bottom: 18px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(24,24,27,.05); }
.player-show-list-card__heading { min-height: 72px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(161,161,170,.13), transparent 34%), var(--surface-soft); }
.player-show-list-card__heading h2 { margin: 4px 0 0; font-size: 20px; }
.player-show-list-card__heading > span { color: var(--text-muted); font-size: 11px; }
.player-show-list-card .table { margin-bottom: 0; }
.player-show-list-card .wellness-metric-boxes { min-width: 600px; grid-auto-columns: minmax(66px, 1fr); }
.player-show-list-card .wellness-metric-boxes > span { padding: 7px 5px; }
.player-show-list-card .wellness-metric-boxes small { font-size: 9px; }
.player-show-list-card .wellness-metric-boxes strong { font-size: 11px; }
.player-show-table-note { margin-top: 3px; display: block; color: var(--text-muted); font-size: 10px; }
.player-show-summary-grid--performance { grid-template-columns: 1.25fr 1fr; }
.player-show-ratings { margin-top: 15px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.player-show-ratings span { min-height: 76px; padding: 10px 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; text-align: center; }
.player-show-ratings small { color: var(--text-muted); font-size: 10px; }
.player-show-ratings strong { margin-top: 6px; font-size: 22px; }
.player-show-muted { color: var(--text-muted); font-size: 13px; }
.player-show-record-grid { margin-bottom: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.player-show-record-card { min-width: 0; padding: 19px 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.player-show-record-card h2 { margin: 0 0 18px; padding-bottom: 13px; border-bottom: 1px solid var(--border); font-size: 18px; }
.player-show-record-card .profile-detail-grid { padding: 0; }
.player-own-profile .player-show-record-card .profile-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-own-profile .player-show-record-card--wide { grid-column: 1 / -1; }
.player-show-size-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.player-show-size-grid span { min-height: 82px; padding: 11px 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); text-align: center; }
.player-show-size-grid small { color: var(--text-muted); font-size: 10px; line-height: 1.25; }
.player-show-size-grid strong { margin-top: 7px; font-size: 22px; line-height: 1; }
.player-show-notes { margin-bottom: 18px; }
.player-show-notes p { margin-bottom: 0; color: #3f3f46; font-size: 13px; line-height: 1.65; }
.profile-section { margin-bottom: 16px; padding: 19px 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.profile-section > h2 { margin: -19px -20px 18px; padding: 16px 20px; border-bottom: 1px solid var(--border); color: #27272a; background: radial-gradient(circle at top right, rgba(161,161,170,.13), transparent 34%), var(--surface-soft); font-size: 18px; font-weight: 700; }
.profile-detail-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 24px; margin-bottom: 20px; }
.profile-detail { min-width: 0; }
.profile-detail__label { margin-bottom: 2px; color: var(--text); font-size: 12px; font-weight: 700; }
.profile-detail__value { overflow-wrap: anywhere; color: var(--text); font-size: 13px; font-weight: 400; }
.profile-tutors-table { margin-bottom: 18px; }
.player-profile-actions { margin-top: 14px; }
.profile-pending-panel { margin-top: 18px; }
.profile-review-form { margin-top: 20px; }
.profile-review-form textarea { width: 100%; padding: 9px; border: 1px solid var(--border-strong); border-radius: 8px; resize: vertical; }
.player-mobile-nav { display: none; }
.tab-count { min-width: 20px; height: 20px; margin-left: 4px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #52525b; background: #e4e4e7; font-size: 11px; font-weight: 700; }
.nav-tabs li.active .tab-count { color: #fff; background: #3f3f46; }
.wellness-grid .grid-actions { width: 1%; white-space: nowrap; }
.wellness-grid .grid-actions .btn { min-height: 30px; padding: 0 12px; }
.wellness-grid-comment { min-width: 220px; max-width: 360px; white-space: normal; }
.wellness-grid .mobile-card-action { gap: 8px; }
.notification-preferences { display: grid; gap: 12px; }
.notification-preference { min-height: 72px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; }
.notification-preference:hover { border-color: var(--border-strong); background: var(--surface-soft); }
.notification-preference input { width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; }
.notification-preference span, .notification-preference strong, .notification-preference small { display: block; }
.notification-preference strong { color: var(--text); font-size: 13px; }
.notification-preference small { margin-top: 4px; color: var(--text-muted); font-weight: 400; }
.wellness-notes { margin: 0 4px 20px; padding: 12px 14px; border-left: 3px solid var(--border-strong); background: var(--surface-soft); }

.detail-show { display: grid; gap: 14px; }
.detail-show-hero { padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(circle at top right, rgba(111,161,102,.16), transparent 31%), linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.detail-show-hero__main { min-width: 0; display: flex; align-items: center; gap: 19px; }
.detail-show-hero__leading { flex: 0 0 auto; }
.detail-show-avatar { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(24,24,27,.12); border-radius: 18px; color: #315f32; background: linear-gradient(145deg, #eef8eb, #fff); box-shadow: 0 8px 20px rgba(24,24,27,.08); font-size: 28px; font-weight: 800; }
.detail-show-avatar--round { border-radius: 50%; }
.detail-show-avatar img { width: 100%; height: 100%; display: block; object-fit: contain; }
.detail-show-avatar--photo img { object-fit: cover; }
.detail-show-hero__copy { min-width: 0; }
.detail-show-hero h2 { margin: 4px 0 0; font-size: 29px; line-height: 1.08; }
.detail-show-hero p { margin: 5px 0 0; color: var(--text-muted); font-size: 14px; }
.detail-show-hero__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.detail-show-hero__tags span { min-height: 28px; padding: 5px 10px; display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; color: #52525b; background: rgba(255,255,255,.86); font-size: 11px; font-weight: 650; }
.detail-show-hero__aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.detail-show-hero__aside > span { color: var(--text-muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.detail-show-hero__aside > strong { font-size: 16px; }
.detail-show-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-show-kpis article { min-height: 108px; padding: 17px 19px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.detail-show-kpis article > span { color: var(--text-muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.detail-show-kpis article > strong { margin: 7px 0 4px; font-size: 27px; line-height: 1; }
.detail-show-kpis article > small { color: var(--text-muted); font-size: 11px; }
.detail-show-kpis .detail-show-kpi--success { border-color: #c9e6c1; background: linear-gradient(180deg, #fff, #f3faf1); }
.detail-show-kpis .detail-show-kpi--warning { border-color: #eadba0; background: linear-gradient(180deg, #fff, #fff9e7); }
.detail-show-kpis .detail-show-kpi--danger { border-color: #edc3c0; background: linear-gradient(180deg, #fff, #fdf3f2); }
.detail-show-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.detail-show-card { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.detail-show-card--wide { grid-column: 1 / -1; }
.detail-show-card__heading { margin: -20px -20px 18px; padding: 15px 19px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(161,161,170,.13), transparent 34%), var(--surface-soft); }
.detail-show-card__heading h2 { margin: 4px 0 0; font-size: 19px; }
.detail-show-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.detail-show-notes { color: #3f3f46; font-size: 13px; line-height: 1.65; }
.detail-show-notes p:last-child { margin-bottom: 0; }
.wellness-detail-show .detail-show-card .wellness-metric-boxes { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wellness-detail-show .detail-show-card .wellness-metric-boxes > span { padding: 11px 8px; }
.detail-show-list-card { margin-bottom: 18px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(24,24,27,.05); }
.detail-show-list-card__heading { min-height: 72px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(161,161,170,.13), transparent 34%), var(--surface-soft); }
.detail-show-list-card__heading h2 { margin: 4px 0 0; font-size: 20px; }
.detail-show-list-card__heading > span { color: var(--text-muted); font-size: 11px; }
.detail-show-list-card .table { margin-bottom: 0; }

.wellness-report-overview { margin-bottom: 20px; padding: 24px 26px; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(circle at top right, rgba(161,161,170,.18), transparent 28%), linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.wellness-report-overview__hero { margin-bottom: 22px; padding-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid rgba(24,24,27,.12); }
.wellness-report-overview__hero h2 { margin: 3px 0 0; font-size: 28px; line-height: 1.1; }
.wellness-report-overview__period { min-width: 190px; display: flex; flex-direction: column; align-items: flex-end; }
.wellness-report-overview__period span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wellness-report-overview__period strong { margin-top: 4px; font-size: 18px; text-align: right; }
.wellness-report-kpis { margin-bottom: 20px; display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 14px; }
.wellness-report-kpis article { min-height: 108px; padding: 17px 19px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(24,24,27,.1); border-radius: 14px; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.wellness-report-kpis span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.wellness-report-kpis strong { font-size: 29px; line-height: 1; }
.wellness-report-dimensions { padding: 18px 20px; border: 1px solid rgba(24,24,27,.1); border-radius: 14px; background: rgba(255,255,255,.82); }
.wellness-report-dimensions__header { margin-bottom: 13px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wellness-report-dimensions__header h3 { margin: 0; font-size: 18px; }
.wellness-report-dimensions__header span { color: var(--text-muted); font-size: 12px; }
.wellness-report-average-metrics .wellness-metric-boxes { grid-auto-columns: minmax(72px, 1fr); }
.wellness-report-average-metrics .wellness-metric-boxes > span { padding: 9px 8px; border-radius: 8px; }
.wellness-report-average-metrics .wellness-metric-boxes small { font-size: 10px; }
.wellness-report-average-metrics .wellness-metric-boxes strong { margin-top: 4px; font-size: 14px; }
.wellness-report-alerts { min-width: 105px; display: flex; flex-wrap: wrap; gap: 5px; }
.wellness-report-alerts .status-label { cursor: help; }
.wellness-report-alerts__empty { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.wellness-report-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wellness-report-chips > span { min-height: 44px; padding: 9px 13px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(24,24,27,.1); border-radius: 999px; background: linear-gradient(180deg, #fff 0%, #f4f4f5 100%); box-shadow: 0 5px 12px rgba(24,24,27,.05); }
.wellness-report-chips small { color: #52525b; font-size: 12px; font-weight: 700; }
.wellness-report-chips strong { font-size: 14px; }
.wellness-report-charts { margin-bottom: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wellness-report-chart { min-width: 0; min-height: 350px; padding: 18px 20px 14px; border: 1px solid rgba(24,24,27,.1); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.06); }
.wellness-report-chart h3 { margin: 0; font-size: 17px; }
.wellness-report-chart p { margin: 4px 0 10px; color: var(--text-muted); font-size: 12px; }
.wellness-report-chart canvas { width: 100%; height: 270px; display: block; }
.wellness-report-table { margin-bottom: 28px; overflow: hidden; }
.wellness-report-table .panel-heading { min-height: 58px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wellness-report-table .panel-heading h2 { margin: 0; font-size: 16px; }
.wellness-report-table .panel-heading span { color: var(--text-muted); font-size: 12px; }
.training-session-show .nav-tabs, .match-show .nav-tabs { margin-bottom: 16px; }
.training-session-overview__status { min-width: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.training-session-overview__status > span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.training-session-overview__hero p { margin: 7px 0 0; color: var(--text-muted); font-size: 14px; }
.training-session-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.training-session-kpis article { min-width: 0; }
.training-session-kpis strong { overflow-wrap: anywhere; font-size: 22px; line-height: 1.15; }
.training-session-kpis small { margin-top: 9px; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
.training-session-observations__body { max-width: 1050px; color: #3f3f46; font-size: 13px; line-height: 1.65; }
.training-session-observations__body p:first-child { margin-top: 0; }
.training-session-observations__body p:last-child { margin-bottom: 0; }
.training-session-observations__empty { color: var(--text-muted); font-style: italic; }
.match-overview__status { min-width: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.match-overview__status > span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.match-overview .wellness-report-overview__hero p { margin: 7px 0 0; color: var(--text-muted); font-size: 14px; }
.match-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.match-kpis article { min-width: 0; }
.match-kpis strong { overflow-wrap: anywhere; font-size: 22px; line-height: 1.15; }
.match-kpis small { margin-top: 9px; overflow-wrap: anywhere; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
.match-score-card--win { border-color: #c8ddc4 !important; background: linear-gradient(180deg, #fff 0%, #f3faf1 100%) !important; }
.match-score-card--loss { border-color: #efc1c1 !important; background: linear-gradient(180deg, #fff 0%, #fff0f0 100%) !important; }
.match-score-card--draw, .match-score-card--pending { border-color: #d4d4d8 !important; background: linear-gradient(180deg, #fff 0%, #f4f4f5 100%) !important; }
.sports-activity-observations__body { max-width: 1050px; color: #3f3f46; font-size: 13px; line-height: 1.65; }
.sports-activity-observations__body p:first-child { margin-top: 0; }
.sports-activity-observations__body p:last-child { margin-bottom: 0; }
.sports-activity-observations__empty { color: var(--text-muted); font-style: italic; }
.attendance-overview { margin-bottom: 16px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); border-radius: 14px; background: radial-gradient(circle at top right, rgba(161,161,170,.16), transparent 35%), #fff; box-shadow: 0 8px 24px rgba(24,24,27,.05); }
.attendance-overview h2 { margin: 4px 0 3px; font-size: 22px; }
.attendance-overview p { margin: 0; color: var(--text-muted); font-size: 13px; }
.attendance-overview__metrics { display: flex; flex: 0 0 auto; gap: 9px; }
.attendance-overview__metric { min-width: 94px; min-height: 64px; padding: 9px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); }
.attendance-overview__metric strong, .attendance-overview__metric small { display: block; }
.attendance-overview__metric strong { font-size: 22px; line-height: 1; }
.attendance-overview__metric small { margin-top: 5px; color: var(--text-muted); font-size: 11px; font-weight: 600; text-align: center; }
.attendance-overview__metric--success { border-color: #bbd9b5; background: #edf7eb; }
.attendance-overview__metric--danger { border-color: #efc1c1; background: #fff0f0; }
.attendance-overview__metric--warning { border-color: #ead79e; background: #fff9e8; }
.attendance-groups { display: grid; gap: 14px; }
.attendance-group { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(24,24,27,.045); }
.attendance-group__heading { min-height: 68px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--border); border-left: 4px solid #a1a1aa; background: var(--surface-soft); }
.attendance-group--success .attendance-group__heading { border-left-color: #4f8a46; background: #f3faf1; }
.attendance-group--danger .attendance-group__heading { border-left-color: #b84b4b; background: #fff5f5; }
.attendance-group--warning .attendance-group__heading { border-left-color: #b58a16; background: #fffbef; }
.attendance-group__heading h3 { margin: 0; font-size: 16px; }
.attendance-group__heading p { margin: 3px 0 0; color: var(--text-muted); font-size: 12px; }
.attendance-group__count { min-width: 34px; height: 34px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(24,24,27,.1); border-radius: 999px; background: #fff; font-size: 14px; }
.attendance-group__table { margin-bottom: 0; }
.attendance-group__table th { background: #fff; }
.attendance-group__table tbody tr:last-child td { border-bottom: 0; }
.attendance-group__table td:first-child strong, .attendance-group__table td:first-child small { display: block; }
.attendance-group__table td:first-child small { margin-top: 3px; color: var(--text-muted); font-size: 11px; }
.attendance-group__empty { margin: 0; padding: 18px; color: var(--text-muted); font-size: 13px; font-style: italic; }
.training-closure-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.training-closure-card__heading { padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(111,161,102,.16), transparent 34%); }
.training-closure-card__heading h2 { margin: 4px 0 0; font-size: 23px; }
.training-closure-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.training-closure-card__meta small { color: var(--text-muted); font-size: 11px; }
.training-closure-card__body { max-width: 1100px; padding: 24px; font-size: 15px; line-height: 1.75; }
.training-closure-card__body p:first-child { margin-top: 0; }
.training-closure-card__body p:last-child { margin-bottom: 0; }
.training-closure-card__empty { color: var(--text-muted); font-style: italic; }
.match-lineup-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(24,24,27,.05); }
.match-lineup-card__heading { min-height: 82px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(161,161,170,.15), transparent 36%), var(--surface-soft); }
.match-lineup-card__heading h2 { margin: 4px 0 0; font-size: 21px; }
.match-lineup-card__metrics { width: min(100%, 560px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.match-lineup-card__metrics > span { min-width: 0; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 9px; background: #fff; text-align: center; }
.match-lineup-card__metrics strong { font-size: 19px; line-height: 1; }
.match-lineup-card__metrics small { margin-top: 4px; color: var(--text-muted); font-size: 10px; }
.match-lineup-table { margin-bottom: 0; }
.match-lineup-table td:nth-child(2) small { display: block; }
.match-lineup-table td:nth-child(2) small { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
.match-squad-table { margin-bottom: 0; }
.match-squad-table td:first-child strong, .match-squad-table td:first-child small { display: block; }
.match-squad-table td:first-child small { margin-top: 3px; color: var(--text-muted); font-size: 10px; }
.match-lineup-player__heading { display: flex; align-items: center; gap: 7px; }
.match-lineup-captain { width: 21px; height: 21px; flex: 0 0 21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #1f5f34; border-radius: 50%; background: #286c3d; color: #fff; box-shadow: 0 2px 6px rgba(31,95,52,.2); font-size: 10px; font-weight: 800; line-height: 1; cursor: help; }
.match-summary-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); box-shadow: 0 10px 30px rgba(24,24,27,.06); }
.match-summary-card__heading { padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at top right, rgba(111,161,102,.16), transparent 34%); }
.match-summary-card__heading h2 { margin: 4px 0 0; font-size: 23px; }
.match-summary-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.match-summary-card__meta small { color: var(--text-muted); font-size: 11px; }
.match-summary-card__body { max-width: 1100px; padding: 24px; font-size: 15px; line-height: 1.75; }
.match-summary-card__body p:first-child { margin-top: 0; }
.match-summary-card__body p:last-child { margin-bottom: 0; }
.match-summary-card__empty { color: var(--text-muted); font-style: italic; }
.performance-session-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.performance-statistics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.performance-statistics-card { overflow: hidden; border: 1px solid rgba(24,24,27,.1); border-radius: 14px; background: rgba(255,255,255,.86); }
.performance-statistics-card header { padding: 14px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); background: var(--surface-soft); }
.performance-statistics-card header span { color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.performance-statistics-card h3 { margin: 3px 0 0; font-size: 17px; }
.performance-statistics-card header small { color: var(--text-muted); white-space: nowrap; }
.performance-statistics-card dl { margin: 0; padding: 12px 16px 15px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; }
.performance-statistics-card dl div { min-width: 0; }
.performance-statistics-card dt { color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.performance-statistics-card dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.performance-statistical-note { margin: -6px 0 22px; padding: 12px 15px; border-left: 4px solid #71717a; color: var(--text-muted); background: var(--surface-soft); font-size: 12px; line-height: 1.5; }
.performance-statistical-note strong { color: var(--text); }

.auth-shell { min-height: 100vh; background: var(--surface-muted); }
.auth-content { min-height: 100vh; padding: 80px 18px 32px; display: grid; align-content: start; place-items: start center; }
.login-card { width: min(100%, 420px); padding: 28px; border: 1px solid var(--border); border-radius: 5px; background: #fff; box-shadow: 0 18px 40px rgba(23,32,42,.08); }
.login-brand { margin-bottom: 28px; text-align: center; }
.login-logo { width: 230px; max-width: 100%; height: auto; }
.login-demo-note { margin: -8px 0 22px; padding: 15px 16px; border: 1px solid #d8e2d4; border-left: 4px solid var(--success); border-radius: 5px; background: #f4f8f2; color: var(--text-muted); font-size: 12px; line-height: 1.55; text-align: left; }
.login-demo-note strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 13px; }
.login-demo-note p { margin: 0; }
.login-demo-note a { color: var(--success); font-weight: 700; }
.login-card .field { margin-bottom: 15px; text-align: left; }
.login-links { margin-top: 15px; text-align: center; }

@media (min-width: 1200px) and (max-width: 1599px) {
  .match-lineup-builder--selection .match-lineup-builder__workspace { grid-template-columns: minmax(480px, 680px) minmax(180px, 240px); }
  .match-lineup-builder--selection .match-lineup-convoked { grid-column: 1 / -1; }
  .match-lineup-builder--selection .match-lineup-convoked .match-lineup-starters__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-lineup-builder--readonly .match-lineup-builder__workspace { grid-template-columns: minmax(420px, 55%) minmax(0, 45%); }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .profile-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wellness-report-kpis.dashboard-wellness-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .training-session-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-lineup-builder--selection .match-lineup-builder__workspace { grid-template-columns: 1fr; }
  .match-lineup-builder--selection .match-lineup-convoked .match-lineup-starters__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-lineup-builder--readonly .match-lineup-builder__workspace { grid-template-columns: 1fr; }
  .match-lineup-builder--readonly .match-lineup-starters__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .demo-read-only-banner span { display: none; }
  .demo-read-only .sidebar { top: 119px; }
  .demo-read-only .page-wrapper { padding-top: 139px; }
  .demo-read-only.player-app .page-wrapper { padding-top: 131px; }
  .demo-read-only .notifications-menu { top: 119px; }
  .navbar { height: auto; min-height: 51px; flex-wrap: wrap; }
  .navbar-brand { width: 100%; justify-content: center; }
  .navbar-toggle { position: absolute; top: 8px; right: 14px; display: block; padding: 6px 9px; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; }
  .top-nav { width: 100%; height: 36px; justify-content: flex-end; border-top: 1px solid var(--border); }
  .managed-team-selector { min-width: 0; max-width: calc(100% - 104px); margin-right: auto; padding: 3px 8px; border-right: 1px solid var(--border); }
  .managed-team-selector label { display: none; }
  .managed-team-selector select { max-width: 100%; font-size: 11px; }
  .top-dropdown summary { height: 35px; }
  .sidebar { top: 87px; width: 100%; display: none; }
  .menu-toggle:checked ~ .sidebar { display: block; }
  .page-wrapper { margin-left: 0; padding: 107px 15px 25px; }
  .page-header { margin-right: -15px; margin-left: -15px; padding-right: 15px; padding-left: 15px; }
  .page-header--with-context { align-items: flex-start; flex-direction: column; gap: 7px; }
  .page-header--with-context .page-header__identity { white-space: normal; }
  .page-header__context { width: 100%; margin-left: 0; justify-content: flex-start; gap: 5px 13px; }
  .status-grid, .dashboard-stat-grid, .dashboard-columns, .player-stat-grid, .player-dashboard-columns, .wellness-question-grid, .profile-summary-grid, .profile-detail-grid { grid-template-columns: 1fr; }
  .dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .dashboard-stat-grid.coach-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-stat-card { min-height: 112px; padding: 14px; }
  .dashboard-stat-card strong { font-size: 27px; }
  .team-dashboard-hero { padding: 19px 17px; align-items: flex-start; }
  .team-dashboard-hero h2 { font-size: 24px; }
  .team-dashboard-crest { width: 58px; height: 58px; }
  .dashboard-panel-heading { align-items: flex-start; }
  .dashboard-result { flex-wrap: wrap; }
  .dashboard-result .dashboard-event-content { min-width: calc(100% - 80px); }
  .dashboard-result-score { margin-left: 56px; }
  .wellness-report-kpis.dashboard-wellness-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-wellness-hero .wellness-report-overview__period { align-items: flex-start; }
  .dashboard-wellness-hero .dashboard-panel-link { margin-top: 6px; }
  .dashboard-wellness-average-metrics .wellness-metric-boxes { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-group { width: 100%; margin-right: 0; }
  .filter-group input, .filter-group select { width: 100%; }
  .form-grid, .form-grid--3, .form-grid--4, .form-grid--5, .positions-grid, .participant-selector--columns { grid-template-columns: 1fr; }
  .datagrid-form { display: block; padding: 10px; }
  .datagrid-form-actions { flex-wrap: wrap; }
  .datagrid-form-actions .btn { width: 100%; }
  .squad-team__players { grid-template-columns: 1fr; }
  .called-player-grid { grid-template-columns: 1fr; }
  .called-player-selector__heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .squad-team__heading { align-items: stretch; flex-direction: column; }
  .squad-team__heading .btn { width: 100%; min-height: 40px; }
  .attendance-toolbar { align-items: stretch; flex-direction: column; }
  .attendance-toolbar .btn { width: 100%; min-height: 44px; }
  .match-lineup-builder__toolbar { padding: 14px; align-items: stretch; flex-direction: column; }
  .match-lineup-builder__toolbar--pitch { grid-template-columns: 1fr; }
  .match-lineup-builder__formation { width: 100%; }
  .match-lineup-builder__workspace { padding: 10px; grid-template-columns: 1fr; }
  .match-lineup-builder--selection .match-lineup-builder__workspace { grid-template-columns: 1fr; }
  .match-lineup-builder--readonly .match-lineup-builder__workspace { grid-template-columns: 1fr; }
  .match-lineup-sidebars__summary { grid-template-columns: 1fr; }
  .match-lineup-formation-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-lineup-pitch { width: 100%; }
  .match-lineup-slot { width: 48px; }
  .match-lineup-slot select, .match-lineup-slot__player { width: 48px; min-height: 28px; padding: 2px 3px; font-size: 8px; }
  .match-lineup-convoked .match-lineup-starters__list { grid-template-columns: 1fr; }
  .match-lineup-builder--readonly .match-lineup-starters__list { grid-template-columns: 1fr; }
  .match-lineup-player__assignment { width: auto; flex: 1 1 120px; }
  .match-lineup-starters__list { max-height: 340px; }
  .pagination-container { flex-direction: column; align-items: stretch; gap: 10px; }
  .pagination-entries-info, .pagination-pages, .pagination-limit-selector { min-width: 0; text-align: center; justify-content: center; }
  .top-dropdown summary small { display: none; }
  .user-notifications { position: static; }
  .notifications-menu { position: fixed; top: 87px; right: 16px; left: 16px; width: auto; max-width: calc(100vw - 32px); }
  .notifications-list { max-height: calc(100vh - 180px); }
  .notification-item { padding: 10px 12px; }

  .player-app { padding-bottom: env(safe-area-inset-bottom); }
  .player-app .navbar-toggle, .player-app .sidebar { display: none !important; }
  .player-app .top-user-email, .player-app .user-dropdown small { display: none; }
  .player-app .page-wrapper { padding: 99px 12px calc(92px + env(safe-area-inset-bottom)); }
  .player-app .page-header { margin-right: -12px; margin-left: -12px; padding: 13px 12px 11px; font-size: 23px; }
  .player-app .page-header__identity { align-items: flex-start; flex-direction: column; }
  .player-app .page-header small { margin: 3px 0 0; display: block; font-size: 12px; }
  .player-app .alert { margin-bottom: 12px; padding: 11px 46px 11px 12px; line-height: 1.4; }
  .player-mobile-nav { position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; min-height: 66px; padding: 5px 4px calc(5px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); background: rgba(255,255,255,.98); box-shadow: 0 -5px 18px rgba(24,24,27,.1); }
  .player-mobile-nav a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 8px; color: var(--text-muted); font-size: 18px; text-decoration: none; }
  .player-mobile-nav a strong { font-size: 11px; font-weight: 600; }
  .player-mobile-nav a.active { color: #18181b; background: var(--surface-soft); }
  .family-mobile-nav { grid-template-columns: repeat(5, 1fr); }
  .family-app .navbar { height: 51px; min-height: 51px; flex-wrap: nowrap; }
  .family-app .navbar-brand { width: 52px; flex: 0 0 52px; padding: 8px 9px; justify-content: flex-start; overflow: hidden; }
  .family-app .navbar-brand a { width: 34px; overflow: hidden; }
  .family-app .navbar-brand img { max-width: none; height: 34px; }
  .family-app .top-nav { width: auto; min-width: 0; height: 50px; flex: 1; flex-wrap: nowrap; border-top: 0; }
  .family-app .family-player-selector { order: initial; width: auto; min-width: 0; max-width: none; height: 50px; flex: 1; margin: 0; padding: 5px 8px; display: block; border-top: 0; border-left: 1px solid var(--border); background: #fff; }
  .family-app .family-player-selector select { width: 100%; min-width: 0; min-height: 40px; }
  .family-app .top-dropdown summary { height: 50px; }
  .family-app .notifications-menu { top: 51px; }
  .family-app .page-wrapper { padding-top: 63px; }
  .family-app .impersonation-alert .alert__content { align-items: stretch; flex-direction: column; gap: 8px; }
  .family-app .impersonation-alert form, .family-app .impersonation-alert .btn { width: 100%; }
  .demo-read-only.family-app .notifications-menu { top: 83px; }
  .demo-read-only.family-app .page-wrapper { padding-top: 95px; }
  .family-dashboard-columns { grid-template-columns: 1fr; }
  .family-event-card { padding: 12px; align-items: flex-start; }
  .family-next-event .panel-heading, .family-summary-panel .panel-heading { align-items: stretch; flex-direction: column; }
  .family-next-event .panel-heading .btn, .family-summary-panel .panel-heading .btn { width: 100%; min-height: 44px; }
  .family-conversation-row { grid-template-columns: 40px minmax(0, 1fr); }
  .family-conversation-row > div:last-child { grid-column: 2; justify-items: start; }
  .family-message { width: 90%; }
  .consent-intro { padding: 15px 13px; }
  .consent-card__header { padding: 15px 13px; flex-direction: column; }
  .consent-card__header h2 { font-size: 18px; }
  .consent-legal-text summary { min-height: 46px; padding: 13px; }
  .consent-legal-text > div { padding: 1px 13px 14px; }
  .consent-checkbox { margin: 13px; padding: 13px; }
  .consent-decision-summary { padding: 13px; align-items: stretch; flex-direction: column; }
  .consent-decision-summary .btn { width: 100%; min-height: 44px; }
  .consent-history-note { margin: 0 13px 14px; }
  .consent-submit-bar { bottom: calc(72px + env(safe-area-inset-bottom)); padding: 13px; align-items: stretch; flex-direction: column; }
  .consent-submit-bar .btn { width: 100%; min-height: 46px; }

  .tabs--mobile-ready .nav-tabs { display: none; }
  .tabs-mobile-navigation { margin: 0 0 14px; display: grid; gap: 9px; }
  .tabs-mobile-field { display: grid; gap: 5px; color: var(--text-muted); font-size: 12px; font-weight: 600; }
  .tabs-mobile-field select { width: 100%; min-height: 46px; padding: 9px 38px 9px 12px; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text); background: #fff; font-size: 15px; font-weight: 600; }
  .tabs-mobile-stepper { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
  .tabs-mobile-step { min-width: 0; min-height: 44px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: #fff; font: inherit; cursor: pointer; }
  .tabs-mobile-step--next { flex-direction: row-reverse; text-align: right; }
  .tabs-mobile-step:disabled { color: var(--text-muted); background: var(--surface-soft); cursor: default; opacity: .65; }
  .tabs-mobile-step-arrow { flex: 0 0 auto; font-size: 20px; line-height: 1; }
  .tabs-mobile-step-label { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .tabs-mobile-position { color: var(--text-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
  .player-app .tab-pane { margin-top: 12px; }
  .player-profile-summary .tab-pane { margin-top: 0; }
  .player-show-hero { padding: 18px 15px; align-items: flex-start; flex-direction: column; }
  .player-show-hero__identity { align-items: flex-start; gap: 13px; }
  .player-show-avatar-trigger { width: 64px; height: 64px; border-radius: 16px; }
  .player-show-avatar { width: 64px; height: 64px; flex-basis: 64px; border-radius: 16px; }
  .player-show-avatar--fallback { font-size: 21px; }
  .player-show-hero h2 { font-size: 23px; }
  .player-show-hero__status { justify-content: flex-start; }
  .player-show-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .player-show-facts article { min-height: 101px; padding: 13px; }
  .player-show-facts strong { font-size: 23px; }
  .player-show-summary-grid, .player-show-summary-grid--performance, .player-show-record-grid { grid-template-columns: 1fr; gap: 10px; }
  .player-show-summary-card { padding: 15px 13px; }
  .player-show-summary-card__heading { align-items: flex-start; }
  .wellness-report-kpis.player-show-report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-show-list-card__heading { min-height: 65px; padding: 13px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .player-show-list-card .grid-container { overflow: visible; }
  .player-show-list-card .wellness-metric-boxes { min-width: 0; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-show .wellness-report-average-metrics .wellness-metric-boxes { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-show-ratings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .player-show-record-card { padding: 16px 14px; }
  .player-own-profile .player-show-record-card .profile-detail-grid { grid-template-columns: 1fr; }
  .player-show-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-photo-lightbox { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .player-photo-lightbox__content { padding: 8px; border-radius: 13px; }
  .player-photo-lightbox__image { max-height: calc(100vh - 76px); border-radius: 8px; }
  .player-photo-lightbox__close { top: 15px; right: 15px; }
  .detail-show-hero { padding: 18px 15px; align-items: flex-start; flex-direction: column; }
  .detail-show-hero__main { align-items: flex-start; gap: 13px; }
  .detail-show-hero h2 { font-size: 23px; }
  .detail-show-hero__aside { align-items: flex-start; }
  .detail-show-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .detail-show-kpis article { min-height: 101px; padding: 13px; }
  .detail-show-kpis article > strong { font-size: 23px; }
  .detail-show-grid { grid-template-columns: 1fr; gap: 10px; }
  .detail-show-card { padding: 16px 14px; }
  .detail-show-card__heading { margin: -16px -14px 16px; padding: 13px 14px; }
  .detail-show-fields { grid-template-columns: 1fr; }
  .wellness-detail-show .detail-show-card .wellness-metric-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-show-list-card__heading { min-height: 65px; padding: 13px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .profile-section { padding: 16px 14px; }
  .profile-section > h2 { margin: -16px -14px 16px; padding: 13px 14px; }
  .profile-detail-grid { gap: 17px; padding: 0 4px; }
  .profile-detail__label { font-size: 13px; }
  .profile-detail__value { font-size: 14px; }

  .wellness-report-overview { padding: 17px 14px; border-radius: 12px; }
  .wellness-report-overview__hero { align-items: flex-start; flex-direction: column; gap: 10px; }
  .wellness-report-overview__hero h2 { font-size: 23px; }
  .wellness-report-overview__period { min-width: 0; align-items: flex-start; }
  .wellness-report-overview__period strong { text-align: left; }
  .wellness-report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .wellness-report-kpis article { min-height: 98px; padding: 13px; }
  .wellness-report-kpis strong { font-size: 24px; }
  .wellness-report-dimensions { padding: 14px; }
  .wellness-report-dimensions__header { align-items: flex-start; flex-direction: column; }
  .wellness-report-chips > span { width: 100%; justify-content: space-between; }
  .wellness-report-charts { grid-template-columns: 1fr; gap: 12px; }
  .performance-session-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .performance-statistics-grid { grid-template-columns: 1fr; }
  .wellness-report-chart { min-height: 330px; padding: 15px 12px 10px; }
  .wellness-report-table .panel-heading { align-items: flex-start; flex-direction: column; }
  .training-session-overview__status { min-width: 0; align-items: flex-start; }
  .training-session-kpis strong { font-size: 20px; }
  .attendance-overview { padding: 17px 14px; align-items: stretch; flex-direction: column; gap: 15px; }
  .attendance-overview h2 { font-size: 20px; }
  .attendance-overview__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .attendance-overview__metric { min-width: 0; padding: 8px 5px; }
  .attendance-overview__metric small { font-size: 10px; }
  .attendance-group__heading { min-height: 62px; padding: 12px 13px; }
  .attendance-group .grid-container { overflow: visible; }
  .training-closure-card__heading { padding: 18px 16px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .training-closure-card__meta { align-items: flex-start; }
  .training-closure-card__body { padding: 18px 16px; }
  .match-overview__status { min-width: 0; align-items: flex-start; }
  .match-kpis strong { font-size: 20px; }
  .match-lineup-card__heading { padding: 15px 13px; align-items: stretch; flex-direction: column; }
  .match-lineup-card__metrics { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-lineup-card__metrics > span { min-width: 0; }
  .match-lineup-card .grid-container { overflow: visible; }
  .match-summary-card__heading { padding: 18px 16px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .match-summary-card__meta { align-items: flex-start; }
  .match-summary-card__body { padding: 18px 16px; }

  .player-app .hero-card { padding: 17px; gap: 12px; align-items: flex-start; }
  .player-app .hero-card h2 { font-size: 21px; }
  .player-app .hero-card p:not(.eyebrow) { line-height: 1.4; }
  .player-dashboard-photo { width: 58px; height: 58px; flex: 0 0 auto; }
  .player-app .hero-monogram { font-size: 36px; }
  .player-app .player-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .player-app .player-fines-summary { grid-template-columns: 1fr; }
  .player-stat-card { min-height: 108px; padding: 13px; }
  .player-stat-card strong { font-size: 23px; }
  .player-dashboard-columns { gap: 12px; }
  .player-statistics-selector { gap: 4px; padding: 4px; }
  .player-statistics-selector a { min-height: 46px; padding: 7px 8px; }
  .player-statistics-filters .datagrid-form-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .player-statistics-filters .datagrid-form-actions .btn { width: 100%; min-height: 44px; }
  .player-statistics-charts { grid-template-columns: 1fr; }
  .player-app .panel-heading { padding: 11px 12px; }
  .availability-event { padding: 13px 12px; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 11px 12px; }
  .availability-event-content strong { white-space: normal; }
  .availability-event-status { margin-top: 6px; }
  .availability-event .availability-actions { grid-column: 1 / -1; }
  .availability-event .availability-actions form { width: 100%; }
  .availability-event .btn { width: 100%; min-height: 44px; }
  .wellness-pending-list article { padding: 13px 12px; align-items: stretch; flex-direction: column; }
  .wellness-pending-list article .btn { width: 100%; min-height: 44px; }
  .availability-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .player-app .empty-state { padding: 25px 14px; }

  .player-app .grid-container, .player-app .table-scroll { overflow: visible; }
  .player-mobile-table, .player-mobile-table tbody { width: 100%; display: block; }
  .player-mobile-table thead { display: none; }
  .player-mobile-table tbody tr { margin: 10px; display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(24,24,27,.04); }
  .player-mobile-table tbody td { min-height: 42px; padding: 10px 12px !important; display: grid; grid-template-columns: minmax(105px, 38%) minmax(0, 1fr); align-items: center; gap: 10px; border: 0 !important; border-bottom: 1px solid var(--border) !important; background: #fff !important; text-align: right !important; overflow-wrap: anywhere; }
  .player-mobile-table tbody td:last-child { border-bottom: 0 !important; }
  .player-mobile-table tbody td::before { content: attr(data-label); color: var(--text-muted); font-size: 12px; font-weight: 700; text-align: left; }
  .player-mobile-table tbody td[colspan] { display: block; padding: 22px 12px !important; text-align: center !important; }
  .player-mobile-table tbody td[colspan]::before { content: none; }
  .player-mobile-table .mobile-card-action { display: block; }
  .player-mobile-table .mobile-card-action::before { content: none; }
  .player-mobile-table .mobile-card-action .btn { width: 100%; min-height: 42px; }

  .player-app .form-section { margin-bottom: 14px; padding: 14px 12px; }
  .player-app .form-section-title { margin: -14px -12px 14px; padding: 11px 12px; font-size: 15px; }
  .player-app .field { margin-bottom: 13px; }
  .player-app .field label, .player-app .wellness-scale legend { font-size: 13px; }
  .player-app .field input:not([type="checkbox"]), .player-app .field select, .player-app .wellness-form textarea { min-height: 44px; font-size: 16px; }
  .player-app .field input[type="file"] { padding: 7px; }
  .player-app .player-photo-field__actions .btn, .player-app .photo-editor-panel__actions .btn { min-height: 44px; flex: 1 1 145px; }
  .player-app .photo-editor-panel { margin-right: -4px; margin-left: -4px; padding: 8px; }
  .player-app .photo-editor-crop-stage { height: min(54vh, 430px); }
  .player-app .field.checkbox { min-height: 44px; align-items: center; }
  .player-app .field.checkbox input { width: 22px; height: 22px; flex: 0 0 auto; }
  .player-app .wellness-intro { padding: 13px 14px; }
  .player-app .wellness-question-grid { gap: 0; }
  .player-app .wellness-scale { padding: 11px 9px; }
  .player-app .wellness-scale-options { display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 6px; }
  .player-app .wellness-scale-options span { min-height: 46px; font-size: 15px; }
  .player-app .wellness-scale-ends { line-height: 1.25; }
  .player-app .form-actions { margin-top: 17px; flex-direction: column; align-items: stretch; }
  .player-app .form-actions .btn { width: 100%; min-height: 46px; }
  .player-app .nested-fields { padding: 58px 12px 3px; }
  .player-app .nested-fields__remove { top: 9px; right: 9px; width: 42px; height: 42px; justify-content: center; }
  .player-app .nested-form-links .btn { width: 100%; min-height: 44px; }
}
