/* ============================================================
   discovr dashboard clone — the "Find" (conversation) view
   Faithful static reconstruction of apps/web agent detail page.
   Everything scoped under .dash so it never touches the marketing CSS.
   Canvas is a fixed 1659x948; .dash-embed scales it to fit the frame.
   ============================================================ */

.dash-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 1659 / 948;
  overflow: hidden;
}
.dash {
  position: absolute;
  top: 0;
  left: 0;
  width: 1659px;
  height: 948px;
  transform-origin: top left;
  transform: scale(var(--dash-scale, 1));
  display: flex;
  background: #fff;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0F0F10;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.dash *,
.dash *::before,
.dash *::after { box-sizing: border-box; }
.dash svg { display: block; }
.dash button { font-family: inherit; }

/* ---------- Sidebar (expanded, 256px) ------------------------ */
.dash-side {
  width: 256px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #FAFAFA;
  border-right: 1px solid #E5E5E8;
  overflow: hidden;
}
.dash-side-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  min-height: 0;
}
.dash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 4px 8px;
  margin-left: 4px;
}
.dash-logo img { width: 22px; height: 22px; flex-shrink: 0; }
.dash-logo-word { display: flex; flex-direction: column; }
.dash-logo-word b {
  font-size: 15px; font-weight: 600; line-height: 18px; color: #0F0F10;
}
.dash-logo-word span {
  font-size: 10px; font-weight: 400; line-height: 14px;
  letter-spacing: 0.02em; color: #A6A6AE;
}
.dash-back {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 6px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 400; line-height: 18px; color: #5B5B64;
}
.dash-back svg { width: 14px; height: 14px; flex-shrink: 0; }

.dash-agent { margin-top: 16px; padding: 0 12px; }
.dash-agent-row { display: flex; align-items: center; gap: 8px; }
.dash-dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.dash-dot.green { background: #21C45D; }
.dash-agent-name {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 600; line-height: 20px; color: #0F0F10;
}
.dash-agent-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px; padding-left: 16px; white-space: nowrap;
  font-size: 11.5px; line-height: 15px; color: #A6A6AE;
}

.dash-nav-section { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-title {
  padding: 20px 12px 6px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  line-height: 16px; letter-spacing: 0.06em; color: #B4B4BC;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; line-height: 20px; letter-spacing: 0.025px;
  font-weight: 400; color: #5B5B64; text-align: left;
}
.dash-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; color: #5B5B64; }
.dash-nav-item.active { background: #F4F4F5; font-weight: 500; color: #0F0F10; }
.dash-nav-item.active svg { color: #0F0F10; }
.dash-nav-badge {
  margin-left: auto; flex-shrink: 0;
  background: #F4F4F5; border-radius: 999px; padding: 0.5px 10px;
  font-size: 12px; font-weight: 500; line-height: 16px; color: #5B5B64;
}

.dash-side-bottom {
  flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px;
}
.dash-side-bottom .dash-nav-item svg { width: 18px; height: 18px; color: #A6A6AE; }
.dash-nav-item.upgrade { font-weight: 500; color: #0F0F10; }
.dash-nav-item.upgrade svg { color: #5B5B64; }
.dash-nav-item.disabled { color: #A6A6AE; }
.dash-nav-item.disabled svg { color: #C4C4CC; }
.dash-soon {
  margin-left: auto; background: #F4F4F5; border-radius: 999px;
  padding: 2px 8px; font-size: 10px; font-weight: 500; color: #A6A6AE;
}

/* ---------- Main column -------------------------------------- */
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.dash-header {
  position: relative;
  height: 50px; flex-shrink: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px; border-bottom: 1px solid #E5E5E8; background: #fff;
}
.dash-crumbs { display: flex; min-width: 0; flex: 1; align-items: center; gap: 6px; }
.dash-crumb { font-size: 14px; font-weight: 400; line-height: 20px; color: #A6A6AE; flex-shrink: 0; }
.dash-crumb-sep { width: 12px; height: 12px; color: #D6D6DA; flex-shrink: 0; }
.dash-crumb-current {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 500; line-height: 20px; color: #0F0F10;
}
.dash-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 2px 10px;
  font-size: 12px; font-weight: 500; line-height: 16px;
  background: #DEFCE9; color: #052E16;
}
.dash-badge .ping {
  position: relative; display: inline-flex; width: 8px; height: 8px; flex-shrink: 0;
}
.dash-badge .ping i {
  position: absolute; inset: 0; border-radius: 999px; background: #21C45D;
  opacity: .75; animation: dash-ping 1.4s cubic-bezier(0,0,.2,1) infinite;
}
.dash-badge .ping b { position: relative; width: 8px; height: 8px; border-radius: 999px; background: #21C45D; }
@keyframes dash-ping { 75%,100% { transform: scale(2); opacity: 0; } }

/* view switcher — absolutely centered in the header (matches the app) */
.dash-switch {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0;
  border: 1px solid #E5E5E8; background: #F4F4F5; border-radius: 8px; padding: 2px;
}
.dash-switch button {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 6px; padding: 4px 10px; border: 0; background: transparent;
  font-size: 13px; font-weight: 500; line-height: 18px; color: #5B5B64; cursor: pointer;
}
.dash-switch button svg { width: 14px; height: 14px; color: #A6A6AE; }
.dash-switch button.active { background: #fff; color: #0F0F10; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.dash-switch button.active svg { color: #FF5A1F; }

.dash-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dash-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px; height: 32px;
  border: 1px solid #E5E5E8; background: #fff; border-radius: 8px; padding: 0 12px;
  font-size: 14px; font-weight: 500; line-height: 20px; color: #0F0F10; cursor: pointer;
}
.dash-btn-secondary svg { width: 15px; height: 15px; }
.dash-run svg { color: #FF5A1F; }
.dash-avatar-me {
  display: inline-flex; width: 32px; height: 32px; flex-shrink: 0;
  align-items: center; justify-content: center; border-radius: 999px;
  background: #0F0F10; color: #fff; font-size: 13px; font-weight: 600;
}

/* ---------- Content split ------------------------------------ */
.dash-content { flex: 1; display: flex; min-height: 0; overflow: hidden; background: #fff; }

/* chat panel */
.dash-chat { position: relative; width: 460px; flex-shrink: 0; display: flex; flex-direction: column; background: #fff; }
.dash-chat-head {
  display: flex; align-items: center; gap: 8px; height: 56px; flex-shrink: 0;
  padding: 0 24px; font-size: 13px;
}
.dash-chat-head .slash { color: #C4C4CC; }
.dash-chat-head b { font-weight: 500; color: #0F0F10; }
.dash-thread { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding: 0 24px 24px; }
.dash-thread-top {
  display: flex; align-items: center; gap: 8px; padding-top: 4px; font-size: 12.5px; color: #A6A6AE;
}
.dash-thread-top svg { width: 14px; height: 14px; color: #FF5A1F; }
.dash-goal {
  margin-top: 16px; border-radius: 18px; background: #F5F5F6;
  padding: 14px 16px; font-size: 14px; line-height: 1.7; color: #2E2E33; white-space: pre-line;
}
.dash-summary {
  margin-top: 20px; font-size: 14px; line-height: 1.75; color: #2E2E33; white-space: pre-line;
}
.dash-user-msg {
  margin-top: 16px; border-radius: 18px; background: #F5F5F6; align-self: flex-end;
  max-width: 84%; padding: 14px 16px; font-size: 14px; line-height: 1.7; color: #2E2E33;
}
.dash-think {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #A6A6AE;
}
.dash-think .dot-min { width: 6px; height: 6px; border-radius: 999px; background: #C4C4CC; }
.dash-suggests { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.dash-chip {
  border: 1px solid #EAEAEC; background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 12.5px; color: #5B5B64; cursor: pointer;
}
/* composer */
.dash-composer { flex-shrink: 0; padding: 4px 20px 20px; }
.dash-composer-box { border: 1px solid #EAEAEC; background: #fff; border-radius: 20px; }
.dash-composer-box textarea {
  display: block; width: 100%; resize: none; border: 0; background: transparent;
  padding: 14px 16px 0; font-family: inherit; font-size: 14px; line-height: 1.5; color: #0F0F10;
}
.dash-composer-box textarea::placeholder { color: #B4B4BC; }
.dash-composer-actions {
  display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 12px;
}
.dash-round-btn {
  display: flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 999px; border: 0; background: transparent; color: #A6A6AE; cursor: pointer;
}
.dash-round-btn svg { width: 16px; height: 16px; }
.dash-send {
  display: flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 999px; border: 0; background: #FF5A1F; color: #fff; cursor: pointer;
}
.dash-send svg { width: 16px; height: 16px; }

/* resize handle */
.dash-divider { position: relative; width: 1px; flex-shrink: 0; background: #F0F0F2; }

/* table panel */
.dash-table-panel { display: flex; height: 100%; min-width: 0; flex: 1; flex-direction: column; background: #fff; }
.dash-tabstrip {
  display: flex; align-items: center; gap: 6px; height: 48px; flex-shrink: 0;
  border-bottom: 1px solid #F0F0F2; padding: 0 16px;
}
.dash-tabpill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #E5E5E8; background: #fff; border-radius: 10px; padding: 6px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dash-tabpill svg { width: 16px; height: 16px; color: #5B5B64; }
.dash-tabpill span { font-size: 13px; font-weight: 500; color: #0F0F10; }
.dash-tab-add {
  display: flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border-radius: 6px; border: 0; background: transparent; color: #A6A6AE; cursor: pointer;
}
.dash-tab-add svg { width: 16px; height: 16px; }

/* first-pass banner (resolved) */
.dash-banner-wrap { flex-shrink: 0; padding: 16px 24px 0; }
.dash-banner {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #EAEAEC; background: #FAFAFA; border-radius: 8px; padding: 6px 12px;
}
.dash-banner .tick {
  display: flex; width: 16px; height: 16px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 999px; background: #DEFCE9;
}
.dash-banner .tick svg { width: 10px; height: 10px; color: #16A34A; }
.dash-banner-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: #5B5B64; }
.dash-banner-text b { font-weight: 500; color: #0F0F10; }
.dash-banner-x { margin-left: auto; flex-shrink: 0; border: 0; background: transparent; color: #C4C4CC; cursor: pointer; padding: 2px; }
.dash-banner-x svg { width: 14px; height: 14px; }

/* title + stats */
.dash-results-head { flex-shrink: 0; padding: 20px 24px 0; }
.dash-title-row { display: flex; align-items: center; gap: 12px; }
.dash-title { font-size: 26px; font-weight: 600; letter-spacing: -0.4px; color: #0F0F10; }
.dash-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; background: #F4F4F5; padding: 4px 10px;
  font-size: 12px; font-weight: 500; color: #5B5B64;
}
.dash-live-badge .d { width: 6px; height: 6px; border-radius: 999px; background: #21C45D; }
.dash-stats { margin-top: 16px; display: flex; align-items: center; gap: 32px; }
.dash-stat { display: flex; flex-direction: column; }
.dash-stat .lab { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #A6A6AE; }
.dash-stat .val { margin-top: 2px; display: flex; align-items: baseline; gap: 6px; }
.dash-stat .val b { font-size: 22px; font-weight: 600; line-height: 1; color: #0F0F10; font-variant-numeric: tabular-nums; }
.dash-stat .val span { font-size: 12px; color: #A6A6AE; }

/* toolbar */
.dash-toolbar {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 12px;
}
.dash-toolbar .count { font-size: 13px; color: #5B5B64; }
.dash-toolbar .count b { font-weight: 500; color: #0F0F10; }
.dash-toolbar .count .mid { margin: 0 8px; color: #E5E5E8; }
.dash-tool-icons { display: flex; align-items: center; gap: 2px; }
.dash-tool-btn {
  display: flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 8px; border: 0; background: transparent; color: #A6A6AE; cursor: pointer;
}
.dash-tool-btn svg { width: 16px; height: 16px; }

/* grid / table */
.dash-grid { flex: 1; overflow: auto; border-top: 1px solid #F0F0F2; }
.dash-tbl { border-collapse: separate; border-spacing: 0; width: max-content; }
.dash-tbl thead th {
  border-bottom: 1px solid #F0F0F2; background: #fff; padding: 10px 12px; text-align: left;
  position: sticky; top: 0; z-index: 10;
}
.dash-tbl thead th.idx { width: 40px; min-width: 40px; padding: 0; position: sticky; left: 0; z-index: 20; }
.dash-th-inner { display: flex; align-items: center; gap: 6px; }
.dash-th-inner svg { width: 12px; height: 12px; color: #C4C4CC; }
.dash-th-inner span { font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #A6A6AE; }

.dash-tbl tbody tr { cursor: pointer; }
.dash-tbl tbody tr:hover { background: #F5F7FF; }
.dash-tbl td { border-bottom: 1px solid #F4F4F5; padding: 0 12px; font-size: 13px; }
.dash-cell { display: flex; height: 44px; align-items: center; overflow: hidden; }
.dash-cell .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-td-idx {
  width: 40px; padding: 0; text-align: center; position: sticky; left: 0; z-index: 1; background: #fff;
}
.dash-tbl tbody tr:hover .dash-td-idx { background: #F5F7FF; }
.dash-idx-num { display: flex; height: 44px; align-items: center; justify-content: center; font-size: 12px; color: #C4C4CC; font-variant-numeric: tabular-nums; }

.dash-name { display: flex; align-items: center; gap: 8px; }
.dash-name img { width: 22px; height: 22px; flex-shrink: 0; border-radius: 999px; background: #F4F4F5; object-fit: cover; }
.dash-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: #0F0F10; }
.dash-muted { color: #5B5B64; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-tabular { font-variant-numeric: tabular-nums; }
.dash-company { display: flex; align-items: center; gap: 8px; }
.dash-company .logo {
  display: flex; width: 18px; height: 18px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 5px; background: #FF5A1F; color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase;
}
.dash-company span.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0F0F10; }
.dash-noresult { font-style: italic; color: #C4C4CC; }
.dash-linkedin { display: inline-flex; align-items: center; gap: 4px; color: #FF5A1F; }
.dash-linkedin svg { width: 12px; height: 12px; flex-shrink: 0; }

/* proof score */
.dash-score {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #EAEAEC; border-radius: 6px; padding: 4px 6px; background: #fff;
}
.dash-score .sw { width: 10px; height: 10px; border-radius: 3px; }
.dash-score b { font-size: 12.5px; font-weight: 600; color: #0F0F10; font-variant-numeric: tabular-nums; }
.dash-score .chk { width: 12px; height: 12px; color: #21C45D; }
.dash-score.prov {
  border-style: dashed; border-color: #E0E0E4;
  font-size: 12.5px; font-weight: 500; color: #A6A6AE; font-variant-numeric: tabular-nums;
  padding: 4px 6px;
}

/* proof chip */
.dash-proof {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 500;
}
.dash-proof.ready { background: #DEFCE9; font-weight: 600; color: #065F46; }
.dash-proof.ready svg { width: 12px; height: 12px; }
.dash-proof.seed { border: 1px dashed #D6D6DA; background: #FAFAFA; color: #A6A6AE; }
.dash-proof.seed svg { width: 12px; height: 12px; }
.dash-why { display: flex; align-items: center; gap: 8px; }
.dash-why .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5B5B64; }
.dash-why .txt.breathe { color: #A6A6AE; animation: dash-breathe 1.9s ease-in-out infinite; }
@keyframes dash-breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .dash *, .dash *::before, .dash *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   GUIDED DEMO — search→rank simulation + profile card
   ============================================================ */

/* generic skeleton shimmer bar */
.dash-sk { display:block; height:12px; border-radius:4px; background:#F0F0F2; animation:dash-pulse 1.3s ease-in-out infinite; }
.dash-sk.tall { height:24px; border-radius:6px; }
@keyframes dash-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* right-panel planning skeleton (idle / searching) */
.dash-plan { flex:1; overflow:auto; padding:24px; }
.dash-plan-head { display:flex; align-items:center; gap:10px; }
.dash-plan-head svg { width:20px; height:20px; color:#FF5A1F; }
.dash-plan-head.spin svg { animation:dash-spin 1s linear infinite; }
@keyframes dash-spin { to { transform:rotate(360deg) } }
.dash-plan-head h1 { font-size:22px; font-weight:600; letter-spacing:-.3px; color:#0F0F10; }
.dash-plan-sub { margin-top:6px; max-width:460px; font-size:13.5px; line-height:1.55; color:#5B5B64; }
.dash-plan-card { margin-top:24px; overflow:hidden; border:1px solid #EAEAEC; border-radius:16px; background:#fff; }
.dash-plan-strip { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #F0F0F2; padding:10px 16px; }
.dash-plan-strip .l { display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:500; color:#5B5B64; }
.dash-plan-strip .l svg { width:16px; height:16px; color:#A6A6AE; }
.dash-plan-strip .r { font-size:11.5px; color:#C4C4CC; }
.dash-plan-rows { padding:0 16px; }
.dash-plan-hrow { display:flex; gap:16px; border-bottom:1px solid #F4F4F5; padding:10px 0; }
.dash-plan-hrow span { font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.04em; color:#C4C4CC; }
.dash-plan-srow { display:flex; align-items:center; gap:16px; border-bottom:1px solid #F7F7F8; padding:12px 0; }

/* build stage badge (orange, live) */
.dash-build-badge {
  display:inline-flex; align-items:center; gap:8px; flex-shrink:0;
  border:1px solid #FBD2C1; background:#FFF1EB; border-radius:999px; padding:5px 12px;
  font-size:12.5px; font-weight:500; color:#FF5A1F; white-space:nowrap;
}
.dash-build-badge .ping { position:relative; display:inline-flex; width:8px; height:8px; }
.dash-build-badge .ping i { position:absolute; inset:0; border-radius:999px; background:#FF5A1F; opacity:.6; animation:dash-ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
.dash-build-badge .ping b { position:relative; width:8px; height:8px; border-radius:999px; background:#FF5A1F; }
.dash-skip { flex-shrink:0; border:0; background:transparent; border-radius:6px; padding:4px 8px; font-size:12.5px; font-weight:500; color:#A6A6AE; cursor:pointer; }
.dash-skip:hover { background:#F4F4F5; color:#5B5B64; }

/* row enter + verifying score */
.dash-row-enter { animation:dash-fade 320ms ease; }
@keyframes dash-fade { from{opacity:0} to{opacity:1} }

/* coach marks */
.dash-coach {
  position:absolute; z-index:60; display:inline-flex !important; align-items:center; gap:7px;
  width:max-content; max-width:280px; height:34px; line-height:1;
  background:#0F0F10; color:#fff; border-radius:10px; padding:0 11px;
  font-size:12.5px; font-weight:500; white-space:nowrap;
  box-shadow:0 8px 24px -6px rgba(0,0,0,.35); pointer-events:none;
  animation:dash-coach-in 260ms cubic-bezier(0.34,1.56,0.64,1) both;
}
.dash-coach .kbd { display:inline-flex !important; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:5px; background:#fff; color:#0F0F10; font-size:11px; font-weight:600; }
.dash-coach.pulse { animation:dash-coach-in 260ms cubic-bezier(0.34,1.56,0.64,1) both, dash-coach-pulse 1.5s ease-in-out 260ms infinite; }
.dash-coach::after { content:""; position:absolute; width:9px; height:9px; background:inherit; transform:rotate(45deg); }
.dash-coach.point-down::after { bottom:-4px; left:22px; }
.dash-coach.point-up::after { top:-4px; left:22px; }
.dash-coach.point-left::after { left:-4px; top:50%; margin-top:-4px; }
@keyframes dash-coach-in { from{opacity:0; transform:translateY(6px) scale(.96)} to{opacity:1; transform:translateY(0) scale(1)} }
@keyframes dash-coach-pulse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }

/* pulsing ring on the send button while idle */
.dash-send.invite { box-shadow:0 0 0 0 rgba(255,90,31,.5); animation:dash-send-pulse 1.6s ease-out infinite; }
@keyframes dash-send-pulse { 0%{box-shadow:0 0 0 0 rgba(255,90,31,.5)} 70%{box-shadow:0 0 0 10px rgba(255,90,31,0)} 100%{box-shadow:0 0 0 0 rgba(255,90,31,0)} }

/* clickable rows in results (demo) */
.dash-tbl tbody tr.clickable { cursor:pointer; }
.dash-tbl tbody tr.row-hot { background:#F5F7FF; }
.dash-tbl tbody tr.row-hot .dash-td-idx { background:#F5F7FF; }

/* replay control */
.dash-replay {
  position:absolute; right:16px; bottom:14px; z-index:55; overflow:hidden;
  display:inline-flex; align-items:center; gap:6px;
  border:1px solid #E5E5E8; background:#fff; border-radius:999px; padding:6px 12px;
  font-size:12.5px; font-weight:600; color:#5B5B64; cursor:pointer;
  box-shadow:0 4px 12px -4px rgba(0,0,0,.12); opacity:0; pointer-events:none; transition:opacity .3s;
}
/* shown → pulse an orange ring + sweep a shimmer so it reads as "restart" */
.dash-replay.show {
  opacity:1; pointer-events:auto; border-color:#FBD2C1; color:#FF5A1F;
  animation:dash-replay-pulse 1.9s ease-out infinite;
}
.dash-replay.show svg { color:#FF5A1F; }
.dash-replay:hover { color:#0F0F10; border-color:#D6D6DA; }
.dash-replay:hover svg { color:#0F0F10; }
.dash-replay svg { width:14px; height:14px; }
.dash-replay::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(100deg, transparent 25%, rgba(255,90,31,.20) 50%, transparent 75%);
  transform:translateX(-130%);
}
.dash-replay.show::after { animation:dash-replay-shimmer 2.6s ease-in-out .4s infinite; }
@keyframes dash-replay-pulse {
  0%   { box-shadow:0 4px 12px -4px rgba(0,0,0,.12), 0 0 0 0 rgba(255,90,31,.5); }
  70%  { box-shadow:0 4px 12px -4px rgba(0,0,0,.12), 0 0 0 9px rgba(255,90,31,0); }
  100% { box-shadow:0 4px 12px -4px rgba(0,0,0,.12), 0 0 0 0 rgba(255,90,31,0); }
}
@keyframes dash-replay-shimmer { 0% { transform:translateX(-130%); } 55%,100% { transform:translateX(130%); } }

/* ---------- Profile overlay + calibrate card ---------- */
.dash-content { position:relative; }
.dash-profile-layer { position:absolute; inset:0; z-index:70; display:none; }
.dash-profile-layer.open { display:block; }
.dash-scrim { position:absolute; inset:0; background:rgba(16,16,17,.28); backdrop-filter:blur(3px); animation:dash-fade 200ms ease; }
.dash-profile-scroll { position:absolute; inset:0; overflow:auto; padding:28px; display:flex; justify-content:center; align-items:flex-start; }
.dash-profile-wrap {
  display:flex; gap:20px; width:100%; max-width:1060px;
  animation:dash-card-in 320ms cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes dash-card-in { from{opacity:0; transform:translateY(18px) scale(.985)} to{opacity:1; transform:translateY(0) scale(1)} }

/* ticket */
.dash-ticket {
  flex:1; min-width:0; overflow:hidden; background:#fff; border:1px solid #E5E5E8;
  border-radius:14px; border-top-right-radius:52px;
  corner-shape: round bevel round round; /* chamfer the top-right (Chromium 139+/Comet) */
  box-shadow:0 1px 2px rgba(16,16,17,.04), 0 12px 32px -12px rgba(16,16,17,.14);
}
.dash-mast { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:228px; overflow:hidden; background:#0A0A0B; padding:32px 32px 32px 44px; }
.dash-mast-bp { position:absolute; inset:0 0 0 auto; width:54%; z-index:0; background-position:center; background-size:cover; filter:saturate(1.4) brightness(1.14); }
.dash-mast-grad { position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, #0A0A0B 40%, rgba(10,10,11,.75) 54%, transparent); }
.dash-mast-issue { position:absolute; left:8px; top:50%; z-index:10; writing-mode:vertical-rl; transform:translateY(-50%) rotate(180deg); font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.28em; color:rgba(255,255,255,.45); }
.dash-mast-row { position:relative; z-index:10; display:flex; align-items:flex-start; gap:20px; }
.dash-mast-left { display:flex; flex-direction:column; align-items:center; gap:12px; }
.dash-mast-av { width:56px; height:56px; border-radius:999px; object-fit:cover; box-shadow:0 0 0 2px rgba(255,255,255,.25); }
.dash-stamp { display:flex; flex-direction:column; align-items:center; justify-content:center; width:44px; height:44px; border-radius:999px; border:1px solid rgba(255,255,255,.25); text-align:center; }
.dash-stamp b { font-size:7.5px; font-weight:600; text-transform:uppercase; letter-spacing:.14em; color:rgba(255,255,255,.6); line-height:1; }
.dash-stamp span { margin-top:2px; font-size:5.5px; text-transform:uppercase; letter-spacing:.18em; color:rgba(255,255,255,.35); line-height:1; }
.dash-mast-body { min-width:0; padding-top:4px; }
.dash-mast-kicker { display:flex; align-items:center; gap:8px; font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.22em; color:rgba(255,255,255,.55); }
.dash-mast-kicker i { width:6px; height:6px; border-radius:999px; background:#FF5A1F; display:inline-block; }
.dash-mast-name { margin-top:8px; font-size:40px; font-weight:700; text-transform:uppercase; line-height:.95; letter-spacing:-.01em; color:#fff; }
.dash-mast-sub { margin-top:8px; font-size:15px; font-weight:500; color:rgba(255,255,255,.8); }
.dash-mast-meta { margin-top:12px; display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; font-size:12.5px; color:rgba(255,255,255,.65); }
.dash-mast-meta a, .dash-mast-meta span.i { display:inline-flex; align-items:center; gap:6px; color:rgba(255,255,255,.85); }
.dash-mast-meta svg { width:14px; height:14px; }
.dash-mast-meta .bar { color:rgba(255,255,255,.25); }

.dash-tk-body { padding:28px 40px; }
.dash-tk-h3 { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.14em; color:#A6A6AE; }
.dash-crit { margin-top:14px; display:flex; flex-direction:column; }
.dash-crit-row { display:flex; align-items:flex-start; gap:14px; padding:10px 0; }
.dash-crit-node { position:relative; display:flex; width:12px; flex-shrink:0; justify-content:center; padding-top:4px; }
.dash-crit-node b { z-index:1; width:12px; height:12px; border-radius:999px; border:3px solid; background:#fff; }
.dash-crit-node .rail { position:absolute; top:16px; width:1px; height:calc(100% + 4px); background:#ECECEE; }
.dash-crit-main { min-width:0; flex:1; }
.dash-crit-label { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.dash-crit-pref { margin-left:8px; font-size:12px; font-weight:400; color:#A6A6AE; text-transform:none; letter-spacing:0; }
.dash-crit-detail { margin-top:2px; font-size:13.5px; line-height:1.5; color:#5B5B64; }
.dash-crit-check { margin-top:2px; width:18px; height:18px; flex-shrink:0; color:#21C45D; }
.dash-tk-why { margin-top:26px; border-top:1px dashed #E5E5E8; padding-top:24px; }
.dash-tk-why p { margin-top:14px; max-width:760px; font-size:14px; line-height:1.6; color:#3F3F46; }
.dash-tk-contact { border-top:1px dashed #D6D6DA; padding:26px 40px 28px; }
.dash-chips { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
.dash-contact-chip { display:inline-flex; align-items:center; gap:6px; border:1px solid #E5E5E8; background:#fff; border-radius:8px; padding:6px 12px; font-size:13px; color:#5B5B64; }
.dash-contact-chip svg { width:14px; height:14px; color:#A6A6AE; }
.dash-contact-chip.link { color:#FF5A1F; } .dash-contact-chip.link svg { color:#FF5A1F; }
.dash-tk-foot { display:flex; flex-wrap:wrap; align-items:center; gap:8px; border-top:1px solid #F0F0F1; padding:16px 40px; }
.dash-tk-foot .teach { margin-right:4px; font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.12em; color:#A6A6AE; }
.dash-pill { border:1px solid #EAEAEC; background:#fff; border-radius:999px; padding:6px 12px; font-size:12px; font-weight:500; color:#5B5B64; cursor:pointer; }
.dash-pill:hover { background:#FAFAFA; color:#0F0F10; }

/* action rail */
.dash-rail {
  width:284px; flex-shrink:0; align-self:flex-start; background:#fff; border:1px solid #ECECEE;
  border-radius:20px; border-top-right-radius:34px; corner-shape: round bevel round round;
  padding:20px; box-shadow:0 1px 2px rgba(16,16,17,.03), 0 10px 30px -18px rgba(16,16,17,.18);
}
.dash-rail-top { display:flex; align-items:center; justify-content:space-between; }
.dash-rail-top .lab { font-family:"Geist Mono",monospace; font-size:10px; text-transform:uppercase; letter-spacing:.2em; color:#9A9AA1; }
.dash-rail-top .st { display:flex; align-items:center; gap:6px; font-size:12px; color:#3F3F46; }
.dash-rail-top .st i { width:7px; height:7px; border-radius:999px; }
.dash-rail-score { margin-top:12px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.dash-rail-score .big { display:flex; align-items:baseline; gap:4px; }
.dash-rail-score .big b { font-size:42px; font-weight:700; line-height:.82; letter-spacing:-.04em; color:#FF5A1F; font-variant-numeric:tabular-nums; }
.dash-rail-score .big span { font-size:14px; font-weight:500; color:#B5B5BC; font-variant-numeric:tabular-nums; white-space:nowrap; }
.dash-rail-score .r { text-align:right; padding-top:4px; }
.dash-rail-score .r p { font-size:14px; font-weight:500; color:#0F0F10; }
.dash-rail-score .r small { display:block; margin-top:2px; font-size:12.5px; color:#78787F; }
.dash-rail-track { position:relative; margin-top:14px; height:12px; }
.dash-rail-track .base { position:absolute; inset-inline:0; top:50%; height:3px; transform:translateY(-50%); border-radius:999px; background:#E8E8EA; }
.dash-rail-track .fill { position:absolute; left:0; top:50%; height:3px; transform:translateY(-50%); border-radius:999px; background:#FF5A1F; }
.dash-rail-track .knob { position:absolute; top:50%; width:12px; height:12px; transform:translate(-50%,-50%); border-radius:999px; border:2px solid #FF5A1F; background:#fff; }
.dash-rail-prompt { margin-top:20px; font-size:13.5px; line-height:1.35; color:#0F0F10; }
.dash-rail-btn { display:flex; width:100%; align-items:center; justify-content:space-between; border-radius:12px; padding:10px 16px; font-size:13.5px; font-weight:500; cursor:pointer; }
.dash-rail-btn.approve { margin-top:14px; background:#FF5A1F; color:#fff; border:0; }
.dash-rail-btn.approve:hover { background:#EE4F13; }
.dash-rail-btn.decline { margin-top:8px; background:#fff; color:#0F0F10; border:1px solid #E8E8EA; }
.dash-rail-btn.decline:hover { background:#FAFAFA; }
.dash-rail-btn .end { display:flex; align-items:center; gap:10px; }
.dash-rail-btn svg { width:16px; height:16px; }
.dash-rail-btn.decline svg { color:#9A9AA1; }
.dash-kbd { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:6px; font-size:12px; font-weight:500; }
.dash-rail-btn.approve .dash-kbd { background:#fff; color:#0F0F10; }
.dash-rail-btn.decline .dash-kbd { border:1px solid #E5E5E8; color:#3F3F46; }
.dash-rail-foot { margin-top:20px; border-top:1px solid #F0F0F1; padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dash-rail-foot .c { font-size:12.5px; color:#78787F; }
.dash-rail-seg { display:flex; align-items:center; gap:6px; }
.dash-rail-seg i { width:20px; height:3px; border-radius:999px; background:#E4E4E7; }
.dash-rail-seg i.on { background:#FF5A1F; }
/* prominent overlay close (top-right of the whole card layer) */
.dash-profile-close {
  position:absolute; top:20px; right:24px; z-index:80;
  display:inline-flex !important; align-items:center; gap:6px; height:34px;
  border:1px solid #E5E5E8; background:#fff; border-radius:999px; padding:0 14px;
  font-size:13px; font-weight:500; color:#0F0F10; cursor:pointer; line-height:1;
  box-shadow:0 4px 14px -4px rgba(16,16,17,.25);
}
.dash-profile-close:hover { background:#FAFAFA; }
.dash-profile-close svg { width:15px; height:15px; }
.dash-profile-close .esc { display:inline-flex; align-items:center; justify-content:center; height:18px; padding:0 5px; border-radius:5px; background:#F4F4F5; font-size:10px; font-weight:600; color:#5B5B64; }

/* masked (gated) contact tail — real value, softly obscured */
.dash-mask { display:inline-block; filter:blur(3.5px); opacity:.82; user-select:none; -webkit-user-select:none; pointer-events:none; }

/* verifying proof chip (build phase) */
.dash-proof.verifying { border:1px solid #FBD2C1; background:#FFF1EB; color:#FF5A1F; }
.dash-proof.verifying .vping { position:relative; display:inline-flex; width:6px; height:6px; }
.dash-proof.verifying .vping i { position:absolute; inset:0; border-radius:999px; background:#FF5A1F; opacity:.6; animation:dash-ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
.dash-proof.verifying .vping b { position:relative; width:6px; height:6px; border-radius:999px; background:#FF5A1F; }

/* chat thinking row */
.dash-thinking { margin-top:20px; display:inline-flex; align-items:center; gap:8px; font-size:13px; color:#065F46; }
.dash-thinking svg { width:14px; height:14px; animation:dash-spin 1s linear infinite; }

/* title fields: generic → shimmer → resolved name (after first search) */
.dash-name-sk { display:inline-block; height:12px; border-radius:4px; background:#E4E4E7; vertical-align:middle; animation:dash-pulse 1.15s ease-in-out infinite; }
.dash-agent-name .dash-name-sk { height:13px; }
.dash-title-in { animation:dash-fade 320ms ease; }
.dash-generic { color:#A6A6AE; font-weight:500; }

/* follow-up filter: active filter chip on the toolbar count */
.dash-count-of { color:#A6A6AE; }
.dash-filter-tag { display:inline-flex; align-items:center; gap:5px; margin-left:8px; border:1px solid #FBD2C1; background:#FFF1EB; border-radius:999px; padding:1px 8px; font-size:11.5px; font-weight:500; color:#FF5A1F; }
.dash-filter-tag svg { width:11px; height:11px; }
