:root { --fg: #1a1a1a; --muted: #555; --line: #ccc; --accent: #003a70; --err: #a40000; --bg: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 Arial, Helvetica, sans-serif; color: var(--fg); background: var(--bg); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 3px solid var(--accent); }
.logo { max-height: 64px; max-width: 100%; }
.logout { display: flex; gap: 10px; align-items: center; font-size: 14px; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
h1 { color: var(--accent); font-size: 22px; } h2 { font-size: 17px; }
.card { display: grid; gap: 10px; max-width: 520px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
label { display: grid; gap: 4px; font-weight: bold; font-size: 14px; }
input[type=text], input[type=password] { padding: 8px; font-size: 15px; border: 1px solid #999; border-radius: 4px; width: 100%; }
button { padding: 8px 18px; font-size: 15px; background: var(--accent); color: #fff; border: 0; border-radius: 4px; cursor: pointer; justify-self: start; }
.logout button { background: #666; padding: 5px 12px; font-size: 13px; }
.error { color: var(--err); font-weight: bold; }
.meta { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border: 1px solid var(--line); padding: 4px 6px; text-align: left; vertical-align: top; }
th { background: #eef2f7; }
tr.remarks td { font-size: 12px; color: #333; background: #fafafa; white-space: pre-wrap; }
.note { font-size: 12px; color: var(--muted); }
footer { padding: 16px; font-size: 12px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
@media (max-width: 700px) { table { display: block; overflow-x: auto; } }
@media print { header form, .noprint, footer a { display: none; } main { max-width: none; } }
