/* Radomir's selected minimal composition. Scoped to chat, including its shell. */
html.rushnik-v2.rushnik-brandbook body.chat-view-active {background:#fff!important}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .app {
  max-width:960px!important;padding:0 0 calc(66px + env(safe-area-inset-bottom))!important;
  font-family:RushnikGolos,Golos,Arial,sans-serif!important;
}
#radomirChat {
  --chat-ink:#263139;--chat-muted:#5c6c75;--chat-blue:#355c72;--chat-wine:#874b4e;
  --chat-line:#dbe3e7;--chat-soft:#edf2f5;--chat-gutter:24px;
  background:#fff!important;position:relative;isolation:isolate;letter-spacing:0!important;
  font-family:RushnikGolos,Golos,Arial,sans-serif!important;
}
#radomirChat.active {gap:0!important;min-height:0!important;overflow:hidden!important}
#radomirChat::before,#radomirChat::after,#radomirChat>.view-back {display:none!important}
#radomirChat * {letter-spacing:0!important;box-sizing:border-box}
#radomirChat .chat-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#radomirChat .chat-topbar {
  min-height:76px!important;padding:16px var(--chat-gutter)!important;gap:14px!important;
  margin:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--chat-line)!important;
  border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;flex:0 0 auto;
}
#radomirChat .radomir-brand {display:block;width:32px;height:38px;object-fit:contain;flex:0 0 32px}
#radomirChat .chat-topbar>span {gap:3px!important}
#radomirChat .chat-topbar b {font-size:18px!important;font-weight:600!important;line-height:1.25!important;color:var(--chat-ink)!important}
#radomirChat .chat-topbar small {font-size:12px!important;line-height:1.4!important;color:var(--chat-muted)!important;font-weight:400!important}
#radomirChat #chatMessages {
  flex:1 1 auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column;
  gap:28px!important;align-items:stretch!important;padding:28px var(--chat-gutter)!important;margin:0!important;
  background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;
  overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b6c4cb #fff;scroll-padding-block:24px;
}
#radomirChat #chatMessages:focus-visible {outline:2px solid var(--chat-blue)!important;outline-offset:-3px!important}
#radomirChat .chat-message {width:100%!important;max-width:100%!important;min-width:0;flex-shrink:0;gap:0!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;animation:none!important}
#radomirChat .message-avatar {display:none!important}
#radomirChat .message-bubble {padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:100%;color:var(--chat-ink)!important;overflow-wrap:anywhere}
#radomirChat .message-bubble>b:first-child {display:block!important;margin:0 0 8px!important;color:var(--chat-blue)!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important}
#radomirChat .message-bubble>b:first-child small {display:none!important}
#radomirChat .chat-message p {font-size:16px!important;line-height:1.65!important;font-weight:400!important;color:var(--chat-ink)!important;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere}
#radomirChat .chat-message p+p {margin-top:14px!important}
#radomirChat .chat-message.user {
  align-self:flex-end!important;width:auto!important;max-width:85%!important;align-items:stretch!important;
  padding:12px 16px!important;background:var(--chat-soft)!important;border:0!important;border-radius:8px!important;color:var(--chat-ink)!important;
}
#radomirChat .chat-message.user>b {display:none!important}
#radomirChat .chat-message.user>p {font-size:15px!important;line-height:1.6!important;color:var(--chat-ink)!important}
#radomirChat .chat-message.welcome {align-self:center!important;max-width:560px!important;width:100%!important;margin:auto 0!important;padding:22px 0 38px!important;text-align:center}
#radomirChat .welcome .message-bubble {text-align:center}
#radomirChat .radomir-welcome-mark {display:block;width:54px;height:64px;margin:0 auto 24px;object-fit:contain}
#radomirChat .welcome h1 {font-size:28px!important;line-height:1.25!important;font-weight:550!important;margin:0 0 16px!important;color:var(--chat-ink)!important}
#radomirChat .welcome p {font-size:15px!important;line-height:1.6!important;color:var(--chat-muted)!important;white-space:normal}
#radomirChat .welcome>.listen-reply {display:none!important}
#radomirChat.has-conversation .welcome {display:none!important}
#radomirChat .chat-starters {display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 14px!important;margin:24px 0 0!important}
#radomirChat .chat-starters button {
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px!important;padding:8px 0!important;
  width:auto!important;min-width:0;max-width:100%;background:transparent!important;border:0!important;border-radius:4px!important;
  box-shadow:none!important;color:var(--chat-blue)!important;font-size:13px!important;line-height:1.4!important;font-weight:450!important;text-align:center!important;
}
#radomirChat .chat-starters svg {width:16px;height:16px;flex:0 0 16px;stroke-width:1.6}
#radomirChat .chat-starters button:last-child {flex-basis:100%}
#radomirChat .chat-starters button:hover span {text-decoration:underline;text-underline-offset:4px}
#radomirChat .chat-starters button:active {transform:none!important;color:var(--chat-wine)!important}
#radomirChat #chatForm {
  position:relative!important;inset:auto!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;align-items:end!important;
  flex:0 0 auto;gap:4px!important;margin:0 var(--chat-gutter)!important;padding:7px 8px 7px 16px!important;
  background:#fff!important;border:1px solid #aebfc8!important;border-radius:8px!important;
  box-shadow:0 4px 16px #26313906!important;backdrop-filter:none!important;transition:border-color 150ms ease;
}
#radomirChat #chatForm:focus-within {border-color:var(--chat-blue)!important;box-shadow:0 0 0 1px var(--chat-blue)!important}
#radomirChat #chatInput {
  grid-column:1;grid-row:1;display:block;min-height:44px!important;max-height:120px!important;height:44px;
  padding:11px 0!important;margin:0!important;min-width:0;width:100%;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;font-size:16px!important;font-weight:400!important;line-height:22px!important;
  color:var(--chat-ink)!important;caret-color:var(--chat-wine);resize:none!important;overflow-y:auto!important;
}
#radomirChat #chatInput:focus-visible {outline:none!important}
#radomirChat #chatInput::placeholder {color:var(--chat-muted)!important;opacity:1}
#radomirChat .chat-compose {display:contents!important}
#radomirChat #voiceButton,#radomirChat #chatSubmit {
  display:grid!important;place-items:center;width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;border-radius:6px!important;box-shadow:none!important;flex-shrink:0;
}
#radomirChat #voiceButton {background:transparent!important;border:0!important;color:var(--chat-muted)!important}
#radomirChat #voiceButton::before,#radomirChat #voiceButton::after,#radomirChat #chatSubmit::before,#radomirChat #chatSubmit::after {display:none!important}
#radomirChat #voiceButton.recording {background:#f4eaeb!important;color:var(--chat-wine)!important}
#radomirChat #chatSubmit {background:var(--chat-blue)!important;color:#fff!important;border:0!important;opacity:1!important}
#radomirChat #chatSubmit[aria-disabled=true]:not(:disabled) {background:#edf2f5!important;color:#748893!important;cursor:default}
#radomirChat #chatSubmit:not(:disabled):not([aria-disabled=true]):hover {background:#284b60!important}
#radomirChat #voiceButton:hover {background:var(--chat-soft)!important}
#radomirChat :is(#voiceButton,#chatSubmit) svg {width:20px!important;height:20px!important;stroke-width:1.8}
#radomirChat #voiceStatus {grid-column:1/-1;padding:0 4px 5px 0!important;color:var(--chat-muted)!important;max-height:74px;font-size:12px!important;line-height:1.5!important;overflow:auto}
#radomirChat .chat-footnote {flex:0 0 auto;margin:10px var(--chat-gutter) 16px!important;text-align:center;color:var(--chat-muted)!important;font-size:11px!important;line-height:1.5!important;font-weight:400!important}
#radomirChat .chat-message-tools {display:flex;align-items:center;gap:2px;margin:3px 0 0 -10px}
#radomirChat .chat-icon-button,#radomirChat .listen-reply {
  display:grid!important;place-items:center;position:relative;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:6px!important;box-shadow:none!important;color:var(--chat-muted)!important;font-size:0!important;
}
#radomirChat .chat-icon-button:hover,#radomirChat .listen-reply:not(:disabled):hover {background:var(--chat-soft)!important;color:var(--chat-blue)!important}
#radomirChat .chat-icon-button svg,#radomirChat .listen-reply svg {width:17px;height:17px;stroke-width:1.7}
#radomirChat .listen-reply::before,#radomirChat .listen-reply::after {display:none!important}
#radomirChat .listen-reply:disabled {color:#a8b3b9!important;cursor:not-allowed}
#radomirChat .listen-reply.error {color:var(--chat-wine)!important}
#radomirChat .listen-reply.loading svg {animation:radomir-spin 1s linear infinite}
#radomirChat .chat-actions {display:flex!important;gap:8px!important;flex-wrap:wrap;margin:12px 0 0!important;width:100%;max-width:100%}
#radomirChat .chat-actions button {
  display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px!important;max-width:100%;min-width:0;
  padding:10px 12px!important;background:#fff!important;color:var(--chat-blue)!important;border:1px solid #c6d3da!important;border-radius:6px!important;
  box-shadow:none!important;font-size:13px!important;line-height:1.45!important;font-weight:500!important;white-space:normal;overflow-wrap:anywhere;text-align:left;
}
#radomirChat .chat-actions button:hover {background:var(--chat-soft)!important}
#radomirChat .chat-actions svg {width:17px;height:17px;flex:0 0 17px}
#radomirChat .chat-message.system {max-width:100%!important;align-self:stretch!important}
#radomirChat .chat-error-card {padding:16px!important;background:#faf4f4!important;border:1px solid #ead9db!important;border-radius:8px!important}
#radomirChat .chat-error-card .message-bubble {background:none!important}
#radomirChat .chat-error-card .message-bubble>b:first-child {color:var(--chat-wine)!important}
#radomirChat .typing-bubble {gap:5px;padding:6px 0 8px;margin:0;min-height:26px}
#radomirChat .typing-bubble span {width:5px;height:5px;background:var(--chat-blue)!important;box-shadow:none!important}
#radomirChat #chatLatest {position:absolute;right:calc(var(--chat-gutter) + 8px);bottom:var(--chat-compose-offset,112px);z-index:3;border:1px solid var(--chat-line)!important;background:#fff!important;box-shadow:0 3px 12px #26313912!important}
#radomirChat #chatLatest[hidden] {display:none!important}
#radomirChat :is(button,summary):focus-visible {outline:2px solid var(--chat-wine)!important;outline-offset:3px!important}
#radomirChat ::selection {background:#dce8ee;color:var(--chat-ink)}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar {
  bottom:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(100%,960px)!important;max-width:960px!important;
  height:calc(66px + env(safe-area-inset-bottom))!important;padding:5px 12px calc(5px + env(safe-area-inset-bottom))!important;
  background:#fff!important;border:0!important;border-top:1px solid #e2e8eb!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar button {height:55px!important;min-height:44px!important;background:none!important;border:0!important;border-radius:6px!important;color:#5c6c75!important;box-shadow:none!important}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar button.active {background:none!important;color:#355c72!important}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar button.active svg {fill:#e8eff3;stroke:#355c72}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar span {display:block!important;font-size:10px!important;font-weight:450!important;line-height:1.4!important;margin-top:4px!important}
html.rushnik-v2.rushnik-brandbook body.chat-view-active .tabbar svg {width:21px!important;height:21px!important;stroke-width:1.7}
@keyframes radomir-spin {to{transform:rotate(360deg)}}
@media(min-width:768px) {
  #radomirChat {--chat-gutter:48px}
  #radomirChat #chatMessages {padding-left:max(48px,calc((100% - 680px)/2))!important;padding-right:max(48px,calc((100% - 680px)/2))!important}
  #radomirChat #chatForm {margin-left:max(48px,calc((100% - 704px)/2))!important;margin-right:max(48px,calc((100% - 704px)/2))!important}
  #radomirChat .welcome h1 {font-size:32px!important}
  #radomirChat .welcome {padding-bottom:50px!important}
  #radomirChat .chat-starters button:last-child {flex-basis:auto}
}
@media(max-width:359px) {
  #radomirChat {--chat-gutter:18px}
  #radomirChat .welcome h1 {font-size:26px!important}
  #radomirChat .chat-starters {gap:0 10px!important}
  #radomirChat .chat-starters button {font-size:12px!important;gap:5px}
  #radomirChat .chat-starters svg {width:14px;height:14px;flex-basis:14px}
}
@media(max-height:690px) {
  #radomirChat .chat-topbar {min-height:64px!important;padding-top:10px!important;padding-bottom:10px!important}
  #radomirChat #chatMessages {padding-top:14px!important;padding-bottom:14px!important}
  #radomirChat .welcome {padding:4px 0 12px!important}
  #radomirChat .radomir-welcome-mark {display:none}
  #radomirChat .welcome h1 {font-size:26px!important;margin-bottom:10px!important}
  #radomirChat .chat-starters {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px!important;margin-top:12px!important}
  #radomirChat .chat-starters button {width:100%!important}
  #radomirChat .chat-starters button:last-child {grid-column:1/-1}
  #radomirChat .chat-footnote {margin-top:8px!important;margin-bottom:10px!important}
}
@media(max-height:560px) {
  #radomirChat #chatMessages {padding-top:8px!important;padding-bottom:8px!important}
  #radomirChat .welcome {padding:0!important}
  #radomirChat .welcome h1 {font-size:22px!important;margin-bottom:8px!important}
  #radomirChat .welcome p {display:none!important}
  #radomirChat .chat-starters {margin-top:8px!important}
}
@media(max-height:560px) and (min-width:600px) {
  #radomirChat .welcome h1 br {display:none}
  #radomirChat .chat-starters {display:flex!important;gap:0 18px!important}
  #radomirChat .chat-starters button {width:auto!important}
}
@media(prefers-reduced-motion:reduce) {
  #radomirChat *,#radomirChat *::before,#radomirChat *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
