/* Trias Revolution public website design system. */
:root {
  --ink: #1c2638;
  --muted: #536168;
  --line: #d8d5cc;
  --paper: #faf8f3;
  --white: #fffdf8;
  --mist: #e6f3f1;
  --night: #1c2638;
  --forest: #176b6d;
  --forest-deep: #1c2638;
  --mineral: #176b6d;
  --teal: #176b6d;
  --accent: #3c9d9b;
  --aqua: #9fd8d4;
  --gold: #c79c47;
  --gold-deep: #795c28;
  --sunlight: #e8d6af;
  --plum: #54227b;
  --olive: #a8b9a6;
  --focus: #54227b;
  --shadow: 0 8px 24px rgba(28, 38, 56, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
blockquote {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: 4.4rem;
  line-height: 0.98;
}

h2 {
  font-size: 2.7rem;
  line-height: 1.08;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--forest-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(17, 75, 83, 0.28);
  background: rgba(237, 242, 239, 0.96);
  backdrop-filter: blur(16px);
}

.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.booking-slot { width: 100%; }

.portal-appointment {
  border-top: 1px solid rgba(6, 37, 50, 0.14);
  margin-top: 1rem;
  padding-top: 1rem;
}

.portal-appointment .button,
.portal-appointment a { margin: 0.5rem 0.5rem 0 0; }

.portal-appointment .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 9px;
}

.founder-scheduling-form {
  margin-top: 2rem;
  max-width: none;
}

.founder-scheduling-form textarea {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84rem;
}

.home-hero,
.about-hero {
  background-image: url("/brand/trias-hero.webp");
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 212px;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.brand small {
  margin-top: 5px;
  color: var(--teal);
  font-size: 0.68rem;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 19px;
}

.primary-nav a {
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a {
  padding-block: 12px;
  color: var(--ink);
}
.primary-nav a:hover {
  color: var(--plum);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(650px, calc(100svh - 110px));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background-color: var(--night);
  background-image: url("/brand/trias-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(6, 37, 50, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 84px 100px;
}

.hero-content h1 {
  max-width: 770px;
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero-tagline {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--sunlight);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.27rem;
  line-height: 1.55;
}

.hero-note {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.coaching-hero {
  position: relative;
  display: grid;
  min-height: min(650px, calc(100svh - 110px));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background-color: var(--night);
  background-image: url("/brand/trias-hero.webp");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.coaching-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(6, 37, 50, 0.68);
}

.coaching-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 84px 100px;
}

.coaching-hero-content h1 {
  max-width: 790px;
  margin-bottom: 16px;
  text-wrap: balance;
}

.eyebrow,
.card-kicker {
  margin-bottom: 13px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--sunlight);
}

.hero-actions,
.invitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--night);
}

.button.secondary {
  border-color: var(--teal);
  color: var(--mineral);
}

.button.gold {
  background: var(--sunlight);
  color: var(--night);
}

.button.light-button {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--white);
}

.button:hover {
  filter: brightness(1.06);
}

.principle-strip {
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background: var(--mineral);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.principle-grid span {
  padding: 22px 18px;
  border-right: 1px solid rgba(136, 209, 193, 0.24);
  color: rgba(251, 253, 251, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.principle-grid span:last-child {
  border-right: 0;
}

.brand-banner-band {
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background: var(--night);
}

.brand-banner-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  object-fit: contain;
}

.section-band {
  padding-block: 94px;
}

.section-band.white {
  background: var(--white);
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.division-card {
  display: grid;
  min-height: 390px;
  grid-template-rows: 152px 1fr;
  overflow: hidden;
  border: 1px solid rgba(17, 75, 83, 0.26);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.division-card > img {
  width: 100%;
  height: 152px;
  padding: 20px;
  object-fit: contain;
  background: var(--mist);
}

.division-card.collective {
  border-top-color: var(--plum);
}

.division-card.docuserve {
  border-top-color: var(--gold);
}

.division-card > div:last-child {
  padding: 27px;
}

.division-card h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.division-card .pathway-tagline {
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.division-card p {
  color: var(--muted);
}

.division-mark {
  display: grid;
  place-items: center;
  background: var(--mineral);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.text-link {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.meps-band {
  border-top: 1px solid rgba(191, 161, 87, 0.52);
  border-bottom: 1px solid rgba(191, 161, 87, 0.52);
  background: var(--night);
  color: var(--white);
}

.framework-overview {
  scroll-margin-top: 96px;
}

.light-link {
  color: var(--sunlight);
}

.frameworks-intro {
  max-width: 790px;
  margin-bottom: 52px;
}

.frameworks-intro h2 {
  margin-bottom: 18px;
  color: #fff;
}

.frameworks-intro > p:last-child,
.framework-panel > p:not(.framework-label) {
  color: rgba(255, 255, 255, 0.78);
}

.framework-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.framework-panel {
  padding: 40px 48px 42px 0;
}

.framework-panel + .framework-panel {
  border-left: 1px solid rgba(191, 161, 87, 0.58);
  padding-right: 0;
  padding-left: 48px;
}

.framework-label {
  margin-bottom: 10px;
  color: var(--sunlight);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.framework-panel h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.72rem;
}

.framework-panel-meps {
  min-width: 0;
}

.framework-panel-arca {
  align-self: stretch;
}

.framework-sequence {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.framework-sequence li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.framework-sequence span {
  color: var(--sunlight);
  font-size: 0.76rem;
  font-weight: 800;
}

.framework-sequence strong {
  color: #fff;
  font-size: 0.98rem;
}

.meps-overview-list li {
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px 20px;
}

.meps-overview-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
}

.meps-overview-list li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0;
}

.meps-overview-list li:nth-child(even) {
  padding-right: 0;
}

.meps-overview-image {
  width: 106px;
  height: 132px;
  border: 1px solid rgba(191, 161, 87, 0.58);
  border-radius: 6px;
  object-fit: cover;
}

.meps-overview-copy {
  display: grid;
  gap: 7px;
}

.meps-overview-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.meps-overview-title span {
  min-width: 18px;
}

.meps-overview-copy > p:not(.meps-overview-title) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.55;
}

.framework-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 28px;
}

.site-access-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 18px 0 0;
  padding: 8px 13px;
  border: 1px solid rgba(17, 75, 83, 0.32);
  border-radius: 6px;
  color: var(--forest-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-access-status.light-status {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.coach-band {
  background: var(--white);
}

.coach-layout {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr;
  align-items: center;
  gap: 72px;
}

.coach-portrait {
  margin: 0;
}

.coach-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 14px 14px 0 var(--mineral);
}

.coach-copy {
  max-width: 640px;
}

.coach-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.credential-list {
  margin: 0 0 30px;
  padding-left: 22px;
  color: var(--muted);
}

.credential-list li + li {
  margin-top: 8px;
}

blockquote {
  margin: 30px 0;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  color: var(--mineral);
  font-size: 1.55rem;
  line-height: 1.42;
}

.invitation-band {
  padding-block: 68px;
  border-top: 1px solid rgba(253, 238, 164, 0.44);
  background: var(--plum);
  color: var(--white);
}

.invitation-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.invitation-layout h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.page-intro {
  padding-block: 92px 82px;
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background: var(--night);
  color: var(--white);
}

.page-intro .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  align-items: end;
  gap: 70px;
}

.page-intro h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 3.7rem;
}

.page-intro h1 + p {
  max-width: 750px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.page-intro-aside {
  padding: 4px 0 4px 22px;
  border-left: 2px solid rgba(253, 238, 164, 0.72);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.content-band {
  padding-block: 78px;
}

.content-band.white {
  background: var(--white);
}

.content-band:not(.white) {
  border-top: 1px solid rgba(17, 75, 83, 0.1);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
}

.content-copy {
  max-width: 760px;
}

.public-event-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.public-event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.public-event-item:first-child {
  border-top: 1px solid var(--line);
}

.public-event-item h3,
.public-event-item p {
  margin-bottom: 0;
}

.public-event-item time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 560px) {
  .public-event-item {
    grid-template-columns: 1fr;
  }

  .public-event-item .button {
    justify-self: start;
  }
}

.statement {
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.55;
}

.coaching-lockup {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.coaching-lockup img {
  width: min(410px, 86%);
}

.content-copy p,
.prose p,
.service-list p,
.plain-list p {
  color: var(--muted);
}

.brand-feature > img {
  width: min(280px, 74%);
  margin-bottom: 34px;
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.framework-steps article {
  min-height: 215px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.framework-steps span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--mineral);
  font-weight: 800;
}

.framework-steps p {
  color: var(--muted);
  font-size: 0.92rem;
}

.portal-workflow-preview {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.portal-workflow-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.portal-workflow-heading p:last-child,
.portal-workflow-list p,
.portal-safety-note {
  color: var(--muted);
}

.portal-workflow-list {
  border-top: 1px solid var(--line);
}

.portal-workflow-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.portal-workflow-list h3 {
  margin-bottom: 6px;
}

.portal-workflow-list p {
  max-width: 760px;
  margin: 0;
}

.workflow-state {
  max-width: 210px;
  color: var(--mineral);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: right;
}

.portal-safety-note {
  margin-top: 20px;
  font-size: 0.9rem;
}

.portal-app-shell,
.portal-admin-shell {
  min-height: 78vh;
  padding-top: 48px;
}

.portal-app-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.portal-app-header h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1.02;
}

.portal-app-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-mode-notice {
  display: grid;
  min-width: 240px;
  gap: 2px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
}

.portal-mode-notice strong {
  color: var(--forest-deep);
  font-size: 0.9rem;
}

.portal-mode-notice span {
  color: var(--muted);
  font-size: 0.82rem;
}

.trias-hub-shell {
  min-height: calc(100vh - 15rem);
}

.synthetic-preview-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 52px);
  border-bottom: 2px solid #e2b85d;
  background: #083f46;
  color: #fff;
}

.synthetic-preview-banner[hidden] {
  display: none;
}

.synthetic-preview-banner div,
.synthetic-preview-banner strong,
.synthetic-preview-banner span {
  display: block;
}

.synthetic-preview-banner span {
  margin-top: 2px;
  color: #d9eeeb;
  font-size: 0.85rem;
}

.synthetic-preview-banner a {
  color: #fff4cc;
  font-weight: 800;
}

.trias-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.trias-hub-header h1 {
  margin: 0.25rem 0 0.75rem;
}

.trias-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.trias-hub-snapshot {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--surface-soft);
}

.trias-hub-snapshot h2,
.trias-hub-snapshot p {
  margin-top: 0;
}

.trias-hub-card {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(6, 77, 83, 0.18);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 37, 48, 0.08);
  color: inherit;
  text-decoration: none;
}

.trias-hub-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.3rem;
}

.trias-hub-card > p:not(.eyebrow) {
  flex: 1;
}

.trias-hub-card[href]:hover,
.trias-hub-card[href]:focus-visible {
  border-color: #087f80;
  transform: translateY(-2px);
}

.trias-hub-card.is-locked {
  background: #f4f7f6;
  box-shadow: none;
}

.trias-hub-card.is-active {
  border-color: rgba(8, 127, 128, 0.5);
  box-shadow: inset 0 3px 0 #087f80, 0 12px 32px rgba(8, 37, 48, 0.08);
}

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

.synthetic-persona-grid a {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(21, 56, 58, 0.17);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

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

.synthetic-persona-grid strong {
  color: #0b5354;
}

.synthetic-persona-grid span,
.founder-preview-boundary {
  margin-top: 4px;
  color: #58706c;
  font-size: 0.88rem;
}

.founder-preview-boundary code {
  color: #0b5354;
}

.login-foundation-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.login-foundation-copy {
  position: sticky;
  top: 7rem;
}

.login-foundation-panel {
  width: 100%;
  max-width: 42rem;
  min-width: 0;
}

.founder-recovery-codes {
  margin: 1rem 0;
  padding: 1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border: 1px solid rgba(28, 38, 56, 0.2);
  border-radius: 0.75rem;
  background: #f5f2ea;
  color: #1c2638;
  font: 600 0.95rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
  user-select: all;
}

.login-foundation-panel .contact-form {
  display: grid;
  gap: 14px;
}

.login-foundation-panel .contact-form > label {
  font-weight: 750;
}

.login-foundation-panel .contact-form > input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 13px;
  font: inherit;
  font-size: 1rem;
}

.login-foundation-panel .contact-form > input[aria-invalid="true"] {
  border-color: #8b2e2a;
}

.application-confirmation {
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(6, 37, 50, 0.1);
}

.authentication-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.session-room-shell {
  min-height: calc(100vh - 110px);
  padding: clamp(1rem, 3vw, 2rem);
  background: #071f29;
  color: var(--white);
}

.session-room-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1600px;
  margin: 0 auto 1.25rem;
}

.session-room-header h1 {
  margin: 0.2rem 0;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.session-room-header > div > p:last-child {
  margin: 0;
  color: #b6cdd2;
}

.session-room-badges {
  display: flex;
  gap: 0.65rem;
}

.session-room-badges span {
  min-width: 5rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #d8e8ea;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.session-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
  gap: 1rem;
  max-width: 1600px;
  margin-inline: auto;
}

.session-stage {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #03161e;
}

.session-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  min-height: 660px;
  background: rgba(255, 255, 255, 0.12);
}

.session-video-tile {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 0;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #164b50 0, #0b3038 42%, #061f29 100%);
}

.session-local-tile {
  background: radial-gradient(circle at 50% 38%, #394767 0, #1d3045 45%, #0b202c 100%);
}

.session-video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.session-avatar {
  display: grid;
  width: 6rem;
  height: 6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sunlight);
  font: 600 1.6rem Georgia, serif;
}

.session-video-tile figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(2, 18, 24, 0.76);
  color: var(--white);
  font-weight: 800;
}

.session-video-tile figcaption span {
  color: #b6cdd2;
  font-size: 0.78rem;
}

.session-waiting {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(42rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: translate(-50%, -50%);
  border-top: 4px solid var(--gold);
  background: rgba(250, 253, 252, 0.97);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.session-waiting h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.session-device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block: 1.25rem;
}

.session-device-grid label {
  display: grid;
  gap: 0.4rem;
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.session-device-grid select {
  min-width: 0;
}

.session-health {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.session-waiting-actions,
.session-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.session-controls {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(2, 18, 24, 0.86);
}

.session-controls button {
  min-width: 7rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #174b51;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.session-controls .danger {
  background: #8e3036;
}

.session-context-panel {
  max-height: 660px;
  overflow-y: auto;
  background: #f8fbfa;
  color: var(--ink);
}

.session-context-panel > section,
.session-safety-banner {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.session-safety-banner {
  display: grid;
  gap: 0.2rem;
  border-left: 4px solid var(--gold);
  background: #eef4f1;
}

.session-safety-banner span {
  color: var(--muted);
  font-size: 0.8rem;
}

.session-context-panel h2,
.session-context-panel h3 {
  font-size: 1.25rem;
}

.session-context-panel textarea {
  width: 100%;
}

.session-capability-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.session-capability-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
}

.session-capability-list dd {
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.session-complete {
  max-width: 52rem;
  margin: 4rem auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 4px solid var(--gold);
  background: var(--white);
  color: var(--ink);
}

.session-assistance-consent {
  margin-top: 1rem;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  background: #f2f6f3;
}

.session-assistance-consent summary {
  cursor: pointer;
  color: var(--forest-deep);
  font-weight: 800;
}

.session-assistance-consent label {
  display: flex;
  align-items: start;
  gap: 0.55rem;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.session-assistance-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.session-auren-panel {
  border-left: 3px solid var(--aqua);
  background: #eef7f5;
}

.session-auren-heading,
.session-observation-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.session-auren-heading h3 {
  margin-bottom: 0;
}

.session-auren-heading > strong {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  background: var(--forest-deep);
  color: var(--white);
  font-size: 0.75rem;
}

.session-auren-controls,
.session-observation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.session-auren-controls button,
.session-observation-actions button {
  border: 1px solid rgba(17, 75, 83, 0.3);
  padding: 0.5rem 0.65rem;
  background: var(--white);
  color: var(--forest-deep);
  cursor: pointer;
  font-weight: 800;
}

.session-observation-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.session-observation {
  border: 1px solid var(--line);
  padding: 0.9rem;
  background: var(--white);
}

.session-observation h4 {
  margin: 0.4rem 0;
  color: var(--forest-deep);
}

.session-observation-header {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.session-observation blockquote {
  margin: 0.75rem 0;
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  color: var(--forest-deep);
  font-size: 0.98rem;
}

.session-observation details {
  margin-block: 0.75rem;
}

@media (max-width: 980px) {
  .session-room-layout {
    grid-template-columns: 1fr;
  }

  .session-context-panel {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .session-room-shell {
    padding: 0.75rem;
  }

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

  .session-room-layout {
    min-height: 0;
  }

  .session-stage {
    min-height: 0;
    overflow: visible;
  }

  .session-video-grid {
    min-height: 18rem;
    grid-template-columns: 1fr;
  }

  .session-coach-tile {
    min-height: 18rem;
  }

  .session-local-tile {
    position: absolute;
    z-index: 1;
    top: 0.75rem;
    right: 0.75rem;
    width: 30%;
    min-height: 8.5rem;
    border: 2px solid rgba(255, 255, 255, 0.65);
  }

  .session-device-grid,
  .session-health {
    grid-template-columns: 1fr;
  }

  .session-waiting {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 1.25rem;
    transform: none;
    box-shadow: none;
  }

  .session-controls {
    position: static;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
  }

  .session-controls button {
    flex: 1 1 8rem;
  }
}

.authentication-action-grid .button {
  width: 100%;
}

.founder-identity-preview,
.authentication-safeguards {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: var(--mist);
}

.founder-identity-preview span,
.founder-identity-preview small,
.authentication-safeguards span {
  color: var(--muted);
}

.founder-identity-preview strong {
  overflow-wrap: anywhere;
}

.authentication-setup-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: authentication-step;
}

.authentication-setup-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: authentication-step;
}

.authentication-setup-steps li::before {
  grid-row: 1 / span 2;
  content: counter(authentication-step);
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.authentication-setup-steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .synthetic-preview-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .trias-hub-header {
    flex-direction: column;
  }

  .trias-hub-grid {
    grid-template-columns: 1fr;
  }

  .trias-hub-card {
    min-height: 0;
  }

  .synthetic-persona-grid {
    grid-template-columns: 1fr;
  }

  .login-foundation-shell {
    grid-template-columns: 1fr;
  }

  .login-foundation-copy {
    position: static;
  }

  .authentication-action-grid {
    grid-template-columns: 1fr;
  }
}

.portal-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 36px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.portal-tabs button {
  min-width: 0;
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.portal-tabs button[aria-selected="true"] {
  border-color: var(--plum);
  box-shadow: inset 0 -3px 0 var(--plum);
  color: var(--ink);
}

.portal-appointment-actions .button,
.portal-appointment-actions .text-link,
.session-primary-action,
.session-handoff-actions .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.session-handoff-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 18px;
  padding: 20px;
}

.session-handoff-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(250, 253, 252, 0.97);
  color: var(--ink);
}

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

.session-handoff-facts div,
.session-reminder-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.session-handoff-facts dt,
.session-reminder-row span {
  color: var(--muted);
}

.session-handoff-facts dd {
  margin: 0;
  font-weight: 750;
}

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

.portal-panel {
  min-height: 430px;
}

.portal-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, 0.7fr));
  gap: 14px;
}

.portal-summary-grid > article {
  min-width: 0;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.portal-summary-grid > article:nth-child(3n + 2) {
  border-top: 4px solid var(--aqua);
}

.portal-summary-grid > article:nth-child(3n + 3) {
  border-top: 4px solid var(--gold);
}

.portal-summary-grid .portal-primary-summary {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  color: var(--white);
}

.portal-primary-summary .eyebrow,
.portal-primary-summary p {
  color: var(--aqua);
}

.portal-primary-summary h2 {
  max-width: 540px;
  margin-bottom: 10px;
  font-size: 2rem;
}

.portal-shortcut {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  padding: 9px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.portal-quick-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.portal-quick-link {
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.portal-quick-link span {
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-quick-link[hidden] {
  display: none;
}

.portal-metric {
  display: block;
  margin: 8px 0 12px;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 1;
}

.portal-section {
  margin-top: 50px;
}

.portal-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.portal-section-heading h2 {
  margin-bottom: 0;
  font-size: 2.1rem;
}

.portal-section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-status-list,
.portal-goal-list,
.portal-resource-list,
.portal-list,
.portal-audit-list {
  border-top: 1px solid var(--line);
}

.portal-status-item,
.portal-resource,
.portal-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.portal-status-item h3,
.portal-resource h3,
.portal-admin-row h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.portal-status-item p,
.portal-resource p,
.portal-admin-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.portal-state {
  display: inline-block;
  max-width: 190px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--mineral);
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-state-blocked {
  border-color: #c9a56d;
  background: #fff8e8;
  color: #6f4d1f;
}

.portal-state-preview {
  border-color: var(--aqua);
  background: var(--mist);
  color: var(--forest-deep);
}

.portal-goal {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.portal-goal-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.portal-goal-heading h3 {
  margin-bottom: 10px;
}

.portal-achievement-current {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border-left: 4px solid var(--aqua);
  background: var(--mist);
}

.portal-achievement-current h4 {
  margin: 0;
  font-size: 1.1rem;
}

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

.portal-achievement-evidence article {
  padding: 14px;
  border: 1px solid rgba(21, 93, 93, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.portal-achievement-evidence p {
  margin: 5px 0 0;
  color: var(--muted);
}

.portal-achievement-scale {
  margin-top: 14px;
}

.portal-achievement-scale summary {
  color: var(--plum);
  font-weight: 800;
  cursor: pointer;
}

.portal-achievement-scale ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 24px;
}

.portal-achievement-scale li {
  padding: 10px 12px;
  border-left: 3px solid var(--line);
}

.portal-achievement-scale li.is-current {
  border-left-color: var(--plum);
  background: #f7f2f8;
}

.portal-achievement-scale li span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-action-plan-list {
  display: grid;
  gap: 12px;
}

.portal-action-slot {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.portal-action-slot-number {
  display: grid;
  place-content: center;
  min-height: 82px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.portal-action-slot-number strong {
  color: var(--plum);
  font-size: 1.7rem;
}

.portal-action-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(180px, 1fr);
  gap: 12px;
  align-items: end;
}

.portal-action-fields > label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 750;
}

.portal-action-fields input[type="text"],
.portal-action-fields input[type="datetime-local"] {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.portal-action-slot-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.portal-reminder-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 750;
}

.portal-action-checkin {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--aqua);
}

.portal-action-checkin legend {
  padding: 0 6px;
  color: var(--plum);
  font-weight: 850;
}

.portal-action-checkin p {
  width: 100%;
  margin: 0;
}

.portal-action-last-checkin,
.portal-implementation-note {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.portal-action-activity,
.portal-journal-list {
  display: grid;
  gap: 10px;
}

.portal-action-activity-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.portal-action-activity-item time,
.portal-journal-entry time {
  color: var(--muted);
  font-size: 0.8rem;
}

.portal-state-did_it {
  border-color: var(--aqua);
  background: var(--mist);
}

.portal-state-not_this_time {
  background: #f7f2f8;
}

.portal-journal-entry {
  padding: 18px;
  border-left: 4px solid var(--plum);
  background: #f7f2f8;
}

.portal-journal-entry p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.portal-message-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.portal-message {
  width: min(84%, 680px);
  padding: 16px 18px;
  border-left: 4px solid var(--aqua);
  background: var(--mist);
}

.portal-message-client {
  justify-self: end;
  border-left: 0;
  border-right: 4px solid var(--plum);
  background: #f2ebf5;
}

.portal-message p,
.portal-message time {
  margin: 4px 0 0;
}

.portal-message time {
  color: var(--muted);
  font-size: 0.75rem;
}

.portal-compose {
  display: grid;
  max-width: 820px;
  gap: 10px;
  margin-top: 24px;
}

.portal-compose label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

.portal-compose textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.portal-compose > div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.portal-billing,
.portal-account-grid > article,
.portal-private-notes {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.portal-balance {
  display: block;
  margin-bottom: 10px;
  color: var(--forest-deep);
  font-size: 1.2rem;
}

.portal-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.portal-account-grid dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0;
}

.portal-account-grid dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.portal-account-grid dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.portal-audit-list p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.portal-admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: 34px;
}

.portal-admin-shell .portal-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-admin-shell .portal-summary-grid > article {
  min-height: 145px;
}

.portal-client-list {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.portal-client-list .portal-section-heading {
  display: block;
}

.portal-client-button {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 14px 12px;
  border: 0;
  border-left: 3px solid var(--plum);
  background: var(--mist);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 800;
}

.portal-client-button span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.portal-client-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.portal-client-header h2 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.portal-admin-section {
  margin-top: 32px;
}

.coaching-lifecycle-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.coaching-lifecycle-track li {
  display: grid;
  gap: 5px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.78rem;
}

.coaching-lifecycle-track li > span { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.coaching-lifecycle-track .is-complete { border-color: rgba(34, 113, 86, 0.45); }
.coaching-lifecycle-track .is-current { border-color: var(--gold); background: rgba(191, 161, 87, 0.1); }
.coaching-lifecycle-track .is-upcoming { opacity: 0.62; }
.coaching-lifecycle-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.coaching-lifecycle-summary span { padding: 7px 10px; border-radius: 999px; background: var(--cream); font-size: 0.8rem; }

.portal-admin-section > h3,
.portal-private-notes h3 {
  font-size: 1.25rem;
}

.portal-admin-section > h3 + p {
  max-width: 760px;
  color: var(--muted);
}

.portal-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.portal-coach-goal {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.portal-coach-goal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.portal-coach-goal-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.portal-goal-marker-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.portal-goal-marker-form fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.portal-goal-marker-form legend {
  width: 100%;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.portal-goal-marker-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 148px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.portal-goal-marker-choice.is-current {
  border-color: var(--aqua);
  background: var(--mist);
}

.portal-goal-marker-choice input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.portal-goal-marker-choice span {
  display: grid;
  gap: 5px;
}

.portal-goal-marker-choice small {
  color: var(--muted);
  line-height: 1.4;
}

.portal-goal-marker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.portal-admin-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal-admin-forms > h3 {
  grid-column: 1 / -1;
}

.portal-admin-forms .portal-compose {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portal-private-note-form {
  border-color: var(--plum) !important;
  background: #f8f3fa;
}

.portal-private-note-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.portal-private-notes {
  margin-top: 24px;
  border-left: 4px solid var(--plum);
}

.portal-session-support-status,
.portal-session-provider-state {
  margin-bottom: 18px;
  padding: 20px;
  border-left: 4px solid var(--aqua);
  background: var(--mist);
}

.portal-session-support-status h3,
.portal-session-support-status p,
.portal-session-provider-state p {
  margin-bottom: 6px;
}

.portal-session-consent-form,
.portal-transcript-import,
.portal-session-draft-form {
  display: grid;
  gap: 16px;
}

.portal-session-consent-form fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
}

.portal-session-consent-form legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.portal-consent-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.portal-consent-choice input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.portal-consent-choice span {
  display: grid;
  gap: 3px;
}

.portal-consent-choice small {
  color: var(--muted);
  line-height: 1.45;
}

.portal-consent-actions,
.portal-transcript-actions,
.portal-session-draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.portal-session-safeguards {
  margin-top: 22px;
  padding: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portal-session-safeguards ul {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
}

.portal-session-summary-list,
.portal-session-draft-list {
  display: grid;
  gap: 16px;
}

.portal-session-summary,
.portal-session-draft {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--plum);
  background: var(--white);
}

.portal-session-summary ul {
  margin-top: 6px;
}

.portal-session-admin-heading,
.portal-session-draft-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.portal-session-admin-heading p,
.portal-session-draft-header p {
  margin-bottom: 5px;
}

.portal-session-consent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.portal-session-consent-grid article {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: var(--white);
}

.portal-session-consent-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.portal-transcript-import {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbfaf5;
}

.portal-transcript-import > label:first-child,
.portal-session-draft-form > label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.portal-transcript-import input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}

.portal-session-draft-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.portal-session-draft-form textarea {
  width: 100%;
  resize: vertical;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.portal-session-draft-form label:nth-last-of-type(1),
.portal-session-draft-actions {
  grid-column: 1 / -1;
}

.portal-session-draft-approved {
  border-left-color: var(--aqua);
}

.portal-session-draft-discarded {
  border-left-color: var(--line);
  color: var(--muted);
}

.portal-session-recap-copy {
  margin-top: 14px;
  white-space: pre-wrap;
}

.portal-engagement {
  margin-top: 8px;
}

.portal-engagement-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--forest-deep);
  border-left: 5px solid var(--aqua);
  border-radius: 6px;
  background: var(--forest-deep);
  color: var(--white);
}

.portal-engagement-card h3,
.portal-engagement-card p {
  margin-bottom: 6px;
  color: inherit;
}

.portal-engagement-card .eyebrow {
  color: var(--aqua);
}

.portal-engagement-progress {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.portal-engagement-progress .portal-state {
  border-color: var(--aqua);
  color: var(--aqua);
}

.portal-journey-list,
.portal-preparation-list,
.portal-document-list,
.portal-continuity-list,
.portal-review-list {
  border-top: 1px solid var(--line);
}

.portal-journey-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.portal-step-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.portal-journey-step-synthetic_complete .portal-step-number {
  border-color: var(--aqua);
  background: var(--mist);
  color: var(--forest-deep);
}

.portal-journey-step-current .portal-step-number {
  border-color: var(--gold);
  background: #fff8e8;
  color: #6f4d1f;
}

.portal-state-current,
.portal-state-synthetic_complete,
.portal-state-authorized_once,
.portal-state-authorized_ongoing {
  border-color: var(--aqua);
  background: var(--mist);
  color: var(--forest-deep);
}

.portal-state-upcoming,
.portal-state-not_shared,
.portal-state-withdrawn {
  color: var(--muted);
}

.portal-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  border-top: 0;
}

.portal-review-item {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
}

.portal-review-item .eyebrow {
  margin-bottom: 0;
}

.portal-review-item .portal-state {
  justify-self: start;
}

.portal-preparation-item,
.portal-document-item,
.portal-continuity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.portal-preparation-item h3,
.portal-document-item h3,
.portal-continuity-row h3 {
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.portal-preparation-item p,
.portal-document-item p,
.portal-continuity-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-preparation-state {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.portal-empty-state {
  padding: 20px 0;
  color: var(--muted);
}

.portal-review-label,
.portal-continuity-state {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.portal-continuity-choice {
  display: grid;
  min-width: 180px;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.portal-continuity-choice select {
  min-height: 42px;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.portal-continuity-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.portal-protected-continuity {
  padding: 22px;
  border-left: 4px solid var(--plum);
  background: #f8f3fa;
}

.portal-protected-continuity h3 {
  font-size: 1.18rem;
}

.portal-protected-continuity ul {
  columns: 2;
  margin-bottom: 0;
}

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

.portal-admin-facts article {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-left: 3px solid var(--aqua);
  background: var(--mist);
}

.portal-admin-facts span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.portal-admin-continuity > p:not(.eyebrow) {
  color: var(--muted);
}

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

.meps-domain {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.meps-domain > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.meps-domain-copy {
  padding: 30px;
}

.meps-domain-copy h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.meps-domain-copy > p:not(.framework-label) {
  color: var(--muted);
}

.content-actions,
.page-intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.content-actions {
  margin-top: 26px;
}

.page-intro-actions {
  align-items: flex-start;
  flex-direction: column;
}

.coaching-topics-band {
  scroll-margin-top: 96px;
  background: #e8efeb;
}

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

.coaching-topic-group {
  padding: 28px;
  border: 1px solid rgba(17, 75, 83, 0.24);
  border-radius: 8px;
  background: var(--white);
}

.coaching-topic-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.coaching-topic-heading > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--mineral);
  font-size: 0.78rem;
  font-weight: 800;
}

.coaching-topic-heading h3 {
  margin: 0;
  font-size: 1.55rem;
}

.coaching-topic-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.coaching-topic-group li {
  display: grid;
  gap: 4px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}

.coaching-topic-group li strong {
  color: var(--forest-deep);
  font-size: 0.92rem;
}

.coaching-topic-group li span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.coaching-framework-visual {
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--night);
}

.coaching-framework-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.meps-domain details {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.meps-domain summary {
  padding-block: 18px;
  color: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

.meps-topic-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.meps-topic-list li {
  display: grid;
  gap: 5px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.meps-topic-list strong {
  color: var(--forest-deep);
  font-size: 0.93rem;
}

.meps-topic-list span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.meps-integration {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--night);
  color: var(--white);
}

.meps-integration img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.meps-integration div {
  padding: 38px;
}

.meps-integration h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 2rem;
}

.meps-integration p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.service-list,
.plain-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list article,
.plain-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3,
.plain-list h3 {
  margin-bottom: 8px;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

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

.coaching-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
}

.coaching-card:nth-child(3n + 2) {
  border-top-color: var(--gold);
}

.coaching-card:nth-child(3n + 3) {
  border-top-color: var(--plum);
}

.coaching-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--mineral);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coaching-card h3 {
  margin-bottom: 10px;
  font-size: 1.48rem;
}

.coaching-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.coaching-cta {
  padding-block: 68px;
  background: var(--plum);
  color: var(--white);
}

.coaching-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.coaching-cta-layout > div {
  max-width: 760px;
}

.coaching-cta-layout h2 {
  margin-bottom: 14px;
}

.coaching-cta-layout p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.coaching-cta-layout > .button {
  flex: 0 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label,
.consent-row label {
  color: var(--ink);
  font-weight: 750;
}

.form-row label span,
.form-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form-row input,
.form-row select {
  padding: 9px 11px;
}

.form-row textarea {
  min-height: 150px;
  padding: 11px;
  resize: vertical;
}

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: #9a342f;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
}

.field-error {
  min-height: 1.25em;
  color: #8b2e2a;
  font-size: 0.84rem;
  font-weight: 700;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.submit-button {
  justify-self: start;
  min-width: 150px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  font-weight: 750;
}

.rating-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.rating-row label {
  position: relative;
  cursor: pointer;
}

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

.rating-row span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(9, 72, 79, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--deep-teal);
  font-weight: 700;
}

.rating-row input:checked + span,
.rating-row input:focus-visible + span {
  border-color: var(--gold);
  background: var(--deep-teal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(204, 161, 68, 0.2);
}

.balance-result {
  margin-top: 1rem;
  line-height: 1.6;
}

/* Balance Snapshot user experience. */
.snapshot-candidate {
  --snapshot-mental: #258f88;
  --snapshot-emotional: #80509d;
  --snapshot-physical: #679b65;
  --snapshot-spiritual: #c39a3c;
  min-height: 100vh;
  background: #f5f1e8;
  color: #17383a;
}

.snapshot-review-flag {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 9px 24px;
  background: #241f35;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .02em;
}

.snapshot-review-flag strong { color: #f1cf75; text-transform: uppercase; letter-spacing: .12em; }
.snapshot-screen { min-height: 760px; }
.snapshot-screen[hidden] { display: none; }

.snapshot-intro-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 840px;
  padding: 72px 24px 92px;
  background:
    radial-gradient(circle at 18% 30%, rgba(48, 165, 153, .38), transparent 30%),
    radial-gradient(circle at 82% 66%, rgba(128, 80, 157, .28), transparent 31%),
    linear-gradient(145deg, #071f2b, #101b38 55%, #152b36);
  color: white;
}

.snapshot-aurora { position: absolute; inset: 0; z-index: -1; opacity: .65; background-image: radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.5px); background-size: 71px 71px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.snapshot-intro-inner { width: min(900px, 100%); text-align: center; }
.snapshot-logo { width: 116px; height: 116px; margin: 0 auto 20px; object-fit: contain; filter: drop-shadow(0 14px 30px rgba(0,0,0,.22)); }
.snapshot-kicker { margin: 0 0 14px; color: #61dcc9; font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; }
.snapshot-intro-screen h1 { margin-bottom: 22px; font-size: clamp(3.5rem, 9vw, 7.2rem); line-height: .92; color: white; }
.snapshot-lead { max-width: 720px; margin: 0 auto 14px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.32rem); }
.snapshot-boundary { max-width: 680px; margin: 0 auto 34px; color: rgba(255,255,255,.62); font-size: .9rem; }
.snapshot-primary, .snapshot-secondary, .snapshot-text-button { border: 0; font: inherit; cursor: pointer; }
.snapshot-primary { min-height: 52px; padding: 13px 28px; border-radius: 999px; background: #50d2bd; color: #071f2b; font-weight: 800; box-shadow: 0 12px 30px rgba(35, 160, 143, .25); }
.snapshot-primary:hover { background: #6ee1cf; transform: translateY(-1px); }
.snapshot-secondary { min-height: 48px; padding: 11px 22px; border: 1px solid rgba(23,56,58,.25); border-radius: 999px; background: #fff; color: #17383a; font-weight: 750; }
.snapshot-secondary:disabled { cursor: not-allowed; opacity: .52; }
.snapshot-text-button { padding: 8px; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.snapshot-meta { margin: 18px 0 42px; color: rgba(255,255,255,.52); font-size: .82rem; }
.snapshot-domain-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 720px; margin: auto; padding: 0; list-style: none; }
.snapshot-domain-key li { display: grid; place-items: center; gap: 9px; padding: 20px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.snapshot-domain-key span, .snapshot-scores li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; font: 700 1rem Georgia, serif; }
.mental > span, .snapshot-domain-pill.mental { background: var(--snapshot-mental); }
.emotional > span, .snapshot-domain-pill.emotional { background: var(--snapshot-emotional); }
.physical > span, .snapshot-domain-pill.physical { background: var(--snapshot-physical); }
.spiritual > span, .snapshot-domain-pill.spiritual { background: var(--snapshot-spiritual); }

.snapshot-assessment-screen { padding: 58px 24px 90px; background: radial-gradient(circle at 8% 10%, rgba(37,143,136,.13), transparent 32%), #f5f1e8; }
.snapshot-assessment-shell { width: min(820px, 100%); margin: auto; }
.snapshot-progress-header, .snapshot-results-heading, .snapshot-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.snapshot-step { margin: 0; font-weight: 700; }
.snapshot-progress-track { height: 8px; margin: 18px 0 30px; overflow: hidden; border-radius: 99px; background: #dce4de; }
.snapshot-progress-track span { display: block; width: 8.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #258f88, #80509d); transition: width .25s ease; }
.snapshot-question-card, .snapshot-card, .snapshot-state-card { border: 1px solid rgba(23,56,58,.13); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 22px 60px rgba(18,53,50,.09); }
.snapshot-question-card { padding: clamp(26px, 5vw, 54px); }
.snapshot-domain-pill { display: inline-block; margin: 0 0 20px; padding: 7px 13px; border-radius: 99px; color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.snapshot-question-card h2 { max-width: 680px; margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.65rem); }
.snapshot-fixture-note, .snapshot-session-note { color: #617370; font-size: .88rem; }
.snapshot-options { display: grid; gap: 10px; margin: 30px 0 12px; padding: 0; border: 0; }
.snapshot-options label { cursor: pointer; }
.snapshot-options input { position: absolute; opacity: 0; pointer-events: none; }
.snapshot-options span { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; min-height: 62px; padding: 9px 16px; border: 1px solid #ced9d3; border-radius: 14px; background: #fbfdfb; transition: .15s ease; }
.snapshot-options strong { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e5eeea; }
.snapshot-options small { color: #657773; }
.snapshot-options input:checked + span { border-color: #258f88; background: #e7f5f1; box-shadow: 0 0 0 2px rgba(37,143,136,.13); }
.snapshot-options input:focus-visible + span { outline: 3px solid #c39a3c; outline-offset: 2px; }
.snapshot-inline-status { min-height: 25px; margin: 8px 0 0; color: #8c382f; font-weight: 700; }
.snapshot-nav-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }
.snapshot-session-note { text-align: center; margin-top: 18px; }

.snapshot-processing-screen, .snapshot-error-screen { display: grid; place-items: center; padding: 70px 24px; background: #f5f1e8; }
.snapshot-state-card { width: min(620px, 100%); padding: 56px; text-align: center; }
.snapshot-state-card .snapshot-kicker { color: #258f88; }
.snapshot-loader { display: block; width: 64px; height: 64px; margin: 0 auto 26px; border: 5px solid #d7e5df; border-top-color: #258f88; border-radius: 50%; animation: snapshot-spin .9s linear infinite; }
.snapshot-state-error { border-top: 5px solid #9f493f; }
@keyframes snapshot-spin { to { transform: rotate(360deg); } }

.snapshot-results-screen { padding: 58px max(24px, calc((100vw - 1180px) / 2)) 100px; background: radial-gradient(circle at 82% 10%, rgba(128,80,157,.12), transparent 28%), linear-gradient(#edf5f1, #f7f2e8); }
.snapshot-results-heading { margin-bottom: 34px; }
.snapshot-results-heading h1 { margin-bottom: 10px; font-size: clamp(2.7rem, 6vw, 5rem); }
.snapshot-results-heading .snapshot-kicker { color: #258f88; }
.snapshot-results-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 20px; }
.snapshot-card { padding: clamp(24px, 3vw, 38px); }
.snapshot-card h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.snapshot-card-label { margin-bottom: 8px; color: #637570; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.snapshot-overall { display: flex; flex-direction: column; justify-content: center; color: white; background: linear-gradient(145deg, #173f43, #205f5d); }
.snapshot-overall .snapshot-card-label, .snapshot-overall small { color: rgba(255,255,255,.66); }
.snapshot-overall-score { display: flex; align-items: flex-end; gap: 13px; margin: 10px 0 2px; }
.snapshot-overall-score strong { font: 500 clamp(5rem, 10vw, 8rem)/.9 Georgia, serif; color: #f3d476; }
.snapshot-overall-score span { padding-bottom: 12px; font-size: .78rem; color: rgba(255,255,255,.65); }
.snapshot-overall h2 { color: #fff; }
.snapshot-chart-card canvas { display: block; max-width: 100%; margin: auto; }
.snapshot-card-heading > span { padding: 5px 10px; border-radius: 99px; background: #ece5f1; color: #69407e; font-size: .72rem; font-weight: 800; }
.snapshot-scores { grid-column: 1 / -1; }
.snapshot-scores ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.snapshot-scores li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f2f5f1; }
.snapshot-scores li div { display: grid; }
.snapshot-scores li small { color: #697a76; }
.snapshot-scores li b { font: 600 1.8rem Georgia, serif; }
.snapshot-insight { background: #fffaf0; }
.snapshot-insight-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #e1d9c6; }
.snapshot-insight-row span { color: #657773; }
.snapshot-insight > p:last-child { margin: 24px 0 0; color: #657773; }
.snapshot-recommendations { border-top: 5px solid #80509d; }
.snapshot-resource-list { display: grid; gap: 9px; margin: 24px 0; }
.snapshot-resource-list div { display: grid; gap: 3px; padding: 14px; border-radius: 12px; background: #f3edf6; }
.snapshot-resource-list span { color: #80509d; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.snapshot-history { border-top: 5px solid #c39a3c; }
.snapshot-history-chart { display: flex; align-items: end; gap: 8px; height: 130px; margin: 22px 0; padding: 12px; border-left: 1px solid #d6cbb5; border-bottom: 1px solid #d6cbb5; }
.snapshot-history-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(#d8ba68, #258f88); }
.snapshot-disclaimer { margin-top: 22px; padding: 20px 24px; border: 1px solid rgba(23,56,58,.18); border-radius: 16px; background: rgba(255,255,255,.55); }
.snapshot-disclaimer strong { color: #80509d; }
.snapshot-disclaimer p { margin: 4px 0 0; }
.snapshot-result-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-top: 22px; padding: clamp(24px, 4vw, 38px); border-radius: 24px; background: #173f43; color: white; }
.snapshot-result-actions h2 { margin-bottom: 8px; color: white; }
.snapshot-result-actions p { margin-bottom: 0; color: rgba(255,255,255,.76); }
.snapshot-result-actions .snapshot-card-label { color: #f1cf75; }
.snapshot-result-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.snapshot-action-status { grid-column: 1 / -1; min-height: 1.5em; font-weight: 700; }
.snapshot-review-controls { position: sticky; z-index: 20; bottom: 14px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: calc(100% - 24px); margin: -60px auto 0; padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; background: rgba(17,29,39,.92); color: white; box-shadow: 0 12px 35px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.snapshot-review-controls span { padding: 0 8px; color: #f1cf75; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.snapshot-review-controls button { padding: 7px 11px; border: 0; border-radius: 99px; background: rgba(255,255,255,.1); color: white; cursor: pointer; }
.snapshot-review-controls button:hover { background: #258f88; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 760px) {
  .snapshot-review-flag { display: grid; gap: 2px; text-align: center; }
  .snapshot-intro-screen { min-height: 780px; padding: 52px 18px 90px; }
  .snapshot-logo { width: 88px; height: 88px; }
  .snapshot-domain-key { grid-template-columns: repeat(2, 1fr); }
  .snapshot-assessment-screen { padding: 36px 16px 86px; }
  .snapshot-progress-header { align-items: center; }
  .snapshot-question-card { border-radius: 20px; }
  .snapshot-options span { grid-template-columns: 36px 1fr; }
  .snapshot-results-screen { padding: 36px 16px 98px; }
  .snapshot-results-heading { display: grid; }
  .snapshot-results-heading .snapshot-secondary { width: fit-content; }
  .snapshot-results-grid { grid-template-columns: 1fr; }
  .snapshot-overall { min-height: 330px; }
  .snapshot-chart-card { order: 2; }
  .snapshot-scores { order: 3; }
  .snapshot-scores ul { grid-template-columns: 1fr; }
  .snapshot-insight { order: 4; }
  .snapshot-recommendations { order: 5; }
  .snapshot-history { order: 6; }
  .snapshot-insight-row { display: grid; gap: 2px; }
  .snapshot-result-actions { grid-template-columns: 1fr; }
  .snapshot-result-buttons { display: grid; justify-content: stretch; }
  .snapshot-review-controls span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .snapshot-loader { animation: none; }
  .snapshot-primary, .snapshot-progress-track span { transition: none; }
}

.form-status[data-state="success"] {
  color: #246547;
}

.form-status[data-state="error"] {
  color: #8b2e2a;
}

.sensitive-notice {
  margin-bottom: 20px;
}

.application-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.application-shell {
  max-width: 1040px;
}

.coaching-application-form {
  display: grid;
  gap: 28px;
}

.application-section {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.application-section legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.application-section legend span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--mineral);
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.fieldset-intro {
  margin-bottom: 24px;
  color: var(--muted);
}

.application-grid,
.readiness-grid {
  display: grid;
  gap: 22px;
}

.application-grid.two-column,
.readiness-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.acknowledgement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.acknowledgement-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.5;
}

.acknowledgement-item input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.application-submit {
  display: flex;
  align-items: center;
  gap: 20px;
}

.empty-library {
  display: grid;
  min-height: 310px;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-library > div {
  max-width: 620px;
  padding: 40px 20px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--aqua);
  border-radius: 8px;
  background: var(--white);
}

.app-card:nth-child(2) {
  border-top-color: var(--gold);
}

.app-card:nth-child(3) {
  border-top-color: var(--plum);
}

.app-card:nth-child(4) {
  border-top-color: #a84f48;
}

.app-card > span {
  display: block;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.app-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.app-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-link {
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--mineral);
}

.price-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
}

.price-line span {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(191, 161, 87, 0.72);
  background: var(--night);
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 62px 48px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 1px solid rgba(191, 161, 87, 0.52);
  background: var(--white);
}

.footer-brand p {
  max-width: 380px;
  margin-top: 18px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--sunlight);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

/* Immersive Trias public experience. */
body {
  background: var(--paper);
}

.site-header {
  border-top: 2px solid var(--accent);
  border-bottom-color: rgba(253, 238, 164, 0.24);
  background: rgba(28, 38, 56, 0.98);
  box-shadow: 0 6px 20px rgba(28, 38, 56, 0.12);
}

.header-inner {
  min-height: 92px;
  grid-template-columns: auto 1fr auto;
}

.brand {
  min-width: 330px;
  gap: 16px;
  color: var(--white);
}

.brand img {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(253, 238, 164, 0.48);
  background: #fff;
}

.brand strong {
  color: #fff;
  font-size: 1.28rem;
}

.brand small {
  max-width: 310px;
  color: var(--sunlight);
  font-size: 0.7rem;
}

.primary-nav {
  justify-content: flex-end;
  gap: 25px;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--sunlight);
}

.site-header :focus-visible,
.site-footer :focus-visible,
.coach-record-rail :focus-visible,
.portal-app-header :focus-visible {
  outline-color: var(--sunlight);
}

.mobile-nav {
  display: none;
}

.home-hero {
  min-height: clamp(540px, calc(100svh - 160px), 760px);
  background-position: center;
}

.home-hero .hero-shade,
.about-hero .hero-shade {
  background: linear-gradient(90deg, rgba(4, 27, 36, 0.9) 0%, rgba(4, 27, 36, 0.68) 48%, rgba(4, 27, 36, 0.2) 76%, rgba(4, 27, 36, 0.46) 100%);
}

.hero-content {
  padding-block: 66px 86px;
}

.hero-brand-mark {
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  border: 1px solid rgba(253, 238, 164, 0.58);
  background: #fff;
  box-shadow: 0 12px 38px rgba(3, 21, 29, 0.32);
  object-fit: contain;
}

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(3.75rem, 7vw, 5.4rem);
  line-height: 0.94;
}

.hero-tagline {
  max-width: 740px;
  margin-bottom: 24px;
  color: var(--sunlight);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.13rem;
  line-height: 1.65;
}

.vision-intro-band {
  padding-block: 62px;
  border-top: 1px solid rgba(253, 238, 164, 0.34);
  border-bottom: 1px solid rgba(17, 75, 83, 0.18);
  background: var(--paper);
}

.vision-intro-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1.62fr);
  align-items: start;
  gap: 56px;
}

.vision-intro-layout .eyebrow {
  margin-top: 9px;
}

.vision-intro-statement {
  max-width: 940px;
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.38;
}

.brand-banner-band {
  border-bottom-color: rgba(191, 161, 87, 0.72);
  background: #062532;
}

.brand-banner-band img {
  max-height: none;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
}

.pathways-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 75, 83, 0.16);
  background: #e8efeb;
}

.pathways-band::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 75, 83, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 75, 83, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 86%);
  pointer-events: none;
}

.pathways-band > .container {
  position: relative;
}

.pathways-band .section-heading h2 {
  color: var(--forest-deep);
}

.division-grid {
  gap: 24px;
}

.division-card {
  min-height: 540px;
  grid-template-rows: 250px 1fr;
  border-color: rgba(17, 75, 83, 0.2);
  border-top-width: 3px;
  background: rgba(251, 253, 251, 0.98);
  box-shadow: 0 16px 40px rgba(6, 37, 50, 0.08);
}

.division-card > img {
  height: 250px;
  padding: 28px;
  background: #fff;
}

.division-card > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.division-card h3 {
  color: var(--forest-deep);
}

.division-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.meps-band {
  position: relative;
  background: linear-gradient(115deg, #052c36 0%, #0b4b50 68%, #19384d 100%);
}

.meps-band::after {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 280px;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0.7;
}

.meps-band .section-heading h2,
.meps-band .frameworks-intro h2 {
  color: #fff;
}

.coach-band {
  border-top: 1px solid rgba(191, 161, 87, 0.4);
  background: #f7f2e8;
}

.coach-portrait img {
  border: 1px solid rgba(191, 161, 87, 0.52);
  border-radius: 2px;
  box-shadow: 18px 18px 0 #0b4b50;
}

.coach-copy h2 {
  color: var(--forest-deep);
  font-size: clamp(2.7rem, 5vw, 4rem);
}

.invitation-band {
  background: #4e2767;
}

.about-hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 161, 87, 0.72);
  background-color: var(--night);
  background-image: url("/brand/trias-hero.png");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 100px 86px;
}

.about-hero-content h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3.4rem, 6vw, 5rem);
}

.about-hero-content > p:last-child {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.about-vision-band {
  padding-block: 80px;
  background: #07333d;
  color: #fff;
}

.about-vision-layout {
  max-width: 1000px;
}

.about-vision-statement {
  margin: 18px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.35;
}

.about-pathways-band {
  background: #e8efeb;
}

.about-pathway-list {
  border-top: 1px solid rgba(17, 75, 83, 0.28);
}

.about-pathway-list > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 30px;
  padding-block: 28px;
  border-bottom: 1px solid rgba(17, 75, 83, 0.28);
  color: var(--ink);
  text-decoration: none;
}

.about-pathway-list img {
  width: 112px;
  height: 86px;
  padding: 8px;
  background: #fff;
  object-fit: contain;
}

.about-pathway-list h3 {
  margin-bottom: 6px;
  color: var(--forest-deep);
  font-size: 1.65rem;
}

.about-pathway-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-pathway-list > a > span {
  color: var(--gold-deep);
  font-size: 1.6rem;
  transition: transform 180ms ease;
}

.about-pathway-list > a:hover > span {
  transform: translateX(5px);
}

.about-coach-band {
  background: #f7f2e8;
}

.about-coach-band,
.about-story-band,
.about-credentials-band,
.about-why-band,
.meps-overview-list li {
  scroll-margin-top: 96px;
}

.about-story-band {
  background: #e8efeb;
}

.about-story-layout,
.about-credentials-layout,
.about-why-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.about-story-layout h2,
.about-credentials-layout h2,
.about-why-layout h2 {
  margin: 0;
  color: var(--forest-deep);
  font-size: 2.35rem;
}

.about-coach-pathways {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(17, 75, 83, 0.28);
  list-style: none;
}

.about-coach-pathways li {
  padding-block: 22px;
  border-bottom: 1px solid rgba(17, 75, 83, 0.28);
  color: var(--muted);
  line-height: 1.7;
}

.about-coach-pathways strong {
  color: var(--forest-deep);
}

.about-prose {
  grid-column: 2;
}

.about-prose-wide {
  max-width: 900px;
  margin-inline: auto;
}

.about-prose p,
.about-credentials-layout > div:last-child > p {
  color: var(--muted);
  line-height: 1.78;
}

.about-credentials-band {
  background: #07333d;
  color: #fff;
}

.about-credentials-layout h2,
.about-credentials-layout > div:last-child > p,
.about-credential-list {
  color: #fff;
}

.about-credential-list {
  margin-bottom: 26px;
}

.about-credential-list li {
  margin-bottom: 9px;
}

.about-credential-list .credential-feature {
  margin-bottom: 18px;
}

.credential-feature > span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.91rem;
  line-height: 1.65;
}

.about-why-band {
  background: #f7f2e8;
}

.about-vision-quote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--gold);
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.5;
}

.about-coach-principle {
  margin-top: 30px;
  color: var(--forest-deep) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.about-coach-signature {
  color: var(--forest-deep) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-nav summary {
    display: grid;
    width: 46px;
    height: 46px;
    cursor: pointer;
    list-style: none;
    place-items: center;
    border: 1px solid rgba(253, 238, 164, 0.52);
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--sunlight);
    content: "";
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -6px;
  }

  .menu-icon::after {
    position: absolute;
    top: 6px;
  }

  .mobile-nav nav {
    position: absolute;
    z-index: 70;
    top: calc(100% + 17px);
    right: 0;
    display: grid;
    width: min(320px, calc(100vw - 32px));
    border: 1px solid rgba(253, 238, 164, 0.42);
    background: #062532;
    box-shadow: 0 18px 44px rgba(3, 21, 29, 0.32);
  }

  .mobile-nav nav a {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
  }

  .mobile-nav nav a[aria-current="page"] {
    color: var(--sunlight);
  }

  .division-grid,
  .coaching-grid,
  .app-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .framework-showcase {
    grid-template-columns: 1fr;
  }

  .application-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .meps-domain-grid {
    grid-template-columns: 1fr;
  }

  .framework-panel {
    padding-right: 0;
  }

  .framework-panel + .framework-panel {
    border-top: 1px solid rgba(191, 161, 87, 0.58);
    border-left: 0;
    padding-left: 0;
  }

  .meps-overview-list li:nth-child(even) {
    padding-right: 20px;
  }

  .vision-intro-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.home-hero,
.about-hero {
  background-image: url("/brand/trias-hero.webp");
}

@media (max-width: 760px) {
  h1,
  .page-intro h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand small {
    display: none;
  }

  .home-hero {
    min-height: min(600px, calc(100svh - 102px));
    background-position: 66% center;
  }

  .home-hero .hero-shade,
  .about-hero .hero-shade {
    background: rgba(4, 27, 36, 0.76);
  }

  .coaching-hero {
    min-height: min(600px, calc(100svh - 102px));
    background-position: 60% center;
  }

  .coaching-hero-shade {
    background: rgba(6, 37, 50, 0.76);
  }

  .hero-content {
    align-self: end;
    padding-block: 40px 44px;
  }

  .hero-brand-mark {
    display: none;
  }

  .hero-content h1 {
    font-size: 3.15rem;
  }

  .coaching-hero-content {
    align-self: end;
    padding-block: 70px 68px;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 10px;
  }

  .hero-actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .principle-grid,
  .division-grid,
  .coaching-grid,
  .coaching-topic-grid,
  .meps-coaching-grid,
  .app-grid,
  .framework-steps,
  .footer-main,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portal-workflow-heading,
  .portal-workflow-list article {
    grid-template-columns: 1fr;
  }

  .portal-app-header,
  .portal-summary-grid,
  .portal-quick-access,
  .portal-section-heading,
  .portal-account-grid,
  .portal-admin-layout,
  .portal-admin-forms,
  .portal-engagement-card,
  .portal-admin-facts,
  .portal-review-list {
    grid-template-columns: 1fr;
  }

  .portal-app-header h1 {
    font-size: 2.25rem;
  }

  .portal-mode-notice {
    min-width: 0;
  }

  .portal-summary-grid > article {
    min-height: 0;
  }

  .portal-status-item,
  .portal-resource,
  .portal-admin-row,
  .portal-preparation-item,
  .portal-document-item,
  .portal-continuity-row {
    grid-template-columns: 1fr;
  }

  .portal-journey-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .portal-journey-step .portal-state {
    grid-column: 2;
    justify-self: start;
  }

  .portal-preparation-state {
    justify-items: start;
  }

  .portal-continuity-choice {
    min-width: 0;
  }

  .portal-protected-continuity ul {
    columns: 1;
  }

  .portal-client-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
  }

  .portal-admin-forms > h3 {
    grid-column: auto;
  }

  .portal-coach-goal-header,
  .portal-goal-marker-form fieldset {
    grid-template-columns: 1fr;
  }

  .portal-goal-marker-choice {
    min-height: 0;
  }

  .portal-appointment-actions {
    justify-content: flex-start;
  }

  .portal-session-admin-heading,
  .portal-session-draft-header,
  .portal-session-consent-grid,
  .portal-session-draft-form {
    grid-template-columns: 1fr;
  }

  .portal-session-draft-form label:nth-last-of-type(1),
  .portal-session-draft-actions {
    grid-column: 1;
  }

  .portal-message {
    width: 94%;
  }

  .portal-achievement-evidence,
  .portal-action-slot,
  .portal-action-fields,
  .portal-action-activity-item {
    grid-template-columns: 1fr;
  }

  .portal-action-slot-number {
    place-content: start;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .portal-action-slot-number strong {
    font-size: 1.3rem;
  }

  .portal-action-slot-actions,
  .portal-action-checkin,
  .portal-action-last-checkin,
  .portal-implementation-note {
    grid-column: 1;
  }

  .portal-admin-shell .portal-summary-grid {
    grid-template-columns: 1fr;
  }

  .workflow-state {
    max-width: none;
    text-align: left;
  }

  .principle-grid span {
    border-right: 0;
    border-bottom: 1px solid rgba(136, 209, 193, 0.24);
    padding: 14px;
  }

  .principle-grid span:last-child {
    border-bottom: 0;
  }

  .frameworks-intro {
    margin-bottom: 34px;
  }

  .framework-panel {
    padding-block: 30px;
  }

  .meps-overview-list {
    grid-template-columns: 1fr;
  }

  .meps-overview-list li,
  .meps-overview-list li:nth-child(odd),
  .meps-overview-list li:nth-child(even) {
    grid-template-columns: 92px minmax(0, 1fr);
    border-right: 0;
    padding-inline: 0;
  }

  .meps-overview-image {
    width: 92px;
    height: 114px;
  }

  .framework-action {
    justify-content: flex-start;
  }

  .meps-domain-copy {
    padding: 24px;
  }

  .meps-integration {
    grid-template-columns: 1fr;
  }

  .coaching-framework-visual img {
    aspect-ratio: 4 / 3;
  }

  .content-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .meps-integration div {
    padding: 28px 24px;
  }

  .section-band,
  .content-band {
    padding-block: 64px;
  }

  .vision-intro-band,
  .about-vision-band {
    padding-block: 52px;
  }

  .division-card {
    min-height: 500px;
    grid-template-rows: 210px 1fr;
  }

  .division-card > img {
    height: 210px;
  }

  .about-hero {
    min-height: 520px;
  }

  .about-hero-content {
    padding-block: 74px 58px;
  }

  .about-pathway-list > a {
    grid-template-columns: 82px minmax(0, 1fr) 28px;
    gap: 18px;
  }

  .about-pathway-list img {
    width: 82px;
    height: 72px;
  }

  .coach-layout,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-story-layout,
  .about-credentials-layout,
  .about-why-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-prose {
    grid-column: auto;
  }

  .coach-portrait {
    max-width: 430px;
    padding-right: 14px;
    padding-bottom: 14px;
  }

  .invitation-layout,
  .coaching-cta-layout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-intro {
    padding-block: 68px 62px;
  }

  .page-intro .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    gap: 35px;
  }

  .inquiry-form {
    padding: 22px 18px;
  }

  .application-section {
    padding: 26px 20px;
  }

  .application-grid.two-column,
  .readiness-grid,
  .acknowledgement-list {
    grid-template-columns: 1fr;
  }

  .application-submit {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.portal-action-fields {
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.65fr) minmax(190px, 0.8fr);
}

.portal-reflection-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.portal-reflection-door {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.portal-reflection-door p {
  grid-column: 2;
  margin: 0;
}

.portal-reflection-door-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: rgba(6, 104, 112, 0.1);
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-reflection-door-not_connected {
  opacity: 0.72;
}

.portal-journal-form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fbfaf5;
}

.portal-journal-form label,
.portal-resource-search {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.portal-journal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.portal-journal-heading label {
  min-width: 180px;
}

.portal-journal-grid,
.portal-journal-actions > div[data-journal-action-reflections] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-journal-actions {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.portal-journal-meps-group {
  border-left: 3px solid var(--teal);
  padding: 12px 14px;
  background: #fff;
}

.portal-journal-meps-group h4 {
  margin-bottom: 10px;
}

.portal-journal-meps-group label + label {
  margin-top: 12px;
}

.portal-journal-submit {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-journal-entry {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.portal-journal-entry section p {
  margin: 5px 0 0;
  white-space: pre-wrap;
}

.portal-journal-action-entry {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.portal-meps-label {
  display: block;
  margin-bottom: 3px;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-resource-search {
  max-width: 460px;
  margin: 18px 0;
}

.portal-resource-repository-list {
  display: grid;
  gap: 10px;
}

.portal-resource-repository-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.portal-resource-repository-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

@media (max-width: 760px) {
  .portal-action-fields,
  .portal-reflection-doors,
  .portal-journal-grid,
  .portal-journal-actions > div[data-journal-action-reflections],
  .portal-resource-repository-item {
    grid-template-columns: 1fr;
  }

  .portal-journal-heading,
  .portal-journal-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-journal-heading label {
    min-width: 0;
  }

  .portal-resource-repository-actions {
    justify-items: start;
  }
}

.operations-nav { display:flex; gap:.6rem; flex-wrap:wrap; margin:0 0 1.25rem; }
.operations-nav a { padding:.65rem 1rem; border:1px solid rgba(6,37,50,.18); border-radius:999px; text-decoration:none; font-weight:700; }
.operations-nav a[aria-current="page"] { background:#062532; color:#fff; }
.operations-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0; }
.operations-client-card { border:1px solid rgba(6,37,50,.14); border-radius:1rem; padding:1rem; margin:.75rem 0; background:#fbfaf5; }
.operations-client-details { display:grid; grid-template-columns:max-content 1fr; gap:.35rem .8rem; margin:.75rem 0 0; }
.operations-client-details dt { font-weight:700; }
.operations-client-details dd { margin:0; }
.coach-today-queue,
.coach-client-record { margin-top:24px; }
.coach-shift-record,
.coach-documentation-controls,
.coach-record-ownership { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.coach-shift-criteria { display:grid; gap:8px; margin:16px 0; padding:0; list-style:none; }
.coach-shift-criteria li { display:grid; grid-template-columns:minmax(78px,auto) 1fr; align-items:center; gap:12px; min-height:44px; }
.coach-shift-criteria li span { color:var(--muted); font-size:.84rem; font-weight:700; text-transform:uppercase; }
.coach-shift-criteria li.is-complete span { color:#28745b; }
.coach-record-ownership summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-weight:700; }
@media (max-width: 560px) {
  .coach-shift-criteria li { grid-template-columns:1fr; gap:2px; }
  .coach-documentation-controls .hero-actions { align-items:stretch; }
  .coach-documentation-controls .button { width:100%; min-height:48px; }
}
.operations-documentation-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.operations-documentation-form label { display:grid; gap:.4rem; font-weight:700; }
.operations-documentation-form button { grid-column:1/-1; justify-self:start; }
@media (max-width: 760px) { .operations-grid,.operations-documentation-form { grid-template-columns:1fr; } }

/* Private mobile Founder and Coach workspace. */
.founder-mobile-body {
  min-height: 100dvh;
  background: #f4f6f3;
  color: #15383a;
}

.founder-mobile-body > .site-header,
.founder-mobile-body > .site-footer {
  display: none;
}

.founder-mobile-body #main-content {
  min-height: 100dvh;
}

.founder-mobile-shell {
  min-height: 100dvh;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.founder-mobile-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 8px max(16px, env(safe-area-inset-left)) 8px max(16px, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(21, 56, 58, 0.15);
  background: rgba(244, 246, 243, 0.94);
  backdrop-filter: blur(18px);
}

.founder-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.founder-mobile-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.founder-mobile-brand span {
  display: grid;
  line-height: 1.15;
}

.founder-mobile-brand small {
  color: #5a706d;
}

.founder-mobile-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5a706d;
  font-size: 0.72rem;
}

.founder-signout {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #315a58;
  padding: 8px 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.founder-signout:hover,
.founder-signout:focus-visible {
  background: #e3ece8;
  outline: 2px solid #397c76;
  outline-offset: 1px;
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d8a69;
}

.connection-dot.is-offline {
  background: #9d563e;
}

.founder-offline {
  padding: 10px 18px;
  background: #fff1df;
  color: #673d22;
  font-size: 0.86rem;
  text-align: center;
}

.founder-mobile-main {
  width: min(100%, 940px);
  max-width: 100vw;
  min-width: 0;
  margin: 0 auto;
  padding: 28px 18px 44px;
  overflow-x: clip;
}

.founder-mobile-view {
  display: none;
}

.founder-mobile-view.is-active {
  display: block;
}

.founder-view-title,
.founder-welcome,
.founder-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.founder-view-title {
  margin-bottom: 24px;
}

.founder-view-title h1,
.founder-welcome h1 {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1.02;
}

.founder-view-title p,
.founder-welcome p {
  max-width: 680px;
  margin-bottom: 0;
  color: #58706c;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 50%;
  background: #fff;
  color: #0b5354;
  cursor: pointer;
  font-size: 1rem;
}

.icon-button.is-listening {
  border-color: #a05b79;
  background: #a05b79;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(160, 91, 121, 0.12);
}

.founder-home-canvas {
  position: relative;
  min-height: min(760px, calc(100vh - 152px));
  overflow: hidden;
  border: 1px solid rgba(21, 56, 58, 0.12);
  border-radius: 7px;
  background: #f5f8f6;
}

.founder-home-workspace {
  position: absolute;
  inset: auto 20px 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.founder-home-destination {
  display: grid;
  min-width: 0;
  min-height: 86px;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.84);
  color: #15383a;
  padding: 14px 16px;
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.founder-home-destination:hover,
.founder-home-destination:focus-visible {
  border-color: rgba(11, 83, 84, 0.5);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 3px rgba(11, 83, 84, 0.12);
}

.founder-home-destination span {
  font-weight: 800;
}

.founder-home-destination small {
  overflow-wrap: anywhere;
  color: #58706c;
}

.founder-brief-introduction {
  margin-top: 18px;
  border-radius: 7px;
  background: #154847;
  color: #fff;
  padding: clamp(22px, 4vw, 38px);
}

.founder-next-item {
  margin-top: 18px;
  border-left: 4px solid #d8bd69;
  border-radius: 7px;
  background: #154847;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
}

.founder-next-item .eyebrow {
  color: #f1d995;
}

.founder-next-item h2 {
  max-width: 760px;
  margin: 5px 0 8px;
  color: #fff;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
}

.founder-next-item p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #e5efeb;
}

.founder-next-item .button {
  margin-top: 18px;
}

.founder-task-capture,
.founder-department-work {
  margin-top: 24px;
  border-top: 1px solid rgba(21, 56, 58, 0.15);
  padding-top: 22px;
}

.founder-task-capture h2,
.founder-department-work > h2 {
  margin: 3px 0 0;
  font-size: 1.65rem;
}

.founder-department-groups {
  display: grid;
  margin-top: 16px;
  border-bottom: 1px solid rgba(21, 56, 58, 0.14);
}

.founder-department-section {
  min-width: 0;
  border-top: 1px solid rgba(21, 56, 58, 0.14);
  padding: 20px 0 6px;
}

.founder-department-heading,
.founder-department-item,
.founder-department-actions,
.founder-work-meta {
  display: flex;
  align-items: center;
}

.founder-department-heading {
  justify-content: space-between;
  gap: 16px;
}

.founder-department-heading h3 {
  margin: 0;
  font-size: 1.25rem;
}

.founder-department-item {
  min-width: 0;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.founder-department-item + .founder-department-item {
  border-top: 1px solid rgba(21, 56, 58, 0.09);
}

.founder-department-copy {
  min-width: 0;
}

.founder-department-copy > strong,
.founder-department-copy > p {
  overflow-wrap: anywhere;
}

.founder-department-copy > p:not(.founder-work-meta) {
  margin: 5px 0 0;
  color: #58706c;
}

.founder-work-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 7px;
  color: #58706c;
  font-size: 0.82rem;
}

.founder-department-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.founder-brief-introduction .eyebrow {
  color: #f1d995;
}

.founder-brief-introduction h2 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}

.founder-brief-summary {
  max-width: 720px;
  margin: 0;
  color: #e5efeb;
}

.founder-brief-recommendation {
  max-width: 760px;
  margin-top: 22px;
  border-left: 3px solid #f1d995;
  padding-left: 16px;
}

.founder-brief-recommendation p {
  margin: 5px 0 0;
  color: #fff;
}

.founder-brief-section {
  min-width: 0;
  border-top: 1px solid rgba(21, 56, 58, 0.15);
  padding: 22px 0 4px;
}

.founder-priorities {
  margin-top: 8px;
}

.founder-priority-list {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: founder-priority;
  list-style: none;
}

.founder-priority-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(21, 56, 58, 0.12);
  padding: 16px 0;
  counter-increment: founder-priority;
}

.founder-priority-list li::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(11, 83, 84, 0.2);
  border-radius: 50%;
  background: #edf4f0;
  color: #0b5354;
  content: counter(founder-priority);
  font-weight: 800;
}

.founder-priority-list li > div {
  min-width: 0;
}

.founder-priority-list strong,
.founder-priority-list p {
  overflow-wrap: anywhere;
}

.founder-priority-list p,
.founder-brief-list-item p,
.founder-brief-decision p {
  margin: 4px 0 0;
  color: #58706c;
}

.founder-task-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.34fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
}

.founder-task-form label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #47625e;
  font-size: 0.82rem;
  font-weight: 750;
}

.founder-task-form input {
  width: 100%;
  min-height: 46px;
}

.founder-task-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
}

.founder-task-list {
  margin-top: 10px;
}

.founder-task-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(21, 56, 58, 0.12);
  padding: 14px 0;
}

.founder-task-check {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 83, 84, 0.28);
  border-radius: 50%;
  background: #fff;
  color: #0b5354;
  cursor: pointer;
  font-size: 1.1rem;
}

.founder-task-check:hover,
.founder-task-check:focus-visible {
  background: #e5eee9;
  outline: 2px solid #397c76;
  outline-offset: 2px;
}

.founder-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 5px 0 0;
  color: #58706c;
  font-size: 0.82rem;
}

.founder-completed-tasks {
  margin-top: 8px;
  color: #47625e;
}

.founder-completed-tasks summary {
  min-height: 44px;
  padding: 11px 0;
  cursor: pointer;
  font-weight: 750;
}

.founder-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 18px;
}

.founder-brief-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.founder-brief-list-item {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(21, 56, 58, 0.11);
  padding: 13px 0;
}

.founder-brief-heading-link,
.founder-brief-source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.founder-brief-heading-link {
  margin-top: 6px;
}

.founder-brief-source-link {
  flex: 0 0 auto;
}

.founder-brief-list-item > div {
  min-width: 0;
}

.founder-brief-list-item strong,
.founder-brief-list-item p {
  overflow-wrap: anywhere;
}

.founder-brief-empty {
  margin: 10px 0 0;
  color: #58706c;
}

.founder-brief-decision {
  margin-top: 14px;
  border-left: 3px solid #c1a35b;
  background: #fff;
  padding: 18px 20px;
}

.founder-brief-decision h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.founder-brief-decision > div {
  border-top: 1px solid rgba(21, 56, 58, 0.1);
  padding: 10px 0;
}

.founder-brief-decision .button {
  margin-top: 8px;
}

.founder-calendar {
  margin-top: 18px;
}

.founder-calendar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(21, 56, 58, 0.12);
  padding: 16px 0;
}

.founder-calendar-row > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.founder-calendar-actions {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px !important;
}

.founder-calendar-row span {
  overflow-wrap: anywhere;
  color: #58706c;
}

.founder-calendar-time {
  color: #0b5354;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.founder-calendar-account {
  margin: 3px 0 0;
  color: #58706c;
  font-size: 0.86rem;
}

.founder-studio-empty {
  display: grid;
  max-width: 760px;
  gap: 9px;
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 7px;
  background: #fff;
  padding: clamp(24px, 5vw, 52px);
}

.founder-studio-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.founder-studio-summary-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 7px;
  background: #fff;
  padding: 18px;
}

.founder-studio-summary-card span,
.founder-studio-summary-card small {
  color: #58706c;
}

.founder-studio-summary-card strong {
  color: #15383a;
  font-size: 1.85rem;
}

.founder-studio-queue {
  margin-bottom: 18px;
}

.founder-studio-queue > p:not(.eyebrow),
.founder-studio-queue h2 {
  margin-bottom: 8px;
}

.founder-studio-empty h2,
.founder-studio-empty p {
  margin: 0;
}

.founder-studio-empty .button {
  width: fit-content;
  margin-top: 8px;
}

.auren-mobile-panel {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 900px;
}

.auren-presence {
  position: relative;
  top: -54px;
  isolation: isolate;
  display: grid;
  width: clamp(220px, 30vw, 292px);
  height: clamp(220px, 30vw, 292px);
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 237, 0.96) 0 1.5%, rgba(255, 209, 84, 0.72) 4%, rgba(241, 157, 25, 0.22) 11%, transparent 24%),
    radial-gradient(ellipse at 31% 31%, rgba(255, 222, 137, 0.24), transparent 23%),
    radial-gradient(ellipse at 72% 69%, rgba(145, 86, 198, 0.2), transparent 32%),
    conic-gradient(from 28deg, transparent 0 9%, rgba(255, 193, 54, 0.38) 12%, transparent 17% 35%, rgba(255, 225, 142, 0.3) 40%, transparent 46% 67%, rgba(182, 103, 210, 0.2) 72%, transparent 79% 100%),
    radial-gradient(circle at 50% 48%, rgba(25, 20, 30, 0.92), rgba(7, 7, 10, 0.91) 62%, rgba(2, 3, 5, 0.62) 82%, transparent 100%);
  box-shadow:
    22px 30px 36px rgba(17, 12, 8, 0.2),
    0 0 22px rgba(255, 225, 146, 0.54),
    0 0 76px rgba(225, 158, 37, 0.34),
    0 0 138px rgba(164, 88, 190, 0.12),
    inset 18px 16px 30px rgba(255, 245, 204, 0.08),
    inset -18px -24px 42px rgba(0, 0, 0, 0.26),
    inset 0 0 62px rgba(255, 183, 44, 0.12);
  filter: saturate(1.26);
  transform: rotateX(-3deg) rotateY(5deg) translateZ(12px);
  transform-style: preserve-3d;
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
  animation: auren-living-field 6.4s ease-in-out infinite;
  transition: opacity 180ms ease, transform 240ms ease, box-shadow 180ms ease;
}

.auren-presence:hover,
.auren-presence:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.72),
    0 0 22px rgba(245, 220, 152, 0.66),
    0 0 88px rgba(205, 161, 61, 0.34),
    0 0 150px rgba(221, 187, 103, 0.17),
    inset 0 0 28px rgba(255, 255, 255, 0.3);
  transform: rotateX(-1deg) rotateY(-3deg) translateZ(18px) scale(1.02);
}

.auren-presence::before,
.auren-presence::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.auren-presence::before {
  inset: 12px;
  border: 1px solid rgba(255, 217, 119, 0.2);
  background:
    radial-gradient(ellipse at 25% 68%, transparent 0 24%, rgba(255, 177, 28, 0.62) 27%, rgba(255, 232, 159, 0.2) 31%, transparent 37%),
    radial-gradient(ellipse at 74% 34%, transparent 0 28%, rgba(255, 228, 139, 0.68) 31%, rgba(218, 132, 21, 0.21) 36%, transparent 42%),
    radial-gradient(ellipse at 43% 45%, rgba(255, 245, 195, 0.28), transparent 19%),
    conic-gradient(from 18deg at 52% 48%, transparent 0 10%, rgba(255, 185, 36, 0.38) 17%, transparent 26% 46%, rgba(255, 228, 143, 0.34) 55%, transparent 65% 81%, rgba(166, 88, 200, 0.24) 89%, transparent 100%);
  box-shadow: inset 0 0 38px rgba(255, 194, 64, 0.18), 0 0 18px rgba(255, 211, 103, 0.18);
  filter: blur(1.35px);
  opacity: 0.96;
  mix-blend-mode: normal;
  animation: auren-plasma-drift 14s linear infinite;
}

.auren-presence::after {
  inset: -18%;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 236, 0.96) 0 1px, rgba(255, 198, 53, 0.54) 2px, transparent 5px),
    radial-gradient(circle at 76% 57%, rgba(255, 240, 181, 0.9) 0 1px, rgba(220, 143, 18, 0.46) 2px, transparent 4px),
    radial-gradient(circle at 31% 72%, rgba(255, 251, 221, 0.94) 0 1px, rgba(239, 175, 38, 0.44) 2px, transparent 5px),
    radial-gradient(circle at 42% 27%, rgba(255, 226, 130, 0.78) 0 1px, transparent 4px),
    radial-gradient(circle at 19% 47%, rgba(255, 219, 128, 0.76) 0 1px, transparent 4px),
    radial-gradient(circle at 82% 78%, rgba(218, 172, 72, 0.68) 0 1px, transparent 5px),
    radial-gradient(ellipse at 26% 19%, rgba(255, 255, 248, 0.48) 0 3%, rgba(255, 225, 146, 0.12) 10%, transparent 30%);
  opacity: 0.94;
  mix-blend-mode: normal;
  animation: auren-surface-shimmer 8.8s ease-in-out infinite alternate;
}

.auren-presence span {
  position: absolute;
  pointer-events: none;
}

.founder-workspace-notice {
  position: fixed;
  z-index: 90;
  top: 78px;
  left: 50%;
  width: min(560px, calc(100% - 28px));
  border: 1px solid rgba(151, 108, 24, 0.28);
  border-radius: 6px;
  background: rgba(255, 252, 241, 0.98);
  box-shadow: 0 12px 32px rgba(32, 48, 50, 0.14);
  color: #4f3b18;
  padding: 13px 16px;
  transform: translateX(-50%);
  font-weight: 700;
}

.auren-plasma-canvas {
  position: absolute;
  z-index: 6;
  inset: -18%;
  display: block;
  width: 136%;
  height: 136%;
  border-radius: 50%;
  filter:
    saturate(1.12)
    brightness(1.58)
    contrast(1.08)
    drop-shadow(0 0 2px rgba(255, 247, 210, 0.98))
    drop-shadow(0 0 5px rgba(255, 229, 153, 0.9))
    drop-shadow(0 0 14px rgba(255, 208, 91, 0.72))
    drop-shadow(0 0 28px rgba(224, 169, 56, 0.4));
  mix-blend-mode: normal;
  pointer-events: none;
}

.auren-presence.has-webgl-plasma::before {
  opacity: 0;
}

.auren-presence.has-webgl-plasma::after {
  opacity: 0;
}

.auren-presence.has-webgl-plasma {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(67, 66, 60, 0.07) 0,
    rgba(239, 211, 144, 0.1) 32%,
    rgba(74, 71, 63, 0.035) 50%,
    transparent 72%
  );
  box-shadow: none;
  animation: auren-webgl-field 6.4s ease-in-out infinite;
}

.auren-presence.has-webgl-plasma .auren-membrane,
.auren-presence.has-webgl-plasma .auren-filament,
.auren-presence.has-webgl-plasma .auren-core,
.auren-presence.has-webgl-plasma .auren-orbit,
.auren-presence.has-webgl-plasma .auren-highlight {
  animation: none;
  opacity: 0;
}

@keyframes auren-webgl-field {
  0%, 100% {
    filter: saturate(1.04) brightness(1.02);
  }
  50% {
    filter: saturate(1.1) brightness(1.12);
  }
}

.auren-presence .auren-membrane {
  z-index: 1;
  inset: 5%;
  border: 1px solid rgba(250, 221, 145, 0.2);
  border-radius: 48% 52% 46% 54% / 54% 45% 55% 46%;
  background:
    radial-gradient(ellipse at 30% 66%, rgba(255, 177, 25, 0.46), transparent 31%),
    radial-gradient(ellipse at 72% 38%, rgba(255, 239, 175, 0.42), transparent 34%),
    radial-gradient(ellipse at 68% 72%, rgba(151, 82, 201, 0.24), transparent 36%),
    radial-gradient(ellipse at 48% 50%, rgba(255, 205, 74, 0.2), transparent 58%);
  box-shadow: inset 0 0 48px rgba(255, 205, 79, 0.24), 0 0 34px rgba(230, 155, 30, 0.2);
  filter: blur(1.2px);
  opacity: 0.92;
  mix-blend-mode: screen;
  animation: auren-membrane-flow 7.4s ease-in-out infinite alternate;
}

.auren-presence .auren-filament {
  z-index: 2;
  width: 76%;
  height: 34%;
  border: 3px solid transparent;
  border-top-color: rgba(255, 241, 183, 0.94);
  border-bottom-color: rgba(255, 154, 20, 0.66);
  border-radius: 50%;
  box-shadow: 0 -2px 18px rgba(255, 203, 63, 0.74), inset 0 2px 14px rgba(255, 246, 211, 0.34);
  filter: blur(1.25px);
  mix-blend-mode: screen;
}

.auren-presence .auren-filament-one {
  top: 30%;
  left: 12%;
  animation: auren-filament-one 7.2s ease-in-out infinite alternate;
}

.auren-presence .auren-filament-two {
  top: 36%;
  left: 12%;
  opacity: 0.72;
  animation: auren-filament-two 9.6s ease-in-out infinite alternate-reverse;
}

.auren-presence .auren-filament-three {
  top: 34%;
  left: 12%;
  width: 68%;
  opacity: 0.58;
  animation: auren-filament-three 11.4s ease-in-out infinite alternate;
}

.auren-presence .auren-core {
  z-index: 3;
  width: 24%;
  height: 24%;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 245, 0.72), rgba(255, 213, 93, 0.28) 34%, rgba(222, 151, 21, 0.05) 68%, transparent 76%);
  box-shadow:
    0 0 18px rgba(255, 252, 222, 0.9),
    0 0 48px rgba(255, 203, 69, 0.62),
    0 0 88px rgba(221, 151, 25, 0.3);
  filter: blur(3.5px);
  animation: auren-plasma-pulse 4.8s ease-in-out infinite;
}

.auren-presence .auren-orbit {
  z-index: 4;
  inset: 21%;
  border: 1px solid rgba(255, 222, 139, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(244, 201, 93, 0.26), inset 0 0 10px rgba(255, 246, 208, 0.16);
  transform: rotateX(68deg) rotateZ(-14deg) translateZ(22px);
  animation: auren-orbit-lilt 8.2s ease-in-out infinite alternate;
}

.auren-presence .auren-highlight {
  z-index: 5;
  top: 17%;
  left: 22%;
  width: 29%;
  height: 10%;
  border-radius: 50%;
  background: rgba(255, 255, 248, 0.36);
  filter: blur(7px);
  transform: rotate(-35deg) translateZ(34px);
  animation: auren-highlight-glide 6.6s ease-in-out infinite alternate;
}

.auren-command-body {
  position: absolute;
  z-index: 5;
  width: min(640px, calc(100% - 36px));
  max-height: calc(100% - 44px);
  overflow: auto;
  border: 1px solid rgba(185, 145, 54, 0.3);
  border-radius: 7px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 24px 80px rgba(36, 51, 45, 0.22);
  padding: 22px;
  pointer-events: auto;
  backdrop-filter: blur(22px);
}

.auren-command-body[hidden] {
  display: none;
}

.auren-mobile-panel.is-text-open .auren-presence {
  opacity: 0.18;
  transform: rotateX(-3deg) rotateY(5deg) translateZ(0) scale(0.92);
}

.auren-text-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.auren-text-heading h1 {
  margin: 0;
  font-size: 1.65rem;
}

@keyframes auren-plasma-drift {
  to { transform: rotate(360deg); }
}

@keyframes auren-plasma-pulse {
  0%, 100% { opacity: 0.62; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes auren-living-field {
  0%, 100% {
    box-shadow: 18px 27px 30px rgba(71, 52, 22, 0.08), 0 0 20px rgba(255, 224, 137, 0.48), 0 0 76px rgba(221, 164, 42, 0.25), 0 0 132px rgba(239, 201, 103, 0.13), inset 18px 16px 30px rgba(255, 255, 255, 0.24), inset -28px -34px 46px rgba(91, 55, 9, 0.08), inset 0 0 62px rgba(218, 155, 33, 0.1);
    filter: saturate(1.12) brightness(1);
  }
  50% {
    box-shadow: 21px 31px 34px rgba(71, 52, 22, 0.1), 0 0 30px rgba(255, 239, 181, 0.68), 0 0 104px rgba(232, 174, 48, 0.36), 0 0 174px rgba(247, 216, 125, 0.2), inset 13px 14px 36px rgba(255, 255, 255, 0.3), inset -25px -31px 54px rgba(91, 55, 9, 0.06), inset 0 0 78px rgba(241, 185, 48, 0.15);
    filter: saturate(1.34) brightness(1.05);
  }
}

@keyframes auren-membrane-flow {
  0% { opacity: 0.58; transform: rotate(-7deg) scale(0.96); border-radius: 48% 52% 46% 54% / 54% 45% 55% 46%; }
  52% { opacity: 0.92; transform: rotate(8deg) scale(1.03); border-radius: 54% 46% 52% 48% / 46% 58% 42% 54%; }
  100% { opacity: 0.68; transform: rotate(17deg) scale(0.98); border-radius: 45% 55% 56% 44% / 56% 42% 58% 44%; }
}

@keyframes auren-filament-one {
  0% { opacity: 0.42; transform: rotate(-18deg) scaleX(0.9) scaleY(0.78); }
  48% { opacity: 0.98; transform: rotate(11deg) scaleX(1.05) scaleY(1.1); }
  100% { opacity: 0.58; transform: rotate(31deg) scaleX(0.94) scaleY(0.86); }
}

@keyframes auren-filament-two {
  0% { transform: rotate(63deg) scaleX(0.84) scaleY(0.92); }
  50% { opacity: 0.92; transform: rotate(91deg) scaleX(1.08) scaleY(0.76); }
  100% { transform: rotate(121deg) scaleX(0.9) scaleY(1.02); }
}

@keyframes auren-filament-three {
  0% { transform: rotate(128deg) translate(-4%, 3%) scale(0.88); }
  50% { opacity: 0.86; transform: rotate(168deg) translate(5%, -3%) scale(1.08); }
  100% { transform: rotate(205deg) translate(-2%, 4%) scale(0.94); }
}

@keyframes auren-orbit-lilt {
  0% { opacity: 0.45; transform: rotateX(66deg) rotateZ(-18deg) translateZ(20px) scale(0.94); }
  50% { opacity: 0.92; transform: rotateX(73deg) rotateZ(8deg) translateZ(28px) scale(1.08); }
  100% { opacity: 0.58; transform: rotateX(63deg) rotateZ(28deg) translateZ(23px) scale(0.98); }
}

@keyframes auren-highlight-glide {
  0% { opacity: 0.32; transform: translate(-3%, -2%) rotate(-38deg) translateZ(34px) scale(0.82); }
  55% { opacity: 0.78; transform: translate(8%, 12%) rotate(-25deg) translateZ(38px) scale(1.08); }
  100% { opacity: 0.46; transform: translate(15%, 4%) rotate(-18deg) translateZ(34px) scale(0.92); }
}

@keyframes auren-surface-shimmer {
  0% { opacity: 0.42; transform: rotate(-18deg) scale(0.94); }
  48% { opacity: 0.96; transform: rotate(3deg) scale(1.04); }
  100% { opacity: 0.72; transform: rotate(21deg) scale(0.98); }
}

.auren-mobile-panel form,
.auren-mobile-panel label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.auren-mobile-panel label {
  font-weight: 750;
}

.auren-talk-button {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(143, 104, 29, 0.36);
  border-radius: 7px;
  background: #fffdf7;
  color: #533b0e;
  padding: 13px 16px;
  text-align: left;
  cursor: pointer;
}

.auren-talk-button:hover,
.auren-talk-button:focus-visible {
  border-color: #9b7429;
  box-shadow: 0 0 0 3px rgba(214, 178, 88, 0.2);
}

.auren-talk-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.auren-talk-button > span:last-child {
  display: grid;
  gap: 2px;
}

.auren-talk-button strong {
  font-size: 1rem;
}

.auren-talk-button small {
  color: #786545;
}

.auren-talk-icon {
  width: 22px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 14px;
  position: relative;
}

.auren-talk-icon::before {
  position: absolute;
  right: -7px;
  bottom: -7px;
  left: -7px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  content: "";
}

.auren-talk-button.is-listening {
  border-color: #9b7429;
  background: #fff7dc;
  box-shadow: 0 0 0 6px rgba(214, 178, 88, 0.14);
}

.auren-conversation-actions,
.auren-response-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.auren-type-toggle {
  min-height: 46px;
  border: 0;
  background: transparent;
  color: #0b5354;
  padding: 0 8px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auren-text-panel {
  margin-top: 14px;
}

.auren-text-panel[hidden] {
  display: none;
}

.auren-urgency {
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
  color: #58706c;
  font-size: 0.78rem;
}

.auren-mobile-panel textarea,
.founder-revision {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
  padding: 12px 14px;
}

.auren-mobile-actions,
.founder-mobile-actions,
.founder-approval-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.auren-mobile-actions select {
  min-height: 46px;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
}

.auren-response-actions:empty {
  display: none;
}

.voice-mode-button {
  min-height: 46px;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 7px;
  background: #fff;
  color: #345b56;
  padding: 0 13px;
  font-weight: 750;
  cursor: pointer;
}

.voice-mute-button {
  display: inline-grid;
  min-width: 46px;
  min-height: 46px;
  place-items: center;
  border: 1px solid #8c4966;
  border-radius: 7px;
  background: #fff;
  color: #8c4966;
  cursor: pointer;
}

.voice-mode-button[aria-pressed="true"] {
  border-color: #0b6867;
  background: #dcefeb;
  color: #0a4b4d;
}

.voice-pace {
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
  gap: 7px !important;
  color: #58706c;
  font-size: 0.76rem;
}

.voice-pace select {
  min-width: 104px;
}

.founder-voice-boundary {
  margin: 2px 0 0;
  color: #4b615d;
  font-size: 0.76rem;
}

.form-status.is-caption-muted:not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.auren-voice-settings {
  border-top: 1px solid rgba(21, 56, 58, 0.13);
  padding-top: 8px;
}

.auren-voice-settings summary {
  width: fit-content;
  color: #345b56;
  cursor: pointer;
  font-weight: 750;
}

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

.auren-voice-settings-grid label {
  align-content: start;
  color: #58706c;
  font-size: 0.78rem;
}

.auren-voice-settings-grid select {
  min-height: 44px;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 7px;
  background: #fff;
  padding: 0 9px;
}

@media (max-width: 620px) {
  .auren-voice-settings-grid { grid-template-columns: 1fr; }
}

.founder-mobile-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(21, 56, 58, 0.15);
}

.founder-section-heading h2,
.founder-mobile-section h2,
.founder-focus-card h2,
.founder-approval-card h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

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

.founder-ceo-card,
.founder-quick-card {
  min-width: 0;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  padding: 16px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.founder-ceo-card span,
.founder-ceo-card small {
  display: block;
  color: #58706c;
}

.founder-ceo-card strong {
  display: block;
  margin: 4px 0;
  color: #0b5354;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.founder-workspace-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  padding: 18px;
  text-decoration: none;
}

.founder-workspace-card > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.founder-workspace-card small {
  color: #58706c;
  line-height: 1.45;
}

.founder-workspace-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #dfeee8;
  color: #0b5354;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.founder-whole-life {
  border-bottom: 1px solid rgba(21, 56, 58, 0.15);
  padding-bottom: 28px;
}

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

.founder-check-in button {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: #fff;
  color: #49635f;
  cursor: pointer;
}

.founder-check-in span {
  color: #7c4b89;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.founder-focus-card,
.founder-approval-card {
  border-left: 4px solid #c1a35b;
  background: #fff;
  padding: 22px;
}

.founder-session-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.founder-session-facts span,
.founder-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 999px;
  background: #edf4f0;
  color: #345b56;
  padding: 3px 9px;
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: capitalize;
}

.founder-pill.is-ready,
.status-complete {
  background: #e3f3e8;
  color: #286442;
}

.founder-pill.is-alert,
.status-waiting_on_founder {
  background: #fff0dd;
  color: #7a4a23;
}

.status-waiting_on_dependency {
  background: #eee8f4;
  color: #654375;
}

.founder-prep-note,
.founder-operation-note {
  color: #58706c;
}

.founder-readiness-row,
.founder-mobile-list-row,
.founder-client-compact,
.founder-operation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  border-top: 1px solid rgba(21, 56, 58, 0.13);
  padding: 15px 0;
}

.founder-readiness-row:first-of-type,
.founder-mobile-list-row:first-of-type,
.founder-client-compact:first-of-type,
.founder-operation-card:first-of-type {
  margin-top: 8px;
}

.founder-readiness-row p,
.founder-mobile-list-row p,
.founder-client-compact p,
.founder-operation-card p {
  margin: 4px 0 0;
  color: #58706c;
}

.founder-operation-card > div {
  min-width: 0;
}

.founder-operation-card strong,
.founder-operation-card p {
  overflow-wrap: anywhere;
}

.founder-operation-card > .founder-pill {
  flex: 0 0 auto;
}

.founder-quick-card h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.founder-quick-card p {
  color: #58706c;
}

.founder-approval-card + .founder-approval-card {
  margin-top: 18px;
}

.founder-decision-block {
  border-top: 1px solid rgba(21, 56, 58, 0.13);
  padding: 12px 0 0;
}

.founder-decision-block p {
  margin: 4px 0 12px;
  color: #58706c;
}

.founder-revision {
  margin: 8px 0 12px;
}

.founder-empty-state,
.founder-host-state {
  background: #fff;
  padding: 22px;
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 7px;
}

.founder-host-state.is-offline {
  border-left: 4px solid #7c4b89;
}

.founder-host-state p,
.founder-empty-state p {
  margin: 5px 0 0;
  color: #58706c;
}

.founder-mobile-nav {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  border-top: 1px solid rgba(21, 56, 58, 0.18);
  background: rgba(250, 252, 249, 0.97);
  backdrop-filter: blur(18px);
}

.founder-mobile-nav button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 56px;
  place-items: center;
  gap: 1px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #627572;
  cursor: pointer;
  font-size: 0.67rem;
}

.founder-mobile-nav button > span {
  color: #345b56;
  font-size: 1.1rem;
}

.founder-mobile-nav button.is-active {
  background: #e5eee9;
  color: #113f42;
  font-weight: 800;
}

.founder-mobile-nav b {
  position: absolute;
  top: 3px;
  right: calc(50% - 19px);
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8c4966;
  color: #fff;
  font-size: 0.65rem;
  line-height: 18px;
}

.founder-section-heading > .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 9px;
}

.founder-vault-editor {
  margin-bottom: 22px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: #fff;
}

.founder-vault-editor > summary {
  min-height: 50px;
  padding: 14px 18px;
  color: #0b5354;
  cursor: pointer;
  font-weight: 800;
}

.founder-vault-form {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(21, 56, 58, 0.13);
  padding: 18px;
}

.founder-vault-form label,
.founder-vault-filter-grid label,
.portal-worksheet-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #345b56;
  font-weight: 750;
}

.founder-vault-form input,
.founder-vault-form select,
.founder-vault-form textarea,
.founder-vault-filter-grid input,
.founder-vault-filter-grid select,
.portal-worksheet-form input,
.portal-worksheet-form select,
.portal-worksheet-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(21, 56, 58, 0.22);
  border-radius: 6px;
  background: #fff;
  color: inherit;
  padding: 10px 12px;
  font: inherit;
}

.founder-vault-form textarea,
.portal-worksheet-form textarea {
  min-height: 104px;
  resize: vertical;
}

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

.founder-vault-tools {
  border-top: 0;
  padding-top: 0;
}

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

.founder-vault-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: #fff;
  padding: 18px;
}

.founder-vault-card h2 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
}

.founder-vault-card p {
  overflow-wrap: anywhere;
}

.founder-vault-card-actions,
.portal-worksheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.founder-vault-card-actions .button,
.founder-vault-card-actions button {
  min-height: 44px;
}

.founder-vault-preview {
  position: relative;
}

.founder-vault-preview > summary {
  list-style: none;
  cursor: pointer;
}

.founder-vault-preview > p,
.founder-vault-preview > ol {
  margin: 10px 0 0;
  color: #58706c;
}

.founder-vault-hold {
  flex-basis: 100%;
  margin: 3px 0 0;
  color: #775328;
  font-size: 0.82rem;
}

.portal-digital-worksheet {
  grid-column: 1 / -1;
  width: 100%;
  border-top: 1px solid rgba(21, 56, 58, 0.14);
  padding-top: 12px;
}

.portal-digital-worksheet > summary {
  min-height: 44px;
  color: #0b5354;
  cursor: pointer;
  font-weight: 800;
}

.portal-worksheet-form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.portal-worksheet-save-options {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(21, 56, 58, 0.14);
  padding-top: 16px;
}

.portal-worksheet-save-options h4,
.portal-worksheet-save-options p {
  margin: 0;
}

.portal-worksheet-save-options > p {
  max-width: 70ch;
  color: #526b67;
}

.portal-worksheet-option-note {
  color: #6f582f;
  font-size: 0.88rem;
}

.portal-worksheet-save-options button:disabled {
  border-color: rgba(21, 56, 58, 0.16);
  background: #edf2ef;
  color: #667975;
  cursor: default;
  opacity: 0.78;
}

.portal-worksheet-shelf {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  border-top: 1px solid rgba(21, 56, 58, 0.14);
  border-bottom: 1px solid rgba(21, 56, 58, 0.14);
  padding: 20px 0;
}

.portal-worksheet-shelf h3,
.portal-worksheet-shelf p,
.portal-coaching-worksheet-row h4,
.portal-coaching-worksheet-row p {
  margin: 0;
}

.portal-worksheet-shelf > div:first-child {
  display: grid;
  align-content: start;
  gap: 6px;
}

.portal-coaching-worksheet-list {
  display: grid;
  gap: 8px;
}

.portal-coaching-worksheet-list .portal-resource,
.portal-resource-empty,
.portal-ai-intake-consent {
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 6px;
  background: #fff;
  padding: 18px;
}

.portal-resource-empty,
.portal-ai-intake-consent {
  display: grid;
  gap: 14px;
}

.portal-resource-empty h4,
.portal-resource-empty p,
.portal-ai-intake-consent h3,
.portal-ai-intake-consent p {
  margin: 0;
}

.portal-ai-intake-consent > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.portal-coaching-worksheet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.portal-coaching-worksheet-row > div {
  display: grid;
  gap: 4px;
}

@media (min-width: 860px) {
  .founder-mobile-shell { padding-bottom: 0; padding-left: 90px; }
  .founder-mobile-nav {
    top: 68px;
    right: auto;
    width: 90px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, min-content);
    align-content: start;
    border-top: 0;
    border-right: 1px solid rgba(21, 56, 58, 0.18);
    padding: 14px 8px;
  }
  .founder-mobile-nav button { min-height: 64px; }
}

@media (max-width: 1100px) and (min-width: 621px) {
  .founder-home-workspace { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .authentication-action-grid { grid-template-columns: 1fr; }
  .founder-mobile-main { padding: 22px 14px 32px; }
  .founder-view-title { display: block; }
  .founder-view-title .eyebrow { margin-bottom: 8px; }
  .founder-view-title h1 { margin-bottom: 10px; font-size: 2.35rem; }
  .founder-mobile-state span:last-child { display: none; }
  .founder-home-canvas { min-height: calc(100vh - 148px); }
  .founder-home-workspace { inset: auto 10px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .founder-home-destination { min-height: 62px; padding: 10px 13px; }
  .auren-presence { width: 190px; height: 190px; transform: translateY(-74px) rotateX(-3deg) rotateY(5deg) translateZ(12px); }
  .auren-presence:hover,
  .auren-presence:focus-visible { transform: translateY(-74px) rotateX(-1deg) rotateY(-3deg) translateZ(18px) scale(1.02); }
  .auren-mobile-panel.is-text-open .auren-presence { transform: translateY(-74px) rotateX(-3deg) rotateY(5deg) scale(0.92); }
  .auren-command-body { width: calc(100% - 20px); max-height: calc(100% - 26px); padding: 17px; }
  .founder-ceo-grid,
  .founder-quick-grid { grid-template-columns: 1fr; }
  .founder-workspace-card { grid-template-columns: 48px minmax(0, 1fr); }
  .founder-workspace-card > .button { grid-column: 1 / -1; width: 100%; }
  .founder-readiness-row,
  .founder-client-compact,
  .founder-operation-card { align-items: flex-start; }
  .founder-mobile-actions .button,
  .founder-approval-actions .button { flex: 1 1 auto; }
  .founder-vault-form-grid,
  .founder-vault-filter-grid,
  .founder-vault-grid { grid-template-columns: 1fr; }
  .founder-brief-grid,
  .founder-task-form { grid-template-columns: 1fr; }
  .founder-task-form .button { width: 100%; }
  .founder-brief-list-item { align-items: flex-start; }
  .founder-brief-source-link { width: 100%; }
  .founder-brief-decision .button { width: 100%; }
  .founder-vault-card-actions .button,
  .founder-vault-card-actions button,
  .portal-worksheet-actions .button { width: 100%; }
  .founder-calendar-row { grid-template-columns: 1fr; }
  .founder-calendar-row .button,
  .founder-calendar-actions { width: 100%; }
  .founder-department-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .founder-department-actions,
  .founder-department-actions .button { width: 100%; }
  .founder-studio-empty .button { width: 100%; }
  .founder-studio-summary { grid-template-columns: 1fr; }
  .portal-worksheet-shelf,
  .portal-coaching-worksheet-row { grid-template-columns: 1fr; }
  .portal-coaching-worksheet-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .auren-presence,
  .auren-presence::before,
  .auren-presence::after,
  .auren-presence span { animation: none; }
}

@media (max-width: 980px) {
  .portal-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .session-handoff-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .portal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-tabs button { font-size: 0.82rem; }
  .session-handoff-layout { padding: 12px; }
  .session-handoff-card { padding: 20px; }
  .session-handoff-facts { grid-template-columns: 1fr; }
  .session-handoff-actions .button { width: 100%; }
}
.coach-professional-reference .portal-admin-row {
  display: block;
  min-width: 0;
}

.coach-professional-reference .portal-admin-row strong {
  display: block;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.coach-professional-reference .portal-admin-row p {
  margin: 0;
  overflow-wrap: anywhere;
}

.coach-workspace-section-nav {
  position: sticky;
  z-index: 12;
  top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 8px;
  padding: 8px;
  border: 1px solid rgba(21, 56, 58, 0.16);
  border-radius: 7px;
  background: rgba(250, 252, 249, 0.97);
  box-shadow: 0 8px 22px rgba(6, 37, 50, 0.08);
}

.coach-workspace-section-nav a {
  display: inline-flex;
  min-height: 44px;
  flex: 1 1 130px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #234d4c;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 750;
}

.coach-workspace-section-nav a:hover,
.coach-workspace-section-nav a:focus-visible {
  background: #e5eee9;
}

.coach-workspace-section-nav + section,
#coach-today,
#coach-session,
#coach-caseload,
#coach-client-record,
#coach-programs,
#coach-documentation,
#coach-resources,
#coach-communication,
#coach-operations,
#coach-audit {
  scroll-margin-top: 86px;
}

.coach-plan-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.coach-program-card,
.coach-resource-card {
  min-width: 0;
  border: 1px solid rgba(21, 56, 58, 0.14);
  border-radius: 7px;
  background: #fff;
  padding: 18px;
}

.coach-program-card h3,
.coach-resource-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.coach-resource-card .button,
.coach-resource-card .portal-state {
  margin-top: 14px;
}

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

.coach-program-stages {
  display: grid;
  gap: 2px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.coach-program-stages li {
  display: grid;
  min-height: 44px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(21, 56, 58, 0.1);
  padding: 8px 0;
}

.coach-program-stages li.is-current {
  color: #7c4b89;
  font-weight: 750;
}

.coach-program-stages li.is-complete small {
  color: #28745b;
}

.portal-document-summary {
  max-width: 72ch;
  white-space: pre-wrap;
}

.portal-document-amendment {
  margin-top: 14px;
  padding: 12px;
  border-left: 3px solid #7c4b89;
  background: #f7f2f8;
}

.portal-document-amendment p,
.portal-document-amendment time {
  margin: 4px 0 0;
}

@media (max-width: 760px) {
  .coach-workspace-section-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-workspace-section-nav a {
    min-width: 0;
  }

  .coach-program-grid,
  .coach-resource-grid {
    grid-template-columns: 1fr;
  }
}

/* Coach Workspace: dense professional record system. */
.coach-record-body {
  min-height: 100dvh;
  background: #edf2f4;
  color: #1c3038;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.coach-record-body > .site-header,
.coach-record-body > .site-footer {
  display: none;
}

.coach-record-body #main-content,
.coach-record-body .content-band,
.coach-record-body .portal-admin-shell {
  min-height: 100dvh;
  background: #edf2f4;
}

.coach-record-body .content-band {
  padding: 0;
}

.coach-record-body .portal-admin-shell > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.coach-record-body .portal-app-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 72px;
  align-items: center;
  border: 0;
  background: #0b3540;
  color: #fff;
  padding: 12px 24px;
}

.coach-record-body .portal-app-header h1 {
  margin: 1px 0 2px;
  color: #fff;
  font-family: inherit;
  font-size: 1.45rem;
  line-height: 1.15;
}

.coach-record-body .portal-app-header .eyebrow,
.coach-record-body .portal-app-header p,
.coach-record-body .portal-app-header p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.coach-record-body .portal-mode-notice {
  min-width: 250px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
}

.coach-record-body .portal-mode-notice strong,
.coach-record-body .portal-mode-notice span {
  color: #fff;
}

.coach-record-body .operations-nav {
  position: sticky;
  z-index: 35;
  top: 72px;
  min-height: 48px;
  align-items: center;
  gap: 2px;
  margin: 0;
  border-bottom: 1px solid #c9d4d8;
  background: #fff;
  padding: 0 20px;
}

.coach-record-body .operations-nav a {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #38535d;
  padding: 0 14px;
  font-size: 0.84rem;
}

.coach-record-body .operations-nav a[aria-current="page"] {
  border-bottom-color: #2a8d84;
  background: #e7f3f1;
  color: #0b3540;
}

.coach-record-shell {
  display: grid;
  min-width: 0;
  min-height: calc(100dvh - 120px);
  grid-template-columns: 238px minmax(0, 1fr);
}

.coach-record-rail {
  position: sticky;
  top: 120px;
  align-self: start;
  height: calc(100dvh - 120px);
  overflow-y: auto;
  border-right: 1px solid #c9d4d8;
  background: #f7f9fa;
  padding: 18px 12px;
}

.coach-record-rail-title {
  border-bottom: 1px solid #d5dfe2;
  padding: 0 8px 14px;
}

.coach-record-rail-title p,
.coach-record-rail-title strong {
  margin: 0;
}

.coach-record-rail-title strong {
  display: block;
  margin-top: 3px;
  color: #183943;
  font-size: 1rem;
}

.coach-record-body .coach-workspace-section-nav {
  position: static;
  display: grid;
  gap: 2px;
  margin: 12px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.coach-record-body .coach-workspace-section-nav a {
  min-height: 44px;
  justify-content: flex-start;
  border-left: 3px solid transparent;
  border-radius: 2px;
  color: #36515a;
  padding: 8px 12px;
  text-align: left;
  font-size: 0.84rem;
}

.coach-record-body .coach-workspace-section-nav a:hover,
.coach-record-body .coach-workspace-section-nav a:focus-visible {
  border-left-color: #2a8d84;
  background: #e4f0ef;
  color: #0b3540;
}

.coach-record-rail-clients {
  border-top: 1px solid #d5dfe2;
  padding: 16px 4px 0;
}

.coach-record-client-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 54px;
  border-radius: 3px;
  color: #1c3038;
  padding: 7px;
  text-decoration: none;
}

.coach-record-client-link:hover,
.coach-record-client-link:focus-visible {
  background: #e4f0ef;
}

.coach-record-client-link strong,
.coach-record-client-link small {
  display: block;
  min-width: 0;
}

.coach-record-client-link small {
  overflow: hidden;
  color: #60737a;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coach-record-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #d8ebe8;
  color: #0b504d;
  font-size: 0.75rem;
  font-weight: 800;
}

.coach-record-rail-note {
  margin: 14px 8px 0;
  color: #6c7e84;
  font-size: 0.74rem;
  line-height: 1.45;
}

.coach-record-content {
  min-width: 0;
  padding: 18px 24px 52px;
}

.coach-chart-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.35fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid #c7d3d7;
  border-radius: 4px;
  background: #fff;
  padding: 16px 18px;
}

.coach-chart-label {
  margin: 0 0 2px;
  color: #60737a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coach-chart-name-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.coach-chart-name-line h2 {
  margin: 0;
  color: #173640;
  font-family: inherit;
  font-size: 1.45rem;
}

.coach-chart-subtitle {
  margin: 4px 0 0;
  color: #5d737b;
  font-size: 0.84rem;
}

.coach-chart-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
}

.coach-chart-facts div {
  min-width: 0;
}

.coach-chart-facts dt {
  color: #60737a;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coach-chart-facts dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 650;
}

.coach-chart-actions {
  display: grid;
  gap: 6px;
  min-width: 132px;
}

.coach-chart-actions .button {
  min-height: 44px;
  border-radius: 3px;
  padding: 7px 10px;
  font-size: 0.76rem;
}

.coach-record-body .coach-record-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border: 1px solid #c7d3d7;
  border-radius: 4px;
  background: #fff;
}

.coach-record-body .coach-record-metrics > article {
  min-height: 76px;
  border: 0;
  border-right: 1px solid #d7e0e3;
  border-radius: 0;
  background: transparent;
  padding: 12px 16px;
}

.coach-record-body .coach-record-metrics > article:last-child {
  border-right: 0;
}

.coach-record-body .coach-record-metrics .portal-metric {
  display: block;
  margin-top: 1px;
  color: #173640;
  font-size: 1.55rem;
}

.coach-record-body .portal-admin-section {
  margin-top: 14px;
  border: 1px solid #c7d3d7;
  border-radius: 4px;
  background: #fff;
  padding: 16px 18px;
}

.coach-record-body .portal-admin-section > .eyebrow {
  margin-bottom: 2px;
}

.coach-record-body .portal-admin-section > h2 {
  margin: 0 0 12px;
  color: #173640;
  font-family: inherit;
  font-size: 1.05rem;
}

.coach-record-body .operations-grid {
  gap: 14px;
  margin: 0;
}

.coach-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d5dfe2;
}

.coach-record-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #263c44;
  font-size: 0.79rem;
}

.coach-record-table th {
  border-bottom: 1px solid #c7d3d7;
  background: #f2f6f7;
  color: #526a72;
  padding: 8px 10px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.coach-record-table td {
  border-bottom: 1px solid #e0e7e9;
  padding: 9px 10px;
  vertical-align: middle;
}

.coach-record-table tbody tr:last-child td {
  border-bottom: 0;
}

.coach-record-table tbody tr:hover {
  background: #f5faf9;
}

.coach-table-primary strong,
.coach-table-primary small,
.coach-table-client strong,
.coach-table-client small {
  display: block;
}

.coach-table-primary small,
.coach-table-client small {
  margin-top: 2px;
  color: #667a81;
  font-size: 0.72rem;
}

.coach-table-client {
  color: #155d60;
  text-decoration: none;
}

.coach-record-body .coach-client-record .operations-client-details {
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid #d5dfe2;
}

.coach-record-body .coach-client-record .operations-client-details dt,
.coach-record-body .coach-client-record .operations-client-details dd {
  margin: 0;
  border-bottom: 1px solid #e0e7e9;
  padding: 8px 10px;
}

.coach-record-body .coach-client-record .operations-client-details dt {
  background: #f4f7f8;
  color: #576e76;
  font-size: 0.72rem;
}

.coach-record-body .coach-client-record .operations-client-details dd {
  font-size: 0.8rem;
}

.coach-record-body .coach-program-card,
.coach-record-body .coach-resource-card,
.coach-record-body .portal-admin-row,
.coach-record-body .operations-client-card {
  border-radius: 3px;
}

.coach-record-body .portal-safety-note {
  margin: 18px 24px 0;
  padding-bottom: 24px;
  color: #4d6269;
  font-size: 0.76rem;
}

@media (max-width: 1100px) {
  .coach-chart-header {
    grid-template-columns: minmax(220px, 1fr) minmax(340px, 1.3fr);
  }
  .coach-chart-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .coach-record-body .portal-app-header,
  .coach-record-body .operations-nav,
  .coach-record-rail {
    position: static;
  }
  .coach-record-body .portal-app-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .coach-record-body .portal-mode-notice {
    min-width: 0;
  }
  .coach-record-body .operations-nav {
    display: grid;
    width: 100%;
    max-width: 100vw;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
  }
  .coach-record-body .operations-nav a {
    min-width: 0;
    justify-content: center;
    padding: 6px;
    text-align: center;
    font-size: 0.73rem;
    line-height: 1.2;
  }
  .coach-record-shell {
    width: 100%;
    max-width: 100vw;
    grid-template-columns: 1fr;
  }
  .coach-record-rail {
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #c9d4d8;
    padding: 12px 14px;
  }
  .coach-record-rail-title,
  .coach-record-rail-note {
    display: none;
  }
  .coach-record-body .coach-workspace-section-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    margin: 0 0 10px;
  }
  .coach-record-body .coach-workspace-section-nav a {
    justify-content: center;
    min-height: 44px;
    border: 1px solid #d4dee1;
    padding: 8px;
    text-align: center;
  }
  .coach-record-rail-clients {
    border-top: 0;
    padding: 0;
  }
  .coach-record-rail-clients .eyebrow {
    display: none;
  }
  .coach-record-client-link {
    max-width: 340px;
    border: 1px solid #d4dee1;
    background: #fff;
  }
  .coach-record-content {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    padding: 14px;
  }
  .coach-chart-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .coach-chart-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coach-record-body .coach-record-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coach-record-body .coach-record-metrics > article:nth-child(2) {
    border-right: 0;
  }
  .coach-record-body .coach-record-metrics > article:nth-child(-n + 2) {
    border-bottom: 1px solid #d7e0e3;
  }
  .coach-record-body .operations-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .coach-record-body .operations-grid > *,
  .coach-record-body .portal-admin-section,
  .coach-table-scroll {
    min-width: 0;
    max-width: 100%;
  }
  .coach-record-body .coach-client-record .operations-client-details {
    grid-template-columns: minmax(104px, 0.45fr) minmax(0, 1fr);
  }
}

.coach-panel-heading,
.coach-plan-document-row,
.coach-document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.coach-panel-heading { margin-bottom: 1rem; }
.coach-panel-heading h3,
.coach-plan-document-row strong,
.coach-document-row strong { margin: 0; }

.coach-plan-document-row,
.coach-document-row,
.coach-note-card {
  border-top: 1px solid rgba(28, 38, 56, 0.12);
  padding: 1rem 0;
}

.coach-plan-document-row small,
.coach-document-row small,
.coach-note-card small {
  display: block;
  margin-top: 0.25rem;
  color: #596273;
}

.coach-plan-document-controls,
.coach-resource-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.coach-document-link {
  color: #216f6d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.coach-icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(28, 38, 56, 0.2);
  background: #faf8f3;
  color: #1c2638;
  font-size: 1.25rem;
  cursor: pointer;
}

.coach-icon-button:hover,
.coach-icon-button:focus-visible { border-color: #3c9d9b; background: #e6f3f1; }

.coach-plan-form,
.coach-document-upload-form,
.coach-weekly-note-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.coach-plan-form label,
.coach-document-upload-form label,
.coach-weekly-note-form label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  font-weight: 700;
}

.coach-plan-form input,
.coach-plan-form textarea,
.coach-document-upload-form input,
.coach-document-upload-form select,
.coach-weekly-note-form input,
.coach-weekly-note-form textarea {
  width: 100%;
  min-height: 44px;
}

.coach-plan-meps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  border: 1px solid rgba(28, 38, 56, 0.14);
  padding: 1rem;
}

.coach-plan-meps legend { padding: 0 0.4rem; font-weight: 700; }
.coach-plan-meps .checkbox-row { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.coach-plan-meps input { width: 1.2rem; min-height: 1.2rem; }
.coach-form-note { margin: 0; color: #596273; font-weight: 500; }
.coach-subheading { margin: 1.5rem 0 0.5rem; }
.coach-private-check-in { border-top: 3px solid #54227b; }
.coach-note-card p { margin: 0.45rem 0; }
.companion-note-card { border-left: 3px solid #d0ad55; padding-left: 1rem; }

.coach-document-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.coach-document-template-card {
  border: 1px solid rgba(28, 38, 56, 0.13);
  background: #fff;
  padding: 1.15rem;
}

.coach-document-template-card h3 { font-size: 1.08rem; }

@media (max-width: 760px) {
  .coach-plan-form,
  .coach-document-upload-form,
  .coach-weekly-note-form,
  .coach-document-template-grid,
  .coach-plan-meps { grid-template-columns: 1fr; }

  .coach-panel-heading,
  .coach-plan-document-row,
  .coach-document-row { align-items: flex-start; flex-direction: column; }

  .coach-plan-document-controls,
  .coach-resource-actions { width: 100%; }
}

@media (max-width: 520px) {
  .coach-record-body .portal-app-header h1 {
    font-size: 1.25rem;
  }
  .coach-record-content {
    padding: 10px;
  }
  .coach-chart-header,
  .coach-record-body .portal-admin-section {
    padding: 13px;
  }
  .coach-chart-facts,
  .coach-chart-actions {
    grid-template-columns: 1fr;
  }
  .coach-record-body .coach-record-metrics > article {
    min-height: 68px;
    padding: 10px 12px;
  }
}

/* Coach Workspace application views. */
.coach-application-shell {
  min-height: calc(100dvh - 120px);
}

.coach-record-body .coach-workspace-section-nav button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #36515a;
  padding: 9px 12px;
  text-align: left;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.coach-record-body .coach-workspace-section-nav button:hover,
.coach-record-body .coach-workspace-section-nav button:focus-visible,
.coach-record-body .coach-workspace-section-nav button[aria-current="page"] {
  border-left-color: #2a8d84;
  background: #e4f0ef;
  color: #0b3540;
}

.coach-record-rail-account {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid #d5dfe2;
  padding: 16px 8px 4px;
}

.coach-record-rail-account strong,
.coach-record-rail-account small {
  display: block;
}

.coach-record-rail-account small {
  color: #60737a;
}

.coach-workspace-return {
  display: flex;
  min-height: 44px;
  align-items: center;
  margin: 10px 5px 0;
  border-top: 1px solid #d5dfe2;
  color: #155d60;
  padding: 10px 6px 0;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.coach-application-content {
  max-width: 1500px;
  outline: none;
}

.coach-app-view {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.coach-view-heading {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #c7d3d7;
  padding: 4px 0 14px;
}

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

.coach-view-heading h2 {
  color: #173640;
  font-family: inherit;
  font-size: 1.55rem;
}

.coach-view-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 4px;
  color: #5a7078;
  font-size: 0.88rem;
}

.coach-next-session {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 5px solid #c49a3a;
  background: #fff;
  box-shadow: 0 3px 14px rgba(19, 54, 64, 0.08);
  padding: 20px 22px;
}

.coach-next-session h3,
.coach-next-session p {
  margin: 0;
}

.coach-next-session h3 {
  color: #153842;
  font-size: 1.3rem;
}

.coach-next-session-focus {
  margin-top: 6px !important;
  color: #5c6f76;
}

.coach-primary-action {
  flex: 0 0 auto;
  min-height: 46px;
}

.coach-home-grid,
.coach-record-summary-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.coach-work-panel,
.coach-intake-panel {
  min-width: 0;
  border: 1px solid #c7d3d7;
  background: #fff;
  padding: 18px;
}

.coach-work-panel h3,
.coach-intake-panel h3,
.coach-intake-panel p {
  margin-top: 0;
}

.coach-app-view h2,
.coach-app-view h3,
.coach-app-view h4 {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.coach-home-grid .coach-record-table {
  min-width: 440px;
}

.coach-task-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e0e7e9;
  padding: 9px 0;
}

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

.coach-task-row strong,
.coach-task-row small {
  display: block;
}

.coach-task-row small {
  margin-top: 3px;
  color: #62767d;
}

.coach-icon-action,
.coach-table-action,
.coach-client-name {
  min-height: 44px;
  border: 1px solid #adc2c7;
  border-radius: 3px;
  background: #fff;
  color: #155d60;
  padding: 7px 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.coach-client-name {
  border: 0;
  background: transparent;
  padding: 6px 0;
  text-align: left;
}

.coach-client-search,
.coach-library-controls input,
.coach-library-controls select,
.coach-resource-actions select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #aebfc4;
  border-radius: 3px;
  background: #fff;
  padding: 9px 12px;
  color: #1c3038;
  font: inherit;
}

.coach-resource-actions select {
  flex: 1 1 180px;
}

.coach-client-program-assignment {
  margin-top: 16px;
}

.coach-client-program-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.coach-client-program-form label {
  display: grid;
  gap: 7px;
  color: #334d55;
  font-size: 0.82rem;
  font-weight: 700;
}

.coach-client-program-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #aebfc4;
  border-radius: 3px;
  background: #fff;
  padding: 9px 12px;
  color: #1c3038;
  font: inherit;
}

.coach-program-training {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #c7d3d7;
}

.coach-program-training h3 {
  margin: 0;
}

.coach-client-search {
  max-width: 480px;
}

.coach-client-directory {
  min-width: 0;
}

.coach-intake-panel[hidden] {
  display: none;
}

.coach-intake-heading {
  margin-bottom: 14px;
}

.coach-intake-form,
.coach-session-note-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.coach-intake-form label,
.coach-session-note-form label {
  display: grid;
  gap: 6px;
  color: #314a53;
  font-size: 0.82rem;
  font-weight: 750;
}

.coach-intake-form input,
.coach-intake-form textarea,
.coach-session-note-form input,
.coach-session-note-form textarea,
.coach-message-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aebfc4;
  border-radius: 3px;
  background: #fff;
  padding: 10px 11px;
  color: #1c3038;
  font: inherit;
}

.coach-form-wide {
  grid-column: 1 / -1;
}

.coach-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.coach-client-record-tabs {
  display: flex;
  max-width: 100%;
  gap: 2px;
  overflow-x: auto;
  border-bottom: 1px solid #bdcdd1;
  background: #fff;
}

.coach-client-record-tabs button {
  flex: 0 0 auto;
  min-height: 46px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #46616a;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.coach-client-record-tabs button[aria-current="true"] {
  border-bottom-color: #2a8d84;
  background: #eef6f5;
  color: #0b3540;
}

.coach-client-record-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.coach-client-record-panel .operations-client-details {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  margin: 0;
}

.coach-client-record-panel .operations-client-details dt,
.coach-client-record-panel .operations-client-details dd {
  margin: 0;
  border-bottom: 1px solid #e0e7e9;
  padding: 9px 10px;
}

.coach-client-record-panel .operations-client-details dt {
  background: #f3f6f7;
  color: #516970;
  font-size: 0.74rem;
  font-weight: 750;
}

.coach-client-record-panel .operations-client-details dd {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.coach-program-detail {
  color: #61757c;
  font-size: 0.8rem;
}

.coach-library-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.55fr);
  gap: 12px;
}

.coach-message-layout {
  display: grid;
  min-height: 520px;
  grid-template-columns: 230px minmax(0, 1fr);
  border: 1px solid #c7d3d7;
  background: #fff;
}

.coach-message-clients {
  display: grid;
  align-content: start;
  border-right: 1px solid #d7e0e3;
  background: #f5f8f9;
  padding: 10px;
}

.coach-message-clients button {
  min-height: 46px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: #2e4c55;
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.coach-message-clients button[aria-current="page"] {
  border-left-color: #c49a3a;
  background: #fff;
  color: #0b3540;
}

.coach-message-thread {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
}

.coach-message-thread h3 {
  margin-top: 0;
}

.coach-message-list {
  min-height: 240px;
  overflow-y: auto;
  padding: 8px 0;
}

.coach-message {
  max-width: 75%;
  margin: 0 0 10px;
  border-left: 3px solid #2a8d84;
  background: #eef6f5;
  padding: 10px 12px;
}

.coach-message p {
  margin: 4px 0 0;
}

.coach-message-form {
  display: grid;
  gap: 9px;
}

.coach-message-form .button {
  justify-self: end;
}

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

.coach-dap-field,
.coach-billing-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.coach-dap-field small {
  min-height: 34px;
  color: #62767d;
  font-weight: 500;
}

.coach-billing-boundary {
  border-left: 4px solid #c49a3a;
  background: #fff9e9;
  padding: 14px 16px;
}

.coach-billing-boundary p {
  margin: 5px 0 0;
  color: #4e6269;
}

.coach-billing-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  border: 1px solid #c7d3d7;
  background: #fff;
}

.coach-billing-queue {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid #d7e0e3;
  background: #f5f8f9;
  padding: 14px 10px;
}

.coach-billing-queue h3 {
  margin: 0 6px 8px;
  font-size: 0.95rem;
}

.coach-billing-task {
  display: grid;
  min-height: 52px;
  gap: 3px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: #2e4c55;
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.coach-billing-task[aria-current="page"] {
  border-left-color: #c49a3a;
  background: #fff;
}

.coach-billing-task span {
  color: #61757c;
  font-size: 0.76rem;
}

.coach-billing-detail {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.coach-billing-detail > h3,
.coach-billing-result h4,
.coach-billing-option h4 {
  margin: 0;
}

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

.coach-billing-option,
.coach-billing-result {
  min-width: 0;
  border: 1px solid #c7d3d7;
  background: #fbfcfc;
  padding: 16px;
}

.coach-billing-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aebfc4;
  border-radius: 3px;
  background: #fff;
  padding: 9px 10px;
  color: #1c3038;
  font: inherit;
}

.coach-billing-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aebfc4;
  border-radius: 3px;
  background: #fff;
  padding: 9px 10px;
  color: #1c3038;
  font: inherit;
}

.coach-billing-inline-check,
.coach-sdmi-toggle {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  color: #243f48;
  font-weight: 800;
}

.coach-billing-inline-check input,
.coach-sdmi-toggle input,
.coach-sdmi-checklist input,
.coach-billing-confirmations input,
.coach-billing-confirm input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
}

.coach-sdmi-toggle {
  margin: 2px 0;
  border: 1px solid #c49a3a;
  background: #fff9e9;
  padding: 10px 12px;
}

.coach-sdmi-panel,
.coach-payment-plan-fields {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  border: 1px solid #c49a3a;
  background: #fffdf6;
  padding: 14px;
}

.coach-sdmi-panel[hidden],
.coach-payment-plan-fields[hidden],
.coach-billing-form[hidden],
.coach-billing-confirmations[hidden] {
  display: none;
}

.coach-sdmi-panel h5,
.coach-billing-result h5 {
  margin: 0;
  font-size: 0.96rem;
}

.coach-sdmi-panel > p,
.coach-billing-note {
  margin: 0;
  color: #536a72;
  font-size: 0.8rem;
  line-height: 1.5;
}

.coach-sdmi-evidence-grid,
.coach-payment-plan-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coach-payment-schedule {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 22px;
  color: #314a53;
}

.coach-billing-form > .button,
.coach-billing-confirmations {
  grid-column: 1 / -1;
}

.coach-billing-confirmations {
  display: grid;
  gap: 10px;
  border: 1px solid #c7d3d7;
  padding: 12px;
}

.coach-billing-confirmations label,
.coach-billing-confirm {
  color: #314a53;
  font-size: 0.82rem;
  line-height: 1.45;
}

.coach-billing-confirm {
  display: block;
  margin: 14px 0;
}

@media (max-width: 860px) {
  .coach-record-body .coach-workspace-section-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .coach-record-body .coach-workspace-section-nav button {
    justify-content: center;
    min-height: 48px;
    border: 1px solid #d4dee1;
    border-left-width: 1px;
    padding: 8px;
    text-align: center;
  }

  .coach-record-body .coach-workspace-section-nav button[aria-current="page"] {
    border-bottom: 3px solid #2a8d84;
  }

  .coach-record-rail-account {
    display: none;
  }

  .coach-home-grid,
  .coach-record-summary-grid {
    grid-template-columns: 1fr;
  }

  .coach-next-session,
  .coach-view-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .coach-next-session .button,
  .coach-view-heading .button {
    width: 100%;
  }

  .coach-library-controls,
  .coach-client-program-form,
  .coach-message-layout,
  .coach-billing-layout,
  .coach-billing-choices,
  .coach-sdmi-evidence-grid,
  .coach-payment-plan-fields {
    grid-template-columns: 1fr;
  }

  .coach-message-layout {
    min-height: 0;
  }

  .coach-message-clients {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #d7e0e3;
  }

  .coach-billing-queue {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #d7e0e3;
  }

  .coach-billing-queue h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .coach-billing-task {
    flex: 0 0 220px;
  }
}

@media (max-width: 520px) {
  .coach-dap-grid,
  .coach-billing-form {
    grid-template-columns: 1fr;
  }

  .coach-dap-field small {
    min-height: 0;
  }
  .coach-schedule-table {
    overflow: visible;
    border: 0;
  }

  .coach-schedule-table .coach-record-table {
    min-width: 0;
  }

  .coach-schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .coach-schedule-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    border: 1px solid #d5dfe2;
    padding: 12px;
  }

  .coach-schedule-table td {
    border: 0;
    padding: 0;
  }

  .coach-schedule-table td:first-child {
    grid-column: 1 / -1;
    color: #263c44;
    font-weight: 750;
  }

  .coach-schedule-table td:nth-child(2),
  .coach-schedule-table td:nth-child(3) {
    grid-column: 1;
  }

  .coach-schedule-table td:last-child {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
  }

  .coach-schedule-table .coach-table-action {
    min-width: 64px;
  }

  .coach-intake-form,
  .coach-session-note-form {
    grid-template-columns: 1fr;
  }

  .coach-form-wide {
    grid-column: auto;
  }

  .coach-next-session,
  .coach-work-panel,
  .coach-intake-panel,
  .coach-message-thread {
    padding: 14px;
  }

  .coach-record-body .coach-record-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-client-record-tabs button {
    min-height: 48px;
  }
}

/* Trias Coaching workspace palette: quiet, warm, and professionally focused. */
.coach-record-body {
  --coach-ink: #1c2638;
  --coach-ink-soft: #27354b;
  --coach-teal: #3c9d9b;
  --coach-teal-deep: #176b6d;
  --coach-teal-pale: #e6f3f1;
  --coach-ivory: #faf8f3;
  --coach-panel: #fffdf8;
  --coach-line: #d8d5cc;
  --coach-sage: #a8b9a6;
  --coach-sage-pale: #edf3ec;
  --coach-purple: #54227b;
  --coach-gold: #c79c47;
  --coach-gold-pale: #fff6df;
  background: var(--coach-ivory);
  color: #273440;
}

.coach-record-body #main-content,
.coach-record-body .content-band,
.coach-record-body .portal-admin-shell {
  background: var(--coach-ivory);
}

.coach-record-body .portal-app-header {
  background: var(--coach-ink);
}

.coach-record-body .portal-app-header [data-operations-status]:empty {
  display: none;
}

.coach-record-body .portal-app-header .coach-header-motto {
  justify-self: end;
  max-width: 30rem;
  color: #e8d6af;
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.5;
}

.coach-record-body .coach-rail-quote {
  margin: 12px 0 0;
  border: 0;
  padding: 0;
  color: #e8d6af;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
}

.coach-record-body .operations-nav {
  border-bottom-color: var(--coach-line);
  background: var(--coach-panel);
}

.coach-record-body .operations-nav a {
  color: #405762;
}

.coach-record-body .operations-nav a[aria-current="page"] {
  border-bottom-color: var(--coach-teal);
  background: var(--coach-teal-pale);
  color: var(--coach-ink);
}

.coach-record-body .coach-record-rail {
  display: flex;
  flex-direction: column;
  border-right-color: rgba(255, 255, 255, 0.08);
  background: var(--coach-ink);
  box-shadow: 8px 0 26px rgba(28, 38, 56, 0.08);
}

.coach-record-body .coach-record-rail-title,
.coach-record-body .coach-record-rail-account,
.coach-record-body .coach-workspace-return {
  border-color: rgba(255, 255, 255, 0.13);
}

.coach-record-body .coach-record-rail-title .eyebrow,
.coach-record-body .coach-record-rail-account small {
  color: rgba(230, 243, 241, 0.7);
}

.coach-record-body .coach-record-rail-title strong,
.coach-record-body .coach-record-rail-account strong {
  color: var(--coach-ivory);
}

.coach-record-body .coach-workspace-section-nav button {
  color: rgba(255, 253, 248, 0.82);
}

.coach-record-body .coach-workspace-section-nav button:hover,
.coach-record-body .coach-workspace-section-nav button:focus-visible,
.coach-record-body .coach-workspace-section-nav button[aria-current="page"] {
  border-left-color: var(--coach-teal);
  background: rgba(60, 157, 155, 0.18);
  color: #fffdf8;
}

.coach-record-body .coach-record-avatar {
  background: var(--coach-teal);
  box-shadow: 0 0 0 2px rgba(84, 34, 123, 0.62);
  color: var(--coach-ink);
}

.coach-record-body .coach-workspace-return {
  color: #dfcbed;
}

.coach-record-body .coach-workspace-return:hover,
.coach-record-body .coach-workspace-return:focus-visible {
  color: #fffdf8;
}

.coach-record-body .coach-record-content {
  background: var(--coach-ivory);
}

.coach-record-body .coach-view-heading {
  border-bottom-color: var(--coach-line);
}

.coach-record-body .coach-view-heading h2,
.coach-record-body .coach-next-session h3,
.coach-record-body .coach-work-panel h3,
.coach-record-body .coach-intake-panel h3 {
  color: var(--coach-ink);
}

.coach-record-body .coach-view-heading .eyebrow,
.coach-record-body .portal-admin-section > .eyebrow,
.coach-record-body .coach-next-session .eyebrow {
  color: var(--coach-teal-deep);
}

.coach-record-body .coach-next-session {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--coach-line);
  border-left: 5px solid var(--coach-gold);
  background: var(--coach-panel);
  box-shadow: 0 8px 24px rgba(28, 38, 56, 0.08);
}

.coach-record-body .coach-next-session::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(42%, 470px);
  height: 100%;
  background-image: url("/brand/trias-hero.webp");
  background-position: center 58%;
  background-size: cover;
  content: "";
  filter: saturate(0.7);
  opacity: 0.13;
  pointer-events: none;
}

.coach-record-body .coach-next-session > * {
  position: relative;
  z-index: 1;
}

.coach-record-body .coach-work-panel,
.coach-record-body .coach-intake-panel,
.coach-record-body .coach-program-card,
.coach-record-body .coach-resource-card,
.coach-record-body .coach-message-layout,
.coach-record-body .coach-billing-layout,
.coach-record-body .coach-billing-option,
.coach-record-body .coach-billing-result,
.coach-record-body .coach-record-metrics,
.coach-record-body .portal-admin-section {
  border-color: var(--coach-line);
  background: var(--coach-panel);
}

.coach-record-body .coach-record-metrics > article,
.coach-record-body .coach-task-row,
.coach-record-body .coach-client-record-tabs,
.coach-record-body .coach-table-scroll,
.coach-record-body .coach-program-training,
.coach-record-body .coach-client-record-panel .operations-client-details dt,
.coach-record-body .coach-client-record-panel .operations-client-details dd {
  border-color: var(--coach-line);
}

.coach-record-body .coach-record-metrics > article:nth-child(2) {
  background: rgba(230, 243, 241, 0.32);
}

.coach-record-body .coach-record-metrics > article:nth-child(3) {
  background: rgba(255, 246, 223, 0.42);
}

.coach-record-body .coach-record-metrics > article:nth-child(4) {
  background: rgba(237, 243, 236, 0.58);
}

.coach-record-body .coach-record-table th,
.coach-record-body .coach-client-record-panel .operations-client-details dt {
  background: var(--coach-teal-pale);
  color: #40555d;
}

.coach-record-body .coach-record-table tbody tr:hover {
  background: #f2f7f4;
}

.coach-record-body .coach-client-record-tabs {
  background: var(--coach-panel);
}

.coach-record-body .coach-client-record-tabs button[aria-current="true"] {
  border-bottom-color: var(--coach-teal);
  background: var(--coach-teal-pale);
  color: var(--coach-ink);
}

.coach-record-body .coach-client-search,
.coach-record-body .coach-library-controls input,
.coach-record-body .coach-library-controls select,
.coach-record-body .coach-resource-actions select,
.coach-record-body .coach-client-program-form select,
.coach-record-body .coach-intake-form input,
.coach-record-body .coach-intake-form textarea,
.coach-record-body .coach-session-note-form input,
.coach-record-body .coach-session-note-form textarea,
.coach-record-body .coach-message-form textarea,
.coach-record-body .coach-billing-form input,
.coach-record-body .coach-billing-form select {
  border-color: #bab8b1;
  background: #fffefa;
}

.coach-record-body .button.primary {
  border-color: var(--coach-teal);
  background: var(--coach-teal);
  color: var(--coach-ink);
}

.coach-record-body .button.secondary,
.coach-record-body .coach-icon-action,
.coach-record-body .coach-table-action {
  border-color: var(--coach-teal);
  background: var(--coach-panel);
  color: var(--coach-teal-deep);
}

.coach-record-body .portal-state-current {
  border-color: var(--coach-teal);
  background: var(--coach-teal-pale);
  color: #155e60;
}

.coach-record-body .portal-state-synthetic_complete,
.coach-record-body .coach-shift-criteria li.is-complete span {
  border-color: var(--coach-sage);
  background: var(--coach-sage-pale);
  color: #3e5f49;
}

.coach-record-body .portal-state-preview,
.coach-record-body .portal-state-blocked {
  border-color: var(--coach-gold);
  background: var(--coach-gold-pale);
  color: #664b1f;
}

.coach-record-body .portal-state-preview::before,
.coach-record-body .portal-state-blocked::before {
  margin-right: 5px;
  color: var(--coach-purple);
  content: "◆";
}

.coach-record-body .coach-shift-criteria li.is-complete span::before {
  margin-right: 4px;
  content: "✓";
}

.coach-record-body .coach-billing-boundary,
.coach-record-body .coach-sdmi-toggle,
.coach-record-body .coach-sdmi-panel,
.coach-record-body .coach-payment-plan-fields {
  border-color: var(--coach-gold);
  background: var(--coach-gold-pale);
}

@media (max-width: 860px) {
  .coach-record-body .coach-record-rail {
    border-bottom-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 8px 22px rgba(28, 38, 56, 0.1);
  }

  .coach-record-body .coach-workspace-section-nav button {
    border-color: rgba(255, 255, 255, 0.15);
  }

  .coach-record-body .coach-workspace-section-nav button[aria-current="page"] {
    border-bottom-color: var(--coach-teal);
  }

  .coach-record-body .coach-next-session::after {
    width: 100%;
    opacity: 0.08;
  }
}

/* Shared Trias workspace family: warm, private, and purpose-specific. */
.client-portal-body {
  --workspace-ink: #1c2638;
  --workspace-teal: #3c9d9b;
  --workspace-teal-deep: #176b6d;
  --workspace-teal-pale: #e6f3f1;
  --workspace-ivory: #faf8f3;
  --workspace-panel: #fffdf8;
  --workspace-line: #d8d5cc;
  --workspace-sage: #a8b9a6;
  --workspace-sage-pale: #edf3ec;
  --workspace-gold: #c79c47;
  --workspace-gold-pale: #fff6df;
  min-height: 100dvh;
  background: var(--workspace-ivory);
  color: #273440;
}

.client-portal-body > .site-header,
.client-portal-body > .site-footer {
  display: none;
}

.client-portal-body #main-content,
.client-portal-body .content-band,
.client-portal-body .portal-app-shell {
  min-height: 100dvh;
  background: var(--workspace-ivory);
}

.client-portal-body .portal-app-shell {
  padding: 0 0 64px;
}

.client-portal-body .portal-app-shell > .container {
  width: min(100%, 1260px);
  padding: 0 clamp(16px, 4vw, 40px);
}

.client-portal-body .portal-app-header {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  align-items: center;
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
  overflow: hidden;
  border: 0;
  background: var(--workspace-ink);
  color: var(--workspace-panel);
  padding: 32px clamp(16px, 4vw, 40px);
}

.client-portal-body .portal-app-header::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 55%;
  background: linear-gradient(90deg, var(--workspace-ink), rgba(28, 38, 56, 0.35)), url("/brand/trias-hero.webp") center 58% / cover no-repeat;
  content: "";
  opacity: 0.35;
}

.client-portal-body .portal-app-header .eyebrow {
  color: #9fd8d4;
}

.client-portal-body .portal-app-header h1,
.client-portal-body .portal-app-header p:last-child {
  color: var(--workspace-panel);
}

.client-portal-body .portal-app-header h1 {
  margin: 4px 0 8px;
  font-size: 2.5rem;
}

.client-portal-body .portal-app-header .button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
  color: #fffdf8;
}

.client-portal-body .portal-tabs {
  position: sticky;
  z-index: 15;
  top: 0;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px)) 30px;
  border-color: var(--workspace-line);
  background: rgba(250, 248, 243, 0.95);
  padding: 12px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(14px);
}

.client-portal-body .portal-tabs button {
  min-height: 48px;
  border-color: transparent;
  background: transparent;
  color: #536168;
}

.client-portal-body .portal-tabs button:hover,
.client-portal-body .portal-tabs button:focus-visible,
.client-portal-body .portal-tabs button[aria-selected="true"] {
  border-color: var(--workspace-teal);
  background: var(--workspace-teal-pale);
  box-shadow: inset 0 -3px 0 var(--workspace-teal);
  color: var(--workspace-ink);
}

.client-portal-body .portal-summary-grid > article,
.client-portal-body .portal-status-item,
.client-portal-body .portal-document-item,
.client-portal-body .portal-goal,
.client-portal-body .portal-action-slot,
.client-portal-body .portal-journal-form,
.client-portal-body .portal-account-grid > article {
  border-color: var(--workspace-line);
  background: var(--workspace-panel);
  box-shadow: 0 8px 22px rgba(28, 38, 56, 0.055);
}

.client-portal-body .portal-section,
.client-portal-body .portal-worksheet-shelf {
  border-color: var(--workspace-line);
  background: transparent;
  box-shadow: none;
}

.client-portal-body .portal-summary-grid .portal-primary-summary {
  border-color: var(--workspace-ink);
  background: var(--workspace-ink);
}

.client-portal-body .portal-primary-summary .eyebrow,
.client-portal-body .portal-primary-summary p {
  color: #a9d9d4;
}

.client-portal-body .eyebrow {
  color: var(--workspace-teal-deep);
}

.client-portal-body .button.primary {
  border-color: var(--workspace-teal);
  background: var(--workspace-teal);
  color: var(--workspace-ink);
}

.client-portal-body .button.secondary,
.client-portal-body .portal-shortcut,
.client-portal-body .text-link {
  color: var(--workspace-teal-deep);
}

.client-portal-body .portal-state-ready,
.client-portal-body .portal-state-current {
  border-color: var(--workspace-teal);
  background: var(--workspace-teal-pale);
  color: #155e60;
}

.client-portal-body .portal-state-complete,
.client-portal-body .portal-state-completed,
.client-portal-body .portal-state-synthetic_complete,
.client-portal-body .portal-state-available {
  border-color: var(--workspace-sage);
  background: var(--workspace-sage-pale);
  color: #3e5f49;
}

.client-portal-body .portal-state-blocked,
.client-portal-body .portal-state-not_required {
  border-color: var(--workspace-gold);
  background: var(--workspace-gold-pale);
  color: #664b1f;
}

.client-portal-body input,
.client-portal-body select,
.client-portal-body textarea {
  border-color: #bab8b1;
  background: #fffefa;
}

.onboarding-document-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  border: 1px solid #d8d5cc;
  border-radius: 7px;
  background: #faf8f3;
  color: #273440;
  padding: 0;
  box-shadow: 0 24px 80px rgba(28, 38, 56, 0.28);
}

.onboarding-document-dialog::backdrop {
  background: rgba(28, 38, 56, 0.7);
  backdrop-filter: blur(5px);
}

.onboarding-document-form {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 5vw, 42px);
}

.onboarding-document-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  border-bottom: 1px solid #d8d5cc;
  padding-bottom: 20px;
}

.onboarding-document-heading h2 {
  margin: 4px 0 8px;
  color: #1c2638;
  font-size: 1.9rem;
}

.onboarding-document-heading p,
.onboarding-document-heading small {
  display: block;
  max-width: 700px;
  color: #536168;
}

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

.onboarding-original-document {
  display: grid;
  gap: 14px;
}

.onboarding-original-document > a {
  justify-self: start;
}

.onboarding-original-document iframe {
  width: 100%;
  height: min(520px, 60dvh);
  border: 1px solid #d8d5cc;
  border-radius: 4px;
  background: #fffdf8;
}

.onboarding-form-grid > label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.onboarding-form-grid input,
.onboarding-form-grid select,
.onboarding-form-grid textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bab8b1;
  border-radius: 5px;
  background: #fffefa;
  color: #273440;
  padding: 10px 12px;
  font: inherit;
}

.onboarding-form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.onboarding-form-wide,
.onboarding-check-row {
  grid-column: 1 / -1;
}

.onboarding-check-row {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start;
  gap: 10px !important;
  padding: 14px;
  border: 1px solid #d8d5cc;
  border-radius: 5px;
  background: #fffdf8;
}

.onboarding-check-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

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

.onboarding-document-actions {
  justify-content: flex-end;
  border-top: 1px solid #d8d5cc;
  padding-top: 20px;
}

/* Founder Workspace uses the same materials with a more restrained command-center tone. */
.founder-mobile-body {
  --founder-ink: #1c2638;
  --founder-teal: #3c9d9b;
  --founder-teal-pale: #e6f3f1;
  --founder-ivory: #faf8f3;
  --founder-panel: #fffdf8;
  --founder-line: #d8d5cc;
  --founder-purple: #54227b;
  --founder-gold: #c79c47;
  background: var(--founder-ivory);
  color: var(--founder-ink);
}

.founder-mobile-body .founder-mobile-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(28, 38, 56, 0.97);
  color: #fffdf8;
}

.founder-mobile-body .founder-mobile-brand,
.founder-mobile-body .founder-signout {
  color: #fffdf8;
}

.founder-mobile-body .founder-mobile-brand img {
  filter: drop-shadow(0 0 8px rgba(199, 156, 71, 0.22));
}

.founder-mobile-body .founder-mobile-state {
  color: rgba(255, 253, 248, 0.72);
}

.founder-mobile-body .founder-signout:hover,
.founder-mobile-body .founder-signout:focus-visible {
  background: rgba(60, 157, 155, 0.2);
  outline-color: var(--founder-teal);
}

.founder-mobile-body .founder-mobile-main {
  width: min(100%, 1180px);
}

.founder-mobile-body .founder-home-canvas {
  border-color: var(--founder-line);
  background: var(--founder-ivory);
  box-shadow: 0 16px 44px rgba(28, 38, 56, 0.08);
}

.founder-mobile-body .founder-home-canvas::before {
  position: absolute;
  inset: 0;
  background: url("/brand/trias-hero.webp") center 55% / cover no-repeat;
  content: "";
  filter: saturate(0.55);
  opacity: 0.09;
  pointer-events: none;
}

.founder-mobile-body .founder-home-destination {
  border-color: rgba(28, 38, 56, 0.14);
  background: rgba(255, 253, 248, 0.9);
  color: var(--founder-ink);
  box-shadow: 0 8px 20px rgba(28, 38, 56, 0.05);
}

.founder-mobile-body .founder-home-destination:hover,
.founder-mobile-body .founder-home-destination:focus-visible {
  border-color: var(--founder-teal);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(60, 157, 155, 0.14);
}

.founder-mobile-body .founder-home-destination small,
.founder-mobile-body .founder-view-title p {
  color: #59666b;
}

.founder-mobile-body .founder-next-item,
.founder-mobile-body .founder-brief-introduction {
  background: var(--founder-ink);
}

.founder-mobile-body .founder-next-item {
  border-left-color: var(--founder-gold);
}

.founder-mobile-body .founder-mobile-nav {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: rgba(28, 38, 56, 0.98);
}

.founder-mobile-body .founder-mobile-nav button {
  color: rgba(255, 253, 248, 0.72);
}

.founder-mobile-body .founder-mobile-nav button.is-active {
  background: rgba(60, 157, 155, 0.2);
  color: #fffdf8;
}

.founder-mobile-body .founder-mobile-nav button.is-active > span {
  color: var(--founder-teal);
}

.founder-mobile-body [data-today-workspace] > section:not(.founder-next-item):not(.founder-brief-introduction),
.founder-mobile-body [data-founder-vault] > section,
.founder-mobile-body [data-founder-studio] > section,
.founder-mobile-body [data-founder-approvals] > section,
.founder-mobile-body [data-founder-operations] > section {
  border-color: var(--founder-line);
  background: var(--founder-panel);
}

@media (max-width: 980px) {
  .client-portal-body .portal-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .client-portal-body .portal-app-header h1 {
    font-size: 2rem;
  }

  .onboarding-document-heading h2 {
    font-size: 1.6rem;
  }
  .client-portal-body .portal-app-header {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 174px;
  }

  .client-portal-body .portal-app-header::after {
    inset: 0;
    opacity: 0.12;
  }

  .client-portal-body .portal-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-portal-body .portal-tabs button,
  .client-portal-body .button,
  .client-portal-body button,
  .onboarding-document-dialog button {
    min-height: 44px;
  }

  .client-portal-body .portal-summary-grid {
    grid-template-columns: 1fr;
  }

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

  .onboarding-form-wide,
  .onboarding-check-row {
    grid-column: auto;
  }

  .onboarding-document-actions {
    align-items: stretch;
  }

  .onboarding-document-actions .button {
    flex: 1 1 140px;
  }
}

.onboarding-signature-block {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 16px 0 0;
  padding: 20px;
  border: 1px solid #b4c7c4;
  border-radius: 6px;
  background: #f5faf8;
}

.onboarding-signature-block legend {
  padding: 0 8px;
  color: #1c2638;
  font-weight: 700;
}

.onboarding-signature-block label { min-width: 0; }
.onboarding-signature-block input { min-height: 44px; }
.onboarding-signature-block .onboarding-check-row input { min-height: auto; }
.onboarding-signature-block .onboarding-signature-input {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-bottom: 2px solid #365c59;
  border-radius: 0;
  background: #fff;
  color: #1c2638;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
}
