/* GENERATED from src/components/shell/ by tools/page-quality/sync-shell.mjs. Edit the source, not this copy. */
/* The BizBox shell (page-quality, Rexx 2026-10-21): "we shouldn't have that much of an interactive and engaging page and
   then have it go to something that's from 1990." Every page a person reaches from the OS or the Agent Room wears this:
   the OS's dusk sky with drifting fog, frosted glass cards, real headings, gold LYFE accents, motion on hover and tap.
   ONE file. React imports it from here (src/components/shell/); static pages and the Agent Room server use the copy at
   public/shell/bizbox-shell.css, which tools/page-quality/sync-shell.mjs writes and tests/page-quality.test.mjs checks.
   Everything is scoped under .bbs so it never leaks into the pages around it. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700&display=swap');
.bbs{
  --bbs-sky-0:#0d1530; --bbs-sky-1:#1d2a55; --bbs-sky-2:#3b3f74; --bbs-sky-3:#8a5f73; --bbs-glow:#f3b98a;
  --bbs-ink:#fdf7ef; --bbs-dim:rgba(253,247,239,.68); --bbs-faint:rgba(253,247,239,.42);
  --bbs-glass:rgba(255,255,255,.10); --bbs-glass-hi:rgba(255,255,255,.16); --bbs-edge:rgba(255,255,255,.26);
  --bbs-gold:#ffd23f; --bbs-gold-2:#f6b73c; --bbs-good:#7ef0a8; --bbs-warn:#ffd36e; --bbs-bad:#ff7b6b; --bbs-blue:#7fb2ff;
  --bbs-r:24px; --bbs-display:"Bricolage Grotesque","Inter Tight",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  position:relative;min-height:100vh;min-height:100dvh;isolation:isolate;overflow-x:clip;
  color:var(--bbs-ink);font-family:var(--bbs-display);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;
  background:linear-gradient(180deg,var(--bbs-sky-0) 0%,var(--bbs-sky-1) 38%,var(--bbs-sky-2) 70%,var(--bbs-sky-3) 92%,var(--bbs-glow) 130%);
  background-attachment:fixed;color-scheme:dark;
}
.bbs *,.bbs *::before,.bbs *::after{box-sizing:border-box}
/* the same parts inside a page that already has its sky (an Agent Room sheet): no second background, no fog */
.bbs.bbs-inline{min-height:0;background:none;overflow:visible;isolation:auto}
.bbs.bbs-inline::before,.bbs.bbs-inline::after{content:none}
/* fog: two slow blurred banks, and the lens edge the OS has */
.bbs::before,.bbs::after{content:"";position:fixed;inset:-20% -30%;z-index:-1;pointer-events:none;filter:blur(40px);opacity:.55;will-change:transform}
.bbs::before{background:radial-gradient(40% 22% at 22% 78%,rgba(255,226,206,.32),transparent 70%),radial-gradient(34% 18% at 78% 64%,rgba(190,200,255,.22),transparent 70%);animation:bbs-fog 38s ease-in-out infinite alternate}
.bbs::after{background:radial-gradient(30% 16% at 60% 90%,rgba(255,244,236,.28),transparent 70%),radial-gradient(26% 14% at 12% 40%,rgba(160,170,255,.16),transparent 70%);animation:bbs-fog 52s ease-in-out infinite alternate-reverse}
@keyframes bbs-fog{from{transform:translate3d(-4%,0,0) scale(1)}to{transform:translate3d(5%,-3%,0) scale(1.08)}}
.bbs a{color:inherit;text-decoration:none}
.bbs :focus-visible{outline:3px solid var(--bbs-gold);outline-offset:3px;border-radius:12px}

.bbs-wrap{width:min(1180px,100%);margin:0 auto;padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(110px + env(safe-area-inset-bottom,0px))}
@media (min-width:760px){.bbs-wrap{padding-left:28px;padding-right:28px}}

/* top bar: back, title, a few status chips, one action */
.bbs-top{display:flex;align-items:center;gap:14px;margin:4px 0 22px;flex-wrap:wrap}
.bbs-back{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--bbs-glass);border:1px solid var(--bbs-edge);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .25s cubic-bezier(.2,.8,.2,1),background .25s}
.bbs-back:hover{transform:translateX(-3px) scale(1.06);background:var(--bbs-glass-hi)}
.bbs-back:active{transform:scale(.92)}
.bbs-back svg{width:20px;height:20px}
.bbs-title{flex:1 1 auto;min-width:0}
.bbs-eyebrow{margin:0 0 2px;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--bbs-gold)}
.bbs h1,.bbs-h1{margin:0;font-size:clamp(30px,5.4vw,52px);line-height:1.02;letter-spacing:-.03em;font-weight:700}
.bbs h2,.bbs-h2{margin:0 0 12px;font-size:clamp(19px,2.4vw,24px);line-height:1.15;letter-spacing:-.015em;font-weight:650}
.bbs-sub{margin:6px 0 0;color:var(--bbs-dim);font-size:15px}
.bbs-actions{display:flex;gap:10px;flex-wrap:wrap}

/* glass cards */
.bbs-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.bbs-grid.bbs-wide{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr))}
.bbs-card{position:relative;display:block;border-radius:var(--bbs-r);padding:18px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
  border:1px solid var(--bbs-edge);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);
  box-shadow:0 18px 40px rgba(8,10,30,.35),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s;transform-style:preserve-3d;overflow:hidden}
.bbs-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(60% 50% at var(--mx,50%) var(--my,0%),rgba(255,255,255,.18),transparent 70%);opacity:0;transition:opacity .35s}
.bbs-card:hover,.bbs-card:focus-within{transform:translateY(-4px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));box-shadow:0 26px 60px rgba(8,10,30,.45),inset 0 1px 0 rgba(255,255,255,.3);border-color:rgba(255,255,255,.42)}
.bbs-card:hover::after{opacity:1}
.bbs-card:active{transform:scale(.985)}
a.bbs-card,button.bbs-card{cursor:pointer;color:inherit;font:inherit;text-align:left;width:100%}
.bbs-card-pic{margin:-18px -18px 14px;aspect-ratio:16/9;background:rgba(255,255,255,.06) center/cover no-repeat;overflow:hidden}
.bbs-card-pic img,.bbs-card-pic video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.bbs-card:hover .bbs-card-pic img,.bbs-card:hover .bbs-card-pic video{transform:scale(1.05)}
.bbs-card-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.bbs-card-head b{font-size:17px;letter-spacing:-.01em}
.bbs-card p{margin:0;color:var(--bbs-dim)}
.bbs-icon{flex:none;width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(150deg,rgba(255,210,63,.32),rgba(255,210,63,.08));border:1px solid rgba(255,210,63,.45);color:var(--bbs-gold)}
.bbs-icon svg{width:20px;height:20px}

/* numbers as cards, never as text */
.bbs-stats{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(46%,150px),1fr));margin-bottom:18px}
.bbs-stat{border-radius:20px;padding:14px 16px;background:var(--bbs-glass);border:1px solid var(--bbs-edge);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.bbs-stat:hover{transform:translateY(-3px)}
.bbs-stat b{display:block;font-size:clamp(24px,3.4vw,34px);line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.bbs-stat span{display:block;margin-top:6px;font-size:12.5px;color:var(--bbs-dim);text-transform:uppercase;letter-spacing:.08em}
.bbs-stat.is-gold b{color:var(--bbs-gold)}

/* chips */
.bbs-chips{display:flex;gap:8px;flex-wrap:wrap}
.bbs-chip{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:999px;background:var(--bbs-glass);border:1px solid var(--bbs-edge);font-size:13px;font-weight:600;white-space:nowrap}
.bbs-chip i{width:8px;height:8px;border-radius:50%;background:var(--bbs-faint)}
.bbs-chip.is-good i{background:var(--bbs-good);box-shadow:0 0 10px var(--bbs-good)}
.bbs-chip.is-warn i{background:var(--bbs-warn);box-shadow:0 0 10px var(--bbs-warn)}
.bbs-chip.is-bad i{background:var(--bbs-bad);box-shadow:0 0 10px var(--bbs-bad)}
.bbs-chip.is-live i{background:var(--bbs-good);animation:bbs-pulse 1.6s ease-in-out infinite}
@keyframes bbs-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}

/* gauges: a ring, a number in the middle */
.bbs-gauges{display:flex;gap:14px;flex-wrap:wrap}
.bbs-gauge{--v:0;--c:var(--bbs-good);position:relative;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--c) calc(var(--v)*1%),rgba(255,255,255,.14) 0);transition:--v .8s}
.bbs-gauge::before{content:"";position:absolute;inset:7px;border-radius:50%;background:rgba(14,20,48,.82)}
.bbs-gauge b{position:relative;font-size:17px;font-variant-numeric:tabular-nums}
.bbs-gauge small{position:absolute;top:100%;margin-top:6px;font-size:11px;color:var(--bbs-dim);white-space:nowrap}
.bbs-gauge-wrap{display:grid;justify-items:center;gap:22px;padding-bottom:4px}

/* buttons: one gold push-through, the rest glass */
.bbs-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;border:0;cursor:pointer;
  background:linear-gradient(180deg,var(--bbs-gold),var(--bbs-gold-2));color:#1d1606;font:inherit;font-weight:700;font-size:16px;
  box-shadow:0 12px 30px rgba(246,183,60,.35),inset 0 1px 0 rgba(255,255,255,.6);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.bbs-btn:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 18px 40px rgba(246,183,60,.45),inset 0 1px 0 rgba(255,255,255,.6)}
.bbs-btn:active{transform:scale(.96)}
.bbs-btn.is-glass{background:var(--bbs-glass);color:var(--bbs-ink);border:1px solid var(--bbs-edge);box-shadow:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}

/* the one push-through action: on a phone it rides above the thumb, always in reach */
.bbs-cta{margin:26px 0 0;display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:640px){.bbs-cta{position:sticky;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:5;margin-top:20px}}

/* an empty state that looks meant */
.bbs-empty{display:grid;justify-items:center;text-align:center;gap:14px;padding:44px 20px;border-radius:var(--bbs-r);background:var(--bbs-glass);border:1px dashed rgba(255,255,255,.3)}
.bbs-empty .bbs-orb{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;color:var(--bbs-gold);
  background:radial-gradient(circle at 35% 30%,rgba(255,236,180,.5),rgba(255,210,63,.12) 60%,transparent 70%);animation:bbs-bob 4.5s ease-in-out infinite}
.bbs-empty .bbs-orb svg{width:34px;height:34px}
.bbs-empty b{font-size:20px;letter-spacing:-.01em}
.bbs-empty p{margin:0;color:var(--bbs-dim);max-width:34ch}
@keyframes bbs-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* text that must exist (a licence, a transcript) lives in a readable glass panel, behind a toggle when it is long */
.bbs-doc{border-radius:var(--bbs-r);padding:20px;background:rgba(10,14,36,.55);border:1px solid var(--bbs-edge);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--bbs-dim);font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.bbs-toggle{border-radius:var(--bbs-r);background:var(--bbs-glass);border:1px solid var(--bbs-edge);overflow:hidden}
.bbs-toggle>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 18px;cursor:pointer;font-weight:650}
.bbs-toggle>summary::-webkit-details-marker{display:none}
.bbs-toggle>summary::after{content:"";margin-left:auto;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .3s}
.bbs-toggle[open]>summary::after{transform:rotate(-135deg)}
.bbs-toggle>div{padding:0 18px 18px}

/* entrance: cards rise in as they scroll into view (bizbox-shell.js adds .is-in) */
.bbs-rise:not(.is-in){opacity:0;transform:translateY(18px)}
.bbs-rise.is-in{animation:bbs-in .7s cubic-bezier(.2,.8,.2,1) backwards}
@keyframes bbs-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

/* phone: bigger targets, cards edge to edge, stats as a swipe row (better than desktop, not smaller) */
@media (max-width:640px){
  .bbs-top{gap:12px;margin-bottom:18px}
  .bbs-card{padding:16px;border-radius:22px}
  .bbs-card-pic{margin:-16px -16px 12px}
  .bbs-stats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px 16px;padding:2px 16px 6px;scrollbar-width:none}
  .bbs-stats::-webkit-scrollbar{display:none}
  .bbs-stat{flex:0 0 42%;scroll-snap-align:start}
  .bbs-btn{width:100%;min-height:54px}
  .bbs-actions{width:100%}
}
@media (hover:none){.bbs-card:active{transform:scale(.97)}}
@media (prefers-reduced-motion:reduce){
  .bbs::before,.bbs::after,.bbs-empty .bbs-orb,.bbs-chip.is-live i{animation:none}
  .bbs-rise{opacity:1;transform:none}
  .bbs-card,.bbs-btn,.bbs-back,.bbs-stat{transition:none}
}

/* ── The skin (.bbs-skin): older owner pages built from light Tailwind utilities (white cards on slate-50) wear the shell
   without a rewrite. OwnerSkin.jsx wraps them at the route; the page's own layout stays, its colours become the OS's
   (sky, frosted glass, gold, light ink) and every card lifts on hover. One mapping here instead of one-off restyles. */
.bbs.bbs-skin{font-family:var(--bbs-display)}
.bbs-skin .min-h-screen{min-height:100vh;min-height:100dvh}
.bbs-skin :is(.bg-white,.bg-slate-50,.bg-slate-100,.bg-gray-50,.bg-gray-100,.bg-slate-950,.bg-slate-900){background:transparent}
.bbs-skin :is(.rounded,.rounded-md,.rounded-lg,.rounded-xl,.rounded-2xl,.rounded-3xl):is(.bg-white,.bg-slate-50,.bg-slate-100,.bg-slate-900,.border,.shadow-sm,.shadow){
  background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.05));border-color:var(--bbs-edge);
  backdrop-filter:blur(16px) saturate(1.25);-webkit-backdrop-filter:blur(16px) saturate(1.25);box-shadow:0 14px 34px rgba(8,10,30,.3),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.bbs-skin :is(.rounded-lg,.rounded-xl,.rounded-2xl):is(.bg-white,.border,.shadow-sm):hover{transform:translateY(-3px);border-color:rgba(255,255,255,.4);box-shadow:0 22px 48px rgba(8,10,30,.42),inset 0 1px 0 rgba(255,255,255,.25)}
.bbs-skin :is(.rounded-lg,.rounded-xl,.rounded-2xl):is(.bg-white,.border,.shadow-sm):active{transform:scale(.985)}
.bbs-skin header.bg-white,.bbs-skin .border-b.bg-white{background:rgba(13,21,48,.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.bbs-skin :is(.text-slate-950,.text-slate-900,.text-slate-800,.text-gray-900,.text-black){color:var(--bbs-ink)}
.bbs-skin :is(.text-slate-700,.text-slate-600,.text-gray-700,.text-gray-600){color:var(--bbs-dim)}
.bbs-skin :is(.text-slate-500,.text-slate-400,.text-gray-500,.text-gray-400){color:var(--bbs-faint)}
.bbs-skin :is(.border-slate-100,.border-slate-200,.border-slate-300,.border-gray-200,.border-slate-800,.divide-slate-100>*,.divide-slate-200>*){border-color:rgba(255,255,255,.16)}
.bbs-skin :is(.text-cyan-700,.text-indigo-600,.text-blue-700,.text-sky-700){color:var(--bbs-gold)}
.bbs-skin :is(.bg-sky-50,.bg-sky-100,.bg-amber-50,.bg-amber-100,.bg-emerald-50,.bg-rose-50,.bg-rose-100,.bg-red-50,.bg-red-100,.bg-violet-100){background:rgba(255,255,255,.10);border-color:var(--bbs-edge)}
.bbs-skin :is(.text-amber-900,.text-amber-800,.text-amber-700){color:var(--bbs-warn)}
.bbs-skin :is(.text-emerald-900,.text-emerald-800,.text-emerald-700){color:var(--bbs-good)}
.bbs-skin :is(.text-rose-900,.text-rose-800,.text-red-800,.text-red-700){color:var(--bbs-bad)}
.bbs-skin :is(.text-sky-900,.text-violet-900){color:var(--bbs-blue)}
.bbs-skin :is(.bg-slate-900,.bg-sky-700,.bg-blue-600,.bg-emerald-600).text-white:is(button,a,.inline-flex){background:linear-gradient(180deg,var(--bbs-gold),var(--bbs-gold-2));color:#1d1606;border-radius:999px;box-shadow:0 10px 26px rgba(246,183,60,.3)}
.bbs-skin :is(.hover\:bg-slate-50,.hover\:bg-slate-100,.hover\:bg-sky-50):hover{background:rgba(255,255,255,.10)}
.bbs-skin :is(h1,h2,h3){font-family:var(--bbs-display);letter-spacing:-.02em;color:var(--bbs-ink)}
.bbs-skin h1{font-size:clamp(28px,4.6vw,44px);font-weight:700}
.bbs-skin :is(input,select,textarea){background:rgba(10,14,36,.55);color:var(--bbs-ink);border:1px solid var(--bbs-edge);border-radius:12px}
.bbs-skin :is(input,textarea)::placeholder{color:var(--bbs-faint)}
.bbs-skin table th{color:var(--bbs-dim);font-weight:600}
.bbs-skin table :is(td,th){border-color:rgba(255,255,255,.12)}
.bbs-skin .tabular-nums{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.bbs-skin [class]{transition:none!important}}
.bbs-skin .feel-intake-toolbar{background:transparent}
.bbs-skin :is(.border-b.bg-white,.border-b){border-color:rgba(255,255,255,.14)}
