/* ==========================================================
   Venue kind "escape" — the booking page (/book).
   The week as one board, like the old site, in the dark escape style.
   Chosen by the owner on 19 Oct 2026 from the demo
   escape-booking-v1-12-variants.html: variant 1 "Lignes fines"
   (rows 40px high, a thin line under each row, the discount tag inside
   its own cell, the light tooltip card). Keep it pixel-identical.
   ========================================================== */

.kind-escape .esb {
    --s1: #15151c;
    --s2: #1d1d27;
    --s3: #2a2a36;
    --mute: #5d5d6c;
    --ink: #1a1300;
    --row: 40px;
    padding-top: 64px;
    min-height: 100vh;
    background: var(--color-bg);
}
.kind-escape .esb svg, #esbTip svg, .esb-drawer svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.esb-lock { overflow: hidden; }
/* The booking page has no hero: the menu bar stays compact and solid even at
   the very top (app.js drops .scrolled there, which would make it 126px high
   and transparent over the title). */
.kind-escape.page-book .navbar,
.kind-escape.page-book .navbar.scrolled {
    background: rgba(10, 10, 10, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: .75rem 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.kind-escape .esb button:focus:not(:focus-visible), .esb-drawer button:focus:not(:focus-visible) { outline: none; }
.kind-escape .esb button:focus-visible, .esb-drawer button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.esb-page { max-width: 1320px; margin: 0 auto; padding: 14px 28px 40px; }

/* === THE TOP LINE: title, week, legend === */
.esb-bar { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 12px; flex-wrap: wrap; }
.esb-bar h1 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.55rem; margin: 0; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.esb-wk { display: flex; align-items: center; gap: .35rem; background: var(--s1); border: 1px solid var(--esc-line); border-radius: 12px; padding: 4px; }
.esb-wk button { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: #fff; }
.esb-wk button:hover:not(:disabled) { background: var(--s3); }
.esb-wk button:disabled { opacity: .25; cursor: default; }
.esb-wk button svg { width: 17px; height: 17px; }
.esb-wk span { font-weight: 800; font-size: .9rem; padding: 0 .5rem; white-space: nowrap; display: flex; align-items: center; gap: .45rem; color: #fff; }
.esb-wk span svg { width: 15px; height: 15px; color: var(--color-text-dim); }
.esb-today { background: none; border: 0; padding: 0; color: var(--color-accent); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.esb-legend { display: flex; align-items: center; gap: 1rem; font-size: .78rem; color: var(--color-text-dim); margin-left: auto; flex-wrap: wrap; }
.esb-legend > span { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.esb-sep { width: 1px; height: 18px; background: rgba(255,255,255,.14); }
.esb-rk b { color: #fff; font-weight: 800; }

/* === THE BOARD === */
.esb-board { background: var(--s1); border: 1px solid var(--esc-line); border-radius: 18px; padding: 10px 12px 12px; position: relative; transition: opacity .15s; }
.esb-board.busy { opacity: .55; pointer-events: none; }
.esb-g { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; line-height: normal; }
.esb-g th, .esb-g td { padding: 0; text-align: center; }
.esb-g col.tc { width: 58px; }
.esb-g thead th.day { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-dim); padding: 4px 0; border-bottom: 1px solid var(--esc-line); transition: color .1s; }
.esb-g thead th.day b { display: block; font-size: .95rem; color: #fff; letter-spacing: 0; text-transform: none; margin-top: 1px; transition: color .1s; }
.esb-g thead th.day.today { color: var(--color-accent); }
.esb-g thead th.sub { font-size: .62rem; font-weight: 800; color: var(--mute); letter-spacing: .06em; padding: 6px 0 5px; transition: color .1s; }
/* Phone: the full room name, on up to two lines, aligned on the cells below */
.esb-g thead th.sub.full { font-size: .66rem; letter-spacing: 0; line-height: 1.2; padding: 6px 4px 6px; vertical-align: bottom; color: var(--color-text-dim); text-wrap: balance; overflow-wrap: anywhere; }
.esb-g td.t { font-size: .78rem; font-weight: 700; color: var(--color-text-dim); text-align: right; padding-right: 12px; font-variant-numeric: tabular-nums; transition: color .1s; }
.esb-g td.c { height: var(--row); padding: 3px 2px; }
.esb-g td.c.ds { padding-left: 8px; }
.esb-g td.c.de { padding-right: 8px; }
/* A thin line under each row ties every cell to its hour */
.esb-g tbody td { border-bottom: 1px solid rgba(255,255,255,.07); }
/* The cross: the hour, the day and the room of the cell under the mouse */
.esb-g .hl, .esb-g th.day.hl b { color: var(--color-accent) !important; }
.esb-g th.sub.hl { color: #fff !important; }

.esb-g .cb { height: 100%; width: 100%; border-radius: 6px; display: flex; align-items: center; justify-content: center; position: relative; }
.esb-g .cb.free {
    flex-direction: column; gap: 3px; border: 0; padding: 0; font: inherit; cursor: pointer;
    background: var(--s3); color: #fff; transition: background .12s, color .12s, box-shadow .12s;
}
.esb-g .cb.free:hover { background: var(--color-accent); color: var(--ink); box-shadow: 0 4px 14px rgba(253,183,19,.25); }
.esb-g .cb .gm { font-size: .7rem; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.esb-g .cb.shut::after { content: ''; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.1); }
.esb-g .cb.shut.past { opacity: .4; }

/* The discount tag, always inside its own cell */
.esb-tg { font-style: normal; font-size: .54rem; font-weight: 900; line-height: 1; padding: 2px 4px; border-radius: 4px; letter-spacing: .01em; white-space: nowrap; }
.esb-tg.p10 { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.esb-tg.p20 { background: var(--color-accent); color: var(--ink); }
.esb-g .cb.free:hover .esb-tg.p10 { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.esb-g .cb.free:hover .esb-tg.p20 { background: var(--ink); color: var(--color-accent); }

.esb-strip { display: none; }
.esb-none { text-align: center; color: var(--color-text-dim); padding: 1rem 0 .4rem; font-size: .9rem; }
.esb-loading { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 3rem 1rem; color: var(--color-text-dim); font-size: .9rem; }
.esb-loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--color-accent); animation: esbSpin .8s linear infinite; }
.esb-loading.small { padding: .6rem; }
@keyframes esbSpin { to { transform: rotate(360deg); } }
.esb-empty { text-align: center; padding: 2.5rem 1rem; color: var(--color-text-dim); }

/* === THE TOOLTIP: a light card next to the cell ===
   Photo, room, day, start time and the discount. Nothing looks clickable
   (owner, 19 Oct 2026). */
#esbTip { position: fixed; z-index: 1100; pointer-events: none; opacity: 0; transform: translateY(3px) scale(.98); transition: opacity .12s, transform .12s; font-family: 'Inter', sans-serif; }
#esbTip.on { opacity: 1; transform: none; }
.esb-tp { display: flex; align-items: center; gap: .85rem; width: max-content; min-width: 260px; padding: .7rem .8rem .7rem .7rem; border-radius: 14px; line-height: 1.3; background: #fff; color: #18181f; box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.04); }
.esb-tp .ph { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: #ececf1; }
.esb-tp .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esb-tp .ph img[hidden], .esb-tp .pc[hidden] { display: none; }
.esb-tp .tx .hr i { font-style: normal; }
.esb-tp .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.esb-tp .tx b { font-size: 1rem; font-weight: 800; white-space: nowrap; }
.esb-tp .tx span { font-size: .8rem; font-weight: 600; color: #55556a; white-space: nowrap; }
.esb-tp .tx .hr { display: flex; align-items: center; gap: .3rem; font-size: .9rem; font-weight: 800; color: #18181f; font-variant-numeric: tabular-nums; }
.esb-tp .tx .hr svg { width: 14px; height: 14px; color: #9a9aa8; }
.esb-tp .pc { flex: none; align-self: center; font-size: 1.05rem; font-weight: 900; line-height: 1; padding: .55rem .6rem; border-radius: 10px; font-variant-numeric: tabular-nums; }
.esb-tp .pc.p20 { background: #fdb713; color: #1a1300; }
.esb-tp .pc.p10 { color: #8a5d00; background: #fff4d6; box-shadow: inset 0 0 0 2px #fdb713; }

/* === PRICES (under the board) === */
.esb-prices { max-width: 1320px; margin: 0 auto; padding: 1.5rem 28px 4.5rem; text-align: center; }
.esb-prices h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin: 0 0 1.4rem; }
.esb-price-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; max-width: 820px; margin: 0 auto 1.2rem; }
.esb-price { background: var(--s1); border: 1px solid var(--esc-line); border-radius: 16px; padding: 1rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.esb-price b { font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1; }
.esb-price span { font-size: .74rem; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.esb-price strong { font-size: 1.15rem; color: var(--color-accent); margin-top: .45rem; }
.esb-price small { font-size: .72rem; color: #8a8a99; }
.esb-prices p { color: var(--color-text-dim); max-width: 620px; margin: 0 auto; font-size: .92rem; }

/* === DRAWER === */
.esb-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 1000; opacity: 0; transition: opacity .25s; }
.esb-scrim.open { opacity: 1; }
.esb-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 1001;
    background: #111117; border-left: 1px solid var(--esc-line); color: var(--color-text);
    transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto; overscroll-behavior: contain; font-family: 'Inter', sans-serif;
}
.esb-drawer.open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.5); }

.esb-dh { position: relative; padding: 1.5rem 1.4rem 1.1rem; border-bottom: 1px solid var(--esc-line); background: radial-gradient(ellipse 90% 100% at 0% 0%, rgba(253,183,19,.10), transparent 70%); }
.esb-dh-k { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-dim); }
.esb-dh h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin: .3rem 2.4rem .6rem 0; color: #fff; }
.esb-x { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 0; color: #fff; cursor: pointer; }
.esb-x svg { width: 18px; height: 18px; }
.esb-x:hover { background: rgba(255,255,255,.12); }
.esb-pill { display: inline-flex; align-items: center; font-weight: 800; font-size: .72rem; line-height: 1; padding: .3rem .55rem; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.esb-pill.p10 { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.esb-pill.p20 { color: #1a1300; background: var(--color-accent); }
.esb-timer { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; font-size: .8rem; font-weight: 700; color: #cfcfd8; font-variant-numeric: tabular-nums; vertical-align: middle; }
.esb-timer svg { width: 15px; height: 15px; }
.esb-timer.low { color: #fb923c; }

.esb-db { padding: 1.3rem 1.4rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.esb-lead { margin: .2rem 0 -.3rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-dim); }
.esb-alert { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fecaca; padding: .8rem .95rem; border-radius: 12px; font-size: .9rem; }
.esb-chosen { display: flex; align-items: center; gap: .9rem; padding: .55rem; border-radius: 14px; background: var(--s2); border: 1px solid var(--esc-line); }
.esb-chosen img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; flex: none; }
.esb-chosen span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.esb-chosen b { font-size: 1.02rem; color: #fff; }
.esb-chosen small { color: var(--color-text-dim); font-size: .8rem; }
.esb-link { background: none; border: 0; padding: 0; color: var(--color-accent); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; flex: none; }

.esb-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
.esb-size { display: flex; flex-direction: column; align-items: center; gap: .05rem; padding: .7rem .2rem; border-radius: 12px; cursor: pointer; background: var(--s2); border: 1px solid var(--esc-line); color: #fff; font: inherit; transition: border-color .15s, background .15s; }
.esb-size b { font-size: 1.45rem; font-weight: 900; line-height: 1; }
.esb-size span { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-dim); font-weight: 700; }
.esb-size s { font-size: .68rem; color: #77778a; margin-top: .35rem; }
.esb-size strong { font-size: .86rem; color: var(--color-accent); margin-top: .15rem; }
.esb-size s + strong { margin-top: 0; }
.esb-size:hover { border-color: rgba(255,255,255,.28); }
.esb-size.sel { background: rgba(253,183,19,.12); border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }

.esb-code { background: #17171f; border: 1px solid var(--esc-line); border-radius: 12px; padding: .15rem .9rem; }
.esb-code summary { cursor: pointer; padding: .7rem 0; font-size: .88rem; font-weight: 600; color: #d6d6de; list-style: none; }
.esb-code summary::-webkit-details-marker { display: none; }
.esb-code summary::after { content: '+'; float: right; color: var(--color-text-dim); font-weight: 800; }
.esb-code[open] summary::after { content: '−'; }
.esb-code-row { display: flex; gap: .5rem; padding-bottom: .7rem; }
.esb-code-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.esb-code-msg { font-size: .82rem; padding-bottom: .7rem; }
.esb-code-msg:empty { display: none; }
.esb-code-msg.ok { color: #6ee7b7; }
.esb-code-msg.bad { color: #fca5a5; }
.esb-code-msg.info { color: var(--color-text-dim); }

.esb-total { display: flex; flex-direction: column; gap: .35rem; }
.esb-total:empty { display: none; }
.esb-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: #cfcfd8; }
.esb-line.disc { color: var(--color-accent); }
.esb-line.tot { border-top: 1px solid var(--esc-line); padding-top: .6rem; margin-top: .2rem; font-weight: 800; color: #fff; font-size: 1rem; align-items: baseline; }
.esb-line.tot strong { font-size: 1.5rem; font-weight: 900; }

.esb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .95rem 1.2rem; border-radius: 13px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1rem; color: #1a1300; background: linear-gradient(135deg, #fdb713, #ff8a1f); box-shadow: 0 10px 26px rgba(253,160,19,.28); transition: transform .15s, box-shadow .15s, opacity .15s; }
.esb-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(253,160,19,.36); }
.esb-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; width: auto; padding: .7rem 1.1rem; }
.esb-db > .esb-btn.ghost, .esb-done > .esb-btn.ghost { width: 100%; }
.esb-btn.busy { pointer-events: none; cursor: progress; }
.esb-btn.busy::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(26,19,0,.25); border-top-color: #1a1300; animation: esbSpin .8s linear infinite; }
.esb-btn.ghost.busy::before { border-color: rgba(255,255,255,.25); border-top-color: #fff; }
/* The main action stays in reach while the drawer scrolls (a 320px phone) */
.esb-db > .esb-btn:not(.ghost) { position: sticky; bottom: .9rem; z-index: 2; }
.esb-db > .esb-btn:not(.ghost):disabled:not(.busy) { opacity: 1; cursor: default; background: #2a2a35; color: #77778a; box-shadow: none; }
.esb-note { margin: -.4rem 0 0; text-align: center; font-size: .8rem; color: #8a8a99; }

.esb-recap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding: .75rem .9rem; background: #17171f; border: 1px solid var(--esc-line); border-radius: 12px; font-size: .9rem; }
.esb-recap span { font-weight: 700; }
.esb-recap strong { margin-left: auto; color: var(--color-accent); }

.esb-f { display: flex; flex-direction: column; gap: .35rem; }
.esb-f span { font-size: .82rem; font-weight: 700; color: #cfcfd8; }
.esb-f em { font-style: normal; font-size: .78rem; color: #fca5a5; }
.esb-drawer input[type="text"], .esb-drawer input[type="email"], .esb-drawer input[type="tel"] { width: 100%; box-sizing: border-box; padding: .8rem .9rem; border-radius: 11px; font: inherit; font-size: 1rem; background: #0b0b0f; border: 1px solid rgba(255,255,255,.14); color: #fff; transition: border-color .15s; }
.esb-drawer input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(253,183,19,.15); }
.esb-f.err input { border-color: #f87171; }
.esb-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .86rem; color: #cfcfd8; cursor: pointer; line-height: 1.45; }
.esb-check input { width: 20px; height: 20px; flex: none; margin: .05rem 0 0; accent-color: var(--color-accent); }
.esb-check a { color: var(--color-accent); }
.esb-check.err { color: #fca5a5; }

.esb-done { position: relative; padding: 3.2rem 1.6rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.esb-done-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #1a1300; background: linear-gradient(135deg, #fdb713, #ff8a1f); box-shadow: 0 0 40px rgba(253,183,19,.45); animation: esbPop .45s cubic-bezier(.2,1.4,.4,1); }
.esb-done-ic svg { width: 38px; height: 38px; stroke-width: 3; }
@keyframes esbPop { from { transform: scale(.4); opacity: 0; } }
.esb-done h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.6rem; color: #fff; margin: .4rem 0 0; }
.esb-done p { color: var(--color-text-dim); font-size: .92rem; margin: 0; }
.esb-ticket { width: 100%; display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: 16px; text-align: left; background: #17171f; border: 1px solid rgba(253,183,19,.35); }
.esb-ticket b { font-size: 1.2rem; color: #fff; }
.esb-ticket span { color: #d6d6de; font-size: .92rem; }
.esb-ticket strong { color: var(--color-accent); }
.esb-ticket .ref { font-size: .82rem; color: var(--color-text-dim); }
.esb-ticket code { font-family: 'Courier New', monospace; color: #fff; font-size: .85rem; overflow-wrap: anywhere; }

/* === RETURN FROM VIVA (pages/booking-success.php, booking-failure.php) === */
.esb-result { max-width: 460px; margin: 3.5rem auto 4rem; padding: 2.4rem 1.6rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem;
              background: var(--s1); border: 1px solid var(--esc-line); border-radius: 20px; }
.esb-result h1 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1.2; color: #fff; margin: .3rem 0 0; }
.esb-result p { color: var(--color-text-dim); font-size: .95rem; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.esb-result .esb-btn { text-decoration: none; }
.esb-result .esb-btn.ghost { width: 100%; box-sizing: border-box; }
.esb-result .esb-alert { width: 100%; box-sizing: border-box; }
.esb-result .esb-loading { padding: 1rem 0 0; }
.esb-result .esb-loading span { width: 34px; height: 34px; border-width: 3px; }

/* === PHONE: one day at a time === */
@media (max-width: 760px) {
    .esb-page { padding: 10px 12px 28px; }
    .esb-bar { gap: .6rem; }
    .esb-bar h1 { font-size: 1.25rem; width: 100%; }
    .esb-legend { margin-left: 0; gap: .6rem; font-size: .72rem; }
    .esb-legend > .esb-sep, .esb-legend > .esb-rk { display: none; }
    .esb-board { padding: 8px; border-radius: 14px; }
    .esb-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; }
    .esb-strip button { border: 1px solid var(--esc-line); background: var(--s2); border-radius: 10px; padding: .35rem 0 .4rem; cursor: pointer; position: relative; color: #fff; font: inherit; min-width: 0; }
    .esb-strip span { display: block; font-size: .58rem; font-weight: 800; text-transform: uppercase; color: var(--color-text-dim); }
    .esb-strip b { display: block; font-size: 1rem; font-weight: 800; }
    .esb-strip i { position: absolute; top: 3px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
    .esb-strip button.off { opacity: .4; }
    .esb-strip button.on { border-color: var(--color-accent); background: rgba(253,183,19,.12); }
    .esb-g col.tc { width: 46px; }
    .esb-g td.t { padding-right: 8px; }
    .esb-prices { padding: 1rem 12px 3rem; }
    .esb-price-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
}
@media (max-width: 520px) {
    .esb-result { margin: 1.5rem auto 3rem; padding: 2rem 1.1rem 1.6rem; }
    .esb-drawer { width: 100%; border-left: 0; }
    .esb-dh { padding: 1.2rem 1.1rem .9rem; }
    .esb-db { padding: 1.1rem 1.1rem 1.6rem; }
    .esb-sizes { gap: .3rem; }
    .esb-size { padding: .6rem .1rem; }
    .esb-size b { font-size: 1.2rem; }
    .esb-size strong { font-size: .74rem; }
    .esb-size s { font-size: .6rem; }
}
@media (max-width: 360px) {
    /* 320px: the full room names still fit on two lines */
    .esb-page { padding-left: 8px; padding-right: 8px; }
    .esb-board { padding: 6px; }
    .esb-g col.tc { width: 38px; }
    .esb-g td.t { padding-right: 5px; font-size: .72rem; }
    .esb-g td.c.ds { padding-left: 4px; }
    .esb-g td.c.de { padding-right: 4px; }
    .esb-g thead th.sub.full { font-size: .6rem; padding: 6px 1px; text-wrap: wrap; }
    .esb-strip span { font-size: .52rem; }
    .esb-strip b { font-size: .9rem; }
    .esb-size span { font-size: .54rem; letter-spacing: 0; }
}
