@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;600&display=swap");
:root {
  color-scheme: light;
  --bg: #f3efe6; --fg: #1d2420; --muted: #66706a; --accent: #e0592a;
  --border: #ddd5c4; --radius: 14px; --font: "Inter", sans-serif; --head: "Space Grotesk", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); }
h1, h2, h3 { font-family: var(--head); margin: 0; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
.band { background: #1f3a2f; color: #f3efe6; padding: 2.5rem 0; }
.band h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; color: #f5a07f; font-size: .8rem; margin: 0 0 .4rem; }
.stats { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.stat { background: rgba(255,255,255,.1); padding: .4rem .9rem; border-radius: 999px; }
.layout { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 3rem; }
@media (min-width: 860px) { .layout { grid-template-columns: 22rem 1fr; align-items: start; } }
.card { background: #fffdf8; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.stack { display: flex; flex-direction: column; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.input { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; width: 100%; }
.input:focus, .btn:focus-visible { outline: 3px solid #f5a07f; outline-offset: 1px; }
.btn { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: .65rem 1rem; cursor: pointer; }
.btn:disabled { opacity: .6; }
.btn.ghost { background: transparent; color: #1f3a2f; border: 1px solid #1f3a2f; }
.jobs { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.job { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: #fffdf8; border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.1rem; }
.job.done { border-left-color: #3d8a5f; opacity: .8; }
.job.done h3 { text-decoration: line-through; }
.job-body { flex: 1 1 14rem; min-width: 0; }
.job p { margin: .3rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.loading { display: flex; gap: .6rem; align-items: center; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: var(--border); border-radius: 8px; min-height: 1rem; }
.empty { text-align: center; padding: 2rem; color: var(--muted); }
.empty-title { font-weight: 600; color: var(--fg); }
.alert { padding: .75rem 1rem; border-radius: 10px; }
.alert-error { background: #fbe3da; color: #8a2c0e; }
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: var(--border); font-size: .8rem; }
