:root {
  color-scheme: light;
  --paper: #f5f7f2;
  --paper-deep: #edf1e9;
  --white: #fff;
  --ink: #172d29;
  --forest: #143b33;
  --forest-deep: #102d28;
  --forest-soft: #1e4a40;
  --muted: #647671;
  --muted-light: #adc0b8;
  --lime: #c8f27d;
  --mint: #d9efe2;
  --line: #dce4dc;
  --line-dark: rgba(255, 255, 255, .16);
  --accent: #91d5bd;
  --shadow: 0 22px 55px rgba(21, 48, 41, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; z-index: 50; top: 10px; left: 10px; transform: translateY(-150%);
  background: var(--lime); color: var(--forest-deep); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: 100%; min-height: 78px; padding: 0 max(28px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  background: rgba(245, 247, 242, .94); border-bottom: 1px solid rgba(21, 48, 41, .08);
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--forest);
  display: flex; align-items: end; justify-content: center; gap: 3px; padding: 9px 8px;
}
.brand-mark span { width: 4px; border-radius: 5px; background: var(--lime); display: block; }
.brand-mark span:nth-child(1) { height: 9px; opacity: .72; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 12px; opacity: .85; }
.brand-copy, .footer-brand > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong, .footer-brand strong { font-size: 17px; letter-spacing: .04em; }
.brand-copy small, .footer-brand small { color: #70817b; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.top-nav { display: flex; gap: 34px; margin-left: auto; }
.top-nav a { color: #465b54; text-decoration: none; font-size: 13px; font-weight: 650; transition: color .18s; }
.top-nav a:hover, .top-nav a:focus-visible { color: #127253; }
.header-cta {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 8px;
  background: var(--lime); color: var(--forest-deep); text-decoration: none; font-size: 12px; font-weight: 800;
  transition: transform .18s, background .18s;
}
.header-cta:hover { background: #d5fa95; transform: translateY(-1px); }
.header-cta span { font-size: 16px; }

.section-wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.hero {
  position: relative; min-height: 590px; display: grid; grid-template-columns: 1.03fr .97fr;
  align-items: center; gap: 55px; padding-block: 75px 67px; overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 8px; }
.eyebrow {
  display: flex; align-items: center; gap: 9px; color: #3e6659; font-size: 10px; font-weight: 850;
  letter-spacing: .13em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #65b97c; box-shadow: 0 0 0 4px rgba(101, 185, 124, .14); }
.eyebrow-divider { color: #9baea4; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin: 26px 0 20px; max-width: 700px; color: var(--forest-deep); font-size: clamp(49px, 6vw, 76px);
  line-height: .99; letter-spacing: -.065em; font-weight: 680;
}
h1 em, h2 em { color: #538374; font-style: normal; }
.hero-intro { max-width: 540px; color: #566961; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 29px; }
.button {
  appearance: none; display: inline-flex; justify-content: center; align-items: center; gap: 18px;
  min-height: 48px; padding: 0 19px; border: 1px solid transparent; border-radius: 8px;
  text-decoration: none; font-size: 12px; font-weight: 800; cursor: pointer;
  transition: transform .18s, background .18s, color .18s, border-color .18s;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-dark { background: var(--forest); color: #fff; }
.button-dark:hover { background: var(--forest-soft); }
.button-dark span, .button-lime span { font-size: 16px; }
.text-link { color: #3c6355; font-size: 12px; font-weight: 750; text-decoration: none; border-bottom: 1px solid #8ba89b; padding-bottom: 5px; }
.text-link span { margin-left: 7px; }
.hero-note { display: flex; align-items: center; gap: 9px; max-width: 450px; margin-top: 28px; color: #7b8981; font-size: 11px; line-height: 1.5; }
.note-icon {
  width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  border: 1px solid #a7b5aa; border-radius: 50%; font-size: 10px; font-weight: 800;
}
.hero-visual {
  position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center;
  isolation: isolate;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 9% 0 4% 7%; z-index: -2;
  background: radial-gradient(ellipse at 46% 48%, #dfeee1 0, #e6f0e5 40%, rgba(230, 240, 229, 0) 72%);
}
.visual-orbit { position: absolute; border: 1px solid rgba(45, 105, 84, .15); border-radius: 50%; transform: rotate(-23deg); }
.orbit-one { width: 460px; height: 260px; }
.orbit-two { width: 380px; height: 215px; transform: rotate(30deg); }
.visual-stamp {
  position: absolute; top: 15px; right: 55px; width: 82px; height: 82px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(9deg);
  background: var(--lime); color: var(--forest); box-shadow: 0 8px 20px rgba(71, 118, 69, .14);
}
.visual-stamp span { font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.visual-stamp strong { font-size: 29px; line-height: 1; letter-spacing: -.08em; }
.visual-stamp small { font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.route-card {
  width: min(390px, 90%); position: relative; padding: 27px 27px 22px; border: 1px solid rgba(31, 72, 59, .08);
  border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); transform: rotate(-2deg);
}
.route-top { display: flex; justify-content: space-between; color: #566d63; font-size: 11px; font-weight: 750; }
.route-time { color: #a0afa6; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.route-line { display: flex; align-items: center; margin-top: 30px; }
.route-step { width: 30px; height: 30px; border: 1px solid #d5dfd5; background: #f5f8f3; border-radius: 50%; display: grid; place-items: center; z-index: 1; color: #799087; }
.route-step i { font-size: 8px; font-style: normal; font-weight: 850; }
.route-step.is-done { background: #e2f2df; border-color: #b6d4ad; color: #397450; }
.route-step.is-active { background: var(--forest); border-color: var(--forest); color: var(--lime); box-shadow: 0 0 0 5px #edf4e8; }
.route-track { height: 1px; flex: 1; background: #dce5dc; }
.route-labels { display: flex; justify-content: space-between; margin-top: 9px; color: #87968e; font-size: 9px; }
.route-callout {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 13px; border-radius: 9px;
  background: #f1f6ef; color: #63756b; font-size: 10px; line-height: 1.55;
}
.route-callout strong { color: var(--forest); font-size: 11px; }
.callout-icon { display: grid; width: 33px; height: 33px; place-items: center; flex: 0 0 auto; border-radius: 8px; background: var(--lime); color: var(--forest); font-size: 17px; }
.hero-side-note { position: absolute; right: 3px; bottom: 27px; color: #88a092; font-size: 8px; font-weight: 850; letter-spacing: .16em; line-height: 1.8; text-align: right; }
.hero-side-note span { color: #587866; font-size: 10px; letter-spacing: .08em; }
.hero-bottomline { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: #8a9890; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.quick-facts { background: var(--forest); color: #fff; }
.quick-facts-inner { width: min(1180px, calc(100% - 56px)); min-height: 96px; margin: auto; display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; align-items: center; gap: 30px; }
.fact-deadline { display: flex; align-items: center; gap: 12px; }
.fact-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(200, 242, 125, .45); border-radius: 50%; color: var(--lime); font-size: 18px; }
.fact-deadline > div, .fact-item { display: flex; flex-direction: column; gap: 5px; }
.quick-facts small { color: #a9c0b6; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.quick-facts strong { color: #fff; font-size: 12px; font-weight: 700; }
.fact-link { color: var(--lime); font-size: 10px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.fact-link span { margin-left: 4px; }

.section-space { padding-block: 98px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.eyebrow-muted { color: #788c80; }
h2 { margin: 17px 0 0; color: var(--forest-deep); font-size: clamp(37px, 4.3vw, 55px); line-height: 1.05; letter-spacing: -.055em; font-weight: 650; }
.section-lead { max-width: 400px; margin: 0 0 5px; color: #68786f; font-size: 14px; line-height: 1.7; }
.module-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #cddbd0; }
.module-tab {
  position: relative; display: flex; align-items: center; gap: 15px; min-height: 72px; padding: 14px 20px;
  border: 0; background: transparent; color: #829189; text-align: left; cursor: pointer;
}
.module-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.module-tab.is-selected::after { background: var(--forest); }
.module-tab.is-selected { color: var(--forest); }
.tab-number { color: #90a095; font-size: 10px; font-weight: 850; }
.tab-title { font-size: 15px; font-weight: 780; }
.tab-subtitle { margin-left: auto; color: #829189; font-size: 10px; }
.tab-arrow { color: #829189; font-size: 15px; }
.module-tab.is-selected .tab-arrow { color: #508570; }
.module-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; padding: 43px 24px 46px 20px; border-bottom: 1px solid #d6e0d7; }
.module-panel-main { max-width: 610px; }
.module-kicker { display: flex; align-items: center; gap: 10px; color: #72867b; font-size: 9px; font-weight: 850; letter-spacing: .11em; }
.module-tag { display: inline-flex; padding: 6px 8px; border-radius: 5px; background: #e4f1df; color: #366b4a; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.module-panel h3 { margin: 20px 0 14px; color: var(--forest-deep); font-size: 32px; line-height: 1.12; letter-spacing: -.045em; font-weight: 650; }
.module-panel-main p { max-width: 560px; margin-bottom: 20px; color: #64766d; font-size: 13px; line-height: 1.75; }
.module-link { color: #277357; font-size: 11px; font-weight: 800; text-decoration: none; border-bottom: 1px solid #8eb5a1; padding-bottom: 5px; }
.module-link span { margin-left: 6px; }
.module-metrics { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 22px 19px; padding-left: 28px; border-left: 1px solid #d9e2da; }
.module-metrics > div:not(.metric-note) { display: flex; flex-direction: column; gap: 7px; }
.module-metrics small { color: #87958e; font-size: 9px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.module-metrics strong { color: var(--forest); font-size: 19px; letter-spacing: -.03em; }
.metric-note { grid-column: 1 / -1; display: flex; gap: 9px; margin-top: 1px; padding-top: 15px; border-top: 1px solid #e0e7df; color: #7f8f85; }
.metric-note > span { color: #56916d; font-size: 15px; }
.metric-note p { margin: 0; font-size: 10px; line-height: 1.6; }
.eligibility-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 25px; padding: 19px 20px; background: #eaf1e7; border-radius: 10px; }
.eligibility-icon { display: grid; width: 29px; height: 29px; place-items: center; background: var(--forest); color: var(--lime); border-radius: 50%; font-weight: 850; font-size: 13px; }
.eligibility-strip strong { color: var(--forest); font-size: 11px; }
.eligibility-strip p { margin: 5px 0 0; max-width: 830px; color: #63766b; font-size: 10px; line-height: 1.6; }
.eligibility-strip a { color: #3c755a; white-space: nowrap; font-size: 10px; font-weight: 800; text-decoration: none; }
.small-print { margin: 15px 0 0 45px; max-width: 980px; color: #7d8981; font-size: 10px; line-height: 1.65; }

.documents-section { background: var(--forest-deep); color: #fff; padding-block: 88px 84px; }
.docs-heading { align-items: end; }
.eyebrow-light { color: #a7c5b6; }
.documents-section h2 { color: #fff; }
.documents-section h2 em { color: var(--lime); }
.docs-heading .section-lead { color: #b3c5bc; }
.required-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.required-doc {
  min-height: 253px; position: relative; padding: 23px 23px 20px; border: 1px solid var(--line-dark);
  border-radius: 10px; background: rgba(255, 255, 255, .045);
}
.doc-number { float: right; color: rgba(255, 255, 255, .23); font-size: 22px; font-weight: 650; letter-spacing: -.05em; }
.doc-type { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.required-doc h3 { margin: 23px 0 9px; color: #fff; font-size: 19px; letter-spacing: -.03em; }
.required-doc p { min-height: 62px; margin: 0 0 16px; color: #bac9c1; font-size: 11px; line-height: 1.6; }
.required-doc a { color: var(--lime); font-size: 10px; font-weight: 800; text-decoration: none; }
.required-doc a span { margin-left: 7px; font-size: 15px; }
.required-doc .doc-source-link { display: inline-block; margin-left: 10px; color: #dce9df; font-size: 9px; }
.doc-note { display: flex; gap: 12px; align-items: center; margin: 17px 0 12px; padding: 14px 16px; border-radius: 8px; background: rgba(200, 242, 125, .09); }
.doc-note-icon { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest-deep); font-size: 12px; font-weight: 900; }
.doc-note p { margin: 0; color: #ccdad2; font-size: 10px; line-height: 1.55; }
.doc-note strong { color: #fff; }
.optional-evidence { margin: 13px 1px 20px; padding-left: 12px; border-left: 2px solid rgba(200, 242, 125, .65); color: #aebfb5; font-size: 9px; line-height: 1.6; }
.optional-evidence strong { color: #e8f4ea; }
.signature-note { margin: 18px 0 22px; padding: 13px 16px; border-left: 3px solid var(--lime); background: rgba(200, 242, 125, .08); color: #d2dfd7; font-size: 10px; line-height: 1.65; }
.signature-note strong { color: #fff; }
.attachment-guide { margin: 22px 0 26px; padding: 25px; border: 1px solid rgba(217, 233, 222, .18); border-radius: 11px; background: rgba(4, 33, 25, .36); }
.attachment-guide-heading { display: grid; grid-template-columns: .95fr 1.05fr; align-items: end; gap: 24px; margin-bottom: 15px; }
.attachment-guide-heading h3 { margin: 9px 0 0; color: #fff; font-size: clamp(21px, 2.4vw, 29px); letter-spacing: -.04em; }
.attachment-guide-heading p { margin: 0 0 3px; color: #b9cbc0; font-size: 11px; line-height: 1.7; }
.attachment-guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.attachment-guide-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid rgba(224, 237, 227, .13); }
.attachment-guide-list li > span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(200, 242, 125, .55); border-radius: 50%; color: var(--lime); font-size: 9px; font-weight: 900; }
.attachment-guide-list strong { display: block; margin-bottom: 5px; color: #fff; font-size: 11px; }
.attachment-guide-list p { margin: 0; color: #bdcec4; font-size: 10px; line-height: 1.65; }
.attachment-guide-list small { display: block; margin-top: 6px; color: #91a99a; font-size: 9px; line-height: 1.5; }
.attachment-guide-footer { margin-top: 11px; padding: 12px 14px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #c5d4ca; font-size: 10px; line-height: 1.6; }
.attachment-guide-footer strong { color: var(--lime); }
.document-accordion { border-top: 1px solid var(--line-dark); }
.doc-detail { border-bottom: 1px solid var(--line-dark); }
.doc-detail summary { list-style: none; min-height: 73px; display: grid; grid-template-columns: 35px 1fr 20px; align-items: center; gap: 12px; cursor: pointer; }
.doc-detail summary::-webkit-details-marker { display: none; }
.summary-index { display: grid; width: 29px; height: 29px; place-items: center; color: var(--lime); border: 1px solid rgba(200, 242, 125, .42); border-radius: 50%; font-size: 10px; font-weight: 850; }
.doc-detail summary strong { display: block; color: #fff; font-size: 12px; }
.doc-detail summary small { display: block; margin-top: 5px; color: #a8bdb3; font-size: 10px; }
.chevron { color: var(--lime); font-size: 21px; text-align: center; transition: transform .2s; }
.doc-detail[open] .chevron { transform: rotate(45deg); }
.detail-content { padding: 0 40px 22px 47px; color: #bdcec4; font-size: 11px; line-height: 1.7; }
.detail-content > p { max-width: 800px; margin: 0 0 13px; }
.download-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.download-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; text-decoration: none; }
.download-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.download-card strong { color: #fff; font-size: 10px; }
.download-card small { color: #a9bdb3; font-size: 9px; }
.file-badge { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: var(--lime); color: var(--forest-deep); font-size: 9px; font-weight: 900; }
.download-arrow { margin-left: auto; color: var(--lime); font-size: 17px; }
.warning-inline { padding: 11px 13px; border-left: 2px solid var(--lime); background: rgba(200, 242, 125, .07); color: #cad9d0; font-size: 10px; line-height: 1.6; }
.warning-inline strong { color: var(--lime); }
.clean-list { margin: 2px 0 0; padding-left: 18px; }
.clean-list li { margin: 9px 0; padding-left: 2px; }
.clean-list strong { color: #fff; }
.detail-footnote { margin: 12px 0 0 !important; color: #9fb3a8; font-size: 9px; }
.module-evidence-box { margin-top: 26px; padding: 20px 22px; border: 1px solid rgba(224, 237, 227, .15); border-radius: 9px; background: rgba(255, 255, 255, .035); color: #bdcec4; }
.module-evidence-box h3 { margin: 0 0 7px; color: #fff; font-size: 16px; }
.module-evidence-box > p { margin: 0 0 14px; font-size: 10px; line-height: 1.6; }
.module-evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.module-evidence-grid > div { padding: 13px; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.module-evidence-grid strong { color: var(--lime); font-size: 10px; }
.module-evidence-grid ul { margin: 8px 0 0; padding-left: 16px; font-size: 10px; line-height: 1.6; }
.module-evidence-grid li { margin: 4px 0; }
.checklist-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; }
.checklist-footer > div { display: flex; align-items: center; gap: 12px; }
.checklist-mark { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .1); color: var(--lime); font-size: 17px; }
.checklist-footer strong, .checklist-footer small { display: block; }
.checklist-footer strong { color: #fff; font-size: 11px; }
.checklist-footer small { margin-top: 4px; color: #a9bdb3; font-size: 9px; }
.button-lime { background: var(--lime); color: var(--forest-deep); }
.button-lime:hover { background: #d8ff9e; }

.process-section { padding-block: 94px 90px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid article { padding: 25px 30px 25px 0; }
.process-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.process-grid article > span { color: #719180; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.process-grid h3 { margin: 17px 0 8px; color: var(--forest); font-size: 16px; letter-spacing: -.025em; }
.process-grid p { max-width: 300px; margin: 0; color: #708077; font-size: 11px; line-height: 1.7; }
.commitment-note { display: flex; gap: 11px; align-items: start; max-width: 800px; margin: 22px 0 0; color: #6d7b73; }
.commitment-note > span { color: #4a8b65; font-size: 17px; }
.commitment-note p { margin: 0; font-size: 10px; line-height: 1.7; }
.commitment-note strong { color: var(--forest); }

.intake-section { padding-block: 86px 56px; background: var(--forest); color: #fff; }
.intake-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.intake-heading h2 { color: #fff; }
.intake-heading h2 em { color: var(--lime); }
.intake-aside { max-width: 265px; display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.aside-number { color: rgba(255, 255, 255, .34); font-size: 31px; font-weight: 650; letter-spacing: -.07em; }
.intake-aside p { margin: 0; color: #b5c8be; font-size: 10px; line-height: 1.55; }
.intake-mode-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.intake-mode-button { min-height: 70px; display: flex; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(255, 255, 255, .045); color: #d7e5dc; text-align: left; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.intake-mode-button:hover { border-color: rgba(208, 239, 131, .65); }
.intake-mode-button.is-selected { border-color: var(--lime); background: var(--lime); color: var(--forest-deep); }
.mode-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 9px; font-size: 17px; }
.intake-mode-button strong, .intake-mode-button small { display: block; }
.intake-mode-button strong { font-size: 12px; }
.intake-mode-button small { margin-top: 4px; color: inherit; opacity: .75; font-size: 9px; }
#guidedFlow { padding: 30px 42px 38px; }
.guided-intro { max-width: 680px; margin-bottom: 24px; }
.guided-intro h3 { margin: 9px 0 6px; color: var(--forest-deep); font-size: 25px; letter-spacing: -.035em; }
.guided-intro p { margin: 0; color: #718078; font-size: 11px; line-height: 1.65; }
.guided-progress { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.guided-progress-track { height: 4px; flex: 1; overflow: hidden; border-radius: 99px; background: #e1e9df; }
.guided-progress-track span { display: block; width: 16.66%; height: 100%; border-radius: inherit; background: #5e9b6c; transition: width .25s ease; }
.guided-progress > span { color: #708177; font-size: 9px; font-weight: 800; white-space: nowrap; }
.guided-question { min-height: 250px; padding: 24px; border: 1px solid #e1e9df; border-radius: 8px; background: #fff; }
.guided-question-heading { display: flex; align-items: start; gap: 13px; margin-bottom: 21px; }
.guided-question-heading > span { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border-radius: 9px; background: #e9f1e5; color: #397650; font-size: 9px; font-weight: 900; }
.guided-question-heading h4 { margin: 2px 0 5px; color: var(--forest-deep); font-size: 17px; letter-spacing: -.025em; }
.guided-question-heading p { margin: 0; color: #829087; font-size: 10px; line-height: 1.55; }
.guided-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.guided-options label { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #e3ebe1; border-radius: 6px; color: #52645a; font-size: 10px; line-height: 1.4; cursor: pointer; }
.guided-options label:has(input:checked) { border-color: #7daf7f; background: #f0f6eb; color: #315b40; }
.guided-options input { width: 15px; height: 15px; margin: 0; accent-color: #397650; flex: 0 0 auto; }
.guided-detail-field { margin-top: 14px; }
.company-lookup { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 15px; border: 1px solid #dce8d8; border-radius: 7px; background: #f3f7f0; }
.company-lookup p { max-width: 780px; margin: 0; color: #6d7c71; font-size: 11px; line-height: 1.65; }
.company-lookup a { color: #397650; font-weight: 700; text-underline-offset: 2px; }
#intakeForm .company-lookup .button-outline-light { color: #37584b; border-color: #cbd9cc; }
#intakeForm .company-lookup .button-outline-light:hover:not(:disabled) { border-color: #6ab184; color: #1f6a47; }
.company-lookup-status { min-height: 0; color: #477354; font-size: 11px; line-height: 1.5; }
.company-lookup-status:empty { display: none; }
.company-lookup-result { width: 100%; margin-top: 3px; padding-top: 14px; border-top: 1px solid #dce8d8; }
.company-lookup-result[hidden] { display: none; }
.company-lookup-result h5 { margin: 0 0 10px; color: #31543f; font-size: 11px; }
.company-lookup-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; margin: 0 0 13px; }
.company-lookup-result dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; font-size: 11px; }
.company-lookup-result dt { color: #829087; }
.company-lookup-result dd { margin: 0; overflow-wrap: anywhere; color: #355244; font-weight: 700; }
.company-lookup-confirm { display: flex; align-items: start; gap: 9px; margin-bottom: 12px; color: #365c43; font-size: 11px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.company-lookup-confirm input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #397650; flex: 0 0 auto; }
.guided-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; }
#intakeForm .guided-navigation .button-outline-light { color: #37584b; border-color: #cbd9cc; }
#intakeForm .guided-navigation .button-outline-light:hover:not(:disabled) { border-color: #6ab184; color: #1f6a47; }
.idea-results { padding-top: 5px; }
.idea-results-heading { max-width: 730px; margin-bottom: 21px; }
.idea-results-heading h3 { margin: 9px 0 6px; color: var(--forest-deep); font-size: 25px; letter-spacing: -.035em; }
.idea-results-heading p { margin: 0; color: #718078; font-size: 10px; line-height: 1.65; }
.idea-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.idea-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 18px; border: 1px solid #e0e8de; border-radius: 8px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.idea-card.is-chosen { border-color: #6a9b6d; box-shadow: 0 0 0 2px rgba(106, 155, 109, .12); }
.idea-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }
.idea-module-tag { padding: 6px 8px; border-radius: 4px; background: #edf4e9; color: #42724e; font-size: 8px; font-weight: 900; letter-spacing: .07em; }
.idea-number { color: #a3afa5; font-size: 9px; font-weight: 800; }
.idea-card h4 { margin: 0 0 9px; color: var(--forest-deep); font-size: 15px; line-height: 1.35; }
.idea-card p { color: #6c7c72; font-size: 9px; line-height: 1.6; }
.idea-card .idea-draft { margin: 0 0 8px; color: #435b4e; }
.idea-card .idea-rationale { margin: 0 0 8px; }
.idea-card .idea-check { margin: auto 0 14px; padding-top: 8px; border-top: 1px solid #edf1eb; }
.idea-card .idea-check strong { color: #506e56; }
.idea-choose { min-height: 39px; padding: 9px 12px; color: #37584b; border-color: #cbd9cc; font-size: 9px; }
.idea-card.is-chosen .idea-choose { background: #eaf3e5; border-color: #82a975; }
.idea-tailored { margin-top: 22px; padding: 18px; border: 1px solid #d8e5d6; border-radius: 9px; background: #f5f8f1; }
.idea-tailored-heading { max-width: 730px; margin-bottom: 14px; }
.idea-tailored-heading h4 { margin: 8px 0 5px; color: var(--forest-deep); font-size: 17px; letter-spacing: -.02em; }
.idea-tailored-heading p, .idea-tailored-empty, .idea-tailored-sources { margin: 0; color: #718078; font-size: 10px; line-height: 1.65; }
.idea-tailored-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.idea-tailored-card { border-color: #d9e4d5; }
.idea-tailored-card .idea-module-tag { background: #e5efe1; }
.idea-tailored-empty { padding: 12px; border: 1px dashed #cbd9cc; border-radius: 6px; }
.idea-tailored-sources { margin-top: 13px; }
.idea-tailored-sources a { color: #356d4e; font-weight: 800; text-underline-offset: 2px; }
.idea-tailored-sources a:focus-visible { outline: 2px solid #356d4e; outline-offset: 3px; }
.idea-selected { display: flex; align-items: center; gap: 12px; margin-top: 15px; padding: 16px; border: 1px solid #cfe0c8; border-radius: 8px; background: #edf5e9; }
.selected-check { display: grid; width: 28px; height: 28px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #5d9163; color: #fff; font-size: 14px; }
.idea-selected p { flex: 1; margin: 0; color: #4c6252; font-size: 9px; line-height: 1.55; }
.idea-results-footer { display: flex; align-items: start; gap: 20px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #e3e9e1; }
.idea-results-footer p { max-width: 620px; margin: 0; color: #7d8980; font-size: 9px; line-height: 1.6; }
.text-button { padding: 0; border: 0; background: transparent; color: #47775b; font-size: 9px; font-weight: 800; white-space: nowrap; text-decoration: underline; cursor: pointer; }
.intake-module-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 13px 15px; border: 1px solid var(--line-dark); border-radius: 9px 9px 0 0; background: rgba(255, 255, 255, .04); }
.intake-module-switch > span { color: #bdd0c5; font-size: 10px; font-weight: 700; }
.mini-tabs { display: flex; gap: 5px; padding: 4px; border-radius: 7px; background: rgba(0, 0, 0, .18); }
.mini-tab { border: 0; border-radius: 5px; padding: 9px 12px; background: transparent; color: #b2c6bb; font-size: 10px; font-weight: 700; cursor: pointer; }
.mini-tab.is-selected { background: var(--lime); color: var(--forest-deep); }
.stepper { position: relative; padding: 21px 36px 15px; border-inline: 1px solid var(--line-dark); background: rgba(255, 255, 255, .035); }
.stepper-progress { position: absolute; top: 34px; left: 66px; right: 66px; height: 1px; background: rgba(255, 255, 255, .16); }
.stepper-progress span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .25s ease; }
.stepper-items { position: relative; display: flex; align-items: start; justify-content: space-between; }
.step-indicator { display: flex; align-items: center; flex-direction: column; gap: 7px; padding: 0; border: 0; background: transparent; color: #8da99a; cursor: pointer; }
.step-indicator span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255, 255, 255, .22); background: var(--forest); border-radius: 50%; font-size: 8px; font-weight: 900; }
.step-indicator small { color: #adc1b7; font-size: 9px; }
.step-indicator.is-current span, .step-indicator.is-complete span { border-color: var(--lime); background: var(--lime); color: var(--forest-deep); }
.step-indicator.is-current small { color: var(--lime); font-weight: 800; }
#intakeForm { padding: 0 0 0; background: #f8faf6; color: var(--ink); border: 1px solid rgba(255, 255, 255, .1); border-top: 0; }
.form-step { min-height: 415px; padding: 37px 42px 30px; }
.form-step-heading { margin-bottom: 24px; }
.step-eyebrow { color: #6b8a77; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.form-step-heading h3 { margin: 10px 0 7px; color: var(--forest-deep); font-size: 27px; letter-spacing: -.04em; }
.form-step-heading p { margin: 0; color: #718078; font-size: 11px; line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-grid-compact { gap: 11px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: #445951; font-size: 10px; font-weight: 800; }
.field > span small { color: #98a59c; font-size: 9px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 42px; padding: 11px 12px; border: 1px solid #dce5dc; border-radius: 6px;
  outline: 0; background: #fff; color: #253d33; font-size: 11px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 83px; resize: vertical; line-height: 1.55; }
.field-large textarea { min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #a4b0a8; }
.field select { appearance: auto; color: #50635a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #58a37d; box-shadow: 0 0 0 3px rgba(88, 163, 125, .14); }
.form-subsection { margin-top: 27px; padding-top: 18px; border-top: 1px solid #e1e8df; }
.subsection-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.subsection-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #e5f1e2; color: #3d7955; font-size: 15px; }
.subsection-title strong, .subsection-title small { display: block; }
.subsection-title strong { color: #385349; font-size: 10px; }
.subsection-title small { margin-top: 3px; color: #8b9a91; font-size: 9px; }
.module-question-set { margin-top: 0; }
.module-question-banner { display: flex; align-items: start; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border-radius: 7px; background: #eaf3e7; }
.module-question-banner p { max-width: 700px; margin: 2px 0 0; color: #617668; font-size: 10px; line-height: 1.6; }
.module-question-banner .module-tag { flex: 0 0 auto; }
.checklist-box { margin-top: 26px; padding: 18px; border: 1px solid #e0e8de; border-radius: 8px; background: #fff; }
.checklist-box-heading { margin-bottom: 14px; }
.checklist-box-heading p { margin: 5px 0 0; color: #849188; font-size: 9px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check-option { display: flex; align-items: start; gap: 9px; padding: 10px 11px; border: 1px solid #e4ebe2; border-radius: 6px; color: #55675d; font-size: 10px; line-height: 1.45; cursor: pointer; }
.check-option input { width: 14px; height: 14px; margin: 0; accent-color: #267650; flex: 0 0 auto; }
.privacy-callout { display: flex; gap: 12px; margin-top: 18px; padding: 13px 15px; background: #f2f5ed; border-left: 3px solid #c1e783; color: #67766e; }
.privacy-callout > span { color: #5c875f; font-size: 17px; }
.privacy-callout p { margin: 0; font-size: 10px; line-height: 1.6; }
.privacy-callout strong { color: #294b3a; }
.export-card { display: flex; align-items: start; gap: 16px; max-width: 760px; padding: 21px; border: 1px solid #dce7da; border-radius: 9px; background: #fff; }
.export-icon { display: grid; width: 40px; height: 40px; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--lime); color: var(--forest); font-size: 19px; }
.export-card strong { color: var(--forest); font-size: 13px; }
.export-card p { margin: 7px 0 0; color: #6b7a71; font-size: 10px; line-height: 1.65; }
.export-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.button-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
.button-outline-light:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.form-navigation { min-height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 13px 42px; border-top: 1px solid #e2e8e0; }
#intakeForm .form-navigation .button-outline-light { color: #37584b; border-color: #cbd9cc; }
#intakeForm .form-navigation .button-outline-light:hover:not(:disabled) { color: #1f6a47; border-color: #6ab184; }
.form-nav-side { display: flex; align-items: center; gap: 17px; }
.form-nav-side > span { color: #849189; font-size: 9px; }
.save-status { display: flex; align-items: center; gap: 8px; padding: 15px 5px 0; color: #c1d1c8; font-size: 9px; }
.save-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.save-status button { margin-left: auto; padding: 5px 0; border: 0; background: transparent; color: #d7e5dc; font-size: 9px; text-decoration: underline; cursor: pointer; }
.export-reminder { display: flex; align-items: start; gap: 9px; max-width: 750px; margin-top: 22px; color: #6d7d72; }
.export-reminder > span { color: #c17f30; font-weight: 900; }
.export-reminder p { margin: 0; font-size: 10px; line-height: 1.6; }

.final-info { padding-block: 84px 51px; }
.final-card { display: grid; grid-template-columns: 1fr .82fr; gap: 50px; padding: 38px; border-radius: 13px; background: #eaf1e7; }
.final-card h2 { margin-top: 14px; font-size: 39px; }
.final-card-left > p { max-width: 500px; margin: 17px 0 0; color: #697970; font-size: 11px; line-height: 1.7; }
.portal-links { display: flex; flex-direction: column; gap: 8px; }
.portal-links > a:not(.portal-general) { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid #d4e0d3; border-radius: 7px; background: rgba(255, 255, 255, .68); text-decoration: none; }
.portal-links > a:not(.portal-general) span { display: flex; flex-direction: column; gap: 4px; }
.portal-links small { color: #758a7c; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.portal-links strong { color: var(--forest); font-size: 11px; }
.portal-links b { color: #43835e; font-size: 17px; }
.portal-general { margin-top: 8px; color: #47775b; font-size: 9px; font-weight: 800; text-decoration: none; }
.portal-general span { margin-left: 5px; }
.sources-row { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 18px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.sources-row > span { color: #85958a; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.sources-row p { margin: 0; color: #829087; font-size: 9px; line-height: 1.6; }
.sources-row a { color: #4a785c; white-space: nowrap; font-size: 9px; font-weight: 800; text-decoration: none; }
.glossary { display: grid; grid-template-columns: .7fr 1.3fr; gap: 38px; margin-top: 51px; padding-top: 38px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.glossary-heading { max-width: 340px; }
.glossary-heading h2 { margin: 13px 0 11px; font-size: 34px; }
.glossary-heading p { color: #748278; font-size: 11px; line-height: 1.65; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.glossary-grid article { padding: 14px; border: 1px solid #dfe8dd; border-radius: 7px; background: #fbfcf9; scroll-margin-top: 80px; }
.glossary-grid h3 { margin: 0 0 6px; color: #355d45; font-size: 12px; }
.glossary-grid p { margin: 0; color: #728077; font-size: 11px; line-height: 1.6; }
.site-footer { display: flex; align-items: center; gap: 35px; padding: 22px max(28px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
.footer-brand strong { color: var(--forest); }
.site-footer > p { margin: 0; color: #839188; font-size: 9px; line-height: 1.5; }
.site-footer > a { margin-left: auto; color: #557b62; font-size: 9px; font-weight: 800; text-decoration: none; }
.footer-date { color: #9aa69f; font-size: 8px; }
.print-summary { display: none; }

:focus-visible { outline: 3px solid #77b986; outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header { padding-inline: 24px; }
  .hero { gap: 22px; }
  .hero h1 { font-size: clamp(48px, 7vw, 66px); }
  .hero-visual { min-height: 355px; }
  .quick-facts-inner { grid-template-columns: 1fr 1fr; padding-block: 18px; gap: 18px 25px; }
  .fact-link { justify-self: start; }
  .module-panel { gap: 28px; }
  .section-space { padding-block: 78px; }
  .required-doc { padding-inline: 17px; }
  .attachment-guide { padding: 20px; }
  .final-card { gap: 30px; padding: 29px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 65px; padding-inline: 18px; gap: 10px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; padding: 8px 7px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .top-nav { display: none; }
  .header-cta { margin-left: auto; padding: 10px 12px; font-size: 10px; gap: 8px; }
  .section-wrap { width: min(100% - 36px, 540px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 6px; padding-block: 55px 58px; }
  .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .hero h1 { margin: 21px 0 15px; font-size: clamp(46px, 12vw, 66px); }
  .hero-intro { font-size: 14px; line-height: 1.65; }
  .hero-actions { flex-wrap: wrap; gap: 17px; margin-top: 22px; }
  .hero-note { margin-top: 21px; font-size: 10px; }
  .hero-visual { min-height: 305px; margin-top: 13px; }
  .route-card { width: min(335px, 88%); padding: 22px; }
  .visual-stamp { top: 4px; right: 10px; width: 67px; height: 67px; }
  .visual-stamp strong { font-size: 24px; }
  .visual-orbit.orbit-one { width: 370px; height: 220px; }
  .visual-orbit.orbit-two { width: 320px; height: 190px; }
  .hero-side-note { right: 0; bottom: 0; }
  .hero-bottomline { font-size: 7px; }
  .quick-facts-inner { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-block: 18px; }
  .fact-deadline { grid-column: 1 / -1; }
  .quick-facts strong { font-size: 10px; }
  .quick-facts small { font-size: 8px; }
  .fact-link { font-size: 9px; white-space: normal; }
  .section-space { padding-block: 66px; }
  .section-heading, .intake-heading { display: block; margin-bottom: 26px; }
  h2 { margin-top: 13px; font-size: clamp(38px, 10vw, 49px); }
  .section-lead { margin-top: 17px; font-size: 12px; }
  .module-tabs { grid-template-columns: 1fr; }
  .module-tab { min-height: 60px; padding-inline: 10px; gap: 10px; }
  .module-tab + .module-tab { border-top: 1px solid #dbe3db; }
  .tab-title { font-size: 13px; }
  .tab-subtitle { margin-left: auto; }
  .module-panel { grid-template-columns: 1fr; gap: 24px; padding: 27px 6px 28px; }
  .module-panel h3 { font-size: 28px; }
  .module-panel-main p { font-size: 12px; }
  .module-metrics { padding: 19px 0 0; border-left: 0; border-top: 1px solid #d9e2da; gap: 17px 10px; }
  .module-metrics strong { font-size: 17px; }
  .eligibility-strip { grid-template-columns: auto 1fr; gap: 10px; padding: 15px 13px; }
  .eligibility-strip a { grid-column: 2; }
  .eligibility-strip p { font-size: 9px; }
  .small-print { margin-left: 0; font-size: 9px; }
  .documents-section { padding-block: 64px; }
  .required-docs { grid-template-columns: 1fr; gap: 9px; }
  .required-doc { min-height: 0; padding: 19px; }
  .required-doc h3 { margin-top: 16px; }
  .required-doc p { min-height: 0; }
  .attachment-guide-heading { display: block; }
  .attachment-guide-heading p { margin-top: 12px; }
  .attachment-guide-list { grid-template-columns: 1fr; }
  .module-evidence-grid { grid-template-columns: 1fr; }
  .doc-note { align-items: start; padding: 13px; }
  .doc-detail summary { min-height: 70px; grid-template-columns: 30px 1fr 18px; gap: 8px; }
  .doc-detail summary strong { font-size: 10px; }
  .doc-detail summary small { font-size: 8px; }
  .detail-content { padding: 0 3px 19px 38px; font-size: 10px; }
  .download-row { grid-template-columns: 1fr; }
  .checklist-footer { align-items: stretch; flex-direction: column; }
  .checklist-footer .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 20px 0; border-left: 0; }
  .process-grid article + article { border-top: 1px solid var(--line); }
  .process-grid p { max-width: none; }
  .intake-section { padding-block: 63px 38px; }
  .intake-aside { margin-top: 18px; }
  .intake-mode-picker { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .intake-mode-button { min-height: 63px; padding: 12px 13px; }
  #guidedFlow { padding: 24px 15px 26px; }
  .guided-intro h3, .idea-results-heading h3 { font-size: 22px; }
  .guided-progress { gap: 9px; }
  .guided-question { min-height: 0; padding: 17px 14px; }
  .guided-question-heading { gap: 9px; margin-bottom: 17px; }
  .guided-question-heading h4 { font-size: 15px; }
  .guided-question-heading p { font-size: 9px; }
  .guided-options { grid-template-columns: 1fr; gap: 7px; }
  .guided-options label { min-height: 40px; font-size: 10px; }
  .company-lookup { padding: 12px; }
  .company-lookup-result dl { grid-template-columns: 1fr; }
  .company-lookup-result dl > div { grid-template-columns: 100px minmax(0, 1fr); }
  .guided-navigation { align-items: stretch; }
  .guided-navigation .button { min-height: 43px; padding-inline: 12px; font-size: 9px; }
  .idea-cards { grid-template-columns: 1fr; }
  .idea-tailored { padding: 14px; }
  .idea-tailored-grid { grid-template-columns: 1fr; }
  .idea-card { padding: 15px; }
  .idea-selected { align-items: start; flex-wrap: wrap; padding: 13px; }
  .idea-selected p { flex-basis: calc(100% - 42px); }
  .idea-selected .button { width: 100%; }
  .idea-results-footer { flex-direction: column; gap: 10px; }
  .intake-module-switch { align-items: start; flex-direction: column; gap: 10px; margin-top: 25px; }
  .mini-tabs { width: 100%; }
  .mini-tab { flex: 1; padding: 9px 7px; font-size: 9px; }
  .stepper { padding: 17px 14px 12px; }
  .stepper-progress { top: 30px; left: 39px; right: 39px; }
  .step-indicator small { font-size: 8px; }
  .form-step { padding: 27px 17px 24px; min-height: 0; }
  .form-step-heading h3 { font-size: 24px; }
  .form-step-heading p { font-size: 10px; }
  .field-grid { grid-template-columns: 1fr; gap: 12px; }
  .field-wide { grid-column: auto; }
  .field input, .field select, .field textarea { font-size: 12px; }
  .module-question-banner { flex-direction: column; gap: 8px; }
  .checklist-box { padding: 14px; }
  .check-grid { grid-template-columns: 1fr; }
  .form-navigation { padding: 12px 15px; gap: 10px; }
  .form-navigation .button { min-height: 43px; padding-inline: 13px; gap: 9px; }
  .form-nav-side { gap: 9px; }
  .form-nav-side > span { display: none; }
  .export-card { padding: 15px; gap: 12px; }
  .export-actions { flex-direction: column; }
  .export-actions .button { width: 100%; }
  .final-info { padding-block: 57px 37px; }
  .final-card { grid-template-columns: 1fr; gap: 22px; padding: 23px 18px; }
  .final-card h2 { font-size: 34px; }
  .sources-row { grid-template-columns: 1fr; gap: 8px; }
  .glossary { grid-template-columns: 1fr; gap: 18px; margin-top: 37px; padding-top: 29px; }
  .glossary-heading { max-width: none; }
  .glossary-heading h2 { font-size: 30px; }
  .glossary-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; gap: 13px 20px; padding: 19px 18px; }
  .site-footer > p { font-size: 8px; }
  .site-footer > a { width: 100%; margin-left: 0; }
  .footer-date { margin-left: auto; }
}

@media (max-width: 390px) {
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .quick-facts-inner { grid-template-columns: 1fr; }
  .fact-deadline { grid-column: auto; }
  .module-tab { gap: 7px; }
  .tab-title { font-size: 12px; }
  .tab-subtitle { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  body { background: #fff; color: #111; }
  body > * { display: none !important; }
  .print-summary { display: block !important; padding: 20px; color: #111; font: 11pt/1.5 Arial, sans-serif; }
  .print-summary h1 { font: 22pt Arial, sans-serif; margin: 0 0 4px; }
  .print-summary h2 { font: bold 13pt Arial, sans-serif; margin: 20px 0 5px; }
  .print-summary p { margin: 0 0 7px; white-space: pre-wrap; }
  .print-summary .print-meta { color: #555; font-size: 9pt; margin-bottom: 16px; }
  .print-summary .print-row { padding-bottom: 6px; border-bottom: 1px solid #ddd; }
}

.ai-chat-section {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(34px, 6vw, 82px);
  align-items: center; padding-block: 76px 82px; scroll-margin-top: 96px;
}
.ai-chat-intro h2 { margin: 18px 0 17px; color: var(--forest-deep); font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.055em; }
.ai-chat-intro > p { max-width: 430px; color: #596d64; font-size: 14px; line-height: 1.75; }
.ai-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #73b985; box-shadow: 0 0 0 4px rgba(101, 185, 124, .14); }
.ai-knowledge-note { display: flex; gap: 12px; margin: 25px 0 22px; padding: 15px 16px; border: 1px solid #d8e4d8; border-radius: 9px; background: #eef3e9; }
.ai-knowledge-note > span { color: #3d7f62; font-size: 18px; line-height: 1.2; }
.ai-knowledge-note p { margin: 0; color: #52695e; font-size: 11px; line-height: 1.65; }
.ai-survey-link { display: inline-flex; gap: 8px; color: #326551; font-size: 12px; font-weight: 800; text-decoration: none; border-bottom: 1px solid #93aa9c; padding-bottom: 5px; }
.ai-chat-card { min-width: 0; overflow: hidden; border: 1px solid #d8e2d9; border-radius: 14px; background: #fff; box-shadow: 0 18px 46px rgba(21, 48, 41, .09); }
.ai-chat-card-header { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 15px 19px; border-bottom: 1px solid #e7ece7; }
.ai-avatar { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: var(--forest); color: var(--lime); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.ai-chat-card-header > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.ai-chat-card-header strong { color: var(--forest-deep); font-size: 12px; }
.ai-chat-card-header small { color: #73837c; font-size: 10px; }
.ai-status-pill { margin-left: auto; padding: 7px 9px; border-radius: 20px; background: #f0f2ed; color: #66736d; font-size: 9px; font-weight: 750; white-space: nowrap; }
.ai-status-pill.is-ready { background: #e4f4e7; color: #286b41; }
.ai-status-pill.is-waiting { background: #fff3dc; color: #80551a; }
.ai-status-pill.is-offline { background: #fbe9e6; color: #974c3b; }
.ai-chat-messages { display: flex; flex-direction: column; gap: 13px; min-height: 208px; max-height: 360px; overflow-y: auto; padding: 19px; background: linear-gradient(180deg, #fcfdfb, #fff); }
.ai-message { max-width: 89%; padding: 12px 14px; border-radius: 3px 12px 12px 12px; background: #eff4ed; color: #334d42; }
.ai-message-user { align-self: flex-end; border-radius: 12px 3px 12px 12px; background: var(--forest); color: #fff; }
.ai-message-name { display: block; margin-bottom: 5px; color: #71847a; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.ai-message-user .ai-message-name { color: #c8dfd2; }
.ai-message p { margin: 0; font-size: 11px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 18px 16px; }
.ai-suggestions button { appearance: none; border: 1px solid #dbe5dc; border-radius: 18px; padding: 8px 10px; background: #fff; color: #426457; font-size: 9px; font-weight: 700; cursor: pointer; }
.ai-suggestions button:hover, .ai-suggestions button:focus-visible { border-color: #8db5a0; background: #f4f8f2; }
.ai-chat-form { padding: 0 18px 18px; }
.ai-consent { display: flex; align-items: flex-start; gap: 9px; padding: 12px 13px; border-radius: 8px; background: #f6f7f3; color: #64746b; font-size: 9px; line-height: 1.55; cursor: pointer; }
.ai-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--forest); }
.ai-consent strong { color: #365b4c; }
.ai-chat-compose { display: flex; align-items: flex-end; gap: 9px; margin-top: 9px; }
.ai-chat-compose textarea { flex: 1 1 auto; min-width: 0; min-height: 50px; max-height: 130px; resize: vertical; padding: 13px 14px; border: 1px solid #d9e2db; border-radius: 8px; background: #fff; color: var(--ink); font-size: 11px; line-height: 1.5; }
.ai-chat-compose textarea:focus-visible { outline: 2px solid #88b89a; outline-offset: 1px; }
.ai-chat-compose .button { flex: 0 0 auto; min-height: 49px; padding-inline: 16px; }
.ai-chat-privacy { margin: 10px 1px 0; color: #7a8880; font-size: 9px; line-height: 1.5; }
.ai-chat-feedback { min-height: 16px; margin: 6px 1px 0; color: #9b573e; font-size: 10px; line-height: 1.5; }
.ai-chat-feedback.is-success { color: #37704e; }
.ai-message-pending p::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 5px; border-radius: 50%; background: #72a38a; animation: ai-pulse 1s infinite ease-in-out alternate; }
@keyframes ai-pulse { to { opacity: .25; transform: scale(.65); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .ai-chat-section { grid-template-columns: 1fr; gap: 27px; padding-block: 57px 62px; }
  .ai-chat-intro > p { max-width: 630px; }
  .ai-chat-card { width: 100%; }
}
@media (max-width: 560px) {
  .ai-chat-section { padding-block: 46px 51px; }
  .ai-chat-card-header { gap: 9px; padding: 12px; }
  .ai-chat-card-header strong { font-size: 10px; }
  .ai-chat-card-header small { font-size: 8px; }
  .ai-status-pill { max-width: 116px; overflow: hidden; text-overflow: ellipsis; padding: 6px 7px; font-size: 8px; }
  .ai-chat-messages { min-height: 188px; padding: 13px; }
  .ai-message { max-width: 96%; }
  .ai-suggestions { padding-inline: 12px; }
  .ai-chat-form { padding-inline: 12px; }
  .ai-chat-compose { align-items: stretch; flex-direction: column; }
  .ai-chat-compose .button { width: 100%; }
  .ai-consent { font-size: 8px; }
}
@media print { .ai-chat-section { display: none !important; } }

.cost-guide { margin-top: 34px; overflow: hidden; border: 1px solid #d4e0d6; border-radius: 11px; background: #fff; box-shadow: 0 14px 34px rgba(21, 48, 41, .07); scroll-margin-top: 96px; }
.cost-guide > summary { list-style: none; }
.cost-guide > summary::-webkit-details-marker { display: none; }
.cost-guide-summary { display: flex; align-items: center; gap: 16px; min-height: 91px; padding: 17px 21px; cursor: pointer; }
.cost-guide-summary:hover { background: #fbfcf9; }
.cost-guide-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--forest); color: var(--lime); font-size: 22px; font-weight: 500; transition: transform .18s; }
.cost-guide[open] .cost-guide-mark { transform: rotate(45deg); }
.cost-guide-summary-copy { display: flex; flex-direction: column; gap: 4px; }
.cost-guide-summary-copy small { color: #7a8b80; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.cost-guide-summary-copy strong { color: var(--forest-deep); font-size: 18px; letter-spacing: -.02em; }
.cost-guide-summary-copy em { color: #738279; font-size: 10px; font-style: normal; }
.cost-guide-chevron { margin-left: auto; color: #3d7057; font-size: 24px; transition: transform .18s; }
.cost-guide[open] .cost-guide-chevron { transform: rotate(180deg); }
.cost-guide-content { padding: 0 21px 22px; border-top: 1px solid #e6ece6; }
.cost-guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding: 24px 0 20px; }
.cost-guide-heading h3 { margin: 8px 0 0; color: var(--forest-deep); font-size: 25px; letter-spacing: -.04em; }
.cost-guide-heading > p { max-width: 460px; margin: 0; color: #6a7b71; font-size: 10px; line-height: 1.65; }
.cost-module-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; border-bottom: 1px solid #dce5dc; }
.cost-module-tab { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 11px 14px; border: 0; background: transparent; color: #66786e; font-size: 11px; font-weight: 800; text-align: left; cursor: pointer; }
.cost-module-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: transparent; content: ""; }
.cost-module-tab.is-selected { color: var(--forest-deep); }
.cost-module-tab.is-selected::after { background: #5e9b73; }
.cost-module-tab small { margin-left: auto; color: #8a988f; font-size: 9px; font-weight: 700; }
.cost-budget-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-bottom: 15px; padding: 12px 14px; border-radius: 7px; background: #edf3eb; color: #567063; font-size: 10px; }
.cost-budget-strip strong { color: var(--forest-deep); font-size: 12px; }
.cost-panel-intro { max-width: 900px; margin: 0 0 16px; color: #62746a; font-size: 11px; line-height: 1.7; }
.cost-accordion-list { display: flex; flex-direction: column; gap: 8px; }
.cost-item { overflow: hidden; border: 1px solid #dce6dd; border-radius: 8px; background: #fff; }
.cost-item > summary { display: flex; align-items: center; gap: 12px; min-height: 65px; padding: 11px 14px; cursor: pointer; list-style: none; }
.cost-item > summary::-webkit-details-marker { display: none; }
.cost-item > summary:hover { background: #fbfcf9; }
.cost-item-number { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 8px; background: #edf3ec; color: #47745b; font-size: 9px; font-weight: 850; }
.cost-item > summary > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.cost-item > summary strong { color: #2a483b; font-size: 11px; }
.cost-item > summary small { color: #7a8980; font-size: 9px; }
.cost-item-plus { margin-left: auto; color: #57856a; font-size: 17px; transition: transform .18s; }
.cost-item[open] .cost-item-plus { transform: rotate(45deg); }
.cost-item-body { padding: 0 17px 16px 55px; color: #64756b; font-size: 10px; line-height: 1.65; }
.cost-item-body p { margin: 0 0 8px; }
.cost-item-body ul { margin: 5px 0 0; padding-left: 17px; }
.cost-item-body li + li { margin-top: 4px; }
.cost-check-label { font-weight: 800; color: #405d4c; }
.cost-warning { display: grid; grid-template-columns: minmax(160px, .42fr) 1fr; gap: 14px; margin-top: 14px; padding: 15px; border-left: 3px solid #d5a355; border-radius: 5px; background: #faf5e9; color: #756246; font-size: 10px; line-height: 1.65; }
.cost-warning strong { color: #65502e; }
.cost-guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5ebe5; }
.cost-guide-footer p { max-width: 730px; margin: 0; color: #728077; font-size: 9px; line-height: 1.65; }
.cost-guide-footer p strong { color: #425f4e; }
.cost-guide-footer a { flex: 0 0 auto; color: #356c50; font-size: 10px; font-weight: 800; text-decoration: none; }
.cost-guide-footer a span { margin-left: 5px; }

@media (max-width: 1100px) {
  .top-nav { gap: 17px; }
  .top-nav a { font-size: 11px; }
}
@media (max-width: 760px) {
  .cost-guide-summary { min-height: 82px; padding: 14px; }
  .cost-guide-summary-copy strong { font-size: 15px; }
  .cost-guide-content { padding: 0 14px 16px; }
  .cost-guide-heading { display: block; }
  .cost-guide-heading > p { margin-top: 12px; }
  .cost-warning { grid-template-columns: 1fr; gap: 5px; }
  .cost-guide-footer { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .cost-guide { margin-top: 26px; }
  .cost-guide-mark { flex-basis: 35px; width: 35px; height: 35px; border-radius: 10px; }
  .cost-guide-summary { gap: 10px; }
  .cost-guide-summary-copy small { font-size: 7px; }
  .cost-guide-summary-copy strong { font-size: 13px; }
  .cost-guide-summary-copy em { font-size: 8px; }
  .cost-module-tab { align-items: start; flex-direction: column; gap: 4px; padding-inline: 9px; font-size: 9px; }
  .cost-module-tab small { margin-left: 0; }
  .cost-budget-strip { flex-direction: column; }
  .cost-item > summary { gap: 9px; padding-inline: 10px; }
  .cost-item > summary strong { font-size: 10px; }
  .cost-item-body { padding: 0 12px 13px 48px; }
}
@media print { .cost-guide { display: none !important; } }

/* Floating assistant: the launcher stays available while the existing conversation is in a compact dock. */
.ai-chat-section:not([hidden]) {
  position: fixed; z-index: 1200; top: 92px; right: max(16px, env(safe-area-inset-right)); bottom: 16px;
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  width: min(430px, calc(100vw - 32px)); height: auto; max-height: none; margin: 0; padding: 16px;
  overflow: hidden; border: 1px solid #cad8cc; border-radius: 16px; background: var(--paper);
  box-shadow: 0 20px 60px rgba(19, 44, 35, .22); overscroll-behavior: contain;
}
.ai-chat-section[hidden] { display: none !important; }
.ai-chat-section .ai-chat-intro { flex: 0 0 auto; }
.ai-chat-section .ai-chat-intro h2 { margin: 3px 0 6px; font-size: 21px; line-height: 1.08; }
.ai-chat-section .ai-chat-intro > p { max-width: none; margin: 0; font-size: 10px; line-height: 1.45; }
.ai-chat-section .ai-knowledge-note { display: block; margin: 7px 0 0; padding: 0; border: 0; background: transparent; }
.ai-chat-section .ai-knowledge-note summary { color: #365b4c; font-size: 9px; font-weight: 750; line-height: 1.4; cursor: pointer; }
.ai-chat-section .ai-knowledge-note > p { margin-top: 7px; }
.ai-chat-section .ai-knowledge-note p { font-size: 10px; }
.ai-chat-section .ai-survey-link { margin-top: 8px; font-size: 10px; }
.ai-chat-section .ai-chat-card { display: flex; min-height: 0; flex: 1 1 0; flex-direction: column; width: 100%; }
.ai-chat-section .ai-chat-card-header { gap: 8px; min-height: 62px; padding: 10px; }
.ai-chat-section .ai-avatar { width: 32px; height: 32px; border-radius: 9px; }
.ai-chat-section .ai-chat-card-header strong { font-size: 11px; }
.ai-chat-section .ai-chat-card-header small { font-size: 9px; }
.ai-chat-section .ai-status-pill { max-width: 118px; padding: 6px 7px; font-size: 8px; white-space: normal; text-align: center; }
.ai-chat-close {
  display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid #d6e1d7; border-radius: 9px; background: #f5f7f2; color: #314c3f;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.ai-chat-close:hover { background: #e9f0e8; }
.ai-chat-close:focus-visible, .ai-chat-toggle:focus-visible { outline: 3px solid #79a988; outline-offset: 3px; }
.ai-chat-section .ai-chat-messages { min-height: 72px; max-height: none; flex: 1 1 auto; padding: 13px; }
.ai-chat-section .ai-suggestions { max-height: 76px; flex: 0 0 auto; overflow-y: auto; padding: 5px 12px 9px; }
.ai-chat-section .ai-suggestions button { min-height: 34px; }
.ai-chat-section .ai-chat-form { flex: 0 0 auto; padding: 0 12px 12px; }
.ai-chat-section .ai-consent { font-size: 9px; }
.ai-chat-section .ai-chat-compose { flex-direction: row; align-items: flex-end; }
.ai-chat-section .ai-chat-compose textarea { min-height: 48px; font-size: 12px; }
.ai-chat-section .ai-chat-compose .button { width: auto; min-height: 48px; }
.ai-chat-section .ai-chat-privacy, .ai-chat-section .ai-chat-feedback { font-size: 9px; }
.ai-chat-toggle {
  position: fixed; z-index: 1201; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 150px; min-height: 54px;
  padding: 0 18px; border: 1px solid #d5edc3; border-radius: 999px; background: var(--forest); color: #fff;
  box-shadow: 0 8px 24px rgba(21, 48, 41, .28); font-size: 13px; font-weight: 800; cursor: pointer;
}
.ai-chat-toggle:hover { background: var(--forest-deep); transform: translateY(-1px); }
.ai-chat-toggle-icon { color: var(--lime); font-size: 19px; }
.ai-chat-toggle-label { white-space: nowrap; }
body.ai-chat-open .ai-chat-toggle { display: none; }
@media (min-width: 1101px) {
  body.ai-chat-open main, body.ai-chat-open .site-footer { margin-right: 462px; }
}
@media (max-width: 1100px) {
  :root { --ai-chat-dock-height: clamp(380px, 54dvh, 460px); }
  body.ai-chat-open { height: 100dvh; max-height: 100dvh; overflow: hidden; }
  body.ai-chat-open main {
    height: calc(100dvh - var(--ai-chat-header-height, 72px) - var(--ai-chat-dock-height));
    max-height: calc(100dvh - var(--ai-chat-header-height, 72px) - var(--ai-chat-dock-height));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .ai-chat-section:not([hidden]) {
    top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: var(--ai-chat-dock-height);
    max-height: calc(100dvh - var(--ai-chat-header-height, 72px)); margin: 0; padding: 10px 12px;
    border-radius: 14px 14px 0 0; border-bottom: 0;
  }
  .ai-chat-section .ai-chat-intro h2 { margin: 2px 0 5px; font-size: 19px; }
  .ai-chat-section .ai-knowledge-note { margin-top: 5px; }
  .ai-chat-section .ai-chat-card-header { min-height: 54px; padding: 8px; }
  .ai-chat-section .ai-chat-messages { min-height: 48px; padding: 10px; }
  .ai-chat-section .ai-suggestions { max-height: 44px; flex-wrap: nowrap; overflow: auto hidden; padding: 4px 9px; }
  .ai-chat-section .ai-suggestions button { flex: 0 0 auto; min-height: 32px; padding: 6px 8px; font-size: 8px; }
  .ai-chat-section .ai-chat-form { padding: 0 9px 8px; }
  .ai-chat-section .ai-consent { padding: 8px 9px; font-size: 8px; line-height: 1.35; }
  .ai-chat-section .ai-chat-compose textarea { min-height: 44px; }
  .ai-chat-section .ai-chat-compose .button { min-height: 44px; }
  .ai-chat-section .ai-chat-privacy, .ai-chat-section .ai-chat-feedback { margin-top: 5px; font-size: 8px; line-height: 1.35; }
}
@media (max-width: 760px) {
  .ai-chat-section .ai-chat-compose { flex-direction: column; align-items: stretch; }
  .ai-chat-section .ai-chat-compose .button { width: 100%; }
}
@media (max-width: 560px) {
  .ai-chat-toggle { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); min-width: 54px; min-height: 54px; padding: 0 15px; }
  .ai-chat-toggle-icon { font-size: 21px; }
  .ai-chat-toggle-label { display: none; }
}
@media (max-height: 720px) and (max-width: 1100px) {
  :root { --ai-chat-dock-height: clamp(350px, 56dvh, 400px); }
  .ai-chat-section .ai-suggestions { display: none; }
}
@media (max-height: 560px) and (max-width: 1100px) {
  :root { --ai-chat-dock-height: calc(100dvh - var(--ai-chat-header-height, 64px)); }
  body.ai-chat-open main { height: 0; max-height: 0; overflow: visible; }
  body.ai-chat-open main > :not(#czat-ai) { display: none; }
  .ai-chat-section .ai-chat-intro { display: none; }
  .ai-chat-section:not([hidden]) {
    top: var(--ai-chat-header-height, 64px); bottom: 0; height: auto; max-height: none; gap: 4px; padding: 6px 10px; border-radius: 0;
  }
}
@media print {
  .ai-chat-section, .ai-chat-toggle { display: none !important; }
}

/* Voice controls for the assistant: dictation stays in the editor until the user sends it. */
.ai-chat-section .ai-chat-compose { gap: 8px; }
.ai-chat-section .ai-chat-compose textarea { min-width: 0; }
.ai-chat-mic {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; min-width: 66px; min-height: 48px;
  padding: 0 9px; border: 1px solid #cad8cc; border-radius: 10px; background: #f5f7f2; color: #244c3d;
  font-size: 10px; font-weight: 800; cursor: pointer;
}
.ai-chat-mic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ai-chat-mic:hover { background: #e9f0e8; }
.ai-chat-mic:focus-visible, .ai-speak-button:focus-visible { outline: 3px solid #79a988; outline-offset: 2px; }
.ai-chat-mic.is-listening { border-color: #a5493f; background: #fff0ed; color: #8d3028; }
.ai-speak-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 25px; padding: 3px 7px;
  border: 1px solid #d5e0d6; border-radius: 7px; background: #f8faf6; color: #315746; font-size: 9px; font-weight: 750; cursor: pointer;
}
.ai-speak-button:hover, .ai-speak-button.is-speaking { background: #eaf1e9; }
.ai-message-header { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 5px; }
.ai-message-name { margin-bottom: 0; }
.ai-chat-section .ai-voice-status { min-height: 0; margin-top: 4px; color: #365b4c; font-size: 9px; line-height: 1.35; }
.ai-chat-section .ai-chat-voice-note { margin: 5px 12px 0; color: #77847c; font-size: 8px; line-height: 1.4; }
@media (max-width: 760px) {
  .ai-chat-section .ai-chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: stretch; }
  .ai-chat-section .ai-chat-compose textarea { grid-column: 1; grid-row: 1; width: 100%; }
  .ai-chat-section .ai-chat-mic { grid-column: 2; grid-row: 1; min-width: 48px; padding: 0; flex-direction: column; }
  .ai-chat-section .ai-chat-mic span { display: none; }
  .ai-chat-section .ai-chat-compose .button { grid-column: 1 / -1; width: 100%; }
}
@media (max-height: 560px) and (max-width: 1100px) {
  .ai-chat-section .ai-chat-voice-note, .ai-chat-section .ai-chat-privacy { font-size: 7px; }
  .ai-chat-section .ai-voice-status { font-size: 8px; }
}
@media (min-height: 561px) and (max-width: 560px) {
  :root { --ai-chat-dock-height: clamp(420px, 60dvh, 510px); }
}
