/* LeadGenerator 2.0, refined (Nov 2026): the Kombination look again.
   The logo navy sidebar, the light-blue workspace with its slow ribbon,
   halo and plus (brand-motion.css), white cards, and Kombination orange for
   the one action that moves the work forward. LeadGenerator 2.0's structure
   (split results, report, evidence grammar) is kept on top of it.
   Loaded last and scoped to html.lg2, so it wins over the earlier layers;
   every id script.js and the tests rely on is kept.

   Evidence grammar, used everywhere a claim is shown:
     solid blue dot      = documented on a source
     dashed orange ring  = hypothesis / to be confirmed
     hollow grey ring    = not known                                       */

:root.lg2 {
  --lg-nat: #1f3448;
  --lg-nat-2: #2a4560;
  --lg-nat-3: #36546f;
  --lg-nat-line: rgb(255 255 255 / 9%);
  --lg-nat-text: #d6e1ea;
  --lg-nat-muted: #a3b6c7;
  --lg-kalk: #e4edf5;
  --lg-kalk-2: #e6ebed;
  --lg-paper: #fff;
  --lg-ink: #17222c;
  --lg-ink-2: #2f4152;
  --lg-muted: #53667a;
  --lg-line: #d5e0ea;
  --lg-line-2: #b9c9d7;
  --lg-rav: #ec9638;
  --lg-rav-hover: #f2a750;
  --lg-rav-ink: #8a4f0f;
  --lg-rav-soft: #fdf0df;
  --lg-fjord: #344c66;
  --lg-fjord-soft: #e8eff6;
  --lg-ok: #2b6a4e;
  --lg-ok-soft: #e7f1ec;
  --lg-warn: #8a5a12;
  --lg-warn-soft: #fbf3e4;
  --lg-bad: #a2392f;
  --lg-bad-soft: #f8e9e7;
  --lg-sans:
    Aptos, "Aptos Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --lg-serif: var(--lg-sans);
  --lg-r-lamp: 22px;
  --lg-r-sheet: 16px;
  --lg-r-row: 10px;
  --lg-shadow-sheet: 0 1px 0 rgb(21 32 43 / 4%), 0 14px 34px -22px rgb(21 32 43 / 22%);
  --lg-shadow-lamp: 0 30px 60px -36px rgb(31 52 72 / 45%), 0 14px 30px -22px rgb(31 52 72 / 30%);
  --lg-focus: 0 0 0 3px rgb(52 76 102 / 35%);
  --lg-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* The earlier layers' tokens, re-pointed so their components follow. */
  --font-display: var(--lg-sans);
  --ink: var(--lg-ink);
  --muted: var(--lg-muted);
  --line: var(--lg-line);
  --soft: var(--lg-kalk);
  --brand-primary: #24374b;
  --brand-primary-hover: #182736;
  --brand-primary-soft: #e8eff6;
  --brand-primary-border: var(--lg-line-2);
  --brand-focus: rgb(52 76 102 / 35%);
  --ux-bg: var(--lg-kalk);
  --ux-navy: var(--lg-nat);
  --ux-navy-2: var(--lg-nat-2);
  --ux-ink: var(--lg-ink);
  --ux-muted: var(--lg-muted);
  --ux-line: var(--lg-line);
  --ux-soft: var(--lg-kalk);
  --ux-radius: var(--lg-r-sheet);
  --ux-shadow: var(--lg-shadow-sheet);
  --ux-focus: var(--lg-focus);
  --success: var(--lg-ok);
  --success-soft: var(--lg-ok-soft);
}

.lg2 body {
  background: #dde8f2 !important;
  color: var(--lg-ink);
  font-family: var(--lg-sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
.lg2 main#leadstudio-app h1,
.lg2 main#leadstudio-app h2,
.lg2 main#leadstudio-app h3,
.lg2 main#leadstudio-app h4,
.lg2 .icp-settings-panel h1,
.lg2 .icp-settings-panel h2 {
  font-family: var(--lg-sans) !important;
  letter-spacing: -0.012em;
  font-weight: 650;
  color: var(--lg-ink);
}
/* Page and report titles: the brand's tight, bold sans headline. */
.lg2 main#leadstudio-app h1,
.lg2 .icp-settings-panel h1,
.lg2 main#leadstudio-app .analysis-summary > h2,
.lg2 main#leadstudio-app .results-heading h2,
.lg2 main#leadstudio-app .preview-name,
.lg2 .lg-serif {
  font-family: var(--lg-serif) !important;
  font-weight: 750 !important;
  letter-spacing: -0.035em !important;
  text-transform: none !important;
}
.lg2 main#leadstudio-app h1 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  max-width: 22ch;
}
.lg2 :focus-visible {
  outline: none;
  box-shadow: var(--lg-focus) !important;
}

/* --- Buttons: amber lamp for the one action that moves the work on ------- */
.lg2 .button {
  font-family: var(--lg-sans);
  font-weight: 620;
  letter-spacing: 0;
  border-radius: 999px;
  transition:
    background-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}
.lg2 .button.primary {
  background: var(--lg-rav) !important;
  color: var(--lg-nat) !important;
  border: 0 !important;
  box-shadow: 0 10px 24px -14px rgb(236 150 56 / 90%) !important;
}
.lg2 .button.primary:hover:not(:disabled) {
  background: var(--lg-rav-hover) !important;
  transform: translateY(-1px);
}
.lg2 .button.primary:disabled,
.lg2 .button.primary[aria-disabled="true"] {
  background: var(--lg-kalk-2) !important;
  color: #6b716f !important;
  box-shadow: none !important;
  transform: none;
}
.lg2 .button.secondary {
  background: var(--lg-paper) !important;
  color: var(--lg-ink) !important;
  border: 1px solid var(--lg-line-2) !important;
  box-shadow: none !important;
}
.lg2 .button.secondary:hover:not(:disabled) {
  border-color: var(--lg-ink-2) !important;
}
.lg2 .button.ghost {
  border-radius: 999px;
}
.lg2 .text-button {
  color: var(--lg-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--lg-line-2);
  text-underline-offset: 3px;
}
.lg2 .text-button:hover {
  text-decoration-color: var(--lg-rav);
}

/* --- Shell: the night-blue sidebar ------------------------------------- */
.lg2 .history-sidebar {
  flex: 0 0 256px;
  width: 256px;
  background: linear-gradient(185deg, #27405a 0%, #1c2e3f 100%) !important;
  border-right: 0;
  box-shadow: inset -1px 0 0 var(--lg-nat-line);
  padding: 18px 12px 12px;
  gap: 6px;
  color: var(--lg-nat-text);
}
.lg2 .history-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 18px;
  flex-direction: row;
}
.lg2 .sidebar-logo {
  max-width: 128px;
  border-radius: 8px;
}
.lg2 .sidebar-product-label {
  margin: 0;
  color: var(--lg-nat-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.lg2 .sidebar-nav {
  display: grid;
  gap: 2px;
}
.lg2 .sidebar-nav .nav-item.history-new-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 0 !important;
  border-radius: var(--lg-r-row) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lg-nat-text) !important;
  font-size: 14px;
  font-weight: 560;
  text-align: left;
  transform: none !important;
}
.lg2 .sidebar-nav .nav-item.history-new-button:hover {
  background: var(--lg-nat-2) !important;
  color: #fff !important;
}
.lg2 .sidebar-nav .nav-item.history-new-button[aria-current="page"] {
  background: var(--lg-nat-3) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.lg2 .sidebar-nav .nav-item.history-new-button[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--lg-rav);
}
.lg2 .sidebar-nav .nav-item.history-new-button[aria-current="page"] .nav-icon {
  color: var(--lg-rav);
}
.lg2 .sidebar-nav .nav-item.history-new-button:focus-visible {
  outline: 2px solid var(--lg-rav) !important;
  outline-offset: -2px;
  box-shadow: none !important;
}
.lg2 .nav-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
/* Recent work: a quiet list between "where to work" and "what you set up". */
.lg2 .sidebar-recent {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  flex: 1 1 auto;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lg-nat-line);
}
.lg2 #history-label,
.lg2 .sidebar-recent .sidebar-section-label {
  margin: 0;
  padding: 0 12px;
  color: var(--lg-nat-muted) !important;
  font-family: var(--lg-sans) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
.lg2 .history-search {
  margin: 2px 4px 4px;
  width: calc(100% - 8px);
  min-height: 34px;
  border: 1px solid var(--lg-nat-line) !important;
  border-radius: 999px !important;
  background: var(--lg-nat-2) !important;
  color: #fff !important;
  font-size: 13px;
  padding: 6px 12px 6px 32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a1b0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 11px 50% !important;
  background-size: 14px !important;
}
.lg2 .history-search::placeholder {
  color: var(--lg-nat-muted);
}
.lg2 .history-groups {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--lg-nat-3) transparent;
}
.lg2 .history-status {
  padding: 0 12px;
  color: var(--lg-nat-muted) !important;
  font-size: 12px;
}
/* Recent analyses: rows on the night surface, the open one marked like the
   menu (amber edge), statuses as words with a dot, never a red alarm. */
.lg2 .history-group-toggle {
  color: var(--lg-nat-muted) !important;
  font-size: 12px;
  font-weight: 600;
}
.lg2 .history-item {
  position: relative;
  border: 0 !important;
  border-radius: var(--lg-r-row) !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 10px 8px 12px !important;
}
.lg2 .history-item:hover,
.lg2 .history-item:focus-visible {
  background: var(--lg-nat-2) !important;
}
.lg2 .history-item[aria-current="true"],
.lg2 .history-item[aria-current="true"]:hover,
.lg2 .history-item[aria-current="true"]:focus-visible {
  background: var(--lg-nat-3) !important;
}
.lg2 .history-item[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: var(--lg-rav);
}
.lg2 .history-item-title,
.lg2 .history-item[aria-current="true"] .history-item-title {
  color: #eef2f6 !important;
  font-size: 13px;
  font-weight: 560;
}
.lg2 .history-item-meta {
  color: var(--lg-nat-muted) !important;
  font-size: 12px;
}
.lg2 .history-item[aria-current="true"] .history-item-meta {
  color: #d0dbe5 !important;
}
.lg2 .history-item-meta .history-job-status,
.lg2 .history-item[aria-current="true"] .history-job-status.is-partial,
.lg2 .history-item[aria-current="true"] .history-job-status.is-failed {
  color: #f3cf98 !important;
}
.lg2 .history-job-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 5px 1px 6px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}
.lg2 .history-item-menu-trigger {
  color: var(--lg-nat-muted) !important;
}
.lg2 .profile-name {
  color: #eef2f6 !important;
}
.lg2 .profile-email {
  color: var(--lg-nat-muted) !important;
}
.lg2 .sidebar-nav-secondary {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--lg-nat-line);
}
.lg2 .sidebar-nav-secondary .nav-item.history-new-button {
  min-height: 34px;
  font-size: 13px;
  font-weight: 520;
  color: var(--lg-nat-muted) !important;
}
.lg2 .sidebar-profile {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--lg-nat-line);
}
.lg2 .profile-menu-button {
  border-radius: var(--lg-r-row);
  color: var(--lg-nat-text);
}
.lg2 .profile-initials {
  background: var(--lg-nat-3) !important;
  color: #fff !important;
  font-weight: 650;
}
.lg2 .profile-menu {
  border-radius: 12px;
  border: 1px solid var(--lg-line);
  box-shadow: 0 18px 40px -20px rgb(18 26 36 / 45%);
}

/* Main canvas */
.lg2 .app-shell main#leadstudio-app,
.lg2 main#leadstudio-app {
  background: transparent;
}
@media (min-width: 981px) {
  .lg2 .sidebar-toggle-button:not([hidden]) {
    left: 237px;
    top: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    background: var(--lg-paper);
    color: var(--lg-ink);
    border: 1px solid var(--lg-line);
    box-shadow: 0 6px 16px -10px rgb(18 26 36 / 40%);
  }
  .lg2 body.sidebar-collapsed .sidebar-toggle-button {
    left: 12px;
  }
}

/* --- Where you are: one line above an open analysis -------------------- */
.lg2 .view-context {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 14px 0 0;
  color: var(--lg-muted);
  font-size: 13px;
}
.lg2 .view-context[hidden] {
  display: none;
}
.lg2 .view-context-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 9px;
  border: 1px solid var(--lg-line);
  border-radius: 999px;
  background: var(--lg-paper);
  color: var(--lg-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lg2 .view-context-back:hover {
  border-color: var(--lg-line-2);
}
.lg2 .view-context-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.lg2 .view-context-trail b {
  color: var(--lg-ink);
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lg2 .view-context-sep {
  color: var(--lg-line-2);
}

/* ======================================================================
   Overblik — one question, three choices
   ====================================================================== */
.lg2 #overview.overview-screen {
  display: flex;
  flex-direction: column;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 8vh, 88px) 0 56px;
}
.lg2 #overview.overview-screen[hidden] {
  display: none;
}
.lg2 .home-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}
.lg2 .home-brand {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0 0 clamp(26px, 5vh, 44px);
}
.lg2 .home-brand-logo {
  display: block;
  width: clamp(270px, 30vw, 410px);
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 42px -26px rgb(30 55 79 / 44%);
}
.lg2 .home-brand-product {
  color: var(--lg-fjord);
  font-size: 13px;
  font-weight: 730;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lg2 .home-greeting {
  margin: 0 0 12px;
  color: var(--lg-fjord);
  font-size: 15px;
  font-weight: 650;
}
.lg2 #overview-title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px) !important;
  line-height: 1.04;
  letter-spacing: -0.035em !important;
  font-weight: 750 !important;
  text-wrap: balance;
}
.lg2 #overview .overview-lead {
  max-width: 48ch;
  margin: 16px 0 0;
  color: var(--lg-muted);
  font-size: 18px;
  line-height: 1.5;
}
.lg2 #overview .overview-status:empty {
  display: none;
}

/* The three choices: large, calm, one glance. The first is the product's
   main job, so it carries the brand navy; the other two are white. */
.lg2 .home-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(34px, 6vh, 56px);
}
.lg2 .home-choice {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 28px 26px 24px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background: rgb(255 255 255 / 90%);
  box-shadow:
    0 1px 0 rgb(23 34 44 / 4%),
    0 22px 44px -30px rgb(31 52 72 / 45%);
  color: var(--lg-ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    transform 260ms var(--lg-ease),
    box-shadow 260ms var(--lg-ease),
    border-color 260ms ease;
}
.lg2 .home-choice:hover {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow:
    0 1px 0 rgb(23 34 44 / 4%),
    0 34px 60px -32px rgb(31 52 72 / 55%);
}
.lg2 .home-choice:active {
  transform: translateY(-1px);
}
.lg2 .home-choice:focus-visible {
  outline: 3px solid var(--lg-rav) !important;
  outline-offset: 3px;
}
.lg2 .home-choice-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
  border-radius: 20px;
  background: var(--lg-fjord-soft);
  color: var(--lg-fjord);
  transition:
    transform 320ms var(--lg-ease),
    background-color 260ms ease;
}
.lg2 .home-choice-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lg2 .home-choice:hover .home-choice-icon {
  transform: translateY(-2px) rotate(-4deg);
}
.lg2 .home-choice-title {
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.lg2 .home-choice-text {
  color: var(--lg-muted);
  font-size: 16px;
  line-height: 1.5;
}
.lg2 .home-choice-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--lg-fjord-soft);
  color: var(--lg-fjord);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 200ms ease;
}
.lg2 .home-choice-cta::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 220ms var(--lg-ease);
}
.lg2 .home-choice:hover .home-choice-cta::after {
  transform: translateX(3px) rotate(45deg);
}
.lg2 .home-choice:first-child {
  border-color: transparent;
  background: linear-gradient(160deg, #2e4b68 0%, #1f3448 62%, #1a2c3d 100%);
  color: #fff;
}
.lg2 .home-choice:first-child .home-choice-text {
  color: #d3e0ec;
}
.lg2 .home-choice:first-child .home-choice-icon {
  background: rgb(255 255 255 / 12%);
  color: #fff;
}
.lg2 .home-choice:first-child .home-choice-cta {
  background: var(--lg-rav);
  color: var(--lg-ink);
}

/* Unfinished work comes first; a finished analysis is only a shortcut after
   the choices. */
.lg2 #overview .overview-continue {
  order: 0;
  width: min(760px, 100%);
  margin: clamp(26px, 4vh, 40px) auto 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.lg2 #overview .overview-continue[hidden] {
  display: none;
}
.lg2 #overview .overview-continue.is-recent {
  order: 3;
  width: 100%;
  margin-top: 34px;
}
.lg2 .home-hero {
  order: -2;
}
.lg2 #overview .overview-status {
  order: -1;
}
.lg2 #overview .home-choices {
  order: 1;
}
.lg2 #overview .home-context {
  order: 4;
}
.lg2 #overview .home-first-use {
  order: 5;
}
.lg2 #overview .overview-continue h2,
.lg2 #overview .overview-panel h2 {
  margin: 0;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--lg-ink-2) !important;
  letter-spacing: 0 !important;
}
.lg2 #overview .overview-continue:not(.is-recent) h2 {
  text-align: center;
  font-size: 15px !important;
}
.lg2 #overview .overview-continue-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.lg2 #overview .overview-continue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 16px 20px;
  border: 1px solid #fff;
  border-left: 4px solid var(--lg-rav);
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--lg-shadow-sheet);
}
.lg2 .overview-continue-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.lg2 .overview-continue-text b {
  font-weight: 700;
  color: var(--lg-ink);
}
.lg2 .overview-continue-text small {
  color: var(--lg-muted);
  font-size: 14px;
}

/* The approved target group and the offer: small context, under the
   choices. */
.lg2 #overview .home-context {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.lg2 #overview .home-context[hidden] {
  display: none;
}
.lg2 #overview .overview-panel {
  padding: 18px 20px 18px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 18px;
  background: rgb(255 255 255 / 72%);
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lg2 #overview .overview-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.lg2 .home-who {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--lg-ink);
}
.lg2 .home-details {
  margin-top: 8px;
}
.lg2 .home-details > summary {
  cursor: pointer;
  color: var(--lg-fjord);
  font-size: 14px;
  font-weight: 650;
}
.lg2 .home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.lg2 .home-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lg-line);
  color: var(--lg-ink-2);
  font-size: 13px;
}
.lg2 .home-chip.is-more {
  background: transparent;
  color: var(--lg-muted);
}
.lg2 .home-offer {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--lg-ink-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.lg2 .home-offer-note {
  margin: 8px 0 0;
  color: var(--lg-muted);
  font-size: 13px;
}
.lg2 #overview .home-first-use {
  max-width: 56ch;
  margin: 30px auto 0;
  color: var(--lg-ink-2);
  font-size: 15px;
  text-align: center;
}
.lg2 #overview .home-first-use[hidden] {
  display: none;
}

/* One orchestrated arrival: the question, then the three choices. */
@media (prefers-reduced-motion: no-preference) {
  .lg2 #overview:not([hidden]) .home-hero {
    animation: lg2-rise 640ms var(--lg-ease) both;
  }
  .lg2 #overview:not([hidden]) .home-choice {
    animation: lg2-rise 700ms var(--lg-ease) both;
  }
  .lg2 #overview:not([hidden]) .home-choice:nth-child(1) {
    animation-delay: 120ms;
  }
  .lg2 #overview:not([hidden]) .home-choice:nth-child(2) {
    animation-delay: 190ms;
  }
  .lg2 #overview:not([hidden]) .home-choice:nth-child(3) {
    animation-delay: 260ms;
  }
  .lg2 #overview:not([hidden]) .overview-continue:not([hidden]) {
    animation: lg2-rise 700ms var(--lg-ease) 80ms both;
  }
}
@keyframes lg2-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- The steps of a search ------------------------------------------- */
.lg2 .flow-steps {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 18px 0 0;
}
@media (min-width: 981px) {
  /* Clear of the round sidebar toggle in the top-left corner. */
  .lg2 .flow-steps {
    padding-left: 44px;
  }
}
.lg2 .flow-steps:not([hidden]) ~ #discovery {
  padding-top: 30px;
}
.lg2 .flow-steps[hidden] {
  display: none;
}
.lg2 .flow-steps-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  list-style: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lg2 .flow-steps-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  color: var(--lg-muted);
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}
.lg2 .flow-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid var(--lg-line-2);
  background: #fff;
  color: var(--lg-muted);
  font-size: 13px;
  font-weight: 750;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}
.lg2 .flow-steps-list li.is-done {
  color: var(--lg-ink-2);
}
.lg2 .flow-steps-list li.is-done .flow-num {
  border-color: var(--lg-ok);
  background: var(--lg-ok);
  color: transparent;
  position: relative;
}
.lg2 .flow-steps-list li.is-done .flow-num::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.lg2 .flow-steps-list li.is-current {
  background: var(--lg-nat);
  color: #fff;
}
.lg2 .flow-steps-list li.is-current .flow-num {
  border-color: var(--lg-rav);
  background: var(--lg-rav);
  color: var(--lg-ink);
}
@media (prefers-reduced-motion: no-preference) {
  .lg2 .flow-steps-list li.is-busy .flow-num {
    animation: lg2-step-busy 1.8s ease-in-out infinite;
  }
}
@keyframes lg2-step-busy {
  50% {
    box-shadow: 0 0 0 5px rgb(236 150 56 / 28%);
  }
}
.lg2 .flow-next {
  margin: 0 0 0 6px;
  color: var(--lg-ink-2);
  font-size: 15px;
  font-weight: 600;
}

/* --- The price of a search, before it starts ------------------------- */
.lg2 .cost-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 28px 28px 24px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--lg-ink);
  box-shadow: 0 40px 80px -40px rgb(23 34 44 / 55%);
}
.lg2 .cost-dialog::backdrop {
  background: rgb(23 40 58 / 38%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.lg2 .cost-dialog h2 {
  margin: 0 0 10px;
  font-size: 22px !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em;
}
.lg2 .cost-dialog p {
  margin: 0;
  color: var(--lg-ink-2);
  font-size: 16px;
  line-height: 1.55;
}
.lg2 .cost-dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .lg2 .cost-dialog[open] {
    animation: lg2-pop 240ms var(--lg-ease) both;
  }
}
@keyframes lg2-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Analysis: what it is for, and what each tab is for ---------------- */
.lg2 main#leadstudio-app .analysis-kicker {
  margin: 0 0 4px;
  color: var(--lg-fjord);
  font-size: 14px;
  font-weight: 700;
}
.lg2 main#leadstudio-app .analysis-purpose {
  max-width: 68ch;
  margin: 10px 0 0;
  color: var(--lg-muted);
  font-size: 15px;
}
.lg2 main#leadstudio-app .tab-intro {
  max-width: 70ch;
  margin: 0 0 16px;
  color: var(--lg-ink-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ======================================================================
   Pages: one sheet style, headings set as headlines
   ====================================================================== */
.lg2 .start-screen {
  padding-top: 64px;
  scroll-margin-top: 0;
}
.lg2 .results-section {
  scroll-margin-top: 0;
}
.lg2 .start-copy {
  margin: 0 0 24px;
}
.lg2 .start-copy h1 {
  margin: 0 0 8px;
}
.lg2 .start-copy p {
  color: var(--lg-muted);
  font-size: 16px;
}
.lg2 .card {
  border: 1px solid var(--lg-line) !important;
  border-radius: var(--lg-r-sheet) !important;
  background: var(--lg-paper) !important;
  box-shadow: var(--lg-shadow-sheet) !important;
}
.lg2 .card-heading h2 {
  font-size: 19px;
}
.lg2 .card-heading p {
  color: var(--lg-muted);
}

/* --- Find virksomheder: the brief, then the start panel ------------------ */
.lg2 #discovery .meeting-prep-grid {
  display: block;
}
.lg2 #discovery-step-criteria:not([hidden]) {
  display: block !important;
}
.lg2 #discovery-step-criteria {
  padding: 0 !important;
  overflow: hidden;
}
.lg2 .brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
}
.lg2 .brief-main {
  padding: 28px 30px 30px;
  min-width: 0;
}
.lg2 .brief-start {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: linear-gradient(170deg, #2a4560 0%, #1f3448 100%);
  color: var(--lg-nat-text);
}
.lg2 main#leadstudio-app .brief-start-title {
  margin: 0;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}
.lg2 .brief-steps {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  counter-reset: lg-brief;
  display: grid;
  gap: 12px;
}
.lg2 .brief-steps li {
  counter-increment: lg-brief;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.lg2 .brief-steps li::before {
  content: counter(lg-brief);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--lg-nat-line);
  color: var(--lg-rav);
  font-size: 12px;
  font-weight: 700;
}
.lg2 .brief-start .discovery-form-footer {
  margin: 0;
  padding: 0;
  border: 0;
}
.lg2 .brief-start #discovery-start-button {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}
.lg2 .brief-start .preview-help,
.lg2 .brief-start .budget-note {
  margin: 0;
  color: var(--lg-nat-muted) !important;
  font-size: 13px;
}
.lg2 .brief-start #discovery-start-status:empty {
  display: none;
}
.lg2 .brief-start #discovery-start-status {
  color: #ffd9a8 !important;
}
.lg2 .brief-start .loading-slot {
  color: var(--lg-ink);
}
.lg2 #discovery .discovery-target {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: start;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
}
/* The card's own heading already says "Din målgruppe". */
.lg2 #discovery .discovery-target-label {
  display: none;
}
.lg2 .discovery-target-label {
  display: block;
  color: var(--lg-muted);
  font-size: 13px;
  font-weight: 600;
}
.lg2 .discovery-target-summary > p:first-of-type {
  margin: 4px 0 12px;
  font-family: var(--lg-serif);
  font-size: 24px;
  line-height: 1.25;
  color: var(--lg-ink);
}
.lg2 .discovery-target-offer {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--lg-kalk);
  color: var(--lg-ink-2);
  font-size: 14px;
}
.lg2 .discovery-target-offer-label {
  font-weight: 650;
  color: var(--lg-ink);
}
.lg2 .discovery-target-alternatives {
  margin: 0;
  padding-left: 18px;
  color: var(--lg-ink-2);
}
.lg2 #discovery .discovery-readiness {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--lg-line);
  border-radius: 12px;
  background: var(--lg-paper);
}
.lg2 #discovery-readiness-title {
  font-size: 15px !important;
}
.lg2 .discovery-readiness-confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--lg-warn-soft);
  color: var(--lg-ink);
}
.lg2 .discovery-readiness-confirm input {
  accent-color: var(--lg-rav);
  margin-top: 3px;
}

/* --- Research: a truthful trail of real stages -------------------------- */
.lg2 .pick-progress {
  border: 1px solid var(--lg-line) !important;
  border-radius: 14px !important;
  background: var(--lg-paper) !important;
  padding: 16px 18px !important;
}
.lg2 .pick-progress.is-running {
  border-color: var(--lg-rav) !important;
}
.lg2 .pick-progress.is-done {
  background: var(--lg-ok-soft) !important;
  border-color: #cfe2d7 !important;
}
.lg2 .pick-progress.is-partial {
  background: var(--lg-warn-soft) !important;
  border-color: #ecd9b4 !important;
}
.lg2 .research-trail {
  display: flex;
  gap: 0;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.lg2 .research-trail li {
  position: relative;
  flex: 1 1 0;
  padding: 0 12px 0 22px;
  color: var(--lg-muted);
  font-size: 13px;
  line-height: 1.35;
}
.lg2 .research-trail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--lg-line-2);
  background: var(--lg-paper);
}
.lg2 .research-trail li.is-done {
  color: var(--lg-ink-2);
}
.lg2 .research-trail li.is-done::before {
  border-color: var(--lg-ok);
  background: var(--lg-ok);
}
.lg2 .research-trail li.is-current {
  color: var(--lg-ink);
  font-weight: 650;
}
.lg2 .research-trail li.is-current::before {
  border-color: var(--lg-rav);
  background: var(--lg-rav);
  box-shadow: 0 0 0 4px rgb(236 150 56 / 22%);
}
@media (prefers-reduced-motion: no-preference) {
  .lg2 .research-trail li.is-current::before {
    animation: lg2-pulse 1.6s ease-in-out infinite;
  }
}
@keyframes lg2-pulse {
  50% {
    box-shadow: 0 0 0 7px rgb(236 150 56 / 8%);
  }
}
.lg2 .pick-progress progress {
  accent-color: var(--lg-rav);
}

/* --- Results: list on the left, the company in full on the right -------- */
.lg2 #discovery-step-results {
  padding: 26px 28px 0 !important;
}
.lg2 .pick-workspace {
  display: block;
}
@media (min-width: 1180px) {
  .lg2 .pick-workspace.has-preview {
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
  }
  .lg2 .pick-workspace.has-preview .pick-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  /* In the split view the full story lives in the preview. */
  .lg2 .pick-workspace.has-preview .discovery-card-details {
    display: none;
  }
  .lg2 .pick-workspace.has-preview .pick-preview-button {
    display: inline-flex;
  }
  /* Each card still says, in short, why it was found and what is not
     known; the full story is in the preview. */
  .lg2 .pick-workspace.has-preview .pick-card .pick-why,
  .lg2 .pick-workspace.has-preview .pick-card .pick-reason {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  /* A compact row: check, name and score on one line, label below. */
  .lg2 .pick-workspace.has-preview .pick-card {
    min-height: 0 !important;
  }
  .lg2 .pick-workspace.has-preview .pick-main {
    padding-top: 12px !important;
    padding-bottom: 2px !important;
    row-gap: 2px !important;
  }
  .lg2 .pick-workspace.has-preview .pick-actions {
    margin-top: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 10px !important;
    border-top: 0 !important;
  }
  .lg2 .pick-workspace.has-preview .pick-score b {
    font-size: 24px;
  }
}
.lg2 .pick-preview-button {
  display: none;
}
/* The card's own selection button, spelled out. */
.lg2 .pick-select {
  grid-column: 2 / -1;
  justify-self: start;
  margin-top: 6px;
  padding: 5px 14px;
  border: 1.5px solid var(--lg-fjord);
  border-radius: 999px;
  color: var(--lg-fjord);
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.lg2 .pick-main:hover .pick-select {
  background: var(--lg-fjord-soft);
}
.lg2 .pick-card.is-selected .pick-select {
  border-color: var(--lg-rav);
  background: var(--lg-rav);
  color: var(--lg-ink);
}
.lg2 .pick-card {
  border: 1px solid var(--lg-line) !important;
  border-radius: 12px !important;
  background: var(--lg-paper) !important;
  box-shadow: none !important;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}
.lg2 .pick-card:hover {
  border-color: var(--lg-line-2) !important;
}
.lg2 .pick-card.is-previewed {
  border-color: var(--lg-ink) !important;
  box-shadow: 0 0 0 1px var(--lg-ink) !important;
}
/* Chosen for analysis: the card turns to the night surface (the earlier
   layer's white text then reads), with the amber check. */
.lg2 .pick-card.is-selected {
  border-color: var(--lg-nat) !important;
  background: var(--lg-nat) !important;
}
.lg2 .pick-card.is-selected:hover {
  background: var(--lg-nat-2) !important;
}
.lg2 .pick-card.is-selected.is-previewed {
  box-shadow: 0 0 0 3px var(--lg-rav) !important;
}
.lg2 .pick-card.is-selected .pick-label {
  color: #bfe0cc !important;
}
/* The short "what is not known" line, readable on the dark card too. */
.lg2 .pick-card.is-selected .pick-why {
  color: #c9d6e2 !important;
}
.lg2 .pick-name {
  font-family: var(--lg-sans);
  font-weight: 650;
  font-size: 16px;
}
.lg2 .pick-score b {
  font-family: var(--lg-serif);
  font-weight: 750;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.lg2 .pick-label {
  font-weight: 650;
}
.lg2 .pick-check {
  border-color: var(--lg-line-2) !important;
}
.lg2 .pick-card.is-selected .pick-check {
  background-color: var(--lg-rav) !important;
  border-color: var(--lg-rav) !important;
}
.lg2 .pick-bar {
  position: sticky;
  bottom: 0;
  margin: 18px -28px 0 !important;
  padding: 14px 28px !important;
  border-top: 1px solid var(--lg-line) !important;
  background: rgb(255 255 255 / 92%) !important;
  backdrop-filter: blur(10px);
  border-radius: 0 0 var(--lg-r-sheet) var(--lg-r-sheet);
}
.lg2 .pick-preview-pane {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 24px 26px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-r-sheet);
  background: var(--lg-paper);
  box-shadow: var(--lg-shadow-sheet);
}
.lg2 .pick-preview-pane[hidden] {
  display: none;
}
.lg2 .preview-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lg-line);
}
.lg2 main#leadstudio-app .preview-name {
  margin: 0;
  font-family: var(--lg-serif) !important;
  font-size: 28px !important;
  font-weight: 720 !important;
  line-height: 1.15;
}
.lg2 .preview-meta {
  margin: 0;
  color: var(--lg-muted);
  font-size: 13px;
}
.lg2 .preview-score {
  grid-row: 1 / span 2;
  grid-column: 2;
  text-align: right;
}
.lg2 .preview-score b {
  display: block;
  font-family: var(--lg-serif);
  font-size: 44px;
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.lg2 .preview-score span {
  color: var(--lg-muted);
  font-size: 13px;
  font-weight: 600;
}
.lg2 .preview-reason {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lg-ink);
}
.lg2 .preview-why {
  margin: 8px 0 0;
  color: var(--lg-muted);
  font-size: 14px;
}
.lg2 .preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}
.lg2 .preview-body .why-heading {
  margin: 22px 0 8px;
  font-size: 13px !important;
  color: var(--lg-muted) !important;
}
.lg2 .preview-body .discovery-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lg2 .preview-empty {
  color: var(--lg-muted);
}

/* ======================================================================
   Company analysis: a report on paper
   ====================================================================== */
.lg2 .results-section {
  padding-top: 12px !important;
}
.lg2 main#leadstudio-app .results-heading h2 {
  font-family: var(--lg-serif) !important;
  font-weight: 720 !important;
  font-size: clamp(28px, 2.6vw, 38px) !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
}
.lg2 .analysis-progress-card {
  border: 1px solid var(--lg-line) !important;
  border-radius: 14px !important;
  background: var(--lg-paper) !important;
  box-shadow: none !important;
}
.lg2 .company-list-panel {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.lg2 .priority-card {
  border-radius: 12px !important;
}
.lg2 .priority-card-main {
  border-radius: 12px !important;
  border: 1px solid var(--lg-line) !important;
  background: var(--lg-paper) !important;
  color: var(--lg-ink) !important;
  box-shadow: none !important;
}
.lg2 .priority-card.is-active .priority-card-main {
  background: var(--lg-nat) !important;
  border-color: var(--lg-nat) !important;
  color: #fff !important;
}
.lg2 .priority-card.is-active .priority-card-name,
.lg2 .priority-card.is-active .priority-card-reasoning,
.lg2 .priority-card.is-active .priority-card-current {
  color: #fff !important;
}
.lg2 .priority-card.is-active .priority-card-reasoning {
  color: var(--lg-nat-text) !important;
}
.lg2 .company-detail-panel {
  border: 1px solid var(--lg-line) !important;
  border-radius: var(--lg-r-sheet) !important;
  background: var(--lg-paper) !important;
  box-shadow: var(--lg-shadow-sheet) !important;
  padding: clamp(22px, 3vw, 40px) !important;
}
.lg2 main#leadstudio-app .analysis-summary > h2 {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.08;
  margin-bottom: 10px;
}
.lg2 .company-tabs {
  display: flex !important;
  gap: 4px !important;
  padding: 0 !important;
  margin: 22px 0 6px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--lg-line) !important;
  border-radius: 0 !important;
  background: none !important;
  overflow-x: auto;
}
.lg2 .company-tab {
  flex: 0 0 auto !important;
  padding: 10px 14px 12px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--lg-muted) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-bottom: -1px;
}
.lg2 .company-tab[aria-selected="true"] {
  color: var(--lg-ink) !important;
  border-bottom-color: var(--lg-rav) !important;
}
.lg2 main#leadstudio-app .company-tab-panel h3,
.lg2 main#leadstudio-app .analysis-block > h3,
.lg2 main#leadstudio-app .swot-editor-heading h3 {
  font-family: var(--lg-serif) !important;
  font-weight: 720 !important;
  font-size: 22px !important;
  letter-spacing: -0.01em !important;
}
.lg2 .analysis-block {
  border-color: var(--lg-line) !important;
}

/* SWOT: four quadrants with a clear evidence grammar */
.lg2 .swot-card-grid {
  gap: 14px !important;
}
.lg2 .swot-card {
  border: 1px solid var(--lg-line) !important;
  border-radius: 14px !important;
  background: var(--lg-paper) !important;
  box-shadow: none !important;
}
.lg2 main#leadstudio-app .swot-card-heading {
  font-family: var(--lg-serif) !important;
  font-weight: 720 !important;
  font-size: 19px !important;
}
.lg2 .swot-card-icon {
  border-radius: 999px !important;
  background: var(--lg-kalk) !important;
  color: var(--lg-ink) !important;
}
.lg2 .swot-point {
  border-color: var(--lg-line) !important;
  border-radius: 10px !important;
}
.lg2 .swot-point-kind,
.lg2 .swot-point-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lg2 .swot-point-kind::before,
.lg2 .swot-point-badge::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lg-fjord);
}
.lg2 .swot-point-kind[data-kind="hypothesis"]::before,
.lg2 .swot-point-badge[data-kind="hypothesis"]::before {
  background: transparent;
  border: 1.5px dashed var(--lg-rav-ink);
}
.lg2 .swot-point-kind[data-kind="unknown"]::before,
.lg2 .swot-point-badge[data-kind="unknown"]::before {
  background: transparent;
  border: 1.5px solid var(--lg-line-2);
}

/* Pitch: each angle as a reasoned hypothesis */
.lg2 .pitch-card {
  border: 1px solid var(--lg-line) !important;
  border-radius: 14px !important;
  background: var(--lg-paper) !important;
  box-shadow: none !important;
}
.lg2 .pitch-card-number {
  font-family: var(--lg-serif) !important;
  color: var(--lg-rav-ink) !important;
  background: none !important;
  font-size: 28px !important;
}
.lg2 .pitch-card-hypothesis {
  border: 1px dashed #d9b98c !important;
  background: var(--lg-rav-soft) !important;
  color: var(--lg-ink) !important;
  border-radius: 10px !important;
}
.lg2 .pitch-card-opener {
  border-left: 3px solid var(--lg-rav) !important;
  background: var(--lg-kalk) !important;
  border-radius: 0 10px 10px 0 !important;
}
.lg2 .pitch-card-label {
  color: var(--lg-muted) !important;
  font-weight: 650 !important;
}

/* Sources: fjord blue, next to the claim */
.lg2 .source-badge {
  border-color: #c9dbe3 !important;
  background: var(--lg-fjord-soft) !important;
  color: #1e4f65 !important;
}
.lg2 .source-badge-not-searched,
.lg2 .source-badge-unavailable {
  background: var(--lg-kalk) !important;
  border-color: var(--lg-line) !important;
  color: #5a6064 !important;
}
.lg2 .discovery-cite,
.lg2 .swot-point-source a,
.lg2 .discovery-source-link {
  color: var(--lg-fjord) !important;
}

/* Badges for match level (the engine's own labels) */
.lg2 .lq-match[data-lq-label="strong"] .lq-label,
.lg2 .pick-score[data-lq-label="strong"] ~ .pick-label {
  color: var(--lg-ok) !important;
}

/* --- Admin: AI usage ---------------------------------------------------- */
.lg2 .org-usage-title {
  margin: 0 0 6px;
  font-size: 16px !important;
}
.lg2 .org-usage-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 12px;
}
.lg2 .org-usage-figures[hidden] {
  display: none;
}
.lg2 .org-usage-figures div {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--lg-kalk);
}
.lg2 .org-usage-figures dt {
  color: var(--lg-muted);
  font-size: 12px;
}
.lg2 .org-usage-figures dd {
  margin: 4px 0 0;
  font-family: var(--lg-serif);
  font-size: 22px;
}
.lg2 .eyebrow {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

/* ======================================================================
   Tablet and phone
   ====================================================================== */
@media (max-width: 1100px) {
  .lg2 .brief-grid {
    grid-template-columns: 1fr;
  }
  .lg2 .brief-start {
    padding: 22px 24px 24px;
  }
}
@media (max-width: 980px) {
  .lg2 .history-sidebar {
    width: min(300px, 86vw);
    box-shadow: none;
  }
  .lg2 .history-sidebar.is-open {
    box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
  }
  .lg2 .sidebar-toggle-button {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    z-index: 35;
    background: var(--lg-paper) !important;
    border: 1px solid var(--lg-line) !important;
    border-radius: 999px !important;
    color: var(--lg-ink) !important;
    box-shadow: 0 8px 20px -12px rgb(18 26 36 / 45%) !important;
  }
  .lg2 .sidebar-scrim:not([hidden]) {
    background: rgb(18 26 36 / 45%);
    backdrop-filter: blur(2px);
  }
  .lg2 .product-topbar {
    justify-content: flex-end;
  }
  /* The home hero already carries the full-size logo: don't repeat it
     in the small-screen topbar. Keep the navigation arrow accessible. */
  .lg2 main#leadstudio-app:has(#overview:not([hidden])) .product-topbar {
    display: none;
  }
  .lg2 body.sidebar-drawer-open .sidebar-toggle-button:not([hidden]) {
    left: calc(min(300px, 86vw) - 54px);
    top: 14px;
  }
  .lg2 #overview.overview-screen {
    padding-top: 78px;
  }
}
@media (max-width: 900px) {
  .lg2 .home-choices {
    grid-template-columns: 1fr;
  }
  .lg2 .home-choice {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    justify-items: center;
    row-gap: 6px;
    min-height: 0;
    padding: 24px 22px;
    border-radius: 20px;
  }
  .lg2 .home-choice-icon {
    grid-row: auto;
    width: 56px;
    height: 56px;
    margin: 0 0 6px;
    border-radius: 16px;
  }
  .lg2 .home-choice-icon svg {
    width: 30px;
    height: 30px;
  }
  .lg2 .home-choice-title {
    font-size: 20px;
  }
  .lg2 .home-choice-cta {
    margin-top: 6px;
  }
}
@media (max-width: 760px) {
  .lg2 #overview .home-context {
    grid-template-columns: 1fr;
  }
  .lg2 #overview .overview-continue-item {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    min-height: 0;
  }
  .lg2 #overview .overview-continue-item > * {
    flex: 0 0 auto;
    min-height: 0;
  }
  .lg2 .brief-main {
    padding: 22px 20px;
  }
  .lg2 #discovery .discovery-target {
    grid-template-columns: 1fr;
  }
  .lg2 #discovery-step-results {
    padding: 20px 18px 0 !important;
  }
  .lg2 .pick-bar {
    margin: 16px -18px 0 !important;
    padding: 12px 18px !important;
  }
  .lg2 .org-usage-figures {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .lg2 #overview-title {
    font-size: 34px !important;
  }
  .lg2 .home-choice {
    grid-template-columns: 1fr;
  }
  .lg2 .home-choice-icon {
    grid-row: auto;
    width: 48px;
    height: 48px;
  }
  .lg2 .flow-steps-list li {
    padding-right: 10px;
    font-size: 13px;
  }
  .lg2 .research-trail {
    flex-direction: column;
    gap: 6px;
  }
}
/* One directional arrow for both desktop sidebar and mobile drawer.
   Expanded = points left to close; collapsed = points right to open. */
.lg2 .sidebar-toggle-button:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lg2 .sidebar-toggle-button .sidebar-toggle-arrow {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  transition: transform 180ms ease;
}
.lg2 .sidebar-toggle-button[aria-expanded="false"] .sidebar-toggle-arrow {
  transform: rotate(180deg);
}
.lg2 .sidebar-toggle-button > .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  padding: 0;
  margin: -1px;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .lg2 *,
  .lg2 *::before,
  .lg2 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Dialogs and settings panels: the same headline voice -------------- */
.lg2 #profile-workspace h1,
.lg2 .icp-settings-panel h1,
.lg2 .icp-onboarding-overlay h1 {
  font-family: var(--lg-serif) !important;
  font-weight: 720 !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.1;
  color: var(--lg-ink);
}
.lg2 .profile-workspace {
  border-radius: 22px !important;
  border: 0 !important;
  box-shadow: 0 40px 120px -40px rgb(18 26 36 / 70%) !important;
}
.lg2 .profile-workspace::backdrop {
  background: rgb(18 26 36 / 55%);
  backdrop-filter: blur(4px);
}
.lg2 .workspace-steps li {
  border-top-color: var(--lg-line) !important;
  color: var(--lg-muted);
  font-weight: 600;
}
.lg2 .workspace-steps li[aria-current] {
  border-top-color: var(--lg-rav) !important;
  color: var(--lg-ink) !important;
}
.lg2 #profile-workspace textarea,
.lg2 #profile-workspace input[type="text"],
.lg2 #leadstudio-app textarea,
.lg2 #meeting-prep-query {
  border-color: var(--lg-line-2) !important;
  border-radius: 12px !important;
  background: var(--lg-paper) !important;
}
.lg2 #profile-workspace textarea:focus,
.lg2 #leadstudio-app textarea:focus,
.lg2 #meeting-prep-query:focus {
  border-color: var(--lg-rav) !important;
  box-shadow: var(--lg-focus) !important;
}
.lg2 .workspace-files-panel {
  background: var(--lg-kalk) !important;
  border-color: var(--lg-line) !important;
}

/* An analysis from a search keeps the (empty) import screen in the flow:
   it must not push the report down. */
.lg2 #setup[data-workflow="discovery"] {
  padding-top: 0;
}
.lg2 #setup[data-workflow="discovery"] .setup-grid {
  margin-top: 0;
}
/* Report labels in sentence case, never tracked capitals. */
.lg2 main#leadstudio-app .metric-label,
.lg2 main#leadstudio-app .analysis-block-label,
.lg2 main#leadstudio-app [class*="eyebrow"] {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}
.lg2 .pitch-card-opener {
  padding: 12px 14px !important;
}
.lg2 .pitch-card-opener blockquote,
.lg2 .pitch-card-opener p {
  margin: 6px 0 8px !important;
  background: none !important;
  padding: 0 !important;
  font-family: var(--lg-serif);
  font-size: 16px;
  line-height: 1.5;
}
.lg2 main#leadstudio-app .card-kicker {
  display: inline-block;
  text-transform: lowercase !important;
  letter-spacing: 0.01em !important;
  color: var(--lg-muted) !important;
  font-weight: 650;
}
.lg2 main#leadstudio-app .card-kicker::first-letter {
  text-transform: uppercase;
}

/* The analysis workspace: list and report side by side only where both fit
   (the earlier minimum of 300 + 540 px overflowed at tablet-landscape). */
.lg2 .company-workspace {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.6fr) !important;
}
@media (max-width: 1180px) {
  .lg2 .company-workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .lg2 .company-list-panel .priority-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }
  .lg2 .company-list-panel .priority-card {
    flex: 0 0 min(300px, 80%);
    scroll-snap-align: start;
  }
}
/* A citation inside a sentence is marked by more than its colour (WCAG 1.4.1). */
.lg2 .discovery-cite,
.lg2 .swot-point-source a,
.lg2 .discovery-source-link {
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.lg2 .pitch-card-opener blockquote {
  border: 0 !important;
}

/* A chosen card is dark: its match label must stay readable there. */
.lg2 .pick-card.is-selected .pick-label,
.lg2 .pick-card.is-selected .pick-score[data-lq-label] ~ .pick-label {
  color: #bfe0cc !important;
}
.lg2 .org-usage-figures div {
  background: var(--lg-paper);
  border: 1px solid var(--lg-line);
}
.lg2 .org-usage-figures dd {
  font-size: 20px;
  line-height: 1.25;
}
.lg2 #org-access-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}
.lg2 #org-access-email {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--lg-line-2);
  border-radius: 10px;
  background: var(--lg-paper);
  font: inherit;
}
@media (max-width: 760px) {
  .lg2 #org-access-edit {
    grid-template-columns: 1fr;
  }
}
.lg2 .analysis-lead-label,
.lg2 .analysis-lead-label select {
  max-width: 100%;
  min-width: 0;
}

/* Read-only full history for saved lead lists. */
html.lg2 .all-found-panel {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
html.lg2 .all-found-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
html.lg2 .all-found-heading h2 {
  margin: 0 0 6px;
}
html.lg2 .all-found-heading p {
  max-width: 62ch;
  color: var(--muted);
}
html.lg2 .all-found-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
html.lg2 .all-found-company {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
html.lg2 .all-found-company small {
  color: var(--muted);
}
html.lg2 .all-found-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
html.lg2 .all-found-state {
  padding: 4px 10px;
  border-radius: 99px;
  background: #eef2f5;
  color: #233e5c;
}
@media (max-width: 600px) {
  html.lg2 .all-found-panel {
    padding: 16px;
  }
  html.lg2 .all-found-row {
    align-items: flex-start;
    flex-direction: column;
  }
  html.lg2 .all-found-meta {
    justify-content: flex-start;
  }
}

html.lg2 .saved-search-actions {
  flex-wrap: wrap;
}

/* ======================================================================
   Home polish (5 Nov 2026): a sharp logo at its native resolution, a small
   sidebar chevron, the target group and the offer as two quiet cards under
   the headline, and no product label beside the sidebar logo.
   ====================================================================== */

/* The logo asset is 380 × 105 px: shown at ≤ 172 px wide it stays sharp on a
   2× screen, instead of being scaled up and blurred. */
.lg2 .home-brand {
  gap: 8px;
  margin: 0 0 clamp(18px, 3.5vh, 30px);
}
.lg2 .home-brand-logo {
  width: 172px;
  border-radius: 9px;
  box-shadow: 0 10px 24px -18px rgb(30 55 79 / 50%);
  image-rendering: auto;
}
.lg2 .home-brand-product {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lg-muted);
}
.lg2 .history-sidebar-brand {
  padding-right: 44px;
}

/* The sidebar toggle: a small, quiet chevron (desktop: inside the sidebar's
   top-right corner; collapsed: a small handle at the left edge). */
.lg2 .sidebar-toggle-button .sidebar-toggle-arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.lg2 .sidebar-toggle-button .sidebar-toggle-arrow path {
  stroke-width: 2;
}
@media (min-width: 981px) {
  .lg2 .sidebar-toggle-button:not([hidden]) {
    left: 212px;
    top: 26px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lg-nat-muted);
    box-shadow: none;
    transition:
      background-color 140ms ease,
      color 140ms ease;
  }
  .lg2 .sidebar-toggle-button:not([hidden]):hover {
    background: rgb(255 255 255 / 9%);
    color: #fff;
  }
  .lg2 body.sidebar-collapsed .sidebar-toggle-button:not([hidden]) {
    left: 10px;
    top: 18px;
    background: rgb(255 255 255 / 72%);
    border: 1px solid var(--lg-line);
    color: var(--lg-muted);
  }
  .lg2 body.sidebar-collapsed .sidebar-toggle-button:not([hidden]):hover {
    background: #fff;
    color: var(--lg-ink);
  }
}
@media (max-width: 980px) {
  .lg2 .sidebar-toggle-button:not([hidden]) {
    width: 36px;
    height: 36px;
    background: rgb(255 255 255 / 85%) !important;
    color: var(--lg-ink-2) !important;
    box-shadow: 0 4px 12px -8px rgb(18 26 36 / 40%) !important;
  }
  .lg2 body.sidebar-drawer-open .sidebar-toggle-button:not([hidden]) {
    left: calc(min(300px, 86vw) - 46px);
    background: transparent !important;
    border-color: transparent !important;
    color: var(--lg-nat-muted) !important;
    box-shadow: none !important;
  }
}

/* Target group and offer: right under the headline, before the choices. */
.lg2 #overview .home-hero {
  order: -3;
}
.lg2 #overview .overview-status {
  order: -2;
}
.lg2 #overview .home-context {
  order: -1;
  width: min(880px, 100%);
  margin: clamp(22px, 3.5vh, 30px) auto 0;
  gap: 12px;
}
.lg2 #overview .overview-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 16px;
  background: rgb(255 255 255 / 82%);
  box-shadow:
    0 1px 0 rgb(23 34 44 / 3%),
    0 14px 30px -24px rgb(31 52 72 / 40%);
  text-align: left;
}
.lg2 #overview .overview-panel-head {
  margin: 0;
}
.lg2 #overview .overview-panel h2 {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: var(--lg-fjord) !important;
}
.lg2 #overview .overview-panel .text-button {
  font-size: 13px;
}
.lg2 #overview .home-who,
.lg2 #overview .home-offer {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--lg-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.lg2 #overview-offer-body .home-offer-note {
  display: none;
}
.lg2 #overview .home-details > summary {
  font-size: 13px;
}
.lg2 #overview .overview-continue {
  margin-top: clamp(18px, 3vh, 26px);
}
.lg2 #overview .home-choices {
  margin-top: clamp(24px, 4vh, 40px);
}

/* A reopened single-company analysis is not the import screen either. */
#setup[data-workflow="meeting-prep"] > .start-copy,
#setup[data-workflow="meeting-prep"] #lead-import-card {
  display: none;
}
.lg2 #setup[data-workflow="meeting-prep"] {
  padding-top: 0;
}
.lg2 #setup[data-workflow="meeting-prep"] .setup-grid {
  margin-top: 0;
}
.lg2 #overview .overview-panel-head {
  min-height: 22px;
  align-items: center;
}

/* Nov 5 polish: centered clickable brand with compact context cards in the two
   top corners. The mobile layout stacks without covering the page actions. */
.lg2 #overview.overview-screen {
  max-width: 1440px;
  padding-top: clamp(12px, 2vh, 24px);
}
.lg2 #overview .home-hero {
  width: 100%;
}
.lg2 #overview .home-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 264px) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(12px, 2.2vw, 28px);
  width: 100%;
  min-height: 172px;
  margin-bottom: clamp(28px, 4vh, 48px);
}
.lg2 #overview .home-masthead .home-context {
  display: contents;
}
.lg2 #overview .home-masthead .home-context[hidden] {
  display: none;
}
.lg2 #overview .home-masthead .home-brand-link {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 18px;
  padding: 8px 14px 12px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}
.lg2 #overview .home-masthead .home-brand-link:hover {
  transform: translateY(-2px);
  background: rgb(255 255 255 / 25%);
}
.lg2 #overview .home-masthead .home-brand-link:focus-visible,
.lg2 .sidebar-home-brand:focus-visible {
  outline: 3px solid #df8b33;
  outline-offset: 3px;
}
.lg2 #overview .home-masthead .home-brand-logo {
  width: min(190px, 100%);
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px -20px rgb(22 42 57 / 45%);
}
.lg2 #overview .home-masthead .home-brand-product {
  font-size: 11px;
}
.lg2 #overview .home-masthead .overview-panel {
  width: 100%;
  max-width: 365px;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgb(31 67 75 / 12%);
  box-shadow: 0 6px 20px -16px rgb(18 44 56 / 30%);
  text-align: left;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}
.lg2 #overview .home-masthead .overview-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgb(22 47 62 / 35%);
  border-color: rgb(27 84 100 / 30%);
}
.lg2 #overview .home-masthead .overview-panel:first-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  background: linear-gradient(135deg, #e0f1ef, #ecf7f7);
}
.lg2 #overview .home-masthead .overview-panel:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  background: linear-gradient(135deg, #fdf0dd, #fff7ed);
  border-color: rgb(125 87 50 / 12%);
}
.lg2 #overview .home-masthead .overview-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #245769 !important;
  letter-spacing: 0.035em !important;
}
.lg2 #overview .home-masthead .overview-panel:nth-child(2) h2 {
  color: #986026 !important;
}
.lg2 #overview .home-context-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.lg2 #overview .home-masthead .home-who,
.lg2 #overview .home-masthead .home-offer {
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}
.lg2 #overview .home-masthead .overview-panel .text-button {
  font-size: 12px;
}
.lg2 #overview .home-masthead .home-details > summary {
  font-size: 12px;
}
.lg2 .history-sidebar-brand {
  min-height: 57px;
  padding: 4px 8px 13px;
}
.lg2 .sidebar-home-brand {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 7%);
  color: #f4f8fc;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}
.lg2 .sidebar-home-brand:hover {
  background: rgb(255 255 255 / 17%);
  transform: translateY(-1px);
}
.lg2 .clear-own-history-status {
  color: inherit;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.4;
}
.lg2 #clear-own-history-button {
  color: #ab3f35;
}
@media (max-width: 1100px) {
  .lg2 #overview .home-masthead {
    grid-template-columns: minmax(0, 1fr) minmax(188px, 230px) minmax(0, 1fr);
    column-gap: 12px;
  }
  .lg2 #overview .home-masthead .overview-panel {
    padding: 12px;
  }
  .lg2 #overview .home-masthead .overview-panel-head {
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  .lg2 #overview .home-masthead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
    min-height: 0;
    margin-bottom: 28px;
  }
  .lg2 #overview .home-masthead .home-brand-link {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(252px, 100%);
    justify-self: center;
  }
  .lg2 #overview .home-masthead .overview-panel:first-child {
    grid-column: 1;
    grid-row: 2;
  }
  .lg2 #overview .home-masthead .overview-panel:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (max-width: 520px) {
  .lg2 #overview .home-masthead {
    grid-template-columns: minmax(0, 1fr);
  }
  .lg2 #overview .home-masthead .home-brand-link {
    grid-column: 1;
    grid-row: 1;
  }
  .lg2 #overview .home-masthead .overview-panel:first-child {
    grid-column: 1;
    grid-row: 2;
  }
  .lg2 #overview .home-masthead .overview-panel:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
  }
  .lg2 #overview .home-masthead .overview-panel {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lg2 #overview .home-masthead .overview-panel,
  .lg2 #overview .home-masthead .home-brand-link,
  .lg2 .sidebar-home-brand {
    transition: none;
  }
}
