:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172033; background: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: #174ea6; }
button, .button { display: inline-block; border: 0; border-radius: .35rem; background: #174ea6; color: #fff; cursor: pointer; font: inherit; padding: .55rem .8rem; text-decoration: none; }
button.secondary { background: #536174; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #e19a34; outline-offset: 2px; }
.site-header { align-items: center; background: #172033; color: #fff; display: flex; gap: 1.25rem; min-height: 4rem; padding: .75rem max(1rem, calc((100% - 72rem) / 2)); }
.site-header a { color: #fff; text-decoration: none; }.brand { font-weight: 700; white-space: nowrap; }.site-header nav { display: flex; flex: 1; gap: 1rem; }.link-button { background: transparent; padding: .25rem; text-decoration: underline; }
.container, .auth-card { margin: 0 auto; max-width: 72rem; padding: 2rem 1rem; }.auth-page { align-items: center; display: flex; min-height: 100vh; }.auth-card { background: #fff; border: 1px solid #d9e0eb; border-radius: .5rem; box-shadow: 0 .5rem 2rem #17203316; max-width: 28rem; width: 100%; }
.page-heading { align-items: start; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem; }.page-heading h1 { margin: 0; }.page-heading p { margin: .25rem 0 0; }.stats { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }.stats article, .panel, .empty-state { background: #fff; border: 1px solid #d9e0eb; border-radius: .5rem; padding: 1rem; }.stats span { display: block; color: #536174; }.stats strong { font-size: 2rem; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }.field { min-width: 0; }.field-full { grid-column: 1 / -1; }.field label { display: block; font-weight: 600; margin-bottom: .25rem; }.field input, .field textarea { border: 1px solid #8793a5; border-radius: .3rem; font: inherit; padding: .55rem; width: 100%; }.hint { color: #536174; font-size: .875rem; margin: .25rem 0 0; }.field-error { color: #b3261e; margin: .25rem 0 0; }.notice { border-radius: .35rem; margin-bottom: 1rem; padding: .75rem 1rem; }.notice.success { background: #e6f4ea; color: #146c2e; }.notice.error { background: #fce8e6; color: #b3261e; }
.connection-test-results { display: grid; gap: .35rem 1rem; grid-template-columns: minmax(12rem, auto) 1fr; }.connection-test-results dt { font-weight: 600; }.connection-test-results dd { margin: 0; }
.table-wrap { background: #fff; border: 1px solid #d9e0eb; border-radius: .5rem; overflow-x: auto; }table { border-collapse: collapse; min-width: 52rem; width: 100%; }th, td { border-bottom: 1px solid #d9e0eb; padding: .75rem; text-align: left; vertical-align: top; }th { background: #f7f9fc; }tr:last-child td { border-bottom: 0; }.actions { display: flex; flex-wrap: wrap; gap: .5rem; }.actions form { margin: 0; }.actions button { font-size: .875rem; padding: .35rem .55rem; }.badge { background: #e7edf8; border-radius: 999px; display: inline-block; padding: .15rem .5rem; white-space: nowrap; }.badge.success { background: #e6f4ea; color: #146c2e; }.badge.muted { background: #e8eaed; color: #536174; }.pagination { align-items: center; display: flex; gap: 1rem; justify-content: center; margin: 1.5rem 0; }.pagination [aria-disabled] { color: #6b7280; }.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; }
@media (max-width: 640px) { .site-header { align-items: flex-start; flex-wrap: wrap; }.site-header nav { flex-basis: 100%; order: 3; }.page-heading { flex-direction: column; }.stats, .form-grid { grid-template-columns: 1fr; }.container { padding-top: 1rem; } }
