.journey-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.journey-strip > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 11px;
  padding: 17px;
  background: #fff;
}

.journey-strip > div > span,
.guide-strip > span,
.result-reading-guide span {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.journey-strip b,
.journey-strip small {
  display: block;
}

.journey-strip b { font-size: 13px; }
.journey-strip small { color: var(--muted); font-size: 10px; }

.featured-scenario {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(390px, 1.4fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 2px solid var(--blue);
  border-radius: 18px;
  background: linear-gradient(110deg, #fff 25%, #f3f6ff 100%);
  box-shadow: 0 16px 42px rgba(36, 63, 143, .1);
}

.inline-badge {
  position: static;
  display: inline-flex;
  margin-bottom: 12px;
}

.featured-scenario h3 { margin: 0 0 6px; font-size: 24px; }
.featured-scenario p { margin: 0; color: var(--muted); font-size: 13px; }
.scenario-explainer { display: grid; gap: 9px; }
.scenario-explainer > div { padding: 11px 13px; border: 1px solid #dce4f6; border-radius: 11px; background: rgba(255,255,255,.82); }
.scenario-explainer span { display: block; margin-bottom: 2px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.scenario-explainer b { display: block; font-size: 11px; line-height: 1.45; }

.alternative-heading { display: flex; justify-content: space-between; margin: 26px 0 12px; font-size: 12px; }
.alternative-heading span { color: var(--muted); }
.compact-scenarios { grid-template-columns: repeat(2, 1fr); }
.compact-scenarios .scenario-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 20px 22px; box-shadow: none; }
.compact-scenarios .scenario-count { width: max-content; }
.compact-scenarios h3,
.compact-scenarios p,
.compact-scenarios .mini-outcome { grid-column: 1; }
.compact-scenarios h3 { margin: 9px 0 2px; font-size: 17px; }
.compact-scenarios p { min-height: 0; margin: 0; font-size: 12px; }
.compact-scenarios .btn { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.mini-outcome { margin-top: 8px; color: var(--muted); font-size: 10px; }
.mini-outcome b { color: var(--ink); }

.profile-section { padding-top: 64px; }
.profile-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-mode-grid article { position: relative; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.profile-mode-grid article.preferred { border-color: #b7c5ee; background: #f7f9ff; }
.mode-tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #edf2ff; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.profile-mode-grid h3 { margin: 13px 0 7px; }
.profile-mode-grid p { color: var(--muted); font-size: 13px; }
.profile-mode-grid ul { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; }
.profile-mode-grid li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }
.customization-note { display: flex; gap: 13px; align-items: flex-start; margin-top: 17px; padding: 18px 20px; border-radius: 14px; background: var(--blue-dark); color: #fff; }
.customization-note > span { font-size: 24px; color: #74dce3; }
.customization-note p { margin: 3px 0 0; color: #cbd6ee; font-size: 12px; }

.need-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  gap: 68px;
  align-items: start;
}

.need-heading { margin: 0; }
.need-problems { display: grid; gap: 10px; }
.need-problems article { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.need-problems article > span { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--red-bg); color: var(--red); font-size: 9px; font-weight: 900; }
.need-problems h3 { margin: 0 0 3px; font-size: 15px; }
.need-problems p { margin: 0; color: var(--muted); font-size: 11px; }

.savings-bar { display: grid; grid-template-columns: 1.05fr .95fr; gap: 35px; align-items: center; margin-top: 30px; padding: 25px 28px; border-radius: 17px; background: var(--blue-dark); color: #fff; }
.savings-bar span { color: #74dce3; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.savings-bar h3 { margin: 5px 0 0; font-size: 18px; line-height: 1.35; }
.savings-bar ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #d5def1; font-size: 11px; }
.savings-bar li::before { content: "✓"; margin-right: 8px; color: #74dce3; font-weight: 900; }

.compact-profile-modes article { padding: 22px 24px; }
.compact-profile-modes h3 { font-size: 18px; }
.compact-profile-modes p { min-height: 42px; }
.compact-profile-modes ul { grid-template-columns: repeat(2, 1fr); }

.output-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.output-grid article { display: flex; min-width: 0; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.output-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 11px; font-size: 11px; font-weight: 900; }
.output-grid h3 { margin: 15px 0 7px; font-size: 17px; }
.output-grid p { flex: 1; margin: 0 0 17px; color: var(--muted); font-size: 11px; }
.output-grid b { font-size: 10px; }
.output-grid small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.use-case-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(36,55,96,.05); }
.use-case-card.recommended { border: 2px solid var(--blue); background: linear-gradient(150deg, #fff 42%, #f3f6ff); }
.use-case-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.use-case-recommendation { padding: 5px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 850; }
.use-case-card h3 { margin: 16px 0 7px; font-size: 20px; }
.use-case-card > p { min-height: 58px; margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.use-case-detail { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfe; }
.use-case-detail + .use-case-detail { margin-top: 8px; }
.use-case-detail span,
.use-case-detail b { display: block; }
.use-case-detail span { margin-bottom: 3px; color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.use-case-detail b { font-size: 10px; line-height: 1.45; }
.use-case-detail.outcome { flex: 1; border-color: #cbd7f2; background: #f5f8ff; }
.use-case-card .btn { width: 100%; margin-top: 17px; }

.onprem-section { padding-top: 18px; background: #f7faf9; }
.onprem-card { display: grid; grid-template-columns: 120px minmax(0, .95fr) minmax(360px, 1.05fr); gap: 30px; align-items: center; padding: 34px 38px; border: 1px solid #b9decf; border-radius: 22px; background: linear-gradient(125deg, #f5fcf9, #fff 55%, #edf7f3); box-shadow: 0 18px 48px rgba(18,91,66,.08); }
.onprem-signal { display: flex; width: 104px; height: 104px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-bg); color: var(--green); box-shadow: inset 0 0 0 1px #b5dfce; }
.onprem-signal > span { width: 16px; height: 16px; margin-bottom: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(24,135,93,.12); }
.onprem-signal b { font-size: 10px; letter-spacing: .12em; }
.onprem-copy h2 { margin: 7px 0 9px; font-size: 28px; line-height: 1.18; }
.onprem-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.onprem-points { display: grid; gap: 9px; }
.onprem-points > div { display: grid; grid-template-columns: 33px 1fr; column-gap: 11px; padding: 12px 14px; border: 1px solid #d7e9e2; border-radius: 12px; background: rgba(255,255,255,.85); }
.onprem-points span { display: flex; grid-row: 1 / span 2; width: 31px; height: 31px; align-items: center; justify-content: center; border-radius: 9px; background: var(--green-bg); color: var(--green); font-size: 9px; font-weight: 900; }
.onprem-points b { font-size: 12px; }
.onprem-points small { color: var(--muted); font-size: 10px; }

.contact-section { padding-top: 18px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 38px 42px; border-radius: 22px; background: linear-gradient(115deg, #172b62, #243f8f 60%, #442078); color: #fff; box-shadow: 0 24px 58px rgba(24,40,84,.2); }
.contact-expert { display: grid; grid-template-columns: 78px 1fr; gap: 20px; align-items: center; }
.expert-monogram { display: flex; width: 74px; height: 74px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: linear-gradient(145deg, #21b6c0, #3157d5 55%, #9b22b4); color: #fff; font-size: 20px; font-weight: 850; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.contact-card .eyebrow { color: #75e0e6; }
.contact-card h2 { margin: 7px 0 8px; font-size: 31px; line-height: 1.15; }
.contact-card p { max-width: 720px; margin: 0; color: #d3ddf2; font-size: 13px; }
.contact-card small { display: block; margin-top: 10px; color: #9fafd0; font-size: 10px; }
.contact-actions { display: grid; gap: 10px; min-width: 235px; }
.contact-actions form,
.contact-actions .btn { width: 100%; margin: 0; }
.footer-security { text-align: right; color: #dce4f4; }
.footer-security span { color: #7fd8b7; }

.guide-strip {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0 0 24px;
  padding: 15px 17px;
  border: 1px solid #cdd8f3;
  border-radius: 13px;
  background: #f6f8ff;
}

.guide-strip > span { flex: 0 0 auto; }
.guide-strip b { font-size: 12px; }
.guide-strip p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.document-guide { margin-bottom: 15px; }

.document-flow-hint { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.document-flow-hint > div { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.document-flow-hint span,
.workflow-next-callout > span { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; background: #edf2ff; color: var(--blue); font-size: 10px; font-weight: 900; }
.document-flow-hint p,
.workflow-next-callout p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.document-flow-hint b,
.workflow-next-callout b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; }

.uploaded-batch-status { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; margin-bottom: 31px; padding: 15px 17px; border: 1px solid #b6dfcf; border-radius: 13px; background: var(--green-bg); }
.uploaded-batch-icon { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }
.uploaded-batch-status b { font-size: 13px; }
.uploaded-batch-status p { margin: 2px 0 0; color: #447162; font-size: 11px; }
.uploaded-batch-status small { padding: 5px 9px; border-radius: 999px; background: #fff; color: var(--green); font-size: 9px; font-weight: 850; }
.uploaded-heading { margin-bottom: 17px; }
.uploaded-heading h2 { margin-bottom: 4px; }
.uploaded-heading p { font-size: 11px; }
.uploaded-document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.uploaded-document { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(30,48,91,.04); }
.uploaded-document .document-select-copy { min-width: 0; }
.uploaded-document .document-select-copy em { max-width: 480px; }
.upload-complete { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 9px; font-weight: 850; white-space: nowrap; }
.upload-complete i { display: flex; width: 15px; height: 15px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 8px; font-style: normal; }
.uploaded-document-actions { display: grid; justify-items: end; gap: 7px; }
.uploaded-document-actions > a { color: var(--blue); font-size: 9px; font-weight: 850; white-space: nowrap; }
.uploaded-document-actions > a:hover { text-decoration: underline; }
.workflow-next-callout { display: grid; grid-template-columns: 31px 1fr; gap: 11px; align-items: start; margin-top: 20px; padding: 14px 16px; border: 1px solid #cdd8f3; border-radius: 13px; background: #f6f8ff; }

.scope-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scope-choice { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.scope-choice.is-selected { border-color: var(--blue); background: #f5f8ff; box-shadow: 0 0 0 2px rgba(49,87,213,.08); }
.scope-choice input { position: absolute; opacity: 0; pointer-events: none; }
.scope-check { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 1px solid #b8c3d9; border-radius: 50%; color: transparent; font-size: 10px; }
.scope-choice.is-selected .scope-check { border-color: var(--blue); background: var(--blue); color: #fff; }
.scope-choice > span:last-child { margin: 0; }
.scope-choice b,
.scope-choice small,
.scope-choice em { display: block; }
.scope-choice b { font-size: 13px; }
.scope-choice small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.scope-choice em { margin-top: 9px; color: var(--blue); font-size: 9px; font-style: normal; font-weight: 800; }
.scope-custom-note { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--cyan); background: #f1fbfc; color: #466a72; font-size: 10px; }
.scope-foundation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scope-foundation-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.scope-foundation-card.required { border-color: #9eb2ec; background: #f5f8ff; box-shadow: 0 0 0 2px rgba(49,87,213,.07); }
.scope-foundation-card.optional { border-style: dashed; }
.scope-foundation-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scope-foundation-icon { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 900; }
.scope-foundation-card.optional .scope-foundation-icon { background: #edf2ff; color: var(--blue); }
.scope-foundation-card h3 { margin: 14px 0 6px; font-size: 16px; }
.scope-foundation-card p { min-height: 54px; margin: 0; color: var(--muted); font-size: 11px; }
.scope-foundation-card > small { display: block; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--blue); font-size: 9px; font-weight: 800; }

.upload-option { margin-bottom: 32px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.upload-option > summary { display: grid; grid-template-columns: 31px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.upload-option > summary::-webkit-details-marker { display: none; }
.upload-option > summary > span { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; background: #edf2ff; color: var(--blue); font-weight: 900; }
.upload-option b,
.upload-option small { display: block; }
.upload-option small { color: var(--muted); font-size: 10px; }
.upload-option i { color: var(--blue); font-size: 10px; font-style: normal; font-weight: 800; }
.upload-option .upload-zone { margin: 0 14px 14px; padding: 22px; }

.customer-action-center { margin-top: 18px; padding: 25px; border: 1px solid #edbdc6; border-radius: 19px; background: linear-gradient(135deg, #fff7f8, #fff 48%, #f6f8ff); box-shadow: 0 15px 40px rgba(44,55,93,.08); }
.customer-action-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.customer-action-head h2 { margin: 5px 0 5px; font-size: 27px; line-height: 1.18; }
.customer-action-head p { max-width: 760px; margin: 0; color: var(--muted); font-size: 12px; }
.action-count { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--red-bg); color: var(--red); font-size: 10px; font-weight: 800; }
.action-count b { font-size: 21px; line-height: 1; }
.customer-guidance-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.customer-guidance-row > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid #d8e0f2; border-radius: 12px; background: rgba(255,255,255,.9); }
.guidance-icon { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: #edf2ff; color: var(--blue); font-size: 11px; font-weight: 900; }
.customer-guidance-row p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.customer-guidance-row b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.priority-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.priority-action-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 17px; border: 1px solid #e1e6f0; border-top: 4px solid var(--red); border-radius: 14px; background: #fff; box-shadow: 0 9px 25px rgba(33,48,87,.05); }
.priority-action-number { position: absolute; top: 14px; right: 14px; color: #d8deea; font-size: 22px; font-weight: 900; }
.priority-action-title { padding-right: 34px; }
.priority-action-title > small { margin-left: 6px; color: var(--muted); font-size: 8px; font-weight: 750; }
.priority-action-title h3 { margin: 11px 0 13px; font-size: 17px; line-height: 1.25; }
.priority-action-fact,
.priority-action-do { margin-top: 8px; padding: 11px 12px; border-radius: 10px; background: #fafbfe; }
.priority-action-fact { border-left: 3px solid var(--red); }
.priority-action-do { border-left: 3px solid var(--blue); }
.priority-action-fact > span,
.priority-action-do > span,
.priority-action-output > span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.priority-action-fact p,
.priority-action-do p { margin: 0; color: #4e5b74; font-size: 10px; line-height: 1.48; }
.priority-action-output { margin-top: 10px; padding: 11px 12px; border: 1px solid #b9dfd0; border-radius: 10px; background: var(--green-bg); }
.priority-action-output span { color: var(--green); }
.priority-action-output b { display: block; color: #285f4c; font-size: 10px; line-height: 1.4; }
.priority-action-buttons { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: auto; padding-top: 17px; }
.priority-action-buttons .btn { width: 100%; }
.priority-action-buttons > a { color: var(--blue); font-size: 9px; font-weight: 850; text-align: center; }
.action-pointer { display: block; margin-bottom: -3px; color: var(--red); font-size: 9px; font-weight: 850; text-align: center; }
.customer-action-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; margin-top: 14px; padding: 13px 15px; border: 1px solid #cad6ee; border-radius: 12px; background: #f5f8ff; }
.customer-action-footer > span { padding: 5px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.customer-action-footer p { margin: 0; color: var(--muted); font-size: 10px; }
.customer-action-footer .btn { padding: 8px 11px; font-size: 10px; }
.action-template-overlay { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10,20,43,.7); backdrop-filter: blur(7px); }
.action-template-overlay.is-open { display: flex; }
.action-template-modal { position: relative; width: min(720px,100%); max-height: calc(100vh - 48px); overflow: auto; padding: 31px; border-radius: 20px; background: #fff; box-shadow: 0 35px 90px rgba(7,18,43,.34); }
.action-template-modal > h2 { margin: 7px 42px 6px 0; font-size: 25px; }
.action-template-modal > p { margin: 0; color: var(--muted); font-size: 12px; }
.action-template-close { position: absolute; top: 15px; right: 15px; display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 21px; cursor: pointer; }
.action-template-text { width: 100%; min-height: 205px; margin-top: 18px; padding: 15px; border: 1px solid #cbd5e9; border-radius: 12px; background: #f8faff; color: var(--ink); font-size: 12px; line-height: 1.55; resize: vertical; }
.action-template-actions { display: flex; gap: 9px; margin-top: 13px; }
.action-template-modal > small { display: block; margin-top: 14px; color: var(--muted); font-size: 9px; }

.result-head { padding: 34px 0 22px; }
.result-head h1 { font-size: 36px; }
.metric-wrap { margin-top: 15px; }
.compact-metrics { margin-top: 0; }
.compact-metrics article { padding: 12px 14px; }
.compact-metrics .metric-icon { width: 35px; height: 35px; }
.metric-grid .metric-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; line-height: 1; }
.compact-metrics strong { font-size: 20px; }
.metric-explainer { margin: 8px 0 0; padding-left: 3px; color: var(--muted); font-size: 10px; }
.metric-explainer b { color: var(--ink); }

.result-reading-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 17px; }
.result-reading-guide > div,
.result-reading-guide > a { display: grid; grid-template-columns: 32px 1fr auto; gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.result-reading-guide > a:hover { border-color: #aebee6; background: #f7f9ff; }
.result-reading-guide p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.result-reading-guide b { display: block; color: var(--ink); font-size: 11px; }
.result-reading-guide i { color: var(--blue); font-style: normal; font-weight: 900; }

.has-guide-modal { overflow: hidden; }
.result-guide-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10,20,43,.68); backdrop-filter: blur(7px); }
.result-guide-overlay.is-open { display: flex; }
.result-guide-modal { position: relative; width: min(820px,100%); max-height: calc(100vh - 48px); overflow: auto; padding: 35px; border: 1px solid #d6def0; border-radius: 24px; background: #fff; box-shadow: 0 35px 90px rgba(7,18,43,.34); }
.result-guide-close { position: absolute; top: 17px; right: 17px; display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 23px; cursor: pointer; }
.result-guide-close:hover { border-color: #aebee6; color: var(--blue); }
.guide-kicker { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.result-guide-modal > h2 { margin: 8px 45px 8px 0; font-size: 30px; line-height: 1.15; }
.guide-intro { margin: 0; color: var(--muted); font-size: 13px; }
.result-guide-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 25px; }
.result-guide-steps article { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfe; }
.result-guide-steps article > span { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: #edf2ff; color: var(--blue); font-size: 11px; font-weight: 900; }
.result-guide-steps h3 { margin: 1px 0 6px; font-size: 14px; }
.result-guide-steps p { min-height: 75px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.result-guide-steps a { display: inline-flex; margin-top: 12px; color: var(--blue); font-size: 10px; font-weight: 850; }
.result-guide-actions { display: flex; align-items: center; gap: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-guide-actions small { color: var(--muted); font-size: 10px; }
.result-guide-help { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #c4d0ec; border-radius: 999px; background: #fff; color: var(--blue); font-size: 11px; font-weight: 850; box-shadow: 0 12px 30px rgba(24,40,84,.16); cursor: pointer; }
.result-guide-help span { display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; }
.result-guide-help:hover { border-color: var(--blue); transform: translateY(-1px); }

.result-next-section { padding: 44px 0; }
.result-next-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.next-recommendation h2 { margin: 5px 0 6px; font-size: 27px; }
.next-recommendation p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; }
.next-actions { display: flex; gap: 10px; align-items: center; }
.next-actions form { margin: 0; }

@media (max-width: 980px) {
  .journey-strip { grid-template-columns: 1fr 1fr; }
  .featured-scenario { grid-template-columns: 1fr; }
  .featured-scenario .btn { width: max-content; }
  .scope-choice-grid,
  .scope-foundation-grid,
  .profile-mode-grid,
  .result-reading-guide { grid-template-columns: 1fr; }
  .result-guide-steps { grid-template-columns: 1fr; }
  .result-guide-steps p { min-height: 0; }
  .uploaded-document-grid { grid-template-columns: 1fr; }
  .document-flow-hint { grid-template-columns: 1fr; }
  .result-next-card { grid-template-columns: 1fr; }
  .priority-action-grid { grid-template-columns: 1fr; }
  .customer-guidance-row { grid-template-columns: 1fr; }
  .next-actions { flex-wrap: wrap; }
  .need-layout { grid-template-columns: 1fr; gap: 28px; }
  .output-grid { grid-template-columns: 1fr 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-card > p { min-height: 0; }
  .onprem-card { grid-template-columns: 90px 1fr; }
  .onprem-signal { width: 82px; height: 82px; }
  .onprem-points { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-actions { display: flex; min-width: 0; flex-wrap: wrap; }
  .contact-actions form,
  .contact-actions .btn { width: auto; }
}

@media (max-width: 700px) {
  .journey-strip,
  .compact-scenarios { grid-template-columns: 1fr; }
  .compact-scenarios .scenario-card { grid-template-columns: 1fr; }
  .compact-scenarios .btn { grid-column: 1; grid-row: auto; width: 100%; margin-top: 10px; }
  .alternative-heading { display: block; }
  .alternative-heading span { display: block; margin-top: 2px; }
  .featured-scenario { padding: 21px; }
  .featured-scenario .btn { width: 100%; }
  .profile-mode-grid article { padding: 21px; }
  .result-head h1 { font-size: 31px; }
  .customer-action-center { padding: 19px; }
  .customer-action-head { display: block; }
  .action-count { width: max-content; margin-top: 13px; }
  .customer-action-footer { grid-template-columns: 1fr; }
  .customer-action-footer .btn { width: 100%; }
  .action-template-overlay { align-items: flex-end; padding: 10px; }
  .action-template-modal { max-height: calc(100vh - 20px); padding: 27px 20px 20px; border-radius: 20px; }
  .action-template-actions { flex-direction: column; }
  .action-template-actions .btn { width: 100%; }
  .result-reading-guide { grid-template-columns: 1fr; }
  .result-guide-overlay { align-items: flex-end; padding: 10px; }
  .result-guide-modal { max-height: calc(100vh - 20px); padding: 27px 20px 20px; border-radius: 20px; }
  .result-guide-modal > h2 { margin-right: 35px; font-size: 25px; }
  .result-guide-steps { margin-top: 18px; }
  .result-guide-steps article { padding: 13px; }
  .result-guide-actions { align-items: stretch; flex-direction: column; }
  .result-guide-actions .btn { width: 100%; }
  .result-guide-help { right: 12px; bottom: 12px; width: 42px; height: 42px; padding: 0; overflow: hidden; font-size: 0; }
  .result-guide-help span { flex: 0 0 auto; width: 40px; height: 40px; font-size: 12px; }
  .uploaded-batch-status { grid-template-columns: 40px 1fr; }
  .uploaded-batch-status small { grid-column: 2; width: max-content; }
  .section-heading.inline.uploaded-heading { display: block; }
  .uploaded-heading .selection-count { display: inline-flex; gap: 5px; align-items: baseline; margin-top: 10px; }
  .uploaded-document { grid-template-columns: 40px 1fr; }
  .upload-complete { grid-column: 2; width: max-content; }
  .next-actions,
  .next-actions form,
  .next-actions .btn { width: 100%; }
  .savings-bar { grid-template-columns: 1fr; padding: 22px; }
  .compact-profile-modes ul,
  .output-grid { grid-template-columns: 1fr; }
  .onprem-card { grid-template-columns: 1fr; padding: 27px 22px; }
  .onprem-signal { width: 70px; height: 70px; }
  .onprem-points { grid-column: auto; grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .contact-card h2 { font-size: 27px; }
  .contact-expert { grid-template-columns: 58px 1fr; gap: 14px; }
  .expert-monogram { width: 56px; height: 56px; font-size: 15px; }
  .contact-actions,
  .contact-actions form,
  .contact-actions .btn { width: 100%; }
  .footer-security { text-align: left; }
}
