:root {
  --orange: #f7931a;
  --orange-strong: #ed6f09;
  --orange-soft: #fff1df;
  --red: #e5484d;
  --ink: #111216;
  --ink-2: #26272d;
  --muted: #696b76;
  --line: #e7e3de;
  --paper: #fffdfa;
  --white: #fff;
  --success: #148557;
  --radius-sm: .75rem;
  --radius: 1.15rem;
  --radius-lg: 1.7rem;
  --shadow: 0 18px 50px rgba(32, 21, 10, .09);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.55; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 44px; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { color: var(--orange-strong); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 1rem; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; border-radius: 999px; padding: .7rem 1.05rem; background: var(--orange); color: var(--white); font-weight: 800; cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { background: #ffa734; transform: translateY(-1px); }
.button.secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--orange); }
.button.dark { background: var(--ink); color: var(--white); }
.button.danger { background: transparent; color: var(--red); border-color: #f0c9ca; }
.button.small { min-height: 38px; padding: .48rem .8rem; font-size: .85rem; }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(247, 147, 26, .35); outline-offset: 2px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(24, 18, 10, .04); }
.field { display: grid; gap: .42rem; }
.field label, .label { color: var(--ink-2); font-size: .87rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #d9d5cf; border-radius: .8rem; background: #fff; color: var(--ink); padding: .72rem .85rem; }
.field textarea { min-height: 140px; resize: vertical; }
.hint { color: var(--muted); font-size: .78rem; }
.flash { margin: 1rem auto; border: 1px solid; border-radius: .9rem; padding: .8rem 1rem; font-weight: 650; }
.flash.success { background: #eaf8f1; border-color: #b6e4cf; color: #126540; }
.flash.error { background: #fff0f0; border-color: #f4caca; color: #9e272b; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .26rem .6rem; background: var(--orange-soft); color: #9e5208; font-size: .73rem; font-weight: 800; }
.pill.active { background: #e4f5ec; color: #126540; }
.pill.paused, .pill.triggered { background: #f1efec; color: #666; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.empty-state { padding: 2.5rem 1.2rem; text-align: center; }

@media (min-width: 760px) {
  .container { width: min(1160px, calc(100% - 3rem)); }
}
