:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f7f8fb;
  --nav: #111827;
  --nav-2: #172033;
  --blue: #315eea;
  --green: #159657;
  --amber: #d98a00;
  --orange: #f97316;
  --red: #e03131;
  --purple: #5b55d9;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: #f3f5f8;
  color: var(--ink);
  font-family:
    Inter, "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  max-width: 100%;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px;
  background:
    radial-gradient(circle at 80% 10%, rgba(49, 94, 234, 0.18), transparent 28%),
    linear-gradient(180deg, var(--nav), #0b111d);
  color: #f9fafb;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.brand span {
  display: block;
  margin-top: 5px;
  color: #aab3c5;
  font-size: 12px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav button {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-radius: 8px;
  color: #cad3e2;
  text-align: left;
}

.nav button span {
  width: 20px;
  color: #eef2ff;
}

.nav button.active,
.nav button:hover {
  background: #2e3f98;
  color: white;
}

.new-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #205bdd, #5b4fca);
  color: white;
}

.mobile-app-bar {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.content {
  min-width: 0;
  max-width: 100%;
  padding: 22px;
}

.main,
.detail-page,
.report-page,
.workspace-page,
.panel {
  min-width: 0;
  max-width: 100%;
}

.role-panel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 260px;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.role-summary,
.role-scope {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.role-summary strong,
.role-scope b {
  min-width: 0;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.role-summary span,
.role-scope span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.role-notice {
  margin-top: 22px;
  padding: 20px;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: -6px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.auth-panel form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.auth-panel > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.auth-panel span,
.auth-panel p {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.auth-panel strong {
  min-width: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.auth-panel p {
  margin: 0;
}

.role-notice h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.role-notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.role-notice-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.role-notice-grid strong,
.role-notice-grid p {
  display: block;
}

.role-notice-grid p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.6;
}

.desktop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 22px;
  align-items: start;
}

.main,
.detail-page,
.report-page,
.mobile-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.main {
  padding: 26px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.topbar h1 {
  font-size: 26px;
  line-height: 1.3;
}

.topbar p {
  margin-top: 6px;
  color: var(--muted);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  text-align: right;
}

.top-pill,
.top-date {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #4b5563;
  font-weight: 800;
  white-space: nowrap;
}

.top-pill.published {
  border-color: #b8e1ca;
  background: #edf7f2;
  color: #166534;
}

.top-date {
  color: var(--muted);
  font-weight: 700;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2937, #315eea);
  color: white;
  font-weight: 800;
}

.avatar.small {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.avatar.large {
  width: 92px;
  height: 92px;
  font-size: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.stat-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.stat strong {
  display: block;
  font-size: 28px;
}

.stat small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.stat-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
}

.red {
  color: var(--red);
}

.orange {
  color: var(--orange);
}

.amber {
  color: var(--amber);
}

.green {
  color: var(--green);
}

.blue {
  color: var(--blue);
}

.purple {
  color: var(--purple);
}

.teal {
  color: #0f766e;
}

.indigo {
  color: #4338ca;
}

.stat-icon.red {
  background: #fff1f1;
}

.stat-icon.orange {
  background: #fff7ed;
}

.stat-icon.amber {
  background: #fff8db;
}

.stat-icon.green {
  background: #eaf8f1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
  margin-top: 18px;
}

.demo-guide-panel {
  margin-top: 18px;
  padding: 20px;
}

.demo-guide-panel .panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.demo-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.demo-step-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.demo-step-grid article > strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
}

.demo-step-grid span,
.demo-step-grid p {
  display: block;
}

.demo-step-grid span {
  font-weight: 900;
}

.demo-step-grid p {
  margin-top: 5px;
  color: #374151;
  line-height: 1.5;
}

.test-flow-panel {
  margin-top: 18px;
  padding: 20px;
}

.test-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.test-flow-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.test-flow-grid article.next {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.test-flow-grid article.done {
  border-color: #b8e1ca;
  background: #edf7f2;
}

.test-flow-grid span,
.test-flow-grid strong,
.test-flow-grid p {
  display: block;
}

.test-flow-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.test-flow-grid strong {
  margin-top: 5px;
  font-size: 15px;
}

.test-flow-grid p {
  margin-top: 5px;
  color: #374151;
  line-height: 1.5;
}

.featured-case-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr) max-content;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border-color: #bfdbfe;
  background: #f8fbff;
}

.case-kicker,
.case-tags span,
.case-summary-grid span,
.case-badge {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.featured-case-panel h2 {
  margin-top: 7px;
  font-size: 22px;
}

.featured-case-panel p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.6;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.case-tags span,
.case-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf2ff;
}

.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-summary-grid article {
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: white;
}

.case-summary-grid span,
.case-summary-grid strong {
  display: block;
}

.case-summary-grid strong {
  margin-top: 6px;
  line-height: 1.45;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  scroll-margin-top: 84px;
}

.panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel h2,
.section-head h2 {
  font-size: 17px;
}

.updates-panel,
.distribution {
  padding: 20px;
}

.text-button {
  color: #4b5563;
  font-size: 13px;
}

.update-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.update-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: start;
}

.update-item strong,
.update-item span {
  display: block;
}

.update-item strong {
  font-size: 14px;
}

.update-item span,
.update-item time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.update-more {
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 228px;
}

.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) 0 var(--normal-end),
    var(--amber) var(--normal-end) var(--restricted-end),
    var(--orange) var(--restricted-end) var(--rehab-end),
    var(--red) var(--rehab-end) 100%
  );
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: white;
}

.donut-total {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.legend {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend i.green {
  background: var(--green);
}

.legend i.amber {
  background: var(--amber);
}

.legend i.orange {
  background: var(--orange);
}

.legend i.red {
  background: var(--red);
}

.athlete-card-section {
  margin-top: 22px;
}

.athlete-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.athlete-card {
  min-height: 162px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: left;
}

.athlete-card.selected,
.athlete-card:hover {
  border-color: #9ab0ff;
  box-shadow: 0 12px 28px rgba(49, 94, 234, 0.12);
}

.athlete-card.featured {
  border-color: #fed7aa;
  background: #fffaf5;
}

.athlete-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.athlete-card-top strong {
  display: block;
  margin-bottom: 4px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-green {
  color: var(--green);
  background: #eaf8f1;
}

.status-amber {
  color: var(--amber);
  background: #fff8db;
}

.status-orange {
  color: var(--orange);
  background: #fff7ed;
}

.status-red {
  color: var(--red);
  background: #fff1f1;
}

dl {
  margin: 0;
}

.athlete-card dl,
.profile-title dl,
.info-panel dl {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.case-badge {
  width: max-content;
  margin-top: 12px;
}

.athlete-card dl div,
.profile-title dl div,
.info-panel dl div,
.condition-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.mobile-preview {
  position: sticky;
  top: 22px;
}

.mobile-shell {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  padding: 18px;
}

.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.mobile-status {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mobile-status h2 {
  margin-top: 9px;
  color: var(--amber);
  font-size: 28px;
}

.mobile-status p {
  margin-top: 10px;
}

.mobile-status small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.quick-actions button {
  min-height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
}

.quick-actions span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.mobile-card {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-card h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.mobile-card ul,
.info-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.8;
}

.mobile-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mobile-tabs button {
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
}

.mobile-tabs button.active {
  color: var(--blue);
  font-weight: 800;
}

.lower-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.desktop-row > *,
.lower-row > * {
  min-width: 0;
}

.guardian-dashboard {
  display: grid;
  gap: 16px;
}

.guardian-dashboard-grid,
.athlete-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guardian-card,
.guardian-limit-card,
.athlete-home-card,
.athlete-feedback-card,
.athlete-goal-card {
  padding: 20px;
}

.guardian-card > strong,
.guardian-card > p,
.athlete-home-card > strong,
.athlete-home-card > p,
.athlete-feedback-card > strong,
.athlete-feedback-card > p,
.athlete-goal-card > strong {
  display: block;
}

.guardian-card > strong,
.athlete-home-card > strong,
.athlete-feedback-card > strong,
.athlete-goal-card > strong {
  min-width: 0;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.guardian-card > p,
.athlete-home-card > p,
.athlete-feedback-card > p {
  min-width: 0;
  margin-top: 10px;
  color: #374151;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.guardian-card .secondary-button,
.athlete-home-card .secondary-button,
.athlete-feedback-card .secondary-button {
  margin-top: 16px;
}

.athlete-dashboard {
  display: grid;
  gap: 16px;
}

.athlete-trackman-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.athlete-trackman-metrics div {
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.athlete-feedback-card {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.athlete-feedback-card.pending {
  border-color: var(--line);
  background: white;
}

.athlete-action-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.athlete-action-list article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: white;
}

.athlete-action-list span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.athlete-action-list strong {
  display: block;
  margin-top: 7px;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}

.athlete-trackman-metrics span,
.athlete-trackman-metrics strong {
  display: block;
}

.athlete-trackman-metrics span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.athlete-trackman-metrics strong {
  margin-top: 6px;
}

.guardian-limit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.guardian-limit-list article {
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.guardian-limit-list span,
.guardian-limit-list strong {
  display: block;
}

.guardian-limit-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.guardian-limit-list strong {
  margin-top: 7px;
  line-height: 1.45;
}

.athlete-trackman-summary {
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.athlete-trackman-summary strong,
.athlete-trackman-summary p {
  display: block;
}

.athlete-trackman-summary strong {
  color: var(--blue);
  line-height: 1.45;
}

.athlete-trackman-summary p {
  margin-top: 8px;
  color: #374151;
  line-height: 1.6;
}

.athlete-trackman-panel .guardian-limit-list {
  grid-template-columns: 1fr;
}

.detail-page,
.report-page {
  padding: 22px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.source-banner {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.source-banner strong,
.source-banner span {
  display: block;
}

.source-banner strong {
  color: var(--blue);
}

.source-banner span {
  color: #374151;
  line-height: 1.6;
}

.profile-title {
  flex: 1;
}

.profile-title h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 25px;
}

.profile-title dl {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.profile-title dl div {
  display: block;
}

.profile-title dt,
.profile-title dd {
  text-align: left;
}

.profile-title dd {
  margin-top: 5px;
}

.profile-readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 4px;
}

.profile-readiness-card {
  min-height: 168px;
  padding: 16px;
}

.profile-readiness-card > div:first-child {
  display: grid;
  gap: 4px;
}

.profile-readiness-card > div:first-child span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-readiness-card > div:first-child strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.profile-readiness-card dl {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.profile-readiness-card dl div {
  display: grid;
  gap: 4px;
}

.profile-readiness-card dd,
.profile-readiness-card p {
  color: var(--ink);
  line-height: 1.55;
}

.profile-readiness-card p {
  margin: 14px 0 0;
}

.profile-source-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ready-value {
  color: #047857;
  font-weight: 900;
}

.pending-value {
  color: #6b7280;
  font-weight: 700;
}

.record-waiting-state {
  display: grid;
  gap: 8px;
  min-height: 128px;
  align-content: center;
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
}

.record-waiting-state strong {
  color: var(--ink);
  font-size: 16px;
}

.record-waiting-state p {
  margin: 0;
  line-height: 1.6;
}

.record-waiting-state span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.data-readiness-panel {
  margin-top: 14px;
}

.data-readiness-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.data-readiness-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.data-readiness-grid article.ready {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.data-readiness-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.data-readiness-grid strong {
  color: var(--ink);
  font-size: 15px;
}

.data-readiness-panel p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.6;
}

.tab-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 14px 0 18px;
}

.tab-row span {
  min-width: max-content;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
}

.tab-row span.active {
  border-color: var(--ink);
  color: var(--ink);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid.two {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.info-panel {
  padding: 18px;
}

.info-panel h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.privacy-summary {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f4f7ff;
}

.privacy-summary strong {
  display: block;
  color: var(--blue);
}

.privacy-summary p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.6;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
  margin-top: 18px;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.bar-fill.green {
  background: var(--green);
}

.bar-fill.blue {
  background: var(--blue);
}

.trend-list {
  display: grid;
  gap: 15px;
}

.trend-list > div {
  display: grid;
  grid-template-columns: 160px repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}

.trend-list span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
}

.trend-list strong {
  font-size: 11px;
  color: var(--muted);
}

.report-page h2 {
  font-size: 26px;
}

.report-page > p {
  margin-top: 8px;
  color: var(--muted);
}

.report-disclosure {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f8fbff;
}

.report-disclosure.shared {
  border-color: #b8e1ca;
  background: #f0fdf4;
}

.report-disclosure strong {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.report-disclosure.shared strong {
  color: #166534;
}

.report-disclosure span {
  color: #374151;
  line-height: 1.6;
}

.report-block {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 8%, white);
}

.report-block span {
  color: #374151;
  line-height: 1.6;
}

.report-summary {
  margin-top: 14px;
  padding: 18px;
}

.report-summary p {
  margin-top: 10px;
  color: #374151;
  line-height: 1.7;
}

.performance-panel,
.history-panel,
.coaching-plan-panel {
  margin-top: 14px;
  padding: 20px;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.goal-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.goal-grid span,
.goal-grid strong {
  display: block;
}

.goal-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.goal-grid strong {
  margin-top: 7px;
  line-height: 1.5;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.metric-card span,
.metric-card strong,
.metric-card small {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  margin-top: 6px;
  font-size: 22px;
}

.metric-card small {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.history-compare-grid,
.session-delta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.session-delta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.history-compare-grid article,
.session-delta-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.history-compare-grid span,
.history-compare-grid strong,
.history-compare-grid p,
.session-delta-grid span,
.session-delta-grid strong {
  display: block;
}

.history-compare-grid span,
.session-delta-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-compare-grid strong,
.session-delta-grid strong {
  margin-top: 7px;
  line-height: 1.5;
}

.history-compare-grid p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.55;
}

.history-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.history-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: white;
}

.history-item.green {
  border-left-color: var(--green);
}

.history-item.amber {
  border-left-color: var(--amber);
}

.history-item.red {
  border-left-color: var(--red);
}

.history-item time,
.history-item strong,
.history-item span,
.history-item p {
  display: block;
}

.history-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-item strong {
  margin-top: 8px;
  line-height: 1.4;
}

.history-item span {
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.history-item p {
  margin-top: 8px;
  color: #374151;
  line-height: 1.55;
}

.bar-fill.red {
  background: var(--red);
}

.bar-fill.purple {
  background: var(--purple);
}

.coaching-plan-panel h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.coaching-plan-list {
  display: grid;
  gap: 10px;
}

.coaching-plan-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.coaching-plan-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.coaching-plan-list p {
  color: #374151;
  line-height: 1.6;
}

.workspace-page {
  min-height: calc(100vh - 44px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.page-header > div {
  min-width: 0;
}

.page-header h1 {
  font-size: 28px;
}

.page-header p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.header-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.storage-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf7f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  background: var(--blue);
  color: white;
}

.secondary-button {
  border: 1px solid var(--line);
  background: white;
  color: #374151;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.toolbar-panel {
  display: grid;
  grid-template-columns: 1.5fr 220px 240px;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.6;
}

.table-panel {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.table-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 150px 150px 170px 140px 140px;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head,
.consent-head {
  min-height: 46px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.athlete-table-row:hover {
  background: #f9fbff;
}

.table-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.filter-summary,
.helper-text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
}

.action-feedback-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-color: #b8e1ca;
  background: #edf7f2;
}

.action-feedback-panel span,
.action-feedback-panel h2,
.action-feedback-panel p {
  display: block;
}

.action-feedback-panel span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.action-feedback-panel h2 {
  margin-top: 6px;
  font-size: 18px;
}

.action-feedback-panel p {
  margin-top: 6px;
  color: #374151;
  line-height: 1.55;
}

.action-feedback-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.record-form,
.timeline-panel,
.import-panel,
.report-controls,
.governance-card,
.settings-card {
  padding: 20px;
}

.record-form h2,
.timeline-panel h2,
.import-panel h2,
.report-controls h2,
.governance-card h2,
.settings-card h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

.record-form {
  display: grid;
  gap: 14px;
}

.readonly-record-panel {
  align-content: start;
  gap: 12px;
  background: #f8fafc;
}

.readonly-record-panel p {
  color: #374151;
  line-height: 1.6;
}

.readonly-record-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.readonly-record-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.readonly-record-panel strong {
  color: #111827;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.timeline-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.timeline-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.timeline-item strong,
.timeline-item span,
.timeline-item time {
  display: block;
}

.timeline-item span {
  margin-top: 5px;
  font-weight: 800;
}

.timeline-item p {
  margin-top: 6px;
  color: #374151;
}

.timeline-item time {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.import-panel {
  margin-top: 16px;
}

.import-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.import-flow article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.import-flow article.active {
  border-color: #b7c8ff;
  background: #f4f7ff;
}

.import-flow strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 12px;
}

.import-flow span {
  font-weight: 800;
}

.upload-zone {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed #9ab0ff;
  border-radius: 8px;
  background: #f4f7ff;
  cursor: pointer;
}

.upload-zone.compact {
  margin-top: 0;
}

.upload-zone input {
  display: none;
}

.upload-zone strong,
.upload-zone span {
  display: block;
}

.upload-zone strong {
  color: var(--blue);
  font-size: 15px;
}

.upload-zone span {
  color: #374151;
  line-height: 1.5;
}

.import-card-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.import-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.import-card-head,
.import-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.import-card-head span,
.import-summary span,
.extracted-grid span,
.import-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.import-card-head strong,
.import-card-head p,
.import-card-head b,
.import-summary strong,
.import-summary p {
  display: block;
}

.import-card-head strong {
  margin-top: 6px;
  font-size: 16px;
}

.import-card-head p,
.import-summary p {
  margin-top: 6px;
  color: #374151;
  line-height: 1.55;
}

.import-card-head b {
  min-width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf7f2;
  color: var(--green);
  font-size: 12px;
}

.import-summary {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f4f7ff;
}

.import-summary strong {
  margin-top: 5px;
}

.extracted-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.extracted-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.extracted-grid strong {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.import-actions {
  align-items: center;
  margin-top: 14px;
}

.import-actions button {
  margin-left: 8px;
}

.report-workspace {
  display: grid;
  grid-template-columns: minmax(500px, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.report-workspace .report-page {
  box-shadow: none;
}

.report-controls {
  display: grid;
  gap: 14px;
}

.report-controls label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.report-controls input {
  width: 16px;
  height: 16px;
}

.report-scope-list,
.report-share-boundary {
  display: grid;
  gap: 10px;
}

.report-share-boundary {
  margin-top: 14px;
}

.report-scope-list article,
.report-share-boundary article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.report-scope-list strong,
.report-scope-list span,
.report-share-boundary strong,
.report-share-boundary span {
  display: block;
}

.report-scope-list strong,
.report-share-boundary strong {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}

.report-scope-list span,
.report-share-boundary span {
  margin-top: 5px;
  color: #374151;
  font-size: 12px;
  line-height: 1.55;
}

.publish-status {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.publish-status.published {
  border-color: #b8e1ca;
  background: #edf7f2;
}

.publish-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.publish-status strong {
  color: var(--green);
}

.report-version-panel {
  margin-top: 16px;
  padding: 20px;
}

.version-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.version-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.version-list article > strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f2937;
  color: white;
  font-size: 13px;
}

.version-list span,
.version-list b,
.version-list p {
  display: block;
}

.version-list span {
  color: #111827;
  font-weight: 900;
  line-height: 1.35;
}

.version-list b {
  margin-top: 5px;
  color: var(--blue);
  font-size: 12px;
}

.version-list p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.55;
}

.shared-report-pending {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.shared-report-pending > div > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.shared-report-pending h2 {
  margin-top: 8px;
}

.shared-report-pending p {
  margin-top: 8px;
  color: #374151;
  line-height: 1.6;
}

.pending-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pending-steps article {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.pending-steps article.done {
  border-color: #b8e1ca;
  background: #edf7f2;
}

.pending-steps strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-size: 13px;
}

.pending-steps span {
  color: #374151;
  font-weight: 800;
  line-height: 1.45;
}

.report-automation-panel {
  margin-top: 16px;
  padding: 20px;
}

.report-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.report-evidence-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.report-evidence-grid span,
.report-evidence-grid strong {
  display: block;
}

.report-evidence-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-evidence-grid strong {
  margin-top: 7px;
  line-height: 1.5;
}

.share-preview {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f4f7ff;
}

.share-preview h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.share-preview p {
  margin-top: 8px;
  color: #374151;
  line-height: 1.65;
}

.approval-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.approval-route article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.approval-route article.done {
  border-color: #b8e1ca;
  background: #edf7f2;
}

.approval-route strong,
.approval-route span {
  display: block;
}

.approval-route span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.governance-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.governance-card ul {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.9;
}

.access-matrix-panel,
.share-request-panel,
.consent-storage-card {
  margin-top: 16px;
  padding: 20px;
}

.access-matrix {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.access-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr 0.7fr 0.8fr;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.access-row:last-child {
  border-bottom: 0;
}

.access-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.share-request-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.share-request-card {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: white;
}

.share-request-card.approved {
  border-left-color: var(--green);
  background: #fbfefc;
}

.share-request-card span,
.share-request-card strong,
.share-request-card p {
  display: block;
}

.share-request-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.share-request-card strong {
  margin-top: 6px;
  line-height: 1.45;
}

.share-request-card p {
  margin-top: 6px;
  color: #374151;
  line-height: 1.5;
}

.share-request-card dl {
  display: grid;
  gap: 9px;
}

.share-request-card dl div {
  display: grid;
  gap: 5px;
}

.share-request-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.share-request-card dd {
  line-height: 1.45;
}

.consent-table .table-row {
  grid-template-columns: 1fr 1.4fr 150px 150px 150px;
}

.settings-card {
  display: grid;
  gap: 12px;
}

.settings-card p {
  color: #374151;
  line-height: 1.7;
}

.test-state-panel {
  margin-top: 16px;
  padding: 20px;
}

.test-state-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.test-state-grid article {
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.test-state-grid span,
.test-state-grid strong {
  display: block;
}

.test-state-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.test-state-grid strong {
  margin-top: 6px;
  line-height: 1.45;
}

.test-state-current {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.test-state-current strong,
.test-state-current p {
  display: block;
}

.test-state-current p {
  margin-top: 6px;
  color: #374151;
}

.test-state-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.test-accounts-panel,
.test-acceptance-panel {
  margin-top: 16px;
  padding: 20px;
}

.test-account-list,
.acceptance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.test-account-list article,
.acceptance-list article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.test-account-list span,
.test-account-list strong,
.test-account-list p,
.test-account-list b,
.acceptance-list span,
.acceptance-list strong,
.acceptance-list p,
.acceptance-summary span,
.acceptance-summary strong {
  display: block;
}

.test-account-list span,
.acceptance-list span,
.acceptance-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.test-account-list strong,
.acceptance-list strong {
  margin-top: 5px;
  line-height: 1.45;
}

.test-account-list p,
.acceptance-list p {
  color: #374151;
  line-height: 1.5;
}

.test-account-list b {
  color: var(--blue);
  font-size: 12px;
  line-height: 1.45;
}

.acceptance-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.acceptance-summary article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
}

.acceptance-summary strong {
  margin-top: 6px;
  color: #111827;
  line-height: 1.45;
}

.acceptance-list article {
  border-left: 4px solid #9ab0ff;
  background: #fbfcff;
}

.settings-chip {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.deployment-panel,
.schema-panel,
.security-panel,
.storage-readiness-panel,
.admin-operations-panel,
.staff-management-panel,
.assignment-management-panel {
  margin-top: 16px;
  padding: 20px;
}

.storage-readiness-grid,
.admin-ops-grid,
.staff-management-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.staff-management-grid,
.admin-ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storage-readiness-grid article,
.admin-ops-grid article,
.staff-management-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.admin-ops-grid article > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.storage-readiness-grid span,
.storage-readiness-grid strong,
.storage-readiness-grid p,
.storage-readiness-grid b,
.admin-ops-grid strong,
.admin-ops-grid p {
  display: block;
}

.storage-readiness-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.storage-readiness-grid strong,
.admin-ops-grid strong {
  margin-top: 6px;
  color: #111827;
  line-height: 1.45;
}

.admin-ops-grid article > div strong {
  margin-top: 0;
}

.admin-ops-grid .ops-status {
  flex: 0 0 auto;
  margin-top: 0;
  white-space: nowrap;
}

.storage-readiness-grid p,
.storage-readiness-grid b,
.admin-ops-grid p,
.staff-management-grid p,
.staff-management-grid b {
  margin-top: 7px;
  color: #374151;
  line-height: 1.55;
}

.storage-readiness-grid b,
.staff-management-grid span {
  color: var(--blue);
  font-size: 12px;
}

.staff-management-grid span,
.staff-management-grid strong,
.staff-management-grid p,
.staff-management-grid b {
  display: block;
}

.staff-management-grid span {
  font-weight: 900;
}

.staff-management-grid strong {
  margin-top: 6px;
  color: #111827;
  line-height: 1.45;
}

.operations-table {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.operations-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.85fr) minmax(90px, 0.45fr) minmax(150px, 0.8fr) minmax(180px, 1fr) minmax(80px, 0.35fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.user-account-table .operations-row {
  grid-template-columns: minmax(120px, 0.8fr) minmax(90px, 0.45fr) minmax(130px, 0.7fr) minmax(170px, 1fr) minmax(78px, 0.35fr) minmax(260px, 1.45fr);
}

.operations-row:first-child {
  border-top: 0;
}

.operations-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.operations-row strong,
.operations-row span,
.operations-row b {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.operations-row strong {
  color: #111827;
}

.operations-row span {
  color: #374151;
  font-weight: 700;
}

.admin-user-create-form,
.admin-user-operation-form {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-user-create-form {
  grid-template-columns: minmax(140px, 1fr) minmax(180px, 1.2fr) minmax(130px, 0.8fr) minmax(150px, 1fr) auto;
  align-items: end;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.admin-user-create-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-user-operation-form {
  grid-template-columns: minmax(110px, 1fr) repeat(3, auto);
  align-items: center;
}

.admin-user-create-form input,
.admin-user-create-form select,
.admin-user-operation-form select {
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #111827;
  font: inherit;
}

.admin-user-create-form .secondary-button,
.admin-user-operation-form .secondary-button {
  min-height: 36px;
  padding: 8px 10px;
  white-space: nowrap;
}

.ops-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ops-status.active {
  background: #ecfdf5;
  color: #047857;
}

.ops-status.inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.operations-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.assignment-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.assignment-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.assignment-athlete strong,
.assignment-athlete em,
.assignment-people span,
.assignment-people strong,
.assignment-people p {
  display: block;
}

.assignment-athlete strong {
  margin-bottom: 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.assignment-athlete em {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.assignment-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.assignment-people div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.assignment-people span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.assignment-people strong {
  margin-top: 6px;
  color: #111827;
  line-height: 1.4;
}

.assignment-people p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.assignment-edit-form {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(130px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.assignment-edit-form label {
  min-width: 0;
}

.assignment-edit-form select,
.assignment-edit-form input {
  min-width: 0;
}

.assignment-edit-form .secondary-button {
  height: 42px;
}

.round-filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 16px;
}

.round-filter-panel > div {
  display: grid;
  gap: 8px;
  min-width: min(100%, 260px);
}

.round-filter-panel > div > span,
.round-filter-panel p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.round-filter-panel p {
  flex: 1 1 340px;
  max-width: 560px;
  margin: 0;
  line-height: 1.55;
}

.mobile-round-history-panel {
  display: none;
}

.round-input-form {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px;
}

.round-input-form.editing {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.round-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.round-quick-grid {
  grid-template-columns: minmax(170px, 1fr) minmax(140px, 0.8fr) minmax(120px, 0.7fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 0.85fr) minmax(100px, 0.55fr) minmax(86px, 0.45fr);
}

.round-analysis-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.round-assessment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.round-input-form label,
.round-note-field {
  display: grid;
  gap: 7px;
}

.round-input-form label span,
.round-note-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-input-form input,
.round-input-form select,
.round-input-form textarea {
  width: 100%;
}

.round-mobile-hint {
  display: none;
}

.round-draft-bar {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
}

.round-draft-bar strong,
.round-draft-bar span {
  display: block;
}

.round-draft-bar strong {
  color: #0369a1;
  font-size: 13px;
  font-weight: 900;
}

.round-draft-bar span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.round-flash-mobile {
  display: none;
}

.round-hole-section,
.round-detail-section,
.round-shot-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.round-hole-section summary,
.round-detail-section summary,
.round-shot-section summary,
.hole-shot-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.round-hole-section summary::-webkit-details-marker,
.round-detail-section summary::-webkit-details-marker,
.round-shot-section summary::-webkit-details-marker,
.hole-shot-detail summary::-webkit-details-marker {
  display: none;
}

.round-hole-section summary strong,
.round-detail-section summary strong,
.round-shot-section summary strong,
.hole-shot-detail summary strong {
  color: #111827;
  font-size: 14px;
}

.round-hole-section summary span,
.round-detail-section summary span,
.round-shot-section summary span,
.hole-shot-detail summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-hole-section summary::after,
.round-detail-section summary::after,
.round-shot-section summary::after,
.hole-shot-detail summary::after {
  content: "+";
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-weight: 900;
}

.round-hole-section[open] summary::after,
.round-detail-section[open] summary::after {
  content: "-";
}

.round-shot-section[open] summary::after,
.hole-shot-detail[open] summary::after {
  content: "-";
}

.round-hole-section[open] > .hole-input-table,
.round-detail-section[open] > .round-form-grid,
.round-detail-section[open] > .round-note-field,
.round-shot-section[open] > .hole-shot-list {
  margin-top: 12px;
}

.hole-input-table,
.round-hole-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hole-input-row,
.round-hole-row {
  display: grid;
  grid-template-columns: 54px 72px 54px 70px 64px 72px 72px minmax(96px, 0.9fr) 64px 72px minmax(120px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-top: 1px solid var(--line);
}

.hole-input-row {
  grid-template-columns: 54px 72px 82px 82px minmax(112px, 0.9fr) 82px 88px;
}

.hole-input-row:first-child,
.round-hole-row:first-child {
  border-top: 0;
}

.hole-input-head,
.round-hole-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.hole-input-row label {
  display: grid;
  gap: 4px;
}

.hole-input-row label span {
  display: none;
}

.hole-input-row input,
.hole-input-row select {
  min-width: 0;
  min-height: 36px;
  padding-inline: 8px;
}

.hole-shot-list {
  display: grid;
  gap: 8px;
}

.hole-shot-detail {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hole-shot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.hole-shot-grid label {
  display: grid;
  gap: 6px;
}

.hole-shot-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-course-line {
  margin-top: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.segmented-control button {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 6px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
}

.segmented-control button.active {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.round-list-panel,
.sg-summary-panel {
  padding: 20px;
}

.round-review-overview {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 20px;
}

.round-review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.round-table,
.shot-list {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.round-row,
.shot-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
}

.round-row {
  grid-template-columns: minmax(90px, 0.55fr) minmax(60px, 0.35fr) minmax(180px, 1.2fr) minmax(72px, 0.45fr) minmax(78px, 0.45fr) minmax(130px, 0.85fr) minmax(110px, 0.7fr);
}

.shot-row {
  grid-template-columns: 54px 54px minmax(130px, 0.9fr) minmax(90px, 0.55fr) minmax(130px, 0.9fr) 70px minmax(150px, 1fr);
}

.round-row:first-child,
.shot-row:first-child {
  border-top: 0;
}

.round-head,
.shot-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-row strong,
.round-row span,
.round-row b,
.shot-row strong,
.shot-row span,
.shot-row b {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.round-detail-grid,
.sg-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.round-detail-card {
  padding: 20px;
}

.round-card-summary,
.round-review-grid,
.sg-overview-grid,
.sg-card-grid,
.sg-insight-strip,
.sg-benchmark-grid,
.sg-report-preview-grid {
  display: grid;
  gap: 10px;
}

.growth-signal-panel {
  margin-top: 16px;
  padding: 20px;
}

.sg-benchmark-panel,
.sg-report-preview-panel {
  margin-bottom: 16px;
  padding: 20px;
}

.sg-benchmark-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.sg-report-preview-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  margin-top: 14px;
}

.sg-benchmark-grid article,
.sg-report-preview-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.sg-benchmark-grid span,
.sg-report-preview-grid span,
.sg-benchmark-grid strong,
.sg-report-preview-grid strong {
  display: block;
}

.sg-benchmark-grid span,
.sg-report-preview-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.sg-benchmark-grid strong,
.sg-report-preview-grid strong {
  margin-top: 7px;
  color: #111827;
  line-height: 1.45;
}

.growth-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.growth-signal-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.growth-signal-grid span,
.growth-signal-grid strong,
.growth-signal-grid p {
  display: block;
}

.growth-signal-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.growth-signal-grid strong {
  margin-top: 7px;
  color: #111827;
  line-height: 1.45;
}

.growth-signal-grid p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.55;
}

.round-card-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.round-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.round-coach-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.round-coach-summary .round-metric-card:last-child {
  grid-column: span 2;
}

.round-quality-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.round-review-insight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.round-review-insight article {
  min-width: 0;
  padding: 13px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.round-review-insight article.wide {
  grid-column: span 2;
}

.round-review-insight.needs-action article {
  border-color: #fed7aa;
  background: #fff7ed;
}

.round-review-insight span,
.round-review-insight strong,
.round-review-insight p {
  display: block;
  min-width: 0;
}

.round-review-insight span {
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.round-review-insight.needs-action span {
  color: #c2410c;
}

.round-review-insight strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.round-review-insight p {
  margin-top: 7px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.round-quality-panel article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.round-quality-panel article.wide {
  grid-column: span 2;
}

.round-quality-panel article.ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.round-quality-panel article.pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.round-quality-panel article.needs-action {
  border-color: #fecdd3;
  background: #fff1f2;
}

.round-quality-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.round-quality-panel strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.round-revision-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.round-request-list,
.round-revision-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.round-request-list > strong,
.round-revision-list > strong {
  color: var(--ink);
  font-size: 13px;
}

.round-request-list article,
.round-revision-list article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
}

.round-request-list span,
.round-revision-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.round-request-list b,
.round-revision-list b {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
}

.round-request-list p,
.round-revision-list p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.sg-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.round-metric-card,
.sg-card,
.sg-insight-strip article,
.sg-club-list article {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.round-metric-card span,
.sg-card span,
.sg-insight-strip span,
.sg-club-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-metric-card strong,
.sg-card strong,
.sg-insight-strip strong,
.sg-club-list strong {
  display: block;
  margin-top: 7px;
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
}

.round-coach-summary .round-metric-card strong {
  font-size: 18px;
}

.round-hole-row.needs-review {
  background: #fff7ed;
}

.round-hole-row.needs-review strong {
  color: #c2410c;
}

.sg-value.positive {
  color: #047857;
}

.sg-value.negative {
  color: #b91c1c;
}

.sg-value.neutral {
  color: #4b5563;
}

.round-assessment,
.round-coach-note {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.round-assessment strong,
.round-coach-note span,
.round-coach-note strong {
  display: block;
}

.round-assessment > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.round-assessment span {
  padding: 5px 8px;
  border-radius: 999px;
  background: white;
  color: #374151;
  font-size: 12px;
  font-weight: 900;
}

.round-assessment p,
.sg-club-list p {
  margin-top: 10px;
  color: #374151;
  line-height: 1.55;
}

.round-review-status {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.round-review-status span,
.round-review-status strong,
.round-review-status p {
  display: block;
}

.round-review-status span {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.round-review-status strong {
  margin-top: 5px;
  color: #111827;
  line-height: 1.45;
}

.round-review-status p {
  margin-top: 5px;
  color: #374151;
  font-size: 13px;
  line-height: 1.5;
}

.round-review-status.needs-action {
  border-color: #fecaca;
  background: #fff1f2;
}

.round-review-status.needs-action span {
  color: #be123c;
}

.round-review-status.pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.round-review-status.pending span {
  color: #92400e;
}

.round-coach-note span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.round-coach-note strong {
  margin-top: 7px;
  color: #111827;
  line-height: 1.5;
  white-space: pre-line;
}

.round-coach-note p {
  margin-top: 8px;
  color: #4b5563;
  line-height: 1.55;
}

.coach-feedback-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.coach-feedback-items article {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.coach-feedback-items article span {
  color: var(--muted);
}

.coach-feedback-items article b {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
}

.round-feedback-form {
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(150px, 0.9fr) minmax(0, 1.3fr) minmax(170px, 0.9fr) minmax(180px, 0.95fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.round-feedback-form label {
  display: grid;
  gap: 7px;
}

.round-feedback-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.round-feedback-form input,
.round-feedback-form select,
.round-feedback-form textarea {
  width: 100%;
}

.round-feedback-form textarea {
  min-height: 70px;
}

.round-feedback-form button {
  min-height: 40px;
  white-space: nowrap;
}

.sg-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 16px;
}

.sg-card.positive {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.sg-card.negative {
  border-color: #fecaca;
  background: #fff7f7;
}

.sg-insight-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.sg-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
}

.sg-detail-grid > .panel {
  padding: 20px;
}

.sg-mini-table .mini-row {
  grid-template-columns: minmax(0, 1fr) 80px 80px;
}

.sg-club-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.sg-club-list strong {
  font-size: 18px;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.deployment-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.deployment-grid article > strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
}

.deployment-grid span,
.deployment-grid b {
  display: block;
}

.deployment-grid span {
  font-weight: 800;
  line-height: 1.35;
}

.deployment-grid b {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.deployment-grid b.ready {
  color: var(--green);
}

.deployment-grid b.next {
  color: var(--amber);
}

.settings-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
}

.schema-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.schema-list div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.schema-list span,
.schema-list strong,
.schema-list p {
  display: block;
}

.schema-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.schema-list strong {
  margin-top: 6px;
  line-height: 1.45;
}

.schema-list p {
  margin-top: 6px;
  color: #374151;
  line-height: 1.55;
}

.security-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.9;
}

.course-card-management-panel {
  margin-top: 16px;
  padding: 20px;
}

.course-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.course-card-summary article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.course-card-summary span,
.course-card-summary strong,
.course-card-summary p {
  display: block;
}

.course-card-summary span,
.course-template-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.course-card-summary strong {
  margin-top: 7px;
  line-height: 1.45;
}

.course-card-summary p {
  margin-top: 7px;
  color: #374151;
  line-height: 1.55;
}

.course-card-guidelines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.course-card-guidelines article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.course-card-guidelines b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
}

.course-card-guidelines strong,
.course-card-guidelines p {
  display: block;
}

.course-card-guidelines strong {
  color: #111827;
  font-size: 13px;
}

.course-card-guidelines p {
  margin-top: 5px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

.course-template-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.course-template-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.course-template-card.is-inactive {
  background: #f8fafc;
  color: #64748b;
}

.course-template-card strong,
.course-template-card p {
  display: block;
}

.course-template-card strong {
  margin-top: 6px;
  line-height: 1.45;
}

.course-template-card p {
  margin-top: 6px;
  color: #4b5563;
  font-size: 13px;
}

.course-template-card dl {
  display: grid;
  grid-template-columns: 80px 80px 120px 1fr;
  gap: 8px;
}

.course-template-card dl div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.course-template-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.course-template-card dd {
  margin-top: 5px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.course-template-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.course-template-status b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.course-template-status b.green {
  background: #dcfce7;
  color: #166534;
}

.course-template-status b.amber {
  background: #fef3c7;
  color: #92400e;
}

.course-template-status b.slate {
  background: #e2e8f0;
  color: #475569;
}

.course-template-status small {
  color: var(--muted);
  font-weight: 800;
}

.course-template-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 112px;
}

.course-template-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.course-template-actions button:first-child {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.course-template-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}

.trackman-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(520px, 1.15fr);
  gap: 16px;
}

.csv-panel,
.csv-preview {
  padding: 20px;
}

.csv-panel h2,
.csv-preview h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

.csv-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.trackman-import-status {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.import-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.import-status-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.import-status-badge {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.import-status-good {
  background: #dcfce7;
  color: #166534;
}

.import-status-watch {
  background: #fef3c7;
  color: #92400e;
}

.import-status-neutral {
  background: #eef2f7;
  color: #475569;
}

.import-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.import-status-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfcff;
}

.import-status-grid span,
.import-status-grid strong,
.import-status-note strong,
.import-status-note span {
  display: block;
}

.import-status-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.import-status-grid strong {
  margin-top: 4px;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.import-status-note {
  padding: 10px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
}

.import-status-note.good {
  background: #f0fdf4;
  color: #166534;
}

.import-status-note strong {
  font-size: 12px;
}

.import-status-note span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.trackman-data-note {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f8fbff;
  color: #374151;
}

.trackman-data-note strong {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.trackman-data-note span {
  font-size: 12px;
  line-height: 1.6;
}

.trackman-raw-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.trackman-raw-editor summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
}

.trackman-raw-editor label {
  padding: 0 14px 14px;
}

.csv-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.csv-stat-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.csv-stat-grid span,
.csv-stat-grid strong {
  display: block;
}

.csv-stat-grid span {
  color: var(--muted);
  font-size: 12px;
}

.csv-stat-grid strong {
  margin-top: 6px;
  font-size: 20px;
}

.trackman-filter-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.trackman-filter-bar label {
  min-width: 180px;
}

.trackman-filter-bar p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-head {
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.trackman-club-panel,
.trackman-history-panel,
.trackman-diagnostic-panel,
.trackman-priority-panel,
.trackman-metric-guide,
.raw-preview {
  margin-top: 16px;
  padding: 20px;
}

.trackman-club-panel h2,
.trackman-history-panel h2,
.trackman-diagnostic-panel h2,
.trackman-priority-panel h2,
.trackman-metric-guide h2,
.trackman-insights h3,
.raw-preview h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.trackman-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.trackman-diagnostic-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.diagnostic-card-head strong,
.diagnostic-card-head span {
  display: block;
}

.diagnostic-card-head strong {
  color: #111827;
  font-size: 14px;
}

.diagnostic-card-head span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.diagnostic-metric-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.diagnostic-metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #eef2f7;
}

.diagnostic-metric-row span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.diagnostic-metric-row strong {
  color: #111827;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.metric-assessment {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.assessment-good {
  background: #dcfce7;
  color: #166534;
}

.assessment-watch {
  background: #fef3c7;
  color: #92400e;
}

.assessment-alert {
  background: #fee2e2;
  color: #991b1b;
}

.assessment-neutral {
  background: #eef2f7;
  color: #475569;
}

.trackman-priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.priority-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.priority-rank {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 13px;
  font-weight: 900;
}

.priority-item strong,
.priority-item span,
.priority-item p {
  display: block;
}

.priority-item strong {
  color: #111827;
  font-size: 14px;
}

.priority-item span {
  margin-top: 5px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.priority-item p {
  margin: 8px 0 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.55;
}

.priority-watch .priority-rank {
  background: #fef3c7;
  color: #92400e;
}

.priority-alert .priority-rank {
  background: #fee2e2;
  color: #991b1b;
}

.priority-good .priority-rank {
  background: #dcfce7;
  color: #166534;
}

.trackman-insights {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  background: #f4f7ff;
}

.trackman-insights ul {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.8;
}

.metric-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-guide-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric-guide-grid strong,
.metric-guide-grid span {
  display: block;
}

.metric-guide-grid span {
  margin-top: 8px;
  color: #374151;
  line-height: 1.6;
}

.trackman-head,
.trackman-row,
.session-head,
.session-row {
  grid-template-columns: 1fr 70px 1fr 1fr 1fr 1fr 1fr;
}

.session-row.current {
  background: #f4f7ff;
  font-weight: 800;
}

.raw-head,
.raw-row {
  grid-template-columns: 1fr 1fr 1fr 1fr 0.8fr 1fr 1fr 1fr 1fr 1fr;
}

.trackman-full-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trackman-full-table {
  width: max-content;
  min-width: 100%;
}

.trackman-full-row {
  display: grid;
  grid-template-columns: repeat(var(--trackman-column-count, 1), minmax(126px, max-content));
  gap: 6px;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.trackman-full-row span {
  min-width: 0;
  padding: 0 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.trackman-full-row span:nth-child(n + 4) {
  text-align: right;
}

.trackman-full-row.raw-row:nth-child(odd) {
  background: #fbfcff;
}

.trackman-full-row:last-child {
  border-bottom: 0;
}

.trackman-full-row.raw-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f6fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.trackman-mobile-only {
  display: none;
}

.trackman-mobile-card-list,
.trackman-mobile-shot-list {
  gap: 10px;
}

.trackman-mobile-card,
.trackman-shot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trackman-mobile-card.current {
  border-color: #b8c7ff;
  background: #f6f8ff;
}

.trackman-mobile-card {
  padding: 12px;
}

.trackman-mobile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.trackman-mobile-card-head strong,
.trackman-mobile-card-head span {
  min-width: 0;
}

.trackman-mobile-card-head strong {
  color: #111827;
  font-size: 14px;
}

.trackman-mobile-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.trackman-mobile-card dl,
.trackman-shot-metrics,
.trackman-shot-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.trackman-mobile-card dl div,
.trackman-shot-metrics div,
.trackman-shot-detail-grid div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: var(--soft);
}

.trackman-mobile-card dt,
.trackman-shot-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.trackman-mobile-card dd,
.trackman-shot-card dd {
  margin: 5px 0 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.trackman-shot-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.trackman-shot-card summary::-webkit-details-marker {
  display: none;
}

.trackman-shot-card summary span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 900;
}

.trackman-shot-card summary strong {
  min-width: 0;
  color: #111827;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.trackman-shot-card summary em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.trackman-shot-card[open] summary {
  border-bottom: 1px solid var(--line);
}

.trackman-shot-metrics,
.trackman-shot-detail-grid {
  padding: 12px;
}

.trackman-shot-detail-grid {
  padding-top: 0;
}

@media (max-width: 1280px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .new-note {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .desktop-row,
  .lower-row,
  .athlete-home-grid,
  .athlete-trackman-metrics,
  .athlete-action-list,
  .coach-feedback-items,
  .guardian-dashboard-grid,
  .guardian-limit-list {
    grid-template-columns: 1fr;
  }

  .mobile-preview {
    position: static;
  }

  .mobile-shell {
    margin: 0;
    max-width: none;
  }

  .trackman-diagnostic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trackman-priority-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .round-coach-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .round-coach-summary .round-metric-card:last-child {
    grid-column: span 3;
  }

  .round-quality-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .round-quality-panel article.wide {
    grid-column: 1 / -1;
  }

  .round-revision-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    background: #eef2f6;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .mobile-app-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background:
      radial-gradient(circle at 82% 0%, rgba(49, 94, 234, 0.24), transparent 28%),
      linear-gradient(180deg, #111827, #0b111d);
    color: #f9fafb;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  }

  .mobile-app-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }

  .mobile-app-brand .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .mobile-app-brand strong,
  .mobile-app-brand span {
    display: block;
  }

  .mobile-app-brand strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .mobile-app-brand span {
    max-width: 210px;
    overflow: hidden;
    margin-top: 3px;
    color: #aab3c5;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu summary {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 13px;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  }

  .mobile-menu-context {
    padding: 12px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #f8fafc;
  }

  .mobile-menu-context span,
  .mobile-menu-context strong,
  .mobile-menu-context p {
    display: block;
  }

  .mobile-menu-context span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-menu-context strong {
    margin-top: 5px;
    font-size: 16px;
  }

  .mobile-menu-context p {
    margin-top: 5px;
    color: #374151;
    font-size: 12px;
    line-height: 1.45;
  }

  .mobile-nav {
    display: grid;
    gap: 5px;
    margin-top: 10px;
  }

  .mobile-nav button,
  .mobile-new-note {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
  }

  .mobile-nav button span {
    width: 20px;
    color: #64748b;
  }

  .mobile-nav button.active,
  .mobile-nav button:hover {
    background: #eef2ff;
    color: #1d4ed8;
  }

  .mobile-new-note {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    background: var(--blue);
    color: white;
  }

  .mobile-logout-button {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
  }

  .content {
    padding: 10px;
    padding-bottom: 92px;
  }

  .personal-session-shell .content {
    padding-top: 8px;
  }

  .personal-session-shell .content > .role-panel,
  .personal-session-shell .content > .auth-panel {
    display: none;
  }

  .personal-session-shell .workspace-page {
    border-color: #e8edf4;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  }

  .round-entry-shell .content {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .round-entry-shell .mobile-bottom-nav {
    display: none;
  }

  .round-entry-shell .flash-hole-actions {
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav button {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 48px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
  }

  .mobile-bottom-nav button span,
  .mobile-bottom-nav button b {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav button span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
  }

  .mobile-bottom-nav button.active {
    background: #0b6fff;
    color: white;
    box-shadow: 0 8px 18px rgba(11, 111, 255, 0.32);
  }

  .main,
  .detail-page,
  .report-page {
    padding: 16px;
  }

  .stats-grid,
  .dashboard-grid,
  .demo-step-grid,
  .test-flow-grid,
  .featured-case-panel,
  .case-summary-grid,
  .athlete-grid,
  .detail-grid,
  .detail-grid.two,
  .goal-grid,
  .metric-grid,
  .history-compare-grid,
  .history-timeline,
  .session-delta-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat {
    display: block;
    min-height: 104px;
    padding: 14px;
  }

  .stat strong {
    font-size: 24px;
  }

  .stat small {
    white-space: nowrap;
  }

  .stat-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .topbar,
  .profile-head {
    display: grid;
  }

  .role-panel,
  .role-notice-grid,
  .data-readiness-grid {
    grid-template-columns: 1fr;
  }

  .role-panel {
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: none;
  }

  .auth-panel,
  .auth-panel form {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    align-items: stretch;
  }

  .role-summary span,
  .role-scope span {
    line-height: 1.5;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 18px;
  }

  .topbar h1,
  .page-header h1,
  .report-page h2 {
    font-size: 22px;
  }

  .top-actions {
    justify-content: flex-start;
    text-align: left;
  }

  .panel-head,
  .section-head,
  .page-header {
    display: grid;
    align-items: start;
  }

  .panel-head span,
  .section-head span {
    line-height: 1.5;
  }

  .desktop-row {
    display: block;
  }

  .lower-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .mobile-preview {
    display: none;
  }

  .profile-title dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-readiness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 6px;
    overflow: visible;
    padding: 10px 0 14px;
  }

  .tab-row span {
    min-width: 0;
    padding: 9px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    white-space: normal;
  }

  .tab-row span.active {
    border-color: var(--ink);
    background: #f8fafc;
  }

  .trend-list > div {
    grid-template-columns: 1fr;
  }

  .workspace-page {
    padding: 14px;
  }

  .page-header,
  .form-actions,
  .action-feedback-panel {
    display: grid;
  }

  .toolbar-panel,
  .action-feedback-panel,
  .record-layout,
  .report-workspace,
  .trackman-layout,
  .governance-grid,
  .settings-grid,
  .test-state-grid,
  .test-account-list,
  .acceptance-summary,
  .acceptance-list,
  .import-flow,
  .pending-steps,
  .extracted-grid,
  .report-evidence-grid,
  .approval-route,
  .share-request-list,
  .deployment-grid,
  .settings-lower-grid,
  .course-card-summary,
  .version-list,
  .storage-readiness-grid,
  .admin-ops-grid,
  .staff-management-grid,
  .assignment-card,
  .assignment-people,
  .course-template-card {
    grid-template-columns: 1fr;
  }

  .course-template-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-template-actions {
    flex-direction: row;
    min-width: 0;
  }

  .course-template-actions button {
    flex: 1 1 0;
  }

  .operations-table {
    border: 0;
    background: transparent;
  }

  .operations-head {
    display: none;
  }

  .operations-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }

  .admin-user-create-form,
  .admin-user-operation-form {
    grid-template-columns: 1fr;
  }

  .admin-user-create-form .secondary-button,
  .admin-user-operation-form .secondary-button {
    width: 100%;
  }

  .operations-row span:nth-child(2)::before {
    content: "역할 · ";
    color: var(--muted);
  }

  .operations-row span:nth-child(3)::before {
    content: "소속 · ";
    color: var(--muted);
  }

  .operations-row span:nth-child(4)::before {
    content: "계정 · ";
    color: var(--muted);
  }

  .assignment-edit-form {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .assignment-edit-form .secondary-button {
    width: 100%;
  }

  .round-filter-panel,
  .segmented-control {
    width: 100%;
  }

  .round-review-overview {
    padding: 16px;
  }

  .round-review-grid {
    grid-template-columns: 1fr;
  }

  .round-input-form {
    gap: 14px;
    padding: 16px;
  }

  .athlete-round-page {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .athlete-round-page > .page-header,
  .athlete-round-page > .action-feedback-panel {
    display: none;
  }

  .athlete-round-page .round-input-form {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .athlete-round-page .round-desktop-review {
    display: none;
  }

  .athlete-round-page .mobile-round-history-panel {
    display: grid;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
  }

  .mobile-round-history-panel summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 0 16px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-round-history-panel summary::-webkit-details-marker {
    display: none;
  }

  .mobile-round-history-panel summary::after {
    content: "보기";
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-round-history-panel[open] summary::after {
    content: "접기";
  }

  .mobile-round-history-panel strong,
  .mobile-round-history-panel span {
    min-width: 0;
  }

  .mobile-round-history-panel summary strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-round-history-panel summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
  }

  .mobile-round-history-body {
    display: grid;
    gap: 12px;
    padding: 0 12px 12px;
  }

  .mobile-round-history-body .panel,
  .mobile-round-history-body .round-detail-card {
    margin: 0;
    border-radius: 8px;
  }

  .mobile-round-history-body .round-filter-panel {
    margin-bottom: 0;
  }

  .round-input-form > .panel-head,
  .round-input-form > .round-mobile-hint,
  .round-input-form > .round-quick-grid {
    display: none;
  }

  .round-input-form .panel-head span {
    font-size: 12px;
    line-height: 1.45;
  }

  .round-mobile-hint {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
  }

  .round-mobile-hint strong {
    color: #1d4ed8;
    font-size: 14px;
  }

  .round-mobile-hint span {
    color: #374151;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
  }

  .round-hole-section {
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
  }

  .round-hole-section > summary {
    display: none;
  }

  .round-flash-mobile {
    display: grid;
    gap: 12px;
    min-height: calc(100svh - 172px);
    padding: 16px 14px 18px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 50% 108%, rgba(64, 143, 189, 0.32), transparent 42%),
      linear-gradient(160deg, #031622 0%, #06283b 56%, #02101a 100%);
    color: white;
    box-shadow: inset 0 0 0 1px rgba(66, 153, 225, 0.28), 0 14px 30px rgba(15, 23, 42, 0.18);
  }

  .flash-top,
  .flash-hole-nav,
  .flash-yardage,
  .flash-inline-controls,
  .flash-hole-strip {
    display: flex;
    align-items: center;
  }

  .flash-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
  }

  .flash-brand {
    display: grid;
    gap: 2px;
    padding: 2px 0 4px;
    text-align: center;
    color: white;
  }

  .flash-brand span {
    color: rgba(125, 211, 252, 0.86);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .flash-brand strong {
    color: white;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
  }

  .flash-top em,
  .flash-control-block > span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
  }

  .flash-top button {
    min-height: 44px;
    border: 1px solid rgba(0, 126, 255, 0.45);
    border-radius: 999px;
    background: rgba(2, 32, 50, 0.62);
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 900;
  }

  .flash-top button.active {
    border-color: #1286ff;
    color: white;
    box-shadow: inset 0 0 0 1px rgba(18, 134, 255, 0.3), 0 0 18px rgba(18, 134, 255, 0.2);
  }

  .flash-panel[hidden] {
    display: none;
  }

  .flash-panel.active {
    display: grid;
    gap: 12px;
  }

  .flash-round-status,
  .flash-score-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .flash-round-status span,
  .flash-score-title span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 900;
  }

  .flash-round-status strong,
  .flash-score-title strong {
    min-width: 68px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0b6fff;
    color: white;
    text-align: center;
    font-size: 16px;
  }

  .flash-live-summary,
  .flash-score-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-entry-health {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-entry-health article {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 12px;
    background: rgba(2, 32, 50, 0.62);
  }

  .flash-entry-health span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 900;
  }

  .flash-entry-health strong {
    color: white;
    font-size: 18px;
    font-weight: 900;
  }

  .flash-save-readiness {
    display: grid;
    gap: 5px;
    padding: 12px 14px;
    border: 1px solid rgba(16, 185, 129, 0.32);
    border-radius: 14px;
    background: rgba(6, 78, 59, 0.28);
  }

  .flash-save-readiness strong,
  .flash-save-readiness span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 900;
    line-height: 1.35;
  }

  .flash-save-readiness strong {
    color: #d1fae5;
    font-size: 14px;
  }

  .flash-save-readiness span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
  }

  .flash-live-summary div,
  .flash-score-summary div {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 12px;
    background: rgba(2, 32, 50, 0.62);
  }

  .flash-live-summary span,
  .flash-live-summary strong,
  .flash-score-summary span,
  .flash-score-summary strong {
    display: block;
    min-width: 0;
  }

  .flash-live-summary span,
  .flash-score-summary span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 900;
  }

  .flash-live-summary strong,
  .flash-score-summary strong {
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: white;
    font-size: 11px;
    line-height: 1.35;
  }

  .flash-course-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(0, 126, 255, 0.28);
    border-radius: 14px;
    background: rgba(2, 32, 50, 0.62);
  }

  .flash-course-summary span {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flash-course-summary button {
    min-height: 36px;
    padding-inline: 12px;
    border: 1px solid rgba(0, 126, 255, 0.4);
    border-radius: 999px;
    background: rgba(11, 111, 255, 0.24);
    color: white;
    font-size: 12px;
    font-weight: 900;
  }

  .flash-options-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 16px;
    background: rgba(3, 45, 70, 0.5);
  }

  .flash-options-list label {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 12px 14px;
    border-top: 1px solid rgba(0, 126, 255, 0.2);
  }

  .flash-options-list label:first-child {
    border-top: 0;
  }

  .flash-options-list span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 900;
  }

  .flash-options-list input,
  .flash-options-list select {
    min-width: 0;
    min-height: 44px;
    border: 1px solid rgba(0, 126, 255, 0.34);
    border-radius: 10px;
    background: rgba(2, 20, 32, 0.56);
    color: white;
    font-size: 15px;
    font-weight: 900;
  }

  .flash-routing-builder {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 16px;
    background: rgba(3, 45, 70, 0.42);
  }

  .flash-routing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .flash-routing-head span,
  .flash-routing-grid span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-routing-head strong {
    color: white;
    text-align: right;
    font-size: 13px;
  }

  .flash-routing-grid {
    display: grid;
    gap: 8px;
  }

  .flash-routing-grid label {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .flash-routing-grid select {
    min-width: 0;
    min-height: 42px;
    border: 1px solid rgba(0, 126, 255, 0.34);
    border-radius: 999px;
    background: rgba(2, 20, 32, 0.56);
    color: white;
    font-size: 13px;
    font-weight: 900;
  }

  .flash-template-panel {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 16px;
    background: rgba(3, 45, 70, 0.42);
  }

  .flash-template-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .flash-template-head span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-template-head strong {
    color: white;
    font-size: 13px;
    font-weight: 900;
  }

  .flash-template-list {
    display: grid;
    gap: 8px;
  }

  .flash-template-list button {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 126, 255, 0.28);
    border-radius: 14px;
    background: rgba(2, 20, 32, 0.5);
    color: white;
    text-align: left;
  }

  .flash-template-list button.active {
    border-color: rgba(236, 0, 140, 0.78);
    background: linear-gradient(135deg, rgba(236, 0, 140, 0.24), rgba(11, 111, 255, 0.18));
    box-shadow: inset 0 0 0 1px rgba(236, 0, 140, 0.16);
  }

  .flash-template-list span,
  .flash-template-list em {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flash-template-list strong {
    overflow: hidden;
    color: white;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flash-template-empty {
    min-height: 52px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(0, 126, 255, 0.3);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 900;
  }

  .flash-template-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .flash-template-tools select,
  .flash-template-tools button {
    min-height: 44px;
    border: 1px solid rgba(0, 126, 255, 0.34);
    border-radius: 999px;
    background: rgba(2, 20, 32, 0.56);
    color: white;
    font-size: 13px;
    font-weight: 900;
  }

  .flash-template-tools select {
    min-width: 0;
    padding-inline: 12px;
  }

  .flash-template-tools button {
    padding-inline: 13px;
  }

  .flash-template-tools button[data-flash-template-save] {
    grid-column: 1 / -1;
    background: #0b6fff;
  }

  .flash-start-actions {
    display: grid;
  }

  .flash-start-actions button {
    min-height: 52px;
    border: 1px solid rgba(0, 126, 255, 0.5);
    border-radius: 999px;
    background: #ec008c;
    color: white;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(236, 0, 140, 0.24);
  }

  .flash-template-tools button:disabled,
  .flash-template-tools select:disabled {
    opacity: 0.5;
  }

  .flash-coursecard-detail {
    overflow: hidden;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 16px;
    background: rgba(3, 45, 70, 0.42);
  }

  .flash-coursecard-detail summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 900;
    list-style: none;
  }

  .flash-coursecard-detail summary::after {
    content: "편집";
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.2);
    color: #bae6fd;
    font-size: 11px;
  }

  .flash-coursecard-detail summary::-webkit-details-marker {
    display: none;
  }

  .flash-coursecard-editor {
    display: grid;
    gap: 6px;
    overflow: hidden;
    border-top: 1px solid rgba(0, 126, 255, 0.18);
  }

  .flash-coursecard-editor-head,
  .flash-coursecard-row {
    display: grid;
    grid-template-columns: 34px minmax(46px, 0.7fr) minmax(76px, 1fr) minmax(54px, 0.8fr);
    gap: 6px;
    align-items: center;
    padding: 8px;
  }

  .flash-coursecard-editor-head {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-coursecard-row {
    border-top: 1px solid rgba(0, 126, 255, 0.16);
  }

  .flash-coursecard-row strong {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(11, 111, 255, 0.42);
    color: white;
    font-size: 13px;
  }

  .flash-coursecard-row input {
    min-width: 0;
    min-height: 38px;
    padding-inline: 6px;
    border: 1px solid rgba(0, 126, 255, 0.34);
    border-radius: 10px;
    background: rgba(2, 20, 32, 0.56);
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
  }

  .flash-coursecard-row input::-webkit-outer-spin-button,
  .flash-coursecard-row input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
  }

  .flash-hole-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 126, 255, 0.35);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(6, 78, 111, 0.78), rgba(3, 45, 70, 0.72)),
      rgba(3, 45, 70, 0.72);
  }

  .flash-hole-nav {
    justify-content: space-between;
    gap: 12px;
  }

  .flash-hole-nav button {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #0b6fff;
    color: white;
    font-size: 30px;
    line-height: 1;
  }

  .flash-hole-nav div {
    display: grid;
    justify-items: center;
    gap: 2px;
  }

  .flash-hole-nav span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 900;
  }

  .flash-hole-nav strong {
    font-size: 68px;
    line-height: 1;
  }

  .flash-yardage {
    justify-content: space-between;
    gap: 8px;
  }

  .flash-yardage span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 900;
  }

  .flash-yardage strong {
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.45);
    text-align: center;
    font-size: 18px;
  }

  .flash-course-meter {
    display: flex;
    justify-content: center;
    padding: 8px 0 0;
  }

  .flash-course-meter div {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-width: 164px;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.48);
    color: white;
  }

  .flash-course-meter strong {
    font-size: 30px;
    line-height: 1;
  }

  .flash-course-meter span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 900;
  }

  .flash-current-summary {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(2, 20, 32, 0.52);
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
  }

  .flash-hole-completion {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .flash-hole-completion span {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(2, 20, 32, 0.48);
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
  }

  .flash-hole-completion span.done {
    border-color: rgba(16, 185, 129, 0.36);
    background: rgba(16, 185, 129, 0.2);
    color: #d1fae5;
  }

  .flash-hole-completion span.missing {
    border-color: rgba(251, 191, 36, 0.34);
    color: #fde68a;
  }

  .flash-hole-scoreline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-hole-scoreline article {
    min-width: 0;
    padding: 9px 6px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 12px;
    background: rgba(2, 20, 32, 0.44);
    text-align: center;
  }

  .flash-hole-scoreline span,
  .flash-hole-scoreline strong {
    display: block;
    min-width: 0;
  }

  .flash-hole-scoreline span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 10px;
    font-weight: 900;
  }

  .flash-hole-scoreline strong {
    margin-top: 4px;
    overflow: hidden;
    color: white;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flash-bottom-nav {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 0;
  }

  .flash-bottom-nav button {
    min-height: 48px;
    border-radius: 999px;
    background: rgba(11, 111, 255, 0.28);
    color: #7cc0ff;
    font-size: 19px;
  }

  .flash-bottom-nav div {
    display: grid;
    justify-items: center;
    gap: 2px;
  }

  .flash-bottom-nav span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-bottom-nav strong {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: #1e63b8;
    color: white;
    font-size: 38px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12), 0 12px 20px rgba(0, 0, 0, 0.22);
  }

  .flash-control-block {
    display: grid;
    gap: 8px;
  }

  .flash-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-control-block .flash-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flash-chip-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flash-chip-grid.tee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flash-chip-grid button,
  .flash-inline-controls button {
    min-height: 52px;
    border: 1px solid rgba(0, 126, 255, 0.4);
    border-radius: 999px;
    background: rgba(2, 32, 50, 0.72);
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 900;
  }

  .flash-manual-score,
  .flash-putts-stepper {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
    align-items: end;
  }

  .flash-manual-score button,
  .flash-putts-stepper button {
    min-height: 48px;
    border: 1px solid rgba(0, 126, 255, 0.4);
    border-radius: 999px;
    background: rgba(2, 32, 50, 0.72);
    color: white;
    font-size: 22px;
    font-weight: 900;
  }

  .flash-manual-score label,
  .flash-putts-stepper label {
    display: grid;
    gap: 5px;
  }

  .flash-manual-score span,
  .flash-putts-stepper span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-manual-score input,
  .flash-putts-stepper input {
    min-height: 48px;
    border: 1px solid rgba(0, 126, 255, 0.4);
    border-radius: 999px;
    background: rgba(2, 32, 50, 0.72);
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
  }

  .flash-chip-grid button b,
  .flash-chip-grid button span {
    display: block;
  }

  .flash-chip-grid button b {
    color: white;
    font-size: 18px;
  }

  .flash-chip-grid button span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
  }

  .flash-chip-grid button.active,
  .flash-inline-controls button.active,
  .flash-hole-strip button.active {
    border-color: #1286ff;
    background: #0b6fff;
    color: white;
    box-shadow: 0 0 0 2px rgba(18, 134, 255, 0.2);
  }

  .flash-inline-controls {
    flex-wrap: wrap;
    gap: 8px;
  }

  .flash-inline-controls button {
    flex: 1 1 30%;
  }

  .flash-correction-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-correction-actions button {
    min-height: 46px;
    border: 1px solid rgba(251, 191, 36, 0.42);
    border-radius: 999px;
    background: rgba(120, 53, 15, 0.18);
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
  }

  .flash-correction-actions [data-flash-next-missing] {
    grid-column: 1 / -1;
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(14, 116, 144, 0.22);
    color: #bae6fd;
  }

  .flash-correction-actions button:disabled {
    opacity: 0.55;
  }

  .flash-hole-actions,
  .flash-submit-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .flash-hole-actions {
    position: sticky;
    bottom: 76px;
    z-index: 15;
    margin-inline: -4px;
    padding: 10px;
    border: 1px solid rgba(0, 126, 255, 0.24);
    border-radius: 18px;
    background: rgba(3, 31, 49, 0.92);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
  }

  .flash-hole-actions button,
  .flash-submit-actions button {
    min-height: 54px;
    border: 1px solid rgba(0, 126, 255, 0.42);
    border-radius: 999px;
    background: rgba(2, 32, 50, 0.72);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 900;
  }

  .flash-hole-actions button:first-child,
  .flash-hole-actions button[data-flash-submit],
  .flash-submit-actions button:last-child {
    background: #0b6fff;
    color: white;
    box-shadow: 0 12px 24px rgba(11, 111, 255, 0.22);
  }

  .flash-hole-actions button[data-flash-submit] {
    grid-column: 1 / -1;
    background: #ec008c;
    box-shadow: 0 12px 24px rgba(236, 0, 140, 0.22);
  }

  .flash-submit-alert {
    padding: 10px 12px;
    border: 1px solid rgba(251, 191, 36, 0.48);
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
  }

  .flash-submit-alert[hidden] {
    display: none;
  }

  .flash-shot-detail {
    border: 1px solid rgba(0, 126, 255, 0.28);
    border-radius: 14px;
    background: rgba(2, 32, 50, 0.62);
  }

  .flash-shot-detail summary {
    padding: 13px 14px;
    color: white;
    font-size: 14px;
    font-weight: 900;
    list-style: none;
  }

  .flash-shot-detail summary::-webkit-details-marker {
    display: none;
  }

  .flash-shot-fields {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
  }

  .flash-shot-fields label {
    display: grid;
    gap: 6px;
  }

  .flash-shot-fields span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-weight: 900;
  }

  .flash-shot-fields input {
    min-height: 46px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.92);
  }

  .flash-hole-strip {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .flash-hole-strip-top {
    position: sticky;
    top: 8px;
    z-index: 12;
    margin-inline: -4px;
    padding: 8px;
    border: 1px solid rgba(0, 126, 255, 0.22);
    border-radius: 18px;
    background: rgba(3, 31, 49, 0.9);
    backdrop-filter: blur(12px);
  }

  .flash-hole-strip button {
    display: grid;
    place-items: center;
    gap: 1px;
    width: 40px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
  }

  .flash-hole-strip button b,
  .flash-hole-strip button span {
    display: block;
    line-height: 1;
  }

  .flash-hole-strip button b {
    font-size: 12px;
  }

  .flash-hole-strip button span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
  }

  .flash-hole-strip button.done:not(.active) {
    background: rgba(16, 185, 129, 0.28);
    color: #d1fae5;
  }

  .flash-hole-strip button.done:not(.active) span,
  .flash-hole-strip button.active span {
    color: white;
  }

  .flash-hole-strip button.missing:not(.active) {
    border-color: rgba(251, 191, 36, 0.3);
  }

  .flash-scorecard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .flash-score-column {
    display: grid;
    gap: 4px;
    min-width: 210px;
    justify-content: center;
  }

  .flash-score-head,
  .flash-score-column button {
    display: grid;
    grid-template-columns: 28px 42px 28px 40px 42px 38px 48px 34px 28px;
    align-items: center;
    gap: 3px;
    width: 339px;
    min-width: 0;
    padding-inline: 0;
  }

  .flash-score-head {
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 900;
    text-align: center;
  }

  .flash-score-column button {
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: white;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
  }

  .flash-score-column button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .flash-score-column button.active {
    background: rgba(11, 111, 255, 0.24);
  }

  .flash-score-column button.done:not(.active) {
    color: #d1fae5;
  }

  .flash-score-column button.missing:not(.active) {
    color: rgba(255, 255, 255, 0.58);
  }

  .flash-score-column button b {
    display: grid;
    place-items: center;
    min-height: 26px;
    border-radius: 999px;
    background: rgba(11, 111, 255, 0.38);
    color: white;
  }

  .flash-score-column-total {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid rgba(0, 126, 255, 0.22);
    border-radius: 10px;
    background: rgba(2, 32, 50, 0.58);
    color: white;
    font-size: 11px;
    font-weight: 900;
  }

  .flash-score-column-total span {
    color: rgba(255, 255, 255, 0.62);
  }

  .flash-score-column-total strong {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    line-height: 1.3;
  }

  .flash-score-edit-hint {
    margin-top: -6px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
  }

  .round-form-grid {
    grid-template-columns: 1fr;
  }

  .round-quick-grid,
  .round-analysis-grid,
  .round-assessment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .round-quick-grid label:nth-child(1),
  .round-quick-grid label:nth-child(4),
  .round-quick-grid label:nth-child(5),
  .round-analysis-grid label:nth-child(7),
  .round-note-field {
    grid-column: 1 / -1;
  }

  .round-input-form label span,
  .round-note-field span {
    font-size: 11px;
  }

  .round-input-form input,
  .round-input-form select {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 16px;
  }

  .round-input-form textarea {
    min-height: 92px;
    font-size: 15px;
  }

  .round-hole-section,
  .round-detail-section,
  .round-shot-section {
    padding: 12px;
  }

  .round-hole-section summary,
  .round-detail-section summary,
  .round-shot-section summary,
  .hole-shot-detail summary {
    min-height: 40px;
  }

  .round-hole-section summary strong,
  .round-detail-section summary strong,
  .round-shot-section summary strong,
  .hole-shot-detail summary strong {
    font-size: 13px;
  }

  .round-hole-section summary span,
  .round-detail-section summary span,
  .round-shot-section summary span,
  .hole-shot-detail summary span {
    text-align: right;
  }

  .hole-input-table,
  .round-hole-table {
    border: 0;
    background: transparent;
  }

  .round-hole-section > .hole-input-table {
    display: none;
  }

  .hole-input-head,
  .round-hole-head {
    display: none;
  }

  .hole-input-row,
  .round-hole-row {
    grid-template-columns: 44px repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }

  .hole-input-row strong,
  .round-hole-row strong {
    grid-row: span 5;
    align-self: stretch;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--soft);
  }

  .hole-input-row label span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
  }

  .hole-input-row input,
  .hole-input-row select {
    min-height: 42px;
    font-size: 14px;
  }

  .round-hole-row span:nth-child(2)::before {
    content: "Course · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(3)::before {
    content: "Par · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(4)::before {
    content: "m · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(5)::before {
    content: "HDCP · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(6)::before {
    content: "Score · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(7)::before {
    content: "Putts · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(8)::before {
    content: "Tee · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(9)::before {
    content: "GIR · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(10)::before {
    content: "Penalty · ";
    color: var(--muted);
  }

  .round-hole-row span:nth-child(11) {
    grid-column: 2 / -1;
  }

  .round-hole-row span:nth-child(11)::before {
    content: "Memo · ";
    color: var(--muted);
  }

  .hole-shot-detail {
    padding: 11px;
  }

  .hole-shot-grid {
    grid-template-columns: 1fr;
  }

  .round-input-form .form-actions {
    position: static;
    z-index: 4;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  }

  .round-input-form .form-actions button {
    flex: 1 1 0;
    min-height: 46px;
  }

  .growth-signal-grid {
    grid-template-columns: 1fr;
  }

  .course-card-guidelines {
    grid-template-columns: 1fr;
  }

  .segmented-control button {
    flex: 1 1 30%;
  }

  .round-table,
  .shot-list {
    border: 0;
    background: transparent;
  }

  .round-head,
  .shot-head {
    display: none;
  }

  .round-row,
  .shot-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }

  .round-row span:nth-child(2)::before {
    content: "구분 · ";
    color: var(--muted);
  }

  .round-row span:nth-child(3)::before {
    content: "코스 · ";
    color: var(--muted);
  }

  .round-row span:nth-child(4)::before {
    content: "스코어 · ";
    color: var(--muted);
  }

  .round-row span:nth-child(6)::before {
    content: "손실 · ";
    color: var(--muted);
  }

  .shot-row span:nth-child(2)::before {
    content: "Shot · ";
    color: var(--muted);
  }

  .shot-row span:nth-child(3)::before {
    content: "Start · ";
    color: var(--muted);
  }

  .shot-row span:nth-child(4)::before {
    content: "Club · ";
    color: var(--muted);
  }

  .shot-row span:nth-child(5)::before {
    content: "Result · ";
    color: var(--muted);
  }

  .round-card-summary,
  .round-coach-summary,
  .round-review-insight,
  .round-quality-panel,
  .round-revision-panel,
  .sg-overview-grid,
  .sg-card-grid,
  .sg-insight-strip,
  .sg-benchmark-grid,
  .sg-report-preview-grid,
  .sg-detail-grid {
    grid-template-columns: 1fr;
  }

  .round-coach-summary .round-metric-card:last-child,
  .round-review-insight article.wide,
  .round-quality-panel article.wide {
    grid-column: auto;
  }

  .round-feedback-form {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .round-feedback-form input,
  .round-feedback-form select {
    min-height: 46px;
    font-size: 15px;
  }

  .round-feedback-form textarea {
    min-height: 84px;
    font-size: 15px;
  }

  .round-feedback-form button {
    min-height: 44px;
    width: 100%;
  }

  .access-matrix {
    overflow-x: auto;
  }

  .access-row {
    min-width: 820px;
  }

  .import-card-head,
  .import-actions,
  .test-state-actions,
  .action-feedback-actions {
    display: grid;
  }

  .csv-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .csv-stat-grid article {
    padding: 12px;
  }

  .csv-stat-grid span {
    min-height: 28px;
    line-height: 1.25;
  }

  .csv-stat-grid strong {
    font-size: 18px;
  }

  .import-status-grid {
    grid-template-columns: 1fr;
  }

  .trackman-filter-bar {
    display: grid;
    align-items: stretch;
  }

  .trackman-filter-bar label {
    min-width: 0;
  }

  .metric-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trackman-diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .trackman-priority-list {
    grid-template-columns: 1fr;
  }

  .table-panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-row {
    min-width: 780px;
  }

  .mini-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mini-row {
    min-width: 680px;
  }

  .sg-mini-table .mini-row {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 64px 64px;
  }

  .sg-mini-table .mini-row span,
  .sg-mini-table .mini-row b {
    min-width: 0;
  }

  .trackman-full-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .raw-row,
  .raw-head {
    min-width: 1080px;
  }

  .trackman-club-panel .mini-table,
  .trackman-history-panel .mini-table,
  .raw-preview .trackman-full-table-wrap {
    display: none;
  }

  .trackman-mobile-only {
    display: grid;
  }
}

@media (max-width: 420px) {
  .profile-readiness-grid {
    grid-template-columns: 1fr;
  }

  .record-waiting-state {
    min-height: auto;
    padding: 14px;
  }

  .metric-guide-grid {
    grid-template-columns: 1fr;
  }

  .mobile-app-brand span {
    max-width: 180px;
  }

  .main,
  .detail-page,
  .report-page,
  .workspace-page {
    padding: 12px;
  }

  .trackman-mobile-card dl,
  .trackman-shot-metrics,
  .trackman-shot-detail-grid {
    grid-template-columns: 1fr;
  }

  .trackman-shot-card summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .trackman-shot-card summary em {
    grid-column: 2;
    white-space: normal;
  }

  .stat {
    min-height: auto;
  }
}

@media print {
  body {
    background: #fff;
  }

  .sidebar,
  .mobile-app-bar,
  .mobile-bottom-nav,
  .role-panel,
  .auth-panel,
  .page-header,
  .report-controls,
  .report-automation-panel {
    display: none !important;
  }

  .app-shell,
  .content,
  .workspace-page,
  .report-workspace {
    display: block;
    min-height: auto;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #fff;
  }

  .report-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .report-block,
  .report-summary,
  .report-disclosure {
    break-inside: avoid;
  }
}
