* { box-sizing: border-box; }
:root { color: #192925; background: #f2f5f3; font: 15px/1.55 system-ui, sans-serif; }
body { margin: 0; }
.shell { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }
.bar { background: #15362d; color: white; }
.bar-content, nav, .actions, .pager { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.bar-content { min-height: 4.25rem; gap: 1.5rem; }
.bar a { color: #d8ebe3; text-decoration: none; padding: .45rem .65rem; border-radius: .35rem; }
.bar a.current, .bar a:hover { color: white; background: #284d40; }
.bar .brand { font-size: 1.12rem; font-weight: 720; padding-left: 0; color: white; }
.bar form { margin-left: auto; }
main { padding-block: 2rem 4rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 1.2rem; line-height: 1.15; }
h2 { font-size: 1.28rem; margin: 0 0 .9rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
p { margin: .5rem 0 .8rem; }
a { color: #086b51; text-underline-offset: .17em; }
a:hover { color: #084a39; }
a + h1 { margin-top: .8rem; }
.card { background: #fff; border: 1px solid #d3dfd8; border-radius: .7rem; padding: 1.25rem; margin-bottom: 1.1rem; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { color: #496056; background: #edf3ef; font-weight: 650; white-space: nowrap; }
th, td { padding: .66rem .7rem; border-bottom: 1px solid #e0e8e3; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
code { overflow-wrap: anywhere; font-size: .88em; }
.muted, small { color: #526b60; }
.tag { display: inline-block; border-radius: .35rem; padding: .05rem .45rem; background: #e8f0eb; white-space: nowrap; font-size: .85em; }
.warning { background: #f9e5d1; color: #7b3716; }
.notice { border: 1px solid #a5c9b8; border-radius: .5rem; padding: .8rem 1rem; background: #e5f3eb; margin-bottom: 1rem; }
.error { background: #fdf0ed; color: #862d20; border-color: #e7b7ac; }
.notice ul { margin-block: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
label { display: grid; gap: .28rem; font-weight: 600; }
input, select, textarea, button { font: inherit; }
input, select, textarea { padding: .48rem .65rem; border: 1px solid #9eafa7; border-radius: .38rem; color: #192925; background: white; width: 100%; }
button { border: 1px solid #8da29a; border-radius: .38rem; color: #263f34; background: white; font-weight: 650; cursor: pointer; padding: .48rem .8rem; white-space: nowrap; }
button:hover { background: #eaf2ed; }
.primary { background: #18664f; color: white; border-color: #18664f; }
.primary:hover { background: #0f503c; }
.subtle { background: transparent; border-color: #91b5a5; color: white; }
.subtle:hover { background: #284d40; }
.check { display: flex; align-items: center; align-self: end; }
.check input { width: auto; }
.smtp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: end; gap: .8rem; }
.evidence { border-top: 1px solid #dce6df; margin-top: 1rem; padding-top: 1rem; }
.actions, .history li, .pager { margin-top: .8rem; }
.history p { white-space: pre-wrap; }
.sources { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
dt { font-weight: 700; }
dd { margin: 0; }
.auth-shell { max-width: 28rem; padding-top: min(11vh, 6rem); }
.login form { display: grid; gap: .9rem; }
.login button { justify-self: start; }
.inventory { max-height: 32rem; margin-top: 1rem; }
summary { cursor: pointer; }
@media (max-width: 600px) {
    .shell { width: min(100% - 1.1rem, 1200px); }
    .bar-content { padding-block: .65rem; gap: .4rem; }
    .bar-content nav { order: 3; width: 100%; }
    .card { padding: .8rem; }
    .filters > label { width: 100%; }
}
