/* ============================================================
   4TC Tools. Loads after styles.css and reuses its tokens.
   Scoped tokens fix contrast pairs that fail WCAG AA:
   --mid on off-white is 4.10:1, so secondary text uses --taupe-text (6.36:1);
   vote arrows use dark outlines (3:1+) with the brand fill inside when voted.
   Tool badge colors are set per tool by the build, which picks black or white
   text for each and refuses any pair under 4.5:1.
   ============================================================ */
.tools {
  --t-muted: var(--taupe-text);
  --t-pale-coral: #FFE9E3;
  --t-line: var(--border);
  --t-tint: #EEF2FC;          /* latest-finds box; black text on it: 18:1 */
  background: var(--off-white);
}
.tools main { padding-top: 75px; }
.tools .container { max-width: 1240px; }
.tools [hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 0.78rem; color: var(--t-muted); line-height: 1.5; }
.tools a:focus-visible, .tools button:focus-visible, .tools input:focus-visible, .tools select:focus-visible,
.tools textarea:focus-visible, .tools summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
.tools .btn--sm { min-height: 44px; justify-content: center; }
.draft-banner { position: sticky; top: 75px; margin-top: 75px; z-index: 50; background: var(--coral-text); color: #fff; padding: .5rem var(--container-pad); font-size: .8rem; text-align: center; }
.draft-banner + main { padding-top: 0; }
.eyebrow-s, .side__h, .latest-head h2, .sec h2, .detail__cat, .related h2 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-muted); }

/* Intro used on about and browse pages */
.intro { padding: var(--sp-10) 0 var(--sp-5); }
.intro__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .95; letter-spacing: .01em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.intro__p { font-size: .95rem; max-width: 38rem; color: var(--dark); }
.intro .prose > * { max-width: 44rem; }
.intro .prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: .02em; margin: var(--sp-6) 0 var(--sp-2); }
.intro .prose p { margin-bottom: var(--sp-3); }
.crumbs { font-size: .8rem; color: var(--t-muted); margin-bottom: var(--sp-4); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.foot { margin-top: var(--sp-8); }

/* Two-column app: sidebar with intro + browse, main feed */
.app { padding-bottom: var(--sp-16); }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; align-items: start; }
.side { position: sticky; top: 75px; max-height: calc(100vh - 75px); overflow-y: auto; padding: var(--sp-8) var(--sp-6) var(--sp-8) 0; border-right: 1px solid var(--t-line); scrollbar-width: thin; }
.main { padding: var(--sp-6) 0 0 var(--sp-8); min-width: 0; }
.side__intro .intro__h { font-size: 2.6rem; max-width: 10ch; }
.side__intro .intro__p { font-size: .9rem; line-height: 1.6; }
.side__cta { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 var(--sp-3); }
.side__cta .btn { width: 100%; }
.newchip { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 .8rem; border: 0; border-radius: var(--radius-sm); background: var(--t-tint); color: var(--cobalt); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.newchip .n { margin-left: auto; font-variant-numeric: tabular-nums; }
.newchip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }
.newchip.is-on { background: var(--cobalt); color: #fff; }
.newchip.is-on .newchip__dot { background: #fff; }
.side__toggle { display: none; width: 100%; }
.facets { display: flex; flex-direction: column; border-top: 1px dashed var(--taupe-border); margin-top: var(--sp-5); padding-top: var(--sp-5); }
.side__row { display: flex; justify-content: space-between; align-items: baseline; margin: var(--sp-5) 0 var(--sp-2); }
.side__row:first-child { margin-top: 0; }
.facet-list { display: grid; gap: 1px; }
.facet { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: 0 .5rem; background: none; border: 0; border-radius: 8px; font: inherit; font-size: .88rem; text-align: left; cursor: pointer; color: var(--black); }
.facet:hover { background: #fff; }
.facet[aria-pressed="true"] { background: var(--black); color: #fff; }
.facet__l { display: inline-flex; align-items: center; gap: 10px; }
.facet .n { font-size: .75rem; color: var(--t-muted); font-variant-numeric: tabular-nums; }
.facet[aria-pressed="true"] .n { color: #fff; }
.showall { background: none; border: 0; padding: 0; min-height: 32px; font: inherit; font-size: .75rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--black); }
.side__links { font-size: .8rem; color: var(--t-muted); margin-top: var(--sp-5); }
.side__links a { text-decoration: underline; text-underline-offset: 3px; }

/* Tool badges */
.tb { font-style: normal; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--tc, var(--black)); color: var(--tcf, #fff); font-size: .58rem; font-weight: 700; letter-spacing: .02em; }
.tdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--black)); margin-right: 6px; flex: none; }

/* Search, sort, chips */
.bar { display: flex; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-3); }
.search { flex: 1; position: relative; display: flex; align-items: center; }
.search__ic { position: absolute; left: 14px; color: var(--t-muted); }
.search input { width: 100%; min-height: 44px; padding: 0 3rem 0 2.5rem; border: 1px solid var(--taupe-border); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: .9rem; }
.search kbd { position: absolute; right: 10px; font: inherit; font-size: .7rem; color: var(--t-muted); border: 1px solid var(--t-line); border-radius: 5px; padding: 1px 6px; }
.seg { display: inline-flex; border: 1px solid var(--taupe-border); border-radius: var(--radius-sm); padding: 3px; background: #fff; }
.seg__b { min-height: 38px; padding: 0 .9rem; border: 0; border-radius: 7px; background: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--t-muted); cursor: pointer; }
.seg__b.is-on { background: var(--off-white); color: var(--black); }
.chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px dashed var(--taupe-border); }
.chip { min-height: 36px; padding: 0 .85rem; border: 1px solid var(--taupe-border); border-radius: 100px; background: #fff; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--black); }
.chip .n { font-variant-numeric: tabular-nums; margin-left: 4px; color: var(--t-muted); }
.chip.is-on { background: var(--black); border-color: var(--black); color: #fff; }
.chip.is-on .n { color: #fff; }
.active { font-size: .85rem; margin-bottom: var(--sp-3); color: var(--dark); }
.saved-note { display: flex; gap: var(--sp-4); align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--pale-mint); border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-4); font-size: .85rem; }
.saved-note p { margin: 0; }
.saved-note .act { padding: 0; }

/* Trending grid */
.trending { margin-bottom: var(--sp-6); padding-bottom: var(--sp-6); border-bottom: 1px dashed var(--taupe-border); }
.trending .eyebrow-s { margin-bottom: var(--sp-3); }
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.tcard { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; background: #fff; border: 1px solid var(--t-line); border-radius: var(--radius-sm); padding: var(--sp-4); }
.tcard__v { font-size: .75rem; font-weight: 600; color: var(--t-muted); margin: 0; font-variant-numeric: tabular-nums; }
.tcard__t { font-size: .92rem; font-weight: 700; line-height: 1.35; flex: 1; }
.tcard__t:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Feed rows */
.feed { display: flex; flex-direction: column; }
.latest-head { background: var(--t-tint); border-radius: var(--radius-md) var(--radius-md) 0 0; padding: var(--sp-5) var(--sp-5) var(--sp-2); display: flex; justify-content: space-between; align-items: baseline; }
.latest-head h2 { color: var(--cobalt); }
.latest-head p { margin: 0; }
.card { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--sp-4); padding: var(--sp-5); border-bottom: 1px solid var(--t-line); background: transparent; }
.card.is-latest { background: var(--t-tint); border-bottom-color: #DCE3F5; }
.card.is-latest-last { border-radius: 0 0 var(--radius-md) var(--radius-md); border-bottom: 0; margin-bottom: var(--sp-5); }
.card__badge .tb { width: 28px; height: 28px; font-size: .66rem; border-radius: 7px; }
.card__main { min-width: 0; }
.card__title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__summary { font-size: .9rem; color: var(--dark); margin-bottom: var(--sp-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--sp-3); font-size: .75rem; color: var(--t-muted); margin: 0 0 var(--sp-2); }
.card__meta .tname { display: inline-flex; align-items: center; color: var(--black); font-weight: 600; }
.card__meta .new { color: var(--cobalt); font-weight: 700; }
.card__meta .lbl { font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.card__meta .qual, .qual { font-style: italic; color: var(--gold-text); }
.card__acts { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; position: relative; }
.card__side { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem; border: 1px solid var(--taupe-border); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: .8rem; font-weight: 600; color: var(--black); cursor: pointer; list-style: none; }
.pill::-webkit-details-marker { display: none; }
.pill:hover { border-color: var(--black); }
.pill[aria-pressed="true"] { background: var(--pale-mint); border-color: var(--green-text); color: var(--green-text); }
.save-ic { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; min-height: 44px; padding: 4px; background: none; border: 0; border-radius: 8px; font: inherit; font-size: .68rem; font-weight: 600; color: var(--black); cursor: pointer; }
.save-ic:hover { background: #fff; }
.save-ic[aria-pressed="true"] { color: var(--green-text); }
.save-ic[aria-pressed="true"] svg path { fill: currentColor; }
.act { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; background: none; border: 0; font: inherit; font-size: .8rem; font-weight: 600; color: var(--black); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.act::-webkit-details-marker { display: none; }
.share { position: relative; }
.share__menu { position: absolute; left: 0; bottom: calc(100% + 4px); z-index: 30; display: flex; flex-direction: column; min-width: 160px; background: #fff; border: 1px solid var(--black); border-radius: var(--radius-sm); padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.share__menu a, .share__menu button { min-height: 44px; display: flex; align-items: center; padding: 0 .8rem; background: none; border: 0; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; border-radius: 6px; }
.share__menu a:hover, .share__menu button:hover { background: var(--off-white); }
#load-more { display: block; margin: var(--sp-6) auto 0; min-height: 44px; }
.empty { background: #fff; border: 1px dashed var(--taupe-border); border-radius: var(--radius-md); padding: var(--sp-6); font-size: .9rem; margin-top: var(--sp-3); }
.feed--narrow { max-width: 860px; }

/* Voting */
.vote { display: flex; flex-direction: column; align-items: center; gap: 0; }
.vote__btn { width: 40px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--black); }
.vote__btn:hover { background: #fff; }
.vote__tri { fill: none; stroke: var(--black); stroke-width: 1.6; }
.vote__btn--up[aria-pressed="true"] .vote__tri { fill: var(--green); stroke: var(--green-text); }
.vote__btn--down[aria-pressed="true"] .vote__tri { fill: var(--coral); stroke: var(--coral-text); }
.vote__score { font-weight: 700; font-size: .85rem; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.vote[data-error]::after { content: attr(data-error); position: absolute; font-size: .7rem; color: var(--coral-text); white-space: nowrap; transform: translate(-60%, 70px); }
.vote--pill { flex-direction: row; gap: 0; border: 1px solid var(--taupe-border); border-radius: var(--radius-sm); background: #fff; }
.vote--pill .vote__btn { width: auto; height: 44px; padding: 0 .8rem; gap: 6px; display: inline-flex; align-items: center; font: inherit; font-size: .85rem; font-weight: 600; border-radius: 0; }
.vote--pill .vote__btn--down { border-left: 1px solid var(--t-line); }
.vote--pill .vote__score { font-size: .85rem; }

/* Concern status tags */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 100px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; border: 1px solid transparent; }
.tag--st-established { background: var(--black); color: #fff; }
.tag--st-disputed { background: #fff; color: var(--gold-text); border-color: var(--gold-text); }
.tag--st-alleged { background: #fff; color: var(--taupe-text); border-color: var(--taupe-text); border-style: dashed; }

/* Detail (page and modal) */
.detail-wrap { max-width: 760px; padding-top: var(--sp-8); padding-bottom: var(--sp-10); margin: 0 auto; }
.detail__cat { margin-bottom: var(--sp-2); }
.detail__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; letter-spacing: .01em; margin-bottom: var(--sp-3); }
.detail__sum { font-size: 1.02rem; color: var(--dark); margin-bottom: var(--sp-3); }
.detail__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: var(--sp-2); }
.detail__with { font-size: .9rem; color: var(--dark); margin-right: 4px; }
.tpill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border: 1px solid var(--taupe-border); border-radius: 8px; background: #fff; font-size: .82rem; font-weight: 600; }
.qual--detail { font-size: .82rem; margin-bottom: var(--sp-2); }
.dash { border: 0; border-top: 1px dashed var(--taupe-border); margin: var(--sp-5) 0 var(--sp-2); }
.sec { margin-top: var(--sp-5); }
.sec h2 { margin-bottom: 6px; }
.sec p { font-size: .97rem; margin: 0; }
.prompt { margin-top: var(--sp-6); background: #fff; border: 1px solid var(--t-line); border-radius: var(--radius-md); padding: var(--sp-5); }
.prompt__head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.prompt__head p { margin: 0; font-size: .95rem; color: var(--dark); }
.prompt__head strong { color: var(--black); }
.prompt pre { white-space: pre-wrap; margin: 0 0 var(--sp-3); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.6; letter-spacing: .02em; }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-top: var(--sp-6); position: relative; }
.vote-cap { margin-top: 6px; }
.attrib { display: flex; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; font-size: .78rem; color: var(--t-muted); margin-top: var(--sp-3); }
.attrib a { text-decoration: underline; text-underline-offset: 3px; color: var(--black); }
.tools--detail .openpage { display: none; }
.about { margin-top: var(--sp-4); border: 1px solid var(--t-line); border-radius: var(--radius-sm); background: #fff; }
.about > summary { min-height: 44px; display: flex; align-items: center; padding: 0 var(--sp-4); font-size: .85rem; font-weight: 600; cursor: pointer; }
.about__body { padding: 0 var(--sp-4) var(--sp-4); font-size: .88rem; display: grid; gap: var(--sp-3); }
.about__body h3 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); margin: var(--sp-2) 0 0; }
.about__body p { margin: 0; }
.bul { list-style: disc; padding-left: 1.2rem; display: grid; gap: var(--sp-2); }
.sources { padding-left: 1.4rem; list-style: decimal; display: grid; gap: var(--sp-3); }
.sources a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.attr { font-size: .8rem; color: var(--t-muted); }
.ref { font-size: .72rem; font-weight: 700; text-decoration: underline; padding: 0 2px; }
.concern { border-left: 4px solid var(--black); padding: var(--sp-2) 0 var(--sp-2) var(--sp-4); display: grid; gap: var(--sp-2); }
.concern--disputed { border-left-color: var(--gold-text); }
.concern--alleged { border-left-color: var(--taupe-text); border-left-style: dashed; }
.concern__s { display: flex; gap: var(--sp-3); align-items: center; }
.banner { background: var(--t-pale-coral); border-left: 4px solid var(--coral-text); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); margin: var(--sp-3) 0; font-size: .88rem; }
.detail__foot { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px dashed var(--taupe-border); position: relative; }
.detail__next { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .92rem; }
.detail__next span:first-child { color: var(--t-muted); }
.detail__next b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail__next:hover b { text-decoration: underline; text-underline-offset: 3px; }
.related { margin-top: var(--sp-8); }
.related h2 { margin-bottom: var(--sp-2); }
.related a { text-decoration: underline; text-underline-offset: 3px; }
.detail-nl { margin-top: var(--sp-8); }

/* Newsletter */
.nl { background: #fff; border: 1px solid var(--t-line); border-radius: var(--radius-md); padding: var(--sp-5); max-width: 560px; }
.nl__title { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.nl__promise { font-size: .82rem; color: var(--dark); margin-bottom: var(--sp-3); }
.nl__row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.nl__input { flex: 1 1 200px; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--black); border-radius: 100px; font: inherit; font-size: .9rem; background: #fff; }
.nl__demo { font-size: .75rem; font-weight: 600; color: var(--gold-text); margin-top: var(--sp-2); }
.nl__msg { font-size: .85rem; margin-top: var(--sp-2); }
.nl__msg:empty { display: none; }
.nl__msg.is-error, .cform__msg.is-error { color: var(--coral-text); }
.tools-footer-nl { padding: var(--sp-10) 0; }

/* Forms + dialogs */
.cdet { margin-top: var(--sp-2); }
.cdet > summary { cursor: pointer; }
.cform { display: grid; gap: var(--sp-3); margin-top: var(--sp-3); background: var(--off-white); border: 1px solid var(--t-line); border-radius: var(--radius-md); padding: var(--sp-5); }
.cform label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.cform input:not([type=checkbox]), .cform select, .cform textarea { min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--taupe-border); border-radius: var(--radius-sm); font: inherit; font-size: .9rem; font-weight: 400; background: #fff; }
.cform .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.cform .check input { width: 20px; height: 20px; flex: none; accent-color: var(--black); margin-top: 2px; }
.cform__note { font-size: .78rem; color: var(--t-muted); }
.dlg { border: 0; border-radius: var(--radius-lg); padding: 0; margin: auto; max-width: 520px; width: calc(100% - 2rem); }
.dlg::backdrop { background: rgba(8,8,8,.6); }
.dlg .cform { margin: 0; border: 0; background: #fff; }
.dlg__pad { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
.dlg__pad .nl { border: 0; padding: 0; }
.dlg__close { position: absolute; top: 8px; right: 8px; z-index: 2; }
.dlg__close button { width: 44px; height: 44px; font-size: 1.6rem; background: none; border: 0; cursor: pointer; }
.dlg--detail { max-width: 700px; max-height: min(94vh, 920px); overflow: hidden; background: #fff; border-radius: var(--radius-lg); }
.dlg--detail[open] { display: flex; flex-direction: column; }
.dlg__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; background: #fff; border: 1.5px solid var(--black); border-radius: 10px; cursor: pointer; }
.dlg__body { padding: var(--sp-8) var(--sp-8) var(--sp-5); overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.dlg__body .detail__foot { display: none; }
.dlg__foot { flex: none; border-top: 1px dashed var(--taupe-border); padding: var(--sp-3) var(--sp-8); background: #fff; position: relative; }
.dlg__foot .detail__foot { margin: 0; padding: 0; border: 0; }
.dlg__foot:empty { display: none; }
.dlg__body .detail__h { font-size: clamp(1.8rem, 4vw, 2.4rem); padding-right: 50px; }
.dlg__body .detail__cat { padding-right: 50px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2147483000; max-width: calc(100% - 2rem); background: var(--black); color: #fff; padding: .7rem 1.1rem; border-radius: 100px; font-size: .85rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.is-bad { background: var(--coral-text); border-radius: var(--radius-sm); }

@media (max-width: 1080px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; overflow: visible; padding: var(--sp-6) 0 var(--sp-4); border-right: 0; }
  .side__intro .intro__h { max-width: none; }
  .side__cta { grid-template-columns: 1fr 1fr; }
  .side__toggle { display: inline-flex; margin-top: var(--sp-3); }
  .js .facets[data-collapsed] { display: none; }
  .main { padding: 0; }
}
@media (max-width: 560px) {
  .bar { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .tgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--sp-3); padding-bottom: 4px; }
  .tcard { flex: 0 0 72%; scroll-snap-align: start; }
  .tcard .share__menu { left: auto; right: 0; }
  .card { grid-template-columns: minmax(0, 1fr) auto; padding: var(--sp-4) var(--sp-3); gap: var(--sp-3); }
  .card__badge { display: none; }
  .latest-head { padding: var(--sp-4) var(--sp-3) var(--sp-2); }
  .detail__actions .btn { flex: 1 1 100%; }
  .nl__row .btn { flex: 1 1 100%; }
  .dlg--detail { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .dlg__body { padding: var(--sp-6) var(--sp-5) var(--sp-4); }
  .dlg__foot { padding: var(--sp-2) var(--sp-5); }
}
@media (prefers-reduced-motion: reduce) { .tools * { transition: none !important; } }
.tb--none { background: var(--soft-gray); color: var(--black); }
.tools .btn:focus-visible { outline: 3px solid var(--cobalt) !important; outline-offset: 3px; }
.side__brand { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); margin-bottom: var(--sp-2); }
