.opb {
    --opb-cream: #FAF1E8;
    --opb-ink: #3F4846;
    --opb-peach: #D98B72;
    --opb-blue: #EAF3F5;
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    min-width: 0;
    margin: 2rem auto;
    padding: clamp(1rem, 4vw, 2.75rem);
    border: 1px solid #3f48461a;
    border-radius: 24px;
    background: var(--opb-cream);
    color: var(--opb-ink);
    font: 400 1rem/1.65 'Nunito', sans-serif;
    overflow-wrap: anywhere;
    box-shadow: 0 16px 48px #3f484609;
}
.opb *, .opb *::before, .opb *::after { box-sizing: border-box; }
.opb .opb__intro { margin-bottom: 1.75rem; }
.opb .opb__eyebrow { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.op-premium .opb h1, .opb h1 { margin: 0 0 1rem; color: var(--opb-ink); font: 500 clamp(1.9rem, 6vw, 2.8rem)/1.2 'Playfair Display', Georgia, serif; }
.opb p { margin: 0 0 1rem; }
.opb .opb__facts { margin: 1.25rem 0; padding-left: 1.3rem; }
.opb .opb__facts li { padding-left: .2rem; margin-bottom: .3rem; }
.opb .opb__notice { padding: .9rem 1rem; background: var(--opb-blue); border-radius: 12px; font-size: .9rem; }
.opb .opb__form { margin: 0; padding: 0; }
.opb .opb__fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.opb legend { float: none; width: 100%; padding: 0; margin: 0 0 1rem; color: var(--opb-ink); font-weight: 800; font-size: 1.1rem; }
.opb .opb__field { min-width: 0; margin-bottom: 1rem; }
.opb label { display: block; margin: 0 0 .35rem; color: var(--opb-ink); font: 700 .95rem/1.5 'Nunito', sans-serif; }
.opb input:not([type="checkbox"]), .opb select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: .7rem .8rem;
    border: 1px solid #3f484655;
    border-radius: 9px;
    background-color: #fffdfb;
    color: var(--opb-ink);
    font: 400 1rem/1.4 'Nunito', sans-serif;
    box-shadow: none;
}
.opb input[type="date"] { appearance: none; -webkit-appearance: none; }
.opb input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.opb select { text-overflow: ellipsis; padding-right: 1.7rem; }
.opb .opb__grid, .opb .opb__dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; }
.opb .opb__dates { align-items: end; }
.opb .opb__dates .opb__button { margin-bottom: 1rem; }
.opb .opb__help { margin: .45rem 0 1rem; font-size: .87rem; line-height: 1.6; }
.opb .opb__consent { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 1rem; }
.opb .opb__consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: .18rem 0 0; accent-color: var(--opb-ink); }
.opb .opb__consent label { font-weight: 600; margin: 0; }
.opb .opb__consent span { font-size: .85rem; }
.opb a { color: var(--opb-ink); text-decoration: underline; text-underline-offset: .2em; }
.opb a:hover { text-decoration-thickness: 2px; }
.opb .opb__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--opb-peach);
    border-radius: 10px;
    background: var(--opb-peach);
    color: #242b29;
    font: 800 1rem/1.4 'Nunito', sans-serif;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s ease;
}
.opb .opb__button:hover:not(:disabled) { background: #e5a28c; }
.opb .opb__button--secondary { border-color: var(--opb-ink); background: transparent; color: var(--opb-ink); }
.opb .opb__button--secondary:hover:not(:disabled) { background: var(--opb-blue); }
.opb :is(input, select, button, a):focus-visible { outline: 3px solid var(--opb-ink); outline-offset: 3px; }
.opb :is(input, select, button):disabled { opacity: .65; cursor: not-allowed; }
.opb .opb__status { margin: 1rem 0 0; padding: 1rem; border-radius: 10px; background: var(--opb-blue); font-weight: 700; }
.opb .opb__status:empty { display: none; }
.opb .opb__status--error { background: #fbe1d8; border-left: 3px solid #93482f; color: #73351f; }
.opb .opb__footer { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid #3f484626; font-size: .87rem; }
.opb .opb__trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 520px) {
    .opb { margin: 1rem auto; border-radius: 16px; }
    .opb .opb__grid, .opb .opb__dates { grid-template-columns: minmax(0, 1fr); }
}
/* Weekly availability: seven days on desktop, one selected day on mobile. */
.opb .opb__calendar { margin: 1.5rem 0; }
.opb .opb__week-nav { display: grid; grid-template-columns: 145px minmax(0, 1fr) 145px; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.opb .opb__week-nav p { margin: 0; text-align: center; font-weight: 800; }
.opb .opb__week-nav .opb__button { font-size: .9rem; padding: .6rem; }
.opb .opb__legend { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .85rem; font-weight: 800; }
.opb .opb__key { display: inline-flex; align-items: center; gap: .4rem; }
.opb .opb__key::before { content: ''; width: 13px; height: 13px; border-radius: 4px; border: 1px solid #45604a; background: #e4eee4; }
.opb .opb__key--busy::before { background: #e8e8e6; border-color: #878d89; }
.opb .opb__key--selected::before { background: #3F4846; border-color: #3F4846; }
.opb .opb__week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; align-items: stretch; }
.opb .opb__day { min-width: 0; padding: .45rem; background: #fffdfb; border: 1px solid #3f484622; border-radius: 12px; }
.opb .opb__day-title { margin: .35rem 0 .7rem; font: 800 .85rem/1.5 'Nunito', sans-serif; color: var(--opb-ink); text-align: center; }
.opb .opb__day-slots { display: grid; gap: .4rem; }
.opb .opb__slot { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 48px; padding: .4rem .1rem; border: 1px solid #819882; border-radius: 8px; font: 800 .85rem/1.3 'Nunito', sans-serif; background: #e4eee4; color: #314937; cursor: pointer; box-shadow: none; transition: background .15s ease, transform .15s ease; }
.opb .opb__slot small { font: 600 .65rem/1.5 'Nunito', sans-serif; }
.opb .opb__slot--free:hover { background: #c9dec9; transform: translateY(-1px); }
.opb .opb__slot--busy:disabled { opacity: 1; background: #ececea; color: #626962; border-color: #d2d5d0; cursor: not-allowed; }
.opb .opb__slot.is-selected { background: #3F4846; color: white; border-color: #3F4846; box-shadow: 0 0 0 2px #DDB45F; }
.opb .opb__closed { margin: 0; padding: .7rem .1rem; color: #626962; text-align: center; font-size: .78rem; }
.opb .opb__selection { padding: 1rem; margin: 1rem 0 1.5rem; border-left: 3px solid #7F8C7B; border-radius: 8px; background: #EAF3F5; font-weight: 800; }
.opb .opb__refresh { display: block; min-height: 44px; margin: .8rem auto 0; padding: .5rem; color: var(--opb-ink); background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; font: 700 .87rem/1.5 'Nunito', sans-serif; cursor: pointer; box-shadow: none; }
.opb .opb__day-tabs, .opb .opb__mobile-hint { display: none; }
@media (max-width: 760px) {
 .opb .opb__week-nav { grid-template-columns: 1fr 1fr; gap: .6rem; }
 .opb .opb__week-nav p { grid-column: 1 / -1; grid-row: 1; }
 .opb .opb__week-grid { display: block; }
 .opb .opb__day { display: none; padding: .75rem; }
 .opb .opb__day.is-active { display: block; }
 .opb .opb__day-title { font-size: 1rem; }
 .opb .opb__day-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
 .opb .opb__slot { min-height: 56px; font-size: .9rem; }
 .opb .opb__slot small { font-size: .67rem; }
 .opb .opb__mobile-hint { display: block; margin-bottom: .5rem; font-size: .85rem; }
 .opb .opb__day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; margin-bottom: .65rem; }
 .opb .opb__day-tab { min-width: 0; min-height: 52px; padding: .4rem .1rem; border: 1px solid #3f484644; border-radius: 7px; background: #fffdfb; color: var(--opb-ink); font: 800 .75rem/1.3 'Nunito', sans-serif; cursor: pointer; white-space: normal; box-shadow: none; }
 .opb .opb__day-tab[aria-pressed="true"] { color: #fff; background: #3F4846; border-color: #3F4846; }
}
@media (prefers-reduced-motion: reduce) {
    .opb .opb__button { transition: none; }
}
