/* ==========================================================================
   Her AI — premium conversational interface (WomanCare visual identity)
   Replaces the legacy pink chat theme. Scoped to connect/her.php only.
   ========================================================================== */

:root{
  --her-purple:#873D9E; --her-plum:#3B124D; --her-accent:#AA4DB7;
  --her-lav:#F1E3FA; --her-pearl:#FCFAFD; --her-bg:#F8F3FC;
  --her-ink2:#756580; --her-line:#E7D9EF;
  --her-grad:linear-gradient(135deg,#B45FBE 0%,#873D9E 100%);
}

*{box-sizing:border-box;margin:0;padding:0}

body.her-chat-layout{
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  background:linear-gradient(135deg,#FCFAFD 0%,#F7F0FC 50%,#F2E8FA 100%);
  color:var(--her-plum);
  display:flex;flex-direction:column;
  height:100dvh;overflow:hidden;min-height:0;
}

/* ============================== header ============================== */
.her-top{
  display:flex;align-items:center;gap:10px;
  height:64px;padding:0 14px;flex-shrink:0;
  background:rgba(252,250,253,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--her-line);
  position:relative;z-index:20;
}
.her-top .sp{flex:1}
.her-avatar-sm{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,#E9D3F7,#D4B2EC);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 3px 10px rgba(135,61,158,.22);
}
.her-avatar-sm svg{width:21px;height:21px;fill:none;stroke:#7A3595;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.her-id b{font-size:16px;color:var(--her-plum);letter-spacing:.1px}
.her-id small{display:block;font-size:11px;color:var(--her-ink2);white-space:nowrap}
.her-state{
  font-size:10.5px;color:var(--her-purple);background:var(--her-lav);
  border:1px solid var(--her-line);padding:2.5px 10px;border-radius:11px;
  white-space:nowrap;flex-shrink:0;min-width:8px;
}
.her-state:empty{display:none}

.hbtn{
  display:inline-flex;align-items:center;gap:6px;
  border:1px solid var(--her-line);background:var(--her-pearl);
  color:var(--her-purple);border-radius:14px;padding:7px 11px;
  font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;
  transition:all .15s;font-family:inherit;
}
.hbtn:hover{border-color:var(--her-accent);background:var(--her-lav)}
.hbtn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hbtn.icon{padding:7px;border-radius:12px}
.hbtn.off{color:var(--her-ink2)}
.hbtn.off .vw{display:none}
.wc-back{display:none}
body.wc-chat .wc-back{display:inline-flex}
#herLang{
  border:1px solid var(--her-line);background:var(--her-pearl);color:var(--her-purple);
  border-radius:14px;padding:6px 8px;font-size:12px;font-weight:600;cursor:pointer;
  max-width:104px;font-family:inherit;outline:none;
}
#herLang:focus{border-color:var(--her-accent)}

/* more-options menu */
.her-menu-wrap{position:relative}
.her-menu{
  position:absolute;right:0;top:calc(100% + 8px);z-index:50;
  background:var(--her-pearl);border:1px solid var(--her-line);border-radius:16px;
  box-shadow:0 14px 40px rgba(59,18,77,.16);padding:6px;min-width:210px;
}
.her-menu button{
  display:flex;align-items:center;gap:10px;width:100%;text-align:left;
  border:none;background:none;color:var(--her-plum);border-radius:11px;
  padding:9px 12px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;
}
.her-menu button:hover{background:var(--her-lav)}
.her-menu button svg{width:16px;height:16px;fill:none;stroke:var(--her-purple);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ============================== layout ============================== */
.her-wrap{flex:1;display:flex;min-height:0;min-width:0}
#chatPane{
  flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;
}
#msgs{
  flex:1;min-height:0;overflow-y:auto;
  padding:26px 0 18px;
  scroll-behavior:smooth;
}
#msgs>*{
  width:100%;max-width:960px;margin-inline:auto;
  padding-inline:24px;box-sizing:border-box;
}

/* ============================== messages ============================== */
/* — user bubble — */
.b.me{
  display:flex;justify-content:flex-end;
  margin-top:14px;margin-bottom:4px;
}
.b.me .bub{
  background:#EEE1F8;color:var(--her-plum);
  border-radius:20px 20px 6px 20px;
  padding:13px 17px;max-width:75%;
  font-size:15px;line-height:1.6;white-space:pre-wrap;word-break:break-word;
  box-shadow:0 3px 12px rgba(135,61,158,.10);
}

/* — Her message: open conversational layout — */
.b.her{
  display:flex;gap:12px;align-items:flex-start;
  margin-top:18px;margin-bottom:4px;
}
.b .mav{
  width:32px;height:32px;border-radius:50%;flex-shrink:0;margin-top:2px;
  background:linear-gradient(135deg,#E9D3F7,#D4B2EC);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(135,61,158,.18);
}
.b .mav svg{width:17px;height:17px;fill:none;stroke:#7A3595;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.b.her .bcol{flex:1;min-width:0;max-width:82%}
.b.her .mlab{font-size:11.5px;font-weight:700;color:var(--her-purple);margin-bottom:4px;letter-spacing:.3px}
.b.her .bub{
  font-size:15.5px;line-height:1.7;color:#2E1040;
  white-space:pre-wrap;word-break:break-word;
}
.b.her .bub h1,.b.her .bub h2,.b.her .bub h3{
  font-size:18px;color:var(--her-plum);margin:6px 0 6px;font-weight:700;
}
.b.her.typing .bub{color:var(--her-ink2)}
/* typing dots */
.tdots{display:inline-flex;gap:4px;align-items:center;vertical-align:middle;margin-right:8px}
.tdots i{width:6px;height:6px;border-radius:50%;background:var(--her-accent);animation:tblink 1.2s infinite}
.tdots i:nth-child(2){animation-delay:.2s}
.tdots i:nth-child(3){animation-delay:.4s}
@keyframes tblink{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){
  .tdots i{animation:none;opacity:.6}
  #msgs{scroll-behavior:auto}
}

/* — system / notice lines — */
.b.sys{
  margin-top:12px;margin-bottom:2px;
  text-align:center;
}
.b.sys .bub{
  display:inline-block;font-size:12.5px;color:var(--her-ink2);
  background:var(--her-pearl);border:1px dashed var(--her-line);
  border-radius:14px;padding:7px 14px;
}

/* — inline connection error — */
.b.err{
  display:flex;gap:12px;align-items:flex-start;
  margin-top:18px;margin-bottom:4px;
}
.b.err .bcol{flex:1;min-width:0;max-width:82%}
.b.err .mlab{font-size:11.5px;font-weight:700;color:var(--her-purple);margin-bottom:4px;letter-spacing:.3px}
.b.err .bub{
  display:flex;flex-direction:column;gap:8px;
  background:#FFF8F2;border:1px solid #F3D9BC;border-left:3px solid #E8A24C;
  border-radius:14px;padding:12px 15px;font-size:13.5px;color:#6B4A20;
}
.err-acts{display:flex;gap:8px}
.err-acts button{
  border-radius:12px;padding:6px 14px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;
}
.err-retry{border:none;background:var(--her-grad);color:#fff}
.err-edit{border:1px solid var(--her-line);background:#fff;color:var(--her-purple)}

/* ============================== in-conversation action chips ============================== */
.act-chips{
  display:flex;gap:8px;flex-wrap:wrap;
  max-width:960px;margin:10px auto 0;padding-inline:24px;padding-left:calc(24px + 44px);
  box-sizing:border-box;width:100%;
}
.act-chip{
  border:1.5px solid var(--her-line);background:var(--her-pearl);color:var(--her-purple);
  border-radius:18px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;
  transition:all .15s;font-family:inherit;
}
.act-chip:hover{border-color:var(--her-accent);background:var(--her-lav);transform:translateY(-1px)}

/* ============================== cards (assessment / report / doctors / visual) ============================== */
.card,.vis{
  margin-top:14px;
}
.card .in,.vis .in{
  background:var(--her-pearl);border:1px solid var(--her-line);
  border-radius:18px;padding:16px 18px;font-size:14px;line-height:1.6;
  box-shadow:0 4px 18px rgba(135,61,158,.08);
  max-width:680px;margin-left:44px;
}

/* assessment step card */
.asm-card{
  background:var(--her-pearl);border:1px solid var(--her-line);border-radius:18px;
  padding:16px 18px;box-shadow:0 4px 18px rgba(135,61,158,.08);
  max-width:680px;margin-left:44px;font-size:14px;
}
.asm-progress{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.asm-progress .bar{flex:1;height:4px;background:var(--her-lav);border-radius:2px;overflow:hidden}
.asm-progress .bar i{display:block;height:100%;background:var(--her-grad);border-radius:2px;transition:width .4s}
.asm-progress .step{font-size:11px;font-weight:700;color:var(--her-ink2);white-space:nowrap}
.asm-title{font-size:16.5px;font-weight:700;color:var(--her-plum);margin-bottom:3px}
.asm-sub{font-size:12.5px;color:var(--her-ink2);margin-bottom:10px}
.asm-opts{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin-top:8px}
@media(max-width:560px){.asm-opts{grid-template-columns:1fr}}
.asm-opt{
  display:flex;align-items:center;gap:8px;font-size:13.5px;cursor:pointer;
  padding:8px 11px;border-radius:12px;border:1px solid var(--her-line);background:#fff;
  transition:all .12s;color:var(--her-plum);
}
.asm-opt:hover{border-color:var(--her-accent);background:var(--her-lav)}
.asm-opt input{accent-color:var(--her-purple);flex-shrink:0;width:15px;height:15px}
.asm-other{margin-top:9px}
.asm-other input{
  width:100%;border:1px dashed var(--her-line);border-radius:12px;padding:9px 13px;
  font-size:13px;outline:none;font-family:inherit;background:#fff;color:var(--her-plum);
}
.asm-other input:focus{border-color:var(--her-accent)}
.asm-go{
  margin-top:12px;width:100%;border:none;background:var(--her-grad);color:#fff;
  border-radius:15px;padding:11px 18px;font-size:13.5px;font-weight:700;cursor:pointer;
  font-family:inherit;transition:transform .12s;
}
.asm-go:hover:not(:disabled){transform:translateY(-1px)}
.asm-go:disabled{opacity:.45;cursor:default}

/* offer card buttons */
.ofr-btns{display:flex;gap:9px;flex-wrap:wrap;margin-left:44px;max-width:680px}
.ofr-yes{
  border:none;background:var(--her-grad);color:#fff;border-radius:18px;
  padding:10px 18px;font-size:13.5px;font-weight:700;cursor:pointer;font-family:inherit;
  box-shadow:0 5px 16px rgba(135,61,158,.30);
}
.ofr-no{
  border:1.5px solid var(--her-line);background:var(--her-pearl);color:var(--her-purple);
  border-radius:18px;padding:10px 18px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;
}
.ofr-note{font-size:11px;color:var(--her-ink2);margin-top:7px;margin-left:44px}

/* report card */
.rpt-card{
  background:var(--her-pearl);border:1px solid var(--her-line);border-radius:18px;
  padding:18px 20px;box-shadow:0 6px 22px rgba(135,61,158,.10);
  max-width:720px;margin-left:44px;font-size:14px;
}
.rpt-h{font-weight:800;color:var(--her-plum);font-size:16.5px;display:flex;align-items:center;gap:8px}
.rpt-sub{
  font-size:11px;color:#8A5AA0;margin:4px 0 10px;font-weight:700;
  background:var(--her-lav);border-radius:9px;padding:3px 10px;display:inline-block;
}
.rpt-sym{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.rpt-sym i{
  background:var(--her-lav);border:1px solid var(--her-line);color:var(--her-purple);font-style:normal;
  border-radius:12px;padding:3px 11px;font-size:11.5px;font-weight:600;
}
.rpt-row{border-top:1px dashed var(--her-line);padding:8px 0;font-size:13.5px;line-height:1.6}
.rpt-row>span{
  display:block;font-size:10px;font-weight:800;color:var(--her-ink2);
  letter-spacing:.6px;text-transform:uppercase;margin-bottom:3px;
}
.rpt-row ul{margin:2px 0 0 17px}
.rpt-row.warn{background:#FFF8F2;border-left:3px solid #E8A24C;padding:8px 10px;border-radius:0 10px 10px 0;color:#6B4A20}
.rpt-acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.rpt-acts button{
  border-radius:15px;padding:8px 15px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;
  display:inline-flex;align-items:center;gap:6px;
}
.rpt-save{border:none;background:var(--her-grad);color:#fff}
.rpt-doc,.rpt-dl,.rpt-share,.rpt-cont{border:1.5px solid var(--her-line);background:#fff;color:var(--her-purple)}
.rpt-doc:hover,.rpt-dl:hover,.rpt-share:hover,.rpt-cont:hover{border-color:var(--her-accent);background:var(--her-lav)}

/* saved reports list */
.rptlist b{color:var(--her-plum)}
.rpt-li{
  display:block;width:100%;text-align:left;border:1px solid var(--her-line);background:#fff;
  border-radius:12px;padding:9px 13px;margin-top:7px;cursor:pointer;font-family:inherit;
}
.rpt-li:hover{border-color:var(--her-accent);background:var(--her-lav)}
.rpt-li b{display:block;font-size:13px;color:var(--her-plum);font-weight:700}
.rpt-li small{font-size:11px;color:var(--her-ink2)}

/* doctor cards */
.docrow{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;
  margin-top:12px;max-width:960px;
}
.doccard{
  background:var(--her-pearl);border:1px solid var(--her-line);border-radius:17px;
  padding:14px 16px;box-shadow:0 4px 16px rgba(135,61,158,.08);
  display:flex;flex-direction:column;gap:6px;
}
.dc-head b{display:block;font-size:14.5px;color:var(--her-plum)}
.dc-head span{font-size:12px;color:var(--her-purple);font-weight:600}
.dc-meta{font-size:11.5px;color:var(--her-ink2)}
.dc-row{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.dc-fee{font-size:14px;font-weight:800;color:var(--her-plum)}
.dc-book{
  border:none;background:var(--her-grad);color:#fff;border-radius:14px;
  padding:8px 16px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;
}

/* privacy card */
.priv .in{border-color:#BBE9D2;background:#F4FCF7}
.priv-h{display:flex;align-items:center;gap:8px;font-weight:800;color:#067A52;font-size:15px}
.priv-list{margin:8px 0 0;padding-left:18px;font-size:13px;color:#0A5C40;line-height:1.7}
.priv-del{
  margin-top:10px;border:1.5px solid #F2B8B8;background:#fff;color:#B42323;
  border-radius:14px;padding:7px 14px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;
}

/* visual lesson cards */
.vis-h{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--her-plum);font-size:15px;flex-wrap:wrap}
.vis-tag{font-size:9.5px;font-weight:700;color:var(--her-purple);background:var(--her-lav);border:1px solid var(--her-line);border-radius:9px;padding:2px 8px}
.vis-img{display:block;max-width:100%;border-radius:12px;border:1px solid var(--her-line);margin:9px 0 5px;cursor:zoom-in}
.vis-cap{font-size:11px;color:var(--her-ink2);margin:3px 0 7px}
.vis-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.vchip{
  border:1.5px solid var(--her-line);background:#fff;color:var(--her-purple);border-radius:16px;
  padding:6px 13px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;font-family:inherit;
}
.vchip:hover{border-color:var(--her-accent);background:var(--her-lav)}
.vchip:disabled{opacity:.5;cursor:default}
.vsteps{margin:9px 0 5px;padding-left:20px}
.vsteps li{margin:4px 0;font-size:13px}
.vlabel{display:block;font-size:10px;font-weight:800;color:var(--her-ink2);letter-spacing:.6px;text-transform:uppercase;margin:8px 0 2px}
.vwarn{background:#FFF8F2;border-left:3px solid #E8A24C;padding:7px 10px;border-radius:0 9px 9px 0;font-size:12.5px;margin-top:8px;color:#6B4A20}
.vcmp{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}
@media(max-width:520px){.vcmp{grid-template-columns:1fr}}
.vcmp .vcol{text-align:center}
.vcmp .vcol b{display:block;font-size:11.5px;margin-bottom:5px}
.vcmp .ok b{color:#067A52}.vcmp .bad b{color:#B42323}
.vprog{height:4px;background:var(--her-lav);border-radius:2px;margin-top:7px;overflow:hidden}
.vprog i{display:block;height:100%;background:var(--her-accent);width:0;transition:width .3s}
.vframe{display:block;max-width:100%;border-radius:12px;border:1px solid var(--her-line);margin:8px 0}
.vzoom{
  position:fixed;inset:0;background:rgba(30,10,42,.92);display:flex;align-items:center;
  justify-content:center;z-index:99;cursor:zoom-out;padding:15px;
}
.vzoom img{max-width:96%;max-height:96%;border-radius:12px}

/* camera overlay */
.camwrap{
  position:fixed;inset:0;background:rgba(30,10,42,.96);z-index:98;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:16px;
}
.camwrap video{max-width:92%;max-height:52vh;border-radius:15px;border:2px solid var(--her-accent);background:#000;transform:scaleX(-1)}
.camwrap .cbtns{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.camwrap .cbtn{
  border:none;border-radius:18px;padding:10px 19px;font-size:13px;font-weight:700;
  cursor:pointer;background:var(--her-grad);color:#fff;font-family:inherit;
}
.camwrap .cbtn.ghost{background:transparent;border:1.5px solid var(--her-lav);color:var(--her-lav)}
.camwrap .cmsg{max-width:92%;color:#F6EBFB;font-size:13.5px;text-align:center;min-height:18px}
.camwrap .ctips{max-width:92%;color:#D9BFE8;font-size:12.5px;text-align:center}
.camwrap iframe{width:100%;height:82vh;border:0;border-radius:15px;background:#0A2033}
#camBtn.on{background:var(--her-lav);border-color:var(--her-accent)}

/* ============================== composer ============================== */
.her-composer-wrap{
  flex-shrink:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
  background:transparent;position:relative;z-index:15;
}
.her-composer{
  width:100%;max-width:960px;margin-inline:auto;
  display:flex;align-items:flex-end;gap:7px;
  background:var(--her-pearl);
  border:1.5px solid var(--her-line);border-radius:24px;
  padding:9px 11px;
  box-shadow:0 8px 30px rgba(59,18,77,.12);
  transition:border-color .15s;
}
.her-composer:focus-within{border-color:var(--her-accent)}
.her-composer button{
  flex-shrink:0;border:none;background:none;cursor:pointer;
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--her-purple);transition:background .13s;position:relative;
}
.her-composer button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.her-composer button:hover{background:var(--her-lav)}
#inp{
  flex:1;min-width:0;border:none;outline:none;background:none;resize:none;
  font-family:inherit;font-size:15px;line-height:1.55;color:var(--her-plum);
  padding:8px 4px;max-height:140px;min-height:24px;
}
#inp::placeholder{color:#A893B8}
#mic{position:relative}
#mic.on{background:var(--her-purple);color:#fff}
#mic.on::after{
  content:'';position:absolute;inset:-3px;border-radius:50%;
  border:2px solid var(--her-accent);animation:micpulse 1.5s infinite;
}
@keyframes micpulse{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.45)}}
@media (prefers-reduced-motion:reduce){#mic.on::after{animation:none;display:none}}
#voiceConvBtn.on{background:var(--her-purple);color:#fff}
#send{
  background:var(--her-grad);color:#fff;
  box-shadow:0 4px 14px rgba(135,61,158,.35);
}
#send:hover:not(:disabled){transform:translateY(-1px)}
#send:disabled{opacity:.4;cursor:default;box-shadow:none}
.her-disclaimer{
  text-align:center;font-size:11px;color:var(--her-ink2);
  padding-top:7px;max-width:960px;margin-inline:auto;
}

/* voice-conversation live indicator */
.voice-bar{
  width:100%;max-width:960px;margin:0 auto 6px;
  display:none;align-items:center;gap:10px;
  background:var(--her-lav);border:1px solid var(--her-line);border-radius:16px;
  padding:8px 14px;font-size:12.5px;color:var(--her-purple);font-weight:600;
}
.voice-bar.on{display:flex}
.voice-bar .eq{display:inline-flex;gap:2.5px;align-items:flex-end;height:14px}
.voice-bar .eq i{width:3px;background:var(--her-accent);border-radius:2px;animation:eq 1s infinite ease-in-out}
.voice-bar .eq i:nth-child(1){height:6px}
.voice-bar .eq i:nth-child(2){height:12px;animation-delay:.15s}
.voice-bar .eq i:nth-child(3){height:8px;animation-delay:.3s}
.voice-bar .eq i:nth-child(4){height:11px;animation-delay:.45s}
@keyframes eq{0%,100%{transform:scaleY(.5)}50%{transform:scaleY(1.3)}}
@media (prefers-reduced-motion:reduce){.voice-bar .eq i{animation:none}}

/* ============================== responsive ============================== */
@media(max-width:700px){
  .her-top{height:56px;padding:0 8px;gap:5px}
  .her-id small{display:none}
  .her-id b{font-size:14px;white-space:nowrap}
  .her-id{min-width:0;flex-shrink:1}
  .her-avatar-sm{width:34px;height:34px}
  .hbtn .lbl{display:none}
  .hbtn{padding:6px;border-radius:11px}
  #herLang{max-width:58px;font-size:11px;padding:5px 3px;border-radius:11px}
  #msgs>*{padding-inline:16px}
  .b.me .bub{max-width:86%}
  .b.her .bcol{max-width:100%}
  .card .in,.vis .in,.asm-card,.rpt-card{margin-left:0}
  .ofr-btns,.ofr-note{margin-left:0}
  .act-chips{padding-left:16px}
  .her-composer-wrap{padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}
  #voiceConvBtn{display:none} /* continuous mode still available via mic on mobile */
}
@media(min-width:701px){
  #voiceConvBtn{width:auto;border-radius:19px;padding:0 13px;gap:6px}
  #voiceConvBtn .lbl{font-size:12px;font-weight:700}
}
#voiceConvBtn .lbl{display:none}
@media(min-width:701px){#voiceConvBtn .lbl{display:inline}}

/* legacy hidden controls */
#endCtl,#shieldCtl{display:none!important}

/* ============================== dashboard/welcome mode coordination ==============================
   womancare.js builds the dashboard on the same page; body.wc-chat = conversation mode.
   In welcome mode the page must scroll normally and the composer stays hidden. */
body.wc-on:not(.wc-chat) .her-composer-wrap{ display:none; }
body.wc-on:not(.wc-chat){
  overflow:auto !important; height:auto !important;
}
body.wc-on.wc-chat{
  overflow:hidden !important; height:100dvh !important;
}
/* in chat mode the dashboard is already hidden by womancare.css (#wcRoot);
   the conversation pane must fill the viewport */
body.wc-chat .her-wrap{ display:flex !important; }
/* the dashboard bottom nav must never cover the composer in conversation mode */
body.wc-chat #wcNav{ display:none !important; }
/* no horizontal scrolling ever — the workspace is viewport-locked */
body.her-chat-layout{ overflow-x:hidden; }
.her-wrap{ min-width:0; }
#msgs{ overflow-x:hidden; }
#msgs>*{ box-sizing:border-box; }
.b .bub{ overflow-wrap:anywhere; }
.act-chips{ overflow-wrap:anywhere; }
