@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2')}
/* Soft Parrot theme (30% less green): loaded last on every page. Bright parrot green with very dark green text, because white text on this green is hard to read. */
:root{--parrot:#7bc84f;--parrot-2:#97d06e;--on-parrot:#102006;--ink:#0a1a04;--ink-soft:#1f3315;--line:#6f8a60;--bg:#e2f2d8;--panel:#fff;--accent:#1f5c06;--accent-dark:#174a04;--accent-2:#7bc84f;--accent-soft:#e9f5e0;--navy:#0a1a04;--brand:#7bc84f;--primary:#7bc84f}
body{background:var(--bg);color:var(--ink)}
.topbar,.sb-brand{background:linear-gradient(100deg,var(--parrot),var(--parrot-2))!important;color:var(--on-parrot)}
.topbar .brand,.topbar .brand span,.topbar .who,.topbar .who span,.topbar .brand-lockup .bt b,.topbar .brand-lockup .bt small{color:var(--on-parrot)}
.topbar a.btn-link,.topbar a.btn-link:hover{color:var(--on-parrot);border-color:var(--on-parrot);background:rgba(255,255,255,.28)}
.topbar a.btn-link:hover{background:rgba(255,255,255,.5)}
.bal-chip[class="bal-chip"],.bal-chip[class="bal-chip "],.bal-chip[class="bal-chip"] b,.bal-chip[class="bal-chip "] b{color:var(--on-parrot);border-color:var(--on-parrot)}.bal-chip[class="bal-chip"],.bal-chip[class="bal-chip "]{background:rgba(255,255,255,.34)}
.menu-btn{background:var(--on-parrot)!important;color:#fff!important}
.sidebar,.sb-user{background:#fff;border-color:var(--line)}
.sb-link.active{background:#e3f2d7;color:#1f5c06;font-weight:600}
.sb-grp>summary:hover{background:var(--accent-soft)}
button:not(.btn-secondary):not(.btn-danger):not(.tab):not(.chip):not(.cl-chip):not(.menu-btn):not(.btn-good):not(.btn-bad):not(.modal-x):not([class*="ghost"]),.btn:not(.btn-secondary):not(.btn-danger):not([class*="ghost"]),.btn-dl{background:var(--parrot);border-color:var(--parrot);color:var(--on-parrot)}
button:not(.btn-secondary):not(.btn-danger):not(.tab):not(.chip):not(.cl-chip):not(.menu-btn):not(.btn-good):not(.btn-bad):not(.modal-x):not([class*="ghost"]):hover,.btn:not(.btn-secondary):not(.btn-danger):not([class*="ghost"]):hover,.btn-dl:hover{background:var(--parrot-2);color:var(--on-parrot);filter:none}
.dd-link.active,.acct-tab.active,.acct-row.tools .acct-tab.active{background:var(--parrot);color:var(--on-parrot)}
.actions-row.hero{color:var(--on-parrot)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1f5c06;outline-offset:2px}
.mon-nav a.on,a.on[class="on"]{background:var(--parrot)!important;color:var(--on-parrot)!important}
#ar-btn{color:var(--on-parrot)!important}
.um-danger{color:#fff!important}
/* Readable in sunlight and for weak eyes: one font, heavier and larger small text, firm borders */
.help-text{display:none!important}
:root{--font-body:'Plus Jakarta Sans',Arial,sans-serif;--font-head:'Plus Jakarta Sans',Arial,sans-serif}
html body,body *:not(svg):not(path):not(code):not(pre){font-family:'Plus Jakarta Sans',Arial,sans-serif!important}
body{font-size:15.5px;font-weight:500;background:var(--bg)!important;color:var(--ink)}
h1,h2,h3{color:var(--ink);font-weight:800}
.subtitle,.muted,small,.hint{color:var(--ink-soft)!important;font-weight:500}
th{color:var(--ink)!important;font-weight:700;text-transform:none;letter-spacing:0;font-size:13.5px}td{font-size:14px;font-weight:500}
label{color:var(--ink);font-weight:600;font-size:14px}.stat .lbl,.lc-card span,.lbl{color:var(--ink-soft)!important;font-weight:700;font-size:13px;letter-spacing:0}
.badge{font-size:13px;font-weight:700}small{font-size:13px}
input,select,textarea,.btn-secondary,button.btn-secondary{border-color:var(--line)!important}input::placeholder,textarea::placeholder{color:#3c5230;opacity:1}
input,select,textarea{color:var(--ink);font-weight:500;background-color:#fff}
.card,.stat,.lc-card{background:#fff;border:1px solid var(--line)}
.sb-link,.sb-grp>summary{color:var(--ink);font-size:14px;font-weight:600}.sb-grp>summary{font-weight:700}.sb-user{color:var(--ink)}.sb-user span{color:var(--ink-soft)}.sb-link.active{color:#174a04;font-weight:700}
.sidebar,.sb-user,.sb-foot{border-color:var(--line)}
a{color:#174a04}.tab{color:var(--ink-soft);font-weight:600}.tab.active,.tab.on{color:#174a04;border-color:#174a04;font-weight:700}.tabs{border-color:var(--line)}
td,th,table{border-color:#b7cfa6}
.bal-chip.out,.bal-chip.crit,.bal-chip.critical,.bal-chip.bad,.bal-chip.err,.bal-chip.unknown,.bal-chip.na{background:#8b1c12!important;border-color:#8b1c12!important;color:#fff!important}.bal-chip.out b,.bal-chip.crit b,.bal-chip.critical b,.bal-chip.bad b,.bal-chip.err b,.bal-chip.unknown b,.bal-chip.na b{color:#fff!important}
:root{--good:#0a4a35}
p.sub,.tn-note,.tn-perm small,label small{display:none!important}
.brand-lockup .bt small{color:var(--on-parrot)!important}
.dd-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:14px}.dd-filters label,.dd-l{display:flex;flex-direction:column;gap:4px;margin:0;font-weight:700;font-size:13.5px;min-width:130px;flex:0 1 165px}.dd-filters select,.dd-filters input,.dd-l select{margin:0;width:100%;min-height:40px}.dd-sub{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:0}.dd-sub button{min-height:40px}.nav-actions .dd-l{min-width:160px}.cl-bar{align-items:flex-end}
@media(max-width:640px){.dd-filters label{flex:1 1 calc(50% - 6px);min-width:0}.dd-sub{width:100%}.dd-sub label{flex:1 1 calc(50% - 6px)}}
/* ===== Smooth layout: one calm rhythm on every page. Colors stay the same; only spacing, borders, type and tables change. ===== */
:root{--line-soft:#d2e2c7;--tint:#f2f7ee;--r-card:14px;--r-ctl:9px;--ctl-h:40px}
.wrap{max-width:1480px}
/* page title row */
.actions-row,.page-head{align-items:center;gap:12px;margin:2px 0 18px}
h1{font-size:24px;line-height:1.25;letter-spacing:-.01em;margin:0}
h2{font-size:17px;line-height:1.3;margin:0 0 14px}
h3{font-size:15px;margin:0 0 10px}
.subtitle{font-size:14px;margin:4px 0 0}
/* cards: soft border, one radius, one padding, even gaps; no frame inside a frame */
.card{border:1px solid var(--line-soft)!important;border-radius:var(--r-card)!important;box-shadow:0 1px 2px rgba(10,26,4,.05)!important;padding:20px 22px!important;margin:0 0 16px!important}
.card.tight{padding:16px 18px!important}
.card .card{box-shadow:none!important}
.card-head{margin-bottom:14px}
.card .table-scroll,.card .calls-wrap,.card .cl-wrap{border:1px solid var(--line-soft)!important;border-radius:11px!important;box-shadow:none!important}
/* form controls: same height, radius and focus everywhere */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select{min-height:var(--ctl-h);border-radius:var(--r-ctl)!important;padding:8px 12px;font-size:14.5px;border:1px solid var(--line)!important}
textarea{border-radius:var(--r-ctl)!important;padding:10px 12px;font-size:14.5px}
input:focus,select:focus,textarea:focus{border-color:#1f5c06!important;box-shadow:0 0 0 3px rgba(123,200,79,.30)!important;outline:none}
label{margin-bottom:5px}
.btn,button,.btn-secondary,a.btn{min-height:var(--ctl-h);border-radius:var(--r-ctl)!important;padding:8px 16px;font-size:14.5px;font-weight:700;line-height:1.2;vertical-align:middle}
a.btn,a.btn-secondary{display:inline-flex;align-items:center;justify-content:center}
[hidden]{display:none!important}
.btn-secondary,button.btn-secondary,a.btn-secondary{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.btn-secondary:hover{background:var(--tint)!important}
.btn-row,.nav-actions{gap:10px;align-items:center}
.modal-x,.chip,.cl-chip,.tab,.menu-btn,.dash-tab{min-height:0}
/* tables: calm header, even rows, numbers line up, soft row lines */
table{border-collapse:separate;border-spacing:0;width:100%}
th,.calls-t th,table.cl-t th,.calls-t thead th{background:var(--tint)!important;color:var(--ink)!important;font-size:13px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;padding:10px 12px!important;border-bottom:1px solid var(--line-soft)!important;white-space:nowrap;text-align:left}
td,.calls-t td,table.cl-t td{padding:10px 12px!important;font-size:14px!important;border-bottom:1px solid #e6eee0!important;vertical-align:middle;font-variant-numeric:tabular-nums}
tbody tr:last-child td{border-bottom:0!important}
tbody tr:hover td{background:#f7faf4!important}
thead th:first-child{border-top-left-radius:10px}thead th:last-child{border-top-right-radius:10px}
.empty{padding:22px;text-align:center;color:var(--ink-soft)}
/* status pills: one size */
.badge,.st,.pill,[class^="st-"],[class*=" st-"]{border-radius:999px;font-size:12.5px!important;font-weight:700;padding:3px 10px;line-height:1.5;white-space:nowrap}
/* number tiles: compact, sentence case, numbers aligned */
.mini-grid{gap:12px!important;margin-bottom:16px!important}
.mini,.stat,.lc-card,.kpi{border-top:1px solid var(--line-soft)!important;border-right:1px solid var(--line-soft)!important;border-bottom:1px solid var(--line-soft)!important;border-radius:12px!important;box-shadow:none!important;padding:12px 16px!important}
.stat,.lc-card,.kpi{border-left:1px solid var(--line-soft)!important}
.mini-l,.stat .lbl,.kpi-l,.fin-h,.rows-head,.tot-strip span,.dt-sec h3,.lbl{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important;color:var(--ink-soft)!important}
.mini-v,.stat .num,.kpi-v{font-size:22px!important;font-weight:800!important;font-variant-numeric:tabular-nums;color:var(--ink)!important;line-height:1.25}
.stat-row{gap:12px}
/* totals strip above a table: one even row, no orphan boxes */
.tot-strip{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));row-gap:2px!important;column-gap:0!important;padding:4px 0;border:1px solid var(--line-soft)!important;border-radius:12px!important;background:#fff!important;margin:0 0 14px!important}
.tot-strip>div{padding:8px 16px!important;border:0!important;background:transparent!important}
.tot-strip b{font-size:17px!important;font-weight:800!important;font-variant-numeric:tabular-nums}
/* filters: one row of equal dropdowns */
.dd-filters{gap:12px!important;margin-bottom:16px!important}
.dd-filters label,.dd-l{font-size:13px!important;font-weight:700!important;flex:0 1 170px!important}
.filter-bar{gap:10px;align-items:flex-end}
/* side menu: tidy spacing */
.sb-link{border-radius:9px;padding:8px 12px;margin:1px 8px}
.sb-grp>summary{padding:10px 14px;text-transform:none!important;letter-spacing:0!important;font-size:14px!important}
/* flash messages */
.flash{border-radius:11px!important;padding:12px 16px!important;margin:0 0 16px!important;font-weight:600}
/* tabs row (Main dashboard / Leads / Live calls) */
.dash-tabs{gap:10px;margin-bottom:18px}
/* phone */
@media(max-width:760px){
  .card{padding:16px!important;border-radius:12px!important}
  h1{font-size:21px}
  .actions-row,.page-head{flex-wrap:wrap}
  .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tot-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .btn,button{min-height:42px}
}
/* form grids: boxes line up even when a label wraps */
.fgrid{align-items:end;row-gap:16px!important}
.fgrid>label{display:flex;flex-direction:column;justify-content:flex-end;gap:5px;margin:0;height:100%}
.fgrid>label>input,.fgrid>label>select,.fgrid>label>textarea{margin:0}
/* phone: table rows become cards (labels set by app.js), no sideways scrolling */
@media(max-width:760px){
  .table-scroll:has(table.rt),.calls-wrap:has(table.rt),.cl-wrap:has(table.rt),*:has(> table.rt){overflow:visible!important;border:0!important;background:transparent!important;border-radius:0!important}
  table.rt,table.rt tbody{display:block;width:100%!important;min-width:0!important;border:0!important}
  table.rt thead{display:none}
  table.rt tr{display:block;background:#fff;border:1px solid var(--line-soft);border-radius:12px;margin:0 0 10px;padding:4px 0}
  table.rt tbody tr:hover td{background:transparent!important}
  table.rt td{display:flex;justify-content:space-between;align-items:center;gap:14px;border:0!important;border-bottom:1px solid #eef3ea!important;padding:8px 14px!important;text-align:right;min-height:40px;white-space:normal;word-break:break-word}
  table.rt td:last-child{border-bottom:0!important}
  table.rt td::before{content:attr(data-label);flex:0 0 auto;max-width:48%;text-align:left;font-size:13px;font-weight:700;color:var(--ink-soft)}
  table.rt td[data-label=""]{justify-content:flex-start;text-align:left}
  table.rt td[data-label=""]::before{display:none}
  table.rt td.rt-wide{display:block;text-align:center}
  table.rt td{width:auto!important;max-width:none!important;min-width:0!important;position:static!important}
  table.rt td.rt-none{display:none!important}
  #lc-root.show-co table.rt .col-co{display:flex}
  table.rt td>.rt-v{display:block;min-width:0;text-align:right}
  table.rt td[data-label=""]>.rt-v{text-align:left}
  table.rt td>.rt-v>*{max-width:100%}
  table.rt td input,table.rt td select{max-width:60%}
}
/* call log and live calls: slim rows, details open under the row */
.calls-t.lc-slim{min-width:0!important;width:100%;table-layout:auto}
.lc-slim td .sub{display:block;font-size:12.5px;color:var(--ink-soft);margin-top:2px;font-weight:500;white-space:nowrap}
.lc-slim .lc-main{font-weight:600}
.lc-row{cursor:pointer}
.lc-row.open td{background:var(--tint)!important;border-bottom-color:transparent!important}
.lc-xh,.lc-xc{width:40px;padding-right:0!important}
.lc-x{min-height:0!important;width:28px;height:28px;padding:0!important;border-radius:8px!important;background:#fff!important;border:1px solid var(--line-soft)!important;color:var(--ink)!important;position:relative;cursor:pointer}
.lc-x::before{content:'';position:absolute;left:50%;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translate(-65%,-50%) rotate(-45deg);transition:transform .15s}
.lc-row.open .lc-x::before{transform:translate(-50%,-70%) rotate(45deg)}
.lc-ph{background:none!important;border:0!important;padding:0!important;min-height:0!important;color:#174a04!important;font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lc-d>td{background:var(--tint)!important;padding:2px 18px 18px 54px!important;border-bottom:1px solid var(--line-soft)!important;cursor:default}
.lc-d:hover>td{background:var(--tint)!important}
.lc-dg{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px 22px;padding:10px 0 4px}
.lc-di>span:first-child{display:block;font-size:12.5px;font-weight:600;color:var(--ink-soft);margin-bottom:3px}
.lc-di b{font-weight:600;word-break:break-word}
.lc-di select{min-height:34px!important;padding:4px 8px!important;max-width:200px}
.lc-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.btn-secondary.sm,a.btn-secondary.sm{min-height:34px!important;padding:6px 12px!important;font-size:13.5px;text-decoration:none}
.lc-bill{background:none!important;padding:0!important;font-weight:700!important;border-radius:0!important}
@media(max-width:760px){
  table.rt td.lc-xc{display:none!important}
  table.rt tr.lc-d{border-top-left-radius:0;border-top-right-radius:0;margin-top:-12px;border-top:0}
  .lc-d>td{padding:6px 14px 14px!important;text-align:left!important}
  .lc-dg{grid-template-columns:1fr 1fr}
  .lc-row.open{border-bottom-left-radius:0;border-bottom-right-radius:0}
}
@media(max-width:760px){
  .dd-filters{gap:10px!important}
  .dd-filters label,.dd-filters .dd-l{flex:1 1 calc(50% - 5px)!important;min-width:0!important}
  .tot-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tot-strip>div{padding:7px 10px!important}
  .tot-strip span{font-size:12px!important;white-space:normal!important;line-height:1.25}
  .tot-strip b{font-size:15px!important}
}
/* Ringba-style call rows: one line per call; the whole row scrolls together */
.lc-slim th,.lc-slim td{white-space:nowrap;padding:9px 10px!important;font-size:13.5px!important}
.lc-slim td.lc-t{font-weight:600}
.lc-slim thead th.lc-t{background:var(--tint)!important;padding-left:48px!important}
#live-t.lc-slim thead th.lc-t{padding-left:10px!important}
.lc-slim td.lc-t .lc-x{margin-right:10px;vertical-align:middle}
.lc-row.open td.lc-t{background:var(--tint)!important}
.lc-slim .st{font-size:12px!important;padding:2px 9px}
.lc-play{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:#174a04;font-weight:700;font-size:12.5px;text-decoration:none}
.lc-play:hover{background:#d6ecc6}
.lc-dw{white-space:normal}
.lc-d>td{padding:4px 18px 18px!important}
@media(max-width:900px){.lc-dw{width:calc(100vw - 72px)}}
@media(max-width:760px){
  .lc-x{width:26px;height:26px}
  .lc-slim td.lc-t .lc-x{margin-right:8px}
  .lc-slim thead th.lc-t{padding-left:44px!important}
  .lc-d>td{padding:4px 10px 14px!important}
  .lc-dg{grid-template-columns:1fr 1fr;gap:12px 14px}
}
/* ===== Compact, Ringba-like sizing across the system (readable, not tiny) ===== */
body{font-size:14.5px!important}
h1{font-size:22px!important}
h2{font-size:16px!important;margin-bottom:12px}
h3{font-size:14.5px!important}
.subtitle{font-size:13.5px}
label{font-size:13px!important}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea{font-size:14px!important;min-height:38px}
.btn,button,.btn-secondary,a.btn{font-size:14px;min-height:38px;padding:7px 14px}
.sb-link,.sb-grp>summary{font-size:13.5px!important}
.sb-link{padding:7px 12px}
.card{padding:18px 20px!important}
.mini-v,.stat .num,.kpi-v{font-size:20px!important}
.tot-strip b{font-size:16px!important}
.badge,.st,.pill,[class^="st-"],[class*=" st-"]{font-size:12px!important;padding:2px 9px}
/* tables: one line per row, compact, first column stays fixed while the rest scrolls */
.table-scroll,.calls-wrap,.cl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
th,td,.calls-t th,.calls-t td,table.cl-t th,table.cl-t td{font-size:13.5px!important;padding:9px 10px!important}
th{font-size:12.5px!important}
.table-scroll th,.table-scroll td,.calls-wrap th,.calls-wrap td,.cl-wrap th,.cl-wrap td{white-space:nowrap}
.table-scroll td.empty,.calls-wrap td.empty,.table-scroll td[colspan],.calls-wrap td[colspan]{white-space:normal}
tbody tr:hover td:first-child{background:#f7faf4!important}
@media(max-width:760px){
  body{font-size:14px!important}
  h1{font-size:20px!important}
  th,td,.calls-t th,.calls-t td{font-size:13px!important;padding:8px 9px!important}
  .card{padding:14px!important}
}
@media(max-width:760px){
  .card input[type=text],.card input[type=email],.card input[type=number],.card input[type=password],.card input[type=search],.card input[type=tel],.card input[type=url],.card input[type=date],.card select,.card textarea{width:100%;max-width:100%;flex:1 1 100%}
  .card .dd-filters input,.card .dd-filters select,.card .fgrid input,.card .fgrid select{flex:initial}
  .card td input,.card td select{width:auto;flex:initial}
  .card form>.btn,.card form>button{flex:0 0 auto}
}
/* no fixed first column: the whole row scrolls together */
.table-scroll td:first-child,.table-scroll th:first-child,.calls-wrap td:first-child,.calls-wrap th:first-child,.cl-wrap td:first-child,.cl-wrap th:first-child,.calls-t td:first-child,.calls-t th:first-child,.lc-slim td.lc-t,.lc-slim th.lc-t,.calls-t.lc-slim td:first-child,.calls-t.lc-slim th:first-child,.calls-t th.c-act,.calls-t td.c-act{position:static!important;box-shadow:none!important}
.lc-row.open td{background:var(--tint)!important}
.lc-dw{position:static!important;width:min(1100px,calc(100vw - 330px))}
@media(max-width:900px){.lc-dw{width:calc(100vw - 72px)}}
/* buy numbers: search fields in a grid, one assign bar, clean result rows */
.bn-search,.bn-assign{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px 14px;align-items:end;margin:4px 0 16px}
.bn-search label,.bn-assign label{display:flex;flex-direction:column;gap:5px;margin:0}
.bn-search input,.bn-search select,.bn-assign select{width:100%;margin:0}
.bn-go button{width:100%}
.bn-assign{background:var(--tint);border:1px solid var(--line-soft);border-radius:12px;padding:14px;margin:6px 0 12px}
.bn-t .bn-c{width:44px;text-align:center}
.bn-t input[type=checkbox]{width:18px;height:18px;accent-color:#3d7a1f}
@media(max-width:760px){.bn-search{grid-template-columns:1fr 1fr}.bn-assign{grid-template-columns:1fr}}
.bn-assign{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
