:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f2f4f7;
  background: #0b1d35;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1500px; margin: 0 auto; padding: 0 40px 64px; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #39495d; }
.brand { display: block; width: 150px; flex-shrink: 0; }
.brand img { display: block; width: 100%; max-height: 55px; object-fit: contain; }
.page-heading { padding: 42px 0 30px; }
.eyebrow { margin: 0 0 10px; color: #c8b17e; font-size: 14px; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 600; }
p { color: #c4ceda; line-height: 1.5; }
.card { background: #122944; border: 1px solid #3a4a5c; }
.login { max-width: 460px; padding: 30px; }
.login p { margin: 0; font-size: 15px; }
form { display: grid; gap: 9px; margin-top: 26px; }
label { color: #e5ebf1; font-size: 14px; font-weight: 600; }
input { width: 100%; min-height: 48px; padding: 0 12px; font: inherit; color: #fff; background: #0b1d35; border: 1px solid #788797; border-radius: 2px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 2px; background: #d1b578; color: #101f32; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
form button { margin-top: 12px; }
button:hover:not(:disabled), .button:hover { background: #e0c992; }
.secondary { color: #edf1f5; background: transparent; border-color: #8290a0; }
.secondary:hover:not(:disabled) { background: #233a54; }
.secondary:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 3px solid #e7cc8c; outline-offset: 3px; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.toolbar p { margin: 0; font-size: 14px; }
.table-wrap { overflow-x: auto; background: #122944; border: 1px solid #53647a; }
table { width: 100%; min-width: 950px; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 16px; border-bottom: 1px solid #43556b; vertical-align: top; font-size: 14px; line-height: 1.45; }
th { color: #f1dba9; background: #0b1d35; font-weight: 600; white-space: nowrap; }
td { color: #f1e5c9; overflow-wrap: anywhere; }
tbody tr:nth-child(even) { background: #19334e; }
tbody tr:hover { background: #24415d; }
#empty { margin: 0; padding: 24px 16px; color: #e4d3ac; }
.scroll-hint { display: none; margin: 0 0 10px; font-size: 13px; }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: flex-end; margin-top: 20px; }
#page { font-size: 14px; color: #e2e8ee; }
#message { color: #ffb9a8; line-height: 1.5; }
#message:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .container { padding: 0 20px 48px; }
  .header { min-height: 72px; }
  .brand { width: 135px; }
  .page-heading { padding: 32px 0 26px; }
  .login { padding: 24px 20px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .scroll-hint { display: block; }
  .pagination { justify-content: space-between; gap: 8px; }
  .pagination button { padding: 10px 14px; }
  #page { text-align: center; }
}
