
:root { color-scheme: light; --accent: #e8492b; --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb; --bg: #f6f7f9; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
main { max-width: 1280px; margin: 0 auto; padding: 16px; }
h1 { font-size: 22px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.print { margin-bottom: 16px; }
.hint, .muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
button, .button { font: inherit; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; color: var(--ink); text-decoration: none; display: inline-block; }
.button:hover, button:hover { border-color: #9ca3af; }
button[disabled] { opacity: 0.5; cursor: default; }
.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.primary:hover { filter: brightness(0.95); }
.primary[disabled] { background: #d1d5db; border-color: #d1d5db; filter: none; opacity: 1; }
.big { font-size: 18px; padding: 12px 22px; }
.link { border: 0; background: none; color: var(--muted); padding: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px; }
.tab { padding: 6px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.tab.active { background: #fff; border: 1px solid var(--line); font-weight: 600; }
.count { color: var(--muted); font-weight: 400; }
.search { margin-left: auto; display: flex; gap: 6px; }
.search input { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; min-width: 240px; }
.selection { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; background: #fafafa; }
.check { width: 32px; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; cursor: pointer; }
tr.muted-row td { color: var(--muted); }
td.error { color: #b91c1c; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge.new { background: #fde8e3; color: #b42d14; font-weight: 600; }
.badge.done { background: #e7f6ec; color: #1e7a3c; }
.badge.error { background: #fee2e2; color: #b91c1c; }
.badge.off { background: #f3f4f6; color: #b91c1c; }
.badge.wait { background: #f3f4f6; color: var(--muted); }
.notice { background: #fff8e1; border: 1px solid #f5d77a; border-radius: 8px; padding: 8px 12px; }
.error { color: #b91c1c; }
.empty { color: var(--muted); padding: 24px 0; }
.login { max-width: 360px; padding-top: 10vh; }
.login form { display: grid; gap: 12px; }
.login label { display: grid; gap: 4px; }
.login input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 900px) { th:nth-child(7), td:nth-child(7) { display: none; } .search { margin-left: 0; width: 100%; } .search input { min-width: 0; flex: 1; } .selection .hint { display: none; } }
