/* Selected homepage direction 06: route map. Loaded last to override legacy density. */
:root{
  --site-font:"Noto Sans TC","Microsoft JhengHei",sans-serif;
  --midnight:#0b1f3a;
  --midnight-soft:#163b5d;
  --sky:#68bfe8;
  --sky-dark:#176c96;
  --sky-soft:#e8f5fb;
  --wine:#7a2343;
  --wine-soft:#f7e9ef;
  --ink:#0b1f3a;
  --muted:#52697c;
  --paper:#f7f8fa;
  --white:#fff;
  --line:#d5e3ec;
  --green:#176c96;
  --green-dark:#0b1f3a;
  --green-soft:#e8f5fb;
  --lime:#68bfe8;
  --purple:#7a2343;
  --purple-soft:#f7e9ef;
  --amber:#7a2343;
  --amber-soft:#f7e9ef;
  --red:#7a2343;
  --red-soft:#f7e9ef;
  --shadow:0 18px 48px rgba(11,31,58,.12);
}
html{font-size:16px}
body{font-family:var(--site-font);font-size:16px;font-weight:400;line-height:1.75;letter-spacing:.015em;background:var(--paper);color:var(--ink);text-rendering:optimizeLegibility}
button,input,select,textarea{font:inherit}
.site-header{height:76px;background:rgba(255,255,255,.98);border-bottom-color:var(--line);box-shadow:0 5px 22px rgba(11,31,58,.055)}
.site-header .brand{gap:13px;min-width:244px}
.vendor-logo{width:150px;height:50px;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none}
.vendor-logo img{width:100%;height:100%;object-fit:contain;filter:none}
.product-brand{padding-left:13px;border-left:1px solid #cbdbe6}
.product-brand strong{font-size:19px;font-weight:700;line-height:1.2;letter-spacing:.08em;color:var(--midnight)}
.product-brand small{margin-top:5px;color:var(--sky-dark);font-size:11px;font-weight:600;letter-spacing:.11em}
.desktop-nav{font-size:15px;font-weight:600;gap:clamp(18px,2vw,34px);letter-spacing:.025em}
.desktop-nav a:after{background:var(--wine)}
.button-small{font-size:15px;padding-inline:15px}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;margin-bottom:15px}
.text-link{font-size:16px;text-underline-offset:6px}
.button-primary{background:var(--midnight);color:#fff;box-shadow:none}
.button-primary:hover{background:var(--midnight-soft)}
.button-ghost{background:#fff;border-color:#b9ccda}
.icon-button{background:#fff;border-color:#b9ccda}
.icon-button span{background:var(--wine)}
.auth-header-button{border-color:var(--midnight);color:var(--midnight);background:#fff}
:is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--sky);outline-offset:3px}
body:not(.customer-authenticated) :is(.company-button,.case-button,#savedButton,.v25-launch){display:none}
body:not(.customer-authenticated) .header-actions{margin-left:auto}

body .route-hero{display:block;min-height:0;padding:68px max(24px,calc((100vw - 1180px)/2)) 52px;background:linear-gradient(125deg,#fff 35%,#f3f5f7 75%,#eaf5fb 100%);color:var(--ink);border-bottom:1px solid var(--line)}
.route-hero:before,.route-hero .hero-orb{display:none}
.route-hero-top{display:flex;align-items:flex-end;justify-content:space-between;gap:54px}
.route-hero .hero-content{max-width:700px}
.route-hero h1{font-size:clamp(42px,4.7vw,62px);font-weight:700;line-height:1.19;letter-spacing:-.018em}
.route-hero h1 em{color:var(--sky-dark)}
.route-hero h1 em:after{display:none}
.route-hero .eyebrow{color:var(--sky-dark)}
.route-hero .hero-copy{max-width:650px;margin:22px 0 0;color:var(--muted);font-size:18px;font-weight:400;line-height:1.8;letter-spacing:.025em}
.route-hero .hero-actions{flex:0 0 auto;display:grid;justify-items:start;gap:17px;padding-bottom:7px}
.route-hero .button-large{min-height:56px;padding-inline:25px;font-size:17px}
.route-hero .button-primary{background:var(--sky);border-color:var(--sky);color:var(--midnight)}
.route-hero .button-primary:hover{background:#8cd1ef}
.route-hero .text-link{color:var(--sky-dark);border-color:var(--sky-dark)}

.route-map{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;list-style:none;margin:52px 0 0;padding:31px 30px;border:1px solid #d4e1e9;border-top:3px solid var(--sky);border-radius:7px;background:#fff;color:var(--midnight);box-shadow:0 8px 28px rgba(40,62,80,.05)}
.route-map:before{content:none;display:none}
.route-map li{position:relative;display:grid;grid-template-columns:64px 1fr;gap:15px;align-items:start;min-width:0;padding-right:22px}
.route-map li>span,.route-map li>button>span{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;border:2px solid #c4d0da;border-radius:12px;background:#fff;color:#536a7c}
.route-map li svg{width:27px;height:27px;stroke-width:1.65}
.route-map li>div,.route-map li>button>div{display:grid;align-self:center;padding-top:0}
.route-map small{color:#667786;font-size:13px;font-weight:600;letter-spacing:.05em}
.route-map strong{margin-top:2px;font-size:19px;font-weight:700;line-height:1.45;letter-spacing:.035em;white-space:nowrap}
.route-map p{margin:4px 0 0;color:#687987;font-size:15px;line-height:1.5}
.route-map button{grid-column:1 / -1;display:grid;grid-template-columns:64px 1fr;gap:15px;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.route-map button:hover strong{color:var(--sky-dark)}
.route-map button:hover>span{box-shadow:0 0 0 5px rgba(23,104,166,.1)}
.route-map .is-current>button>span{border-color:var(--wine);background:var(--wine);color:#fff;box-shadow:0 0 0 6px var(--wine-soft)}
.route-map .is-current strong{color:var(--wine)}
.route-map button:focus-visible{outline:3px solid var(--sky);outline-offset:8px;border-radius:6px}
.route-assurance{display:flex;flex-wrap:wrap;gap:14px 30px;margin-top:30px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:15px}
.route-assurance span{white-space:nowrap}

.industry-strip{min-height:88px;background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.industry-strip p{color:var(--muted)}
.industry-strip button{color:var(--ink)}
.industry-strip button:hover{color:var(--sky-dark);background:var(--sky-soft)}
.industry-strip p,.industry-strip button{font-size:14px;font-weight:600;letter-spacing:.025em}
.industry-strip button{min-height:52px;gap:10px}
.industry-strip span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #cddfe9;border-radius:7px;color:var(--sky-dark);background:#f3f8fb}
.industry-strip span svg{width:18px;height:18px;stroke-width:1.65}
.section-shell{padding-top:78px;padding-bottom:78px}
.section-heading h2,.deadline-copy h2,.cta-section h2{font-weight:700;letter-spacing:-.018em}
.section-heading>p,.deadline-copy>p,.cta-section>p{font-size:16px;line-height:1.8}
.filter-bar{padding:18px;gap:12px}
#searchResults[hidden],#searchPrompt[hidden]{display:none}
.search-prompt{margin:22px 0 0;color:var(--muted);font-size:15px}
.filter-bar input,.filter-bar select,.filter-bar label,.toggle-field,.results-toolbar{font-size:16px}
.grant-description,.grant-card .self-footnote{font-size:15px;line-height:1.7}
.grant-agency,.grant-verification{font-size:14px}
.grant-card h3{font-size:21px;line-height:1.4}
.grant-card:hover{border-color:var(--sky-dark)}
.official-card-badge,.live-chip{background:var(--sky-soft);color:var(--sky-dark)}
.date-card :is(small,p){font-size:14px}
.date-card strong{font-size:17px}
.deadline-section{background:#edf4f8;color:var(--ink)}
.cta-section{background:#f0f2f5;color:var(--ink);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.deadline-copy>p:not(.eyebrow),.cta-section>p:not(.eyebrow){color:var(--muted)}
.deadline-section .eyebrow,.cta-section .eyebrow{color:var(--sky-dark)}
.deadline-section .button-light,.cta-section .button-light{background:#fff;color:var(--sky-dark);border:1px solid #b9d6e5}
.urgency.red,.urgency.amber{background:var(--wine-soft);color:var(--wine)}
.auth-brand-panel{background:#edf4f8;color:var(--ink)}
.auth-brand-panel p,.auth-brand-panel ul{color:var(--muted)}
.auth-brand-panel span{color:var(--sky-dark)}
.auth-tabs button.active{color:var(--wine);border-color:var(--wine)}

.service-policy-summary{max-width:1180px;margin:28px auto 48px;padding:0;background:#fff;border:1px solid var(--line);border-left:4px solid var(--wine);border-radius:6px;box-shadow:none}
.service-policy-summary>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;cursor:pointer;list-style:none}
.service-policy-summary>summary::-webkit-details-marker{display:none}
.service-policy-summary>summary span{display:grid;gap:2px}
.service-policy-summary>summary small{font-size:14px;color:#587386;letter-spacing:.06em}
.service-policy-summary>summary strong{font-size:20px;color:var(--midnight)}
.service-policy-summary>summary b{font-size:15px;color:var(--wine)}
.service-policy-summary[open]>summary{border-bottom:1px solid #d7dee5}
.service-policy-grid{grid-template-columns:repeat(2,1fr);gap:0;margin:0}
.service-policy-grid p{padding:22px 26px;border-right:1px solid #e1e7ec;background:#fff}
.service-policy-grid p:last-child{border-right:0}
.service-policy-grid strong{font-size:16px}
.service-policy-grid span{font-size:15px;line-height:1.65}

.self-service[hidden]{display:none!important}
.self-service{border-color:var(--line);background:#fff}
.self-service p,.self-result p,.self-result li{font-size:16px}
.customer-save-status,.self-footnote{font-size:15px}
.self-actions .button{font-size:15px}
.pw{--pw-blue:var(--sky-dark);--pw-ink:var(--midnight);border-color:var(--line)}
.pw-head{border-bottom-color:var(--line)}
.pw-kicker{color:var(--sky-dark)}
.pw-status{background:var(--sky-soft);color:var(--sky-dark)}
.pw-nav{background:var(--midnight)}
.pw-nav button[aria-selected=true]{background:var(--midnight-soft);border-left-color:var(--sky)}
.pw button.pw-primary{background:var(--midnight);border-color:var(--midnight)}
.pw-progress span{background:var(--sky-dark)}
.pw-result{border-left-color:var(--wine);background:var(--wine-soft)}
.pw-result.good{border-left-color:var(--sky-dark);background:var(--sky-soft)}
.proposal-heading .eyebrow,.analysis-heading .eyebrow,.company-heading .eyebrow{color:var(--sky-dark)}
.analysis-disclaimer,.template-notice{border-left-color:var(--wine)}
.button{font-weight:650;letter-spacing:.025em;border-radius:7px}
.grant-card,.date-card,.self-service,.pw{border-radius:8px}
.footer-brand .brand-mark{width:150px;height:50px;padding:0;border:0;border-radius:0;background:#fff;transform:none}
.footer-brand .brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.footer-brand strong{font-size:18px;letter-spacing:.06em}
.footer-brand p{font-size:12px;letter-spacing:.02em}

@media(max-width:980px){
  .route-hero-top{align-items:flex-start;flex-direction:column;gap:28px}
  .route-hero .hero-actions{display:flex;align-items:center;flex-wrap:wrap}
  .route-map{grid-template-columns:1fr 1fr;gap:30px 18px}
  .route-map:before{display:none}
  .service-policy-grid{grid-template-columns:1fr}
  .service-policy-grid p{border-right:0;border-bottom:1px solid #e1e7ec}
}
@media(max-width:760px){
  body{font-size:16px}
  .site-header .desktop-nav{display:none}
  .site-header .header-actions .button[data-start-match]{display:none}
  body .route-hero{padding:46px 20px 38px}
  .site-header .brand{min-width:0}
  .vendor-logo{width:108px;height:36px}
  .product-brand strong{font-size:18px}
  .route-hero h1{font-size:40px;letter-spacing:-.012em}
  .route-hero .hero-copy{font-size:17px}
  .route-hero .hero-actions{display:grid;width:100%}
  .route-hero .hero-actions .button{width:100%}
  .route-map{grid-template-columns:1fr;margin-top:42px;gap:0}
  .route-map li{padding:0 0 28px;grid-template-columns:56px 1fr}
  .route-map li:not(:last-child):after{content:none;display:none}
  .route-map li>span,.route-map li>button>span{width:56px;height:56px}
  .route-map button{grid-template-columns:56px 1fr}
  .route-map strong{font-size:19px}
  .route-assurance{display:grid;gap:8px;margin-top:8px}
  .industry-strip{padding-block:10px}
  .section-shell{padding-top:54px;padding-bottom:54px}
  .service-policy-summary{margin:18px 12px 30px}
  .service-policy-summary>summary{align-items:flex-start;padding:19px;flex-direction:column}
}

/* Reading sizes: enlarge supporting text without enlarging the hero title. */
body{font-size:18px;line-height:1.8}
.site-header .desktop-nav{font-size:17px}
.site-header .header-actions .button,.auth-header-button{font-size:17px;min-height:46px}
.product-brand small{font-size:14px;letter-spacing:.04em}
.button,.button-small,.route-hero .button-large,.text-link{font-size:18px;min-height:48px}
.route-hero .hero-copy{font-size:20px;line-height:1.8}
.route-map strong{font-size:22px}
.route-map small{font-size:16px}
.industry-strip p,.industry-strip button{font-size:17px}
.section-heading>p,.deadline-copy>p,.cta-section>p{font-size:18px}
.filter-bar input,.filter-bar select,.filter-bar label,.toggle-field,.results-toolbar,.results-toolbar p,.results-toolbar select{font-size:18px}
.select-field span,.search-prompt{font-size:16px}
.filter-bar input,.filter-bar select{min-height:46px}
.grant-card h3{font-size:24px;line-height:1.5}
.grant-description,.grant-card .self-footnote{font-size:17px;line-height:1.8}
.grant-agency,.grant-verification,.grant-verification>span:last-child,.official-card-badge,.status,.tag-row span,.grant-facts small,.budget-availability small,.budget-availability strong{font-size:15px}
.grant-facts strong,.card-action{font-size:18px;line-height:1.6}
.grant-verification,.tag-row{flex-wrap:wrap}
.budget-availability{flex-wrap:wrap;gap:8px}
.deadline-section{grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr);gap:44px;align-items:start}
.deadline-list{gap:18px;min-width:0}
.deadline-section .date-card{grid-template-columns:76px minmax(0,1fr);gap:10px 22px;padding:24px;align-items:start}
.deadline-section .date-card>div{grid-row:1 / 3;height:auto;min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding-right:16px}
.deadline-section .date-card>div b{font-family:inherit;font-size:34px;line-height:1.2}
.deadline-section .date-card>div span{font-size:16px;line-height:1.4;transform:none}
.deadline-section .date-card>div i{font-size:16px;line-height:1.4;margin:0}
.deadline-section .date-card section{min-width:0}
.deadline-section .date-card section small{font-size:17px;line-height:1.6;color:#43576a}
.deadline-section .date-card section strong{font-size:23px;line-height:1.5;margin:6px 0;color:var(--ink);overflow-wrap:anywhere}
.deadline-section .date-card section p{font-size:18px;line-height:1.65;color:#43576a}
.deadline-section .date-card>.urgency{grid-column:2;justify-self:start;font-size:16px;line-height:1.5;padding:6px 12px;max-width:100%;white-space:normal;width:auto}
.service-policy-summary>summary small,.service-policy-summary>summary b{font-size:17px}
.service-policy-summary>summary strong{font-size:24px}
.service-policy-grid strong,.service-policy-grid span{font-size:18px;line-height:1.8}
.footer-brand p,.footer-bottom{font-size:15px}
.footer-links{font-size:17px;flex-wrap:wrap}
/* Selected specimen 01: Noto Sans TC, medium headings and regular body. */
.site-header,.route-hero,.industry-strip,.explore,.deadline-section,.cta-section,.service-policy-summary,footer{font-family:var(--site-font)}
.route-hero h1,.section-heading h2,.deadline-copy h2,.cta-section h2,.grant-card h3,.route-map strong,.deadline-section .date-card section strong{font-weight:500}
.button,.site-header .desktop-nav,.auth-header-button{font-weight:500}
.eyebrow,.match-top b,.mini-match b,.steps article>span,.matched-item>b,.case-nav-brand small,.case-nav li>span,.timeline-item time,.drawer-head small,.recommendation-rank,.recommendation-score-row strong,.auth-brand-panel span,.auth-heading>span,.v25-doc-icon{font-family:var(--site-font)}
@media(min-width:761px) and (max-width:1100px){
  .site-header .desktop-nav{display:none}
  .filter-bar{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body{font-size:18px}
  .route-map strong{font-size:22px}
  .route-hero .hero-copy{font-size:19px}
  .deadline-section{grid-template-columns:minmax(0,1fr);gap:28px}
  .deadline-section .date-card{grid-template-columns:58px minmax(0,1fr);gap:10px 14px;padding:20px 16px}
  .deadline-section .date-card>div{padding-right:10px}
  .deadline-section .date-card section strong{font-size:22px}
  .results-toolbar{flex-wrap:wrap;gap:12px}
}
/* Approved 06H+ brand theme — 2026-09-09. Keep semantic warning/error colors. */
:root{--midnight:#364955;--midnight-soft:#273d4b;--sky-dark:#1768a6;--sky-soft:#edf3f8;--ink:#27343f;--muted:#5e6e7a;--paper:#fff;--line:#d7dfe5;--green:#1768a6;--green-dark:#364955;--green-soft:#edf3f8}
body{background:#fff}
.cdagi-brand-band{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:5px max(24px,calc((100vw - 1180px)/2));background:#e5e8eb}
.cdagi-brand-band>a{display:block;flex:0 1 320px;min-width:0}
.cdagi-brand-band img{display:block;width:320px;max-width:100%;height:auto;filter:none;object-fit:contain}
.cdagi-brand-band>span{font-size:16px;font-weight:400;color:#5b6c78;letter-spacing:.05em}
.site-header{background:#fff;box-shadow:none;border-bottom:1px solid #d7dfe5}
.site-header .brand{min-width:0}
.site-header .product-brand{padding-left:0;border:0}
.product-brand strong{font-size:24px;color:#27343f;font-weight:500}
.product-brand small{font-size:14px;color:#5e6e7a;font-weight:400}
.desktop-nav a:after{background:#1768a6}
body .route-hero{background:#fff;margin:30px auto 0;max-width:1180px;padding:28px 36px 30px;border-bottom:0;border-left:8px solid #364955}
.route-hero h1{font-weight:500;color:#27343f}
.route-hero h1 em{color:#1768a6}
.route-hero .hero-copy{color:#5e6e7a}
.route-hero .hero-actions .button-primary,.site-header .button-primary[data-start-match]{background:#1768a6;border-color:#1768a6;color:#fff}
.route-hero .hero-actions .button-primary:hover,.site-header .button-primary[data-start-match]:hover{background:#125789;border-color:#125789;color:#fff}
.route-map{background:#f0f2f4;border:0;border-radius:4px;box-shadow:none;padding:24px;margin-top:34px}
.route-map li>span,.route-map li>button>span{background:#fff;border:0;border-radius:50%;color:#596d7d}
.route-map .is-current>button>span{background:#364955;border-color:#364955;color:#fff;box-shadow:none}
.route-map .is-current strong,.route-map strong{color:#27343f;font-weight:500}
.industry-strip{background:#fff;border-top:1px solid #e1e6ea}
.industry-strip span{background:#f0f2f4;border-color:#d7dfe5;color:#364955}
.deadline-section{background:#f0f2f4}
.section-heading h2,.deadline-copy h2,.cta-section h2{color:#27343f;font-weight:500}
.filter-bar{background:#fff;box-shadow:none;border-color:#d7dfe5}
.cdagi-slogan-band{background:#1e282d;padding:22px max(24px,calc((100vw - 1180px)/2));display:flex;justify-content:flex-end}
.cdagi-slogan-band img{display:block;width:320px;max-width:100%;height:auto;filter:none}
body>footer{background:#fff}
@media(max-width:1240px){body .route-hero{margin:28px 4% 0;padding:28px 3%}}
@media(max-width:760px){.cdagi-brand-band{padding:12px 20px}.cdagi-brand-band>a{flex-basis:280px}.cdagi-brand-band>span{display:none}.cdagi-brand-band img{width:280px}.site-header .product-brand strong{font-size:21px}body .route-hero{margin:22px 18px 0;padding:16px 14px 22px;border-left-width:5px}.route-map{padding:20px 14px}.cdagi-slogan-band{padding:22px;justify-content:center}}
/* Readable four-step assessment: scoped to avoid changing other dialogs. */
#matchDialog{width: min(820px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow-y:auto}
#matchDialog .dialog-shell{padding:36px 32px 26px}
#matchDialog .dialog-header h2{font-size:30px;line-height:1.4;padding-inline:25px}
#matchDialog .dialog-header>p:not(.eyebrow){font-size:18px;line-height:1.65;color:#52616d}
#matchDialog .dialog-header>small{font-size:16px;color:#52616d;margin-top:10px}
#matchDialog .question-step h3{font-size:23px;line-height:1.5;margin-bottom:22px}
#matchDialog .option-grid{gap:14px}
#matchDialog .option-grid button{min-height:126px;padding:18px 10px;gap:12px;color:#27343f;border:2px solid #d3dde5}
#matchDialog .option-grid button svg{display:block;width:44px;height:44px;fill:none;stroke:#1768a6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#matchDialog .option-grid button span{font-size:20px;font-weight:500;line-height:1.5}
#matchDialog .option-grid button.selected{border-color:#1768a6;background:#eaf3fa;box-shadow:inset 0 0 0 1px #1768a6;color:#124e79}
#matchDialog .option-list button{min-height:78px;padding:15px 18px}
#matchDialog .option-list button>span{width:44px;height:44px;flex-shrink:0;font-size:18px}
#matchDialog .option-list button strong{font-size:20px;font-weight:500;line-height:1.5}
#matchDialog .option-list button small{font-size:16px;line-height:1.6;color:#52616d}
#matchDialog .option-list.compact button{font-size:20px}
#matchDialog .field-grid>label:not(.check-row),#matchDialog .check-row{font-size:18px;line-height:1.65}
#matchDialog .field-grid select{font-size:18px;min-height:50px}
#matchDialog .check-row span{flex-shrink:0}
#matchDialog .dialog-footer button{font-size:20px;min-height:50px;padding-inline:24px}
#matchDialog .dialog-close{width:44px;height:44px;display:grid;place-items:center;font-size:32px;right:10px;top:8px}
@media(max-width:600px){#matchDialog .dialog-shell{padding:32px 18px 20px}#matchDialog .dialog-header h2{font-size:25px}#matchDialog .dialog-header>p:not(.eyebrow){font-size:17px}#matchDialog .question-step h3{font-size:21px}#matchDialog .option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#matchDialog .option-grid button{min-height:120px}#matchDialog .field-grid{grid-template-columns:1fr}#matchDialog .option-list.compact{grid-template-columns:1fr}}
