#rra-root {
--rra-red: #C70039;
--rra-red-dark: #9E002D;
--rra-teal: #007A89;
--rra-cream: #FBF5EC;
--rra-brown: #422520;
position: fixed;
right: 20px;
bottom: 20px;
z-index: 99990;
font-family: inherit;
font-size: 16px;
line-height: 1.5;
color: var(--rra-brown);
}
#rra-root *,
#rra-root *::before,
#rra-root *::after {
box-sizing: border-box;
}
.rra-sr {
position: absolute !important;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
} #rra-launcher {
display: flex;
align-items: center;
gap: 10px;
margin-left: auto;
padding: 12px 20px;
border: 2px solid #FFFFFF;
border-radius: 500px;
background: var(--rra-red);
color: #FFFFFF;
font: inherit;
font-weight: 600;
cursor: pointer;
box-shadow: 0 6px 20px rgba(66, 37, 32, 0.28);
}
#rra-launcher:hover {
background: var(--rra-red-dark);
}
.rra-launcher-icon {
width: 20px;
height: 18px;
border-radius: 6px 6px 6px 0;
background: #FFFFFF;
flex: none;
}
#rra-root button:focus-visible,
#rra-root textarea:focus-visible,
#rra-root a:focus-visible,
#rra-root .rra-log:focus-visible {
outline: 3px solid var(--rra-brown);
outline-offset: 2px;
} #rra-panel {
display: flex;
flex-direction: column;
width: 380px;
max-width: calc(100vw - 24px);
height: 540px;
max-height: calc(100vh - 110px);
margin-bottom: 12px;
border-radius: 16px;
background: #FFFFFF;
box-shadow: 0 12px 40px rgba(66, 37, 32, 0.3);
overflow: hidden;
}
#rra-panel[hidden] {
display: none;
}
.rra-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px 14px 20px;
background: var(--rra-teal);
}
#rra-root .rra-header h2 {
margin: 0;
padding: 0;
font-size: 18px;
font-weight: 700;
line-height: 1.3;
color: #FFFFFF;
}
.rra-close {
width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
background: transparent;
color: #FFFFFF;
font-size: 28px;
line-height: 1;
cursor: pointer;
}
.rra-close:hover {
background: rgba(255, 255, 255, 0.18);
}
#rra-root .rra-close:focus-visible {
outline-color: #FFFFFF;
}
.rra-log {
flex: 1 1 auto;
padding: 16px;
overflow-y: auto;
background: var(--rra-cream);
}
.rra-msg {
display: flex;
margin: 0 0 12px;
}
.rra-user {
justify-content: flex-end;
}
.rra-bubble {
max-width: 86%;
padding: 10px 14px;
border-radius: 14px;
background: #FFFFFF;
color: var(--rra-brown);
overflow-wrap: anywhere;
}
.rra-user .rra-bubble {
background: var(--rra-teal);
color: #FFFFFF;
}
#rra-root .rra-bubble p {
margin: 0 0 8px;
padding: 0;
font-size: 16px;
line-height: 1.5;
color: inherit;
}
#rra-root .rra-bubble p:last-child {
margin-bottom: 0;
}
#rra-root .rra-bubble a {
color: var(--rra-red);
font-weight: 600;
text-decoration: underline;
}
.rra-typing {
color: var(--rra-brown);
opacity: 0.85;
}
.rra-form {
display: flex;
align-items: flex-end;
gap: 8px;
padding: 12px;
background: #FFFFFF;
border-top: 1px solid rgba(66, 37, 32, 0.15);
}
#rra-root #rra-input {
flex: 1 1 auto;
min-height: 44px;
max-height: 120px;
padding: 10px 12px;
border: 1px solid #6E5550;
border-radius: 12px;
background: #FFFFFF;
color: var(--rra-brown);
font: inherit;
font-size: 16px;
line-height: 1.4;
resize: none;
}
#rra-root #rra-input::placeholder {
color: #6E5550;
opacity: 1;
}
.rra-trap {
position: absolute !important;
left: -9999px;
width: 1px;
height: 1px;
opacity: 0;
}
.rra-send {
min-height: 44px;
padding: 8px 18px;
border: 0;
border-radius: 500px;
background: var(--rra-red);
color: #FFFFFF;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.rra-send:hover {
background: var(--rra-red-dark);
}
.rra-send:disabled {
background: #6E5550;
cursor: default;
}
#rra-root .rra-note {
margin: 0;
padding: 0 14px 10px;
background: #FFFFFF;
font-size: 12px;
line-height: 1.4;
color: #5A3F3A;
}
@media (max-width: 480px) {
#rra-root {
right: 12px;
bottom: 12px;
}
#rra-panel {
width: calc(100vw - 24px);
height: calc(100vh - 100px);
}
.rra-open #rra-launcher {
display: none;
}
}
@media (prefers-reduced-motion: no-preference) {
#rra-launcher,
.rra-send,
.rra-close {
transition: background-color 0.15s ease;
}
}