/* ListMarshal app: dashboard and store check. Same brand as the site: deep navy ink, signal green. */
:root {
  --bg: #f5f6f2;
  --panel: #ffffff;
  --panel-2: #f0f3ee;
  --ink: #0e1726;
  --ink-2: #2a3445;
  --muted: #5f6670;
  --line: #e4e7e1;
  --line-2: #d4d9d1;
  --navy: #0e1726;
  --navy-2: #1b2433;
  --navy-3: #283346;
  --green: #12c26b;
  --green-ink: #0a7a43;
  --green-soft: #ddf7e9;
  --red: #e5484d;
  --red-ink: #b42318;
  --red-soft: #fdecec;
  --amber: #f5a524;
  --amber-ink: #9a5b00;
  --amber-soft: #fff3dc;
  --blue: #3e7bfa;
  --blue-ink: #1f56c9;
  --blue-soft: #e6eeff;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 8px 24px -12px rgba(14, 23, 38, .12);
  --shadow-lg: 0 24px 64px -24px rgba(14, 23, 38, .35), 0 2px 6px rgba(14, 23, 38, .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-text: "Funnel Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- brand mark */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 18px/1 var(--font-display); letter-spacing: -.01em; text-decoration: none; }
.logo__mark { width: 22px; height: 22px; flex: none; }

/* ---------- buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--spring), background-color .2s, box-shadow .25s var(--ease), border-color .2s, opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--primary { background: var(--green); color: #07130c; box-shadow: 0 6px 18px -8px rgba(18, 194, 107, .7), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn--primary:hover { background: #14d176; box-shadow: 0 10px 24px -8px rgba(18, 194, 107, .75), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1b2740; }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { background: var(--panel); border-color: var(--ink); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.is-busy .btn__label { opacity: .6; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- pills / status */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--disapproved, .pill--fail, .pill--critical { color: var(--red-ink); background: var(--red-soft); }
.pill--limited, .pill--warn, .pill--high, .pill--warning { color: var(--amber-ink); background: var(--amber-soft); }
.pill--pending, .pill--medium { color: var(--blue-ink); background: var(--blue-soft); }
.pill--approved, .pill--pass { color: var(--green-ink); background: var(--green-soft); }
.pill--low { color: var(--muted); background: var(--panel-2); }

/* ---------- entrance motion */
.rise { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.fade { opacity: 0; animation: fade .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes fade { to { opacity: 1; } }
.skel { position: relative; overflow: hidden; background: var(--panel-2); border-radius: var(--r-sm); }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .rise, .fade { opacity: 1; transform: none; }
}

/* ---------- toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .45s var(--spring), opacity .3s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast--bad { background: var(--red-ink); }
