/* The showcase animations (js/anim/*.js), one per step of the pinned
   showcase in index.html.

   Each is a 1600 × 900 replica of a Didote screen in the Slate theme (colours
   copied from html[data-theme="slate"] in src/App.jsx), scaled to its clip
   and moved by the camera in js/anim/engine.js. Everything that changes over
   time is set from the scripts; this file only holds the look and the short
   transitions.

   Shared pieces come first (scene, cards, labels, buttons, pointer), then one
   section per step: ea- email, ep- proposals, eg- agreements, ei- invoices. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(/fonts/files/plus-jakarta-sans-e2e017e1ca.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
/* The invoice's amounts, as in the app. */
@font-face {
  font-family: "JetBrains Mono";
  src: url(/fonts/files/jetbrains-mono-b87346fdc7.woff2) format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
/* The serif the generated decks and agreements are set in. */
@font-face {
  font-family: "Newsreader";
  src: url(/fonts/files/newsreader-fc2eb10d63.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url(/fonts/files/newsreader-2f1147e7cf.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/* The dashboard's pick count, in italic. */
@font-face {
  font-family: "Instrument Serif";
  src: url(/fonts/files/instrument-serif-4168286656.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
/* The focus timer's clock (the tour's Focus tile). */
@font-face {
  font-family: "Instrument Serif";
  src: url(/fonts/files/instrument-serif-03435c642a.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}

.eanim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* the app's own background, so a shot that reaches past the screen's
     edge simply shows more of it */
  background: #14181d;
  font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif;
  color: #e8ecf1;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.eanim *, .eanim *::before, .eanim *::after { box-sizing: border-box; }
/* A phone skips laying out and painting an animation it can't see yet
   (the browser brings it back as it nears the screen). The page carries
   ~3,000 elements of animation below the first screen, and each time the
   whole page was laid out again while loading (a font arriving, the cover
   lifting) a slow Android phone spent ~0.2s on them, which is when a tap
   waited (Umami, Nov 2026: 0.6-1.9s to answer a tap on phones in
   Instagram's browser). The mount's size comes from its parent (inset: 0),
   so skipping its contents can't change the page's height. */
@media (max-width: 768px) {
  .eanim { content-visibility: auto; }
}

.ea-scene {
  position: absolute;
  left: 0;
  top: 0;
  width: 1600px;
  height: 900px;
  transform-origin: 0 0;
  background: #14181d;
}

/* ── cards ─────────────────────────────────────────────────────────── */
.ea-card {
  position: absolute;
  top: 40px;
  height: 820px;
  background: #1c2128;
  border: 1px solid #2c333c;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.ea-left {
  left: 40px;
  width: 500px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
}
.ea-right {
  left: 564px;
  width: 996px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ea-label {
  margin: 0 0 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6c7787;
}
.ea-label b { color: #e08078; font-weight: 700; }
.ea-label i {
  margin-left: 6px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ── situation picker ──────────────────────────────────────────────── */
.ea-select {
  position: relative;
  height: 70px;
  margin-bottom: 30px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1.5px solid #2c333c;
  border-radius: 14px;
  background: #232932;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.ea-select.is-open { border-color: #8cb3de; box-shadow: 0 0 0 4px rgba(140, 179, 222, 0.14); }
.ea-select.is-set { border-color: #8a7fd6; background: #262340; }
.ea-select .ea-dot { opacity: 0; transition: opacity 0.2s; }
.ea-select.is-set .ea-dot { opacity: 1; }
.ea-select__title { font-size: 17px; font-weight: 600; }
.ea-select__desc { margin-top: 2px; font-size: 13px; color: #9aa5b4; }
.ea-select__empty { font-size: 16px; font-weight: 500; color: #6c7787; }
.ea-select .ea-select__chosen { display: none; }
.ea-select.is-set .ea-select__chosen { display: block; }
.ea-select.is-set .ea-select__empty { display: none; }
.ea-chev {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: #9aa5b4;
  transition: transform 0.25s;
}
.ea-select.is-open .ea-chev { transform: rotate(180deg); }

.ea-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ea-menu {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 172px;
  z-index: 5;
  padding: 7px;
  background: #1c2128;
  border: 1px solid #3d4552;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 0;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ea-menu.is-open { opacity: 1; transform: none; }
.ea-opt {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 13px;
  border-radius: 11px;
  transition: background-color 0.15s;
}
.ea-opt .ea-dot { margin-top: 6px; }
.ea-opt.is-hover { background: #2a313b; }
.ea-opt b { display: block; font-size: 15.5px; font-weight: 600; }
.ea-opt span { display: block; margin-top: 1px; font-size: 13px; color: #9aa5b4; }

/* ── tone ──────────────────────────────────────────────────────────── */
.ea-seg { margin-bottom: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ea-seg span {
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #2c333c;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #c5ccd6;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ea-seg span.is-on { border-color: #e8ecf1; background: #e8ecf1; color: #14181d; }

/* ── context ───────────────────────────────────────────────────────── */
.ea-area {
  flex: 1;
  padding: 18px 20px;
  font-size: 16.5px;
  line-height: 1.62;
  color: #e8ecf1;
  background: #232932;
  border: 1.5px solid #2c333c;
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ea-area.is-focus { border-color: #8cb3de; box-shadow: 0 0 0 4px rgba(140, 179, 222, 0.14); }
.ea-area__ph { color: #6c7787; }

.ea-caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: #e8ecf1;
  visibility: hidden;
}
.ea-caret.is-on { visibility: visible; }
.ea-caret.is-blink { animation: ea-blink 1s steps(1) infinite; }

/* ── draft button ──────────────────────────────────────────────────── */
.ea-btn {
  margin-top: 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  background: #e8ecf1;
  color: #14181d;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.12s ease, background-color 0.2s;
}
.ea-btn.is-press { transform: scale(0.965); }
.ea-btn.is-busy { background: #d2d8e0; }
.ea-spin {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(20, 24, 29, 0.22);
  border-top-color: #14181d;
  border-radius: 50%;
  animation: ea-spin 0.7s linear infinite;
}
.ea-btn.is-busy .ea-spin { display: block; }

/* ── draft card ────────────────────────────────────────────────────── */
.ea-head {
  flex: none;
  height: 78px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #2c333c;
}
.ea-head svg { width: 23px; height: 23px; color: #9aa5b4; }
.ea-head__title { font-size: 19px; font-weight: 700; }

.ea-pill {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.3, 1.4, 0.4, 1);
}
.ea-pill.is-on { opacity: 1; transform: none; }
.ea-pill.is-drafting {
  color: #8cb3de;
  background: #1a2738 linear-gradient(100deg, transparent 30%, rgba(140, 179, 222, 0.22) 50%, transparent 70%) no-repeat;
  background-size: 220% 100%;
  animation: ea-shimmer 1.3s linear infinite;
}
.ea-pill.is-ready { color: #7fbf9c; background: #1b2e26; }

.ea-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s, transform 0.35s;
}
.is-ready .ea-actions { opacity: 1; transform: none; }
.ea-ghost {
  height: 40px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  border: 1px solid #2c333c;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #e8ecf1;
}
.ea-primary {
  height: 40px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #e8ecf1;
  color: #14181d;
  font-size: 14.5px;
  font-weight: 700;
  transition: transform 0.12s ease;
}
.ea-primary.is-press { transform: scale(0.94); }

.ea-body {
  position: relative;
  flex: 1;
  padding: 30px 38px 0;
  font-size: 19.5px;
  line-height: 1.62;
}
.ea-subj { margin: 0 0 22px; font-weight: 600; }
.ea-subj__k { color: #6c7787; font-weight: 500; }
.ea-p { margin: 0 0 17px; }
.ea-w {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.ea-w.is-on { opacity: 1; filter: none; }
.ea-ps {
  margin: 4px -10px 0;
  padding: 2px 10px;
  border-radius: 9px;
  transition: background-color 0.8s ease;
}
.ea-ps.is-glow { background: rgba(127, 191, 156, 0.13); }
.ea-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s;
}
.ea-empty__ico { width: 46px; height: 46px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 50%; background: #e8ecf1; color: #14181d; }
.ea-empty__ico svg { width: 22px; height: 22px; }
.ea-empty b { font-size: 18px; font-weight: 700; }
.ea-empty > span:last-child { margin-top: 6px; max-width: 340px; font-size: 14.5px; line-height: 1.45; color: #9aa5b4; }
.ea-empty.is-gone { opacity: 0; }
.ea-bcaret {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 25px;
  background: #e8ecf1;
  opacity: 0;
}
.ea-bcaret.is-on { opacity: 1; }

.ea-refine {
  flex: none;
  height: 84px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #2c333c;
  opacity: 0.35;
  transition: opacity 0.35s;
}
.is-ready .ea-refine { opacity: 1; }
.ea-refine .ea-label { margin: 0 8px 0 0; }
.ea-chip {
  height: 38px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #2c333c;
  border-radius: 999px;
  background: #232932;
  font-size: 14.5px;
  font-weight: 600;
  color: #e8ecf1;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s ease;
}
.ea-chip svg { width: 14px; height: 14px; color: #9aa5b4; }
.ea-chip.is-press { transform: scale(0.94); }
.ea-chip.is-on { background: #1b2e26; border-color: #4f8c6c; color: #7fbf9c; }

.ea-history { max-width: 0; padding: 0; overflow: hidden; border-width: 0; white-space: nowrap; opacity: 0; transition: max-width 0.4s ease, padding 0.4s ease, opacity 0.3s ease 0.1s; }
.ea-history.is-on { max-width: 140px; padding: 0 17px; border-width: 1px; opacity: 1; }

/* ── pointer ───────────────────────────────────────────────────────── */
.ea-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  width: 28px;
  height: 28px;
  transform-origin: 0 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}
.ea-cursor svg { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; }
/* the hand's fingertip sits where the arrow's tip does */
.ea-cursor .ea-cur-hand { left: -10px; top: -1px; display: none; }
.ea-cursor.is-hand .ea-cur-hand { display: block; }
.ea-cursor.is-hand .ea-cur-arrow { display: none; }
/* no ring around clicks — the owner's recordings show none; the buttons' own press shows the click */
.ea-ripple { display: none; }
.ea-ripple-unused {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 19;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 2.5px solid rgba(232, 236, 241, 0.85);
  border-radius: 50%;
  opacity: 0;
}

@keyframes ea-blink { 50% { opacity: 0; } }
@keyframes ea-spin { to { transform: rotate(360deg); } }
@keyframes ea-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ═══ the app around a module (af-), copied at 1440 × 810 ══════════ */
.af { position: absolute; inset: 0; background: #14181d; font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif; color: #e8ecf1; }
.af svg { display: block; }
.af-side { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; background: #171c22; border-right: 1px solid #232932; z-index: 3; }
.af-top { position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 8px; color: #9aa5b4; }
.af-top svg { width: 14px; height: 14px; }
.af-ico { position: absolute; left: 8px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #8a95a5; transition: background-color 0.25s, color 0.25s; }
.af-ico svg { width: 17px; height: 17px; }
.af-ico.is-on { background: #262c35; color: #e8ecf1; }
.af-plus { position: absolute; left: 17px; top: 526px; width: 22px; height: 20px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 6px; color: #9aa5b4; }
.af-plus svg { width: 12px; height: 12px; }
.af-av, .af-head__av, .af-tab__av { display: grid; place-items: center; border-radius: 50%; background: #1b2e26; color: #7fbf9c; font-weight: 700; }
.af-av { position: absolute; left: 12px; top: 555px; width: 32px; height: 32px; border: 1.5px solid #4f8c6c; font-size: 11px; }
.af-gear { position: absolute; left: 19px; top: 779px; color: #9aa5b4; }
.af-gear svg { width: 18px; height: 18px; }
.af-tabs { position: absolute; left: 56px; right: 0; top: 0; height: 54px; display: flex; align-items: center; border-bottom: 1px solid #2c333c; }
.af-dash { margin-left: 34px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: #9aa5b4; }
.af-dash svg { width: 14px; height: 14px; }
.af-tab { margin-left: 34px; height: 32px; padding: 0 12px 0 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #2c333c; border-radius: 8px; background: #1c2128; font-size: 14px; }
.af-tab b { font-weight: 600; }
.af-tab svg { width: 13px; height: 13px; margin-left: 8px; color: #9aa5b4; }
.af-tab__av { width: 18px; height: 18px; font-size: 7.5px; }
.af-new { margin-left: 20px; color: #9aa5b4; }
.af-new svg { width: 16px; height: 16px; }
.af-credits { margin-left: auto; margin-right: 26px; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #2c333c; border-radius: 50%; font-size: 10px; font-weight: 700; color: #9aa5b4; }
.af-head { position: absolute; left: 56px; right: 0; top: 54px; height: 56px; padding: 0 44px 0 40px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #2c333c; }
.af-head__av { width: 26px; height: 26px; font-size: 9.5px; }
.af-head b { font-size: 18px; font-weight: 600; }
.af-pen { width: 15px; height: 15px; color: #6c7787; }
.af-gap { flex: 1; }
.af-status { height: 32px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.af-status i { font-style: normal; font-size: 9px; }
.af-status--mint { background: #1b2e26; color: #7fbf9c; }
.af-notes { height: 32px; padding: 0 14px; display: flex; align-items: center; gap: 7px; border: 1px solid #2c333c; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #c5ccd6; }
.af-notes svg { width: 13px; height: 13px; }
.af-main { position: absolute; left: 56px; right: 0; top: 110px; bottom: 0; overflow: hidden; }
.af-toast {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 310px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #2c333c;
  border-radius: 14px;
  background: #1c2128;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.af-toast.is-on { opacity: 1; transform: none; }
.af-toast__ico { width: 20px; font-size: 15px; line-height: 20px; text-align: center; }
.af-toast b { display: block; font-size: 13.5px; font-weight: 700; }
.af-toast span:not(.af-toast__ico) { display: block; margin-top: 2px; font-size: 12px; color: #9aa5b4; }

/* shared pieces of the module screens */
.am-card { position: absolute; background: #1c2128; border: 1px solid #2c333c; border-radius: 16px; }
.am-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9aa5b4; }
.am-label i { margin-left: 5px; font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: #6c7787; }
.am-label b { color: #e08078; }
.am-input { height: 42px; padding: 0 14px; display: flex; align-items: center; border: 1px solid #2c333c; border-radius: 10px; background: #232932; font-size: 14.5px; color: #e8ecf1; }
.am-input.is-ph { color: #6c7787; }
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: #e8ecf1; color: #14181d; font-size: 14.5px; font-weight: 700; transition: transform 0.12s ease, background-color 0.2s, color 0.2s; }
.am-btn svg { width: 16px; height: 16px; }
.am-btn--ghost { background: #1c2128; color: #e8ecf1; border: 1px solid #2c333c; }
.am-btn--off { background: #5b636e; color: #1c2128; }
.am-btn.is-press { transform: scale(0.95); }
.am-view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.am-view.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.am-back { position: absolute; font-size: 13px; color: #9aa5b4; }
.am-backpill { position: absolute; height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: #232932; font-size: 12.5px; color: #c5ccd6; }
.am-empty { position: absolute; left: 0; right: 0; top: 196px; display: flex; flex-direction: column; align-items: center; }
.am-empty__tile { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px dashed #3d4552; border-radius: 12px; background: #1c2128; color: #9aa5b4; }
.am-empty__tile svg { width: 22px; height: 22px; }
.am-empty b { margin-top: 18px; font-size: 18px; font-weight: 700; }
.am-empty p { margin: 6px 0 22px; font-size: 14px; color: #9aa5b4; }
.am-empty__btns { display: flex; gap: 10px; }
/* the "Warming up / Reading… / Drafting…" screen both generators share */
.am-gen { position: absolute; left: 0; right: 0; top: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.am-dots { display: flex; gap: 6px; margin-bottom: 26px; }
.am-dots span { width: 8px; height: 8px; border-radius: 50%; background: #e8ecf1; animation: am-pulse 1.4s ease-in-out infinite; }
.am-dots span:nth-child(2) { animation-delay: 0.2s; }
.am-dots span:nth-child(3) { animation-delay: 0.4s; }
.am-gen b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.am-gen p { margin: 8px 0 24px; max-width: 520px; font-size: 13.5px; line-height: 1.6; color: #6c7787; }
.am-bar { position: relative; width: 360px; height: 4px; overflow: hidden; border-radius: 999px; background: #2c333c; }
.am-bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: #e8ecf1; }
.am-bar.is-indet i { width: 35%; animation: am-indet 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.am-warn { margin-top: 22px; max-width: 440px; padding: 11px 16px; display: flex; gap: 9px; text-align: left; border: 1px solid rgba(227, 194, 115, 0.2); border-radius: 14px; background: #35301a; color: #e3c273; font-size: 12.5px; font-weight: 600; line-height: 1.55; }
@keyframes am-pulse { 0%, 100% { opacity: 0.25; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes am-indet { from { left: -35%; } to { left: 100%; } }

/* ═══ 02 · proposals (p2-), the real screens ═══════════════════════ */
.p2-back { left: 43px; top: 43px; }
.p2-card { left: 43px; top: 79px; width: 1294px; height: 510px; padding: 22px; }
.p2-area { position: absolute; left: 22px; top: 60px; right: 22px; bottom: 22px; padding: 14px 15px; border: 1px solid #2c333c; border-radius: 10px; background: #20252c; font-size: 15px; line-height: 1.45; }
.p2-ph p { margin: 0 0 22px; color: #5d6774; }
.p2-typed { color: #e8ecf1; }
.p2-gen { position: absolute; left: 588px; top: 606px; width: 204px; height: 46px; }
.p2-editor { position: absolute; left: 56px; top: 0; right: 0; bottom: 0; z-index: 4; background: #14181d; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.p2-editor.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s ease, visibility 0s; }
.p2-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 134px; padding: 19px 15px; }
.p2-raillabel { margin: 0 0 12px 16px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6c7787; }
.p2-thumb { position: relative; width: 104px; height: 58px; margin: 0 0 12px 1px; overflow: hidden; border-radius: 6px; outline: 2px solid transparent; outline-offset: 2px; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), outline-color 0.2s; }
.p2-thumb.is-on { opacity: 1; transform: none; }
.p2-thumb.is-current { outline-color: #8cb3de; }
.p2-thumb__in > .p2-slide { transform: scale(0.10879); transform-origin: 0 0; }
.p2-thumb__in > .ep-slide { transform: scale(0.09848); transform-origin: 0 0; }
.p2-tbtn { position: absolute; top: 20px; left: 152px; height: 34px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #2c333c; border-radius: 999px; background: #1c2128; font-size: 14.5px; font-weight: 600; transition: transform 0.12s ease; }
.p2-tbtn svg { width: 15px; height: 15px; }
.p2-tbtn .p2-chev { width: 13px; height: 13px; color: #9aa5b4; }
.p2-dl { left: 251px; }
.p2-tbtn.is-press { transform: scale(0.94); }
.p2-canvas { position: absolute; left: 152px; top: 70px; width: 956px; height: 538px; overflow: hidden; border-radius: 16px; background: #232932; }

.p2-panel { position: absolute; left: 1144px; top: 0; bottom: 0; width: 240px; overflow: hidden; background: #1a1e24; border-left: 1px solid #232932; }
.p2-deck { padding: 21px 20px 18px; border-bottom: 1px solid #232932; }
.p2-deck b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 700; }
.p2-deck span { display: block; margin-top: 3px; font-size: 12.5px; color: #9aa5b4; }
.p2-deck i { display: block; height: 1px; margin: 12px 0 10px; background: #2c333c; }
.p2-deck span:last-child { color: #6c7787; }
.p2-lab { margin: 12px 0 7px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6c7787; }
.p2-deck .p2-lab, .p2-sec > .p2-lab:first-child { margin-top: 0; }
.p2-lab--gap { margin-top: 18px; }
.p2-sec { padding: 16px 16px 0; }
.p2-el { display: none; padding-bottom: 12px; border-bottom: 1px solid #232932; }
.p2-el.is-on { display: block; }
.p2-elhead { margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.p2-elhead b { font-size: 11.5px; font-weight: 700; }
.p2-elhead span { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #6c7787; }
.p2-x svg { width: 12px; height: 12px; }
.p2-grid { margin-bottom: 6px; display: grid; gap: 4px; }
.p2-grid--6 { grid-template-columns: repeat(6, 1fr); }
.p2-grid--5 { grid-template-columns: repeat(5, 1fr); }
.p2-grid--4 { grid-template-columns: repeat(4, 1fr); }
.p2-grid--3 { grid-template-columns: repeat(3, 1fr); }
.p2-cell { height: 30px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 8px; background: #20252c; color: #c5ccd6; font-size: 12.5px; font-weight: 700; transition: transform 0.12s ease, background-color 0.15s; }
.p2-cell svg { width: 14px; height: 14px; }
.p2-cell.is-press { transform: scale(0.88); background: #2c333c; }
.p2-select { height: 30px; margin-bottom: 6px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #2c333c; border-radius: 8px; background: #20252c; font-size: 12.5px; color: #9aa5b4; }
.p2-select svg { width: 12px; height: 12px; }
.p2-row { margin-bottom: 6px; display: flex; gap: 6px; }
.p2-row > * { flex: 1; }
.p2-size { height: 30px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 8px; font-size: 12.5px; font-weight: 700; }
.p2-pbtn { height: 32px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #2c333c; border-radius: 8px; background: #20252c; color: #e8ecf1; font-size: 13px; font-weight: 600; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.p2-pbtn svg { width: 15px; height: 15px; }
.p2-wide { width: 100%; margin-bottom: 6px; }
.p2-spark { color: #ff6b84; }
.p2-bg { justify-content: space-between; padding: 0 11px; }
.p2-bg i { width: 18px; height: 18px; border: 1px solid #2c333c; border-radius: 4px; background: #f2f3f0; }

/* the owner's generated cover, at the editor's canvas size (956 × 538) */
.p2-slide { position: absolute; left: 0; top: 0; width: 956px; height: 538px; overflow: hidden; background: #f2f3f0; color: #1f2622; font-family: "Newsreader", Georgia, serif; }
.p2-eyebrow { position: absolute; left: 62px; top: 70px; margin: 0; font: 700 10.5px "Plus Jakarta Sans", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #6aa486; }
.p2-title { position: absolute; left: 62px; top: 226px; margin: 0; white-space: nowrap; font-size: 36px; font-weight: 400; line-height: 1.1; transition: font-size 0.25s ease; }
.p2-title i { color: #6aa486; }
.p2-sub { position: absolute; left: 62px; top: 356px; width: 420px; margin: 0; font: 400 14.5px/1.45 "Plus Jakarta Sans", sans-serif; color: #6b716d; }
.p2-foot { position: absolute; left: 62px; top: 450px; margin: 0; font-size: 16px; font-style: italic; }
.p2-ph-img { position: absolute; top: 0; right: 0; bottom: 0; left: 557px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #e3e5e1; color: #8b918d; }
.p2-ph-img svg { width: 34px; height: 34px; }
.p2-ph-img small { font: 700 9px "Plus Jakarta Sans", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.p2-ph-img span { font: 10px "Plus Jakarta Sans", sans-serif; }
.p2-photo { background: url(../assets/anim/juniper-cover.jpg) center / cover no-repeat; }
/* the cover's photo develops out of a blur, as in the owner's recording */
.p2-photo { position: absolute; top: 0; right: 0; bottom: 0; left: 557px; opacity: 0; filter: blur(22px) saturate(0.7); transform: scale(1.06); transition: opacity 1s ease, filter 1.4s ease, transform 1.6s ease; }
.p2-developed .p2-photo, .p2-placed .p2-thumb .p2-photo { opacity: 1; filter: none; transform: none; }
/* the cover writes itself part by part */
.p2-build { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.p2-build.is-on { opacity: 1; transform: none; }
.p2-title.p2-build { transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), font-size 0.25s ease; }

/* ═══ 03 · agreements (ag-), the real screens ══════════════════════ */
/* the proposals list, measured from the app (one proposal + the buttons) */
.ag-list { position: absolute; left: 43px; top: 43px; right: 43px; display: flex; flex-direction: column; gap: 10px; }
.ag-row { position: relative; height: 98px; padding: 0 17px; display: flex; align-items: center; gap: 21px; border: 1px solid #2c333c; border-radius: 16px; background: #1c2128; }
.ag-mini { position: relative; flex: none; width: 118px; height: 66px; overflow: hidden; border-radius: 6px; background: #f2f3f0; }
.ag-mini__badge { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.62); color: #fff; font-size: 8.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0.07em; text-transform: uppercase; }
.ag-mini--cover { background: url(../assets/anim/juniper-cover.jpg) right center / 42% 100% no-repeat, #f2f3f0; }
.ag-mini--cover::before { content: ""; position: absolute; left: 8px; top: 31px; width: 44px; height: 4px; border-radius: 2px; background: #1f2622; box-shadow: 0 8px 0 -1px #6aa486; }
.ag-row__text { flex: 1; min-width: 0; }
.ag-row__text b { display: block; margin-bottom: 3px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ag-row__text span { font-size: 12.5px; color: #9aa5b4; }
.ag-status { height: 29px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #2c333c; border-radius: 999px; background: #0e1116; color: #c5ccd6; font-size: 11.5px; font-weight: 700; }
.ag-status svg { width: 11px; height: 11px; }
.ag-dots { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; gap: 3.5px; border-radius: 8px; color: #9aa5b4; transition: background-color 0.15s; }
.ag-dots i { width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; }
.ag-dots { border: 1px solid transparent; }
.ag-dots.is-on { border-color: #2c333c; background: #232932; color: #e8ecf1; }
.ag-menu { position: absolute; top: 71px; right: 17px; z-index: 5; width: 216px; padding: 6px; border: 1px solid #2c333c; border-radius: 12px; background: #1c2128; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55); transform-origin: 100% 0; opacity: 0; transform: translateY(-6px) scale(0.97); transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ag-menu.is-open { opacity: 1; transform: none; }
.ag-menu p { margin: 0; padding: 6px 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: #6c7787; }
.ag-menu > i { display: block; height: 1px; margin: 6px; background: #2c333c; }
.ag-mi { height: 32px; padding: 0 10px; display: flex; align-items: center; gap: 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; transition: background-color 0.15s; }
.ag-mi svg { width: 14px; height: 14px; color: #9aa5b4; }
.ag-arrow { width: 14px; text-align: center; font-size: 15px; line-height: 1; color: #9aa5b4; }
.ag-mi.is-hover { background: #262c35; }
.ag-mi--red, .ag-mi--red svg { color: #e08078; }
.ag-cta { position: absolute; left: 0; right: 0; top: 161px; display: flex; justify-content: center; gap: 10px; }
.ag-cta .am-btn { height: 38px; padding: 0 20px; font-size: 13.5px; }

.ag-back { left: 43px; top: 43px; }
.ag-form { left: 43px; top: 88px; width: 1294px; height: 507px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ag-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ag-field .am-label { margin: 0 0 6px; }
.ag-in { min-height: 42px; padding: 11px 14px; border: 1px solid #2c333c; border-radius: 10px; background: #20252c; font-size: 14px; line-height: 1.45; color: #e8ecf1; }
.ag-tall .ag-in { height: 86px; }
.ag-gen { align-self: flex-end; margin-top: auto; }

.ag-docview { position: absolute; left: 56px; top: 0; right: 0; bottom: 0; z-index: 4; background: #14181d; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.ag-docview.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; }
.ag-docmain { position: absolute; left: 0; top: 0; bottom: 0; width: 1144px; }
/* the open agreement, measured from the app */
.ag-back2 { left: 28px; top: 20px; }
.ag-banner { position: absolute; left: 171px; top: 65px; width: 794px; padding: 12px 16px; display: flex; gap: 12px; border: 1px solid rgba(227, 194, 115, 0.2); border-radius: 12px; background: #35301a; color: #e3c273; font-size: 12.5px; line-height: 1.45; }
.ag-banner b { font-weight: 700; }
.ag-paper { position: absolute; left: 171px; top: 153px; bottom: 0; width: 794px; overflow: hidden; background: #faf7f2; color: #2a2522; }
.ag-inner { position: relative; padding: 64px 72px 72px; }
.ag-dhead { margin-bottom: 14px; padding-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #2a2522; }
.ag-dhead h3 { margin: 0; font: 400 28px "Newsreader", Georgia, serif; }
.ag-dhead p { margin: 4px 0 0; font: 500 11px "Newsreader", Georgia, serif; letter-spacing: 0.12em; text-transform: uppercase; color: #8a7f76; white-space: pre; }
.ag-mono { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ag-mono span { width: 44px; height: 44px; display: grid; place-items: center; background: #8e1f3a; color: #fff; font: 700 13px "Plus Jakarta Sans", sans-serif; }
.ag-mono small { font: 11px "Newsreader", Georgia, serif; letter-spacing: 0.06em; color: #8a7f76; }
.ag-sec { margin: 22px 0 6px; display: flex; align-items: center; }
.ag-sec span { width: 32px; flex: none; font: 400 11px "Newsreader", Georgia, serif; color: #8a7f76; }
.ag-sec b { margin-right: 14px; font: 700 12.5px "Newsreader", Georgia, serif; letter-spacing: 0.16em; text-transform: uppercase; }
.ag-sec i { flex: 1; height: 1px; background: #d9c6be; }
.ag-p { margin: 0; padding-left: 32px; font: 400 14.5px/1.5 "Newsreader", Georgia, serif; color: #2f2925; }
.ag-add { border-radius: 3px; background: rgba(127, 191, 156, 0.22); }
.ag-caret { background: #2a2522; }
.ag-panel { position: absolute; left: 1144px; top: 0; bottom: 0; width: 240px; display: flex; flex-direction: column; background: #1a1e24; border-left: 1px solid #232932; }
.ag-phead { padding: 18px 20px 14px; border-bottom: 1px solid #2c333c; }
.ag-phead p { margin: 0 0 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6c7787; }
.ag-phead b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 700; }
.ag-phead > span { font-size: 12.5px; color: #9aa5b4; }
.ag-save { margin-top: 10px; padding-top: 10px; border-top: 1px solid #2c333c; font-size: 12px; color: #6c7787; }
.ag-pmid { flex: 1; }
.ag-pfoot { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #2c333c; background: #1a1e24; }
.ag-fbtn { height: 34px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #2c333c; border-radius: 999px; background: #1c2128; color: #e8ecf1; font-size: 13px; font-weight: 600; }
.ag-fbtn svg { width: 13px; height: 13px; }
.ag-frow { display: flex; gap: 8px; }
.ag-frow .ag-fbtn { flex: 1; }
.ag-copy { margin-top: 4px; text-align: center; font-size: 12px; color: #6c7787; }

/* the agreement writing itself: a long page the camera rides down */
.ag-paper--long { bottom: auto; overflow: visible; }
.ag-fade { opacity: 0; transition: opacity 0.35s; }
.ag-fade.is-on { opacity: 1; }
.ag-wcaret { height: 21px; background: #2a2522; }

/* ═══ 04 · invoices (iv-), the real screens ════════════════════════ */
.iv-page { position: absolute; left: 43px; top: 43px; right: 43px; display: flex; flex-direction: column; gap: 18px; }
.iv-block { position: relative; padding: 22px; }
.iv-block .am-label { margin: 0 0 8px; }
.iv-sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.iv-sum { height: 136px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #2c333c; border-radius: 16px; background: #1c2128; }
.iv-sum__h { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.iv-sum__h span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e8ecf1; color: #14181d; }
.iv-sum__h svg { width: 17px; height: 17px; }
.iv-sum__v { display: flex; align-items: baseline; gap: 10px; }
.iv-sum__v b { font: 600 24px "JetBrains Mono", monospace; }
.iv-sum__v span { font-size: 12.5px; color: #9aa5b4; }
.iv-billing { height: 114px; display: flex; justify-content: space-between; align-items: flex-start; }
.iv-seg { width: max-content; padding: 4px; display: flex; gap: 2px; border: 1px solid #2c333c; border-radius: 999px; background: #171c22; }
.iv-seg span { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #9aa5b4; }
.iv-seg span.is-on { background: #e8ecf1; color: #14181d; font-weight: 600; }
.iv-cur .iv-in { width: 182px; justify-content: space-between; font-size: 13.5px; }
.iv-in { height: 42px; padding: 0 14px; display: flex; align-items: center; border: 1px solid #2c333c; border-radius: 10px; background: #20252c; font-size: 14.5px; transition: color 0.2s; }
.iv-in.is-ph { color: #6c7787; }
.iv-in i { margin-left: 8px; font-style: normal; color: #9aa5b4; }
.iv-hhead { margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.iv-htotal { font: 600 13.5px "JetBrains Mono", monospace; font-style: normal; opacity: 0; transition: opacity 0.3s; }
.iv-htotal.is-on { opacity: 1; }
.iv-exp__sub { margin: -4px 0 12px; font-size: 12px; color: #9aa5b4; }
.iv-exp__empty { padding: 16px; text-align: center; border: 1px solid #2c333c; border-radius: 10px; background: #232932; font-size: 13px; color: #9aa5b4; }
.iv-add { width: max-content; margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #c5ccd6; }
.iv-add svg { width: 14px; height: 14px; }
.iv-fixed .iv-hhead { margin-bottom: 12px; }
.iv-line { display: flex; gap: 8px; }
.iv-desc { flex: 1; }
.iv-amt { position: relative; width: 130px; padding-left: 28px; }
.iv-cursym { position: absolute; left: 13px; font-size: 13px; font-weight: 600; color: #9aa5b4; }
.iv-in.is-focus { border-color: #e8ecf1; box-shadow: 0 0 0 1px #e8ecf1; }
.iv-ph { color: #6c7787; }
.iv-step { position: absolute; top: 50%; right: 7px; display: none; flex-direction: column; gap: 1px; transform: translateY(-50%); }
.iv-step i { padding: 0 4px; border-radius: 2px; background: #3d4552; color: #e8ecf1; font-size: 7px; font-style: normal; line-height: 10px; }
.iv-amt.is-focus .iv-step { display: flex; }
.iv-g3, .iv-g2 { margin-bottom: 14px; display: grid; gap: 14px; }
.iv-g3 { grid-template-columns: repeat(3, 1fr); }
.iv-g2 { grid-template-columns: 1fr 1fr; }
.iv-fld .am-label { margin: 0 0 6px; }
.iv-bar { height: 92px; display: flex; align-items: center; gap: 22px; }
.iv-barv small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9aa5b4; }
.iv-barv b { font: 600 17px "JetBrains Mono", monospace; transition: color 0.3s; }
.iv-barv--due { padding-left: 22px; border-left: 1px solid #2c333c; }
.iv-barv--due b { font-size: 22px; }
.iv-barv b.is-bump { color: #7fbf9c; }
.iv-gap { flex: 1; }
.iv-prev { height: 38px; font-size: 13.5px; font-weight: 500; }
.iv-dl { height: 40px; }

/* ═══ 05 · files (fl-), the real Deliverables screen ════════════════ */
.fl-page { position: absolute; left: 43px; top: 43px; right: 43px; }
.fl-top { height: 30px; display: flex; align-items: center; gap: 10px; }
.fl-count { height: 29px; padding: 0 12px; display: flex; align-items: center; gap: 7px; border: 1px solid #2c333c; border-radius: 999px; background: #1c2128; font-size: 12.5px; color: #9aa5b4; }
.fl-count i { width: 6px; height: 6px; border-radius: 50%; background: #8cb3de; }
.fl-count b { font-size: 14px; color: #e8ecf1; }
.fl-gap { flex: 1; }
.fl-pick, .fl-csv { height: 28px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.fl-pick { background: #e8ecf1; color: #14181d; }
.fl-csv { border: 1px solid #2c333c; color: #9aa5b4; font-weight: 500; }
.fl-pick svg, .fl-csv svg { width: 13px; height: 13px; }
.fl-saved { margin-left: 4px; font-size: 12.5px; color: #6c7787; }
.fl-add { margin-top: 13px; height: 56px; padding: 0 10px 0 22px; display: flex; align-items: center; gap: 14px; border: 1px solid #2c333c; border-radius: 14px; background: #1c2128; font-size: 15px; color: #6c7787; }
.fl-add svg { width: 18px; height: 18px; color: #9aa5b4; }
.fl-add > span:not(.fl-addbtn) { flex: 1; }
.fl-addbtn { height: 34px; padding: 0 18px; display: grid; place-items: center; border-radius: 999px; background: #14181d; color: #e8ecf1; font-size: 14px; font-weight: 700; }
.fl-task { margin-top: 14px; height: 62px; padding: 0 22px 0 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #2c333c; border-radius: 12px; background: #1c2128; }
.fl-grip { font-size: 13px; color: #6c7787; }
.fl-check { width: 20px; height: 20px; border: 1.5px solid #3d4552; border-radius: 5px; }
.fl-task__text { flex: 1; }
.fl-task__text b { display: block; font-size: 15px; font-weight: 500; }
.fl-task__text span { font-size: 11.5px; color: #6c7787; }
.fl-pill { height: 22px; padding: 0 9px; display: flex; align-items: center; gap: 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.fl-pill--amber { background: #35301a; color: #e3c273; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fl-pill--blue { background: #1a2738; color: #8cb3de; }
.fl-pill i { font-style: normal; }
.fl-dash { margin-left: 30px; height: 26px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border: 1px dashed #2c333c; border-radius: 999px; font-size: 12px; color: #6c7787; }
.fl-dash span { font-size: 12px; }
.fl-files { height: 24px; padding: 0 9px; display: flex; align-items: center; gap: 5px; border: 1px dashed #2c333c; border-radius: 999px; font-size: 11px; font-weight: 600; color: #6c7787; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.fl-files svg { width: 11px; height: 11px; }
.fl-files.is-set { border-color: transparent; background: #1a2738; color: #8cb3de; }
.fl-up { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: #9aa5b4; transition: background-color 0.12s, transform 0.12s; }
.fl-up svg { width: 14px; height: 14px; }
.fl-up.is-press { background: #232932; color: #e8ecf1; transform: scale(0.9); }
.fl-panel { display: none; margin-top: 4px; padding: 10px 14px 12px; border: 1px solid #2c333c; border-radius: 14px; background: #232932; }
.fl-panel.is-on { display: block; }
.fl-uploading { margin-bottom: 8px; }
.fl-uploading.is-gone { display: none; }
.fl-upline { margin-bottom: 6px; display: flex; justify-content: space-between; font-size: 12px; color: #c5ccd6; }
.fl-pct { font: 600 12px "JetBrains Mono", monospace; }
.fl-bar { height: 4px; overflow: hidden; border-radius: 999px; background: #2c333c; }
.fl-bar i { display: block; height: 100%; background: #8cb3de; transform-origin: 0 0; transform: scaleX(0); }
.fl-file { display: none; height: 38px; margin-bottom: 10px; padding: 0 6px 0 10px; align-items: center; gap: 10px; border: 1px solid #2c333c; border-radius: 10px; background: #1c2128; }
.fl-file.is-on { display: flex; }
.fl-file > svg { width: 15px; height: 15px; color: #9aa5b4; }
.fl-file b { flex: 1; font-size: 13.5px; font-weight: 500; }
.fl-size { font: 500 11.5px "JetBrains Mono", monospace; color: #9aa5b4; }
.fl-dl { height: 28px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 1px solid #2c333c; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.fl-dl svg { width: 13px; height: 13px; }
.fl-x { width: 24px; display: grid; place-items: center; color: #9aa5b4; }
.fl-x svg { width: 13px; height: 13px; }
.fl-usage { margin: 0; font-size: 12px; color: #6c7787; }

/* ═══ the tour's dashboard, opening like the app (db-), 1800 × 1033 ═══ */
.db { position: absolute; inset: 0; font-family: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif; color: #e8ecf1; }
.db svg { display: block; }
.db-shell { opacity: 0; transition: opacity 0.3s ease; }
.db-shell.is-on { opacity: 1; }
.db-side { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; background: #171c22; border-right: 1px solid #232932; }
.db-top { position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 8px; color: #9aa5b4; }
.db-top svg { width: 14px; height: 14px; }
.db-ico { position: absolute; left: 8px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #8a95a5; }
.db-ico svg { width: 17px; height: 17px; }
.db-ico.is-on { background: #262c35; color: #e8ecf1; }
.db-plus { position: absolute; left: 17px; top: 593px; width: 22px; height: 20px; display: grid; place-items: center; border: 1px solid #2c333c; border-radius: 6px; color: #9aa5b4; }
.db-plus svg { width: 12px; height: 12px; }
.db-av { position: absolute; left: 13px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 9.5px; font-weight: 700; }
.db-av--peach, .db-tone--peach { background: #35271f; color: #efb394; }
.db-av--blue, .db-tone--blue { background: #1a2738; color: #8cb3de; }
.db-av--mint, .db-tone--mint { background: #1b2e26; color: #7fbf9c; }
.db-av--amber, .db-tone--amber { background: #35301a; color: #e3c273; }
.db-av--rose, .db-tone--rose { background: #33212a; color: #e08078; }
.db-av--lilac, .db-tone--lilac { background: #262340; color: #b9afee; }
.db-gear { position: absolute; left: 19px; top: 997px; color: #9aa5b4; }
.db-gear svg { width: 18px; height: 18px; }
.db-tabs { position: absolute; left: 56px; right: 0; top: 0; height: 54px; display: flex; align-items: center; border-bottom: 1px solid #2c333c; }
.db-tab { margin-left: 23px; height: 34px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #2c333c; border-radius: 8px; background: #1c2128; font-size: 14px; font-weight: 500; }
.db-tab svg { width: 14px; height: 14px; }
.db-new { margin-left: 28px; color: #9aa5b4; }
.db-new svg { width: 16px; height: 16px; }
.db-ring { margin: 0 24px 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #4f8c6c; border-radius: 50%; color: #7fbf9c; font-size: 16px; font-weight: 700; }
.db-main { position: absolute; left: 186px; top: 98px; width: 1482px; opacity: 0; transform: translateY(10px); transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1); }
.db-main.is-up { opacity: 1; transform: none; }
.db-date { margin: 0; font-size: 13px; color: #6c7787; }
.db-hello { margin: 6px 0 0; font-size: 48px; font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }
.db-hello span { color: #9aa5b4; }
.db-cards { height: 139px; margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.db-card { padding: 22px 22px 18px; display: flex; flex-direction: column; border: 1px solid #2c333c; border-radius: 16px; background: #1c2128; opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.db-card.is-on { opacity: 1; transform: none; }
.db-card__h { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa5b4; }
.db-card__ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; }
.db-card__ico svg { width: 14px; height: 14px; }
.db-card b { margin-top: 16px; font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.db-card > span { margin-top: 12px; font-size: 11.5px; color: #6c7787; }
.db-energy { margin: 36px 0 0; font-size: 14px; color: #9aa5b4; }
.db-chips { margin-top: 16px; display: flex; gap: 12px; }
.db-chip { height: 39px; padding: 0 18px; display: flex; align-items: center; gap: 9px; border: 1px solid #2c333c; border-radius: 999px; font-size: 14px; color: #c5ccd6; }
.db-chip svg { width: 14px; height: 14px; }
.db-chip.is-on { border-color: #24384f; background: #1a2738; color: #8cb3de; font-weight: 600; }
.db-picked { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; }
.db-picked p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6c7787; }
.db-picked p span { color: #9aa5b4; }
.db-refresh { font-size: 12px; color: #6c7787; }
.db-load { position: relative; height: 3px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: #232932; opacity: 0; transition: opacity 0.2s; }
.db-load.is-on { opacity: 1; }
.db-load i { position: absolute; top: 0; bottom: 0; width: 30%; border-radius: 999px; background: #e8ecf1; animation: am-indet 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.db-picks { margin-top: 6px; }
.db-pick { height: 67px; padding: 0 14px; display: flex; align-items: center; gap: 14px; border-top: 1px solid #232932; opacity: 0; transition: opacity 0.35s ease; }
.db-pick:last-child { border-bottom: 1px solid #232932; }
.db-pick.is-on { opacity: 1; }
.db-box { width: 18px; height: 18px; flex: none; border: 1.5px solid #3d4552; border-radius: 4px; }
.db-pick__t { flex: 1; }
.db-pick__t p { margin: 0; font-size: 14.5px; font-weight: 600; }
.db-pick__t i { margin: 0 10px; font-style: normal; color: #3d4552; }
.db-pick__t b { font-weight: 700; }
.db-pick__t em { display: block; margin-top: 3px; font-size: 11.5px; color: #6c7787; }
.db-diff { padding: 3px 8px; border-radius: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.db-diff--medium { background: #35301a; color: #e3c273; }
.db-diff--easy { background: #1b2e26; color: #7fbf9c; }
.db-total { margin: 18px 0 0; font-size: 12px; color: #6c7787; text-decoration: underline dotted; opacity: 0; transition: opacity 0.3s; }
.db-total.is-on { opacity: 1; }
.db-clients { margin: 44px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa5b4; }
.db-clients span { margin-left: 8px; color: #6c7787; }
.db-client { height: 96px; margin-top: 16px; padding: 0 26px 0 48px; display: flex; align-items: center; gap: 14px; border: 1px solid #2c333c; border-radius: 16px; background: #1c2128; }
.db-client__av { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #35271f; color: #efb394; font-weight: 700; }
.db-client b { font-size: 18px; font-weight: 600; }
.db-client__k { font-size: 13px; color: #6c7787; }
.db-client__n { padding: 4px 10px; border-radius: 999px; background: #232932; font-size: 12px; font-weight: 700; }
.db-client__n i { margin: 0 4px; font-style: normal; color: #6c7787; }
.db-client__on { padding: 3px 9px; border-radius: 999px; background: #1b2e26; color: #7fbf9c; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.db-gap { flex: 1; }
.db-client__go { height: 36px; padding: 0 16px; display: flex; align-items: center; border: 1px solid #2c333c; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* the live dashboard sits in the tour grid where the picture was */
.tour__grid .tour__live { position: relative; width: 100%; height: 100%; opacity: 0; }
.tour__live .eanim { background: transparent; }
.tour__live .ea-scene { border-radius: 14px; overflow: hidden; }

/* the generated deck: Studio theme on paper */
.ep-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 1056px;
  height: 594px;
  overflow: hidden;
  background: #f1efe8;
  color: #1f2a24;
  font-family: "Newsreader", Georgia, serif;
}
.ep-eyebrow {
  margin: 0;
  font: 700 11.5px "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4f8c6c;
}
.ep-title { position: relative; margin: 0; font-size: 54px; font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
.ep-title i { color: #4f8c6c; }
.ep-sub { max-width: 400px; margin: 0; font: 400 17px/1.55 "Plus Jakarta Sans", sans-serif; color: #5b665f; }
.ep-foot { margin: 0; font-size: 18px; color: #3d4a42; }
.ep-body { max-width: 720px; margin: 0; font: 400 17px/1.65 "Plus Jakarta Sans", sans-serif; color: #4a564e; }
.ep-build { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ep-build.is-on { opacity: 1; transform: none; }

.ep-cover__text .ep-title { align-self: flex-start; }
.ep-cover__text {
  position: absolute;
  left: 60px;
  top: 56px;
  bottom: 52px;
  width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ep-art { position: absolute; top: 0; right: 0; bottom: 0; width: 43%; overflow: hidden; background: #dfe3dc; }
.ep-art__a, .ep-art__b {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(26px) saturate(0.6);
  transform: scale(1.08);
  transition: opacity 0.9s ease, filter 1.3s ease, transform 1.5s ease;
}
/* sun over two hills */
.ep-art__a {
  background:
    radial-gradient(circle at 66% 30%, #f3e4c6 0 10%, rgba(243, 228, 198, 0) 10.6%),
    radial-gradient(130% 62% at 72% 112%, #4f6b5a 0 47%, rgba(79, 107, 90, 0) 47.6%),
    radial-gradient(110% 58% at 6% 108%, #84a08f 0 45%, rgba(132, 160, 143, 0) 45.6%),
    linear-gradient(180deg, #e7ebe4 0%, #ccd8cf 100%);
}
/* the regenerated image: three balanced stones under a low sun */
.ep-art__b {
  background:
    radial-gradient(ellipse 14% 6.5% at 53% 45%, #9cb3a2 0 95%, rgba(156, 179, 162, 0) 100%),
    radial-gradient(ellipse 21% 8.5% at 47% 58.5%, #efe3cf 0 95%, rgba(239, 227, 207, 0) 100%),
    radial-gradient(ellipse 29% 11% at 51% 75%, #3a2a22 0 95%, rgba(58, 42, 34, 0) 100%),
    radial-gradient(ellipse 42% 5% at 50% 87%, rgba(40, 20, 10, 0.22), rgba(40, 20, 10, 0) 70%),
    radial-gradient(circle at 73% 21%, #f6dcc0 0 9%, rgba(246, 220, 192, 0) 9.6%),
    linear-gradient(165deg, #d39b74 0%, #9a644c 100%);
}
.ep-slide.is-art .ep-art__a, .ep-img2 .ep-art__b { opacity: 1; filter: none; transform: none; }
.ep-art__busy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font: 600 16px "Plus Jakarta Sans", sans-serif;
  color: #fff;
  background: rgba(20, 24, 29, 0.55) linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 70%) no-repeat;
  background-size: 220% 100%;
  animation: ea-shimmer 1.2s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.ep-art__busy.is-on { opacity: 1; }

.ep-sel { position: absolute; inset: -10px -12px; border: 1.5px solid #4f86e8; border-radius: 3px; opacity: 0; transition: opacity 0.15s; }
.ep-sel.is-on { opacity: 1; }
.ep-sel i { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid #4f86e8; border-radius: 2px; }
.ep-sel .h0 { left: -5px; top: -5px; }
.ep-sel .h1 { left: 50%; top: -5px; margin-left: -5px; }
.ep-sel .h2 { right: -5px; top: -5px; }
.ep-sel .h3 { right: -5px; top: 50%; margin-top: -5px; }
.ep-sel .h4 { right: -5px; bottom: -5px; }
.ep-sel .h5 { left: 50%; bottom: -5px; margin-left: -5px; }
.ep-sel .h6 { left: -5px; bottom: -5px; }
.ep-sel .h7 { left: -5px; top: 50%; margin-top: -5px; }
.ep-guide { position: absolute; top: 0; bottom: 0; left: 59px; border-left: 1.5px solid #e2557a; opacity: 0; transition: opacity 0.2s; }
.ep-guide.is-on { opacity: 1; }

.ep-logo {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2f4a3c;
  color: #efe7d6;
  font: 500 18px "Newsreader", Georgia, serif;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.3, 1.5, 0.4, 1);
}
.ep-has-logo .ep-logo { opacity: 1; transform: none; }
.ep-logo.ep-logo--big { position: static; width: 40px; height: 40px; font-size: 16px; opacity: 1; transform: none; }

.ep-s-brief { padding: 62px 70px; }
.ep-s-brief .ep-title { margin: 20px 0 26px; font-size: 40px; max-width: 820px; }
.ep-s-palette { padding: 58px 64px; background: #1f2a24; color: #efe9dc; }
.ep-s-palette .ep-eyebrow { color: #9cc3ad; }
.ep-s-palette .ep-title { margin-top: 16px; font-size: 44px; }
.ep-s-palette .ep-title i { color: #c9b98f; }
.ep-s-palette .ep-logo { background: #efe7d6; color: #1f2a24; }
.ep-sws { position: absolute; left: 64px; right: 64px; bottom: 74px; height: 230px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ep-sw { position: relative; border-radius: 10px; transition: background-color 1.1s ease; }
.ep-sw:nth-child(1) { background: #4f6b5a; }
.ep-sw:nth-child(2) { background: #7e7454; }
.ep-sw:nth-child(3) { background: #e3dccb; }
.ep-sw:nth-child(4) { background: #2a2724; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.ep-sw:nth-child(5) { background: #c2b28f; }
.ep-warm .ep-sw:nth-child(1) { background: #8c5a3c; }
.ep-warm .ep-sw:nth-child(2) { background: #b9825b; }
.ep-warm .ep-sw:nth-child(3) { background: #ebdcc6; }
.ep-warm .ep-sw:nth-child(4) { background: #3a2a22; }
.ep-warm .ep-sw:nth-child(5) { background: #d6a77a; }
.ep-sw__hex { position: absolute; left: 2px; bottom: -28px; font: 600 12.5px "Plus Jakarta Sans", sans-serif; letter-spacing: 0.04em; color: #b9b2a2; }
.ep-s-cards { padding: 56px 64px; }
.ep-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ep-cardx { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.ep-cardx__ico { width: 28px; height: 28px; margin-bottom: 6px; border-radius: 8px; background: #7fbf9c; }
.ep-cardx b { font-size: 24px; font-weight: 500; }
.ep-cardx span:last-child { font: 14.5px "Plus Jakarta Sans", sans-serif; color: #5b665f; }
.ep-s-steps { padding: 58px 64px; }
.ep-s-steps .ep-title { margin-top: 16px; font-size: 46px; }
.ep-steps { position: absolute; left: 64px; right: 64px; bottom: 76px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ep-step { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; border-top: 2px solid #4f8c6c; }
.ep-step span { font: 700 13px "Plus Jakarta Sans", sans-serif; color: #4f8c6c; }
.ep-step b { font-size: 25px; font-weight: 400; }

/* the rest of the deck's slides, seen in the editor's slide rail */
.ep-s-tiles, .ep-s-timeline, .ep-s-list, .ep-s-price, .ep-s-close { padding: 58px 64px; }
.ep-s-tiles .ep-title, .ep-s-timeline .ep-title, .ep-s-list .ep-title { margin-top: 16px; font-size: 44px; }
.ep-tiles { position: absolute; left: 64px; right: 64px; bottom: 64px; height: 270px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ep-tile { position: relative; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 12px; background: #fff; }
.ep-tile span { position: absolute; left: 50%; top: 42%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 3px solid #4f8c6c; border-radius: 50%; }
.ep-tile:nth-child(2) span { border-radius: 46px 46px 8px 8px; }
.ep-tile:nth-child(3) span { border-radius: 12px; transform: rotate(45deg) scale(0.8); }
.ep-tile b { font-size: 24px; font-weight: 400; }
.ep-bars { position: absolute; left: 64px; right: 64px; bottom: 70px; display: flex; flex-direction: column; gap: 18px; }
.ep-bar { display: grid; grid-template-columns: 200px 1fr; align-items: center; }
.ep-bar b { font: 600 17px "Plus Jakarta Sans", sans-serif; color: #3d4a42; }
.ep-bar span { display: block; height: 26px; border-radius: 13px; background: #7fbf9c; }
.ep-list { position: absolute; left: 64px; bottom: 64px; margin: 0; padding: 0; list-style: none; }
.ep-list li { padding: 12px 0; font-size: 26px; border-top: 1px solid #d7d5cc; }
.ep-s-price { background: #1f2a24; color: #efe9dc; }
.ep-s-price .ep-eyebrow { color: #9cc3ad; }
.ep-price { display: block; margin: 70px 0 18px; font: 400 150px/1 "Newsreader", Georgia, serif; }
.ep-s-price .ep-body { color: #c9c2b2; }
.ep-s-about { display: grid; grid-template-columns: 1fr 1fr; }
.ep-about__img { background: url(../assets/anim/juniper-cover.jpg) center / cover no-repeat; }
.ep-about__text { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ep-s-close { display: flex; flex-direction: column; justify-content: center; gap: 18px; background: #2f4a3c; color: #efe9dc; }
.ep-s-close .ep-eyebrow { color: #9cc3ad; }
.ep-s-close .ep-title { font-size: 72px; }
.ep-s-close .ep-title i { color: #c9b98f; }
.ep-s-close .ep-body { color: #d6d0c2; }

/* ── the tour's outer tiles (js/anim/tour.js) ──────────────────────────
   The picture, parts of it covered and brought back as pieces of itself.
   What the app shows and hides without animating flips at once; what it
   animates (a section arriving, the deck building) moves as it does there. */
.tour__tile { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 6px; opacity: 0; will-change: opacity, transform; }
.tour__tile .eanim { background: transparent; }
.tt { position: absolute; left: 0; top: 0; width: 1600px; height: 918px; background: no-repeat 0 0 / 1600px 918px; }
.tt-patch, .tt-piece, .tt-group, .tt > span, .tt > div, .tt > svg { position: absolute; }
.tt-piece { background-repeat: no-repeat; background-size: 1600px 918px; }
.tt-group > .tt-piece { position: absolute; }

/* flipped at once */
.tt-toggle, .tt-show, .tt-pill, .tt-spin, .tt-looking, .tt-writing, .tt-clock { opacity: 0; }
.tt-toggle.is-on, .tt-show.is-on, .tt-pill.is-on, .tt-spin.is-on, .tt-looking.is-on, .tt-writing.is-on,
.tt-clock.is-on { opacity: 1; }
/* the focus lengths dim with the chips' own .15s */
.tt-dim { border-radius: 999px; transition: opacity 0.15s; }

/* a section arriving: contractSectionIn in src/App.jsx */
.tt-sec { opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
.tt-sec.is-on { opacity: 1; transform: none; filter: none; }
.tt-row { opacity: 0; transition: opacity 0.3s ease; }
.tt-row.is-on { opacity: 1; }

/* the deck building, as in showcase step 02 */
.tt-piece.is-pop { opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.tt-piece.is-pop.is-on { opacity: 1; transform: none; }
.tt-build { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tt-build.is-on { opacity: 1; transform: none; }
.tt-photo { opacity: 0; filter: blur(22px) saturate(0.7); transform: scale(1.06); transition: opacity 1s ease, filter 1.4s ease, transform 1.6s ease; }
.tt-photo.is-on { opacity: 1; filter: none; transform: none; }

/* Drafting… — <Pill tone="blue"> */
.tt-pill { display: inline-flex; align-items: center; width: auto !important; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.tt-pill--blue { background: #1a2738; color: #8cb3de; }
/* <PrimaryBtn loading> */
.tt-spin { border: 2px solid #14181d; border-top-color: transparent; border-radius: 50%; animation: ea-spin 0.7s linear infinite; }
/* the answer, before it starts */
.tt-looking { font-size: 14px; line-height: 22px; color: #6c7787; white-space: nowrap; }
/* the PDF proposal's panel while it writes */
.tt-writing { display: flex; align-items: center; font-size: 11.5px; line-height: 18px; color: #6c7787; white-space: nowrap; }
.tt-caret { width: 2px; height: 1.1em; margin: 0 6px 0 2px; background: currentColor; animation: ea-blink 1s steps(1) infinite; }
/* the timer */
.tt-clock { display: flex; align-items: center; justify-content: center; font: 400 86.2px/1 "Instrument Serif", Georgia, serif; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: #e8ecf1; }
.tt-colon { color: #e2533b; }
.tt-dial { overflow: visible; }
.tt-dial line { stroke: #e2533b; stroke-width: 1.5; stroke-linecap: round; opacity: 0; transition: opacity 0.3s ease; }
.tt-dial line.is-on { opacity: 1; }

/* the Deliverables tile: the rail lit on ◎, the page in the fl- styles above */
.td-lit { display: grid; place-items: center; border-radius: 9px; background: #30353b; color: #e8ecf1; }
.td-lit svg { width: 17px; height: 17px; }
.td-page .fl-task { margin-top: 10px; }
.td-page .fl-panel { margin-top: 4px; }
.td-strip { height: 30px; padding: 0 8px; display: flex; align-items: center; border: 1px solid #2c333c; border-radius: 999px; background: #1c2128; }
.td-st { padding: 0 10px; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #9aa5b4; }
.td-st b { font-size: 13px; font-weight: 700; color: #e8ecf1; font-variant-numeric: tabular-nums; }
.td-dot { width: 7px; height: 7px; border-radius: 50%; }
.td-dot--todo { background: #9aa5b4; }
.td-dot--prog { background: #8cb3de; }
.td-sep { width: 1px; height: 16px; margin: 0 2px; background: #2c333c; }
.td-diff { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.td-diff--medium { background: #35301a; color: #e3c273; }
.td-diff--easy { background: #1b2e26; color: #7fbf9c; }
.td-status--todo { background: #232932; color: #9aa5b4; }
.td-status--prog { background: #1a2738; color: #8cb3de; }
.td-done { margin: 24px 0 0; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6c7787; }
.td-done span { font-size: 9px; }

/* the focus-mode picture under "Every minute, already on the invoice." (tour.js
   focus-shot), at the picture's 2× */
.focus__shot { position: relative; }
.focus__shot .eanim { background: transparent; }
.fs-disc { border-radius: 50%; will-change: transform; }
.fs-hub { border-radius: 50%; }
.fs-eq { display: flex; align-items: flex-end; gap: 6px; }
.fs-eq i { width: 8px; height: 48px; border-radius: 2px; background: #54759a; transform-origin: bottom; animation: fs-bounce 0.9s ease-in-out infinite; }
.fs-eq.is-still i { animation: none; transform: scaleY(0.6); }
@keyframes fs-bounce { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.fs-pulse { border-radius: 50%; animation: fs-pulse 1.6s ease-out infinite; }
@keyframes fs-pulse { 0% { box-shadow: 0 0 0 0 rgba(84, 117, 154, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(84, 117, 154, 0); } }
.fs-prog { height: 8px; border-radius: 6px; background: #54769b; }
.fs-mono { font-family: "JetBrains Mono", monospace; font-weight: 500; white-space: nowrap; }
.fs-played { font-size: 22px; line-height: 30px; color: #6c7787; }
.fs-row { font-size: 19.6px; line-height: 32px; text-align: right; color: #c9a127; }
.fs-clock { display: flex; align-items: center; justify-content: center; font: 400 184.1px/1 "Instrument Serif", Georgia, serif; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: #e8ecf0; }
.fs-colon { color: #c9a127; }
.fs-earn { font-size: 68px; font-weight: 300; line-height: 92px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #c9a127; white-space: nowrap; }
.fs-dial { overflow: visible; }
.fs-dial line { stroke: #c8a027; stroke-width: 1.5; stroke-linecap: round; opacity: 0; transition: opacity 0.3s ease; }
.fs-dial line.is-on { opacity: 1; }

/* ── the feature cards (js/anim/features.js) ────────────────────────── */
.feature__card--live::before { content: none; }
.feature__card .eanim { background: #14181d; }

/* No more Ghosting — the proposals list row and its menu (ag- above) */
.fx-page { position: absolute; inset: 0; background: #14181d; }
.fx-row { position: absolute; left: 40px; top: 150px; width: 880px; }
.fx-thumb { background: url(../assets/tour/deck.png) -20.4px -7px / 169.5px 97.2px no-repeat, #fff; }
.fx-opened { display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid #2c333c; border-radius: 999px; color: #6c7787; font-size: 11.5px; font-weight: 600; white-space: nowrap; visibility: hidden; }
.fx-opened.is-on { visibility: visible; }
.fx-opened.is-opened { border-color: #7fbf9c; color: #7fbf9c; }
.fx-row .ag-dots { margin-left: -11px; }
/* the owner's picture: sharp on Create share link, softer the further away */
.fx-back, .fx-thumb, .fx-far1, .fx-far2, .fx-far3 { transition: filter 0.2s; }
.fx-dof .fx-back, .fx-dof .fx-thumb { filter: blur(3px); }
.fx-dof .fx-far1 { filter: blur(1.1px); }
.fx-dof .fx-far2 { filter: blur(2.2px); }
.fx-dof .fx-far3 { filter: blur(3px); }

/* A second opinion — the Ask Didote page (.dash.assistant-page in src/App.jsx) */
.fx-chat { position: absolute; inset: 0; padding: 16px 40px; display: flex; flex-direction: column; gap: 14px; background: #14181d; }
.fx-stream { flex: 1; min-height: 0; padding: 16px 2px 8px; display: flex; flex-direction: column; gap: 12px; }
.fx-q { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #e8ecf1; color: #14181d; font-size: 13.5px; line-height: 1.55; visibility: hidden; }
.fx-q.is-on { visibility: visible; }
.fx-a { position: relative; padding: 2px 0; font-size: 14px; line-height: 1.55; color: #e8ecf1; visibility: hidden; }
.fx-a.is-on { visibility: visible; }
.fx-a p { margin: 6px 0; }
.fx-a .ea-w { filter: none; transition: none; }
.fx-looking { position: absolute; left: 0; top: 8px; color: #6c7787; visibility: hidden; }
.fx-looking.is-on { visibility: visible; }
.fx-stream-cursor { position: absolute; left: 0; top: 0; margin-left: 2px; color: #6c7787; visibility: hidden; animation: ea-blink 1s steps(1) infinite; }
.fx-stream-cursor.is-on { visibility: visible; }
.fx-input { flex: none; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #2c333c; border-radius: 14px; background: #0e1116; transition: border-color 0.15s, background-color 0.15s; }
.fx-input.is-focus { border-color: #e8ecf1; background: #1c2128; }
.fx-field { position: relative; flex: 1; min-width: 0; height: 20px; display: flex; align-items: center; font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.fx-typed { color: #e8ecf1; }
.fx-ph { position: absolute; left: 0; color: #6c7787; }
.fx-caret { width: 1.5px; height: 17px; margin-left: 1px; background: #e8ecf1; }
.fx-mic, .fx-send { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; }
.fx-mic { border: 1px solid #2c333c; color: #9aa5b4; }
.fx-mic.is-off { opacity: 0.35; }
.fx-mic svg { width: 15px; height: 15px; }
.fx-send { background: #e8ecf1; color: #14181d; opacity: 0.35; transition: opacity 0.15s; }
.fx-send.is-ready { opacity: 1; }
.fx-send svg { width: 14px; height: 14px; stroke-width: 2.5; }

/* Make it look like your studio — Settings → Theme, left column. Colours from
   html[data-theme=…] in src/App.jsx; they change with the app's 320 ms fade. */
.fx-themes { position: absolute; inset: 0; background: var(--surface); }
.fx-th--slate { --surface: #1c2128; --soft: #232932; --border: #2c333c; --text: #e8ecf1; --muted: #6c7787; }
.fx-th--sage { --surface: #f8f4e2; --soft: #ebe9d5; --border: #dcd9c5; --text: #2d4a2b; --muted: #7e8770; }
.fx-th--noir { --surface: #1f1f22; --soft: #1a1a1c; --border: #28282c; --text: #f2f2f3; --muted: #707074; }
.fx-themes, .fx-tile, .fx-tile b, .fx-tile span, .fx-sw i { transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease; }
.fx-tile { position: absolute; left: 20px; width: 441px; height: 111px; padding: 18px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); }
.fx-tile.is-active { border-color: var(--text); background: var(--soft); }
.fx-sw { display: flex; gap: 5px; margin-bottom: 12px; }
.fx-sw i { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 14px; }
.fx-tile b { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.fx-tile span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

/* Some days, the hard stuff can wait — designed for the card: the app's energy
   chips (.dash .energy-pill) and difficulty badges, centred, with a glow in the
   chosen energy's colour */
.ge { position: absolute; inset: 0; overflow: hidden; background: #14181d; text-align: center; }
.ge-glow { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.ge-glow.is-on { opacity: 1; }
.ge-glow--low { background: radial-gradient(ellipse 60% 48% at 50% 42%, rgba(239, 179, 148, 0.16), transparent 70%); }
.ge-glow--med { background: radial-gradient(ellipse 60% 48% at 50% 42%, rgba(140, 179, 222, 0.18), transparent 70%); }
.ge-glow--high { background: radial-gradient(ellipse 60% 48% at 50% 42%, rgba(227, 194, 115, 0.16), transparent 70%); }
.ge-q { position: absolute; left: 0; right: 0; top: 72px; margin: 0; font-size: 15px; color: #9aa5b4; }
.ge-chips { position: absolute; left: 50%; top: 108px; width: 300px; margin-left: -150px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #2c333c; border-radius: 999px; background: rgba(20, 24, 29, 0.6); font-size: 14.5px; font-weight: 500; color: #9aa5b4; transition: all 0.18s; }
.ge-pill svg { width: 15px; height: 15px; }
.ge-pill.selected { border-color: transparent; color: #e8ecf1; font-weight: 600; }
.ge-pill.selected.low { background: #35271f; color: #efb394; }
.ge-pill.selected.med { background: #1a2738; color: #8cb3de; }
.ge-pill.selected.high { background: #35301a; color: #e3c273; }
.ge-head { position: absolute; left: 0; right: 0; top: 240px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #6c7787; white-space: nowrap; }
.ge-accent { position: relative; top: 1px; margin: 0 4px; font: italic 400 17px "Instrument Serif", Georgia, serif; letter-spacing: 0; text-transform: none; color: #9aa5b4; }
.ge-bar { position: absolute; left: 50%; top: 268px; width: 200px; height: 3px; margin-left: -100px; overflow: hidden; border-radius: 999px; background: #2c333c; opacity: 0; transition: opacity 0.25s; }
.ge-bar.is-on { opacity: 1; }
.ge-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #e8ecf1; animation: fe-indeterminate 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes fe-indeterminate { 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -35%; } 100% { left: 100%; right: -35%; } }
.ge-badges { position: absolute; left: 0; right: 0; top: 286px; display: flex; justify-content: center; gap: 8px; }
.ge-badge { padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateY(6px) scale(0.9); transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.ge-badge.is-on { opacity: 1; transform: none; }
.ge-badge--easy { background: #1b2e26; color: #7fbf9c; }
.ge-badge--medium { background: #35301a; color: #e3c273; }
.ge-badge--hard { background: #33212a; color: #e08078; }
.ge-line { position: absolute; left: 0; right: 0; top: 326px; margin: 0; font-size: 13px; font-style: italic; color: #6c7787; opacity: 0; transition: opacity 0.3s ease 0.2s; }
.ge-line.is-on { opacity: 1; }

/* That 2 a.m. pricing doubt — designed for the card: the location chip over
   Get quote range, then the real answer (Rate.jsx's verdict and ladder) */
.gq { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(140, 179, 222, 0.07), transparent 70%), #14181d; }
.gq-ask { position: absolute; left: 0; right: 0; top: 104px; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity 0.35s ease, transform 0.45s ease; }
.gq-ask.is-gone { opacity: 0; transform: translateY(-24px); }
.gq-loc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(140, 179, 222, 0.2); border-radius: 999px; background: #1a2738; color: #8cb3de; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.gq-loc__r { font-size: 12px; opacity: 0.7; }
.gq-btn { height: 66px; padding: 0 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #e8ecf1; color: #14181d; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; transition: padding 0.25s ease, opacity 0.2s; }
.gq-spin { display: none; width: 22px; height: 22px; border: 2.5px solid #14181d; border-top-color: transparent; border-radius: 50%; animation: ea-spin 0.7s linear infinite; }
.gq-btn.is-busy { padding: 0 22px; opacity: 0.5; }
.gq-btn.is-busy .gq-btn__t { display: none; }
.gq-btn.is-busy .gq-spin { display: block; }
.gq-pull { width: 260px; opacity: 0; transition: opacity 0.3s ease; }
.gq-pull.is-on { opacity: 1; }
.gq-sh { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; border-radius: 12px; background: linear-gradient(90deg, #1c2128 0%, #14181d 50%, #1c2128 100%); background-size: 200% 100%; animation: fq-shimmer 1.6s ease-in-out infinite; }
.gq-sh i { height: 7px; border-radius: 4px; background: #232932; }
.gq-sh i:nth-child(1) { width: 80%; }
.gq-sh i:nth-child(2) { width: 62%; }
.gq-sh i:nth-child(3) { width: 72%; }
@keyframes fq-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.gq-pull p { margin: 8px 0 0; font-size: 12px; font-style: italic; color: #6c7787; text-align: center; }
.gq-answer { position: absolute; left: 30px; right: 30px; top: 70px; text-align: center; opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gq-answer.is-on { opacity: 1; transform: none; }
.gq-cap { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6c7787; }
.gq-big { margin: 0; font-size: 46px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #e8ecf1; }
.gq-verdict { margin: 12px auto 0; max-width: 360px; text-wrap: balance; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #c5ccd6; }
.gq-nowrap { white-space: nowrap; }
.gq-tiers { margin-top: 30px; display: flex; gap: 6px; }
.gq-tier { position: relative; flex: 1; padding: 14px 10px; border: 1px solid #2c333c; border-radius: 14px; background: #1c2128; text-align: left; opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.gq-tier.is-on { opacity: 1; transform: none; }
.gq-tier b { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6c7787; }
.gq-tier span { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: #9aa5b4; }
.gq-tier.is-target { border: 2px solid #e3c273; background: #35301a; }
.gq-tier.is-target b, .gq-tier.is-target span { color: #e8ecf1; }
.gq-tier i { position: absolute; top: -9px; right: 8px; padding: 2px 7px; border-radius: 999px; background: #e3c273; color: #14181d; font-size: 9px; font-weight: 700; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.gq-foot { margin: 18px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #6c7787; }

/* The idea you'd have lost — the notes board (src/modules/Notes.jsx) */
.fn { position: absolute; inset: 0; background: #14181d radial-gradient(circle at 1px 1px, #2c333c 1px, transparent 0) 9px 13px / 22px 22px; }
.fn-note { position: absolute; width: 240px; min-height: 140px; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; border-radius: 14px; background: #33212a; box-shadow: 0 2px 8px rgba(60, 44, 18, 0.1); visibility: hidden; transition: box-shadow 0.15s, transform 0.15s; }
.fn-note.is-on { visibility: visible; }
.fn-note.is-hover { box-shadow: 0 8px 18px rgba(60, 44, 18, 0.14); }
.fn-note.is-dragging { box-shadow: 0 14px 28px rgba(60, 44, 18, 0.22); transform: rotate(-1deg); }
.fn-text { position: relative; flex: 1; min-height: 60px; font-size: 14px; line-height: 1.55; color: #e8ecf1; }
.fn-caret { width: 1.5px; }
.fn-ph { position: absolute; left: 0; top: 0; color: rgba(232, 236, 241, 0.42); }
.fn-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 500; color: #9aa5b4; opacity: 0.6; }
.fn-actions { display: flex; align-items: center; gap: 2px; }
.fn-x { display: grid; padding: 4px; border-radius: 6px; opacity: 0; transition: opacity 0.15s; }
.fn-x svg { width: 13px; height: 13px; }
.fn-note.is-hover .fn-x { opacity: 0.7; }
.fn-check { width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 999px; opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  .eanim *, .eanim *::before, .eanim *::after { transition: none !important; animation: none !important; }
}
