/* The Projects panel: a shelf of game cartridges, one per project; picking one opens its demo (a phone you can use,
   a video, a walk-through) with what I built, the stack and the results. Media in game/projects/. */
.panel.proj-panel { width: min(1040px, 100%); padding: 26px clamp(14px, 3.4vw, 36px) 30px; }
.proj-head { padding-right: 64px; }
.proj-head p { margin: 8px 0 18px; font-size: 17px; }

/* the shelf */
.carts { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 18px; }
.cart { position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0; border: 4px solid var(--ink);
  background: var(--c, #3a3f66); color: #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.28); font: inherit; transition: transform .14s, box-shadow .14s; }
.cart:hover, .cart:focus-visible { transform: translate(-3px, -4px); box-shadow: 9px 10px 0 rgba(0,0,0,.3); outline: none; }
.cart::before { content: ''; position: absolute; top: -4px; left: 22%; right: 22%; height: 12px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.cart .label { margin: 16px 12px 0; aspect-ratio: 16 / 11; background: #0d0f1c center / cover no-repeat; border: 3px solid rgba(0,0,0,.55); position: relative; overflow: hidden; }
.cart .label.art { display: grid; place-items: center; }
.cart .label .yr { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.72); font: 700 10px var(--font-display); letter-spacing: .1em; padding: 3px 6px; }
.cart .label .yr.now { background: #1fae5b; }
.cart .meta { padding: 10px 14px 14px; }
.cart .t { font: 700 16px/1.15 var(--font-display); letter-spacing: .02em; }
.cart .s { font-size: 14px; line-height: 1.3; opacity: .9; margin-top: 5px; }
.cart .chip { display: inline-block; margin-top: 8px; font: 700 10px var(--font-display); letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.35); padding: 3px 7px; }
.cart .ribs { position: absolute; bottom: 8px; right: 10px; width: 34px; height: 10px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.3) 0 3px, transparent 3px 6px); }

/* the detail view */
.pj-back { font: 700 12px var(--font-display); margin: 0 0 14px; }
.pj { --c: #3a3f66; }
.pj-top { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; border-bottom: 4px solid var(--ink); padding-bottom: 12px; margin-bottom: 18px; padding-right: 64px; }
.pj-top h2 { margin: 0; padding-right: 0; }
.pj-top .when { font: 700 11px var(--font-display); letter-spacing: .12em; color: #fff; background: var(--c); padding: 5px 8px; border: 3px solid var(--ink); }
.pj-sub { font-size: 18px; color: var(--muted); margin: -8px 0 18px; }
.pj-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 860px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } }
.pj-demo { min-width: 0; }
.pj-copy h3 { margin: 4px 0 6px; }
.pj-copy h3 ~ h3 { margin-top: 20px; }
.pj-copy p { font-size: 16.5px; margin: 6px 0; }
.pj-copy ul { margin: 6px 0; padding-left: 20px; font-size: 16px; line-height: 1.42; }
.pj-copy li { margin: 4px 0; }
.pj-copy li::marker { color: var(--c); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.stack span { font: 700 11px var(--font-display); letter-spacing: .04em; border: 2px solid var(--ink); background: #fff; padding: 4px 7px; }
.pj-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pj-links a { font: 700 12px var(--font-display); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 10px 0; }
.stat { border: 3px solid var(--ink); background: #fff; padding: 10px; }
.stat b { display: block; font: 700 19px/1.05 var(--font-display); color: var(--c); }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.25; }
.pj-note { font-size: 13px !important; color: var(--muted); margin-top: 8px !important; }
.pj-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; border-top: 4px solid var(--ink); padding-top: 14px; }
.pj-nav button { font: 700 12px var(--font-display); }

/* media */
.vid { position: relative; border: 4px solid var(--ink); background: #000; box-shadow: 6px 6px 0 rgba(0,0,0,.25); width: fit-content; max-width: 100%; margin-inline: auto; }
.vid video { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 560px); margin: 0 auto; }   /* (a phone video stays upright: letterboxed on black, never stretched) */
.vid figcaption { background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding: 4px 2px 10px; margin-top: 14px; }
.gallery figure { flex: 0 0 auto; width: 210px; margin: 0; scroll-snap-align: start; border: 3px solid var(--ink); background: #fff; }
.gallery img { display: block; width: 100%; height: 150px; object-fit: contain; background: #fff; }
.gallery figcaption { font-size: 12px; padding: 5px 7px; border-top: 2px solid var(--ink); line-height: 1.25; }

/* a phone you can use (JackedBaby, Strolr) and a tablet of real screens (RTX Academy) */
.phone-wrap { display: grid; place-items: center; padding: 6px 0 4px; }
.phone { position: relative; width: 300px; max-width: 100%; height: 616px; border-radius: 46px; background: #111; padding: 12px; box-sizing: border-box;
  box-shadow: 0 0 0 2px #3a3a3a, 0 0 0 5px #0c0c0c, 10px 14px 0 rgba(0,0,0,.28); }
.phone::before { content: ''; position: absolute; left: -4px; top: 120px; width: 4px; height: 56px; background: #2a2a2a; border-radius: 3px 0 0 3px; box-shadow: 0 74px 0 #2a2a2a; }
.phone .scr { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; }
.phone .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 9; }
.phone .sbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 26px 6px 30px; font: 600 13px Inter, system-ui, sans-serif; flex: none; }
.phone .sbar i { display: inline-block; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; margin-left: 5px; vertical-align: -1px; }
.phone .sbar i::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.phone .home-bar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 110px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.55); z-index: 9; }
.phone-hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.phone-hint b { color: var(--ink); }

/* JackedBaby, from the app's own tokens (app/src/tokens.js, surface.js, glass.js): black canvas, #C9956A gold, warm
   off-white type, #111 cards with rim lights and 22 px corners, Bebas Neue + Inter, a floating frosted tab capsule.
   The screen is laid out at the app's 375 x 812 pt and scaled into the phone (276 px wide inside the bezel). */
.jbwrap { background: #000; }
.jbs { position: absolute; left: 0; top: 0; width: 375px; height: 812px; transform: scale(.736); transform-origin: 0 0; background: #000; color: #F0EDE8;
  font: 400 15px/1.35 Inter, system-ui, -apple-system, sans-serif; overflow: hidden; display: flex; flex-direction: column;
  background-image: radial-gradient(88% 42% at 50% 14%, rgba(44,40,36,.42), rgba(20,18,16,.22) 40%, transparent 100%), radial-gradient(55% 38% at 72% 48%, rgba(26,24,22,.2), transparent); }
.jbs .island { top: 11px; width: 122px; height: 35px; border-radius: 20px; }
.jbs .sbar { color: #F0EDE8; padding: 16px 30px 8px 40px; font: 600 16px Inter, system-ui, sans-serif; }
.jbs .home-bar { width: 134px; height: 5px; bottom: 8px; background: rgba(240,237,232,.9); }
.jbs button { font-family: inherit; cursor: pointer; }
/* ScreenHeader: weekday (or tab) in Inter 20, the date under it, the avatar right; a hairline under */
.jb-head { flex: none; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: .5px solid rgba(255,255,255,.07); }
.jb-head:empty { display: none; }
.jb-head .t { font: 600 20px/26px Inter, sans-serif; letter-spacing: -.3px; }
.jb-head .s { font: 400 12px/16px Inter, sans-serif; color: rgba(240,237,232,.58); margin-top: 2px; }
.jb-head .avt, .jb-chrome .circ { width: 34px; height: 34px; border-radius: 50%; background: #181818; border: .5px solid rgba(255,255,255,.14); display: grid; place-items: center; font: 600 12px Inter, sans-serif; }
.jb-view { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 110px; scrollbar-width: none; }
.jb-view::-webkit-scrollbar { display: none; }
/* Card: the elevated face (#111, rim-lit top edge, diffuse shadow) */
.jb-card { position: relative; background: #111; border-radius: 22px; border: .5px solid rgba(255,255,255,.09); border-top-color: rgba(255,255,255,.16); border-bottom-color: rgba(0,0,0,.55);
  box-shadow: 0 14px 28px rgba(0,0,0,.55); overflow: hidden; }
.jb-card::before { content: ''; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: rgba(255,255,255,.22); border-radius: 1px; }
.jb-card + .jb-card { margin-top: 12px; }
.jb-group { margin-bottom: 36px; } .jb-group.tight { margin-bottom: 16px; }
.jb-glabel { font: 600 11px Inter, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(240,237,232,.58); margin: 0 0 8px 2px; }
.jb-eyebrow { font: 600 10px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #C9956A; }
.jb-badge { font: 11px "Bebas Neue", Impact, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; border: 1px solid; }
.jb-title { font: 32px/34px "Bebas Neue", Impact, sans-serif; letter-spacing: .4px; color: #F0EDE8; text-transform: uppercase; }
.jb-meta { font-size: 13px; color: rgba(240,237,232,.58); margin-top: 4px; } .jb-meta span { color: rgba(240,237,232,.38); margin: 0 3px; }
.jb-cta { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 48px; margin-top: 12px; border-radius: 999px; background: #C9956A; border: 1px solid #E0B589;
  color: #000; font: 14px "Bebas Neue", Impact, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.jb-cta span { font: 20px Inter, sans-serif; margin-top: -2px; }
.jb-cta2 { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin-top: 6px; border-radius: 999px; background: #181818; border: .5px solid rgba(255,255,255,.14);
  color: #F0EDE8; font: 700 14px Inter, sans-serif; letter-spacing: .3px; }
/* Home */
.jb-train { padding: 12px 16px 16px; }
.jb-trainhead { display: flex; align-items: center; justify-content: space-between; margin: 4px 0; }
.jb-twin { display: flex; gap: 12px; } .jb-twin .jb-group { flex: 1; min-width: 0; margin-bottom: 12px; display: flex; flex-direction: column; } .jb-twin .jb-card { flex: 1; }
.jb-energy, .jb-fuel { padding: 10px 12px 8px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; cursor: pointer; }
.jb-bat { display: flex; align-items: center; justify-content: center; height: 80px; }
.jb-bat .shell { position: relative; width: 120px; height: 52px; border: 1.5px solid; border-radius: 9px; background: rgba(0,0,0,.35); }
.jb-bat .track { position: absolute; inset: 4px; border-radius: 5px; overflow: hidden; }
.jb-bat .fill { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .78s cubic-bezier(.2,.8,.2,1) .22s; }
.jb-bat b { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.28); }
.jb-bat .nub { width: 6px; height: 18px; margin-left: 3px; border-radius: 0 3px 3px 0; }
.jb-score { display: flex; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 16px; }
.jb-score b { font: 38px/40px "Bebas Neue", Impact, sans-serif; letter-spacing: .4px; font-weight: 400; }
.jb-score span { font: 600 16px/18px Inter, sans-serif; letter-spacing: .4px; text-transform: uppercase; color: rgba(240,237,232,.58); }
.jb-verdict { font: 16px/18px "Bebas Neue", Impact, sans-serif; letter-spacing: .3px; margin-top: 4px; text-transform: uppercase; white-space: nowrap; }
.jb-gauge { position: relative; width: 150px; height: 80px; margin: 0 auto; overflow: hidden; }
.jb-gauge svg { display: block; overflow: visible; }
.jb-gauge .needle { transition: transform .78s cubic-bezier(.2,.8,.2,1) .09s; }
.jb-gauge .pump { position: absolute; left: 50%; top: 38px; transform: translateX(-50%); }
.jb-gauge .ef { position: absolute; bottom: 4px; width: 16px; text-align: center; font: 600 12px/14px Inter, sans-serif; letter-spacing: .2px; } .jb-gauge .e { left: 3px; } .jb-gauge .f { right: 3px; }
.jb-cal { text-align: center; margin-top: auto; padding-top: 16px; white-space: nowrap; }
.jb-cal b { font: 600 27px/29px Inter, sans-serif; letter-spacing: -.4px; color: #C9956A; } .jb-cal span { font: 400 13px Inter, sans-serif; color: rgba(240,237,232,.58); }
.jb-pcf { text-align: center; font: 600 12px/14px Inter, sans-serif; margin-top: 8px; white-space: nowrap; } .jb-pcf i { font-style: normal; margin-left: 4px; }
.jb-steps { margin-bottom: 16px; padding: 12px; cursor: pointer; }
.jb-steps .lbl { font: 11px "Bebas Neue", Impact, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #C9956A; }
.jb-steps .row { display: flex; align-items: center; } .jb-steps .track { flex: 1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.jb-steps .track i, .jb-sum .bar i, .jb-meal .wbar i, .jb-sigc .bar i { display: block; height: 100%; width: 0; background: #C9956A; border-radius: 6px; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.jb-steps .val { font: 600 12px Inter, sans-serif; margin-left: 14px; }
.jb-week { padding: 16px 12px; }
.jb-week .dots { display: flex; } .jb-week .col { flex: 1; display: flex; flex-direction: column; align-items: center; }
.jb-week .dot { width: 12px; height: 12px; border-radius: 6px; margin-bottom: 6px; background: rgba(255,255,255,.07); box-sizing: border-box; }
.jb-week .dot.trained { background: #4ade80; } .jb-week .dot.today { background: none; border: 2px solid #C9956A; } .jb-week .dot.upcoming { background: none; border: 1.5px solid rgba(240,237,232,.38); }
.jb-week .dot.r { background: none; width: 14px; height: 14px; font: 600 11px/14px Inter, sans-serif; color: #7A756F; text-align: center; margin-top: -2px; }
.jb-week .lt { font-size: 10px; letter-spacing: .5px; color: rgba(240,237,232,.38); } .jb-week .lt.today { color: #C9956A; font-weight: 600; }
.jb-week .trend { display: flex; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.jb-week .tc { flex: 1; padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.jb-week .tl { font: 10px "Bebas Neue", Impact, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(240,237,232,.58); }
.jb-week .cols { height: 56px; display: flex; align-items: flex-end; gap: 5px; } .jb-week .cols i { flex: 1; background: rgba(201,149,106,.35); border-radius: 3px 3px 0 0; }
.jb-week .tv { font: 600 12px Inter, sans-serif; } .jb-week .tv span { color: rgba(240,237,232,.38); font-weight: 400; }
.jb-week .big { font: 38px/40px "Bebas Neue", Impact, sans-serif; color: #C9956A; } .jb-week .big span { font: 13px Inter, sans-serif; color: rgba(240,237,232,.58); }
.jb-week .strip { display: flex; gap: 4px; } .jb-week .strip i { flex: 1; height: 8px; border-radius: 2px; background: rgba(255,255,255,.07); } .jb-week .strip i.on { background: #4ade80; }
.jb-sig { display: flex; flex-direction: column; gap: 12px; } .jb-sig .jb-card + .jb-card { margin-top: 0; }
.jb-sigc { padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.jb-sigc .n { font: 600 10px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(240,237,232,.38); }
.jb-sigc .v { font: 28px/1 "Bebas Neue", Impact, sans-serif; grid-row: span 2; } .jb-sigc .v small { font: 12px Inter, sans-serif; color: rgba(240,237,232,.58); margin-left: 3px; }
.jb-sigc .bar { height: 7px; border-radius: 4px; background: rgba(0,0,0,.45); overflow: hidden; } .jb-sigc .d { grid-column: span 2; font-size: 12px; color: #4ade80; }
/* Train */
.jb-statslink { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin: -12px 0 8px; color: #C9956A; font: 600 13px Inter, sans-serif; cursor: pointer; }
.jb-statslink span { font: 24px "Bebas Neue", Impact, sans-serif; }
.jb-focus { font: 16px "Bebas Neue", Impact, sans-serif; color: #C9956A; letter-spacing: .4px; margin-bottom: 6px; }
.jb-planmeta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(240,237,232,.58); margin-bottom: 16px; }
.jb-sect { font: 14px "Bebas Neue", Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.jb-plan { margin: 2px 0 8px; }
.jb-prow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: .5px solid rgba(255,255,255,.07); cursor: pointer; }
.jb-prow .thumb { width: 52px; height: 52px; flex: none; border-radius: 14px; background: #181818; border: .5px solid rgba(255,255,255,.09); display: grid; place-items: center; }
.jb-prow .thumb.done { background: rgba(74,222,128,.12); color: #4ade80; font: 700 20px Inter, sans-serif; }
.jb-prow .body { flex: 1; min-width: 0; } .jb-prow .nm { font: 600 15px/20px Inter, sans-serif; } .jb-prow .rx { font-size: 13px; line-height: 18px; color: rgba(240,237,232,.58); margin-top: 4px; }
.jb-prow .swap { font: 800 10px Inter, sans-serif; letter-spacing: .8px; color: #C9956A; border: 1px solid rgba(201,149,106,.55); border-radius: 999px; padding: 4px 9px; }
.jb-prow .chev { color: rgba(240,237,232,.38); font-size: 22px; }
/* Nutrition */
.jb-segs { display: flex; gap: 8px; margin: -8px 0 16px; }
.jb-segs button { flex: 1; padding: 8px 0; background: none; border: 0; border-bottom: .5px solid rgba(255,255,255,.07); color: rgba(240,237,232,.58); font: 600 12px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
.jb-segs button.on { color: #C9956A; border-bottom: 2px solid #C9956A; }
.jb-sum { padding: 16px; }
.jb-sum .calrow b { font: 600 34px Inter, sans-serif; letter-spacing: -.5px; color: #C9956A; } .jb-sum .calrow span { font-size: 13px; color: rgba(240,237,232,.58); margin-left: 4px; }
.jb-sum .bar { height: 7px; border-radius: 4px; background: rgba(0,0,0,.45); margin-top: 12px; overflow: hidden; }
.jb-sum .rem, .jb-ringcol .rem { font-size: 10px; color: rgba(240,237,232,.38); margin-top: 6px; }
.jb-sum .rings { display: flex; justify-content: space-around; margin-top: 16px; }
.jb-ringcol { display: flex; flex-direction: column; align-items: center; }
.jb-ring { position: relative; width: 84px; height: 84px; } .jb-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.jb-ring circle { fill: none; stroke-width: 8; } .jb-ring .fg { transition: stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1); }
.jb-ring .v { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font: 600 17px/1 Inter, sans-serif; } .jb-ring .v small { font-size: 10px; color: rgba(240,237,232,.58); font-weight: 400; }
.jb-ring .nm { position: absolute; top: 46px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: .6px; color: rgba(240,237,232,.58); text-transform: uppercase; }
.jb-quick { display: flex; gap: 6px; margin: 12px 0; }
.jb-quick button { flex: 1; background: none; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px 0; color: rgba(240,237,232,.58); font: 800 9px Inter, sans-serif; letter-spacing: .7px; }
.jb-mealsh { font: 600 17px Inter, sans-serif; margin: 8px 2px 12px; }
.jb-meal { margin-bottom: 16px; } .jb-card.jb-meal + .jb-card.jb-meal { margin-top: 0; }
.jb-meal .mh { display: flex; align-items: center; padding: 14px 16px; cursor: pointer; }
.jb-meal .ic { width: 36px; display: grid; place-items: center; margin-right: 10px; flex: none; }
.jb-meal .mc { flex: 1; min-width: 0; } .jb-meal .tr { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.jb-meal .ml { font: 600 16px Inter, sans-serif; flex: 1; } .jb-meal .more { color: rgba(240,237,232,.58); letter-spacing: 1px; }
.jb-meal .log { background: #181818; border: 0; border-radius: 999px; padding: 6px 18px; color: #C9956A; font: 700 13px Inter, sans-serif; }
.jb-meal .sumtx { font-size: 13px; color: rgba(240,237,232,.58); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-meal .mm { font-size: 12px; color: rgba(240,237,232,.58); margin-top: 3px; } .jb-meal i, .jb-rec i { font-style: normal; font-weight: 700; }
.jb-meal .mx { padding: 0 16px 12px; }
.jb-meal .lf { border-top: 1px solid rgba(255,255,255,.07); padding: 10px 0; } .jb-meal .fn { font: 700 13px Inter, sans-serif; } .jb-meal .fd, .jb-meal .fm { font-size: 10px; color: rgba(240,237,232,.58); margin-top: 2px; }
.jb-meal .more2 { display: block; width: 100%; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 12px 0 4px; color: #C9956A; font: 900 10px Inter, sans-serif; letter-spacing: 1px; }
.jb-meal .wbar { height: 6px; border-radius: 3px; background: rgba(0,0,0,.45); margin: 0 16px; overflow: hidden; }
.jb-meal .wact { display: flex; gap: 6px; padding: 12px 16px 16px; }
.jb-meal .wact button { background: #181818; border: .5px solid rgba(255,255,255,.14); border-radius: 10px; padding: 9px 12px; color: #F0EDE8; font: 800 10px Inter, sans-serif; letter-spacing: .7px; }
.jb-rec { padding: 16px; cursor: pointer; margin-bottom: 16px; } .jb-card.jb-rec + .jb-card.jb-rec { margin-top: 0; }
.jb-rec .tg { font: 600 10px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #C9956A; }
.jb-rec .nm { font: 24px/26px "Bebas Neue", Impact, sans-serif; letter-spacing: .4px; text-transform: uppercase; margin-top: 4px; }
.jb-rec .mc { font-size: 12px; color: rgba(240,237,232,.58); margin-top: 4px; } .jb-rec .view { font: 900 10px Inter, sans-serif; letter-spacing: 1px; color: #C9956A; margin-top: 10px; }
/* Coach: no app header, floating glass chrome, an iMessage thread (#26262A coach / gold you, 17 pt, 18 radius) */
.jb-chrome { display: none; }
.jbs.coach .jb-chrome { display: flex; position: absolute; top: 58px; left: 16px; right: 16px; z-index: 5; justify-content: space-between; }
.jb-chrome .pill { height: 34px; border-radius: 17px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: rgba(17,17,17,.78); border: .5px solid rgba(255,255,255,.12); border-top-color: rgba(255,255,255,.28); backdrop-filter: blur(14px); }
.jb-chrome .pill i { width: .5px; height: 18px; background: rgba(255,255,255,.18); }
.jbs.coach .jb-view { padding: 52px 12px 12px; }
.jb-thread { display: flex; flex-direction: column; gap: 4px; }
.jb-msg { display: flex; align-items: flex-end; gap: 6px; } .jb-msg.u { justify-content: flex-end; }
.jb-msg .av { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; background: #111; }
.jb-msg + .jb-msg.u, .jb-msg.u + .jb-msg.a { margin-top: 8px; }
.jb-bub { max-width: 75%; padding: 8px 14px; border-radius: 18px; font: 400 17px/22px Inter, sans-serif; }
.jb-bub.a { background: #26262A; color: #F0EDE8; } .jb-bub.u { background: #C9956A; color: #000; max-width: 80%; }
.jb-bub.typing { align-self: flex-start; margin-left: 34px; display: flex; gap: 5px; padding: 13px 14px; }
.jb-bub.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(240,237,232,.6); animation: jbdot 1s infinite; }
.jb-bub.typing span:nth-child(2) { animation-delay: .15s; } .jb-bub.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes jbdot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.jb-compose { flex: none; background: #000; border-top: 1px solid rgba(255,255,255,.07); padding-bottom: 92px; }
.jb-compose[hidden] { display: none; }
.jb-sugg { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; } .jb-sugg::-webkit-scrollbar { display: none; }
.jb-sugg button { flex: none; background: #181818; border: .5px solid rgba(255,255,255,.14); border-radius: 999px; color: #F0EDE8; font: 500 13px Inter, sans-serif; padding: 7px 12px; }
.jb-compose form { display: flex; align-items: center; margin: 8px 16px; min-height: 40px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 4px 4px 4px 14px; }
.jb-compose input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #F0EDE8; font: 400 16px Inter, sans-serif; }
.jb-compose input::placeholder { color: rgba(240,237,232,.38); }
.jb-compose form button { width: 30px; height: 30px; border-radius: 15px; border: 0; background: #2C2C2E; display: grid; place-items: center; } .jb-compose form.on button { background: #C9956A; }
/* the floating frosted capsule tab bar: icon + label, active in gold on a soft gold pill */
.jb-cap { position: absolute; left: 14px; right: 14px; bottom: 28px; height: 58px; z-index: 6; display: flex; align-items: center; padding: 0 4px; border-radius: 30px;
  background: rgba(17,17,17,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: .5px solid rgba(255,255,255,.09); border-top-color: rgba(255,255,255,.16); border-bottom-color: rgba(0,0,0,.55); box-shadow: 0 12px 24px rgba(0,0,0,.5); }
.jb-cap button { flex: 1; min-width: 0; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: rgba(240,237,232,.38); font: 400 9px Inter, sans-serif; letter-spacing: .15px; padding: 4px 2px; }
.jb-cap .iw { width: 36px; height: 26px; border-radius: 13px; display: grid; place-items: center; }
.jb-cap button.on { color: #C9956A; font-weight: 600; } .jb-cap button.on .iw { background: rgba(201,149,106,.16); }
.jb-toast { position: absolute; left: 50%; bottom: 100px; transform: translate(-50%, 10px); z-index: 9; background: rgba(38,38,42,.96); color: #F0EDE8; font: 500 13px Inter, sans-serif; padding: 9px 14px; border-radius: 12px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 300px; text-align: center; }
.jb-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* sheets: recipe, cooking mode, Train's focus mode */
.jb-sheet { position: absolute; inset: 50px 0 0; z-index: 8; background: #0A0A0A; border-radius: 22px 22px 0 0; border-top: .5px solid rgba(255,255,255,.16); padding: 18px 20px 40px; display: flex; flex-direction: column; overflow-y: auto; animation: jbsheet .28s cubic-bezier(.2,.8,.2,1); }
@keyframes jbsheet { from { transform: translateY(40px); opacity: 0; } }
.jb-sheet .sh-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.jb-sheet .sh-top button { background: none; border: 0; color: #C9956A; font: 600 15px Inter, sans-serif; }
.jb-sheet .rx { font: 600 13px Inter, sans-serif; color: #C9956A; margin-top: 2px; letter-spacing: .3px; }
.jb-sheet .ings { flex: 1; margin: 8px 0; } .jb-sheet .ings div { padding: 10px 0; border-bottom: .5px solid rgba(255,255,255,.07); font-size: 14px; }
.jb-sheet .prog { display: flex; gap: 4px; margin: 12px 0 18px; } .jb-sheet .prog i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); } .jb-sheet .prog i.on { background: #C9956A; }
.jb-sheet .step { font: 18px/1.5 Inter, sans-serif; margin: 10px 0; flex: 1; }
.jb-sheet .timer { position: relative; display: grid; place-items: center; margin: 6px 0; }
.jb-sheet .timer svg { width: 150px; height: 150px; transform: rotate(-90deg); } .jb-sheet .timer circle { fill: none; stroke-width: 8; } .jb-sheet .timer .tr { transition: stroke-dashoffset .6s; }
.jb-sheet .tt { position: absolute; font: 40px "Bebas Neue", Impact, sans-serif; letter-spacing: 1px; }
.jb-sheet .row { display: flex; gap: 8px; margin-top: auto; } .jb-sheet .row > * { flex: 1; margin-top: 12px; }
.jb-sheet .sets { margin: 16px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.jb-sheet .sh, .jb-sheet .sr { display: flex; align-items: center; } .jb-sheet .sh span { flex: 1; font-size: 10px; color: rgba(240,237,232,.38); text-transform: uppercase; letter-spacing: .8px; text-align: center; }
.jb-sheet .n { flex: 0 0 28px !important; text-align: center; } .jb-sheet .c { flex: 0 0 40px !important; }
.jb-sheet .sr { padding: 6px 2px; border-radius: 14px; background: #0A0A0A; border: 1px solid rgba(255,255,255,.07); }
.jb-sheet .sr > span { flex: 1; text-align: center; font-size: 13px; } .jb-sheet .sr .last { color: rgba(240,237,232,.38); font-size: 12px; }
.jb-sheet .sr .in { margin: 0 4px; padding: 8px 0; background: #000; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; font: 700 16px Inter, sans-serif; }
.jb-sheet .sr button.c { height: 32px; margin: 0 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #181818; color: #000; font: 800 15px Inter, sans-serif; }
.jb-sheet .sr.ok { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.06); } .jb-sheet .sr.ok button.c { background: #4ade80; border-color: #4ade80; }
.jb-sheet .tip { font-size: 13px; line-height: 1.45; color: rgba(240,237,232,.58); background: #111; border-radius: 14px; padding: 12px 14px; } .jb-sheet .tip b { display: block; color: #C9956A; font: 600 10px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.jb-sheet .restbar { display: none; position: sticky; bottom: -40px; margin: 12px -20px -40px; padding: 12px 20px 40px; background: #0A0A0A; border-top: 1px solid rgba(201,149,106,.3); align-items: center; gap: 12px; }
.jb-sheet .restbar.on { display: flex; } .jb-sheet .restbar span { font: 600 10px Inter, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #C9956A; }
.jb-sheet .restbar b { font: 32px "Bebas Neue", Impact, sans-serif; flex: 1; } .jb-sheet .restbar button { background: #181818; border: .5px solid rgba(255,255,255,.14); border-radius: 999px; color: #F0EDE8; padding: 8px 16px; font: 600 13px Inter, sans-serif; }

/* Strolr: a pregnancy-health chatbot on a phone */
.st { background: #fff7f5; color: #2b2234; font: 13px/1.45 Inter, system-ui, sans-serif; }
.st .sbar { color: #2b2234; }
.st .hd { flex: none; display: flex; align-items: center; gap: 9px; padding: 4px 16px 10px; border-bottom: 1px solid #f0dcd7; }
.st .hd .lg { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #3fa6c9, #6fd0c4); color: #fff; display: grid; place-items: center; font-weight: 800; }
.st .hd b { display: block; font-size: 15px; }
.st .hd span { font-size: 11px; color: #8a7c86; }
.st .chat { flex: 1; overflow-y: auto; padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.st .b { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; }
.st .b.u { align-self: flex-end; background: #3fa6c9; color: #fff; border-bottom-right-radius: 4px; }
.st .b.a { align-self: flex-start; background: #fff; border: 1px solid #f0dcd7; border-bottom-left-radius: 4px; }
.st .b .src { display: block; margin-top: 6px; font-size: 10.5px; color: #3a8aa6; }
.st .qs { flex: none; padding: 8px 10px 22px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid #f0dcd7; background: #fff; }
.st .qs button { background: #eef8fb; border: 1px solid #bfe3ee; color: #2a6f86; border-radius: 14px; font: 600 11.5px Inter, sans-serif; padding: 6px 10px; cursor: pointer; }
.st .qs button:disabled { opacity: .45; cursor: default; }
.arch { position: relative; border: 3px solid var(--ink); background: #fff; margin-top: 4px; }
.arch img { display: block; width: 100%; height: auto; }
.arch-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.arch-steps button { color: var(--ink); font: 700 11px var(--font-display); border: 2px solid var(--ink); background: #fff; padding: 5px 8px; cursor: pointer; }
.arch-steps button.q { border-color: #c0392b; color: #c0392b; } .arch-steps button.i { border-color: #2a7fc1; color: #2a7fc1; }
.arch-steps button.on { color: #fff; } .arch-steps button.q.on { background: #c0392b; } .arch-steps button.i.on { background: #2a7fc1; }
.arch-say { font-size: 15px !important; min-height: 3em; margin: 6px 0 0 !important; }
.vs { margin: 8px 0; }
.vs .row { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: center; margin: 6px 0; font-size: 13px; }
.vs .bars div { height: 14px; margin: 2px 0; display: flex; align-items: center; color: #fff; font: 700 10px var(--font-display); padding-left: 6px; white-space: nowrap; box-sizing: border-box; }
.vs .bars .a { background: #3fa6c9; } .vs .bars .g { background: #9aa0b8; }

/* the research pipeline (cognitive frailty), the mission software (APL) */
.pipe { display: grid; gap: 10px; }
.pipe-steps { display: flex; gap: 4px; flex-wrap: wrap; }
.pipe-steps button { color: var(--ink); flex: 1 1 auto; white-space: nowrap; font: 700 10px var(--font-display); letter-spacing: .04em; border: 3px solid var(--ink); background: #fff; padding: 7px 8px; cursor: pointer; }
.pipe-steps button.on { background: var(--c); color: #fff; }
.pipe-card { border: 4px solid var(--ink); background: #10142a; color: #e9ecff; padding: 16px; min-height: 270px; box-shadow: 6px 6px 0 rgba(0,0,0,.25); }
.pipe-card h4 { margin: 0 0 4px; font: 700 15px var(--font-display); color: #fff; }
.pipe-card .why { font-size: 14px; color: #aab2e0; margin: 0 0 10px; }
.pipe-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.pipe-card svg { display: block; width: 100%; height: auto; margin: 6px 0; }
.pipe-card .sch { font-size: 11px; color: #7f88bb; }
.mission-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.mission-tabs button { color: var(--ink); font: 700 11px var(--font-display); border: 3px solid var(--ink); background: #fff; padding: 7px 10px; cursor: pointer; }
.mission-tabs button.on { background: var(--c); color: #fff; }
.flow { position: relative; }
.flow .pk { animation: pk 2.4s linear infinite; }
@keyframes pk { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .flow .pk { animation: none; } .cart { transition: none; } }

/* RTX Academy: a tablet of the live site's screens */
.tab-dev { width: 330px; max-width: 100%; margin: 0 auto; background: #121417; border-radius: 26px; padding: 14px; box-sizing: border-box; box-shadow: 0 0 0 2px #333, 10px 14px 0 rgba(0,0,0,.28); }
.tab-dev .scr { border-radius: 14px; overflow: hidden; background: #070b0b; height: 420px; overflow-y: auto; scrollbar-width: none; }
.tab-dev .scr::-webkit-scrollbar { display: none; }
.tab-dev .scr img { display: block; width: 100%; height: auto; }
.tab-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.tab-dots button { width: 34px; height: 8px; border: 2px solid var(--ink); background: #fff; cursor: pointer; padding: 0; }
.tab-dots button.on { background: #36e6d6; }

/* more on GitHub */
.repos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.repo { border: 3px solid var(--ink); background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.repo b { font: 700 14px var(--font-display); }
.repo span { font-size: 14px; line-height: 1.35; color: var(--muted); flex: 1; }
.repo a { font: 700 11px var(--font-display); color: var(--orange-deep); overflow-wrap: anywhere; }
.repo i { font-style: normal; font: 700 10px var(--font-display); color: #fff; background: var(--ink); align-self: flex-start; padding: 2px 6px; }
@media (max-width: 520px) { .carts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cart .label { margin: 14px 8px 0; } .cart .meta { padding: 8px 9px 12px; } .cart .t { font-size: 13px; } .cart .s { font-size: 12px; } .cart .chip { font-size: 9px; } }
/* Strolr: the evaluation study's funnel, from the whole corpus down to the judge */
.funnel { display: grid; gap: 4px; justify-items: center; margin: 4px 0 6px; }
.funnel .fn { background: #2a7fa0; color: #fff; padding: 7px 10px; box-sizing: border-box; min-width: 150px; text-align: center; border: 2px solid var(--ink); }
.funnel .fn:nth-child(3), .funnel .fn:nth-child(4) { background: #c0392b; }
.funnel .fn b { display: block; font: 700 16px var(--font-display); letter-spacing: .04em; }
.funnel .fn span { display: block; font-size: 12px; line-height: 1.25; opacity: .95; }
/* RTX Academy: the site's nav bar stays put (sticky, like the real page) while the page scrolls under it */
.tab-dev .scr.rtx { display: flex; flex-direction: column; overflow: hidden; }
.tab-dev .scr.rtx .rtx-nav { flex: none; position: relative; z-index: 1; }
.tab-dev .scr.rtx .rtx-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.tab-dev .scr.rtx .rtx-body::-webkit-scrollbar { display: none; }
/* JackedBaby · Train, laid out like TrainScreen.js: Start activity, the body map + recovery readiness, the plan rows
   (zoomed muscle crop, condensed prescription, equipment, SWAP), Up Next, and the sticky Start workout bar */
.jb-startact { display: block; width: 100%; text-align: left; padding: 16px; border-radius: 16px; background: #111; border: 1px solid rgba(255,255,255,.08); color: #C9956A; font: 700 15px Inter, sans-serif; margin-bottom: 16px; }
.jb-startact small { display: block; font: 400 12px Inter, sans-serif; color: rgba(240,237,232,.58); margin-top: 4px; }
.jb-map { padding: 6px 4px 0; }
.jb-map .cols { display: flex; padding: 4px 4px 0; min-height: 222px; }
.jb-map .cols > div { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.jb-map .bm { width: 100%; height: 205px; display: flex; align-items: center; justify-content: center; }
.jb-map .bm svg { max-height: 195px !important; max-width: 100%; }
.jb-map .sl { color: #8f8a83; font: 9px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 2px 0; }
.jb-map .off { margin: auto; padding: 50px 24px; color: #aaa; text-align: center; font-size: 13px; line-height: 1.5; }
.jb-map .leg { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 2px 8px 0; }
.jb-map .leg b { color: #888; font: 400 9px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.jb-map .leg span { display: flex; align-items: center; gap: 3px; color: #8f8a83; font-size: 8px; }
.jb-map .leg i { width: 8px; height: 8px; border-radius: 5px; }
.jb-map .jbst { padding: 8px 12px 10px; color: #c9956a; font-size: 11px; text-align: center; min-height: 14px; }
.jb-ready { margin-top: 12px; overflow: hidden; padding: 0; }
.jb-ready .acc { display: block; height: 3px; width: 100%; }
.jb-ready .rb { padding: 14px 16px 16px; }
.jb-ready .eb { color: rgba(240,237,232,.58); font: 700 10px Inter, sans-serif; letter-spacing: 1.1px; text-transform: uppercase; }
.jb-ready .hero { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.jb-ready .hl { flex: 1; font: 18px/20px "Bebas Neue", Impact, sans-serif; letter-spacing: .3px; color: #F0EDE8; }
.jb-ready .ring { width: 44px; height: 44px; border-radius: 22px; border: 2px solid; display: grid; place-items: center; font: 18px "Bebas Neue", Impact, sans-serif; background: rgba(201,149,106,.08); }
.jb-ready .tg { width: 32px; height: 32px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: #181818; color: #C9956A; font: 20px Inter, sans-serif; line-height: 1; padding: 0; }
.jb-ready .rec { font-size: 12px; line-height: 17px; color: rgba(240,237,232,.58); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-ready .rec.open { white-space: normal; }
.jb-ready .scope { font-size: 11px; line-height: 15px; color: rgba(240,237,232,.38); margin-top: 6px; }
.jb-ready .fx { font-size: 12px; line-height: 18px; color: rgba(240,237,232,.72); margin-top: 8px; }
.jbs.train .jb-statslink { margin-top: 4px; }
.jbs.train .jb-prow { gap: 12px; }
.jbs.train .jb-prow .thumb { width: 72px; height: 96px; border-radius: 14px; background: #0d0d0d; position: relative; overflow: hidden; }
.jbs.train .jb-prow .eq { font-size: 11px; color: rgba(240,237,232,.38); margin-top: 2px; }
.jbs.train .jb-prow .swap { display: flex; align-items: center; gap: 4px; color: #F0EDE8; border: .5px solid rgba(255,255,255,.22); background: #181818; font: 700 11px Inter, sans-serif; letter-spacing: .5px; padding: 5px 10px; }
.jb-next { padding: 14px 16px; margin-top: 8px; }
.jb-next .nh { display: flex; align-items: baseline; }
.jb-next .nt { flex: 1; font: 18px "Bebas Neue", Impact, sans-serif; letter-spacing: .4px; }
.jb-next .nw { font: 700 10px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: rgba(240,237,232,.58); }
.jb-next .nm2 { font-size: 12px; line-height: 17px; color: rgba(240,237,232,.58); margin-top: 4px; }
.jb-next .nl { font-size: 11px; color: rgba(240,237,232,.38); margin-top: 3px; }
.jb-sticky { display: none; position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 8px 16px 100px; background: #000; border-top: .5px solid rgba(255,255,255,.1); }
.jb-sticky .jb-cta { margin-top: 0; min-height: 52px; }
.jbs.train .jb-sticky { display: block; }
.jbs.train .jb-view { padding-bottom: 190px; }
.jb-hint { margin-top: 22px; }
.jb-site { justify-content: center; display: flex; margin-top: 12px; }
/* the app's exercise art: two keyframes on the family colour, the second fading in and out (hold 1.2 s, fade .38 s: exerciseArt/sequence.js) */
.jb-art { position: relative; overflow: hidden; }
.jb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.jb-art .kf2 { opacity: 0; animation: jb-kf 3.16s infinite; }
@keyframes jb-kf { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .jb-art .kf2 { animation: none; opacity: 1; } }
.jbs.train .jb-prow .thumb { overflow: visible; background: transparent; border: 0; }
.jbs.train .jb-prow .thumb .jb-art { position: absolute; inset: 0; border-radius: 14px; }
.jbs.train .jb-prow .thumb .ok { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #4ade80; font: 700 24px Inter, sans-serif; }
.jbs.train .jb-prow .thumb .mbadge { position: absolute; right: -8px; bottom: -6px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: #111; overflow: hidden; display: none; }
.jbs.train .jb-prow .thumb .mbadge.on { display: block; }
.jbs.train .jb-prow .thumb .mbadge svg { width: 100%; height: 100%; display: block; }
.jb-sheet .jb-art.hero { height: 210px; border-radius: 18px; margin: 12px 0 4px; }
/* the last slot on the shelf: an empty cartridge for the visitor's own project (opens Contact) */
.cart-you .label.you { background: repeating-linear-gradient(45deg, #11131f 0 10px, #161928 10px 20px); }
.cart-you .slot { display: grid; place-items: center; gap: 6px; border: 3px dashed rgba(255,255,255,.45); padding: 10px 14px; margin: 0 14px; width: calc(100% - 28px); box-sizing: border-box; height: 74%; }
.cart-you .q { font: 700 46px/1 var(--font-display); color: #ffd25a; animation: cart-you-bob 1.6s ease-in-out infinite; text-shadow: 3px 3px 0 #c95a0c; }
.cart-you .ins { font: 700 10px var(--font-display); letter-spacing: .14em; text-transform: uppercase; animation: cart-you-blink 1.1s steps(1) infinite; }
@keyframes cart-you-bob { 50% { transform: translateY(-4px); } }
@keyframes cart-you-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cart-you .q, .cart-you .ins { animation: none; } }
/* Strolr: the real app's look (Streamlit, dark), replaying answers from the study with their hand grades */
.stl { border: 4px solid var(--ink); background: #0e1117; box-shadow: 6px 6px 0 rgba(0,0,0,.25); color: #fafafa; font-family: "Source Sans 3", "Source Sans Pro", Inter, system-ui, sans-serif; }
.stl-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #1c1f26; border-bottom: 1px solid #2a2e37; }
.stl-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .stl-bar i:nth-child(2) { background: #febc2e; } .stl-bar i:nth-child(3) { background: #28c840; }
.stl-bar span { margin-left: 8px; font-size: 12px; color: #9aa0ad; }
.stl-app { display: flex; flex-direction: column; height: 560px; }
.stl-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 13px; color: #9aa0ad; }
.stl-top .sb { color: #fafafa; font-size: 18px; } .stl-top .run { margin-left: auto; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.stl-top .run i { width: 6px; height: 6px; border-radius: 50%; background: #28c840; animation: stl-pulse 1.4s infinite; }
@keyframes stl-pulse { 50% { opacity: .3; } }
.stl-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 12px; scrollbar-width: thin; scrollbar-color: #2a2e37 transparent; }
.stl-logo { display: block; width: 62%; margin: 2px auto 0; }
.stl-tag { text-align: center; font-size: 13px; line-height: 1.45; color: #fafafa; margin: 6px 6px 14px; }
.stl h4 { font: 700 20px "Source Sans 3", Inter, sans-serif; margin: 0 0 4px; color: #fafafa; }
.stl-note { font-size: 12px; margin: 0 0 8px; color: #d6d6d9; }
.stl-name span { font-size: 11px; color: #9aa0ad; } .stl-name div { background: #262730; border-radius: 6px; padding: 7px 10px; font-size: 13px; margin: 3px 0 10px; color: #c9cbd2; }
.stl-chat { display: flex; flex-direction: column; gap: 8px; }
.stl-chat .m { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; font-size: 13px; line-height: 1.45; animation: stl-in .3s both; }
@keyframes stl-in { from { opacity: 0; transform: translateY(6px); } }
.stl-chat .m img { width: 26px; height: 28px; flex: none; border-radius: 6px; background: #0e1117; }
.stl-chat .m.you { background: #262730; } .stl-chat .m .av { width: 26px; height: 26px; flex: none; border-radius: 6px; background: #ff4b4b; color: #fff; font: 700 12px Inter, sans-serif; display: grid; place-items: center; }
.stl-chat .m.bot > div { min-width: 0; }
.stl-chat .src { display: inline-block; margin-top: 6px; font-size: 11px; color: #8ab4f8; text-decoration: none; border: 1px solid #2f3a52; border-radius: 10px; padding: 1px 8px; }
.stl-chat .typing { display: flex; gap: 4px; padding: 6px 0; } .stl-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa0ad; animation: stl-pulse 1s infinite; } .stl-chat .typing i:nth-child(2) { animation-delay: .2s; } .stl-chat .typing i:nth-child(3) { animation-delay: .4s; }
.stl-chat .m.grade { padding: 0; }
.stl-chat .gr { flex: 1; border: 2px solid var(--g); border-left-width: 6px; border-radius: 6px; padding: 7px 10px; background: rgba(255,255,255,.03); }
.stl-chat .gr .eb { display: block; font: 700 9px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ad; }
.stl-chat .gr b { display: block; font: 700 15px var(--font-display); color: var(--g); margin: 3px 0 1px; } .stl-chat .gr b small { font-size: 10px; color: #c9cbd2; margin-left: 6px; }
.stl-chat .gr > span:last-child { font-size: 12px; color: #d6d6d9; }
.stl-qs { padding: 8px 12px 4px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid #262730; }
.stl-qs b { width: 100%; font: 700 9px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ad; }
.stl-qs button { font: 600 12px Inter, sans-serif; color: #fafafa; background: #262730; border: 1px solid #3a3d48; border-radius: 14px; padding: 5px 10px; cursor: pointer; text-align: left; }
.stl-qs button:hover:not(:disabled) { border-color: #8ab4f8; } .stl-qs button:disabled { opacity: .4; cursor: default; }
.stl-in { display: flex; align-items: center; margin: 6px 12px 12px; background: #262730; border-radius: 20px; padding: 9px 14px; font-size: 13px; color: #8b8d98; }
.stl-in b { margin-left: auto; color: #8b8d98; }
.st-pipe .pipe-card { min-height: 300px; }
.se-peep { display: flex; align-items: flex-end; gap: 6px; margin: 4px 0 10px; }
.se-peep .peep { width: 48px; height: 48px; background: no-repeat 0 0 / 384px 288px; image-rendering: pixelated; margin: 0 -8px; }
.se-peep .se-tag { margin-left: 14px; font: 700 10px var(--font-display); letter-spacing: .06em; color: #aab2e0; text-transform: uppercase; }
.se-grades { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.se-grades span { border: 2px solid var(--g); padding: 4px 8px; font-size: 12px; color: #c9cbd2; } .se-grades b { color: var(--g); margin-right: 6px; font: 700 11px var(--font-display); }
.se-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: 12.5px; }
.se-checks b { display: block; font: 700 11px var(--font-display); color: #fff; margin-bottom: 3px; } .se-checks span { display: block; color: #c9d2ff; line-height: 1.5; }
.se-vs .row { grid-template-columns: 120px 1fr; color: #e9ecff; } .se-vs .bars { background: rgba(255,255,255,.06); }
.se-find { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.se-find .waffle { display: grid; grid-template-columns: repeat(10, 12px); gap: 3px; }
.se-find .waffle i { width: 12px; height: 12px; display: block; }
.se-find b { display: block; font: 700 15px var(--font-display); color: #fff; } .se-find span { display: block; font-size: 11.5px; color: #aab2e0; margin-bottom: 4px; }
.stl-app { position: relative; }
.stl-top .sb { background: none; border: 0; color: #fafafa; font-size: 20px; cursor: pointer; padding: 0 4px; }
.stl-side { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 78%; background: #262730; padding: 34px 14px 14px; overflow-y: auto; box-shadow: 8px 0 24px rgba(0,0,0,.5); font-size: 12.5px; line-height: 1.45; animation: stl-side .2s both; }
@keyframes stl-side { from { transform: translateX(-100%); } }
.stl-side .x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #fafafa; font-size: 20px; cursor: pointer; }
.stl-side details { border: 1px solid #3a3d48; border-radius: 8px; padding: 8px 10px; }
.stl-side summary { cursor: pointer; font-weight: 600; } .stl-side p { margin: 6px 0; color: #d6d6d9; }
.stl-side .res { display: inline-block; margin-top: 12px; color: #fafafa; text-decoration: none; border: 1px solid #5a5d6a; border-radius: 8px; padding: 6px 14px; }
.stl-name input { width: 100%; box-sizing: border-box; background: #262730; border: 1px solid transparent; border-radius: 6px; padding: 7px 10px; font: 13px Inter, sans-serif; color: #fafafa; margin: 3px 0 10px; outline: none; }
.stl-name input:focus { border-color: #ff4b4b; }
.stl-name { display: block; }
.stl-chat .srcs { margin-top: 8px; font-size: 12px; color: #d6d6d9; word-break: break-all; } .stl-chat .srcs a { color: #8ab4f8; }
.stl-chat .dl { display: block; margin-top: 8px; background: #0e1117; color: #fafafa; border: 1px solid #3a3d48; border-radius: 8px; padding: 5px 12px; font: 12px Inter, sans-serif; cursor: pointer; }
.stl-chat .dl:disabled { opacity: .7; cursor: default; }
.stl-chat .m.you .av { background: #ff8c42; }
/* Trojan Takeoff: the flight scene */
.tt-scene { position: relative; border: 3px solid #000; background: #000; }
.tt-scene canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.tt-scene .lbl { position: absolute; font: 700 clamp(9px, 1.6vw, 12px)/1.1 var(--font-display); color: #fff; text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000; white-space: nowrap; pointer-events: none; transform: translateX(-100%); text-align: right; }
.tt-scene .lbl small { display: block; font: 600 clamp(9px, 1.5vw, 12px) var(--font-body, inherit); color: #dfe6ff; }
.tt-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tt-chips button { font: 700 11px var(--font-display); color: #e9ecff; background: transparent; border: 2px solid #7f88bb; padding: 5px 8px; cursor: pointer; }
.tt-chips button[aria-pressed="true"] { background: #f2c14e; border-color: #f2c14e; color: #10142a; }
.tt-say { min-height: 3em; font-size: 15px; margin: 8px 0 0; color: #e9ecff; }
.tt-card { min-height: 0; margin: 14px 0; }
/* AgPro: the four tabs */
.ag-card { min-height: 0; }
.ag-card svg image { image-rendering: pixelated; }
.ag-card svg { shape-rendering: crispEdges; } .ag-card svg text { font-family: var(--font-display); }
.ag-card .sch { margin: 6px 0 0; }
.tt-scene .lbl:not(.r) { transform: none; text-align: left; }
.ag-tabs button[aria-selected="true"] { background: var(--c); color: #fff; }
#panel .stl-side, #panel .stl-side p, #panel .stl-side summary { font-size: 12.5px; line-height: 1.45; }
.stl-side p { margin: 6px 0; }
.stl-top .sb svg, .stl-side .x svg { display: block; }
.stl-side .x { font-size: 0; }
#panel .stl-side p { margin: 6px 0; }
