.rrq-wrap {
    --rrq-red: #B51217;
    --rrq-black: #000000;
    --rrq-cream: #F7F3EC;
    --rrq-border: #e7e2da;
    --rrq-muted: #6b6b6b;
    font-family: inherit;
    color: var(--rrq-black);
}

.rrq-run-card {
    width: 100%;
}

.rrq-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--rrq-red);
    margin-bottom: 6px;
}

.rrq-date {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}

.rrq-run-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.rrq-run-meta > div,
.rrq-form-card,
.rrq-attendees-card {
    border: 1px solid var(--rrq-border);
    border-radius: 14px;
    background: #fff;
    padding: 18px;
}

.rrq-run-meta span {
    display: inline-block;
    margin-right: 6px;
}

.rrq-note,
.rrq-cancelled {
    background: var(--rrq-cream);
    border-left: 4px solid var(--rrq-red);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0;
}

.rrq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 18px;
    margin-top: 20px;
}

.rrq-form-card h3 {
    margin-top: 0;
}

.rrq-label {
    display: block;
    font-weight: 700;
    margin: 14px 0 6px;
}

.rrq-label span {
    color: var(--rrq-red);
}

.rrq-label small {
    font-weight: 400;
    color: var(--rrq-muted);
}

.rrq-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
}

.rrq-select {
    appearance: auto;
}

.rrq-input:focus {
    outline: 2px solid rgba(181, 18, 23, .15);
    border-color: var(--rrq-red);
}

.rrq-help {
    font-size: 13px;
    color: var(--rrq-muted);
    margin-top: 5px;
}

.rrq-add-companion {
    border: 0;
    background: transparent;
    color: var(--rrq-red);
    font-weight: 700;
    padding: 14px 0 4px;
    cursor: pointer;
}

.rrq-companion-input {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rrq-remove-companion {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.rrq-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    color: #4e4e4e;
    margin: 18px 0;
}

.rrq-consent input {
    margin-top: 3px;
}

.rrq-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: var(--rrq-red);
    color: #fff;
    min-height: 50px;
    font: inherit;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
}

.rrq-submit:hover {
    filter: brightness(.92);
}

.rrq-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.rrq-count strong {
    font-size: 38px;
    color: var(--rrq-red);
}

.rrq-count span {
    font-weight: 700;
}

.rrq-public-groups {
    display: grid;
    gap: 12px;
}

.rrq-public-group {
    border-top: 1px solid #f0ede8;
    padding-top: 12px;
}

.rrq-public-group:first-child {
    border-top: 0;
    padding-top: 0;
}

.rrq-public-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.rrq-public-group-title strong {
    font-size: 14px;
}

.rrq-public-group-title span {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rrq-cream);
    color: var(--rrq-red);
    font-weight: 800;
    font-size: 13px;
}

.rrq-attendee-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 20px;
}

.rrq-attendee-list li {
    break-inside: avoid;
    padding: 4px 0;
    border-bottom: 1px solid #f5f2ed;
}

.rrq-group-empty {
    margin: 0;
    color: var(--rrq-muted);
    font-size: 13px;
}

.rrq-empty {
    color: var(--rrq-muted);
}

.rrq-message {
    border-radius: 10px;
    padding: 12px 14px;
    margin: 14px 0;
}

.rrq-message-success {
    background: #edf8ef;
    border: 1px solid #b9dfc1;
}

.rrq-message-error {
    background: #fff0f0;
    border: 1px solid #e4b6b6;
}

.rrq-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    left: -9999px !important;
}

@media (max-width: 767px) {
    .rrq-run-meta,
    .rrq-grid {
        grid-template-columns: 1fr;
    }

    .rrq-attendee-list {
        columns: 1;
    }
}
