@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/vendor/fonts/geist-300.woff2") format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/vendor/fonts/geist-400.woff2") format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/vendor/fonts/geist-500.woff2") format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/vendor/fonts/geist-mono-400.woff2") format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/vendor/fonts/geist-mono-500.woff2") format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/vendor/fonts/inter-800.woff2") format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/vendor/fonts/syne-800.woff2") format('woff2');
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
:root {
  --y-bg: #0a0a0a;
  --y-bg-soft: #141414;
  --y-surface: rgba(0,0,0,.22);
  --y-surface-soft: rgba(255,255,255,.06);
  --y-border: rgba(255,255,255,.09);
  --y-border-strong: rgba(255,255,255,.12);
  --y-text: #f0ece6;
  --y-text-soft: rgba(240,236,230,.62);
  --y-text-muted: rgba(240,236,230,.52);
  --y-text-faint: rgba(240,236,230,.32);
  --y-radius-card: 20px;
  --y-radius-card-sm: 16px;
  --y-radius-pill: 100px;
  --y-card-max: 1060px;
  --y-font-sans: 'Geist', -apple-system, sans-serif;
  --y-font-display: 'Syne', sans-serif;
  --y-font-mono: 'Geist Mono', monospace;
  --y-font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --y-ease: cubic-bezier(.2,.8,.2,1);
  --y-ease-soft: cubic-bezier(.4,0,.2,1);
  --project-accent: #a35a2b;
  --project-accent-soft: rgba(163,90,43,.14);
  --project-accent-border: rgba(157,90,42,.26);
}

[data-theme="intro"] {
  --project-accent: #a35a2b;
  --project-accent-soft: rgba(163,90,43,.14);
  --project-accent-border: rgba(157,90,42,.26);
}

[data-theme="devnote"] {
  --project-accent: #58a6ff;
  --project-accent-soft: rgba(88,166,255,.045);
  --project-accent-border: rgba(88,166,255,.20);
}

[data-theme="cortex"] {
  --project-accent: #0a84ff;
  --project-accent-soft: rgba(10,132,255,.10);
  --project-accent-border: rgba(10,132,255,.45);
  --project-danger: #ff453a;
  --project-warning: #ff9f0a;
  --project-success: #34c759;
}

[data-theme="pulse"] {
  --project-accent: #ff453a;
  --project-accent-soft: rgba(255,69,58,.12);
  --project-accent-border: rgba(255,69,58,.45);
  --project-lab: #ff9f0a;
  --project-lab-soft: rgba(255,159,10,.12);
  --project-lab-border: rgba(255,159,10,.45);
}

body { background: var(--y-bg); color: var(--y-text); font-family: var(--y-font-sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.local-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon-svg { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; overflow: visible; fill: currentColor; vertical-align: -.125em; }

/* ── BACKGROUNDS ── */
.bg { position: fixed; inset: 0; z-index: 0; opacity: 0; pointer-events: none; will-change: opacity; }

#bg0 {
  background: linear-gradient(180deg, var(--y-bg) 0%, #090909 100%);
  opacity: 1;
}
#bg0::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .06;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

#bg1 { background: var(--y-bg-soft); }
#bg1 .g {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(88,166,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,166,255,.18) 1px, transparent 1px),
    linear-gradient(rgba(88,166,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,166,255,.07) 1px, transparent 1px);
  background-size: 300px 300px, 300px 300px, 60px 60px, 60px 60px;
  mask-image: radial-gradient(ellipse 110% 100% at 50% 50%, black 20%, transparent 85%);
}
#bg1 .r {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 40%, rgba(88,166,255,.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(88,166,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(248,81,73,.04) 0%, transparent 55%);
  animation: bgbr 12s ease-in-out infinite alternate;
}
@keyframes bgbr { 0%{opacity:.7;transform:scale(1)} 100%{opacity:1;transform:scale(1.04)} }

#bg2 { background: #0d0d0f; }
#bg2 .noise {
  position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
#bg2 .sphere {
  position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle at 50% 50%, rgba(10,132,255,0.97) 0%, rgba(10,132,255,0.70) 22%, rgba(10,132,255,0.00) 40%);
  filter: blur(0.5px);
  animation: sp 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
#bg2 .sphere::before,
#bg2 .sphere::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 120px; height: 120px;
  transform: translate(-50%,-50%) scale(0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  box-shadow: 0 0 0 0 rgba(10,132,255,0.12), 0 0 24px 6px rgba(10,132,255,0.15);
  background: radial-gradient(circle at 50% 50%, rgba(10,132,255,0.00) 0%, rgba(10,132,255,0.05) 30%, rgba(10,132,255,0.12) 60%, rgba(10,132,255,0.22) 85%, rgba(10,132,255,0.38) 100%);
  mix-blend-mode: lighten;
  animation: sw 2.5s ease-in-out infinite;
}
#bg2 .sphere::after { width: 140px; height: 140px; animation-delay: 1.25s; opacity: 0; }
@keyframes sp { 0%,100%{transform:translate(-50%,-50%) scale(.85)} 50%{transform:translate(-50%,-50%) scale(1.05)} }
@keyframes sw {
  0% { transform: translate(-50%,-50%) scale(.9); opacity: 0; }
  18% { opacity: .55; }
  55% { opacity: .2; }
  100% { transform: translate(-50%,-50%) scale(1.45); opacity: 0; }
}
#bg2 .scan-wave {
  position: absolute;
  left: 50%; top: 50%;
  width: 120px; height: 120px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.9);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
  background: radial-gradient(circle at 50% 50%, rgba(10,132,255,0.00) 0%, rgba(10,132,255,0.05) 30%, rgba(10,132,255,0.12) 60%, rgba(10,132,255,0.22) 85%, rgba(10,132,255,0.38) 100%);
  box-shadow: 0 0 0 0 rgba(10,132,255,0.10), 0 0 24px 6px rgba(10,132,255,0.14);
  mix-blend-mode: lighten;
  filter: blur(0.3px);
}
#bg2 .scan-point {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(6px);
  box-shadow: 0 0 16px 8px currentColor, 0 0 32px 0 currentColor;
  transform: scale(.9);
  transition: opacity 120ms linear, transform 160ms cubic-bezier(.2,.9,.4,1.1);
  pointer-events: none;
  z-index: 6;
}
#bg2 .scan-point.r { background: rgba(255,69,58,0.25); color: rgba(255,69,58,0.6); }
#bg2 .scan-point.y { background: rgba(255,159,10,0.20); color: rgba(255,159,10,0.5); }
#bg2 .scan-point.g { background: rgba(52,199,89,0.20); color: rgba(52,199,89,0.5); }

#bg3 { background: var(--y-bg); }
#bg3 .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.03);
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  animation: rp 5s ease-in-out infinite alternate;
}
#bg3 .ring-sm { width: 240px; height: 240px; }
#bg3 .ring-md { width: 420px; height: 420px; opacity: .2; animation-delay: .9s; }
#bg3 .ring-lg { width: 580px; height: 580px; opacity: .1; animation-delay: 1.8s; }
@keyframes rp { 0%{opacity:.2;transform:translate(-50%,-50%) scale(.93)} 100%{opacity:.4;transform:translate(-50%,-50%) scale(1.07)} }

/* ── GRAIN ── */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 52px;
}
.logo { font-family: var(--y-font-display); font-size: 13px; font-weight: 800; color: var(--y-text); letter-spacing: .08em; text-decoration: none; }
.nav-c { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 24px; }
.nav-r { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-sections { display: flex; align-items: center; gap: 18px; }
.nav-r a, .nav-c a { font-size: 12px; color: rgba(240,236,230,.58); text-decoration: none; letter-spacing: .02em; transition: color .2s; }
.nav-r a:visited, .nav-c a:visited { color: rgba(240,236,230,.58); }
.nav-r a:hover, .nav-c a:hover { color: var(--y-text); }
.nav-s { font-size: 12px; color: rgba(240,236,230,.58); background: none; border: none; cursor: pointer; letter-spacing: .02em; transition: color .2s; font-family: inherit; padding: 0; }
.nav-s:hover { color: var(--y-text); }
.lt { display: flex; gap: 4px; align-items: center; }
.lb { font-size: 11px; color: rgba(240,236,230,.36); background: none; border: none; cursor: pointer; font-family: var(--y-font-mono); letter-spacing: .06em; padding: 2px 4px; transition: color .2s; }
.lb.on { color: var(--y-text); }
.ls { color: rgba(240,236,230,.1); font-size: 10px; }

/* ── PIPS ── */
.pips { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.pip { width: 4px; height: 4px; border-radius: 50%; background: rgba(240,236,230,.18); cursor: pointer; transition: background .3s, transform .3s; }
.pip.on { background: rgba(240,236,230,.8); transform: scale(1.5); }

/* ── LAYOUT ── */
#root { position: relative; z-index: 140; }
.sec { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 52px 40px 32px; pointer-events: none; }
.dwell { height: 100vh; }
.end-spacer { height: 50vh; }

/* ── CARD BASE ── */
.card {
  width: 100%; max-width: var(--y-card-max);
  border-radius: var(--y-radius-card);
  border: 1px solid var(--y-border);
  background: var(--y-surface);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transform-origin: top center;
  will-change: transform;
  transition: transform .2s linear, opacity .2s linear;
  pointer-events: auto;
}

/* ── CARD 0 — INTRO ── */
#c0 { background: #000000; position: relative; overflow: hidden; }
#c0 .c-bot { border-top: none; }
#s3 { background: #0a0a0a; }

.c-intro { height: calc(100vh - 104px); position: relative; }
.intro-flip-wrap { perspective: 1400px; height: calc(100vh - 104px); }
.intro-flipper {
  position: relative; height: 100%;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
  transition: transform .75s var(--y-ease-soft);
}
.intro-flipper.flipped { transform: rotateY(180deg); }

.intro-face-front, .intro-face-back {
  position: absolute; inset: 0; height: 100%; width: 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform-style: preserve-3d; -webkit-transform-style: preserve-3d;
}
.intro-face-front { display: flex; flex-direction: column; z-index: 2; opacity: 1; pointer-events: auto; }
.intro-face-back { transform: rotateY(180deg); z-index: 1; opacity: 0; pointer-events: none; }
.intro-flipper.flipped .intro-face-front { opacity: 0; pointer-events: none; }
.intro-flipper.flipped .intro-face-back { opacity: 1; pointer-events: auto; z-index: 2; }

.c-intro-content { position: absolute; inset: 0; padding: 52px 56px 44px; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.c-intro-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 420px; z-index: 1; overflow: hidden; border-top-right-radius: 20px; border-bottom-right-radius: 20px; }
.c-intro-photo picture { display: block; width: 100%; height: 100%; }
.c-intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 5%; display: block; border-top-right-radius: 20px; border-bottom-right-radius: 20px; }
.c-intro-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 18%, transparent 38%); }

.intro-side-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: rgba(240,236,230,.64);
  font-size: 11px; letter-spacing: .08em;
  font-family: 'Geist Mono', monospace;
  cursor: pointer; transition: all .2s ease;
}
.intro-side-btn:hover { color: var(--y-text); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }

#c0 .intro-face-front #intro-open {
  position: absolute; left: 50%; bottom: 44px;
  transform: translateX(-50%); z-index: 5;
}

.intro-back { position: relative; height: calc(100vh - 104px); overflow: hidden; background: #000; }
.intro-back-copy {
  position: absolute;
  top: 0; right: 0; bottom: 88px; left: 42%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  width: 58%;
  max-width: none;
}
.intro-back-content { width: 100%; }
.intro-back-top { min-height: 9px; }
.intro-back-kicker {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 9px;
  color: rgba(240,236,230,.42);
  letter-spacing: .2em;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
}
.intro-back-title {
  font-family: var(--y-font-ui);
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--y-text);
  margin: 24px 0 0;
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: nowrap;
}
.intro-back-title span { display: inline; }
.intro-back-title span:first-child::after { content: ' '; }
.intro-back-title .is-copper {
  color: var(--project-accent);
  font-style: normal;
  font-weight: 400;
}
.intro-back-text {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-top: 26px;
  padding-bottom: 0;
  color: rgba(255,255,255,.78);
  font-family: var(--y-font-ui);
  text-align: center;
}
.intro-text-block,
.intro-conclusion { display: flex; flex-direction: column; align-items: center; }
.intro-text-block {
  margin-bottom: 14px;
  color: rgba(240,236,230,.7);
  font-size: clamp(15.5px, 1.05vw, 16.5px);
  line-height: 1.56;
  letter-spacing: -.012em;
}
.intro-text-single { color: rgba(240,236,230,.9); }
.intro-text-last { margin-bottom: 0; color: rgba(240,236,230,.82); }
.intro-conclusion {
  margin-top: 26px;
  padding-bottom: 0;
  color: rgba(240,236,230,.62);
  font-size: clamp(16px, 1.25vw, 18.5px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.intro-conclusion span:nth-child(2) {
  margin-top: 5px;
  margin-left: 0;
  color: rgba(240,236,230,.9);
  font-size: 1.16em;
  font-style: normal;
}
.intro-conclusion em { color: var(--project-accent); font-style: normal; }
.intro-back-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px 28px;
  background: transparent;
  border-bottom-left-radius: var(--y-radius-card);
  border-bottom-right-radius: var(--y-radius-card);
  box-sizing: border-box;
  z-index: 3;
}
.intro-back-actions::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -96px;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.08) 28%,
    rgba(0,0,0,.22) 48%,
    rgba(0,0,0,.52) 72%,
    rgba(0,0,0,.84) 100%
  );
  border-bottom-left-radius: var(--y-radius-card);
  border-bottom-right-radius: var(--y-radius-card);
}
.intro-back-actions > * { position: relative; z-index: 1; }
.intro-back-actions .intro-side-btn {
  align-self: center;
  margin-top: 0;
}
.intro-back .c-intro-photo {
  left: 0; right: auto; width: 42%;
  border-top-left-radius: 20px; border-bottom-left-radius: 20px;
  border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.intro-back .c-intro-photo img {
  border-top-left-radius: 20px; border-bottom-left-radius: 20px;
  border-top-right-radius: 0; border-bottom-right-radius: 0;
  transform: scaleX(-1);
  object-position: 50% 12%;
}
.intro-back .c-intro-photo::after { background: linear-gradient(to left, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 24%, transparent 52%); }
.intro-back .c-intro-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.56), transparent 40%);
  pointer-events: none;
}

.name-front, .name-back { display: block; }
.name-front { color: var(--y-text); }
.name-back { color: var(--project-accent); }

.c-top { display: flex; justify-content: flex-start; }
.c-eyebrow { font-size: 11px; color: var(--y-text-muted); letter-spacing: .12em; font-family: var(--y-font-mono); }
.c-mid { flex: 1; display: flex; align-items: flex-end; padding: 0 120px 56px 0; }
.bigname { font-family: var(--y-font-display); font-size: clamp(60px, 7.4vw, 108px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--y-text); max-width: 760px; }
.c-bot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; }

.tagline { font-size: 17px; font-weight: 300; color: rgba(240,236,230,.68); line-height: 1.65; max-width: 360px; }
.tagline em { font-style: normal; color: var(--project-accent); }

/* ── PILLS ── */
.pills { display: flex; gap: 8px; }
.inline-actions { display: flex; gap: 8px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .04em;
  padding: 10px 18px; border-radius: var(--y-radius-pill);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--y-text-soft);
  text-decoration: none;
  transition: color .22s, border-color .22s, background .22s, opacity .22s;
}
.pill:hover { color: var(--y-text); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); }
.pill.f { background: var(--project-accent-soft); color: var(--y-text); border-color: var(--project-accent-border); }
.pill-disabled { opacity: .5; cursor: default; }
.pill-disabled:hover { color: inherit; border-color: rgba(255,255,255,.12); background: transparent; }

/* ── CARD PRODUIT BASE ── */
.c-prod { min-height: calc(100vh - 104px); display: flex; flex-direction: column; }
.p-top { padding: 44px 52px 32px; display: flex; align-items: stretch; justify-content: space-between; gap: 48px; border-bottom: none; }
.p-top-left { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.p-top-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex-shrink: 0; width: 220px; }
.p-num { font-family: var(--y-font-mono); font-size: 10px; color: var(--y-text-faint); letter-spacing: .14em; margin-bottom: 16px; }
.p-title { font-family: var(--y-font-display); font-size: clamp(52px, 5.8vw, 84px); font-weight: 800; line-height: .88; letter-spacing: -.03em; color: var(--y-text); margin-bottom: 18px; }
.p-desc { font-size: 15px; font-weight: 300; color: var(--y-text-soft); line-height: 1.8; max-width: 480px; }
.p-desc em { font-style: normal; color: rgba(240,236,230,.68); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags-end { justify-content: flex-end; }
.tag { font-size: 10px; font-family: var(--y-font-mono); letter-spacing: .07em; padding: 4px 10px; border-radius: var(--y-radius-pill); border: 1px solid var(--y-border-strong); color: var(--y-text-muted); display: inline-flex; align-items: center; gap: 5px; }
.tag .icon-svg { font-size: 14px; }
.acts { display: flex; gap: 8px; }
/* ── CARD 1 — DEVNOTE ── */
#s1 { overflow: hidden; pointer-events: auto; }
#c1 {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,.08);
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    #0a0a0a;
  background-size: 60px 60px, 60px 60px, auto;
  box-shadow: 0 28px 90px rgba(0,0,0,.46), 0 0 0 1px rgba(255,255,255,.02) inset;
}
#c1 .c-prod, #c2 .c-prod { min-height: auto; }
#c1 .c-prod {
  position: relative;
  overflow: hidden;
  min-height: min(626px, calc(100vh - 104px));
  padding: 54px 12px 12px;
}
#c1 .p-top, #c2 .p-top { padding-bottom: 36px; }
#c1 .p-top {
  position: relative;
  z-index: 4;
  padding-top: 66px;
  padding-bottom: 18px;
}
#c1 .p-title { margin-bottom: 6px; }
#c1 .devnote-title {
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: -.04em;
  text-shadow: none;
}
#c1 .tags { max-width: 240px; justify-content: flex-end; }
#c1 .tag {
  font-size: 9px;
  padding: 4px 8px;
  border-color: rgba(48,54,61,.9);
  background: rgba(255,255,255,.035);
  color: rgba(201,209,217,.68);
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
}
#c1 .tag .icon-svg { color: rgba(139,148,158,.86); }
#c1 .p-desc {
  max-width: 520px;
  color: rgba(201,209,217,.70);
}
#c1 .p-desc em { color: rgba(201,209,217,.88); }
#c1 .acts .pill {
  color: rgba(88,166,255,.82);
  border-color: rgba(48,54,61,.95);
  background: #111111;
}
#c1 .acts .pill.f {
  border-color: rgba(88,166,255,.22);
  background: #111111;
}
#c1 .acts .pill:hover { color: #f0f6ff; border-color: rgba(88,166,255,.36); background: #1a1a1a; }
#c1::before,
#c1::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
#c1::before {
  display: none;
}
#c1::after {
  left: 0;
  right: 0;
  top: 46px;
  height: 1px;
  background: rgba(255,255,255,.065);
  opacity: 1;
}
.dn-capsule-head {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #111111;
  color: rgba(139,148,158,.78);
  font-family: var(--y-font-mono);
  font-size: 10px;
}
.dn-window-dots,
.dn-window-title,
.dn-window-spacer {
  display: flex;
  align-items: center;
}
.dn-window-dots {
  gap: 8px;
}
.dn-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(139,148,158,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.dn-window-dots span:nth-child(1) { background: rgba(248,81,73,.72); }
.dn-window-dots span:nth-child(2) { background: rgba(210,153,34,.70); }
.dn-window-dots span:nth-child(3) { background: rgba(63,185,80,.68); }
.dn-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 24px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(201,209,217,.68);
  letter-spacing: .04em;
  font-size: 10px;
}
.dn-window-spacer {
  width: 54px;
}

.dn-glow {
  display: none;
}

.dn-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 238px) minmax(0, 1fr);
  gap: 12px;
  min-height: 560px;
  isolation: isolate;
  --dn-app-bg: #181818;
  --dn-app-panel: #181818;
  --dn-app-surface: #1f1f1f;
  --dn-app-border: #303030;
  --dn-app-border-soft: rgba(255,255,255,.08);
  --dn-app-text: #c9d1d9;
  --dn-app-muted: #8b949e;
  --dn-app-faint: #6e7681;
  --dn-app-accent: #58a6ff;
  --dn-app-warning: #d29922;
  --dn-app-danger: #f85149;
}
.dn-workspace::before {
  display: none;
}
.dn-workspace::after {
  display: none;
}
.dn-mini-sidebar,
.dn-mini-main {
  border: 1px solid rgba(255,255,255,.10);
  background: var(--dn-app-panel);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  backdrop-filter: none;
}
.dn-mini-sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dn-app-bg);
  box-shadow: none;
}
.dn-mini-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: 'Inter', -apple-system, sans-serif;
  color: #fff;
}
.dn-mini-sidebar-head strong {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dn-mini-icon,
.dn-mini-actions .icon-svg {
  color: var(--dn-app-muted);
  font-size: 16px;
  line-height: 1;
}
.dn-mini-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dn-project-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.dn-project-row {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--dn-app-muted);
  font-size: 11px;
  background: rgba(255,255,255,.025);
}
.dn-project-row.is-active {
  color: var(--dn-app-text);
  border-color: rgba(88,166,255,.10);
  background: rgba(255,255,255,.06);
}
.dn-project-row .icon-svg {
  color: rgba(255,255,255,.58);
  font-size: 15px;
}
.dn-project-row.is-active .icon-svg {
  color: rgba(255,255,255,.72);
}
.dn-project-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dn-mini-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--dn-app-panel);
  box-shadow: none;
}
.dn-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 32px 16px;
}
.dn-mini-header strong {
  display: block;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.03em;
  color: var(--dn-app-text);
}
.dn-mini-brand {
  display: inline-flex !important;
  align-items: baseline;
  gap: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-weight: 800 !important;
  color: var(--dn-app-text);
}
.dn-mini-brand span {
  display: inline !important;
  margin: 0 !important;
  color: var(--dn-app-accent);
  font: inherit;
  letter-spacing: inherit;
}
#dn-tagline {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(139,148,158,.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dn-mini-header button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #111111;
  color: var(--dn-app-muted);
}
.dn-mini-tabs {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 36px);
  margin: 0 auto 18px;
  padding: 4px;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: #111111;
  overflow: hidden;
}
.dn-mini-tabs span {
  padding: 7px 12px;
  border-radius: 7px;
  color: #747e89;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.dn-mini-tabs span.is-active {
  color: var(--dn-app-text);
  background: rgba(255,255,255,.08);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.dn-note-stage {
  flex: 1;
  min-height: 0;
  display: block;
  padding: 0 32px 28px;
  overflow: hidden;
}
.dn-notes-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dn-note-block-mini,
.dn-note-block-feature {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--dn-app-text);
}
.dn-note-block-mini {
  overflow: hidden;
  padding: 16px 0 16px 14px;
  border-width: 1px 0;
  border-left: 0;
  background: transparent;
}
.dn-note-block-feature {
  min-height: 330px;
  padding: 28px 0 30px;
  border-width: 1px 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.dn-note-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px 9px;
}
.dn-note-title .icon-svg {
  color: var(--dn-app-faint);
  font-size: 13px;
}
.dn-note-title strong {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dn-note-title small {
  font-family: var(--y-font-mono);
  font-size: 9px;
  color: var(--dn-app-faint);
}
.dn-note-block-mini p {
  margin: 0;
  padding: 0 2px;
  font-family: var(--y-font-mono);
  font-size: 10px;
  line-height: 1.75;
  color: var(--dn-app-muted);
}
.dn-note-block-mini p:first-of-type {
  color: var(--dn-app-muted);
}
.dn-note-portfolio .p-desc:first-of-type {
  color: rgba(201,209,217,.78);
}
.dn-note-portfolio {
  padding: 18px 4px 0;
}
.dn-note-portfolio .p-desc {
  max-width: 620px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', var(--y-font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(201,209,217,.76);
}
.dn-note-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 34px;
}
#c1 .dn-note-footer .tags {
  max-width: 100%;
  width: max-content;
  flex-wrap: nowrap;
  gap: 5px;
  justify-content: flex-start;
}
#c1 .dn-note-footer .tag {
  flex: 0 0 auto;
  padding: 4px 8px;
}
.dn-external-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}

/* ── CARD 2 — CORTEX ── */
#c2 {
  border-color: rgba(255,255,255,.11);
  background: rgba(42,42,46,.78);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
  backdrop-filter: blur(24px) saturate(115%);
  box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 1px 0 rgba(255,255,255,.055) inset;
}
#c2 .c-prod {
  min-height: min(626px, calc(100vh - 104px));
  padding: 0;
}
.cx-window {
  position: relative;
  min-height: min(626px, calc(100vh - 104px));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(36,36,40,.56);
  box-shadow: none;
}
.cx-window,
.cx-window * {
  font-family: var(--y-font-mono);
}
.cx-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  border-bottom: .5px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}
.cx-window-dots {
  display: inline-flex;
  gap: 7px;
  width: 72px;
}
.cx-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.cx-window-dots span:nth-child(1) { background: #ff5f57; }
.cx-window-dots span:nth-child(2) { background: #febc2e; }
.cx-window-dots span:nth-child(3) { background: #28c840; }
.cx-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(min(626px, calc(100vh - 104px)) - 42px);
}
.cx-file-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: .5px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
}
.cx-filter {
  padding: 14px 14px 10px;
  border-bottom: .5px solid rgba(255,255,255,.07);
}
.cx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border: .5px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.52);
  font-size: 11px;
}
.cx-search .icon-svg {
  font-size: 14px;
  color: rgba(255,255,255,.36);
}
.cx-file-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 10px 0;
}
.cx-file-row {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-height: 0;
  padding: 0 14px;
  border-bottom: .5px solid rgba(255,255,255,.045);
  font-size: 11px;
  color: rgba(255,255,255,.6);
}
.cx-file-row::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.cx-file-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cx-file-row em {
  font-style: normal;
  text-align: right;
}
.cx-file-row.stressed em { color: #ff9f0a; }
.cx-file-row.critical::before { background: #ff453a; }
.cx-file-row.stressed::before { background: #ff9f0a; }
.cx-file-row.healthy::before { background: #34c759; }
.cx-file-row.critical em { color: #ff625a; }
.cx-file-row.healthy em { color: #34c759; }
.cx-main-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255,255,255,.012);
}
.cx-view-stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.cx-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px 16px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  will-change: opacity, transform;
}
.cx-view.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.cx-overview {
  flex: 1;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cx-intro { max-width: 640px; }
.cx-title { margin-bottom: 6px; }
.cx-subtitle {
  font-size: 12px;
  color: rgba(10,132,255,.86);
  margin-bottom: 12px;
  letter-spacing: .01em;
}
#c2 .cx-desc {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: 13px;
  line-height: 1.75;
}
.cx-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cx-section-label em {
  color: rgba(255,255,255,.24);
  font-style: normal;
}
.cx-focus {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 18px 22px;
  border: .5px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.028);
}
.cx-focus-score {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 22px;
  border-right: .5px solid rgba(255,255,255,.08);
}
.cx-focus-score strong {
  font-family: 'Geist', var(--y-font-sans);
  font-size: 52px;
  font-weight: 200;
  letter-spacing: -3px;
  line-height: .9;
  color: #ff9f0a;
}
.cx-focus-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.cx-focus-label {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cx-focus-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.cx-focus-tag.warning { color: #ff9f0a; background: rgba(255,159,10,.12); border: .5px solid rgba(255,159,10,.3); }
.cx-focus-tag.critical { color: #ff453a; background: rgba(255,69,58,.12); border: .5px solid rgba(255,69,58,.3); }
.cx-focus-tag.healthy { color: #34c759; background: rgba(52,199,89,.1); border: .5px solid rgba(52,199,89,.26); }
.cx-focus-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cx-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: 10px;
  border: .5px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.cx-mini-card strong { font-size: 26px; font-weight: 650; letter-spacing: -.02em; line-height: 1; }
.cx-mini-card span { font-size: 10px; color: rgba(255,255,255,.42); letter-spacing: .02em; }
.cx-mini-card.critical strong { color: #ff453a; }
.cx-mini-card.warning strong { color: #ff9f0a; }
.cx-mini-card.healthy strong { color: #34c759; }
.cx-overview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.cx-overview-copy { flex: 1; min-width: 0; max-width: 560px; }
.cx-repo-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 25px;
  color: rgba(255,255,255,.78);
}
.cx-repo-heading strong { font-size: 13px; font-weight: 650; }
.cx-repo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff9f0a;
  box-shadow: 0 0 10px rgba(255,159,10,.38);
}
.cx-repo-heading .cx-focus-tag { margin-left: 3px; }
[data-cx-view="0"] { gap: 20px; }
#c2 [data-cx-view="0"] .cx-desc {
  max-width: 520px;
  margin-top: 13px !important;
  padding-left: 0;
  color: rgba(255,255,255,.76) !important;
  font-family: var(--y-font-ui) !important;
  font-size: 13.5px !important;
  line-height: 1.58 !important;
}
[data-cx-view="0"] .cx-desc p { margin: 0; font-family: inherit; }
[data-cx-view="0"] .cx-desc p + p { margin-top: 11px; }
[data-cx-view="0"] .cx-overview-score { margin-top: 26px; }
[data-cx-view="0"] .cx-pressure-bar { margin-top: 18px; }
[data-cx-view="0"] .cx-stat-card {
  min-height: 62px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.cx-pressure-bar {
  display: flex;
  width: min(100%, 420px);
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.cx-pressure-bar span { display: block; }
.cx-pressure-bar .low { flex: 36; background: #34c759; }
.cx-pressure-bar .moderate { flex: 21; background: #ff9f0a; }
.cx-pressure-bar .high { flex: 7; background: #ff453a; }
.cx-overview-score {
  flex: 0 0 auto;
  min-width: 126px;
  padding-top: 8px;
  text-align: right;
}
.cx-overview-score > div { display: flex; align-items: baseline; justify-content: flex-end; }
.cx-overview-score strong {
  color: #ff9f0a;
  font-family: 'Geist', var(--y-font-sans);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2.5px;
}
.cx-overview-score span { margin-left: 3px; color: rgba(255,255,255,.26); font-size: 10px; }
.cx-overview-score small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.34);
  font-size: 9px;
  text-transform: lowercase;
}
.cx-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.cx-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 68px;
  padding: 11px 12px;
  border: .5px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}
.cx-stat-card span { color: rgba(255,255,255,.47); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.cx-stat-card strong { font-family: 'Geist',var(--y-font-sans); font-size: 24px; font-weight: 350; line-height: 1; }
.cx-stat-card.critical { border-color: rgba(255,69,58,.2); }
.cx-stat-card.warning { border-color: rgba(255,159,10,.2); }
.cx-stat-card.healthy { border-color: rgba(52,199,89,.18); }
.cx-stat-card.critical strong { color: #ff453a; }
.cx-stat-card.warning strong { color: #ff9f0a; }
.cx-stat-card.healthy strong { color: #34c759; }
.cx-stat-card.neutral strong { color: rgba(255,255,255,.66); }
.cx-stack-section { display: flex; flex-direction: column; gap: 6px; }
.cx-stack-list { display: flex; flex-direction: column; gap: 6px; }
.cx-stack-row {
  display: grid;
  grid-template-columns: 142px minmax(0,1fr);
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 7px 11px;
  border: .5px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: rgba(255,255,255,.038);
  color: rgba(255,255,255,.62);
}
.cx-stack-row:hover {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.052);
}
.cx-stack-tech { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cx-stack-tech .icon-svg { flex: 0 0 auto; color: rgba(240,236,230,.48); font-size: 16px; }
.cx-stack-tech strong { color: rgba(240,236,230,.92); font-size: 10px; font-weight: 650; }
.cx-stack-row > span { color: rgba(240,236,230,.52); font-size: 9px; line-height: 1.35; }
.cx-trend {
  padding: 14px 18px 8px;
  border: .5px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.cx-trend-graph { width: 100%; height: 56px; display: block; }
.cx-priority {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cx-priority-list { display: flex; flex-direction: column; gap: 8px; }
.cx-priority-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: .5px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.022);
}
.cx-priority-file {
  flex: 0 0 auto;
  min-width: 130px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 600;
}
.cx-priority-reason {
  flex: 1;
  min-width: 0;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cx-priority-row em {
  flex: 0 0 auto;
  font-style: normal;
  color: #ff9f0a;
  font-size: 13px;
  font-weight: 600;
}
[data-cx-view="0"] .cx-priority { gap: 5px; }
[data-cx-view="0"] .cx-priority-list { gap: 6px; }
[data-cx-view="0"] .cx-priority-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  gap: 3px 14px;
  padding: 7px 12px;
  border-left: 2px solid #ff453a;
}
[data-cx-view="0"] .cx-priority-file {
  grid-column: 1; grid-row: 1;
  min-width: 0;
  color: rgba(255,255,255,.9);
  font-size: 12px;
}
[data-cx-view="0"] .cx-priority-reason {
  grid-column: 1; grid-row: 2;
  color: rgba(255,255,255,.38);
  font-size: 9px;
}
[data-cx-view="0"] .cx-priority-row em {
  grid-column: 2; grid-row: 1 / 3;
  align-self: center;
  color: #ff453a;
  font-size: 15px;
}
.cx-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
  margin: 0 28px;
  padding: 14px 0 20px;
  border-top: .5px solid rgba(255,255,255,.07);
}
#c2 .tags {
  justify-content: flex-start;
  max-width: 390px;
}
#c2 .tag {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.48);
  font-size: 9px;
}
#c2 .tag .icon-svg { color: rgba(255,255,255,.46); }
#c2 .acts .pill {
  color: rgba(255,255,255,.54);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.025);
  font-size: 11px;
}
#c2 .acts .pill:hover { color: #f0f6ff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
#c2 .acts .pill.f { border-color: rgba(10,132,255,.26); color: rgba(88,166,255,.82); }

/* Cortex views */
[data-cx-view="1"] {
  gap: 8px;
  padding: 18px 20px 12px;
}
[data-cx-view="1"] .cx-intro {
  flex: 0 0 auto;
  max-width: 620px;
}
.cx-view-title {
  font-family: var(--y-font-mono);
  font-size: 13px;
  font-weight: 650;
  line-height: normal;
  letter-spacing: 0;
  color: rgba(255,255,255,.78);
}
#c2 .cx-view-description {
  max-width: 520px;
  margin: 0;
  font-family: var(--y-font-ui) !important;
  font-size: 13.5px !important;
  font-weight: 300;
  line-height: 1.58 !important;
  letter-spacing: 0;
  color: rgba(255,255,255,.76) !important;
}
.cx-view-description p { margin: 0; font-family: inherit; }
.cx-view-description p + p { margin-top: 11px; }
.cx-view-label {
  font-family: var(--y-font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
#c2 .cx-stack-section .cx-section-label { color: rgba(255,255,255,.52); }
.cx-graph-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 -20px -12px;
  overflow: hidden;
  background: transparent;
}
.cx-graph-copy {
  max-width: 520px;
}
.cx-codebase-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cx-graph-zones ellipse {
  fill: rgba(53,105,170,.09);
  stroke: rgba(61,139,233,.28);
  stroke-width: .8;
  stroke-dasharray: 3 4;
}
.cx-graph-zones .core { fill: rgba(255,255,255,.032); stroke: rgba(255,255,255,.16); }
.cx-graph-zones .config { fill: rgba(137,99,255,.09); stroke: rgba(137,99,255,.3); }
.cx-graph-zones .database { fill: rgba(52,199,89,.065); stroke: rgba(52,199,89,.25); }
.cx-graph-links { fill: none; stroke: rgba(42,128,232,.22); stroke-width: .65; stroke-linecap: round; stroke-linejoin: round; }
.cx-graph-nodes circle { stroke: rgba(255,255,255,.18); stroke-width: .6; transition: opacity .18s ease; }
.cx-graph-nodes circle:hover { opacity: .72; }
.cx-graph-nodes .low { fill: #34c759; }
.cx-graph-nodes .moderate { fill: #ff9f0a; }
.cx-graph-nodes .high { fill: #ff453a; }
.cx-graph-labels text {
  fill: rgba(88,166,255,.42);
  font-family: var(--y-font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-anchor: middle;
}
.cx-graph-labels text:nth-child(2) { fill: rgba(255,255,255,.3); }
.cx-graph-labels text:nth-child(3) { fill: rgba(164,137,255,.38); }
.cx-graph-labels text:nth-child(4) { fill: rgba(52,199,89,.38); }
.cx-file-labels text {
  fill: rgba(235,241,248,.52);
  font: 500 8px var(--y-font-mono);
  paint-order: stroke;
  stroke: rgba(13,16,20,.9);
  stroke-width: 3px;
  stroke-linejoin: round;
}
[data-cx-view="2"] {
  gap: 6px;
  padding: 14px 20px 10px;
}
[data-cx-view="2"] .cx-intro { max-width: 620px; margin-bottom: 10px; }
.cx-activity-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; margin-bottom: 6px; }
.cx-activity-summary > div {
  min-height: 48px;
  padding: 8px 10px;
  border: .5px solid rgba(255,255,255,.075);
  border-radius: 8px;
  background: rgba(255,255,255,.026);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cx-activity-summary span { color: rgba(255,255,255,.4); font: 600 8px/1 var(--y-font-mono); letter-spacing: .07em; text-transform: uppercase; }
.cx-activity-summary strong {
  font-family: 'Geist', var(--y-font-sans);
  font-size: 18px;
  font-weight: 400;
  font-stretch: normal;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transform: none;
}
.cx-activity-summary strong small { color: rgba(255,255,255,.28); font-size: 8px; font-weight: 400; }
.cx-activity-summary .current strong,
.cx-activity-summary .average strong { color: #ff9f0a; }
.cx-activity-summary .lowest strong { color: #34c759; }
.cx-activity-summary .highest strong { color: #ff453a; }
.cx-activity-chart {
  position: relative;
  flex: 1;
  min-height: 205px;
  overflow: hidden;
  border: .5px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.014);
}
.cx-activity-chart svg { position: absolute; inset: 10px 12px 4px; width: calc(100% - 24px); height: calc(100% - 14px); }
.cx-activity-grid line { stroke: rgba(255,255,255,.04); stroke-width: .6; vector-effect: non-scaling-stroke; }
.cx-activity-area { fill: rgba(255,159,10,.052); }
.cx-activity-pressure-line { fill: none; stroke: #ff9f0a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cx-selected-scan-line { stroke: rgba(255,159,10,.45); stroke-width: .8; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cx-selected-scan-point { fill: #ff9f0a; stroke: rgba(255,255,255,.72); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.cx-activity-axis text { fill: rgba(255,255,255,.26); font: 7px var(--y-font-mono); }
.cx-scan-indicator { position: absolute; z-index: 2; top: 7px; right: 24px; padding: 3px 6px; border: .5px solid rgba(255,159,10,.22); border-radius: 5px; background: rgba(10,11,13,.72); color: rgba(255,177,64,.8); font: 500 8px/1 var(--y-font-mono); }
.cx-activity-changes-wrap { display: flex; flex-direction: column; gap: 5px; }
.cx-activity-scan-date { color: rgba(255,255,255,.32); font: 500 8px/1 var(--y-font-mono); }
.cx-activity-changes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-change-column { min-width: 0; }
.cx-change-column h4 {
  margin: 0 0 5px;
  font: 600 8px/1 var(--y-font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cx-change-column.increase h4 { color: rgba(255,91,82,.86); }
.cx-change-column.decrease h4 { color: rgba(65,205,104,.82); }
.cx-change-list { display: flex; flex-direction: column; gap: 4px; }
.cx-change-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 6px;
}
.cx-change-column.increase .cx-change-row { border: .5px solid rgba(255,69,58,.14); border-left: 2px solid rgba(255,69,58,.72); background: rgba(255,69,58,.04); }
.cx-change-column.decrease .cx-change-row { border: .5px solid rgba(52,199,89,.14); border-left: 2px solid rgba(52,199,89,.68); background: rgba(52,199,89,.04); }
.cx-change-row strong { overflow: hidden; color: rgba(255,255,255,.88); font: 600 9.5px/1 var(--y-font-mono); text-overflow: ellipsis; white-space: nowrap; }
.cx-change-row small { color: rgba(255,255,255,.31); font-size: 7.5px; white-space: nowrap; }
.cx-change-row em { min-width: 32px; font-size: 9.5px; font-style: normal; font-weight: 600; text-align: right; }
.cx-change-column.increase .cx-change-row em { color: #ff453a; }
.cx-change-column.decrease .cx-change-row em { color: #34c759; }
@media (max-width: 720px) {
  [data-cx-view="2"] {
    gap: 5px;
    padding: 14px 18px 8px;
  }
  [data-cx-view="2"] .cx-intro {
    margin-bottom: 4px;
  }
  [data-cx-view="2"] .cx-activity-chart {
    flex: 0 0 165px;
    min-height: 165px;
  }
  .cx-activity-changes {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

[data-cx-view="3"] { gap: 10px; padding: 18px 24px 14px; }
[data-cx-view="3"] .cx-intro { max-width: 620px; margin-bottom: 2px; }
.cx-security-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 6px;
}
.cx-security-status span {
  padding: 5px 9px;
  border: .5px solid rgba(255,255,255,.07);
  border-radius: 6px;
  background: rgba(255,255,255,.018);
  font: 500 8.5px/1 var(--y-font-mono);
  white-space: nowrap;
}
.cx-security-status .patterns { color: rgba(92,166,255,.76); border-color: rgba(10,132,255,.16); background: rgba(10,132,255,.03); }
.cx-security-status .alert { color: rgba(255,166,42,.78); border-color: rgba(255,159,10,.16); background: rgba(255,159,10,.028); }
.cx-security-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  flex: 1;
  min-height: 0;
  margin-top: 0;
}
.cx-security-column { display: flex; min-width: 0; flex-direction: column; }
.cx-security-column > header { min-height: 38px; padding: 0 2px 7px; border-bottom: .5px solid rgba(255,255,255,.07); }
.cx-security-column h4 { margin: 0 0 4px; color: rgba(225,237,252,.78); font: 600 9px/1 var(--y-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.cx-security-column header p { margin: 0; overflow: hidden; color: rgba(255,255,255,.32); font: 500 7.5px/1.2 var(--y-font-mono); text-overflow: ellipsis; white-space: nowrap; }
.cx-security-mobile-label { display: none; }
.cx-pattern-list,
.cx-dependency-list { display: flex; flex: 1; min-height: 0; flex-direction: column; }
.cx-pattern-row {
  display: grid;
  grid-template-columns: 15px minmax(0,1fr) auto;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-height: 52px;
  padding: 4px 7px;
  border-bottom: .5px solid rgba(255,255,255,.06);
  border-left: 2px solid transparent;
  background: rgba(255,255,255,.01);
}
.cx-pattern-row:first-child { border-radius: 7px 7px 0 0; }
.cx-pattern-row:last-child { border-bottom-color: transparent; border-radius: 0 0 7px 7px; }
.cx-pattern-row.critical { border-left-color: rgba(255,69,58,.72); }
.cx-pattern-row.high { border-left-color: rgba(255,82,73,.68); }
.cx-pattern-row.moderate { border-left-color: rgba(255,159,10,.68); }
.cx-pattern-row.low { border-left-color: rgba(139,155,173,.58); }
.cx-pattern-mark { font: 700 8px/1 var(--y-font-mono); text-align: center; }
.cx-pattern-row.critical .cx-pattern-mark { color: #ff453a; }
.cx-pattern-row.high .cx-pattern-mark { color: #ff625a; }
.cx-pattern-row.moderate .cx-pattern-mark { color: #ff9f0a; }
.cx-pattern-row.low .cx-pattern-mark { color: #8b9bad; }
.cx-pattern-row > div { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.cx-pattern-row > div strong,
.cx-pattern-row > div span,
.cx-pattern-row > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-pattern-row > div strong { color: rgba(255,255,255,.92); font: 650 9.5px/1.2 var(--y-font-ui); }
.cx-pattern-row > div span { color: rgba(240,236,230,.54); font: 400 8.5px/1.25 var(--y-font-ui); }
.cx-pattern-row > div small { color: rgba(240,236,230,.42); font: 500 8px/1.2 var(--y-font-mono); }
.cx-dependency-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto 8px;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-height: 52px;
  padding: 4px 7px;
  border-bottom: .5px solid rgba(255,255,255,.065);
  border-left: 2px solid transparent;
  background: rgba(255,255,255,.012);
}
.cx-dependency-row:first-child { border-radius: 7px 7px 0 0; }
.cx-dependency-row:last-child { border-bottom-color: transparent; border-radius: 0 0 7px 7px; }
.cx-dependency-row.high { border-left-color: rgba(255,69,58,.68); }
.cx-dependency-row.moderate { border-left-color: rgba(255,159,10,.68); }
.cx-dependency-row.low { border-left-color: rgba(139,155,173,.58); }
.cx-dependency-row > strong { overflow: hidden; color: rgba(255,255,255,.92); font: 650 11px/1.15 var(--y-font-mono); text-overflow: ellipsis; white-space: nowrap; }
.cx-dependency-row > i { color: rgba(255,255,255,.25); font-size: 13px; font-style: normal; text-align: right; }
.cx-severity-badge,
.cx-fix-badge { justify-self: start; padding: 2px 5px; border-radius: 999px; font: 600 6.5px/1 var(--y-font-mono); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.cx-pattern-row.critical .cx-severity-badge { color: #ff625a; background: rgba(255,69,58,.1); border: .5px solid rgba(255,69,58,.2); }
.cx-pattern-row.high .cx-severity-badge { color: #ff746c; background: rgba(255,82,73,.09); border: .5px solid rgba(255,82,73,.18); }
.cx-pattern-row.moderate .cx-severity-badge { color: #ffad33; background: rgba(255,159,10,.1); border: .5px solid rgba(255,159,10,.2); }
.cx-pattern-row.low .cx-severity-badge { color: #9aabba; background: rgba(139,155,173,.1); border: .5px solid rgba(139,155,173,.18); }
.cx-dependency-row.high .cx-severity-badge { color: #ff625a; background: rgba(255,69,58,.1); border: .5px solid rgba(255,69,58,.2); }
.cx-dependency-row.moderate .cx-severity-badge { color: #ffad33; background: rgba(255,159,10,.1); border: .5px solid rgba(255,159,10,.2); }
.cx-dependency-row.low .cx-severity-badge { color: #9aabba; background: rgba(139,155,173,.1); border: .5px solid rgba(139,155,173,.18); }
.cx-fix-badge { color: rgba(71,211,109,.62); background: rgba(52,199,89,.045); border: .5px solid rgba(52,199,89,.12); }
@media (max-width: 720px) {
  [data-cx-view="3"] {
    gap: 7px;
    padding: 14px 18px 8px;
  }
  [data-cx-view="3"] .cx-intro {
    margin-bottom: 0;
  }
  .cx-security-status { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cx-security-status span { white-space: normal; }
  .cx-security-split {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .cx-security-column > header {
    min-height: 32px;
    padding-bottom: 5px;
  }
  .cx-security-column > header > h4 > span:not(.cx-security-mobile-label),
  .cx-security-column > header > p > span:not(.cx-security-mobile-label) {
    display: none;
  }
  .cx-security-column .cx-security-mobile-label {
    display: inline;
  }
  .cx-pattern-row,
  .cx-dependency-row {
    flex: 0 0 38px;
    min-height: 38px;
  }
  .cx-pattern-row > div span,
  .cx-pattern-row > div small {
    display: none;
  }
  .cx-pattern-row:nth-child(n+3),
  .cx-dependency-row:nth-child(n+4) {
    display: none;
  }
  .cx-pattern-row:nth-child(2),
  .cx-dependency-row:nth-child(3) {
    border-bottom-color: transparent;
    border-radius: 0 0 7px 7px;
  }
  .cx-dependency-row {
    grid-template-columns: minmax(0,1fr) auto auto 8px;
    gap: 6px;
  }
}
.cortex-dwell { height: 500vh; }

/* Cortex morph — encoche */
.cortex-notch {
  background: #050505 !important;
  backdrop-filter: none !important;
  border: none !important; border-top: none !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: isolate;
  z-index: 520 !important;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: none !important;
}
.cortex-notch::before { content: none; }
.cortex-notch::after {
  content: '';
  position: absolute;
  left: -24px; right: -24px; top: -2px; height: 14px;
  border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
  background: #050505;
  pointer-events: none; z-index: 2;
}
.cortex-notch .c-prod {
  opacity: 0; transform: scale(.96);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

/* ── CARD 3 — PULSE ── */
#c3 .c-prod { min-height: 100%; display: flex; flex-direction: column; padding: 0; }
#c3 .p-top {
  width: 100%; flex: 1; margin: 0; padding: 34px 52px 34px;
  border-bottom: none; border-radius: 0; background: transparent; border: none; box-shadow: none;
}
#c3 .p-top-left,
#c3 .p-top-right,
#c3 .p-desc,
#c3 .tag,
#c3 .pill,
#c3 .p-num {
  font-family: var(--y-font-ui);
}
#c3 .p-num { color: rgba(255,255,255,0.5); letter-spacing: .1em; font-size: 10px; }
#c3 .p-title { color: #ff453a; text-shadow: 0 0 22px rgba(255,69,58,0.12); }
#c3 .p-desc { max-width: 560px; color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.72; font-weight: 400; letter-spacing: -.012em; }
#c3 .p-desc em { color: rgba(255,255,255,0.98); }
#c3 .tag { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.74); font-size: 11px; letter-spacing: .04em; }
#c3 .pill { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.72); font-size: 12px; letter-spacing: .02em; }
#c3 .p-top-right { justify-content: flex-end; width: 100%; align-items: center; }
#c3 .acts { width: 100%; justify-content: center; }
#c3 .acts .pill { color: rgba(255,69,58,0.95); border-color: rgba(255,69,58,.45); background: transparent; }
#c3 .acts .pill-disabled { opacity: .92; }
#c3 .acts .pill:hover { color: #fff1f0; border-color: rgba(255,69,58,.8); background: rgba(255,69,58,.12); }

/* ── PULSE OS CONTENT ── */
#c3 .c-prod { min-height: 100%; }
.pulse-os {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 32px 22px;
}
.pulse-os-head {
  display: grid;
  grid-template-columns: minmax(300px, 32%) minmax(0, 68%);
  align-items: stretch;
  gap: 0;
  flex: 0 0 128px;
  min-height: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pulse-os-brand { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-right: 30px; }
.pulse-os-brand .p-num { margin: 0 0 10px; }
.pulse-os-logo {
  width: max-content;
  font-family: var(--y-font-display);
  font-size: clamp(54px, 5.5vw, 76px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.075em;
  color: #ff453a;
  text-shadow: 0 0 28px rgba(255,69,58,.14);
}
.pulse-os-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.pulse-os-vision {
  font-family: var(--y-font-display);
  font-weight: 700;
  font-size: clamp(27px, 2.25vw, 31px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--y-text);
  margin: 0 0 12px;
  white-space: nowrap;
}
.pulse-os-lede {
  margin: 0;
  max-width: none;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255,255,255,.68);
}
.pulse-os-lede .is-core { color: var(--project-accent); font-weight: 500; }
.pulse-os-lede .is-lab  { color: var(--project-lab); font-weight: 500; }
.pulse-lede-line { display: block; white-space: nowrap; }

.pulse-os-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: stretch;
}

.pulse-zone-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.pulse-zone-label {
  font-family: var(--y-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.58);
}
.pulse-dot {
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex: 0 0 8px;
  box-sizing: border-box;
}
.pulse-dot-fill { background: var(--project-accent); box-shadow: 0 0 8px rgba(255,69,58,.5); }

/* CORE PANEL */
.pulse-core {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,69,58,.48);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,69,58,.035), rgba(255,255,255,.018) 44%, rgba(0,0,0,.08));
  position: relative;
  z-index: 1;
}
.pulse-core .pulse-zone-label { color: rgba(255,69,58,.95); }
.pulse-core-sub { margin: 0 0 12px 17px; font-size: 12.5px; color: rgba(255,255,255,.52); }
.pulse-core-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 0;
  flex: 1;
  min-height: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(0,0,0,.15);
}
.pulse-mini-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--y-font-mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  color: rgba(255,255,255,.44);
  text-transform: uppercase;
}
.pulse-core-session { display: flex; flex-direction: column; padding-right: 16px; }
.pulse-core-activity { display: flex; flex-direction: column; min-width: 0; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.08); }
.pulse-core-field { display: flex; flex-direction: column; gap: 2px; margin-bottom: 9px; }
.pulse-core-field span { font-size: 12px; color: rgba(255,255,255,.4); }
.pulse-core-field strong { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92); }
.pulse-core-field:nth-child(3) strong,
.pulse-core-field:nth-child(4) strong { color: var(--project-accent); }

.pulse-activity-panel { display: none; }
.pulse-activity-panel.is-active { display: block; }
.pulse-activity-list, .pulse-timeline-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pulse-activity-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.72); }
.pulse-activity-list time { flex: 0 0 auto; width: 34px; font-family: var(--y-font-mono); font-size: 10px; color: rgba(255,255,255,.32); }
.pulse-activity-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.pulse-activity-dot.t { background: rgba(255,255,255,.45); }
.pulse-activity-dot.c { background: #58a6ff; }
.pulse-activity-dot.f { background: var(--project-lab); }
.pulse-activity-dot.b { background: #34c759; }
.pulse-activity-list strong { font-weight: 600; color: rgba(255,255,255,.86); }
.pulse-activity-list em { font-style: normal; color: rgba(255,255,255,.4); font-family: var(--y-font-mono); font-size: 10px; margin-left: 2px; }

.pulse-timeline-list li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 10px; font-size: 11px; }
.pulse-timeline-range { font-family: var(--y-font-mono); font-size: 9.5px; color: rgba(255,255,255,.4); }
.pulse-timeline-list strong { color: rgba(255,255,255,.86); font-weight: 600; }
.pulse-timeline-list em { font-style: normal; color: var(--project-accent); font-size: 10px; }

.pulse-summary-text { margin: 0 0 12px; font-size: 11.5px; line-height: 1.58; color: rgba(255,255,255,.68); max-width: 340px; }
.pulse-summary-stats { display: flex; gap: 18px; }
.pulse-summary-stats div { display: flex; flex-direction: column; gap: 2px; }
.pulse-summary-stats strong { font-size: 17px; font-weight: 600; color: var(--project-accent); }
.pulse-summary-stats span { font-size: 9px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.36); }

.pulse-core-foot { display: grid; grid-template-rows: auto auto; gap: 9px; margin-top: 10px; }
.pulse-core-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; margin: 0; padding: 3px; width: 100%; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.13); }
.pulse-tab { padding: 7px 6px; border: none; border-radius: 7px; background: none; color: rgba(255,255,255,.48); font-family: var(--y-font-ui); font-size: 11px; font-weight: 500; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.pulse-tab.is-active { color: rgba(255,255,255,.92); background: rgba(255,255,255,.08); }

.pulse-core-cta,
.pulse-lab-cta {
  position: relative;
  width: 100%;
  min-height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 600;
  border-radius: 10px !important;
}
.pulse-core-cta .icon-svg,
.pulse-lab-cta .icon-svg { width: 15px; height: 15px; }
.pulse-core-cta b,
.pulse-lab-cta b { position: absolute; right: 14px; font-weight: 400; }

/* LAB PANEL */
.pulse-lab { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 18px 0 0; position: relative; z-index: 1; }
.pulse-lab .pulse-zone-label { color: rgba(255,159,10,.92); }
.pulse-dot-lab { background: var(--project-lab); box-shadow: 0 0 8px rgba(255,159,10,.48); }
.pulse-lab-sub { margin: 0 0 12px 17px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.pulse-lab-constellation {
  flex: 1;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.pulse-lab-nucleus {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  z-index: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,246,220,.98) 0%, rgba(255,185,84,.88) 20%, rgba(255,159,10,.32) 48%, transparent 76%);
  filter: blur(.7px);
  box-shadow: 0 0 22px rgba(255,159,10,.48);
}
.pulse-lab-nucleus::before,
.pulse-lab-nucleus::after,
.pulse-lab-nucleus i {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseLabNucleusBreath 11s ease-in-out infinite;
}
.pulse-lab-nucleus::before {
  width: 220px;
  height: 174px;
  background: radial-gradient(ellipse, rgba(255,159,10,.2) 0%, rgba(255,159,10,.08) 38%, transparent 76%);
  filter: blur(30px);
}
.pulse-lab-nucleus::after {
  width: 116px;
  height: 94px;
  background: radial-gradient(ellipse, rgba(255,185,84,.3) 0%, rgba(255,159,10,.1) 48%, transparent 78%);
  filter: blur(16px);
  animation-delay: -2.7s;
}
.pulse-lab-nucleus i:first-child {
  width: 58px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(255,196,112,.38) 0%, rgba(255,159,10,.12) 52%, transparent 80%);
  filter: blur(9px);
  animation-delay: -5.4s;
}
.pulse-lab-nucleus i:last-child {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, rgba(255,226,174,.62) 0%, rgba(255,159,10,.18) 54%, transparent 80%);
  filter: blur(4px);
}
@keyframes pulseLabNucleusBreath {
  0%, 100% { opacity: .42; }
  50% { opacity: .72; }
}
.pulse-concept-group {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.pulse-concept {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  font-family: var(--y-font-ui);
  line-height: 1.1;
  cursor: default;
  pointer-events: auto;
  transition: color .35s ease, opacity .35s ease, text-shadow .35s ease;
}
.pulse-concept.is-primary {
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 600;
  color: rgba(255,176,54,.94);
  letter-spacing: -.02em;
  text-shadow: 0 0 16px rgba(255,159,10,.12);
}
.pulse-concept.is-secondary {
  font-family: var(--y-font-mono);
  font-size: clamp(11px, .82vw, 13px);
  font-weight: 500;
  color: rgba(255,255,255,.58);
  letter-spacing: .01em;
}
.pulse-satellites {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: max-content;
  max-width: 100%;
}
.pulse-satellites .is-secondary:nth-child(2n) { animation: pulseSatelliteBreath 12s ease-in-out infinite; }
.pulse-satellites .is-secondary:nth-child(3n) { animation: pulseSatelliteBreath 14s ease-in-out -4s infinite; }
@keyframes pulseSatelliteBreath {
  0%, 100% { opacity: .68; }
  50% { opacity: .88; }
}
.concept-semantic,
.concept-suggestions,
.concept-agent { color: rgba(255,190,96,.62) !important; }
.pulse-concept:hover {
  color: rgba(255,190,92,.98);
  opacity: 1;
  text-shadow: 0 0 18px rgba(255,159,10,.22);
}
.group-context { left: 2%; top: 16%; width: 40%; align-items: flex-end; text-align: right; }
.group-memory { right: 1%; top: 8%; width: 43%; align-items: flex-start; text-align: left; }
.group-interfaces { left: 4%; bottom: 8%; width: 44%; align-items: flex-end; text-align: right; }
.group-assistance { right: 2%; bottom: 14%; width: 42%; align-items: flex-start; text-align: left; }
.group-context .pulse-satellites,
.group-interfaces .pulse-satellites { align-items: flex-end; }
.group-memory .pulse-satellites,
.group-assistance .pulse-satellites { align-items: flex-start; }
.group-assistance .pulse-satellites { flex-direction: row; flex-wrap: wrap; gap: 5px 12px; max-width: 190px; }
.concept-semantic { opacity: .62; }
.concept-learning { opacity: .5; }
.concept-workflow { opacity: .48; }
.concept-understanding { opacity: .56; }
.concept-agent { opacity: .64; }
.concept-suggestions { opacity: .52; }
.concept-automation { opacity: .42; }
.concept-overlay { opacity: .48; }
.concept-presence { opacity: .46; }

.pulse-lab-cta { align-self: center; width: calc(100% - 40px); margin: 10px 20px 18px; color: rgba(255,159,10,.92) !important; border-color: rgba(255,159,10,.52) !important; background: rgba(255,159,10,.025) !important; }
.pulse-lab-cta:hover { color: #fff1d9 !important; border-color: rgba(255,159,10,.72) !important; background: rgba(255,159,10,.1) !important; }

@media (max-width: 900px) {
  .pulse-os { padding-inline: 22px; }
  .pulse-os-head { grid-template-columns: minmax(180px, 34%) minmax(0, 66%); }
  .pulse-os-brand { padding-right: 20px; }
  .pulse-os-intro { padding-left: 24px; }
  .pulse-os-logo { font-size: 52px; }
  .pulse-os-vision { font-size: 26px; white-space: normal; }
  .pulse-os-lede { font-size: 12px; }
  .pulse-lede-line { white-space: normal; }
  .pulse-os-body { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); }
  .pulse-core { padding: 14px; }
  .pulse-core-grid { padding: 11px; }
  .pulse-concept.is-primary { font-size: 15px; }
  .pulse-concept.is-secondary { font-size: 10.5px; }
}
@media (max-width: 680px) {
  .pulse-os { overflow: visible; padding: 16px 18px 20px; }
  .pulse-os-head { grid-template-columns: 1fr; flex-basis: auto; padding-bottom: 16px; }
  .pulse-os-brand { padding: 0 0 14px; }
  .pulse-os-logo { font-size: 50px; }
  .pulse-os-intro { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .pulse-os-vision { font-size: 24px; }
  .pulse-os-body { grid-template-columns: 1fr; gap: 10px; max-height: none; }
  .pulse-core, .pulse-lab { grid-column: 1; }
  .pulse-lab { grid-row: 2; padding-left: 0; }
  .pulse-core-grid { grid-template-columns: 1fr; gap: 12px; }
  .pulse-core-session { padding-right: 0; }
  .pulse-core-activity { padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .pulse-lab-constellation {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 132px 14px 12px;
  }
  .pulse-lab-nucleus { top: 64px; }
  .pulse-concept-group {
    position: relative;
    inset: auto;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .pulse-concept-group .pulse-satellites { align-items: flex-start; }
  .group-context { order: 1; }
  .group-memory { order: 2; }
  .group-interfaces { order: 3; }
  .group-assistance { order: 4; }
}

#c3 .pulse-card-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  font-family: var(--y-font-ui);
  position: relative;
}
#c3 .pulse-card-controls { display: inline-flex; align-items: center; gap: 8px; }
#c3 .pulse-card-dot { display: block; width: 10px; height: 10px; min-width: 10px; min-height: 10px; aspect-ratio: 1 / 1; flex: 0 0 10px; border-radius: 50%; box-sizing: border-box; box-shadow: inset 0 1px 0 rgba(255,255,255,0.32); }
#c3 .pulse-card-dot.r { background: #ff5f57; }
#c3 .pulse-card-dot.y { background: #febc2e; }
#c3 .pulse-card-dot.g { background: #28c840; }
#c3 .pulse-card-title { font-size: 12px; font-weight: 600; letter-spacing: -.01em; color: rgba(255,255,255,0.64); position: absolute; left: 50%; transform: translateX(-50%); }
#c3 .pulse-card-status { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.4); }

.pulse-screen {
  max-width: none !important;
  background: rgba(0,0,0,.22) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: none !important;
  overflow: hidden; isolation: isolate;
  border-radius: 24px 24px 18px 18px !important;
  clip-path: inset(0 round 24px 24px 18px 18px);
  z-index: 140;
}

/* ── MAC SHELL ── */
.mac-shell {
  position: fixed; inset: 0; z-index: 420;
  --notch-left: 50%; --notch-top: 0px;
  --notch-width: 208px; --notch-height: 44px;
  pointer-events: none; opacity: 0;
  transition: opacity .22s ease;
  will-change: opacity; isolation: isolate;
}
.mac-shell::before {
  content: '';
  position: absolute;
  left: var(--notch-left); top: var(--notch-top);
  width: var(--notch-width); height: var(--notch-height);
  transform: translateX(-50%);
  background: #050505; border-radius: 0 0 12px 12px;
  z-index: 5; pointer-events: none; box-shadow: none;
}
.mac-desktop {
  position: fixed; inset: 16px 12px 12px; z-index: 60;
  opacity: 0; pointer-events: none;
  border-radius: 14px 14px 0 0; overflow: hidden;
  isolation: isolate; background: transparent;
  transition: opacity .22s ease;
}
.mac-ui {
  position: fixed; inset: 16px 12px 12px; z-index: 430;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.mac-desktop::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(0,0,0,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.024) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0; pointer-events: none;
}
.mac-desktop::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 120% 88% at 50% 50%, transparent 52%, rgba(0,0,0,0.04) 80%, rgba(0,0,0,0.078) 100%),
    radial-gradient(ellipse 38% 28% at 50% 30%, rgba(255,132,108,0.12) 0%, transparent 72%),
    radial-gradient(ellipse 30% 22% at 30% 70%, rgba(255,220,210,0.12) 0%, transparent 72%),
    radial-gradient(ellipse 24% 18% at 74% 62%, rgba(255,238,230,0.08) 0%, transparent 68%);
  opacity: 0; pointer-events: none;
}
@keyframes macScreenVignette {
  0%,100% { opacity: .58; }
  50% { opacity: 1; }
}
.notch-glow {
  position: absolute; left: 50%; top: 0;
  width: 360px; height: 148px;
  transform: translateX(-50%);
  opacity: 0; pointer-events: none; z-index: 2;
  mix-blend-mode: screen; filter: blur(20px);
  animation: notchGlow 2.8s ease-in-out infinite;
}
.notch-glow::before,
.notch-glow::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background:
    radial-gradient(ellipse 18% 14% at 50% 38%, rgba(255,244,240,0.9) 0%, rgba(255,112,92,0.82) 26%, rgba(223,32,18,0.86) 54%, transparent 78%),
    radial-gradient(ellipse 48% 30% at 50% 34%, rgba(255,59,48,0) 0%, rgba(255,59,48,0) 18%, rgba(226,24,8,0.82) 42%, rgba(173,12,4,0.4) 58%, transparent 80%),
    radial-gradient(ellipse 30% 26% at 26% 42%, rgba(255,56,26,0.84) 0%, rgba(222,28,10,0.42) 48%, transparent 76%),
    radial-gradient(ellipse 30% 26% at 74% 42%, rgba(255,56,26,0.84) 0%, rgba(222,28,10,0.42) 48%, transparent 76%),
    radial-gradient(ellipse 48% 36% at 50% 58%, rgba(208,18,6,0.38) 0%, rgba(168,10,3,0.12) 54%, transparent 76%);
}
.notch-glow::after {
  inset: -14px -30px -28px; opacity: 1; filter: blur(18px);
  background: radial-gradient(ellipse 62% 38% at 50% 42%, rgba(255,59,48,0) 0%, rgba(255,59,48,0) 18%, rgba(222,18,4,0.64) 42%, rgba(176,10,3,0.28) 62%, transparent 84%);
}
.mac-shell-frame { position: absolute; z-index: 3; border-radius: 16px 16px 0 0; border: none; background: transparent; box-shadow: none; overflow: hidden; }
.mac-shell-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 12px #050505, inset 0 1px 0 rgba(255,255,255,0.04);
  pointer-events: none;
}
.mac-shell-frame::after {
  content: ''; position: absolute;
  left: 12px; right: 12px; top: 14px; bottom: 12px;
  border-radius: 14px 14px 0 0;
  will-change: opacity;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), inset 0 0 108px rgba(255,59,48,0.12), inset 0 0 260px rgba(255,59,48,0.06);
  animation: macScreenVignette 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* ── MENUBAR ── */
.pulse-menubar {
  position: absolute; left: 12px; right: 12px; top: 3px; height: 22px;
  pointer-events: none;
}
.pulse-menubar * { pointer-events: none; }
.pulse-menubar::before { content: none; }
.pulse-menubar-left,
.pulse-menubar-right {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  font-size: 13px; color: rgba(240,236,230,0.86); letter-spacing: -.01em;
  z-index: 0; pointer-events: none; font-weight: 500; height: 22px;
  padding: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none;
}
.pulse-menubar-left { left: 0; }
.pulse-menubar-right { right: 0; }
.pulse-menubar-brand { display: inline-flex; align-items: center; gap: 10px; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif; font-size: 13px; font-weight: 700; color: rgba(240,236,230,0.92); letter-spacing: -.01em; }
.pulse-menubar-apple { font-size: 18px; line-height: 1; color: rgba(240,236,230,0.94); }
.pulse-menubar-brand-dot {
  position: relative; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,248,244,0.98) 0%, rgba(255,116,96,0.96) 28%, rgba(255,59,48,1) 58%, rgba(185,24,13,1) 100%);
  box-shadow: 0 0 22px rgba(255,59,48,0.48), 0 0 48px rgba(255,59,48,0.18), inset 0 1px 1px rgba(255,255,255,0.46);
  will-change: transform, opacity;
  flex-shrink: 0;
  animation: pulseMenuOrb 2.6s ease-in-out infinite;
}
.pulse-menubar-brand-dot::before,
.pulse-menubar-brand-dot::after {
  content: ''; position: absolute; inset: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
}
.pulse-menubar-brand-dot::before {
  width: 28px; height: 28px;
  background: radial-gradient(circle, rgba(255,59,48,0.28) 0%, rgba(255,59,48,0.12) 36%, transparent 74%);
  filter: blur(6px);
  animation: pulseMenuRingOuter 2.6s ease-in-out infinite;
}
.pulse-menubar-brand-dot::after {
  width: 18px; height: 18px;
  background: radial-gradient(circle, rgba(255,92,74,0.38) 0%, rgba(255,59,48,0.16) 42%, transparent 78%);
  filter: blur(2px);
  animation: pulseMenuRingInner 2.6s ease-in-out infinite;
}
.pulse-menubar-slot { position: absolute; left: 50%; top: 50%; width: 240px; height: 22px; transform: translate(-50%, -50%); border-radius: 999px; background: transparent; z-index: 1; }
.pulse-menubar-link { color: inherit; text-decoration: none; }
.pulse-menubar-link:hover { opacity: .68; }
.pulse-menubar-app { color: rgba(240,236,230,0.84); font-weight: 600; }
.pulse-menubar-muted { color: rgba(240,236,230,0.54); }
.pulse-menubar-time,
.pulse-menubar-date { color: rgba(240,236,230,0.72); min-width: max-content; font-weight: 600; }

/* ── DOCK ── */
.pulse-dock {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 12px;
  padding: 10px 14px 12px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.16) 100%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.38);
  backdrop-filter: blur(22px) saturate(1.08);
  pointer-events: auto;
}
.pulse-dock-app {
  position: relative; width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: -.02em;
  color: rgba(255,255,255,0.92);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.28);
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
}
.pulse-dock-app::after {
  content: ''; position: absolute; left: 50%; bottom: -8px;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(16,16,16,0.72); transform: translateX(-50%);
  opacity: 0; transition: transform .18s ease, opacity .18s ease;
}
.pulse-dock-app::before {
  content: attr(aria-label); position: absolute; left: 50%; top: -32px;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 8px; border-radius: 8px;
  background: rgba(30,30,30,0.92); color: rgba(240,236,230,0.92);
  font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap;
  opacity: 0; pointer-events: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  transition: opacity .16s ease, transform .16s ease;
}
.pulse-dock-app.a { background: linear-gradient(180deg, #8ec5ff 0%, #4a84ff 100%); }
.pulse-dock-app.b { background: linear-gradient(180deg, #1f1f24 0%, #0d0d10 100%); }
.pulse-dock-app.c { background: linear-gradient(180deg, #88e1a2 0%, #48be6a 100%); }
.pulse-dock-app.d { background: linear-gradient(180deg, #e9edf2 0%, #c8d0db 100%); color: rgba(255,255,255,0.92); }
.pulse-dock-app.e { background: linear-gradient(180deg, #fffefd 0%, #f3efeb 100%); color: rgba(22,22,22,0.82); }
.pulse-dock-app.f { background: linear-gradient(180deg, #f2f3f5 0%, #cfd4da 100%); color: rgba(22,22,22,0.76); }
.pulse-dock-app.g { background: linear-gradient(180deg, #0a66c2 0%, #004182 100%); }
.pulse-dock-app .icon-svg { font-size: 20px; line-height: 1; }
.pulse-dock-app img { width: 26px; height: 26px; display: block; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.22)); }
.pulse-dock-app.d img { width: 28px; height: 28px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35)) brightness(1.15) contrast(1.1); }
.pulse-dock-app.is-open::after { opacity: 1; }
.pulse-dock-app:hover { transform: translateY(-10px) scale(1.16); box-shadow: 0 18px 30px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.32); }
.pulse-dock-app:hover::after { transform: translateX(-50%) scale(1.18); opacity: .78; }
.pulse-dock-app:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }

.pulse-dock-pulse {
  position: relative; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,250,247,1) 0%, rgba(255,132,112,0.94) 26%, rgba(255,59,48,1) 60%, rgba(184,18,8,1) 100%);
  box-shadow: 0 0 12px rgba(255,59,48,0.28), inset 0 1px 1px rgba(255,255,255,0.34);
}
.pulse-dock-pulse::before,
.pulse-dock-pulse::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
}
.pulse-dock-pulse::before { width: 36px; height: 36px; background: radial-gradient(circle, rgba(255,46,22,0.5) 0%, rgba(255,46,22,0.22) 42%, transparent 78%); filter: blur(7px); }
.pulse-dock-pulse::after { width: 28px; height: 28px; background: radial-gradient(circle, rgba(255,90,62,0.56) 0%, rgba(255,59,48,0.28) 46%, transparent 78%); filter: blur(3px); }

/* ── KEYFRAMES ── */
@keyframes pulseMenuOrb {
  0%, 100% { transform: scale(.96); opacity: .82; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes pulseMenuRingOuter {
  0%, 100% { transform: translate(-50%, -50%) scale(.78); opacity: .28; }
  50% { transform: translate(-50%, -50%) scale(1.34); opacity: .72; }
}
@keyframes pulseMenuRingInner {
  0%, 100% { transform: translate(-50%, -50%) scale(.86); opacity: .34; }
  50% { transform: translate(-50%, -50%) scale(1.18); opacity: .62; }
}
@keyframes notchGlow {
  0%,100% { transform: translateX(-50%) scale(.94, .9); opacity: .62; }
  50% { transform: translateX(-50%) scale(1.1, 1.15); opacity: 1; }
}
@keyframes pulseRing {
  0% { transform: scale(.86); opacity: .65; }
  60% { transform: scale(1.12); opacity: .18; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intro-back-actions { left: 0; right: 0; bottom: 0; padding-left: 28px; padding-right: 28px; }
  .p-top { flex-direction: column; padding: 32px 28px 28px; gap: 20px; }
  .p-top-right { width: auto; align-items: flex-start; gap: 12px; }
  .tags, .acts { flex-wrap: wrap; }

  #c1 .p-top-right { width: 100%; align-items: center !important; align-self: center; }
  #c1 .p-top { padding-top: 58px; }
  #c1 .tags { max-width: 320px; display: flex; flex-wrap: nowrap; overflow: visible; white-space: nowrap; gap: 4px; width: max-content; max-width: 100%; justify-content: center !important; margin: 0 auto; }
  #c1 .tag { font-size: 8px; padding: 2px 5px; letter-spacing: .03em; }
  #c1 .p-top-left, #c1 .p-top-right { align-items: center; text-align: center; }
  #c1 .tags, #c1 .acts { justify-content: center; }
  #c1 .dn-note-footer .tags {
    width: auto;
    max-width: 340px;
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-start !important;
    margin: 0;
  }
  #c1 .c-prod {
    padding: 58px 28px 28px;
  }
  .dn-workspace {
    grid-template-columns: minmax(128px, 170px) minmax(0, 1fr);
    min-height: 500px;
  }
  #c2 .p-top-right { width: 100%; align-items: center !important; align-self: center; }
  #c2 .tag { font-size: 8px; padding: 2px 5px; letter-spacing: .03em; }
  #c2 .tags { display: flex; flex-wrap: nowrap; overflow: visible; white-space: nowrap; gap: 4px; width: max-content; max-width: 100%; justify-content: center !important; margin: 0 auto; }
  #c2 .p-top-left, #c2 .p-top-right { align-items: center; text-align: center; }
  #c2 .tags, #c2 .acts { justify-content: center; }
  #c2 .p-title, #c2 .cx-tagline, #c2 .p-desc { text-align: center; align-self: center; }
  #c2 .cx-tagline { margin-left: 0 !important; }
  .cx-app {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .cx-actions {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
  }
  .cx-stack-row { grid-template-columns: 120px minmax(0,1fr); }
  #c2 .tags {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-start !important;
    margin: 0;
  }

  .c-intro-content { padding: 36px 28px 40px; }
  .c-intro-photo { width: 42%; }
  #c0 .intro-face-front #intro-open { position: static; transform: none; margin-top: 16px; }
  #c0 .intro-face-back #intro-close { position: static; transform: none; }
  .dn-glow { display: none; }
}

@media (max-width: 768px) {
  .intro-back-copy {
    margin-left: 0;
    width: 100%; max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.58) 60%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .intro-back-title { max-width: 100%; white-space: normal; }
  .intro-back-text { max-width: 100%; }
}

@media (max-width: 720px) {
  .card { border-radius: 16px; }
  .p-top { padding: 26px 22px 24px; }
  .p-title { font-size: clamp(36px, 10vw, 56px); }
  .p-desc { font-size: 14px; line-height: 1.7; }
  .c-intro { height: calc(100vh - 104px); }
  .c-intro-content { position: absolute; padding: 26px 22px 30px; }
  .c-intro-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 420px; border-top-right-radius: 16px; border-bottom-right-radius: 16px; }
  .c-intro-photo::after { background: linear-gradient(to right, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 18%, transparent 38%); }
  .c-mid { padding: 0 0 20px; margin-top: 0; transform: translateY(30px); }

  .intro-back-copy { padding: 36px 22px 100px; justify-content: flex-start; margin-top: 0; }
  .intro-back-text { margin-top: 233px; margin-left: 0; }
  .intro-back .pills { position: absolute; right: 20px; bottom: 20px; justify-content: flex-end; margin-top: 0; }
  .intro-back-title { margin-top: 18px; }
  .pulse-menubar-app { display: none; }
  #c1 .p-top { padding-top: 54px; }
  #c1::after { top: 46px; }
  #c1 .c-prod {
    padding: 54px 18px 22px;
  }
  #c3 .p-top { padding: 16px 20px 20px; gap: 12px; }
  #c3 .p-desc { font-size: 13px; line-height: 1.6; }
  .dn-workspace {
    min-height: auto;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
  }
  .dn-workspace::before { inset: 6px 0 0; }
  .dn-mini-sidebar-head { padding: 9px; }
  .dn-mini-actions .icon-svg:nth-child(-n+2) { display: none; }
  .dn-project-row {
    padding: 8px;
    grid-template-columns: 14px minmax(0, 1fr);
  }
  .dn-mini-header { padding: 12px 12px 8px; }
  #dn-tagline { display: none; }
  .dn-mini-tabs {
    max-width: calc(100% - 24px);
    margin-bottom: 8px;
  }
  .dn-mini-tabs span {
    padding: 6px 8px;
    font-size: 10px;
  }
  .dn-note-stage {
    padding: 0 12px 12px;
  }
  .dn-note-block-feature {
    padding: 14px;
  }
  .dn-note-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 18px;
  }
  #c2 .c-prod {
    padding: 0;
  }
  .cx-window {
    min-height: min(626px, calc(100vh - 104px));
  }
  .cx-app {
    grid-template-columns: 1fr;
    min-height: calc(min(626px, calc(100vh - 104px)) - 42px);
  }
  .cx-file-sidebar {
    display: none;
  }
  [data-cx-view="0"] {
    gap: 12px;
    padding: 18px 18px 10px;
  }
  [data-cx-view="0"] .cx-overview-top {
    display: block;
  }
  [data-cx-view="0"] .cx-overview-copy {
    width: 100%;
    max-width: none;
  }
  [data-cx-view="0"] .cx-overview-score {
    display: none;
  }
  #c2 [data-cx-view="0"] .cx-desc {
    width: 100%;
    max-width: none;
    margin-top: 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  [data-cx-view="0"] .cx-pressure-bar {
    width: 100%;
    margin-top: 13px;
  }
  [data-cx-view="0"] .cx-stat-grid {
    gap: 7px;
  }
  [data-cx-view="0"] .cx-stat-card {
    min-height: 56px;
    padding: 7px 9px;
  }
  [data-cx-view="0"] .cx-stack-list {
    gap: 5px;
  }
  [data-cx-view="0"] .cx-stack-row {
    min-height: 34px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  [data-cx-view="1"] .cx-graph-canvas {
    margin-top: -4px;
  }
  [data-cx-view="1"] .cx-codebase-graph {
    transform: translate(-1.5%, -4%) scale(1.13);
    transform-origin: 50% 50%;
  }
  [data-cx-view="1"] .cx-graph-labels text {
    fill-opacity: .92;
  }
  [data-cx-view="1"] .cx-file-labels text {
    fill: rgba(235,241,248,.68);
    stroke: rgba(24,25,29,.94);
  }
  .cx-overview {
    padding: 16px;
  }
  .cx-health-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cx-actions { align-items: center; flex-direction: row; justify-content: flex-end; }
  .cx-risk-score {
    text-align: left;
  }
  .cx-analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cx-stack-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  /* Nav — masquer le centre pour éviter le chevauchement */
  nav { padding: 0 20px; }
  .nav-c { display: none; }

  /* Sections — réduire le padding latéral */
  .sec { padding-left: 14px; padding-right: 14px; }

  /* Hero front — nom qui ne déborde plus + photo pleine largeur */
  .bigname { font-size: clamp(44px, 13vw, 60px); }
  .c-intro-photo { width: 100%; }

  /* Hero back — photo pleine largeur + visage visible + texte ancré juste au-dessus des boutons */
  .intro-back .c-intro-photo { width: 100%; }
  .intro-back .c-intro-photo::before { opacity: 0.3; }
  .intro-back .c-intro-photo::after { background: linear-gradient(to left, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 20%, transparent 42%); }
  .intro-back-copy {
    padding-top: 52px !important;
    background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, transparent 28%, transparent 56%, rgba(0,0,0,.60) 72%, rgba(0,0,0,.84) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .intro-back-copy > div { display: flex; flex-direction: column; height: 100%; }
  .intro-back-text { margin-top: auto !important; font-size: 15px !important; line-height: 1.7 !important; padding-bottom: 8px !important; }
  .intro-back-actions {
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    padding-left: 20px; padding-right: 20px;
    border-bottom-left-radius: var(--y-radius-card-sm);
    border-bottom-right-radius: var(--y-radius-card-sm);
  }
  .cx-tabs {
    padding: 0 12px;
  }
  .cx-tabs span {
    margin-right: 12px;
    font-size: 9px;
    letter-spacing: .05em;
  }
  #c1 .p-top { padding-top: 50px; }
  .dn-capsule-head {
    left: 12px;
    right: 12px;
    font-size: 9px;
  }
  .dn-window-title { font-size: 9px; }
  .dn-window-spacer { width: 36px; }
  #c1 .c-prod {
    padding-left: 12px;
    padding-right: 12px;
  }
  .dn-workspace {
    grid-template-columns: 1fr;
  }
  .dn-mini-sidebar {
    display: none;
  }
  .dn-mini-tabs span {
    padding-left: 7px;
    padding-right: 7px;
  }
  .dn-external-actions .acts {
    flex-wrap: wrap;
  }

  /* DevNote — 3 tags ligne 1, 2 tags centrés ligne 2 */
  #c1 .tags {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    max-width: 225px !important;
    width: auto !important;
    overflow: visible !important;
    gap: 4px !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* Pulse — masquer la date, conserver l'heure */
  .pulse-menubar-date { display: none !important; }
}

/* Editorial manifesto responsive overrides */
@media (max-width: 900px) {
  .intro-back-copy {
    left: 40%;
    width: 60%;
    padding: 0 24px;
  }
  .intro-back-title { font-size: clamp(32px, 4.2vw, 40px); }
  .intro-back-text { padding-top: 28px; }
  .intro-text-block { font-size: 15.5px; }
  .intro-back .c-intro-photo { width: 40%; }
}

@media (max-width: 720px) {
  .intro-back {
    display: grid;
    grid-template-rows: minmax(190px, 30%) minmax(0, 1fr);
    height: 100%;
    overflow: hidden;
  }
  .intro-back-actions,
  .intro-back-actions::before {
    border-bottom-left-radius: var(--y-radius-card-sm);
    border-bottom-right-radius: var(--y-radius-card-sm);
  }
  .intro-back-copy {
    position: relative;
    inset: auto;
    left: 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    grid-row: 2;
    padding: 32px 24px 128px;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    background: #000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .intro-back-copy::-webkit-scrollbar { display: none; }
  .intro-back-title {
    margin: 26px 0 0;
    font-size: clamp(40px, 9.5vw, 46px);
    white-space: normal;
  }
  .intro-back-text { margin: 0; max-width: 100%; padding-top: 34px; }
  .intro-text-block { margin-bottom: 22px; font-size: clamp(16px, 4vw, 17px); line-height: 1.5; }
  .intro-conclusion { margin-top: 58px; font-size: clamp(21px, 5.5vw, 25px); }
  .intro-back .c-intro-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-row: 1;
    border-radius: 16px 16px 0 0;
  }
  .intro-back .c-intro-photo img {
    border-radius: 16px 16px 0 0;
    transform: none;
    object-position: center 16%;
  }
  .intro-back .c-intro-photo::after { background: linear-gradient(to top, #000 0%, transparent 38%); }
}

@media (max-width: 480px) {
  .intro-back-copy {
    padding-top: 24px !important;
    background: #000 !important;
  }
  .intro-back-title { margin-top: 24px; font-size: clamp(40px, 10vw, 46px); }
  .intro-back-copy > div { height: auto; }
  .intro-back-copy > .intro-back-top { display: flex; }
  .intro-back-text { display: flex !important; margin-top: 0 !important; padding-bottom: 0 !important; }
  .intro-text-block, .intro-conclusion { display: flex !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .bg,
  .card,
  .mac-shell,
  .mac-ui,
  .mac-desktop {
    will-change: auto;
  }
}

/* ── PULSE MOBILE — LAYOUT DÉDIÉ ── */
@media (max-width: 768px) {
  #s3 {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: clamp(58px, 12vw, 76px) 0 clamp(24px, 7vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 5vw, 30px);
    overflow: visible;
  }
  #root { height: auto; min-height: 0; }
  .end-spacer { height: 0; min-height: 0; }

  #c3.pulse-screen {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    overflow: visible !important;
    clip-path: none !important;
    border-radius: 18px !important;
  }

  #c3 .c-prod,
  #c3 .pulse-os,
  #c3 .pulse-os-head,
  #c3 .pulse-os-body,
  #c3 .pulse-core,
  #c3 .pulse-core-grid,
  #c3 .pulse-lab,
  #c3 .pulse-lab-constellation {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #c3 .c-prod { display: flex; flex-direction: column; }
  #c3 .pulse-os {
    flex: none;
    gap: clamp(18px, 5vw, 28px);
    padding: clamp(16px, 4.5vw, 24px);
  }
  #c3 .pulse-os-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: clamp(16px, 4vw, 22px);
  }
  #c3 .pulse-os-brand { padding: 0 0 clamp(14px, 4vw, 20px); }
  #c3 .pulse-os-logo { font-size: clamp(46px, 14vw, 66px); }
  #c3 .pulse-os-intro {
    padding: clamp(14px, 4vw, 20px) 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  #c3 .pulse-os-vision {
    font-size: clamp(22px, 6.6vw, 30px);
    white-space: normal;
  }
  #c3 .pulse-os-lede {
    max-width: none;
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.55;
  }
  #c3 .pulse-lede-line { white-space: normal; }

  #c3 .pulse-os-body {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 6vw, 32px);
  }
  #c3 .pulse-core,
  #c3 .pulse-lab {
    width: 100%;
    padding: clamp(14px, 4vw, 20px);
  }
  #c3 .pulse-core::before,
  #c3 .pulse-core::after { display: none; }
  #c3 .pulse-core-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 4vw, 18px);
    padding: clamp(12px, 3.5vw, 16px);
  }
  #c3 .pulse-core-session { padding: 0; }
  #c3 .pulse-core-activity {
    padding: clamp(12px, 3.5vw, 16px) 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  #c3 .pulse-core-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  #c3 .pulse-tab {
    min-width: 0;
    padding: clamp(5px, 1.8vw, 7px) 2px;
    font-size: clamp(8px, 2.25vw, 10px);
    white-space: nowrap;
  }

  #c3 .pulse-lab { padding-top: clamp(14px, 4vw, 20px); }
  #c3 .pulse-lab-sub { margin-bottom: clamp(14px, 4vw, 20px); }
  #c3 .pulse-lab-constellation {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 4.5vw, 22px);
    padding: 126px clamp(8px, 3vw, 16px) 8px;
  }
  #c3 .pulse-lab-nucleus {
    left: 50%;
    top: 56px;
  }
  #c3 .pulse-concept-group {
    position: relative;
    inset: auto;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  #c3 .pulse-concept-group .pulse-satellites { align-items: flex-start; }
  #c3 .group-context { order: 1; }
  #c3 .group-memory { order: 2; }
  #c3 .group-interfaces { order: 3; }
  #c3 .group-assistance { order: 4; }
  #c3 .group-assistance .pulse-satellites {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  }
  #c3 .pulse-lab-cta {
    width: 100%;
    margin: clamp(12px, 4vw, 18px) 0 0;
  }

  #s3 > .pulse-dock {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    gap: clamp(5px, 1.7vw, 9px);
    padding: clamp(7px, 2vw, 9px) clamp(8px, 2.5vw, 12px) clamp(9px, 2.5vw, 11px);
    border-radius: clamp(17px, 5vw, 22px);
  }
  #s3 > .pulse-dock .pulse-dock-app {
    width: clamp(34px, 9.5vw, 42px);
    height: clamp(34px, 9.5vw, 42px);
    flex: 0 0 clamp(34px, 9.5vw, 42px);
    border-radius: clamp(10px, 3vw, 13px);
  }
  #s3 > .pulse-dock .pulse-dock-app:hover { transform: translateY(-4px); }
}
