.sp .rbs-slot-launch-wrap--sidebar { display: none; }
.sp .rbs-slot-launch-wrap--toolbar {
    padding: 12px 14px;
    border-bottom: 1px solid var(--bd, #e5e7eb);
}
.rbs-slot-launch, .sp .rbs-slot-launch {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    padding: 9px 12px;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font: 700 14px/1.25 'DM Sans', system-ui, sans-serif;
    text-decoration: none;
}
.rbs-slot-launch svg { flex: none; }
.rbs-slot-launch:hover, .sp .rbs-slot-launch:hover { background: #262626; border-color: #262626; color: #fff; }
.rbs-slot-launch:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.rbs-slot-launch .rbs-slot-launch__arrow { margin-inline-start: auto; }
@media (min-width: 901px) {
    .sp .rbs-slot-launch-wrap--toolbar:not(.rbs-slot-launch-wrap--only) { display: none; }
    .sp .rbs-slot-launch-wrap--sidebar {
        display: block;
        padding: 17px 20px 0;
    }
    .sp .rbs-slot-launch-wrap--sidebar .rbs-slot-launch { display: flex; }
    .sp .rbs-slot-launch-wrap--only { padding: 14px 24px; }
}

html.rbs-slot-modal-open { overflow: hidden; }
.rbs-slot-panel {
    --rbs-ink: #171717;
    --rbs-muted: #525252;
    --rbs-line: #e5e5e5;
    --rbs-accent: #000;
    --rbs-accent-hover: #262626;
    box-sizing: border-box;
    color: var(--rbs-ink);
    font: 400 16px/1.45 'DM Sans', system-ui, sans-serif;
    background: #fff;
}
.rbs-slot-panel * { box-sizing: border-box; }
dialog.rbs-slot-panel:not([open]) { display: none; }
dialog.rbs-slot-panel[open] {
    position: fixed;
    display: flex;
    flex-direction: column;
    inset: 0 0 0 auto;
    width: min(100%, 500px);
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
    box-shadow: -14px 0 56px #0003;
    animation: rbs-panel-slide 180ms ease-out;
}
dialog.rbs-slot-panel::backdrop { background: #0007; }
@keyframes rbs-panel-slide { from { transform: translateX(32px); opacity: .8; } to { transform: translateX(0); opacity: 1; } }
.rbs-slot-panel--inline {
    max-width: 550px;
    margin: 16px auto;
    border: 1px solid var(--rbs-line);
    border-radius: 14px;
}
.rbs-slot-panel__header {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: max(12px, env(safe-area-inset-top)) 20px 12px;
    border-bottom: 1px solid var(--rbs-line);
}
.rbs-slot-panel__header h2 {
    color: var(--rbs-ink);
    font: 750 clamp(1.2rem, 4vw, 1.48rem)/1.22 'DM Sans', system-ui, sans-serif;
    letter-spacing: -.03em;
    margin: 0;
}
.rbs-slot-panel__header a { color: var(--rbs-accent); font-size: 14px; }
.rbs-slot-panel button.rbs-slot-panel__close {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--rbs-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--rbs-accent);
    cursor: pointer;
}
.rbs-slot-panel button.rbs-slot-panel__close:hover { background: #f5f5f5; }
.rbs-slot-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 18px 20px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.rbs-slot-panel__criteria { margin: 0 0 10px; }
.rbs-slot-panel__criteria:not([data-rbs-searched]) > summary { display: none; }
.rbs-slot-panel__criteria > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--rbs-line);
    border-radius: 10px;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.rbs-slot-panel__criteria > summary::-webkit-details-marker { display: none; }
.rbs-slot-panel__edit { color: var(--rbs-accent); }
.rbs-slot-panel__criteria[data-rbs-searched][open] > summary { margin-bottom: 12px; }
.rbs-slot-panel__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin: 0;
}
.rbs-slot-panel__form label {
    display: grid;
    gap: 4px;
    color: var(--rbs-ink);
    font-size: 13px;
    font-weight: 700;
    min-width: 0;
}
.rbs-slot-panel__form label:first-of-type { grid-column: 1 / -1; }
.rbs-slot-panel__form select,
.rbs-slot-panel__form input:not([type="hidden"]) {
    display: block;
    min-height: 44px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 7px 9px;
    margin: 0;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background-color: #fff;
    color: var(--rbs-ink);
    font: 400 16px/1.25 'DM Sans', system-ui, sans-serif;
}
.rbs-slot-panel button.rbs-slot-panel__submit,
.rbs-slot-panel a.rbs-slot-panel__reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--rbs-accent);
    color: #fff;
    font: 700 14px/1.2 'DM Sans', system-ui, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
}
.rbs-slot-panel button.rbs-slot-panel__submit:hover,
.rbs-slot-panel a.rbs-slot-panel__reserve:hover { background: var(--rbs-accent-hover); color: #fff; }
.rbs-slot-panel button.rbs-slot-panel__submit:disabled { opacity: .68; cursor: wait; }
.rbs-slot-panel :focus-visible { outline: 2px solid var(--rbs-accent); outline-offset: 2px; }
.rbs-slot-panel__results:focus { outline-offset: -2px; }
.rbs-slot-panel__status {
    margin: 12px 0 0;
    color: var(--rbs-muted);
    font-size: 13px;
}
.rbs-slot-panel__status:empty,
.rbs-slot-panel__results:empty { display: none; }
.rbs-slot-panel__group h3,
.rbs-slot-panel__message h3 {
    margin: 12px 0 7px;
    color: var(--rbs-ink);
    font: 750 1rem/1.2 'DM Sans', system-ui, sans-serif;
}
.rbs-slot-panel__cards { display: grid; gap: 8px; }
.rbs-slot-panel__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--rbs-line);
    border-radius: 11px;
}
.rbs-slot-panel__photo {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 7px;
}
.rbs-slot-panel__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rbs-slot-panel__information { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.rbs-slot-panel__information h4 {
    margin: 0;
    color: var(--rbs-ink);
    font: 750 15px/1.2 'DM Sans', system-ui, sans-serif;
}
.rbs-slot-panel__time { margin: 3px 0 0; color: var(--rbs-accent); font-size: 13px; font-weight: 700; }
.rbs-slot-panel__price { margin: 3px 0 0; color: var(--rbs-muted); font-size: 13px; }
.rbs-slot-panel__price strong { color: var(--rbs-ink); }
.rbs-slot-panel__price span { white-space: nowrap; }
.rbs-slot-panel__price span::before { content: ' · '; }
.rbs-slot-panel a.rbs-slot-panel__reserve { flex: none; padding-inline: 10px; }
.rbs-slot-panel__message { padding: 8px 0; color: var(--rbs-muted); }
.rbs-slot-panel__message p { margin: 0; font-size: 14px; }
.rbs-slot-panel__pagination { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; }
.rbs-slot-panel .rbs-slot-panel__pagination button,
.rbs-slot-panel .rbs-slot-panel__pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rbs-accent);
    font: 650 14px/1.2 'DM Sans', system-ui, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
@media (max-width: 430px) {
    .rbs-slot-panel__header { padding-right: 14px; padding-left: 14px; }
    .rbs-slot-panel__body { padding-right: 14px; padding-left: 14px; }
    .rbs-slot-panel__photo { flex-basis: 44px; width: 44px; height: 44px; }
    .rbs-slot-panel__price span { display: block; }
    .rbs-slot-panel__price span::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { dialog.rbs-slot-panel[open] { animation: none; } }
