:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body { margin: 0; }
#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; left: 12px; top: -50px; background: #fff; color: #111; padding: 10px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 94%, white 6%);
  position: sticky;
  top: 0;
  z-index: 20;
}
.utility-strip { min-height: 32px; padding: 6px clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: #fff; font-size: 12px; }
.utility-message { color: color-mix(in srgb, white 78%, var(--muted)); font-size: calc(1em + 2px); }
.utility-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.utility-actions a { font-weight: 760; text-decoration: none; }
.utility-account { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: color-mix(in srgb, white 72%, var(--muted)); }
.language-indicator { border-left: 1px solid color-mix(in srgb, white 24%, transparent); padding-left: 18px; font-weight: 800; }
.header-main { width: 100%; min-height: 80px; padding: 0 clamp(18px, 4vw, 56px); display: flex; align-items: stretch; gap: clamp(24px, 3vw, 46px); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; display: block; flex: 0 0 auto; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 18px; line-height: 1.1; font-weight: 850; }
.brand-copy small { color: var(--muted); font-size: 13px; line-height: 1.2; font-weight: 650; }
.header-panel { min-width: 0; flex: 1; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; }
.site-nav { min-width: 0; display: flex; align-items: stretch; gap: 2px; }
.site-nav a { border-bottom: 3px solid transparent; padding: 0 11px; display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 680; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-actions .button { min-height: 44px; }
.nav-toggle { display: none; align-self: center; justify-content: center; align-items: center; padding: 0; border-radius: 4px; }

.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 720;
  background: var(--primary);
  color: #fff;
}
.button:hover { filter: brightness(.94); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.danger { background: #9b2c2c; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; }

.page-shell { flex: 1 0 auto; display: flex; flex-direction: column; }
.tool-layout { flex: 1 0 auto; display: grid; grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); }
.tool-intro { padding: clamp(34px, 6vw, 76px); background: var(--intro); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-ink); font-size: 12px; font-weight: 850; text-transform: uppercase; }
h1, h2, h3 { overflow-wrap: break-word; word-break: normal; }
p { overflow-wrap: anywhere; }
h1 { margin: 0; max-width: 14ch; font-family: var(--display); font-size: clamp(38px, 4.2vw, 64px); line-height: 1.04; letter-spacing: 0; }
.lede { max-width: 48ch; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-visual { display: block; width: min(100%, 520px); max-height: 280px; margin-top: 30px; object-fit: contain; object-position: left center; }
.hero-carousel { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.hero-carousel-image { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(0); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.68,.18,1); }
.hero-carousel-image.is-active { z-index: 2; opacity: 1; transform: translateX(0); }
.hero-carousel-image.is-active.is-entering.is-forward { opacity: 1; transform: translateX(100%); }
.hero-carousel-image.is-active.is-entering.is-backward { opacity: 1; transform: translateX(-100%); }
.hero-carousel-image.is-leaving.is-forward { z-index: 1; opacity: 0; transform: translateX(-100%); }
.hero-carousel-image.is-leaving.is-backward { z-index: 1; opacity: 0; transform: translateX(100%); }
.writer-home-hero-image { opacity: 0; transform: translateX(0); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.68,.18,1); }
.writer-home-hero-image.is-active { z-index: 1; opacity: 1; transform: translateX(0); }
.writer-home-hero-image.is-active.is-entering.is-forward { opacity: 1; transform: translateX(100%); }
.writer-home-hero-image.is-active.is-entering.is-backward { opacity: 1; transform: translateX(-100%); }
.writer-home-hero-image.is-leaving.is-forward { z-index: 0; opacity: 0; transform: translateX(-100%); }
.writer-home-hero-image.is-leaving.is-backward { z-index: 0; opacity: 0; transform: translateX(100%); }
.hero-carousel-controls { position: absolute; z-index: 4; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 7px; }
.hero-carousel-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: rgb(24 24 22 / 78%); color: #fff; cursor: pointer; font: inherit; font-size: 18px; line-height: 1; }
.hero-carousel-controls button:hover { background: rgb(24 24 22 / 95%); }
.hero-carousel-controls .hero-carousel-dot { width: 9px; height: 9px; border: 0; background: rgb(255 255 255 / 65%); }
.hero-carousel-controls .hero-carousel-dot.is-active { width: 24px; border-radius: 8px; background: #fff; }
.hero-carousel :focus-visible, .hero-carousel-background :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-carousel-figure-caption { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-image, .writer-home-hero-image { transition: none; }
  .hero-carousel-image.is-active.is-entering.is-forward, .hero-carousel-image.is-active.is-entering.is-backward,
  .writer-home-hero-image.is-active.is-entering.is-forward, .writer-home-hero-image.is-active.is-entering.is-backward { transform: translateX(0); }
}

/* Artwork uses manifest paths; layout and palette remain site-specific. */
.feature-visual { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin: 0 0 24px; }
.workflow-visual, .auth-visual, .pricing-visual { min-width: 0; margin: 28px 0 0; }
.workflow-visual img, .auth-visual img, .pricing-visual img { display: block; width: 100%; height: auto; }
.workflow-visual figcaption, .auth-visual figcaption, .pricing-visual figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.auth-page.has-visual { width: min(1100px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.auth-visual { margin: 0; }
.support-visual { display: block; width: min(280px, 100%); height: auto; margin: 0 auto 24px; }
.pricing-intro-visual { display: none; min-width: 0; margin: 0; }
.pricing-intro-visual img { display: block; width: 100%; height: auto; }
.pricing-intro-visual figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.plan-visual { display: block; width: 112px; max-width: 100%; height: auto; aspect-ratio: 8 / 5; margin: 0 0 14px; object-fit: cover; }
.catalog-visual { display: block; width: 104px; height: 65px; object-fit: cover; grid-column: 1; grid-row: 1 / 3; }
.task-catalog li:has(.catalog-visual) { grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.task-catalog li:has(.catalog-visual) :is(strong, span) { grid-column: 2; }
@media (max-width: 900px) {
  .auth-page.has-visual { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .auth-visual { width: min(480px, 100%); margin-inline: auto; }
  .auth-visual img { max-height: 230px; object-fit: contain; }
}
@media (max-width: 560px) {
  .auth-page.has-visual { width: calc(100% - 32px); }
  .auth-visual img { max-height: 170px; }
  .catalog-visual { width: 80px; height: 50px; }
  .task-catalog li:has(.catalog-visual) { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; }
}
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); font-size: 16px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list li::before { content: "✓"; color: var(--accent-ink); font-weight: 900; }

.workspace { padding: clamp(24px, 4vw, 60px); display: flex; align-items: center; }
.workspace-inner { width: min(860px, 100%); margin: auto; }
.workspace-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.workspace-header h2 { margin: 0; font-family: var(--display); font-size: 27px; letter-spacing: 0; }
.credit-meter { color: var(--muted); font-size: 13px; white-space: nowrap; }

.tool-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span, .fieldset-label { color: var(--muted); font-weight: 700; font-size: 13px; }
input, textarea, select { width: 100%; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); border-radius: 4px; padding: 12px 13px; }
textarea { min-height: 210px; resize: vertical; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 5px; overflow: hidden; }
.segmented button { min-height: 42px; border: 0; border-right: 1px solid var(--line-strong); background: var(--field); color: var(--muted); }
.segmented button:last-child { border-right: 0; }
.segmented button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.task-selector button { min-width: 0; min-height: 54px; padding: 8px 10px; line-height: 1.25; font-weight: 800; }
.task-description { min-height: 42px; margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.task-catalog { list-style: none; display: grid; gap: 0; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.task-catalog li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.task-catalog strong { font-family: var(--display); font-size: 18px; }
.task-catalog span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.account-workspace { border-bottom: 1px solid var(--line); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 48ch; }
.status { min-height: 24px; margin: 16px 0 0; color: var(--muted); }
.status.error { color: #a22d2d; }
.result { margin-top: 24px; border-top: 3px solid var(--accent); background: var(--result); padding: 22px; border-radius: 0 0 6px 6px; }
.result h3 { margin: 0 0 12px; font-family: var(--display); }
.result pre { white-space: pre-wrap; font: inherit; line-height: 1.65; margin: 0; }

/* Defaults for descriptive copy that previously inherited the 16px body size. */
:where(.notice, .status, .verification-countdown, .content-copy > p:not(.eyebrow, .document-date, .document-summary), .document-section p, .document-section li, .side-facts p, .account-page .side-facts dl > div:last-child dd, .plan-summary, .price-item ul, .home-highlight p, .home-step p, .home-assurance li, .home-faq dd, .purchase-intro > p:not(.eyebrow), .purchase-detail-grid p, .purchase-missing p, .empty-state, .policy-acceptance, .help-empty p, .auth-panel > p:not(.eyebrow, .status, .notice), .result pre) { font-size: 18px; }
.document-sidebar > p { font-size: calc(1em + 2px); }

.auth-page, .content-page, .purchase-page { flex: 1 0 auto; width: min(1060px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 90px; }
.auth-page { flex: 1 1 auto; padding-block: clamp(32px, 5vh, 54px) clamp(36px, 7vh, 64px); }
.auth-panel { width: min(480px, 100%); margin: 0 auto; }
.auth-panel h1, .content-page h1 { font-size: clamp(34px, 5vw, 58px); max-width: 18ch; }
.auth-panel form { margin-top: 28px; display: grid; gap: 16px; }
.auth-policies { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.auth-policy-acceptance { display: flex; gap: 10px; align-items: flex-start; line-height: 1.65; font-size: calc(.9rem + 2px); cursor: pointer; }
.auth-policy-acceptance input { width: 18px; height: 18px; flex: 0 0 18px; margin: 4px 0 0; padding: 0; accent-color: var(--primary); cursor: pointer; }
.auth-policy-acceptance span, .auth-policy-note, .auth-policy-version { min-width: 0; overflow-wrap: anywhere; }
.auth-policy-acceptance a { text-underline-offset: 3px; }
.auth-policy-note { margin: 12px 0 0; color: var(--muted); font-size: calc(.8rem + 2px); line-height: 1.65; }
.auth-policy-version { margin: 10px 0 0; font-size: .75rem; }
.notice { padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--soft); line-height: 1.5; }
.verification-actions { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.verification-countdown { margin: 0; color: var(--muted); line-height: 1.5; }
.verification-login { flex: 0 0 auto; text-decoration: none; }
.content-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 32%); gap: clamp(32px, 7vw, 90px); }
.content-copy { max-width: 720px; }
.content-copy h2 { margin-top: 34px; font-family: var(--display); }
.content-copy p, .content-copy li { color: var(--muted); line-height: 1.7; }
.side-facts { border-left: 1px solid var(--line); padding-left: 28px; align-self: start; }
.side-facts dl { display: grid; gap: 20px; }
.side-facts dt { font-size: 12px; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.side-facts dd { margin: 4px 0 0; }

.contact-page { width: min(680px, 100%); min-width: 0; margin-inline: auto; padding: 48px 24px 60px; }
.contact-heading { text-align: center; margin-bottom: 30px; }
.contact-icon { width: 48px; height: 48px; margin: 0 auto 18px; display: grid; place-items: center; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-heading h1 { max-width: none; font-size: clamp(32px, 4vw, 44px); }
.contact-heading > p:last-child { margin: 14px auto 0; max-width: 58ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-form { min-width: 0; display: grid; gap: 18px; padding: 26px; border: 1px solid var(--line); background: var(--field); }
.contact-field-row { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form .field { min-width: 0; }
.contact-form textarea { min-height: 180px; }
.contact-submit { width: 100%; min-height: 46px; }
.contact-submit svg { width: 18px; height: 18px; flex: 0 0 auto; }
.contact-privacy-note { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.contact-help { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.65; }
.contact-help a, .contact-privacy-note a { text-underline-offset: 3px; }
.contact-details { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-details summary { cursor: pointer; font-size: 13px; font-weight: 650; color: var(--muted); line-height: 1.6; }
.contact-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.contact-details-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px; margin-top: 20px; }
.contact-details h2 { font-size: 15px; margin: 0; }
.contact-details p { margin: 6px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-details .merchant-details { margin: 0; }
.contact-success { padding: 16px; border: 1px solid var(--line-strong); background: var(--soft); font-size: 16px; line-height: 1.6; }
.contact-success p { margin: 8px 0 0; }
.contact-success [data-testid="contact-reference"] { overflow-wrap: anywhere; }
.contact-message-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.contact-inspector h2 { overflow-wrap: anywhere; }
.contact-inspector dd { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .contact-page { padding: 32px 16px 44px; }
  .contact-form { padding: 20px; }
  .contact-field-row, .contact-details-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Help shares accessible structure; its surfaces and topic layouts belong to each site. */
.help-page { flex: 1 0 auto; width: min(1000px, calc(100% - 48px)); min-width: 0; margin-inline: auto; padding-block: 58px 84px; }
.help-page > *, .help-topic-heading, .help-topic-articles, .help-answer > * { min-width: 0; }
.help-hero { max-width: 720px; margin-inline: auto; text-align: center; }
.help-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; color: var(--primary); }
.help-icon svg { width: 30px; height: 30px; }
.help-hero h1 { max-width: none; font-size: clamp(34px, 4.5vw, 50px); line-height: 1.15; }
.help-introduction { max-width: 60ch; margin: 16px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.help-search { width: min(680px, 100%); margin: 32px auto 0; display: flex; align-items: center; gap: 12px; }
.help-search-field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid var(--line-strong); background: var(--field); }
.help-search-field > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--muted); }
.help-search-field:focus-within { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.help-search input[type="search"] { min-width: 0; min-height: 54px; border: 0; border-radius: 0; padding: 12px 0; background: transparent; color: var(--ink); font-size: 16px; }
.help-search input[type="search"]:focus-visible { outline: 0; }
.help-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.help-search-clear { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 13px; }
.help-search-clear:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.help-results-summary { margin: 18px auto 34px; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.help-topics { display: grid; gap: 36px; }
.help-topic { min-width: 0; }
.help-topic-heading h2 { margin: 0 0 16px; font-family: var(--display); font-size: 25px; line-height: 1.25; }
.help-topic-heading p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.help-article { min-width: 0; margin: 0; border-bottom: 1px solid var(--line); }
.help-article summary { min-height: 60px; display: flex; align-items: center; gap: 16px; padding: 17px 18px; list-style: none; cursor: pointer; }
.help-article summary::-webkit-details-marker { display: none; }
.help-article summary::marker { content: ""; }
.help-article summary:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: -3px; }
.help-question { flex: 1 1 auto; min-width: 0; color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.help-toggle { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--muted); }
.help-toggle svg { display: block; width: 18px; height: 18px; }
.help-article[open] .help-toggle svg { transform: rotate(180deg); }
.help-answer { padding: 0 18px 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.help-answer p { margin: 0 0 14px; }
.help-answer p:last-child { margin-bottom: 0; }
.help-article-links { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: 14px 0 0; list-style: none; }
.help-article-links li { min-width: 0; max-width: 100%; }
.help-article-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent-ink); text-underline-offset: 4px; overflow-wrap: anywhere; }
.help-empty { padding: 36px 24px; border: 1px solid var(--line); background: var(--field); text-align: center; }
.help-empty h2 { margin: 0; font-family: var(--display); font-size: 24px; }
.help-empty p { max-width: 55ch; margin: 14px auto 20px; color: var(--muted); line-height: 1.65; }
.help-support-card { margin-top: 48px; padding: 32px; border: 1px solid var(--line-strong); background: var(--soft); text-align: center; }
.help-support-card h2 { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.25; }
.help-support-card p { max-width: 60ch; margin: 14px auto 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.help-support-card .button { width: auto; max-width: 100%; }
.help-manual-link { display: block; width: fit-content; max-width: 100%; margin: 18px auto 0; color: var(--accent-ink); font-size: 13px; line-height: 1.6; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .help-page { width: calc(100% - 32px); padding-block: 36px 58px; }
  .help-search { gap: 8px; margin-top: 26px; }
  .help-search-field { gap: 10px; padding-inline: 14px; }
  .help-topics { gap: 28px; }
  .help-topic-heading h2 { font-size: 23px; }
  .help-article summary { gap: 10px; padding: 14px; }
  .help-answer { padding: 0 14px 20px; }
  .help-support-card { margin-top: 34px; padding: 26px 20px; }
  .help-support-card h2 { font-size: 25px; }
  .help-empty { padding: 28px 18px; }
}

.pricing-page { grid-template-columns: minmax(0, 1fr); }
.pricing-page .content-copy { max-width: none; }
.pricing-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.price-item { border: 1px solid var(--line-strong); padding: 24px; border-radius: 6px; background: var(--field); }
.price-item h2 { margin: 0; font-family: var(--display); }
.price { font-family: var(--display); font-size: 38px; margin: 10px 0; }
.plan-credits { color: var(--accent-ink); font-weight: 800; }
.plan-summary { color: var(--muted); line-height: 1.55; }
.price-item ul { padding-left: 18px; color: var(--muted); line-height: 1.7; }
.plan-action { margin-top: 12px; align-self: end; }
.pricing-page .side-facts { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; display: grid; grid-template-columns: minmax(130px, .3fr) minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.pricing-page .side-facts h2, .pricing-page .side-facts p { margin: 0; }
.pricing-page .side-facts a { white-space: nowrap; }
.mock-warning { border: 1px solid #c67756; padding: 14px; color: #7b321d; margin-top: 18px; }
.qr { width: 180px; height: 180px; background: white; border: 1px solid var(--line); padding: 8px; }
.mock-tools { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.mock-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-order { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 20px; }
.mock-order h3 { margin-top: 0; }
.mock-order code { overflow-wrap: anywhere; }
.purchase-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(36px, 7vw, 86px); align-items: start; }
.purchase-intro > p:not(.eyebrow) { max-width: 62ch; color: var(--muted); line-height: 1.7; }
.purchase-intro h1 { max-width: 16ch; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-weight: 760; }
.purchase-detail-grid { margin-top: 42px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.purchase-detail-grid section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.purchase-detail-grid h2 { margin: 0 0 8px; font: 700 21px/1.25 var(--display); }
.purchase-detail-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.purchase-order { border: 1px solid var(--line-strong); background: var(--field); padding: clamp(22px, 4vw, 34px); }
.purchase-order h2 { margin: 0; font: 700 30px/1.15 var(--display); }
.order-lines { margin: 28px 0 16px; }
.order-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-lines dt { color: var(--muted); font-size: 13px; font-weight: 750; }
.order-lines dd { margin: 0; font-weight: 800; text-align: right; }
.order-lines .order-total { padding-top: 20px; border-bottom: 0; }
.order-lines .order-total dt, .order-lines .order-total dd { color: var(--ink); font: 700 23px/1.2 var(--display); }
.purchase-order .mock-tools.compact { margin-top: 24px; }
.purchase-order .mock-tools.compact > h3 { margin: 0; }
.purchase-order .mock-warning { font-size: 15px; line-height: 1.55; }
.purchase-order .mock-order { grid-template-columns: 1fr; }
.purchase-order .qr { width: min(180px, 100%); height: auto; aspect-ratio: 1; }
.purchase-disabled { margin-top: 26px; }
.purchase-disabled .button { width: 100%; }
.purchase-disabled p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.purchase-missing { grid-column: 1 / -1; max-width: 620px; }
.activity-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.activity-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity-list small { color: var(--muted); }
.activity-value { font-weight: 800; white-space: nowrap; }

.account-page .content-copy { max-width: 780px; }
.account-delete-action { margin-top: 16px; }
.task-center { margin-top: 38px; padding-block: 28px; border-top: 2px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.section-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.section-heading-row h2, .section-heading-row h3 { margin: 0; font-family: var(--display); }
.section-heading-row .eyebrow { margin: 0 0 6px; }
.task-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.empty-state { margin: 22px 0 0; }
.task-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.task-list li { border-bottom: 1px solid var(--line); }
.task-row { width: 100%; min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; border-left: 3px solid transparent; padding: 12px 10px 12px 14px; background: transparent; color: var(--ink); text-align: left; }
.task-row:hover, .task-row:focus-visible, .task-row.is-selected { border-left-color: var(--accent); background: var(--soft); }
.task-row > span:first-child { min-width: 0; display: grid; gap: 4px; }
.task-row small { color: var(--muted); }
.task-status { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.task-status.is-processing { border-color: var(--accent); color: var(--accent-ink); }
.task-status.is-succeeded { border-color: #4f7d5b; color: #315f3c; }
.task-status.is-failed { border-color: #b84c4c; color: #983333; }
.task-detail { margin-top: 28px; padding-top: 24px; border-top: 3px solid var(--accent); }
.task-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 22px 0; }
.task-metadata div { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.task-metadata dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.task-metadata dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.task-payload { margin-top: 22px; }
.task-payload h4 { margin: 0 0 8px; }
.task-payload pre { max-height: 320px; margin: 0; overflow: auto; border: 1px solid var(--line); background: var(--field); padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.task-result-image { display: block; width: min(100%, 560px); max-height: 520px; object-fit: contain; border: 1px solid var(--line); background: var(--field); }

.upload-zone { border: 1px dashed var(--line-strong); padding: 28px; text-align: center; background: var(--field); }
.image-preview { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.image-preview figure { margin: 0; }
.image-preview img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); background: var(--soft); }
.image-preview figcaption { color: var(--muted); font-size: 14px; margin-top: 7px; }

.home-story { width: 100%; }
.home-overview, .home-faq {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}
.home-workflow, .home-assurance {
  width: 100%;
  padding: 76px max(18px, calc((100% - 1160px) / 2));
}
.home-section-heading h2, .home-faq h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}
.home-section-heading > p:last-child, .home-section-heading > .section-introduction {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.home-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-highlight { padding: 24px; border: 1px solid var(--line); background: var(--field); }
.home-highlight > span { color: var(--accent-ink); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.home-highlight h3 { margin: 28px 0 10px; font-family: var(--display); font-size: 23px; }
.home-highlight p, .home-step p, .home-assurance p, .home-assurance li, .home-faq dd { color: var(--muted); line-height: 1.65; }
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-step { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.home-step > span { color: var(--accent-ink); font-family: var(--display); font-size: 30px; }
.home-step h3 { margin: 0 0 10px; font-family: var(--display); font-size: 22px; }
.home-step p { margin: 0; }
.home-assurance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.home-assurance li { position: relative; padding-left: 24px; }
.home-assurance li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 900; }
.home-faq dl { margin: 0; display: grid; gap: 0; }
.home-faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
.home-faq-item:last-child { border-bottom: 1px solid var(--line); }
.home-faq dt { font-family: var(--display); font-size: 20px; font-weight: 800; }
.home-faq dd { margin: 8px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px clamp(18px, 4vw, 56px); display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.admin-shell { flex: 1 0 auto; min-width: 0; background: #f4f6f7; color: #17212b; --admin-line: #d7dde2; --admin-muted: #60707d; }
.admin-topbar { min-height: 68px; padding: 10px clamp(18px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--admin-line); background: #fff; }
.admin-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.admin-brand img { width: 38px; height: 38px; }
.admin-brand span { display: grid; gap: 1px; }
.admin-brand strong { font-size: 15px; }
.admin-brand small { color: var(--admin-muted); font-size: 11px; }
.admin-account { display: flex; align-items: center; gap: 18px; color: var(--admin-muted); font-size: 13px; }
.admin-text-button, .admin-record-link { border: 0; padding: 0; background: transparent; color: var(--primary); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.admin-text-button:disabled { opacity: .5; cursor: not-allowed; }
.admin-auth-page { min-height: calc(100dvh - 68px); padding: clamp(36px, 7vw, 88px) 18px; display: grid; place-items: start center; }
.admin-auth-panel { width: min(460px, 100%); padding: clamp(24px, 5vw, 42px); border: 1px solid var(--admin-line); background: #fff; box-shadow: 0 16px 40px rgb(28 42 55 / 8%); }
.admin-auth-panel h1 { max-width: 14ch; color: #17212b; font: 750 clamp(30px, 5vw, 44px)/1.08 ui-sans-serif, system-ui, sans-serif; }
.admin-auth-panel > p:not(.eyebrow, .status, .admin-auth-note) { color: var(--admin-muted); line-height: 1.6; }
.admin-auth-panel form { display: grid; gap: 16px; margin-top: 28px; }
.admin-auth-note { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--admin-line); color: var(--admin-muted); font-size: 14px; line-height: 1.55; }
.admin-layout { min-height: calc(100dvh - 68px); display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.admin-sidebar { padding: 28px 18px; border-right: 1px solid var(--admin-line); background: #202b35; color: #fff; }
.admin-sidebar nav { display: grid; gap: 3px; }
.admin-sidebar a { min-height: 42px; padding: 0 12px; display: flex; align-items: center; border-left: 3px solid transparent; color: #d8e0e5; text-decoration: none; font-size: 13px; font-weight: 700; }
.admin-sidebar a:hover, .admin-sidebar a[aria-current="page"] { border-left-color: var(--accent); background: rgb(255 255 255 / 8%); color: #fff; }
.admin-sidebar > p { margin: 34px 12px 0; color: #a9b6bf; font-size: 13px; line-height: 1.55; }
.admin-content { min-width: 0; padding: clamp(26px, 4vw, 50px); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-heading h1 { max-width: none; color: #17212b; font: 750 34px/1.12 ui-sans-serif, system-ui, sans-serif; }
.admin-total { color: var(--admin-muted); font-size: 13px; }
.admin-alert { margin: 0 0 20px; border-left-color: #4b7b58; background: #edf5ef; }
.admin-alert.error { border-left-color: #a83c3c; background: #faeeee; color: #8b2828; }
.admin-dashboard { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 14px; }
.admin-dashboard article { min-height: 142px; padding: 20px; display: grid; align-content: space-between; gap: 12px; border: 1px solid var(--admin-line); border-top: 3px solid var(--accent); background: #fff; }
.admin-dashboard span { color: var(--admin-muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.admin-dashboard strong { font-size: 30px; line-height: 1; }
.admin-dashboard small { color: var(--admin-muted); }
.admin-filters { margin-bottom: 20px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto; gap: 12px; align-items: end; }
.admin-filters .button { min-width: 92px; }
.admin-table-wrap { min-width: 0; overflow-x: auto; border: 1px solid var(--admin-line); background: #fff; }
.admin-table-wrap table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 12px; }
.admin-table-wrap th { padding: 11px 13px; border-bottom: 1px solid #bfc8cf; background: #eef1f3; color: #42515d; text-align: left; font-size: 11px; text-transform: uppercase; white-space: nowrap; }
.admin-table-wrap td { max-width: 260px; padding: 13px; border-bottom: 1px solid #e5e9ec; vertical-align: top; overflow-wrap: anywhere; }
.admin-table-wrap tbody tr:last-child td { border-bottom: 0; }
.admin-table-wrap tbody tr:hover { background: #f8fafb; }
.admin-table-wrap td small { margin-top: 4px; display: block; color: var(--admin-muted); font-size: 10px; }
.admin-table-wrap code { display: block; max-width: 280px; overflow: hidden; color: #44525e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-record-link { max-width: 230px; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.admin-status { display: inline-flex; min-height: 23px; padding: 3px 7px; align-items: center; border: 1px solid #aeb8c0; color: #4b5964; font-size: 10px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.admin-status[data-status="active"], .admin-status[data-status="succeeded"], .admin-status[data-status="credit"] { border-color: #5d8d68; background: #edf6ef; color: #315d3a; }
.admin-status[data-status="disabled"], .admin-status[data-status="failed"], .admin-status[data-status="debit"] { border-color: #b96464; background: #faeeee; color: #8e3030; }
.admin-status[data-status="queued"], .admin-status[data-status="processing"], .admin-status[data-status="provider_pending"], .admin-status[data-status="manual_review"] { border-color: #9b7a3a; background: #fbf5e8; color: #74571f; }
.admin-empty { margin: 0; padding: 42px; color: var(--admin-muted); text-align: center; }
.admin-pagination { margin-top: 18px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; color: var(--admin-muted); font-size: 12px; }
.admin-inspector { margin-top: 22px; padding: 24px; border: 1px solid var(--admin-line); border-top: 3px solid var(--accent); background: #fff; }
.admin-inspector h2 { font: 700 21px/1.25 ui-sans-serif, system-ui, sans-serif; }
.admin-inspector dl { margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-inspector dt { color: var(--admin-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.admin-inspector dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .header-main { min-height: 70px; align-items: center; padding-block: 10px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: var(--field);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 18px 34px rgb(20 30 40 / 16%);
  }
  .header-panel.is-open { display: flex; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; }
  .site-nav a { min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--line); }
  .site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .header-actions { width: 100%; }
  .header-actions .button { flex: 1; }
  .admin-dashboard { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}

@media (max-width: 820px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-intro { min-height: 48vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace { align-items: start; }
  .content-page { grid-template-columns: 1fr; }
  .purchase-page { grid-template-columns: 1fr; }
  .side-facts { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .pricing-page .side-facts { grid-template-columns: 1fr; gap: 12px; }
  .home-overview, .home-workflow, .home-assurance, .home-faq { padding-block: 58px; }
  .home-section-heading h2, .home-faq h2 { font-size: 34px; }
  .home-highlights, .home-steps { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--admin-line); overflow-x: auto; }
  .admin-sidebar nav { display: flex; width: max-content; gap: 2px; }
  .admin-sidebar a { border-left: 0; border-bottom: 3px solid transparent; padding-inline: 14px; }
  .admin-sidebar a:hover, .admin-sidebar a[aria-current="page"] { border-left-color: transparent; border-bottom-color: var(--accent); }
  .admin-sidebar > p { display: none; }
  .admin-content { padding: 26px 18px 44px; }
  .admin-filters { grid-template-columns: 1fr 1fr; }
  .admin-filters .button { grid-column: 1 / -1; }
  .admin-inspector dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.document-page .content-copy { max-width: 860px; min-width: 0; }
.document-page p, .document-page li, .document-sidebar a { overflow-wrap: anywhere; line-height: 1.75; }
.document-summary { font-size: calc(1.1rem + 2px); }
.document-date { color: var(--muted); font-size: .9rem; }
.document-section { margin-top: 36px; scroll-margin-top: 24px; }
.document-section h2 { font-family: var(--display); }
.document-section li { margin-bottom: 12px; padding-left: 4px; }
.document-sidebar a { display: block; margin-bottom: 10px; }
.document-sidebar nav { margin-bottom: 32px; }

.reference-page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: clamp(36px, 6vw, 76px) 0; }
.reference-page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr); gap: clamp(28px, 6vw, 84px); align-items: center; padding-bottom: clamp(38px, 6vw, 76px); }
.reference-page-title { min-width: 0; }
.reference-page-title h1 { max-width: 17ch; }
.reference-page-introduction { max-width: 66ch; margin: 22px 0 28px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.reference-page-hero-art { margin: 0; min-width: 0; }
.reference-page-hero-art img { display: block; width: 100%; max-height: 390px; aspect-ratio: 4 / 3; object-fit: cover; }
.reference-page-hero-art figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.reference-interactive { margin: 0 0 54px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line-strong); background: var(--field); }
.reference-interactive > p { color: var(--muted); line-height: 1.65; }
.reference-interactive textarea { min-height: 190px; resize: vertical; }
.reference-calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reference-calculator-result { padding-top: 16px; border-top: 1px solid var(--line); }
.reference-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.reference-metrics div { padding-top: 12px; border-top: 2px solid var(--accent); }
.reference-metrics dt { color: var(--muted); font-size: 13px; font-weight: 750; }
.reference-metrics dd { margin: 5px 0 0; font-size: 26px; font-weight: 800; }
.reference-page-sections { display: grid; }
.reference-content-section { padding: clamp(24px, 4vw, 46px) 0; border-top: 1px solid var(--line); }
.reference-content-section h2 { max-width: 24ch; margin: 0 0 14px; font-family: var(--display); font-size: 30px; line-height: 1.15; }
.reference-content-section p, .reference-content-section li { max-width: 72ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.reference-content-section ul { display: grid; gap: 8px; padding-left: 22px; }
.reference-content-section.has-art { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.reference-content-section.has-art img { display: block; width: 100%; max-height: 360px; aspect-ratio: 4 / 3; object-fit: cover; }
.reference-feature-section { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 22px; background: var(--line); border: 1px solid var(--line); }
.reference-feature { min-width: 0; padding: clamp(20px, 3vw, 32px); background: var(--page); }
.reference-feature img { display: block; width: 100%; aspect-ratio: 8 / 5; margin-bottom: 20px; object-fit: cover; }
.reference-feature h2 { margin: 0 0 10px; font-family: var(--display); font-size: 21px; line-height: 1.25; }
.reference-feature p { color: var(--muted); line-height: 1.65; }
.reference-feature a { color: var(--accent-ink); font-weight: 750; }
.reference-page-end { margin-top: 50px; padding: 30px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line-strong); }
.reference-page-end p { color: var(--muted); }
.reference-page-planner .reference-interactive { max-width: 760px; }
.reference-page-catalog .reference-page-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
.reference-page-enhancement .reference-feature-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reference-interactive.recipe-browser { max-width: none; padding: 0; border: 0; background: transparent; }
.recipe-inspiration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.recipe-inspiration-item { min-width: 0; display: grid; grid-template-columns: minmax(120px, .68fr) minmax(0, 1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); background: var(--field); }
.recipe-inspiration-item > img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.recipe-inspiration-item > div { min-width: 0; }
.recipe-inspiration-item .eyebrow { margin-bottom: 8px; font-size: 10px; }
.recipe-inspiration-item h2 { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.2; }
.recipe-inspiration-item p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.recipe-inspiration-item a { color: var(--accent-ink); font-weight: 750; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.recipe-tags li { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
@media (max-width: 820px) {
  .reference-page-hero, .reference-content-section.has-art { grid-template-columns: 1fr; }
  .reference-page-hero-art { max-width: 640px; }
  .reference-page-catalog .reference-page-sections { grid-template-columns: 1fr; }
  .reference-feature-section { grid-template-columns: 1fr; }
  .recipe-inspiration-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .reference-page { width: calc(100% - 32px); padding-block: 32px 46px; }
  .reference-page-hero { gap: 24px; padding-bottom: 34px; }
  .reference-page-title h1 { font-size: 38px; }
  .reference-page-introduction { margin: 16px 0 22px; font-size: 17px; }
  .reference-interactive { padding: 20px 16px; margin-bottom: 36px; }
  .reference-calculator-fields { grid-template-columns: 1fr; }
  .reference-metrics { gap: 10px; }
  .reference-metrics dd { font-size: 22px; }
  .reference-content-section { padding-block: 28px; }
  .reference-content-section h2 { font-size: 25px; }
  .reference-content-section p, .reference-content-section li { font-size: 16px; }
  .reference-feature-section, .reference-page-enhancement .reference-feature-section { grid-template-columns: 1fr; }
  .reference-page-end { align-items: stretch; flex-direction: column; }
  .recipe-inspiration-item { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .recipe-inspiration-item > img { min-height: 110px; }
  .recipe-inspiration-item h2 { font-size: 18px; }
}
.policy-acceptance { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; line-height: 1.6; }
.policy-acceptance input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; }
.credit-summary { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 20px 0; }
.credit-summary dt, .merchant-details dt { color: var(--muted); font-size: .85rem; }
.credit-summary dd, .merchant-details dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.merchant-details { display: grid; gap: 14px; margin: 24px 0; font-size: .9rem; }
.credit-lots li, .payment-order-list li { gap: 16px; align-items: flex-start; }
.credit-lots small, .payment-order-list small, .order-refund, .credit-lots li > span { overflow-wrap: anywhere; }
.credit-lots li > span, .payment-order-list li > div { min-width: 0; }
.refund-details{min-width:0;max-width:100%;margin-block:16px;overflow-wrap:anywhere}.refund-details dl{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:6px 12px;margin:12px 0}.refund-details dt{font-weight:600}.refund-details dd{min-width:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.payment-order-list textarea{box-sizing:border-box;width:100%;max-width:100%;font:inherit}.payment-order-list summary{cursor:pointer}.payment-order-list form{display:grid;gap:12px;margin:12px 0}.gw-resource-row .refund-details{flex-basis:100%}.gw-resource-row:has(.refund-details){flex-wrap:wrap}@media(max-width:380px){.refund-details dl{grid-template-columns:minmax(0,1fr)}.refund-details dd{margin-bottom:8px}}
.order-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.order-actions .button { padding: 10px 14px; font-size: .85rem; }
.order-refund { margin-bottom: 0; }

@media (max-width: 560px) {
  .credit-lots li, .payment-order-list li { flex-direction: column; }
  .order-actions { align-items: stretch; width: 100%; }
}

@media (max-width: 560px) {
  .header-main { padding-inline: 14px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-copy strong { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-copy small { display: none; }
  .utility-strip { padding-inline: 14px; }
  .utility-message { max-width: 48%; }
  .utility-account { display: none; }
  .tool-intro, .workspace { padding: 26px 18px; }
  h1 { font-size: 40px; }
  .field-row, .pricing-grid, .image-preview { grid-template-columns: 1fr; }
  .mock-order { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; }
  .task-metadata { grid-template-columns: 1fr; }
  .form-actions, .workspace-header, .site-footer { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .admin-account > span { display: none; }
  .admin-content { padding-inline: 12px; }
  .admin-dashboard, .admin-filters, .admin-inspector dl { grid-template-columns: 1fr; }
  .admin-heading { align-items: flex-start; }
  .admin-dashboard article { min-height: 122px; }
  .admin-pagination { justify-content: space-between; }
  .admin-pagination .button { width: auto; }
}
