/* Exact tokens are sampled from the approved warm-stone requester boards.
   This component carries no global selectors or independent light/dark mode. */
.bc-root {
  --bc-paper: var(--buyer-paper);
  --bc-inset: var(--buyer-inset);
  --bc-tool: var(--buyer-tool);
  --bc-option: var(--buyer-option);
  --bc-disabled: var(--buyer-disabled);
  --bc-ink: var(--buyer-ink);
  --bc-muted: var(--buyer-muted);
  --bc-stroke: var(--buyer-line);
  --bc-blue: var(--buyer-blue);
  --bc-gutter: 23px;
  --bc-foot-gap: 12px;
  --bc-foot-bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  min-block-size: 0;
  min-inline-size: 0;
  block-size: 100%;
  color: var(--bc-ink);
  color-scheme: only light;
  font-family: inherit;
}
.bc-root *,
.bc-root *::before,
.bc-root *::after { box-sizing: border-box; }
.bc-root [hidden] { display: none !important; }
.bc-root button, .bc-root input, .bc-root textarea { font: inherit; color: inherit; }
.bc-root button { cursor: pointer; }
.bc-root button:disabled { cursor: default; }
.bc-root button:focus-visible, .bc-root input:focus-visible, .bc-root textarea:focus-visible {
  outline: 2px solid var(--bc-blue); outline-offset: 2px;
}
.bc-root svg { inline-size: 20px; block-size: 20px; flex: 0 0 auto; }
.bc-screen {
  min-block-size: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  inline-size: 100%;
  max-inline-size: 540px;
  margin-inline: auto;
}
.bc-content { position: relative; min-block-size: 0; min-inline-size: 0; overflow: auto; overscroll-behavior: contain; }
.bc-write-spot {
  --bc-write-start: clamp(28px, calc(50dvh - 265px), 157px);
  display: grid;
  align-content: start;
  min-block-size: 100%;
  padding: var(--bc-write-start) var(--bc-gutter) 12px;
}
/* Preserve the existing desktop and saved-draft layout. */
@media (min-height: 740px) {
  .bc-write-spot { --bc-write-start: clamp(40px, calc(0.5 * (100dvh - 428px)), 208px); }
}
/* Start at the writing position. Use width, not the keyboard's shrinking viewport height. */
@media (max-width: 600px), (pointer: coarse) {
  .bc-write-spot:has(> .bc-write) { --bc-write-start: clamp(24px, 16.5vw, 64px); }
}
.bc-write {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  inline-size: 100%; min-inline-size: 0;
  min-block-size: 134px;
  border-radius: 24px;
  background: var(--bc-inset);
  padding: 14px 9px 10px;
}
.bc-write textarea {
  display: block; resize: none; min-inline-size: 0; inline-size: 100%;
  max-block-size: min(36dvh, 284px); min-block-size: 66px; field-sizing: content;
  border: 0; background: transparent; border-radius: 12px;
  padding: 13px 16px 8px;
  overflow: auto; font-size: 1.5rem; font-weight: 700; line-height: 1.65;
}
/* Focus only changes the outline; empty text stays centered until typing. */
.bc-write textarea:placeholder-shown { direction: inherit; text-align: center; }
.bc-write textarea::placeholder { color: var(--bc-muted); opacity: 1; }
.bc-write textarea:focus:not(:focus-visible) { outline: 0; }
.bc-tools { display: flex; justify-content: space-between; align-items: center; }
.bc-tool {
  position: relative;
  inline-size: 37px; block-size: 37px; border-radius: 13px;
  display: inline-grid; place-items: center;
  border: 0; padding: 0; background: var(--bc-tool);
}
.bc-tool::after { content: ""; position: absolute; inset: -4px; }
.bc-tool:active { transform: scale(.96); }
.bc-tool svg { inline-size: 20px; block-size: 20px; }
.bc-photo-tool { display:inline-flex; align-items:center; gap:8px; }
.bc-photo-tool small { color:var(--bc-muted); font-size:12px; }
.bc-photo-tool button:disabled { opacity:.55; }
/* A quiet note under the photos: muted ink, no side bar (owner: no decorative borders). */
.bc-photo-note { margin:3px 8px; padding:4px 9px; color:var(--bc-muted); font-size:13px; line-height:1.55; }
/* Same rail in write, read-only review and review edit. The content column
   keeps its own vertical scroll; the rail never becomes a vertical scroller. */
.bc-photo-strip { display:flex; flex-flow:row nowrap; align-items:center; gap:8px; min-inline-size:0; max-inline-size:100%; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; padding:3px; scrollbar-width:thin; }
.bc-photo-strip figure { position:relative; flex:0 0 70px; inline-size:70px; block-size:62px; margin:0; }
.bc-photo-open { display:block; width:100%; height:100%; overflow:hidden; border:0; border-radius:12px; padding:0; background:var(--bc-tool); }
.bc-photo-open img { display:block; width:100%; height:100%; object-fit:cover; }
.bc-photo-remove { position:absolute; inset-inline-end:0; inset-block-start:0; display:grid; justify-items:end; align-items:start; width:32px; height:32px; padding:4px; border:0; border-radius:10px; background:transparent; }
.bc-photo-remove span { width:19px; height:19px; display:grid; place-items:center; background:#302e2a; color:white; border:1px solid rgb(255 255 255 /.85); border-radius:50%; }
.bc-photo-remove span svg { width:11px; height:11px; stroke-width:2.5; }
.bc-photo-strip button:focus-visible { outline-offset:-2px; }
.bc-photo-viewer { position:fixed; inset:0; box-sizing:border-box; width:min(94vw,680px); max-height:90dvh; margin:auto; padding:10px; border:0; border-radius:20px; color:#252b31; background:var(--buyer-paper,#f0e9dd); font:inherit; }
.bc-photo-viewer::backdrop { background:rgb(27 25 22 /.68); }
.bc-photo-viewer[open] { display:grid; gap:6px; }
.bc-photo-viewer [hidden] { display:none !important; }
.bc-view-head,.bc-view-nav { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bc-view-head span { padding-inline:8px; font-variant-numeric:tabular-nums; }
.bc-photo-viewer button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:13px; color:inherit; background:var(--buyer-inset,#e8e0d3); cursor:pointer; }
.bc-photo-viewer button:disabled { opacity:.35; cursor:default; }
.bc-photo-viewer svg { width:18px; height:18px; }
.bc-view-stage { display:flex; flex-flow:row nowrap; min-width:0; height:min(58dvh,520px); background:#302e2a; border-radius:12px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:none; touch-action:pan-x pinch-zoom; }
.bc-view-stage::-webkit-scrollbar { display:none; }
.bc-view-slide { min-width:0; flex:0 0 100%; height:100%; display:grid; place-items:center; scroll-snap-align:center; scroll-snap-stop:always; }
.bc-view-head [role=status]:focus { outline:none; }
.bc-photo-viewer[dir=ltr] .bc-view-nav svg { transform:scaleX(-1); }
.bc-photo-viewer .bc-view-retry { width:auto; max-width:92%; padding-inline:12px; }

.bc-view-stage img { display:block; width:100%; height:100%; object-fit:contain; }
.bc-view-stage p { color:white; }
.bc-footer {
  position: relative;
  display: grid; justify-items:center; padding: var(--bc-foot-gap) var(--bc-gutter) var(--bc-foot-bottom);
}
.bc-cta {
  position: relative; display: grid; place-items:center; inline-size: 100%; min-block-size: 49.5px;
  background: var(--buyer-action-fill); color: var(--buyer-action-on) !important; border: 0; border-radius: 16px;
  font-size: 17px !important; line-height: 1.35; font-weight: 700 !important; padding: 7px 42px;
}
.bc-write-actions { display:grid; inline-size:100%; }
.bc-draft-review small { font-size:.75em; font-weight:500; }
.bc-write-actions[data-bc-quick-review] [data-bc-action="next"] {
  min-block-size:44px; background:none; color:var(--bc-muted) !important; font-size:14px !important;
}
.bc-write-actions[data-bc-quick-review] [data-bc-action="next"] svg { display:none; }
/* Reserve the keyboard and footer inside the composer while the shell stays fixed.
   On short phones the field scrolls internally before it meets the raised actions. */
/* Every step, not only writing: the footer rides above the keyboard and the content
   ends at the footer, so what sits under a focused field (a city list) scrolls into
   reach instead of hiding behind the action (owner, 2026-11-29: «ما اقدر اسوي سكرول»). */
[data-buyer-keyboard] .bc-screen {
  padding-block-end: max(0px, calc(var(--buyer-keyboard-overlap) - var(--bc-foot-bottom) + 10px));
}
[data-buyer-keyboard] .bc-screen:has(.bc-write-actions) .bc-content { container-type: size; }
[data-buyer-keyboard] .bc-write textarea {
  max-block-size: min(36dvh, 284px, max(66px, calc(100cqh - var(--bc-write-start) - 14px)));
}
.bc-cta svg { position:absolute; inset-inline-end: 16px; }
/* «إرسال الطلب»: the paper plane rides snug after the words (left of them in Arabic, right in English), centred as one group. */
.bc-cta:has(> .bf-plane-icon) { display:flex; justify-content:center; align-items:center; gap:10px; }
.bc-cta > .bf-plane-icon { position:static; }
.bc-cta:disabled { background: var(--bc-disabled); color: var(--bc-muted) !important; opacity: 1; }
.bc-cta:active:not(:disabled) { background: var(--buyer-action-pressed); }
.bc-pill {
  max-inline-size: calc(100% - 2 * var(--bc-gutter)); position: absolute;
  inset-block-end: calc(100% + 5px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bc-inset); color: var(--bc-muted); min-block-size: 30px;
  border-radius: 13px; padding: 4px 12px; font-size: 14px; font-weight: 700;
  text-align: center; overflow-wrap: anywhere;
}
.bc-pill svg { inline-size:17px; block-size:17px; }
.bc-step-top {
  margin: 4px var(--bc-gutter) 0;
  min-block-size: 43px; position: relative; display:flex; align-items:center; justify-content: center;
}
.bc-step-top .bc-tool {
  position: absolute; inset-inline-start: -4px; min-block-size: 44px; min-inline-size:44px;
  background: transparent; border-radius: 0;
}
.bc-step-top span { font-size: 16px; font-weight: 700; }
.bc-step-top .bc-step-summary {
  max-inline-size: calc(100% - 96px); min-inline-size: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--bc-muted); font-size: 14px; line-height: 1.45; font-weight: 600;
}
.bc-body { margin: 16px var(--bc-gutter) 36px; min-inline-size: 0; }
.bc-body h1 { margin: 0 0 29px; font-size: clamp(1.4375rem, 7vw, 2rem); line-height: 1.45; font-weight: 700; overflow-wrap: anywhere; outline: 0; }
.bc-choices, .bc-places { display: grid; gap: 11px; }
.bc-row,.bc-button,.bc-input-wrap {
  display:flex; align-items:center; min-block-size:48px; gap:12px; inline-size:100%; min-inline-size: 0;
  border: 0; border-radius: 16px; background: var(--bc-option); text-align: start; padding:8px 14px;
  font-size: 16px !important; line-height:1.45;
}
.bc-row[aria-pressed=true], .bc-input-wrap { background: var(--bc-inset); }
.bc-row svg,.bc-button svg,.bc-input-wrap svg { color: var(--bc-blue); }
.bc-row svg:last-child:not(:first-child) { margin-inline-start:auto; }
.bc-row span,.bc-button span { overflow-wrap:anywhere; }
.bc-contact-check { margin-inline-start:auto; display:inline-flex; flex:none; align-items:center; }
.bc-contact .bc-contact-check svg { inline-size:15px; block-size:15px; stroke-width:2.3; }
.bc-contact bdi,.bc-code-line bdi { white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .025em; }
.bc-add-phone { font-weight: 700 !important; }
.bc-input-wrap input { border: 0; border-radius: 8px; background: transparent; inline-size: 100%; min-inline-size:0; min-block-size: 32px; padding: 2px 4px; font-size: 17px; }
.bc-input-wrap input::placeholder { color: var(--bc-muted); }
.bc-phone-field input { text-align: right; letter-spacing: .025em; font-variant-numeric: tabular-nums; }
.bc-link { border:0; padding:6px 0; min-block-size:44px; background:none; color:var(--bc-blue) !important; font-weight:700 !important; }
.bc-link:disabled { color:var(--bc-muted) !important; }
.bc-code-line { display: flex; flex-wrap: wrap; align-items:center; gap: 8px 12px; margin-block-start:-17px; margin-block-end:12px; color:var(--bc-muted); }
.bc-code-line .bc-link { margin-inline-start:auto; }
.bc-code {
  position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px;
  inline-size: min(100%, 226px);
}
.bc-code > span {
  display:grid; place-items:center; min-inline-size:0; min-block-size:51px;
  background:var(--bc-tool); border:1px solid var(--bc-stroke); border-radius:12px; font-size:22px; font-weight:700; font-variant-numeric:tabular-nums;
}
/* Four distinct cells; keep one real field for SMS autofill and pasting. */
.bc-code:focus-within .bc-cell-next,
.bc-code:focus-within:not(:has(.bc-cell-next)) > span:last-of-type {
  border-color:var(--bc-blue);
  box-shadow:0 0 0 1px var(--bc-blue);
}
.bc-code-feedback { margin:10px 0 0; color:#9d302d; font-size:.9rem; line-height:1.55; }
.bc-code:has(input[aria-invalid="true"]) > span { border-color:#9d302d; }
.bc-code input { position:absolute; inset:0; inline-size:100%; block-size:100%; opacity:0; font-size:16px; margin:0; padding:0; border:0; }
.bc-resend { margin-block-start: 14px; }
.bc-legal, .bc-confirm-copy { margin: 0; white-space: pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.bc-legal a { color: var(--bc-blue); display:inline-block; padding-block:10px; margin-block:-10px; }
/* Arabic joins «و» to the next word; its translation ends bare, so the second link keeps its own space in left-to-right text. */
[dir=ltr] .bc-legal a + a { margin-inline-start:.3em; }
/* The shell writes dir on the buyer root, an ancestor of .bc-root: match either seat, or the arrows never turn in English. */
:is([dir=ltr] .bc-root,.bc-root[dir=ltr]) .bc-cta svg:is(:has(path[d^="M19"])),
:is([dir=ltr] .bc-root,.bc-root[dir=ltr]) .bc-step-top .bc-tool svg { transform: scaleX(-1); }
@media (max-width: 350px) {
  .bc-root { --bc-gutter: 17px; }
  .bc-body h1 { margin-block-end:22px; }
}
@media (prefers-reduced-motion: reduce) { .bc-tool:active { transform:none; } }
.bc-place-note { margin: 2px 3px; font-size: 13px; color: var(--bc-muted); }
@media (min-height: 740px) {
}

/* Keep focus on the visible field surface, including the icon and attachments. */
.bc-write:focus-within:has(textarea:focus),
.bc-input-wrap:focus-within { outline: 2px solid var(--bc-blue); outline-offset: 0; }
.bc-root :is(.bc-write,.bc-input-wrap,.bc-code) :is(input,textarea):focus {
  outline: 0; box-shadow: none;
}
.bc-phone-field { --bc-autofill-fill: var(--bc-inset); }
.bc-phone-field input { -webkit-appearance: none; appearance: none; }
.bc-phone-field input:-webkit-autofill,
.bc-phone-field input:-webkit-autofill:hover,
.bc-phone-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 80px var(--bc-autofill-fill) inset !important;
  box-shadow: 0 0 0 80px var(--bc-autofill-fill) inset !important;
  -webkit-text-fill-color: var(--bc-ink) !important;
  caret-color: var(--bc-ink);
}
.bc-phone-field input::selection { background: var(--bc-blue); color: white; }
[data-bc-recent]:empty { display: none; }
.bc-recent { padding: 3px 0 0; }
.bc-recent h2 { font-size: 14px; font-weight: 600; margin: 0 0 7px; color:var(--bc-muted); display:flex; align-items:center; gap:8px; }
.bc-recent h2 svg { inline-size: 16px; block-size: 16px; }
.bc-recent-scroll {
  display: grid; align-content:start; gap: 6px; max-block-size:144px;
  overflow-y:auto; overscroll-behavior-y:contain; border-radius: 14px; scrollbar-width: thin;
}
.bc-recent-scroll .bc-row { min-block-size:44px; flex-shrink:0; border-radius:12px; }
.bc-city-accordion { background:var(--bc-option); border-radius:16px; min-inline-size:0; }
.bc-city-accordion summary { list-style:none; cursor:pointer; }
.bc-city-accordion summary::-webkit-details-marker { display:none; }
.bc-city-accordion summary:focus-visible { outline:2px solid var(--bc-blue); outline-offset:1px; }
.bc-city-accordion summary .bc-city-selected { display:inline-flex;align-items:center;color:var(--bc-blue); }
.bc-city-accordion summary .bc-city-selected svg:only-child { inline-size:16px;block-size:16px;color:inherit;transform:none; }
.bc-city-accordion summary small { color:var(--bc-muted); margin-inline-start:auto; }
.bc-city-accordion summary > svg:last-child { inline-size:16px; block-size:16px; color:var(--bc-muted); transition:transform var(--buyer-overlay-exit,115ms) var(--buyer-overlay-ease,cubic-bezier(.22,.75,.22,1)); }
.bc-city-accordion[data-expanded=true] summary > svg:last-child { transform:rotate(180deg); transition-duration:var(--buyer-overlay-duration,175ms); }
.bc-city-accordion summary > small + svg:last-child { margin-inline-start:0; }
.bc-city-fold { display:grid; grid-template-rows:0fr; transition:grid-template-rows var(--buyer-overlay-exit,115ms) var(--buyer-overlay-ease,cubic-bezier(.22,.75,.22,1)); }
.bc-city-accordion[data-expanded=true] .bc-city-fold { grid-template-rows:1fr; transition-duration:var(--buyer-overlay-duration,175ms); }
.bc-city-clip { min-block-size:0; overflow:hidden; }
/* The search field keeps the list's own 6px gap under the city row (owner: no flush seam). */
.bc-city-body { display:grid; gap:6px; padding:6px 8px 8px; }
.bc-city-body .bc-input-wrap, .bc-city-body .bc-row { border-radius:12px; }
.bc-city-body .bc-places { max-block-size:min(36vh, 230px); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; gap:4px; }
.bc-city-body .bc-places .bc-row { min-block-size:44px; }
@media (prefers-reduced-motion:reduce) { .bc-city-fold, .bc-city-accordion summary > svg:last-child { transition:none; } }

/* Execution address (one) and the offer catchment (many) are separate controls. */
.bc-root[data-bc-step=location] .bc-body h1{margin-block-end:16px}
.bc-location-choices{gap:9px}
.bc-location-modes{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:7px}
.bc-location-modes .bc-row{min-block-size:44px;gap:8px;padding-inline:10px}
.bc-location-modes .bc-row svg{inline-size:17px;block-size:17px}
.bc-location-choices .bc-city-body .bc-places{max-block-size:min(132px,30dvh);gap:0;scroll-padding-block:4px}
.bc-location-choices .bc-city-body .bc-places .bc-row{min-block-size:44px;padding-block:6px}
.bc-location-choices .bc-places .bc-row:disabled{color:var(--bc-muted)}
.bc-location-choices .bc-places .bc-place-note{padding:8px}
.bc-source-scope{border-block-start:1px solid var(--bc-stroke);padding-block-start:12px;min-inline-size:0}
.bc-source-scope h2{font-size:15px;font-weight:650;margin:0 0 5px}
.bc-city-pills{display:flex;gap:6px;align-items:center;min-inline-size:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 7px}
.bc-city-pill{display:inline-flex;flex:none;align-items:center;gap:5px;white-space:nowrap;background:var(--bc-inset);padding:5px 11px;border:0;border-radius:12px;line-height:1.45;font-size:14px!important}
button.bc-city-pill{min-block-size:32px}
.bc-city-pill svg,.bc-hood-toggle svg{inline-size:14px;block-size:14px}
.bc-source-scope .bc-city-accordion:not([open]),.bc-source-scope .bc-city-accordion:not([open]) summary{background:transparent}
.bc-source-scope summary{min-block-size:44px;padding-inline:2px;color:var(--bc-ink)}
.bc-source-scope summary .bc-city-pills{padding-block:2px;flex:0 1 auto}
.bc-source-scope summary.bc-row>svg:last-child:not(:first-child){margin-inline-start:0}
.bc-offer-all{border-block-end:1px solid var(--bc-stroke);border-radius:0}
.bc-local-branch{margin-inline-start:22px;padding-inline-start:12px;position:relative;min-inline-size:0;animation:bc-branch-in .15s ease-out}
.bc-local-branch:before{content:"";position:absolute;inset-inline-start:0;inset-block-start:0;inline-size:10px;block-size:20px;border-inline-start:1px solid var(--bc-stroke);border-block-end:1px solid var(--bc-stroke);border-end-start-radius:7px}
.bc-hood-toggle{display:flex;align-items:center;gap:7px;max-inline-size:100%;min-block-size:40px;padding:4px 7px;border:0;border-radius:10px;background:transparent;color:var(--bc-muted)!important;text-align:start}
.bc-hood-toggle span{overflow-wrap:anywhere}
.bc-hood-toggle[aria-expanded=true] svg:last-child{transform:rotate(180deg)}
.bc-hood-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .15s ease-out}
.bc-hood-fold[data-expanded=true]{grid-template-rows:1fr}
.bc-hood-fold>div{overflow:hidden;min-block-size:0;padding-inline:2px}
.bc-hood-fold .bc-input-wrap{margin-block:2px}
@keyframes bc-branch-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.bc-local-branch{animation:none}.bc-hood-fold{transition:none}}
.bc-location-modes .bc-precise-choice{font-size:clamp(13px,3.65vw,16px);padding-inline:8px}
.bc-location-modes .bc-row span{overflow-wrap:normal}
.bc-geo-status{margin:0 2px;line-height:1.45}
.bc-map-choice{color:var(--bc-blue)!important}
.bc-location-map{color:var(--bc-ink);background:var(--bc-paper);border:1px solid var(--bc-stroke);
  border-radius:22px;padding:14px;margin:auto;inline-size:min(94vw,550px);max-block-size:calc(100dvh - 32px);overscroll-behavior:contain}
.bc-location-map::backdrop{background:rgb(24 22 19 / .38)}
.bc-location-map header{display:flex;align-items:center;gap:12px;margin-block-end:10px}
.bc-location-map h2{font-size:17px;margin:0}
.bc-map-frame{position:relative;block-size:min(52dvh,400px);min-block-size:160px;background:var(--bc-inset);border-radius:15px;overflow:hidden}
.bc-map-frame [data-map-host]{block-size:100%;inline-size:100%;direction:ltr}
.bc-map-marker{display:grid;place-items:center;position:absolute;left:50%;inset-block-start:50%;
  translate:-50% -100%;pointer-events:none;color:var(--bc-blue);filter:drop-shadow(0 1px 1px #fff)}
.bc-map-marker svg{inline-size:30px;block-size:30px;fill:var(--bc-paper)}
.bc-location-map footer{display:grid;gap:8px;margin-block-start:10px}
.bc-location-map .bc-cta{position:static}
.bc-review-address{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px}
.bc-review-precision{display:inline-flex;align-items:center;gap:5px;color:var(--bc-blue);background:var(--bc-tool);
  padding:4px 8px;border-radius:9px;font-size:13px;white-space:nowrap}
.bc-review-precision svg{inline-size:15px;block-size:15px}
@media(max-width:350px){.bc-location-modes{gap:4px}.bc-location-modes .bc-row{padding-inline:6px;gap:4px;font-size:13px}
  .bc-location-modes .bc-row svg{inline-size:15px;block-size:15px}}
/* Once a primary is chosen, previous addresses belong to "change city".
   Keep its optional address branch and the offer-city pills adjacent. */
.bc-location-choices[data-has-execution=true]:not(:has(.bc-city-accordion[data-scope=execution][data-expanded=true])) [data-bc-recent]{display:none}

/* Recording occupies the field, without pushing the microphone away from it. */
.bc-voice {margin:0 8px 7px; padding:7px 10px; min-inline-size:0; display:flex; flex-wrap:wrap; align-items:center; gap:7px; color:var(--bc-ink); background:var(--bc-tool); border-radius:12px; font-size:13px; line-height:1.5;}
.bc-v-state {display:inline-flex;align-items:center;gap:7px}
.bc-v-state::before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.bc-voice:is([data-phase="recording"],[data-speech]) .bc-v-state::before {background:var(--bc-blue)}
.bc-voice time {color:var(--bc-muted);font-variant-numeric:tabular-nums}
.bc-v-wave {min-inline-size:0;max-inline-size:38%;display:flex;align-items:center;gap:2px;height:21px;margin-inline-start:auto}
.bc-v-wave i {width:3px;border-radius:2px;background:var(--bc-blue)}
.bc-v-wave:empty,.bc-v-words:empty {display:none}
.bc-v-words {width:100%;max-block-size:5em;overflow:auto;overflow-wrap:anywhere}
.bc-tools button[data-bc-action="mic"][aria-pressed="true"] {color:var(--bc-blue);box-shadow:inset 0 0 0 1px currentColor}

/* The code advances by itself. Only show the footer action for a retryable error. */
.bc-root[data-bc-step="code"] .bc-cta[hidden] { display:none; }
.bc-root[data-bc-step="code"] .bc-footer:has(.bc-cta[hidden]) { display:none; }
.bc-code-feedback:not([hidden]) { scroll-margin-block-end:12px; }


.bc-root[data-bc-step=confirm] .bc-body { padding-block-start:12px; }
.bc-root[data-bc-step=confirm] h1 { margin-block-end:14px; }
.bc-review { display:grid; text-align:start; min-inline-size:0; }
.bc-review-row { min-inline-size:0; padding-block:7px 13px; border-block-end:1px solid var(--bc-stroke); }
.bc-review-row:last-child { border-block-end:0; }
.bc-review-row > header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bc-review-row h2 { margin:0; color:var(--bc-muted); font-size:.91rem; font-weight:600; overflow-wrap:anywhere; }
.bc-review .bc-review-edit { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:13px; color:var(--bc-blue); background:transparent; }
.bc-review-edit svg { width:18px; height:18px; }
.bc-review-value,.bc-review-detail { margin:0; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.bc-review-value { font-size:1.05rem; }
.bc-review-detail,.bc-review-sub { margin-block-start:6px; font-size:.9rem; }
.bc-review-sub { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.bc-review-sub > span { color:var(--bc-muted); }
.bc-review-cities { display:flex; gap:6px; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
.bc-review-cities bdi { flex:none; background:var(--bc-inset); padding:3px 10px; border-radius:12px; }
.bc-review-tools { display:flex; flex-wrap:wrap; gap:6px; }
.bc-review-tools button,.bc-review-add { min-height:44px; border:0; border-radius:12px; background:transparent; color:var(--bc-blue)!important; text-align:start; padding:4px 9px; }
.bc-review-editor textarea { box-sizing:border-box; width:100%; min-height:72px; border:1px solid var(--bc-stroke); border-radius:13px; padding:9px 12px; background:var(--bc-inset); font-size:17px; resize:vertical; }
.bc-reader-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
/* An inline, bounded suggestion list under the selected execution city; no overlay on the keyboard. */
.bc-hood-list{display:grid;max-block-size:min(140px,25dvh);overflow-y:auto;overscroll-behavior:contain;padding:2px;margin-block:3px;background:var(--bc-option);border-radius:12px}
.bc-hood-list button,[data-hood-action=retry]{min-block-size:44px;padding:7px 12px;border:0;background:transparent;color:var(--bc-ink);text-align:start;font:inherit}
.bc-hood-list button[aria-pressed=true],.bc-hood-list button:focus-visible,[data-hood-action=retry]{color:var(--bc-blue);font-weight:600}
/* Source choice appears at the camera control, in the same stone palette as the composer. */
.bc-photo-sources { position:fixed; inset:auto; margin:0; padding:4px; border:1px solid var(--bc-stroke); border-radius:14px; background:var(--bc-paper); color:var(--bc-ink); box-shadow:0 6px 24px rgb(30 25 18 / .16); }
.bc-photo-sources::backdrop { background:transparent; }
.bc-photo-sources button { display:block; width:100%; text-align:start; min-height:44px; border:0; border-radius:10px; padding:6px 16px; background:transparent; }
.bc-photo-sources button:active { background:var(--bc-inset); }

/* Published edits live in the request tab, in the same frame as review before
   sending. Only confirmation of discarding uses a dialog. */
.buyer-owner-edit .bc-edit-note{margin:0 0 8px;color:var(--bc-muted);text-align:center;font-size:.91rem;line-height:1.5}
.buyer-owner-edit .bc-edit-note:empty{display:none}
.buyer-owner-edit .bc-edit-back{background:var(--bc-tool);color:var(--bc-ink)!important}

.bc-owner-terms{margin-top:14px;color:var(--bc-ink)}
.bc-owner-terms summary{cursor:pointer;font-weight:700}
.bc-owner-term-fields{display:grid;gap:12px;padding:10px 0 6px}
.bc-owner-term{display:grid;gap:4px;font-weight:650}
.bc-owner-term input,.bc-owner-term select{width:100%;min-height:44px;border:0;border-radius:13px;background:var(--bc-inset);color:inherit;padding:7px 12px;font:inherit}
.bc-owner-handling{display:flex;align-items:center;gap:8px;min-height:34px}
.bc-review-photo-rail>.bc-photo-strip{display:contents}
.bc-add-photo-tile{display:grid;place-items:center;flex:0 0 70px;inline-size:70px;block-size:62px;border:1px dashed var(--bc-stroke);border-radius:12px;background:var(--bc-inset);color:var(--bc-blue)!important}
.bc-add-photo-tile:disabled{color:var(--bc-muted)!important;opacity:.6}

.bc-contact-item { min-inline-size:0; }
.bc-contact-row,.bc-contact-review { display:flex; align-items:center; gap:5px; }
.bc-contact-row { border-radius:16px; background:var(--bc-option); }
.bc-contact-row:has(.bc-contact[aria-pressed=true]) { background:var(--bc-inset); }
.bc-contact-row .bc-contact { min-inline-size:0; flex:1; background:transparent; padding-inline-end:4px; }
.bc-contact-label { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 7px; min-inline-size:0; text-align:start; }
.bc-contact .bc-contact-name,.bc-contact-name { white-space:normal; overflow-wrap:anywhere; letter-spacing:normal; font-weight:650; }
.bc-contact-number { color:var(--bc-muted); font-size:.88em; }
.bc-contact-name:not([hidden]) ~ .bc-contact-number-line { flex-basis:100%; }
.bc-contact .bc-contact-primary,.bc-contact-primary { color:var(--bc-blue); font-size:.72em; font-weight:650; }
.bc-root .bc-contact-rename {
  display:grid; place-items:center; flex:none; inline-size:44px; block-size:44px;
  padding:0; border:0; border-radius:13px; color:var(--bc-blue); background:transparent;
}
.bc-contact-row .bc-contact-rename { margin-inline-end:3px; }
.bc-contact-rename:disabled { opacity:.55; }
.bc-contact-name-form .bc-review-tools button { inline-size:auto; padding-inline:10px; }
.bc-contact-name-form [data-bc-action=close-contact-name] { color:var(--bc-muted)!important; }
.bc-contact-name-form { margin-block-start:7px; margin-inline-start:8px; }
.bc-contact-name-field { display:grid; gap:4px; }
.bc-contact-name-field > span:first-child,.bc-contact-note { font-size:.87em; color:var(--bc-muted); }
.bc-contact-note { margin:0; }
.bc-contact-review { justify-content:space-between; min-block-size:42px; }
.bc-contact-role { display:block; margin-block:4px; margin-inline-start:auto; flex:none; }
.bc-contact-role select { min-block-size:44px; max-inline-size:100%; padding-inline:8px;
  border:1px solid var(--bc-stroke); border-radius:10px; background:var(--bc-option); color:inherit; font:inherit; font-size:.88em; }
.bc-contact-review { flex-wrap:wrap; }
/* FIRST-RUN-01: a guest's empty box says what writing brings. It sits under the
   box so the box never moves, and leaves the moment text, dictation or a photo exists. */
.bc-invite {
  display: grid; justify-items: center;
  margin-block-start: 26px; text-align: center;
  transition: opacity 145ms var(--buyer-ease), visibility 0s linear 0s;
}
.bc-write-spot:has(textarea:not(:placeholder-shown), .bc-voice) .bc-invite {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 115ms var(--buyer-ease), visibility 0s linear 115ms;
}
.bc-invite-line { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--bc-ink); text-wrap: balance; }
.bc-invite-line b { font-weight: 600; color: var(--bc-blue); }
.bc-invite-try { margin: 24px 0 10px; font-size: 13px; color: var(--bc-muted); }
.bc-invite-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bc-example {
  min-block-size: 44px; padding: 0 15px; border-radius: 13px;
  border: 1px solid var(--bc-stroke); background: transparent;
  color: var(--bc-ink); font: inherit; font-size: 14px; line-height: 1.4;
  transition: background-color 135ms ease, transform 90ms var(--buyer-ease);
}
.bc-example:active { transform: scale(.97); background: var(--bc-tool); }
@media (hover: hover) { .bc-example:hover { background: var(--bc-tool); } }
.bc-contact-privacy { margin-block-start: 12px; padding-inline: 4px; line-height: 1.7; }
/* The quiet companion above «مراجعة الطلب» presses like a quiet control: a stone tint, never the action's
   pressed blue (owner 2026-11-29: «يعطي زر ازرق مختلف وغريب وملاصق للي تحت… مهو من جنس ازرارنا»).
   It sits apart from the filled action under it. */
.bc-write-actions[data-bc-quick-review] { gap: 6px; }
.bc-write-actions[data-bc-quick-review] .bc-cta[data-bc-action="next"]:active:not(:disabled) {
  background: var(--bc-tool); color: var(--bc-ink) !important;
}
/* CITY-HINT: a light, see-through word above a mistyped city. The chip is the only
   visible shape; both 44px targets stay boxless. It sits over the box, never in its flow. */
.bc-city-hint {
  position: absolute; z-index: 2; display: flex; align-items: center;
  block-size: 44px; pointer-events: none;
}
.bc-city-hint button {
  pointer-events: auto; display: grid; place-items: center; min-block-size: 44px; min-inline-size: 44px;
  margin: 0; padding: 0; border: 0; background: transparent; -webkit-tap-highlight-color: transparent;
}
.bc-city-hint-chip {
  display: inline-flex; align-items: center; gap: 5px; block-size: 25px; padding-inline: 9px 10px; border-radius: 12px;
  background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 1px 8px rgb(42 36 28 / .10); color: var(--bc-blue); font-size: 14px; font-weight: 650; line-height: 1; white-space: nowrap;
}
.bc-city-hint-chip svg { inline-size: 15px; block-size: 15px; opacity: .75; }
.bc-city-hint-chip svg:dir(ltr) { scale: -1 1; }
.bc-city-hint .bc-city-hint-x { margin-inline-start: -10px; color: var(--bc-muted); }
.bc-city-hint-x svg { inline-size: 14px; block-size: 14px; }
.bc-city-hint-use:active .bc-city-hint-chip { background: rgb(255 255 255 / .85); }
.bc-city-hint button:focus-visible { outline: 0; }
.bc-city-hint button:focus-visible > :is(.bc-city-hint-chip, svg) { outline: 2px solid var(--bc-blue); outline-offset: 2px; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .bc-city-hint { animation: bc-city-hint-in 170ms var(--buyer-ease, ease-out) both; }
  @keyframes bc-city-hint-in { from { opacity: 0; translate: 0 3px; } }
}
