@import url('/article.css');

/* Help Center (Intercom-style): brand header, search, collection cards, readable article column.
   Light-only customer page; tokens are scoped here so desk token changes never restyle it. */
.help-site {
  --help-brand: #2e50cc;
  --help-brand-dark: color-mix(in srgb, var(--help-brand) 84%, #000);
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --quiet: #8a8a8a;
  --page: #f7f7f6;
  --surface: #fff;
  --hover: #f5f5f4;
  --line: #e6e6e4;
  --soft-line: #efefed;
  --control-line: #d9d9d6;
  --accent: var(--help-brand);
  --accent-hover: var(--help-brand-dark);
  --accent-soft: color-mix(in srgb, var(--help-brand) 8%, #fff);
  --accent-line: color-mix(in srgb, var(--help-brand) 26%, #fff);
  --focus: var(--help-brand);
  --success-ink: #137a3f;
  --success-soft: #e7f6ec;
  --danger-ink: #c4262e;
  --warning-soft: #fff4dc;
  --warning-ink: #9a5b00;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
:root:has(> body.help-site) { color-scheme: light; background: var(--surface, #fff); }
.help-site.theme-slate { --help-brand: #30465a; }
.help-site.theme-teal { --help-brand: #225e56; }
.help-site.theme-rust { --help-brand: #843c2a; }
.help-site.help-font-serif { font-family: Georgia, "Times New Roman", serif; }
.help-site.help-font-humanist { font-family: Verdana, Geneva, sans-serif; }
.help-site :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.help-site .button { min-height: 36px; padding: 0 14px; border: 1px solid var(--control-line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; }
.help-site .button:hover { background: var(--hover); border-color: var(--control-line); }
.help-site .button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.help-site .button.primary:hover { background: #333; border-color: #333; }
.help-wrap { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.help-banner {
  padding: 20px 0 64px;
  background: linear-gradient(180deg, var(--help-brand) 0%, var(--help-brand-dark) 100%);
  color: #fff;
}
.help-banner.compact-banner { padding-bottom: 28px; }
.help-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; margin-bottom: 48px; }
.help-banner.compact-banner .help-brand-row { margin-bottom: 24px; }
.help-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.help-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help-logo { width: auto; max-width: min(36vw, 160px); max-height: 40px; object-fit: contain; }
.help-brand .brand-mark { width: 32px; height: 32px; }
.help-portal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; }
.help-portal-links a { color: #fff; font-size: 14px; font-weight: 500; opacity: .92; }
.help-portal-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.help-portal-links .help-contact-link { display: inline-flex; white-space: nowrap; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgb(255 255 255 / .4); border-radius: 999px; background: rgb(255 255 255 / .12); opacity: 1; }
.help-portal-links .help-contact-link:hover { background: rgb(255 255 255 / .2); text-decoration: none; }
.help-banner h1 { max-width: 760px; margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.help-banner h1 + p { max-width: 680px; margin: 0 0 4px; color: rgb(255 255 255 / .86); font-size: 16px; }
.help-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 6px 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 8px 24px rgb(0 0 0 / .12);
}
.compact-banner .help-search { margin-top: 0; min-height: 48px; }
.help-search:focus-within { box-shadow: 0 0 0 3px rgb(255 255 255 / .45), 0 8px 24px rgb(0 0 0 / .12); }
.help-search label { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--quiet); cursor: text; }
.help-search input { width: 100%; min-width: 0; min-height: 48px; padding: 0; border: 0; outline: none; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.help-search input::placeholder { color: var(--quiet); }
.help-search input::-webkit-search-cancel-button { cursor: pointer; }
.help-search button { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--help-brand); color: #fff; font-size: 14px; font-weight: 500; }
.help-search button:hover { background: var(--help-brand-dark); }
.compact-banner .help-search button { min-height: 36px; }

/* Main */
.help-main { flex: 1 0 auto; padding: 40px 0 64px; }
.help-main-home { padding-top: 48px; }
.help-main > h1, .help-results > h1 { margin: 0 0 8px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.help-results { max-width: 760px; margin-inline: auto; }
.help-results-count { margin: 0 0 20px; color: var(--quiet); font-size: 14px; font-variant-numeric: tabular-nums; }
.help-main-search .breadcrumbs { max-width: 760px; margin-inline: auto; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumbs > span[aria-hidden], .help-crumb-separator { color: var(--quiet); }

/* Collections */
.help-collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 0 0 32px; }
.help-collection {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.help-collection:hover { border-color: var(--control-line); box-shadow: 0 6px 20px rgb(0 0 0 / .07); transform: translateY(-1px); }
.help-collection > div { display: flex; flex: 1; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.help-collection strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.help-collection:hover strong { color: var(--accent); }
.help-collection-description { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.help-collection-count { display: block; margin-top: auto; padding-top: 14px; color: var(--quiet); font-size: 13px; font-variant-numeric: tabular-nums; }
.help-collection i { display: none; }
.help-collection-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
/* Document-stack glyph drawn in CSS (no images under the Help Center CSP). */
.help-collection-icon::before {
  content: '';
  position: absolute;
  inset: 10px 12px 10px 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.help-collection-icon::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 16px;
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 4px currentColor;
}
.help-collection-header { display: flex; align-items: flex-start; gap: 20px; margin: 0 0 28px; }
.help-collection-header .help-collection-icon { width: 56px; height: 56px; border-radius: 14px; }
.help-collection-header .help-collection-icon::before { inset: 15px 18px; }
.help-collection-header .help-collection-icon::after { left: 23px; top: 22px; width: 10px; box-shadow: 0 5px currentColor; }
.help-collection-header h1 { margin: 2px 0 6px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.help-collection-header .collection-description { margin: 0; color: var(--muted); font-size: 16px; }
.help-collection-header .help-collection-count { padding-top: 8px; font-size: 14px; }
.help-main p.collection-description { color: var(--muted); }

/* Article lists */
.help-article-list { margin: 0; padding: 0; overflow: hidden; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.help-article-list li + li { border-top: 1px solid var(--soft-line); }
.help-article-list a { display: grid; grid-template-columns: minmax(0, 1fr) 16px; column-gap: 16px; align-items: center; padding: 16px 20px; color: var(--ink); overflow-wrap: anywhere; transition: background .12s; }
.help-article-list a:hover { background: var(--hover); }
.help-article-list strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.4; }
.help-article-list a:hover strong { color: var(--accent); }
.help-article-list span { display: block; grid-row: 2; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.help-article-list i {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  width: 8px;
  height: 8px;
  border-right: 1.75px solid var(--quiet);
  border-bottom: 1.75px solid var(--quiet);
  font-size: 0;
  transform: rotate(-45deg);
}
.help-article-list a:hover i { border-color: var(--accent); }
.help-collections + .help-article-list { margin-top: 0; }

/* Empty states */
.help-empty-state { display: grid; justify-items: center; gap: 8px; max-width: 420px; margin: 32px auto; padding: 40px 24px; text-align: center; }
.help-empty-state h1, .help-empty-state h2 { margin: 8px 0 0; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.help-empty-state .help-empty { margin: 0; color: var(--muted); font-size: 15px; }
.help-empty-icon { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--hover); color: var(--muted); }
.help-empty-icon::before { content: ''; position: absolute; left: 14px; top: 13px; width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; }
.help-empty-icon::after { content: ''; position: absolute; left: 28px; top: 29px; width: 8px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.help-empty-state .help-empty-action { display: inline-flex; align-items: center; min-height: 36px; margin-top: 12px; padding: 0 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.help-empty-state .help-empty-action:hover { background: #333; }
.help-unavailable .help-main { display: grid; place-items: center; }

/* Article page */
.help-column, .help-main-article .breadcrumbs { width: min(100%, 700px); margin-inline: auto; }
.help-article { width: min(100%, 700px); margin: 0 auto; }
.help-article.article-prose > h1 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.help-article.article-prose > .article-summary { margin: 0 0 20px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.help-article-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.help-article.article-prose .help-article-meta p { margin: 0; }
.help-article-meta .article-byline { color: var(--ink); font-size: 14px; font-weight: 500; }
.help-article-meta .article-updated { color: var(--quiet); font-size: 13px; }
.help-author-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; font-weight: 600; }
.help-article-body > :first-child { margin-top: 0; }
.help-article .help-section-link { display: inline-block; margin-inline-start: .4em; color: var(--quiet); font-size: .8em; font-weight: 400; text-decoration: none; opacity: 0; transition: opacity .12s; }
.help-article :is(h1, h2, h3, h4, h5, h6):hover .help-section-link, .help-article .help-section-link:focus-visible { opacity: 1; }
.help-article .help-section-link:hover { color: var(--accent); }
.help-article [id^="section-"] { scroll-margin-top: 24px; }
.help-article [id^="section-"]:target { color: var(--accent); }
@media (hover: none) { .help-article .help-section-link { opacity: .7; } }
#help-section-status:empty { margin: 0; }
#help-section-status:not(:empty) { position: fixed; inset: auto 16px 16px auto; z-index: 1; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--ink); font-size: 13px; box-shadow: 0 8px 28px rgb(0 0 0 / .18); }

/* Reactions */
.help-feedback { width: min(100%, 700px); margin: 48px auto 0; padding: 28px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--page); text-align: center; }
.help-feedback h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.help-feedback > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.help-feedback .button { gap: 8px; min-height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: var(--surface); font-size: 14px; }
.help-feedback .button::before { font-size: 22px; line-height: 1; transition: transform .12s; }
.help-feedback .button:hover::before { transform: scale(1.15); }
.help-feedback [data-vote="negative"]::before { content: '😞'; }
.help-feedback [data-vote="neutral"]::before { content: '😐'; }
.help-feedback [data-vote="positive"]::before { content: '😃'; }
.help-feedback [aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
#help-feedback-result { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
#help-feedback-result:empty { display: none; }

/* Related */
.help-related { width: min(100%, 700px); margin: 48px auto 0; }
.help-related h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }

/* Footer */
.help-footer { padding: 32px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.help-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.help-footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
.help-footer-brand:hover { color: var(--ink); }
.help-footer-brand .brand-mark { width: 28px; height: 28px; filter: grayscale(1); opacity: .7; }
.help-footer-logo { width: auto; max-width: 140px; max-height: 32px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.help-footer-links, .help-languages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.help-footer a:not(.help-footer-brand) { color: var(--muted); font-size: 13px; }
.help-footer a:not(.help-footer-brand):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.help-languages a[aria-current] { color: var(--ink); font-weight: 600; }
.help-footer .button { min-height: 32px; font-size: 13px; }

/* Analytics consent */
.help-consent:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.help-consent > div:first-child { flex: 1 1 320px; }
.help-consent h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.help-consent p { margin: 0; color: var(--muted); font-size: 14px; }
.help-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#help-consent-error { flex-basis: 100%; color: var(--danger-ink); }

/* Customer portal (company tickets) and emailed support conversation */
.portal-main { width: min(860px, calc(100% - 48px)); }
.portal-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.portal-heading h1, .portal-main > h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.portal-heading p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.portal-main > p { margin: 8px 0 0; color: var(--muted); }
.portal-views { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 24px 0 20px; border-bottom: 1px solid var(--line); }
.portal-views a { margin-bottom: -1px; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; font-weight: 500; }
.portal-views a:hover { color: var(--ink); }
.portal-views a[aria-current] { border-bottom-color: var(--ink); color: var(--ink); }
.portal-form { display: grid; gap: 16px; max-width: 560px; margin-block: 20px; }
.portal-form label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 500; }
.portal-form label small { color: var(--quiet); font-size: 12px; font-weight: 400; }
.portal-form label.portal-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.portal-form input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.portal-form :is(select, input:not([type="checkbox"]), textarea) { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--control-line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; }
.portal-form textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.portal-form :is(select, input, textarea):hover { border-color: #c4c4c0; }
.portal-form :is(select, input, textarea):focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 20%, transparent); }
.portal-form .button { justify-self: start; min-height: 40px; }
.portal-form .button[type="submit"]:last-child { border-color: var(--ink); background: var(--ink); color: #fff; }
.portal-form .button[type="submit"]:last-child:hover { border-color: #333; background: #333; }
.portal-form.portal-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; max-width: none; margin: 0 0 16px; }
.portal-form.portal-search label { flex: 1 1 260px; }
.portal-form.portal-search .button[type="submit"]:last-child { border-color: var(--control-line); background: var(--surface); color: var(--ink); }
.portal-form.portal-search .button[type="submit"]:last-child:hover { background: var(--hover); }
.portal-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.portal-back::before { content: ''; width: 7px; height: 7px; border-left: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg); }
.portal-back:hover { color: var(--ink); }
.portal-banner { padding-bottom: 20px; }
.help-banner.portal-banner .help-brand-row { margin-bottom: 0; }
.portal-site .help-main { padding-top: 32px; }
.portal-requests .portal-request-row { grid-template-columns: minmax(0, 1fr) auto 16px; }
.portal-requests .portal-request-row > strong { grid-column: 1; grid-row: 1; }
.portal-requests .portal-request-row > .portal-request-meta { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--quiet); }
.portal-requests .portal-request-row > i { grid-column: 3; }
.help-site .portal-status { display: inline-flex; align-items: center; width: fit-content; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--hover); color: var(--muted); font-size: 12px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.portal-requests .portal-request-row > .portal-status { grid-column: 2; grid-row: 1 / span 2; }
.help-site .portal-status::before { content: ''; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.help-site .portal-status.status-open { background: #eef3ff; color: #1f5eff; }
.help-site .portal-status.status-waiting { background: #fff4dc; color: #9a5b00; }
.help-site .portal-status.status-resolved { background: #e7f6ec; color: #137a3f; }
.portal-banner .help-wrap { width: min(860px, calc(100% - 48px)); }
.help-site .portal-reply { max-width: none; }
.portal-type-form .button[type="submit"]:last-child { border-color: var(--control-line); background: var(--surface); color: var(--ink); }
.portal-type-form .button[type="submit"]:last-child:hover { background: var(--hover); }
.portal-note { margin: 0; color: var(--muted); font-size: 14px; }
.support-conversation-page { background: var(--page); }
:root:has(> body.support-conversation-page) { background: var(--page); }
.support-conversation-page .portal-main { width: min(640px, calc(100% - 32px)); padding: clamp(24px, 8vh, 72px) 0; }
.portal-card { padding: clamp(20px, 5vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.portal-card-eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.portal-card-eyebrow:empty { display: none; }
.portal-card > h1 { margin: 0 0 20px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.portal-card .portal-transcript { margin-bottom: 20px; }
.portal-denied { display: grid; justify-items: center; gap: 10px; max-width: 460px; margin: 24px auto; padding: 40px 32px; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.portal-denied h1 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.portal-denied p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.portal-lock { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--hover); color: var(--muted); }
.portal-lock::before { content: ''; position: absolute; left: 17px; top: 12px; width: 14px; height: 12px; border: 2px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; box-sizing: border-box; }
.portal-lock::after { content: ''; position: absolute; left: 14px; top: 23px; width: 20px; height: 14px; border-radius: 3px; background: currentColor; }
.portal-detail-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.portal-detail-heading h1 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.portal-transcript { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.portal-transcript li { max-width: 85%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.portal-transcript li.from-support { justify-self: start; border-color: transparent; background: var(--hover); }
.portal-transcript li.from-customer { justify-self: end; border-color: transparent; background: var(--accent-soft); }
.portal-transcript strong { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.portal-transcript p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.portal-empty { padding: 40px 24px; border: 1px dashed var(--control-line); border-radius: 12px; color: var(--muted); text-align: center; }
.portal-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: #fdecec; color: var(--danger-ink); font-size: 14px; }

@media (max-width: 640px) {
  .help-wrap, .portal-main, .portal-banner .help-wrap { width: calc(100% - 32px); }
  .portal-requests .portal-request-row { grid-template-columns: minmax(0, 1fr) auto 12px; column-gap: 10px; }
  .help-banner { padding: 16px 0 40px; }
  .help-banner.compact-banner { padding-bottom: 20px; }
  .help-brand-row { margin-bottom: 32px; }
  .help-banner.compact-banner .help-brand-row { margin-bottom: 16px; }
  .help-portal-links { gap: 6px 14px; }
  .help-portal-links .help-contact-link { min-height: 32px; padding: 0 12px; }
  .help-search { margin-top: 20px; padding-left: 14px; }
  .help-search button { padding: 0 12px; }
  .help-main { padding: 24px 0 48px; }
  .help-main-home { padding-top: 24px; }
  .help-collections { gap: 12px; }
  .help-collection { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; }
  .help-collection-count { padding-top: 8px; }
  .help-collection-header { gap: 14px; }
  .help-collection-header .help-collection-icon { width: 44px; height: 44px; border-radius: 12px; }
  .help-collection-header .help-collection-icon::before { inset: 12px 14px; }
  .help-collection-header .help-collection-icon::after { left: 18px; top: 18px; width: 8px; box-shadow: 0 4px currentColor; }
  .help-collection-header h1, .help-main > h1, .help-results > h1, .portal-heading h1 { font-size: 24px; }
  .help-article-list a { padding: 14px 16px; }
  .help-article-meta { margin-bottom: 24px; padding-bottom: 20px; }
  .help-feedback { margin-top: 36px; }
  .portal-transcript li { max-width: 100%; }
}
