/* ==========================================================================
   Retention Engine 2 — the new interface (2.0.0 onwards).

   Loaded after style.css on every page. It does three things:
     1. the font, served from this server (no outside link)
     2. the shell — top bar and sidebar — drawn as on the design canvas
     3. the parts redesigned pages are built from, all prefixed "u-" so they
        can never change a page that has not been redesigned yet

   Pages move to the u- parts one phase at a time. When the last one has moved
   (2.4.1), style.css is cut down to what is still used and the two merge.
   ========================================================================== */

@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/pjs-400.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/pjs-500.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/pjs-600.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/pjs-700.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/pjs-800.woff2) format('woff2')}

:root{
  /* the canvas palette */
  --u-ink:#16201B; --u-muted:#5B6660; --u-faint:#6A756F; --u-line:#E3E7E4; --u-line-2:#D5DBD7; --u-row:#EEF1EF;
  --u-bg:#F6F7F5; --u-card:#FFFFFF; --u-brand:#15803D; --u-brand-ink:#0F5C2C; --u-tint:#E7F5EC;
  --u-ok-bg:#E7F5EC; --u-ok:#0F5C2C; --u-warn-bg:#FEF3C7; --u-warn:#8A4B08; --u-bad-bg:#FEE4E2; --u-bad:#912018;
  --u-info-bg:#E0EAFF; --u-info:#1E3A8A; --u-neutral-bg:#EDF0EE; --u-neutral:#3D4843;
  --u-dot-ok:#16A34A; --u-dot-warn:#D97706; --u-dot-bad:#DC2626; --u-dot-info:#2563EB;
  /* the shell follows the canvas: a quiet grey page, a white sidebar */
  --bg:#F6F7F5; --sidebar:#FFFFFF; --header-h:64px;
}
body{background:var(--u-bg)}

/* ------------------------------------------------------------ shell ------ */
.topbar{height:64px;padding:0 24px;gap:20px}
.topbar .logo{min-width:200px}
.logo-mark{width:34px;height:34px;font-size:18px}
.search{flex:1 1 auto;width:auto;max-width:480px;height:40px}
.topbar-right{gap:10px}
.topbar-right .pill{font-size:12px;padding:6px 10px}
.topbar-right .btn-sm{height:36px;padding:0 14px;border-radius:9px}
.u-topicon{width:36px;height:36px;border-radius:9px;border:1px solid var(--u-line-2);display:inline-grid;place-items:center;
  color:var(--u-ink);background:#fff;position:relative;flex:0 0 36px}
.u-topicon:hover{background:#F1F5F3;text-decoration:none}
.u-topicon .u-bell-dot{position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--u-dot-bad)}
.u-avatar{width:36px;height:36px;border-radius:50%;background:var(--u-brand);color:#fff !important;display:inline-grid;place-items:center;
  font-size:14px;font-weight:700;flex:0 0 36px}
.u-avatar:hover{text-decoration:none;filter:brightness(1.05)}

.sidebar{background:#fff;padding:14px 12px}
.nav-group{font-size:11px;font-weight:800;color:var(--u-faint);text-transform:uppercase;letter-spacing:.07em;padding:14px 12px 5px}
.nav-more > summary.nav-group{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px}
.nav-more > summary.nav-group::-webkit-details-marker{display:none}
.nav-more > summary.nav-group::after{content:"›";font-size:14px;transition:transform .15s}
.nav-more[open] > summary.nav-group::after{transform:rotate(90deg)}
.nav-item{gap:12px;padding:8px 12px;font-size:14px;font-weight:600;color:#2E3A34}
.nav-item.is-active{background:var(--u-tint);color:var(--u-brand-ink)}
.nav-more .nav-item{font-size:13px;font-weight:500;padding:6px 12px}
.badge{font-size:11px;font-weight:800;padding:2px 8px}
.badge-bad{background:var(--u-bad-bg);color:var(--u-bad)}
.badge-warn{background:var(--u-warn-bg);color:var(--u-warn)}
.badge-info{background:var(--u-info-bg);color:var(--u-info)}
.content{padding:26px 30px 60px;gap:18px}

@media (max-width: 900px){
  .topbar{padding:0 12px;gap:10px}
  .topbar .logo{min-width:0}
  .topbar-right .u-hide-phone{display:none}
  .content{padding:16px 14px 48px;gap:16px}
}
@media (max-width: 1180px) and (min-width: 901px){
  .topbar-right .u-hide-mid{display:none}
}

/* ------------------------------------------------------------ parts ------ */
.u-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.u-head-text{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 420px}
.u-head h1{margin:0;font-size:27px;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere}
.u-head p{margin:0;font-size:14px;color:var(--u-muted);line-height:1.5;max-width:860px}
.u-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.u-crumb{font-size:13px;font-weight:700}

.u-seg{display:inline-flex;padding:4px;background:var(--u-neutral-bg);border-radius:10px;gap:2px;max-width:100%;overflow-x:auto}
.u-seg a,.u-seg button{border:0;font:inherit;font-size:13px;font-weight:700;padding:8px 14px;border-radius:8px;color:var(--u-muted);
  background:transparent;white-space:nowrap;cursor:pointer}
.u-seg a:hover{text-decoration:none;color:var(--u-ink)}
.u-seg .is-on{background:#fff;color:var(--u-ink);box-shadow:0 1px 2px rgba(0,0,0,.1)}

.u-grid{display:grid;gap:14px}
.u-g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.u-g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.u-g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.u-two{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}
.u-two-21{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;align-items:start}
.u-col{display:flex;flex-direction:column;gap:18px;min-width:0}
.u-stack{display:flex;flex-direction:column;gap:10px;min-width:0}
.u-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

.u-card{background:var(--u-card);border:1px solid var(--u-line);border-radius:16px;padding:20px;display:flex;flex-direction:column;
  gap:14px;min-width:0}
.u-card-tight{padding:16px}
.u-card-flush{padding:0;overflow:hidden}
.u-card-flush > .u-card-head{padding:16px 20px 0}
.u-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.u-card-title{display:flex;flex-direction:column;gap:3px;min-width:0}
.u-card-title b{font-size:16px}
.u-card-title span{font-size:13px;color:var(--u-muted);line-height:1.45}
.u-card-right{display:flex;gap:8px;align-items:center;flex-shrink:0}
.u-card.is-ok{background:#F2FAF5;border-color:#C8E6D2}
.u-card.is-warn{background:#FFFBEB;border-color:#F5D896}
.u-card.is-bad{background:#FFF5F4;border-color:#F5C9C4}
.u-card.is-best{border:1.5px solid var(--u-brand)}
.u-h2{margin:4px 0 0;font-size:18px;font-weight:800}

.u-kpis{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.u-kpi{background:#fff;border:1px solid var(--u-line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:5px;min-width:0}
.u-kpi-label{font-size:12px;font-weight:600;color:var(--u-muted)}
.u-kpi-value{font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--u-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.u-kpi-value.is-ok{color:var(--u-ok)} .u-kpi-value.is-bad{color:var(--u-bad)} .u-kpi-value.is-warn{color:var(--u-warn)}
.u-kpi-sub{font-size:12px;color:var(--u-muted);line-height:1.4}
.u-kpis-flat{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.u-kpis-flat > div{padding:0 18px;border-left:1px solid var(--u-row);display:flex;flex-direction:column;gap:4px;min-width:0}
.u-kpis-flat > div:first-child{padding-left:0;border-left:0}

.u-pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;padding:3px 9px;border-radius:999px;white-space:nowrap;
  background:var(--u-neutral-bg);color:var(--u-neutral)}
.u-pill.is-ok{background:var(--u-ok-bg);color:var(--u-ok)} .u-pill.is-warn{background:var(--u-warn-bg);color:var(--u-warn)}
.u-pill.is-bad{background:var(--u-bad-bg);color:var(--u-bad)} .u-pill.is-info{background:var(--u-info-bg);color:var(--u-info)}
.u-pill.is-best{background:var(--u-brand);color:#fff}
.u-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0;background:#9AA59F}
.u-dot.is-ok{background:var(--u-dot-ok)} .u-dot.is-warn{background:var(--u-dot-warn)} .u-dot.is-bad{background:var(--u-dot-bad)} .u-dot.is-info{background:var(--u-dot-info)}

.u-muted{color:var(--u-muted);font-size:12px;line-height:1.45}
.u-money-ok{color:var(--u-ok);font-size:12px;font-weight:700;line-height:1.45}
.u-money-bad{color:var(--u-bad);font-size:12px;font-weight:700;line-height:1.45}
.u-money-warn{color:var(--u-warn);font-size:12px;font-weight:700;line-height:1.45}

.u-need{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--u-line);border-radius:12px;background:#fff;color:var(--u-ink)}
a.u-need:hover{text-decoration:none;border-color:var(--u-line-2);background:#FAFBFA}
.u-need-text{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0}
.u-need-text b{font-size:13.5px}
.u-need-text small{font-size:12px;color:var(--u-muted);line-height:1.45}
.u-need-go{font-size:13px;font-weight:700;color:var(--u-brand);white-space:nowrap}

.u-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;border:1px solid var(--u-line);border-radius:12px;overflow:hidden;background:#fff}
.u-table th{background:#FAFBFA;color:var(--u-muted);font-size:12px;font-weight:700;text-align:left;padding:10px 14px;border-bottom:1px solid var(--u-line);white-space:nowrap}
.u-table td{padding:10px 14px;border-top:0;border-bottom:1px solid var(--u-row);vertical-align:middle;min-width:0}
.u-table tr:last-child td{border-bottom:0}
.u-table .num{text-align:right;font-variant-numeric:tabular-nums}
.u-table tr.is-total td{background:#FAFBFA;font-weight:800}
.u-table-wrap{overflow-x:auto;max-width:100%}
.u-name{display:flex;flex-direction:column;gap:2px;min-width:0}
.u-name a,.u-name b{font-weight:700}
.u-name small{font-size:12px;color:var(--u-muted)}

.u-score{display:flex;align-items:center;gap:16px}
.u-ring{--p:0;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;flex:0 0 92px;
  background:conic-gradient(var(--u-brand) calc(var(--p)*1%), var(--u-tint) 0)}
.u-ring span{width:70px;height:70px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px;font-weight:800}
.u-checks{display:flex;flex-direction:column}
.u-check{display:flex;align-items:center;gap:10px;font-size:13px;padding:6px 0;border-bottom:1px solid var(--u-row);color:var(--u-ink)}
a.u-check:hover{text-decoration:none;color:var(--u-brand-ink)}
.u-check:last-child{border-bottom:0}
.u-check i{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;font-style:normal;flex:0 0 18px}
.u-check i.is-ok{background:var(--u-ok-bg);color:var(--u-ok)} .u-check i.is-bad{background:var(--u-bad-bg);color:var(--u-bad)}
.u-check span{flex:1 1 auto}
.u-check b{color:var(--u-muted);font-weight:700}

.u-bet-n{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.u-bet-top{display:flex;align-items:center;gap:8px}
.u-bet-top b{flex:1 1 auto;font-size:14px}
.u-bet-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.u-bar{height:8px;background:var(--u-neutral-bg);border-radius:999px;overflow:hidden}
.u-bar i{display:block;height:100%;background:var(--u-brand);border-radius:999px}
.u-bar.is-bad i{background:var(--u-dot-bad)} .u-bar.is-warn i{background:var(--u-dot-warn)}

.u-health{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.u-health li{display:flex;gap:10px;align-items:flex-start}
.u-health li .u-dot{margin-top:6px}
.u-health-text{flex:1 1 auto;display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px}
.u-health-text span{font-size:12px;color:var(--u-muted);line-height:1.45}
.u-kv{display:flex;justify-content:space-between;gap:12px;font-size:13px;align-items:center}
.u-kv span{color:var(--u-muted)}

.u-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:28px 16px;color:var(--u-muted)}
.u-empty b{color:var(--u-ink);font-size:15px}

.u-perms{display:grid;grid-template-columns:minmax(0,2fr) repeat(4,minmax(64px,90px));font-size:13px;border:1px solid var(--u-line);border-radius:12px;overflow:hidden}
.u-perms > span{padding:9px 12px;border-bottom:1px solid var(--u-row);display:flex;align-items:center}
.u-perms > span.h{background:#FAFBFA;color:var(--u-muted);font-size:12px;font-weight:700}
.u-perms > span.c{justify-content:center}
.u-perms .y{color:var(--u-ok);font-weight:800}
.u-perms .n{color:#A3ADA7}

/* sign-in page */
.u-login{min-height:100vh;display:flex;background:var(--u-bg);font-family:var(--font);color:var(--u-ink)}
.u-login-main{flex:1 1 auto;display:flex;align-items:center;justify-content:center;padding:24px 16px}
.u-login-card{width:100%;max-width:400px;background:#fff;border:1px solid var(--u-line);border-radius:20px;padding:36px;display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.u-login-brand{display:flex;align-items:center;gap:12px}
.u-login-brand .logo-mark,.u-login-brand img{width:44px;height:44px;border-radius:12px;font-size:22px}
.u-login-brand img{object-fit:contain}
.u-login-card h1{margin:0;font-size:24px}
.u-field{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}
.u-field > label,.u-field > .u-label{font-weight:700}
.u-field small{font-size:12px;color:var(--u-muted);line-height:1.45}
.u-field input{height:40px;border-radius:10px;border:1px solid var(--u-line-2);width:100%}
.u-login-side{width:520px;flex:0 0 520px;background:var(--u-brand);color:#fff;padding:60px;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;box-sizing:border-box}
.u-login-side b{font-size:30px;line-height:1.2}
.u-login-side span{font-size:15px;opacity:.9;line-height:1.6}
.u-btn-block{width:100%;height:44px}
.u-flash{padding:10px 14px;border-radius:10px;font-size:13px;font-weight:600;background:var(--u-bad-bg);color:var(--u-bad)}
.u-flash.ok{background:var(--u-ok-bg);color:var(--u-ok)}

@media (max-width: 1100px){
  .u-two,.u-two-21{grid-template-columns:minmax(0,1fr)}
  .u-g4,.u-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .u-kpis-flat{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  .u-kpis-flat > div:nth-child(3){padding-left:0;border-left:0}
  .u-login-side{display:none}
}
@media (max-width: 640px){
  .u-g2,.u-g3,.u-g4{grid-template-columns:minmax(0,1fr)}
  .u-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .u-kpi{padding:12px}
  .u-kpi-value{font-size:20px}
  .u-head h1{font-size:23px}
  .u-card{padding:16px}
  .u-kpis-flat{grid-template-columns:minmax(0,1fr)}
  .u-kpis-flat > div{padding-left:0;border-left:0}
  .u-login-card{padding:24px}
  .u-perms{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(44px,1fr));font-size:12px}
  .u-need{flex-wrap:wrap;align-items:flex-start;row-gap:6px}
  .u-need .u-dot{margin-top:6px}
  .u-need-text{flex:1 1 calc(100% - 24px)}
  .u-need-go{margin-left:20px}
  /* thumbs, not cursors: every button in a page is 44px tall on a phone */
  .content .btn,.content .u-seg a,.u-login .btn{height:auto;min-height:44px}
  .u-seg{width:100%}
  .u-seg a{flex:1 1 auto;text-align:center;display:inline-flex;align-items:center;justify-content:center}
}

/* ------------------------------------------------------------ 2.0.1 ------ */
.u-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:600;border:1px solid}
.u-banner > span{flex:1 1 auto;line-height:1.45}
.u-banner.is-bad{background:#FFF5F4;border-color:#F5C9C4;color:var(--u-bad)}
.u-banner.is-warn{background:#FFFBEB;border-color:#F5D896;color:var(--u-warn)}
.u-banner.is-info{background:#F3F6FF;border-color:#C9D6F7;color:var(--u-info)}
.u-banner.is-ok{background:#F2FAF5;border-color:#C8E6D2;color:var(--u-ok)}
.u-tile{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--u-line);border-radius:16px;padding:18px;color:var(--u-ink);min-height:92px;min-width:0}
.u-tile:hover{text-decoration:none;border-color:var(--u-line-2);box-shadow:var(--shadow-sm)}
.u-tile-icon{width:40px;height:40px;border-radius:12px;background:var(--u-tint);color:var(--u-brand-ink);display:grid;place-items:center;flex:0 0 40px}
.u-tile-text{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0}
.u-tile-text b{font-size:15px}
.u-tile-text small{font-size:13px;color:var(--u-muted);line-height:1.45}
@media (max-width: 1100px){ .u-g3{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width: 640px){
  .u-g3{grid-template-columns:minmax(0,1fr)}
  .u-banner{flex-wrap:wrap}
  .u-tile{flex-wrap:wrap}
}
.u-only-phone{display:none}
.u-mlist{display:flex;flex-direction:column}
.u-mitem{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-bottom:1px solid var(--u-row)}
.u-mitem:last-child{border-bottom:0}
.u-mlist.u-only-phone{display:none}            /* 2.1.3: the phone list stays hidden on a computer */
@media (max-width: 640px){
  .u-only-desk{display:none}
  .u-only-phone,.u-mlist.u-only-phone{display:flex}
}

/* ------------------------------------------------------------ 2.1.0 ------ */
/* The older pages, drawn in the canvas proportions. Same classes, same markup —
   only sizes and weights, so every page that has not been rebuilt yet still
   matches the ones that have. */
.page-head h1{font-size:27px;letter-spacing:-.02em}
.page-head p{font-size:14px;line-height:1.5;max-width:860px}
.card{border-radius:16px;padding:20px;border-color:var(--u-line)}
.card-head h2{font-size:16px}
.kpi{border-radius:14px;padding:14px 16px;border-color:var(--u-line)}
.kpi .label{font-size:12px;font-weight:600}
th{background:#FAFBFA;font-size:12px;font-weight:700}
.tabs a,.tabs button{font-weight:700}
.segmented a,.segmented button{font-size:13px;font-weight:700;padding:7px 13px}
.back-link,.crumb{font-size:13px;font-weight:700}
.inbox-av{background:var(--u-brand) !important;color:#fff !important}
@media (max-width: 640px){
  .content .tabs a,.content .tabs button,.content .mode-switch button{min-height:44px;display:inline-flex;align-items:center}
  .content .icon-btn{min-width:44px;min-height:44px}
  .content .rowmenu .menu button,.content .rowmenu .menu a{min-height:44px}
  .content .cmd-lib a,.content .cmd-lib .btn-link{min-height:44px;display:inline-flex;align-items:center}
}
/* 2.1.1 Home: a live builder campaign shows how far it has got */
.u-progress{display:flex;flex-direction:column;gap:5px;margin-top:8px;max-width:360px}
.u-progress small{font-size:12px;color:var(--u-muted);line-height:1.4}
/* 2.1.3 People */
.au-bar{justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--u-line)}
.au-bar input[type=search]{max-width:280px;height:40px;border-radius:10px;border:1px solid var(--u-line-2)}
.au-table{border:0;border-radius:0}
.au-why{max-width:460px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.au-up{color:var(--u-ok);font-weight:700}.au-down{color:var(--u-bad);font-weight:700}
.au-used{font-size:12px;color:var(--u-muted);max-width:280px}
tr[hidden]{display:none}
@media (max-width: 640px){ .au-bar input[type=search]{max-width:none} }
.ab-two{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.ab-box{border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.ab-box.is-in{background:#F0FAF4;border:1px solid #CDEBD8}.ab-box.is-out{background:#FFF4F2;border:1px solid #F5D0C9}
.ab-chips{display:flex;flex-wrap:wrap;gap:6px;min-height:24px}
.ab-chips .ab-extra{display:none}.ab-chips.is-all .ab-extra{display:inline-flex}
.ab-more{border:0;background:none;font:inherit;font-size:12px;font-weight:800;color:var(--u-brand);cursor:pointer;padding:3px 6px}
#ab-find{height:40px;border-radius:10px;border:1px solid var(--u-line-2)}
.ab-picks{max-height:440px;overflow:auto;border:1px solid var(--u-line);border-radius:12px}
.ab-pick{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 14px;border-top:1px solid var(--u-row)}
.ab-pick:first-child{border-top:0}
.ab-seg{display:inline-flex;border:1px solid var(--u-line-2);border-radius:9px;overflow:hidden;background:#fff}
.ab-seg label{padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer;color:var(--u-muted);border-left:1px solid var(--u-line);display:flex;align-items:center}
.ab-seg label:first-child{border-left:0}
.ab-seg input{position:absolute;opacity:0;pointer-events:none}
.ab-seg label:has(input:checked){color:#fff;background:var(--u-ink)}
.ab-seg label.in:has(input:checked){background:var(--u-brand)}.ab-seg label.out:has(input:checked){background:#B42318}
.ab-seg label:has(input:focus-visible){outline:2px solid var(--u-brand);outline-offset:-2px}
.ab-cities{display:flex;flex-wrap:wrap;gap:6px;max-height:160px;overflow:auto}
.ab-cities label{display:inline-flex;gap:5px;align-items:center;font-size:12px;padding:5px 10px;border:1px solid var(--u-line-2);border-radius:999px;cursor:pointer;font-weight:600}
.ab-cities label small{color:var(--u-muted)}
.ab-cities label:has(input:checked){border-color:var(--u-brand);background:var(--u-tint);color:var(--u-brand-ink)}
.ab-unit{display:flex;align-items:center;gap:8px}.ab-unit em{font-style:normal;font-size:12px;color:var(--u-muted);font-weight:700}
.ab-side{position:sticky;top:84px}
.ab-big{font-size:36px;font-weight:800;line-height:1;display:block;margin-bottom:4px;letter-spacing:-.02em}
.ab-parts{display:flex;flex-wrap:wrap;gap:6px}
.ab-parts .u-pill{white-space:normal;text-align:left}
.ab-kind{display:flex;flex-direction:column;gap:8px}
.ab-kind label{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1.5px solid var(--u-line);border-radius:12px;cursor:pointer}
.ab-kind label:has(input:checked){border-color:var(--u-brand);background:var(--u-tint)}
.ab-kind b{display:block;font-size:14px}.ab-kind small{color:var(--u-muted);font-size:12px}
@media (max-width: 1100px){ .ab-two{grid-template-columns:minmax(0,1fr)} .ab-side{position:static} }
@media (max-width: 640px){ .ab-pick{grid-template-columns:minmax(0,1fr)} .ab-seg label{min-height:44px} .ab-cities label{min-height:44px} .ab-more{min-height:44px} }
.u-back{font-size:13px;font-weight:700;color:var(--u-brand)}
.ab-two > .u-stack{gap:16px}
.ad-two{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
.ad-head{padding:16px 20px;border-bottom:1px solid var(--u-line)}
.ad-prod{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-spark{width:100%;height:80px;display:block}
@media (max-width: 1100px){ .ad-two{grid-template-columns:minmax(0,1fr)} }
.ad-h{font-size:16px;font-weight:800}
.sa-grid{grid-template-columns:minmax(0,1fr) 380px}
.sa-form{gap:16px}
.sa-row{display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;align-items:start;padding:10px 0;border-top:1px dashed var(--u-line)}
.sa-row:first-of-type{border-top:0}
.sa-row>label,.sa-row>span.l{font-size:13px;font-weight:700;padding-top:8px}
.sa-row small.h{display:block;font-weight:500;color:var(--u-muted);font-size:12px;line-height:1.4}
.sa-chips{display:flex;flex-wrap:wrap;gap:6px}
.sa-chips label{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--u-line-2);border-radius:999px;font-size:12px;font-weight:700;cursor:pointer;background:#fff}
.sa-chips label:has(input:checked){background:var(--u-tint);border-color:var(--u-brand);color:var(--u-brand-ink)}
.sa-chips input{margin:0}
.sa-in{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.sa-in input{width:96px;height:40px;border-radius:10px}
.sa-in select{width:auto;max-width:260px}
.sa-side{position:sticky;top:84px}
.sa-count{font-size:40px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.sa-sample{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--u-line);border-radius:10px;font-size:13px}
@media (max-width: 1100px){ .sa-grid{grid-template-columns:minmax(0,1fr)} .sa-side{position:static} }
@media (max-width: 700px){ .sa-row{grid-template-columns:minmax(0,1fr)} .sa-chips label{min-height:44px} }
.ct-filters{padding:16px 20px}
.ct-save{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 20px;font-size:13px}
.ct-name{width:240px;height:36px;border-radius:10px}
.ct-bulk{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 20px;position:sticky;top:76px;z-index:10;border-color:var(--u-brand);background:var(--u-tint)}
.ct-bulk[hidden]{display:none}
.ct-table{border:0;border-radius:0}
.ct-tick{width:36px}.ct-tick input{width:18px;height:18px}
.ct-reach{gap:4px;flex-wrap:nowrap}
.ct-foot{padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
@media (max-width: 640px){ .ct-name{width:100%} .ct-tick input{width:24px;height:24px} }
.ab-seg label{position:relative}
.ab-unit input{min-width:0;flex:1 1 auto}
.ab-kind input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--u-brand)}
.u-field input[type=radio],.u-field input[type=checkbox]{width:auto;height:auto}
.ro-num{width:76px !important;flex:0 0 76px;height:36px;border-radius:10px}
/* 2.1.4 Content */
.lb-notif{background:#fff;border:1px solid var(--u-line);border-radius:14px;padding:10px 12px;box-shadow:0 2px 8px rgba(22,32,27,.08);font-size:13px}
.lb-notif-top{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--u-muted);margin-bottom:6px}
.lb-notif-top i{width:12px;height:12px;border-radius:50%;background:conic-gradient(#EA4335 0 33%,#FBBC05 0 66%,#34A853 0)}
.lb-notif-main{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}
.lb-notif-main > span{display:flex;flex-direction:column;gap:2px;min-width:0}
.lb-notif-main b{font-size:13px}.lb-notif-main span span{color:#3D4843}
.lb-notif-main em{font-style:normal;width:30px;height:30px;border-radius:8px;background:var(--u-brand);color:#fff;display:grid;place-items:center;font-weight:800;flex:0 0 30px}
.lb-notif img{width:100%;height:110px;object-fit:cover;border-radius:8px;margin-top:8px;display:block}
/* 2.1.5 WhatsApp templates at Meta */
.wt-tabs.tabs{display:inline-flex;padding:4px;background:var(--u-neutral-bg);border-radius:10px;gap:2px;border:0;max-width:100%;overflow-x:auto;align-self:flex-start}
.wt-tabs.tabs button{border:0;background:transparent;font:inherit;font-size:13px;font-weight:700;padding:8px 14px;border-radius:8px;color:var(--u-muted);cursor:pointer;margin:0}
.wt-tabs.tabs button.on{background:#fff;color:var(--u-ink);box-shadow:0 1px 2px rgba(0,0,0,.1);border:0}
.wt-pane.tabbed.on{display:flex;flex-direction:column;gap:16px}
.wt-filters{gap:10px}
.wt-two{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.wt-table{border:0;border-radius:0}
.wt-table tr.is-picked td{background:#F2FAF5}
.wt-table tr.is-archived td{opacity:.6}
.wt-table tr.wt-group td{background:#FAFBFA;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--u-muted)}
.wt-name{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;font-weight:700}
.wt-body{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.wt-warn{color:var(--u-warn)}
.wt-side{position:sticky;top:84px}
.wt-url{font-family:ui-monospace,Menlo,monospace;font-size:11px;word-break:break-all;font-weight:600;text-align:right}
.wt-phone{margin:0;border:8px solid #16201B;border-radius:28px;overflow:hidden;background:#EFE9E1}
.wt-phone-head{display:flex;gap:10px;align-items:center;background:#075E54;color:#fff;padding:12px 14px;font-size:13px}
.wt-phone-head small{display:block;font-size:11px;opacity:.8}
.wt-ava{width:30px;height:30px;border-radius:50%;background:#fff;color:#075E54;display:grid;place-items:center;font-weight:800}
.wt-phone-chat{padding:14px 12px 18px;min-height:200px}
.wt-phone-chat .tpl-phone{background:transparent;padding:0}
.wt-phone-in{width:150px;height:36px;border-radius:10px}
@media (max-width: 1100px){ .wt-two{grid-template-columns:minmax(0,1fr)} .wt-side{position:static} }
.cat-side{padding:16px 10px}.cat-side > b,.cat-side > span{padding:0 10px}.cat-sets{padding:0}
