:root { --ink: #17202a; --muted: #5d6873; --line: #d9e1e8; --surface: #fff; --soft: #f5f8fa; --brand: #155eef; --danger: #b42318; --warn: #8a5a00; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); }
.site-header { display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1200px) / 2)); color: white; background: #102a43; }
.site-header a { color: inherit; text-decoration: none; }
.site-header nav { display: flex; gap: 16px; }
.brand { font-weight: 760; font-size: 1.2rem; }
.account { margin-left: auto; font-size: .92rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 52px; }
.page-heading, .section-heading, .actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.page-heading { margin-bottom: 22px; }
h1 { margin: 0 0 6px; font-size: 2rem; } h2 { margin: 0 0 12px; font-size: 1.3rem; } h3 { margin: 0 0 8px; }
.muted { color: var(--muted); }.card, .form-card, .auth-card, section { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(16,42,67,.04); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 16px; }.card-grid .card { margin: 0; }.two-column { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 20px; }
.auth-card, .form-card { max-width: 620px; margin: 44px auto; } form p { display: grid; gap: 5px; } label { font-weight: 600; } input, select, textarea { width: 100%; border: 1px solid #aebbc8; border-radius: 6px; padding: 9px 10px; color: var(--ink); background: white; font: inherit; } textarea { min-height: 90px; }
button, .button { display: inline-block; border: 0; border-radius: 6px; padding: 9px 13px; background: var(--brand); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }.button.secondary { background: #546574; }.actions form { display: inline; }.actions form button { white-space: nowrap; }
table { width: 100%; border-collapse: collapse; background: #fff; } th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } th { color: #34495e; background: #edf2f7; font-size: .88rem; } code { overflow-wrap: anywhere; }
.message { margin: 0 0 14px; border-radius: 6px; padding: 10px 13px; background: #e9f2ff; color: #12417f; }.message.error { background: #ffe9e7; color: var(--danger); }.message.success { background: #e7f8ed; color: #17663b; }.warning-box { border-color: #f5cf7a; background: #fffaeb; }.stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }.stats span, .status { padding: 6px 10px; border-radius: 99px; background: #e7eef5; font-size: .9rem; }.status.published { background: #e7f8ed; color: #17663b; }
@media (max-width: 760px) { .site-header { align-items: flex-start; flex-wrap: wrap; }.account { width: 100%; margin-left: 0; }.two-column { grid-template-columns: 1fr; }.container { padding: 18px 12px; } table { display: block; overflow-x: auto; } }
@media print { @page { size: A4; margin: 12mm; } body { background: #fff; font-size: 11pt; }.no-print, .site-header, .message { display: none !important; }.container { max-width: none; padding: 0; }.print-sheet { border: 0; box-shadow: none; padding: 0; }.print-bracket { font-size: 10pt; }.print-bracket th, .print-bracket td { padding: 6px; }.print-warning { border: 1px solid #805b10; padding: 6px; margin: 10px 0; } }
