.ab-img .avail-grid-container{flex: 1;min-height: 0;display: flex;flex-direction: column;max-width: 1800px;margin: 0 auto;width: 100%;padding: 0.5rem}
.ab-img .avail-grid{flex: 1;min-height: 0;display: flex;flex-direction: column;background: var(--bg-surface, #12141c);border-radius: 12px 12px 0 0;padding: 0.4rem 0.5rem 0;border: 1px solid rgba(255, 255, 255, 0.05);border-bottom: none;overflow: hidden}
.ab-img .avail-header-row{display: grid;grid-template-columns: 28px repeat(12, 1fr);gap: 2px;flex-shrink: 0;padding-bottom: 3px}
.ab-img .avail-corner{/* spacer */}
.ab-img .avail-month-header{text-align: center;font-weight: 700;font-size: 0.7rem;color: var(--text-secondary, #8b8f9a);padding: 0.45rem 0 0.4rem;/* BUG-070: theme tokens, not a dark gradient (the page was unreadable in light) */;background: linear-gradient(180deg, var(--bg-elevated, #1a1d28) 0%, var(--bg-surface, #12141c) 100%);border-radius: 4px 4px 0 0;letter-spacing: 0.08em;text-transform: uppercase}
.ab-img .avail-month-header.avail-current{color: var(--avail-accent-text);background: linear-gradient(180deg, rgba(108, 114, 255, 0.1) 0%, rgba(108, 114, 255, 0.025) 100%)}
.ab-img .avail-body{flex: 1;min-height: 0;display: grid;grid-template-rows: repeat(31, 1fr);gap: 1px;overflow: hidden}
.ab-img .avail-row{display: grid;grid-template-columns: 28px repeat(12, 1fr);gap: 2px;min-height: 0}
.ab-img .avail-day-label{display: flex;align-items: center;justify-content: center;font-size: 0.65rem;font-weight: 500;color: var(--text-secondary, #8b8f9a);user-select: none}
.ab-img .avail-day-label.avail-today-label{color: var(--accent, #6c72ff);font-weight: 700}
.ab-img .avail-cell{border-radius: 5px;position: relative;display: flex;align-items: center;justify-content: center;overflow: hidden;background: var(--bg-elevated, #1a1d28);min-height: 0;transition: background-color 0.15s}
.ab-img .avail-cell.avail-invalid{background: transparent;opacity: 0;pointer-events: none}
.ab-img .avail-cell.avail-weekend::before{content: '';position: absolute;inset: 0;background: rgba(255, 255, 255, 0.07);z-index: 0;pointer-events: none;border-radius: inherit}
.ab-img .avail-cell.avail-past{opacity: 0.8}
.ab-img .avail-cell.avail-today{box-shadow:
    inset 0 0 0 1.5px var(--accent, #6c72ff),
    0 0 8px rgba(108, 114, 255, 0.18)}
.ab-img .avail-today-dot{position: absolute;top: 2px;left: 2px;width: 4px;height: 4px;border-radius: 50%;background: var(--accent, #6c72ff);z-index: 2}
.ab-img .avail-busy-bar{position: absolute;inset: 1px;border-radius: 4px;background: var(--accent, #6c72ff);z-index: 1}
.ab-img .avail-cell.avail-free-window:not(.avail-busy){background: rgba(108, 114, 255, 0.14);box-shadow: inset 0 0 0 1px rgba(108, 114, 255, 0.8)}
/* ===== Search Modal ===== */
/* .search-overlay removed — Modal/Overlay primitive owns backdrop (MM-12 D-10). */

.tw .search-modal-panel {
  width: 540px;
  max-width: calc(100vw - 2rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  animation: searchModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchModalIn {
  from { transform: scale(0.96) translateY(-12px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Input row */
.tw .search-input-wrap {
  display: flex;
  align-items: center;
  padding: 0.1rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.5rem;
}

.tw .search-icon {
  font-size: 1rem;
  color: var(--text-tertiary);
  flex-shrink: 0;
  line-height: 1;
}

.tw .search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.9rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.tw .search-input::placeholder {
  color: var(--text-tertiary);
}

.tw .search-clear {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1rem;
  line-height: 1;
  padding: 0.2rem;
  border-radius: 50%;
  transition: color 0.1s;
  flex-shrink: 0;
}
.tw .search-clear:hover { color: var(--text-primary); }

/* Results list */
.tw .search-results {
  max-height: 320px;
  overflow-y: auto;
  padding: 0.35rem 0.4rem;
}

.tw .search-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.tw .search-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background 0.08s;
}

.tw .search-item.active, .tw .search-item:hover {
  background: var(--bg-elevated);
}

.tw .search-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tw .search-item-desc {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tw .search-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tw .search-item-loc {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  background: var(--bg-hover);
  padding: 0.1rem 0.4rem;
  border-radius: 100px;
}

.tw .search-item-date {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
}

.tw .search-item-dur {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  background: var(--accent-subtle);
  padding: 0.1rem 0.35rem;
  border-radius: 100px;
}

/* Footer (className passed to Modal.Footer; overrides ui-modal-footer flex-end alignment) */
.tw .search-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* override .ui-modal-footer flex-end so kbd hints align left + .search-count uses margin-auto */
  gap: 1rem;
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.65rem;
  color: var(--text-tertiary);
}

.tw .search-footer kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
  color: var(--text-secondary);
}

.tw .search-count {
  margin-left: auto;
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 600px) {
  .tw .search-modal-panel { border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; }
}

/* About, round 7 (v6). Every class of this file starts with ab-; the app's own classes are styled only through a three-class selector (.ab-x.tw .app-class) so the
   captured rules (.tw .x, two classes) never tie with mine (tools/collide.mjs). Motion: transform and opacity only (the app's own animations are the app's);
   no scroll handler: the one scrubbed scene runs on a CSS scroll timeline, every other scene plays once when it comes into view. */
.ab{--gut:clamp(12px,1.8vw,32px);--capH:clamp(104px,16svh,160px);overflow-x:clip}
.ab *{scrollbar-width:none}

/* ---------- type ---------- */
.ab-h{margin:0;font:700 clamp(2.1rem,.9rem + 4.1vw,5.25rem)/1.02 var(--f-display);letter-spacing:-.04em;text-wrap:balance}
/* the gradient is painted only inside the element's own box, so a descender (g, j, p, q, y) outside it loses its colour: every gradient phrase carries .18em of padding below, which paints and does not move the line */
.ab-h .g{background:linear-gradient(90deg,#8a8fff,#2dd4bf);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.18em}
.ab-sup{margin:.55em 0 0;font-size:clamp(1.05rem,.92rem + .55vw,1.45rem);line-height:1.35;color:var(--text-secondary);text-wrap:balance}
.ab .small.ab-note,.ab .small.ab-fine,.ab .small.ab-cap-s{margin:.9em 0 0}

/* ---------- the pinned stage (beats 1 to 4) ---------- */
.ab-track{position:relative;height:calc(var(--H) * 100svh);view-timeline:--abpull block}
.ab-sent{position:absolute;left:0;width:1px;height:calc(var(--h,0) * 100svh);top:calc(var(--y) * 100svh);pointer-events:none}
.ab-stage{position:sticky;top:0;height:100svh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:6px;padding:calc(var(--hh) + 8px) var(--gut) 8px;--k0:3;--tx:0px;--ty:0px;--dx:0px;--dy:0px;--s1:.25;--ox:50%;--oy:50%}
.ab-caps{position:relative;height:var(--capH);text-align:center}
.ab-cap{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transform:translate3d(0,16px,0);transition:opacity .45s var(--ease),transform .6s var(--ease);pointer-events:none}
.ab-cap .ab-h{font-size:clamp(1.9rem,.8rem + 3.3vw,4rem)}
.ab-cap .ab-sup{margin-top:.4em}
.ab-cap .ab-note{position:absolute;right:0;bottom:2px;margin:0}
.ab-stage[data-state="2"] .ab-cap-2,.ab-stage[data-state="3"] .ab-cap-3,.ab-stage[data-state="4"] .ab-cap-4{opacity:1;transform:none}
/* beat 1: the headline sits over the dark frame, above the day */
.ab-cap-1{position:absolute;left:var(--gut);right:var(--gut);top:calc(var(--hh) + clamp(18px,6svh,64px));bottom:auto;height:auto;inset-block-end:auto;opacity:1;transform:none;z-index:3}
.ab-cap-1 .ab-h{font-size:clamp(2.3rem,.9rem + 5vw,5.6rem)}
.ab-stage:not([data-state="1"]) .ab-cap-1{opacity:0;transform:translate3d(0,-18px,0)}

.ab-wrap{position:relative;min-height:0}
.ab-cam{position:absolute;inset:0;transform-origin:var(--ox) var(--oy)}
.ab-win.tw{position:absolute;inset:0;height:100%;overflow:hidden;background:transparent}
.ab-win.tw .app,.ab-win.tw .app-main{height:100%;min-height:0;animation:none;background:transparent}
.ab-win.tw .app{display:flex;flex-direction:column}
.ab-win.tw .app-main{flex:1;display:flex;flex-direction:column;padding:0}
.ab-win.tw .year-grid-container{max-width:none}

/* the grid before the import: a year with nothing in it, then the real fill-in wave (the app's .mo-full) draws every bar */
.ab-win.tw:not(.ab-in) .event-bar{opacity:0}
.ab-win.tw.ab-in .event-bar:not(.ab-new){opacity:1}
.ab-win.tw .ab-new.event-bar{opacity:0}
.ab-win.tw.ab-landed .ab-new.event-bar{opacity:1;animation:ab-land .9s var(--ease) backwards}
.ab-win.tw.ab-landed .ab-new.has-label{box-shadow:0 0 0 2px var(--hb-pale),0 0 26px rgba(108,114,255,.75)}
@keyframes ab-land{0%{opacity:0;transform:translate3d(0,-70%,0) scale(1.15)}60%{opacity:1}100%{transform:none}}
.ab-win.tw .ab-callbar{opacity:1}

/* location filter: the bars that are not the chosen country step back (opacity only) */
.ab-win.tw[data-hl="Switzerland"] .event-bar:not([data-location="Switzerland"]),
.ab-win.tw[data-hl="France"] .event-bar:not([data-location="France"]),
.ab-win.tw[data-hl="Germany"] .event-bar:not([data-location="Germany"]),
.ab-win.tw[data-hl="Austria"] .event-bar:not([data-location="Austria"]){opacity:.14}
.ab-win.tw[data-holiday] .grid-cell.holiday{box-shadow:inset 0 0 0 1.5px var(--hb-pale);animation:ab-pulse 1.1s var(--ease) 2}
@keyframes ab-pulse{50%{box-shadow:inset 0 0 0 1.5px var(--hb-pale),0 0 18px 2px rgba(169,173,255,.7)}}
.ab-win.tw .ab-hit{animation:ab-hit 1s var(--ease) 2}
@keyframes ab-hit{50%{box-shadow:0 0 0 2px #fff,0 0 28px rgba(255,255,255,.7)}}

/* the dock under the grid: the summary strip, which the filter bar replaces in beat 3 */
.ab-dock{position:relative;height:36px;display:grid;opacity:0;transition:opacity .6s var(--ease)}
.ab-stage:not([data-state="1"]) .ab-dock{opacity:1}
.ab-dock>*{grid-area:1/1;display:flex;align-items:center;justify-content:center;transition:opacity .4s var(--ease)}
.ab-dock .summary-bar{position:static;margin:0;border:0;background:transparent}
.ab-dock-fb{opacity:0}
.ab-dock-fb .filter-bar{margin:0;overflow:visible;animation:none;transform:scale(1.35)}
.ab-dock .summary-bar{transform:scale(1.3)}
.ab-stage[data-state="3"] .ab-dock-sb{opacity:0}.ab-stage[data-state="3"] .ab-dock-fb{opacity:1}
.ab-filter .filter-chip{transition:opacity .3s var(--ease)}
.ab-filter.ab-solo .filter-chip[data-loc]:not(.ab-on){opacity:.38}
.ab-filter.ab-solo .filter-chip.ab-on{box-shadow:inset 0 0 0 1px var(--hb-pale);background:var(--bg-hover)}

/* quarters: four plates over the grid; while one quarter is lit the other three go nearly black */
.ab-q{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none}
.ab-q i{position:absolute;top:0;bottom:0;left:var(--l,0);width:var(--w,25%);background:rgba(7,8,12,.93);opacity:0;transition:opacity .3s var(--ease)}
.ab-stage[data-ql="0"] .ab-q i:not(:nth-child(1)),.ab-stage[data-ql="1"] .ab-q i:not(:nth-child(2)),.ab-stage[data-ql="2"] .ab-q i:not(:nth-child(3)),.ab-stage[data-ql="3"] .ab-q i:not(:nth-child(4)){opacity:1}
.ab-stage[data-ql] .ab-qlit{opacity:1}

/* the day of beat 1 (my own neutral calendar, no one's brand) */
.ab-day{position:absolute;inset:0;margin:auto;width:min(400px,84%);height:min(480px,80%);border-radius:18px;background:#14161f;border:1px solid var(--border-strong);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);overflow:hidden;z-index:2;display:flex;flex-direction:column;text-align:left}
.ab-day-h{display:flex;align-items:baseline;gap:10px;padding:16px 20px 12px;border-bottom:1px solid var(--border-default)}
.ab-day-h b{font:600 1.05rem var(--f-display)}.ab-day-h span{color:var(--text-secondary);font-size:.95rem}
.ab-day-b{position:relative;flex:1;display:grid;grid-template-rows:repeat(10,1fr)}
.ab-hr{position:relative;border-top:1px solid rgba(255,255,255,.06)}
.ab-hr span{position:absolute;left:14px;top:4px;font:500 .72rem var(--f-mono);color:var(--text-tertiary)}
.ab-call{position:absolute;left:62px;right:16px;top:calc(20% + 3px);height:calc(10% - 6px);min-height:34px;border-radius:9px;background:#585E6C;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 14px;box-shadow:0 8px 24px -8px rgba(0,0,0,.6)}
.ab-call b{font:600 .95rem var(--f-display)}.ab-call span{font:500 .75rem var(--f-mono);opacity:.85}
.ab-stage .ab-day{transform-origin:50% 50%}

/* Quick Add and Search: the app's own dialogs, kept inside the window */
.ab-qa-host,.ab-se-host{position:absolute;inset:0;z-index:5;pointer-events:none;background:transparent;height:auto}
.ab-qa-host .ui-overlay,.ab-se-host .ui-overlay{position:absolute!important;inset:0!important;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .35s var(--ease)}
.ab-qa-host.tw .ab-qa,.ab-se-host.tw .ab-se{width:min(470px,92%);max-width:none;transform-origin:50% 50%}
.ab-stage[data-state="2"][data-play2] .ab-qa-host .ui-overlay{opacity:1;animation:ab-qa-life 5.2s linear both}
@keyframes ab-qa-life{0%{opacity:0}5%{opacity:1}84%{opacity:1}100%{opacity:0}}
.ab-stage[data-play2] .ab-qa-host.tw .ab-qa{animation:ab-qa-out 5.2s var(--ease) both}
.ab-qa-host.tw .ui-overlay.ui-overlay--flat,.ab-se-host.tw .ui-overlay.ui-overlay--flat{background:rgba(10,11,15,.5)}
@keyframes ab-qa-out{0%{transform:translate3d(0,24px,0) scale(.97)}5%{transform:none}80%{transform:none}100%{transform:translate3d(var(--fx,10%),var(--fy,10%),0) scale(.12)}}
.ab-qa-in,.ab-se-in{position:relative;min-height:2.6rem;display:flex;align-items:center;padding:0 .8rem;border:1px solid var(--accent);border-radius:8px;background:var(--bg-base);font-size:.95rem;color:var(--text-primary);box-shadow:0 0 0 3px rgba(108,114,255,.18)}
.ab-qa-ph,.ab-se-ph{position:absolute;left:.8rem;color:var(--text-tertiary)}
.ab-stage[data-play2] .ab-qa-ph{animation:ab-ph 5.2s steps(1) both}
.ab-stage[data-play3s] .ab-se-ph{animation:ab-ph2 3.6s steps(1) both}
@keyframes ab-ph2{0%,10%{opacity:1}10.1%,100%{opacity:0}}
@keyframes ab-ph{0%,8%{opacity:1}8.1%,100%{opacity:0}}
.ab-qa-typed span,.ab-se-typed span{opacity:0}
.ab-stage[data-play2] .ab-qa-typed span{animation:ab-ch .01s linear both;animation-delay:calc(.45s + var(--c) * 40ms)}
.ab-stage[data-play3s] .ab-se-typed span{animation:ab-ch .01s linear both;animation-delay:calc(.35s + var(--c) * 80ms)}
@keyframes ab-ch{to{opacity:1}}
.ab-qa-caret{width:2px;height:1.15em;background:var(--hb-pale);margin-left:1px;animation:ab-blink 1s steps(1) infinite}
@keyframes ab-blink{50%{opacity:0}}
.ab-qa-host.tw .ab-qa-hint{opacity:0;margin-top:.5rem}
.ab-stage[data-play2] .ab-qa-hint{animation:ab-fade .4s var(--ease) 1.95s both}
@keyframes ab-fade{to{opacity:1}}
.ab-qa-fld{position:relative;min-height:2.4rem;display:flex;align-items:center;padding:0 .8rem;border:1px solid var(--border-strong);border-radius:8px;background:var(--bg-base);font-size:.95rem}
.ab-qa-date span,.ab-qa-to{opacity:0}
.ab-stage[data-play2] .ab-qa-date span{animation:ab-fade .3s var(--ease) 2.2s both}
.ab-qa-type .ab-qa-from{position:absolute;left:.8rem}
.ab-qa-type .ab-qa-to{position:absolute;left:.8rem}
.ab-stage[data-play2] .ab-qa-from{animation:ab-out .25s var(--ease) 2.5s both}
.ab-stage[data-play2] .ab-qa-to{animation:ab-fade .3s var(--ease) 2.6s both}
@keyframes ab-out{to{opacity:0}}
.ab-stage[data-play2] .ab-qa-add{animation:ab-press .35s var(--ease) 3.7s both}
@keyframes ab-press{50%{transform:scale(.92);filter:brightness(1.3)}}
.ab-se-host .ui-overlay{align-items:flex-start;padding-top:12%}
.ab-stage[data-play3s] .ab-se-host .ui-overlay{opacity:1;animation:ab-se-life 3.6s linear both}
@keyframes ab-se-life{0%{opacity:0}8%{opacity:1}88%{opacity:1}100%{opacity:0}}
.ab-se-hit{opacity:0}
.ab-stage[data-play3s] .ab-se-hit{animation:ab-fade .3s var(--ease) 1.3s both}
.ab-stage[data-play3s] .ab-se-host.tw .ab-se{animation:ab-se-in 3.6s var(--ease) both}
@keyframes ab-se-in{0%{transform:translate3d(0,-14px,0)}6%,86%{transform:none}100%{transform:translate3d(0,-8px,0)}}

/* ---------- the beats that follow: staged in the order of reading. The headline's words rise one by one, the support line follows, then the visual arrives with one move of its own ---------- */
.ab-s{--d0:1.05s;position:relative;display:flex;flex-direction:column;align-items:center;gap:clamp(16px,3svh,36px);padding:clamp(48px,8svh,96px) var(--gut) clamp(20px,4svh,48px);text-align:center}
.ab-hd{max-width:min(1100px,100%)}
.ab-s .ab-h{font-size:clamp(2rem,.9rem + 3.4vw,4.3rem)}
.ab-s .ab-hd.ab-end .ab-h{font-size:clamp(2.3rem,.9rem + 5vw,5.6rem)}
.ab-hd .ab-sup{margin-inline:auto;max-width:44ch}
.js .ab-s .ab-h .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.05em 0 .24em;margin:-.05em 0 -.24em}
.js .ab-s .ab-h .w>i{display:inline-block;font-style:normal;transform:translate3d(0,118%,0)}
.js .ab-s.in .ab-h .w>i{transform:none;transition:transform .95s cubic-bezier(.2,.85,.25,1);transition-delay:calc(var(--wi) * 70ms)}
.js .ab-s .ab-h .g{background:none}
.js .ab-s .ab-h .g .w>i{background-image:linear-gradient(90deg,#8a8fff,#2dd4bf);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.2em;margin-bottom:-.2em}
.js .ab-s .ab-sup,.js .ab-s .ab-cap-s,.js .ab-s .ab-fine{opacity:0;transform:translate3d(0,14px,0)}
.js .ab-s.in .ab-sup{opacity:1;transform:none;transition:opacity .7s var(--ease) .65s,transform .8s var(--ease) .65s}
.js .ab-s.in .ab-cap-s,.js .ab-s.in .ab-fine{opacity:1;transform:none;transition:opacity .7s var(--ease) calc(var(--d0) + 1.8s),transform .8s var(--ease) calc(var(--d0) + 1.8s)}
.ab-split,.ab-ystage,.ab-tstage,.ab-pstage{width:100%;max-width:min(1760px,100%);margin:0 auto}
.js .ab-s .ab-split>*,.js .ab-s .ab-ystage>*,.js .ab-s .ab-tstage>*,.js .ab-s .ab-pstage>*,.js .ab-s .ab-led,.js .ab-s .ab-next{opacity:0}
.ab-s.in .ab-split>*,.ab-s.in .ab-ystage>*,.ab-s.in .ab-tstage>*,.ab-s.in .ab-pstage>*,.ab-s.in .ab-led,.ab-s.in .ab-next{opacity:1;transition:opacity .8s var(--ease) var(--d0)}

/* beat 5: the chat slides in, the image is sent, the reply comes, and the real Compare unfolds out of the chat */
.ab-split{display:grid;grid-template-columns:auto auto auto;justify-content:center;align-items:center;gap:clamp(12px,2vw,36px);text-align:left}
.ab-chat{border-radius:26px;border:1px solid var(--border-strong);background:#12141c;overflow:hidden;max-width:380px;justify-self:end;width:100%;box-shadow:0 30px 80px -30px rgba(0,0,0,.8)}
.ab-chat-top{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border-default)}
.ab-chat-top b{font:600 1rem var(--f-display)}
.ab-av{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#2dd4bf,#6c72ff)}
.ab-chat-body{display:flex;flex-direction:column;gap:12px;padding:16px 16px 20px;justify-content:flex-end}
.ab-bub{max-width:96%;border-radius:18px;padding:10px 14px;font-size:1rem}
.ab-bub-img{align-self:flex-end;padding:6px;background:#2a2f42;border-bottom-right-radius:6px}
.ab-bub-in{align-self:flex-start;background:#1f2230;border-bottom-left-radius:6px;color:var(--text-primary)}
.ab-img-wrap{border-radius:12px;overflow:hidden;width:min(228px,62vw)}
.ab-img{background:#0a0b0f;padding:10px 10px 8px}
.ab-img-legend{display:flex;gap:14px;font:500 .62rem var(--f-mono);color:var(--text-secondary);margin:0 0 7px 2px;text-transform:uppercase;letter-spacing:.06em}
.ab-img-legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}
.ab-img-legend .k-busy{background:#6c72ff}.ab-img-legend .k-free{background:#1a1d28;box-shadow:inset 0 0 0 1px #8b8f9a}
.ab-img .avail-grid-container{width:100%}
.ab-img .avail-cell{min-height:0;height:auto;aspect-ratio:auto;border-radius:3px}
.ab-img .avail-row{grid-template-columns:14px repeat(var(--n),1fr)}
.ab-img .avail-grid-container{padding:0}
.ab-img .avail-grid{flex:none}
.ab-img .avail-body{flex:none;height:310px;gap:1px}
.ab-img .avail-day-label{font-size:.44rem;line-height:1}
.ab-img .avail-month-header{font-size:.55rem;padding:.25rem 0}
.ab-img .avail-header-row{grid-template-columns:14px repeat(var(--n),1fr)}
.ab-arrow{color:var(--hb-pale);opacity:.8}
.js .ab-b5 .ab-chat{transform:translate3d(-70px,24px,0)}
.ab-b5.in .ab-chat{transform:none;transition:opacity .8s var(--ease) var(--d0),transform 1s cubic-bezier(.2,.85,.25,1) var(--d0)}
.js .ab-b5 .ab-bub-img{opacity:0;transform:translate3d(110px,-14px,0) scale(.88)}
.ab-b5.in .ab-bub-img{opacity:1;transform:none;transition:opacity .5s var(--ease) calc(var(--d0) + .7s),transform .9s cubic-bezier(.2,.9,.25,1.15) calc(var(--d0) + .7s)}
.js .ab-b5 .ab-bub-in{opacity:0;transform:translate3d(-24px,12px,0)}
.ab-b5.in .ab-bub-in{opacity:1;transform:none;transition:opacity .5s var(--ease) calc(var(--d0) + 1.7s),transform .6s var(--ease) calc(var(--d0) + 1.7s)}
.js .ab-b5 .ab-arrow{transform:scaleX(.2);transform-origin:left;opacity:0}
.ab-b5.in .ab-arrow{opacity:.8;transform:none;transition:opacity .4s calc(var(--d0) + 2.1s),transform .6s var(--ease) calc(var(--d0) + 2.1s)}
.ab-ov.tw{height:auto;background:transparent;display:flex;justify-content:center;min-width:0;transform-origin:0 60%}
.js .ab-b5 .ab-ov.tw{transform:translate3d(-34%,3%,0) scale(.7)}
.ab-b5.in .ab-ov.tw{transform:none;transition:opacity .6s var(--ease) calc(var(--d0) + 2.2s),transform 1.2s cubic-bezier(.2,.9,.25,1.05) calc(var(--d0) + 2.2s)}
.ab-ov.tw .ab-ov-in{zoom:1.12;min-height:min(620px,58svh)}
.ab-ov.tw .ab-ov-in .ui-modal-panel{width:720px;max-width:100%;max-height:min(620px,58svh);opacity:1!important;animation:none}
.ab-ov.tw .ab-ov-in .overlap-grid-container{overflow:hidden}
/* the two calendars are drawn by one plate sliding off the real grid (one layer), not 372 cells fading one by one (372 layers) */
.ab-ov .overlap-grid-container{position:relative}
.js .ab-ov .overlap-grid-container::after{content:"";position:absolute;inset:0 -2% 0 -14%;pointer-events:none;background:linear-gradient(90deg,transparent 0,var(--bg-surface) 13%,var(--bg-surface) 100%);transform:translate3d(0,0,0)}
.js .ab-b5.in .ab-ov .overlap-grid-container::after{transform:translate3d(104%,0,0);transition:transform 1.8s cubic-bezier(.5,0,.2,1) calc(var(--d0) + 3.4s)}
.js .ab-b5:not(.in) .ab-ov .overlap-grid-container::after{transform:translate3d(0,0,0)}
.ab-b5.in .ab-ov .overlap-window{animation:ab-win 1.2s var(--ease) calc(var(--d0) + 5.2s) 2}
@keyframes ab-win{50%{box-shadow:0 0 0 2px #fff,0 0 22px rgba(45,212,191,.9)}}
.ab-ov .overlap-grid-container{max-height:none}
.ab-ov .overlap-grid{max-height:none}

/* beat 6: the phone swings up in front of the desktop grid, the code swings in beside it */
.ab-pstage{position:relative;display:flex;justify-content:center;align-items:center;min-height:min(74svh,700px);overflow:hidden}
.ab-pback{position:absolute;inset:0 0 0 0;display:flex;justify-content:center;opacity:.11}
.ab-pback svg{height:100%;width:auto;max-width:100%}
.ab-pback .on{fill:#6c72ff}.ab-pback .off{fill:#1a1d28}
.ab-qr{position:absolute;left:max(2%,calc(50% - 560px));top:50%;width:clamp(120px,14vw,200px);aspect-ratio:1;margin-top:-90px;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px -20px #000;transform:rotate(-6deg)}
.ab-phone{position:relative;width:min(360px,80vw);height:min(70svh,680px);border-radius:46px;border:9px solid #2a2f42;background:#0a0b0f;overflow:hidden;box-shadow:0 50px 100px -30px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.08);display:flex;flex-direction:column;text-align:left}
.ab-pbar{display:flex;align-items:center;gap:8px;height:34px;padding:0 24px;font:600 .8rem var(--f-display);color:var(--text-primary);flex:none}
.ab-pbar b{flex:1}.ab-plane{display:none;color:var(--text-primary)}.ab-pbat{width:22px;height:11px;border-radius:3px;border:1.5px solid var(--text-secondary);position:relative}
.ab-pbat::after{content:"";position:absolute;left:1.5px;top:1.5px;bottom:1.5px;width:62%;background:var(--text-primary);border-radius:1px}
.ab-offline .ab-plane{display:block}
.ab-pscr.tw{flex:1;min-height:0;height:auto;background:transparent}
.ab-pscr.tw .app{height:100%;min-height:0;animation:none}
.ab-pscr .mcal-scroll{scroll-behavior:smooth}
/* A26: the phone's header is the app's own at phone width (AppHeader.css, max-width 480: no brand, icon-only buttons, no dividers, no Help, S2.3: it duplicates Settings > Guided Tour). The captured
   rules answer to the window's width, so the same few are restated here for the phone's 342 px. Three-class selectors so the captured two-class rules never tie. */
.ab-pscr.tw .app-header{padding:.4rem .5rem;flex:none}
.ab-pscr.tw .header-content{gap:.3rem}
.ab-pscr.tw .header-brand,.ab-pscr.tw .desktop-only,.ab-pscr.tw .util-divider,.ab-pscr.tw .help-btn,.ab-pscr.tw .util-label,.ab-pscr.tw .util-kbd,.ab-pscr.tw .hide-xs,.ab-pscr.tw .util-btn span{display:none}
.ab-pscr.tw .year-nav-center{flex:1;display:flex;justify-content:flex-start}
.ab-pscr.tw .util-btn{padding:.3rem .4rem;min-width:28px;min-height:28px;justify-content:center}
.ab-pscr.tw .header-utils{gap:.1rem;align-items:center}
.ab-pscr.tw .current-year-btn{font-size:.85rem;padding:.2rem .25rem;min-width:0}
.ab-pscr.tw .mcal-dots{display:flex}
.ab-pscr.tw .mcal-scroll{scroll-snap-type:none}   /* the strip keeps the app's own side padding (the neighbouring months show at the edges, as in production); the page scrolls it by each slide's own offset (about6.js `at`) */
.ab-pscr.tw .mcal-fab{display:flex;position:absolute;right:14px;bottom:16px;z-index:6;pointer-events:none}.js .ab-b6 .ab-phone{transform:translate3d(0,170px,0) rotate(6deg) scale(.9)}
.ab-b6.in .ab-phone{transform:none;transition:opacity .8s var(--ease) var(--d0),transform 1.35s cubic-bezier(.2,.9,.25,1.08) var(--d0)}
.js .ab-b6 .ab-qr{transform:translate3d(-120px,60px,0) rotate(-26deg) scale(.7)}
.ab-b6.in .ab-qr{transform:rotate(-6deg);transition:opacity .8s var(--ease) calc(var(--d0) + .6s),transform 1.2s cubic-bezier(.2,.9,.25,1.12) calc(var(--d0) + .6s)}

/* beat 7: the card drops in, then the four files fan out from behind it */
.ab-ystage{position:relative;display:flex;justify-content:center;align-items:center;min-height:min(70svh,640px)}
.ab-yir.tw{position:relative;z-index:2;width:min(620px,94vw);height:auto;background:transparent}
.ab-yir .yir-shell{animation:none}
.js .ab-b7 .ab-yir.tw{transform:translate3d(0,-90px,0) scale(.93)}
.ab-b7.in .ab-yir.tw{transform:none;transition:opacity .7s var(--ease) var(--d0),transform 1.1s cubic-bezier(.2,.9,.25,1.1) var(--d0)}
.ab-file{position:absolute;top:50%;left:50%;width:clamp(120px,13vw,180px);aspect-ratio:3/4;margin:-110px 0 0 -80px;border-radius:14px;background:#1a1d28;border:1px solid var(--border-strong);box-shadow:0 20px 50px -20px #000;display:flex;align-items:flex-end;padding:14px;font:600 1rem var(--f-mono);color:var(--text-primary)}
.ab-file::before{content:"";position:absolute;left:14px;right:14px;top:16px;height:44%;border-radius:6px;background:repeating-linear-gradient(0deg,rgba(255,255,255,.1) 0 3px,transparent 3px 11px)}
.ab-f1{--r:-14deg;--x:-330px;--y:20px}.ab-f2{--r:-5deg;--x:-210px;--y:-40px;background:#1f2640}.ab-f3{--r:6deg;--x:210px;--y:-30px;background:#16302e}.ab-f4{--r:15deg;--x:330px;--y:30px;background:#2c2540}
.ab-file{transform:translate3d(var(--x),var(--y),0) rotate(var(--r))}
.js .ab-b7 .ab-file{opacity:0;transform:translate3d(0,0,0) rotate(0) scale(.7)}
.ab-b7.in .ab-file{opacity:1;transform:translate3d(var(--x),var(--y),0) rotate(var(--r));transition:opacity .6s var(--ease),transform 1s cubic-bezier(.2,.9,.25,1.1);transition-delay:calc(var(--d0) + 1.3s + var(--n,0) * 130ms)}
.ab-f1{--n:0}.ab-f2{--n:1}.ab-f3{--n:2}.ab-f4{--n:3}

/* beat 8: three years fan out, then the trajectory slides in beside them */
.ab-tstage{display:grid;grid-template-columns:minmax(240px,.6fr) minmax(0,1.5fr);gap:clamp(16px,3vw,56px);align-items:center;text-align:left}
.ab-years{position:relative;height:min(64svh,560px);min-height:360px}
.ab-yc{position:absolute;left:50%;top:50%;width:clamp(180px,19vw,300px);aspect-ratio:166/186;margin:0;border-radius:14px;background:#12141c;border:1px solid var(--border-strong);padding:12px 12px 10px;box-shadow:0 24px 60px -24px #000;display:flex;flex-direction:column;gap:6px;transform:translate3d(-50%,-50%,0)}
.ab-yc b{font:600 .8rem var(--f-mono);color:var(--text-secondary);letter-spacing:.06em}
.ab-ys{flex:1;min-height:0}
.ab-ys-svg{width:100%;height:auto;flex:1}
.ab-ys-svg .on{fill:#6c72ff}.ab-ys-svg .off{fill:#1a1d28}
.ab-y26 .ab-ys-svg .on{fill:#a9adff}
.ab-y24{--x:-46%;--y:-62%;--r:-9deg}.ab-y25{--x:-50%;--y:-56%;--r:-3deg}.ab-y26{--x:-54%;--y:-50%;--r:2deg}
.ab-yc{transform:translate3d(var(--x),var(--y),0) rotate(var(--r))}
.js .ab-b8 .ab-yc{opacity:0;transform:translate3d(-50%,-50%,0) rotate(0) scale(.92)}
.ab-b8.in .ab-yc{opacity:1;transform:translate3d(var(--x),var(--y),0) rotate(var(--r));transition:opacity .7s var(--ease),transform 1.1s cubic-bezier(.2,.9,.25,1.1);transition-delay:calc(var(--d0) + var(--n,0) * .3s)}
.ab-y24{--n:0}.ab-y25{--n:1}.ab-y26{--n:2}
.ab-tr.tw{height:auto;background:transparent;display:block}
.js .ab-b8 .ab-tr.tw{transform:translate3d(90px,0,0)}
.ab-b8.in .ab-tr.tw{transform:none;transition:opacity .7s var(--ease) calc(var(--d0) + .9s),transform 1.1s cubic-bezier(.2,.85,.25,1) calc(var(--d0) + .9s)}
.ab-tr .traj-container{margin-top:0;padding-top:0;border-top:0;max-width:none}
.js .ab-b8 .traj-hm-row{opacity:0;transform:translate3d(0,10px,0)}
.ab-b8.in .traj-hm-row{opacity:1;transform:none;transition:opacity .6s var(--ease),transform .7s var(--ease);transition-delay:calc(var(--d0) + 1.9s + var(--yr) * .4s)}
.js .ab-b8 .ab-draw{stroke-dasharray:1;stroke-dashoffset:1}
.ab-b8.in .ab-draw{stroke-dashoffset:0;transition:stroke-dashoffset 1.4s var(--ease) calc(var(--d0) + 1.4s)}
.js .ab-b8 .traj-kpi{opacity:0;transform:translate3d(0,10px,0)}
.ab-b8.in .traj-kpi{opacity:1;transform:none;transition:opacity .6s var(--ease),transform .7s var(--ease);transition-delay:calc(var(--d0) + 1.1s + var(--k,0) * .08s)}
.ab-tr .traj-kpi.ab-kpi-hero{box-shadow:inset 0 0 0 1px rgba(45,212,191,.5)}
.ab-cap-s{margin:0}

/* beat 9: the two halves of the ledger slide in from opposite sides, then the count runs */
.ab-led.tw{width:100%;max-width:min(1500px,100%);height:auto;background:transparent;text-align:left}
.ab-led-in .ledger-grid{max-width:none}
.js .ab-b9 .ledger-col:first-child{transform:translate3d(-80px,0,0)}
.js .ab-b9 .ledger-col:last-child,.js .ab-b9 .ledger-grid>.ledger-countries{transform:translate3d(80px,0,0)}
.ab-b9.in .ledger-col:first-child,.ab-b9.in .ledger-col:last-child,.ab-b9.in .ledger-grid>.ledger-countries{transform:none;transition:transform 1.1s cubic-bezier(.2,.85,.25,1) var(--d0)}
.ab-b9.in .ab-led-in .ledger-bar-fill--ok{animation:ledger-fill 1.4s var(--ease) calc(var(--d0) + .8s) backwards}
.ledger-run[data-off],.ledger-peak[data-off]{grid-row:1}
.js .ab-b9 .ledger-run{opacity:0;transform:scaleX(0);transform-origin:left}
.ab-b9.in .ledger-run{opacity:1;transform:none;transition:opacity .5s,transform .9s var(--ease);transition-delay:calc(var(--d0) + 1.6s + var(--rn,0) * .5s)}

/* beat 10: the empty year rises under the last line */
.ab-b10{padding-bottom:0;overflow:hidden}
.ab-end .ab-h{font-size:clamp(2.3rem,.9rem + 5vw,5.6rem)}
.ab-cta{margin-top:clamp(20px,3.5svh,36px)}
.ab-next.tw{width:100%;max-width:none;height:min(64svh,600px);background:transparent;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14%);mask-image:linear-gradient(180deg,transparent 0,#000 14%)}
.ab-next-in{position:absolute;inset:0 0 -60px 0;display:flex;flex-direction:column}
.ab-next-in .app-main{flex:1;min-height:0;display:flex;flex-direction:column;padding:0}
.ab-next-in .year-grid-container{max-width:none;flex:1}
.js .ab-b10 .ab-next{transform:translate3d(0,110px,0)}
.ab-b10.in .ab-next{transform:none;opacity:1;transition:opacity 1s var(--ease) calc(var(--d0) + .2s),transform 1.6s cubic-bezier(.2,.85,.25,1) calc(var(--d0) + .2s)}
.js .ab-b10 .ab-cta{opacity:0;transform:translate3d(0,12px,0) scale(.96)}
.ab-b10.in .ab-cta{opacity:1;transform:none;transition:opacity .7s var(--ease) calc(var(--d0) + .6s),transform .8s cubic-bezier(.2,.9,.25,1.2) calc(var(--d0) + .6s)}

/* ---------- narrow screens: the year grid is a computer view, so on a phone it is a picture of it, scaled to the width ---------- */
@media(max-width:900px){
  .ab-split{grid-template-columns:1fr;justify-items:center}.ab-arrow{transform:rotate(90deg)}.ab-chat{justify-self:center}
  .ab-tstage{grid-template-columns:minmax(0,1fr)}.ab-tr.tw{min-width:0}.ab-years{height:300px;min-height:0}.ab-yc{width:150px}
  .ab-file{margin-top:-90px}.ab-f1{--x:-120px}.ab-f2{--x:-70px}.ab-f3{--x:70px}.ab-f4{--x:120px}
  .ab-qr{display:none}
}
@media(max-width:760px){
  .ab-win.tw{width:1000px;height:640px;right:auto;bottom:auto;transform-origin:0 0;transform:scale(var(--ps,.37))}
  .ab-cam{inset:0 0 auto 0;height:calc(640px * var(--ps,.37))}
  .ab-next.tw{height:min(52svh,420px)}
}

/* ---------- reduced motion, and browsers without scroll timelines: no pinning, no camera, the end states, in reading order ---------- */
@media(prefers-reduced-motion:reduce){
  .ab-stage[data-state="0"] .ab-cap-3{opacity:1}
  .js .ab-ov .overlap-grid-container::after{display:none}
  .ab-track{height:auto;view-timeline:none}.ab-sent{display:none}
  .ab-stage{position:relative;height:auto;display:flex;flex-direction:column;gap:18px;overflow:visible}
  .ab-caps{height:auto;display:flex;flex-direction:column;gap:clamp(24px,5svh,56px)}
  .ab-cap,.ab-cap-1{position:relative;inset:auto;opacity:1!important;transform:none!important;height:auto;left:auto;right:auto;top:auto}
  .ab-cap .ab-note{position:static}
  .ab-wrap{height:min(78svh,720px)}
  .ab-day{display:none}
  .ab-dock,.ab-stage:not([data-state="1"]) .ab-dock{opacity:1}.ab-dock-sb{opacity:0}.ab-dock-fb{opacity:1}
  .ab-qa-host,.ab-se-host,.ab-q{display:none}
  .ab-win.tw .event-bar{opacity:1!important}
  .ab-win.tw .ab-new{opacity:1!important}
  .ab-win.tw .ab-new.has-label{box-shadow:0 0 0 2px var(--hb-pale),0 0 26px rgba(108,114,255,.75)}
  .ab-s .ab-split>*,.ab-s .ab-ystage>*,.ab-s .ab-tstage>*,.ab-s .ab-pstage>*,.ab-s .ab-led,.ab-s .ab-next,.ab-s .ab-cta,.ab-s .ab-ov .overlap-cell,.ab-s .traj-hm-row,.ab-s .traj-kpi,.ab-s .ledger-run,.ab-s .ab-yc,.ab-s .ab-file,.ab-s .ab-bub{opacity:1!important;transform:none}
  .ab-file{transform:translate3d(var(--x),var(--y),0) rotate(var(--r))!important}
  .ab-yc{transform:translate3d(var(--x),var(--y),0) rotate(var(--r))!important}
  .ab-s .ab-draw{stroke-dashoffset:0!important}
  .ab-s .ab-sup,.ab-s .ab-cap-s,.ab-s .ab-fine,.ab-s .ledger-col,.ab-s .ab-chat,.ab-s .ab-ov,.ab-s .ab-yir,.ab-s .ab-tr,.ab-s .ab-phone,.ab-s .ab-qr{opacity:1!important;transform:none!important}
}
@supports (animation-timeline:view()){
@media(prefers-reduced-motion:no-preference){
  .ab-day{animation:ab-day-go 1ms cubic-bezier(.45,0,.2,1) both,ab-day-op 1ms linear both;animation-timeline:--abpull,--abpull;animation-range:cover 34.8% cover 56.1%,cover 34.8% cover 56.1%}
  #year .ab-cam{animation:ab-cam-go 1ms cubic-bezier(.45,0,.2,1) both,ab-cam-op 1ms linear both;animation-timeline:--abpull,--abpull;animation-range:cover 34.8% cover 56.1%,cover 33.3% cover 48.5%}
  .ab-cap-1{animation:ab-cap1 1ms linear both;animation-timeline:--abpull;animation-range:cover 33.3% cover 42.4%}
  .ab-stage:not([data-state="1"]) .ab-cap-1{transition:none}
}}
/* the day and the camera share one easing and one range, so the day stays inside the cell it is shrinking into; the fade is its own animation (a middle keyframe would restart the easing) */
@keyframes ab-day-go{from{transform:none}to{transform:translate3d(var(--dx),var(--dy),0) scale(var(--s1))}}
@keyframes ab-day-op{0%,55%{opacity:1}100%{opacity:0}}
@keyframes ab-cam-go{from{transform:translate3d(var(--tx),var(--ty),0) scale(var(--k0))}to{transform:none}}
@keyframes ab-cam-op{from{opacity:0}to{opacity:1}}
@keyframes ab-cap1{to{opacity:0;transform:translate3d(0,-26px,0)}}
@supports not (animation-timeline:view()){.ab-day{display:none}}

.ab-win.tw .quarter-label{transition:color .3s,text-shadow .3s}
.ab-win.tw .quarter-label.ab-qon{color:#fff;text-shadow:0 0 10px #a9adff,0 0 22px #6c72ff,0 0 3px #fff}
/* four countries means four: the sample's Portugal and Turkey bars stand back while the four chips step */
.ab-win.tw[data-four] .event-bar[data-location="Portugal"],.ab-win.tw[data-four] .event-bar[data-location="Turkey"]{opacity:.12}
.ab-win.tw:not(.ab-in) .ab-callbar.event-bar{opacity:1}

@media(max-width:1330px){.ab-ov.tw .ab-ov-in{zoom:1}}
.ab-se-host.tw .ab-se-in{padding-left:2.4rem}

/* the real mobile view sizes itself in viewport units (100vw, 100dvh): inside the phone it takes the phone's own size */
.ab-pscr.tw .mobile-calendar{height:100%}
.ab-pscr.tw .mcal-slide{min-width:calc(100% - 56px);max-width:calc(100% - 56px)}   /* the app's own: the strip's width less its 28 px of padding on each side, so the next month shows at the edge */
/* the app's own rows: 2 px above and below each 16 px bar, so every day is its own bar with a 4 px gap (MobileCalendar.css .mday-row, .mmonth-view); the picture no longer squeezes them */
.ab-pstage{min-height:min(70svh,660px)}
.ab-phone{height:min(70svh,660px)}

@media(max-width:760px){
  .ab-dock{height:40px}
  .ab-dock .summary-bar{transform:none}
  .ab-dock-fb .filter-bar{transform:scale(.64);flex-wrap:nowrap}
  .ab-cap .ab-note{position:static;margin-top:6px}
  .ab-cap .ab-h{font-size:clamp(1.7rem,1rem + 4.2vw,2.4rem)}
  .ab-cap .ab-sup{font-size:1rem;max-width:30ch}
  .ab-caps{height:clamp(150px,24svh,190px)}
  .ab-chat{max-width:340px}
  .ab-phone{height:min(86svh,620px)}
  .ab-pstage{min-height:min(86svh,620px)}
  .ab-s .ab-h{font-size:clamp(1.8rem,1rem + 4.4vw,2.6rem)}
  .ab-tr .traj-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ab-tr .traj-kpi-years{flex-wrap:wrap;gap:2px 8px}
  .ab-tr .traj-kpi-header{flex-wrap:wrap}
  .ab-led-in .ledger-grid{grid-template-columns:1fr}
}

/* the empty year of the ending: nothing behind it, so nothing is dimmed, and the quarters are named */
.ab-next-in.tw .grid-cell.is-future:not(.has-events),.ab-next.tw .ab-next-in .grid-cell.is-future:not(.has-events){background:var(--bg-elevated)}
.ab-next.tw .ab-next-in .month-header .month-name{color:var(--text-primary)}
.ab-next.tw .ab-next-in .quarter-label{color:var(--hb-pale);opacity:1}

/* cost: the camera layer is rastered at the largest scale of its animation (3x and more), so once the pull-back is done the animation is dropped and the layer goes back to 1x;
   scrolling back up into the pull-back (state 1) puts it on again at the same, identity, position. Heavy figures are mounted from inert templates when near and dropped when far (about6.js). */
.ab-stage:not([data-state="1"]) .ab-cam,#year .ab-stage:not([data-state="1"]) .ab-cam{animation:none}
.ab-stage:not([data-state="1"]) .ab-day{animation:none;visibility:hidden}
.ab-next.tw .ab-next-in .grid-cell.is-future:not(.has-events){background:var(--bg-hover)}
.ab-next.tw .ab-next-in .month-header.future-month .month-name{color:var(--text-primary)}
.ab-next.tw .ab-next-in .month-header .quarter-label{color:var(--hb-pale);opacity:1}


/* sections below the stages are not rendered until near; the two that come first are rendered from the start (their first render was a 150 ms frame on arrival) */
.ab-s{content-visibility:auto;contain-intrinsic-size:auto 900px}
.ab-b5,.ab-b6{content-visibility:visible}

/* cost: the app dims and lifts with CSS filters, and almost every cell and every continuation bar has one (about 450 filter surfaces on this picture). Here the same
   shading is painted flat: an inset shadow for the dim or the lift, no filter, so the grid is one surface. The app itself keeps its filters. */
:is(.ab-win,.ab-next).tw .grid-cell.is-past:not(.has-events),:is(.ab-win,.ab-next).tw .grid-cell.current-month-col:not(.has-events):not(.invalid),:is(.ab-win,.ab-next).tw .grid-cell.has-events:not(.is-past):not(.invalid){filter:none}
:is(.ab-win,.ab-next).tw .event-bar,:is(.ab-win,.ab-next).tw .event-bar *{box-shadow:none;text-shadow:none}
:is(.ab-win,.ab-next).tw .grid-cell{box-shadow:none}
:is(.ab-win,.ab-next).tw .grid-cell.is-future:not(.has-events){filter:none;box-shadow:inset 0 0 0 100px rgba(255,255,255,.03)}
:is(.ab-win,.ab-next).tw .grid-cell.is-past.has-events{filter:none;box-shadow:inset 0 0 0 100px rgba(10,11,15,.2)}
:is(.ab-win,.ab-next).tw .event-bar.is-continuation{filter:none;box-shadow:inset 0 0 0 100px rgba(0,0,0,.34)}
:is(.ab-win,.ab-next).tw .grid-cell.is-past.has-events .event-bar.is-continuation{box-shadow:inset 0 0 0 100px rgba(0,0,0,.42)}

/* ---------- pictures: each rich figure's resting frame, captured from this same page at build time (tools/snap6.mjs), stands in for its DOM until a visitor stays on the beat ---------- */
.ab-snap{display:block;margin:0}
.ab-snap img{position:absolute;display:block;max-width:none;user-select:none;-webkit-user-drag:none}
.ab-snap.abs{position:absolute;inset:0;z-index:3}
.ab-snap.flow{position:relative;width:100%}
.ab-win.tw:not(.ab-landed) .ab-snap[data-p="a1"],.ab-win.tw.ab-landed .ab-snap[data-p="a0"]{display:none}
.ab-live>.ab-snap,.ab-live .ab-snap,.ab-live-host:not(:empty)~.ab-snap{visibility:hidden}
.ab-live .ab-snap.flow,.ab-live-host:not(:empty)~.ab-snap.flow{position:absolute;inset:0}
.ab-live-host{display:block}
.ab-ov.tw{position:relative}
.ab-ov .ab-snap.flow{width:100%}
.ab-pscr.tw{position:relative}
.ab-next.tw{position:relative}
.ab-next .ab-snap{z-index:1}
/* the plate that draws Compare slides over the picture; the free window's glow is a box over it */
.js .ab-ov .ab-snap.flow::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0,var(--bg-surface) 13%);transform:translate3d(0,0,0)}
.js .ab-b5.in .ab-ov .ab-snap.flow::after{transform:translate3d(104%,0,0);transition:transform 1.8s cubic-bezier(.5,0,.2,1) calc(var(--d0) + 3.4s)}
@media(prefers-reduced-motion:reduce){.ab-snap{display:none!important}}

.ab-pscr .ab-live-host{height:100%}

.ab-ov.tw{width:806px;max-width:calc(100vw - 2 * var(--gut));flex:none}
@media(max-width:1330px){.ab-ov.tw{width:720px}}

/* ---------- the Tide beat (A16): the app's own strip, large; its own fill-in (.hb-tide-full) and breath (.hb-breathing) are the app's CSS ---------- */
.ab-tide.tw{width:100%;max-width:min(1760px,100%);margin:0 auto;height:auto;background:transparent;padding:0 var(--gut)}
.ab-tide.tw .year-grid-container,.ab-tide.tw .year-grid{flex:none;min-height:0;height:auto}
.ab-tide.tw .year-grid{max-height:min(290px,40svh);overflow:hidden;border-radius:var(--radius-lg);border-bottom:1px solid var(--border-subtle);-webkit-mask-image:linear-gradient(#000 58%,transparent);mask-image:linear-gradient(#000 58%,transparent)}
.ab-tide .day-row{flex:none}
.js .ab-bT .ab-tide{opacity:0;transform:translate3d(0,40px,0)}
.ab-bT.in .ab-tide{opacity:1;transform:none;transition:opacity .6s var(--ease) var(--d0),transform 1s cubic-bezier(.2,.85,.25,1) var(--d0)}
.ab-ph{margin:.6em 0 0}
/* ---------- the ending (A15): the claim, with its counter ---------- */
.ab-claim{display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.4svh,26px);margin-top:clamp(18px,3svh,32px)}
.ab-count{margin:0;display:flex;flex-direction:column;align-items:center;gap:clamp(4px,1svh,10px)}
.ab-n{font:700 clamp(5.5rem,2rem + 13vw,15rem)/.84 var(--f-display);letter-spacing:-.07em;color:var(--hb-pale);font-variant-numeric:tabular-nums}
.ab-n small{font-size:.26em;letter-spacing:-.02em;color:var(--text-secondary);font-weight:600;margin-left:.06em}
.ab-cl{color:var(--text-secondary);font-size:clamp(1.1rem,1rem + .5vw,1.6rem)}
.ab-claim .ab-cta{margin-top:0}
.ab-claim .btn{min-height:60px;font-size:1.15rem}
#next .v-closed,#next .v-see{display:none}
#next[data-st="sold"] .v-open,#next[data-st="closed"] .v-open{display:none}#next[data-st="sold"] .v-closed,#next[data-st="closed"] .v-closed{display:inline}
#next[data-st="sold"] .v-claim,#next[data-st="closed"] .v-claim{display:none}#next[data-st="sold"] .v-see,#next[data-st="closed"] .v-see{display:inline-flex}
#next[data-st="none"] .ab-count,#next[data-st="closed"] .ab-count,#next[data-st="loading"] .ab-count{display:none}
@media(max-width:760px){.ab-tide-m span:nth-child(even){visibility:hidden}}

/* the ending fills the screen: headline, the number, the button, nothing under it but the footer */
.ab-b10{overflow:visible;padding-top:clamp(56px,10svh,120px);padding-bottom:clamp(36px,6svh,72px)}
.ab-b10 .ab-claim{margin-top:clamp(8px,2svh,24px);gap:clamp(14px,3svh,32px)}
@media(max-width:760px){.ab-n{font-size:clamp(4.5rem,24vw,6.5rem)}}

/* sold out reads "2,000 places taken": the number alone, no "/2,000" (Erik, A22) */
#next[data-st="sold"] .ab-n small{display:none}

/* the opening headline (A18): its own short screen, then the story; three sentences come in one after another, transform and opacity only */
.ab-hero{position:relative;z-index:2;min-height:clamp(320px,48svh,500px);display:flex;align-items:center;justify-content:center;padding:calc(var(--hh) + clamp(20px,4svh,44px)) var(--gut) 0;text-align:center}
.ab-h0{margin:0;max-width:16ch;font:700 clamp(2.6rem,1rem + 6.4vw,7rem)/.98 var(--f-display);letter-spacing:-.045em;text-wrap:balance}
.ab-h0 .ab-h0-l{display:inline-block}
.ab-h0 .g{background:linear-gradient(90deg,#8a8fff,#2dd4bf);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.18em}
@media(prefers-reduced-motion:no-preference){.ab-h0-l{animation:ab-h0-in .9s cubic-bezier(.2,.85,.25,1) both}.ab-h0-l:nth-child(2){animation-delay:.22s}.ab-h0-l:nth-child(3){animation-delay:.44s}}
@keyframes ab-h0-in{from{opacity:0;transform:translate3d(0,26px,0)}to{opacity:1;transform:none}}
@media(max-width:760px){.ab-h0{max-width:11ch}}

/* ---------- the closing beat (A25): a week zooms out to the year. Same machine as beat 1 (a CSS scroll timeline on the track, the camera and the card share one easing and one range;
   transform and opacity only); the year is the grid's own picture (the `door` figure, captured at rest), the week is my own neutral calendar. Then "Time to open the door." ---------- */
#keyhole{--capH:clamp(112px,19svh,190px)}
#keyhole .ab-cap-1,#keyhole .ab-cap-2{position:absolute;inset:0;left:0;right:0;top:0;bottom:0;height:auto;z-index:3}
#keyhole .ab-cap .ab-h,#keyhole .ab-cap-1 .ab-h{font-size:clamp(1.75rem,.7rem + 3.2vw,3.7rem);max-width:21em}
#keyhole .ab-cam{display:flex;align-items:center;justify-content:center}
#keyhole .ab-wrap{overflow:hidden}
.ab-door-fig.tw{--ar:1.9;position:relative;width:min(1360px,100%,calc(64svh * var(--ar)));aspect-ratio:var(--ar);height:auto;margin:0;overflow:visible;border-radius:var(--radius-lg);background:transparent}
.ab-door-fig.tw .app{position:absolute;inset:0;height:100%;min-height:0;display:flex;flex-direction:column;background:transparent;animation:none;overflow:hidden;border-radius:var(--radius-lg)}
.ab-door-fig.tw .app-main{flex:1;display:flex;flex-direction:column;padding:0;height:100%;min-height:0;background:transparent;animation:none}
.ab-door-fig.tw .year-grid-container{max-width:none}
.ab-door-fig.tw .year-grid{overflow:hidden}
.ab-door-fig .ab-new{display:none}
.ab-door-fig .ab-snap.flow{width:100%}
/* the week, marked in the year once the camera has landed: one outline (opacity only) */
.ab-wkbox{position:absolute;left:calc(var(--bx,0) * 100%);top:calc(var(--by,0) * 100%);width:calc(var(--bw,0) * 100%);height:calc(var(--bh,0) * 100%);border-radius:4px;box-shadow:0 0 0 1.5px var(--hb-pale),0 0 22px 2px rgba(169,173,255,.55);opacity:0;transition:opacity .6s var(--ease) .15s;pointer-events:none;z-index:4}
#keyhole .ab-stage[data-state="2"] .ab-wkbox{opacity:1}
/* the week view: dark, quiet, a calendar anyone would recognise and no one's brand */
.ab-wk{position:absolute;inset:0;margin:auto;width:min(1040px,94%);height:min(540px,94%);border-radius:18px;background:#14161f;border:1px solid var(--border-strong);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);overflow:hidden;z-index:2;display:flex;flex-direction:column;text-align:left;transform-origin:50% 50%}
.ab-wk-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px 10px}
.ab-wk-top b{font:600 1.05rem var(--f-display);letter-spacing:-.01em}
.ab-wk-seg{display:flex;padding:3px;border-radius:9px;background:rgba(255,255,255,.06);font:500 .74rem var(--f-display);color:var(--text-secondary)}
.ab-wk-seg i{font-style:normal;padding:4px 12px;border-radius:7px}
.ab-wk-seg i.on{background:rgba(255,255,255,.12);color:var(--text-primary)}
.ab-wk-head{display:grid;grid-template-columns:46px repeat(5,1fr);border-bottom:1px solid var(--border-default)}
.ab-wk-head span{display:flex;flex-direction:column;align-items:center;gap:1px;padding:4px 0 8px;color:var(--text-secondary)}
.ab-wk-head small{font:500 .68rem var(--f-mono);letter-spacing:.08em;text-transform:uppercase}
.ab-wk-head b{font:600 1.35rem/1.1 var(--f-display);color:var(--text-primary)}
.ab-wk-head span.today small{color:#a9adff}
.ab-wk-head span.today b{display:grid;place-items:center;min-width:2rem;height:2rem;border-radius:999px;background:var(--accent);color:var(--text-inverse)}
.ab-wk-body{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:46px 1fr}
.ab-wk-hrs{position:relative}
.ab-wk-hrs i{position:absolute;left:0;right:0;top:calc(var(--h) * 10%);height:10%;border-top:1px solid rgba(255,255,255,.06)}
.ab-wk-hrs i span{position:absolute;right:8px;top:-.5em;font:500 .68rem var(--f-mono);color:var(--text-tertiary)}
.ab-wk-hrs i:first-child{border-top:0}
.ab-wk-cols{position:relative;display:grid;grid-template-columns:repeat(5,1fr);background:repeating-linear-gradient(180deg,transparent 0 calc(10% - 1px),rgba(255,255,255,.06) calc(10% - 1px) 10%)}
.ab-wk-col{position:relative;border-left:1px solid rgba(255,255,255,.06)}
.ab-wk-col.today{background:rgba(108,114,255,.07)}
.ab-wk .e{position:absolute;left:4px;right:4px;top:calc(var(--s) * 10% + 1px);height:calc(var(--d) * 10% - 2px);min-height:21px;display:flex;flex-direction:column;justify-content:flex-start;gap:1px;padding:3px 8px;border-radius:7px;border-left:3px solid var(--ev);background:color-mix(in srgb,var(--ev) 24%,#14161f);color:#fff;overflow:hidden;font-weight:400}
.ab-wk .e span{font:600 .78rem/1.15 var(--f-display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ab-wk .e em{font:500 .66rem var(--f-mono);font-style:normal;color:rgba(255,255,255,.7)}
.ab-wk .c1{--ev:#8a8fff}.ab-wk .c2{--ev:#2dd4bf}.ab-wk .c3{--ev:#a78bfa}.ab-wk .c4{--ev:#f59e0b}.ab-wk .c5{--ev:#f472b6}.ab-wk .c6{--ev:#a3e635}.ab-wk .c7{--ev:#94a3b8}
.ab-wk .e[style*="--d:.25"]{flex-direction:row;align-items:center;padding:0 8px}
.ab-wk .e[style*="--d:.25"] span{font-size:.7rem}
.ab-wk .e[style*="--d:.75"]{flex-direction:row;align-items:center;gap:8px;padding-block:0}   /* a 45 minute event is one line high at 1024: name and time side by side, so neither is clipped */
.ab-wk .e[style*="--d:.75"] span{flex:none}
@media(max-width:760px){
  .ab-wk{width:100%;border-radius:14px}
  .ab-wk-top{padding:10px 12px 8px}.ab-wk-top b{font-size:.9rem}.ab-wk-seg{display:none}
  .ab-wk-head,.ab-wk-body{grid-template-columns:24px repeat(5,1fr)}.ab-wk-body{grid-template-columns:24px 1fr}
  .ab-wk-head b{font-size:1rem}.ab-wk-head span.today b{min-width:1.5rem;height:1.5rem}.ab-wk-head small{font-size:.56rem;letter-spacing:.04em}
  .ab-wk-hrs i span{right:3px;font-size:.55rem}
  .ab-wk .e{left:1px;right:1px;padding:2px 3px;border-left-width:2px;border-radius:5px}.ab-wk .e span{font-size:.58rem;white-space:normal;line-height:1.1}.ab-wk .e em{display:none}
  .ab-wk .e[style*="--d:.25"] span{font-size:.5rem}
  #keyhole .ab-cam{inset:0;height:auto}
}
@media(max-width:760px){.ab-door-fig.tw{--ar:.8;width:min(100%,calc(58svh * var(--ar)))}.ab-door-fig.tw .app{inset:auto;left:0;top:0;width:1000px;height:calc(100% / var(--dps,.3));transform-origin:0 0;transform:scale(var(--dps,.3))}}
@media(prefers-reduced-motion:reduce){.ab-wk,.ab-wkbox{display:none}#keyhole .ab-cam{position:relative;inset:auto}#keyhole .ab-cap-1,#keyhole .ab-cap-2{position:relative;inset:auto;height:auto}#keyhole .ab-wrap{overflow:visible}}
@supports (animation-timeline:view()){
@media(prefers-reduced-motion:no-preference){
  #keyhole .ab-wk{animation:ab-day-go 1ms cubic-bezier(.45,0,.2,1) both,ab-day-op 1ms linear both;animation-timeline:--abpull,--abpull;animation-range:cover 36% cover 56%,cover 36% cover 56%}
  #keyhole .ab-cam{animation:ab-cam-go 1ms cubic-bezier(.45,0,.2,1) both,ab-cam-op 1ms linear both;animation-timeline:--abpull,--abpull;animation-range:cover 36% cover 56%,cover 35% cover 47%}
  #keyhole .ab-cap-1{animation:ab-cap1 1ms linear both;animation-timeline:--abpull;animation-range:cover 35% cover 43%}
}}
@supports not (animation-timeline:view()){.ab-wk{display:none}}

.ab-snap[data-p="ov"]{aspect-ratio:806.39/584.63}.ab-snap[data-p="yir"]{aspect-ratio:620/731.39}.ab-snap[data-p="traj"]{aspect-ratio:960.72/600}.ab-snap[data-p="led"]{aspect-ratio:1388.19/340.2}.ab-snap[data-p="door"]{aspect-ratio:1094.39/575.98}.ab-door-fig.tw{--ar:1.9000}
@media(min-width:1700px){.ab-snap[data-p="ov"]{aspect-ratio:806.39/694.39}.ab-snap[data-p="yir"]{aspect-ratio:620/731.39}.ab-snap[data-p="traj"]{aspect-ratio:1217.16/664.08}.ab-snap[data-p="led"]{aspect-ratio:1500/340.2}.ab-snap[data-p="door"]{aspect-ratio:1313.27/691.19}.ab-door-fig.tw{--ar:1.9000}}
@media(max-width:760px){.ab-snap[data-p="ov"]{aspect-ratio:720/386.86}.ab-snap[data-p="yir"]{aspect-ratio:351/747.27}.ab-snap[data-p="traj"]{aspect-ratio:351/577.19}.ab-snap[data-p="led"]{aspect-ratio:351/724.39}.ab-snap[data-p="door"]{aspect-ratio:309/386.84}.ab-door-fig.tw{--ar:0.7988}}
.ab-snap[data-p="ov"]::after{top:31.62%}
.ab-ov .ab-snap.flow{overflow:hidden}
.ab-pscr .ab-live-host{height:100%}
