/* Public design system. Device screens alone retain their illustrative scale. */
:root{--panel:#fff;--panel-line:#e5e0d6;--inset:#f7f6f3;--panel-shadow:0 1px 2px #17253f0a,0 18px 40px -24px #17253f33;--display-size:clamp(44px,6vw,76px);--title-size:clamp(30px,3.6vw,44px);--subtitle-size:24px;--lead-size:19px;--body-size:16px;--small-size:13px;--stat-size:40px;--heading-font:Outfit,sans-serif;--body-font:'Instrument Sans',sans-serif}
body{font:400 var(--body-size)/1.6 var(--body-font)}
:where(main *,header *,footer *){font:inherit;letter-spacing:inherit}
:where([data-illustration] *){font-family:var(--body-font)}
h1,.display{font:600 var(--display-size)/1.02 var(--heading-font);letter-spacing:-.04em}
h2,.title{font:600 var(--title-size)/1.13 var(--heading-font);letter-spacing:-.025em}
h3,h4,.subtitle{font:600 var(--subtitle-size)/1.2 var(--heading-font);letter-spacing:-.02em}
.lead,.hero-description,.story-heading>p,.pricing-intro>p{font:400 var(--lead-size)/1.55 var(--body-font);color:var(--muted)}
.body{font:400 var(--body-size)/1.6 var(--body-font)}
small,.small,.section-note,.proof-line,.chart-context,.visual-topline,.demo-label,.runtime-ribbon,.matrix-legend,.matrix-key,.matrix-swipe,.matrix-footnote,.catalog-note,.catalog-source,.lab-footnote,.advanced-scope,.support-matrix th,.direct-name,.chart-head p,.plan-name,.plan-row .eyebrow,.plan-badge,.plan-tag,.home-plan-notes,.plan-fine,figcaption{font:400 var(--small-size)/1.5 var(--body-font);color:var(--muted)}
b,strong,th,dt,.body-strong,.small-strong{font-weight:600}
.stat,.plan-price b,.plan-row h3,.analytics-top>div>strong,.engine-size>strong,.delta-stat>strong{font:600 var(--stat-size)/1.2 var(--heading-font);letter-spacing:-.02em}
.stat .unit,.plan-price .unit,.plan-row h3 .unit,.analytics-top>div>strong>span,.engine-size>strong>span,.delta-stat>strong>span{font:600 var(--subtitle-size)/1.2 var(--heading-font);letter-spacing:-.02em}
main a{color:var(--link);font-weight:600;text-decoration:none;text-underline-offset:3px}
main a:hover,main a:focus-visible{color:var(--link);text-decoration:underline}
p a,li a,dd a,td a{ text-decoration:underline }
.text-link,.proof-link{display:inline;font-size:inherit;white-space:normal}
main a.button{display:inline-block;line-height:24px;padding-block:10px;text-align:center}
main a>span[aria-hidden="true"]:last-child{margin:0}
/* All main controls share one component; section styles supply only layout. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;min-height:46px;padding:10px 18px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:600 14px/1.5 var(--body-font);box-shadow:none}
.button.primary{background:var(--orange);border-color:#dc7804;color:var(--ink)}
.button.primary:hover{background:#ff9b24}
.nav-start{height:40px;min-height:40px;padding:8px 14px}
main :is(button,a.button):not(:where([data-illustration] *)){
 --control-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--control-height);min-height:var(--control-height);padding:8px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:600 14px/1.5 var(--body-font);letter-spacing:0;white-space:nowrap;box-shadow:none}
main :is(.hero-illustration,.sync-demo,.transfer-lab,.replay-device-demo,.compatibility-visual,.sql-demo,details) :is(button,a.button):not(:where([data-illustration] *)){--control-height:40px}
main :is(button,a.button):not(:where([data-illustration] *)):is(:hover,:focus-visible,[aria-pressed="true"],[aria-selected="true"],[aria-current]){border-color:var(--link)}
main a.button:not(:where([data-illustration] *)){display:inline-block;line-height:22px;padding-block:calc((var(--control-height) - 24px)/2)}
main a.button.primary{background:var(--orange);border-color:#dc7804}
main a.button.primary:hover{background:#ff9b24}
main button{white-space:nowrap}
.site-header nav{font:500 13px/1.6 var(--body-font)}
.site-header a:not(.button){color:var(--ink);text-decoration:none}
.site-header nav>a:not(.button){font-weight:inherit}
.site-header nav>a:not(.button):hover{color:var(--link)}
.site-header .mobile-nav summary{font:600 14px/1.6 var(--body-font)}
@media(max-width:800px){.site-header .desktop-nav{font-size:12px}.site-header .wordmark{font-size:24px}}
@media(max-width:720px){.site-header .mobile-nav nav{font-size:16px}.site-header .mobile-nav .nav-start{font-size:14px}.site-header .wordmark{font-size:22px}}
.wordmark{font:600 24px/1.2 var(--heading-font);letter-spacing:-.035em}
.site-footer{font-size:var(--body-size)}
.site-footer a{color:var(--ink);font-weight:400;text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible{color:var(--ink);text-decoration:underline}
.site-footer p{font:400 var(--small-size)/1.5 var(--body-font);color:var(--muted)}
/* Every Details disclosure, including lab internals and FAQs, is this component. */
main details,main details[class],main .plan-faq details{width:100%;max-width:none;margin:32px 0 0;padding:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
main details>summary,main details[class]>summary,main .plan-faq details>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;padding:20px 0;cursor:pointer;color:var(--ink);font:600 var(--body-size)/1.6 var(--body-font)}
main details>summary::-webkit-details-marker,main details[class]>summary::-webkit-details-marker,main .plan-faq details>summary::-webkit-details-marker{display:none}
main details>summary>span[aria-hidden],main details[class]>summary>span[aria-hidden],main .plan-faq details>summary>span[aria-hidden]{display:none}
main details>summary::after,main details[class]>summary::after,main .plan-faq details>summary::after{content:'+';color:var(--link);font:600 var(--body-size)/1.6 var(--body-font)}
main details[open]>summary::after,main details[class][open]>summary::after,main .plan-faq details[open]>summary::after{content:'−'}
main details>p,.disclosure-body>p{font-size:var(--body-size)}
.story-hero,.benefit-section,.pricing-section,.page-content{padding-block:128px}
.story-heading{max-width:720px;margin:0 auto 48px;text-align:center}
.story-heading>p{margin:16px auto 0;max-width:720px}
.hero-description{max-width:720px;margin:16px auto 0}
.proof-line,.section-note{margin-top:16px;border:0;padding-top:0}
.page-content{max-width:1100px}
.page-content p,.page-content ul,.page-content ol{max-width:720px}
.page-content h1{margin-bottom:16px}
.page-content h2{margin-block:48px 16px}
.page-content h3{margin-block:32px 16px}
.page-content code{font-size:inherit}
.plan-badge,.plan-tag{font-weight:600;color:#9a4a00;background:#fff0dc}
@media(max-width:600px){:root{--subtitle-size:21px;--lead-size:17px}.story-hero,.benefit-section,.pricing-section,.page-content{padding-block:72px}.wrap{width:calc(100% - 40px)}}

/* Café guidance belongs to the action; captions and switch stay outside screens. */
.hero-actions{margin-top:16px}
.hero-actions .text-link{font:600 var(--body-size)/1.6 var(--body-font);color:var(--link)}
.hero-illustration{margin-top:48px}
.hardware-caption{font:400 var(--small-size)/1.5 var(--body-font)}
.hardware-caption b{font:600 var(--body-size)/1.6 var(--body-font)}
.hero-demo-caption{display:flex;align-items:center;justify-content:center;gap:16px;position:relative;font:400 var(--small-size)/1.5 var(--body-font)}
main #hero-reset{position:absolute;right:0}
main #hero-offline{margin-top:8px}
#hero-offline .connection-glyph{width:24px;height:14px;border-radius:8px;background:var(--line);position:relative}
#hero-offline .connection-glyph::after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:var(--muted);left:2px;top:2px}
#hero-offline[aria-checked=true] .connection-glyph{background:var(--blue)}
#hero-offline[aria-checked=true] .connection-glyph::after{left:12px;background:#fff}
[hidden]{display:none!important}
@media(max-width:600px){.hero-demo-caption{padding-right:80px;text-align:left;justify-content:flex-start}}
/* Chapter surfaces and a single reading rhythm. */
main:not(.pricing-page)>section{background:var(--canvas)}
main:not(.pricing-page)>section:nth-of-type(even){background:var(--paper);border-block:1px solid #f1e9db}
.how-step{background:transparent;padding:0;margin-top:96px}
.how-step>.story-heading{text-align:left;margin-inline:0}
.how-step>.story-heading h3{display:flex;gap:16px;align-items:baseline}
.how-step>.story-heading>p{margin-left:48px}
.step-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--inset);color:var(--link);font:600 var(--body-size)/1 var(--heading-font)}
.step-stats{display:flex;justify-content:flex-start;gap:64px;flex-wrap:wrap;margin:0 0 32px 48px}
.step-stats p{margin-top:8px}
.storage-stat{max-width:720px;margin:32px auto;text-align:center}
.storage-stat p{margin-top:8px}
.bucket-poster{max-width:640px}
.bucket-routes{height:64px}
/* The middle route runs in front of the rim and lands on the bucket's surface, where two flat rings
   (dark upper edge, light lower edge) spread like a drop, so the line reads as entering the bucket. */
.bucket-routes{z-index:1}
.bucket-routes i:nth-child(2):before,.bucket-routes i:nth-child(2):after{content:'';position:absolute;border-radius:50%;border:1.5px solid #c96a05a6;border-bottom-color:#fff4e2cc;pointer-events:none}
.bucket-routes i:nth-child(2):before{left:-7px;bottom:-2.5px;width:15px;height:5px}
.bucket-routes i:nth-child(2):after{left:-17px;bottom:-5px;width:35px;height:10px;opacity:.55}
.storage-ribbon{font-weight:600}
/* White panels share their frame; demos apply the inset to full-width rows. */
main .visual-card{--card-inset:24px;max-width:1100px;padding:var(--card-inset);background:var(--panel);border:1px solid var(--panel-line);border-radius:16px;box-shadow:var(--panel-shadow)}
main .visual-card:is(.sync-demo,.transfer-lab,.replay-device-demo,.compatibility-visual,.sql-demo){padding:0}
@media(max-width:600px){main .visual-card{--card-inset:20px}}
main .encryption-poster.visual-card{--card-inset:32px}
.transfer-lab{margin-top:48px}
.lab-topline,.lab-results,.lab-network,.lab-comparison,.lab-detail-content,.sql-query-result,.sql-feature-line,.replay-example-top,.replay-device-demo figcaption,.replay-sequence-actions,.replay-shared,.replay-exception,.analytics-region{background:var(--inset)}
.lab-topline,.lab-panel-title,.lab-results th,.lab-network>p,.waterfall-empty,.lab-footnote,.lab-bar-row,.lab-ratio,.matrix-axis,.matrix-runtimes,.matrix-legend,.matrix-footnote,.matrix-source-line,.support-matrix small,.support-matrix td,.sdk-entry dt span,.catalog-block-heading p,.compatibility-source,.interfaces-strip>span,.sql-demo-top,.sql-atomic-caption,.sql-query-result,.sql-feature-line,.replay-example-top,.replay-sequence-actions>span,.replay-connection,.replay-shared>p,.replay-shared>span,.encryption-poster figcaption,.lock-stage small,.direct-measure>strong,.cost-scope,.cost-caveat,.cost-row,.analytics-top>div>p,.million-caption{font:400 var(--small-size)/1.5 var(--body-font);color:var(--muted)}
#lab-operation{font:600 var(--small-size)/1.5 var(--body-font)}
.lab-topline>span,.lab-panel-title b,.matrix-runtimes b,.sql-transaction-title b{font-weight:600}


.replay-sequence button>span{font:600 var(--small-size)/1.5 var(--body-font)}
.analytics-top>div>p{max-width:320px}
.analytics-poster{}
.analytics-top{padding-inline:0;gap:32px}
.million-art{transform:none;grid-template-columns:repeat(20,6px);gap:3px}
.million-visual{width:max-content;max-width:100%;flex:none}
.million-art{width:max-content;max-width:100%;margin-inline:auto}
.million-caption{display:block;width:100%;margin-top:15px;text-align:center;white-space:nowrap}
.direct-measure>strong{font-weight:600;padding-left:12px}
.analytics-poster .direct-measure>strong{font-size:var(--small-size)}
.direct-measure{margin-right:130px}
.ingest-art>strong{font:600 var(--stat-size)/1.2 var(--heading-font)}
.ingest-art>strong span{font-size:var(--subtitle-size)}
.quiet-features{max-width:1100px}
.quiet-features p,.quiet-features b{font-size:var(--body-size)}
.pricing-section{display:block}
.pricing-layout{display:block}
.pricing-intro{max-width:720px;margin:0 auto 48px;text-align:center}
.pricing-intro>p{margin:16px auto 0;max-width:720px}
.pricing-options{width:100%}
.plan-row .button{min-height:46px}
.plan-price>span,.plan-row h3 small{font:400 var(--body-size)/1.6 var(--body-font);letter-spacing:0;color:var(--muted)}
.plan-row .eyebrow{font:600 var(--small-size)/1.5 var(--body-font)}
@media(max-width:600px){.how-step{margin-top:56px}.how-step>.story-heading>p{margin-left:0}.step-stats{margin-left:0;gap:32px}.analytics-top{flex-direction:column;align-items:flex-start}.lab-workbench{padding:24px 20px}.hero-device-stage{margin-bottom:24px}}

/* Shared reading pages and pricing use the same roles and surfaces. */
.page-content{background:var(--canvas)}
.plan-name{font-weight:600}
.plan-comparison th,.plan-comparison td,.plan-comparison .plan-highlight{background:#fff}
.plan-comparison thead th{font:600 var(--small-size)/1.5 var(--body-font)}
.plan-comparison tbody th,.plan-comparison td{font:400 var(--body-size)/1.6 var(--body-font)}
.plan-comparison tbody th{font-weight:600}
.pricing-page .plan-faq summary{padding:20px 0;font:600 var(--body-size)/1.6 var(--body-font)}
.pricing-page .plan-faq p{font:400 var(--body-size)/1.6 var(--body-font);padding:0 0 20px}
.plan-faq,.plan-faq details{border:0}
.plan-faq details{border-top:1px solid var(--line);margin:0}
.evidence-table th{font:600 var(--small-size)/1.5 var(--body-font);letter-spacing:0;text-transform:none}
.evidence-table td{font:400 var(--body-size)/1.6 var(--body-font)}
.page-content a:not(.button){font-weight:600}
.demo-unavailable{font:400 var(--body-size)/1.6 var(--body-font)!important}

.bucket-node{background:var(--inset);border-color:var(--line);box-shadow:none}
.bucket-node>span,.bucket-node small{color:var(--muted)}
.bucket-tiles i,.million-art i:nth-child(6n),.engine-glyph i{background:var(--blue)}
.hero-device-stage{overflow:visible}
.lab-topline{flex-wrap:wrap;padding:16px 20px;gap:12px}
.demo-caption>span{font:400 var(--small-size)/1.5 var(--body-font)}

main .plan-faq details{margin:0}
/* Warm insets extend through visual internals and nested evidence cards. */
.runtime-ribbon,.matrix-tabs,.matrix-check,.sql-transaction,.sql-transaction-title>span,.sql-details pre,.lab-raw-details pre,.replay-sequence,.replay-sequence button>span,.replay-details pre,.analytics-compute{background:var(--inset)}

.replay-sequence button[aria-pressed=true]>span{background:var(--inset);color:var(--link)}
.sql-transaction-title>span,.waterfall-label,.waterfall-bytes{font:400 var(--small-size)/1.5 var(--body-font)}


main :is(.sync-demo) [data-illustration] button{height:40px;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:600 14px/1.5 var(--body-font);box-shadow:none}
main :is(.sync-demo) [data-illustration] button{padding:4px}
.note-composer button,.note-delete{min-width:40px;width:40px}


.ingest-stream i:nth-child(5n),.sidebar-mark i:first-child,.hero-progress-track>i{background:var(--blue)}

.history-foot{max-width:720px;margin:16px 0 0;gap:16px}

/* A framed lab uses one horizontal inset for its rows and outer Details contents. */
.transfer-lab{--lab-inset:25px}
.lab-topline,.lab-actions,#lab-status,.lab-results,.lab-network{padding-inline:var(--lab-inset)}
main .transfer-lab>.lab-details>summary{padding-inline:var(--lab-inset)}
.lab-details>.lab-detail-content{max-width:none;padding-inline:var(--lab-inset)}
.lab-detail-content p{max-width:720px}
@media(max-width:720px){.transfer-lab{--lab-inset:22px}}
@media(max-width:390px){.transfer-lab{--lab-inset:17px}}
@media(max-width:599px){.lab-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.transfer-lab .lab-actions button{width:100%;justify-content:flex-start;white-space:nowrap}}
.replay-device>h3{display:grid;justify-content:start;justify-items:start;gap:2px;margin:0 0 12px;text-align:left;font:600 var(--body-size)/1.6 var(--body-font);letter-spacing:0;color:var(--ink)}
.replay-device>h3>.replay-counter{display:block;margin:0;white-space:nowrap;font:400 var(--small-size)/1.5 var(--body-font);letter-spacing:0;color:var(--muted)}

/* One boundary rule separates adjacent sections on the same page surface. */
:root{--shared-section-gap:96px}
.section-divider{height:1px;background:var(--paper)}
.section-rule{height:1px;border-top:1px solid var(--line)}
.pricing-page .section-divider{background:var(--canvas)}
.pricing-page .section-rule{width:100%}
main>section:has(+.section-divider){padding-bottom:var(--shared-section-gap)}
main>.section-divider+section{padding-top:var(--shared-section-gap);margin-top:0}
main.pricing-page>.section-divider+section{margin-top:0}
@media(max-width:600px){:root{--shared-section-gap:56px}}

/* Phone toolbars put the instruction above one unbroken row of controls. */
@media(max-width:599px){
 .demo-toolbar,.lab-topline,.sql-demo-top,.replay-example-top{flex-direction:column;align-items:flex-start}
 .demo-toolbar .demo-label{max-width:none}
 .demo-tools{display:flex;flex-wrap:nowrap;justify-content:flex-start}
 .replay-sequence{grid-template-columns:minmax(0,1fr)}
 .replay-sequence button{width:100%;justify-content:flex-start}
}

.replay-device>h3>.replay-device-name{font:inherit;color:var(--ink);white-space:nowrap}
@media(max-width:600px){.million-visual{width:100%}}

/* Row insets keep interactive demos spacious without narrowing their controls. */
.visual-card :is(.demo-toolbar,.sync-scene,.demo-caption,.replay-example-top,.replay-device-scene,.replay-sequence-actions,.matrix-toolbar,.runtime-ribbon,.matrix-footnote,.sql-demo-top,.sql-demo-actions,.sql-query-result){padding-inline:var(--card-inset)}
.visual-card :is(.replay-sequence,.matrix-scroll,.matrix-key){margin-inline:var(--card-inset)}
.transfer-lab.visual-card{--lab-inset:var(--card-inset)}
.encryption-poster .plaintext-sheet,.encryption-poster .encrypted-sheet{min-width:0;overflow-wrap:anywhere}
.advanced-diagram :is(.analytics-app,.analytics-compute,.analytics-bucket){height:auto;min-height:var(--node-height);max-width:100%}
.advanced-diagram .bandwidth-link{max-width:100%}
@media(max-width:600px){.advanced-diagram .analytics-bucket{min-height:188px}}
/* Narrow cards keep full-size labels and rotated sheets inside their frame. */
@media(max-width:599px){
 .matrix-tabs{flex-direction:column;width:100%}
 .matrix-tabs button{width:100%;flex:auto;justify-content:flex-start}
 .encryption-poster{grid-template-columns:minmax(0,1fr);gap:32px}
 .encryption-poster .plaintext-sheet,.encryption-poster .encrypted-sheet{width:100%;max-width:280px;justify-self:center}
 .encryption-poster .plaintext-sheet{grid-row:2}
 .encryption-poster .encrypted-sheet{grid-row:3}
}

main a.path-link{overflow-wrap:anywhere}
main a .link-tail{white-space:nowrap}

main #hero-offline{align-self:center;width:max-content}

/* Button groups keep one row only when it fits; otherwise every control stacks. */
.measurement-explorer,.replay-device-demo{container-type:inline-size}
@container (width < 335px){
 .metric-controls{flex-direction:column;align-items:stretch}
 .metric-controls button{width:100%}
}
.replay-sequence{grid-template-columns:repeat(4,minmax(0,1fr))}
@container (width < 780px){
 .replay-sequence{grid-template-columns:minmax(0,1fr)}
 .replay-sequence button{width:100%;justify-content:flex-start}
}

/* Panel interiors keep the neutral palette outside device screens. */
main .prefetch-poster{background:var(--panel);border:1px solid var(--panel-line);border-radius:16px;box-shadow:var(--panel-shadow)}
main .visual-card .note{background:#f4f6f9}
main .visual-card .replay-outcomes>div{background:var(--inset);border-color:var(--panel-line)}
main :is(.lab-topline,.lab-footnote,.replay-device-demo figcaption,.replay-sequence-actions){background:#faf9f6}
main .replay-sequence{background:#f4f3ef;border-color:var(--panel-line)}
main .visual-card :is(.demo-toolbar,.demo-caption,.sql-demo-top,.replay-example-top){background:#faf9f6}
main :is(.analytics-app,.analytics-bucket){background:var(--inset)}

/* Each idea is a chapter; open measurements use the same section rhythm. */
#performance .responsiveness-visual{margin-top:0}
#performance .measurement-group{margin-top:64px}
.read-ahead-heading{margin:64px auto 32px;text-align:center}
.read-ahead-heading h3{margin:0}

#sync-engineering .prefetch-caption{margin-bottom:40px}

/* Round 7 (2026-10-14): transfer lab clarity, bucket tiles, comparison wrapping. */
/* Comparison: a padded well; both bars are tracks that fill only once measured. */
.lab-comparison{padding:20px 24px;border-radius:12px}
.lab-comparison>p:first-child{font-weight:600}
.lab-bar-row .lab-bar-track{height:12px;border-left:0;border-radius:3px;background:#ebe8e1;overflow:hidden}
.lab-bar-row .lab-bar{height:100%;border-radius:3px}
.lab-bar.whole{background:#a9b6c8;transition:width .25s}
.lab-bar-row>strong{font-weight:600}
/* Transfer activity: one row per request, bar length = bytes relative to the largest request. */
.waterfall-row{height:auto;min-height:24px;grid-template-columns:minmax(0,13.5em) 1fr 64px;gap:12px}
.waterfall-row>.waterfall-label{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.waterfall-row>.waterfall-bytes{font-weight:600}
.waterfall-track{height:8px;background:#ebe8e1;border-radius:3px;overflow:hidden}
.waterfall-track>i{position:static;display:block;height:100%;top:auto;border-radius:3px;min-width:2px;background:var(--blue)}
.waterfall-row[data-direction=up] .waterfall-track>i{background:#0e48a4}
.waterfall-empty{padding:12px 0 16px;font:400 var(--small-size)/1.5 var(--body-font);color:var(--muted)}
.lab-results td{overflow-wrap:break-word}
/* Your bucket: the orange inset edge from the earlier orange tiles is gone, and so is the dot grid. */
.bucket-tiles i{box-shadow:none}
.sync-scene{background:none}
/* Comparison: the vendor picker takes over before columns get too narrow to hold whole words. */
.comparison-cell>span:last-child{overflow-wrap:break-word}
#sync-engineering:not([data-lab-state=ready]) .lab-bar-row{display:none}
#sync-engineering:not([data-lab-state=ready]) .lab-ratio{margin-top:8px;color:var(--muted)}
.lab-bar.transferred[data-empty=false]{min-width:4px}
.lab-results td:last-child{white-space:nowrap}
@media(max-width:600px){.waterfall-row{grid-template-columns:minmax(0,1fr) 32% 60px;gap:8px}}
@media(max-width:600px){.lab-results th:first-child{width:15%}.lab-results th:last-child{width:34%}}
/* SQL demo: a rolled-back row is drawn as an attempt, not as a saved record. */
[data-sql-outcome=rejected] .sql-relations>.sql-table-card:first-child{border-style:dashed;box-shadow:none}
[data-sql-outcome=rejected] .sql-relations>.sql-table-card:first-child dd{color:var(--muted)}
[data-sql-outcome=rejected] #sql-order-note{color:var(--ink);font-weight:600}
/* Offline demo: a note that has not synced yet must look different from a synced one. */
main .visual-card .note.new-note{background:#fff1de;box-shadow:inset 2px 0 #e8962e}
.note-check.is-pending{display:inline-block;width:8px;height:8px;margin-inline:2px;border:1.5px solid #c46f00;border-radius:50%;box-sizing:border-box}
.device-icon svg{display:block;width:18px;height:18px}
/* Offline demo: one readable text scale inside the device panels and the bucket node. */
@media(min-width:721px){
 #offline .device-title{font-size:14px}
 #offline .small-tag{font-size:11px}
 #offline .note,#offline .note-composer input{font-size:14px}
 #offline .device-status{font-size:13px}
}
#offline .bucket-node b{font-size:13px;font-weight:600}
#offline .bucket-node>span{font-size:13px;line-height:1.4}
/* Replay at phone widths: both device headings start on the same line. */
@media(max-width:720px){.replay-device-scene>.replay-device{align-self:start}}
/* Hero tablet: one line per ticket title, so every ticket keeps its height. */
.hero-screen-ticket>span:not(.hero-screen-art){min-width:0}
.hero-screen-ticket b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Transfer lab: the details row joins the card without a white band. */
.transfer-lab .lab-details{margin-top:0}
/* Prefetch card: the experiment name is a label above the chart heading, not a second heading. */
.prefetch-poster .prefetch-eyebrow{margin:32px 0 6px;font:600 var(--small-size)/1.5 var(--body-font);color:var(--muted)}
.ready-pages span{white-space:nowrap}
/* One frame for every homepage card; blue marks state, not structure. */
main .compatibility-visual.visual-card,.comparison-card{border-color:var(--panel-line);border-radius:16px}
.sql-transaction{border-color:var(--panel-line)}
.device-panel{border-color:var(--panel-line);box-shadow:0 1px 2px #17253f0a}
@media(max-width:720px){.replay-shared{border-color:var(--panel-line)}}
@media(max-width:599px){.sql-transaction{margin-inline:10px}}
.sql-table-card{border-color:var(--panel-line);box-shadow:0 1px 2px #17253f0a}
.sql-transaction-title{border-bottom-color:var(--panel-line)}
/* Phone layout: each connector label sits on its own line, centred in its device's column,
   so the two labels never meet, whatever their length. The taller row keeps both arrowheads clear. */
@media(max-width:720px){
 .replay-device-scene{grid-template-rows:auto 44px auto}
 .replay-connection{height:44px}
 .replay-connection>span{top:50%;bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);padding:0 6px;background:#fff}
}
/* Storage costs inside its disclosure: one inset for the whole body. */
.evidence-disclosure .storage-costs{max-width:none;margin:0;padding-top:8px;border-top:0}
.evidence-disclosure .storage-costs~h3{margin-top:48px}
.cost-row>div{padding-right:92px}

/* Engine results use the existing text roles and reserve room for their longest message,
   measured in every state from 320 to 1440 px. Text never scrolls inside its box: a longer
   message, such as the unavailable notice after a refused start, makes the box grow. */
.replay-case-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
#replay-resolution{min-height:4.8em}
#replay-operation{min-height:1.6em}
@media(max-width:600px){#replay-operation{min-height:4.8em}}
#offline .device-status{min-height:3em}
@media(max-width:339px),(min-width:721px) and (max-width:879px){#offline .device-status{min-height:4.4em}}
/* The status keeps room for its longest message, so the box never jumps: one line on wide screens,
   two below 618 px (reserved from 660), three below 390 px. Side by side, both texts share the first line's baseline. */
#offline .demo-caption>p{min-height:1.6em}
@media(min-width:1001px){#offline .demo-caption{align-items:baseline}}
@media(max-width:660px){#offline .demo-caption>p{min-height:3.2em}}
@media(max-width:389px){#offline .demo-caption>p{min-height:4.8em}}
/* Catalog rows start on the label's first line; the lab's panel shares the card's inset. */
.platform-catalog{align-items:baseline}
main .transfer-lab .lab-workbench{padding-inline:var(--card-inset)}
.hero-demo-caption>span{flex:1;min-width:0;min-height:1.5em}
.replay-device-demo figcaption{min-height:109px;grid-template-rows:auto 1fr}
/* The recorded SQL is always three lines. On a phone it scrolls sideways, and the scrollbar takes
   part of the bottom padding; it never gets a second, vertical scroll. */
.replay-details pre{height:8em;overflow-y:hidden}
.replay-shared>span{min-height:3em}
/* The status keeps its second line free, so the same space sits above the bucket and the card looks
   balanced; on a phone the bucket and the count centre on the text instead of on that free line. */
.replay-shared{padding-top:26px;padding-bottom:8px}
@media(max-width:720px){.replay-shared{padding:26px 15px 8px}.replay-shared>svg,.replay-shared>strong{margin-bottom:19.5px}}
@media(max-width:720px){.replay-device-demo figcaption{min-height:139px}}
@media(max-width:339px){.replay-device-demo figcaption{min-height:156px}}
@media(max-width:600px){.hero-demo-caption>span{min-height:calc(var(--small-size)*4.5)}}
@media(max-width:599px){.replay-case-controls{flex-direction:column;align-items:stretch}.replay-case-controls button{width:100%}}

