:root {
  font-family: Arial, sans-serif;
  --bg: #f3f5f9;
  --panel: #ffffff;
  --text: #20283a;
  --muted: #687388;
  --line: #dbe1eb;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.wrap { width: min(1150px, 92%); margin: 2rem auto; }
.panel { background: var(--panel); border-radius: 22px; padding: 1.4rem; box-shadow: 0 12px 35px rgba(15, 23, 42, .08); }
.hidden { display: none; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
input, textarea, button { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; }
textarea { min-height: 120px; resize: vertical; }
button { cursor: pointer; border: 0; background: #111827; color: white; font-weight: 700; }
button.secondary { background: #e5e7eb; color: #111827; }
.actions, .header-row { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin: 1rem 0; }
.checks label { display: flex; align-items: center; gap: .55rem; background: #f8fafc; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line); }
.checks input { width: auto; padding: 0; }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .85rem; border-bottom: 1px solid var(--line); }
.message { color: var(--muted); min-height: 1.25rem; }
.hint { color: var(--muted); }
.inline-actions { display: flex; gap: .5rem; }
.inline-actions button { padding: .65rem .8rem; }
@media (max-width: 760px) { .grid.two, .grid.three { grid-template-columns: 1fr; } .actions, .header-row { flex-direction: column; align-items: stretch; } }
