/* Lead Leakage Detector — guided light-theme experience */
:root {
  --lead-bg: #f4f6fa;
  --lead-surface: #ffffff;
  --lead-surface-soft: #f8f9fd;
  --lead-ink: #17243a;
  --lead-muted: #68768b;
  --lead-line: #e2e7f0;
  --lead-purple: #6538d0;
  --lead-purple-2: #8359e8;
  --lead-purple-soft: #f2edff;
  --lead-blue: #256bc5;
  --lead-green: #168553;
  --lead-green-soft: #e9f8ef;
  --lead-amber: #a96a08;
  --lead-amber-soft: #fff5df;
  --lead-red: #bd3a42;
  --lead-red-soft: #fff0f0;
  --lead-shadow: 0 12px 32px rgba(35, 48, 82, .065);
}

.lead-tool-page,
.lead-tool-page body { background: var(--lead-bg); color: var(--lead-ink); }
.lead-tool-page * { box-sizing: border-box; }
.lead-tool-page [hidden] { display: none !important; }
.lead-tool-page .nav {
  background: rgba(255,255,255,.96);
  color: var(--lead-ink);
  border-bottom: 1px solid var(--lead-line);
  box-shadow: 0 4px 18px rgba(25,42,70,.035);
}
.lead-tool-page .navlinks a { color: #56647a; }
.lead-tool-page .navlinks a.active { color: var(--lead-purple); background: var(--lead-purple-soft); }
.lead-tool-page .brand { color: var(--lead-ink); }
.lead-tool-page .pill { background: var(--lead-purple); color: #fff; }
.lead-tool-page .global-search-trigger { color: var(--lead-ink); }
.lead-tool-page .wrap { max-width: 1320px; }
.lead-tool-page .dark-section { margin-top: 46px; }

.lead-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 66px) 24px 34px;
  background:
    radial-gradient(circle at 84% 30%, rgba(137,104,236,.16), transparent 25%),
    radial-gradient(circle at 70% 100%, rgba(97,144,229,.11), transparent 30%),
    linear-gradient(115deg, #fff 0%, #f9f8ff 54%, #f1f4ff 100%);
  border-bottom: 1px solid #e8e9f3;
}
.lead-hero-inner {
  width: min(100%, 1250px);
  min-height: 220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  align-items: center;
  gap: 30px;
  position: relative;
}
.lead-hero-copy { position: relative; z-index: 2; }
.lead-breadcrumb { display: inline-flex; gap: 9px; align-items: center; color: #728098; text-decoration: none; font-size: 12px; margin-bottom: 21px; }
.lead-breadcrumb span { color: #a3adbd; }
.lead-hero-kicker,
.lead-report-kicker { display: block; color: var(--lead-purple); font-size: 10px; font-weight: 850; letter-spacing: .13em; margin-bottom: 10px; }
.lead-hero h1 { color: #151f34; font-size: clamp(34px, 4vw, 53px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; margin: 0 0 14px; }
.lead-hero h1 span { color: var(--lead-purple); }
.lead-hero-copy > p { max-width: 690px; color: #5e6b80; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.65; margin: 0; }
.lead-hero-benefits { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 23px; }
.lead-hero-benefits span { display: inline-flex; align-items: center; gap: 8px; color: #3c4b62; font-size: 11px; font-weight: 700; }
.lead-hero-benefits i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: #e5f7ed; color: var(--lead-green); font-size: 11px; font-style: normal; font-weight: 900; }
.lead-hero-art { width: min(100%, 350px); height: 220px; justify-self: center; position: relative; isolation: isolate; }
.lead-art-orbit { position: absolute; border: 1px solid rgba(119,103,220,.18); border-radius: 50%; transform: rotate(-18deg); }
.lead-art-orbit-one { width: 320px; height: 145px; left: 12px; top: 42px; }
.lead-art-orbit-two { width: 286px; height: 116px; left: 26px; top: 55px; border-color: rgba(70,155,204,.19); }
.lead-art-people { position: absolute; top: 13px; left: 125px; display: flex; gap: 15px; z-index: 3; }
.lead-art-people span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg,#a98aff,#6841d1); color: #fff; font-size: 15px; border: 3px solid #f5f2ff; box-shadow: 0 5px 15px rgba(101,56,208,.2); }
.lead-art-people span:nth-child(2) { transform: translateY(-9px); }
.lead-art-funnel { position: absolute; left: 105px; top: 58px; width: 118px; height: 99px; filter: drop-shadow(0 14px 15px rgba(86,67,185,.2)); z-index: 2; }
.lead-art-funnel:before { content: ""; position: absolute; inset: 0 0 36px; clip-path: polygon(0 0,100% 0,66% 100%,34% 100%); border-radius: 10px 10px 22px 22px; background: linear-gradient(130deg,#b9a4ff,#7245d5 58%,#4f75d8); border: 1px solid rgba(255,255,255,.65); }
.lead-art-funnel:after { content: ""; position: absolute; left: 47px; top: 56px; height: 43px; width: 24px; clip-path: polygon(0 0,100% 0,72% 100%,28% 100%); background: linear-gradient(180deg,#7450d8,#548fe2); }
.lead-art-funnel span { position: absolute; z-index: 1; left: 18px; right: 18px; top: 19px; height: 1px; background: rgba(255,255,255,.58); transform: rotate(0deg); }
.lead-art-funnel span:nth-child(2) { top: 36px; left: 29px; right: 29px; }
.lead-art-funnel span:nth-child(3) { top: 52px; left: 40px; right: 40px; }
.lead-art-drop { position: absolute; z-index: 3; left: 157px; top: 163px; width: 12px; height: 18px; background: #44c4b0; border-radius: 75% 0 75% 75%; transform: rotate(45deg); box-shadow: 0 4px 10px rgba(54,178,160,.25); }
.lead-art-chart { position: absolute; right: 14px; bottom: 14px; width: 95px; height: 74px; display: flex; gap: 7px; align-items: end; padding: 9px; border: 1px solid rgba(113,100,212,.16); border-radius: 14px; background: rgba(255,255,255,.8); box-shadow: 0 9px 20px rgba(37,56,99,.08); transform: rotate(-5deg); }
.lead-art-chart i { display: block; flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,#79dbbb,#32a989); }
.lead-art-chart i:nth-child(1) { height: 25%; }.lead-art-chart i:nth-child(2) { height: 45%; }.lead-art-chart i:nth-child(3) { height: 68%; }.lead-art-chart i:nth-child(4) { height: 95%; }
.lead-art-chart b { position: absolute; top: -10px; right: 8px; color: #31a984; font-size: 20px; }

.lead-tool-page .tools-section { padding: 28px 0 44px; }
.lead-tool-page .tools-section > .wrap { max-width: 1250px; }
.lead-intro-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 0 0 18px; }
.lead-intro-strip > div { min-height: 68px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 11px; padding: 11px 15px; background: #fff; border: 1px solid var(--lead-line); border-radius: 13px; box-shadow: 0 5px 15px rgba(28,45,77,.035); }
.lead-intro-icon { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--lead-purple); background: var(--lead-purple-soft); font-size: 20px; font-weight: 800; }
.lead-intro-strip strong { color: #27334a; font-size: 12px; align-self: end; }.lead-intro-strip small { color: #758197; font-size: 10px; margin-top: 2px; }

.lead-wizard-form { margin: 0 0 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.lead-assessment-layout { display: grid; grid-template-columns: 275px minmax(0,1fr); gap: 16px; align-items: stretch; }
.lead-assessment-sidebar { display: flex; flex-direction: column; gap: 16px; padding: 20px 16px; border: 1px solid #e5e1f4; border-radius: 17px; background: linear-gradient(165deg,#fff 0%,#f8f6ff 62%,#f1efff 100%); box-shadow: var(--lead-shadow); }
.lead-sidebar-label { display: block; font-size: 9px; font-weight: 850; letter-spacing: .13em; color: var(--lead-purple); margin-bottom: 8px; }
.lead-sidebar-intro h2 { margin: 0 0 6px; color: var(--lead-ink); font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
.lead-sidebar-intro p { margin: 0; color: var(--lead-muted); font-size: 11px; line-height: 1.55; }
.lead-step-nav { display: grid; gap: 6px; }
.lead-step-nav button { width: 100%; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 9px; text-align: left; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #536177; cursor: pointer; transition: background .18s ease,border-color .18s ease,transform .18s ease; }
.lead-step-nav button > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #647188; background: #edf0f6; border: 1px solid #e2e7ef; font-size: 12px; font-weight: 800; }
.lead-step-nav button b { color: #26334a; font-size: 11px; line-height: 1.25; }
.lead-step-nav button small { color: #8792a4; font-size: 9px; margin-top: 3px; }
.lead-step-nav button.is-active { background: #eee8ff; border-color: #e0d6ff; }
.lead-step-nav button.is-active > span { color: #fff; border-color: var(--lead-purple); background: linear-gradient(140deg,#8257e7,#5c2ec4); box-shadow: 0 4px 9px rgba(101,56,208,.2); }
.lead-step-nav button.is-active b { color: #552cbd; }
.lead-step-nav button.is-complete > span { color: #fff; background: var(--lead-green); border-color: var(--lead-green); }
.lead-step-nav button:not(:disabled):hover { border-color: #ded5ff; background: #f5f1ff; }
.lead-step-nav button:disabled { cursor: default; opacity: .72; }
.lead-sidebar-benefit { margin-top: auto; padding: 14px; border: 1px solid #e8e0ff; border-radius: 13px; background: rgba(255,255,255,.8); }
.lead-sidebar-benefit > span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #ad7a13; background: #fff4d9; margin-right: 7px; }
.lead-sidebar-benefit strong { color: #2f2851; font-size: 12px; }
.lead-sidebar-benefit ul { margin: 10px 0 0; padding: 0 0 0 17px; color: #68758a; font-size: 10px; line-height: 1.75; }
.lead-sidebar-privacy { margin: 0; padding: 10px 11px; border-radius: 10px; background: #eef7f3; color: #557369; font-size: 9px; line-height: 1.55; }
.lead-sidebar-privacy span { color: var(--lead-green); font-weight: 900; margin-right: 5px; }

.lead-wizard-main { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--lead-line); border-radius: 17px; box-shadow: var(--lead-shadow); }
.lead-wizard-head { padding: 19px 23px 16px; background: linear-gradient(110deg,#fff 0%,#fbfaff 100%); border-bottom: 1px solid #edf0f5; }
.lead-wizard-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lead-wizard-heading-row .eyebrow { color: var(--lead-purple); font-size: 9px; letter-spacing: .12em; }
.lead-wizard-heading-row h2 { margin: 4px 0 4px; color: var(--lead-ink); font-size: 22px; letter-spacing: -.03em; }
.lead-wizard-heading-row p { margin: 0; color: var(--lead-muted); font-size: 11px; }
.lead-step-count { display: flex; align-items: baseline; gap: 5px; padding: 7px 10px; border-radius: 10px; color: #6e5aa9; background: var(--lead-purple-soft); white-space: nowrap; }
.lead-step-count strong { font-size: 18px; }.lead-step-count span { font-size: 10px; }
.lead-step-progress { height: 7px; margin-top: 17px; border-radius: 99px; background: #e9eaf2; overflow: hidden; }
.lead-step-progress > span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#5d31c4,#9574ef); transition: width .28s ease; }
.lead-step-labels { display: flex; justify-content: space-between; gap: 5px; margin-top: 9px; color: #9aa3b3; font-size: 9px; font-weight: 700; }
.lead-step-labels span.is-active { color: var(--lead-purple); }
.lead-form-step { padding: 22px 24px 24px; animation: leadStepIn .24s ease both; }
@keyframes leadStepIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.lead-section-heading { margin-bottom: 20px; }
.lead-section-heading .eyebrow { display: inline-block; padding: 5px 9px; border-radius: 99px; background: var(--lead-purple-soft); color: var(--lead-purple); font-size: 9px; letter-spacing: .08em; }
.lead-section-heading h3 { margin: 10px 0 5px; color: var(--lead-ink); font-size: 20px; letter-spacing: -.025em; }
.lead-section-heading p { max-width: 750px; margin: 0; color: var(--lead-muted); font-size: 11px; line-height: 1.55; }
.lead-tool-page .tool-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 16px; }
.lead-tool-page .tool-fields > label,
.lead-tool-page .tool-fields > .lead-input-pair,
.lead-tool-page .tool-fields > fieldset { min-width: 0; }
.lead-tool-page .tool-fields label,
.lead-tool-page .lead-scenario-inputs label { display: flex; flex-direction: column; gap: 7px; color: #344057; font-size: 11px; font-weight: 750; line-height: 1.35; }
.lead-tool-page .tool-fields input:not([type=checkbox]):not([type=radio]),
.lead-tool-page .tool-fields select,
.lead-tool-page .lead-scenario-inputs input,
.lead-tool-page .lead-scenario-inputs select { width: 100%; min-height: 42px; padding: 10px 12px; color: #26334a; background: #fff; border: 1px solid #d8deea; border-radius: 9px; font: inherit; font-weight: 500; outline: none; box-shadow: 0 1px 2px rgba(25,40,70,.025); }
.lead-tool-page .tool-fields input:focus,
.lead-tool-page .tool-fields select:focus,
.lead-tool-page .lead-scenario-inputs input:focus { border-color: #977be5; box-shadow: 0 0 0 3px rgba(101,56,208,.1); }
.lead-tool-page .tool-fields small { color: #8490a2; font-size: 9px; font-weight: 500; line-height: 1.45; }
.lead-field-wide { grid-column: 1 / -1; }
.lead-tool-page fieldset { min-width: 0; margin: 0; padding: 13px 14px; border: 1px solid #e4e7ef; border-radius: 11px; background: #fcfcfe; }
.lead-tool-page fieldset legend { padding: 0 6px; color: #344057; font-size: 11px; font-weight: 750; }
.lead-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 7px; }
.lead-tool-page .lead-choice-grid label { display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 36px; padding: 8px 9px; border: 1px solid #e7eaf1; border-radius: 8px; background: #fff; color: #59667b; font-size: 10px; font-weight: 600; cursor: pointer; }
.lead-tool-page input[type=checkbox], .lead-tool-page input[type=radio] { width: 16px; height: 16px; flex: none; accent-color: var(--lead-purple); }
.lead-input-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); gap: 12px; }
.lead-inline-question { margin-top: 13px; }
.lead-scenario-toggle { display: flex; flex-direction: row !important; align-items: center; gap: 10px !important; padding: 14px; border: 1px solid #e4def7; border-radius: 10px; background: #faf8ff; color: #44346f !important; }
.lead-scenario-inputs { margin-top: 16px; padding: 16px; border-radius: 12px; background: #fafbfe; border: 1px solid var(--lead-line); }
.lead-number-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.lead-tool-page .lead-wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 23px; border-top: 1px solid #edf0f5; background: #fcfcfe; }
.lead-tool-page .lead-wizard-actions .btn { min-width: 112px; min-height: 42px; padding: 10px 17px; border: 1px solid #dce2ed; border-radius: 9px; background: #fff; color: #43516a; font-size: 11px; font-weight: 750; }
.lead-tool-page .lead-wizard-actions .btn.primary { color: #fff; border-color: var(--lead-purple); background: linear-gradient(110deg,#6538d0,#8053df); box-shadow: 0 5px 12px rgba(101,56,208,.17); }
.lead-tool-page .lead-wizard-actions .btn:disabled { opacity: .55; cursor: not-allowed; }
.lead-wizard-spacer { flex: 1; }
.lead-submit-tools { display: flex; align-items: center; gap: 12px; padding: 0 23px 14px; }
.lead-text-button { border: 0; background: transparent; color: var(--lead-purple); font-size: 10px; font-weight: 750; cursor: pointer; padding: 5px 0; }
.lead-sample-label { padding: 4px 8px; border-radius: 99px; background: var(--lead-amber-soft); color: var(--lead-amber); font-size: 9px; font-weight: 800; }
.lead-status { min-height: 18px; padding: 0 23px 9px; color: #748197; font-size: 10px; }
.lead-scan-progress { display: flex; align-items: center; gap: 10px; margin: 0 23px 15px; padding: 12px 14px; border: 1px solid #e5defb; border-radius: 10px; background: #f8f5ff; color: #58448e; font-size: 11px; }
.lead-scan-spinner { width: 17px; height: 17px; border: 2px solid #ddd2fb; border-top-color: var(--lead-purple); border-radius: 50%; animation: leadSpin .8s linear infinite; }
@keyframes leadSpin { to { transform: rotate(360deg); } }
.lead-security-note { margin: 0; padding: 12px 23px 17px; color: #8792a4; font-size: 9px; line-height: 1.55; border-top: 1px solid #f0f1f5; }
.lead-security-note strong { color: #627086; }

/* Completed report */
.lead-results { margin: 30px 0 0; padding: clamp(18px,3vw,30px); background: #f8f9fc; border: 1px solid #e3e7f0; border-radius: 19px; box-shadow: var(--lead-shadow); scroll-margin-top: 30px; }
.lead-report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e6e9f0; }
.lead-report-header h2 { margin: 3px 0 5px; color: var(--lead-ink); font-size: clamp(23px,3vw,30px); letter-spacing: -.035em; }
.lead-report-header p { margin: 0; color: var(--lead-muted); font-size: 11px; line-height: 1.55; }
.lead-report-kicker { margin-bottom: 5px; }
.lead-demo-badge { display: inline-flex; margin-top: 9px; padding: 5px 9px; border-radius: 99px; color: #98620a; background: #fff4dc; border: 1px solid #f1e2bd; font-size: 9px; font-weight: 850; letter-spacing: .04em; }
.lead-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.lead-action-button { min-height: 36px; padding: 8px 11px; border: 1px solid #dce2ec; border-radius: 9px; color: #4f5d73; background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.lead-action-button.is-primary { color: #fff; border-color: var(--lead-purple); background: var(--lead-purple); }
.lead-report-metrics-wrap { margin-top: 18px; }
.lead-report-section-label { display: block; color: #8675b7; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.lead-report-section-label small { color: #8490a2; font-size: 10px; letter-spacing: 0; font-weight: 500; text-transform: none; }
.lead-metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin: 9px 0 17px; }
.lead-metric { min-height: 85px; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid #e5e9f1; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(29,45,77,.03); }
.lead-metric-label { color: #7b879a; font-size: 9px; font-weight: 750; }
.lead-metric-value { color: #29364d; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.lead-metric:nth-child(2) .lead-metric-value { color: var(--lead-red); }
.lead-metric:nth-child(3) .lead-metric-value { color: var(--lead-amber); }
.lead-business-snapshot { padding: 18px; margin: 14px 0; border: 1px solid #e4e8f0; border-radius: 14px; background: #fff; }
.lead-snapshot-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.lead-snapshot-heading h3 { margin: 3px 0 0; color: #27344b; font-size: 16px; }
.lead-evidence-label { flex: none; padding: 5px 9px; border-radius: 99px; background: var(--lead-purple-soft); color: var(--lead-purple); font-size: 9px; font-weight: 800; }
.lead-business-snapshot-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.lead-snapshot-item { min-width: 0; padding: 11px 12px; border-radius: 10px; background: #f7f8fc; border: 1px solid #edf0f5; }
.lead-snapshot-item span { display: block; color: #7c889a; font-size: 9px; font-weight: 700; margin-bottom: 5px; }
.lead-snapshot-item strong { display: block; color: #2d3a50; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.lead-context-tip { padding: 15px 17px; margin: 13px 0; border: 1px solid #e7e0fa; border-radius: 12px; background: linear-gradient(100deg,#fff,#f6f2ff); }
.lead-context-tip strong { color: #4d32a0; font-size: 12px; }.lead-context-tip p { margin: 5px 0 0; color: #647086; font-size: 11px; line-height: 1.55; }
.lead-journey { padding: 18px; margin: 14px 0; border: 1px solid #e4e8f0; border-radius: 14px; background: #fff; }
.lead-report-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.lead-report-section-heading h3 { margin: 3px 0 0; font-size: 16px; color: #29364d; }
.lead-report-section-heading p { max-width: 360px; margin: 0; color: #8390a3; font-size: 9px; line-height: 1.45; text-align: right; }
.lead-journey-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.lead-journey-step { position: relative; min-width: 0; padding: 12px; border: 1px solid #e7eaf1; border-radius: 10px; background: #fafbfe; }
.lead-journey-step > span:first-child { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 9px; border-radius: 8px; color: #fff; background: linear-gradient(140deg,#8b6ce2,#5b3ac2); font-size: 9px; font-weight: 850; }
.lead-journey-step strong { display: block; color: #344158; font-size: 10px; line-height: 1.35; }
.lead-journey-state { display: inline-block; margin-top: 6px; color: var(--lead-purple); font-size: 8px; font-weight: 800; }
.lead-journey-step p { margin: 5px 0 0; color: #7b8799; font-size: 9px; line-height: 1.4; }
.lead-report-workspace { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(290px,.72fr); gap: 14px; margin: 14px 0; align-items: start; }
.lead-report-primary, .lead-report-secondary { display: grid; gap: 14px; min-width: 0; }
.lead-report-panel { min-width: 0; padding: 17px; border: 1px solid #e4e8f0; border-radius: 14px; background: #fff; }
.lead-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.lead-panel-heading h3 { margin: 3px 0 0; color: #29364d; font-size: 15px; }
.lead-panel-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: var(--lead-purple); background: var(--lead-purple-soft); font-weight: 850; }
.lead-finding-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 9px; margin: 0 0 9px; }
.lead-finding-controls label { display: flex; flex-direction: column; gap: 5px; color: #738096; font-size: 9px; font-weight: 700; }
.lead-finding-controls select { min-height: 33px; padding: 6px 9px; border: 1px solid #dce2ec; border-radius: 7px; background: #fff; color: #354158; font-size: 10px; }
.lead-report-panel .seo-findings { display: grid; gap: 9px; }
.lead-report-panel .seo-finding { padding: 13px; border: 1px solid #edf0f5; border-radius: 10px; background: #fcfcfe; }
.lead-report-panel .seo-finding h4 { margin: 8px 0 5px; color: #2c3850; font-size: 12px; }
.lead-report-panel .seo-finding p { color: #718096; font-size: 10px; line-height: 1.55; }
.lead-report-panel .seo-finding-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.lead-report-panel .seo-priority { padding: 4px 7px; border-radius: 6px; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.lead-report-panel .seo-high { color: var(--lead-red); background: var(--lead-red-soft); }
.lead-report-panel .seo-medium { color: var(--lead-amber); background: var(--lead-amber-soft); }
.lead-report-panel .seo-low { color: var(--lead-blue); background: #edf5ff; }
.lead-report-panel .seo-tag { color: #6b55ac; background: var(--lead-purple-soft); border-radius: 6px; padding: 4px 7px; font-size: 8px; font-weight: 800; }
.lead-report-panel .lead-finding-meta { color: #929cad; font-size: 9px; }
.lead-report-panel .seo-recommendation { padding: 9px 10px; margin-top: 9px; border-left: 3px solid #8b6ae1; border-radius: 0 7px 7px 0; background: #f7f4ff; color: #5c6480; }
.lead-report-panel .seo-recommendation strong { color: #50359f; }
.lead-report-panel .lead-task-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; color: #7d899b; font-size: 9px; }
.lead-report-panel .lead-task-row select { padding: 5px 7px; border: 1px solid #e0e5ed; border-radius: 7px; color: #526077; background: #fff; font-size: 9px; }
.lead-scenario { color: #69778c; font-size: 10px; line-height: 1.55; }
.lead-scenario h4 { margin: 12px 0 4px; color: #344158; font-size: 11px; }
.lead-scenario p { margin: 4px 0; }
.lead-scenario-delta { display: block; padding: 11px; margin: 11px 0; border-radius: 9px; background: var(--lead-green-soft); color: var(--lead-green); font-size: 11px; }
.lead-next-steps > p, .lead-history > p { color: #8390a2; font-size: 9px; line-height: 1.5; }
.lead-next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: leadtask; }
.lead-next-steps li { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 11px 0; border-top: 1px solid #edf0f5; counter-increment: leadtask; }
.lead-next-steps li label { color: #3e4b62; font-size: 10px; line-height: 1.5; }
.lead-next-steps li small { color: #8a95a6; font-size: 8px; }
.lead-history-row { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-top: 1px solid #edf0f5; color: #7e8a9c; font-size: 9px; }
.lead-history-row strong { color: #4e5d72; font-size: 10px; }
.lead-report-utilities { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 10px 0; }
.lead-import-label { color: var(--lead-purple); font-size: 10px; font-weight: 750; cursor: pointer; }
.lead-import-label input { max-width: 190px; margin-left: 6px; font-size: 9px; }
.lead-technical-details { padding: 14px 16px; border: 1px solid #e2e7ef; border-radius: 11px; background: #fff; }
.lead-technical-details summary { color: #4c5a70; font-size: 10px; font-weight: 800; cursor: pointer; }
.lead-technical-details #lead-pages-table { margin-top: 13px; }
.lead-technical-details ul { color: #77849a; font-size: 9px; line-height: 1.65; }
.lead-tool-page .seo-data-table { min-width: 670px; font-size: 9px; }
.lead-tool-page .seo-link-table-wrap { overflow-x: auto; }

@media (max-width: 1050px) {
  .lead-assessment-layout { grid-template-columns: 220px minmax(0,1fr); }
  .lead-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lead-business-snapshot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .lead-hero-inner { grid-template-columns: minmax(0,1fr) 220px; gap: 12px; }
  .lead-hero-art { transform: scale(.78); transform-origin: center right; margin-right: -20px; }
  .lead-assessment-layout { grid-template-columns: 1fr; }
  .lead-assessment-sidebar { padding: 13px; }
  .lead-sidebar-intro { display: none; }
  .lead-step-nav { grid-template-columns: repeat(5,minmax(90px,1fr)); overflow-x: auto; gap: 5px; }
  .lead-step-nav button { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 5px; }
  .lead-step-nav button > span { grid-row: auto; margin-bottom: 5px; }
  .lead-step-nav button small { display: none; }
  .lead-sidebar-benefit, .lead-sidebar-privacy { display: none; }
  .lead-report-workspace { grid-template-columns: 1fr; }
  .lead-report-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lead-report-secondary .lead-history { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .lead-hero { padding: 26px 16px 23px; }
  .lead-hero-inner { display: block; min-height: 0; }
  .lead-hero-art { position: absolute; width: 140px; height: 140px; right: -36px; top: 40px; opacity: .33; transform: scale(.58); transform-origin: top right; }
  .lead-hero-copy > p { max-width: 100%; padding-right: 24px; font-size: 13px; }
  .lead-hero-benefits { gap: 8px 12px; margin-top: 16px; }
  .lead-hero-benefits span { font-size: 9px; }
  .lead-intro-strip { grid-template-columns: 1fr; gap: 7px; }
  .lead-intro-strip > div { min-height: 55px; }
  .lead-tool-page .tools-section { padding-top: 18px; }
  .lead-tool-page .tools-section > .wrap { padding-left: 13px; padding-right: 13px; }
  .lead-assessment-sidebar { padding: 8px; }
  .lead-step-nav { grid-template-columns: repeat(5,82px); }
  .lead-step-nav button b { font-size: 9px; }
  .lead-wizard-head { padding: 15px 15px 13px; }
  .lead-wizard-heading-row h2 { font-size: 18px; }
  .lead-form-step { padding: 17px 15px 19px; }
  .lead-tool-page .tool-fields, .lead-number-fields { grid-template-columns: 1fr; gap: 12px; }
  .lead-field-wide { grid-column: auto; }
  .lead-input-pair { grid-template-columns: 1fr; }
  .lead-choice-grid { grid-template-columns: 1fr; }
  .lead-tool-page .lead-wizard-actions { padding: 12px 15px; }
  .lead-submit-tools { padding-left: 15px; }
  .lead-status { padding-left: 15px; }
  .lead-report-header { flex-direction: column; }
  .lead-report-actions { justify-content: flex-start; }
  .lead-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lead-business-snapshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lead-report-section-heading { display: block; }
  .lead-report-section-heading p { margin-top: 7px; text-align: left; }
  .lead-journey-steps { grid-template-columns: 1fr 1fr; }
  .lead-journey-step:last-child { grid-column: 1/-1; }
  .lead-report-secondary { grid-template-columns: 1fr; }
  .lead-report-secondary .lead-history { grid-column: auto; }
  .lead-report-utilities { flex-wrap: wrap; justify-content: flex-start; }
  .lead-results { padding: 13px; }
}
@media print {
  .lead-tool-page .nav, .lead-hero, .lead-intro-strip, #lead-form, .lead-report-actions, .lead-finding-controls, .lead-report-utilities, .lead-clear-history { display: none !important; }
  .lead-tool-page, .lead-tool-page body { background: #fff !important; }
  .lead-results { display: block !important; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .lead-report-panel, .lead-business-snapshot, .lead-journey, .lead-metric { break-inside: avoid; box-shadow: none; }
  .lead-report-workspace { grid-template-columns: 1fr 1fr; }
  .lead-tool-page .seo-finding { break-inside: avoid; }
}

.lead-tool-page .tool-status { min-height: 18px; padding: 0 23px 9px; color: #748197; font-size: 10px; }
.lead-tool-page .tool-status[role="status"] { line-height: 1.5; }
.lead-tool-page .lead-report-header button:focus-visible,
.lead-tool-page .lead-step-nav button:focus-visible,
.lead-tool-page .lead-wizard-actions button:focus-visible,
.lead-tool-page .lead-text-button:focus-visible { outline: 3px solid rgba(101,56,208,.28); outline-offset: 2px; }
