:root { color-scheme: light; --ink: #0b1232; --muted: #5e6475; --line: #c7ccda; --blue: #004bfa; --font: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.45 var(--font); }
.masthead { height: 61px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 3%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 28px; font-size: 22px; font-weight: 700; }
.brand strong { font-size: 27px; letter-spacing: -.5px; }
.brand span { border-left: 1px solid var(--muted); padding-left: 28px; }
#service { white-space: nowrap; font-size: 18px; }
main { max-width: 1680px; margin: 0 auto; padding: 60px 3% 64px; }
h1, h2, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.8px; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.5px; overflow-wrap: anywhere; }
.subtitle { color: var(--muted); font-size: 21px; margin-top: 8px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 8px 35px; }
.toolbar { display: flex; align-items: center; gap: 20px; }
.search { display: flex; align-items: center; gap: 12px; border: 1px solid #b1b7c6; border-radius: 6px; padding: 0 14px; height: 48px; color: var(--muted); }
.search input { width: clamp(180px, 22vw, 340px); border: 0; min-width: 0; outline: 0; color: var(--ink); background: transparent; font: 20px/1.3 var(--font); }
.search input::placeholder { color: var(--muted); opacity: 1; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 6px 19px; border: 1.5px solid var(--blue); border-radius: 5px; background: #fff; color: var(--blue); font: 20px/1.3 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
button:hover, .button:hover { background: #f1f5ff; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible, .search:focus-within { outline: 3px solid #8baeff; outline-offset: 3px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { font-weight: 700; font-size: 21px; padding: 13px 10px 17px; }
td { padding: 18px 10px; font-size: 21px; vertical-align: middle; }
th, td { border-bottom: 1px solid var(--line); }
.devices th:nth-child(1) { width: 23%; }
.devices th:nth-child(2) { width: 20%; }
.devices th:nth-child(3) { width: 28%; }
.devices th:nth-child(4) { width: 19%; }
.devices th:last-child { width: 10%; }
.devices td { white-space: nowrap; }
.devices tr.selected { background: #f7f9ff; }
.mac { font-variant-numeric: tabular-nums; }
.secondary { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.actions { display: flex; align-items: center; gap: 12px; }
.text-button { padding: 2px 0; min-height: 32px; border: 0; border-radius: 0; font-size: 15px; color: var(--muted); }
.hint { color: var(--muted); font-size: 17px; margin-top: 20px; }
.log { margin-top: 38px; padding-top: 40px; border-top: 1px solid var(--line); }
.log-heading { margin: 0 0 24px; }
.count { color: var(--blue); font-weight: 700; white-space: nowrap; }
.events th:nth-child(1) { width: 30%; }
.events th:nth-child(2) { width: 18%; }
.events th:nth-child(3) { width: 52%; }
.events td { font-size: 20px; vertical-align: top; }
.events td:first-child { white-space: nowrap; }
summary { cursor: pointer; color: var(--blue); font-size: 18px; margin-top: 6px; width: max-content; }
pre { font: 14px/1.5 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; margin: 14px 0 0; }
.event-summary { overflow-wrap: anywhere; }
.empty { padding: 28px 10px; color: var(--muted); }
.error { background: #fff0ef; color: #8b2b22; padding: 12px 16px; margin-bottom: 18px; }
#older { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .section-heading { align-items: flex-start; flex-direction: column; }
  .devices { min-width: 1000px; }
  .events { min-width: 700px; }
  .log-heading { flex-direction: row; align-items: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .masthead { height: auto; min-height: 84px; padding: 14px 20px; align-items: flex-start; }
  .brand { display: block; font-size: 15px; }
  .brand strong { display: block; font-size: 23px; }
  .brand span { display: block; padding: 0; border: 0; }
  #service { font-size: 13px; padding-top: 7px; }
  main { padding: 32px 20px; }
  h1 { font-size: 31px; }
  h2 { font-size: 24px; }
  .subtitle { font-size: 17px; }
  .section-heading { margin-left: 0; margin-right: 0; gap: 22px; }
  .toolbar { width: 100%; gap: 12px; }
  .search { flex: 1; min-width: 0; padding: 0 10px; height: 43px; }
  .search input { width: 100%; font-size: 16px; }
  button, .button { font-size: 16px; padding: 6px 13px; }
  .log-heading { flex-direction: column; align-items: flex-start; }
  .log-heading .toolbar { justify-content: space-between; }
  .hint { font-size: 15px; }
  .log { margin-top: 28px; padding-top: 28px; }
}
