:root{
  --bg:#0a2a57;
  --card: rgba(255,255,255,0.10);
  --card2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --accent: #1b78ff;
  --accent2: #00b7ff;
  --gold: #f0c84b;
  --danger: #ff8484;
  --success: #9ff3c7;
  --warning: #f8dc7a;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-top: 78px;
}

::selection{ background: rgba(240,200,75,.35); }
a{ color: inherit; }
a,a:visited{ text-decoration:none; }

.container{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.bg-image{ position:fixed; inset:0; z-index:-3;
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(27,120,255,.30), transparent 60%),
    radial-gradient(900px 520px at 86% 16%, rgba(0,183,255,.22), transparent 60%),
    radial-gradient(900px 520px at 50% 0%, rgba(240,200,75,.18), transparent 55%),
    linear-gradient(180deg, #061a3a, #0a2a57);
}
.bg-orbit{ position:fixed; left:50%; top:26%; width:860px; height:860px; transform:translate(-50%,-50%);
  border-radius:999px; border:1px solid rgba(10,40,70,.12); box-shadow:0 0 0 1px rgba(0,183,255,.10) inset;
  opacity:.55; z-index:-2; animation: orbitPulse 6s ease-in-out infinite;
}
@keyframes orbitPulse{ 0%,100%{ transform:translate(-50%,-50%) scale(1); opacity:.38;} 50%{ transform:translate(-50%,-50%) scale(1.03); opacity:.52;} }
.bg-grid{ position:fixed; inset:0; z-index:-1;
  background-image:
    linear-gradient(to right, rgba(10,40,70,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,40,70,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(520px 320px at 50% 18%, black 50%, transparent 100%);
  opacity:.35;
}

.m-topbar{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.m-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}
.m-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.2px;
}
.m-brand__icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
}
.m-brand__name{
  color: rgba(255,255,255,.95);
}

.corp-toplink{
  color: rgba(255,255,255,.82);
  font-weight:800;
  font-size:13px;
}
.corp-toplink:hover{
  color: rgba(255,255,255,.95);
  text-decoration: underline;
  text-decoration-color: rgba(240,200,75,.9);
  text-underline-offset: 6px;
}

.m-actions{ display:flex; align-items:center; gap:10px; }

.lang-pill{
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 35px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  width: 35px;
  overflow: hidden;
  transition:
    width 520ms cubic-bezier(.16, 1.4, .3, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    transform 520ms cubic-bezier(.16, 1.4, .3, 1);
  transform: translateZ(0);
  will-change: width, transform;
}
.lang-pill.open{
  width: 128px;
  border-color: rgba(240,200,75,.65);
  box-shadow: 0 14px 34px rgba(10,40,70,0.16);
}
.lang-current{
  width: 24px; height:24px; line-height:24px;
  border-radius: 999px;
  border: none; background: transparent; cursor:pointer;
  font-weight:900; font-size:12px; letter-spacing:0.6px;
  color: rgba(255,255,255,0.92);
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
}
.lang-options{
  position: absolute;
  right: 33px;
  top: 50%;
  transform: translateY(-50%) translateX(18px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 520ms cubic-bezier(.16, 1.4, .3, 1);
}
.lang-pill.open .lang-options{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.lang-opt{
  width: 24px; height:24px; line-height:24px;
  border-radius: 999px;
  border: none; background: transparent; cursor:pointer;
  font-weight:900; font-size:11px; letter-spacing:0.5px;
  color: rgba(255,255,255,0.70);
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
}
.lang-opt:hover{ color: rgba(240,200,75,.95); }
.lang-opt.active{ color: rgba(255,255,255,.95); background: rgba(240,200,75,0.22); }

.corp-userbox{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.corp-userbox__meta{ line-height:1.2; }
.corp-userbox__title{ font-size: 12px; font-weight: 900; color: rgba(255,255,255,.90); }
.corp-userbox__email{ font-size: 12px; color: var(--muted); }

.corp-shell{
  padding: 18px 0 46px;
}

.corp-hero,
.corp-panel,
.corp-kpi,
.corp-empty{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.corp-hero{
  padding: 24px;
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(27,120,255,.14), transparent 60%),
    radial-gradient(1200px 420px at 90% 0%, rgba(0,183,255,.10), transparent 60%),
    rgba(255,255,255,.10);
}
.corp-hero__grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items:center;
}
.corp-hero__title{
  margin: 10px 0 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: .15px;
}
.corp-hero__sub{
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}
.corp-hero-card{
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.corp-hero-card__value{
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.corp-subnav .nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  font-size: 13px;
}
.corp-subnav .nav-link:hover{
  border-color: rgba(240,200,75,.75);
  color: rgba(255,255,255,.96);
}
.corp-subnav .nav-link.active{
  border: 0;
  color: rgba(255,255,255,.98);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 30px rgba(10,40,70,.18);
}

.corp-lead-actions{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.corp-lead-actions form,
.corp-lead-actions a{
  min-width:0;
}
.corp-lead-actions--single{
  grid-template-columns: minmax(0, 1fr);
}

.corp-chat-thread{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.corp-chat-thread--scrollable{
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 6px;
}
.corp-chat-row{
  display:flex;
}
.corp-chat-row--inbound{
  justify-content:flex-start;
}
.corp-chat-row--outbound{
  justify-content:flex-end;
}
.corp-chat-bubble{
  width:min(82%, 680px);
  min-width:0;
  overflow:hidden;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.corp-chat-bubble--inbound{
  background: rgba(255,255,255,.08);
}
.corp-chat-bubble--comment{
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(255,255,255,.10));
  border-color: rgba(34,197,94,.28);
}
.corp-chat-bubble--outbound{
  background: linear-gradient(135deg, rgba(240,200,75,.22), rgba(255,255,255,.12));
  border-color: rgba(240,200,75,.35);
}
.corp-chat-bubble__meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
  font-size:12px;
  color: var(--muted);
}
.corp-chat-bubble__author{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.corp-msg-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:0 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  line-height:1;
  border:1px solid rgba(255,255,255,.14);
}
.corp-msg-status--queued{
  background: rgba(240,200,75,.18);
  border-color: rgba(240,200,75,.34);
  color:#fde68a;
}
.corp-msg-status--sent{
  background: rgba(16,185,129,.18);
  border-color: rgba(16,185,129,.34);
  color:#d1fae5;
}
.corp-msg-status--failed{
  background: rgba(239,68,68,.18);
  border-color: rgba(239,68,68,.34);
  color:#fecaca;
}
.corp-msg-status--gray{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
}
.corp-msg-status--channel{
  font-weight: 900;
}
.corp-msg-status--comment{
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.34);
  color:#dcfce7;
}
.corp-chat-bubble__text{
  white-space:pre-wrap;
  word-break:break-word;
}
.corp-chat-bubble__text--translation{
  margin-top:6px;
  color: rgba(255,255,255,.88);
}
.corp-chat-translation-label{
  margin-top:8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  color: rgba(255,255,255,.56);
  text-transform:uppercase;
}
.corp-chat-translation-label--error{
  color:#fecaca;
}

.corp-lead-details-toggle summary{
  cursor:pointer;
  user-select:none;
}

@media (max-width: 991.98px){
  .corp-lead-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .corp-chat-bubble{
    width:100%;
  }
}

@media (max-width: 575.98px){
  .corp-lead-actions{
    grid-template-columns: minmax(0, 1fr);
  }
  .corp-chat-bubble__meta{
    flex-direction:column;
    gap:2px;
  }
}


.corp-panel{ padding: 20px; }
.corp-panel--paid-actions{
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(16,185,129,.18), transparent 60%),
    rgba(34,197,94,.14);
  border-color: rgba(74,222,128,.32);
}
.corp-kpi{ padding: 18px; height:100%; }
.corp-empty{ padding: 28px; text-align:center; }
.corp-card-grid{ display:grid; gap: 12px; }
.corp-card{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
}

.corp-section-title{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,.62);
}
.corp-kpi-label,
.corp-muted,
.corp-card-meta,
.form-text,
.table td .small,
.small.corp-muted{
  color: var(--muted) !important;
}
.corp-kpi-value{
  font-size: 30px;
  font-weight: 900;
  line-height: 1.05;
}
.tag{
  display:inline-flex;
  align-items:center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
}
.corp-tag-soft{
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.14);
}

.corp-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 28px;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.95);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
}
.corp-pill.connected,
.corp-pill.active,
.corp-pill.success{
  background: rgba(16,185,129,.18);
  border-color: rgba(16,185,129,.34);
  color: #d1fae5;
}
.corp-pill.warning,
.corp-pill.trial{
  background: rgba(240,200,75,.18);
  border-color: rgba(240,200,75,.28);
  color: #fde68a;
}
.corp-pill.error,
.corp-pill.failed,
.corp-pill.disabled{
  background: rgba(239,68,68,.18);
  border-color: rgba(239,68,68,.28);
  color: #fecaca;
}
.corp-pill.override{
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.28);
  color: #ddd6fe;
}
.corp-pill.inherited,
.corp-pill.pending{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
}

.corp-alert{
  border: 1px solid rgba(240,200,75,.35);
  background: rgba(240,200,75,.14);
  color: #fde68a;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.alert{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.95) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.alert-danger{ background: rgba(239,68,68,.18) !important; color: #fecaca !important; border-color: rgba(239,68,68,.28) !important; }
.alert-warning{ background: rgba(240,200,75,.16) !important; color: #fde68a !important; border-color: rgba(240,200,75,.28) !important; }
.alert-success{ background: rgba(16,185,129,.16) !important; color: #d1fae5 !important; border-color: rgba(16,185,129,.28) !important; }
.alert-secondary{ background: rgba(255,255,255,.10) !important; color: rgba(255,255,255,.86) !important; border-color: rgba(255,255,255,.16) !important; }

.corp-table{
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: rgba(255,255,255,.10);
  --bs-table-striped-bg: rgba(255,255,255,.03);
  --bs-table-hover-bg: rgba(255,255,255,.04);
}
.corp-table thead th{
  color: rgba(255,255,255,.64);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom-width: 1px;
}
.corp-table td,
.corp-table th{ vertical-align: middle; }

.corp-form-label{
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}

.form-control,
.form-select{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.94);
  border-radius: 14px;
  min-height: 44px;
}
.form-control::placeholder{ color: rgba(255,255,255,.42); }
.form-control:focus,
.form-select:focus{
  color: rgba(255,255,255,.96);
  background: rgba(255,255,255,.12);
  border-color: rgba(240,200,75,.72);
  box-shadow: 0 0 0 .2rem rgba(240,200,75,.14);
}
.form-select option{
  color:#08182f;
}
.form-check-input{
  background-color: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}
.form-check-input:checked{
  background-color: var(--accent2);
  border-color: var(--accent2);
}
.form-check-label{ color: rgba(255,255,255,.88); }

.btn{
  border-radius: 12px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.btn-dark,
.btn-outline-dark:hover,
.btn-outline-secondary:hover{
  border: 0;
  color: rgba(255,255,255,.98);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 30px rgba(10,40,70,.18);
}
.btn-outline-dark,
.btn-outline-secondary{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
}
.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.btn-dark:hover{
  color: rgba(255,255,255,.98);
}
.btn-outline-secondary{
  color: rgba(255,255,255,.82);
}

.corp-chart-wrap{ min-height: 280px; }
.corp-footer-note{ font-size: 0.82rem; color: var(--muted); }
.corp-panel pre{
  overflow:auto;
  max-height:26rem;
  margin:0;
  padding:1rem;
  border-radius:1rem;
  background: rgba(7,17,38,.92);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.10);
}

.corp-filter-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.corp-filter-toggle{
  gap:8px;
  white-space:nowrap;
}
.corp-filter-toggle__icon{
  font-size:14px;
  transition: transform 180ms ease;
}
.corp-filter-panel.is-collapsed .corp-filter-toggle__icon{
  transform: rotate(90deg);
}
.corp-filter-panel.is-collapsed .corp-filter-panel__body{
  display:none;
}

.lead-list{
  display:flex;
  flex-direction:column;
}
.lead-row{
  display:grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto;
  gap:16px;
  align-items:center;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:18px;
  padding:16px;
}
.lead-row--manual-question{
  background: rgba(41, 45, 54, .92);
  border-color: rgba(255,255,255,.12);
}
.lead-row__main{
  display:grid;
  grid-template-columns: 150px minmax(220px, 280px) minmax(0, 1fr);
  gap:14px;
  align-items:center;
  min-width:0;
}
.lead-row__date{
  font-weight:800;
  font-size:14px;
  color: rgba(255,255,255,.92);
}
.lead-row__source{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.lead-row__kind{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background: rgba(27,120,255,.18);
  border:1px solid rgba(27,120,255,.28);
  color:#dbeafe;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.lead-row__preview{
  min-width:0;
  color: rgba(255,255,255,.88);
  line-height:1.4;
  word-break:break-word;
}
.lead-row__preview--clamped{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.lead-row__preview--green{
  color: var(--success);
}
.lead-row__preview--yellow{
  color: var(--warning);
}
.lead-row__preview--gray{
  color: rgba(255,255,255,.88);
}
.lead-row__statuspack{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.lead-row__statuspack--compact{
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
}
.lead-dot-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
}
.lead-handoff-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.14);
}
.lead-handoff-badge--green{
  color: var(--success);
  background: rgba(159,243,199,.10);
  border-color: rgba(159,243,199,.28);
}
.lead-handoff-badge--yellow{
  color: var(--warning);
  background: rgba(248,220,122,.10);
  border-color: rgba(248,220,122,.28);
}
.lead-handoff-badge--gray{
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.lead-dot{
  position:relative;
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  cursor:help;
}
.lead-dot-button{
  appearance:none;
  padding:0;
  margin:0;
}
.lead-dot--action{
  cursor:pointer;
}
.lead-dot:focus-visible{
  outline:2px solid rgba(240,200,75,.8);
  outline-offset:2px;
}
.lead-dot[data-tooltip]::after{
  content: attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 12px);
  transform:translateX(-50%) translateY(4px);
  min-width:180px;
  max-width:260px;
  padding:8px 10px;
  border-radius:10px;
  background: rgba(7,17,38,.96);
  border:1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.96);
  font-size:12px;
  line-height:1.35;
  text-align:left;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  opacity:0;
  pointer-events:none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index:8;
}
.lead-dot[data-tooltip]::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:calc(100% + 4px);
  width:10px;
  height:10px;
  transform:translateX(-50%) rotate(45deg);
  background: rgba(7,17,38,.96);
  border-left:1px solid rgba(255,255,255,.16);
  border-top:1px solid rgba(255,255,255,.16);
  opacity:0;
  pointer-events:none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index:7;
}
.lead-dot[data-tooltip]:hover::after,
.lead-dot[data-tooltip]:hover::before,
.lead-dot[data-tooltip]:focus-visible::after,
.lead-dot[data-tooltip]:focus-visible::before{
  opacity:1;
}
.lead-dot[data-tooltip]:hover::after,
.lead-dot[data-tooltip]:focus-visible::after{
  transform:translateX(-50%) translateY(0);
}
.lead-dot--wide{
  width:42px;
  font-size:9px;
}
.lead-dot--green{
  background: rgba(16,185,129,.20);
  border-color: rgba(16,185,129,.34);
  color:#d1fae5;
}
.lead-dot--yellow{
  background: rgba(240,200,75,.20);
  border-color: rgba(240,200,75,.30);
  color:#fde68a;
}
.lead-dot--red{
  background: rgba(239,68,68,.20);
  border-color: rgba(239,68,68,.30);
  color:#fecaca;
}
.lead-dot--gray{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.72);
}
.lead-dot--gold{
  background: linear-gradient(180deg, rgba(250,204,21,.92) 0%, rgba(234,179,8,.92) 100%);
  border-color: rgba(202,138,4,.48);
  color: #4a3410;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.lead-row__actions{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.lead-row__actions form{
  margin:0;
}

@media (max-width: 1199px){
  .lead-row,
  .lead-row__main{
    grid-template-columns: 1fr;
  }
  .lead-row__statuspack,
  .lead-row__actions{
    justify-content:flex-start;
  }
}

code, .font-monospace{
  color: #c7f0ff !important;
}

@media (max-width: 991px){
  body{ padding-top: 88px; }
  .corp-shell{ padding-top: 12px; }
  .corp-hero{ padding: 18px; }
  .corp-hero__grid{ grid-template-columns: 1fr; }
  .corp-hero__title{ font-size: 30px; }
  .corp-kpi-value{ font-size: 24px; }
  .corp-userbox{ display:none; }
}


.corp-store-hero{
  margin: 18px 0 24px;
  border: 1px solid rgba(255,255,255,.20);
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(27,120,255,.14), transparent 60%),
    radial-gradient(1200px 420px at 90% 0%, rgba(0,183,255,.10), transparent 60%),
    rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}
.corp-store-hero__grid{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items:center;
}
.corp-store-hero__logoWrap{ display:flex; justify-content:center; }
.corp-store-hero__logo{
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.corp-store-hero__tag{ display:inline-flex; margin-bottom:10px; }
.corp-store-hero__title{
  margin:0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: .15px;
  max-width: 900px;
}
.corp-store-hero__sub{
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 920px;
}
.corp-store-hero__note{
  margin-top: 10px;
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240,200,75,.24);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px){
  .corp-store-hero{ padding: 18px; margin-bottom: 18px; }
  .corp-store-hero__grid{ grid-template-columns: 1fr; }
  .corp-store-hero__logo{ width: 128px; height: 128px; }
  .corp-store-hero__title{ font-size: 30px; }
}

.corp-chat-attachments{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  max-width:100%;
}
.corp-chat-attachment{
  display:block;
  max-width:100%;
  text-decoration:none;
}
.corp-chat-attachment--image{
  width:clamp(140px, 28vw, 220px);
  max-width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.corp-chat-attachment--image img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:220px;
  object-fit:contain;
}
.corp-chat-attachments-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
}
.corp-chat-attachments-meta a{
  color:#c7f0ff;
}
