/* ─────────────────────────────────────────────────────────────────────────────
   TenantScan — Global Stylesheet  v2.0
   Color palette:
     Navy    #0A1628   primary surfaces, headers
     White   #FFFFFF   cards, content areas
     Blue    #4A90E2   accents, buttons, links
     Gray    #F4F6F9   page backgrounds
     Green   #2D7D46   pass / good scores
     Amber   #B45309   warnings / medium risk
     Red     #B91C1C   critical / fail
     Text    #1A2332   primary body copy
     Muted   #6B7280   secondary / subtext
     Copilot #E8F0FB   AI readiness section tint
─────────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #F4F6F9;
  color: #1A2332;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typography ───────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: #0A1628;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: #4A90E2; text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }

/* ── Layout ───────────────────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.main-content { flex: 1; padding: 0; }
/* intake-body class removed — no longer needed */

/* ── Site Header ──────────────────────────────────────────────────────────── */

.site-header {
  background: #0A1628;
  border-bottom: none;
  padding: 0.875rem 0;
  box-shadow: 0 3px 0 0 #4A90E2, 0 4px 16px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link { text-decoration: none; display: inline-block; }
.logo-link:hover { text-decoration: none; }

.logo-name {
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: bold;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  display: block;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.72rem;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: block;
}

.header-nav { display: flex; gap: 1.5rem; align-items: center; }

.header-nav a {
  color: #8FA3BF;
  font-size: 0.875rem;
  white-space: nowrap;
}

.header-nav a:hover { color: #FFFFFF; text-decoration: none; }

.header-nav .nav-cta {
  background: #4A90E2;
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.header-nav .nav-cta:hover { background: #3378C8; }

/* ── Site Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  background: #0A1628;
  color: #8FA3BF;
  padding: 1.75rem 0;
  font-size: 0.8rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand .logo-name { font-size: 1.15rem; }
.footer-brand .logo-sub  { font-size: 0.68rem; }

.footer-links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

.footer-links a {
  color: #8FA3BF;
  font-size: 0.8rem;
}

.footer-links a:hover { color: #FFFFFF; text-decoration: none; }

.footer-divider {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #1E3050;
  color: #5A6E88;
  font-size: 0.74rem;
  line-height: 1.6;
  width: 100%;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
  transition: all 0.18s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, #4A90E2 0%, #2563EB 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(74,144,226,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3378C8 0%, #1D4ED8 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 5px 18px rgba(74,144,226,0.45);
  transform: translateY(-1px);
}

.btn-navy {
  background: #0A1628;
  color: #FFFFFF;
  border-color: #0A1628;
}
.btn-navy:hover { background: #0E1F38; color: #FFFFFF; }

.btn-outline {
  background: transparent;
  color: #4A90E2;
  border-color: #4A90E2;
}
.btn-outline:hover { background: #EBF3FD; }

.btn-linkedin {
  background: transparent;
  color: #0A66C2;
  border-color: #0A66C2;
}
.btn-linkedin:hover { background: #E8F0FB; }

.no-print { /* controlled by @media print below */ }

.btn-white {
  background: #FFFFFF;
  color: #0A1628;
  border-color: #FFFFFF;
}
.btn-white:hover { background: #F0F4FA; }

.btn-sm  { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg  { padding: 0.95rem 2.25rem; font-size: 1.05rem; }
.btn-xl  { padding: 1.1rem 2.75rem; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

.btn-cancel {
  display: inline-block;
  margin-top: 0.75rem;
  color: #6B7280;
  font-size: 0.875rem;
  text-decoration: none;
}
.btn-cancel:hover { color: #374151; text-decoration: underline; }

/* ── Cards ────────────────────────────────────────────────────────────────── */

.card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(10,22,40,0.08), 0 0 0 1px rgba(10,22,40,0.05);
  padding: 2rem;
}

.card-sm { padding: 1.25rem 1.5rem; }
.card-lg { padding: 2.5rem; }

/* ── Alerts ───────────────────────────────────────────────────────────────── */

.alert {
  padding: 0.875rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-error   { background: #FFF1F2; border-color: #FECACA; color: #991B1B; }
.alert-info    { background: #EBF3FD; border-color: #BAD5F5; color: #1E40AF; }
.alert-success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }

/* ── Landing Page ─────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, #0A1628 0%, #0D2040 55%, #091424 100%);
  color: #FFFFFF;
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,144,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,226,0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Radial glow from center */
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(74,144,226,0.15) 0%, transparent 68%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: #FFFFFF;
  font-size: 2.6rem;
  max-width: 800px;
  margin: 0 auto 1.1rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.15rem;
  color: #A8BDD4;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.ms-disclaimer { font-size: 0.77rem; color: #5A7A9A; margin-top: 1.5rem; }

.hero-alt-path {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.hero-alt-link {
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
}
.hero-alt-link:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.7); text-decoration: none; }

/* body-assess: hide site header nav Run Your Audit button (redundant on quiz page) */
.body-assess .nav-cta { display: none; }

/* body-assess: override global input styles for dark quiz inputs */
.body-assess input[type="text"],
.body-assess input[type="email"] {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #FFFFFF;
}
.body-assess input[type="text"]:focus,
.body-assess input[type="email"]:focus {
  background: rgba(255,255,255,0.12);
  border-color: #4A90E2;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.2);
  color: #FFFFFF;
}
.body-assess input[type="text"]::placeholder,
.body-assess input[type="email"]::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Trust signals row */
.trust-strip {
  background: #F4F6F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.25rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.trust-item .t-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,144,226,0.15);
  position: relative;
}

.trust-item .t-icon::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #4A90E2;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.trust-item strong { color: #0A1628; }

/* What we check */
.section-block { padding: 3.5rem 0; }
.section-block.alt { background: #FFFFFF; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.5rem;
}

.section-title { margin-bottom: 0.5rem; }
.section-intro { color: #4B5563; max-width: 600px; margin: 0 0 2.5rem; }
.section-intro-center { text-align: center; margin: 0 auto 2.5rem; }

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.check-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #E5E9F0;
  border-left: 3px solid #4A90E2;
  box-shadow: 0 1px 4px rgba(10,22,40,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.check-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,22,40,0.1);
}

.check-card h4 { font-size: 0.9rem; margin-bottom: 0.35rem; }
.check-card p  { font-size: 0.82rem; color: #6B7280; margin: 0; line-height: 1.55; }

/* Copilot feature highlight */
.copilot-highlight {
  background: #E8F0FB;
  border: 1px solid #BAD5F5;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.copilot-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4A90E2, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  font-family: -apple-system, sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(74,144,226,0.35);
}

.copilot-highlight-icon::after {
  content: 'AI';
}

.copilot-highlight h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.copilot-highlight p  { font-size: 0.9rem; color: #374151; margin-bottom: 0.5rem; }

/* Social proof */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid #E5E9F0;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: #E5E9F0;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: #374151;
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-top: 0.5rem;
}

.testimonial-author strong { font-size: 0.85rem; color: #0A1628; display: block; }
.testimonial-author span   { font-size: 0.78rem; color: #6B7280; }

.placeholder-notice {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* Landing CTA bottom */
.landing-cta-block {
  background: linear-gradient(160deg, #0A1628 0%, #0D2040 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,144,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,226,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.landing-cta-block .container { position: relative; z-index: 1; }

.landing-cta-block h2 { color: #FFFFFF; margin-bottom: 0.75rem; }
.landing-cta-block p  { color: #A8BDD4; max-width: 540px; margin: 0 auto 2rem; }

/* ── Intake Form — Single-panel centered layout ───────────────────────────── */

.intake-card {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E0E7F0;
  box-shadow: 0 4px 24px rgba(10,22,40,0.08);
  padding: 2.5rem 2.75rem;
  margin: 2.5rem auto;
}

.intake-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #EBF0F8;
}

.intake-title {
  font-size: 1.65rem;
  color: #0A1628;
  margin-bottom: 0.5rem;
}

.intake-subtitle {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.intake-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #EBF0F8;
}

.intake-trust-item {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  font-family: -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.intake-trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CBD5E1;
  flex-shrink: 0;
}

/* Form elements */
.form-group { margin-bottom: 1.1rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: -apple-system, sans-serif;
}

.req { color: #B91C1C; font-weight: 700; }

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid #D1D9E6;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #1A2332;
  background: #FAFBFD;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus {
  outline: none;
  border-color: #4A90E2;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.12);
}

input.error, select.error {
  border-color: #B91C1C;
  background: #FFF5F5;
}

.field-hint {
  font-size: 0.73rem;
  color: #9CA3AF;
  margin-top: 0.3rem;
  display: block;
}

.field-error {
  font-size: 0.75rem;
  color: #B91C1C;
  margin-top: 0.25rem;
  display: none;
  font-weight: 500;
}

.field-error.visible { display: block; }


.intake-disclaimer {
  font-size: 0.72rem;
  color: #9CA3AF;
  margin-top: 1rem;
  line-height: 1.55;
  text-align: center;
}

.intake-disclaimer a { color: #6B7280; text-decoration: underline; }

/* ── Pre-Consent Page ─────────────────────────────────────────────────────── */

.consent-page { max-width: 780px; margin: 0 auto; }

.consent-banner {
  background: #EBF3FD;
  border: 1px solid #BAD5F5;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #1E40AF;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.consent-banner-icon { font-size: 1.1rem; flex-shrink: 0; }

.data-access-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }

.data-access-table th {
  text-align: left;
  padding: 0.6rem 0.875rem;
  background: #F4F6F9;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
  border-bottom: 2px solid #E5E9F0;
}

.data-access-table td {
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid #F0F1F4;
  font-size: 0.875rem;
  vertical-align: top;
}

.data-access-table tr:last-child td { border-bottom: none; }

.data-name { font-weight: 600; color: #0A1628; }
.data-reason { color: #4B5563; }

.assurances-list { list-style: none; padding: 0; margin: 0; }
.assurances-list li {
  padding: 0.3rem 0;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}

.assurances-list li::before {
  content: '✓';
  color: #2D7D46;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.admin-notice {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: 4px;
  padding: 0.875rem 1.1rem;
  font-size: 0.875rem;
  color: #92400E;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.admin-notice-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
}

.admin-notice-icon::before {
  content: '!';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  font-family: -apple-system, sans-serif;
}

.consent-actions { text-align: center; padding: 1.75rem 0 0; }

/* ── Risk Badges ──────────────────────────────────────────────────────────── */

.risk-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: -apple-system, sans-serif;
  white-space: nowrap;
}

.risk-critical { background: #FEE2E2; color: #991B1B; }
.risk-high     { background: #FEF3C7; color: #92400E; }
.risk-medium   { background: #E0F2FE; color: #075985; }
.risk-low      { background: #DCFCE7; color: #166534; }
.risk-info     { background: #F3F4F6; color: #374151; }

/* ── Report Layout ────────────────────────────────────────────────────────── */

.report-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.report-wrapper { max-width: 960px; margin: 0 auto; }

/* ── Brand Bar ────────────────────────────────────────────────────────────── */

.report-brand-bar {
  background: #06101F;
  border-radius: 8px 8px 0 0;
  padding: 0.65rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.report-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-tc {
  background: linear-gradient(135deg, #4A90E2 0%, #2563EB 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-family: -apple-system, sans-serif;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name-stack { display: flex; flex-direction: column; }

.brand-name-main {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: -apple-system, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-name-main sup {
  font-size: 0.5rem;
  vertical-align: super;
  letter-spacing: 0;
}

.brand-name-sub {
  font-size: 0.65rem;
  color: #5A7A9A;
  font-family: -apple-system, sans-serif;
  letter-spacing: 0.02em;
}

.report-brand-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.report-confidential-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #B45309;
  background: rgba(180,83,9,0.12);
  border: 1px solid rgba(180,83,9,0.3);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  font-family: -apple-system, sans-serif;
}

.report-date-tag {
  font-size: 0.72rem;
  color: #5A7A9A;
  font-family: -apple-system, sans-serif;
}

/* ── Hero Header ──────────────────────────────────────────────────────────── */

.report-hero {
  background: linear-gradient(135deg, #0A1628 0%, #0E2040 60%, #112348 100%);
  padding: 2.25rem 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
.report-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,144,226,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,226,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.report-hero-left { flex: 1; min-width: 260px; position: relative; }

.report-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.5rem;
}

.report-hero-company {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.report-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #7A9BBF;
  font-family: -apple-system, sans-serif;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.hero-meta-divider { color: #2A4060; }

.hero-score-label {
  font-weight: 700;
  padding: 0.1rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-score-label.green { background: rgba(45,125,70,0.25); color: #4ADE80; }
.hero-score-label.amber { background: rgba(180,83,9,0.25);  color: #FCD34D; }
.hero-score-label.red   { background: rgba(185,28,28,0.25); color: #F87171; }

.report-hero-tagline {
  font-size: 0.875rem;
  color: #A8BDD4;
  line-height: 1.55;
  max-width: 500px;
}

.report-hero-right { flex-shrink: 0; position: relative; }

/* Score ring */
.score-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.score-ring-svg { display: block; filter: drop-shadow(0 4px 16px rgba(74,144,226,0.25)); }

.score-ring-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: -apple-system, sans-serif;
}

/* Legacy score-number/label for ring SVG text */
.score-number { font-family: Georgia, serif; font-size: 2.5rem; font-weight: bold; line-height: 1; color: #FFFFFF; }
.score-label  { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); margin-top: 0.2rem; font-family: -apple-system, sans-serif; }

/* ── Executive Metrics Bar ────────────────────────────────────────────────── */

.exec-metrics-bar {
  background: #0E1F38;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 3px solid #1A3055;
  margin-bottom: 1.5rem;
}

.exec-metric {
  padding: 1.1rem 1.5rem;
  border-right: 1px solid #1A3055;
  text-align: center;
  position: relative;
}

.exec-metric:last-child { border-right: none; }

.exec-metric-val {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.exec-metric-sub {
  font-size: 0.67rem;
  font-family: -apple-system, sans-serif;
  color: #6B8FAF;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.exec-metric-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: -apple-system, sans-serif;
  color: #5A7A9A;
}

.exec-metric-good  .exec-metric-val { color: #4ADE80; }
.exec-metric-bad   .exec-metric-val { color: #F87171; }
.exec-metric-neutral .exec-metric-val { color: #93C5FD; }

.exec-metric-good::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #22C55E;
}

.exec-metric-bad::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #EF4444;
}

/* ── Executive Summary (structured) ──────────────────────────────────────── */

.exec-summary-block {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E8ECF3;
  border-top: 4px solid #0A1628;
  padding: 1.75rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(10,22,40,0.09);
}

.exec-summary-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.exec-summary-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.4rem;
}

.exec-summary-tagline {
  font-size: 1rem;
  color: #1A2332;
  line-height: 1.5;
  font-family: Georgia, serif;
  max-width: 600px;
}

.exec-score-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  flex-shrink: 0;
  text-align: center;
}
.exec-score-pill-green  { background: #DCFCE7; border: 2px solid #2D7D46; }
.exec-score-pill-amber  { background: #FEF3C7; border: 2px solid #B45309; }
.exec-score-pill-red    { background: #FEE2E2; border: 2px solid #B91C1C; }

.pill-num {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: Georgia, serif;
  line-height: 1;
}
.exec-score-pill-green .pill-num  { color: #2D7D46; }
.exec-score-pill-amber .pill-num  { color: #B45309; }
.exec-score-pill-red   .pill-num  { color: #B91C1C; }

.pill-denom {
  font-size: 0.72rem;
  color: #6B7280;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.2rem;
}

.pill-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: -apple-system, sans-serif;
}
.exec-score-pill-green .pill-label { color: #2D7D46; }
.exec-score-pill-amber .pill-label { color: #B45309; }
.exec-score-pill-red   .pill-label { color: #B91C1C; }

.exec-summary-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B7280;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #E8ECF3;
  padding-bottom: 0.4rem;
}

/* Finding Cards Grid */

.exec-finding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.exec-finding-card {
  border-radius: 7px;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
}

.exec-finding-card.finding-critical {
  background: #FFF1F1;
  border-color: #FECACA;
}
.exec-finding-card.finding-high {
  background: #FFFBEB;
  border-color: #FDE68A;
}
.exec-finding-card.finding-medium {
  background: #FFFBEB;
  border-color: #FDE68A;
  opacity: 0.85;
}
.exec-finding-card.finding-pass {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.exec-finding-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.exec-finding-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.finding-critical .exec-finding-icon { color: #B91C1C; }
.finding-high     .exec-finding-icon { color: #B45309; }
.finding-medium   .exec-finding-icon { color: #92400E; }
.finding-pass     .exec-finding-icon { color: #2D7D46; }

.exec-finding-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: -apple-system, sans-serif;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.finding-critical .exec-finding-badge { background: #FEE2E2; color: #B91C1C; }
.finding-high     .exec-finding-badge { background: #FEF3C7; color: #92400E; }
.finding-medium   .exec-finding-badge { background: #FEF3C7; color: #92400E; }
.finding-pass     .exec-finding-badge { background: #DCFCE7; color: #166534; }

.exec-finding-category {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1A2332;
  margin-bottom: 0.25rem;
  font-family: -apple-system, sans-serif;
}

.exec-finding-status {
  font-size: 0.79rem;
  color: #374151;
  line-height: 1.45;
}

/* Domain Score Breakdown */

.domain-score-table {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.domain-score-row {
  display: grid;
  grid-template-columns: 180px 1fr 48px 90px;
  align-items: center;
  gap: 0.75rem;
}

.domain-score-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1A2332;
  font-family: -apple-system, sans-serif;
}

.domain-score-bar-wrap {
  background: #F3F4F6;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}

.domain-score-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.domain-score-bar.good  { background: #2D7D46; }
.domain-score-bar.amber { background: #B45309; }
.domain-score-bar.red   { background: #B91C1C; }

.domain-score-pct {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  text-align: right;
}

.domain-score-label {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: -apple-system, sans-serif;
}

/* Advisor Notes (AI narrative) */

.exec-advisor-notes {
  margin-top: 1.5rem;
  background: #F8FAFF;
  border-radius: 7px;
  border: 1px solid #DBEAFE;
  padding: 1.1rem 1.25rem;
}

.exec-advisor-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  margin-bottom: 0.8rem;
}

.exec-advisor-icon {
  display: flex;
  align-items: center;
  color: #4A90E2;
}

.exec-advisor-body p {
  font-size: 0.9rem;
  color: #1A2332;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.exec-advisor-body p:last-child { margin-bottom: 0; }

/* Top Priority Card */

.exec-priority-card {
  margin-top: 1.25rem;
  background: #0A1628;
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  color: #FFFFFF;
}

.exec-priority-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.exec-priority-num {
  font-size: 0.72rem;
  font-weight: 800;
  font-family: -apple-system, sans-serif;
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.exec-priority-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  font-family: -apple-system, sans-serif;
  flex: 1;
}

.exec-priority-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  font-family: -apple-system, sans-serif;
}

.exec-priority-why {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* Narrative (legacy — keep for print compat) */
.narrative-section {
  background: #FFFFFF;
  border-radius: 0 6px 6px 0;
  border-left: 4px solid #4A90E2;
  padding: 1.75rem 2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(10,22,40,0.08);
  position: relative;
}

.narrative-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4A90E2;
  font-family: -apple-system, sans-serif;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.narrative-body p {
  font-size: 0.92rem;
  color: #1A2332;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.narrative-body p:last-child { margin-bottom: 0; }

/* ── Report Sections ──────────────────────────────────────────────────────── */

.report-section {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(10,22,40,0.07);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid #E8ECF3;
}

.section-header {
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid #E8ECF3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #FAFBFD;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-chip {
  width: 2.2rem;
  height: 2.2rem;
  background: #0A1628;
  color: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: -apple-system, sans-serif;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.copilot-chip { background: linear-gradient(135deg, #2563EB, #4A90E2); }
.rec-chip     { background: linear-gradient(135deg, #0A1628, #1A3055); }

.section-supertitle {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  font-family: -apple-system, sans-serif;
  display: block;
  margin-bottom: 0.1rem;
}

.section-header h2 {
  font-size: 1.05rem;
  color: #0A1628;
  margin: 0;
  line-height: 1.25;
}

.section-body { padding: 1.75rem; }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: #F8F9FB;
  border: 1px solid #E8ECF3;
  border-radius: 8px;
  padding: 1.1rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #E8ECF3;
}

.stat-card.danger::before  { background: #EF4444; }
.stat-card.warning::before { background: #F59E0B; }
.stat-card.good::before    { background: #22C55E; }

.stat-value {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #0A1628;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: #6B7280;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: -apple-system, sans-serif;
}

.stat-card.danger .stat-value  { color: #DC2626; }
.stat-card.warning .stat-value { color: #D97706; }
.stat-card.good .stat-value    { color: #16A34A; }

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  text-align: left;
  padding: 0.55rem 0.875rem;
  background: #F4F6F9;
  color: #374151;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #E5E9F0;
}

.data-table td {
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid #F0F1F4;
  color: #1A2332;
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td      { background: #FAFBFC; }
.table-wrap { overflow-x: auto; }

/* Conditional Access policy table */
.ca-table { margin-top: 0.75rem; }
.ca-controls { font-size: 0.8rem; color: #4B5563; }

.ca-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ca-enabled  { background: #DCFCE7; color: #15803D; }
.ca-report   { background: #FEF3C7; color: #92400E; }
.ca-disabled { background: #F3F4F6; color: #6B7280; }

/* ── Tier 2 / Advanced check badges ───────────────────────────────────────── */

/* Inline badge used in report subsection titles and pre-consent table */
.tier2-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  background: linear-gradient(135deg, #1E3A6E, #4A90E2);
  color: #fff;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Smaller variant for pre-consent table */
.tier2-badge-sm {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  background: linear-gradient(135deg, #1E3A6E, #4A90E2);
  color: #fff;
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* "Advanced Check" badge on check cards */
.advanced-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  background: linear-gradient(135deg, #1E3A6E, #4A90E2);
  color: #fff;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Check card with advanced-check highlight border */
.check-card-advanced {
  border-color: #4A90E2 !important;
  border-width: 2px !important;
}

/* ── Email Authentication table (DMARC / DKIM / SPF) ─────────────────────── */

.email-auth-table {
  margin-top: 1rem;
  border: 1px solid #E8ECF3;
  border-radius: 8px;
  overflow: hidden;
}

.email-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E8ECF3;
  gap: 1rem;
}

.email-auth-row:last-child { border-bottom: none; }

.email-auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.email-auth-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A2332;
  font-family: -apple-system, sans-serif;
}

.email-auth-desc {
  font-size: 0.77rem;
  color: #6B7280;
  font-family: -apple-system, sans-serif;
}

.email-auth-status { flex-shrink: 0; }

.email-auth-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}
.email-auth-badge.pass { background: #DCFCE7; color: #166534; }
.email-auth-badge.warn { background: #FEF3C7; color: #92400E; }
.email-auth-badge.fail { background: #FEE2E2; color: #991B1B; }

/* ── Policy Check Grid (app consent, guest controls, etc.) ────────────────── */

.policy-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.policy-check-item {
  border-radius: 7px;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
}

.policy-check-item.pass { background: #F0FDF4; border-color: #BBF7D0; }
.policy-check-item.warn { background: #FFFBEB; border-color: #FDE68A; }
.policy-check-item.fail { background: #FFF1F1; border-color: #FECACA; }

.policy-check-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.policy-check-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1A2332;
  font-family: -apple-system, sans-serif;
}

.policy-check-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: -apple-system, sans-serif;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.policy-check-badge.pass { background: #DCFCE7; color: #166534; }
.policy-check-badge.warn { background: #FEF3C7; color: #92400E; }
.policy-check-badge.fail { background: #FEE2E2; color: #991B1B; }

.policy-check-detail {
  font-size: 0.79rem;
  color: #374151;
  line-height: 1.5;
  margin: 0 !important;
}

/* ── PowerShell script box in report ──────────────────────────────────────── */

.ps-script-box {
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

.ps-script-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #F9FAFB;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A2332;
  font-family: -apple-system, sans-serif;
  user-select: none;
}

.ps-script-header:hover { background: #F3F4F6; }

.ps-script-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  background: #1E3A6E;
  color: #fff;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: monospace;
  flex-shrink: 0;
}

.ps-script-toggle {
  margin-left: auto;
  font-size: 0.7rem;
  color: #6B7280;
  transition: transform 0.18s ease;
}

.ps-script-body {
  display: none;
  padding: 1rem;
  border-top: 1px solid #E5E9F0;
  background: #FFFFFF;
}

.ps-open .ps-script-body { display: block; }
.ps-open .ps-script-toggle { transform: rotate(180deg); }

.ps-code {
  background: #0A1628;
  color: #A8D8A8;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre;
  margin: 0.75rem 0;
}

.ps-note {
  font-size: 0.82rem;
  color: #6B7280;
  margin: 0;
  font-style: italic;
}

/* Forwarding type badges in the report table */
.fwd-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.fwd-rule  { background: #FEF3C7; color: #92400E; }
.fwd-smtp  { background: #FEE2E2; color: #991B1B; }

/* Forwarding scope box — appears at the top of the forwarding section in the report */
.forwarding-scope-box {
  background: #F0F4FF;
  border: 1px solid #C7D7F4;
  border-left: 4px solid #4A90E2;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.forwarding-scope-box strong {
  color: #1E3A6E;
}

/* Advanced checks callout block — spans the full grid below the check cards */
.advanced-checks-callout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, #0A1628 0%, #1E3A6E 100%);
  color: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.advanced-checks-callout h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.advanced-checks-callout p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin: 0;
}

.advanced-checks-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(74,144,226,0.25);
  border: 1.5px solid rgba(74,144,226,0.5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.advanced-checks-icon::after {
  content: '';
  width: 14px;
  height: 8px;
  border-left: 2.5px solid #4A90E2;
  border-bottom: 2.5px solid #4A90E2;
  transform: rotate(-45deg);
  margin-top: -4px;
}

/* Section subsection headings */
.subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
  font-family: -apple-system, sans-serif;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #E5E9F0;
  display: flex;
  align-items: center;
}

.subsection-title:first-child { margin-top: 0; }

/* Status blocks */
.status-block {
  border-radius: 6px;
  padding: 1rem 1.25rem 1rem 1.5rem;
  margin: 0.5rem 0;
  border-left: 4px solid;
}

.status-block.pass { background: #F0FDF4; border-color: #22C55E; border-top: 1px solid #86EFAC; border-right: 1px solid #86EFAC; border-bottom: 1px solid #86EFAC; }
.status-block.fail { background: #FFF1F2; border-color: #EF4444; border-top: 1px solid #FCA5A5; border-right: 1px solid #FCA5A5; border-bottom: 1px solid #FCA5A5; }
.status-block.warn { background: #FFFBEB; border-color: #F59E0B; border-top: 1px solid #FDE68A; border-right: 1px solid #FDE68A; border-bottom: 1px solid #FDE68A; }

.status-block h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.status-block.pass h3 { color: #166534; }
.status-block.fail h3 { color: #991B1B; }
.status-block.warn h3 { color: #92400E; }
.status-block p  { font-size: 0.85rem; color: #4B5563; margin-bottom: 0; }

/* Score bar */
.score-bar-track {
  background: #E5E9F0;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
  margin: 0.25rem 0;
}

.score-bar-fill { height: 100%; border-radius: 4px; }
.score-bar-fill.green { background: #2D7D46; }
.score-bar-fill.amber { background: #B45309; }
.score-bar-fill.red   { background: #B91C1C; }

/* Improvement actions list */
.improvement-list { list-style: none; margin: 0.75rem 0 0; }

.improvement-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #F0F1F4;
  font-size: 0.875rem;
  gap: 1rem;
}

.improvement-list li:last-child { border-bottom: none; }
.improvement-name  { color: #1A2332; flex: 1; }
.improvement-pts   {
  font-weight: 700;
  color: #4A90E2;
  background: #EBF3FD;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ── Copilot / AI Readiness Section ──────────────────────────────────────── */

.copilot-section {
  background: #E8F0FB;
  border: 1px solid #BAD5F5;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.copilot-section .section-header {
  background: #D6E6F9;
  border-bottom: 1px solid #BAD5F5;
}

.copilot-section .section-header h2 { color: #1E3A6E; }

.copilot-section .section-body { background: #E8F0FB; padding: 1.5rem 1.75rem; }

/* AI Readiness rating */
.ai-rating-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  border: 1px solid #BAD5F5;
  flex-wrap: wrap;
}

.ai-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid;
}

.ai-score-circle.green { background: #F0FDF4; border-color: #2D7D46; }
.ai-score-circle.amber { background: #FFFBEB; border-color: #B45309; }
.ai-score-circle.red   { background: #FFF1F2; border-color: #B91C1C; }

.ai-score-circle .score-number { font-size: 2rem; color: #0A1628; }
.ai-score-circle .score-label  { color: #6B7280; }

.ai-rating-info { flex: 1; min-width: 200px; }
.ai-rating-label {
  font-size: 1.25rem;
  font-family: Georgia, serif;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

.ai-rating-label.green { color: #2D7D46; }
.ai-rating-label.amber { color: #B45309; }
.ai-rating-label.red   { color: #B91C1C; }

.ai-rating-statement { font-size: 0.875rem; color: #374151; }

/* Copilot checklist */
.copilot-checklist { list-style: none; margin: 0; }

.copilot-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(74,144,226,0.15);
  font-size: 0.875rem;
}

.copilot-checklist li:last-child { border-bottom: none; }

.copilot-check-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.copilot-check-dot.check-pass { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.copilot-check-dot.check-fail { background: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.copilot-check-dot.check-warn { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }

.copilot-check-text strong { display: block; font-size: 0.875rem; color: #0A1628; margin-bottom: 0.15rem; }
.copilot-check-text span   { font-size: 0.82rem; color: #4B5563; }

.blockers-box, .prereqs-box {
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.blockers-box { background: #FFF1F2; border: 1px solid #FCA5A5; }
.prereqs-box  { background: #FFFBEB; border: 1px solid #FDE68A; }

.blockers-box h4 { font-size: 0.82rem; color: #991B1B; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: -apple-system, sans-serif; }
.prereqs-box  h4 { font-size: 0.82rem; color: #92400E; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: -apple-system, sans-serif; }

.blockers-box ul, .prereqs-box ul { padding-left: 1.2rem; }
.blockers-box li, .prereqs-box li { font-size: 0.85rem; margin-bottom: 0.35rem; }
.blockers-box li { color: #991B1B; }
.prereqs-box  li { color: #92400E; }

/* ── Recommendations ──────────────────────────────────────────────────────── */

.rec-list { list-style: none; }

.rec-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #F0F2F6;
  align-items: flex-start;
}

.rec-item:last-child { border-bottom: none; }

.rec-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #0A1628, #1A3055);
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: Georgia, serif;
  box-shadow: 0 2px 6px rgba(10,22,40,0.18);
}

.rec-item:first-child .rec-number {
  background: linear-gradient(135deg, #B91C1C, #991B1B);
}

.rec-item:nth-child(2) .rec-number {
  background: linear-gradient(135deg, #B45309, #92400E);
}

.rec-content {}

.rec-meta { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; flex-wrap: wrap; }

.rec-effort {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: -apple-system, sans-serif;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  background: #F3F4F6;
  color: #4B5563;
  border: 1px solid #E5E7EB;
}

.rec-title { font-size: 0.975rem; font-weight: 700; color: #0A1628; margin-bottom: 0.4rem; line-height: 1.35; }
.rec-why   { font-size: 0.855rem; color: #4B5563; line-height: 1.65; }

/* ── CTA Box ──────────────────────────────────────────────────────────────── */

.report-cta-box {
  background: linear-gradient(135deg, #06101F 0%, #0D1E38 50%, #0A1E3F 100%);
  border-radius: 10px;
  padding: 2.25rem 2.5rem;
  margin: 2rem 0 1.25rem;
  color: #FFFFFF;
  border: 1px solid #1A3055;
  position: relative;
  overflow: hidden;
}

.report-cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4A90E2, #2563EB, #4A90E2);
}

.report-cta-box h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.report-cta-box p { color: #A8BDD4; font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.65; }

.cta-btn-row {
  margin-bottom: 1.5rem;
}

.cta-contact-strip {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
}

.cta-strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  padding: 0 1.5rem 0 0;
}

.cta-strip-item:first-child { padding-left: 0; }

.cta-strip-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5A7A9A;
  font-family: -apple-system, sans-serif;
}

.cta-strip-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  font-family: -apple-system, sans-serif;
}

.cta-strip-item:hover .cta-strip-value { color: #7DB3E8; }

.cta-strip-sep {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.1);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

/* ── Legal Disclaimer ─────────────────────────────────────────────────────── */

.report-disclaimer {
  background: #F4F6F9;
  border: 1px solid #D1D9E6;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  font-size: 0.73rem;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.report-disclaimer strong { color: #4B5563; }

/* Skipped sections */
.skipped-notice {
  background: #FAFAFA;
  border: 1px dashed #D1D9E6;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: #6B7280;
  font-style: italic;
}

/* ── Policy Pages ─────────────────────────────────────────────────────────── */

.policy-page { max-width: 760px; margin: 0 auto; }
.policy-page h1 { margin-bottom: 0.5rem; }
.policy-page .last-updated { color: #6B7280; font-size: 0.85rem; margin-bottom: 2.5rem; display: block; }
.policy-page h2 { font-size: 1.15rem; margin: 2rem 0 0.65rem; padding-bottom: 0.35rem; border-bottom: 1px solid #E5E9F0; }
.policy-page p  { font-size: 0.9rem; color: #374151; margin-bottom: 0.9rem; }
.policy-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-page ul li { font-size: 0.9rem; color: #374151; margin-bottom: 0.4rem; }
.policy-page a { color: #4A90E2; }

/* ── Error Page ───────────────────────────────────────────────────────────── */

.error-page { max-width: 540px; margin: 3rem auto; text-align: center; }

.error-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFF1F2;
  border: 2px solid #FCA5A5;
  margin: 0 auto 1.25rem;
  position: relative;
}

.error-icon::before {
  content: '!';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B91C1C;
  font-weight: 800;
  font-size: 1.4rem;
  font-family: Georgia, serif;
}

.error-page h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.error-page p  { color: #4B5563; margin-bottom: 1.5rem; }

/* ── Utilities ────────────────────────────────────────────────────────────── */

.text-muted  { color: #6B7280; }
.text-small  { font-size: 0.82rem; }
.text-center { text-align: center; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.gap-stack > * + * { margin-top: 1rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 2.75rem 0 2.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .report-hero { padding: 1.5rem; flex-direction: column; }
  .report-hero-company { font-size: 1.5rem; }
  .section-body { padding: 1.25rem; }
  .section-header { padding: 1rem 1.25rem; }
  .report-cta-box { padding: 1.5rem; }
  .ai-rating-box { gap: 1.25rem; }
  .trust-strip-inner { gap: 0.75rem 1.5rem; }
  .copilot-highlight { flex-direction: column; gap: 0.75rem; }
  .exec-metrics-bar { grid-template-columns: 1fr 1fr; }
  .exec-metric { border-right: none; border-bottom: 1px solid #1A3055; }
  .exec-metric:nth-child(odd) { border-right: 1px solid #1A3055; }
  .report-brand-bar { padding: 0.65rem 1rem; }
  /* Intake form — reduce card padding on mobile */
  .intake-card { padding: 1.75rem 1.25rem; margin: 1rem auto; }
  /* Executive summary responsive */
  .exec-summary-block { padding: 1.25rem 1.1rem; }
  .exec-finding-grid { grid-template-columns: 1fr 1fr; }
  .domain-score-row { grid-template-columns: 140px 1fr 44px; }
  .domain-score-label { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .report-action-bar { justify-content: flex-start; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .exec-metrics-bar { grid-template-columns: 1fr 1fr; }
  .exec-finding-grid { grid-template-columns: 1fr; }
  .domain-score-row { grid-template-columns: 1fr 1fr 44px; }
  .domain-score-name { grid-column: 1 / -1; }
}

/* ── Self-Assessment Quiz (/assess) ──────────────────────────────────────── */

.assess-shell {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: #0A1628;
}

.assess-progress-wrap {
  height: 4px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.assess-progress-fill {
  height: 4px;
  background: #4A90E2;
  transition: width 0.4s ease;
  width: 0%;
}

.assess-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  animation: assessFadeIn 0.3s ease;
}
.assess-stage.hidden { display: none; }

@keyframes assessFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.assess-q-inner {
  width: 100%;
  max-width: 620px;
}

.assess-q-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A90E2;
  margin-bottom: 1.25rem;
}

.assess-q-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
@media (max-width: 600px) {
  .assess-q-text { font-size: 1.25rem; }
}

.assess-q-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.assess-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.assess-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  color: rgba(255,255,255,0.85);
  font-size: 0.975rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.4;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  width: 100%;
}
.assess-option:hover {
  background: rgba(74,144,226,0.15);
  border-color: rgba(74,144,226,0.5);
  color: #FFFFFF;
}
.assess-option.selected {
  background: rgba(74,144,226,0.2);
  border-color: #4A90E2;
  color: #FFFFFF;
}
.assess-option-key {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0;
  transition: background 0.15s, color 0.15s;
}
.assess-option.selected .assess-option-key {
  background: #4A90E2;
  border-color: #4A90E2;
  color: #FFFFFF;
}

.assess-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.assess-nav-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: color 0.15s;
}
.assess-nav-back:hover { color: rgba(255,255,255,0.7); }
.assess-nav-back:disabled { visibility: hidden; }

.assess-btn-next {
  background: #4A90E2;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.15s, opacity 0.15s;
  opacity: 0.4;
  pointer-events: none;
}
.assess-btn-next.active {
  opacity: 1;
  pointer-events: auto;
}
.assess-btn-next.active:hover { background: #1a56c4; }

/* Results stage */
.assess-results-inner {
  width: 100%;
  max-width: 640px;
}

.assess-result-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A90E2;
  margin-bottom: 0.75rem;
}

.assess-result-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.65rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.assess-result-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.assess-tier-band {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.assess-tier-band.low    { background: rgba(45,125,70,0.15);  border: 1.5px solid rgba(45,125,70,0.4); }
.assess-tier-band.medium { background: rgba(180,83,9,0.15);   border: 1.5px solid rgba(180,83,9,0.4); }
.assess-tier-band.high   { background: rgba(185,28,28,0.15);  border: 1.5px solid rgba(185,28,28,0.4); }

.assess-tier-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.assess-tier-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}
.assess-tier-band.low    .assess-tier-label { color: #4ADE80; }
.assess-tier-band.medium .assess-tier-label { color: #FCD34D; }
.assess-tier-band.high   .assess-tier-label { color: #F87171; }
.assess-tier-desc {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.assess-observations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.assess-observation {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid #4A90E2;
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
}
.assess-observation.obs-critical { border-left-color: #B91C1C; }
.assess-observation.obs-warn     { border-left-color: #B45309; }
.assess-observation.obs-good     { border-left-color: #2D7D46; }

.assess-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.assess-action-primary {
  display: block;
  background: #4A90E2;
  color: #FFFFFF;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.975rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: background 0.15s;
}
.assess-action-primary:hover { background: #1a56c4; color: #fff; text-decoration: none; }
.assess-action-secondary {
  display: block;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.925rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: background 0.15s, border-color 0.15s;
}
.assess-action-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; text-decoration: none; }

.assess-lead-divider {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0.25rem 0;
}

.assess-lead-form {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.25rem;
}
.assess-lead-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-bottom: 0.75rem;
  display: block;
}
.assess-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 500px) { .assess-lead-row { grid-template-columns: 1fr; } }
.assess-lead-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
.assess-lead-input::placeholder { color: rgba(255,255,255,0.3); }
.assess-lead-input:focus { border-color: #4A90E2; }
.assess-lead-submit {
  width: 100%;
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.15s, border-color 0.15s;
}
.assess-lead-submit:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.assess-lead-thanks {
  text-align: center;
  color: #4ADE80;
  font-size: 0.875rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 0.5rem;
  display: none;
}

/* ── Floating Consultation CTA (screen only) ─────────────────────────────── */

.floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.35));
  animation: floatIn 0.4s ease 1.2s both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0A1628;
  color: #FFFFFF;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border: 2px solid rgba(74,144,226,0.55);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.floating-cta-btn:hover {
  background: #1a56c4;
  border-color: #4A90E2;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
}
.floating-cta-btn svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .floating-cta { bottom: 1rem; right: 1rem; left: 1rem; }
  .floating-cta-btn { width: 100%; justify-content: center; }
}

/* ── Exec Summary Micro-CTA (screen only) ────────────────────────────────── */

.exec-micro-cta {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.exec-micro-cta-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.exec-micro-cta-link:hover {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ── CTA Box — Score-Reactive Urgency Elements ───────────────────────────── */

.cta-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(185,28,28,0.18);
  color: #F87171;
  border: 1px solid rgba(185,28,28,0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.cta-urgency-badge.amber {
  background: rgba(180,83,9,0.18);
  color: #FCD34D;
  border-color: rgba(180,83,9,0.35);
}
.cta-urgency-badge.green {
  background: rgba(45,125,70,0.18);
  color: #4ADE80;
  border-color: rgba(45,125,70,0.35);
}
.report-cta-score-context {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.6rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: italic;
}

/* ── Print / PDF Stylesheet ───────────────────────────────────────────────── */

@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  html, body { font-size: 10pt; background: #FFFFFF; }

  /* Hide interactive elements */
  .site-header,
  .site-footer,
  .report-action-bar,
  .no-print,
  .header-nav,
  .btn-cancel { display: none !important; }

  /* Remove page padding */
  .main-content { padding: 0; }
  .container, .report-wrapper { max-width: 100%; padding: 0; }

  @page {
    margin: 1.5cm 1.25cm 2cm;
    @top-left   { content: "TenantScan™ by Lowery Solutions — CONFIDENTIAL"; font-size: 7.5pt; color: #6B7280; font-family: Arial, sans-serif; }
    @bottom-right { content: "Page " counter(page) " of " counter(pages); font-size: 7.5pt; color: #6B7280; }
  }

  /* Hero prints dark — force colors */
  .report-hero { background: #0A1628 !important; }
  .report-brand-bar { background: #06101F !important; }
  .exec-metrics-bar { background: #0E1F38 !important; }

  .report-section,
  .copilot-section,
  .narrative-section,
  .exec-summary-block { box-shadow: none !important; page-break-inside: avoid; }
  .exec-priority-card { background: #0A1628 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .exec-finding-card.finding-critical { background: #FFF1F1 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .exec-finding-card.finding-pass { background: #F0FDF4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .report-section { margin-bottom: 0.75rem; }

  .copilot-section .section-body { background: #E8F0FB !important; }
  .ai-rating-box { border: 1px solid #BAD5F5 !important; }

  .report-cta-box { background: #0A1628 !important; color: #FFFFFF !important; page-break-inside: avoid; }
  .report-cta-box h3 { color: #FFFFFF !important; }
  .report-cta-box p  { color: #A8BDD4 !important; }

  .data-table th { background: #F4F6F9 !important; }

  a[href]::after { content: none; }
  h2, h3 { page-break-after: avoid; }
}
