.sbd-chat{--sbd-accent:#087f95;--sbd-hover:#056477;--sbd-text:#24323a;--sbd-muted:#63737c;--sbd-border:#dbe5e9;box-sizing:border-box;font-family:inherit;color:var(--sbd-text)}
.sbd-chat *{box-sizing:border-box}
.sbd-chat__panel{width:100%;max-width:680px;border:1px solid var(--sbd-border);border-radius:15px;background:#fff;box-shadow:0 7px 34px #102f391a;overflow:hidden;color:var(--sbd-text)}
.sbd-chat__panel[hidden]{display:none!important}
.sbd-chat--embedded{--sbd-input-height:48px;--sbd-input-padding:12px;--sbd-submit-padding:20px;display:flex;justify-content:center;width:100%;max-width:1100px;min-width:0;margin:18px auto}
.sbd-chat--embedded > .sbd-chat__panel{display:flex;flex-direction:column;max-width:1100px;min-width:0}
.sbd-chat--embedded .sbd-chat__messages{flex:0 1 auto;height:460px;min-height:0;max-height:480px;overflow-wrap:anywhere}
.sbd-chat--embedded > .sbd-chat__panel > .sbd-chat__suggestions{padding:16px 20px 12px}
.sbd-chat--embedded > .sbd-chat__panel > .sbd-chat__form{padding:16px 20px 12px;gap:12px}
.sbd-chat--embedded > .sbd-chat__panel > .sbd-chat__form button{flex-shrink:0}
@media(min-width:1025px){
  .sbd-chat--embedded.sbd-chat--started > .sbd-chat__panel{height:680px}
  .sbd-chat--embedded .sbd-chat__messages{flex:1;max-height:none}
  .sbd-chat--embedded > .sbd-chat__panel > :not(.sbd-chat__messages){flex-shrink:0}
}
.sbd-chat--embedded:not(.sbd-chat--started) .sbd-chat__messages{height:auto;min-height:150px;flex:0 0 auto}
@media(max-width:767px){
  .sbd-chat--embedded .sbd-chat__messages{height:420px;max-height:60vh}
  .sbd-chat--embedded > .sbd-chat__panel > .sbd-chat__form{flex-wrap:wrap}
  .sbd-chat--embedded > .sbd-chat__panel > .sbd-chat__form input{flex:1 1 160px}
}
.sbd-chat--floating{position:fixed;bottom:22px;right:22px;z-index:99991}
.sbd-chat--floating .sbd-chat__panel{position:absolute;bottom:72px;right:0;width:min(430px,calc(100vw - 32px));height:min(590px,calc(100vh - 120px));display:flex;flex-direction:column}
.sbd-chat__launcher{background:var(--sbd-accent)!important;color:#fff!important;border:0!important;border-radius:32px!important;box-shadow:0 5px 20px #06232d38;padding:13px 19px!important;font-size:16px!important;cursor:pointer!important;min-height:50px}
.sbd-chat__header{display:flex;align-items:center;justify-content:space-between;padding:8px 18px;background:var(--sbd-accent);color:#fff;min-height:52px}
.sbd-chat__header strong{display:block;color:inherit;font-size:17px;font-weight:700;line-height:1.35}
.sbd-chat__close{border:0!important;background:transparent!important;color:#fff!important;font-size:28px!important;line-height:1!important;padding:2px 8px!important;cursor:pointer}
.sbd-chat__messages{padding:16px;overflow-y:auto;min-height:250px;max-height:460px;flex:1;scroll-behavior:smooth;background:#fbfcfd}
.sbd-chat__message{font-size:15px;line-height:1.65;width:fit-content;max-width:92%;padding:12px 15px;border-radius:13px;margin-bottom:16px;white-space:pre-wrap}
.sbd-chat__message--bot{background:#edf5f7;margin-right:auto}
.sbd-chat__message--user{background:var(--sbd-accent);color:white;margin-left:auto}
.sbd-chat__results{border:1px solid var(--sbd-border);padding:12px;border-radius:12px;background:#fff;margin:0 0 18px}
.sbd-chat__group-title{font-size:13px!important;color:var(--sbd-text)!important;letter-spacing:.02em;margin:6px 4px 8px!important;font-weight:700!important}
.sbd-chat__result{display:block!important;padding:11px!important;border:1px solid var(--sbd-border)!important;border-radius:8px!important;color:var(--sbd-text)!important;background:#fff!important;text-decoration:none!important;margin-bottom:8px;box-shadow:none!important}
.sbd-chat__result-title{display:block;font-weight:700;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.sbd-chat__result-meta{display:block;margin:5px 0;color:var(--sbd-muted);font-size:12px}
.sbd-chat__result-excerpt{display:block;font-size:12px;line-height:1.5;color:#54636a;margin-bottom:7px}
.sbd-chat__result-category{display:block;margin:0 0 7px;color:var(--sbd-muted);font-size:12px}
.sbd-chat__result-link{display:block;margin-top:5px;color:var(--sbd-accent);font-size:13px;font-weight:700;text-decoration:underline}
.sbd-chat__more{display:block;font-size:12px;color:var(--sbd-muted);margin:0 5px 10px}
.sbd-chat .sbd-chat__library-link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;margin:0 5px 8px;padding:8px 12px;border-radius:8px;background-color:var(--sbd-accent)!important;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;line-height:1.4}
.sbd-chat .sbd-chat__library-hint{margin-bottom:4px}
.sbd-chat .sbd-chat__suggestions {
  --sbd-control-hover:var(--sbd-accent);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px 14px 4px;
  border-top:1px solid var(--sbd-border);
}

.sbd-chat .sbd-chat__suggestions > :is(button, a[href]) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  max-width:100%;
  min-height:38px;
  height:auto!important;
  margin:0!important;
  padding:7px 13px!important;
  border:1px solid #bfdce3!important;
  border-radius:999px!important;
  background-color:#f4fafc!important;
  color:#056477!important;
  font-family:inherit;
  font-size:14px!important;
  font-weight:600;
  line-height:1.4!important;
  text-align:center;
  text-decoration:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  box-shadow:0 1px 2px #06232d12;
}
.sbd-chat__form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:11px 14px 5px;margin:0!important}
.sbd-chat__form input{min-width:0;flex:1;height:var(--sbd-input-height,43px)!important;background:#fff!important;color:#24323a!important;font-size:14px!important;border:1px solid #b7cbd1!important;border-radius:8px!important;padding:var(--sbd-input-padding,9px)!important;box-shadow:none!important;margin:0!important}
.sbd-chat__form button{height:var(--sbd-input-height,43px)!important;padding:0 var(--sbd-submit-padding,15px)!important;border-radius:8px!important;background:var(--sbd-button-background,var(--sbd-accent))!important;color:var(--sbd-button-text,#fff)!important;border:1px solid var(--sbd-button-border,transparent)!important;font-size:14px!important;cursor:pointer!important}
.sbd-chat .sbd-chat__reset{--sbd-button-background:#fff7fa;--sbd-button-text:#8c3659;--sbd-button-border:#d99ab2;--sbd-control-hover:#963f64}
.sbd-chat .sbd-chat__reset:active{filter:brightness(.95)}
@media(max-width:767px){
  .sbd-chat > .sbd-chat__panel > .sbd-chat__form input{flex-basis:100%}
  .sbd-chat > .sbd-chat__panel > .sbd-chat__form button{flex:1}
}
.sbd-chat--floating > .sbd-chat__panel > .sbd-chat__form input{flex-basis:100%}
.sbd-chat--floating > .sbd-chat__panel > .sbd-chat__form button{flex:1}
.sbd-chat__form button:disabled{opacity:.6;cursor:wait!important}
.sbd-chat__disclaimer{font-size:10px!important;line-height:1.4!important;color:var(--sbd-muted)!important;margin:0!important;padding:3px 14px 12px!important}
@media(max-width:500px){.sbd-chat--floating{right:12px;bottom:12px}.sbd-chat--floating .sbd-chat__panel{bottom:67px;right:0;width:calc(100vw - 24px);height:min(580px,calc(100dvh - 96px))}.sbd-chat__messages{min-height:180px}.sbd-chat__form input{width:100%}.sbd-chat__launcher{padding:12px 16px!important}}

.sbd-chat--floating .sbd-chat__messages{min-height:0}
.sbd-chat--floating > .sbd-chat__panel > :not(.sbd-chat__messages){flex-shrink:0}
@media(max-height:650px){
  .sbd-chat--floating > .sbd-chat__panel > .sbd-chat__suggestions{max-height:120px;overflow-y:auto}
}
.sbd-chat .sbd-chat__suggestions--followup{padding:0 0 4px;border-top:0}
.sbd-chat .sbd-chat__year-form{flex-wrap:wrap;align-items:center;padding:8px 0 4px}
.sbd-chat .sbd-chat__year-form[hidden]{display:none!important}
.sbd-chat .sbd-chat__year-form input{flex:0 0 5.5rem;width:5.5rem}
.sbd-chat .sbd-chat__year-label{flex-basis:100%;font-size:14px;color:var(--sbd-text)}
.sbd-chat .sbd-chat__message{overflow-wrap:anywhere}

.sbd-chat :is(button, a[href], [role="button"]) {
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.sbd-chat :is(button, a[href], [role="button"], input):focus-visible {
  outline:2px solid #17414a!important;
  outline-offset:2px;
  box-shadow:0 0 0 2px #fff!important;
}

@media (hover:hover) and (pointer:fine) {
  .sbd-chat :is(button, a[href], [role="button"]):not(:disabled):not([aria-disabled="true"]):hover {
    background-color:var(--sbd-control-hover,var(--sbd-hover))!important;
    border-color:var(--sbd-control-hover,var(--sbd-hover))!important;
    color:#fff!important;
    transform:translateY(-2px);
    box-shadow:0 4px 10px #06232d33!important;
  }

  .sbd-chat .sbd-chat__result:hover :is(strong, small, span, time) {color:#fff!important}
  .sbd-chat :is(button, a[href], [role="button"]):hover:focus-visible {
    box-shadow:0 0 0 2px #fff,0 4px 10px #06232d33!important;
  }
}

.sbd-chat .sbd-chat__suggestions > :is(button, a[href]):not(:disabled):active {
  background-color:var(--sbd-hover)!important;
  border-color:var(--sbd-hover)!important;
  color:#fff!important;
  transform:none;
  box-shadow:inset 0 1px 2px #06232d33!important;
}

.sbd-chat .sbd-chat__suggestions > :is(button, a[href]):active:focus-visible {
  box-shadow:0 0 0 2px #fff,inset 0 1px 2px #06232d33!important;
}

@media (max-width:500px), (pointer:coarse) {
  .sbd-chat .sbd-chat__suggestions > :is(button, a[href]) {min-height:44px}
}

@media (pointer:coarse) {
  .sbd-chat :is(button, input) {min-height:44px}
}

@media (prefers-reduced-motion:reduce) {
  .sbd-chat .sbd-chat__messages {scroll-behavior:auto}
  .sbd-chat :is(button, a[href], [role="button"]) {
    transition:none!important;
    transform:none!important;
  }
}
