/* Style minimal M1.7 — fungsional dulu, UI polish ditunda (keputusan founder). */
:root {
  color-scheme: light dark;
  --line: rgba(127, 127, 127, 0.25);
  --soft: rgba(127, 127, 127, 0.08);
  --accent: #0b7285;
  --danger: #c92a2a;
}
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 960px;
  padding: 16px;
  line-height: 1.5;
}
h1 { font-size: 1.4rem; margin: 0; }
h2 { font-size: 1.1rem; }
header.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
  background: transparent;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }
.muted { opacity: 0.65; font-size: 0.9rem; }
button, .btn {
  font: inherit;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.danger { color: var(--danger); border-color: var(--danger); }
input, select, textarea {
  font: inherit;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
}
label { display: block; font-size: 0.85rem; opacity: 0.8; margin-top: 6px; }
.msg { color: var(--danger); min-height: 1.2em; margin: 6px 0; font-size: 0.9rem; }
.msg.ok { color: #2b8a3e; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  opacity: 0.85;
}
details summary { cursor: pointer; }
.lane { border-top: 2px solid var(--line); padding-top: 8px; margin-top: 16px; }
.leg-head { font-weight: 600; }
.small { font-size: 0.85rem; }
ul.options { margin: 6px 0 0; padding-left: 18px; }
a { color: var(--accent); }
code { background: var(--soft); padding: 0.1em 0.4em; border-radius: 6px; word-break: break-all; }
