/* RG-ADVISOR-READABILITY-20261104: semantic phone text and named field outlines; existing theme and Aa preferences remain in charge. */
html.nl-on { --crm-readable-line: #8793AA; }
html.nl-on[data-nl-theme="light"] { --crm-readable-line: #5E6C83; }
/* Match the existing template's :not(#_) specificity without changing other fields. */
html.nl-on :is(#crm-mal-name,.sa-tv-q,.tl-tv-q):not(#_) { border: 1px solid var(--crm-readable-line) !important; }
html.nl-on :is(.nl-search,.nl-searchbox,.aiq-search) { border: 1px solid var(--crm-readable-line) !important; }
html.nl-on :is(#crm-mal-name,.sa-tv-q,.tl-tv-q):focus-visible { outline: 2px solid var(--nl-gold-text); outline-offset: 2px; }
html.nl-on :is(.nl-search,.nl-searchbox,.aiq-search):focus-within { border-color: var(--nl-gold-text) !important; }
html.nl-on body .av[style]:not(#_) { background: var(--nl-gold-soft) !important; color: var(--nl-gold-text) !important; }
@media (max-width: 700px) {
  html.nl-on :is(.kpi-label,.kpi-sub,.kl,.pbr-val,.ls,.nll-age,.nll-ctry,.nll-next,.nll-bk-l,.nll-rr-m small,.tl-feed-name,.tl-feed-meta,.nl-age-row .nm,.nl-age-row .tt,.nl-old-i .d,.nl-lb-row .nl-rk) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on :is(.nl-chip span,.nl-tile-main .nl-t,.nl-stat small,.nlw-j-t small,.nlw-jbtn span,.nlw-time,.nlw-say,.nlw-lane p,.nlw-lane em,.nlw-n) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on :is(.sc .tr > div,.sc .tr > div > div,.sc .th > div,.sc .th > span,.rgpc-tbl td,.rgpc-tbl th,.nlw-c-next > div,.nlw-c-advisor,.rgmp-wrap td,.rgmp-wrap th) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on :is(.rgpc-mut,.rgpc-pill,.rgmp-sub,.rg-pc-card-l,.rg-pc-dash-l,.rgpc-g,.rgpc-btn,.ab,.fp,.fpill,.aiq-tab,.aiq-tab > span:not(.aiq-tab-n),.aiq-kv dt,.aiq-kv dd,.rgatt-f > span,.rgatt-tab,.crm-mal-f > label,.mc-ov p) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on :is(.sc .badge,.nlw-lane em) { font-size: 14px !important; line-height: 1.4 !important; min-height: 24px; height: auto; white-space: normal; }
  html.nl-on :is(.nll-av,.av) { font-size: 14px !important; }
  html.nl-on :is(.nll-tags,.rgpc-grp,.fbar,.fpills) { flex-wrap: wrap; }
  html.nl-on :is(.nl-tile-main,.nl-chip,.rgpc-btn,.ab,.fp,.fpill) { height: auto; min-height: 44px; }
  html.nl-on :is(.nl-tile-main .nl-t,.nl-chip span,.rgpc-btn,.ab,.fp,.fpill,.kpi-label,.kl,.tl-feed-meta,.ls) { overflow-wrap: anywhere; }
  html.nl-on .tl-cal-num { font-size: 14px !important; }
  html.nl-on .tl-cal-dow > div { font-size: 12px !important; }
  html.nl-on .tl-cal-ev { font-size: 12px !important; line-height: 1.4 !important; }
  html.nl-on :is(.fcount,.aiq-tab-n) { font-size: 12px !important; }
  html.nl-on body :is(#adv-sc-leads,#s-allleads) .tr > div[style],
  html.nl-on body :is(#adv-sc-leads,#s-allleads) .tr > div > div[style] { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on body #adv-due-rows > div[onclick] > div:first-child > div:nth-child(2),
  html.nl-on body #adv-recent-rows > div[onclick] > div:nth-child(2) > div:nth-child(2),
  html.nl-on body #adv-cmd-interviews > div > div > div:nth-child(2) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on body #rg-eod-tiles > div > div:first-child,
  html.nl-on body #rg-eod-asof, html.nl-on body #rg-eod-refresh,
  html.nl-on body #rg-eod-tiles span { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on :is(.rgpc-kpi > span,.rgatt-kpi > span,.nlw-time em,.nlw-st small,.aiq-on > span,.rg-pc-dash-s,.rg-pc-card-s,.rg-pc-chip,.nll-rk > span,.nll-rk .num,.rg-eod-msg,.card-sub,.nll-kpi-l,.lead360-meta > span,.aiq-sum .l,.rgmp-f > label,.nl-gh) { font-size: 14px !important; line-height: 1.45 !important; }
  html.nl-on .nl-gh small { font-size: 12px !important; }
  html.nl-on .crm-rap-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  html.nl-on .crm-rap-s { font-size: 14px !important; line-height: 1.45 !important; white-space: normal; overflow-wrap: anywhere; }
}
