:root { color-scheme: light; font: 15px system-ui, sans-serif; color: #32251d; background: #faf4e9; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100% - 1050px) / 2)); background: #38271f; color: #fff4df; border-bottom: 3px solid #e4a94e; white-space: nowrap; }
header span { border-left: 1px solid #ffffff60; padding-left: 16px; }
header button { margin-left: auto; }
main { margin: auto; width: min(1050px, calc(100% - 32px)); padding-bottom: 32px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
h1, h2 { font-size: 19px; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 15px; }
.panel { background: #fffdf8; border: 1px solid #e3d3c1; border-radius: 10px; padding: 17px; }
#sign-in { max-width: 460px; }
#monitor { margin-bottom: 15px; }
.monitor-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.monitor-heading h2 { margin: 0; }
#activity-events { max-height: 200px; overflow: auto; padding-left: 24px; font-size: 13px; }
#activity-events li { margin-block: 5px; }
.filters, .actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 15px; }
label { display: grid; gap: 5px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.filters label, .actions { margin-bottom: 0; }
button, select, textarea, input { font: inherit; color: inherit; border: 1px solid #cbb7a3; border-radius: 6px; padding: 7px 9px; background: #fffdfa; }
textarea { width: 100%; resize: vertical; }
button { cursor: pointer; font-weight: 600; }
form button[type=submit], form button:not([type]) { background: #9c3f2d; border-color: #9c3f2d; color: #fff; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #9c3f2d; outline-offset: 2px; }
.entries { margin-top: 15px; }
.hint { color: #654d3e; font-size: 13px; margin: 0 0 12px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 11px 0; border-top: 1px solid #e3d3c1; overflow-wrap: anywhere; }
.row p { margin: 3px 0; white-space: pre-wrap; }
.row .actions { align-self: start; }
#status { min-height: 1.25em; color: #743222; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
