/* ECHO shared design tokens and primitives
   Style: claymorphism. Light, calm, medical-grade typography.
   Typeface: Google Sans variable (local, OFL) for both UI and display. */

/* Google Sans variable fonts — served locally so the app works offline. */
@font-face {
  font-family: "Google Sans";
  src: url("/fonts/GoogleSans-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("/fonts/GoogleSans-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Reduced motion override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Perspective-aware 3D tilt + depth */
:root {
  --perspective: 900px;
  --tilt-intensity: 1;
}

/* ============ EXISTING TOKENS (preserved) ============ */

:root {
  /* Base surfaces — the 60% warm white */
  --bg: #fffdf8;
  --bg-deep: #f3ecdf;
  --surface: #fffdf8;
  --surface-2: #f8f3ea;
  --line: #ece4d6;
  --line-strong: #ddd2bf;

  /* Ink */
  --text: #254d70;
  --text-soft: #4d6e8a;
  --text-faint: #7f98ab;
  --ink-on-fill: #22405c;

  /* Accents: deep navy primary + muted teal secondary */
  --accent: #254d70;
  --accent-deep: #1d3f5c;
  --accent-ink: #ffffff;
  --accent-soft: #e2f4ef;
  --clay: #a8d5cc;
  --clay-deep: #5fa79b;
  --clay-soft: #eaf7f4;
  --teal-ink: #2f6f66;

  /* Navy chrome — the 30% solid top-bar mass.
     Both always-on top bars (patient tablet + nurse dashboard) fill with
     this gradient and switch to warm-white ink; --chrome-edge is the ghost
     button outline. The teal family above keeps its exact hex so every
     existing rgba() shadow tuned to it stays valid. */
  --chrome-top: #2e5b82;
  --chrome: #254d70;
  --chrome-ink: #fffdf8;
  --chrome-ink-soft: rgba(255, 253, 248, .75);
  --chrome-edge: rgba(255, 253, 248, .38);

  /* Status */
  --alert: #d45454;
  --alert-deep: #b84444;
  --alert-soft: #fbe4e4;
  --ok: #4a9d6f;
  --ok-soft: #e0f0e7;
  --warn: #c98a2d;
  --warn-soft: #f6ecd9;

  /* Clay shadows */
  --clay-shadow:
    8px 8px 18px rgba(37, 77, 112, 0.16),
    -8px -8px 18px rgba(255, 255, 255, 0.85),
    inset 1px 1px 2px rgba(255, 255, 255, 0.65),
    inset -1px -2px 3px rgba(37, 77, 112, 0.09);
  --clay-raised:
    10px 12px 24px rgba(37, 77, 112, 0.18),
    -8px -8px 20px rgba(255, 255, 255, 0.9),
    inset 1px 2px 3px rgba(255, 255, 255, 0.7),
    inset -2px -3px 5px rgba(37, 77, 112, 0.12);
  --clay-pressed:
    inset 4px 4px 9px rgba(37, 77, 112, 0.2),
    inset -3px -3px 8px rgba(255, 255, 255, 0.8);
  --clay-sm:
    5px 6px 12px rgba(37, 77, 112, 0.14),
    -4px -4px 10px rgba(255, 255, 255, 0.8);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --font-ui: "Google Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-display: "Google Sans", Georgia, serif;
}

:root {
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(37, 77, 112, .06), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(168, 213, 204, .12), transparent 55%);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; touch-action: manipulation; color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* Icon sizing helper */
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic-lg { width: 2em; height: 2em; }

/* Display headings share a balanced wrapping rhythm across every screen. */
h1, h2, h3 { text-wrap: balance; }

/* Clay brand mark — the soft sky tile behind every page logo. Pages only
   rescale it (gate 76px, topbar 38px, docs 42px...); this base keeps the
   stethoscope-heart logo centered and inside the tile at every size. */
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(160deg, #eef8ff, #dceeff);
  box-shadow: var(--clay-sm), inset 1px 1px 2px rgba(255,255,255,.85), inset -1px -2px 3px rgba(37,77,112,.12);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark .ic { width: 96%; height: 96%; object-fit: contain; }

/* ---------- Clay primitives ---------- */

.clay, .card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.card { padding: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 650; border-radius: var(--radius-md); padding: 12px 22px;
  font-size: 15.5px; letter-spacing: .005em; line-height: 1.15;
  background: var(--surface);
  box-shadow: var(--clay-sm);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--text);
  white-space: nowrap;
  transition: transform .1s ease, box-shadow .15s ease, background .15s ease;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: translateY(2px) scale(.99); box-shadow: var(--clay-pressed); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Hover lift: springy clay feedback on every solid button (pointer devices only) */
@media (hover: hover) {
  .btn:not(:disabled):hover { transform: translateY(-2px); transition-duration: .12s; transition-timing-function: cubic-bezier(.2, .9, .3, 1.4); }
  .btn-mint:not(:disabled):hover { filter: brightness(1.05); box-shadow: 6px 10px 20px rgba(37, 77, 112, .4), -4px -4px 10px rgba(255, 255, 255, .5), inset 1px 1px 2px rgba(255, 255, 255, .4), inset -1px -2px 4px rgba(29, 63, 92, .28); }
  .btn-red:not(:disabled):hover { filter: brightness(1.05); box-shadow: 6px 10px 20px rgba(184, 68, 68, .4), -4px -6px 14px rgba(255, 255, 255, .5), inset 1px 1px 2px rgba(255, 255, 255, .35), inset -1px -2px 4px rgba(130, 45, 45, .3); }
  .btn-ghost:not(:disabled):hover { transform: translateY(-1px); }
  .btn:active, .btn:active:not(:disabled):hover { transform: translateY(1px) scale(.99); transition-duration: .06s; }
}

/* Keyboard focus ring: visible, calm, clay-friendly */
.btn:focus-visible, a:focus-visible, input:focus-visible, label:focus-visible {
  outline: 3px solid rgba(37, 77, 112, .55);
  outline-offset: 2px;
  border-radius: inherit;
}
input:focus-visible, dialog input:focus-visible { outline-offset: 0; border-radius: var(--radius-md); }

.btn-mint {
  background: linear-gradient(145deg, #35658e, #254d70);
  color: var(--accent-ink);
  border-color: rgba(255, 255, 255, .35);
  box-shadow:
    6px 8px 16px rgba(37, 77, 112, .32),
    -4px -4px 10px rgba(255, 255, 255, .5),
    inset 1px 1px 2px rgba(255, 255, 255, .4),
    inset -1px -2px 4px rgba(29, 63, 92, .28);
}
.btn-mint:hover { filter: brightness(1.04); }

.btn-clay {
  background: linear-gradient(145deg, #c3e5de, #a8d5cc);
  color: var(--text);
  border-color: rgba(255, 255, 255, .45);
  box-shadow:
    6px 8px 16px rgba(111, 179, 167, .28),
    -4px -4px 10px rgba(255, 255, 255, .5),
    inset 1px 1px 2px rgba(255, 255, 255, .4),
    inset -1px -2px 4px rgba(29, 63, 92, .3);
}

.btn-red {
  background: linear-gradient(145deg, #dd6161, #c04b4b);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  box-shadow:
    6px 8px 16px rgba(184, 68, 68, .3),
    -4px -4px 10px rgba(255, 255, 255, .5),
    inset 1px 1px 2px rgba(255, 255, 255, .35),
    inset -1px -2px 4px rgba(130, 45, 45, .3);
}
.btn-red:hover { filter: brightness(1.05); }

.btn-ghost { box-shadow: none; background: transparent; border-color: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); box-shadow: var(--clay-sm); }

.btn-link { box-shadow: none; background: none; color: var(--accent-deep); text-decoration: underline; padding: 4px 6px; }

/* Tiny pill buttons in toolbars. min-height keeps touch targets 44px+ on phones. */
.btn-sm { padding: 7px 14px; font-size: 13px; font-weight: 650; letter-spacing: .005em; line-height: 1.15; border-radius: 12px; gap: 7px; min-height: 34px; }
/* Touch screens: every small control meets the 44px tap floor, including
   pills, chips and banner actions that aren't .btn. Hover devices keep the
   compact desktop metrics. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .btn { min-height: 44px; }
  .role-nav .badge { min-height: 44px; }
  .conn-banner-action { min-height: 44px; }
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px;
  border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--clay-sm);
  white-space: nowrap;
}
.badge b { color: var(--text); }

/* Clickable badges (role-nav switches) get gentle hover feedback */
a.badge { text-decoration: none; transition: transform .12s ease, box-shadow .15s ease, color .12s ease, background .15s ease; }
@media (hover: hover) {
  a.badge:hover { transform: translateY(-2px); box-shadow: var(--clay-raised); color: var(--text); }
  a.badge:active { transform: translateY(1px); box-shadow: var(--clay-pressed); }
}
.badge.ok { background: var(--ok-soft); color: #2f7a50; }
.badge.alert { background: var(--alert-soft); color: #a63a3a; }
.badge.clay { background: var(--clay-soft); color: #1d3f5c; }
.badge.mint { background: var(--accent-soft); color: var(--teal-ink); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); display: inline-block; flex: none; box-shadow: inset 1px 1px 2px rgba(0,0,0,.18); }
.dot.on { background: var(--ok); }

/* ═══════════════════ NAVY CHROME · the 30% navy mass ═══════════════════
   The two always-on top bars — patient tablet (.p-top) and nurse station
   (.n-top) — are solid deep navy with warm-white ink; everything below
   them stays warm white. Buttons in the bars become warm-white ghosts,
   the bar's primary action inverts to a warm-white solid, and focus rings
   go light so they stay visible on the dark fill. Clinical colors
   (emergency red, severity green/amber/red) are untouched. */
.p-top, .n-top {
  background: linear-gradient(180deg, var(--chrome-top), var(--chrome) 62%);
  color: var(--chrome-ink);
  border-bottom: 2px solid rgba(168, 213, 204, .55);
  box-shadow: 0 4px 16px rgba(18, 33, 49, .32);
}
.p-top .btn, .n-top .btn {
  background: transparent;
  border-color: var(--chrome-edge);
  color: var(--chrome-ink);
  box-shadow: none;
}
/* Wait for input before firing: pointer devices get a soft light wash. */
@media (hover: hover) {
  .p-top .btn:not(:disabled):hover, .n-top .btn:not(:disabled):hover { background: rgba(255, 253, 248, .12); }
}
.p-top .btn-ghost, .n-top .btn-ghost { color: var(--chrome-ink-soft); }
.p-top .btn-ghost:hover, .n-top .btn-ghost:hover { color: var(--chrome-ink); background: rgba(255, 253, 248, .1); }
/* The primary action in each bar inverts: warm-white solid, navy ink. */
.n-top .btn-mint {
  background: var(--chrome-ink);
  color: var(--chrome);
  border-color: transparent;
}
#btnDial {
  background: var(--chrome-ink);
  color: var(--chrome);
  border-color: transparent;
}
/* Light focus rings — the default navy ring vanishes on the navy bar. */
.p-top :focus-visible, .n-top :focus-visible { outline-color: rgba(255, 253, 248, .85); }
/* Brand text and helper words sit directly on navy. */
.p-top .brand-name, .n-top .n-brand, .n-top .n-logo-word { color: var(--chrome-ink); }
.n-top .dash-word { color: var(--chrome-ink-soft); }
/* Light glass chips (bed count, nurse identity) punched out of the bar. */
.n-top .badge {
  background: rgba(255, 253, 248, .92);
  border-color: transparent;
  color: var(--chrome);
  box-shadow: 0 2px 6px rgba(18, 33, 49, .25);
}
.n-top .badge b { color: var(--chrome); }
.n-top .nurse-chip {
  background: rgba(255, 253, 248, .92);
  border-color: transparent;
  color: var(--chrome);
  box-shadow: 0 2px 6px rgba(18, 33, 49, .25);
}
.n-top .nurse-chip:hover { box-shadow: 0 4px 10px rgba(18, 33, 49, .3); }
.n-top .nurse-chip .nurse-name { color: var(--chrome); }
.n-top .nurse-chip .nurse-unit { color: var(--text-soft); }
/* Capability chips stay the 10% teal accent — readable on navy. */
.p-top .badge.mint, .n-top .badge.mint {
  background: rgba(168, 213, 204, .95);
  color: #1d4a45;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(18, 33, 49, .2);
}

/* Dialog */
dialog {
  border: none; border-radius: var(--radius-xl);
  background: var(--surface); color: var(--text); padding: clamp(16px, 4vw, 24px);
  width: min(92vw, 500px); max-height: 88vh; max-height: 88dvh;
  overflow-y: auto; box-shadow: var(--clay-raised);
}
dialog::backdrop { background: rgba(29, 48, 66, .45); backdrop-filter: blur(3px); }
.dlg-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 0 0 12px; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* Toast */
.ack {
  position: fixed; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%);
  background: var(--surface); color: var(--text);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--clay-raised);
  border-radius: var(--radius-lg); padding: 14px 22px; font-weight: 700; font-size: 16px;
  z-index: 60; max-width: 92vw; text-align: center;
  border-left: 6px solid var(--accent);
}
.ack.red { border-left-color: var(--alert); }

/* ---------- Button loading spinner ---------- */
.btn-spinner {
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-busy-label { opacity: .95; }

/* ---------- Connection banner (offline / reconnecting) ---------- */
.conn-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 700;
  color: #7a4d13;
  background: linear-gradient(145deg, #f9ecd2, #f4e2bd);
  border-bottom: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 6px 18px rgba(103,112,108,.14);
  animation: connbannerin .3s ease;
}
/* toastin is for centered toasts (it hard-codes translateX(-50%)); a
   full-width banner must not borrow it or it flies in from off-screen. */
@keyframes connbannerin {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.conn-banner[data-state="offline"] { color: #8c3030; background: linear-gradient(145deg, #fbe4e4, #f7d6d6); }
.conn-banner-icon { width: 15px; height: 15px; flex: none; }
.conn-banner-action { border: 0; border-radius: 999px; padding: 5px 11px; color: #1d3f5c; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.conn-banner-action:hover { background: #e2f4ef; }
.conn-banner--leaving { opacity: 0; transition: opacity .3s ease; }

/* ---------- App splash / loading screen ---------- */
.app-splash {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: var(--bg); color: var(--text);
}
.app-splash-mark {
  width: 84px; height: 84px; border-radius: 26px;
  background: linear-gradient(160deg, #eef8ff, #dceeff);
  box-shadow: var(--clay-raised), inset 1px 1px 2px rgba(255,255,255,.85), inset -1px -2px 3px rgba(37,77,112,.12);
  display: flex; align-items: center; justify-content: center;
  animation: splash-breath 2.2s ease-in-out infinite;
}
.app-splash-mark svg, .app-splash-mark img { width: 78px; height: 78px; object-fit: contain; }
.app-splash-word {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .06em;
}

/* Extruded clay wordmark: letterpress depth built from stacked text-shadows.
   Reads as part of the same 3D clay world — soft, matte, no neon. */
.clay-title {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .9),
    0 2px 0 rgba(255, 255, 255, .55),
    0 1px 2px rgba(37, 77, 112, .28),
    0 3px 6px rgba(37, 77, 112, .22),
    0 8px 18px rgba(37, 77, 112, .14);
}
.app-splash-dots { display: flex; gap: 9px; }
.app-splash-dots::before,
.app-splash-dots::after,
.app-splash-dot {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--clay-deep);
  animation: splash-dot 1.3s ease-in-out infinite;
}
.app-splash-dots::after { animation-delay: .28s; }
.app-splash-dot { animation-delay: .14s; }
@keyframes splash-breath {
  0%, 100% { transform: scale(1); box-shadow: var(--clay-raised); }
  50% { transform: scale(1.07); box-shadow: var(--clay-raised), 0 0 0 10px rgba(37, 77, 112, .08); }
}
@keyframes splash-dot {
  0%, 100% { opacity: .35; transform: translateY(0) scale(.85); }
  40% { opacity: 1; transform: translateY(-4px) scale(1); }
}
.app-splash--done { opacity: 0; transition: opacity .24s ease; pointer-events: none; }

/* Content settles in gently once the splash leaves (JS adds .app-booting to <html>, removes it via removeSplash). */
.app-booting .app-fade { opacity: 0; }
.app-fade { transition: opacity .3s ease; }

/* ---------- 3D clay tilt (data-tilt) glare + depth ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
/* Glare only when an element opts in with .glare, so pseudo-element decorations on cards (auras, tap rings) never conflict. */
[data-tilt].glare::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  /* Soft directional sheen: an off-center elliptical highlight, like light
     raking across matte clay — no hard white spot. */
  background: radial-gradient(90% 70% at calc(var(--glare-x, 50%) - 8%) calc(var(--glare-y, 30%) - 6%),
              rgba(255, 255, 255, .34), rgba(255, 255, 255, .1) 42%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  transition: opacity .35s ease;
}
[data-tilt].glare:hover::after { opacity: 1; }
/* Cards that declare a movable shadow get the tilt-linked azimuth. */
[data-tilt][data-shadow] {
  box-shadow:
    var(--tilt-shadow-x, 10px) var(--tilt-shadow-y, 16px) 32px rgba(37, 77, 112, .18),
    calc(var(--tilt-shadow-x, 10px) * -.7) calc(var(--tilt-shadow-y, 16px) * -.6) 22px rgba(255, 255, 255, .9),
    inset 1px 1px 3px rgba(255, 255, 255, .9),
    inset -3px -4px 8px rgba(37, 77, 112, .08);
  transition: box-shadow .25s ease;
}

/* ---------- Toast entrance ---------- */
.ack { animation: toastin .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes toastin {
  from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.92); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* ============ 3D ENHANCEMENTS END ============ */

/* ---------- Responsive & preferences ---------- */

@media (max-width: 860px) {
  .roles-grid {
    grid-template-columns: minmax(0, 560px);
    justify-content: center; gap: 22px;
  }
}
@media (max-width: 560px) {
  .chooser-wrap {
    padding: calc(14px + var(--safe-t)) 16px calc(18px + var(--safe-b));
  }
  .brand-badge { padding: 8px 18px 8px 8px; gap: 10px; }
  .brand-mark-lg { width: 40px; height: 40px; border-radius: 14px; }
  .roles-grid { gap: 18px; margin-bottom: 20px; }
  .role-card {
    padding: 28px 18px 18px;
    border-radius: 24px;
    box-shadow:
      10px 14px 28px rgba(37, 77, 112, .16),
      -8px -8px 20px rgba(255, 255, 255, .92),
      inset 1px 1px 3px rgba(255, 255, 255, .95),
      inset -3px -4px 8px rgba(37, 77, 112, .10);
  }
  .role-card::before { left: 20px; right: 20px; top: 11px; }
  .role-card h2 {
    font-size: clamp(20px, 6vw, 23px);
    margin-bottom: 6px;
  }
  .role-card p.desc {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .role-icon-circle {
    width: 56px; height: 56px; margin-bottom: 12px; border-radius: 18px;
  }
  .role-step { width: 34px; height: 34px; }
  .feature-list { border-radius: 16px; padding: 10px 12px; margin-bottom: 16px; }
  .role-card .feature-item { font-size: 13.4px; }
  .btn-role {
    padding: 13px 14px;
    min-height: 54px;
    font-size: clamp(14.5px, 4vw, 16px);
    border-radius: 16px;
  }
  .chooser-footer {
    flex-direction: column; align-items: stretch; text-align: center; gap: 10px;
    border-radius: 20px;
  }
  .chooser-footer .brand-line { text-align: center; }
  .footer-links {
    justify-content: stretch; width: 100%; gap: 8px; flex-direction: column;
  }
  .footer-link {
    width: 100%; justify-content: center; padding: 11px 12px; font-size: 13px; min-height: 44px;
  }
  .bg-decor .blob { filter: blur(60px); opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}