:root {
  --pulse-navy: #0F1F3D;
  --pulse-coral: #F04F5F;
  --pulse-orange: #FF7A00;
  --pulse-amber: #FFC107;
  --pulse-pink: #E83E8C;
  --pulse-violet: #7B61FF;
  --pulse-neutral-light: #F6F7FB;
  --pulse-neutral-dark: #111827;
  --pulse-gradient: linear-gradient(120deg, #F04F5F 0%, #FF7A00 38%, #E83E8C 68%, #7B61FF 100%);
  --bg: #f5f7fb;
  --surface: rgba(255,255,255,.9);
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #7B61FF;
  --brand-dark: #0F1F3D;
  --brand-soft: #f2efff;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --shadow: 0 20px 50px rgba(15,23,42,.12);
  --radius: 22px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--pulse-violet);
  outline-offset: 3px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, #ffffff 0%, var(--pulse-neutral-light) 64%, #f2efff 100%);
  min-height: 100vh;
  padding: 32px;
}
.page { max-width: 1120px; margin: 0 auto; }
.page-narrow { max-width: 920px; }
.card { background: var(--surface); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin-bottom: 24px; }
.hero { padding: 36px; position: relative; overflow: visible; z-index: 10; }
.customer-pulse-hero { padding: 22px 26px 24px; margin-bottom: 18px; }
.customer-pulse-hero .topbar { margin-bottom: 10px; }
.customer-pulse-hero .eyebrow { margin-bottom: 0; }
.customer-pulse-hero h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: 0; }
.customer-pulse-hero .subtitle { max-width: 760px; margin: 8px 0 0; }
.eyebrow { display: inline-flex; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: 1.04; letter-spacing: 0; }
h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: 0; }
.subtitle, .helper, .note { color: var(--muted); line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.product-search-wrap { display: grid; gap: 10px; margin: 18px 0; }
.selected-product-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }
.product-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 7px 10px; font-size: 13px; font-weight: 900; }
.product-chip button { width: auto; padding: 0; border-radius: 999px; background: transparent; color: inherit; line-height: 1; }
.product-family-list { display: grid; gap: 12px; margin-top: 18px; }
.product-family { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.product-family summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; cursor: pointer; font-weight: 900; }
.product-family summary::-webkit-details-marker { display: none; }
.product-family-title { display: flex; flex-direction: column; gap: 3px; }
.product-family-title small { color: var(--muted); font-weight: 800; }
.product-family-actions { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.family-action {
  width: auto;
  padding: 7px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
}
.family-action:hover, .family-action:focus-visible {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: none;
}
.product-family-caret { color: #475569; padding-left: 2px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 0 16px 16px; }
.product-card > span { min-height: 56px; align-items: flex-start; gap: 10px; }
.product-card .product-name { display: block; font-weight: 900; }
.product-card .product-count { display: block; color: inherit; opacity: .72; font-size: 12px; margin-top: 2px; }
.section-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.prism-panel { border-color: rgba(37,99,235,.22); overflow: hidden; }
.prism-art { width: 180px; max-width: 30%; flex: 0 0 auto; opacity: .96; }
.prism-art svg { display: block; width: 100%; height: auto; }
.prism-ray-in, .prism-ray-core { stroke: #f8fafc; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(37,99,235,.35)); }
.prism-ray-core { stroke-width: 3; }
.prism-spectrum { fill: none; stroke-width: 3; stroke-linecap: round; opacity: .82; }
.prism-spectrum-blue { stroke: #2563eb; }
.prism-spectrum-teal { stroke: #14b8a6; }
.prism-spectrum-green { stroke: #22c55e; }
.prism-spectrum-warm { stroke: url(#raySpectrum); }
.prism-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.prism-card { position: relative; }
.prism-card input { position: absolute; opacity: 0; }
.prism-card > span {
  display: block;
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  cursor: pointer;
  transition: .2s ease;
}
.prism-card > span::before {
  content: "";
  display: block;
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  margin-bottom: 16px;
}
.prism-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.prism-card small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; font-weight: 750; }
.prism-card input:checked + span {
  border-color: var(--brand);
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  color: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(37,99,235,.16);
}
.prism-card input:checked + span::before { background: linear-gradient(135deg, var(--brand), #0f766e); }
.prism-card input:focus-visible + span { outline: 3px solid rgba(37,99,235,.28); outline-offset: 3px; }
.prism-target[hidden], [data-prism-copy][hidden], [data-prism-submit][hidden] { display: none; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.summary-tile { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 16px; }
.summary-tile span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.summary-tile strong { display: block; margin-top: 6px; font-size: 24px; line-height: 1.1; }
.locale-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
label { font-weight: 700; font-size: 14px; }
input[type="date"], input[type="email"], input[type="time"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.period-preset { margin-top: 18px; }
.selection-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.mini-button { border: 1px solid var(--line); background: white; color: var(--text); padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; cursor: pointer; }
.mini-button:hover { background: #f8fafc; }
.check-card, .radio-card { position: relative; }
.check-card input[type="checkbox"], .radio-card input[type="radio"] { position: absolute; opacity: 0; }
.check-card > span {
  display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 15px;
  border-radius: 16px; border: 1px solid var(--line); background: #f1f5f9; color: #94a3b8;
  cursor: pointer; font-weight: 800; transition: .2s ease; filter: grayscale(1); opacity: .65;
}
.check-card > span::before {
  content: ""; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #cbd5e1;
  background: #e5e7eb; flex: 0 0 auto; transition: .2s ease;
}
.check-card input:checked + span {
  border-color: var(--green); background: var(--green-soft); color: #14532d;
  box-shadow: 0 12px 24px rgba(22,163,74,.16); filter: none; opacity: 1;
}
.check-card input:checked + span::before {
  content: "✓"; display: grid; place-items: center; background: var(--green); border-color: var(--green);
  color: white; font-weight: 900; font-size: 16px;
}
.product-card > span {
  background: #ffffff;
  color: #1f2937;
  border-color: #cbd5e1;
  filter: none;
  opacity: 1;
}
.product-card > span::before {
  background: #ffffff;
  border-color: #94a3b8;
}
.product-card .product-count { color: #64748b; opacity: 1; }
.product-card:hover > span,
.product-card input:focus-visible + span {
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(37,99,235,.12);
}
.product-card input:focus-visible + span { outline: 3px solid rgba(37,99,235,.24); outline-offset: 2px; }
.product-card input:checked + span .product-count { color: #166534; }
.locale-card > span { min-height: 44px; padding: 10px 12px; gap: 8px; font-size: 13px; }
.locale-card > span::before { width: 18px; height: 18px; border-radius: 6px; }
.locale-card input:checked + span::before { font-size: 12px; }
.locale-line { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locale-code { font-weight: 900; color: inherit; }
.locale-meta { color: inherit; opacity: .78; font-weight: 750; overflow: hidden; text-overflow: ellipsis; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.radio-card span {
  display: block; min-height: 96px; padding: 16px; border-radius: 16px;
  border: 1px solid var(--line); background: white; cursor: pointer; transition: .2s ease;
}
.radio-card input:checked + span { border-color: var(--brand); background: #eff6ff; color: var(--brand-dark); box-shadow: 0 10px 24px rgba(37,99,235,.12); }
.radio-title { display: block; font-size: 18px; font-weight: 900; }
.radio-icon { font-size: 27px; margin-bottom: 8px; display: block; }
.radio-copy { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.45; }
.custom-locales-panel { display: none; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(248,250,252,.85); }
.custom-locales-panel.visible { display: block; }
.email-panel { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(248,250,252,.85); }
.email-field { display: none; margin-top: 14px; }
.email-field.visible { display: block; }
.email-field-group { display: grid; gap: 14px; }
.actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.action-form { margin: 0; }
.actions .action-form { display: contents; }
button, .button-link {
  border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-weight: 800;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-primary { color: white; background: var(--pulse-navy); box-shadow: 0 14px 30px rgba(15,31,61,.22); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(240,79,95,.24); }
.btn-secondary { color: var(--text); background: #eef2f7; }
.btn-subscribe { color: #075985; background: #e0f2fe; border: 1px solid #7dd3fc; box-shadow: 0 10px 22px rgba(14,165,233,.12); }
.btn-subscribe:hover { background: #bae6fd; transform: translateY(-1px); }
.btn-tertiary { color: #334155; background: #ffffff; border: 1px solid #cbd5e1; box-shadow: 0 8px 18px rgba(15,23,42,.06); }
.btn-tertiary:hover { background: #f8fafc; border-color: #94a3b8; transform: translateY(-1px); }
.btn-unavailable { color: #94a3b8; background: #f1f5f9; border: 1px dashed #cbd5e1; cursor: not-allowed; box-shadow: none; }
.report-actions { align-items: center; margin-top: 24px; }
.subscription-action { display: inline-flex; }
.subscription-action .button-link { width: 100%; }
.subscription-card { border-color: #bfdbfe; }
.subscription-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.subscription-email { max-width: 280px; overflow-wrap: anywhere; color: var(--muted); font-size: 13px; font-weight: 800; }
.subscription-open:disabled { opacity: .5; cursor: not-allowed; }
.subscription-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 56px 24px 40px; background: rgba(15, 23, 42, .42); overflow-y: auto; }
.subscription-modal[hidden] { display: none; }
.subscription-modal-card { width: min(560px, 100%); max-height: calc(100vh - 96px); overflow-y: auto; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; }
.subscription-modal-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.modal-close, .icon-delete { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; padding: 0; line-height: 1; background: #f1f5f9; color: #0f172a; flex: 0 0 auto; }
.icon-delete { background: #fee2e2; color: #991b1b; font-size: 24px; }
.subscription-date-grid { margin-top: 12px; }
.subscription-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.subscription-message { margin-top: 12px; font-weight: 800; color: #047857; }
.subscription-message.error { color: #b91c1c; }
.subscription-list { display: grid; gap: 14px; }
.subscription-row { display: flex; justify-content: space-between; gap: 18px; border: 1px solid var(--line); background: white; border-radius: 16px; padding: 18px; }
.subscription-row h3 { margin: 0 0 6px; }
.modal-open, .contact-drawer-open { overflow: hidden; }
.progress-wrap { background: #e5e7eb; border-radius: 999px; overflow: hidden; height: 18px; margin: 24px 0 12px; }
.progress-bar { height: 100%; width: 0%; background: linear-gradient(135deg, var(--brand), #0f766e); transition: width .4s ease; }
.status-line { font-size: 18px; font-weight: 900; }
.processing-card { margin-top: 22px; display: grid; grid-template-columns: 78px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); background: white; border-radius: 20px; padding: 18px; overflow: hidden; }
.processing-icon { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; background: #eff6ff; animation: breathe 1.8s ease-in-out infinite; }
.processing-name { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.processing-sub { color: var(--muted); line-height: 1.45; }
@keyframes breathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(37,99,235,0); } 50% { transform: scale(1.05); box-shadow: 0 18px 30px rgba(37,99,235,.18); } }
table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 18px; background: white; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #eff6ff; color: var(--brand-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
td:last-child, th:last-child { text-align: right; }
td.story-link-cell, th.story-link-cell { text-align: left; }
.story-link {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}
.story-link:hover { text-decoration: underline; }
.stacked-cards {
  display: grid;
  gap: 24px;
}
.total-row td { font-weight: 900; background: #f0fdf4; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { background: #f8fafc; border: 1px solid var(--line); padding: 9px 12px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 13px; }
.chart { display: grid; gap: 14px; margin-top: 18px; }
.chart-row { display: grid; grid-template-columns: 230px 1fr 96px; gap: 14px; align-items: center; }
.chart-label { font-weight: 800; color: var(--text); }
.chart-value { text-align: right; font-weight: 900; color: var(--text); }
.chart-track { height: 18px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.chart-bar { height: 100%; width: 0%; border-radius: 999px; animation: growBar 1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes growBar { from { width: 0%; } to { width: var(--bar-width); } }
@media (max-width: 900px) {
  body { padding: 20px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-grid, .summary-grid, .prism-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .locale-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .scope-grid { grid-template-columns: 1fr; }
  .chart-row { grid-template-columns: 1fr; gap: 7px; }
  .chart-value { text-align: left; }
}
@media (max-width: 620px) {
  body { padding: 14px; }
  .grid-2, .industry-grid, .locale-grid, .scope-grid, .product-grid, .summary-grid, .prism-grid { grid-template-columns: 1fr; }
  .card, .hero { padding: 22px; border-radius: 18px; }
  .actions, .report-actions { flex-direction: column; align-items: stretch; }
  button, .button-link, .subscription-action { width: 100%; text-align: center; }
  .subscription-modal { padding: 24px 14px; }
  .subscription-modal-card { max-height: calc(100vh - 48px); }
  .processing-card { grid-template-columns: 1fr; }
}

/* What's New in Customer Stories */
.whats-new-page { max-width: 1080px; }
.whats-new-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(125deg, #ffffff 10%, #f2efff 56%, #eef6ff); }
.whats-new-hero .subtitle { max-width: 700px; margin: 12px 0 0; font-size: 17px; }
.whats-new-hero-mark { width: 148px; height: 148px; flex: 0 0 auto; border-radius: 42px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, #0f1f3d, #7b61ff 68%, #f04f5f); box-shadow: 0 24px 48px rgba(72, 52, 162, .26); transform: rotate(-7deg); }
.whats-new-hero-mark span { grid-area: 1 / 1; font-size: 54px; font-weight: 900; transform: rotate(7deg); }
.whats-new-hero-mark span:nth-child(2) { transform: translate(34px, -38px) rotate(7deg); opacity: .72; font-size: 30px; }.whats-new-hero-mark span:nth-child(3) { transform: translate(-38px, 38px) rotate(7deg); opacity: .72; font-size: 28px; }
.whats-new-section-heading, .whats-new-results-heading, .whats-new-delivery-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.whats-new-section-heading > p, .whats-new-delivery-heading > p { max-width: 310px; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }
.whats-new-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 14px; }.whats-new-period-option { position: relative; }.whats-new-period-option input { position: absolute; opacity: 0; }.whats-new-period-option span { display: block; padding: 15px; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--text); cursor: pointer; font-size: 14px; font-weight: 800; transition: .18s ease; }.whats-new-period-option input:checked + span { border-color: var(--pulse-violet); background: var(--brand-soft); color: var(--brand-dark); box-shadow: 0 10px 24px rgba(123,97,255,.15); }.whats-new-period-option input:focus-visible + span { outline: 3px solid var(--pulse-violet); outline-offset: 3px; }
.whats-new-custom-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }.whats-new-custom-dates[hidden] { display: none; }.whats-new-preview { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid #ddd6fe; border-radius: 16px; background: #faf9ff; color: #4338ca; }.whats-new-preview span { color: #475569; font-weight: 700; }.whats-new-form .actions { margin-top: 20px; }
.whats-new-feedback { margin: 0 0 24px; padding: 15px 18px; border-radius: 16px; font-weight: 750; }.whats-new-feedback-error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }.whats-new-feedback-success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.whats-new-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }.whats-new-summary article { min-height: 120px; padding: 20px; border: 1px solid #dbeafe; border-radius: 20px; background: linear-gradient(145deg, #fff, #f8fbff); box-shadow: 0 12px 28px rgba(15,31,61,.07); }.whats-new-summary span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.whats-new-summary strong { display: block; margin-top: 10px; color: var(--pulse-navy); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.14; }
.whats-new-results-heading { margin-bottom: 20px; }.whats-new-table-wrap { overflow: hidden; border: 1px solid #dbe3ef; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(15,31,61,.06); }.whats-new-results-table { width: 100%; border-collapse: collapse; table-layout: fixed; }.whats-new-results-table caption { text-align: left; }.whats-new-results-table thead { background: #f7f8fc; }.whats-new-results-table th, .whats-new-results-table td { padding: 18px 16px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }.whats-new-results-table thead th { color: #475569; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.whats-new-results-table thead th:first-child { width: 142px; }.whats-new-results-table thead th:nth-child(3) { width: 180px; }.whats-new-results-table thead th:last-child { width: 64px; text-align: center; }.whats-new-result-row { transition: background-color .18s ease; }.whats-new-result-row:hover, .whats-new-result-row:focus-within { background: #f5f3ff; }.whats-new-result-row:last-child > * { border-bottom: 0; }.whats-new-result-date { color: #3730a3; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.45; }.whats-new-result-title { color: var(--pulse-navy); font-size: 18px; font-weight: 700; line-height: 1.42; }.whats-new-result-title a { color: var(--pulse-navy); text-decoration: none; text-underline-offset: 3px; }.whats-new-result-title a:hover { color: #4338ca; text-decoration: underline; }.whats-new-result-title a:focus-visible, .whats-new-open-link:focus-visible { outline: 3px solid var(--pulse-violet); outline-offset: 3px; border-radius: 4px; }.whats-new-result-customer { color: #334155; font-size: 15px; font-weight: 650; line-height: 1.45; }.whats-new-result-open { text-align: center !important; vertical-align: middle !important; }.whats-new-open-link { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid #c4b5fd; border-radius: 999px; color: #3730a3; text-decoration: none; font-size: 18px; }.whats-new-open-link:hover { background: var(--brand-soft); }.whats-new-mobile-date { display: none; }
.whats-new-empty { max-width: 570px; margin: 22px auto 4px; padding: 40px 24px; border: 1px dashed #cbd5e1; border-radius: 20px; background: #f8fafc; text-align: center; }.whats-new-empty > span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--brand-soft); color: var(--pulse-violet); font-size: 28px; }.whats-new-empty h3 { margin: 14px 0 4px; }.whats-new-empty p { color: var(--muted); margin: 0; }
.whats-new-delivery-heading { margin-bottom: 20px; }.whats-new-delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.whats-new-delivery-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #faf9ff); }.whats-new-delivery-card h3 { margin: 0; font-size: 20px; }.whats-new-delivery-card p { margin: 0; color: var(--muted); line-height: 1.5; }.whats-new-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--brand-soft); color: var(--pulse-violet); font-size: 22px; }.whats-new-delivery-card dl { width: 100%; margin: 4px 0; }.whats-new-delivery-card dl div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f7; font-size: 13px; }.whats-new-delivery-card dt { color: var(--muted); font-weight: 800; }.whats-new-delivery-card dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }.whats-new-confirm { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }.whats-new-confirm input { margin-top: 3px; }.whats-new-delivery-card .btn-primary { margin-top: auto; }.whats-new-delivery-card select, .whats-new-delivery-card input[type="time"] { margin-bottom: 2px; }.whats-new-schedule-copy { min-height: 44px; font-size: 13px; }
@media (max-width: 720px) { .whats-new-periods { grid-template-columns: repeat(2, minmax(0,1fr)); }.whats-new-summary, .whats-new-delivery-grid { grid-template-columns: 1fr; }.whats-new-section-heading, .whats-new-results-heading, .whats-new-delivery-heading { flex-direction: column; }.whats-new-section-heading > p, .whats-new-delivery-heading > p { max-width: none; }.whats-new-results-heading .button-link { width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .whats-new-result-row { transition: none; } }
@media (max-width: 520px) { .whats-new-hero { align-items: flex-start; }.whats-new-hero-mark { width: 72px; height: 72px; border-radius: 22px; }.whats-new-hero-mark span { font-size: 30px; }.whats-new-hero-mark span:nth-child(2) { transform: translate(17px,-18px) rotate(7deg); font-size: 17px; }.whats-new-hero-mark span:nth-child(3) { transform: translate(-18px,18px) rotate(7deg); font-size: 16px; }.whats-new-periods, .whats-new-custom-dates { grid-template-columns: 1fr; }.whats-new-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }.whats-new-results-table, .whats-new-results-table tbody { display: block; }.whats-new-results-table thead, .whats-new-result-date { display: none; }.whats-new-result-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 12px; margin: 0 0 12px; padding: 18px; border: 1px solid #dbe3ef; border-radius: 16px; background: #fff; }.whats-new-result-row > * { padding: 0; border: 0; }.whats-new-result-title { grid-column: 1; grid-row: 1; font-size: 17px; }.whats-new-mobile-date { display: block; margin: 0 0 7px; color: #3730a3; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }.whats-new-result-customer { grid-column: 1; grid-row: 2; font-size: 15px; }.whats-new-result-open { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; }.whats-new-open-link { width: 44px; height: 44px; }.whats-new-delivery-card { padding: 20px; } }
@media (prefers-color-scheme: dark) { .whats-new-hero, .whats-new-summary article, .whats-new-delivery-card { background: linear-gradient(145deg, #17213e, #211b4b); border-color: #34415f; }.whats-new-hero h1, .whats-new-summary strong, .whats-new-story-card h3 a, .whats-new-delivery-card h3 { color: #f8faff; }.whats-new-section-heading > p, .whats-new-delivery-heading > p, .whats-new-story-card p, .whats-new-delivery-card p { color: #cbd5e1; }.whats-new-period-option span, .whats-new-delivery-card select, .whats-new-delivery-card input[type="time"] { background: #18233f; color: #eef2ff; border-color: #435272; }.whats-new-period-option input:checked + span, .whats-new-preview { background: #241f4a; border-color: #7666d9; color: #ddd6fe; }.whats-new-preview span { color: #cbd5e1; }.whats-new-story-list, .whats-new-story-card { border-color: #34415f; }.whats-new-empty { background: #18233f; border-color: #435272; }.whats-new-feedback-error { background: #3f1d25; border-color: #7f1d2d; color: #fecaca; }.whats-new-feedback-success { background: #153527; border-color: #166534; color: #bbf7d0; } }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
  z-index: 40;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  min-width: 190px;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.language-menu.visible {
  display: grid;
  gap: 4px;
}

.language-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 14px;
}

.language-menu button:hover {
  background: #f1f5f9;
}

.single-total {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.single-total > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 18px;
}

.metric-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.metric-value {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 950;
  letter-spacing: 0;
}

.metric-value-small {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
}

.analyzer-card {
  display: grid;
  gap: 20px;
}

.analyzer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.coach-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.coach-field input[type="url"] {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.error-banner {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 700;
}

.coach-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.coach-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.report-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.validated-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.validated-check {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .16);
}

.severity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.severity-strong {
  background: #dcfce7;
  color: #166534;
}

.severity-needs-improvement {
  background: #fef3c7;
  color: #92400e;
}

.severity-weak {
  background: #fee2e2;
  color: #991b1b;
}

.severity-missing {
  background: #e5e7eb;
  color: #374151;
}

.analyzer-field input[type="url"] {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.analyzer-status {
  min-height: 24px;
  font-weight: 800;
}

.analyzer-status.is-loading {
  color: var(--brand-dark);
}

.analyzer-status.is-success {
  color: var(--green);
}

.analyzer-status.is-error {
  color: #b91c1c;
}

.analyzer-results {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(248,250,252,.85);
  padding: 22px;
}

.results-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  margin-bottom: 16px;
}

.result-root-url {
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.result-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.result-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.result-list a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.result-list a:hover {
  text-decoration: underline;
}

.result-empty {
  color: var(--muted);
  font-weight: 700;
}

.story-url,
.story-url a {
  overflow-wrap: anywhere;
}

.time-chart {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.time-bar-wrap {
  height: 280px;
  display: grid;
  grid-template-rows: 34px 1fr 58px;
  align-items: end;
  gap: 8px;
  min-width: 0;
}

.time-bar-value {
  font-weight: 900;
  font-size: 12px;
  text-align: center;
  color: var(--text);
  white-space: nowrap;
}

.time-bar {
  width: 100%;
  height: 0%;
  min-height: 3px;
  border-radius: 12px 12px 4px 4px;
  animation: growTimeBar 1s cubic-bezier(.2,.8,.2,1) forwards;
  align-self: end;
}

.time-bar-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@keyframes growTimeBar {
  from { height: 0%; }
  to { height: var(--bar-height); }
}

@media (max-width: 900px) {
  .time-chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .time-bar-wrap {
    height: 230px;
  }

  .single-total {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    flex-direction: column;
  }

  .language-switcher {
    width: 100%;
  }

  .language-button {
    width: 100%;
    justify-content: center;
  }

  .language-menu {
    left: 0;
    right: auto;
    width: 100%;
  }

  .time-chart {
    grid-template-columns: 1fr;
  }

  .coach-form,
  .analyzer-form,
  .results-meta {
    grid-template-columns: 1fr;
  }
}

.auth-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 0;
  font-size: 14px;
}

.auth-user {
  color: #475569;
  font-weight: 600;
}

.auth-link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
}

.auth-link.primary {
  background: #2563eb;
  color: white;
}

.user-menu { position: relative; display: inline-flex; }
.avatar-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0;
  background: #0f172a;
  color: white;
  font-size: 13px;
  letter-spacing: 0;
}
.user-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  z-index: 1200;
}
.user-menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
}
.user-menu-panel a:hover { background: #f1f5f9; }

.email-report-block {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0f172a;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.helper-text {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.email-ready {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0f172a;
}

.email-ready input {
  width: 18px;
  height: 18px;
}

.email-login-required {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-weight: 700;
}

.email-login-required a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.email-login-required a:hover {
  text-decoration: underline;
}

.email-lock {
  opacity: 0.8;
}

.trend-line-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
}

.trend-line-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.trend-line-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.trend-line-header p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.trend-line-meta {
  flex: 0 0 auto;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.trend-line-chart {
  width: 100%;
  height: 260px;
  color: #2563eb;
  overflow: visible;
}

.trend-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-dot {
  fill: currentColor;
  vector-effect: non-scaling-stroke;
}

.trend-line-axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .trend-line-chart {
    height: 180px;
  }

  .trend-line-header {
    flex-direction: column;
  }
}


.disabled-industry {
  opacity: 0.48;
  cursor: not-allowed;
  background: #f8fafc;
  border-style: dashed;
}

.disabled-industry input {
  cursor: not-allowed;
}

.excluded-note {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Auth bar alignment fix */
.auth-bar {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.auth-user {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.auth-link {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-link.primary {
  color: #2563eb;
}

@media (max-width: 720px) {
  .auth-bar {
    position: static;
    margin: 12px 16px 0;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.page {
  padding-top: 72px;
}

.customer-page {
  padding-top: 18px;
}

/* Customer page: align auth controls with language selector in the hero topbar */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.inline-auth-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.inline-auth-bar .auth-user {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.inline-auth-bar .auth-link {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
}

.inline-auth-bar .auth-link:hover {
  text-decoration: underline;
}

.inline-auth-bar .auth-link.primary {
  color: #2563eb;
}

.help-button {
  padding: 10px 16px;
  font-size: 13px;
}

.contact-button {
  padding: 10px 16px;
  font-size: 13px;
}

.contact-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, .36);
}

.contact-drawer-overlay[hidden] {
  display: none;
}

.contact-drawer {
  position: fixed;
  z-index: 2110;
  top: 18px;
  right: 18px;
  width: min(420px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
  transform: translateX(calc(100% + 36px));
  transition: transform .22s ease;
}

.contact-drawer.open {
  transform: translateX(0);
}

.contact-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-drawer-header h2 {
  margin-top: 2px;
}

.contact-drawer-person {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.contact-drawer-person strong,
.contact-drawer-person a {
  display: block;
}

.contact-drawer-person a {
  margin: 3px 0 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-drawer-copy {
  margin: 16px 0;
  color: #475569;
  line-height: 1.5;
}

.contact-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-drawer-actions .button-link {
  padding: 12px 16px;
  font-size: 13px;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: -4px 0 24px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(248,250,252,.9)),
    #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.support-contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.support-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .02em;
}

.support-kicker {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.support-card h2 {
  margin: 0;
  font-size: 21px;
}

.support-copy {
  margin: 5px 0 10px;
  color: #475569;
  line-height: 1.45;
}

.presence-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #166534;
  font-size: 13px;
  font-weight: 850;
}

.presence-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .14);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.support-actions .button-link {
  padding: 11px 16px;
  font-size: 13px;
}

.support-email {
  grid-column: 1 / -1;
  color: #2563eb;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.support-email:hover {
  text-decoration: underline;
}

.help-page {
  max-width: 1180px;
}

.help-hero {
  margin-bottom: 24px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.help-content {
  display: grid;
  gap: 18px;
}

.help-section {
  margin-bottom: 0;
}

.help-section p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.65;
}

.help-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #475569;
  line-height: 1.62;
}

.help-list li + li {
  margin-top: 8px;
}

.help-rail {
  position: sticky;
  top: 24px;
}

.support-card-aside {
  grid-template-columns: 1fr;
  margin: 0;
}

.support-card-aside .support-actions {
  justify-content: stretch;
}

.support-card-aside .support-actions .button-link {
  flex: 1 1 100%;
  text-align: center;
}

@media (max-width: 820px) {
  .topbar-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .inline-auth-bar {
    order: 2;
  }
}

.topbar-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.inline-auth-bar {
  order: 3;
}

.topbar-actions .language-switcher {
  order: 4;
}

@media (max-width: 820px) {
  .topbar-actions {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .support-card,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .support-actions {
    justify-content: flex-start;
  }

  .help-rail {
    position: static;
  }
}

/* Customer Story Pulse slide-in trend panel */
.story-trend-button {
  margin-left: 10px;
  padding: 6px 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.story-trend-button:hover {
  background: #dbeafe;
}

.story-slide-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0);
  transition: background 0.22s ease;
}

.story-slide-overlay.visible {
  background: rgba(15, 23, 42, 0.36);
}

.story-slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2001;
  width: min(540px, 92vw);
  height: 100vh;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.22);
  transform: translateX(104%);
  transition: transform 0.26s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}

.story-slide-panel.visible {
  transform: translateX(0);
}

.story-slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.story-slide-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.story-slide-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  color: #0f172a;
}

.story-slide-close {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.story-slide-close:hover {
  background: #f8fafc;
}

.story-slide-body {
  padding: 22px 28px 32px;
  overflow-y: auto;
}

.story-slide-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.story-slide-meta > div {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #f8fafc;
}

.story-slide-label {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}

.story-slide-url {
  display: block;
  color: #2563eb;
  font-weight: 800;
  font-size: 13px;
  word-break: break-word;
  margin-bottom: 18px;
}

.story-slide-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.story-slide-card h3 {
  margin-top: 0;
  color: #0f172a;
}

.story-slide-muted {
  color: #64748b;
}

.story-trend-placeholder {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.story-trend-placeholder-bar {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

@media (max-width: 640px) {
  .story-slide-meta {
    grid-template-columns: 1fr;
  }
}

.shared-progress-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .10), rgba(37, 99, 235, .08) 48%, rgba(245, 158, 11, .10)),
    #f7fafc;
}
.shared-progress-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 64px;
}
.shared-progress-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(145deg, #0F1F3D 0%, #111827 62%, #4d3f9e 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .22);
}
.shared-progress-card h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}
.shared-progress-eyebrow {
  margin: 0 0 14px;
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shared-progress-brand,
.funnel-progress-brand {
  display: block;
  width: min(330px, 78%);
  height: auto;
  margin: 0 0 26px;
}

.brand-module-tagline {
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--pulse-coral);
  color: var(--pulse-navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.shared-progress-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 760;
}
.progress-orbit {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 132px;
  height: 132px;
  opacity: .35;
}
.progress-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  animation: progressOrbit 3.6s linear infinite;
}
.progress-orbit span:nth-child(2) { inset: 18px; animation-duration: 2.8s; animation-direction: reverse; }
.progress-orbit span:nth-child(3) { inset: 36px; animation-duration: 2.2s; }
@keyframes progressOrbit { to { transform: rotate(360deg); } }
.shared-progress-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.shared-progress-meta div {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.10);
}
.shared-progress-meta span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.shared-progress-meta strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.shared-progress-meter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}
.shared-progress-meter > strong {
  min-width: 78px;
  font-size: 30px;
}
.shared-progress-track {
  height: 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.shared-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--pulse-gradient);
  transition: width .5s ease;
}
.shared-progress-copy {
  margin-top: 14px;
  color: rgba(255,255,255,.9);
}
.shared-progress-copy span {
  display: block;
  font-size: 16px;
  font-weight: 950;
}
.shared-progress-copy p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.76);
  line-height: 1.45;
}
.shared-progress-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.shared-progress-stages span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 850;
}
.shared-quote-card {
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
}
.shared-quote-card blockquote {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 900;
  transition: opacity .18s ease;
}
.shared-quote-card figcaption {
  margin-top: 10px;
  color: #fef3c7;
  font-weight: 900;
  transition: opacity .18s ease;
}
.shared-progress-error {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(127, 29, 29, .34);
  border: 1px solid rgba(252, 165, 165, .45);
}
.shared-progress-error .inline-form {
  display: inline;
}
.shared-progress-error p,
.shared-progress-long,
.shared-progress-note {
  color: rgba(255,255,255,.78);
  line-height: 1.45;
}
.shared-progress-note {
  margin: 18px 0 0;
}

.next-action-map-shell {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,246,255,.82) 48%, rgba(240,253,250,.9)),
    #fff;
  box-shadow: 0 22px 56px rgba(15,23,42,.10);
  overflow: hidden;
}
.next-action-map-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #14b8a6, #f59e0b, #db2777);
}
.next-action-map-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.next-action-map-topbar p {
  margin: 0 0 5px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.next-action-map-topbar h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0;
}
.next-action-map-topbar span {
  display: block;
  margin-top: 6px;
  color: #475569;
  font-weight: 750;
  line-height: 1.45;
}
.next-action-map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.next-action-segment,
.next-action-intents {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
}
.next-action-segment button,
.next-action-intents button,
.next-action-map-controls select {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-weight: 900;
  min-height: 34px;
}
.next-action-segment button,
.next-action-intents button {
  padding: 8px 12px;
  cursor: pointer;
}
.next-action-segment button.active,
.next-action-intents button.active {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.16);
}
.next-action-intents button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: capitalize;
}
.next-action-intents button span,
.next-action-intent-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--intent-color, #94a3b8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--intent-color, #94a3b8) 16%, transparent);
}
.next-action-map-controls select {
  padding: 0 34px 0 12px;
  border: 1px solid #dbe3ee;
  background: rgba(255,255,255,.9);
}
.next-action-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.next-action-summary article {
  padding: 13px 14px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.next-action-summary span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.next-action-summary strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.next-action-warning,
.next-action-empty {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  font-weight: 850;
}
.next-action-map-canvas {
  width: 100%;
  height: 500px;
  min-height: 360px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.25);
  background:
    radial-gradient(circle at 18% 12%, rgba(37,99,235,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(248,250,252,.92));
  overflow: hidden;
}
.next-action-tooltip {
  min-width: 270px;
  max-width: 390px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(15,23,42,.96);
  box-shadow: 0 18px 50px rgba(15,23,42,.34);
  color: #fff;
}
.next-action-tooltip-title {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}
.next-action-tooltip-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: baseline;
}
.next-action-tooltip-grid span,
.next-action-tooltip-note {
  color: rgba(226,232,240,.78);
  font-size: 12px;
  font-weight: 800;
}
.next-action-tooltip-grid strong {
  justify-self: end;
  font-size: 13px;
  text-transform: capitalize;
}
.next-action-tooltip-url,
.next-action-tooltip-note {
  margin-top: 10px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.next-action-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
}
.next-action-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}
.next-action-table-wrap th,
.next-action-table-wrap td {
  padding: 12px 13px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}
.next-action-table-wrap th {
  color: #475569;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f8fafc;
}
.next-action-table-wrap td {
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}
.next-action-table-wrap td:nth-child(3),
.next-action-table-wrap td:nth-child(4),
.next-action-table-wrap td:nth-child(5) {
  white-space: nowrap;
  text-align: right;
}
.next-action-table-wrap a {
  color: #2563eb;
  overflow-wrap: anywhere;
}
.next-action-table-wrap tr.is-highlighted td {
  background: #eff6ff;
}
.next-action-intent-dot {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .shared-progress-shell { width: min(100% - 20px, 960px); padding: 24px 0 42px; }
  .shared-progress-card { padding: 22px; border-radius: 20px; }
  .shared-progress-meta,
  .shared-progress-meter { grid-template-columns: 1fr; }
  .shared-quote-card blockquote { font-size: 19px; }
  .next-action-map-shell { padding: 18px 14px; }
  .next-action-map-topbar,
  .next-action-map-controls { display: grid; justify-content: stretch; }
  .next-action-summary { grid-template-columns: 1fr; }
  .next-action-map-canvas { height: 390px; }
}

/* Customer Story Pulse: wide horizontal slide-up trend panel */
.story-insight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
  align-items: center;
}

.story-insight-tabs button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  border-radius: 8px;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  cursor: pointer;
  box-shadow: none;
}

.story-insight-tabs button.active {
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
  border-color: transparent;
}

.story-insight-panel {
  display: none;
}

.story-insight-panel.active {
  display: block;
}

.story-insight-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.story-insight-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.story-insight-table-wrap th,
.story-insight-table-wrap td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.story-insight-table-wrap th {
  color: #64748b;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.story-insight-table-wrap td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.story-slide-panel {
  top: auto;
  right: 24px;
  left: 24px;
  bottom: 24px;
  width: auto;
  max-width: 1180px;
  height: min(76vh, 720px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px;
  box-shadow: 0 -24px 70px rgba(15, 23, 42, 0.28);
  transform: translateY(112%);
  overflow: hidden;
}

.story-slide-panel.visible {
  transform: translateY(0);
}

.story-slide-header {
  padding: 22px 28px 16px;
}

.story-slide-body {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 28px 28px;
}

.story-slide-meta {
  grid-template-columns: 1fr;
  align-content: start;
  margin-bottom: 14px;
}

.story-slide-url {
  grid-column: 1;
}

.story-graph-card {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.story-graph-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.story-graph-stat {
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  text-align: right;
}

.story-graph-stat span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.story-graph-stat strong {
  color: #1d4ed8;
  font-size: 16px;
}

.story-line-chart {
  flex: 1;
  min-height: 320px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 18px;
}

.story-line-chart svg {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
}

.chart-axis {
  stroke: #94a3b8;
  stroke-width: 2;
}

.chart-grid {
  stroke: #e5e7eb;
  stroke-width: 1;
}

.chart-area {
  fill: url(#storyTrendFill);
}

.chart-line {
  fill: none;
  stroke: #2563eb;
  stroke-width: 6;
  stroke-linecap: round;
}

.chart-line-partial {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
}

.chart-partial-region {
  fill: rgba(148, 163, 184, 0.12);
}

.chart-point {
  fill: #ffffff;
  stroke: #2563eb;
  stroke-width: 4;
}

.chart-point-partial {
  fill: #f8fafc;
  stroke: #94a3b8;
  stroke-dasharray: 4 4;
}

.chart-label {
  fill: #64748b;
  font-size: 16px;
  font-weight: 700;
}

.story-trend-placeholder,
.story-trend-placeholder-bar {
  display: none;
}

@media (max-width: 860px) {
  .story-slide-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 86vh;
    border-radius: 22px;
  }

  .story-slide-body {
    display: block;
  }

  .story-graph-card {
    margin-top: 18px;
    min-height: 360px;
  }

  .story-graph-header {
    flex-direction: column;
  }

  .story-graph-stat {
    width: 100%;
    text-align: left;
  }
}

/* Keep long story titles and their trend action in separate layout tracks. */
.story-ranking-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-radius: 18px;
}

.story-ranking-table-wrap:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.story-title-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 18px;
  min-width: 260px;
}

.story-title-action .story-link {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.story-trend-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 94px;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.story-trend-button:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.story-trend-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .story-title-action {
    grid-template-columns: minmax(0, 1fr);
    min-width: 220px;
  }

  .story-title-action .story-trend-button {
    width: auto;
    min-height: 44px;
    justify-self: start;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.story-trend-loading,
.story-trend-error {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: #475569;
}

.story-trend-loading strong,
.story-trend-error strong {
  color: #0f172a;
  font-size: 16px;
}

.story-trend-loading span,
.story-trend-error span {
  color: #64748b;
  font-size: 13px;
}

.story-trend-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: storyTrendSpin .8s linear infinite;
}

@keyframes storyTrendSpin {
  to {
    transform: rotate(360deg);
  }
}

.story-trend-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #475569;
  font-size: 13px;
}

.story-trend-summary span {
  display: inline-flex;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

/* Customer Story Pulse trend chart refinements */
.chart-point {
  cursor: pointer;
}

.chart-point:hover {
  r: 8;
}

.story-line-chart {
  position: relative;
}

.story-line-chart svg .chart-point:hover {
  filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.35));
}

.story-trend-summary {
  align-items: center;
}

.partial-data-pill {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
  font-weight: 800;
}

.story-trend-summary strong {
  color: #0f172a;
}

.story-graph-actions {
  display: grid;
  gap: 10px;
  min-width: 170px;
}

.story-download-button {
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
  cursor: pointer;
}

.story-download-button:hover:not(:disabled) {
  background: #dbeafe;
  transform: translateY(-1px);
}

.story-download-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 860px) {
  .story-graph-actions {
    width: 100%;
  }
}

.positive-delta-pill {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
  font-weight: 800;
}

.negative-delta-pill {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
  font-weight: 800;
}

.story-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.story-trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
}

.legend-line-current,
.legend-line-previous {
  display: inline-block;
  width: 24px;
  height: 0;
  border-top: 3px solid #2563eb;
  border-radius: 999px;
}

.legend-line-previous {
  border-top-color: #94a3b8;
  border-top-style: dashed;
}

.story-trend-insight {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #0f172a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

/* F&MT publisher signature */
.pulse-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--pulse-navy);
  text-align: left;
}

.pulse-signature-mark,
.pulse-brand .pulse-signature-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}

.pulse-signature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.pulse-signature-name {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.pulse-signature-tagline {
  margin-top: 3px;
  color: var(--pulse-coral);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.pulse-signature-publisher {
  margin-top: 4px;
  color: var(--pulse-violet);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
  white-space: nowrap;
}

.pulse-signature--hero {
  gap: 20px;
}

.pulse-signature--hero .pulse-signature-mark {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
}

.pulse-signature--hero .pulse-signature-name {
  font-size: 42px;
}

.pulse-signature--hero .pulse-signature-tagline {
  margin-top: 7px;
  font-size: 17px;
}

.pulse-signature--hero .pulse-signature-publisher {
  margin-top: 7px;
  font-size: 15px;
}

.pulse-signature--centered {
  justify-content: center;
  margin: 0 auto 30px;
}

.pulse-signature--progress,
.pulse-signature.shared-progress-brand,
.pulse-signature.funnel-progress-brand {
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0 0 26px;
  color: #ffffff;
}

.pulse-signature--progress .pulse-signature-name,
.pulse-signature--progress .pulse-signature-tagline,
.pulse-signature--progress .pulse-signature-publisher {
  color: #ffffff;
}

.pulse-signature--progress .pulse-signature-publisher {
  opacity: .84;
}

.pulse-footer {
  align-items: flex-start;
}

.pulse-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pulse-footer-identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pulse-footer-publisher {
  color: var(--pulse-violet);
  font-weight: 850;
}

.pulse-footer-publisher-expanded {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 920px) {
  .pulse-signature--header .pulse-signature-name {
    font-size: 19px;
  }

  .pulse-signature--hero .pulse-signature-name {
    font-size: 36px;
  }
}

@media (max-width: 620px) {
  .pulse-brand .pulse-signature-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .pulse-signature--header {
    gap: 8px;
  }

  .pulse-signature--header .pulse-signature-name {
    font-size: 17px;
  }

  .pulse-signature--header .pulse-signature-tagline {
    font-size: 11px;
  }

  .pulse-signature--header .pulse-signature-publisher {
    font-size: 11px;
  }

  .pulse-signature--hero {
    gap: 14px;
  }

  .pulse-signature--hero .pulse-signature-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .pulse-signature--hero .pulse-signature-name {
    font-size: 28px;
  }

  .pulse-signature--hero .pulse-signature-tagline,
  .pulse-signature--hero .pulse-signature-publisher {
    font-size: 13px;
  }

  .pulse-footer-brand {
    align-items: center;
  }
}

@media (max-width: 430px) {
  .pulse-signature--hero {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pulse-signature--header .pulse-signature-tagline {
    display: none;
  }

  .pulse-footer {
    text-align: left;
  }
}

/* Customer Stories result-table treatment follows shared table rules in the cascade. */
.whats-new-page .whats-new-results-table tbody th,
.whats-new-page .whats-new-results-table tbody td {
  background: #fff;
  letter-spacing: normal;
  text-transform: none;
}

@media (prefers-color-scheme: dark) {
  .whats-new-page .whats-new-table-wrap,
  .whats-new-page .whats-new-result-row { background: #18233f; border-color: #435272; }
  .whats-new-page .whats-new-results-table thead { background: #202b49; }
  .whats-new-page .whats-new-results-table th,
  .whats-new-page .whats-new-results-table td { border-color: #34415f; }
  .whats-new-page .whats-new-results-table tbody th,
  .whats-new-page .whats-new-results-table tbody td { background: #18233f; }
  .whats-new-page .whats-new-results-table thead th { color: #cbd5e1; }
  .whats-new-page .whats-new-result-title,
  .whats-new-page .whats-new-result-title a { color: #f8faff; }
  .whats-new-page .whats-new-result-title a:hover { color: #ddd6fe; }
  .whats-new-page .whats-new-result-customer { color: #cbd5e1; }
  .whats-new-page .whats-new-result-date,
  .whats-new-page .whats-new-mobile-date,
  .whats-new-page .whats-new-open-link { color: #c4b5fd; }
  .whats-new-page .whats-new-open-link { border-color: #7666d9; }
  .whats-new-page .whats-new-result-row:hover,
  .whats-new-page .whats-new-result-row:focus-within { background: #263451; }
}

/* Compact Customer Story trend panel layout */
.story-slide-panel {
  height: min(82vh, 760px);
}

.story-slide-body {
  overflow-y: auto;
  padding-bottom: 22px;
}

.story-graph-card {
  padding: 22px 24px;
}

.story-graph-header {
  align-items: start;
  gap: 18px;
  margin-bottom: 14px;
}

.story-graph-header h3 {
  margin-bottom: 8px;
}

.story-slide-muted {
  max-width: 720px;
}

.story-graph-actions {
  min-width: 150px;
}

.story-graph-stat {
  padding: 14px 16px;
}

.story-graph-stat span {
  font-size: 12px;
}

.story-graph-stat strong {
  font-size: 24px;
}

.story-download-button {
  padding: 9px 12px;
  font-size: 12px;
}

.story-line-chart {
  min-height: 360px;
  padding: 16px 18px 8px;
}

.story-line-chart svg {
  height: 300px;
}

.story-trend-summary {
  margin-top: 10px;
  gap: 8px;
}

.story-trend-summary span {
  padding: 7px 10px;
  font-size: 12px;
}

.story-trend-legend {
  margin-top: 10px;
}

.story-trend-insight {
  margin-top: 10px;
  padding: 12px 14px;
  font-size: 13px;
}

/* Customer Story trend polish */
.story-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.story-open-button:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.story-kpi-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.story-kpi-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.story-kpi-item span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.story-kpi-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
}

.story-kpi-wide strong {
  font-size: 15px;
}

.story-kpi-clickable {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 2px solid #bfdbfe;
  background: transparent;
  color: #1d4ed8;
  cursor: pointer;
}

.story-kpi-clickable strong {
  color: #1d4ed8;
}

.story-kpi-clickable:hover:not(:disabled) {
  border-bottom-color: #2563eb;
}

.story-kpi-clickable:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 3px;
  border-radius: 6px;
}

.story-kpi-clickable:disabled {
  cursor: default;
  border-bottom-color: transparent;
}

.story-cta-panel {
  position: fixed;
  right: 42px;
  bottom: 42px;
  z-index: 2003;
  width: min(760px, calc(100vw - 84px));
  max-height: min(68vh, 620px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 -24px 70px rgba(15, 23, 42, 0.30);
  transform: translateY(120%);
  transition: transform 0.24s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}

.story-cta-panel.visible {
  transform: translateY(0);
}

.story-cta-context {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.story-cta-body {
  padding: 18px 24px 24px;
  overflow-y: auto;
}

.story-cta-content {
  margin-top: 14px;
}

.story-cta-total {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.story-cta-total strong {
  color: #0f172a;
  font-size: 14px;
}

.story-cta-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.story-cta-table th,
.story-cta-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.story-cta-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.story-cta-table td:first-child,
.story-cta-table td:nth-child(3),
.story-cta-table td:nth-child(4) {
  white-space: nowrap;
}

.story-cta-table td strong {
  display: block;
  color: #0f172a;
}

.story-cta-table td span {
  display: block;
  margin-top: 3px;
  max-width: 420px;
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 12px;
}

.story-cta-table tr:last-child td {
  border-bottom: 0;
}

.compact-story-line-chart {
  min-height: 300px;
  padding: 12px 16px 4px;
}

.compact-story-line-chart svg {
  height: 260px;
}

.chart-y-label {
  fill: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-anchor: end;
}

.story-trend-insight[hidden] {
  display: none;
}

.story-trend-insight {
  margin: 14px 0 12px;
  padding: 13px 15px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.extension-info-page {
  padding-top: 8px;
}

.extension-info-hero {
  padding: 26px 30px;
}

.extension-info-hero .eyebrow {
  margin-bottom: 12px;
}

.extension-info-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.08;
}

.extension-info-hero .subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 17px;
}

.extension-info-hero a:not(.button-link),
.extension-policy a,
.extension-info-card a {
  color: #4338ca;
  font-weight: 800;
}

.extension-info-actions,
.extension-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.extension-info-actions {
  margin-top: 20px;
}

.extension-info-actions button:disabled {
  opacity: 1;
}

.extension-info-card {
  border-color: rgba(148, 163, 184, .26);
}

.extension-info-card > p,
.extension-info-card > ul,
.extension-policy p,
.extension-policy li {
  color: #475569;
  line-height: 1.65;
}

.extension-step-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.extension-step-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
}

.extension-step-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pulse-navy);
  color: #fff;
  font-weight: 900;
}

.extension-step-list p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.extension-privacy-callout {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(123, 97, 255, .22);
  background: linear-gradient(135deg, #fff, var(--brand-soft));
}

.extension-privacy-callout .eyebrow {
  margin-bottom: 10px;
}

.extension-privacy-callout p:last-child {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.extension-info-links {
  justify-content: center;
  margin: 4px 0 26px;
}

.extension-info-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #334155;
  font-weight: 850;
  text-decoration: none;
}

.extension-info-links a:hover {
  background: #fff;
  color: var(--pulse-navy);
}

.extension-policy-hero {
  display: grid;
  gap: 8px;
}

.extension-policy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.extension-policy-meta div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}

.extension-policy-meta dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.extension-policy-meta dd {
  margin: 5px 0 0;
  color: var(--pulse-navy);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.extension-policy {
  padding: 30px;
}

.extension-policy section + section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.extension-policy h2 {
  color: var(--pulse-navy);
}

.extension-policy p {
  margin: 10px 0 0;
}

.extension-policy ul,
.extension-help-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.extension-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.extension-support-grid .card {
  margin: 0;
  padding: 24px;
}

.extension-safety-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border: 1px solid #fbbf24;
  border-radius: 14px;
  background: #fffbeb;
  color: #78350f !important;
}

@media (max-width: 700px) {
  .extension-info-hero,
  .extension-policy {
    padding: 22px;
  }

  .extension-privacy-callout,
  .extension-support-grid,
  .extension-policy-meta {
    grid-template-columns: 1fr;
  }

  .extension-info-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .extension-info-actions .button-link,
  .extension-info-actions button {
    width: 100%;
    text-align: center;
  }
}

/* Custom Pulse Click Overlay */
.click-overlay-launch {
  gap: 8px;
}

.click-overlay-launch span {
  font-size: 15px;
}

body.click-overlay-open {
  overflow: hidden;
}

.click-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(5px);
}

.click-overlay-drawer {
  position: fixed;
  inset: 4vh 3vw;
  z-index: 90;
  width: 94vw;
  height: 92vh;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
  overflow: hidden;
  animation: clickOverlayIn 180ms ease-out;
}

@keyframes clickOverlayIn {
  from { transform: translateX(32px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.click-overlay-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
}

.click-overlay-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.click-overlay-header h2 {
  margin: 3px 0 6px;
  font-size: 28px;
  letter-spacing: 0;
}

.click-overlay-header [data-click-overlay-subtitle] {
  margin: 0;
  max-width: 780px;
  color: #475569;
  font-weight: 750;
}

.click-overlay-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.click-overlay-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.click-overlay-close {
  width: 42px;
  height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: white;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
  box-shadow: none;
}

.click-overlay-state,
.click-overlay-error {
  margin: 22px 24px;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: white;
  color: #1e3a8a;
  font-weight: 900;
}

.click-overlay-state {
  display: flex;
  align-items: center;
  gap: 12px;
}

.click-overlay-error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff7f7;
}

.click-overlay-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 28%);
  gap: 18px;
  height: 100%;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.click-overlay-preview,
.click-overlay-side {
  min-height: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
}

.click-overlay-preview {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.click-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.click-preview-toolbar span,
.click-side-kpis span,
.click-top-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.click-preview-toolbar strong {
  display: block;
  max-width: 620px;
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.click-overlay-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.click-overlay-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.click-preview-stage {
  position: relative;
  min-height: 0;
  overflow: auto;
  background: #e2e8f0;
  overscroll-behavior: contain;
}

.click-page-canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.click-page-screenshot {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  opacity: 1;
  pointer-events: none;
}

.click-preview-stage iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: white;
  opacity: 1;
  pointer-events: none;
}

.click-preview-stage[data-preview-mode="iframe"] .click-page-canvas {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}

.click-frame-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  background: transparent;
  cursor: default;
}

.click-preview-stage[data-preview-mode="iframe"] .click-frame-shield {
  display: block;
}

.click-schematic {
  position: absolute;
  inset: 24px;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(203, 213, 225, .82);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  pointer-events: none;
}

.schematic-top,
.schematic-hero,
.schematic-row,
.schematic-grid span {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(219, 234, 254, .56), rgba(255, 255, 255, .46));
}

.schematic-top { height: 54px; }
.schematic-hero { height: 170px; }
.schematic-row { height: 70px; width: 88%; }
.schematic-row.short { width: 62%; }
.schematic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schematic-grid span { height: 120px; }

.click-hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.click-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 80, 40, 0.65) 0%, rgba(255, 190, 40, 0.35) 44%, rgba(255, 255, 255, 0) 74%);
  color: white;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.54), 0 0 18px rgba(255, 80, 40, .24), 0 12px 30px rgba(15, 23, 42, .16);
  transition: filter 140ms ease, transform 140ms ease;
}

.click-hotspot.is-medium {
  background: radial-gradient(circle, rgba(255, 122, 48, 0.58) 0%, rgba(255, 205, 64, 0.30) 48%, rgba(255, 255, 255, 0) 76%);
}

.click-hotspot.is-low {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.52) 0%, rgba(56, 189, 248, 0.24) 48%, rgba(255, 255, 255, 0) 76%);
}

.click-hotspot.is-unmatched {
  display: none;
}

.show-unmatched .click-hotspot.is-unmatched {
  display: none;
}

.hide-hotspots .click-hotspot {
  display: none;
}

.click-hotspot strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .72);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 1px 8px rgba(15, 23, 42, .22);
}

.click-hotspot em {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: 168px;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .84);
  color: white;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}

.hide-labels .click-hotspot em {
  display: none;
}

.hotspot-pulse {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.42), rgba(255,255,255,0) 62%);
  border: 1px solid rgba(255, 255, 255, .34);
}

.click-hotspot:hover,
.click-hotspot:focus-visible,
.click-hotspot.is-active {
  z-index: 6;
  filter: saturate(1.12);
  transform: translate(-50%, -50%) scale(1.06);
}

.click-hotspot-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 8;
  display: none;
  width: 270px;
  transform: translateX(-50%);
  padding: 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, .96);
  color: white;
  text-align: left;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .32);
}

.click-hotspot:hover .click-hotspot-tip,
.click-hotspot:focus-visible .click-hotspot-tip {
  display: grid;
  gap: 5px;
}

.click-hotspot-tip b,
.click-hotspot-tip small {
  display: block;
}

.click-hotspot-tip small {
  color: #cbd5e1;
  font-weight: 750;
}

.click-overlay-note {
  margin: 0;
  padding: 13px 16px;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.click-overlay-side {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-self: stretch;
  overflow: hidden;
}

.click-side-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e2e8f0;
}

.click-side-kpis div {
  padding: 16px;
  border-right: 1px solid #e2e8f0;
}

.click-side-kpis div:last-child {
  border-right: 0;
}

.click-side-kpis strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
}

.click-top-card {
  padding: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.click-top-card strong {
  display: block;
  margin: 8px 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.22;
}

.click-top-card p,
.click-top-card a {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.click-ranked-list {
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.click-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.click-list-head h3 {
  margin: 0;
  font-size: 16px;
}

.click-list-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.click-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
}

.click-list-item strong,
.click-list-item small,
.click-list-item p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.click-list-item strong {
  color: #0f172a;
  font-size: 14px;
}

.click-list-item p,
.click-list-item small {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.click-list-item aside {
  text-align: right;
}

.click-list-item aside b {
  display: block;
  color: #0f172a;
  font-size: 15px;
}

.click-list-item aside span,
.click-list-item aside em {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.click-list-item.is-unmatched {
  opacity: .72;
}

.click-list-item[data-click-item-key] {
  cursor: pointer;
}

.click-list-item[data-click-item-key]:hover,
.click-list-item[data-click-item-key]:focus-visible,
.click-list-item.is-active {
  margin-inline: -10px;
  padding-inline: 10px;
  background: #fff7ed;
}

.click-unmatched-section {
  display: none;
}

.show-unmatched .click-unmatched-section {
  display: block;
}

.click-unmatched-note {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .click-overlay-drawer {
    inset: 8px;
    width: auto;
    height: calc(100vh - 16px);
  }

  .click-overlay-content {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .click-preview-stage {
    min-height: 68vh;
  }

  .click-overlay-side {
    max-height: none;
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .click-overlay-header,
  .click-preview-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .click-side-kpis {
    grid-template-columns: 1fr;
  }

  .click-side-kpis div {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}

/* Industry insight drawer */
.industry-result-name {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.45rem;
}

.industry-trend-button {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.07);
  color: #2563eb;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.industry-trend-button:hover,
.industry-trend-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.42);
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
  outline: none;
}

.industry-trend-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-insight-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.24);
  opacity: 0;
  transition: opacity 220ms ease;
}

.industry-insight-overlay.active {
  opacity: 1;
}

.industry-insight-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(980px, calc(100vw - 48px));
  transform: translateX(104%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.industry-insight-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}

.industry-insight-shell {
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-left: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 22px 0 0 22px;
  box-shadow: -28px 0 70px rgba(15, 23, 42, 0.22);
  padding: 1.5rem;
}

body.industry-drawer-open {
  overflow: hidden;
}

.industry-insight-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.industry-insight-header h2 {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.industry-insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.industry-insight-meta span {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
}

.industry-drawer-close {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.industry-drawer-close:hover,
.industry-drawer-close:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  color: #2563eb;
}

.industry-tabbar {
  margin: 1rem 0;
}

.industry-drawer-panel {
  display: none;
}

.industry-drawer-panel.active {
  display: block;
}

.industry-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.industry-panel-head h3 {
  margin: 0 0 0.35rem;
}

.industry-loading-state {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #64748b;
  font-weight: 800;
}

.industry-loading-state[hidden],
[data-industry-loaded][hidden] {
  display: none !important;
}

.industry-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.industry-echart {
  min-height: 390px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

@media (max-width: 760px) {
  .industry-insight-drawer {
    width: 100vw;
  }

  .industry-insight-shell {
    border-radius: 0;
    padding: 1rem;
  }

  .industry-insight-header,
  .industry-panel-head {
    flex-direction: column;
  }

  .industry-overview-layout {
    grid-template-columns: 1fr;
  }
}

/* Pulse Command Center */
.command-center-body {
  min-height: 100vh;
  background: linear-gradient(145deg, #ffffff 0%, #F6F7FB 56%, #f2efff 100%);
}

.pulse-shell-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.pulse-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #0f172a;
  text-decoration: none;
}

.pulse-brand picture,
.pulse-brand img {
  display: block;
}

.pulse-brand img {
  width: 229px;
  height: 60px;
  object-fit: contain;
}

.pulse-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.pulse-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.pulse-nav a:hover {
  background: #f2efff;
  color: var(--pulse-navy);
}

.pulse-nav a[aria-current="page"] {
  color: var(--pulse-navy);
  background: #fff2f3;
  box-shadow: inset 0 -3px 0 var(--pulse-coral);
}

.pulse-header-actions {
  min-width: 96px;
  display: flex;
  justify-content: flex-end;
}

.pulse-header-actions .auth-link.primary {
  color: #ffffff;
  background: var(--pulse-navy);
  box-shadow: 0 8px 20px rgba(15, 31, 61, .18);
}

.command-center {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.command-hero {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  padding: 28px 32px 30px;
}

.command-hero-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
}

.command-hero-symbol {
  display: block;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  object-fit: contain;
}

.command-hero-wordmark h1 {
  margin: 0;
  color: var(--pulse-navy);
  font-size: 42px;
  line-height: 1;
}

.command-hero-wordmark p {
  margin: 7px 0 0;
  color: var(--pulse-coral);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
}

.command-hero > .subtitle {
  max-width: 820px;
  margin: 17px 0 0;
}

.pulse-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 18px 0 4px;
  color: #64748b;
  font-size: 13px;
}

.pulse-footer img {
  display: block;
}

.pulse-footer strong {
  color: var(--pulse-navy);
}

.brand-error-page {
  padding-top: 48px;
}

.brand-error-card {
  text-align: center;
}

.brand-error-card > img {
  display: block;
  width: min(320px, 82%);
  height: auto;
  margin: 0 auto 30px;
}

.brand-error-card .btn-primary {
  margin-top: 18px;
}

.workflow-card,
.recent-strip {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.command-hero h2 {
  margin: 14px 0 0;
  color: #0f172a;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.workflow-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border-radius: 18px;
}

.workflow-kicker {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.workflow-card h2 {
  margin: 12px 0 10px;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}

.workflow-card p,
.workflow-card li {
  color: #475569;
  line-height: 1.45;
}

.workflow-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 22px;
  padding-left: 18px;
}

.workflow-card .btn-primary {
  margin-top: auto;
  justify-content: center;
}

.recent-strip {
  margin-top: 22px;
  padding: 24px;
  border-radius: 18px;
}

.recent-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.recent-strip h2 {
  margin: 6px 0 0;
  color: #0f172a;
  font-size: 28px;
}

.recent-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.recent-report-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
}

.recent-report-card > span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.recent-report-card strong {
  color: #0f172a;
  line-height: 1.25;
}

.recent-report-card p,
.recent-report-card small,
.recent-empty p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.recent-report-card .btn-primary {
  margin-top: auto;
  justify-content: center;
}

.recent-empty {
  padding: 16px;
  border: 1px dashed #bfdbfe;
  border-radius: 14px;
  background: #f8fafc;
}

@media (max-width: 940px) {
  .pulse-shell-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 16px;
  }

  .pulse-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .workflow-grid,
  .recent-report-grid {
    grid-template-columns: 1fr;
  }

  .command-hero-symbol {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .command-hero-wordmark h1 {
    font-size: 36px;
  }
}

@media (max-width: 620px) {
  .pulse-shell-header {
    padding: 12px 16px;
  }

  .pulse-nav {
    justify-content: flex-start;
  }

  .pulse-brand img {
    width: 42px;
    height: 42px;
  }

  .pulse-header-actions {
    min-width: 0;
    grid-column: 3;
    grid-row: 1;
  }

  .pulse-header-actions .auth-link {
    padding: 9px 12px;
    font-size: 12px;
  }

  .pulse-nav a {
    flex: 0 0 auto;
    padding: 9px 10px;
    font-size: 13px;
  }

  .command-center {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .command-hero {
    padding: 22px;
  }

  .command-hero-lockup {
    justify-content: center;
    gap: 14px;
  }

  .command-hero-symbol {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .command-hero-wordmark h1 {
    font-size: 28px;
  }

  .command-hero-wordmark p {
    margin-top: 5px;
    font-size: 13px;
  }

  .command-hero > .subtitle {
    margin-top: 16px;
  }

  .command-hero h2 {
    margin-top: 13px;
    font-size: 27px;
  }
}

@media (max-width: 430px) {
  .command-hero-lockup {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .command-hero-symbol {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }
}

/* Custom Web Intelligence intake */
.custom-pulse-page .card {
  margin-bottom: 18px;
}

.custom-url-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.custom-url-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.analyze-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 178px;
  min-height: 46px;
  white-space: nowrap;
}

.analyze-button.is-loading,
.analyze-button:disabled.is-loading {
  cursor: progress;
  opacity: .92;
  transform: none;
}

.custom-button-spinner {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at center, rgba(15, 23, 42, .96) 0 38%, transparent 40%),
    conic-gradient(from 20deg, transparent 0 18%, #7dd3fc 28%, #14b8a6 39%, transparent 52% 100%);
  box-shadow: 0 0 12px rgba(45, 212, 191, .55), inset 0 0 8px rgba(15, 23, 42, .9);
  animation: customGlyphSpin 1.05s cubic-bezier(.45, .02, .28, .99) infinite;
}

.custom-button-spinner::before,
.custom-button-spinner::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(191, 219, 254, .78);
}

.custom-button-spinner::after {
  inset: 9px 2px 9px 16px;
  border: 0;
  background: #e0f2fe;
  box-shadow: 0 0 10px rgba(224, 242, 254, .95);
  transform-origin: -5px 50%;
  animation: customScanTick .72s linear infinite;
}

.analyze-button.is-loading .custom-button-spinner {
  display: inline-block;
}

.custom-validation-busy,
.custom-validation-busy .custom-url-card,
.custom-validation-busy .custom-url-card * {
  cursor: progress;
}

.extension-launch-page {
  display: grid;
  gap: 18px;
}

.extension-launch-hero {
  margin-bottom: 0;
}

.extension-launch-form {
  display: grid;
  gap: 18px;
}

.extension-launch-card {
  display: grid;
  gap: 18px;
}

.extension-autostart-card {
  justify-items: center;
  padding-block: clamp(28px, 7vw, 56px);
  text-align: center;
}

.extension-loading-indicator {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--pulse-navy);
}

.extension-loading-indicator div {
  display: grid;
  gap: 6px;
}

.extension-loading-indicator strong {
  font-size: clamp(19px, 3vw, 24px);
}

.extension-loading-indicator span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.extension-loading-spinner {
  width: 54px;
  height: 54px;
  border: 5px solid var(--brand-soft);
  border-top-color: var(--pulse-violet);
  border-radius: 50%;
  animation: extensionLaunchSpin .8s linear infinite;
}

.extension-autostart-fallback {
  min-width: min(100%, 230px);
}

@keyframes extensionLaunchSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .extension-loading-spinner {
    animation-duration: 1.8s;
  }
}

.extension-page-title {
  margin: 0;
  color: var(--pulse-navy);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.3;
}

.extension-url-summary,
.extension-scope-summary > div {
  min-width: 0;
}

.extension-url-summary span,
.extension-scope-summary span:first-child {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.extension-url-summary strong {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--pulse-neutral-light);
  color: var(--pulse-navy);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.extension-scope-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.extension-scope-summary strong {
  color: var(--pulse-navy);
}

.extension-period-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.extension-period-option > span {
  display: block;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.extension-period-option input:focus-visible + span {
  outline: 3px solid var(--pulse-violet);
  outline-offset: 2px;
}

.extension-custom-dates {
  margin-top: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--pulse-neutral-light);
  opacity: .72;
}

.extension-custom-dates.is-custom {
  border-color: var(--pulse-violet);
  background: var(--brand-soft);
  opacity: 1;
}

.extension-custom-dates input[readonly] {
  color: var(--muted);
  cursor: default;
}

.extension-date-error,
.extension-launch-error {
  margin: 0;
}

.extension-launch-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .extension-period-grid {
    grid-template-columns: 1fr;
  }

  .extension-launch-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .extension-launch-actions .button-link,
  .extension-launch-actions button {
    width: 100%;
    text-align: center;
  }
}

@keyframes customGlyphSpin {
  to { transform: rotate(360deg); }
}

@keyframes customScanTick {
  to { transform: rotate(-360deg); }
}

.custom-url-row input[type="url"] {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.compact-helper {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill[data-mode="loading"] {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.status-pill[data-mode="ok"] {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.status-pill[data-mode="warning"],
.status-pill[data-mode="error"] {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.alert {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.4;
}

.alert.error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.custom-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.custom-summary-grid .summary-tile strong {
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.compact-actions {
  justify-content: flex-end;
  margin: 0;
}

.custom-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.custom-url-option > span {
  min-height: 96px;
  align-items: flex-start;
}

.custom-url-option input:disabled + span {
  cursor: not-allowed;
}

.custom-option-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.custom-option-copy strong,
.custom-option-copy small,
.custom-option-copy em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.custom-option-copy small {
  color: inherit;
  opacity: .74;
  font-size: 12px;
  font-weight: 750;
}

.custom-option-copy em {
  color: inherit;
  opacity: .8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.static-scope-card > span {
  cursor: default;
  min-height: 112px;
}

.custom-scope-guide {
  margin: 14px 0 16px;
}

.unavailable-locales {
  margin-top: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px 14px;
}

.unavailable-locales summary {
  cursor: pointer;
  font-weight: 900;
}

.unavailable-locales div {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.ready-state {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.ready-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #dcfce7;
  color: #166534;
  font-size: 28px;
  font-weight: 900;
}

.prepared-scope {
  color: #334155;
  line-height: 1.55;
}

.prepared-scope ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.prepared-scope li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.custom-time-series {
  width: 100%;
  height: 360px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.chart-fallback {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  font-weight: 750;
  padding: 16px;
}

.chart-tooltip {
  min-width: 210px;
  padding: 12px;
}

.chart-tooltip-date {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 8px;
}

.chart-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 5px;
}

.chart-tooltip-row strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.chart-tooltip-row.muted strong {
  color: #99f6e4;
}

.chart-tooltip-note {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 9px;
  max-width: 280px;
  overflow-wrap: anywhere;
}

.custom-url-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.custom-url-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px 14px;
}

.custom-url-list a {
  color: var(--brand-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.custom-url-list a:hover {
  text-decoration: underline;
}

.custom-cockpit-page {
  max-width: 1280px;
}

.custom-cockpit-hero {
  padding: 24px 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(191, 219, 254, .74);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(255, 255, 255, .96) 52%, rgba(240, 253, 250, .82));
  box-shadow: 0 20px 54px rgba(15, 23, 42, .10);
}

.custom-cockpit-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.custom-cockpit-topbar .eyebrow {
  margin-bottom: 10px;
}

.custom-cockpit-topbar h1 {
  font-size: 38px;
  letter-spacing: 0;
}

.custom-cockpit-actions {
  gap: 8px;
  max-width: 620px;
}

.custom-cockpit-url {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.custom-cockpit-url span,
.custom-cockpit-meta span,
.custom-kpi-card span,
.custom-insight-panel span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-cockpit-url a {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.custom-cockpit-url a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.custom-cockpit-meta,
.custom-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.custom-cockpit-meta {
  margin-top: 18px;
}

.custom-cockpit-meta div,
.custom-kpi-card {
  border: 1px solid rgba(203, 213, 225, .78);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  padding: 13px 14px;
}

.custom-cockpit-meta strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.35;
}

.custom-kpi-grid {
  margin-bottom: 18px;
}

.custom-kpi-card {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.custom-kpi-card.primary {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.custom-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

.custom-cockpit-card {
  padding: 0;
  overflow: hidden;
}

.custom-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.custom-tab {
  width: auto;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
}

.custom-tab:hover,
.custom-tab:focus-visible,
.custom-tab.active {
  border-color: #bfdbfe;
  background: #ffffff;
  color: #1d4ed8;
  transform: none;
}

.custom-view-panel {
  display: none;
  padding: 24px;
}

.custom-view-panel.active {
  display: block;
}

.custom-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.metric-toggle {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
}

.metric-toggle button {
  width: auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
}

.metric-toggle button.active,
.metric-toggle button:hover,
.metric-toggle button:focus-visible {
  background: #ffffff;
  color: #1d4ed8;
  transform: none;
}

.custom-insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}

.custom-echart {
  width: 100%;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 250, 252, .96), #ffffff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}

.custom-echart.compact {
  min-height: 330px;
}

.custom-insight-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  padding: 18px;
}

.custom-insight-panel strong {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}

.custom-insight-panel p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.custom-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

.custom-table-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.custom-table-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
}

.custom-lazy-state,
.custom-empty-state {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  font-weight: 850;
  padding: 18px;
}

.custom-view-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.custom-view-kpi {
  min-height: 98px;
  border: 1px solid rgba(203, 213, 225, .8);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .92)),
    radial-gradient(circle at 82% 18%, rgba(45, 212, 191, .18), transparent 34%);
  padding: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.custom-view-kpi span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.custom-view-kpi strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.custom-view-kpi em {
  display: block;
  margin-top: 7px;
  color: #0f766e;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.custom-reconciliation-warning {
  margin: 0 0 16px;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.customer-story-provisional-note {
  margin: 0 0 16px;
  border: 1px solid #c4b5fd;
  border-radius: 8px;
  background: #f5f3ff;
  color: #5b21b6;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
  .customer-story-provisional-note {
    border-color: #7666d9;
    background: #241f4a;
    color: #ddd6fe;
  }
}

.custom-extra-chart-block {
  margin: 20px 0 0;
}

.mini-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: spinPulse .8s linear infinite;
}

@keyframes spinPulse {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .custom-cockpit-topbar,
  .custom-panel-head {
    flex-direction: column;
  }

  .custom-cockpit-meta,
  .custom-kpi-grid,
  .custom-insight-layout {
    grid-template-columns: 1fr 1fr;
  }

  .custom-insight-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .custom-cockpit-hero,
  .custom-view-panel {
    padding: 18px;
  }

  .custom-cockpit-meta,
  .custom-kpi-grid,
  .custom-view-kpi-grid,
  .custom-insight-layout {
    grid-template-columns: 1fr;
  }

  .custom-tabbar,
  .metric-toggle {
    overflow-x: auto;
  }
}

.compact-support-card p {
  color: #334155;
  line-height: 1.5;
}

.custom-compact-support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.custom-compact-support h2,
.custom-compact-support p {
  margin: 0;
}

@media (max-width: 900px) {
  .custom-summary-grid,
  .custom-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .custom-url-row,
  .custom-summary-grid,
  .custom-card-grid {
    grid-template-columns: 1fr;
  }

  .custom-url-row .btn-primary,
  .compact-actions,
  .compact-actions .mini-button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .story-open-button {
    margin-top: 18px;
    width: 100%;
  }

  .story-cta-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: 78vh;
    border-radius: 20px;
  }

  .story-cta-body {
    padding: 16px;
  }

  .compact-story-line-chart svg {
    height: 230px;
  }
}

/* Final Customer Story slide-in polish */
.story-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
}

.story-open-button:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.story-trend-insight[hidden] {
  display: none;
}

.story-trend-insight {
  margin: 14px 0 12px;
  padding: 13px 15px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}
