:root {
  --bg: #f8f7f5;
  --surface: #fffefd;
  --ink: #1d1a17;
  --muted: #877e78;
  --line: #e7e1dc;
  --accent: #bd704a;
  --accent-dark: #9f5634;
  --accent-soft: #f7ede7;
  --warning-soft: #fff8df;
  --warning-line: #f2d777;
  --shadow: 0 8px 16px rgba(55, 42, 34, 0.12);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

button,
input,
textarea {
  font: inherit;
}

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

.view {
  display: none;
  min-height: 100vh;
}

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

.auth-view {
  background: var(--bg);
}

.auth-header {
  min-height: 102px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: var(--surface);
}

.auth-main {
  min-height: calc(100vh - 102px);
  padding: 82px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  align-items: center;
  gap: 72px;
}

.auth-copy h1 {
  max-width: 850px;
  font-family: var(--serif);
  font-size: 78px;
  line-height: 1.08;
}

.auth-copy > p:not(.hero-pill) {
  max-width: 780px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-pill {
  width: max-content;
  margin-bottom: 42px;
}

.auth-card {
  padding: 38px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(55, 42, 34, 0.1);
}

.auth-tabs {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f0ed;
}

.auth-tab {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
}

.auth-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(55, 42, 34, 0.1);
}

.auth-card h2 {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.1;
}

.auth-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.auth-form {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

.auth-form input {
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.auth-error {
  padding: 12px 14px;
  border: 1px solid #f0b5a4;
  border-radius: 8px;
  background: #fff1ec;
  color: #9f4029;
  font-size: 15px;
  font-weight: 750;
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  font-size: 20px;
}

.privacy-note {
  margin-top: 22px;
  font-size: 14px !important;
}

.owner-claim-button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.topbar {
  min-height: 102px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.tm-mark {
  margin-left: 2px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.34em;
  font-weight: 900;
  line-height: 1;
  vertical-align: super;
}

.brand-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.landing-nav,
.vault-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logout-link {
  color: var(--muted);
  font-size: 22px;
}

.nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  font-weight: 700;
  padding: 10px 0;
}

.button {
  min-height: 72px;
  padding: 0 56px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.brand-button:focus-visible,
.nav-link:focus-visible,
.modal-close:focus-visible,
input:focus-visible,
textarea:focus-visible,
.back-button:focus-visible,
.action-button:focus-visible,
.archive-button:focus-visible,
.tab-button:focus-visible,
.filter-pill:focus-visible,
.client-card-clickable:focus-visible {
  outline: 3px solid rgba(189, 112, 74, 0.32);
  outline-offset: 3px;
}

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

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

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 3px 8px rgba(55, 42, 34, 0.08);
}

.button-small {
  min-height: 62px;
  padding: 0 28px;
  font-size: 28px;
}

.section {
  padding: 104px 56px;
}

.hero {
  min-height: calc(100vh - 102px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 132px;
  padding-bottom: 116px;
}

.hero-pill {
  margin-bottom: 54px;
  padding: 13px 23px;
  border: 2px solid #ead2c6;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.hero-pill svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

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

.hero h1 {
  max-width: 1510px;
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero p {
  max-width: 1220px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 39px;
  font-weight: 600;
  line-height: 1.38;
}

.hero-actions {
  margin-top: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.modules {
  border-top: 1px solid var(--line);
  text-align: center;
}

.section h2 {
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 800;
  line-height: 1.1;
}

.section-subtitle {
  max-width: 960px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.42;
}

.module-grid {
  max-width: 1892px;
  margin: 136px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px;
}

.module-card {
  min-height: 552px;
  padding: 48px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
}

.module-card.is-highlighted {
  border-color: #e7bba7;
  box-shadow: 0 10px 18px rgba(55, 42, 34, 0.14);
}

.icon-tile {
  width: 78px;
  height: 78px;
  margin-bottom: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-tile svg,
.client-meta svg,
.search-wrap svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}

.module-card h3 {
  max-width: 330px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.45;
}

.module-card p {
  margin-top: 30px;
  color: var(--muted);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}

.how {
  border-top: 1px solid var(--line);
  text-align: center;
}

.steps {
  position: relative;
  max-width: 1650px;
  margin: 136px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: var(--line);
}

.step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 110px;
  height: 110px;
  margin: 0 auto 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 800;
}

.step h3 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.step p {
  margin: 24px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.45;
}

.final-cta {
  min-height: 650px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final-cta h2 {
  max-width: 1250px;
  font-size: 78px;
}

.final-cta p {
  max-width: 960px;
  margin: 42px 0 86px;
  color: var(--muted);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.45;
}

.site-footer {
  min-height: 122px;
  padding: 0 56px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: var(--surface);
}

.footer-brand {
  font-size: 32px;
}

.site-footer p {
  font-size: 27px;
  font-weight: 700;
}

.vault-view {
  background: var(--surface);
}

.vault-topbar {
  min-height: 102px;
}

.vault-actions p {
  color: var(--muted);
  font-size: 29px;
  font-weight: 700;
}

.access-pill {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f3f0ed;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.access-pill.is-owner {
  border-color: #dcb497;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.vault-main {
  padding: 82px 36px 80px;
}

.access-panel {
  width: min(1180px, 100%);
  margin-bottom: 56px;
  padding: 28px 32px;
  border: 1px solid #ddcfc7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fffaf7;
  box-shadow: 0 8px 20px rgba(55, 42, 34, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
}

.access-panel p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.owner-view {
  background: var(--surface);
}

.owner-main {
  padding: 72px 36px 88px;
}

.owner-hero {
  max-width: 1050px;
}

.owner-hero h1 {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1.08;
}

.owner-hero p:not(.eyebrow) {
  max-width: 880px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 25px;
  font-weight: 650;
  line-height: 1.45;
}

.owner-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.owner-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(55, 42, 34, 0.08);
}

.owner-card h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.12;
}

.owner-card dl {
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.owner-card dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.owner-card dt,
.owner-section-heading p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-card dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

.plan-rules {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
}

.plan-rules strong {
  color: var(--ink);
}

.owner-wide-card {
  margin-top: 24px;
}

.owner-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.owner-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.owner-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.owner-table th,
.owner-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.owner-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-table td {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.vault-intro h1 {
  font-family: var(--serif);
  font-size: 92px;
  font-weight: 800;
  line-height: 1.05;
}

.vault-intro p {
  max-width: 870px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.45;
}

.search-wrap {
  width: min(740px, 100%);
  min-height: 68px;
  margin-top: 84px;
  padding: 0 22px;
  border: 2px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  background: var(--surface);
  box-shadow: 0 3px 9px rgba(55, 42, 34, 0.08);
}

.search-wrap svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  font-weight: 650;
}

.search-wrap input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.client-results {
  margin-top: 64px;
}

.client-card,
.empty-state {
  width: min(632px, 100%);
  min-height: 504px;
  padding: 46px 48px;
  border: 2px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

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

.client-monogram {
  width: 94px;
  height: 94px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
}

.status-pill {
  width: max-content;
  max-width: 100%;
  margin-top: 1px;
  padding: 9px 15px;
  border: 2px solid var(--warning-line);
  border-radius: 7px;
  background: var(--warning-soft);
  color: #8b4b2a;
  font-size: 24px;
  font-weight: 800;
}

.client-card h2,
.empty-state h2 {
  max-width: 410px;
  margin-top: 38px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
}

.client-type {
  margin-top: 16px;
  color: var(--muted);
  font-size: 28px;
  font-weight: 650;
}

.client-meta {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.client-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 650;
}

.client-meta svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

.client-card-clickable {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.client-card-clickable:hover {
  border-color: #d9cfc8;
  box-shadow: 0 10px 22px rgba(55, 42, 34, 0.1);
  transform: translateY(-2px);
}

.empty-state {
  min-height: 320px;
  color: var(--muted);
}

.empty-state h2 {
  color: var(--ink);
}

.empty-state p {
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.45;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(29, 26, 23, 0.34);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(29, 26, 23, 0.22);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.modal h2 {
  padding-right: 36px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.15;
}

.modal p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.modal-form {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.modal-section-title {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.modal-form input,
.modal-form textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.modal-form textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

.file-upload-label input {
  min-height: 70px;
  padding: 20px;
  border-style: dashed;
  background: #fbfaf8;
}

.file-upload-label span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.modal-form .button {
  min-height: 54px;
  margin-top: 8px;
  padding: 0 28px;
  font-size: 20px;
}

.client-view {
  background: var(--surface);
}

.client-header {
  min-height: 120px;
  padding: 20px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--surface);
}

.client-header-left,
.client-header-actions,
.client-mini,
.back-button,
.action-button,
.archive-button,
.tab-button {
  display: flex;
  align-items: center;
}

.client-header-left {
  gap: 30px;
  min-width: 0;
}

.back-button,
.action-button,
.archive-button,
.tab-button,
.filter-pill {
  appearance: none;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.back-button {
  gap: 14px;
  border: 0;
  color: var(--muted);
  font-size: 28px;
}

.header-divider {
  width: 1px;
  height: 52px;
  background: var(--line);
}

.client-mini {
  gap: 22px;
  min-width: 0;
}

.client-monogram-small {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  font-size: 28px;
}

.client-mini h1 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  white-space: nowrap;
}

.client-mini p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 29px;
  font-weight: 500;
}

.detail-status {
  flex: 0 0 auto;
  font-size: 28px;
}

.client-header-actions {
  gap: 14px;
  flex: 0 0 auto;
}

.action-button {
  min-height: 62px;
  gap: 16px;
  padding: 0 27px;
  border: 2px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 3px 8px rgba(55, 42, 34, 0.08);
  font-size: 29px;
}

.archive-button {
  gap: 14px;
  border: 0;
  color: var(--muted);
  font-size: 29px;
}

.client-header svg,
.client-tabs svg,
.last-updated svg,
.feedback-card svg,
.empty-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.client-header svg {
  width: 28px;
  height: 28px;
}

.client-tabs {
  min-height: 98px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  gap: 30px;
  overflow-x: auto;
  background: var(--surface);
  scrollbar-width: none;
}

.client-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  position: relative;
  min-width: max-content;
  gap: 15px;
  border: 0;
  color: var(--muted);
  font-size: 28px;
}

.tab-button svg {
  width: 30px;
  height: 30px;
}

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

.tab-button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--accent);
}

.tab-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f5bf42;
}

.client-main {
  padding: 64px 42px 90px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.client-summary-card {
  min-height: 214px;
  padding: 48px;
  border: 2px solid var(--line);
  border-radius: 11px;
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  align-items: start;
  gap: 24px;
}

.workflow-panel,
.acceptance-card,
.execution-detail {
  border: 2px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.workflow-panel {
  margin-bottom: 36px;
  padding: 34px;
}

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

.workflow-heading h2,
.next-phase-panel h3,
.execution-detail h4,
.acceptance-card h3 {
  font-family: var(--serif);
  line-height: 1.15;
}

.workflow-heading h2 {
  font-size: 38px;
}

.workflow-heading p,
.next-phase-panel p,
.execution-detail p,
.acceptance-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.45;
}

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

.workflow-step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf8;
}

.workflow-step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efede9;
  color: var(--muted);
  font-weight: 900;
}

.workflow-step h3 {
  margin-top: 18px;
  font-size: 23px;
}

.workflow-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.workflow-step.is-current {
  border-color: #e7bba7;
  box-shadow: 0 8px 18px rgba(55, 42, 34, 0.09);
}

.workflow-step.is-current span {
  background: var(--accent);
  color: #fff;
}

.workflow-step.is-complete span {
  background: #eafff2;
  color: #43a873;
}

.acceptance-card {
  margin-top: 28px;
  padding: 28px;
  border-color: #e7bba7;
  background: #fffaf6;
}

.next-phase-panel {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.next-phase-panel h3,
.acceptance-card h3 {
  font-size: 30px;
}

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

.execution-option {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.execution-option strong,
.execution-option span {
  display: block;
}

.execution-option strong {
  font-size: 20px;
}

.execution-option span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.execution-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.execution-detail {
  margin-top: 20px;
  padding: 24px;
}

.execution-detail h4 {
  font-size: 27px;
}

.execution-detail ol {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
}

.client-summary-card h2 {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.1;
}

.client-summary-card > div > p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 600;
}

.last-updated {
  justify-self: end;
  color: var(--muted);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

.last-updated svg {
  width: 26px;
  height: 26px;
  vertical-align: -5px;
}

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

.metric-card,
.panel-card,
.feedback-card,
.document-panel,
.report-shell {
  border: 2px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.metric-card {
  min-height: 328px;
  padding: 40px;
}

.metric-card .icon-tile {
  width: 70px;
  height: 70px;
  margin-bottom: 34px;
}

.metric-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
}

.metric-card h3 {
  margin-top: 16px;
  font-size: 28px;
  line-height: 1.2;
}

.metric-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 28px;
  font-weight: 600;
}

.dashboard-lower-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.panel-card {
  min-height: 330px;
  padding: 52px 48px;
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.panel-title-row h2,
.platform-card h2,
.asset-library h2,
.feedback-card h2,
.document-panel h2 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.15;
}

.panel-title-row strong {
  color: var(--accent);
  font-size: 30px;
}

.progress-track {
  height: 17px;
  margin: 26px 0 44px;
  border-radius: 999px;
  background: #efede9;
  overflow: hidden;
}

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

.milestone-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  font-size: 27px;
  font-weight: 700;
}

.check-dot {
  width: 35px;
  height: 35px;
  border: 3px solid #76d7a1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #43ae76;
  font-size: 22px;
}

.complete-pill {
  padding: 9px 17px;
  border: 2px solid #b5f0cf;
  border-radius: 999px;
  background: #f0fff6;
  color: #48a878;
  font-weight: 800;
}

.platform-card p,
.document-panel p {
  margin-top: 50px;
  color: var(--muted);
  font-size: 29px;
  font-weight: 600;
}

.strategy-document {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 92px;
  color: #4b4947;
}

.strategy-document h2 {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--ink);
}

.document-rule {
  height: 2px;
  margin: 25px 0 42px;
  background: var(--line);
}

.strategy-document p {
  max-width: 1410px;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.55;
}

.strategy-document strong {
  color: var(--ink);
}

.strategy-document .document-status {
  margin-top: 100px;
  font-style: italic;
}

.report-shell {
  padding: 48px;
}

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

.report-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.report-heading h2 {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1.12;
}

.report-heading p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 700;
}

.report-lede {
  max-width: 1320px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
}

.swot-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.research-card {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid #ecd1c2;
  border-radius: 10px;
  background: #fffefd;
  box-shadow: 0 10px 24px rgba(55, 42, 33, 0.07);
}

.research-card h3,
.research-card h4 {
  font-family: var(--serif);
  line-height: 1.2;
}

.research-card h3 {
  color: var(--accent);
  font-size: 31px;
}

.research-card h4 {
  margin-top: 22px;
  font-size: 23px;
}

.research-card p,
.research-card li,
.competitor-readout p {
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.research-card p {
  margin-top: 8px;
}

.research-card ul,
.research-card ol {
  margin: 14px 0 0;
  padding-left: 24px;
}

.research-card li {
  margin-top: 10px;
}

.research-agent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.research-agent-header .eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.research-status {
  flex: none;
  padding: 8px 12px;
  border: 1px solid #f1d4bd;
  border-radius: 999px;
  background: #fff8ed;
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.research-coverage {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.research-coverage span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf7;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

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

.research-brief-grid article,
.research-evidence-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
}

.research-brief-main {
  border-color: #e9c6b4 !important;
  background: #fff7f1 !important;
}

.competitor-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

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

.competitor-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
}

.competitor-item span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.research-sources a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.research-sources {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.research-sources summary {
  cursor: pointer;
  color: var(--ink);
}

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

.insight-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefd;
}

.insight-grid h3 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
}

.insight-grid ul {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.42;
}

.insight-grid li {
  margin-top: 10px;
}

.swot-grid article,
.diagnosis-card,
.remedy-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefd;
}

.swot-grid article {
  min-height: 300px;
  padding: 30px;
}

.swot-grid h3,
.diagnosis-card h3,
.remedy-card h3 {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.2;
}

.swot-grid ul,
.diagnosis-card ul,
.diagnosis-card ol {
  margin: 24px 0 0;
  padding-left: 25px;
  color: var(--muted);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.45;
}

.swot-grid li,
.diagnosis-card li {
  margin-top: 12px;
}

.diagnosis-card {
  margin-top: 28px;
  padding: 32px;
}

.diagnosis-card p {
  margin-top: 24px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.remedy-list {
  margin-top: 44px;
  display: grid;
  gap: 18px;
}

.remedy-card {
  padding: 28px 32px;
}

.remedy-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.45;
}

.remedy-card strong {
  display: block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 22px;
}

.remedy-card .remedy-example {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: #6f5042;
}

#content-plan-intro {
  color: var(--muted);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
}

#strategy-kpis li {
  margin-bottom: 18px;
}

#strategy-kpis strong,
#strategy-kpis em {
  display: block;
}

#strategy-kpis strong {
  color: var(--ink);
}

#strategy-kpis em {
  margin-top: 6px;
  color: #6f5042;
  font-style: normal;
}

.strategy-lower {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.asset-library {
  min-height: 760px;
}

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

.asset-library h2 {
  font-size: 44px;
}

.asset-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 700;
}

.asset-filters {
  margin-top: 54px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-pill {
  min-height: 60px;
  padding: 0 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 27px;
}

.filter-pill.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.asset-empty {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.empty-icon {
  width: 108px;
  height: 108px;
  margin-bottom: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1efeb;
}

.empty-icon svg {
  width: 42px;
  height: 42px;
}

.asset-empty h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
}

.asset-empty p {
  max-width: 560px;
  margin: 22px 0 42px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
}

.calendar-plan {
  margin-top: 44px;
}

.calendar-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.calendar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  background: var(--surface);
}

.calendar-day {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.calendar-channel {
  color: var(--accent);
  font-size: 18px;
  font-weight: 850;
}

.calendar-card h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.18;
}

.calendar-card p:not(.calendar-channel) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.calendar-card strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.feedback-card {
  max-width: 1470px;
  margin: 0 auto;
  padding: 54px 50px 48px;
}

.feedback-card h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 38px;
}

.feedback-card h2 svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.feedback-card > p {
  margin-top: 42px;
  color: var(--muted);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
}

.feedback-card textarea {
  width: 100%;
  min-height: 240px;
  margin-top: 36px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  resize: vertical;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.42;
}

.feedback-card textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.feedback-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.feedback-actions p {
  color: var(--muted);
  font-size: 29px;
  font-weight: 600;
}

.feedback-submit {
  min-width: 405px;
  white-space: nowrap;
  background: #e7b49d;
}

.feedback-submit svg {
  width: 28px;
  height: 28px;
}

.feedback-empty {
  margin-top: 160px;
  color: var(--muted);
  text-align: center;
  font-size: 29px;
  font-weight: 600;
}

.learning-card {
  margin-top: 28px;
}

.learning-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

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

.learning-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefd;
}

.learning-grid h3 {
  font-family: var(--serif);
  font-size: 24px;
}

.learning-grid ul {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.learning-grid li {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 74px;
  }

  .auth-main {
    grid-template-columns: 1fr;
  }

  .auth-copy h1 {
    font-size: 62px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 64px;
  }

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

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

  .client-header-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .client-mini {
    min-width: 0;
  }

  .client-mini h1 {
    white-space: normal;
  }

  .client-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .metric-grid,
  .dashboard-lower-grid,
  .workflow-steps,
  .learning-grid,
  .execution-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-summary-card {
    grid-template-columns: 1fr;
  }

  .last-updated {
    justify-self: start;
    text-align: left;
  }

  .button {
    font-size: 24px;
    padding: 0 34px;
  }

  .strategy-document {
    padding-top: 52px;
  }

  .strategy-document p {
    font-size: 27px;
  }

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

  .workflow-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .access-panel,
  .owner-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-grid {
    grid-template-columns: 1fr;
  }

  .swot-grid,
  .research-columns,
  .insight-grid,
  .strategy-lower,
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: auto;
    padding: 22px;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .auth-header {
    min-height: auto;
    padding: 22px;
  }

  .auth-main {
    min-height: auto;
    padding: 50px 22px 72px;
    gap: 36px;
  }

  .auth-copy h1 {
    font-size: 46px;
  }

  .auth-copy > p:not(.hero-pill) {
    font-size: 22px;
  }

  .auth-card {
    padding: 26px;
  }

  .privacy-note {
    font-size: 13px !important;
  }

  .brand {
    font-size: 38px;
  }

  .landing-nav,
  .vault-actions {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav-link,
  .vault-actions p {
    font-size: 19px;
  }

  .button,
  .button-small {
    min-height: 52px;
    padding: 0 18px;
    font-size: 18px;
    gap: 10px;
  }

  .section,
  .hero {
    padding: 72px 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero-pill {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.05;
  }

  .hero p,
  .section-subtitle,
  .final-cta p {
    font-size: 22px;
  }

  .hero-actions {
    margin-top: 46px;
  }

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

  .section h2,
  .final-cta h2 {
    font-size: 44px;
  }

  .module-grid {
    margin-top: 60px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .module-card {
    min-height: auto;
    padding: 30px;
  }

  .module-card h3 {
    font-size: 30px;
  }

  .module-card p {
    font-size: 21px;
  }

  .steps {
    margin-top: 60px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .steps::before {
    display: none;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .step p {
    font-size: 21px;
  }

  .site-footer {
    min-height: auto;
    padding: 24px 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer p {
    font-size: 17px;
  }

  .vault-main {
    padding: 58px 22px;
  }

  .access-panel {
    padding: 22px;
  }

  .access-panel h2 {
    font-size: 29px;
  }

  .owner-main {
    padding: 46px 18px 64px;
  }

  .owner-hero h1 {
    font-size: 42px;
  }

  .owner-hero p:not(.eyebrow) {
    font-size: 20px;
  }

  .owner-card {
    padding: 22px;
  }

  .modal-two-column {
    grid-template-columns: 1fr;
  }

  .vault-intro h1 {
    font-size: 56px;
  }

  .vault-intro p {
    font-size: 22px;
  }

  .search-wrap {
    margin-top: 42px;
  }

  .client-card,
  .empty-state {
    padding: 30px;
  }

  .client-card h2,
  .empty-state h2 {
    font-size: 31px;
  }

  .client-type,
  .client-meta span {
    font-size: 20px;
  }

  .client-header {
    padding: 18px 22px;
    gap: 18px;
  }

  .client-header-left {
    width: 100%;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }

  .back-button {
    width: 100%;
    font-size: 20px;
  }

  .header-divider {
    display: none;
  }

  .client-mini {
    width: 100%;
  }

  .client-monogram-small {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .client-mini h1 {
    white-space: normal;
    font-size: 28px;
  }

  .client-mini p,
  .detail-status {
    font-size: 20px;
  }

  .client-header-actions {
    gap: 10px;
  }

  .action-button,
  .archive-button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 17px;
    gap: 8px;
  }

  .archive-button {
    padding-left: 0;
  }

  .client-header svg {
    width: 22px;
    height: 22px;
  }

  .client-tabs {
    min-height: 72px;
    padding: 0 22px;
    gap: 24px;
  }

  .tab-button {
    font-size: 20px;
    gap: 9px;
  }

  .tab-button svg {
    width: 23px;
    height: 23px;
  }

  .client-main {
    padding: 34px 22px 64px;
  }

  .client-summary-card {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .client-summary-card h2 {
    font-size: 34px;
  }

  .client-summary-card > div > p,
  .last-updated {
    font-size: 20px;
    text-align: left;
    justify-self: start;
  }

  .metric-grid,
  .dashboard-lower-grid,
  .workflow-steps,
  .execution-options {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .workflow-panel {
    padding: 24px;
  }

  .workflow-heading h2 {
    font-size: 31px;
  }

  .metric-card,
  .panel-card,
  .feedback-card,
  .learning-grid article {
    min-height: auto;
    padding: 28px;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .metric-card strong {
    font-size: 48px;
  }

  .metric-card h3,
  .metric-card p,
  .milestone-row,
  .platform-card p {
    font-size: 20px;
  }

  .milestone-row {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .complete-pill {
    grid-column: 2;
    width: max-content;
    max-width: 100%;
    font-size: 18px;
  }

  .panel-title-row h2,
  .platform-card h2,
  .asset-library h2,
  .feedback-card h2,
  .document-panel h2,
  .strategy-document h2 {
    font-size: 31px;
  }

  .strategy-document {
    padding-top: 34px;
  }

  .strategy-document p,
  .strategy-document .document-status {
    font-size: 21px;
  }

  .report-shell {
    padding: 28px;
  }

  .report-heading,
  .report-actions,
  .asset-heading,
  .feedback-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .report-heading h2 {
    font-size: 34px;
  }

  .report-lede {
    font-size: 21px;
  }

  .swot-grid h3,
  .diagnosis-card h3,
  .remedy-card h3 {
    font-size: 27px;
  }

  .swot-grid ul,
  .diagnosis-card ul,
  .diagnosis-card ol,
  .remedy-card p,
  .calendar-card p:not(.calendar-channel) {
    font-size: 19px;
  }

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

  .strategy-document .document-status {
    margin-top: 56px;
  }

  .asset-heading p,
  .asset-empty p,
  .feedback-card > p,
  .feedback-actions p,
  .feedback-empty,
  .feedback-card textarea {
    font-size: 20px;
  }

  .asset-filters {
    margin-top: 28px;
  }

  .filter-pill {
    min-height: 46px;
    padding: 0 16px;
    font-size: 18px;
  }

  .asset-empty {
    min-height: 420px;
  }

  .feedback-card textarea {
    min-height: 190px;
  }

  .feedback-submit {
    min-width: 0;
    width: 100%;
  }
}
