:root {
  color: #1c1915;
  background: #f4f0e8;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
}

header, .narrow, .layout {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 28px 0 8px;
}

.narrow { padding: 10vh 0 48px; max-width: 420px; }

h1, h2 { font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: 2.4rem; margin: 0; }
h2 { font-size: 1.3rem; margin: 28px 0 8px; }

.eyebrow {
  margin: 0 0 6px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d6458;
}

.lede, .hint { color: #4e463c; line-height: 1.45; }

.layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  padding-bottom: 64px;
}

form, .card, .job {
  background: #fffdf8;
  border: 1px solid #e2d9cb;
  border-radius: 16px;
  padding: 16px;
}

label {
  display: block;
  margin: 0 0 12px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
}

input, select, button {
  font: inherit;
}

input, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfc4b4;
  background: white;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

button {
  font-family: ui-sans-serif, system-ui, sans-serif;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #24352c;
  color: #f7f3ea;
  cursor: pointer;
}

button.secondary, #logout, #test-wasabi {
  background: transparent;
  color: #24352c;
  border: 1px solid #24352c;
}

button:disabled { opacity: 0.55; cursor: wait; }

.row { display: flex; flex-wrap: wrap; gap: 8px; }

.domain, .job {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.domain strong, .job strong { display: block; }
.meta, .message { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.85rem; color: #5c5348; }
.message { min-height: 1.2em; }
.message.error { color: #8a2e24; }
.message.ok { color: #246146; }

.log, .stats {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #4e463c;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
}

.bar {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e7dfd2;
  overflow: hidden;
}

.bar.active span {
  background-image: linear-gradient(90deg, #24352c 0%, #6d8f7a 50%, #24352c 100%);
  background-size: 200% 100%;
  animation: slide 1.2s linear infinite;
}

@keyframes slide {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .domain, .job { align-items: stretch; flex-direction: column; }
}


