/* Customer research surface: original Port News red/white visual system.
   Borrow the reference's typographic hierarchy, split layout and light cards,
   not its content, assets, services or implementation. */
body[data-page="library"] {
  --ink: #241c1e;
  --muted: #756b6d;
  --paper: #f8f6f5;
  --line: #e9e1df;
  --green: #b11f2a;
  --green-dark: #7c111b;
  --mint: #fbebed;
  --shadow: 0 20px 50px -28px rgba(81, 27, 30, .18);
  background: var(--paper);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* Keep all content visible without entrance animations or delayed reveals. */
html { scroll-padding-top: 140px; }
:is(button, a, summary):focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.topbar { height: 72px; background: #fff; box-shadow: 0 2px 12px -8px #481b2226; backdrop-filter: none; }
.brand-mark { box-shadow: none; border-radius: 10px; }
.brand strong { font-family: inherit; font-size: .95rem; font-weight: 750; line-height: 1.3; letter-spacing: .035em; }
.brand small { font-size: .75rem; letter-spacing: .03em; }
.language-switch button, .daily-link, .usage-pill { font-size: .875rem; }
.daily-link { background: transparent; color: var(--green); }
.daily-link:hover { background: var(--mint); }
.top-actions { gap: 12px; }
.intro-link { flex-shrink: 0; padding: 9px 12px; border: 1px solid #e5bbc0; border-radius: 8px; color: var(--green); background: #fff7f8; font-size: .875rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.intro-link:hover { background: var(--mint); }
.intro-text-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--green); font-size: 1rem; font-weight: 650; text-underline-offset: 5px; }
.client-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usage-pill:empty { display: none; }
.mobile-more, .tabs-hint { display: none; }
.mobile-more { position: relative; color: var(--green); }
.mobile-more summary { cursor: pointer; padding: 7px; font-size: .875rem; font-weight: 650; }
.mobile-more nav { position: absolute; right: 0; top: 100%; min-width: 190px; padding: 8px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 8px 24px #0001; z-index: 30; }
.mobile-more nav a { padding: 9px 10px; color: var(--green); text-decoration: none; white-space: nowrap; }
.pdf-filters { margin: 18px 0; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.pdf-filters label { min-width: 140px; flex: 1; display: grid; gap: 6px; }
.pdf-filters select, .pdf-filters input { width: 100%; min-width: 0; }
.pdf-page-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; color: var(--muted); font-size: .875rem; }
.feed-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.feed-overview > section { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.feed-overview h3 { margin: 0 0 12px; }
.feed-link-list { display: grid; gap: 10px; }
.feed-reading-link { width: 100%; padding: 10px 0; display: block; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; line-height: 1.6; cursor: pointer; }
.feed-reading-link small { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; }
.matched-topics { margin: 4px 0 8px; color: var(--muted); }

/* The public entrance explains the product; the signed-in page is a workspace. */
.login-shell {
  min-height: calc(100svh - 72px);
  padding: clamp(40px, 7vw, 96px) max(24px, calc((100vw - 1200px) / 2));
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .85fr);
  gap: clamp(32px, 6vw, 90px);
  background: radial-gradient(ellipse at 8% 10%, #fceef0, transparent 48%), #fff;
}
.login-copy, .login-card, .research-main, .research-sidebar { min-width: 0; }
.login-copy h1 {
  max-width: 11em;
  margin: 22px 0;
  font-family: inherit;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.login-copy > p { font-size: 1.0625rem; line-height: 1.8; }
.eyebrow, .card-kicker { font-size: .75rem; letter-spacing: .1em; }
.home-capabilities { gap: 20px; margin: 34px 0 20px; }
.home-capabilities > div { border-top: 1px solid #e4b7bd; padding-top: 16px; }
.home-capabilities strong { font-size: 1rem; }
.home-capabilities span { font-size: .875rem; }
.login-card { padding: 32px; gap: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.login-card h2 { font-size: 1.625rem; font-weight: 750; }
.login-card p { line-height: 1.7; }
label { font-size: .875rem; }
.primary-button, .ghost-button, .small-button { transition: background .18s, color .18s, border-color .18s; }
.primary-button { min-height: 46px; box-shadow: none; border-radius: 9px; }
.primary-button:hover { transform: none; }
.ghost-button { min-height: 40px; color: var(--muted); }

.portal { width: min(1320px, calc(100% - 48px)); padding: 28px 0 64px; }
.welcome-row { min-height: 0; padding: 28px 30px; margin-bottom: 18px; gap: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: visible; background: linear-gradient(110deg, #fff 55%, #fcf0ee); box-shadow: 0 8px 24px -22px #481b2240; }
.welcome-row::before, .welcome-row::after { content: none; }
.welcome-row h1 { font-family: inherit; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
.welcome-row p { font-size: .875rem; }
.home-feature-strip { margin-top: 10px; gap: 6px 16px; font-size: .875rem; color: var(--muted); }
.library-card { min-width: 210px; max-width: 320px; padding: 0 0 0 24px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.library-card strong { font-family: inherit; font-size: 1.5rem; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.library-card span, .library-card small { font-size: .8125rem; line-height: 1.6; }
.home-help { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.tabs { top: 72px; margin-top: 0; padding: 10px 0 14px; gap: 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--paper); box-shadow: none; }
.tab { min-height: 60px; padding: 15px 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 1rem; font-weight: 650; white-space: nowrap; }
.tab.active { color: #fff; background: var(--green); border-color: var(--green); }
.tab:hover { color: var(--green); background: var(--mint); border-color: #e7bec3; }
.tab.active:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.panel { padding-top: 24px; }

.research-layout { display: grid; grid-template-columns: minmax(0, 1fr) 232px; align-items: start; gap: 24px; }
.research-sidebar { position: sticky; top: 150px; display: grid; gap: 18px; }
.search-box { min-height: 64px; padding: 8px 10px; gap: 8px; border: 1px solid #d8c3c6; border-radius: 12px; box-shadow: 0 4px 20px -14px rgba(81,27,30,.2); }
#pdfPanel > .search-box { box-shadow: none; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--mint); }
.search-box input { min-width: 0; height: 46px; padding: 0 8px; font-size: 1rem; }
.search-box .primary-button { min-width: 96px; }
.quick-searches { display: grid; margin: 0; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.quick-searches > span { margin-bottom: 8px; color: var(--ink); font-size: .9375rem; font-weight: 700; }
.quick-searches button { padding: 11px 12px; text-align: left; border-color: transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: .875rem; }
.quick-searches button:hover { transform: none; border-color: transparent; color: var(--green); background: var(--mint); }
.research-main .topic-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; background: transparent; }
.research-main .topic-ribbon > span { margin: 0 4px 0 0; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.research-main .topic-ribbon button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-align: center; }
.research-main .topic-ribbon button:hover, .research-main .topic-ribbon button.active { color: #fff; border-color: var(--green); background: var(--green); }
.research-note { padding: 20px; border-radius: 12px; background: #f3e9e6; color: var(--muted); }
.research-note strong { display: block; margin-top: 16px; color: var(--ink); font-size: 1.125rem; }
.research-note p { margin: 8px 0 20px; line-height: 1.8; font-size: .875rem; }
.research-note > span:last-child { display: block; padding-top: 14px; border-top: 1px solid #e7d4d8; font-size: .8125rem; }
.sidebar-proof { padding: 6px 2px; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 16px 10px; }
.sidebar-proof > span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #e4c8cc; border-radius: 50%; color: var(--green); font: 700 .6875rem/1 ui-monospace, monospace; }
.sidebar-proof p { margin: 0; }
.sidebar-proof strong, .sidebar-proof small { display: block; }
.sidebar-proof strong { margin-bottom: 3px; color: var(--ink); font-size: .8125rem; }
.sidebar-proof small { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.section-heading { margin: 26px 0 14px; align-items: center; gap: 16px; }
.section-heading h2 { font-family: inherit; font-size: 1.125rem; font-weight: 750; }
.section-heading p { font-size: .8125rem; line-height: 1.7; }
.search-quality { flex-wrap: wrap; font-size: .8125rem; }
.result-tools { display: flex; align-items: center; gap: 8px; }
.view-switch { padding: 3px; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.view-switch button { min-height: 30px; padding: 5px 10px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: .75rem; cursor: pointer; }
.view-switch button.active { color: #fff; background: var(--ink); }
.document-list { gap: 0; border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.document-list:empty { display: none; }
.document-item { position: relative; padding: 22px; grid-template-columns: 40px minmax(0,1fr); gap: 12px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.document-item:last-child { border-bottom: 0; }
.document-item:hover { transform: none; background: #fdfafb; box-shadow: none; }
.file-icon { width: 40px; height: 44px; border: 1px solid #edd5d9; border-radius: 8px; background: #fff6f7; font-size: .75rem; }
.doc-meta { gap: 6px 10px; margin-bottom: 8px; color: var(--muted); font-size: .8125rem; }
.doc-meta > span { overflow-wrap: anywhere; }
.doc-badge { padding: 3px 7px; font-size: .75rem; font-weight: 600; }
.document-item h3 { font-size: 1.125rem; line-height: 1.65; font-weight: 650; overflow-wrap: anywhere; }
.document-item p { font-size: 1rem; line-height: 1.75; }
.doc-summary { max-width: none; -webkit-line-clamp: 2; }
.pdf-hit-preview { max-width: 960px; margin-top: 12px; padding: 12px 14px; }
.pdf-hit-preview span { font-size: .75rem; }
.pdf-hit-preview p { color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.doc-actions { grid-column: 2; flex-wrap: wrap; gap: 8px; }
.small-button { min-height: 36px; padding: 7px 12px; font-size: .875rem; background: white; }
.small-button:hover { border-color: var(--green); background: var(--mint); }
.preview-button { color: var(--green); border-color: #e4b7bd; }
.empty { padding: 48px 24px; font-size: 1rem; line-height: 1.8; background: white; }
.document-list > .empty { border: 0; border-radius: 0; }

/* Editorial research cards: the cover carries real metadata, not decorative imagery. */
#documentList.document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
#documentList .research-result-card { min-height: 390px; padding: 22px; display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 32px -26px rgba(81,27,30,.3); }
#documentList .research-result-card:hover { border-color: #dfb8bd; background: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(81,27,30,.34); }
#documentList .research-card-cover { min-height: 52px; align-self: stretch; width: auto; margin: -22px -22px 18px; padding: 12px 22px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #fcf0ee, #fffaf9); }
#documentList .research-card-cover > span { color: var(--green); font-size: .6875rem; font-weight: 750; letter-spacing: .1em; }
#documentList .research-card-cover strong { color: var(--green); font-size: .8125rem; line-height: 1.25; }
#documentList .research-card-cover small { margin-top: 7px; overflow: hidden; color: var(--muted); font-size: .75rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
#documentList .file-icon { display: none; }
#documentList .document-main { display: flex; flex: 1; flex-direction: column; }
#documentList .document-main h3 { margin-bottom: 10px; font-size: 1.1875rem; line-height: 1.65; letter-spacing: -.015em; }
#documentList .doc-summary { -webkit-line-clamp: 4; }
#documentList .doc-match-excerpt { margin-top: 10px; }
#documentList .doc-actions { grid-column: auto; margin-top: auto; padding-top: 18px; }
#documentList > .empty { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 14px; }

body[data-result-view="compact"] #documentList.document-list { grid-template-columns: minmax(0,1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
body[data-result-view="compact"] #documentList .research-result-card { min-height: 0; padding: 20px; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
body[data-result-view="compact"] #documentList .research-result-card:last-child { border-bottom: 0; }
body[data-result-view="compact"] #documentList .research-result-card:hover { transform: none; background: #fdfafb; }
body[data-result-view="compact"] #documentList .research-card-cover { display: none; }
body[data-result-view="compact"] #documentList .file-icon { display: grid; }
body[data-result-view="compact"] #documentList .document-main h3 { font-size: 1.0625rem; }
body[data-result-view="compact"] #documentList .doc-summary { -webkit-line-clamp: 2; }
body[data-result-view="compact"] #documentList .doc-actions { grid-column: 2; margin-top: 0; padding-top: 8px; }

.pdf-search-intro, .subscription-hero, .api-activation-panel, .api-ready-panel { padding: 24px; border-radius: 12px; background: white; }
.pdf-search-intro h2, .subscription-hero h2, .chat-intro h2, .api-grid h2 { font-family: inherit; font-size: 1.5rem; line-height: 1.5; font-weight: 700; }
.pdf-search-intro p, .subscription-hero p, .api-grid p { font-size: 1rem; }
.chat-intro, .api-grid > div:first-child { border-radius: 12px; background: white; }
.chat-messages { height: clamp(360px, 52vh, 650px); }
.message { font-size: 1rem; }
.chat-layout, .api-grid { grid-template-columns: minmax(240px, .65fr) minmax(0, 1.6fr); }
.subscription-card, .subscription-form { background: white; }
.document-dialog { width: min(1000px, calc(100% - 30px)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.document-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; overflow: hidden; }
.dialog-reader-bar { padding: 12px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: #fbf8f8; }
.dialog-reader-bar > span { color: var(--muted); font-size: .75rem; }
.dialog-reader-tabs { padding: 3px; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.dialog-reader-tabs button { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: .8125rem; cursor: pointer; }
.dialog-reader-tabs button.active { color: #fff; background: var(--green); }
.document-quick-view { min-height: 0; max-height: none; padding: clamp(28px, 5vw, 56px); overflow: auto; background: #fff; }
.quick-view-kicker { display: block; margin-bottom: 20px; color: var(--green); font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.document-quick-view ul { margin: 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.document-quick-view li { padding: 16px 18px 16px 44px; position: relative; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fdfafa; font-size: 1rem; line-height: 1.8; }
.document-quick-view li::before { content: ""; width: 8px; height: 8px; position: absolute; top: 25px; left: 20px; border-radius: 50%; background: var(--green); }
.document-quick-view > small { display: block; margin-top: 18px; color: var(--muted); font-size: .75rem; }
.quick-view-loading { padding: 48px 20px; color: var(--muted); text-align: center; line-height: 1.8; }
.document-content { min-height: 0; max-height: none; font-size: 1rem; line-height: 1.9; }
.dialog-head > div { min-width: 0; }
.dialog-head h2 { overflow-wrap: anywhere; }
.dialog-actions { flex-wrap: wrap; }
.icon-button { flex-shrink: 0; background: var(--mint); }

@media (max-width: 1100px) {
  .topbar { padding: 0 24px; }
  .brand strong { font-size: .875rem; }
  .usage-pill { display: none; }
  .research-layout { grid-template-columns: minmax(0,1fr) 210px; gap: 18px; }
  .chat-layout, .api-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 800px) {
  .login-shell { grid-template-columns: minmax(0,1fr); gap: 30px; padding: 40px 24px; }
  .login-copy h1 { font-size: 2.25rem; }
  .login-card { width: 100%; max-width: 560px; }
  .portal { width: calc(100% - 32px); padding-top: 22px; }
  .welcome-row { align-items: start; gap: 16px; }
  .library-card { min-width: 155px; }
  .tabs { gap: 14px; }
  .research-layout { display: flex; flex-direction: column; gap: 18px; }
  .research-main { width: 100%; }
  .research-sidebar { position: static; width: 100%; order: -1; }
  .quick-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; border: 0; padding: 0; background: none; }
  .quick-searches > span { margin: 0 4px 0 0; font-size: .875rem; }
  .quick-searches button { padding: 7px 10px; background: white; border: 1px solid var(--line); }
  .research-note { display: none; }
  .sidebar-proof { display: none; }
  .home-feature-strip { display: none; }
  #documentList.document-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 520px) {
  .topbar { height: auto; min-height: 96px; padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 34px; }
  .brand strong { font-size: .75rem; }
  .top-actions { gap: 6px; width: 100%; justify-content: flex-end; }
  .mobile-more { display: block; }
  .tabs-hint { display: block; margin: 4px 0 16px; color: var(--muted); font-size: .75rem; }
  .feed-overview { grid-template-columns: 1fr; gap: 12px; }
  .pdf-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .pdf-filters label { min-width: 0; }
  .intro-link { margin-right: auto; padding: 7px 10px; }
  .language-switch { padding: 2px; }
  .language-switch button { min-width: 28px; padding: 5px 3px; font-size: .8125rem; }
  #logoutButton { padding: 6px; font-size: .8125rem; }
  .login-shell { padding: 28px 20px; min-height: calc(100svh - 64px); }
  .login-copy h1 { font-size: 2rem; }
  .login-card { padding: 24px; }
  .welcome-row { display: block; padding: 20px; margin-bottom: 12px; }
  .welcome-row h1 { font-size: 1.5rem; }
  .library-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: none; width: 100%; margin-top: 14px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); }
  .library-card strong { margin: 0; font-size: 1.125rem; }
  .library-card small { flex-basis: 100%; }
  .tabs { top: 106px; gap: 7px; }
  .tab { min-height: 46px; padding: 10px 16px; font-size: .9375rem; }
  .panel { padding-top: 18px; }
  .search-box { grid-template-columns: 22px minmax(0,1fr); min-height: 0; padding: 10px; }
  .search-box .primary-button { grid-column: 1 / -1; width: 100%; }
  .document-item { padding: 18px 16px; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .document-item > .file-icon { display: none; }
  .doc-actions { grid-column: 1; }
  .document-item h3 { font-size: 1.0625rem; }
  .section-heading { margin-top: 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .result-tools { width: 100%; justify-content: space-between; }
  .research-main .topic-ribbon { flex-wrap: nowrap; margin-right: -16px; padding: 2px 16px 5px 0; overflow-x: auto; }
  .research-main .topic-ribbon > span, .research-main .topic-ribbon button { flex: 0 0 auto; }
  #documentList .research-result-card { min-height: 350px; }
  body[data-result-view="compact"] #documentList .research-result-card { grid-template-columns: minmax(0,1fr); }
  body[data-result-view="compact"] #documentList .file-icon { display: none; }
  body[data-result-view="compact"] #documentList .doc-actions { grid-column: 1; }
  .dialog-reader-bar { align-items: flex-start; flex-direction: column; }
  .document-quick-view { padding: 28px 20px; }
  .document-quick-view li { padding: 14px 15px 14px 38px; }
  .document-quick-view li::before { top: 23px; left: 17px; }
  .chat-form { padding: 14px; }
  .chat-messages { padding: 16px; }
  .message { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* First-visit introduction uses existing typography and no media assets. */
.feature-guide-tools { display: flex; justify-content: flex-end; margin: 8px 0; }
.feature-guide-tools .ghost-button { min-height: 32px; padding: 4px 0; color: var(--green); }
.feature-guide { padding: 24px; margin: 12px 0 24px; border: 1px solid #e4c4c8; border-radius: 16px; background: #fff; }
.feature-guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.feature-guide h2 { margin: 8px 0; font-size: 1.25rem; }
.feature-guide p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.feature-guide-heading button { flex-shrink: 0; }
.feature-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 22px; }
.feature-guide-grid article { padding-top: 14px; border-top: 1px solid var(--line); }
.feature-guide-grid article > span { color: var(--green); font: 700 .75rem/1 ui-monospace, monospace; }
.feature-guide h3 { margin: 10px 0 8px; font-size: 1rem; }
@media (max-width: 520px) {
  .feature-guide { padding: 20px; }
  .feature-guide-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .feature-guide-grid { grid-template-columns: 1fr; gap: 16px; }
}
