/* ==========================================================================
   finelivo — budżet domowy · mobile UI (styl: Monochrome)
   ========================================================================== */

:root {
  /* palette */
  --ink: #0c0c0d;
  --ink-2: #2a2a2d;
  --muted: #8b8b92;
  --muted-2: #b9b9bf;
  --line: rgba(12, 12, 13, .08);
  --white: #fff;
  --glass: rgba(255, 255, 255, .55);
  --glass-border: rgba(255, 255, 255, .85);
  --track: #c9c9ce;
  --danger: #e5484d;

  /* app background */
  --app-bg:
    radial-gradient(90% 45% at 85% -5%, rgba(214, 200, 240, .55) 0%, transparent 60%),
    radial-gradient(70% 40% at 0% 0%, rgba(255, 255, 255, .9) 0%, transparent 70%),
    linear-gradient(180deg, #f2f2f4 0%, #e3e3e7 100%);
  --page-bg: #f3f3f5;

  /* shape */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --pill: 999px;

  /* depth */
  --shadow-soft: 0 10px 28px -14px rgba(0, 0, 0, .22);
  --shadow-dark: 0 16px 30px -12px rgba(0, 0, 0, .5);

  /* type */
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* layout */
  --gutter: 20px;
  --top: calc(env(safe-area-inset-top, 0px) + 18px);
  --bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #e3e3e7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

/* ---------- icons ---------- */
.ic { width: 24px; height: 24px; flex: none; }
.ic--lg { width: 40px; height: 40px; }
.ic--sm { width: 20px; height: 20px; }
.ic--xs { width: 14px; height: 14px; }
.ic--muted { color: var(--muted); }

/* ---------- logo: ring budżetu ---------- */
.logo {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--ink) 0 270deg, var(--track) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35%);
          mask: radial-gradient(circle, transparent 0 34%, #000 35%);
}
.logo--sm { width: 34px; height: 34px; margin-left: 9px; }
.logo--xs { width: 14px; height: 14px; }

/* ==========================================================================
   App shell — pełny ekran; na szerokim ekranie kolumna o szerokości telefonu
   ========================================================================== */
.device {
  position: relative;
  width: 100%; max-width: 480px;
  height: 100vh; height: 100dvh;
  margin: 0 auto;
}
.app {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--app-bg);
  isolation: isolate;
}
@media (min-width: 481px) {
  .app { box-shadow: 0 0 60px -20px rgba(0, 0, 0, .25); }
}

/* ==========================================================================
   Screens & routing (pure CSS via :target)
   ========================================================================== */
.screen {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  animation: screen-in .35s ease;
}
.screen:target,
.app:not(:has(.screen:target)) #home { display: flex; }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.screen__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--top) var(--gutter) 28px;
  scrollbar-width: none;
}
.screen__body::-webkit-scrollbar { display: none; }
.screen--nav .screen__body { padding-bottom: calc(var(--bottom) + 130px); }

/* soft fade behind the floating tab bar */
.screen--nav::after {
  content: ""; position: absolute; inset: auto 0 0; height: 130px;
  background: linear-gradient(180deg, transparent, rgba(227, 227, 231, .95) 65%);
  pointer-events: none; z-index: 1;
}

/* ==========================================================================
   Primitives
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 58px; padding: 0 24px; border-radius: var(--pill);
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  width: 100%;
  background: var(--ink); color: var(--white);
  box-shadow: var(--shadow-dark);
}
.btn--primary:disabled {
  background: var(--muted-2); box-shadow: none;
  cursor: not-allowed; transform: none;
}
.btn--ghost { width: 100%; background: rgba(12, 12, 13, .06); }

.circle-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  flex: none;
  transition: transform .15s;
}
.circle-btn:active { transform: scale(.94); }
.circle-btn--dark { color: var(--white); background: var(--ink); box-shadow: var(--shadow-dark); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: var(--pill);
  background: var(--white); color: var(--ink);
  font-size: 12px; font-weight: 500;
}
.chip--light { box-shadow: var(--shadow-soft); }
.chip--muted {
  height: 28px; padding: 0 10px;
  background: rgba(12, 12, 13, .06); color: var(--ink-2);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}

.arrow-btn {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .9);
}

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.icon-btn:hover { color: var(--ink); background: rgba(12, 12, 13, .05); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; background: none; color: var(--muted); }

/* ---------- topbar ---------- */
.topbar {
  display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px;
  align-items: center; min-height: 52px;
}
.topbar > :last-child { justify-self: end; }
.topbar h1 {
  text-align: center;
  font-size: 20px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15;
}
.topbar .wordmark { font-size: 24px; font-weight: 700; letter-spacing: -.05em; }

/* ---------- section ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.section-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -.04em; }

/* ---------- rows & groups ---------- */
.group {
  margin-top: 10px; padding: 4px 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .7);
}
.group--spaced { margin-top: 22px; }
.group > li + li { border-top: 1px solid var(--line); }

.row {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 12px 0;
  transition: opacity .2s;
}
a.row:active, button.row:active { opacity: .6; }
.row__icon {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--white);
}
/* kafelek kategorii: koło w kolorze kategorii, ikona w kolorze tła */
.row__icon.cat { background: var(--cc); color: var(--ci); }
.row__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.row > .row__title { flex: 1; }
.row__title { font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.row__sub { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__amt { font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.row__val { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row__pct { font-size: 12px; color: var(--muted); }
.row__check { color: var(--ink); }

/* ---------- fields ---------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.label {
  display: block; margin: 0 6px 8px;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
}
.label span { color: var(--muted); font-weight: 400; }

.input {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 18px 0 22px;
  border-radius: var(--pill);
  border: 1px solid rgba(12, 12, 13, .14);
  background: rgba(255, 255, 255, .35);
  transition: border-color .2s, background .2s;
}
.input:focus-within { border-color: var(--ink); background: rgba(255, 255, 255, .85); }
.input.is-invalid { border-color: var(--danger); }
.input input, .input select {
  flex: 1; width: 100%; min-width: 0; height: 100%;
  border: 0; background: none; outline: none;
  font-size: 16px;
}
.input input::placeholder { color: var(--muted); }
.input__suffix { color: var(--muted); font-size: 15px; }
.input__clear {
  width: 34px; height: 34px; margin-right: -8px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
}
.input__clear:hover { color: var(--ink); }
.input--date { cursor: pointer; }
.input__value { flex: 1; font-size: 16px; }
.input .input__native {
  position: absolute; inset: 0; width: 100%;
  opacity: 0; cursor: pointer;
}

/* ==========================================================================
   01 · Mój budżet
   ========================================================================== */
.wallet {
  position: relative; overflow: hidden;
  margin-top: 20px; padding: 22px 22px 18px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .22));
  border: 1px solid var(--glass-border);
  text-align: center;
}
.wallet__sub { font-size: 14px; color: var(--muted); }
.wallet__balance {
  margin-top: 4px;
  font-size: 44px; font-weight: 700; letter-spacing: -.05em; line-height: 1.1;
  white-space: nowrap;
}
.wallet__balance.is-over { color: var(--danger); }
.wallet__of { margin-top: 4px; font-size: 14px; color: var(--muted); }
.wallet__of strong { color: var(--ink-2); font-weight: 500; }

/* licznik budżetu: pasek z kresek, kolorowa część = to, co zostało
   (błękit → lawenda z palety; poniżej 20% terakota jako ostrzeżenie) */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.meter {
  --p: 0%;
  --m1: #4757c8; --m2: #b98ae6;
  height: 30px; margin-top: 18px;
  background:
    linear-gradient(90deg, var(--m1), var(--m2)) 0 0 / var(--p) 100% no-repeat,
    var(--track);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 6px);
          mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 6px);
  transition: --p .8s cubic-bezier(.2, .8, .2, 1);
}
.meter.is-low { --m1: #ee5e36; --m2: #f4946c; }
.meter__legend {
  display: flex; justify-content: space-between;
  margin-top: 10px; font-size: 12px; color: var(--muted);
}
.meter__legend strong { color: var(--ink); font-weight: 600; }

.period { display: flex; justify-content: center; margin-top: 14px; }
.period .chip { height: 38px; padding: 0 16px; font-size: 13px; }
.period .chip span { font-weight: 600; }

.day { margin-top: 16px; }
.day__label {
  margin: 0 6px; font-size: 13px; font-weight: 500;
  color: var(--muted); letter-spacing: -.01em;
}
.day .group { margin-top: 8px; }

.empty {
  margin-top: 16px; padding: 28px 20px;
  border-radius: var(--r-lg);
  border: 1px dashed rgba(12, 12, 13, .18);
  text-align: center; font-size: 14px; color: var(--muted); line-height: 1.45;
}
.empty strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Tab bar
   ========================================================================== */
.tabbar {
  position: absolute; left: 16px; right: 16px; bottom: calc(var(--bottom) + 16px); z-index: 5;
  height: 68px; padding: 0 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-radius: var(--pill);
  background: rgba(238, 238, 241, .72);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
          backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .25);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 500;
  color: #a3a3a9;
  transition: color .2s;
}
.tab:hover { color: var(--ink-2); }
.tab.is-active { color: var(--ink); }
.fab {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  box-shadow: var(--shadow-dark), 0 0 0 6px rgba(243, 243, 245, .92);
  transform: translateY(-20px);
  transition: transform .15s;
}
.fab .ic { width: 28px; height: 28px; }
.fab:active { transform: translateY(-20px) scale(.94); }

/* ==========================================================================
   02 · Wydatki wg kategorii
   ========================================================================== */
.month {
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; margin-top: 18px; padding: 0 6px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-border);
}
.month strong { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.month__btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow-soft);
  transition: opacity .2s;
}
.month__btn:disabled { opacity: .35; box-shadow: none; cursor: default; }

.donut { position: relative; width: 232px; aspect-ratio: 1; margin: 22px auto 8px; }
.donut svg { width: 100%; height: 100%; overflow: visible; }
.donut__track { fill: none; stroke: rgba(12, 12, 13, .06); stroke-width: 34; }
.donut__seg {
  fill: none; stroke-width: 34; cursor: pointer;
  transition: opacity .25s, stroke-width .25s;
}
.donut__seg.is-dim { opacity: .18; }
.donut__seg.is-on { stroke-width: 42; }
.donut__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
}
.donut__center strong { font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.donut__center span { margin-top: 4px; max-width: 130px; font-size: 13px; color: var(--muted); }

.stats .row { text-align: left; }
.stats .row__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats .row__amt { font-weight: 700; }
.stats:has([aria-pressed="true"]) .row:not([aria-pressed="true"]) { opacity: .4; }
.stats .row[aria-pressed="true"] .row__pct { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   03 · Szczegóły wydatku
   ========================================================================== */
.pick-card {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding: 14px 18px 14px 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: transform .15s;
}
.pick-card:active { transform: scale(.985); }
.pick-card .row__icon { width: 54px; height: 54px; }
.pick-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pick-card__label { font-size: 12px; color: var(--muted); }
.pick-card__name { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }

.money {
  display: flex; align-items: center; gap: 12px;
  height: 80px; padding: 0 18px 0 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--glass-border);
  transition: border-color .2s, background .2s;
}
.money:focus-within { border-color: var(--ink); background: rgba(255, 255, 255, .85); }
.money__input {
  flex: 1; width: 100%; min-width: 0;
  border: 0; background: none; outline: none;
  font-size: 34px; font-weight: 700; letter-spacing: -.045em;
}
.money__input::placeholder { color: var(--muted-2); }

.cta-bar { padding: 14px var(--gutter) calc(var(--bottom) + 20px); }

/* ==========================================================================
   05 · Ustawienia
   ========================================================================== */
.cards { display: grid; gap: 10px; margin-top: 22px; }
.card-row {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-border);
  text-align: left;
  transition: transform .15s;
}
.card-row:active { transform: scale(.985); }
.card-row .row__icon { width: 50px; height: 50px; }
.card-row .row__title { font-size: 16px; font-weight: 600; }

.app-version {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 30px; font-size: 12px; color: var(--muted);
}

/* ==========================================================================
   06 · Zaplanuj budżet
   ========================================================================== */
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
  margin-top: 20px; padding: 20px 16px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-border);
}
.panel__title { margin: 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.fs { border: 0; min-width: 0; }
.fs legend { padding: 0; }

.radios li + li { border-top: 1px solid var(--line); }
.radio-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 6px; font-size: 16px; cursor: pointer;
}
.radio-row:has(:checked) span { font-weight: 600; }
.radio {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--muted-2); background: var(--white);
  cursor: pointer; transition: border-color .2s;
}
.radio::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1);
}
.radio:checked { border-color: var(--ink); }
.radio:checked::before { transform: scale(1); }

.start { display: flex; align-items: center; gap: 12px; }
.start__hint { font-size: 15px; color: var(--muted); }
.select { width: 112px; padding-right: 14px; }
.select--wide { width: 100%; }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select .ic { pointer-events: none; color: var(--muted); }

.range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range__item { display: grid; gap: 6px; }
.range__item > span:first-child { margin-left: 8px; font-size: 12px; color: var(--muted); }
.range .input { padding: 0 12px; }
.range .input input { font-size: 14px; }

.note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 14px; padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(12, 12, 13, .04);
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.note .ic { margin-top: 1px; color: var(--muted); }

/* ==========================================================================
   07 · Kategorie
   ========================================================================== */
.cat-list .row { padding: 10px 0; gap: 10px; }
.cat-list .row__icon { margin-right: 4px; }
.vr { width: 1px; height: 22px; background: var(--line); flex: none; }
.hint { margin: 14px 8px 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ==========================================================================
   08 · Twoje dane
   ========================================================================== */
.profile-head { display: flex; flex-direction: column; align-items: center; margin-top: 14px; text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  border: 4px solid var(--white);
  background: radial-gradient(circle at 35% 30%, #5a5a5f, #121214 70%);
  color: var(--white); font-size: 30px; font-weight: 600; letter-spacing: -.02em;
  box-shadow: var(--shadow-soft);
}
.profile-name { margin-top: 12px; font-size: 26px; font-weight: 600; letter-spacing: -.05em; }
.profile-mail { margin-top: 2px; font-size: 14px; color: var(--muted); }
.form-error { margin: -8px 8px 0; font-size: 13px; color: var(--danger); }

/* ==========================================================================
   Bottom sheet & toast
   ========================================================================== */
.sheet { position: absolute; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s .35s; }
.sheet.is-open { visibility: visible; transition: none; }
.sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 12, 13, .32);
  opacity: 0; transition: opacity .3s;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: grid; gap: 16px;
  max-height: calc(100% - 70px); overflow-y: auto;
  padding: 10px 18px calc(var(--bottom) + 20px);
  border-radius: 40px;
  background: #f6f6f8;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--track); }
.sheet__title { margin: 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.sheet__text { margin: -8px 6px 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.sheet__badge {
  justify-self: start; margin: 6px 0 -4px 6px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow-soft);
}
.sheet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }

.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.icon-opt { display: block; }
.icon-opt span {
  aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.icon-opt input:checked + span { background: var(--ink); color: var(--white); box-shadow: var(--shadow-dark); }
.icon-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.toast {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); left: 50%; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--pill);
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-dark);
  opacity: 0; transform: translate(-50%, -16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, .radio:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--primary:focus-visible, .circle-btn--dark:focus-visible, .fab:focus-visible { outline-color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .wallet__balance { font-size: 38px; }
  .money__input { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
