/* Shared screen typography, masthead and route styles for the Takhara research site. */
@font-face {font-family:Takhara Plex;src:url('/assets/fonts/ibm-plex-sans-latin-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face {font-family:Takhara Plex;src:url('/assets/fonts/ibm-plex-sans-latin-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root {
  --tk-ink:#142e3c; --tk-paper:#faf9f6; --tk-surface:#fff; --tk-muted:#455e68;
  --tk-teal:#12645f; --tk-border:#c7d1cc; --tk-gold:#b3874e; --tk-deep:#102c39;
  --tk-tint:#eef3ef; --tk-sand:#f1ede3; --tk-serif:Georgia,'Times New Roman',serif;
  --tk-sans:'Takhara Plex',Plex,'Helvetica Neue',Arial,sans-serif; --tk-shell: min(82rem,calc(100% - clamp(2.3rem,9vw,9rem)));
}
body.tk-site {background:var(--tk-paper);color:var(--tk-ink);font-family:var(--tk-sans)}
.tk-site :where(button,input,select) {font-family:inherit}
.tk-site :where(a,button,summary,input,select):focus-visible {outline:3px solid #147b98;outline-offset:3px}
.tk-site :where(.economic-cover,.cover,.hh-cover,.tk-footer) :focus-visible {outline-color:#efd298}
.tk-mast,.tk-mast *,.tk-footer,.tk-footer * {box-sizing:border-box}
.tk-site>.tk-mast {background:var(--tk-paper);border:0;border-bottom:1px solid var(--tk-border);position:relative;z-index:6}
.tk-mast-inner,.tk-footer-inner {width:var(--tk-shell);margin-inline:auto}
.tk-mast-inner {min-height:4.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.05rem}
.tk-mast .tk-wordmark,.tk-mast nav a,.tk-footer a {color:inherit;text-decoration:none}
.tk-mast .tk-wordmark {display:inline-flex;align-items:center;gap:.67rem;font:600 1.05rem/1 var(--tk-sans);text-transform:uppercase;letter-spacing:.2em;white-space:nowrap}
.tk-wordmark img {display:block;width:32px;height:32px;flex:none}
.tk-mast .tk-desktop {display:flex;align-items:center;gap:clamp(.8rem,2.1vw,2.45rem);flex-wrap:nowrap}
.tk-mast .tk-desktop a {position:relative;min-height:2.75rem;display:inline-flex;align-items:center;gap:.55rem;font:600 .91rem/1.2 var(--tk-sans);white-space:nowrap}
.tk-mast .tk-desktop a[aria-current]::after {content:'';height:2px;background:var(--tk-teal);position:absolute;left:0;right:0;bottom:.12rem}
.tk-mast .tk-desk-link {color:var(--tk-teal);border-inline-start:1px solid var(--tk-border);padding-inline-start:clamp(.8rem,2vw,2.1rem)}
.tk-mast nav a:hover {color:var(--tk-teal);text-decoration:underline;text-underline-offset:.22em}
.tk-mast .tk-menu {display:none}
.tk-research-path {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .6rem;color:var(--tk-muted);font-size:.83rem;padding-top:1.55rem}
.tk-research-path a {color:var(--tk-teal);text-decoration:underline;text-underline-offset:.17em}
.tk-research-path span {color:#7c8f91}
.tk-site>.tk-footer {background:var(--tk-deep);color:#e1e9e8;border:0;padding:0}
.tk-footer-inner {display:grid;grid-template-columns:1fr auto;gap:.7rem 2rem;align-items:center;padding-block:1.65rem}
.tk-footer-contact,.tk-footer nav {display:flex;gap:.5rem 1.25rem;align-items:center;flex-wrap:wrap}
.tk-footer-contact,.tk-footer nav,.tk-footer-note {font:400 .83rem/1.5 var(--tk-sans)}
.tk-footer .tk-footer-mark {font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:#fff}
.tk-footer a:hover {color:#f1dbaf;text-decoration:underline;text-underline-offset:.2em}
.tk-footer-note {margin:0;grid-column:1/-1;color:#becfd1;font-size:.75rem}
.tk-home .width,.tk-economics .eh-wrap,.tk-housing .hh-wrap {width:var(--tk-shell)}
.tk-home .cover,.tk-economics .economic-cover,.tk-housing .hh-cover {background-color:var(--tk-deep)}
.tk-home .cover-copy h1 {font-size:clamp(3.5rem,5.4vw,6.2rem);letter-spacing:-.054em}
.tk-home .cover-copy>p {max-width:32rem;color:#e5eeed}.tk-home .primary-action,.tk-housing .hh-action {background:#eddbb9;color:#172f38;border-radius:2px}
.tk-home .primary-action:hover,.tk-housing .hh-action:hover {background:#f7ead2}
.tk-home .resources {padding-top:clamp(2.35rem,4.35vw,4.7rem)}
.tk-home .tool-grid {gap:clamp(.75rem,1.65vw,1.65rem);margin-top:1.25rem}
.tk-home .tool {min-width:0;border:1px solid var(--tk-border);background:var(--tk-surface);padding:clamp(1.05rem,1.9vw,1.85rem);transition:border-color 140ms ease,background 140ms ease}
.tk-home .tool::before {inset:-1px auto auto -1px;width:2.75rem;height:3px;background:var(--tk-teal)}
.tk-home .tool:hover {background:var(--tk-tint);border-color:#809d96}
.tk-home .tool h3 {color:var(--tk-ink);letter-spacing:-.035em}.tk-home .tool p {color:var(--tk-muted);max-width:40ch}
.tk-home .tool-arrow {font-size:1.05rem;color:var(--tk-teal)}
.tk-economics .cover-cta {color:#efdbb5}.tk-economics .section-nav,.tk-housing .hh-jumps {background:#edf1ec;border-color:var(--tk-border)}
.tk-economics .section-nav a,.tk-housing .hh-jumps a {color:#234c51;min-height:2.65rem}
.tk-economics .hub-body>section,.tk-housing .hh-body>section {border-color:var(--tk-border)}
.tk-economics :is(.trend-chart-panel,.econ-signal-card),.tk-housing :is(.rp-panel,.ms-block,.metric) {background:var(--tk-surface);border-color:var(--tk-border)}
.tk-economics .hub-body :is(.trend-stats,.signals-metrics,.credit-ledger),.tk-housing .hh-body :is(.metric,.rp-panel,.ms-panel) {font-variant-numeric:tabular-nums}
.tk-economics .monthly-feature {background:var(--tk-tint);border-inline-start:3px solid var(--tk-teal)}
.tk-economics .monthly-meta,.tk-housing .hh-report time {color:var(--tk-teal);font-size:.79rem}
.tk-economics .ledger-scroll {overflow-x:auto}
.tk-economics .credit-ledger thead th {color:var(--tk-muted);font-weight:600;border-color:var(--tk-border)}
.tk-economics .credit-ledger tbody tr:nth-child(2n) {background:#f1f3ef}
.tk-economics #release-calendar .ec-cal-date {background:var(--tk-tint);color:var(--tk-ink);border-inline-start:2px solid var(--tk-teal)}
.tk-economics #release-calendar .ec-cal-list .ec-cal-row {border-color:var(--tk-border)}
.tk-economics :is(.signals-grid,.beige-book) details {border-color:var(--tk-border)}
.tk-housing .hh-report {background:var(--tk-surface);border-color:var(--tk-border);position:relative}
.tk-housing .hh-report:first-child {border-top:3px solid var(--tk-teal)}
.tk-housing .hh-report:hover {background:var(--tk-tint);border-color:var(--tk-teal)}
.tk-housing .ms .ms-scores>div {font-variant-numeric:tabular-nums}
.tk-housing .hh-read {color:var(--tk-teal)}
.tk-report main,.tk-archive main {width:min(64rem,calc(100% - clamp(2.3rem,9vw,8rem)))}
.tk-site:is(.tk-report,.tk-archive,.tk-method) .intro {padding:clamp(2.1rem,4vw,4.25rem) 0 clamp(1.4rem,2.5vw,2.45rem)}
.tk-site:is(.tk-report,.tk-archive,.tk-method) .intro h1 {font-family:var(--tk-serif);font-weight:400;font-size:clamp(2.5rem,5.15vw,4.85rem);line-height:1.045;letter-spacing:-.05em;max-width:21ch;color:var(--tk-ink);margin:.57rem 0 0}
.tk-site:is(.tk-report,.tk-archive,.tk-method) .intro .deck {color:var(--tk-muted);max-width:60ch;line-height:1.5}
.tk-site:is(.tk-report,.tk-archive,.tk-method) :is(.period,.row-date) {color:var(--tk-teal);font:600 .77rem/1.45 var(--tk-sans);letter-spacing:.075em;text-transform:uppercase}
.tk-site.tk-report .facts {background:var(--tk-tint);border-block:1px solid var(--tk-border);padding:1.15rem clamp(.9rem,2vw,1.75rem);gap:1rem;margin:0 0 clamp(2rem,3.3vw,3.25rem)}
.tk-report .facts>div+div {border-left:1px solid #c6d3cb;padding-left:clamp(.65rem,1.5vw,1.5rem)}
.tk-report .facts dd:first-of-type {color:var(--tk-ink);line-height:1.26;font-variant-numeric:lining-nums tabular-nums}
.tk-report .facts dt,.tk-report .facts dd:last-child {color:var(--tk-muted)}
.tk-report .reading {max-width:47.5rem;margin-inline:auto}
.tk-report .reading h2 {line-height:1.17;max-width:35ch;letter-spacing:-.035em;color:var(--tk-ink)}
.tk-report .reading section:not(.watch)>p:not(.sources) {font-size:1.035rem;line-height:1.75}
.tk-report .reading .sources {border-top:1px solid #e0e5df;padding-top:.55rem;margin-top:1rem}
.tk-report .reading .sources a,.tk-report .return,.tk-method .links a {color:var(--tk-teal)}
.tk-report .reading .watch {background:var(--tk-sand);border-left:3px solid var(--tk-gold)}
.tk-report .finance {background:var(--tk-surface);border:1px solid var(--tk-border);padding:clamp(.8rem,1.8vw,1.5rem)}
.tk-report .finance td,.tk-report .finance th {font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tk-archive .editions {border-top:1px solid var(--tk-border)}
.tk-archive .editions li {border-top:0;border-bottom:1px solid var(--tk-border)}
.tk-archive .editions li a {display:grid;grid-template-columns:minmax(9rem,.35fr) minmax(0,1fr);column-gap:clamp(1rem,3.5vw,3rem);row-gap:.4rem;padding:clamp(1.35rem,3.4vw,2.4rem) .4rem}
.tk-archive .editions li a:hover {background:var(--tk-tint);color:var(--tk-teal)}
.tk-archive .row-date {grid-row:span 2;align-self:start;padding-top:.3rem}
.tk-archive .editions h2 {font:400 clamp(1.55rem,2.65vw,2.45rem)/1.15 var(--tk-serif);letter-spacing:-.033em;margin:0}
.tk-archive .editions li p {grid-column:2;color:var(--tk-muted)}
.tk-method main {width:min(66rem,calc(100% - clamp(2.3rem,9vw,8rem)))}
.tk-method .jump {border-color:var(--tk-border);color:var(--tk-teal)}
.tk-method main>section {border-bottom:1px solid var(--tk-border);padding-bottom:1.5rem}
.tk-method .met,.tk-method .result {background:var(--tk-tint)}.tk-method .met {border:1px solid var(--tk-border)}
.tk-method .audit,.tk-method .corridors table {background:#fff}.tk-method .audit th,.tk-method .corridors th {color:var(--tk-ink)}
.tk-site :where(.ms,.rp-section,.tk-method,.trend-controls,#release-calendar) :is(button:not(:disabled),input,select):focus-visible {outline:3px solid #147b98;outline-offset:2px}
@media (max-width:46rem) {
  .tk-mast-inner{min-height:3.9rem}.tk-mast .tk-desktop{display:none}
  .tk-mast .tk-menu{display:block;margin:0;padding:0;border:0;background:transparent}
  .tk-mast .tk-menu summary{display:flex;align-items:center;gap:.55rem;font:600 .93rem var(--tk-sans);min-height:2.75rem;cursor:pointer;list-style:none}
  .tk-menu summary::-webkit-details-marker{display:none}
  .tk-menu summary span{font:400 1rem/1 Arial,sans-serif;color:var(--tk-teal)}
  .tk-menu nav{display:grid;position:absolute;inset:100% 0 auto;padding:.45rem max(1.15rem,4.5vw) .7rem;background:var(--tk-paper);border-block:1px solid var(--tk-border);box-shadow:0 9px 15px #132d3919;gap:0}
  .tk-menu nav a{display:block;padding:.65rem .25rem;min-height:2.55rem;font:600 .94rem/1.3 var(--tk-sans)}
  .tk-menu nav [aria-current]{color:var(--tk-teal);text-decoration:underline;text-underline-offset:.28em}
  .tk-footer-inner{grid-template-columns:1fr;gap:.75rem}.tk-footer nav{gap:.4rem 1rem}
  .tk-home .cover-copy h1{font-size:clamp(2.8rem,10vw,4.4rem)}
  .tk-archive .editions li a{grid-template-columns:1fr;padding:1.3rem .15rem}.tk-archive .row-date,.tk-archive .editions li p{grid-row:auto;grid-column:1}
}
@media(max-width:32rem) {
  .tk-economics .section-nav a,.tk-housing .hh-jumps a{min-height:2.1rem}
  .tk-research-path{padding-top:1rem}
  .tk-report .facts{gap:.55rem;padding:.9rem .6rem}.tk-report .facts>div+div{padding-left:.5rem}
  .tk-report .facts dd:first-of-type{font-size:clamp(1.3rem,5.4vw,1.75rem);overflow-wrap:anywhere}
}
@media(max-width:22rem) {.tk-report .facts{grid-template-columns:1fr}.tk-report .facts>div+div{border-left:0;border-top:1px solid var(--tk-border);padding:.6rem 0 0}.tk-report .facts dt{min-height:0}}
@media(prefers-reduced-motion:reduce){.tk-site .tool{transition:none}}
@media print {.tk-site>.tk-mast,.tk-site>.tk-footer,.tk-research-path{display:none!important}.tk-site{background:white;color:#142329}.tk-report main,.tk-method main{width:100%}.tk-report .reading{max-width:none}.tk-report .facts,.tk-report .finance{break-inside:avoid}}
.tk-error main {display:grid;align-items:center;min-height:54vh}
.tk-error .page-main {background:var(--tk-paper);color:var(--tk-ink);padding:clamp(3rem,8vw,7rem) 0}
.tk-error .page-main .wrap {width:var(--tk-shell);margin-inline:auto}
.tk-error .page-hero {max-width:52rem;border-inline-start:3px solid var(--tk-teal);padding-inline-start:clamp(1.1rem,3vw,2.6rem)}
.tk-error .page-hero h1 {font:400 clamp(3rem,6vw,5.8rem)/1 var(--tk-serif);letter-spacing:-.048em;margin:.4rem 0 1rem}
.tk-error .related a {display:inline-flex;align-items:center;min-height:2.75rem;padding:.42rem 1rem;background:var(--tk-deep);color:white;text-decoration:none}
@media(max-width:34rem) {
  .tk-housing .ms-picker {grid-template-columns:minmax(0,1fr)}
  .tk-housing .ms-picker label,.tk-housing .rp-controls label {min-width:0}
  .tk-housing .ms-picker :is(select,input),.tk-housing .rp-controls select {width:100%;min-width:0;max-width:100%;min-height:2.75rem}
  .tk-housing .ms .ms-scores>div {grid-template-columns:minmax(0,1fr) auto}
  .tk-housing .ms .ms-scores>div>p,.tk-housing .ms .ms-sources {overflow-wrap:anywhere}
}
