:root { font: 16px/1.55 Inter, system-ui, sans-serif; color: #182a27; background: #f5f7f6; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header { background: #143a32; color: #fff; }
.bar, main { width: min(1050px, 92%); margin: auto; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.bar strong { font-size: 1.2rem; }
.bar span { padding-left: 18px; border-left: 1px solid #728c83; color: #d1e3db; }
.bar button { margin-left: auto; }
main { padding-block: 48px; }
h1, h2 { margin: 0; letter-spacing: -.03em; line-height: 1.2; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
p { margin: 10px 0 18px; color: #48605a; }
p:empty { display: none; }
button, select, input { font: inherit; }
button { border: 0; padding: 9px 16px; border-radius: 7px; background: #216049; color: white; cursor: pointer; font-weight: 600; }
button:hover { filter: brightness(.94); }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #4c89b8; outline-offset: 2px; }
.secondary { color: #214337; background: #e4ede7; }
.light { background: transparent; color: #f4faf8; font-size: .9rem; }
.card, dialog { background: white; border: 1px solid #cedbd5; border-radius: 12px; }
.login { max-width: 530px; margin: 6vh auto; padding: 30px; }
.heading, footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.heading p { margin-bottom: 0; }
.list { margin: 26px 0 12px; overflow-x: auto; }
.list p { padding: 0 18px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 18px; vertical-align: top; border-bottom: 1px solid #e2e9e5; }
th { color: #4b6059; font-size: .84rem; background: #edf3ef; }
td a, form a { color: #216049; }
td small { display: block; color: #536861; overflow-wrap: anywhere; }
td code { font-size: .86rem; }
dialog { color: inherit; padding: 24px; width: min(500px, 94vw); }
dialog::backdrop { background: #142a2266; }
label { display: block; font-weight: 650; margin: 17px 0 5px; }
select, input { width: 100%; border: 1px solid #a7bbb1; border-radius: 6px; padding: 9px; background: white; color: inherit; }
#source-help, form a { font-size: .9rem; }
footer { justify-content: flex-end; margin-top: 22px; }
#command { display: inline-block; background: #edf3ef; padding: 10px; user-select: all; }
.error { color: #922d29; }
@media (max-width: 600px) { main { padding-block: 26px; } th, td { padding: 10px; } .heading { align-items: start; } }
nav, .actions, #work-actions { display: flex; gap: 12px; flex-wrap: wrap; }
nav a { color: #e6f0eb; }
#work .heading { margin-bottom: 16px; }
#work h2 { margin-top: 24px; }
#work-filter { width: auto; }
#work-dialog { width: min(760px, 96vw); max-height: 90vh; }
#work-fields pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f0f5f2; padding: 12px; }
#work-fields textarea { width: 100%; min-height: 92px; padding: 9px; font: inherit; }
#work-fields input[type=checkbox] { width: auto; margin-right: 8px; }
#work-fields h3 { margin-bottom: 4px; }
#work-fields p { margin: 4px 0 12px; }
#work-fields .inline { display: inline-flex; align-items: center; margin-right: 16px; }
.link-button { color: #175c45; background: none; padding: 0; text-align: left; text-decoration: underline; }
@media (max-width: 650px) { .bar { flex-wrap: wrap; padding: 8px 0; } #work .heading { flex-wrap: wrap; } }
#project-dialog { max-height: 92vh; }
#project-dialog fieldset { border: 1px solid #cedbd5; border-radius: 7px; margin: 18px 0; }
#project-dialog fieldset p, #project-form > p { font-size: .9rem; }
.access-form { padding: 16px 20px; max-width: 500px; }
.access-form label { margin-top: 0; }
.access-form input { flex: 1; min-width: 130px; }
#project-rows td { overflow-wrap: anywhere; }
#project-rows details { max-width: 48ch; white-space: pre-wrap; }
