/* noondra.com, the home page. Dark only: the page is a showcase, the app keeps light and dark.
   Colours are the Noondra mark's blues on a near-black, with the app's system font. */
:root {
  --bg: #050608;
  --bg-2: #0a0c10;
  --surface: #0f1217;
  --surface-2: #151922;
  --fg: #f5f6f8;
  --fg-2: #b4b8c2;
  --fg-3: #7b808c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --blue: #2f7cf6;
  --blue-2: #4f93ff;
  --cyan: #6cc8f5;
  --mark-outer: #4f93ff;
  --mark-inner: #6cc8f5;
  --noondra: #9cc2ff;
  --ok: #39c27f;
  --danger: #ff6b63;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* Out of sight, nothing animates: efectos.js marks the sections that are off screen. */
.away *, .away *::before, .away *::after { animation-play-state: paused !important; }
.pending body { visibility: hidden; }
html { scroll-padding-top: 72px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 820px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(79, 147, 255, 0.35); }
html { accent-color: var(--blue); caret-color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.03em; }
.sub { color: var(--fg-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; max-width: 640px; margin: 20px 0 0; }
.sub.center { margin-inline: auto; text-align: center; text-wrap: balance; }
.big-title { font-size: clamp(38px, 5.9vw, 86px); line-height: 1.02; letter-spacing: -0.045em; max-width: 15ch; text-wrap: balance; }
/* Two-tone titles: the first sentence in full white, the second one stepped back. */
.big-title .dim { display: block; color: #6d7483; }
/* Chinese, Japanese and Korean: their glyphs fill the square, so the Latin tightening comes off.
   Japanese breaks lines between phrases where the browser knows how, and Korean never inside a word. */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: -0.01em; line-height: 1.16; }
:lang(ja) body, :lang(zh-Hans) body { line-break: strict; }
:lang(ja) body { word-break: auto-phrase; }
:lang(ko) body { word-break: keep-all; }
.mid-title { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }

/* Navigation: glass bar */
header.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: transform 0.5s var(--ease); }
header.top::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 6, 8, 0.55);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  border-bottom: 0.5px solid var(--line);
  opacity: 0; transition: opacity 0.4s;
}
header.top.solid::before { opacity: 1; }
header.top .wrap { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 640; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
/* A press on the logo (efectos.js › navBar): the core dips, the two rings draw themselves from
   the inside out and a wave leaves the mark, twice. */
.brand { position: relative; -webkit-tap-highlight-color: transparent; }
.brand svg { overflow: visible; }
.brand svg path { transform-box: fill-box; transform-origin: center; }
.brand::before, .brand::after { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 1.5px solid var(--mark-outer); opacity: 0; pointer-events: none; }
.brand::after { border-color: var(--mark-inner); }
.brand.ping svg { animation: mark-pop 0.9s var(--ease) both; }
.brand.ping svg path[stroke] { stroke-dasharray: 1; animation: mark-ring 0.85s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.brand.ping svg path:nth-child(1) { animation-delay: 0.14s; }
.brand.ping svg path:nth-child(3) { animation: mark-core 0.7s var(--ease) both; }
.brand.ping::before { animation: mark-wave 1s 0.22s cubic-bezier(0.2, 0.7, 0.3, 1); }
.brand.ping::after { animation: mark-wave 1s 0.42s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes mark-pop { 0% { scale: 1; } 18% { scale: 0.84; } 55% { scale: 1.12; } 100% { scale: 1; } }
@keyframes mark-ring { from { stroke-dashoffset: 1; rotate: -140deg; } to { stroke-dashoffset: 0; rotate: 0deg; } }
@keyframes mark-core { 0% { scale: 1; } 30% { scale: 0.4; } 70% { scale: 1.25; } 100% { scale: 1; } }
@keyframes mark-wave { from { opacity: 0.75; scale: 0.9; } to { opacity: 0; scale: 2.3; } }
nav.links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
nav.links a { color: var(--fg-2); text-decoration: none; transition: color 0.2s; }
nav.links a:hover { color: var(--fg); }
.nav-cta {
  min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 560; text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(108, 200, 245, 0.6); }
@media (max-width: 900px) { nav.links { display: none; } .nav-cta { margin-left: auto; } }

/* Hero: the voice as rings on a floor that fades into the air (efectos.js › horizon). The canvas
   fills the section; the floor's far edge sits right above the email field, wherever the layout
   puts it. */
.hero { position: relative; min-height: max(100svh, 700px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 116px 0 140px; text-align: center; isolation: isolate; overflow: hidden; }
/* The floor does not stop where its section does: the canvas runs on under what follows, and the
   shader lets the light thin out there until nothing is left. No veil closes it. */
@supports (overflow: clip) { .hero { overflow: clip visible; --spill: clamp(170px, 34vh, 340px); } }
.horizon { position: absolute; inset: 0 0 auto; width: 100%; height: calc(100% + var(--spill, 0px)); z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease); }
.horizon.ready { opacity: 1; }
.hero-veil, .final-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-veil { background: linear-gradient(to bottom, rgba(5, 6, 8, 0.6), rgba(5, 6, 8, 0) 18%); }
/* Without WebGL, a still version of the same light: a soft glow rising behind the text, no line. */
.no-webgl .hero-veil, .no-webgl .final-veil {
  background:
    linear-gradient(to top, var(--bg), rgba(5, 6, 8, 0) 30%),
    radial-gradient(52% 34% at 50% 66%, rgba(47, 124, 246, 0.36), transparent 74%),
    radial-gradient(90% 46% at 50% 100%, rgba(47, 124, 246, 0.2), transparent 70%);
}
.hero-inner, .final-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(46px, 8.1vw, 124px); line-height: 0.96; letter-spacing: -0.055em; font-weight: 700; margin: 0 auto; }
.hero-title .line { display: block; white-space: nowrap; }
/* The lit word: «Tus agentes hacen el resto.» */
.hero-title .rot-line { white-space: nowrap; }
.rot { color: var(--cyan); text-shadow: 0 0 60px rgba(108, 200, 245, 0.45); }
.motion .hero-title .rot-line { opacity: 0; }
.lead { color: #c5cad4; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; max-width: 610px; margin: 28px auto 0; text-wrap: balance; }

/* The waitlist: one glass field on the horizon. The question about devices opens under it once
   the visitor starts typing, and the whole form gives way to the confirmation. */
form.waitlist { position: relative; margin-top: 46px; width: 100%; max-width: 540px; }
@property --orbit { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.field-row {
  position: relative; display: flex; gap: 6px; padding: 7px; border-radius: 999px;
  background: rgba(9, 13, 24, 0.62); border: 1px solid rgba(160, 200, 255, 0.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 26px 80px -22px rgba(47, 124, 246, 0.85), 0 0 110px -24px rgba(108, 200, 245, 0.45);
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* A light that travels round the edge of the field. */
.field-row::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--orbit), transparent 0 58%, rgba(190, 228, 255, 0.95) 76%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: orbit 7s linear infinite;
}
@keyframes orbit { to { --orbit: 360deg; } }
.field-row:focus-within { border-color: rgba(150, 210, 255, 0.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 26px 90px -20px rgba(47, 124, 246, 1), 0 0 0 4px rgba(79, 147, 255, 0.16), 0 0 130px -20px rgba(108, 200, 245, 0.6); }
.field-row input[type='email'] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 17px; outline: none; }
.field-row input::placeholder { color: #8f97a8; }
.field-row input:-webkit-autofill { -webkit-text-fill-color: var(--fg); -webkit-box-shadow: 0 0 0 100px #0b1220 inset; }
.field-row button {
  position: relative; height: 52px; padding: 0 22px 0 24px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 16px; font-weight: 620; color: #04101f; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #ffffff, #d3e5ff);
  box-shadow: 0 8px 30px -8px rgba(108, 200, 245, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.2s var(--ease), box-shadow 0.3s;
}
.field-row button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.field-row button:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -8px rgba(108, 200, 245, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.1); }
.field-row button:hover svg { transform: translateX(3px); }
.field-row button:disabled { cursor: progress; }
.waitlist.busy .field-row button svg { animation: wl-wait 0.9s var(--ease) infinite; }
@keyframes wl-wait { 50% { transform: translateX(5px); opacity: 0.35; } }
.field-row.nope { animation: wl-nope 0.45s var(--ease); border-color: rgba(255, 107, 99, 0.8); }
@keyframes wl-nope { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.6s var(--ease), opacity 0.5s var(--ease); }
.waitlist .more > div { min-height: 0; overflow: hidden; }
.waitlist.open .more { grid-template-rows: 1fr; opacity: 1; }
.devices { position: relative; border: 0; margin: 18px 0 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.devices legend { width: 100%; padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: #d5dae4; text-shadow: 0 1px 14px rgba(5, 6, 8, 0.9); }
.devices label { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.devices input { position: absolute; opacity: 0; pointer-events: none; }
.devices span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 11px; border-radius: 10px; font-size: 15.5px; font-weight: 560; color: #aab2c2; text-shadow: 0 1px 14px rgba(5, 6, 8, 0.9); transition: color 0.2s; }
.devices span::before { content: ''; width: 0; height: 10px; margin-right: 0; border-radius: 50%; opacity: 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transition: width 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s; }
.devices label:hover span { color: var(--fg); }
.devices input:checked + span { color: #fff; }
.devices input:checked + span::before { width: 7px; height: 7px; margin-right: 8px; opacity: 1; }
.devices input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 0; }
.status { position: relative; margin: 0; font-size: 14.5px; text-shadow: 0 1px 14px rgba(5, 6, 8, 0.9); }
.status:not(:empty) { margin-top: 14px; }
.status[data-tone='ok'] { color: var(--ok); }
.status[data-tone='error'] { color: #ff8f88; }
.status[data-tone='muted'] { color: var(--fg-2); }
.consent { position: relative; margin: 16px auto 0; max-width: 520px; font-size: 12.5px; line-height: 1.5; color: #a2a9b8; text-wrap: balance; }
/* The floor's rings pass behind whatever sits below the field: a soft shade keeps it readable. */
.consent::before, .devices::before, .status:not(:empty)::before, .joined-note::before { content: ''; position: absolute; inset: -12px -56px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 6, 8, 0.86) 40%, rgba(5, 6, 8, 0)); }
.devices::before { inset: -8px 0 -10px; }
.status:not(:empty)::before { inset: -10px 0; }
.joined-note::before { inset: -26px -64px; background: radial-gradient(closest-side, rgba(5, 6, 8, 0.8) 30%, rgba(5, 6, 8, 0)); }
.consent a { color: #c5cad4; }
.joined .field-row, .joined .more, .joined .consent, .joined .status { display: none; }
.joined-note { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }
.joined-note[hidden] { display: none; }
.joined-note svg { flex: none; width: 60px; height: 57px; filter: drop-shadow(0 0 22px rgba(79, 147, 255, 0.8)); animation: wl-in 0.9s var(--ease) both; }
.joined-note p { margin: 0; display: grid; gap: 4px; animation: wl-in 0.9s var(--ease) 0.12s both; }
.joined-note b { font-size: clamp(21px, 2.1vw, 28px); font-weight: 650; letter-spacing: -0.03em; }
.joined-note span { color: #dfe4ee; font-size: 15.5px; line-height: 1.45; max-width: 36ch; }
@keyframes wl-in { from { opacity: 0; transform: translateY(14px) scale(0.94); } }
.closed form.waitlist, .closed a[href='#lista']:not(.brand) { display: none; }
.closed .foot li:has(> a[href='#lista']) { display: none; }
.closed-note { margin: 44px 0 0; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.closed-note::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(108, 200, 245, 0.16), 0 0 16px var(--cyan); animation: beat 2.4s var(--ease) infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 9px rgba(108, 200, 245, 0.04), 0 0 24px var(--cyan); } }
.closed-note[hidden] { display: none; }
/* The AIs it directs, named at the foot of the first screen. */
.hero-ais { position: absolute; left: 0; right: 0; bottom: 30px; margin: 0; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; font-size: 13.5px; line-height: 1.6; color: #8f96a6; text-shadow: 0 0 3px rgba(5, 6, 8, 0.95), 0 0 10px rgba(5, 6, 8, 0.9), 0 0 22px rgba(5, 6, 8, 0.75); }
.hero-ais > span:first-child { color: #c5cad4; font-weight: 600; }
.hero-ais .names { word-spacing: 0.08em; }
/* A short screen (a small laptop with its toolbars) still holds the whole first screen: the
   title and the gaps follow the height. */
@media (min-width: 761px) and (max-height: 880px) {
  .hero { padding: clamp(84px, 12.9vh, 116px) 0 clamp(88px, 13vh, 140px); }
  .hero-title { font-size: clamp(46px, min(8.1vw, 12.2vh), 124px); }
  .lead { margin-top: clamp(16px, 2.8vh, 28px); }
  .hero form.waitlist { margin-top: clamp(26px, 4.4vh, 46px); }
  .hero-ais { bottom: clamp(16px, 2.6vh, 30px); }
}
@media (max-width: 560px) {
  .legal-line .langs { justify-content: flex-start; margin: 0 0 0 -8px; }
  .hero { padding: 104px 0 150px; }
  .hero-title { font-size: min(13.8vw, 62px); }
  .field-row { flex-direction: column; border-radius: 30px; padding: 6px; }
  .field-row { gap: 2px; }
  .field-row input[type='email'] { flex: none; width: 100%; height: 54px; text-align: center; }
  .field-row button { flex: none; width: 100%; }
  .devices span { padding: 0 9px; font-size: 15px; }
  .joined-note { flex-direction: column; text-align: center; gap: 14px; }
  .joined-note span { margin-inline: auto; }
  .hero-ais { bottom: 22px; font-size: 12.5px; gap: 2px 12px; }
  .hero-ais .names { max-width: 34ch; }
}
@media (prefers-reduced-motion: reduce) { .field-row::before, .closed-note::before { animation: none; } }

/* The stage: devices. Each .screen keeps the device's real aspect ratio. */
.stage { position: relative; }
.stage-pin { position: relative; height: 100svh; min-height: 640px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.stage-copy { position: relative; z-index: 2; height: 180px; margin-top: 96px; text-align: center; }
.step { position: absolute; inset: 0; padding-inline: 24px; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.step:not(.is-on) { opacity: 0; transform: translateY(20px); pointer-events: none; }
.step h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.step p { color: var(--fg-2); font-size: clamp(16px, 1.5vw, 20px); max-width: 560px; margin: 14px auto 0; }
.scene { position: relative; perspective: 1600px; perspective-origin: 50% -60%; }
.scene .glow {
  position: absolute; left: 50%; top: 50%; width: 88vw; max-width: 1240px; aspect-ratio: 2.2 / 1; translate: -50% -50%;
  /* No blur and no mask: either one gives the glow a box edge. The gradient alone fades to nothing
     well inside its box, so it never shows a line at the top or at the foot of the pinned scene. */
  background: radial-gradient(closest-side, rgba(47, 124, 246, 0.36), rgba(52, 132, 246, 0.24) 22%, rgba(70, 160, 246, 0.12) 42%, rgba(108, 200, 245, 0.045) 58%, rgba(108, 200, 245, 0.012) 68%, transparent 76%);
  pointer-events: none;
}
.device { position: absolute; margin: 0; left: 50%; top: 0; translate: -50% 0; will-change: transform; }
.device .screen { position: relative; overflow: hidden; background: #0b0d12; }
.device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.device.has-shot img { opacity: 1; }

/* Mac window */
.device.mac {
  width: min(1040px, 86vw);
  border-radius: 14px; background: #101318; padding: 0;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 60px 160px -40px rgba(47, 124, 246, 0.55), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 100%;
}

.device.mac .screen { aspect-ratio: 1440 / 989; border-radius: 0 0 14px 14px; }
/* iPad, landscape */
.device.ipad {
  width: min(560px, 46vw); padding: 12px; border-radius: 30px; background: #16181d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}
.device.ipad .screen { aspect-ratio: 2752 / 2064; border-radius: 19px; }
/* Phones */
.device.phone {
  width: min(250px, 24vw); padding: 9px; border-radius: 46px; background: #17191e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 1.5px rgba(255, 255, 255, 0.05), 0 50px 100px -30px rgba(0, 0, 0, 0.95);
}
.device.iphone .screen { aspect-ratio: 1206 / 2622; border-radius: 38px; }
.device.android { border-radius: 36px; }
.device.android .screen { aspect-ratio: 1080 / 2400; border-radius: 28px; }
/* Before the scroll story runs (or without it), the devices sit side by side */
.motion .stage:not(.static-stage) .device.ipad, .motion .stage:not(.static-stage) .device.phone { opacity: 0; }
.static-stage .stage-pin { height: auto; min-height: 0; padding-bottom: 80px; }
.static-stage .stage-copy { height: auto; margin-top: 80px; }
.static-stage .step { position: static; opacity: 1; transform: none; margin-bottom: 24px; }
.static-stage .scene { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 24px; padding: 24px; }
.static-stage .device { position: relative; left: auto; translate: none; opacity: 1; }
.static-stage .device.mac { flex-basis: 100%; max-width: 1040px; }

/* Drawn screens, shown while /capturas/<slot>.png does not exist */

/* ?huecos shows where each replaceable screenshot goes */
.show-slots [data-slot]::after {
  content: 'capturas/' attr(data-slot) '.png · ' attr(data-size); position: absolute; z-index: 5; left: 50%; top: 50%; translate: -50% -50%;
  padding: 6px 12px; border-radius: 8px; font: 600 12px/1.3 var(--mono); color: #04101f; background: #ffd34d; white-space: nowrap;
  box-shadow: 0 0 0 2px #04101f;
}
.show-slots [data-slot] .screen { outline: 2px dashed #ffd34d; outline-offset: -2px; }

/* Blocks */
.block { padding: 140px 0; position: relative; }
.platforms .sub { margin-top: 24px; }

/* Privacy: the scrubbed sentence */
.privacy { padding-top: 180px; }
.scrub { margin: 0; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 650; max-width: 22ch; }
.scrub .word { color: rgba(255, 255, 255, 0.16); transition: color 0.2s; }
.no-motion .scrub .word, .scrub:not(.armed) .word { color: var(--fg); }
.trio { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio h3 { font-size: 19px; letter-spacing: -0.02em; }
.trio p { margin: 8px 0 0; color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; } }

/* FAQ: the title stays beside the questions on wide screens */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .mid-title { position: sticky; top: 104px; max-width: 11ch; }
.faq-list details:first-child { border-top: 0.5px solid var(--line-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .mid-title { position: static; max-width: none; } }
details { border-bottom: 0.5px solid var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.02em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform 0.4s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 24px; color: var(--fg-2); max-width: 64ch; }

/* Final call: the horizon again, with the list on it */
.final { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 880px); padding: 150px 0 190px; text-align: center; }
@supports (overflow: clip) { .final { overflow: clip visible; --spill: clamp(170px, 34vh, 340px); } }
.final-veil { background: linear-gradient(to bottom, var(--bg), rgba(5, 6, 8, 0) 34%); }
.final .big-title { max-width: none; }
.final .sub { margin-inline: auto; color: #c5cad4; }
@media (max-width: 760px) { .final { padding: 96px 0 150px; } }

/* Footer */
/* The last of the closing floor's light passes behind the top of the footer. */
footer { position: relative; padding-top: 64px; overflow: hidden; }
.foot { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot .about .mail { display: inline-block; margin-top: 4px; color: var(--fg-2); font-size: 14.5px; text-decoration: none; }
.foot .about .mail:hover { color: var(--fg); }
.langs { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; margin-right: -8px; }
.langs button { padding: 4px 8px; border: 0; border-radius: 6px; background: none; color: var(--fg-3); font: inherit; cursor: pointer; transition: color 0.2s; }
.langs button:hover { color: var(--fg); }
.langs button[aria-pressed="true"] { color: var(--fg); font-weight: 600; }
.foot .about p { color: var(--fg-3); font-size: 14.5px; max-width: 30ch; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot ul a { color: var(--fg-2); text-decoration: none; }
.foot ul a:hover { color: var(--fg); }
.legal-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 20px 0; border-top: 0.5px solid var(--line); font-size: 13px; color: var(--fg-3); }
/* The big name at the foot, cut through the middle at every width: it spans the page and its box
   keeps only the top half of the letters (line-height 0.74 puts the capitals at the top). */
.wordmark { margin: 40px 0 0; height: 0.52em; padding: 0.04em 0.07em 0 0; overflow: hidden; text-align: center; white-space: nowrap; font-size: min(25.5vw, 720px); font-weight: 750; letter-spacing: -0.07em; line-height: 0.74; user-select: none; }
.wordmark span { display: block; background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1040px) { .foot { grid-template-columns: repeat(4, 1fr); } .foot .about { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot .about { grid-column: span 2; } }

/* Entrances: hidden only when the motion script is running */
.motion .reveal-up, .motion .reveal-stagger > * { opacity: 0; transform: translateY(28px); }
.motion .split, .motion .split-words { visibility: hidden; }
.motion .split.is-split, .motion .split-words.is-split { visibility: visible; }

/* Phones: the story reads top to bottom, each sentence above its devices */
@media (max-width: 760px) {
  .static-stage .stage-pin { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 20px; padding: 0 16px 40px; }
  .static-stage .stage-copy, .static-stage .scene { display: contents; }
  .static-stage .step { flex-basis: 100%; margin: 40px 0 0; padding: 0; text-align: center; }
  .static-stage .step[data-step='1'] { margin-top: 8px; }
  .static-stage .step[data-step='0'] { order: 1; }
  .static-stage .device.mac { order: 2; width: 100%; }
  .static-stage .step[data-step='1'] { order: 3; }
  .static-stage .device.ipad { order: 4; width: 92%; }
  .static-stage .device.iphone { order: 5; width: 44%; }
  .static-stage .device.android { order: 6; width: 44%; }
  .static-stage .scene .glow { width: 140vw; top: 30%; }
}

/* ── Product sections (content pass, 2026-11-08) ── */
.big-title.center { text-align: center; margin-inline: auto; max-width: none; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-2 .copy { min-width: 0; }
.split-2 .big-title { font-size: clamp(38px, 5vw, 72px); max-width: none; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 0 3px, transparent 4px), rgba(108, 200, 245, 0.14); border: 0.5px solid rgba(108, 200, 245, 0.4); }

/* Workspace showcase */
.showcase { margin-top: 64px; }
.sc-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.sc-tabs button { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 0.5px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--fg-2); font: 560 14px var(--sans); cursor: pointer; transition: all 0.25s var(--ease); }
.sc-tabs button:hover { color: var(--fg); }
.sc-tabs button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.view { position: absolute; inset: 0; padding: 22px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.view.on { opacity: 1; transform: none; }
.view pre { margin: 14px 0 0; font: 13.5px/1.9 var(--mono); color: var(--fg-2); white-space: pre-wrap; }
.view .ok { color: var(--ok); font-weight: 400; }
.view .add { color: #6ee7a8; background: rgba(57, 194, 127, 0.1); display: inline-block; width: 100%; }
.view .del { color: #ff8f88; background: rgba(255, 107, 99, 0.1); display: inline-block; width: 100%; }

.quote { position: absolute; right: 22px; bottom: 22px; font-size: 12.5px; padding: 7px 12px; border-radius: 9px; background: rgba(79, 147, 255, 0.2); border: 0.5px solid rgba(79, 147, 255, 0.45); }

.ws-more { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 44px; }
.more-grid li { display: grid; gap: 6px; font-size: 14.5px; color: var(--fg-2); }
.more-grid b { color: var(--fg); font-size: 15.5px; font-weight: 600; }
@media (max-width: 960px) { .ws-more { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }

/* Plugins and creator mode */
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Everything else */
.more-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.more-grid li { padding-top: 18px; border-top: 0.5px solid var(--line-2); }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .more-grid, .ws-more { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .block { padding: 72px 0; } .privacy { padding-top: 72px; } }

/* ── The app itself ─────────────────────────────────────────────────────────
   Mock-ups drawn with the app's own dark palette (mix-palette.ts), type, tabs,
   bubbles, task rings and composer, so what the page shows is Noondra as it is. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ax, .ax-stage, .cv-phone {
  --ax-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --ax-bg: #0f0f11; --ax-card: #1a1a1c; --ax-sec: #212124; --ax-muted: #29292d;
  --ax-fg: #f2f2f4; --ax-fg2: #a4a4ab; --ax-fg3: #8e8e96;
  --ax-line: rgba(255, 255, 255, 0.07); --ax-border: rgba(255, 255, 255, 0.12);
  --ax-field: rgba(120, 120, 128, 0.16); --ax-accent: #5b9bff; --ax-primary: #2a72e6;
  --ax-ok: #4cc46a; --ax-warn: #f0a83a;
}
.ax {
  position: relative; min-width: 0; text-align: left; color: var(--ax-fg); background: var(--ax-bg);
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif; letter-spacing: -0.005em;
  border-radius: 18px; border: 0.5px solid var(--ax-border); overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.04), 0 50px 120px -40px rgba(47, 124, 246, 0.45), 0 30px 60px -30px #000;
}
.ax .i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax .i.sm { width: 14px; height: 14px; }
.ax .i.xs { width: 11px; height: 11px; stroke-width: 2.6; }
.ax-mark { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 8px rgba(79, 147, 255, 0.5)); }
.ax-top { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; }
.ax-dots { display: flex; gap: 7px; }
.ax-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3f; }
.ax-proj { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; margin-left: 10px; min-width: 0; white-space: nowrap; border-radius: 9px; font-weight: 600; }
.ax-proj .i.sm { color: var(--ax-fg3); }
.ax-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; color: var(--ax-fg2); }
.ax-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ax-muted); color: var(--ax-fg2); font: 600 11px/1 var(--ax-font); font-style: normal; flex: none; }
.ax-body { display: grid; gap: 8px; padding: 0 8px 8px; }
.ax-body.two { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.ax-pane { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--ax-card); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.5); }
.ax-tabs { display: flex; align-items: center; gap: 6px; padding: 8px; min-width: 0; }
.ax-tab { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 9px; border: 0; background: none; color: var(--ax-fg2); font: 600 13px/1 var(--ax-font); white-space: nowrap; flex: none; cursor: default; }
.ax-tab.on { background: var(--ax-muted); color: var(--ax-fg); }
.ax-tab em { font-style: normal; color: var(--ax-fg3); font-weight: 500; }
.ax-tab .x { width: 12px; height: 12px; color: var(--ax-fg3); margin-left: 4px; }
.ax-ib { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ax-fg2); flex: none; }
.ax-tab-act { margin-left: auto; display: flex; gap: 14px; padding-right: 6px; color: var(--ax-fg3); }
.ax-chat { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 10px 20px 4px; font-size: 14px; line-height: 1.55; min-height: 0; }
/* As in the app, a conversation keeps to a reading column in the middle of a wide pane, with the
   composer under it; your own messages take at most most of that column. */
.ax-chat:where(:not(.ui .ax-chat)) { padding-inline: max(20px, calc((100% - 540px) / 2)); }
.ax-pane > .ax-composer:where(:not(.ui .ax-composer)) { margin-inline: max(10px, calc((100% - 560px) / 2)); }
.ax-u:where(:not(.ui .ax-u)) { max-width: min(84%, 420px); }
/* What scrolls reaches the edge and fades into it, as in the app (DESIGN.md › Bordes del
   desplazamiento): every conversation in these windows runs up behind its tab bar and melts away
   instead of being cut. */
.ax-chat { --fade: 24px; -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), #000 var(--fade)); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), #000 var(--fade)); }
.ui-phone .ax-chat { --fade: 32px; }
/* In the big windows of the page the fade is long and reaches nothing at all: a message leaves
   the way it does when a list scrolls on, never sliced by the bar above it. */
.ax-convo .ax-chat, .showcase .ax-chat, .creator .ax-chat { --fade: 84px; -webkit-mask-image: linear-gradient(to bottom, transparent 4px, #000 var(--fade)); mask-image: linear-gradient(to bottom, transparent 4px, #000 var(--fade)); }
.ax-u { align-self: flex-end; max-width: 84%; margin: 0; padding: 8px 14px; border-radius: 18px; background: var(--ax-muted); box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.ax-a { margin: 0; }
.ax-label { font-size: 12px; color: var(--ax-fg3); }
.ax-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ax-field); color: var(--ax-fg); font-size: 12.5px; }
.ax-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ax-topics .ax-label { width: 100%; }
.ax-composer { position: relative; margin: 10px; padding: 11px 14px 9px; border-radius: 16px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border), 0 8px 24px -12px #000; }
.ax-composer .ph { color: var(--ax-fg3); font-size: 14px; }
.ax-composer .row { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--ax-fg2); }
.ax-model { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; color: var(--ax-fg); font-weight: 600; }
.pm { width: 14px; height: 14px; flex: none; fill: currentColor; stroke: none; color: var(--ax-fg2); }
.ax-model .pm { width: 16px; height: 16px; }
.ax-now { align-self: center; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ax-card); box-shadow: 0 0 0 0.5px var(--ax-border); font-weight: 600; }
.ax-now i { width: 11px; height: 11px; border-radius: 50%; border: 1.6px solid var(--ax-accent); }
.ax-filters { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 8px 8px; }
.ax-filters span { padding: 6px 11px; border-radius: 999px; color: var(--ax-fg2); font-weight: 600; white-space: nowrap; }
.ax-filters span.on { background: var(--ax-muted); color: var(--ax-fg); }
.ax-task { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 1px 10px; margin: 0 8px 6px; padding: 10px; border-radius: 13px; box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.ax-task.on { background: var(--ax-sec); box-shadow: inset 0 0 0 0.5px var(--ax-border); }
.ax-task b { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ax-task .st { grid-column: 2; display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.25; color: var(--ax-fg3); }
.ax-task .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ax-ok); flex: none; }
.ax-task .st.run { color: var(--ax-ok); }
.ax-task .st.att { color: var(--ax-warn); }
.tk-x { position: relative; align-items: start; min-width: 0; overflow: hidden; flex-shrink: 0; }
.tk-x > .ax-ring { grid-row: 1 / 3; align-self: center; }
.tk-chev { position: absolute; right: 12px; top: 18px; width: 14px; height: 14px; color: var(--ax-fg3); transform: rotate(-90deg); transition: transform 0.4s var(--ease); }
.tk-x.open .tk-chev { transform: none; }
.tk-more { grid-column: 1 / -1; min-width: 0; contain: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.tk-x.open .tk-more { grid-template-rows: 1fr; }
.tk-in { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tk-in > :first-child { margin-top: 12px; }
.tk-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; color: var(--ax-fg3); font-size: 11.5px; }
.tk-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ax-fg2); font-weight: 600; }
.tk-prog { display: flex; align-items: center; gap: 10px; }
.tk-bar { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.tk-bar i { height: 4px; border-radius: 2px; background: var(--ax-muted); transition: background 0.4s; }
.tk-bar i.ok { background: var(--ax-ok); }
.tk-bar i.cur { background: linear-gradient(90deg, var(--ax-accent) 40%, var(--ax-muted) 40%); }
.tk-pct { font-size: 11px; color: var(--ax-fg3); white-space: nowrap; }
.tk-miles { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.tk-miles li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: start; opacity: 0.4; transform: translateY(3px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.tk-miles li.in { opacity: 1; transform: none; }
.tk-miles li > span { display: grid; gap: 1px; min-width: 0; }
.tk-miles b { font-size: 12.5px; font-weight: 600; }
.tk-miles em { font-style: normal; font-size: 11px; line-height: 1.3; color: var(--ax-fg3); }
.tk-miles li.ok .i { color: var(--ax-ok); width: 15px; height: 15px; }
.tk-miles li.ok b { color: var(--ax-fg); }
.tk-miles li.ok em { color: var(--ax-ok); }
.tk-miles li.cur em { color: var(--ax-accent); }
.tk-spin { width: 12px; height: 12px; margin: 2px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(91, 155, 255, 0.25); border-top-color: var(--ax-accent); animation: tk-spin 0.9s linear infinite; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
.tk-dot { width: 9px; height: 9px; margin: 4px 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ax-fg3); }
.tk-live { padding: 10px; border-radius: 10px; background: var(--ax-field); }
.tk-live small { display: block; margin-bottom: 4px; font-size: 10.5px; color: var(--ax-fg3); }
.tk-live p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ax-fg2); box-sizing: border-box; }
.tk-caret { display: inline-block; width: 6px; height: 12px; margin-left: 2px; vertical-align: -1px; background: var(--ax-accent); animation: blink 1s steps(1) infinite; }
.tk-files { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-files span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: var(--ax-muted); font: 500 11px/1.4 var(--mono); color: var(--ax-fg2); }
.tk-files .i { width: 12px; height: 12px; }
.tk-files em { font-style: normal; } .tk-files .plus { color: var(--ax-ok); } .tk-files .minus { color: #ff8f88; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-eta { flex: 1; min-width: 0; font-size: 11px; line-height: 1.3; color: var(--ax-ok); }
.tk-foot .ax-btn { flex: none; }
@media (prefers-reduced-motion: reduce) { .tk-spin, .tk-caret { animation: none; } }

.ax-task .st.att::before { background: var(--ax-warn); }
.ax-task .st.done::before { background: var(--ax-fg3); }
.ax-ring { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2.2px solid currentColor; font: 700 12.5px/1 var(--ax-font); font-style: normal; flex: none; }
.ax-ring.t1 { color: #8fd6f4; } .ax-ring.t2 { color: #cb9f1e; } .ax-ring.t3 { color: #9ae3bc; } .ax-ring.t4 { color: #9a85d3; }
.ax-ring.run { position: relative; border-color: transparent; }
.ax-ring.run::before { content: ''; position: absolute; inset: -2.2px; border-radius: 50%; border: inherit; border-width: 2.2px; border-style: dashed; border-color: currentColor; animation: ax-spin 8s linear infinite; }
.ax-ring.done { background: currentColor; font-size: 0; }
.ax-ring.att { border-style: solid; }
@keyframes ax-spin { to { rotate: 360deg; } }
.ax-sub { display: grid; gap: 6px; padding: 4px 16px 14px; align-content: start; }
.ax-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ax-fg3); }
.ax-title { font-size: 15px; font-weight: 650; }
.ax-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-badge, .ax-chipm { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; font-style: normal; }
.ax-badge { background: rgba(91, 155, 255, 0.16); color: var(--ax-accent); }
.ax-chipm { background: var(--ax-field); color: var(--ax-fg); }
.ax-sub .ax-label { margin-top: 6px; }
.ax-code, .ax-term { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ax-bg); box-shadow: inset 0 0 0 0.5px var(--ax-border); font: 12px/1.7 var(--mono); color: var(--ax-fg); white-space: pre; overflow: hidden; }
.ax .ok { color: var(--ax-ok); font-weight: 400; }
.ax-ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 13px; background: var(--ax-sec); box-shadow: inset 0 0 0 0.5px var(--ax-border); font-weight: 600; }
.ax-ask > span:first-child { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.ax-ask .i { color: var(--ax-warn); }
.btns { display: flex; gap: 6px; flex: none; }
.ax-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ax-field); color: var(--ax-fg); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.ax-btn.pri { background: var(--ax-primary); color: #fff; }
.ax-btn.sm { height: 24px; padding: 0 10px; font-size: 12px; }
.ax-taskchip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 13px; background: var(--ax-card); box-shadow: inset 0 0 0 0.5px var(--ax-border); font-size: 13px; }
.ax-taskchip > span:last-child { margin-left: auto; color: var(--ax-fg3); font-size: 12px; }
.ax-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; }
.ax-row b { flex: 1; min-width: 0; font-weight: 600; line-height: 1.25; }
.ax-row > span:last-child:not(.ax-glyph) { font-size: 12px; color: var(--ax-fg3); }
.ax-row.on { background: var(--ax-muted); }
.ax-row.on > .i { color: var(--ax-accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ax-ok); box-shadow: 0 0 10px var(--ax-ok); }
.dot.warn { background: var(--ax-warn); box-shadow: 0 0 10px var(--ax-warn); }

/* One conversation per project: the project menu, open */
.ax-convo { height: clamp(580px, calc(100vh - 200px), 700px); display: flex; flex-direction: column; }
.ax-convo .ax-body { flex: 1; min-height: 0; }
.ax-convo .ax-chat { justify-content: flex-end; }
.ax-menu { position: absolute; z-index: 2; top: 44px; left: 58px; width: min(290px, 70%); padding: 6px; border-radius: 14px; background: rgba(28, 28, 31, 0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 60px -12px rgba(0, 0, 0, 0.8); }
.ax-menu-h { margin: 4px 10px 4px; font-size: 12px; font-weight: 600; color: var(--ax-fg3); }
.ax-glyph { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.ax-glyph .i { width: 14px; height: 14px; }
.ax-glyph.g { background: rgba(91, 155, 255, 0.18); color: var(--ax-accent); }
.ax-glyph.a { background: rgba(143, 214, 244, 0.16); color: #8fd6f4; }
.ax-glyph.b { background: rgba(203, 159, 30, 0.18); color: #cb9f1e; }
.ax-glyph.c { background: rgba(154, 133, 211, 0.2); color: #9a85d3; }
.ax-sep { height: 0.5px; margin: 6px 8px; background: var(--ax-border); }
.ax-row.mem { align-items: flex-start; }
.ax-row.mem > .i { margin-top: 2px; color: var(--ax-fg3); }
.ax-row.mem span { display: grid; gap: 2px; font-size: 12.5px; color: var(--ax-fg); }
.ax-row.mem em { font-style: normal; color: var(--ax-fg2); white-space: normal; }
.cv-stage:not([data-menu="open"]) .ax-menu { opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.96); }
.ax-menu { transform-origin: 30px 0; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s; }
.cv-stage:not([data-menu="open"]) .ax-menu { transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s 0.4s; }

.cv-stage[data-menu="open"] .ax-proj { background: var(--ax-muted); }
.ax-proj { transition: background 0.3s; }

/* Agents: the small pieces of the app shown under the task window */

.ax-stage { display: grid; place-items: center; overflow: visible; font: 13px/1.45 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif; color: var(--ax-fg); }
.ax-stage > .ax { box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.5); }
.ax-perm { width: min(290px, 94%); display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--ax-card); }
.ax-perm .ax-kicker .i { color: var(--ax-warn); }
.ax-perm b { font-weight: 600; }
.ax-perm code { justify-self: start; font: 12px var(--mono); padding: 3px 7px; border-radius: 6px; background: var(--ax-field); }
.ax-check { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ax-fg2); }
.ax-check .i { width: 15px; height: 15px; padding: 2px; border-radius: 4px; background: var(--ax-primary); color: #fff; stroke-width: 3; }
.ax-perm .btns { justify-content: flex-end; margin-top: 4px; }
.ax-steer { width: min(300px, 94%); padding: 10px 0 0; border-radius: 18px; background: var(--ax-card); }
.ax-working { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ax-fg2); font-weight: 600; }
.ax-working .ax-ring { width: 22px; height: 22px; font-size: 10px; border-width: 1.8px; }
.ax-steer .ax-composer { margin: 10px 8px 8px; }
.typed-steer { font-size: 14px; }
.typed-steer::after { content: ''; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--ax-accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ax-steer .row { gap: 10px; }
.ax-steer .ax-btn.pri { margin-left: auto; }
.ax-stage .ax-now { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; }
.ax-nowpop { position: absolute; bottom: 62px; left: 50%; translate: -50% 0; width: min(230px, 90%); padding: 6px; border-radius: 14px; background: rgba(28, 28, 31, 0.94); }
.ax-nowpop .ax-row { padding: 7px 10px; font-weight: 500; }
.ax-fork { width: min(290px, 94%); display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--ax-card); }
.ax-fork .ax-u { font-size: 13.5px; }
.ax-ctx { justify-self: end; width: 200px; padding: 5px; border-radius: 12px; background: rgba(40, 40, 44, 0.96); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 16px 40px -12px #000; }
.ax-ctx > span { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; color: var(--ax-fg); }
.ax-ctx > span.on { background: var(--ax-primary); color: #fff; }

/* Workspace showcase: the conversation and the panes, with real tabs */
/* Three columns of tabs, as the app's own workspace: the conversation, a pane with the tasks,
   the terminal and the changes, and another with the browser, the board and the ideas canvas.
   The window is wider than the text column. Below 1240 px the two panes become one with every
   tab (efectos.js moves them), and on a phone the conversation gives its place to it. */
.showcase.ax { margin-top: 64px; }
.ws { --ws-h: 620px; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.08fr) minmax(0, 1.26fr); grid-auto-rows: var(--ws-h); }
.ws-pane .ax-tab-act { gap: 10px; padding-right: 4px; }
.ws-pane[hidden] { display: none; }
@media (min-width: 1240px) { .showcase.ax { margin-inline: calc((100% - min(1400px, 100vw - 48px)) / 2); } }
@media (max-width: 1239px) {
  .ws { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
  .ws-pane[data-pane="b"] { grid-column: 1 / -1; }
}
.ws-chat .ax-chat { justify-content: flex-end; }
.ws-chat .ax-now { margin-bottom: 2px; }
/* Tab bars work like the app's, which follows Chrome: every tab the same width, with its icon and
   its own name (two terminals or browsers each have theirs) cut with «…» when it does not fit, and
   its × on the open one and on hover; nothing grows on hover. The + opens «Nueva pestaña»; × closes
   a tab and the + brings it back. */
.ws-tabbar { gap: 2px; }
.ws-tabbar .sc-tabs { flex: 0 1 auto; display: flex; align-items: center; gap: 2px; min-width: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.ws-tabbar .sc-tabs::-webkit-scrollbar { display: none; }
.ws-tabbar .sc-tabs.more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.ws-tabbar .sc-tabs.more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px); mask-image: linear-gradient(90deg, transparent, #000 32px); }
.ws-tabbar .sc-tabs.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.ws-pane .sc-tabs button.ax-tab { position: relative; flex: 0 1 auto; min-width: 64px; max-width: 236px; height: 30px; gap: 6px; padding: 0 8px 0 9px; border: 0; border-radius: 9px; background: none; color: var(--ax-fg2); font: 600 13px/1 var(--ax-font); cursor: pointer; transition: background 0.25s, color 0.25s, opacity 0.2s; }
.ws-pane .sc-tabs button.ax-tab:hover { color: var(--ax-fg); background: #232326; }
.ws-pane .sc-tabs button.ax-tab.on { background: var(--ax-muted); color: var(--ax-fg); }
.ws-pane .ax-tab .l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
/* A background tab keeps its width: its × comes over the end of the name, on the tab's own colour. */
.ws-pane .ax-tab .x { position: absolute; right: 5px; top: 5px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: var(--ax-fg3); background: #232326; box-shadow: -10px 0 8px -2px #232326; opacity: 0; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.ws-pane .sc-tabs button.ax-tab.on { padding-right: 4px; }
/* When the names would not fit (efectos.js measures the bar), the tabs behind are their icon
   alone and the open one keeps its name, as a browser does with many tabs: nothing scrolls out. */
.ws-pane .sc-tabs.tight button.ax-tab:not(.on) { flex: none; width: 30px; min-width: 30px; padding: 0; justify-content: center; }
.ws-pane .sc-tabs.tight button.ax-tab:not(.on) .l, .ws-pane .sc-tabs.tight button.ax-tab:not(.on) .x { display: none; }
.ws-pane .sc-tabs.tight button.ax-tab.on { flex: 0 1 auto; width: auto; min-width: 84px; max-width: 230px; }
/* Still short of room: the pane's own buttons and the × step aside; and if the open tab's name
   does not fit even then, every tab is its icon. A name is whole or it is not there. */
.ws-tabbar.lean .ax-tab-act, .ws-tabbar.lean .sc-tabs button.ax-tab.on .x { display: none; }
.ws-tabbar.lean .sc-tabs button.ax-tab.on { padding-right: 9px; }
.ws-pane .sc-tabs.bare button.ax-tab.on { flex: none; width: 30px; min-width: 30px; padding: 0; justify-content: center; }
.ws-pane .sc-tabs.bare button.ax-tab.on .l { display: none; }
.ws-pane .ax-tab.on .x { position: static; flex: none; width: 18px; background: none; box-shadow: none; }
.ws-pane .ax-tab .x .i { width: 12px; height: 12px; }
.ws-pane .ax-tab.on .x, .ws-pane .ax-tab:hover .x { opacity: 1; }
.ws-pane .ax-tab .x:hover { color: var(--ax-fg); background: #2e2e32; }
.ws-pane .ax-tab.closing { opacity: 0; }
.ws-pane .sc-tabs button.ax-tab[hidden] { display: none; }
.ws-tabbar .sc-add { border: 0; border-radius: 9px; background: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.ws-tabbar .sc-add:hover, .ws-tabbar .sc-add[aria-expanded="true"] { color: var(--ax-fg); background: rgba(255, 255, 255, 0.06); }
.sc-peek { position: absolute; z-index: 6; top: 0; left: 0; max-width: 280px; padding: 8px 11px 9px; border-radius: 10px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border), 0 14px 32px -10px rgba(0, 0, 0, 0.75); font: 500 12px/1.35 var(--ax-font); pointer-events: none; opacity: 0; transform: translateY(-3px); transition: opacity 0.14s, transform 0.14s; }
.sc-peek.on { opacity: 1; transform: none; }
.sc-peek b { display: block; color: var(--ax-fg); font-weight: 600; font-size: 12.5px; overflow-wrap: anywhere; }
.sc-peek span { display: block; margin-top: 3px; color: var(--ax-fg3); line-height: 1.3; overflow-wrap: anywhere; }
@media (hover: none) { .sc-peek { display: none; } }
.sc-new { position: absolute; z-index: 5; top: 44px; left: 8px; width: 300px; max-width: calc(100% - 16px); display: grid; gap: 1px; padding: 6px; border-radius: 12px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border), 0 18px 40px -12px rgba(0, 0, 0, 0.7); font: 500 13px/1 var(--ax-font); color: var(--ax-fg); transform-origin: top left; animation: sc-pop 0.18s var(--ease); }
.sc-new[hidden] { display: none; }
@keyframes sc-pop { from { opacity: 0; transform: scale(0.97) translateY(-4px); } }
.sc-new-q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-bottom: 4px; border-radius: 8px; background: var(--ax-field, rgba(255, 255, 255, 0.05)); color: var(--ax-fg3); white-space: nowrap; overflow: hidden; }
.sc-new-q span { overflow: hidden; text-overflow: ellipsis; }
.sc-new-h { padding: 8px 10px 6px; font-size: 11.5px; color: var(--ax-fg3); }
.sc-new button { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sc-new button:hover, .sc-new button:focus-visible { background: rgba(255, 255, 255, 0.06); outline: none; }
.sc-new button .i { color: var(--ax-fg2); }
.ws-views { position: relative; flex: 1; container: pane / inline-size; }
.ws-views .view { padding: 2px 8px 10px; }
.ws-views .view .ax-task { margin-left: 0; margin-right: 0; }
.ax-subtabs { display: flex; gap: 4px; margin-bottom: 8px; }
.ax-subtabs span { padding: 5px 10px; border-radius: 8px; color: var(--ax-fg2); font: 600 12px/1 var(--mono); }
.ax-subtabs span.on { background: var(--ax-muted); color: var(--ax-fg); }
.ax-term { padding: 14px; font-size: 12.5px; line-height: 1.8; }
.ax-term .p { color: var(--ax-accent); }
.ax-term .dim { color: var(--ax-fg3); }
.ax-term .caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -0.2em; margin-left: 4px; background: var(--ax-fg); animation: blink 1s steps(1) infinite; }
.ax-term { flex: 1; min-height: 0; white-space: pre-wrap; }
.ax-term .mod { color: var(--ax-warn); }
.ax-term .sel { background: rgba(91, 155, 255, 0.26); color: inherit; }
.ax-term .quote { position: static; margin: 4px 0 6px; font-family: var(--ax-font); line-height: 1; white-space: nowrap; }
/* The task that opens takes the room of the last ones: they step out first, so no row is ever
   left half under the edge of the pane. */
.view[data-view="tasks"] > .ax-task { transition: opacity 0.22s; }
.view[data-view="tasks"].opened > .ax-task:nth-child(n+4) { opacity: 0; }
@media (max-width: 760px) {
  .ws { grid-template-columns: minmax(0, 1fr); }
  .ws-chat { display: none; }
  .ws-pane .ax-tab-act { display: none; }
  .ax-filters span { padding: 6px 9px; }
  .view[data-view="tasks"].opened > .ax-task:nth-child(n+3) { opacity: 0; }
  .tk-eta { white-space: normal; }
  .ax-top .ax-tools svg:nth-child(-n+2) { display: none; }
}

/* Creator mode: ask for a plugin in the conversation; Noondra writes it, tests it and it opens
   beside the chat, each in its own tab. A small window with only the chat; when the first plugin
   is ready the window widens past the text column and unfolds a second pane for them. */
.creator.ax { --w: 50%; width: var(--w); height: 690px; display: flex; flex-direction: column; margin: 48px calc((100% - var(--w)) / 2) 0; transition: width 0.6s var(--ease) 0.22s, margin 0.6s var(--ease) 0.22s; }
.creator.ax.open { --w: 100%; transition-delay: 0s; }
@media (min-width: 1240px) { .creator.ax.open { --w: min(1400px, 100vw - 48px); } }
.creator .ax-body { flex: 1; min-height: 0; }
.ax-body.cr-body { grid-template-columns: minmax(0, 1fr) minmax(0, 0fr); gap: 0; transition: grid-template-columns 0.6s var(--ease) 0.22s, gap 0.6s var(--ease) 0.22s; }
.creator.open .ax-body.cr-body { transition-delay: 0s; }
.creator.open .ax-body.cr-body { grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); gap: 8px; }
.creator .ax-chat { justify-content: flex-end; gap: 12px; }
.creator .ax-tab-act { white-space: nowrap; }
@media (max-width: 1239px) { .creator.ax { --w: 70%; } }
.cr-turn { display: grid; gap: 10px; }
.cr-turn .ax-u { justify-self: end; }
.creator .ax-composer { display: block; }
.creator .typed:not(:empty) ~ .ph, .creator .typed:empty ~ .caret { display: none; }
.creator .typed { font-size: 14px; }
.cr-work { justify-self: start; display: grid; gap: 9px; max-width: 92%; padding: 12px 14px; border-radius: 12px; background: var(--ax-field); box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.cr-work-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cr-work-h b { font-weight: 600; }
.cr-work-h .i { color: var(--ax-accent); }
.cr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--ax-fg2); }
.cr-steps li { display: flex; align-items: center; gap: 8px; transition: opacity 0.35s var(--ease); }
.cr-steps .i { flex: none; color: var(--ax-ok); transition: opacity 0.35s var(--ease); }
.cr-ok { color: var(--ax-fg2); }
.creator.cr-run .cr-turn:not(.shown) { display: none; }
.creator.cr-run .cr-turn > * { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.creator.cr-run .cr-turn.sent > .cr-work { transition-delay: 0.2s; }
.creator.cr-run .cr-turn:not(.sent) > .ax-u, .creator.cr-run .cr-turn:not(.sent) > .cr-work, .creator.cr-run .cr-turn:not(.done) > .cr-ok { opacity: 0; transform: translateY(8px); }
.creator.cr-run .cr-turn:not(.done) > .cr-ok { transform: translateY(4px); }
.creator.cr-run .cr-steps li:not(.on) { opacity: 0.42; }
.creator.cr-run .cr-steps li:not(.on) .i { opacity: 0; }

.cr-stage { opacity: 0; transition: opacity 0.2s; }
.creator.open .cr-stage { opacity: 1; transition: opacity 0.45s var(--ease) 0.5s; }
.cr-tabs { min-height: 46px; flex: none; }
.creator.cr-run .cr-tabs .ax-tab:not(.shown) { display: none; }
.cr-tabs .ax-tab.shown { animation: cr-in 0.45s var(--ease) both; }
.cr-tabs .ax-tab { flex: 0 1 auto; max-width: 230px; min-width: 34px; cursor: pointer; transition: background 0.25s, color 0.25s; }
/* When the four names do not fit, only the open tab keeps its name (efectos.js measures it). */
.cr-tabs.tight .ax-tab:not(.on) > span, .cr-tabs.tight .ax-tab:not(.on) > .x { display: none; }
.cr-tabs.tight .ax-tab:not(.on) { flex: none; width: 34px; padding: 0; justify-content: center; }
.cr-tabs .ax-tab > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.cr-tabs .ax-tab > .x { flex: none; opacity: 0; transition: opacity 0.2s; }
.cr-tabs .ax-tab.on > .x, .cr-tabs .ax-tab:hover > .x { opacity: 1; }
.cr-tabs .ax-tab:hover { color: var(--ax-fg); }
@keyframes cr-in { from { opacity: 0; transform: translateY(6px); } }
.cr-views { container: stage / inline-size; position: relative; flex: 1; min-height: 0; margin: 0 8px 8px; border-radius: 10px; overflow: hidden; background: #07090e; }
.cr-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s; }
.cr-view.on { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.cr-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ax-ok); }
.cr-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ax-ok); animation: cr-pulse 1.8s infinite; }
@keyframes cr-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 196, 106, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(76, 196, 106, 0); } }
/* A button that says what it did once it is done. */
.cr-view .ax-btn { cursor: pointer; }
.cr-view .ax-btn.pri { display: inline-grid; grid-template-columns: auto auto; transition: background 0.3s; }
.cr-view .ax-btn .go, .cr-view .ax-btn .done { grid-area: 1 / 2; transition: opacity 0.25s; }
.cr-view .ax-btn .done { opacity: 0; }

/* «Sala de control»: the shop in production. The map and the foot are one canvas (plugins.js);
   the names of the services, the figures and the warning are text placed over it. */
.cr-ops { background: radial-gradient(90% 70% at 74% 36%, rgba(47, 124, 246, 0.2), transparent 64%), radial-gradient(60% 50% at 8% 0%, rgba(47, 124, 246, 0.08), transparent 70%), radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1.5px) 0 0 / 22px 22px, #06080d; }
.op-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.op-head { position: absolute; left: 22px; top: 18px; display: grid; gap: 8px; justify-items: start; }
.op-env { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; letter-spacing: -0.01em; font-weight: 650; color: #fff; white-space: nowrap; }
.op-ver { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.09); font: 600 12px var(--mono); }
.op-kpis { position: absolute; right: 22px; top: 18px; margin: 0; display: flex; text-align: right; }
.op-kpis div { display: grid; gap: 5px; padding-left: 22px; }
.op-kpis div + div { margin-left: 22px; border-left: 1px solid var(--ax-line); }
.op-kpis dd { margin: 0; font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; transition: color 0.4s; }
.op-kpis dt { font-size: 11.5px; color: var(--ax-fg3); white-space: nowrap; }
.cr-ops:not([data-phase="ok"]) .op-err dd { color: #ff6b63; }
.op-node { position: absolute; display: grid; justify-items: center; gap: 1px; transform: translateX(-50%); white-space: nowrap; pointer-events: none; text-shadow: 0 1px 8px #07090e, 0 0 3px #07090e; }
.op-node b { font-size: 12.5px; font-weight: 600; color: #fff; }
.op-dot { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 22%, #1a2b47, #0a111e 72%); box-shadow: inset 0 0 0 1px rgba(108, 200, 245, 0.55), inset 0 1px 0 0 rgba(255, 255, 255, 0.22), 0 0 0 5px rgba(108, 200, 245, 0.06), 0 8px 20px -8px #000; color: #d9efff; pointer-events: none; transition: background 0.4s, box-shadow 0.4s, color 0.4s; }
.op-dot .i { width: 17px; height: 17px; stroke-width: 1.7; }
.cr-ops:not([data-phase="ok"]) .op-dot[data-n="pay"] { background: radial-gradient(circle at 50% 22%, #4a1c1b, #1d0b0b 72%); box-shadow: inset 0 0 0 1px rgba(255, 107, 99, 0.85), inset 0 1px 0 0 rgba(255, 255, 255, 0.18), 0 0 0 5px rgba(255, 107, 99, 0.1), 0 0 26px rgba(255, 107, 99, 0.3); color: #ffd9d6; }
.cr-ops.narrow .op-dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cr-ops.narrow .op-dot .i { width: 14px; height: 14px; }
.op-node em { font-style: normal; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--ax-fg3); transition: color 0.3s; }
.cr-ops:not([data-phase="ok"]) .op-node[data-n="pay"] em { color: #ff6b63; }
.op-time { position: absolute; left: 22px; bottom: 40px; font-size: 11.5px; font-weight: 600; color: var(--ax-fg2); }
.op-alert, .op-ok { position: absolute; left: 18px; bottom: 104px; opacity: 0; transform: translateY(10px) scale(0.985); transform-origin: 0 100%; pointer-events: none; transition: opacity 0.35s, transform 0.45s var(--ease); }
.op-alert { width: min(410px, calc(100% - 36px)); display: grid; gap: 11px; padding: 15px 16px 14px; border-radius: 14px; background: linear-gradient(180deg, rgba(44, 20, 21, 0.92), rgba(22, 13, 15, 0.94)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 0.5px rgba(255, 107, 99, 0.55), inset 0 1px 0 0 rgba(255, 255, 255, 0.07), 0 28px 60px -20px #000; }
.cr-ops.alert .op-alert, .cr-ops.healed .op-ok { opacity: 1; transform: none; pointer-events: auto; }
.op-al-h { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.op-al-h .i { margin-top: 2px; color: #ff6b63; }
.op-al-h b { font-weight: 650; color: #fff; }
.op-why { margin: 0; display: grid; grid-template-columns: 15px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ax-fg2); }
.op-why .cv-who { width: 15px; height: 15px; margin-top: 2px; font-size: 8px; }
.op-diff { margin: 0; padding: 8px 10px; border-radius: 9px; background: #0b0c10; box-shadow: inset 0 0 0 0.5px var(--ax-border); font: 11.5px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.op-diff .f { color: var(--ax-fg3); }
.op-diff .del { color: #ffb3b5; }
.op-diff .add { color: #a9efbd; }
.op-alert .btns { justify-content: flex-end; flex-wrap: wrap; }
.op-back .i { width: 13px; height: 13px; }
.cr-ops.busy-back .op-back, .cr-ops.busy-fix .op-fix { opacity: 0.75; }
.cr-ops.busy-back .op-back .i { animation: tk-spin 0.8s linear infinite reverse; }
.cr-ops.busy-fix .op-fix::before { content: ''; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: tk-spin 0.8s linear infinite; }
.op-ok { display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 11px 14px 11px 12px; border-radius: 12px; background: rgba(13, 26, 18, 0.92); box-shadow: 0 0 0 0.5px rgba(76, 196, 106, 0.5), 0 18px 40px -18px #000; }
.op-ok .i { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ax-ok); color: #fff; stroke-width: 3; }
.op-ok > span { display: grid; gap: 1px; min-width: 0; }
.op-ok b { font-size: 13px; font-weight: 650; color: #fff; }
.op-ok span span { font-size: 12px; line-height: 1.4; color: var(--ax-fg2); }
.op-ok .v-fix, .cr-ops.fixed .op-ok .v-back { display: none; }
.cr-ops.fixed .op-ok .v-fix { display: grid; }
/* A pane without the width for the fan: the path along the top, what the API depends on below,
   and the warning as a sheet over the foot. Narrower still, the essentials. */
.cr-ops.rows .op-alert { left: 8px; bottom: 8px; width: calc(100% - 16px); background: #1a1112; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cr-ops .op-time { transition: opacity 0.3s; }
.cr-ops.rows.alert .op-time { opacity: 0; }
.cr-ops.rows .op-ok { left: 8px; bottom: 76px; max-width: calc(100% - 16px); }
.cr-ops.narrow .op-head { left: 14px; top: 14px; }
.cr-ops.narrow .op-env { font-size: 13px; }
.cr-ops.narrow .op-kpis { right: 14px; top: 14px; }
.cr-ops.narrow .op-kpis div { padding-left: 9px; }
.cr-ops.narrow .op-kpis div + div { margin-left: 9px; }
.cr-ops.narrow .op-kpis div:first-child { display: none; }
.cr-ops.narrow .op-kpis dd { font-size: 19px; }
.cr-ops.narrow .op-node b { font-size: 11px; }
.cr-ops.narrow .op-node em { font-size: 10.5px; }
.cr-ops.narrow .op-time { left: 14px; }
.cr-ops.narrow .op-alert { gap: 8px; padding: 12px; }
.cr-ops.narrow .op-diff, .cr-ops.narrow .op-fix { display: none; }

/* «Cuentas»: the quarter. Each invoice is read under a passing light, lands beside the bank
   payment that settles it, and the tax adds itself up. */
.cr-books { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 16px; font-size: 12.5px; color: var(--ax-fg2); background: radial-gradient(70% 60% at 14% 46%, rgba(47, 124, 246, 0.1), transparent 70%), #06080d; }
/* The line under the title fills as the invoices are read. */
.bk-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ax-line); }
.bk-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: calc(var(--read, 0) * 100%); height: 2px; border-radius: 2px; background: linear-gradient(90deg, #2f7cf6, #6cc8f5); transition: width 0.3s var(--ease); }
.bk-head > b { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.bk-read { display: inline-flex; gap: 8px; font-size: 12px; color: var(--ax-fg3); white-space: nowrap; }
.bk-read b { font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.bk-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr); gap: 30px; align-items: center; }
.bk-desk { container-type: inline-size; position: relative; display: grid; place-items: center; }
.bk-sheet, .bk-paper { grid-area: 1 / 1; width: min(100%, 244px); aspect-ratio: 0.76; border-radius: 5px; background: #f6f3ec; box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 22px 44px -18px #000, 0 2px 6px rgba(0, 0, 0, 0.35); }
.bk-sheet { background-image: linear-gradient(rgba(60, 52, 40, 0.16), rgba(60, 52, 40, 0.16)), repeating-linear-gradient(to bottom, rgba(60, 52, 40, 0.1) 0 5px, transparent 5px 14px); background-size: 44% 9px, calc(100% - 28px) 46%; background-position: 14px 18px, 14px 62px; background-repeat: no-repeat; }
.bk-sheet.s1 { transform: rotate(-3deg) translate(-5px, 5px); background-color: #e4e0d6; }
.bk-sheet.s2 { transform: rotate(4deg) translate(8px, 9px); background-color: #d4d0c6; }
.bk-paper { position: relative; display: flex; flex-direction: column; gap: 0.76em; box-sizing: border-box; padding: 1.43em 1.33em 1.24em; overflow: hidden; color: #24211c; font-size: clamp(6px, 4.45cqw, 10.5px); }
.bk-paper.out { transform: translate(40%, -6%) rotate(7deg) scale(0.9); opacity: 0; transition: transform 0.26s var(--ease), opacity 0.26s; }
.bk-paper.fresh { animation: bk-rise 0.24s var(--ease) both; }
@keyframes bk-rise { from { opacity: 0; transform: translateY(8px) scale(0.975); } }
.bk-p-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6em; padding-bottom: 0.86em; border-bottom: 1px solid #d8d2c6; }
.bk-who { display: inline-flex; align-items: center; gap: 0.5em; font: 700 1.24em/1.1 Georgia, 'Times New Roman', serif; white-space: nowrap; }
.bk-who::before { content: ''; flex: none; width: 0.9em; height: 0.9em; border-radius: 50%; background: #24211c; box-shadow: inset -0.28em -0.28em 0 0 #f6f3ec, inset 0 0 0 0.9em #24211c; }
.bk-num { font: 0.9em var(--mono); color: #7a7368; white-space: nowrap; }
.bk-f { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 0.76em; margin: 0 -0.57em; padding: 0.29em 0.57em; border-radius: 0.48em; transition: background 0.2s, box-shadow 0.2s; }
.bk-f em { font-style: normal; font-size: 0.95em; color: #8a8377; }
.bk-f b { font: 600 1.05em var(--mono); white-space: nowrap; }
.bk-f.f2 { border-top: 0; }
.bk-f.f4 { margin-top: 0.19em; }
.bk-f.f4 b { font-size: 1.19em; }
.bk-f.hit { background: rgba(47, 124, 246, 0.14); box-shadow: inset 0 0 0 1.2px #2f7cf6; }
.bk-f.hit em { color: #1f5fd1; }
/* What was bought: a description to the left and its amount to the right, line after line. */
.bk-lines { flex: 1; display: grid; align-content: space-evenly; padding: 0.3em 0 0.5em; }
.bk-lines i { height: 0.48em; border-radius: 0.1em; background: linear-gradient(#d9d3c6, #d9d3c6) 0 0 / var(--w, 58%) 100% no-repeat, linear-gradient(#d9d3c6, #d9d3c6) 72% 0 / 7% 100% no-repeat, linear-gradient(#cfc8ba, #cfc8ba) 100% 0 / var(--p, 15%) 100% no-repeat; }
.bk-lines i:first-child { height: 1px; background: #24211c; opacity: 0.55; }
.bk-lines i:nth-child(2) { --w: 46%; --p: 13%; } .bk-lines i:nth-child(3) { --w: 34%; --p: 16%; } .bk-lines i:nth-child(4) { --w: 52%; --p: 12%; } .bk-lines i:nth-child(5) { --w: 38%; } .bk-lines i:nth-child(6) { --w: 44%; --p: 17%; } .bk-lines i:nth-child(7) { --w: 29%; --p: 12%; }
.bk-scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; border-bottom: 1.5px solid #4f93ff; background: linear-gradient(to bottom, rgba(79, 147, 255, 0), rgba(79, 147, 255, 0.28)); opacity: 0; pointer-events: none; }
.bk-paper.scan .bk-scan { animation: bk-scan var(--scan, 1s) linear both; }
@keyframes bk-scan { from { opacity: 1; transform: translateY(-100%); } 85% { opacity: 1; } to { opacity: 0; transform: translateY(340%); } }
.bk-paper.flick { animation: bk-flick 0.17s linear 6; }
@keyframes bk-flick { 50% { transform: translate(26%, -4%) rotate(5deg); opacity: 0.25; } }
.bk-table { container-type: inline-size; min-width: 0; display: grid; }
.bk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 48px 88px 44px 48px 92px; column-gap: 8px; padding: 0 2px 9px; border-bottom: 1px solid var(--ax-border); font-size: 11.5px; font-weight: 600; color: var(--ax-fg3); }
.bk-cols span:first-child { grid-column: 1 / 4; }
.bk-cols span:last-child { grid-column: 5 / 7; }
.bk-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px 88px 44px 48px 92px; align-items: center; column-gap: 8px; height: 35px; padding: 0 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transform: translateX(-12px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.bk-row.in { opacity: 1; transform: none; }
.bk-row .who { overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: #fff; }
.bk-row .d { font-size: 11.5px; color: var(--ax-fg3); }
.bk-row b { justify-self: end; font-weight: 600; color: var(--ax-fg); }
.bk-row b:last-child { color: var(--ax-fg2); }
.bk-link { position: relative; align-self: stretch; display: grid; place-items: center; font-style: normal; }
.bk-link::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: linear-gradient(90deg, rgba(76, 196, 106, 0.15), var(--ax-ok)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s var(--ease); }
.bk-link .i { position: relative; width: 17px; height: 17px; padding: 3.5px; box-shadow: 0 0 0 3px #06080d; box-sizing: border-box; border-radius: 50%; background: var(--ax-ok); color: #fff; stroke-width: 3.5; transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) 0.12s; }
.bk-row.ok .bk-link::before, .bk-row.ok .bk-link .i { transform: none; }
/* A payment with no invoice: the place where it should be stays open, drawn in dashes. */
.bk-row.loose > b:empty { justify-self: stretch; height: 17px; box-sizing: border-box; border: 1px dashed rgba(240, 168, 58, 0.6); border-radius: 5px; background: rgba(240, 168, 58, 0.06); }
.bk-row.loose .bk-link { justify-self: center; align-self: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ax-warn); color: #1c1407; font: 800 10.5px/16px var(--ax-font); text-align: center; }
.bk-row.loose .bk-link::before { content: none; }
.bk-row.loose b:last-child { color: var(--ax-warn); }
@container (max-width: 470px) { .bk-link::before { content: none; } .bk-row, .bk-cols { grid-template-columns: minmax(0, 1fr) 80px 28px 84px; column-gap: 6px; } .bk-row .d { display: none; } .bk-cols span:first-child { grid-column: 1 / 3; } .bk-cols span:last-child { grid-column: 4; justify-self: end; } }
@container (max-width: 345px) { .bk-row, .bk-cols { grid-template-columns: minmax(0, 1fr) 28px 88px; } .bk-row > b:not(:last-child) { display: none; } .bk-cols span:first-child { grid-column: 1; } .bk-cols span:last-child { grid-column: 3; } }
.bk-sum { display: flex; align-items: flex-end; gap: 18px; padding: 16px 2px 2px; border-top: 1px solid var(--ax-border); opacity: 0.4; transition: opacity 0.4s; }
.cr-books.summed .bk-sum { opacity: 1; }
.bk-sum div { display: grid; gap: 6px; min-width: 0; }
.bk-sum span { font-size: 11.5px; color: var(--ax-fg3); }
.bk-sum b { font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.bk-sum > i { padding-bottom: 2px; font-style: normal; font-size: 18px; color: var(--ax-fg3); }
.bk-sum .due { margin-left: auto; text-align: right; }
.bk-sum .due b { font-size: 34px; letter-spacing: -0.03em; color: #6cc8f5; }
.bk-sum .due span { color: var(--ax-fg2); }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.bk-miss { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--ax-warn); opacity: 0; transition: opacity 0.4s; }
.cr-books.missing .bk-miss { opacity: 1; }
.bk-export { flex: none; }
.cr-books.saved .bk-export { background: #2f7d4f; }
.cr-books.saved .bk-export .go { opacity: 0; }
.cr-books.saved .bk-export .done { opacity: 1; }

/* «Sala de montaje»: the same ad on three screens, one per format, over its timeline. */
.cr-cut { display: flex; flex-direction: column; background: radial-gradient(80% 90% at 50% 0%, rgba(47, 124, 246, 0.1), transparent 70%), #06080d; }
.ct-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 22px; padding: 18px 0 14px; border-bottom: 1px solid var(--ax-line); white-space: nowrap; }
.ct-top b { display: inline-flex; align-items: baseline; gap: 9px; min-width: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.ct-top b span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ct-logo { font: 700 17px/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.04em; }
.ct-spec { font: 12px var(--mono); color: var(--ax-fg3); }
.ct-mons { container-type: inline-size; flex: 1; min-height: 0; display: flex; align-items: flex-start; align-content: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 22px; padding: 16px 0; }
.ct-mon { margin: 0; display: grid; gap: 7px; min-width: 0; }
.ct-screen { position: relative; container-type: size; height: min(262px, calc((100cqw - 24px) / 3.345)); border-radius: 9px; overflow: hidden; background: #000; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 26px 50px -22px #000, 0 0 60px -18px rgba(47, 124, 246, 0.35); }
.ct-mon.r169 .ct-screen { aspect-ratio: 16 / 9; }
.ct-mon.r11 .ct-screen { aspect-ratio: 1; }
.ct-mon.r916 .ct-screen { aspect-ratio: 9 / 16; }
.ct-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; -webkit-user-drag: none; }
.ct-screen img.on { opacity: 1; will-change: transform; }
.ct-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ct-flash.go { animation: ct-flash 0.24s ease-out; }
@keyframes ct-flash { from { opacity: 0.38; } }
.ct-titles { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent 58%); }
.ct-titles > * { grid-area: 1 / 1; opacity: 0; transform: translateY(7cqh); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); transition: opacity 0.35s, transform 0.55s var(--ease); }
.ct-t { align-self: end; min-width: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; margin-bottom: 9cqh; padding: 0 6cqw; font: 400 clamp(8px, 6.4cqw, 24px)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -0.01em; }
.ct-brand { align-self: center; margin-bottom: 8cqh; font: 700 clamp(16px, 17cqw, 66px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.045em; }
.ct-mon.r11 .ct-t { font-size: clamp(8px, 8.4cqw, 22px); }
.ct-mon.r916 .ct-t { padding: 0 7cqw; font-size: clamp(8px, 11.5cqw, 20px); line-height: 1.08; }
.ct-mon.r916 .ct-brand { font-size: clamp(14px, 28cqw, 52px); }
.ct-screen[data-title="1"] .t1, .ct-screen[data-title="2"] .t2, .ct-screen[data-title="3"] .t3, .ct-screen[data-title="3"] .ct-brand { opacity: 1; transform: none; }
.ct-mon figcaption { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 6px; padding-bottom: 8px; font-size: 11.5px; white-space: nowrap; }
.ct-mon figcaption b { font-weight: 650; color: #fff; }
/* The size of each cut, and its weight in its place once it is exported. */
.ct-meta { display: inline-grid; justify-items: end; font-variant-numeric: tabular-nums; }
.ct-meta > * { grid-area: 1 / 1; transition: opacity 0.3s; }
.ct-res { color: var(--ax-fg3); }
.ct-mon figcaption em { font-style: normal; color: var(--ax-ok); opacity: 0; }
.ct-mon.done figcaption em { opacity: 1; }
.ct-mon.done .ct-res { opacity: 0; }
.ct-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.ct-prog::after { content: ''; position: absolute; inset: 0; background: #6cc8f5; transform: scaleX(0); transform-origin: 0 50%; }
.ct-mon.busy .ct-prog::after { transform: none; transition: transform 0.85s linear; }
.ct-mon.done .ct-prog::after { transform: none; background: var(--ax-ok); }
.ct-bar { display: flex; align-items: center; gap: 10px; padding: 11px 22px 4px; border-top: 1px solid var(--ax-line); background: #0a0c12; font-size: 12px; color: var(--ax-fg3); white-space: nowrap; }
.ct-play { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #0b0d12; cursor: pointer; }
.ct-play .i { width: 13px; height: 13px; fill: currentColor; stroke-width: 0; }
.ct-play .pl, .cr-cut.paused .ct-play .pa { display: none; }
.cr-cut.paused .ct-play .pl { display: block; margin-left: 2px; }
.ct-tc { margin-left: 2px; font: 600 15px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: #fff; }
.ct-len { font: 12px var(--mono); }
.ct-bpm { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.ct-bpm .i { width: 12px; height: 12px; }
.ct-export { margin-left: auto; flex: none; }
.cr-cut.exporting .ct-export { opacity: 0.7; }
.cr-cut.exported .ct-export { background: #2f7d4f; }
.cr-cut.exported .ct-export .go { opacity: 0; }
.cr-cut.exported .ct-export .done { opacity: 1; }
.ct-tl { position: relative; display: grid; gap: 5px; padding: 8px 22px 18px; background: #0a0c12; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.ct-track { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 8px; }
.ct-tn { overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: var(--ax-fg3); white-space: nowrap; }
.ct-lane { --f: 52px; position: relative; height: var(--f); border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, 0.035); }
.ct-track.t .ct-lane { height: 26px; }
.ct-track.a .ct-lane { height: 40px; }
.ct-rule { position: relative; height: 17px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px calc(100% / 15)) 0 100% / 100% 5px no-repeat; font: 9.5px var(--mono); color: var(--ax-fg3); }
.ct-rule span { position: absolute; top: 0; left: calc(var(--a) / 15 * 100%); padding-left: 4px; line-height: 1; }
.ct-rule .end { left: auto; right: 0; padding: 0 4px 0 0; border-right: 1px solid rgba(255, 255, 255, 0.26); height: 100%; }
/* A clip is a strip of frames, as in any editor; the one on screen is the one lit. */
.ct-clip { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 15 * 100%); width: calc((var(--b) - var(--a)) / 15 * 100% - 2px); box-sizing: border-box; border-radius: 5px; overflow: hidden; background-size: var(--f) var(--f); background-repeat: repeat-x; filter: saturate(0.85) brightness(0.72); transition: filter 0.2s; }
.ct-clip::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent 0 calc(var(--f) - 1px), rgba(6, 8, 13, 0.6) calc(var(--f) - 1px) var(--f)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: box-shadow 0.2s; }
.ct-clip.on { filter: none; }
.ct-clip.on::after { box-shadow: inset 0 0 0 1.5px #fff; }
.ct-track.t .ct-clip { display: flex; align-items: center; padding: 0 8px; background: rgba(79, 147, 255, 0.2); filter: none; font-size: 10.5px; font-weight: 600; color: #d6e6ff; }
.ct-track.t .ct-clip::after { background: none; box-shadow: inset 0 0 0 1px rgba(108, 170, 255, 0.6), inset 3px 0 0 0 #5b9bff; }
.ct-track.t .ct-clip span { overflow: hidden; white-space: nowrap; }
.ct-track.t .ct-clip.tight span { visibility: hidden; }
.ct-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-head { position: absolute; top: 0; bottom: 0; left: 0; width: 1.5px; margin-left: -0.75px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.55); pointer-events: none; will-change: transform; }
.ct-head::before { content: ''; position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 2px 2px 5px 5px; background: #fff; }

/* «Estudio de fotos»: before and after on one photo, split by a line you can drag; beside it the
   light, the warmth and the contrast of the result, and the crop for each place it will go. */
.ph-cmp { --x: 1; position: absolute; inset: 0 196px 72px 0; overflow: hidden; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.ph-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; pointer-events: none; -webkit-user-drag: none; }
.ph-after { filter: var(--tone, none); }
.ph-tint { position: absolute; inset: 0; background: var(--tint, transparent); opacity: var(--tint-a, 0); mix-blend-mode: soft-light; pointer-events: none; }
.ph-before { clip-path: inset(0 calc(100% - var(--x) * 100%) 0 0); }
.ph-line { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, 0.35); pointer-events: none; }
.ph-line i { position: absolute; top: 50%; left: 50%; translate: calc((0.5 - var(--x)) * 36px) 0; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; color: #111316; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); transition: transform 0.2s var(--ease); }
.ph-line .i { width: 13px; height: 13px; stroke-width: 2.5; }
.ph-line .i:first-child { transform: rotate(90deg); margin-right: -2px; }
.ph-line .i:last-child { transform: rotate(-90deg); margin-left: -2px; }
.ph-cmp.drag .ph-line i { transform: scale(1.12); }
.ph-tag { position: absolute; top: 14px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); pointer-events: none; transition: opacity 0.3s; }
.ph-tag.a { left: 16px; } .ph-tag.b { right: 16px; }
.ph-cmp.no-a .ph-tag.a, .ph-cmp.no-b .ph-tag.b, .ph-cmp.cropped .ph-tag { opacity: 0; }
/* The crop: what stays is lit, the rest of the photo steps back; thirds as in any camera. */
.ph-crop { position: absolute; left: var(--l, 0px); top: var(--t, 0px); width: var(--w, 100%); height: var(--h, 100%); box-sizing: border-box; border: 1.5px solid #fff; box-shadow: 0 0 0 2000px rgba(7, 9, 14, 0.66); background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)) 33.33% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)) 66.66% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)) 0 33.33% / 100% 1px no-repeat, linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)) 0 66.66% / 100% 1px no-repeat; opacity: 0; pointer-events: none; transition: left 0.55s var(--ease), top 0.55s var(--ease), width 0.55s var(--ease), height 0.55s var(--ease), opacity 0.3s; }
.ph-cmp.cropped .ph-crop { opacity: 1; }
.ph-side { position: absolute; top: 0; right: 0; bottom: 72px; width: 196px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; border-left: 1px solid rgba(255, 255, 255, 0.06); background: #0a0c12; font-size: 12px; color: var(--ax-fg2); }
.ph-h { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ax-fg3); }
.ph-h ~ .ph-h { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ax-line); }
.ph-sl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 2px 0 6px; cursor: ew-resize; touch-action: none; -webkit-user-select: none; user-select: none; }
.ph-sl b { font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
/* A slider is measured from its middle, as in a darkroom: the bar grows from the notch. */
.ph-tr { grid-column: 1 / -1; position: relative; height: 3px; border-radius: 3px; background: linear-gradient(#fff, #fff) 50% 50% / 1px 9px no-repeat, rgba(255, 255, 255, 0.14); overflow: visible; }
.ph-tr::before { content: ''; position: absolute; top: 0; bottom: 0; left: min(50%, var(--v) * 100%); width: max(var(--v) * 100% - 50%, 50% - var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #2f7cf6, #6cc8f5); }
.ph-tr i { position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(108, 200, 245, 0.22), 0 1px 5px rgba(0, 0, 0, 0.5); }
.ph-histo { flex: none; width: 100%; height: 66px; border-bottom: 1px solid var(--ax-border); background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 25% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 50% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)) 75% 0 / 1px 100% no-repeat; }
.ph-fmts { display: grid; gap: 2px; margin: -2px -8px 0; }
.ph-fmts b { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 9px; height: 31px; padding: 0 8px; border-radius: 8px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ax-fg); white-space: nowrap; cursor: pointer; transition: background 0.25s, color 0.25s; }
.ph-fmts em { justify-self: end; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-style: normal; font-weight: 400; color: var(--ax-fg3); transition: color 0.25s; }
.ph-shape { justify-self: center; box-sizing: border-box; height: 14px; aspect-ratio: var(--r); max-width: 18px; border: 1.5px solid currentColor; border-radius: 2.5px; opacity: 0.75; }
.ph-fmts b.on { background: rgba(79, 147, 255, 0.18); color: #fff; }
.ph-fmts b.on .ph-shape { opacity: 1; border-color: #6cc8f5; background: rgba(108, 200, 245, 0.2); }
.ph-fmts b.on em { color: #a9c9f5; }
.ph-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 0 16px 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: #0a0c12; }
.ph-meta { display: grid; gap: 3px; min-width: 0; }
.ph-meta b { font-size: 13px; font-weight: 650; line-height: 1.25; color: #fff; }
.ph-meta span { font-size: 12px; line-height: 1.3; color: var(--ax-fg3); }
.ph-strip { display: grid; justify-items: end; gap: 6px; }
.ph-count { font-size: 11.5px; color: var(--ax-fg3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-count b { color: #fff; font-weight: 600; }
.ph-kb { font-style: normal; color: var(--ax-ok); }
.ph-kb:not(:empty)::before { content: '· '; color: var(--ax-fg3); }
.ph-thumbs { display: flex; gap: 6px; }
.ph-thumb { position: relative; width: 38px; height: 38px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); transition: box-shadow 0.3s; }
.ph-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: opacity 0.7s var(--ease); }
.ph-thumb.busy { box-shadow: 0 0 0 1.5px #6cc8f5; }
.ph-thumb.done img { opacity: 1; }
.ph-thumb .i { position: absolute; right: 3px; bottom: 3px; width: 13px; height: 13px; padding: 2px; border-radius: 50%; background: var(--ax-ok); color: #fff; stroke-width: 3.5; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.3s var(--ease); }
.ph-thumb.done .i { opacity: 1; transform: none; }

.pl-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 44px; }
.pl-points li { padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.5; color: var(--fg-2); }
/* The plugins answer to the width of their own pane, wherever the window puts it. */
@container stage (max-width: 700px) {
  .cr-books { padding: 16px 14px 14px; }
  .ct-mons, .ct-top { margin: 0 14px; }
  .ct-bar, .ct-tl { padding-left: 14px; padding-right: 14px; }
  .bk-main { grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); gap: 16px; }
}
@container stage (max-width: 520px) {
  .cr-books { gap: 10px; padding: 14px 12px 12px; }
  .bk-main { grid-template-columns: minmax(0, 1fr); }
  .bk-desk, .bk-sum > i { display: none; }
  .bk-head { flex-wrap: wrap; }
  .bk-head > b { font-size: 13.5px; }
  .bk-read { font-size: 11px; gap: 6px; }
  .bk-head { padding-bottom: 10px; }
  .bk-row { height: 29px; }
  .bk-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; padding: 10px 0 0; }
  .bk-sum span { font-size: 10.5px; line-height: 1.25; }
  .bk-sum b, .bk-sum .due b { font-size: 15px; letter-spacing: -0.02em; }
  .bk-sum .due { margin-left: 0; text-align: left; }
  .bk-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .bk-export { justify-content: center; }
  /* The upright cut is the one a phone shows best: it takes the height, the other two beside it. */
  .ct-mons { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: start; align-content: center; gap: 8px; margin: 0 12px; padding: 12px 0 8px; }
  .ct-top { margin: 0 12px; padding: 12px 0 10px; }
  .ct-top b { font-size: 13.5px; }
  .ct-logo { font-size: 14.5px; }
  .ct-bar { padding: 9px 12px 2px; }
  .ct-tl { padding: 6px 12px 12px; }
  .ct-mon.r916 { grid-column: 2; grid-row: 1 / 3; }
  .ct-mon.r916 .ct-screen { height: 87cqw; }
  .ct-mon.r169 .ct-screen, .ct-mon.r11 .ct-screen { width: 100%; height: auto; }
  .ct-track { grid-template-columns: minmax(0, 1fr); }
  .ct-tn, .ct-bpm, .ct-len, .ct-track.t .ct-clip span { display: none; }
  .ct-lane { --f: 40px; }
  .ct-track.t .ct-lane { height: 18px; }
  .ct-track.a .ct-lane { height: 30px; }
  .ph-cmp { inset: 0 0 116px 0; }
  .ph-side { top: auto; left: 0; bottom: 72px; width: auto; height: 44px; flex-direction: row; align-items: center; padding: 0 12px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .ph-side > :not(.ph-fmts) { display: none; }
  .ph-fmts { flex: 1; grid-template-columns: repeat(4, 1fr); margin: 0; }
  .ph-fmts b { grid-template-columns: auto; justify-content: center; height: 28px; padding: 0 4px; }
  .ph-fmts em, .ph-shape { display: none; }
  .ph-meta span { display: none; }
  .ph-meta b { font-size: 12.5px; }
  .ph-thumb { width: 30px; height: 30px; border-radius: 7px; }
  .ph-thumbs { gap: 4px; }
  .ph-foot { gap: 10px; padding: 0 12px; }
}
/* Where two panes side by side would leave each plugin cramped, the plugins open below the chat. */
@media (max-width: 960px) {
  .creator.ax, .creator.ax.open { --w: 100%; height: auto; }
  .ax-body.cr-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px 0px; transition: grid-template-rows 0.8s var(--ease) 0.22s, gap 0.8s var(--ease) 0.22s; }
  .creator.open .ax-body.cr-body { grid-template-columns: minmax(0, 1fr); transition-delay: 0s; }
  .creator.open .ax-body.cr-body { grid-template-rows: 280px 620px; }
}
@media (max-width: 760px) {
  .ax-body.cr-body { grid-template-rows: 300px 0px; }
  .creator.open .ax-body.cr-body { grid-template-rows: 300px 570px; }
  .cr-tabs .ax-tab-act, .cr-tabs .ax-ib { display: none; }
  .cr-tabs .ax-tab:not(.on) > span, .cr-tabs .ax-tab:not(.on) > .x { display: none; }
  .cr-tabs .ax-tab:not(.on) { flex: none; width: 34px; padding: 0; justify-content: center; }
  .pl-points { grid-template-columns: 1fr; gap: 20px; }
}
.ax-proj b { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .ax-dots { display: none; } .ax-proj { margin-left: 0; } }

/* Workspace views, as the app draws them */
.ws-views .view { display: flex; flex-direction: column; gap: 8px; }
.ax-url { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ax-field); color: var(--ax-fg); font-size: 12.5px; }
.ax-url .i { color: var(--ax-fg3); }
.bw-bar { display: flex; align-items: center; gap: 6px; }
.bw-bar .ax-url { flex: 1; min-width: 0; }
.bw-btns { display: inline-flex; align-items: center; gap: 2px; color: var(--ax-fg2); }
.bw-btns > .i, .bw-stop { width: 28px; height: 28px; padding: 6px; border-radius: 8px; box-sizing: border-box; }
.bw-btns > .i.off { opacity: 0.35; }
.bw-stop { display: inline-grid; place-items: center; background: rgba(10, 132, 255, 0.16); color: #4ea1ff; }
.bw-stop .i { width: 15px; height: 15px; }
.ax-site { --s-bg: #f6f0e7; --s-ink: #1f1a15; --s-soft: #6d6157; --s-terra: #c4532d; position: relative; flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; background: var(--s-bg); color: var(--s-ink); box-shadow: 0 0 0 0.5px var(--ax-border); font-family: var(--ax-font); }
.s-nav { position: relative; z-index: 2; height: 50px; box-sizing: border-box; background: var(--s-bg); display: flex; align-items: center; gap: 16px; padding: 0 16px; font-size: 11px; font-weight: 500; color: var(--s-soft); }
.s-logo { margin-right: auto; color: var(--s-ink); font: 700 17px/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.03em; }
.s-logo i { color: var(--s-terra); font-style: normal; }
.s-cart { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(60, 30, 10, 0.12); }
.s-cart .i { width: 13px; height: 13px; color: var(--s-ink); }
.s-badge { position: absolute; top: -4px; right: -4px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--s-terra); color: #fff; font: 700 9px/15px var(--ax-font); text-align: center; font-style: normal; transform: scale(0); }
.s-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a5462a; }
.s-add { position: relative; justify-self: start; display: inline-grid; padding: 5px 11px; border-radius: 999px; border: 1px solid #e3d9ce; font-style: normal; font-weight: 600; font-size: 10px; color: var(--s-ink); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.s-add > span { grid-area: 1 / 1; transition: opacity 0.2s; }
.s-add .done { opacity: 0; }
.s-add.ok { background: #2f7d4f; border-color: #2f7d4f; color: #fff; }
.s-add.ok > span:first-child { opacity: 0; } .s-add.ok .done { opacity: 1; }
.s-drawer-h { display: flex; justify-content: space-between; align-items: baseline; }
.s-drawer-h b { font: 400 17px/1 Georgia, 'Times New Roman', serif; }
.s-drawer-h span { color: var(--s-soft); font-size: 10px; }
/* The page the agent drives is a shop as a shop is: its notice, its menu, a photo that fills the
   window and, one screen below, what is on sale. Each screen is as tall as the window, so the page
   rests on a whole screen before and after the agent scrolls it. */
.shop { --s-bg: #faf7f2; --s-ink: #1c1a17; --s-soft: #6f675e; --s-line: #e9e2d8; --s-terra: #c2502b; display: flex; flex-direction: column; }
.s-top { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; box-sizing: border-box; padding: 5px 12px; background: var(--s-ink); color: #f3ece2; font-size: 10px; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; text-align: center; }
.s-top .i { flex: none; color: #8fd3a8; }
.shop .s-nav { flex: none; height: 44px; gap: 16px; border-bottom: 1px solid var(--s-line); color: var(--s-ink); white-space: nowrap; }
.shop .s-logo { font-size: 19px; }
.s-find { color: var(--s-ink); }
.shop .s-cart { width: 22px; height: 22px; background: none; box-shadow: none; }
.shop .s-cart .i { width: 15px; height: 15px; }
.shop .s-badge { top: -4px; right: -6px; }
.s-page { position: relative; flex: 1; min-height: 0; will-change: transform; }
.s-hero { position: relative; height: 100%; overflow: hidden; background: #cfd9e6; }
.s-hero img { position: absolute; left: 0; top: 0; width: 124%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 10%; }
.s-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 16, 8, 0.6), rgba(24, 16, 8, 0.26) 38%, transparent 62%), linear-gradient(0deg, rgba(24, 16, 8, 0.36), transparent 42%); }
.s-copy { position: absolute; z-index: 1; left: 20px; bottom: 22px; width: min(48%, 240px); display: grid; gap: 9px; justify-items: start; color: #fff; }
.shop .s-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ffe2bd; }
.s-copy b { font: 400 31px/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 1px 18px rgba(24, 16, 8, 0.35); }
.s-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--s-ink); font-style: normal; font-size: 11px; font-weight: 650; transition: background 0.2s, color 0.2s; }
.s-cta .i { width: 12px; height: 12px; stroke-width: 2.2; }
.s-cta.hover { background: var(--s-ink); color: #fff; }
.s-shelf { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 0; background: var(--s-bg); }
.s-row { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.s-row b { font: 400 20px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -0.015em; }
.s-row span { font-size: 10.5px; font-weight: 700; color: var(--s-terra); white-space: nowrap; }
.s-grid { flex: 0 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 10px; }
.s-card { display: flex; flex-direction: column; gap: 4px; min-height: 0; font-size: 11px; }
.s-pic { display: block; flex: 0 1 auto; min-height: 0; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--s-line); }
.s-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.s-card.hover .s-pic img { transform: scale(1.06); }
.s-card > b { flex: none; margin-top: 4px; font-weight: 600; }
.s-cost { flex: none; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-cost b { font-weight: 650; }
.s-cost s { font-size: 10px; color: var(--s-soft); }
.shop .s-add { flex: none; justify-self: stretch; justify-items: center; margin-top: 4px; padding: 6px 4px; border-radius: 8px; border-color: var(--s-ink); text-align: center; font-size: 10.5px; }
.shop .s-add.ok { border-color: #2f7d4f; }
.s-foot { flex: none; display: flex; align-items: center; gap: 14px; margin: auto -16px 0; padding: 10px 16px; border-top: 1px solid var(--s-line); font-size: 10px; color: var(--s-soft); white-space: nowrap; }
.s-foot .s-logo { margin-right: auto; font-size: 14px; }
.s-drawer { position: absolute; z-index: 3; top: 0; right: 0; bottom: 0; width: 52%; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 16px 14px 14px; background: #fff; box-shadow: -24px 0 50px -10px rgba(30, 18, 8, 0.45); font-size: 11px; }
.shop .s-drawer-h b { font-size: 18px; }
.s-item { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--s-line); }
.s-item .s-pic { flex: none; width: 50px; height: 60px; aspect-ratio: auto; border-radius: 6px; }
.s-item > span:not(.s-qty) { display: grid; gap: 2px; min-width: 0; font-weight: 650; }
.s-item small { color: var(--s-soft); font-weight: 400; font-size: 9.5px; }
.s-item .s-cost { font-weight: 400; }
.s-qty { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--s-line); font-size: 10px; font-weight: 600; }
.s-qty i { font-style: normal; color: var(--s-soft); }
.s-note { display: flex; align-items: center; gap: 7px; color: #2f6b47; font-size: 10px; line-height: 1.3; }
.s-note .i { width: 12px; height: 12px; stroke-width: 2.4; }
.s-also { display: grid; gap: 7px; color: var(--s-soft); font-size: 9.5px; }
.s-also > span { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-also .s-pic { height: 78px; aspect-ratio: auto; }
.s-pay { position: relative; margin-top: auto; flex: none; display: grid; place-items: center; height: 34px; border-radius: 8px; background: var(--s-ink); color: #fff; font-style: normal; font-weight: 650; font-size: 11px; }
.s-measure { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 34px; border-radius: 8px; outline: 1.5px dashed #0a84ff; outline-offset: 3px; opacity: 0; pointer-events: none; }
.s-measure span { position: absolute; right: 0; top: -26px; padding: 3px 7px; border-radius: 6px; background: #0a84ff; color: #fff; font: 700 9.5px/1 var(--mono); }
.bw-frame { z-index: 4; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(10, 132, 255, 0.85); pointer-events: none; opacity: 0; }
.bw-ripple { z-index: 4; position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid #0a84ff; background: rgba(10, 132, 255, 0.18); opacity: 0; pointer-events: none; }
.bw-cur { z-index: 5; position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; opacity: 0; }
.bw-cur svg { display: block; width: 30px; height: 30px; fill: #0a84ff; stroke: #fff; stroke-width: 2; stroke-linejoin: round; paint-order: stroke; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)); transform-origin: 5px 4px; }
/* The label sits beside the arrow; the script moves it to whichever side keeps it inside the page. */
.bw-tag { position: absolute; left: 0; top: 0; display: grid; gap: 2px; padding: 7px 11px 8px; border-radius: 10px; background: #0a84ff; color: #fff; box-shadow: 0 8px 20px -6px rgba(10, 132, 255, 0.6), inset 0 0 0 0.5px rgba(255, 255, 255, 0.25); white-space: nowrap; transform: translate(var(--tx, 24px), var(--ty, 26px)); }
.bw-tag b { font-size: 11.5px; font-weight: 700; letter-spacing: -0.005em; }
.bw-acts { display: grid; font-size: 11.5px; opacity: 0.92; }
.bw-acts span { grid-area: 1 / 1; opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s; }
.bw-acts span.on { opacity: 1; transform: none; }
.df-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* In a pane the button always shows, and the file's name beside it only when it fits whole: it
   wraps to a second line that the row does not show. */
.ws-views .df-head { flex-flow: row-reverse wrap; align-content: flex-start; height: 28px; overflow: hidden; }
.ws-views .df-head .ax-btn { order: -1; }
.df-file { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--mono); }
.df-code { flex: 1; padding: 6px 0; border-radius: 12px; background: var(--ax-bg); box-shadow: inset 0 0 0 0.5px var(--ax-border); font: 12px/1 var(--mono); overflow: hidden; }
.df-code .ln { display: flex; align-items: center; height: 26px; border-left: 3px solid transparent; }
.df-code .ln i { width: 38px; padding-right: 14px; text-align: right; font-style: normal; color: var(--ax-fg3); flex: none; }
.df-code .ln code { font: var(--ax-font); white-space: pre; }
.df-code .ln code::before { content: ' '; white-space: pre; color: var(--ax-fg3); }
.df-code .del { background: rgba(245, 107, 111, 0.12); border-left-color: #f56b6f; color: #ffb3b5; }
.df-code .del code::before { content: '−'; color: #f56b6f; }
.df-code .add { background: rgba(76, 196, 106, 0.12); border-left-color: #4cc46a; color: #a9efbd; }
.df-code .add code::before { content: '+'; color: #4cc46a; }
.df-comment { display: grid; gap: 6px; margin: 8px 12px 8px 44px; padding: 12px 14px; border-radius: 14px; background: var(--ax-card); box-shadow: 0 0 0 0.5px var(--ax-border), 0 10px 30px -14px #000; font: 13px/1.45 -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif; }
.df-where { font: 600 12px var(--mono); }
.df-where em { font: 500 12px -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif; color: var(--ax-fg3); font-style: normal; }
.df-comment p { margin: 0; }
.df-comment .ax-btn { justify-self: end; }
.df-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--ax-card); box-shadow: inset 0 0 0 0.5px var(--ax-border); font-size: 12.5px; }
.df-foot b { margin-right: auto; font-weight: 600; }
.df-foot .plus { color: var(--ax-ok); } .df-foot .minus { color: #f56b6f; }
.df-foot em { font-style: normal; color: var(--ax-accent); font-weight: 600; margin-left: 8px; }
.bd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bd-live { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; font-size: 12px; color: var(--ax-fg2); }
.bd-seg { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--ax-field); }
.bd-seg span { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ax-fg2); }
.bd-seg span.on { background: var(--ax-muted); color: var(--ax-fg); }
/* The board keeps its columns wide: the pane shows as many whole ones as fit and the rest are a
   swipe away; the two marks beside the switch say which side is on screen. */
.bd-pages { display: none; gap: 4px; }
.bd-pages i { width: 14px; height: 3px; border-radius: 2px; background: var(--ax-muted); transition: background 0.3s; }
.bd-pages i.on { background: var(--ax-accent); }
.bd-cols { --n: 2; flex: 1; min-height: 0; display: flex; gap: 10px; overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bd-cols::-webkit-scrollbar { display: none; }
.view.on .bd-cols { pointer-events: auto; }
.bd-cols > div { flex: 0 0 calc((100% - 10px * (var(--n) - 1)) / var(--n)); box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: var(--ax-bg); box-shadow: inset 0 0 0 0.5px var(--ax-line); min-width: 0; }
.bd-cols > div.hot { box-shadow: inset 0 0 0 0.5px rgba(91, 155, 255, 0.35); background: linear-gradient(180deg, rgba(91, 155, 255, 0.09), var(--ax-bg) 55%); }
.bd-cols h5 { display: flex; align-items: center; gap: 6px; margin: 2px 4px 4px; font-size: 13px; font-weight: 650; color: var(--ax-fg); white-space: nowrap; }
.bd-cols h5 em { font-style: normal; color: var(--ax-fg3); font-weight: 500; }
.bd-cols h5 .i { margin-left: auto; color: var(--ax-fg3); }
.bd-card { display: grid; gap: 9px; margin: 0; padding: 12px; border-radius: 12px; background: var(--ax-card); box-shadow: 0 0 0 0.5px var(--ax-border), 0 1px 2px rgba(0, 0, 0, 0.4); font-size: 13px; line-height: 1.3; }
.bd-t { display: flex; align-items: baseline; gap: 8px; }
.bd-t b { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.bd-t > i { flex: none; font: 11px var(--mono); font-style: normal; color: var(--ax-fg3); }
.bd-ok { flex: none; align-self: center; width: 15px; height: 15px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: rgba(76, 196, 106, 0.18); color: var(--ax-ok); stroke-width: 3.2; }
.bd-card.done b { color: var(--ax-fg2); }
.bd-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.bd-bar i { height: 3px; border-radius: 2px; background: var(--ax-muted); }
.bd-bar i.ok { background: var(--ax-ok); }
.bd-bar i.cur { background: linear-gradient(90deg, var(--ax-accent) 45%, var(--ax-muted) 45%); }
@container pane (max-width: 859px) { .bd-pages { display: inline-flex; } }
@container pane (min-width: 640px) { .bd-cols { --n: 3; } }
@container pane (min-width: 860px) { .bd-cols { --n: 4; } }
.bd-tag { justify-self: start; padding: 2px 7px; border-radius: 6px; background: var(--ax-field); color: var(--ax-fg2); font-size: 11px; }
.bd-run { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ax-ok); }
.bd-run .ax-ring { width: 18px; height: 18px; font-size: 8.5px; border-width: 1.6px; grid-row: auto; }
.bd-run .ax-ring.run::before { border-width: 1.6px; inset: -1.6px; }
/* A long compound in a narrow card («Verkaufsbericht») breaks with its hyphen; short words stay whole. */
.bd-card b, .cv-note b { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
.bd-card .ax-badge { justify-self: start; height: auto; min-height: 20px; padding-block: 3px; border-radius: 8px; font-size: 11px; line-height: 1.25; }
/* In a pane too narrow for four columns the board folds them two by two: every column stays, with room for its cards. */
/* In a pane as narrow as a phone the four columns fold two by two and nothing is left to swipe. */
@container pane (max-width: 500px) { .bd-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; } .bd-cols > div { padding: 8px; gap: 6px; } .bd-card { padding: 10px; gap: 7px; font-size: 12px; } .bd-t > i, .bd-pages, .bd-cols h5 .i { display: none; } }
.cv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.cv-head > b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-rail { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 11px; color: var(--ax-fg3); }
.cv-rail li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 999px; transition: background 0.4s, color 0.4s; }
.cv-rail li + li::before { content: ''; width: 8px; height: 1px; margin: 0 4px 0 -6px; background: var(--ax-line); }
.cv-rail i { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background 0.4s; }
.cv-rail li.on { background: rgba(91, 155, 255, 0.14); color: var(--ax-accent); font-weight: 600; }
.cv-rail li.on i { background: currentColor; }
.cv-rail li.done { color: var(--ax-ok); } .cv-rail li.done i { background: currentColor; }
/* The title is whole: when the steps leave it no room (efectos.js measures it), the ones behind are their dot alone. */
.cv-head.tight .cv-rail li:not(.on) span, .cv-head.bare .cv-rail li span { display: none; }
.ax-canvas { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 12px; background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--ax-bg); box-shadow: inset 0 0 0 0.5px var(--ax-line); overflow: hidden; }
.cv-status { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ax-fg2); }
.cv-status .ax-ring { width: 22px; height: 22px; font-size: 10px; }
.cv-st { position: relative; flex: 1; display: grid; min-width: 0; }
.cv-st span { grid-area: 1 / 1; align-self: center; line-height: 1.3; opacity: 0; transform: translateY(5px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.cv-st span.on { opacity: 1; transform: none; }
.cv-count { font-size: 11px; color: var(--ax-fg3); white-space: nowrap; }
.cv-groups { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.cv-group { position: relative; display: grid; gap: 8px; padding: 30px 8px 8px; border-radius: 14px; }
.cv-group::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px dashed rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.025); opacity: var(--g, 1); transition: opacity 0.5s; }
.cv-gl { position: absolute; left: 10px; top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ax-fg3); opacity: var(--g, 1); transition: opacity 0.5s; }
.cv-note { --t: #7fb0ff; position: relative; z-index: 1; display: grid; gap: 4px; padding: 9px 10px 10px; border-radius: 12px; border: 0.5px solid color-mix(in srgb, var(--t) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--t) 20%, var(--ax-card)), color-mix(in srgb, var(--t) 7%, var(--ax-card))); box-shadow: 0 10px 22px -14px #000; transition: opacity 0.4s, filter 0.4s, box-shadow 0.4s; will-change: transform; }
.cv-note em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--t) 72%, var(--ax-fg)); }
.cv-note em .i { width: 11px; height: 11px; }
.cv-who { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d97757; color: #f2c2ad; font: 700 7.5px/1 var(--ax-font); font-style: normal; letter-spacing: 0; }
.cv-note b { font-size: 11.5px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.cv-note.idea { --t: #7fb0ff; } .cv-note.duda { --t: #a99bff; } .cv-note.decision { --t: #62d2b4; } .cv-note.tarea { --t: #6cc8f5; }
.cv-note.agreed { box-shadow: 0 0 0 1.5px var(--ax-ok), 0 10px 22px -14px #000; }
.cv-note.gone { opacity: 0.4; filter: saturate(0.3); }
.cv-note.gone b { text-decoration: line-through; }
.cv-ok { position: absolute; top: -6px; right: -6px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--ax-ok); color: #fff; box-shadow: 0 0 0 2px var(--ax-bg); transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cv-ok .i { width: 10px; height: 10px; stroke-width: 3; }
.cv-note.agreed .cv-ok { transform: none; }
.cv-ans { display: block; max-height: 0; overflow: hidden; margin-top: 0; padding-left: 8px; border-left: 2px solid color-mix(in srgb, var(--t) 70%, transparent); font-size: 10.5px; line-height: 1.35; color: var(--ax-fg2); overflow-wrap: anywhere; transition: max-height 0.5s var(--ease), margin 0.5s var(--ease); }
.cv-note.answered .cv-ans { max-height: 60px; margin-top: 3px; }
.cv-voice { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 12px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.cv-mic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ax-primary); color: #fff; flex: none; }
.cv-mic .i { width: 13px; height: 13px; }
.cv-wave { display: flex; align-items: center; gap: 2px; height: 18px; flex: none; }
.cv-wave i { width: 2.5px; height: 30%; border-radius: 2px; background: var(--ax-accent); animation: cv-wave 1.1s ease-in-out infinite; }
.cv-wave i:nth-child(3n) { animation-delay: -0.3s; } .cv-wave i:nth-child(3n+1) { animation-delay: -0.6s; } .cv-wave i:nth-child(4n) { animation-duration: 0.8s; }
@keyframes cv-wave { 50% { height: 100%; } }
.cv-say { position: relative; flex: 1; display: grid; min-width: 0; font-size: 11.5px; color: var(--ax-fg2); }
.cv-say span { grid-area: 1 / 1; align-self: center; line-height: 1.3; opacity: 0; transition: opacity 0.35s; }
.cv-say span.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cv-wave i { animation: none; height: 60%; } }
/* In a narrow pane the themes stack, each with its two notes side by side: a note keeps room for its label. */
@container pane (max-width: 430px) {
  .cv-groups { grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; }
  .cv-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-voice { display: none; }
}
.cv-deal { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 12px; background: var(--ax-sec); box-shadow: inset 0 0 0 0.5px var(--ax-border); transition: opacity 0.4s, transform 0.4s var(--ease); }
.cv-deal.wait { opacity: 0.35; }
.cv-deal-t { display: grid; gap: 1px; min-width: 0; font-size: 11px; color: var(--ax-fg3); }
.cv-deal-t b { font-size: 12px; color: var(--ax-ok); }
.cv-deal-t span { line-height: 1.3; }
.cv-go { flex: none; transition: transform 0.2s var(--ease), box-shadow 0.3s; }
.cv-go.press { transform: scale(0.94); box-shadow: 0 0 0 6px rgba(42, 114, 230, 0.25); }
@media (max-width: 560px) {
  .cv-rail li:not(.on) span, .cv-voice, .tk-pct { display: none; } .cv-groups { gap: 6px; } .cv-group { padding: 26px 5px 5px; } .cv-note b { font-size: 10.5px; } .cv-count { display: none; }
  .bw-btns > .i:nth-child(3), .bw-btns > .i:last-child { display: none; } .s-copy b { font-size: 23px; } .s-nav span, .s-find { display: none; }
  .s-copy { left: 14px; bottom: 16px; } .s-shelf { padding: 12px 12px 0; } .s-foot { margin: auto -12px 0; padding: 9px 12px; } .s-row b { font-size: 17px; }
  .ws-views .s-grid { gap: 8px; }
  .ws-views .s-drawer { width: max(50%, min(232px, 100% - 16px)); }
  .cv-deal-t { flex: none; } .cv-deal-t span { display: none; }
  .cv-go { flex: 0 1 auto; height: auto; min-height: 28px; padding-block: 6px; border-radius: 14px; white-space: normal; text-align: center; }
}

.ax-avatar { background: radial-gradient(circle at 28% 20%, rgba(255, 196, 150, 0.55), transparent 55%), linear-gradient(140deg, #d4604c, #86397f) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #fff !important; }
.ax-tools .ax-avatar { font: 650 11.5px/24px var(--ax-font); text-align: center; letter-spacing: 0; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); display: block; }

/* Where it runs, as a poster: the computer's systems in large type, the link that joins them
   and the devices that carry it. No drawings: the devices pose in the stage above. */
.pf { display: grid; justify-items: center; margin-top: clamp(56px, 7vw, 92px); text-align: center; }
.pf-tier { display: grid; justify-items: center; min-width: 0; max-width: 100%; }
.pf-k { display: inline-flex; align-items: baseline; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; }
.pf-k b { color: var(--cyan); font-weight: 600; }
.pf-k span { color: var(--fg-3); }
.pf-names { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px clamp(28px, 4.4vw, 68px); }
.pf-names li { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.pf-names b { font-size: clamp(42px, 4.7vw, 66px); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--fg); }
.pf-names.big b { font-size: clamp(60px, 7.4vw, 108px); letter-spacing: -0.055em; }
.pf-names li.later b { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34); }
.pf-names span { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 14.5px; }
.pf-names span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--fg-3); }
.pf-names li.ok span::before { background: #6fdc8c; box-shadow: 0 0 0 4px rgba(111, 220, 140, 0.14); }
.pf-names li.later span { color: var(--fg-3); }
.pf-names em { margin-top: -6px; color: var(--fg-3); font-size: 13.5px; font-style: normal; }
.pf-desc { max-width: 44ch; margin: 30px 0 0; color: var(--fg-2); font-size: 17px; line-height: 1.5; }
.pf-link { display: grid; justify-items: center; gap: 12px; margin-top: 26px; }
.pf-link.short { margin-top: 14px; margin-bottom: 22px; }
.pf-link i { position: relative; width: 1px; height: clamp(36px, 3.6vw, 52px); background: var(--line-2); overflow: hidden; }
.pf-link i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(to bottom, transparent, var(--cyan)); animation: pf-fall 2.6s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
.pf-link i + span + i::after { animation-delay: 0.5s; }
.pf-link.short i::after { animation-delay: 1.1s; }
@keyframes pf-fall { to { top: 110%; } }
.pf-link span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(108, 200, 245, 0.4), 0 0 34px rgba(79, 147, 255, 0.35); }
.pf-link .i { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-e2e { margin: 12px 0 0; color: var(--fg-2); font-size: 15px; }
.motion-ready .pf-names li { opacity: 0.16; transition: opacity 0.7s var(--ease) calc(var(--i) * 0.16s + 0.2s); }
.motion-ready .pf.in .pf-names li { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pf-link i::after { animation: none; display: none; } }
@media (max-width: 640px) {
  .pf-names { flex-direction: column; align-items: center; gap: 26px; }
  .pf-names.big { gap: 30px; }
}
.pl-note { margin: 40px auto 0; text-align: center; color: var(--fg-3); font-size: 14px; }

/* ── The product story in 3D: a laptop that opens and devices with real thickness, each one
   showing the app's own interface (scaled from its real size), until a capture replaces it. */
.device .ui, .d3 .ui { position: absolute; left: 0; top: 0; width: calc(var(--vw) * 1px); height: calc(var(--vh) * 1px); transform-origin: 0 0; scale: var(--k, 0.5); border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; }
.device.has-shot .ui { visibility: hidden; }
.ui .ax-body { flex: 1; min-height: 0; }
.ui-mac .ax-body.three { grid-template-columns: 0.95fr 1.45fr 1.05fr; }
.ax.ui-mac { background: radial-gradient(70% 60% at 12% 105%, rgba(47, 124, 246, 0.85), transparent 62%), radial-gradient(60% 55% at 92% -8%, rgba(124, 92, 255, 0.7), transparent 64%), radial-gradient(50% 45% at 70% 92%, rgba(108, 200, 245, 0.35), transparent 70%), linear-gradient(160deg, #0b1233, #12204f 52%, #0a1028); }
.mx-bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: rgba(8, 12, 30, 0.42); box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.08); color: #f4f6fb; font-size: 13px; }
.mx-menus, .mx-status { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.mx-menus b { font-weight: 700; }
.mx-logo { width: 17px; height: 17px; flex: none; }
.mx-status { gap: 14px; }
.mx-status .i { width: 15px; height: 15px; }
.mx-win { position: absolute; left: 24px; right: 24px; top: 38px; bottom: 86px; display: flex; flex-direction: column; background: var(--ax-bg); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 30px 70px -24px rgba(0, 0, 0, 0.85); }
.mx-win .ax-top { padding-left: 16px; }
.mx-dock { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 22px; background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.24), 0 14px 34px -12px rgba(0, 0, 0, 0.7); }
.mx-dock i { position: relative; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; color: #fff; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), 0 4px 10px -4px rgba(0, 0, 0, 0.6); }
.mx-dock i .i { width: 26px; height: 26px; stroke-width: 1.9; }
.mx-dock i .mx-logo { width: 34px; height: 34px; }
.mx-dock i.on::after { content: ''; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.mx-dock .t-files { background: linear-gradient(160deg, #6fb6ff, #2f6fe0); }
.mx-dock .t-web { background: linear-gradient(160deg, #4fd6d0, #1d8fb8); }
.mx-dock .t-noondra { background: linear-gradient(160deg, #1d2236, #0b0d16); }
.mx-dock .t-mail { background: linear-gradient(160deg, #7cc4ff, #3a86f0); }
.mx-dock .t-cal { background: linear-gradient(160deg, #ffb35c, #f0712e); }
.mx-dock .t-photo { background: linear-gradient(160deg, #f58fd0, #8d5cf6); }
.mx-dock .t-music { background: linear-gradient(160deg, #7ee08f, #22a35a); }
.mx-dock .t-set { background: linear-gradient(160deg, #9aa1ad, #5d636e); }
.mx-dock .t-trash { background: rgba(255, 255, 255, 0.1); color: #e7eaf0; }
.mx-sep { width: 1px; height: 40px; margin: 0 2px; background: rgba(255, 255, 255, 0.28); }
.ui-mac .ax-chat, .ui-ipad .ax-chat { justify-content: flex-end; }
.ui .ax-a.sm { font-size: 13px; color: var(--ax-fg2); }
.ui-ipad .pad { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 12px; }
.ui-phone { background: var(--ax-bg); }
.ui-phone:not(.droid)::before { content: ''; position: absolute; top: 15px; left: 50%; translate: -50% 0; width: 20px; height: 20px; border-radius: 50%; background: #000; z-index: 3; }
.ui-phone.droid::before { content: ''; position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 22px; height: 22px; border-radius: 50%; background: #000; z-index: 3; }
.ph-status { height: 54px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0; font-size: 16px; }
.ph-status span { display: flex; gap: 5px; }
.ph-status span i { width: 17px; height: 11px; border-radius: 3px; background: var(--ax-fg); }
.ph-status span i:first-child { width: 16px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.ph-status span i:nth-child(2) { width: 15px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.ph-status span i:last-child { width: 25px; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; }
.ph-head .ax-avatar { width: 36px; height: 36px; }
.ph-head .ax-proj { margin-left: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); font-size: 15px; }
.ph-icons { margin-left: auto; display: flex; gap: 8px; color: var(--ax-fg); }
.ph-icons .i { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); }
.ui-phone .ax-chat { flex: 1; justify-content: flex-end; padding: 12px 18px; font-size: 17px; gap: 16px; }
.ui-phone .ax-ask { font-size: 14px; }

.ph-wave { flex: 1; display: flex; align-items: center; gap: 4px; height: 30px; }
.ph-wave i { width: 4px; height: 8px; border-radius: 2px; background: linear-gradient(180deg, #6cc8f5, #2f7cf6); animation: ph-wave 0.9s ease-in-out infinite alternate; }
.ph-wave i:nth-child(3n) { animation-delay: -0.3s; } .ph-wave i:nth-child(3n+1) { animation-delay: -0.6s; } .ph-wave i:nth-child(4n) { animation-duration: 0.7s; }
@keyframes ph-wave { to { height: 28px; } }

.ph-bar { flex: none; width: 134px; height: 5px; margin: 6px auto 9px; border-radius: 3px; background: var(--ax-fg); opacity: 0.85; }
.ph-title { display: flex; align-items: baseline; justify-content: space-between; padding: 8px 18px 14px; }
.ph-title b { font-size: 30px; letter-spacing: -0.03em; }
.ph-title span { color: var(--ax-ok); font-weight: 600; font-size: 14px; }
.ui-phone > .ax-filters { padding: 0 12px 10px; }
.ui-phone > .ax-task { margin: 0 12px 8px; padding: 12px; }
.ui-phone > .ax-task b { font-size: 15.5px; }
.ph-composer { margin: auto 12px 8px; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 9px 0 20px; border-radius: 28px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); color: var(--ax-fg3); font-size: 16px; }
.ph-composer .ax-mark { width: 38px; height: 38px; }
@media (prefers-reduced-motion: reduce) { .ph-wave i { animation: none; height: 16px; } }

.device.mac { width: min(800px, 70vw, calc((100svh - 330px) * 1.42)); background: none; box-shadow: none; border-radius: 0; transform-style: preserve-3d; transform-origin: 50% 100%; }
.lid { position: relative; padding: 1.9% 1.9% 2.6%; border-radius: 24px 24px 10px 10px; background: linear-gradient(180deg, #0d0e11, #0a0b0d); box-shadow: 0 0 0 1.5px #2e3036, inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 70px 160px -50px rgba(47, 124, 246, 0.6); transform-origin: 50% 100%; transform-style: preserve-3d; backface-visibility: hidden; }
.lid::after { content: ''; position: absolute; top: 0.9%; left: 50%; translate: -50% 0; width: 0.9%; aspect-ratio: 1; border-radius: 50%; background: #1d2026; box-shadow: inset 0 0 0 1px #2b2f36; }
.device.mac .lid .screen { aspect-ratio: 1440 / 989; border-radius: 8px; backface-visibility: hidden; transform: translateZ(0.5px); }
.lid-back { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; background: linear-gradient(160deg, #474a52, #2a2c31 45%, #34373d); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); transform: rotateY(180deg) translateZ(0.5px); backface-visibility: hidden; }
.lid-back svg { width: 12%; aspect-ratio: 160 / 152; filter: drop-shadow(0 0 20px rgba(79, 147, 255, 0.5)); }
.deck { position: absolute; left: -7%; right: -7%; top: 100%; height: 92%; transform-origin: 50% 0; transform: rotateX(70deg); border-radius: 0 0 26px 26px; background: linear-gradient(180deg, #3a3d44, #24262b 30%, #1c1d21); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.deck .kb { position: absolute; left: 11%; right: 11%; top: 9%; height: 44%; border-radius: 12px; background: repeating-linear-gradient(90deg, transparent 0 0.6%, #121316 0.6% 6.4%), #24262b; -webkit-mask: repeating-linear-gradient(180deg, #000 0 15%, transparent 15% 17%); mask: repeating-linear-gradient(180deg, #000 0 15%, transparent 15% 17%); }
.deck .pad { position: absolute; left: 33%; right: 33%; top: 60%; height: 32%; border-radius: 14px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.static-stage .deck { transform: none; height: 16px; left: -5%; right: -5%; border-radius: 0 0 18px 18px; }
.static-stage .deck i { display: none; }
.device.ipad, .device.phone { transform-style: preserve-3d; }
.device .slab { position: absolute; inset: 0; border-radius: inherit; background: #2a2c32; pointer-events: none; }
.device .slab:last-child { background: linear-gradient(160deg, #3a3d44, #1e2024); }
.device.ipad > .screen, .device.phone > .screen { transform: translateZ(1px); }

/* The stage in 3D (efectos.js deviceStage): the canvas takes the drawn devices' place. */
.stage-gl { display: none; }
.stage.gl .stage-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.9s var(--ease); }
/* The 3D scene shows only once it is drawn and its screens are painted; the flat devices give it
   their place from the start, so nothing swaps in front of the visitor. */
.stage.gl.gl-ready .stage-gl { opacity: 1; }
.stage.gl .scene .device { display: none; }
.stage-gl > canvas, .stage-dom { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-gl > canvas { z-index: 1; }
.stage-dom { overflow: hidden; }
.stage-cam { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.d3 { position: absolute; left: 0; top: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--ax-bg, #0f0f11); }
.d3 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.d3.has-shot > img { display: block; }
.d3.has-shot .ui { visibility: hidden; }
@media (min-width: 761px) { .stage.static-stage.gl .stage-gl { position: relative; inset: auto; height: min(56vw, 640px); } }
.stage.static-stage.gl .scene { display: none; }
@media (max-width: 760px) {
  .stage.gl .stage-gl { position: relative; inset: auto; order: 1; min-width: 0; width: calc(100% + 32px); height: min(100vw, 520px); margin: 0 -16px; }
}

/* ── The screens on the stage play the app: steps reveal [data-in], hide [data-out] and type
   [data-type] (efectos.js › screenPlays). Without that, or with reduced motion, each screen
   shows its last step. */
.ui.playing [data-in]:not(.is-in) { display: none !important; }
.ui:not(.playing) [data-out], .ui .is-out { display: none !important; }
.ui.playing .is-in { animation: ui-in 0.5s var(--ease) both; }
.ui.fading [data-in] { opacity: 0 !important; transition: opacity 0.4s; animation: none; }
.ui .press { animation: ui-press 0.6s var(--ease); }
.ui .typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ax-accent); animation: blink 0.9s steps(1) infinite; }
@keyframes ui-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes ui-press { 35% { transform: scale(0.9); filter: brightness(1.35); } }

/* What the real app has and the drawn screens were missing */
.ax-branch { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; margin-left: 4px; border-radius: 7px; background: var(--ax-field); color: var(--ax-fg2); font: 500 12px/1 var(--mono); }
.ax-bell { position: relative; display: inline-flex; }
.ax-bell em, .ph-bell em { position: absolute; top: -6px; right: -7px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: var(--ax-primary); color: #fff; font: 700 9.5px/15px var(--ax-font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--ax-bg); }
.ax-meta { display: flex; align-items: center; gap: 14px; margin-top: -8px; color: var(--ax-fg3); font-size: 12px; }
.ax-meta.r { justify-content: flex-end; }
.ax-round { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ax-field); color: var(--ax-fg); flex: none; }
.ax-round.live { background: rgba(91, 155, 255, 0.18); color: var(--ax-accent); }
.ax-done { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 13px; background: rgba(76, 196, 106, 0.1); color: var(--ax-ok); font-weight: 600; box-shadow: inset 0 0 0 0.5px rgba(76, 196, 106, 0.3); }
.ax-done .i { color: var(--ax-ok); }
.ax-composer .ph.draft { color: var(--ax-fg); }
.ax-avatar.ring { background: radial-gradient(circle, #8a8d96 0 52%, transparent 54%), conic-gradient(var(--ax-accent) 0 28%, rgba(255, 255, 255, 0.14) 28% 100%); }
.ui-phone .ax-taskchip, .ui-fold .ax-taskchip { font-size: 15px; padding: 14px; border-radius: 16px; }
.ui-phone .ax-meta { margin-top: -10px; font-size: 13px; }
.ui-phone .ax-done { font-size: 14px; }
.ui-phone > .ax-now, .ui-fold > .ax-now { flex: none; margin: 4px auto 6px; }
.ph-head .ax-proj { gap: 8px; }
.ph-bell { position: relative; display: inline-flex; }
.ph-bell .i { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); }
.ph-bell em { top: -3px; right: -3px; }
.ph-comp { position: relative; flex: none; margin: 0 10px 6px; padding: 15px 16px 10px; border-radius: 26px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border), 0 10px 30px -14px #000; transition: box-shadow 0.4s; }
.ph-comp.listen { box-shadow: 0 0 0 0.5px rgba(91, 155, 255, 0.5), 0 0 44px -8px rgba(79, 147, 255, 0.55); }
.ph-comp .ph { display: block; min-height: 24px; color: var(--ax-fg3); font-size: 16.5px; }
.ph-comp .ph.tx { color: var(--ax-fg); }
.ph-comp .ph-wave { display: flex; justify-content: center; height: 26px; gap: 3px; margin: 6px 0 2px; }
.ph-comp .ph-wave i { width: 3px; }
.ph-comp .row { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--ax-fg2); }
.ph-comp .row > .i:first-child { width: 22px; height: 22px; }
.ph-comp .ax-model { height: 32px; padding: 0 12px; background: var(--ax-field); }
.ph-comp .ax-mark { width: 34px; height: 34px; }
.ph-comp .sp, .ax-composer .sp { flex: 1; }
.ui-fold { background: var(--ax-bg); }
.ui-fold .ph-status { padding: 6px 22px 0; }
.ui-fold.r .ph-status { justify-content: flex-end; }
.ui-fold > .ax-filters { padding: 0 12px 10px; }
.ui-fold > .ax-task { margin: 0 12px 8px; padding: 12px; }
.ui-fold > .ax-task b { font-size: 15px; }
.ui-fold .ax-task .st.done::before { background: var(--ax-ok); }
.ui-fold .ax-task .st.done { color: var(--ax-ok); }
.fd-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 12px; }
.fd-head .ax-kicker { font-size: 14px; font-weight: 600; color: var(--ax-fg2); }
.fd-task { flex: 1; min-height: 0; display: grid; align-content: start; gap: 12px; margin: 0 12px; padding: 14px; border-radius: 18px; background: var(--ax-card); box-shadow: inset 0 0 0 0.5px var(--ax-border); overflow: hidden; }
.fd-title { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.fd-title .ax-ring { grid-row: auto; }
.ui-fold .tk-miles li { opacity: 1; transform: none; }
.ui-fold .tk-miles li:not(.ok) .ck, .ui-fold .tk-miles li.ok .tk-spin, .ui-fold .tk-miles li:not(.cur) .tk-spin, .ui-fold .tk-miles li.cur .tk-dot, .ui-fold .tk-miles li.ok .tk-dot { display: none; }
.ui-fold .tk-miles li.ok.cur em { color: var(--ax-ok); }
.ui-fold .tk-bar i.ok.cur { background: var(--ax-ok); }
.ui-fold .tk-files, .ui-fold .tk-foot { font-size: 12px; }
.ui-fold > .ph-comp { margin-top: 10px; }

/* Long chats: the screens always show a conversation that has been going on for days */
.ax-day { display: flex; align-items: center; gap: 10px; flex: none; color: var(--ax-fg3); font-size: 11.5px; font-weight: 600; }
.ax-day::before, .ax-day::after { content: ''; flex: 1; height: 0.5px; background: var(--ax-line); }
.ax-u.voice .i, .ax-u.said .i { width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; color: var(--ax-accent); }
.ax-u.att { display: grid; justify-items: end; gap: 6px; padding: 0; background: none; box-shadow: none; }
.ax-u.att .ax-pic { display: block; width: 168px; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.ax-u.att .ax-ub { padding: 8px 14px; border-radius: 18px; background: var(--ax-muted); box-shadow: inset 0 0 0 0.5px var(--ax-line); }
.ax-think { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; flex: none; margin-bottom: -6px; color: var(--ax-fg3); font-size: 12.5px; }
.ax-think .i { width: 14px; height: 14px; }
.ax-taskchip.done > .i { color: var(--ax-ok); }
.ax-chat > * { flex: none; }
.ax-group { margin: 12px 18px 6px; font-size: 11.5px; font-weight: 600; color: var(--ax-fg3); }
.ui-mac .ax-sub .tk-miles li, .ui-pass .tk-miles li { opacity: 1; transform: none; }
.ui-mac .ax-sub .tk-files { margin-bottom: 4px; }
.ui-phone .ax-day, .ui-fold .ax-day { font-size: 13px; }
.ui-phone .ax-think, .ui-fold .ax-think { font-size: 14px; }
.ui-phone .ax-u.att .ax-pic { width: 176px; }
.ui-ipad .pad .df-code { flex: none; }
.ui-ipad .pad .df-code + .df-head { margin-top: 2px; }
.df-n { font: 500 12px var(--mono); } .df-n em { font-style: normal; } .df-n .plus { color: var(--ax-ok); } .df-n .minus { color: #ff8f88; }
.df-code .ln.fold { color: var(--ax-fg3); background: var(--ax-muted); }
.df-code .ln.fold code::before { content: '⋯ '; }

/* The passport foldable: the conversation on one half, the board on the other */
.ui-pass .ph-head { padding: 4px 14px 8px; }
.ui-pass .ax-chat { flex: 1; justify-content: flex-end; padding: 8px 16px; font-size: 14.5px; gap: 12px; }
.ui-pass > .ph-comp { margin: 6px 12px 14px; }
.ui-pass.r .fd-head { padding: 6px 14px 12px; }
.ui-pass.r .bd-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ea1ff; box-shadow: 0 0 10px #4ea1ff; }
.pb-bar { display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; }
.pb-bar .ax-url { height: 34px; font-size: 13px; }
.pb-bar .bw-stop { width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.pb-site { margin: 0 12px 14px; border-radius: 16px; box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.85); }
.pb-site .s-nav { height: 52px; padding: 0 16px; }
.pb-site .s-logo { font-size: 22px; }
.pb-site .s-cart { width: 34px; height: 34px; }
.pb-site .s-cart .i { width: 16px; height: 16px; }
.pb-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--s-terra); color: #fff; font: 700 10.5px/18px var(--ax-font); text-align: center; font-style: normal; }
.pb-hero { display: grid; gap: 6px; margin: 0 12px; padding: 16px 18px 18px; border-radius: 14px; background: linear-gradient(150deg, #c4e8f3 0%, #f6e3c8 70%, #f7cfb0 100%); }
.pb-hero .s-tag { font-size: 10.5px; color: #b24a2c; }
.pb-hero b { font: 400 25px/1.04 Georgia, 'Times New Roman', serif; letter-spacing: -0.02em; max-width: 13ch; }
.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.pb-card { display: grid; gap: 8px; padding: 9px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(60, 30, 10, 0.06); font-size: 13.5px; }
.pb-card b { font-weight: 650; }
.pb-pic { display: grid; place-items: center; height: 108px; border-radius: 10px; }
.pb-pic svg { height: 76%; filter: drop-shadow(0 6px 8px rgba(40, 30, 20, 0.2)); }
.pb-pic.a { background: linear-gradient(160deg, #ffe6dc, #f6bfa9); }
.pb-pic.b { background: linear-gradient(160deg, #e6f0f6, #c3d7e4); }
.pb-pic.b svg, .pb-pic.c svg, .pb-pic.d svg { width: 72%; height: auto; }
.pb-pic.c { background: linear-gradient(160deg, #fdf0d6, #f4d9a6); }
.pb-pic.d { background: linear-gradient(160deg, #e9f1e4, #c9dcc0); }
.pb-site .s-add { padding: 6px 14px; font-size: 12px; }
.pb-sheet { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 8px; display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 -18px 40px -12px rgba(50, 25, 10, 0.4); font-size: 13.5px; }
.pb-sheet .s-drawer-h b { font-size: 20px; }
.pb-sheet .s-drawer-h span { font-size: 12px; }
.pb-row { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.pb-row .pb-pic { width: 52px; height: 52px; flex: none; }
.pb-pay { display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--s-ink); color: #fff; font-style: normal; font-weight: 650; font-size: 13.5px; }
.pb-pay > span { grid-area: 1 / 1; }
.pb-pay > span[data-in] { color: #fff; }
.ui-pass.r .pb-pay:has(> .is-in), .ui-pass.r:not(.playing) .pb-pay { background: #2f7d4f; }
.pb-cur { z-index: 5; position: absolute; left: 62%; top: 26%; display: flex; pointer-events: none; transition: left 0.9s var(--ease), top 0.9s var(--ease); }
.pb-cur.p1 { left: 13%; top: 76%; }
.pb-cur.p2 { left: 49%; top: 88%; }
.pb-cur svg { width: 24px; height: 24px; flex: none; fill: #0a84ff; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)); }
.pb-tag { position: absolute; left: 18px; top: 19px; display: grid; gap: 1px; padding: 5px 10px 6px; border-radius: 4px 10px 10px 10px; background: #0a84ff; color: #fff; font-size: 11.5px; white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(10, 132, 255, 0.55); }
.pb-tag b { font-size: 11px; font-weight: 700; }
.pb-cur.p2 .pb-tag { top: auto; bottom: 22px; }

/* The workspace views as a plain index under the window, no boxes: a hairline over each one fills
   while its view is on screen, and its title lights up. */
.ws-more button { position: relative; width: 100%; height: 100%; display: grid; align-content: start; gap: 8px; padding: 22px 0 0; border: 0; border-radius: 0; background: none; color: var(--fg-3); font: inherit; font-size: 15px; line-height: 1.5; text-align: left; cursor: pointer; transition: color 0.3s; }
.ws-more button b { color: var(--fg-2); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; transition: color 0.3s; }
.ws-more button:hover b, .ws-more button.on b { color: var(--fg); }
.ws-more button.on { color: var(--fg-2); }
.ws-more button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.ws-bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.ws-bar::after { content: ''; position: absolute; inset: 0; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }
.ws-more button.on .ws-bar::after { transform: scaleX(1); }
.ws-more button.auto.on .ws-bar::after { animation: ws-fill var(--hold, 4200ms) linear both; }
@keyframes ws-fill { from { transform: scaleX(0); } }

/* ── Redesign (2026-11-12): voice as lyrics, agents without cards, the wall of AIs ── */

/* ── One conversation, five reasons (2026-11-12) ────────────────────────────
   The index on the left names what a single conversation gives you; the window plays the scene
   of the one that is lit. Everything the window shows is a state of .cv-stage (data-scene,
   data-pj, data-view, data-menu, data-step), so a scene can be entered from any other. */
.one-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.one-head .big-title { font-size: clamp(38px, 5vw, 72px); max-width: none; }
.one-head .sub { margin: 0 0 8px; }
.cv-row { display: grid; grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.cv-index { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.cv-index li { position: relative; padding: 20px 0 22px; }
.cv-index button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.cv-index button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.cv-bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.cv-bar::after { content: ''; position: absolute; inset: 0; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }
:dir(rtl) .cv-bar::after { transform-origin: 100% 50%; }
.cv-index li.on .cv-bar::after { transform: scaleX(1); }
.cv-index li.on.auto .cv-bar::after { animation: ws-fill var(--hold, 6000ms) linear both; }
.cv-txt { display: grid; grid-template-rows: auto 0fr; pointer-events: none; transition: grid-template-rows 0.55s var(--ease); }
.cv-txt b { color: var(--fg-3); font-size: clamp(18px, 1.55vw, 21px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.25; transition: color 0.3s; }
.cv-txt span { min-height: 0; overflow: hidden; color: var(--fg-2); font-size: 15.5px; line-height: 1.55; opacity: 0; transition: opacity 0.4s; }
.cv-txt span::before { content: ''; display: block; height: 8px; }
.cv-index li:hover .cv-txt b { color: var(--fg-2); }
.cv-index li.on .cv-txt { grid-template-rows: auto 1fr; }
.cv-index li.on .cv-txt b { color: var(--fg); }
.cv-index li.on .cv-txt span { opacity: 1; }

.cv-stage { position: relative; min-width: 0; }
.cv-stage .ax-convo { transition: margin 0.7s var(--ease), opacity 0.5s, transform 0.7s var(--ease); }
.cv-stage .ax-proj b { display: none; }
.cv-stage[data-pj="1"] .ax-proj .pj1, .cv-stage[data-pj="2"] .ax-proj .pj2 { display: block; }
.cv-stage .ax-row.mem em { display: none; }
.cv-stage[data-pj="1"] .ax-row.mem .pj1, .cv-stage[data-pj="2"] .ax-row.mem .pj2 { display: block; }
.ax-row { transition: background 0.3s; }
.ax-row .ax-tick { display: none; color: var(--ax-accent); }
.cv-stage[data-pj="1"] .ax-row[data-pj="1"], .cv-stage[data-pj="2"] .ax-row[data-pj="2"] { background: var(--ax-muted); }
.cv-stage[data-pj="1"] .ax-row[data-pj="1"] .ax-tick, .cv-stage[data-pj="2"] .ax-row[data-pj="2"] .ax-tick { display: block; }
.cv-stage[data-pj="1"] .ax-row[data-pj="1"] > span:last-child, .cv-stage[data-pj="2"] .ax-row[data-pj="2"] > span:last-child { display: none; }
.cv-tab-topics { display: none; }
.cv-stage[data-view="chat"] .cv-tab-chat, .cv-stage[data-view="topics"] .cv-tab-topics { display: inline-flex; background: var(--ax-muted); color: var(--ax-fg); }
.cv-stage[data-view="topics"] .ax-composer { display: none; }
.cv-views { position: relative; flex: 1; min-height: 0; container: talk / inline-size; }
.cv-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
.cv-stage[data-view="chat"][data-pj="1"] .v-chat1, .cv-stage[data-view="chat"][data-pj="2"] .v-chat2, .cv-stage[data-view="topics"] .v-topics { opacity: 1; visibility: visible; transition: opacity 0.5s 0.1s, visibility 0s; }
.cv-view.ax-chat { justify-content: flex-end; padding-top: 56px; -webkit-mask-image: none; mask-image: none; container-type: size; }
/* Each conversation is days long: it is one strip, held by its end, that runs out under the summary. */
.cv-roll { display: flex; flex-direction: column; gap: inherit; }
.cv-roll > * { flex: none; }
/* The summary of everything older stays pinned at the top; the conversation runs out under it. */
.cv-sum { --inset: max(20px, calc((100% - 540px) / 2)); position: absolute; z-index: 1; top: 0; left: var(--inset); right: var(--inset); display: flex; align-items: center; gap: 9px; padding: 10px 0 12px; border-bottom: 0.5px solid var(--ax-line); background: var(--cv-ground, var(--ax-card)); color: var(--ax-fg3); font-size: 12.5px; }
.cv-sum::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 30px; margin-top: 0.5px; background: linear-gradient(var(--cv-ground, var(--ax-card)), transparent); }
.cv-sum .i { width: 15px; height: 15px; }
.cv-sum .i:last-child { margin-left: auto; }
/* What is said today makes room for itself and pushes the rest up, as a new message does. */
.cv-new { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.6s var(--ease), margin 0.6s var(--ease), opacity 0.5s 0.1s; }
.cv-in { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: hidden; }
.cv-stage[data-scene="1"][data-step="0"] .cv-new, .cv-stage[data-scene="1"][data-step="1"] .cv-n2 { grid-template-rows: 0fr; margin-top: -14px; opacity: 0; transition: none; }
/* The first scene comes down through the days before it stops at today. */
.cv-stage[data-scene="1"][data-step="0"] .v-chat1 .cv-roll { animation: cv-glide 2.6s cubic-bezier(0.5, 0, 0.12, 1) both; }
/* It starts at the oldest day of the strip: its own height less the room it is seen through. */
@keyframes cv-glide {
  from { transform: translateY(640px); transform: translateY(calc(100% - 100cqh + 10px)); opacity: 0; }
  9% { transform: translateY(640px); transform: translateY(calc(100% - 100cqh + 10px)); opacity: 1; }
}
.cv-thumb { position: absolute; z-index: 1; top: 62px; right: 5px; bottom: 6px; width: 3px; opacity: 0; transition: opacity 0.6s 0.4s; }
.cv-thumb::after { content: ''; position: absolute; inset: auto 0 0; height: 30px; border-radius: 2px; background: var(--ax-fg3); }
.cv-stage[data-scene="1"][data-step="0"] .cv-thumb { opacity: 0.8; transition: opacity 0.2s; }
.cv-stage[data-scene="1"][data-step="0"] .cv-thumb::after { animation: cv-thumb 2.6s cubic-bezier(0.5, 0, 0.12, 1) both; }
@keyframes cv-thumb { from, 9% { bottom: 38%; } }
@media (prefers-reduced-motion: reduce) { .cv-stage .cv-roll, .cv-stage .cv-thumb::after { animation: none !important; } }
.cv-live { display: none; }
.cv-stage[data-scene="5"]:not([data-step="0"]) .cv-live { display: block; animation: cv-pop 0.55s var(--ease) both; }
@keyframes cv-pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* The topics tab, with the app's own words (locales/history). */
.tp { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); font-size: 13px; }
.tp-list { display: flex; flex-direction: column; min-width: 0; padding: 4px 12px 12px; border-right: 0.5px solid var(--ax-line); }
.tp-find { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px; border-radius: 10px; background: var(--ax-field); color: var(--ax-fg3); white-space: nowrap; overflow: hidden; }
.tp-find .i { width: 14px; height: 14px; flex: none; }
.tp-q { color: var(--ax-fg); }
.tp-q:empty { display: none; }
.tp-q:not(:empty) ~ .tp-ph { display: none; }
.tp-caret { display: none; width: 1.5px; height: 15px; margin-left: -6px; background: var(--ax-accent); animation: tp-blink 1s steps(2) infinite; }
.cv-stage[data-scene="4"] .tp-caret { display: block; }
.cv-stage[data-scene="4"] .tp-q:empty ~ .tp-caret { margin-left: 0; }
.cv-stage[data-scene="4"] .tp-find { box-shadow: 0 0 0 1px rgba(91, 155, 255, 0.55); }
@keyframes tp-blink { 50% { opacity: 0; } }
.tp-h { max-height: 20px; margin: 16px 10px 6px; color: var(--ax-fg3); font-size: 11.5px; font-weight: 600; transition: opacity 0.3s, max-height 0.5s var(--ease), margin 0.5s var(--ease); }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 9px 10px; border-radius: 10px; max-height: 64px; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.35s, padding 0.5s var(--ease), background 0.3s; }
.tp-row.on { background: var(--ax-muted); }
.tp-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-when, .tp-by { font-style: normal; font-size: 11.5px; color: var(--ax-fg3); }
.tp-row b { grid-area: 1 / 1; }
.tp-row .tp-when { grid-area: 1 / 2; }
.tp-row .tp-st { grid-area: 2 / 1; }
.tp-by { display: none; grid-area: 2 / 2; color: var(--ax-accent); font-weight: 600; }
.tp-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ax-fg2); }
.tp-st i { width: 6px; height: 6px; border-radius: 50%; background: var(--ax-fg3); flex: none; }
.tp-st.open i { background: var(--ax-accent); box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.18); }
.tp-st.done i { background: var(--ax-ok); }
.tp-st.parked i { background: none; box-shadow: inset 0 0 0 1.5px var(--ax-fg3); }
.cv-stage[data-scene="4"][data-step="2"] .tp-row:not(.on, .also) { max-height: 0; padding-block: 0; opacity: 0; }
.cv-stage[data-scene="4"][data-step="2"] .tp-h { opacity: 0; max-height: 0; margin-block: 5px; }
.cv-stage[data-scene="4"][data-step="2"] .tp-by { display: block; }
.tp-detail { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 8px 22px 16px; }
.tp-dh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tp-dh b { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.tp-sec { display: grid; gap: 6px; }
.tp-k { color: var(--ax-fg3); font-size: 11.5px; font-weight: 600; }
.tp-sec p { display: flex; align-items: flex-start; gap: 9px; margin: 0; line-height: 1.45; }
.tp-sec p > .i { width: 15px; height: 15px; margin-top: 2px; flex: none; color: var(--ax-ok); stroke-width: 2.4; }
.tp-box { width: 13px; height: 13px; margin: 3px 1px 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ax-fg3); flex: none; }
.tp-msgs { padding-top: 14px; border-top: 0.5px solid var(--ax-line); }
.tp-m { position: relative; display: grid !important; grid-template-columns: 58px minmax(0, 1fr); gap: 10px !important; padding: 6px 8px; margin: 0 -8px !important; border-radius: 9px; color: var(--ax-fg2); transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.tp-m em { font-style: normal; font-size: 11.5px; line-height: 1.7; color: var(--ax-fg3); }
.cv-stage[data-scene="4"][data-step="2"] .tp-m.hit { background: rgba(91, 155, 255, 0.13); box-shadow: inset 0 0 0 0.5px rgba(91, 155, 255, 0.4); color: var(--ax-fg); }
.tp-go { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--ax-accent); font-weight: 600; }
.tp-go .i { width: 14px; height: 14px; }
@container talk (max-width: 520px) {
  .tp { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .tp-list { padding: 4px 10px 10px; border-right: 0; border-bottom: 0.5px solid var(--ax-line); }
  .tp-h { margin: 10px 10px 2px; }
  .tp-row { padding: 6px 10px; }
  .tp-detail { gap: 12px; padding: 12px 18px 14px; }
  .tp-msgs { padding-top: 10px; }
  .tp-m:not(.hit) { display: none !important; }
  .tp-row.more, .tp-x { display: none !important; }
  .cv-stage[data-scene="4"] .tp-row.also { display: grid !important; }
  .tp-msgs { display: none; }
  .cv-stage[data-scene="4"] .tp-msgs { display: grid; }
  .cv-stage[data-scene="4"] .tp-sec:not(.tp-msgs) { display: none; }
}

/* The phone that comes in for the last scene: the same conversation, at the same point. */
.cv-phone {
  position: absolute; z-index: 3; right: -14px; bottom: -34px; width: 236px; height: 486px; display: flex; flex-direction: column;
  border-radius: 40px; background: var(--ax-bg); color: var(--ax-fg); font: 12.5px/1.45 var(--ax-font); letter-spacing: -0.005em; text-align: left; overflow: hidden;
  box-shadow: 0 0 0 1px #4a4c52, 0 0 0 6px #101114, 0 0 0 7px #34363b, 0 40px 80px -20px #000, 0 30px 90px -30px rgba(47, 124, 246, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(44px) rotate(2deg); transition: opacity 0.45s, transform 0.7s var(--ease), visibility 0s 0.45s;
}
.cv-stage[data-scene="5"] .cv-phone { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.25s, transform 0.8s var(--ease) 0.25s, visibility 0s; }
.cv-stage[data-scene="5"] .ax-convo { margin-right: 204px; }
.cvp-status { position: relative; display: flex; align-items: center; justify-content: space-between; flex: none; height: 40px; padding: 4px 22px 0 26px; font-size: 12.5px; }
.cvp-status > i { position: absolute; left: 50%; top: 9px; width: 66px; height: 20px; margin-left: -33px; border-radius: 12px; background: #000; }
.cvp-status span { display: flex; gap: 5px; }
.cvp-status .i { width: 14px; height: 14px; }
.cvp-head { display: flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px 8px; }
.cvp-head .ax-avatar { width: 28px; height: 28px; }
.cvp-pj { display: inline-flex; align-items: center; gap: 6px; height: 28px; min-width: 0; padding: 0 11px; border-radius: 999px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); font-weight: 600; }
.cvp-pj b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cvp-pj .i { width: 12px; height: 12px; flex: none; color: var(--ax-fg3); }
.cvp-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 6px 14px 4px; overflow: hidden; line-height: 1.5; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 64px); mask-image: linear-gradient(to bottom, transparent, #000 64px); }
.cvp-chat .ax-u:not(.att) { padding: 7px 12px; border-radius: 16px; }
.cvp-chat .ax-u.att .ax-pic { width: 128px; border-radius: 12px; }
.cvp-chat .ax-u.att .ax-ub { padding: 7px 12px; border-radius: 16px; }
.cvp-chat > * { flex: none; }
.cvp-composer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; height: 42px; margin: 8px 10px 12px; padding: 0 6px 0 15px; border-radius: 21px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); color: var(--ax-fg3); white-space: nowrap; overflow: hidden; }
.cvp-composer span { overflow: hidden; text-overflow: ellipsis; }
.cvp-composer .ax-mark { width: 30px; height: 30px; }

@media (max-width: 1020px) {
  .one-head, .cv-row { grid-template-columns: 1fr; }
  .one-head { gap: 20px; align-items: start; }
  .cv-row { gap: 22px; margin-top: 40px; }
  .cv-index { grid-template-columns: repeat(5, 1fr); column-gap: 6px; }
  .cv-index li { display: contents; }
  .cv-index button { position: relative; inset: auto; grid-row: 1; height: 30px; }
  .cv-bar { top: 14px; height: 2px; border-radius: 2px; overflow: hidden; }
  .cv-txt { grid-area: 2 / 1 / 3 / -1; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
  .cv-index li.on .cv-txt { opacity: 1; visibility: visible; transition: opacity 0.35s, visibility 0s; }
  .cv-txt span { opacity: 1; max-width: 60ch; }
}
/* On a phone the stage is the phone app itself, edge to edge and with no device drawn around it:
   the frame is the visitor's own phone. The topics come up as a sheet, and the last scene brings
   the computer in above, with the same conversation at the same point. */
.tp-title, .cv-desk, .cv-plus { display: none; }
@media (max-width: 720px) {
  .cv-stage .ax-convo { height: 620px; }
  .cv-stage[data-scene="5"] .ax-convo { margin-right: 0; opacity: 0.3; transform: scale(0.96); }
  .cv-phone { right: 50%; bottom: 22px; margin-right: -118px; }
  .cv-stage[data-view="topics"] .ax-tab-act { display: none; }
}
@media (max-width: 520px) {
  .cv-stage { height: 604px; margin-inline: -16px; }
  .cv-phone { display: none; }
  .cv-stage .ax-convo { position: absolute; inset: 0; height: auto; margin: 0; border-radius: 34px; font-size: 15px; transition: top 0.7s var(--ease); }
  .ax-convo .ax-top { height: 62px; padding: 8px 14px 0; gap: 10px; }
  .ax-convo .ax-dots, .ax-convo .ax-tools svg:nth-of-type(3), .ax-convo .ax-proj > .i:first-child { display: none; }
  .ax-convo .ax-tools { display: contents; }
  .ax-convo .ax-tools .ax-avatar { order: -1; width: 36px; height: 36px; font: 650 15px/36px var(--ax-font); }
  .ax-convo .ax-proj { height: 36px; margin: 0; padding: 0 12px 0 15px; gap: 8px; border-radius: 999px; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); font-size: 15px; }
  .ax-convo .ax-tools .i { box-sizing: border-box; width: 36px; height: 36px; padding: 9.5px; border-radius: 50%; background: var(--ax-sec); box-shadow: 0 0 0 0.5px var(--ax-border); color: var(--ax-fg); }
  .ax-convo .ax-top .ax-tools svg:nth-child(-n+2) { display: block; }
  .ax-convo .ax-tools .i:first-of-type { margin-left: auto; }
  .ax-convo .ax-body { padding: 0; }
  .ax-convo .ax-pane { background: none; border-radius: 0; box-shadow: none; }
  .ax-convo .ax-tabs { display: none; }
  .ax-convo .cv-views { z-index: 1; }
  .ax-convo .ax-chat { --fade: 44px; gap: 14px; padding: 10px 16px 6px; font-size: 15px; line-height: 1.5; }
  .ax-convo .ax-u:not(.att), .ax-convo .ax-ub { padding: 9px 15px; border-radius: 20px; }
  .cv-stage .ax-convo { --cv-ground: var(--ax-bg); }
  .ax-convo .cv-view.ax-chat { padding-top: 54px; }
  .cv-stage[data-scene="5"] .v-chat1 { padding-top: 10px; -webkit-mask-image: linear-gradient(to bottom, transparent 4px, #000 var(--fade)); mask-image: linear-gradient(to bottom, transparent 4px, #000 var(--fade)); }
  .cv-stage[data-scene="5"] .cv-sum { display: none; }
  .ax-convo .cv-sum { --inset: 16px; padding: 8px 0 12px; font-size: 13px; }
  .cv-stage .ax-composer, .cv-stage[data-view="topics"] .ax-composer { display: block; box-sizing: border-box; height: 96px; margin: 6px 10px 12px; padding: 14px 12px 10px 16px; border-radius: 26px; }
  .ax-convo .ax-composer .ph { font-size: 15px; }
  .ax-convo .ax-composer .row { gap: 10px; margin-top: 11px; }
  .ax-convo .ax-composer .row > .i:first-child { display: none; }
  .ax-convo .cv-plus { display: block; width: 21px; height: 21px; }
  .ax-convo .one-mic { box-sizing: border-box; width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: rgba(91, 155, 255, 0.16); color: var(--ax-accent); }
  .ax-convo .ax-composer .ax-mark { width: 34px; height: 34px; }
  .cv-stage .ax-menu { top: 58px; left: 12px; width: min(310px, calc(100% - 24px)); font-size: 14px; }

  .cv-stage .tp { font-size: 14.5px; }
  .cv-stage .v-topics, .cv-stage[data-view="topics"] .v-topics { inset: 6px 0 -114px; opacity: 1; background: var(--ax-card); border-radius: 24px 24px 0 0; box-shadow: 0 0 0 0.5px var(--ax-border), 0 -24px 60px #000; }
  .cv-stage .v-topics { transform: translateY(104%); transition: transform 0.6s var(--ease), visibility 0s 0.6s; }
  .cv-stage[data-view="topics"] .v-topics { transform: none; transition: transform 0.7s var(--ease), visibility 0s; }
  .v-topics::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
  .tp-title { display: block; margin: 24px 10px 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
  .cv-stage .tp-find { height: 38px; flex: none; }
  .cv-stage .tp-dh b { font-size: 19px; }
  .cv-stage[data-scene="4"][data-step="2"] .tp-m:not(.hit) { display: grid !important; }
  .cv-stage[data-view="topics"][data-pj="1"] .v-chat1 { opacity: 0.3; visibility: visible; }

  .cv-desk { display: flex; flex-direction: column; position: absolute; z-index: 2; top: 0; left: 10px; right: 10px; height: 232px; border-radius: 16px; opacity: 0; visibility: hidden; transform: translateY(-14px) scale(0.97); transition: opacity 0.4s, transform 0.6s var(--ease), visibility 0s 0.4s; }
  .cv-stage[data-scene="5"] .cv-desk { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.2s, transform 0.8s var(--ease) 0.2s, visibility 0s; }
  .cv-stage[data-scene="5"] .ax-convo { top: 244px; margin: 0; opacity: 1; transform: none; }
  .cv-desk .ax-top { height: 38px; }
  .cv-desk .ax-tabs { padding: 6px; }
  .cv-desk .ax-tab { height: 28px; font-size: 12.5px; }
  .cv-desk .ax-dots { display: flex; }
  .cv-desk .ax-proj { margin-left: 10px; }
  .cv-desk .ax-proj b { display: block; }
  .cvd-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 6px 6px; border-radius: 11px; background: var(--ax-card); overflow: hidden; }
  .cv-desk .ax-chat { justify-content: flex-end; gap: 9px; padding: 8px 14px 12px; font-size: 12.5px; line-height: 1.45; }
  .cv-desk .ax-u { padding: 6px 12px; border-radius: 15px; }
}
@media (max-width: 380px) {
  .ax-convo .ax-top .ax-tools svg:first-child { display: none; }
  .ax-convo .ax-tools .i:nth-of-type(2) { margin-left: auto; }
}

/* How the single conversation works, in plain words: three columns split by hairlines, the
   drawings straight on the page. */
.how3 { list-style: none; margin: 104px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.how3 li { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 8px; align-content: start; padding: 0 clamp(20px, 2.6vw, 36px); border-left: 0.5px solid var(--line-2); }
.how3 li:first-child { padding-left: 0; border-left: 0; }
.how3 li:last-child { padding-right: 0; }
.how-art { height: 196px; margin-bottom: 22px; display: grid; align-content: center; --ax-fg3: #8a8f99; --ax-line: rgba(255, 255, 255, 0.12); }
.how-art .i { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.how-n { font: 600 13px/1 var(--mono); color: var(--cyan); }
.how3 b { margin-top: 6px; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.how3 li > span:last-child { color: var(--fg-2); font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
.ha-chat { display: grid; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.ha-chat .ax-day { font-size: 11px; color: var(--fg-3); }
.ha-u { justify-self: end; margin: 0; padding: 7px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); }
.ha-a { margin: 0; color: var(--fg); }
.ha-chat .ha-a:last-child { color: #cfe6ff; }
.ha-mem, .ha-recall { display: grid; gap: 9px; }
.ha-mem-h { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.ha-mem-h .i, .ha-sum .i { width: 15px; height: 15px; }
.ha-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; color: var(--fg); }
.ha-row .i { width: 14px; height: 14px; flex: none; color: #6fdc8c; stroke-width: 2.4; }
.ha-row.new { color: #cfe6ff; border-bottom-color: rgba(108, 200, 245, 0.55); }
.ha-row em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: var(--cyan); }
.ha-sum { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: var(--fg-3); }
.ha-sum .i:last-child { margin-left: auto; }
.ha-quote { display: grid; gap: 3px; margin-top: 4px; padding: 2px 0 2px 12px; border-left: 2px solid var(--cyan); font-size: 13px; color: var(--fg); }
.ha-quote em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--cyan); }
.ha-recall .ha-a { font-size: 13.5px; line-height: 1.4; }
@media (max-width: 860px) {
  .how3 { grid-template-columns: 1fr; gap: 44px; margin-top: 64px; }
  .how3 li, .how3 li:first-child { padding: 28px 0 0; border-left: 0; border-top: 0.5px solid var(--line-2); }
  .how-art { height: auto; min-height: 150px; }
}

/* Voice: the mark listens, thinks and speaks; the orders and its answers scroll by like the
   lyrics of a song, the line being said in full light (efectos.js › voiceMark). */
.block.voice { overflow: hidden; }
.block.voice::before { content: ''; position: absolute; left: 50%; top: 46%; width: min(1500px, 150vw); aspect-ratio: 2 / 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(47, 124, 246, 0.16), rgba(47, 124, 246, 0.05) 55%, transparent); pointer-events: none; }
.block.voice .wrap { position: relative; }
.v-stage { margin-top: 76px; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.v-orb { display: grid; justify-items: center; gap: 20px; }
.voice-mark { position: relative; width: min(300px, 58vw); aspect-ratio: 160 / 152; }
.voice-mark::before { content: ''; position: absolute; inset: -34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 147, 255, 0.32), rgba(108, 200, 245, 0.08) 60%, transparent); transition: opacity 0.6s, transform 0.6s; }
.voice-mark svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 26px rgba(79, 147, 255, 0.6)); }
.v-stage[data-state='thinking'] .voice-mark::before { opacity: 0.6; transform: scale(0.9); }
.v-wave { display: flex; align-items: center; gap: 4px; height: 40px; }
.v-wave i { width: 4px; height: 6px; border-radius: 2px; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: 0.85; transition: height 0.08s linear, opacity 0.4s; }
.v-stage[data-state='thinking'] .v-wave i { opacity: 0.3; }
.orb-state { margin: 0; height: 1.4em; position: relative; width: 100%; text-align: center; font-weight: 600; color: var(--fg-2); }
.orb-state span { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.v-stage[data-state='listening'] .orb-state span:nth-child(1),
.v-stage[data-state='thinking'] .orb-state span:nth-child(2),
.v-stage[data-state='speaking'] .orb-state span:nth-child(3) { opacity: 1; }
.v-lyrics { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.v-lyrics .said { margin: 0; font-size: clamp(23px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 650; text-wrap: balance; }
.v-lyrics .reply { margin: 10px 0 0; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.4; color: var(--noondra); }
/* Live: a window on the list; every line moves so the one being said stays in the middle. */
.v-stage.live .v-lyrics { display: block; height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.v-stage.live .v-lyrics li { padding: 20px 0; opacity: 0.2; transform: translateY(var(--y, 0px)); transition: transform 1s var(--ease), opacity 0.7s var(--ease); will-change: transform; }
.v-stage.live .v-lyrics li.on { opacity: 1; }
.v-stage.live .v-lyrics li.on .w { opacity: 0.26; transition: opacity 0.3s; }
.v-stage.live .v-lyrics li.on .reply .w { opacity: 0; }
.v-stage.live .v-lyrics li.on .w.on { opacity: 1; }
.v-points, .pl-points { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 44px; }
.v-points li, .pl-points li { padding-top: 18px; border-top: 0.5px solid var(--line-2); font-size: 15.5px; line-height: 1.5; color: var(--fg-2); }
.pl-points { margin-top: 40px; }
@media (max-width: 900px) {
  .v-stage { grid-template-columns: 1fr; margin-top: 52px; gap: 28px; }
  .voice-mark { width: min(210px, 52vw); }
  .v-lyrics { text-align: center; }
  .v-stage.live .v-lyrics { height: 270px; }
  .v-stage.live .v-lyrics li { padding: 16px 0; }
}
@media (max-width: 760px) { .v-points, .pl-points { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; } }

/* Agents: the task panel next to a subagent at work, as a window; under it, what stays in
   your hands, four columns split by hairlines with the app's own pieces above each. */
.split-2.lean { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.split-2.lean .big-title { font-size: clamp(36px, 4.1vw, 60px); }
/* Chinese, Japanese and Korean glyphs are a full square wide: in half a page their titles step
   down so each sentence keeps to one line. */
@media (min-width: 901px) {
  :lang(ja) .split-2 .big-title, :lang(ko) .split-2 .big-title, :lang(zh-Hans) .split-2 .big-title { font-size: clamp(32px, 3.7vw, 54px); }
}
@media (min-width: 1041px) {
  :lang(ja) .split-2.lean .big-title, :lang(ko) .split-2.lean .big-title, :lang(zh-Hans) .split-2.lean .big-title { font-size: clamp(28px, 2.7vw, 40px); }
}
.agents .aside { margin-top: 36px; padding-top: 22px; max-width: 520px; border-top: 0.5px solid var(--line-2); }
.aside h3, .feat4 h3 { font-size: 19px; letter-spacing: -0.02em; }
.aside p, .feat4 p { margin: 8px 0 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.ax-agents { display: flex; flex-direction: column; }
.ax-agents .ax-body { flex: 1; min-height: 0; }
.ax-agents .ax-body.two { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.ax-agents .tk-miles li { opacity: 1; transform: none; }
@media (min-width: 1360px) { .agents .ax-agents { margin-right: -72px; } }
.feat4 { list-style: none; margin: 104px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.feat4 li { min-width: 0; padding: 0 clamp(16px, 2vw, 28px); border-left: 0.5px solid var(--line-2); }
.feat4 li:first-child { padding-left: 0; border-left: 0; }
.feat4 li:last-child { padding-right: 0; }
.feat-art { position: relative; height: 200px; margin-bottom: 26px; }
.feat-art::before { content: ''; position: absolute; inset: -10% -6%; background: radial-gradient(closest-side, rgba(47, 124, 246, 0.2), transparent); pointer-events: none; }
.feat-art > .ax { position: relative; }
.feat-art > .ax-nowpop { position: absolute; }
@media (max-width: 1040px) {
  .split-2.lean { grid-template-columns: 1fr; }
  .feat4 { grid-template-columns: 1fr 1fr; gap: 56px 0; margin-top: 72px; }
  .feat4 li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .feat4 li:nth-child(even) { padding-right: 0; }
}
@media (max-width: 640px) {
  .ax-agents .ax-body.two { grid-template-columns: 1fr; }
  .ax-agents .tasks-pane, .ax-agents .ax-branch { display: none; }
  .feat4 { grid-template-columns: 1fr; gap: 48px; }
  .feat4 li, .feat4 li:nth-child(even) { padding: 0; border-left: 0; }
}

/* Every AI: the names as one wall of type. They are dark until the light passes over them; it
   follows the pointer, and wanders on its own when there is none (efectos.js › aiWall). */
.providers { position: relative; padding: 150px 0 130px; text-align: center; overflow: hidden; }
.ai-wall {
  --mx: 50%; --my: 42%;
  list-style: none; margin: 76px auto 0; padding: 0.06em 20px 0.14em; max-width: 1560px; text-align: center;
  font-size: clamp(40px, 8.6vw, 138px); font-weight: 700; letter-spacing: -0.055em; line-height: 1.04;
  background: radial-gradient(clamp(240px, 36vw, 620px) circle at var(--mx) var(--my), #ffffff 0, #d4e6ff 20%, #6cc8f5 38%, #2f7cf6 56%, #222a3c 80%, #1b202c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  cursor: default; -webkit-user-select: none; user-select: none;
}
.ai-wall li { display: inline; margin: 0 0.14em; white-space: nowrap; }
@media (max-width: 760px) { .providers { padding: 72px 0 56px; } .ai-wall { margin-top: 44px; line-height: 1.08; } }

/* The letter of a ring or an avatar is centred by its cap height, not by its line box: the font
   comes from the system stack, and its metrics left the letter up to 2px high on Linux and Windows. */
@supports (text-box: trim-both cap alphabetic) and (align-content: center) {
  .ax-ring, .ax-avatar, .ax-tools .ax-avatar {
    display: block; align-content: center; text-align: center; text-box: trim-both cap alphabetic;
  }
}
