@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("xiview/Lato-Regular.woff") format("woff"), url("xiview/Lato-Regular.ttf") format("truetype"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("xiview/Lato-Bold.woff") format("woff"), url("xiview/Lato-Bold.ttf") format("truetype"); }
:root {
  --ink: #222; --muted: #666; --line: #ddd; --bg: #fff; --accent: #091D42; --accent-ink: #fff;
  --error: #a40000; --ok: #2d6a2d;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 "Lato", Helvetica, Arial, sans-serif;
       color: var(--ink); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--accent); }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
               gap: .5rem 1.5rem; padding: .75rem 1.25rem; background: var(--accent); }
.site-header a, .site-header button.link { color: var(--accent-ink); text-decoration: none; }
.site-header nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
main { flex: 1; width: 100%; max-width: 70rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.narrow { max-width: 38rem; }
.site-footer { padding: 1rem; text-align: center; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); }
h1 { font-size: 1.75rem; margin: .5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); font-size: .9rem; }
.error { color: var(--error); }
.warning { background: #fff6e5; border-left: 4px solid #b36b00; padding: .25rem .75rem; margin: 1rem 0; }
.site-header .who { color: var(--accent-ink); opacity: .85; font-size: .9rem; overflow-wrap: anywhere; }
.flash { background: #f3f7f3; border-left: 4px solid var(--ok); padding: .5rem .75rem; }
label { display: block; margin: 1rem 0 .25rem; font-weight: 600; }
input[type=email], input[type=text] { width: 100%; padding: .55rem .6rem; font: inherit;
  border: 1px solid #bbb; border-radius: 4px; }
input[type=file] { display: block; margin-bottom: .25rem; max-width: 100%; }
button, .button { display: inline-block; margin-top: 1rem; padding: .5rem 1rem; font: inherit;
  color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; }
button.small { margin: 0; padding: .2rem .55rem; font-size: .85rem; }
button.danger { background: var(--error); }
button.link { background: none; padding: 0; margin: 0; }
form.inline { display: inline; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #f0a; outline-offset: 2px; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list td form { display: inline; }
.status-failed { color: var(--error); }
.status-running, .status-queued, .status-masses_given { color: var(--muted); }
code { background: #f4f4f4; padding: 0 .2em; }
@media (max-width: 40rem) { table.list th:nth-child(3), table.list td:nth-child(3) { display: none; } }
table.list input.group { width: 7rem; padding: .2rem .35rem; }
