/* ============================================================
   HOMEPAGE APP MOCKUPS
   Nebula and Artha windows built on the Apex UI kit
   (/apex/app-ui.css), plus the "workaround" props, the skeleton
   app and the studio slabs. All data shown is fictional.
   ============================================================ */

/* ============================================================
   NEBULA · tokens from the app's globals.css
   ============================================================ */
.a-win.nb {
  --a-bg: #0a0a0c;
  --a-panel: #111114;
  --a-card: #15151a;
  --a-card-2: #1b1b22;
  --a-line: #25252c;
  --a-line-2: #34343c;
  --a-text: #f4f4f5;
  --a-text-2: #a1a1aa;
  --a-text-3: #71717a;
  --a-text-4: #52525b;
  --a-v: #a78bfa;
  --a-v-2: #c4b5fd;
  --a-v-3: #ddd6fe;
  --a-v-bg: rgba(167, 139, 250, 0.12);
  --a-v-line: rgba(167, 139, 250, 0.4);
  --a-ink: #0a0a0c;
  --a-green: #4ade80;
  --a-green-bg: rgba(74, 222, 128, 0.1);
  grid-template-columns: 226px 1fr;
}
.a-win.nb .a-bar, .a-win.aw .a-bar { background: #0b0b0e; }
.a-win.nb .a-nav .it.on { background: rgba(255, 255, 255, 0.05); }
.a-win.nb .a-top { background: rgba(10, 10, 12, 0.72); }
.nb .mono, .nb-eb, .nb-ti, .nb-meta, .nb-tele, .nb-date, .nb-out .ch { font-family: "JetBrains Mono", "SF Mono", Menlo, monospace; }

.nb-new {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin: 12px 14px 2px;
  padding: 0 10px;
  border-radius: 8px;
  background: #d4d4d8;
  color: #0a0a0c;
  font-size: 12.5px;
  font-weight: 600;
}
.nb-new svg { width: 13px; height: 13px; }
.nb-new kbd {
  margin-left: auto;
  font: 600 10px "JetBrains Mono", monospace;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
}
.nb-user { display: flex; align-items: center; gap: 9px; padding: 6px 6px 2px; }
.nb-user .av { width: 28px; height: 28px; font-size: 10px; background: var(--a-v-bg); color: var(--a-v-2); box-shadow: inset 0 0 0 1px var(--a-v-line); }
.nb-user b { display: block; font-size: 12.5px; font-weight: 500; }
.nb-user small { display: block; font-size: 10.5px; }
.nb-crumb { margin-right: auto; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--a-text-3); }
.nb-crumb b { color: var(--a-text); font-weight: 500; }

/* Memo view */
.a-main.nb-memo {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 26px;
  padding: 22px 30px 18px 22px;
}
.nb-toc { position: relative; padding-top: 4px; }
.nb-toc .nb-eb { display: block; margin-bottom: 10px; }
.nb-ti {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  height: 25px;
  padding-left: 10px;
  font-size: 11px;
  color: var(--a-text-3);
  white-space: nowrap;
}
.nb-ti em { font-style: normal; color: var(--a-text-4); font-size: 10px; }
.nb-ti::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 2px;
  background: var(--a-line);
}
.nb-ti.on { color: var(--a-text); }
.nb-ti.on::before { background: var(--a-v); }
.nb-ti .hl {
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 2px;
  background: var(--a-v);
  box-shadow: 0 0 10px var(--a-v);
  visibility: hidden;
}

.nb-doc { display: flex; flex-direction: column; gap: 11px; min-width: 0; transform-style: preserve-3d; }
.nb-eb { font-size: 10px; letter-spacing: 0.22em; text-transform: lowercase; color: var(--a-text-3); }
.nb-hero h1 {
  margin: 8px 0 0;
  font-size: 46px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 10%, #9a9aa3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 4px;
}
.nb-hero p { margin: 8px 0 0; max-width: 820px; font-size: 13px; line-height: 1.5; color: var(--a-text-2); }
.nb-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nb-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 10.5px; color: var(--a-text-3); letter-spacing: 0.02em; }
.nb-meta .sep { color: var(--a-text-4); }
.nb-fresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 19px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--a-green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.nb-acts { display: flex; gap: 7px; flex-shrink: 0; }
.nb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--a-line-2);
  font-size: 11.5px;
  color: var(--a-text-2);
  white-space: nowrap;
}
.nb-btn svg { width: 12px; height: 12px; }
.nb-btn.pri { background: #d4d4d8; border-color: #d4d4d8; color: #0a0a0c; font-weight: 600; }

.nb-sec { position: relative; padding-top: 11px; border-top: 1px solid var(--a-line); }
.nb-sec h4 { margin: 5px 0 9px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.nb-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.nb-kpi { padding: 9px 12px; border-radius: 9px; background: var(--a-card); border: 1px solid var(--a-line); }
.nb-kpi .cap { font-size: 9px; }
.nb-kpi b { display: block; margin-top: 3px; font-size: 19px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nb-kpi small { font-family: "JetBrains Mono", monospace; font-size: 9.5px; }
.nb-trig { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.nb-tc { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 9px; background: var(--a-card); border: 1px solid var(--a-line); }
.nb-date {
  flex-shrink: 0;
  height: 19px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9.5px;
  line-height: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a-v-2);
  background: var(--a-v-bg);
  border: 1px solid var(--a-v-line);
}
.nb-tc b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.nb-tc small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.4; }
.nb-row2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; transform-style: preserve-3d; }
.nb-per { padding: 11px 12px; border-radius: 9px; background: var(--a-card); border: 1px solid var(--a-line); }
.nb-per + .nb-per { margin-top: 8px; }
.nb-ph { display: flex; align-items: center; gap: 9px; }
.nb-ph .av { width: 28px; height: 28px; font-size: 10px; background: var(--a-v-bg); color: var(--a-v-2); box-shadow: inset 0 0 0 1px var(--a-v-line); }
.nb-ph b { display: block; font-size: 12.5px; font-weight: 500; }
.nb-ph small { display: block; font-size: 10.5px; }
.nb-role {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--a-text-2);
  border: 1px solid var(--a-line-2);
}
.nb-per p { margin: 6px 0 0; font-size: 11px; line-height: 1.45; color: var(--a-text-2); }
.nb-per p i { font-style: normal; color: var(--a-text); font-weight: 500; }
.nb-out { padding: 11px 12px; border-radius: 9px; background: var(--a-card); border: 1px solid var(--a-line); }
.nb-out .oh { display: flex; justify-content: space-between; align-items: center; }
.nb-out .ch { font-size: 9.5px; letter-spacing: 0.2em; text-transform: lowercase; color: var(--a-text-3); }
.nb-out .cp { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--a-v-2); }
.nb-out .cp svg { width: 11px; height: 11px; }
.nb-msg { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #1b1b22; border: 1px solid var(--a-line); font-size: 11.5px; line-height: 1.5; color: var(--a-text-2); }
.nb-msg b { display: block; color: var(--a-text); font-weight: 500; margin-bottom: 5px; }
.nb-out .alt { display: flex; gap: 7px; margin-top: 8px; }
.nb-out .alt span { font-family: "JetBrains Mono", monospace; font-size: 9.5px; letter-spacing: 0.12em; text-transform: lowercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); color: var(--a-text-3); }

/* New-memo panel and the generating checklist (motion only) */
.nb-dim {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(4, 4, 6, 0.66);
  visibility: hidden;
}
.nb-gen {
  position: absolute;
  left: 380px;
  top: 178px;
  width: 520px;
  height: 420px;
  visibility: hidden;
  transform-style: preserve-3d;
}
.nb-gen .gp {
  position: absolute;
  border-radius: 12px;
  background: #15151a;
  border: 1px solid #34343c;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.nb-gen .gp.base { inset: 0; }
.nb-gen .gp.head { left: 24px; right: 24px; top: 22px; height: 62px; background: transparent; border: 0; box-shadow: none; }
.nb-gen .gp.head h5 { margin: 6px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.nb-gen .gp.f1 { left: 24px; right: 24px; top: 96px; height: 70px; background: transparent; border: 0; box-shadow: none; }
.nb-gen .gp.f2 { left: 24px; right: 24px; top: 180px; height: 70px; background: transparent; border: 0; box-shadow: none; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.nb-gen .gp.f3 { left: 24px; right: 24px; top: 264px; height: 62px; background: transparent; border: 0; box-shadow: none; }
.nb-gen .gp.go { right: 24px; bottom: 24px; height: 38px; width: 180px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #d4d4d8; border-color: #d4d4d8; color: #0a0a0c; font-weight: 600; font-size: 13px; border-radius: 9px; }
.nb-gen .gp.go svg { width: 13px; height: 13px; }
.nb-gen .fld { background: #1b1b22; border-color: #34343c; }
.nb-gen .fld.on { border-color: var(--a-v); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18); }
.nb-gen .seg { height: 36px; }
.nb-gen .seg span { padding: 5px 11px; font-size: 12px; }
.nb-gen .seg span.on { background: #d4d4d8; color: #0a0a0c; }
.nb-gen .areas { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-gen .areas span { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid #34343c; color: var(--a-text-2); }
.nb-gen .areas span.on { color: var(--a-v-2); border-color: var(--a-v-line); background: var(--a-v-bg); }

.nb-run {
  position: absolute;
  inset: 0;
  padding: 22px 24px;
  border-radius: 12px;
  background: #15151a;
  visibility: hidden;
}
.nb-run h5 { margin: 6px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.nb-run h5 i { width: 8px; height: 8px; border-radius: 50%; background: var(--a-v); box-shadow: 0 0 0 4px var(--a-v-bg); }
.nb-tele { margin-top: 8px; font-size: 10.5px; color: var(--a-text-3); letter-spacing: 0.04em; }
.nb-prog { margin-top: 14px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.nb-prog i { display: block; height: 100%; width: 100%; border-radius: 5px; background: linear-gradient(90deg, #7c5cf0, #a78bfa); transform-origin: 0 50%; }
.nb-cks { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.nb-ck { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--a-text-2); }
.nb-ck i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #34343c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nb-ck i svg { width: 10px; height: 10px; color: #0a0a0c; opacity: 0; }
.nb-ck em { font-style: normal; font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--a-text-4); width: 16px; }

/* ============================================================
   ARTHA · the wealth OS (green accent)
   ============================================================ */
.a-win.aw {
  --a-bg: #09090b;
  --a-panel: #0f1012;
  --a-card: #131417;
  --a-card-2: #18191d;
  --a-line: #24252b;
  --a-line-2: #30323a;
  --a-text: #f4f4f5;
  --a-text-2: #a6a7b0;
  --a-text-3: #777985;
  --a-text-4: #55565f;
  --a-v: #4ade80;
  --a-v-2: #86efac;
  --a-v-3: #bbf7d0;
  --a-v-bg: rgba(74, 222, 128, 0.12);
  --a-v-line: rgba(74, 222, 128, 0.4);
  --a-ink: #04130a;
}
.a-win.aw .a-nav .it.on { background: rgba(74, 222, 128, 0.07); }
.a-main.aw-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 292px;
  grid-template-rows: 38px 244px minmax(0, 1fr);
  gap: 12px;
}
.aw-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.aw-head h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.aw-head h3 small { font-size: 13px; font-weight: 400; margin-left: 10px; }
.aw-net { grid-column: span 3; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(165deg, #121915 0%, var(--a-card) 55%); }
.aw-nh { display: flex; align-items: flex-end; gap: 14px; margin-top: 6px; }
.aw-big { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.aw-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--a-v);
  background: var(--a-v-bg);
  border: 1px solid rgba(74, 222, 128, 0.3);
  margin-bottom: 6px;
}
.aw-delta svg { width: 11px; height: 11px; }
.a-win .aw-chart { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; width: 100%; }
.aw-chart .ln { fill: none; stroke: #4ade80; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.aw-chart .gr { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; stroke-dasharray: 3 5; }
.aw-chart .dot { fill: #4ade80; }
.aw-chart .halo { fill: rgba(74, 222, 128, 0.25); }
.aw-axis { position: absolute; left: 16px; right: 16px; bottom: 8px; display: flex; justify-content: space-between; font-size: 10px; color: var(--a-text-4); }

.aw-flow { grid-column: 4; display: flex; flex-direction: column; gap: 4px; }
.aw-fr { display: grid; grid-template-columns: 52px 1fr 70px; align-items: center; gap: 10px; height: 34px; font-size: 12px; color: var(--a-text-2); }
.aw-fr .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.aw-fr .bar i { display: block; height: 100%; border-radius: 4px; background: var(--c, #4ade80); }
.aw-fr b { text-align: right; color: var(--a-text); font-variant-numeric: tabular-nums; }
.aw-flow .note { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--a-line); font-size: 11.5px; color: var(--a-text-3); }
.aw-flow .note b { color: var(--a-v); font-weight: 500; }

.aw-accts {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
  transform-style: preserve-3d;
}
.aw-slot { position: relative; border-radius: 10px; border: 2px dashed transparent; transform-style: preserve-3d; }
.aw-acct {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--a-card);
  border: 1px solid var(--a-line);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.aw-ah { display: flex; align-items: center; gap: 10px; }
.aw-ah .tile { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; color: #fff; border: 0; background: var(--c); }
.aw-ah b { display: block; font-size: 13px; font-weight: 500; }
.aw-ah small { display: block; font-size: 11px; }
.aw-ah .kind { margin-left: auto; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a-text-3); }
.aw-bal { margin-top: auto; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aw-bal.neg { color: #f87171; }
.aw-chg { margin-top: 3px; font-size: 11px; color: var(--a-text-3); }
.aw-chg.up { color: var(--a-v); }

.aw-goals { grid-column: 4; display: flex; flex-direction: column; }
.aw-goals .cap { margin-bottom: 4px; }
.aw-goal { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; height: 62px; border-top: 1px solid var(--a-line); }
.aw-goal:first-of-type { border-top: 0; }
.a-win .aw-ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.aw-ring circle { fill: none; stroke-width: 5; }
.aw-ring .bg { stroke: rgba(255, 255, 255, 0.07); }
.aw-ring .fg { stroke: var(--c, #4ade80); stroke-linecap: round; }
.aw-goal b { display: block; font-size: 12.5px; font-weight: 500; }
.aw-goal small { display: block; font-size: 11px; margin-top: 2px; }
.aw-goal .pc { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.aw-goals .add { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 8px; border: 1px dashed var(--a-line-2); color: var(--a-text-3); font-size: 12px; }
.aw-goals .add svg { width: 12px; height: 12px; }

/* ============================================================
   00 · THE WORKAROUNDS (props) and the skeleton app
   ============================================================ */
.junk {
  position: absolute;
  font-family: "Inter", -apple-system, sans-serif;
  color: #e7e7ea;
  border-radius: 10px;
  text-align: left;
  transform: rotate(var(--r, 0deg));
}
.jk-panel {
  background: #f4f4f1;
  color: #23242a;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85);
}
.jk-dark {
  background: #17181c;
  border: 1px solid #2a2b31;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.9);
}

.jk-sheet { width: 460px; overflow: hidden; border-radius: 9px; }
.jk-sheet .tb { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: #1f7a4a; color: #fff; font-size: 11.5px; font-weight: 500; }
.jk-sheet .tb svg { width: 13px; height: 13px; }
.jk-grid { display: grid; grid-template-columns: 26px 1.5fr 1fr 0.8fr 0.8fr 1fr; font-size: 11px; }
.jk-grid span { height: 23px; line-height: 23px; padding: 0 6px; border-right: 1px solid #dcdcd6; border-bottom: 1px solid #dcdcd6; white-space: nowrap; overflow: hidden; }
.jk-grid .h { background: #e8e8e2; color: #6b6b66; font-weight: 600; font-size: 10px; text-align: center; }
.jk-grid .n { background: #e8e8e2; color: #8a8a84; text-align: center; font-size: 10px; }
.jk-grid .y { background: #fff3a6; }
.jk-grid .err { color: #c2271b; font-weight: 700; }
.jk-grid .rd { background: #fde2df; }
.jk-sheet .cm {
  position: absolute;
  right: -14px;
  top: 92px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff8c5;
  color: #4a4200;
  font-size: 11px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
}

.jk-mail { width: 370px; padding: 14px 16px; }
.jk-mail .mh { display: flex; align-items: center; gap: 10px; }
.jk-mail .mh i { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #4f6df5); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.jk-mail .mh b { font-size: 13px; }
.jk-mail .mh small { display: block; font-size: 11px; color: #8a8b93; }
.jk-mail .sub { margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.jk-mail p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #a9aab3; }

.jk-note {
  width: 186px;
  height: 172px;
  padding: 18px 16px;
  border-radius: 3px;
  font-size: 21px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #2b2410;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.85);
}
.jk-note.y { background: #fde68a; }
.jk-note.p { background: #fbcfe8; color: #3d1530; }
.jk-note.b { background: #bfdbfe; color: #102542; }
.jk-note small { display: block; margin-top: 14px; font-size: 11px; font-style: normal; opacity: 0.6; letter-spacing: 0.04em; }

.jk-slide { width: 330px; height: 206px; padding: 16px 18px; border-radius: 6px; background: #fff; color: #1c1d22; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85); }
.jk-slide b { font-size: 15px; letter-spacing: -0.01em; }
.jk-slide .bars { display: flex; align-items: flex-end; gap: 10px; height: 104px; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid #ddd; }
.jk-slide .bars i { flex: 1; border-radius: 3px 3px 0 0; background: #c7c9d3; }
.jk-slide .bars i:nth-child(3) { background: #f97316; }
.jk-slide small { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: #8b8d96; }

.jk-cal { width: 340px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.jk-cal .ic { width: 38px; height: 38px; border-radius: 9px; background: rgba(251, 146, 60, 0.14); color: #fb923c; display: inline-flex; align-items: center; justify-content: center; }
.jk-cal .ic svg { width: 18px; height: 18px; }
.jk-cal b { display: block; font-size: 13.5px; }
.jk-cal small { display: block; font-size: 11.5px; color: #8a8b93; margin-top: 2px; }

.jk-chat { width: 290px; padding: 12px 14px; }
.jk-chat .bub { display: inline-block; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #2a2b33; font-size: 13px; }
.jk-chat small { display: block; margin-top: 8px; font-size: 11px; color: #8a8b93; }

.jk-tabs { width: 430px; display: flex; gap: 4px; padding: 7px 8px 0; border-radius: 10px 10px 0 0; background: #202126; }
.jk-tabs span { flex: 1; min-width: 0; height: 30px; padding: 0 9px; border-radius: 7px 7px 0 0; background: #2c2d33; color: #b6b7bf; font-size: 10.5px; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jk-tabs span:first-child { background: #17181c; color: #fff; }
.jk-tabs .more { flex: 0 0 auto; background: transparent; color: #fb923c; font-weight: 600; }

.jk-file { width: 128px; height: 156px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 14px; border-radius: 6px 22px 6px 6px; }
.jk-file .ext { font-size: 15px; font-weight: 800; letter-spacing: 0.04em; }
.jk-file small { font-size: 10.5px; color: #8a8b93; padding: 0 8px; text-align: center; line-height: 1.3; }
.jk-file.csv .ext { color: #4ade80; }
.jk-file.pdf .ext { color: #f87171; }

/* The skeleton app every workaround collapses into */
.skel { position: absolute; inset: 0; visibility: hidden; transform-style: preserve-3d; }
.sk-plate {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(var(--tone-rgb), 0.5);
  box-shadow: 0 0 80px -20px rgba(var(--tone-rgb), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.sk-bar { position: absolute; left: 0; right: 0; top: 0; height: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.sk-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.sk-title {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tone-2);
  white-space: nowrap;
}
.sk-side { position: absolute; left: 0; top: 36px; bottom: 0; width: 210px; border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.sk-side i { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.09); }
.sk-side i:first-child { width: 60%; height: 16px; background: rgba(var(--tone-rgb), 0.35); margin-bottom: 10px; }
.sk-side i:nth-child(3) { width: 80%; }
.sk-side i:nth-child(5) { width: 70%; }
.sk-main { position: absolute; left: 234px; right: 24px; top: 60px; bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 90px 1fr 1fr; gap: 16px; }
.sk-slot {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}
.sk-slot.wide { grid-column: span 2; }
.sk-lbl {
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tone-2);
}
.sk-bars { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.sk-bars i { display: block; height: 10px; border-radius: 5px; background: rgba(var(--tone-rgb), 0.28); }
.sk-bars i:first-child { background: rgba(var(--tone-rgb), 0.5); }

/* ============================================================
   04 · STUDIO SLABS
   ============================================================ */
.slab {
  position: absolute;
  left: 180px;
  top: 150px;
  width: 920px;
  height: 500px;
  padding: 44px 52px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(36, 36, 42, 0.96), rgba(14, 14, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: left;
}
.slab .no { font-family: var(--font-mono); font-size: 26px; letter-spacing: 0.2em; color: var(--c); }
.slab h3 { margin: auto 0 0; font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -0.045em; }
.slab p { margin: 18px 0 0; font-size: 24px; line-height: 1.45; color: #a7a7b1; max-width: 700px; }
.slab .ico {
  position: absolute;
  right: 52px;
  top: 44px;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.slab .ico svg { width: 34px; height: 34px; }
.slab-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: auto;
  transform: translate(-50%, -50%);
  visibility: hidden;
}
.slab-mark .vibe-fill { fill: #fff; }
.slab-mark .vibe-text { fill: #0c0c0f; }
.slab-mark .tribe-text { fill: #fff; }
.slab-mark .frame { stroke: #fff; fill: none; }

/* Static layout for the slabs: a readable 2 x 2 grid */
:root:not(.motion) .slab { transform: translate(var(--sx), var(--sy)) scale(0.56); }
:root:not(.motion) .slab[data-i="0"] { --sx: -270px; --sy: -180px; }
:root:not(.motion) .slab[data-i="1"] { --sx: 270px; --sy: -180px; }
:root:not(.motion) .slab[data-i="2"] { --sx: -270px; --sy: 160px; }
:root:not(.motion) .slab[data-i="3"] { --sx: 270px; --sy: 160px; }
