:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --white: #fff;
  --ink: #233331;
  --muted: #64736d;
  --line: #e2e7df;
  --green: #256b5f;
  --deep: #173f38;
  --soft: #ecf2e9;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  transition:
    background 0.15s,
    color 0.15s;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #308778;
  outline-offset: 3px;
}
button {
  color: inherit;
}
button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 10;
}
.skip:focus {
  top: 8px;
  left: 8px;
  padding: 10px;
  background: white;
}
.masthead {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
}
.brand circle {
  fill: #fff;
}
.brand strong {
  letter-spacing: -0.5px;
  font-size: 21px;
}
.brand > span:last-child {
  font-size: 14px;
  color: var(--muted);
}
.brand-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 4px;
}
.masthead nav {
  display: flex;
  gap: 27px;
  font-size: 12px;
}
.shell {
  max-width: 1660px;
  margin: auto;
  padding: 0 4%;
}
.intro {
  padding: 41px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6c9273;
  border-radius: 50%;
}
h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 550;
  margin: 14px 0 12px;
}
p {
  margin: 0;
  color: var(--muted);
}
.intro p {
  font-size: 15px;
}
.provenance {
  text-align: right;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  max-width: 320px;
}
.live-tag {
  display: inline-block;
  font: 9px var(--mono);
  letter-spacing: 1.1px;
  border: 1px solid #d5dfd1;
  color: #65815e;
  border-radius: 3px;
  padding: 4px 7px;
  margin-bottom: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 28px;
  box-shadow: 0 2px 4px #253c2903;
}
.stats > div {
  padding: 22px 25px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.stats strong {
  display: block;
  font: 500 33px/1.3 var(--mono);
  letter-spacing: -1.8px;
  margin: 6px 0;
}
.stats small {
  font-size: 10px;
  color: #7a847d;
}
.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}
.filters {
  padding: 4px 1px 20px 0;
}
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.25px;
}
.filter-heading h2 {
  font-size: 14px;
}
.filters label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #56675e;
  margin-bottom: 16px;
}
.filters input,
.filters select {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.filters input,
.filters select,
.inline-label select,
.date-controls input {
  height: 35px;
  border: 1px solid #dce3d9;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 0 9px;
  font-size: 12px;
  min-width: 0;
}
.filters input::placeholder {
  color: #9aa298;
  font-size: 11px;
}
.filter-rule {
  height: 1px;
  background: var(--line);
  margin: 23px 0 20px;
}
.text-button {
  border: 0;
  padding: 2px 0;
  background: transparent;
  font-size: 11px;
  color: var(--green);
}
.text-button:hover {
  text-decoration: underline;
}
.method {
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.method summary {
  cursor: pointer;
  color: #4e6358;
}
.method p {
  margin-top: 12px;
}
main {
  min-width: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px #253c2903;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 23px 16px;
}
.panel-heading p {
  font-size: 11px;
  margin-top: 5px;
  color: #78847b;
}
.inline-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.inline-label select {
  height: 30px;
  font-size: 11px;
  padding: 0 6px;
}
.overview-panel {
  padding-bottom: 15px;
}
#overview {
  display: block;
  width: calc(100% - 40px);
  height: 145px;
  margin: 0 20px;
  cursor: crosshair;
  touch-action: none;
}
.date-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 23px 0;
  gap: 10px;
}
.date-controls > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.date-controls label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.date-controls input {
  height: 29px;
  font-size: 11px;
  max-width: 130px;
}
.date-arrow {
  color: #a9b4aa;
}
#date-error {
  padding: 0 23px;
  color: #995330;
  font-size: 12px;
}
.model-legend {
  display: flex;
  gap: 6px 15px;
  flex-wrap: wrap;
  margin: 0 23px 14px;
  max-height: 88px;
  overflow: auto;
}
.model-legend button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  border: 0;
  background: none;
  font-size: 10px;
  color: var(--muted);
}
.model-legend button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 650;
}
.model-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-scroll {
  max-height: 680px;
  overflow: auto;
  margin: 0 12px;
}
#timeline {
  width: 100%;
  display: block;
  cursor: crosshair;
}
.timeline-key {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 23px 0;
  padding: 13px 0;
  border-top: 1px solid #edf0e9;
  font-size: 10px;
  color: #64726a;
}
.key-divider {
  height: 12px;
  width: 1px;
  background: var(--line);
}
.muted {
  color: #95a096;
}
.chart-note {
  font-size: 10px;
  padding: 0 23px 14px;
  color: #7f887f;
}
.chart-note:empty {
  display: none;
}
.heat-scale {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.heat-scale span {
  height: 7px;
  width: 60px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f0f4ed, #3c8770);
}
.heatmap-scroll {
  overflow: auto;
  padding: 0 23px 17px;
}
.heat-grid {
  display: grid;
  gap: 3px;
  min-width: 520px;
}
.heat-row-label {
  border: 0;
  background: none;
  text-align: left;
  padding: 0 7px 0 0;
  font-size: 10px;
  color: #64726a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 21px;
}
.heat-row-label:hover {
  color: var(--green);
  text-decoration: underline;
}
.heat-cell {
  border: 0;
  border-radius: 2px;
  min-width: 4px;
  height: 21px;
  padding: 0;
}
.heat-cell:hover {
  outline: 1px solid var(--green);
  outline-offset: 1px;
}
.heat-date {
  font-size: 8px;
  color: #889187;
  height: 16px;
  white-space: nowrap;
}
.secondary-button {
  padding: 6px 10px;
  border: 1px solid #dce3d9;
  background: white;
  border-radius: 5px;
  font-size: 11px;
  white-space: nowrap;
}
.secondary-button:hover:enabled {
  background: var(--soft);
}
.count-pill {
  font: 10px var(--mono);
  color: #687c6c;
  background: #f0f4ed;
  border-radius: 4px;
  padding: 3px 6px;
  margin-left: 5px;
  vertical-align: middle;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 9px;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #879184;
  padding: 10px 18px;
  border-block: 1px solid #e8ece4;
  background: #fbfcf9;
}
th span {
  font-size: 8px;
  color: #a3ac9f;
}
td {
  border-bottom: 1px solid #edf0e9;
  padding: 13px 18px;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcf8;
}
.date-cell {
  font: 10px/1.65 var(--mono);
  color: #6f7c70;
  white-space: nowrap;
}
.date-cell small {
  display: block;
  font-size: 9px;
  color: #9aa294;
}
.event-link {
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  color: #2e5144;
  font-weight: 550;
  font-size: 12px;
  max-width: 440px;
  overflow-wrap: anywhere;
}
.event-link:hover {
  text-decoration: underline;
}
.event-summary {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 4px;
  max-width: 460px;
  color: #8a9488;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-type {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font: 9px var(--mono);
  background: #eef3e9;
  color: #637458;
}
.type-create {
  background: #e8f2ef;
  color: #45816d;
}
.type-review {
  background: #eef0f9;
  color: #7782a1;
}
.type-audit {
  background: #fbf0df;
  color: #9c7c4d;
}
.type-general {
  background: #f1edf4;
  color: #8b7299;
}
.actor-cell {
  max-width: 190px;
  font-size: 10px;
  color: #778173;
}
.actor-cell span {
  display: block;
  overflow-wrap: anywhere;
}
.actor-cell i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.badge {
  display: inline-block;
  font-size: 9px;
  color: #8a7556;
  background: #f8f3e9;
  padding: 1px 4px;
  border-radius: 3px;
  margin: 4px 4px 0 0;
}
.badge.legacy {
  color: #78638f;
  background: #f3eef8;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: #8c9587;
  font-size: 10px;
}
.pagination > div {
  display: flex;
  gap: 7px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 25px 0 40px;
  font-size: 10px;
  color: #8c9688;
}
footer a {
  color: #778573;
}
.load-status {
  padding: 30px 0;
  color: var(--muted);
}
.empty {
  padding: 40px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  margin: 0 0 0 auto;
  top: 0;
  right: 0;
  max-height: 100dvh;
  height: 100dvh;
  max-width: min(650px, 100vw);
  width: 650px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 27px 30px;
  color: var(--ink);
  box-shadow: -20px 0 70px #173f381c;
}
dialog::backdrop {
  background: #142f2940;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.drawer-top button {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  width: 30px;
  height: 30px;
  font-size: 13px;
}
#detail-title {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.detail-summary {
  font-size: 14px;
  line-height: 1.7;
  margin: 15px 0 22px;
  color: #596a5d;
}
.detail-meta {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 9px;
  font-size: 11px;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 25px;
}
.detail-meta dt {
  color: #86917f;
}
.detail-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-section {
  margin: 25px 0;
}
.detail-section h3 {
  font-size: 12px;
  margin: 0 0 10px;
}
.detail-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #556759;
}
.actor-detail {
  background: #f7f9f4;
  padding: 12px 14px;
  margin: 8px 0;
  border-radius: 5px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.actor-detail strong {
  display: block;
  margin-bottom: 5px;
}
.actor-detail div {
  color: #7f8c77;
  font-size: 10px;
  margin-top: 3px;
}
.detail-links {
  display: flex;
  gap: 8px 15px;
  flex-wrap: wrap;
  font-size: 11px;
}
.notice {
  font-size: 11px;
  line-height: 1.7;
  padding: 12px 15px;
  background: #f8f2e7;
  color: #8b744e;
  border-radius: 5px;
  margin: 16px 0;
}
#tooltip {
  position: fixed;
  z-index: 30;
  pointer-events: none;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #213e35;
  color: #f6faef;
  box-shadow: 0 5px 20px #102f3320;
  font-size: 11px;
  line-height: 1.7;
}
#tooltip strong {
  display: block;
  font-size: 12px;
}
#tooltip small {
  display: block;
  color: #c0d0be;
}
@media (min-width: 1450px) {
  .workspace {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 35px;
  }
  .stats > div {
    padding: 24px 28px;
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 3%;
  }
  .workspace {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 18px;
  }
  .stats > div {
    padding: 18px 17px;
  }
  .stats small {
    font-size: 9px;
  }
  .stats strong {
    font-size: 28px;
  }
  .panel-heading {
    padding: 17px;
  }
  .model-legend {
    margin-inline: 17px;
  }
  .panel-heading p {
    max-width: 300px;
  }
  .actor-cell {
    min-width: 110px;
  }
  td {
    padding: 12px;
  }
  .intro {
    padding-top: 30px;
  }
  h1 {
    font-size: 35px;
  }
  .heatmap-scroll {
    padding-inline: 17px;
  }
}
@media (max-width: 720px) {
  .masthead {
    height: 63px;
    padding: 0 5%;
  }
  .masthead nav a:first-child {
    display: none;
  }
  .shell {
    padding: 0 5%;
  }
  .intro {
    align-items: flex-start;
    padding: 28px 0 25px;
  }
  .intro h1 {
    font-size: 31px;
  }
  .intro p {
    font-size: 12px;
    max-width: 230px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .provenance {
    font-size: 9px;
    max-width: 125px;
    padding-top: 4px;
  }
  .live-tag {
    font-size: 7px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 23px;
  }
  .stats > div {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }
  .stats > div:nth-child(2) {
    border-right: 0;
  }
  .stats > div:nth-child(3) {
    border-bottom: 0;
  }
  .stats strong {
    font-size: 26px;
  }
  .stats small {
    font-size: 8px;
  }
  .workspace {
    display: block;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .filter-heading,
  .method,
  .filter-rule {
    grid-column: 1/-1;
  }
  .filter-heading {
    margin-bottom: 12px;
  }
  .filters label {
    margin-bottom: 12px;
  }
  .filter-rule {
    margin: 5px 0 15px;
  }
  .method {
    margin-top: 0;
    margin-bottom: 13px;
  }
  .panel-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .panel-heading p {
    font-size: 10px;
    max-width: 215px;
  }
  .inline-label {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }
  .inline-label select {
    font-size: 10px;
    max-width: 140px;
  }
  .panel h2 {
    font-size: 14px;
  }
  .date-controls {
    padding-inline: 17px;
  }
  .date-controls > div {
    gap: 6px;
  }
  .date-controls label {
    display: block;
    font-size: 9px;
  }
  .date-controls input {
    display: block;
    max-width: 120px;
    font-size: 10px;
  }
  .date-arrow {
    margin-top: 14px;
  }
  .date-controls .text-button {
    font-size: 9px;
  }
  .event-panel .panel-heading {
    align-items: center;
  }
  .secondary-button {
    font-size: 10px;
  }
  .timeline-key {
    font-size: 9px;
    gap: 9px;
  }
  .heat-scale {
    display: none;
  }
  .model-legend {
    max-height: 100px;
  }
  .pagination {
    padding: 12px;
  }
  .pagination .secondary-button {
    padding: 6px;
  }
  .brand > span:last-child {
    font-size: 12px;
  }
  dialog {
    padding: 22px;
  }
  .stats span {
    font-size: 11px;
  }
}
