*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#172033;background:#f5f7fb}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid rgba(255,92,36,.22);outline-offset:2px}[hidden]{display:none!important}:root{--orange:#ff5c24;--orange2:#ff7a32;--dark:#151821;--text:#172033;--muted:#697386;--line:#e6eaf0;--soft:#f6f8fb;--white:#fff;--green:#14a66f;--red:#e5484d;--amber:#f4a62a;--shadow:0 18px 55px rgba(25,35,58,.10)}body{min-width:320px}.eyebrow{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--orange)}.muted{color:var(--muted);line-height:1.6}.brand-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--orange),#ff884b);color:#fff;font-size:17px;font-weight:900;box-shadow:0 10px 26px rgba(255,92,36,.28)}.brand-mark.small{width:42px;height:42px;border-radius:13px;font-size:14px}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(300px,1fr) minmax(380px,520px);align-items:center;gap:7vw;padding:7vw;background:radial-gradient(circle at 12% 15%,rgba(255,92,36,.12),transparent 28%),radial-gradient(circle at 86% 80%,rgba(255,122,50,.10),transparent 25%),#f7f8fb}.login-brand{display:flex;align-items:center;gap:15px}.login-brand strong,.sidebar-brand strong{display:block;font-size:24px;letter-spacing:-.03em}.login-brand span,.sidebar-brand span{display:block;margin-top:2px;color:var(--muted);font-size:14px}.login-card{background:#fff;border:1px solid rgba(220,225,234,.9);border-radius:28px;padding:44px;box-shadow:var(--shadow)}.login-card h1{font-size:38px;line-height:1.05;letter-spacing:-.045em;margin:0 0 12px}.login-card form{display:grid;gap:18px;margin-top:30px}.login-card label{display:grid;gap:8px;font-size:14px;font-weight:700}.login-card input{height:52px;border:1px solid #dce1e9;border-radius:13px;padding:0 15px;background:#fbfcfd;color:var(--text);transition:.18s}.login-card input:focus{border-color:var(--orange);background:#fff;box-shadow:0 0 0 4px rgba(255,92,36,.08)}.primary-button,.secondary-button,.ghost-button{border:0;border-radius:12px;font-weight:800;transition:.18s}.primary-button{height:52px;padding:0 20px;color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange2));box-shadow:0 9px 20px rgba(255,92,36,.23)}.primary-button:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(255,92,36,.30)}.secondary-button{height:42px;padding:0 17px;color:#252c3a;background:#fff;border:1px solid var(--line)}.secondary-button:hover{border-color:#cdd3dd;background:#fafbfc}.ghost-button{padding:8px 11px;background:transparent;color:var(--muted)}.ghost-button:hover{background:#f1f3f6;color:var(--text)}.error-message{margin:0;padding:12px 14px;border-radius:10px;background:#fff1f1;color:#b42318;font-size:13px;font-weight:700}.workspaceView{}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;padding:24px 18px 18px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px 24px}.sidebar-brand strong{font-size:18px}.sidebar nav{display:grid;gap:4px;overflow:auto;padding-right:2px}.nav-item{width:100%;border:0;background:transparent;text-align:left;padding:11px 13px;border-radius:11px;color:#596274;font-weight:700;font-size:14px;transition:.15s}.nav-item:hover{background:#f6f7f9;color:var(--text)}.nav-item.active{background:#fff3ee;color:#d94712}.nav-divider{height:1px;background:var(--line);margin:10px 7px}.sidebar-user{margin-top:auto;border-top:1px solid var(--line);padding:18px 7px 2px;display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-user strong{display:block;font-size:13px}.sidebar-user span{display:block;margin-top:3px;font-size:11px;color:var(--muted);text-transform:capitalize}.workspace{margin-left:254px;min-height:100vh;padding:28px 34px 60px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.topbar h1{font-size:34px;letter-spacing:-.045em;margin:0}.topbar-actions{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:13px}.route-view{animation:fadeIn .18s ease}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card,.panel,.lead-card,.action-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 18px rgba(24,35,55,.035)}.stat-card{padding:20px}.stat-label{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.stat-value{font-size:30px;font-weight:900;letter-spacing:-.04em;margin-top:7px}.stat-meta{margin-top:5px;color:var(--muted);font-size:12px}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:18px;margin-top:18px}.panel{padding:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-title{font-weight:900;font-size:17px;letter-spacing:-.02em}.badge{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#f1f3f7;color:#596274}.badge.hot{background:#fff0ec;color:#d94712}.badge.green{background:#eaf9f2;color:#087c52}.badge.red{background:#fff0f0;color:#c53030}.badge.amber{background:#fff7e5;color:#9b6500}.action-list,.lead-list{display:grid;gap:10px}.action-card,.lead-card{padding:15px 16px}.action-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}.action-company,.lead-company{font-size:15px;font-weight:900}.action-meta,.lead-meta{margin-top:5px;font-size:12px;color:var(--muted);line-height:1.5}.action-time{font-size:13px;font-weight:900;color:var(--orange)}.empty-state{padding:38px 20px;text-align:center;border:1px dashed #d5dbe4;border-radius:16px;color:var(--muted);background:#fafbfc}.search-row{display:flex;gap:10px;margin-bottom:16px}.search-row input{flex:1;height:44px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fff}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:17px}.data-table{width:100%;border-collapse:collapse;min-width:820px}.data-table th{padding:13px 15px;text-align:left;background:#fafbfc;border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.data-table td{padding:14px 15px;border-bottom:1px solid #eef1f4;font-size:13px;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfcfd}.score-ring{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--orange) var(--score,0%),#edf0f4 0);position:relative}.score-ring:after{content:"";position:absolute;width:56px;height:56px;border-radius:50%;background:#fff}.score-ring span{position:relative;z-index:1;font-size:18px;font-weight:900}.section-placeholder{padding:42px;background:#fff;border:1px solid var(--line);border-radius:18px}.section-placeholder h2{margin:0 0 8px;font-size:23px}.section-placeholder p{margin:0;color:var(--muted);line-height:1.6}.mobile-nav{display:none}@keyframes fadeIn{from{opacity:.25;transform:translateY(3px)}to{opacity:1;transform:none}}@media(max-width:1100px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}}@media(max-width:780px){body{background:#f6f7fa}.login-shell{display:block;padding:24px 18px}.login-brand{margin:30px 4px 42px}.login-card{padding:28px 22px;border-radius:22px}.login-card h1{font-size:31px}.sidebar{display:none}.workspace{margin-left:0;padding:20px 16px 92px}.topbar{align-items:flex-start}.topbar h1{font-size:29px}.topbar-actions #todayLabel{display:none}.dashboard-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:15px}.stat-value{font-size:25px}.panel{padding:15px}.action-card{grid-template-columns:1fr}.mobile-nav{display:grid;position:fixed;left:10px;right:10px;bottom:10px;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:18px;padding:7px;box-shadow:0 16px 38px rgba(24,35,55,.18);z-index:50}.mobile-nav button{border:0;background:transparent;padding:9px 3px;border-radius:11px;color:#626b7c;font-size:11px;font-weight:800}.mobile-nav button.active{background:#fff0ea;color:#d94712}.mobile-nav #mobileQuickAdd{width:42px;height:42px;justify-self:center;border-radius:14px;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#fff;font-size:22px;line-height:1;padding:0;box-shadow:0 7px 16px rgba(255,92,36,.28)}}@media(max-width:460px){.dashboard-grid{grid-template-columns:1fr}.topbar-actions{gap:6px}.login-brand strong{font-size:21px}}


/* ADSPROTEGO APP UI 2026 */

.leads-mobile{display:none}.queue-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.priority-grid,.queue-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.queue-panel{min-width:0}.queue-danger,.stat-danger{border-top:3px solid var(--red)}.queue-warning,.stat-warning{border-top:3px solid var(--amber)}.queue-today,.stat-hot{border-top:3px solid var(--orange)}.card-main{min-width:0}.card-side{text-align:right}.card-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:9px}.secondary-button.compact{height:36px;padding:0 11px;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.call-link{color:#d94712;border-color:#ffd8ca;text-decoration:none}.whatsapp-link{color:#087c52;border-color:#cdeee0;text-decoration:none}.action-date{font-size:11px;color:var(--muted);font-weight:800}.card-note{color:#3f4858}.queue-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:18px}.queue-hero h2{margin:0 0 5px;font-size:26px}.queue-total{min-width:92px;text-align:center;font-size:31px;font-weight:900;color:var(--orange)}.queue-total span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.detail-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.lead-detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.notes-panel{grid-column:1/-1}.detail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.detail-fields>div{background:#f8f9fb;border:1px solid #edf0f4;border-radius:12px;padding:11px}.detail-fields span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.detail-fields strong{display:block;margin-top:4px;font-size:13px;word-break:break-word}.next-action-box{margin-top:16px;padding:14px;border-radius:14px;background:#fff5f0;border:1px solid #ffdacc}.next-action-box>span,.mobile-next-action>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#d94712}.next-action-box strong,.mobile-next-action strong{display:block;margin:4px 0}.next-action-box small{display:block;margin-top:7px;color:var(--muted)}.next-action-box.missing{background:#fff8e8;border-color:#f8dca2}.timeline{display:grid;gap:9px}.timeline-item{display:flex;justify-content:space-between;gap:14px;padding:12px;border:1px solid #edf0f4;border-radius:12px;background:#fafbfc}.timeline-item strong,.timeline-item span,.timeline-item small{display:block}.timeline-item span{margin-top:4px;font-size:12px;color:var(--muted)}.timeline-item small{font-size:11px;color:var(--muted);white-space:nowrap}.score-caption{text-align:center;margin-top:12px}

@media(max-width:980px){.queue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.priority-grid,.queue-section-grid,.lead-detail-grid{grid-template-columns:1fr}.notes-panel{grid-column:auto}}

@media(max-width:760px){body{background:#f6f7f9}.sidebar{display:none}.workspace{margin-left:0;padding:15px 12px 104px}.topbar{position:sticky;top:0;z-index:15;background:rgba(246,247,249,.95);backdrop-filter:blur(12px);margin:-15px -12px 14px;padding:14px 12px 10px;border-bottom:1px solid rgba(230,234,240,.78)}.topbar h1{font-size:24px}.topbar-actions #todayLabel{display:none}.topbar-actions .secondary-button{height:38px;padding:0 11px}.queue-stats{display:flex;overflow-x:auto;gap:9px;margin:0 -12px;padding:2px 12px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.queue-stats::-webkit-scrollbar{display:none}.queue-stats .stat-card{min-width:145px;scroll-snap-align:start;padding:14px;border-radius:16px}.queue-stats .stat-value{font-size:25px}.priority-grid,.queue-section-grid{display:block;margin-top:12px}.queue-panel,.score-panel{margin-bottom:12px;padding:14px;border-radius:17px}.action-card,.lead-card{display:block;padding:14px;border-radius:14px}.card-side{text-align:left;margin-top:9px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.card-actions .open-lead-button{grid-column:1/-1}.secondary-button.compact{height:44px;font-size:13px}.call-link,.whatsapp-link{min-height:44px}.queue-hero{padding:16px;border-radius:17px;align-items:flex-start}.queue-hero h2{font-size:22px}.queue-hero .muted{font-size:12px;margin:0}.queue-total{min-width:64px;font-size:25px}.leads-desktop{display:none}.leads-mobile{display:grid;gap:11px}.search-row{position:sticky;top:64px;z-index:13;background:#f6f7f9;padding:8px 0 10px;margin-bottom:4px}.search-row input{min-width:0}.mobile-lead-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:0 8px 24px rgba(25,35,58,.06)}.mobile-lead-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.mobile-lead-head .lead-company{font-size:16px}.mobile-priority{flex:0 0 auto;background:#fff1ea;color:#d94712;border-radius:10px;padding:6px 8px;font-size:12px;font-weight:900}.mobile-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:11px}.mobile-next-action{margin-top:12px;background:#f8f9fb;border:1px solid #edf0f4;border-radius:12px;padding:11px}.mobile-next-action small{display:block;color:var(--muted);font-size:11px}.detail-toolbar{position:sticky;top:64px;z-index:14;background:#f6f7f9;padding:7px 0}.detail-toolbar .secondary-button{flex:1;min-height:46px;padding:0 10px}.lead-detail-grid{display:block}.lead-detail-grid>.panel{margin-bottom:12px;padding:15px}.detail-fields{grid-template-columns:1fr 1fr;gap:8px}.detail-fields>div{padding:10px}.timeline-item{display:block}.timeline-item small{margin-top:7px;white-space:normal}.mobile-nav{display:grid;position:fixed;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:20px;padding:6px;box-shadow:0 14px 42px rgba(24,35,55,.22);z-index:50}.mobile-nav button{border:0;background:transparent;min-height:48px;padding:7px 3px;border-radius:12px;color:#626b7c;font-size:11px;font-weight:800}.mobile-nav button.active{background:#fff0ea;color:#d94712}.mobile-nav #mobileQuickAdd{width:48px;height:48px;justify-self:center;border-radius:16px;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#fff;font-size:23px;padding:0;box-shadow:0 7px 16px rgba(255,92,36,.28)}}

@media(max-width:430px){.workspace{padding-left:10px;padding-right:10px}.queue-stats{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.detail-fields{grid-template-columns:1fr}.panel{padding:13px}}





/* SALES COMMAND CENTER 2026 */

.team-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:14px;background:linear-gradient(135deg,#fff 0%,#fff8f4 100%);border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(25,35,58,.05)}

.team-hero h2{margin:0 0 6px;font-size:29px;letter-spacing:-.035em}

.team-hero .muted{margin:0}

.team-periods{display:flex;gap:5px;padding:5px;background:#f2f4f7;border-radius:14px;flex:0 0 auto}

.team-periods button{border:0;background:transparent;color:#667085;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:900}

.team-periods button:hover{background:#fff}

.team-periods button.active{background:#fff;color:#d94712;box-shadow:0 3px 10px rgba(24,35,55,.08)}

.team-context{display:flex;align-items:center;gap:10px;margin:0 2px 15px;color:var(--muted);font-size:12px}

.team-context strong{color:var(--text)}

.team-context span:before{content:"•";margin-right:10px;color:#c0c5ce}

.team-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}

.team-money{font-size:25px}

.team-panel{margin-top:18px;padding:0;overflow:hidden}

.team-panel .panel-header{padding:20px 22px;margin:0;border-bottom:1px solid var(--line)}

.team-panel .table-wrap{border:0;border-radius:0}

.team-table{min-width:1180px}

.team-table th{position:sticky;top:0;z-index:1}

.team-table td:first-child{min-width:190px}

.team-table tbody tr{transition:.15s}

.team-table tbody tr:hover{background:#fff8f4}

.team-mobile{display:none}

.team-agent-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:0 7px 24px rgba(25,35,58,.05)}

.team-agent-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}

.team-agent-head strong,.team-agent-head span{display:block}

.team-agent-head>div>span{margin-top:3px;color:var(--muted);font-size:11px}

.team-agent-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}

.team-agent-metrics>div{padding:9px;background:#f8f9fb;border:1px solid #edf0f4;border-radius:11px}

.team-agent-metrics span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:800}

.team-agent-metrics strong{display:block;margin-top:3px;font-size:15px}

.team-agent-foot{display:flex;justify-content:space-between;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid #eef1f4;color:var(--muted);font-size:10px}

@media(min-width:1500px){.workspace{padding-left:42px;padding-right:42px}.team-kpis{grid-template-columns:repeat(8,minmax(0,1fr))}.team-kpis .stat-card{padding:17px 15px}.team-kpis .stat-value{font-size:27px}}

@media(max-width:1050px){.team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:760px){.team-hero{display:block;padding:17px;margin-bottom:12px}.team-hero h2{font-size:23px}.team-periods{margin-top:14px;width:100%}.team-periods button{flex:1;padding:11px 5px}.team-context{margin-bottom:10px}.team-kpis{display:flex;overflow-x:auto;gap:9px;margin:0 -12px;padding:2px 12px 10px;scrollbar-width:none}.team-kpis::-webkit-scrollbar{display:none}.team-kpis .stat-card{min-width:145px}.team-panel{padding:0;margin-top:12px}.team-panel .panel-header{padding:15px}.team-desktop{display:none}.team-mobile{display:grid;gap:10px;padding:12px}.team-agent-foot{display:block}.team-agent-foot span{display:block;margin-top:3px}}





/* AUTH RESET FLOW */

.auth-link{border:0;background:transparent;color:#d94712;font-weight:800;font-size:13px;padding:4px 2px;text-align:center;justify-self:center}

.auth-link:hover{text-decoration:underline}

.success-message{margin:0;padding:12px 14px;border-radius:10px;background:#eaf9f2;color:#087c52;font-size:13px;font-weight:700;line-height:1.5}

.login-card button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}




/* PASSWORD VISIBILITY */

.password-field{position:relative;width:100%}

.password-field input{width:100%;padding-right:82px!important}

.password-toggle{

  position:absolute;

  right:10px;

  top:50%;

  transform:translateY(-50%);

  border:0;

  background:transparent;

  color:#d94712;

  font-size:12px;

  font-weight:900;

  padding:8px 7px;

  border-radius:8px;

  cursor:pointer;

  line-height:1

}

.password-toggle:hover{background:#fff1eb}

.password-toggle:focus-visible{outline:3px solid rgba(255,92,36,.22);outline-offset:1px}


/* Admin integrări și furnizori */
.admin-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
}

.admin-hero h2{
  margin:0 0 7px;
  font-size:27px;
  letter-spacing:-.035em;
}

.admin-hero .muted{
  margin:0;
  max-width:780px;
}

.provider-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.provider-admin-card,
.integration-card{
  min-width:0;
}

.provider-admin-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.provider-admin-fields,
.integration-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.provider-admin-fields label,
.integration-form label,
.secret-box{
  display:grid;
  gap:7px;
}

.provider-admin-fields label>span,
.integration-form label>span,
.secret-box strong{
  font-size:12px;
  font-weight:800;
  color:#4c5668;
}

.provider-admin-fields input,
.provider-admin-fields select,
.integration-form input,
.integration-form select,
.secret-box input{
  width:100%;
  min-height:44px;
  padding:0 12px;
  border:1px solid #dce1e9;
  border-radius:11px;
  background:#fff;
  color:var(--text);
}

.provider-admin-fields input:focus,
.provider-admin-fields select:focus,
.integration-form input:focus,
.integration-form select:focus,
.secret-box input:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 4px rgba(255,92,36,.08);
  outline:0;
}

.integration-form .wide{
  grid-column:1/-1;
}

.secret-box{
  margin-top:16px;
  padding:14px;
  border:1px solid #e8ebf0;
  border-radius:14px;
  background:#fafbfc;
}

.secret-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.field-help{
  margin:0;
  font-size:11px;
  line-height:1.5;
  color:var(--muted);
}

.provider-usage,
.secret-state{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:15px;
  padding:11px 12px;
  border-radius:11px;
  background:#f8f9fb;
  color:var(--muted);
  font-size:12px;
}

.provider-usage strong,
.secret-state strong{
  color:var(--text);
}

.admin-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:17px;
}

.admin-actions .primary-button{
  height:42px;
}

.integration-error{
  margin-top:13px;
  padding:11px 12px;
  border-radius:10px;
  background:#fff0f0;
  color:#b42318;
  font-size:12px;
  font-weight:700;
  word-break:break-word;
}

.admin-message{
  min-height:18px;
  margin-top:11px;
  font-size:12px;
  font-weight:800;
}

.admin-message.success{
  color:#087c52;
}

.admin-message.error,
.danger-text{
  color:#b42318;
}

.danger-text:hover{
  background:#fff0f0;
}

@media(max-width:980px){
  .provider-admin-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .admin-hero{
    padding:16px;
    border-radius:17px;
  }

  .admin-hero h2{
    font-size:23px;
  }

  .provider-admin-fields,
  .integration-form{
    grid-template-columns:1fr;
  }

  .integration-form .wide{
    grid-column:auto;
  }

  .admin-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .admin-actions button{
    width:100%;
    min-height:46px;
  }
}


/* Prospectare UI V1 */

.prospect-search-panel{
  margin-bottom:24px;
  padding:24px;
}

.prospect-search-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:22px;
}

.prospect-search-head h2{
  margin:3px 0 8px;
  font-size:28px;
  letter-spacing:-.035em;
}

.prospect-search-head .muted{
  max-width:760px;
  margin:0;
}

.prospect-provider-state{
  min-width:105px;
  padding:13px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  text-align:center;
  background:#fafbfc;
}

.prospect-provider-state span{
  display:block;
  font-size:11px;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.prospect-provider-state strong{
  display:block;
  margin-top:4px;
  font-size:24px;
}

.prospect-search-grid{
  display:grid;
  grid-template-columns:
    minmax(220px,2fr)
    minmax(180px,1.25fr)
    minmax(130px,.65fr)
    auto;
  gap:12px;
  align-items:end;
}

.prospect-search-grid label{
  display:grid;
  gap:7px;
}

.prospect-search-grid label > span{
  font-size:12px;
  font-weight:800;
}

.prospect-search-grid input,
.prospect-search-grid select{
  width:100%;
  min-height:45px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:var(--text);
  font:inherit;
}

.prospect-search-button{
  min-height:45px;
  white-space:nowrap;
}

.prospect-warning{
  margin-top:14px;
  padding:11px 13px;
  border-radius:11px;
  background:#fff7e8;
  border:1px solid #f4d39b;
  color:#8a5700;
  font-size:13px;
  font-weight:700;
}

.prospect-search-summary,
.prospect-sync-summary{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}

.prospect-search-summary{
  margin:13px 0 4px;
}

.prospect-sync-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:16px 0;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid var(--line);
  font-size:13px;
}

.prospect-results-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:15px;
}

.prospect-result-card{
  min-width:0;
  padding:17px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}

.prospect-result-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.prospect-result-top h3{
  margin:3px 0 5px;
  font-size:17px;
  line-height:1.25;
}

.prospect-position{
  font-size:11px;
  font-weight:900;
  color:var(--accent);
}

.prospect-snippet{
  margin:13px 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.prospect-data{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:13px;
}

.prospect-data div{
  min-width:0;
  padding:9px 10px;
  border-radius:10px;
  background:#f8fafc;
}

.prospect-data span{
  display:block;
  margin-bottom:3px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
  font-weight:800;
}

.prospect-data strong{
  display:block;
  overflow-wrap:anywhere;
  font-size:12px;
}

.prospect-result-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

.prospect-sync-error{
  min-height:15px;
  margin-top:9px;
  color:#b42318;
  font-size:11px;
}

.prospect-empty{
  margin-top:15px;
  padding:28px 18px;
  border:1px dashed var(--line);
  border-radius:14px;
  text-align:center;
  color:var(--muted);
  background:#fafbfc;
}

.prospect-empty.error{
  color:#b42318;
  background:#fff7f7;
}

.badge.amber{
  color:#8a5700;
  background:#fff2d8;
}

@media(max-width:1050px){
  .prospect-search-grid{
    grid-template-columns:1fr 1fr;
  }

  .prospect-search-button{
    width:100%;
  }
}

@media(max-width:760px){
  .prospect-search-panel{
    padding:16px;
  }

  .prospect-search-head{
    display:grid;
  }

  .prospect-provider-state{
    width:100%;
  }

  .prospect-search-grid{
    grid-template-columns:1fr;
  }

  .prospect-results-grid{
    grid-template-columns:1fr;
  }

  .prospect-data{
    grid-template-columns:1fr;
  }

  .prospect-sync-line{
    display:grid;
  }
}


/* Prospect CRM Bridge V1 */

.prospect-work-toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0 4px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f8fafc;
}

.prospect-work-toolbar label{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:800;
}

.prospect-work-toolbar input{
  width:17px;
  height:17px;
}

#prospectSelectedCount{
  color:var(--muted);
  font-size:12px;
}

.prospect-select-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
}

.prospect-select-label input{
  width:17px;
  height:17px;
}

.prospect-crm-empty{
  margin-top:14px;
  padding:11px 12px;
  border-radius:10px;
  border:1px dashed var(--line);
  color:var(--muted);
  font-size:12px;
}

.prospect-crm-box{
  margin-top:14px;
  padding:13px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#f8fafc;
}

.prospect-crm-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
  font-size:12px;
}

.prospect-quick-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-top:9px;
}

.prospect-quick-row input,
.prospect-quick-row select{
  min-height:39px;
  width:100%;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--text);
  font:inherit;
}

.prospect-crm-message,
.prospect-card-message{
  min-height:16px;
  margin-top:8px;
  font-size:11px;
}

.prospect-crm-message.success,
.prospect-card-message.success{
  color:#067647;
}

.prospect-crm-message.error,
.prospect-card-message.error{
  color:#b42318;
}

@media(max-width:760px){
  .prospect-quick-row{
    grid-template-columns:1fr;
  }

  .prospect-work-toolbar{
    align-items:stretch;
  }

  .prospect-work-toolbar .primary-button{
    width:100%;
  }
}


/* Prospect Enrichment UI V1 */

.prospect-enrichment-summary{
  margin-left:auto;
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}

.prospect-contact-status{
  margin-top:10px;
  margin-bottom:2px;
  font-size:11px;
  font-weight:700;
}

.prospect-contact-status.success{
  color:#067647;
}

.prospect-contact-status.muted{
  color:var(--muted);
}

@media(max-width:760px){
  .prospect-enrichment-summary{
    width:100%;
    margin-left:0;
  }
}


/* Prospect Contact Actions V1 */

.prospect-phone-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  width:max-content;
  max-width:100%;

  margin-top:5px;
  padding:7px 11px;

  border:1px solid #fed7aa;
  border-radius:9px;

  background:#fff4ed;
  color:#c2410c;

  font-weight:800;
  line-height:1.1;

  text-decoration:none;

  cursor:pointer;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.prospect-phone-button:hover{
  background:#ffedd5;

  box-shadow:
    0 4px 12px rgba(194,65,12,.12);

  transform:
    translateY(-1px);
}

.prospect-phone-button:active{
  transform:
    translateY(0);
}


.prospect-email-control{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;

  margin-top:4px;
}


.prospect-email-address{
  min-width:0;

  color:inherit;

  font-weight:700;

  text-decoration:none;

  overflow-wrap:anywhere;
}

.prospect-email-address:hover{
  text-decoration:underline;
}


.prospect-copy-email{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:28px;

  padding:5px 9px;

  border:1px solid #d8dee8;
  border-radius:8px;

  background:#fff;
  color:#344054;

  font-size:11px;
  font-weight:800;

  cursor:pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.prospect-copy-email:hover{
  background:#f8fafc;
  border-color:#bfc7d4;
}

.prospect-copy-email.copied{
  background:#ecfdf3;
  border-color:#abefc6;
  color:#067647;
}

.prospect-copy-email:disabled{
  cursor:default;
  opacity:.85;
}


.prospect-contact-missing{
  display:block;

  margin-top:5px;

  color:var(--muted);

  font-weight:700;
}


@media(max-width:760px){

  .prospect-phone-button{
    min-height:40px;
    padding:9px 12px;
  }

  .prospect-copy-email{
    min-height:36px;
    padding:7px 10px;
  }
}



/* AP_LEAD_FOLLOWUP_UI_20261004: lead controls and follow-up layout */
.detail-toolbar{align-items:center;gap:10px;margin-bottom:18px}
.detail-toolbar .ap-lead-call,.detail-toolbar .ap-lead-wa{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:0 19px;min-height:46px;font-weight:800;font-size:13px;text-decoration:none;box-shadow:0 5px 15px rgba(22,30,50,.10);transition:transform .15s,filter .15s}
.detail-toolbar .ap-lead-call{background:linear-gradient(135deg,#ff7745,#f45120);color:white}
.detail-toolbar .ap-lead-wa{background:linear-gradient(135deg,#27c977,#099e58);color:white}
.detail-toolbar .ap-lead-call:hover,.detail-toolbar .ap-lead-wa:hover{transform:translateY(-1px);filter:brightness(.96)}
.detail-toolbar .ap-lead-call:before{content:'☎';font-size:17px;line-height:1}
.detail-toolbar .ap-lead-wa:before{content:'✉';font-size:16px;line-height:1}
.ap-contact-status{border:1px solid #f4c7a8;background:#fff8ef;border-radius:12px;color:#703b19;padding:12px 15px;margin:0 0 15px;font-size:13px;font-weight:600}
.ap-contact-status[hidden]{display:none}
.ap-reminder-panel{margin-top:16px}
.ap-reminder-panel .panel-header{margin-bottom:14px}
.ap-reminder-panel .muted{margin:6px 0 0;font-size:13px}
.ap-reminder-form{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;align-items:end}
.ap-reminder-form label{display:grid;gap:8px;font-size:14px;font-weight:850;color:#172033;letter-spacing:-.01em}
.ap-reminder-form input{width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #dce1e9;border-radius:10px;background:#fff;font:inherit;color:#172437}
.ap-reminder-form .ap-reminder-note,.ap-reminder-form .ap-reminder-custom-days,.ap-reminder-form .ap-reminder-actions,.ap-reminder-form #apReminderFeedback{grid-column:1/-1}
.ap-reminder-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ap-reminder-actions .primary-button{min-height:42px}
@media(max-width:650px){.ap-reminder-form{grid-template-columns:1fr}.detail-toolbar{flex-wrap:wrap}.detail-toolbar .ap-lead-call,.detail-toolbar .ap-lead-wa{flex:1;min-width:135px}}

/* AP_SALES_FINAL_20261006: directory, contact authorization and callback controls */
.directory-panel{padding:18px}
.directory-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.directory-heading h2{margin:0 0 7px}
.directory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:end;margin-top:16px}
.directory-toolbar .search-row{margin:0}
.directory-filter{display:grid;gap:6px;font-size:12px;font-weight:750;color:#3c475a}
.directory-filter select{min-height:42px;border:1px solid #dce1e9;border-radius:10px;background:#fff;padding:8px 10px;color:#172437;font:inherit}
.directory-meta{margin:10px 0}
.directory-list{display:grid;gap:9px}
.directory-card{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 14px;border:1px solid #e6eaf0;border-radius:13px;background:#fff}
.directory-card-main{min-width:0;display:grid;gap:4px}
.directory-contact{display:flex;flex-wrap:wrap;gap:8px 14px;color:#5f6b7a;font-size:12px}
.directory-card-side{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.directory-pagination{display:flex;gap:10px;margin-top:12px}
.ap-contact-status{display:grid;gap:3px;border:1px solid #e2e7ee;background:#f8fafc;border-radius:12px;color:#344054;padding:12px 15px;margin:0 0 15px;font-size:13px}
.ap-contact-status strong{font-weight:850}
.ap-contact-status span{font-weight:600;line-height:1.4}
.ap-contact-status.is-green{border-color:#abefc6;background:#ecfdf3;color:#067647}
.ap-contact-status.is-amber,.ap-contact-status.is-checking{border-color:#fedf89;background:#fffaeb;color:#93370d}
.ap-contact-status.is-red{border-color:#fecdca;background:#fef3f2;color:#b42318}
.ap-reminder-current{display:grid;gap:4px;margin:0 0 14px;padding:11px 13px;border:1px solid #abefc6;background:#ecfdf3;border-radius:11px;color:#067647}
.ap-reminder-current span{font-size:12px;font-weight:650}
.ap-reminder-warning{margin:0 0 14px;padding:11px 13px;border:1px solid #fedf89;background:#fffaeb;border-radius:11px;color:#93370d;font-size:12px}
.ap-reminder-result{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;padding-top:13px;border-top:1px solid #edf0f4}
.ap-reminder-result label{display:grid;gap:6px}
.ap-reminder-result select,.ap-reminder-result input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dce1e9;border-radius:10px;background:#fff;font:inherit;color:#172437}
.ap-reminder-complete-actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}
.ap-call-complete{min-height:42px}
@media(max-width:760px){.directory-toolbar{grid-template-columns:1fr}.directory-card{align-items:flex-start;flex-direction:column}.directory-card-side{justify-content:flex-start}.ap-reminder-result{grid-template-columns:1fr}}

/* AP Sales UX R2 - 2026-10-06 */
.ap-reminder-custom-days{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 14px;border:1px solid #e4e8ef;border-radius:12px;background:#fafbfc}
.ap-reminder-field-title{font-size:14px;font-weight:850;color:#172033;letter-spacing:-.01em}
.ap-reminder-days-control{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ap-reminder-days-control input{width:92px!important;min-height:42px;text-align:center;font-weight:850;font-size:15px}
.ap-reminder-days-control>span{font-size:14px;font-weight:750;color:#3c475a}
.ap-reminder-help{font-size:12px;line-height:1.45;font-weight:600;color:#697386}
.ap-reminder-result{margin-top:2px}
.ap-reminder-result label{font-size:14px!important;font-weight:850!important;color:#172033!important}
@media(max-width:650px){.ap-reminder-custom-days{align-items:flex-start;flex-direction:column}.ap-reminder-days-control{width:100%}.ap-reminder-days-control .secondary-button{flex:1}}

/* ADSPROTEGO GLOBAL UX POLISH R25 2026-10-12 */

/* Unified form language across Sales Hub. Functionality is unchanged. */
.route-view label,
.panel label{
  color:#465166;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}

.route-view label>input:not([type="checkbox"]):not([type="radio"]),
.route-view label>select,
.route-view label>textarea,
.panel label>input:not([type="checkbox"]):not([type="radio"]),
.panel label>select,
.panel label>textarea{
  width:100%;
  min-width:0;
  min-height:46px;
  margin-top:7px;
  padding:10px 13px;
  border:1px solid #dce1e9;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:13px;
  line-height:1.35;
  box-shadow:0 1px 2px rgba(24,35,55,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.route-view label>textarea,
.panel label>textarea{
  min-height:92px;
  resize:vertical;
}

.route-view label>input:focus,
.route-view label>select:focus,
.route-view label>textarea:focus,
.panel label>input:focus,
.panel label>select:focus,
.panel label>textarea:focus{
  border-color:#ff8a61;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,92,36,.09);
  outline:0;
}

.route-view input::placeholder,
.route-view textarea::placeholder,
.panel input::placeholder,
.panel textarea::placeholder{
  color:#98a2b3;
  opacity:1;
}

.route-view select,
.panel select{
  cursor:pointer;
}

.primary-button:disabled,
.secondary-button:disabled,
.route-view button:disabled{
  opacity:.52;
  cursor:not-allowed;
  transform:none!important;
  box-shadow:none!important;
}

/* Clear hierarchy for operational panels. */
.route-view>.panel{
  margin-top:18px;
}
.route-view>.panel:first-child{
  margin-top:0;
}
.panel>.panel-header .muted,
.panel-header p.muted{
  margin:5px 0 0;
  max-width:820px;
  font-size:12px;
}
.card-actions{
  align-items:center;
}

/* Support handoff: make the action feel like one guided step, not loose browser controls. */
#supportLeadPanel{
  border-color:#e7eaf0;
  box-shadow:0 10px 28px rgba(24,35,55,.045);
}
#supportLeadPanel .panel-header{
  margin-bottom:18px;
}
#supportLeadPanel .detail-fields{
  grid-template-columns:minmax(220px,1fr) minmax(190px,.55fr);
  gap:14px;
  margin-bottom:14px;
}
#supportLeadPanel>label{
  display:block;
}
#supportLeadPanel .card-actions{
  justify-content:flex-start;
  margin-top:14px;
}
#supportLeadPanel #submitHandoff{
  min-width:230px;
}
#supportLeadPanel #handoffMessage{
  min-height:18px;
  margin:11px 0 0;
  color:#53627a;
  font-size:12px;
  font-weight:700;
}
#supportLeadPanel #handoffMessage:empty{
  display:none;
}

/* Commercial wizard: align controls and buttons with the rest of the product. */
#commercialPanel .ap-offer-create,
#commercialPanel .ap-sale-action{
  border-color:#e6eaf0;
  background:#fbfcfd;
}
#commercialPanel .ap-offer-create label,
#commercialPanel .ap-sale-action label{
  color:#465166;
}
#commercialPanel .ap-offer-create input,
#commercialPanel .ap-offer-create select,
#commercialPanel .ap-sale-action input,
#commercialPanel .ap-sale-action select{
  min-height:46px;
  padding:10px 13px;
  border:1px solid #dce1e9;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:13px;
}
#commercialPanel .ap-offer-create input:focus,
#commercialPanel .ap-offer-create select:focus,
#commercialPanel .ap-sale-action input:focus,
#commercialPanel .ap-sale-action select:focus{
  border-color:#ff8a61;
  box-shadow:0 0 0 4px rgba(255,92,36,.09);
  outline:0;
}
#commercialPanel .ap-sale-action-row>.primary-button,
#commercialPanel .ap-offer-create>.secondary-button{
  min-height:46px;
  height:46px;
  white-space:nowrap;
}
#commercialPanel .ap-sale-choice-row{
  align-items:center;
}

/* Team accounts: remove the raw-form look and keep actions close to the fields. */
#teamAccountsPanel{
  margin-top:18px;
}
#teamAccountsPanel>.detail-fields{
  padding:16px;
  border:1px solid #edf0f4;
  border-radius:15px;
  background:#fafbfc;
  gap:14px;
}
#teamAccountsPanel>.detail-fields label{
  display:block;
}
#teamAccountsPanel>.card-actions{
  justify-content:flex-start;
}
#teamAccountsPanel #teamAccountCreate{
  min-width:160px;
}
#teamAccountsPanel #teamAccountMessage{
  margin:12px 0 0;
  min-height:18px;
  color:#53627a;
  font-size:12px;
  font-weight:700;
}
#teamAccountsPanel [data-team-whatsapp-input]{
  min-height:40px;
  padding:8px 11px;
  border:1px solid #dce1e9;
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:12px;
}
#teamAccountsPanel [data-team-whatsapp-input]:focus{
  border-color:#ff8a61;
  box-shadow:0 0 0 3px rgba(255,92,36,.08);
  outline:0;
}

/* Keep information dense without feeling cramped on wide screens. */
@media(min-width:1250px){
  #teamAccountsPanel>.detail-fields{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #supportLeadPanel{
    padding:22px;
  }
}

@media(max-width:760px){
  .route-view>.panel{
    margin-top:12px;
  }
  #supportLeadPanel .detail-fields{
    grid-template-columns:1fr;
    gap:10px;
  }
  #supportLeadPanel #submitHandoff,
  #supportLeadPanel .card-actions .primary-button,
  #supportLeadPanel .card-actions .secondary-button{
    width:100%;
  }
  #supportLeadPanel .card-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  #teamAccountsPanel>.detail-fields{
    grid-template-columns:1fr;
    padding:12px;
  }
  #teamAccountsPanel>.card-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  #teamAccountsPanel #teamAccountCreate{
    width:100%;
  }
  #commercialPanel .ap-sale-choice-row{
    display:grid;
    grid-template-columns:1fr;
  }
  #commercialPanel .ap-sale-choice-row .primary-button,
  #commercialPanel .ap-sale-choice-row .secondary-button{
    width:100%;
  }
}

/* ADSPROTEGO UX R26 - TEAM PASSWORD + COMPACT FORM 2026-10-12 */
/* Fixes the nested password control in Team accounts without changing behavior. */
#teamAccountsPanel label:has(#teamAccountPassword){
  grid-column:1/-1;
}
#teamAccountsPanel label:has(#teamAccountPassword)>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:10px!important;
  margin-top:7px;
}
#teamAccountsPanel label:has(#teamAccountPassword) .password-field{
  min-width:0;
  margin:0;
}
#teamAccountsPanel #teamAccountPassword{
  width:100%;
  min-width:0;
  min-height:46px;
  height:46px;
  margin:0;
  padding:10px 82px 10px 13px!important;
  border:1px solid #dce1e9;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:13px;
  line-height:1.35;
  box-sizing:border-box;
}
#teamAccountsPanel #teamAccountPassword:focus{
  border-color:#ff8a61;
  box-shadow:0 0 0 4px rgba(255,92,36,.09);
  outline:0;
}
#teamAccountsPanel #teamPasswordGenerate{
  min-height:46px;
  height:46px;
  align-self:stretch;
  padding:0 16px;
  white-space:nowrap;
}
#teamAccountsPanel .password-toggle{
  right:8px;
}
#teamAccountsPanel>.card-actions{
  margin-top:14px!important;
}

/* Slightly tighter operational panels on lead detail while preserving all controls. */
.ap-reminder-panel,
#supportLeadPanel,
#commercialPanel{
  scroll-margin-top:18px;
}
#supportLeadPanel textarea{
  min-height:78px;
}
#commercialPanel .ap-offer-create{
  margin-bottom:12px;
}

@media(max-width:760px){
  #teamAccountsPanel label:has(#teamAccountPassword)>div{
    grid-template-columns:1fr;
  }
  #teamAccountsPanel #teamPasswordGenerate{
    width:100%;
  }
}

/* ADSPROTEGO UX R27 - COMPACT LEAD WORKSPACE 2026-10-12 */
/* Reduce page scrolling on desktop without hiding actions or changing behavior. */
@media(min-width:1180px){
  #route-leads:has(#supportLeadPanel){
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:14px 16px;
    align-items:start;
  }
  #route-leads:has(#supportLeadPanel)>.detail-toolbar,
  #route-leads:has(#supportLeadPanel)>#apContactStatus,
  #route-leads:has(#supportLeadPanel)>.lead-detail-grid,
  #route-leads:has(#supportLeadPanel)>#commercialPanel{
    grid-column:1/-1;
  }
  #route-leads:has(#supportLeadPanel)>.ap-reminder-panel{
    grid-column:1;
    margin-top:0;
  }
  #route-leads:has(#supportLeadPanel)>#supportLeadPanel{
    grid-column:2;
    margin-top:0;
  }
  #route-leads:has(#supportLeadPanel)>#commercialPanel{
    margin-top:0;
  }
  #route-leads:has(#supportLeadPanel)>.detail-toolbar{
    margin-bottom:0;
  }
  #route-leads:has(#supportLeadPanel)>#apContactStatus{
    margin-bottom:0;
  }
}

@media(min-width:1320px){
  .lead-detail-grid{
    grid-template-columns:minmax(0,1.48fr) minmax(310px,.62fr);
    gap:14px;
    align-items:start;
  }
  .lead-detail-grid>.lead-overview-panel{
    grid-row:1 / span 2;
  }
  .lead-detail-grid>.activity-panel{
    grid-column:2;
    grid-row:1;
  }
  .lead-detail-grid>.notes-panel{
    grid-column:2;
    grid-row:2;
  }
  .lead-overview-panel .detail-fields{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px 10px;
  }
  .lead-overview-panel .detail-fields>div{
    padding:9px 10px;
    border-radius:10px;
  }
  .lead-overview-panel .next-action-box{
    margin-top:11px;
    padding:11px 12px;
  }
  .activity-panel,
  .notes-panel{
    padding:16px;
  }
  .activity-panel .panel-header,
  .notes-panel .panel-header{
    margin-bottom:10px;
  }
  .activity-panel .timeline-item,
  .notes-panel .timeline-item{
    padding:10px;
  }
  .notes-panel .empty-state{
    padding:20px 14px;
  }
}

@media(min-width:1180px){
  .ap-reminder-panel,
  #supportLeadPanel{
    padding:18px;
  }
  .ap-reminder-panel .panel-header,
  #supportLeadPanel .panel-header{
    margin-bottom:12px;
  }
  .ap-reminder-form{
    gap:10px 12px;
  }
  .ap-reminder-form input,
  .ap-reminder-result select,
  .ap-reminder-result input{
    min-height:40px;
  }
  #supportLeadPanel .detail-fields{
    gap:10px;
    margin-bottom:10px;
  }
  #supportLeadPanel textarea{
    min-height:64px;
  }
  #supportLeadPanel .card-actions{
    margin-top:10px;
  }
  #commercialPanel{
    padding:18px;
  }
  #commercialPanel .ap-sales-flow-head{
    margin-bottom:12px;
  }
  #commercialPanel .ap-offer-create{
    padding:12px;
    gap:8px 10px;
    margin-bottom:10px;
  }
  #commercialPanel .empty-state{
    padding:20px 16px;
  }
}

/* ADSPROTEGO UX R28 - SALES WIZARD COMPACT 2026-10-12 */
/* Keep the first commercial action on one guided row on desktop and make the next CTA obvious. */
@media(min-width:980px){
  #commercialPanel .ap-offer-create{
    display:grid!important;
    grid-template-columns:minmax(210px,260px) minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:10px 12px!important;
  }
  #commercialPanel .ap-offer-create>label{
    min-width:0;
    margin:0;
  }
  #commercialPanel .ap-offer-create>#createCommercialOffer{
    align-self:end;
    min-width:150px;
    margin:0;
  }
}

#commercialPanel #createCommercialOffer{
  background:linear-gradient(180deg,#ff6a38 0%,#ff5c24 100%);
  border-color:#ff5c24;
  color:#fff;
  box-shadow:0 8px 18px rgba(255,92,36,.18);
  font-weight:800;
}
#commercialPanel #createCommercialOffer:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(255,92,36,.22);
}
#commercialPanel #createCommercialOffer:disabled{
  transform:none;
  box-shadow:none;
  opacity:.62;
}

#commercialPanel .ap-sales-flow-head h3{
  letter-spacing:-.015em;
}
#commercialPanel .ap-sales-flow-head p{
  max-width:760px;
}
#commercialPanel .ap-offer-create{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
#commercialPanel .ap-offer-create label{
  min-width:0;
}
#commercialPanel .ap-offer-create label>input,
#commercialPanel .ap-offer-create label>select{
  margin-top:0;
}
#commercialPanel .ap-sale-card{
  box-shadow:0 8px 24px rgba(24,35,55,.035);
}
#commercialPanel .ap-sale-action{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
#commercialPanel .ap-sale-step{
  min-height:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
#commercialPanel .empty-state{
  border-style:dashed;
  background:#fbfcfd;
}

@media(max-width:979px){
  #commercialPanel .ap-offer-create{
    grid-template-columns:1fr!important;
  }
  #commercialPanel #createCommercialOffer{
    width:100%;
  }
}

/* R29 — Oferte și oportunități: command view */
#route-opportunities .admin-hero{margin-bottom:14px;background:linear-gradient(135deg,#fff 0%,#fff9f6 100%)}
#route-opportunities .admin-hero .muted{max-width:900px}
.opportunity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.opportunity-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 17px;box-shadow:0 5px 18px rgba(24,35,55,.035)}
.opportunity-summary span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.opportunity-summary strong{display:block;margin-top:6px;font-size:24px;line-height:1;font-weight:900;letter-spacing:-.035em}
.opportunity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:0!important;padding:12px 14px}
.opportunity-search-wrap{flex:1;min-width:220px}
.opportunity-search-wrap input{width:100%;height:42px;border:1px solid var(--line);border-radius:12px;padding:0 13px;background:#fbfcfd}
.opportunity-filters{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.opportunity-filters button{height:36px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#596274;padding:0 11px;font-size:12px;font-weight:800}
.opportunity-filters button span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:4px;border-radius:999px;background:#f1f3f7;font-size:10px}
.opportunity-filters button.active{border-color:#ffd4c5;background:#fff1eb;color:#d94712}
.opportunity-filters button.active span{background:#fff;color:#d94712}
.opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.opportunity-card{position:relative;overflow:hidden;margin-top:0!important;padding:17px 18px!important;box-shadow:0 8px 24px rgba(24,35,55,.045)}
.opportunity-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--orange),var(--orange2))}
.opportunity-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.opportunity-card-main{min-width:0}
.opportunity-card h3{margin:8px 0 3px;font-size:17px;line-height:1.25;letter-spacing:-.02em}
.opportunity-badges{display:flex;gap:6px;flex-wrap:wrap}
.opportunity-domain{font-size:12px;color:var(--muted);word-break:break-word}
.opportunity-priority{flex:0 0 auto;min-width:78px;text-align:center;padding:9px 10px;border-radius:13px;background:#fff6f1;border:1px solid #ffdfd2}
.opportunity-priority span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#a45332;font-weight:900}
.opportunity-priority strong{display:block;margin-top:3px;font-size:22px;color:#d94712;line-height:1}
.opportunity-card-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:17px;padding-top:13px;border-top:1px solid #eef1f4}
.opportunity-stage span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--muted);font-weight:800}
.opportunity-stage strong{display:block;margin-top:3px;font-size:12px}
.opportunity-card .card-actions{margin-top:0}
.opportunity-card .open-lead-button{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange2));border-color:transparent;box-shadow:0 7px 16px rgba(255,92,36,.18)}
.opportunity-empty{margin-top:14px}
@media(max-width:1100px){.opportunity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-toolbar{align-items:stretch;flex-direction:column}.opportunity-filters{justify-content:flex-start}}
@media(max-width:760px){.opportunity-summary{display:flex;overflow-x:auto;gap:9px;margin:0 -12px 12px;padding:0 12px 4px;scrollbar-width:none}.opportunity-summary::-webkit-scrollbar{display:none}.opportunity-summary>div{min-width:145px}.opportunity-grid{grid-template-columns:1fr;gap:10px;margin-top:10px}.opportunity-toolbar{padding:12px}.opportunity-search-wrap{min-width:0;width:100%}.opportunity-filters{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;scrollbar-width:none}.opportunity-filters::-webkit-scrollbar{display:none}.opportunity-filters button{flex:0 0 auto}.opportunity-card-foot{align-items:stretch;flex-direction:column}.opportunity-card .card-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.opportunity-card .open-lead-button{grid-column:1/-1}}

/* R30 — Reveniri: command view */
.followup-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.followup-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 17px;box-shadow:0 5px 18px rgba(24,35,55,.035)}
.followup-summary span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.followup-summary strong{display:block;margin-top:6px;font-size:25px;line-height:1;font-weight:900;letter-spacing:-.035em}
.followup-summary .summary-overdue{border-color:#ffd2d4;background:#fff9f9}.followup-summary .summary-overdue strong{color:#c53030}
.followup-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px!important;margin-top:0!important}
.followup-toolbar>input{flex:1;min-width:220px;height:42px;border:1px solid var(--line);border-radius:12px;padding:0 13px;background:#fbfcfd}
.followup-filters{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.followup-filters button{height:36px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#596274;padding:0 11px;font-size:12px;font-weight:800}
.followup-filters button span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:4px;border-radius:999px;background:#f1f3f7;font-size:10px}
.followup-filters button.active{border-color:#ffd4c5;background:#fff1eb;color:#d94712}.followup-filters button.active span{background:#fff;color:#d94712}
.followup-list{display:grid;gap:12px;margin-top:14px}.followup-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 18px!important;margin-top:0!important;position:relative;overflow:hidden}
.followup-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#dfe4eb}.followup-card.is-overdue:before{background:#e5484d}
.followup-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.followup-state{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:900;background:#f1f3f7;color:#596274}.followup-state.overdue{background:#fff0f0;color:#c53030}.followup-state.today{background:#fff6e7;color:#946200}.followup-state.upcoming{background:#eaf9f2;color:#087c52}
.followup-priority{font-size:11px;color:var(--muted);font-weight:800}.followup-priority strong{color:#d94712}
.followup-card h3{margin:8px 0 4px;font-size:17px;line-height:1.25;letter-spacing:-.02em}.followup-meta{font-size:12px;color:var(--muted)}.followup-note{margin-top:8px;color:#485263;font-size:12px;line-height:1.45}
.followup-card-side{display:flex;align-items:center;gap:18px}.followup-due{text-align:right;min-width:120px}.followup-due span{display:block;font-size:11px;color:var(--muted);font-weight:800}.followup-due strong{display:block;margin-top:2px;font-size:16px;color:#d94712}
.followup-actions{display:flex;gap:7px;align-items:center}.followup-actions .followup-call{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange2));border-color:transparent;box-shadow:0 7px 16px rgba(255,92,36,.18)}
.followup-empty{margin-top:14px}
@media(max-width:1100px){.followup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-toolbar{align-items:stretch;flex-direction:column}.followup-filters{justify-content:flex-start}.followup-card-side{align-items:flex-end;flex-direction:column}.followup-due{text-align:right}}
@media(max-width:760px){.followup-summary{display:flex;overflow-x:auto;gap:9px;margin:0 -12px 12px;padding:0 12px 4px;scrollbar-width:none}.followup-summary::-webkit-scrollbar{display:none}.followup-summary>div{min-width:145px}.followup-toolbar{padding:12px!important}.followup-toolbar>input{min-width:0;width:100%}.followup-filters{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;scrollbar-width:none}.followup-filters::-webkit-scrollbar{display:none}.followup-filters button{flex:0 0 auto}.followup-card{grid-template-columns:1fr;gap:12px}.followup-card-side{display:block}.followup-due{text-align:left;margin-bottom:10px}.followup-actions{display:grid;grid-template-columns:1fr 1fr}.followup-actions .open-lead-button{grid-column:1/-1}}

/* AP_SALES_UX_R31_MY_DAY_20261014 */
.myday-score-card .stat-value{color:var(--orange)}
.myday-secondary{align-items:start}
.myday-all-clear,.myday-clear-summary{margin-top:18px;padding:17px 20px}
.myday-all-clear{display:flex;align-items:center;justify-content:space-between;gap:16px;border-style:dashed;background:#fbfcfd;color:var(--muted)}
.myday-all-clear strong{color:var(--text)}
.myday-clear-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.myday-clear-summary .panel-title{font-size:14px;white-space:nowrap}
.myday-clear-list{display:flex;gap:8px;flex-wrap:wrap}
.myday-clear-list span{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#edf9f3;color:#087c52;font-size:11px;font-weight:800;border:1px solid #d3efe1}
@media(max-width:760px){.myday-all-clear{display:block}.myday-all-clear span{display:block;margin-top:6px}.myday-clear-summary{display:block}.myday-clear-list{margin-top:10px}.myday-clear-list span{width:100%;border-radius:11px}}

/* AP_SALES_UX_R32_CALENDAR_20261014 */
#route-calendar .admin-hero{margin-bottom:14px;background:linear-gradient(135deg,#fff 0%,#fff9f6 100%)}
.calendar-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.calendar-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 17px;box-shadow:0 5px 18px rgba(24,35,55,.035)}
.calendar-summary span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.calendar-summary strong{display:block;margin-top:6px;font-size:25px;line-height:1;font-weight:900;letter-spacing:-.035em}
.calendar-summary .summary-overdue{border-color:#ffd2d4;background:#fff9f9}.calendar-summary .summary-overdue strong{color:#c53030}
.calendar-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:0!important;padding:13px 14px!important}
.calendar-presets{display:flex;gap:7px;flex-wrap:wrap}
.calendar-presets button{height:37px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#596274;padding:0 12px;font-size:12px;font-weight:800}
.calendar-presets button.active,.calendar-presets button:hover{border-color:#ffd4c5;background:#fff1eb;color:#d94712}
.calendar-range{display:flex;align-items:flex-end;gap:9px}.calendar-range label{display:grid;gap:5px;margin:0}.calendar-range label span{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--muted);font-weight:800}.calendar-range input{height:39px;min-width:145px;border:1px solid var(--line);border-radius:11px;padding:0 10px;background:#fbfcfd}.calendar-range .secondary-button{height:39px}
.calendar-agenda{display:grid;gap:16px;margin-top:14px}.calendar-agenda-section{display:grid;gap:10px}.calendar-section-head{display:flex;align-items:center;gap:9px}.calendar-section-head h3{margin:0;font-size:15px;letter-spacing:-.01em}.calendar-section-head span{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#eef1f5;color:#667085;font-size:11px;font-weight:900}.calendar-agenda-section.is-overdue .calendar-section-head h3{color:#b42318}.calendar-agenda-section.is-overdue .calendar-section-head span{background:#fff0f0;color:#c53030}
.calendar-action-list{display:grid;gap:10px}.calendar-action-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:0!important;padding:15px 17px!important;position:relative;overflow:hidden}.calendar-action-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#dfe4eb}.calendar-action-card.is-overdue:before{background:#e5484d}.calendar-action-card.is-today:before{background:#f59e0b}
.calendar-action-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.calendar-state,.calendar-action-type{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900}.calendar-state{background:#eef2f6;color:#596274}.calendar-state.overdue{background:#fff0f0;color:#c53030}.calendar-state.today{background:#fff6e7;color:#946200}.calendar-state.upcoming{background:#eaf9f2;color:#087c52}.calendar-action-type{background:#f5f6f8;color:#667085}.calendar-priority{font-size:11px;color:var(--muted);font-weight:800}.calendar-priority strong{color:#d94712}.calendar-action-card h3{margin:7px 0 3px;font-size:16px;line-height:1.25;letter-spacing:-.018em}.calendar-domain{font-size:11px;color:var(--muted)}.calendar-note{margin-top:7px;font-size:12px;line-height:1.45;color:#485263}.calendar-action-side{display:flex;align-items:center;gap:16px}.calendar-due{text-align:right;min-width:125px}.calendar-due span{display:block;font-size:11px;color:var(--muted);font-weight:800}.calendar-due strong{display:block;margin-top:2px;font-size:15px;color:#d94712}.calendar-action-side .card-actions{margin-top:0}.calendar-empty{margin-top:14px}.calendar-limit{margin-top:10px}
@media(max-width:1100px){.calendar-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-toolbar{align-items:stretch;flex-direction:column}.calendar-range{width:100%}.calendar-range label{flex:1}.calendar-range input{width:100%;min-width:0}.calendar-action-side{align-items:flex-end;flex-direction:column}.calendar-due{text-align:right}}
@media(max-width:760px){.calendar-summary{display:flex;overflow-x:auto;gap:9px;margin:0 -12px 12px;padding:0 12px 4px;scrollbar-width:none}.calendar-summary::-webkit-scrollbar{display:none}.calendar-summary>div{min-width:145px}.calendar-toolbar{padding:12px!important}.calendar-presets{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.calendar-presets::-webkit-scrollbar{display:none}.calendar-presets button{flex:0 0 auto}.calendar-range{display:grid;grid-template-columns:1fr 1fr}.calendar-range .secondary-button{grid-column:1/-1;width:100%}.calendar-action-card{grid-template-columns:1fr;gap:11px}.calendar-action-side{display:block}.calendar-due{text-align:left;margin-bottom:9px}.calendar-action-side .card-actions{display:grid;grid-template-columns:1fr 1fr}.calendar-action-side .open-lead-button{grid-column:1/-1}}

/* AP_SALES_UX_R33_CONTACT_QUEUE_20261014 */
.contact-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.contact-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 17px;box-shadow:0 5px 18px rgba(24,35,55,.035)}
.contact-summary span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.contact-summary strong{display:block;margin-top:6px;font-size:25px;line-height:1;font-weight:900;letter-spacing:-.035em}
.contact-summary .summary-overdue{border-color:#ffd2d4;background:#fff9f9}.contact-summary .summary-overdue strong{color:#c53030}
.contact-summary .summary-warning{border-color:#f8dca2;background:#fffaf0}.contact-summary .summary-warning strong{color:#c77808}
.contact-toolbar{display:flex;align-items:center;gap:12px;padding:12px 14px!important;margin-bottom:14px}
.contact-toolbar>input{flex:1;min-width:240px;margin:0!important}
.contact-filters{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.contact-filters button{min-height:34px;padding:0 11px;border-radius:999px;border:1px solid #e4e8ee;background:#fff;color:#5b6576;font-size:11px;font-weight:800;cursor:pointer}
.contact-filters button span{margin-left:5px;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#f2f4f7;font-size:10px}
.contact-filters button.active{border-color:#ffd2c4;background:#fff1eb;color:#d94712}
.contact-queue-sections{display:grid;gap:16px}.contact-section{min-width:0}.contact-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 9px}
.contact-section-head h3{margin:0;font-size:16px}.contact-section-head p{margin:3px 0 0;color:var(--muted);font-size:11px}.contact-list{display:grid;gap:10px}
.contact-lead-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 18px!important;margin:0!important;position:relative;overflow:hidden}
.contact-lead-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#f0a13c}.contact-lead-topline{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.contact-reason{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#fff5e8;color:#b66608;border:1px solid #f8ddb3;font-size:10px;font-weight:900}
.contact-lead-card h3{margin:8px 0 4px;font-size:17px;line-height:1.25;letter-spacing:-.02em}.contact-lead-actions .card-actions{margin-top:0}.contact-schedule .open-lead-button{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange2));border-color:transparent;box-shadow:0 7px 16px rgba(255,92,36,.16)}
.contact-clear-summary{margin-top:16px}.contact-queue-empty{margin-top:14px}
@media(max-width:1100px){.contact-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-toolbar{align-items:stretch;flex-direction:column}.contact-filters{justify-content:flex-start}.contact-lead-card{grid-template-columns:1fr}.contact-lead-actions .card-actions{justify-content:flex-start}}
@media(max-width:760px){.contact-summary{display:flex;overflow-x:auto;gap:9px;margin:0 -12px 12px;padding:0 12px 4px;scrollbar-width:none}.contact-summary::-webkit-scrollbar{display:none}.contact-summary>div{min-width:145px}.contact-toolbar{padding:12px!important}.contact-toolbar>input{min-width:0;width:100%}.contact-filters{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;scrollbar-width:none}.contact-filters::-webkit-scrollbar{display:none}.contact-filters button{flex:0 0 auto}.contact-section-head{align-items:flex-start}.contact-lead-card{display:block;padding:14px!important}.contact-lead-actions{margin-top:10px}.contact-lead-actions .card-actions{display:grid;grid-template-columns:1fr 1fr}.contact-lead-actions .open-lead-button{grid-column:1/-1}.contact-queue-hero .queue-total{min-width:74px}}

/* AP_SALES_UX_R34_PIPELINE_COMMAND_BOARD */
.pipeline-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.pipeline-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.pipeline-summary span{display:block;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pipeline-summary strong{display:block;font-size:26px;margin-top:5px}.pipeline-notice{font-size:12px;color:#855a26;background:#fff9ef;border:1px solid #f5ddba;padding:10px 14px;border-radius:12px}.pipeline-toolbar{display:flex;align-items:center;gap:12px;padding:13px!important;margin-bottom:15px}.pipeline-toolbar input{flex:1;min-width:230px;margin:0!important}.pipeline-filters{display:flex;gap:7px;flex-wrap:wrap}.pipeline-filters button{border:1px solid #e4e8ee;border-radius:999px;background:#fff;padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer}.pipeline-filters button.active{color:#c94d23;border-color:#ffcfbd;background:#fff2ec}.pipeline-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:12px;overflow-x:auto;padding-bottom:12px;align-items:start}.pipeline-column{border:1px solid #e6e9ef;background:#f8f9fc;border-radius:17px;padding:12px;min-height:180px}.pipeline-column-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 3px 12px}.pipeline-column-heading h3{margin:0;font-size:14px}.pipeline-column-heading span{border:1px solid #dfe4eb;background:#fff;border-radius:99px;min-width:25px;text-align:center;font-size:12px;font-weight:800;padding:4px}.pipeline-column-cards{display:grid;gap:10px}.pipeline-lead{padding:14px;background:#fff;border:1px solid #e8ebef;border-radius:13px;box-shadow:0 3px 12px rgba(23,32,49,.035)}.pipeline-lead h4{font-size:14px;line-height:1.35;margin:10px 0 5px;overflow-wrap:anywhere}.pipeline-lead-top{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap}.pipeline-pill{color:#576174;background:#f0f2f6;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}.pipeline-score{color:#687286;font-size:10px;font-weight:800}.pipeline-score.is-high{color:#cb5126}.pipeline-domain{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.pipeline-offer{margin-top:8px}.pipeline-actions{margin-top:13px}.pipeline-actions .card-actions{display:flex;gap:5px;flex-wrap:wrap;margin:0}.pipeline-actions .card-actions>*{padding:7px 8px;font-size:10px}.pipeline-column-empty{margin:12px 2px;color:#8790a0;font-size:12px}.pipeline-lead[hidden],.pipeline-column[hidden],.pipeline-column-empty[hidden]{display:none!important}
@media(max-width:1100px){.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-toolbar{flex-direction:column;align-items:stretch}.pipeline-board{grid-auto-columns:minmax(260px,75vw)}}
@media(max-width:760px){.pipeline-summary{display:flex;overflow-x:auto;gap:9px}.pipeline-summary>div{min-width:145px}.pipeline-toolbar input{min-width:0;width:100%}.pipeline-filters{flex-wrap:nowrap;overflow-x:auto}.pipeline-filters button{flex:0 0 auto}.pipeline-board{grid-auto-columns:minmax(260px,88vw)}}

/* AP_SALES_UX_R35_PLAYBOOK_PRO */
.playbook-hero{padding:25px 28px;border:1px solid #eaded8;border-radius:20px;background:linear-gradient(115deg,#fff,#fff5ef);margin-bottom:16px}.playbook-eyebrow{font-size:11px;font-weight:900;letter-spacing:.13em;color:#ca552e}.playbook-hero h2{font-size:27px;margin:9px 0}.playbook-hero p{color:#646d7b;line-height:1.6;margin:0 0 12px}.playbook-note{font-size:12px;line-height:1.5;color:#75553e;background:#fff8ef;border:1px solid #f6dec4;padding:11px 13px;border-radius:12px}.playbook-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:13px 15px;background:#fff;border:1px solid #e6e9ee;border-radius:16px;margin-bottom:15px}.playbook-tabs{display:flex;gap:7px;flex-wrap:wrap}.playbook-tabs button{font-size:12px;font-weight:800;border-radius:10px;border:1px solid #e6e9ef;background:#fff;color:#566174;padding:11px 13px;cursor:pointer}.playbook-tabs button.active{background:#ffefe8;color:#c54d22;border-color:#ffcbb8}.playbook-search-label{font-size:11px;font-weight:800;color:#667085;min-width:250px}.playbook-search-label input{display:block;margin-top:5px!important;margin-bottom:0!important;min-height:40px;width:100%;padding:8px 12px;border-radius:10px;border:1px solid #dce2ea;background:#fff}.playbook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.playbook-card{background:#fff;border:1px solid #e5e9ef;border-radius:17px;padding:20px;box-shadow:0 5px 17px #202b3810;min-width:0}.playbook-card h3{font-size:17px;line-height:1.3;margin:13px 0 9px}.playbook-card p{font-size:13px;line-height:1.7;color:#48566a;white-space:pre-line}.playbook-chip{display:inline-block;border-radius:20px;background:#f2f4f7;color:#687385;font-size:11px;font-weight:800;padding:5px 10px}.playbook-card-actions{margin-top:16px}.playbook-price{font-size:27px;font-weight:900;color:#cf542d}.playbook-card .playbook-hint{font-size:11px;color:#7e8592}.playbook-empty{padding:35px;background:#fff;border:1px dashed #d9dfe8;border-radius:15px;color:#667085}.playbook-feedback{font-size:12px;color:#287a50;padding:8px 3px;min-height:24px}
@media(max-width:1050px){.playbook-toolbar{align-items:stretch;flex-direction:column}.playbook-search-label{min-width:0}.playbook-grid{grid-template-columns:1fr}}@media(max-width:700px){.playbook-hero{padding:18px}.playbook-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.playbook-tabs button{padding:10px 8px}.playbook-card{padding:16px}}

/* AP_SALES_UX_R36_MANAGEMENT_ANALYTICS */
.r36-helper,.r36-report-detail{margin-top:16px;padding:20px}.r36-helper h3,.r36-report-detail h3{margin:0 0 12px}.r36-helper p{color:var(--muted);line-height:1.55}.r36-note{font-size:12px;color:var(--muted);line-height:1.5;margin:7px 0 0}.r36-stat{min-height:120px}.r36-toolbar{padding:16px;display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.r36-toolbar label{min-width:210px;max-width:340px;flex:1}.r36-toolbar select{width:100%;margin-top:6px}.r36-section-title{margin:20px 0 10px;font-size:16px}.r36-section-note{margin:-6px 0 10px}.r36-rank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}.r36-rank{padding:19px}.r36-rank-top{display:flex;gap:13px;align-items:center}.r36-rank-top h3{margin:0}.r36-rank-place{background:#fff1e9;color:#bc572c;border-radius:12px;padding:12px;font-weight:800}.r36-rank-score{margin-left:auto;font-size:26px;white-space:nowrap}.r36-rank-score small{display:block;text-align:right;font-size:11px;color:var(--muted)}.r36-rank-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px}.r36-rank-metrics span{background:#f7f8fa;border-radius:10px;padding:11px;font-size:12px;color:#687286}.r36-rank-metrics b{float:right;color:#172133}.r36-agent-table-wrap{overflow-x:auto}.r36-agent-table{width:100%;border-collapse:collapse;text-align:left;min-width:640px}.r36-agent-table th,.r36-agent-table td{padding:12px;border-bottom:1px solid #e9ebef;font-size:12px}.r36-agent-table thead th{font-size:11px;color:var(--muted)}@media(max-width:720px){.r36-toolbar{align-items:stretch;flex-direction:column}.r36-toolbar label{max-width:none}.r36-rank-grid{grid-template-columns:1fr}.r36-rank-score{font-size:22px}}


/* AP_SALES_UX_R37_TEAM_SETTINGS_POLISH */
.team-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.team-context-note{color:var(--muted);font-size:11px;margin-left:auto;max-width:560px;text-align:right}.serp-keys-panel{margin-top:16px}.serp-keys-loading{padding:14px;border:1px solid var(--line);border-radius:12px;color:var(--muted)}.serp-keys-details{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.serp-keys-details>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;list-style:none}.serp-keys-details>summary::-webkit-details-marker{display:none}.serp-keys-details>summary>div:first-child{display:grid;gap:3px}.serp-keys-details>summary span{color:var(--muted);font-size:11px}.serp-keys-summary{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.serp-keys-body{border-top:1px solid var(--line);padding:14px 16px}.serp-keys-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.serp-key-slot{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fbfcfe}.serp-key-slot.is-configured{background:#fff}.serp-key-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.serp-key-head>div{display:grid;gap:3px}.serp-key-hint{font-size:10px;color:var(--muted)}.serp-key-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:7px}.serp-key-actions{margin-top:9px!important}.serp-key-add{display:grid;gap:6px;margin:9px 0}.serp-key-add span{font-size:10px;font-weight:700;color:var(--muted)}.serp-key-add input{margin:0!important}.sync-status-card{display:grid;gap:12px}.sync-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.sync-status-head p{margin:4px 0 0}.sync-status-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.sync-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:10px}.sync-status-grid>div{border:1px solid var(--line);border-radius:11px;padding:10px 12px}.sync-status-grid span{display:block;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.sync-status-grid strong{display:block;font-size:20px;margin-top:3px}.sync-entity-grid{display:grid;gap:8px}.sync-entity-row{display:grid;grid-template-columns:minmax(100px,1.3fr) repeat(4,minmax(90px,1fr));gap:8px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px 12px;font-size:11px}.sync-entity-row span{color:var(--muted)}.sync-entity-row .needs-review,.sync-entity-row .has-errors{color:#b84b30;font-weight:800}.sync-issues{border-top:1px solid var(--line);padding-top:10px}.sync-issues>summary{cursor:pointer;font-weight:800;font-size:12px}.sync-issues-list{display:grid;gap:8px;margin-top:10px}.sync-issue{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #f0d7ce;background:#fff9f6;border-radius:11px;padding:10px}.sync-issue>div{display:grid;gap:2px}.sync-issue span,.sync-issue p{font-size:10px;color:var(--muted);margin:0}.directory-panel .empty-state{min-height:130px;display:grid;place-items:center;text-align:center}.calendar-presets button[data-calendar-preset="operational"]{white-space:nowrap}
@media(max-width:900px){.team-context-note{margin-left:0;text-align:left;width:100%}.serp-keys-grid{grid-template-columns:1fr}.serp-keys-details>summary,.sync-status-head{align-items:flex-start;flex-direction:column}.serp-keys-summary,.sync-status-badges{justify-content:flex-start}.sync-entity-row{grid-template-columns:1fr 1fr}.sync-entity-row strong{grid-column:1/-1}.sync-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* AP_SALES_UX_R39_NOTIFICATION_CSP_FIX
   R38 notification styles moved from index.html into external app.css because production CSP is style-src 'self'. */
.notification-anchor{position:relative}.notification-toggle{display:inline-flex;align-items:center;gap:7px}.notification-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(470px,calc(100vw - 28px));max-height:min(76vh,650px);overflow:hidden;background:#fff;color:var(--text,#172133);box-shadow:0 24px 70px rgba(23,32,49,.22);border:1px solid #dce3ed;border-radius:20px;padding:0;z-index:1000}.notification-panel[hidden]{display:none}.notification-header,.notification-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-header{padding:16px 17px 12px;border-bottom:1px solid #edf0f4}.notification-title-wrap{display:grid;gap:2px;min-width:0}.notification-title-wrap strong{font-size:15px}.notification-title-wrap span{font-size:11px;color:var(--muted)}.notification-header-actions{display:flex;gap:3px;align-items:center}.notification-header-actions .ghost-button{font-size:11px;padding:7px 8px}.notification-filters{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid #edf0f4;background:#fafbfc}.notification-filters button{border:1px solid transparent;background:transparent;border-radius:999px;padding:7px 10px;color:#687286;font-size:11px;font-weight:800}.notification-filters button.active{background:#fff1eb;border-color:#ffd8ca;color:#d94712}.notification-filters span{display:inline-flex;min-width:19px;justify-content:center;margin-left:3px;padding:1px 5px;border-radius:999px;background:#eef1f5;color:#596274}.notification-items{max-height:min(58vh,510px);overflow:auto;padding:7px 10px 10px}.notification-item{padding:12px 10px;border-bottom:1px solid #edf0f4;border-radius:12px}.notification-item:last-child{border-bottom:0}.notification-item.unread{background:#fff8f4}.notification-item-main p{margin:6px 0 0;color:#596274;font-size:12px;line-height:1.5}.notification-title-line{display:flex;align-items:center;gap:7px;min-width:0}.notification-title-line strong{font-size:13px;line-height:1.35}.notification-row time{flex:0 0 auto;color:#8a93a3;font-size:10px}.notification-dot{width:7px;height:7px;border-radius:50%;background:#cfd5de;flex:0 0 auto}.notification-item.unread .notification-dot{background:var(--orange)}.notification-actions{display:flex;align-items:center;gap:6px;margin-top:10px;flex-wrap:wrap}.notification-mark-read{font-size:11px}.notification-empty{display:grid;gap:5px;padding:32px 18px;text-align:center;color:var(--muted)}.notification-empty strong{color:var(--text);font-size:13px}.notification-empty span{font-size:12px}.notification-empty.is-error strong{color:#b42318}#notificationCount{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#db3b47;color:#fff;font-size:11px;font-weight:900}
@media(max-width:760px){.notification-panel{position:fixed;left:10px;right:10px;top:68px;width:auto;max-height:calc(100vh - 92px);border-radius:18px}.notification-items{max-height:calc(100vh - 230px)}.notification-header{align-items:flex-start}.notification-header-actions{flex-direction:column;align-items:flex-end}.notification-header-actions .ghost-button{padding:5px 7px}.notification-row{align-items:flex-start}.notification-row time{margin-top:2px}}
\n\n/* AP_SALES_UX_R40_NOTIFICATION_ACTION_QUEUE */\n.notification-group-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.notification-group-meta span{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#f1f3f6;color:#667085;font-size:9px;font-weight:800}.notification-item.unread .notification-group-meta span:first-child{background:#fff0e9;color:#b6532c}\n@media(max-width:760px){.notification-group-meta{display:grid;justify-items:start}.notification-group-meta span{line-height:1.3}}\n

/* AP_SALES_UX_R41_SUPPORT_HANDOFF_COMMAND_BOARD */
.handoff-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:14px;background:linear-gradient(135deg,#fff 0%,#fff7f2 100%);border:1px solid #eadfd9;border-radius:22px}.handoff-hero h2{margin:4px 0 6px;font-size:28px;letter-spacing:-.035em}.handoff-hero p{margin:0;color:var(--muted)}.handoff-active-total{min-width:100px;text-align:center;background:#fff;border:1px solid #f1ddd3;border-radius:17px;padding:14px 18px}.handoff-active-total span{display:block;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.handoff-active-total strong{display:block;font-size:28px;margin-top:3px}.handoff-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.handoff-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 17px}.handoff-summary span{display:block;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.handoff-summary strong{display:block;font-size:25px;margin-top:5px}.handoff-summary-pending{border-color:#ffd7c8!important;background:#fffaf7!important}.handoff-summary-pending strong{color:#c9542d}.handoff-summary-accepted{border-color:#d5e7f7!important;background:#f9fcff!important}.handoff-summary-accepted strong{color:#246594}.handoff-toolbar{display:flex;align-items:center;gap:12px;padding:12px 14px!important;margin-bottom:16px}.handoff-toolbar>input{flex:1;min-width:250px;margin:0!important}.handoff-filters{display:flex;gap:7px;flex-wrap:wrap}.handoff-filters button{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e6ec;background:#fff;color:#606b7c;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer}.handoff-filters button span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f1f3f6;font-size:10px}.handoff-filters button.active{color:#c64c24;border-color:#ffcfbd;background:#fff1eb}.handoff-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.handoff-section{border:1px solid #e4e8ee;background:#f8f9fb;border-radius:18px;padding:12px;min-width:0}.handoff-section[hidden]{display:none}.handoff-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:2px 3px 11px}.handoff-section-head h3{margin:0;font-size:15px}.handoff-section-head p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.4}.handoff-section-head>span{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;border-radius:999px;background:#fff;border:1px solid #dfe4eb;font-size:11px;font-weight:800}.handoff-list{display:grid;gap:10px}.handoff-section-empty{padding:18px 10px;color:#8a93a2;font-size:11px;text-align:center}.handoff-card{padding:15px!important;margin:0!important;box-shadow:0 4px 14px rgba(23,32,49,.04);border-color:#e7eaf0!important}.handoff-card[hidden]{display:none!important}.handoff-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.handoff-card-top time{font-size:9px;color:#8a93a2;white-space:nowrap}.handoff-status-wrap{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.handoff-status{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:900}.handoff-status-pending{background:#fff0e8;color:#bb552b}.handoff-status-accepted{background:#eaf5ff;color:#28668f}.handoff-status-closed{background:#f0f2f5;color:#687284}.handoff-age{font-size:9px;font-weight:800;color:#8a93a2}.handoff-card h3{margin:12px 0 7px;font-size:15px;line-height:1.3}.handoff-meta{display:grid;gap:3px;color:#6a7484;font-size:10px}.handoff-note{margin:11px 0 0;color:#4f5c6e;font-size:11px;line-height:1.55;padding:10px 11px;background:#fafbfc;border-radius:10px}.handoff-step{margin:9px 0 0;font-size:10px;color:#6d7582;font-weight:700}.handoff-result{display:grid;gap:3px;margin-top:10px;padding:9px 10px;background:#f1f8f3;border:1px solid #d9eadf;border-radius:10px}.handoff-result span{font-size:9px;color:#6b7e71;text-transform:uppercase;font-weight:800}.handoff-result strong{font-size:11px;color:#355d43}.handoff-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px}.handoff-finish{display:flex;gap:7px;flex:1 1 100%;align-items:center}.handoff-finish select{min-width:0;flex:1;margin:0!important;padding:7px 9px}.handoff-confirm{width:100%;margin-top:3px;padding:11px 12px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed}.handoff-confirm[hidden]{display:none}.handoff-confirm .lead-meta{margin:5px 0 9px}.handoff-confirm .card-actions{margin:0}.handoff-filtered-empty{margin-top:14px;padding:25px;border:1px dashed #d9dfe8;border-radius:15px;text-align:center;color:var(--muted)}.handoff-filtered-empty[hidden]{display:none}
@media(max-width:1150px){.handoff-board{grid-template-columns:1fr 1fr}.handoff-section[data-handoff-section="closed"]{grid-column:1/-1}.handoff-toolbar{align-items:stretch;flex-direction:column}.handoff-filters{justify-content:flex-start}}
@media(max-width:760px){.handoff-hero{padding:18px;align-items:flex-start}.handoff-hero h2{font-size:23px}.handoff-active-total{min-width:72px;padding:10px}.handoff-summary{display:flex;overflow-x:auto;gap:8px;margin:0 -12px 13px;padding:0 12px 3px;scrollbar-width:none}.handoff-summary::-webkit-scrollbar{display:none}.handoff-summary>div{min-width:135px}.handoff-toolbar{padding:11px!important}.handoff-toolbar>input{min-width:0;width:100%}.handoff-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.handoff-filters::-webkit-scrollbar{display:none}.handoff-filters button{flex:0 0 auto}.handoff-board{grid-template-columns:1fr}.handoff-section[data-handoff-section="closed"]{grid-column:auto}.handoff-finish{align-items:stretch;flex-direction:column}.handoff-actions>.secondary-button,.handoff-actions>.primary-button{flex:1}.handoff-card-top{align-items:flex-start}}

/* AP_SALES_UX_R42_SALES_SHEET_COMMAND_WORKSPACE */
.lead-command{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(24,35,55,.035);scroll-margin-top:90px}
.lead-command-copy{min-width:0}.lead-command-copy>span{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.075em;color:#667085}.lead-command-copy>strong{display:block;margin-top:4px;font-size:17px;line-height:1.25;letter-spacing:-.018em}.lead-command-copy>p{margin:5px 0 0;color:#667085;font-size:12px;line-height:1.45;max-width:760px}.lead-command-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}.lead-command-actions .primary-button,.lead-command-actions .secondary-button{min-height:40px;height:40px;padding:0 13px}.lead-command-warning{background:#fffaf0;border-color:#f5ddb2}.lead-command-warning .lead-command-copy>span{color:#a15c13}.lead-command-danger{background:#fff5f5;border-color:#fecaca}.lead-command-danger .lead-command-copy>span,.lead-command-danger .lead-command-copy>strong{color:#b42318}.lead-command-ok{background:#f7fcf9;border-color:#d7eee0}.lead-command-ok .lead-command-copy>span{color:#18794e}.lead-command-neutral{background:#fafbfc}.ap-contact-status+ .lead-command{margin-top:10px}.ap-contact-status[hidden]+.lead-command{margin-top:0}
#apLeadReminderPanel,#supportLeadPanel,#commercialPanel{scroll-margin-top:90px}
@media(max-width:760px){.lead-command{display:block;padding:14px;margin-bottom:12px}.lead-command-copy>strong{font-size:16px}.lead-command-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}.lead-command-actions>*{width:100%}.lead-command-actions>.primary-button:first-child{grid-column:1/-1}}
@media(min-width:1180px){#route-leads:has(#supportLeadPanel)>.lead-command{grid-column:1/-1}}


/* AP_SALES_UX_R43_PROSPECTING_DIRECTORY_POLISH */
.prospect-history-panel{margin-top:14px;padding:15px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}
.prospect-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}.prospect-history-head h3{margin:3px 0 0;font-size:15px}.prospect-history-chips{display:flex;flex-wrap:wrap;gap:7px}.prospect-history-chips button strong{margin-left:4px}.prospect-history-copy{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.prospect-command-center{margin:15px 0 4px;border:1px solid var(--line);border-radius:15px;background:#f8fafc;overflow:hidden}.prospect-command-primary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 14px;border-bottom:1px solid var(--line);background:#fff}.prospect-select-all{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800}.prospect-select-all input{width:17px;height:17px}.prospect-result-tools{display:grid;grid-template-columns:minmax(230px,1fr) auto auto;gap:12px;align-items:end;padding:12px 14px}.prospect-result-search{display:grid;gap:5px}.prospect-result-search span{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--muted)}.prospect-result-search input{width:100%;min-height:39px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;font:inherit}.prospect-result-filters{display:flex;gap:6px;flex-wrap:wrap}.prospect-result-filters button{border:1px solid #e1e6ed;background:#fff;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:800;cursor:pointer}.prospect-result-filters button span{margin-left:3px;color:var(--muted)}.prospect-result-filters button.active{border-color:#ffceb9;background:#fff2ec;color:#c84e24}.prospect-visible-count{font-size:11px;color:var(--muted);white-space:nowrap;padding-bottom:9px}.prospect-card-command-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.prospect-card-badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.prospect-result-card.is-in-work{border-color:#d8e8df;background:#fcfffd}.prospect-result-card.is-available:hover{border-color:#ffd1bf;box-shadow:0 7px 22px rgba(23,32,49,.055)}.prospect-crm-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;border-style:solid;background:#fffaf7}.prospect-crm-ready>div{display:grid;gap:3px}.prospect-crm-ready span{color:var(--muted);font-size:11px;line-height:1.4}.prospect-missing-contact{color:#6b7280;background:#f0f2f5}
.directory-command{display:grid;gap:10px;margin:14px 0 2px}.directory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.directory-stats>div{border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:10px 12px}.directory-stats span{display:block;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.directory-stats strong{display:block;margin-top:3px;font-size:20px}.directory-quick-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.directory-quick-filters button{border:1px solid #e1e6ed;background:#fff;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:800;cursor:pointer}.directory-quick-filters button span{margin-left:3px;color:var(--muted)}.directory-quick-filters button.active{border-color:#ffceb9;background:#fff2ec;color:#c84e24}.directory-quick-filters small{margin-left:auto;color:var(--muted)}.directory-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.directory-contact .is-missing{color:#8a93a2;font-style:italic}.directory-filter-empty{margin-top:10px;min-height:90px!important}
@media(max-width:1000px){.prospect-result-tools{grid-template-columns:1fr}.prospect-visible-count{padding:0}.directory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.prospect-command-primary{align-items:stretch}.prospect-command-primary .primary-button{width:100%}.prospect-result-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.prospect-result-filters button{flex:0 0 auto}.prospect-card-command-row{align-items:flex-start}.prospect-card-badges{max-width:58%}.prospect-crm-ready{align-items:stretch;flex-direction:column}.prospect-crm-ready .primary-button{width:100%}.directory-stats{display:flex;overflow-x:auto}.directory-stats>div{min-width:130px}.directory-quick-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.directory-quick-filters button{flex:0 0 auto}.directory-quick-filters small{display:none}}

.prospect-scan-mode{display:flex;align-items:center;gap:8px;margin:10px 0 4px}.prospect-scan-mode input{width:16px;height:16px}.prospect-scan-mode .muted{font-size:11px}


/* AP_SALES_R44_TEAM_ACCOUNT_ADMIN */
#teamAccountsPanel{overflow:hidden}.team-accounts-table{min-width:1320px}.team-accounts-table td{vertical-align:middle}.team-account-readonly{display:grid;gap:4px;min-width:145px}.team-account-readonly>span:last-child,.team-protected-note{font-size:10px;color:var(--muted);font-weight:700}.team-role-editor,.team-status-cell,.team-whatsapp-editor,.team-password-create{display:flex;align-items:center;gap:7px}.team-role-editor{min-width:260px}.team-role-editor select{min-width:150px}.team-status-cell{min-width:190px;flex-wrap:wrap}.team-whatsapp-editor{min-width:290px}.team-whatsapp-editor input{min-width:165px}.team-status-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid var(--line);background:#f5f7fa;color:#566176}.team-status-badge.is-active{background:#ecfbf2;border-color:#ccefd9;color:#167849}.team-status-badge.is-disabled{background:#fff0ef;border-color:#ffd6d2;color:#b93831}.team-status-badge.is-invited{background:#fff8e8;border-color:#f7e2ad;color:#8b641b}.team-danger-button{color:#b93831!important;border-color:#efc9c6!important}.team-admin-notice{display:flex;align-items:flex-start;gap:12px;margin:0 18px 14px;padding:12px 14px;border:1px solid #f0dcc9;border-radius:13px;background:#fffaf5}.team-admin-notice strong{font-size:11px;color:#b34d24;white-space:nowrap}.team-admin-notice span{font-size:11px;color:var(--muted);line-height:1.45}.team-password-reset{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 18px 0;padding:16px;border:1px solid #ffd6c7;border-radius:15px;background:linear-gradient(135deg,#fffaf7,#fff)}.team-password-reset h3{margin:3px 0 4px;font-size:16px}.team-password-reset p{margin:0}.team-password-reset-fields{display:flex;align-items:center;gap:8px;min-width:min(100%,680px)}.team-password-reset-fields input{flex:1;min-width:260px}.team-create-account{margin:18px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fbfcfe}.team-create-account>.panel-title{margin-bottom:12px}.team-create-account .card-actions{margin-top:12px}.team-account-message{min-height:20px;margin:0 18px 16px;color:#566176;font-size:12px;font-weight:700}
@media(max-width:900px){.team-admin-notice{display:grid}.team-password-reset{align-items:stretch;flex-direction:column}.team-password-reset-fields{min-width:0;flex-wrap:wrap}.team-password-reset-fields input{min-width:100%;width:100%}.team-create-account{margin:14px}.team-account-message{margin:0 14px 14px}}

/* Sales Hub R2 / WhatsApp campaigns: scoped, responsive */
.wa-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}
.wa-intro h2{font-size:26px;margin:0 0 10px}.wa-intro .badge{max-width:330px;white-space:normal}
.wa-builder{margin-bottom:16px}.wa-builder h3{margin:0 0 14px}
.wa-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.wa-fields label{display:grid;gap:6px;font-size:13px;font-weight:700}
.wa-fields input,.wa-fields select{width:100%;border:1px solid #cbd3df;border-radius:10px;min-height:44px;padding:10px;background:#fff;color:#172033}
.wa-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f4}
.wa-actions{display:flex;flex-wrap:wrap;gap:7px}.wa-table-wrap{width:100%;overflow:auto}.wa-table-wrap table{min-width:760px}
.wa-table-wrap a{display:inline-block;margin-left:6px}.wa-table-wrap td{word-break:break-word}
#waDetails{margin-top:18px}#waCreateMessage{margin-top:10px}
@media(max-width:760px){.wa-intro,.wa-row{align-items:stretch;flex-direction:column}.wa-fields{grid-template-columns:1fr}.wa-actions>*{flex:1}}

/* R23 — Search sessions: current lot + persistent history */
.prospect-current-search{margin:14px 0 8px;padding:14px 16px;border:1px solid #cfe8d9;border-radius:14px;background:#f4fbf7;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.prospect-current-search h3{margin:3px 0 4px;font-size:16px}.prospect-current-search p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.prospect-search-session-list{display:grid;gap:8px}.prospect-search-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #e5e9ef;border-radius:11px;background:#fbfcfe}.prospect-search-session.is-active{border-color:#b9dfc8;background:#f2fbf5}.prospect-search-session-copy{display:grid;gap:3px;min-width:0}.prospect-search-session-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prospect-search-session-copy span{font-size:10px;color:var(--muted)}.prospect-search-session.is-active button{opacity:.72;cursor:default}
@media(max-width:760px){.prospect-current-search,.prospect-search-session{align-items:stretch;flex-direction:column}.prospect-current-search .badge{align-self:flex-start}.prospect-search-session button{width:100%}}

/* R31_FIX29_MOBILE_UX_CONSOLIDATION_START */
@media (max-width:780px){
  :root{
    --m29-text:#1d2638;
    --m29-muted:#667085;
    --m29-line:#e1e6ed;
    --m29-soft:#f7f9fb;
    --m29-orange:#ff5a1f;
    --m29-orange2:#ff782c;
    --m29-blue:#1967d2;
  }

  html.r31-fix29-mobile,
  html.r31-fix29-mobile body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overscroll-behavior-x:none!important;
    touch-action:pan-y pinch-zoom!important;
    font-size:16px!important;
  }

  html.r31-fix29-mobile body{
    color:var(--m29-text)!important;
    line-height:1.48!important;
  }

  html.r31-fix29-mobile body *{box-sizing:border-box}

  html.r31-fix29-mobile #app,
  html.r31-fix29-mobile #workspaceView,
  html.r31-fix29-mobile .workspace,
  html.r31-fix29-mobile main,
  html.r31-fix29-mobile .route-view{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  html.r31-fix29-mobile .workspace{
    margin-left:0!important;
    padding:0 0 110px!important;
  }

  html.r31-fix29-mobile .route-view{
    padding:16px!important;
  }

  html.r31-fix29-mobile .route-view *,
  html.r31-fix29-mobile .topbar *{
    min-width:0;
  }

  html.r31-fix29-mobile .topbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    padding:20px 16px 18px!important;
  }

  html.r31-fix29-mobile .topbar h1{
    margin:4px 0 0!important;
    font-size:clamp(32px,8.6vw,40px)!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }

  html.r31-fix29-mobile .topbar .eyebrow{
    margin:0!important;
    font-size:13px!important;
    line-height:1.2!important;
    letter-spacing:.15em!important;
    font-weight:900!important;
  }

  html.r31-fix29-mobile .topbar-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    width:100%!important;
  }

  html.r31-fix29-mobile .topbar-actions>*,
  html.r31-fix29-mobile .topbar-actions button{
    width:100%!important;
    max-width:100%!important;
  }

  html.r31-fix29-mobile .topbar-actions button{
    min-height:52px!important;
    padding:10px 11px!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:850!important;
    white-space:normal!important;
    border-radius:15px!important;
  }

  #r31Fix29MarketBadge{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    margin-top:12px!important;
    padding:13px 14px!important;
    border:1px solid var(--m29-line)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 5px 18px rgba(27,35,52,.055)!important;
  }
  #r31Fix29MarketBadge>div{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
  }
  #r31Fix29MarketBadge span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:31px!important;
    height:27px!important;
    padding:0 7px!important;
    border-radius:9px!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
  }
  #r31Fix29MarketBadge strong{
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:900!important;
    white-space:normal!important;
  }
  #r31Fix29MarketBadge b{
    flex:0 0 auto!important;
    color:var(--m29-muted)!important;
    font-size:13px!important;
    font-weight:700!important;
    text-align:right!important;
  }
  #r31Fix29MarketBadge[data-market="ro"] span{background:var(--m29-orange)!important}
  #r31Fix29MarketBadge[data-market="ro"] strong{color:#c84a19!important}
  #r31Fix29MarketBadge[data-market="en"] span{background:var(--m29-blue)!important}
  #r31Fix29MarketBadge[data-market="en"] strong{color:#1557b0!important}

  html.r31-fix29-mobile .route-view h2{
    font-size:26px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
  }
  html.r31-fix29-mobile .route-view h3{
    font-size:20px!important;
    line-height:1.2!important;
  }
  html.r31-fix29-mobile .route-view p,
  html.r31-fix29-mobile .route-view li,
  html.r31-fix29-mobile .route-view .muted,
  html.r31-fix29-mobile .route-view .help,
  html.r31-fix29-mobile .route-view small{
    font-size:15px!important;
    line-height:1.5!important;
  }
  html.r31-fix29-mobile .route-view label,
  html.r31-fix29-mobile .route-view label>span{
    font-size:15px!important;
    line-height:1.3!important;
    font-weight:800!important;
  }

  html.r31-fix29-mobile .panel,
  html.r31-fix29-mobile .card,
  html.r31-fix29-mobile .action-card,
  html.r31-fix29-mobile .lead-card,
  html.r31-fix29-mobile .queue-panel,
  html.r31-fix29-mobile .score-panel,
  html.r31-fix29-mobile .prospect-search-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:17px!important;
    border-radius:18px!important;
  }

  html.r31-fix29-mobile .dashboard-grid,
  html.r31-fix29-mobile .queue-stats,
  html.r31-fix29-mobile .stats-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  html.r31-fix29-mobile .dashboard-grid>*,
  html.r31-fix29-mobile .queue-stats>*,
  html.r31-fix29-mobile .stats-grid>*{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
  }

  html.r31-fix29-mobile input,
  html.r31-fix29-mobile select,
  html.r31-fix29-mobile textarea{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    padding:12px 13px!important;
    font-size:16px!important;
    line-height:1.35!important;
    border-radius:13px!important;
  }

  html.r31-fix29-mobile textarea{min-height:118px!important}

  html.r31-fix29-mobile .route-view button,
  html.r31-fix29-mobile .route-view a.button{
    min-height:48px!important;
    padding:11px 14px!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:850!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    border-radius:13px!important;
  }

  html.r31-fix29-mobile .prospect-search-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-bottom:16px!important;
  }
  html.r31-fix29-mobile .prospect-search-head h2{
    margin:0!important;
    font-size:27px!important;
  }
  html.r31-fix29-mobile .prospect-provider-state{
    width:100%!important;
    min-width:0!important;
    padding:14px!important;
    border-radius:15px!important;
  }
  html.r31-fix29-mobile .prospect-provider-state span{font-size:12px!important}
  html.r31-fix29-mobile .prospect-provider-state strong{font-size:29px!important}

  html.r31-fix29-mobile .prospect-search-grid,
  html.r31-fix29-mobile .prospect-data,
  html.r31-fix29-mobile .prospect-quick-row,
  html.r31-fix29-mobile .r31-fix29-mobile-stack{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
    width:100%!important;
    max-width:100%!important;
  }

  html.r31-fix29-mobile .prospect-results-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
  }

  html.r31-fix29-mobile .prospect-search-button,
  html.r31-fix29-mobile #prospectSearchButton{
    width:100%!important;
    min-height:54px!important;
    font-size:16px!important;
  }

  html.r31-fix29-mobile .r31-fix29-search-type-host{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  html.r31-fix29-mobile .r31-fix29-native-search-type-hidden{
    display:none!important;
  }

  #r31Fix29SearchType{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:16px 0 20px!important;
    padding:16px!important;
    border:1px solid var(--m29-line)!important;
    border-radius:19px!important;
    background:#fff!important;
    box-shadow:0 6px 20px rgba(27,35,52,.05)!important;
  }
  #r31Fix29SearchType header{
    display:grid!important;
    gap:5px!important;
    margin-bottom:13px!important;
  }
  #r31Fix29SearchType header span{
    color:var(--m29-orange)!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.14em!important;
  }
  #r31Fix29SearchType header strong{
    font-size:20px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:-.015em!important;
  }
  .r31-fix29-choice-list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  #r31Fix29SearchType .r31-fix29-choice-list>button{
    position:relative!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-height:92px!important;
    padding:14px!important;
    border:2px solid #e0e5eb!important;
    border-radius:17px!important;
    background:#fafbfc!important;
    color:var(--m29-text)!important;
    text-align:left!important;
    box-shadow:none!important;
  }
  #r31Fix29SearchType .r31-fix29-choice-list>button.selected{
    border-color:var(--m29-orange)!important;
    background:#fff4ee!important;
    box-shadow:0 7px 20px rgba(255,90,31,.11)!important;
  }
  #r31Fix29SearchType i{
    display:block!important;
    width:22px!important;
    height:22px!important;
    margin-top:2px!important;
    border:2px solid #b7c0cc!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:inset 0 0 0 5px #fff!important;
  }
  #r31Fix29SearchType button.selected i{
    border-color:var(--m29-orange)!important;
    background:var(--m29-orange)!important;
  }
  #r31Fix29SearchType button>div{
    display:grid!important;
    gap:4px!important;
    min-width:0!important;
  }
  #r31Fix29SearchType button>div>strong{
    font-size:17px!important;
    line-height:1.25!important;
    font-weight:900!important;
    word-break:normal!important;
  }
  #r31Fix29SearchType button>div>small{
    color:var(--m29-muted)!important;
    font-size:14px!important;
    line-height:1.42!important;
    font-weight:600!important;
  }
  #r31Fix29SearchType em{
    grid-column:2!important;
    justify-self:start!important;
    display:inline-flex!important;
    align-items:center!important;
    min-height:23px!important;
    padding:4px 8px!important;
    border-radius:999px!important;
    background:var(--m29-orange)!important;
    color:#fff!important;
    font-size:10px!important;
    line-height:1!important;
    font-style:normal!important;
    font-weight:900!important;
    letter-spacing:.05em!important;
  }

  html.r31-fix29-mobile .r31-fix29-actions,
  html.r31-fix29-mobile .card-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  html.r31-fix29-mobile .r31-fix29-actions>*,
  html.r31-fix29-mobile .card-actions>*{
    width:100%!important;
  }

  html.r31-fix29-mobile .r31-fix29-card-table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    border:0!important;
  }
  html.r31-fix29-mobile .r31-fix29-card-table thead{display:none!important}
  html.r31-fix29-mobile .r31-fix29-card-table tbody{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:13px!important;
    width:100%!important;
  }
  html.r31-fix29-mobile .r31-fix29-card-table tr.r31-fix29-card-row{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:15px!important;
    border:1px solid var(--m29-line)!important;
    border-radius:17px!important;
    background:#fff!important;
    box-shadow:0 5px 16px rgba(27,35,52,.045)!important;
  }
  html.r31-fix29-mobile .r31-fix29-card-table td{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:9px 0!important;
    border:0!important;
    border-bottom:1px solid #edf0f4!important;
    font-size:15px!important;
    line-height:1.42!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  html.r31-fix29-mobile .r31-fix29-card-table td:last-child{border-bottom:0!important}
  html.r31-fix29-mobile .r31-fix29-card-table td::before{
    content:attr(data-r31-label);
    display:block!important;
    margin-bottom:4px!important;
    color:var(--m29-muted)!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
  }
  html.r31-fix29-mobile .r31-fix29-card-table td.primary{
    padding-top:0!important;
    font-size:18px!important;
    line-height:1.32!important;
    font-weight:850!important;
  }

  html.r31-fix29-mobile .r31-fix29-overflow-clamp{
    max-width:100%!important;
    min-width:0!important;
  }

  html.r31-fix29-mobile .mobile-nav[data-r31-fix29="1"]{
    display:grid!important;
    grid-template-columns:1fr 1fr 58px 1fr 1fr!important;
    gap:3px!important;
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    z-index:10040!important;
    width:auto!important;
    max-width:calc(100vw - 20px)!important;
    padding:8px!important;
    border:1px solid rgba(224,228,235,.95)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.97)!important;
    backdrop-filter:blur(14px)!important;
    box-shadow:0 14px 36px rgba(24,35,55,.17)!important;
    overflow:hidden!important;
  }
  .r31-fix29-bottom-btn{
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:6px 2px!important;
    border:0!important;
    border-radius:13px!important;
    background:transparent!important;
    color:#5e6879!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
    letter-spacing:-.01em!important;
  }
  .r31-fix29-bottom-btn.active{
    background:#fff0e9!important;
    color:#d44a17!important;
  }
  .r31-fix29-bottom-btn.is-plus{
    width:54px!important;
    height:54px!important;
    min-height:54px!important;
    justify-self:center!important;
    padding:0!important;
    border-radius:17px!important;
    background:linear-gradient(135deg,var(--m29-orange),var(--m29-orange2))!important;
    color:#fff!important;
    font-size:25px!important;
    box-shadow:0 8px 20px rgba(255,90,31,.29)!important;
  }

  #r31Fix29MenuBackdrop{
    display:none;
    position:fixed;
    inset:0;
    z-index:11000;
    background:rgba(16,24,40,.52);
    backdrop-filter:blur(3px);
  }
  #r31Fix29MenuBackdrop.open{display:block!important}
  #r31Fix29Menu{
    display:none;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:11001;
    width:100%;
    max-width:100%;
    max-height:88dvh;
    padding:12px 15px calc(18px + env(safe-area-inset-bottom));
    border-radius:24px 24px 0 0;
    background:#fff;
    box-shadow:0 -20px 56px rgba(16,24,40,.28);
    overflow:hidden;
  }
  #r31Fix29Menu.open{
    display:flex!important;
    flex-direction:column!important;
  }
  .r31-fix29-grabber{
    width:45px;height:5px;border-radius:999px;background:#d8dde5;margin:0 auto 11px;
  }
  .r31-fix29-menu-head{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin-bottom:12px!important;
  }
  .r31-fix29-menu-head>div{flex:1!important}
  .r31-fix29-menu-head strong{
    display:block!important;
    font-size:25px!important;
    line-height:1.05!important;
    letter-spacing:-.025em!important;
  }
  .r31-fix29-menu-head span{
    display:block!important;
    margin-top:4px!important;
    color:var(--m29-muted)!important;
    font-size:13px!important;
  }
  .r31-fix29-menu-head button{
    flex:0 0 46px!important;
    width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    border:0!important;
    border-radius:15px!important;
    background:#f1f3f6!important;
    color:#3d4658!important;
    font-size:25px!important;
  }
  .r31-fix29-menu-search{
    display:grid!important;
    gap:6px!important;
    margin-bottom:12px!important;
  }
  .r31-fix29-menu-search>span{
    color:var(--m29-muted)!important;
    font-size:12px!important;
    font-weight:850!important;
  }
  #r31Fix29MenuSearch{
    min-height:50px!important;
    padding:11px 13px!important;
    border:1px solid var(--m29-line)!important;
    border-radius:14px!important;
    background:#f9fafb!important;
    font-size:16px!important;
  }
  #r31Fix29MenuList{
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:8px!important;
  }
  .r31-fix29-menu-group{
    display:block!important;
    margin:0 0 15px!important;
  }
  .r31-fix29-menu-group h3{
    margin:0 0 7px!important;
    padding:0 3px!important;
    color:#8a94a6!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
  }
  .r31-fix29-menu-group>div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .r31-fix29-menu-item{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    min-height:51px!important;
    padding:11px 13px!important;
    border:1px solid var(--m29-line)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:var(--m29-text)!important;
    text-align:left!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:800!important;
  }
  .r31-fix29-menu-item b{
    color:#a1a9b7!important;
    font-size:21px!important;
  }
  body.r31-fix29-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
  body.r31-fix29-menu-open .mobile-nav{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
/* R31_FIX29_MOBILE_UX_CONSOLIDATION_END */

/* R31_FIX30_1_MOBILE_REMOVE_OLD_SEARCH_TYPE_CARD_START */
@media (max-width:780px){
  .r31-fix30-1-old-search-type-card-hidden{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    min-width:0!important;
    min-height:0!important;
    max-width:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  .r31-fix30-1-number-field,
  .r31-fix30-1-number-area{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .r31-fix30-1-number-field{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .r31-fix30-1-number-field>span{
    display:block!important;
    width:100%!important;
    font-size:17px!important;
    line-height:1.25!important;
    font-weight:900!important;
    color:#1d2638!important;
  }

  .r31-fix30-1-number-field #prospectLimit{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:54px!important;
    padding:13px 15px!important;
    font-size:18px!important;
    font-weight:800!important;
    border-radius:14px!important;
  }
}
/* R31_FIX30_1_MOBILE_REMOVE_OLD_SEARCH_TYPE_CARD_END */

/* R31_FIX31_MOBILE_GLOBAL_COLLISION_GUARD_START */
@media (max-width:780px){
  html.r31-fix29-mobile .route-view .r31-fix31-safe-button,
  html.r31-fix29-mobile .route-view button.r31-fix31-safe-button,
  html.r31-fix29-mobile .route-view a.r31-fix31-safe-button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    height:auto!important;
    padding:12px 14px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    text-overflow:clip!important;
    overflow:visible!important;
    line-height:1.25!important;
    font-size:15px!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-action-stack{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-action-stack>*{
    position:relative!important;
    inset:auto!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    transform:none!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-whatsapp-actions{
    margin:14px 0!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-whatsapp-actions button{
    width:100%!important;
    min-height:54px!important;
    font-size:16px!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-toggle-row{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:58px!important;
    padding:10px 0!important;
    margin:8px 0!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-toggle-row input[type="checkbox"]{
    position:static!important;
    display:block!important;
    justify-self:start!important;
    align-self:center!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-toggle-row>*:not(input[type="checkbox"]){
    position:static!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    transform:none!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    line-height:1.4!important;
    font-size:15px!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-deep-scan-row{
    border-top:1px solid #edf0f4!important;
    border-bottom:1px solid #edf0f4!important;
    padding:13px 0!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-text-safe{
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    text-overflow:clip!important;
  }

  html.r31-fix29-mobile .route-view [style*="white-space: nowrap"],
  html.r31-fix29-mobile .route-view [style*="white-space:nowrap"]{
    white-space:normal!important;
  }

  html.r31-fix29-mobile .route-view .r31-fix31-runtime-collision{
    overflow:visible!important;
  }
}
/* R31_FIX31_MOBILE_GLOBAL_COLLISION_GUARD_END */

/* R31_FIX32_1_MOBILE_HEADER_HAMBURGER_START */
@media (max-width:780px){
  html.r31-fix29-mobile .topbar{
    position:relative!important;
    padding-right:76px!important;
  }

  #r31Fix32_1HeaderMenu{
    position:absolute!important;
    top:18px!important;
    right:16px!important;
    z-index:50!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #dde3ea!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#1d2638!important;
    box-shadow:0 5px 16px rgba(20,30,50,.08)!important;
  }

  #r31Fix32_1HeaderMenu:active{
    transform:scale(.97)!important;
  }

  .r31-fix32-1-bars{
    display:grid!important;
    gap:4px!important;
    width:21px!important;
  }

  .r31-fix32-1-bars i{
    display:block!important;
    width:21px!important;
    height:2.5px!important;
    border-radius:999px!important;
    background:#1d2638!important;
  }

  .mobile-nav .r31-fix32-1-center-restored{
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    padding:0!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#ff5a1f,#ff7a2d)!important;
    color:#fff!important;
    font-size:27px!important;
    line-height:1!important;
    font-weight:800!important;
    box-shadow:0 8px 20px rgba(255,90,31,.30)!important;
  }

  #r31Fix32_1MenuBackdrop{
    display:none;
    position:fixed;
    inset:0;
    z-index:12000;
    background:rgba(15,23,42,.52);
    backdrop-filter:blur(3px);
  }

  #r31Fix32_1MenuBackdrop.open{
    display:block!important;
  }

  #r31Fix32_1MenuSheet{
    display:none;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:12001;
    width:100%;
    max-width:100%;
    max-height:90dvh;
    padding:11px 14px calc(18px + env(safe-area-inset-bottom));
    border-radius:25px 25px 0 0;
    background:#fff;
    box-shadow:0 -22px 60px rgba(15,23,42,.28);
    overflow:hidden;
  }

  #r31Fix32_1MenuSheet.open{
    display:flex!important;
    flex-direction:column!important;
  }

  .r31-fix32-1-grabber{
    width:46px;
    height:5px;
    margin:0 auto 12px;
    border-radius:999px;
    background:#d7dce4;
  }

  .r31-fix32-1-sheet-head{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin-bottom:12px!important;
  }

  .r31-fix32-1-sheet-head>div{
    flex:1!important;
    min-width:0!important;
  }

  .r31-fix32-1-sheet-head strong{
    display:block!important;
    color:#1d2638!important;
    font-size:25px!important;
    line-height:1.05!important;
    letter-spacing:-.025em!important;
  }

  .r31-fix32-1-sheet-head span{
    display:block!important;
    margin-top:4px!important;
    color:#687386!important;
    font-size:13px!important;
    line-height:1.3!important;
  }

  .r31-fix32-1-close{
    flex:0 0 46px!important;
    width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    border:0!important;
    border-radius:15px!important;
    background:#f1f3f6!important;
    color:#3e4859!important;
    font-size:25px!important;
  }

  .r31-fix32-1-search{
    display:grid!important;
    gap:6px!important;
    margin-bottom:6px!important;
  }

  .r31-fix32-1-search>span{
    color:#687386!important;
    font-size:12px!important;
    font-weight:850!important;
  }

  #r31Fix32_1MenuSearch{
    width:100%!important;
    min-height:50px!important;
    padding:11px 13px!important;
    border:1px solid #dfe4eb!important;
    border-radius:14px!important;
    background:#f8fafc!important;
    font-size:16px!important;
  }

  .r31-fix32-1-count{
    margin:5px 2px 9px!important;
    color:#8a94a6!important;
    font-size:12px!important;
    font-weight:750!important;
  }

  #r31Fix32_1MenuList{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:8px!important;
  }

  .r31-fix32-1-item{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 22px!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-height:52px!important;
    padding:10px 12px!important;
    border:1px solid #e1e6ed!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#1d2638!important;
    text-align:left!important;
    box-shadow:none!important;
  }

  .r31-fix32-1-index{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:30px!important;
    height:30px!important;
    border-radius:10px!important;
    background:#f3f5f8!important;
    color:#8a94a6!important;
    font-size:10px!important;
    font-weight:900!important;
  }

  .r31-fix32-1-label{
    min-width:0!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:850!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  .r31-fix32-1-arrow{
    justify-self:end!important;
    color:#a0a8b6!important;
    font-size:21px!important;
  }

  body.r31-fix32-1-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }

  body.r31-fix32-1-menu-open .mobile-nav{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
/* R31_FIX32_1_MOBILE_HEADER_HAMBURGER_END */

/* R31_FIX32_2_MOBILE_PLUS_ORIGINAL_ACTION_START */
@media (max-width:780px){
  .mobile-nav.r31-fix32-2-stable-nav{
    bottom:var(--r31-fix32-2-bottom,10px)!important;
    transition:none!important;
    animation:none!important;
    transform:none!important;
  }

  .mobile-nav.r31-fix32-2-stable-nav>*{
    transition:none!important;
  }

  .mobile-nav .r31-fix32-2-center-plus,
  .mobile-nav #mobileQuickAdd.r31-fix32-2-center-plus{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#ff5a1f,#ff7a2d)!important;
    color:#fff!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:800!important;
    box-shadow:0 8px 20px rgba(255,90,31,.30)!important;
    transform:none!important;
    transition:none!important;
    animation:none!important;
  }

  .mobile-nav.r31-fix32-2-keyboard-open{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
/* R31_FIX32_2_MOBILE_PLUS_ORIGINAL_ACTION_END */

/* R31_FIX33_MOBILE_ATOMIC_NAV_REFRESH_STATE_START */
body.r31-fix33-auth-pending #loginView,
body.r31-fix33-auth-pending #workspaceView{
  visibility:hidden!important;
}

body.r31-fix33-auth-pending::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:20000;
  background:#f5f7fb;
}

body.r31-fix33-auth-pending::after{
  content:"";
  position:fixed;
  left:50%;
  top:50%;
  z-index:20001;
  width:34px;
  height:34px;
  margin:-17px 0 0 -17px;
  border:3px solid #e3e7ed;
  border-top-color:#ff6425;
  border-radius:50%;
  animation:r31Fix33Spin .75s linear infinite;
}

@keyframes r31Fix33Spin{
  to{transform:rotate(360deg)}
}

/* R31_FIX34_NATIVE_SCROLL_SINGLE_HEADER_START */
@media(max-width:780px){
  html.r31-fix29-mobile,html.r31-fix29-mobile body{
    overflow-x:clip!important;
    overflow-y:visible!important;
  }
  html.r31-fix29-mobile .workspace,html.r31-fix29-mobile .route-view{
    overflow:visible!important;
  }
  html.r31-fix29-mobile .workspace{
    padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;
  }
  html.r31-fix29-mobile .topbar{
    position:relative!important;
    top:auto!important;
    min-height:0!important;
    padding:18px 16px 12px!important;
    gap:12px!important;
  }
  html.r31-fix29-mobile .topbar>div:first-child>h1,
  html.r31-fix29-mobile .topbar>div:first-child>.eyebrow{
    padding-right:60px!important;
  }
  html.r31-fix29-mobile .mobile-nav[data-r31-fix29="1"]{
    bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
    transform:none!important;
    transition:none!important;
  }
  body.r31-fix32-1-menu-open{
    overflow:hidden!important;
    touch-action:auto!important;
  }
  #r31Fix32_1MenuList{touch-action:pan-y!important;overscroll-behavior:contain}
}
/* R31_FIX34_NATIVE_SCROLL_SINGLE_HEADER_END */

/* R31_FIX49_DUBAI_ISOLATED_CSS - ONLY Dubai routes */
#route-dubai-search,#route-dubai-whatsapp{min-width:0;max-width:100%;overflow-x:clip}
#route-dubai-search .dubai-layout,#route-dubai-whatsapp .dubai-layout{display:grid;gap:17px;min-width:0;width:100%}
#route-dubai-search .dubai-head,#route-dubai-whatsapp .dubai-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
#route-dubai-search .dubai-head h2,#route-dubai-whatsapp .dubai-head h2{margin:5px 0 10px;font-size:25px;line-height:1.25}
#route-dubai-search .dubai-head .muted,#route-dubai-whatsapp .dubai-head .muted{max-width:850px;line-height:1.65}
#route-dubai-search .dubai-panel,#route-dubai-whatsapp .dubai-panel{min-width:0;padding:23px}
#route-dubai-search .dubai-mode{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 18px}
#route-dubai-search .dubai-mode button{background:#fff;border:1px solid #e2e6ed;border-radius:13px;padding:14px 17px;text-align:left;min-height:76px;font:800 14px/1.4 inherit;color:#263244;cursor:pointer}
#route-dubai-search .dubai-mode button small{display:block;font-size:12px;font-weight:500;color:#697585;margin-top:6px}
#route-dubai-search .dubai-mode button.active{border-color:#ffab87;background:#fff1eb;color:#ca4512;box-shadow:0 0 0 1px #fbd6c6 inset}
#route-dubai-search .dubai-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 135px auto;gap:12px;align-items:end}
#route-dubai-search .dubai-form label,#route-dubai-whatsapp .dubai-new label,#route-dubai-whatsapp .dubai-message-editor label,#route-dubai-whatsapp .dubai-draft label{display:grid;gap:8px;min-width:0;color:#4b5565;font-size:12px;font-weight:800}
#route-dubai-search .dubai-form input,#route-dubai-whatsapp input,#route-dubai-whatsapp textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #dfe4ec;border-radius:11px;background:#fff;padding:12px 13px;color:#263244;font:500 14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
#route-dubai-search .dubai-form button{min-height:46px;white-space:nowrap}
#route-dubai-search .dubai-helper{font-size:12px;color:#717d8a;line-height:1.6;margin:12px 0}
#route-dubai-search .dubai-status,#route-dubai-whatsapp .dubai-status{margin:12px 0 0;padding:12px 14px;border-radius:11px;font-size:13px;line-height:1.5;background:#f6f8fb;color:#546171;border:1px solid #edf0f4}
#route-dubai-search .dubai-ok,#route-dubai-whatsapp .dubai-ok{background:#effbf5;color:#137a50;border-color:#d3f4e1}
#route-dubai-search .dubai-error,#route-dubai-whatsapp .dubai-error{background:#fff0ee;color:#b42318;border-color:#ffdad4}
#route-dubai-search .dubai-action-row,#route-dubai-whatsapp .dubai-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 17px}
#route-dubai-search .dubai-check-all{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#344054}
#route-dubai-search input[type=checkbox]{width:16px;height:16px;accent-color:#ff6a2e}
#route-dubai-search .dubai-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#route-dubai-search .dubai-company{padding:17px;min-width:0;border:1px solid #e5eaf0;border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(15,23,42,.025)}
#route-dubai-search .dubai-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
#route-dubai-search .dubai-card-head label{display:flex;gap:7px;align-items:center;cursor:pointer}
#route-dubai-search .dubai-tag{color:#a35b0d;background:#fff5e5;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}
#route-dubai-search .dubai-company-name{display:grid;gap:4px;margin:13px 0 7px;line-height:1.35}
#route-dubai-search .dubai-company-name strong{font-size:16px;overflow-wrap:anywhere}
#route-dubai-search .dubai-address{font-size:12px;line-height:1.55;margin:8px 0 14px;overflow-wrap:anywhere}
#route-dubai-search .dubai-metadata{display:grid;grid-template-columns:1fr 1fr;gap:9px}
#route-dubai-search .dubai-metadata>div{display:grid;gap:5px;min-width:0;padding:10px 12px;border-radius:8px;background:#f7f9fc;overflow-wrap:anywhere}
#route-dubai-search .dubai-metadata small{font-size:10px;color:#758196;font-weight:850}
#route-dubai-search .dubai-metadata strong,#route-dubai-search .dubai-metadata a{font-size:13px;overflow-wrap:anywhere}
#route-dubai-search .dubai-history-row,#route-dubai-whatsapp .dubai-history-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #edf0f4}
#route-dubai-search .dubai-history-row:last-child,#route-dubai-whatsapp .dubai-history-row:last-child{border-bottom:none}
#route-dubai-search .dubai-history-row>div,#route-dubai-whatsapp .dubai-history-row>div{min-width:0;overflow-wrap:anywhere}
#route-dubai-search .dubai-empty{padding:25px;text-align:center;background:#fafbfc;border:1px dashed #dce1e7;border-radius:12px;color:#6a7685}
#route-dubai-whatsapp .dubai-new{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:13px}
#route-dubai-whatsapp .dubai-message-editor{display:grid;gap:14px;padding:17px;border:1px solid #eceff3;border-radius:13px;background:#fcfdff}
#route-dubai-whatsapp textarea{min-height:260px;resize:vertical;overflow:hidden;font-size:14px;line-height:1.65}
#route-dubai-whatsapp .dubai-draft{display:grid;gap:13px;margin:15px 0;padding:18px;border:1px solid #ffdecf;border-radius:13px;background:#fff9f6}
#route-dubai-whatsapp .dubai-draft>strong{font-size:17px}
#route-dubai-whatsapp .dubai-table-outer{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
#route-dubai-whatsapp .dubai-table{width:100%;border-collapse:collapse;font-size:12px;min-width:720px}
#route-dubai-whatsapp .dubai-table th,#route-dubai-whatsapp .dubai-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:12px 8px;overflow-wrap:anywhere}
#route-dubai-whatsapp .dubai-table th{background:#f7f9fc;color:#677589;font-size:11px}
#route-dubai-whatsapp .dubai-url{max-width:220px;overflow-wrap:anywhere}
@media(max-width:1100px){#route-dubai-search .dubai-form{grid-template-columns:1fr 1fr}#route-dubai-search .dubai-form button{width:100%}}
@media(max-width:780px){#route-dubai-search .dubai-layout,#route-dubai-whatsapp .dubai-layout{gap:13px;padding-bottom:90px}#route-dubai-search .dubai-head,#route-dubai-whatsapp .dubai-head{display:grid}#route-dubai-search .dubai-head h2,#route-dubai-whatsapp .dubai-head h2{font-size:21px}#route-dubai-search .dubai-panel,#route-dubai-whatsapp .dubai-panel{padding:16px}#route-dubai-search .dubai-mode,#route-dubai-search .dubai-form,#route-dubai-search .dubai-cards,#route-dubai-whatsapp .dubai-new{grid-template-columns:1fr}#route-dubai-search .dubai-form input,#route-dubai-whatsapp input,#route-dubai-whatsapp textarea{font-size:16px;min-height:46px}#route-dubai-search .dubai-action-row,#route-dubai-whatsapp .dubai-action-row{display:grid;grid-template-columns:1fr}#route-dubai-search .dubai-action-row button,#route-dubai-whatsapp .dubai-action-row button,#route-dubai-whatsapp .dubai-new button,#route-dubai-whatsapp .dubai-message-editor button{width:100%;min-height:46px}#route-dubai-search .dubai-history-row,#route-dubai-whatsapp .dubai-history-row{display:grid;grid-template-columns:1fr}#route-dubai-search .dubai-history-row button,#route-dubai-whatsapp .dubai-history-row button{width:100%}#route-dubai-search .dubai-metadata{grid-template-columns:1fr 1fr}#route-dubai-whatsapp .dubai-message-editor{padding:13px}}
@media(max-width:420px){#route-dubai-search .dubai-metadata{grid-template-columns:1fr}#route-dubai-search .dubai-panel,#route-dubai-whatsapp .dubai-panel{padding:12px}}

#route-dubai-search .dubai-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:12px;align-items:end;padding:16px;margin-bottom:15px;border:1px solid #ffd8c8;background:#fff7f2;border-radius:13px}
#route-dubai-search .dubai-picker[hidden]{display:none}
#route-dubai-search .dubai-picker label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#475467}
#route-dubai-search .dubai-picker input,#route-dubai-search .dubai-picker select{height:46px;min-width:0;width:100%;border:1px solid #d0d5dd;border-radius:11px;padding:0 12px;background:white;color:#344054;font:500 14px system-ui}
#route-dubai-search #dubai-campaign-new-label[hidden]{display:none}
@media(max-width:780px){#route-dubai-search .dubai-picker{grid-template-columns:1fr}#route-dubai-search .dubai-picker button{width:100%;min-height:46px}}

/* R31_FIX51_DUBAI_PER_CONTACT_ACTIONS */
#route-dubai-whatsapp .dubai-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:210px}
#route-dubai-whatsapp .dubai-contact-actions .primary-button{height:39px;padding:0 12px;font-size:12px;white-space:nowrap}
#route-dubai-whatsapp .dubai-contact-actions .secondary-button{height:39px;padding:0 11px;font-size:12px;white-space:nowrap}
#route-dubai-whatsapp .dubai-action-done{color:#087c52;font-weight:800}
#route-dubai-whatsapp .dubai-action-blocked{color:#b42318;font-weight:800}
#route-dubai-whatsapp .dubai-table td:last-child{min-width:240px}
@media(max-width:780px){
 #route-dubai-whatsapp .dubai-table-outer{overflow:visible}
 #route-dubai-whatsapp .dubai-table{min-width:0;width:100%;display:block}
 #route-dubai-whatsapp .dubai-table thead{display:none}
 #route-dubai-whatsapp .dubai-table tbody{display:grid;gap:12px}
 #route-dubai-whatsapp .dubai-table tr{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;border:1px solid #e6eaf0;border-radius:14px;padding:11px;background:#fff}
 #route-dubai-whatsapp .dubai-table td{display:block;border:0;padding:2px 4px;min-width:0;overflow-wrap:anywhere}
 #route-dubai-whatsapp .dubai-table td:first-child{font-size:14px}
 #route-dubai-whatsapp .dubai-table td:nth-child(2)::before{content:"Site: ";font-weight:700;color:#697386}
 #route-dubai-whatsapp .dubai-table td:nth-child(3)::before{content:"Telefon: ";font-weight:700;color:#697386}
 #route-dubai-whatsapp .dubai-table td:nth-child(4)::before{content:"Stare: ";font-weight:700;color:#697386}
 #route-dubai-whatsapp .dubai-table td:last-child{min-width:0;padding-top:8px}
 #route-dubai-whatsapp .dubai-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
 #route-dubai-whatsapp .dubai-contact-actions .primary-button{grid-column:1/-1}
 #route-dubai-whatsapp .dubai-contact-actions button{width:100%;white-space:normal;height:auto;min-height:44px}
}

/* R31_FIX52_DUBAI_WHATSAPP_AVAILABILITY */
#route-dubai-whatsapp .dubai-phone-tag{display:block;width:fit-content;margin-top:7px;padding:4px 8px;border-radius:999px;background:#f3f5f9;color:#546276;font-size:11px;font-weight:700;line-height:1.3}
#route-dubai-whatsapp .dubai-phone-mobile{background:#e9f9f0;color:#0a7650}
#route-dubai-whatsapp .dubai-phone-fixed{background:#fff3e4;color:#97531b}
#route-dubai-whatsapp .dubai-fixed-row{background:#fffdfb}
#route-dubai-whatsapp .dubai-mobile-row{background:#fcfffd}
#route-dubai-whatsapp .dubai-alt-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:5px;font-size:12px}
#route-dubai-whatsapp .dubai-alt-links a{color:#135d9e;text-decoration:underline;text-underline-offset:2px}
#route-dubai-whatsapp .dubai-wa-guidance{line-height:1.55;font-size:13px;color:#576579;border:1px solid #dce7f3;background:#f6f9ff;padding:11px 13px;border-radius:12px;margin:10px 0}
#route-dubai-whatsapp .dubai-wa-unavailable{font-weight:750;font-size:12px;color:#a12b2b}
#route-dubai-whatsapp .dubai-wa-muted{font-weight:650;font-size:12px;color:#64748b}
#route-dubai-whatsapp .dubai-contact-actions .dubai-no-wa-button{border-color:#e8c8c8;color:#9c3434;background:#fff9f8}
@media(max-width:780px){#route-dubai-whatsapp .dubai-contact-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#route-dubai-whatsapp .dubai-wa-unavailable{grid-column:1/-1}#route-dubai-whatsapp .dubai-alt-links a{padding:3px 0;min-height:24px}}

/* R31_FIX54_DUBAI_SENT_HISTORY_STYLES=PASS */
#route-dubai-search .dubai-sent-badge{display:inline-flex;align-items:center;background:#e9f8ef;color:#17633a;border:1px solid #a7ddba;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;white-space:nowrap}
#route-dubai-search .dubai-sent-detail,#route-dubai-whatsapp .dubai-sent-detail{color:#17633a;font-size:12px;font-weight:650;line-height:1.5;overflow-wrap:anywhere;margin:8px 0}
#route-dubai-search .dubai-company:has(.dubai-sent-badge){border-color:#aedcbe;background:linear-gradient(180deg,#f8fefa,#fff)}
#route-dubai-search .dubai-company input:disabled{opacity:.45;cursor:not-allowed}

/* R31_FIX55_DUAL_B2B_STYLES=PASS */
.b2b-shell{display:grid;gap:18px;max-width:100%}.b2b-top{display:grid;gap:12px}.b2b-top p{margin:4px 0;color:#5b6777}.b2b-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px}.b2b-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.b2b-controls input,.b2b-controls select,.b2b-edit input,.b2b-edit select,.b2b-edit textarea{width:100%;min-width:0;border:1px solid #cfd7e1;border-radius:9px;padding:11px;background:#fff;color:#1a2738}.b2b-facts{display:flex;flex-wrap:wrap;gap:8px}.b2b-pill{padding:5px 10px;background:#eef2f8;border-radius:20px;font-size:12px;color:#344254}.b2b-pill-good{background:#d8f7e8;color:#08733b}.b2b-pill-warn{background:#fff0d9;color:#95520c}.b2b-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}.b2b-card{border:1px solid #e0e4ea;border-radius:13px;padding:16px;background:#fff;display:grid;gap:10px;overflow-wrap:anywhere}.b2b-card h3{margin:0;font-size:16px}.b2b-card small{color:#67788a}.b2b-card-actions{display:flex;flex-wrap:wrap;gap:8px}.b2b-card-actions button{font-size:12px}.b2b-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:11px}.b2b-edit label{font-size:13px;font-weight:600;display:grid;gap:5px}.b2b-edit .wide{grid-column:1/-1}.b2b-status{min-height:22px;padding-top:7px}.b2b-sent{border-color:#ffb36e}.b2b-audit{border:1px solid #d4e8ff;padding:12px;border-radius:10px;background:#f9fbff}.b2b-audit-scores{display:flex;gap:6px;flex-wrap:wrap}.b2b-audit-scores strong{padding:7px;border-radius:8px;background:#eaeff7}.b2b-mail{width:100%;min-height:190px;white-space:pre-wrap}.b2b-history{display:grid;gap:6px}.b2b-history button{text-align:left}.b2b-placeholder{color:#64748b}.b2b-long{overflow-wrap:anywhere}.b2b-buttonline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.b2b-card .secondary-button,.b2b-card .primary-button{min-height:40px}@media(max-width:780px){.b2b-shell{gap:12px}.b2b-controls{grid-template-columns:1fr}.b2b-card-grid{grid-template-columns:1fr}.b2b-card{padding:12px}.b2b-edit{grid-template-columns:1fr}}

/* R31_FIX56_B2B_KEY_STYLES=PASS */
.b2b-keys-panel[hidden],.b2b-shell [hidden]{display:none!important}
.b2b-key-summary{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.b2b-key-enable{display:inline-flex;align-items:center;gap:9px;margin:12px 0;font-size:13px}
.b2b-key-enable input{width:17px;height:17px}
.b2b-keys-panel select{min-height:39px;border:1px solid #cfd7e1;border-radius:9px;padding:8px;background:white}
.b2b-keys-panel .b2b-buttonline label{display:grid;gap:5px;font-size:13px}
@media(max-width:780px){.b2b-keys-panel .b2b-buttonline{align-items:stretch}.b2b-keys-panel .b2b-buttonline button{min-height:42px}}
