/*
 * reading-kit.css — round 3 (9 Nov 2026), builder H: the Reading pages (article, glossary term, methodology, press,
 * home). Loaded by inc/reading-pages.php on those templates only. First the design files' own <style id="phone-polish">
 * block, verbatim (identical in article.html, glossary-term.html, methodology.html, press-page.html and home.html):
 * one vertical rhythm, 40px between sections on desktop and 28px on a phone, References at 32/24px, the article
 * body's phone spacing. Then the few deliberate overrides, each named.
 */

/* --- design <style id="phone-polish"> --- */

/* 5. one vertical rhythm (Daniel, 8 Nov: "fix the enormous amounts of random white space everywhere"): measured with
   tools/gap_sweep.py, empty bands of 48-130px came from stacked margins (section gap + section margin + padding, 48px before
   References, a 56px gap between board sections, 56+36px above the question lists). Caps: 40px between sections on desktop,
   28px on a phone, 32/24px before References. */
.td-refs{margin-top:32px!important}
.td-rtab{gap:40px!important}.td-rtab>section,.td-rtab>.td-sec{margin-bottom:0!important}
.td-hub-sec{padding-top:24px}
section.td-faq.mt-qs,.td-dtabs-panel>section.td-faq{margin-top:8px!important;padding-top:24px!important}
.td-rtab{margin-bottom:0!important}
.td-inst-main--entity>section.td-sec{margin-top:40px!important}
details.td-sources-one{margin-top:28px!important}
.pg-board .cal-month .cal-day{height:auto!important;max-height:356px}
.lead-section{padding-bottom:32px!important}.desk-sep{padding-top:28px!important}
[class*="StandsOut-module"][class*="__section"]{padding-bottom:24px!important}[class*="StandsOut-module"][class*="__article"]{padding-bottom:20px!important}
.tdch-panel{row-gap:32px!important}
@media (max-width:640px){
.td-refs{margin-top:24px!important}
.td-rtab{gap:28px!important}
.td-hub-sec{padding-top:20px}
.td-dtabs-panel{gap:22px!important;padding-top:14px!important}
.page-pad.py-8{padding-top:20px!important;padding-bottom:16px!important}
.tdch-panel{row-gap:24px!important}
.art-body h2.wp-block-heading,.entry-content h2.wp-block-heading{margin-top:32px!important}
.desk-sep{padding-top:24px!important;margin-top:16px!important}
/* funds board, quarter by quarter: a plain three-column table on a phone (it collapsed to 0px: grid rows inside table display) */
.mt-table.ib-quarters{display:table!important;width:100%;table-layout:auto}
.mt-table.ib-quarters col{width:auto!important}
.mt-table.ib-quarters thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important}
.mt-table.ib-quarters tbody{display:table-row-group!important}
.mt-table.ib-quarters tr{display:table-row!important;height:auto!important;min-height:0!important}
.mt-table.ib-quarters th,.mt-table.ib-quarters td{display:table-cell!important;padding:12px 0 12px 12px!important;font-size:14px;text-align:right!important;white-space:nowrap;border-bottom:1px solid var(--td-hair-soft,rgba(0,0,0,.08))}
.mt-table.ib-quarters thead th{font-size:12px;font-weight:400;color:var(--td-ink-3,#6E6A62);padding-top:0!important}
.mt-table.ib-quarters .ib-l{text-align:left!important;padding-left:0!important}
.mt-table.ib-quarters tr>*:nth-child(2){display:none!important}
.art-body{padding-top:16px!important;margin-top:8px!important}.entry-content>h2:first-child{margin-top:0!important}
.edu-grid,.wp-block-query.edu-grid{padding-bottom:16px!important}
.td-inst-main--entity>section.td-sec{margin-top:28px!important}
.td-inst-col{row-gap:24px!important}
[class*="StandsOut-module"][class*="__section"]{padding-bottom:24px!important}
details.td-sources-one{margin-top:20px!important}
.lead-section{padding-bottom:20px!important}.lead-grid{row-gap:24px!important}.lead-rail{margin-top:8px!important}
.res-item,.hl-item{padding-bottom:12px!important}.tdch--home{margin-top:12px!important}
dl.td-dos-stats{margin-top:12px!important}
[class*="StandsOut-module"][class*="__article"]{padding-bottom:20px!important}
figure.dl{margin-bottom:12px!important}
}
/* 3. chevrons: one simple chevron, accent orange, turns over when open */
.td-chev{display:inline-block;vertical-align:middle;color:var(--td-accent,#BE531B);transition:transform .16s ease-out}
.td-lc-caret,.lt-caret{display:inline-flex;align-items:center;font-size:0;line-height:0}
[aria-expanded="true"]>.td-lc-caret .td-chev,[aria-expanded="true"] .lt-caret .td-chev{transform:rotate(180deg)}
.td-chev--up{transform:rotate(180deg)}[aria-expanded="true"]>.td-chev--up{transform:none}
@media (prefers-reduced-motion:reduce){.td-chev,.td-corner{transition:none}}
/* 2. the row opener, right-hand: corner-right-down, orange; flips to corner-right-up when open */
td.ib-open,th.ib-open{width:40px;text-align:right;padding-left:0;padding-right:0}
td.ib-open .ib-more{margin:0 0 0 auto;width:40px;min-height:44px;justify-content:flex-end}
.ib-more .ib-caret,.ib-more:hover .ib-caret,.ib-more[aria-expanded="true"] .ib-caret{width:auto;height:auto;border:0;border-radius:0;background:none;color:var(--td-accent,#BE531B);transform:none}
.ib-more .td-corner{display:block;transition:transform .16s ease-out}
.ib-more[aria-expanded="true"] .td-corner{transform:scaleY(-1)}
.ib-more:hover .td-corner{transform:translateY(1px)}.ib-more[aria-expanded="true"]:hover .td-corner{transform:scaleY(-1) translateY(1px)}
/* 4. tab strips that run past the edge: an orange chevron at each edge that still has tabs beyond it (Daniel, 8 Nov: no progress bar;
   "make sure the arrow then shows to go back too") */
.td-tabs-next,.td-tabs-prev{position:absolute;z-index:2;display:flex;align-items:center;width:48px;padding:0;border:0;cursor:pointer;color:var(--td-accent,#BE531B)}
.td-tabs-next[hidden],.td-tabs-prev[hidden]{display:none}
.td-tabs-next{right:0;justify-content:flex-end;background:linear-gradient(90deg,rgba(250,250,250,0),var(--td-canvas,#FAFAFA) 55%)}
.td-tabs-prev{left:0;justify-content:flex-start;background:linear-gradient(270deg,rgba(250,250,250,0),var(--td-canvas,#FAFAFA) 55%)}
.td-tabs-next .td-chev{transform:rotate(-90deg)}.td-tabs-prev .td-chev{transform:rotate(90deg)}
.td-tabs-next:focus-visible,.td-tabs-prev:focus-visible{outline:2px solid var(--td-ink,#1A1A1B);outline-offset:-2px}
/* phone column names over the one-line ticker rows */
.mt-phead{display:none}
@media (max-width:640px){
/* 1. phone tables: ticker rows on one line, ticker · sub figure · top figure; no company name */
.mt-table td.mt-tk .mt-company{display:none}
.mt-table.mt-picked tbody tr:has(>td.mt-tk){grid-template-columns:minmax(0,112px) minmax(0,1fr) auto;column-gap:12px;min-height:52px}
.mt-table.mt-picked tbody tr:has(>td.mt-tk) td.mt-tk .mt-sym{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-table.mt-picked tbody tr:has(>td.mt-tk)>td.mt-name{grid-column:1;grid-row:1}
.mt-table.mt-picked tbody tr:has(>td.mt-tk)>td.mt-p-sub{grid-column:2!important;grid-row:1!important;text-align:left!important;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.mt-table.mt-picked tbody tr:has(>td.mt-tk)>td.mt-p-top{grid-column:3!important;grid-row:1!important}
.mt-table.mt-picked tbody tr:has(>td.mt-tk) .ib-role{display:none}
.mt-table.mt-picked tbody tr:has(>td.mt-tk) .ib-who{font-weight:400;color:var(--td-ink-2,#5C5C5A);font-size:13px}
.mt-table.mt-picked tbody tr:has(>td.mt-tk) .ib-ph-x{display:none}
.mt-phead{display:grid;grid-template-columns:minmax(0,92px) minmax(0,1fr) auto;column-gap:12px;padding:0 0 8px;border-bottom:1px solid var(--td-hair,rgba(0,0,0,.11));font-size:12px;color:var(--td-ink-3,#6E6A62)}
.mt-phead--open{grid-template-columns:minmax(0,104px) minmax(0,1fr) auto 36px}
.mt-phead>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-phead>span:nth-child(3){text-align:right}
/* rows with an opener get a fourth, right-hand column */
.mt-table.mt-picked tbody tr:has(>td.ib-open){grid-template-columns:minmax(0,1fr) auto 36px}
.mt-table.mt-picked tbody tr:has(>td.ib-open):has(>td.mt-tk){grid-template-columns:minmax(0,104px) minmax(0,1fr) auto 36px}
.mt-table.mt-picked tbody tr:has(>td.ib-open):not(:has(>td.mt-tk))>td.mt-p-top{grid-column:2;grid-row:1}
.mt-table.mt-picked tbody tr:has(>td.ib-open):not(:has(>td.mt-tk))>td.mt-p-sub{grid-column:2;grid-row:2}
.mt-table.mt-picked tbody tr>td.ib-open{display:flex!important;align-items:center;justify-content:flex-end;grid-column:-2/-1!important;grid-row:1/span 2!important;width:auto}
.mt-table.mt-picked tbody tr>td.ib-open .ib-more{width:36px}
}

/* --- deliberate overrides (round 3, builder H) --- */
/* The newsletter field: the design's height with the 44px tap target kept (the 44px min-height sat on a content-box
   input, so its 22px of padding made the row 66px tall on a phone; design 37px). */
.rail-news .rail-news-form input{box-sizing:border-box}
/* /press/ contact: the /contact/ page's WPForms form, in the design's pk-f field look (labels 14px/600, 46px fields). */
.pk-wpforms .wpforms-container{max-width:none;margin:0}
.pk-wpforms .wpforms-field-container,.pk-wpforms .wpforms-field{padding:0!important;margin:0}
.pk-wpforms .wpforms-field{margin:0 0 16px!important}
.pk-wpforms .wpforms-field-label{display:block;margin:0 0 6px!important;font-size:14px!important;font-weight:600!important;color:var(--td-ink)!important}
.pk-wpforms .wpforms-required-label{color:var(--td-accent-text,#A8480F)!important}
.pk-wpforms input[type="text"],.pk-wpforms input[type="email"],.pk-wpforms textarea{display:block;width:100%!important;max-width:none!important;box-sizing:border-box;font:inherit;font-size:16px!important;color:var(--td-ink);background:#fff;border:1px solid var(--td-hair,rgba(0,0,0,.14))!important;border-radius:0!important;padding:11px 12px!important;min-height:46px;height:auto!important}
.pk-wpforms textarea{resize:vertical;min-height:180px}
.pk-wpforms input:focus,.pk-wpforms textarea:focus{outline:2px solid var(--td-ink);outline-offset:0;border-color:var(--td-ink)!important;box-shadow:none!important}
.pk-wpforms .wpforms-field-description,.pk-wpforms .wpforms-field-sublabel{font-size:13px;color:var(--td-ink-3,#6E6A62)}
.pk-wpforms .wpforms-submit-container{margin:6px 0 0!important;padding:0!important}
.pk-wpforms button.td-btn{min-width:160px;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;color:var(--td-ink)!important;font:600 14px/1 var(--td-face)!important;padding:0 18px!important;height:36px!important}
.pk-wpforms button.td-btn:active{background-color:#F4EDE6!important}
/* The breadcrumb at the design's house-frame weight (medium, shared with the kicker); cdiff 10 Nov: 500 designed, 400 live. */
body.td-methodology .td-dos-crumbs,body.td-press .td-dos-crumbs{font-weight:var(--td-w-medium,500)}
