/* ═══════════════════════════════════════════════════════════════════════════
   MREXX WORK — app-modern.css   ·   V2 "Studio" + icon motion
   Additive polish layer for the LOGGED-IN app shell (#app-container).
   Loaded after the inline <style> block, so plain overrides win on
   equal specificity — no !important needed except where the inline CSS
   already used it (.tool-card, .file-drop.dragover).

   Rules of the house
   ──────────────────
   1. Animate transform / opacity / translate only. Never box-shadow,
      width, height, top/left — those relayout or re-raster every frame.
   2. Idle motion goes on the `translate` property so `transform` stays
      free for hover + JS. A running animation outranks a normal hover
      declaration, so a transform-based idle loop silently eats hovers.
   3. Nothing expensive runs always-on. Conic beams and spotlights are
      hover-gated; heavy work is behind the .app-rich flag set by JS.
   4. The PDF editor and DTP canvas pages are excluded from container
      transforms — an animating ancestor throws off drag hit-testing.
   5. .pe-* (editor primitives) are never touched.
   6. Icon motion rides the inner <use>, never the <svg>. The svg already
      carries the context's hover transform, and SVG child transforms nest
      inside their parent's — so §27 can never collide with §3/§10/§11.
   ═══════════════════════════════════════════════════════════════════════ */

/* ══════════════ 0. LOCAL TOKENS ══════════════ */
#app-container{
  --ax-c1:var(--brand-1);
  --ax-c2:var(--brand-2);
  --ax-c3:#22d3ee;
  --ax-ease:cubic-bezier(.22,.68,.32,1);
  --ax-spring:cubic-bezier(.34,1.56,.64,1);
  --ax-slow:cubic-bezier(.16,1,.3,1);
}
@property --ax-ang{ syntax:'<angle>'; inherits:false; initial-value:0deg; }

/* ══════════════ 1. SIDEBAR SHELL ══════════════ */
/* A vertical wash + a lit right edge. Both are static paints — the
   sidebar itself only ever animates `transform` (the mobile slide-in). */
.sidebar{
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--brand-1) 5%, var(--bg-elev)) 0%,
      var(--bg-elev) 34%,
      var(--bg-elev) 100%);
}
.sidebar::after{
  content:""; position:absolute; inset:0 -1px 0 auto; width:1px;
  pointer-events:none;
  background:linear-gradient(180deg,
    transparent 0%,
    var(--brand-ring) 18%,
    color-mix(in srgb, var(--brand-2) 34%, transparent) 52%,
    transparent 92%);
  opacity:.55;
}
@supports not (background: color-mix(in srgb, red 50%, blue)){
  .sidebar{ background:var(--bg-elev); }
  .sidebar::after{ background:linear-gradient(180deg, transparent, var(--brand-ring), transparent); }
}

/* slim scrollbar inside the nav only, so it stops competing with content */
.nav-scroll{ scrollbar-width:thin; scrollbar-color:var(--surface-3) transparent; }
.nav-scroll::-webkit-scrollbar{ width:6px; }
.nav-scroll::-webkit-scrollbar-thumb{
  background:var(--surface-3); border:none; border-radius:99px;
  background-clip:padding-box;
}
.nav-scroll::-webkit-scrollbar-thumb:hover{ background:var(--line-strong); }

/* ══════════════ 2. BRAND MARK ══════════════ */
.brand{ position:relative; }
.brand-mark{
  position:relative; overflow:hidden;
  transition:transform .4s var(--ax-spring);
}
.brand:hover .brand-mark{ transform:rotate(-8deg) scale(1.08); }
/* one diagonal glint that sweeps across on hover — no idle loop */
.brand-mark::after{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform:skewX(-22deg) translateX(0);
  opacity:0; pointer-events:none;
}
.brand:hover .brand-mark::after{
  opacity:1; animation:axGlint .7s var(--ax-ease);
}
@keyframes axGlint{
  from{ transform:skewX(-22deg) translateX(0) }
  to  { transform:skewX(-22deg) translateX(340%) }
}
.brand-name{
  font-weight: 850;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  display: inline-flex;
  align-items: center;
}

/* ══════════════ 3. NAV ITEMS ══════════════ */
/* NOTE: no `overflow:hidden` here — .nav-item.active::before lives at
   left:-12px, outside the box, and clipping would delete the indicator. */
.nav-item{
  transition:background var(--dur) var(--ease),
             color var(--dur) var(--ease),
             transform .22s var(--ax-ease);
}
.nav-item:hover{ transform:translateX(3px); }
.nav-item:active{ transform:translateX(3px) scale(.985); }

/* Left-bright falloff painted straight onto the row. Done as a background
   layer rather than a pseudo-element because a positioned ::after would
   paint over the label and icon. */
.nav-item.active{
  background-color:var(--brand-soft);
  background-image:linear-gradient(90deg,
    color-mix(in srgb, var(--brand-1) 16%, transparent), transparent 76%);
}
@supports not (background: color-mix(in srgb, red 50%, blue)){
  .nav-item.active{ background-image:none; }
}
/* the accent bar springs open instead of snapping in */
.nav-item.active::before{
  transform-origin:center;
  animation:axAccent .42s var(--ax-spring) backwards;
  box-shadow:0 0 10px -1px var(--brand-ring);
}
@keyframes axAccent{
  from{ scale:1 .15; opacity:0 }
  to  { scale:1 1;   opacity:1 }
}

.nav-item .i{ transition:transform .3s var(--ax-spring), color var(--dur) var(--ease); }
.nav-item:hover .i{ transform:scale(1.14) rotate(-5deg); }
.nav-item.active .i{ transform:scale(1.08); }

/* one-shot entrance stagger — JS sets --i, then drops .app-nav-in so
   collapsing/expanding a group never replays it */
.app-nav-in .nav-item{
  animation:axNavIn .42s var(--ax-ease) backwards;
  animation-delay:calc(var(--i,0) * 26ms);
}
@keyframes axNavIn{
  from{ opacity:0; transform:translateX(-10px) }
  to  { opacity:1; transform:none }
}

/* ══════════════ 4. NAV GROUPS ══════════════ */
.nav-group-header:hover{
  background-color:var(--surface-2);
  background-image:linear-gradient(90deg, var(--brand-soft), transparent 72%);
}
.nav-group:not(.collapsed) > .nav-group-header{ color:var(--text-2); }
.nav-group:not(.collapsed) > .nav-group-header .nav-chev{ color:var(--ax-c1); }

/* ══════════════ 5. USER CARD ══════════════ */
.user-card{ position:relative; }
.user-card::before{
  content:""; position:absolute; inset:auto 12px auto 12px; top:-1px; height:1px;
  background:linear-gradient(90deg, transparent, var(--brand-ring), transparent);
  opacity:.7;
}
.avatar{ position:relative; transition:transform .35s var(--ax-spring); }
.user-row:hover .avatar{ transform:scale(1.06); }
/* conic halo, hover-gated so nothing repaints while you work */
.avatar::after{
  content:""; position:absolute; inset:-3px; border-radius:inherit;
  background:conic-gradient(from var(--ax-ang),
    transparent 0deg, var(--ax-c1) 90deg, var(--ax-c2) 180deg, transparent 300deg);
  padding:2px;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:opacity .3s var(--ease); pointer-events:none;
}
.user-row:hover .avatar::after{ opacity:1; animation:axRing 2.4s linear infinite; }
@keyframes axRing{ to{ --ax-ang:360deg } }

.user-plan .dot{ animation:axPulse 2.6s ease-in-out infinite; }
@keyframes axPulse{ 0%,100%{ opacity:1; scale:1 } 50%{ opacity:.45; scale:.72 } }

.user-actions .btn{ transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .2s var(--ax-spring); }
.user-actions .btn:hover{ transform:translateY(-2px); }
.user-actions .btn:active{ transform:translateY(0) scale(.96); }

/* ══════════════ 6. TOPBAR ══════════════ */
/* Height stays fixed. Resizing a sticky bar reflows the document and
   jumps the scroll position — the shadow does the work instead. */
.topbar{
  transition:box-shadow .3s var(--ease), background-color .28s ease, border-color .28s ease;
}
.topbar.app-scrolled{
  box-shadow:0 10px 30px -18px rgba(0,0,0,.7), 0 1px 0 0 var(--line);
}
.topbar::after{
  content:""; position:absolute; inset:auto 0 -1px 0; height:1px;
  background:linear-gradient(90deg, transparent, var(--brand-ring) 22%, color-mix(in srgb, var(--ax-c3) 40%, transparent) 55%, transparent 88%);
  opacity:0; transition:opacity .35s var(--ease); pointer-events:none;
}
.topbar.app-scrolled::after{ opacity:.85; }

.search-trigger{ position:relative; overflow:hidden; }
.search-trigger .i{ transition:transform .3s var(--ax-spring), color var(--dur) var(--ease); }
.search-trigger:hover .i{ transform:scale(1.14); color:var(--ax-c1); }
.search-trigger .kbd{ transition:transform .25s var(--ax-spring), border-color var(--dur) var(--ease); }
.search-trigger:hover .kbd{ transform:translateY(-1px); border-color:var(--line-strong); }

.icon-btn{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .3s var(--ax-spring); }
.icon-btn:hover{ transform:translateY(-1px) scale(1.06); }
.icon-btn:active{ transform:scale(.92); }
#theme-toggle:hover svg{ transform:rotate(-22deg) scale(1.1); }

/* ══════════════ 7. PAGE TRANSITION + CHILD STAGGER ══════════════ */
/* Replaces the inline `rise` with a slightly deeper, softer entrance. */
.page.active{ animation:axPageIn .42s var(--ax-slow) backwards; }
@keyframes axPageIn{
  from{ opacity:0; transform:translateY(14px) scale(.995) }
  to  { opacity:1; transform:none }
}
/* The two canvas pages fade only — no ancestor transform. A transformed
   ancestor shifts the coordinate space their drag maths hit-tests against,
   and both read getBoundingClientRect() on mousedown. */
#page-pdf-editor.page.active,
#page-dtp-creator.page.active{ animation-name:axFadeIn; }
@keyframes axFadeIn{ from{ opacity:0 } to{ opacity:1 } }

/* Direct children cascade in behind it. Deliberately NOT applied to the
   PDF editor or DTP pages, for the same reason (see NO_STAGGER in
   app-modern.js — the JS never adds .app-stagger to them). */
.page.active.app-stagger > *{
  animation:axChildIn .5s var(--ax-slow) backwards;
  animation-delay:calc(var(--i,0) * 70ms + 60ms);
}
@keyframes axChildIn{
  from{ opacity:0; transform:translateY(16px) }
  to  { opacity:1; transform:none }
}

/* ══════════════ 8. PAGE HEADER ══════════════ */
.eyebrow{ position:relative; }
.eyebrow .i{ color:var(--ax-c1); animation:axEyebrow 3.6s ease-in-out infinite; }
@keyframes axEyebrow{
  0%,72%,100%{ rotate:0deg; scale:1 }
  80%{ rotate:-14deg; scale:1.16 }
  90%{ rotate:9deg;  scale:1.08 }
}
/* Title reveals with a wipe. Deliberately NOT gradient-clipped text:
   `-webkit-text-fill-color:transparent` makes the heading invisible the
   moment anything upstream drops the background, and a page title is the
   worst place to take that bet. */
.page-title{ animation:axTitleIn .72s var(--ax-slow) .06s backwards; }
@keyframes axTitleIn{
  from{ opacity:0; transform:translateY(12px); clip-path:inset(0 0 105% 0) }
  to  { opacity:1; transform:none;            clip-path:inset(0 0 -25% 0) }
}
.page-desc{ animation:axChildIn .6s var(--ax-slow) .22s backwards; }
.page-header{ position:relative; }
.page-header::after{
  content:""; display:block; margin-top:16px; height:2px; width:100%;
  border-radius:2px; transform-origin:left;
  background:linear-gradient(90deg, var(--ax-c1), var(--ax-c2) 38%, transparent 92%);
  animation:axRule .7s var(--ax-slow) .18s both;
}
@keyframes axRule{ from{ scale:0 1; opacity:0 } to{ scale:1 1; opacity:.55 } }

/* ══════════════ 9. CARDS ══════════════ */
.card{
  position:relative;
  transition:transform .3s var(--ax-ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.card:hover{ border-color:var(--line-strong); box-shadow:var(--shadow-2); }
.card-title .i{ color:var(--ax-c1); transition:transform .3s var(--ax-spring); }
.card:hover .card-title .i{ transform:scale(1.12) rotate(-6deg); }

/* ══════════════ 10. TOOL CARDS (home grid) ══════════════ */
/* The inline sheet declares .tool-card's transition with !important, so
   extending the property list has to match that weight. */
.tool-card{
  transition:transform .28s var(--ax-ease),
             border-color .25s var(--ease),
             box-shadow .3s var(--ease),
             background-color .28s ease !important;
}
/* cursor-following spotlight — JS writes --cx/--cy, and it only paints
   while the pointer is actually inside the card */
.tool-card::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  border-radius:inherit; z-index:0;
  background:radial-gradient(340px circle at var(--cx,50%) var(--cy,0%),
    color-mix(in srgb, var(--brand-1) 20%, transparent), transparent 62%);
  opacity:0; transition:opacity .3s var(--ease);
}
.tool-card:hover::before{ opacity:1; }
@supports not (background: color-mix(in srgb, red 50%, blue)){
  .tool-card::before{ background:radial-gradient(340px circle at var(--cx,50%) var(--cy,0%), var(--brand-soft), transparent 62%); }
}
/* travelling border beam, hover-gated so idle cards cost nothing */
.tool-card::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  border-radius:inherit; padding:1px; z-index:0;
  background:conic-gradient(from var(--ax-ang),
    transparent 0deg, transparent 62deg,
    var(--ax-c2) 84deg, var(--ax-c1) 96deg,
    transparent 118deg, transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0; transition:opacity .3s var(--ease);
}
.tool-card:hover::after{ opacity:1; animation:axBeam 2.6s linear infinite; }
@keyframes axBeam{ to{ --ax-ang:360deg } }
/* Keep the real content above both decorative layers. Listed explicitly
   rather than `.tool-card > *` so the injected .ax-ripple span (which must
   stay position:absolute) isn't caught by it. */
.tool-card > .tool-icon,
.tool-card > .tool-name,
.tool-card > .tool-desc,
.tool-card > .tool-go{ position:relative; z-index:1; }

.tool-icon{ transition:transform .34s var(--ax-spring), background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tool-card:hover .tool-icon{ transform:scale(1.12) rotate(-7deg); border-color:var(--brand-ring); }
.tool-go .i, .tool-go svg{ transition:transform .3s var(--ax-spring); }
.tool-card:hover .tool-go svg{ transform:translateX(5px); }
.tool-card:active{ transform:translateY(-1px) scale(.985); }

/* one-shot entrance stagger for the grid, driven by --i from JS */
.app-grid-in > *{
  animation:axCardIn .55s var(--ax-slow) backwards;
  animation-delay:calc(var(--i,0) * 42ms + 80ms);
}
@keyframes axCardIn{
  from{ opacity:0; transform:translateY(18px) scale(.97) }
  to  { opacity:1; transform:none }
}

/* ══════════════ 11. BUTTONS ══════════════ */
.btn{ position:relative; overflow:hidden; }
.btn .i{ transition:transform .28s var(--ax-spring); }
.btn:hover .i{ transform:scale(1.1); }
/* Press feedback: the inline sheet's late `.btn-primary:hover{translateY(-2px)}`
   outranked `.btn:active{translateY(1px)}`, so the push-down never fired.
   These :active rules land after it and restore it. */
.btn:active{ transform:translateY(1px) scale(.985); }
.btn-primary:hover{ transform:translateY(-2px); }
.btn-primary:active{ transform:translateY(0) scale(.975); }
.btn:disabled{ transform:none !important; }

/* light sweep across primary buttons on hover only */
.btn-primary::after{
  content:""; position:absolute; top:0; bottom:0; left:-70%; width:45%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform:skewX(-20deg) translateX(0);
  opacity:0; pointer-events:none;
}
.btn-primary:hover::after{ opacity:1; animation:axSweep .8s var(--ax-ease); }
@keyframes axSweep{
  from{ transform:skewX(-20deg) translateX(0) }
  to  { transform:skewX(-20deg) translateX(360%) }
}

/* click ripple (span injected by app-modern.js) */
.ax-ripple{
  position:absolute; border-radius:50%; pointer-events:none;
  background:rgba(255,255,255,.34);
  transform:translate(-50%,-50%) scale(0);
  animation:axRipple .62s var(--ax-ease) forwards;
}
@keyframes axRipple{
  to{ transform:translate(-50%,-50%) scale(1); opacity:0 }
}

/* ══════════════ 12. SEGMENTED CONTROL ══════════════ */
.comp-type-btn{
  position:relative; overflow:hidden;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .26s var(--ax-spring);
}
.comp-type-btn:hover{ transform:translateY(-1px); }
.comp-type-btn:active{ transform:scale(.96); }
.comp-type-btn.active{ animation:axSegPop .38s var(--ax-spring); }
@keyframes axSegPop{ 0%{ scale:.9 } 60%{ scale:1.04 } 100%{ scale:1 } }
.comp-type-btn .i{ transition:transform .28s var(--ax-spring); }
.comp-type-btn.active .i{ transform:scale(1.12); color:var(--ax-c1); }

/* ══════════════ 13. FORMS ══════════════ */
.input-field, .auth-input{
  transition:border-color var(--dur) var(--ease), box-shadow .22s var(--ease), background-color .22s ease;
}
.input-field:hover:not(:focus), .auth-input:hover:not(:focus){ border-color:var(--line-strong); }
.input-field:focus, .auth-input:focus{ box-shadow:0 0 0 3px var(--brand-soft), 0 0 18px -6px var(--brand-ring); }
.form-group{ position:relative; }
.form-label{ transition:color .2s var(--ease); }
.form-group:focus-within .form-label{ color:var(--ax-c1); }

.swatch{ transition:transform .3s var(--ax-spring), border-color var(--dur) var(--ease), box-shadow .25s var(--ease); }
.swatch:hover{ transform:translateY(-3px) scale(1.06); box-shadow:var(--shadow-2); }
.swatch:active{ transform:translateY(-1px) scale(.97); }
.swatch[aria-pressed="true"]{ animation:axSegPop .4s var(--ax-spring); }
.swatch[aria-pressed="true"]::after{ animation:axCheckPop .4s var(--ax-spring) backwards; }
@keyframes axCheckPop{ from{ scale:0; opacity:0 } to{ scale:1; opacity:1 } }
.swatch-custom{ transition:transform .3s var(--ax-spring), border-color var(--dur) var(--ease); }
.swatch-custom:hover{ transform:translateY(-3px) scale(1.06); }

input[type=range]::-webkit-slider-thumb{ transition:transform .2s var(--ax-spring), border-color .2s var(--ease); }
input[type=range]:hover::-webkit-slider-thumb{ transform:scale(1.15); }
input[type=range]:active::-webkit-slider-thumb{ transform:scale(1.28); border-color:var(--ax-c2); }

/* ══════════════ 14. DISCLOSURE ══════════════ */
details.adv{ transition:border-color .25s var(--ease), box-shadow .3s var(--ease); }
details.adv:hover{ border-color:var(--line-strong); }
details.adv[open]{ box-shadow:var(--shadow-1); }
details.adv > summary .i:first-child{ transition:transform .3s var(--ax-spring); color:var(--ax-c1); }
details.adv > summary:hover .i:first-child{ transform:rotate(-10deg) scale(1.1); }
details.adv[open] > .adv-body{ animation:axChildIn .38s var(--ax-slow) backwards; }

/* ══════════════ 15. DROPZONE ══════════════ */
/* `transition:all` in the inline sheet meant every paint property animated
   on hover. Narrowed to the four that actually change. */
.file-drop{
  transition:border-color .22s var(--ax-slow),
             background-color .22s var(--ax-slow),
             box-shadow .22s var(--ax-slow),
             transform .22s var(--ax-slow);
}
/* Pulsing halo lives on a pseudo because .file-drop.dragover sets
   transform/box-shadow with !important — and an !important author
   declaration outranks an animation, so animating the element itself
   would do nothing. */
.file-drop::before{
  content:""; position:absolute; inset:-4px; border-radius:inherit;
  pointer-events:none; z-index:0;
  border:2px solid var(--ax-c1);
  opacity:0; scale:.98;
  transition:opacity .25s var(--ease), scale .25s var(--ease);
}
.file-drop.dragover::before{
  opacity:.75;
  animation:axHalo 1.15s ease-in-out infinite;
}
@keyframes axHalo{
  0%,100%{ scale:1;    opacity:.7 }
  50%    { scale:1.035; opacity:.22 }
}
.file-drop > *{ position:relative; z-index:1; }

.file-drop-icon{
  transition:transform .34s var(--ax-spring), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  animation:axHover 4.2s ease-in-out infinite;
}
@keyframes axHover{ 0%,100%{ translate:0 0 } 50%{ translate:0 -5px } }
.file-drop:hover .file-drop-icon{ transform:scale(1.09); background:var(--brand-soft); border-color:var(--brand-ring); }
.file-drop.dragover .file-drop-icon{
  transform:scale(1.16); background:var(--brand-soft); border-color:var(--ax-c1);
  animation-play-state:paused;
}
.file-drop-badge{ transition:transform .28s var(--ax-spring), border-color var(--dur) var(--ease); }
.file-drop:hover .file-drop-badge{ transform:translateY(-2px); border-color:var(--line-strong); }
.file-drop-badge kbd{ transition:transform .25s var(--ax-spring); }
.file-drop:hover .file-drop-badge kbd{ transform:scale(1.08); }

/* ══════════════ 16. FILE LIST ══════════════ */
.file-item{
  animation:axRowIn .38s var(--ax-slow) backwards;
  transition:border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform .22s var(--ax-ease);
}
@keyframes axRowIn{
  from{ opacity:0; transform:translateX(-10px) }
  to  { opacity:1; transform:none }
}
.file-item:hover{ border-color:var(--line-strong); transform:translateX(3px); }
.file-remove{ transition:color var(--dur) var(--ease), background var(--dur) var(--ease), transform .28s var(--ax-spring); }
.file-remove:hover{ transform:rotate(90deg) scale(1.12); }

/* ══════════════ 17. RESULTS & COMPARISON ══════════════ */
.generated-image{ animation:axResultIn .6s var(--ax-spring) backwards; }
@keyframes axResultIn{
  from{ opacity:0; transform:translateY(16px) scale(.96) }
  to  { opacity:1; transform:none }
}
.comp-card{
  transition:transform .28s var(--ax-ease), border-color var(--dur) var(--ease), box-shadow .3s var(--ease);
  animation:axCardIn .5s var(--ax-slow) backwards;
}
.comp-card:hover{ transform:translateY(-3px); border-color:var(--line-strong); box-shadow:var(--shadow-2); }
.comp-card:nth-child(2){ animation-delay:.08s }
.comp-card:nth-child(3){ animation-delay:.16s }
.comp-val{ animation:axValIn .55s var(--ax-spring) .1s backwards; }
@keyframes axValIn{
  from{ opacity:0; transform:translateY(8px) scale(.9) }
  to  { opacity:1; transform:none }
}
.comp-val.green{ text-shadow:0 0 22px color-mix(in srgb, var(--ok) 42%, transparent); }

/* ══════════════ 18. STEPPER ══════════════ */
.stepper{ transition:border-color var(--dur) var(--ease), box-shadow .25s var(--ease); }
.stepper:hover{ border-color:var(--line-strong); }
.stepper:focus-within{ border-color:var(--ax-c1); box-shadow:0 0 0 3px var(--brand-soft); }
.stepper button{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .2s var(--ax-spring); }
.stepper button:active{ transform:scale(.86); }
.stepper .val{ transition:color .2s var(--ease); }

/* ══════════════ 19. SPINNER ══════════════ */
/* Second, counter-rotating arc — reads as "working" instead of "hung". */
.spinner{ position:relative; }
.spinner::after{
  content:""; position:absolute; inset:-4px; border-radius:50%;
  border:2px solid transparent; border-bottom-color:currentColor;
  opacity:.55;
  animation:axSpinBack 1.1s linear infinite;
}
@keyframes axSpinBack{ to{ rotate:-360deg } }

/* ══════════════ 20. BADGES · TRUST · FEATURES · KV ══════════════ */
.badge{ transition:transform .26s var(--ax-spring), border-color var(--dur) var(--ease); }
.badge:hover{ transform:translateY(-1px); }
.trust-item{ transition:transform .26s var(--ax-ease); }
.trust-item:hover{ transform:translateX(4px); }
.trust-item .i{ transition:transform .3s var(--ax-spring); }
.trust-item:hover .i{ transform:scale(1.16) rotate(-8deg); }

.feature-row{
  transition:transform .24s var(--ax-ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.feature-row:hover{ transform:translateX(4px); border-color:var(--brand-ring); }
.feature-row .i{ transition:transform .3s var(--ax-spring); }
.feature-row:hover .i{ transform:scale(1.14); }
.check{ animation:axCheckPop .45s var(--ax-spring) backwards; }

.kv{ transition:border-color var(--dur) var(--ease), transform .24s var(--ax-ease); }
.kv:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.kv-v{ animation:axValIn .5s var(--ax-spring) backwards; }
.price-now{ animation:axValIn .6s var(--ax-spring) .1s backwards; text-shadow:0 0 30px color-mix(in srgb, var(--ok) 34%, transparent); }

/* ══════════════ 21. TOASTS ══════════════ */
/* toast() dismisses by assigning t.style.animation = 'slideOut …', which is
   an inline style and therefore still wins over the entrance below. The
   countdown bar sits on ::after so the swap can't disturb it. */
.toast{
  position:relative; overflow:hidden;
  animation:axToastIn .42s var(--ax-spring) forwards;
}
@keyframes axToastIn{
  from{ opacity:0; transform:translateX(26px) scale(.94) }
  to  { opacity:1; transform:none }
}
.toast::after{
  content:""; position:absolute; inset:auto 0 0 0; height:2px;
  background:linear-gradient(90deg, var(--ax-c1), var(--ax-c2));
  transform-origin:left;
  animation:axToastBar 3.5s linear both;
}
.toast.success::after{ background:linear-gradient(90deg, var(--ok), color-mix(in srgb, var(--ok) 40%, var(--ax-c3))); }
.toast.error::after{ background:linear-gradient(90deg, var(--err), color-mix(in srgb, var(--err) 45%, var(--warn))); }
@keyframes axToastBar{ from{ scale:1 1 } to{ scale:0 1 } }

/* ══════════════ 22. OVERLAYS & MODALS ══════════════ */
.overlay{ animation:axDim .28s var(--ease) backwards; }
@keyframes axDim{ from{ opacity:0 } to{ opacity:1 } }
.auth-overlay, .pay-overlay, .cmdk{ animation:axDim .24s var(--ease) backwards; }

.auth-grid, .pay-box, .cmdk-box{
  animation:axModalPop .42s var(--ax-spring) backwards;
}
@keyframes axModalPop{
  from{ opacity:0; transform:translateY(18px) scale(.95) }
  to  { opacity:1; transform:none }
}
.auth-close-btn{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .28s var(--ax-spring); }
.auth-close-btn:hover{ transform:rotate(90deg) scale(1.1); }
.auth-tab{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .22s var(--ax-ease); }
.auth-tab:active{ transform:scale(.96); }
.auth-tab.active{ animation:axSegPop .36s var(--ax-spring); }
.auth-btn{ position:relative; overflow:hidden; }
.auth-btn:active{ transform:translateY(0) scale(.98); }

.cmdk-item{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .2s var(--ax-ease); }
.cmdk-item:hover{ transform:translateX(4px); }
.cmdk-item[aria-selected="true"]{ transform:translateX(4px); }
.cmdk-item .i{ transition:transform .28s var(--ax-spring); }
.cmdk-item[aria-selected="true"] .i{ transform:scale(1.14); }
.cmdk-head .i{ color:var(--ax-c1); }

/* ══════════════ 23. MOBILE TABBAR ══════════════ */
.tabbar .nav-item{ transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .24s var(--ax-spring); }
.tabbar .nav-item:active{ transform:scale(.92); }
/* the left accent bar is hidden down here — use a top pill instead */
.tabbar .nav-item.active{ transform:translateY(-2px); }
.tabbar .nav-item.active::after{
  content:""; position:absolute; top:0; left:50%; translate:-50% 0;
  width:20px; height:3px; border-radius:0 0 3px 3px;
  background:linear-gradient(90deg, var(--ax-c1), var(--ax-c2));
  animation:axPill .38s var(--ax-spring) backwards;
}
@keyframes axPill{ from{ scale:0 1; opacity:0 } to{ scale:1 1; opacity:1 } }
.tabbar .nav-item .i{ transition:transform .3s var(--ax-spring); }
.tabbar .nav-item.active .i{ transform:translateY(-1px) scale(1.12); }

/* ══════════════ 24. SKELETON ══════════════ */
/* Shimmer speed left at the inline sheet's 1.4s on purpose — it animates
   background-position, which re-rasters every frame, and there can be 16
   of them on screen at once. */
.skeleton-card{ animation:axDim .4s var(--ease) backwards; }

/* ══════════════ 25. WEB DIRECTORY CARDS ══════════════ */
.wd-link{
  position:relative; isolation:isolate;
  transition:transform .26s var(--ax-ease), box-shadow .26s var(--ease);
}
.wd-link::after{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform:skewX(-20deg) translateX(0);
  opacity:0; pointer-events:none; z-index:2;
}
.wd-link:hover::after{ opacity:1; animation:axSweep .85s var(--ax-ease); }
.wd-link:active{ transform:translateY(-1px) scale(.99); }
.wd-icon{ transition:transform .32s var(--ax-spring), background .25s var(--ease); }
.wd-link:hover .wd-icon{ transform:scale(1.1) rotate(-6deg); background:rgba(255,255,255,.3); }
.wd-cat-label{
  position:relative; padding-left:12px;
}
.wd-cat-label::before{
  content:""; position:absolute; left:0; top:50%; translate:0 -50%;
  width:3px; height:13px; border-radius:2px;
  background:linear-gradient(var(--ax-c1), var(--ax-c2));
}

/* ══════════════ 26. TOPUP / SUPPORT MODAL CARDS ══════════════ */
/* These two modals are intentionally light-themed cards, so only motion
   is added — no colour is touched. */
.topup-pack-card{ transition:border-color .16s ease, background .16s ease, transform .24s var(--ax-spring), box-shadow .2s ease; }
.topup-pack-card:active{ transform:scale(.96); }
.topup-pack-card.pack-active{ animation:axSegPop .36s var(--ax-spring); }

/* ══════════════ 27. ICON MOTION SYSTEM ══════════════ */
/* Every icon in the app is `<svg class="i"><use href="#ic-…"/></svg>` off the
   sprite at the top of index.html. app-modern.js tags each svg with
   `ax-<symbol-id>` and marks the nearest interactive ancestor `.ax-ih`.

   The motion lives on the inner `<use>`, never on the `<svg>`. The svg
   already carries context hover transforms (nav items, buttons, tool cards,
   command palette), and SVG child transforms nest inside the parent's — so
   the two compose instead of fighting the cascade. It also means one rule
   per icon type instead of one per icon × context.

   Everything here is hover-gated and transform-only: one icon animates at a
   time, on the compositor, and nothing runs at rest. */
svg.i > use{
  transform-box:view-box;      /* pivot on the 24×24 viewBox centre, not the bbox */
  transform-origin:50% 50%;
  transition:rotate .3s var(--ax-spring), scale .3s var(--ax-spring);
}

/* Baseline, so no icon anywhere is dead. Per-icon rules below sit at equal
   specificity and come later, so they simply replace this. */
.ax-ih:hover svg.i > use{ animation:axIcoPop .42s var(--ax-spring); }
@keyframes axIcoPop{ 0%,100%{ scale:1 } 45%{ scale:1.18 } }

/* ── the vertical pair: payload moves the way the arrow points ── */
.ax-ih:hover svg.ax-ic-download > use{ animation:axIcoDown .62s var(--ax-ease); }
@keyframes axIcoDown{ 0%,100%{ translate:0 0 } 40%{ translate:0 3px } 70%{ translate:0 -1px } }

.ax-ih:hover svg.ax-ic-upload > use{ animation:axIcoUp .62s var(--ax-ease); }
@keyframes axIcoUp{ 0%,100%{ translate:0 0 } 40%{ translate:0 -3px } 70%{ translate:0 1px } }

.ax-ih:hover svg.ax-ic-print > use{ animation:axIcoPrint .58s var(--ax-ease); }
@keyframes axIcoPrint{ 0%,100%{ translate:0 0 } 40%{ translate:0 -2px } 70%{ translate:0 1px } }

/* ── directional ── */
.ax-ih:hover svg.ax-ic-arrow > use{ animation:axIcoArrow .5s var(--ax-ease); }
@keyframes axIcoArrow{ 0%,100%{ translate:0 0 } 45%{ translate:4px 0 } }

/* The nav chevron's own svg is rotated -90deg while its group is collapsed;
   because this rides the child, the nudge follows wherever it points. */
.ax-ih:hover svg.ax-ic-chev > use{ animation:axIcoChev .5s var(--ax-ease); }
@keyframes axIcoChev{ 0%,100%{ translate:0 0 } 45%{ translate:0 3px } }

.ax-ih:hover svg.ax-ic-logout > use{ animation:axIcoLogout .66s var(--ax-ease); }
@keyframes axIcoLogout{
  0%,100%{ translate:0 0; opacity:1 }
  45%{ translate:5px 0; opacity:.35 }
  55%{ translate:-4px 0; opacity:.35 }
}

/* ── rotational ── */
.ax-ih:hover svg.ax-ic-refresh > use{ animation:axIcoSpin .72s var(--ax-slow); }
.ax-ih:hover svg.ax-ic-sun > use{ animation:axIcoSpin .9s var(--ax-slow); }
@keyframes axIcoSpin{ from{ rotate:0deg } to{ rotate:360deg } }

.ax-ih:hover svg.ax-ic-key > use{ animation:axIcoKey .66s var(--ax-ease); }
@keyframes axIcoKey{ 0%,100%{ rotate:0deg } 45%{ rotate:-25deg } 75%{ rotate:8deg } }

.ax-ih:hover svg.ax-ic-moon > use{ animation:axIcoMoon .6s var(--ax-spring); }
@keyframes axIcoMoon{ 0%,100%{ rotate:0deg; scale:1 } 45%{ rotate:-22deg; scale:1.1 } }

/* The plus holds its turn for as long as you hover — it reads as "open". */
.ax-ih:hover svg.ax-ic-plus > use{ animation:none; rotate:90deg; scale:1.1; }

/* ── writing tools ── */
.ax-ih:hover svg.ax-ic-edit > use{ animation:axIcoEdit .56s var(--ax-ease); }
@keyframes axIcoEdit{ 0%,100%{ translate:0 0; rotate:0deg } 40%{ translate:2px -2px; rotate:-10deg } }

.ax-ih:hover svg.ax-ic-pen > use{ animation:axIcoPen .62s var(--ax-ease); }
@keyframes axIcoPen{
  0%,100%{ translate:0 0; rotate:0deg }
  35%{ translate:1px -3px; rotate:-14deg }
  70%{ translate:-1px 1px; rotate:4deg }
}

.ax-ih:hover svg.ax-ic-eraser > use{ animation:axIcoEraser .6s var(--ax-ease); }
@keyframes axIcoEraser{
  0%,100%{ translate:0 0 }
  25%{ translate:-2.5px 0 } 55%{ translate:2.5px 0 } 80%{ translate:-1px 0 }
}

/* ── documents ── */
.ax-ih:hover svg.ax-ic-file > use{ animation:axIcoFile .56s var(--ax-spring); }
@keyframes axIcoFile{ 0%,100%{ translate:0 0; rotate:0deg } 40%{ translate:0 -3px; rotate:-6deg } }

.ax-ih:hover svg.ax-ic-table > use{ animation:axIcoTable .56s var(--ax-ease); }
@keyframes axIcoTable{ 0%,100%{ scale:1 } 40%{ scale:1.1 .92 } 70%{ scale:.96 1.06 } }

/* Squeeze — the icon does what the tool does. */
.ax-ih:hover svg.ax-ic-zip > use{ animation:axIcoZip .58s var(--ax-spring); }
@keyframes axIcoZip{ 0%,100%{ scale:1 } 35%{ scale:1.14 .8 } 65%{ scale:.92 1.08 } }

.ax-ih:hover svg.ax-ic-merge > use{ animation:axIcoMerge .58s var(--ax-spring); }
@keyframes axIcoMerge{ 0%,100%{ scale:1 } 40%{ scale:.86 1.06 } 70%{ scale:1.06 .96 } }

.ax-ih:hover svg.ax-ic-copy > use{ animation:axIcoCopy .5s var(--ax-ease); }
@keyframes axIcoCopy{ 0%,100%{ translate:0 0 } 45%{ translate:-2px -2px } }

/* ── media ── */
.ax-ih:hover svg.ax-ic-image > use{ animation:axIcoImage .54s var(--ax-spring); }
@keyframes axIcoImage{ 0%,100%{ scale:1; translate:0 0 } 40%{ scale:1.16; translate:0 -1px } }

.ax-ih:hover svg.ax-ic-id > use{ animation:axIcoId .58s var(--ax-spring); }
@keyframes axIcoId{
  0%,100%{ rotate:0deg; scale:1 }
  40%{ rotate:-5deg; scale:1.08 } 70%{ rotate:3deg; scale:1.04 }
}

/* ── status / accent ── */
.ax-ih:hover svg.ax-ic-spark > use{ animation:axIcoSpark .62s var(--ax-spring); }
@keyframes axIcoSpark{
  0%,100%{ scale:1; rotate:0deg }
  40%{ scale:1.24; rotate:16deg } 70%{ scale:.96; rotate:-6deg }
}

/* Two flashes, like a contact bouncing. */
.ax-ih:hover svg.ax-ic-bolt > use{ animation:axIcoBolt .6s linear; }
@keyframes axIcoBolt{
  0%,100%{ scale:1; opacity:1 }
  20%{ scale:1.2; opacity:.4 } 35%{ scale:1.05; opacity:1 }
  55%{ scale:1.22; opacity:.45 } 70%{ scale:1; opacity:1 }
}

.ax-ih:hover svg.ax-ic-shield > use{ animation:axIcoShield .68s var(--ax-ease); }
@keyframes axIcoShield{
  0%,100%{ scale:1 }
  35%{ scale:1.16 } 55%{ scale:1.04 } 75%{ scale:1.1 }
}

.ax-ih:hover svg.ax-ic-lock > use{ animation:axIcoLock .56s linear; }
@keyframes axIcoLock{
  0%,100%{ translate:0 0; rotate:0deg }
  20%{ translate:-2px 0; rotate:-5deg } 45%{ translate:2px 0; rotate:5deg }
  70%{ translate:-1px 0; rotate:-2deg }
}

.ax-ih:hover svg.ax-ic-crown > use{ animation:axIcoCrown .64s var(--ax-spring); }
@keyframes axIcoCrown{
  0%,100%{ translate:0 0; rotate:0deg }
  30%{ translate:0 -3px; rotate:-8deg } 60%{ translate:0 -1px; rotate:6deg }
}

.ax-ih:hover svg.ax-ic-home > use{ animation:axIcoHome .56s var(--ax-spring); }
@keyframes axIcoHome{ 0%,100%{ translate:0 0 } 35%{ translate:0 -4px } 65%{ translate:0 1px } }

.ax-ih:hover svg.ax-ic-search > use{ animation:axIcoSearch .62s var(--ax-ease); }
@keyframes axIcoSearch{
  0%,100%{ rotate:0deg; scale:1 }
  35%{ rotate:-14deg; scale:1.12 } 65%{ rotate:10deg; scale:1.12 }
}

.ax-ih:hover svg.ax-ic-menu > use{ animation:axIcoMenu .48s var(--ax-spring); }
@keyframes axIcoMenu{ 0%,100%{ scale:1 } 40%{ scale:.78 1.1 } }

.ax-ih:hover svg.ax-ic-clock > use{ animation:axIcoClock .62s var(--ax-ease); }
@keyframes axIcoClock{ 0%,100%{ rotate:0deg } 30%{ rotate:-10deg } 60%{ rotate:10deg } }

.ax-ih:hover svg.ax-ic-infinity > use{ animation:axIcoInf .78s var(--ax-ease); }
@keyframes axIcoInf{ 0%,100%{ translate:0 0 } 30%{ translate:3px 0 } 70%{ translate:-3px 0 } }

@keyframes axIcoCheck{ 0%,100%{ scale:1 } 35%{ scale:1.3 } 65%{ scale:.92 } }

/* ── the one entrance flourish: ticks draw themselves in ──────────────── */
/* `stroke-dasharray` is an inherited SVG property, so setting it on the
   <use> reaches the cloned path. ic-check is a single 21-unit polyline, so a
   24-unit dash draws it in one continuous pass with no dotted mid-state.
   `backwards` (never `both`) so both properties revert to the sheet's own
   values the moment the run ends — a half-drawn tick can never get stuck. */
.page.active svg.check > use{ animation:axIcoDraw .6s var(--ax-ease) .2s backwards; }
@keyframes axIcoDraw{
  from{ stroke-dasharray:24; stroke-dashoffset:24; opacity:0 }
  55%{ opacity:1 }
  to  { stroke-dasharray:24; stroke-dashoffset:0; opacity:1 }
}
/* Deliberately last: this and the draw rule are both (0,3,2), so whichever
   is written later wins. Hover has to be able to replace a finished draw. */
.ax-ih:hover svg.ax-ic-check > use{ animation:axIcoCheck .5s var(--ax-spring); }

/* ══════════════ 28. LOW-POWER / BATTERY TIERS ══════════════ */
/* .app-lite is set by app-modern.js on ≤4-core / ≤4 GB / save-data
   devices. Removal-only, so if the script never loads you still get the
   full layer — which is all transitions and hover-gated paints anyway. */
.app-lite .tool-card::before,
.app-lite .tool-card::after,
.app-lite .avatar::after,
.app-lite .btn-primary::after,
.app-lite .wd-link::after,
.app-lite .brand-mark::after,
.app-lite .spinner::after,
.app-lite .topbar::after{ display:none !important; }
.app-lite .file-drop-icon,
.app-lite .eyebrow .i,
.app-lite .user-plan .dot{ animation:none; }
.app-lite .page.active.app-stagger > *,
.app-lite .app-grid-in > *{ animation-duration:.32s; animation-delay:0s; }
/* The per-icon hover motion stays — it is transform-only, one at a time, and
   never runs at rest. The tick draw does not: stroke-dashoffset repaints. */
.app-lite .page.active svg.check > use{ animation:none; }

/* pause everything decorative while the tab is in the background */
.app-hidden .file-drop-icon,
.app-hidden .eyebrow .i,
.app-hidden .user-plan .dot,
.app-hidden .skeleton-shimmer,
.app-hidden .spinner::after{ animation-play-state:paused; }
/* The tick draw is the only icon animation that can be mid-run with nobody
   watching — the rest are hover-only. Specificity has to clear the (0,3,2)
   `animation:` shorthand on the draw rule, which would otherwise reset
   play-state straight back to running. */
.app-hidden .page.active svg.check > use{ animation-play-state:paused; }

/* ══════════════ 29. MOBILE ══════════════ */
@media (max-width:768px){
  /* full-viewport or per-frame paints a phone GPU shouldn't carry */
  .tool-card::before,
  .tool-card::after,
  .avatar::after,
  .btn-primary::after,
  .wd-link::after,
  .brand-mark::after{ display:none; }
  .file-drop-icon, .eyebrow .i{ animation:none; }
  /* No hover on a phone, so the icon set costs nothing here — except the
     tick draw, which fires on entrance and repaints. Off. */
  .page.active svg.check > use{ animation:none; }

  /* shorter, tighter entrances so pages land fast on 3G */
  .page.active{ animation-duration:.3s; }
  .page.active.app-stagger > *{
    animation-duration:.34s;
    animation-delay:calc(var(--i,0) * 40ms + 30ms);
  }
  .app-grid-in > *{
    animation-duration:.36s;
    animation-delay:calc(var(--i,0) * 26ms + 40ms);
  }
  .app-nav-in .nav-item{ animation-delay:calc(var(--i,0) * 16ms); }
  .page-header::after{ margin-top:12px; }
}

/* ══════════════ 30. ACCESSIBILITY — honour prefers-reduced-motion ══════════════ */
/* The inline sheet already flattens durations globally; this strips the
   decorative layers outright so nothing flashes into place at 0.01ms. */
@media (prefers-reduced-motion:reduce){
  .tool-card::before,
  .tool-card::after,
  .avatar::after,
  .btn-primary::after,
  .wd-link::after,
  .brand-mark::after,
  .spinner::after,
  .file-drop::before,
  .page-header::after,
  .toast::after{ display:none !important; }
  .file-drop-icon,
  .eyebrow .i,
  .user-plan .dot{ animation:none !important; }
  .page-title{ clip-path:none !important; }
  /* The whole icon layer, in one rule. Safe to be this broad because
     `svg.i > use` is styled by nothing else in the app — unlike a wildcard,
     it cannot reach the editor or DTP canvas transforms. */
  svg.i > use{
    animation:none !important;
    rotate:0deg !important; scale:1 !important; translate:0 0 !important;
    stroke-dasharray:none !important; stroke-dashoffset:0 !important;
  }
  /* Decorative hover displacement only. Deliberately not a blanket
     `*:hover{transform:none}` — the editor and DTP canvases use transform
     for zoom, and a wildcard would reset it the moment you moused over. */
  .nav-item:hover, .nav-item:active,
  .icon-btn:hover, .icon-btn:active,
  .tool-card:hover, .tool-card:active,
  .tool-card:hover .tool-icon,
  .nav-item:hover .i, .nav-item.active .i,
  .btn:hover, .btn:active, .btn-primary:hover, .btn-primary:active,
  .btn:hover .i,
  .file-item:hover, .file-remove:hover,
  .swatch:hover, .swatch:active, .swatch-custom:hover,
  .comp-card:hover, .kv:hover, .feature-row:hover, .trust-item:hover,
  .trust-item:hover .i, .feature-row:hover .i,
  .card:hover .card-title .i,
  .cmdk-item:hover, .cmdk-item[aria-selected="true"],
  .auth-close-btn:hover, .auth-tab:active,
  .wd-link:hover, .wd-link:active, .wd-link:hover .wd-icon,
  .user-row:hover .avatar, .user-actions .btn:hover, .user-actions .btn:active,
  .brand:hover .brand-mark,
  .search-trigger:hover .i, .search-trigger:hover .kbd,
  #theme-toggle:hover svg,
  .comp-type-btn:hover, .comp-type-btn:active,
  .stepper button:active,
  .topup-pack-card:active,
  .file-drop:hover, .file-drop:hover .file-drop-icon,
  .file-drop:hover .file-drop-badge, .file-drop:hover .file-drop-badge kbd,
  .tabbar .nav-item:active, .tabbar .nav-item.active,
  .tabbar .nav-item.active .i{ transform:none !important; }
}














.studio-box, .brand-name .studio-box, .brand .studio-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 1px 7px !important;
  border-radius: 5px !important;
  vertical-align: middle !important;
  line-height: 1.3 !important;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4) !important;
  white-space: nowrap !important;
}
