:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #12251f; background: #f3f1e9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: linear-gradient(rgba(20,55,45,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(20,55,45,.04) 1px, transparent 1px), #f3f1e9; background-size: 30px 30px; }
button, select, input, textarea { font: inherit; }
.topbar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 78px; padding: 12px clamp(18px,4vw,62px); border-bottom: 1px solid #cbd0c8; background: rgba(243,241,233,.94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand b, .brand small { display: block; }
.brand b { font-size: 14px; }
.brand small { max-width: 290px; margin-top: 3px; color: #61716b; font-size: 9px; letter-spacing: .025em; white-space: nowrap; }
.version { padding: 7px 10px; border: 1px solid #9abb52; border-radius: 999px; color: #4f6e1e; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.text-button { justify-self: end; padding: 8px 0; border: 0; border-bottom: 1px solid #315d4d; background: transparent; color: #315d4d; font-size: 13px; cursor: pointer; }
main { width: min(1180px,calc(100% - 36px)); min-height: calc(100vh - 140px); margin: auto; padding: 64px 0; }
.screen { animation: enter .28s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 16px; color: #557524; font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.step { margin-bottom: 34px; color: #6b7b74; font-size: 12px; }
.step-bar { display: inline-block; width: 170px; height: 4px; margin-left: 12px; overflow: hidden; border-radius: 5px; background: #d6dad3; vertical-align: middle; }
.step-bar i { display: block; height: 100%; background: #8bb83d; }
h1 { max-width: 1020px; margin: 0; font-size: clamp(44px,7vw,88px); line-height: .98; letter-spacing: -.055em; }
h1 span, h1 em { display: block; }
h1 em { color: #56801e; font-style: normal; }
.screen:not(.selection-screen) > h1 { max-width: 1180px; font-size: clamp(42px,5vw,66px); }
@media (min-width: 761px) { .screen:not(.selection-screen) > h1 span { white-space: nowrap; } }
h2 { margin: 0; font-size: clamp(38px,5vw,64px); letter-spacing: -.045em; }
h3 { letter-spacing: -.02em; }
.lead { max-width: 760px; margin: 24px 0; color: #53665f; font-size: 18px; line-height: 1.65; }
.selection-screen h2 { font-size: clamp(32px,4vw,46px); }
.selection-screen > .lead { margin: 18px 0; font-size: 16px; line-height: 1.5; }
.callout { max-width: 790px; padding: 17px 19px; border-left: 4px solid #a8d34f; background: #e5ead7; color: #41554e; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.top-navigation { display: flex; justify-content: flex-start; margin: 14px 0 22px; }
.top-navigation .secondary { padding: 9px 15px; font-size: 14px; }
.primary, .secondary { padding: 13px 18px; border-radius: 6px; font-weight: 750; cursor: pointer; }
.primary { border: 1px solid #173f34; background: #173f34; color: white; }
.primary:hover { background: #275b4c; }
.secondary { border: 1px solid #8c9a93; background: transparent; color: #173f34; }
.selection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.selection-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 74px; padding: 13px 14px; border: 1px solid #b9c3bc; border-radius: 9px; background: #fbfaf6; color: inherit; text-align: left; }
.selection-card > span:first-child { min-width: 0; }
.selection-card h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.2; }
.selection-card p { margin: 0; color: #6a7973; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.selection-card.enabled { border: 2px solid #315d4d; cursor: pointer; }
.selection-card.enabled:hover { background: #edf2e4; transform: translateY(-1px); }
.selection-card.disabled { color: #77827e; background: rgba(251,250,246,.55); }
.selection-card:disabled { cursor: not-allowed; }
.badge { padding: 6px 9px; border-radius: 999px; background: #e7efd5; color: #4e6f1d; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.disabled .badge { background: #e5e7e3; color: #777f7b; }
@media (max-width: 980px) { .selection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.review-head { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: end; }
.progress-count { text-align: right; }
.progress-count b { display: block; color: #315d24; font-size: 40px; }
.progress-count span { color: #697871; font-size: 11px; letter-spacing: .1em; }
.industry-info { margin: 24px 0 8px; border: 1px solid #bdc7c0; border-radius: 10px; background: rgba(252,251,247,.82); }
.industry-info summary { padding: 15px 18px; color: #173f34; font-weight: 800; cursor: pointer; }
.industry-info[open] summary { border-bottom: 1px solid #d4dad5; }
.industry-info-grid { display: grid; grid-template-columns: 1fr 1fr; }
.industry-info-grid section { padding: 15px 18px; border-bottom: 1px solid #dce0dc; }
.industry-info-grid section:nth-child(odd) { border-right: 1px solid #dce0dc; }
.industry-info-grid b { color: #557524; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.industry-info-grid p { margin: 6px 0 0; color: #53665f; font-size: 13px; line-height: 1.5; }
.industry-version { margin: 0; padding: 11px 18px; color: #6b7b74; font-size: 11px; }
.toolbar { position: sticky; top: 78px; z-index: 8; display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0; padding: 14px 0; background: #f3f1e9; }
.filter { padding: 9px 12px; border: 1px solid #aab4ad; border-radius: 999px; background: transparent; color: #263d35; cursor: pointer; }
.filter.active { border-color: #173f34; background: #173f34; color: white; }
.toolbar select { margin-left: auto; padding: 9px 12px; border: 1px solid #aab4ad; border-radius: 7px; background: #fff; }
.topic-section { margin: 40px 0; }
.topic-title { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding-bottom: 13px; border-bottom: 2px solid #183e34; }
.topic-title h3 { margin: 0; font-size: 27px; }
.topic-title span { color: #6a7972; font-size: 12px; }
.pathway { margin-top: 11px; padding: 17px 19px; border: 1px solid #bdc7c0; border-radius: 11px; background: #fcfbf7; box-shadow: 0 6px 20px rgba(25,55,46,.04); }
.pathway-heading { display: flex; align-items: center; gap: 9px; }
.pathway-heading h4 { flex: 1; min-width: 260px; margin: 0; font-size: 18px; letter-spacing: -.02em; }
.code { color: #60736b; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.type { padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.risk { background: #f3dfd8; color: #8a3f2d; }
.opportunity { background: #dcebd2; color: #416c29; }
.mechanism { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 14px; }
.mechanism small { display: block; margin-bottom: 4px; color: #668078; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.info-tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 3px; padding: 0; border: 1px solid #779086; border-radius: 50%; background: transparent; color: #42645a; font-size: 10px; font-weight: 800; line-height: 1; vertical-align: middle; cursor: help; }
.info-tip::after { position: absolute; left: -3px; top: calc(100% + 8px); z-index: 30; width: 260px; max-width: min(260px,calc(100vw - 48px)); padding: 8px 10px; border-radius: 6px; background: #173f34; color: #fff; content: attr(data-tooltip); font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.4; text-align: left; white-space: normal; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .15s,transform .15s; }
.info-tip:hover::after, .info-tip:focus-visible::after { opacity: 1; transform: translateY(0); }
.mechanism p { margin: 0; color: #41554e; font-size: 12px; line-height: 1.42; }
.pathway-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #d7dcd6; }
.status-choices { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.detail-link, .choice { padding: 7px 9px; border-radius: 6px; font-size: 12px; cursor: pointer; }
.detail-link { margin-right: auto; border: 0; background: transparent; color: #315d4d; text-decoration: underline; }
.choice { border: 1px solid #a5b1aa; background: transparent; color: #263d35; }
.choice.selected { border-color: #315d24; background: #315d24; color: white; }
.empty { padding: 40px; border: 1px dashed #9eaaa3; text-align: center; color: #66766f; }
.results-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 27px 0; }
.result-card { min-height: 92px; padding: 14px 16px; border: 1px solid #bdc7c0; border-radius: 9px; background: #fcfbf7; }
.result-card b { display: block; font-size: 30px; color: #315d24; }
.result-card span { color: #65756e; font-size: 12px; }
.decision-list { display: grid; gap: 10px; margin: 25px 0; }
.status-group { padding: 14px 17px; border: 1px solid #c3cbc5; border-radius: 9px; background: rgba(252,251,247,.72); }
.status-group h3 { margin: 0 0 6px; font-size: 18px; }
.status-group h3 span { color: #6c7b74; font-size: 12px; }
.decision-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid #d6dcd7; font-size: 13px; }
.decision-row span:last-child { font-weight: 750; }
.muted { color: #718079; font-size: 13px; }
.report-details { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap: 28px; margin: 30px 0; padding: 24px; border: 1px solid #bdc7c0; border-radius: 11px; background: #fcfbf7; }
.report-details h3 { margin: 0 0 8px; font-size: 25px; }
.report-details p:not(.eyebrow) { margin: 0; color: #60716a; font-size: 13px; line-height: 1.55; }
.report-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-fields label { display: grid; gap: 6px; color: #30483f; font-size: 12px; font-weight: 750; }
.report-fields .wide { grid-column: 1 / -1; }
.report-fields input, .report-fields textarea { width: 100%; padding: 11px 12px; border: 1px solid #aeb9b2; border-radius: 7px; background: #fff; color: #172a24; font-weight: 400; }
.report-fields textarea { resize: vertical; line-height: 1.45; }
.generated-summary { margin: 24px 0; padding: 19px; border-left: 4px solid #8fb944; background: #e9edde; }
.generated-summary .eyebrow { margin-bottom: 8px; }
.generated-summary p:last-child { margin: 0; color: #40564e; line-height: 1.6; }
.dialog { width: min(720px,calc(100% - 28px)); max-height: 86vh; padding: 34px; border: 0; border-radius: 14px; background: #fcfbf7; color: #172a24; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.dialog::backdrop { background: rgba(6,21,17,.62); }
.dialog-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.dialog h2 { font-size: 40px; }
.dialog h3 { font-size: 30px; }
.dialog p, .dialog li { color: #455850; line-height: 1.6; }
.dialog dl { display: grid; gap: 18px; }
.dialog dt { color: #557524; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.dialog dd { margin: 5px 0 0; color: #374c44; line-height: 1.55; }
.detail-section { margin-top: 22px; }
.detail-section h4 { margin: 0 0 8px; color: #557524; font-size: 10px; letter-spacing: .1em; }
.detail-section > p { margin: 0; }
.measure-list, .evidence-list { display: grid; gap: 8px; }
.measure-card, .evidence-list article { padding: 11px 12px; border: 1px solid #d2d8d2; border-radius: 7px; background: #f5f5ef; }
.measure-card b, .evidence-list b { font-size: 13px; }
.measure-card p, .evidence-list p { margin: 4px 0; font-size: 12px; line-height: 1.45; }
.measure-card small, .evidence-list small, .evidence-list a { color: #587068; font-size: 11px; }
.practice-note { margin-bottom: 8px; color: #60716a; font-size: 12px; font-style: italic; }
.practice-list { display: grid; gap: 8px; }
.practice-list article { padding: 12px 13px; border-left: 3px solid #91b94a; border-radius: 0 7px 7px 0; background: #eef2e5; }
.practice-list article > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.practice-list b { font-size: 13px; }
.practice-list small { color: #64766e; font-size: 11px; }
.practice-list p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.practice-list .practice-boundary { color: #66766f; font-size: 11px; font-style: italic; }
.methodology-dialog dl div { padding-bottom: 12px; border-bottom: 1px solid #d8ddd8; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(18px,4vw,62px); border-top: 1px solid #cbd0c8; color: #6a7972; font-size: 11px; }
button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8ab83e; outline-offset: 3px; }
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .version, .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .selection-grid, .mechanism, .results-grid { grid-template-columns: 1fr; }
  .review-head { grid-template-columns: 1fr; }
  .industry-info-grid { grid-template-columns: 1fr; }
  .industry-info-grid section:nth-child(odd) { border-right: 0; }
  .report-details, .report-fields { grid-template-columns: 1fr; }
  .report-fields .wide { grid-column: auto; }
  .progress-count { text-align: left; }
  .toolbar { top: 72px; }
  .toolbar select { width: 100%; margin-left: 0; }
  .pathway-heading { align-items: flex-start; flex-wrap: wrap; }
  .pathway-heading h4 { flex-basis: 100%; min-width: 0; }
  .status-choices { justify-content: flex-start; }
  footer { align-items: flex-start; flex-direction: column; }
  .dialog { padding: 28px 22px; }
}
