#salloumOpen {
  border: 1px solid #115e59;
  border-radius: 999px;
  background: #115e59;
  color: white;
  font-weight: 800;
}
#salloumPanel {
  position: fixed;
  inset: auto auto max(22px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  margin: 0;
  width: min(420px, calc(100vw - 24px));
  height: min(610px, calc(100dvh - 36px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #a5c8be;
  border-radius: 18px;
  background: #f5faf8;
  color: #173833;
  box-shadow: 0 16px 45px #0f172a57;
  overflow: hidden;
}
#salloumPanel[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
#salloumPanel::backdrop { background: #082b3066; }
#salloumPanel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #115e59;
  color: white;
}
#salloumTitle { margin: 0; font-size: 1.2rem; }
#salloumPanel header p { margin: 3px 0 0; color: #d4fff2; font-size: .82rem; }
#salloumClose {
  background: #ffffff20;
  border: 1px solid #ffffff90;
  color: white;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font: inherit;
  cursor: pointer;
}
#salloumLog { overflow: auto; overscroll-behavior: contain; padding: 10px 12px; }
.salloum-reply, .salloum-user {
  margin: 0 0 9px;
  border-radius: 12px;
  padding: 9px 12px;
  background: white;
  border: 1px solid #d7e5df;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.salloum-reply ol { padding-inline-start: 1.4em; margin: 5px 0; }
.salloum-reply li + li { margin-top: 4px; }
.salloum-user { margin-inline-start: 23px; background: #d9f5e9; }
#salloumQuick { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 12px; border-block-start: 1px solid #d7e5df; }
#salloumQuick:empty { display: none; }
.salloum-link {
  display: inline-block;
  margin: 4px 0 0 4px;
  padding: 6px 9px;
  color: #115e59;
  background: #edfaf5;
  border: 1px solid #a5c8be;
  border-radius: 9px;
  font: inherit;
  font-size: .82rem;
  line-height: 1.4;
  cursor: pointer;
}
#salloumForm { display: flex; gap: 6px; padding: 8px 12px 12px; }
#salloumQuestion { flex: 1; min-width: 0; padding: 8px; font-size: 1rem; border: 1px solid #a5c8be; border-radius: 8px; }
#salloumForm button { flex: 0 0 auto; width: auto; min-width: 56px; }
#salloumPanel :focus-visible, #salloumOpen:focus-visible { outline: 2px solid #d97706; outline-offset: 2px; }
@media (max-height: 500px) {
  #salloumPanel { height: calc(100dvh - 18px); bottom: 9px; }
}
