/* v2.94.0: the CRM made corporate. Loaded after the workspace's own styles (admin.html), so it refines them:
   loading skeletons, the How-it-works diagrams, the client profile, the Leads list, map and dossier, the Pitch
   builder, and the phone layout of every page. Same tokens as admin.html (--brand, --card, --line…). */

/* ---------------------------------------------------------------- loading skeletons */
.skel-wrap { display: grid; gap: 14px; padding: 4px 0; }
.skel { position: relative; overflow: hidden; border-radius: 14px; background: rgba(148, 172, 210, 0.055); }
.skel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(148, 172, 210, 0.085), transparent); animation: skel 1.25s ease-in-out infinite; }
.skel-h { height: 26px; width: 38%; border-radius: 8px; }
.skel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.skel-c { height: 92px; }
.skel-b { height: 240px; }
.skel-b2 { height: 120px; width: 72%; }
@keyframes skel { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skel::after { animation: none; } }
@media (max-width: 640px) { .skel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- How it works (flows.js) */
.fl { --fl-c: var(--brand); position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.05), rgba(45, 212, 167, 0.03) 60%, transparent), var(--card); }
.fl::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.55), rgba(45, 212, 167, 0.45), transparent); opacity: .7; }
.fl-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; width: 100%; padding: 11px 14px 11px 13px; text-align: left; cursor: pointer; color: var(--text); }
.fl-bar:focus-visible { outline: 2px solid rgba(255, 125, 51, 0.7); outline-offset: -2px; border-radius: 16px; }
.fl-orb { position: relative; width: 30px; height: 30px; border-radius: 999px; background: conic-gradient(from 0deg, #ff6b1a, #2dd4a7, #8fb0ff, #ff6b1a); animation: fl-spin 6s linear infinite; flex-shrink: 0; }
.fl-orb::before { content: ''; position: absolute; inset: 2px; border-radius: 999px; background: var(--card); }
.fl-orb i { position: absolute; inset: 9px; border-radius: 999px; background: #ff8a3d; box-shadow: 0 0 12px rgba(255, 138, 61, 0.9); animation: fl-pulse 1.8s ease-in-out infinite; }
.fl-bt { display: flex; flex-direction: column; min-width: 0; }
.fl-bt b { font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-bt small { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.fl-chips { display: flex; gap: 6px; flex-wrap: nowrap; }
.fl-chip { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; opacity: .85; background: rgba(255, 255, 255, 0.02); }
.fl-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: #fff; background: linear-gradient(180deg, rgba(255, 125, 51, 0.95), rgba(232, 86, 12, 0.95)); box-shadow: 0 6px 18px -8px rgba(255, 107, 26, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.fl-cta::after { content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); }
.fl-bar:hover .fl-cta { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255, 107, 26, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.fl-bar:hover .fl-cta::after { animation: fl-shine .8s ease; }
.fl-bar:active .fl-cta { transform: translateY(0) scale(.97); }
.fl-cta svg { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fl.open .fl-cta { background: rgba(255, 255, 255, 0.06); color: #e8ecf3; box-shadow: inset 0 0 0 1px var(--line-2); }
.fl.open .fl-cta svg { transform: rotate(180deg); }
.fl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2, .8, .2, 1); }
.fl.open .fl-body { grid-template-rows: 1fr; }
.fl-in { overflow: hidden; min-height: 0; }
.fl.open .fl-in { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.fl-lede { font-size: 13px; color: #c3cad8; line-height: 1.6; margin: 12px 0 14px; max-width: 920px; }
.fl-track { display: flex; align-items: stretch; gap: 0; padding: 4px 0 2px; }
.fl-node { --k: #8fb0ff; position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 11px; border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--k) 9%, transparent), rgba(255, 255, 255, 0.01)); border: 1px solid color-mix(in srgb, var(--k) 28%, transparent);
}
.fl.open .fl-node { animation: fl-from .45s cubic-bezier(.2, .8, .2, 1) both, fl-glow 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms), calc(var(--i) * 0.45s + .5s); }
.fl-node .fl-ic { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--k); background: color-mix(in srgb, var(--k) 14%, transparent); margin-bottom: 6px; }
.fl-node .fl-ic svg { width: 16px; height: 16px; }
.fl-k { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--k); }
.fl-node b { font-size: 12.5px; color: #fff; font-weight: 600; line-height: 1.3; }
.fl-node small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.fl-link { position: relative; flex: 0 0 34px; align-self: center; height: 2px; margin: 0 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(148, 172, 210, 0.35) 0 5px, transparent 5px 10px); background-size: 20px 2px; animation: fl-dash 1.1s linear infinite; }
.fl-link i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 999px; background: #ffb07a; box-shadow: 0 0 10px 2px rgba(255, 138, 61, 0.8);
  animation: fl-run 1.8s cubic-bezier(.5, 0, .5, 1) infinite; animation-delay: calc(var(--i) * 0.45s); opacity: 0; }
.fl-link::after { content: ''; position: absolute; right: -3px; top: -3px; border: 4px solid transparent; border-left: 5px solid rgba(148, 172, 210, 0.55); }
.k-src { --k: #8fb0ff; } .k-apify { --k: #2dd4a7; } .k-api { --k: #7cc4ff; } .k-ai { --k: #c4b5fd; } .k-us { --k: #ff8a3d; }
.k-db { --k: #fcd34d; } .k-out { --k: #6ee7b7; } .k-team { --k: #f9a8d4; } .k-mail { --k: #fda4af; }
.fl-chip.k-src { color: #8fb0ff; } .fl-chip.k-apify { color: #2dd4a7; } .fl-chip.k-api { color: #7cc4ff; } .fl-chip.k-ai { color: #c4b5fd; } .fl-chip.k-us { color: #ffb07a; }
.fl-chip.k-db { color: #fcd34d; } .fl-chip.k-out { color: #6ee7b7; } .fl-chip.k-team { color: #f9a8d4; } .fl-chip.k-mail { color: #fda4af; }
.fl-layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.fl-layer { padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.fl.open .fl-layer { animation: fl-from .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 60ms + 220ms); }
.fl-lh { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fl-ln { font-size: 12.5px; font-weight: 600; color: #fff; }
.fl-cost { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(245, 158, 11, 0.12); color: #fcd34d; white-space: nowrap; }
.fl-cost.free { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; }
.fl-layer p { font-size: 12.5px; color: #aeb6c6; line-height: 1.55; margin-top: 6px; }
.fl-get { margin-top: 8px; font-size: 12px; color: #e8ecf3; display: flex; gap: 8px; align-items: baseline; }
.fl-get span { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--live); flex-shrink: 0; }
.fl-month { margin-top: 12px; padding: 12px 14px; border-radius: 13px; border: 1px dashed rgba(45, 212, 167, 0.3); background: rgba(45, 212, 167, 0.04); font-size: 12.5px; }
.fl-mh { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fl-mh .fl-k { color: var(--live); }
.fl-mg { display: grid; grid-template-columns: repeat(3, auto) minmax(160px, 1fr); gap: 22px; align-items: end; }
.fl-mg b { display: block; font-size: 20px; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fl-mg small { font-size: 11px; color: var(--muted); }
.fl-mbar > div { height: 6px; border-radius: 999px; background: rgba(148, 172, 210, 0.1); overflow: hidden; margin-bottom: 5px; }
.fl-mbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2dd4a7, #8fb0ff); }
.fl-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
@keyframes fl-spin { to { transform: rotate(360deg); } }
@keyframes fl-pulse { 0%, 100% { transform: scale(.85); opacity: .85; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes fl-shine { to { transform: translateX(120%) skewX(-20deg); } }
@keyframes fl-from { from { opacity: 0; transform: translateY(6px); } }
.fl:not(.open) .fl-link i { animation: none; }
@keyframes fl-glow { 0%, 100% { box-shadow: none; } 12% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--k) 45%, transparent), 0 8px 26px -10px var(--k); } 30% { box-shadow: none; } }
@keyframes fl-dash { to { background-position: 20px 0; } }
@keyframes fl-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fl-runv { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (max-width: 1100px) { .fl-chips { display: none; } }
@media (max-width: 860px) {
  .fl-track { flex-direction: column; }
  .fl-node { flex: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; }
  .fl-node .fl-ic { grid-row: span 3; margin: 0; }
  .fl-link { flex: 0 0 20px; width: 2px; height: 20px; align-self: flex-start; margin: 2px 0 2px 26px; background: repeating-linear-gradient(180deg, rgba(148, 172, 210, 0.35) 0 5px, transparent 5px 10px); background-size: 2px 20px; }
  .fl-link i { left: 50% !important; top: 0; margin: -4px 0 0 -4px; animation-name: fl-runv; }
  .fl-link::after { right: -3px; top: auto; bottom: -5px; border: 4px solid transparent; border-top: 5px solid rgba(148, 172, 210, 0.55); }
  .fl-mg { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fl-mbar { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .fl-bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; } .fl-cta-t { display: none; } .fl-cta { padding: 7px; } }
@media (prefers-reduced-motion: reduce) {
  .fl-orb, .fl-orb i, .fl-link, .fl-link i, .fl.open .fl-node, .fl.open .fl-layer { animation: none !important; }
  .fl-node, .fl-layer { opacity: 1; transform: none; } .fl-body { transition: none; }
}

/* ---------------------------------------------------------------- Leads: the List */
.ld-kpis { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ld-kpi { --kc: #8b95a8; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding: 11px 14px 12px; border-radius: 14px; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 70px), var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s, transform .15s, background .15s; }
.ld-kpi::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--kc); opacity: .55; }
button.ld-kpi:hover { border-color: var(--line-2); transform: translateY(-1px); }
.ld-kpi.on { border-color: color-mix(in srgb, var(--kc) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--kc) 10%, transparent), transparent 80px), var(--card); }
.ld-kl { font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ld-kpi b { font-size: 22px; font-weight: 650; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ld-kpi small { font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ld-kpi.t-brand { --kc: #ff6b1a; } .ld-kpi.t-orange { --kc: #ff8a3d; } .ld-kpi.t-violet { --kc: #a78bfa; } .ld-kpi.t-teal { --kc: #2dd4a7; } .ld-kpi.t-blue { --kc: #7c9cf5; } .ld-kpi.t-green { --kc: #34d399; }
.ld-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ld-tabs { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .ld-tabs::-webkit-scrollbar { display: none; }
.ld-send { font-size: 12px; color: var(--dim); }
.ld-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 200px) auto; gap: 8px; align-items: center; }
.ld-search { position: relative; display: flex; align-items: center; }
.ld-search svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.ld-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); color: #fff; font-size: 13.5px; outline: none; transition: border-color .15s, box-shadow .15s; }
.ld-search input:focus { border-color: rgba(255, 125, 51, 0.75); box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.16); }
.ld-search input::placeholder { color: #5e6577; }
.ld-tools select.field { height: 38px; }
.ld-more-btn { height: 38px; }
.ld-more-btn svg { width: 15px; height: 15px; }
.ld-more-btn b { font-size: 10.5px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); color: #fff; }
.ld-more-btn.on { border-color: rgba(255, 140, 70, 0.5); background: var(--brand-soft); }
.ld-more { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 13px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.015); }
.ld-more.hidden { display: none; }
.ld-chips:empty { display: none; }
.ld-card { overflow: hidden; }
.ld-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 50px; }
.ld-picked { font-size: 12.5px; color: #fff; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); }
.ld-tbl th { position: sticky; top: 0; z-index: 1; background: #0e141f; }
.ld-tbl td { vertical-align: middle; }
.ld-tbl tbody tr.picked { background: rgba(255, 107, 26, 0.05); }
.ld-tbl tbody tr:hover .ld-nm { color: #ffb07a; }
.ld-ck { width: 36px; }
.ld-biz { min-width: 230px; max-width: 320px; }
.ld-bz { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ld-av, .lp-av { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; }
.ld-nm { display: block; font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .12s; }
.ld-sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.ld-lab { color: var(--brand-ink); }
.ld-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); flex-shrink: 0; }
.ld-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-ring b { position: relative; font-size: calc(var(--s) * 0.33); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ld-ring.none { border-radius: 999px; border: 2px dashed rgba(148, 172, 210, 0.18); color: var(--dim); font-size: 12px; }
.ld-sc { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.ld-v { font-size: 13px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ld-star { color: #fbbf24; margin-left: 1px; font-size: 11px; }
.ld-contact { max-width: 210px; }
.ld-em { font-size: 12.5px; color: #dfe4ec; }
.ld-chs { display: flex; gap: 4px; }
.lch { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: #4f586a; background: rgba(148, 172, 210, 0.055); }
a.lch.on { color: #b9cbff; background: rgba(111, 155, 255, 0.14); transition: background .12s, color .12s; }
a.lch.on:hover { color: #fff; background: rgba(111, 155, 255, 0.3); }
.ld-none { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 36px 16px; font-size: 13px; color: var(--muted); } .ld-none b { color: #fff; font-size: 14px; }
@media (max-width: 1280px) { .ld-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ld-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ld-search { grid-column: 1 / -1; } .ld-more-btn { justify-content: center; } }

/* ---------------------------------------------------------------- Leads: the map */
.ldm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ldm-meta { margin-left: auto; font-size: 12px; color: var(--dim); }
.ldm-card { border-radius: 18px; }
.nw-map.ldm { height: min(72vh, 720px); min-height: 420px; }
.ld-pop .maplibregl-popup-content { background: #0f1520; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); color: var(--text); padding: 12px 14px; }
.ld-pop .maplibregl-popup-tip { border-top-color: #0f1520 !important; border-bottom-color: #0f1520 !important; }
.ld-pop .maplibregl-popup-close-button { color: var(--muted); font-size: 16px; right: 6px; top: 4px; }

/* ---------------------------------------------------------------- Leads: the Preview as a dossier */
.lp-hero { padding: 18px 20px 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 107, 26, 0.08), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 120px), var(--card); }
.lp-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lp-id { display: flex; gap: 14px; min-width: 0; }
.lp-av { width: 52px; height: 52px; border-radius: 15px; font-size: 17px; }
.lp-hero h2 { font-size: 22px; font-weight: 650; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.lp-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.lp-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13px; color: #e2e7ef; }
.lp-contact b { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 7px; }
.lp-contact .warn { color: #fcd34d; }
.lp-nav { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #fff; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); flex-shrink: 0; }
.lp-nav .btn { padding: 4px 10px; font-size: 14px; }
.lp-hero-bot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.lp-hero-bot .ld-labels { margin-top: 0; }
.lp-chs { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-ch { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #5d6679; border: 1px solid var(--line); }
.lp-ch i { width: 6px; height: 6px; border-radius: 999px; background: #3c4352; }
a.lp-ch.on { color: #e5eaf2; border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); transition: border-color .15s, background .15s; }
a.lp-ch.on i { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.8); }
a.lp-ch.on:hover { border-color: rgba(255, 140, 70, 0.55); background: var(--brand-soft); }
.lp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.lp-gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-g { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 80px), var(--card); min-width: 0; }
.lp-gr { flex-shrink: 0; } .lp-gr .ld-ring b { display: none; }
.lp-gl { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.lp-gv { font-size: 26px; font-weight: 650; color: #fff; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lp-gv small { font-size: 13px; color: var(--dim); font-weight: 500; margin-left: 2px; }
.lp-gs { font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.012); overflow: hidden; }
.dx-h { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.dx-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); font-variant-numeric: tabular-nums; }
.dx-h h3 { font-size: 14.5px; font-weight: 650; color: #fff; letter-spacing: -0.01em; }
.dx-h p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dx-b { padding: 14px 16px 16px; }
.dx-plan { border-color: rgba(45, 212, 167, 0.22); background: linear-gradient(180deg, rgba(45, 212, 167, 0.04), transparent 140px); }
.dx-plan .dx-n { color: #5eead4; background: rgba(45, 212, 167, 0.12); }
.lp-fomo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.lp-fomo-i { display: flex; gap: 12px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(255, 140, 70, 0.22); background: linear-gradient(90deg, rgba(255, 107, 26, 0.09), rgba(255, 107, 26, 0.02)); }
.lp-fomo-i span { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #ff7d33, #e8560c); }
.lp-fomo-i p { font-size: 13px; line-height: 1.55; color: #f1f3f7; }
.lp-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.lp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.lp-legend i.me { background: var(--brand); } .lp-legend i.avg { width: 2px; height: 12px; background: #8b95a8; border-radius: 1px; } .lp-legend i.best { width: 2px; height: 12px; background: #34d399; border-radius: 1px; }
.lp-cmps { display: grid; gap: 2px; }
.lp-cmp { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.lp-cmp:first-child { border-top: 0; }
.lp-cl b { display: block; font-size: 13px; color: #fff; font-weight: 600; }
.lp-cl small { font-size: 11.5px; color: var(--dim); }
.lp-tr { position: relative; height: 10px; border-radius: 999px; background: rgba(148, 172, 210, 0.08); }
.lp-tr .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 107, 26, 0.45), #ff6b1a); }
.lp-tr .me { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px rgba(255, 107, 26, 0.7); }
.lp-tr .avg, .lp-tr .best { position: absolute; top: -5px; width: 2px; height: 20px; margin-left: -1px; border-radius: 1px; }
.lp-tr .avg { background: #8b95a8; } .lp-tr .best { background: #34d399; margin-left: -2px; }
.lp-cr { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 150px; font-size: 12.5px; }
.lp-behind { color: #fda4af; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-lead { color: #6ee7b7; font-weight: 600; white-space: nowrap; }
.lp-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lp-ph { position: relative; padding: 12px 14px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.lp-ph::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2dd4a7, rgba(45, 212, 167, 0)); }
.lp-phh span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5eead4; }
.lp-phh b { display: block; font-size: 14px; color: #fff; margin-top: 2px; }
.lp-ph ol { margin-top: 10px; display: grid; gap: 9px; }
.lp-ph li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: start; }
.lp-ph li p { font-size: 12.5px; color: #e5e9f0; line-height: 1.5; }
.lp-ph li small { font-size: 11px; color: var(--dim); line-height: 1.4; display: block; margin-top: 2px; }
.lp-pa { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; margin-top: 2px; }
.lp-pa.g { color: #ffb07a; background: var(--brand-soft); } .lp-pa.s { color: #c4b5fd; background: rgba(139, 92, 246, 0.14); }
.lp-targets { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.lp-tg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 13px; color: #cbd2de; }
.lp-tg b { min-width: 160px; color: #fff; font-weight: 600; }
.lp-tg .now { color: #fda4af; font-weight: 600; } .lp-tg .best { color: #6ee7b7; font-weight: 600; } .lp-tg .done { color: #93c5fd; }
.lp-tg small { color: var(--dim); font-size: 11px; } .lp-tg .arr { color: var(--dim); }
.lp-rev { padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line); font-size: 12.5px; background: rgba(255, 255, 255, 0.015); }
.lp-post { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); padding: 4px 0; }
.lp-post:hover { color: #fff; }
.lp-pts { display: grid; gap: 2px; }
.lp-pt { display: grid; grid-template-columns: 70px minmax(0, 1fr) 150px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.lp-pt:first-child { border-top: 0; }
.lp-pt .badge { justify-content: center; }
.lp-ptb { display: flex; align-items: center; gap: 8px; }
.lp-ptb > div { flex: 1; height: 6px; border-radius: 999px; background: rgba(148, 172, 210, 0.1); overflow: hidden; }
.lp-ptb i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c9cf5, #2dd4a7); }
.lp-ptb span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.lp-ahead tr.me { background: rgba(255, 107, 26, 0.06); }
@media (max-width: 1280px) { .lp-gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lp-hero { padding: 16px; } .lp-hero-top { flex-direction: column; } .lp-nav { align-self: stretch; justify-content: space-between; }
  .lp-acts { margin-left: 0; } .lp-cmp { grid-template-columns: minmax(0, 1fr); gap: 8px; } .lp-cr { justify-content: flex-start; }
  .lp-pt { grid-template-columns: 64px minmax(0, 1fr); } .lp-ptb { grid-column: 2; } .lp-g { padding: 12px; gap: 10px; } .lp-gv { font-size: 21px; }
  .lp-gr .ld-ring { --s: 44px !important; }
}

/* ---------------------------------------------------------------- the FOMO report, official (print-friendly) */
.report-sheet.rp { padding: 0 0 26px; overflow: hidden; max-width: 860px; }
.rp > *:not(.rp-band) { margin-left: 40px; margin-right: 40px; }
.rp-band { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 40px 18px; margin-bottom: 26px; background: #0d1320; color: #fff; border-bottom: 4px solid #f25d0f; }
.rp-brand { font-size: 13px; font-weight: 800; letter-spacing: .32em; }
.rp-kind { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #ffb07a; margin-top: 4px; }
.rp-date { text-align: right; font-size: 12px; color: #d8dde7; line-height: 1.5; } .rp-date span { color: #9aa3b5; }
.rp h1 { font-size: 26px; }
.rp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.rp-card { border: 1px solid #e6e2d9; border-radius: 10px; padding: 11px 12px; background: #fff; }
.rp-cl { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6a55; }
.rp-cv { font-size: 24px; font-weight: 700; color: #0d1320; margin-top: 3px; } .rp-cv small { font-size: 12px; color: #8a8f99; font-weight: 600; }
.rp-cs { font-size: 11.5px; color: #5d6678; }
.rp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.rp-tbl th { text-align: right; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a8f99; padding: 7px 8px; border-bottom: 2px solid #1b2230; }
.rp-tbl th:first-child, .rp-tbl td:first-child { text-align: left; padding-left: 0; }
.rp-tbl td { text-align: right; padding: 8px; border-bottom: 1px solid #e6e2d9; font-variant-numeric: tabular-nums; }
.rp-tbl td.you { font-weight: 700; color: #c2410c; }
.rp-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rp-plan > div { border-top: 3px solid #0f766e; padding-top: 8px; }
.rp-ph { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; }
.rp-plan ul { margin-top: 6px; padding-left: 16px; list-style: disc; font-size: 13px; line-height: 1.5; color: #1b2230; } .rp-plan li + li { margin-top: 4px; }
.rp-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 12px; border-top: 1px solid #e6e2d9; font-size: 11.5px; color: #5d6678; }
@media (max-width: 760px) { .rp > *:not(.rp-band) { margin-left: 18px; margin-right: 18px; } .rp-band { padding: 18px; } .rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-foot { flex-direction: column; } }
@media print { .rp-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------------------------------------------------------------- the Pitch builder (pitch.js) */
.pt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.pt-step { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, #ff7d33, #e8560c); letter-spacing: 0; }
.pt-title { font-size: 20px; font-weight: 650; color: #fff; letter-spacing: -0.02em; margin-top: 6px; }
.pt-sub { font-size: 13px; color: var(--muted); margin-top: 3px; max-width: 760px; }
.pt-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.pt-pick { position: sticky; top: 0; max-height: calc(100vh - 150px); display: flex; flex-direction: column; overflow: hidden; }
.pt-pick-h { padding: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.pt-only { display: flex; gap: 4px; } .pt-only button { flex: 1; padding: 4px 8px; border-radius: 8px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); }
.pt-only button.on { color: #fff; border-color: rgba(255, 140, 70, 0.5); background: var(--brand-soft); }
.pt-list { overflow-y: auto; padding: 6px; flex: 1; }
.pt-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 9px; border-radius: 10px; border: 1px solid transparent; transition: background .12s, border-color .12s; }
.pt-item:hover { background: rgba(148, 172, 210, 0.05); }
.pt-item.on { background: rgba(255, 107, 26, 0.09); border-color: rgba(255, 140, 70, 0.4); }
.pt-box { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.pt-item.on .pt-box { background: var(--brand); border-color: var(--brand); }
.pt-nm { display: block; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-sb { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-empty { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pt-empty-ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand-ink); background: var(--brand-soft); margin-bottom: 14px; }
.pt-empty h3 { font-size: 16px; font-weight: 650; color: #fff; } .pt-empty p { font-size: 13px; color: var(--muted); max-width: 520px; margin-top: 6px; line-height: 1.6; }
.pt-cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-cmp th { text-align: left; vertical-align: top; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); min-width: 190px; background: rgba(255, 255, 255, 0.012); }
.pt-cmp th:first-child { min-width: 150px; }
.pt-cn { font-size: 13.5px; font-weight: 650; color: #fff; } .pt-cc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pt-cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pt-cmp tr:last-child td { border-bottom: 0; }
.pt-rl { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.pt-v { font-size: 14px; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
.pt-bar { height: 5px; border-radius: 999px; background: rgba(148, 172, 210, 0.1); margin-top: 6px; overflow: hidden; }
.pt-bar i { display: block; height: 100%; border-radius: 999px; background: #5b6578; }
.pt-cmp td.best .pt-v { color: #ffb07a; } .pt-cmp td.best .pt-bar i { background: linear-gradient(90deg, #ff8a3d, #ff6b1a); }
.pt-cmp td.best { background: rgba(255, 107, 26, 0.05); }
.pt-ch { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; color: #4f586a; background: rgba(148, 172, 210, 0.055); } .pt-ch.on { color: #b9cbff; background: rgba(111, 155, 255, 0.14); }
.pt-says { display: grid; gap: 6px; font-size: 13px; color: #d5dbe5; padding-left: 18px; list-style: disc; } .pt-says b { color: #fff; }
.pt-lead { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; padding: 16px 18px; }
.pt-lead h3 { font-size: 18px; font-weight: 650; color: #fff; } .pt-lead p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.pt-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pt-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pt-mail { position: sticky; top: 0; }
.pt-blocks { display: grid; gap: 6px; font-size: 12.5px; color: #dfe4ec; } .pt-blocks label { display: flex; gap: 8px; align-items: baseline; }
.pt-two .report-sheet.rp > *:not(.rp-band) { margin-left: 26px; margin-right: 26px; } .pt-two .rp-band { padding-left: 26px; padding-right: 26px; } .pt-two .rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1600px) { .pt-two { grid-template-columns: minmax(0, 1fr); } .pt-mail { position: static; } }
@media (max-width: 1100px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } .pt-pick { position: static; max-height: 340px; } }
.ld-tbl td, .ld-tbl th { padding: 9px 10px; }
.ld-tbl .ld-biz { min-width: 210px; max-width: 270px; }
.ld-tbl .ld-contact { max-width: 185px; }
.ld-stg { display: flex; align-items: center; gap: 6px; } .ld-stg .tk-face { width: 22px; height: 22px; font-size: 9px; }
.ld-stage { min-width: 130px; }
.lch { min-width: 23px; height: 21px; font-size: 10px; }
.fl-layers { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fl-lh { flex-direction: column; align-items: flex-start; gap: 6px; }
.fl-cost { white-space: normal; line-height: 1.35; }
.ld-tbl td, .ld-tbl th { padding: 9px 8px; }
.ld-tbl td:first-child, .ld-tbl th:first-child { padding-left: 14px; }
.ld-tbl .ld-biz { max-width: 250px; }

/* ---------------------------------------------------------------- the client page: an official profile (clients.js) */
.chx { --bc: #ff6b1a; position: relative; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: radial-gradient(90% 160% at 0% 0%, color-mix(in srgb, var(--bc) 13%, transparent), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 140px), var(--card); }
.chx::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--bc), color-mix(in srgb, var(--bc) 30%, transparent) 60%, transparent); }
.chx-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 22px 0; }
.chx-back { font-size: 12.5px; color: var(--muted); font-weight: 500; } .chx-back:hover { color: #fff; }
.chx-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #9fe9cf; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(45, 212, 167, 0.28); background: rgba(45, 212, 167, 0.06); }
.chx-live.off { color: var(--muted); border-color: var(--line-2); background: transparent; }
.chx-live b { color: #fff; font-weight: 600; }
.chx-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 22px 18px; }
.chx-logo { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px -14px color-mix(in srgb, var(--bc) 70%, transparent); }
.chx-logo img { width: 100%; height: 100%; object-fit: cover; } .chx-logo b { font-size: 24px; color: #1b2230; }
.chx-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--bc) 65%, #ffffff); }
.chx-id h2 { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.025em; line-height: 1.15; margin-top: 4px; }
.chx-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 6px; font-size: 13px; color: #b7bfcd; }
.chx-meta span + span::before { content: '·'; margin: 0 9px; color: var(--dim); }
.chx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chx-tags span { font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; color: #e5e9f0; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.chx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 0; border: 1px solid var(--line); border-radius: 15px; background: rgba(7, 10, 16, 0.45); overflow: hidden; }
.chx-f { padding: 11px 18px; min-width: 112px; } .chx-f + .chx-f { border-left: 1px solid var(--line); }
.chx-f dt { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.chx-f dd { font-size: 21px; font-weight: 650; color: #fff; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.chx-f dd span { font-size: 13px; color: var(--dim); font-weight: 500; }
.chx-f.txt dd { font-size: 14px; font-weight: 600; letter-spacing: 0; padding-top: 4px; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chx-f small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; white-space: nowrap; }
.chx-f.good dd { color: #a7f3d0; }
.chx-tabs { display: flex; gap: 4px; padding: 0 14px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; background: rgba(7, 10, 16, 0.25); }
.chx-tabs::-webkit-scrollbar { display: none; }
.chx-tabs a { position: relative; padding: 12px 12px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .15s; }
.chx-tabs a:hover { color: #fff; }
.chx-tabs a.on { color: #fff; } .chx-tabs a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--bc); }
@media (max-width: 1200px) { .chx-main { grid-template-columns: auto minmax(0, 1fr); } .chx-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .chx-top { padding: 12px 16px 0; } .chx-main { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; gap: 14px; }
  .chx-logo { width: 60px; height: 60px; border-radius: 16px; } .chx-id h2 { font-size: 21px; }
  .chx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chx-f:nth-child(3) { border-left: 0; } .chx-f:nth-child(n + 3) { border-top: 1px solid var(--line); } .chx-f { padding: 10px 14px; }
}
/* the page under the profile: sentence case, Inter everywhere, figures in tabular Inter, quieter accents */
.sx { border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 90px), var(--card); }
.sx-h { padding: 14px 18px; }
.sx-t { font-family: inherit; align-items: center; gap: 11px; }
.sx-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.sx-name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; text-transform: none; }
.sx-sub { font-size: 12.5px; color: var(--muted); }
.mono-l { font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ch-page .font-mono { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.st { border-radius: 16px; padding: 15px 18px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 80px), var(--card); }
.st::after { left: 18px; right: auto; width: 26px; top: 0; bottom: auto; height: 3px; border-radius: 0 0 3px 3px; }
.st .stv { font-family: inherit; font-size: 28px; font-weight: 700; margin-top: 6px; }
.st .sts { font-family: inherit; font-size: 12px; margin-top: 4px; }
.ch-page .pf { --pm: Inter, ui-sans-serif, system-ui, sans-serif; }
.ch-page .pf-mh { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 650; }
.ch-page .pf-legend { text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 500; }
.ch-page .kv { font-size: 13.5px; padding: 8px 0; }
.ch-page .tbl th { font-size: 11px; letter-spacing: .06em; }

/* ---------------------------------------------------------------- phones and small tablets: every page */
@media (max-width: 1023px) {
  /* the page head: the title on its own line, the page's buttons in one row that scrolls */
  main > header { min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  #page-actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 80px); padding: 2px 0; }
  #page-actions::-webkit-scrollbar { display: none; }
  #page-actions .btn { flex-shrink: 0; }
}
@media (max-width: 760px) {
  #content > div { padding-top: 16px; padding-bottom: 28px; }
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; } .seg::-webkit-scrollbar { display: none; }
  .card-h { flex-wrap: wrap; padding: 12px 14px; } .card-b { padding: 14px; }
  .section-h { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* a wide table scrolls inside its card instead of pushing the page */
  .card > .tbl:not(.ld-tbl), .sx-b > .tbl, .card-b > .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl th, .tbl td { padding: 10px 12px; }
  /* windows open as a sheet from the bottom, full width */
  #modal { padding: 0 !important; display: flex; align-items: flex-end; }
  #modal.hidden { display: none; }
  #modal > .card { width: 100%; max-width: none; margin: 0; border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto; animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1); }
  #modal .card-h { position: sticky; top: 0; z-index: 2; background: var(--card); }
  .kpi .v { font-size: 22px; }
  .st .stv { font-size: 22px; }
  .chips { flex-wrap: nowrap; }
  input.field, select.field, textarea.field { font-size: 16px; }   /* iOS zooms into anything smaller */
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } }

/* Leads on a phone: the numbers as a strip, each row as a card */
@media (max-width: 760px) {
  .ld-kpis { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -16px; padding: 0 16px; scroll-snap-type: x proximity; }
  .ld-kpis::-webkit-scrollbar { display: none; }
  .ld-kpi { flex: 0 0 132px; scroll-snap-align: start; }
  .ld-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ld-tools .ld-search { grid-column: 1 / -1; } .ld-more-btn { grid-column: 1 / -1; justify-content: center; }
  .ld-send { display: none; }
  .ld-card-h { padding: 10px 12px; }
  #or-table { overflow: visible; }
  .ld-tbl, .ld-tbl tbody { display: block; } .ld-tbl thead { display: none; }
  .ld-tbl tr { display: grid; grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 12px 12px 12px 10px; border-bottom: 1px solid var(--line); }
  .ld-tbl td { display: block; padding: 0 !important; border: 0 !important; min-width: 0; max-width: none !important; }
  .ld-tbl td:nth-child(1) { grid-row: 1; grid-column: 1; }
  .ld-tbl td:nth-child(2) { grid-row: 1; grid-column: 2 / 4; }
  .ld-tbl td:nth-child(3) { grid-row: 1; grid-column: 4; }
  .ld-tbl td:nth-child(4) { grid-row: 2; grid-column: 2; }
  .ld-tbl td:nth-child(5) { grid-row: 2; grid-column: 3 / 5; }
  .ld-tbl td:nth-child(6) { grid-row: 3; grid-column: 2 / 5; }
  .ld-tbl td:nth-child(7) { grid-row: 4; grid-column: 2 / 4; }
  .ld-tbl td:nth-child(8) { grid-row: 4; grid-column: 4; text-align: right; }
  .ld-tbl .ld-stg { justify-content: flex-end; } .ld-tbl .ld-stage .ld-sub { display: none; }
  .ld-biz { min-width: 0 !important; }
  /* the Preview: the list of leads folds above the lead */
  .lp-rail { position: static; max-height: 280px; }
  .lp-gauges { gap: 8px; }
  .lp-fomo { grid-template-columns: minmax(0, 1fr); }
  .dx-h, .dx-b { padding-left: 12px; padding-right: 12px; }
  .nw-map.ldm { height: 64vh; min-height: 360px; }
  .ldm-meta { margin-left: 0; width: 100%; }
}
/* Pitch builder and Tools on a phone */
@media (max-width: 760px) {
  .pt-head .seg { width: 100%; } .pt-head .seg > a { flex: 1; justify-content: center; }
  .pt-cmp th { min-width: 150px; }
  .pt-lead { padding: 14px; }
}
/* v2.94.0: the same calm type on every page: chips that count read as words, not code */
.chip-line { font-family: inherit; font-size: 12px; letter-spacing: 0; text-transform: none; color: #b7bfcd; border-radius: 999px; padding: 5px 12px; }
.chip-line b { font-variant-numeric: tabular-nums; }
.section-h h2 { letter-spacing: -0.02em; }
.card { border-radius: 18px; }
.card-h h2 { font-size: 14.5px; font-weight: 650; }
.btn { border-radius: 11px; }
.btn-sm { border-radius: 9px; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 16px -10px rgba(255, 107, 26, 0.9); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -10px rgba(255, 107, 26, 1); transform: translateY(-1px); }
.btn:focus-visible, .chip:focus-visible, a:focus-visible { outline: 2px solid rgba(255, 125, 51, 0.7); outline-offset: 2px; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, 0.028); }
/* the menu: the page you are on, a little clearer */
.nav-item { border-radius: 11px; }
.nav-item.on { background: linear-gradient(90deg, rgba(255, 107, 26, 0.14), rgba(255, 107, 26, 0.04)); }

/* ---------------------------------------------------------------- the board, as Jira has it (tasks.js, v2.95.0) */
.jb { display: grid; gap: 12px; }
.jb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jb-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jb-logo { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #4c9aff, #2563eb); flex-shrink: 0; }
.jb-name h2 { font-size: 18px; font-weight: 650; color: #fff; letter-spacing: -0.015em; }
.jb-name p { font-size: 12px; color: var(--muted); margin-top: 1px; }
.jb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jb-search { position: relative; display: flex; align-items: center; }
.jb-search svg { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--dim); pointer-events: none; }
.jb-search input { height: 32px; width: 220px; padding: 0 34px 0 31px; border-radius: 9px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); color: #fff; font-size: 13px; outline: none; transition: border-color .15s, width .2s; }
.jb-search input:focus { border-color: rgba(76, 154, 255, 0.8); width: 260px; box-shadow: 0 0 0 3px rgba(76, 154, 255, 0.15); }
.jb-search kbd { position: absolute; right: 8px; font: 600 10.5px/1 Inter, sans-serif; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 5px; }
.jb-faces { display: flex; align-items: center; } .jb-faces > * + * { margin-left: -6px; }
.jb-quick { display: flex; gap: 4px; flex-wrap: wrap; }
.jb-chip { height: 30px; padding: 0 11px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: #c3cad8; border: 1px solid transparent; transition: background .12s, color .12s; }
.jb-chip:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.jb-chip.on { color: #cfe1ff; background: rgba(76, 154, 255, 0.16); border-color: rgba(76, 154, 255, 0.45); }
.jb-bar select.field-sm { height: 30px; }
.jb-board { overflow-x: auto; padding-bottom: 6px; }
.jb-row { display: grid; gap: 10px; min-width: min-content; }
.jb-heads { position: sticky; top: 0; z-index: 2; }
.jb-colh { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px 10px 0 0; background: #111724; border: 1px solid var(--line); border-bottom: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9aa4b8; min-width: 0; }
.jb-colh.folded { flex-direction: column; gap: 10px; padding: 9px 4px; writing-mode: vertical-rl; text-orientation: mixed; min-height: 120px; }
.jb-cn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-cc { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #dfe4ec; letter-spacing: 0; }
.jb-cp { font-size: 10.5px; color: var(--dim); letter-spacing: 0; text-transform: none; font-weight: 600; }
.jb-cd { margin-left: auto; font-size: 10.5px; color: var(--dim); letter-spacing: 0; text-transform: none; font-weight: 500; }
.jb-fold { width: 20px; height: 20px; border-radius: 6px; color: var(--dim); font-size: 14px; line-height: 1; flex-shrink: 0; writing-mode: horizontal-tb; } .jb-fold:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.jb-cell { display: flex; flex-direction: column; background: rgba(17, 23, 36, 0.55); border: 1px solid var(--line); border-top: 0; min-height: 70px; min-width: 0; }
.jb-row + .jb-row .jb-cell, .jb-lane + .jb-row .jb-cell { border-top: 1px solid var(--line); }
.jb-row:last-child .jb-cell { border-radius: 0 0 10px 10px; }
.jb-cell.folded { background: rgba(17, 23, 36, 0.3); }
.jb-list { padding: 8px; gap: 7px; min-height: 48px; }
.jb-list.folded { padding: 0; min-height: 40px; }
.jb-list .tk-empty { padding: 6px 0; }
.jb-add { margin: 0 8px 8px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: left; transition: background .12s, color .12s; }
.jb-add:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.jb-addbox { margin: 0 8px 8px; padding: 8px; border-radius: 10px; background: var(--card); border: 1px solid rgba(76, 154, 255, 0.6); box-shadow: 0 0 0 3px rgba(76, 154, 255, 0.12); display: grid; gap: 6px; }
.jb-addbox textarea { width: 100%; resize: none; background: transparent; border: 0; outline: none; color: #fff; font-size: 13.5px; line-height: 1.45; }
.jb-lane { display: flex; align-items: center; gap: 9px; width: 100%; margin-top: 12px; padding: 7px 4px; font-size: 13px; color: #fff; text-align: left; position: sticky; left: 0; }
.jb-lane b { font-weight: 650; } .jb-lane > span:last-child { font-size: 12px; color: var(--muted); }
.jb-car { display: inline-block; color: var(--dim); transition: transform .15s; } .jb-lane.shut .jb-car { transform: rotate(-90deg); }
.jb-card { padding: 10px 11px 9px; border-radius: 10px; background: #151b28; border-color: rgba(148, 172, 210, 0.13); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); cursor: pointer; }
.jb-card:hover { background: #18202f; border-color: rgba(76, 154, 255, 0.45); }
.jb-card:active { cursor: grabbing; }
.jb-card.flagged { background: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.03)), #151b28; border-color: rgba(251, 191, 36, 0.45); }
.jb-card .tk-title { font-size: 13.5px; line-height: 1.4; color: #eef1f6; }
.jb-client { font-size: 10.5px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.jb-epic { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 5px; color: hsl(var(--h) 85% 78%); background: hsl(var(--h) 60% 45% / 0.2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .02em; }
.jb-parent { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; color: #9fd8f7; background: rgba(125, 211, 252, 0.12); }
.jb-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 9px; }
.jb-l, .jb-r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.jb-type { flex-shrink: 0; display: block; }
.tk-key.done { text-decoration: line-through; }
.jb-flag { color: #fbbf24; font-size: 12px; }
.jb-due { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 5px; color: #c3cad8; background: rgba(148, 172, 210, 0.1); white-space: nowrap; }
.jb-due.late { color: #ffd2d8; background: rgba(244, 63, 94, 0.22); } .jb-due.today { color: #fde68a; background: rgba(245, 158, 11, 0.2); }
.jb-kids, .jb-cm { font-size: 11px; color: var(--muted); white-space: nowrap; }
.jb-kids::before { content: '☰ '; } .jb-cm::before { content: '💬 '; }
.jb-pts { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #dfe4ec; background: rgba(148, 172, 210, 0.16); }
.jb-pri { flex-shrink: 0; }
.jb-none { padding: 28px; text-align: center; font-size: 13px; color: var(--muted); }
/* List view */
.jb-tbl th button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.jb-tbl th button:hover { color: #fff; }
.jb-tbl td { vertical-align: middle; padding: 8px 12px; }
.jb-tr { cursor: pointer; } .jb-tr.flagged { background: rgba(251, 191, 36, 0.06); }
.jb-sum { min-width: 260px; }
.jb-st { width: auto; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; }
.jb-st.st-TODO { color: #d1d8e5; background: rgba(148, 172, 210, 0.14); } .jb-st.st-DOING, .jb-st.st-REVIEW { color: #b9d4ff; background: rgba(76, 154, 255, 0.18); } .jb-st.st-DONE { color: #a7f3d0; background: rgba(16, 185, 129, 0.18); }
/* the issue panel */
.jb-panel { width: min(960px, 100%); }
.jb-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px 4px; }
.jb-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); min-width: 0; }
.jb-crumb { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 600; } button.jb-crumb:hover { color: #fff; text-decoration: underline; } .jb-crumb.cur { color: #dfe4ec; }
.jb-flagbar { margin: 8px 22px 0; padding: 8px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: #fde68a; background: rgba(245, 158, 11, 0.13); border: 1px solid rgba(245, 158, 11, 0.35); }
.jb-pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; padding: 12px 22px 26px; }
.jb-lbl { font-size: 12px; font-weight: 700; color: #c3cad8; margin-bottom: 7px; }
.jb-prog { height: 6px; border-radius: 999px; background: rgba(148, 172, 210, 0.12); overflow: hidden; margin-bottom: 8px; } .jb-prog i { display: block; height: 100%; background: linear-gradient(90deg, #36b37e, #6ee7b7); border-radius: 999px; }
.jb-kidlist { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.jb-kid { display: flex; align-items: center; gap: 8px; padding: 6px 8px; } .jb-kid + .jb-kid { border-top: 1px solid var(--line); } .jb-kid:hover { background: rgba(255, 255, 255, 0.025); }
.jb-kid-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; font-size: 13px; color: #e5e9f0; text-align: left; } .jb-kid-t:hover span:last-child { text-decoration: underline; }
.jb-subadd { display: flex; gap: 6px; margin-top: 8px; } .jb-subadd input { flex: 1; }
.jb-acth { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jb-tabs { display: flex; gap: 2px; } .jb-tabs button { padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); } .jb-tabs button.on { color: #cfe1ff; background: rgba(76, 154, 255, 0.16); }
.jb-ev { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #aeb6c6; } .jb-ev b { color: #e5e9f0; font-weight: 600; } .jb-ev .dim { margin-left: auto; white-space: nowrap; font-size: 11.5px; }
.jb-side { display: grid; gap: 12px; align-content: start; }
.jb-status { justify-self: start; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 0; cursor: pointer; color-scheme: dark; }
.jb-status.st-TODO { color: #e5e9f0; background: rgba(148, 172, 210, 0.18); } .jb-status.st-DOING, .jb-status.st-REVIEW { color: #fff; background: #2563eb; } .jb-status.st-DONE { color: #052e1f; background: #6ee7b7; }
.jb-status option { background: #161922; color: #fff; }
.jb-details { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.jb-dh { padding: 9px 12px; font-size: 12.5px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.jb-f { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 12px; }
.jb-f + .jb-f { border-top: 1px solid rgba(148, 172, 210, 0.05); }
.jb-f > label { font-size: 12px; color: var(--muted); font-weight: 500; }
.jb-f .field-sm { width: 100%; }
.jb-stamps { font-size: 11.5px; color: var(--dim); line-height: 1.6; }
@media (max-width: 900px) { .jb-pgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .jb-search input, .jb-search input:focus { width: 100%; } .jb-search { flex: 1 1 100%; }
  .jb-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .jb-chip { flex-shrink: 0; }
  .jb-row { grid-auto-flow: column; } .jb-board { scroll-snap-type: x proximity; }
  .jb-colh, .jb-cell { scroll-snap-align: start; }
  .jb-ph, .jb-pgrid { padding-left: 14px; padding-right: 14px; } .jb-flagbar { margin-left: 14px; margin-right: 14px; }
  .tk-drawer-in.jb-panel { width: 100%; }
}
.jb-subadd.hidden { display: none; }

/* ---------------------------------------------------------------- the lead Preview: the rail folds; more on each lead (v2.95.0) */
.lp { transition: grid-template-columns .25s ease; }
.lp.shut { grid-template-columns: 52px minmax(0, 1fr); }
.lp-strip { display: none; }
.lp.shut .lp-rail > :not(.lp-strip) { display: none; }
.lp.shut .lp-strip { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; padding: 12px 0; color: var(--muted); }
.lp-strip:hover { color: #fff; background: rgba(255, 255, 255, 0.03); }
.lp-strip-ic { font-size: 18px; color: var(--brand-ink); }
.lp-strip-t { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.lp-strip b { font-size: 14px; color: #fff; } .lp-strip b small { font-size: 10px; color: var(--dim); display: block; text-align: center; }
.lp-fold { width: 24px; height: 24px; border-radius: 7px; color: var(--muted); font-size: 15px; border: 1px solid var(--line); } .lp-fold:hover { color: #fff; border-color: var(--line-2); }
.lp-item { padding: 10px 10px 9px; }
.lp-it { display: flex; align-items: center; gap: 8px; }
.lp-it .nm { display: block; } .lp-sb { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.lp-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 0 26px; font-size: 11.5px; color: #c3cad8; font-variant-numeric: tabular-nums; }
.lp-facts em { font-style: normal; color: var(--dim); } .lp-facts .ld-star { font-style: normal; margin-left: 1px; }
.lp-mail { margin-left: auto; color: #3c4352; } .lp-mail.on { color: #6ee7b7; }
.lp-stg { display: flex; align-items: center; gap: 8px; margin: 6px 0 0 26px; font-size: 11px; } .lp-stg .badge { font-size: 10px; padding: 1px 7px; }
@media (max-width: 1100px) { .lp.shut { grid-template-columns: minmax(0, 1fr); } .lp.shut .lp-strip { flex-direction: row; justify-content: center; padding: 10px; } .lp.shut .lp-strip-t { writing-mode: horizontal-tb; transform: none; } }

/* the report, shown: the headline gap, the race, the 90 days */
.shw { margin-bottom: 18px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 140, 70, 0.25);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 107, 26, 0.16), transparent 50%), radial-gradient(90% 120% at 100% 100%, rgba(45, 212, 167, 0.08), transparent 55%), #0d121c; }
.sc-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding: 22px 22px 18px; align-items: center; }
.sc-big > b { display: block; font-size: 64px; line-height: .95; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #ffb07a); -webkit-background-clip: text; background-clip: text; color: transparent; animation: sc-pop .6s cubic-bezier(.2, .8, .2, 1) both; }
.sc-big p { font-size: 16px; line-height: 1.45; color: #f1f3f7; margin-top: 8px; max-width: 520px; }
.sc-lead { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); } .sc-lead b { color: #fff; }
.sc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sc-t { padding: 12px; border-radius: 13px; background: rgba(7, 10, 16, 0.55); border: 1px solid var(--line); }
.sc-t span { font-size: 11px; color: var(--muted); } .sc-t b { display: block; font-size: 26px; font-weight: 700; color: #fff; margin-top: 2px; letter-spacing: -0.02em; } .sc-t b small { font-size: 12px; color: var(--dim); font-weight: 600; } .sc-t > small { font-size: 11px; color: var(--dim); }
.sc-t.g b { color: #ffd2b0; } .sc-t.s b { color: #ddd6fe; } .sc-t.l b { color: #fda4af; }
.sc-sec { padding: 16px 22px 20px; border-top: 1px solid var(--line); }
.sc-h { font-size: 13.5px; font-weight: 650; color: #fff; margin-bottom: 12px; } .sc-h span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.race { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 22px; }
.race-m { min-width: 0; }
.race-l { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; margin-bottom: 6px; } .race-l b { color: #fff; font-weight: 600; } .race-l span { color: var(--muted); font-size: 11.5px; }
.race-bars { display: grid; gap: 4px; }
.race-r { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 11.5px; }
.race-r span { color: var(--dim); } .race-r b { font-variant-numeric: tabular-nums; color: #e5e9f0; font-weight: 600; min-width: 46px; text-align: right; }
.race-r i { display: block; height: 9px; border-radius: 999px; transform-origin: left; animation: race-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.race-r.you i { background: linear-gradient(90deg, #ff8a3d, #ff6b1a); } .race-r.avg i { background: #5b6578; } .race-r.best i { background: linear-gradient(90deg, #2dd4a7, #34d399); }
.race-r.you b { color: #ffb07a; } .race-r.best b { color: #6ee7b7; }
.race-m:nth-child(2) i { animation-delay: .08s; } .race-m:nth-child(3) i { animation-delay: .16s; } .race-m:nth-child(4) i { animation-delay: .24s; } .race-m:nth-child(5) i { animation-delay: .32s; }
.race.light .race-l b, .race.light .race-r b { color: #1b2230; } .race.light .race-l span, .race.light .race-r span { color: #5d6678; } .race.light .race-r.avg i { background: #b8bec9; } .race.light .race-r.you b { color: #c2410c; } .race.light .race-r.best b { color: #0f766e; }
.race.light .race-r i { animation: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sc-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.sc-ph { position: relative; padding: 12px 14px; border-radius: 13px; background: rgba(7, 10, 16, 0.5); border: 1px solid var(--line); animation: fl-from .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 90ms); }
.sc-ph span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5eead4; } .sc-ph b { display: block; font-size: 14px; color: #fff; margin-top: 2px; }
.sc-ph ul { margin-top: 8px; padding-left: 16px; list-style: disc; font-size: 12.5px; color: #cbd2de; line-height: 1.5; } .sc-ph li + li { margin-top: 3px; }
@keyframes sc-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes race-in { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .sc-big b, .race-r i, .sc-ph { animation: none; } }
@media (max-width: 900px) { .sc-top { grid-template-columns: minmax(0, 1fr); } .sc-big > b { font-size: 48px; } .sc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-top, .sc-sec { padding-left: 16px; padding-right: 16px; } }

/* the email: three angles from the findings, and how it lands in their inbox */
.lp-angles { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: linear-gradient(180deg, rgba(76, 154, 255, 0.05), transparent 120px); }
.lp-ang-h b { display: block; font-size: 14px; color: #fff; } .lp-ang-h span { font-size: 12.5px; color: var(--muted); }
.lp-ang-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.lp-ang { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 13px; border-radius: 13px; text-align: left; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); transition: border-color .15s, transform .15s, background .15s; }
.lp-ang:hover { border-color: rgba(255, 140, 70, 0.5); transform: translateY(-2px); }
.lp-ang.on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 24px -14px rgba(255, 107, 26, 0.9); }
.lp-ang-ic { font-size: 18px; } .lp-ang b { font-size: 13.5px; color: #fff; } .lp-ang small { font-size: 11.5px; color: var(--muted); } .lp-ang em { font-style: normal; font-size: 12px; color: #dfe4ec; margin-top: 4px; line-height: 1.4; }
.lp-inbox { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 13px; background: #f8fafc; color: #1b2230; }
.lp-inbox-av { width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff7d33, #e8560c); }
.lp-inbox b { font-size: 13px; } .lp-inbox .flex span { font-size: 11px; color: #64748b; }
.lp-inbox-s { font-size: 13px; font-weight: 600; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-inbox-p { font-size: 12.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .jb-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .jb-bar > .jb-search, .jb-bar > .jb-quick, .jb-bar > .jb-faces { grid-column: 1 / -1; } .jb-search input { width: 100% !important; min-width: 0; } .jb-bar select.field-sm { width: 100%; } }
.jb { grid-template-columns: minmax(0, 1fr); } .jb > * { min-width: 0; }

/* ---------------------------------------------------------------- v2.97.0: tool history (history.js) */
.hx { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 90px), var(--card); }
.hx-h { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.hx-h h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.hx-h small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted, #8b93a7); line-height: 1.35; }
.hx-ks { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.hx-k { padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); min-width: 0; }
.hx-k span { display: block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #8b93a7); }
.hx-k b { display: block; margin-top: 3px; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-k b em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--muted, #8b93a7); }
.hx-k small { margin-top: 1px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-tg { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: #dfe4ee; font-size: 12.5px; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.hx-tg:hover { background: rgba(255, 255, 255, 0.06); }
.hx-tg i { font-style: normal; transition: transform .2s; }
.hx.open .hx-tg i { transform: rotate(180deg); }
.hx-list, .hx-empty { display: none; }
.hx.open .hx-list { display: block; max-height: 380px; overflow: auto; border-top: 1px solid var(--line); overscroll-behavior: contain; }
.hx.open .hx-empty { display: block; margin: 0; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted, #8b93a7); }
.hx-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.hx-t thead th { position: sticky; top: 0; z-index: 1; background: #10141c; text-align: left; font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #8b93a7); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.hx-t td { padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #c9d0dc; vertical-align: top; }
.hx-t tr:hover td { background: rgba(255, 255, 255, 0.02); }
.hx-t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-when b { display: block; color: #fff; font-weight: 600; white-space: nowrap; }
.hx-when small, .hx-sub { display: block; font-size: 11px; color: var(--muted, #8b93a7); white-space: nowrap; }
.hx-sub { white-space: normal; max-width: 320px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-sub.bad { color: #fca5a5; }
.hx-st { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.hx-st.bad { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }
.hx-st.run { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.hx-st.warn { background: rgba(251, 191, 36, 0.12); color: #fcd34d; }
.hx-skel { height: 64px; margin: 0 16px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.03)); background-size: 200% 100%; animation: hx-sh 1.2s infinite linear; }
@keyframes hx-sh { to { background-position: -200% 0; } }
@media (max-width: 900px) { .hx-h { grid-template-columns: minmax(0, 1fr); } .hx-tg { justify-self: start; } }
@media (max-width: 600px) { .hx-ks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hx-t { font-size: 12px; } .hx-t td, .hx-t thead th { padding: 7px 9px; } }

/* ---------------------------------------------------------------- v2.97.0: every content audit, by batch (admin.js auHistory) */
.aux { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 90px), var(--card); }
.aux-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.aux-h h2 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.aux-h small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted, #8b93a7); }
.aux-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted, #8b93a7); }
.aux-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 6px; vertical-align: 0; }
.aux-legend i.m, .aux-why.m::before { background: #a78bfa; } .aux-legend i.h, .aux-why.h::before { background: var(--brand, #f97316); }
.aux-list { max-height: 360px; overflow: auto; overscroll-behavior: contain; }
.aux-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.aux-t thead th { position: sticky; top: 0; z-index: 1; background: #10141c; text-align: left; font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #8b93a7); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.aux-t td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #c9d0dc; vertical-align: top; }
.aux-t tr.on td { background: rgba(249, 115, 22, 0.06); }
.aux-t tr:hover td { background: rgba(255, 255, 255, 0.02); }
.aux-t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aux-t .r { text-align: right; white-space: nowrap; }
.aux-when { display: block; color: #fff; font-weight: 600; white-space: nowrap; }
.aux-why { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--muted, #8b93a7); white-space: nowrap; }
.aux-why::before { content: ''; width: 7px; height: 7px; border-radius: 99px; }
.aux-sub { display: block; font-size: 11px; color: var(--muted, #8b93a7); }
.aux-vs { display: inline-flex; align-items: baseline; gap: 5px; } .aux-vs b { color: #fff; font-weight: 600; } .aux-vs b.up { color: #6ee7b7; } .aux-vs i { font-style: normal; font-size: 10.5px; color: var(--muted, #8b93a7); } .aux-vs span { color: #9aa3b5; }
.aux-head { min-width: 220px; max-width: 380px; line-height: 1.45; color: #dfe4ee; }
.aux-bad { color: #fca5a5; }
.aux-cur { font-size: 11.5px; color: var(--brand, #f97316); font-weight: 600; }
@media (max-width: 760px) { .aux-t { font-size: 12px; } .aux-head { min-width: 180px; } }

/* ---------------------------------------------------------------- v2.98.0: the boards (Work, Video production) and Pages */
.jb-boards { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.jb-boards button, .jb-pages { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: #aeb6c6; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.jb-boards button:hover, .jb-pages:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.jb-boards button.on { background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.35); color: #fff; }
.jb-pages { margin-left: auto; border-color: var(--line-2); }

.wk { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0; min-height: 70vh; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.wk-side { border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wk-sp { display: grid; gap: 4px; padding: 0 4px; } .wk-sp span { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #8b93a7); }
.wk-sidebtns { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 4px; }
.wk-home { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #c9d0dc; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wk-home.on, .wk-home:hover { color: #fff; }
.wk-tree { overflow: auto; max-height: calc(70vh - 110px); padding-right: 2px; }
.wk-tree ul { list-style: none; margin: 0; padding: 0; }
.wk-node { display: grid; grid-template-columns: 18px minmax(0, 1fr) 22px; align-items: center; gap: 2px; padding: 2px 4px 2px calc(4px + var(--d) * 14px); border-radius: 8px; }
.wk-node:hover { background: rgba(255, 255, 255, 0.04); } .wk-node.on { background: rgba(249, 115, 22, 0.1); }
.wk-node a { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 2px; color: #c9d0dc; font-size: 13px; } .wk-node.on a { color: #fff; font-weight: 600; }
.wk-tt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-tg, .wk-add { width: 18px; height: 18px; border: 0; border-radius: 5px; background: transparent; color: var(--muted, #8b93a7); cursor: pointer; font-size: 11px; line-height: 18px; padding: 0; transition: transform .15s, background .15s; }
.wk-tg.open { transform: rotate(90deg); } .wk-tg:hover, .wk-add:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.wk-add { opacity: 0; font-size: 14px; } .wk-node:hover .wk-add, .wk-add:focus { opacity: 1; }
.wk-none { padding: 6px 8px; font-size: 12.5px; color: var(--muted, #8b93a7); }
.wk-em { flex: none; width: 18px; text-align: center; }
.wk-main { min-width: 0; padding: 22px 28px 30px; }
.wk-hero small { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand, #f97316); font-weight: 700; }
.wk-hero h1, .wk-title h1 { margin: 4px 0 4px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.wk-hero p, .wk-title p { margin: 0; font-size: 13px; color: var(--muted, #8b93a7); }
.wk-sec { margin-top: 26px; } .wk-sec h3, .wk-kids h3, .wk-hist h3 { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted, #8b93a7); font-weight: 700; }
.wk-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.wk-tpl { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: #fff; text-align: left; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.wk-tpl:hover { transform: translateY(-1px); border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); } .wk-tpl span { font-size: 20px; } .wk-tpl b { font-size: 13.5px; } .wk-tpl.blank { border-style: dashed; }
.wk-recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.wk-rc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); color: #fff; } .wk-rc:hover { background: rgba(255, 255, 255, 0.03); }
.wk-rc b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wk-rc small { font-size: 11.5px; color: var(--muted, #8b93a7); }
.wk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted, #8b93a7); margin-bottom: 10px; } .wk-crumbs a { color: #aeb6c6; } .wk-crumbs a:hover { color: #fff; }
.wk-ph { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wk-title { display: flex; gap: 14px; min-width: 0; } .wk-bigem { font-size: 34px; line-height: 1; margin-top: 4px; }
.wk-old { color: #fcd34d; }
.wk-acts { display: flex; flex-wrap: wrap; gap: 6px; } .wk-acts .btn.on { border-color: var(--brand, #f97316); color: #fff; }
.wk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 18px; } .wk-grid.hist { grid-template-columns: minmax(0, 1fr) 260px; }
.wk-doc { max-width: 820px; font-size: 14.5px; line-height: 1.7; color: #dfe4ee; }
.wk-doc h2 { margin: 1.4em 0 .5em; font-size: 20px; color: #fff; font-weight: 750; letter-spacing: -0.01em; } .wk-doc h3 { margin: 1.2em 0 .4em; font-size: 16.5px; color: #fff; } .wk-doc h4 { margin: 1em 0 .3em; font-size: 14.5px; color: #fff; }
.wk-doc p { margin: .6em 0; } .wk-doc ul, .wk-doc ol { margin: .5em 0 .8em; padding-left: 1.4em; } .wk-doc ul { list-style: disc; } .wk-doc ol { list-style: decimal; } .wk-doc li { margin: .2em 0; }
.wk-doc code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font-size: .9em; }
.wk-doc blockquote { margin: .8em 0; padding: 8px 14px; border-left: 3px solid var(--brand, #f97316); background: rgba(249, 115, 22, 0.06); border-radius: 0 10px 10px 0; color: #e8ecf3; }
.wk-doc hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.wk-doc ul.wk-check { list-style: none; padding-left: .2em; } .wk-check li { display: flex; gap: 9px; align-items: baseline; }
.wk-check li i { flex: none; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid #6b7486; transform: translateY(2px); } .wk-check li.done i { background: #34d399; border-color: #34d399; } .wk-check li.done { color: var(--muted, #8b93a7); text-decoration: line-through; }
.wk-tw { overflow-x: auto; margin: .8em 0; } .wk-doc table { border-collapse: collapse; min-width: 60%; font-size: 13.5px; } .wk-doc th, .wk-doc td { border: 1px solid var(--line-2); padding: 6px 10px; text-align: left; } .wk-doc th { background: rgba(255, 255, 255, 0.04); color: #fff; }
.wk-empty { color: var(--muted, #8b93a7); font-style: italic; }
.wk-kids { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.wk-kids a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); color: #fff; font-size: 13.5px; } .wk-kids a:hover { background: rgba(255, 255, 255, 0.03); } .wk-kids small { margin-left: auto; color: var(--muted, #8b93a7); font-size: 11.5px; }
.wk-hist { border-left: 1px solid var(--line); padding-left: 16px; } .wk-hist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 60vh; overflow: auto; }
.wk-hist button { width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: #dfe4ee; cursor: pointer; } .wk-hist button:hover { background: rgba(255, 255, 255, 0.04); } .wk-hist li.on button { border-color: var(--brand, #f97316); background: rgba(249, 115, 22, 0.06); }
.wk-hist b { display: block; font-size: 12.5px; } .wk-hist small { font-size: 11.5px; color: var(--muted, #8b93a7); }
.wk-ed { display: grid; gap: 10px; } .wk-edh { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wk-emf { width: 56px !important; text-align: center; font-size: 20px; } .wk-tf { flex: 1 1 300px; font-size: 18px !important; font-weight: 700; }
.wk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.wk-tools button { height: 28px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: #c9d0dc; font-size: 12.5px; cursor: pointer; } .wk-tools button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.wk-hint { margin-left: auto; font-size: 11.5px; color: var(--muted, #8b93a7); padding-right: 6px; }
.wk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.wk-text { min-height: 58vh; font: 13.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; resize: vertical; }
.wk-prev { padding: 4px 6px; border-left: 1px solid var(--line); padding-left: 16px; max-height: 70vh; overflow: auto; }
@media (max-width: 1000px) { .wk-split { grid-template-columns: minmax(0, 1fr); } .wk-prev { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; } .wk-grid.hist { grid-template-columns: minmax(0, 1fr); } .wk-hist { border-left: 0; padding-left: 0; } }
@media (max-width: 760px) { .wk { grid-template-columns: minmax(0, 1fr); } .wk-side { border-right: 0; border-bottom: 1px solid var(--line); } .wk-tree { max-height: 220px; } .wk-main { padding: 16px; } .wk-hero h1, .wk-title h1 { font-size: 21px; } .jb-pages { margin-left: 0; } }

/* ---------------------------------------------------------------- v2.99.0: an audit's headline, 3 lines until opened */
.aux-hd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: 1.45; text-align: left; cursor: pointer; }
.aux-hd:hover { color: #fff; }
.aux-hd:not(.open)::after { content: ''; }
.aux-hd.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* v2.103.0: the FOMO report's local top section (the lead next to the busiest place near it) */
.rp-tbl tr.rp-vsh td { padding-top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a8f99; border-bottom: 0; }
.rp-tbl td.rp-dn { color: #b91c1c; font-weight: 600; } .rp-tbl td.rp-up { color: #15803d; font-weight: 600; }
.rp-vs:empty { display: none; }
#pt-vstop .lt, .lp-tab-box .lt { margin: 0; }
