/* Shared web polish. Theme colours switch atomically; only the selector moves. */
[data-testid="modal-sheet"] {
  --bb-edge: light-dark(#737f90, #8293aa);
  --bb-outline: light-dark(#145259, #a0e5dc);
  border-top: 1px solid var(--bb-edge);
}
[data-testid="settings"], [data-testid="premium"] { scrollbar-width: thin; scrollbar-color: var(--bb-edge) transparent; }
[data-testid="settings-header"] { box-shadow: 0 2px 6px rgba(0,0,0,.09); z-index: 1; }
:is([data-testid="modal-sheet"], [data-testid="side-nav"], [data-testid="ob-account-panel"]) [dir="auto"] {
  -webkit-hyphens: manual !important; hyphens: manual !important; text-wrap: pretty; overflow-wrap: break-word;
}
[data-testid="modal-sheet"] [role="button"]:focus-visible,
[data-testid="modal-sheet"] [role="tab"]:focus-visible { outline: 3px solid var(--bb-outline); outline-offset: 2px; }
@media (hover:hover) {
  [data-testid="modal-sheet"] :is([role="button"],[role="tab"]):not([role="tab"]):not([aria-disabled="true"]):hover { box-shadow: inset 0 0 0 2px var(--bb-edge); }
}
@media (hover:hover) { [data-testid="modal-sheet"] [role="tab"]:hover { background:light-dark(#182a4411,#c4d8ef17); border-radius:999px; } }
[data-testid="modal-sheet"] :is(input, textarea):focus-visible { outline: 3px solid var(--bb-outline); outline-offset: 2px; }
@media (hover:hover) { [data-testid="modal-sheet"] :is(input,textarea):hover { border-color: var(--bb-outline); } }
[data-testid="modal-sheet"] :is(input,textarea):active { box-shadow: inset 0 0 0 1px var(--bb-outline); }
/* Equal flex columns: the pill starts after 4px padding and advances by its width + the 4px gap.
   Leave the existing wrapped controls intact on very narrow views and at enlarged text sizes. */
[data-testid="settings"] [role="tablist"]:not([style*="wrap"]) { --count: 2; --index: 0; }
[data-testid="settings"] [role="tablist"]:has(> [role="tab"]:nth-child(3)) { --count: 3; }
[data-testid="settings"] [role="tablist"]:has(> [role="tab"]:nth-child(2)[aria-selected="true"]) { --index: 1; }
[data-testid="settings"] [role="tablist"]:has(> [role="tab"]:nth-child(3)[aria-selected="true"]) { --index: 2; }
@media (min-width:360px) {
  [data-testid="settings"] [role="tablist"]:not([style*="flex-wrap: wrap"])::before {
    content:""; position:absolute; pointer-events:none; top:4px; bottom:4px; left:4px;
    width:calc((100% - 4px)/var(--count) - 4px); border-radius:999px;
    background:light-dark(#fff,#293849); box-shadow:inset 0 0 0 1.5px var(--bb-outline);
    transform:translateX(calc(var(--index) * (100% + 4px))); transition:transform 220ms ease-out;
  }
  [data-testid="settings"] [role="tablist"]:not([style*="flex-wrap: wrap"]) > [role="tab"] > div {background:transparent !important; border-color:transparent !important}
  [data-testid="settings"] [role="tablist"]:not([style*="flex-wrap: wrap"]) [role="tab"] [dir="auto"] {color:light-dark(#0d1420,#eef3fa) !important}
}
@media(prefers-reduced-motion:reduce){[data-testid="settings"] [role="tablist"]::before{transition:none !important}}
.bb-not-found { align-items:center; text-align:center; padding-block:clamp(28px,8vh,84px) 28px; }
.bb-not-found::before,.bb-not-found .plate,.bb-not-found a.home {align-self:center;text-align:center}
.bb-not-found a.home:active {filter:brightness(.9)}

#fovuna-first-paint.on{will-change:opacity;isolation:isolate}
@media(prefers-reduced-motion:no-preference){#fovuna-first-paint.on .fp-ex{transform:translateZ(0)}}
#fovuna-first-paint .fp-col>.fp-g:last-child{position:relative}#fovuna-first-paint .fp-status{position:absolute;top:100%;margin-top:3px}#fovuna-first-paint .fp-col{padding-bottom:40px}
@media(max-width:1023px){.fp-cap,[data-testid="welcome-example-caption"]{margin-bottom:16px!important}#fovuna-first-paint .fp-ex,[data-testid="welcome-example"]{max-height:25svh}}
@media(min-width:1024px){#fovuna-first-paint .fp-col,[data-testid="onboarding"]>div:has([data-testid="ob-welcome-title"]){padding-top:clamp(56px,13svh,146px)!important}}
[data-testid="onboarding"]>div:has([data-testid="ob-skip-later"]){min-height:97svh;justify-content:center;gap:clamp(16px,4svh,40px)!important}
[data-testid="ob-step-title"]{text-wrap:balance;font-size:clamp(26px,6.9vw,34px)!important}


/* The napkin, cream stoneware and etched smile are drawn in the first DOM paint. */
.bb-table-scene,.bb-not-found .plate,.bb-serving {--linen:light-dark(#d7c8b3,#23333d);--linen-hi:light-dark(#ede0ca,#374d57);--runner:light-dark(#3a6571,#294552);--cutlery:light-dark(#576c72,#a9b9b6)}
.bb-table-scene{width:100%;height:clamp(96px,16svh,146px);overflow:hidden;border-radius:18px;isolation:isolate;background:var(--linen)}
.bb-table-scene svg{display:block;width:100%;height:100%}
[data-testid="diary-table-art"]{height:clamp(102px,18svh,172px)}
[data-testid="premium-table"] .bb-table-scene{height:100%}
.bb-not-found .plate{border-radius:16px;max-width:100%}
.bb-not-found a.home{background:light-dark(#145e65,#86d8ce);color:light-dark(white,#102827)}
:is(.fp-ex,[data-testid="welcome-example"])::after{content:none}
#fovuna-first-paint[aria-busy="true"] .fp-btn[aria-pressed="true"]::after{content:"";width:12px;height:12px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent}
[data-testid="modal-sheet"] *{scrollbar-width:thin;scrollbar-color:var(--bb-edge) transparent}
[data-testid="settings"] [data-testid="theme"]::before{transition:none!important}
@media(prefers-reduced-motion:no-preference){
 #fovuna-first-paint[aria-busy="true"] .fp-btn[aria-pressed="true"]::after{animation:bb-turn .8s linear infinite}@keyframes bb-turn{to{transform:rotate(1turn)}}
}

.bb-table-scene{position:relative}
@media(max-width:1023px){#fovuna-first-paint .fp-logo{font-size:23px;letter-spacing:-.7px}}
@media(min-width:1024px) and (min-height:720px){#fovuna-first-paint .fp-col,[data-testid="onboarding"]>div:has([data-testid="ob-welcome-title"]){padding-top:clamp(90px,18svh,172px)!important}}
.bb-not-found .plate{width:min(100%,460px);height:auto;max-height:22svh}
@media(prefers-reduced-motion:no-preference){.bb-not-found .plate g[transform]{transform-box:fill-box;transform-origin:center;transition:rotate .3s ease-out}.bb-not-found:has(:is(.plate:hover,a.home:focus-visible)) .plate g[transform]{rotate:7deg}}

.bb-art-status{position:absolute;inset:0;display:grid;place-content:center;background:var(--linen);color:light-dark(#354959,#edf1ee);font:600 15px var(--bb-font,system-ui)}
html:not(.bb-first-welcome) #root:empty::before{content:"BigBelly  ·  Opening your diary…";color:light-dark(#304557,#cddfdc);background:linear-gradient(135deg,transparent 46%,light-dark(#dae4e0,#1b292c) 46%,light-dark(#dae4e0,#1b292c) 54%,transparent 54%);font-size:clamp(17px,3vw,26px)}
html[lang=nl]:not(.bb-first-welcome) #root:empty::before{content:"BigBelly  ·  Je dagboek wordt geopend…"}

[data-testid="modal-sheet"] [role="tab"]:focus-visible { outline-offset:-3px; border-radius:999px; }
[data-testid="modal-sheet"] [role="tab"]:active { box-shadow:inset 0 0 0 2px var(--bb-edge); border-radius:999px; }
[data-testid="capture-heading"]:focus-visible { outline:none; text-decoration:underline; text-decoration-color:var(--bb-outline); text-underline-offset:6px; }
#fovuna-first-paint :is(.fp-note,.fp-tag,.fp-cap) {font-size:15px;line-height:21px}
[data-testid="onboarding"]>div:has([data-testid="ob-back"]) {justify-content:flex-start;padding-top:20px}

/* In the same illustration, warm porcelain and petrol linen share the UI accent. */
:root { --bb-action:light-dark(#145e65,#86d8ce); --bb-action-ink:light-dark(#fff,#102827) }
.bb-not-found a.home { background:var(--bb-action); color:var(--bb-action-ink) }
.bb-handoff-mark { position:fixed; z-index:2147483500; pointer-events:none; }
.bb-handoff-mark .fp-logo { display:block; color:light-dark(#141e2b,#f2f4f7); font:700 32px/54px var(--bb-font); letter-spacing:-.6px; }
@media(max-width:1023px){.bb-handoff-mark .fp-logo{font-size:23px}}
:is(.fp-ex,[data-testid="welcome-example"]) { --hero-plate-x:61%; --hero-plate-y:69%; }
:is(.fp-ex-img,[data-testid="welcome-example"] > img) { opacity:1!important; transform-origin:50% 50%; }
.bb-hero-glint { position:absolute; left:var(--hero-plate-x); top:var(--hero-plate-y); display:block; width:17px; height:17px; color:#fff5d7; pointer-events:none; translate:-50% -50%; opacity:0; }
.bb-hero-glint::before { content:'✦'; position:absolute; inset:0; text-shadow:0 1px 2px #544832; font:700 17px/17px system-ui; }
@media(prefers-reduced-motion:no-preference){
 @keyframes bb-saucer-arrives { 0% {scale:1.08} 100% {scale:1.035} }
 @keyframes bb-porcelain-glint { 0%,28%,100% {opacity:0; scale:.4; rotate:-22deg} 58% {opacity:1; scale:1; rotate:0deg} }
 @keyframes bb-serve-thanks { 0%,100%{opacity:0;scale:.6} 42%{opacity:1;scale:1.22} }
 :is(.fp-ex-img,[data-testid="welcome-example"] > img) { scale:1.035; translate:var(--pan-x,0px) var(--pan-y,0px); transition:translate 125ms cubic-bezier(.22,.61,.36,1); }
 html.bb-first-welcome .fp-ex-img { animation:bb-saucer-arrives .76s cubic-bezier(.22,.61,.36,1) both; }
 .bb-hero-glint { animation:bb-porcelain-glint .84s ease-out both; transform:translate(var(--pan-x,0px),var(--pan-y,0px)); }
 :is(.fp-ex,[data-testid="welcome-example"]):active { --pan-x:9px; --pan-y:4px }
 :is(.fp-col,[data-testid="onboarding"] > div):has(:is(.fp-btn.primary,[data-testid="ob-create-profile"]):active) .bb-hero-glint { animation:bb-serve-thanks .28s ease-out both; }
 .bb-table-scene[data-testid="diary-table-art"] svg { transition:transform 230ms ease-out; }
 [data-testid="empty-day"]:is(:hover,:active) [data-testid="diary-table-art"] svg { transform:rotate(-2deg) scale(1.05); }
}
@media(prefers-reduced-motion:reduce){.bb-hero-glint{animation:none;opacity:0}}
@media(min-width:1024px){
 [data-testid="today-empty-grid"]{min-height:clamp(460px,60svh,575px)}
 [data-testid="diary-table-art"]{height:clamp(170px,26svh,260px)}
 [data-testid="nav-today"][aria-current="page"],[data-testid="nav-overview"][aria-current="page"] { box-shadow:inset 3px 0 0 var(--bb-action); }
}
@media(max-width:767px) and (max-height:870px){
 [data-testid="diary-table-art"]{height:clamp(77px,12svh,104px)}
 [data-testid="empty-day"]{gap:8px!important}
}
[data-testid="premium"] [dir="auto"], [data-testid="settings"] [dir="auto"] { text-wrap:pretty }
[data-testid="premium-quota"] { font-variant-numeric:tabular-nums; text-wrap:balance; }
[data-testid="day-empty-note"]{text-wrap:pretty}
@media(hover:hover){
 #fovuna-first-paint .fp-btn.primary:hover{filter:none;background:light-dark(#0d4e57,#a8ebe2)}
 #fovuna-first-paint .fp-btn.secondary:hover{filter:none;background:light-dark(#d9e8ea,#233a43)}
 [data-testid="ob-create-profile"]:hover{box-shadow:inset 0 0 0 3px light-dark(#fff7,#10282780)}
 [data-testid="ob-account"]:hover{box-shadow:inset 0 0 0 2px var(--bb-action)}
 [data-testid="modal-sheet"] [role="tab"][aria-selected="false"]:hover{box-shadow:inset 0 0 0 2px var(--bb-edge);background:light-dark(#145e6514,#86d8ce20)}
}
[data-testid^="open-settings-avatar"] img[src]{display:block}

.bb-no-replay{animation:none!important}
.bb-premium-art{display:block;width:100%;height:100%;object-fit:cover}
html[style*="color-scheme: dark"] .bb-premium-art{filter:contrast(1.07) saturate(.89) brightness(.84)}
#fovuna-first-paint .fp-plate:has(.fp-logo){padding:0;margin:0}

/* Use the rail's full inner width for the complete label; narrow icon rails stay unchanged. */
@media(min-width:1280px){[data-testid="side-nav"] [data-testid="open-settings"]{padding-inline:8px;gap:8px}[data-testid="side-nav"] [data-testid="open-settings"] [dir="auto"]{white-space:nowrap;font-size:14px}}

/* Fixed portal retains a single dialog/panel until its exit settles. The surrounding app never slides or dims twice. */
.bb-sheet-dialog{position:fixed;inset:var(--bb-dialog-top,0px) 0 auto;display:flex;flex-direction:column;width:100%;height:var(--bb-dialog-height,100%);max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;z-index:1200}
.bb-sheet-dialog::backdrop{background:transparent}
.bb-sheet-dialog:not([open]){pointer-events:none}
[data-sheet-state]{overflow:clip}
[data-placement="phone"] [data-testid="modal-sheet"]{border-radius:24px 24px 0 0;overflow:clip;position:absolute;inset:auto 0 0;max-height:100%;height:100%}
[data-placement="phone"] [data-testid="modal-sheet"]:has([data-step="search"], [data-step="review"]){height:auto;max-height:min(100%, 94svh);min-height:0}
[data-placement="phone"] :is([data-testid="capture-host"],[data-testid="capture-keyboard"],[data-testid="capture-content"],[data-testid="capture-scroll"]){min-height:0;flex-basis:auto!important}
[data-placement="phone"] [data-step="review"] [data-testid="capture-scroll"] > div {padding-bottom:16px!important}
[data-placement="drawer"] [data-testid="modal-sheet"]:has([data-step="review"]) [data-testid="capture-scroll"]{flex-grow:0}
[data-placement="drawer"] [data-testid="modal-sheet"]:has([data-step="review"]) [data-testid="capture-content"]::after{content:"";display:block;flex:1;min-height:12px;background:radial-gradient(ellipse at 72% 94%,light-dark(#d6eae8,#13232b) 0%,transparent 68%);pointer-events:none}
[data-testid="capture-scroll"],[data-testid="settings"],[data-testid="modal-sheet"] *{scrollbar-width:thin;scrollbar-color:var(--bb-edge,#737f90) transparent}
[data-testid="modal-sheet"] ::-webkit-scrollbar-button{display:none}
[data-testid="search-estimate-note"],[data-testid="search-estimate-down"] [dir="auto"],[data-testid="search-estimate-block"] [data-testid="ai-consent"] [dir="auto"]{font-size:15px!important;line-height:21px!important}
[data-testid="search-options-toggle"] [dir="auto"]{white-space:nowrap}
[data-testid="modal-sheet"] [role="tab"]:focus-visible{outline:2px dashed var(--bb-outline);outline-offset:2px}
[data-testid="modal-sheet"] [role="button"][aria-disabled="true"]{opacity:.6}
[data-testid="discard-overlay"]{position:fixed!important;inset:0!important}
.bb-capture-reveal{display:grid;grid-template-rows:0fr;flex:none;min-height:0}
.bb-capture-reveal[data-open="true"]{grid-template-rows:1fr}
.bb-reveal-crop{min-height:0;overflow:hidden}
.bb-reveal-content{opacity:0}
.bb-capture-reveal[data-open="true"] .bb-reveal-content{opacity:1}
[data-open="false"]:is([data-testid="discard-overlay"]) :is([data-testid="discard-scrim"],[data-testid="discard-dialog"]){opacity:0}
@media(prefers-reduced-motion:no-preference){
 [data-sheet-state] [data-testid="sheet-scrim"]{transition:opacity var(--sheet-scrim) var(--sheet-arrive)}
 [data-placement="phone"] [data-testid="modal-sheet"]{transition:translate var(--sheet-open) var(--sheet-arrive);translate:none}
 [data-placement="drawer"] [data-testid="modal-sheet"]{transition:translate var(--panel-time) var(--sheet-arrive),clip-path var(--panel-time) var(--sheet-arrive);translate:none}
 [data-placement="drawer"] [data-testid="modal-sheet"]:not(:has([data-testid="discard-overlay"])){clip-path:inset(0 -32px 0 -38px)}
 [data-placement="drawer"] [data-testid="modal-sheet"] > :not([data-testid="storage-authority"]){transition:opacity var(--panel-time) var(--sheet-arrive)}
 [data-sheet-state="leaving"] [data-testid="sheet-scrim"]{opacity:0}
 [data-sheet-state="leaving"][data-placement="phone"] [data-testid="modal-sheet"]{translate:0 100%;transition-duration:var(--sheet-close);transition-timing-function:var(--sheet-depart)}
 [data-sheet-state="leaving"][data-placement="drawer"] [data-testid="modal-sheet"]{translate:var(--panel-travel) 0;clip-path:inset(0 0 0 100%)}
 [data-sheet-state="leaving"][data-placement="drawer"] [data-testid="modal-sheet"] > :not([data-testid="storage-authority"]){opacity:.72}
 .bb-capture-reveal{transition:grid-template-rows var(--sheet-reveal) var(--sheet-arrive)}
 .bb-reveal-content{transition:opacity var(--sheet-reveal) var(--sheet-arrive)}
 [data-testid="discard-scrim"]{transition:opacity var(--alert-scrim) var(--sheet-arrive)}
 [data-testid="discard-dialog"]{transition:opacity var(--alert-open) var(--sheet-arrive),scale var(--alert-open) var(--sheet-arrive);scale:none}
 [data-testid="discard-overlay"][data-open="false"] [data-testid="discard-dialog"]{scale:.96}
 [data-testid="discard-overlay"][data-open="false"] :is([data-testid="discard-scrim"],[data-testid="discard-dialog"]){transition-duration:var(--alert-out)}
 @starting-style{
  [data-sheet-state="open"] [data-testid="sheet-scrim"],[data-testid="discard-overlay"][data-open="true"] :is([data-testid="discard-scrim"],[data-testid="discard-dialog"]){opacity:0}
  [data-testid="discard-overlay"][data-open="true"] [data-testid="discard-dialog"]{scale:.96}
  [data-sheet-state="open"][data-placement="phone"] [data-testid="modal-sheet"]{translate:0 100%}
  [data-sheet-state="open"][data-placement="drawer"] [data-testid="modal-sheet"]:not(:has([data-testid="discard-overlay"])){translate:var(--panel-travel) 0;clip-path:inset(0 0 0 100%)}
  [data-sheet-state="open"][data-placement="drawer"] [data-testid="modal-sheet"] > :not([data-testid="storage-authority"]){opacity:.72}
 }
}

.bb-hero-picture{display:block;width:100%;height:100%}
.bb-hero-picture img{display:block;width:100%;height:100%;object-fit:cover}

@media(prefers-reduced-motion:no-preference){
 [data-sheet-state="leaving"][data-placement="drawer"] [data-testid="modal-sheet"]:not(:has([data-testid="discard-overlay"])){clip-path:inset(0 0 0 100%)}
}

/* Linear scrims keep per-frame luma changes small even when a compositor frame is missed. */
[data-testid="sheet-scrim"]{background-color:light-dark(rgba(10,15,25,.24),rgba(0,0,0,.42))!important}
[data-testid="discard-scrim"]{background-color:light-dark(rgba(10,15,25,.42),rgba(0,0,0,.55))!important}
[data-placement="phone"] [data-testid="modal-sheet"]:has([data-step="search"], [data-step="own"], [data-step="review"]){max-height:min(96svh,100%)}
[data-placement="phone"] [data-testid="modal-sheet"]:has([data-step="search"]){height:min(73svh,560px)}
[data-placement="phone"] [data-testid="modal-sheet"]:has([data-step="own"]){height:min(91svh,748px)}
[data-placement="phone"] [data-testid="modal-sheet"]:has([data-step="review"]){height:min(64svh,544px);max-height:min(96svh,100%)}
@media(prefers-reduced-motion:no-preference){
 [data-sheet-state] [data-testid="sheet-scrim"],[data-testid="discard-scrim"]{transition-timing-function:linear}
 [data-placement="phone"] [data-testid="modal-sheet"]{transition:translate var(--sheet-open) var(--sheet-arrive),height 248ms ease-out}
 [data-sheet-state="leaving"][data-placement="phone"] [data-testid="modal-sheet"]{transition-duration:var(--sheet-close),var(--sheet-reveal)}

}

/* Place the primary estimate ahead of the optional group on web, with a stable top edge. */
[data-testid="capture-pending-footer"] .bb-reveal-content{padding-bottom:env(safe-area-inset-bottom,0px)}

/* BigBelly journal polish: a dense form, a visible in-flow receipt and one focus language. */
#fovuna-first-paint .fp-logo{padding-inline-start:0}
[data-testid="onboarding"] div:has(> [data-testid="brand-lockup"]){margin-left:0!important}
[data-testid="ob-back"]{position:relative;z-index:2}
[data-testid="home"]{scroll-padding-block:16px}
[data-testid="home"]>div{padding-bottom:16px!important}
[data-testid="resume-profile-open"]{scroll-margin-block:16px}
[data-testid="today-filled-grid"]{min-height:calc(100svh - 150px)}
[data-testid="today-filled-grid"] [data-testid="diary-table-art"]{margin-top:22px;height:clamp(150px,23svh,230px)}
[data-testid="today-filled-grid"] [data-testid="diary-table-art"] svg{object-position:center}
[data-testid="search-estimate-down"]{position:relative;background:light-dark(#e9f3ef,#203633)!important}
[data-testid="search-estimate-down"]::before{content:"";position:absolute;inset-block:10px;inset-inline-start:0;width:3px;background:var(--bb-action);pointer-events:none}
[data-testid="search-estimate-retry"]{min-height:44px}
[data-testid="search-barcode-hint"]{font-size:15px!important;line-height:21px!important}
:is([data-testid="lens-day"],[data-testid="lens-week"]){min-width:44px!important;min-height:44px!important}
:is([data-testid="lens-day"],[data-testid="lens-week"]):focus-visible{outline:2px dashed var(--bb-action);outline-offset:2px;border-radius:12px}
/* The title does not double as a loading indicator; the inline estimate action reports its own loading state. */
@media(hover:hover){:is([data-testid="side-nav"],[data-testid="dock"],[data-testid="week-budget-chart"]) [role]:is([role="button"],[role="tab"]):hover{box-shadow:inset 0 0 0 2px var(--bb-action)}}
@media(prefers-reduced-motion:no-preference){
 @keyframes bb-toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:none}}
 [data-testid="toast"]{animation:bb-toast-in 190ms var(--sheet-arrive,ease-out) both}
 [data-sheet-state="leaving"][data-placement="drawer"] [data-testid="modal-sheet"]{transition-duration:var(--panel-close);transition-timing-function:var(--sheet-depart)}
 [data-testid="search-estimate-down"]{animation:bb-toast-in 160ms ease-out}
 [data-testid="today-filled-grid"] [data-testid="diary-table-art"]{animation:bb-toast-in 230ms ease-out both}
}

.bb-not-found::before {color:light-dark(#6d7c8d,#7d9aa6)}
[data-testid="today-filled-grid"] [data-testid="diary-table-art"]{margin-block-start:auto;min-height:clamp(158px,27svh,280px)}
[data-testid="today-filled-grid"]>div:nth-child(2)>div{flex:1}
[data-testid="today-filled-grid"]>div:nth-child(2)>div>div{flex:1}
[data-testid="ob-guest-art"]{height:clamp(132px,24svh,232px)}
[data-testid="ob-guest-art"] ~ [dir="auto"]{text-wrap:pretty}
[data-testid="search-loading"]{background:light-dark(#e7eeec,#212f35)!important}

@media(min-width:1024px) and (min-height:790px){
 [data-testid="onboarding"]>div:has([data-testid="ob-skip-later"]){padding-top:clamp(94px,12svh,124px)!important;gap:clamp(14px,3svh,30px)!important}
}

@media(max-width:767px){
 [data-testid="onboarding"]>div:has([data-testid="ob-skip-later"]){justify-content:space-between;min-height:94svh;padding-block:clamp(16px,4svh,36px)!important}
 [data-testid="ob-guest-art"]{height:clamp(132px,27svh,230px)}
}
[data-testid="review-confirm"][aria-busy="true"]{cursor:progress}
@media(prefers-reduced-motion:no-preference){
 @keyframes bb-save-feedback{from{box-shadow:inset 0 0 0 0 currentColor}to{box-shadow:inset 0 0 0 2px currentColor}}
 [data-testid="review-confirm"][aria-busy="true"] > div{animation:bb-save-feedback 140ms var(--sheet-arrive,ease-out) both}
}

/* Tempo 2036: readable sheet states, with a paint-only outgoing layer. */
[data-testid="capture-content"]{overflow:hidden}
.bb-sheet-snapshot{position:absolute;z-index:2;pointer-events:none;overflow:hidden}
[data-testid="discard-overlay"][data-open="false"] [data-testid="discard-dialog"]{visibility:hidden}
[data-testid="settings-heading"]{text-wrap:balance;font-size:clamp(23px,6.4vw,32px)!important;line-height:1.13!important;overflow-wrap:normal!important}
[data-testid="premium-quota"][dir="auto"]{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
[data-testid="settings"] [role="tab"]:active > div{background:light-dark(#d5e8e4,#365b58)!important;box-shadow:inset 0 0 0 2px var(--bb-action)}
[data-testid="home"]>div{padding-bottom:max(24px,env(safe-area-inset-bottom))!important}
[data-testid="search-estimate-note"]{font-size:15px!important;line-height:21px!important;text-wrap:pretty}
@media (min-width:1024px){[data-testid="onboarding"]>div:has([data-testid="ob-skip-later"]){max-width:680px!important}}
@media(prefers-reduced-motion:no-preference){
 ::view-transition-group(root){animation-duration:260ms;animation-timing-function:ease-out}
 ::view-transition-old(root),::view-transition-new(root){animation-duration:260ms;animation-timing-function:ease-out}
}
