/* One look for every Densify screen (Efi 2026-11-09). Loaded last on each page, so it decides.
   To change the font: swap the name in --font and in the fonts.googleapis.com link at the top of each page. Nothing here changes what the app does. */

:root {
  --font: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* the Enrichment, Home and UCC screens */
  --bg:#0E1014; --card:#15181E; --raised:#1C2027; --field:#111419;
  --line:rgba(255,255,255,.075); --line2:rgba(255,255,255,.13);
  --ink:#EEF0F4; --dim:#A7AFBC; --faint:#7E8795; --fg:#A7AFBC;
  --accent:#3B76C4; --accent-hi:#5A93DE; --accent-soft:rgba(59,118,196,.16);
  --bar-fill:#3B76C4;
  --r-sm:6px; --r:8px; --r-lg:10px;

  /* the CRM screen's names for the same things */
  --paper:#0E1014; --panel:#121519; --ink-soft:#A7AFBC; --ink-faint:#7E8795;
  --line-soft:rgba(255,255,255,.055);
  --accent-ink:#8DB8EE; --blue:#8DB8EE; --blue-soft:rgba(59,118,196,.16);
  --sans: var(--font);
}

html { color-scheme:dark; }
body { font-family:var(--font); font-size:14px; font-variant-numeric:tabular-nums; }
button, input, select, textarea { font-family:inherit; }

/* Ordinary sentence-case labels, not tiny spaced-out capitals */
* { text-transform:none !important; letter-spacing:normal !important; }
.shead, .nrlabel, .subhead, th, .sech .t, .mainh .t, .fghead { font-size:13px; font-weight:500; color:var(--dim); }

h1, .pagehead h1 { font-size:22px; font-weight:600; }
.sname, .tile .big, .score .sc b, .viewtitle, .dhead2 .nm, .mbox h2 { font-weight:600; }
button { font-weight:500; }

.btn-run:disabled { background:var(--raised); color:var(--faint); }

/* The menu on the UCC page, matching the Enrichment page's */
.shell { display:flex; min-height:100vh; }
.rail { width:208px; flex:none; background:#0B0D10; border-right:1px solid var(--line); padding:14px 10px; display:flex; flex-direction:column; gap:2px; }
.rail .brand { display:flex; align-items:center; gap:9px; padding:4px 8px 16px; font-weight:600; font-size:15px; color:var(--ink); }
.rail .brand i { width:24px; height:24px; border-radius:6px; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-style:normal; font-size:13px; }
.rail a { display:flex; align-items:center; gap:10px; padding:8px; border-radius:var(--r-sm); color:var(--dim); font-size:14px; text-decoration:none; }
.rail a:hover { background:var(--raised); color:var(--ink); text-decoration:none; }
.rail a.on { background:var(--accent-soft); color:var(--ink); }
.rail svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.shell .wrap { flex:1; min-width:0; }
.rail .rcollapse { margin-top:8px; padding-top:12px; border-top:1px solid var(--line); border-radius:0; }
@media (min-width:721px) {
  .rail { transition:width .16s ease; overflow:hidden; white-space:nowrap; }
  .rail.collapsed { width:56px; }
  .rail.collapsed .slabel { display:none; }
  .rail.collapsed .rcollapse svg { transform:rotate(180deg); }
}
@media (max-width:720px) {
  .rail .rcollapse { display:none; }
  .shell { flex-direction:column; min-height:0; }
  .rail { width:auto; flex-direction:row; flex-wrap:wrap; border-right:0; border-bottom:1px solid var(--line); padding:8px 16px; }
  .rail .brand { display:none; }
}

/* The logo and initials badges: one solid color, no purple fade */
.slogo, .mono-badge { background:var(--accent) !important; }

/* ------ The phone app (Efi 2026-11-09). Everything below is phones only; a computer never reads it. ------ */
:root { --safe-t:env(safe-area-inset-top,0px); --safe-b:env(safe-area-inset-bottom,0px);
  --safe-l:env(safe-area-inset-left,0px); --safe-r:env(safe-area-inset-right,0px); --tabh:calc(58px + var(--safe-b)); }
#tabbar, #moresheet { display:none; }
#netbar { position:fixed; top:calc(8px + var(--safe-t)); left:50%; transform:translateX(-50%); z-index:60; white-space:nowrap;
  padding:7px 14px; border-radius:20px; background:#3a2f12; color:#F2C879; border:1px solid rgba(242,200,121,.3); font-size:13px; }
#netbar[hidden] { display:none; }
#phoneHead, #phoneTabs, #mPick { display:none; }

@media (max-width:720px), (pointer:coarse) and (max-height:500px) {
  @view-transition { navigation:auto; }
  html, body { overscroll-behavior:none; -webkit-text-size-adjust:100%; }
  * { -webkit-tap-highlight-color:transparent; }
  button, a, select, input, label { touch-action:manipulation; }

  /* Comfortable to tap, and typing never zooms the page */
  button, .btn, select, input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea { min-height:44px; }
  select, input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.pw), textarea { font-size:16px !important; }
  input[type=checkbox] { width:22px; height:22px; }
  button:active, a:active, .btn:active { opacity:.72; }

  /* The one menu along the bottom */
  #side, .rail, .homeout { display:none !important; }
  #tabbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:15; height:var(--tabh); padding:0 var(--safe-r) var(--safe-b) var(--safe-l);
    background:#0B0D10; border-top:1px solid var(--line); view-transition-name:tabbar; -webkit-touch-callout:none; user-select:none; }
  #tabbar a { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    color:var(--faint); font-size:11px; text-decoration:none; }
  #tabbar a.on { color:var(--accent-hi); }
  #tabbar svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
  #moresheet { display:flex; position:fixed; inset:0 0 var(--tabh) 0; z-index:14; background:rgba(0,0,0,.5); align-items:flex-end; }
  #moresheet[hidden] { display:none; }
  #moresheet .box { width:100%; background:var(--card); border-top:1px solid var(--line2); border-radius:14px 14px 0 0; padding:8px 12px; }
  #moresheet button { display:block; width:100%; min-height:52px; background:none; border:0; color:var(--ink); font:inherit; font-size:16px; text-align:left; padding:0 8px; }
  #moresheet button[hidden] { display:none; }
  #moresheet button + button:not([hidden]) { border-top:1px solid var(--line); }

  /* Each screen fills the phone, clear of the notch and the home bar */
  .layout { height:100vh; height:100dvh; padding:var(--safe-t) var(--safe-r) var(--tabh) var(--safe-l); box-sizing:border-box; }
  #main { overscroll-behavior:contain; }
  body.homepage { min-height:100vh; min-height:100dvh; padding:calc(24px + var(--safe-t)) calc(16px + var(--safe-r)) calc(var(--tabh) + 24px) calc(16px + var(--safe-l)); }
  .shell { display:block; }
  .shell .wrap { padding:calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(var(--tabh) + 24px) calc(16px + var(--safe-l)); }
  .veil, .lpop-bg { padding-top:calc(16px + var(--safe-t)); padding-bottom:calc(16px + var(--safe-b)); }
  .dlg, .lpop { max-height:calc(100dvh - 32px - var(--safe-t) - var(--safe-b)); overflow:auto; }

  #netbar { top:auto; bottom:calc(var(--tabh) + 10px); }

  /* Enrichment */
  .popup, .newrun .popwrap .popup { position:fixed; left:calc(12px + var(--safe-l)); right:calc(12px + var(--safe-r)); top:auto; bottom:calc(var(--tabh) + 8px);
    width:auto; max-width:none; max-height:calc(100dvh - var(--tabh) - var(--safe-t) - 24px); overflow:auto; z-index:16; }
  #runcard th { height:44px; }
  /* The leads in a run: the whole company name on its own line, never cut short */
  #runcard thead, #runcard tbody { display:block; }
  #runcard thead tr { display:flex; justify-content:space-between; }
  #runcard thead th { width:auto !important; }
  #runcard thead th:nth-child(2), #runcard thead th:nth-child(4), #runcard thead th:nth-child(5) { display:none; }
  #runcard tr.lead { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
  #runcard tr.lead td { padding:0; border:0; }
  #runcard tr.lead td:nth-child(1) { display:block; grid-column:1 / -1; margin-bottom:6px; }
  /* columns: company · UCC party · outcome · why · revenue · pre-approval; a phone card shows company, outcome, pre-approval */
  #runcard tr.lead td:nth-child(3), #runcard tr.lead td:nth-child(6) { display:block; }
  #runcard tr.lead td:nth-child(2), #runcard tr.lead td:nth-child(4), #runcard tr.lead td:nth-child(5) { display:none; }
  #runcard .lname { white-space:normal; overflow:visible; overflow-wrap:anywhere; }
  /* A lead's card: its badges and the close button sit under the name, not over it */
  .lpop.detail h3 > span[style*="float"] { float:none !important; display:flex; align-items:center; gap:8px; margin-top:6px; }
  .lpop.detail h3 > span[style*="float"] > span:last-child { margin-left:auto; min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .back { display:inline-block; padding:12px 12px 12px 0; }
  .ricons a { min-width:44px; min-height:44px; justify-content:center; }

  /* UCC */
  .calgrid button { min-height:44px; }
  .calnav button { min-width:44px; }
  .chip button { min-height:32px; min-width:32px; }
  .fbtn, .fx { min-height:44px; }
  #dlgcount, #count { min-height:44px; }

  /* The CRM, drawn for a phone: its own header, quick tabs, leads as a list */
  #phoneHead { display:block; padding:14px 14px 6px; flex:none; }
  .ph-top { display:flex; align-items:center; gap:8px; }
  .ph-title { flex:1; min-width:0; }
  .ph-title b { display:block; font-size:24px; font-weight:600; color:var(--ink); line-height:1.15; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .ph-title span { display:block; margin-top:2px; font-size:13px; color:var(--ink-faint); }
  .ph-sort { position:relative; flex:none; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; color:var(--dim); background:var(--raised); }
  .ph-sort select { position:absolute; inset:0; width:100%; height:100%; opacity:0; border:0; }
  .ph-export { flex:none; height:44px; padding:0 18px; border-radius:22px; background:var(--accent); color:#fff; font-size:15px; font-weight:600; }
  .topbar { height:auto; padding:6px 14px 4px; border:0; }
  .searchwrap { flex:1; width:auto; min-width:0; }
  #search { height:44px; border-radius:22px; }
  .top-actions, #btnCols, .viewtitle, .lead-count, .addfilter, .savebtns { display:none !important; }
  #phoneTabs { display:flex; align-items:center; gap:8px; flex:none; padding:6px 14px 10px; overflow-x:auto; scrollbar-width:none; }
  #phoneTabs::-webkit-scrollbar { display:none; }
  #phoneTabs button { flex:none; min-height:36px; height:36px; padding:0 14px; border-radius:18px; background:var(--raised); color:var(--dim); font-size:14px; white-space:nowrap; }
  #phoneTabs button.on { background:var(--accent); color:#fff; }
  #phoneTabs .ph-sep { flex:none; width:1px; height:22px; background:var(--line2); }
  .filterbar { min-height:0; padding:0 14px 8px; border:0; }
  .filterbar:not(:has(.chip)) { display:none; }
  .chip { height:36px; max-width:100%; }
  .clearall { min-height:36px; }

  .tablewrap { overscroll-behavior:contain; border-top:1px solid var(--line); }
  .tablewrap table { width:100%; table-layout:fixed; }
  .tablewrap thead { display:none; }
  .tablewrap tbody td { height:auto; padding:13px 0 13px 14px; white-space:normal; max-width:none; }
  .tablewrap tbody td.pill-cell { width:134px; padding:13px 14px 13px 8px; text-align:right; }
  .tablewrap tbody td.pill-cell .pill, .tablewrap tbody td.pill-cell .tier { white-space:nowrap; }
  .tablewrap tbody td .company { display:block; font-size:16px; font-weight:500; color:var(--ink); overflow-wrap:anywhere; }
  .tablewrap tbody td .cardsub { display:block; margin-top:3px; font-size:13px; color:var(--ink-faint); overflow-wrap:anywhere; }
  #statShowing, #statMode, #statSelected { display:none; }
  .statusbar { flex-wrap:wrap; height:auto; min-height:0; padding:0 14px; border:0; }
  .statusbar span:not(:empty) { padding:4px 0; }

  /* Filter slides up from the bottom */
  .pop { position:fixed; left:0 !important; right:0; top:auto !important; bottom:0; width:auto; min-width:0 !important; max-height:78%; padding:10px 10px 14px;
    border:0; border-top:1px solid var(--line2); border-radius:16px 16px 0 0; box-shadow:0 0 0 100vmax rgba(0,0,0,.55); }
  .pop button, .pop label { min-height:44px; }

  /* Export is its own simple screen */
  #modal { background:var(--paper); -webkit-backdrop-filter:none; backdrop-filter:none; place-items:stretch; }
  #modal .mbox { position:absolute; inset:0; width:auto; max-height:none; border:0; border-radius:0; box-shadow:none; animation:none; }
  #modal .mbody { min-height:0; }
  #modal .mhead { padding:18px 16px 0; }
  #modal .mhead h2 { font-size:24px; font-weight:600; }
  #modal .msub, #modal .mtabs { display:none; }
  #modal .mbody { padding:34px 16px 16px; }
  #modal .mrowset { flex-direction:column; flex-wrap:nowrap; gap:0; margin-bottom:30px; position:relative; background:var(--field); border:1px solid var(--line); border-radius:12px; }
  #modal #scopes::before { content:"Which leads"; position:absolute; top:-24px; left:2px; font-size:14px; font-weight:500; color:var(--dim); }
  #modal #shapes::before { content:"Contact"; position:absolute; top:-24px; left:2px; font-size:14px; font-weight:500; color:var(--dim); }
  #modal #shapes .scope:first-child { display:none; }
  #modal #shapes .scope .d { display:block; margin:3px 0 0; }
  #modal .scope { flex:none; min-width:0; min-height:54px; border:0; border-radius:0; background:none; padding:12px 14px; align-items:center; flex-direction:row-reverse; justify-content:space-between; gap:14px; }
  #modal .scope + .scope { border-top:1px solid var(--line-soft); }
  #modal .scope br { display:none; }
  #modal .scope .t { font-size:15px; font-weight:500; }
  #modal .scope .d { display:inline; font-size:13px; margin-left:8px; }
  #modal input[type=radio] { width:22px; height:22px; margin:0; flex:none; }
  #modal .mtools { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:8px; margin:0 0 12px; }
  #modal .mtools .sep { display:none; }
  #modal .mtools > span:first-child { grid-column:1; grid-row:1; font-size:14px; font-weight:500 !important; color:var(--dim); }
  #fieldCount { grid-column:2; grid-row:1; white-space:nowrap; font-size:13px !important; }
  #modal .reveal { animation:none; }
  #mPick { display:block; grid-column:3; grid-row:1; justify-self:end; white-space:nowrap; }
  #modal .mtools button { min-height:36px; padding:0 12px; font-size:14px; }
  #modal .mtools [data-fs] { grid-row:2; background:var(--raised); border-radius:18px; color:var(--dim); }
  #modal .fieldgroups { display:none; }
  #modal .mbox.pick .fieldgroups { display:block; }
  #modal .fieldgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #modal .fieldgrid label { font-size:14px; min-height:40px; padding:4px 2px; }
  #modal .fghead { font-size:14px; padding:12px 2px 2px; }
  #modal .mfoot { flex-wrap:wrap; padding:10px 16px 12px; border-radius:0; }
  #modal .mfoot .info { flex:1 1 100%; text-align:center; font-size:13px; }
  #modal #mCancel { flex:1; margin-left:0; justify-content:center; }
  #modal #mGo { flex:2; margin-left:0; justify-content:center; }

  /* A lead slides in and fills the screen, with a real back button */
  .dscrim { display:none; }
  .detail, .detail.full { top:0; left:0; width:100%; height:100%; border:0; border-radius:0; opacity:1; visibility:hidden; transform:translateX(100%);
    transition:transform .24s cubic-bezier(.2,.9,.3,1), visibility 0s .24s; }
  .detail.open { opacity:1; visibility:visible; transform:none; transition:transform .24s cubic-bezier(.2,.9,.3,1); }
  .crumb, #dGrow, #dExport { display:none !important; }
  .dtop { height:auto; min-height:52px; padding:0 10px 0 6px; }
  .dtop .acts { width:100%; margin:0; }
  #dBack { order:-1; margin-right:auto; width:auto; height:44px; padding:0 8px; background:none; }
  #dBack svg { display:none; }
  #dBack::before { content:"\2039\00a0 Leads"; font-size:17px; color:var(--accent-hi); }
  .iconbtn { width:44px; height:44px; }
  .dtabs { padding:0 8px; gap:0; }
  .dtabs button { flex:1; min-width:0; padding:10px 2px; }

  /* ---- One clean look for every phone screen (Efi 2026-11-10): one background, no boxes in boxes,
     three text sizes (big title 26, normal 16, small 13), one filled button per screen, everything else plain words. ---- */
  body { font-size:16px; }
  .card, .shell .wrap .card { background:none; border:0; border-radius:0; padding:0; box-shadow:none; }
  .shell .wrap .card { margin-bottom:30px; }
  .wrap { gap:30px; padding:16px 16px 28px; }
  h1, .pagehead h1 { font-size:26px; font-weight:600; margin:0 0 4px; }
  .card h2, .rhead h2, .secthead h2, .shead { font-size:17px; font-weight:600; color:var(--ink); }
  .dim, .faint, .runitem .s, .tile .sub, .lcity, .why, .rmeta { font-size:13px; }

  /* Plain words instead of outlined buttons; the filled one is the one thing the screen is for */
  .btn-up, .fbtn, .ghostbtn, .newrun .btn-up { background:none; border:0; padding:0; min-height:44px; color:var(--accent-hi); font-size:15px; font-weight:500; border-radius:0; }
  .fbtn.on, .fbtn:hover, .btn-up:hover { background:none; color:var(--accent-hi); }
  .btn-run, .newrun .btn-run, button.go { min-height:50px; border-radius:12px; font-size:16px; font-weight:600; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]):not(.pw), select, textarea, .spick > button, .spick { border-color:transparent; border-radius:10px; }
  .acts-top, .shell .row { gap:10px; }

  /* Home: two plain rows */
  body.homepage { justify-content:flex-start; align-items:stretch; padding-top:calc(20px + var(--safe-t)); }
  body.homepage .brand { font-size:26px; font-weight:600; margin:0 0 18px; }
  body.homepage .logo { display:none; }
  body.homepage .icons { grid-template-columns:minmax(0,1fr); gap:0; }
  body.homepage a.icon { flex-direction:row; justify-content:flex-start; gap:14px; padding:18px 0; font-size:17px; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; }
  body.homepage a.icon::after { content:"\203A"; margin-left:auto; color:var(--faint); font-size:24px; line-height:1; }
  body.homepage .glyph { width:26px; height:26px; background:none; border-radius:0; }
  body.homepage .glyph svg { width:26px; height:26px; stroke:var(--dim); }

  /* Enrichment: numbers without boxes or bars */
  .tiles { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 18px; }
  .tile { background:none; border:0; padding:0; border-radius:0; }
  .tile .lbl { font-size:13px; font-weight:400; color:var(--dim); }
  .tile .big { font-size:26px; font-weight:600; margin-top:2px; }
  .tile .bar, .tile .meter { display:none; }
  #bigcard, #bigcard.card { padding:0; }
  .newrun { padding:0; gap:4px 18px; }
  .newrun > label, .newrun > span:first-child, .newrun .nrlabel { flex:1 1 100%; font-size:17px; font-weight:600; color:var(--ink); }
  .newrun .spick { flex:1 1 100%; max-width:none; margin-top:8px; }
  .newrun .btn-run { flex:1 1 100%; margin:6px 0 0; }
  #srbtn, .ricons .rdel, .rlhead { display:none; }
  .runitem { display:grid; grid-template-columns:minmax(0,1fr) auto auto; column-gap:12px; padding:14px 0; margin:0; background:none !important; }
  .runitem > div:nth-child(2) { grid-column:1 / -1; }
  #runs:not(.selecting) .runitem > div:nth-child(2), #runs:not(.selecting) .runitem > .rbar, #runs:not(.selecting) .runitem > .rdash { margin-left:0; }
  .runitem > .rsel, .runitem > :first-child:empty { display:none; }
  .runitem .t { font-size:16px; font-weight:500; white-space:normal; overflow:visible; overflow-wrap:anywhere; }
  .runitem .rbar .track { display:none; }
  .runitem > .rbar, .runitem > .rdash { grid-column:1; }
  .runitem > .ricons { grid-column:3; }
  .runitem > div:nth-child(n+4):not(.rbar):not(.ricons), .runitem > span:nth-child(n+4):not(.rdash):not(.ricons) { display:none; }
  .rbar .pct { font-size:13px; font-weight:400; color:var(--dim); min-width:0; text-align:left; }
  .rbar .pct::after { content:" verified"; }

  /* A run: rows of label and number */
  .score, #brk .score { grid-template-columns:minmax(0,1fr); gap:0; margin-top:6px; }
  .score .sc { display:flex; flex-direction:row-reverse; justify-content:space-between; align-items:baseline; gap:14px; padding:13px 0; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; }
  .score .sc b { flex:none; font-size:17px; font-weight:600; }
  .score .sc span { font-size:15px; color:var(--dim); min-width:0; }
  .score .sc.bad span { color:var(--red); }
  .progress { height:3px; border-radius:0; }
  #runcard .chip, #dpop .chip { background:none; padding:0; border-radius:0; font-size:13px; }
  #runcard tr.lead { padding:13px 0; }
  .tiers { display:flex; gap:0; flex-wrap:nowrap; margin:14px 0 6px; border-bottom:1px solid var(--line); }
  .tchip { flex:1; min-width:0; min-height:44px; height:44px; padding:0; background:none; border:0; border-radius:0; color:var(--faint); font-size:14px; white-space:nowrap; }
  .tchip.on { background:none; color:var(--ink); box-shadow:inset 0 -2px 0 var(--accent-hi); }
  .tchip b { font-weight:400; font-size:12px; color:var(--faint); margin-left:2px; }
  .tchip .chip { background:none; padding:0; color:inherit; font-size:14px; display:inline-block; }
  .tchip .chip::before { display:none; }
  .tchip .chip::first-letter { text-transform:uppercase; }
  .tiles-sm { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #runcard .lname { font-size:16px; font-weight:500; }
  .pills { gap:8px; }

  /* UCC: a plain list */
  .item { flex-wrap:nowrap; padding:14px 0; }
  .item .acts button { background:none; border:0; padding:0; color:var(--accent-hi); font-size:15px; font-weight:500; }
  .shell .row { flex-direction:column; align-items:stretch; }
  .acts-top { flex-direction:column-reverse; gap:0; }
  .acts-top button.go, .menuwrap > button.go { width:100%; }
  .acts-top > button:not(.go) { background:none; border:0; color:var(--accent-hi); }
  .note { border-radius:10px; }

  .lcard { background:none; border-radius:0; padding:14px 0; margin-top:0; border-bottom:1px solid var(--line); }
  .lcard .acts { margin-top:4px; gap:18px; align-items:center; }
  .lcard .acts button, .lcard .acts a.btn { background:none; border:0; padding:0; min-height:44px; color:var(--accent-hi); font-size:15px; font-weight:500; display:inline-flex; align-items:center; }
  .lcard .acts button.trash { color:var(--dim); margin-left:auto; min-width:44px; justify-content:center; }

  /* CRM: flat header, words for tabs, one line of detail on each lead */
  #phoneHead { padding:14px 16px 8px; }
  .ph-title b { font-size:26px; }
  .ph-icon { flex:none; width:40px; height:44px; min-height:44px; display:grid; place-items:center; color:var(--dim); background:none; border-radius:0; position:relative; }
  .ph-sort { width:40px; background:none; }
  .ph-export { height:44px; padding:0 0 0 8px; background:none; color:var(--accent-hi); font-size:16px; font-weight:500; border-radius:0; }
  .topbar { padding:4px 16px 6px; }
  #search { height:44px; border:0; border-radius:10px; box-shadow:none !important; }
  #phoneTabs { gap:0; padding:0 8px; overflow:visible; border-bottom:1px solid var(--line); }
  #phoneTabs button { flex:1; min-height:44px; height:44px; padding:0; background:none; border-radius:0; color:var(--faint); font-size:15px; }
  #phoneTabs button.on { background:none; color:var(--ink); box-shadow:inset 0 -2px 0 var(--accent-hi); }
  .filterbar { padding:8px 16px 0; }
  .tablewrap { border-top:0; }
  .tablewrap tbody td { padding:14px 16px; }
  .tablewrap tbody tr:hover td, .tablewrap tbody tr.sel td { background:none; }
  .tablewrap tbody td .cardrest { color:var(--ink-faint); }
  .tablewrap .pill, .tablewrap .tier, .dhead2 .pill, .dhead2 .tier { background:none; padding:0; height:auto; border-radius:0; font-size:13px; font-weight:400; }

  /* A lead */
  .mono-badge { display:none; }
  .dhead2 { padding:14px 16px 12px; }
  .dhead2 .nm { font-size:22px; font-weight:600; }
  .dhead2 .loc { font-size:14px; }
  .dempty { border:0; border-radius:0; padding:12px 0; text-align:left; }
  .ghostbtn { height:44px; }
  #dBack::before { font-size:17px; }

  /* Export */
  #modal .mrowset { background:none; border:0; border-radius:0; }
  #modal .scope { padding:13px 0; }
  #modal #scopes::before, #modal #shapes::before { left:0; font-size:17px; font-weight:600; color:var(--ink); top:-28px; }
  #modal .mbody { padding-top:40px; }
  #modal .mrowset { margin-bottom:42px; }
  #modal .mtools > span:first-child { font-size:17px; font-weight:600 !important; color:var(--ink); }
  #modal .mtools [data-fs] { background:none; border-radius:0; color:var(--accent-hi); }
  #modal .fghead { font-size:15px; }
  #modal .mfoot { border-top:1px solid var(--line); }
  #modal #mCancel { flex:0 0 auto; border:0; background:none; padding:0 12px; }
  #modal #mGo { flex:1; height:50px; border-radius:12px; font-size:16px; }
}
@media (prefers-reduced-motion:reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation:none !important; }
}

/* Computers too: moving between pages fades instead of blanking out (Efi 2026-11-10) */
@view-transition { navigation:auto; }
@media (min-width:721px) { ::view-transition-old(root), ::view-transition-new(root) { animation-duration:.22s; } }
