/* The booking chat in Black and gold (chat v4, uk/chat-v4.blade.php, bc-*).
   Loaded after site.css, whose reset, tokens and focus ring it builds on. The
   cards the engine draws itself (details, recap, extras, photo, prices) keep
   their ukc-* markup and are restyled here, inside .bc only.
   Desktop: a 760px app frame with its own scroller. 719px and below: full
   bleed, the page scrolls, the header and composer stick. */

body.bc-body { background: #050403; }

/* Frame --------------------------------------------------------------------- */
.bc-stage { display: grid; justify-items: center; padding: 39px 24px; }
.bc {
    /* The engine's cards read these in their inline styles. */
    --gold: #c9a45c; --mut: rgba(243, 237, 226, 0.62); --bd: rgba(201, 164, 92, 0.24); --cream: #f3ede2;
    --bc-bubble: #1d1b18; --bc-bubble-hover: #25221e; --bc-tile: #26231f; --bc-bar: #151310; --bc-pill: #211e1a;
    color-scheme: dark;
    position: relative; width: 100%; max-width: 760px;
    height: calc(100vh - 78px); height: calc(100svh - 78px); min-height: 520px;
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--pb-line-10); border-radius: 22px;
    background: var(--pb-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* The engine moves focus to each new question. After a tap that ring reads as a
   choice already made, so it shows for the keyboard only (_ui-v4 sets data-input). */
.bc[data-input="pointer"] :focus-visible, .bc[data-input="pointer"] .ukc-addon, .bc[data-input="pointer"] .ukc-upload { outline: none !important; }

/* Header and summary ----------------------------------------------------------- */
.bc-top { flex: none; position: relative; z-index: 45; }
.bc-head {
    display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 10px 8px 6px;
    background: var(--bc-bar); border-bottom: 1px solid var(--pb-line-06);
}
.bc-head__home, .bc-head__call { flex: none; display: grid; place-items: center; height: 44px; color: var(--pb-gold-text) !important; border-radius: 99px; }
.bc-head__home { width: 40px; }
.bc-head__call { width: 44px; }
.bc-head__home svg { width: 22px; height: 22px; }
.bc-head__call svg { width: 20px; height: 20px; }
.bc-head__home:hover, .bc-head__call:hover { background: var(--pb-line-06); }
.bc-head__avatar { position: relative; flex: none; }
.bc-head__avatar img { width: 42px; height: 42px; border-radius: 99px; object-fit: cover; border: 1px solid var(--pb-gold-line-50); background: #000; }
.bc-head__avatar i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 99px; background: #5fd38d; border: 2px solid var(--bc-bar); }
.bc-head__who { flex: 1; display: grid; line-height: 1.25; }
.bc-head__name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-status { font-size: 12.5px; color: var(--pb-ink-60); }
.bc-status__typing { display: none; color: var(--pb-online); }
/* "typing…" while the dots show. Without :has the status just stays "online now". */
@supports selector(:has(*)) {
    .bc:has(.bc-typing) .bc-status__online { display: none; }
    .bc:has(.bc-typing) .bc-status__typing { display: inline; }
}

/* Back: the previous question (the chevron leaves the chat). */
.bc-back {
    flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--pb-gold-line-45); border-radius: 99px;
    background: transparent; color: var(--pb-gold-text); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.bc-back:hover { background: var(--pb-tint-13); }

.bc-summary { background: #110f0d; border-bottom: 1px solid var(--pb-line-06); }
.bc-summary__bar {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 14px;
    border: 0; background: transparent; color: var(--pb-ink); text-align: left;
}
.bc-summary__rule { width: 3px; align-self: stretch; border-radius: 99px; background: var(--pb-gold); }
.bc-summary__text { display: grid; flex: 1; line-height: 1.3; }
.bc-summary__kicker { font-size: 12.5px; font-weight: 600; color: var(--pb-gold-text); }
.bc-summary__line { font-size: 13.5px; color: var(--pb-ink-78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-summary__total { flex: none; font-family: var(--pb-mono); font-size: 14px; color: var(--pb-gold-soft); }
.bc-summary__chev { flex: none; width: 15px; height: 15px; color: var(--pb-ink-60); transition: transform .2s ease; }
.bc-summary__bar[aria-expanded="true"] .bc-summary__chev { transform: rotate(180deg); }
.bc-summary__more { max-height: 46vh; overflow: auto; padding: 0 14px 12px 27px; }
.bc-summary__rows > div { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--pb-line-06); font-size: 13px; }
.bc-summary__rows dt { color: var(--pb-ink-56); }
.bc-summary__rows dd { margin: 0; color: var(--pb-ink); overflow-wrap: anywhere; }
.bc-summary__note { padding-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--pb-ink-64); }

/* Thread ----------------------------------------------------------------------- */
.bc-thread {
    flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 3px; padding: 12px 10px 16px;
    background-color: var(--pb-bg);
    background-image: radial-gradient(rgba(201, 164, 92, 0.07) 1px, transparent 1.4px);
    background-size: 22px 22px;
    scrollbar-width: thin; scrollbar-color: rgba(201, 164, 92, 0.3) transparent;
}
/* A scrolling column: nothing in it may shrink to fit (a photo would squash). */
.bc-thread > * { flex-shrink: 0; }
.bc-day { align-self: center; margin: 4px 0 6px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; background: #1a1815; font-size: 12px; font-weight: 500; color: var(--pb-ink-72); }
.bc-system { align-self: center; max-width: 340px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(201, 164, 92, 0.12); font-size: 12.5px; line-height: 1.45; color: var(--pb-gold-soft); text-align: center; }

/* Bubbles: a tail on the first of a run, the time (and her ticks) tucked in the corner. */
.bc-msg {
    max-width: 72%; padding: 7px 9px 5px 11px; border-radius: 16px;
    font-size: 15px; line-height: 1.42; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    overflow-wrap: anywhere; animation: bc-rise .3s cubic-bezier(.2, .7, .3, 1) both;
}
.bc-msg--in { align-self: flex-start; background: var(--bc-bubble); color: var(--pb-ink); }
.bc-msg--out { align-self: flex-end; background: var(--pb-gold); color: var(--pb-on-gold); }
.bc-thread > .bc-msg--in:first-child, .bc-thread > :not(.bc-msg--in) + .bc-msg--in { margin-top: 8px; border-top-left-radius: 4px; }
.bc-thread > .bc-msg--out:first-child, .bc-thread > :not(.bc-msg--out) + .bc-msg--out { margin-top: 8px; border-top-right-radius: 4px; }
.bc-msg__text { white-space: pre-wrap; text-wrap: pretty; }
.bc-msg__text .ukc-note { margin-top: 6px; font-size: 13px; color: var(--pb-ink-64); white-space: normal; }
.bc-meta { float: right; display: inline-flex; align-items: center; gap: 5px; margin: 7px 0 -3px 12px; font-size: 11px; line-height: 1; color: rgba(243, 237, 226, 0.55); }
.bc-msg--out .bc-meta { color: rgba(23, 18, 10, 0.66); }
.bc-ticks { width: 15px; height: 15px; }
.bc-change {
    position: relative; padding: 0 2px; border: 0; background: transparent; color: inherit;
    font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px;
    transition: opacity .15s ease, visibility .15s ease;
}
/* A bigger hit area than the 11px word, without moving the bubble. */
.bc-change::after { content: ''; position: absolute; inset: -12px -8px; }
.bc-msg--out .bc-change:focus-visible { outline-color: var(--pb-on-gold); }
.bc.is-busy .bc-change { opacity: 0; visibility: hidden; }

.bc-typing {
    align-self: flex-start; margin-top: 8px; display: flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px;
    border-radius: 4px 16px 16px 16px; background: var(--bc-bubble); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
.bc-typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--pb-ink-60); animation: bc-dot 1.1s infinite; }
.bc-typing i:nth-child(2) { animation-delay: .16s; }
.bc-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes bc-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes bc-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bc-photo { align-self: flex-start; margin: 8px 0 2px; max-width: min(72%, 300px); border-radius: 14px; overflow: hidden; background: var(--bc-bubble); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); }
.bc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bc-photo figcaption { padding: 7px 11px 8px; font-size: 13px; color: var(--pb-ink-70); }

/* Choices -------------------------------------------------------------------------- */
.bc-replies, .bc-pick { margin-top: 4px; display: grid; gap: 4px; width: min(72%, 360px); }
.bc-pick { width: 100%; gap: 6px; }
.bc-pick > .bc-reply { width: min(72%, 360px); }
.bc-reply {
    min-height: 44px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px;
    padding: 6px 12px; border: 0; border-radius: 12px; background: var(--bc-bubble); color: var(--pb-gold-soft);
    font-size: 14.5px; font-weight: 600; text-align: center; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    transition: background-color .15s ease;
}
.bc-reply:hover { background: var(--bc-bubble-hover); }
.bc-reply__note { font-size: 12.5px; font-weight: 500; color: var(--pb-ink-60); }
.bc-reply--list { gap: 8px; }
.bc-reply--list svg { width: 16px; height: 16px; flex: none; }

/* The first question: one tile per family, a monogram on each. */
.bc-tiles { margin-top: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: min(100%, 560px); }
.bc-tile {
    min-height: 92px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 12px 8px;
    border: 0; border-radius: 14px; background: var(--bc-bubble); color: var(--pb-ink);
    font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    transition: background-color .15s ease;
}
.bc-tile::before {
    content: attr(data-initial); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 99px;
    background: radial-gradient(120% 120% at 30% 20%, rgba(201, 164, 92, 0.3), rgba(201, 164, 92, 0.06) 70%);
    color: var(--pb-gold-soft); font-size: 17px; font-weight: 600;
}
.bc-tile:hover { background: var(--bc-bubble-hover); }
.bc-tiles__aside { grid-column: 1 / -1; }

/* Styles and people: a carousel of cards. */
.bc-carousel { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 8px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bc-carousel::-webkit-scrollbar { display: none; }
@media (hover: hover) { .bc-carousel { scrollbar-width: thin; scrollbar-color: rgba(201, 164, 92, 0.3) transparent; } }
.bc-card-hold { flex: none; display: grid; gap: 4px; scroll-snap-align: start; }
.bc-card {
    flex: none; width: 188px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; padding: 0;
    border: 0; border-radius: 14px; background: var(--bc-bubble); color: var(--pb-ink); text-align: left;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); scroll-snap-align: start; transition: background-color .15s ease;
}
.bc-card:hover { background: var(--bc-bubble-hover); }
.bc-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bc-tile); }
.bc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-card__media--mono { display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, rgba(201, 164, 92, 0.2), rgba(201, 164, 92, 0.04) 70%); }
.bc-card__media--mono::before { content: attr(data-initial); font-size: 30px; font-weight: 600; color: rgba(201, 164, 92, 0.7); }
.bc-card__body { display: grid; align-content: start; gap: 2px; padding: 9px 11px 4px; }
.bc-card__title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.bc-card__note { font-size: 12.5px; line-height: 1.4; color: var(--pb-ink-62, rgba(243, 237, 226, 0.62)); }
.bc-card__work { display: flex; gap: 4px; margin-top: 6px; }
.bc-card__work img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.bc-card__cta { margin-top: 6px; padding: 10px; border-top: 1px solid var(--pb-line-08); text-align: center; font-size: 14px; font-weight: 600; color: var(--pb-gold-soft); }
.bc-card__more { display: flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 13px; }

/* Bottom sheet ------------------------------------------------------------------------ */
.bc-sheet { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end; }
.bc-sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); animation: bc-fade .2s ease both; }
.bc-sheet__panel {
    position: relative; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; max-height: 72%;
    padding: 8px 0 18px; padding-bottom: max(18px, env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0; background: var(--bc-bar); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    animation: bc-sheet-up .24s cubic-bezier(.2, .7, .3, 1) both;
}
.bc-sheet__grab { justify-self: center; width: 40px; height: 4px; margin: 4px 0 10px; border-radius: 99px; background: rgba(243, 237, 226, 0.2); }
.bc-sheet__title { padding: 0 18px 10px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.bc-sheet__list { overflow-y: auto; overscroll-behavior: contain; }
.bc-sheet__row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 18px;
    border: 0; border-top: 1px solid var(--pb-line-06); background: transparent; color: var(--pb-ink); text-align: left;
}
.bc-sheet__row:hover { background: var(--bc-bubble); }
.bc-sheet__radio { width: 20px; height: 20px; flex: none; border: 1.5px solid rgba(201, 164, 92, 0.6); border-radius: 99px; }
.bc-sheet__row.is-on .bc-sheet__radio { border-width: 6px; border-color: var(--pb-gold); }
.bc-sheet__label { flex: 1; font-size: 15px; }
.bc-sheet__note { flex: none; max-width: 48%; font-size: 13px; color: var(--pb-gold-text); text-align: right; }
.bc-sheet__cancel { margin: 8px 18px 0; min-height: 46px; border: 0; border-radius: 12px; background: var(--bc-pill); color: var(--pb-ink); font-size: 15px; font-weight: 600; }
@keyframes bc-fade { from { opacity: 0; } }
@keyframes bc-sheet-up { from { transform: translateY(24px); opacity: 0; } }
html.bc-sheet-open { overflow: hidden; }

/* Cards the engine draws (ukc-* markup) ------------------------------------------------- */
.bc-panel {
    align-self: flex-start; width: min(100%, 460px); margin-top: 4px; padding: 14px;
    border-radius: 16px; background: var(--bc-bubble); color: var(--pb-ink); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    font-size: 14.5px; animation: bc-rise .3s cubic-bezier(.2, .7, .3, 1) both;
}
.bc .ukc-price { margin-top: 5px; font-family: var(--pb-mono); font-size: 24px; line-height: 1.1; color: var(--pb-gold-soft); }
.bc .ukc-price small { font-family: var(--pb-font); font-size: 13px; color: var(--mut); }
.bc .ukc-note { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--pb-ink-64); }
.bc .ukc-note strong { color: var(--pb-gold-soft) !important; font-weight: 600; }
.bc #ukc-err, .bc #ukc-look-err { color: #f2a58f !important; }
.bc #ukc-err:empty, .bc #ukc-look-err:empty { display: none; }

.bc .ukc-recap h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--pb-gold-text); }
.bc .ukc-recap-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--pb-line-06); font-size: 14px; }
.bc .ukc-recap-row:first-of-type { border-top: 0; }
.bc .ukc-recap-row span:first-child { color: var(--pb-ink-60); }
.bc .ukc-recap-row span:last-child { overflow-wrap: anywhere; }

.bc .ukc-field { display: block; margin: 10px 0; }
.bc .ukc-field > label { display: block; margin-bottom: 5px; font-size: 13px; color: var(--pb-ink-66); }
.bc .ukc-field input:not([type="checkbox"]):not([type="file"]), .bc .ukc-field select, .bc .ukc-field textarea, .bc .bc-other-field input {
    width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--pb-line-12); border-radius: 12px;
    background: #141210; color: var(--pb-ink); font-size: 15px;
}
.bc .ukc-field textarea { min-height: 72px; resize: vertical; }
.bc .ukc-field input:focus, .bc .ukc-field select:focus, .bc .ukc-field textarea:focus, .bc .bc-other-field input:focus { border-color: var(--pb-gold); }
.bc .ukc-field input[type="file"] { width: 100%; padding: 10px 0; font-size: 14px; color: var(--pb-ink-70); }
.bc .ukc-field input[type="file"]::file-selector-button { margin-right: 10px; min-height: 40px; padding: 0 14px; border: 1px solid var(--pb-gold-line-45); border-radius: 10px; background: transparent; color: var(--pb-gold-text); font: inherit; font-weight: 600; }
.bc .ukc-field .ukc-note { display: block; margin-top: 6px; }
.bc input::placeholder, .bc textarea::placeholder { color: rgba(243, 237, 226, 0.45); }
.bc [type="date"] { color-scheme: dark; }

/* Block, not flex: the text runs around its links as one sentence. */
.bc .ukc-terms { position: relative; display: block; min-height: 24px; margin: 12px 0 2px; padding-left: 30px; font-size: 14px; line-height: 1.45; color: var(--pb-ink-85); cursor: pointer; }
.bc .ukc-terms input { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--pb-gold); }
.bc .ukc-terms a { color: var(--pb-gold-text); text-decoration: underline; text-underline-offset: 2px; }

.bc .ukc-go {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 12px; padding: 0 16px;
    border: 0; border-radius: 12px; background: var(--pb-gold); color: var(--pb-on-gold) !important;
    font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s ease;
}
/* inviteProvider's link carries an inline display. */
.bc a.ukc-go { display: flex !important; }
.bc .ukc-go:hover { background: var(--pb-gold-hover); }
.bc .ukc-go[disabled] { opacity: .6; cursor: default; }
.bc .ukc-ghost { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: transparent; color: var(--pb-gold-soft); font-size: 14.5px; font-weight: 600; }
.bc .ukc-ghost:hover { color: var(--pb-gold-bright); }

/* Extras: a checklist, prices in gold mono. */
.bc .ukc-addon {
    position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 56px; margin: 0 !important;
    padding: 8px 2px; border-bottom: 1px solid var(--pb-line-06); color: var(--pb-ink); font-size: 14.5px; font-weight: 500; cursor: pointer;
}
.bc .ukc-addon > img { width: 44px !important; height: 44px !important; border-radius: 8px !important; }
.bc .ukc-addon small { color: var(--pb-ink-60) !important; font-weight: 400; }
.bc .ukc-cb { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
/* The ring for a keyboard, not for the focus the chat moves here itself. */
.bc .ukc-addon:has(.ukc-cb:focus-visible) { outline: 2px solid var(--pb-gold); outline-offset: 2px; border-radius: 8px; }
@supports not selector(:has(*)) { .bc .ukc-addon:focus-within { outline: 2px solid var(--pb-gold); outline-offset: 2px; border-radius: 8px; } }
.bc .ukc-addon .tick {
    width: 22px; height: 22px; flex: none; display: grid; place-items: center;
    border: 1.5px solid rgba(201, 164, 92, 0.6); border-radius: 99px; color: transparent;
}
.bc .ukc-addon .tick svg { width: 12px; height: 12px; }
.bc .ukc-addon.is-on .tick { background: var(--pb-gold); border-color: var(--pb-gold); color: var(--pb-on-gold); }
.bc .ukc-addon .price { margin-left: auto; font-family: var(--pb-mono); font-size: 13px; color: var(--pb-gold-text); }
.bc .ukc-size {
    min-height: 44px; padding: 0 10px; border: 1px solid var(--pb-line-14); border-radius: 10px; background: transparent;
    color: var(--pb-ink-70); font-family: var(--pb-mono); font-size: 12.5px;
}
.bc .ukc-size.is-on { border-color: var(--pb-gold); background: var(--pb-tint-14); color: var(--pb-gold-soft); }

.bc .ukc-upload {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 96px; padding: 18px; border: 1.5px dashed var(--pb-gold-line-55); border-radius: 14px;
    background: var(--pb-tint-10); text-align: center; cursor: pointer;
}
.bc .ukc-upload:has(input:focus-visible) { outline: 2px solid var(--pb-gold); outline-offset: 2px; }
.bc .ukc-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bc .ukc-upload-cta { color: var(--pb-gold-soft); font-weight: 600; font-size: 15px; }
.bc .ukc-upload img { max-width: 100%; max-height: 220px; border-radius: 10px; object-fit: cover; }
.bc .ukc-i { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; }

/* Day and time ---------------------------------------------------------------------- */
.bc-when { width: min(100%, 420px); padding: 10px; display: grid; gap: 10px; }
.bc-days { display: flex; gap: 6px; overflow-x: auto; padding: 3px; margin: -3px; scrollbar-width: none; }
.bc-days::-webkit-scrollbar { display: none; }
.bc-day-tile {
    flex: none; width: 56px; min-height: 66px; display: grid; place-items: center; align-content: center; gap: 1px; padding: 6px 0;
    border: 1px solid transparent; border-radius: 12px; background: var(--bc-tile); color: var(--pb-ink);
}
.bc-day-tile__dow { font-size: 11.5px; color: var(--pb-ink-66); }
.bc-day-tile strong { font-size: 18px; font-weight: 600; line-height: 1.2; }
.bc-day-tile__mon { font-size: 11px; color: var(--pb-ink-60); }
.bc-day-tile em { font-style: normal; font-family: var(--pb-mono); font-size: 10.5px; color: var(--pb-gold-text); }
.bc-day-tile[aria-pressed="true"] { border-color: var(--pb-gold); background: var(--pb-tint-16); }
.bc-other { justify-self: start; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--pb-gold-soft); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bc-other-field { display: grid; gap: 6px; font-size: 13px; color: var(--pb-ink-66); }
.bc-when__label { font-size: 13px; color: var(--pb-ink-66); }
.bc-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bc-times__msg { grid-column: 1 / -1; padding: 2px 4px 4px; font-size: 13px; color: var(--pb-ink-64); }
.bc-time { min-height: 46px; border: 0; border-radius: 10px; background: var(--bc-tile); color: var(--pb-ink); font-family: var(--pb-mono); font-size: 14px; transition: background-color .15s ease; }
.bc-time:hover { background: #2e2a25; }

/* Composer: decorative here - every answer is a tap or a card. ------------------------------ */
.bc-composer {
    flex: none; position: relative; z-index: 45; display: flex; align-items: center; gap: 8px;
    padding: 8px 10px 10px; background: var(--bc-bar); border-top: 1px solid var(--pb-line-06);
}
.bc-composer__pill { flex: 1; display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 23px; background: var(--bc-pill); color: rgba(243, 237, 226, 0.45); font-size: 15.5px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-composer__send { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 99px; background: var(--pb-disabled); color: rgba(243, 237, 226, 0.5); }
.bc-composer__send svg { width: 20px; height: 20px; margin-left: 2px; }
.bc-composer .bc-back { min-height: 44px; }

/* Phones: the conversation is the page. Full bleed, the page scrolls (so iOS can
   bring a focused field into view), header and composer stick, 16px fields stop
   iOS zooming in. --------------------------------------------------------------------- */
@media (max-width: 719px) {
    body.bc-body { background: var(--pb-bg); }
    .bc-stage { display: block; padding: 0; }
    .bc { max-width: none; height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
    .bc-top { position: sticky; top: 0; }
    .bc-thread { flex: 1 0 auto; overflow: visible; }
    .bc-thread > *, .bc-time { scroll-margin: 128px 0 84px; }
    .bc-composer { position: sticky; bottom: 0; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
    .bc-msg { max-width: 84%; }
    .bc-replies, .bc-pick > .bc-reply { width: min(84%, 340px); }
    .bc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bc-panel { width: 100%; }
    .bc-when { width: min(100%, 360px); }
    .bc-sheet { position: fixed; }
    .bc-summary__more { max-height: 50vh; max-height: 50svh; }
    .bc input, .bc select, .bc textarea { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .bc *, .bc *::before, .bc *::after { animation: none !important; transition: none !important; }
    .bc-typing i { opacity: .7; }
}
