/* otr26.css — On the record site design, Nov 20 2026 (F6). Loaded after each page's own styles by the otr-newsgate
   Worker, which also swaps in the new masthead (header.mast.m26). Everything here is scoped to body[data-d26] so a page
   served without the Worker is unchanged. Rollback: drop the injection in the Worker (OTR_D26=false). */

body[data-d26] {
  --ink: #0F1B2D;          /* record navy: text, masthead, footer */
  --paper: #FFFFFF;
  --wash: #F1F4F9;
  --rail: #D8DFEA;
  --quiet: #586377;        /* 5.9:1 on white */
  --cite: #1F4FD1;         /* citation blue: links, the active section, the wordmark's ¹ */
  --brk: #C8102E;          /* Breaking only */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --m26-band: 64px;
}

/* ------------------------------------------------------------- masthead: navy band + section bar */
body[data-d26] .mast.m26 { position: relative; background: none; border: 0; padding: 0; z-index: 40; }
body[data-d26] .m26-band { background: var(--ink); color: #fff; }
body[data-d26] .m26-band .wrap {
  display: flex; align-items: center; gap: 28px; min-height: var(--m26-band); padding-top: 10px; padding-bottom: 10px;
}
body[data-d26] .m26 .logo { flex: none; display: block; line-height: 0; }
body[data-d26] .m26 .logo img { height: 28px; width: auto; }
body[data-d26] .m26-ed { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; line-height: 1.3; color: #C3CEDF; }
body[data-d26] .m26-ed time { color: #fff; font-weight: 600; }
body[data-d26] .m26-tools { flex: none; display: flex; align-items: center; gap: 14px; }
body[data-d26] .m26 .acct-link { color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
body[data-d26] .m26 .acct-link:hover { text-decoration: underline; text-underline-offset: 4px; }
body[data-d26] .m26 .srch-btn, body[data-d26] .m26-menu {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; cursor: pointer;
  font: 600 14.5px/1 var(--sans); color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: 0;
}
body[data-d26] .m26 .srch-btn:hover, body[data-d26] .m26-menu:hover { border-color: #fff; background: rgba(255,255,255,.08); }
body[data-d26] .m26-menu { display: none; }
body[data-d26] .m26-menu svg { width: 16px; height: 16px; }

body[data-d26] .m26-nav { position: sticky; top: 0; z-index: 39; background: var(--paper); border-bottom: 1px solid var(--rail); }
body[data-d26] .m26-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
body[data-d26] .m26-nav a {
  position: relative; display: block; padding: 15px 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
body[data-d26] .m26-nav li:first-child a { padding-left: 0; }
body[data-d26] .m26-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: transparent; }
body[data-d26] .m26-nav li:first-child a::after { left: 0; }
body[data-d26] .m26-nav a:hover::after { background: var(--rail); }
body[data-d26] .m26-nav a[aria-current]::after { background: var(--cite); }
body[data-d26] .m26-nav a[aria-current] { color: var(--cite); }
/* Breaking tab (Nov 23): normal nav colour like every other tab (blue only as the current page); a small static red dot
   only while something is actually breaking. No glow, no pulse. */
body[data-d26] .m26-nav .m26-brk { color: var(--ink); }
body[data-d26] .m26-nav .m26-brk[aria-current] { color: var(--cite); }
body[data-d26] .m26-nav .m26-brk.is-live::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--brk);
  vertical-align: 2px; animation: none; box-shadow: none;
}
@keyframes m26-pulse { 50% { opacity: .35; } }


/* the pages' own .mast rules (flex/space-between wrap, 22px padding, nav underline, article pages hiding the nav on
   phones) would leak into the new header: neutralise them at higher specificity */
body[data-d26] .mast.m26 .wrap { justify-content: flex-start; flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; gap: 0; }
body[data-d26] .mast.m26 .m26-band .wrap { gap: 28px; padding-top: 10px; padding-bottom: 10px; }
body[data-d26] .mast.m26 .m26-nav .wrap, body[data-d26] .mast.m26 .m26-panel .wrap { display: block; }
body[data-d26] .mast.m26 nav { display: block; gap: 0; font-size: inherit; overflow: visible; max-width: none; padding-bottom: 0; }
body[data-d26] .mast.m26 nav a:hover, body[data-d26] .mast.m26 nav a[aria-current] { text-decoration: none; }
body[data-d26] .mast.m26 .srch-btn { margin-left: 0; }

/* the full section list (phones: the "Sections" button) */
body[data-d26] .m26-panel { background: var(--paper); border-bottom: 1px solid var(--rail); box-shadow: 0 12px 24px rgba(15,27,45,.12); }
body[data-d26] .m26-panel[hidden] { display: none; }
body[data-d26] .m26-panel ul { list-style: none; margin: 0; padding: 8px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
body[data-d26] .m26-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rail); font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
body[data-d26] .m26-panel a[aria-current] { color: var(--cite); }
body[data-d26] .m26-panel .m26-brk { color: var(--ink); }

/* search panel (search.js inserts it after the masthead): match the band */
body[data-d26] .srch-panel { border-bottom: 1px solid var(--rail); background: var(--wash); }

/* ------------------------------------------------------------- reading: serif prose, calmer meta, citation blue */
body[data-d26] a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
body[data-d26] .prose p, body[data-d26] .prose li {
  font-family: var(--serif); font-size: 19px; line-height: 1.62; font-optical-sizing: auto;
}
body[data-d26] .prose { max-width: 68ch; }
body[data-d26] .prose h2, body[data-d26] .prose h3 { font-family: var(--sans); letter-spacing: -.01em; }
body[data-d26] .dek, body[data-d26] #lead-dek { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: #2A3649; }
body[data-d26] .a-head .meta, body[data-d26] .cov { color: var(--quiet); }
body[data-d26] .sect-label { color: var(--cite); text-decoration: none; font-weight: 700; }
body[data-d26] .sect-label:hover { text-decoration: underline; }
body[data-d26] sup.c a { color: var(--cite); }
body[data-d26] .btn { background: var(--ink); border-radius: 0; }
body[data-d26] .btn:hover { background: var(--cite); }

/* headline lists on the front and section pages: date in quiet, title in ink, a hairline between items */
body[data-d26] .hl-grid b, body[data-d26] #hm-latest b, body[data-d26] #rows b { letter-spacing: -.005em; }
body[data-d26] .hl-grid a:hover b, body[data-d26] #hm-latest a:hover b, body[data-d26] #rows a:hover b { color: var(--cite); }
body[data-d26] .lead-img { border-radius: 0 !important; }

/* footer: navy, generous */
body[data-d26] .foot { background: var(--ink); }
body[data-d26] .foot a { color: #fff; }

/* ------------------------------------------------------------- Politics: the records panel on /news/politics/ */
body[data-d26] .pp { background: var(--wash); border-bottom: 1px solid var(--rail); padding: 28px 0 32px; margin-bottom: 8px; }
body[data-d26] .pp-h { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
body[data-d26] .pp-note { margin: 0 0 18px; font-size: 14px; color: var(--quiet); }
body[data-d26] .pp-note a { color: var(--cite); font-weight: 600; margin-left: 6px; }
body[data-d26] .pp-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: 16px; }
body[data-d26] .pp-card { background: var(--paper); border: 1px solid var(--rail); padding: 16px 18px; min-width: 0; }
body[data-d26] .pp-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
body[data-d26] .pp-card .pp-gap { margin-top: 18px; }
body[data-d26] .pp-tot { margin: 0 0 6px; font-size: 13px; color: var(--quiet); }
body[data-d26] .pp-bar { display: flex; height: 14px; gap: 2px; }
body[data-d26] .pp-bar span { display: block; min-width: 3px; }
body[data-d26] .pp-d { background: #2457C5; color: #2457C5; }
body[data-d26] .pp-r { background: #C23B3B; color: #C23B3B; }
body[data-d26] .pp-i { background: #8A8F98; color: #6B717A; }
body[data-d26] .pp-leg { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
body[data-d26] .pp-leg li { background: none; color: var(--ink); }
body[data-d26] .pp-leg li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: currentColor; }
body[data-d26] .pp-leg li.pp-d::before { background: #2457C5; } body[data-d26] .pp-leg li.pp-r::before { background: #C23B3B; }
body[data-d26] .pp-leg li.pp-i::before { background: #8A8F98; }
body[data-d26] .pp-t { width: 100%; border-collapse: collapse; font-size: 14px; }
body[data-d26] .pp-t td { padding: 7px 0; border-top: 1px solid var(--rail); vertical-align: top; }
body[data-d26] .pp-t tr:first-child td { border-top: 0; }
body[data-d26] .pp-t a { color: var(--ink); font-weight: 600; text-decoration: none; }
body[data-d26] .pp-t a:hover { color: var(--cite); text-decoration: underline; }
body[data-d26] .pp-sub { display: block; font-size: 12.5px; color: var(--quiet); }
body[data-d26] .pp-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }

/* ------------------------------------------------------------- focus, motion */
body[data-d26] a:focus-visible, body[data-d26] button:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }
body[data-d26] .m26-band a:focus-visible, body[data-d26] .m26-band button:focus-visible { outline-color: #9DB8FF; }
@media (prefers-reduced-motion: reduce) { body[data-d26] .m26-brk.is-live::before { animation: none; } }

body[data-d26] .m26-panel .m26-acct { display: none; }

/* ------------------------------------------------------------- phones and small tablets */
@media (max-width: 900px) {
  body[data-d26] .pp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body[data-d26] { --m26-band: 56px; }
  body[data-d26] .mast.m26 .m26-band .wrap { gap: 12px; }
  body[data-d26] .m26 .logo img { height: 22px; }
  body[data-d26] .m26-ed span { display: none; }
  body[data-d26] .m26-ed { font-size: 12.5px; }
  body[data-d26] .m26 .acct-link { display: none; }
  body[data-d26] .m26 .srch-btn span { display: none; }
  body[data-d26] .m26 .srch-btn { padding: 0 10px; }
  body[data-d26] .m26-menu { display: inline-flex; padding: 0 10px; }
  body[data-d26] .mast.m26 .m26-nav .wrap { padding-left: 0; padding-right: 0; }
  body[data-d26] .m26-nav ul {
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; padding: 0 16px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  body[data-d26] .m26-nav ul::-webkit-scrollbar { display: none; }
  body[data-d26] .m26-nav li { scroll-snap-align: start; }
  body[data-d26] .m26-nav a { padding: 13px 10px 12px; font-size: 14.5px; }
  body[data-d26] .prose p, body[data-d26] .prose li { font-size: 18px; }
  body[data-d26] .m26-panel .m26-acct { display: block; }
}
@media (max-width: 400px) {
  body[data-d26] .m26-ed { display: none; }
}

/* FP (Nov 20): the home lists are renamed *-g by the Worker (so home.js leaves them alone): same look */
body[data-d26] #hm-latest-g b, body[data-d26] #rows-g b { letter-spacing: -.005em; }
body[data-d26] #hm-latest-g a:hover b, body[data-d26] #rows-g a:hover b { color: var(--cite); }

/* FP (Nov 23): one section row. "More" sits exactly like the links (same font, line-height, padding); its menu has two
   columns (News sections / Tools). Phones: More opens the Sections panel (m26.js), which lists everything. */
body[data-d26] .m26-nav li.m26-more { position: relative; }
body[data-d26] .m26-nav .m26-more > button {
  appearance: none; -webkit-appearance: none; border: 0; margin: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 15px 12px 14px; font: inherit; font-size: 15px; font-weight: 600; line-height: inherit; color: var(--ink); white-space: nowrap; position: relative;
}
body[data-d26] .m26-nav .m26-more > button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: transparent; }
body[data-d26] .m26-nav .m26-more > button:hover::after { background: var(--rail); }
body[data-d26] .m26-nav .m26-more.is-cur > button { color: var(--cite); }
body[data-d26] .m26-nav .m26-more.is-cur > button::after { background: var(--cite); }
body[data-d26] .m26-more > button svg { flex: none; }
body[data-d26] .m26-more > button[aria-expanded="true"] svg { transform: rotate(180deg); }
body[data-d26] .m26-more-pop {
  position: absolute; top: 100%; right: 0; z-index: 45; display: flex; gap: 0; background: var(--paper); border: 1px solid var(--ink); padding: 6px 0;
}
body[data-d26] .m26-more-pop[hidden] { display: none; }
body[data-d26] .m26-more-col { min-width: 190px; padding: 4px 0; }
body[data-d26] .m26-more-col + .m26-more-col { border-left: 1px solid var(--rail); }
body[data-d26] .m26-more-col p { margin: 6px 16px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] .m26-more-col ul { list-style: none; margin: 0; padding: 0; display: block; }
body[data-d26] .m26-more-col:first-child ul { columns: 2; column-gap: 0; min-width: 320px; }
body[data-d26] .m26-nav .m26-more-col a { padding: 9px 16px; font-size: 15px; }
body[data-d26] .m26-nav .m26-more-col a::after { display: none; }
body[data-d26] .m26-nav .m26-more-col li:first-child a { padding-left: 16px; }
body[data-d26] .m26-nav .m26-more-col a[aria-current] { color: var(--cite); }
@media (max-width: 1180px) { body[data-d26] .m26-nav a, body[data-d26] .m26-nav .m26-more > button { padding-left: 9px; padding-right: 9px; font-size: 14.5px; } }
@media (max-width: 760px) { body[data-d26] .m26-nav .m26-more > button { padding: 13px 10px 12px; font-size: 14.5px; } body[data-d26] .m26-more-pop { display: none !important; } }
/* the politics data pages: their old second header row is now this line in the page body */
body[data-d26] .pol-links { margin: 18px 0 0; font-size: 14px; color: var(--quiet); line-height: 1.7; }
body[data-d26] .pol-links b { color: var(--ink); }
body[data-d26] .pol-links a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rail); }
body[data-d26] .pol-links a:hover { border-bottom-color: var(--ink); }

/* /politics/ hub: the politics news under the hero (cards.css look) + the data-as-of line */
body[data-d26] .pn { padding: 28px 0 8px; border-top: 1px solid var(--rail); }
body[data-d26] .pn h2 { margin: 0 0 16px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
body[data-d26] .pn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; }
body[data-d26] .pn-list > li { border-top: 2px solid var(--ink); padding-top: 12px; min-width: 0; }
body[data-d26] .pn-list > li.pn-lead { grid-column: span 2; grid-row: span 2; }
body[data-d26] .pn-list a { display: block; color: var(--ink); text-decoration: none; }
body[data-d26] .pn-list img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--rail); box-sizing: border-box; margin-bottom: 10px; background: var(--wash); }
body[data-d26] .pn-list .k, body[data-d26] .pn-more .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); margin-bottom: 4px; }
body[data-d26] .pn-list b { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
body[data-d26] .pn-list .pn-lead b { font-size: 28px; line-height: 1.12; }
body[data-d26] .pn-list .m { display: block; margin-top: 8px; font-size: 15px; color: var(--quiet); }
body[data-d26] .pn-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
body[data-d26] .pn-more { margin: 22px 0 6px; border-top: 1px solid var(--rail); }
body[data-d26] .pn-more summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
body[data-d26] .pn-more ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
body[data-d26] .pn-more li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--rail); }
body[data-d26] .pn-more a { color: var(--ink); text-decoration: none; font-weight: 600; }
body[data-d26] .pn-more a:hover { text-decoration: underline; }
body[data-d26] .pn-asof { margin: 12px 0 0; font-size: 13.5px; color: var(--quiet); }
body[data-d26] .pn-asof a { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { body[data-d26] .pn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  body[data-d26] .pn-list { grid-template-columns: 1fr; }
  body[data-d26] .pn-list > li.pn-lead { grid-column: auto; grid-row: auto; }
  body[data-d26] .pn-list .pn-lead b { font-size: 24px; }
  body[data-d26] .pn-more ul { columns: 1; }
}

/* FP (Nov 23, rev.): header search = the outlined "Search" button as before; clicking it widens it in place into the input
   (~200 ms; none with prefers-reduced-motion). Escape / outside click folds it back. Results overlay below (never shifts the page).
   Phones: the icon button opens the box across the bar. The old drop-down search panel stays suppressed. */
body[data-d26] .srch-panel { display: none !important; }
body[data-d26] .m26-tools { gap: 16px; }
body[data-d26] .m26-q { position: relative; margin: 0; display: flex; justify-content: flex-end; }
body[data-d26] .m26-q-open {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; cursor: pointer;
  font: 600 14.5px/1 var(--sans); color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: 0; white-space: nowrap;
}
body[data-d26] .m26-q-open:hover { border-color: #fff; background: rgba(255,255,255,.08); }
body[data-d26] .m26-q-open svg { width: 16px; height: 16px; flex: none; }
body[data-d26] .m26-q-box {
  display: none; align-items: center; gap: 8px; width: 240px; height: 36px; padding: 0 12px; box-sizing: border-box; cursor: text;
  border: 1.5px solid #fff; background: #fff; color: var(--quiet); transition: width .2s cubic-bezier(.2,.7,.2,1);
}
body[data-d26] .m26-q.is-open .m26-q-open { display: none; }
body[data-d26] .m26-q.is-open .m26-q-box { display: flex; }
body[data-d26] .m26-q-box svg { flex: none; width: 15px; height: 15px; }
body[data-d26] .m26-q-box input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); outline: none; -webkit-appearance: none; appearance: none; caret-color: var(--ink); }
body[data-d26] .m26-q-box input::placeholder { color: var(--quiet); opacity: 1; }
body[data-d26] .m26-q-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (prefers-reduced-motion: reduce) { body[data-d26] .m26-q-box { transition: none; } }
body[data-d26] .m26-q-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; width: 380px; max-height: 70vh; overflow: auto; background: var(--paper); border: 1px solid var(--ink); color: var(--ink); text-align: left; }
body[data-d26] .m26-q-list[hidden] { display: none; }
body[data-d26] .m26-q-list p { margin: 0; padding: 8px 14px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); border-top: 1px solid var(--rail); }
body[data-d26] .m26-q-list p:first-child { border-top: 0; }
body[data-d26] .m26-q-list a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.3; }
body[data-d26] .m26-q-list a small { display: block; color: var(--quiet); font-size: 12.5px; }
body[data-d26] .m26-q-list a img { width: 28px; height: 28px; object-fit: cover; flex: none; border: 1px solid var(--rail); }
body[data-d26] .m26-q-list a[aria-selected="true"], body[data-d26] .m26-q-list a:hover { background: var(--wash); }
body[data-d26] .m26-q-list .m26-q-all { font-weight: 700; border-top: 1px solid var(--rail); }
body[data-d26] .m26-q-list .m26-q-none { padding: 12px 14px; color: var(--quiet); font-size: 14px; }
@media (max-width: 1000px) { body[data-d26] .m26-q-box { width: 190px; } }
@media (max-width: 760px) {
  body[data-d26] .m26-q-open { width: 36px; padding: 0; justify-content: center; }
  body[data-d26] .m26-q-open span { display: none; }
  body[data-d26] .m26-q.is-open { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); z-index: 61; }
  body[data-d26] .m26-q.is-open .m26-q-box { width: 100%; }
  body[data-d26] .m26-q-list { left: 0; right: 0; width: auto; }
  body[data-d26] .m26-band .wrap { position: relative; }
}
}
body[data-d26] .m26-q-list a img { width: 44px; height: 44px; object-fit: cover; flex: none; border: 1px solid var(--rail); background: var(--wash); }
/* cards.css — the On the record card / box treatment, shared by every site (FP agent, Nov 21 2026).
   User: "make the cards and articles look less AI and more on brand, maybe a border, sharp corners".
   Square corners, 1px hairline borders or rules, no shadows, no gradients, no pill chips: labels are small capitals.
   Served on otrecord.news inside /_d26/otr26.css by otr-newsgate (scoped to body[data-d26]); otr-local, otr-business
   and the map should copy these rules (same tokens: --ink #0F1B2D, --rail #D8DFEA, --quiet #586377). */

body[data-d26] { --card-rule: var(--rail, #D8DFEA); --card-pad: 14px; }

/* 1. corners: square everywhere a card, photo, box or chip used to be rounded */
body[data-d26] :is(.latest img, .hl-grid img, .lead-img, .lead-photo img, .hm-lead img, .areas a, .quote-box, .dp .card,
  .pp-card, .people-chips li, .people-chips img, .ppl li, .ppl img, .ppl-i, .hl-ph, .hl-noimg, .srch-av, .lk-av, .fs-open,
  .foot .wear .k, sup.c a, .btn, .m26-panel, .srch-panel input, .sp-card, .gm-card, .card) { border-radius: 0 !important; }
body[data-d26] :is(.latest, .hl-grid, .areas, .dp, .quote-box, .pp, .ppl, .people-chips) * { box-shadow: none !important; }

/* 2. story cards on the fronts (/news/, sections, Breaking, local areas): a rule over each card, photo flush, 16:9 so
   generated illustrations are never cut, the date as a small-caps label */
body[data-d26] ul.latest > li { border-top: 2px solid var(--ink); padding-top: 12px; }
body[data-d26] ul.latest img { aspect-ratio: 16 / 9; margin-bottom: 12px; border: 1px solid var(--card-rule); box-sizing: border-box; background: var(--wash, #F1F4F9); }
body[data-d26] :is(ul.latest, .hl-grid, .hm-lines) .k { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] ul.latest > li > a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 3. home cards (Business, Sports lists) and the lead photo */
body[data-d26] .hl-grid img, body[data-d26] .lead-img { border: 1px solid var(--card-rule) !important; box-sizing: border-box; }
body[data-d26] .hl-grid li { border-top: 1px solid var(--card-rule); padding-top: 10px; }

/* 4. article boxes: data panels, stock box, people strip; square portraits with a hairline */
body[data-d26] :is(.dp .card, .quote-box) { border: 1px solid var(--card-rule) !important; padding: var(--card-pad) 16px !important; background: var(--paper, #fff) !important; }
body[data-d26] :is(.ppl img, .ppl-i, .people-chips img) { border: 1px solid var(--card-rule); box-sizing: border-box; }
body[data-d26] .ppl-i { background: var(--wash, #F1F4F9) !important; color: var(--ink) !important; font-weight: 700; }
body[data-d26] .lead-photo figcaption { font-size: 12.5px; color: var(--quiet); }

/* 5. local area index cards */
body[data-d26] .areas a { border: 1px solid var(--card-rule) !important; padding: var(--card-pad) 16px !important; background: var(--paper, #fff) !important; }
body[data-d26] .areas a:hover { border-color: var(--ink) !important; }

/* 6. labels that were pills: small capitals with a square hairline */
body[data-d26] .foot .wear .k { border-radius: 0; }
body[data-d26] .fs-open { border-radius: 0 !important; }

/* 7. Breaking page: the developing-now line, red small-caps time label on each card */
body[data-d26][data-d26-p="breaking"] .brk-dek { max-width: 62ch; font-size: 15px; color: var(--quiet); margin: 6px 0 0; }
body[data-d26][data-d26-p="breaking"] ul.latest .k { color: var(--brk, #C8102E); }
body[data-d26][data-d26-p="breaking"] ul.latest > li { border-top-color: var(--brk, #C8102E); }

/* 8. home: the quiz promo under Latest */
body[data-d26] .d26-quiz { margin: 18px 0 0; border: 1px solid var(--ink); }
body[data-d26] .d26-quiz a { display: block; padding: 12px 14px; color: var(--ink); text-decoration: none; }
body[data-d26] .d26-quiz b { display: block; font-size: 16px; line-height: 1.25; }
body[data-d26] .d26-quiz span { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cite, #1F4FD1); }
body[data-d26] .d26-quiz a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* 9. story image boxes (Nov 23 fix: a portrait lead rendered ~1,000px tall). Every story image the gate pages show
   sits in a fixed-ratio box: width 100%, height from aspect-ratio, cover crop, a max-height backstop. object-position
   default keeps faces in (50% 30%); a photo_focal inline style (set by the gate) wins over it. */
body[data-d26] .hm-lead img, body[data-d26] .hm-lead .lead-img {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; max-height: 560px !important;
  object-fit: cover !important; object-position: 50% 30%; margin: .4rem 0 !important;
}
body[data-d26] :is(.hl-grid img, ul.latest img, .pn-list img) {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; max-height: 420px !important;
  object-fit: cover !important; object-position: 50% 30%;
}
body[data-d26] .pn-list .pn-lead img { aspect-ratio: 16 / 9 !important; max-height: 560px !important; }

/* 10. buttons: the site-wide square navy .btn must keep white labels; ghost buttons stay white with a navy outline
   (the account page's "Sign out" / "Stock screener" were navy-on-navy) */
body[data-d26] .btn:not(.ghost) { color: #fff; }
body[data-d26] .btn.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
body[data-d26] .btn.ghost:hover { background: var(--ink); color: #fff; }

/* 11. /sports/ news: lead with a big photo, league chips, square-thumbnail cards (FP, Nov 23) */
body[data-d26] .spx-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 6px; }
body[data-d26] .spx-lead-ph { display: block; }
body[data-d26] .spx-lead-ph img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--rail); box-sizing: border-box; background: var(--wash); }
body[data-d26] .spx-k { display: block; margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] .spx-t { display: block; margin: 8px 0 0; font-size: 13px; color: var(--quiet); }
body[data-d26] .spx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
body[data-d26] .spx-chips button { appearance: none; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); padding: 6px 10px; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: 0; }
body[data-d26] .spx-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
body[data-d26] .spx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
body[data-d26] .spx-grid li { border-top: 1px solid var(--rail); }
body[data-d26] .spx-grid li[hidden] { display: none; }
body[data-d26] .spx-grid a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 0; color: var(--ink); text-decoration: none; }
body[data-d26] .spx-th { display: block; width: 96px; height: 96px; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; overflow: hidden; }
body[data-d26] .spx-th img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
body[data-d26] .spx-tx b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
body[data-d26] .spx-grid a:hover b { text-decoration: underline; text-underline-offset: 3px; }
body[data-d26] .spx-morep { margin: 16px 0 0; }
@media (max-width: 900px) { body[data-d26] .spx-lead { grid-template-columns: 1fr; gap: 14px; } body[data-d26] .spx-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { body[data-d26] .spx-grid a { grid-template-columns: 76px minmax(0, 1fr); } body[data-d26] .spx-th { width: 76px; height: 76px; } body[data-d26] .spx-tx b { font-size: 16px; } }

/* 12. story count + endless "More stories" feed (home, /news/, sections, archive) (FP, Nov 23) */
body[data-d26] .fp-count { margin: 10px 0 0; font-size: 14px; color: var(--quiet); }
body[data-d26] .fp-count b { color: var(--ink); }
body[data-d26] .fp-count a { color: var(--ink); font-weight: 600; }
body[data-d26] .fp-feed { margin: 24px 0 48px; border-top: 3px solid var(--ink); padding-top: 14px; }
body[data-d26] .fp-feed-h { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
body[data-d26] .fp-feed-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
body[data-d26] .fp-feed-list li { border-top: 1px solid var(--rail); }
body[data-d26] .fp-feed-list a { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 14px 0; color: var(--ink); text-decoration: none; }
body[data-d26] .fp-feed-list a:not(:has(.fp-feed-ph)) { grid-template-columns: 1fr; }
body[data-d26] .fp-feed-ph { display: block; width: 132px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; }
body[data-d26] .fp-feed-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
body[data-d26] .fp-feed-tx .k { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] .fp-feed-tx b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
body[data-d26] .fp-feed-tx .m { display: block; margin-top: 5px; font-size: 14px; color: var(--quiet); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body[data-d26] .fp-feed-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
body[data-d26] .fp-feed-more { margin: 18px 0 0; text-align: center; }
@media (max-width: 760px) {
  body[data-d26] .fp-feed-list { grid-template-columns: 1fr; }
  body[data-d26] .fp-feed-list a { grid-template-columns: 96px minmax(0, 1fr); }
  body[data-d26] .fp-feed-ph { width: 96px; }
  body[data-d26] .fp-feed-tx .m { display: none; }
}

/* 13. "Also today" rows (Nov 23): thumbnail, headline, then section/place and time on their own line */
body[data-d26] section.today ul.rows, body[data-d26] #rows-g { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--ink); }
body[data-d26] #rows-g li.at-row { border-bottom: 1px solid var(--rail); padding: 0; background: none; }
body[data-d26] #rows-g li.at-row a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; color: var(--ink); text-decoration: none; }
body[data-d26] #rows-g li.at-row a:not(:has(.at-th)) { grid-template-columns: 1fr; }
body[data-d26] .at-th { display: block; width: 112px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; }
body[data-d26] .at-th img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 30%; }
body[data-d26] .at-tx { display: block; min-width: 0; }
body[data-d26] .at-tx b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
body[data-d26] .at-k { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] #rows-g li.at-row a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { body[data-d26] #rows-g li.at-row a { grid-template-columns: 88px minmax(0, 1fr); } body[data-d26] .at-th { width: 88px; } body[data-d26] .at-tx b { font-size: 16px; } }

/* 14. home "Private jets & yachts" column (Nov 23 rev.): On the Record's own card style (our fonts and colours, square
   thumbnails), the partners' photos, a small credit line linking back to CelebPlanes / CelebYachts */
body[data-d26] .pj-rail { margin: 22px 0 0; padding-top: 12px; border-top: 5px solid var(--ink); }
body[data-d26] .pj-rail h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
body[data-d26] .pj-rail h2 a { color: var(--ink); text-decoration: none; }
body[data-d26] .pj-rail h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
body[data-d26] .pj-rail ul { list-style: none; margin: 0; padding: 0; }
body[data-d26] .pj-rail li { border-top: 1px solid var(--rail); }
body[data-d26] .pj-rail li a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; }
body[data-d26] .pj-rail li a:not(:has(.pj-th)) { grid-template-columns: 1fr; }
body[data-d26] .pj-th { display: block; width: 76px; aspect-ratio: 1 / 1; overflow: hidden; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; }
body[data-d26] .pj-th img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 35%; }
body[data-d26] .pj-k { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] .pj-tx b { display: block; font-size: 15.5px; line-height: 1.25; font-weight: 700; letter-spacing: -.005em; }
body[data-d26] .pj-rail li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
body[data-d26] .pj-from { margin: 0; padding-top: 8px; border-top: 1px solid var(--rail); font-size: 12.5px; color: var(--quiet); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
body[data-d26] .pj-from a { color: var(--ink); font-weight: 600; }
body[data-d26] .pj-from .pj-all { margin-left: auto; font-weight: 700; text-decoration: none; }
body[data-d26] .pj-from .pj-all:hover { text-decoration: underline; }

/* 15. balanced lead (Nov 23): the home lead no longer fills a screen. Stacked: 16:9 photo capped at 420px, headline
   clamp(30px…48px), dek in view. Wide screens (>= 1180px): photo ~58% beside the text ~42%, so photo, headline and dek all
   sit above the fold; the Latest rail starts level with the lead. */
body[data-d26] .hm-top { padding-top: 28px; }
body[data-d26] .hm-top > .wrap { align-items: start; }
body[data-d26] .hm-lead .lead-img { aspect-ratio: 16 / 9 !important; max-height: 420px !important; margin: 0 !important; }
body[data-d26] .hm-lead .lead-h { margin: 16px 0 0 !important; padding-right: 0; max-width: 22ch; font-size: clamp(30px, 4.2vw, 48px) !important; line-height: 1.06; letter-spacing: -.03em; }
body[data-d26] .hm-lead .dek, body[data-d26] .hm-lead #lead-dek { margin: 12px 0 16px !important; min-height: 0 !important; font-size: 18px; line-height: 1.45; }
body[data-d26] aside.hm-latest { margin-top: 0; }
@media (min-width: 1180px) {
  body[data-d26] .hm-lead { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
  body[data-d26] .hm-lead > a:first-child { grid-column: 1; grid-row: 1 / span 3; display: block; }
  body[data-d26] .hm-lead > :not(a:first-child) { grid-column: 2; }
  body[data-d26] .hm-lead .lead-img { aspect-ratio: 4 / 3 !important; max-height: 420px !important; }
  body[data-d26] .hm-lead .lead-h { margin-top: 0 !important; font-size: clamp(28px, 2.35vw, 40px) !important; }
  body[data-d26] .hm-lead .dek, body[data-d26] .hm-lead #lead-dek { font-size: 17px; }
}
@media (max-width: 640px) {
  body[data-d26] .hm-lead .lead-h { font-size: 30px !important; }
  body[data-d26] .hm-lead .dek, body[data-d26] .hm-lead #lead-dek { font-size: 16.5px; }
}
/* section fronts and hubs: the same caps on their lead photos */
body[data-d26] .pn-list .pn-lead img { max-height: 420px !important; }
body[data-d26] .pn-list .pn-lead b { font-size: clamp(24px, 2.4vw, 34px) !important; }
body[data-d26] .spx-lead-ph img { max-height: 420px; }
body[data-d26] .spx-lead .sp-lead-h { font-size: clamp(28px, 3vw, 46px); line-height: 1.06; }

/* 16. home main column fill (Nov 23 rev.): "More top stories" under the lead across the FULL main column, three photo cards
   per row (at most three rows, only as many as it takes to meet the right rail). Headlines clamp to 3 lines. */
body[data-d26] .hm-top .hm-lead > .hm-fill { grid-column: 1 / -1; grid-row: auto; }
body[data-d26] .hm-fill { margin-top: 28px; padding-top: 12px; border-top: 3px solid var(--ink); }
body[data-d26] .hm-fill-h { margin: 0 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
body[data-d26] .hm-fill ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
body[data-d26] .hm-fill li { border-top: 1px solid var(--rail); padding: 12px 0 18px; min-width: 0; }
body[data-d26] .hm-fill a { display: block; color: var(--ink); text-decoration: none; }
body[data-d26] .hm-fill-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; margin-bottom: 10px; }
body[data-d26] .hm-fill-ph img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; max-height: none !important; object-fit: cover; object-position: 50% 30%; }
body[data-d26] .hm-fill-k { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-d26] .hm-fill b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.24; letter-spacing: -.01em; }
body[data-d26] .hm-fill a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { body[data-d26] .hm-fill ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 17. "Also today" across the full width (its old right-hand box is gone): two columns of rows on wide screens */
body[data-d26] section.today .wrap { grid-template-columns: minmax(0, 1fr) !important; }
body[data-d26] section.today { padding-bottom: 56px; }
@media (min-width: 900px) {
  body[data-d26] #rows-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  body[data-d26] #rows-g li.at-row b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* 18. "More like this" under every article (Nov 23): 8 similar photo stories, 4 across on desktop, 2 on phones */
body[data-d26] section.ml { padding: 28px 0 36px; border-top: 3px solid var(--ink); margin-top: 8px; }
body[data-d26] section.ml h2 { margin: 0 0 14px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
body[data-d26] .ml-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; }
body[data-d26] .ml-list li { border-top: 1px solid var(--rail); padding: 12px 0 20px; min-width: 0; }
body[data-d26] .ml-list a { display: block; color: var(--ink); text-decoration: none; }
body[data-d26] .ml-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); border: 1px solid var(--rail); box-sizing: border-box; margin-bottom: 10px; }
body[data-d26] .ml-ph img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; max-height: none !important; object-fit: cover; object-position: 50% 30%; }
body[data-d26] .ml-k { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-d26] .ml-list b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.25; letter-spacing: -.01em; }
body[data-d26] .ml-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { body[data-d26] .ml-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } body[data-d26] .ml-list b { font-size: 15.5px; } }

/* 19. home Politics module, 2026 results (Nov 23): balance of power bars, flips and closest races */
body[data-d26] .pr-kick { margin: 6px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet); }
body[data-d26] .pr-bal { margin: 0 0 18px; }
body[data-d26] .pr-bal p { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 5px; font-size: 15px; }
body[data-d26] .pr-bal p span { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
body[data-d26] .pr-bar { display: flex; height: 12px; gap: 2px; }
body[data-d26] .pr-bar i { display: block; min-width: 3px; }
body[data-d26] .pr-bar i.d { background: #2457C5; } body[data-d26] .pr-bar i.r { background: #C23B3B; } body[data-d26] .pr-bar i.o { background: #8A8F98; }
body[data-d26] .pol-home h3.pr-gap { margin-top: 20px; }
body[data-d26] .pr-list li { display: block; }
body[data-d26] .pr-list .pr-race { display: block; font-weight: 700; }
body[data-d26] .pr-list li > span { display: block; margin-top: 2px; font-size: 14px; color: var(--quiet); }
body[data-d26] .pr-list li > span a { color: var(--ink); font-weight: 600; }
body[data-d26] .pr-p { display: inline-block; margin: 0 2px; padding: 0 4px; font-size: 11px; font-weight: 800; line-height: 16px; color: #fff; }
body[data-d26] .pr-p.pr-d { background: #2457C5; } body[data-d26] .pr-p.pr-r { background: #C23B3B; } body[data-d26] .pr-p.pr-i { background: #6B717A; }
body[data-d26] .pr-note { margin: 12px 0 8px; font-size: 13px; color: var(--quiet); }

/* 20. readers' counts on cards (egc.js): inside the card's own meta line, same type, quieter */
body[data-d26] .egc { font-weight: 600; color: var(--quiet); letter-spacing: inherit; text-transform: inherit; white-space: nowrap; }
/* the server-rendered fill only shows beside a side-by-side rail (on phones the rail stacks below: nothing to fill) */
@media (max-width: 899px) { body[data-d26] .hm-top .hm-lead > .hm-fill { display: none; } }

/* 21. a visible frame on every photo and thumbnail (user, Nov 23): a 1px ink line OUTSIDE the image, so it contrasts with the
   page (not the photo) on light and dark photos alike. No layout change: box-shadow spread on bare images; images inside an
   overflow:hidden thumbnail box get the frame on the box. Sharp corners, no blur. Logos, icons, SVG, team marks, ads skipped.
   Token: --photo-rule #111111 (same rule on business.otrecord.news). */
body[data-d26] { --photo-rule: #111111; }
body[data-d26] :is(main, article, aside, section, .pj-rail, .m26-q-list) img:not([src$=".svg"]):not([src*=".svg?"]):not(.sp-logo):not([class*="logo"]):not([class*="icon"]):not([width="16"]):not([width="20"]):not([width="24"]) {
  box-shadow: 0 0 0 1px var(--photo-rule); outline: none; border-radius: 0;
}
body[data-d26] :is(.hm-fill-ph, .ml-ph, .at-th, .pj-th, .spx-th, .fp-feed-ph, .fp-ph) { border: 1px solid var(--photo-rule) !important; }
body[data-d26] :is(.hm-fill-ph, .ml-ph, .at-th, .pj-th, .spx-th, .fp-feed-ph, .fp-ph) img { box-shadow: none !important; }
body[data-d26] :is(ul.latest img, .hl-grid img, .lead-img, .pn-list img, .spx-lead-ph img, .lead-photo img) { border-color: var(--photo-rule) !important; }
body[data-d26] :is(.logo, .foot, [class*="logo"], .sp-board, .hm-board, .adsbygoogle, .eg-bar, .pref-src) img { box-shadow: none !important; outline: none !important; }
/* headshots in the people strip: §1 strips shadows inside .ppl/.people-chips, so set their frame explicitly */
body[data-d26] :is(.ppl, .people-chips) img { box-shadow: 0 0 0 1px var(--photo-rule) !important; }

/* 22. Google's official "preferred source" badge under the masthead (home, /news/); never framed */
body[data-d26] .pref-wrap { padding-top: 0; }
body[data-d26] .pref-src { display: inline-block; margin: 10px 0 6px; line-height: 0; }
body[data-d26] .pref-src img { display: block; width: 169px; height: auto; border: 0; box-shadow: none !important; outline: none !important; }

/* 23. ticker chips on cards (Nov 23): NVDA +31.48% (price as of the article's date), green/red, tabular, square; link to the company */
body[data-d26] .tkc { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
body[data-d26] .tkc-chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 6px; border: 1px solid currentColor; font-size: 12px; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none !important; white-space: nowrap; background: var(--paper); }
body[data-d26] .tkc-chip b { color: var(--ink); font-weight: 800; letter-spacing: .02em; }
body[data-d26] .tkc-chip.up { color: #0B6B2E; } body[data-d26] .tkc-chip.dn { color: #B00020; }
body[data-d26] .tkc-chip .tkc-px { color: var(--quiet); font-weight: 500; }
body[data-d26] .tkc-chip:hover { background: var(--wash); }
body[data-d26] #rows-g li .tkc { margin-left: 126px; margin-bottom: 8px; }
@media (max-width: 480px) { body[data-d26] #rows-g li .tkc { margin-left: 102px; } }
/* select.css — On the record's dropdown (pairs with select.js). Square, 1px ink border, our font, a chevron, a menu panel
   styled like the header's More menu. Scoped to body[data-d26] like the rest of the shared header CSS. */
body[data-d26] .osel { position: relative; display: inline-block; vertical-align: middle; max-width: 100%; font: inherit; }
body[data-d26] .osel.osel-block { display: block; width: 100%; }
body[data-d26] .osel .osel-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; margin: 0; }
body[data-d26] .osel-btn {
  appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 40px; margin: 0; padding: 8px 12px; box-sizing: border-box; cursor: pointer; text-align: left;
  background: var(--paper, #fff); color: var(--ink, #0F1B2D); border: 1px solid var(--ink, #0F1B2D); border-radius: 0;
  font: 500 15px/1.3 var(--sans, "Public Sans", Arial, sans-serif);
}
body[data-d26] .osel-btn:hover { background: var(--wash, #F1F4F9); }
body[data-d26] .osel-btn:focus-visible { outline: 2px solid var(--cite, #1F4FD1); outline-offset: 2px; }
body[data-d26] .osel-btn:disabled { opacity: .5; cursor: default; }
body[data-d26] .osel-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-d26] .osel-btn svg { flex: none; transition: transform .15s; }
body[data-d26] .osel.is-open .osel-btn svg { transform: rotate(180deg); }
body[data-d26] .osel-list {
  position: absolute; z-index: 70; top: calc(100% + 4px); left: 0; min-width: 100%; max-width: min(420px, calc(100vw - 24px)); max-height: 300px;
  overflow: auto; margin: 0; padding: 4px 0; list-style: none; box-sizing: border-box;
  background: var(--paper, #fff); border: 1px solid var(--ink, #0F1B2D); outline: none;
}
body[data-d26] .osel.osel-up .osel-list { top: auto; bottom: calc(100% + 4px); }
body[data-d26] .osel-list[hidden] { display: none; }
body[data-d26] .osel-list li { padding: 9px 14px; font: 500 15px/1.3 var(--sans, "Public Sans", Arial, sans-serif); color: var(--ink, #0F1B2D); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-d26] .osel-list li[data-group]::before { content: attr(data-group); display: block; margin: -2px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--quiet, #586377); }
body[data-d26] .osel-list li.is-active { background: var(--wash, #F1F4F9); }
body[data-d26] .osel-list li[aria-selected="true"] { font-weight: 700; color: var(--cite, #1F4FD1); }
body[data-d26] .osel-list li[aria-selected="true"]::after { content: ""; display: inline-block; width: 6px; height: 10px; margin-left: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
body[data-d26] .osel-list li[aria-disabled="true"] { color: var(--quiet, #586377); cursor: default; }
@media (prefers-reduced-motion: reduce) { body[data-d26] .osel-btn svg { transition: none; } }
