.arewa-root{position:fixed;z-index:2147482000;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.4;color:#101828}.arewa-root.is-right{right:22px;bottom:22px}.arewa-root.is-left{left:22px;bottom:22px}.arewa-launcher{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 14px 9px 10px;border:0;border-radius:999px;background:var(--arewa-primary,#3158f5);color:var(--arewa-contrast,#fff);box-shadow:0 18px 50px rgba(15,23,42,.25);cursor:pointer;font:700 14px/1.2 inherit}.arewa-launcher:hover{transform:translateY(-1px)}.arewa-launcher-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.18);font-size:18px}.arewa-launcher-copy{display:grid;text-align:left}.arewa-launcher-copy small{font-size:11px;opacity:.84;font-weight:600}.arewa-panel{position:absolute;bottom:72px;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 110px));display:grid;grid-template-rows:auto 1fr auto;border:1px solid #dbe2ea;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 25px 80px rgba(15,23,42,.28)}.is-right .arewa-panel{right:0}.is-left .arewa-panel{left:0}.arewa-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:linear-gradient(135deg,var(--arewa-primary,#3158f5),var(--arewa-dark,#1d4ed8));color:var(--arewa-contrast,#fff)}.arewa-header strong{display:block}.arewa-header small{opacity:.84}.arewa-close{width:36px;height:36px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.12);color:inherit;font-size:22px;cursor:pointer}.arewa-body{overflow:auto;padding:15px;background:#f8fafc}.arewa-message{max-width:84%;margin:0 0 10px;padding:11px 13px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;white-space:pre-wrap}.arewa-message.is-user{margin-left:auto;background:var(--arewa-soft,#eef2ff);border-color:var(--arewa-border,#c7d2fe)}.arewa-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.arewa-actions button{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;padding:8px 11px;font:700 12px/1.2 inherit;cursor:pointer}.arewa-consent{display:flex;gap:8px;align-items:flex-start;padding:9px 0;font-size:11px;color:#64748b}.arewa-composer{padding:12px;border-top:1px solid #e2e8f0;background:#fff}.arewa-form{display:flex;align-items:flex-end;gap:8px}.arewa-form textarea{flex:1;min-height:46px;max-height:110px;resize:none;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#0f172a;padding:12px;font:14px/1.35 inherit}.arewa-form button{flex:0 0 auto;height:46px;border:0;border-radius:12px;background:var(--arewa-primary,#3158f5);color:var(--arewa-contrast,#fff);padding:0 16px;font:800 13px/1 inherit;cursor:pointer}.arewa-privacy{margin:7px 2px 0;font-size:10px;color:#64748b}.arewa-lead{display:grid;gap:9px}.arewa-lead input,.arewa-lead textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:10px;background:#fff;color:#0f172a}.arewa-lead-buttons{display:flex;gap:8px}.arewa-error{color:#b42318;font-size:12px}.arewa-hidden{display:none!important}@media(max-width:520px){.arewa-root.is-right,.arewa-root.is-left{right:12px;left:12px;bottom:12px}.arewa-launcher{margin-left:auto}.arewa-panel,.is-right .arewa-panel,.is-left .arewa-panel{position:fixed;inset:12px;width:auto;height:auto}.arewa-launcher-copy{display:none}}
.arewa-voice-status{margin:0 0 9px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#334155;font-size:12px;font-weight:700}.arewa-voice-status.is-active,.arewa-voice-status.is-success{border-color:#86efac;background:#f0fdf4;color:#166534}.arewa-voice-status.is-recording{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.arewa-voice-status.is-busy{border-color:#c7d2fe;background:#eef2ff;color:#3730a3}.arewa-voice-status.is-error{border-color:#fecaca;background:#fff1f2;color:#9f1239}.arewa-actions .arewa-action-voice,.arewa-actions .arewa-action-voice-message{border-color:var(--arewa-border,#c7d2fe);background:var(--arewa-soft,#eef2ff);color:#1e293b}.arewa-actions .arewa-action-voice:before{content:'●';margin-right:6px;color:#16a34a}.arewa-actions .arewa-action-voice-message:before{content:'◉';margin-right:6px;color:#dc2626}.arewa-form button:disabled{opacity:.58;cursor:not-allowed}

/* R21.8: visitor-language direction support for the public Website receptionist. */
.arewa-root[dir=rtl]{direction:rtl}.arewa-root[dir=rtl] .arewa-launcher-copy{text-align:right}.arewa-root[dir=rtl] .arewa-message.is-user{margin-left:0;margin-right:auto}.arewa-root[dir=rtl] .arewa-lead input,.arewa-root[dir=rtl] .arewa-lead textarea,.arewa-root[dir=rtl] .arewa-form textarea{text-align:right}.arewa-root[dir=rtl] .arewa-actions,.arewa-root[dir=rtl] .arewa-lead-buttons{justify-content:flex-start}.arewa-root[dir=rtl] .arewa-actions .arewa-action-voice:before,.arewa-root[dir=rtl] .arewa-actions .arewa-action-voice-message:before{margin-right:0;margin-left:6px}

/* C2-LCC1: lightweight owner handoff + approved Customer Action cards. */
.arewa-handling-status{margin:0 0 9px;padding:9px 11px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1e40af;font-size:12px;font-weight:800}.arewa-action-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:12px;border:1px solid var(--arewa-border,#c7d2fe);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}.arewa-action-card-copy{display:grid;gap:3px;min-width:0}.arewa-action-card-copy strong{font-size:13px;color:#0f172a}.arewa-action-card-copy small{font-size:11px;color:#64748b}.arewa-action-card-link{flex:0 0 auto;border-radius:10px;background:var(--arewa-primary,#3158f5);color:var(--arewa-contrast,#fff)!important;padding:9px 11px;text-decoration:none;font:800 12px/1.1 inherit}.arewa-root[dir=rtl] .arewa-action-card{text-align:right}

/* Q1E: approved WordPress-aligned visual theme, inert until rollout flag is enabled. */
.arewa-root.arewa-unified{
  --arewa-ui-navy:#101828;
  --arewa-ui-border:#d0d8e5;
  --arewa-ui-ink:#1d2939;
  --arewa-ui-muted:#667085;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--arewa-ui-ink);
  font-size:14px;
  font-weight:400;
  line-height:1.45;
  isolation:isolate;
  z-index:2147483000;
}
.arewa-root.arewa-unified, .arewa-root.arewa-unified *, .arewa-root.arewa-unified *::before, .arewa-root.arewa-unified *::after{box-sizing:border-box}
.arewa-root.arewa-unified.is-right{right:20px;bottom:20px}
.arewa-root.arewa-unified.is-left{left:20px;bottom:20px}
.arewa-root.arewa-unified .arewa-launcher{
  position:relative;
  min-width:244px;
  width:auto;
  min-height:64px;
  height:64px;
  padding:8px 42px 8px 8px;
  gap:11px;
  border:1px solid rgba(208,216,229,.96);
  border-radius:20px;
  background:linear-gradient(120deg,var(--arewa-soft),#fff 45%);
  color:var(--arewa-ui-navy);
  box-shadow:0 20px 50px rgba(16,24,40,.18),0 6px 16px rgba(16,24,40,.08);
  transition:transform .18s ease,box-shadow .18s ease;
}
.arewa-root.arewa-unified .arewa-launcher:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(16,24,40,.23)}
.arewa-root.arewa-unified .arewa-launcher-icon{
  position:relative;
  flex:0 0 48px;
  width:48px;height:48px;
  border:1px solid var(--arewa-border);
  border-radius:15px;
  font-size:0;
  background-color:#fff;
  background-image:url("../img/website-widget-logo-64.png");
  background-position:center;
  background-size:38px 38px;
  background-repeat:no-repeat;
  box-shadow:0 6px 16px rgba(16,24,40,.11);
}
.arewa-root.arewa-unified .arewa-launcher-icon::after{content:"";position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#12b76a}
.arewa-root.arewa-unified .arewa-launcher-copy{text-align:start;min-width:0;max-width:152px;gap:3px}
.arewa-root.arewa-unified .arewa-launcher-copy strong{max-width:152px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#101828;font-size:13px;font-weight:800;line-height:1.25}
.arewa-root.arewa-unified .arewa-launcher-copy small{font-size:11px;font-weight:600;line-height:1.25;color:var(--arewa-ui-muted);opacity:1}
.arewa-root.arewa-unified .arewa-launcher::after{content:"›";position:absolute;right:12px;top:19px;display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:var(--arewa-soft);font:700 20px/1 sans-serif;color:var(--arewa-dark);pointer-events:none}
.arewa-root.arewa-unified .arewa-panel{
  bottom:0;
  width:min(420px,calc(100vw - 28px));
  height:min(650px,calc(100vh - 34px));
  border:1px solid rgba(208,216,229,.96);
  border-radius:24px;
  background:#fff;
  box-shadow:0 28px 70px rgba(16,24,40,.24),0 7px 24px rgba(16,24,40,.08);
}
.arewa-root.arewa-unified .arewa-header{
  position:relative;
  justify-content:flex-start;
  min-height:91px;
  padding:16px 64px 16px 77px;
  border-bottom:3px solid var(--arewa-primary);
  background:radial-gradient(circle at 98% 0,var(--arewa-soft),transparent 35%),linear-gradient(135deg,#101828,#182230);
  color:#fff;
}
.arewa-root.arewa-unified .arewa-header::before{
  content:"";
  position:absolute;
  top:17px;left:16px;
  width:46px;height:46px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:14px;
  background:#fff url("../img/website-widget-logo-64.png") center/38px 38px no-repeat;
  box-shadow:0 3px 8px rgba(0,0,0,.12);
}
.arewa-root.arewa-unified .arewa-header>div{min-width:0}
.arewa-root.arewa-unified .arewa-header strong{max-width:255px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:800}
.arewa-root.arewa-unified .arewa-header small{display:block;position:relative;padding-left:14px;color:#d0d5dd;font-size:11px;font-weight:600;opacity:1}
.arewa-root.arewa-unified .arewa-header small::before{content:"";position:absolute;top:6px;left:1px;width:7px;height:7px;border-radius:50%;background:#32d583;box-shadow:0 0 0 4px rgba(50,213,131,.14)}
.arewa-root.arewa-unified .arewa-close{
  position:absolute;right:15px;top:24px;
  width:39px;height:39px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:11px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:23px;
}
.arewa-root.arewa-unified .arewa-body{
  padding:18px 16px;
  background:radial-gradient(circle at 95% 0,var(--arewa-soft),transparent 30%),linear-gradient(180deg,#f7f9fc,#fff);
}
.arewa-root.arewa-unified .arewa-message{
  max-width:85%;
  border:1px solid var(--arewa-border);
  border-radius:16px 16px 16px 5px;
  padding:12px 14px;
  background:linear-gradient(145deg,#fff,var(--arewa-soft));
  color:var(--arewa-ui-ink);
  box-shadow:0 7px 20px rgba(16,24,40,.07);
}
.arewa-root.arewa-unified .arewa-message.is-user{margin-inline-start:auto;margin-inline-end:0;border-radius:16px 16px 5px 16px;color:var(--arewa-contrast);background:linear-gradient(135deg,var(--arewa-primary),var(--arewa-dark))}
.arewa-root.arewa-unified .arewa-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}
.arewa-root.arewa-unified .arewa-actions button, .arewa-root.arewa-unified .arewa-actions .arewa-action-voice, .arewa-root.arewa-unified .arewa-actions .arewa-action-voice-message{
  display:flex;align-items:center;justify-content:center;
  min-height:47px;padding:10px 8px;
  border:1px solid #d2dbea;
  border-radius:13px;
  background:#fff;
  color:var(--arewa-ui-ink);
  font-size:12px;font-weight:700;line-height:1.25;text-align:center;
  box-shadow:0 4px 12px rgba(16,24,40,.05);
}
.arewa-root.arewa-unified .arewa-actions button:hover{border-color:var(--arewa-primary);background:var(--arewa-soft)}
.arewa-root.arewa-unified .arewa-composer{padding:13px 15px 10px;border-top:1px solid #e3e8ef;background:#fff}
.arewa-root.arewa-unified .arewa-consent{margin:0 0 8px;padding:2px 1px 8px;color:#344054;font-size:11px;line-height:1.45}
.arewa-root.arewa-unified .arewa-consent input{accent-color:var(--arewa-primary);margin-top:3px}
.arewa-root.arewa-unified .arewa-form{gap:9px;align-items:stretch}
.arewa-root.arewa-unified .arewa-form textarea{min-height:54px;max-height:110px;padding:15px 13px;border:1px solid #d2dbea;border-radius:15px;font-size:13px;line-height:1.4}
.arewa-root.arewa-unified .arewa-form textarea:focus{outline:2px solid var(--arewa-border);outline-offset:0;border-color:var(--arewa-primary)}
.arewa-root.arewa-unified .arewa-form button{
  position:relative;flex:0 0 55px;width:55px;height:54px;
  border:0;border-radius:13px;
  color:transparent;font-size:0;
  background:linear-gradient(135deg,var(--arewa-primary),var(--arewa-dark));
  box-shadow:0 8px 18px var(--arewa-soft);
}
.arewa-root.arewa-unified .arewa-form button::before{content:"➤";position:absolute;inset:0;display:grid;place-items:center;color:var(--arewa-contrast);font:800 22px/1 sans-serif}
.arewa-root.arewa-unified .arewa-privacy{margin:9px 0 0;padding:0;color:#667085;font-size:10px;line-height:1.45}
.arewa-root.arewa-unified .arewa-privacy::after{content:"Powered by AI Receptionist Engine";display:block;margin:10px -15px -10px;padding:11px 12px;border-top:1px solid #e3e8ef;text-align:center;color:#475467;background:#f9fafb;font-size:10px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-header{padding-right:77px;padding-left:64px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-header::before{left:auto;right:16px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-close{right:auto;left:15px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-header small{padding-left:0;padding-right:14px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-header small::before{left:auto;right:1px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-launcher::after{right:auto;left:12px;transform:rotate(180deg)}
@media (max-width:520px){.arewa-root.arewa-unified.is-left, .arewa-root.arewa-unified.is-right{right:12px;left:12px;bottom:12px}
.arewa-root.arewa-unified .arewa-launcher{min-width:64px;width:64px;padding:8px;gap:0;margin-left:auto}
.arewa-root.arewa-unified .arewa-launcher-copy, .arewa-root.arewa-unified .arewa-launcher::after{display:none}
.arewa-root.arewa-unified .arewa-launcher-icon{flex:0 0 46px;width:46px;height:46px}
.arewa-root.arewa-unified .arewa-panel, .arewa-root.arewa-unified.is-right .arewa-panel, .arewa-root.arewa-unified.is-left .arewa-panel{
    position:fixed;inset:12px;width:auto;height:auto;max-height:none;
  }
.arewa-root.arewa-unified .arewa-header{min-height:84px}}
@media (prefers-reduced-motion:reduce){.arewa-root.arewa-unified .arewa-launcher{transition:none}}
.arewa-root.arewa-unified.is-open .arewa-launcher{opacity:0;pointer-events:none;transform:translateY(8px) scale(.94)}
.arewa-root.arewa-unified.is-open .arewa-panel{bottom:0}

/* P01: complete the existing Q1E theme's WP-aligned action dock and responsive layout.
 * Scoped to unified rollout only; no legacy or WordPress stylesheet changes. */
.arewa-root.arewa-unified .arewa-panel{width:min(400px,calc(100vw - 28px));grid-template-rows:auto minmax(0,1fr) minmax(0,max-content)}
.arewa-root.arewa-unified .arewa-header{min-height:80px}
.arewa-root.arewa-unified .arewa-header>div{flex:1;min-width:0}
.arewa-root.arewa-unified .arewa-header strong{max-width:100%;line-height:1.25}
.arewa-root.arewa-unified .arewa-message{width:fit-content;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.55}
.arewa-root.arewa-unified .arewa-lead{width:100%}
.arewa-root.arewa-unified .arewa-composer{min-width:0;padding-top:0;overflow:auto;max-height:100%}
.arewa-root.arewa-unified .arewa-dock{margin:0 -15px 8px;padding:10px 13px 7px;border-bottom:1px solid #eef1f5;gap:8px}
.arewa-root.arewa-unified .arewa-dock button{min-height:40px;font-size:11px;white-space:normal;cursor:pointer}
.arewa-root.arewa-unified .arewa-dock button::before{content:none}
.arewa-root.arewa-unified .arewa-form textarea{min-width:0;font-family:inherit}
.arewa-root.arewa-unified .arewa-launcher:focus-visible,.arewa-root.arewa-unified .arewa-dock button:focus-visible,.arewa-root.arewa-unified .arewa-close:focus-visible,.arewa-root.arewa-unified .arewa-form button:focus-visible{outline:2px solid var(--arewa-primary);outline-offset:2px}
.arewa-root.arewa-unified.arewa-offline .arewa-launcher-icon::after,.arewa-root.arewa-unified.arewa-offline .arewa-header small::before{background:#98a2b3;box-shadow:none}
@media(max-width:520px){
 .arewa-root.arewa-unified.is-left .arewa-launcher{margin-left:0;margin-right:auto}
 .arewa-root.arewa-unified.is-left .arewa-panel,.arewa-root.arewa-unified.is-right .arewa-panel{width:auto;height:auto}
 .arewa-root.arewa-unified .arewa-dock{grid-template-columns:1fr}
}
@media(max-height:540px){.arewa-root.arewa-unified .arewa-composer{max-height:calc(100vh - 180px)}}

/* P01: new conversation is local-only; disabled during in-flight work. */
.arewa-root.arewa-unified .arewa-header{padding-right:112px}
.arewa-root.arewa-unified .arewa-reset{position:absolute;right:59px;top:24px;width:39px;height:39px;border:1px solid rgba(255,255,255,.18);border-radius:11px;background:rgba(255,255,255,.12);color:#fff;font:700 22px/1 sans-serif;cursor:pointer}
.arewa-root.arewa-unified .arewa-reset:disabled{opacity:.45;cursor:not-allowed}
.arewa-root.arewa-unified .arewa-reset:focus-visible{outline:2px solid #fff;outline-offset:2px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-header{padding-left:112px;padding-right:77px}
.arewa-root.arewa-unified[dir="rtl"] .arewa-reset{left:59px;right:auto}

/* Q1E/P01: do not display ARE marks in an active White Label widget. */
.arewa-root.arewa-unified.arewa-white-label .arewa-launcher-icon{background-image:none;display:grid;place-items:center;font-size:20px;font-weight:800;color:var(--arewa-ui-navy)}
.arewa-root.arewa-unified.arewa-white-label .arewa-header::before,.arewa-root.arewa-unified.arewa-white-label .arewa-privacy::after{content:none}
.arewa-root.arewa-unified.arewa-white-label .arewa-brand-mark{position:absolute;top:17px;left:16px;width:46px;height:46px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:#fff;color:var(--arewa-ui-navy);display:grid;place-items:center;font-size:20px;font-weight:800;box-shadow:0 3px 8px rgba(0,0,0,.12)}
.arewa-root.arewa-unified.arewa-white-label[dir="rtl"] .arewa-brand-mark{left:auto;right:16px}
.arewa-root.arewa-unified.arewa-white-label .arewa-brand-mark img,.arewa-root.arewa-unified.arewa-white-label .arewa-launcher-icon img{width:38px;height:38px;object-fit:contain;border-radius:8px;grid-area:1/1}
.arewa-root.arewa-unified.arewa-white-label .arewa-brand-initial{grid-area:1/1}
.arewa-root.arewa-unified.arewa-white-label .arewa-brand-initial[hidden]{display:none!important}
.arewa-root.arewa-unified.arewa-white-label .arewa-brand-credit{margin:10px -15px -10px;padding:11px 12px;border-top:1px solid #e3e8ef;text-align:center;color:#475467;background:#f9fafb;font-size:10px;overflow-wrap:anywhere}
