* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --canvas: #f5f7fa;
  --surface: #fff;
  --ink: #182230;
  --muted: #546273;
  --line: #dee4ec;
  --accent: #0f6cbd;
  --focus: #1675d1;
  --hover: #edf4fc;
}
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.screen { position: relative; margin: 0 auto; font-variant-numeric: tabular-nums; }
.layer { position: absolute; }
.label { white-space: nowrap; line-height: 1.3; }
h1.label { margin: 0; letter-spacing: -.35px; }
.icon { display: flex; width: 16px; height: 16px; pointer-events: none; }
.app-bar { z-index: 2; box-shadow: 0 1px 0 #dee4ec, 0 3px 9px #203b5910; }
.page-heading { filter: drop-shadow(0 2px 3px #203b5908); }
.action { border: 0; padding: 0; text-align: left; color: inherit; }
.action:hover { box-shadow: inset 0 0 0 1px #a7c6e8, inset 0 0 0 100px #1474d008 !important; }
.quiet-action:hover { background: var(--hover) !important; box-shadow: none !important; }
.primary-action:hover { background: #0d5fa8 !important; box-shadow: none !important; }
.selected-tab { box-shadow: inset 0 -2px var(--accent); }
.action:focus-visible, .table-link:focus-visible, .control:focus-within {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
.data-grid { overflow: hidden; }
.column-heading { background: #fbfcfe !important; }
.column-heading .label { color: #334359 !important; font-weight: 600 !important; }
.status::before {
  content: ""; position: absolute; left: 1px; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: currentColor;
}
.table-link { position: absolute; border-radius: 2px; }
.table-link::after {
  content: ""; position: absolute; right: 19px; top: 19px; width: 6px; height: 6px;
  border-right: 1px solid #71849a; border-top: 1px solid #71849a; transform: rotate(45deg);
}
.table-link:hover { box-shadow: inset 3px 0 var(--accent); background: #0f6cbd0b; }
.table-link:focus-visible { outline-offset: -2px; }
.control > input, .control > select {
  position: absolute; inset: 0; width: 100%; padding: 0 12px 0 36px;
  border: 0; background: transparent; color: var(--ink); outline: none; font-size: 13px;
}
.control > input::placeholder { color: var(--muted); opacity: 1; }
.control > input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.control > .icon { z-index: 1; }
.empty-table { position: absolute; top: 56px; left: 15px; font-size: 13px; color: var(--muted); }
.preview-footer {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px;
  padding: 15px 24px; border-top: 1px solid var(--line); background: var(--surface); font-size: 13px;
}
.preview-footer a, summary { color: var(--accent); cursor: pointer; }
.preview-footer a:hover { text-decoration: underline; }
#screen-index { display: grid; gap: 7px 18px; margin: 14px 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.preview-footer details[open] { flex: 1 0 100%; order: 1; }
