:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #222; background: #f6f6f4; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #225d4a; }
.header { display: flex; gap: 24px; align-items: center; padding: 18px max(24px, calc((100% - 1152px)/2)); border-bottom: 1px solid #ddd; background: #fff; }
.brand { font-size: 20px; font-weight: 650; text-decoration: none; color: inherit; }
.header span { color: #666; font-size: 14px; }
.logout { margin-left: auto; }
main { max-width: 960px; margin: 56px auto; padding: 0 24px; }
h1 { line-height: 1.2; font-size: 30px; font-weight: 650; letter-spacing: -.5px; }
.login { max-width: 400px; margin: 80px auto; }
label { display: block; margin: 22px 0 6px; font-weight: 600; }
input { width: 100%; padding: 12px; border: 1px solid #aaa; border-radius: 4px; font: inherit; background: white; }
button { font: inherit; padding: 10px 18px; border: 1px solid #225d4a; border-radius: 4px; cursor: pointer; }
.button-primary { margin-top: 26px; width: 100%; color: white; background: #225d4a; }
.button-secondary { color: #225d4a; background: transparent; }
:focus-visible { outline: 3px solid #4285be; outline-offset: 3px; }
.errors { color: #9a2424; }
table { border-collapse: collapse; width: min(100%, 540px); margin: 32px 0; background: white; }
caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
th, td { padding: 12px 16px; border-bottom: 1px solid #ddd; text-align: left; }
td { text-align: right; }
.note { max-width: 640px; color: #666; }
@media(max-width: 600px) { .header { flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px; } .header span { display: none; } main { margin: 36px auto; padding: 0 20px; } .login { margin-top: 44px; } h1 { font-size: 26px; } }
.admin-nav { max-width: 1200px; margin: 16px auto; padding: 0 24px; display:flex; flex-wrap:wrap; gap: 8px; }
.admin-nav a { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid transparent; border-radius:4px; text-decoration:none; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { background:#e7eee9; border-color:#c4d1c8; }
main { max-width:1200px; margin-top:28px; }
select, textarea { width:100%; min-height:46px; padding:10px 12px; font:inherit; border:1px solid #aaa; border-radius:4px; background:#fff; }
select { cursor:pointer; }
input[type=checkbox], input[type=radio] { width:auto; }
form:not(.filters):not(.logout) { max-width:760px; }
form button { margin-top:20px; }
.logout button, .filters button { margin-top:0; }
.filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px 20px; align-items:end; margin:24px 0; }
.filters > div { min-width:0; }
.filters label { margin:0 0 8px; }
.filters input, .filters select, .filters button { min-height:48px; }
.table-wrap { width:100%; overflow-x:auto; }
table { width:100%; margin:20px 0; }
th, td { text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.table-wrap table { min-width:650px; }
.table-wrap th, .table-wrap td { min-width:150px; }
td p { margin:0 0 8px; }
button:disabled { opacity:.55; cursor:default; }
dl { display:grid; grid-template-columns:minmax(120px,200px) 1fr; gap:10px; }
dt { font-weight:600; } dd { margin:0; overflow-wrap:anywhere; }
details { padding:12px 0; } summary { cursor:pointer; font-weight:600; }
.success { padding:12px; background:#e9f2eb; }
.context { padding-bottom:12px; border-bottom:1px solid #ddd; }
.project-choice { padding:12px 0; border-bottom:1px solid #ddd; }
.pagination { display:flex; flex-wrap:wrap; gap:12px; list-style:none; padding:0; }
.pagination .active { font-weight:700; }
.pagination .disabled { color:#777; }
.break, .policy-preview { overflow-wrap:anywhere; }
.policy-preview { max-width:760px; }
@media(max-width:600px) { .filters { grid-template-columns:1fr; } .admin-nav { padding:0 12px; gap:4px; } dl { display:block; } dd { margin:0 0 14px; } }
