/* Reference-led presentation. Data collection and classification are independent. */
:root{--green:#21a38d;--dark:#333;--ink:#333;--muted:#777;--line:#e2e5e3;--pale:#eff7f2;--yellow:#ffe13b;--blue:#2371bc}
body{color:#333;letter-spacing:0;padding-bottom:152px;font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",Meiryo,sans-serif}.wrap{max-width:1140px;width:calc(100% - 64px)}h1,h2,h3{letter-spacing:0}.utility{display:none}.reference-header{background:white;border:0;box-shadow:0 2px 7px #00000004}.reference-header .header-inner{height:100px;max-width:none;width:calc(100% - 64px)}.reference-brand{font-size:31px;font-weight:900;line-height:1.25;color:#424646;gap:7px}.reference-brand>span{position:relative;border-bottom:10px solid #c7e7dd;border-radius:12px;line-height:.9;padding:3px 5px 0}.reference-brand small{position:absolute;top:34px;left:0;width:260px;text-align:center;font-size:7px;letter-spacing:.06em;color:#444;white-space:nowrap}.reference-brand em{font-size:9px;align-self:center;margin-left:4px}.reference-header nav{display:flex;gap:19px;align-items:center;font-size:12px}.reference-header .nav-icon{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:42px;font-weight:700}.nav-icon img{width:25px;height:25px}.reference-header .nav-diagnose,.reference-header .nav-contact{display:flex;align-items:center;justify-content:center;flex-direction:column;height:78px;position:relative;border-radius:11px;font-size:15px;font-weight:800;line-height:1.4;box-shadow:0 3px 7px #0002;padding:8px 22px;min-width:160px;gap:4px}.reference-header .nav-diagnose{border:4px solid var(--green);color:var(--green);min-width:235px}.nav-diagnose img{width:31px;height:31px;filter:invert(47%) sepia(82%) saturate(416%) hue-rotate(118deg) brightness(99%) contrast(88%)}.nav-badge{position:absolute;right:-9px;top:-15px;border-radius:24px;background:#ed8968;color:white;padding:5px 17px;font-size:12px;box-shadow:0 2px 5px #0002}.reference-header .nav-contact{background:var(--green);color:#fff;min-width:135px}.nav-contact img{width:32px;height:32px;filter:brightness(0) invert(1)}.mobile-actions{display:none}.reference-hero{padding:65px 0 30px;background:#f0f7f2;border:0}.reference-hero .hero-grid{grid-template-columns:1fr 1fr;gap:38px;align-items:start}.reference-hero .hero-copy{text-align:center;padding-top:6px;min-width:0}.reference-catch{font-size:16px;font-weight:750;border-bottom:3px solid white;padding:0 5px 16px;margin:0 auto 18px;line-height:1.6;white-space:nowrap}.reference-hero h1{font-size:23px;font-weight:800;line-height:1.7;color:var(--green);margin:0 0 28px;letter-spacing:0;white-space:nowrap}.reference-count{display:flex;align-items:center;justify-content:center;gap:8px;color:#2d302f;line-height:1.1}.reference-count>span{font-size:12px;background:#fff;border-radius:30px;padding:10px 13px;align-self:flex-start;margin-top:10px;font-weight:700;white-space:nowrap}.reference-count>strong{font-family:Arial,sans-serif;font-size:105px;font-weight:900;letter-spacing:-.055em}.reference-count>small{font-size:32px;font-weight:900;padding-top:32px}.reference-breakdown{color:#5f7770;font-size:10px;margin:12px 0 0}.reference-breakdown>span{margin:0 10px;color:#b5c8c0}.office-illustration{display:block;object-fit:contain;width:410px;height:290px;margin:12px auto 0;max-width:90%}.reference-hero .hero-note{font-size:9px;line-height:1.7;margin:4px 0 0;color:#6e8079}.reference-search{border:0;border-radius:12px;box-shadow:none;padding:45px 48px 28px;min-width:0;margin:0}.reference-options{display:flex;justify-content:space-between;gap:10px;margin-bottom:24px}.reference-options .checkbox{font-size:10px;font-weight:650;gap:6px;margin:0}.reference-options input{accent-color:#20a38d;width:14px;height:14px}.reference-field{display:grid;grid-template-columns:115px minmax(0,1fr);align-items:stretch;margin-bottom:14px;font-size:13px}.reference-field>span{display:flex;align-items:center;justify-content:center;background:var(--green);color:#fff;border-radius:4px 0 0 4px;font-weight:750;min-height:48px}.reference-search .reference-field select,.reference-search .reference-field input{margin:0;border:1px solid #e4e5e4;border-left:0;background:#fafafa;border-radius:0 4px 4px 0;font-size:12px;padding:12px 14px;min-height:48px;height:48px}.reference-keyword{margin:0 0 26px}.reference-search .reference-keyword input{background:#fafafa;border:1px solid #e1e1e1;margin:0;font-size:12px;min-height:40px;height:40px;padding:10px 13px}.reference-submit{display:flex;width:83%;margin:0 auto;border-radius:9px;min-height:57px;gap:9px;font-size:13px;box-shadow:0 3px 7px #e8d76444}.reference-submit img{width:17px;height:17px}.reference-search .advanced{font-size:9px;text-decoration:none;color:#80928a;margin-top:18px}.reference-below{padding:35px 0}.diagnose-banner{background:var(--green);color:white;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 40px;max-width:850px;margin:auto}.diagnose-banner:hover{color:white;background:#1b9682}.diagnose-banner small{font-size:12px}.diagnose-banner strong{display:block;font-size:25px;line-height:1.6;margin-top:5px}.diagnose-banner>span{background:#fff2bd;color:#444;padding:14px 25px;border-radius:5px;font-size:12px;font-weight:700;white-space:nowrap}.reference-update{display:flex;align-items:center;gap:25px;font-size:11px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:28px;padding:14px 0}.reference-update>strong{background:#f1f5f1;border:1px solid #cdded7;border-radius:4px;padding:3px 14px;color:var(--green)}.reference-update p{margin:0;flex:1}.reference-update a{font-size:10px;color:var(--green)}.portal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;padding-top:20px;padding-bottom:65px}.portal-sidebar section{margin-bottom:28px}.portal-sidebar h2{background:var(--green);color:#fff;font-size:14px;border-radius:4px;padding:10px 15px;margin:0}.portal-sidebar ul{list-style:none;margin:0;padding:0}.portal-sidebar li a{display:flex;justify-content:space-between;padding:9px 14px;border-bottom:1px solid #eceeec;font-size:12px}.portal-sidebar li a:hover{background:var(--pale)}.portal-sidebar li span{color:#a9c7bc}.sidebar-diagnose{display:flex;align-items:center;gap:12px;padding:20px 12px;margin-bottom:25px;border:2px solid var(--green);border-radius:5px;color:var(--green);text-align:center}.sidebar-diagnose img{width:35px;height:35px;filter:invert(47%) sepia(82%) saturate(416%) hue-rotate(118deg) brightness(99%) contrast(88%)}.sidebar-diagnose>span{font-size:10px}.sidebar-diagnose strong{display:block;font-size:15px}.sidebar-diagnose small{display:block;font-size:8px}.sidebar-source{display:block;border:1px solid var(--line);border-radius:4px;padding:12px;font-size:10px;text-align:center}.portal-results>.section-head{border-bottom:3px solid #27a58e;padding-bottom:13px;margin-bottom:23px}.portal-results h2{font-size:22px;color:#333}.portal-results .section-head>a{font-size:11px;color:var(--green)}.portal-results .section-description{font-size:10px;line-height:1.8}.grant-card{border-radius:5px;border:1px solid #dfe4e0;padding:0;overflow:hidden;box-shadow:0 2px 4px #00000004}.card-top{padding:15px 17px 0;margin-bottom:9px}.tag{font-size:10px;background:#e5f5ed;color:#269a79;border-radius:3px}.save{font-size:9px}.card-area,.grant-card h3,.card-description{margin-left:18px;margin-right:18px}.card-area{font-size:10px;color:#777}.grant-card h3{font-size:17px;line-height:1.8;margin-bottom:13px}.card-description{font-size:11px;line-height:1.8;margin-bottom:15px}.amount{background:#f2f9f3;margin:0;padding:14px 18px;border-top:1px solid #e6eee7}.amount strong{color:#20a38d;font-size:25px;font-weight:800}.amount>span{font-size:10px}.card-bottom{padding:13px 18px;font-size:9px}.card-bottom a{color:var(--green)}.grant-grid{gap:20px}.all-programs{display:flex;width:60%;margin:28px auto 0;font-size:12px;border:1px solid var(--green)!important;color:var(--green)!important;border-radius:5px}.center-heading{text-align:center;margin-bottom:35px}.center-heading>span{color:#9ca7a0;font-family:Arial,sans-serif;letter-spacing:.08em;font-size:19px;font-weight:700}.center-heading h2{font-size:27px;color:#333;margin:5px 0 0}.reference-counseling{background:#f3f8f4;border-top:1px solid #e8eee8;border-bottom:1px solid #e8eee8}.reference-counseling .path-card{background:#fff;padding:30px;border:1px solid #dfe8df;border-radius:5px}.path-card h3{font-size:25px;color:var(--green)}.path-card strong{color:var(--green);font-size:12px}.orange-path h3,.orange-path strong{color:#ed8e2c}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.usage-grid>div{border-top:4px solid var(--green);background:#f4f8f4;padding:24px}.usage-grid b{color:var(--green);font-size:20px}.usage-grid h3{margin:12px 0;font-size:18px}.usage-grid p{font-size:12px;color:#777;margin-bottom:0}.reference-faq{max-width:980px}.reference-faq details{background:white;border:1px solid #ddd;margin-bottom:12px;border-radius:4px}.reference-faq summary{padding:18px 24px;font-size:14px;list-style-position:inside}.reference-faq summary::marker{color:var(--green)}.reference-faq details p{padding:0 25px 20px;font-size:12px}.reference-regions{padding-top:60px}.region-rows{border-top:1px solid var(--line)}.region-row{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid var(--line)}.region-row h3{background:#f2f7f3;font-size:13px;margin:0;padding:18px 24px}.region-row>div{display:flex;align-items:center;flex-wrap:wrap;gap:13px 25px;padding:14px 25px}.region-row a{font-size:12px;color:#333}.region-row a:hover{color:var(--green)}.bottom-cta{background:var(--green)}.bottom-cta .eyebrow{color:#c0e6dc}.bottom-cta p{color:white}.footer-top .brand{color:#444}.sticky-support{position:fixed;bottom:0;left:0;right:0;z-index:30;padding:10px 20px 17px;background:#fffffff0;box-shadow:0 -4px 16px #00000009;backdrop-filter:blur(5px)}.sticky-support[hidden]{display:none}.sticky-intro{max-width:1040px;margin:0 auto 9px;position:relative;text-align:center;font-size:12px;font-weight:700;padding:0 50px}.sticky-intro strong{color:#ed8865;font-size:15px;margin-right:4px}.support-close{position:absolute;right:0;top:1px;border:0;background:transparent;color:#666;font-size:9px;text-decoration:underline}.sticky-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1040px;margin:auto}.sticky-support-grid>a{border-radius:5px;overflow:hidden;color:white;box-shadow:0 3px 6px #0002}.sticky-support-grid>a:hover{filter:brightness(.97);color:white}.sticky-caption{display:block;background:#666;color:white;text-align:center;font-size:9px;line-height:19px;font-weight:750}.sticky-support-grid>a>div{padding:8px 19px;display:flex;gap:12px;align-items:center;min-height:56px}.sticky-diagnose{background:linear-gradient(100deg,#27ba50,#18bba7)}.sticky-finance{background:linear-gradient(100deg,#ff9862,#ff9007)}.sticky-support-grid img{height:29px;width:29px;filter:brightness(0) invert(1);padding:5px;background:#ffffff44;border-radius:50%;box-sizing:content-box}.sticky-support-grid strong{display:block;font-size:19px;line-height:1.35;font-weight:800}.sticky-support-grid small{display:block;font-size:9px;line-height:1.5}.toast{bottom:155px}.flow-hero{background:var(--green);color:white;padding:55px 0}.flow-hero .eyebrow{color:#ceece4}.flow-hero .pill{color:var(--green)}.flow-hero p{color:#f1fffa}.finance-hero{background:#2573b5}.finance-hero .eyebrow{color:#d0e6f9}.finance-hero .pill{color:#2573b5}.form-card{border-radius:5px}.form-section h2{color:var(--green)}
@media(max-width:1100px){.reference-header .header-inner{width:calc(100% - 35px)}.reference-brand{font-size:26px}.reference-brand small{width:220px;font-size:6px;top:30px}.reference-header nav{gap:13px}.reference-header .saved-nav{display:none}.reference-header .nav-diagnose{min-width:180px;font-size:13px;padding:8px 15px}.reference-header .nav-contact{min-width:115px;font-size:13px}.reference-header .nav-icon{font-size:11px}.reference-hero .hero-grid{gap:25px}.reference-hero h1{font-size:20px}.reference-catch{font-size:13px}.reference-count>strong{font-size:87px}.reference-count>span{font-size:10px;padding:10px}.reference-count>small{font-size:27px}.reference-search{padding:35px 30px 25px}.reference-field{grid-template-columns:100px 1fr}.portal-layout{grid-template-columns:210px 1fr;gap:25px}.portal-results h2{font-size:20px}.sticky-support-grid strong{font-size:17px}.office-illustration{height:270px}.diagnose-banner strong{font-size:22px}}
@media(max-width:760px){body{padding-bottom:175px}.wrap{width:calc(100% - 30px)}.reference-header .header-inner{width:calc(100% - 22px);height:68px;gap:8px}.reference-brand{font-size:23px;gap:3px}.reference-brand>span{border-bottom-width:8px;padding:3px 2px 0}.reference-brand small{font-size:4.5px;width:169px;top:25px;letter-spacing:.02em}.reference-brand em{font-size:7px;padding:2px 4px;margin-left:0}.reference-header nav{display:none;top:68px;left:0;right:0;padding:23px;align-items:stretch;gap:15px;border-top:1px solid #eee;box-shadow:0 5px 8px #0001}.reference-header nav.is-open{display:flex}.reference-header nav.is-open .nav-icon{flex-direction:row;justify-content:flex-start;gap:12px}.reference-header nav.is-open .saved-nav{display:flex}.reference-header nav.is-open .nav-diagnose,.reference-header nav.is-open .nav-contact{height:65px;flex-direction:row;gap:15px}.nav-badge{top:-10px;right:5px;padding:3px 12px;font-size:10px}.mobile-actions{display:flex;gap:8px;align-items:center;margin-left:auto}.mobile-actions>a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:8px;white-space:nowrap}.mobile-actions img{width:20px;height:20px}.mobile-actions .mobile-contact{background:var(--green);color:white;border-radius:6px;padding:6px 8px;font-size:7px}.mobile-contact img{filter:brightness(0) invert(1)}.reference-header .menu-toggle{font-size:0;padding:6px;width:27px;height:31px;overflow:hidden;border:0;position:relative;background:#fff}.reference-header .menu-toggle img{width:20px;height:20px;display:block}.reference-hero{padding:30px 0 27px}.reference-hero .hero-grid{grid-template-columns:1fr;gap:25px}.reference-hero .hero-copy{padding:0}.reference-catch{font-size:11px;white-space:normal;width:100%;padding-bottom:11px;margin-bottom:14px;border-bottom-width:2px}.reference-hero h1{font-size:16px;white-space:normal;line-height:1.6;margin-bottom:19px}.reference-count{gap:7px}.reference-count>strong{font-size:64px;letter-spacing:-.04em}.reference-count>small{font-size:22px;padding-top:24px}.reference-count>span{font-size:8px;padding:7px 9px;margin-top:9px}.reference-breakdown{font-size:8px;margin-top:8px}.reference-breakdown>span{margin:0 6px}.office-illustration{height:210px;width:300px;margin-top:8px}.reference-hero .hero-note{font-size:7px;margin:3px 0 0}.reference-search{padding:26px 23px 21px;border-radius:8px;margin:0 4px}.reference-options{margin-bottom:19px;gap:8px}.reference-options .checkbox{font-size:9px;gap:5px;white-space:nowrap}.reference-options input{width:13px;height:13px}.reference-field{grid-template-columns:84px minmax(0,1fr);margin-bottom:12px}.reference-field>span{min-height:44px;font-size:11px}.reference-search .reference-field select,.reference-search .reference-field input{height:44px;min-height:44px;font-size:11px;padding:10px}.reference-keyword{margin-bottom:20px}.reference-submit{width:100%;min-height:52px;font-size:12px;border-radius:7px}.reference-search .advanced{font-size:8px;margin-top:15px}.reference-below{padding:25px 0}.diagnose-banner{padding:19px 20px;flex-direction:column;align-items:stretch;gap:17px;border-radius:4px;text-align:center}.diagnose-banner small{font-size:10px}.diagnose-banner strong{font-size:20px;margin-top:7px}.diagnose-banner>span{font-size:11px;padding:11px}.reference-update{font-size:10px;gap:10px;flex-wrap:wrap;margin-top:20px;padding:12px 0}.reference-update p{font-size:9px;line-height:1.7;min-width:180px}.reference-update>strong{font-size:9px;padding:2px 8px}.reference-update>a{margin-left:auto;font-size:9px}.portal-layout{display:flex;flex-direction:column;gap:30px;padding-top:10px;padding-bottom:38px}.portal-sidebar{order:2;display:grid;grid-template-columns:1fr 1fr;gap:20px 14px}.portal-sidebar .sidebar-diagnose,.portal-sidebar .sidebar-source{grid-column:1/-1;margin-bottom:0}.portal-sidebar section{margin:0}.portal-sidebar h2{font-size:12px;padding:10px}.portal-sidebar li a{font-size:10px;padding:8px 7px}.portal-results{order:1}.portal-results>.section-head{flex-direction:row;align-items:center;gap:10px;border-bottom-width:2px;padding-bottom:12px;margin-bottom:22px}.portal-results h2{font-size:19px}.portal-results .section-head>a{font-size:9px;white-space:nowrap}.portal-results .section-description{font-size:9px;margin-bottom:20px}.grant-grid.two{grid-template-columns:1fr;gap:17px}.grant-card h3{font-size:17px;line-height:1.8}.card-description{font-size:11px}.card-top{padding:15px 18px 0}.amount strong{font-size:25px}.all-programs{width:100%;margin-top:22px}.center-heading{margin-bottom:25px}.center-heading>span{font-size:17px}.center-heading h2{font-size:22px}.reference-counseling .path-card{padding:24px}.path-card h3{font-size:22px}.path-card .path-no{font-size:10px}.usage-grid{grid-template-columns:1fr;gap:15px}.usage-grid>div{padding:20px}.usage-grid h3{margin:9px 0;font-size:18px}.usage-grid p{font-size:11px}.reference-faq summary{padding:16px 16px;font-size:12px;line-height:1.8}.reference-faq details p{font-size:11px;padding:0 18px 17px}.reference-regions{padding-top:40px}.region-row{grid-template-columns:87px 1fr}.region-row h3{padding:14px 8px;font-size:10px;line-height:1.8}.region-row>div{gap:9px 14px;padding:12px 14px}.region-row a{font-size:10px}.sticky-support{padding:6px 9px 9px}.sticky-intro{font-size:8px;padding:0 30px;margin-bottom:6px;line-height:1.5}.sticky-intro strong{font-size:10px}.support-close{font-size:8px;top:0}.sticky-support-grid{grid-template-columns:1fr;gap:7px}.sticky-caption{font-size:7px;line-height:14px}.sticky-support-grid>a>div{min-height:44px;padding:6px 13px;gap:9px}.sticky-support-grid img{width:20px;height:20px;padding:4px}.sticky-support-grid strong{font-size:14px;line-height:1.3}.sticky-support-grid small{font-size:7px}.toast{bottom:180px}.flow-hero{padding:35px 0}.flow-hero h1{font-size:30px}.flow-hero .pill{font-size:10px}.flow-hero p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sticky-support{backdrop-filter:none}}

/* Amount and deadline stay side by side, including narrow cards. */
.amount .amount-value,.amount .application-deadline{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}.amount .amount-value>span,.amount .application-deadline>span{font-size:10px;color:var(--muted)}.amount .application-deadline{padding-left:12px;border-left:1px solid #dce7df}.amount .application-deadline strong{font-size:14px;line-height:1.5;color:var(--ink);font-family:inherit;overflow-wrap:anywhere}.amount .amount-value strong{font-size:clamp(18px,2vw,25px);line-height:1.5}

/* Diagnosis uses the same live listing metrics as the portal home. */
.flow-hero .diagnose-count{justify-content:flex-start;color:#fff;margin:18px 0 8px;flex-wrap:wrap;gap:8px 12px}
.flow-hero .diagnose-count>span{color:var(--green);align-self:center;margin:0;font-size:12px;padding:8px 12px}
.flow-hero .diagnose-count>strong{font-size:48px;letter-spacing:-.035em}
.flow-hero .diagnose-count>small{font-size:22px;padding-top:12px}
.flow-hero .diagnose-breakdown{font-size:12px;color:#f1fffa;margin:0 0 16px;line-height:1.8}
.flow-hero .diagnose-breakdown>span{margin:0 5px;color:#ceece4}
@media(max-width:640px){.flow-hero .diagnose-count{gap:7px 10px}.flow-hero .diagnose-count>span{flex-basis:100%;width:max-content;max-width:max-content;font-size:11px}.flow-hero .diagnose-count>strong{font-size:40px}.flow-hero .diagnose-breakdown{font-size:11px}}

.search-scope-options{display:grid;gap:8px;margin:0 0 18px;padding:12px;background:var(--pale);border-radius:6px;grid-column:1/-1}.filter-panel .search-scope-options .checkbox{margin:0;font-size:12px}.filter-panel .search-scope-options input{flex:none}
