* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #152d45; --blue: #185992; --line: #cbd8e2; --muted: #506779; }
body { margin: 0; background: #f2f6f9; color: var(--ink); font: 16px/1.55 "Source Sans 3", "Microsoft YaHei", sans-serif; }
header { background: #183b59; color: white; display: flex; align-items: center; justify-content: space-between; padding: 16px max(5vw, calc((100vw - 760px)/2)); }
.brand { display: flex; align-items: center; gap: 13px; font-size: 20px; font-weight: 650; }
.monitor { width: 26px; height: 18px; border: 2px solid #c4e4fa; border-radius: 3px; position: relative; }
.monitor::after { content: ""; position: absolute; bottom: -6px; left: 5px; width: 12px; border-bottom: 2px solid #c4e4fa; }
main { width: min(760px, 92%); margin: clamp(28px, 6vh, 64px) auto; }
h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.25; margin: 0; }
h2 { font-size: 20px; margin: 3px 0; }
.title, .event, nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.title { padding-bottom: 18px; border-bottom: 3px solid var(--ink); }
.title span, p, time, dt, nav { color: var(--muted); }
time, dd { font-variant-numeric: tabular-nums; }
article, .empty { background: white; padding: 22px clamp(14px, 3.4vw, 28px); border-bottom: 1px solid var(--line); }
.state { padding: 3px 10px; border-radius: 5px; white-space: nowrap; font-weight: 600; font-size: 14px; }
.pending { color: #775008; background: #fff0c5; }
.other { color: #8a2d25; background: #ffe2dc; }
.self { color: #215941; background: #e3f1e9; }
details { margin-top: 12px; font-size: 14px; }
summary, button { cursor: pointer; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 16px; }
dd { margin: 0; }
.actions { display: flex; margin-top: 16px; gap: 10px; }
button, input { font: inherit; }
button { background: white; border: 1px solid var(--line); border-radius: 5px; padding: 8px 16px; color: var(--ink); min-height: 44px; }
.primary { background: var(--blue); color: white; border-color: var(--blue); }
button:hover { filter: brightness(.94); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #da851a; outline-offset: 3px; }
.link { color: white; background: transparent; border-color: #7191ab; }
.signin { background: white; border-top: 4px solid var(--blue); padding: clamp(24px, 5vw, 44px); max-width: 455px; margin: 8vh auto; }
.signin input { width: 100%; margin: 6px 0 18px; border: 1px solid #8199ae; border-radius: 4px; padding: 10px; }
.signin label { display: block; font-weight: 600; margin-top: 26px; }
nav { margin-top: 20px; justify-content: center; }
[role=alert] { color: #8a2d25; }
