:root {
      --ink: #15202b;
      --muted: #5f6b7a;
      --line: #d9dee7;
      --panel: #ffffff;
      --canvas: #edf2f6;
      --blue: #1f6fb7;
      --green: #1e7a55;
      --gold: #b27a18;
      --red: #b34242;
      --violet: #6950a1;
      --soft-blue: #e8f2fb;
      --soft-green: #e8f5ef;
      --soft-gold: #fff3cf;
      --soft-red: #fdeaea;
      --shadow: 0 1px 2px rgba(20, 28, 38, .08);
      --motion-fast: 120ms;
      --motion-base: 180ms;
      --motion-slow: 260ms;
      --ease-premium: cubic-bezier(.2, .8, .2, 1);
      --ease-spring: cubic-bezier(.18, .89, .32, 1.18);
      --lc-icon-art-scale: 1;
      --lc-icon-art-hover-scale: 1.08;
      --lc-icon-glyph-inset: 2px;
      --lc-icon-tile: 38px;
      --lc-icon-tile-small: 32px;
      --lc-icon-tile-medium: 36px;
      --lc-icon-tile-large: 46px;
      --lc-icon-action-tile: 32px;
      --lc-icon-action-tile-compact: 31px;
      --lc-icon-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23006fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.2h14a2 2 0 0 1 2 2v6.6a2 2 0 0 1-2 2H9.3L5.1 19v-3.2H4a2 2 0 0 1-2-2V7.2a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M6.5 9h9M6.5 12.3h6.8'/%3E%3C/svg%3E");
      --lc-icon-email: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23006fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.8' y='5' width='16.4' height='12' rx='2.2'/%3E%3Cpath d='m4.4 7.2 6.6 5 6.6-5'/%3E%3C/svg%3E");
      --lc-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23006fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.4 2.9 8.8 5.3c.5.5.6 1.2.2 1.8L8 8.6c1.2 2.4 3.1 4.3 5.4 5.4l1.5-1c.6-.4 1.3-.3 1.8.2l2.4 2.4c.6.6.6 1.5 0 2.1l-1.2 1.2c-.9.9-2.2 1.2-3.4.8C8.7 17.8 4.2 13.3 2.3 7.5 1.9 6.3 2.2 5 3.1 4.1l1.2-1.2c.6-.6 1.5-.6 2.1 0Z'/%3E%3C/svg%3E");
      --lc-icon-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23006fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20s6-5.1 6-10.2A6 6 0 0 0 5 9.8C5 14.9 11 20 11 20Z'/%3E%3Ccircle cx='11' cy='9.8' r='2.1'/%3E%3C/svg%3E");
      --lc-icon-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23006fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.3 4.5H5.4a2 2 0 0 0-2 2v10.1a2 2 0 0 0 2 2h10.1a2 2 0 0 0 2-2v-2.9'/%3E%3Cpath d='M12.6 3.4h6v6M18.4 3.6 10 12'/%3E%3C/svg%3E");
      font-family: Inter, "Segoe UI", Arial, sans-serif;
    }

    * { box-sizing: border-box; }
    .is-hidden { display: none !important; }
    body {
      margin: 0;
      background: var(--canvas);
      color: var(--ink);
      letter-spacing: 0;
    }

    .shell {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 328px minmax(0, 1fr);
    }

    .sidebar {
      background: #202a35;
      color: #eef3f7;
      padding: 18px 16px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .brand {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      min-height: 48px;
      width: 100%;
      border: 0;
      background: transparent;
      color: inherit;
      text-align: left;
      padding: 0;
      cursor: pointer;
    }

    .mark {
      width: 42px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border: 2px solid #e4b960;
      color: #e4b960;
      font-weight: 800;
      border-radius: 6px;
      line-height: 1;
      overflow: hidden;
      transition: box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium);
    }

    .mark.has-logo {
      background: #fff;
      padding: 2px;
    }

    .mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 4px;
    }

    .brand strong { display: block; font-size: 15px; }
    .brand span { display: block; font-size: 12px; color: #b9c3ce; margin-top: 2px; }

    .brand-title-row {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .app-version {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      border: 1px solid rgba(228,185,96,.65);
      border-radius: 999px;
      padding: 2px 7px;
      color: #e4b960;
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
    }

    .brand:hover .mark,
    .brand:focus-visible .mark {
      box-shadow: 0 0 0 3px rgba(228,185,96,.22);
      transform: translateY(-1px);
    }

    .brand-readout {
      border-top: 1px solid rgba(255,255,255,.12);
      padding-top: 10px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px 10px;
      font-size: 11px;
      color: #b9c3ce;
    }

    .readout-item {
      min-width: 0;
      display: grid;
      gap: 2px;
      border-left: 2px solid rgba(228,185,96,.65);
      padding-left: 7px;
    }

    .readout-item.weekly { border-left-color: #54b987; }
    .readout-item.monthly { border-left-color: #d0a03b; }
    .readout-item.recent { border-left-color: #8d75d1; }

    .readout-item span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .bridge-control {
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 8px;
      padding: 10px;
      display: grid;
      gap: 8px;
      background: rgba(255,255,255,.05);
      transition: border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .bridge-control.active {
      border-color: rgba(84,185,135,.65);
      background: linear-gradient(135deg, rgba(31,122,85,.22), rgba(255,255,255,.05));
    }

    .bridge-control.offline {
      border-color: rgba(179,66,66,.65);
      background: linear-gradient(135deg, rgba(179,66,66,.22), rgba(255,255,255,.05));
    }

    .bridge-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .bridge-title {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .bridge-title strong {
      color: #fff;
      font-size: 13px;
      line-height: 1.1;
    }

    .bridge-title span,
    .bridge-copy {
      color: #b9c3ce;
      font-size: 10px;
      line-height: 1.35;
    }

    .bridge-switch {
      width: 58px;
      height: 30px;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 999px;
      background: #4a2228;
      padding: 3px;
      cursor: pointer;
      position: relative;
      transition: background var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .bridge-switch::before {
      content: "";
      display: block;
      width: 22px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,.24);
      transition: transform var(--motion-base) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium);
    }

    .bridge-switch:hover {
      transform: translateY(-1px);
    }

    .bridge-switch:active {
      transform: translateY(0) scale(.985);
    }

    .bridge-switch[aria-checked="true"] {
      background: #1e7a55;
      border-color: rgba(84,185,135,.8);
    }

    .bridge-switch[aria-checked="true"]::before {
      transform: translateX(28px);
    }

    .bridge-lights {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
    }

    .bridge-light {
      height: 5px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
    }

    .bridge-control.active .bridge-light {
      background: #54b987;
      box-shadow: 0 0 10px rgba(84,185,135,.55);
    }

    .bridge-control.offline .bridge-light:first-child {
      background: #d76868;
      box-shadow: 0 0 10px rgba(215,104,104,.5);
    }

    .readout-item strong {
      color: #fff;
      font-size: 14px;
      line-height: 1;
    }

    .readout-item small {
      color: #93a2b2;
      font-size: 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .nav {
      display: grid;
      gap: 6px;
    }

    .nav button,
    .nav a {
      width: 100%;
      border: 0;
      background: transparent;
      color: #dce5ed;
      text-align: left;
      padding: 10px 12px;
      border-radius: 6px;
      font: inherit;
      cursor: pointer;
      text-decoration: none;
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .nav button.active,
    .nav button:hover,
    .nav a:hover {
      background: #2f3b49;
      color: #fff;
      transform: translateX(2px);
    }

    .nav button:active,
    .nav a:active {
      transform: translateX(1px) scale(.995);
    }

    button.feedback-pulse {
      animation: button-feedback-pulse var(--motion-slow) var(--ease-premium);
    }

    .panel-head.feedback-pulse {
      animation: panel-feedback-pulse var(--motion-slow) var(--ease-premium);
    }

    @keyframes button-feedback-pulse {
      0% { box-shadow: 0 0 0 0 rgba(31, 111, 183, .28); }
      55% { box-shadow: 0 0 0 5px rgba(31, 111, 183, .12); }
      100% { box-shadow: 0 0 0 0 rgba(31, 111, 183, 0); }
    }

    @keyframes panel-feedback-pulse {
      0% { filter: brightness(1); }
      45% { filter: brightness(.96); }
      100% { filter: brightness(1); }
    }

    .sidebar-foot {
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,.12);
      font-size: 12px;
      color: #b9c3ce;
      line-height: 1.5;
    }

    main {
      min-width: 0;
      padding: 18px;
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .topbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      border-left: 5px solid var(--blue);
      background: #f8fafc;
      padding: 12px 14px;
      border-radius: 8px;
      box-shadow: 0 8px 18px rgba(20, 31, 43, .06);
      transition: transform var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    h1 {
      font-size: 22px;
      line-height: 1.2;
      margin: 0;
    }

    .subtle {
      color: var(--muted);
      font-size: 13px;
      margin-top: 4px;
    }

    .status-strip {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .pill {
      border: 1px solid var(--line);
      background: var(--panel);
      border-radius: 999px;
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      font-size: 12px;
      white-space: nowrap;
      color: var(--ink);
      text-decoration: none;
    }

    .dot {
      width: 8px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: var(--green);
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(5, minmax(140px, 1fr));
      gap: 10px;
    }

    .metrics.placeholder-metrics {
      grid-template-columns: 1fr;
    }

    .metric {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 14px;
      box-shadow: var(--shadow);
      min-height: 84px;
    }

    .metric.placeholder-card {
      min-height: 42px;
      border-style: dashed;
      box-shadow: none;
      background: #e7edf3;
      padding: 10px 12px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 6px 12px;
      align-items: baseline;
    }

    .metric.placeholder-card small {
      display: none;
      color: var(--muted);
      font-size: 12px;
    }

    .metric span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 8px;
    }

    .metric strong {
      font-size: 22px;
      line-height: 1;
    }

    .metric.placeholder-card strong {
      font-size: 14px;
    }

    .board {
      display: grid;
      grid-template-columns: minmax(320px, 1.05fr) minmax(360px, .95fr);
      gap: 12px;
      align-items: start;
    }

    .panel {
      background: #fbfcfe;
      border: 1px solid #cfd9e5;
      border-radius: 6px;
      box-shadow: 0 8px 18px rgba(20, 31, 43, .05);
      overflow: hidden;
    }

    .panel.is-collapsible {
      transition: border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-premium);
    }

    .panel.is-collapsible:hover {
      border-color: #9facbb;
    }

    .panel.is-open {
      background: #fff;
      border-color: #aebdcb;
      box-shadow: 0 12px 24px rgba(20, 31, 43, .08);
    }

    .panel.is-collapsed {
      background: #e8eef5;
      border-color: #bcc9d7;
      box-shadow: none;
    }

    .panel.is-collapsed.content-zone,
    .panel.is-collapsed.preview-zone,
    .panel.is-collapsed.pipeline-zone {
      border-top-color: #6f7d8c;
    }

    .panel.content-zone {
      border-top: 5px solid var(--blue);
    }

    .panel.preview-zone {
      border-top: 5px solid var(--green);
    }

    .panel.pipeline-zone {
      border-top: 5px solid var(--violet);
    }

    .panel-head {
      padding: 10px 12px;
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      background: #f5f8fb;
      cursor: pointer;
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), filter var(--motion-fast) var(--ease-premium);
      user-select: none;
    }

    .panel-head:hover {
      background: #edf4fa;
    }

    .panel-head:focus-visible {
      outline: 3px solid rgba(31,111,183,.28);
      outline-offset: -3px;
    }

    .panel.is-collapsed .panel-head {
      border-bottom: 0;
      background: #dfe7f0;
    }

    .panel.is-open .panel-head {
      background: linear-gradient(90deg, #f8fafc, #eef4f8);
    }

    .panel-head h2 {
      margin: 0;
      font-size: 15px;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .panel-body {
      display: grid;
      animation: panel-body-open var(--motion-slow) var(--ease-premium) both;
    }

    .panel.is-collapsed > .panel-body {
      display: none;
    }

    @keyframes panel-body-open {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .panel-toggle {
      width: auto;
      min-width: 64px;
      height: 36px;
      padding: 0 10px;
      border: 1px solid #b6c3d0;
      border-radius: 6px;
      background: #fff;
      color: #243240;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium);
    }

    .panel-toggle:hover {
      border-color: var(--blue);
      color: var(--blue);
      transform: translateY(-1px);
    }

    .panel-toggle:active {
      transform: translateY(0);
    }

    .panel.is-collapsed .panel-toggle {
      background: #243240;
      border-color: #243240;
      color: #fff;
    }

    .header-count {
      display: inline-flex;
      align-items: baseline;
      gap: 5px;
      margin-left: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      white-space: normal;
    }

    .header-count strong {
      color: var(--blue);
      font-size: 18px;
      line-height: 1;
    }

    .panel-actions {
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .lead-suite-shell {
      display: grid;
      gap: 12px;
    }

    .lead-hero {
      background: linear-gradient(135deg, #142131 0%, #20384e 54%, #245f62 100%);
      color: #fff;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 8px;
      padding: 18px;
      box-shadow: 0 18px 36px rgba(12, 23, 35, .16);
      overflow: hidden;
      position: relative;
    }

    .lead-hero::after {
      content: "";
      position: absolute;
      inset: auto -40px -80px auto;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: rgba(255,255,255,.08);
      pointer-events: none;
    }

    .lead-hero h1 {
      margin: 0 0 4px;
      font-size: clamp(26px, 3vw, 42px);
      line-height: 1;
      color: #fff;
    }

    .lead-hero p {
      max-width: 760px;
      margin: 0;
      color: rgba(255,255,255,.78);
      font-size: 15px;
    }

    .lead-hero-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    .lead-workspace-switcher,
    .lead-toggle-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
    }

    .lead-workspace-button,
    .lead-pill-button {
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 999px;
      background: rgba(255,255,255,.1);
      color: #fff;
      padding: 8px 12px;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .lead-workspace-button:hover,
    .lead-pill-button:hover {
      transform: translateY(-1px);
      background: rgba(255,255,255,.16);
      border-color: rgba(255,255,255,.42);
      box-shadow: 0 10px 20px rgba(0,0,0,.16);
    }

    .lead-workspace-button:active,
    .lead-pill-button:active {
      transform: translateY(0) scale(.985);
    }

    .lead-workspace-button.active,
    .lead-pill-button.active {
      background: #fff;
      color: #183045;
      border-color: #fff;
      animation: state-settle var(--motion-base) var(--ease-spring) both;
    }

    .lead-kpi-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 16px;
      position: relative;
      z-index: 1;
    }

    .lead-kpi {
      background: rgba(255,255,255,.11);
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 8px;
      padding: 10px;
      min-width: 0;
    }

    .lead-kpi span,
    .lead-card-label {
      display: block;
      color: #657383;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .lead-kpi span {
      color: rgba(255,255,255,.62);
    }

    .lead-kpi strong {
      display: block;
      margin-top: 4px;
      color: #fff;
      font-size: 20px;
      line-height: 1.1;
      overflow-wrap: anywhere;
    }

    .lead-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
      gap: 12px;
      align-items: start;
    }

    .lead-card {
      background: #f9fbfd;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      box-shadow: 0 10px 24px rgba(16,24,40,.06);
      overflow: hidden;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .lead-card:hover {
      transform: translateY(-1px);
      border-color: #aebdca;
      box-shadow: 0 14px 28px rgba(16,24,40,.09);
    }

    .lead-card-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      background: #e8f0f6;
      border-bottom: 1px solid #cdd8e4;
    }

    .lead-card-head h2,
    .lead-card-head h3 {
      margin: 0;
      font-size: 15px;
      overflow-wrap: anywhere;
    }

    .lead-card-body {
      display: grid;
      gap: 10px;
      padding: 12px;
    }

    .lead-rec-list,
    .lead-generator-list,
    .lead-crm-list,
    .lead-memory-list {
      display: grid;
      gap: 8px;
    }

    .lead-rec {
      border: 1px solid #d4dde7;
      background: #fff;
      border-radius: 8px;
      padding: 10px;
      display: grid;
      gap: 8px;
      transition: border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium);
    }

    .lead-rec:hover {
      border-color: #aebdca;
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(16,24,40,.07);
    }

    .lead-rec.is-active {
      border-color: #1f6fb7;
      background: #f5faff;
      box-shadow: 0 12px 26px rgba(31,111,183,.12);
    }

    .lead-rec-main {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 10px;
      align-items: start;
    }

    .lead-rank {
      width: 30px;
      height: 30px;
      border-radius: 7px;
      display: inline-grid;
      place-items: center;
      background: #20384e;
      color: #fff;
      font-weight: 900;
    }

    .lead-score {
      min-width: 58px;
      border-radius: 999px;
      background: #e1f3eb;
      color: #1f7a55;
      padding: 5px 8px;
      font-size: 12px;
      font-weight: 900;
      text-align: center;
      white-space: nowrap;
    }

    .lead-rec strong,
    .lead-generator strong,
    .lead-crm-row strong {
      display: block;
      overflow-wrap: anywhere;
    }

    .lead-rec p,
    .lead-generator p,
    .lead-memory-row p,
    .lead-crm-row p {
      margin: 2px 0 0;
      color: #5c6876;
      font-size: 13px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .lead-rec-details {
      display: none;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      border-top: 1px solid #dce5ee;
      padding-top: 8px;
      animation: panel-body-open var(--motion-slow) var(--ease-premium) both;
    }

    .lead-rec.is-active .lead-rec-details {
      display: grid;
    }

    .lead-rec-post-preview,
    .content-suggestion-post-preview {
      grid-column: 1 / -1;
      min-width: 0;
      overflow: hidden;
    }

    .lead-rec-post-preview .lono-social-post,
    .content-suggestion-post-preview .lono-social-post {
      min-height: 0;
      border-radius: 12px;
      box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    }

    .lead-rec-post-preview .lono-social-media,
    .lead-rec-post-preview .lono-social-media img,
    .lead-rec-post-preview .lono-social-media video,
    .content-suggestion-post-preview .lono-social-media,
    .content-suggestion-post-preview .lono-social-media img,
    .content-suggestion-post-preview .lono-social-media video {
      min-height: 168px;
    }

    .lead-generator,
    .lead-crm-row,
    .lead-memory-row {
      border: 1px solid #d6e0ea;
      background: #fff;
      border-radius: 8px;
      padding: 10px;
      display: grid;
      gap: 8px;
    }

    .lead-generator {
      border-left: 4px solid #1f7a55;
    }

    .lead-crm-row {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
    }

    .lead-progress-track {
      height: 8px;
      border-radius: 999px;
      background: #e2e9f0;
      overflow: hidden;
    }

    .lead-progress-track span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #1f6fb7, #1f7a55);
      transition: width var(--motion-slow) var(--ease-premium);
    }

    .lead-setup-review {
      display: grid;
      gap: 10px;
    }

    .lead-setup-review-summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      background: linear-gradient(180deg, #fff, #f5faff);
    }

    .lead-setup-review-summary strong {
      display: block;
      color: #183045;
      font-size: 15px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lead-setup-review-summary p,
    .lead-setup-review-row p,
    .lead-setup-review-empty {
      margin: 4px 0 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .lead-setup-review-counts {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: flex-end;
      min-width: 0;
    }

    .lead-setup-review-counts span,
    .lead-setup-review-status {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 4px 8px;
      border: 1px solid #d6e0ea;
      border-radius: 999px;
      background: #fff;
      color: #455365;
      font-size: 11px;
      font-weight: 900;
      line-height: 1.2;
      text-align: center;
    }

    .lead-setup-review-status.is-ready {
      border-color: rgba(31, 122, 85, .22);
      background: #edf8f2;
      color: #1f7a55;
    }

    .lead-setup-review-status.is-review {
      border-color: rgba(31, 111, 183, .22);
      background: #f0f7ff;
      color: #1f6fb7;
    }

    .lead-setup-review-status.is-permission {
      border-color: rgba(176, 111, 0, .22);
      background: #fff7e8;
      color: #8a5600;
    }

    .lead-setup-review-status.is-blocked {
      border-color: rgba(180, 35, 24, .2);
      background: #fff4f2;
      color: #b42318;
    }

    .lead-setup-review-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-setup-review-row {
      display: grid;
      gap: 8px;
      align-content: start;
      min-width: 0;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-setup-review-row header {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: start;
      min-width: 0;
    }

    .lead-setup-review-row h3 {
      margin: 0;
      color: #183045;
      font-size: 13px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lead-setup-review-details {
      display: grid;
      gap: 5px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .lead-setup-review-details li {
      display: grid;
      grid-template-columns: minmax(86px, .42fr) minmax(0, 1fr);
      gap: 8px;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.3;
    }

    .lead-setup-review-details b {
      color: #455365;
      font-weight: 900;
    }

    .lead-setup-review-action {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-setup-review-action p {
      flex: 1 1 220px;
      margin: 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-profile-review {
      display: grid;
      gap: 10px;
    }

    .lead-profile-review-panel {
      display: grid;
      gap: 10px;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: linear-gradient(180deg, #ffffff, #f7fbff);
    }

    .lead-profile-review-summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .lead-profile-review-summary strong {
      display: block;
      margin-top: 2px;
      color: #183045;
      font-size: 14px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lead-profile-review-summary p,
    .lead-profile-review-row p,
    .lead-profile-review-action p {
      margin: 4px 0 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .lead-profile-review-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-profile-save-state {
      display: grid;
      gap: 6px;
      padding: 10px;
      border: 1px solid rgba(31, 111, 183, .18);
      border-radius: 8px;
      background: #f8fbff;
    }

    .lead-profile-save-state header {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
    }

    .lead-profile-save-state strong {
      color: #183045;
      font-size: 13px;
      line-height: 1.2;
    }

    .lead-profile-save-state p {
      margin: 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .lead-profile-freshness {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-profile-freshness span {
      display: grid;
      gap: 3px;
      min-width: 0;
      padding: 8px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
      color: #516173;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .lead-profile-freshness b {
      color: #183045;
      font-size: 12px;
      line-height: 1.2;
    }

    .lead-profile-freshness [data-profile-freshness-current="changed"] {
      border-color: rgba(176, 111, 0, .28);
      background: #fff8e8;
      color: #8a5600;
    }

    .lead-profile-review-row {
      display: grid;
      gap: 8px;
      align-content: start;
      min-width: 0;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-profile-review-row header {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: start;
      min-width: 0;
    }

    .lead-profile-review-row h3 {
      margin: 0;
      color: #183045;
      font-size: 13px;
      line-height: 1.2;
    }

    .lead-profile-review-action {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
      padding-top: 2px;
    }

    .lead-account-readiness-path {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-account-readiness-path span {
      display: grid;
      gap: 3px;
      min-width: 0;
      padding: 8px 9px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-account-readiness-path b,
    .lead-account-readiness-path small {
      overflow-wrap: anywhere;
    }

    .lead-account-readiness-path b {
      color: #183045;
      font-size: 12px;
      line-height: 1.2;
    }

    .lead-account-readiness-path small {
      color: #657383;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.2;
    }

    .lead-owner-next-step {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      margin: 12px 0;
      padding: 12px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #f8fbff;
    }

    .lead-owner-next-step span,
    .lead-owner-next-step strong,
    .lead-owner-next-step p {
      min-width: 0;
    }

    .lead-owner-next-step span {
      color: #64748b;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-owner-next-step strong {
      display: block;
      margin-top: 2px;
      color: #13233a;
      font-size: 16px;
      line-height: 1.2;
    }

    .lead-owner-next-step p {
      margin: 4px 0 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-owner-next-step .btn {
      min-width: 154px;
      white-space: normal;
    }

    .lead-required-fields {
      display: grid;
      gap: 10px;
      margin: 12px 0;
      padding: 12px;
      border: 1px solid #e0e8f1;
      border-radius: 8px;
      background: #fff;
    }

    .lead-required-fields-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .lead-required-fields-head span,
    .lead-required-fields-head strong,
    .lead-required-fields-head p {
      min-width: 0;
    }

    .lead-required-fields-head span {
      color: #64748b;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-required-fields-head strong {
      display: block;
      margin-top: 2px;
      color: #13233a;
      font-size: 15px;
      line-height: 1.2;
    }

    .lead-required-fields-head p {
      margin: 4px 0 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-required-field-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-required-field-button {
      display: grid;
      gap: 3px;
      min-height: 58px;
      padding: 9px 10px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #f8fbff;
      color: #13233a;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .lead-required-field-button b,
    .lead-required-field-button span {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .lead-required-field-button b {
      font-size: 12px;
      line-height: 1.2;
    }

    .lead-required-field-button span {
      color: #64748b;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.25;
    }

    .lead-social-media-guide {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #fff;
    }

    .lead-social-media-guide strong {
      color: #13233a;
      font-size: 13px;
      line-height: 1.25;
    }

    .lead-social-media-guide p {
      margin: 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-social-media-state {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .lead-social-media-state header {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: start;
      min-width: 0;
    }

    .lead-social-media-state strong {
      display: block;
      color: #13233a;
      font-size: 13px;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    .lead-social-media-state p {
      margin: 3px 0 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .lead-social-media-guide-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-social-media-guide-steps span,
    .lead-platform-ready-note {
      min-width: 0;
      padding: 8px;
      border: 1px solid #e0e8f1;
      border-radius: 8px;
      background: #f8fbff;
      color: #516173;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .lead-platform-ready-note {
      background: #fff;
    }

    .lead-first-campaign-readiness-guide {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #fff;
    }

    .lead-first-campaign-readiness-guide strong {
      color: #13233a;
      font-size: 13px;
      line-height: 1.25;
    }

    .lead-first-campaign-readiness-guide p {
      margin: 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-first-campaign-readiness-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-first-campaign-readiness-list span {
      min-width: 0;
      padding: 8px;
      border: 1px solid #e0e8f1;
      border-radius: 8px;
      background: #f8fbff;
      color: #516173;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .lead-account-setup-workflow {
      display: grid;
      gap: 10px;
      margin: 12px 0;
      padding: 12px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #f8fbff;
    }

    .lead-account-setup-workflow-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .lead-account-setup-workflow-head span {
      color: #64748b;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-account-setup-workflow-head strong {
      display: block;
      margin-top: 2px;
      color: #13233a;
      font-size: 15px;
      line-height: 1.2;
    }

    .lead-account-setup-workflow-head p {
      margin: 4px 0 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-account-setup-workflow-steps {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-account-setup-workflow-step {
      display: grid;
      gap: 4px;
      min-height: 72px;
      padding: 9px 10px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #fff;
      color: #13233a;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .lead-account-setup-workflow-step.is-active {
      border-color: #23bfd1;
      box-shadow: 0 0 0 3px rgba(35,191,209,.14);
    }

    .lead-account-setup-workflow-step b,
    .lead-account-setup-workflow-step span,
    .lead-account-setup-workflow-step small {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .lead-account-setup-workflow-step b {
      font-size: 12px;
      line-height: 1.2;
    }

    .lead-account-setup-workflow-step span,
    .lead-account-setup-workflow-step small {
      color: #64748b;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.25;
    }

    .lead-account-creation-handoff {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      margin: 12px 0;
      padding: 12px;
      border: 1px solid #cfe6ee;
      border-radius: 8px;
      background: #f5fcff;
    }

    .lead-account-creation-handoff span {
      color: #0f6f86;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-account-creation-handoff strong {
      display: block;
      margin-top: 2px;
      color: #12313c;
      font-size: 15px;
      line-height: 1.2;
    }

    .lead-account-creation-handoff p {
      margin: 4px 0 0;
      color: #516173;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-account-creation-handoff-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .lead-first-campaign-inputs {
      display: grid;
      gap: 10px;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #f8fbff;
    }

    .lead-first-campaign-inputs.is-active-setup-task {
      border-color: #1f6fb7;
      background: linear-gradient(180deg, #ffffff, #f3f8ff);
      box-shadow: 0 0 0 3px rgba(31, 111, 183, .13), 0 14px 28px rgba(31, 111, 183, .08);
    }

    .lead-first-campaign-inputs p {
      margin: 4px 0 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-workspace-profile-card {
      gap: 14px;
      max-width: 1120px;
      margin: 0 auto;
    }

    .lead-profile-form {
      display: grid;
      gap: 12px;
    }

    .lead-company-profile-editor {
      background: #ffffff;
      gap: 14px;
    }

    .lead-form-section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-top: 4px;
      border-top: 1px solid #e5edf5;
      color: #26384c;
    }

    .lead-form-section-heading:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .lead-form-section-heading strong {
      font-size: 14px;
    }

    .lead-form-section-heading span {
      color: #6a7480;
      font-size: 12px;
      font-weight: 700;
    }

    .lead-company-profile-progress {
      background: #f7fbff;
      border-color: #d8e7f4;
    }

    .lead-company-profile-progress-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-company-profile-progress-grid span {
      display: grid;
      gap: 3px;
      padding: 10px;
      border: 1px solid #d9e4ee;
      border-radius: 8px;
      background: #fff;
      color: #4d5d6f;
      font-size: 12px;
      font-weight: 650;
    }

    .lead-company-profile-progress-grid b {
      color: #1d3147;
      font-size: 12px;
      font-weight: 900;
    }

    .lead-profile-check-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 8px;
    }

    .lead-profile-check-grid label {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 38px;
      padding: 8px 10px;
      border: 1px solid #d9e4ee;
      border-radius: 8px;
      background: #fff;
      color: #26384c;
      font-weight: 800;
    }

    .lead-profile-check-grid input {
      width: 16px;
      height: 16px;
      margin: 0;
      flex: 0 0 auto;
    }

    @media (max-width: 760px) {
      .lead-company-profile-progress-grid {
        grid-template-columns: 1fr;
      }
    }

    .lead-profile-form label {
      display: grid;
      gap: 6px;
      min-width: 0;
      color: #334155;
      font-size: 12px;
      font-weight: 850;
    }

    .lead-field-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      min-width: 0;
    }

    .lead-field-label span:first-child {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .lead-field-tag {
      flex: 0 0 auto;
      padding: 2px 6px;
      border: 1px solid #d6e0ea;
      border-radius: 999px;
      background: #fff;
      color: #5f6f82;
      font-size: 10px;
      font-weight: 950;
      line-height: 1.2;
    }

    .lead-field-tag.required {
      border-color: rgba(31, 111, 183, .22);
      background: #eef6ff;
      color: #1f5f99;
    }

    .lead-field-tag.optional {
      border-color: rgba(154, 98, 0, .2);
      background: #fff8e8;
      color: #8a5600;
    }

    .lead-profile-form input,
    .lead-profile-form textarea,
    .lead-profile-form select {
      width: 100%;
      min-width: 0;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
      color: #183045;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      padding: 9px 10px;
    }

    .lead-first-campaign-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-first-campaign-format-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .lead-first-campaign-format-row label {
      flex: 1 1 150px;
      min-height: 38px;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
      color: #455365;
      font-size: 12px;
      font-weight: 850;
    }

    .lead-first-campaign-format-row input {
      width: 16px;
      height: 16px;
      accent-color: #1f6fb7;
    }

    .lead-profile-draft-state {
      display: grid;
      gap: 4px;
      padding: 10px;
      border: 1px solid rgba(31, 111, 183, .18);
      border-radius: 8px;
      background: #f3f8ff;
    }

    .lead-profile-draft-state span {
      color: #1f6fb7;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .lead-profile-draft-state strong {
      color: #183045;
      font-size: 14px;
      line-height: 1.2;
    }

    .lead-profile-draft-state p {
      margin: 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-profile-draft-state.is-ready {
      border-color: rgba(31, 122, 85, .22);
      background: #edf8f2;
    }

    .lead-profile-draft-state.is-permission {
      border-color: rgba(176, 111, 0, .22);
      background: #fff7e8;
    }

    .lead-profile-draft-state.is-blocked {
      border-color: rgba(180, 35, 24, .2);
      background: #fff4f2;
    }

    .lead-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .lead-tag {
      border-radius: 999px;
      background: #edf2f7;
      color: #455365;
      padding: 4px 8px;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
    }

    .lead-platform-setup {
      display: grid;
      gap: 8px;
    }

    .first-run-setup-panel {
      display: grid;
      gap: 0;
    }

    .first-run-setup-body {
      display: grid;
      gap: 12px;
      padding: 14px;
    }

    .first-run-step {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .first-run-step-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .first-run-step-head div {
      display: grid;
      gap: 3px;
    }

    .first-run-step-head strong {
      color: #223044;
      font-size: 14px;
    }

    .first-run-step-head p,
    .first-run-status {
      margin: 0;
      color: #657383;
      font-size: 12px;
      line-height: 1.45;
    }

    .first-run-generator-fields {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .first-run-generator-fields label {
      display: grid;
      gap: 4px;
      color: #445266;
      font-size: 12px;
      font-weight: 800;
    }

    .first-run-generator-fields input,
    .first-run-generator-fields select {
      width: 100%;
      min-width: 0;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      padding: 9px 10px;
      background: #fff;
      color: #273244;
      font: inherit;
    }

    .first-run-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    @media (max-width: 760px) {
      .first-run-generator-fields {
        grid-template-columns: 1fr;
      }
    }

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

    .meta-oauth-connection {
      display: grid;
      gap: 12px;
      padding: 16px;
      border: 1px solid #c9d7e5;
      border-radius: 8px;
      background: #fff;
    }

    .meta-oauth-connection-head,
    .meta-oauth-actions,
    .meta-oauth-identities {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .meta-oauth-connection-head > div {
      display: grid;
      gap: 4px;
    }

    .meta-oauth-connection-head strong {
      color: #223044;
      font-size: 15px;
    }

    .meta-oauth-connection-head p,
    .meta-oauth-message,
    .meta-oauth-identity span,
    .meta-oauth-identity small,
    .manual-provider-setup > summary,
    .manual-provider-setup > p {
      margin: 0;
      color: #657383;
      font-size: 12px;
      line-height: 1.45;
    }

    .meta-oauth-identity {
      display: grid;
      gap: 3px;
      min-width: min(240px, 100%);
    }

    .meta-oauth-identity strong {
      color: #273244;
      font-size: 13px;
    }

    .meta-oauth-message.is-error {
      color: #b42318;
      font-weight: 700;
    }

    .manual-provider-setup {
      display: grid;
      gap: 12px;
      padding-top: 4px;
    }

    .manual-provider-setup > summary {
      width: fit-content;
      cursor: pointer;
      color: #31445b;
      font-weight: 800;
    }

    .provider-connection-card {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .provider-connection-head,
    .provider-connection-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .provider-connection-head div,
    .provider-connection-fields label {
      display: grid;
      gap: 4px;
    }

    .provider-connection-head strong {
      color: #223044;
      font-size: 14px;
    }

    .provider-connection-head span,
    .provider-connection-fields label > span,
    .provider-connection-message,
    .provider-connection-schedule-state {
      color: #657383;
      font-size: 12px;
      line-height: 1.4;
    }

    .provider-connection-fields {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .provider-connection-fields input {
      width: 100%;
      min-width: 0;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      padding: 9px 10px;
      background: #fff;
      color: #273244;
      font: inherit;
      font-size: 13px;
    }

    .provider-connection-fields input[aria-invalid="true"] {
      border-color: #b42318;
      box-shadow: 0 0 0 2px rgba(180,35,24,.12);
    }

    .provider-connection-message,
    .provider-connection-schedule-state {
      margin: 0;
    }

    .provider-connection-message.is-error {
      color: #b42318;
      font-weight: 700;
    }

    .provider-connection-schedule-state.is-blocked {
      color: #9a3412;
      font-weight: 800;
    }

    .provider-connection-schedule-state.is-ready {
      color: #18794e;
      font-weight: 800;
    }

    @media (max-width: 760px) {
      .provider-connection-list,
      .provider-connection-fields {
        grid-template-columns: 1fr;
      }

      .meta-oauth-actions .btn {
        width: 100%;
      }
    }

    .lead-platform-simple-intro {
      display: grid;
      gap: 4px;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-platform-simple-intro strong {
      color: #223044;
      font-size: 13px;
    }

    .lead-platform-simple-intro p {
      margin: 0;
      color: #657383;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-platform-choice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 8px;
    }

    .lead-platform-setup-row {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .lead-platform-setup-row.is-simple-channel {
      align-content: start;
      min-height: 0;
    }

    .lead-platform-setup-head {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: start;
      min-width: 0;
    }

    .lead-platform-setup-head strong,
    .lead-platform-setup-head span {
      display: block;
      overflow-wrap: anywhere;
    }

    .lead-platform-setup-head span {
      margin-top: 2px;
      color: #657383;
      font-size: 12px;
      font-weight: 750;
    }

    .lead-platform-setup-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-platform-setup-grid label,
    .lead-platform-query-label {
      display: grid;
      gap: 4px;
      min-width: 0;
      color: #657383;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-platform-setup-grid select,
    .lead-platform-query-label textarea {
      min-width: 0;
      width: 100%;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      padding: 7px 8px;
      background: #fff;
      color: #273244;
      font: inherit;
      font-size: 12px;
      letter-spacing: 0;
    }

    .lead-platform-query-label textarea {
      min-height: 58px;
      resize: vertical;
      text-transform: none;
    }

    .lead-platform-simple-actions {
      display: grid;
      gap: 8px;
    }

    .lead-platform-simple-actions label {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: #223044;
      font-size: 12px;
      font-weight: 750;
      line-height: 1.35;
      text-transform: none;
      letter-spacing: 0;
    }

    .lead-platform-simple-actions input {
      margin-top: 2px;
    }

    .lead-platform-hidden-controls {
      display: none;
    }

    .lead-tag.hot {
      background: #f6e9c8;
      color: #8d5c0f;
    }

    .lead-tag.good {
      background: #e3f1ea;
      color: #1f7a55;
    }

    .lead-tag.source {
      background: #eef2ff;
      color: #4338ca;
      border: 1px solid rgba(99,91,255,.18);
    }

    .lead-tag.integration {
      background: #e0f2fe;
      color: #075985;
    }

    .lead-quick-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .lead-crm-workspace {
      scroll-margin-top: 16px;
    }

    .publishing-command-grid,
    .settings-command-grid,
    .content-command-grid,
    .lead-generator-command-grid,
    .review-command-grid,
    .lono-command-grid {
      display: grid;
      grid-template-columns: 1.12fr repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .publishing-command-card,
    .settings-command-card,
    .content-command-card,
    .lead-generator-command-card,
    .review-command-card,
    .lono-command-card {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      min-height: 116px;
      padding: 14px;
      border: 1px solid rgba(0, 111, 255, 0.12);
      border-radius: 18px;
      background:
        radial-gradient(circle at 94% 8%, rgba(24,191,227,.16), transparent 32%),
        linear-gradient(180deg, #fff, #f8fbff);
      box-shadow: 0 14px 32px rgba(13, 39, 90, 0.07);
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .publishing-command-card:hover,
    .settings-command-card:hover,
    .content-command-card:hover,
    .lead-generator-command-card:hover,
    .review-command-card:hover,
    .lono-command-card:hover {
      transform: translateY(-1px);
      border-color: rgba(0, 111, 255, 0.24);
      box-shadow: 0 18px 38px rgba(13, 39, 90, 0.1);
    }

    .publishing-command-card.is-primary,
    .settings-command-card.is-primary,
    .content-command-card.is-primary,
    .lead-generator-command-card.is-primary,
    .review-command-card.is-primary,
    .lono-command-card.is-primary {
      border-color: rgba(0, 111, 255, 0.28);
      background:
        radial-gradient(circle at 88% 8%, rgba(0, 111, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #ffffff, #f3f8ff);
    }

    .publishing-command-card span,
    .settings-command-card span,
    .content-command-card span,
    .lead-generator-command-card span,
    .review-command-card span,
    .lono-command-card span {
      display: block;
      color: #006fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .publishing-command-card strong,
    .settings-command-card strong,
    .content-command-card strong,
    .lead-generator-command-card strong,
    .review-command-card strong,
    .lono-command-card strong {
      display: block;
      margin-top: 4px;
      color: #081847;
      font-size: 16px;
      line-height: 1.14;
    }

    .publishing-command-card p,
    .settings-command-card p,
    .content-command-card p,
    .lead-generator-command-card p,
    .review-command-card p,
    .lono-command-card p {
      margin: 6px 0 0;
      color: #5d6a82;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-live-preview {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 12px;
    }

    .lead-page-mock {
      min-height: 280px;
      border-radius: 8px;
      border: 1px solid #bfd0dd;
      background: linear-gradient(145deg, #153047, #246064);
      color: #fff;
      padding: 16px;
      display: grid;
      align-content: space-between;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }

    .lead-page-mock h3 {
      margin: 0;
      font-size: 24px;
      line-height: 1.05;
      color: #fff;
    }

    .lead-page-mock p {
      margin: 8px 0 0;
      color: rgba(255,255,255,.78);
      font-size: 13px;
    }

    .lead-question-list {
      display: grid;
      gap: 7px;
      margin-top: 12px;
    }

    .lead-question {
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 999px;
      background: rgba(255,255,255,.1);
      padding: 7px 10px;
      color: rgba(255,255,255,.9);
      font-size: 12px;
      font-weight: 800;
    }

    .lead-page-url {
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      color: rgba(255,255,255,.76);
      padding: 6px 9px;
      font-size: 11px;
      overflow-wrap: anywhere;
    }

    /* CRM owner workspace. */
    body[data-active-view="crm"] {
      background: #f4f6f8;
    }

    body[data-active-view="crm"] .lead-global-header {
      min-height: 44px;
      display: flex !important;
      align-items: center;
      justify-content: flex-end;
      margin: 0 0 10px;
      padding: 0;
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    body[data-active-view="crm"] .lead-global-header .lead-app-title,
    body[data-active-view="crm"] .lead-global-header .icon-text-button,
    body[data-active-view="crm"] .lead-global-header .lead-workspace-switcher,
    body[data-active-view="crm"] .lead-global-header .lead-profile-button,
    body[data-active-view="crm"] .lead-global-header .lead-profile-menu {
      display: none !important;
    }

    body[data-active-view="crm"] .lead-global-header .lead-account-cluster {
      width: auto;
      margin: 0;
    }

    body[data-active-view="crm"] .lead-global-header .lead-setup-pill {
      min-height: 38px;
      border-radius: 6px;
      box-shadow: none;
    }

    body[data-active-view="crm"] .lead-global-header .lead-setup-pill em {
      display: none;
    }

    body[data-active-view="crm"] main {
      padding-top: 18px;
      background: linear-gradient(135deg, #f4f8fc 0%, #f4faf8 58%, #f8f6fc 100%);
    }

    .prototype-view[data-view="crm"],
    .prototype-view[data-view="crm"] > .lead-crm-page-shell {
      width: 100%;
      max-width: 100%;
      padding: 0;
      overflow: visible;
      border-radius: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-workspace {
      position: relative;
      overflow: visible;
      padding: 0;
      border: 1px solid #cbdbea;
      border-radius: 8px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 54%, #fbfcff 100%);
      box-shadow: 0 18px 46px rgba(22, 61, 105, .10);
    }

    .prototype-view[data-view="crm"] .lead-crm-workspace::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0 0 auto;
      height: 4px;
      border-radius: 8px 8px 0 0;
      background: linear-gradient(90deg, #006fff 0%, #27bfd1 42%, #22ad72 72%, #6b47ff 100%);
      pointer-events: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-page-hero {
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 22px 24px 18px;
      border-bottom: 1px solid #d9e5f0;
      background: linear-gradient(90deg, #ffffff 0%, #f4f9ff 70%, #f4fbf8 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-page-hero h1 {
      margin: 0;
      color: #071b46;
      font-size: 30px;
      line-height: 1.1;
      letter-spacing: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-page-hero p {
      max-width: 620px;
      margin: 4px 0 0;
      color: #566985;
      font-size: 14px;
      line-height: 1.4;
    }

    .prototype-view[data-view="crm"] .lead-crm-hero-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-button,
    .prototype-view[data-view="crm"] .lead-crm-hero-chip {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 11px;
      border: 1px solid #cfd9e4;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 8px 20px rgba(22, 61, 105, .06);
      color: #24364d;
      font-size: 14px;
      font-weight: 850;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-widget {
      position: relative;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-button {
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-button:hover {
      border-color: #7da9d6;
      background: #eef6ff;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-button .lono-visual-icon,
    .prototype-view[data-view="crm"] .lead-crm-hero-chip .lono-visual-icon {
      width: 28px;
      height: 28px;
      flex: 0 0 28px;
      border-radius: 7px;
    }

    .prototype-view[data-view="crm"] .lead-crm-hero-chip.records {
      border-color: #b9dfcf;
      background: #f1faf6;
      color: #176d4d;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-badge {
      min-width: 19px;
      min-height: 19px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: #c33f3f;
      color: #fff;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu {
      position: absolute;
      z-index: 30;
      top: calc(100% + 7px);
      right: 0;
      width: min(390px, calc(100vw - 32px));
      display: none;
      overflow: hidden;
      border: 1px solid #d8e0e8;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 16px 38px rgba(24, 38, 55, .16);
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu.is-open {
      display: block;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-head {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 9px 11px;
      border-bottom: 1px solid #e2e7ed;
      background: #f7f9fb;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-head strong,
    .prototype-view[data-view="crm"] .lead-crm-action-menu-head span {
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 6px;
      padding: 7px;
      border-bottom: 1px solid #e8edf2;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-row:last-child {
      border-bottom: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-item {
      min-width: 0;
      min-height: 44px;
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      border: 0;
      border-radius: 6px;
      background: #fff;
      padding: 6px;
      color: #24364d;
      text-align: left;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-menu-item strong,
    .prototype-view[data-view="crm"] .lead-crm-action-menu-item span {
      display: block;
      overflow: hidden;
      font-size: 12px;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-priority {
      font-size: 12px;
      font-style: normal;
      font-weight: 850;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-dismiss {
      min-height: 44px;
      border: 0;
      background: transparent;
      color: #68778a;
      font-size: 12px;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-workspace > .lead-card-body {
      display: grid;
      gap: 0;
      padding: 18px 22px 22px;
    }

    .prototype-view[data-view="crm"] .lead-crm-management-zone {
      display: block;
      margin: 0 0 16px;
      padding: 10px;
      overflow: visible;
      border: 1px solid #d3e1ef;
      border-left: 4px solid #27b8cd;
      border-radius: 8px;
      background: rgba(255, 255, 255, .92);
      box-shadow: 0 10px 26px rgba(22, 61, 105, .06);
    }

    .prototype-view[data-view="crm"] .lead-board:empty {
      display: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-toolbar {
      display: grid;
      grid-template-columns: minmax(240px, 1fr) auto minmax(150px, .36fr) minmax(150px, .36fr);
      gap: 8px;
      align-items: center;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-wrap {
      position: relative;
      min-width: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-icon {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 10px;
      width: 26px;
      height: 26px;
      border-radius: 7px;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-toolbar input,
    .prototype-view[data-view="crm"] .lead-crm-toolbar select,
    .prototype-view[data-view="crm"] .lead-note-box textarea,
    .prototype-view[data-view="crm"] .lead-status-controls select {
      width: 100%;
      min-height: 44px;
      border: 1px solid #cfd9e4;
      border-radius: 6px;
      background: #fff;
      color: #24364d;
      padding: 8px 10px;
      font: inherit;
      font-size: 14px;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-wrap > input {
      padding-left: 45px;
    }

    .prototype-view[data-view="crm"] .lead-crm-toolbar input:focus,
    .prototype-view[data-view="crm"] .lead-crm-toolbar select:focus,
    .prototype-view[data-view="crm"] .lead-note-box textarea:focus {
      border-color: #1769c2;
      outline: 3px solid rgba(23, 105, 194, .13);
      outline-offset: 1px;
    }

    .prototype-view[data-view="crm"] .lead-crm-segmented {
      min-height: 48px;
      display: grid;
      grid-template-columns: repeat(2, minmax(78px, 1fr));
      gap: 2px;
      padding: 3px;
      border: 1px solid #cfd9e4;
      border-radius: 8px;
      background: #edf5ff;
    }

    .prototype-view[data-view="crm"] .lead-crm-segmented button {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      border: 0;
      border-radius: 6px;
      background: transparent;
      color: #526275;
      font: inherit;
      font-size: 14px;
      font-weight: 850;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-segmented button.is-active {
      background: #006fff;
      color: #fff;
      box-shadow: 0 7px 16px rgba(0, 111, 255, .18);
    }

    .prototype-view[data-view="crm"] .lead-crm-segmented .lono-visual-icon {
      width: 24px;
      height: 24px;
      flex: 0 0 24px;
      border-radius: 6px;
    }

    .prototype-view[data-view="crm"] .lead-crm-segmented button.is-active .lono-visual-icon {
      background: rgba(255, 255, 255, .18);
    }

    .prototype-view[data-view="crm"] .lead-crm-search-suggestions {
      position: absolute;
      z-index: 18;
      inset: calc(100% + 5px) 0 auto;
      display: none;
      padding: 6px;
      border: 1px solid #d8e0e8;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 12px 28px rgba(24, 38, 55, .14);
    }

    .prototype-view[data-view="crm"] .lead-crm-search-suggestions.is-open {
      display: grid;
      gap: 4px;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-suggestion {
      min-height: 44px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      border: 0;
      border-radius: 6px;
      background: #fff;
      padding: 7px 8px;
      color: #24364d;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-suggestion:hover {
      background: #f3f6fa;
    }

    .prototype-view[data-view="crm"] .lead-crm-search-suggestion strong,
    .prototype-view[data-view="crm"] .lead-crm-search-suggestion span,
    .prototype-view[data-view="crm"] .lead-crm-search-suggestion em {
      display: block;
      overflow: hidden;
      font-size: 12px;
      font-style: normal;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-inbox-list {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      align-items: start;
    }

    .prototype-view[data-view="crm"] .lead-crm-command-shell {
      min-width: 0;
      width: 100%;
    }

    .prototype-view[data-view="crm"] .lead-crm-table-card,
    .prototype-view[data-view="crm"] .lead-crm-profile-panel,
    .prototype-view[data-view="crm"] .lead-crm-action-panel {
      overflow: hidden;
      border: 1px solid #d1deeb;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 12px 30px rgba(22, 61, 105, .07);
    }

    .prototype-view[data-view="crm"] .lead-crm-table-card {
      border-top: 4px solid #27b8cd;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-panel {
      border-top: 4px solid #22ad72;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-panel {
      border-top: 4px solid #6b47ff;
      padding: 16px;
    }

    .prototype-view[data-view="crm"] .lead-crm-table-head {
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
      border-bottom: 1px solid #e2e7ed;
      background: linear-gradient(90deg, #eef7ff 0%, #f4fbf8 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-table-head strong {
      color: #1b2a3d;
      font-size: 14px;
    }

    .prototype-view[data-view="crm"] .lead-crm-table-head .pill {
      min-height: 24px;
      border: 0;
      border-radius: 6px;
      border: 1px solid #d3e2ef;
      background: #fff;
      color: #48617d;
      font-size: 11px;
      white-space: normal;
    }

    .prototype-view[data-view="crm"] .lead-crm-table-scroll {
      width: 100%;
      max-height: min(620px, calc(100vh - 230px));
      overflow: auto;
      background: #fff;
    }

    .prototype-view[data-view="crm"] .lead-crm-table {
      width: 100%;
      min-width: 0;
      border-collapse: collapse;
      table-layout: fixed;
      color: #24364d;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-table th,
    .prototype-view[data-view="crm"] .lead-crm-table td {
      padding: 10px 7px;
      border-bottom: 1px solid #e4e9ef;
      vertical-align: top;
      overflow-wrap: anywhere;
      text-align: left;
    }

    .prototype-view[data-view="crm"] .lead-crm-table th {
      position: sticky;
      z-index: 2;
      top: 0;
      background: #f4f8fc;
      color: #465c77;
      font-size: 11px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(1) { width: 12%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(2) { width: 16%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(3) { width: 8%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(4) { width: 10%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(5) { width: 7%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(6) { width: 11%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(7) { width: 9%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(8) { width: 6%; }
    .prototype-view[data-view="crm"] .lead-crm-table th:nth-child(9) { width: 21%; }

    .prototype-view[data-view="crm"] .lead-crm-row {
      display: table-row;
      gap: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: #fff;
      box-shadow: none;
      cursor: pointer;
      transition: background-color 120ms ease, box-shadow 120ms ease;
    }

    .prototype-view[data-view="crm"] .lead-crm-row:hover {
      background: #f3f9ff;
    }

    .prototype-view[data-view="crm"] .lead-crm-row.is-selected {
      background: linear-gradient(90deg, #eaf5ff 0%, #f1fbf8 100%);
      box-shadow: inset 4px 0 0 #006fff;
    }

    .prototype-view[data-view="crm"] .lead-crm-row:focus-visible {
      outline: 3px solid rgba(23, 105, 194, .25);
      outline-offset: -3px;
    }

    .prototype-view[data-view="crm"] .lead-crm-person {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
    }

    .prototype-view[data-view="crm"] .lead-crm-person .lead-avatar {
      width: 34px;
      height: 34px;
      border: 1px solid #d4c9ff;
      background: #eee9ff;
      color: #6844dc;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-person strong,
    .prototype-view[data-view="crm"] .lead-crm-person span,
    .prototype-view[data-view="crm"] .lead-crm-contact-cell span,
    .prototype-view[data-view="crm"] .lead-crm-activity-cell span,
    .prototype-view[data-view="crm"] .lead-crm-activity-cell time {
      display: block;
      line-height: 1.3;
    }

    .prototype-view[data-view="crm"] .lead-crm-person strong {
      color: #17263a;
      font-size: 13px;
    }

    .prototype-view[data-view="crm"] .lead-crm-person span,
    .prototype-view[data-view="crm"] .lead-crm-contact-cell span,
    .prototype-view[data-view="crm"] .lead-crm-activity-cell span {
      color: #68778a;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-contact-cell,
    .prototype-view[data-view="crm"] .lead-crm-activity-cell {
      display: grid;
      gap: 3px;
    }

    .prototype-view[data-view="crm"] .lead-crm-priority {
      display: inline-flex;
      width: auto;
      min-height: 26px;
      align-items: center;
      justify-content: flex-start;
      border: 1px solid #d7e2ed;
      border-radius: 5px;
      background: #f3f6f9;
      padding: 3px 4px;
      color: #334a65;
      font-size: 11px;
      font-weight: 850;
      overflow-wrap: normal;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-quick-actions {
      display: grid;
      grid-template-columns: repeat(5, 36px);
      gap: 4px;
      align-items: center;
      justify-content: start;
      min-width: 0;
    }

    .prototype-view[data-view="crm"] .crm-quick-action {
      position: relative;
      width: 36px;
      min-width: 36px;
      height: 36px;
      min-height: 36px;
      display: grid;
      place-items: center;
      border: 1px solid #cfd9e4;
      border-radius: 8px;
      background: #fff;
      padding: 5px;
      color: #334a65;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .crm-quick-action:hover,
    .prototype-view[data-view="crm"] .crm-quick-action.is-active {
      border-color: #1769c2;
      background: #eaf3fc;
      color: #12569d;
      box-shadow: 0 7px 16px rgba(0, 111, 255, .12);
    }

    .prototype-view[data-view="crm"] .crm-quick-action .lono-visual-icon {
      width: 24px;
      height: 24px;
      border-radius: 6px;
    }

    .prototype-view[data-view="crm"] .crm-quick-action .crm-action-label {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-status-pill,
    .prototype-view[data-view="crm"] .lead-tag {
      max-width: 100%;
      line-height: 1.15;
      overflow-wrap: normal;
      white-space: normal;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-grid {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 16px;
      margin: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-grid.is-empty {
      grid-template-columns: minmax(0, 1fr);
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-panel {
      padding: 0 16px 16px;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-head {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      margin: 0 -16px 12px;
      padding: 14px 16px 12px;
      border-bottom: 1px solid #d8e9e2;
      background: linear-gradient(90deg, #f0faf5 0%, #f5fbff 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-head .lead-avatar {
      width: 40px;
      height: 40px;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-head h3 {
      margin: 0;
      color: #17263a;
      font-size: 18px;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-kicker {
      display: block;
      margin-bottom: 2px;
      color: #187354;
      font-size: 11px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
      gap: 12px;
      margin: 0 0 12px;
      padding: 12px;
      border: 1px solid #d8e6ef;
      border-radius: 8px;
      background: #f8fbfe;
    }

    .prototype-view[data-view="crm"] .lead-crm-contact-list {
      display: grid;
      gap: 7px;
      color: #40506b;
      font-size: 14px;
    }

    .prototype-view[data-view="crm"] .lead-crm-contact-list span {
      min-width: 0;
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      overflow-wrap: anywhere;
    }

    .prototype-view[data-view="crm"] .lead-crm-contact-list .lono-visual-icon {
      width: 26px;
      height: 26px;
      border-radius: 7px;
    }

    .prototype-view[data-view="crm"] .lead-crm-contact-list span > span {
      display: block;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .prototype-view[data-view="crm"] .lead-crm-next-action {
      min-height: 62px;
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr);
      align-content: center;
      align-items: center;
      gap: 3px;
      padding: 9px 11px;
      border: 1px solid #c8dced;
      border-left: 4px solid #1769c2;
      border-radius: 8px;
      background: #eef6ff;
    }

    .prototype-view[data-view="crm"] .lead-crm-next-action > .lono-visual-icon {
      width: 26px;
      height: 26px;
      border-radius: 7px;
    }

    .prototype-view[data-view="crm"] .lead-crm-next-action-copy {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .prototype-view[data-view="crm"] .lead-crm-next-action-copy span,
    .prototype-view[data-view="crm"] .lead-crm-next-action strong {
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-next-action strong {
      font-size: 14px;
    }

    .prototype-view[data-view="crm"] .lead-crm-detail-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 12px 0;
      border-bottom: 1px solid #e4e9ef;
    }

    .prototype-view[data-view="crm"] .lead-crm-detail-actions .btn,
    .prototype-view[data-view="crm"] .lead-status-controls .btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      border-radius: 6px;
      box-shadow: none;
      font-size: 14px;
    }

    .prototype-view[data-view="crm"] .lead-crm-detail-actions .lono-visual-icon,
    .prototype-view[data-view="crm"] .lead-status-controls .lono-visual-icon {
      width: 24px;
      height: 24px;
      flex: 0 0 24px;
      border-radius: 6px;
    }

    .prototype-view[data-view="crm"] .lead-crm-detail-actions .btn.primary .lono-visual-icon,
    .prototype-view[data-view="crm"] .lead-status-controls .btn.primary .lono-visual-icon {
      background: rgba(255, 255, 255, .18);
    }

    .prototype-view[data-view="crm"] .lead-crm-lifecycle {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0;
      padding: 12px 10px;
      border: 1px solid #d8e4ef;
      border-radius: 8px;
      background: #f8fbfe;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step {
      position: relative;
      z-index: 1;
      min-height: 58px;
      display: grid;
      justify-items: center;
      align-content: center;
      gap: 5px;
      border: 0;
      border-radius: 8px;
      background: transparent;
      padding: 5px 3px;
      color: #617083;
      font: inherit;
      font-size: 12px;
      font-weight: 750;
      text-align: center;
      cursor: pointer;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step::before,
    .prototype-view[data-view="crm"] .lead-crm-life-step::before {
      display: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step::after {
      content: "";
      position: absolute;
      z-index: -1;
      top: 19px;
      left: calc(50% + 19px);
      width: calc(100% - 30px);
      border-top: 1px dashed #bfd0e1;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step:last-child::after {
      display: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step .lono-visual-icon {
      width: 32px;
      height: 32px;
      border: 1px solid #d6e2ee;
      border-radius: 8px;
      background-color: #fff;
      box-shadow: 0 5px 12px rgba(22, 61, 105, .06);
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step.is-done {
      border-color: #bcd9c9;
      background: transparent;
      color: #2b6b4a;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step.is-done .lono-visual-icon {
      border-color: #a9d4bf;
      background-color: #e8f7ef;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step.is-active {
      background: transparent;
      color: #12569d;
      font-weight: 900;
    }

    .prototype-view[data-view="crm"] .lead-crm-life-step.is-active .lono-visual-icon {
      border-color: #006fff;
      background-color: #e8f2ff;
      box-shadow: 0 0 0 3px rgba(0, 111, 255, .13), 0 7px 16px rgba(0, 111, 255, .12);
    }

    .prototype-view[data-view="crm"] .lead-note-box {
      display: grid;
      gap: 7px;
      padding-top: 12px;
      border-top: 1px solid #e4e9ef;
    }

    .prototype-view[data-view="crm"] .lead-note-box textarea {
      min-height: 74px;
      resize: vertical;
    }

    .prototype-view[data-view="crm"] .lead-status-controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 7px;
    }

    .prototype-view[data-view="crm"] .lead-status-controls select {
      width: min(250px, 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-secondary-details {
      margin-top: 12px;
      border-top: 1px solid #e4e9ef;
    }

    .prototype-view[data-view="crm"] .lead-crm-secondary-heading {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: #334a65;
      font-size: 12px;
      font-weight: 850;
    }

    .prototype-view[data-view="crm"] .lead-crm-secondary-heading span {
      color: #68778a;
      font-weight: 650;
    }

    .prototype-view[data-view="crm"] .lead-crm-profile-columns {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      margin-top: 4px;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-panel {
      min-width: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-panel-title {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      margin: -16px -16px 12px;
      padding: 12px 16px;
      border-bottom: 1px solid #e0daf8;
      background: linear-gradient(90deg, #f5f2ff 0%, #f4f9ff 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-panel-title > .lono-visual-icon {
      width: 34px;
      height: 34px;
      border-radius: 8px;
    }

    .prototype-view[data-view="crm"] .lead-crm-panel-title > span {
      min-width: 0;
      display: grid;
      gap: 1px;
    }

    .prototype-view[data-view="crm"] .lead-crm-panel-title > span > span {
      color: #7159a6;
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .prototype-view[data-view="crm"] .lead-crm-panel-title strong {
      color: #1b2a3d;
      font-size: 16px;
    }

    .prototype-view[data-view="crm"] .lead-crm-document-mode-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 9px 10px;
      border: 1px solid #cfd9e4;
      border-radius: 6px;
      background: #f7f9fb;
      color: #526275;
      font-size: 12px;
      line-height: 1.4;
    }

    .prototype-view[data-view="crm"] .lead-crm-document-mode-bar .btn {
      flex: 0 0 auto;
      min-height: 36px;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-contextual-card,
    .prototype-view[data-view="crm"] .lead-crm-document-card {
      display: grid;
      gap: 10px;
      overflow: hidden;
      padding: 12px;
      border: 1px solid #d7e2ed;
      border-radius: 8px;
      background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    .prototype-view[data-view="crm"] .lead-crm-contextual-lede,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest,
    .prototype-view[data-view="crm"] .lead-crm-action-preview,
    .prototype-view[data-view="crm"] .lead-crm-source-path,
    .prototype-view[data-view="crm"] .lead-crm-ready-targets,
    .prototype-view[data-view="crm"] .lead-crm-gallery,
    .prototype-view[data-view="crm"] .lead-crm-saved-work {
      padding: 10px;
      border: 1px solid #e0e6ec;
      border-radius: 8px;
      background: #f7f9fb;
      box-shadow: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-contextual-lede,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 9px;
      align-items: center;
    }

    .prototype-view[data-view="crm"] .lead-crm-contextual-lede strong,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head strong {
      display: block;
      color: #1b2a3d;
      font-size: 13px;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head > div,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head span {
      min-width: 0;
      display: block;
    }

    .prototype-view[data-view="crm"] .lead-crm-contextual-lede p,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head span,
    .prototype-view[data-view="crm"] .lead-crm-suggest-status,
    .prototype-view[data-view="crm"] .lead-crm-source-path p,
    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy em,
    .prototype-view[data-view="crm"] .lead-crm-saved-work-empty,
    .prototype-view[data-view="crm"] .lead-crm-photo-empty {
      margin: 2px 0 0;
      color: #617083;
      font-size: 11px;
      line-height: 1.35;
    }

    .prototype-view[data-view="crm"] .lead-crm-action-preview,
    .prototype-view[data-view="crm"] textarea.lead-crm-action-preview {
      width: 100%;
      min-height: 96px;
      color: #334a65;
      font: inherit;
      font-size: 12px;
      line-height: 1.45;
      white-space: pre-wrap;
      resize: vertical;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: start;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-controls {
      display: grid;
      grid-template-columns: repeat(3, minmax(64px, auto));
      gap: 5px;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-controls .btn,
    .prototype-view[data-view="crm"] .lead-crm-quote-actions .btn {
      min-height: 34px;
      border-radius: 6px;
      box-shadow: none;
      font-size: 11px;
      overflow-wrap: normal;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-input-wrap {
      display: none;
      grid-column: 1 / -1;
      min-width: 0;
      width: 100%;
      position: relative;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest.is-typing .lead-crm-lono-input-wrap {
      display: grid;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest textarea {
      width: 100%;
      min-height: 76px;
      border: 1px solid #cfd9e4;
      border-radius: 6px;
      padding: 9px 112px 9px 9px;
      font: inherit;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-send {
      position: absolute;
      right: 8px;
      bottom: 8px;
      min-width: 96px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      overflow: hidden;
      border: 1px solid #1769c2;
      border-radius: 6px;
      background: #1769c2;
      padding: 0 11px;
      color: #fff;
      font-size: 11px;
      font-weight: 850;
      line-height: 1;
      white-space: nowrap;
      z-index: 1;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-send-icon {
      display: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-send-loader,
    .prototype-view[data-view="crm"] .lead-crm-lono-thinking-loader {
      display: none;
      width: 24px;
      height: 24px;
      max-width: 24px;
      max-height: 24px;
      flex: 0 0 24px;
      object-fit: contain;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest.is-thinking .lead-crm-lono-send-loader,
    .prototype-view[data-view="crm"] .lead-crm-lono-suggest.is-thinking .lead-crm-lono-thinking-loader {
      display: block;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-thinking {
      display: none;
      grid-column: 1 / -1;
      align-items: center;
      gap: 8px;
      padding: 8px;
      color: #334a65;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest.is-thinking .lead-crm-lono-thinking {
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
    }

    .prototype-view[data-view="crm"] .lead-crm-lono-suggest > .lead-crm-suggest-status {
      grid-column: 1 / -1;
      min-width: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      min-width: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-head strong {
      min-width: 0;
      color: #1b2a3d;
      font-size: 13px;
      line-height: 1.3;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-head span {
      flex: 0 0 auto;
      color: #68778a;
      font-size: 11px;
      line-height: 1.3;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-list {
      display: grid;
      gap: 8px;
      margin-top: 8px;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-item {
      min-width: 0;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      padding-top: 8px;
      border-top: 1px solid #e0e6ec;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-item:first-child {
      padding-top: 0;
      border-top: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy b,
    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy em {
      display: block;
      min-width: 0;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy b {
      color: #1b2a3d;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-copy em {
      margin: 0;
      font-style: normal;
    }

    .prototype-view[data-view="crm"] .lead-crm-saved-work-item .btn {
      min-height: 36px;
      justify-self: end;
      padding: 0 10px;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-photo-upload {
      position: relative;
    }

    .prototype-view[data-view="crm"] .lead-crm-photo-upload input[type="file"] {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      opacity: 0;
      pointer-events: none;
      white-space: nowrap;
    }

    .prototype-view[data-view="crm"] .lead-crm-map-preview {
      overflow: hidden;
      border: 1px solid #d8e0e8;
      border-radius: 8px;
    }

    .prototype-view[data-view="crm"] .lead-crm-map-preview iframe {
      width: 100%;
      height: 220px;
      border: 0;
    }

    .prototype-view[data-view="crm"] .lead-crm-document-card {
      max-height: 560px;
      overflow-y: auto;
    }

    .prototype-view[data-view="crm"] .lead-crm-document-card.is-expanded {
      position: fixed;
      z-index: 1200;
      inset: 18px;
      max-height: calc(100vh - 36px);
      padding: 16px;
      box-shadow: 0 24px 70px rgba(24, 38, 55, .24);
    }

    .prototype-view[data-view="crm"] .lead-crm-document-close {
      display: none;
    }

    .prototype-view[data-view="crm"] .lead-crm-document-card.is-expanded .lead-crm-document-close {
      display: inline-flex;
      justify-self: end;
    }

    .prototype-view[data-view="crm"] .lead-crm-quote-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead,
    .prototype-view[data-view="crm"] .lead-crm-quote-meta,
    .prototype-view[data-view="crm"] .lead-crm-line-layout,
    .prototype-view[data-view="crm"] .lead-crm-approval-email {
      display: grid;
      gap: 10px;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      padding-bottom: 10px;
      border-bottom: 1px solid #e2e7ed;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead-brand {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 6px;
      background: #1769c2;
      color: #fff;
      font-size: 18px;
      font-weight: 900;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead h4 {
      margin: 0;
      color: #1b2a3d;
      font-size: 21px;
    }

    .prototype-view[data-view="crm"] .lead-crm-letterhead small,
    .prototype-view[data-view="crm"] .lead-crm-letterhead-contact {
      color: #617083;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-quote-meta {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .prototype-view[data-view="crm"] .lead-crm-quote-meta > label,
    .prototype-view[data-view="crm"] .lead-crm-quote-meta > div,
    .prototype-view[data-view="crm"] .lead-crm-totals,
    .prototype-view[data-view="crm"] .lead-crm-email-preview,
    .prototype-view[data-view="crm"] .lead-crm-lono-insight {
      padding: 9px;
      border: 1px solid #d8e0e8;
      border-radius: 6px;
      background: #fff;
      color: #526275;
      font-size: 11px;
    }

    .prototype-view[data-view="crm"] .lead-crm-quote-meta input,
    .prototype-view[data-view="crm"] .lead-crm-line-table select,
    .prototype-view[data-view="crm"] .lead-crm-line-table input,
    .prototype-view[data-view="crm"] .lead-crm-totals input {
      width: 100%;
      min-height: 34px;
      border: 1px solid #cfd9e4;
      border-radius: 6px;
      background: #fff;
      padding: 6px 8px;
      font: inherit;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-line-layout {
      grid-template-columns: minmax(0, 1fr) 200px;
      align-items: start;
    }

    .prototype-view[data-view="crm"] .lead-crm-line-table {
      width: 100%;
      border-collapse: collapse;
    }

    .prototype-view[data-view="crm"] .lead-crm-line-table th,
    .prototype-view[data-view="crm"] .lead-crm-line-table td {
      padding: 6px;
      border-bottom: 1px solid #e4e9ef;
      color: #526275;
      font-size: 11px;
      text-align: left;
    }

    .prototype-view[data-view="crm"] .lead-crm-total-row {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      font-size: 12px;
    }

    .prototype-view[data-view="crm"] .lead-crm-total-row.final {
      padding-top: 8px;
      border-top: 1px solid #e2e7ed;
      font-weight: 900;
    }

    .prototype-view[data-view="crm"] .lead-crm-approval-email {
      grid-template-columns: minmax(0, 1fr) 220px;
    }

    .prototype-view[data-view="crm"] .lead-crm-flow-icons {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
    }

    .prototype-view[data-view="crm"] .lead-crm-flow-step {
      display: grid;
      justify-items: center;
      gap: 5px;
      color: #68778a;
      font-size: 11px;
      text-align: center;
    }

    .prototype-view[data-view="crm"] .lead-crm-empty-database {
      min-height: 180px;
      display: grid;
      place-items: center;
      padding: 20px;
      background: #fff;
    }

    .prototype-view[data-view="crm"] .lead-crm-empty-hero {
      width: min(100%, 560px);
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding: 14px;
      border: 1px solid #d8e0e8;
      border-radius: 8px;
      background: #f7f9fb;
    }

    .prototype-view[data-view="crm"] .lead-crm-empty-hero strong {
      color: #1b2a3d;
      font-size: 15px;
    }

    .prototype-view[data-view="crm"] .lead-crm-empty-hero p,
    .prototype-view[data-view="crm"] .lead-crm-empty-detail-copy {
      margin: 3px 0 0;
      color: #617083;
      font-size: 13px;
      line-height: 1.45;
    }

    .prototype-view[data-view="crm"] .lead-crm-empty-profile {
      display: grid;
      gap: 10px;
    }

    @media (max-width: 980px) {
      .prototype-view[data-view="crm"] .lead-crm-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
      }

      .prototype-view[data-view="crm"] .lead-inbox-list {
        grid-template-columns: minmax(0, 1fr);
      }

      .prototype-view[data-view="crm"] .lead-crm-profile-summary,
      .prototype-view[data-view="crm"] .lead-crm-letterhead,
      .prototype-view[data-view="crm"] .lead-crm-line-layout,
      .prototype-view[data-view="crm"] .lead-crm-approval-email {
        grid-template-columns: 1fr;
      }

      .prototype-view[data-view="crm"] .lead-crm-lifecycle {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .prototype-view[data-view="crm"] .lead-crm-life-step::after {
        display: none;
      }
    }

    @media (max-width: 760px) {
      body[data-active-view="crm"] main {
        padding: 8px;
      }

      .prototype-view[data-view="crm"] .lead-crm-page-hero {
        align-items: flex-start;
        padding: 13px 14px;
      }

      .prototype-view[data-view="crm"] .lead-crm-page-hero h1 {
        font-size: 23px;
      }

      .prototype-view[data-view="crm"] .lead-crm-page-hero p {
        font-size: 14px;
      }

      .prototype-view[data-view="crm"] .lead-crm-hero-actions {
        align-items: flex-end;
        flex-direction: column;
      }

      .prototype-view[data-view="crm"] .lead-crm-action-button,
      .prototype-view[data-view="crm"] .lead-crm-hero-chip {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 6px 9px;
      }

      .prototype-view[data-view="crm"] .lead-crm-action-button .lono-visual-icon {
        display: grid;
        width: 24px;
        height: 24px;
        flex-basis: 24px;
      }

      .prototype-view[data-view="crm"] .lead-crm-workspace > .lead-card-body {
        padding: 12px;
      }

      .prototype-view[data-view="crm"] .lead-crm-toolbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 7px;
      }

      .prototype-view[data-view="crm"] .lead-crm-search-wrap,
      .prototype-view[data-view="crm"] .lead-crm-segmented {
        grid-column: 1 / -1;
      }

      .prototype-view[data-view="crm"] .lead-inbox-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
      }

      .prototype-view[data-view="crm"] .lead-crm-profile-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .prototype-view[data-view="crm"] .lead-crm-table-scroll {
        max-height: none;
        overflow-x: hidden;
      }

      .prototype-view[data-view="crm"] .lead-crm-table {
        display: block;
        min-width: 0;
        table-layout: auto;
      }

      .prototype-view[data-view="crm"] .lead-crm-table thead {
        display: none;
      }

      .prototype-view[data-view="crm"] .lead-crm-table tbody {
        display: grid;
        gap: 10px;
        padding: 10px;
        background: #f3f8fc;
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
        border: 1px solid #d8e0e8;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 8px 18px rgba(22, 61, 105, .06);
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row.is-selected {
        border-color: #1769c2;
        box-shadow: inset 4px 0 0 #1769c2;
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row td {
        min-height: 44px;
        display: grid;
        grid-template-columns: minmax(86px, 32%) minmax(0, 1fr);
        gap: 8px;
        align-items: start;
        padding: 8px 10px;
        border-bottom: 1px solid #e4e9ef;
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row td::before {
        content: attr(data-label);
        color: #68778a;
        font-size: 11px;
        font-weight: 850;
        text-transform: uppercase;
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row td:last-child {
        grid-template-columns: minmax(0, 1fr);
        border-bottom: 0;
      }

      .prototype-view[data-view="crm"] .lead-crm-table .lead-crm-row td:last-child::before {
        margin-bottom: 2px;
      }

      .prototype-view[data-view="crm"] .lead-crm-quick-actions {
        grid-template-columns: repeat(5, minmax(44px, 1fr));
        gap: 7px;
        width: 100%;
      }

      .prototype-view[data-view="crm"] .crm-quick-action {
        width: 100%;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
      }

      .prototype-view[data-view="crm"] .crm-quick-action .lono-visual-icon {
        width: 27px;
        height: 27px;
      }

      .prototype-view[data-view="crm"] .lead-crm-person strong {
        font-size: 14px;
      }

      .prototype-view[data-view="crm"] .lead-crm-person span,
      .prototype-view[data-view="crm"] .lead-crm-contact-cell span,
      .prototype-view[data-view="crm"] .lead-crm-activity-cell span {
        font-size: 12px;
      }

      .prototype-view[data-view="crm"] .lead-crm-secondary-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px 0;
      }

      .prototype-view[data-view="crm"] .lead-crm-saved-work-item {
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
      }

      .prototype-view[data-view="crm"] .lead-crm-saved-work-item .btn {
        grid-column: 2;
        min-height: 44px;
        justify-self: start;
      }

      .prototype-view[data-view="crm"] .lead-crm-detail-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .prototype-view[data-view="crm"] .lead-crm-detail-actions .btn {
        width: 100%;
        padding: 0 6px;
      }

      .prototype-view[data-view="crm"] .lead-crm-action-panel {
        padding: 12px;
      }

      .prototype-view[data-view="crm"] .lead-crm-panel-title {
        margin: -12px -12px 12px;
        padding: 12px;
      }

      .prototype-view[data-view="crm"] .lead-crm-life-step::after {
        display: none;
      }

      .prototype-view[data-view="crm"] .lead-status-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .prototype-view[data-view="crm"] .lead-status-controls select {
        grid-column: 1 / -1;
        width: 100%;
      }

      .prototype-view[data-view="crm"] .lead-crm-quote-actions,
      .prototype-view[data-view="crm"] .lead-crm-quote-meta,
      .prototype-view[data-view="crm"] .lead-crm-reason-grid {
        grid-template-columns: 1fr;
      }

      .prototype-view[data-view="crm"] .lead-crm-document-mode-bar {
        align-items: stretch;
        flex-direction: column;
      }

      .prototype-view[data-view="crm"] .lead-crm-document-mode-bar .btn {
        width: 100%;
        min-height: 44px;
      }
    }
    .lead-plan-banner {
      border: 1px solid #c7d6e4;
      border-radius: 8px;
      background: #eef5fb;
      padding: 10px 12px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .segmented {
      display: inline-grid;
      grid-template-columns: repeat(3, 1fr);
      border: 1px solid var(--line);
      border-radius: 6px;
      overflow: hidden;
      min-width: 300px;
      background: #f8fafc;
    }

    .segmented button {
      border: 0;
      border-right: 1px solid var(--line);
      background: transparent;
      padding: 8px 10px;
      cursor: pointer;
      font: inherit;
      font-size: 12px;
      color: var(--muted);
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .segmented button:last-child { border-right: 0; }
    .segmented button:hover {
      background: rgba(31,111,183,.08);
      color: var(--ink);
    }
    .segmented button:active { transform: scale(.985); }
    .segmented button.active {
      background: #243240;
      color: #fff;
      animation: state-settle var(--motion-base) var(--ease-spring) both;
    }

    .platform-filter-row {
      padding: 0 16px 12px;
      display: grid;
      gap: 8px;
      border-bottom: 1px solid var(--line);
    }

    .platform-filter-row span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .platform-segmented {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .platform-segmented button,
    .platform-toggle {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--ink);
      border-radius: 999px;
      min-height: 28px;
      padding: 5px 9px;
      font: inherit;
      font-size: 12px;
      cursor: pointer;
      transition: border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .platform-segmented button.active,
    .platform-toggle input:checked + span {
      color: var(--blue);
      font-weight: 800;
    }

    .platform-segmented button:hover,
    .platform-toggle:hover {
      border-color: rgba(31,111,183,.35);
      box-shadow: 0 8px 18px rgba(16,24,40,.07);
      transform: translateY(-1px);
    }

    .platform-segmented button:active,
    .platform-toggle:active {
      transform: translateY(0) scale(.985);
    }

    .platform-segmented button.active {
      animation: state-settle var(--motion-base) var(--ease-spring) both;
    }

    .platform-toggle {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
    }

    .platform-toggle input {
      width: 13px;
      height: 13px;
      margin: 0;
      accent-color: var(--blue);
    }

    .target-platforms small {
      flex-basis: 100%;
      color: var(--muted);
      font-size: 10px;
      text-align: right;
    }

    .source-status-dot {
      display: inline-block;
      width: 8px;
      aspect-ratio: 1;
      border-radius: 50%;
      margin-right: 5px;
      background: #9aa7b5;
      box-shadow: 0 0 0 2px rgba(154,167,181,.15);
      vertical-align: middle;
      transition: background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .source-status-dot.live,
    .source-status-dot.connected {
      background: var(--green);
      box-shadow: 0 0 0 2px rgba(31,122,85,.16);
    }

    .source-status-dot.limited,
    .source-status-dot.asset-connected,
    .source-status-dot.destination {
      background: var(--gold);
      box-shadow: 0 0 0 2px rgba(178,122,24,.16);
    }

    .source-status-dot.planned,
    .source-status-dot.blocked {
      background: var(--red);
      box-shadow: 0 0 0 2px rgba(183,53,53,.13);
    }

    .candidate-list {
      display: grid;
      gap: 10px;
      padding: 12px;
      max-height: 642px;
      overflow: auto;
    }

    .candidate {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 12px;
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 10px;
      cursor: pointer;
      background: #fff;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .candidate.active {
      border-color: var(--blue);
      box-shadow: 0 0 0 2px rgba(31,111,183,.12);
      animation: state-settle var(--motion-base) var(--ease-spring) both;
    }

    .candidate:hover {
      border-color: #bccbd9;
      box-shadow: 0 10px 22px rgba(20,31,43,.07);
      transform: translateY(-1px);
    }

    .candidate:active {
      transform: translateY(0) scale(.997);
    }

    .candidate-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: start;
    }

    .candidate-thumb {
      aspect-ratio: 1;
      border: 1px solid var(--line);
      border-radius: 6px;
      overflow: hidden;
      background: #eef2f5;
      position: relative;
      display: grid;
      place-items: center;
      min-width: 0;
    }

    .candidate-thumb img,
    .candidate-thumb video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .candidate-thumb .mock-visual {
      padding: 10px;
      gap: 6px;
    }

    .candidate-thumb .mock-visual strong {
      font-size: 13px;
      line-height: 1.15;
    }

    .candidate-thumb .mock-visual span {
      font-size: 10px;
    }

    .candidate-thumb.video::after {
      content: "";
      position: absolute;
      right: 7px;
      bottom: 7px;
      width: 24px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: rgba(21,32,43,.78);
    }

    .candidate-thumb.video::before {
      content: "";
      position: absolute;
      right: 14px;
      bottom: 13px;
      z-index: 1;
      width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-left: 9px solid #fff;
    }

    .candidate-body {
      min-width: 0;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .candidate h3 {
      margin: 0;
      font-size: 14px;
      line-height: 1.35;
    }

    .score {
      min-width: 46px;
      text-align: center;
      border-radius: 6px;
      padding: 6px 7px;
      font-weight: 700;
      color: #fff;
      background: var(--blue);
      font-size: 13px;
    }

    .tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .tag {
      border-radius: 999px;
      padding: 4px 8px;
      font-size: 11px;
      color: #22313f;
      background: #edf0f3;
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium);
    }

    .tag:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(20,28,38,.06);
    }

    .scrape-date-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      width: fit-content;
      max-width: 100%;
      border: 1px solid #cfd8e3;
      border-radius: 999px;
      background: #f7f9fb;
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      line-height: 1.2;
      padding: 4px 8px;
      white-space: normal;
    }

    .scrape-date-chip b {
      color: var(--ink);
      font-weight: 800;
    }

    .tag.repost { background: var(--soft-blue); color: var(--blue); }
    .tag.discovery { background: var(--soft-green); color: var(--green); }
    .tag.video { background: var(--soft-gold); color: #7c5611; }
    .tag.risk { background: var(--soft-red); color: var(--red); }

    .preview {
      display: grid;
      gap: 12px;
      padding: 16px;
    }

    .post-preview {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      overflow: hidden;
    }

    .post-head {
      display: grid;
      grid-template-columns: 36px 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border-bottom: 1px solid var(--line);
    }

    .avatar {
      width: 36px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #263443;
      color: #e5b85e;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 800;
    }

    .post-image {
      aspect-ratio: 1;
      background: #f0f3f7;
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
    }

    .post-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .mock-visual {
      width: 100%;
      height: 100%;
      padding: 48px;
      display: grid;
      align-content: center;
      gap: 18px;
      text-align: center;
      background:
        linear-gradient(135deg, rgba(31,111,183,.14), transparent 42%),
        linear-gradient(315deg, rgba(178,122,24,.18), transparent 38%),
        #fbfaf5;
    }

    .mock-visual strong {
      font-size: 38px;
      line-height: 1.08;
    }

    .mock-visual span {
      font-size: 15px;
      color: var(--muted);
    }

    .caption {
      padding: 14px;
      font-size: 14px;
      line-height: 1.5;
    }

    .approval {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .posting-panel {
      border: 1px solid var(--line);
      border-left: 5px solid var(--gold);
      border-radius: 8px;
      padding: 12px;
      display: grid;
      gap: 10px;
      background: #fffdf6;
    }

    .posting-panel .approval {
      grid-template-columns: repeat(3, 1fr);
    }

    .caption-options {
      display: grid;
      gap: 8px;
    }

    .caption-option {
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 10px;
      background: #fff;
      cursor: pointer;
      text-align: left;
      font: inherit;
      display: grid;
      gap: 6px;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .caption-option:hover,
    .caption-option:focus-visible {
      border-color: #b7c9da;
      box-shadow: 0 8px 18px rgba(20,31,43,.07);
      transform: translateY(-1px);
    }

    .caption-option-grid {
      display: grid;
      grid-template-columns: minmax(176px, 190px) minmax(0, 1fr);
      gap: 14px;
      align-items: start;
    }

    .caption-score-bars {
      display: grid;
      gap: 6px;
      width: 100%;
      min-width: 0;
    }

    .caption-score-row {
      display: grid;
      grid-template-columns: 66px 34px minmax(54px, 1fr);
      gap: 6px;
      align-items: center;
    }

    .caption-score-row span {
      font-size: 10px;
      color: var(--muted);
      margin: 0;
    }

    .caption-score-track {
      height: 8px;
      border-radius: 999px;
      background: #e6ebf1;
      overflow: hidden;
    }

    .caption-score-track i {
      display: block;
      height: 100%;
      border-radius: inherit;
    }

    .caption-score-track.engagement i { background: var(--blue); }
    .caption-score-track.hashtag i { background: var(--green); }
    .caption-score-track.freshness i { background: var(--gold); }

    .caption-score-value {
      font-size: 11px;
      font-weight: 800;
      color: var(--ink);
      text-align: center;
      border-radius: 999px;
      padding: 2px 4px;
      border: 1px solid transparent;
      background: #eef2f5;
    }

    .caption-score-value.low {
      color: var(--red);
      background: var(--soft-red);
      border-color: #f5c7c7;
    }

    .caption-score-value.mid {
      color: #7c5611;
      background: var(--soft-gold);
      border-color: #ead99f;
    }

    .caption-score-value.high {
      color: var(--green);
      background: var(--soft-green);
      border-color: rgba(31,122,85,.28);
    }

    .caption-score-value.elite {
      color: #6f4a00;
      background: #ffe29a;
      border-color: #d9a821;
    }

    .caption-score-value.na {
      color: #111820;
      background: #eef0f2;
      border-color: #c7ced6;
    }

    .btn.caption-selected {
      background: #ffe29a;
      color: #6f4a00;
      border-color: #d9a821;
      font-weight: 800;
      box-shadow: 0 0 0 2px rgba(217,168,33,.16);
    }

    .btn.caption-selected::before,
    .btn.caption-selected.is-used::before {
      content: "SET ";
    }

    .caption-option-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 4px;
    }

    .caption-option-foot span {
      font-size: 11px;
      color: var(--muted);
    }

    .caption-option.active {
      border-color: var(--blue);
      box-shadow: 0 0 0 2px rgba(31,111,183,.14);
      animation: state-settle var(--motion-slow) var(--ease-premium);
    }

    .caption-option strong {
      font-size: 13px;
    }

    .caption-option p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .caption-editor {
      width: 100%;
      min-height: 132px;
      resize: vertical;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 9px;
      background: #fbfcfd;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .caption-editor:focus {
      outline: 2px solid rgba(31,111,183,.22);
      border-color: var(--blue);
      background: #fff;
    }

    .caption-edit-note {
      font-size: 11px;
      color: var(--blue);
      font-weight: 700;
    }

    .caption-generation-note {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: var(--muted);
      font-size: 11px;
      border: 1px dashed var(--line);
      border-radius: 7px;
      padding: 7px 8px;
      background: #fbfcfd;
    }

    .caption-generation-note .btn {
      min-height: 28px;
      padding: 4px 8px;
      font-size: 11px;
    }

    .candidate-actions {
      margin-top: 8px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .candidate-caption-slate {
      grid-column: 1 / -1;
      border-top: 1px solid var(--line);
      padding-top: 10px;
      display: grid;
      gap: 8px;
    }

    .mini-caption-row {
      display: grid;
      grid-template-columns: minmax(176px, 190px) minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 8px;
      background: #fbfcfd;
    }

    .mini-caption-row p {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      line-height: 1.35;
      max-height: 48px;
      overflow: hidden;
      overflow-wrap: anywhere;
    }

    .pipeline-list {
      display: grid;
      gap: 10px;
      padding: 12px;
    }

    .pipeline-item {
      display: grid;
      grid-template-columns: 74px minmax(320px, 1fr) minmax(260px, 400px);
      gap: 10px;
      align-items: start;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      background: #fff;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .pipeline-item:hover {
      border-color: #bccbd9;
      box-shadow: 0 8px 18px rgba(20,31,43,.06);
      transform: translateY(-1px);
    }

    .pipeline-state {
      display: grid;
      gap: 4px;
      justify-items: end;
      width: 100%;
      min-width: 0;
    }

    .pipeline-state small {
      color: var(--muted);
      font-size: 11px;
      white-space: nowrap;
    }

    .pipeline-state small.publish-error {
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      text-align: right;
      line-height: 1.35;
    }

    .pipeline-state small.publish-preflight {
      max-width: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
      text-align: right;
      line-height: 1.35;
      color: var(--ink);
    }

    .pipeline-state small.publish-preflight.ready {
      color: var(--green);
    }

    .pipeline-state small.publish-preflight.blocked {
      color: var(--red);
    }

    .pipeline-state .btn {
      min-height: 30px;
      padding: 5px 8px;
      font-size: 12px;
      white-space: nowrap;
    }

    .target-platforms {
      display: flex;
      justify-content: flex-end;
      gap: 5px;
      flex-wrap: wrap;
      max-width: 260px;
    }

    .schedule-status {
      color: var(--blue) !important;
      font-weight: 700;
    }

    .go-live-line {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      flex-wrap: wrap;
    }

    .dialog-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 32, .48);
      z-index: 50;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      opacity: 0;
      transition: opacity var(--motion-base) var(--ease-premium);
    }

    .dialog-backdrop.open {
      display: flex;
      opacity: 1;
    }

    .schedule-dialog {
      width: min(620px, 100%);
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      transform: translateY(8px) scale(.99);
      transition: transform var(--motion-slow) var(--ease-spring);
    }

    .dialog-backdrop.open .schedule-dialog {
      transform: translateY(0) scale(1);
    }

    .dialog-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 16px;
      border-bottom: 1px solid var(--line);
      background: #f8fafc;
    }

    .dialog-head h2 {
      margin: 0 0 4px;
      font-size: 18px;
    }

    .dialog-body {
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .quick-time-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .quick-time-grid .btn {
      min-height: 48px;
      display: grid;
      justify-items: center;
      gap: 2px;
      font-size: 12px;
    }

    .quick-time-grid .btn strong {
      font-size: 15px;
    }

    .time-entry-row {
      display: grid;
      grid-template-columns: minmax(120px, 1fr) 96px;
      gap: 8px;
    }

    .time-entry-row input,
    .time-entry-row select,
    .notification-form input,
    .notification-form select,
    .notification-form textarea,
    .service-card input,
    .service-card textarea {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      font: inherit;
      background: #fff;
    }

    .notification-form textarea {
      min-height: 78px;
      resize: vertical;
    }

    .schedule-target-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .dialog-actions,
    .notification-form {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex-wrap: wrap;
    }

    .notification-form {
      justify-content: space-between;
      padding: 12px;
    }

    .notification-form label {
      flex: 1 1 260px;
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
    }

    .notification-form .platform-toggle {
      flex: 0 0 auto;
    }

    .service-vault-note {
      margin: 0;
      padding: 0 12px 12px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .service-setup-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      padding: 12px;
    }

    .service-card {
      border: 1px solid #c5d2df;
      border-top: 4px solid #6e8192;
      border-radius: 8px;
      background: linear-gradient(180deg, #f1f5f8 0%, #e8eef3 100%);
      padding: 0;
      display: grid;
      overflow: hidden;
      box-shadow: 0 8px 18px rgba(22,35,48,.08);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .service-card:hover {
      border-color: #9fb2c4;
      box-shadow: 0 12px 24px rgba(22,35,48,.12);
      transform: translateY(-1px);
    }

    .service-card.is-open {
      border-color: #7aa8d3;
      border-top-color: var(--blue);
      background: #fff;
      box-shadow: 0 14px 30px rgba(22,35,48,.14);
    }

    .service-card-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: flex-start;
      gap: 10px;
      border: 0;
      padding: 14px 14px 12px;
      cursor: pointer;
      text-align: left;
      color: inherit;
      background: transparent;
      font: inherit;
      width: 100%;
      transition: background var(--motion-base) var(--ease-premium);
    }

    .service-card-head:hover {
      background: rgba(255,255,255,.42);
    }

    .service-card.is-open .service-card-head {
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
    }

    .service-card-head strong {
      display: block;
      font-size: 15px;
      line-height: 1.25;
    }

    .service-card-head span,
    .field-group-title,
    .service-card label span {
      color: var(--muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .06em;
      font-weight: 800;
    }

    .service-card-head .tag {
      align-self: center;
      justify-self: end;
      background: rgba(255,255,255,.74);
    }

    .service-toggle-icon {
      width: 30px;
      aspect-ratio: 1;
      border-radius: 6px;
      display: grid;
      place-items: center;
      background: #223240;
      color: #fff;
      font-weight: 900;
      line-height: 1;
      transform: rotate(0deg);
      transition: transform var(--motion-base) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .service-card.is-open .service-toggle-icon {
      background: var(--blue);
      transform: rotate(45deg);
    }

    .service-card p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .service-card-body {
      display: grid;
      gap: 10px;
      padding: 0 14px 14px;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      transition: max-height var(--motion-slow) var(--ease-premium), opacity var(--motion-base) var(--ease-premium), padding var(--motion-base) var(--ease-premium);
    }

    .service-card.is-open .service-card-body {
      max-height: 900px;
      opacity: 1;
      pointer-events: auto;
      padding-top: 12px;
    }

    .service-field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .service-card label {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .service-card textarea {
      min-height: 64px;
      resize: vertical;
    }

    .secret-field {
      position: relative;
    }

    .secret-field input {
      padding-right: 74px;
    }

    .secret-state {
      position: absolute;
      right: 8px;
      bottom: 9px;
      font-size: 11px;
      color: var(--muted);
      pointer-events: none;
    }

    .service-card .clear-secret {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      margin-top: -2px;
    }

    .service-card .clear-secret input {
      width: auto;
      padding: 0;
    }

    .service-vault-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      padding: 0 12px 12px;
    }

    .brand-dialog-preview {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fbfcfd;
      min-height: 120px;
      display: grid;
      grid-template-columns: 90px minmax(0, 1fr);
      align-items: center;
      gap: 16px;
      padding: 18px;
    }

    .brand-preview-mark {
      width: 82px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border: 2px solid var(--gold);
      border-radius: 10px;
      color: var(--gold);
      font-weight: 900;
      background: #202a35;
      overflow: hidden;
    }

    .brand-preview-mark.has-logo {
      background: #fff;
    }

    .brand-preview-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #fff;
      padding: 4px;
    }

    .brand-form {
      display: grid;
      gap: 12px;
    }

    .brand-form label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
    }

    .brand-form input {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      font: inherit;
      background: #fff;
      min-width: 0;
    }

    .live-status {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 4px 7px;
      background: #fbfcfd;
      color: var(--muted);
      font-size: 11px;
      line-height: 1;
      white-space: nowrap;
    }

    .live-status::before {
      content: "";
      width: 7px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #9aa7b5;
    }

    .live-status.ready::before {
      background: var(--blue);
    }

    .live-status.publishing::before {
      background: var(--gold);
      box-shadow: 0 0 0 4px rgba(178,122,24,.15);
      animation: publish-status-pulse 900ms ease-in-out infinite;
    }

    .live-status.published::before {
      background: var(--green);
      animation: publish-status-success 420ms var(--ease-spring) both;
    }

    .live-status.failed::before {
      background: var(--red);
      animation: publish-status-fail 260ms ease-in-out both;
    }

    .go-live-button {
      position: relative;
      overflow: hidden;
    }

    .go-live-button.is-publishing {
      pointer-events: none;
      color: #fff;
      background: linear-gradient(90deg, #1f6fb7, #2e83ca, #1f6fb7);
      background-size: 180% 100%;
      animation: publish-button-busy 900ms ease-in-out infinite;
    }

    .go-live-button.is-publishing::after {
      content: "";
      width: 12px;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,.45);
      border-top-color: #fff;
      animation: publish-spinner 700ms linear infinite;
      margin-left: 8px;
    }

    .go-live-button.is-success {
      animation: publish-button-success 420ms var(--ease-spring) both;
    }

    .go-live-button.is-failed {
      animation: publish-button-fail 260ms ease-in-out both;
    }

    @keyframes publish-button-busy {
      0%, 100% { background-position: 0% 50%; box-shadow: 0 0 0 0 rgba(31,111,183,.18); }
      50% { background-position: 100% 50%; box-shadow: 0 0 0 5px rgba(31,111,183,.08); }
    }

    @keyframes publish-spinner {
      to { transform: rotate(360deg); }
    }

    @keyframes publish-button-success {
      0% { transform: scale(.98); box-shadow: 0 0 0 0 rgba(30,130,87,.24); }
      55% { transform: scale(1.025); box-shadow: 0 0 0 7px rgba(30,130,87,.1); }
      100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30,130,87,0); }
    }

    @keyframes publish-button-fail {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-2px); }
      70% { transform: translateX(2px); }
    }

    @keyframes publish-status-pulse {
      0%, 100% { box-shadow: 0 0 0 3px rgba(178,122,24,.12); transform: scale(1); }
      50% { box-shadow: 0 0 0 6px rgba(178,122,24,.05); transform: scale(1.08); }
    }

    @keyframes publish-status-success {
      0% { transform: scale(.72); }
      65% { transform: scale(1.25); }
      100% { transform: scale(1); }
    }

    @keyframes publish-status-fail {
      0%, 100% { transform: translateX(0); }
      35% { transform: translateX(-1px); }
      70% { transform: translateX(1px); }
    }

    .publish-error {
      color: var(--red);
      background: var(--soft-red);
      border: 1px solid #f3c0c0;
      border-radius: 6px;
      padding: 5px 7px;
      max-width: 220px;
      white-space: normal;
      text-align: right;
    }

    .pipeline-thumb {
      aspect-ratio: 1;
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid var(--line);
      background: #edf1f5;
      display: grid;
      place-items: center;
    }

    .pipeline-thumb img,
    .pipeline-thumb video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .pipeline-copy {
      min-width: 0;
      display: grid;
      gap: 4px;
    }

    .pipeline-copy strong {
      font-size: 14px;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .pipeline-copy p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      max-height: 34px;
      overflow: hidden;
      overflow-wrap: anywhere;
    }

    .pipeline-copy .caption-editor {
      min-height: 104px;
    }

    .history-grid {
      display: grid;
      grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
      gap: 16px;
      align-items: start;
    }

    .review-command-grid {
      margin: 18px 0;
    }

    .leaderboard-list,
    .history-list,
    .mini-chart-list {
      display: grid;
      gap: 8px;
      padding: 12px;
    }

    .leaderboard-row,
    .history-row {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      display: grid;
      gap: 6px;
      background: #fff;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .leaderboard-row:hover,
    .history-row:hover {
      border-color: #bccbd9;
      box-shadow: 0 8px 18px rgba(20,31,43,.06);
      transform: translateY(-1px);
    }

    .leaderboard-row {
      grid-template-columns: 28px minmax(0, 1fr) auto;
      align-items: center;
    }

    .leaderboard-rank {
      width: 28px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: var(--soft-gold);
      color: #7a520f;
      font-weight: 900;
      font-size: 12px;
    }

    .history-row-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .history-metrics {
      display: grid;
      grid-template-columns: repeat(5, minmax(70px, 1fr));
      gap: 6px;
    }

    .history-metrics span {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 6px;
      font-size: 11px;
      color: var(--muted);
      background: #fbfcfd;
    }

    .history-metrics strong {
      display: block;
      color: var(--ink);
      font-size: 15px;
    }

    .mini-chart-row {
      display: grid;
      grid-template-columns: 110px minmax(0, 1fr) 44px;
      gap: 8px;
      align-items: center;
      font-size: 12px;
      color: var(--muted);
    }

    .mini-chart-track {
      height: 10px;
      background: #e7edf3;
      border-radius: 999px;
      overflow: hidden;
    }

    .mini-chart-track i {
      display: block;
      height: 100%;
      width: 0;
      border-radius: inherit;
      background: var(--blue);
      transition: width var(--motion-slow) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .mini-chart-track i.green { background: var(--green); }
    .mini-chart-track i.gold { background: var(--gold); }
    .mini-chart-track i.violet { background: var(--violet); }
    .mini-chart-track i.red { background: var(--red); }

    .btn {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--ink);
      border-radius: 6px;
      min-height: 38px;
      padding: 8px 10px;
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      will-change: transform;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), opacity var(--motion-base) var(--ease-premium);
    }

    .btn:hover {
      border-color: #9fb1c2;
      box-shadow: 0 6px 14px rgba(20,28,38,.08);
      transform: translateY(-1px);
    }

    .btn:disabled {
      opacity: .46;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }

    .btn:active,
    .btn.is-pressed {
      transform: translateY(1px) scale(.985);
      box-shadow: inset 0 1px 2px rgba(20,28,38,.16);
    }

    .btn.feedback-pulse:not(:disabled) {
      border-color: #77a8d3;
    }

    .btn.is-used {
      border-color: var(--green);
      background: var(--soft-green);
      color: var(--green);
      font-weight: 700;
      animation: state-settle var(--motion-slow) var(--ease-premium);
    }

    .btn.primary.is-used,
    .btn.good.is-used {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .btn.is-used::before {
      content: "OK ";
    }

    @keyframes state-settle {
      from { transform: translateY(1px) scale(.985); }
      to { transform: translateY(0) scale(1); }
    }

    .btn.primary {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
    }

    .btn.good {
      background: var(--green);
      color: #fff;
      border-color: var(--green);
    }

    .btn.warn {
      background: var(--soft-red);
      color: var(--red);
      border-color: #f5c7c7;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .detail {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      min-height: 72px;
      background: #fbfcfd;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .detail:hover {
      border-color: #bccbd9;
      background: #fff;
      transform: translateY(-1px);
    }

    .detail span {
      display: block;
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .detail strong {
      font-size: 13px;
      line-height: 1.35;
    }

    .blocker-list {
      display: grid;
      gap: 8px;
      padding: 12px;
      border-top: 1px solid var(--line);
      background: #fbfcfd;
    }

    .blocker-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      padding: 9px 10px;
      color: var(--muted);
      font-size: 12px;
    }

    .blocker-item strong {
      color: var(--ink);
    }

    .blocker-item.ready {
      border-color: rgba(31,122,85,.25);
      background: var(--soft-green);
    }

    .toast {
      position: fixed;
      right: 22px;
      bottom: 22px;
      background: #1f2b38;
      color: #fff;
      padding: 12px 14px;
      border-radius: 6px;
      box-shadow: 0 12px 30px rgba(0,0,0,.2);
      transform: translateY(90px);
      opacity: 0;
      transition: transform var(--motion-base) var(--ease-spring), opacity var(--motion-base) var(--ease-premium);
      font-size: 13px;
      max-width: min(360px, calc(100vw - 44px));
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(12, 18, 26, .38);
      opacity: 0;
      pointer-events: none;
      transition: .16s ease;
      z-index: 20;
    }

    .drawer-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: min(520px, 100vw);
      height: 100vh;
      background: #fff;
      border-left: 1px solid var(--line);
      box-shadow: -18px 0 40px rgba(12, 18, 26, .16);
      transform: translateX(105%);
      transition: .18s ease;
      z-index: 21;
      display: grid;
      grid-template-rows: auto 1fr;
    }

    .drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      padding: 18px;
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
    }

    .drawer-head h2 {
      margin: 0;
      font-size: 18px;
    }

    .icon-btn {
      width: 34px;
      aspect-ratio: 1;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
      font: inherit;
      color: var(--ink);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .icon-btn:hover {
      border-color: #9fb1c2;
      box-shadow: 0 6px 14px rgba(20,28,38,.08);
      transform: translateY(-1px);
    }

    .icon-btn:active,
    .icon-btn.is-pressed {
      transform: translateY(1px) scale(.985);
    }

    .builder-form {
      padding: 18px;
      display: grid;
      gap: 14px;
      align-content: start;
      overflow: auto;
    }

    .builder-form label {
      display: grid;
      gap: 6px;
    }

    .builder-form label span {
      font-size: 12px;
      color: var(--muted);
      font-weight: 700;
    }

    input,
    select,
    textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px 11px;
      font: inherit;
      color: var(--ink);
      background: #fff;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: 0;
      border-color: #7aa8d3;
      box-shadow: 0 0 0 3px rgba(31,111,183,.12);
      background: #fff;
    }

    textarea {
      resize: vertical;
      line-height: 1.45;
    }

    .drawer-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 4px;
    }

    .prototype-view {
      display: none;
      gap: 16px;
      align-content: start;
    }

    .prototype-view.active {
      display: grid;
      animation: view-enter var(--motion-slow) var(--ease-premium) both;
    }

    html[data-initial-active-view]:not([data-initial-active-view="lead-suite"]) .prototype-view.active[data-view="lead-suite"] {
      display: none;
      animation: none;
    }

    html[data-initial-active-view="content"] .prototype-view[data-view="content"],
    html[data-initial-active-view="calendar"] .prototype-view[data-view="calendar"],
    html[data-initial-active-view="analytics"] .prototype-view[data-view="analytics"],
    html[data-initial-active-view="history"] .prototype-view[data-view="history"],
    html[data-initial-active-view="crm"] .prototype-view[data-view="crm"],
    html[data-initial-active-view="lead-generators"] .prototype-view[data-view="lead-generators"],
    html[data-initial-active-view="settings"] .prototype-view[data-view="settings"] {
      display: grid;
      animation: none;
    }

    .prototype-view[data-view="lead-suite"],
    .prototype-view[data-view="crm"],
    .prototype-view[data-view="content"],
    .prototype-view[data-view="analytics"] {
      border-radius: 28px;
      padding: 12px;
      background:
        radial-gradient(circle at 7% 3%, rgba(35,191,209,.18), transparent 28%),
        radial-gradient(circle at 96% 16%, rgba(99,91,255,.18), transparent 32%),
        linear-gradient(135deg, rgba(232,251,255,.8), rgba(244,241,255,.76) 52%, rgba(234,250,247,.72));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
    }

    .motion-reveal {
      opacity: 0;
      transform: translateY(8px);
    }

    .motion-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
      transition: opacity var(--motion-slow) var(--ease-premium), transform var(--motion-slow) var(--ease-premium);
    }

    @keyframes view-enter {
      from { opacity: .72; transform: translateY(5px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .workspace-grid,
    .analytics-grid {
      display: grid;
      grid-template-columns: minmax(420px, 1fr) minmax(320px, .72fr);
      gap: 16px;
      align-items: start;
    }

    .table-wrap {
      overflow: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    th,
    td {
      text-align: left;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      vertical-align: top;
    }

    th {
      color: var(--muted);
      font-size: 11px;
      text-transform: uppercase;
      background: #f8fafc;
    }

    td span {
      color: var(--muted);
      font-size: 12px;
    }

    .stack {
      display: grid;
      gap: 10px;
      padding: 12px;
    }

    .workflow-card,
    .asset-card,
    .day-card {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 12px;
      background: #fff;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .workflow-card:hover,
    .asset-card:hover,
    .day-card:hover {
      border-color: #bccbd9;
      box-shadow: 0 8px 18px rgba(20,31,43,.06);
      transform: translateY(-1px);
    }

    .workflow-card strong,
    .asset-card strong,
    .day-card strong {
      display: block;
      font-size: 14px;
      margin-bottom: 5px;
    }

    .workflow-card span,
    .asset-card span,
    .day-card span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .asset-card p,
    .day-card p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .asset-grid,
    .calendar-grid,
    .settings-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      padding: 12px;
    }

    .publishing-command-grid {
      margin-bottom: 14px;
    }

    .publishing-command-card {
      position: relative;
      overflow: hidden;
    }

    .settings-command-grid {
      margin-bottom: 14px;
    }

    .account-settings-shell {
      width: 100%;
      max-width: 1120px;
      box-sizing: border-box;
      margin: 0 auto;
      padding: 24px clamp(14px, 3vw, 32px) 40px;
    }

    .account-settings-shell *,
    .account-settings-shell *::before,
    .account-settings-shell *::after {
      box-sizing: border-box;
    }

    .account-settings-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      padding-bottom: 18px;
      border-bottom: 1px solid #dbe4ee;
    }

    .account-settings-header h1,
    .account-settings-section-head h2 {
      margin: 0;
      color: #1f2a3d;
      letter-spacing: 0;
    }

    .account-settings-header p,
    .account-settings-section-head p {
      max-width: 680px;
      margin: 6px 0 0;
      color: #657383;
      line-height: 1.5;
    }

    .account-settings-progress {
      min-width: 180px;
      display: grid;
      gap: 7px;
      color: #506074;
      font-size: 12px;
      font-weight: 800;
    }

    .account-settings-progress em {
      height: 7px;
      overflow: hidden;
      border-radius: 999px;
      background: #e8eef5;
    }

    .account-settings-progress i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: #18794e;
    }

    .account-settings-tabs {
      display: flex;
      gap: 4px;
      margin: 18px 0 0;
      padding-bottom: 0;
      overflow-x: auto;
      border-bottom: 1px solid #dbe4ee;
    }

    .account-settings-tabs button {
      flex: 0 0 auto;
      min-height: 44px;
      border: 0;
      border-bottom: 3px solid transparent;
      padding: 10px 14px;
      background: transparent;
      color: #5d6a79;
      font: inherit;
      font-size: 13px;
      font-weight: 850;
      cursor: pointer;
    }

    .account-settings-tabs button[aria-selected="true"] {
      border-bottom-color: #1f6fb7;
      color: #174d7d;
    }

    .account-settings-panel {
      padding: 24px 0 0;
    }

    .account-settings-panel[hidden] {
      display: none;
    }

    .account-settings-section-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 20px;
    }

    .account-settings-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .account-settings-grid > label,
    .account-settings-block {
      min-width: 0;
    }

    .account-settings-grid > label,
    .account-settings-grid fieldset label {
      display: grid;
      align-content: start;
      gap: 7px;
      color: #27364a;
      font-size: 14px;
      font-weight: 800;
    }

    .account-settings-grid input:not([type="checkbox"]):not([type="radio"]),
    .account-settings-grid select,
    .account-settings-grid textarea {
      width: 100%;
      min-height: 44px;
      border: 1px solid #cbd6e2;
      border-radius: 6px;
      background: #fff;
      color: #233247;
      padding: 10px 12px;
      font: inherit;
      font-size: 14px;
    }

    .account-settings-grid textarea {
      min-height: 88px;
      resize: vertical;
    }

    .account-settings-grid input:focus,
    .account-settings-grid select:focus,
    .account-settings-grid textarea:focus,
    .account-settings-tabs button:focus-visible {
      border-color: #1f6fb7;
      outline: 3px solid rgba(31, 111, 183, .18);
      outline-offset: 1px;
    }

    .account-settings-grid label > small,
    .account-service-area > p {
      margin: 0;
      color: #657383;
      font-size: 12px;
      font-weight: 500;
      line-height: 1.45;
    }

    .account-settings-span {
      grid-column: 1 / -1;
    }

    .account-service-area {
      min-width: 0;
      margin: 4px 0;
      padding: 18px 0 0;
      border: 0;
      border-top: 1px solid #dbe4ee;
    }

    .account-service-area legend {
      padding: 0;
      color: #27364a;
      font-size: 16px;
      font-weight: 900;
    }

    .account-service-area > p {
      margin: 4px 0 14px;
    }

    .account-input-suffix {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      overflow: hidden;
      border: 1px solid #cbd6e2;
      border-radius: 6px;
      background: #fff;
    }

    .account-input-suffix input {
      border: 0 !important;
      border-radius: 0 !important;
    }

    .account-input-suffix > span {
      padding: 0 12px;
      color: #657383;
      font-size: 13px;
      font-weight: 700;
    }

    .account-field-error {
      margin: 10px 0 0;
      color: #b42318;
      font-size: 13px;
      font-weight: 750;
    }

    .account-settings-grid .lead-profile-check-grid {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding: 0;
    }

    .account-settings-grid .lead-profile-check-grid label {
      min-height: 44px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid #dbe4ee;
      border-radius: 6px;
      background: #fff;
      font-size: 13px;
      font-weight: 700;
    }

    .account-settings-grid .lead-profile-check-grid input {
      width: 18px;
      height: 18px;
      margin: 0;
    }

    .account-settings-subsection {
      grid-column: 1 / -1;
      display: grid;
      gap: 10px;
      padding-top: 8px;
      border-top: 1px solid #e6edf4;
    }

    .account-settings-subsection > strong {
      color: #27364a;
      font-size: 14px;
    }

    .account-settings-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      margin-top: 24px;
      padding-top: 18px;
      border-top: 1px solid #e6edf4;
    }

    .account-settings-actions .btn {
      min-height: 44px;
    }

    .account-settings-save-state {
      margin-right: auto;
      color: #657383;
      font-size: 12px;
      font-weight: 800;
    }

    .account-settings-save-state[data-state="dirty"],
    .account-settings-save-state[data-state="error"] {
      color: #9a3412;
    }

    .account-settings-save-state[data-state="saved"] {
      color: #18794e;
    }

    .account-settings-access {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      padding: 16px 0;
      border-top: 1px solid #e6edf4;
      border-bottom: 1px solid #e6edf4;
    }

    .account-settings-access span {
      display: grid;
      gap: 4px;
      color: #657383;
      font-size: 12px;
    }

    .account-settings-access strong {
      color: #27364a;
      font-size: 14px;
    }

    .account-settings-panel .provider-connections-panel,
    .account-settings-panel .account-advanced-panel {
      margin: 0;
      border: 0;
      padding: 0;
      box-shadow: none;
      background: transparent;
    }

    .account-notifications-section {
      display: grid;
      gap: 12px;
      padding: 0 0 18px;
      border-bottom: 1px solid #e6edf4;
    }

    .account-notifications-section .panel-head {
      display: block;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: default;
      user-select: auto;
    }

    .account-notifications-section .panel-head:hover {
      background: transparent;
    }

    .account-notifications-section .notification-form {
      display: grid;
      grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto;
      gap: 12px;
      align-items: end;
      padding: 0;
    }

    .account-notifications-section .notification-form > label {
      min-width: 0;
    }

    .account-notifications-section .notification-form input[type="email"] {
      min-height: 44px;
      border-radius: 6px;
    }

    .account-notifications-section .notification-form .btn {
      min-height: 44px;
    }

    .auth-setup-note {
      margin: 0;
      color: #657383;
      font-size: 13px;
      line-height: 1.45;
    }

    @media (max-width: 700px) {
      .account-settings-shell {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin-right: 10px;
        margin-left: 10px;
        padding-right: 0;
        padding-left: 0;
        padding-top: 16px;
      }

      .account-settings-header,
      .account-settings-section-head,
      .account-settings-actions {
        display: grid;
      }

      .account-settings-progress {
        min-width: 0;
      }

      .account-settings-grid,
      .account-settings-access {
        grid-template-columns: 1fr;
      }

      .account-settings-grid .lead-profile-check-grid {
        grid-template-columns: 1fr 1fr;
      }

      .account-notifications-section .notification-form {
        grid-template-columns: 1fr;
      }

      .account-settings-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
      }

      .account-settings-tabs button {
        width: 100%;
        white-space: normal;
      }

      .account-settings-panel,
      .account-settings-grid,
      .account-settings-grid > label,
      .account-settings-subsection {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .account-settings-grid .lead-field-label {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 2px;
      }

      .account-settings-grid .lead-field-label span:last-child {
        max-width: 100%;
        margin-left: 0;
        font-size: 11px;
        text-align: left;
        overflow-wrap: anywhere;
      }

      .account-settings-actions .btn {
        width: 100%;
      }
    }

    .prototype-view[data-view="settings"] .settings-command-grid,
    .prototype-view[data-view="settings"] [data-account-support-panel],
    .prototype-view[data-view="settings"]:not(.is-focused-setup-mode) #accountManagementSetupReadinessPanel,
    .prototype-view[data-view="settings"]:not(.is-focused-setup-mode) #leadWorkspaceProfileSetup [data-first-campaign-inputs],
    .prototype-view[data-view="settings"]:not(.is-focused-setup-mode) #leadWorkspaceProfileSetup [data-account-management-setup-context],
    .prototype-view[data-view="settings"]:not(.is-focused-setup-mode) .account-advanced-panel {
      display: none;
    }

    .prototype-view[data-view="settings"] .topbar {
      order: 0;
    }

    .prototype-view[data-view="settings"] #leadWorkspaceProfileSetup {
      order: 1;
    }

    .prototype-view[data-view="settings"] #leadSetupTaskLanding {
      order: 2;
    }

    .prototype-view[data-view="settings"] #accountManagementSetupReadinessPanel {
      order: 3;
    }

    .prototype-view[data-view="settings"].is-focused-setup-mode #accountManagementSetupReadinessPanel,
    .prototype-view[data-view="settings"].is-focused-setup-mode #leadProfileSetupReview,
    .prototype-view[data-view="settings"].is-focused-setup-mode #leadWorkspaceProfileSetup .lead-first-campaign-inputs:not(.is-active-setup-task),
    .prototype-view[data-view="settings"].is-focused-setup-mode .account-advanced-panel {
      display: none;
    }

    .prototype-view[data-view="settings"].is-focused-setup-mode #leadWorkspaceProfileSetup {
      scroll-margin-top: 12px;
    }

    .platform-readiness-board {
      display: grid;
      gap: 12px;
      padding: 12px;
    }

    .platform-approval-gate {
      display: grid;
      grid-template-columns: .92fr repeat(3, minmax(0, 1fr));
      gap: 10px;
      align-items: stretch;
      padding: 12px;
      border: 1px solid rgba(0, 111, 255, 0.13);
      border-radius: 18px;
      background:
        radial-gradient(circle at 10% 0%, rgba(0, 111, 255, 0.09), transparent 34%),
        linear-gradient(180deg, #fff, #f8fbff);
      box-shadow: 0 14px 34px rgba(13, 39, 90, 0.08);
    }

    .platform-gate-intro {
      display: grid;
      align-content: center;
      gap: 5px;
      min-width: 0;
      padding: 4px 8px 4px 2px;
    }

    .platform-gate-intro span {
      color: #006fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .platform-gate-intro strong {
      color: #081847;
      font-size: 18px;
      line-height: 1.12;
    }

    .platform-gate-intro p,
    .platform-gate-card p {
      margin: 0;
      color: #5d6a82;
      font-size: 12px;
      line-height: 1.35;
    }

    .platform-gate-card {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      min-height: 92px;
      padding: 11px;
      border: 1px solid rgba(0, 111, 255, 0.1);
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 10px 24px rgba(13, 39, 90, 0.05);
    }

    .platform-gate-card strong {
      display: block;
      color: #0c2458;
      font-size: 13px;
      line-height: 1.14;
    }

    .platform-gate-card.is-ready {
      border-color: rgba(34, 173, 114, 0.2);
      background: linear-gradient(180deg, #fff, #f7fffb);
    }

    .platform-gate-card.is-review {
      border-color: rgba(245, 158, 11, 0.24);
      background: linear-gradient(180deg, #fff, #fffaf2);
    }

    .platform-readiness-summary {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .platform-readiness-stat {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(24,191,227,.22);
      border-radius: 18px;
      padding: 14px;
      background:
        radial-gradient(circle at 88% 10%, rgba(24,191,227,.2), transparent 34%),
        linear-gradient(135deg, #f7fcff, #fff);
      box-shadow: 0 12px 28px rgba(16,30,52,.06);
    }

    .platform-readiness-stat span,
    .platform-readiness-card span,
    .permission-chip span {
      display: block;
      color: var(--muted);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .platform-readiness-stat strong {
      display: block;
      margin-top: 4px;
      font-size: 24px;
      line-height: 1;
    }

    .platform-readiness-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .platform-readiness-card {
      border: 1px solid #d9e5f1;
      border-radius: 18px;
      padding: 12px;
      background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,250,255,.9));
      box-shadow: 0 10px 22px rgba(20,31,43,.05);
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .platform-readiness-card:hover {
      transform: translateY(-1px);
      border-color: rgba(24,191,227,.45);
      box-shadow: 0 16px 32px rgba(20,31,43,.08);
    }

    .platform-readiness-card strong {
      display: flex;
      align-items: center;
      gap: 7px;
      margin: 3px 0 8px;
      font-size: 16px;
    }

    .platform-readiness-card p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .readiness-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .readiness-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border: 1px solid #dce7f2;
      border-radius: 999px;
      padding: 5px 8px;
      background: #fff;
      color: #536176;
      font-size: 11px;
      font-weight: 850;
      white-space: nowrap;
    }

    .readiness-tag.is-ready {
      border-color: rgba(25,184,135,.32);
      background: rgba(25,184,135,.1);
      color: #087653;
    }

    .readiness-tag.is-review {
      border-color: rgba(227,169,27,.34);
      background: rgba(227,169,27,.12);
      color: #8a5b05;
    }

    .platform-permission-ledger {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
    }

    .permission-chip {
      border: 1px solid rgba(99,91,255,.16);
      border-radius: 16px;
      padding: 10px;
      background: linear-gradient(145deg, #ffffff, #f8f8ff);
    }

    .permission-chip strong {
      display: block;
      margin-top: 3px;
      font-size: 13px;
      line-height: 1.25;
    }

    .permission-chip em {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: 11px;
      font-style: normal;
      line-height: 1.35;
    }

    .readiness-request-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
    }

    .readiness-request-actions .btn {
      min-height: 30px;
      padding: 6px 9px;
      font-size: 11px;
    }

    .platform-request-list {
      display: grid;
      gap: 8px;
    }

    .platform-review-packet-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .platform-request-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      border: 1px solid #dbe7f3;
      border-radius: 14px;
      padding: 9px 10px;
      background: rgba(255,255,255,.82);
    }

    .platform-request-row strong {
      display: block;
      font-size: 13px;
    }

    .platform-request-row span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .platform-review-packet-list .platform-request-row {
      align-items: flex-start;
    }

    .platform-review-packet-list .platform-request-row p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .calendar-grid {
      grid-template-columns: repeat(5, minmax(150px, 1fr));
      overflow: auto;
    }

    .chart-list {
      display: grid;
      gap: 18px;
      padding: 18px;
    }

    .analytics-hero {
      background:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        radial-gradient(circle at 10% 0%, rgba(35,191,209,.36), transparent 34%),
        radial-gradient(circle at 92% 16%, rgba(99,91,255,.32), transparent 30%),
        linear-gradient(135deg, #101827, #17304a 56%, #0b6b75);
      background-size: 24px 24px, 24px 24px, auto, auto, auto;
      border-left: 0;
      color: #fff;
      box-shadow: 0 22px 50px rgba(16,24,39,.22);
    }

    .analytics-hero h1,
    .analytics-hero .subtle {
      color: #fff;
    }

    .pillar-score-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .pillar-card,
    .analytics-best-move,
    .analytics-automation-panel,
    .analytics-learning-card,
    .analytics-funnel-card,
    .analytics-attribution-card {
      border: 1px solid rgba(99,91,255,.16);
      border-radius: 22px;
      background: rgba(255,255,255,.96);
      box-shadow: 0 16px 38px rgba(27,35,60,.08);
      overflow: hidden;
    }

    .pillar-card {
      display: grid;
      gap: 12px;
      padding: 16px;
      position: relative;
      isolation: isolate;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .pillar-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 12% 12%, hsla(var(--pillar-hue), 82%, 58%, .24), transparent 34%),
        linear-gradient(145deg, hsla(var(--pillar-hue), 92%, 96%, .98), rgba(255,255,255,.96));
      z-index: -1;
    }

    .pillar-card:hover,
    .pillar-card:focus-visible,
    .pillar-card.is-active {
      transform: translateY(-2px);
      border-color: hsla(var(--pillar-hue), 78%, 54%, .42);
      box-shadow: 0 20px 46px hsla(var(--pillar-hue), 55%, 42%, .18);
    }

    .pillar-card.is-active::after {
      content: "";
      position: absolute;
      inset: 8px;
      border: 1px solid hsla(var(--pillar-hue), 78%, 54%, .34);
      border-radius: 18px;
      pointer-events: none;
      animation: pillarActiveScan 2600ms var(--ease-premium) infinite;
    }

    @keyframes pillarActiveScan {
      0%, 100% { opacity: .45; box-shadow: inset 0 0 0 rgba(35,191,209,0); }
      50% { opacity: 1; box-shadow: inset 0 0 26px hsla(var(--pillar-hue), 84%, 58%, .16); }
    }

    .pillar-card-head {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: start;
    }

    .pillar-card h2,
    .analytics-best-move h2 {
      margin: 0;
      color: #171827;
      font-size: 20px;
      letter-spacing: 0;
    }

    .pillar-card-label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin: 10px 0 5px;
      border: 1px solid hsla(var(--pillar-hue, 188), 86%, 62%, .24);
      border-radius: 999px;
      background: hsla(var(--pillar-hue, 188), 86%, 58%, .12);
      color: hsl(var(--pillar-hue, 188) 88% 74%);
      padding: 4px 8px;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .07em;
      line-height: 1;
      text-transform: uppercase;
    }

    .pillar-score {
      width: 64px;
      aspect-ratio: 1;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background:
        conic-gradient(hsl(var(--pillar-hue), 78%, 48%) calc(var(--pillar-score) * 1%), rgba(226,232,240,.92) 0),
        #fff;
      color: #111827;
      font-size: 18px;
      font-weight: 950;
      box-shadow: inset 0 0 0 8px rgba(255,255,255,.88);
    }

    .pillar-card p,
    .analytics-best-move p,
    .analytics-action-row p,
    .analytics-insight-card p,
    .analytics-attribution-item p {
      margin: 0;
      color: #667085;
      line-height: 1.42;
    }

    .pillar-signal {
      display: grid;
      gap: 5px;
      padding-top: 8px;
      border-top: 1px solid rgba(99,91,255,.13);
    }

    .pillar-signal span,
    .analytics-panel-head span,
    .analytics-action-row span,
    .analytics-funnel-step span {
      color: #667085;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .pillar-signal strong {
      color: #171827;
      font-size: 13px;
    }

    .analytics-command-grid,
    .analytics-insight-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
      gap: 14px;
      align-items: stretch;
    }

    .analytics-best-move {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      padding: 18px;
      background:
        radial-gradient(circle at 0% 0%, rgba(35,191,209,.2), transparent 34%),
        linear-gradient(135deg, #fff, #f5fbff 54%, #f7f4ff);
    }

    .analytics-impact-row,
    .analytics-action-impact,
    .analytics-attribution-impacts {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 10px;
    }

    .analytics-impact-pill {
      border-radius: 999px;
      background: rgba(99,91,255,.1);
      color: #4f46e5;
      padding: 6px 9px;
      font-size: 12px;
      font-weight: 950;
    }

    .analytics-impact-pill.is-demand {
      background: #dcfce7;
      color: #087a58;
    }

    .analytics-impact-pill.is-community {
      background: #fef3c7;
      color: #92400e;
    }

    .analytics-action-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }

    .analytics-action-buttons .btn {
      min-height: 38px;
      border-radius: 12px;
    }

    .analytics-automation-panel,
    .analytics-learning-card,
    .analytics-funnel-card,
    .analytics-attribution-card {
      padding: 16px;
    }

    .analytics-panel-head {
      display: flex;
      justify-content: flex-start;
      gap: 12px;
      align-items: center;
      margin-bottom: 12px;
    }

    .analytics-panel-head strong {
      color: #171827;
      font-size: 15px;
      margin-left: auto;
    }

    .analytics-action-list,
    .analytics-insight-list,
    .analytics-attribution-grid {
      display: grid;
      gap: 10px;
    }

    .analytics-action-row,
    .analytics-insight-card,
    .analytics-attribution-item {
      border: 1px solid rgba(99,91,255,.14);
      border-radius: 16px;
      background: #fff;
      padding: 12px;
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .analytics-action-row:hover,
    .analytics-insight-card:hover,
    .analytics-attribution-item:hover {
      border-color: rgba(35,191,209,.36);
      box-shadow: 0 12px 24px rgba(27,35,60,.08);
      transform: translateY(-1px);
    }

    .analytics-action-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .analytics-action-row strong,
    .analytics-insight-card strong,
    .analytics-attribution-item strong {
      display: block;
      margin-bottom: 4px;
      color: #171827;
    }

    .analytics-funnel-map {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
      align-items: stretch;
    }

    .analytics-funnel-step {
      min-height: 112px;
      border: 1px solid rgba(35,191,209,.18);
      border-radius: 16px;
      display: grid;
      gap: 7px;
      align-content: center;
      text-align: center;
      background:
        linear-gradient(180deg, rgba(35,191,209,.1), transparent),
        #fff;
      position: relative;
      padding: 12px 8px;
    }

    .analytics-funnel-step:not(:last-child)::after {
      content: "";
      position: absolute;
      right: -10px;
      top: 50%;
      width: 12px;
      height: 12px;
      border-top: 3px solid #23bfd1;
      border-right: 3px solid #23bfd1;
      transform: translateY(-50%) rotate(45deg);
      z-index: 2;
    }

    .analytics-funnel-step strong {
      color: #171827;
      font-size: 20px;
      line-height: 1;
    }

    .analytics-attribution-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .analytics-attribution-meter {
      height: 8px;
      border-radius: 999px;
      background: #e5eaf2;
      overflow: hidden;
      margin-top: 10px;
    }

    .analytics-attribution-meter i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #635bff, #23bfd1);
    }

    .prototype-view[data-view="analytics"] {
      background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        radial-gradient(circle at 10% 0%, rgba(35,191,209,.2), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(99,91,255,.22), transparent 34%),
        linear-gradient(135deg, #07111f, #10243a 46%, #092f37);
      background-size: 28px 28px, 28px 28px, auto, auto, auto;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 22px 54px rgba(7,17,31,.18);
    }

    .prototype-view[data-view="analytics"] .pillar-card,
    .prototype-view[data-view="analytics"] .analytics-learning-card,
    .prototype-view[data-view="analytics"] .analytics-funnel-card,
    .prototype-view[data-view="analytics"] .analytics-attribution-card {
      border-color: hsla(var(--pillar-hue, 197), 72%, 58%, .24);
      background:
        radial-gradient(circle at 12% 0%, hsla(var(--pillar-hue, 197), 82%, 58%, .12), transparent 36%),
        linear-gradient(145deg, rgba(13,24,44,.92), rgba(20,33,57,.84));
      box-shadow: 0 18px 46px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .prototype-view[data-view="analytics"] .pillar-card h2,
    .prototype-view[data-view="analytics"] .analytics-panel-head strong,
    .prototype-view[data-view="analytics"] .analytics-insight-card strong,
    .prototype-view[data-view="analytics"] .analytics-attribution-item strong,
    .prototype-view[data-view="analytics"] .analytics-funnel-step strong,
    .prototype-view[data-view="analytics"] .pillar-signal strong {
      color: #fff;
    }

    .prototype-view[data-view="analytics"] .pillar-card p,
    .prototype-view[data-view="analytics"] .analytics-insight-card p,
    .prototype-view[data-view="analytics"] .analytics-attribution-item p,
    .prototype-view[data-view="analytics"] .pillar-signal span,
    .prototype-view[data-view="analytics"] .analytics-panel-head span,
    .prototype-view[data-view="analytics"] .analytics-funnel-step span {
      color: rgba(255,255,255,.66);
    }

    .prototype-view[data-view="analytics"] .analytics-insight-card,
    .prototype-view[data-view="analytics"] .analytics-attribution-item,
    .prototype-view[data-view="analytics"] .analytics-funnel-step {
      border-color: rgba(255,255,255,.1);
      background: rgba(255,255,255,.07);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    }

    .prototype-view[data-view="analytics"] .pillar-score {
      background:
        conic-gradient(hsl(var(--pillar-hue), 78%, 54%) calc(var(--pillar-score) * 1%), rgba(255,255,255,.14) 0),
        rgba(6,14,30,.9);
      color: #fff;
      box-shadow: inset 0 0 0 8px rgba(7,17,31,.92), 0 0 18px hsla(var(--pillar-hue), 86%, 58%, .18);
    }

    .prototype-view[data-view="analytics"] .analytics-hero {
      border: 1px solid rgba(255,255,255,.1);
      border-left: 0;
      background:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        radial-gradient(circle at 12% 0%, rgba(35,191,209,.35), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(99,91,255,.34), transparent 30%),
        linear-gradient(135deg, #0a1425, #142447 52%, #087684);
      background-size: 24px 24px, 24px 24px, auto, auto, auto;
      color: #fff;
    }

    .prototype-view[data-view="analytics"] .analytics-hero h1,
    .prototype-view[data-view="analytics"] .analytics-hero .subtle {
      color: #fff;
      text-shadow: 0 1px 14px rgba(7,17,31,.36);
    }

    .prototype-view[data-view="analytics"] .analytics-hero .pill {
      border-color: rgba(255,255,255,.18);
      background: rgba(255,255,255,.1);
      color: #fff;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .prototype-view[data-view="analytics"] .pillar-card::before {
      background:
        radial-gradient(circle at 13% 10%, hsla(var(--pillar-hue), 86%, 58%, .25), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(255,255,255,.08), transparent 30%),
        linear-gradient(145deg, hsla(var(--pillar-hue), 56%, 16%, .94), rgba(9,16,31,.94) 62%, rgba(7,17,31,.98));
    }

    .prototype-view[data-view="analytics"] .pillar-signal {
      border-top-color: rgba(255,255,255,.12);
    }

    .intelligence-diamond {
      width: 42px;
      aspect-ratio: 1;
      display: inline-grid;
      place-items: center;
      border-radius: 14px;
      clip-path: polygon(50% 0, 92% 23%, 92% 76%, 50% 100%, 8% 76%, 8% 23%);
      background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.78), transparent 18%),
        linear-gradient(135deg, hsl(var(--diamond-hue, 197) 82% 54%), hsl(calc(var(--diamond-hue, 197) + 34) 78% 54%));
      box-shadow: 0 14px 28px hsla(var(--diamond-hue, 197), 78%, 48%, .22), 0 0 22px hsla(var(--diamond-hue, 197), 84%, 58%, .22);
      position: relative;
      flex: 0 0 auto;
    }

    .intelligence-diamond::after {
      content: "";
      width: 48%;
      aspect-ratio: 1;
      border-radius: 7px;
      clip-path: inherit;
      border: 1px solid rgba(255,255,255,.78);
      background: rgba(255,255,255,.18);
      animation: diamondPulse 2400ms var(--ease-premium) infinite;
    }

    .intelligence-diamond span {
      color: #fff;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .04em;
      position: absolute;
      text-shadow: 0 1px 6px rgba(6,14,30,.28);
    }

    @keyframes diamondPulse {
      0%, 100% { opacity: .52; transform: scale(.84); }
      50% { opacity: 1; transform: scale(1.08); }
    }

    .lead-owner-action-widget {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      border: 1px solid rgba(246, 92, 139, .24);
      border-radius: 22px;
      padding: 14px 16px;
      background:
        radial-gradient(circle at 8% 0%, rgba(255, 214, 102, .24), transparent 34%),
        radial-gradient(circle at 90% 18%, rgba(246, 92, 139, .22), transparent 32%),
        linear-gradient(135deg, #21162c, #321d4d 52%, #17435a);
      box-shadow: 0 20px 48px rgba(49, 29, 77, .22);
      color: #fff;
      overflow: hidden;
      position: relative;
      isolation: isolate;
    }

    .lead-owner-action-widget::before {
      content: "";
      position: absolute;
      inset: 10px 14px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 18px;
      pointer-events: none;
      z-index: -1;
    }

    .lead-owner-action-widget::after {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 8px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(255,176,0,.18), rgba(246,92,139,.95), rgba(35,191,209,.86), rgba(255,176,0,.18));
      background-size: 180% 100%;
      opacity: .75;
      animation: ownerActionScan 3600ms var(--ease-premium) infinite;
      pointer-events: none;
    }

    @keyframes ownerActionScan {
      0%, 100% { background-position: 0% 50%; opacity: .46; }
      50% { background-position: 100% 50%; opacity: 1; }
    }

    .lead-owner-action-copy {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .lead-owner-action-copy span {
      color: rgba(255,255,255,.68);
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lead-owner-action-copy strong {
      color: #fff;
      font-size: 18px;
      line-height: 1.12;
    }

    .lead-owner-action-copy p {
      margin: 0;
      color: rgba(255,255,255,.75);
      line-height: 1.35;
    }

    .lead-owner-action-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 5px;
    }

    .lead-owner-action-meta b {
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 999px;
      background: rgba(255,255,255,.1);
      color: #fff;
      padding: 5px 8px;
      font-size: 11px;
      line-height: 1;
    }

    .lead-owner-action-buttons {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .lead-owner-action-buttons .btn {
      border-radius: 12px;
      min-height: 38px;
    }

    .btn.action-primary,
    .lead-owner-action-buttons .btn.primary {
      background: linear-gradient(135deg, #ffb000, #f65c8b);
      border-color: rgba(255,255,255,.16);
      color: #fff;
      box-shadow: 0 12px 24px rgba(246, 92, 139, .22);
    }

    .analytics-neural-web {
      display: grid;
      grid-template-columns: minmax(460px, 1.15fr) minmax(360px, .85fr);
      gap: 14px;
      align-items: stretch;
      border: 1px solid rgba(35,191,209,.18);
      border-radius: 24px;
      background:
        radial-gradient(circle at 16% 16%, rgba(35,191,209,.24), transparent 30%),
        radial-gradient(circle at 84% 24%, rgba(99,91,255,.25), transparent 36%),
        linear-gradient(135deg, #111827, #18243a 48%, #0d3b46);
      box-shadow: 0 24px 58px rgba(17,24,39,.22);
      padding: 16px;
      color: #fff;
      overflow: hidden;
      position: relative;
      isolation: isolate;
    }

    .analytics-neural-web::before,
    .analytics-neural-web::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: -1;
    }

    .analytics-neural-web::before {
      inset: 16px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,.08);
      box-shadow: inset 0 0 42px rgba(35,191,209,.08);
    }

    .analytics-neural-web::after {
      width: 280px;
      height: 280px;
      right: -70px;
      bottom: -110px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(35,191,209,.22), transparent 66%);
      animation: neuralGlow 4200ms var(--ease-premium) infinite;
    }

    @keyframes neuralGlow {
      0%, 100% { opacity: .46; transform: scale(.96); }
      50% { opacity: .9; transform: scale(1.06); }
    }

    .analytics-spider-card {
      display: grid;
      place-items: center;
      min-height: 360px;
      border-radius: 20px;
      background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(35,191,209,.16), transparent 64%);
      background-size: 28px 28px, 28px 28px, auto;
      position: relative;
    }

    .analytics-spider-card::before {
      display: none;
    }

    @keyframes spiderSweep {
      to { transform: rotate(360deg); }
    }

    .analytics-spider-card svg {
      width: min(100%, 680px);
      height: auto;
      overflow: visible;
    }

    .analytics-model-builder {
      border: 1px solid rgba(35,191,209,.22);
      border-radius: 22px;
      background:
        radial-gradient(circle at 8% 20%, rgba(35,191,209,.18), transparent 28%),
        linear-gradient(135deg, #0f1b2e, #132640 58%, #0d3d46);
      box-shadow: 0 20px 44px rgba(17,24,39,.18);
      color: #fff;
      padding: 16px;
      display: grid;
      gap: 14px;
      position: relative;
      overflow: hidden;
    }

    .analytics-model-builder::after {
      content: "";
      position: absolute;
      width: 160px;
      aspect-ratio: 1;
      right: -54px;
      top: -68px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99,91,255,.28), transparent 66%);
      pointer-events: none;
    }

    .analytics-model-builder .analytics-panel-head {
      position: relative;
      z-index: 1;
    }

    .analytics-model-builder .dashboard-eyebrow,
    .analytics-model-builder .analytics-panel-head strong {
      color: #fff;
    }

    .analytics-model-form {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(160px, .9fr) minmax(160px, 1fr) minmax(190px, 1.2fr) 116px minmax(220px, 1.5fr) minmax(150px, .8fr) auto;
      gap: 10px;
      align-items: end;
    }

    .analytics-model-form label {
      display: grid;
      gap: 6px;
      min-width: 0;
    }

    .analytics-model-form label span {
      color: rgba(255,255,255,.68);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .analytics-model-form input,
    .analytics-model-form select {
      min-height: 42px;
      border-color: rgba(255,255,255,.18);
      background: rgba(255,255,255,.08);
      color: #fff;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    }

    .analytics-model-form option {
      color: #172033;
    }

    .analytics-model-form input::placeholder {
      color: rgba(255,255,255,.44);
    }

    .analytics-model-form input:focus,
    .analytics-model-form select:focus {
      border-color: rgba(35,191,209,.76);
      box-shadow: 0 0 0 4px rgba(35,191,209,.14);
    }

    .analytics-model-form .btn {
      min-height: 42px;
      white-space: nowrap;
    }

    .analytics-model-status {
      position: relative;
      z-index: 1;
      width: fit-content;
      max-width: 100%;
      border: 1px solid rgba(35,191,209,.28);
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      color: rgba(255,255,255,.72);
      padding: 7px 11px;
      font-size: 12px;
      font-weight: 850;
    }

    .analytics-model-status.is-saved {
      border-color: rgba(34,197,94,.38);
      background: rgba(34,197,94,.14);
      color: #bbf7d0;
    }

    .analytics-model-status.is-error {
      border-color: rgba(248,113,113,.42);
      background: rgba(248,113,113,.14);
      color: #fecaca;
    }

    .living-net-link,
    .living-net-sub-link {
      fill: none;
      stroke-linecap: round;
      opacity: .78;
    }

    .living-net-link {
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .42);
      stroke-width: var(--link-width, 3px);
      filter: drop-shadow(0 0 9px hsla(var(--pillar-hue, 188), 86%, 58%, .26));
      animation: livingLinkPulse 3200ms var(--ease-premium) infinite;
    }

    .living-net-sub-link {
      stroke: hsla(var(--pillar-hue, 188), 86%, 66%, .34);
      stroke-width: var(--link-width, 2px);
      stroke-dasharray: 4 8;
      animation: livingSubFlow 3600ms linear infinite;
    }

    .living-net-core,
    .living-net-pillar,
    .living-net-sub {
      cursor: pointer;
    }

    .living-net-core {
      animation: livingCorePulse 2800ms var(--ease-premium) infinite;
    }

    .living-net-core circle {
      fill: rgba(7,17,31,.94);
      stroke: rgba(35,191,209,.82);
      stroke-width: 2.2;
      filter: drop-shadow(0 0 22px rgba(35,191,209,.42));
    }

    .living-net-core text,
    .living-net-pillar text,
    .living-net-sub text {
      pointer-events: none;
      text-anchor: middle;
    }

    .living-net-core .core-title {
      fill: #fff;
      font-size: 12px;
      font-weight: 950;
      letter-spacing: .06em;
    }

    .living-net-core .core-subtitle {
      fill: rgba(255,255,255,.62);
      font-size: 8px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .living-net-pillar {
      animation: livingNodeFloat 4200ms var(--ease-premium) infinite;
      animation-delay: var(--node-delay, 0ms);
    }

    .living-net-pillar circle {
      fill:
        hsla(var(--pillar-hue, 188), 74%, 42%, .24);
      stroke: hsl(var(--pillar-hue, 188) 84% 60%);
      stroke-width: 2.4;
      filter: drop-shadow(0 0 16px hsla(var(--pillar-hue, 188), 82%, 58%, .36));
      transition: stroke-width var(--motion-base) var(--ease-premium), fill var(--motion-base) var(--ease-premium), r var(--motion-fast) var(--ease-spring);
    }

    .living-net-pillar:hover circle,
    .living-net-pillar:focus-visible circle,
    .living-net-pillar.is-active circle {
      fill: hsla(var(--pillar-hue, 188), 84%, 50%, .34);
      stroke-width: 3.6;
    }

    .living-net-pillar .pillar-title {
      fill: #fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .04em;
    }

    .living-net-pillar .pillar-score-label {
      fill: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 8px;
      font-weight: 950;
    }

    .living-net-sub {
      animation: livingSubHealthWiggle 5200ms var(--ease-premium) infinite;
      animation-delay: var(--node-delay, 0ms);
      transform-box: fill-box;
      transform-origin: center;
    }

    .living-net-sub circle {
      fill: rgba(7,17,31,.9);
      stroke: hsl(var(--pillar-hue, 188) 84% 62%);
      stroke-width: var(--sub-stroke, 2px);
      filter: drop-shadow(0 0 10px hsla(var(--pillar-hue, 188), 84%, 58%, .32));
    }

    .living-net-sub:hover circle,
    .living-net-sub:focus-visible circle,
    .living-net-sub.is-active circle {
      fill: hsla(var(--pillar-hue, 188), 84%, 45%, .34);
    }

    .living-net-sub .sub-title {
      fill: rgba(255,255,255,.88);
      font-size: 7px;
      font-weight: 950;
    }

    .living-net-sub .sub-weight {
      fill: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 6px;
      font-weight: 950;
    }

    .living-net-sub.is-health-good circle {
      fill: hsla(var(--pillar-hue, 188), 64%, 32%, .56);
    }

    .living-net-sub.is-health-watch circle {
      fill: hsla(var(--pillar-hue, 188), 56%, 26%, .46);
      stroke: hsl(var(--pillar-hue, 188) 84% 62%);
    }

    .living-net-sub.is-health-weak circle {
      fill: hsla(var(--pillar-hue, 188), 52%, 18%, .4);
      stroke: hsl(var(--pillar-hue, 188) 84% 62%);
    }

    .living-atom-orbit {
      fill: none;
      stroke: rgba(35,191,209,.2);
      stroke-width: 1.2;
      stroke-dasharray: 5 10;
      pointer-events: none;
    }

    .living-electron-tail {
      fill: rgba(35,191,209,.2);
      filter: drop-shadow(0 0 14px rgba(35,191,209,.62));
      pointer-events: none;
    }

    .living-electron {
      fill: #23bfd1;
      stroke: rgba(255,255,255,.78);
      stroke-width: 1.2;
      filter: drop-shadow(0 0 12px rgba(35,191,209,.8));
      pointer-events: none;
    }

    .living-net-label-card rect {
      fill: rgba(7,17,31,.84);
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .52);
      stroke-width: 1.2;
      filter: drop-shadow(0 0 12px hsla(var(--pillar-hue, 188), 84%, 58%, .22));
    }

    .living-net-label-card text {
      fill: rgba(255,255,255,.88);
      font-size: 7px;
      font-weight: 900;
      text-anchor: middle;
      pointer-events: none;
    }

    .living-net-label-card .label-impact {
      fill: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 6.2px;
      font-weight: 950;
    }

    .living-net-flow-label rect {
      fill: rgba(7,17,31,.82);
      stroke: rgba(255,255,255,.14);
      stroke-width: 1;
    }

    .living-net-flow-label text {
      fill: rgba(255,255,255,.68);
      font-size: 7px;
      font-weight: 950;
      letter-spacing: .04em;
      text-anchor: middle;
      text-transform: uppercase;
    }

    .living-orbit-guide {
      fill: none;
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .14);
      stroke-width: 1;
      stroke-dasharray: 2 7;
      pointer-events: none;
    }

    @keyframes livingLinkPulse {
      0%, 100% { opacity: .42; }
      50% { opacity: 1; }
    }

    @keyframes livingSubFlow {
      to { stroke-dashoffset: -24; }
    }

    @keyframes livingCorePulse {
      0%, 100% { opacity: .9; filter: drop-shadow(0 0 12px rgba(35,191,209,.28)); }
      50% { opacity: 1; filter: drop-shadow(0 0 24px rgba(35,191,209,.58)); }
    }

    @keyframes livingNodeFloat {
      0%, 100% { opacity: .92; }
      50% { opacity: 1; }
    }

    @keyframes livingSubTug {
      0%, 100% { opacity: .72; }
      45% { opacity: 1; filter: drop-shadow(0 0 12px hsla(var(--pillar-hue, 188), 84%, 58%, .42)); }
    }

    @keyframes livingSubHealthWiggle {
      0%, 100% { transform: translate(0, 0) scale(.98); opacity: .82; }
      30% { transform: translate(var(--wiggle-x, 1px), var(--wiggle-y, -1px)) scale(1.03); opacity: 1; }
      62% { transform: translate(calc(var(--wiggle-x, 1px) * -0.65), calc(var(--wiggle-y, -1px) * -0.65)) scale(1); opacity: .94; }
    }

    .spider-web-ring,
    .spider-web-axis {
      fill: none;
      stroke: rgba(255,255,255,.16);
      stroke-width: 1;
    }

    .spider-web-axis,
    .spider-data-tendril {
      stroke: hsla(var(--pillar-hue, 188), 86%, 60%, .48);
    }

    .spider-data-tendril {
      stroke-width: 3;
      stroke-linecap: round;
      filter: drop-shadow(0 0 8px hsla(var(--pillar-hue, 188), 86%, 58%, .38));
      animation: tendrilPulse 2600ms var(--ease-premium) infinite;
    }

    .spider-sub-tether {
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .34);
      stroke-width: var(--sub-stroke, 2px);
      stroke-linecap: round;
      stroke-dasharray: 3 7;
      filter: drop-shadow(0 0 7px hsla(var(--pillar-hue, 188), 86%, 58%, .2));
      animation: subTetherFlow 3400ms linear infinite;
    }

    .spider-core {
      fill: rgba(9,16,31,.84);
      stroke: rgba(255,255,255,.22);
      stroke-width: 1.5;
      filter: drop-shadow(0 0 18px rgba(35,191,209,.46));
    }

    .spider-score-dot {
      fill: hsl(var(--pillar-hue, 188) 84% 56%);
      stroke: rgba(255,255,255,.8);
      stroke-width: 2;
      filter: drop-shadow(0 0 10px hsla(var(--pillar-hue, 188), 84%, 58%, .52));
    }

    .spider-sub-node {
      cursor: pointer;
      transform-box: fill-box;
      transform-origin: center;
      animation: subNodeTug 3600ms var(--ease-premium) infinite;
      animation-delay: var(--sub-delay, 0ms);
    }

    .spider-sub-node circle {
      fill: rgba(7,17,31,.92);
      stroke: hsl(var(--pillar-hue, 188) 84% 58%);
      stroke-width: var(--sub-circle-stroke, 2.4px);
      filter: drop-shadow(0 0 10px hsla(var(--pillar-hue, 188), 84%, 58%, .38));
      transition: r var(--motion-fast) var(--ease-spring), fill var(--motion-base) var(--ease-premium), stroke-width var(--motion-base) var(--ease-premium);
    }

    .spider-sub-node:hover circle,
    .spider-sub-node:focus-visible circle,
    .spider-sub-node.is-active circle {
      fill: hsla(var(--pillar-hue, 188), 86%, 48%, .32);
      stroke-width: var(--sub-circle-stroke-active, 3.2px);
    }

    .spider-sub-node text {
      fill: rgba(255,255,255,.9);
      font-size: 7px;
      font-weight: 950;
      letter-spacing: .02em;
      pointer-events: none;
    }

    .spider-sub-node .spider-sub-weight {
      fill: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 6px;
    }

    .sub-hover-label {
      opacity: 0;
      transform: translateY(4px);
      transition: opacity var(--motion-fast) var(--ease-premium), transform var(--motion-fast) var(--ease-premium);
      pointer-events: none;
    }

    .living-net-sub:hover .sub-hover-label,
    .living-net-sub:focus-visible .sub-hover-label {
      opacity: 1;
      transform: translateY(0);
    }

    .sub-hover-label rect {
      fill: rgba(7,17,31,.92);
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .62);
      stroke-width: 1;
      filter: drop-shadow(0 0 12px hsla(var(--pillar-hue, 188), 84%, 58%, .32));
    }

    .sub-hover-label text {
      fill: rgba(255,255,255,.9);
      font-size: 6.4px;
      font-weight: 950;
      text-anchor: middle;
      pointer-events: none;
    }

    .sub-hover-label .label-impact {
      fill: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 5.8px;
    }

    .learning-core-ring {
      fill: none;
      stroke: rgba(35,191,209,.38);
      stroke-width: 1.2;
      stroke-dasharray: 12 10;
      transform-box: fill-box;
      transform-origin: center;
      animation: learningCoreSpin 6200ms linear infinite;
      pointer-events: none;
    }

    .learning-core-scan {
      fill: rgba(35,191,209,.16);
      transform-box: fill-box;
      transform-origin: center;
      animation: learningCoreScan 2600ms var(--ease-premium) infinite;
      pointer-events: none;
    }

    .learning-core-spark {
      fill: #23bfd1;
      filter: drop-shadow(0 0 8px rgba(35,191,209,.72));
      animation: learningSparkPulse 2200ms var(--ease-premium) infinite;
      animation-delay: var(--spark-delay, 0ms);
      pointer-events: none;
    }

    @keyframes learningCoreSpin {
      to { transform: rotate(360deg); }
    }

    @keyframes learningCoreScan {
      0%, 100% { transform: scaleX(.18); opacity: .16; }
      48% { transform: scaleX(1); opacity: .42; }
    }

    @keyframes learningSparkPulse {
      0%, 100% { opacity: .28; transform: scale(.82); }
      50% { opacity: 1; transform: scale(1.18); }
    }

    .spider-sub-label {
      pointer-events: none;
    }

    .spider-sub-label rect {
      fill: rgba(7,17,31,.86);
      stroke: hsla(var(--pillar-hue, 188), 86%, 62%, .38);
      stroke-width: 1;
      filter: drop-shadow(0 0 9px hsla(var(--pillar-hue, 188), 84%, 58%, .24));
    }

    .spider-sub-label text {
      fill: rgba(255,255,255,.86);
      font-size: 6.2px;
      font-weight: 950;
      letter-spacing: .01em;
    }

    .spider-web-node {
      cursor: pointer;
    }

    .spider-web-node rect {
      fill: url(#spiderNodeGradient);
      stroke: rgba(255,255,255,.8);
      stroke-width: 1.4;
      filter: drop-shadow(0 0 12px rgba(99,91,255,.58));
      transition: transform var(--motion-fast) var(--ease-spring), filter var(--motion-base) var(--ease-premium);
    }

    .spider-web-node:hover rect,
    .spider-web-node.is-active rect {
      transform: scale(1.12);
      filter: drop-shadow(0 0 18px rgba(255,176,0,.65));
    }

    .spider-web-node text {
      fill: rgba(255,255,255,.86);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
      pointer-events: none;
    }

    @keyframes spiderPulse {
      0%, 100% { opacity: .72; }
      50% { opacity: 1; }
    }

    @keyframes tendrilPulse {
      0%, 100% { opacity: .58; }
      50% { opacity: 1; }
    }

    @keyframes subTetherFlow {
      to { stroke-dashoffset: -20; }
    }

    @keyframes subNodeTug {
      0%, 100% { transform: translate(0, 0); opacity: .8; }
      45% { transform: translate(var(--tug-x, 0), var(--tug-y, 0)); opacity: 1; }
    }

    .living-net-sub.spider-sub-node {
      animation: livingSubHealthWiggle 5200ms var(--ease-premium) infinite;
      animation-delay: var(--node-delay, 0ms);
    }

    .spider-node-card {
      display: grid;
      gap: 4px;
      height: 100%;
      border: 1px solid hsla(var(--pillar-hue, 188), 86%, 62%, .44);
      border-radius: 14px;
      padding: 8px;
      background:
        radial-gradient(circle at 0% 0%, hsla(var(--pillar-hue, 188), 88%, 58%, .24), transparent 42%),
        linear-gradient(135deg, rgba(9,16,31,.9), rgba(18,28,50,.84));
      box-shadow: 0 14px 30px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.04);
      color: #fff;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .spider-node-card:hover,
    .spider-node-card:focus-visible,
    .spider-node-card.is-active {
      transform: translateY(-2px);
      border-color: hsl(var(--pillar-hue, 188) 86% 62%);
      box-shadow: 0 18px 36px hsla(var(--pillar-hue, 188), 80%, 45%, .2), inset 0 0 22px hsla(var(--pillar-hue, 188), 86%, 58%, .1);
    }

    .spider-node-card span {
      color: rgba(255,255,255,.64);
      font-size: 9px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .spider-node-card strong {
      color: #fff;
      font-size: 18px;
      line-height: 1;
    }

    .spider-node-card em {
      color: rgba(255,255,255,.76);
      font-size: 10px;
      font-style: normal;
      font-weight: 850;
    }

    .analytics-pillar-detail {
      display: grid;
      align-content: start;
      gap: 12px;
      border: 1px solid hsla(var(--pillar-hue, 188), 86%, 62%, .28);
      border-radius: 20px;
      background:
        radial-gradient(circle at 12% 0%, hsla(var(--pillar-hue, 188), 86%, 58%, .18), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
      padding: 16px;
      backdrop-filter: blur(12px);
    }

    .analytics-detail-section {
      display: grid;
      gap: 9px;
      border: 1px solid hsla(var(--pillar-hue, 188), 86%, 62%, .16);
      border-radius: 16px;
      background:
        radial-gradient(circle at 0% 0%, hsla(var(--pillar-hue, 188), 86%, 58%, .1), transparent 38%),
        rgba(7,17,31,.32);
      padding: 12px;
    }

    .analytics-detail-section.is-opportunity {
      border-color: hsla(var(--pillar-hue, 188), 86%, 62%, .28);
      background:
        linear-gradient(90deg, hsla(var(--pillar-hue, 188), 86%, 58%, .16), rgba(255,255,255,.04)),
        rgba(7,17,31,.38);
    }

    .analytics-detail-section.is-weighting {
      background:
        linear-gradient(135deg, rgba(255,176,0,.12), transparent 46%),
        rgba(7,17,31,.34);
    }

    .analytics-detail-section-title {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
      color: rgba(255,255,255,.94);
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .analytics-detail-section-title span {
      color: hsl(var(--pillar-hue, 188) 88% 74%);
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .analytics-opportunity-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .analytics-opportunity-card {
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 13px;
      background: rgba(255,255,255,.07);
      padding: 9px;
    }

    .analytics-opportunity-card span {
      display: block;
      margin-bottom: 4px;
      color: rgba(255,255,255,.58);
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .analytics-opportunity-card strong {
      color: #fff;
      font-size: 12px;
      line-height: 1.3;
    }

    .analytics-pillar-detail-head {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .analytics-pillar-detail h2 {
      margin: 0;
      color: #fff;
      font-size: 24px;
    }

    .analytics-pillar-detail p {
      margin: 0;
      color: rgba(255,255,255,.72);
      line-height: 1.44;
    }

    .analytics-pillar-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .analytics-pillar-summary span {
      display: grid;
      gap: 3px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 14px;
      background: rgba(255,255,255,.07);
      padding: 9px;
      color: rgba(255,255,255,.66);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .analytics-pillar-summary strong {
      color: #fff;
      font-size: 17px;
      letter-spacing: 0;
      text-transform: none;
    }

    .subpillar-neural-map {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      position: relative;
    }

    .subpillar-node {
      display: grid;
      gap: 7px;
      min-height: 114px;
      border: 1px solid hsla(var(--pillar-hue, 188), 86%, 62%, .22);
      border-radius: 16px;
      background:
        radial-gradient(circle at 50% 8%, hsla(var(--pillar-hue, 188), 86%, 58%, .16), transparent 42%),
        rgba(255,255,255,.06);
      padding: 10px;
      text-align: center;
    }

    .subpillar-node::before {
      content: "";
      justify-self: center;
      width: 32px;
      aspect-ratio: 1;
      border-radius: 10px;
      clip-path: polygon(50% 0, 92% 23%, 92% 76%, 50% 100%, 8% 76%, 8% 23%);
      background: linear-gradient(135deg, hsl(var(--pillar-hue, 188) 82% 54%), hsl(calc(var(--pillar-hue, 188) + 34) 78% 54%));
      box-shadow: 0 0 18px hsla(var(--pillar-hue, 188), 86%, 58%, .24);
    }

    .subpillar-node strong {
      color: #fff;
      font-size: 13px;
      line-height: 1.15;
    }

    .subpillar-node em {
      color: hsl(var(--pillar-hue, 188) 88% 72%);
      font-size: 20px;
      font-style: normal;
      font-weight: 950;
      line-height: 1;
    }

    .subpillar-node span {
      color: rgba(255,255,255,.62);
      font-size: 10px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .subpillar-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .subpillar-card {
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 14px;
      background: rgba(255,255,255,.08);
      padding: 10px;
    }

    .subpillar-card strong {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: #fff;
      font-size: 13px;
    }

    .subpillar-card span {
      color: rgba(255,255,255,.66);
      font-size: 11px;
      font-weight: 800;
    }

    .subpillar-card small {
      display: block;
      margin-top: 7px;
      color: hsl(var(--pillar-hue, 188) 88% 76%);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .02em;
      text-transform: uppercase;
    }

    .subpillar-meter {
      height: 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.14);
      overflow: hidden;
      margin-top: 8px;
    }

    .subpillar-meter i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #ffb000, #23bfd1);
    }

    .scraper-preview-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(180px, 1fr));
      gap: 12px;
      padding: 12px;
      max-height: 690px;
      overflow: auto;
    }

    .scrape-card {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .scrape-card:hover,
    .scrape-card:focus-visible {
      border-color: #b7c9da;
      box-shadow: 0 8px 18px rgba(20,31,43,.07);
      transform: translateY(-1px);
    }

    .scrape-card.active {
      border-color: var(--blue);
      box-shadow: 0 0 0 2px rgba(31,111,183,.12);
      animation: state-settle var(--motion-slow) var(--ease-premium);
    }

    .scrape-thumb,
    .scrape-large-preview {
      position: relative;
      aspect-ratio: 4 / 5;
      display: grid;
      place-items: center;
      padding: 18px;
      overflow: hidden;
      text-align: center;
      background: #edf1f5;
    }

    .scrape-large-preview {
      aspect-ratio: 1;
      border: 1px solid var(--line);
      border-radius: 6px;
    }

    .scrape-thumb strong,
    .scrape-large-preview strong {
      font-size: 20px;
      line-height: 1.15;
      max-width: 90%;
      z-index: 1;
    }

    .scrape-large-preview strong {
      font-size: 34px;
    }

    .scrape-thumb span,
    .scrape-large-preview span {
      position: absolute;
      left: 10px;
      bottom: 10px;
      background: rgba(255,255,255,.9);
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 4px 8px;
      font-size: 11px;
      color: var(--muted);
    }

    .live-preview {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      background: #fff;
    }

    .scrape-thumb .live-preview {
      pointer-events: none;
    }

    .scrape-thumb img.live-preview,
    .scrape-large-preview img.live-preview,
    .scrape-thumb video.live-preview,
    .scrape-large-preview video.live-preview {
      object-fit: cover;
    }

    .scrape-large-preview iframe.live-preview {
      min-height: 520px;
    }

    .embed-shell {
      width: 100%;
      height: 100%;
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      background: #fff;
    }

    .embed-shell iframe {
      width: 100%;
      height: 100%;
      border: 0;
      background: #fff;
    }

    .embed-link {
      border-top: 1px solid var(--line);
      padding: 8px 10px;
      font-size: 12px;
      color: var(--blue);
      background: #fbfcfd;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .scrape-thumb.video::before,
    .scrape-large-preview.video::before {
      content: "";
      width: 74px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: rgba(21,32,43,.78);
      position: absolute;
    }

    .scrape-thumb.video::after,
    .scrape-large-preview.video::after {
      content: "";
      width: 0;
      height: 0;
      border-top: 16px solid transparent;
      border-bottom: 16px solid transparent;
      border-left: 24px solid #fff;
      margin-left: 8px;
      position: absolute;
    }

    .scrape-thumb.trap,
    .scrape-large-preview.trap {
      background:
        linear-gradient(135deg, rgba(179,66,66,.2), transparent 46%),
        linear-gradient(315deg, rgba(31,111,183,.22), transparent 48%),
        #fbfaf5;
    }

    .scrape-thumb.rules,
    .scrape-large-preview.rules {
      background:
        repeating-linear-gradient(0deg, rgba(31,111,183,.12) 0 18px, transparent 18px 36px),
        #fff;
    }

    .scrape-thumb.text,
    .scrape-large-preview.text {
      background: #f9fafb;
      text-align: left;
      place-items: start;
    }

    .scrape-meta {
      padding: 10px;
      display: grid;
      gap: 7px;
    }

    .scrape-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      padding-top: 2px;
    }

    .scrape-actions .btn {
      min-height: 32px;
      padding: 6px 8px;
      font-size: 12px;
      justify-content: center;
    }

    .scrape-meta strong {
      font-size: 13px;
      line-height: 1.3;
    }

    .scrape-meta p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .collector-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(180px, 1fr));
      gap: 10px;
      padding: 12px;
    }

    .search-assist {
      border: 1px solid var(--line);
      background: #fbfcfd;
      border-radius: 6px;
      margin: 12px;
      padding: 12px;
      display: grid;
      gap: 12px;
    }

    .search-flow {
      display: grid;
      grid-template-columns: repeat(4, minmax(130px, 1fr));
      gap: 8px;
    }

    .flow-step {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      padding: 10px;
      min-height: 82px;
    }

    .flow-step span {
      display: block;
      color: var(--muted);
      font-size: 11px;
      margin-bottom: 6px;
      text-transform: uppercase;
    }

    .flow-step strong {
      display: block;
      font-size: 13px;
      line-height: 1.3;
    }

    .quick-links {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }

    .quick-links a {
      border: 1px solid var(--line);
      background: #fff;
      color: var(--blue);
      border-radius: 999px;
      padding: 7px 10px;
      text-decoration: none;
      font-size: 12px;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .quick-links a:hover {
      border-color: rgba(31,111,183,.35);
      box-shadow: 0 8px 18px rgba(16,24,40,.07);
      transform: translateY(-1px);
    }

    .quick-links a:active {
      transform: translateY(0) scale(.985);
    }

    .search-capture-form {
      display: grid;
      grid-template-columns: 180px minmax(240px, 1fr) 180px auto;
      gap: 8px;
      align-items: end;
    }

    .search-capture-form label {
      display: grid;
      gap: 5px;
      font-size: 12px;
      color: var(--muted);
    }

    .search-capture-form input,
    .search-capture-form textarea {
      min-width: 0;
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 9px 10px;
      font: inherit;
      color: var(--ink);
      background: #fff;
    }

    .search-capture-form textarea {
      min-height: 74px;
      resize: vertical;
    }

    .search-session-note {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.45;
    }

    .empty-state {
      grid-column: 1 / -1;
      border: 1px dashed var(--line);
      border-radius: 6px;
      background: #fff;
      color: var(--muted);
      padding: 16px;
      font-size: 13px;
      line-height: 1.5;
    }

    .source-card {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      padding: 12px;
      display: grid;
      gap: 7px;
      min-height: 126px;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .source-card:hover {
      border-color: #bccbd9;
      box-shadow: 0 8px 18px rgba(20,31,43,.06);
      transform: translateY(-1px);
    }

    .source-card strong {
      font-size: 13px;
      line-height: 1.3;
    }

    .source-card span,
    .source-card p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .source-card.configured {
      border-color: rgba(31,122,85,.35);
      background: #fbfffd;
    }

    .source-card.planned {
      border-color: rgba(178,122,24,.35);
      background: #fffdf6;
    }

    .chart-list span {
      display: block;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 7px;
    }

    .bar {
      height: 13px;
      border-radius: 999px;
      background: #e7ebf0;
      overflow: hidden;
    }

    .bar i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: var(--blue);
      transition: width var(--motion-slow) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .bar.green i { background: var(--green); }
    .bar.gold i { background: var(--gold); }
    .bar.violet i { background: var(--violet); }

    /* LeadCanoe visual system refresh: SaaS dashboard polish without changing feature hooks. */
    :root {
      --ink: #171827;
      --muted: #667085;
      --line: #e3e8f2;
      --panel: #ffffff;
      --canvas: #f6f8fc;
      --blue: #006fff;
      --green: #20b486;
      --gold: #f59f22;
      --red: #e05252;
      --violet: #2357d6;
      --cyan: #23bfd1;
      --soft-blue: #eef2ff;
      --soft-green: #eafaf4;
      --soft-gold: #fff5e6;
      --soft-red: #fff0f0;
      --shadow: 0 16px 36px rgba(26, 34, 61, .07);
      --shadow-soft: 0 8px 22px rgba(26, 34, 61, .06);
      --shadow-lift: 0 20px 46px rgba(26, 34, 61, .11);
    }

    body {
      background:
        radial-gradient(circle at 8% 0%, rgba(0,111,255,.08), transparent 27%),
        radial-gradient(circle at 96% 8%, rgba(35,191,209,.10), transparent 24%),
        linear-gradient(135deg, #fbfcff 0%, #f5f8fd 48%, #f9fbff 100%);
      color: var(--ink);
    }

    .shell {
      grid-template-columns: 292px minmax(0, 1fr);
    }

    .sidebar {
      background: rgba(255,255,255,.88);
      color: var(--ink);
      border-right: 1px solid rgba(210,218,232,.86);
      box-shadow: 12px 0 32px rgba(26,34,61,.045);
      backdrop-filter: blur(18px);
      position: sticky;
      top: 0;
      min-height: 100vh;
    }

    .brand {
      padding: 8px;
      border-radius: 16px;
      transition: background var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium);
    }

    .brand:hover,
    .brand:focus,
    .brand:focus-visible {
      background: #fff;
      box-shadow: var(--shadow-soft);
      transform: translateY(-1px);
      outline: 3px solid rgba(31,111,183,.72);
      outline-offset: 2px;
    }

    .mark {
      border: 0;
      border-radius: 14px;
      color: #fff;
      background: linear-gradient(135deg, #006fff 0%, #1287ff 52%, #23bfd1 100%);
      box-shadow: 0 12px 24px rgba(0,111,255,.22);
    }

    .mark.has-logo {
      background: #fff;
      border: 1px solid var(--line);
    }

    .brand strong { color: var(--ink); font-size: 16px; }
    .brand span { color: var(--muted); }

    .app-version {
      border-color: rgba(0,111,255,.18);
      background: #eef6ff;
      color: #006fff;
    }

    .brand-readout {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(135deg, #fff, #f8fbff);
      padding: 12px;
      box-shadow: var(--shadow-soft);
    }

    .readout-item {
      border-left: 0;
      border-radius: 14px;
      padding: 10px;
      background: #f8fafc;
    }

    .readout-item.daily { background: linear-gradient(135deg, #f4f0ff, #fff); }
    .readout-item.weekly { background: linear-gradient(135deg, #eafaf4, #fff); }
    .readout-item.monthly { background: linear-gradient(135deg, #fff5e6, #fff); }
    .readout-item.recent { background: linear-gradient(135deg, #eaf9fb, #fff); }

    .readout-item strong {
      color: var(--ink);
      font-size: 18px;
    }

    .readout-item small,
    .readout-item span {
      color: var(--muted);
    }

    .bridge-control {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(135deg, #ffffff, #f7f9fe);
      color: var(--ink);
      box-shadow: var(--shadow-soft);
    }

    .bridge-control.active {
      background: linear-gradient(135deg, rgba(32,180,134,.16), #fff);
      border-color: rgba(32,180,134,.28);
    }

    .bridge-control.offline {
      background: linear-gradient(135deg, rgba(224,82,82,.10), #fff);
      border-color: rgba(224,82,82,.22);
    }

    .bridge-title strong { color: var(--ink); }
    .bridge-title span,
    .bridge-copy { color: var(--muted); }

    .nav {
      gap: 8px;
    }

    .nav button,
    .nav a {
      color: #2f3447;
      border-radius: 14px;
      padding: 12px 14px;
      font-weight: 760;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
    }

    .nav button::before,
    .nav a::before {
      content: "";
      width: 18px;
      height: 18px;
      border-radius: 5px;
      background: var(--nav-icon) center / contain no-repeat;
      flex: 0 0 auto;
      filter: drop-shadow(0 6px 10px rgba(0,111,255,.14));
      transform: scale(var(--lc-icon-art-scale));
      transform-origin: center;
      transition: transform var(--motion-fast) var(--ease-spring), filter var(--motion-fast) ease;
    }

    .nav [data-view-button="lead-suite"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/06-14-lono-diamond.svg"); }
    .nav [data-view-button="crm"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/04-01-crm-lead.svg"); }
    .nav [data-view-button="content"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/02-02-post-content.svg"); }
    .nav [data-view-button="history"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/02-01-review-request.svg"); }
    .nav [data-view-button="lead-generators"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/02-05-lead-generator.svg"); }
    .nav [data-view-button="calendar"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/02-07-schedule.svg"); }
    .nav [data-view-button="analytics"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/03-01-lono.svg"); }
    .nav [data-view-button="settings"] { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/05-07-private-data-safe.svg"); }
    .nav .nav-roadmap-entry { --nav-icon: url("assets/lono-icons/readable-v2/symbols-svg/06-16-lono-path.svg"); }

    .nav button.active,
    .nav button:hover,
    .nav a:hover {
      background: linear-gradient(135deg, rgba(0,111,255,.10), rgba(35,191,209,.08));
      color: #006fff;
      box-shadow: 0 16px 28px rgba(0,111,255,.10);
      transform: translateX(3px);
    }

    .nav button.active::before,
    .nav button:hover::before,
    .nav a:hover::before {
      transform: scale(var(--lc-icon-art-hover-scale));
      filter: drop-shadow(0 9px 16px rgba(0,111,255,.24));
    }

    .sidebar-foot {
      border-top: 1px solid var(--line);
      color: var(--muted);
      background: #fff;
      border-radius: 16px;
      padding: 14px;
      box-shadow: var(--shadow-soft);
    }

    main {
      padding: 26px;
      gap: 16px;
    }

    .prototype-view {
      gap: 18px;
    }

    .topbar,
    .lead-hero {
      border: 1px solid var(--line);
      border-left: 0;
      border-radius: 20px;
      background:
        linear-gradient(90deg, rgba(99,91,255,.06), transparent 38%),
        #fff;
      box-shadow: var(--shadow);
      padding: 22px 24px;
      position: relative;
      overflow: hidden;
    }

    .topbar::before,
    .lead-hero::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 6px;
      background: linear-gradient(180deg, #23bfd1, #635bff, #7c3aed);
    }

    .topbar h1,
    .lead-hero h1 {
      color: var(--ink);
      font-size: clamp(24px, 2.4vw, 34px);
      letter-spacing: 0;
    }

    .lead-hero p {
      color: var(--muted);
    }

    .lead-hero::after {
      width: 300px;
      height: 300px;
      inset: -140px -110px auto auto;
      background: radial-gradient(circle, rgba(99,91,255,.16), transparent 63%);
    }

    .status-strip {
      align-items: center;
    }

    .pill,
    .lead-tag,
    .lead-contact-link {
      border-color: var(--line);
      background: #fff;
      box-shadow: 0 6px 14px rgba(26,34,61,.045);
    }

    .metrics,
    .lead-kpi-row {
      gap: 14px;
    }

    .metric,
    .lead-kpi {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .lead-kpi {
      min-height: 112px;
      padding: 18px;
    }

    .metric::before,
    .lead-kpi::before {
      content: "";
      width: 54px;
      aspect-ratio: 1;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(99,91,255,.14), rgba(35,191,209,.18));
      position: absolute;
      right: 14px;
      top: 14px;
    }

    .metric.placeholder-card {
      min-height: 62px;
      border-style: solid;
      background: rgba(255,255,255,.74);
    }

    .lead-kpi span,
    .lead-card-label {
      color: #6f7787;
      letter-spacing: .06em;
    }

    .lead-kpi span {
      color: var(--muted);
      position: relative;
      z-index: 1;
    }

    .lead-kpi strong {
      color: var(--ink);
      font-size: 28px;
      position: relative;
      z-index: 1;
    }

    .board,
    .lead-grid,
    .workspace-grid,
    .analytics-grid {
      gap: 16px;
    }

    .panel,
    .lead-card,
    .workflow-card,
    .asset-card,
    .day-card,
    .scrape-card,
    .source-card,
    .detail,
    .search-assist {
      border-color: var(--line);
      border-radius: 18px;
      background: rgba(255,255,255,.92);
      box-shadow: var(--shadow-soft);
    }

    .panel {
      overflow: hidden;
    }

    .panel.content-zone,
    .panel.preview-zone,
    .panel.pipeline-zone {
      border-top: 0;
    }

    .panel.content-zone { box-shadow: inset 0 5px 0 rgba(99,91,255,.58), var(--shadow-soft); }
    .panel.preview-zone { box-shadow: inset 0 5px 0 rgba(32,180,134,.58), var(--shadow-soft); }
    .panel.pipeline-zone { box-shadow: inset 0 5px 0 rgba(124,58,237,.58), var(--shadow-soft); }

    .panel-head,
    .lead-card-head {
      background: linear-gradient(135deg, #ffffff, #f7f9ff);
      border-bottom-color: var(--line);
      padding: 16px 18px;
    }

    .panel.is-open .panel-head {
      background: linear-gradient(135deg, #f7f5ff, #fff);
    }

    .panel.is-collapsed {
      background: rgba(240,244,250,.86);
      border-color: #d7dfeb;
      box-shadow: none;
    }

    .panel.is-collapsed .panel-head {
      background: linear-gradient(135deg, #eaf0f8, #f6f8fc);
    }

    .panel-head h2,
    .lead-card-head h2,
    .lead-card-head h3 {
      font-size: 17px;
    }

    .panel-toggle,
    .icon-btn {
      border-radius: 12px;
    }

    .panel-toggle {
      color: #fff;
      background: #1f2937;
      border-color: #1f2937;
      min-width: 64px;
      min-height: 36px;
    }

    .panel-toggle:hover {
      color: #fff;
      background: #635bff;
      border-color: #635bff;
      box-shadow: 0 12px 20px rgba(99,91,255,.22);
    }

    .lead-card {
      overflow: hidden;
    }

    .lead-card:hover,
    .panel.is-collapsible:hover,
    .workflow-card:hover,
    .asset-card:hover,
    .day-card:hover,
    .scrape-card:hover,
    .source-card:hover,
    .detail:hover {
      border-color: #cbd5e6;
      box-shadow: var(--shadow-lift);
      transform: translateY(-2px);
    }

    .lead-rec,
    .lead-generator,
    .lead-crm-row,
    .lead-memory-row,
    .lead-stage,
    .lead-inbox-item,
    .blocker-item,
    .empty-state {
      border-color: var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 8px 18px rgba(26,34,61,.045);
    }

    .lead-rec.is-active {
      border-color: rgba(99,91,255,.38);
      background: linear-gradient(135deg, #f7f5ff, #fff);
      box-shadow: 0 18px 38px rgba(99,91,255,.12);
    }

    .lead-rank {
      border-radius: 13px;
      background: linear-gradient(135deg, #635bff, #7c3aed);
      box-shadow: 0 10px 20px rgba(99,91,255,.20);
    }

    .lead-score {
      border: 1px solid rgba(32,180,134,.22);
      background: #eafaf4;
      color: #087a58;
    }

    .lead-generator {
      border-left: 0;
      box-shadow: inset 4px 0 0 rgba(32,180,134,.52), 0 8px 18px rgba(26,34,61,.045);
    }

    .lead-page-mock {
      border: 0;
      border-radius: 22px;
      background:
        radial-gradient(circle at 86% 0%, rgba(255,255,255,.20), transparent 30%),
        linear-gradient(135deg, #7c3aed 0%, #635bff 52%, #23bfd1 100%);
      box-shadow: 0 18px 40px rgba(99,91,255,.24);
    }

    .lead-question,
    .lead-page-url {
      border-color: rgba(255,255,255,.26);
      background: rgba(255,255,255,.15);
      backdrop-filter: blur(10px);
    }

    .lead-progress-track {
      background: #eef2f7;
    }

    .lead-progress-track span,
    .bar i,
    .mini-chart-track i {
      background: linear-gradient(90deg, #635bff, #23bfd1);
    }

    .segmented {
      border-color: var(--line);
      border-radius: 14px;
      background: #f3f6fb;
      padding: 3px;
      gap: 3px;
    }

    .segmented button {
      border-right: 0;
      border-radius: 11px;
    }

    .segmented button.active {
      background: #1f2937;
      color: #fff;
      box-shadow: 0 10px 22px rgba(31,41,55,.18);
    }

    .btn,
    .lead-workspace-button,
    .lead-pill-button,
    .lead-status-button {
      border-radius: 13px;
      box-shadow: 0 6px 14px rgba(26,34,61,.045);
    }

    .btn.primary,
    .lead-workspace-button.active,
    .lead-pill-button.active {
      background: linear-gradient(135deg, #635bff, #286ee8);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 14px 24px rgba(99,91,255,.22);
    }

    .btn.good {
      background: linear-gradient(135deg, #20b486, #0f8d68);
      border-color: transparent;
    }

    .btn.warn {
      background: #fff0f0;
      border-color: #ffd2d2;
      color: #c33f3f;
    }

    .lead-workspace-button,
    .lead-pill-button {
      color: var(--ink);
      background: #fff;
      border-color: var(--line);
    }

    input,
    select,
    textarea,
    .lead-crm-toolbar input,
    .lead-crm-toolbar select,
    .lead-note-box textarea {
      border-radius: 14px;
      border-color: var(--line);
      background: #fff;
    }

    input:focus,
    select:focus,
    textarea:focus,
    .lead-crm-toolbar input:focus,
    .lead-crm-toolbar select:focus,
    .lead-note-box textarea:focus {
      border-color: rgba(99,91,255,.55);
      box-shadow: 0 0 0 4px rgba(99,91,255,.12);
    }

    th {
      background: #f8faff;
      color: #697386;
    }

    .toast {
      border-radius: 16px;
      background: #171827;
      box-shadow: 0 18px 40px rgba(23,24,39,.22);
    }

    .drawer,
    .schedule-dialog,
    .brand-dialog-preview {
      border-radius: 22px;
    }

    /* Full dashboard composition matching the LeadFlow-style reference. */
    .dashboard-welcome {
      min-height: 124px;
      align-items: center;
      padding: 26px 28px;
    }

    .dashboard-eyebrow {
      display: inline-flex;
      color: #667085;
      font-size: 12px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .05em;
      margin-bottom: 8px;
    }

    .dashboard-kpis {
      grid-template-columns: repeat(5, minmax(150px, 1fr));
      gap: 14px;
    }

    .dashboard-kpis .kpi-card {
      min-height: 132px;
      padding: 20px 18px 18px 92px;
      display: grid;
      align-content: center;
      gap: 7px;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(27, 35, 60, .06);
    }

    .dashboard-kpis .kpi-card::before {
      left: 20px;
      right: auto;
      top: 50%;
      width: 56px;
      transform: translateY(-50%);
      border-radius: 22px;
      background: #f3f0ff;
    }

    .dashboard-kpis .kpi-card::after,
    .lead-kpi::after {
      content: "";
      position: absolute;
      width: 22px;
      aspect-ratio: 1;
      left: 37px;
      top: 50%;
      transform: translateY(-50%);
      border-radius: 9px;
      background: currentColor;
      opacity: .88;
      clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 81% 95%, 50% 72%, 19% 95%, 31% 57%, 0 35%, 38% 35%);
    }

    .kpi-purple { color: #7c3aed; }
    .kpi-blue { color: #2f80ed; }
    .kpi-green { color: #22a66f; }
    .kpi-gold { color: #f59f22; }
    .kpi-cyan { color: #1aa8b8; }

    .dashboard-kpis .kpi-card span,
    .dashboard-kpis .kpi-card small {
      color: #667085;
      font-weight: 700;
    }

    .dashboard-kpis .kpi-card strong {
      color: #171827;
      font-size: 28px;
      line-height: 1;
    }

    .dashboard-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 18px;
      align-items: start;
    }

    .dashboard-main {
      display: grid;
      gap: 18px;
      min-width: 0;
    }

    .dashboard-side {
      display: grid;
      gap: 18px;
      min-width: 0;
    }

    .leadflow-overview {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, .78fr) 304px;
      gap: 16px;
      align-items: start;
    }

    .leadflow-overview .top-content-card {
      grid-column: span 1;
    }

    .leadflow-overview .setup-progress-card {
      grid-column: 3;
      grid-row: 1 / span 2;
    }

    .leadflow-overview .content-ready-card {
      grid-column: 1;
    }

    .leadflow-overview .approval-widget-card {
      grid-column: 2;
    }

    .leadflow-overview .scheduled-widget-card {
      grid-column: 3;
    }

    .leadflow-overview .posted-analytics-card {
      grid-column: 1;
    }

    .leadflow-overview .crm-table-card {
      grid-column: 2 / span 2;
    }

    .review-workspace {
      margin-top: 2px;
    }

    .dashboard-layout .board {
      grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
      gap: 18px;
    }

    .dashboard-layout .content-zone .panel-head {
      grid-template-columns: 1fr;
      align-items: start;
    }

    .dashboard-layout .content-zone .panel-actions {
      justify-content: flex-start;
      width: 100%;
    }

    .dashboard-layout .content-zone .segmented {
      min-width: min(100%, 320px);
    }

    .dashboard-card,
    .setup-progress-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(27, 35, 60, .06);
      padding: 16px;
      position: relative;
      isolation: isolate;
    }

    .lead-global-header {
      position: sticky;
      top: 0;
      z-index: 130;
      margin-bottom: 14px;
    }

    .prototype-view[data-view="lead-suite"] > .lead-suite-shell > .lead-app-header {
      display: none;
    }

    .content-discovery-page {
      display: grid;
      gap: 16px;
    }

    .content-media-workflow {
      display: grid;
      gap: 16px;
      padding: 18px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
    }

    .content-media-workflow-head,
    .content-media-actions,
    .content-media-format {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .content-media-workflow-head > div {
      display: grid;
      gap: 4px;
    }

    .content-media-workflow-head h2,
    .content-media-workflow-head p,
    .content-media-status,
    .content-media-preview p {
      margin: 0;
    }

    .content-media-workflow-head h2 {
      font-size: 20px;
    }

    .content-media-workflow-head p,
    .content-media-status,
    .content-media-preview p {
      color: #657383;
      font-size: 13px;
      line-height: 1.45;
    }

    .content-media-recommendation {
      display: grid;
      gap: 6px;
      color: #445266;
      font-size: 12px;
      font-weight: 800;
    }

    .content-media-recommendation select {
      width: 100%;
      min-height: 42px;
      border: 1px solid #cdd8e4;
      border-radius: 8px;
      padding: 9px 10px;
      background: #fff;
      color: #273244;
      font: inherit;
    }

    .content-media-choice-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .content-media-choice {
      position: relative;
      display: grid;
      gap: 8px;
      min-width: 0;
      min-height: 168px;
      padding: 14px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #fff;
      cursor: pointer;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .content-media-choice:has(input:checked) {
      border-color: #246bce;
      box-shadow: inset 0 0 0 1px #246bce;
    }

    .content-media-choice input {
      position: absolute;
      top: 12px;
      right: 12px;
    }

    .content-media-choice strong {
      padding-right: 22px;
      color: #223044;
      font-size: 14px;
    }

    .content-media-choice span,
    .content-media-choice small {
      color: #657383;
      line-height: 1.4;
    }

    .content-media-choice span {
      font-size: 12px;
    }

    .content-media-choice small {
      font-size: 11px;
    }

    .content-media-format {
      justify-content: flex-start;
    }

    .content-media-format label {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 38px;
      padding: 8px 10px;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      color: #31445b;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
    }

    .content-media-preview {
      display: grid;
      gap: 10px;
      max-width: 560px;
    }

    .content-media-preview img {
      display: block;
      width: 100%;
      aspect-ratio: 1;
      object-fit: contain;
      border: 1px solid #d6e0ea;
      border-radius: 8px;
      background: #f7f9fc;
    }

    .content-media-status.is-error {
      color: #b42318;
      font-weight: 700;
    }

    .content-media-status.is-approved {
      color: #18794e;
      font-weight: 800;
    }

    .content-media-progress {
      width: min(420px, 100%);
      height: 8px;
    }

    @media (max-width: 820px) {
      .content-media-choice-grid {
        grid-template-columns: 1fr;
      }

      .content-media-choice {
        min-height: 0;
      }

      .content-media-actions .btn {
        width: 100%;
      }
    }

    .content-request-card {
      display: grid;
      grid-template-columns: minmax(280px, .74fr) minmax(360px, 1fr);
      gap: 16px;
      align-items: stretch;
      border: 1px solid rgba(99,91,255,.18);
      border-radius: 22px;
      padding: 18px;
      background:
        linear-gradient(135deg, rgba(99,91,255,.08), transparent 42%),
        linear-gradient(315deg, rgba(35,191,209,.11), transparent 48%),
        #fff;
      box-shadow: 0 16px 36px rgba(27,35,60,.07);
    }

    .content-request-card h2 {
      margin: 0 0 8px;
      font-size: 24px;
      letter-spacing: 0;
    }

    .content-request-card p {
      margin: 0;
      color: #657089;
      line-height: 1.45;
      max-width: 620px;
    }

    .content-direction-examples {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 12px;
    }

    .content-direction-examples span {
      border-radius: 999px;
      padding: 6px 9px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(99,91,255,.12);
      color: #4f5f7a;
      font-size: 11px;
      font-weight: 850;
      box-shadow: 0 6px 14px rgba(27,35,60,.04);
    }

    .content-request-form {
      display: grid;
      gap: 10px;
      align-content: stretch;
    }

    .content-request-form label {
      display: grid;
      gap: 7px;
      color: #667085;
      font-size: 12px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .content-request-form textarea {
      min-height: 92px;
      resize: vertical;
      color: #1d2433;
      font-size: 14px;
      line-height: 1.4;
      text-transform: none;
      letter-spacing: 0;
    }

    .content-request-form .btn {
      justify-self: end;
      min-width: 190px;
    }

    .content-example-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .content-learning-card {
      display: grid;
      gap: 14px;
      border: 1px solid rgba(35,191,209,.22);
      border-radius: 20px;
      padding: 16px;
      background:
        linear-gradient(135deg, rgba(35,191,209,.1), transparent 45%),
        #fff;
      box-shadow: 0 14px 32px rgba(27,35,60,.06);
    }

    .content-learning-card.is-thinking {
      border-color: rgba(99,91,255,.42);
      box-shadow: 0 18px 42px rgba(99,91,255,.12);
    }

    .content-learning-card.is-updating .content-learning-summary,
    .content-learning-card.is-updating .content-intel-grid,
    .content-learning-card.is-updating .content-domain-panel,
    .content-learning-card.is-updating .content-match-panel,
    .content-learning-card.is-updating .content-caption-panel {
      opacity: .38;
      transform: translateY(4px);
      filter: blur(.7px);
    }

    .content-learning-steps {
      --learning-progress: 0%;
      position: relative;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .content-learning-bar {
      position: relative;
      overflow: hidden;
      height: 10px;
      border-radius: 999px;
      background: #e5edf6;
      box-shadow: inset 0 0 0 1px rgba(99,91,255,.08);
    }

    .content-learning-bar::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: var(--learning-progress, 0%);
      border-radius: inherit;
      background: linear-gradient(90deg, #635bff, #23bfd1, #20b486);
      box-shadow: 0 0 20px rgba(35,191,209,.3);
      transition: width 760ms cubic-bezier(.2,.8,.2,1);
    }

    .content-learning-phrase {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 22px;
      color: #334155;
      font-size: 12px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
      opacity: .82;
      transition: opacity 260ms var(--ease-premium), transform 260ms var(--ease-premium);
    }

    .content-learning-card.is-thinking .content-learning-phrase {
      animation: learningPhrase 900ms ease-in-out infinite alternate;
    }

    .content-learning-steps::before,
    .content-learning-steps::after {
      content: "";
      position: absolute;
      left: 8%;
      right: 8%;
      top: 50%;
      height: 3px;
      border-radius: 999px;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .content-learning-steps::before {
      background: #e4ebf4;
    }

    .content-learning-steps::after {
      right: auto;
      width: var(--learning-progress);
      max-width: 84%;
      background: linear-gradient(90deg, #635bff, #23bfd1, #20b486);
      box-shadow: 0 0 18px rgba(35,191,209,.28);
      transition: width 760ms cubic-bezier(.2,.8,.2,1);
    }

    .content-learning-steps span {
      position: relative;
      z-index: 1;
      overflow: hidden;
      border-radius: 999px;
      padding: 8px 10px;
      background: #f1f5fb;
      color: #5f6b7a;
      font-size: 11px;
      font-weight: 900;
      text-align: center;
    }

    .content-learning-steps span.is-active,
    .content-learning-steps span.is-done {
      color: #0f766e;
      background: #e8fbf5;
      box-shadow: inset 0 0 0 1px rgba(32,180,134,.22);
    }

    .content-learning-steps span.is-active::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
      animation: shimmer 1200ms ease-in-out infinite;
    }

    .content-learning-summary {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      border-radius: 18px;
      padding: 13px 14px;
      background:
        radial-gradient(circle at 86% 18%, rgba(35,191,209,.34), transparent 26%),
        linear-gradient(135deg, #111827, #1e4f82 62%, #256c91);
      color: #fff;
      transition: opacity 180ms var(--ease-premium), transform 180ms var(--ease-premium), filter 180ms var(--ease-premium);
    }

    .content-learning-summary::before {
      content: "AI";
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: linear-gradient(135deg, #23bfd1, #635bff);
      color: #fff;
      font-size: 13px;
      font-weight: 950;
      box-shadow: 0 12px 24px rgba(35,191,209,.22);
    }

    .content-learning-summary strong {
      color: #fff;
      font-size: 15px;
    }

    .content-learning-summary p {
      margin: 0;
      color: rgba(255,255,255,.72);
      line-height: 1.35;
      font-size: 13px;
      max-width: 92ch;
    }

    .strategy-mode-copy {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .strategy-mode-stats {
      display: grid;
      grid-template-columns: repeat(3, auto);
      gap: 8px;
      align-items: center;
    }

    .strategy-mode-stats span {
      display: grid;
      place-items: center;
      min-width: 54px;
      min-height: 42px;
      border-radius: 14px;
      background: rgba(255,255,255,.12);
      color: rgba(255,255,255,.72);
      font-size: 9px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .strategy-mode-stats strong {
      display: block;
      color: #fff;
      font-size: 14px;
      line-height: 1;
    }

    .content-learning-warning {
      display: inline-flex;
      width: fit-content;
      border-radius: 999px;
      padding: 5px 8px;
      background: #fff7ed;
      color: #b45309;
      font-size: 11px;
      font-weight: 850;
    }

    .content-intel-grid {
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 10px;
      align-items: stretch;
      transition: opacity 180ms var(--ease-premium), transform 180ms var(--ease-premium), filter 180ms var(--ease-premium);
    }

    .content-intel-grid > div {
      display: grid;
      gap: 7px;
      align-content: start;
      border: 0;
      border-radius: 0;
      padding: 2px 0 0;
      background: transparent;
    }

    .content-intel-grid span {
      color: #667085;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .content-chip-row,
    .content-title-list,
    .content-adjustment-list { display: none; }

    .content-chip-row b,
    .content-title-list b,
    .content-adjustment-list b {
      display: block;
      border-radius: 0;
      padding: 0;
      background: transparent;
      color: #205f9f;
      font-size: 10px;
      font-weight: 850;
    }

    .content-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 10px;
      align-content: start;
    }

    .content-chip-row b {
      position: relative;
      padding-left: 11px;
      color: #27628f;
    }

    .content-chip-row b::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #23bfd1;
      transform: translateY(-50%);
    }

    .content-title-list b {
      position: relative;
      padding: 8px 8px 8px 30px;
      color: #5746c7;
      border: 1px solid #e4ddff;
      border-radius: 12px;
      background: linear-gradient(135deg, #fff, #f7f4ff);
      line-height: 1.25;
    }

    .content-title-list b::before {
      content: attr(data-index);
      position: absolute;
      left: 8px;
      top: 8px;
      display: grid;
      place-items: center;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #ede9fe;
      color: #635bff;
      font-size: 9px;
      font-weight: 950;
    }

    .content-adjustment-list b {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      max-width: 100%;
      white-space: normal;
      overflow: hidden;
      color: #14724a;
      line-height: 1.25;
    }

    .content-adjustment-list b span {
      color: #647085;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .content-adjustment-list b em {
      color: #14724a;
      font-style: normal;
      font-size: 11px;
    }

    .content-research-status {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .content-research-status span {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      padding: 10px 12px;
      background: #eef7ff;
      color: #27628f;
      font-size: 11px;
      font-weight: 900;
      box-shadow: inset 0 0 0 1px rgba(35,191,209,.16);
    }

    .content-research-status span.is-active {
      background: #eef2ff;
      color: #4f46e5;
    }

    .content-research-status span.is-active::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
      animation: shimmer 900ms ease-in-out infinite;
    }

    .content-domain-panel,
    .content-caption-panel,
    .content-match-panel {
      display: grid;
      gap: 10px;
      border: 0;
      border-radius: 18px;
      padding: 12px;
      background:
        radial-gradient(circle at 88% 12%, rgba(35,191,209,.08), transparent 30%),
        linear-gradient(135deg, rgba(248,250,252,.86), rgba(255,255,255,.5));
      transition: opacity 180ms var(--ease-premium), transform 180ms var(--ease-premium), filter 180ms var(--ease-premium);
    }

    .content-panel-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: end;
    }

    .content-panel-head strong {
      font-size: 14px;
      color: #172033;
    }

    .content-panel-head span {
      color: #667085;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .content-domain-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(220px, 1fr));
      gap: 16px;
    }

    .content-lai-review-card {
      display: grid;
      gap: 14px;
      border: 1px solid rgba(32,180,134,.22);
      border-radius: 20px;
      padding: 16px;
      background:
        linear-gradient(135deg, rgba(32,180,134,.09), transparent 46%),
        #fff;
      box-shadow: 0 14px 32px rgba(27,35,60,.06);
    }

    .content-lai-review-summary {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .content-lai-review-summary span {
      display: grid;
      gap: 4px;
      border-radius: 14px;
      padding: 10px;
      background: #f8fbff;
      color: #667085;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
      box-shadow: inset 0 0 0 1px #dde8f4;
    }

    .content-lai-review-summary b {
      color: #142033;
      font-size: 18px;
      line-height: 1;
      letter-spacing: 0;
    }

    .content-lai-review-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .content-lai-review-item {
      display: grid;
      gap: 10px;
      min-height: 210px;
      border-radius: 16px;
      padding: 13px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
      box-shadow: inset 0 0 0 1px rgba(32,180,134,.16);
    }

    .content-lai-review-item h3 {
      margin: 0;
      color: #172033;
      font-size: 14px;
      line-height: 1.2;
    }

    .content-lai-review-item p {
      margin: 0;
      color: #59677d;
      font-size: 11px;
      line-height: 1.35;
    }

    .content-lai-review-meta,
    .content-lai-review-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .content-lai-review-meta span,
    .content-lai-review-tags span {
      border-radius: 999px;
      padding: 5px 8px;
      background: #eefaf4;
      color: #0f766e;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .content-lai-review-empty {
      border-radius: 16px;
      padding: 14px;
      background: #f8fbff;
      color: #59677d;
      font-size: 12px;
      line-height: 1.4;
      box-shadow: inset 0 0 0 1px #dde8f4;
    }

    .content-domain-card {
      --domain-hue: 197;
      --domain-score: 76;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      text-align: center;
      gap: 10px;
      min-height: 560px;
      border-radius: 24px;
      padding: 16px 14px;
      background:
        radial-gradient(circle at 50% -2%, hsla(var(--domain-hue), 92%, 58%, .28), transparent 32%),
        linear-gradient(180deg, hsl(var(--domain-hue) 92% 97%), #fff 50%, hsl(var(--domain-hue) 86% 98%));
      box-shadow:
        inset 0 0 0 1.5px hsla(var(--domain-hue), 78%, 54%, .32),
        0 16px 34px hsla(var(--domain-hue), 45%, 46%, .11);
      animation: view-enter 220ms var(--ease-premium) both;
      overflow: hidden;
    }

    .content-domain-card::before {
      content: "";
      align-self: center;
      width: 62px;
      height: 62px;
      border-radius: 18px;
      background:
        linear-gradient(135deg, hsl(var(--domain-hue) 82% 54%), hsl(calc(var(--domain-hue) + 34) 78% 54%));
      box-shadow: 0 14px 26px hsla(var(--domain-hue), 78%, 48%, .22);
      clip-path: polygon(50% 0, 92% 23%, 92% 76%, 50% 100%, 8% 76%, 8% 23%);
      margin-bottom: 4px;
    }

    .content-domain-card::after {
      content: attr(data-rank);
      position: absolute;
      right: 10px;
      top: 10px;
      display: grid;
      place-items: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(35,191,209,.13);
      color: #27628f;
      font-size: 10px;
      font-weight: 950;
    }

    .content-domain-card strong {
      color: #23304a;
      font-size: 15px;
      line-height: 1.25;
      text-align: center;
    }

    .content-domain-card p {
      margin: 0;
      color: #667085;
      font-size: 11px;
      line-height: 1.35;
      text-align: center;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .content-domain-card small {
      align-self: center;
      width: auto;
      border-radius: 999px;
      padding: 7px 12px;
      background: hsla(var(--domain-hue), 84%, 72%, .2);
      color: hsl(var(--domain-hue) 82% 28%);
      font-size: 10px;
      font-weight: 900;
    }

    .content-domain-meter {
      grid-column: 1 / -1;
      display: grid;
      gap: 5px;
      width: 100%;
      color: #667085;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .content-domain-meter i {
      position: relative;
      display: block;
      height: 7px;
      border-radius: 999px;
      background: #e8eef6;
      overflow: hidden;
    }

    .content-domain-meter i::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: calc(var(--domain-score) * 1%);
      border-radius: inherit;
      background: linear-gradient(90deg, hsl(var(--domain-hue) 82% 55%), #20b486);
    }

    .content-domain-memory {
      display: none;
      gap: 10px;
      border-radius: 18px;
      padding: 13px;
      background: linear-gradient(135deg, #f8fbff, #eefaff);
      box-shadow: inset 0 0 0 1px rgba(35,191,209,.16);
    }

    .content-domain-memory-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .content-domain-memory-head span {
      color: #667085;
      font-size: 11px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .content-domain-memory-head strong {
      color: #152238;
      font-size: 14px;
    }

    .content-domain-memory-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .content-domain-memory-item {
      display: grid;
      gap: 5px;
      border-radius: 14px;
      padding: 9px;
      background: #fff;
      box-shadow: inset 0 0 0 1px #dde8f4;
    }

    .content-domain-memory-item b {
      color: #1d2b38;
      font-size: 11px;
      line-height: 1.2;
    }

    .content-domain-memory-item span {
      color: #0f766e;
      font-size: 10px;
      font-weight: 900;
    }

    .content-domain-lock {
      justify-self: center;
      border-radius: 999px;
      padding: 4px 8px;
      background: #dcfce7;
      color: #047857;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .content-domain-proof {
      display: grid;
      gap: 5px;
      width: 100%;
      border-top: 1px solid hsla(var(--domain-hue), 70%, 48%, .16);
      border-bottom: 1px solid hsla(var(--domain-hue), 70%, 48%, .16);
      background: hsla(var(--domain-hue), 82%, 72%, .12);
      border-radius: 18px;
      padding: 10px;
      padding-top: 8px;
      text-align: center;
    }

    .content-domain-proof b {
      color: #1d2b38;
      font-size: 11px;
      line-height: 1.2;
    }

    .content-domain-proof span {
      color: #59677d;
      font-size: 9px;
      line-height: 1.25;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .content-domain-proof em {
      color: hsl(var(--domain-hue) 78% 32%);
      font-size: 9px;
      font-style: normal;
      font-weight: 900;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .content-domain-insight-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
    }

    .content-domain-caption,
    .content-domain-generator {
      display: grid;
      gap: 6px;
      border-radius: 16px;
      padding: 10px;
      background: rgba(255,255,255,.78);
      box-shadow: inset 0 0 0 1px hsla(var(--domain-hue), 70%, 48%, .14);
      text-align: left;
    }

    .content-domain-caption {
      grid-template-columns: minmax(0, 1fr) 42px;
      align-items: center;
      background:
        linear-gradient(135deg, rgba(255,255,255,.94), hsla(var(--domain-hue), 90%, 95%, .88));
    }

    .content-domain-caption span,
    .content-domain-generator span {
      color: hsl(var(--domain-hue) 70% 31%);
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .content-domain-caption b {
      display: block;
      margin-bottom: 4px;
      color: #4f46e5;
      font-size: 10px;
      line-height: 1.1;
    }

    .content-domain-caption p {
      margin: 0;
      color: #334155;
      font-size: 10px;
      line-height: 1.35;
      -webkit-line-clamp: 4;
      text-align: left;
    }

    .content-domain-caption-score {
      position: relative;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: conic-gradient(#20b486 calc(var(--caption-score, 82) * 1%), #e7edf5 0);
      color: #14724a;
      font-size: 10px;
      font-weight: 950;
    }

    .content-domain-caption-score::before {
      content: "";
      position: absolute;
      inset: 5px;
      border-radius: inherit;
      background: #fff;
    }

    .content-domain-caption-score i {
      position: relative;
      z-index: 1;
      font-style: normal;
    }

    .content-domain-generator {
      grid-template-columns: 1fr;
      align-items: stretch;
      background:
        linear-gradient(180deg, rgba(255,255,255,.94), hsla(var(--domain-hue), 92%, 95%, .72));
    }

    .content-domain-generator-copy {
      display: grid;
      gap: 4px;
      align-content: center;
      min-width: 0;
    }

    .content-domain-generator-copy strong {
      font-size: 11px;
      line-height: 1.15;
    }

    .content-domain-generator-copy p {
      font-size: 10px;
      line-height: 1.3;
      -webkit-line-clamp: 3;
    }

    .content-domain-flow-arrow {
      display: grid;
      place-items: center;
      min-height: 36px;
      color: hsl(var(--domain-hue) 78% 36%);
      font-size: 10px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .content-domain-flow-arrow::after {
      content: "";
      width: 0;
      height: 0;
      margin-top: 4px;
      border-left: 9px solid transparent;
      border-right: 9px solid transparent;
      border-top: 12px solid hsl(var(--domain-hue) 78% 50%);
      filter: drop-shadow(0 4px 8px hsla(var(--domain-hue), 78%, 40%, .18));
    }

    .content-domain-post {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      align-items: stretch;
      border-radius: 18px;
      padding: 9px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.92));
      box-shadow: inset 0 0 0 1px hsla(var(--domain-hue), 70%, 48%, .18);
      text-align: left;
    }

    .content-domain-post-art {
      position: relative;
      min-height: 150px;
      border-radius: 12px;
      overflow: hidden;
      background: var(--match-art, linear-gradient(135deg,#23bfd1,#635bff));
      background-size: cover;
      background-position: center;
    }

    .content-domain-post-art::after {
      content: attr(data-type);
      position: absolute;
      left: 6px;
      bottom: 6px;
      border-radius: 999px;
      padding: 3px 6px;
      background: rgba(9,16,31,.72);
      color: #fff;
      font-size: 9px;
      font-weight: 950;
    }

    .content-domain-post strong {
      display: block;
      font-size: 14px;
      margin-bottom: 6px;
      text-align: left;
    }

    .content-domain-post span {
      color: #647085;
      font-size: 10px;
    }

    .content-domain-post p {
      margin: 8px 0 0;
      color: #344054;
      font-size: 11px;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-align: left;
    }

    .content-domain-post em {
      display: inline-flex;
      width: fit-content;
      border-radius: 999px;
      padding: 4px 7px;
      background: #fff;
      color: hsl(var(--domain-hue) 78% 32%);
      font-size: 9px;
      font-style: normal;
      font-weight: 950;
      box-shadow: inset 0 0 0 1px hsla(var(--domain-hue), 70%, 48%, .16);
    }

    .content-caption-panel,
    .content-match-panel {
      display: none;
    }

    .content-domain-tags {
      display: none;
      flex-wrap: wrap;
      gap: 4px;
      position: relative;
      z-index: 1;
    }

    .content-domain-tags em {
      border-radius: 999px;
      padding: 3px 6px;
      background: rgba(255,255,255,.82);
      color: #4f46e5;
      font-size: 9px;
      font-style: normal;
      font-weight: 900;
    }

    .content-caption-list {
      display: grid;
      gap: 7px;
    }

    .content-caption-row {
      display: grid;
      grid-template-columns: auto 1fr 58px;
      gap: 10px;
      align-items: center;
      border: 0;
      border-radius: 0;
      padding: 8px 0;
      background: transparent;
      border-bottom: 1px solid #edf1f6;
      animation: view-enter 220ms var(--ease-premium) both;
    }

    .content-caption-row strong {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 12px;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      font-size: 10px;
      line-height: 1;
      text-align: center;
    }

    .content-caption-row p {
      margin: 0;
      color: #344054;
      font-size: 12px;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .content-caption-row p b {
      color: #4f46e5;
      font-size: 11px;
      margin-right: 4px;
    }

    .content-caption-row small {
      position: relative;
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      padding: 0;
      background: conic-gradient(#20b486 calc(var(--score, 80) * 1%), #e7edf5 0);
      color: #14724a;
      font-size: 10px;
      font-weight: 900;
      white-space: nowrap;
    }

    .content-caption-row small::before {
      content: "";
      position: absolute;
      inset: 5px;
      border-radius: inherit;
      background: #fff;
    }

    .content-caption-row small span {
      position: relative;
      z-index: 1;
    }

    .content-match-flow {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .content-match-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
      gap: 8px;
      align-items: stretch;
      animation: view-enter 220ms var(--ease-premium) both;
      border: 1px solid #e5eaf4;
      border-radius: 18px;
      padding: 8px;
      background: #fff;
      box-shadow: 0 12px 26px rgba(27,35,60,.06);
    }

    .content-match-tile {
      display: grid;
      gap: 5px;
      min-height: 126px;
      border-radius: 14px;
      padding: 9px;
      background: #f8fafc;
      border: 1px solid #e5eaf4;
      overflow: hidden;
    }

    .content-match-tile strong {
      color: #172033;
      font-size: 13px;
    }

    .content-match-tile span,
    .content-match-tile p {
      margin: 0;
      color: #667085;
      font-size: 11px;
      line-height: 1.35;
    }

    .content-match-generator {
      background: linear-gradient(135deg, #eef2ff, #e8fbf5);
      border-color: rgba(99,91,255,.18);
    }

    .content-match-post,
    .content-generator-preview-art {
      position: relative;
      min-height: 72px;
      border-radius: 12px;
      overflow: hidden;
      background: var(--match-art, linear-gradient(135deg,#23bfd1,#635bff));
      background-size: cover;
      background-position: center;
    }

    .content-match-post::after,
    .content-generator-preview-art::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 42%, rgba(9,16,31,.68));
    }

    .content-match-post b,
    .content-generator-preview-art b {
      position: absolute;
      left: 8px;
      bottom: 7px;
      z-index: 1;
      color: #fff;
      font-size: 11px;
      line-height: 1.1;
      text-shadow: 0 2px 8px rgba(0,0,0,.3);
    }

    .content-generator-preview-art {
      display: grid;
      align-content: end;
      gap: 6px;
      min-height: 104px;
      padding: 9px;
      background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,.72), transparent 20%),
        linear-gradient(135deg, #635bff, #23bfd1);
    }

    .content-generator-preview-art::before {
      content: attr(data-kind);
      position: absolute;
      top: 7px;
      right: 7px;
      z-index: 1;
      border-radius: 999px;
      padding: 4px 6px;
      background: rgba(255,255,255,.88);
      color: #4f46e5;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .content-generator-lines {
      display: grid;
      gap: 4px;
      position: relative;
      z-index: 1;
      width: 100%;
    }

    .content-generator-lines i {
      display: block;
      height: 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.78);
    }

    .content-generator-lines i:nth-child(2) { width: 78%; }
    .content-generator-lines i:nth-child(3) { width: 54%; }

    .content-generator-mini-form {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 4px;
      width: 100%;
    }

    .content-generator-mini-form i {
      display: block;
      height: 7px;
      border-radius: 999px;
      background: rgba(255,255,255,.72);
    }

    .content-generator-mini-form i:last-child {
      width: 62%;
      height: 12px;
      background: #fff;
      justify-self: end;
    }

    .content-generator-screen {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 5px;
      border-radius: 10px;
      padding: 7px;
      background: rgba(255,255,255,.92);
      box-shadow: 0 10px 18px rgba(10,20,40,.14);
    }

    .content-generator-screen strong {
      color: #172033;
      font-size: 9px;
      line-height: 1.1;
      position: static;
      text-shadow: none;
    }

    .content-generator-screen span {
      display: block;
      height: 5px;
      border-radius: 999px;
      background: #dbeafe;
    }

    .content-generator-screen span:nth-child(3) {
      width: 72%;
      background: #ccfbf1;
    }

    .content-generator-screen .mini-cta {
      border: 0;
      border-radius: 999px;
      padding: 4px 6px;
      background: linear-gradient(90deg, #0ea5e9, #14b8a6);
      color: #fff;
      font-size: 8px;
      font-weight: 950;
      text-align: center;
    }

    .content-generator-actual-thumb {
      position: relative;
      display: grid;
      overflow: hidden;
      min-height: 176px;
      border-radius: 14px;
      background: #fff;
      box-shadow:
        inset 0 0 0 1px rgba(219,228,240,.95),
        0 12px 24px rgba(27,35,60,.08);
    }

    .content-generator-actual-hero {
      min-height: 76px;
      display: grid;
      align-content: end;
      gap: 4px;
      padding: 10px;
      color: #fff;
      background:
        linear-gradient(180deg, rgba(17,24,39,.08), rgba(17,24,39,.66)),
        var(--generator-art, linear-gradient(135deg, #635bff, #23bfd1));
      background-size: cover;
      background-position: center;
    }

    .content-generator-actual-hero span {
      color: rgba(255,255,255,.82);
      font-size: 8px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .content-generator-actual-hero strong {
      color: #fff;
      font-size: 13px;
      line-height: 1.1;
      text-align: left;
      text-shadow: 0 2px 8px rgba(0,0,0,.3);
    }

    .content-generator-actual-body {
      display: grid;
      gap: 6px;
      padding: 9px;
      background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .content-generator-actual-field {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: center;
      border-radius: 9px;
      padding: 6px 7px;
      background: #f7fbff;
      box-shadow: inset 0 0 0 1px #e4edf8;
      color: #243148;
      font-size: 9px;
      font-weight: 900;
    }

    .content-generator-actual-field small {
      padding: 0;
      background: transparent;
      color: #64748b;
      font-size: 8px;
    }

    .content-generator-actual-cta {
      min-height: 24px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      font-size: 10px;
      font-weight: 950;
      box-shadow: 0 9px 18px rgba(99,91,255,.18);
    }

    .content-generator-actual-type {
      position: absolute;
      top: 8px;
      right: 8px;
      border-radius: 999px;
      padding: 4px 7px;
      background: rgba(255,255,255,.9);
      color: #4f46e5;
      font-size: 8px;
      font-weight: 950;
      text-transform: uppercase;
    }

    .content-match-connector {
      position: relative;
      align-self: center;
      height: 5px;
      border-radius: 999px;
      background: linear-gradient(90deg, #635bff, #23bfd1);
    }

    .content-match-connector::after {
      content: "";
      position: absolute;
      right: -1px;
      top: 50%;
      width: 0;
      height: 0;
      transform: translateY(-50%);
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 10px solid #23bfd1;
    }

    .content-example-card {
      position: relative;
      display: grid;
      grid-template-rows: 180px auto;
      gap: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 14px 32px rgba(27,35,60,.07);
      transition: transform 180ms var(--ease-premium), box-shadow 180ms var(--ease-premium), border-color 180ms var(--ease-premium);
      animation: view-enter 220ms var(--ease-premium) both;
    }

    .content-example-card:hover,
    .content-example-card.is-open {
      transform: translateY(-2px);
      border-color: rgba(99,91,255,.38);
      box-shadow: 0 18px 40px rgba(27,35,60,.11);
    }

    .content-example-media {
      position: relative;
      min-width: 0;
      overflow: hidden;
      background: #edf2f7;
    }

    .content-example-media img,
    .content-example-media video,
    .content-example-media iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border: 0;
    }

    .content-example-badge {
      position: absolute;
      left: 12px;
      top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      padding: 6px 9px;
      background: rgba(255,255,255,.92);
      color: #182235;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(20,30,52,.12);
    }

    .content-example-body {
      display: grid;
      gap: 9px;
      padding: 14px;
    }

    .content-example-body h3 {
      margin: 0;
      font-size: 15px;
      line-height: 1.25;
    }

    .content-example-body p {
      margin: 0;
      color: #647085;
      font-size: 13px;
      line-height: 1.38;
    }

    .content-example-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .content-example-meta span {
      display: inline-flex;
      border-radius: 999px;
      padding: 5px 8px;
      background: #f3f6fb;
      color: #344054;
      font-size: 11px;
      font-weight: 850;
    }

    .content-example-detail {
      display: none;
      gap: 8px;
      padding-top: 8px;
      border-top: 1px solid #edf1f6;
    }

    .content-example-card.is-open .content-example-detail {
      display: grid;
      animation: view-enter 180ms var(--ease-premium) both;
    }

    .content-example-detail strong {
      font-size: 12px;
      color: #20283a;
    }

    .content-example-detail small {
      color: #667085;
      font-size: 12px;
      line-height: 1.35;
    }

    .content-example-source {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      border-radius: 999px;
      padding: 6px 9px;
      background: #eef2ff;
      color: #4f46e5;
      font-size: 11px;
      font-weight: 900;
      text-decoration: none;
      transition: transform 160ms var(--ease-premium), background 160ms var(--ease-premium);
    }

    .content-example-source:hover {
      transform: translateY(-1px);
      background: #e0e7ff;
    }

    .content-example-card.is-loading {
      min-height: 330px;
      background: linear-gradient(90deg, #f4f7fb, #ffffff, #f4f7fb);
      background-size: 220% 100%;
      animation: shimmer 900ms ease-in-out infinite;
    }

    @keyframes shimmer {
      from { background-position: 100% 0; }
      to { background-position: -100% 0; }
    }

    @keyframes learningPhrase {
      from { opacity: .55; transform: translateY(1px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .setup-progress-card {
      background:
        radial-gradient(circle at 86% 8%, rgba(255,255,255,.28), transparent 25%),
        linear-gradient(135deg, #7c3aed 0%, #635bff 58%, #5b43d6 100%);
      color: #fff;
      display: grid;
      gap: 16px;
      box-shadow: 0 22px 42px rgba(99,91,255,.25);
    }

    .setup-progress-card .dashboard-eyebrow,
    .setup-progress-card p {
      color: rgba(255,255,255,.78);
      margin: 0;
    }

    .setup-progress-card h2 {
      margin: 2px 0 6px;
      color: #fff;
      font-size: 20px;
    }

    .setup-progress-track {
      height: 9px;
      background: rgba(255,255,255,.22);
      border-radius: 999px;
      overflow: hidden;
    }

    .setup-progress-track span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: #fff;
    }

    .setup-list {
      display: grid;
      gap: 10px;
      font-size: 13px;
      font-weight: 750;
    }

    .setup-list > span {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      color: rgba(255,255,255,.72);
    }

    .setup-list > span::before {
      content: "";
      width: 20px;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.48);
      background: transparent;
    }

    .setup-list > span.done {
      color: #fff;
    }

    .setup-list > span.done::before {
      content: "âœ“";
      display: grid;
      place-items: center;
      border: 0;
      background: #fff;
      color: #635bff;
      font-weight: 900;
      font-size: 12px;
    }

    .setup-progress-card .btn {
      background: #fff;
      color: #635bff;
      border: 0;
      font-weight: 850;
      justify-content: center;
      box-shadow: none;
    }

    .dashboard-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .dashboard-card-head h2 {
      margin: 0;
      font-size: 16px;
      display: flex;
      gap: 8px;
      align-items: center;
      min-width: 0;
    }

    .dashboard-card-head h2::before,
    .analytics-panel-head::before {
      content: "";
      width: 16px;
      aspect-ratio: 1;
      flex: 0 0 auto;
      border-radius: 6px;
      clip-path: polygon(50% 0, 92% 23%, 92% 76%, 50% 100%, 8% 76%, 8% 23%);
      background: linear-gradient(135deg, hsl(var(--diamond-hue, 197) 82% 54%), hsl(calc(var(--diamond-hue, 197) + 34) 78% 54%));
      box-shadow: 0 0 18px rgba(35,191,209,.3);
    }

    .dashboard-card-head h2 span {
      color: #667085;
      font-size: 13px;
      font-weight: 750;
    }

    .top-content-strip {
      display: grid;
      grid-template-columns: repeat(5, minmax(82px, 1fr));
      gap: 12px;
    }

    .top-content-item {
      display: grid;
      gap: 7px;
      min-width: 0;
    }

    .top-content-thumb {
      position: relative;
      aspect-ratio: 1.02;
      border-radius: 12px;
      overflow: hidden;
      background: #edf2f7;
      border: 1px solid #edf1f6;
    }

    .top-content-thumb img,
    .top-content-thumb video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .top-content-thumb .mock-visual {
      width: 100%;
      height: 100%;
      display: grid;
      place-items: center;
      padding: 8px;
      text-align: center;
      background: linear-gradient(135deg, #edf2ff, #f5fff9);
      color: #1f2937;
      font-size: 12px;
    }

    .lead-dashboard-thumb {
      display: grid;
      place-items: center;
      padding: 10px;
      text-align: center;
    }

    .lead-dashboard-thumb strong {
      color: #1f2937;
      font-size: 12px;
      line-height: 1.12;
      max-width: 100%;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
    }

    .social-badge {
      position: absolute;
      right: 6px;
      top: 6px;
      width: 22px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: #fff;
      background: #2f80ed;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 4px 8px rgba(16,24,40,.16);
    }

    .social-badge.instagram {
      background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    }

    .top-content-item strong {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
    }

    .top-content-item small {
      color: #667085;
      font-size: 11px;
    }

    .top-content-metrics {
      display: flex;
      gap: 10px;
      color: #343b4f;
      font-size: 11px;
      font-weight: 750;
    }

    .content-ready-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .content-ready-grid article {
      min-height: 156px;
      border-radius: 15px;
      padding: 16px;
      display: grid;
      gap: 8px;
      align-content: center;
      background: linear-gradient(135deg, #fbf7ff, #fff);
      border: 1px solid #edf1f6;
    }

    .content-ready-grid article:nth-child(2) {
      background: linear-gradient(135deg, #effdfc, #fff);
    }

    .content-ready-grid span {
      color: #344054;
      font-size: 12px;
      font-weight: 850;
    }

    .content-ready-grid strong {
      color: #171827;
      font-size: 34px;
      line-height: 1;
    }

    .content-ready-grid small {
      color: #667085;
      font-size: 12px;
      margin-bottom: 4px;
    }

    .dashboard-approval-list {
      display: grid;
      gap: 12px;
    }

    .dashboard-approval-item {
      display: grid;
      grid-template-columns: 54px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .dashboard-approval-thumb {
      width: 54px;
      aspect-ratio: 1;
      overflow: hidden;
      border-radius: 11px;
      background: #edf2f7;
      border: 1px solid #edf1f6;
    }

    .dashboard-approval-thumb img,
    .dashboard-approval-thumb video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .dashboard-approval-thumb .mock-visual {
      height: 100%;
      display: grid;
      place-items: center;
      padding: 4px;
      font-size: 10px;
      text-align: center;
      background: linear-gradient(135deg, #edf2ff, #fff7ed);
    }

    .dashboard-approval-item strong {
      display: block;
      font-size: 13px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .dashboard-approval-item span {
      color: #667085;
      font-size: 11px;
    }

    .dashboard-approval-item .btn {
      min-height: 30px;
      padding: 5px 12px;
      font-size: 12px;
      color: #0f8d68;
      border-color: #bdeedc;
      background: #f4fffa;
      box-shadow: none;
    }

    .text-link-button {
      border: 0;
      background: transparent;
      color: #635bff;
      font: inherit;
      font-size: 12px;
      font-weight: 850;
      cursor: pointer;
      padding: 6px;
      border-radius: 10px;
      transition: background var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .text-link-button:hover {
      background: #f1efff;
      transform: translateY(-1px);
    }

    .generator-table,
    .recent-leads {
      display: grid;
      gap: 4px;
    }

    .generator-table div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 72px 62px 52px;
      gap: 8px;
      align-items: center;
      padding: 9px 0;
      border-bottom: 1px solid #edf1f6;
      font-size: 12px;
    }

    .generator-table div:last-child,
    .recent-leads div:last-child {
      border-bottom: 0;
    }

    .generator-table strong {
      position: relative;
      padding-left: 28px;
    }

    .generator-table strong::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 20px;
      aspect-ratio: 1;
      transform: translateY(-50%);
      border-radius: 7px;
      background:
        linear-gradient(135deg, hsl(var(--generator-hue, 260) 82% 62%), hsl(calc(var(--generator-hue, 260) + 38) 84% 58%));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
    }

    .generator-table span,
    .generator-table b,
    .generator-table em {
      color: #667085;
      font-style: normal;
      font-weight: 750;
      text-align: right;
    }

    .mini-calendar {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;
      text-align: center;
      align-items: center;
    }

    .mini-calendar span {
      color: #8a94a6;
      font-size: 10px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .mini-calendar b {
      min-height: 30px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 750;
      color: #33384c;
      position: relative;
    }

    .mini-calendar b.active {
      background: #635bff;
      color: #fff;
      box-shadow: 0 10px 18px rgba(99,91,255,.22);
    }

    .mini-calendar b.has-dot::after {
      content: "";
      position: absolute;
      bottom: 3px;
      width: 4px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #635bff;
    }

    .recent-leads div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 2px 8px;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid #edf1f6;
    }

    .recent-leads span {
      grid-column: 1;
      color: #667085;
      font-size: 12px;
    }

    .recent-leads em {
      grid-column: 2;
      grid-row: 1 / span 2;
      border-radius: 999px;
      background: #eef2ff;
      color: #4658d8;
      padding: 5px 8px;
      font-size: 11px;
      font-style: normal;
      font-weight: 850;
    }

    .recent-leads em.warm {
      background: #fff5e6;
      color: #a25b00;
    }

    .recent-leads em.good {
      background: #eafaf4;
      color: #087a58;
    }

    .posted-stat-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 14px;
    }

    .posted-stat-row span {
      display: grid;
      gap: 3px;
      color: #667085;
      font-size: 12px;
      border-right: 1px solid #edf1f6;
    }

    .posted-stat-row span:last-child {
      border-right: 0;
    }

    .posted-stat-row strong {
      color: #171827;
      font-size: 21px;
      line-height: 1;
    }

    .posted-stat-row em {
      color: #10a66a;
      font-style: normal;
      font-weight: 850;
      font-size: 11px;
    }

    .dashboard-line-chart {
      height: 88px;
      border-radius: 14px;
      background:
        linear-gradient(180deg, rgba(99,91,255,.14), rgba(99,91,255,0)),
        linear-gradient(90deg, transparent, transparent);
      position: relative;
      overflow: hidden;
    }

    .dashboard-line-chart::before {
      content: "";
      position: absolute;
      inset: 30px 12px 28px;
      border-bottom: 4px solid rgba(99,91,255,.72);
      border-radius: 50%;
      transform: skewX(-18deg);
    }

    .dashboard-line-chart i {
      position: absolute;
      width: 9px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #635bff;
      box-shadow: 0 0 0 4px #fff;
    }

    .dashboard-crm-table {
      display: grid;
      gap: 0;
    }

    .dashboard-crm-head,
    .dashboard-crm-row {
      display: grid;
      grid-template-columns: minmax(124px, 1fr) .68fr .84fr .58fr .62fr;
      gap: 8px;
      align-items: center;
      padding: 7px 0;
      border-bottom: 1px solid #edf1f6;
      font-size: 11px;
    }

    .dashboard-crm-head {
      color: #667085;
      font-size: 11px;
      font-weight: 850;
      text-transform: uppercase;
    }

    .dashboard-crm-row:last-child {
      border-bottom: 0;
    }

    .dashboard-crm-person {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      gap: 6px;
      align-items: center;
    }

    .lead-avatar {
      width: 26px;
      aspect-ratio: 1;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #dbeafe, #f5d0fe);
      color: #4f46e5;
      font-weight: 900;
      font-size: 10px;
    }

    .dashboard-crm-person strong {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-status-pill {
      justify-self: start;
      border-radius: 999px;
      padding: 4px 8px;
      background: #eef2ff;
      color: #4658d8;
      font-weight: 850;
      font-size: 10px;
      white-space: nowrap;
    }

    .lead-status-pill.contacted {
      background: #fff5e6;
      color: #a25b00;
    }

    .lead-status-pill.qualified {
      background: #eafaf4;
      color: #087a58;
    }

    .lead-value {
      color: #0f8d68;
      font-weight: 900;
    }

    .lead-workspace-overview {
      position: relative;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      align-items: start;
    }

    .lead-widget-flow-arrow {
      position: absolute;
      left: var(--flow-x, 0px);
      top: var(--flow-y, 0px);
      width: var(--flow-width, 0px);
      height: 30px;
      transform: rotate(var(--flow-angle, 0deg));
      transform-origin: 0 50%;
      pointer-events: none;
      z-index: 30;
      opacity: 0;
      transition: opacity var(--motion-base) var(--ease-premium), left var(--motion-base) var(--ease-premium), top var(--motion-base) var(--ease-premium), width var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-premium);
    }

    .lead-widget-flow-arrow.is-visible {
      opacity: 1;
    }

    .lead-widget-flow-arrow-line {
      position: absolute;
      left: 0;
      right: 18px;
      top: 50%;
      height: 10px;
      transform: translateY(-50%);
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(99,91,255,.08), rgba(35,191,209,.6), rgba(99,91,255,.92));
      overflow: hidden;
      box-shadow: 0 10px 20px rgba(99,91,255,.16);
    }

    .lead-widget-flow-arrow-line::before {
      content: "";
      position: absolute;
      inset: 0;
      width: 36%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92), rgba(255,255,255,0));
    }

    .lead-widget-flow-arrow.is-playing .lead-widget-flow-arrow-line::before {
      animation: leadWidgetArrowTravel 980ms var(--ease-premium) 3;
    }

    .lead-widget-flow-arrow-head {
      position: absolute;
      right: 0;
      top: 50%;
      width: 0;
      height: 0;
      transform: translateY(-50%);
      border-top: 13px solid transparent;
      border-bottom: 13px solid transparent;
      border-left: 18px solid #635bff;
      filter: drop-shadow(0 4px 10px rgba(99,91,255,.28));
    }

    .lead-widget-flow-arrow.is-playing .lead-widget-flow-arrow-head {
      animation: leadWidgetArrowHead 980ms var(--ease-premium) 3;
    }

    @keyframes leadWidgetArrowTravel {
      0% { transform: translateX(-120%); opacity: 0; }
      20% { opacity: .85; }
      78% { opacity: .85; }
      100% { transform: translateX(285%); opacity: 0; }
    }

    @keyframes leadWidgetArrowHead {
      0%, 100% { transform: translateY(-50%) translateX(-2px); opacity: .72; }
      50% { transform: translateY(-50%) translateX(2px); opacity: 1; }
    }

    .dashboard-step-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 22px;
      padding: 4px 8px;
      margin-right: 7px;
      border-radius: 999px;
      background: #eef2ff;
      color: #4f46e5;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .04em;
      text-transform: uppercase;
      vertical-align: middle;
      white-space: nowrap;
    }

    .lead-workspace-overview .caption-options-card {
      grid-column: 2;
      grid-row: 1;
    }

    .lead-workspace-overview .top-content-card {
      grid-column: 1;
      grid-row: 1;
    }

    .lead-workspace-overview .content-ready-card {
      grid-column: 1;
      grid-row: 4;
    }

    .lead-workspace-overview .approval-widget-card {
      grid-column: 1;
      grid-row: 2;
    }

    .lead-workspace-overview .setup-progress-card {
      grid-column: 3;
      grid-row: 4;
    }

    .lead-workspace-overview .scheduled-widget-card {
      grid-column: 3;
      grid-row: 1;
    }

    .lead-workspace-overview .crm-table-card {
      grid-column: 2 / span 2;
      grid-row: 2;
    }

    .lead-workspace-overview .dashboard-card,
    .lead-workspace-overview .setup-progress-card,
    .lead-generator-preview-card {
      border-radius: 16px;
      padding: 14px;
      background:
        linear-gradient(rgba(255,255,255,.72) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.68) 1px, transparent 1px),
        radial-gradient(circle at 8% 0%, rgba(35,191,209,.13), transparent 30%),
        radial-gradient(circle at 96% 18%, rgba(99,91,255,.11), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,.9), rgba(241,248,255,.88) 58%, rgba(246,242,255,.9));
      background-size: 30px 30px, 30px 30px, auto, auto, auto;
      border-color: rgba(99,91,255,.2);
    }

    .lead-workspace-overview .setup-progress-card {
      gap: 10px;
      min-height: 0;
    }

    .lead-workspace-overview .setup-progress-card h2 {
      font-size: 17px;
      margin-bottom: 2px;
    }

    .lead-workspace-overview .setup-progress-card p {
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-workspace-overview .setup-list {
      gap: 6px;
    }

    .lead-generator-view-grid {
      display: grid;
      grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
      gap: 16px;
      align-items: start;
    }

    .lead-generator-performance-card .generator-table {
      gap: 2px;
    }

    .lead-generator-performance-card .generator-table div {
      padding: 10px 0;
    }

    .lead-generator-metric-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .lead-generator-command-grid {
      margin-bottom: 14px;
    }

    .lead-generator-metric {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: var(--shadow-soft);
      padding: 12px;
    }

    .lead-generator-metric i {
      width: 42px;
      aspect-ratio: 1;
      border-radius: 14px;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      box-shadow: 0 12px 24px rgba(99,91,255,.18);
    }

    .lead-generator-metric span {
      color: #667085;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .lead-generator-metric strong {
      display: block;
      color: #171827;
      font-size: 21px;
      line-height: 1.05;
    }

    .lead-generator-metric em {
      color: #087a58;
      font-size: 11px;
      font-style: normal;
      font-weight: 850;
    }

    .lead-generator-builder-list {
      display: grid;
      gap: 14px;
      min-width: 0;
    }

    .lead-generator-builder-card {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: var(--shadow-soft);
      padding: 14px;
      display: grid;
      gap: 12px;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .lead-generator-builder-card:hover {
      transform: translateY(-1px);
      border-color: rgba(99,91,255,.24);
      box-shadow: 0 18px 34px rgba(27,35,60,.09);
    }

    .lead-generator-builder-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .lead-generator-builder-head h2 {
      margin: 2px 0 3px;
      font-size: 18px;
    }

    .lead-generator-builder-head p {
      margin: 0;
      color: #667085;
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-generator-builder-body {
      display: grid;
      grid-template-columns: minmax(260px, .9fr) minmax(280px, 1fr);
      gap: 12px;
      align-items: start;
    }

    .lead-generator-editor {
      display: grid;
      gap: 9px;
      border: 1px solid #edf1f6;
      border-radius: 14px;
      background: #fbfcff;
      padding: 10px;
    }

    .lead-generator-editor label {
      display: grid;
      gap: 5px;
      color: #667085;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .lead-generator-editor input,
    .lead-generator-editor textarea,
    .lead-generator-editor select {
      width: 100%;
      min-width: 0;
      border: 1px solid #dbe4f0;
      border-radius: 10px;
      background: #fff;
      color: #171827;
      font: inherit;
      font-size: 12px;
      padding: 8px 9px;
      outline: none;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .lead-generator-editor textarea {
      min-height: 74px;
      resize: vertical;
    }

    .lead-generator-editor input:focus,
    .lead-generator-editor textarea:focus,
    .lead-generator-editor select:focus {
      border-color: rgba(99,91,255,.54);
      box-shadow: 0 0 0 3px rgba(99,91,255,.12);
    }

    .lead-generator-edit-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-generator-question-editor {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .lead-generator-question-editor input {
      flex: 1 1 140px;
    }

    .lead-generator-preview-frame {
      overflow: hidden;
      border: 1px solid #dbe4f0;
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 14px 28px rgba(27,35,60,.08);
    }

    .lead-generator-preview-hero {
      min-height: 168px;
      display: grid;
      align-content: end;
      gap: 8px;
      padding: 16px;
      color: #fff;
      background:
        linear-gradient(180deg, rgba(17,24,39,0), rgba(17,24,39,.64)),
        var(--generator-art, linear-gradient(135deg, #635bff, #23bfd1));
      background-size: cover;
      background-position: center;
    }

    .lead-generator-preview-hero h3 {
      margin: 0;
      font-size: 20px;
      line-height: 1.1;
      text-shadow: 0 2px 8px rgba(0,0,0,.28);
    }

    .lead-generator-preview-hero p {
      margin: 0;
      max-width: 560px;
      color: rgba(255,255,255,.9);
      font-size: 12px;
      line-height: 1.35;
    }

    .lead-generator-preview-body {
      display: grid;
      gap: 9px;
      padding: 12px;
    }

    .lead-generator-preview-field {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: center;
      border: 1px solid #edf1f6;
      border-radius: 11px;
      background: #fbfcff;
      padding: 8px 10px;
      color: #343b4f;
      font-size: 12px;
      font-weight: 850;
    }

    .lead-generator-preview-cta {
      min-height: 36px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      font-size: 13px;
      font-weight: 950;
      box-shadow: 0 12px 24px rgba(99,91,255,.22);
    }

    .lead-generator-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
    }

    .lead-setup-control {
      position: relative;
      display: grid;
      z-index: 240;
    }

    .lead-setup-pill {
      min-width: 230px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 5px 10px;
      align-items: center;
      border: 1px solid rgba(35,128,214,.42);
      border-radius: 999px;
      background: linear-gradient(135deg, #1769d1, #23bfd1);
      color: #fff;
      padding: 8px 12px;
      font: inherit;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(35,128,214,.2);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .lead-setup-pill:hover {
      transform: translateY(-1px);
      border-color: rgba(35,128,214,.72);
      box-shadow: 0 18px 34px rgba(35,128,214,.28);
    }

    .lead-setup-pill span {
      color: #fff;
      font-size: 12px;
      font-weight: 900;
    }

    .lead-setup-pill strong {
      color: rgba(255,255,255,.94);
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .lead-setup-pill em {
      grid-column: 1 / -1;
      height: 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.26);
      overflow: hidden;
      display: block;
    }

    .lead-setup-pill i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: #fff;
    }

    .lead-setup-popover {
      position: absolute;
      z-index: 260;
      top: calc(100% + 10px);
      right: 0;
      width: min(360px, calc(100vw - 32px));
      transform: translateY(-6px) scale(.98);
      transform-origin: top right;
      border: 1px solid rgba(198, 212, 232, .9);
      border-radius: 18px;
      background:
        radial-gradient(circle at 100% 0%, rgba(0,111,255,.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,255,.96));
      box-shadow: 0 22px 56px rgba(13, 39, 90, .16);
      padding: 12px;
      display: grid;
      gap: 10px;
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-spring);
    }

    .lead-setup-control.is-open .lead-setup-popover {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }

    .lead-setup-popover .setup-list {
      color: #182438;
      gap: 7px;
    }

    .lead-setup-popover-meter {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 6px 10px;
      align-items: center;
      color: #182438;
      font-size: 12px;
      font-weight: 900;
    }

    .lead-setup-popover-meter span,
    .lead-setup-popover-meter strong {
      color: #182438;
    }

    .lead-setup-popover-meter em {
      grid-column: 1 / -1;
      height: 8px;
      border-radius: 999px;
      background: #e5eefb;
      overflow: hidden;
    }

    .lead-setup-popover-meter i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #006fff, #22bfd6);
      box-shadow: 0 0 18px rgba(0,111,255,.18);
    }

    .lead-setup-popover .setup-list > span {
      color: #30405a;
      font-size: 12px;
      background: #f7fbff;
      border-color: #dce8f8;
    }

    .lead-setup-popover .setup-list button,
    .lead-setup-popover .setup-email-shortcut {
      width: 100%;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      border: 1px solid #d8e5f6;
      border-radius: 12px;
      background: #ffffff;
      color: #182438;
      padding: 8px;
      font: inherit;
      font-size: 12px;
      font-weight: 850;
      text-align: left;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .lead-setup-popover .setup-list button:hover,
    .lead-setup-popover .setup-email-shortcut:hover {
      transform: translateX(2px);
      border-color: rgba(0,111,255,.26);
      background: #f3f8ff;
    }

    .lead-setup-popover .setup-step-copy {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .lead-setup-popover .setup-step-copy b,
    .lead-setup-popover .setup-step-copy small {
      display: block;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .lead-setup-popover .setup-step-copy small {
      color: #64748b;
      font-size: 10px;
      font-weight: 750;
    }

    .lead-setup-popover .setup-list button::before,
    .lead-setup-popover .setup-email-shortcut::before {
      content: "";
      width: 16px;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 1px solid #9fc4f5;
      background: #edf6ff;
    }

    .lead-setup-popover .setup-list button.done::before,
    .lead-setup-popover .setup-email-shortcut.done::before {
      content: "\2713";
      display: grid;
      place-items: center;
      background: #e8f7ef;
      color: #087a58;
      font-size: 10px;
      font-weight: 900;
    }

    .lead-setup-popover .setup-list > span::before {
      border-color: #9fc4f5;
      background: #edf6ff;
    }

    .lead-setup-popover .setup-list > span.done {
      color: #182438;
    }

    .lead-setup-popover .setup-list > span.done::before {
      background: #e8f7ef;
      color: #087a58;
    }

    .lead-setup-popover .btn {
      border-color: rgba(0,111,255,.18);
      background: #fff;
      color: #006fff;
      box-shadow: 0 12px 24px rgba(0,111,255,.12);
    }

    .top-content-strip,
    .content-today-list,
    .caption-option-list {
      display: grid;
      gap: 8px;
    }

    .top-content-strip,
    .caption-option-list {
      grid-template-columns: 1fr;
      max-height: 560px;
      overflow-y: auto;
      padding-right: 4px;
      scrollbar-width: thin;
    }

    .caption-choice-connector {
      display: grid;
      place-items: center;
      gap: 2px;
      color: #4f46e5;
      font-size: 11px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
      padding: 2px 0 0;
    }

    .caption-choice-connector::before {
      content: "";
      width: 2px;
      height: 18px;
      border-radius: 999px;
      background: linear-gradient(180deg, #23bfd1, #635bff);
    }

    .caption-choice-connector::after {
      content: "";
      width: 0;
      height: 0;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-top: 7px solid #635bff;
    }

    .content-choice-connector {
      margin: -2px 0 2px;
    }

    .schedule-directive {
      padding: 0;
      font-size: 10px;
      justify-items: start;
      place-items: start;
    }

    .schedule-directive::before {
      height: 14px;
      margin-left: 18px;
    }

    .schedule-directive::after {
      margin-left: 13px;
      border-left-width: 5px;
      border-right-width: 5px;
      border-top-width: 6px;
    }

    .content-suggestion,
    .content-today-item,
    .caption-option,
    .selected-post-preview,
    .scheduled-focus,
    .crm-lead-detail {
      border: 1px solid #edf1f6;
      border-radius: 14px;
      background: #fbfcff;
      padding: 10px;
    }

    .content-suggestion {
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .content-suggestion:hover {
      transform: translateY(-1px);
      border-color: rgba(99,91,255,.32);
      box-shadow: 0 12px 22px rgba(99,91,255,.08);
    }

    .content-suggestion.is-active {
      background: linear-gradient(135deg, #f7f5ff, #fff);
      border-color: rgba(99,91,255,.44);
      box-shadow: 0 16px 30px rgba(99,91,255,.12);
    }

    .content-rank {
      width: 92px;
      height: 72px;
      border-radius: 12px;
      display: grid;
      place-items: end start;
      background: var(--suggestion-art, linear-gradient(135deg, #171827, #635bff));
      color: #fff;
      font-weight: 900;
      font-size: 12px;
      overflow: hidden;
      position: relative;
      text-align: center;
      padding: 8px;
      background-size: cover;
      background-position: center;
      text-shadow: 0 2px 8px rgba(0,0,0,.34);
    }

    .content-rank::after {
      content: attr(data-platform);
      position: absolute;
      right: 6px;
      bottom: 6px;
      border-radius: 999px;
      background: rgba(255,255,255,.9);
      color: #171827;
      padding: 3px 6px;
      font-size: 9px;
      font-weight: 900;
    }

    .content-suggestion h3,
    .content-today-item strong,
    .caption-option strong {
      margin: 0;
      color: #171827;
      font-size: 13px;
      line-height: 1.2;
    }

    .content-suggestion p,
    .content-today-item p,
    .caption-option p,
    .scheduled-focus p,
    .crm-lead-detail p {
      margin: 4px 0 0;
      color: #667085;
      font-size: 12px;
      line-height: 1.35;
    }

    .recommendation-source-line {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 5px;
      margin-top: 6px;
      color: #475467;
      font-size: 11px;
      font-weight: 850;
    }

    .recommendation-source-line b {
      color: #4338ca;
    }

    .recommendation-intel-row {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 6px;
    }

    .recommendation-intel-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      max-width: 100%;
      padding: 4px 7px;
      border: 1px solid rgba(35,191,209,.22);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(35,191,209,.1), rgba(99,91,255,.08));
      color: #234054;
      font-size: 10px;
      font-weight: 900;
      line-height: 1.1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .recommendation-intel-pill b {
      color: #0f766e;
      font-weight: 950;
    }

    .recommendation-learning-panel {
      display: grid;
      gap: 7px;
      padding: 8px;
      border: 1px solid rgba(99,91,255,.16);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(248,250,252,.96), rgba(239,246,255,.72));
    }

    .recommendation-learning-panel strong {
      color: #182432;
      font-size: 12px;
    }

    .recommendation-learning-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .recommendation-learning-signal {
      display: grid;
      gap: 3px;
      min-width: 0;
      padding: 7px;
      border: 1px solid rgba(35,191,209,.14);
      border-radius: 10px;
      background: rgba(255,255,255,.82);
    }

    .recommendation-learning-signal span {
      color: #5b6473;
      font-size: 9px;
      font-weight: 950;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .recommendation-learning-signal b {
      color: #0f172a;
      font-size: 11px;
      line-height: 1.2;
    }

    .recommendation-learning-signal em {
      color: #0f766e;
      font-size: 10px;
      font-style: normal;
      font-weight: 950;
    }

    .scheduled-focus {
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr);
      gap: 9px;
      align-items: start;
    }

    .scheduled-focus > .schedule-choice-row,
    .scheduled-focus > p {
      grid-column: 1 / -1;
    }

    .schedule-post-thumb {
      min-height: 70px;
      border-radius: 12px;
      background: var(--suggestion-art, linear-gradient(135deg,#635bff,#23bfd1));
      background-size: cover;
      background-position: center;
      box-shadow: inset 0 -28px 42px rgba(17,24,39,.22);
    }

    .content-suggestion-details {
      grid-column: 1 / -1;
      display: none;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
      padding-top: 8px;
      border-top: 1px solid #edf1f6;
    }

    .select-post-button,
    .content-suggestion .btn {
      min-height: 30px;
      padding: 5px 10px;
      font-size: 12px;
      border-radius: 10px;
    }

    .selected-post-preview {
      display: grid;
      background: #fff;
      border-color: rgba(99,91,255,.26);
      padding: 0;
      overflow: hidden;
    }

    .selected-post-preview.is-selected {
      box-shadow: 0 16px 30px rgba(99,91,255,.12);
      border-color: rgba(99,91,255,.52);
    }

    .selected-post-art {
      display: none;
    }

    .selected-post-context {
      display: none;
      flex-wrap: wrap;
      gap: 5px;
      padding: 8px 10px;
      background: #fbfcff;
      border-bottom: 1px solid #edf1f6;
    }

    .selected-post-context .lead-tag {
      font-size: 10px;
      padding: 4px 7px;
    }

    .selected-post-body {
      display: grid;
      gap: 8px;
      padding: 10px;
      min-width: 0;
    }

    .social-post-frame {
      display: grid;
      gap: 0;
      border: 1px solid #dbe4f0;
      border-radius: 14px;
      background: #fff;
      padding: 0;
      overflow: hidden;
      box-shadow: 0 14px 28px rgba(27,35,60,.08);
    }

    .social-post-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      color: #343b4f;
      font-size: 12px;
      font-weight: 900;
      padding: 8px 10px;
      border-bottom: 1px solid #edf1f6;
    }

    .social-post-head span {
      color: #667085;
      font-size: 11px;
      font-weight: 800;
    }

    .social-post-media {
      min-height: 230px;
      background: var(--suggestion-art, linear-gradient(135deg,#635bff,#23bfd1));
      background-size: cover;
      background-position: center;
      box-shadow: inset 0 -34px 52px rgba(17,24,39,.18);
    }

    .social-post-media img,
    .social-post-media video {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 230px;
      max-height: 420px;
      object-fit: contain;
      background: #111827;
    }

    .social-post-copy {
      display: grid;
      gap: 5px;
      padding: 9px 10px 10px;
    }

    .selected-post-preview-copy {
      border: 0;
      border-radius: 0;
      background: transparent;
      padding: 0;
      color: #343b4f;
      font-size: 12px;
      line-height: 1.35;
    }

    .caption-hashtags {
      color: #4f46e5;
      font-size: 11px;
      font-weight: 850;
      line-height: 1.35;
    }

    .selected-post-preview h3 {
      margin: 0;
      font-size: 15px;
      color: var(--ink);
    }

    .selected-post-preview p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .score-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 28px;
      border-radius: 999px;
      padding: 3px 6px;
      font-size: 10px;
      font-weight: 900;
      border: 1px solid transparent;
    }

    .score-pill.good {
      background: #dcfce7;
      color: #087a58;
      border-color: #bbf7d0;
    }

    .score-pill.warn {
      background: #fef3c7;
      color: #a25b00;
      border-color: #fde68a;
    }

    .score-pill.bad {
      background: #fee2e2;
      color: #b42318;
      border-color: #fecaca;
    }

    .caption-options-card.is-selected-post {
      border-color: rgba(99,91,255,.42);
      box-shadow: 0 18px 36px rgba(99,91,255,.12);
      background: linear-gradient(135deg, #fff, #faf8ff);
    }

    .signal-row .score-pill {
      justify-self: end;
      padding: 3px 7px;
      min-width: 34px;
    }

    .dashboard-card.is-complete {
      border-color: rgba(8,122,88,.28);
      background: linear-gradient(135deg, #f2fff8, #fff);
    }

    .dashboard-card.is-complete .dashboard-card-head::after {
      content: "Completed";
      border-radius: 999px;
      background: #dcfce7;
      border: 1px solid #bbf7d0;
      color: #087a58;
      font-size: 11px;
      font-weight: 900;
      padding: 6px 9px;
      margin-left: auto;
    }

    .content-suggestion.is-active .content-suggestion-details {
      display: grid;
    }

    .content-suggestion-details span,
    .caption-scores span,
    .content-weight {
      border-radius: 999px;
      background: #fff;
      border: 1px solid #edf1f6;
      padding: 6px 8px;
      color: #343b4f;
      font-size: 11px;
      font-weight: 850;
      white-space: normal;
    }

    .content-suggestion-details span {
      border-radius: 12px;
      display: block;
      line-height: 1.25;
    }

    .suggestion-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .suggestion-signal-bars {
      display: grid;
      gap: 7px;
      align-content: center;
    }

    .suggestion-select-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 2px;
    }

    .caption-preview {
      color: #667085;
      font-size: 11px;
      font-weight: 750;
      line-height: 1.35;
    }

    .suggestion-signal-bars .signal-row {
      grid-template-columns: 72px minmax(0, 1fr) 34px;
      font-size: 11px;
    }

    .content-today-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .content-type-pill {
      justify-self: start;
      border-radius: 999px;
      padding: 5px 8px;
      background: #eef2ff;
      color: #4658d8;
      font-size: 11px;
      font-weight: 900;
    }

    .content-type-pill.original {
      background: #eafaf4;
      color: #087a58;
    }

    .caption-option {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      cursor: pointer;
      border: 0;
      border-top: 1px solid #edf1f6;
      border-radius: 0;
      background: transparent;
      padding: 7px 4px;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .caption-option:hover {
      transform: translateX(2px);
      background: #f8f7ff;
    }

    .caption-option.is-selected {
      border-color: #c9c4ff;
      background: linear-gradient(135deg, #f7f5ff, #fff);
      box-shadow: inset 3px 0 0 #635bff;
      border-radius: 10px;
    }

    .caption-number {
      width: 26px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #eef2ff;
      color: #4f46e5;
      font-size: 11px;
      font-weight: 900;
    }

    .caption-option.is-selected .caption-number {
      background: #635bff;
      color: #fff;
    }

    .caption-intent {
      display: block;
      color: #667085;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .caption-expanded-preview {
      grid-column: 1 / -1;
      display: none;
      border: 1px solid #e3e8f4;
      border-radius: 12px;
      background: linear-gradient(135deg, #fbfcff, #f7f5ff);
      padding: 8px 9px;
      color: #343b4f;
      font-size: 11px;
      line-height: 1.35;
    }

    .caption-option.is-selected .caption-expanded-preview {
      display: grid;
      gap: 4px;
    }

    .caption-scores .score-pill {
      min-width: 24px;
      padding: 2px 5px;
      font-size: 9px;
    }

    .caption-action-row {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .caption-action-row .btn,
    .schedule-choice-row .schedule-choice {
      min-height: 30px;
      padding: 5px 10px;
      border-radius: 10px;
      font-size: 12px;
    }

    .caption-option.is-selected .caption-action-row { display: none; }

    .schedule-picker {
      display: none;
      gap: 8px;
      padding-top: 8px;
      border-top: 1px solid #edf1f6;
    }

    .caption-option.is-scheduling .schedule-picker {
      display: grid;
    }

    .schedule-choice-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
      gap: 6px;
    }

    .schedule-choice-row.is-platforms {
      grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    }

    .schedule-choice-row.is-platforms .schedule-choice {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .schedule-choice-row.is-platforms .platform-icon {
      width: 18px;
      border-radius: 6px;
      box-shadow: none;
    }

    .schedule-choice-section {
      grid-column: 1 / -1;
      display: grid;
      gap: 6px;
      padding: 10px 8px 8px;
      border-top: 1px solid #edf1f6;
      border-radius: 12px;
      transition: background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .schedule-choice-section:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .schedule-choice-section.workflow-target {
      outline-offset: 0;
      background: linear-gradient(135deg, rgba(35,191,209,.08), rgba(255,255,255,.96));
      box-shadow: inset 0 0 0 1px rgba(35,191,209,.18), 0 10px 22px rgba(35,191,209,.08);
    }

    .schedule-choice-section.workflow-target::before,
    .schedule-choice-section.workflow-target::after {
      display: none;
    }

    .lead-finalize-button {
      grid-column: 1 / -1;
      min-height: 36px;
      border-radius: 12px;
      font-weight: 950;
    }

    .lead-finalize-button:disabled {
      opacity: .5;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .schedule-choice-section > span {
      color: #667085;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .schedule-choice-section > span em {
      color: #4f46e5;
      font-style: normal;
      letter-spacing: 0;
      text-transform: none;
      font-weight: 850;
      margin-left: 4px;
    }

    .schedule-section-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .schedule-section-label em {
      color: #8a92a6;
      font-style: normal;
      font-size: 10px;
      font-weight: 800;
      text-transform: none;
      letter-spacing: 0;
    }

    .schedule-choice {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: #343b4f;
      min-width: 0;
      padding: 6px 8px;
      font: inherit;
      font-size: clamp(9px, 0.78vw, 11px);
      font-weight: 850;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }

    .schedule-choice .calendar-mini-icon {
      width: 16px;
      flex: 0 0 16px;
      box-shadow: none;
    }

    .schedule-choice > span:not(.calendar-mini-icon) {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .schedule-choice:hover,
    .schedule-choice.is-selected {
      border-color: rgba(99,91,255,.42);
      background: #f7f5ff;
      color: #4f46e5;
    }

    .schedule-choice-row.is-platforms .schedule-choice.is-selected,
    .schedule-choice[data-publish-platform].is-selected,
    .schedule-choice[data-schedule-slot].is-selected {
      border-color: rgba(79, 70, 229, .72);
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      box-shadow: 0 12px 24px rgba(99,91,255,.22), inset 0 0 0 1px rgba(255,255,255,.22);
      transform: translateY(-1px);
    }

    .schedule-choice[data-publish-platform].is-selected .calendar-mini-icon,
    .schedule-choice[data-schedule-slot].is-selected .calendar-mini-icon {
      box-shadow: 0 0 0 2px rgba(255,255,255,.36);
    }

    .schedule-choice[data-publish-platform].is-selected::after {
      content: "âœ“";
      width: 16px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: rgba(255,255,255,.22);
      color: #fff;
      font-size: 10px;
      font-weight: 950;
      flex: 0 0 16px;
    }

    .schedule-choice[data-publish-platform].is-selected::after,
    .schedule-choice[data-schedule-slot].is-selected::after {
      content: "âœ“";
      width: 16px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: rgba(255,255,255,.22);
      color: #fff;
      font-size: 10px;
      font-weight: 950;
      flex: 0 0 16px;
    }

    .schedule-choice:disabled {
      cursor: not-allowed;
      opacity: .48;
    }

    .dashboard-approval-list.is-pipeline-history {
      max-height: 386px;
      overflow-y: auto;
      padding-right: 4px;
      scroll-snap-type: y mandatory;
    }

    .dashboard-approval-list.is-pipeline-history .pipeline-post-card {
      scroll-snap-align: start;
    }

    .schedule-calendar-platforms {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }

    .calendar-post-row {
      display: grid;
      grid-template-columns: 54px minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      border: 1px solid #edf1f6;
      border-radius: 12px;
      background: #fbfcff;
      padding: 8px;
      font-size: 12px;
    }

    .pipeline-post-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      border: 1px solid #edf1f6;
      border-radius: 14px;
      background: #fbfcff;
      padding: 8px;
    }

    .pipeline-social-preview {
      display: grid;
      border: 1px solid #dbe4f0;
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 12px 24px rgba(27,35,60,.08);
    }

    .pipeline-social-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 7px 9px;
      border-bottom: 1px solid #edf1f6;
      color: #343b4f;
      font-size: 11px;
      font-weight: 900;
    }

    .pipeline-social-head span {
      color: #8a92a6;
      font-size: 10px;
      font-weight: 800;
    }

    .pipeline-post-card .pipeline-preview-thumb {
      min-height: 150px;
      background: var(--suggestion-art, linear-gradient(135deg,#635bff,#23bfd1));
      background-size: cover;
      background-position: center;
      box-shadow: inset 0 -30px 42px rgba(17,24,39,.25);
    }

    .pipeline-social-copy {
      display: grid;
      gap: 5px;
      padding: 8px 9px;
      color: #343b4f;
      font-size: 11px;
      line-height: 1.35;
    }

    .pipeline-social-copy b {
      color: #171827;
      font-size: 12px;
      line-height: 1.25;
    }

    .pipeline-social-copy small {
      color: #4f46e5;
      font-size: 10px;
      font-weight: 850;
    }

    .pipeline-post-main {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .pipeline-post-main strong {
      color: #171827;
      font-size: 13px;
      line-height: 1.2;
    }

    .pipeline-post-main p,
    .pipeline-post-main span {
      margin: 0;
      color: #667085;
      font-size: 11px;
      line-height: 1.35;
    }

    .pipeline-metric-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 5px;
      margin-top: 3px;
    }

    .pipeline-metric-row span {
      border-radius: 10px;
      background: #fff;
      border: 1px solid #edf1f6;
      padding: 5px 6px;
      color: #667085;
      font-size: 9px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .pipeline-metric-row b {
      display: block;
      color: #171827;
      font-size: 12px;
      letter-spacing: 0;
      text-transform: none;
    }

    .calendar-preview-thumb {
      min-height: 50px;
      border-radius: 10px;
      background-image: var(--suggestion-art);
      background-size: cover;
      background-position: center;
      box-shadow: inset 0 -22px 30px rgba(17, 24, 39, .18);
    }

    .calendar-post-row .calendar-platform-stack {
      display: inline-flex;
      justify-content: flex-end;
      gap: 4px;
      flex-wrap: wrap;
      max-width: 104px;
    }

    .calendar-two-week-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
      margin-top: 10px;
    }

    .calendar-weekday-cell {
      color: #667085;
      font-size: 9px;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: .04em;
      text-align: center;
      padding-bottom: 1px;
    }

    .calendar-day-cell {
      min-height: 44px;
      border: 1px solid #edf1f6;
      border-radius: 10px;
      background: #fbfcff;
      padding: 5px;
      display: grid;
      align-content: start;
      gap: 4px;
      color: #667085;
      font-size: 10px;
      font-weight: 850;
      font-family: inherit;
      text-align: left;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .calendar-day-cell:hover {
      transform: translateY(-1px);
      border-color: rgba(99,91,255,.34);
      box-shadow: 0 10px 18px rgba(99,91,255,.1);
    }

    .calendar-day-cell.is-today {
      border-color: rgba(35, 191, 209, .68);
      background: linear-gradient(135deg, #ecfeff, #f7f5ff);
      box-shadow: inset 0 0 0 1px rgba(35, 191, 209, .18), 0 10px 22px rgba(35, 191, 209, .12);
    }

    .calendar-day-cell .calendar-weekday {
      color: #8a92a6;
      font-size: 8px;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .calendar-day-cell .calendar-date-number {
      color: #171827;
      font-size: 12px;
      font-weight: 950;
    }

    .calendar-day-cell.has-post {
      background: #f7f5ff;
      border-color: rgba(99,91,255,.24);
    }

    .calendar-day-cell.is-selected {
      background: linear-gradient(135deg, #635bff, #23bfd1);
      border-color: rgba(99,91,255,.72);
      color: #fff;
      box-shadow: 0 12px 24px rgba(99,91,255,.22);
    }

    .calendar-day-cell.is-selected .calendar-date-number,
    .calendar-day-cell.is-selected > span:first-child {
      color: #fff;
    }

    .calendar-day-cell.is-today {
      background: #effcff;
      border-color: rgba(35,191,209,.58);
      box-shadow: inset 0 0 0 1px rgba(35,191,209,.2);
    }

    .calendar-day-cell.is-today > span:first-child {
      color: #1769d1;
      font-weight: 950;
    }

    .calendar-icon-row {
      display: flex;
      flex-wrap: wrap;
      gap: 3px;
    }

    .calendar-mini-icon {
      width: 20px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 7px;
      background: var(--platform-bg, #635bff);
      color: #fff;
      font-size: 7px;
      font-weight: 900;
      box-shadow: 0 6px 12px rgba(27,35,60,.12);
    }

    .calendar-mini-icon svg,
    .platform-icon svg {
      width: 62%;
      height: 62%;
      display: block;
      fill: currentColor;
      stroke: currentColor;
    }

    .calendar-post-row strong {
      color: #171827;
      font-size: 12px;
      line-height: 1.2;
    }

    .calendar-post-row span:not(.platform-icon),
    .calendar-post-row small,
    .calendar-post-row em {
      color: #667085;
      font-size: 11px;
      font-style: normal;
    }

    .calendar-selected-posts {
      display: grid;
      gap: 7px;
      padding-top: 8px;
      border-top: 1px solid #edf1f6;
    }

    .calendar-selected-head {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: center;
    }

    .calendar-selected-head strong {
      color: #171827;
      font-size: 12px;
    }

    .calendar-selected-head span {
      color: #667085;
      font-size: 10px;
      font-weight: 850;
    }

    .calendar-post-copy {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .calendar-post-meta {
      display: flex;
      align-items: center;
      gap: 5px;
      min-width: 0;
      color: #667085;
      font-size: 10px;
      font-weight: 850;
    }

    .calendar-post-meta em {
      margin-left: auto;
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .calendar-cancel-post {
      align-self: center;
      border: 1px solid rgba(239, 68, 68, .28);
      border-radius: 999px;
      background: #fff;
      color: #b42318;
      cursor: pointer;
      font: inherit;
      font-size: 10px;
      font-weight: 900;
      line-height: 1;
      padding: 8px 10px;
      white-space: nowrap;
      transition: transform var(--motion-fast) var(--ease-spring), background var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium);
    }

    .calendar-cancel-post:hover {
      transform: translateY(-1px);
      border-color: rgba(239, 68, 68, .48);
      box-shadow: 0 10px 20px rgba(180,35,24,.1);
    }

    .calendar-cancel-post.is-confirming {
      background: linear-gradient(135deg, #ef4444, #b42318);
      border-color: rgba(180,35,24,.66);
      color: #fff;
      animation: cancelConfirmPulse 1.2s var(--ease-premium) infinite;
    }

    @keyframes cancelConfirmPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.28); }
      50% { box-shadow: 0 0 0 5px rgba(239,68,68,.08); }
    }

    .platform-icon {
      width: 34px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 11px;
      background: var(--platform-bg, #eef2ff);
      color: #fff;
      font-weight: 900;
      font-size: 11px;
    }

    .platform-instagram { --platform-bg: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4); }
    .platform-facebook { --platform-bg: #1877f2; }
    .platform-tiktok { --platform-bg: linear-gradient(135deg, #111827, #00f2ea); }
    .platform-youtube { --platform-bg: #ff0033; }

    .pipeline-platform-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 3px;
      align-items: center;
      justify-content: center;
    }

    .caption-scores {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      grid-column: 2;
      justify-content: flex-start;
      align-self: end;
      max-width: none;
      margin-top: 5px;
    }

    .dashboard-signal-chart {
      display: grid;
      gap: 8px;
    }

    .signal-row {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr) 42px;
      gap: 8px;
      align-items: center;
      color: #343b4f;
      font-size: 12px;
      font-weight: 800;
    }

    .signal-bar {
      height: 9px;
      border-radius: 999px;
      background: #edf1f6;
      overflow: hidden;
    }

    .signal-bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #635bff, #23bfd1);
    }

    .dashboard-crm-row {
      cursor: pointer;
      transition: background var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .dashboard-crm-row:hover {
      background: #f8fafc;
      transform: translateX(2px);
    }

    .crm-lead-detail {
      display: grid;
      grid-column: 1 / -1;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 6px;
      padding: 8px;
    }

    .crm-lead-detail strong {
      display: block;
      color: #171827;
      font-size: 11px;
    }

    .crm-lead-detail span {
      color: #667085;
      font-size: 10px;
      font-weight: 750;
    }

    .candidate-list {
      padding: 14px;
      background: #fff;
    }

    .candidate {
      border-radius: 16px;
      padding: 14px;
      border-color: #edf1f6;
      box-shadow: none;
    }

    .candidate.active {
      border-color: rgba(99,91,255,.48);
      box-shadow: 0 12px 26px rgba(99,91,255,.10);
    }

    .candidate-thumb {
      border-radius: 12px;
    }

    .platform-filter-row {
      background: #fff;
      border-bottom: 1px solid #edf1f6;
    }

    .post-preview {
      border-radius: 16px;
      border-color: #edf1f6;
      overflow: hidden;
    }

    .post-image {
      min-height: 360px;
      background: #f3f6fb;
    }

    .posting-panel {
      border-radius: 16px;
      border: 1px solid #edf1f6;
      overflow: hidden;
    }

    .pipeline-list {
      padding: 14px;
      background: #fff;
    }

    .lead-suite-shell {
      gap: 18px;
    }

    .prototype-view[data-view="lead-suite"] .lead-suite-shell > .lead-grid,
    .prototype-view[data-view="lead-suite"] .lead-suite-shell > .lead-card:not(.lead-generator-preview-card) {
      display: none;
    }

    .lead-suite-shell > .lead-hero {
      min-height: 154px;
    }

    .lead-suite-shell > .lead-grid:first-of-type {
      grid-template-columns: minmax(0, 1fr) 360px;
      align-items: stretch;
    }

    .lead-suite-shell > .lead-grid:first-of-type > .lead-card:first-child {
      grid-row: span 2;
    }

    .lead-suite-shell .lead-kpi-row {
      grid-template-columns: repeat(5, minmax(150px, 1fr));
    }

    .lead-suite-shell .lead-kpi {
      padding-left: 84px;
    }

    .lead-suite-shell .lead-kpi::before {
      left: 18px;
      right: auto;
      top: 50%;
      width: 52px;
      transform: translateY(-50%);
    }

    .lead-suite-shell .lead-kpi::after {
      left: 33px;
    }

    .lead-app-header {
      position: relative;
      z-index: 120;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px 16px;
      align-items: center;
      padding: 16px 18px;
      border: 1px solid rgba(99,91,255,.22);
      border-left: 6px solid #635bff;
      border-radius: 24px;
      background:
        radial-gradient(circle at 0% 0%, rgba(99,91,255,.2), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(35,191,209,.15), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.99), rgba(239,247,255,.97) 52%, rgba(246,243,255,.96));
      box-shadow: 0 22px 58px rgba(27, 35, 60, .12);
      backdrop-filter: blur(16px);
      overflow: visible;
    }

    .lead-app-header::after {
      content: "";
      position: absolute;
      inset: 10px auto 10px 0;
      width: 5px;
      border-radius: 999px;
      background: linear-gradient(180deg, #23bfd1, #635bff);
    }

    .lead-app-title {
      display: flex;
      gap: 12px;
      align-items: center;
      min-width: 0;
    }

    .lead-app-title h1 {
      margin: 0;
      color: var(--ink);
      font-size: 24px;
      line-height: 1.05;
    }

    .lead-app-title p {
      margin: 2px 0 0;
      max-width: 740px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .lead-account-cluster {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      min-width: 0;
      position: relative;
      isolation: isolate;
      z-index: 70;
    }

    .icon-text-button,
    .lead-profile-button {
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      font-weight: 850;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(26,34,61,.05);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .icon-text-button {
      padding: 8px 12px;
    }

    .lead-profile-button {
      display: grid;
      grid-template-columns: 30px auto;
      align-items: center;
      gap: 8px;
      padding: 4px 10px 4px 4px;
      position: relative;
      z-index: 75;
      pointer-events: auto;
    }

    .lead-crm-action-widget {
      position: relative;
    }

    body:not([data-active-view="crm"]) .lead-crm-action-widget {
      display: none !important;
    }

    .lead-crm-action-button {
      position: relative;
      display: inline-grid;
      grid-template-columns: 24px auto;
      align-items: center;
      gap: 7px;
      min-height: 38px;
      padding: 6px 11px 6px 8px;
      border: 1px solid rgba(0,111,255,.18);
      border-radius: 999px;
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(26,34,61,.05);
      transition: transform var(--motion-fast) var(--ease-spring), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
    }

    .lead-crm-action-button i {
      width: 24px;
      height: 24px;
      border-radius: 8px;
    }

    .lead-crm-action-badge {
      position: absolute;
      top: -7px;
      right: -5px;
      min-width: 19px;
      height: 19px;
      display: grid;
      place-items: center;
      border: 2px solid #fff;
      border-radius: 999px;
      background: #e03131;
      color: #fff;
      font-size: 10px;
      font-weight: 950;
      line-height: 1;
      box-shadow: 0 8px 18px rgba(224,49,49,.22);
    }

    .icon-text-button:hover,
    .lead-profile-button:hover,
    .lead-crm-action-button:hover {
      transform: translateY(-1px);
      border-color: rgba(99,91,255,.34);
      box-shadow: 0 14px 24px rgba(99,91,255,.12);
    }

    .lead-profile-button span {
      width: 30px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      font-weight: 900;
      letter-spacing: 0;
    }

    .lead-profile-button strong {
      max-width: 130px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-profile-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 10px);
      width: min(320px, calc(100vw - 32px));
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255,255,255,.98);
      box-shadow: 0 24px 60px rgba(20, 30, 52, .18);
      padding: 12px;
      display: grid;
      gap: 12px;
      z-index: 50;
      opacity: 0;
      transform: translateY(-6px) scale(.98);
      pointer-events: none;
      transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-spring);
    }

    .lead-profile-menu.is-open {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
      z-index: 90;
    }

    .lead-crm-action-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 10px);
      width: min(360px, calc(100vw - 32px));
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255,255,255,.98);
      box-shadow: 0 24px 60px rgba(20, 30, 52, .18);
      padding: 10px;
      display: grid;
      gap: 8px;
      z-index: 55;
      opacity: 0;
      transform: translateY(-6px) scale(.98);
      pointer-events: none;
      transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-spring);
    }

    .lead-crm-action-menu.is-open {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .lead-crm-action-menu-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 4px 4px 8px;
      border-bottom: 1px solid #e8eef7;
    }

    .lead-crm-action-menu-head strong {
      color: var(--ink);
      font-size: 13px;
      line-height: 1.2;
    }

    .lead-crm-action-menu-head span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
    }

    .lead-crm-action-menu-list {
      display: grid;
      gap: 7px;
    }

    .lead-crm-action-menu-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 7px;
      align-items: stretch;
    }

    .lead-crm-action-menu-item {
      width: 100%;
      display: grid;
      grid-template-columns: 32px minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      min-height: 58px;
      border: 1px solid #e4ebf5;
      border-radius: 11px;
      background: #fff;
      padding: 8px;
      text-align: left;
      color: var(--ink);
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .lead-crm-action-menu-item:hover {
      transform: translateY(-1px);
      border-color: rgba(0,111,255,.28);
      background: #f7fbff;
    }

    .lead-crm-action-dismiss {
      min-width: 70px;
      border: 1px solid #e4ebf5;
      border-radius: 11px;
      background: #fff;
      color: var(--muted);
      font-size: 11px;
      font-weight: 950;
      cursor: pointer;
      transition: border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium);
    }

    .lead-crm-action-dismiss:hover {
      border-color: rgba(220, 38, 38, .22);
      background: #fff7f7;
      color: #b91c1c;
    }

    .lead-crm-action-menu-item .lono-visual-icon {
      width: var(--lc-icon-tile-medium);
      height: var(--lc-icon-tile-medium);
      border-radius: 9px;
    }

    .lead-crm-action-menu-item strong,
    .lead-crm-action-menu-item span {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-crm-action-menu-item strong {
      font-size: 12px;
      line-height: 1.2;
    }

    .lead-crm-action-menu-item span {
      margin-top: 2px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.2;
    }

    .lead-crm-action-priority {
      color: #006fff;
      font-size: 11px;
      font-weight: 950;
    }

    .lead-profile-menu-head {
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      padding: 8px;
      border-radius: 14px;
      background: linear-gradient(135deg, #f7f5ff, #f2fbff);
    }

    .lead-profile-menu-head > span {
      width: 40px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #635bff, #23bfd1);
      color: #fff;
      font-weight: 900;
    }

    .lead-profile-menu-head strong,
    .lead-profile-menu-head small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-profile-menu-head strong {
      color: var(--ink);
      font-size: 13px;
    }

    .lead-profile-menu-head small,
    .lead-profile-menu-section > span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .lead-profile-menu-section {
      display: grid;
      gap: 8px;
    }

    #leadProfileWorkspaceList {
      display: grid;
      gap: 7px;
    }

    .lead-profile-workspace {
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      color: var(--ink);
      padding: 8px;
      font: inherit;
      text-align: left;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
    }

    .lead-profile-workspace:hover,
    .lead-profile-workspace.active {
      transform: translateY(-1px);
      border-color: rgba(99,91,255,.34);
      background: #f8f7ff;
    }

    .lead-profile-workspace .lead-avatar {
      width: 30px;
    }

    .lead-profile-workspace strong,
    .lead-profile-workspace small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-profile-workspace strong {
      font-size: 12px;
    }

    .lead-profile-workspace small {
      color: var(--muted);
      font-size: 11px;
    }

    .lead-profile-workspace em {
      border-radius: 999px;
      background: #eafaf4;
      color: #087a58;
      padding: 4px 7px;
      font-size: 10px;
      font-style: normal;
      font-weight: 900;
    }

    .lead-profile-menu-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .lead-profile-menu-access {
      display: grid;
      gap: 2px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fbfcff;
    }

    .lead-profile-menu-access span {
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    .lead-profile-menu-access strong {
      color: var(--ink);
      font-size: 12px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lead-profile-menu-access small {
      color: #667085;
      font-size: 11px;
      font-weight: 750;
    }

    .lead-profile-menu-actions button {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: var(--ink);
      padding: 9px 10px;
      font: inherit;
      font-size: 12px;
      font-weight: 850;
      cursor: pointer;
      transition: transform var(--motion-fast) var(--ease-spring), background var(--motion-base) var(--ease-premium);
    }

    .lead-profile-menu-actions button:hover {
      transform: translateY(-1px);
      background: #f8fafc;
    }

    .auth-gate {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background:
        radial-gradient(circle at 18% 18%, rgba(35,191,209,.22), transparent 34%),
        radial-gradient(circle at 84% 14%, rgba(99,91,255,.20), transparent 32%),
        linear-gradient(135deg, #f7fbff, #eef7fb 48%, #f7f5ff);
    }

    body.requires-auth .auth-gate {
      display: flex;
    }

    body.requires-auth .shell {
      filter: blur(8px);
      pointer-events: none;
      user-select: none;
    }

    body.account-creation-active .shell {
      visibility: hidden;
    }

    .auth-card {
      width: min(940px, 100%);
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      overflow: hidden;
      border: 1px solid rgba(99,91,255,.16);
      border-radius: 28px;
      background: rgba(255,255,255,.92);
      box-shadow: 0 30px 90px rgba(28,49,84,.20);
      backdrop-filter: blur(18px);
      animation: fadeSlideUp var(--motion-slow) var(--ease-premium) both;
    }

    .auth-brand {
      min-height: 520px;
      display: grid;
      align-content: space-between;
      padding: 34px;
      color: #fff;
      background: linear-gradient(145deg, #061a44, #0f6dc8 48%, #14c7cf);
      position: relative;
      overflow: hidden;
    }

    .auth-brand::after {
      content: "";
      position: absolute;
      inset: auto -20% -24% 10%;
      height: 220px;
      border-radius: 50%;
      background: rgba(255,255,255,.14);
      transform: rotate(-8deg);
    }

    .auth-logo {
      width: 170px;
      max-width: 58%;
      border-radius: 20px;
      background: rgba(255,255,255,.12);
      padding: 10px;
    }

    .auth-brand h1 {
      margin: 24px 0 10px;
      max-width: 430px;
      color: #fff;
      font-size: clamp(34px, 5vw, 58px);
      line-height: .95;
      letter-spacing: 0;
    }

    .auth-brand p {
      max-width: 430px;
      color: rgba(255,255,255,.82);
      font-size: 16px;
      line-height: 1.5;
    }

    .auth-proof {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      position: relative;
      z-index: 1;
    }

    .auth-proof span {
      border-radius: 16px;
      background: rgba(255,255,255,.15);
      padding: 12px;
      color: #fff;
      font-size: 12px;
      font-weight: 850;
    }

    .auth-panel {
      display: grid;
      align-content: center;
      gap: 16px;
      padding: 34px;
    }

    .auth-tabs {
      display: flex;
      gap: 8px;
      padding: 5px;
      border-radius: 999px;
      background: #edf6fb;
    }

    .auth-tabs button {
      flex: 1;
      border: 0;
      border-radius: 999px;
      background: transparent;
      padding: 10px 12px;
      color: #46566a;
      font-weight: 900;
      cursor: pointer;
      transition: background var(--motion-base) var(--ease-premium), color var(--motion-base) var(--ease-premium), transform var(--motion-fast) var(--ease-spring);
    }

    .auth-tabs button.active {
      background: #fff;
      color: #075985;
      box-shadow: 0 8px 20px rgba(20,89,130,.12);
    }

    .auth-form {
      display: none;
      gap: 12px;
    }

    .auth-form.active {
      display: grid;
    }

    .auth-form label {
      display: grid;
      gap: 6px;
      color: #475467;
      font-size: 12px;
      font-weight: 850;
    }

    .auth-field-label {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
    }

    .auth-field-label b {
      color: #1f5f99;
      font-size: 11px;
    }

    .auth-form label > small {
      color: #667085;
      font-size: 11px;
      font-weight: 500;
      line-height: 1.4;
    }

    .auth-form input {
      border: 1px solid #d7e2ec;
      border-radius: 14px;
      padding: 13px 14px;
      font: inherit;
      outline: none;
      transition: border-color var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .auth-form input:focus {
      border-color: #23bfd1;
      box-shadow: 0 0 0 4px rgba(35,191,209,.14);
    }

    .auth-status {
      min-height: 18px;
      color: #b42318;
      font-size: 12px;
      font-weight: 800;
    }

    .auth-setup-preview {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid #d7e2ec;
      border-radius: 14px;
      background: #f8fbff;
    }

    .auth-setup-preview p {
      margin: 0;
      color: #5c6876;
      font-size: 12px;
      line-height: 1.35;
    }

    .auth-setup-preview-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .auth-setup-preview-head .btn {
      flex: 0 0 auto;
    }

    .auth-setup-starter {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid #d7e2ec;
      border-radius: 14px;
      background: #fff;
    }

    .auth-setup-starter-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .auth-setup-path {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .auth-setup-path span {
      padding: 7px 8px;
      border: 1px solid #dce6f1;
      border-radius: 8px;
      background: #fff;
      color: #455365;
      font-size: 11px;
      font-weight: 850;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .auth-remaining-setup {
      display: grid;
      gap: 8px;
      padding: 10px;
      border: 1px solid #dce6f1;
      border-radius: 8px;
      background: #fff;
    }

    .auth-remaining-setup > span {
      color: #64748b;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .auth-remaining-setup-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .auth-remaining-setup-item {
      display: grid;
      gap: 4px;
      min-height: 74px;
      padding: 9px;
      border: 1px solid #dbe7f3;
      border-radius: 8px;
      background: #f8fbff;
      color: #13233a;
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .auth-remaining-setup-item b,
    .auth-remaining-setup-item small,
    .auth-remaining-setup-item span {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .auth-remaining-setup-item b {
      font-size: 12px;
      line-height: 1.2;
    }

    .auth-remaining-setup-item small {
      color: #64748b;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.25;
    }

    .auth-remaining-setup-item span {
      justify-self: start;
      padding: 3px 6px;
      border-radius: 999px;
      background: #fff;
      color: #1f6fb7;
      font-size: 10px;
      font-weight: 900;
    }

    .lead-setup-popover .setup-list button.optional {
      border-style: dashed;
      background: #fbfdff;
    }

    .lead-setup-popover .setup-list button.optional::before {
      content: "+";
      display: grid;
      place-items: center;
      background: #fff8e8;
      border-color: #f3c56b;
      color: #9a6200;
      font-size: 12px;
      font-weight: 950;
    }

    .auth-remaining-setup-item.is-ready span {
      color: #087a58;
    }

    .auth-setup-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .auth-setup-actions .btn {
      flex: 1 1 130px;
      min-width: 0;
    }

    .auth-setup-preview-status {
      min-height: 18px;
      color: #1f6fb7;
      font-size: 12px;
      font-weight: 850;
      line-height: 1.35;
    }

    @media (max-width: 820px) {
      .auth-gate {
        align-items: flex-start;
        overflow-y: auto;
        padding: 12px;
      }

      .auth-setup-preview-head {
        display: grid;
      }

      .auth-card { grid-template-columns: 1fr; }
      .auth-brand { min-height: auto; }
      body.account-creation-active .auth-brand { display: none; }
      .auth-proof { grid-template-columns: 1fr; }
      .auth-setup-starter-grid { grid-template-columns: 1fr; }
      .auth-setup-path { grid-template-columns: 1fr; }
      .auth-remaining-setup-list { grid-template-columns: 1fr; }
    }

    .lead-app-header .lead-workspace-switcher {
      display: none;
    }

    .lead-app-header .lead-workspace-button {
      min-height: 38px;
      padding: 7px 10px;
      border-color: var(--line);
      background: #fff;
      color: #343b4f;
      box-shadow: none;
    }

    .lead-app-header .lead-workspace-button.active {
      background: #171827;
      color: #fff;
      border-color: #171827;
    }

    .lead-app-header .lead-kpi-row {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-app-header .lead-kpi {
      min-height: 0;
      padding: 8px 10px;
      border-radius: 14px;
      box-shadow: none;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      background: #f8fafc;
    }

    .lead-app-header .lead-kpi::before,
    .lead-app-header .lead-kpi::after {
      display: none;
    }

    .lead-app-header .lead-kpi span {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: .05em;
      white-space: nowrap;
    }

    .lead-app-header .lead-kpi strong {
      font-size: 13px;
      text-align: right;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .lead-daily-workflow {
      display: grid;
      grid-template-columns: 188px minmax(0, 1fr) minmax(230px, .45fr);
      gap: 12px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: var(--shadow-soft);
      padding: 12px 14px;
    }

    .lead-workflow-head {
      display: grid;
      gap: 2px;
    }

    .lead-workflow-head strong {
      color: var(--ink);
      font-size: 14px;
    }

    .lead-workflow-head span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
    }

    .lead-workflow-steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .lead-workflow-analytics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      align-items: stretch;
      min-width: 0;
      border: 1px solid rgba(99, 91, 255, .32);
      border-radius: 16px;
      background:
        radial-gradient(circle at 10% 0%, rgba(35,191,209,.28), transparent 34%),
        linear-gradient(135deg, #171827, #2b2f68 58%, #4535b8);
      box-shadow: 0 14px 30px rgba(43,47,104,.18);
      padding: 8px;
    }

    .workflow-metric-window {
      grid-column: 1 / -1;
      color: rgba(255,255,255,.78);
      font-size: 9px;
      font-weight: 950;
      letter-spacing: .08em;
      line-height: 1;
      text-transform: uppercase;
    }

    .lead-workflow-analytics span {
      min-width: 0;
      display: grid;
      gap: 2px;
      border: 1px solid rgba(255,255,255,.2);
      border-radius: 12px;
      background: rgba(255,255,255,.95);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 20px rgba(17,24,39,.12);
      padding: 7px 8px;
      color: #596174;
      font-size: 9px;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .lead-workflow-analytics strong {
      color: #171827;
      font-size: 16px;
      line-height: 1;
      letter-spacing: 0;
      text-transform: none;
    }

    .lead-workflow-analytics em {
      color: #087a58;
      font-size: 9px;
      font-style: normal;
      font-weight: 950;
      letter-spacing: 0;
      text-transform: none;
    }

    .lead-workflow-step {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #f8fafc;
      padding: 8px;
      color: #667085;
      font-size: 12px;
      font-weight: 850;
      font-family: inherit;
      text-align: left;
      cursor: pointer;
      appearance: none;
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium);
      position: relative;
    }

    .lead-workflow-step > span {
      display: grid;
      gap: 1px;
      min-width: 0;
    }

    .lead-workflow-step em {
      color: #667085;
      font-size: 9px;
      font-style: normal;
      font-weight: 900;
      letter-spacing: .08em;
      line-height: 1;
      text-transform: uppercase;
    }

    .lead-workflow-step b {
      width: 26px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #e9eef8;
      color: #667085;
      font-size: 11px;
    }

    .lead-workflow-step.is-active {
      color: #171827;
      border-color: rgba(99,91,255,.34);
      background: #f7f5ff;
      transform: translateY(-1px);
      animation: workflowStepPulse 260ms var(--ease-premium);
    }

    .lead-workflow-step.is-active::after {
      content: "â†’";
      position: absolute;
      right: -12px;
      top: 50%;
      transform: translateY(-50%);
      color: #635bff;
      font-size: 18px;
      font-weight: 900;
      z-index: 2;
    }

    .lead-workflow-step:last-child::after {
      display: none;
    }

    .lead-workflow-step.is-done {
      background: #eafaf4;
      border-color: #bdeedc;
      color: #087a58;
    }

    .lead-workflow-step.is-done em {
      color: #087a58;
    }

    .lead-workflow-step.is-done b {
      background: #dcfce7;
      color: #087a58;
    }

    .workflow-target {
      outline: 2px solid rgba(99,91,255,.28);
      box-shadow: 0 18px 36px rgba(99,91,255,.12);
      animation: workflowTargetPulse 520ms var(--ease-premium);
    }

    @keyframes workflowStepPulse {
      from { transform: translateY(0) scale(.985); }
      to { transform: translateY(-1px) scale(1); }
    }

    @keyframes workflowTargetPulse {
      0% { box-shadow: 0 0 0 rgba(99,91,255,0); }
      55% { box-shadow: 0 0 0 6px rgba(99,91,255,.12), 0 18px 36px rgba(99,91,255,.12); }
      100% { box-shadow: 0 18px 36px rgba(99,91,255,.12); }
    }

    .lead-workflow-step {
      transition: transform var(--motion-fast) var(--ease-spring), border-color var(--motion-base) var(--ease-premium), background var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium);
    }

    .lead-workflow-step.is-active {
      border-color: rgba(35,191,209,.88);
      background: linear-gradient(135deg, #effcff, #fff);
      box-shadow: 0 0 0 3px rgba(35,191,209,.14), 0 14px 26px rgba(35,191,209,.12);
      animation: workflowStepPulse 420ms var(--ease-premium);
    }

    .lead-workflow-step.is-active::after {
      content: "";
      right: -12px;
      width: 18px;
      height: 3px;
      transform: translateY(-50%) scaleX(.45);
      transform-origin: left center;
      border-radius: 999px;
      background: linear-gradient(90deg, #23bfd1, #635bff);
      color: transparent;
      font-size: 0;
      animation: workflowArrowGrow 700ms var(--ease-premium) infinite alternate;
    }

    .lead-workflow-step.is-active:not(:last-child)::before {
      content: "";
      position: absolute;
      right: -16px;
      top: calc(50% - 5px);
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 7px solid #635bff;
      z-index: 3;
      animation: workflowArrowNudge 700ms var(--ease-premium) infinite alternate;
    }

    .workflow-target {
      position: relative;
      outline: 2px solid rgba(35,191,209,.42);
      outline-offset: -2px;
      box-shadow: inset 0 0 0 1px rgba(35,191,209,.22), 0 14px 28px rgba(35,191,209,.1);
      animation: workflowDecisionPulse 2600ms var(--ease-premium) infinite;
      overflow: hidden;
    }

    .workflow-target::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 5px;
      border-radius: 18px 0 0 18px;
      background: linear-gradient(180deg, #23bfd1, #635bff);
      animation: workflowPanelSweep 620ms var(--ease-premium), workflowEdgeGlow 2600ms var(--ease-premium) infinite;
    }

    .workflow-target::after {
      display: none;
    }

    @keyframes workflowArrowGrow {
      from { transform: translateY(-50%) scaleX(.45); opacity: .62; }
      to { transform: translateY(-50%) scaleX(1); opacity: 1; }
    }

    @keyframes workflowArrowNudge {
      from { transform: translateX(-2px); opacity: .72; }
      to { transform: translateX(2px); opacity: 1; }
    }

    @keyframes workflowPanelSweep {
      from { transform: scaleY(.16); opacity: .3; }
      to { transform: scaleY(1); opacity: 1; }
    }

    @keyframes workflowPanelArrow {
      from { transform: scaleX(.18); opacity: .2; }
      to { transform: scaleX(1); opacity: 1; }
    }

    @keyframes workflowDecisionPulse {
      0%, 100% { box-shadow: inset 0 0 0 1px rgba(35,191,209,.2), 0 12px 24px rgba(35,191,209,.08); }
      50% { box-shadow: inset 0 0 0 1px rgba(35,191,209,.34), 0 14px 30px rgba(35,191,209,.16); }
    }

    @keyframes workflowEdgeGlow {
      0%, 100% { opacity: .72; }
      50% { opacity: 1; }
    }

    .lead-card {
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 26px rgba(27, 35, 60, .06);
    }

    .lead-card-head {
      min-height: 74px;
      background: #fff;
    }

    .lead-card-body {
      padding: 16px;
    }

    .lead-rec {
      padding: 13px;
    }

    .lead-rec-main {
      grid-template-columns: 48px minmax(0, 1fr) auto;
      align-items: center;
    }

    .lead-rank {
      width: 42px;
      height: 42px;
      border-radius: 14px;
    }

    .lead-generator,
    .lead-crm-row,
    .lead-memory-row,
    .lead-inbox-item {
      box-shadow: none;
      background: #fbfcff;
    }

    .lead-plan-banner {
      background: linear-gradient(135deg, #f7f5ff, #fff);
      border-color: rgba(99,91,255,.18);
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
      }

      .motion-reveal,
      .motion-reveal.is-visible,
      .prototype-view.active,
      .schedule-dialog,
      .toast {
        opacity: 1 !important;
        transform: none !important;
      }
    }

    @media (max-width: 1100px) {
      .shell { grid-template-columns: 1fr; }
      .sidebar { position: static; min-height: auto; }
      .nav { grid-template-columns: repeat(3, 1fr); }
      .dashboard-layout,
      .dashboard-layout .board,
      .leadflow-overview,
      .lead-generator-view-grid,
      .lead-generator-builder-body,
      .lead-suite-shell > .lead-grid:first-of-type {
        grid-template-columns: 1fr;
      }
      .content-request-card,
      .content-command-grid,
      .content-lai-review-grid,
      .content-lai-review-summary,
      .content-example-grid {
        grid-template-columns: 1fr;
      }
      .content-intel-grid,
      .content-domain-grid,
      .content-match-flow {
        grid-template-columns: 1fr;
      }
      .content-learning-summary {
        grid-template-columns: auto 1fr;
      }
      .strategy-mode-stats {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .content-caption-row {
        grid-template-columns: auto 1fr auto;
      }
      .content-match-row {
        grid-template-columns: 1fr;
      }
      .content-match-connector {
        width: 5px;
        min-height: 26px;
        height: 26px;
        justify-self: center;
        background: linear-gradient(180deg, #635bff, #23bfd1);
      }
      .content-match-connector::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(-50%);
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #23bfd1;
        border-bottom: 0;
      }
      .lead-daily-workflow {
        grid-template-columns: 1fr;
      }
      .leadflow-overview .top-content-card,
      .leadflow-overview .setup-progress-card,
      .leadflow-overview .content-ready-card,
      .leadflow-overview .approval-widget-card,
      .leadflow-overview .scheduled-widget-card,
      .leadflow-overview .posted-analytics-card,
      .leadflow-overview .crm-table-card {
        grid-column: auto;
        grid-row: auto;
      }
      .top-content-strip {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
      }
      .dashboard-kpis,
      .lead-generator-metric-row,
      .lead-suite-shell .lead-kpi-row {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
      }
      .board { grid-template-columns: 1fr; }
      .workspace-grid,
      .analytics-grid,
      .history-grid,
      .lead-grid { grid-template-columns: 1fr; }
      .lead-setup-review-grid,
      .lead-setup-review-summary,
      .lead-owner-next-step,
      .lead-account-readiness-path,
      .lead-profile-review-grid,
      .lead-profile-review-summary,
      .lead-profile-freshness {
        grid-template-columns: 1fr;
      }
      .lead-required-fields-head {
        display: grid;
      }
      .lead-required-field-list {
        grid-template-columns: 1fr;
      }
      .lead-social-media-guide-steps {
        grid-template-columns: 1fr;
      }
      .lead-first-campaign-readiness-list {
        grid-template-columns: 1fr;
      }
      .lead-account-setup-workflow-head {
        display: grid;
      }
      .lead-account-setup-workflow-steps {
        grid-template-columns: 1fr;
      }
      .lead-account-creation-handoff {
        grid-template-columns: 1fr;
      }
      .lead-account-creation-handoff-actions {
        justify-content: flex-start;
      }
      .lead-owner-next-step .btn {
        width: 100%;
      }
      .lead-setup-review-counts {
        justify-content: flex-start;
      }
      .lead-live-preview { grid-template-columns: 1fr; }
      .lead-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .lead-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .lead-hero-top { grid-template-columns: 1fr; }
      .lead-workspace-switcher,
      .lead-toggle-row { justify-content: flex-start; }
      .metrics { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
      .topbar { grid-template-columns: 1fr; }
      .status-strip { justify-content: flex-start; }
    }

    @media (max-width: 520px) {
      .lead-crm-action-menu {
        position: fixed;
        top: 138px;
        right: 14px;
        left: 14px;
        width: auto;
        max-height: calc(100vh - 156px);
        overflow-y: auto;
      }
      .lead-crm-action-menu-row {
        grid-template-columns: 1fr;
      }
      .lead-crm-action-menu-item {
        grid-template-columns: 32px minmax(0, 1fr);
      }
      .lead-crm-action-menu-item strong,
      .lead-crm-action-menu-item span {
        text-overflow: clip;
        white-space: normal;
      }
      .lead-crm-action-priority {
        justify-self: start;
      }
      .lead-crm-action-dismiss {
        width: 100%;
        min-height: 36px;
      }
    }

    @media (max-width: 680px) {
      main { padding: 14px; }
      .brand-readout { grid-template-columns: 1fr; }
      .dashboard-kpis,
      .lead-generator-metric-row,
      .lead-suite-shell .lead-kpi-row {
        grid-template-columns: 1fr;
      }
      .dashboard-welcome {
        padding: 20px 18px;
      }
      .generator-table div {
        grid-template-columns: 1fr;
        text-align: left;
      }
      .top-content-strip,
      .review-command-grid,
      .content-ready-grid,
      .posted-stat-row,
      .dashboard-crm-head,
      .dashboard-crm-row {
        grid-template-columns: 1fr;
      }
      .dashboard-crm-head {
        display: none;
      }
      .generator-table span,
      .generator-table b,
      .generator-table em {
        text-align: left;
      }
      .metrics { grid-template-columns: 1fr; }
      .segmented { min-width: 0; width: 100%; }
      .panel-head { grid-template-columns: 1fr; }
      .approval { grid-template-columns: repeat(2, 1fr); }
      .detail-grid { grid-template-columns: 1fr; }
      .candidate { grid-template-columns: 82px minmax(0, 1fr); }
      .caption-option-grid,
      .mini-caption-row {
        grid-template-columns: 1fr;
      }
      .lead-crm-quote-actions {
        grid-template-columns: 1fr;
      }
      .lead-crm-line-table {
        min-width: 560px;
      }
      .lead-crm-line-layout {
        overflow-x: auto;
      }
      .selected-post-preview,
      .caption-option {
        grid-template-columns: 1fr;
      }
      .selected-post-art {
        min-height: 120px;
      }
      .caption-scores {
        grid-column: 1;
        justify-content: flex-start;
        max-width: none;
      }
      .caption-score-row {
        grid-template-columns: 78px 38px minmax(80px, 1fr);
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head,
      .prototype-view[data-view="crm"] .lead-crm-lono-controls,
      .prototype-view[data-view="crm"] .lead-crm-lono-input-wrap,
      .prototype-view[data-view="crm"] .lead-crm-lono-thinking,
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest > .lead-crm-suggest-status {
        grid-column: 1;
        min-width: 0;
        width: 100%;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head {
        align-items: start;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head > div,
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest-head span {
        min-width: 0;
        display: block;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-controls {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-controls .btn {
        width: 100%;
        min-height: 44px;
        padding: 0 6px;
        font-size: 12px;
        overflow-wrap: normal;
        white-space: normal;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest.is-typing .lead-crm-lono-input-wrap {
        display: grid;
        gap: 8px;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-suggest textarea {
        min-height: 110px;
        padding: 12px;
        font-size: 14px;
        line-height: 1.35;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-send {
        position: static;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 44px;
        height: auto;
        padding: 0 12px;
        font-size: 13px;
      }
      .prototype-view[data-view="crm"] .lead-crm-lono-send-loader,
      .prototype-view[data-view="crm"] .lead-crm-lono-thinking-loader {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
        flex-basis: 22px;
      }
      .lead-crm-ready-target-grid {
        grid-template-columns: 1fr;
      }
      .asset-grid,
      .calendar-grid,
      .history-metrics,
      .settings-grid,
      .publishing-command-grid,
      .settings-command-grid,
      .lead-generator-command-grid,
      .review-command-grid,
      .platform-approval-gate,
      .platform-readiness-summary,
      .platform-readiness-grid,
      .platform-permission-ledger,
      .platform-review-packet-list,
      .lead-kpi-row,
      .lead-rec-details,
      .service-setup-grid,
      .service-field-grid { grid-template-columns: 1fr; }
      .lead-rec-main { grid-template-columns: auto minmax(0, 1fr); }
      .lead-score { grid-column: 1 / -1; justify-self: start; }
      .lead-card-head { grid-template-columns: 1fr; }
      .lead-board,
      .lead-crm-reason-grid,
      .lead-inbox-item,
      .lead-plan-banner { grid-template-columns: 1fr; }
      .lead-status-controls { justify-content: flex-start; }
      .pipeline-item { grid-template-columns: 1fr; }
      .pipeline-state { justify-items: stretch; }
      .target-platforms,
      .go-live-line { justify-content: flex-start; max-width: none; }
      .quick-time-grid,
      .schedule-target-grid,
      .time-entry-row { grid-template-columns: 1fr; }
      .search-flow,
      .search-capture-form { grid-template-columns: 1fr; }
      .nav { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      *,
      *::before,
      *::after {
        box-sizing: border-box;
      }

      html,
      body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
      }

      body {
        background: linear-gradient(180deg, #f5fbff 0%, #f8f7ff 52%, #fff 100%);
      }

      .prototype-view[data-view="lead-suite"],
      .prototype-view[data-view="content"],
      .prototype-view[data-view="analytics"] {
        width: calc(100dvw - 8px);
        max-width: calc(100dvw - 8px);
        min-width: 0;
        padding: 8px;
        border-radius: 20px;
        overflow-x: hidden;
      }

      .shell {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        min-width: 0;
      }

      .sidebar {
        position: sticky;
        top: 0;
        z-index: 300;
        min-height: 0;
        width: 100dvw;
        max-width: 100dvw;
        padding: 8px;
        overflow-x: hidden;
        border-right: 0;
        border-bottom: 1px solid rgba(99,91,255,.16);
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(18px);
      }

      .brand,
      .bridge-control,
      .brand-readout,
      .sidebar-foot {
        display: none;
      }

      .nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding: 0;
      }

      .nav::-webkit-scrollbar {
        display: none;
      }

      .nav button,
      .nav a {
        flex-direction: column;
        gap: 4px;
        min-width: 0;
        min-height: 54px;
        padding: 7px 4px;
        border-radius: 14px;
        white-space: normal;
        font-size: 10px;
        line-height: 1.05;
        text-align: center;
        justify-content: center;
        overflow: hidden;
      }

      .nav button::before,
      .nav a::before {
        display: block;
        width: 15px;
        height: 15px;
        flex-basis: 15px;
      }

      main {
        width: 100dvw;
        max-width: 100dvw;
        min-width: 0;
        padding: 8px;
        overflow-x: hidden;
      }

      .prototype-view {
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        min-width: 0;
        overflow-x: hidden;
      }

      .lead-suite-shell {
        gap: 12px;
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        min-width: 0;
        overflow-x: hidden;
      }

      .lead-app-header,
      .lead-global-header {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        min-width: 0;
        overflow: hidden;
        border-left-width: 0;
        border-radius: 22px;
      }

      .lead-app-header::after {
        inset: 0 16px auto 16px;
        width: auto;
        height: 4px;
      }

      .lead-app-title h1 {
        font-size: 22px;
        line-height: 1.08;
      }

      .lead-app-title p {
        max-width: none;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }

      .lead-account-cluster {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        width: 100%;
      }

      .lead-setup-control {
        min-width: 0;
        max-width: 100%;
      }

      .lead-setup-pill {
        width: 100%;
        min-width: 0;
        max-width: 100%;
      }

      .lead-setup-pill span,
      .lead-setup-pill strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .lead-setup-popover,
      .lead-profile-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 68px;
        width: auto;
        max-width: none;
      }

      .icon-text-button {
        min-width: 42px;
        padding: 9px 10px;
        font-size: 0;
      }

      .icon-text-button::before {
        content: "Account";
        font-size: 12px;
      }

      .lead-profile-button {
        min-width: 42px;
        grid-template-columns: 1fr;
        padding: 5px;
      }

      .lead-profile-button strong {
        display: none;
      }

      .lead-app-header .lead-kpi-row,
      .lead-suite-shell .lead-kpi-row {
        display: flex;
        grid-template-columns: none;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
      }

      .lead-app-header .lead-kpi,
      .lead-suite-shell .lead-kpi {
        flex: 0 0 152px;
        min-height: 58px;
        scroll-snap-align: start;
      }

      .lead-daily-workflow {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        min-width: 0;
        overflow: hidden;
      }

      .lead-owner-action-widget {
        grid-template-columns: auto minmax(0, 1fr);
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        padding: 12px;
        gap: 10px;
      }

      .lead-owner-action-widget > .lead-owner-action-buttons {
        grid-column: 1 / -1;
        justify-content: stretch;
      }

      .lead-owner-action-buttons .btn {
        flex: 1 1 100px;
      }

      .lead-workflow-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .lead-workflow-step {
        min-height: 42px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 7px;
      }

      .lead-flow-arrow {
        display: none;
      }

      .lead-workflow-step.is-active::before,
      .lead-workflow-step.is-active::after {
        display: none !important;
      }

      .lead-workflow-analytics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: hidden;
        max-width: 100%;
        padding: 8px;
      }

      .workflow-metric-window {
        grid-column: 1 / -1;
      }

      .lead-workflow-analytics span {
        min-width: 0;
      }

      .leadflow-overview,
      .lead-workspace-overview {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
        width: calc(100dvw - 16px);
        min-width: 0;
        max-width: calc(100dvw - 16px);
        overflow-x: hidden;
      }

      .lead-workspace-overview .dashboard-card,
      .lead-workspace-overview .caption-options-card,
      .lead-workspace-overview .top-content-card,
      .lead-workspace-overview .content-ready-card,
      .lead-workspace-overview .approval-widget-card,
      .lead-workspace-overview .setup-progress-card,
      .lead-workspace-overview .scheduled-widget-card,
      .lead-workspace-overview .crm-table-card {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .lead-workspace-overview .top-content-card {
        order: 1;
      }

      .lead-workspace-overview .caption-options-card {
        order: 2;
      }

      .lead-workspace-overview .scheduled-widget-card {
        order: 3;
      }

      .lead-workspace-overview .approval-widget-card {
        order: 4;
      }

      .lead-workspace-overview .crm-table-card {
        order: 5;
      }

      .lead-widget-flow-arrow,
      .lead-widget-flow-arrow.is-visible {
        display: none !important;
      }

      .dashboard-card {
        border-radius: 22px;
        padding: 12px;
        width: calc(100dvw - 16px);
        max-width: calc(100dvw - 16px);
        min-width: 0;
        overflow: hidden;
      }

      .dashboard-card > *,
      .lead-daily-workflow > *,
      .lead-workspace-overview > * {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
      }

      .dashboard-card-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
      }

      .dashboard-card-head h2 {
        font-size: 18px;
        line-height: 1.15;
        max-width: 100%;
        overflow-wrap: anywhere;
      }

      .top-content-strip,
      .dashboard-approval-list,
      .lead-dashboard-rec-list,
      .top-content-card,
      .content-suggestion,
      .pipeline-social-preview {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .lead-dashboard-rec-list,
      .top-content-strip {
        max-height: none;
        overflow: visible;
      }

      #leadDashboardTopContent {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 28px 8px 0;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
      }

      #leadDashboardTopContent::-webkit-scrollbar {
        display: none;
      }

      #leadDashboardTopContent::after {
        content: "More";
        align-self: stretch;
        flex: 0 0 28px;
        display: grid;
        place-items: center;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(99,91,255,.12), rgba(35,191,209,.14));
        color: #4f46e5;
        font-size: 10px;
        font-weight: 950;
        text-transform: uppercase;
        writing-mode: vertical-rl;
        letter-spacing: .08em;
      }

      .lead-dashboard-rec,
      .content-suggestion,
      .selected-post-preview,
      .caption-option,
      .calendar-selected-preview,
      .pipeline-post-card {
        grid-template-columns: 1fr;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
      }

      .selected-post-preview *,
      .caption-option *,
      .pipeline-social-preview *,
      .content-suggestion * {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: normal;
      }

      .social-post-frame {
        max-width: 100%;
      }

      .social-post-media {
        min-height: 190px;
      }

      .selected-post-preview-copy,
      .caption-hashtags,
      .caption-option p {
        max-width: 100%;
        overflow-wrap: anywhere;
      }

      .content-suggestion {
        flex: 0 0 calc(100% - 42px);
        width: calc(100% - 42px);
        max-width: calc(100% - 42px);
        scroll-snap-align: start;
        overflow: hidden;
        gap: 10px;
        box-sizing: border-box;
      }

      #leadDashboardTopContent .content-suggestion {
        min-height: 0;
      }

      .content-suggestion > div {
        min-width: 0;
      }

      .recommendation-source-line,
      .suggestion-select-row {
        max-width: 100%;
        overflow: hidden;
      }

      .recommendation-source-line b {
        display: none;
      }

      .lead-tag {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
      }

      .content-suggestion h3 {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.08;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .content-suggestion p,
      .caption-preview {
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .content-suggestion:not(.is-active) .caption-preview {
        display: none;
      }

      .suggestion-select-row .btn {
        width: 100%;
      }

      .content-rank {
        width: 100%;
        height: 132px;
      }

      .lead-dashboard-thumb,
      .selected-post-art,
      .calendar-preview-thumb,
      .pipeline-post-card .lead-dashboard-thumb {
        width: 100%;
        min-height: 150px;
      }

      .caption-scores,
      .platform-picker,
      .quick-schedule-grid,
      .schedule-choice-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .leadflow-overview h1,
      .leadflow-overview h2,
      .leadflow-overview h3,
      .leadflow-overview p,
      .leadflow-overview span,
      .leadflow-overview strong,
      .leadflow-overview button {
        max-width: 100%;
        overflow-wrap: anywhere;
      }

      .pillar-score-grid,
      .analytics-command-grid,
      .lono-command-grid,
      .analytics-insight-grid,
      .analytics-attribution-grid,
      .analytics-funnel-map,
      .analytics-neural-web {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .analytics-spider-card {
        min-height: 300px;
      }

      .analytics-model-form {
        grid-template-columns: 1fr;
      }

      .subpillar-grid,
      .subpillar-neural-map,
      .analytics-pillar-summary {
        grid-template-columns: 1fr;
      }

      .analytics-best-move,
      .analytics-action-row {
        grid-template-columns: 1fr;
      }

      .analytics-action-buttons {
        justify-content: stretch;
      }

      .analytics-action-buttons .btn {
        flex: 1 1 110px;
      }

      .pillar-card,
      .analytics-best-move,
      .analytics-automation-panel,
      .analytics-learning-card,
      .analytics-funnel-card,
      .analytics-attribution-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 20px;
        padding: 14px;
      }

      .analytics-funnel-step:not(:last-child)::after {
        right: 50%;
        top: auto;
        bottom: -10px;
        transform: translateX(50%) rotate(135deg);
      }

      .schedule-choice-row.is-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .schedule-choice {
        min-height: 38px;
        width: 100%;
        font-size: 12px;
      }

      .caption-score-row,
      .score-row {
        grid-template-columns: 74px 36px minmax(0, 1fr);
      }

      .schedule-calendar,
      .schedule-calendar-platforms {
        min-width: 0;
        width: 100%;
      }

      .calendar-mini-grid,
      .calendar-two-week-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
      }

      .calendar-mini-day,
      .calendar-day-cell {
        min-width: 0;
        padding: 6px 2px;
        font-size: 11px;
      }

      .calendar-icon-row {
        gap: 2px;
      }

      .calendar-icon-row .calendar-mini-icon {
        width: 14px;
      }

      .calendar-post-row {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 8px;
        align-items: start;
      }

      .calendar-post-row .calendar-cancel-post {
        grid-column: 1 / -1;
        justify-self: stretch;
      }

      .calendar-preview-thumb {
        min-height: 58px;
      }

      .dashboard-crm-row,
      .dashboard-crm-person {
        grid-template-columns: 1fr;
        gap: 6px;
        min-width: 0;
      }

      .dashboard-crm-row > span,
      .dashboard-crm-row > strong {
        text-align: left;
      }

      .content-request-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 22px;
      }

      .content-direction-examples {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
      }

      .content-direction-examples span {
        flex: 0 0 auto;
      }

      .content-request-form textarea {
        min-height: 120px;
        font-size: 16px;
      }

      .content-learning-card {
        padding: 14px;
        border-radius: 22px;
      }

      .content-learning-steps {
        grid-template-columns: 1fr;
      }

      .content-intel-grid {
        grid-template-columns: 1fr;
      }

      .content-domain-panel {
        padding: 12px;
        border-radius: 22px;
      }

      .content-panel-head {
        grid-template-columns: 1fr;
      }

      .content-domain-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .content-lai-review-grid,
      .content-lai-review-summary {
        grid-template-columns: 1fr;
      }

      .content-domain-card {
        min-height: 0;
        padding: 14px;
        border-radius: 22px;
      }

      .content-domain-card::before {
        width: 54px;
        height: 54px;
      }

      .content-domain-post-art {
        min-height: 176px;
      }

      .content-domain-caption {
        grid-template-columns: 1fr;
      }

      .content-domain-caption-score {
        justify-self: start;
        width: auto;
        height: auto;
        min-width: 42px;
        padding: 7px 10px;
        border-radius: 999px;
        background: #dcfce7;
      }

      .content-domain-caption-score::before {
        display: none;
      }

      .content-generator-actual-thumb {
        min-height: 190px;
      }
    }

    @media (max-width: 420px) {
      .lead-account-cluster {
        grid-template-columns: 1fr auto;
      }

      .icon-text-button {
        display: none;
      }

      .lead-app-title h1 {
        font-size: 22px;
      }

      .lead-app-header .lead-kpi,
      .lead-suite-shell .lead-kpi {
        flex-basis: 138px;
      }

      .caption-scores,
      .lead-crm-lono-controls,
      .platform-picker,
      .quick-schedule-grid,
      .schedule-choice-row,
      .schedule-choice-row.is-platforms {
        grid-template-columns: 1fr;
      }

      .content-domain-post-art {
        min-height: 150px;
      }
    }

    /* LeadCanoe owner workflow north-star overhaul. */
    body {
      background:
        radial-gradient(circle at 70% 8%, rgba(0, 111, 255, 0.08), transparent 36%),
        linear-gradient(180deg, #fbfdff 0%, #f6f9ff 48%, #ffffff 100%);
    }

    .sidebar .brand-readout,
    .sidebar .bridge-control {
      display: none;
    }

    .sidebar-foot {
      border-color: rgba(0, 82, 204, 0.12);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.92));
      color: #12214c;
      font-weight: 700;
    }

    .prototype-view[data-view="lead-suite"] > .lead-suite-shell {
      position: relative;
      max-width: 100%;
      padding: 0;
    }

    .prototype-view[data-view="crm"] > .lead-suite-shell {
      position: relative;
      max-width: 100%;
      padding: 0;
    }

    .prototype-view[data-view="lead-suite"] .lead-app-header,
    .prototype-view[data-view="lead-suite"] .lead-daily-workflow,
    .prototype-view[data-view="lead-suite"] .lead-owner-action-widget,
    .prototype-view[data-view="lead-suite"] .leadflow-overview,
    .prototype-view[data-view="lead-suite"] > .lead-suite-shell > .lead-grid,
    .prototype-view[data-view="lead-suite"] > .lead-suite-shell > .lead-card,
    .lead-legacy-hooks {
      display: none !important;
    }

    body[data-active-view="lead-suite"] .lead-global-header {
      min-height: 46px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 4px 10px;
      border: 0;
      border-radius: 0;
      background: rgba(255, 255, 255, 0.74);
      box-shadow: none;
    }

    body[data-active-view="lead-suite"] .lead-global-header::after,
    body[data-active-view="lead-suite"] .lead-global-header .lead-app-title {
      display: none;
    }

    body[data-active-view="lead-suite"] .lead-global-header .lead-account-cluster {
      width: auto;
      margin-left: auto;
    }

    body[data-active-view="lead-suite"] .brand-readout,
    body[data-active-view="lead-suite"] .bridge-control,
    body[data-active-view="lead-suite"] .lead-workspace-switcher,
    body[data-active-view="lead-suite"] .icon-text-button[data-view-button-proxy="settings"] {
      display: none !important;
    }

    body[data-active-view="lead-suite"] .sidebar {
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 8px 0 28px rgba(18, 37, 76, 0.05);
    }

    body[data-active-view="lead-suite"] .brand {
      min-height: 54px;
      padding: 6px 8px;
      gap: 10px;
    }

    body[data-active-view="lead-suite"] .mark {
      width: 34px;
      border-radius: 10px;
      box-shadow: 0 10px 24px rgba(0, 111, 255, 0.14);
    }

    body[data-active-view="lead-suite"] .brand strong {
      color: #081847;
      font-size: 18px;
      line-height: 1;
    }

    body[data-active-view="lead-suite"] .brand span {
      color: #51617d;
      font-size: 12px;
      margin-top: 4px;
    }

    body[data-active-view="lead-suite"] .app-version {
      display: none;
    }

    body[data-active-view="lead-suite"] .sidebar-foot {
      margin-top: auto;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 10px;
      background: linear-gradient(180deg, #fff, #f8fbff);
      box-shadow: none;
      color: #405273;
    }

    body[data-active-view="lead-suite"] .sidebar-foot strong {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #081847;
      font-size: 13px;
    }

    body[data-active-view="lead-suite"] .sidebar-foot strong::before {
      content: "";
      width: 18px;
      height: 18px;
      border-radius: 5px;
      background: url("assets/lono-icons/readable-v2/symbols-svg/03-01-lono.svg") center / contain no-repeat;
      filter: drop-shadow(0 7px 12px rgba(0,111,255,.16));
      transform: scale(var(--lc-icon-art-scale));
      transform-origin: center;
    }

    body[data-active-view="lead-suite"] .lead-account-cluster {
      gap: 12px;
    }

    body[data-active-view="lead-suite"] .lead-account-cluster::before {
      content: "Lono";
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #081847;
      font-weight: 900;
      letter-spacing: 0;
    }

    body[data-active-view="lead-suite"] .lead-account-cluster::after {
      content: "";
      order: 1;
      width: 16px;
      height: 16px;
      border: 1px solid rgba(0, 111, 255, 0.16);
      border-radius: 999px;
      background:
        linear-gradient(90deg, transparent 45%, #31456b 45% 55%, transparent 55%),
        radial-gradient(circle at 50% 78%, #31456b 0 2px, transparent 3px);
      box-shadow: 14px 0 0 -7px rgba(8, 24, 71, 0.18);
    }

    body[data-active-view="lead-suite"] .lead-profile-button {
      order: 2;
      grid-template-columns: 32px;
      width: 38px;
      height: 38px;
      min-height: 38px;
      padding: 3px;
      border-color: rgba(0, 111, 255, 0.16);
      box-shadow: 0 10px 24px rgba(18, 37, 76, 0.06);
    }

    body[data-active-view="lead-suite"] .lead-profile-button strong {
      display: none;
    }

    body[data-active-view="lead-suite"] .lead-profile-button span {
      width: 30px;
      background: #eef3fb;
      color: #31456b;
    }

    body[data-active-view="lead-suite"] .lono-action-row .btn.primary,
    body[data-active-view="lead-suite"] .lono-mobile-action-bar .btn.primary {
      border-color: #006fff;
      background: linear-gradient(135deg, #006fff, #2f86ff);
      box-shadow: 0 14px 32px rgba(0, 111, 255, 0.22);
    }

    .lono-plan-canvas .btn.is-used::before {
      content: none;
    }

    @media (min-width: 1181px) {
      body[data-active-view="lead-suite"] .shell {
        grid-template-columns: 248px minmax(0, 1fr);
      }

      body[data-active-view="lead-suite"] main {
        padding: 18px 20px;
        gap: 14px;
      }

      body[data-active-view="lead-suite"] .sidebar {
        padding-inline: 14px;
      }

      body[data-active-view="lead-suite"] .nav button,
      body[data-active-view="lead-suite"] .nav a {
        padding: 10px 12px;
      }
    }

    .lono-plan-canvas {
      position: relative;
      min-height: calc(100vh - 112px);
      overflow: hidden;
      padding: 24px clamp(14px, 1.6vw, 28px) 32px;
      color: #061343;
    }

    .lono-neural-field {
      position: absolute;
      inset: 0 0 auto 0;
      height: 210px;
      pointer-events: none;
      opacity: 0.72;
      background:
        linear-gradient(115deg, transparent 0 18%, rgba(0, 111, 255, 0.08) 18.2%, transparent 18.5% 35%, rgba(0, 111, 255, 0.08) 35.3%, transparent 35.6%),
        radial-gradient(circle at 46% 24%, rgba(0, 111, 255, 0.18) 0 3px, transparent 4px),
        radial-gradient(circle at 62% 12%, rgba(0, 111, 255, 0.16) 0 3px, transparent 4px),
        radial-gradient(circle at 79% 28%, rgba(0, 111, 255, 0.14) 0 3px, transparent 4px),
        radial-gradient(circle at 91% 53%, rgba(0, 111, 255, 0.12) 0 3px, transparent 4px);
      mask-image: linear-gradient(90deg, transparent, #000 24%, #000 86%, transparent);
    }

    .lono-plan-head,
    .lono-plan-command-grid,
    .lono-deep-dive {
      position: relative;
      z-index: 1;
    }

    .lono-plan-head {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: flex-start;
      margin-bottom: 20px;
    }

    .lono-plan-head h1 {
      margin: 0 0 8px;
      font-size: clamp(28px, 3vw, 42px);
      letter-spacing: 0;
      line-height: 1.05;
    }

    .lono-plan-head p {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      color: #395071;
      font-weight: 700;
    }

    .lono-diamond {
      width: 13px;
      height: 13px;
      display: inline-flex;
      flex: 0 0 auto;
      background: url("assets/lono-icons/readable-v2/symbols-svg/06-14-lono-diamond.svg") center / contain no-repeat;
      filter: drop-shadow(0 6px 12px rgba(0, 111, 255, 0.18));
      transform: scale(var(--lc-icon-art-scale));
      transform-origin: center;
    }

    .lono-loader-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 14px 36px rgba(12, 42, 96, 0.08);
      color: #25385e;
      font-weight: 800;
      white-space: nowrap;
    }

    .lono-loader-chip img {
      width: 34px;
      height: 34px;
      object-fit: contain;
    }

    .lono-plan-command-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      align-items: start;
    }

    .lono-move-stage {
      display: grid;
      grid-template-columns: minmax(150px, 180px) minmax(620px, 960px) minmax(150px, 180px);
      gap: 18px;
      align-items: stretch;
      justify-content: center;
      width: 100%;
      max-width: 1360px;
      margin: 0 auto;
    }

    .lono-move-stage.is-empty {
      grid-template-columns: minmax(0, 960px);
    }

    .lono-move-stage.is-empty .lono-carousel {
      grid-column: 1;
      width: 100%;
    }

    .lono-side-move,
    .lono-main-move,
    .lono-deep-dive {
      border: 1px solid rgba(23, 89, 212, 0.16);
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 18px 48px rgba(19, 48, 96, 0.10);
      backdrop-filter: blur(18px);
    }

    .lono-side-move {
      position: relative;
      min-height: 258px;
      padding: 14px;
      border-radius: 14px;
      transition: transform 240ms ease, opacity 240ms ease, box-shadow 240ms ease;
    }

    .lono-side-move:hover {
      transform: translateY(-3px);
      box-shadow: 0 24px 60px rgba(19, 48, 96, 0.14);
    }

    .lono-side-move.is-complete,
    .lono-side-move.is-skipped {
      opacity: 0.72;
      transform: scale(0.98);
    }

    .lono-side-move.is-complete .lono-quality,
    .lono-side-move.is-skipped .lono-quality {
      visibility: hidden;
    }

    .lono-side-move.is-complete::after,
    .lono-side-move.is-skipped::after {
      position: absolute;
      right: 12px;
      top: 12px;
      min-height: 24px;
      padding: 4px 8px;
      border-radius: 999px;
      color: #fff;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .lono-side-move.is-complete::after {
      content: "Done";
      background: #22ad72;
    }

    .lono-side-move.is-skipped::after {
      content: "Skipped";
      background: #7b8aa4;
    }

    .lono-quality {
      display: inline-flex;
      gap: 6px;
      align-items: center;
      color: #178f5a;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .lono-side-move h3 {
      margin: 16px 0 8px;
      display: -webkit-box;
      max-width: 100%;
      min-width: 0;
      font-size: 15px;
      line-height: 1.25;
      letter-spacing: 0;
      overflow: hidden;
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
    }

    .lono-side-move p,
    .lono-card-meta {
      margin: 0;
      color: #51617d;
      font-size: 12px;
      line-height: 1.45;
    }

    .lono-side-move p {
      display: -webkit-box;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 5;
    }

    .lono-mini-art {
      position: relative;
      display: grid;
      place-items: center;
      height: 88px;
      margin-top: 18px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(0, 111, 255, 0.10));
      color: #21a874;
      font-weight: 900;
      font-size: 22px;
      overflow: hidden;
      font-size: 0;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
    }

    .lono-mini-art.is-media-preview {
      display: block;
      background: #0f172a;
      color: #fff;
    }

    .lono-mini-art.is-media-preview::before,
    .lono-mini-art.is-media-preview::after {
      content: none;
    }

    .lono-mini-art.is-media-preview img,
    .lono-mini-art.is-media-preview video {
      width: 100%;
      height: 100%;
      min-height: 88px;
      display: block;
      object-fit: cover;
      border: 0;
    }

    .lono-mini-art.is-media-preview .lono-generated-media {
      height: 100%;
      min-height: 88px;
      padding: 9px;
      border-radius: inherit;
    }

    .lono-mini-art.is-media-preview .lono-generated-media::before {
      left: 14%;
      right: 14%;
      bottom: 20px;
      height: 36px;
    }

    .lono-mini-art.is-media-preview .lono-generated-media::after {
      left: 23%;
      right: 23%;
      bottom: 10px;
      height: 16px;
    }

    .lono-mini-art.is-media-preview .lono-generated-media span,
    .lono-mini-art.is-media-preview .lono-social-video-chip {
      display: none;
    }

    .lono-mini-art.is-media-preview .lono-generated-media strong {
      max-width: 88%;
      font-size: 10px;
      line-height: 1.1;
    }

    .lono-mini-art.is-media-preview .lono-social-play {
      width: 34px;
      height: 34px;
      font-size: 14px;
    }

    .lono-mini-art::before,
    .lono-mini-art::after {
      content: "";
      position: absolute;
      display: block;
    }

    .lono-mini-art.review::before {
      width: 58px;
      height: 42px;
      border-radius: 14px 14px 14px 4px;
      background: linear-gradient(135deg, #62d395, #22ad72);
      box-shadow: 0 18px 34px rgba(34, 173, 114, 0.18);
    }

    .lono-mini-art.review::after {
      width: 44px;
      height: 12px;
      background:
        radial-gradient(circle at 6px 6px, #fff 0 4px, transparent 4.5px),
        radial-gradient(circle at 16px 6px, #fff 0 4px, transparent 4.5px),
        radial-gradient(circle at 26px 6px, #fff 0 4px, transparent 4.5px),
        radial-gradient(circle at 36px 6px, #fff 0 4px, transparent 4.5px);
      opacity: 0.95;
      transform: translateY(-2px);
    }

    .lono-mini-art.team {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(0, 111, 255, 0.08));
      color: #f59e0b;
    }

    .lono-mini-art.team::before {
      width: 58px;
      height: 38px;
      background:
        radial-gradient(circle at 17px 10px, currentColor 0 9px, transparent 9.5px),
        radial-gradient(circle at 41px 10px, currentColor 0 9px, transparent 9.5px),
        radial-gradient(ellipse at 17px 34px, currentColor 0 17px, transparent 17.5px),
        radial-gradient(ellipse at 41px 34px, currentColor 0 17px, transparent 17.5px);
      opacity: 0.72;
    }

    .lono-mini-art.storm {
      background: linear-gradient(135deg, rgba(0, 111, 255, 0.12), rgba(15, 23, 42, 0.10));
      color: #006fff;
    }

    .lono-mini-art.storm::before {
      width: 50px;
      height: 30px;
      border-radius: 999px 999px 12px 12px;
      background:
        radial-gradient(circle at 12px 16px, currentColor 0 13px, transparent 13.5px),
        radial-gradient(circle at 28px 11px, currentColor 0 16px, transparent 16.5px),
        radial-gradient(circle at 42px 18px, currentColor 0 11px, transparent 11.5px);
      opacity: 0.72;
    }

    .lono-mini-art.message {
      background: linear-gradient(135deg, rgba(34, 173, 114, 0.12), rgba(0, 111, 255, 0.08));
      color: #22ad72;
    }

    .lono-mini-art.message::before {
      width: 58px;
      height: 42px;
      border-radius: 14px 14px 14px 5px;
      background: currentColor;
      opacity: 0.78;
    }

    .lono-mini-art.message::after {
      width: 36px;
      height: 8px;
      background:
        radial-gradient(circle at 4px 4px, #fff 0 4px, transparent 4.5px),
        radial-gradient(circle at 18px 4px, #fff 0 4px, transparent 4.5px),
        radial-gradient(circle at 32px 4px, #fff 0 4px, transparent 4.5px);
    }

    .lono-mini-art.offer {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(245, 158, 11, 0.12));
      color: #14b8a6;
    }

    .lono-mini-art.offer::before {
      width: 50px;
      height: 36px;
      border: 3px solid currentColor;
      border-radius: 12px;
      opacity: 0.76;
    }

    .lono-mini-art.offer::after {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      background: #f59e0b;
      transform: translate(11px, -9px);
    }

    .lono-quick {
      width: 100%;
      margin-top: 18px;
      justify-content: center;
    }

    .lono-carousel {
      position: relative;
      min-height: 0;
    }

    .lono-carousel-arrow {
      position: absolute;
      top: 50%;
      z-index: 4;
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      padding: 0;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.94);
      box-shadow: 0 16px 36px rgba(18, 37, 76, 0.14);
      color: #112653;
      cursor: pointer;
      transform: translateY(-50%);
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .lono-carousel-arrow[hidden] {
      display: none !important;
    }

    .lono-carousel-arrow:disabled {
      cursor: default;
      opacity: 0.45;
      pointer-events: none;
    }

    .lono-carousel-arrow:hover {
      border-color: rgba(0, 111, 255, 0.34);
      box-shadow: 0 20px 44px rgba(0, 111, 255, 0.18);
      transform: translateY(-50%) scale(1.04);
    }

    .lono-carousel-arrow::before {
      content: "";
      width: 10px;
      height: 10px;
      border-top: 2px solid currentColor;
      border-right: 2px solid currentColor;
    }

    .lono-carousel-prev {
      left: -24px;
    }

    .lono-carousel-prev::before {
      transform: rotate(-135deg) translate(-1px, -1px);
    }

    .lono-carousel-next {
      right: -24px;
    }

    .lono-carousel-next::before {
      transform: rotate(45deg) translate(-1px, 1px);
    }

    .lono-main-move {
      position: relative;
      display: none;
      min-height: 0;
      padding: clamp(18px, 1.7vw, 26px);
      border-radius: 16px;
      outline: 2px solid rgba(0, 111, 255, 0.82);
      outline-offset: 0;
      transform: translateY(10px) scale(0.985);
      opacity: 0;
      overflow: hidden;
    }

    .lono-main-move[hidden],
    .lono-side-move[hidden],
    #lonoMoveDots[hidden],
    #lonoDeepDive[hidden],
    #lonoRecommendationEmpty[hidden] {
      display: none !important;
    }

    .lono-recommendation-empty {
      display: grid;
      min-height: 300px;
      place-content: center;
      gap: 8px;
      padding: 32px;
      border: 1px solid rgba(23, 89, 212, 0.16);
      background: #fff;
      color: #18345d;
      text-align: center;
    }

    .lono-recommendation-empty strong {
      font-size: 20px;
    }

    .lono-recommendation-empty p {
      max-width: 560px;
      margin: 0;
      color: #5e6f88;
      line-height: 1.55;
    }

    .lono-recommendation-empty-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
    }

    .lono-main-move.is-complete {
      outline-color: rgba(34, 173, 114, 0.78);
    }

    .lono-main-move.is-skipped {
      outline-color: rgba(123, 138, 164, 0.62);
    }

    .lono-main-move.is-complete::after,
    .lono-main-move.is-skipped::after {
      position: absolute;
      right: 18px;
      top: 18px;
      z-index: 2;
      min-height: 28px;
      padding: 6px 10px;
      border-radius: 999px;
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      box-shadow: 0 12px 28px rgba(18, 37, 76, 0.14);
      animation: lonoStatusIn 220ms ease both;
    }

    .lono-main-move.is-complete::after {
      content: "Approved";
      background: #22ad72;
    }

    .lono-main-move.is-skipped::after {
      content: "Skipped";
      background: #7b8aa4;
    }

    .lono-main-move.is-active {
      display: block;
      animation: lonoCardIn 320ms cubic-bezier(.2, .8, .2, 1) both;
    }

    .lono-main-move.is-owner-selected {
      outline: 3px solid rgba(0, 111, 255, 0.34);
      outline-offset: 4px;
    }

    .lono-main-move.is-owner-editing {
      border-color: rgba(0, 111, 255, 0.48);
      box-shadow: 0 18px 48px rgba(19, 48, 96, 0.10), 0 0 0 5px rgba(0, 111, 255, 0.10);
    }

    @keyframes lonoCardIn {
      from { opacity: 0; transform: translateY(16px) scale(0.985); filter: blur(4px); }
      to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }

    @keyframes lonoStatusIn {
      from { opacity: 0; transform: translateY(-6px) scale(0.96); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .lono-main-head {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 14px;
    }

    .lono-star {
      position: relative;
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: rgba(0, 111, 255, 0.10);
      color: #006fff;
      font-size: 0;
    }

    .lono-star::before {
      content: "";
      width: 18px;
      height: 18px;
      background: url("assets/lono-icons/readable-v2/symbols-svg/06-01-best-move.svg") center / contain no-repeat;
      transform: scale(var(--lc-icon-art-scale));
      transform-origin: center;
    }

    .lono-best-label {
      display: inline-flex;
      align-items: center;
      height: 26px;
      padding: 0 10px;
      border-radius: 8px;
      background: rgba(0, 111, 255, 0.10);
      color: #006fff;
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-main-move h2 {
      display: -webkit-box;
      margin: 0 0 12px;
      max-width: 100%;
      font-size: clamp(23px, 2vw, 30px);
      line-height: 1.12;
      letter-spacing: 0;
      text-wrap: balance;
      overflow-wrap: normal;
      word-break: normal;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .lono-signal-tags,
    .lono-action-row,
    .lono-progress-dots {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .lono-signal-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      max-width: 100%;
      padding: 0 10px;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 8px;
      background: #fff;
      color: #425574;
      font-size: 12px;
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    .lono-move-body {
      display: grid;
      grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
      gap: 20px;
      margin: 16px 0;
      align-items: stretch;
    }

    .lono-preview-art {
      position: relative;
      min-height: 192px;
      overflow: hidden;
      border-radius: 12px;
      background:
        linear-gradient(155deg, rgba(3, 10, 29, 0.18), rgba(3, 10, 29, 0.70)),
        var(--lono-art, linear-gradient(135deg, #0c1838, #0c7cf8));
      background-size: cover;
      background-position: center;
      color: #fff;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    }

    .lono-preview-art.has-photo {
      background:
        linear-gradient(155deg, rgba(3, 10, 29, 0.10), rgba(3, 10, 29, 0.72)),
        var(--lono-art, linear-gradient(135deg, #0c1838, #0c7cf8));
      background-size: cover;
      background-position: center;
    }

    .lono-preview-art::after {
      content: "";
      position: absolute;
      inset: auto -16px -24px 46px;
      height: 92px;
      border-radius: 24px 24px 0 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.14));
      transform: rotate(-35deg);
      opacity: 0.55;
    }

    .lono-preview-art.has-photo::after {
      opacity: 0.18;
    }

    .lono-preview-art.is-video::before {
      content: "Video";
      position: absolute;
      right: 14px;
      bottom: 14px;
      z-index: 2;
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(3, 10, 29, 0.72);
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-preview-art.is-social-post {
      min-height: 330px;
      padding: 10px;
      background: #f8fafc;
      color: #10203f;
      box-shadow: inset 0 0 0 1px rgba(0, 111, 255, 0.12), 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .lono-preview-art.is-social-post::after,
    .lono-preview-art.is-social-post::before {
      display: none;
    }

    .lono-social-post {
      height: 100%;
      min-height: 310px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid rgba(15, 23, 42, 0.10);
      border-radius: 10px;
      background: #fff;
    }

    .lono-social-post-head,
    .lono-social-post-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
    }

    .lono-social-profile {
      display: flex;
      align-items: center;
      gap: 9px;
      min-width: 0;
    }

    .lono-social-avatar {
      flex: 0 0 30px;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, #006fff, #22ad72);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 11px;
      font-weight: 900;
    }

    .lono-social-profile strong,
    .lono-social-copy strong {
      display: block;
      overflow: hidden;
      color: #14233f;
      font-size: 12px;
      font-weight: 900;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lono-social-profile span,
    .lono-social-copy span,
    .lono-social-platform {
      color: #64748b;
      font-size: 10px;
      font-weight: 800;
    }

    .lono-social-platform {
      flex: 0 0 auto;
      padding: 5px 8px;
      border-radius: 999px;
      background: #eef6ff;
      color: #006fff;
      text-transform: uppercase;
    }

    .lono-social-media {
      position: relative;
      min-height: 150px;
      background: #0f172a;
      overflow: hidden;
    }

    .lono-social-media img,
    .lono-social-media video,
    .lono-social-media iframe {
      width: 100%;
      height: 100%;
      min-height: 150px;
      display: block;
      border: 0;
      object-fit: cover;
    }

    .lono-social-media iframe {
      background: #0f172a;
    }

    .lono-social-play {
      position: absolute;
      inset: 50% auto auto 50%;
      transform: translate(-50%, -50%);
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(0, 0, 0, 0.62);
      color: #fff;
      font-size: 20px;
      font-weight: 900;
      pointer-events: none;
    }

    .lono-social-video-chip {
      position: absolute;
      left: 10px;
      bottom: 10px;
      padding: 5px 8px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.78);
      color: #fff;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-generated-media {
      position: relative;
      min-height: 176px;
      display: grid;
      align-content: end;
      gap: 8px;
      padding: 14px;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.88), transparent 20%),
        linear-gradient(135deg, var(--generated-sky, #cdeafe), var(--generated-roof, #3d5c75) 58%, var(--generated-ground, #d7f1d9));
      color: #fff;
    }

    .lono-generated-media::before {
      content: "";
      position: absolute;
      left: 11%;
      right: 11%;
      bottom: 32px;
      height: 72px;
      clip-path: polygon(0 55%, 50% 0, 100% 55%, 90% 100%, 10% 100%);
      background:
        repeating-linear-gradient(115deg, rgba(255,255,255,.16) 0 5px, transparent 5px 12px),
        linear-gradient(135deg, var(--generated-shingle, #2e475c), #172436);
      box-shadow: 0 20px 42px rgba(15, 23, 42, .34);
    }

    .lono-generated-media::after {
      content: "";
      position: absolute;
      left: 17%;
      right: 17%;
      bottom: 20px;
      height: 30px;
      border-radius: 4px 4px 0 0;
      background: linear-gradient(180deg, #fff7ed, #dbeafe);
      box-shadow: inset 0 0 0 1px rgba(15,23,42,.12);
    }

    .lono-generated-media strong,
    .lono-generated-media span {
      position: relative;
      z-index: 1;
      max-width: 82%;
      text-shadow: 0 2px 12px rgba(15, 23, 42, .44);
    }

    .lono-generated-media strong {
      color: #fff;
      font-size: 15px;
      font-weight: 950;
      line-height: 1.1;
    }

    .lono-generated-media span {
      width: fit-content;
      padding: 5px 8px;
      border-radius: 999px;
      background: rgba(15, 23, 42, .72);
      color: #fff;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-social-copy {
      display: grid;
      gap: 7px;
      padding: 11px 12px 8px;
    }

    .lono-social-copy p {
      display: -webkit-box;
      margin: 0;
      color: #253653;
      font-size: 12px;
      line-height: 1.35;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
    }

    .lono-social-hashtags {
      color: #006fff;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.3;
    }

    .lono-social-post-actions {
      margin-top: auto;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      color: #64748b;
      font-size: 11px;
      font-weight: 900;
    }

    .lono-social-cta {
      padding: 6px 9px;
      border-radius: 8px;
      background: #006fff;
      color: #fff;
      font-size: 11px;
      font-weight: 900;
    }

    .lono-preview-copy {
      position: absolute;
      inset: 22px 18px auto 18px;
      display: grid;
      gap: 14px;
      max-width: min(190px, calc(100% - 36px));
      font-weight: 900;
      font-size: clamp(18px, 1.5vw, 22px);
      line-height: 1.1;
      overflow-wrap: anywhere;
      text-shadow: 0 2px 12px rgba(3, 10, 29, 0.44);
    }

    .lono-preview-copy i {
      display: block;
      width: 34px;
      height: 4px;
      border-radius: 999px;
      background: #2f9dff;
    }

    .lono-caption-preview strong {
      display: block;
      margin-bottom: 12px;
      color: #405273;
      font-size: 13px;
    }

    .lono-caption-preview p {
      display: -webkit-box;
      margin: 0 0 18px;
      color: #19305e;
      font-size: 15px;
      line-height: 1.55;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 5;
    }

    .lono-caption-preview p[contenteditable="true"] {
      display: block;
      max-height: none;
      overflow: visible;
      -webkit-line-clamp: initial;
      padding: 10px 12px;
      border: 1px solid rgba(0, 111, 255, 0.28);
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 12px 30px rgba(0, 111, 255, 0.10);
      outline: 0;
    }

    .lono-caption-preview.is-editing strong::after {
      content: "Editing";
      display: inline-flex;
      margin-left: 8px;
      padding: 3px 7px;
      border-radius: 999px;
      background: rgba(0, 111, 255, 0.10);
      color: #006fff;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-view-link {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      color: #006fff;
      font-weight: 900;
      text-decoration: none;
    }

    button.lono-view-link {
      border: 0;
      background: transparent;
      padding: 0;
      font: inherit;
      cursor: pointer;
    }

    .lono-action-row {
      margin-top: 16px;
    }

    .lono-owner-next-step {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px 12px;
      align-items: center;
      margin-top: 12px;
      padding: 12px 14px;
      border: 1px solid rgba(0, 111, 255, 0.16);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(242,247,255,.92));
      box-shadow: 0 12px 28px rgba(13, 39, 90, .07);
      color: #14233d;
    }

    .lono-owner-next-step .lono-visual-icon {
      grid-row: span 4;
      width: 38px;
      height: 38px;
      border-radius: 12px;
    }

    .lono-owner-next-step span {
      color: #006fff;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-owner-next-step strong {
      display: block;
      color: #14233d;
      font-size: 15px;
      line-height: 1.2;
    }

    .lono-owner-next-step p {
      margin: 0;
      color: #52627b;
      font-size: 13px;
      line-height: 1.35;
    }

    .lono-owner-learning-path {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      margin-top: 2px;
    }

    .lono-owner-learning-path b {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 4px 8px;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      color: #30415e;
      font-size: 11px;
      font-weight: 900;
      line-height: 1.2;
      white-space: nowrap;
    }

    .lono-owner-next-step[data-lono-owner-next-step="approved"],
    .lono-owner-next-step[data-lono-owner-next-step="scheduled"] {
      border-color: rgba(34, 173, 114, 0.22);
      background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(242,255,249,.94));
    }

    .lono-owner-next-step[data-lono-owner-next-step="approved"] span,
    .lono-owner-next-step[data-lono-owner-next-step="scheduled"] span {
      color: #16875a;
    }

    .lono-owner-next-step[data-lono-owner-next-step="skipped"] {
      border-color: rgba(123, 138, 164, 0.22);
      background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,248,251,.94));
    }

    .lono-owner-next-step[data-lono-owner-next-step="skipped"] span {
      color: #66758b;
    }

    .lono-action-row .btn {
      min-height: 46px;
      padding-inline: 14px;
      border-radius: 10px;
      transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    }

    .lono-action-row .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 111, 255, 0.18);
    }

    .lono-action-row .btn,
    .lono-action-drawer-actions .btn,
    .lono-mobile-action-bar .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .lono-action-row .btn::before,
    .lono-action-drawer-actions .btn::before,
    .lono-mobile-action-bar .btn::before {
      content: "";
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      background: var(--lono-button-icon) center / contain no-repeat;
      transform: scale(var(--lc-icon-art-scale));
      transform-origin: center;
    }

    .lono-action-row .btn.primary::before,
    .lono-action-drawer-actions .btn.primary::before,
    .lono-mobile-action-bar .btn.primary::before {
      filter: brightness(0) invert(1);
    }

    .lono-action-row [data-lono-action="approve"],
    .lono-mobile-action-bar [data-lono-action="approve"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/01-01-approve.svg");
    }

    .lono-action-row [data-lono-action="edit"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/01-02-edit.svg");
    }

    .lono-action-row [data-lono-action="skip"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/01-03-skip.svg");
    }

    .lono-action-row [data-lono-action="deep-dive"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/01-04-see-strategy.svg");
    }

    .lono-action-drawer-actions [data-lono-action="drawer-schedule"],
    .lono-action-drawer-actions [data-view-button-proxy="calendar"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/02-07-schedule.svg");
    }

    .lono-mobile-action-bar [data-lono-action="next"],
    .lono-action-drawer-actions [data-lono-action="drawer-next"] {
      --lono-button-icon: url("assets/lono-icons/readable-v2/symbols-svg/06-12-next-best-action.svg");
    }

    .lono-progress-dots {
      justify-content: stretch;
      margin: 18px auto 0;
      width: min(100%, 1040px);
    }

    .lono-progress-dots button {
      position: relative;
      display: grid;
      flex: 1 1 170px;
      align-content: center;
      gap: 3px;
      width: auto;
      min-width: 0;
      min-height: 64px;
      height: auto;
      padding: 10px 12px 10px 16px;
      border: 1px solid rgba(23, 89, 212, 0.16);
      border-radius: 10px;
      background: #fff;
      color: #18345d;
      text-align: left;
      cursor: pointer;
      transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    }

    .lono-progress-dots button::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      border-radius: 10px 0 0 10px;
      background: #dbe5f4;
      transition: width 180ms ease, background 180ms ease;
    }

    .lono-progress-dots button span,
    .lono-progress-dots button strong {
      display: block;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lono-progress-dots button span {
      color: #60718d;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-progress-dots button strong {
      color: #18345d;
      font-size: 12px;
      line-height: 1.25;
    }

    .lono-progress-dots button.is-active {
      border-color: rgba(0, 111, 255, 0.52);
      background: #f4f8ff;
      box-shadow: 0 10px 24px rgba(0, 111, 255, 0.10);
      transform: translateY(-2px);
    }

    .lono-progress-dots button.is-active::before {
      width: 5px;
      background: #006fff;
    }

    .lono-progress-dots button.is-affirmed {
      box-shadow: 0 0 0 5px rgba(0, 111, 255, 0.14);
    }

    .lono-progress-dots button.is-complete::before {
      background: #22ad72;
    }

    .lono-progress-dots button.is-skipped::before {
      background: #9aa8bc;
    }

    .lono-complete-banner {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      max-width: 620px;
      margin: 16px auto 0;
      padding: 14px 16px;
      border: 1px solid rgba(34, 173, 114, 0.26);
      border-radius: 16px;
      background:
        radial-gradient(circle at 7% 10%, rgba(34, 173, 114, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 255, 250, 0.94));
      box-shadow: 0 18px 44px rgba(18, 37, 76, 0.10);
      animation: lonoCompleteIn 280ms cubic-bezier(.2, .8, .2, 1) both;
    }

    .lono-complete-banner[hidden] {
      display: none;
    }

    .lono-owner-audit-state {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 8px 10px;
      margin: 12px auto 0;
      width: min(100%, 720px);
      padding: 10px 12px;
      border: 1px solid rgba(0, 111, 255, 0.20);
      border-radius: 12px;
      background: rgba(246, 250, 255, 0.92);
      color: #405273;
      font-size: 13px;
      line-height: 1.35;
      text-align: center;
    }

    .lono-owner-audit-state strong {
      color: #081847;
      font-weight: 900;
    }

    .lono-owner-audit-state[data-lono-owner-audit-state="approved"] {
      border-color: rgba(34, 173, 114, 0.28);
      background: rgba(240, 253, 247, 0.94);
    }

    .lono-owner-audit-state[data-lono-owner-audit-state="skipped"] {
      border-color: rgba(123, 138, 164, 0.34);
      background: rgba(247, 249, 252, 0.94);
    }

    .lono-complete-icon {
      position: relative;
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: #22ad72;
      color: #fff;
      box-shadow: 0 12px 28px rgba(34, 173, 114, 0.26);
    }

    .lono-complete-icon::before {
      content: "";
      width: 18px;
      height: 10px;
      border-left: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      transform: rotate(-45deg) translate(1px, -1px);
    }

    .lono-complete-banner strong {
      display: block;
      color: #081847;
      font-size: 16px;
    }

    .lono-complete-banner p {
      margin: 4px 0 0;
      color: #51617d;
      font-size: 13px;
      line-height: 1.4;
    }

    .lono-complete-count {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(34, 173, 114, 0.12);
      color: #078056;
      font-weight: 900;
      white-space: nowrap;
    }

    @keyframes lonoCompleteIn {
      from { opacity: 0; transform: translateY(10px) scale(0.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .lono-action-drawer {
      display: grid;
      gap: 14px;
      margin: 16px auto 0;
      width: min(100%, 900px);
      padding: 18px;
      border: 1px solid rgba(0, 111, 255, 0.16);
      border-radius: 18px;
      background:
        radial-gradient(circle at 96% 0%, rgba(99, 91, 255, 0.12), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(24, 191, 227, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.98);
      box-shadow: 0 22px 58px rgba(15, 50, 115, 0.12);
      animation: lonoActionDrawerIn 260ms cubic-bezier(.2, .8, .2, 1) both;
    }

    .lono-action-drawer[hidden] {
      display: none;
    }

    .lono-action-drawer-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 4px 12px;
      align-items: center;
    }

    .lono-action-drawer-head span {
      color: #006fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lono-action-drawer-head strong {
      color: #081847;
      font-size: 18px;
      line-height: 1.15;
    }

    .lono-action-drawer-head button {
      position: relative;
      grid-column: 2;
      grid-row: 1 / span 2;
      width: 36px;
      height: 36px;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 999px;
      background: #fff;
      color: #213861;
      cursor: pointer;
      font-size: 0;
    }

    .lono-action-drawer-head button::before,
    .lono-action-drawer-head button::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transform-origin: center;
    }

    .lono-action-drawer-head button::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .lono-action-drawer-head button::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .lono-drawer-context-strip {
      display: grid;
      grid-template-columns: 1.04fr 1fr 1fr;
      gap: 10px;
    }

    .lono-drawer-context-card {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      min-height: 92px;
      padding: 12px;
      border: 1px solid rgba(0, 111, 255, 0.1);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.86);
      box-shadow: 0 10px 24px rgba(13, 39, 90, 0.05);
    }

    .lono-drawer-context-card span {
      display: block;
      color: #006fff;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lono-drawer-context-card strong {
      display: block;
      margin-top: 3px;
      color: #0c2458;
      font-size: 13px;
      line-height: 1.16;
    }

    .lono-drawer-context-card p {
      margin: 5px 0 0;
      color: #5a6983;
      font-size: 11px;
      line-height: 1.32;
    }

    .lono-drawer-decision-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      align-items: stretch;
    }

    .lono-action-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .lono-action-steps.is-choice-flow {
      display: contents;
    }

    .lono-action-step {
      display: grid;
      gap: 5px;
      min-height: 94px;
      padding: 12px;
      border: 1px solid rgba(0, 111, 255, 0.11);
      border-radius: 12px;
      background: #f8fbff;
    }

    .lono-drawer-action-card {
      align-content: start;
      min-height: 204px;
      background: linear-gradient(180deg, #fff, #f9fbff);
      box-shadow: 0 10px 26px rgba(13, 39, 90, 0.06);
    }

    .lono-drawer-action-head {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      align-items: center;
      gap: 9px;
    }

    .lono-drawer-action-head > div {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .lono-drawer-action-head .lono-visual-icon {
      width: var(--lc-icon-tile-medium);
      height: var(--lc-icon-tile-medium);
      border-radius: 10px;
    }

    .lono-drawer-action-kicker {
      color: #006fff;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .08em;
      line-height: 1;
      text-transform: uppercase;
    }

    .lono-drawer-action-head strong {
      display: block;
      min-width: 0;
      line-height: 1.18;
    }

    .lono-drawer-choices {
      display: grid;
      gap: 7px;
      margin-top: 5px;
    }

    .lono-drawer-choice {
      display: grid;
      gap: 3px;
      width: 100%;
      padding: 9px 10px;
      border: 1px solid rgba(0, 111, 255, 0.12);
      border-radius: 11px;
      background: #fff;
      color: #445575;
      text-align: left;
      cursor: pointer;
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .lono-drawer-choice:hover,
    .lono-drawer-choice.is-selected {
      transform: translateY(-1px);
      border-color: rgba(0, 111, 255, 0.48);
      background: #f8fbff;
      box-shadow: 0 12px 26px rgba(0, 111, 255, 0.12);
    }

    .lono-drawer-choice strong {
      color: #0c2458;
      font-size: 12px;
      line-height: 1.12;
    }

    .lono-drawer-choice span {
      color: #667287;
      font-size: 11px;
      line-height: 1.24;
    }

    .lono-action-step i {
      display: grid;
      place-items: center;
      width: 26px;
      height: 26px;
      border-radius: 9px;
      background: #006fff;
      color: #fff;
      font-size: 12px;
      font-style: normal;
      font-weight: 950;
    }

    .lono-action-step > strong {
      color: #0c2458;
      font-size: 13px;
      line-height: 1.16;
    }

    .lono-action-step > span,
    #lonoActionDrawerCopy {
      color: #51617d;
      font-size: 12px;
      line-height: 1.35;
    }

    #lonoActionDrawerCopy {
      margin: 0;
      padding: 12px 14px;
      border: 1px solid rgba(0, 111, 255, 0.1);
      border-radius: 12px;
      background: #f8fbff;
    }

    .lono-outcome-preview {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      border: 1px solid rgba(34, 173, 114, 0.18);
      border-radius: 14px;
      background: linear-gradient(180deg, #f8fffb, #f2fff8);
    }

    .lono-outcome-preview span {
      display: block;
      color: #16875a;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lono-outcome-preview strong {
      display: block;
      margin-top: 3px;
      color: #0c2458;
      font-size: 13px;
      line-height: 1.18;
    }

    .lono-outcome-preview p {
      margin: 5px 0 0;
      color: #51617d;
      font-size: 12px;
      line-height: 1.35;
    }

    .lono-outcome-preview b {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      max-width: 220px;
      padding: 5px 9px;
      border: 1px solid rgba(34, 173, 114, 0.2);
      border-radius: 999px;
      background: rgba(255,255,255,.76);
      color: #16875a;
      font-size: 11px;
      font-weight: 950;
      line-height: 1.2;
      text-align: center;
    }

    .lono-action-scheduler {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid rgba(245, 158, 11, 0.18);
      border-radius: 14px;
      background: linear-gradient(180deg, #fff, #fffaf2);
    }

    .lono-action-scheduler.is-owner-step {
      border-color: rgba(245, 158, 11, 0.26);
      box-shadow: 0 10px 26px rgba(245, 158, 11, 0.08);
    }

    .lono-action-scheduler[hidden] {
      display: none;
    }

    .lono-action-scheduler-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .lono-action-scheduler-head span {
      color: #b45309;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lono-action-scheduler-head strong {
      color: #0c2458;
      font-size: 14px;
    }

    .lono-schedule-options {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .lono-schedule-options button {
      display: grid;
      gap: 3px;
      min-height: 74px;
      padding: 10px;
      border: 1px solid rgba(245, 158, 11, 0.2);
      border-radius: 12px;
      background: #fff;
      color: #445575;
      text-align: left;
      cursor: pointer;
      transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    }

    .lono-schedule-options button:hover,
    .lono-schedule-options button.is-selected {
      transform: translateY(-1px);
      border-color: rgba(245, 158, 11, 0.56);
      box-shadow: 0 12px 28px rgba(245, 158, 11, 0.16);
    }

    .lono-schedule-options button strong {
      color: #0c2458;
      font-size: 13px;
      line-height: 1.12;
    }

    .lono-schedule-options button span {
      color: #667287;
      font-size: 11px;
      line-height: 1.28;
    }

    .lono-action-drawer-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    @keyframes lonoActionDrawerIn {
      from { opacity: 0; transform: translateY(12px) scale(.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .lono-read-signal strong,
    .lono-impact-card strong,
    .lono-reco strong {
      color: #081847;
    }

    .lono-sheet-close::before,
    .lono-sheet-close::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      transform-origin: center;
    }

    .lono-sheet-close::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .lono-sheet-close::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .lono-read-signal {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 14px;
      align-items: center;
      min-height: 76px;
      margin-top: 12px;
      padding: 14px;
      border: 1px solid rgba(0, 111, 255, 0.10);
      border-radius: 12px;
      background: linear-gradient(180deg, #fff, #f8fbff);
    }

    .lono-signal-icon {
      --lono-glyph-inset: var(--lc-icon-glyph-inset);
      position: relative;
      display: grid;
      place-items: center;
      width: var(--lc-icon-tile-large);
      height: var(--lc-icon-tile-large);
      border-radius: 12px;
      background: rgba(0, 111, 255, 0.08);
      color: #006fff;
      font-weight: 900;
    }

    .lono-signal-icon::before,
    .lono-signal-icon::after {
      content: "";
      position: absolute;
      display: block;
    }

    .lono-signal-icon.trend::before {
      width: 22px;
      height: 12px;
      border-left: 3px solid currentColor;
      border-top: 3px solid currentColor;
      transform: rotate(135deg);
      border-radius: 2px 0 0 0;
    }

    .lono-signal-icon.trend::after {
      width: 8px;
      height: 8px;
      right: 12px;
      top: 11px;
      border-top: 3px solid currentColor;
      border-right: 3px solid currentColor;
      transform: rotate(45deg);
      border-radius: 1px;
    }

    .lono-signal-icon.shield::before {
      width: 20px;
      height: 24px;
      border: 3px solid currentColor;
      border-radius: 12px 12px 14px 14px;
      clip-path: polygon(50% 0, 100% 16%, 86% 78%, 50% 100%, 14% 78%, 0 16%);
    }

    .lono-signal-icon.target::before {
      width: 22px;
      height: 22px;
      border: 3px solid currentColor;
      border-radius: 50%;
    }

    .lono-signal-icon.target::after {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
    }

    .lono-signal-icon.path::before {
      width: 24px;
      height: 16px;
      border-left: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      border-radius: 0 0 0 9px;
      transform: translateX(-2px) rotate(-8deg);
    }

    .lono-signal-icon.path::after {
      width: 8px;
      height: 8px;
      right: 9px;
      top: 13px;
      border-top: 3px solid currentColor;
      border-right: 3px solid currentColor;
      transform: rotate(45deg);
    }

    .lono-confidence {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 14px;
      align-items: center;
      margin: 20px 0;
      padding-top: 18px;
      border-top: 1px solid rgba(10, 30, 70, 0.10);
    }

    .lono-ring {
      display: grid;
      place-items: center;
      width: 66px;
      height: 66px;
      border-radius: 50%;
      background: conic-gradient(#22ad72 0 82%, #e6eef7 82% 100%);
      color: #0b224f;
      font-weight: 900;
    }

    .lono-ring::before {
      content: attr(data-value);
      display: grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #fff;
    }

    .lono-link-card {
      margin-top: 18px;
      padding: 16px;
      border: 1px solid rgba(0, 111, 255, 0.14);
      border-radius: 12px;
      background: #fff;
    }

    .lono-flow-icons {
      display: grid;
      grid-template-columns: 1fr auto 1fr auto 1fr;
      align-items: center;
      gap: 10px;
      margin: 14px 0;
      color: #006fff;
      font-weight: 900;
      text-align: center;
    }

    .lono-flow-icons span {
      display: grid;
      place-items: center;
      min-height: 52px;
      border-radius: 12px;
      background: #f3f7ff;
      font-size: 12px;
      color: #0c2458;
    }

    .lono-flow-icons b {
      position: relative;
      display: block;
      width: 22px;
      height: 14px;
      font-size: 0;
    }

    .lono-flow-icons b::before,
    .lono-flow-icons b::after {
      content: "";
      position: absolute;
      display: block;
    }

    .lono-flow-icons b::before {
      left: 0;
      top: 6px;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
    }

    .lono-flow-icons b::after {
      right: 1px;
      top: 3px;
      width: 8px;
      height: 8px;
      border-top: 2px solid currentColor;
      border-right: 2px solid currentColor;
      transform: rotate(45deg);
    }

    .lono-deep-dive {
      margin-top: 24px;
      padding: 18px;
      border-radius: 16px;
    }

    .lono-deep-dive.is-revealed {
      border-color: rgba(0, 111, 255, 0.34);
      box-shadow: 0 18px 48px rgba(19, 48, 96, 0.10), 0 0 0 5px rgba(0, 111, 255, 0.08);
    }

    .lono-deep-tabs {
      display: flex;
      gap: 24px;
      align-items: center;
      border-bottom: 1px solid rgba(10, 30, 70, 0.10);
      margin-bottom: 16px;
    }

    .lono-deep-tabs button {
      min-height: 42px;
      border: 0;
      border-bottom: 2px solid transparent;
      background: transparent;
      color: #495e7d;
      font-weight: 900;
      cursor: pointer;
    }

    .lono-deep-tabs button.is-active {
      color: #006fff;
      border-color: #006fff;
    }

    .lono-deep-tabs [data-lono-action="hide-details"] {
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #61708b;
    }

    .lono-deep-tabs [data-lono-action="hide-details"]::after {
      content: "^";
      color: #006fff;
      font-size: 13px;
      line-height: 1;
    }

    .lono-deep-tabs [data-lono-action="hide-details"].is-used::before {
      content: none;
    }

    .lono-deep-grid,
    .lono-intel-brief {
      display: grid;
      gap: 16px;
    }

    .lono-intel-brief {
      padding: 18px;
      border-top: 3px solid #081847;
      border-bottom: 1px solid #dfe8f5;
      background: #fff;
    }

    .lono-brief-head {
      display: grid;
      gap: 6px;
      max-width: 920px;
    }

    .lono-brief-head span {
      color: #006fff;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .lono-brief-head strong {
      color: #081847;
      font-size: clamp(20px, 2.2vw, 30px);
      line-height: 1.08;
      letter-spacing: 0;
    }

    .lono-brief-head p,
    .lono-brief-row p,
    .lono-outcome-step span {
      margin: 0;
      color: #51617d;
      font-size: 13px;
      line-height: 1.45;
    }

    .lono-brief-flow {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 18px;
      align-items: stretch;
    }

    .lono-brief-rail {
      position: relative;
      display: grid;
      gap: 0;
      padding-left: 18px;
    }

    .lono-brief-rail::before {
      content: "";
      position: absolute;
      top: 10px;
      bottom: 10px;
      left: 4px;
      width: 3px;
      border-radius: 999px;
      background: linear-gradient(180deg, #006fff, #27d2db 48%, #18a66b);
    }

    .lono-brief-row {
      position: relative;
      display: grid;
      grid-template-columns: 138px minmax(0, 1fr);
      gap: 12px;
      min-width: 0;
      padding: 12px 0 12px 16px;
      border-bottom: 1px solid rgba(0, 111, 255, 0.10);
    }

    .lono-brief-row:last-child {
      border-bottom: 0;
    }

    .lono-brief-row::before {
      content: "";
      position: absolute;
      top: 20px;
      left: -19px;
      width: 12px;
      height: 12px;
      border: 3px solid #ffffff;
      border-radius: 50%;
      background: var(--brief-dot, #006fff);
      box-shadow: 0 0 0 1px rgba(0, 111, 255, 0.18);
    }

    .lono-brief-row.attention { --brief-dot: #006fff; }
    .lono-brief-row.evidence { --brief-dot: #27d2db; }
    .lono-brief-row.bridge { --brief-dot: #18a66b; }
    .lono-brief-row.outcome { --brief-dot: #6b47ff; }

    .lono-brief-row > span {
      color: #536486;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .05em;
      line-height: 1.25;
      text-transform: uppercase;
    }

    .lono-brief-row strong {
      display: block;
      color: #081847;
      font-size: 17px;
      line-height: 1.18;
      overflow-wrap: anywhere;
    }

    .lono-pillar-impact {
      display: grid;
      align-content: start;
      gap: 12px;
      min-width: 0;
      padding: 4px 0 0 6px;
    }

    .lono-pillar-impact > span {
      color: #536486;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .lono-pillar-impact > strong {
      color: #081847;
      font-size: 18px;
      line-height: 1.18;
    }

    .lono-pillar-bars {
      display: grid;
      gap: 11px;
    }

    .lono-pillar-bar {
      display: grid;
      grid-template-columns: 34px 116px minmax(0, 1fr) 42px;
      gap: 10px;
      align-items: center;
      min-width: 0;
    }

    .lono-pillar-bar .lono-visual-icon {
      width: 28px;
      height: 28px;
      border-radius: 0;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      box-shadow: none;
    }

    .lono-pillar-bar span,
    .lono-pillar-bar b {
      color: #081847;
      font-size: 12px;
      font-weight: 900;
      line-height: 1.2;
    }

    .lono-pillar-bar small {
      display: block;
      margin-top: 2px;
      color: #51617d;
      font-size: 10px;
      font-weight: 750;
      line-height: 1.15;
    }

    .lono-pillar-bar b {
      text-align: right;
    }

    .lono-pillar-track {
      height: 9px;
      overflow: hidden;
      border-radius: 999px;
      background: #e6edf7;
    }

    .lono-pillar-fill {
      display: block;
      width: var(--pillar-score, 50%);
      height: 100%;
      border-radius: inherit;
      background: var(--pillar-color, #006fff);
    }

    .lono-pillar-card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .lono-pillar-card {
      min-width: 0;
      padding: 12px;
      border: 1px solid hsla(var(--pillar-hue, 188), 72%, 54%, .26);
      background:
        radial-gradient(circle at 0% 0%, hsla(var(--pillar-hue, 188), 82%, 58%, .13), transparent 42%),
        #fff;
    }

    .lono-pillar-card-head {
      display: grid;
      grid-template-columns: 30px minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      margin-bottom: 10px;
    }

    .lono-pillar-card-head .lono-visual-icon {
      width: 26px;
      height: 26px;
      border-radius: 0;
      background-size: contain;
      box-shadow: none;
    }

    .lono-pillar-card-head strong {
      display: block;
      color: #081847;
      font-size: 14px;
      font-weight: 950;
      line-height: 1.05;
    }

    .lono-pillar-card-head small {
      display: block;
      margin-top: 2px;
      color: #51617d;
      font-size: 10px;
      font-weight: 780;
      line-height: 1.15;
    }

    .lono-pillar-card-score {
      color: hsl(var(--pillar-hue, 188) 74% 36%);
      font-size: 24px;
      font-weight: 950;
      line-height: 1;
    }

    .lono-subpillar-list {
      display: grid;
      gap: 7px;
    }

    .lono-subpillar-row {
      display: grid;
      grid-template-columns: minmax(84px, 1fr) minmax(0, .9fr) 34px;
      gap: 8px;
      align-items: center;
      color: #081847;
      font-size: 11px;
      font-weight: 850;
    }

    .lono-subpillar-row span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lono-subpillar-track {
      height: 7px;
      overflow: hidden;
      background: #e6edf7;
    }

    .lono-subpillar-track i {
      display: block;
      width: var(--subpillar-score, 50%);
      height: 100%;
      background: hsl(var(--pillar-hue, 188) 74% 46%);
    }

    .lono-subpillar-row b {
      text-align: right;
      font-size: 11px;
      font-weight: 950;
    }

    .lono-subpillar-row em {
      grid-column: 1 / -1;
      margin-top: -3px;
      color: #66748f;
      font-size: 10px;
      font-style: normal;
      font-weight: 760;
      line-height: 1.2;
    }

    .lono-decision-matrix {
      display: grid;
      gap: 0;
      border-top: 2px solid #081847;
      border-bottom: 1px solid #dfe8f5;
      background: #fff;
    }

    .lono-planning-metrics {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border-top: 1px solid #dfe8f5;
      border-bottom: 1px solid #dfe8f5;
      background: #f8fbff;
    }

    .lono-planning-metric {
      min-width: 0;
      padding: 12px 14px;
      border-right: 1px solid #dfe8f5;
    }

    .lono-planning-metric:last-child {
      border-right: 0;
    }

    .lono-planning-metric span,
    .lono-planning-metric em {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lono-planning-metric .lono-visual-icon {
      width: 22px;
      height: 22px;
      margin-bottom: 6px;
      border-radius: 0;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      box-shadow: none;
    }

    .lono-planning-metric span {
      color: #51617d;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .lono-planning-metric strong {
      display: block;
      margin-top: 4px;
      color: #081847;
      font-size: 23px;
      font-weight: 950;
      line-height: 1.05;
    }

    .lono-planning-metric em {
      margin-top: 5px;
      color: #51617d;
      font-size: 11px;
      font-style: normal;
      font-weight: 750;
      line-height: 1.25;
    }

    .lono-estimate-basis {
      margin: 0;
      padding: 12px 14px;
      color: #3d4d68;
      background: #fff;
      border-bottom: 1px solid #dfe8f5;
      font-size: 12px;
      font-weight: 760;
      line-height: 1.45;
    }

    .lono-matrix-head,
    .lono-matrix-row {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(170px, .82fr) minmax(190px, .9fr) minmax(0, 1.45fr);
      gap: 12px;
      align-items: center;
      padding: 9px 0;
      border-bottom: 1px solid #e6edf7;
      background: transparent;
    }

    .lono-matrix-row:last-child {
      border-bottom: 0;
    }

    .lono-matrix-head {
      color: #536486;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .06em;
      line-height: 1.1;
      text-transform: uppercase;
      background: #f6f9fe;
    }

    .lono-matrix-head span,
    .lono-matrix-row > span,
    .lono-matrix-row strong,
    .lono-matrix-row b,
    .lono-matrix-row em {
      padding: 0 12px;
    }

    .lono-matrix-row > span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #081847;
      font-size: 13px;
      font-weight: 950;
      line-height: 1.2;
    }

    .lono-matrix-row .lono-visual-icon {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      flex: 0 0 auto;
    }

    .lono-stream-column span,
    .lono-owner-explain span {
      color: #536486;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: .05em;
      line-height: 1.1;
      text-transform: uppercase;
    }

    .lono-matrix-row strong,
    .lono-matrix-row b {
      color: #081847;
      font-size: clamp(18px, 1.7vw, 22px);
      line-height: 1;
      font-weight: 950;
    }

    .lono-matrix-row b {
      color: #006fff;
    }

    .lono-matrix-row em {
      color: #667999;
      font-size: 11px;
      font-style: normal;
      font-weight: 800;
      line-height: 1.2;
    }

    .lono-stream-compare {
      display: grid;
      grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
      gap: 0;
      align-items: stretch;
      border-top: 1px solid #dfe8f5;
      border-bottom: 1px solid #dfe8f5;
    }

    .lono-stream-column {
      min-width: 0;
      display: grid;
      gap: 8px;
      padding: 16px 18px;
      border: 0;
      background: #fff;
    }

    .lono-stream-column.is-traditional {
      background: #f8fafc;
      border-right: 1px solid #dfe8f5;
    }

    .lono-stream-column.is-discovered {
      background: #fff;
      box-shadow: inset 4px 0 0 #006fff;
    }

    .lono-stream-column strong,
    .lono-owner-explain strong {
      color: #081847;
      font-size: 18px;
      line-height: 1.15;
    }

    .lono-stream-column p,
    .lono-owner-explain p,
    .lono-pillar-why {
      margin: 0;
      color: #51617d;
      font-size: 13px;
      line-height: 1.45;
    }

    .lono-stream-column b {
      width: fit-content;
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #0f4fb4;
      font-size: 12px;
      line-height: 1.3;
      font-weight: 950;
    }

    .lono-stream-column.is-traditional b {
      background: transparent;
      color: #475569;
    }

    .lono-owner-explain-grid {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 20px;
      align-items: start;
      padding-top: 2px;
    }

    .lono-owner-explain {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 12px;
      padding: 2px 0 0;
      border: 0;
      background: transparent;
    }

    .lono-owner-explain .lono-visual-icon {
      width: 34px;
      height: 34px;
      border-radius: 8px;
    }

    .lono-pillar-why {
      padding-top: 10px;
      border-top: 1px solid #e4edf8;
    }

    .lono-outcome-ladder {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .lono-outcome-step {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 32px;
      padding-right: 12px;
      color: #081847;
      font-size: 12px;
      font-weight: 900;
    }

    .lono-outcome-step:not(:last-child)::after {
      content: ">";
      color: #8aa0c4;
      font-weight: 950;
    }

    .lono-signal-list,
    .lono-reco-list {
      display: grid;
      gap: 10px;
    }

    .lono-signal-row,
    .lono-reco {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      padding: 10px;
      border-radius: 10px;
      background: #f8fbff;
      color: #51617d;
      font-size: 12px;
    }

    .lono-signal-row strong,
    .lono-signal-row span,
    .lono-reco strong,
    .lono-reco span {
      display: block;
      min-width: 0;
    }

    .lono-signal-row strong,
    .lono-reco strong {
      margin-bottom: 2px;
    }

    .lono-generator-path {
      display: grid;
      gap: 8px;
    }

    .lono-generator-path > span {
      position: relative;
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #f4f8ff;
      color: #133068;
      font-weight: 800;
      font-size: 13px;
    }

    .lono-generator-path > span:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 29px;
      bottom: -8px;
      width: 2px;
      height: 8px;
      background: rgba(0, 111, 255, 0.22);
    }

    .lono-generator-path em {
      grid-column: 2;
      margin-top: -7px;
      color: #536486;
      font-size: 11px;
      font-style: normal;
      font-weight: 800;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .lono-impact-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .lono-deep-analytics-card > strong {
      display: block;
      margin-bottom: 12px;
      color: #081847;
      font-size: 15px;
    }

    .lono-impact-card {
      display: grid;
      gap: 8px;
      min-height: 112px;
      padding: 12px;
      border-radius: 12px;
      background: #f8fbff;
    }

    .lono-impact-card .lono-visual-icon {
      width: var(--lc-icon-tile-small);
      height: var(--lc-icon-tile-small);
      border-radius: 10px;
    }

    .lono-impact-card b {
      display: block;
      color: #13a765;
      font-size: clamp(18px, 2vw, 25px);
      line-height: 1;
      overflow-wrap: anywhere;
    }

    .lono-reco {
      grid-template-columns: 40px minmax(0, 1fr) auto;
      background: #fff;
      border: 1px solid rgba(0, 111, 255, 0.1);
    }

    .lono-reco::after {
      content: ">";
      color: #006fff;
      font-size: 16px;
      font-weight: 900;
    }

    .lono-visual-icon {
      --lono-glyph-inset: var(--lc-icon-glyph-inset);
      position: relative;
      display: grid;
      place-items: center;
      width: var(--lc-icon-tile);
      height: var(--lc-icon-tile);
      border-radius: 11px;
      color: #006fff;
      background: var(--lono-icon-bg, rgba(0, 111, 255, 0.09));
      overflow: hidden;
    }

    .lono-visual-icon::before,
    .lono-visual-icon::after {
      content: "";
      position: absolute;
      display: block;
    }

    .lono-visual-icon.trend { color: #16a765; background: rgba(34, 173, 114, 0.11); }
    .lono-visual-icon.shield { color: #006fff; background: rgba(0, 111, 255, 0.09); }
    .lono-visual-icon.target { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
    .lono-visual-icon.path,
    .lono-visual-icon.post { color: #7c3aed; background: rgba(124, 58, 237, 0.1); }
    .lono-visual-icon.source { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); }
    .lono-visual-icon.performance,
    .lono-visual-icon.capture { color: #0ea5e9; background: rgba(14, 165, 233, 0.1); }
    .lono-visual-icon.generator { color: #006fff; background: rgba(0, 111, 255, 0.1); }
    .lono-visual-icon.review { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
    .lono-visual-icon.star { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
    .lono-visual-icon.calendar { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
    .lono-visual-icon.money { color: #13a765; background: rgba(34, 173, 114, 0.11); }

    .lono-visual-icon.trend::before {
      width: 19px;
      height: 11px;
      border-left: 3px solid currentColor;
      border-top: 3px solid currentColor;
      transform: rotate(135deg);
      border-radius: 2px 0 0 0;
    }

    .lono-visual-icon.trend::after,
    .lono-visual-icon.path::after,
    .lono-visual-icon.performance::after {
      width: 7px;
      height: 7px;
      right: 9px;
      top: 9px;
      border-top: 3px solid currentColor;
      border-right: 3px solid currentColor;
      transform: rotate(45deg);
    }

    .lono-visual-icon.shield::before {
      width: 18px;
      height: 22px;
      border: 3px solid currentColor;
      border-radius: 10px 10px 13px 13px;
      clip-path: polygon(50% 0, 100% 16%, 86% 78%, 50% 100%, 14% 78%, 0 16%);
    }

    .lono-visual-icon.target::before {
      width: 22px;
      height: 22px;
      border: 3px solid currentColor;
      border-radius: 50%;
    }

    .lono-visual-icon.target::after {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
    }

    .lono-visual-icon.path::before,
    .lono-visual-icon.performance::before {
      width: 22px;
      height: 14px;
      border-left: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      border-radius: 0 0 0 9px;
      transform: translateX(-1px) rotate(-8deg);
    }

    .lono-visual-icon.source::before {
      width: 18px;
      height: 14px;
      border: 3px solid currentColor;
      border-radius: 50%;
    }

    .lono-visual-icon.source::after {
      width: 21px;
      height: 3px;
      background: currentColor;
      transform: rotate(90deg);
      box-shadow: -7px 0 0 currentColor, 7px 0 0 currentColor;
      opacity: .8;
    }

    .lono-visual-icon.post::before {
      width: 19px;
      height: 14px;
      border-left: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      transform: rotate(135deg);
      border-radius: 2px;
    }

    .lono-visual-icon.generator::before {
      width: 18px;
      height: 18px;
      border: 3px solid currentColor;
      border-radius: 5px;
      clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
    }

    .lono-visual-icon.capture::before {
      width: 18px;
      height: 18px;
      border: 3px solid currentColor;
      border-radius: 4px;
    }

    .lono-visual-icon.capture::after {
      width: 10px;
      height: 3px;
      background: currentColor;
      box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
    }

    .lono-visual-icon.review::before {
      width: 20px;
      height: 14px;
      border: 3px solid currentColor;
      border-radius: 4px;
    }

    .lono-visual-icon.review::after {
      width: 7px;
      height: 7px;
      left: 11px;
      bottom: 8px;
      border-left: 3px solid currentColor;
      border-bottom: 3px solid currentColor;
      transform: skew(-18deg);
    }

    .lono-visual-icon.star::before {
      width: 22px;
      height: 22px;
      background: currentColor;
      clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 55%, 79% 90%, 50% 69%, 21% 90%, 31% 55%, 2% 35%, 38% 34%);
    }

    .lono-visual-icon.calendar::before {
      width: 20px;
      height: 18px;
      border: 3px solid currentColor;
      border-radius: 4px;
    }

    .lono-visual-icon.calendar::after {
      width: 20px;
      height: 3px;
      top: 12px;
      background: currentColor;
      box-shadow: -5px -5px 0 -1px currentColor, 5px -5px 0 -1px currentColor;
    }

    .lono-visual-icon.money::before {
      content: "$";
      position: static;
      color: currentColor;
      font-size: 18px;
      font-weight: 950;
    }

    .lono-signal-icon.trend,
    .lono-visual-icon.trend { --lono-icon-url: url("assets/lono-icons/trend.svg"); }
    .lono-signal-icon.shield,
    .lono-visual-icon.shield { --lono-icon-url: url("assets/lono-icons/shield.svg"); }
    .lono-signal-icon.target,
    .lono-visual-icon.target { --lono-icon-url: url("assets/lono-icons/target.svg"); }
    .lono-signal-icon.path,
    .lono-visual-icon.path { --lono-icon-url: url("assets/lono-icons/path.svg"); }
    .lono-visual-icon.post { --lono-icon-url: url("assets/lono-icons/post.svg"); }
    .lono-visual-icon.generator { --lono-icon-url: url("assets/lono-icons/generator.svg"); }
    .lono-visual-icon.capture { --lono-icon-url: url("assets/lono-icons/capture.svg"); }
    .lono-visual-icon.review { --lono-icon-url: url("assets/lono-icons/review.svg"); }
    .lono-visual-icon.star { --lono-icon-url: url("assets/lono-icons/star.svg"); }
    .lono-visual-icon.calendar { --lono-icon-url: url("assets/lono-icons/calendar.svg"); }
    .lono-visual-icon.money { --lono-icon-url: url("assets/lono-icons/money.svg"); }
    .lono-visual-icon.source { --lono-icon-url: url("assets/lono-icons/source.svg"); }
    .lono-visual-icon.performance { --lono-icon-url: url("assets/lono-icons/performance.svg"); }

    .lono-visual-icon.approve { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-01-approve.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.edit { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-02-edit.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.skip { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-03-skip.svg"); --lono-icon-bg: #edf2f7; }
    .lono-visual-icon.see-strategy { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-04-see-strategy.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.next-move { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-05-next-move.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.quick-view { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-06-quick-view.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.complete { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-07-complete.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.pause { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/01-08-pause.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.review-request { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-01-review-request.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.post-content { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-02-post-content.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.follow-up { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-03-follow-up.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.update-offer { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-04-update-offer.svg"); --lono-icon-bg: #fff1d6; }
    .lono-visual-icon.lead-generator { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-05-lead-generator.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.campaign-launch { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-06-campaign-launch.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.schedule { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-07-schedule.svg"); --lono-icon-bg: #fff1d6; }
    .lono-visual-icon.browser-assist { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/02-08-browser-assist.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-signal-icon.lono,
    .lono-visual-icon.lono { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-01-lono.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-signal-icon.demand-trend,
    .lono-visual-icon.demand-trend { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-02-demand-trend.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-signal-icon.trust-pillar,
    .lono-visual-icon.trust-pillar { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-03-trust-pillar.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-signal-icon.timing-signal,
    .lono-visual-icon.timing-signal { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-04-timing-signal.svg"); --lono-icon-bg: #fff1d6; }
    .lono-signal-icon.source-pattern,
    .lono-visual-icon.source-pattern { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-05-source-pattern.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-signal-icon.confidence,
    .lono-visual-icon.confidence { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-06-confidence.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-signal-icon.learning,
    .lono-visual-icon.learning { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-07-learning.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-signal-icon.evidence,
    .lono-visual-icon.evidence { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/03-08-evidence.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.crm-lead { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-01-crm-lead.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.warm-lead { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-02-warm-lead.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.quote { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-03-quote.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.lead-capture { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-04-lead-capture.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.generator-match { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-05-generator-match.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.conversion { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-06-conversion.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.review-lift { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-07-review-lift.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.lead-value { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/04-08-lead-value.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.trust { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-01-trust.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.demand { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-02-demand.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.authority { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-03-authority.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.community { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-04-community.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.connected { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-05-connected.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.warning { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-06-warning.svg"); --lono-icon-bg: #fff1d6; }
    .lono-visual-icon.private-data-safe { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-07-private-data-safe.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.backup-restore { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/05-08-backup-restore.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.best-move { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-01-best-move.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.lono-recommends { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-02-lono-recommends.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.insight { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-03-insight.svg"); --lono-icon-bg: #f0e8ff; }
    .lono-visual-icon.signal-map { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-05-signal-map.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.pattern-found { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-09-pattern-found.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.forecast { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-10-forecast.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.next-best-action { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-12-next-best-action.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.publish-broadcast-live { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-13-publish-broadcast-live.svg"); --lono-icon-bg: #e7f6ee; }
    .lono-visual-icon.lono-diamond { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-14-lono-diamond.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.lono-signal { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-15-lono-signal.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.lono-path { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-16-lono-path.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.lono-eye { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-17-lono-eye.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.lono-spark { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-18-lono-spark.svg"); --lono-icon-bg: #e6f8fb; }
    .lono-visual-icon.lono-compass { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/06-19-lono-compass.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.map-pin { --lono-icon-url: url("assets/lono-icons/readable-v2/symbols-svg/crm-map-pin.svg"); --lono-icon-bg: #e8f1ff; }
    .lono-visual-icon.phone-call { --lono-icon-url: var(--lc-icon-phone); --lono-icon-bg: #e8f1ff; }

    .lono-signal-icon.trend::before,
    .lono-signal-icon.shield::before,
    .lono-signal-icon.target::before,
    .lono-signal-icon.path::before,
    .lono-visual-icon.trend::before,
    .lono-visual-icon.shield::before,
    .lono-visual-icon.target::before,
    .lono-visual-icon.path::before,
    .lono-visual-icon.post::before,
    .lono-visual-icon.generator::before,
    .lono-visual-icon.capture::before,
    .lono-visual-icon.review::before,
    .lono-visual-icon.star::before,
    .lono-visual-icon.calendar::before,
    .lono-visual-icon.money::before,
    .lono-visual-icon.source::before,
    .lono-visual-icon.performance::before {
      content: "";
      position: absolute;
      inset: var(--lono-glyph-inset, 2px);
      width: auto;
      height: auto;
      border: 0;
      border-radius: 0;
      background: transparent var(--lono-icon-url) center / contain no-repeat;
      box-shadow: none;
      clip-path: none;
      transform: none;
    }

    .lono-signal-icon:is(.lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence)::before,
    .lono-visual-icon:is(.approve, .edit, .skip, .see-strategy, .next-move, .quick-view, .complete, .pause, .review-request, .post-content, .follow-up, .update-offer, .lead-generator, .campaign-launch, .schedule, .browser-assist, .lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence, .crm-lead, .warm-lead, .quote, .lead-capture, .generator-match, .conversion, .review-lift, .lead-value, .trust, .demand, .authority, .community, .connected, .warning, .private-data-safe, .backup-restore, .best-move, .lono-recommends, .insight, .signal-map, .pattern-found, .forecast, .next-best-action, .publish-broadcast-live, .lono-diamond, .lono-signal, .lono-path, .lono-eye, .lono-spark, .lono-compass, .map-pin, .phone-call)::before {
      content: "";
      position: absolute;
      inset: var(--lono-glyph-inset, 2px);
      width: auto;
      height: auto;
      border: 0;
      border-radius: 0;
      background: transparent var(--lono-icon-url) center / contain no-repeat;
      box-shadow: none;
      clip-path: none;
      transform: none;
    }

    .lono-signal-icon.trend::after,
    .lono-signal-icon.shield::after,
    .lono-signal-icon.target::after,
    .lono-signal-icon.path::after,
    .lono-visual-icon.trend::after,
    .lono-visual-icon.shield::after,
    .lono-visual-icon.target::after,
    .lono-visual-icon.path::after,
    .lono-visual-icon.post::after,
    .lono-visual-icon.generator::after,
    .lono-visual-icon.capture::after,
    .lono-visual-icon.review::after,
    .lono-visual-icon.star::after,
    .lono-visual-icon.calendar::after,
    .lono-visual-icon.money::after,
    .lono-visual-icon.source::after,
    .lono-visual-icon.performance::after {
      display: none;
    }

    .lono-signal-icon:is(.lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence)::after,
    .lono-visual-icon:is(.approve, .edit, .skip, .see-strategy, .next-move, .quick-view, .complete, .pause, .review-request, .post-content, .follow-up, .update-offer, .lead-generator, .campaign-launch, .schedule, .browser-assist, .lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence, .crm-lead, .warm-lead, .quote, .lead-capture, .generator-match, .conversion, .review-lift, .lead-value, .trust, .demand, .authority, .community, .connected, .warning, .private-data-safe, .backup-restore, .best-move, .lono-recommends, .insight, .signal-map, .pattern-found, .forecast, .next-best-action, .publish-broadcast-live, .lono-diamond, .lono-signal, .lono-path, .lono-eye, .lono-spark, .lono-compass, .map-pin)::after {
      display: none;
    }

    .lono-visual-icon:is(.approve, .edit, .skip, .see-strategy, .next-move, .quick-view, .complete, .pause, .review-request, .post-content, .follow-up, .update-offer, .lead-generator, .campaign-launch, .schedule, .browser-assist, .lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence, .crm-lead, .warm-lead, .quote, .lead-capture, .generator-match, .conversion, .review-lift, .lead-value, .trust, .demand, .authority, .community, .connected, .warning, .private-data-safe, .backup-restore, .best-move, .lono-recommends, .insight, .signal-map, .pattern-found, .forecast, .next-best-action, .publish-broadcast-live, .lono-diamond, .lono-signal, .lono-path, .lono-eye, .lono-spark, .lono-compass, .map-pin, .phone-call)::before {
      z-index: 1;
    }

    .lono-visual-icon:is(.approve, .edit, .skip, .see-strategy, .next-move, .quick-view, .complete, .pause, .review-request, .post-content, .follow-up, .update-offer, .lead-generator, .campaign-launch, .schedule, .browser-assist, .lono, .demand-trend, .trust-pillar, .timing-signal, .source-pattern, .confidence, .learning, .evidence, .crm-lead, .warm-lead, .quote, .lead-capture, .generator-match, .conversion, .review-lift, .lead-value, .trust, .demand, .authority, .community, .connected, .warning, .private-data-safe, .backup-restore, .best-move, .lono-recommends, .insight, .signal-map, .pattern-found, .forecast, .next-best-action, .publish-broadcast-live, .lono-diamond, .lono-signal, .lono-path, .lono-eye, .lono-spark, .lono-compass, .map-pin, .phone-call)::after {
      display: block;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 14px;
      border: 2px solid currentColor;
      border-radius: 4px;
      background: transparent;
      box-shadow: none;
      clip-path: none;
      opacity: 0.22;
      pointer-events: none;
      transform: translate(-50%, -50%) rotate(45deg);
      z-index: 0;
    }

    .lono-mobile-action-bar {
      display: none;
    }

    .lono-mobile-sheet-backdrop,
    .lono-mobile-strategy-sheet {
      display: none;
    }

    @media (max-width: 1500px) {
      .lono-move-stage {
        grid-template-columns: minmax(140px, 160px) minmax(0, 1fr) minmax(140px, 160px);
        max-width: 1240px;
      }

      .lono-main-move {
        width: 100%;
      }

      .lono-main-move .lono-preview-art.is-social-post {
        min-height: 0;
      }

      .lono-main-move .lono-social-post {
        min-height: 0;
      }

      .lono-main-move .lono-social-media {
        height: clamp(140px, 14vw, 190px);
        min-height: 0;
      }

      .lono-main-move .lono-social-media img,
      .lono-main-move .lono-social-media video,
      .lono-main-move .lono-social-media iframe {
        height: 100%;
        min-height: 0;
      }

      .lono-main-move .lono-social-copy {
        gap: 5px;
        padding: 9px 10px 7px;
      }

      .lono-main-move .lono-social-copy p {
        -webkit-line-clamp: 2;
      }

      .lono-main-move .lono-social-hashtags {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    @media (max-width: 1320px) {
      .lono-carousel-arrow {
        display: none;
      }

      .lono-move-stage {
        grid-template-columns: minmax(0, 1fr);
      }

      .lono-side-move {
        display: none;
      }

      .lono-main-move {
        width: min(100%, 1040px);
        margin: 0 auto;
      }
    }

    @media (max-width: 1180px) {
      .lono-plan-command-grid {
        grid-template-columns: 1fr;
      }

      .lono-deep-grid {
        grid-template-columns: 1fr;
      }

      .lono-brief-flow {
        grid-template-columns: 1fr;
      }

      .lono-stream-compare,
      .lono-planning-metrics,
      .lono-owner-explain-grid {
        grid-template-columns: 1fr;
      }

      .lono-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

    }

    @media (max-width: 880px) {
      body {
        overflow-x: hidden;
      }

      body.lono-sheet-open {
        overflow: hidden;
      }

      .shell {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }

      .sidebar {
        width: 100%;
        max-width: 100%;
        padding: 8px 10px;
      }

      .nav {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
      }

      .nav button,
      .nav a {
        flex: 0 0 auto;
        width: auto;
        min-width: 82px;
        padding: 10px 12px;
        text-align: center;
        font-size: 11px;
        border-radius: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .nav::-webkit-scrollbar {
        display: none;
      }

      main {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        overflow-x: hidden;
      }

      body[data-active-view="lead-suite"] .lead-global-header {
        display: flex;
      }

      body[data-active-view="lead-suite"] .prototype-view.active[data-view="lead-suite"] {
        animation: none;
        transform: none;
      }

      .lead-global-header {
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: visible;
        z-index: 1400;
      }

      .lead-app-header:not(.lead-global-header) .lead-account-cluster {
        display: none;
      }

      .lead-global-header .lead-account-cluster {
        display: flex;
        justify-content: flex-end;
        width: 100%;
      }

      .lead-global-header,
      .prototype-view[data-view="lead-suite"],
      .prototype-view[data-view="crm"],
      .lono-plan-canvas {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
      }

      .prototype-view[data-view="lead-suite"],
      .prototype-view[data-view="crm"] {
        padding: 0;
        border-radius: 20px;
        overflow: hidden;
      }

      .prototype-view[data-view="settings"] > section {
        order: 20;
      }

      .prototype-view[data-view="settings"] > .topbar {
        order: 1;
      }

      .prototype-view[data-view="settings"] > #leadSetupTaskLanding {
        order: 2;
      }

      .prototype-view[data-view="settings"] > #accountManagementSetupReadinessPanel {
        order: 3;
      }

      #accountManagementSetupReadinessPanel .panel-actions {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
        width: 100%;
      }

      #accountManagementSetupReadinessPanel .panel-actions .pill,
      #accountManagementSetupReadinessPanel .panel-actions .btn {
        justify-content: center;
        min-height: 44px;
        width: 100%;
      }

      .prototype-view[data-view="settings"] > #leadWorkspaceProfileSetup {
        order: 4;
      }

      .prototype-view[data-view="settings"] > .settings-command-grid {
        order: 5;
      }

      .lono-plan-canvas {
        border-radius: 20px;
        padding: 20px 14px 94px;
      }

      .lono-plan-command-grid,
      .lono-move-stage,
      .lono-carousel,
      .lono-main-move,
      .lono-move-body,
      .lono-caption-preview {
        min-width: 0;
        max-width: 100%;
      }

      .lono-plan-head {
        flex-direction: column;
      }

      .lono-plan-head h1 {
        font-size: 27px;
        line-height: 1.08;
        overflow-wrap: anywhere;
      }

      .lono-move-stage,
      .lono-move-body,
      .lono-deep-grid {
        grid-template-columns: 1fr;
      }

      .lono-impact-grid {
        grid-template-columns: 1fr;
      }

      .lono-matrix-head {
        display: none;
      }

      .lono-matrix-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 10px;
      }

      .lono-matrix-row > span {
        grid-column: 1 / -1;
      }

      .lono-matrix-row strong,
      .lono-matrix-row b,
      .lono-matrix-row em {
        padding: 0 12px;
      }

      .lono-matrix-row em {
        grid-column: 1 / -1;
      }

      .lono-intel-brief {
        padding: 14px;
      }

      .lono-brief-row {
        grid-template-columns: 1fr;
        gap: 5px;
      }

      .lono-pillar-bar {
        grid-template-columns: 30px 92px minmax(0, 1fr) 36px;
      }

      .lono-side-move {
        display: none;
      }

      .lono-deep-dive {
        display: none;
      }

      .lono-carousel,
      .lono-main-move {
        min-height: auto;
      }

      .lono-main-move {
        width: calc(100vw - 64px) !important;
        max-width: calc(100vw - 64px);
        min-width: 0;
        padding: 16px;
      }

      .lono-main-move h2 {
        max-width: 100%;
        font-size: clamp(21px, 5.8vw, 25px);
        line-height: 1.14;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
      }

      .lono-signal-tags {
        display: grid;
        grid-template-columns: 1fr;
      }

      .lono-move-body {
        gap: 16px;
      }

      .lono-caption-preview p {
        overflow-wrap: normal;
        -webkit-line-clamp: 7;
      }

      .lono-preview-art {
        min-height: 184px;
      }

      .lono-preview-art.is-social-post {
        min-height: 0;
      }

      .lono-social-media,
      .lono-social-media img,
      .lono-social-media video,
      .lono-social-media iframe {
        min-height: 0;
      }

      .lono-main-move .lono-social-media {
        height: 150px;
      }

      .lono-main-move .lono-social-post-head,
      .lono-main-move .lono-social-post-actions {
        padding: 8px 10px;
      }

      .lono-action-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .lono-progress-dots {
        display: grid;
        grid-template-columns: 1fr;
      }

      .lono-progress-dots button {
        min-height: 52px;
      }

      .lono-action-row .btn {
        min-width: 0;
        padding-inline: 8px;
      }

      .lono-owner-next-step {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        margin-top: 10px;
        padding: 9px 10px;
        border-radius: 10px;
        box-shadow: none;
      }

      .lono-owner-next-step .lono-visual-icon {
        display: none;
      }

      .lono-owner-next-step span {
        font-size: 10px;
        line-height: 1;
      }

      .lono-owner-next-step strong {
        font-size: 13px;
        line-height: 1.18;
      }

      .lono-owner-next-step p {
        display: none;
      }

      .lono-owner-learning-path {
        display: none;
      }

      .lono-action-row .btn::before,
      .lono-mobile-action-bar .btn::before {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
      }

      .lono-mobile-action-bar {
        position: fixed;
        z-index: 1500;
        left: 50%;
        right: auto;
        bottom: max(12px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: min(calc(100vw - 36px), 360px);
        padding: 10px;
        border: 1px solid rgba(0, 111, 255, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 52px rgba(13, 39, 90, 0.22);
        backdrop-filter: blur(18px);
        transform: translateX(-50%);
      }

      .lono-mobile-action-bar .btn {
        min-height: 48px;
        justify-content: center;
        border-radius: 999px;
        padding-inline: 10px;
      }

      .lono-plan-canvas.is-complete .lono-mobile-action-bar {
        display: none;
      }

      .lono-complete-banner {
        grid-template-columns: auto minmax(0, 1fr);
        margin-top: 18px;
      }

      .lono-complete-count {
        grid-column: 2;
        justify-self: start;
      }

      .lono-action-drawer {
        width: 100%;
        margin-top: 14px;
        padding: 14px;
        border-radius: 16px;
      }

      .lono-drawer-context-strip {
        grid-template-columns: 1fr;
      }

      .lono-drawer-decision-grid {
        grid-template-columns: 1fr;
      }

      .lono-action-steps {
        grid-template-columns: 1fr;
      }

      .lono-action-steps.is-choice-flow {
        display: grid;
        grid-template-columns: 1fr;
      }

      .lono-schedule-options {
        grid-template-columns: 1fr;
      }

      .lono-action-step {
        min-height: 0;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
      }

      .lono-drawer-action-card {
        grid-template-columns: 1fr;
        align-items: stretch;
      }

      .lono-drawer-action-card > span,
      .lono-drawer-action-card .lono-drawer-choices {
        grid-column: 1;
      }

      .lono-action-step span {
        grid-column: 2;
      }

      .lono-drawer-action-card span {
        grid-column: auto;
      }

      .lono-action-drawer-actions {
        display: grid;
        grid-template-columns: 1fr;
      }

      .lono-outcome-preview {
        grid-template-columns: minmax(0, 1fr);
      }

      .lono-outcome-preview b {
        max-width: none;
        justify-content: center;
      }

      .lono-mobile-sheet-backdrop:not([hidden]) {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: block;
        background: rgba(5, 17, 45, 0.28);
        backdrop-filter: blur(4px);
        animation: lonoSheetBackdropIn 180ms ease both;
      }

      .lono-mobile-strategy-sheet:not([hidden]) {
        position: fixed;
        z-index: 41;
        left: 8px;
        right: 8px;
        bottom: 0;
        display: grid;
        max-height: min(82vh, 720px);
        overflow: auto;
        padding: 10px 18px 24px;
        border-radius: 24px 24px 0 0;
        border: 1px solid rgba(0, 111, 255, 0.18);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -18px 52px rgba(12, 34, 76, 0.22);
        animation: lonoSheetIn 260ms cubic-bezier(.2, .8, .2, 1) both;
      }

      .lono-sheet-handle {
        width: 44px;
        height: 5px;
        margin: 0 auto 14px;
        border-radius: 999px;
        background: #c8d6ea;
      }

      .lono-sheet-head {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        align-items: start;
        margin-bottom: 12px;
      }

      .lono-sheet-head h2 {
        margin: 0 0 5px;
        color: #081847;
        font-size: 22px;
        line-height: 1.08;
        letter-spacing: 0;
      }

      .lono-sheet-head p {
        margin: 0;
        color: #4b5c79;
        line-height: 1.4;
      }

      .lono-sheet-close {
        position: relative;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(0, 111, 255, 0.14);
        border-radius: 999px;
        background: #fff;
        color: #112653;
        font-size: 0;
      }

      .lono-mobile-strategy-sheet .lono-read-signal,
      .lono-mobile-strategy-sheet .lono-link-card {
        margin-top: 10px;
      }

      .lono-mobile-strategy-sheet .lono-confidence {
        margin: 16px 0 8px;
      }

      @keyframes lonoSheetIn {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
      }

      @keyframes lonoSheetBackdropIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
    }

    /* Owner Deep Dive: compact, source-backed infographic. */
    .lono-deep-dive--compact {
      margin-top: 16px;
      padding: 12px;
      border-radius: 8px;
    }

    .lono-deep-dive--compact .lono-deep-tabs {
      gap: 16px;
      min-height: 34px;
      margin-bottom: 10px;
    }

    .lono-deep-dive--compact .lono-deep-tabs button {
      min-height: 34px;
      padding: 0 2px;
      font-size: 12px;
      letter-spacing: 0;
    }

    .lono-deep-dive--compact .lono-deep-grid,
    .lono-deep-dive--compact .lono-intel-brief {
      gap: 10px;
    }

    .lono-deep-dive--compact .lono-intel-brief {
      padding: 12px;
      border-top-width: 2px;
      border-bottom: 0;
    }

    .lono-deep-dive--compact .lono-brief-head {
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(220px, .65fr);
      gap: 12px;
      max-width: none;
      align-items: stretch;
    }

    .lono-deep-dive--compact .lono-brief-heading,
    .lono-deep-dive--compact .lono-source-chip {
      min-width: 0;
    }

    .lono-deep-dive--compact .lono-brief-heading > span,
    .lono-deep-dive--compact .lono-source-chip > span,
    .lono-deep-dive--compact .lono-pillar-summary > span {
      display: block;
      margin-bottom: 4px;
      color: #536486;
      font-size: 10px;
      font-weight: 950;
      letter-spacing: 0;
      line-height: 1.1;
      text-transform: uppercase;
    }

    .lono-deep-dive--compact .lono-brief-heading > strong {
      display: block;
      color: #081847;
      font-size: 22px;
      line-height: 1.08;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-brief-heading > p {
      display: block;
      max-width: 940px;
      margin: 5px 0 0;
      color: #51617d;
      font-size: 12px;
      line-height: 1.3;
    }

    .lono-deep-dive--compact .lono-source-chip {
      display: grid;
      align-content: center;
      padding: 10px 12px;
      border-left: 3px solid #20a77a;
      border-radius: 6px;
      background: #f3fbf7;
    }

    .lono-deep-dive--compact .lono-source-chip strong {
      display: block;
      color: #153e35;
      font-size: 13px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-source-chip p {
      display: block;
      margin: 3px 0 0;
      color: #4b695f;
      font-size: 10px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-planning-metrics {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      border: 0;
      background: transparent;
    }

    .lono-deep-dive--compact .lono-planning-metric {
      position: relative;
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      gap: 1px 8px;
      min-height: 62px;
      padding: 9px 10px;
      border: 1px solid #dce7f5;
      border-radius: 6px;
      background: #f8fbff;
    }

    .lono-deep-dive--compact .lono-planning-metric:nth-child(2) {
      border-top-color: #36a8b8;
      background: #f3fbfc;
    }

    .lono-deep-dive--compact .lono-planning-metric:nth-child(3) {
      border-top-color: #20a77a;
      background: #f3fbf7;
    }

    .lono-deep-dive--compact .lono-planning-metric:nth-child(4) {
      border-top-color: #c99726;
      background: #fffaf0;
    }

    .lono-deep-dive--compact .lono-planning-metric .lono-visual-icon {
      grid-row: 1 / 3;
      align-self: center;
      width: 22px;
      height: 22px;
      margin: 0;
    }

    .lono-deep-dive--compact .lono-planning-metric span {
      align-self: end;
      font-size: 9px;
      letter-spacing: 0;
    }

    .lono-deep-dive--compact .lono-planning-metric strong {
      grid-column: 3;
      grid-row: 1 / 3;
      align-self: center;
      margin: 0;
      font-size: 22px;
    }

    .lono-deep-dive--compact .lono-planning-metric em {
      grid-column: 2;
      margin: 0;
      font-size: 10px;
      line-height: 1.15;
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-estimate-basis {
      margin-top: -4px;
      padding: 0 2px;
      border: 0;
      background: transparent;
      color: #65748c;
      font-size: 10px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-decision-matrix {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      border: 0;
      background: transparent;
    }

    .lono-deep-dive--compact .lono-matrix-row {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      grid-template-rows: auto auto auto;
      gap: 2px 8px;
      align-content: start;
      min-height: 82px;
      padding: 9px 10px;
      border: 1px solid #dce7f5;
      border-radius: 6px;
      background: #fff;
    }

    .lono-deep-dive--compact .lono-matrix-row > span,
    .lono-deep-dive--compact .lono-matrix-row > strong,
    .lono-deep-dive--compact .lono-matrix-row > em {
      min-width: 0;
      padding: 0;
    }

    .lono-deep-dive--compact .lono-matrix-row > span {
      display: contents;
      color: #52637f;
      font-size: 9px;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .lono-deep-dive--compact .lono-matrix-row .lono-visual-icon {
      grid-column: 1;
      grid-row: 1 / 4;
      width: 20px;
      height: 20px;
      margin-top: 1px;
    }

    .lono-deep-dive--compact .lono-matrix-row strong {
      display: block;
      grid-column: 2;
      font-size: 13px;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-matrix-row em {
      display: block;
      grid-column: 2;
      font-size: 10px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-stream-compare {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      border: 0;
    }

    .lono-deep-dive--compact .lono-stream-column {
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      gap: 2px 10px;
      min-height: 66px;
      padding: 9px 11px;
      border: 1px solid #dce7f5;
      border-radius: 6px;
    }

    .lono-deep-dive--compact .lono-stream-column.is-traditional {
      border-right: 1px solid #dce7f5;
    }

    .lono-deep-dive--compact .lono-stream-column.is-discovered {
      border-left: 3px solid #006fff;
      box-shadow: none;
    }

    .lono-deep-dive--compact .lono-stream-column span,
    .lono-deep-dive--compact .lono-stream-column strong,
    .lono-deep-dive--compact .lono-stream-column p {
      grid-column: 1;
    }

    .lono-deep-dive--compact .lono-stream-column span {
      font-size: 9px;
      letter-spacing: 0;
    }

    .lono-deep-dive--compact .lono-stream-column strong {
      display: block;
      font-size: 13px;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-stream-column p {
      display: block;
      font-size: 10px;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-stream-column b {
      grid-column: 2;
      grid-row: 1 / 4;
      align-self: center;
      max-width: 150px;
      font-size: 11px;
      text-align: right;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-pillar-impact {
      grid-template-columns: minmax(190px, .7fr) minmax(0, 2.3fr);
      gap: 10px;
      padding: 0;
      align-items: stretch;
    }

    .lono-deep-dive--compact .lono-pillar-summary {
      display: grid;
      align-content: center;
      min-width: 0;
      padding: 9px 10px;
      border-left: 3px solid #c99726;
      background: #fffaf0;
    }

    .lono-deep-dive--compact .lono-pillar-summary > strong {
      display: block;
      color: #081847;
      font-size: 13px;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-pillar-why {
      display: block;
      margin-top: 3px;
      padding: 0;
      border: 0;
      font-size: 10px;
      line-height: 1.2;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-pillar-card-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .lono-deep-dive--compact .lono-pillar-card {
      padding: 8px;
      border-radius: 6px;
      background: #fff;
    }

    .lono-deep-dive--compact .lono-pillar-card-head {
      grid-template-columns: 22px minmax(0, 1fr) auto;
      gap: 6px;
      margin-bottom: 6px;
    }

    .lono-deep-dive--compact .lono-pillar-card-head .lono-visual-icon {
      width: 20px;
      height: 20px;
    }

    .lono-deep-dive--compact .lono-pillar-card-head strong {
      font-size: 11px;
    }

    .lono-deep-dive--compact .lono-pillar-card-head small {
      display: none;
    }

    .lono-deep-dive--compact .lono-pillar-card-score {
      font-size: 18px;
    }

    .lono-deep-dive--compact .lono-subpillar-list {
      gap: 4px;
    }

    .lono-deep-dive--compact .lono-subpillar-row {
      grid-template-columns: minmax(48px, 1fr) minmax(24px, .65fr) 20px;
      gap: 4px;
      font-size: 9px;
      line-height: 1.08;
    }

    .lono-deep-dive--compact .lono-subpillar-row span {
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-subpillar-track {
      height: 4px;
      border-radius: 999px;
    }

    .lono-deep-dive--compact .lono-subpillar-row b {
      font-size: 8px;
    }

    .lono-deep-dive--compact .lono-owner-explain {
      grid-template-columns: 24px auto minmax(120px, .55fr) minmax(0, 1.45fr);
      gap: 8px;
      align-items: center;
      min-height: 42px;
      padding: 8px 10px;
      border: 1px solid #dce7f5;
      border-radius: 6px;
      background: #f8fbff;
    }

    .lono-deep-dive--compact .lono-owner-explain .lono-visual-icon {
      width: 22px;
      height: 22px;
    }

    .lono-deep-dive--compact .lono-owner-explain span {
      font-size: 9px;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .lono-deep-dive--compact .lono-owner-explain strong,
    .lono-deep-dive--compact .lono-owner-explain p {
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .lono-deep-dive--compact .lono-owner-explain strong {
      font-size: 12px;
    }

    .lono-deep-dive--compact .lono-owner-explain p {
      font-size: 10px;
    }

    @media (max-width: 880px) {
      .lono-deep-dive--compact {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        padding: 9px;
        overflow: hidden;
      }

      .lono-deep-dive--compact .lono-intel-brief {
        padding: 9px;
      }

      .lono-deep-dive--compact .lono-brief-head,
      .lono-deep-dive--compact .lono-decision-matrix,
      .lono-deep-dive--compact .lono-stream-compare,
      .lono-deep-dive--compact .lono-pillar-impact,
      .lono-deep-dive--compact .lono-pillar-card-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .lono-deep-dive--compact .lono-planning-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .lono-deep-dive--compact .lono-brief-heading > strong {
        font-size: 19px;
      }

      .lono-deep-dive--compact .lono-planning-metric {
        grid-template-columns: 20px minmax(0, 1fr) auto;
        gap: 1px 5px;
        min-height: 56px;
        padding: 8px;
      }

      .lono-deep-dive--compact .lono-planning-metric .lono-visual-icon {
        width: 18px;
        height: 18px;
      }

      .lono-deep-dive--compact .lono-planning-metric span {
        font-size: 8px;
      }

      .lono-deep-dive--compact .lono-planning-metric strong {
        font-size: 17px;
      }

      .lono-deep-dive--compact .lono-planning-metric em {
        font-size: 9px;
        white-space: normal;
      }

      .lono-deep-dive--compact .lono-matrix-row {
        min-height: 72px;
      }

      .lono-deep-dive--compact .lono-stream-column b {
        grid-column: 1;
        grid-row: auto;
        max-width: none;
        text-align: left;
      }

      .lono-deep-dive--compact .lono-pillar-card {
        display: grid;
        grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
        gap: 8px;
        align-items: center;
      }

      .lono-deep-dive--compact .lono-pillar-card-head {
        margin: 0;
      }

      .lono-deep-dive--compact .lono-owner-explain {
        grid-template-columns: 22px minmax(0, 1fr);
      }

      .lono-deep-dive--compact .lono-owner-explain span,
      .lono-deep-dive--compact .lono-owner-explain strong,
      .lono-deep-dive--compact .lono-owner-explain p {
        grid-column: 2;
        white-space: normal;
      }

      .lono-deep-dive--compact .lono-owner-explain .lono-visual-icon {
        grid-column: 1;
        grid-row: 1 / 4;
      }

      .lono-deep-dive--compact .lono-owner-explain p {
        display: block;
      }

      .lono-deep-dive--compact.is-open ~ .lono-mobile-action-bar {
        display: none;
      }
    }

    /* Owner workflow recovery: quiet shell, usable content review, direct publishing. */
    .owner-workspace-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      padding: 8px 2px 4px;
    }

    .owner-workspace-head h1,
    .publishing-page-head h1 {
      margin: 3px 0 6px;
      font-size: 30px;
      line-height: 1.12;
      letter-spacing: 0;
      color: #081847;
    }

    .owner-workspace-head p {
      max-width: 760px;
      margin: 0;
      color: #51617d;
      font-size: 14px;
    }

    .owner-workspace-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 38px;
      padding: 7px 11px;
      border: 1px solid #c7d9f7;
      border-radius: 7px;
      background: #f7faff;
      color: #17366f;
      font-size: 12px;
      font-weight: 850;
      white-space: nowrap;
    }

    .owner-workspace-status .lono-visual-icon,
    .lono-action-drawer-actions .lono-visual-icon {
      width: 20px;
      height: 20px;
      min-width: 20px;
    }

    .owner-content-library {
      width: min(1180px, 100%);
      margin: 0 auto;
      gap: 14px;
    }

    .owner-content-library .content-media-workflow {
      margin: 0;
      border-radius: 8px;
      box-shadow: 0 14px 34px rgba(25, 55, 105, 0.08);
    }

    .owner-content-library .content-media-workflow-head h2,
    .publishing-queue-panel h2,
    .publishing-calendar-panel h2 {
      margin: 2px 0 0;
      font-size: 20px;
      letter-spacing: 0;
      color: #0b1f4e;
    }

    .content-media-choice-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .content-media-choice {
      min-height: 158px;
      border-radius: 7px;
      padding: 13px;
    }

    .content-media-choice:has(input:checked) {
      border-color: #006fff;
      box-shadow: inset 0 0 0 1px #006fff, 0 10px 24px rgba(0, 111, 255, 0.10);
      background: #f7fbff;
    }

    .content-choice-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: auto;
      color: #36527d;
      font-size: 10px;
      font-weight: 800;
    }

    .content-choice-editor {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
      gap: 14px;
      padding: 15px;
      border: 1px solid #cbdcf5;
      border-radius: 8px;
      background: #f8fbff;
    }

    .content-choice-fields {
      display: grid;
      gap: 9px;
    }

    .content-choice-fields label {
      display: grid;
      gap: 5px;
      color: #344d73;
      font-size: 11px;
      font-weight: 850;
    }

    .content-choice-fields input,
    .content-choice-fields textarea {
      width: 100%;
      border: 1px solid #b9cbe7;
      border-radius: 6px;
      background: #fff;
      color: #10234d;
      font: inherit;
      font-size: 13px;
      line-height: 1.45;
      padding: 9px 10px;
      resize: vertical;
    }

    .content-choice-route {
      display: grid;
      align-content: start;
      gap: 8px;
      padding: 11px;
      border-left: 3px solid #20a46b;
      background: #f2fbf7;
      color: #294b41;
      font-size: 12px;
    }

    .content-choice-route strong {
      color: #0d4735;
      font-size: 13px;
    }

    .lono-card-choice-switcher {
      display: flex;
      gap: 5px;
      margin-bottom: 10px;
    }

    .lono-card-choice-switcher:empty {
      display: none;
    }

    .lono-card-choice-switcher button {
      width: 30px;
      height: 28px;
      padding: 0;
      border: 1px solid #c8d8ee;
      border-radius: 6px;
      background: #fff;
      color: #3c5476;
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
    }

    .lono-card-choice-switcher button.is-selected {
      border-color: #006fff;
      background: #006fff;
      color: #fff;
    }

    .lono-caption-facts {
      display: grid;
      grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
      gap: 8px;
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid #dce6f4;
    }

    .lono-caption-facts span {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .lono-caption-facts b {
      color: #60718f;
      font-size: 9px;
      text-transform: uppercase;
    }

    .lono-caption-facts em {
      color: #122653;
      font-size: 11px;
      font-style: normal;
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    .lono-action-drawer {
      max-width: 980px;
      margin: 14px auto 0;
      padding: 16px;
      border-radius: 10px;
    }

    .lono-action-steps.is-choice-flow {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr);
      gap: 12px;
    }

    .lono-owner-choice,
    .lono-owner-generator {
      display: grid;
      gap: 8px;
      min-width: 0;
      padding: 12px;
      border: 1px solid #d3e0f2;
      border-radius: 7px;
      background: #fff;
    }

    .lono-owner-choice-head {
      display: flex;
      gap: 9px;
      align-items: center;
    }

    .lono-owner-choice-head .lono-visual-icon {
      width: 26px;
      height: 26px;
    }

    .lono-owner-choice-head span,
    .lono-owner-generator span,
    .lono-approved-route span {
      color: #60718f;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-owner-choice-head strong,
    .lono-owner-generator strong {
      color: #10234d;
      font-size: 13px;
    }

    .lono-drawer-choices {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      padding-bottom: 2px;
    }

    .lono-drawer-choice {
      flex: 1 1 0;
      min-width: 160px;
      min-height: 70px;
      border-radius: 6px;
      padding: 9px;
    }

    .lono-drawer-choice span {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .lono-approved-route {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-top: 10px;
      padding: 9px 11px;
      border-left: 3px solid #f2a51a;
      background: #fffaf0;
    }

    .lono-approved-route .lono-visual-icon {
      width: 24px;
      height: 24px;
    }

    .lono-approved-route div {
      display: grid;
      gap: 1px;
    }

    .lono-action-drawer > p {
      margin: 10px 0 0;
      font-size: 12px;
    }

    .lono-action-drawer-actions {
      justify-content: flex-end;
      margin-top: 10px;
    }

    .lono-action-drawer-actions .btn {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .lono-deep-dive--compact {
      max-width: 1180px;
      margin: 14px auto 0;
      padding: 14px;
      border-radius: 8px;
      box-shadow: 0 12px 30px rgba(19, 48, 96, 0.08);
    }

    .lono-deep-dive--compact .lono-deep-tabs {
      min-height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 0 10px;
      border-bottom: 1px solid #d9e4f2;
    }

    .lono-deep-tabs > div {
      display: flex;
      align-items: baseline;
      gap: 9px;
    }

    .lono-deep-tabs > div span {
      color: #006fff;
      font-size: 12px;
      font-weight: 900;
    }

    .lono-deep-tabs > div strong {
      color: #10234d;
      font-size: 14px;
    }

    .lono-deep-tabs [data-lono-action="hide-details"] {
      width: auto;
      height: 30px;
      padding: 0 9px;
      border: 0;
      background: transparent;
      color: #51617d;
      font-size: 11px;
    }

    .lono-deep-tabs [data-lono-action="hide-details"]::after,
    .lono-deep-tabs [data-lono-action="hide-details"]::before {
      content: none;
    }

    .lono-deep-summary {
      margin: 9px 0 10px;
      color: #51617d;
      font-size: 12px;
    }

    .lono-deep-at-a-glance {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border: 1px solid #d9e4f2;
      border-radius: 7px;
      overflow: hidden;
      background: #fff;
    }

    .lono-deep-at-a-glance article {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      align-content: start;
      gap: 2px 8px;
      min-width: 0;
      padding: 11px;
      border-right: 1px solid #d9e4f2;
    }

    .lono-deep-at-a-glance article:last-child {
      border-right: 0;
    }

    .lono-deep-at-a-glance .lono-visual-icon {
      grid-row: 1 / 4;
      width: 24px;
      height: 24px;
    }

    .lono-deep-at-a-glance span {
      color: #60718f;
      font-size: 9px;
      font-weight: 900;
      text-transform: uppercase;
    }

    .lono-deep-at-a-glance strong {
      color: #10234d;
      font-size: 12px;
      line-height: 1.25;
    }

    .lono-deep-at-a-glance p {
      display: -webkit-box;
      margin: 3px 0 0;
      overflow: hidden;
      color: #51617d;
      font-size: 10px;
      line-height: 1.35;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .publishing-page-head {
      align-items: end;
      box-shadow: none;
      border: 0;
      border-bottom: 1px solid #d8e3f2;
      border-radius: 0;
      background: transparent;
      padding: 4px 2px 12px;
    }

    .publishing-queue-panel,
    .publishing-calendar-panel {
      border-radius: 8px;
      box-shadow: 0 12px 30px rgba(19, 48, 96, 0.07);
    }

    .publishing-queue-panel .panel-head,
    .publishing-calendar-panel .panel-head {
      cursor: default;
      background: #fff;
    }

    .publishing-queue-table td:last-child {
      min-width: 190px;
    }

    .publishing-row-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .publishing-row-actions .btn {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 6px 9px;
      white-space: nowrap;
    }

    .publishing-row-actions .lono-visual-icon {
      width: 18px;
      height: 18px;
    }

    .lono-mobile-deep-list {
      display: grid;
      gap: 1px;
      border: 1px solid #d9e4f2;
      border-radius: 8px;
      overflow: hidden;
      background: #d9e4f2;
    }

    .lono-mobile-deep-list > div {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      gap: 2px 8px;
      padding: 11px;
      background: #fff;
    }

    .lono-mobile-deep-list .lono-visual-icon { grid-row: 1 / 4; width: 26px; height: 26px; }
    .lono-mobile-deep-list span { color: #60718f; font-size: 9px; font-weight: 900; text-transform: uppercase; }
    .lono-mobile-deep-list strong { color: #10234d; font-size: 12px; }
    .lono-mobile-deep-list p { margin: 2px 0 0; color: #51617d; font-size: 11px; }

    @media (max-width: 980px) {
      .content-media-choice-grid,
      .lono-deep-at-a-glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .lono-deep-at-a-glance article:nth-child(2) { border-right: 0; }
      .lono-deep-at-a-glance article:nth-child(-n+2) { border-bottom: 1px solid #d9e4f2; }
    }

    @media (max-width: 700px) {
      .owner-workspace-head,
      .publishing-page-head {
        align-items: flex-start;
        flex-direction: column;
      }

      .owner-workspace-head h1,
      .publishing-page-head h1 {
        font-size: 24px;
      }

      .content-media-choice-grid,
      .content-choice-editor,
      .lono-action-steps.is-choice-flow,
      .lono-deep-at-a-glance {
        grid-template-columns: 1fr;
      }

      .lono-deep-at-a-glance article,
      .lono-deep-at-a-glance article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #d9e4f2;
      }

      .lono-deep-at-a-glance article:last-child { border-bottom: 0; }
      .lono-caption-facts { grid-template-columns: 1fr; }
      .lono-action-drawer-actions .btn { flex: 1 1 0; justify-content: center; }
      .publishing-row-actions { flex-wrap: wrap; }
    }

  