/* Base page layout */
:root {
  --page-background: #f5f7fa;
  --panel-background: #ffffff;
  --text: #17202a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --header: #152238;
  --success: #16834b;
  --error: #c0392b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text);
  font: 14px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: var(--header);
  color: white;
}

header h1 { margin: 0; font-size: 1.4rem; }

main {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 20px;
  padding: 18px;
  background: var(--panel-background);
  border-radius: 8px;
  box-shadow: 0 1px 5px rgb(0 0 0 / 6%);
}

section h2 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
th { font-weight: 600; }

.ok { color: var(--success); }
.bad, .error { color: var(--error); }
.muted { color: var(--muted); }

form{display:flex;flex-wrap:wrap;gap:14px;align-items:center}label{display:flex;gap:6px;align-items:center}select,button{padding:7px 10px;border:1px solid var(--border);border-radius:4px;background:white}button{background:var(--header);color:white;cursor:pointer}button:hover{opacity:.9}

.actions{display:flex;flex-wrap:wrap;gap:10px}.danger{background:var(--error)}
