/**
 * vScrawl Chat Plugin CSS
 * Themed to match the vScrawl design system:
 *   Primary  : hsl(43, 94%, 53%)  — Golden Yellow
 *   Base     : Slate / Blue-gray  (hue ~210)
 *   Font     : Inter
 *   Radius   : 0.5rem base
 *   Supports : Light mode (default) + Dark mode (.vscrawl-dark or prefers-color-scheme)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
.vscrawl-chat-container {
    /* Light mode tokens */
    --vs-primary:            hsl(43, 94%, 53%);
    --vs-primary-hover:      hsl(43, 94%, 46%);
    --vs-primary-fg:         #ffffff;
    --vs-primary-glow:       hsla(43, 94%, 53%, 0.30);

    --vs-bg-base:            hsl(210, 20%, 97%);
    --vs-bg-surface:         hsl(210, 20%, 98%);
    --vs-bg-elevated:        hsl(210, 22%, 100%);
    --vs-bg-input:           hsl(210, 18%, 94%);
    --vs-bg-hover:           hsl(210, 20%, 90%);

    --vs-border:             hsl(210, 18%, 88%);
    --vs-border-focus:       hsla(43, 94%, 53%, 0.55);

    --vs-text-primary:       hsl(210, 12%, 16%);
    --vs-text-secondary:     hsl(210, 10%, 40%);
    --vs-text-muted:         hsl(210, 14%, 60%);

    --vs-user-bubble:        hsl(43, 94%, 53%);
    --vs-user-bubble-text:   hsl(210, 12%, 16%);
    --vs-agent-bubble:       hsl(210, 22%, 100%);
    --vs-agent-bubble-text:  hsl(210, 12%, 16%);

    --vs-success:            hsl(142, 71%, 45%);
    --vs-warning:            hsl(43, 94%, 53%);
    --vs-error:              hsl(0, 72%, 51%);

    --vs-radius-sm:          4px;
    --vs-radius-md:          8px;
    --vs-radius-lg:          12px;
    --vs-radius-xl:          16px;
    --vs-radius-full:        9999px;

    --vs-shadow-sm:          0 1px 4px rgba(0,0,0,0.08);
    --vs-shadow-md:          0 4px 16px rgba(0,0,0,0.10);
    --vs-shadow-lg:          0 12px 40px rgba(0,0,0,0.14);

    --vs-transition:         0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Dark Mode Tokens ──────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    .vscrawl-chat-container:not(.vscrawl-light) {
        --vs-bg-base:            hsl(210, 12%, 10%);
        --vs-bg-surface:         hsl(210, 12%, 12%);
        --vs-bg-elevated:        hsl(210, 12%, 14%);
        --vs-bg-input:           hsl(210, 12%, 16%);
        --vs-bg-hover:           hsl(210, 12%, 18%);

        --vs-border:             hsla(210, 18%, 100%, 0.08);
        --vs-border-focus:       hsla(43, 94%, 53%, 0.50);

        --vs-text-primary:       hsl(210, 16%, 95%);
        --vs-text-secondary:     hsl(210, 10%, 65%);
        --vs-text-muted:         hsl(210, 10%, 42%);

        --vs-agent-bubble:       hsl(210, 12%, 14%);
        --vs-agent-bubble-text:  hsl(210, 16%, 95%);

        --vs-shadow-sm:          0 1px 4px rgba(0,0,0,0.35);
        --vs-shadow-md:          0 4px 16px rgba(0,0,0,0.45);
        --vs-shadow-lg:          0 12px 40px rgba(0,0,0,0.60);
    }
}

/* Explicit dark class overrides (wins over media query) */
.vscrawl-chat-container.vscrawl-dark {
    --vs-bg-base:            hsl(210, 12%, 10%);
    --vs-bg-surface:         hsl(210, 12%, 12%);
    --vs-bg-elevated:        hsl(210, 12%, 14%);
    --vs-bg-input:           hsl(210, 12%, 16%);
    --vs-bg-hover:           hsl(210, 12%, 18%);
    --vs-border:             hsla(210, 18%, 100%, 0.08);
    --vs-border-focus:       hsla(43, 94%, 53%, 0.50);
    --vs-text-primary:       hsl(210, 16%, 95%);
    --vs-text-secondary:     hsl(210, 10%, 65%);
    --vs-text-muted:         hsl(210, 10%, 42%);
    --vs-agent-bubble:       hsl(210, 12%, 14%);
    --vs-agent-bubble-text:  hsl(210, 16%, 95%);
    --vs-shadow-sm:          0 1px 4px rgba(0,0,0,0.35);
    --vs-shadow-md:          0 4px 16px rgba(0,0,0,0.45);
    --vs-shadow-lg:          0 12px 40px rgba(0,0,0,0.60);
}

/* ─── Container ─────────────────────────────────────────────────────────── */
.vscrawl-chat-container {
    position: fixed;
    z-index: 999999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    width: 400px;
}

.vscrawl-bottom-right { bottom: 24px; right: 24px; }
.vscrawl-bottom-left  { bottom: 24px; left:  24px; }
.vscrawl-top-right    { top:    24px; right: 24px; }
.vscrawl-top-left     { top:    24px; left:  24px; }

/* Launcher bubble — white bg in light mode so golden logo pops */
.vscrawl-chat-bubble {
    width: 56px;
    height: 56px;
    background: hsl(0, 0%, 100%);
    border: 2px solid var(--vs-primary);
    border-radius: var(--vs-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--vs-primary-glow), var(--vs-shadow-md);
    transition: transform var(--vs-transition), box-shadow var(--vs-transition),
                opacity var(--vs-transition), visibility var(--vs-transition);
    margin-left: auto;
    position: relative;
}

.vscrawl-dark .vscrawl-chat-bubble {
    background: hsl(210, 12%, 14%);
}

.vscrawl-chat-bubble:hover {
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 6px 24px var(--vs-primary-glow), var(--vs-shadow-lg);
}

.vscrawl-chat-bubble:active { transform: scale(0.95); }

.vscrawl-chat-bubble.vscrawl-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.75) translateY(8px);
    height: 0; width: 0; margin: 0; overflow: hidden;
}

.vscrawl-chat-bubble svg { width: 26px; height: 26px; fill: var(--vs-primary-fg); }

/* Logo image inside bubble */
.vscrawl-bubble-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* Pulse ring */
.vscrawl-chat-bubble::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--vs-radius-full);
    border: 2px solid var(--vs-primary);
    opacity: 0;
    animation: bubblePulse 3s ease-out infinite;
}

@keyframes bubblePulse {
    0%   { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.55); }
}

/* Badge */
.vscrawl-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--vs-error);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: var(--vs-radius-full);
    min-width: 18px;
    text-align: center;
    line-height: 14px;
    border: 2px solid var(--vs-bg-base);
}

/* ─── Chat Window ───────────────────────────────────────────────────────── */
.vscrawl-chat-window {
    position: absolute;
    bottom: 68px;
    right: 0; left: 0;
    width: auto;
    height: calc(100vh - 112px);
    max-height: 680px;
    min-height: 380px;
    background: var(--vs-bg-surface);
    border-radius: var(--vs-radius-xl);
    border: 1px solid var(--vs-border);
    border-top: 3px solid var(--vs-primary);
    box-shadow: var(--vs-shadow-lg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    pointer-events: none;
    transition: opacity var(--vs-transition), transform var(--vs-transition);
    overflow: hidden;
}

.vscrawl-chat-container:has(.vscrawl-chat-bubble.vscrawl-hidden) .vscrawl-chat-window,
.vscrawl-chat-container.vscrawl-is-open .vscrawl-chat-window {
    bottom: 0;
    height: calc(100vh - 48px);
    max-height: 720px;
}

.vscrawl-chat-window.vscrawl-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.vscrawl-bottom-left .vscrawl-chat-bubble,
.vscrawl-top-left    .vscrawl-chat-bubble { margin-left: 0; margin-right: auto; }

.vscrawl-top-right .vscrawl-chat-window,
.vscrawl-top-left  .vscrawl-chat-window  { bottom: auto; top: 68px; }

/* Logo image in welcome screen */
.vscrawl-welcome-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.vscrawl-header {
    padding: 14px 16px;
    background: var(--vs-bg-elevated);
    border-bottom: 2px solid var(--vs-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.vscrawl-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vscrawl-header-avatar {
    width: 36px; height: 36px;
    background: transparent;
    border-radius: var(--vs-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vscrawl-header-avatar svg { width: 18px; height: 18px; fill: var(--vs-primary-fg); }

/* Logo image inside header avatar */
.vscrawl-header-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vscrawl-header-info { display: flex; flex-direction: column; gap: 2px; }

.vscrawl-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--vs-text-primary);
    letter-spacing: -0.01em;
}

.vscrawl-subtitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--vs-text-secondary);
}

.vscrawl-status-dot {
    width: 7px; height: 7px;
    background: var(--vs-success);
    border-radius: var(--vs-radius-full);
    box-shadow: 0 0 5px var(--vs-success);
    transition: background var(--vs-transition), box-shadow var(--vs-transition);
    flex-shrink: 0;
}

.vscrawl-status-dot.vscrawl-thinking {
    background: var(--vs-warning);
    box-shadow: 0 0 5px var(--vs-warning);
    animation: dotPulse 1.2s ease-in-out infinite;
}

.vscrawl-status-dot.vscrawl-error {
    background: var(--vs-error);
    box-shadow: 0 0 5px var(--vs-error);
}

.vscrawl-status-dot.vscrawl-ready {
    background: var(--vs-success);
    box-shadow: 0 0 5px var(--vs-success);
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.vscrawl-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.vscrawl-icon-btn {
    width: 30px; height: 30px;
    background: transparent;
    border: none;
    border-radius: var(--vs-radius-sm);
    color: var(--vs-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--vs-transition), color var(--vs-transition);
    padding: 0;
}

.vscrawl-icon-btn:hover {
    background: var(--vs-bg-hover);
    color: var(--vs-text-primary);
}

.vscrawl-icon-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ─── Messages ──────────────────────────────────────────────────────────── */
.vscrawl-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--vs-bg-base);
    scroll-behavior: smooth;
}

.vscrawl-messages::-webkit-scrollbar { width: 4px; }
.vscrawl-messages::-webkit-scrollbar-track { background: transparent; }
.vscrawl-messages::-webkit-scrollbar-thumb {
    background: var(--vs-border);
    border-radius: var(--vs-radius-full);
}
.vscrawl-messages::-webkit-scrollbar-thumb:hover { background: var(--vs-text-muted); }

/* ─── Welcome ───────────────────────────────────────────────────────────── */
.vscrawl-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 8px 18px;
    gap: 10px;
}

.vscrawl-welcome-avatar {
    width: 64px; height: 64px;
    background: transparent;
    border-radius: var(--vs-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    font-size: 22px;
}

.vscrawl-welcome-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--vs-text-primary);
    letter-spacing: -0.01em;
}

.vscrawl-welcome-message {
    font-size: 13px;
    color: var(--vs-text-secondary);
    line-height: 1.6;
    max-width: 270px;
}

.vscrawl-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 6px;
}

.vscrawl-suggestion {
    background: var(--vs-bg-elevated);
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius-full);
    padding: 6px 13px;
    font-size: 12px;
    color: var(--vs-text-secondary);
    cursor: pointer;
    transition: all var(--vs-transition);
    font-family: inherit;
    font-weight: 500;
    line-height: 1;
}

.vscrawl-suggestion:hover {
    background: var(--vs-primary);
    border-color: var(--vs-primary);
    color: var(--vs-primary-fg);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--vs-primary-glow);
}

/* ─── Message Rows ──────────────────────────────────────────────────────── */
.vscrawl-message {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    animation: msgIn 0.22s ease both;
    margin-bottom: 5px;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vscrawl-message.vscrawl-user { flex-direction: row-reverse; }

/* Date separator */
.vscrawl-date-sep {
    text-align: center;
    font-size: 11px;
    color: var(--vs-text-muted);
    margin: 10px 0 6px;
    position: relative;
}

.vscrawl-date-sep::before,
.vscrawl-date-sep::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--vs-border);
}
.vscrawl-date-sep::before { left: 0; }
.vscrawl-date-sep::after  { right: 0; }

/* Avatar */
.vscrawl-avatar {
    width: 28px; height: 28px;
    border-radius: var(--vs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.vscrawl-message.vscrawl-user .vscrawl-avatar {
    background: var(--vs-primary);
    color: var(--vs-primary-fg);
}

.vscrawl-message.vscrawl-agent .vscrawl-avatar {
    background: var(--vs-bg-elevated);
    color: var(--vs-text-secondary);
    border: 1px solid var(--vs-border);
}

/* Content wrapper */
.vscrawl-message-content {
    display: flex;
    flex-direction: column;
    max-width: 78%;
    min-width: 0;
}

.vscrawl-message.vscrawl-user  .vscrawl-message-content { align-items: flex-end; }
.vscrawl-message.vscrawl-agent .vscrawl-message-content { align-items: flex-start; }

/* Bubble */
.vscrawl-bubble {
    padding: 10px 14px;
    border-radius: var(--vs-radius-md);
    font-size: 13.5px;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

/* Markdown in agent bubbles */
.vscrawl-bubble p              { margin: 0 0 8px; }
.vscrawl-bubble p:last-child   { margin-bottom: 0; }
.vscrawl-bubble strong, .vscrawl-bubble b { font-weight: 700; }
.vscrawl-bubble em, .vscrawl-bubble i     { font-style: italic; }

.vscrawl-bubble ul, .vscrawl-bubble ol {
    margin: 5px 0 7px;
    padding-left: 18px;
}
.vscrawl-bubble li { margin-bottom: 3px; line-height: 1.5; }

.vscrawl-bubble h1, .vscrawl-bubble h2, .vscrawl-bubble h3 {
    font-weight: 700;
    margin: 10px 0 4px;
    line-height: 1.3;
    color: var(--vs-text-primary);
}
.vscrawl-bubble h1 { font-size: 15px; }
.vscrawl-bubble h2 { font-size: 14px; }
.vscrawl-bubble h3 { font-size: 13.5px; }

.vscrawl-bubble code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Menlo', monospace;
    font-size: 12px;
    background: var(--vs-bg-input);
    border: 1px solid var(--vs-border);
    border-radius: 4px;
    padding: 1px 5px;
}

.vscrawl-bubble pre {
    background: var(--vs-bg-input);
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius-md);
    padding: 10px 12px;
    margin: 7px 0;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.5;
}
.vscrawl-bubble pre code { background: none; border: none; padding: 0; font-size: inherit; }

.vscrawl-bubble blockquote {
    border-left: 3px solid var(--vs-primary);
    margin: 5px 0;
    padding: 4px 10px;
    color: var(--vs-text-secondary);
    font-style: italic;
}

.vscrawl-bubble hr { border: none; border-top: 1px solid var(--vs-border); margin: 7px 0; }

/* User bubble — golden yellow */
.vscrawl-message.vscrawl-user .vscrawl-bubble {
    background: var(--vs-user-bubble);
    color: var(--vs-user-bubble-text);
    border-bottom-right-radius: 3px;
    box-shadow: 0 2px 8px var(--vs-primary-glow);
    font-weight: 500;
    white-space: pre-wrap;
}

/* Agent bubble — white/card surface */
.vscrawl-message.vscrawl-agent .vscrawl-bubble {
    background: var(--vs-agent-bubble);
    color: var(--vs-agent-bubble-text);
    border: 1px solid var(--vs-border);
    border-bottom-left-radius: 3px;
    box-shadow: var(--vs-shadow-sm);
}

.vscrawl-bubble.vscrawl-error {
    background: hsla(0, 72%, 51%, 0.08) !important;
    color: hsl(0, 72%, 45%) !important;
    border: 1px solid hsla(0, 72%, 51%, 0.2) !important;
}

.vscrawl-dark .vscrawl-bubble.vscrawl-error {
    color: hsl(0, 80%, 70%) !important;
}

/* Timestamp */
.vscrawl-timestamp {
    font-size: 10px;
    color: var(--vs-text-muted);
    margin-top: 3px;
    padding: 0 2px;
}

/* ─── Typing Indicator ──────────────────────────────────────────────────── */
.vscrawl-typing {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 0 0 5px;
    animation: msgIn 0.22s ease both;
}

.vscrawl-typing-avatar {
    width: 28px; height: 28px;
    background: var(--vs-bg-elevated);
    border-radius: var(--vs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vs-text-secondary);
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--vs-border);
    flex-shrink: 0;
}

.vscrawl-typing-bubble {
    background: var(--vs-agent-bubble);
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius-md);
    border-bottom-left-radius: 3px;
    padding: 12px 14px;
    display: flex;
    gap: 5px;
    align-items: center;
    box-shadow: var(--vs-shadow-sm);
}

.vscrawl-typing-bubble span {
    width: 6px; height: 6px;
    background: var(--vs-text-muted);
    border-radius: var(--vs-radius-full);
    animation: typingDot 1.4s ease-in-out infinite;
}

.vscrawl-typing-bubble span:nth-child(2) { animation-delay: 0.18s; }
.vscrawl-typing-bubble span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0);   opacity: 0.3; }
    30%            { transform: translateY(-5px); opacity: 1; }
}

/* ─── Input Area ────────────────────────────────────────────────────────── */
.vscrawl-input-area {
    padding: 10px 12px 12px;
    background: var(--vs-bg-elevated);
    border-top: 1px solid var(--vs-border);
    flex-shrink: 0;
}

.vscrawl-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: var(--vs-bg-input);
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius-lg);
    padding: 8px 8px 8px 12px;
    transition: border-color var(--vs-transition), box-shadow var(--vs-transition);
}

.vscrawl-input-wrapper:focus-within {
    border-color: var(--vs-border-focus);
    box-shadow: 0 0 0 3px hsla(43, 94%, 53%, 0.12);
}

.vscrawl-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--vs-text-primary);
    font-family: inherit;
    min-height: 22px;
    max-height: 110px;
    padding: 0;
}

.vscrawl-input::placeholder { color: var(--vs-text-muted); }

/* Send button — golden yellow */
.vscrawl-send-btn {
    width: 32px; height: 32px;
    background: var(--vs-primary);
    border: none;
    border-radius: var(--vs-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--vs-transition), transform var(--vs-transition), box-shadow var(--vs-transition);
    flex-shrink: 0;
}

.vscrawl-send-btn:hover:not(:disabled) {
    background: var(--vs-primary-hover);
    transform: scale(1.05);
    box-shadow: 0 2px 8px var(--vs-primary-glow);
}

.vscrawl-send-btn:active:not(:disabled) { transform: scale(0.93); }

.vscrawl-send-btn:disabled {
    background: var(--vs-bg-hover);
    cursor: not-allowed;
}

.vscrawl-send-btn svg { width: 15px; height: 15px; fill: var(--vs-primary-fg); }
.vscrawl-send-btn:disabled svg { fill: var(--vs-text-muted); }

/* ─── Footer / Branding ─────────────────────────────────────────────────── */
.vscrawl-branding {
    text-align: center;
    padding: 6px 12px 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--vs-text-muted);
    background: var(--vs-bg-elevated);
    border-top: 1px solid var(--vs-border);
    letter-spacing: 0.02em;
}

.vscrawl-branding a {
    color: var(--vs-primary);
    text-decoration: none;
    font-weight: 600;
}

.vscrawl-branding a:hover { text-decoration: underline; }

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .vscrawl-chat-container {
        width: calc(100vw - 20px) !important;
        bottom: 10px !important;
        right: 10px !important;
        left: auto !important;
    }

    .vscrawl-chat-window {
        height: 76vh !important;
        border-radius: var(--vs-radius-lg) !important;
    }

    .vscrawl-chat-bubble { width: 50px; height: 50px; }
}

/* ─── Accessibility ──────────────────────────────────────────────────────── */
@media (prefers-contrast: high) {
    .vscrawl-chat-window,
    .vscrawl-bubble,
    .vscrawl-input-wrapper { border-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
