/* Plain CSS (not @apply) so these work regardless of when Tailwind compiles. */
:root { color-scheme: dark; }
body { background: radial-gradient(1200px 500px at 80% -10%, rgba(6,182,212,.12), transparent),
  radial-gradient(900px 500px at -10% 10%, rgba(16,185,129,.10), transparent), #020617; min-height: 100vh; }
[hidden] { display: none !important; }
.card { background: #0f172a; border: 1px solid #1e293b; border-radius: 1rem; padding: 1rem; }
.rise { animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }
.field { width: 100%; background: #020617; border: 1px solid #334155; border-radius: .75rem; padding: .6rem .75rem;
  color: #e2e8f0; font-size: 16px; }  /* 16px stops mobile zoom-on-focus */
.field:focus { outline: 2px solid #22d3ee; outline-offset: 0; border-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: .75rem;
  padding: .55rem .9rem; font-weight: 600; font-size: .875rem; border: 1px solid #334155; background: #1e293b;
  color: #e2e8f0; transition: filter .15s, transform .05s; }
.btn:hover { filter: brightness(1.2); } .btn:active { transform: scale(.98); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-primary { background: linear-gradient(90deg,#10b981,#06b6d4); border-color: transparent; color: #022c22; }
.btn-danger { background: #450a0a; border-color: #7f1d1d; color: #fecaca; }
.btn svg { width: 1rem; height: 1rem; }
.chip { border-radius: 999px; border: 1px solid #334155; padding: .55rem .9rem; font-size: .875rem;
  background: #0f172a; color: #cbd5e1; }
.chip[aria-pressed="true"] { background: #0e7490; border-color: #22d3ee; color: #fff; }
.label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin-bottom: .25rem; }
.tab[aria-selected="true"] { background: #1e293b; color: #67e8f9; }
dialog { background: #0f172a; color: #e2e8f0; border: 1px solid #334155; border-radius: 1rem; width: min(34rem, 95vw);
  max-height: 92vh; }
dialog#entry { padding: 1.25rem; margin: auto; }
dialog::backdrop { background: rgba(2,6,23,.75); backdrop-filter: blur(3px); }
.num { font-variant-numeric: tabular-nums; }
#toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); z-index: 50; max-width: 92vw; }
@media (max-width: 480px) { nav[role="tablist"] .tab { flex: 1; flex-direction: column; gap: .15rem; padding: .35rem .2rem !important; font-size: .75rem; } }
