#re4est-assistant {
  --r4-forest: #173f32;
  --r4-forest-dark: #102e25;
  --r4-ivory: #fbf8f0;
  --r4-paper: #fffdf8;
  --r4-ink: #253b30;
  --r4-muted: #657267;
  --r4-brass: #ad8950;
  --r4-line: #e2e4d7;
  --r4-logo-scale: 1;
  --r4-voice-level: 0;
  position: fixed;
  z-index: 2147483000;
  right: auto;
  bottom: auto;
  left: max(12px, calc(100vw - 276px));
  top: max(52px, calc(100dvh - 102px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  color: var(--r4-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  isolation: isolate;
  color-scheme: light;
}
#re4est-assistant *, #re4est-assistant *::before, #re4est-assistant *::after { box-sizing: border-box; }
#re4est-assistant [hidden] { display: none !important; }
#re4est-assistant button, #re4est-assistant textarea, #re4est-assistant a { font: inherit; letter-spacing: normal; text-transform: none; }
#re4est-assistant button { appearance: none; cursor: pointer; margin: 0; min-width: 0; border-radius: 0; line-height: 1.4; background-image: none; box-shadow: none; text-shadow: none; }
#re4est-assistant button:disabled { cursor: wait; opacity: .55; }
#re4est-assistant button:focus-visible, #re4est-assistant a:focus-visible, #re4est-assistant textarea:focus-visible { outline: 3px solid #b58b47; outline-offset: 3px; }
#re4est-assistant svg { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
#re4est-assistant img { display: block; max-width: 100%; height: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
#re4est-assistant p, #re4est-assistant h2 { margin: 0; padding: 0; color: inherit; }
#re4est-assistant a { color: inherit; text-decoration: none; }
#re4est-assistant .r4-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#re4est-assistant .r4-panel { display: flex; flex-direction: column; width: 384px; max-width: calc(100vw - 24px); height: 594px; max-height: var(--r4-available-height, calc(100dvh - 166px)); min-height: 140px; overflow: hidden; border: 1px solid #e0e4d9; border-radius: 22px; background: var(--r4-ivory); box-shadow: 0 22px 70px #102e252d, 0 3px 12px #102e2512; animation: r4-panel-in .22s ease-out; }
#re4est-assistant .r4-header { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 8px; padding: 18px 16px 16px 20px; border-bottom: 1px solid var(--r4-line); background: var(--r4-paper); }
#re4est-assistant .r4-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
#re4est-assistant .r4-brand-logo { width: 89px; max-height: 50px; }
#re4est-assistant .r4-brand-words { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--r4-line); }
#re4est-assistant .r4-eyebrow { display: block; font-size: 9px; font-weight: 650; letter-spacing: 1.6px; color: #7d704c; line-height: 1.5; }
#re4est-assistant .r4-brand-words .r4-eyebrow { font-size: 8px; letter-spacing: 1px; }
#re4est-assistant .r4-ai-label { font-size: 11px; color: var(--r4-muted); white-space: nowrap; }
#re4est-assistant .r4-header-actions { display: flex; gap: 1px; }
#re4est-assistant .r4-icon-button { display: grid; place-items: center; width: 32px; height: 34px; padding: 6px; border: 0; border-radius: 9px; background: transparent; color: #69766b; }
#re4est-assistant .r4-icon-button svg { width: 17px; height: 17px; }
#re4est-assistant .r4-icon-button:hover { background: #edf0e7; color: var(--r4-forest); }
#re4est-assistant .r4-tabs { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 auto; gap: 4px; margin: 15px 20px 0; padding: 4px; border: 1px solid #e3e5d8; border-radius: 12px; background: #edeedf; }
#re4est-assistant .r4-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: #65715d; font-size: 12px; font-weight: 600; }
#re4est-assistant .r4-tab svg { width: 16px; height: 16px; }
#re4est-assistant .r4-tab[aria-selected="true"] { background: var(--r4-paper); color: var(--r4-forest); box-shadow: 0 1px 5px #173f3210; }
#re4est-assistant .r4-chat-pane { display: flex; flex: 1 1 0; flex-direction: column; min-height: 0; }
#re4est-assistant .r4-conversation { flex: 1 1 0; min-height: 0; padding: 23px 20px 17px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ccd3c4 transparent; }
#re4est-assistant .r4-welcome-title { margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; letter-spacing: -.9px; line-height: 1.14; white-space: pre-line; }
#re4est-assistant .r4-welcome-copy { margin-top: 14px; max-width: 290px; font-size: 12.5px; line-height: 1.7; color: var(--r4-muted); }
#re4est-assistant .r4-suggestions { display: grid; gap: 8px; margin-top: 22px; }
#re4est-assistant .r4-suggestion { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 11px 14px; background: #fffdf8; border: 1px solid #e0e4d6; border-radius: 9px; color: var(--r4-forest); text-align: left; font-size: 12px; }
#re4est-assistant .r4-suggestion svg { width: 15px; height: 15px; color: var(--r4-brass); }
#re4est-assistant .r4-suggestion:hover { background: #f0f2e7; border-color: #c8d1bd; }
#re4est-assistant .r4-messages { display: flex; flex-direction: column; gap: 15px; }
#re4est-assistant .r4-message { max-width: 95%; padding: 12px 14px; border-radius: 3px 13px 13px; background: var(--r4-paper); border: 1px solid #e3e7da; color: var(--r4-ink); }
#re4est-assistant .r4-message-user { align-self: flex-end; border: 0; border-radius: 13px 3px 13px 13px; background: var(--r4-forest); color: #fffdf5; }
#re4est-assistant .r4-message-label { display: block; margin-bottom: 5px; font-size: 9px; font-weight: 650; letter-spacing: .4px; opacity: .68; }
#re4est-assistant .r4-message-text { font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
#re4est-assistant .r4-compose { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; margin: 0 16px; padding: 7px 7px 7px 13px; border: 1px solid #d8dfce; border-radius: 13px; background: var(--r4-paper); }
#re4est-assistant .r4-input { width: 100%; min-width: 0; min-height: 24px; max-height: 104px; height: 24px; padding: 3px 0; border: 0; border-radius: 0; background: transparent; color: var(--r4-ink); font-size: 13px; line-height: 18px; resize: none; box-shadow: none; outline: 0; }
#re4est-assistant .r4-input::placeholder { color: #85907e; opacity: 1; }
#re4est-assistant .r4-send { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; padding: 8px; border: 0; border-radius: 9px; background: var(--r4-forest); color: var(--r4-paper); }
#re4est-assistant .r4-send svg { width: 17px; height: 17px; }
#re4est-assistant .r4-send:hover { background: #285843; }
#re4est-assistant .r4-status { flex: 0 0 auto; min-height: 26px; padding: 8px 20px 0; font-size: 9px; line-height: 1.4; color: #7c8476; text-align: center; }
#re4est-assistant .r4-footer { display: flex; flex: 0 0 auto; justify-content: center; padding: 8px 16px 12px; }
#re4est-assistant .r4-powered { display: inline-block; padding: 3px; font-size: 9px; letter-spacing: .15px; color: #778174; }
#re4est-assistant .r4-powered:hover { text-decoration: underline; color: var(--r4-forest); }
#re4est-assistant .r4-mini-footer { align-self: flex-end; margin: -9px 9px 0; padding: 1px 7px; border-radius: 5px; background: #fffdf8e8; line-height: 1; }
#re4est-assistant .r4-mini-footer .r4-powered { font-size: 8px; }
#re4est-assistant .r4-voice-pane { display: flex; flex: 1 1 0; min-height: 0; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto; padding: 20px; text-align: center; }
#re4est-assistant .r4-voice-mark { display: grid; place-items: center; width: 174px; min-height: 90px; margin: 0 0 20px; position: relative; border-radius: 21px 21px 5px 21px; background: #fffdf9; border: 1px solid #e0e5d5; box-shadow: 0 5px 18px #38553609; }
#re4est-assistant .r4-voice-mark::after { content: ""; position: absolute; inset: -8px; border: 1px solid #dce4cf; border-radius: 28px 28px 11px 28px; opacity: .7; }
#re4est-assistant .r4-voice-logo { width: 140px; max-height: 66px; transform: scale(var(--r4-logo-scale)); transition: transform .13s ease-out; }
#re4est-assistant .r4-voice-title { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; line-height: 1.18; letter-spacing: -.5px; white-space: pre-line; }
#re4est-assistant .r4-voice-copy { max-width: 270px; margin-top: 13px; font-size: 12px; line-height: 1.65; color: var(--r4-muted); }
#re4est-assistant .r4-voice-status { margin: 18px 0 12px; color: #748067; font-size: 11px; }
#re4est-assistant .r4-voice-buttons { display: flex; align-items: center; justify-content: center; gap: 10px; }
#re4est-assistant .r4-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 0; border-radius: 10px; background: var(--r4-forest); color: #fffdf7; font-size: 12px; font-weight: 600; }
#re4est-assistant .r4-primary:hover { background: #295943; }
#re4est-assistant .r4-primary svg { width: 17px; height: 17px; }
#re4est-assistant .r4-end { background: #7e4238; }
#re4est-assistant .r4-end:hover { background: #65352d; }
#re4est-assistant .r4-voice-mute { width: 42px; height: 42px; border: 1px solid #d8dfce; background: #fffdf7; }
#re4est-assistant .r4-voice-note { max-width: 245px; margin-top: 13px; font-size: 9px; line-height: 1.5; color: #86907f; }
#re4est-assistant .r4-enable-sound { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; padding: 9px 13px; border: 1px solid #c6aa77; border-radius: 9px; background: #f4e9d1; color: #614d2e; font-size: 12px; font-weight: 600; }
#re4est-assistant .r4-enable-sound svg { width: 17px; height: 17px; }
#re4est-assistant .r4-enable-sound:hover { background: #ebdcbd; }
#re4est-assistant[data-playback-blocked="true"] .r4-launcher { flex-wrap: wrap; width: 330px; }
#re4est-assistant .r4-mini-enable-sound { flex-basis: 100%; margin: 4px 2px 1px; padding: 7px 12px; }
#re4est-assistant .r4-navigation { flex: 0 0 auto; margin: 11px 16px 0; }
#re4est-assistant .r4-page-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d9dfcb; border-radius: 10px; background: #edf1e4; }
#re4est-assistant .r4-page-card > svg { color: #69824b; width: 18px; height: 18px; }
#re4est-assistant .r4-page-card > svg:last-child { margin-left: auto; color: var(--r4-brass); }
#re4est-assistant .r4-page-card-words { display: grid; gap: 2px; }
#re4est-assistant .r4-page-card small { font-size: 8px; letter-spacing: 1px; color: #85906e; }
#re4est-assistant .r4-page-card strong { font-size: 12px; font-weight: 550; }
#re4est-assistant .r4-page-card[aria-disabled="true"] { opacity: .55; cursor: wait; }
#re4est-assistant .r4-launcher { display: flex; align-items: center; max-width: calc(100vw - 24px); min-height: 62px; padding: 5px 5px 5px 6px; border: 1px solid #dadfcf; border-radius: 17px 17px 5px 17px; background: var(--r4-paper); box-shadow: 0 8px 28px #173f3220, 0 1px 4px #173f3210; }
#re4est-assistant .r4-launch { display: flex; align-items: center; gap: 11px; min-height: 50px; min-width: 0; padding: 3px 10px 3px 3px; border: 0; background: transparent; color: var(--r4-forest); text-align: left; border-radius: 11px; }
#re4est-assistant .r4-launch:hover { background: #f1f3e9; }
#re4est-assistant .r4-launch-logo-wrap { display: grid; flex: 0 0 auto; place-items: center; width: 69px; min-height: 43px; padding: 6px 1px; border-right: 1px solid var(--r4-line); padding-right: 11px; }
#re4est-assistant .r4-launch-logo { width: 61px; max-height: 39px; transform: scale(var(--r4-logo-scale)); transition: transform .13s ease-out; }
#re4est-assistant .r4-launch-words { display: flex; flex-direction: column; gap: 3px; }
#re4est-assistant .r4-launch-title { font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.1; white-space: nowrap; }
#re4est-assistant .r4-launch-hint { font-size: 9px; color: #78846b; white-space: nowrap; }
#re4est-assistant .r4-move-launcher { display: grid; align-self: stretch; place-items: center; width: 24px; min-height: 44px; padding: 2px; border: 0; border-left: 1px solid #e8ebdf; border-radius: 0 11px 3px 0; background: transparent; color: #95a08c; }
#re4est-assistant .r4-move-launcher:hover { background: #edf1e3; color: var(--r4-forest); }
#re4est-assistant .r4-move-launcher svg { width: 13px; height: 13px; }
#re4est-assistant .r4-mini-controls { display: flex; gap: 5px; padding-right: 6px; }
#re4est-assistant .r4-mini-button { display: grid; place-items: center; width: 35px; height: 39px; padding: 8px; border: 1px solid #dfe5d5; border-radius: 10px; background: #f0f4e7; color: var(--r4-forest); }
#re4est-assistant .r4-mini-button svg { width: 17px; height: 17px; }
#re4est-assistant .r4-mini-end { border-color: #8b5247; background: #8b5247; color: #fffaf3; }
#re4est-assistant .r4-mini-button:hover { filter: brightness(.94); }
#re4est-assistant[data-call-active="true"] .r4-launch-logo-wrap { width: 56px; padding-right: 8px; }
#re4est-assistant[data-call-active="true"] .r4-launch-logo { width: 47px; }
#re4est-assistant[data-call-active="true"] .r4-launch { gap: 8px; padding-right: 9px; }
#re4est-assistant[data-call-active="true"] .r4-launch-title { font-size: 14px; }
#re4est-assistant[data-call-active="true"][data-open="false"] .r4-launch-words { display: none; }
#re4est-assistant[data-call-active="true"][data-open="false"][data-playback-blocked="true"] .r4-launcher { width: 188px; }
#re4est-assistant[data-call-active="true"] .r4-voice-mark::after { animation: r4-leaf-breathe 2.8s ease-in-out infinite; }
#re4est-assistant[data-call-active="true"] .r4-launch-logo-wrap { animation: r4-logo-breathe 2.8s ease-in-out infinite; }
#re4est-assistant[data-muted="true"] .r4-mini-button[aria-pressed="true"], #re4est-assistant[data-muted="true"] .r4-voice-mute { background: #f2e8d9; color: #855f33; }
#re4est-assistant[data-side="left"] { align-items: flex-start; }
#re4est-assistant[data-side="left"] .r4-mini-footer { align-self: flex-start; }
#re4est-assistant[data-flow="true"] { position: relative; margin: 20px 20px 20px auto; clear: both; }
#re4est-assistant .r4-logo-fallback::before { content: "Re4est"; font-family: Georgia, serif; color: var(--r4-forest); font-size: 21px; }
#re4est-assistant[data-compact="true"] .r4-header { padding: 8px 12px; }
#re4est-assistant[data-compact="true"] .r4-brand-logo { width: 65px; max-height: 32px; }
#re4est-assistant[data-compact="true"] .r4-tabs { margin-top: 6px; }
#re4est-assistant[data-compact="true"] .r4-tab { padding: 6px; }
#re4est-assistant[data-compact="true"] .r4-status, #re4est-assistant[data-compact="true"] .r4-brand-words { display: none; }
#re4est-assistant[data-compact="true"] .r4-footer { padding: 2px 12px 4px; }
#re4est-assistant[data-compact="true"] .r4-conversation { padding-top: 8px; padding-bottom: 8px; }
@keyframes r4-panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes r4-leaf-breathe { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: .8; transform: scale(1.025); } }
@keyframes r4-logo-breathe { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
@media (max-width: 520px) {
  #re4est-assistant { max-width: calc(100vw - 24px); }
  #re4est-assistant .r4-panel { width: min(384px, calc(100vw - 24px)); border-radius: 19px; }
  #re4est-assistant .r4-header { padding: 14px 12px 13px 16px; }
  #re4est-assistant .r4-brand-logo { width: 77px; }
  #re4est-assistant .r4-brand-words { gap: 3px; padding-left: 9px; }
  #re4est-assistant .r4-brand { gap: 9px; }
  #re4est-assistant .r4-ai-label { font-size: 10px; }
  #re4est-assistant .r4-input { font-size: 16px; }
  #re4est-assistant .r4-launcher { margin-bottom: env(safe-area-inset-bottom, 0); }
  #re4est-assistant .r4-voice-mark { width: 150px; min-height: 77px; margin-bottom: 18px; }
  #re4est-assistant .r4-voice-logo { width: 122px; }
}
@media (max-width: 360px) {
  #re4est-assistant .r4-brand-words .r4-eyebrow { display: none; }
  #re4est-assistant[data-call-active="true"] .r4-launch-hint { display: none; }
  #re4est-assistant[data-call-active="true"] .r4-launch-title { max-width: 92px; white-space: normal; }
  #re4est-assistant .r4-launch { gap: 7px; }
}
@media (max-height: 660px) {
  #re4est-assistant .r4-voice-pane { justify-content: flex-start; }
  #re4est-assistant .r4-voice-mark { min-height: 65px; margin-bottom: 14px; }
  #re4est-assistant .r4-voice-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  #re4est-assistant *, #re4est-assistant *::before, #re4est-assistant *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
