:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #eef4f7;
  background: #111a24;
  --panel: #192632;
  --line: #334858;
  --muted: #adc1ce;
  --orange: #ffa65b;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 70% 0, #174353 0, transparent 42rem); }
header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
main { width: min(100% - 2rem, 76rem); margin: 2rem auto 4rem; }
a { color: var(--orange); }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 750; }
.brand img { border-radius: .6rem; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.05em; }
h2 { font-size: 1.35rem; margin: .6rem 0 .25rem; }
p { color: var(--muted); line-height: 1.5; }
.intro, nav, .lot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.intro, .lot-top { justify-content: space-between; }
nav { margin: 1.25rem 0; }
nav a { padding: .5rem 0; }
nav [aria-current] { color: #fff; text-decoration-thickness: .2rem; text-decoration-color: var(--orange); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.filters, .fields { display: grid; gap: 1rem; align-items: end; }
.filters { grid-template-columns: 2fr 1fr auto; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.login, .editor { max-width: 46rem; margin: 1.5rem auto; }
.login { max-width: 28rem; }
.login .fields { grid-template-columns: 1fr; margin-top: 1.2rem; }
label { display: grid; gap: .4rem; color: var(--muted); }
input, select, button, .primary, .quiet { font: inherit; border-radius: .6rem; padding: .64rem .8rem; border: 1px solid var(--line); }
input, select { width: 100%; background: #101923; color: inherit; }
button, .primary, .quiet { cursor: pointer; display: inline-block; text-decoration: none; }
.primary { background: var(--orange); color: #241509; font-weight: 750; border-color: var(--orange); }
.quiet { background: #213441; color: #f0f7fc; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.lot { animation: entrar .35s ease-out both; transition: border-color .2s; }
.lot:hover { border-color: var(--orange); }
.lot-top { font-size: .78rem; color: var(--muted); gap: .45rem; }
.status { padding: .3rem .6rem; border-radius: 2rem; background: #253947; }
.due, .notice { color: var(--orange); }
dl { display: grid; gap: .45rem; }
dl div { display: grid; grid-template-columns: 1fr 1.1fr; gap: .4rem; font-size: .88rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.error { color: #ffb79b; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 38rem) { .filters, .fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
