/* Aria AI v0.1 professional polish */
.nav-item[data-page="lifeline"],
.nav-item[data-page="incidents"],
.nav-item[data-page="privacy"] { display:none !important; }

.safety-card { display:none !important; }
.lifeline-layout { grid-template-columns:1fr !important; }

.sidebar-footer { display:flex; flex-direction:column; gap:10px; }
.sidebar-footer .footer-links { display:flex; flex-direction:column; gap:4px; margin-top:10px; }
.sidebar-footer .footer-link { border:0; background:transparent; color:#9eabc0; text-align:left; padding:7px 0; font-size:12px; cursor:pointer; }
.sidebar-footer .footer-link:hover { color:#fff; }

.aria-chat-launcher {
  position:fixed;
  right:24px;
  bottom:24px;
  width:280px;
  min-height:76px;
  padding:12px 20px 12px 70px;
  border-radius:22px;
  border:0;
  color:#fff;
  background:linear-gradient(135deg,#6269e5,#835fdc);
  box-shadow:0 16px 40px rgba(68,70,160,.30);
  z-index:220;
  cursor:pointer;
  font-size:0;
  text-align:left;
  overflow:visible;
  transition:transform .18s ease, box-shadow .18s ease;
}
.aria-chat-launcher::before {
  content:"A";
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:20px;
  font-weight:800;
}
.aria-chat-launcher::after {
  content:"Aria AI\A Your health companion";
  white-space:pre;
  display:block;
  width:100%;
  color:#fff;
  font-size:15px;
  line-height:1.3;
  font-weight:800;
  overflow:visible;
}
.aria-chat-launcher:hover {
  transform:translateY(-2px);
  box-shadow:0 20px 46px rgba(68,70,160,.34);
}
.aria-chat-launcher:focus-visible {
  outline:3px solid rgba(98,105,229,.34);
  outline-offset:4px;
}

.aria-bubble-panel {
  position:fixed; right:24px; bottom:114px; width:min(430px,calc(100vw - 28px)); height:600px;
  background:#fff; border:1px solid #e3e8f0; border-radius:22px; overflow:hidden;
  box-shadow:0 25px 70px rgba(17,31,56,.22); z-index:219;
  display:flex; flex-direction:column;
}
.aria-bubble-panel[hidden] { display:none; }
.aria-bubble-head { padding:17px 18px; display:grid; grid-template-columns:44px 1fr auto; gap:11px; align-items:center; border-bottom:1px solid #e8edf3; }
.aria-bubble-avatar { width:44px; height:44px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg,#6269e5,#835fdc); color:#fff; font-weight:800; }
.aria-bubble-title strong,.aria-bubble-title span { display:block; }
.aria-bubble-title strong { font-size:16px; }
.aria-bubble-title strong::after { content:" AI"; }
.aria-bubble-title span { color:#7a8797; font-size:12px; margin-top:2px; }
.aria-chat-close { border:0; background:transparent; color:#738095; font-size:22px; padding:6px; cursor:pointer; }
.aria-bubble-log { flex:1; overflow:auto; padding:19px; background:#f8fafc; display:flex; flex-direction:column; gap:11px; }
.aria-bubble-msg { max-width:84%; padding:11px 13px; border-radius:14px; line-height:1.5; font-size:14px; }
.aria-bubble-msg.aria { align-self:flex-start; background:#fff; border:1px solid #e5eaf1; border-bottom-left-radius:5px; }
.aria-bubble-msg.user { align-self:flex-end; color:#fff; background:#6269e5; border-bottom-right-radius:5px; }
.aria-bubble-time { display:block; font-size:9px; margin-top:5px; opacity:.58; }
.aria-bubble-actions { display:flex; flex-direction:column; gap:7px; margin-top:3px; }
.aria-bubble-actions button { border-radius:11px; padding:10px 12px; font-weight:700; cursor:pointer; }
.aria-bubble-actions .contact { border:1px solid #dfe5ed; background:#fff; color:#48556b; }
.aria-bubble-actions .emergency { border:0; background:#c63f4f; color:#fff; }
.aria-bubble-input { display:grid; grid-template-columns:1fr auto; gap:8px; padding:13px; border-top:1px solid #e8edf3; background:#fff; }
.aria-bubble-input input { min-width:0; border:1px solid #dfe5ed; border-radius:11px; padding:11px 12px; outline:none; font-size:14px; }
.aria-bubble-input input:focus { border-color:#9ca2ee; box-shadow:0 0 0 3px rgba(93,101,232,.08); }
.aria-bubble-input button { border:0; border-radius:11px; padding:11px 14px; background:#6269e5; color:#fff; font-weight:700; cursor:pointer; }
.aria-bubble-note { padding:0 13px 12px; font-size:9px; color:#8995a5; background:#fff; }

@media(max-width:700px){
  .aria-chat-launcher { right:16px; bottom:16px; width:250px; min-height:72px; padding:10px 18px 10px 66px; }
  .aria-chat-launcher::before { left:12px; width:42px; height:42px; }
  .aria-chat-launcher::after { font-size:14px; line-height:1.3; }
  .aria-bubble-panel { right:14px; bottom:102px; height:min(590px,calc(100vh - 124px)); }
}
