.knowledge-main {
  padding-top: 22px;
}

.knowledge-page {
  --knowledge-copy-width: 780px;
  --knowledge-figure-width: 980px;
  --knowledge-wide-width: 1280px;
  padding-bottom: 30px;
}

.knowledge-page * {
  letter-spacing: 0;
}

.knowledge-breadcrumbs {
  display: block;
  width: min(var(--knowledge-wide-width), 100%);
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 14px;
}

.knowledge-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-breadcrumbs li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.knowledge-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--line-strong);
  font-weight: 700;
}

.knowledge-breadcrumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.knowledge-breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 720;
}

.knowledge-eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(26px, 3vw, 40px);
  align-items: center;
  width: min(var(--knowledge-wide-width), 100%);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 28px) 0 clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.knowledge-hero-copy,
.knowledge-hero > * {
  min-width: 0;
}

.knowledge-hero h1,
.knowledge-index-hero h1 {
  max-width: 820px;
  margin: 10px 0 13px;
  color: var(--text);
  font-size: clamp(34px, 3.5vw, 44px);
  line-height: 1.12;
  font-weight: 850;
  overflow-wrap: normal;
  hyphens: manual;
}

.knowledge-intro,
.knowledge-index-hero > p {
  max-width: 68ch;
  margin: 0;
  color: #4e5c58;
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.68;
}

.knowledge-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.knowledge-byline a,
.knowledge-correction-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.knowledge-sources-review,
.knowledge-correction-link {
  width: min(820px, 100%);
  margin: 2rem auto;
}

.knowledge-byline span:not(:last-child)::after {
  content: "·";
  margin-left: 15px;
  color: var(--sand);
}

.knowledge-control-visual {
  margin: 0;
}

.knowledge-schedule {
  overflow: hidden;
  border: 1px solid rgba(47, 117, 109, .18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(37, 49, 46, .08);
}

.knowledge-schedule-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf6;
}

.knowledge-schedule-head strong {
  font-size: 14px;
}

.knowledge-schedule-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.knowledge-schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
}

.knowledge-day {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-align: center;
  text-transform: uppercase;
}

.knowledge-slot {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  font-size: 10px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
}

.knowledge-slot.public {
  border-color: rgba(47, 117, 109, .42);
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

.knowledge-slot.public::before {
  content: "✓";
  display: block;
}

.knowledge-slot.portal {
  border-style: dashed;
  border-color: #b29a72;
  background: #fbf5e9;
  color: #6f582e;
}

.knowledge-slot.portal::before {
  content: "↳";
  display: block;
  font-size: 12px;
}

.knowledge-slot.internal {
  background: #f4f2ed;
  color: #727b78;
}

.knowledge-slot.internal::before {
  content: "–";
  display: block;
}

.knowledge-schedule-legend {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 14px 15px;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
}

.knowledge-schedule-legend li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.knowledge-schedule-legend li > span {
  width: 14px;
  height: 10px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}

.knowledge-schedule-legend .legend-public {
  border-color: rgba(47, 117, 109, .42);
  background: var(--brand-primary-soft);
}

.knowledge-schedule-legend .legend-portal {
  border-style: dashed;
  border-color: #b29a72;
  background: #fbf5e9;
}

.knowledge-schedule-legend .legend-internal {
  background: #f4f2ed;
}

.knowledge-package-strip {
  display: grid;
  gap: 13px;
  overflow: hidden;
  border: 1px solid rgba(47, 117, 109, .18);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(37, 49, 46, .08);
}

.knowledge-package-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.knowledge-package-strip-head strong {
  font-size: 14px;
}

.knowledge-package-strip-head span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.knowledge-package-sessions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.knowledge-package-sessions span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px;
  font-size: 10px;
  font-weight: 820;
  line-height: 1.15;
  text-align: center;
}

.knowledge-package-sessions .used {
  background: #f4f2ed;
  color: #727b78;
}

.knowledge-package-sessions .used::before {
  content: "✓";
  display: block;
}

.knowledge-package-sessions .reserved {
  border-style: dashed;
  border-color: #b29a72;
  background: #fbf5e9;
  color: #6f582e;
}

.knowledge-package-sessions .reserved::before {
  content: "↳";
  display: block;
}

.knowledge-package-sessions .available {
  border-color: rgba(47, 117, 109, .42);
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

.knowledge-package-sessions .available::before {
  content: "+";
  display: block;
}

.knowledge-package-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

.knowledge-booking-group-card {
  display: grid;
  gap: 13px;
  overflow: hidden;
  border: 1px solid rgba(47, 117, 109, .18);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(37, 49, 46, .08);
}

.knowledge-booking-group-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.knowledge-booking-group-card-head strong {
  font-size: 14px;
}

.knowledge-booking-group-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-booking-group-bars {
  display: grid;
  gap: 9px;
}

.knowledge-booking-group-bars span {
  display: grid;
  gap: 5px;
  color: #33413d;
  font-size: 12px;
  font-weight: 780;
}

.knowledge-booking-group-bars em {
  display: block;
  width: var(--bar-width);
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  opacity: .85;
}

.knowledge-booking-group-bars span:first-child em {
  background: linear-gradient(90deg, #c9d8d3, #e8f4f1);
}

.knowledge-booking-group-bars span:last-child em {
  background: linear-gradient(90deg, #b29a72, #e7d6b9);
}

.knowledge-booking-group-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
  text-align: center;
}

.knowledge-control-visual figcaption,
.knowledge-product-screenshot figcaption {
  margin: 10px auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.knowledge-article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(30px, 4vw, 56px);
  justify-content: stretch;
  align-items: start;
  width: min(var(--knowledge-wide-width), 100%);
  margin: 0 auto;
  padding-top: clamp(24px, 3vw, 38px);
}

.knowledge-setup-preamble {
  display: grid;
  gap: 22px;
  width: min(var(--knowledge-copy-width), 100%);
  margin: clamp(26px, 3vw, 38px) auto 0;
}

.knowledge-series-progress {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: stretch;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #fffdfa;
}

.knowledge-series-progress > strong {
  color: var(--text);
  font-size: 13px;
}

.knowledge-series-progress ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.knowledge-series-progress li {
  min-width: 0;
}

.knowledge-series-progress a,
.knowledge-series-progress li > span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: #40504b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}

.knowledge-series-progress a:hover,
.knowledge-series-progress a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.knowledge-series-progress li.is-current > span {
  border-color: rgba(47, 117, 109, .44);
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

.knowledge-series-progress b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e7ece9;
  color: var(--text);
  font-size: 12px;
}

.knowledge-series-progress .is-current b {
  background: var(--accent);
  color: #fff;
}

.knowledge-series-progress em,
.knowledge-setup-step em {
  border-radius: 999px;
  padding: 2px 6px;
  background: #f3ead9;
  color: #725c30;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.knowledge-quick-setup {
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 17px 20px;
  background: var(--brand-primary-soft);
}

.knowledge-quick-setup h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.knowledge-quick-setup ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding-left: 22px;
}

.knowledge-quick-setup li {
  color: #33413d;
  font-size: 15px;
  line-height: 1.5;
}

.knowledge-toc {
  position: sticky;
  top: 92px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
  color: var(--muted);
  font-size: 13px;
}

.knowledge-toc summary {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  cursor: default;
  list-style: none;
}

.knowledge-toc summary::-webkit-details-marker {
  display: none;
}

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

.knowledge-toc a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--muted);
  line-height: 1.25;
}

.knowledge-toc a:hover,
.knowledge-toc a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.knowledge-article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  min-width: 0;
}

.knowledge-article-body > *,
.knowledge-article-body section > * {
  max-width: var(--knowledge-copy-width);
}

.knowledge-article-body section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  width: 100%;
  max-width: none;
  justify-self: start;
  margin-top: 44px;
  scroll-margin-top: 104px;
}

.knowledge-series-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--knowledge-copy-width), 100%);
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.knowledge-series-navigation-link {
  display: grid;
  gap: 5px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 16px;
  background: #fffdfa;
}

.knowledge-series-navigation-link.is-next {
  grid-column: 2;
  text-align: right;
}

.knowledge-series-navigation-link > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.knowledge-series-navigation-link strong {
  color: var(--accent);
  line-height: 1.35;
}

.knowledge-article-body h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(26px, 2.6vw, 31px);
  line-height: 1.22;
  font-weight: 830;
}

.knowledge-article-body h3 {
  margin: 26px 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 810;
}

.knowledge-article-body p,
.knowledge-article-body li {
  color: #33413d;
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.7;
}

.knowledge-article-body p {
  margin: 0 0 17px;
}

.knowledge-article-body a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.knowledge-article-body ul,
.knowledge-article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.knowledge-lead {
  display: grid;
  gap: 16px;
  padding-bottom: 6px;
}

.knowledge-lead p {
  margin: 0;
  color: #33413d;
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.7;
}

.knowledge-callout,
.knowledge-example {
  margin: 24px 0;
  border: 1px solid rgba(47, 117, 109, .2);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fffdfa;
}

.knowledge-callout strong,
.knowledge-example-label {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-primary-dark);
  font-size: 15px;
  font-weight: 840;
}

.knowledge-callout p,
.knowledge-example p {
  margin: 0;
}

.knowledge-callout-note {
  background: var(--brand-primary-soft);
}

.knowledge-question-list,
.knowledge-checklist {
  padding-left: 0;
  list-style: none;
}

.knowledge-definition-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.knowledge-definition-list div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.knowledge-definition-list dt {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 17px;
  font-weight: 830;
}

.knowledge-definition-list dd {
  margin: 0;
  color: #33413d;
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.7;
}

.knowledge-question-list li,
.knowledge-checklist li {
  position: relative;
  padding-left: 28px;
}

.knowledge-question-list li::before,
.knowledge-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .12em;
  color: var(--accent);
  font-weight: 850;
}

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

.knowledge-workflow-grid > section {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffdfa;
  scroll-margin-top: 104px;
}

.knowledge-workflow-grid h3 {
  margin-top: 0;
}

.knowledge-product-screenshot {
  width: min(var(--knowledge-figure-width), 100%);
  max-width: min(var(--knowledge-figure-width), 100%) !important;
  justify-self: start;
  margin: 28px 0 32px;
}

.knowledge-screenshot-window {
  aspect-ratio: auto;
  border-radius: 12px;
  box-shadow: 0 14px 42px rgba(36, 49, 42, .12);
}

.knowledge-screenshot-window .hero-mac-canvas {
  height: auto;
}

.knowledge-screenshot-window img {
  height: auto;
  object-fit: contain;
  background: #fff;
}

.knowledge-reminder-screenshot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.knowledge-table-hint {
  color: var(--muted) !important;
  font-size: 14px !important;
}

.knowledge-table-scroll {
  width: min(var(--knowledge-figure-width), 100%);
  max-width: min(var(--knowledge-figure-width), 100%) !important;
  justify-self: start;
  overflow-x: auto;
  margin: 14px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.knowledge-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}

.knowledge-comparison-table th,
.knowledge-comparison-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: #33413d;
  text-align: left;
  vertical-align: top;
}

.knowledge-comparison-table thead th {
  background: #f8f6f0;
  color: var(--text);
  font-weight: 820;
}

.knowledge-comparison-table tbody th {
  color: var(--text);
  font-weight: 800;
}

.knowledge-comparison-table tbody tr:last-child th,
.knowledge-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.knowledge-implementation-steps {
  counter-reset: knowledge-step;
  padding-left: 0 !important;
  list-style: none;
}

.knowledge-implementation-steps li {
  counter-increment: knowledge-step;
  position: relative;
  padding-left: 36px;
}

.knowledge-implementation-steps li::before {
  content: counter(knowledge-step);
  position: absolute;
  left: 0;
  top: .22em;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 850;
}

.knowledge-faq-section {
  padding-top: 4px;
}

.knowledge-faq-list {
  display: grid;
  gap: 16px;
}

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

.knowledge-faq-item h3 {
  margin-top: 0;
  font-size: 18px;
}

.knowledge-related {
  padding: 22px 0 0;
}

.knowledge-related ul {
  padding-left: 0;
  list-style: none;
}

.knowledge-related li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.knowledge-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(var(--knowledge-wide-width), 100%);
  margin: 54px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.knowledge-cta h2 {
  max-width: 640px;
  margin: 8px 0 9px;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.25;
}

.knowledge-cta p {
  max-width: 62ch;
  margin: 0;
  color: #4e5c58;
  font-size: 17px;
  line-height: 1.65;
}

.knowledge-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
}

.knowledge-cta-actions a:not(.button) {
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.knowledge-index-page {
  width: min(var(--knowledge-wide-width), 100%);
  margin: 0 auto;
}

.knowledge-index-hero {
  max-width: min(840px, 100%);
  padding: clamp(16px, 3vw, 34px) 0 30px;
}

.knowledge-index-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 900px);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.knowledge-index-section-spaced {
  margin-top: 38px;
}

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

.knowledge-setup-box ol {
  margin-bottom: 0;
}

.knowledge-setup-step {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #edf6f4;
  padding: 5px 11px 5px 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 840;
}

.knowledge-setup-step span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.knowledge-section-heading h2 {
  margin: 7px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.knowledge-section-heading > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.knowledge-card-list {
  display: grid;
  gap: 26px;
}

.knowledge-setup-sequence {
  position: relative;
}

.knowledge-setup-sequence::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: var(--line-strong);
}

.knowledge-setup-card {
  position: relative;
}

.knowledge-setup-card::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 34px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.knowledge-card {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 4px 0;
  background: transparent;
}

.knowledge-card-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  aspect-ratio: 16 / 9;
}

.knowledge-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top left;
}

.knowledge-card-content {
  display: grid;
  align-content: center;
  gap: 10px;
}

.knowledge-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.knowledge-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.22;
}

.knowledge-card p {
  margin: 0;
  color: #4e5c58;
  font-size: 17px;
  line-height: 1.65;
}

.knowledge-card-link {
  margin-top: 4px;
  width: fit-content;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.knowledge-marketing-footer {
  width: 100%;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  scroll-margin-top: 96px;
}

.audience-card-group {
  grid-column: 1 / -1;
}

.audience-example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.audience-example-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
}

.audience-example-card h3 {
  margin: 0 0 8px;
}

.audience-example-card p {
  margin: 0;
}

@media (max-width: 1120px) {
  .knowledge-main {
    padding-top: 18px;
  }
}

@media (max-width: 980px) {
  .knowledge-hero,
  .knowledge-article-layout,
  .knowledge-index-section,
  .knowledge-card,
  .knowledge-cta {
    grid-template-columns: 1fr;
  }

  .knowledge-control-visual {
    max-width: 460px;
  }

  .knowledge-article-layout {
    width: 100%;
    margin: 0 auto;
    gap: 28px;
  }

  .knowledge-setup-preamble {
    width: 100%;
  }

  .knowledge-series-progress ol,
  .knowledge-quick-setup ol,
  .knowledge-series-navigation {
    grid-template-columns: 1fr;
  }

  .knowledge-series-navigation-link.is-next {
    grid-column: 1;
  }

  .knowledge-toc {
    position: static;
    order: 0;
    border-right: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0;
    background: #fffdfa;
  }

  .knowledge-toc summary {
    min-height: 44px;
    margin: 0;
    padding: 12px 16px;
    cursor: pointer;
  }

  .knowledge-toc summary::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }

  .knowledge-toc[open] summary::after {
    transform: rotate(225deg) translateY(-2px);
  }

  .knowledge-toc ol {
    padding: 0 16px 14px;
  }

  .knowledge-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .audience-example-grid {
    grid-template-columns: 1fr;
  }

  .audience-example-card {
    padding: 16px;
  }

  .knowledge-main {
    padding-top: 14px;
  }

  .knowledge-breadcrumbs {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .knowledge-hero {
    padding-top: 8px;
  }

  .knowledge-hero h1,
  .knowledge-index-hero h1 {
    font-size: clamp(30px, 9vw, 34px);
    line-height: 1.15;
  }

  .knowledge-intro,
  .knowledge-index-hero > p,
  .knowledge-lead p {
    font-size: 18px;
    line-height: 1.68;
  }

  .knowledge-byline {
    gap: 6px 11px;
  }

  .knowledge-byline span:not(:last-child)::after {
    margin-left: 11px;
  }

  .knowledge-article-body section {
    margin-top: 38px;
  }

  .knowledge-article-body h2 {
    font-size: 27px;
  }

  .knowledge-article-body p,
  .knowledge-article-body li {
    font-size: 17px;
  }

  .knowledge-workflow-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-product-screenshot {
    width: 100%;
    max-width: 100% !important;
    margin: 24px 0 28px;
  }

  .knowledge-table-scroll {
    width: 100%;
    max-width: 100% !important;
  }

  .knowledge-cta {
    margin-top: 42px;
  }

  .knowledge-index-section {
    gap: 18px;
  }

  .knowledge-series-progress ol,
  .knowledge-quick-setup ol,
  .knowledge-series-navigation {
    grid-template-columns: 1fr;
  }

  .knowledge-series-navigation-link.is-next {
    grid-column: 1;
  }

  .knowledge-setup-sequence::before,
  .knowledge-setup-card::before {
    display: none;
  }
}

@media (max-width: 390px) {
  .knowledge-hero h1,
  .knowledge-index-hero h1 {
    font-size: 30px;
    hyphens: manual;
    overflow-wrap: break-word;
  }

  .knowledge-article-body h2 {
    font-size: 25px;
  }

  .knowledge-slot {
    min-height: 42px;
    font-size: 9px;
  }

  .knowledge-schedule-head {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-page *,
  .knowledge-page *::before,
  .knowledge-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Public guides hub: direct answers first, followed by optional walkthroughs. */
.knowledge-main:has(.guides-hub),
.knowledge-main:has(.knowledge-editorial) {
  width: min(1280px, calc(100% - 40px));
}

.guides-hub {
  --guides-gap: clamp(20px, 3vw, 36px);
}

.guides-hub > section,
.guides-hub [id] {
  scroll-margin-top: 105px;
}

.guides-hub h1,
.guides-hub h2,
.guides-hub h3,
.guides-hub h4,
.guides-hub p {
  overflow-wrap: break-word;
}

.guides-hub :is(h1, h2, h3, h4) { text-wrap: balance; }
.guides-hub p { text-wrap: pretty; }

.guides-hero {
  display: block;
  padding: 20px 0 38px;
}

.guides-hero h1 {
  max-width: 28ch;
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.12;
  font-weight: 820;
}

.guides-hero-copy > p {
  max-width: 65ch;
  margin: 0;
  color: #4e5c58;
  font-size: 18px;
  line-height: 1.65;
}

.guides-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-top: 26px;
}

.guides-actions .button {
  text-align: center;
}

.guides-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.guides-text-link > span {
  flex-shrink: 0;
}

.guides-hub a:focus-visible,
.guides-hub button:focus-visible,
.guides-hub summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.guides-view-pair > div,
.guides-booking-grid > li {
  min-width: 0;
}

.guides-view-label {
  display: block;
  margin: 0 0 9px;
  color: #53645d;
  font-size: 12px;
  font-weight: 750;
}

.guides-hub .knowledge-product-screenshot {
  width: 100%;
  margin: 0;
}

.guides-hub .knowledge-screenshot-window {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(36, 49, 42, .07);
}

.guides-hub .knowledge-product-screenshot figcaption {
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

.guides-hub .hero-mac-chrome {
  height: 23px;
  padding: 8px 10px;
}

.guides-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 34px 0 12px;
}

.guides-section-heading {
  max-width: 760px;
  margin-bottom: 25px;
}

.guides-hub h2 {
  margin: 9px 0 0;
  color: var(--text);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 790;
  line-height: 1.2;
}

.guides-section-heading p {
  margin: 12px 0 0;
  color: #4e5c58;
  font-size: 16px;
  line-height: 1.6;
}

.guides-setup-grid,
.guides-booking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guides-setup-grid > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fffdfa;
}

.guides-step-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.guides-setup-grid h3 {
  margin: 16px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.guides-setup-grid p {
  margin: 0 0 16px;
  color: #4e5c58;
  font-size: 15px;
  line-height: 1.6;
}

.guides-setup-grid .guides-text-link {
  margin-top: auto;
}

.guides-booking-grid h3 {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.4;
}

.guides-booking-grid h3 > span {
  color: var(--accent);
  font-size: 14px;
}

.guides-booking-grid .hero-mac-canvas {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f5ef;
}

.guides-booking-grid .hero-mac-canvas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.guides-condition {
  max-width: 86ch;
  margin: 24px 0 8px;
  padding: 0;
  color: #4e5c58;
  font-size: 14px;
  line-height: 1.65;
}

.guides-workflow {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.guides-workflow:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.guides-workflow-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-bottom: 19px;
}

.guides-workflow-heading > div {
  max-width: 760px;
}

.guides-workflow h3 {
  display: inline;
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
}

.guides-workflow-heading p {
  margin: 0;
  color: #4e5c58;
  font-size: 16px;
  line-height: 1.6;
}

.guides-workflow-heading > a {
  flex-shrink: 0;
  max-width: 235px;
}

.guides-view-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--guides-gap);
  align-items: start;
}

.guides-view-pair .hero-mac-canvas {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 290px;
  overflow: hidden;
  background: #f7f5ef;
}

.guides-view-pair .hero-mac-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.guides-view-pair-access .hero-mac-canvas {
  height: 360px;
}

.guides-view-pair-packages .hero-mac-canvas {
  height: 360px;
}

.guides-topic-nav { display: block; }

.guides-topic-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.guides-topic-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-height: 44px;
  padding-inline: 0;
  color: var(--accent);
  font-weight: 650;
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guides-topic-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px var(--guides-gap);
}

/* Editorial library: reuse guide rows, with factual content labels. */
.knowledge-library .guides-hero h1 { max-width: 30ch; font-size: clamp(32px, 3.5vw, 44px); }
.knowledge-library .guides-hero-copy > .knowledge-library-intro { margin-top: 16px; font-size: 16px; }
.knowledge-featured-guides,
.knowledge-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.knowledge-content-type { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.knowledge-library-card :is(h3, h4) { display: flex; gap: 12px; justify-content: space-between; margin: 0 0 10px; color: var(--text); font-size: 20px; line-height: 1.4; }
.knowledge-library-card :is(h3, h4) > span { flex-shrink: 0; color: var(--accent); }
.knowledge-library-card .guides-guide-link:hover :is(h3, h4) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.knowledge-library-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.knowledge-library .guides-topic-group > h3 { color: var(--text); font-size: 22px; }
.knowledge-practice-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; padding: 0; list-style: none; }
.knowledge-practice-links a,
.knowledge-library .guides-setup-grid h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.knowledge-practice-links p { max-width: 55ch; margin: 4px 0 0; color: var(--muted); line-height: 1.6; }
.knowledge-audience { max-width: 70ch; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.knowledge-related-reading { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.knowledge-related-reading h2 { margin-top: 0; }
.knowledge-editorial a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.knowledge-editorial .knowledge-eyebrow { font-size: 14px; font-weight: 650; text-transform: none; }
.knowledge-editorial :is(h2, h3) { overflow-wrap: break-word; hyphens: auto; }
.knowledge-editorial-toc { position: static; width: min(var(--knowledge-copy-width), 100%); margin: 24px auto; border: 1px solid var(--line); border-radius: 8px; padding: 0; background: #fffdfa; }
.knowledge-editorial-toc summary { min-height: 44px; margin: 0; padding: 12px 16px; cursor: pointer; }
.knowledge-editorial-toc summary::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.knowledge-editorial-toc[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.knowledge-editorial-toc ol { columns: 2; column-gap: 30px; padding: 0 16px 14px; }
.knowledge-editorial-toc li { break-inside: avoid; }
.knowledge-editorial .knowledge-section-nav { display: block; min-width: 0; }
.knowledge-editorial .knowledge-section-nav a { display: inline; white-space: normal; }
.knowledge-editorial .knowledge-series-navigation-link { min-width: 0; white-space: normal; }
.knowledge-editorial .knowledge-table-scroll table { display: table; min-width: 640px; table-layout: auto; }
.knowledge-editorial .knowledge-table-scroll thead { display: table-header-group; }
.knowledge-editorial .knowledge-table-scroll tbody { display: table-row-group; }
.knowledge-editorial .knowledge-table-scroll tr { display: table-row; border: 0; box-shadow: none; }
.knowledge-editorial .knowledge-table-scroll :is(th, td) { display: table-cell; overflow-wrap: normal; word-break: normal; }
.knowledge-editorial .knowledge-table-scroll :is(th, td):first-child { min-width: 10rem; }
.knowledge-editorial .knowledge-table-scroll td::before { content: none; }
.knowledge-editorial .knowledge-table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 800px) {
  .knowledge-featured-guides,
  .knowledge-related-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 700px) {
  .knowledge-practice-links { grid-template-columns: minmax(0, 1fr); }
  .knowledge-editorial-toc ol { columns: 1; }
}

.guides-topic-group { min-width: 0; }
.guides-topic-group > h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.guides-browse-card {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.guides-guide-link {
  display: block;
  min-height: 44px;
  padding: 18px 0 20px;
  text-decoration: none;
}

.guides-browse-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: var(--text);
}

.guides-guide-link:hover h4 {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guides-browse-card h4 span {
  color: var(--accent);
  flex-shrink: 0;
}

.guides-browse-card p {
  max-width: 58ch;
  margin: 0;
  color: #4e5c58;
  font-size: 15px;
  line-height: 1.6;
}

.guides-direct-booking {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 36px;
  margin: 0 0 28px;
  padding-left: 24px;
}

.guides-direct-booking li { padding-left: 4px; }
.guides-direct-booking li::marker { color: var(--accent); font-weight: 750; }
.guides-direct-booking h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; }
.guides-direct-booking p,
.guides-booking-options > details > p { max-width: 65ch; margin: 0 0 16px; color: #4e5c58; line-height: 1.6; }
.guides-booking-options > details { border-top: 1px solid var(--line); }
.guides-booking-options > details[open] { padding-bottom: 24px; }
.guides-booking-options summary,
.guides-workflow summary {
  min-height: 56px;
  padding: 16px 0;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.guides-booking-options summary::marker,
.guides-workflow summary::marker { color: var(--accent); }
.guides-workflow-content { padding: 8px 0 28px; }

.guides-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 27px 0 35px;
  border: 1px solid #d4e1d9;
  border-radius: 14px;
  padding: clamp(22px, 3vw, 35px);
  background: #edf3ed;
}

.guides-support > div:first-child {
  max-width: 650px;
}

.guides-support p {
  margin: 12px 0 0;
  color: #4e5c58;
  font-size: 16px;
  line-height: 1.6;
}

.guides-support .guides-actions {
  justify-content: flex-start;
  flex-shrink: 0;
  max-width: 330px;
  margin: 0;
}

@media (max-width: 980px) {
  .guides-hero {
    gap: 28px;
  }

  .guides-hero h1 {
    font-size: 36px;
  }

  .guides-setup-grid > li {
    padding: 18px;
  }

  .guides-setup-grid h3 {
    font-size: 19px;
  }

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

  .guides-workflow-heading > a,
  .guides-support .guides-actions {
    max-width: none;
  }

  .guides-view-pair .hero-mac-canvas {
    height: 240px;
  }

  .guides-view-pair-access .hero-mac-canvas,
  .guides-view-pair-packages .hero-mac-canvas {
    height: 300px;
  }
}

@media (max-width: 700px) {
  .guides-hero,
  .guides-setup-grid,
  .guides-booking-grid,
  .guides-view-pair,
  .guides-topic-groups,
  .guides-direct-booking {
    grid-template-columns: minmax(0, 1fr);
  }

  .guides-hero {
    padding-top: 9px;
    padding-bottom: 20px;
  }

  .guides-hero h1 {
    max-width: 24ch;
    font-size: clamp(31px, 8vw, 40px);
  }

  .guides-hero-copy > p {
    font-size: 17px;
  }

  .guides-section {
    margin-top: 20px;
    padding-top: 27px;
  }

  .guides-setup-grid {
    gap: 13px;
  }

  .guides-setup-grid > li {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 0 14px;
    padding: 20px 18px;
  }

  .guides-step-number {
    grid-row: 1 / 4;
  }

  .guides-setup-grid h3 {
    margin-top: 2px;
    margin-bottom: 9px;
  }

  .guides-setup-grid p {
    margin-bottom: 8px;
  }

  .guides-setup-grid .guides-text-link {
    grid-column: 2;
  }

  .guides-booking-grid {
    gap: 25px;
  }

  .guides-booking-grid .hero-mac-canvas {
    aspect-ratio: auto;
    height: auto;
  }

  .guides-booking-grid .hero-mac-canvas img {
    height: auto;
  }

  .guides-workflow-heading {
    gap: 6px;
  }

  .guides-workflow h3 {
    font-size: 22px;
  }

  .guides-view-pair {
    gap: 22px;
  }

  .guides-view-pair .hero-mac-canvas {
    height: auto;
  }

  .guides-view-pair .hero-mac-canvas img {
    height: auto;
    max-height: 420px;
  }

  .guides-view-pair-packages > div:last-child .hero-mac-canvas img {
    width: auto;
    max-width: 100%;
  }

  .guides-support {
    padding: 22px;
  }
}

/* The essential setup guides start with the completed outcome and direct actions. */
.knowledge-setup-opening {
  min-width: 0;
}

.knowledge-setup-opening > h2 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.3;
}

.knowledge-setup-opening > h2:first-child {
  margin-top: 0;
}

.knowledge-setup-opening > p {
  margin: 0;
  color: #40524a;
  font-size: 17px;
  line-height: 1.65;
}

.knowledge-setup-opening > .knowledge-setup-outcome {
  font-size: 19px;
}

.knowledge-setup-opening .knowledge-product-screenshot {
  width: 100%;
  margin: 23px 0 26px;
}

.knowledge-setup-opening .knowledge-screenshot-window {
  display: block;
  width: 100%;
  box-shadow: 0 8px 25px rgba(36, 49, 42, .07);
}

.knowledge-setup-opening > .knowledge-setup-path {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  background: #fffdfa;
  color: #334c41;
  font-size: 16px;
}

.knowledge-setup-opening .knowledge-quick-setup {
  margin-top: 26px;
  padding: 20px 23px;
}

.knowledge-setup-opening .knowledge-quick-setup h2 {
  font-size: 21px;
  line-height: 1.3;
}

.knowledge-setup-opening .knowledge-quick-setup ol {
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  padding-left: 23px;
}

.knowledge-setup-opening .knowledge-quick-setup li {
  padding-left: 3px;
  font-size: 16px;
  line-height: 1.65;
}

.knowledge-setup-opening .knowledge-quick-setup li::marker {
  color: var(--accent);
  font-weight: 750;
}

.knowledge-setup-opening > .knowledge-setup-check {
  border-left: 3px solid #a9c9b8;
  padding: 3px 0 3px 16px;
  color: #334c41;
}

@media (max-width: 700px) {
  .knowledge-setup-opening > .knowledge-setup-outcome {
    font-size: 18px;
  }

  .knowledge-setup-opening > h2,
  .knowledge-setup-opening .knowledge-quick-setup h2 {
    font-size: 20px;
  }

  .knowledge-setup-opening .knowledge-quick-setup {
    padding: 18px;
  }
}

/* Recent patient captures retain full-size views in the accessible enlargement. */
.guides-hero-preview {
  width: min(360px, 100%);
  justify-self: center;
}

.guides-hero-preview .hero-mac-canvas {
  max-height: 580px;
  overflow: hidden;
}

.guides-hero-preview .hero-mac-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.guides-booking-step-choose .hero-mac-canvas {
  aspect-ratio: 4 / 5;
}

.guides-booking-step-choose .hero-mac-canvas img {
  object-fit: cover;
  object-position: top center;
}

.guides-booking-step-details .hero-mac-canvas,
.guides-booking-step-result .hero-mac-canvas {
  aspect-ratio: auto;
}

.guides-booking-step-details .hero-mac-canvas img,
.guides-booking-step-result .hero-mac-canvas img {
  height: auto;
}

@media (max-width: 700px) {
  .guides-booking-step-choose .hero-mac-canvas {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .guides-booking-step-choose .hero-mac-canvas img {
    height: 100%;
  }
}

.guides-hero-preview .hero-mac-canvas img {
  max-height: 580px;
  object-fit: contain;
}

/* The shared app stylesheet follows page styles. Keep product frames intrinsic
   and override its marketing screenshot ratio within public guides only. */
.knowledge-page .knowledge-screenshot-window {
  aspect-ratio: auto;
}

.knowledge-page .knowledge-screenshot-window .hero-mac-canvas {
  display: block;
  height: auto;
}

.knowledge-page .knowledge-screenshot-window img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.knowledge-page .knowledge-screenshot-window:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.guides-hub .guides-booking-grid .knowledge-screenshot-window .hero-mac-canvas {
  height: auto;
  aspect-ratio: auto;
}

.guides-hub .guides-booking-grid .knowledge-screenshot-window img {
  height: auto;
  object-fit: contain;
}

.guides-hub .guides-booking-step-choose .knowledge-screenshot-window .hero-mac-canvas {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.guides-hub .guides-booking-step-choose .knowledge-screenshot-window img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.guides-hub .guides-view-pair .knowledge-screenshot-window .hero-mac-canvas {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 400px;
}

.guides-hub .guides-view-pair .knowledge-screenshot-window img {
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.guides-hub .guides-view-pair-access .knowledge-screenshot-window .hero-mac-canvas,
.guides-hub .guides-view-pair-packages .knowledge-screenshot-window .hero-mac-canvas {
  height: 400px;
}

@media (max-width: 980px) {
  .guides-hub .guides-view-pair .knowledge-screenshot-window .hero-mac-canvas {
    height: 340px;
  }

  .guides-hub .guides-view-pair-access .knowledge-screenshot-window .hero-mac-canvas,
  .guides-hub .guides-view-pair-packages .knowledge-screenshot-window .hero-mac-canvas {
    height: 340px;
  }
}

@media (max-width: 700px) {
  .guides-hub .guides-view-pair .knowledge-screenshot-window .hero-mac-canvas {
    height: auto;
  }

  .guides-hub .guides-view-pair .knowledge-screenshot-window img {
    height: auto;
    max-height: 420px;
  }
}
