/* ==========================================================================
   Airbnb-style shell and Home (branch airbnb-home). Loaded after truvi-system.css.
   White ground · #222 ink · rausch accent · centred tabs with illustrated
   glyphs · one big rounded search pill that collapses on scroll · rows of
   image-first cards with a status pill, a pin and ‹ › pagers.
   ========================================================================== */
:root{/* palette: truvi-system.css §16 */
 --ab-red:#FF385C;--ab-red-deep:#E00B41;--ab-grad:linear-gradient(90deg,#E61E4D 0%,#E31C5F 50%,#D70466 100%);
 --ab-radius:12px;
 --feed-gutter:40px;--feed-card-w:224px;--ui-header-height:80px}
body.preview-ui{background:var(--pv-bg)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- 1. Header: brand · tabs · actions, then the pill row ---- */
body.preview-ui .cosmo-header.product-header{position:sticky;top:0;z-index:230;display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:80px auto;align-items:center;column-gap:16px;height:auto;min-height:80px;padding:0 var(--feed-gutter);background:var(--pv-surface);border-bottom:1px solid var(--pv-line-2);box-shadow:none;transition:box-shadow .2s ease}
body.preview-ui .cosmo-header.product-header .j-brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;height:80px;text-decoration:none}
body.preview-ui .cosmo-header.product-header nav{grid-column:2;grid-row:1;display:flex;align-items:stretch;justify-content:center;gap:4px;height:80px;margin:0;width:auto;flex:none;transition:opacity .2s ease,transform .2s ease,visibility .2s}
body.preview-ui .cosmo-header.product-header .product-nav-icon{position:relative;height:100%;min-height:0;min-width:0;padding:0 14px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:0;background:transparent;color:var(--pv-muted);font:500 15px/1 var(--sans-app);letter-spacing:0;transition:color .15s ease}
body.preview-ui .cosmo-header.product-header .product-nav-icon:hover{color:var(--pv-ink);background:transparent}
body.preview-ui .cosmo-header.product-header .product-nav-icon[aria-current=page]{color:var(--pv-ink);background:transparent;font-weight:600}
body.preview-ui .cosmo-header.product-header .product-nav-icon::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px 2px 0 0;background:transparent;transition:background .15s ease}
body.preview-ui .cosmo-header.product-header .product-nav-icon[aria-current=page]::after{background:var(--pv-ink)}
body.preview-ui .cosmo-header.product-header .product-nav-icon:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--pv-live);border-radius:10px}
.product-nav-glyph{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;transform:translateY(0) scale(1);transition:transform .2s ease}
.product-nav-glyph svg{width:22px;height:22px;stroke-width:2}
.product-nav-icon:hover .product-nav-glyph{transform:translateY(-2px) scale(1.06)}
.product-nav-glyph[data-glyph=j-dashboard]{background:linear-gradient(145deg,#FF7A93,#E00B41)}
.product-nav-glyph[data-glyph=j-project]{background:linear-gradient(145deg,#FFC26B,#F08A00)}
.product-nav-glyph[data-glyph=j-explore]{background:linear-gradient(145deg,#6FD3C4,#1F8F7C)}
.product-nav-glyph[data-glyph=j-resources]{background:linear-gradient(145deg,#8FA8FF,#3C55D6)}
.product-nav-glyph[data-glyph=j-command-center]{background:linear-gradient(145deg,#8A94A6,#2F3A4A)}
body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-label{white-space:nowrap;letter-spacing:0}
body.preview-ui .cosmo-header.product-header .product-project{display:none}
.preview-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:8px}
body.preview-ui .cosmo-header.product-header .product-create-trigger{height:42px;padding:0 14px;border-radius:22px;background:transparent;color:var(--pv-ink);font:600 14px/1 var(--sans-app);border:0}
body.preview-ui .cosmo-header.product-header .product-create-trigger:hover{background:var(--pv-surface-2)}
body.preview-ui .cosmo-header.product-header .preview-avatar{display:flex;align-items:center;gap:10px;width:auto;height:42px;padding:0 6px 0 12px;border:1px solid var(--pv-line);border-radius:22px;background:var(--pv-surface);color:var(--pv-muted);box-shadow:none;transition:box-shadow .2s ease}
body.preview-ui .cosmo-header.product-header .preview-avatar:hover{box-shadow:var(--ab-shadow)}
.preview-avatar-menu{display:grid;place-items:center;color:var(--pv-ink)}
.preview-avatar-initials{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#717171;color:#fff;font:600 12px/1 var(--sans-app)}

/* Search pill row */
.preview-global-search.preview-pill-wrap{grid-column:1/-1;grid-row:2;justify-self:center;display:flex;align-items:center;gap:10px;width:min(860px,100%);margin:0;padding:0 0 18px;position:relative;transition:opacity .2s ease,transform .25s ease}
.preview-scope{display:inline-flex;align-items:center;height:40px;padding:0 4px 0 6px;border:1px solid var(--pv-line);border-radius:999px;background:var(--pv-surface);color:var(--pv-ink);font:600 13px/1 var(--sans-app);white-space:nowrap;max-width:240px;flex:0 1 auto;box-shadow:var(--ab-shadow)}
.preview-scope[hidden]{display:none}
.preview-scope>button{border:0;background:transparent;color:inherit;font:inherit;height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 8px;border-radius:999px;cursor:pointer}
.preview-scope>button:hover{background:var(--pv-surface-2)}
.preview-scope .preview-scope-switch{padding:0 4px;width:30px;justify-content:center;color:var(--pv-muted)}
.preview-scope-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.preview-scope-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--ab-red);color:#fff;font-size:11px;font-weight:700}
.preview-scope-badge[hidden]{display:none}
.preview-scope-clear{width:28px;justify-content:center;color:var(--pv-muted)}
.preview-pill{display:flex;align-items:center;flex:1 1 auto;min-width:0;height:66px;padding:0 8px 0 0;border:1px solid var(--pv-line);border-radius:40px;background:var(--pv-surface);box-shadow:var(--ab-shadow);transition:box-shadow .2s ease}
.preview-pill:hover,.preview-pill:focus-within{box-shadow:var(--ab-shadow-hover)}
.preview-pill-field{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;height:100%;padding:0 24px 0 32px;border-radius:40px;cursor:text;transition:background .15s ease}
.preview-pill-field:hover{background:var(--pv-surface-2)}
.preview-pill-field+.preview-pill-field::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:1px;background:var(--pv-line)}
.preview-pill-field:hover+.preview-pill-field::before,.preview-pill-field:focus-within+.preview-pill-field::before{opacity:0}
.preview-pill-field>span{font:600 12px/1 var(--sans-app);color:var(--pv-ink)}
.preview-pill-field>input,.preview-pill-field>select{appearance:none;border:0;background:transparent;padding:0;margin:0;height:20px;font:400 14px/1.3 var(--sans-app);color:var(--pv-ink);min-width:0;width:100%;outline:0;box-shadow:none;cursor:inherit}
body.preview-ui .cosmo-header.product-header .preview-pill-field>input{width:100%;height:20px;padding:0;border:0;border-radius:0;background:transparent;font-size:14px}
.preview-pill-field>input::placeholder{color:var(--pv-muted)}
.preview-pill-field>select{color:var(--pv-muted);cursor:pointer}
.preview-pill-field>select:has(option:not([value=""]):checked){color:var(--pv-ink)}
.preview-pill-field>input::-webkit-search-cancel-button{-webkit-appearance:none}
.preview-pill-what{flex:1 1 260px;min-width:120px}
.preview-pill-when,.preview-pill-who{flex:0 0 auto;min-width:150px}
.preview-pill-field[hidden]{display:none}
.preview-pill-go{flex:none;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 16px;border:0;border-radius:24px;background:var(--ab-grad);color:#fff;font:600 15px/1 var(--sans-app);cursor:pointer;transition:transform .15s ease,filter .15s ease}
.preview-pill-go:hover{filter:brightness(1.05)}.preview-pill-go:active{transform:scale(.96)}
.preview-pill-go svg{stroke-width:2.5}
.preview-pill-compact{display:none;align-items:center;height:48px;padding:0 8px 0 0;border:1px solid var(--pv-line);border-radius:24px;background:var(--pv-surface);box-shadow:var(--ab-shadow);color:var(--pv-ink);font:600 14px/1 var(--sans-app);cursor:pointer;transition:box-shadow .2s ease,transform .25s ease}
.preview-pill-compact:hover{box-shadow:var(--ab-shadow-hover)}
.preview-pill-compact>span{padding:0 16px;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.preview-pill-compact>span+span{border-left:1px solid var(--pv-line)}
.preview-pill-compact>span:nth-child(2),.preview-pill-compact>span:nth-child(3){font-weight:400;color:var(--pv-muted)}
.preview-pill-compact>i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ab-red);color:#fff}
body.preview-ui .preview-pill-wrap #product-search-results{top:calc(100% - 4px);left:50%;right:auto;transform:translateX(-50%);width:min(560px,calc(100vw - 32px));border-radius:24px;box-shadow:var(--ab-shadow-hover);padding:10px;border-color:var(--pv-line-2)}
body.preview-ui #product-search-results button{border-radius:12px;padding:12px 14px}

/* Compact header (scrolled, or any page but Home): tabs slide away, the compact pill sits in the middle. */
body.airbnb-compact .cosmo-header.product-header{grid-template-rows:80px;box-shadow:0 1px 0 var(--pv-line-2)}
body.airbnb-compact .cosmo-header.product-header nav{position:absolute;opacity:0;visibility:hidden;transform:translateY(-14px);pointer-events:none}
body.airbnb-compact .preview-global-search.preview-pill-wrap{grid-column:2;grid-row:1;width:auto;padding:0;justify-content:center}
body.airbnb-compact .preview-pill,body.airbnb-compact .preview-scope{display:none}
body.airbnb-compact .preview-pill-compact{display:inline-flex}
/* Expanded as an overlay (compact pill clicked): the tab row and big pill drop over the page without moving it. */
body.airbnb-overlay .cosmo-header.product-header{grid-template-rows:80px;overflow:visible}
body.airbnb-overlay .preview-global-search.preview-pill-wrap{position:absolute;left:50%;top:80px;transform:translateX(-50%);width:min(860px,calc(100vw - 32px));padding:6px 16px 22px;background:var(--pv-surface);border-radius:0 0 28px 28px;box-shadow:0 18px 30px -18px rgba(0,0,0,.25)}
body.airbnb-overlay::after{content:"";position:fixed;inset:80px 0 0;background:rgba(0,0,0,.25);z-index:229;animation:feed-fade .2s ease}
@keyframes feed-fade{from{opacity:0}}

/* ---- 2. Feed ---- */
body.preview-ui #lab-home{background:var(--pv-bg);color:var(--pv-ink);font-family:var(--sans-app)}
body.preview-ui #lab-home .feed{display:flex;flex-direction:column;gap:2px;padding:28px 0 80px;max-width:none;min-height:calc(100dvh + 40px)}/* always scrollable, so the header can collapse without clamping the page */
body.preview-ui #lab-home :is(.feed-top,.feed-row-head,.feed-scroller,.feed-project){padding-left:var(--feed-gutter);padding-right:var(--feed-gutter)}
body.preview-ui #lab-home .feed :is(.feed-empty,.lab-notice,.lab-project-error){margin-left:var(--feed-gutter);margin-right:var(--feed-gutter)}
body.preview-ui #lab-home .feed-row .feed-empty{margin:0 var(--feed-gutter) 10px}
body.preview-ui #lab-home .feed-scroller{scroll-padding-inline:var(--feed-gutter)}
.feed-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:6px}
.feed-date{margin:0;font:500 14px/1.4 var(--sans-app);color:var(--pv-muted)}
.feed-date span{color:var(--pv-ink);font-weight:600}
.feed-quick{display:flex;gap:4px}
.feed-link{border:0;background:transparent;padding:8px 12px;border-radius:999px;color:var(--pv-ink);font:600 14px/1 var(--sans-app);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.feed-link:hover{background:var(--pv-surface-2)}
.feed-empty{margin:4px 0;color:var(--pv-muted);font:400 15px/1.5 var(--sans-app)}
.feed-row{display:flex;flex-direction:column;gap:6px;padding:16px 0 12px}
.feed-row-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.feed-row-head h2{margin:0;font:600 22px/1.25 var(--sans-app);color:var(--pv-ink);letter-spacing:-.01em}
.feed-row-title{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:4px 0;color:inherit;font:inherit;cursor:pointer;border-radius:8px}
.feed-row-arrow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--pv-ink);transition:background .15s ease,transform .15s ease}
.feed-row-title:hover .feed-row-arrow{background:var(--pv-surface-2);transform:translateX(2px)}
.feed-row-title:focus-visible{outline:2px solid var(--pv-live);outline-offset:2px}
.feed-pager{display:flex;gap:8px}
.feed-pager[hidden]{display:none}
.feed-pager button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--pv-line);border-radius:50%;background:var(--pv-surface);color:var(--pv-ink);cursor:pointer;transition:box-shadow .15s ease,transform .15s ease,opacity .15s ease}
.feed-pager button:hover:not(:disabled){box-shadow:var(--ab-shadow);transform:scale(1.04)}
.feed-pager button:disabled{opacity:.35;cursor:default}
.feed-scroller{display:flex;gap:16px;padding-top:8px;padding-bottom:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;outline:0}
.feed-scroller::-webkit-scrollbar{display:none}
.feed-scroller:focus-visible{box-shadow:inset 0 0 0 2px var(--pv-ink);border-radius:var(--ab-radius)}

/* Card: the image is the card (Airbnb): square media with rounded corners, status pill, pin, then copy. */
.feed-card{position:relative;flex:0 0 var(--feed-card-w);width:var(--feed-card-w);scroll-snap-align:start;display:flex;flex-direction:column;gap:10px}
.feed-card-media{position:relative;aspect-ratio:1/1;border-radius:var(--ab-radius);overflow:hidden;background:var(--pv-surface-2);cursor:pointer;isolation:isolate}
.feed-card-media .feed-figure{position:absolute;inset:0;transition:transform .35s ease}
.feed-card:hover .feed-card-media .feed-figure{transform:scale(1.03)}
.feed-badge{position:absolute;left:12px;top:12px;z-index:2;padding:6px 10px;border-radius:999px;background:var(--pv-surface);color:var(--pv-ink);font:600 12px/1 var(--sans-app);box-shadow:var(--ab-shadow)}
.feed-pin{position:absolute;right:10px;top:10px;z-index:2;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:transform .15s ease}
.feed-pin svg{fill:rgba(0,0,0,.45);stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.feed-pin:hover{transform:scale(1.12)}
.feed-pin[aria-pressed=true] svg{fill:var(--ab-red);stroke:var(--ab-red)}
.feed-card-body{display:flex;flex-direction:column;gap:2px;width:100%;border:0;background:transparent;padding:0 2px;text-align:left;cursor:pointer;color:inherit;font:inherit}
.feed-card-body:focus-visible{outline:2px solid var(--pv-live);outline-offset:4px;border-radius:6px}
.feed-card-body strong{display:flex;align-items:center;gap:7px;font:600 15px/1.35 var(--sans-app);color:var(--pv-ink);min-width:0}
.feed-card-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-card-body small{font:400 14px/1.4 var(--sans-app);color:var(--pv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-card-body .feed-card-meta{font-size:13px}
.feed-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ab-red)}

/* Figures inside the square */
.feed-figure{display:grid;place-items:center;height:100%;color:var(--pv-ink);overflow:hidden}
.feed-figure svg{width:100%;height:100%;display:block}
.feed-figure--placeholder{grid-auto-rows:auto;align-content:center;gap:10px;background:linear-gradient(160deg,#fdf3f5,#f2f2f2)}
:root[data-theme=dark] .feed-figure--placeholder{background:linear-gradient(160deg,#2a1e22,#1e2226)}
.feed-figure--placeholder small{font:600 13px/1 var(--sans-app);color:var(--pv-ink-2)}
.feed-glyph{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:var(--pv-surface);color:var(--pv-ink);box-shadow:var(--ab-shadow)}
.feed-figure--placeholder[data-glyph=notebook] .feed-glyph{color:#F08A00}.feed-figure--placeholder[data-glyph=sample] .feed-glyph{color:#1F8F7C}.feed-figure--placeholder[data-glyph=protocol] .feed-glyph{color:#3C55D6}.feed-figure--placeholder[data-glyph=review] .feed-glyph{color:var(--ab-red)}.feed-figure--placeholder[data-glyph=design] .feed-glyph{color:#1F8F7C}.feed-figure--placeholder[data-glyph=resources] .feed-glyph{color:#3C55D6}
.feed-figure--number{grid-auto-rows:auto;align-content:center;background:var(--pv-surface-2)}
.feed-figure--number strong{font:600 44px/1 var(--sans-app);color:var(--pv-ink)}
.feed-figure--number small,.feed-figure-value small{margin-left:4px;font:600 13px/1 var(--sans-app);color:var(--pv-muted)}
.feed-figure--spark{color:var(--ab-red-deep);background:linear-gradient(180deg,#fff5f7,#fff)}
:root[data-theme=dark] .feed-figure--spark{background:linear-gradient(180deg,#2a1e22,var(--pv-surface-2))}
.feed-figure-value{position:absolute;left:16px;top:14px;font:600 30px/1 var(--sans-app);color:var(--pv-ink)}
.feed-figure--steps,.feed-figure--stock{grid-auto-rows:auto;align-content:center;gap:16px;padding:0 24px;background:var(--pv-surface-2)}
.feed-figure--steps>b,.feed-figure--stock>b{font:600 40px/1 var(--sans-app);color:var(--pv-ink)}
.feed-figure--steps>b small,.feed-figure--stock>b small{font:600 14px/1 var(--sans-app);color:var(--pv-muted)}
.feed-steps{display:flex;gap:5px;width:100%}
.feed-steps i{flex:1;height:10px;border-radius:5px;background:var(--pv-line)}
.feed-steps i[data-state=completed]{background:#1F8F7C}
.feed-steps i[data-state=running],.feed-steps i[data-state=ready]{background:var(--ab-red);animation:feed-pulse 1.6s ease-in-out infinite}
.feed-steps i[data-state=skipped]{background:var(--pv-muted)}
@keyframes feed-pulse{50%{opacity:.4}}
.feed-gauge{width:100%;height:12px;border-radius:6px;background:var(--pv-line);overflow:hidden}
.feed-gauge i{display:block;height:100%;border-radius:6px;background:#1F8F7C;transition:width .4s ease}
.feed-figure--stock[data-low=true] .feed-gauge i{background:var(--ab-red)}
.feed-figure-note{font:500 12px/1 var(--sans-app);color:var(--pv-muted)}
.feed-figure--phases{background:linear-gradient(160deg,#fff4e3,#f7f7f7)}
:root[data-theme=dark] .feed-figure--phases{background:linear-gradient(160deg,#2b2419,#1e2226)}
.feed-figure--phases>div{display:flex;gap:14px;align-items:center;justify-content:center}
.feed-figure--phases span{display:flex;flex-direction:column;align-items:center;gap:8px}
.feed-figure--phases i{width:18px;height:18px;border-radius:50%;background:var(--pv-line)}
.feed-figure--phases span[data-active=true] i{background:#F08A00}
.feed-figure--phases small{font:600 11px/1 var(--sans-app);color:var(--pv-muted)}
.feed-figure--person{grid-auto-rows:auto;align-content:center;gap:10px;background:linear-gradient(160deg,#eef1ff,#f7f7f7)}
:root[data-theme=dark] .feed-figure--person{background:linear-gradient(160deg,#1d2238,#1e2226)}
.feed-avatar{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#717171;color:#fff;font:600 28px/1 var(--sans-app)}
.feed-avatar[data-online=true]::after{content:"";position:absolute;right:4px;bottom:4px;width:16px;height:16px;border-radius:50%;background:#1F8F7C;border:3px solid var(--pv-surface)}
.feed-figure--person small{font:600 13px/1 var(--sans-app);color:var(--pv-ink-2)}
.feed-figure--image{padding:0}
.feed-figure--image img{width:100%;height:100%;object-fit:cover;display:block}
.feed-figure--map,.feed-figure--structure{padding:10px;background:#fff}
:root[data-theme=dark] .feed-figure--map,:root[data-theme=dark] .feed-figure--structure{background:var(--pv-surface-2)}
.feed-figure--map svg,.feed-figure--structure svg{width:auto;height:100%;max-width:100%}
.feed-figure--map svg rect:first-of-type{fill:transparent}
.feed-online{display:inline-flex;align-items:center;gap:8px}
.feed-online i{width:8px;height:8px;border-radius:50%;background:#1F8F7C}

/* Project view header */
.feed-project{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid var(--pv-line-2);margin-bottom:6px}
.feed-project-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.feed-eyebrow{margin:0;font:600 13px/1 var(--sans-app);color:var(--pv-muted);letter-spacing:0}
.feed-project h1{margin:0;font:600 30px/1.15 var(--sans-app);color:var(--pv-ink);letter-spacing:-.02em}
.feed-project-objective{margin:0;max-width:720px;font:400 15px/1.5 var(--sans-app);color:var(--pv-ink-2)}
.feed-project-meta{margin:0;font:500 14px/1.4 var(--sans-app);color:var(--pv-muted)}
.feed-project-actions{display:flex;gap:8px;flex:none;flex-wrap:wrap;justify-content:flex-end}
.feed-button{height:44px;padding:0 18px;border:1px solid var(--pv-ink);border-radius:8px;background:var(--pv-surface);color:var(--pv-ink);font:600 14px/1 var(--sans-app);cursor:pointer;transition:background .15s ease,transform .1s ease}
.feed-button:hover{background:var(--pv-surface-2)}.feed-button:active{transform:scale(.98)}
.feed-button--primary{border-color:transparent;background:var(--ab-grad);color:#fff}
.feed-button--primary:hover{filter:brightness(1.05);background:var(--ab-grad)}

/* ---- 3. Detail hub tail and breadcrumb ---- */
.feed-crumb{display:flex;align-items:center;gap:6px;margin:0 0 8px;font:500 13px/1 var(--sans-app);color:var(--pv-muted);flex-wrap:wrap}
.feed-crumb a{color:var(--pv-ink-2);text-decoration:none;padding:3px 6px;margin:-3px -6px;border-radius:6px}
.feed-crumb a:hover{color:var(--pv-ink);background:var(--pv-surface-2)}
.feed-crumb [aria-current]{color:var(--pv-ink);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}
.feed-related{margin-top:28px;padding-top:22px;border-top:1px solid var(--pv-line-2);--feed-card-w:200px}
.feed-related-title{margin:0 0 4px;font:600 22px/1.2 var(--sans-app);color:var(--pv-ink)}
.feed-related .feed-row{padding:8px 0 4px}
.feed-related .feed-row-head h2{font-size:17px}
.feed-related .feed-scroller{padding:8px 2px 12px}
.feed-related .feed-empty,.feed-related-empty{margin:0}

/* ---- 4. Responsive ---- */
@media(max-width:1180px){.preview-pill-when,.preview-pill-who{min-width:120px}.preview-pill-field{padding:0 18px 0 24px}}
@media(max-width:1000px){
 :root{--feed-gutter:24px}
 body.preview-ui .cosmo-header.product-header{grid-template-columns:auto 1fr auto;column-gap:10px;padding:0 var(--feed-gutter)}
 body.preview-ui .cosmo-header.product-header nav{grid-column:1/-1;grid-row:2;height:64px;justify-content:center}
 body.preview-ui .cosmo-header.product-header .product-nav-icon{padding:0 10px;font-size:13px;gap:3px}
 .product-nav-glyph{width:34px;height:34px;border-radius:10px}.product-nav-glyph svg{width:19px;height:19px}
 body.preview-ui .cosmo-header.product-header{grid-template-rows:64px 64px auto}
 body.preview-ui .cosmo-header.product-header .j-brand{height:64px}
 .preview-global-search.preview-pill-wrap{grid-row:3;width:100%;flex-wrap:wrap;justify-content:center}
 .preview-pill{height:58px}
 .preview-pill-who{display:none}
 body.airbnb-compact .cosmo-header.product-header{grid-template-rows:64px}
 body.airbnb-compact .preview-global-search.preview-pill-wrap{grid-column:2;grid-row:1}
 body.airbnb-overlay .cosmo-header.product-header{grid-template-rows:64px}
 body.airbnb-overlay .preview-global-search.preview-pill-wrap{top:64px}
 body.airbnb-overlay .cosmo-header.product-header nav{position:absolute;top:64px;left:0;right:0;background:var(--pv-surface);z-index:1;height:64px}
 body.airbnb-overlay .preview-global-search.preview-pill-wrap{top:128px}
 body.airbnb-overlay::after{top:64px}
 :root{--ui-header-height:64px}
 .feed-project{flex-direction:column;align-items:flex-start}
 .feed-project-actions{justify-content:flex-start}
 .preview-context-backdrop:not([hidden]){top:calc(var(--ui-header-height) + 50px)}
}
@media(max-width:640px){
 :root{--feed-gutter:16px;--feed-card-w:196px}
 body.preview-ui .cosmo-header.product-header{grid-template-columns:auto 1fr auto;padding:0 12px}
 body.preview-ui .cosmo-header.product-header .product-create-trigger{padding:0 10px}
 body.preview-ui .cosmo-header.product-header .product-create-trigger span{display:none}
 .preview-avatar-menu{display:none}
 body.preview-ui .cosmo-header.product-header .preview-avatar{padding:0 4px;border:0}
 .preview-pill{height:52px;padding-right:6px}
 .preview-pill-field{padding:0 14px 0 18px}
 .preview-pill-when{display:none}
 .preview-pill-go span{display:none}.preview-pill-go{width:40px;height:40px;padding:0;justify-content:center;border-radius:50%}
 .preview-pill-compact>span{padding:0 10px;max-width:110px}.preview-pill-compact>span:nth-child(3){display:none}
 .preview-scope{max-width:150px}.preview-scope-title{max-width:84px}
 .feed-row-head h2{font-size:19px}
 .feed-project h1{font-size:24px}
 .feed-button{height:40px;padding:0 14px}
}
@media(max-width:400px){body.preview-ui .cosmo-header.product-header .product-nav-icon{padding:0 6px}.preview-pill-compact>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.feed-card-media .feed-figure,.feed-row-arrow,.product-nav-glyph,.preview-pill-wrap,.cosmo-header.product-header nav{transition:none}.feed-steps i{animation:none}body.airbnb-overlay::after{animation:none}}
/* ---- 5. Fixes after the first render ---- */
body.preview-ui .cosmo-header.product-header .j-brand{justify-self:start;width:auto;padding:0;background:transparent;border:0;box-shadow:none}
@media(max-width:560px){body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-label{display:block;font-size:12px}}
@media(max-width:1000px){body.preview-ui .cosmo-header.product-header .j-brand{display:flex}}
body.preview-ui .cosmo-header.product-header .j-brand[aria-current],body.preview-ui .cosmo-header.product-header .j-brand:hover{background:transparent}

/* ---- 6. Round two: white ground, empty search bar, continuous detail pages ---- */
.feed-figure--placeholder,:root[data-theme=dark] .feed-figure--placeholder{background:var(--pv-surface-2)}
.feed-figure--spark,:root[data-theme=dark] .feed-figure--spark{background:var(--pv-surface-2)}
.feed-figure--phases,:root[data-theme=dark] .feed-figure--phases,.feed-figure--person,:root[data-theme=dark] .feed-figure--person{background:var(--pv-surface-2)}
.feed-card-media{background:var(--pv-surface-2)}
.preview-pill-compact>span{padding:0 18px 0 20px;font-weight:600}
.preview-pill-compact>span+span{border:0}
.feed-scope{display:inline-flex;align-items:center;gap:4px;color:var(--pv-ink)}
.feed-scope-title,.feed-scope-restore{border:0;background:transparent;padding:4px 8px;margin:-4px 0;border-radius:999px;color:var(--pv-ink);font:600 14px/1 var(--sans-app);cursor:pointer}
.feed-scope-title:hover,.feed-scope-restore:hover{background:var(--pv-surface-2)}
.feed-scope-clear{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--pv-line);border-radius:50%;background:var(--pv-surface);color:var(--pv-muted);font:600 14px/1 var(--sans-app);cursor:pointer}
.feed-scope-clear:hover{color:var(--pv-ink);border-color:var(--pv-ink)}
.feed-scope--all{color:var(--pv-muted);font-weight:500}
.feed-scope-restore{margin-left:6px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.product-nav-icon .product-project-attention{position:absolute;top:10px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--ab-red);color:#fff;font:700 11px/18px var(--sans-app);text-align:center;box-shadow:0 0 0 2px var(--pv-surface)}

/* Detail pages open as one continuous page: no project pane, no expanded bar, no workspace sidebar or top bar behind a record. */
body.preview-ui #project-pane{display:none}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header),body.preview-ui .scientific-workspace:has(#ws-content .ws-exp-title){grid-template-columns:minmax(0,1fr);background:var(--pv-surface)}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) .ws-sidebar,body.preview-ui .scientific-workspace:has(#ws-content .ws-exp-title) .ws-sidebar,body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) .ws-topbar{display:none}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) #ws-content{max-width:1180px;margin:0 auto;padding:24px var(--feed-gutter) 80px}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) .ws-record-header{margin-bottom:18px}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) .ws-record-header h1{font:600 30px/1.15 var(--sans-app);letter-spacing:-.02em}
.feed-crumb{margin-bottom:14px}

/* Hero: the record's data as the picture + the facts a colleague asks for first. Biology gets the dark bench. */
.feed-hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:28px;align-items:stretch;margin:0 0 26px}
.feed-hero-figure{position:relative;min-height:300px;border-radius:18px;overflow:hidden;background:var(--pv-surface-2);display:grid;place-items:center}
.feed-hero-figure .feed-figure{position:absolute;inset:0;height:100%}
.feed-hero-figure .feed-figure--stock,.feed-hero-figure .feed-figure--steps{padding:0 48px;gap:22px}
.feed-hero-figure .feed-figure--stock>b,.feed-hero-figure .feed-figure--steps>b{font-size:64px}
.feed-hero-figure .feed-figure-value{font-size:40px;left:26px;top:22px}
.feed-hero-figure .feed-figure--map,.feed-hero-figure .feed-figure--structure{padding:18px;background:transparent}
.feed-hero[data-bench=true] .feed-hero-figure{background:radial-gradient(120% 90% at 20% 0%,#1d2a33 0%,#0d1217 55%,#090c10 100%);color:#e6f3ee;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.feed-hero[data-bench=true] .feed-hero-figure::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:28px 28px;mask-image:radial-gradient(80% 80% at 50% 50%,#000 40%,transparent 100%)}
.feed-hero[data-bench=true] .feed-hero-figure::after{content:"";position:absolute;right:-60px;bottom:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,56,92,.35),transparent 65%);pointer-events:none}
.feed-hero[data-bench=true] .feed-figure--map svg :is(circle,path){filter:drop-shadow(0 0 6px rgba(110,231,183,.25))}
.feed-hero[data-bench=true] .feed-figure--placeholder{background:transparent;color:#cfd8dc}
.feed-hero[data-bench=true] .feed-figure--placeholder small{color:#9fb3ad}
.feed-hero[data-bench=true] .feed-glyph{background:rgba(255,255,255,.06);color:#6ee7b7;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.feed-seq{position:relative;z-index:1;padding:28px 32px;font:13.5px/1.9 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;word-break:break-all;color:#cfd8dc;max-height:100%;overflow:hidden}
.feed-seq i{font-style:normal}
.feed-seq i.a{color:#6EE7B7}.feed-seq i.c{color:#93C5FD}.feed-seq i.g{color:#FCD34D}.feed-seq i.t{color:#FDA4AF}.feed-seq i.p{color:#C4B5FD}.feed-seq i.n{color:#9fb3ad}
.feed-seq b{color:#9fb3ad;font-weight:600}
.feed-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin:0;padding:22px 26px;border:1px solid var(--pv-line-2);border-radius:18px;background:var(--pv-surface);box-shadow:var(--ab-shadow);align-content:start}
.feed-facts div{min-width:0}
.feed-facts dt{font:600 12px/1.2 var(--sans-app);color:var(--pv-muted);letter-spacing:.01em;margin:0 0 6px}
.feed-facts dd{margin:0;font:600 17px/1.3 var(--sans-app);color:var(--pv-ink);overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.feed-hero{grid-template-columns:1fr}.feed-hero-figure{min-height:220px}.feed-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}}
@media(max-width:640px){.feed-facts{grid-template-columns:1fr 1fr;gap:14px}.feed-facts dd{font-size:15px}}
/* Illustrated tab icons: no sticker background, the illustration is the sticker. */
.product-nav-glyph{background:transparent!important;width:44px;height:44px;border-radius:0}
.product-nav-glyph .tab-illo{width:40px;height:40px;display:block}
.product-nav-icon:hover .product-nav-glyph{transform:translateY(-2px) scale(1.08)}
@media(max-width:1000px){.product-nav-glyph{width:36px;height:36px}.product-nav-glyph .tab-illo{width:32px;height:32px}}
body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-glyph svg.tab-illo{width:40px;height:40px;stroke-width:0}
@media(max-width:1000px){body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-glyph svg.tab-illo{width:32px;height:32px}}
body.preview-ui .scientific-workspace:has(#ws-content .ws-record-header) .ws-savebar{max-width:1180px;margin:0 auto;padding-inline:var(--feed-gutter);box-sizing:border-box}

/* ---- 7. Round three: off-white ground, tabs always visible, theme toggle beside the account ---- */
/* palette: truvi-system.css §16 */
body.preview-ui{background:var(--pv-bg)}
body.preview-ui #lab-home,body.preview-ui #project-overview{background:var(--pv-bg)}
/* Compact row: brand · tabs · [small search pill · Create · account]. Tabs never disappear. */
body.airbnb-compact .cosmo-header.product-header{grid-template-columns:auto 1fr auto;grid-template-rows:80px}
body.airbnb-compact .cosmo-header.product-header nav{position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto;grid-column:2;grid-row:1;justify-content:center}
body.airbnb-compact .preview-global-search.preview-pill-wrap{grid-column:3;grid-row:1;width:auto;padding:0;margin-right:8px}
body.airbnb-compact .preview-actions{grid-column:4}
body.airbnb-compact .cosmo-header.product-header{grid-template-columns:auto 1fr auto auto}
body.airbnb-compact .cosmo-header.product-header .product-nav-icon{padding:0 12px;font-size:14px}
body.airbnb-compact .cosmo-header.product-header .product-nav-icon .product-nav-glyph svg.tab-illo{width:32px;height:32px}
.preview-pill-compact>span{padding:0 14px 0 18px}
body.airbnb-overlay .cosmo-header.product-header nav{position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto}
body.airbnb-overlay .cosmo-header.product-header{grid-template-columns:auto 1fr auto}
body.airbnb-overlay .preview-global-search.preview-pill-wrap{grid-column:1/-1}
/* Theme toggle in the actions group */
body.preview-ui .cosmo-header.product-header .preview-theme{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--pv-line);border-radius:50%;background:var(--pv-surface);color:var(--pv-ink);cursor:pointer;transition:box-shadow .2s ease}
body.preview-ui .cosmo-header.product-header .preview-theme:hover{box-shadow:var(--ab-shadow)}
/* Former Home under the Airbnb palette: neutral cards, no tinted panels. */
body.preview-ui #lab-home .lab-attention,body.preview-ui #lab-home .lab-notice,body.preview-ui #lab-home .pc-card{background:var(--pv-surface);border-color:var(--pv-line-2);box-shadow:var(--ab-shadow);border-radius:16px}
body.preview-ui #lab-home .lab-project-chip[aria-current=true],body.preview-ui #lab-home [data-nav-project][aria-current=true]{background:var(--pv-ink);color:#fff;border-color:var(--pv-ink)}
body.preview-ui #lab-home .lab-content{max-width:1280px;margin:0 auto;padding:24px var(--feed-gutter) 56px}
@media(max-width:1000px){
 body.airbnb-compact .cosmo-header.product-header{grid-template-columns:auto 1fr auto auto;grid-template-rows:64px 64px}
 body.airbnb-compact .cosmo-header.product-header nav{grid-column:1/-1;grid-row:2}
 body.airbnb-compact .preview-global-search.preview-pill-wrap{grid-column:2;grid-row:1;justify-content:flex-end}
 body.airbnb-compact .preview-actions{grid-column:3}
 :root{--ui-header-height:128px}
 body:not(.airbnb-compact){--ui-header-height:128px}
}

/* ---- 8. Round four: one search field, back link above areas, design cards on the Design tab ---- */
.preview-pill-what{flex:1 1 auto}
.preview-pill-field>input::placeholder{transition:opacity .25s ease}
/* Back link above Notebook / Inventory / Workflow / Report: the former pane bar, restyled as a quiet breadcrumb row. */
body.preview-ui .project-expanded-bar{display:flex;align-items:center;gap:14px;min-height:48px;padding:0 var(--feed-gutter);border-bottom:1px solid var(--pv-line-2);background:var(--pv-surface)}
body.preview-ui .project-expanded-bar[hidden]{display:none}
body.preview-ui .project-expanded-bar .project-pane-close{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 8px;border:1px solid var(--pv-line);border-radius:999px;background:var(--pv-surface);color:var(--pv-ink);font:600 13px/1 var(--sans-app);cursor:pointer;transition:box-shadow .15s ease}
body.preview-ui .project-expanded-bar .project-pane-close:hover{box-shadow:var(--ab-shadow)}
body.preview-ui .project-expanded-bar .project-pane-close svg{transform:rotate(90deg)}
body.preview-ui .project-expanded-bar .project-pane-title{font:600 15px/1 var(--sans-app);color:var(--pv-ink)}
body.preview-ui .project-expanded-bar .project-pane-expand{display:none}
/* Design at a glance: the Home card tokens, on the Design page. */
body.preview-ui #design-library{--home-bg:var(--pv-bg);--home-side:var(--pv-surface-2);--home-surface:var(--pv-surface);--home-surface-2:var(--pv-surface-2);--home-line:var(--pv-line-2);--home-line-2:var(--pv-line-2);--home-ink:var(--pv-ink);--home-ink-2:var(--pv-ink-2);--home-muted:var(--pv-muted);--home-gold:var(--pv-accent);--home-gold-ink:var(--pv-accent-ink);--home-gold-tint:var(--pv-accent-tint);--home-gold-line:color-mix(in srgb,var(--pv-accent) 35%,var(--pv-line));--home-ok:#1F8F7C;--home-ok-tint:#E4F1E7;--home-warn:#8A6412;--home-warn-tint:#F6EFDC;--home-live:#3A6EA5;--home-live-tint:#E7EEF7;--home-dark:var(--pv-ink);--home-radius:16px;--home-radius-sm:8px}
:root[data-theme=dark] body.preview-ui #design-library{--home-ok-tint:#1B2E22;--home-warn:#DDB862;--home-warn-tint:#342B15;--home-live:#8FB3E4;--home-live-tint:#1D2733;--home-dark:#E3E6E4}
body.preview-ui #design-library .dl-overview{margin:0 0 26px}
body.preview-ui #design-library .dl-overview .pc-card{box-shadow:var(--ab-shadow);border-color:var(--pv-line-2)}
body.preview-ui #design-library .dl-overview :is(h1,h2,h3,p){margin:0}
body.preview-ui #design-library .dl-overview .pc-head{margin-bottom:14px}
body.preview-ui #design-library .dl-overview .pc-tool:last-child{color:#fff}

/* ---- 9. Round five: Team and Connect your data live on Home ---- */
.lab-team-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}
.lab-team-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--pv-line-2);min-width:0}
.lab-team-row:last-of-type{border-bottom:0}
.lab-team-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lab-team-copy strong{font:600 14px/1.3 var(--sans-app);color:var(--pv-ink)}
.lab-team-copy strong small{font-weight:500;color:var(--pv-muted)}
.lab-team-copy>small{font:400 12.5px/1.4 var(--sans-app);color:var(--pv-muted)}
.lab-team-location{align-self:flex-start;border:0;background:transparent;padding:2px 6px;margin-left:-6px;border-radius:6px;color:var(--pv-accent-ink);font:500 12.5px/1.4 var(--sans-app);text-align:left;cursor:pointer}
.lab-team-location:hover{background:var(--pv-surface-2)}
.lab-presence-label{flex:none;font:600 12px/1 var(--sans-app);color:var(--pv-muted)}
.lab-presence-label[data-online=true]{color:#1F8F7C}
body.preview-ui #lab-home .lab-connect{display:inline-flex;align-items:center;gap:8px;margin-top:12px;border-color:var(--pv-ink);font-weight:600}
@media(max-width:1100px){.lab-team-grid{grid-template-columns:1fr}}
body.preview-ui #lab-home .lab-grid.lab-team-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:auto;gap:18px;flex:none;min-height:0}
@media(max-width:1100px){body.preview-ui #lab-home .lab-grid.lab-team-grid{grid-template-columns:1fr}}
/* Home fits the screen under the taller expanded header: the pill row has a fixed height so the header height is known. */
.preview-global-search.preview-pill-wrap{height:99px;box-sizing:border-box;align-items:flex-start;padding:0 0 18px}
body.preview-ui:not(.airbnb-compact) #lab-home{--ui-header-height:var(--ab-header-h,179px)}
@media(max-width:1000px){.preview-global-search.preview-pill-wrap{height:90px;padding:0 0 16px}body.preview-ui:not(.airbnb-compact) #lab-home{--ui-header-height:var(--ab-header-h,218px)}}
@media(max-width:640px){.preview-global-search.preview-pill-wrap{height:80px;padding:0 0 14px}body.preview-ui:not(.airbnb-compact) #lab-home{--ui-header-height:var(--ab-header-h,208px)}}
@media(max-height:900px){body.preview-ui #lab-home .lab-content{height:auto;overflow:visible}}
/* Never clip Notifications to make room: the page scrolls when it must, and the two Home cards stay compact. */
body.preview-ui #lab-home .lab-content{height:auto;min-height:calc(100dvh - var(--ui-header-height));overflow:visible}
body.preview-ui #lab-home .lab-attention{max-height:none;overflow:visible;flex:none}
body.preview-ui #lab-home .lab-team-grid .pc-card{padding:16px 20px 14px}
body.preview-ui #lab-home .lab-team-grid .pc-head{margin-bottom:6px}
.lab-team-row{padding:8px 0}
body.preview-ui #lab-home .lab-connect{margin-top:10px}
body.preview-ui #lab-home .lab-team-grid .pc-footnote{margin-top:8px}
body.preview-ui #lab-home .lab-content{padding-bottom:20px;gap:14px}

/* ---- 10. Round six: greeting under the search bar, tabs above the project, Team tab + hover popover, Recent results ---- */
body.preview-ui #lab-home .lab-heading{padding-bottom:6px;border-bottom:0}
.lab-greeting{padding:2px 0 10px;border-bottom:1px solid var(--pv-line-2)}
body.preview-ui #lab-home .lab-greeting h1{font:700 30px/1.15 var(--sans-app);letter-spacing:-.02em;color:var(--pv-ink);margin:0}
.lab-greeting p{margin:6px 0 0;font:400 15px/1.45 var(--sans-app);color:var(--pv-ink-2)}
body.preview-ui #lab-home .lab-tabs{margin-top:2px}
body.preview-ui #lab-home .lab-topline{margin-top:6px}
/* Avatar cluster: hover or focus shows who is where; click opens the Team tab. */
.lab-team-wrap{position:relative;display:inline-flex}
.lab-team-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:30;display:none;min-width:280px;max-width:360px;padding:12px 14px;border:1px solid var(--pv-line-2);border-radius:14px;background:var(--pv-surface);box-shadow:var(--ab-shadow-hover);text-align:left}
.lab-team-wrap:hover .lab-team-pop,.lab-team-wrap:focus-within .lab-team-pop{display:block}
.lab-team-pop strong{display:block;font:600 13px/1 var(--sans-app);color:var(--pv-ink);margin-bottom:8px}
.lab-team-pop-row{display:grid;grid-template-columns:10px 1fr;column-gap:8px;padding:5px 0;border-top:1px solid var(--pv-line-2)}
.lab-team-pop-row i{width:8px;height:8px;border-radius:50%;background:var(--pv-line);margin-top:5px}
.lab-team-pop-row i[data-online=true]{background:#1F8F7C}
.lab-team-pop-row b{font:600 13px/1.3 var(--sans-app);color:var(--pv-ink)}
.lab-team-pop-row small{grid-column:2;font:400 12px/1.35 var(--sans-app);color:var(--pv-muted)}
.lab-team-pop em{display:block;margin-top:8px;font:500 11.5px/1 var(--sans-app);color:var(--pv-accent-ink);font-style:normal}
/* Recent results card */
.lab-results-list{display:flex;flex-direction:column}
.lab-result-row{display:grid;grid-template-columns:78px 1fr 16px;align-items:center;gap:12px;width:100%;padding:8px 4px;border:0;border-top:1px solid var(--pv-line-2);background:transparent;text-align:left;cursor:pointer;color:var(--pv-ink);border-radius:8px}
.lab-result-row:first-child{border-top:0}
.lab-result-row:hover{background:var(--pv-surface-2)}
.lab-result-value{font:600 20px/1 var(--sans-app);color:var(--pv-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.lab-result-value small{margin-left:3px;font:600 11px/1 var(--sans-app);color:var(--pv-muted)}
.lab-result-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.lab-result-copy strong{font:600 13.5px/1.3 var(--sans-app);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-result-copy small{font:400 12px/1.35 var(--sans-app);color:var(--pv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.preview-ui #lab-home .lab-team-card{max-width:820px}
@media(max-width:640px){body.preview-ui #lab-home .lab-greeting h1{font-size:24px}.lab-team-pop{right:auto;left:0}}
/* Greeting row: message on the left; presence (who is where + avatars) stacked over Continue on the right, both right-aligned. */
.lab-greeting{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.lab-greeting-copy{min-width:0;flex:1 1 auto}
.lab-greeting-side{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:520px}
.lab-presence{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 16px}
body.preview-ui #lab-home .lab-presence .lab-online-list{margin:0;justify-content:flex-end}
body.preview-ui #lab-home .lab-greeting .lab-resume{display:inline-flex;flex-direction:row;align-items:baseline;gap:8px;margin:0;padding:8px 14px;border:1px solid var(--pv-ink);border-radius:999px;background:var(--pv-surface);color:var(--pv-ink);box-shadow:var(--ab-shadow)}
body.preview-ui #lab-home .lab-greeting .lab-resume small{color:var(--pv-muted);font-weight:500}
body.preview-ui #lab-home .lab-greeting .lab-resume strong{font-size:13px}
body.preview-ui #lab-home .lab-heading .lab-resume{display:none}
@media(max-width:900px){.lab-greeting{flex-direction:column}.lab-greeting-side{align-items:flex-start;max-width:none}.lab-presence{justify-content:flex-start}body.preview-ui #lab-home .lab-presence .lab-online-list{justify-content:flex-start}}

/* ==========================================================================
   ---- 11. Round seven: the "morning" Home ----
   Display face over an interface sans (DM Sans + Inter since review two), forest-green accent, a warm line drawing.
   Header: brand · inline tabs · [search pill ⌘K · Create · theme · account]. No second pill row.
   Home: greeting + tagline + one CTA · Active project / Team / views · four stat tiles ·
   Notifications beside Recent results · Quick actions.
   ========================================================================== */
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/poppins-500.ttf') format('truetype')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/poppins-600.ttf') format('truetype')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/poppins-700.ttf') format('truetype')}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/inter.ttf') format('truetype')}
:root{--ui-header-height:72px}/* type stacks, palette and the --lab-* aliases: truvi-system.css §15–16 */

/* Header */
body.preview-ui .cosmo-header.product-header,body.airbnb-compact .cosmo-header.product-header,body.airbnb-overlay .cosmo-header.product-header{grid-template-columns:auto auto minmax(0,1fr);grid-template-rows:72px;min-height:72px;column-gap:28px;padding:0 40px;border-bottom:1px solid var(--pv-line-2);box-shadow:none;overflow:visible}
body.airbnb-scrolled .cosmo-header.product-header{box-shadow:0 1px 0 var(--pv-line-2),0 6px 18px rgba(28,36,32,.04)}
body.preview-ui .cosmo-header.product-header .j-brand{grid-column:1;grid-row:1;height:72px}
body.preview-ui .cosmo-header.product-header nav,body.airbnb-compact .cosmo-header.product-header nav,body.airbnb-overlay .cosmo-header.product-header nav{grid-column:2;grid-row:1;position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto;justify-content:flex-start;height:72px;gap:2px;width:auto}
body.preview-ui .cosmo-header.product-header .product-nav-icon,body.airbnb-compact .cosmo-header.product-header .product-nav-icon{flex-direction:row;gap:9px;padding:0 14px;font:500 15px/1 var(--sans-app);color:var(--pv-ink-2)}
body.preview-ui .cosmo-header.product-header .product-nav-icon:hover{color:var(--pv-ink)}
body.preview-ui .cosmo-header.product-header .product-nav-icon[aria-current=page]{color:var(--lab-green);font-weight:600}
body.preview-ui .cosmo-header.product-header .product-nav-icon::after{left:14px;right:14px;height:2px}
body.preview-ui .cosmo-header.product-header .product-nav-icon[aria-current=page]::after{background:var(--lab-green)}
.product-nav-glyph,body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-glyph{width:auto;height:auto;border-radius:0;background:transparent!important;color:currentColor;transform:none;transition:none}
.product-nav-glyph svg,body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-glyph svg{width:18px;height:18px;stroke-width:1.6}
.product-nav-icon:hover .product-nav-glyph{transform:none}
.product-nav-icon .product-project-attention{top:16px;right:-2px}
.preview-actions,body.airbnb-compact .preview-actions{grid-column:3;grid-row:1;justify-self:end;gap:10px;min-width:0}
/* The search pill lives in the actions group. */
.preview-global-search.preview-pill-wrap,body.airbnb-compact .preview-global-search.preview-pill-wrap,body.airbnb-overlay .preview-global-search.preview-pill-wrap{position:relative;grid-column:auto;grid-row:auto;display:block;width:auto;height:auto;padding:0;margin:0;justify-self:auto;transform:none;background:transparent;box-shadow:none;border-radius:0;left:auto;top:auto;flex:0 1 auto;min-width:0}
.preview-pill,body.airbnb-compact .preview-pill{display:flex;align-items:center;gap:10px;width:min(290px,30vw);height:44px;padding:0 12px 0 14px;border:1px solid transparent;border-radius:22px;background:var(--pv-surface-2);box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.preview-pill:hover{background:var(--pv-surface-2);border-color:var(--pv-line);box-shadow:none}
.preview-pill:focus-within{background:var(--pv-surface);border-color:var(--lab-green);box-shadow:0 0 0 3px var(--lab-green-tint)}
.preview-pill-icon{display:grid;place-items:center;flex:none;color:var(--pv-muted)}
body.preview-ui .cosmo-header.product-header .preview-pill>input{flex:1;min-width:0;width:auto;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;font:400 14.5px/1 var(--sans-app);color:var(--pv-ink)}
.preview-pill>input::placeholder{color:var(--pv-muted)}
.preview-pill>input::-webkit-search-cancel-button{-webkit-appearance:none}
.preview-pill-kbd{display:inline-flex;align-items:center;gap:3px;flex:none;font:500 12.5px/1 var(--sans-app);color:var(--pv-muted)}
.preview-pill-go.sr-only{position:absolute}
.preview-pill-compact{display:none!important}
body.preview-ui .preview-pill-wrap #product-search-results{top:calc(100% + 8px);left:auto;right:0;transform:none;width:min(520px,calc(100vw - 32px));border-radius:16px}
body.preview-ui .cosmo-header.product-header .product-create-trigger{height:44px;padding:0 18px 0 14px;gap:8px;border:1px solid var(--pv-line);border-radius:22px;background:var(--pv-surface);color:var(--pv-ink);font:500 15px/1 var(--sans-app);box-shadow:none;transition:box-shadow .15s ease,border-color .15s ease}
body.preview-ui .cosmo-header.product-header .product-create-trigger:hover{background:var(--pv-surface);box-shadow:var(--ab-shadow);border-color:#cfd4ce}
body.preview-ui .cosmo-header.product-header .product-create-trigger>svg:last-child{display:none}
body.preview-ui .cosmo-header.product-header .preview-theme{width:40px;height:40px;border:0;background:transparent;color:var(--pv-muted);box-shadow:none}
body.preview-ui .cosmo-header.product-header .preview-theme:hover{background:var(--pv-surface-2);color:var(--pv-ink);box-shadow:none}
body.preview-ui .cosmo-header.product-header .preview-avatar{position:relative;height:44px;margin-left:14px;padding:0 12px 0 5px;gap:8px;border:1px solid var(--pv-line);border-radius:22px;background:var(--pv-surface);color:var(--pv-muted)}
body.preview-ui .cosmo-header.product-header .preview-avatar::before{content:"";position:absolute;left:-13px;top:9px;width:1px;height:26px;background:var(--pv-line)}
body.preview-ui .cosmo-header.product-header .preview-avatar:hover{box-shadow:var(--ab-shadow)}
.preview-avatar-initials{width:32px;height:32px;background:var(--lab-green-tint);color:var(--lab-green);font:600 12.5px/1 var(--sans-app);letter-spacing:.02em;text-transform:uppercase}
.preview-avatar-menu{color:var(--pv-muted)}
@media(max-width:1200px){body.preview-ui .cosmo-header.product-header{column-gap:14px;padding:0 24px}.preview-pill,body.airbnb-compact .preview-pill{width:200px}body.preview-ui .cosmo-header.product-header .product-nav-icon{padding:0 10px;font-size:14px}}
@media(max-width:1000px){:root{--ui-header-height:116px}body:not(.airbnb-compact){--ui-header-height:116px}}
@media(max-width:900px){
 body.preview-ui .cosmo-header.product-header,body.airbnb-compact .cosmo-header.product-header{grid-template-columns:auto minmax(0,1fr);grid-template-rows:64px 52px;min-height:116px;padding:0 16px}
 body.preview-ui .cosmo-header.product-header .j-brand{height:64px}
 body.preview-ui .cosmo-header.product-header nav,body.airbnb-compact .cosmo-header.product-header nav{grid-column:1/-1;grid-row:2;height:52px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:0;margin:0 -4px}
 body.preview-ui .cosmo-header.product-header .product-nav-icon{padding:0 10px}
 .preview-actions,body.airbnb-compact .preview-actions{grid-column:2;grid-row:1;gap:6px}
 .preview-global-search.preview-pill-wrap,body.airbnb-compact .preview-global-search.preview-pill-wrap{flex:1 1 auto;min-width:0}
 .preview-pill,body.airbnb-compact .preview-pill{width:auto;min-width:0}
 .preview-pill-kbd{display:none}
 body.preview-ui .cosmo-header.product-header .product-create-trigger{padding:0 12px}
 body.preview-ui .cosmo-header.product-header .product-create-trigger>span{display:none}
 body.preview-ui .cosmo-header.product-header .preview-avatar{margin-left:8px;padding:0 8px 0 4px}
 body.preview-ui .cosmo-header.product-header .preview-avatar::before{display:none}
 body.preview-ui .cosmo-header.product-header .preview-avatar .preview-avatar-menu{display:none}
}
@media(max-width:520px){body.preview-ui .cosmo-header.product-header .product-nav-icon{gap:6px;font-size:13px;padding:0 8px}body.preview-ui .cosmo-header.product-header .preview-theme{display:none}}

/* Home tokens (the shared card tokens now read the forest accent) */
body.preview-ui #lab-home{--home-bg:var(--pv-bg);--home-side:var(--pv-surface-2);--home-surface:var(--pv-surface);--home-surface-2:var(--pv-surface-2);--home-line:var(--pv-line);--home-line-2:var(--pv-line-2);--home-ink:var(--pv-ink);--home-ink-2:var(--pv-ink-2);--home-muted:var(--pv-muted);--home-gold:var(--lab-green);--home-gold-ink:var(--lab-green);--home-gold-tint:var(--lab-green-tint);--home-gold-line:var(--lab-green-line);--home-ok:var(--lab-green);--home-live:var(--lab-blue);--home-dark:var(--pv-ink);--home-radius:16px;--home-radius-sm:10px}
body.preview-ui #lab-home .lab-content{position:relative;display:flex;flex-direction:column;gap:22px;max-width:1440px;margin:0 auto;padding:40px 48px 64px;height:auto;min-height:calc(100dvh - var(--ui-header-height));overflow:visible}
body.preview-ui #lab-home .lab-heading{padding:0;border:0;gap:8px 10px}
body.preview-ui #lab-home .lab-name{font:600 14px/1.3 var(--sans-app);color:var(--pv-muted)}

/* Hero */
.lab-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;gap:12px 32px;min-height:0;padding:8px 0 4px}
/* Right of the hero, top-aligned with the greeting: the switcher pill; then Team (left) with the Home views (right); then Sync Your Data under the views */
.lab-hero-side{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}.lab-hero-side .lab-active-row{display:flex;flex-direction:column;align-items:stretch;gap:12px}.lab-hero-side .lab-hero-cta{grid-column:auto;grid-row:auto;align-self:flex-end;padding:0}
/* Right of the hero: the active project, its team and the Home views as one region (replaces the emblem) */
.lab-active-main{display:flex;align-items:stretch;min-width:0}.lab-active-main .lab-project-menu{display:block;width:100%}body.preview-ui .lab-active-main .lab-project-menu>summary.lab-project-pill{width:100%}
.lab-project-team{display:flex;align-items:center;gap:12px}
.lab-active-views{display:flex;align-items:center;justify-content:space-between;gap:20px}.lab-active-views .lab-tabs{margin:0}
/* Typed greeting */
.lab-word{white-space:nowrap}.lab-type{opacity:0;animation:lab-type-in .18s ease-out forwards;animation-delay:calc(var(--i) * 52ms - var(--elapsed,0ms))}@keyframes lab-type-in{from{opacity:0;transform:translateY(.12em)}to{opacity:1;transform:none}}
.lab-caret{display:inline-block;width:.06em;height:.9em;margin-left:.06em;vertical-align:-.08em;background:var(--lab-green);border-radius:1px;opacity:0;animation:lab-caret-show 0s linear forwards,lab-caret-blink .7s steps(1) 3;animation-delay:calc(var(--n) * 52ms - var(--elapsed,0ms))}@keyframes lab-caret-show{to{opacity:1}}@keyframes lab-caret-blink{0%,100%{opacity:1}50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.lab-type{animation:none;opacity:1}.lab-caret{display:none}}
/* Search results: grouped by project, each hit reads Project › Area › Kind */
.ps-group{display:flex;align-items:center;gap:8px;padding:10px 14px 4px;font:600 11px/1 var(--sans-app);letter-spacing:.06em;text-transform:uppercase;color:var(--pv-muted)}.ps-group.is-current .ps-group-name{color:var(--lab-green)}.ps-group-tag{padding:3px 7px;border-radius:999px;background:var(--lab-green-tint);color:var(--lab-green);letter-spacing:.04em}
.ps-path{display:flex;align-items:center;gap:6px;min-width:0;font:500 11.5px/1 var(--sans-app);color:var(--pv-muted)}.ps-path i{font-style:normal;color:var(--pv-line-2)}.ps-project{color:var(--pv-ink-2);font-weight:600}.ps-project.is-current{color:var(--lab-green)}.ps-area{color:var(--pv-ink)}
body.preview-ui #product-search-results mark{background:var(--lab-green-tint);color:var(--lab-green-deep);border-radius:3px;padding:0 1px}
/* Lab brief: one rotating line under the greeting */
.lab-wheel{--lab-wheel-row:30px;display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;align-items:center;gap:6px;margin-top:10px;max-width:860px;min-width:0}.lab-wheel-track{width:100%}.lab-hero-tagline{margin:10px 0 0;font:400 21px/1.35 var(--serif-display);color:var(--pv-ink-2)}
.lab-wheel-label{flex:none;font:600 10.5px/1 var(--sans-app);letter-spacing:.08em;text-transform:uppercase;color:var(--lab-green);padding:5px 8px;border:1px solid var(--lab-green-line);border-radius:999px;background:var(--lab-green-tint)}
.lab-wheel-track{flex:1;min-width:0;height:var(--lab-wheel-row);overflow:hidden}
.lab-wheel-list{margin:0;padding:0;list-style:none;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.lab-wheel-item{display:flex;align-items:center;gap:10px;height:var(--lab-wheel-row);min-width:0;font:400 19px/1.2 var(--serif-display);color:var(--pv-ink-2)}
.lab-wheel-item>em{flex:none;font:600 10.5px/1 var(--sans-app);font-style:normal;letter-spacing:.06em;text-transform:uppercase;padding:4px 7px;border-radius:999px;color:var(--pv-muted);background:var(--pv-surface-2)}.lab-wheel-item[data-kind=literature]>em{color:var(--lab-green);background:var(--lab-green-tint)}.lab-wheel-item[data-kind=lab]>em{color:var(--lab-blue);background:var(--lab-blue-tint)}.lab-wheel-item[data-kind=regulatory]>em{color:var(--lab-warm);background:var(--lab-warm-tint)}.lab-wheel-item[data-kind=team]>em{color:var(--pv-purple,#7461a3);background:color-mix(in srgb,var(--pv-purple,#7461a3) 14%,var(--pv-surface))}
.lab-wheel-item>span,.lab-wheel-item>a,.lab-wheel-link{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left}
.lab-wheel-item>a,.lab-wheel-link{cursor:pointer;text-decoration:none}.lab-wheel-item>a:hover,.lab-wheel-link:hover{color:var(--lab-green);text-decoration:underline;text-underline-offset:3px}
.lab-wheel-item>small{flex:none;font:400 12px/1 var(--sans-app);color:var(--pv-muted)}
.lab-wheel-nav{grid-column:1/-1;display:inline-flex;align-items:center;gap:6px;justify-self:start}.lab-wheel-nav small{font:500 11px/1 var(--sans-app);font-variant-numeric:tabular-nums;color:var(--pv-muted);min-width:28px;text-align:center}
.lab-wheel-nav button{width:24px;height:24px;border:1px solid var(--pv-line-2);border-radius:50%;background:var(--pv-surface);color:var(--pv-ink);font-size:15px;line-height:1;cursor:pointer}.lab-wheel-nav button:hover{border-color:var(--lab-green-line);color:var(--lab-green)}
@media(max-width:800px){.lab-wheel-item{font-size:17px}}
@media(prefers-reduced-motion:reduce){.lab-wheel-list{transition:none}}
.lab-hero-copy{grid-column:1;grid-row:1;min-width:0;position:relative;z-index:1}.lab-wheel,.lab-hero-tagline{grid-column:1;grid-row:2;margin-top:0}
body.preview-ui #lab-home .lab-hero h1{margin:0;font:600 clamp(34px,3.7vw,54px)/1.08 var(--serif-display);letter-spacing:-.005em;color:var(--pv-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lab-hero-copy p{margin:12px 0 0;font:400 26px/1.25 var(--serif-display);color:var(--pv-ink-2);max-width:30ch;text-wrap:pretty}
.lab-hero-cta{grid-column:1;grid-row:3;position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding-bottom:4px}
.lab-cta{display:inline-flex;align-items:center;gap:14px;height:58px;padding:0 26px 0 24px;border:0;border-radius:15px;background:linear-gradient(135deg,#2E8060 0%,#1F6B4A 55%,#1A5B3F 100%);color:#fff;font:400 23px/1 var(--serif-display);letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 22px rgba(31,107,74,.26),inset 0 1px 0 rgba(255,255,255,.16);transition:transform .15s ease,box-shadow .15s ease}
.lab-cta:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(31,107,74,.32),inset 0 1px 0 rgba(255,255,255,.16)}
.lab-cta:active{transform:translateY(0);box-shadow:0 4px 12px rgba(31,107,74,.26)}
.lab-cta>svg:first-child{opacity:.9}
.lab-cta>svg:last-child{margin-left:12px}
.lab-hero-cta small{padding-left:2px;font:400 14px/1.4 var(--sans-app);color:var(--pv-muted)}

/* Active project · Team · views */
.lab-active-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-height:52px}
.lab-project-menu{position:relative}
body.preview-ui .lab-project-menu>summary.lab-project-pill{display:inline-flex;align-items:stretch;gap:0;height:50px;padding:0;border:1px solid var(--pv-line);border-radius:14px;background:var(--pv-surface);box-shadow:var(--ab-shadow);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}
body.preview-ui .lab-project-menu>summary.lab-project-pill:hover,body.preview-ui .lab-project-menu[open]>summary.lab-project-pill{border-color:var(--lab-green-line);box-shadow:var(--ab-shadow-hover)}
.lab-project-pill-label{display:inline-flex;align-items:center;padding:0 18px;border-right:1px solid var(--pv-line-2);font:500 19px/1 var(--serif-display);color:var(--pv-ink)}
.lab-project-pill-name{display:inline-flex;align-items:center;gap:10px;padding:0 14px 0 10px;font:500 15.5px/1 var(--sans-app);color:var(--pv-ink);min-width:0}
.lab-project-pill-name strong{font-weight:500;max-width:32ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-project-pill-name .lab-disc{width:30px;height:30px;border-radius:8px}
.lab-project-pill-name .lab-disc svg{width:16px;height:16px}
.lab-project-pill-name>svg{color:var(--pv-muted);flex:none}
body.preview-ui .lab-project-menu .t-menu-list{left:0;right:auto;top:calc(100% + 8px);min-width:min(320px,calc(100vw - 32px));padding:8px;border-radius:14px;border-color:var(--pv-line-2);box-shadow:var(--ab-shadow-hover)}
.lab-project-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:var(--pv-ink);font:500 14px/1.3 var(--sans-app);text-align:left;cursor:pointer}
.lab-project-option:hover{background:var(--pv-surface-2)}
.lab-project-option[aria-current=true]{background:var(--lab-green-tint);color:var(--lab-green);font-weight:600}
.lab-project-option.lab-project-new,.lab-project-option.lab-project-open{color:var(--pv-muted);font-weight:500}
.lab-project-option.lab-project-open{margin-top:4px;border-top:1px solid var(--pv-line-2);border-radius:0 0 9px 9px}
.lab-row-divider{width:1px;height:30px;background:var(--pv-line);flex:none}
.lab-presence{display:inline-flex;align-items:center;gap:10px}
body.preview-ui #lab-home .lab-team{display:inline-flex;align-items:center;gap:12px;padding:6px 10px 6px 12px;border:0;border-radius:999px;background:transparent;font:500 19px/1 var(--serif-display);color:var(--pv-ink);cursor:pointer}
body.preview-ui #lab-home .lab-team:hover{background:var(--pv-surface-2)}
.lab-team-label span{color:var(--pv-muted)}
.lab-team-add{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--pv-line);border-radius:50%;background:var(--pv-surface);color:var(--pv-ink-2);cursor:pointer;transition:border-color .15s ease,color .15s ease}
.lab-team-add:hover{border-color:var(--lab-green);color:var(--lab-green)}
body.preview-ui #lab-home .lab-avatar,body.preview-ui #lab-home .lab-avatar.small{width:36px;height:36px;border:2px solid var(--pv-surface);background:var(--lab-green-tint);color:var(--lab-green);font:600 12px/1 var(--sans-app)}
body.preview-ui #lab-home .lab-stack{padding-left:8px}
body.preview-ui #lab-home .lab-stack .lab-avatar{margin-left:-8px}
body.preview-ui #lab-home .lab-tabs{margin:0 0 0 auto;padding:0;border:0;gap:2px;overflow:visible}
body.preview-ui #lab-home .lab-tabs button{padding:9px 13px;border-radius:999px;font:500 14px/1 var(--sans-app);color:var(--pv-muted)}
body.preview-ui #lab-home .lab-tabs button:hover{background:var(--pv-surface-2);color:var(--pv-ink)}
body.preview-ui #lab-home .lab-tabs button[aria-selected=true]{background:var(--lab-green-tint);color:var(--lab-green);font-weight:600}
body.preview-ui #lab-home .lab-tabs button[aria-selected=true]::after{display:none}
body.preview-ui #lab-home .lab-team-pop{left:0;right:auto}
body.preview-ui #lab-home .lab-project-team .lab-team-pop{top:calc(100% + 8px);bottom:auto;left:0;right:auto}

/* Discs: line glyph on a tinted square (tiles) or circle (rows) */
.lab-disc{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--lab-green-tint);color:var(--lab-green)}
.lab-disc svg{width:20px;height:20px}
.lab-disc--amber{background:var(--lab-warm-tint);color:var(--lab-warm)}
.lab-disc--blue{background:var(--lab-blue-tint);color:var(--lab-blue)}
.lab-disc--grey{background:var(--lab-grey-tint);color:var(--pv-ink-2)}

/* Stat tiles */
.lab-action-bar{display:flex;flex-direction:column;gap:10px}.lab-bar-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.lab-bar-head h2{margin:0;font:500 24px/1.1 var(--serif-display);color:var(--pv-ink)}.lab-bar-head small{font:400 13.5px/1.4 var(--sans-app);color:var(--pv-muted)}
.lab-stats{display:grid;grid-template-columns:repeat(var(--lab-stat-count,4),minmax(0,1fr)) auto;gap:20px}
.lab-bar-menu{position:relative;display:block;min-width:0}body.preview-ui .lab-bar-menu>summary::-webkit-details-marker{display:none}
body.preview-ui .lab-bar-menu>summary.lab-stat--add{display:grid;place-items:center;width:64px;min-height:92px;padding:0;color:var(--lab-green);list-style:none;cursor:pointer}body.preview-ui .lab-bar-menu[open]>summary.lab-stat--add,body.preview-ui .lab-bar-menu>summary.lab-stat--add:hover{border-color:var(--lab-green-line);background:var(--lab-green-tint)}
body.preview-ui .lab-bar-menu .t-menu-list{left:auto;right:0;top:calc(100% + 8px);min-width:min(320px,calc(100vw - 32px));border-radius:14px;border-color:var(--pv-line-2);box-shadow:var(--ab-shadow-hover)}
.lab-bar-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin:12px 0 4px}.lab-bar-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--pv-line);border-radius:10px;cursor:pointer}.lab-bar-option:has(input:checked){border-color:var(--lab-green-line);background:var(--lab-green-tint)}.lab-bar-option .lab-disc{width:36px;height:36px;border-radius:10px}.lab-bar-option>span{display:flex;flex-direction:column;gap:2px;min-width:0}.lab-bar-option strong{font:500 14px/1.3 var(--sans-app)}.lab-bar-option small{font:400 12px/1.35 var(--sans-app);color:var(--pv-muted)}
.lab-stat{display:flex;align-items:center;gap:16px;min-height:92px;padding:0 18px 0 20px;border:1px solid var(--pv-line-2);border-radius:14px;background:var(--pv-surface);box-shadow:var(--ab-shadow);color:var(--pv-ink);text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.lab-stat:hover{border-color:var(--lab-green-line);transform:translateY(-1px);box-shadow:var(--ab-shadow-hover)}
.lab-stat:active{transform:translateY(0)}
.lab-stat-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lab-stat-copy strong{font:500 31px/1 var(--serif-display);font-variant-numeric:tabular-nums;color:var(--pv-ink)}
.lab-stat-copy small{font:400 15px/1.3 var(--sans-app);color:var(--pv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-stat>svg:last-child{flex:none;color:var(--pv-muted)}

/* Notifications · Recent results */
.lab-home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
body.preview-ui #lab-home .lab-home-grid .pc-card,body.preview-ui #lab-home .lab-team-card,body.preview-ui #lab-home .lab-reading .pc-card{padding:22px 22px 10px;border:1px solid var(--pv-line-2);border-radius:16px;background:var(--pv-surface);box-shadow:var(--ab-shadow);min-height:0;overflow:visible}
body.preview-ui #lab-home .lab-team-card,body.preview-ui #lab-home .lab-reading .pc-card{padding-bottom:18px}
body.preview-ui #lab-home .pc-head{align-items:center;gap:12px;margin-bottom:8px}
body.preview-ui #lab-home .pc-head h2{font:500 27px/1.1 var(--serif-display);color:var(--pv-ink)}
body.preview-ui #lab-home .pc-head small{font:400 13.5px/1.4 var(--sans-app);color:var(--pv-muted)}
body.preview-ui #lab-home .pc-link{display:inline-flex;align-items:center;gap:6px;font:500 14px/1 var(--sans-app);color:var(--lab-green)}
.lab-note-list{display:flex;flex-direction:column}
.lab-note,.lab-result{position:relative;display:flex;align-items:center;gap:16px;width:100%;min-height:72px;padding:12px 2px;border:0;border-bottom:1px solid var(--pv-line-2);border-radius:0;background:transparent;color:var(--pv-ink);text-align:left;cursor:pointer;overflow:hidden;transition:background .12s ease}
.lab-note-list>:last-child{border-bottom:0}
.lab-note:hover,.lab-result:hover{background:var(--pv-surface-2)}
.lab-note .lab-disc,.lab-result .lab-disc{width:44px;height:44px;border-radius:50%}
.lab-note .lab-disc svg,.lab-result .lab-disc svg{width:19px;height:19px}
.lab-note-copy,.lab-result-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.lab-note-copy strong,.lab-result-copy strong{font:500 16px/1.3 var(--sans-app);color:var(--pv-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-note-copy small,.lab-result-copy small{font:400 13px/1.4 var(--sans-app);color:var(--pv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-note-when{flex:none;min-width:44px;font:400 13px/1 var(--sans-app);color:var(--pv-muted);text-align:right}
.lab-note>svg:last-of-type,.lab-result>svg:last-of-type{flex:none;color:var(--pv-muted)}
.lab-note .lab-timer{flex:none;font:500 24px/1 var(--serif-display);font-variant-numeric:tabular-nums;color:var(--lab-blue)}
.lab-note.ready .lab-timer{color:var(--lab-green)}
.lab-note .lab-timer-progress{position:absolute;left:0;bottom:0;height:2px;background:var(--lab-blue);transition:width 1s linear}
.lab-note.ready .lab-timer-progress{background:var(--lab-green)}
body.preview-ui #lab-home .lab-more-queue>summary{padding:10px 4px;font:500 13px/1 var(--sans-app);color:var(--lab-green);cursor:pointer}
.lab-result-value{flex:none;display:inline-flex;align-items:baseline;gap:4px;min-width:60px}
.lab-result-value b{font:500 31px/1 var(--serif-display);font-variant-numeric:tabular-nums;color:var(--pv-ink)}
.lab-result-value small{font:400 13px/1 var(--sans-app);color:var(--pv-muted)}
.lab-spark{flex:none;width:130px;height:38px}
.lab-spark-line{fill:none;stroke:var(--lab-green);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.lab-spark-area{fill:var(--lab-green);opacity:.12}
.lab-spark-dot{fill:var(--lab-warm)}
.lab-tags{display:inline-flex;gap:6px;flex:none}
.lab-tags em{font:500 12px/1 var(--sans-app);font-style:normal;padding:6px 10px;border-radius:999px;background:var(--lab-green-tint);color:var(--lab-green)}

/* Quick actions */
.lab-quick-actions{padding:22px 22px 22px;border:1px solid var(--pv-line-2);border-radius:16px;background:var(--pv-surface);box-shadow:var(--ab-shadow)}
.lab-quick-actions .pc-head{margin-bottom:14px}
.lab-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.lab-quick,body.preview-ui .lab-quick-menu>summary.lab-quick{display:flex;align-items:center;gap:12px;width:100%;min-height:78px;padding:0 12px 0 14px;border:1px solid var(--pv-line-2);border-radius:12px;background:var(--pv-surface);color:var(--pv-ink);text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}
.lab-quick:hover,body.preview-ui .lab-quick-menu>summary.lab-quick:hover,body.preview-ui .lab-quick-menu[open]>summary.lab-quick{border-color:var(--lab-green-line);box-shadow:var(--ab-shadow)}
.lab-quick--primary{background:var(--lab-green-tint);border-color:var(--lab-green-line)}
.lab-quick-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.lab-quick-copy strong{font:500 16px/1.25 var(--sans-app);color:var(--pv-ink)}
.lab-quick-copy small{font:400 13px/1.35 var(--sans-app);color:var(--pv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-quick .lab-disc{width:38px;height:38px;background:transparent;color:var(--pv-ink-2)}
.lab-quick .lab-disc svg{width:24px;height:24px;stroke-width:1.5}
.lab-quick--primary .lab-disc{color:var(--lab-green)}
.lab-quick>svg:last-child{flex:none;color:var(--pv-muted)}
.lab-quick-menu{position:relative;display:block;min-width:0}
body.preview-ui .lab-quick-menu>summary::-webkit-details-marker{display:none}
body.preview-ui .lab-quick-menu .t-menu-list{left:0;right:auto;top:calc(100% + 8px);min-width:min(300px,calc(100vw - 32px));border-radius:14px;border-color:var(--pv-line-2);box-shadow:var(--ab-shadow-hover)}
body.preview-ui #lab-home .lab-empty{border-radius:16px}

/* Responsive */
@media(max-width:1320px){.lab-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body.preview-ui #lab-home .lab-content{padding:32px 32px 48px;gap:18px}.lab-hero{grid-template-columns:minmax(0,1fr);align-items:start;min-height:0}.lab-hero-cta{grid-column:1}.lab-hero-side{grid-column:1;grid-row:auto;align-items:flex-start}.lab-hero-side .lab-active-row{align-items:flex-start}.lab-active-views{flex-wrap:wrap;justify-content:flex-start}.lab-hero-side .lab-hero-cta{align-self:flex-start}.lab-hero-cta,.lab-hero-copy,.lab-wheel,.lab-hero-tagline{grid-row:auto}body.preview-ui #lab-home .lab-hero h1{white-space:normal}.lab-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-bar-menu{grid-column:1/-1}body.preview-ui .lab-bar-menu>summary.lab-stat--add{width:100%;min-height:56px}.lab-home-grid{grid-template-columns:1fr}body.preview-ui #lab-home .lab-hero h1{font-size:46px}.lab-hero-copy p{font-size:22px}}
@media(max-width:800px){body.preview-ui #lab-home .lab-content{padding:24px 20px 40px;gap:16px}body.preview-ui #lab-home .lab-hero h1{font-size:38px}.lab-hero-copy p{font-size:20px}.lab-cta{height:52px;padding:0 20px;font-size:20px}.lab-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-spark{display:none}body.preview-ui #lab-home .lab-tabs{margin-left:0;width:100%;overflow-x:auto;scrollbar-width:none}.lab-row-divider{display:none}}
@media(max-width:520px){body.preview-ui #lab-home .lab-content{padding:20px 16px 36px}.lab-stats{grid-template-columns:1fr;gap:12px}.lab-stat{min-height:76px}.lab-quick-grid{grid-template-columns:1fr;gap:10px}.lab-project-pill-label{display:none}.lab-note-when{display:none}.lab-result-value{min-width:0}body.preview-ui #lab-home .lab-hero h1{font-size:34px}.lab-cta{font-size:18px;gap:10px}.lab-cta>svg:last-child{margin-left:4px}}
@media(prefers-reduced-motion:reduce){.lab-cta,.lab-stat,.lab-quick,.lab-note,.lab-result,.preview-pill{transition:none}.lab-stat:hover,.lab-cta:hover{transform:none}}
/* Polish after the first render: the input paints no background of its own, the keycap is plain text, figures are lining and tabular, and the page fits 1024 px high like the reference. */
body.preview-ui .cosmo-header.product-header .preview-pill>input#product-search{background:transparent;box-shadow:none;height:100%}
.preview-pill-kbd,body.preview-ui .cosmo-header .preview-pill-kbd{border:0;background:transparent;padding:0;font:500 12.5px/1 var(--sans-app);color:var(--pv-muted)}
.lab-stat-copy strong,.lab-result-value b,.lab-note .lab-timer,.lab-team-label span,body.preview-ui #lab-home .pc-head h2,.lab-project-flag{font-variant-numeric:lining-nums tabular-nums}
.product-nav-icon .product-project-attention{background:var(--lab-warm)}
body.preview-ui #lab-home .lab-content{padding-top:30px;gap:18px}
.lab-hero{min-height:160px;padding:4px 0 0}
.lab-stats{gap:18px}
.lab-stat{min-height:86px}
.lab-home-grid{gap:18px}
.lab-note,.lab-result{min-height:66px;padding:10px 2px}
.lab-quick,body.preview-ui .lab-quick-menu>summary.lab-quick{min-height:72px}
.lab-quick-actions{padding:20px 22px}
/* Narrow header: the action group fills its column so the search pill shrinks instead of overflowing onto the brand. */
@media(max-width:900px){.preview-actions,body.airbnb-compact .preview-actions{justify-self:stretch;justify-content:flex-end;width:100%;min-width:0}.preview-global-search.preview-pill-wrap{flex:1 1 90px}.preview-pill,body.airbnb-compact .preview-pill{padding:0 10px 0 12px}body.preview-ui .cosmo-header.product-header .j-brand{flex:none}}
@media(max-width:800px){.lab-active-row{gap:10px 14px}}
/* Round seven, review one: Notifications and Recent results share a height; the results card ends with a quick view (structure thumbnail + results-per-week bars). */
.lab-home-grid{align-items:stretch}
body.preview-ui #lab-home .lab-home-grid .pc-card{display:flex;flex-direction:column}
.lab-quick-view{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:auto;padding:14px 0 8px;border-top:1px solid var(--pv-line-2)}
.lab-quick-view.has-both{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.lab-qv-figure{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;padding:10px;border:1px solid var(--pv-line-2);border-radius:12px;background:var(--pv-surface-2);color:var(--pv-ink);cursor:pointer;overflow:hidden;transition:border-color .15s ease}
.lab-qv-figure:hover{border-color:var(--lab-green-line)}
.lab-qv-figure svg{width:100%;height:120px;color:var(--lab-green)}
.lab-qv-figure small{font:500 12.5px/1.3 var(--sans-app);color:var(--pv-muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-qv-loading{font:400 12.5px/1.4 var(--sans-app);color:var(--pv-muted)}
.lab-qv-chart{display:flex;flex-direction:column;gap:8px;margin:0;min-height:150px;padding:12px 14px 10px;border:1px solid var(--pv-line-2);border-radius:12px;background:var(--pv-surface)}
.lab-qv-chart figcaption{font:400 13px/1.4 var(--sans-app);color:var(--pv-muted)}
.lab-qv-chart figcaption strong{font:500 22px/1 var(--serif-display);font-variant-numeric:lining-nums;color:var(--pv-ink);margin-right:4px}
.lab-qv-chart svg{width:100%;height:auto;flex:1;overflow:visible}
.lab-qv-chart rect{fill:var(--lab-green);opacity:.55}
.lab-qv-chart rect.is-latest{opacity:1}
.lab-qv-chart rect.is-empty{fill:var(--pv-line)}
.lab-qv-chart line{stroke:var(--pv-line);stroke-width:1}
.lab-qv-axis{display:flex;justify-content:space-between;font:400 11px/1 var(--sans-app);color:var(--pv-muted)}
@media(max-width:1100px){.lab-home-grid{align-items:start}.lab-quick-view.has-both{grid-template-columns:1fr}}
/* Round seven, review two: DM Sans for display + wordmark, Inter for the interface; sample quick view; three rows per card; view buttons that read as buttons. */
body.preview-ui,body.preview-ui :is(button,input,select,textarea){font-family:var(--sans-app)}/* headings: product-theme.css (DM Sans) */
body.preview-ui #lab-home .lab-hero h1{font:600 clamp(34px,3.7vw,52px)/1.08 var(--serif-display);letter-spacing:-.03em}
.lab-hero-copy p{font:400 21px/1.35 var(--serif-display);letter-spacing:-.01em;color:var(--pv-ink-2);max-width:34ch}
.lab-cta{font:500 18px/1 var(--serif-display);letter-spacing:-.005em;height:54px;padding:0 24px 0 22px}
.lab-project-pill-label{font:500 15px/1 var(--serif-display);letter-spacing:-.01em}
body.preview-ui #lab-home .lab-team{font:500 16px/1 var(--serif-display)}
.lab-stat-copy strong{font:600 28px/1 var(--serif-display);letter-spacing:-.02em}
body.preview-ui #lab-home .pc-head h2{font:600 21px/1.15 var(--serif-display);letter-spacing:-.02em}
.lab-result-value b{font:600 26px/1 var(--serif-display);letter-spacing:-.02em}
.lab-note .lab-timer{font:600 20px/1 var(--serif-display)}
.lab-note-copy strong,.lab-result-copy strong,.lab-quick-copy strong,.lab-stat-copy small{font-weight:500}
.lab-note-copy strong,.lab-result-copy strong{font-size:15px}
.lab-quick-copy strong{font-size:15px}
/* Views (Overview · Literature · Calendar · Team): a visible button surface */
body.preview-ui #lab-home .lab-tabs{gap:6px}
body.preview-ui #lab-home .lab-tabs button{padding:9px 14px;border:1px solid var(--pv-line);background:var(--pv-surface-2);color:var(--pv-ink-2);font:500 13.5px/1 var(--sans-app);box-shadow:0 1px 1px rgba(28,36,32,.04)}
body.preview-ui #lab-home .lab-tabs button:hover{background:var(--pv-surface);border-color:#c9cfc8;color:var(--pv-ink)}
body.preview-ui #lab-home .lab-tabs button[aria-selected=true]{background:var(--lab-green);border-color:var(--lab-green);color:#fff;font-weight:600}
:root[data-theme=dark] body.preview-ui #lab-home .lab-tabs button[aria-selected=true]{color:#0F1A18}
/* Quick view: one trend chart (real once two readings exist; a labelled sample until then) */
figure.lab-quick-view{position:relative;display:flex;flex-direction:column;gap:10px;margin:auto 0 0;padding:14px 4px 6px;border-top:1px solid var(--pv-line-2)}
.lab-quick-view figcaption{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.lab-quick-view figcaption strong{font:600 14px/1.3 var(--sans-app);color:var(--pv-ink)}
.lab-quick-view figcaption span{font:400 12.5px/1.4 var(--sans-app);color:var(--pv-muted)}
.lab-quick-view svg{width:100%;height:auto;display:block}
.lab-qv-grid line{stroke:var(--pv-line-2);stroke-width:1}
.lab-qv-line{fill:none;stroke:var(--lab-green);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.lab-qv-area{fill:var(--lab-green);opacity:.1}
.lab-qv-point{fill:var(--pv-surface);stroke:var(--lab-green);stroke-width:1.5}
.lab-qv-last{fill:var(--lab-warm)}
.lab-quick-view.is-sample .lab-qv-line{stroke-dasharray:4 4;opacity:.7}
.lab-quick-view.is-sample .lab-qv-area{opacity:.06}
.lab-quick-view.is-sample .lab-qv-point{opacity:.6}
.lab-qv-stamp{position:absolute;right:8px;top:14px;padding:4px 8px;border-radius:999px;background:var(--lab-warm-tint);color:var(--lab-warm);font:600 11px/1 var(--sans-app);letter-spacing:.04em}
/* Review three: no caption under the CTA; the quick view is a compact result chart with axis, run labels and the change since the first reading. */
.lab-hero-cta{gap:0}
figure.lab-quick-view{gap:8px;padding:12px 0 2px}
.lab-quick-view figcaption{align-items:baseline;gap:8px 12px}
.lab-quick-view figcaption strong{font-size:14px}
.lab-qv-delta{font:600 12.5px/1 var(--sans-app);color:var(--pv-ink-2);padding:4px 8px;border-radius:999px;background:var(--pv-surface-2)}
.lab-qv-delta.up{color:var(--lab-green);background:var(--lab-green-tint)}
.lab-qv-delta.down{color:var(--lab-warm);background:var(--lab-warm-tint)}
.lab-quick-view figcaption span{font-size:12.5px}
.lab-quick-view svg{max-height:160px}
.lab-qv-grid text,.lab-qv-x text{font:500 8.5px var(--sans-app);fill:var(--pv-muted)}
.lab-qv-value{font:600 10px var(--sans-app);fill:var(--pv-ink)}
.lab-qv-line{stroke-width:1.8}
.lab-qv-last{fill:var(--lab-green);stroke:var(--pv-surface);stroke-width:1.5}
.lab-quick-view.is-sample .lab-qv-last{fill:var(--lab-warm)}
/* Chat button among the Home views: same surface as the view buttons, accent glyph. */
body.preview-ui #lab-home .lab-tabs .lab-tab-chat{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid var(--pv-line);border-radius:999px;background:var(--pv-surface-2);color:var(--pv-ink-2);font:500 13.5px/1 var(--sans-app);cursor:pointer;box-shadow:0 1px 1px rgba(28,36,32,.04);transition:background .15s ease,border-color .15s ease,color .15s ease}
body.preview-ui #lab-home .lab-tabs .lab-tab-chat svg{color:var(--pv-accent-ink)}
body.preview-ui #lab-home .lab-tabs .lab-tab-chat:hover{background:var(--pv-surface);border-color:var(--pv-accent);color:var(--pv-ink)}
/* Very narrow phones: the tab labels give way to the icons so the top bar never widens the page */
@media(max-width:360px){body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-label{display:none}body.preview-ui .cosmo-header.product-header .product-nav-icon{padding:0 10px}}
/* Quick actions on very narrow phones: one column, and a tile can never be wider than its column */
.lab-quick,.lab-quick-menu{min-width:0}.lab-quick-copy{min-width:0}.lab-quick-copy strong,.lab-quick-copy small{overflow-wrap:anywhere;white-space:normal}
@media(max-width:420px){.lab-quick-grid{grid-template-columns:1fr}}
/* Hero emblem, study sketches and the tab-hover glow */

/* Assigned tasks (Home): due chips beside the row */
.lab-task-due{flex:none;font:500 12.5px/1 var(--sans-app);padding:6px 10px;border-radius:999px;background:var(--lab-grey-tint);color:var(--pv-ink-2);white-space:nowrap}
.lab-task-due.today{background:var(--lab-blue-tint);color:var(--lab-blue)}.lab-task-due.overdue{background:var(--lab-warm-tint);color:var(--lab-warm)}

/* Calendar card (Home): Week or Month view of dated work; the full Calendar tab keeps the large month grid */
.lab-cal-tools{display:flex;align-items:center;gap:14px;margin-left:auto;flex-wrap:wrap;min-width:0}.lab-calendar-card .pc-head{flex-wrap:wrap}
.lab-cal-views{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--pv-line-2);border-radius:999px;background:var(--pv-surface-2)}
.lab-cal-views button{border:0;border-radius:999px;padding:6px 12px;font:500 13px/1 var(--sans-app);color:var(--pv-muted);background:transparent;cursor:pointer}
.lab-cal-views button[aria-pressed=true]{background:var(--pv-surface);color:var(--pv-ink);box-shadow:var(--ab-shadow)}
.lab-cal-nav{display:flex;align-items:center;gap:8px;margin:2px 0 12px}
.lab-cal-label{flex:1;font:500 15px/1.2 var(--sans-app);color:var(--pv-ink)}
.lab-cal-step,.lab-cal-today{border:1px solid var(--pv-line-2);border-radius:999px;background:var(--pv-surface);color:var(--pv-ink);font:500 13px/1 var(--sans-app);cursor:pointer}
.lab-cal-step{width:30px;height:30px;font-size:18px;line-height:1}.lab-cal-today{padding:7px 12px}
.lab-cal-step:hover,.lab-cal-today:hover{border-color:var(--lab-green-line);background:var(--lab-green-tint);color:var(--lab-green)}
.lab-cal-week{display:flex;flex-direction:column;min-width:0;border:1px solid var(--pv-line-2);border-radius:12px;background:var(--pv-surface);overflow:hidden}
.lab-cal-head,.lab-cal-allday,.lab-cal-tcols{display:grid;grid-template-columns:48px repeat(7,minmax(0,1fr))}
.lab-cal-head{border-bottom:1px solid var(--pv-line-2)}.lab-cal-gutter{min-width:0}
.lab-cal-col{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:8px 4px 6px;border-left:1px solid var(--pv-line-2)}.lab-cal-col.past{opacity:.7}
.lab-cal-dow{font:500 10.5px/1 var(--sans-app);letter-spacing:.06em;text-transform:uppercase;color:var(--pv-muted)}.lab-cal-col.today .lab-cal-dow{color:var(--lab-green)}
.lab-cal-num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font:500 17px/1 var(--sans-app);color:var(--pv-ink)}.lab-cal-col.today .lab-cal-num{background:var(--lab-green);color:#fff}
.lab-cal-allday{min-height:30px;border-bottom:1px solid var(--pv-line-2)}.lab-cal-allday-label{align-self:center;padding:0 6px;font:500 9.5px/1 var(--sans-app);letter-spacing:.06em;text-transform:uppercase;color:var(--pv-muted);text-align:right}
.lab-cal-allday-col{display:flex;flex-direction:column;gap:3px;min-width:0;padding:3px;border-left:1px solid var(--pv-line-2)}.lab-cal-allday-col.today{background:color-mix(in srgb,var(--lab-green-tint) 60%,transparent)}
.lab-cal-timegrid{position:relative;max-height:250px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}.lab-cal-timegrid:focus-visible{outline:2px solid var(--pv-live);outline-offset:-2px}
.lab-cal-tcols{position:relative;padding:10px 0 12px;box-sizing:content-box}
.lab-cal-hours{position:relative}.lab-cal-hours span{position:absolute;right:6px;transform:translateY(-50%);font:400 10.5px/1 var(--sans-app);color:var(--pv-muted);white-space:nowrap}
.lab-cal-tcol{position:relative;border-left:1px solid var(--pv-line-2);background-image:repeating-linear-gradient(to bottom,var(--pv-line-2) 0 1px,transparent 1px 36px)}.lab-cal-tcol.today{background-color:color-mix(in srgb,var(--lab-green-tint) 45%,transparent)}
.lab-cal-tevent{position:absolute;left:2px;display:flex;align-items:flex-start;gap:4px;min-height:20px;padding:2px 5px;border:0;border-left:3px solid var(--lab-blue);border-radius:6px;background:var(--lab-blue-tint);color:var(--pv-ink);font:500 10.5px/1.25 var(--sans-app);text-align:left;white-space:nowrap;overflow:hidden;cursor:pointer;z-index:1}
.lab-cal-tevent b{flex:none;font-weight:600;color:var(--lab-blue)}.lab-cal-tevent span{min-width:0;overflow:hidden;text-overflow:ellipsis}.lab-cal-tevent:hover{filter:brightness(.97)}
.lab-cal-tevent.timer{border-left-color:#8a63d2;background:color-mix(in srgb,#8a63d2 14%,var(--pv-surface))}.lab-cal-tevent.timer b{color:#8a63d2}.lab-cal-tevent.decision{border-left-color:var(--pv-ink-2);background:var(--lab-grey-tint)}.lab-cal-tevent.decision b{color:var(--pv-ink-2)}.lab-cal-tevent.experiment,.lab-cal-tevent.deadline{border-left-color:var(--lab-green);background:var(--lab-green-tint)}.lab-cal-tevent.experiment b,.lab-cal-tevent.deadline b{color:var(--lab-green)}
.lab-cal-tevent.group{border-left-color:var(--pv-ink-2);background:var(--pv-surface-2)}.lab-cal-tevent.group b{color:var(--pv-ink)}
.lab-cal-now{position:absolute;left:0;right:0;height:2px;background:#d93025;z-index:2;pointer-events:none}.lab-cal-now::before{content:'';position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#d93025}
.lab-cal-items{display:flex;flex-direction:column;gap:4px;min-width:0}
.lab-cal-event{display:flex;align-items:center;gap:6px;width:100%;min-width:0;padding:5px 7px;border:0;border-radius:8px;background:var(--pv-surface-2);color:var(--pv-ink);font:500 12px/1.25 var(--sans-app);text-align:left;cursor:pointer}
.lab-cal-event span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word;hyphens:auto}.lab-cal-event:hover{background:var(--lab-green-tint)}.lab-cal-event.done{opacity:.55;text-decoration:line-through}
.lab-cal-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--pv-muted)}
.lab-cal-dot.deadline{background:var(--lab-warm)}.lab-cal-dot.task{background:var(--lab-blue)}.lab-cal-dot.experiment{background:var(--lab-green)}.lab-cal-dot.workflow{background:var(--lab-green-deep)}.lab-cal-dot.timer{background:#8a63d2}.lab-cal-dot.decision{background:var(--pv-ink-2)}
.lab-cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:4px}
.lab-cal-weekdays span{font:500 11px/1 var(--sans-app);letter-spacing:.04em;text-transform:uppercase;color:var(--pv-muted);text-align:center}
.lab-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.lab-cal-cell{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:48px;padding:6px 2px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--pv-ink);font:500 13px/1 var(--sans-app);cursor:pointer}
.lab-cal-cell:hover{background:var(--pv-surface-2)}.lab-cal-cell.outside{color:var(--pv-muted);opacity:.55}.lab-cal-cell.today b{color:var(--lab-green)}.lab-cal-cell.selected{border-color:var(--lab-green-line);background:var(--lab-green-tint)}
.lab-cal-dots{display:inline-flex;align-items:center;gap:3px;min-height:8px}.lab-cal-dots i{width:6px;height:6px}.lab-cal-dots small{font-size:10px;color:var(--pv-muted)}
.lab-cal-selected{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--pv-line-2)}
.lab-cal-selected strong{font:500 14px/1.3 var(--sans-app);color:var(--pv-ink)}
.lab-cal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;padding:10px 0 8px;border-top:1px solid var(--pv-line-2)}
.lab-cal-legend{display:inline-flex;flex-wrap:wrap;gap:4px 12px}.lab-cal-legend span{display:inline-flex;align-items:center;gap:5px;font:400 12px/1 var(--sans-app);color:var(--pv-muted)}.lab-cal-foot small{font:400 12px/1 var(--sans-app);color:var(--pv-muted)}
@media(max-width:1100px){.lab-cal-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.lab-cal-col{padding:6px 4px 8px}}
@media(max-width:640px){.lab-cal-head,.lab-cal-allday,.lab-cal-tcols{grid-template-columns:34px repeat(7,minmax(0,1fr))}.lab-cal-num{width:24px;height:24px;font-size:13px}.lab-cal-allday-col .lab-cal-event span,.lab-cal-tevent span{display:none}.lab-cal-allday-col .lab-cal-event{justify-content:center;padding:4px 0}.lab-cal-hours span{right:3px;font-size:9px}.lab-cal-tools{width:100%;margin-left:0;justify-content:space-between}}

/* Project overview: Overview · Notifications · Recent results views (shared cards from home-cards.js) */
.ov-view-tabs{display:flex;gap:4px;margin:18px 0 20px;border-bottom:1px solid var(--pv-line)}
.ov-view-tabs button{position:relative;display:inline-flex;align-items:center;gap:8px;padding:10px 14px 12px;border:0;background:transparent;color:var(--pv-muted);font:500 14px/1 var(--sans-app);cursor:pointer;border-radius:8px 8px 0 0}
.ov-view-tabs button:hover{color:var(--pv-ink);background:var(--pv-surface-2)}
.ov-view-tabs button[aria-selected=true]{color:var(--pv-ink);font-weight:600}
.ov-view-tabs button[aria-selected=true]::after{content:'';position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:var(--pv-accent)}
.ov-view-count{font:500 11px/1 var(--sans-app);padding:4px 7px;border-radius:999px;background:var(--pv-accent-tint);color:var(--pv-accent-ink,var(--pv-accent))}
#project-overview .lab-notifications,#project-overview .lab-results-card{padding:22px 22px 12px;border:1px solid var(--pv-line-2);border-radius:16px;background:var(--pv-surface);box-shadow:var(--ab-shadow)}
#project-overview .pc-head{align-items:center;gap:12px;margin-bottom:8px}#project-overview .pc-head h2{font:500 24px/1.1 var(--serif-display);color:var(--pv-ink)}
#project-overview .pc-link{display:inline-flex;align-items:center;gap:6px;font:500 14px/1 var(--sans-app);color:var(--lab-green)}
#project-overview .lab-more-queue>summary{padding:10px 4px;font:500 13px/1 var(--sans-app);color:var(--lab-green);cursor:pointer}

/* Wordmark arrival: particles, a DNA helix or a Vitruvian figure draw over the brand, then the letters emerge */
.brand-animated{position:relative}
.brand-fx{position:absolute;left:50%;top:50%;width:132px;height:52px;transform:translate(-50%,-50%);pointer-events:none;overflow:visible;color:var(--lab-green);opacity:0;transition:opacity .3s ease}
.is-arriving .brand-fx{opacity:1}
.preview-word path{stroke-dasharray:1;stroke-dashoffset:0}
.is-arriving .brand-letter{animation:brand-letter 1.1s cubic-bezier(.4,0,.2,1) both;animation-delay:calc(var(--letter-delay,800ms) + var(--i) * 70ms)}/* as the sketch fades each stroke of the wordmark lifts and re-traces itself, letter by letter */
@keyframes brand-letter{0%{stroke-dashoffset:0;opacity:1}28%{stroke-dashoffset:1;opacity:0}34%{stroke-dashoffset:1;opacity:1}100%{stroke-dashoffset:0;opacity:1}}
.bfx-dot{fill:var(--lab-warm);opacity:0;animation:bfx-dot 1.5s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d)}
@keyframes bfx-dot{0%{opacity:0;transform:translate(0,0)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy))}}
.bfx-draw{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:420;stroke-dashoffset:420;animation:bfx-draw 1.6s ease-out forwards,bfx-fade .6s ease-in 2s forwards}
.bfx-draw--2{color:var(--lab-warm);animation-delay:.2s,2.1s}.bfx-draw--3{animation-delay:.55s,2.2s}
@keyframes bfx-draw{to{stroke-dashoffset:0}}@keyframes bfx-fade{to{opacity:0}}
.bfx-rung{stroke:var(--lab-warm);stroke-width:1.2;opacity:0;animation:bfx-rung 1.3s ease-out forwards;animation-delay:var(--d)}
@keyframes bfx-rung{0%{opacity:0}30%{opacity:.9}100%{opacity:0}}
.bfx-pop{fill:var(--lab-warm);opacity:0;transform-box:fill-box;transform-origin:center;animation:bfx-pop 1.6s ease-out both;animation-delay:var(--d)}
@keyframes bfx-pop{0%{opacity:0;transform:scale(.3)}25%{opacity:1;transform:scale(1.15)}60%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
.bfx-band{stroke:var(--lab-warm);stroke-width:2.2;stroke-linecap:round;opacity:0;animation:bfx-rung 1.5s ease-out forwards;animation-delay:var(--d)}
/* the wordmark carries the gold "new since you last looked" ring while a project has unseen activity */
body.preview-ui .j-brand.is-fresh{border-radius:10px}body.preview-ui .j-brand.is-fresh::before{right:-2px;top:-4px}
@media(prefers-reduced-motion:reduce){.brand-fx{display:none}.is-arriving .brand-letter{animation:none;opacity:1}}
.brand-fx{z-index:1}.brand-animated .preview-word{position:relative;z-index:0}

body.preview-ui .j-brand .preview-word,body.preview-ui .j-brand .brand-letter{opacity:1}/* the wordmark is always fully visible in both themes */

/* Sync Your Data: a single sweep of light each time Home opens while nothing is connected */
.lab-cta{position:relative;overflow:hidden}.lab-cta.is-shimmer::after{content:'';position:absolute;top:-20%;bottom:-20%;left:0;width:45%;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.38) 50%,transparent 100%);transform:translateX(-180%) skewX(-12deg);animation:lab-shimmer var(--cta-ms,1.5s) ease-out .5s 1 both;pointer-events:none}.lab-cta-ring{display:inline-flex;border-radius:15px}
@keyframes lab-shimmer{to{transform:translateX(360%) skewX(-12deg)}}
@media(prefers-reduced-motion:reduce){.lab-cta.is-shimmer::after{display:none}}

/* Team announcements (Team view) */
.lab-announce-form{display:grid;gap:10px;margin:4px 0 14px}.lab-announce-form textarea{width:100%;padding:10px 12px;border:1px solid var(--pv-line-2);border-radius:12px;background:var(--pv-surface);color:var(--pv-ink);font:400 14px/1.4 var(--sans-app);resize:vertical}
.lab-announce-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lab-announce-row label{display:inline-flex;align-items:center;gap:8px;font:500 13px/1 var(--sans-app);color:var(--pv-muted)}body.preview-ui #lab-home .lab-announce-row .button.gold{background:var(--lab-green);color:#fff;border-color:var(--lab-green)}body.preview-ui #lab-home .lab-announce-row .button.gold:hover{background:var(--lab-green-deep)}.lab-announce-row select{padding:8px 10px;border:1px solid var(--pv-line-2);border-radius:10px;background:var(--pv-surface);color:var(--pv-ink);font:inherit}
.lab-announce-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.lab-announce-list li{display:flex;align-items:flex-start;gap:12px;padding:10px 2px;border-bottom:1px solid var(--pv-line-2)}.lab-announce-list li:last-child{border-bottom:0}
.lab-announce-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.lab-announce-copy strong{font:600 13.5px/1.3 var(--sans-app);color:var(--pv-ink)}.lab-announce-copy strong em{font-style:normal;font-weight:500;color:var(--pv-purple,#7461a3)}.lab-announce-copy>span{font:400 14px/1.45 var(--sans-app);color:var(--pv-ink-2)}.lab-announce-list time{flex:none;font:400 12px/1 var(--sans-app);color:var(--pv-muted);padding-top:4px}
/* ---- 6. Five tabs (Command center joined the rail) ---- Below 640px the tab row is its own grid row; it must shrink to the header and share its width between the tabs instead of widening the page. */
@media(max-width:640px){
 body.preview-ui .cosmo-header.product-header nav,body.airbnb-compact .cosmo-header.product-header nav{justify-self:stretch;min-width:0;width:100%;max-width:100%;margin:0;overflow-x:hidden}
 body.preview-ui .cosmo-header.product-header .product-nav-icon{flex:1 1 0;min-width:0;padding:0 4px;overflow:hidden}
 body.preview-ui .cosmo-header.product-header .product-nav-icon .product-nav-label{display:block;min-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;text-align:center;font-size:11px;letter-spacing:0}
 body.preview-ui .cosmo-header.product-header .product-nav-icon::after{left:6px;right:6px}
}
/* ---- 7. Five labelled tabs beside the search pill ---- The tab column is `auto`; reserve the nav's full width so the pill never slides under the tabs. Tighter tabs under 1320px; between 1001 and 1180px only the current tab keeps its label (the others keep their title and aria-label). */
@media(min-width:901px){body.preview-ui .cosmo-header.product-header nav,body.airbnb-compact .cosmo-header.product-header nav{min-width:max-content}}
@media(max-width:1320px){body.preview-ui .cosmo-header.product-header{column-gap:16px;padding:0 24px}body.preview-ui .cosmo-header.product-header .product-nav-icon,body.airbnb-compact .cosmo-header.product-header .product-nav-icon{gap:7px;padding:0 10px;font-size:14px}body.preview-ui .cosmo-header.product-header .product-nav-icon::after{left:10px;right:10px}}
@media(min-width:1001px) and (max-width:1180px){body.preview-ui .cosmo-header.product-header .product-nav-icon:not([aria-current=page]) .product-nav-label{display:none}body.preview-ui .cosmo-header.product-header .product-nav-icon:not([aria-current=page]){padding:0 11px}}

/* News and Announcements: the gold "new since you last looked" ring wraps the whole brief when an announcement is new */
.lab-wheel.is-fresh{border-radius:12px;padding:8px 12px;margin-left:-12px}
