/* CODSHIPX_AI_R35_R3_R4_LIVE_AGENT_UI */
.cx35-la-launch{
  position:fixed;
  right:18px;
  bottom:94px;
  z-index:2147482000;
  border:1px solid rgba(10,44,30,.12);
  background:#0c251c;
  color:#fff;
  border-radius:999px;
  min-height:44px;
  padding:9px 14px;
  display:flex;
  align-items:center;
  gap:9px;
  font:700 12px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 18px 45px rgba(10,35,25,.22);
  cursor:pointer
}
.cx35-la-launch i{width:9px;height:9px;border-radius:50%;background:#8be20f;box-shadow:0 0 0 5px rgba(139,226,15,.12)}
.cx35-la-launch b{min-width:20px;height:20px;border-radius:999px;background:#8be20f;color:#0a2418;display:grid;place-items:center;font-size:10px;padding:0 5px}
.cx35-la-shell[hidden]{display:none!important}
.cx35-la-shell{position:fixed;inset:0;z-index:2147482500;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cx35-la-backdrop{position:absolute;inset:0;background:rgba(3,16,11,.48);backdrop-filter:blur(8px)}
.cx35-la-drawer{position:absolute;right:0;top:0;bottom:0;width:min(620px,100vw);background:#f7faf8;box-shadow:-26px 0 80px rgba(0,0,0,.22);display:grid;grid-template-rows:auto auto 1fr}
.cx35-la-head{padding:18px 20px;background:linear-gradient(120deg,#0c251c,#103d2b);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cx35-la-head small{display:block;font-size:9px;letter-spacing:.14em;color:#92b4a5;font-weight:800}
.cx35-la-head h2{margin:3px 0 0;font-size:20px}
.cx35-la-x{border:0;width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.09);color:#fff;font-size:22px;cursor:pointer}
.cx35-la-tabs{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid #dce7e2;background:#fff}
.cx35-la-tabs button{border:1px solid #dce7e2;background:#fff;color:#5d7469;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:800;cursor:pointer}
.cx35-la-tabs button.active{background:#e9f8f0;border-color:#bde8d3;color:#087a49}
.cx35-la-body{overflow:auto;padding:16px}
.cx35-la-card{background:#fff;border:1px solid #dce7e2;border-radius:18px;padding:15px;margin-bottom:10px;box-shadow:0 9px 28px rgba(18,55,39,.05)}
.cx35-la-card h3{margin:0 0 5px;font-size:14px;color:#10221b}
.cx35-la-card p{margin:0;color:#6e8178;font-size:11px;line-height:1.55}
.cx35-la-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.cx35-la-chip{font-size:9px;font-weight:800;border-radius:999px;background:#eef5f1;color:#547066;padding:5px 8px}
.cx35-la-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.cx35-la-btn{border:1px solid #d7e3dd;background:#fff;color:#173b2b;border-radius:10px;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer}
.cx35-la-btn.primary{background:#12b76a;border-color:#12b76a;color:#062417}
.cx35-la-btn.danger{background:#fff1f1;border-color:#ffd0d2;color:#b32930}
.cx35-la-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.cx35-la-grid input,.cx35-la-grid select{width:100%;border:1px solid #d7e3dd;border-radius:10px;padding:9px 10px;font-size:10px;background:#fff}
.cx35-la-agent{display:grid;grid-template-columns:minmax(0,1fr) 150px 100px;gap:8px;align-items:center}
.cx35-la-agent strong{font-size:11px;color:#10221b}
.cx35-la-agent small{display:block;color:#809188;font-size:9px;margin-top:2px}
.cx35-la-empty{padding:42px 16px;text-align:center;color:#7a8e84;font-size:11px}
.cx35-la-flash{position:fixed;right:24px;top:84px;z-index:2147483000;background:#eaf9f1;border:1px solid #c4ebd8;color:#0a7042;border-radius:11px;padding:10px 13px;font-size:10px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.cx35-la-flash.error{background:#fff1f1;border-color:#ffd0d2;color:#b32930}
@media(max-width:680px){
  .cx35-la-launch{right:12px;bottom:82px}
  .cx35-la-drawer{width:100%}
  .cx35-la-agent{grid-template-columns:1fr}
  .cx35-la-grid{grid-template-columns:1fr}
}


/* ==========================================================================
   CODSHIPX_AI_CRM_R110_R2_LIVE_AGENT_SEPARATION
   Explicit Live Agent roster.
   Staff access is not represented as Live Agent membership.
   ========================================================================== */

.cx35-la-roster-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px !important;
  border:
    1px solid #dce9e3 !important;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f6fbf8
    ) !important;
}

.cx35-la-roster-intro h3 {
  margin:
    4px 0 5px !important;
  font-size: 18px;
}

.cx35-la-roster-intro p {
  max-width: 430px;
  margin: 0 !important;
  color: #74847c !important;
  line-height: 1.5;
}

.cx35-la-eyebrow {
  display: block;
  color: #15945b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.cx35-la-roster-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border:
    1px solid #d7eadf;
  border-radius: 999px;
  background: #eef9f2;
  color: #326b4c;
  font-size: 11px;
  font-weight: 750;
}

.cx35-la-roster-count b {
  color: #0d8a4d;
  font-size: 13px;
}

.cx35-la-roster-list {
  display: grid;
  gap: 10px;
}

.cx35-la-roster-agent {
  display: grid !important;
  grid-template-columns:
    minmax(150px,1.1fr)
    minmax(145px,.85fr)
    minmax(120px,.7fr)
    auto !important;
  align-items: end !important;
  gap: 12px !important;
  padding: 16px !important;
}

.cx35-la-agent-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  align-self: center;
}

.cx35-la-agent-person > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.cx35-la-agent-person strong {
  overflow: hidden;
  color: #16271f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx35-la-agent-person small {
  overflow: hidden;
  color: #829087;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx35-la-agent-dot {
  display: block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #18bb6d;
  box-shadow:
    0 0 0 4px
    rgba(24,187,109,.10);
}

.cx35-la-agent-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cx35-la-agent-field > small {
  color: #7b8a82;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cx35-la-agent-field input,
.cx35-la-agent-field select {
  width: 100%;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  padding: 0 11px;
  border:
    1px solid #dce7e1;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: #1d3027;
  font: inherit;
  font-size: 12px;
}

.cx35-la-agent-field input:focus,
.cx35-la-agent-field select:focus {
  border-color: #49bd7d;
  box-shadow:
    0 0 0 3px
    rgba(30,184,104,.10);
}

.cx35-la-roster-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cx35-la-roster-actions
.cx35-la-btn {
  min-height: 40px;
  margin: 0 !important;
  white-space: nowrap;
}

.cx35-la-roster-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px !important;
  border:
    1px dashed #cfe2d7 !important;
  border-radius: 15px;
  background: #fbfdfc;
}

.cx35-la-roster-empty strong {
  color: #244637;
  font-size: 13px;
}

.cx35-la-roster-empty span {
  color: #809087;
  font-size: 11px;
  line-height: 1.5;
}

.cx35-la-add-agent-card {
  margin-top: 4px;
  padding: 18px !important;
  border:
    1px solid #dce7e1 !important;
  background: #fff !important;
}

.cx35-la-add-agent-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.cx35-la-add-agent-head > span {
  display: grid;
  gap: 3px;
}

.cx35-la-add-agent-head small {
  color: #16945b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
}

.cx35-la-add-agent-head strong {
  color: #173326;
  font-size: 14px;
}

.cx35-la-add-agent-head p {
  max-width: 340px;
  margin: 0 !important;
  color: #7c8a83 !important;
  font-size: 10.5px !important;
  line-height: 1.45;
  text-align: right;
}

.cx35-la-add-agent-grid {
  display: grid;
  grid-template-columns:
    minmax(150px,1fr)
    minmax(140px,.8fr)
    minmax(110px,.65fr)
    auto;
  align-items: end;
  gap: 10px;
}

.cx35-la-add-agent-btn {
  min-height: 40px;
  margin: 0 !important;
  padding:
    0 16px !important;
  white-space: nowrap;
}

.cx35-la-add-agent-card.is-complete
.cx35-la-add-agent-head {
  margin-bottom: 0;
}

@media (max-width: 720px) {

  .cx35-la-roster-intro {
    flex-direction: column;
  }

  .cx35-la-roster-agent {
    grid-template-columns:
      1fr 1fr !important;
    align-items: end !important;
  }

  .cx35-la-agent-person {
    grid-column: 1 / -1;
  }

  .cx35-la-roster-actions {
    grid-column: 1 / -1;
  }

  .cx35-la-add-agent-head {
    flex-direction: column;
  }

  .cx35-la-add-agent-head p {
    max-width: none;
    text-align: left;
  }

  .cx35-la-add-agent-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {

  .cx35-la-roster-agent {
    grid-template-columns:
      1fr !important;
  }

  .cx35-la-agent-person,
  .cx35-la-roster-actions {
    grid-column: 1;
  }

  .cx35-la-roster-actions {
    justify-content: stretch;
  }

  .cx35-la-roster-actions
  .cx35-la-btn {
    flex: 1;
  }
}

