:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292d29;background:#f5f4ef;line-height:1.55;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
main{max-width:1280px;margin:0 auto;padding:48px 24px}
header,.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
header{margin-bottom:28px}
.brand{font-size:.75rem;letter-spacing:.14em;font-weight:700;color:#476044;margin:0 0 8px}
h1{font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.15;margin:0}
h2{font-size:1.15rem;margin:0}
.muted{color:#646b63;font-size:.9rem;margin:6px 0}
button{border:0;border-radius:6px;background:#38543b;color:white;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
button:focus-visible,summary:focus-visible,.table-wrap:focus-visible{outline:2px solid #38543b;outline-offset:3px}
.panel{background:#fff;border:1px solid #e0e2d9;border-radius:12px;padding:24px;min-width:0}
#status{font-size:.92rem;color:#596059}
#status.error{color:#9e2929}
.table-wrap{overflow:auto;border:1px solid #e5e6df;border-radius:6px}
table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}
th,td{padding:10px 14px;vertical-align:top;border-bottom:1px solid #e5e6df;white-space:pre-wrap;overflow-wrap:anywhere;min-width:100px}
th{background:#f0f2ec;font-weight:650}
tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}
tbody tr:hover{background:#f8f9f6}
details{margin-top:24px;border-top:1px solid #e5e6df;padding-top:14px}
summary{cursor:pointer;color:#38543b;font-weight:600}
pre{margin-bottom:0;max-height:520px;overflow:auto;padding:16px;background:#f5f5f1;border-radius:6px;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}
[hidden]{display:none!important}
@media(max-width:600px){main{padding:24px 12px}.panel{padding:16px}header{align-items:flex-start}}

.login-panel{max-width:440px;margin:6vh auto 0}
#login-form{display:grid;gap:12px;margin-top:24px}
#login-form label{font-weight:600}
#password{width:100%;border:1px solid #b9c1b6;border-radius:6px;padding:12px;font:inherit}
#password:focus-visible{outline:2px solid #38543b;outline-offset:2px}
#login-status{color:#9e2929;font-size:.92rem;min-height:1.4em}
.actions{display:flex;gap:8px;flex-wrap:wrap}
button.secondary{color:#38543b;background:#e8ede5}
