:root {
  --page: #eaf3fb;
  --card: #ffffff;
  --ink: #102a43;
  --muted: #5b7690;
  --brand: #1f4e79;
  --brand-mid: #2868a3;
  --brand-soft: #d8e9f7;
  --line: #c8d8e6;
  --good: #2f7d4f;
  --good-soft: #e2f4e8;
  --warn: #9a6b16;
  --warn-soft: #fff3d6;
  --danger: #a33a3a;
  --danger-soft: #fde8e8;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page);
  color: var(--ink);
}

body.picker-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  padding: 28px 0 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-line {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--brand);
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.intro-card,
.import-card,
.jtd-card,
.draft-card,
.dashboard-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.intro-card,
.import-card,
.dashboard-section {
  margin: 18px 0;
  padding: 22px;
}

.intro-card h2,
.import-card h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.intro-card p,
.import-lead,
.section-heading p,
.dashboard-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.import-header,
.card-topline,
.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.import-header {
  margin-bottom: 12px;
}

.import-lead {
  margin-bottom: 18px;
}

.paste-label,
.card-field {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.paste-label {
  display: block;
  margin-bottom: 8px;
}

textarea {
  display: block;
  width: 100%;
  min-height: 260px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
  color: var(--ink);
  line-height: 1.5;
  outline: none;
}

textarea:focus,
.card-field input:focus,
.dashboard-search-input:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(40, 104, 163, 0.14);
}

textarea::placeholder,
.card-field input::placeholder,
.dashboard-search-input::placeholder {
  color: #7d94aa;
}

.import-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.import-actions {
  margin-top: 14px;
}

.status-pill,
.gap-pill,
.matrix-warning,
.matrix-ready,
.matrix-open,
.matrix-total {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill {
  padding: 7px 12px;
  background: var(--good-soft);
  color: var(--good);
  font-size: 0.86rem;
}

.gap-pill {
  padding: 7px 12px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 0.82rem;
}

.card-type {
  color: var(--muted);
  font-size: 0.9rem;
}

.actions button,
.import-actions button,
.new-vollie-actions button,
.picker-footer-button,
.dashboard-heading-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.actions button:hover,
.import-actions button:hover,
.new-vollie-actions button:hover,
.picker-footer-button:hover,
.dashboard-heading-actions button:hover {
  background: var(--brand-mid);
}

.secondary-button {
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
}

.secondary-button:hover {
  background: #c8ddf0 !important;
}

.jtd-card {
  padding: 24px;
}

.jtd-card h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.04em;
}

.card-detail {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.02rem;
}

.three-deep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}

.three-deep > div,
.person-field {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--brand-soft);
}

.three-deep span,
.person-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.three-deep strong {
  display: block;
  font-size: 1.2rem;
}

.movement-history {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbff;
}

.movement-history h3,
.movement-history h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.movement-history ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-section {
  margin-top: 30px;
}

.dashboard-heading {
  margin-bottom: 18px;
}

.dashboard-heading > div:first-child {
  max-width: 650px;
}

.dashboard-heading h2 {
  margin-bottom: 7px;
  font-size: clamp(1.65rem, 4vw, 2.3rem);
  letter-spacing: -0.035em;
}

.dashboard-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.dashboard-search-input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0 14px;
  background: #f7fbff;
  color: var(--ink);
  outline: none;
  font-weight: 700;
}

.attention-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.attention-item {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #f7fbff;
}

.attention-item-copy {
  min-width: 0;
}

.attention-item-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.attention-item h3 {
  margin-bottom: 7px;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.attention-item-detail {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.4;
}

.attention-item-context {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.attention-item > button {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.attention-item > button:hover {
  background: var(--brand-mid);
}

.vollie-matrix,
.job-matrix {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.vollie-matrix {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.job-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vollie-matrix-card,
.job-matrix-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #f7fbff;
}

.vollie-matrix-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-self: start;
  flex-direction: column;
  border-color: #b9cede;
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f9fd 100%
    );
  box-shadow:
    0 10px 24px
    rgba(16, 42, 67, 0.07);
}

.vollie-matrix-card h3,
.job-matrix-card h3 {
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
}

.vollie-matrix-card h3 {
  max-width: 100%;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.job-matrix-card h3 {
  overflow-wrap: break-word;
  word-break: normal;
}

.matrix-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.vollie-matrix-card .matrix-card-topline {
  min-width: 0;
  min-height: 0;
  margin-bottom: 10px;
}

.matrix-warning,
.matrix-ready,
.matrix-open,
.matrix-total {
  padding: 5px 8px;
  font-size: 0.7rem;
}

.vollie-matrix-card .matrix-warning,
.vollie-matrix-card .matrix-ready,
.vollie-matrix-card .matrix-total {
  max-width: 100%;
  padding: 5px 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  font-size: 0.68rem;
  line-height: 1.2;
}

.matrix-ready {
  background: var(--good-soft);
  color: var(--good);
}

.matrix-warning {
  background: var(--warn-soft);
  color: var(--warn);
}

.matrix-open {
  background: var(--danger-soft);
  color: var(--danger);
}

.matrix-total {
  background: #e8eef4;
  color: var(--muted);
}

.vollie-matrix-card .matrix-total {
  background: var(--brand-soft);
  color: var(--brand);
}

.matrix-subtitle {
  min-height: 17px;
  margin-bottom: 9px;
  overflow: visible;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

.vollie-matrix-card .matrix-subtitle {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #6d8296;
  font-size: 0.76rem;
}

.matrix-note {
  display: block;
  min-height: 38px;
  margin-bottom: 12px;
  overflow: visible;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.vollie-matrix-card > .matrix-note {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.74rem;
  line-height: 1.35;
}

.vollie-matrix-card > .matrix-note:last-child {
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin: 10px 0 0;
}

.vollie-matrix-card > .matrix-note:last-child strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  border-left: 3px solid var(--warn);
  border-radius: 0 10px 10px 0;
  padding: 8px 9px;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: var(--warn-soft);
  color: #76520f;
  font-size: 0.7rem;
  line-height: 1.3;
}

.matrix-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.vollie-matrix-card .matrix-three {
  min-width: 0;
  gap: 5px;
  margin-top: 0;
}

.matrix-three > div {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 6px;
  background: var(--brand-soft);
  text-align: center;
}

.vollie-matrix-card .matrix-three > div {
  min-width: 0;
  max-width: 100%;
  border-color: #c5d9e8;
  border-radius: 10px;
  padding: 7px 3px;
  overflow: hidden;
  background: #ffffff;
}

.matrix-three span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
}

.vollie-matrix-card .matrix-three span {
  max-width: 100%;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.58rem;
  line-height: 1.15;
}

.matrix-three strong {
  display: block;
  color: var(--brand);
  font-size: 1rem;
}

.vollie-matrix-card .matrix-three strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.vollie-matrix-card,
.vollie-matrix-card > *,
.vollie-matrix-card h3,
.vollie-matrix-card p,
.vollie-matrix-card span,
.vollie-matrix-card strong,
.vollie-matrix-card div {
  min-width: 0;
  max-width: 100%;
}

.vollie-matrix-card h3,
.vollie-matrix-card p,
.vollie-matrix-card span,
.vollie-matrix-card strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.job-role-list {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}

.job-role {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 9px;
}

.job-role span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.job-role strong {
  min-width: 0;
  overflow: visible;
  font-size: 0.82rem;
  line-height: 1.3;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: break-word;
}

.job-role.is-filled {
  background: var(--good-soft);
}

.job-role.is-filled strong {
  color: var(--good);
}

.job-role.is-needed {
  background: var(--warn-soft);
}

.job-role.is-needed strong {
  color: var(--warn);
}

.empty-dashboard-state,
.empty-vollie-list {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 17px;
  padding: 22px;
  background: #f7fbff;
  text-align: center;
}

.empty-dashboard-state p,
.empty-vollie-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.draft-section {
  margin: 30px 0;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
}

.draft-grid {
  display: grid;
  gap: 18px;
}

.draft-card {
  padding: 24px;
}

.draft-card .card-topline {
  margin-bottom: 20px;
}

.draft-card > .card-field {
  display: block;
  margin-bottom: 14px;
}

.card-field input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 13px;
  background: #f7fbff;
  color: var(--ink);
  outline: none;
  font-weight: 700;
}

.three-deep.compact {
  margin-top: 16px;
}

.three-deep.compact .person-field {
  display: block;
  margin: 0;
}

.vollie-field-button {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.vollie-field-button:hover {
  border-color: var(--brand-mid);
  background: #f7fbff;
}

.vollie-field-main {
  display: block;
}

.vollie-field-main strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1rem;
}

.vollie-field-main small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.vollie-field-action {
  display: inline-block !important;
  margin-top: 10px;
  margin-bottom: 0 !important;
  color: var(--brand) !important;
  font-size: 0.78rem !important;
}

.draft-card .actions {
  padding-top: 2px;
}

.draft-card .actions button:last-child {
  background: #e8eef4;
  color: var(--brand);
}

.draft-card .actions button:last-child:hover {
  background: #dbe5ee;
}

.vollie-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 42, 67, 0.55);
  backdrop-filter: blur(4px);
}

.vollie-picker-overlay[hidden] {
  display: none;
}

.vollie-picker {
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: var(--card);
  box-shadow: 0 28px 80px rgba(16, 42, 67, 0.3);
}

.vollie-picker-header,
.new-vollie-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vollie-picker-header {
  margin-bottom: 20px;
}

.vollie-picker-header h2,
.new-vollie-heading h2 {
  margin-bottom: 5px;
}

.vollie-picker-context {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e8eef4;
  color: var(--brand);
  font-size: 1.7rem;
  line-height: 1;
}

.icon-button:hover {
  background: #dbe5ee;
}

.vollie-picker-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.vollie-choice {
  display: grid;
  grid-template-columns:
    minmax(150px, 0.9fr)
    minmax(220px, 1.5fr)
    auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 14px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.vollie-choice:hover,
.vollie-choice.is-selected {
  border-color: var(--brand-mid);
  background: #f2f8fd;
}

.vollie-choice-main strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.vollie-choice-main small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.vollie-choice-suitability {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.vollie-choice-workload {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.vollie-picker-footer,
.new-vollie-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.new-vollie-form {
  padding-top: 2px;
}

.new-vollie-form[hidden],
#existingVolliesView[hidden] {
  display: none;
}

.text-button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
}

.text-button:hover {
  text-decoration: underline;
}

.new-vollie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.new-vollie-grid .card-field {
  display: block;
}

.new-vollie-grid textarea {
  min-height: 120px;
  margin-top: 7px;
  border-radius: 14px;
  background: #f7fbff;
}

.full-width-field {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .attention-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .job-matrix {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vollie-choice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vollie-choice-workload {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .intro-card,
  .import-card,
  .jtd-card,
  .draft-card,
  .dashboard-section {
    border-radius: 20px;
  }

  .jtd-card,
  .import-card,
  .draft-card,
  .dashboard-section {
    padding: 18px;
  }

  .import-header,
  .card-topline,
  .dashboard-heading,
  .vollie-picker-header,
  .new-vollie-heading {
    flex-direction: column;
  }

  .dashboard-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-heading-actions button {
    width: 100%;
  }

  .attention-list {
    grid-template-columns: 1fr;
  }

  .attention-item {
    min-height: 0;
  }

  .three-deep {
    grid-template-columns: 1fr;
  }

  .vollie-matrix {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .job-matrix {
    grid-template-columns: 1fr;
  }

  .actions,
  .import-actions,
  .vollie-picker-footer,
  .new-vollie-actions {
    flex-direction: column;
  }

  .actions button,
  .import-actions button,
  .picker-footer-button,
  .new-vollie-actions button {
    width: 100%;
  }

  .new-vollie-grid {
    grid-template-columns: 1fr;
  }

  .full-width-field {
    grid-column: auto;
  }

  .vollie-picker-overlay {
    align-items: end;
    padding: 0;
  }

  .vollie-picker {
    width: 100%;
    max-height: 94vh;
    border-radius: 24px 24px 0 0;
    padding: 20px;
  }

  textarea {
    min-height: 300px;
  }

  .new-vollie-grid textarea {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .vollie-matrix,
  .job-matrix {
    grid-template-columns: 1fr;
  }
}

.responsibility-summary {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.responsibility-summary-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #f7fbff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  white-space: normal;
}

.responsibility-summary-card:hover {
  border-color: var(--brand-mid);
  background: #f2f8fd;
  box-shadow:
    0 10px 24px
    rgba(16, 42, 67, 0.1);
}

.responsibility-summary-card:focus-visible {
  border-color: var(--brand-mid);
  outline:
    3px solid
    rgba(40, 104, 163, 0.2);
  outline-offset: 2px;
}

.responsibility-summary-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.responsibility-summary-card strong {
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.responsibility-summary-card small {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
}

@media (max-width: 680px) {
  .responsibility-summary {
    grid-template-columns: 1fr;
  }
}

/* Regional club comparison */

.regional-order-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.regional-club-list {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.regional-club-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fbff 100%
    );
  box-shadow:
    0 12px 28px
    rgba(16, 42, 67, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.regional-club-card:hover {
  border-color: var(--brand-mid);
  box-shadow:
    0 18px 36px
    rgba(16, 42, 67, 0.12);
  transform: translateY(-2px);
}

.regional-club-card .matrix-card-topline {
  min-height: 32px;
  margin-bottom: 14px;
}

.regional-club-card .matrix-warning,
.regional-club-card .matrix-ready {
  max-width: 100%;
  padding: 7px 11px;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: normal;
}

.regional-club-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.regional-club-card > .matrix-note {
  min-height: 0;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.regional-indicator-list {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.regional-indicator-list li {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.regional-club-card > .matrix-note strong {
  display: block;
  border-left: 4px solid var(--warn);
  padding: 10px 12px;
  border-radius: 0 12px 12px 0;
  background: var(--warn-soft);
  color: #76520f;
  font-size: 0.82rem;
  line-height: 1.4;
}

.regional-unavailable-note {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.regional-club-card > button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  box-shadow:
    0 10px 22px
    rgba(31, 78, 121, 0.2);
}

.regional-club-card > button:hover {
  background: var(--brand-mid);
}

.regional-club-card > button:focus-visible {
  outline:
    3px solid
    rgba(40, 104, 163, 0.22);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .regional-club-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .regional-club-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .regional-club-list {
    grid-template-columns: 1fr;
  }

  .regional-club-card:last-child {
    grid-column: auto;
  }

  .regional-indicator-list {
    grid-template-columns: 1fr;
  }
}