/* app.css: the app screens' own layout (chat, thread, Studio, compare, Listing Reel, library, credits, sign in,
   account, explore, states) and the pricing page, owned by the app builder. Linked after screens.css and home.css
   on every page (lib.head), so rules here win over the older sheets. Every rule is scoped to an app body (body.ax)
   or to an ax-* / pr-* class, so the homepage and the system page are untouched. Values only from tokens.css;
   components come from components.css (V4) and their helpers in src/lib.py. Flat colour only. */

/* ================================================================ the shell: sidebar, top bar, phone bar, drawer */
body.ax { background: var(--canvas); }
.ax-skip { position: fixed; z-index: 100; left: 12px; top: -64px; padding: 10px 16px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-weight: var(--fw-bold); transition: top var(--t-fast) var(--ease); }
.ax-skip:focus { top: 12px; }
.ax-shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.ax-side { position: sticky; top: 0; z-index: 31; height: 100vh; height: 100dvh; }
.ax-side > .aps { height: 100%; }
.ax-main { position: relative; min-width: 0; display: flex; flex-direction: column; }
.ax-top { position: sticky; top: 0; z-index: var(--z-nav); display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 16px 0 10px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.ax-tnav { flex: 1; min-width: 0; }
.ax-tul { display: flex; align-items: center; gap: 2px; }
.ax-top .mega { left: 8px; top: calc(100% + 6px); width: min(var(--mega-w), calc(100vw - var(--side-w) - 24px)); max-height: calc(100vh - 76px); }
.ax-tend { display: flex; align-items: center; gap: 8px; flex: none; }
.ax-pbar { display: none; }
.ax-body { flex: 1; min-width: 0; padding: 0 24px 72px; }
.ax-body:focus, .ax-body:focus-visible { box-shadow: none; }
.ax-wrap { width: 100%; max-width: 1480px; margin: 0 auto; }
body.ax .stk { left: calc(50% + var(--side-w) / 2); width: min(var(--sticky-w), calc(100vw - var(--side-w) - 48px)); }
body.ax.ax-thr .ax-body { padding-bottom: 0; }
/* the studio composer's Go on phones: a full-width bar under the chips (the shared rule loses to the desktop size) */
@media (max-width: 899px) { body.ax .gcp-studio .gobtn:not(.sm):not(.md) { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; height: 56px; } }

/* the phone menu: the site drawer's behaviour with the app's places */
.ax-sdr .sdr-nav { gap: 2px; }
.ax-dc { margin: 4px 0 10px; gap: 8px; }
.ax-dn { color: var(--text-1); font-size: var(--fs-17); font-weight: var(--fw-medium); }
.ax-dn .i { color: var(--text-2); }
.ax-dn[aria-current="page"] { background: var(--surface-2); }
.ax-dn[aria-current="page"] .i { color: var(--accent-text); }
.ax-dl { padding: 18px 12px 6px; font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-3); }
.ax-dp img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex: none; }
.ax-dp span:not(.n) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-dp .n { margin-left: auto; font-size: var(--fs-13); color: var(--text-3); }
.ax-df { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ax-dme { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border-radius: var(--r-md); }

@media (max-width: 899px) {
  .ax-shell { display: block; }
  .ax-side, .ax-top { display: none; }
  .ax-pbar { position: sticky; top: 0; z-index: var(--z-nav); display: grid; grid-template-columns: minmax(48px, 1fr) minmax(0, auto) minmax(48px, 1fr); align-items: center; height: 56px; padding: 0 8px 0 4px; background: var(--canvas); border-bottom: 1px solid var(--line); }
  .ax-pb-b { justify-self: start; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); color: var(--text-1); }
  .ax-pb-t { min-width: 0; font-size: var(--fs-17); font-weight: var(--fw-semi); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ax-pb-t .brand { min-height: 44px; }
  .ax-pb-t .brand-lockup { height: 22px; }
  .ax-pb-e { justify-self: end; display: flex; align-items: center; }
  .ax-body { padding: 0 16px 104px; }
}

/* ================================================================ page headers and sections */
.ax-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 32px 0 20px; }
.ax-htx { min-width: 0; }
.ax-eb { margin-bottom: 10px; font-size: var(--fs-12); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.ax-sub { margin-top: 10px; max-width: 680px; font-size: var(--fs-15); line-height: 1.5; color: var(--text-3); text-wrap: pretty; }
.ax-hend { flex: none; display: flex; align-items: center; gap: 8px; }
.ax-sec { padding-top: 56px; }
@media (max-width: 899px) {
  .ax-head { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 0 16px; }
  .ax-hend { flex-wrap: wrap; }
  .ax-sub { font-size: var(--fs-15); }
  .ax-sec { padding-top: 40px; }
}

/* ================================================================ 02 the chat home */
.ax-hero { position: relative; display: grid; justify-items: center; text-align: center; margin-top: 16px; padding: 32px 24px 24px; border-radius: var(--r-lg); background: var(--stage); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-fan { width: 100%; max-width: 920px; }
.ax-h1 { margin-top: 26px; }
.ax-lead { margin-top: 10px; max-width: 780px; font-size: 16px; line-height: 1.5; color: var(--text-2); text-wrap: balance; }
.ax-cmp { width: 100%; max-width: var(--composer-w); margin-top: 22px; text-align: left; }
.ax-cmp .gcp-studio { margin: 0 auto; }
.ax-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1000px; margin-top: 16px; }
.ax-qc { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: var(--r-pill); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; color: var(--text-2); font-size: var(--fs-14); font-weight: var(--fw-medium); white-space: nowrap; transition: background-color var(--t-hover) var(--ease-std), color var(--t-hover) var(--ease-std), outline-color var(--t-hover) var(--ease-std); }
.ax-qc:hover { background: var(--surface-2); color: var(--text-1); outline-color: var(--line-hover); }
.ax-qc .i { color: var(--text-3); }
.ax-qc:hover .i { color: var(--accent-text); }
@media (max-width: 899px) {
  .ax-hero { margin: 0 -16px; padding: 24px 16px 8px; border-radius: 0; outline: 0; background: var(--canvas); overflow-x: clip; }
  .ax-h1 { margin-top: 20px; }
  .ax-lead { font-size: var(--fs-15); }
  .ax-cmp { margin-top: 18px; }
  .ax-home .gcp-tiles, .ax-home .gcp-note { display: none; }
  .ax-home .gcp textarea { min-height: 0; height: 76px; }
  .ax-quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + 32px); margin: 16px -16px 0; padding: 0 16px; }
  .ax-quick::-webkit-scrollbar { display: none; }
  .ax-qc { height: 44px; font-size: var(--fs-15); }
}

/* presets: a camera move for one photo; the picture is an example of the photo it needs */
.ax-pc { display: grid; gap: 12px; width: 240px; align-content: start; }
.ax-pc-m { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.ax-pc-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ax-pc:hover .ax-pc-m > img { transform: scale(1.04); }
.ax-pc-tag { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-2); font-size: var(--fs-11); font-weight: var(--fw-semi); }
.ax-pc-tx { display: grid; gap: 4px; }
.ax-pc-f { font-size: var(--fs-11); font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.ax-pc-t { font: var(--fw-heavy) 22px/1.05 var(--font-title); text-transform: uppercase; letter-spacing: 0.01em; color: var(--text-1); transition: color var(--t-hover) var(--ease-std); }
.ax-pc:hover .ax-pc-t { color: var(--accent-text); }
.ax-pc-d { font-size: var(--fs-13); line-height: 18px; color: var(--text-3); }
.ax-pc-p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: var(--fs-13); color: var(--text-2); }
.ax-pc-p .dot { width: 3px; height: 3px; border-radius: var(--r-pill); background: currentColor; opacity: 0.6; }
@media (max-width: 899px) { .ax-pc { width: 220px; } .ax-pc-d, .ax-pc-p { font-size: var(--fs-13); } }

/* ================================================================ 03 the conversation */
.ax-chat { display: grid; grid-template-columns: minmax(0, 1fr); }
.ax-col { width: 100%; max-width: 712px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100vh - 52px); }
.ax-th { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
.ax-crumb { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-14); color: var(--text-3); white-space: nowrap; }
.ax-crumb a:hover { color: var(--text-1); }
.ax-crumb span { color: var(--text-1); font-weight: var(--fw-semi); overflow: hidden; text-overflow: ellipsis; }
.ax-th-acts { display: flex; gap: 4px; }
.thread.ax-thread { flex: 1; max-width: none; width: 100%; margin: 0; padding: 24px 0 40px; gap: 28px; }
.ax-thread .m-ai .who { height: 20px; font-size: var(--fs-11); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.ax-thread .m-ai .body { gap: 14px; }
.ax-thread .m-user .bubble { border-radius: var(--r-lg) var(--r-lg) var(--r-xs) var(--r-lg); }
.ax-thread .defaults .status { height: 28px; padding: 0 10px; font-size: var(--fs-13); }
.ax-dockc { position: sticky; bottom: 0; z-index: 20; padding: 8px 0 16px; background: var(--canvas); }
.ax-dockc-in { width: 100%; }
@media (min-width: 1360px) {
  .ax-chat { grid-template-columns: minmax(0, 1fr) 392px; gap: 24px; }
  .ax-col { margin: 0 0 0 auto; }
}
@media (max-width: 899px) {
  .ax-col { min-height: calc(100dvh - 56px); }
  .ax-th { display: none; }
  .thread.ax-thread { padding: 16px 0 24px; gap: 24px; }
  .ax-dockc { margin: 0 -16px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}

/* results inside the thread: takes as big media tiles */
.ax-res { padding: 8px; }
.ax-res-h { display: flex; align-items: center; gap: 12px; padding: 6px 6px 12px; }
.ax-res-h .grow { flex: 1; min-width: 0; }
.ax-res-h .card-title { font-size: var(--fs-15); }
.ax-res-h .spec { margin-top: 2px; }
.ax-takes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ax-takes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-tk { margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ax-tk-m { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.ax-tk-m > .vm { position: absolute; inset: 0; }
.ax-tk-n { position: absolute; z-index: 2; top: 8px; left: 8px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.ax-tk .mtl-chip { z-index: 2; }
.ax-keep { position: absolute; z-index: 2; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--stage); color: var(--text-1); display: grid; place-items: center; transition: background-color var(--t-fast) var(--ease); }
.ax-keep:hover { background: var(--surface-2); }
.ax-keep[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.ax-tk figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 0 2px 2px; min-width: 0; }
.ax-tk-l { font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-tk figcaption .spec { font-size: var(--fs-13); }
.ax-tk:not(.is-big) figcaption .ax-tk-l { margin-right: auto; }
.ax-ghost { position: absolute; inset: 0; opacity: 0.22; }
.ax-ghost > img { width: 100%; height: 100%; object-fit: cover; }
.ax-tk.is-fail .ax-tk-m { background: var(--surface-1); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.ax-tk.is-fail .skel::before { display: none; }
.gen-cap.failed .i { color: var(--bad); }
.ax-tk.is-fail .gen-cap .t { color: var(--text-1); }
.ax-again { margin-left: auto; }
.ax-big .ax-tk { max-width: 664px; }
.ax-big .ax-tk figcaption { display: none; }
.ax-big .ax-keep { width: 40px; height: 40px; border-radius: var(--r-md); }
@media (max-width: 899px) {
  .ax-takes.three { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -8px; padding: 0 8px; }
  .ax-takes.three::-webkit-scrollbar { display: none; }
  .ax-takes.three > * { scroll-snap-align: start; }
  .ax-tk-l { font-size: var(--fs-15); }
  .ax-keep { width: 44px; height: 44px; top: 4px; right: 4px; }
  .ax-again { margin-left: 0; }
}

/* the plan card: the Go carries the price, in the display face like the genre's GENERATE */
.card.plan.ax-plan { padding: 16px; outline-color: var(--line-strong); }
.ax-plan-h { display: flex; align-items: flex-start; gap: 12px; padding: 2px 2px 14px; }
.ax-plan-h .grow { flex: 1; min-width: 0; }
.ax-plan-eb { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--fs-12); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.ax-plan-sg { color: var(--text-3); }
.ax-plan-t { margin-top: 6px; font: var(--fw-heavy) 32px/1 var(--font-title); text-transform: uppercase; letter-spacing: 0; color: var(--text-1); text-wrap: balance; }
.ax-plan .steps .step:first-child { border-top: 0; }
.ax-plan .totals { margin-top: 10px; }
.ax-plan .plan-acts { align-items: stretch; padding: 16px 0 0; gap: 8px; }
.ax-plan .plan-acts .btn { height: 64px; }
.gobtn.ax-go { height: 64px; min-width: 200px; padding: 0 26px; }
.gobtn.ax-go .gobtn-c { font-size: var(--fs-14); }
.gobtn.ax-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; outline: 2px solid var(--accent); opacity: 0; pointer-events: none; animation: ax-go-ring 1.6s var(--ease) 900ms 1 both; }
@keyframes ax-go-ring { 0% { opacity: 1; outline-offset: 0; } 100% { opacity: 0; outline-offset: 12px; } }
.ax-done .du { font-size: var(--fs-13); color: var(--text-2); }
.ax-done .dn { display: block; font-size: var(--fs-13); color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .gobtn.ax-go::after { animation: none; } }
.motion-off .gobtn.ax-go::after { animation: none; }
@media (max-width: 899px) {
  .ax-plan-t { font-size: 28px; }
  .ax-plan-st { display: none; }
  .ax-plan .plan-acts { flex-wrap: wrap; }
  .ax-plan .plan-acts .gobtn { flex: 1 0 100%; display: flex; justify-content: space-between; height: 60px; }
  .ax-plan .plan-acts .btn { flex: 1; height: 52px; }
}

/* the film panel beside the thread (wide screens) */
.ax-panel { display: none; min-width: 0; }
@media (min-width: 1360px) { .ax-panel { display: block; } }
.ax-panel-in { position: sticky; top: 68px; display: grid; gap: 14px; margin-top: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-ph { display: flex; align-items: center; gap: 12px; }
.ax-ph .grow { flex: 1; min-width: 0; }
.ax-pl { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--stage); max-width: 360px; }
.ax-pl > .vm { position: absolute; inset: 0; }
.ax-pl-b { position: absolute; z-index: 2; left: 8px; top: 8px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); }
.ax-pt { display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-pn { text-align: center; }
.ax-tl { display: grid; gap: 6px; }
.ax-lane { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 8px; }
.ax-lane .lab { display: flex; align-items: center; gap: 6px; font-size: var(--fs-12); color: var(--text-3); }
.ax-lane .ln { position: relative; height: 32px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.ax-lane .ln.film { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: transparent; }
.ax-seg { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: var(--surface-2); color: var(--text-3); }
.ax-seg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-seg.fail { background: var(--bad-wash); color: var(--bad); }
.ax-seg.q::before { animation-delay: 0.6s; }
.ax-lane .ln > .wf { position: absolute; left: 6px; top: 4px; width: calc(100% - 12px); height: 24px; }
.ax-lane .ln.cap .w { position: absolute; top: 6px; bottom: 6px; display: flex; align-items: center; padding: 0 6px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); font-size: var(--fs-11); white-space: nowrap; overflow: hidden; }
.ax-lane .ln.none { display: flex; align-items: center; padding: 0 10px; font-size: var(--fs-12); color: var(--text-3); }
.ax-lane .head { position: absolute; z-index: 2; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.ax-ticks { display: flex; justify-content: space-between; padding-left: 86px; font-size: var(--fs-11); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ================================================================ 04 to 06 Studio: tabs, the batch, the grid, the docked composer */
.ax-st { width: 100%; max-width: 1304px; margin: 0 auto; padding-bottom: 24px; }
body.ax.ax-studio .ax-body { padding-bottom: 0; }
.ax-sth { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 16px; }
.ax-sth-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ax-tabs { display: flex; align-items: baseline; gap: 22px; }
.ax-tab { font: var(--fw-heavy) 44px/1 var(--font-title); text-transform: uppercase; letter-spacing: 0; color: var(--text-3); transition: color var(--t-hover) var(--ease-std); text-decoration: none; }
.ax-tab:hover { color: var(--text-1); }
.ax-tab[aria-current="page"] { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.ax-flts { display: flex; gap: 6px; }
.ax-flt { height: 34px; padding: 0 14px; border-radius: var(--r-pill); outline: 1px solid var(--line-strong); outline-offset: -1px; color: var(--text-2); font-size: var(--fs-13); font-weight: var(--fw-semi); white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.ax-flt:hover { background: var(--surface-2); color: var(--text-1); }
.ax-flt[aria-pressed="true"] { background: var(--text-1); color: var(--ink); outline-color: transparent; }
.ax-tray { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 10px 10px 10px 16px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-tray-t { display: grid; gap: 1px; min-width: 0; }
.ax-tray-t b { font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-tray-t span { font-size: var(--fs-13); color: var(--text-3); }
.ax-tray .grow { flex: 1; }
.ax-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.ax-g { margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.ax-g-m { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.ax-g-m > .vm { position: absolute; inset: 0; }
.ax-g-d { position: absolute; z-index: 2; left: 8px; top: 8px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); font-variant-numeric: tabular-nums; }
.ax-g .mtl-chip { z-index: 2; left: 8px; bottom: 8px; transition: opacity var(--t-fast) var(--ease); }
.ax-ga { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: flex-end; gap: 4px; opacity: 0; transform: translateY(4px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.ax-g-m:hover .ax-ga, .ax-g-m:focus-within .ax-ga { opacity: 1; transform: none; }
.ax-g-m:hover .mtl-chip, .ax-g-m:focus-within .mtl-chip { opacity: 0; }
.ax-gab { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border-radius: var(--r-sm); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); white-space: nowrap; transition: background-color var(--t-fast) var(--ease); }
.ax-gab.sq { width: 30px; padding: 0; justify-content: center; }
.ax-gab:hover { background: var(--surface-2); }
.ax-gab .cr { color: var(--text-2); }
.ax-g figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 0 2px; }
.ax-g-l { font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-g-c { font-size: var(--fs-13); color: var(--text-2); }
.ax-g figcaption .spec { grid-column: 1 / -1; font-size: var(--fs-13); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-g figcaption .ax-again { grid-column: 1 / -1; justify-self: start; margin: 4px 0 0; }
.ax-g.is-fail .ax-g-m { background: var(--surface-1); outline: 1px solid var(--line-strong); outline-offset: -1px; }
.ax-g.is-fail .skel::before { display: none; }
.ax-dock { position: sticky; bottom: 0; z-index: 25; margin: 0 -24px; padding: 12px 24px 14px; background: var(--canvas); border-top: 1px solid var(--line); }
.ax-dock-in { max-width: var(--composer-w); margin: 0 auto; }
.ax-dock .gcp-f { background: var(--surface-1); }
@media (max-width: 1199px) { .ax-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ax-tab { font-size: 36px; } }
@media (max-width: 899px) {
  .ax-sth { padding: 14px 0 12px; gap: 12px; }
  .ax-tabs { gap: 18px; }
  .ax-tab { font-size: 32px; text-underline-offset: 6px; text-decoration-thickness: 3px; }
  .ax-sth-r { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ax-sth-r .btn { display: none; }
  .ax-flt { height: 40px; font-size: var(--fs-14); }
  .ax-tray { align-items: flex-start; }
  .ax-tray .btn { flex: none; }
  .ax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .ax-ga { display: none; }
  .ax-g-l { font-size: var(--fs-14); }
  .ax-dock { margin: 0 -16px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .ax-dock .gcp-tiles, .ax-dock .gcp-note { display: none; }
  .ax-dock .gcp textarea { min-height: 0; height: 52px; }
}

/* 05 image */
.ax-ss { padding: 4px 0 24px; }
.ax-ssh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 6px 0 14px; font: var(--fw-heavy) 26px/1 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.ax-ssh .spec { font: var(--fw-regular) var(--fs-13)/1.4 var(--font-sans); text-transform: none; letter-spacing: 0; }
.ax-imgnow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ax-gen2 { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-md); }
@media (max-width: 1199px) { .ax-imgnow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ax-imgnow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax-ssh { font-size: 24px; } }

/* 06 voice */
.ax-vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ax-vc { display: grid; gap: 12px; align-content: start; padding: 14px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; text-align: left; transition: background-color var(--t-fast) var(--ease); }
.ax-vc:hover { background: var(--surface-2); }
.ax-vc[aria-pressed="true"] { background: var(--accent-wash); outline: 2px solid var(--accent-line); outline-offset: -2px; }
.ax-vc .vtop { display: flex; align-items: center; gap: 12px; }
.ax-vc .vtop .grow { flex: 1; min-width: 0; }
.ax-vc .vtop > .i { color: var(--accent-text); }
.ax-vc .nm { display: block; font-size: var(--fs-15); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-vc .ds { display: block; font-size: var(--fs-13); line-height: 1.35; color: var(--text-3); }
.ax-vc .vplay { display: flex; align-items: center; gap: 10px; }
.ax-vc .vplay .wf { flex: 1; min-width: 0; height: 32px; }
.ax-vc .play.sm, .ax-ar .play.sm { width: 32px; height: 32px; }
.ax-vf { font-size: var(--fs-12); color: var(--text-3); }
.ax-vc.mine { outline-style: dashed; }
.ax-vc.mine .btn { justify-self: start; }
.ax-arl { display: grid; gap: 6px; }
.ax-ar { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-ar .grow { flex: 1; min-width: 0; }
.ax-ar .t { display: block; font-size: var(--fs-15); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-ar .wf { width: 240px; height: 28px; flex: none; }
.ax-ar .tc { color: var(--text-2); }
.ax-ar-c { font-size: var(--fs-13); color: var(--text-2); }
.ax-talk { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-talk-m { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.ax-talk-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-talk-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-1); font-size: var(--fs-12); font-weight: var(--fw-semi); }
.ax-q { margin: 10px 0 18px; max-width: 620px; font: var(--fw-heavy) 34px/1.02 var(--font-title); text-transform: uppercase; color: var(--text-1); text-wrap: balance; }
.ax-talk-a { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
@media (max-width: 1199px) { .ax-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .ax-vgrid { grid-template-columns: 1fr; }
  .ax-ar { flex-wrap: wrap; }
  .ax-ar .wf { order: 5; width: 100%; }
  .ax-talk { grid-template-columns: 1fr; gap: 16px; padding: 12px; }
  .ax-q { font-size: 28px; }
  .ax-talk-a .gobtn { flex: 1 0 100%; display: flex; justify-content: space-between; }
}

/* ================================================================ 07 compare: one still, five models */
.ax-cmpw { width: 100%; max-width: 1304px; margin: 0 auto; }
.ax-still { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-still img { width: 96px; height: 54px; border-radius: var(--r-sm); object-fit: cover; }
.ax-still b { display: block; font-size: var(--fs-14); font-weight: var(--fw-semi); }
.ax-cstrip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ax-cs { display: grid; gap: 3px; align-content: start; padding: 6px 6px 12px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; transition: background-color var(--t-fast) var(--ease), outline-color var(--t-fast) var(--ease); }
.ax-cs:hover { background: var(--surface-2); outline-color: var(--line-hover); }
.ax-cs.is-sel { background: var(--accent-wash); outline: 2px solid var(--accent-line); outline-offset: -2px; }
.ax-cs-m { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 8px; border-radius: var(--r-sm); overflow: hidden; background: var(--stage); }
.ax-cs-m > .vm { position: absolute; inset: 0; }
.ax-cs-t { padding: 0 6px; font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-cs .spec { padding: 0 6px; }
.ax-cs-c { padding: 2px 6px 0; font-size: var(--fs-13); color: var(--text-2); }
.ax-cmain { display: grid; grid-template-columns: minmax(0, 620px) minmax(300px, 1fr); gap: 28px; align-items: start; margin-top: 24px; }
.ax-cbig-m { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); }
.ax-cbig-m > .vm { position: absolute; inset: 0; }
.ax-cside { display: grid; gap: 14px; align-content: start; max-width: 520px; }
.ax-cside .ax-plan-t { font-size: 40px; margin: 0; }
.ax-cmp-go { display: grid; gap: 8px; justify-items: start; padding: 4px 0 6px; }
.ax-cmp-l .row-i { min-height: 60px; }
.ax-recipe { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-recipe .row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; font-size: var(--fs-13); }
.ax-recipe .k { color: var(--text-3); }
.ax-recipe .v { color: var(--text-1); }
.ax-recipe .v img { width: 64px; height: 36px; border-radius: 6px; object-fit: cover; }
@media (max-width: 1199px) { .ax-cmain { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .ax-cstrip { grid-template-columns: repeat(5, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .ax-cstrip::-webkit-scrollbar { display: none; }
  .ax-cs { scroll-snap-align: start; }
  .ax-cbig { display: none; }
  .ax-cmain { margin-top: 16px; }
  .ax-cside .ax-plan-t { font-size: 32px; }
  .ax-cmp-go .gobtn { width: 100%; display: flex; justify-content: space-between; }
}

/* take states on a tile: the word on one flat Ink plate */
.ax-g .gen-cap, .ax-tk .gen-cap { grid-auto-flow: row; gap: 2px; padding: 8px 12px; }
.ax-g .gen-cap .t, .ax-tk .gen-cap .t { display: inline-flex; align-items: center; gap: 6px; }
.ax-g .gen-cap.failed .spec, .ax-tk .gen-cap.failed .spec { color: var(--text-on-media-2); }
.ax-g .gen-cap.failed .i, .ax-tk .gen-cap.failed .i { color: var(--bad); }
.ax-dock .gcp textarea { min-height: 0; height: 52px; }
@media (max-width: 899px) { .ax-tray-m { display: none; } }

/* ================================================================ 15 explore: tabs, filters without script, walls, rooms, montage, voices, presets */
.ax-ex { width: 100%; max-width: 1304px; margin: 0 auto; }
.ax-ex .ax-head { padding-bottom: 24px; }
.ax-xbar { position: sticky; top: 52px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 10px 0; background: var(--canvas); border-bottom: 1px solid var(--line); }
.ax-xtabs { display: flex; gap: 2px; }
.ax-xt { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: var(--r-sm); font: var(--fw-heavy) 20px/1 var(--font-title); text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-2); transition: background-color var(--t-hover) var(--ease-std), color var(--t-hover) var(--ease-std); }
.ax-xt:hover { background: var(--surface-2); color: var(--text-1); }
.ax-xfs { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-xf { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); outline: 1px solid var(--line-strong); outline-offset: -1px; color: var(--text-2); font-size: var(--fs-13); font-weight: var(--fw-semi); white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.ax-xf:hover { background: var(--surface-2); color: var(--text-1); }
.ax-xfs input:checked + .ax-xf { background: var(--text-1); color: var(--ink); outline-color: transparent; }
.ax-xfs input:focus-visible + .ax-xf { box-shadow: var(--focus); }
.ax-xs { scroll-margin-top: 128px; }
.ax-ex:has(#xf-land:checked) [data-f]:not([data-f~="land"]),
.ax-ex:has(#xf-product:checked) [data-f]:not([data-f~="product"]),
.ax-ex:has(#xf-people:checked) [data-f]:not([data-f~="people"]),
.ax-ex:has(#xf-rooms:checked) [data-f]:not([data-f~="rooms"]),
.ax-ex:has(#xf-food:checked) [data-f]:not([data-f~="food"]) { display: none; }
.ax-ex:has(#xf-land:checked) [data-sec], .ax-ex:has(#xf-people:checked) [data-sec], .ax-ex:has(#xf-food:checked) [data-sec],
.ax-ex:has(#xf-product:checked) [data-sec]:not([data-sec~="product"]), .ax-ex:has(#xf-rooms:checked) [data-sec]:not([data-sec~="rooms"]) { display: none; }
.ax-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.ax-rc { margin: 0; display: grid; gap: 8px; align-content: start; }
.ax-rc-m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.ax-rc-m > .vm, .ax-rc-m > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-rc .mtl-chip { z-index: 2; }
.ax-rc-t { display: block; font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-rc figcaption, .ax-rc.cta > .ax-rc-t, .ax-rc.cta > .spec { padding: 0 2px; }
.ax-rc.is-still .ax-rc-m { outline: 2px solid var(--line-on-media-strong); outline-offset: -2px; }
.ax-rc.cta .ax-rc-m { display: grid; place-items: center; align-content: center; gap: 10px; background: var(--accent-wash); color: var(--accent-text); outline: 1px solid var(--accent-line); outline-offset: -1px; font-size: var(--fs-15); font-weight: var(--fw-semi); text-align: center; transition: background-color var(--t-hover) var(--ease-std); }
.ax-rc.cta:hover .ax-rc-m { background: rgba(250, 94, 32, 0.2); }
.ax-still.sm { padding: 6px 14px 6px 6px; }
.ax-still.sm img { width: 48px; height: 48px; }
#ax-mont .car-it { width: 240px; }
.ax-ex .ax-vgrid .ax-vc { min-height: 0; }
.ax-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 16px; }
.ax-pgrid .ax-pc { width: auto; }
@media (max-width: 1199px) { .ax-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .ax-xbar { top: 56px; margin: 0 -16px; padding: 8px 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ax-xbar::-webkit-scrollbar { display: none; }
  .ax-xtabs, .ax-xfs { flex-wrap: nowrap; }
  .ax-xt { height: 44px; padding: 0 10px; font-size: 18px; }
  .ax-xf { height: 44px; font-size: var(--fs-14); }
  .ax-xs { scroll-margin-top: 132px; }
  .ax-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  #ax-mont .car-it { width: 58vw; }
  .ax-ex .ax-vgrid { grid-template-columns: 1fr 1fr; }
  .ax-ex .ax-vc .vplay .wf { display: none; }
  .ax-pgrid { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .ax-pgrid .ax-pc { width: auto; }
  .ax-pgrid .ax-pc-d { display: none; }
}

/* ================================================================ 13 pricing: dark plan cards, the pick in tangerine, Monthly and Yearly */
.pr { display: block; padding-bottom: 8px; }
.pr:focus { box-shadow: none; }
.pr-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 28px; }
.pr-sub { margin-top: 14px; max-width: 640px; font-size: var(--fs-17); line-height: 1.5; color: var(--text-2); }
.pr-period { flex: none; }
.pr-period button { height: 40px; padding: 0 20px; font-size: var(--fs-14); font-weight: var(--fw-semi); }
.pr .y { display: none; }
html[data-period="yearly"] .pr .y { display: inline; }
html[data-period="yearly"] .pr .m { display: none; }
.pr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pr-card { position: relative; display: grid; gap: 18px; align-content: start; min-height: 316px; padding: 24px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-col.pick .pr-card { background: var(--accent); outline: 0; --focus: 0 0 0 2px var(--accent), 0 0 0 4px var(--ink); }
.pr-nr { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pr-name { font: var(--fw-heavy) 44px/0.92 var(--font-title); text-transform: uppercase; letter-spacing: 0; color: var(--text-1); font-synthesis: none; }
.pr-pick { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: var(--fs-12); font-weight: var(--fw-bold); white-space: nowrap; }
.pr-for { margin-top: 8px; font-size: var(--fs-14); line-height: 1.4; color: var(--text-3); }
.pr-price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.pr-amt { font: var(--fw-heavy) 64px/0.86 var(--font-title); letter-spacing: -0.01em; color: var(--text-1); font-synthesis: none; }
.pr-per { font-size: var(--fs-15); color: var(--text-2); }
.pr-bill { min-height: 40px; font-size: var(--fs-13); line-height: 1.5; color: var(--text-3); }
.pr-col.pick .pr-name, .pr-col.pick .pr-for, .pr-col.pick .pr-amt, .pr-col.pick .pr-per, .pr-col.pick .pr-bill { color: var(--ink); }
.pr-list { padding: 18px 8px 0; }
.pr-cr { display: flex; align-items: center; gap: 8px; font-size: var(--fs-15); color: var(--text-1); }
.pr-cr .cr { font-size: var(--fs-17); font-weight: var(--fw-bold); }
.pr-cr b { font-weight: var(--fw-semi); }
.pr-cr > .i { color: var(--accent-text); }
.pr-list ul { display: grid; gap: 9px; margin: 12px 0 0 6px; padding-left: 16px; border-left: 1px solid var(--line-strong); }
.pr-list li { font-size: var(--fs-14); line-height: 1.4; color: var(--text-2); }
.pr-list ul.pr-makes li { color: var(--text-1); }
.pr-list ul + ul { margin-top: 14px; }
.pr-sec { padding-top: 72px; }
.pr-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pr-pack { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-pk-cr .cr { font: var(--fw-heavy) 36px/1 var(--font-title); gap: 6px; }
.pr-pk-p { font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--text-1); }
.pr-pk-u { min-height: 40px; font-size: var(--fs-13); line-height: 1.5; color: var(--text-3); }
.pr-pack .btn { margin-top: 8px; }
.pr-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr-job { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 18px 12px 12px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-ji { width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: var(--surface-3); color: var(--text-1); display: grid; place-items: center; }
.pr-jt { min-width: 0; }
.pr-jt .t { display: block; font-size: var(--fs-15); font-weight: var(--fw-semi); color: var(--text-1); }
.pr-jt .d { display: block; font-size: var(--fs-13); color: var(--text-3); }
.pr-jc { margin-left: auto; font-size: var(--fs-17); font-weight: var(--fw-semi); white-space: nowrap; }
.pr-proms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pr-prom { padding: 20px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-pi { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--accent-wash); color: var(--accent-text); display: grid; place-items: center; }
.pr-pt { margin-top: 16px; font: var(--fw-heavy) 24px/1.02 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.pr-pd { margin-top: 8px; font-size: var(--fs-14); line-height: 1.45; color: var(--text-3); }
.pr-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.pr-faq { border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; font-size: 16px; font-weight: var(--fw-semi); color: var(--text-1); cursor: pointer; list-style: none; border-radius: var(--r-md); }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary .i { color: var(--text-3); transition: transform var(--t-fast) var(--ease); }
.pr-faq[open] summary .i { transform: rotate(180deg); }
.pr-faq p { padding: 0 18px 18px; font-size: var(--fs-15); line-height: 1.55; color: var(--text-2); }
.pr-bm { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.pr-bm .mtl:last-child { margin-top: 40px; }
@media (max-width: 1199px) {
  .pr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .pr-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-proms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .pr-top { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 28px; padding-bottom: 20px; }
  .pr-sub { font-size: var(--fs-17); }
  .pr-period { display: flex; }
  .pr-period button { flex: 1; height: 44px; }
  .pr-cols { grid-template-columns: 1fr; gap: 28px; }
  .pr-col.pick { order: -1; }
  .pr-card { min-height: 0; padding: 20px; gap: 14px; }
  .pr-name { font-size: 40px; }
  .pr-amt { font-size: 56px; }
  .pr-list li { font-size: var(--fs-15); }
  .pr-sec { padding-top: 48px; }
  .pr-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-pk-cr .cr { font-size: 30px; }
  .pr-jobs, .pr-proms, .pr-faqs { grid-template-columns: 1fr; }
  .pr-job { align-items: flex-start; }
  .pr-jt .d, .pr-pd { font-size: var(--fs-15); }
  .pr-bm { display: grid; grid-template-columns: 1fr 1fr; }
  .pr-bm .mtl:last-child { margin-top: 24px; }
}

/* ================================================================ 08 Listing Reel */
.ax-rsteps { margin: 2px 6px 12px; }
.ax-rps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
.ax-rp { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ax-rp-m { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.ax-rp-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-rp-g { position: absolute; z-index: 2; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--stage); color: var(--text-1); display: grid; place-items: center; }
.ax-rp-t { padding: 0 2px; font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-rp-mv { justify-self: start; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--text-2); font-size: var(--fs-12); font-weight: var(--fw-semi); }
.ax-rp-mv:hover { color: var(--text-1); background: var(--surface-3-hover); }
.ax-sharp, .ax-vo { padding: 16px 6px 8px; }
.ax-sharp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: var(--fs-14); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-sharp-c { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-rc9s { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.ax-rc9 { display: grid; gap: 4px; min-width: 0; }
.ax-rc9-m { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.ax-rc9-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-rc9 .ax-tk-n { top: 6px; left: 6px; min-width: 22px; height: 22px; font-size: var(--fs-11); }
.ax-rc9 .ax-rp-t { font-size: var(--fs-12); font-weight: var(--fw-medium); color: var(--text-2); }
.ax-ck { position: absolute; z-index: 2; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--stage); color: var(--ok); font-size: var(--fs-11); font-weight: var(--fw-bold); }
.ax-ck.warn { background: var(--warn); color: var(--ink); }
.ax-rc9.is-flag .ax-rc9-m { outline: 2px solid var(--warn); outline-offset: -2px; }
.ax-flag { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px; border-radius: var(--r-md); background: var(--warn-wash); }
.ax-flag .grow { flex: 1; min-width: 0; }
.ax-flag b { display: block; font-size: var(--fs-15); }
.ax-flag .d { display: block; font-size: var(--fs-13); color: var(--text-2); }
.ax-vo-t { margin-bottom: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); font-size: var(--fs-15); line-height: 1.55; color: var(--text-1); }
.ax-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 6px 6px; }
.ax-reel { display: grid; justify-items: center; }
.ax-reel-m { position: relative; width: 100%; max-width: 280px; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); }
.ax-reel-m > .vm { position: absolute; inset: 0; }
.ax-reel-tt { position: absolute; z-index: 2; left: 50%; top: 16%; transform: translateX(-50%); padding: 6px 12px 4px; border-radius: var(--r-sm); background: var(--stage); color: var(--text-1); font: var(--fw-heavy) 26px/1 var(--font-title); text-transform: uppercase; white-space: nowrap; }
.ax-reel-cap { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 5px 10px; border-radius: var(--r-sm); background: var(--stage); color: var(--text-1); font-size: var(--fs-13); font-weight: var(--fw-semi); white-space: nowrap; }
.ax-reel-bar { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 16px; height: 4px; border-radius: var(--r-pill); background: var(--track-on-media); }
.ax-reel-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--text-on-media); }
.ax-reel-in { display: none; padding: 16px 8px 12px; text-align: center; }
.ax-reel-in .t-micro { margin-top: 10px; }
@media (max-width: 1359px) { .ax-reel-in { display: grid; } }
@media (max-width: 899px) {
  .ax-rps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-rc9s { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ax-sharp-c, .ax-cards2 { grid-template-columns: 1fr; }
  .ax-rp-mv { height: 36px; font-size: var(--fs-13); }
  .ax-flag { flex-wrap: wrap; }
}

/* ================================================================ 09 library, 10 credits, 12 account */
.ax-lib, .ax-cred, .ax-acct { width: 100%; max-width: 1304px; margin: 0 auto; }
.ax-srch { display: flex; align-items: center; gap: 8px; width: 300px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface-2); outline: 1px solid var(--line); outline-offset: -1px; color: var(--text-3); }
.ax-srch:focus-within { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.ax-srch input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; font-size: var(--fs-14); color: var(--text-1); }
.ax-srch input::placeholder { color: var(--text-3); }
.ax-srch input:focus-visible { box-shadow: none; }
.ax-sec-t { padding-top: 8px; }
.ax-projs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ax-proj { display: grid; gap: 4px; align-content: start; padding: 8px 8px 14px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; transition: background-color var(--t-hover) var(--ease-std); }
.ax-proj:hover { background: var(--surface-2); }
.ax-mos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16 / 9; margin-bottom: 8px; border-radius: var(--r-md); overflow: hidden; }
.ax-mos > span { position: relative; overflow: hidden; background: var(--surface-2); }
.ax-mos > .a { grid-row: span 2; }
.ax-mos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-proj-t { padding: 0 4px; font-size: var(--fs-15); font-weight: var(--fw-semi); color: var(--text-1); }
.ax-proj .spec { padding: 0 4px; }
.ax-cr-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.ax-bal, .ax-planc { padding: 26px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.ax-bal-n .cr { font: var(--fw-heavy) 96px/0.88 var(--font-title); gap: 12px; letter-spacing: -0.01em; }
.ax-bal-s { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
.ax-bal-s > div { display: grid; gap: 4px; align-content: start; }
.ax-bal-s .k { font-size: var(--fs-13); color: var(--text-3); }
.ax-bal-s .v { font-size: var(--fs-17); font-weight: var(--fw-semi); color: var(--text-1); font-variant-numeric: tabular-nums; }
.ax-bal-s .meter { margin: 6px 0 4px; }
.ax-planc { background: var(--accent); outline: 0; color: var(--ink); --focus: 0 0 0 2px var(--accent), 0 0 0 4px var(--ink); }
.ax-planc .ax-eb { color: var(--ink); }
.ax-planc-n { margin-top: 4px; font: var(--fw-heavy) 64px/0.9 var(--font-title); text-transform: uppercase; color: var(--ink); }
.ax-planc-p { margin-top: 10px; font-size: var(--fs-15); color: var(--ink); }
.ax-planc-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ax-planc .btn-ghost { color: var(--ink); outline: 1px solid rgba(11, 11, 12, 0.4); outline-offset: -1px; }
.ax-planc .btn-ghost:hover { background: rgba(11, 11, 12, 0.08); }
.ax-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.ax-pay .t-body { max-width: 560px; font-size: var(--fs-14); color: var(--text-3); }
.ax-makes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ax-make { margin: 0; display: grid; gap: 10px; }
.ax-make-m { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.ax-make-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-make b { display: block; font: var(--fw-heavy) 28px/1 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.ax-stmt .th { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.ax-hk { width: 44px; height: 44px; }
.ax-who { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ax-who > span:nth-child(2) { display: grid; margin-right: 8px; }
.ax-who b { font-size: var(--fs-15); font-weight: var(--fw-semi); }
.ax-acct-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ax-acct-g .col { display: grid; gap: 28px; }
.ax-grp-t { margin: 0 0 12px; font: var(--fw-heavy) 24px/1 var(--font-title); text-transform: uppercase; color: var(--text-1); }
@media (max-width: 1199px) { .ax-projs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax-cr-top { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .ax-srch { width: 100%; height: 44px; }
  .ax-projs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ax-proj-t { font-size: var(--fs-14); }
  .ax-bal { padding: 20px; }
  .ax-bal-n .cr { font-size: 64px; }
  .ax-bal-s { grid-template-columns: 1fr; gap: 16px; }
  .ax-planc-n { font-size: 48px; }
  .ax-makes { grid-template-columns: 1fr; }
  .ax-acct-g { grid-template-columns: 1fr; }
  .ax-who { gap: 8px; }
}

/* ================================================================ 11 sign in: the dialog over the kept chat */
.ax-sg { position: fixed; z-index: var(--z-dialog); left: calc(50% + var(--side-w) / 2); top: 50%; transform: translate(-50%, -50%); width: min(820px, calc(100vw - var(--side-w) - 48px)); max-height: calc(100vh - 32px); display: grid; grid-template-columns: 320px minmax(0, 1fr); border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line-strong); outline-offset: -1px; overflow: hidden; }
.ax-sg-m { position: relative; aspect-ratio: 2 / 3; background: var(--stage); }
.ax-sg-m > .vm { position: absolute; inset: 0; }
.ax-sg-b { display: grid; gap: 14px; align-content: center; padding: 40px 40px 32px; overflow-y: auto; }
.ax-sg-mark .brand-mark { width: 36px; height: 36px; }
.ax-sg-t { font: var(--fw-heavy) 48px/0.94 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.ax-sg-gift { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--accent-wash); font-size: var(--fs-14); line-height: 1.45; color: var(--text-1); }
.ax-sg-gift .i { flex: none; margin-top: 2px; color: var(--accent-text); }
.ax-terms { text-align: center; }
.ax-sg .promo-x { z-index: 3; }
@media (max-width: 899px) {
  .ax-sg { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; max-height: calc(100dvh - 24px); grid-template-columns: 1fr; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow-y: auto; }
  .ax-sg-m { display: none; }
  .ax-sg-b { padding: 24px 16px calc(20px + env(safe-area-inset-bottom)); gap: 12px; }
  .ax-sg-t { font-size: 40px; padding-right: 48px; }
  .ax-sg .promo-x { width: 44px; height: 44px; }
}
.ax-packs.packs-4.wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ax-bal-n .cr .g { width: 0.42em; height: 0.42em; }
@media (max-width: 899px) {
  .ax-packs.packs-4.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-packs.packs-4.wide > .pack:last-child { grid-column: 1 / -1; }
}

/* ================================================================ round 2: walls in explicit stacks, hero snippets, search, fixes */
/* search in the top bar (the site nav's Ctrl K, here too) */
.ax-tsrch { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 7px 0 12px; border-radius: var(--r-md); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; color: var(--text-3); font-size: var(--fs-13); font-weight: var(--fw-medium); transition: background-color var(--t-hover) var(--ease-std), color var(--t-hover) var(--ease-std); }
.ax-tsrch:hover { background: var(--surface-2); color: var(--text-1); }
.ax-tsrch .kbd { margin-left: 6px; }

/* the content cap of the six-column pages: a tile is then never wider than 180 px, which the small renditions
   (short side 360 px) hold at DPR 2 */
.ax-wrap.ax-wrap-6, .ax-lib.ax-w6, .ax-ex.ax-w6 { max-width: 1120px; }

/* a wall in explicit stacks: capped, every stack is taller than the cut, so it ends on one straight edge (the cut
   is --cap column widths: container units keep it right at every width) */
.ax-mw-w { position: relative; container-type: inline-size; }
.ax-mw { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: var(--gap-wall); align-items: start; }
.ax-mw-c { display: grid; gap: var(--gap-wall); align-content: start; min-width: 0; }
.ax-mw-w.is-cap > .ax-mw { max-height: calc((100cqw - (var(--cols) - 1) * var(--gap-wall)) / var(--cols) * var(--cap)); overflow: hidden; }
.ax-mw-w .vall-w.on-wall { margin-top: 20px; }
@media (max-width: 899px) {
  .ax-mw { display: block; columns: 2; column-gap: var(--gap-wall); }
  .ax-mw-c { display: contents; }
  .ax-mw [role="listitem"] { break-inside: avoid; margin-bottom: var(--gap-wall); }
  .ax-mw-w.is-cap > .ax-mw { max-height: none; overflow: visible; }
  .ax-mw .ph-x { display: none; }
  .ax-mw-w .vall-w.on-wall { margin-top: 12px; }
}

/* 02: the live product moments around the fan (they sit over whichever film turns under them) */
.ax-fan { position: relative; }
.ax-fan .snp { z-index: 5; }
.ax-fan .ax-sn-chat { top: 14px; left: 0; max-width: 288px; }
.ax-fan .ax-sn-st { left: calc(50% - 188px); bottom: 18px; }
.ax-fan .ax-sn-plan { right: 0; bottom: 22px; }
@media (max-width: 1199px) { .ax-fan .ax-sn-chat { display: none; } }
@media (max-width: 899px) {
  .ax-fan .ax-sn-st { display: none; }
  .ax-fan .ax-sn-plan { right: auto; left: 50%; bottom: -10px; transform: translateX(-50%); }
  .ax-hero .ax-h1 { margin-top: 30px; }
}

/* the studio composer's chip row on phones scrolls inside the field (its padding is 8, not 12); the Mode chip goes
   (the page already says what it makes), so the settings fit in one row */
@media (max-width: 899px) {
  body.ax .gcp-studio .gcp-chips { margin: 0 -8px; padding: 0 8px; scroll-padding: 0 8px; gap: 5px; }
  body.ax .gcp-studio .gch-w:has(> [data-tip="Mode"]) { display: none; }
}

/* the chat composer on phones: the short auto-go label, no Studio chip (Studio is in the menu) */
.ax-sh { display: none; }
@media (max-width: 899px) {
  .ax-dockc .ax-lg { display: none; }
  .ax-dockc .ax-sh { display: inline; }
  .ax-dockc .gch-w:has(> [data-tip="Open Studio"]) { display: none; }
}

/* 03: the four shots of the plan, from the photos they start from */
.ax-pmw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 2px 14px; }
.ax-pm { margin: 0; display: grid; gap: 6px; min-width: 0; }
.ax-pm-m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.ax-pm-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-pm .ax-tk-n { top: 6px; left: 6px; min-width: 22px; height: 22px; font-size: var(--fs-11); }
.ax-pm figcaption { padding: 0 2px; font-size: var(--fs-12); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 09: the library as a calm grid of squares */
.ax-libg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-wall); }
.ax-libg .wl-t { aspect-ratio: 1 / 1 !important; }
@media (max-width: 1199px) { .ax-libg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ax-libg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; } .ax-libg .wl-t { border-radius: var(--r-sm); } }

/* 15: the filters hide whole tiles in the stacks; a filtered wall drops its cut */
.ax-ex:has(#xf-land:checked) [role="listitem"]:has(> [data-f]:not([data-f~="land"])),
.ax-ex:has(#xf-product:checked) [role="listitem"]:has(> [data-f]:not([data-f~="product"])),
.ax-ex:has(#xf-people:checked) [role="listitem"]:has(> [data-f]:not([data-f~="people"])),
.ax-ex:has(#xf-rooms:checked) [role="listitem"]:has(> [data-f]:not([data-f~="rooms"])),
.ax-ex:has(#xf-food:checked) [role="listitem"]:has(> [data-f]:not([data-f~="food"])) { display: none; }
.ax-ex:has(.ax-xfs input:not(#xf-all):checked) .ax-mw-w.is-cap > .ax-mw { max-height: none; }
.ax-ex:has(.ax-xfs input:not(#xf-all):checked) .ax-mw-w .vall-w.on-wall { margin-top: 24px; }
.ax-rc-cta { grid-column: span 2; }
.ax-rc-cta > .ax-rc { height: 100%; grid-template-rows: minmax(0, 1fr) auto auto; }
.ax-rc-cta .ax-rc-m { aspect-ratio: auto; min-height: 120px; }
@media (max-width: 899px) { .ax-rc-cta { grid-column: 1 / -1; } .ax-rc-cta .ax-rc-m { min-height: 96px; } }

/* 13: plan cards of one height, buttons on one line, the lists starting level (subgrid) */
.pr-cols { grid-template-rows: auto auto; align-items: stretch; }
.pr-col { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.pr-card { display: flex; flex-direction: column; gap: 18px; }
.pr-card > .btn { margin-top: auto; }
/* plain values in plan totals and account rows (".vt" is the video-tile class in components.css) */
.totals .row .v.vtx { font-family: var(--font-sans); color: var(--text-2); }
.row-i .v.vtx { color: var(--text-2); font-size: var(--fs-14); white-space: nowrap; }
/* Pause motion in the app: the top bar (desktop) and the menu (phones); hidden under reduced motion (app.js) */
.ax-top .motion-btn { height: 34px; color: var(--text-2); }
.ax-top .motion-btn:hover { color: var(--text-1); background: var(--surface-1); }
.ax-dmot { padding: 16px 12px 4px; }
.ax-dmot .motion-btn { height: 44px; }
/* 02: the hero stage shares the wall's 1,120 px cap, so their edges line up at every width */
@media (min-width: 900px) { .ax-home .ax-hero { width: 100%; max-width: 1120px; margin-left: auto; margin-right: auto; } }

/* ================================================================ 02 the chat's answer to a sent prompt (fix-1)
   One tap from the home: the person's words (and the still they start from), then Adrias's plan with its price on
   Go. Hidden until a request arrives (html.has-ask, set in <head> so the first paint is already the answer). */
.ax-ask { display: none; }
html.has-ask .ax-ask { display: grid; gap: 16px; width: 100%; max-width: var(--composer-w); margin: 24px auto 0; }
html.has-ask .ax-home .ax-fan, html.has-ask .ax-home .ax-hero > .ax-h1, html.has-ask .ax-home .ax-hero > .ax-lead { display: none; }
html.has-ask .ax-home .ax-hero { margin-top: 16px; padding-top: 20px; }
html.has-ask .ax-home .ax-cmp { margin-top: 0; }
.ax-ask .m-user { display: flex; justify-content: flex-end; }
.ax-ask .m-user .bubble { max-width: 560px; display: grid; gap: 10px; border-radius: var(--r-lg) var(--r-lg) var(--r-xs) var(--r-lg); }
.ax-ask .m-user .bubble p { overflow-wrap: anywhere; }
.ax-ask-att { display: inline-flex; align-items: center; gap: 10px; color: var(--text-3); font-size: var(--fs-13); }
.ax-ask-att[hidden] { display: none; }
.ax-ask-att img { width: 72px; height: 48px; border-radius: var(--r-sm); object-fit: cover; outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.ax-ask-att span { display: inline-flex; align-items: center; gap: 6px; }
.ax-ask .m-ai .body { display: grid; gap: 12px; }
.ax-ask .m-ai .who { font-size: var(--fs-13); font-weight: var(--fw-semi); color: var(--text-3); }
.ax-ask .m-ai .txt p { font-size: var(--fs-15); line-height: 1.5; color: var(--text-1); }
.ax-ask-plan .plan-acts .gobtn { text-decoration: none; }
@media (max-width: 899px) {
  html.has-ask .ax-ask { margin-top: 12px; }
  html.has-ask .ax-home .ax-hero { padding-top: 12px; }
}

/* ================================================================ 13 pricing in US dollars (fix-1) */
.pr-pk-t { display: block; margin-top: 2px; font-size: var(--fs-13); font-weight: var(--fw-medium); color: var(--text-3); }
/* Studio, for businesses: one band under the plans */
.pr-studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 24px 32px; margin-top: 16px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-studio .pr-name { margin-top: 4px; }
.pr-studio .pr-for { margin-top: 4px; }
.pr-st-b { display: grid; gap: 10px; }
.pr-st-b .pr-amt { font-size: 48px; }
.pr-st-u { margin-left: 4px; font-size: var(--fs-13); color: var(--text-3); }
.pr-st-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.pr-st-g li { position: relative; padding-left: 14px; font-size: var(--fs-14); line-height: 1.4; color: var(--text-2); }
.pr-st-g li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--accent-text); }
@media (max-width: 1199px) { .pr-studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pr-studio .btn { justify-self: start; } }
@media (max-width: 899px) { .pr-studio { grid-template-columns: minmax(0, 1fr); padding: 20px; } .pr-st-g { grid-template-columns: minmax(0, 1fr); } }
/* what a month makes: the real work behind each line, with how many each plan makes */
.pr-mks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr-mk { margin: 0; display: grid; gap: 14px; align-content: start; padding: 12px 12px 18px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; }
.pr-mk .mtl { width: min(100%, 440px); }
.pr-mk figcaption { display: grid; gap: 4px; padding: 0 6px; }
.pr-mk-t { font: var(--fw-heavy) var(--d-s) / 1.05 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.pr-mk-d { font-size: var(--fs-14); color: var(--text-3); }
.pr-mk-c { margin-top: 4px; font-size: var(--fs-15); color: var(--text-1); }
.pr-mk-n { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.pr-mk-n li { display: inline-flex; align-items: baseline; gap: 6px; height: 30px; padding: 0 12px; align-items: center; border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-13); color: var(--text-2); }
.pr-mk-n b { font-weight: var(--fw-bold); color: var(--text-1); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .pr-mks { grid-template-columns: minmax(0, 1fr); } }
.pr-bm .mtl:only-child { margin-top: 0; }
@media (max-width: 899px) { .pr-bm:has(.mtl:only-child) { grid-template-columns: minmax(0, 1fr); } }
/* 11 sign-in: the free video's own model, a vertical Everyday take framed beside the form (216 x 384: the 432 x 768
   take at 2x) */
.ax-sg { grid-template-columns: 248px minmax(0, 1fr); }
.ax-sg-m { width: 216px; aspect-ratio: 9 / 16; align-self: center; margin-left: 24px; border-radius: var(--r-md); overflow: hidden; outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.ax-sg-m .promo-tag { left: 8px; bottom: 8px; max-width: calc(100% - 16px); height: 24px; padding: 0 8px; font-size: var(--fs-11); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 10 credits and 12 account: what the credits made (six square tiles, each with the credits it used) */
.ax-useds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ax-used { margin: 0; display: grid; gap: 8px; }
.ax-used-m .wl-t { aspect-ratio: 1 / 1 !important; border-radius: var(--r-md); overflow: hidden; }
.ax-used figcaption { display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--text-3); }
.ax-acct-projs { margin-bottom: 16px; }
.ax-acct-used { margin-bottom: 40px; }
@media (max-width: 1199px) { .ax-useds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ax-useds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax-useds > :nth-child(n + 5) { display: none; } }

/* ================================================================ 14 states as a full-width board (fix-1) */
.ax-stw { width: 100%; max-width: 1320px; margin: 0 auto; padding-bottom: 64px; }
.ax-stg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ax-stc { display: grid; gap: 16px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: var(--surface-1); outline: 1px solid var(--line); outline-offset: -1px; min-width: 0; }
.ax-stc-h { display: grid; gap: 4px; }
.ax-stc-t { font: var(--fw-heavy) var(--d-m) / 1 var(--font-title); text-transform: uppercase; color: var(--text-1); }
.ax-stc-d { font-size: var(--fs-14); color: var(--text-3); }
.ax-stc-b { display: grid; gap: 12px; min-width: 0; }
.ax-stc-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; }
.ax-stc-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; outline: 1px solid var(--line-on-media); outline-offset: -1px; }
.ax-stc-photo > .st { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-stc-photo .mtl-chip { gap: 5px; }
.ax-stc-sk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-stc-sk .skel { border-radius: var(--r-sm); min-height: 40px; }
.ax-stc-takes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ax-stc-takes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-stc-takes .ax-tk { min-width: 0; }
.ax-stc-note { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-13); color: var(--text-3); }
.ax-stc-note .i { flex: none; margin-top: 1px; }
.ax-stc-ref { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; }
.ax-stc-ref > .st { width: 120px; height: 160px; object-fit: cover; border-radius: var(--r-md); filter: none; opacity: 0.55; }
.ax-stc-empty { position: relative; }
.ax-stc-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-bottom: 8px; }
.ax-stc-dash span { aspect-ratio: 4 / 3; border-radius: var(--r-sm); outline: 1px dashed var(--line-strong); outline-offset: -1px; }
.ax-stc .card { margin: 0; }
@media (max-width: 1199px) { .ax-stg { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) {
  .ax-stc { padding: 16px; }
  .ax-stc-takes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-stc-takes > :nth-child(3) { display: none; }
  .ax-stc-ref { grid-template-columns: 72px minmax(0, 1fr); }
  .ax-stc-ref > .st { width: 72px; height: 96px; }
}
/* the answer is on screen with its own Go: no floating Create over it */
html.has-ask .fab { display: none; }
/* fix-1: 16 px side gutters on phones: the app bar and the docked composers */
@media (max-width: 899px) {
  .ax-pbar { padding: 0 16px 0 6px; }
  .ax-dockc { padding-left: 16px; padding-right: 16px; }
}
/* 06 voice: each voice with its invented portrait (fix-1) */
.orb { overflow: hidden; }
.orb > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ax-vgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ax-vc.has-pic { padding: 8px 8px 14px; }
.ax-vc-pic { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.ax-vc-pic > .vpic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ax-vc:hover .ax-vc-pic > .vpic { transform: scale(1.04); }
.ax-vc-tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--stage); color: var(--text-2); font-size: var(--fs-11); font-weight: var(--fw-semi); }
.ax-vc-ck { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; padding: 6px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); }
.ax-vc.has-pic .vtop, .ax-vc.has-pic .vplay, .ax-vc.has-pic .ax-vf { margin: 0 6px; }
.ax-talk { grid-template-columns: auto minmax(0, 1fr); }
.ax-talk-pair { display: grid; grid-template-columns: 220px 220px; gap: 8px; }
.ax-talk-m.is-clip > .vm { position: absolute; inset: 0; }
@media (max-width: 1199px) { .ax-vgrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (max-width: 899px) {
  .ax-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-talk { grid-template-columns: minmax(0, 1fr); }
  .ax-talk-pair { grid-template-columns: 1fr 1fr; }
}
/* fix-1 (1024 px): the fan's outer films never widen the page; the compare player and the preset grid never draw
   media wider than their largest box (620 px player; 280 px preset cards) */
.ax-home .ax-hero { overflow-x: clip; }
@media (max-width: 1199px) and (min-width: 900px) { .ax-cbig { max-width: 620px; } }
.ax-pgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 280px)); justify-content: start; }
@media (max-width: 899px) { .ax-pgrid { grid-template-columns: 1fr 1fr; } }
/* the credits-made strips: tiles never wider than 216 px (the 432 px vertical take holds that at 2x); four across on small desktops */
.ax-useds { grid-template-columns: repeat(6, minmax(0, 216px)); }
@media (max-width: 1199px) and (min-width: 900px) { .ax-useds { grid-template-columns: repeat(4, minmax(0, 216px)); } .ax-useds > :nth-child(n + 5) { display: none; } }
@media (max-width: 899px) { .ax-useds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the states board: media grids capped so every tile stays inside its largest box */
.ax-stc-media { max-width: 640px; }
.ax-stc-takes { max-width: 900px; }
.ax-stc-takes.two { max-width: 688px; }
@media (max-width: 899px) { body.ax .gcp-studio .gcp-chips { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; } }
.pr-packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) and (min-width: 900px) { .pr-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .pr-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ax-stc .ax-queued { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: var(--fs-14); color: var(--text-3); }
/* fix-1 (small desktops): the app top bar never crowds: Pause motion keeps its icon (its name stays as the label for
   screen readers via the button's own text), and page actions step aside below 1100 px */
@media (max-width: 1199px) and (min-width: 900px) {
  .ax-top { gap: 10px; }
  .ax-top .motion-btn [data-motion-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ax-top .motion-btn { width: 34px; padding: 0; justify-content: center; }
}
@media (max-width: 1099px) and (min-width: 900px) { .ax-tend > a.btn, .ax-tend > .btn-ghost { display: none; } }
