/* family-pages.css: the main site's own pages in the final design (f2, Claude Design
   2026-09-29, "9-1 Source - Main site"): the root home (/), root search (/search), Publish your
   book, the eight policy pages, the design-state pages (states/*), and a catalogue's written
   pages (pages/article). Loaded after bde-f2.css and built on its tokens and f2- classes; every
   rule here is scoped to one of those pages. The live 404/410/429/500/503 pages carry their
   own inline copy of this look (errors/styles.blade.php), because an error page loads nothing.

   Contrast (WCAG 2.2 AA): the design's tint pairs (--f2-tN-fg on --f2-tN-bg) are 5.2:1 or
   more; body #4E423D 9.4:1 and muted #6E605A 5.7:1 on the page; coral #C9401F 4.7:1 on the
   page; night-band text #E3DDFF 11.6:1 on #2A2350. */

/* ================================================================ shared bits */
.rt-page { display: flex; flex-direction: column; gap: 30px; padding-top: 16px; padding-bottom: 8px; }
@media (min-width: 768px) { .rt-page { gap: 48px; padding-top: 28px; } }
.rt-head { display: flex; flex-direction: column; gap: 4px; }
.rt-head__sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--f2-sub); }
.rt-tint-0 { background: var(--f2-t0-bg); color: var(--f2-t0-fg); }
.rt-tint-1 { background: var(--f2-t1-bg); color: var(--f2-t1-fg); }
.rt-tint-2 { background: var(--f2-t2-bg); color: var(--f2-t2-fg); }
.rt-tint-3 { background: var(--f2-t3-bg); color: var(--f2-t3-fg); }
.rt-tint-4 { background: var(--f2-t4-bg); color: var(--f2-t4-fg); }
.rt-tint-5 { background: var(--f2-t5-bg); color: var(--f2-t5-fg); }
.rt-h1 { margin: 0; font-family: var(--f2-display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -1px; color: var(--f2-ink); text-wrap: balance; overflow-wrap: anywhere; }
@media (min-width: 768px) { .rt-h1 { font-size: 44px; } }
.rt-lede { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--f2-sub); text-wrap: pretty; }
@media (min-width: 768px) { .rt-lede { font-size: 17.5px; } }
.rt-h3 { margin: 0; font-family: var(--f2-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--f2-ink); }
@media (min-width: 768px) { .rt-h3 { font-size: 22px; } }
a.rt-btn-ink, .rt-btn-ink { background: var(--f2-ink); color: #fff; }
a.rt-btn-ink:hover, .rt-btn-ink:hover { background: #3A2F2A; color: #fff; }

/* One search row: the field, then the button (and on the root home a language choice). */
.rt-search { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 760px; margin: 0; }
.rt-search__input {
  box-sizing: border-box; flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 18px;
  border: 1.5px solid var(--f2-field-edge); border-radius: var(--f2-r-search); background: #fff;
  font: 500 16px/1.2 var(--f2-ui); color: var(--f2-ink);
}
.rt-search__input:hover { border-color: var(--f2-field-strong); }
.rt-search__input::placeholder { color: var(--f2-muted); opacity: 1; }
.rt-search__input:focus { outline: none; border-color: var(--f2-coral); box-shadow: 0 0 0 3px var(--f2-coral-tint); }
.rt-search__input:focus-visible { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.rt-search__lang {
  box-sizing: border-box; flex: 1 1 100%; height: 56px; padding: 0 40px 0 14px;
  border: 1.5px solid var(--f2-field-strong); border-radius: var(--f2-r-search); background: #fff;
  font: 600 16px/1.2 var(--f2-ui); color: var(--f2-ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23221A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.rt-search__lang:focus-visible { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.rt-search__go {
  flex: 1 1 100%; height: 56px; padding: 0 24px; border: 0; border-radius: var(--f2-r-search);
  background: var(--f2-coral); color: #fff; font: 700 16px/1 var(--f2-ui); cursor: pointer;
  transition: background-color .16s var(--f2-ease);
}
.rt-search__go:hover { background: var(--f2-coral-dark); }
@media (min-width: 768px) {
  .rt-search__lang { flex: 0 0 auto; }
  .rt-search__go { flex: 0 0 auto; }
}

/* ================================================================ root home */
/* The browser-language banner (9-1 "suggest"): hidden in the markup, shown by its own inline
   script only when the reader's browser language is another language site we have. */
.rt-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--f2-shadow-card); }
.rt-suggest[hidden] { display: none; }
@media (min-width: 768px) { .rt-suggest { padding: 14px 18px; } }
.rt-suggest__mark { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; background: var(--f2-coral-tint); color: #B53A1C; font-family: var(--f2-display); font-size: 18px; font-weight: 700; }
.rt-suggest__mark:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
.rt-suggest__text { flex: 1 1 200px; margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--f2-ink); }
.rt-suggest__text :lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
.rt-suggest__actions { display: flex; flex-wrap: wrap; gap: 6px; }
a.rt-suggest__open { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--f2-coral); color: #fff; font: 700 15.5px/1.2 var(--f2-ui); text-decoration: none; }
a.rt-suggest__open:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
a.rt-suggest__open:hover { background: var(--f2-coral-dark); color: #fff; }
.rt-suggest__stay { height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: #FFF3EE; color: var(--f2-ink); font: 700 15px/1.2 var(--f2-ui); cursor: pointer; }
.rt-suggest__stay:hover { background: var(--f2-coral-tint); }

/* The f3 root's coral hero (.rt-hero, .rt-hero__title, .rt-hero__lede) lived here until the second
   drop of 3 Oct 2026. No view draws it since the final root (a093f70), and its padding, radius and
   flat background were landing on the final root's Night hero (family-root.css) and hiding the
   shared gradient, so the rules are gone. */

/* Browse by language: one door per language, a coloured top edge and a fan of real covers. */
.rt-doors__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .rt-doors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .rt-doors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rt-door { --door: var(--f2-t0-fg); display: flex; min-width: 0; }
.rt-door--t1 { --door: var(--f2-t1-fg); } .rt-door--t2 { --door: var(--f2-t2-fg); } .rt-door--t3 { --door: var(--f2-t3-fg); }
.rt-door--t4 { --door: var(--f2-t4-fg); } .rt-door--t5 { --door: var(--f2-t5-fg); }
.rt-page a.card.root-library, .rt-home a.card.root-library {
  box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 104px; padding: 14px 16px;
  border: 0; border-top: 5px solid var(--door); border-radius: 24px; background: #fff; box-shadow: var(--f2-shadow-card);
  color: var(--f2-ink); text-decoration: none;
  transition: box-shadow .2s var(--f2-ease), transform .2s var(--f2-ease);
}
.rt-page a.card.root-library:hover, .rt-home a.card.root-library:hover { color: var(--f2-ink); box-shadow: 0 18px 34px -20px rgba(80, 40, 25, .55); }
@media (min-width: 768px) { .rt-page a.card.root-library, .rt-home a.card.root-library { min-height: 148px; padding: 20px 22px; } }
.root-library__body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.root-library__native { font-family: var(--f2-display); font-weight: 700; font-size: 24px; line-height: 1.25; letter-spacing: -.4px; overflow-wrap: anywhere; }
.root-library__native:lang(bn) { font-family: var(--f2-bn-ui), var(--f2-ui); letter-spacing: 0; line-height: 1.4; }
@media (min-width: 768px) { .root-library__native { font-size: 30px; } }
.root-library__meta { font-size: 14.5px; line-height: 1.4; color: var(--f2-sub); }
.root-library__go { margin-top: 4px; font-size: 14.5px; font-weight: 700; color: var(--f2-coral); }
.rt-page a.card.root-library:hover .root-library__go, .rt-home a.card.root-library:hover .root-library__go { color: var(--f2-coral-dark); }
.root-library__fan { display: flex; align-items: center; flex: 0 0 auto; padding-right: 4px; }
.root-library__cover {
  position: relative; display: block; width: 52px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px;
  box-shadow: 0 10px 20px -10px rgba(80, 40, 25, .55);
}
.root-library__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.root-library__cover--0 { z-index: 3; transform: rotate(-6deg); }
.root-library__cover--1 { z-index: 2; margin-left: -22px; }
.root-library__cover--2 { z-index: 1; margin-left: -22px; transform: rotate(6deg); }
@media (min-width: 768px) { .root-library__cover { width: 62px; } }
@media (max-width: 359px) { .root-library__cover { width: 44px; } .root-library__cover--1, .root-library__cover--2 { margin-left: -20px; } }

/* Recently added: each card names its language under it. */
.rt-new { display: flex; flex-direction: column; gap: 8px; }
.rt-new__lang { align-self: flex-start; }

/* Popular authors: a row that scrolls on phones, three across on a desktop. */
.rt-authors { display: flex; gap: 12px; margin: 0 calc(var(--f2-gutter) * -1); padding: 4px var(--f2-gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--f2-gutter); scrollbar-width: none; list-style: none; }
.rt-authors::-webkit-scrollbar { display: none; }
.rt-authors > li { flex: 0 0 290px; display: flex; min-width: 0; scroll-snap-align: start; }
@media (max-width: 359px) { .rt-authors > li { flex-basis: 260px; } }
@media (min-width: 768px) {
  .rt-authors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .rt-authors > li { flex: none; }
}
@media (min-width: 1100px) { .rt-authors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
a.rt-author {
  box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px 14px 14px;
  border: 1px solid var(--f2-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -18px rgba(34, 26, 23, .4);
  color: var(--f2-ink); text-decoration: none; transition: border-color .16s var(--f2-ease), box-shadow .16s var(--f2-ease);
}
a.rt-author:hover { border-color: var(--f2-field); box-shadow: 0 14px 28px -16px rgba(34, 26, 23, .45); color: var(--f2-ink); }
.rt-author .f2-avatar { flex: 0 0 auto; width: 64px; height: 64px; box-shadow: 0 0 0 3px #fff, 0 12px 22px -14px var(--rt-ring, var(--f2-night)); }
/* The design's glow under each avatar, a different ink per card in the row. */
.rt-authors > li:nth-child(6n+2) { --rt-ring: #5B4BDB; }
.rt-authors > li:nth-child(6n+3) { --rt-ring: #0B6A4E; }
.rt-authors > li:nth-child(6n+4) { --rt-ring: #A8361A; }
.rt-authors > li:nth-child(6n+5) { --rt-ring: #6B4700; }
.rt-authors > li:nth-child(6n+6) { --rt-ring: #221A17; }
.rt-author__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.rt-author__name { font-family: var(--f2-display); font-size: 16px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.rt-author__name:lang(bn) { font-family: var(--f2-bn-ui), var(--f2-ui); line-height: 1.5; }
.rt-author__meta { font-size: 13px; color: var(--f2-muted); }
.rt-author__known { margin-top: 3px; overflow: hidden; font-family: var(--f2-serif); font-size: 13.5px; font-style: italic; color: var(--f2-body); white-space: nowrap; text-overflow: ellipsis; }
.rt-author__known:lang(bn) { font-family: 'Noto Serif Bengali', var(--f2-serif); font-style: normal; }
.rt-author__go { flex: 0 0 auto; color: var(--f2-coral); }

/* Read, download or listen. */
.rt-ways { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .rt-ways { padding: 32px 36px; } }
.rt-ways__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rt-ways__list > li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; background: var(--f2-soft); }
.rt-ways__list > li > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.rt-ways__list b { font-size: 15.5px; }
.rt-ways__list b + span { font-size: 14px; line-height: 1.5; color: var(--f2-sub); }
.rt-ways__mark { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; font-size: 16px; font-weight: 800; }
a.rt-ways__help { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--f2-coral); text-decoration: none; }
a.rt-ways__help:hover { color: var(--f2-coral-dark); }

/* Publish your book: the night band. */
.rt-publish { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .rt-publish { padding: 32px 36px; } }
.rt-publish__copy { display: flex; flex-direction: column; gap: 6px; max-width: 60ch; }
.rt-publish h2 { margin: 0; font-family: var(--f2-display); font-size: 24px; font-weight: 700; line-height: 1.2; color: #fff; text-wrap: balance; }
.rt-publish p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #E3DDFF; }
.rt-publish a.f2-btn:focus-visible { outline-color: var(--f2-rule); }

/* Keep your shelf. */
.rt-shelfcta { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .rt-shelfcta { padding: 32px 36px; } }
.rt-shelfcta p { margin: 0; max-width: 62ch; font-size: 15.5px; line-height: 1.65; color: var(--f2-body); }
.rt-shelfcta__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ================================================================ root search */
.rs-page { gap: 24px; }
@media (min-width: 768px) { .rs-page { gap: 36px; } }
.rs-search .rt-search__go { flex: 0 0 auto; }
@media (max-width: 767px) { .rs-search .rt-search__go { flex: 1 1 100%; } }
.rs-head { display: flex; flex-direction: column; gap: 6px; }
.rs-head .rt-h1 { overflow-wrap: anywhere; }
.rs-scope { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--f2-sub); }
.rs-scope a { margin-left: 4px; color: var(--f2-coral); font-weight: 700; text-decoration: none; }
.rs-scope a:hover { color: var(--f2-coral-dark); }
.rs-notice { max-width: 760px; }
.rs-notice__title { margin: 0; font-size: 16px; font-weight: 700; }
.rs-notice p { margin: 4px 0 0; }
.rs-langs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rs-langs__label { font-size: 14px; font-weight: 700; color: var(--f2-body); }
/* The design's segRow: a soft track, each language a quiet tab, the chosen one lifted in white. */
.rs-seg { padding: 4px; border-radius: 16px; background: var(--f2-hover); box-shadow: none; }
.rs-seg > a, .rs-seg > a:link { gap: 6px; padding: 0 14px; border-radius: 12px; font-size: 15px; color: var(--f2-sub); }
.rs-seg > a:hover { background: #fff; color: var(--f2-ink); }
.rs-seg > a[aria-current] { background: #fff; color: #B53A1C; box-shadow: 0 4px 12px -6px rgba(80, 40, 25, .4); }
.rs-seg > a:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
.rs-seg__n { font-weight: 500; opacity: .85; }
/* The chosen tab's count at full strength: coral at .85 would fall under 4.5:1 on white. */
.rs-seg > a[aria-current] .rs-seg__n { opacity: 1; }
.rs-group__n { font-family: var(--f2-ui); font-weight: 500; font-size: 15px; color: var(--f2-muted); }
.rs-group__n:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
/* Authors: the night panel with a door into each language that holds them. */
.rs-authors { gap: 10px; }
.rs-author { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 760px; padding: 16px 18px; border-radius: 24px; background: var(--f2-night); color: #fff; }
.rs-author .f2-avatar { flex: 0 0 auto; width: 56px; height: 56px; background: var(--f2-audio-tint); }
.rs-author__name { flex: 1 1 200px; min-width: 0; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.rs-author__name:lang(bn) { font-family: var(--f2-bn-ui), var(--f2-ui); }
.rs-author__doors { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rs-author__doors a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--f2-night); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.rs-author__doors a:hover { background: var(--f2-audio-tint); color: var(--f2-night); }
.rs-author__doors a:focus-visible { outline-color: var(--f2-rule); }
.rs-author__doors a:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
.rs-author__doors a > span:lang(en) { font-family: var(--f2-ui); }
/* Each language's answers. */
.rs-group__head { flex-wrap: wrap; }
.rs-group__head .f2-section-head__more { gap: 5px; }
.rs-group__head :is(.rt-h3, .f2-section-head__more) span:lang(bn) { font-family: 'Hind Siliguri', var(--f2-bn-ui), var(--f2-ui); }
.rs-group__head .f2-section-head__more { font-size: 15px; }
.rs-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .rs-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rs-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--f2-shadow-card); transition: box-shadow .16s var(--f2-ease); }
.rs-row:hover { box-shadow: 0 16px 32px -20px rgba(80, 40, 25, .55); }
.rs-row__cover { position: relative; flex: 0 0 auto; display: block; width: 60px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; background: var(--f2-loading); }
.rs-row__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-row__body { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
a.rs-row__title { font-family: var(--f2-serif); font-size: 16.5px; font-weight: 600; line-height: 1.3; color: var(--f2-ink); text-decoration: none; overflow-wrap: anywhere; }
a.rs-row__title::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
a.rs-row__title:focus-visible { outline: none; }
a.rs-row__title:focus-visible::after { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.rs-row:hover a.rs-row__title { color: var(--f2-coral-dark); }
.rs-row:lang(bn) a.rs-row__title { font-family: 'Noto Serif Bengali', var(--f2-serif); line-height: 1.5; }
.rs-row__meta { font-size: 14px; color: var(--f2-muted); overflow-wrap: anywhere; }
.rs-foot { margin: 0; font-size: 15px; line-height: 1.55; color: var(--f2-sub); }
.rs-foot a { color: var(--f2-link); font-weight: 700; text-decoration: none; }
.rs-foot a:hover { color: var(--f2-link-hover); }
/* Nothing matched (9-2 sr2.none): a white card, a plain heading, the ways on as soft pills. */
.rs-none { display: flex; flex-direction: column; gap: 12px; max-width: 760px; padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: #fff; box-shadow: var(--f2-shadow-card); }
.rs-none h2 { margin: 0; font-family: var(--f2-display); font-size: 20px; font-weight: 700; color: var(--f2-ink); }
.rs-none p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--f2-sub); }
.rs-none ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rs-none a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--f2-line); border-radius: var(--f2-r-pill); background: var(--f2-soft); color: var(--f2-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.rs-none a:hover { border-color: var(--f2-field); background: var(--f2-coral-tint); color: var(--f2-coral-dark); }
.rs-state { max-width: 760px; }

/* ================================================================ policy pages */
/* The design's main column rhythm (9-1 v.main): 30px apart on a phone, 48px on a wide screen. */
.tr-page { display: flex; flex-direction: column; gap: 30px; padding-top: 16px; padding-bottom: 8px; }
@media (min-width: 768px) { .tr-page { gap: 48px; padding-top: 28px; } }
.tr-head { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin-top: -12px; }
.tr-head h1 { margin: 0; font-family: var(--f2-display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -1px; color: var(--f2-ink); text-wrap: balance; overflow-wrap: anywhere; }
@media (min-width: 768px) { .tr-head h1 { font-size: 44px; } }
.tr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1024px) { .tr-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
.tr-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 820px; }
.tr-card { padding: 20px 18px; }
@media (min-width: 768px) { .tr-card { padding: 28px 32px; } }
.tr-updated { margin: 0; font-size: 14px; font-weight: 700; color: var(--f2-muted); }
.tr-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; padding-bottom: 18px; border-bottom: 1px solid var(--f2-line); }
.tr-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--f2-line); border-radius: var(--f2-r-pill); background: var(--f2-soft); font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--f2-sub); text-decoration: none; }
.tr-jump a:hover { border-color: var(--f2-field); background: var(--f2-coral-tint); color: var(--f2-coral-dark); }
/* Phones: the contents fold into one control, so the text starts on the first screen; the chips
   take over from 768 px. */
.tr-jump-fold { margin: 12px 0 4px; border: 1px solid var(--f2-line); border-radius: 16px; background: var(--f2-soft); }
.tr-jump-fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px;
  font-size: 15px; font-weight: 700; color: var(--f2-ink); cursor: pointer; list-style: none;
}
.tr-jump-fold > summary::-webkit-details-marker { display: none; }
.tr-jump-fold > summary::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-left: auto; border: solid var(--f2-sub);
  border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s var(--f2-ease);
}
.tr-jump-fold[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.tr-jump-fold > summary:focus-visible { outline: 3px solid var(--f2-accent); outline-offset: 2px; border-radius: 16px; }
.tr-jump-fold__count { font-size: 13.5px; font-weight: 600; color: var(--f2-muted); }
.tr-jump-fold ol { margin: 0; padding: 4px 8px 10px; list-style: none; border-top: 1px solid var(--f2-line); }
.tr-jump-fold a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px; font-size: 15px; color: var(--f2-body); text-decoration: none; }
.tr-jump-fold a:hover { background: var(--f2-coral-tint); color: var(--f2-coral-dark); }
.tr-jump { display: none; }
@media (min-width: 768px) {
  .tr-jump-fold { display: none; }
  .tr-jump { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .tr-jump-fold > summary::after { transition: none; } }
/* The privacy policy's plain summary. */
.tr-summary h2 { margin: 0 0 6px; font-family: var(--f2-display); font-size: 20px; font-weight: 700; color: var(--f2-ink); }
.tr-summary ul { margin: 0; padding-left: 1.3em; max-width: 68ch; font-size: 16px; line-height: 1.65; color: var(--f2-body); }
.tr-summary li + li { margin-top: 6px; }
.tr-summary li::marker { color: var(--f2-coral); }
.tr-summary a { color: var(--f2-coral); text-decoration: underline; text-underline-offset: 3px; }
/* The text itself: a calm column at a readable measure. */
.tr-prose { max-width: 68ch; font-size: 16px; line-height: 1.7; color: var(--f2-body); overflow-wrap: anywhere; text-wrap: pretty; }
.tr-prose > :first-child { margin-top: 0; }
.tr-prose > :last-child { margin-bottom: 0; }
.tr-prose h2 { margin: 26px 0 6px; font-family: var(--f2-display); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--f2-ink); text-wrap: balance; scroll-margin-top: calc(var(--f2-header-h) + 16px); }
.tr-prose h3 { margin: 20px 0 4px; font-family: var(--f2-display); font-size: 17px; font-weight: 700; color: var(--f2-ink); }
.tr-prose p { margin: 10px 0 0; }
.tr-prose :is(ul, ol) { margin: 10px 0 0; padding-left: 1.3em; }
.tr-prose li + li { margin-top: 6px; }
.tr-prose li::marker { color: var(--f2-coral); }
.tr-prose strong { color: var(--f2-ink); }
.tr-prose a { color: var(--f2-coral); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tr-prose a:hover { color: var(--f2-coral-dark); text-decoration-thickness: 2px; }
.tr-prose table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14.5px; }
.tr-prose :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--f2-line); text-align: left; vertical-align: top; }
.tr-prose th { background: var(--f2-soft); color: var(--f2-ink); font-weight: 700; }
.tr-prose code { font-size: .92em; }
/* About: the first part opens with no heading above it, so its first paragraph leads. */
.tr-card > .tr-prose > h2:first-child { margin-top: 0; }
/* Write to us (Contact, DMCA). */
.tr-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tr-mail__mark { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--f2-coral-tint); color: var(--f2-coral-dark); }
.tr-mail p { flex: 1 1 220px; margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--f2-body); overflow-wrap: anywhere; }
.tr-mail b { color: var(--f2-ink); }
/* The breadcrumb as the design sets it (14px). */
.tr-crumbs { font-size: 14px; }
/* DMCA: how a notice sent here is handled (9-1 "How notices are handled"). */
.tr-howto { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 22px; background: var(--f2-warning-tint); }
.tr-howto h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--f2-warning); }
.tr-howto ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.7; color: #4A3200; }

/* The contact and DMCA forms (9-1 formCard): one white card, two columns on a wide screen,
   the design's labels, soft fields, statements as soft rows and the button at the right. */
.ct-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 20px 18px; }
@media (min-width: 768px) { .ct-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 32px; } }
.ct-form .ct-wide, .ct-form > .pf-trap { grid-column: 1 / -1; }
.ct-form [hidden] { display: none; }
.ct-form .f2-label { font-size: 14.5px; color: var(--f2-body); }
.ct-form .f2-textarea { min-height: 0; padding: 14px 16px; line-height: 1.5; }
.ct-form .pf-turnstile:empty { display: none; }
.ct-formats { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-formats > legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; }
.ct-formats__row { clear: both; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ct-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--f2-field); border-radius: 16px; background: var(--f2-soft); font-size: 15px; line-height: 1.55; color: var(--f2-ink); cursor: pointer; }
.ct-check[data-invalid] { border-color: var(--f2-danger); }
.ct-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--f2-coral); }
.ct-check .f2-req { color: var(--f2-coral); }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; }
.ct-form .f2-btn.ct-submit { height: 52px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-size: 16px; }
@media (max-width: 767px) { .ct-actions { justify-content: stretch; } .ct-form .f2-btn.ct-submit { width: 100%; } }
.ct-form .pb-alert { margin-bottom: 0; }
/* The sent line (9-1 doc.done). */
.ct-done { display: flex; flex-direction: column; gap: 4px; max-width: 820px; padding: 20px; border-radius: 22px; background: var(--f2-success-tint); color: var(--f2-success-ink); font-size: 16px; line-height: 1.6; font-weight: 600; }
.ct-done b { font-weight: 700; }
.ct-done span { font-weight: 500; }
.ct-done__back { margin: 0; }
.ct-done__back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--f2-link); text-decoration: none; }

/* The side list of every policy page, sticky beside the text on a wide screen. */
.tr-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--f2-shadow-card); }
@media (min-width: 1024px) { .tr-nav { position: sticky; top: calc(var(--f2-header-h) + 24px); } }
.tr-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--f2-body); text-decoration: none; }
.tr-nav a:hover { background: var(--f2-hover); color: var(--f2-ink); }
.tr-nav a[aria-current="page"] { background: var(--f2-coral-tint); color: var(--f2-coral-dark); font-weight: 700; }

/* ================================================================ publish your book */
/* Publish keeps the root's main rhythm (.rt-page: 30px, 48px on a wide screen). */
.pb-hero { display: flex; flex-direction: column; gap: 10px; padding: 24px 18px; border-radius: var(--f2-r-card); background: var(--f2-coral-tint); }
.pb-hero .rt-lede { color: var(--f2-body); }
@media (min-width: 768px) { .pb-hero { padding: 44px 48px; border-radius: 32px; } }
.pb-rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .pb-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pb-rules > li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 22px; background: #fff; box-shadow: var(--f2-shadow-card); }
.pb-rules > li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.pb-rules b { font-size: 16px; }
.pb-rules b + span { font-size: 14.5px; line-height: 1.55; color: var(--f2-sub); }
.pb-rules__n { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; font-weight: 800; }
.pb-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; scroll-margin-top: calc(var(--f2-header-h) + 16px); }
@media (min-width: 1024px) { .pb-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
.pb-main { min-width: 0; }
.proposal-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.pb-set { margin: 0; min-width: 0; padding: 20px 18px; border: 0; }
@media (min-width: 768px) { .pb-set { padding: 28px 32px; } }
.pb-set > legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font-family: var(--f2-display); font-size: 19px; font-weight: 700; color: var(--f2-ink); }
.pb-fields { clear: both; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 768px) { .pb-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-wide { grid-column: 1 / -1; } }
.pb-set .f2-input, .pb-set .f2-textarea { height: 52px; }
.pb-set .f2-textarea { height: auto; min-height: 150px; }
.pb-set .f2-label { font-size: 14.5px; }
/* The file picker: the real input covers the box, so it works with or without a script. */
.pb-file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--f2-field-strong); border-radius: 16px; background: var(--f2-soft); cursor: pointer; transition: border-color .16s var(--f2-ease), background-color .16s var(--f2-ease); }
.pb-file:hover { border-color: var(--f2-coral); background: #fff; }
.pb-file[data-invalid] { border-color: var(--f2-danger); }
.pb-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pb-file:focus-within { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.pb-file__mark { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--f2-coral-tint); color: var(--f2-coral-dark); }
.pb-file__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; min-width: 0; }
.pb-file__text b { font-size: 15.5px; color: var(--f2-ink); overflow-wrap: anywhere; }
.pb-file__text b.pb-file__chosen { color: var(--f2-success); }
.pb-file__text > span { font-size: 13.5px; line-height: 1.5; color: var(--f2-muted); }
.pb-file__browse { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--f2-field); border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 700; color: var(--f2-ink); }
/* Rights: each confirmation a soft row. */
.proposal-consents { display: flex; flex-direction: column; gap: 10px; }
.proposal-consents > legend + * { clear: both; }
.pb-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--f2-field); border-radius: 16px; background: var(--f2-soft); font-size: 15px; line-height: 1.55; color: var(--f2-body); cursor: pointer; }
.pb-check[data-invalid] { border-color: var(--f2-danger); }
.pb-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--f2-coral); }
.pb-check a { color: var(--f2-coral); text-decoration: underline; text-underline-offset: 2px; }
.pb-radios { display: flex; flex-direction: column; gap: 2px; }
.pb-radio { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15.5px; color: var(--f2-ink); cursor: pointer; }
.pb-radio input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--f2-coral); }
/* The confirmation that goes with the chosen answer: CSS alone shows it (no script needed); the page
   draws it open after a refused post (data-rights-open). */
.pb-rights__for { display: none; flex-direction: column; gap: 12px; }
.pb-rights__for[data-rights-open], .pb-rights:has(input[data-rights-holder][value="author"]:checked) [data-rights-for="author"],
.pb-rights:has(input[data-rights-holder][value="publisher_agent"]:checked) [data-rights-for="publisher_agent"],
.pb-rights:has(input[data-rights-holder][value="public_domain"]:checked) [data-rights-for="public_domain"] { display: flex; }
.pb-rights__source .f2-textarea { min-height: 96px; }
.pb-agree { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--f2-shadow-card); }
.pb-agree .pb-check { padding: 0; border: 0; background: transparent; font-size: 15.5px; }
.pb-agree .pb-check[data-invalid] { color: var(--f2-danger); }
.pb-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; }
.pb-actions .f2-btn.pb-submit { height: 52px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-size: 16px; }
@media (max-width: 767px) { .pb-actions { flex-direction: column-reverse; align-items: stretch; } .pb-actions .f2-btn { width: 100%; } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The error summary and the success panel. */
.pb-alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: var(--f2-danger-tint); color: var(--f2-danger); font-size: 15px; line-height: 1.5; }
.pb-alert > svg { flex: 0 0 auto; margin-top: 2px; }
.pb-alert strong { display: block; font-weight: 700; }
.pb-alert p { margin: 4px 0 0; color: var(--f2-body); }
.pb-alert ul { margin: 6px 0 0; padding-left: 1.1em; }
.pb-alert li + li { margin-top: 2px; }
.pb-alert a { color: var(--f2-danger); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pb-done { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: var(--f2-success-tint); color: var(--f2-success-ink); font-size: 15.5px; line-height: 1.6; }
.pb-done:focus { outline: none; }
.pb-done b { font-size: 18px; }
.pb-done code { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
/* What happens next. */
.pb-next { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .pb-next { position: sticky; top: calc(var(--f2-header-h) + 24px); } }
.pb-next h2 { margin: 0; font-family: var(--f2-display); font-size: 19px; font-weight: 700; color: var(--f2-ink); }
.pb-next ol { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pb-next li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--f2-body); }
.pb-next li > span:first-child { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--f2-coral-tint); color: var(--f2-coral-dark); font-weight: 800; }
.pb-next p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--f2-muted); }
.pb-next a { color: var(--f2-coral); font-weight: 700; text-decoration: none; }
.pb-next a:hover { color: var(--f2-coral-dark); }

/* ================================================================ design-state pages (states/*) */
/* Not routed today (the live error pages are errors/page); kept in the same look. */
.st-state { max-width: 820px; width: 100%; margin: 16px auto 0; }
.st-code { font-family: var(--f2-display); font-size: 84px; font-weight: 800; line-height: 1; color: var(--f2-coral); }
@media (min-width: 768px) { .st-code { font-size: 120px; } }
.st-note { margin: 6px 0 0; font-size: 13.5px; color: var(--f2-muted); }
.st-removed { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 820px; width: 100%; margin: 16px auto 0; }
.st-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--f2-r-pill); background: var(--f2-warning-tint); color: var(--f2-warning); font-size: 13px; font-weight: 700; }
.st-facts { display: grid; gap: 12px; width: 100%; margin: 8px 0 0; padding: 18px 20px; border-radius: 18px; background: var(--f2-soft); font-size: 14.5px; }
.st-facts dt { font-size: 13px; font-weight: 600; color: var(--f2-muted); }
.st-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--f2-ink); overflow-wrap: anywhere; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 520px) { .st-actions .f2-btn, .st-state .f2-state__actions .f2-btn { width: 100%; } }

/* ================================================================ a catalogue's written page */
.article-page { max-width: 760px; margin: 28px auto 0; }
.article-page h1 { margin: 0; font-family: var(--f2-display); font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.8px; overflow-wrap: anywhere; }
.article-page .article-date { margin: 8px 0 0; font-size: 13px; color: var(--f2-muted); }
.article-page .prose { margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--f2-body); overflow-wrap: anywhere; }
.article-page .prose > :first-child { margin-top: 0; }
.article-page .prose li + li { margin-top: 6px; }
@media (max-width: 560px) { .article-page h1 { font-size: 26px; } }

/* A written page's crumbs and a blog post's featured image (parity with WordPress 2026-09-30):
   the f2 crumbs above the title, the image under it at its own 16:9 shape. */
.article-page > .f2-crumbs { margin: -12px 0 6px; flex-wrap: nowrap; min-width: 0; }
.article-page > .f2-crumbs > * { flex: 0 0 auto; }
.article-page > .f2-crumbs [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-hero { margin: 20px 0 0; overflow: hidden; border-radius: 20px; background: var(--f2-loading); box-shadow: var(--f2-shadow-card); }
.article-hero img { display: block; width: 100%; height: auto; }

/* ===================================================== search states
   (UI/UX review 2026-10-02, slice A; were public/css/search.css, folded in so a search page
   makes one stylesheet request fewer, polish slice F2). */
/* ------------------------------------------------ root search: every author found */
.rs-more-authors { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 2px 0 0; padding: 0; list-style: none; }
.rs-more-authors a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--f2-line);
  border-radius: var(--f2-r-pill, 999px); background: var(--f2-soft); color: var(--f2-ink); font-size: 14.5px; font-weight: 600; text-decoration: none;
}
.rs-more-authors a:hover { border-color: var(--f2-coral); color: var(--f2-coral-dark); }
.rs-more-authors a > span:lang(bn) { line-height: 1.45; }
.rs-more-authors__lang { font-size: 12.5px; font-weight: 700; color: var(--f2-muted); }
.rs-more-authors__all { margin: 0; }
.rs-more-authors__all a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; font-size: 14.5px; font-weight: 700; color: var(--f2-link); text-decoration: none; }
.rs-more-authors__all a:hover { color: var(--f2-link-hover, var(--f2-coral-dark)); }
.rs-none .rs-none__mean { font-size: 17px; color: var(--f2-ink); }
.rs-none .rs-none__mean a { display: inline; min-height: 0; padding: 0; border: 0; background: none; font-size: inherit; font-weight: 700; color: var(--f2-link); text-decoration: underline; text-underline-offset: 3px; }

/* ================================================================ Install the app (second drop 3 Oct, 1-14) */
/* pages/install-app in the trust frame: the card with the icon, name and the Install button; the
   device tabs and their steps; the three short answers. Values from 9-1 (doc.isInstall, installTabs,
   installSteps). Contrast: #5C4F4A on white 7.6:1, #6E605A 6.0:1, #B53A1C on #FFE9E1 6.6:1. */
.tr-install { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tr-install__icon, .tr-install__icon[width][height] { display: block; width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 20px -12px rgba(34, 26, 23, .5); }
.tr-install__name { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-install__name b { font-family: var(--f2-display); font-size: 20px; font-weight: 700; color: var(--f2-ink); }
.tr-install__name span { font-size: 14.5px; color: #5C4F4A; }
.tr-install__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px; background: #C9401F; color: #fff; font: 700 16px var(--f2-ui); cursor: pointer; transition: background-color .16s var(--f2-ease); }
.tr-install__btn:hover { background: #A8361A; }
.tr-install__btn:focus-visible { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.tr-install__btn svg { flex: 0 0 auto; }
.tr-install__note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #6E605A; }
.tr-steps h2 { margin: 0 0 14px; font-family: var(--f2-display); font-size: 20px; font-weight: 700; color: var(--f2-ink); }
.tr-tabs { box-sizing: border-box; display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: #FFF9F6; border: 1px solid #F3E3DC; max-width: 460px; }
.tr-tabs button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; cursor: pointer; font: 700 14.5px/1.25 var(--f2-ui); background: transparent; color: #5C4F4A; }
.tr-tabs button[aria-selected="true"] { background: #fff; color: #C9401F; box-shadow: 0 4px 12px -6px rgba(80, 40, 25, .35), 0 0 0 1px #F3E3DC; }
.tr-tabs button:focus-visible { outline: 3px solid var(--f2-accent); outline-offset: 2px; }
.tr-steps__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tr-steps__list[hidden] { display: none; }
.tr-steps__list li { display: flex; gap: 14px; align-items: flex-start; }
.tr-steps__n { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #FFE9E1; color: #B53A1C; font-family: var(--f2-display); font-weight: 800; font-size: 16px; }
.tr-steps__text { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; min-width: 0; }
.tr-steps__text b { font-size: 16px; color: #221A17; }
.tr-steps__text span { font-size: 15px; line-height: 1.6; color: #4E423D; }
.tr-qa h2 { margin: 0 0 6px; font-family: var(--f2-display); font-size: 18px; font-weight: 700; color: var(--f2-ink); }
.tr-qa p { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.7; color: #4E423D; }
@media (prefers-reduced-motion: reduce) { .tr-install__btn { transition: none; } }
