:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f3efe7;
  --ink: #1f2a2a;
  --muted: #66736d;
  --line: #ddd7cd;
  --primary: #0f766e;
  --primary-dark: #0a514c;
  --primary-soft: #e0f2ef;
  --accent: #b95f45;
  --accent-soft: #f7e5dd;
  --gold: #aa7a16;
  --gold-soft: #f8edcf;
  --blue: #386fa4;
  --blue-soft: #e6f0f8;
  --danger: #9d3d35;
  --shadow: 0 18px 42px rgba(45, 55, 51, 0.13);
  --radius: 8px;
  --space: clamp(16px, 2vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.top-actions a {
  padding: 9px 10px;
  border-radius: 8px;
}

.top-actions a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.community-tabs {
  position: sticky;
  top: 72px;
  z-index: 19;
  display: flex;
  gap: 8px;
  padding: 10px clamp(18px, 4vw, 56px);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.community-tabs a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.community-tabs a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: #b8dfd8;
}

main {
  min-height: calc(100vh - 128px);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.wide-band {
  margin-inline: calc(50% - 50vw);
  padding: 48px max(16px, calc((100vw - 1180px) / 2));
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: stretch;
  gap: clamp(20px, 4vw, 48px);
  min-height: 520px;
  padding: clamp(26px, 4vw, 54px) 0 26px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.eyebrow {
  width: fit-content;
  padding: 7px 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid #b7ded7;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-media {
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img,
.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: #fff;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: #b8dfd8;
}

.button.ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.warning {
  color: #54380b;
  background: var(--gold-soft);
  border-color: #e2ca85;
}

.section {
  margin-top: 52px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 680px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cards-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(45, 55, 51, 0.06);
}

.card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #ecf8f5 100%);
  border-color: #a8d9d1;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
}

.card p,
.muted {
  color: var(--muted);
}

.card .button {
  margin-top: auto;
}

.image-strip {
  height: 138px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: #41504b;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.primary {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.badge.accent {
  color: #743823;
  background: var(--accent-soft);
}

.badge.gold {
  color: #684809;
  background: var(--gold-soft);
}

.badge.blue {
  color: #244f78;
  background: var(--blue-soft);
}

.badge.danger {
  color: #7d2c26;
  background: #f5dfdc;
}

.event-card {
  min-height: 280px;
}

.event-card .meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.price {
  color: var(--primary-dark);
  font-weight: 900;
}

.recommendation {
  border-left: 5px solid var(--primary);
}

.subscription-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  background: #102f2c;
  color: #fff;
  border-radius: var(--radius);
}

.subscription-banner p {
  color: #cfe4de;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 138px;
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-group {
  display: grid;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-title {
  font-weight: 900;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--primary);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px;
  gap: 12px;
  margin-bottom: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #475751;
  font-weight: 900;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.detail-panel,
.summary-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-panel {
  position: sticky;
  top: 138px;
  display: grid;
  gap: 14px;
}

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

.fact {
  padding: 13px;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.fact strong {
  display: block;
}

.trust-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}

.coach-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}

.avatar {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segmented button {
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.segmented button.active {
  color: #fff;
  background: var(--primary);
}

.map-placeholder {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.11) 1px, transparent 1px),
    #eef6f3;
  background-size: 54px 54px;
  border: 1px solid #bfdad4;
  border-radius: var(--radius);
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--primary);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 900;
}

.wizard {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
}

.steps {
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: var(--muted);
  font-weight: 800;
}

.step-button span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
}

.step-button.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.wizard-panel {
  min-height: 420px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wizard-fields {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.my-section {
  display: grid;
  gap: 12px;
}

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

.empty {
  padding: 24px;
  background: #fff;
  border: 1px dashed #c7beb0;
  border-radius: var(--radius);
  text-align: center;
}

.my-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  margin-top: 0;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(31, 42, 42, 0.94)),
    var(--primary-dark);
  color: #fff;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(45, 55, 51, 0.16);
}

.my-hero h1 {
  max-width: 680px;
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.my-hero .lead {
  max-width: 620px;
  margin-top: 12px;
  color: #d8ece8;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.my-hero .eyebrow {
  color: #063b37;
  background: #d9f4ef;
  border-color: rgba(255, 255, 255, 0.4);
}

.my-profile-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.my-profile-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.my-profile-top strong {
  display: block;
  font-size: 1.08rem;
}

.my-profile-top p {
  color: var(--muted);
}

.profile-initials {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 8px;
  font-weight: 900;
}

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

.stat-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(45, 55, 51, 0.05);
}

.stat-card span {
  color: var(--muted);
  font-weight: 900;
}

.stat-card strong {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--primary-dark);
}

.stat-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.my-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
  margin-top: 22px;
}

.my-main-column,
.my-side-column,
.timeline-list,
.mini-list {
  display: grid;
  gap: 16px;
}

.dashboard-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(45, 55, 51, 0.06);
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2 {
  font-size: 1.35rem;
}

.panel-heading p {
  color: var(--muted);
}

.dashboard-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-row.compact {
  grid-template-columns: 14px minmax(0, 1fr) auto;
}

.date-tile {
  display: grid;
  place-items: center;
  min-height: 66px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid #b8dfd8;
  border-radius: 8px;
}

.date-tile span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-tile strong {
  font-size: 1.55rem;
  line-height: 1;
}

.row-content {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.row-content h3,
.mini-row h3 {
  overflow-wrap: anywhere;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
}

.status-dot.published {
  background: var(--primary);
}

.status-dot.pending_review,
.status-dot.draft {
  background: var(--gold);
}

.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

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

.empty-state-panel {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px;
  background: #fbfdfc;
  border: 1px dashed #c7beb0;
  border-radius: var(--radius);
}

.empty-state-panel.small {
  padding: 16px;
}

.empty-state-panel p,
.trust-panel p {
  color: var(--muted);
}

.trust-panel {
  background: linear-gradient(180deg, #ffffff 0%, #eef6f3 100%);
  border-color: #b8dfd8;
}

.coaching-directory-page {
  padding-top: 28px;
}

.coaching-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(56, 111, 164, 0.9)),
    var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(45, 55, 51, 0.16);
}

.coaching-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.coaching-hero .lead {
  margin-top: 12px;
  color: #e5f4f1;
}

.coaching-hero .actions {
  margin-top: 22px;
}

.coaching-hero .eyebrow {
  color: #063b37;
  background: #dff5f1;
  border-color: rgba(255, 255, 255, 0.45);
}

.coaching-hero .button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.coaching-hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.coaching-hero-panel h2 {
  font-size: 1.45rem;
}

.coaching-hero-panel p {
  color: var(--muted);
}

.coach-summary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.coach-summary-row article {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(45, 55, 51, 0.05);
}

.coach-summary-row strong {
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1;
}

.coach-summary-row span {
  color: var(--muted);
  font-weight: 900;
}

.coach-directory-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.coach-filter-panel {
  position: sticky;
  top: 138px;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(45, 55, 51, 0.06);
}

.coach-filter-panel h2,
.coach-results-header h2 {
  font-size: 1.4rem;
}

.coach-filter-panel p,
.coach-results-header p {
  color: var(--muted);
}

.coach-filter-form {
  display: grid;
  gap: 13px;
}

.coach-trust-note {
  display: grid;
  gap: 9px;
  padding: 14px;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.coach-trust-note p {
  color: #244f78;
}

.coach-results {
  display: grid;
  gap: 16px;
}

.coach-results-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.coach-card-list {
  display: grid;
  gap: 16px;
}

.coach-directory-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(45, 55, 51, 0.07);
}

.coach-photo {
  width: 132px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coach-profile {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.coach-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.coach-card-top h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.coach-card-top p {
  color: var(--muted);
}

.coach-price {
  min-width: 132px;
  padding: 12px;
  text-align: right;
  background: var(--primary-soft);
  border: 1px solid #b8dfd8;
  border-radius: var(--radius);
}

.coach-price span,
.coach-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.coach-price strong {
  display: block;
  margin-top: 3px;
  color: var(--primary-dark);
}

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

.coach-meta-grid div {
  padding: 12px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.coach-meta-grid strong {
  display: block;
  margin-top: 3px;
}

.coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(18, 28, 26, 0.55);
}

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 8px;
}

.toast {
  max-width: 340px;
  padding: 13px 15px;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 980px) {
  .top-actions {
    display: none;
  }

  .community-tabs {
    top: 69px;
  }

  .hero,
  .detail-hero,
  .layout,
  .wizard,
  .my-hero,
  .my-dashboard,
  .coaching-hero,
  .coach-directory-layout {
    grid-template-columns: 1fr;
  }

  .my-stats,
  .coach-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-filter-panel {
    position: static;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 300px;
  }

  .grid.cards-5,
  .grid.cards-3,
  .grid.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters,
  .summary-panel {
    position: static;
  }
}

@media (max-width: 660px) {
  .site-header {
    min-height: 68px;
  }

  .brand small {
    display: none;
  }

  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .community-tabs {
    top: 68px;
  }

  .grid.cards-5,
  .grid.cards-3,
  .grid.cards-2,
  .facts,
  .toolbar,
  .subscription-banner,
  .coach-card,
  .list-item,
  .dashboard-row,
  .dashboard-row.compact,
  .mini-row,
  .my-stats,
  .coach-summary-row,
  .coach-directory-card,
  .coach-meta-grid {
    grid-template-columns: 1fr;
  }

  .coach-results-header,
  .coach-card-top {
    flex-direction: column;
  }

  .coach-photo {
    width: 100%;
    height: 220px;
  }

  .coach-price {
    width: 100%;
    text-align: left;
  }

  .coach-actions .button,
  .coach-actions form {
    width: 100%;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 240px;
  }
}
