/* DESIGN CONTROLS: fonts, palette, spacing and density. Start here for visual changes. */
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --font-ui: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-summary: 15px;
  --summary-leading: 24px;
  --summary-measure: 680px;
  --page-gutter: 32px;
  --reader: clamp(440px, 36vw, 540px);

  /* Neutrals */
  --paper: #ffffff;
  --card: #f7f9fa;          /* very light, cool tint on situation cards */
  --card-hover: #f2f6f7;
  --card-line: #e5eaec;
  --ink: #0d0d0e;
  --ink-2: #3e4046;         /* summaries and secondary values */
  --muted: #6b6e75;
  --line: #e8e8eb;
  --line-soft: #f2f2f4;

  /* Brand */
  --petrol: #0f3540;        /* top bar */
  --petrol-ink: #12505f;    /* positive spreads and returns */
  --petrol-soft: #e3eef1;
  --petrol-mute: #c3d8dd;   /* inactive text on the top bar */
  --black: #0b0b0c;
  --orange: #f7931e;        /* SSI orange: active filter, logo dot, focus of attention */
  --orange-deep: #c4640a;
  --orange-ink: #b45309;    /* orange as text on white */
  --orange-soft: #fff1dd;
  --selected: #fff5e8;      /* selected card */
  --selected-line: #ebc085;
  --negative: #c2362b;
  --negative-soft: #fdebe8;
  --focus: #12505f;
  --backdrop: #0b0d0f73;

  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-ui);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

/* Base and keyboard access */
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:is(button, a, input, select, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--paper); padding: 12px; }
.skip-link:focus { top: 10px; }
.missing-value { color: var(--muted); }
.empty-copy { color: var(--muted); }

/* Top bar */
.app-shell { display: grid; grid-template-rows: 68px minmax(0, 1fr) auto; height: 100dvh; }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 0 24px; background: var(--petrol); color: #fff; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; color: #fff; text-decoration: none; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--black); box-shadow: 0 0 0 1px rgba(255,255,255,.08); font-size: 13px; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 5px; height: 5px; border-radius: 9px; background: var(--orange); }
.tracker-switch { position: relative; }
.tracker-trigger { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px 0 13px; border: 1px solid rgba(255,255,255,.36); border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.18); transition: background-color .12s, border-color .12s; }
.tracker-trigger:hover, .tracker-trigger[aria-expanded=true] { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.5); }
.tracker-icon { width: 15px; height: 15px; fill: var(--orange); }
.tracker-trigger-label { letter-spacing: -0.005em; }
.menu-chevron { width: 15px; height: 15px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; transition: transform .15s; }
.tracker-trigger[aria-expanded=true] .menu-chevron { transform: rotate(180deg); }
.tracker-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: 420px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(13,13,14,.06), 0 24px 56px -18px rgba(13,13,14,.35); }
.tracker-menu-heading { display: flex; justify-content: space-between; margin: 0; padding: 8px 12px 10px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.tracker-menu-heading span:first-child { color: var(--ink); font-weight: 600; }
.tracker-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.tracker-option + .tracker-option { margin-top: 2px; }
.tracker-option:hover, .tracker-option:focus-visible { background: #f5f7f8; }
.tracker-option[aria-current=page] { background: var(--selected); box-shadow: inset 0 0 0 1px var(--selected-line); }
.tracker-option-copy strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.tracker-option-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 19px; }
.tracker-option-count { color: var(--orange-deep); font-size: 15px; font-weight: 600; text-align: right; }
.tracker-option-count small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.header-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.about-button { color: var(--petrol-mute); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.about-button:hover, .about-button[aria-current=page] { color: #fff; }
.about-button[aria-current=page] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.account-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.account-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.account-link:hover, .account-link[aria-current=page] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* Design switcher (compare visual directions; see design-pro.css) */
.design-switch { position: relative; margin-left: auto; }
.design-switch + .header-links { margin-left: 14px; }
.design-trigger { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: var(--petrol-mute); font-size: 14px; font-weight: 500; white-space: nowrap; }
.design-trigger:hover, .design-trigger[aria-expanded=true] { color: #fff; background: rgba(255,255,255,.08); }
.design-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.design-icon path { fill: currentColor; stroke: none; }
.design-trigger[aria-expanded=true] .menu-chevron { transform: rotate(180deg); }
.design-menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 40; width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(13,13,14,.06), 0 24px 56px -18px rgba(13,13,14,.35); }
.design-menu-heading { display: flex; justify-content: space-between; margin: 0; padding: 8px 10px 10px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.design-menu-heading span { color: var(--muted); font-weight: 500; }
.design-option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); text-align: left; }
.design-option:hover, .design-option:focus-visible { background: #f5f7f8; }
.design-option[aria-checked=true] { background: var(--selected); box-shadow: inset 0 0 0 1px var(--selected-line); }
.design-option-copy strong { display: block; font-size: 14px; font-weight: 600; }
.design-option-copy span { display: block; margin-top: 1px; color: var(--muted); font-size: 12.5px; line-height: 18px; }
.design-swatch { display: grid; grid-template-columns: repeat(3, 10px); flex-shrink: 0; overflow: hidden; border: 1px solid rgba(13,13,14,.12); border-radius: 7px; }
.design-swatch i { height: 30px; }
.swatch-original i:nth-child(1) { background: #0f3540; } .swatch-original i:nth-child(2) { background: #f7f9fa; } .swatch-original i:nth-child(3) { background: #f7931e; }
.swatch-pro i:nth-child(1) { background: #0b0b0c; } .swatch-pro i:nth-child(2) { background: #ffffff; } .swatch-pro i:nth-child(3) { background: #f7931e; }
.design-menu-subheading { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.canvas-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 4px 4px; }
.canvas-option { display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.canvas-option:hover, .canvas-option:focus-visible { background: #f5f7f8; }
.canvas-option[aria-checked=true] { color: var(--ink); font-weight: 600; }
.canvas-option[aria-checked=true] .canvas-swatch { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #f7931e; }
.canvas-swatch { width: 100%; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(13,13,14,.12); }
.canvas-swatch-white { background: #ffffff; }
.canvas-swatch-dots { background: radial-gradient(rgba(13,13,14,.22) 1px, transparent 1.4px) 0 0 / 7px 7px, #f2f2f2; }
.canvas-swatch-plain { background: #f1f1f1; }

/* Content pages: home, About, Account */
main { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.content-page { min-height: 0; flex: 1; overflow: auto; padding: clamp(56px, 10vh, 120px) var(--page-gutter); }
.home-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); max-width: 1120px; margin: 0 auto; }
.page-eyebrow { margin: 0 0 20px; color: var(--orange-ink); font-size: 13px; font-weight: 600; }
.content-page h1 { margin: 0 0 22px; font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -0.028em; }
.content-page h1:focus, #workspace:focus { outline: none; }
.page-lead { max-width: 460px; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 27px; }
.browse-trackers { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; }
.browse-trackers:hover { background: #26282c; }
.signup-panel { padding: 30px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); }
.signup-marker { display: block; width: 24px; height: 3px; margin-bottom: 22px; background: var(--orange); }
.signup-panel h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.signup-panel > p { margin: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.signup-panel label, #account-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.signup-input-row { display: flex; gap: 8px; }
.signup-input-row input, #account-form input { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #c9ccd1; border-radius: 12px; background: var(--paper); font-size: 15px; }
.signup-input-row button { flex-shrink: 0; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--orange); color: #1a1206; font-size: 14.5px; font-weight: 600; }
.signup-input-row button:hover { background: #ffa23a; }
.signup-note { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 19px; }
.signup-success { padding-top: 4px; font-size: 15px; line-height: 24px; }
.signup-success strong { color: var(--petrol-ink); font-weight: 600; }
.signup-success p { margin: 6px 0 14px; color: var(--muted); }
.signup-success button, .text-button { padding: 6px 0; border: 0; background: none; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.signup-success button:hover, .text-button:hover { color: var(--ink); }
.about-content { max-width: 720px; margin: 0 auto; }
.about-content .page-lead { max-width: 620px; }
.about-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; line-height: 26px; }
.about-copy p { margin: 12px 0; }
.account-layout { max-width: 920px; margin: 0 auto; }
.account-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.account-heading .page-eyebrow { margin-bottom: 16px; }
.account-heading h1 { margin-bottom: 14px; font-size: 44px; }
.account-heading .page-lead { max-width: none; font-size: 15.5px; }
.preview-badge { margin-top: 6px; padding: 4px 10px; border-radius: 99px; background: var(--orange-soft); color: var(--orange-ink); font-size: 12.5px; font-weight: 600; }
.account-signin { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.signin-card { padding: 30px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); }
.signin-card h2, .account-preview-intro h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.account-description, .account-preview-intro p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; line-height: 24px; }
.account-preview-intro .browse-trackers { margin-top: 0; }
.google-signin { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 44px; border: 1px solid #c9ccd1; border-radius: 12px; background: var(--paper); font-size: 14.5px; font-weight: 600; }
.google-signin:hover { border-color: var(--ink); }
.google-signin > span { font-size: 16px; font-weight: 700; }
.signin-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12.5px; }
.signin-divider::before, .signin-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#account-form button { width: 100%; margin-top: 12px; }
.account-status { margin: 12px 0 0; color: var(--petrol-ink); font-size: 13px; line-height: 20px; }
.account-status:empty { display: none; }
.profile-strip { display: flex; align-items: center; gap: 14px; padding: 20px 0 26px; border-bottom: 1px solid var(--line); }
.profile-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: 17px; font-weight: 600; }
.profile-strip strong { display: block; font-size: 15px; font-weight: 600; }
.profile-strip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.profile-strip button { margin-left: auto; }
.account-section { display: grid; grid-template-columns: .85fr 1.3fr; gap: 44px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.account-section:last-child { border-bottom: 0; }
.account-section h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.account-section-intro p, .membership-preview p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 23px; }
.preference-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 0 18px; cursor: pointer; }
.preference-row + .preference-row { padding-top: 18px; border-top: 1px solid var(--line); }
.preference-row strong { display: block; font-size: 15px; font-weight: 600; }
.preference-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 20px; }
.preference-row input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--petrol-ink); cursor: pointer; }
.preferences-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 6px; }
.membership-label { display: block; margin-bottom: 8px; color: var(--petrol-ink); font-size: 14px; font-weight: 600; }

/* Shared buttons and dialogs */
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; }
.primary-button:hover { background: #26282c; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 18px; line-height: 1; }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover:not(:disabled) { border-color: var(--ink); }
.icon-button:disabled { color: #c9cace; }
dialog { border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 70px -20px rgba(13,13,14,.35); padding: 0; }
dialog::backdrop { background: var(--backdrop); backdrop-filter: blur(2px); }
.settings-dialog { width: min(540px, calc(100vw - 30px)); max-height: 85dvh; padding: 26px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-heading h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.dialog-footer { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
#info-content p, .service-copy { color: var(--ink-2); font-size: 15px; line-height: 24px; }
#info-content strong { color: var(--ink); font-weight: 600; }
.service-copy { margin-top: 18px; }
.service-copy h3 { margin: 20px 0 6px; color: var(--ink); font-size: 15px; font-weight: 600; }
.service-copy p { margin: 0 0 14px; }
.contact-detail { padding-top: 2px; border-top: 1px solid var(--line); }
.service-copy .draft-policy-note { margin-top: 22px; color: var(--muted); font-size: 13px; }
.error-message { padding: 32px; font-size: 15px; line-height: 24px; color: var(--negative); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 20px; padding: 6px var(--page-gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 18px; }
.site-footer p { margin: 4px 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer button { padding: 6px 0; border: 0; background: none; color: inherit; font-size: inherit; }
.site-footer button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Tracker workspace: the list on the left, the research panel on the right */
.tracker-page { display: flex; flex: 1; min-height: 0; }
.workbench { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr); min-height: 0; min-width: 0; }
.workbench.reader-open { grid-template-columns: minmax(0, 1fr) var(--reader); }
.workbench.reader-hidden .research-panel { display: none; }
.list-pane { min-width: 0; min-height: 0; overflow: auto; padding: 0 28px 24px var(--page-gutter); }
.reader-open .list-pane { padding-right: 12px; }

.tracker-head { display: flex; align-items: flex-end; gap: 28px; padding: 30px 0 22px; }
.tracker-head h1 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.028em; }
.tracker-head h1:focus { outline: none; }
.tracker-heading p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.tracker-count { padding-left: 28px; border-left: 1px solid var(--line); }
.tracker-count-line { display: flex; align-items: baseline; gap: 10px; }
.tracker-count b { font-size: 40px; font-weight: 600; line-height: .9; letter-spacing: -0.025em; }
.tracker-count span { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.tracker-count small { display: block; margin-top: 7px; color: var(--muted); font-size: 12.5px; }

.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 8px; padding-bottom: 16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .12s, border-color .12s; }
.chip span { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.chip:hover { border-color: #cfcfd4; }
.chip[aria-pressed=true] { background: var(--orange); border-color: var(--orange); color: #1a1206; }
.chip[aria-pressed=true] span { color: #5a3a10; }
.clear-button { height: 38px; padding: 0 6px; border: 0; background: none; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.clear-button:hover { color: var(--ink); }
.list-tools { display: contents; } /* groups the sort menu (Pro design) with the search box; no box of its own here */
.tracker-head .search-control { align-self: center; }
.search-control { display: flex; align-items: center; gap: 10px; width: 300px; height: 40px; margin-left: auto; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--muted); }
.search-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-control:focus-within { border-color: var(--petrol-ink); outline: 2px solid var(--petrol-soft); outline-offset: 0; }
.search-control input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 14px; }
.search-control input::-webkit-search-cancel-button { cursor: pointer; }
input::placeholder { color: var(--muted); }


/* Card rows share one grid with the column headings, so values line up.
   Panel closed: one line of columns. Panel open: details on top, summary underneath. */
.grid { display: grid; grid-template-columns: 196px 84px 96px 150px minmax(0, 1fr) 108px; grid-template-areas: "sit m1 m2 m3 sum rep"; column-gap: 28px; }
.workbench[data-tracker="strategic-review"] .grid { grid-template-columns: 196px 84px 104px 128px minmax(0, 1fr) 108px; }
.reader-open .grid, .workbench[data-tracker="strategic-review"].reader-open .grid { grid-template-columns: minmax(0, 1fr) 84px 100px 168px; grid-template-areas: "sit m1 m2 m3" "sum sum sum sum"; }
.workbench[data-tracker="strategic-review"].reader-open .grid { grid-template-columns: minmax(0, 1fr) 84px 104px 120px; }
.c-sit { grid-area: sit; min-width: 0; } .m1 { grid-area: m1; } .m2 { grid-area: m2; } .m3 { grid-area: m3; } .c-sum { grid-area: sum; min-width: 0; } .c-rep { grid-area: rep; text-align: center; }
.num { text-align: right; }
.reader-open .c-rep, .reader-open .th.c-sum { display: none; }

.list-head { position: sticky; top: 0; z-index: 3; align-items: center; height: 44px; margin-bottom: 10px; padding: 0 25px; border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.th { display: flex; align-items: center; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.th.num { justify-content: flex-end; }
/* Catalyst column: the word "Catalyst" and the bars share one centre line; the sort and info icons hang to the right */
.center { text-align: center; }
.th.center { justify-content: center; }
.th-anchor { position: relative; display: inline-flex; }
.th-anchor .sort-button { padding-left: 20px; }
.th-anchor .info-button { position: absolute; top: 50%; left: 100%; margin-left: 2px; transform: translateY(-50%); }
.th-long { display: none; }
.sort-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.sort-button svg { width: 14px; height: 14px; fill: none; stroke: #a3a5ab; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sort-button:hover svg { stroke: var(--ink); }
.sort-button.active svg { stroke: var(--petrol-ink); }
.sort-button.active.asc svg { transform: rotate(180deg); }

.situation-list { display: flex; flex-direction: column; gap: 12px; }
.situation { align-items: start; padding: 22px 24px; border: 1px solid var(--card-line); border-radius: 18px; background: var(--card); cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.situation:hover { background: var(--card-hover); border-color: #d5dde0; box-shadow: 0 10px 24px -16px rgba(13,13,14,.2); }
.situation.selected { background: var(--selected); border-color: var(--selected-line); box-shadow: inset 0 0 0 .5px var(--selected-line), 0 10px 24px -18px rgba(180,83,9,.35); }
.ticker-button { padding: 0; border: 0; background: none; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; text-align: left; overflow-wrap: anywhere; }
.ticker-button:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.company { display: block; margin-top: 3px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.situation .c-sit { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: baseline; align-content: start; }
.situation .c-sit .ticker-button { grid-column: 1; grid-row: 1; }
.situation .c-sit .company { grid-column: 1 / -1; grid-row: 2; }
.situation .c-sit .tag { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 10px; }
.reader-open .situation .c-sit .tag { grid-column: 2; grid-row: 1; margin-top: 0; transform: translateY(-1px); }

/* Deal type and review focus: quiet labels; only non-binding is flagged. */
.tag { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: #9a9da3; }
.tag-warn { height: 24px; padding: 0 10px 0 9px; border-radius: 99px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 600; }
.tag-warn::before { background: var(--orange); }

.pill { display: inline-block; padding: 5px 10px; border-radius: 9px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.pill.pos { background: var(--petrol-soft); color: var(--petrol-ink); }
.pill.neg { background: var(--negative-soft); color: var(--negative); }
.pill.zero, .pill:not(.pos):not(.neg) { background: #eef0f2; color: var(--ink-2); }
.num-value { display: inline-block; padding-top: 6px; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.text-value { display: block; padding-top: 6px; font-size: 15px; font-weight: 500; line-height: 21px; overflow-wrap: anywhere; }
.m1 > .missing-value, .m2 > .missing-value, .m3 > .missing-value { display: inline-block; padding-top: 6px; }
.terms-note { display: block; margin-top: 4px; color: var(--orange-ink); font-size: 12.5px; font-weight: 500; }

.meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 8px; vertical-align: top; }
.meter i { display: block; width: 7px; height: 7px; border-radius: 2px; background: #dde0e4; }
.meter i:nth-child(2) { height: 11px; } .meter i:nth-child(3) { height: 16px; }
.meter i.on { background: #2b2e33; }
.info-button { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; padding: 0; border: 0; border-radius: 99px; background: var(--orange-soft); box-shadow: inset 0 0 0 1px #f6d3a4; color: var(--orange-deep); transition: background-color .12s, color .12s; }
.info-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.info-button:hover, .info-button[aria-expanded=true] { color: #fff; background: var(--orange-deep); box-shadow: none; }
.th:has(.info-button) { position: relative; }
.catalyst-popover { position: absolute; text-align: left; top: calc(100% + 10px); right: -8px; z-index: 6; width: 300px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 1px 2px rgba(13,13,14,.05), 0 20px 44px -16px rgba(13,13,14,.25); color: var(--ink-2); font-size: 13.5px; font-weight: 400; line-height: 20px; white-space: normal; }
.catalyst-popover p { margin: 0 0 12px; }
.catalyst-popover-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 6px !important; }
.catalyst-popover ul { display: grid; gap: 8px; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); list-style: none; }
.catalyst-popover li { display: grid; grid-template-columns: 40px 1fr; align-items: center; color: var(--ink); font-weight: 500; }
.catalyst-popover li .meter { margin-top: 0; }

.summary { color: var(--ink-2); font-size: var(--font-size-summary); line-height: var(--summary-leading); }
.summary p { max-width: var(--summary-measure); margin: 0 0 10px; white-space: pre-line; overflow-wrap: anywhere; }
.summary p:last-child { margin-bottom: 0; }
.summary .lead { margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.summary .full p:last-child { margin-bottom: 0; }
.summary .preview, .summary .more { display: none; }
.reader-open .situation .c-sum { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3e8ea; }
.reader-open .situation.selected .c-sum { border-top-color: #f1d9b5; }
.reader-open .summary .full { display: none; }
.reader-open .summary .preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; white-space: normal; }
.reader-open .summary .more { display: block; margin: 2px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.reader-open .situation.selected .summary .more { display: none; }
.situation:hover .summary .more { color: var(--ink); }

.report-button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.report-button svg { width: 13px; height: 13px; fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.report-button:hover { background: var(--orange); border-color: var(--orange); color: #1a1206; }
.report-button:hover svg { stroke: #1a1206; }
.c-rep { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.empty-state { padding: 56px 20px; text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 24px; }
.list-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 10px 4px; color: var(--muted); font-size: 13px; }
.pager { display: flex; align-items: center; gap: 10px; }
.pagination-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); }
.pagination-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pagination-button:hover:enabled { border-color: var(--ink); }
.pagination-button:disabled { color: #c9cace; }
.page-size { display: flex; align-items: center; gap: 8px; }
.page-size select { height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 13px; }
.workspace-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 4px 0; color: var(--muted); font-size: 12.5px; line-height: 18px; }
.snapshot-button { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.snapshot-button:hover { color: var(--ink); }
.snapshot-dot { width: 6px; height: 6px; border-radius: 50%; background: #9a9da3; }

/* Research panel */
.research-panel { min-height: 0; margin: 14px 14px 14px 6px; overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 1px 2px rgba(13,13,14,.05), 0 28px 60px -24px rgba(13,13,14,.28); scrollbar-width: thin; }
.reader-topbar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 16px 0 32px; border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.reader-count { margin-right: auto; color: var(--muted); font-size: 13.5px; }
.reader-count b { color: var(--ink); font-weight: 600; }
.reader-content { padding: 28px 32px 40px; }
.reader-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.reader-head .reader-report { height: 34px; }
.reader-title { margin: 22px 0 12px; font-size: 42px; font-weight: 700; line-height: 1.08; letter-spacing: -0.028em; overflow-wrap: anywhere; }
.reader-company, .reader-hero, .reader-bar-title, .reader-facts-pro, .reader-updates, .fig-more, .reader-resizer, .sec-pro, .tracker-mark, .tracker-option-icon, .sort-control, .sort-tags, .filter-control, .cell-sort, .cell-hint, .desc-light, .catalyst-float, .cell-label, .cell-word, .brand-logo, .brand-logo-mark, .home-logo, .c-tag, .cvr-added, .site-nav, .site-search, .profile-link, .footer-about { display: none; } /* shown by the Pro design only */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.reader-dek { margin: 0 0 24px; color: var(--ink-2); font-size: 17px; font-weight: 400; line-height: 26px; }
.reader-parties { display: grid; row-gap: 8px; margin: 0; font-size: 15px; line-height: 22px; }
.reader-parties div { display: grid; grid-template-columns: 82px minmax(0, 1fr); }
.reader-parties dt { color: var(--muted); }
.reader-parties dd { margin: 0; font-weight: 600; }
.reader-metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; border-block: 1px solid var(--line); }
.reader-metrics div { padding: 16px 0 18px; }
.reader-metrics div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.reader-metrics dt { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.reader-metrics dd { margin: 0; }
.reader-metrics .figure { font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -0.025em; }
.reader-metrics .figure.pos { color: var(--petrol-ink); } .reader-metrics .figure.neg { color: var(--negative); }
.reader-metrics .small-value { padding-top: 4px; font-size: 17px; font-weight: 600; line-height: 24px; }
.meter-with-word { display: inline-flex; align-items: center; gap: 10px; }
.meter-with-word .meter { margin-top: 0; }
.meter-word { color: var(--ink); font-size: 17px; font-weight: 600; }
.reader-update { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--orange-soft); color: #5c3507; font-size: 15px; line-height: 23px; }
.reader-update strong { display: block; margin-bottom: 4px; color: var(--orange-ink); font-size: 13px; font-weight: 600; }
.reader-update p { margin: 0 0 8px; } .reader-update p:last-child { margin: 0; }
.reader-section { display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.reader-section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.summary-prose p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; line-height: 27px; white-space: pre-line; overflow-wrap: anywhere; }
.reader-facts { margin: 0; }
.reader-facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; line-height: 21px; }
.reader-facts dt { color: var(--muted); }
.reader-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.source-links { display: grid; gap: 8px; }
.source-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.source-links a:hover { border-color: var(--ink); }
.source-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.source-domain { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.source-links .source-main { border-color: var(--black); background: var(--black); color: var(--orange); }
.source-links .source-main .source-domain { color: #b5b1aa; }
.source-links .source-main:hover { background: #26282c; }
.reader-provenance { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 19px; }
.local-link-button { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.local-link-button:hover { color: var(--ink); }
.mobile-reader { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; }

/* Smaller laptops */
@media (max-width: 1199px) {
  :root { --page-gutter: 24px; }
  .grid { grid-template-columns: 168px 80px 92px 132px minmax(0, 1fr) 100px; column-gap: 22px; }
  .workbench[data-tracker="strategic-review"] .grid { grid-template-columns: 168px 80px 100px 132px minmax(0, 1fr) 100px; }
  .search-control { width: 240px; }
}

/* Tablets and phones: stacked cards; research opens as a full-screen reader */
@media (max-width: 839px) {
  :root { --page-gutter: 16px; }
  .site-header { padding: 0 16px; gap: 10px; }
  .app-shell { grid-template-rows: 68px minmax(0, 1fr) auto; }
  .header-links { gap: 14px; }
  .home-layout, .account-signin, .account-section { grid-template-columns: 1fr; gap: 28px; }
  .content-page { padding-block: 40px; }
  .list-pane { padding: 0 var(--page-gutter) 20px; }
  .tracker-head { flex-wrap: wrap; gap: 14px 22px; padding: 22px 0 18px; }
  .tracker-head h1 { font-size: 32px; }
  .tracker-count { padding-left: 0; border-left: 0; }
  .tracker-count b { font-size: 32px; }
  .search-control { width: 100%; margin-left: 0; height: 42px; }
  .search-control input { font-size: 16px; }
  .list-head { display: none; }
  .grid, .workbench[data-tracker="strategic-review"] .grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sit m2" "m1 m3" "sum sum" "rep rep"; column-gap: 14px; row-gap: 4px; }
  .m1 { text-align: left; } .m3, .m3.center { text-align: right; }
  .situation { padding: 18px; }
  .c-sum { margin-top: 12px; }
  .c-rep { flex-direction: row; justify-content: flex-start; margin-top: 12px; }
  .c-rep:empty { display: none; }
  .research-panel { display: none; }
  .mobile-reader { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .mobile-reader .reader-content { padding: 22px 20px 32px; }
  .mobile-reader .reader-topbar { padding-left: 20px; }
  .signup-input-row { flex-direction: column; }
  .signup-input-row input, #account-form input { font-size: 16px; }
  .list-footer { flex-wrap: wrap; }
  .workspace-footer { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .site-header { gap: 8px; }
  .tracker-switch { position: static; }
  .tracker-trigger { padding: 0 10px 0 11px; gap: 8px; }
  .tracker-menu { top: calc(100% - 4px); left: 16px; right: 16px; width: auto; max-width: none; }
  .account-link { padding: 0 12px; }
  .account-link svg { display: none; }
  .design-trigger-label, .design-trigger .menu-chevron { display: none; }
  .design-switch + .header-links { margin-left: 8px; }
  .design-menu { position: fixed; top: 72px; left: 16px; right: 16px; width: auto; }
  .reader-title { font-size: 34px; }
  .reader-metrics .figure { font-size: 30px; }
  .reader-facts div { grid-template-columns: 120px minmax(0, 1fr); }
}
/* Phones: the design switcher steps aside so the top bar keeps its original layout (use ?design=pro in the URL instead) */
@media (max-width: 420px) {
  .design-switch { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
