/*
 * Amplify — App · Outbound
 *
 * Purpose: Styles outbound campaign creation, contacts, filters and campaign detail views.
 * Contract: Presentation only.
 * Dependencies: foundation.css and tools-base.css.
 * Invariants: Dense tables must remain horizontally usable on smaller viewports.
 * Maintenance: Comments describe current intent, not release history. Remove obsolete rules instead of stacking versioned patches.
 */

/* ======================================================
   Campanhas de Disparo — Native tool-card presentation
   ====================================================== */
.outbound-tool-page{padding-top:34px}.outbound-tool-inner{max-width:1220px;margin:0 auto 70px}.outbound-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:18px 0 24px}.outbound-eyebrow{margin:0 0 8px;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.outbound-title{margin:0;color:var(--text);font-size:clamp(29px,3.5vw,42px);line-height:1.08;letter-spacing:-.045em}.outbound-copy{max-width:760px;margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.68}.outbound-hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.outbound-page-toggle-card{min-width:270px;max-width:320px;padding:18px 20px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));box-shadow:0 18px 44px rgba(0,0,0,.22)}.outbound-page-toggle-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.outbound-page-toggle-title{color:var(--text);font-size:14px;font-weight:800;letter-spacing:-.02em}.outbound-page-toggle-divider{height:1px;margin:13px 0 0;background:rgba(255,255,255,.08)}.outbound-page-toggle-card .human-tool-status{margin-top:12px}.outbound-page-toggle-card.is-disabled{opacity:.72}.outbound-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;width:100%}.outbound-policy-layout{display:grid;grid-template-columns:40px minmax(0,1fr);gap:20px;align-items:center}.outbound-policy-headline{display:block}.outbound-policy-icon{position:static;width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:1px solid rgba(254,233,147,.16);border-radius:12px;background:rgba(254,233,147,.045);color:var(--gold-soft);box-shadow:0 0 0 1px rgba(254,233,147,.04) inset;animation:followupInfoPulse 2.4s ease-in-out infinite}.outbound-policy-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.outbound-btn{min-height:42px;padding:0 15px;border-radius:11px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.045);color:var(--text);font-size:12.5px;font-weight:750;cursor:pointer;transition:.18s ease}.outbound-btn:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(254,233,147,.28);background:rgba(254,233,147,.07)}.outbound-btn.primary{border-color:rgba(255,244,191,.72);background:linear-gradient(180deg,#f8df78,#f2d66c);color:#1d1b13}.outbound-btn.primary:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(255,244,191,.9);background:linear-gradient(180deg,#fee88a,#f6dc73);color:#1d1b13;filter:brightness(1.025);box-shadow:0 8px 24px rgba(254,233,147,.10)}.outbound-btn.danger{border-color:rgba(255,120,120,.26);background:rgba(255,100,100,.07);color:#ffb6b6}.outbound-btn:disabled{opacity:.4;cursor:not-allowed}.outbound-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.outbound-stat{padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015))}.outbound-stat-label{color:var(--soft);font-size:10.5px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}.outbound-stat-value{margin-top:8px;color:var(--text);font-size:23px;font-weight:750;letter-spacing:-.035em}.outbound-stat-note{margin-top:6px;color:var(--soft);font-size:10.5px;line-height:1.45}.outbound-panel{margin-top:16px;padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:17px;background:linear-gradient(180deg,rgba(31,31,31,.94),rgba(18,18,18,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.outbound-panel.gold{border-color:rgba(254,233,147,.2);background:linear-gradient(180deg,rgba(254,233,147,.055),rgba(18,18,18,.96))}.outbound-panel.warn{border-color:rgba(255,190,100,.22);background:linear-gradient(180deg,rgba(255,190,100,.055),rgba(18,18,18,.96))}.outbound-panel.danger{border-color:rgba(255,120,120,.22);background:linear-gradient(180deg,rgba(255,100,100,.05),rgba(18,18,18,.96))}.outbound-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.outbound-panel-title{margin:0;color:var(--text);font-size:16px;font-weight:750}.outbound-panel-copy{margin:7px 0 0;color:var(--muted);font-size:12.5px;line-height:1.62}.outbound-policy-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.outbound-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 9px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.03);color:var(--muted);font-size:10.5px;font-weight:700}.outbound-chip.gold{border-color:rgba(254,233,147,.2);background:rgba(254,233,147,.06);color:var(--gold)}.outbound-chip.good{border-color:rgba(111,220,145,.22);background:rgba(111,220,145,.07);color:#a9ebbd}.outbound-chip.bad{border-color:rgba(255,120,120,.22);background:rgba(255,100,100,.055);color:#ffb6b6}.outbound-panel-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.outbound-panel-footer{display:flex;justify-content:flex-end;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.065)}.outbound-campaigns{display:grid;gap:12px;margin-top:16px}.outbound-campaign-card{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025);cursor:pointer;transition:.18s ease}.outbound-campaign-card:hover{transform:translateY(-1px);border-color:rgba(254,233,147,.24);background:rgba(254,233,147,.035)}.outbound-campaign-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.outbound-campaign-top-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.outbound-campaign-delete{width:29px;height:29px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,105,105,.2);border-radius:9px;background:rgba(255,80,80,.045);color:#ff9f9f;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.outbound-campaign-delete:hover{background:rgba(255,80,80,.09);border-color:rgba(255,120,120,.34);color:#ffc1c1;transform:translateY(-1px)}.outbound-campaign-delete:focus-visible{outline:2px solid rgba(255,130,130,.45);outline-offset:2px}.outbound-campaign-delete svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.outbound-campaign-name{margin:0;color:var(--text);font-size:15px;font-weight:750}.outbound-campaign-type{margin:5px 0 0;color:var(--soft);font-size:11px}.outbound-status{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.03);color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.outbound-status.running,.outbound-status.ready{border-color:rgba(111,220,145,.22);background:rgba(111,220,145,.07);color:#a9ebbd}.outbound-status.preparing,.outbound-status.completed{border-color:rgba(254,233,147,.24);background:rgba(254,233,147,.08);color:var(--gold)}.outbound-status.paused{border-color:rgba(255,190,100,.22);background:rgba(255,190,100,.06);color:#f3ca8d}.outbound-status.cancelled,.outbound-status.failed{border-color:rgba(255,120,120,.22);background:rgba(255,100,100,.05);color:#ffb6b6}.outbound-campaign-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:15px}.outbound-mini{padding:10px;border-radius:11px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.outbound-mini strong{display:block;color:var(--text);font-size:14px}.outbound-mini span{display:block;margin-top:3px;color:var(--soft);font-size:9.5px;text-transform:uppercase;letter-spacing:.04em}.outbound-empty{padding:34px 20px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:16px;color:var(--muted);font-size:13px;line-height:1.65}.outbound-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.outbound-field{display:grid;gap:7px}.outbound-field.full{grid-column:1/-1}.outbound-field label{color:rgba(244,244,242,.88);font-size:11.5px;font-weight:750}.outbound-field input,.outbound-field textarea,.outbound-field select{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#111;color:var(--text);padding:11px 12px;outline:none;font:inherit;font-size:12.5px}.outbound-field textarea{min-height:118px;resize:vertical;line-height:1.55}.outbound-field input:focus,.outbound-field textarea:focus,.outbound-field select:focus{border-color:rgba(254,233,147,.48);box-shadow:0 0 0 3px rgba(254,233,147,.06)}.outbound-hint{color:var(--soft);font-size:10.5px;line-height:1.5}.outbound-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.outbound-type-card{padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.025);cursor:pointer}.outbound-type-card.active{border-color:rgba(254,233,147,.35);background:rgba(254,233,147,.065)}.outbound-type-card strong{display:block;color:var(--text);font-size:13px}.outbound-type-card p{margin:6px 0 0;color:var(--muted);font-size:10.8px;line-height:1.5}.outbound-check{display:flex;gap:10px;align-items:center;margin-top:14px;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.02)}.outbound-check input{margin-top:0;accent-color:#f8df78;flex:0 0 auto}.outbound-check label{color:var(--muted);font-size:11px;line-height:1.55}.outbound-terms-text{max-height:220px;overflow:auto;margin-top:14px;padding:15px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#101010;color:var(--muted);font-size:11.5px;line-height:1.68;white-space:pre-wrap}.outbound-terms-panel .outbound-panel-title{font-size:18px}.outbound-terms-panel .outbound-panel-copy{font-size:14px;line-height:1.72}.outbound-terms-panel .outbound-terms-text{font-size:13.5px;line-height:1.82;padding:18px}.outbound-terms-panel .outbound-check label{font-size:12.5px;line-height:1.72}.outbound-terms-footer{margin-top:34px}.outbound-terms-footer-divider{height:1px;margin:0 0 18px;background:rgba(255,255,255,.09)}.outbound-terms-footer .outbound-panel{margin-top:0}.outbound-import-tabs{display:flex;gap:8px;margin-top:14px}.outbound-tab{min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.025);color:var(--muted);font-size:11px;font-weight:700;cursor:pointer}.outbound-tab.active{border-color:rgba(254,233,147,.3);background:rgba(254,233,147,.07);color:var(--gold)}.outbound-paste{width:100%;min-height:150px;margin-top:12px;padding:12px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:#0f0f0f;color:var(--text);font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical;outline:none}.outbound-file-drop{margin-top:12px;padding:24px;border:1px dashed rgba(254,233,147,.25);border-radius:14px;text-align:center;background:rgba(254,233,147,.025)}.outbound-file-drop input{max-width:100%;color:var(--muted);font-size:11px}.outbound-map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.outbound-map-item label{display:block;margin-bottom:6px;color:var(--soft);font-size:9.5px;text-transform:uppercase;letter-spacing:.05em}.outbound-map-item .outbound-choice-trigger{min-height:40px;padding:0 11px;border-radius:11px;font-size:11.5px;font-weight:700}.outbound-map-item .outbound-choice-panel{top:calc(100% + 6px);padding:7px;border-radius:12px}.outbound-map-item .outbound-choice-option{min-height:38px;padding:7px 9px;font-size:11.5px}.outbound-table-wrap{overflow:auto;margin-top:14px;border:1px solid rgba(255,255,255,.08);border-radius:12px}.outbound-table{width:100%;border-collapse:collapse;min-width:960px}.outbound-table th,.outbound-table td{padding:12px 12px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;font-size:11.6px;line-height:1.48;vertical-align:top}.outbound-table th{color:var(--soft);font-size:9.8px;text-transform:uppercase;letter-spacing:.05em;background:rgba(255,255,255,.025)}.outbound-table td{color:var(--muted)}.outbound-table tr:last-child td{border-bottom:0}.outbound-cell-state{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:0 9px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025);color:var(--muted);font-size:10.4px;font-weight:750;white-space:nowrap}.outbound-cell-state::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}.outbound-cell-state.good{border-color:rgba(111,220,145,.2);background:rgba(111,220,145,.055);color:#a9ebbd}.outbound-cell-state.warn{border-color:rgba(254,233,147,.2);background:rgba(254,233,147,.05);color:var(--gold)}.outbound-cell-state.bad{border-color:rgba(255,120,120,.2);background:rgba(255,100,100,.045);color:#ffb6b6}.outbound-cell-state.neutral{color:rgba(244,244,242,.62)}.outbound-cell-note{margin-top:5px;color:var(--soft);font-size:10.6px;line-height:1.5}.outbound-source-summary{color:var(--muted);font-size:11.2px;line-height:1.5}.outbound-context-open{display:inline-flex;align-items:center;gap:5px;margin-top:7px;padding:0;border:0;background:transparent;color:var(--gold);font:inherit;font-size:10.8px;font-weight:800;cursor:pointer}.outbound-context-open::after{content:"↗";font-size:10px;opacity:.9}.outbound-context-open:hover{text-decoration:underline}.outbound-research-dialog{width:min(760px,calc(100vw - 32px));max-height:min(82vh,760px);padding:0;border:1px solid rgba(254,233,147,.24);border-radius:20px;background:linear-gradient(180deg,rgba(31,31,31,.995),rgba(17,17,17,.995));color:var(--text);box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 1px rgba(254,233,147,.035);overflow:hidden}.outbound-research-dialog::backdrop{background:rgba(0,0,0,.74);backdrop-filter:blur(7px)}.outbound-research-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid rgba(255,255,255,.075)}.outbound-research-head-copy{min-width:0}.outbound-research-eyebrow{margin:0 0 6px;color:var(--gold);font-size:10.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.outbound-research-title{margin:0;color:var(--text);font-size:19px;font-weight:780;letter-spacing:-.025em;overflow-wrap:anywhere}.outbound-research-close{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:0 0 34px;padding:0;border:1px solid rgba(255,255,255,.11);border-radius:10px;background:rgba(255,255,255,.035);color:var(--muted);cursor:pointer}.outbound-research-close svg{width:14px;height:14px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.outbound-research-close:hover{border-color:rgba(254,233,147,.26);color:var(--text);background:rgba(254,233,147,.055)}.outbound-research-body{max-height:calc(82vh - 82px);overflow:auto;padding:22px 24px 24px}.outbound-research-section+.outbound-research-section{margin-top:19px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07)}.outbound-research-label{margin:0 0 7px;color:var(--soft);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.outbound-research-text{margin:0;color:rgba(244,244,242,.78);font-size:13.5px;line-height:1.72;white-space:pre-wrap;overflow-wrap:anywhere}.outbound-research-source{display:inline-flex;margin-top:2px;color:var(--gold);font-size:12.5px;font-weight:750;text-decoration:none;overflow-wrap:anywhere}.outbound-research-source:hover{text-decoration:underline}
.outbound-campaign-contacts-scroll{
  height:390px;
  min-height:230px;
  max-height:72vh;
  overflow:auto;
  resize:vertical;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(254,233,147,.30) rgba(255,255,255,.03);
}
.outbound-campaign-contacts-scroll::-webkit-scrollbar{
  width:9px;
  height:9px;
}
.outbound-campaign-contacts-scroll::-webkit-scrollbar-track{
  background:rgba(255,255,255,.025);
}
.outbound-campaign-contacts-scroll::-webkit-scrollbar-thumb{
  border:2px solid #151515;
  border-radius:999px;
  background:rgba(254,233,147,.30);
}
.outbound-campaign-contacts-scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(254,233,147,.50);
}

.outbound-campaign-contacts-scroll{
  background-image:
    linear-gradient(135deg, transparent 0 55%, rgba(254,233,147,.16) 56% 63%, transparent 64%),
    linear-gradient(135deg, transparent 0 69%, rgba(254,233,147,.28) 70% 77%, transparent 78%);
  background-repeat:no-repeat;
  background-position:right 5px bottom 5px,right 1px bottom 1px;
  background-size:14px 14px,14px 14px;
}
.outbound-campaign-contacts-scroll .outbound-table thead th{
  position:sticky;
  top:0;
  z-index:4;
  height:54px;
  padding-top:0;
  padding-bottom:0;
  vertical-align:middle;
  background:#202020;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}

.outbound-campaign-contacts-scroll .outbound-table tbody td{
  vertical-align:middle;
}
.outbound-campaign-contacts-scroll .outbound-table th:nth-child(2),
.outbound-campaign-contacts-scroll .outbound-table td:nth-child(2){
  min-width:150px;
  white-space:nowrap;
}

.outbound-contact-filterbar{
  display:grid;
  grid-template-columns:minmax(230px,1.45fr) repeat(4,minmax(145px,1fr)) auto;
  gap:9px;
  align-items:end;
  margin:15px 0 10px;
}
.outbound-contact-filter{
  display:grid;
  gap:6px;
  min-width:0;
}
.outbound-contact-filter label{
  color:var(--soft);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.outbound-contact-filter input,
.outbound-contact-filter select{
  width:100%;
  min-height:40px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:11px;
  outline:none;
  background:#101010;
  color:var(--text);
  font:inherit;
  font-size:11.5px;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.outbound-contact-filter input::placeholder{color:rgba(244,244,242,.34)}
.outbound-contact-filter input:focus{
  border-color:rgba(254,233,147,.40);
  box-shadow:0 0 0 3px rgba(254,233,147,.045);
  background:#121212;
}
.outbound-contact-filter .outbound-choice-trigger{
  min-height:40px;
  padding:0 11px;
  border-radius:11px;
  font-size:11.5px;
  font-weight:700;
}
.outbound-contact-filter .outbound-choice-panel{
  top:calc(100% + 6px);
  max-height:260px;
  padding:7px;
  border-radius:12px;
}
.outbound-contact-filter .outbound-choice-option{
  min-height:38px;
  padding:7px 9px;
  font-size:11.5px;
}
.outbound-contact-filter-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-end;
  gap:8px;
  min-width:110px;
}
.outbound-contact-filter-clear{
  min-height:40px;
  white-space:nowrap;
}
.outbound-contact-filter-meta{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-height:20px;
  color:var(--soft);
  font-size:10.5px;
  text-align:right;
}
.outbound-contact-filter-empty{
  padding:28px 18px!important;
  text-align:center!important;
  color:var(--muted)!important;
}

.outbound-contact-select-col{
  width:42px;
  min-width:42px;
  max-width:42px;
  padding-left:12px!important;
  padding-right:8px!important;
  text-align:center!important;
}

.outbound-campaign-contacts-scroll .outbound-table th:nth-child(2),
.outbound-campaign-contacts-scroll .outbound-table td:nth-child(2){
  width:250px;
  min-width:250px;
  max-width:250px;
}
.outbound-contact-check{
  appearance:none;
  -webkit-appearance:none;
  width:16px;
  height:16px;
  display:inline-grid;
  place-items:center;
  margin:0;
  border:1px solid rgba(255,255,255,.22);
  border-radius:5px;
  background:#0d0d0d;
  cursor:pointer;
  vertical-align:middle;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.outbound-contact-check:hover{
  border-color:rgba(254,233,147,.52);
}
.outbound-contact-check:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(254,233,147,.08);
  border-color:rgba(254,233,147,.58);
}
.outbound-contact-check:checked,
.outbound-contact-check:indeterminate{
  border-color:rgba(254,233,147,.64);
  background:#fee993;
}
.outbound-contact-check:checked::after{
  content:"";
  width:7px;
  height:4px;
  border-left:2px solid #171717;
  border-bottom:2px solid #171717;
  transform:translateY(-1px) rotate(-45deg);
}
.outbound-contact-check:indeterminate::after{
  content:"";
  width:8px;
  height:2px;
  border-radius:999px;
  background:#171717;
}
.outbound-contact-row-selected td{
  background:rgba(254,233,147,.025);
}
.outbound-contact-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-height:52px;
  padding-top:12px;
}
.outbound-contact-selection-count{
  color:var(--soft);
  font-size:10.5px;
  font-weight:700;
}
.outbound-contact-delete-selected{
  min-height:40px;
}
.outbound-contact-delete-selected:disabled{
  opacity:.42;
  cursor:not-allowed;
}
@media(max-width:1120px){
  .outbound-contact-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .outbound-contact-filter-actions{grid-column:span 3;align-items:flex-end}
}
@media(max-width:760px){
  .outbound-contact-filterbar{grid-template-columns:1fr 1fr}
  .outbound-contact-filter-search{grid-column:1/-1}
  .outbound-contact-filter-actions{grid-column:1/-1;align-items:stretch}
  .outbound-contact-filter-meta{justify-content:flex-start;text-align:left}
}
.outbound-kv{display:grid;grid-template-columns:190px 1fr;gap:10px 16px;margin-top:16px}.outbound-kv dt{color:var(--soft);font-size:12px;line-height:1.55}.outbound-kv dd{margin:0;color:var(--muted);font-size:13.5px;line-height:1.6;word-break:break-word}
.outbound-kv dd.outbound-reference-message{
  white-space:pre-line;
  line-height:1.72;
}
.outbound-kv dt.outbound-kv-center{
  align-self:center;
}.outbound-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.outbound-detail-head h2{margin:0;color:var(--text);font-size:21px}.outbound-detail-meta{margin-top:7px;color:var(--soft);font-size:11px}.outbound-inline-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.outbound-loading{padding:34px;text-align:center;color:var(--muted);font-size:12.5px}.outbound-spinner{width:28px;height:28px;margin:0 auto 12px;border:3px solid rgba(254,233,147,.12);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}.outbound-card-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;border:1px solid rgba(254,233,147,.2);background:rgba(254,233,147,.06);color:var(--gold);font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.outbound-card-badge.disabled{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.025);color:var(--soft)}.outbound-issue-list{display:grid;gap:7px;margin-top:12px}.outbound-issue{padding:9px 10px;border-radius:9px;background:rgba(255,255,255,.025);color:var(--muted);font-size:10.5px}.outbound-back{margin-bottom:10px}.outbound-separator{height:1px;background:rgba(255,255,255,.07);margin:18px 0}.outbound-file-name{margin-top:8px;color:var(--gold);font-size:10.5px}.outbound-progress{height:7px;margin-top:10px;display:flex;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.06)}
.outbound-progress>span{display:block;height:100%;flex:0 0 auto}
.outbound-progress-sent{background:linear-gradient(90deg,#f8df78,#fee993)}
.outbound-progress-ineligible{background:linear-gradient(90deg,rgba(220,92,92,.58),rgba(236,111,111,.68))}

@media(max-width:1000px){.outbound-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.outbound-campaign-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.outbound-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ======================================================
   OUTBOUND · Nova campanha
   Linguagem comercial + hierarquia em 3 etapas
   ====================================================== */
.outbound-create-view .outbound-copy{font-size:15px}
.outbound-create-view .outbound-btn{font-size:13.5px}
.outbound-create-view .outbound-type-grid{margin-top:13px}
.outbound-create-view .outbound-type-card{padding:18px}
.outbound-create-view .outbound-type-card strong{font-size:14px}
.outbound-create-view .outbound-type-card p{font-size:12px;line-height:1.6}
.outbound-create-view .outbound-field{gap:8px}
.outbound-create-view .outbound-field label{font-size:12.5px}
.outbound-create-view .outbound-field input,
.outbound-create-view .outbound-field textarea{font-size:13.5px;padding:12px 13px}
.outbound-create-view .outbound-field input{min-height:48px}
.outbound-create-view .outbound-field textarea{min-height:126px}
.outbound-create-view .outbound-hint,
.outbound-create-view .outbound-field-help{color:var(--soft);font-size:11.5px;line-height:1.6}.outbound-personalization-grid>.outbound-field,.outbound-source-grid>.outbound-field{align-content:start}.outbound-personalization-grid .outbound-field-help,.outbound-source-grid .outbound-field-help{height:44px;min-height:44px}.outbound-personalization-grid .outbound-choice-trigger,.outbound-source-grid .outbound-choice-trigger{min-height:48px}
.outbound-create-view .outbound-check{padding:15px 16px}
.outbound-create-view .outbound-check label{font-size:12px;line-height:1.65}
.outbound-create-stack{display:grid;gap:16px}
.outbound-create-section{padding:22px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,rgba(28,28,28,.94),rgba(18,18,18,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.outbound-create-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:19px}
.outbound-create-step{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border:1px solid rgba(254,233,147,.24);border-radius:9px;background:var(--gold-faint);color:var(--gold);font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}
.outbound-create-section-head h2{margin:1px 0 0;color:var(--text);font-size:19px;letter-spacing:-.025em}
.outbound-create-section-head p{max-width:760px;margin:6px 0 0;color:var(--muted);font-size:13.5px;line-height:1.6}
.outbound-create-label{display:block;margin:0 0 9px;color:rgba(244,244,242,.9);font-size:12.5px;font-weight:800}
.outbound-create-divider{height:1px;margin:19px 0;background:rgba(255,255,255,.065)}
.outbound-create-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:18px;padding-top:17px;border-top:1px solid rgba(255,255,255,.065)}
.outbound-choice{position:relative;min-width:0}
.outbound-choice-trigger{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;border:1px solid var(--border);border-radius:13px;background:rgba(8,8,8,.72);color:var(--text);cursor:pointer;font:inherit;font-size:13.5px;font-weight:750;text-align:left;transition:border-color 160ms ease,box-shadow 160ms ease,background 160ms ease}
.outbound-choice-trigger:hover,.outbound-choice.open .outbound-choice-trigger{border-color:rgba(254,233,147,.46);background:rgba(11,11,11,.96);box-shadow:0 0 0 3px rgba(254,233,147,.045)}
.outbound-choice-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.outbound-choice-chevron{width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;color:var(--soft);transition:transform 160ms ease}
.outbound-choice-chevron svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.outbound-choice.open .outbound-choice-chevron{transform:rotate(180deg)}
.outbound-choice-panel{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;max-height:300px;overflow:auto;padding:9px;border:1px solid rgba(254,233,147,.22);border-radius:15px;background:#121212;box-shadow:0 22px 50px rgba(0,0,0,.55);scrollbar-width:thin;scrollbar-color:rgba(254,233,147,.28) transparent}
.outbound-choice-panel[hidden]{display:none}
.outbound-choice-option{width:100%;min-height:46px;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:13px;font-weight:720;text-align:left;transition:150ms ease}
.outbound-choice-option:hover{border-color:rgba(254,233,147,.24);background:rgba(254,233,147,.04);color:var(--text)}
.outbound-choice-option.selected{border-color:rgba(254,233,147,.24);background:rgba(254,233,147,.035);color:#eee5bc}
.outbound-choice-check{width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px;border:1px solid transparent;border-radius:999px;color:transparent}
.outbound-choice-option.selected .outbound-choice-check{border-color:rgba(254,233,147,.28);background:rgba(254,233,147,.055);color:var(--gold-soft)}
.outbound-choice-check svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.outbound-research-note{margin-top:8px;color:var(--soft);font-size:11.5px;line-height:1.6}
.outbound-create-import-section .outbound-import-tabs{margin-top:0}
.outbound-upload-dropzone{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:13px;padding:20px;border:1px dashed rgba(254,233,147,.24);border-radius:16px;background:radial-gradient(circle at 0 0,rgba(254,233,147,.055),transparent 31%),rgba(8,8,8,.36);transition:border-color 160ms ease,background 160ms ease,transform 160ms ease}
.outbound-upload-dropzone.dragover{border-color:rgba(254,233,147,.62);background:rgba(254,233,147,.065);transform:translateY(-1px)}
.outbound-upload-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(254,233,147,.2);border-radius:13px;background:rgba(254,233,147,.07);color:var(--gold)}
.outbound-upload-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.outbound-upload-copy{min-width:0}.outbound-upload-copy strong{display:block;color:var(--text);font-size:14px}.outbound-upload-copy span,.outbound-upload-copy small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.outbound-upload-copy small{color:var(--soft);font-size:10.5px}
.outbound-upload-selected{margin-top:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:rgba(255,255,255,.02);color:var(--muted);font-size:11.5px}.outbound-upload-selected strong{color:var(--text)}
.outbound-create-import-preview{margin-top:14px}
.outbound-import-preview-scroll{
  max-height:378px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(254,233,147,.34) rgba(255,255,255,.035);
}
.outbound-import-preview-scroll::-webkit-scrollbar{
  width:9px;
  height:9px;
}
.outbound-import-preview-scroll::-webkit-scrollbar-track{
  background:rgba(255,255,255,.025);
}
.outbound-import-preview-scroll::-webkit-scrollbar-thumb{
  border:2px solid #151515;
  border-radius:999px;
  background:rgba(254,233,147,.34);
}
.outbound-import-preview-scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(254,233,147,.52);
}
.outbound-import-preview-scroll .outbound-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  background:#1b1b1b;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}

/* Import preview: preserve readable phone numbers even when URL/context columns are long. */
.outbound-import-preview-scroll .outbound-table th:nth-child(2),
.outbound-import-preview-scroll .outbound-table td:nth-child(2){
  width:170px;
  min-width:170px;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
.outbound-import-preview-scroll .outbound-table th:first-child,
.outbound-import-preview-scroll .outbound-table td:first-child{
  min-width:230px;
}
.outbound-import-preview-scroll .outbound-table td:nth-child(n+3){
  overflow-wrap:anywhere;
}
.outbound-create-import-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.outbound-confirm-dialog{width:min(480px,calc(100vw - 32px));padding:0;border:1px solid rgba(254,233,147,.3);border-radius:20px;background:linear-gradient(180deg,rgba(31,31,31,.995),rgba(17,17,17,.995));color:var(--text);box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 1px rgba(254,233,147,.04);overflow:hidden}
.outbound-confirm-dialog::backdrop{background:rgba(0,0,0,.74);backdrop-filter:blur(7px)}
.outbound-confirm-body{padding:24px}.outbound-confirm-head{display:flex;align-items:center;gap:14px}.outbound-confirm-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border:1px solid rgba(254,233,147,.22);border-radius:12px;background:rgba(254,233,147,.07);color:var(--gold)}.outbound-confirm-icon.danger{border-color:rgba(255,120,120,.24);background:rgba(255,100,100,.07);color:#ffb6b6}.outbound-confirm-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.outbound-confirm-copy h3{margin:1px 0 0;color:var(--text);font-size:18px;letter-spacing:-.025em}.outbound-confirm-copy p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.65}.outbound-confirm-actions{display:flex;justify-content:flex-end;gap:9px;padding:16px 24px 20px;border-top:1px solid rgba(255,255,255,.065);background:rgba(0,0,0,.12)}
@media(max-width:720px){.outbound-upload-dropzone{grid-template-columns:auto 1fr}.outbound-upload-dropzone .outbound-btn{grid-column:1/-1;width:100%}.outbound-confirm-actions{flex-direction:column-reverse}.outbound-confirm-actions .outbound-btn{width:100%}}

@media(max-width:720px){.outbound-create-section{padding:18px 15px}.outbound-create-section-head{gap:11px}.outbound-create-section-head h2{font-size:18px}.outbound-personalization-grid .outbound-field-help,.outbound-source-grid .outbound-field-help{height:auto;min-height:0}}

@media(max-width:720px){.outbound-hero,.outbound-detail-head{flex-direction:column}.outbound-hero-side{width:100%;align-items:flex-start}.outbound-page-toggle-card{width:100%;max-width:none}.outbound-actions,.outbound-inline-actions{justify-content:flex-start}.outbound-policy-row{margin-left:0}.outbound-form-grid,.outbound-type-grid,.outbound-grid{grid-template-columns:1fr}.outbound-campaign-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.outbound-map-grid{grid-template-columns:1fr}.outbound-kv{grid-template-columns:1fr}.outbound-tool-page{padding-top:24px}}
@media (prefers-reduced-motion: reduce){.outbound-policy-icon,.reports-info-icon{animation:none}}
