/* Become a Realtor, level 3: Book the Showings (v3). Every rule scoped under .lvl-book-showings. Calm on purpose:
   colour changes fade over 250 ms, the booking sheet rises 16 px as it fades in, nothing blinks, the car is the only thing that travels. */
.lvl-book-showings { position: relative; width: 400px; height: 600px; background: #F7F8F6; color: #1A1D1A; font-family: var(--font-sans, Inter, -apple-system, sans-serif); overflow: hidden; }
.lvl-book-showings button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.lvl-book-showings .bs-bar { position: absolute; left: 0; top: 0; width: 400px; height: 56px; box-sizing: border-box; padding: 7px 10px; display: flex; align-items: center; gap: 10px; background: #1A1D1A; color: #F7F8F6; }
.lvl-book-showings .bs-box { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 42px; border-radius: 9px; background: #F7F8F6; color: #1A1D1A; }
.lvl-book-showings .bs-box span { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #5C6360; line-height: 1; }
.lvl-book-showings .bs-box b { font-size: 18px; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvl-book-showings .bs-kmbox b { font-size: 16px; }
.lvl-book-showings .bs-goal { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }

.lvl-book-showings .bs-map { position: absolute; left: 0; top: 56px; width: 400px; height: 280px; overflow: hidden; background: #94AC89; }
.lvl-book-showings .bs-svg { position: absolute; left: 0; top: 0; display: block; }
.lvl-book-showings .bs-route { stroke: #C2A572; stroke-width: 5; stroke-linecap: round; }
.lvl-book-showings .bs-route.back { stroke: #B84233; }
.lvl-book-showings .bs-ahead { stroke: #F7F8F6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 7; opacity: .85; }
.lvl-book-showings .bs-ahead.back { stroke: #E8B4AA; }
.lvl-book-showings .bs-home, .lvl-book-showings .bs-office { position: absolute; width: 70px; height: 68px; margin: 0; padding: 0; border: 0; background: transparent; display: block; box-sizing: border-box; color: inherit; }
.lvl-book-showings .bs-home { cursor: pointer; border-radius: 10px; }
.lvl-book-showings .bs-home:focus-visible { outline: 3px solid #1A1D1A; outline-offset: 1px; }
.lvl-book-showings .bs-office { pointer-events: none; }
.lvl-book-showings .bs-pic { position: absolute; left: 18px; top: 2px; width: 34px; height: 44px; transition: opacity .25s, filter .25s; }
.lvl-book-showings .bs-pic svg { display: block; width: 34px; height: 44px; }
.lvl-book-showings .bs-office .bs-pic { left: 21px; top: 4px; width: 28px; height: 40px; }
.lvl-book-showings .bs-office .bs-pic svg { width: 28px; height: 40px; }
.lvl-book-showings .bs-label { position: absolute; left: 0; right: 0; bottom: 0; height: 21px; line-height: 18px; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; background: #F7F8F6; color: #1A1D1A; border: 1.5px solid #1A1D1A; border-radius: 11px; box-sizing: border-box; font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s, border-color .25s; }
.lvl-book-showings .bs-office .bs-label { background: #1A1D1A; color: #F7F8F6; font-size: 11px; }
.lvl-book-showings .bs-letter { position: absolute; left: 2px; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #1A1D1A; color: #F7F8F6; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.lvl-book-showings .bs-home[data-s~="booked"] .bs-label { background: #4A7C59; color: #F7F8F6; border-color: #4A7C59; }
.lvl-book-showings .bs-home[data-s~="requested"] .bs-label { background: #EBDDBF; border-style: dashed; border-color: #8A6F3E; }
.lvl-book-showings .bs-home[data-s~="late"] .bs-label { background: #F7F8F6; color: #B84233; border: 2px solid #B84233; }
.lvl-book-showings .bs-home[data-s~="seen"] .bs-label { background: #2F5A3C; color: #F7F8F6; border-color: #2F5A3C; }
.lvl-book-showings .bs-home[data-s~="now"] .bs-label { background: #1A1D1A; color: #F7F8F6; border-color: #1A1D1A; }
.lvl-book-showings .bs-home[data-s~="missed"] .bs-label { background: #B84233; color: #F7F8F6; border-color: #B84233; }
.lvl-book-showings .bs-home[data-s~="off"] .bs-label, .lvl-book-showings .bs-home[data-s~="gone"] .bs-label, .lvl-book-showings .bs-home[data-s~="dropped"] .bs-label { background: #DDDEDA; color: #4A5048; border-color: #9AA09C; }
.lvl-book-showings .bs-home[data-s~="off"] .bs-pic, .lvl-book-showings .bs-home[data-s~="gone"] .bs-pic, .lvl-book-showings .bs-home[data-s~="dropped"] .bs-pic, .lvl-book-showings .bs-home[data-s~="missed"] .bs-pic { opacity: .5; filter: grayscale(.9); }

.lvl-book-showings .bs-panel { position: absolute; left: 0; top: 336px; width: 400px; height: 264px; box-sizing: border-box; background: #F7F8F6; border-top: 2px solid #1A1D1A; }
.lvl-book-showings .bs-tl { position: absolute; left: 0; top: 8px; width: 400px; height: 74px; }
.lvl-book-showings .bs-tl::before { content: ''; position: absolute; left: 12px; right: 12px; top: 14px; height: 1px; background: #C9CBC4; }
.lvl-book-showings .bs-hr { position: absolute; top: 0; width: 20px; margin-left: -10px; text-align: center; font-size: 10.5px; font-weight: 700; color: #5C6360; line-height: 12px; }
.lvl-book-showings .bs-chips { position: absolute; inset: 0; }
.lvl-book-showings .bs-chip { position: absolute; height: 17px; line-height: 15px; box-sizing: border-box; border-radius: 5px; border: 1px solid #4A7C59; background: #4A7C59; color: #F7F8F6; font-size: 11px; font-weight: 800; padding-left: 5px; overflow: hidden; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.lvl-book-showings .bs-chip.requested { background: #EBDDBF; color: #1A1D1A; border: 1px dashed #8A6F3E; }
.lvl-book-showings .bs-chip.seen { background: #2F5A3C; border-color: #2F5A3C; }
.lvl-book-showings .bs-chip.missed { background: #F0D6D1; border-color: #B84233; color: #B84233; }
.lvl-book-showings .bs-chip.late { background: #F7F8F6; border: 2px solid #B84233; color: #B84233; line-height: 13px; }
.lvl-book-showings .bs-now { position: absolute; left: 12px; top: 10px; width: 2px; height: 64px; margin-left: -1px; background: #1A1D1A; opacity: 0; transition: opacity .3s; }
.lvl-book-showings.touring .bs-now { opacity: .7; }
.lvl-book-showings .bs-msg { position: absolute; left: 14px; right: 14px; top: 90px; font-size: 14.5px; line-height: 1.4; }
.lvl-book-showings .bs-go { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 52px; border: 0; border-radius: 12px; background: #1A1D1A; color: #F7F8F6; font-size: 17px; font-weight: 700; cursor: pointer; transition: opacity .25s; }
.lvl-book-showings .bs-go:disabled { opacity: .3; cursor: default; }
.lvl-book-showings .bs-go:focus-visible, .lvl-book-showings .bs-sheet button:focus-visible, .lvl-book-showings .bs-card button:focus-visible { outline: 3px solid #C2A572; outline-offset: 2px; }

.lvl-book-showings .bs-sheet { position: absolute; left: 0; top: 316px; width: 400px; height: 284px; box-sizing: border-box; padding: 6px 12px 0; background: #FFFFFF; border-top: 2px solid #1A1D1A; border-radius: 14px 14px 0 0; box-shadow: 0 -6px 18px rgba(26, 29, 26, .18); opacity: 0; transform: translateY(16px); transition: opacity .22s ease-out, transform .22s ease-out; }
.lvl-book-showings .bs-sheet.open { opacity: 1; transform: none; }
.lvl-book-showings .bs-sh-head { display: flex; align-items: center; gap: 8px; height: 40px; }
.lvl-book-showings .bs-back { flex: 0 0 auto; height: 36px; padding: 0 12px; border: 1.5px solid #C9CBC4; border-radius: 9px; background: #FFFFFF; color: #1A1D1A; font-size: 13px; font-weight: 600; cursor: pointer; }
.lvl-book-showings .bs-sh-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; font-size: 13px; color: #5C6360; font-weight: 600; white-space: nowrap; }
.lvl-book-showings .bs-sh-letter { width: 26px; height: 26px; border-radius: 50%; background: #1A1D1A; color: #F7F8F6; font-size: 14px; line-height: 26px; text-align: center; }
.lvl-book-showings .bs-book { flex: 0 0 auto; height: 36px; min-width: 124px; padding: 0 12px; border: 0; border-radius: 9px; color: #FFFFFF; font-size: 13px; font-weight: 800; letter-spacing: .3px; cursor: pointer; transition: opacity .2s; }
.lvl-book-showings .bs-book.auto { background: #3F8A55; }
.lvl-book-showings .bs-book.req { background: #858B87; }
.lvl-book-showings .bs-book.gone { background: #5C6360; }
.lvl-book-showings .bs-book:disabled { opacity: .4; cursor: default; }
.lvl-book-showings .bs-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 48px; gap: 5px; margin-top: 4px; }
.lvl-book-showings .bs-slot { position: relative; margin: 0; padding: 0; border: 1.5px solid #C9CBC4; border-radius: 9px; background: #FFFFFF; color: #1A1D1A; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lvl-book-showings .bs-slot.taken { background: #ECEDE9; border-color: #ECEDE9; color: #AEB2AE; cursor: default; }
.lvl-book-showings .bs-slot.mine { background: #F2EEE4; border-color: #E2D8C2; color: #8F8A7E; cursor: default; }
.lvl-book-showings .bs-slot:disabled:not(.taken):not(.mine) { color: #C3C6C2; border-color: #ECEDE9; cursor: default; }
.lvl-book-showings .bs-slot.sel { background: #1A1D1A; border-color: #1A1D1A; color: #F7F8F6; }
.lvl-book-showings .bs-slot i { position: absolute; right: 4px; top: 4px; font-style: normal; font-size: 10px; font-weight: 800; color: #8A6F3E; }
.lvl-book-showings .bs-off { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding: 22px 16px; border-radius: 12px; background: #ECEDE9; text-align: center; }
.lvl-book-showings .bs-off[hidden], .lvl-book-showings .bs-grid[hidden] { display: none; }
.lvl-book-showings .bs-off b { font-size: 18px; color: #4A5048; }
.lvl-book-showings .bs-off span { font-size: 14px; line-height: 1.4; color: #5C6360; }
.lvl-book-showings .bs-hint { margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: #3B403B; min-height: 32px; }

.lvl-book-showings .bs-card { position: absolute; left: 0; top: 336px; width: 400px; height: 264px; box-sizing: border-box; padding: 14px 14px 12px; background: #FFFFFF; border-top: 2px solid #1A1D1A; display: flex; flex-direction: column; justify-content: space-between; }
.lvl-book-showings .bs-card[hidden] { display: none; }
.lvl-book-showings .bs-card-msg { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; }
.lvl-book-showings .bs-card-btns { display: flex; flex-direction: column; gap: 8px; }
.lvl-book-showings .bs-card-btns button { height: 46px; border: 1.5px solid #1A1D1A; border-radius: 11px; background: #FFFFFF; color: #1A1D1A; font-size: 15px; font-weight: 700; cursor: pointer; }
.lvl-book-showings .bs-card-btns button.pri { background: #1A1D1A; color: #F7F8F6; }
@media (prefers-reduced-motion: reduce) {
  .lvl-book-showings .bs-pic, .lvl-book-showings .bs-label, .lvl-book-showings .bs-chip, .lvl-book-showings .bs-slot, .lvl-book-showings .bs-now, .lvl-book-showings .bs-go, .lvl-book-showings .bs-book { transition: none; }
  .lvl-book-showings .bs-sheet { transition: none; transform: none; }
}
