/* Book tab: section chips, tours and nannies */
.bchips { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 4px -16px 12px; padding: 8px 16px; background: var(--cream, var(--white)); }
.bchips::-webkit-scrollbar { display: none; }
.bchip { flex: none; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill, 999px); border: 1px solid var(--sand); background: var(--white); color: var(--navy); font: inherit; white-space: nowrap; }
.bchip.on { background: var(--teal); border-color: var(--teal); color: var(--cream); font-weight: 600; }
.prenote { margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--sand-light); color: var(--teal); font-size: 0.95rem; }
.kidsline { margin-top: 4px; font-size: 0.9rem; color: var(--teal); font-weight: 600; }

.actcard { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin-bottom: 12px; }
.actcard .actph { width: 92px; height: 92px; aspect-ratio: 1; flex: none; }
.actcard .actb { min-width: 0; flex: 1; }
.actcard .t { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.actcard .desc { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.actl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.actmeet { margin-top: 6px; font-size: 0.95rem; }
.actpack { margin-top: 8px; font-size: 0.93rem; }
.actpack ul { margin: 2px 0 0; padding-left: 20px; }
.actslot { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.actslot small { font-size: 0.75rem; color: var(--muted); }
.actslot.on small { color: var(--cream); }
.acttime { width: 100%; min-height: 48px; font-size: 1.1rem; }

/* ---------- order tab: search, folding categories, bookable rows ---------- */
.findbox { position: relative; display: block; margin: 0 0 8px; color: var(--muted); }
.findbox svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.findbox .input { padding-left: 44px; border-radius: var(--radius-pill); }
.findn { margin: 12px 0 0; }
.foldall { display: flex; justify-content: flex-end; margin: 10px 0 -18px; }
.cat.fold { border-bottom: 1px solid var(--sand); }
.cat-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 2px; border: 0; background: none; text-align: left; color: var(--fathom); }
.cat-h .cn { flex: 1; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; }
.cat-h .cc { min-width: 28px; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--sand-light); color: var(--muted); font-size: 0.82rem; text-align: center; }
.cat-h .chev { width: 22px; height: 22px; flex: none; color: var(--sea); transition: transform 0.15s; }
.cat.fold.open .cat-h .chev { transform: rotate(180deg); }
.cat-h:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 8px; }
.cat.fold .cat-b { padding-bottom: 6px; }
.cat.fold .cat-b .item:last-child { border-bottom: 0; }
.xrow .xbtn { min-height: 40px; padding: 6px 16px; }

/* ---------- my calendar ---------- */
.calbtn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin: 0 0 12px; text-align: left; color: var(--fathom); }
.calbtn > svg { width: 28px; height: 28px; flex: none; color: var(--sea); }
.calbtn .chev { width: 20px; height: 20px; color: var(--muted); }
.calbtn .cb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.calbtn b { font-weight: 500; font-size: 1.05rem; }
.calbtn small { color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.calback { display: inline-block; margin: 0 0 8px; }
i.k-spa { background: var(--sea); }
i.k-eq { background: var(--fathom); }
i.k-tour { background: var(--heron); }
i.k-nanny { background: var(--wet-sand); box-shadow: inset 0 0 0 1px var(--muted); }
/* my calendar as time blocks (44px per hour; blocks never shorter than 44px) */
.sch-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 4px 0 12px; color: var(--fathom); }
.sch-sum b { font-weight: 500; margin-right: 4px; }
.sch-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--sand); font-size: 0.85rem; }
.sch-chip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.tl-days { display: flex; flex-direction: column; gap: 12px; }
.tl-days.past { opacity: 0.85; }
.tl-day { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 10px 12px 12px; min-width: 0; }
.tl-day h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 8px; font-size: var(--fs-h3); font-weight: 500; color: var(--fathom); }
.tl-rel { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sea); }
.tl-day.is-today { border-color: var(--fathom); }
.tl-day.is-today .tl-rel { background: var(--fathom); color: var(--white-sand); padding: 2px 10px; border-radius: var(--radius-pill); letter-spacing: 0.05em; }
.tl-chips { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: 100%; min-height: 36px; padding: 5px 10px; background: var(--sand-light); border-left: 4px solid var(--fathom); border-radius: 8px; font-size: 0.85rem; color: var(--fathom); }
.tl-chip b { font-weight: 500; }
.tl-ct { min-width: 0; overflow-wrap: anywhere; }
.tl-chip .pill { font-size: 0.72rem; padding: 1px 8px; }
.tl { position: relative; margin: 10px 0 2px; }
.tl-h { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--sand-light); }
.tl-h span { position: absolute; left: 0; top: -8px; width: 40px; font-size: 0.7rem; line-height: 16px; color: var(--muted); background: var(--white); }
.tl-blocks { position: absolute; left: 46px; right: 0; top: 0; bottom: 0; }
.tl-b { position: absolute; box-sizing: border-box; overflow: hidden; padding: 4px 8px; display: flex; flex-direction: column; gap: 1px; background: var(--sand-light); border-left: 4px solid var(--fathom); border-radius: 8px; color: var(--fathom); }
.tl-t { font-weight: 500; font-size: 0.88rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-m { display: flex; align-items: center; gap: 0 8px; flex-wrap: wrap; font-size: 0.75rem; line-height: 1.25; color: var(--muted); max-height: 2.5em; overflow: hidden; }
.tl-r { white-space: nowrap; }
.tl-s { display: inline-flex; align-items: center; gap: 3px; min-width: 0; color: var(--fathom); }
.tl-s i { font-style: normal; font-weight: 700; flex: none; }
.tl-s.late { color: #6e2414; }
.tl-st { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-b.dense { padding: 4px 5px; }
.tl-b.dense .tl-st { display: none; }
.tl-b.k-spa, .tl-chip.k-spa { border-left-color: var(--sea); }
.tl-b.k-eq, .tl-chip.k-eq { border-left-color: var(--fathom); }
.tl-b.k-tour, .tl-chip.k-tour { border-left-color: var(--heron); }
.tl-b.k-nanny, .tl-chip.k-nanny { border-left-color: var(--wet-sand); }
.tl-b.done, .tl-chip.done { opacity: 0.65; }
