/* BOT VIỆT AI V1.0.266 — Facebook & Fanpage Premium
   Scoped to .facebook-premium-shell only. */

.facebook-premium-shell{
  --fbp-bg:#050b16;
  --fbp-panel:#0b1729;
  --fbp-panel-2:#102139;
  --fbp-line:rgba(75,139,202,.32);
  --fbp-blue:#2878ff;
  --fbp-cyan:#41d9f4;
  --fbp-violet:#9471ff;
  --fbp-mint:#4ddfac;
  --fbp-amber:#f5bd62;
  --fbp-text:#eef4ff;
  --fbp-muted:#9bafc6;
  --fbp-ease:cubic-bezier(.22,1,.36,1);
  display:grid;
  gap:16px;
  min-width:0;
  color:var(--fbp-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.facebook-premium-shell *,
.facebook-premium-shell *::before,
.facebook-premium-shell *::after{
  box-sizing:border-box;
}

.facebook-premium-shell svg{
  width:1em;
  height:1em;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.facebook-premium-shell button,
.facebook-premium-shell input{
  font:inherit;
}

.facebook-premium-shell button:focus-visible,
.facebook-premium-shell a:focus-visible,
.facebook-premium-shell input:focus-visible{
  outline:2px solid rgba(65,217,244,.9);
  outline-offset:2px;
}

.facebook-premium-shell.fbp-enter>[data-fbp-block]{
  opacity:0;
  transform:translateY(8px);
  animation:fbp-enter .36s var(--fbp-ease) forwards;
}
.facebook-premium-shell.fbp-enter>[data-fbp-block]:nth-child(2){animation-delay:.04s}
.facebook-premium-shell.fbp-enter>[data-fbp-block]:nth-child(3){animation-delay:.08s}
.facebook-premium-shell.fbp-enter>[data-fbp-block]:nth-child(4){animation-delay:.12s}
.facebook-premium-shell.fbp-enter>[data-fbp-block]:nth-child(5){animation-delay:.16s}
.facebook-premium-shell.fbp-enter>[data-fbp-block]:nth-child(6){animation-delay:.20s}

@keyframes fbp-enter{
  to{opacity:1;transform:none}
}

.fbp-page-header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:86px;
  padding:4px 6px 0;
}
.fbp-page-header::before{
  content:"";
  position:absolute;
  inset:-60px auto auto -120px;
  width:520px;
  height:210px;
  pointer-events:none;
  background:radial-gradient(circle,rgba(20,99,255,.17),transparent 66%);
}
.fbp-page-brand{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.fbp-facebook-mark{
  width:58px;
  height:58px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:white;
  background:linear-gradient(145deg,#2f83ff,#1462ef);
  box-shadow:0 10px 30px rgba(26,99,255,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
.fbp-facebook-mark svg{
  width:39px;
  height:39px;
  stroke:none;
}
.fbp-facebook-mark .fb-fill{fill:#fff}
.fbp-facebook-mark .icon-fill{fill:#1d70f4}
.fbp-page-brand>div{min-width:0}
.fbp-page-brand small{
  display:block;
  margin-bottom:3px;
  color:var(--fbp-cyan);
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
}
.fbp-page-brand h1{
  margin:0;
  color:#fff;
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.03em;
}
.fbp-page-brand p{
  margin:6px 0 0;
  color:var(--fbp-muted);
  font-size:14px;
}
.fbp-page-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex:0 0 auto;
}
.fbp-page-count{
  height:42px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:0 15px;
  border:1px solid rgba(67,145,213,.38);
  border-radius:11px;
  background:rgba(7,24,44,.76);
  color:#e5efff;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:.22s var(--fbp-ease);
}
.fbp-page-count:hover{
  border-color:rgba(65,217,244,.65);
  transform:translateY(-1px);
}
.fbp-page-count svg{font-size:17px}
.fbp-primary-action{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding-inline:18px!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#1f6bff,#09a9ff)!important;
  box-shadow:0 8px 24px rgba(22,116,255,.22)!important;
  transition:transform .18s var(--fbp-ease),filter .18s ease!important;
}
.fbp-primary-action svg{font-size:17px}
.fbp-primary-action:hover{filter:brightness(1.08);transform:translateY(-1px)}
.fbp-primary-action:active{transform:scale(.98)}

.fbp-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.fbp-kpi{
  min-width:0;
  min-height:94px;
  display:flex;
  align-items:center;
  gap:15px;
  padding:16px;
  border:1px solid var(--fbp-line);
  border-radius:16px;
  background:
    radial-gradient(circle at top right,rgba(45,128,255,.08),transparent 36%),
    linear-gradient(155deg,rgba(12,31,54,.98),rgba(7,22,40,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.16);
  transition:transform .22s var(--fbp-ease),border-color .22s ease,box-shadow .22s ease;
}
.fbp-kpi:hover{
  transform:translateY(-2px);
  border-color:rgba(65,217,244,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 16px 36px rgba(0,0,0,.2);
}
.fbp-kpi-icon{
  width:56px;
  height:56px;
  flex:0 0 56px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:rgba(35,118,255,.12);
  border:1px solid rgba(60,136,255,.25);
  color:#48a6ff;
}
.fbp-kpi.cyan .fbp-kpi-icon{color:var(--fbp-cyan);background:rgba(65,217,244,.1);border-color:rgba(65,217,244,.22)}
.fbp-kpi.violet .fbp-kpi-icon{color:#bc83ff;background:rgba(148,113,255,.12);border-color:rgba(148,113,255,.25)}
.fbp-kpi.amber .fbp-kpi-icon{color:var(--fbp-amber);background:rgba(245,189,98,.12);border-color:rgba(245,189,98,.22)}
.fbp-kpi-icon svg{
  width:35px;
  height:35px;
}
.fbp-kpi-icon .fb-fill{fill:currentColor;opacity:.22}
.fbp-kpi-icon .icon-fill{fill:currentColor;stroke:none}
.fbp-kpi-copy{
  min-width:0;
  display:grid;
}
.fbp-kpi-copy small{
  color:#b8c8db;
  font-size:12px;
}
.fbp-kpi-copy strong{
  margin-top:2px;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.fbp-kpi-copy span{
  margin-top:6px;
  color:#7f9bb8;
  font-size:11px;
}

.fbp-main-grid{
  display:grid;
  grid-template-columns:minmax(0,40fr) minmax(0,60fr);
  gap:12px;
}
.fbp-panel,
.fbp-engine,
.fbp-recent-panel{
  min-width:0;
  border:1px solid var(--fbp-line);
  border-radius:17px;
  background:
    linear-gradient(160deg,rgba(10,27,48,.985),rgba(5,18,34,.985));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 36px rgba(0,0,0,.16);
}
.fbp-panel{
  padding:17px;
}
.fbp-panel-head{
  display:flex;
  align-items:center;
  gap:12px;
}
.fbp-panel-head-icon{
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  color:#4fa7ff;
}
.fbp-panel-head-icon svg{width:31px;height:31px}
.fbp-panel-head h2,
.fbp-engine-head h2,
.fbp-recent-head h2{
  margin:0;
  color:#f7faff;
  font-size:18px;
  line-height:1.25;
}
.fbp-panel-head p,
.fbp-recent-head p{
  margin:3px 0 0;
  color:var(--fbp-muted);
  font-size:12px;
}

.fbp-config-alert{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(245,189,98,.4);
  border-radius:13px;
  background:linear-gradient(90deg,rgba(87,57,8,.32),rgba(49,39,19,.18));
}
.fbp-config-alert.is-ready{
  border-color:rgba(77,223,172,.3);
  background:linear-gradient(90deg,rgba(10,73,57,.24),rgba(8,36,40,.16));
}
.fbp-config-alert-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#1e2430;
  background:var(--fbp-amber);
  box-shadow:0 0 20px rgba(245,189,98,.18);
}
.fbp-config-alert.is-ready .fbp-config-alert-icon{
  color:#061d17;
  background:var(--fbp-mint);
}
.fbp-config-alert-icon svg{width:19px;height:19px;stroke-width:2.2}
.fbp-config-alert>div{min-width:0}
.fbp-config-alert b{
  display:block;
  color:#ffd47a;
  font-size:12px;
}
.fbp-config-alert.is-ready b{color:#7cf0c5}
.fbp-config-alert small{
  display:block;
  margin-top:2px;
  color:#9fb1c6;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fbp-check-button{
  min-height:34px!important;
  padding-inline:14px!important;
  white-space:nowrap;
}

.fbp-automation-rows{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.fbp-automation-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  min-height:60px;
  padding:9px 10px;
  border:1px solid rgba(66,123,174,.3);
  border-radius:12px;
  background:rgba(8,28,49,.7);
  transition:transform .22s var(--fbp-ease),border-color .22s ease,background .22s ease;
}
.fbp-automation-row:hover{
  transform:translateY(-1px);
  border-color:rgba(65,217,244,.34);
  background:rgba(10,35,61,.78);
}
.fbp-automation-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#66a9ff;
  background:rgba(40,120,255,.1);
  border:1px solid rgba(40,120,255,.22);
}
.fbp-automation-icon.violet{
  color:#d078ff;
  background:rgba(148,113,255,.1);
  border-color:rgba(148,113,255,.22);
}
.fbp-automation-icon svg{width:25px;height:25px}
.fbp-automation-copy{min-width:0}
.fbp-automation-copy b{
  display:block;
  color:#f6f9ff;
  font-size:13px;
}
.fbp-automation-copy small{
  display:block;
  margin-top:2px;
  color:#91a7c0;
  font-size:10px;
}
.fbp-icon-button{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(83,140,198,.34);
  border-radius:10px;
  background:rgba(8,25,44,.86);
  color:#9ebbd6;
  cursor:pointer;
  transition:.18s ease;
}
.fbp-icon-button:hover:not(:disabled){color:#fff;border-color:rgba(65,217,244,.5);background:rgba(13,44,74,.9)}
.fbp-icon-button:disabled{opacity:.42;cursor:not-allowed}
.fbp-icon-button svg{width:17px;height:17px}
.fbp-automation-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:9px;
  color:#8fa7c1;
  font-size:10px;
}
.fbp-automation-note svg{width:15px;height:15px;color:#75baff}

.fbp-flow-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
}
.fbp-flow-head-symbol{
  width:37px;
  height:37px;
  display:grid;
  grid-template-columns:repeat(2,6px);
  grid-auto-rows:6px;
  place-content:center;
  gap:4px;
  color:#54adff;
}
.fbp-flow-head-symbol i{
  width:6px;
  height:6px;
  border:2px solid currentColor;
  border-radius:50%;
}
.fbp-flow-head-symbol i:nth-child(3){grid-column:1/3;justify-self:center}
.fbp-flow-state{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:31px;
  padding:0 11px;
  border:1px solid rgba(104,151,196,.3);
  border-radius:999px;
  background:rgba(8,26,46,.7);
  color:#9db2ca;
  font-size:10px;
}
.fbp-flow-state svg{width:15px;height:15px}
.fbp-flow-state b{font-weight:600}
.fbp-flow-panel.is-ready .fbp-flow-state{
  color:#88efca;
  border-color:rgba(77,223,172,.28);
  background:rgba(10,73,57,.14);
}
.fbp-flow-steps{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:172px;
  padding:17px 6px 8px;
}
.fbp-flow-step{
  min-width:96px;
  display:grid;
  justify-items:center;
  text-align:center;
  position:relative;
}
.fbp-step-index{
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border:1px solid currentColor;
  border-radius:50%;
  color:#4fa6ff;
  background:#09203a;
  font-size:10px;
  font-weight:800;
}
.fbp-flow-step.violet .fbp-step-index{color:#b477ff}
.fbp-flow-step.cyan .fbp-step-index{color:#36dff3}
.fbp-flow-step.mint .fbp-step-index{color:#61e5b3}
.fbp-step-tile{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border:1px solid rgba(78,161,255,.72);
  border-radius:14px;
  color:#83b7ff;
  background:linear-gradient(155deg,rgba(27,69,126,.52),rgba(12,31,57,.96));
  box-shadow:0 0 24px rgba(40,120,255,.08),inset 0 1px 0 rgba(255,255,255,.04);
}
.fbp-flow-step.violet .fbp-step-tile{color:#ca8dff;border-color:rgba(171,93,255,.72);background:linear-gradient(155deg,rgba(78,41,118,.48),rgba(23,24,59,.96))}
.fbp-flow-step.cyan .fbp-step-tile{color:#44e0f2;border-color:rgba(65,217,244,.72);background:linear-gradient(155deg,rgba(20,79,96,.46),rgba(11,35,56,.96))}
.fbp-flow-step.mint .fbp-step-tile{color:#66ecb9;border-color:rgba(77,223,172,.7);background:linear-gradient(155deg,rgba(25,91,73,.43),rgba(10,38,46,.96))}
.fbp-step-tile svg{width:42px;height:42px}
.fbp-flow-step b{
  color:#f6f9ff;
  font-size:12px;
}
.fbp-flow-step small{
  margin-top:3px;
  color:#8da4be;
  font-size:10px;
}
.fbp-flow-link{
  width:48px;
  display:flex;
  align-items:center;
  gap:4px;
  margin:15px 2px 0;
  color:#5a9fe5;
}
.fbp-flow-link>i{
  width:26px;
  height:1px;
  background:linear-gradient(90deg,rgba(62,145,231,.15),rgba(62,145,231,.75));
}
.fbp-flow-link svg{width:13px;height:13px}
.fbp-flow-guard{
  height:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:2px;
  border:1px solid rgba(68,126,181,.28);
  border-radius:10px;
  background:rgba(5,20,36,.54);
  color:#8fa8c4;
  font-size:10px;
}
.fbp-flow-guard svg{width:15px;height:15px;color:#79aff1}

.fbp-engine{
  position:relative;
  overflow:hidden;
  min-height:147px;
  padding:15px 16px 13px;
  background:
    linear-gradient(rgba(40,120,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(40,120,255,.035) 1px,transparent 1px),
    radial-gradient(circle at 18% 35%,rgba(40,120,255,.12),transparent 27%),
    linear-gradient(155deg,rgba(8,25,45,.99),rgba(5,18,33,.99));
  background-size:18px 18px,18px 18px,auto,auto;
}
.fbp-engine-head{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.fbp-engine-head small{
  color:var(--fbp-cyan);
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}
.fbp-engine-head h2{margin-top:2px}
.fbp-engine-state{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:0 11px;
  border:1px solid rgba(245,189,98,.48);
  border-radius:999px;
  background:rgba(77,51,12,.24);
  color:#ffd47a;
  font-size:9px;
  font-weight:700;
}
.fbp-engine-state i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 12px currentColor;
}
.fbp-engine-state.ready{
  border-color:rgba(77,223,172,.32);
  background:rgba(10,73,57,.18);
  color:#75e9bd;
}
.fbp-engine-body{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 390px;
  align-items:end;
  gap:12px;
  min-height:88px;
}
.fbp-engine-core{
  position:relative;
  height:82px;
  display:grid;
  place-items:center;
}
.fbp-engine-facebook{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:white;
  background:linear-gradient(145deg,#2d79ff,#3e4df2);
  box-shadow:0 0 25px rgba(56,102,255,.25);
}
.fbp-engine-facebook svg{width:37px;height:37px;stroke:none}
.fbp-engine-facebook .fb-fill{fill:#fff}
.fbp-engine-facebook .icon-fill{fill:#2c70f7}
.fbp-core-orbit{
  position:absolute;
  width:116px;
  height:48px;
  border:1px solid rgba(65,217,244,.35);
  border-radius:50%;
  transform:rotate(18deg);
}
.fbp-core-orbit.two{
  border-color:rgba(148,113,255,.36);
  transform:rotate(-18deg);
}
.fbp-core-orbit i{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--fbp-cyan);
  box-shadow:0 0 10px currentColor;
  left:11px;
  top:5px;
}
.fbp-core-orbit.two i{left:auto;right:13px;top:35px;background:var(--fbp-violet)}
.fbp-engine-core>small{
  position:absolute;
  bottom:-1px;
  display:flex;
  align-items:center;
  gap:5px;
  color:#e7ba65;
  font-size:9px;
  white-space:nowrap;
}
.fbp-engine.is-ready .fbp-engine-core>small{color:#7deac0}
.fbp-engine-core>small i{width:6px;height:6px;border-radius:50%;background:currentColor}
.fbp-engine-signal{
  position:relative;
  height:80px;
  min-width:0;
}
.fbp-engine-signal svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.fbp-engine-signal path{
  fill:none;
  stroke-width:1.5;
}
.fbp-engine-signal .signal-cyan{stroke:#20bfe7;filter:drop-shadow(0 0 4px rgba(32,191,231,.32))}
.fbp-engine-signal .signal-violet{stroke:#814ef8;filter:drop-shadow(0 0 4px rgba(129,78,248,.32))}
.fbp-engine-signal small{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  color:#7e97b2;
  font-size:9px;
  white-space:nowrap;
}
.fbp-signal-dot{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#33d6ef;
  box-shadow:0 0 11px currentColor;
}
.fbp-signal-dot.d1{left:21%;top:29%}
.fbp-signal-dot.d2{left:45%;top:52%;background:#9867ff}
.fbp-signal-dot.d3{left:67%;top:25%}
.fbp-signal-dot.d4{left:87%;top:50%;background:#f3c967}
.fbp-engine-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.fbp-engine-metrics>div{
  min-width:0;
  min-height:75px;
  display:grid;
  align-content:center;
  padding:10px;
  border:1px solid rgba(70,128,184,.28);
  border-radius:11px;
  background:rgba(7,28,49,.7);
}
.fbp-engine-metrics span,
.fbp-engine-metrics small{
  color:#8ba4bf;
  font-size:9px;
}
.fbp-engine-metrics b{
  margin:3px 0;
  color:#42dff2;
  font-size:18px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.fbp-recent-panel{
  padding:14px 15px 11px;
}
.fbp-recent-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.fbp-open-inbox{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
}
.fbp-open-inbox svg{width:15px;height:15px}
.fbp-recent-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:10px;
}
.fbp-recent-tabs{
  display:flex;
  gap:6px;
}
.fbp-recent-tabs button{
  min-width:78px;
  height:31px;
  border:1px solid rgba(68,125,179,.28);
  border-radius:9px;
  background:rgba(7,25,44,.7);
  color:#9fb2c8;
  font-size:10px;
  cursor:pointer;
  transition:.22s var(--fbp-ease);
}
.fbp-recent-tabs button.active{
  color:#fff;
  border-color:#2d81ff;
  background:linear-gradient(135deg,#1972ff,#2094ff);
  box-shadow:0 7px 18px rgba(31,121,255,.18);
}
.fbp-recent-search{
  width:min(260px,32%);
  height:31px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:1px solid rgba(68,125,179,.3);
  border-radius:9px;
  background:rgba(6,24,43,.8);
  color:#7898b8;
}
.fbp-recent-search svg{width:14px;height:14px;flex:0 0 auto}
.fbp-recent-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#e8f3ff;
  font-size:10px;
}
.fbp-recent-search input::placeholder{color:#7189a3}
.fbp-conversation-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}
.fbp-conversation-columns>div{
  overflow:hidden;
  border:1px solid rgba(65,121,174,.28);
  border-radius:11px;
  background:rgba(7,26,46,.58);
}
.fbp-conversation-row{
  width:100%;
  min-height:47px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:9px;
  padding:6px 9px;
  border:0;
  border-bottom:1px solid rgba(63,111,156,.22);
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease;
}
.fbp-conversation-row:last-child{border-bottom:0}
.fbp-conversation-row:hover{background:rgba(28,82,126,.17)}
.fbp-conversation-avatar{
  position:relative;
  width:34px;
  height:34px;
  flex:0 0 34px;
}
.fbp-conversation-avatar>.inbox-avatar-fallback{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(145deg,#356cff,#7148ef);
  font-size:11px;
  font-weight:800;
}
.fbp-conversation-avatar>i{
  position:absolute;
  right:-3px;
  bottom:-3px;
}
.fbp-conversation-avatar .inbox-platform-icon{
  width:15px;
  height:15px;
  min-width:15px;
  border:2px solid #0a1d33;
}
.fbp-conversation-avatar .inbox-platform-icon svg{width:9px;height:9px}
.fbp-conversation-copy{
  min-width:0;
  display:grid;
}
.fbp-conversation-copy b{
  color:#f1f6ff;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fbp-conversation-copy small{
  margin-top:2px;
  color:#849db8;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fbp-conversation-row time{
  color:#829db8;
  font-size:8px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.fbp-conversation-arrow{
  color:#6fa2d6;
  font-size:18px;
  line-height:1;
}
.fbp-recent-empty{
  min-height:170px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:7px;
  margin-top:9px;
  border:1px dashed rgba(69,128,184,.28);
  border-radius:12px;
  color:#8ca8c3;
  text-align:center;
}
.fbp-recent-empty>svg{width:26px;height:26px;color:#61aefa}
.fbp-recent-empty b{color:#e9f3ff;font-size:12px}
.fbp-recent-empty p{max-width:540px;margin:0;color:#849ab3;font-size:10px}

.fbp-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:25px;
  padding:0 3px 2px;
}
.fbp-footer nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.fbp-footer a{
  color:#6f849c;
  font-size:9px;
  text-decoration:none;
}
.fbp-footer a:hover{color:#a9c8e8}
.fbp-footer i{
  width:1px;
  height:10px;
  background:rgba(115,144,171,.3);
}

/* Real-event-only animation. */
.fbp-flow-panel.is-event-active .fbp-flow-link::after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4ce6ff;
  box-shadow:0 0 14px rgba(76,230,255,.9);
  animation:fbp-flow-event .8s var(--fbp-ease) both;
}
.fbp-flow-link{position:relative}
@keyframes fbp-flow-event{
  0%{left:0;opacity:0;transform:scale(.6)}
  20%{opacity:1}
  100%{left:38px;opacity:0;transform:scale(1)}
}
.fbp-engine.is-event-active .fbp-signal-dot{
  animation:fbp-signal-flash .7s ease-out both;
}
@keyframes fbp-signal-flash{
  0%{transform:scale(.7);filter:brightness(1)}
  40%{transform:scale(1.7);filter:brightness(1.8)}
  100%{transform:scale(1);filter:brightness(1)}
}

/* Keep idle/offline engine visually static. */
.fbp-engine.is-idle .fbp-core-orbit,
.fbp-engine.is-idle .fbp-signal-dot{
  animation:none!important;
}

@media(max-width:1280px){
  .fbp-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fbp-main-grid{grid-template-columns:1fr}
  .fbp-engine-body{grid-template-columns:120px minmax(0,1fr)}
  .fbp-engine-metrics{grid-column:1/-1}
}
@media(max-width:900px){
  .fbp-page-header{align-items:flex-start;flex-direction:column}
  .fbp-page-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .fbp-flow-steps{overflow-x:auto;justify-content:flex-start;padding-bottom:12px}
  .fbp-engine-body{grid-template-columns:1fr}
  .fbp-engine-core{height:96px}
  .fbp-engine-signal{height:90px}
  .fbp-engine-metrics{grid-template-columns:1fr 1fr 1fr}
  .fbp-conversation-columns{grid-template-columns:1fr}
  .fbp-recent-search{width:min(320px,45%)}
}
@media(max-width:768px){
  .facebook-premium-shell{gap:12px}
  .fbp-page-brand{align-items:flex-start}
  .fbp-page-brand h1{font-size:25px}
  .fbp-page-brand p{font-size:12px}
  .fbp-kpi-grid{grid-template-columns:1fr}
  .fbp-panel{padding:14px}
  .fbp-config-alert{grid-template-columns:auto 1fr}
  .fbp-config-alert .fbp-check-button{grid-column:1/-1;width:100%}
  .fbp-flow-head{grid-template-columns:auto 1fr}
  .fbp-flow-state{grid-column:1/-1;width:max-content}
  .fbp-engine-metrics{grid-template-columns:1fr}
  .fbp-recent-toolbar{align-items:stretch;flex-direction:column}
  .fbp-recent-tabs{width:100%}
  .fbp-recent-tabs button{flex:1}
  .fbp-recent-search{width:100%}
  .fbp-footer{justify-content:flex-start;overflow-x:auto}
}
@media(max-width:520px){
  .fbp-page-actions{display:grid;grid-template-columns:1fr}
  .fbp-page-count,
  .fbp-primary-action{width:100%;justify-content:center}
  .fbp-automation-row{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .fbp-automation-row .fbp-icon-button{grid-column:3}
  .fbp-engine-head{flex-direction:column}
  .fbp-conversation-row{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .fbp-conversation-row time{grid-column:2}
  .fbp-conversation-arrow{grid-column:3;grid-row:1/3}
}

@media(prefers-reduced-motion:reduce){
  .facebook-premium-shell *,
  .facebook-premium-shell *::before,
  .facebook-premium-shell *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.1s!important;
    scroll-behavior:auto!important;
  }
  .facebook-premium-shell.fbp-enter>[data-fbp-block]{
    opacity:1!important;
    transform:none!important;
  }
}
