@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/newsreader-variable.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --fp-ink: #121a24;
  --fp-forest: #1e5d52;
  --fp-signal: #c8f25b;
  --fp-ivory: #f5f1e8;
  --fp-paper: #fffefa;
  --fp-slate: #5e6b76;
  --fp-mist: #dce5e1;
  --fp-focus: #2d79a0;
  --navy: var(--fp-ink);
  --navy-2: var(--fp-forest);
  --ink: var(--fp-ink);
  --ink-muted: var(--fp-slate);
  --ivory: var(--fp-ivory);
  --surface: var(--fp-paper);
  --white: var(--fp-paper);
  --gold: var(--fp-forest);
  --gold-dark: #17483f;
  --gold-bright: var(--fp-signal);
  --gold-pale: #edf7d4;
  --border: var(--fp-mist);
  --border-strong: #83948d;
  --success: #237053;
  --success-bg: #e4f1ec;
  --warning: #9a6700;
  --warning-text: #8b5c00;
  --warning-bg: #fff0c9;
  --danger: #b74436;
  --danger-bg: #fae9e5;
  --info: #236a8d;
  --info-bg: #e5f1f6;
  --focus: var(--fp-focus);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --shadow-sm: 0 1px 2px rgba(18, 26, 36, 0.08);
  --shadow-lg: 0 12px 32px rgba(18, 26, 36, 0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 260ms;
  --container: 75rem;
  --reading-width: 45rem;
  --control-height: 2.75rem;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--gold-bright);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sidebar :focus-visible {
  outline-color: var(--gold-bright);
}

.hero-strip :focus-visible {
  outline-color: var(--gold-bright);
}

main:focus {
  outline: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-140%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  transform: translateY(0);
}

.preloader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--navy);
  color: var(--white);
  transition: opacity var(--duration-slow) var(--ease), visibility var(--duration-slow) var(--ease);
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.formapair-logo {
  display: block;
  height: auto;
}

.preloader__logo {
  width: min(240px, 76vw);
}

.preloader p {
  margin: 14px 0 18px;
  color: rgba(255, 254, 250, 0.72);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.preloader__line {
  width: 130px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.preloader__line i {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: var(--gold-bright);
  animation: preload var(--duration-slow) var(--ease) forwards;
}

@keyframes preload {
  to { transform: translateX(0); }
}

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

.sidebar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 680px;
  flex-direction: column;
  overflow: hidden;
  padding: 25px 18px 18px;
  background: var(--navy);
  color: rgba(255, 254, 250, 0.82);
}

.sidebar::after {
  position: absolute;
  right: -48px;
  bottom: 72px;
  width: 180px;
  height: 130px;
  background:
    linear-gradient(18deg, transparent 49.5%, rgba(200, 242, 91, 0.13) 50%, transparent 50.5%),
    linear-gradient(-18deg, transparent 49.5%, rgba(200, 242, 91, 0.13) 50%, transparent 50.5%),
    linear-gradient(35deg, transparent 49.5%, rgba(255, 254, 250, 0.08) 50%, transparent 50.5%),
    linear-gradient(-35deg, transparent 49.5%, rgba(255, 254, 250, 0.08) 50%, transparent 50.5%);
  content: "";
  pointer-events: none;
}

.brand {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-height: 46px;
  margin: 0 8px 30px;
}

.brand__logo {
  width: 168px;
}

.brand__symbol {
  display: none;
  width: 40px;
  height: 40px;
}

.brand__tagline {
  padding-left: 38px;
  color: rgba(255, 254, 250, 0.62);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.2;
}

.sidebar__label {
  margin: 0 12px 9px;
  color: rgba(255, 254, 250, 0.66);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-list button.nav-link {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transform: translateX(2px);
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-link.is-active::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--gold-bright);
  content: "";
}

.nav-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.nav-spacer {
  height: 20px;
}

.sidebar__footer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.demo-note {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.45;
}

.demo-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.avatar,
.avatar-sm {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
}

.avatar {
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.avatar-sm {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.sidebar-profile__copy {
  min-width: 0;
  line-height: 1.25;
}

.sidebar-profile__copy strong,
.sidebar-profile__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile__copy strong {
  color: var(--white);
  font-size: 13px;
}

.sidebar-profile__copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.app-main {
  min-width: 0;
  background: var(--ivory);
}

.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(94, 107, 118, 0.24);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.topbar__start,
.topbar__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__crumb {
  color: var(--ink-muted);
  font-size: 13px;
}

.role-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 254, 250, 0.78);
}

.role-switch button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.role-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.icon-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 254, 250, 0.78);
  color: var(--navy);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: var(--white);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ivory);
  border-radius: 50%;
  background: var(--danger);
}

.page {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 36px 38px 80px;
  animation: pageIn 240ms var(--ease) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.page-subtitle {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  background: var(--navy-2);
  box-shadow: 0 8px 18px rgba(18, 26, 36, 0.14);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button--secondary {
  border-color: var(--border-strong);
  background: var(--white);
  color: var(--navy);
}

.button--secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.button--gold {
  background: var(--gold-bright);
  color: var(--navy);
}

.button--gold:hover {
  background: #b7e543;
}

.button--danger {
  border-color: #e7c5bf;
  background: var(--danger-bg);
  color: var(--danger);
}

.button--danger:hover {
  border-color: var(--danger);
  background: var(--danger);
  color: var(--white);
}

.button--text {
  min-height: 38px;
  padding: 6px 8px;
  background: transparent;
  color: var(--navy);
}

.button--text:hover {
  background: rgba(30, 93, 82, 0.08);
  box-shadow: none;
}

.button--sm {
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.78fr);
  gap: 22px;
}

.stack {
  display: grid;
  align-content: start;
  gap: 22px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card--pad {
  padding: 22px;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 14px;
}

.card__header h2,
.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card__header p,
.section-heading p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.card__body {
  padding: 0 22px 22px;
}

.hero-strip {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}

.hero-strip::before,
.hero-strip::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-strip::before {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42%, 470px);
  background:
    linear-gradient(21deg, transparent 49.6%, rgba(200, 242, 91, 0.24) 50%, transparent 50.4%),
    linear-gradient(-21deg, transparent 49.6%, rgba(200, 242, 91, 0.24) 50%, transparent 50.4%),
    linear-gradient(38deg, transparent 49.6%, rgba(255, 254, 250, 0.13) 50%, transparent 50.4%),
    linear-gradient(-38deg, transparent 49.6%, rgba(255, 254, 250, 0.13) 50%, transparent 50.4%);
}

.hero-strip::after {
  top: calc(50% - 6px);
  right: calc(min(42%, 470px) / 2 - 6px);
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--gold-bright);
}

.hero-strip__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-strip .eyebrow {
  color: var(--gold-bright);
}

.hero-strip h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-strip p:not(.eyebrow) {
  max-width: 610px;
  margin: 12px 0 22px;
  color: rgba(255, 254, 250, 0.7);
  font-size: 16px;
}

.hero-strip .button {
  background: var(--gold-bright);
  color: var(--navy);
}

.hero-strip .button:hover {
  background: #b7e543;
}

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

.metric {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.9);
}

.metric__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}

.metric__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--gold);
}

.metric__icon svg {
  width: 16px;
  height: 16px;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric small {
  display: block;
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 13px;
}

.decision-list {
  display: grid;
  padding: 0 22px 22px;
}

.decision-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.decision-item:first-child {
  border-top: 0;
}

.decision-item__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--warning-bg);
  color: var(--warning);
}

.decision-item__icon svg {
  width: 18px;
  height: 18px;
}

.decision-item__copy strong,
.decision-item__copy span {
  display: block;
}

.decision-item__copy strong {
  font-size: 13px;
}

.decision-item__copy span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--info-bg);
  color: var(--info);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status--success {
  background: var(--success-bg);
  color: var(--success);
}

.status--warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.status--danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.status--neutral {
  background: #edf1ef;
  color: var(--ink-muted);
}

.progress-block {
  padding: 22px;
}

.progress-block__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.progress-block__top span {
  color: var(--ink-muted);
  font-size: 13px;
}

.progress-block__top strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

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

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-muted);
  font-size: 13px;
}

.progress-steps svg {
  width: 15px;
  height: 15px;
  color: var(--success);
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  font-size: 13px;
}

.data-table tbody tr {
  transition: background 150ms ease;
}

.data-table tbody tr:hover {
  background: #f8f5ee;
}

.table-title {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.table-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 13px;
}

.mobile-cards {
  display: none;
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.88);
}

.filters--trainer {
  grid-template-columns: 1.2fr 1fr auto;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.results-heading h2,
.results-heading p {
  margin: 0;
}

.results-heading p {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 13px;
}

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

.field label,
.field__label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input,
.field select {
  padding: 0 12px;
}

.field textarea {
  min-height: 105px;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--surface);
}

.field small {
  color: var(--ink-muted);
  font-size: 13px;
}

.field-error {
  color: var(--danger) !important;
  font-size: 13px !important;
}

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

.trainer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.trainer-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(18, 26, 36, 0.08);
  transform: translateY(-2px);
}

.trainer-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trainer-card__name {
  min-width: 0;
}

.trainer-card__name strong,
.trainer-card__name span {
  display: block;
}

.trainer-card__name strong {
  font-size: 14px;
}

.trainer-card__name span {
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trainer-card__title {
  min-height: 42px;
  margin: 17px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.25;
}

.match-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

.match-reasons li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
}

.match-reasons svg {
  width: 11px;
  height: 11px;
}

.trainer-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.trainer-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trainer-meta svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

.trainer-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.trainer-rate strong,
.trainer-rate span {
  display: block;
}

.trainer-rate strong {
  font-size: 14px;
}

.trainer-rate span {
  color: var(--ink-muted);
  font-size: 13px;
}

.empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 35px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.62);
  text-align: center;
}

.empty-state__inner {
  max-width: 430px;
}

.empty-state__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
}

.empty-state h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.empty-state p {
  margin: 8px 0 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: 22px;
}

.mission-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.mission-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mission-summary svg {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 26px 0 22px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--border);
}

.tab {
  position: relative;
  min-height: 42px;
  padding: 8px 12px 12px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tab.is-active {
  color: var(--navy);
}

.tab.is-active::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.candidate-card {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.candidate-card:first-child {
  border-top: 0;
}

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

.candidate-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.candidate-identity strong,
.candidate-identity span {
  display: block;
}

.candidate-identity strong {
  font-size: 14px;
}

.candidate-identity span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.candidate-card blockquote {
  margin: 17px 0;
  padding: 14px 16px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
}

.candidate-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0;
}

.candidate-stat {
  padding: 11px;
  border-radius: var(--radius-sm);
  background: #f0f4f1;
}

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

.candidate-stat span {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.candidate-stat strong {
  margin-top: 4px;
  font-size: 13px;
}

.candidate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
}

.timeline li::after {
  position: absolute;
  top: 15px;
  bottom: -2px;
  left: 6px;
  width: 1px;
  background: var(--border);
  content: "";
}

.timeline li:last-child::after {
  display: none;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: 13px;
}

.timeline span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.info-list div:first-child {
  border-top: 0;
}

.info-list dt {
  color: var(--ink-muted);
  font-size: 13px;
}

.info-list dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
}

.message-layout {
  display: grid;
  min-height: 620px;
  grid-template-columns: 310px minmax(0, 1fr);
}

.thread-list {
  border-right: 1px solid var(--border);
  background: #f8f6f0;
}

.thread-select-mobile {
  display: none;
}

.thread-list__header,
.message-panel__header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.thread-list__header h2,
.message-panel__header h2 {
  margin: 0;
  font-size: 15px;
}

.thread-list__header p,
.message-panel__header p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.thread-item {
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
}

.thread-item.is-active {
  background: var(--white);
  box-shadow: inset 3px 0 0 var(--gold);
}

.thread-item strong {
  font-size: 13px;
}

.thread-item span {
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-panel {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.messages {
  display: grid;
  align-content: end;
  gap: 14px;
  overflow-y: auto;
  padding: 24px;
}

.message {
  display: grid;
  max-width: 72%;
  gap: 5px;
}

.message--mine {
  justify-self: end;
}

.message__meta {
  color: var(--ink-muted);
  font-size: 13px;
}

.message--mine .message__meta {
  text-align: right;
}

.message__bubble {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 12px;
  background: var(--white);
  font-size: 13px;
  line-height: 1.5;
}

.message--mine .message__bubble {
  border-color: var(--navy);
  border-radius: 12px 4px 12px 12px;
  background: var(--navy);
  color: var(--white);
}

.empty-thread {
  display: grid;
  max-width: 360px;
  place-self: center;
  justify-items: center;
  color: var(--ink-muted);
  text-align: center;
}

.empty-thread > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
}

.empty-thread strong {
  color: var(--ink);
  font-size: 14px;
}

.empty-thread p {
  margin: 5px 0 0;
  font-size: 13px;
}

.conversation-cards {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.conversation-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.conversation-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.conversation-card strong,
.conversation-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-card strong { font-size: 13px; }
.conversation-card small { color: var(--ink-muted); font-size: 13px; }
.conversation-card > svg { width: 17px; height: 17px; }

.availability-checks {
  margin: 0;
  padding: 0;
  border: 0;
}

.availability-checks label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.availability-checks input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

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

.availability-checks svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #f8f6f0;
}

.composer input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.assignment-card {
  position: relative;
  padding: 23px;
  border: 1px solid #b9ccc6;
  border-radius: var(--radius);
  background: #f3f8f5;
}

.assignment-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gold);
  content: "";
}

.assignment-card h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.assignment-card p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 13px;
}

.assignment-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.assignment-card__footer strong {
  font-size: 14px;
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 25px;
}

.profile-hero .avatar {
  width: 70px;
  height: 70px;
  font-size: 20px;
}

.profile-hero h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.profile-hero p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.profile-section {
  padding: 22px;
  border-top: 1px solid var(--border);
}

.profile-section h3 {
  margin: 0 0 13px;
  font-size: 13px;
}

.profile-section p {
  color: var(--ink-muted);
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.tag svg {
  width: 12px;
  height: 12px;
  color: var(--success);
}

.access-proof {
  display: grid;
  gap: 14px;
  padding: 21px;
  border: 1px solid #e7c5bf;
  border-radius: var(--radius);
  background: var(--danger-bg);
}

.access-proof__top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.access-proof__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--danger);
}

.access-proof h3,
.access-proof p {
  margin: 0;
}

.access-proof h3 {
  color: var(--danger);
  font-size: 14px;
}

.access-proof p {
  color: #7c413a;
  font-size: 13px;
}

.access-proof code {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.78);
  color: var(--danger);
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 26, 36, 0.64);
  backdrop-filter: blur(5px);
  animation: fadeIn 160ms ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(100%, 760px);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: modalIn 220ms var(--ease) both;
}

.modal--confirm {
  width: min(520px, 100%);
}

.confirmation-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.confirmation-copy p {
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.confirmation-copy__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
}

.confirmation-copy__icon svg {
  width: 18px;
  height: 18px;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 17px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 254, 250, 0.96);
  backdrop-filter: blur(10px);
}

.modal__header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.modal__header p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.modal__body {
  padding: 23px 24px;
}

.modal__footer {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  border-top: 1px solid var(--border);
  background: rgba(255, 254, 250, 0.97);
  backdrop-filter: blur(10px);
}

.modal__footer-actions {
  display: flex;
  gap: 8px;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #edf1ef;
  color: var(--navy);
  cursor: pointer;
}

.wizard-progress {
  display: flex;
  gap: 7px;
  margin-bottom: 23px;
}

.wizard-progress span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: var(--border);
}

.wizard-progress span.is-active {
  background: var(--gold);
}

.wizard-step h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.wizard-step > p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 13px;
}

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

.field--full {
  grid-column: 1 / -1;
}

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

.radio-card {
  position: relative;
  min-height: 88px;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card span {
  display: grid;
  height: 100%;
  place-content: center;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease;
}

.radio-card span strong {
  font-size: 14px;
}

.radio-card span small {
  color: var(--ink-muted);
  font-size: 13px;
}

.radio-card input:checked + span {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.radio-card input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.preview-sheet {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.preview-sheet h3 {
  margin: 10px 0 9px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.preview-sheet p {
  color: var(--ink-muted);
  font-size: 13px;
}

.preview-sheet__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 13px;
}

.schedule-editor {
  display: grid;
  gap: 14px;
}

.session-editor {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8f6f0;
}

.session-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.session-editor__header div {
  display: grid;
  gap: 3px;
}

.session-editor__header span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-editor__header strong {
  font-size: 13px;
}

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

.schedule-add {
  justify-self: start;
}

.preview-schedule {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.preview-schedule > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8f6f0;
}

.preview-schedule time {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.preview-schedule strong {
  font-size: 13px;
}

.preview-schedule p,
.preview-empty {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.overview-divider {
  height: 1px;
  margin: 26px 0;
  background: var(--border);
}

.schedule-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.schedule-panel__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.schedule-total,
.privacy-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #bfd0ca;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.privacy-chip svg {
  width: 12px;
  height: 12px;
}

.schedule-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
}

.schedule-item__rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.schedule-item__rail::after {
  position: absolute;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--border);
  content: "";
}

.schedule-item:last-child .schedule-item__rail::after {
  display: none;
}

.schedule-item__rail > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #bfd0ca;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.schedule-item__content {
  min-width: 0;
  padding: 1px 0 24px;
}

.schedule-item__time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.schedule-item__time svg {
  width: 14px;
  height: 14px;
}

.schedule-item__time small {
  padding-left: 6px;
  border-left: 1px solid var(--border-strong);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.schedule-item__content h3 {
  margin: 8px 0 5px;
  font-size: 14px;
}

.schedule-item__content > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
}

.schedule-item__meta {
  display: flex;
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 13px;
}

.schedule-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.schedule-item__meta svg {
  width: 13px;
  height: 13px;
}

.notes-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.notes-panel__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.notes-panel__heading p:not(.eyebrow) {
  max-width: 540px;
  margin: 7px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.note-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8f6f0;
}

.note-composer textarea {
  min-height: 88px;
}

.notes-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

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

.note-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 13px;
}

.note-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-weight: 600;
}

.note-card__meta svg {
  width: 12px;
  height: 12px;
}

.note-card p {
  margin: 13px 0 9px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.notes-empty {
  display: grid;
  min-height: 170px;
  place-content: center;
  justify-items: center;
  gap: 6px;
  color: var(--ink-muted);
  text-align: center;
}

.notes-empty > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  color: var(--gold-dark);
}

.notes-empty strong {
  color: var(--ink);
  font-size: 13px;
}

.notes-empty span {
  font-size: 13px;
}

.modal--review {
  width: min(680px, 100%);
}

.review-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.review-intro > svg {
  width: 22px;
  height: 22px;
}

.review-intro div {
  display: grid;
  gap: 2px;
}

.review-intro strong { font-size: 14px; }
.review-intro span { font-size: 13px; }

.rating-field {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.rating-field legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.rating-options label {
  position: relative;
}

.rating-options input {
  position: absolute;
  opacity: 0;
}

.rating-options label > span {
  display: grid;
  min-height: 82px;
  place-content: center;
  justify-items: center;
  gap: 2px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-muted);
  cursor: pointer;
}

.rating-options strong {
  color: var(--navy);
  font-size: 18px;
}

.rating-options svg {
  width: 15px;
  height: 15px;
  color: var(--gold-dark);
  fill: currentColor;
}

.rating-options small {
  font-size: 13px;
}

.rating-options input:checked + span {
  border-color: var(--gold-dark);
  background: var(--gold-pale);
  color: var(--gold-dark);
  box-shadow: inset 0 0 0 1px var(--gold-dark);
}

.rating-options input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.review-inline {
  margin-top: 15px;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
}

.review-inline > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.review-inline p {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 14px;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

.review-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 21px;
  border-color: #bfd0ca;
  background: #f3f8f5;
}

.review-summary__score {
  display: grid;
  width: 92px;
  min-height: 92px;
  place-content: center;
  justify-items: center;
  border: 1px solid #bfd0ca;
  border-radius: 12px;
  background: var(--white);
}

.review-summary__score > strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.review-summary h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.review-summary blockquote {
  margin: 8px 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
}

.review-summary time {
  color: var(--ink-muted);
  font-size: 13px;
}

.autosave {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 13px;
}

.autosave svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(370px, calc(100vw - 44px));
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 220ms var(--ease) both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast__icon {
  color: var(--gold-bright);
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  font-size: 14px;
}

.toast span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.toast--error .toast__icon {
  color: #ffb0aa;
}

.mobile-top,
.mobile-nav {
  display: none;
}

.subtle-note {
  display: flex;
  gap: 9px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--info-bg);
  color: var(--info);
  font-size: 13px;
  line-height: 1.5;
}

.subtle-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.skeleton {
  overflow: hidden;
  border-radius: 8px;
  background: var(--border);
}

.skeleton::after {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: shimmer 1.2s infinite;
  content: "";
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.route-loading {
  display: grid;
  gap: 16px;
}

.route-loading .skeleton:nth-child(1) { width: 42%; height: 45px; }
.route-loading .skeleton:nth-child(2) { width: 68%; height: 18px; }
.route-loading .skeleton:nth-child(3) { width: 100%; height: 220px; margin-top: 14px; }

/* FormaPair interface scale: 16/24 body, 14/20 labels, 13/18 metadata. */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-subtitle,
.hero-strip p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.5;
}

.card__header h2,
.section-heading h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.card__header p,
.section-heading p,
.results-heading p,
.metric small,
.decision-item__copy span,
.progress-block__top span,
.progress-steps li,
.table-subtitle,
.trainer-card__name span,
.match-reasons li,
.trainer-meta,
.mission-summary,
.candidate-identity span,
.timeline span,
.message__meta,
.conversation-card small,
.assignment-card p,
.profile-hero p,
.profile-section p,
.schedule-item__content > p,
.notes-panel__heading p:not(.eyebrow),
.note-card p,
.review-summary time,
.autosave,
.subtle-note {
  font-size: 13px;
  line-height: 1.4;
}

.button,
.role-switch button,
.decision-item__copy strong,
.data-table td,
.table-title,
.trainer-card__name strong,
.candidate-identity strong,
.candidate-stat strong,
.timeline strong,
.info-list dt,
.info-list dd,
.conversation-card strong,
.message__bubble,
.assignment-card__footer strong,
.profile-section h3,
.tag,
.session-editor__header strong,
.schedule-item__content h3,
.review-inline p,
.review-summary blockquote {
  font-size: 14px;
}

.field label,
.field__label,
.rating-field legend {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.field input,
.field select,
.field textarea,
.composer input {
  font-size: 16px;
}

.field small,
.field-error,
.data-table th,
.status,
.tab,
.candidate-stat span,
.schedule-total,
.privacy-chip,
.schedule-item__time,
.schedule-item__time small,
.schedule-item__meta,
.preview-schedule time,
.preview-schedule p,
.preview-empty,
.review-intro span,
.rating-options small,
.review-inline > span,
.note-card__meta,
.toast span {
  font-size: 13px !important;
  line-height: 1.4;
}

.progress-track span {
  background: var(--gold);
}

.wizard-progress span {
  background: var(--border);
}

.wizard-progress span.is-active {
  background: var(--gold);
}

.button--icon {
  width: 44px;
  padding-inline: 0;
}

.button--full {
  width: 100%;
}

.page-description {
  max-width: var(--reading-width);
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.setup-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 40px;
  margin-bottom: 24px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}

.setup-hero::after {
  position: absolute;
  right: -36px;
  bottom: -28px;
  width: 300px;
  height: 190px;
  background:
    linear-gradient(24deg, transparent 49.5%, rgba(200, 242, 91, 0.14) 50%, transparent 50.5%),
    linear-gradient(-24deg, transparent 49.5%, rgba(255, 254, 250, 0.1) 50%, transparent 50.5%);
  content: "";
  pointer-events: none;
}

.setup-hero > * {
  position: relative;
  z-index: 1;
}

.setup-hero .eyebrow {
  color: var(--gold-bright);
}

.setup-hero h1 {
  max-width: 720px;
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.setup-hero > div > p:last-child {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 254, 250, 0.72);
  font-size: 16px;
}

.setup-hero__score {
  padding: 20px;
  border: 1px solid rgba(255, 254, 250, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.07);
  backdrop-filter: blur(8px);
}

.setup-hero__score > strong,
.setup-hero__score > span {
  display: block;
}

.setup-hero__score > strong {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.setup-hero__score > span {
  margin: 5px 0 14px;
  color: rgba(255, 254, 250, 0.7);
  font-size: 13px;
}

.setup-hero__score .progress-track {
  background: rgba(255, 254, 250, 0.16);
}

.setup-hero__score .progress-track span {
  background: var(--gold-bright);
}

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

.onboarding-rail {
  position: sticky;
  top: 88px;
  padding: 20px;
}

.onboarding-rail ol {
  display: grid;
  gap: 4px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.onboarding-rail li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.onboarding-rail li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}

.onboarding-rail li.is-complete > span {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.onboarding-rail li svg {
  width: 15px;
  height: 15px;
}

.onboarding-rail li strong,
.onboarding-rail li small {
  display: block;
}

.onboarding-rail li strong {
  font-size: 14px;
}

.onboarding-rail li small {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 13px;
}

.setup-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
}

.setup-section__number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.setup-section__content > h2,
.next-sessions h2,
.availability-card h2,
.documents-panel__heading h2,
.review-callout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.setup-section__content > p,
.availability-card > p,
.documents-panel__heading p,
.review-callout p {
  margin: 5px 0 20px;
  color: var(--ink-muted);
  font-size: 16px;
}

.setup-fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.setup-fieldset legend {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

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

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

.choice-tile {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.choice-tile > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-tile > span {
  display: grid;
  min-height: 76px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: center;
  gap: 4px 9px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.choice-tile > span > svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.choice-tile strong,
.choice-tile small {
  min-width: 0;
}

.choice-tile strong {
  align-self: center;
  font-size: 14px;
}

.choice-tile small {
  grid-column: 2;
  color: var(--ink-muted);
  font-size: 13px;
}

.choice-tile > input:checked + span {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.choice-tile > input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.notification-setting {
  position: relative;
  display: block;
  margin-top: 20px;
  cursor: pointer;
}

.notification-setting > input {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.notification-setting > span {
  display: grid;
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ivory);
}

.notification-setting > span > svg {
  display: none;
}

.notification-setting strong,
.notification-setting small {
  display: block;
}

.notification-setting strong {
  font-size: 14px;
}

.notification-setting small {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-submit-bar p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.form-submit-bar p svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.form-error-summary {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  color: var(--danger);
}

.form-error-summary > span svg {
  width: 20px;
  height: 20px;
}

.form-error-summary strong {
  font-size: 14px;
}

.form-error-summary ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
}

.calendar-summary {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.calendar-summary > div {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.calendar-summary > div:last-child {
  border-right: 0;
}

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

.calendar-summary span {
  color: var(--ink-muted);
  font-size: 13px;
}

.calendar-summary strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

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

.calendar-card {
  overflow: hidden;
}

.calendar-card__header {
  align-items: start;
}

.calendar-grid-wrap {
  overflow-x: auto;
}

.calendar-grid {
  width: 100%;
  min-width: 700px;
  table-layout: fixed;
  border-collapse: collapse;
}

.calendar-grid th {
  height: 42px;
  padding: 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--ivory);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.calendar-grid th:last-child,
.calendar-grid td:last-child {
  border-right: 0;
}

.calendar-grid td {
  height: 126px;
  padding: 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--white);
  vertical-align: top;
}

.calendar-grid td.is-empty {
  background: rgba(220, 229, 225, 0.22);
}

.calendar-grid td > time {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}

.calendar-grid td.is-today > time {
  background: var(--gold-bright);
  color: var(--navy);
}

.calendar-event {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  padding: 7px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.calendar-event:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}

.calendar-event span,
.calendar-event strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event span {
  font-size: 13px;
}

.calendar-event strong {
  margin-top: 2px;
  font-size: 13px;
}

.calendar-event--pending {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.calendar-event--confirmed {
  background: var(--success-bg);
  color: var(--success);
}

.calendar-agenda {
  display: none;
}

.calendar-agenda ol,
.next-sessions ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-agenda li,
.next-sessions li {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.calendar-agenda li:last-child,
.next-sessions li:last-child {
  border-bottom: 0;
}

.calendar-agenda time strong,
.calendar-agenda time span,
.calendar-agenda a strong,
.calendar-agenda a span,
.next-sessions time strong,
.next-sessions time span,
.next-sessions a strong,
.next-sessions a span {
  display: block;
}

.calendar-agenda time strong,
.calendar-agenda a strong,
.next-sessions time strong,
.next-sessions a strong {
  font-size: 14px;
}

.calendar-agenda time span,
.calendar-agenda a span,
.next-sessions time span,
.next-sessions a span {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 13px;
}

.calendar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.calendar-dot--pending {
  background: var(--warning);
}

.calendar-dot--confirmed {
  background: var(--success);
}

.next-sessions h2,
.availability-card h2 {
  margin-bottom: 6px;
}

.next-sessions li {
  grid-template-columns: 72px minmax(0, 1fr) 8px;
}

.compact-empty {
  display: grid;
  min-height: 130px;
  place-content: center;
  justify-items: center;
  color: var(--ink-muted);
  text-align: center;
}

.compact-empty svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.compact-empty p {
  max-width: 190px;
  margin: 10px 0 0;
  font-size: 13px;
}

.inline-date-form {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.inline-date-form .button {
  width: 100%;
}

.unavailable-list {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.unavailable-list li {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 5px 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ivory);
}

.unavailable-list time {
  font-size: 14px;
  font-weight: 600;
}

.availability-card__empty {
  padding: 10px 0 16px;
  color: var(--ink-muted);
  font-size: 13px !important;
}

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

.documents-panel__heading p {
  margin-bottom: 0;
}

.document-uploader {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--ivory);
}

.document-uploader__action {
  display: flex;
  align-items: end;
}

.document-uploader__notice {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
}

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

.document-row {
  display: grid;
  min-height: 66px;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.document-row__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.document-row__icon svg {
  width: 18px;
  height: 18px;
}

.document-row__copy {
  min-width: 0;
}

.document-row__copy strong,
.document-row__copy span {
  display: block;
  overflow-wrap: anywhere;
}

.document-row__copy strong {
  font-size: 14px;
}

.document-row__copy span {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.document-row .button {
  min-height: 44px;
}

.documents-empty {
  display: grid;
  min-height: 170px;
  place-content: center;
  justify-items: center;
  color: var(--ink-muted);
  text-align: center;
}

.documents-empty > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--gold);
}

.documents-empty strong,
.documents-empty span {
  display: block;
}

.documents-empty strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.documents-empty span {
  max-width: 320px;
  margin-top: 4px;
  font-size: 13px;
}

.review-callout {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.review-callout__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--navy);
}

.review-callout__icon svg {
  width: 22px;
  height: 22px;
}

.review-callout p {
  margin-bottom: 0;
}

.organization-review-summary {
  border-left: 3px solid var(--gold);
}

.dashboard-session {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.dashboard-session__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.dashboard-session__icon svg {
  width: 19px;
  height: 19px;
}

.dashboard-session h2 {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.dashboard-session p:not(.eyebrow) {
  margin: 0 0 13px;
  color: var(--ink-muted);
  font-size: 13px;
}

.organization-reputation__score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.organization-reputation__score > strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.organization-reputation__score > span {
  color: var(--gold-dark);
  font-size: 13px;
}

.organization-reputation > p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.organization-reputation blockquote {
  margin: 14px 0 0;
  padding: 12px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 13px;
  }

  .brand {
    justify-items: center;
    margin-inline: 0;
  }

  .brand__logo,
  .brand__tagline,
  .sidebar__label,
  .nav-link span,
  .demo-note,
  .sidebar-profile__copy {
    display: none;
  }

  .brand__symbol {
    display: block;
  }

  .nav-link {
    justify-content: center;
    padding-inline: 0;
  }

  .nav-link.is-active::before {
    left: -4px;
  }

  .sidebar-profile {
    justify-content: center;
    padding: 7px;
  }

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

@media (max-width: 900px) {
  .dashboard-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .message-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .app-shell {
    display: block;
  }

  .sidebar,
  .topbar {
    display: none;
  }

  .mobile-top {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(245, 241, 232, 0.96);
    backdrop-filter: blur(12px);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    min-width: 140px;
  }

  .mobile-brand .formapair-logo {
    width: 146px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 7px 7px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(255, 254, 250, 0.98);
    backdrop-filter: blur(15px);
  }

  .mobile-nav a,
  .mobile-nav button {
    display: grid;
    min-height: 49px;
    place-items: center;
    gap: 2px;
    border-radius: 8px;
    background: transparent;
    color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  }

  .mobile-nav a.is-active {
    background: var(--gold-pale);
    color: var(--navy);
  }

  .mobile-nav svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav__short {
    display: none;
  }

  .page {
    padding: 27px 17px 40px;
  }

  .page-header {
    display: grid;
    align-items: start;
    margin-bottom: 23px;
  }

  .page-title {
    font-size: 34px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero-strip {
    min-height: 240px;
    padding: 24px;
  }

  .hero-strip h1 {
    font-size: 32px;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 155px);
    margin-right: -17px;
    padding-right: 17px;
  }

  .card__header,
  .card__body,
  .card--pad {
    padding-inline: 17px;
  }

  .decision-list {
    padding-inline: 17px;
  }

  .decision-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .decision-item .button {
    grid-column: 2;
    justify-self: start;
  }

  .table-wrap {
    display: none;
  }

  .mobile-cards {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
  }

  .mobile-data-card {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
  }

  .mobile-data-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-data-card .mission-summary {
    gap: 8px 14px;
    margin-top: 12px;
  }

  .filters,
  .form-grid,
  .trainer-grid,
  .radio-cards {
    grid-template-columns: 1fr;
  }

  .session-editor {
    padding: 14px;
  }

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

  .session-editor__header,
  .schedule-panel__heading,
  .notes-panel__heading {
    display: grid;
  }

  .schedule-total,
  .privacy-chip {
    justify-self: start;
  }

  .note-composer,
  .review-summary {
    grid-template-columns: 1fr;
  }

  .note-composer .button {
    width: 100%;
  }

  .review-summary__score {
    width: 100%;
    min-height: 72px;
  }

  .rating-options label > span {
    min-height: 68px;
  }

  .rating-options small {
    display: none;
  }

  .results-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .results-heading .status {
    max-width: 100%;
    justify-self: start;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .filters .button {
    width: 100%;
  }

  .candidate-card__head,
  .assignment-card__footer,
  .profile-hero {
    align-items: flex-start;
  }

  .candidate-card__head,
  .assignment-card__footer {
    display: grid;
  }

  .candidate-stats {
    grid-template-columns: 1fr;
  }

  .candidate-actions {
    justify-content: stretch;
  }

  .candidate-actions .button {
    flex: 1;
  }

  .profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-hero .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .message-layout {
    min-height: 590px;
    grid-template-columns: 1fr;
  }

  .thread-list {
    display: none;
  }

  .thread-select-mobile {
    display: grid;
    margin-bottom: 12px;
  }

  .messages {
    padding: 18px 14px;
  }

  .message {
    max-width: 88%;
  }

  .composer {
    padding: 12px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal__header,
  .modal__body,
  .modal__footer {
    padding-inline: 18px;
  }

  .modal__footer {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }

  .modal__footer-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .modal__footer-actions .button {
    width: 100%;
  }

  .toast-region {
    right: 12px;
    bottom: 86px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 360px) {
  .mobile-nav__full {
    display: none;
  }

  .mobile-nav__short {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 1000px) {
  .onboarding-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

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

  .calendar-layout {
    grid-template-columns: 1fr;
  }

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

  .calendar-page-header .calendar-controls {
    align-self: flex-start;
  }

  .calendar-layout > aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-grid-wrap {
    display: none;
  }

  .calendar-agenda {
    display: block;
    padding: 4px 20px 20px;
  }
}

@media (max-width: 900px) {
  .onboarding-layout {
    grid-template-columns: 1fr;
  }

  .onboarding-rail {
    position: static;
  }

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

@media (max-width: 720px) {
  .setup-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px;
  }

  .setup-hero h1 {
    font-size: 38px;
  }

  .setup-hero__score {
    width: 100%;
  }

  .onboarding-layout {
    grid-template-columns: 1fr;
  }

  .onboarding-rail {
    position: static;
  }

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

  .onboarding-rail li {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
  }

  .onboarding-rail li small {
    display: none;
  }

  .setup-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 17px;
  }

  .choice-grid,
  .choice-grid--skills {
    grid-template-columns: 1fr;
  }

  .form-submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit-bar .button {
    width: 100%;
  }

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

  .calendar-summary > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border);
  }

  .calendar-summary > div:nth-child(2) {
    border-right: 1px solid var(--border);
  }

  .calendar-summary > div:nth-child(3) {
    border-right: 0;
  }

  .calendar-grid-wrap {
    display: none;
  }

  .calendar-agenda {
    display: block;
    padding: 4px 17px 17px;
  }

  .calendar-layout > aside {
    grid-template-columns: 1fr;
  }

  .document-uploader {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .document-uploader__notice {
    grid-column: auto;
  }

  .document-uploader__action .button {
    width: 100%;
  }

  .documents-panel__heading {
    display: grid;
  }

  .documents-panel__heading .privacy-chip {
    justify-self: start;
  }

  .document-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .document-row .button {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .review-callout {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .review-callout .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .onboarding-rail ol {
    grid-template-columns: 1fr;
  }

  .onboarding-rail li small {
    display: block;
  }

  .calendar-agenda li,
  .next-sessions li {
    grid-template-columns: 76px minmax(0, 1fr) 8px;
  }

  .document-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .document-row .status,
  .document-row .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
