.rdw {
    --rdw-bg: #fff;
    --rdw-text: #222630;
    --rdw-muted: #575d6a;
    --rdw-line: #d9dce4;
    --rdw-accent: #bd1623;
    --rdw-input: #f8f8fa;
    box-sizing: border-box;
    max-width: 100%;
    margin: 2rem auto;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--rdw-line);
    border-radius: 18px;
    background: var(--rdw-bg);
    color: var(--rdw-text);
    scroll-margin-top: 8rem;
}
:where([data-theme="dark"], [data-rx-theme="dark"], [data-redico-theme="dark"], .dark-mode) .rdw {
    --rdw-bg: #1c1f26;
    --rdw-text: #f1f3f7;
    --rdw-muted: #bec4d2;
    --rdw-line: #525a6b;
    --rdw-accent: #ff7882;
    --rdw-input: #252a35;
}
.rdw [hidden] { display: none !important; }
.rdw h2, .rdw h3 { margin: 0 0 .5rem; color: var(--rdw-text); }
.rdw .rdw-intro { margin: 0 0 1.25rem; color: var(--rdw-muted); }
.rdw form {
    display: grid;
    gap: .8rem;
    align-items: end;
    margin: 0;
}
.rdw #rdw-search { grid-template-columns: minmax(12rem, 1.2fr) minmax(10rem, 1fr) max-content; }
.rdw form label { display: grid; gap: .4rem; margin: 0; font-size: .94rem; font-weight: 600; }
.rdw input:not([type="checkbox"]), .rdw select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: .65rem .85rem;
    border: 1px solid var(--rdw-line);
    border-radius: 10px;
    background: var(--rdw-input);
    color: var(--rdw-text);
    font: inherit;
}
.rdw button {
    min-height: 46px;
    padding: .55rem 1rem;
    width: max-content;
    max-width: 100%;
    border: 1px solid #be1524;
    border-radius: 10px;
    background: #be1524;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.rdw button:hover:not(:disabled) { background: #a91725; }
.rdw button:disabled, .rdw input:disabled { opacity: .6; cursor: default; }
.rdw :focus-visible, .rdw-jump:focus-visible { outline: 2px solid #e63043; outline-offset: 3px; }
.rdw .rdw-status { margin: 1rem 0 0; color: var(--rdw-muted); }
.rdw .rdw-error { color: var(--rdw-accent); }
.rdw .rdw-list { display: grid; gap: .45rem; padding: 0; margin: 1rem 0; list-style: none; }
.rdw .rdw-list li { margin: 0; padding: .7rem .85rem; border: 1px solid var(--rdw-line); border-radius: 10px; overflow-wrap: anywhere; }
.rdw .rdw-list a { font-weight: 650; }
.rdw a { color: var(--rdw-accent); text-underline-offset: .18em; }
.rdw .rdw-list p { margin: .18rem 0 0; color: var(--rdw-muted); font-size: .92rem; }
.rdw #rdw-subscribe { margin-top: 1.25rem; max-width: 36rem; }
.rdw form .rdw-consent { display: flex; align-items: start; gap: .55rem; font-weight: 400; }
.rdw .rdw-consent input { width: 1.1rem; height: 1.1rem; margin: .16rem 0 0; flex: 0 0 auto; accent-color: #be1524; }
.rdw-jump { display: inline-block; margin: .4rem 0; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 740px) {
    .rdw #rdw-search { grid-template-columns: 1fr; }
    .rdw form button { width: 100%; }
}
