#rvcfaq-root {
    --rvcfaq-ink: #102c39;
    --rvcfaq-accent: #00566c;
    --rvcfaq-surface: #f2f8f6;
    position: fixed;
    z-index: 900;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(74px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    color: var(--rvcfaq-ink);
    font: 15px/1.35 system-ui, sans-serif;
    max-width: calc(100vw - 32px);
}
#rvcfaq-root *, #rvcfaq-root *::before, #rvcfaq-root *::after { box-sizing: border-box; }
#rvcfaq-root [hidden] { display: none !important; }
#rvcfaq-root button, #rvcfaq-root input { font: inherit; }
#rvcfaq-root button, #rvcfaq-root .rvcfaq-actions a {
    border: 1px solid #b4cbd1;
    border-radius: 8px;
    background: #fff;
    color: var(--rvcfaq-accent);
    padding: 7px 10px;
    cursor: pointer;
    text-decoration: none;
    min-height: 36px;
}
#rvcfaq-root :focus-visible { outline: 2px solid #ce571f; outline-offset: 2px; }
#rvcfaq-root .rvcfaq-launcher, #rvcfaq-root form button {
    color: #fff;
    background: var(--rvcfaq-accent);
    border-color: var(--rvcfaq-accent);
}
#rvcfaq-root .rvcfaq-launcher {
    border-radius: 22px;
    min-height: 44px;
    padding-inline: 16px;
    box-shadow: 0 3px 16px #102c3933;
}
#rvcfaq-panel {
    display: flex;
    flex-direction: column;
    width: 365px;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px - env(safe-area-inset-bottom));
    overflow: auto;
    gap: 12px;
    padding: 14px;
    border: 1px solid #cee0da;
    border-radius: 20px;
    background: #fcfefc;
    box-shadow: 0 8px 28px #102c392b;
}
#rvcfaq-panel header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#rvcfaq-panel .rvcfaq-brand { display: flex; align-items: center; gap: 9px; }
#rvcfaq-panel .rvcfaq-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    background: #dff1e9;
    color: #184f43;
    font-size: 11px;
    font-weight: 750;
}
#rvcfaq-panel header button {
    font-size: 22px;
    line-height: 1;
    min-width: 36px;
    border-radius: 50%;
    border-color: transparent;
    background: var(--rvcfaq-surface);
}
#rvcfaq-panel .rvcfaq-transcript {
    max-height: 235px;
    overflow: auto;
    padding: 0 1px;
    overscroll-behavior: contain;
}
#rvcfaq-panel .rvcfaq-transcript p {
    margin: 0 12px 6px 0;
    padding: 9px 11px;
    border-radius: 4px 14px 14px;
    background: var(--rvcfaq-surface);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
#rvcfaq-panel .rvcfaq-transcript p:last-child { margin-bottom: 0; }
#rvcfaq-panel .rvcfaq-transcript .rvcfaq-own {
    margin-left: 12px;
    margin-right: 0;
    border-radius: 14px 4px 14px 14px;
    background: #dceef2;
}
#rvcfaq-panel .rvcfaq-actions { display: flex; flex-wrap: wrap; gap: 5px; font-size: 13px; }
#rvcfaq-panel .rvcfaq-actions a { display: inline-flex; align-items: center; font-weight: 600; }
#rvcfaq-panel form { display: flex; gap: 6px; margin: 0; }
#rvcfaq-panel form input {
    flex: 1 1 0;
    width: 0;
    padding: 7px 8px;
    border: 1px solid #7898a4;
    border-radius: 12px;
    background: #fff;
    color: var(--rvcfaq-ink);
    font-size: 16px;
}
#rvcfaq-panel form button { border-radius: 12px; }
