.report-page { background: #f3f6fb; }
.report-shell { height: 100vh; display: flex; }
.report-sidebar { width: 230px; flex: 0 0 230px; background: #091426; color: #dbe7ff; padding: 24px 16px; display: flex; flex-direction: column; }
.report-nav { display: grid; gap: 4px; margin-top: 24px; }
.report-nav a, .report-sidebar-footer a { color: #9eb0cd; text-decoration: none; padding: 11px 12px; border-radius: 10px; font-size: 13px; }
.report-nav a:hover, .report-nav a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.report-sidebar-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
.report-main { flex: 1; min-width: 0; overflow: auto; }
.report-topbar { height: 82px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.92); border-bottom: 1px solid #e5eaf2; position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.report-topbar h1 { margin: 3px 0 0; font-size: 20px; }
.report-kicker { margin: 0; color: #8a98ae; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.report-top-actions { display: flex; gap: 9px; }
.report-secondary, .report-primary { height: 38px; padding: 0 15px; border-radius: 10px; border: 0; display: inline-flex; align-items: center; text-decoration: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.report-secondary { color: #40516b; background: #f0f4f9; }
.report-primary { color: #fff; background: #246bfd; }
.report-content { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 60px; display: grid; gap: 18px; }
.report-hero, .report-section, .report-note { background: #fff; border: 1px solid #e5eaf2; border-radius: 20px; box-shadow: 0 8px 24px rgba(20,33,61,.05); }
.report-hero { padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; }
.status-pill.poor { color: #b24f38; background: #fff0eb; }
.status-pill.basic { color: #a66a00; background: #fff8e5; }
.status-pill.good, .status-pill.excellent { color: #11805a; background: #eafaf3; }
.report-hero h2 { margin: 12px 0 6px; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.6px; word-break: break-all; }
.report-hero p { margin: 0; color: #7a8799; font-size: 12px; }
.stage-row { display: flex; gap: 10px; margin-top: 18px; }
.stage-row span { display: flex; align-items: center; gap: 6px; color: #8b97a8; font-size: 11px; }
.stage-row i { width: 8px; height: 8px; border-radius: 50%; background: #cbd4e0; }
.stage-row span.is-ready { color: #177c5c; }
.stage-row span.is-ready i { background: #1ecb8b; }
.report-score { width: 150px; height: 150px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(circle at center, #fff 58%, transparent 60%), conic-gradient(#16c5e8 calc(var(--score) * 1%), #e8edf4 0); }
.report-score div { display: flex; align-items: baseline; }
.report-score strong { font-size: 38px; line-height: 1; }
.report-score span { color: #7f8b9c; font-size: 13px; margin-left: 4px; }
.report-score small { color: #8a96a7; font-size: 10px; margin-top: 6px; }
.report-section { padding: 24px 26px; }
.report-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.report-section-head h3 { margin: 4px 0 0; font-size: 18px; }
.report-section-head > span { color: #8b98a8; font-size: 11px; }
.dimension-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dimension-card { padding: 15px; border: 1px solid #e7edf4; border-radius: 14px; background: #fafcfe; }
.dimension-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.dimension-head strong { font-size: 12px; }
.dimension-head span { color: #5b6d84; font-size: 11px; font-weight: 700; }
.dimension-bar { height: 7px; border-radius: 99px; background: #e8eef5; margin: 14px 0 9px; overflow: hidden; }
.dimension-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #246bfd, #16c5e8); }
.dimension-card small { color: #8d99aa; font-size: 10px; }
.check-list, .suggestion-list { display: grid; gap: 10px; }
.check-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 70px; gap: 14px; align-items: center; padding: 15px; border: 1px solid #e8edf4; border-radius: 13px; }
.check-status, .priority { justify-self: start; padding: 5px 8px; border-radius: 99px; font-size: 10px; font-weight: 800; }
.check-status.passed { color: #11805a; background: #eafaf3; }
.check-status.warning { color: #9a6500; background: #fff7df; }
.check-status.failed { color: #b44736; background: #fff0ec; }
.check-status.skipped { color: #68768a; background: #eff2f6; }
.check-row strong { font-size: 13px; }
.check-row p { margin: 4px 0 0; color: #738197; font-size: 11px; line-height: 1.55; }
.check-score { text-align: right; color: #31435d; font-size: 13px; font-weight: 800; }
.suggestion-card { padding: 17px 18px; border: 1px solid #e8edf4; border-radius: 14px; background: #fbfcfe; }
.suggestion-title { display: flex; align-items: center; gap: 10px; }
.priority.high { color: #b44736; background: #fff0ec; }
.priority.medium { color: #9a6500; background: #fff7df; }
.priority.low { color: #11805a; background: #eafaf3; }
.suggestion-card p { margin: 10px 0 0; color: #68778c; font-size: 12px; line-height: 1.7; }
.suggestion-card pre { margin: 12px 0 0; padding: 13px; overflow: auto; border-radius: 10px; background: #101c2f; color: #dce9ff; font: 11px/1.6 Consolas, monospace; }
.report-note { padding: 18px 22px; border-left: 4px solid #16c5e8; }
.report-note strong { color: #31435d; font-size: 12px; }
.report-note p { margin: 5px 0 0; color: #7b889a; font-size: 11px; line-height: 1.7; }
@media (max-width: 900px) {
  .report-sidebar { display: none; }
  .dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-hero { align-items: flex-start; }
}
@media (max-width: 620px) {
  .report-topbar { height: auto; min-height: 70px; padding: 13px 16px; }
  .report-top-actions { display: none; }
  .report-content { width: calc(100% - 24px); padding-top: 14px; }
  .report-hero { padding: 22px 18px; flex-direction: column; }
  .report-score { width: 120px; height: 120px; align-self: center; }
  .report-section { padding: 20px 16px; }
  .dimension-grid { grid-template-columns: 1fr; }
  .check-row { grid-template-columns: 76px minmax(0, 1fr); }
  .check-score { grid-column: 2; text-align: left; }
}
@media print {
  .report-sidebar, .report-top-actions { display: none; }
  .report-topbar { position: static; }
  .report-shell, .report-main { height: auto; overflow: visible; }
  .report-content { width: 100%; padding: 0; }
  .report-hero, .report-section, .report-note { box-shadow: none; break-inside: avoid; }
}
.report-grade-summary { margin: 10px 0 0 !important; color: #40516b !important; font-size: 14px !important; line-height: 1.75; max-width: 720px; }
.report-meta { margin-top: 12px !important; }
.stage-row span { align-items: flex-start; }
.stage-row b { color: inherit; font-size: 11px; }
.stage-row small { color: #9aa6b7; font-size: 10px; margin-left: 3px; }
.explanation-section { background: linear-gradient(135deg, #f8fcff, #ffffff); }
.explanation-section h3 { margin: 5px 0 10px; font-size: 20px; }
.report-lead { margin: 0; color: #5f7087; font-size: 13px; line-height: 1.9; max-width: 900px; }
.health-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.health-card { border: 1px solid #e5ecf4; border-radius: 16px; padding: 18px; background: #fcfdff; }
.health-card-top { display: flex; justify-content: space-between; align-items: center; }
.health-index { color: #8ea1b7; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.health-score { color: #1a4f8e; background: #edf5ff; border-radius: 99px; padding: 5px 9px; font-size: 11px; font-weight: 800; }
.health-card h4 { margin: 12px 0 5px; font-size: 17px; }
.health-card > strong { display: block; color: #41546d; font-size: 12px; line-height: 1.6; }
.health-card > p { margin: 9px 0 13px; color: #6e7d91; font-size: 12px; line-height: 1.75; }
.help-box { margin-top: 10px; padding: 11px 12px; border-radius: 11px; background: #f3f7fb; }
.help-box span { display: block; margin-bottom: 4px; color: #8c9aac; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.help-box p { margin: 0; color: #53657d; font-size: 11px; line-height: 1.7; }
.help-box.action { background: #effbf7; }
.help-box.action span { color: #2b9670; }
.technical-label { display: block; margin-top: 12px; color: #98a5b5; font-size: 10px; line-height: 1.6; }
.check-row small { display: block; margin-top: 5px; color: #9aa6b7; font-size: 10px; line-height: 1.5; }
.suggestion-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggestion-meta span { padding: 5px 8px; border-radius: 99px; color: #63748a; background: #f1f5fa; font-size: 10px; }
.after-box { display: flex; gap: 9px; align-items: flex-start; margin-top: 11px; padding: 10px 11px; border-radius: 10px; background: #effbf7; color: #33765d; font-size: 11px; line-height: 1.65; }
.after-box strong { flex: 0 0 auto; color: #1e7a57; }
@media (max-width: 900px) {
  .health-grid { grid-template-columns: 1fr; }
  .report-hero { flex-direction: column; }
  .report-score { align-self: center; }
}
.capability-layers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.layer-card { padding: 17px; border: 1px solid #e5ecf4; border-radius: 15px; background: #fff; }
.layer-card.understanding { background: #f7fbff; }
.layer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.layer-head span { display: block; margin-bottom: 4px; color: #8b9aad; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.layer-head strong { display: block; color: #31435d; font-size: 13px; }
.layer-head b { color: #246bfd; font-size: 14px; }
.layer-card p { margin: 10px 0 0; color: #708096; font-size: 11px; line-height: 1.7; }
.readiness-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #f1f6fc; }
.readiness-note span { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; background: #246bfd; color: #fff; font-size: 10px; font-weight: 800; }
.readiness-note p { margin: 0; color: #53657d; font-size: 12px; line-height: 1.7; }
@media (max-width: 900px) { .capability-layers { grid-template-columns: 1fr; } }
.acquisition-section { background: linear-gradient(135deg, #f6fbff, #ffffff); }
.acquisition-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.acquisition-step { position: relative; padding: 16px; border: 1px solid #e5ecf4; border-radius: 14px; background: #fff; }
.acquisition-step > span { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: #8292a8; background: #f0f4f8; font-size: 10px; font-weight: 900; }
.acquisition-step strong { display: block; margin-top: 11px; color: #31435d; font-size: 14px; }
.acquisition-step p { margin: 6px 0 10px; color: #748399; font-size: 11px; line-height: 1.65; }
.acquisition-step small { color: #b27900; font-size: 10px; font-weight: 800; }
.acquisition-step.is-ready { border-color: #bfe8d8; background: #f4fcf9; }
.acquisition-step.is-ready > span { color: #117e59; background: #e2f8ef; }
.acquisition-step.is-ready small { color: #18815e; }
.business-priority { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-top: 16px; padding: 15px 16px; border-radius: 14px; background: #10213a; color: #fff; }
.business-priority > span { grid-row: 1 / 3; padding: 7px 10px; border-radius: 99px; background: rgba(79,213,240,.13); color: #7ee7f6; font-size: 10px; font-weight: 800; white-space: nowrap; }
.business-priority strong { font-size: 14px; }
.business-priority p { margin: 0; color: #b9c8dd; font-size: 11px; line-height: 1.6; }
.change-type { padding: 5px 8px; border-radius: 99px; color: #315b9b; background: #edf4ff; font-size: 10px; font-weight: 800; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.business-grid > div { padding: 11px 12px; border-radius: 11px; background: #f3f7fb; }
.business-grid span { display: block; margin-bottom: 5px; color: #8d9aab; font-size: 10px; font-weight: 800; }
.business-grid p { margin: 0; color: #53657d; font-size: 11px; line-height: 1.65; }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #0c1a30, #173d75); box-shadow: 0 15px 35px rgba(16,33,58,.14); }
.report-cta h3 { margin: 5px 0 7px; font-size: 20px; }
.report-cta p { max-width: 670px; margin: 0; color: #bed0e7; font-size: 12px; line-height: 1.75; }
.report-cta .report-kicker { color: #69dff3; }
.cta-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.cta-actions a { height: 40px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 10px; background: #16c5e8; color: #082033; text-decoration: none; font-size: 12px; font-weight: 800; }
.cta-actions a.secondary { background: rgba(255,255,255,.1); color: #dce9f9; }
@media (max-width: 900px) { .acquisition-path, .business-grid { grid-template-columns: 1fr 1fr; } .report-cta { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .acquisition-path, .business-grid { grid-template-columns: 1fr; } .business-priority { grid-template-columns: 1fr; } .business-priority > span { grid-row: auto; justify-self: start; } .cta-actions { width: 100%; } }
.methodology-hero { background: linear-gradient(135deg, #f7fcff, #ffffff); }
.source-link { display: inline-block; margin-top: 12px; color: #246bfd; font-size: 11px; font-weight: 800; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.verify-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: verify; }
.verify-list li { counter-increment: verify; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px; border: 1px solid #e8edf4; border-radius: 13px; background: #fbfcfe; }
.verify-list li::before { content: counter(verify); grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #126b91; background: #e7f9fe; font-size: 11px; font-weight: 900; }
.verify-list strong { color: #31435d; font-size: 12px; }
.verify-list span { color: #718096; font-size: 11px; line-height: 1.65; }
.report-list { display: grid; gap: 11px; }
.report-list-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid #e5ecf4; border-radius: 15px; background: #fcfdff; }
.report-list-score { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; align-content: center; color: #1b4c85; background: #edf6ff; font-size: 22px; font-weight: 900; }
.report-list-score small { font-size: 9px; color: #7d8fa7; }
.report-list-main { min-width: 0; }
.report-list-main strong { display: block; overflow: hidden; color: #283b57; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.report-list-main span { display: block; margin-top: 4px; color: #8b98aa; font-size: 10px; }
.report-list-main p { margin: 7px 0 0; color: #6f7f94; font-size: 11px; }
.report-list-actions { display: flex; gap: 8px; }
.report-list-actions a, .empty-reports a { padding: 8px 11px; border-radius: 9px; background: #246bfd; color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; }
.report-list-actions a.muted { color: #4f637e; background: #eef3f9; }
.empty-reports { padding: 44px 20px; text-align: center; border: 1px dashed #d8e2ee; border-radius: 16px; }
.empty-reports h4 { margin: 0 0 8px; font-size: 17px; }
.empty-reports p { margin: 0 0 17px; color: #79879a; font-size: 12px; }
@media (max-width: 700px) { .report-list-item { grid-template-columns: 60px minmax(0, 1fr); } .report-list-score { width: 56px; height: 56px; } .report-list-actions { grid-column: 2; } }
.lead-section { background: linear-gradient(135deg, #fbfdff, #f6fbff); }
.lead-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead-form label { display: grid; gap: 7px; color: #536279; font-size: 11px; font-weight: 800; }
.lead-form input { height: 44px; padding: 0 12px; border: 1px solid #dce4ef; border-radius: 11px; outline: 0; }
.lead-form input:focus { border-color: #8dd6e7; box-shadow: 0 0 0 3px rgba(22,197,232,.1); }
.lead-form > .primary-button { margin-top: 14px; }
.lead-note { margin: 10px 0 0; color: #8c99aa; font-size: 10px; }
.lead-success { padding: 16px; border-radius: 13px; border: 1px solid #bfe8d8; background: #effbf7; }
.lead-success strong { color: #167657; font-size: 14px; }
.lead-success p { margin: 5px 0 0; color: #527565; font-size: 12px; line-height: 1.7; }
@media (max-width: 620px) { .lead-form-grid { grid-template-columns: 1fr; } }
.report-top-actions form { display: contents; }
.shared-banner { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid #b9e6f1; border-radius: 14px; background: #effbfe; color: #316076; }
.shared-banner strong { color: #117e9b; font-size: 12px; }
.shared-banner span { font-size: 11px; }
@media (max-width: 620px) { .shared-banner { align-items: flex-start; flex-direction: column; gap: 4px; } }
.report-assistant { background: linear-gradient(135deg, #f8fbff, #ffffff); }
.assistant-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.assistant-quick button { padding: 8px 11px; border: 1px solid #dbe6f2; border-radius: 99px; background: #fff; color: #4e6480; font-size: 11px; cursor: pointer; }
.assistant-quick button:hover { background: #eef7ff; border-color: #b9dff0; }
.assistant-messages { max-height: 310px; overflow: auto; display: grid; gap: 10px; padding: 12px; border: 1px solid #e5ecf4; border-radius: 14px; background: #fbfdff; }
.assistant-message { padding: 11px 13px; border-radius: 12px; background: #fff; border: 1px solid #e8eef5; }
.assistant-message.user { width: fit-content; max-width: 82%; margin-left: auto; background: #246bfd; border-color: #246bfd; color: #fff; }
.assistant-message strong { display: block; margin-bottom: 4px; font-size: 10px; }
.assistant-message p { margin: 0; color: #61728a; font-size: 12px; line-height: 1.75; white-space: pre-wrap; }
.assistant-message.user p { color: #fff; }
.assistant-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.assistant-actions button { padding: 6px 9px; border: 1px solid #d7e5f3; border-radius: 8px; background: #f5f9fd; color: #35628f; font-size: 10px; cursor: pointer; }
.assistant-form { display: flex; gap: 9px; margin-top: 12px; }
.assistant-form input { flex: 1; height: 43px; padding: 0 12px; border: 1px solid #dce4ef; border-radius: 11px; outline: 0; }
.assistant-form input:focus { border-color: #8dd6e7; box-shadow: 0 0 0 3px rgba(22,197,232,.1); }
.assistant-form button { padding: 0 18px; border: 0; border-radius: 11px; background: #246bfd; color: #fff; font-weight: 800; cursor: pointer; }
