/* approved 440px hero and 1.1fr/1fr/1fr result grid. Extra existing
   informational sections remain available through their original anchors. */
.tq-home .nds-hero-section { --hero-height:auto; --overlay:.55; --img-overlay-color:var(--background-hero); --section-title-color:var(--text-oncolor-primary); --section-description-color:var(--text-oncolor-secondary); min-block-size:27.5rem; block-size:auto; max-block-size:none; background:var(--background-hero); }
.tq-home .nds-hero-image { opacity:.35; mix-blend-mode:luminosity; object-fit:cover; }
.tq-home .nds-hero-section .nds-section-body { display:flex; flex-direction:column; align-items:flex-start; gap:var(--spacing-3xl); padding:var(--spacing-4xl); inline-size:100%; }
.tq-home .nds-hero-section .nds-section-head { display:flex; flex-direction:column; gap:var(--spacing-3xl); max-inline-size:47.5rem; }
/* Preserve the hero's on-color tokens against generic public-page heading rules. */
.tq-home .nds-hero-section .nds-section-title { color:var(--section-title-color); font-size:var(--typo-display-lg-FS); line-height:var(--typo-display-lg-LH); font-weight:700; text-wrap:balance; }
.tq-home .nds-hero-section .nds-section-description { color:var(--section-description-color); font-size:var(--typo-text-xl-FS); line-height:var(--typo-display-xs-LH); }
.tq-home .nds-hero-section .nds-section-action { display:flex; flex-wrap:wrap; gap:var(--spacing-lg); margin:0; }
.tq-home .uj-prominent-note { padding:var(--spacing-xl) var(--spacing-4xl); background:var(--background-primary-light); }
.tq-home .nds-content-layout { max-inline-size:90rem; }
.tq-home #results,.tq-home #current-phase { padding:var(--spacing-7xl) var(--spacing-4xl); gap:var(--spacing-4xl); }
.tq-home #results { background:var(--background-default); }
.tq-home #results > .nds-section-head { max-inline-size:47.5rem; }
.tq-home #results .nds-section-title,.tq-home #current-phase .nds-section-title { font-size:var(--typo-display-md-FS); line-height:var(--typo-display-md-LH); font-weight:600; }
.tq-home #ujResultsApproved { display:grid; grid-template-columns:1.1fr 1fr 1fr; gap:var(--spacing-3xl); align-items:stretch; }
.tq-home .tq-result-card { --card-width:100%; padding:var(--spacing-3xl); gap:var(--spacing-xl); min-inline-size:0; }
.tq-home .tq-result-card h3 { margin:0; font-size:var(--typo-text-lg-FS); font-weight:600; color:var(--text-display); }
.tq-home .tq-result-number { display:flex; align-items:baseline; flex-wrap:wrap; gap:var(--spacing-md); }
.tq-home .tq-result-number > strong { font-size:var(--typo-display-lg-FS); line-height:var(--typo-display-lg-LH); font-weight:700; }
.tq-home .tq-result-number > span,.tq-home .tq-result-caption { color:var(--text-secondary-paragraph); font-size:var(--typo-text-sm-FS); line-height:var(--typo-text-sm-LH); }
.tq-home .tq-result-counts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--spacing-md); }
.tq-home .tq-result-counts > div { display:flex; flex-direction:column; gap:var(--spacing-xxs); padding:var(--spacing-lg); border-radius:var(--radius-md); background:var(--background-body); }
.tq-home .tq-result-counts span { font-size:var(--typo-text-xs-FS); color:var(--text-secondary-paragraph); }
.tq-home .tq-result-counts strong { font-size:var(--typo-text-xl-FS); font-weight:600; }
.tq-home .tq-result-track { display:flex; flex-direction:column; gap:var(--spacing-md); }
.tq-home .tq-result-row { display:flex; justify-content:space-between; gap:var(--spacing-md); font-size:var(--typo-text-sm-FS); }
.tq-home .tq-result-row > span { color:var(--text-secondary-paragraph); }
.tq-home .uj-phase-panel { display:flex; flex-direction:column; padding:0; border:0; background:transparent; gap:var(--spacing-3xl); }
.tq-home .uj-phase-main,.tq-home .uj-phase-meta { padding:var(--spacing-xl); }
@media (max-width:63.99rem) {
  .tq-home #ujResultsApproved { grid-template-columns:1fr; }
  .tq-home .nds-hero-section { min-block-size:27.5rem; }
  .tq-home .nds-hero-section .nds-section-body,.tq-home #results,.tq-home #current-phase { padding:var(--spacing-3xl) var(--spacing-xl); }
  .tq-home .nds-hero-section .nds-section-head { max-inline-size:100%; }
  .tq-home .nds-hero-section .nds-section-title { font-size:var(--typo-display-sm-FS); line-height:2.5rem; }
  .tq-home .nds-hero-section .nds-section-description { font-size:var(--typo-text-md-FS); line-height:var(--typo-text-lg-LH); }
  .tq-home .nds-hero-section .nds-section-action { inline-size:100%; flex-direction:column; }
  .tq-home .nds-hero-section .nds-section-action > a { inline-size:100%; justify-content:center; min-block-size:var(--spacing-6xl); }
  .tq-home .uj-prominent-note { padding:var(--spacing-xl); }
  .tq-home #results .nds-section-title,.tq-home #current-phase .nds-section-title { font-size:var(--typo-display-xs-FS); line-height:var(--typo-display-xs-LH); }
}

/* Homepage review: compact phase metadata; only the current card is emphasized. */
.tq-home .uj-phase-meta { display:flex; flex-wrap:wrap; align-items:center; gap:var(--spacing-3xl); border-inline-start:0; border-block: .0625rem solid var(--border-neutral-primary); }
.tq-home .uj-phase-meta-item { flex:1 1 10rem; justify-items:start; min-inline-size:0; }
.tq-home .uj-phase-meta-item .nds-tag { inline-size:fit-content; }
.tq-home .uj-phase-meta > .nds-btn { --btn-width:fit-content; flex:0 0 auto; inline-size:auto; min-block-size:var(--spacing-6xl); }
/* The requested field focus is a full bottom line; button focus stays intact. */
.tq-home #ujSearchPanel .nds-form-control { border:0; border-block-end:.0625rem solid var(--border-neutral-primary); border-radius:0; box-shadow:none; }
.tq-home #ujSearchPanel .nds-form-control:focus-within { border-block-end-color:var(--text-display); box-shadow:inset 0 -.125rem 0 var(--text-display); }
.tq-home #ujSearchPanel .nds-form-control::before,
.tq-home #ujSearchPanel .nds-form-control::after { transition:none; }
.tq-home #ujSearchInput,
.tq-home #ujSearchInput:focus,
.tq-home #ujSearchInput:focus-visible { border:0 !important; border-radius:0; outline:none !important; box-shadow:none !important; min-inline-size:0; }
/* Long English labels wrap instead of being clipped underneath the action links. */
html[lang="en"] .tq-home .nds-brand-name { white-space:normal; }
html[lang="en"] .tq-home .nds-brand-slogan { white-space:normal; max-inline-size:23rem; }
@media (min-width:60.0625rem) {
  html[lang="en"] .tq-home #ndsMainNav .nds-nav-container { flex-wrap:wrap; }
  html[lang="en"] .tq-home #ndsNavCollapse { flex:1 1 48rem; min-inline-size:0; overflow:visible; }
  html[lang="en"] .tq-home #ndsNavCollapse .nds-collapse-content { flex-wrap:wrap; }
  html[lang="en"] .tq-home #ndsNavCollapse .nds-nav-primary { flex-wrap:wrap; white-space:normal !important; overflow:visible; }
  html[lang="en"] .tq-home #ndsNavCollapse .nds-nav-link { white-space:normal; }
}
@media (max-width:30rem) {
  .tq-home .uj-phase-meta { gap:var(--spacing-xl); padding:var(--spacing-xl) 0; }
  .tq-home .uj-phase-meta-item { flex-basis:100%; }
  .tq-home #ujA11yPanel { max-inline-size:calc(100vw - var(--spacing-4xl)); }
}
.tq-home .uj-phase-meta-item strong > span { font-size:inherit; color:inherit; font-weight:inherit; }
/* One concise heading, a current-phase summary, then the canonical NDS vertical stepper. */
.tq-home #current-phase { gap:var(--spacing-3xl); }
.tq-home #current-phase > .nds-section-head { inline-size:100%; max-inline-size:none; gap:var(--spacing-lg); }
.tq-home #current-phase .nds-section-title { margin:0; font-size:var(--typo-display-sm-FS); line-height:var(--typo-display-sm-LH); }
.tq-home #current-phase .nds-section-description { margin:0; max-inline-size:60rem; font-size:var(--typo-text-md-FS); line-height:var(--typo-text-md-LH); }
.tq-home #current-phase .nds-section-wrapper,
.tq-home #current-phase .nds-section-body { inline-size:100%; min-inline-size:0; padding:0; gap:0; }
.tq-home #current-phase .nds-section-wrapper { margin-block-start:var(--spacing-3xl); }
.tq-home #current-phase .uj-phase-panel { gap:var(--spacing-xl); box-shadow:none; }
.tq-home #current-phase .uj-phase-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; padding:var(--spacing-3xl); gap:var(--spacing-3xl); border:.0625rem solid var(--border-neutral-primary); border-radius:var(--radius-md); background:var(--background-card); }
.tq-home #current-phase .uj-phase-meta-item { gap:var(--spacing-md); }
.tq-home #current-phase .uj-phase-meta-item > span:first-child { font-size:var(--typo-text-sm-FS); }
.tq-home #current-phase .uj-phase-meta-item strong { font-size:var(--typo-text-md-FS); }
@media (max-width:63.99rem) {
  .tq-home #current-phase .uj-phase-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:39.99rem) {
  .tq-home #current-phase .nds-section-title { font-size:var(--typo-display-xs-FS); line-height:var(--typo-display-xs-LH); }
  .tq-home #current-phase .uj-phase-meta { padding:var(--spacing-xl); gap:var(--spacing-xl); }
  .tq-home #current-phase .uj-phase-meta > .nds-btn { inline-size:100%; }
}
@media (min-width:60.0625rem) and (max-width:100rem) {
  html[lang="en"] .tq-home #ndsMainNav .nds-brand { flex-basis:100%; }
  html[lang="en"] .tq-home #ndsNavCollapse { flex-basis:100%; }
  html[lang="en"] .tq-home #ndsNavCollapse .nds-collapse-content { justify-content:space-between; }
}
/* Allow the navigation's actual wrapped height to participate in layout. */
@media (min-width:60.0625rem) {
  html[lang="en"] .tq-home #ndsMainNav,
  html[lang="en"] .tq-home #ndsMainNav > .nds-nav-container,
  html[lang="en"] .tq-home #ndsNavCollapse,
  html[lang="en"] .tq-home #ndsNavCollapse .nds-collapse-content { height:auto; block-size:auto; min-block-size:4.5rem; }
}
@media (max-width:60rem) {
  html[lang="en"] .tq-home .nds-topbar { block-size:auto; padding-block:var(--spacing-md); }
  html[lang="en"] .tq-home .nds-topbar .nds-digitalStamp-tab { height:auto; flex-wrap:wrap; justify-content:flex-start; }
  html[lang="en"] .tq-home .nds-topbar .nds-digitalStamp-sm-text { flex:1 1 12rem; white-space:normal; overflow:visible; text-overflow:clip; text-align:start; }
}
