@font-face {
  font-family: Manrope;
  src: url(/assets/manrope-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url(/assets/plex-mono-latin.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --rail: #fafbfc;
  --panel: #fff;
  --raised: #f1f3f6;
  --hover: #f0f4fa;
  --text: #242c38;
  --muted: #586474;
  --subtle: #586474;
  --line: #d9dfe6;
  --strong-line: #8c98a8;
  --accent: #165dce;
  --accent-text: #1457bc;
  --accent-soft: #edf3ff;
  --on-accent: #fff;
  --green: #216341;
  --green-soft: #edf7f0;
  --red: #ad283b;
  --red-soft: #fff0f1;
  --amber: #805512;
  --amber-soft: #fff7e8;
  --focus: #165dce;
  --shadow: 0 8px 28px #14213524;
  --rail-width: 208px;
  --header-height: 56px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #151a22;
    --rail: #1b212b;
    --panel: #202733;
    --raised: #262f3c;
    --hover: #2b3646;
    --text: #edf1f7;
    --muted: #b0bdcf;
    --subtle: #b0bdcf;
    --line: #3b4758;
    --strong-line: #738297;
    --accent: #a4c5ff;
    --accent-text: #b3cfff;
    --accent-soft: #263b5b;
    --on-accent: #12203a;
    --green: #99d7b2;
    --green-soft: #203b2e;
    --red: #ffb2bc;
    --red-soft: #422c35;
    --amber: #edca8b;
    --amber-soft: #3c3427;
    --focus: #a4c5ff;
    --shadow: 0 8px 32px #0005;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151a22;
  --rail: #1b212b;
  --panel: #202733;
  --raised: #262f3c;
  --hover: #2b3646;
  --text: #edf1f7;
  --muted: #b0bdcf;
  --subtle: #b0bdcf;
  --line: #3b4758;
  --strong-line: #738297;
  --accent: #a4c5ff;
  --accent-text: #b3cfff;
  --accent-soft: #263b5b;
  --on-accent: #12203a;
  --green: #99d7b2;
  --green-soft: #203b2e;
  --red: #ffb2bc;
  --red-soft: #422c35;
  --amber: #edca8b;
  --amber-soft: #3c3427;
  --focus: #a4c5ff;
  --shadow: 0 8px 32px #0005;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    13px/1.55 Manrope,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
h1 {
  font-size: 24px;
}
h2 {
  font-size: 16px;
}
h3 {
  font-size: 14px;
}
h4 {
  font-size: 13px;
}
p {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button,
summary {
  touch-action: manipulation;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.45;
  transition: background-color 160ms ease-out;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a.button:hover {
  text-decoration: none;
  filter: brightness(0.96);
}
.secondary {
  background: var(--panel);
  border-color: var(--strong-line);
  color: var(--text);
}
.secondary:hover {
  background: var(--hover);
}
.danger {
  color: var(--red);
  border-color: var(--red);
}
input,
select,
textarea {
  background: var(--panel);
  border: 1px solid var(--strong-line);
  border-radius: 3px;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--text);
  max-width: 100%;
  min-width: 0;
}
textarea {
  width: 100%;
  resize: vertical;
}
input[type="checkbox"] {
  min-height: auto;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
input::placeholder {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
summary {
  cursor: pointer;
}
summary::marker {
  color: var(--muted);
}
summary.button {
  list-style: none;
}
summary.button::-webkit-details-marker {
  display: none;
}
.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.icon-button {
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--hover);
  text-decoration: none;
}
.muted,
.small,
.eyebrow {
  color: var(--muted);
}
.small,
small {
  font-size: 12px;
}
code,
pre,
.mono {
  font-family: "Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
pre {
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 12px 0 0;
  padding: 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  max-width: 100%;
}
time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.numeric {
  text-align: right;
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--panel);
  border: 2px solid var(--accent);
}
.skip:focus {
  top: 8px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
/* Shell */
.topbar {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 750;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand-name {
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 30px;
  border-radius: 3px;
  background: #353934;
  color: #fff;
}
.brand-mark svg {
  width: 28px;
  height: 28px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.workspace-mark,
.avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 11px;
}
.workspace-only {
  display: none;
}
.global-search {
  position: relative;
  margin-left: auto;
  width: min(340px, 28vw);
  display: flex;
  align-items: center;
  gap: 8px;
}
.global-search > .icon {
  position: absolute;
  left: 10px;
  color: var(--muted);
  pointer-events: none;
}
.global-search input {
  width: 100%;
  padding: 7px 36px 7px 32px;
  font-size: 12px;
  background: var(--bg);
}
.global-search kbd {
  position: absolute;
  right: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 11px system-ui;
  padding: 0 5px;
}
.search-submit {
  min-width: 44px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pending-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 8px;
  color: var(--text);
  white-space: nowrap;
}
.session-menu {
  position: relative;
}
.session-menu > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 6px;
  font-size: 12px;
  min-height: 36px;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 44px;
  width: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 16px;
  z-index: 40;
}
.menu-panel strong {
  display: block;
}
.menu-panel p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 12px;
}
.menu-panel a {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  min-height: 36px;
}
.mobile-toggle,
.theme-button,
.copy-button {
  display: none;
}
[data-js] .mobile-toggle,
[data-js] .theme-button,
[data-js] .copy-button {
  display: inline-flex;
}
[data-js] .search-submit {
  display: none;
}
.sidebar {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  width: var(--rail-width);
  background: var(--rail);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: auto;
}
.nav-group {
  margin-bottom: 20px;
}
.nav-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  padding: 0 10px 8px;
}
.nav-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 3px;
  color: var(--text);
}
.nav-group a .icon {
  color: var(--muted);
}
.nav-group a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
}
.nav-group a[aria-current] .icon {
  color: var(--accent-text);
}
.nav-group a:hover {
  background: var(--hover);
  text-decoration: none;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  min-width: 20px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 3px;
}
.nav-count:empty {
  display: none;
}
.settings-nav {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 12px 10px 0;
  border-top: 1px solid var(--line);
}
.sidebar-bottom strong {
  font-size: 12px;
  font-weight: 600;
}
.sidebar-bottom a {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
}
.sidebar-rule {
  display: none;
}
.app {
  margin-left: var(--rail-width);
  min-width: 0;
}
.contextbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  gap: 16px;
  font-size: 12px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.breadcrumbs a,
.breadcrumbs > span:not([aria-current]) {
  color: var(--muted);
}
.breadcrumbs [aria-current] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 450px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
}
.sample-dot {
  display: none;
}
main {
  padding: 8px 24px 32px;
  max-width: 1680px;
  min-height: calc(100svh - 150px);
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.page-heading p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  max-width: 76ch;
}
.page-heading > .button {
  white-space: nowrap;
}
.page-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
footer {
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.mobile-navigation {
  display: none;
}
[data-rail-collapsed="true"] {
  --rail-width: 64px;
}
[data-rail-collapsed="true"] .nav-label,
[data-rail-collapsed="true"] .sidebar-bottom,
[data-rail-collapsed="true"] .nav-group a span {
  display: none;
}
[data-rail-collapsed="true"] .nav-group a {
  justify-content: center;
  padding-inline: 6px;
}
.search-results {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: 420px;
  overflow: auto;
  z-index: 40;
}
.search-results a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.search-results p {
  padding: 16px;
  color: var(--muted);
}
.search-results small {
  display: block;
  color: var(--muted);
}
/* Surfaces and resource tables */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 0;
  overflow: clip;
}
.panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-body {
  padding: 16px;
}
.panel-body > p + p {
  margin-top: 12px;
}
.panel-body > h2:not(:first-child),
.panel-body > h3:not(:first-child) {
  margin-top: 24px;
}
.panel-body > h2 + p,
.panel-body > h3 + p {
  margin-top: 8px;
}
.section-space {
  margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 12px;
}
.section-heading:first-child {
  margin-top: 0;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.section-heading > a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}
.session-note {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--raised);
  line-height: 1.6;
}
.badge .icon {
  width: 13px;
  height: 13px;
}
.badge[data-status="HELD"] {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: var(--amber);
}
.badge[data-status="POSTED"],
.badge[data-status="READY"] {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--green);
}
.badge[data-status="STALE"],
.badge[data-status="OUTCOME_UNKNOWN"] {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: var(--amber);
}
.badge[data-status="DENIED"],
.badge[data-status="UPSTREAM_REJECTED"] {
  color: var(--red);
  background: var(--red-soft);
  border-color: var(--red);
}
.filters {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}
.filter[aria-current] {
  color: var(--accent-text);
  border-bottom-color: var(--accent);
  font-weight: 700;
}
.filter:hover {
  text-decoration: none;
}
.filter-count {
  font-size: 11px;
  background: var(--raised);
  border-radius: 3px;
  padding: 0 5px;
  color: var(--muted);
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 5px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.toolbar .filters {
  border-bottom: 0;
}
.table-toolbar {
  padding: 12px 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.table-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 160px;
  flex: 1;
  max-width: 340px;
}
.table-search > .icon {
  position: absolute;
  left: 10px;
  color: var(--muted);
}
.table-search input {
  width: 100%;
  padding-left: 32px;
  font-size: 12px;
}
.select-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.select-field select {
  font-size: 12px;
}
.result-count {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  align-self: center;
}
.table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  table-layout: auto;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--raised);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.table td,
.table tbody th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.table tbody th {
  font-size: 13px;
  background: transparent;
  font-weight: 600;
  color: var(--text);
}
.table tbody tr:last-child > * {
  border-bottom: 0;
}
.table tr:hover > td,
.table tr:hover > th {
  background: var(--hover);
}
.table td > a {
  font-weight: 650;
}
.table small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.table th.numeric,
.table td.numeric {
  text-align: right;
}
.table-wrap {
  overflow-x: auto;
}
.request-table .request-kind {
  white-space: nowrap;
}
.request-table td:first-child {
  width: 150px;
}
.request-table td:nth-child(3) {
  min-width: 150px;
}
.table-sort {
  color: inherit;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.pagination > span {
  margin-right: auto;
}
.pagination select {
  min-height: 30px;
  padding: 3px 8px;
}
.pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-empty {
  padding: 32px;
}
.empty {
  text-align: center;
  padding: 40px 24px;
}
.empty h2 {
  font-size: 16px;
  margin: 8px 0;
}
.empty p {
  font-size: 13px;
  max-width: 55ch;
  margin: 0 auto 16px;
  color: var(--muted);
}
.empty > .icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
}
.facts,
.detail-fields,
.connection-facts,
.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.facts dt,
.detail-fields dt,
.connection-facts dt,
.event-facts dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.facts dd,
.detail-fields dd {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.span-all {
  grid-column: 1/-1;
}
.copy-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.copy-line code {
  flex: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}
.copy-button {
  min-width: 28px;
  min-height: 28px;
  padding: 5px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.copy-button:hover {
  background: var(--hover);
}
/* Overview and store */
.store-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.metric {
  padding: 16px;
}
.metric > span {
  color: var(--muted);
  font-size: 12px;
}
.metric > strong {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 20px;
}
.metrics-strip a {
  padding: 16px;
  color: var(--text);
  border-right: 1px solid var(--line);
}
.metrics-strip a:last-child {
  border: 0;
}
.metrics-strip a:hover {
  background: var(--hover);
  text-decoration: none;
}
.metrics-strip .metric-label {
  font-size: 11px;
  color: var(--muted);
}
.metrics-strip .metric-value {
  font-size: 24px;
  font-weight: 650;
  margin: 8px 0;
}
.metrics-strip small {
  font-size: 11px;
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 20px;
}
.health-list > div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.health-list > div:last-child {
  border: 0;
}
.health-list dt {
  color: var(--muted);
  font-size: 11px;
}
.health-list dd {
  margin-top: 4px;
  font-size: 12px;
}
.recent-events {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recent-events li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.recent-events li:last-child {
  border: 0;
}
.recent-events div {
  flex: 1;
  min-width: 0;
}
.recent-events small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.recent-events time {
  color: var(--muted);
  white-space: nowrap;
}
.store-orders {
  display: grid;
  gap: 16px;
}
.store-order {
  scroll-margin-top: 80px;
}
.store-order .order-state {
  text-transform: capitalize;
  font-size: 12px;
}
.order-totals {
  display: flex;
  gap: 32px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--raised);
}
.order-totals dt {
  font-size: 11px;
  color: var(--muted);
}
.order-totals dd {
  font-size: 14px;
  font-weight: 650;
  margin-top: 4px;
}
.tracking {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.store-jump {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.store-prices th small {
  font-weight: 400;
}
.store-index {
  margin-bottom: 20px;
}
.resource-tabs {
  margin-bottom: 20px;
}
.order-detail-link {
  font-weight: 650;
}
.live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px;
}
/* Exact review and decision */
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 20px;
  align-items: start;
}
.request-layout > div {
  min-width: 0;
}
.request-properties {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.request-properties h2 {
  font-size: 14px;
}
.request-properties .policy-reason {
  margin: 8px 0 16px;
  font-size: 12px;
  color: var(--muted);
}
.request-properties .facts {
  display: block;
}
.request-properties .facts > div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.request-properties .facts dd {
  font-size: 12px;
}
.request-properties .text-link {
  margin-top: 16px;
}
.request-properties > .small {
  margin-top: 12px;
}
.preview-intro {
  padding: 12px 16px;
  color: var(--muted);
}
.preview-intro p {
  font-size: 12px;
}
.change-table th:first-child {
  width: 42%;
}
.change-table td:last-child {
  background: var(--accent-soft);
}
.change-table th,
.change-table td {
  padding: 12px 16px;
}
.change-preview .eyebrow {
  font-size: 11px;
  margin-bottom: 4px;
}
.request-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: -6px 0 20px;
  font-size: 12px;
  color: var(--muted);
}
.countdown {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.actions {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}
.actions h2 {
  font-size: 14px;
}
.actions > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.actions .deadline {
  font-size: 11px;
  margin-top: 12px;
}
.actions .buttons {
  margin-top: 12px;
}
.approval-review {
  position: relative;
}
.confirmation {
  margin-top: 12px;
  padding: 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.confirmation p {
  margin: 8px 0 16px;
}
.metadata {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}
.metadata > summary {
  padding: 12px 16px;
  font-weight: 650;
  min-height: 44px;
}
.metadata .panel-body {
  border-top: 1px solid var(--line);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 4px 16px 16px;
}
.timeline li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.timeline li:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--panel);
  top: 18px;
  left: -4px;
}
.timeline strong {
  display: block;
  font-size: 12px;
}
.timeline time,
.timeline p {
  font-size: 11px;
  color: var(--muted);
}
.mobile-policy {
  display: none;
}
.untrusted-notice,
.alert,
.flash {
  padding: 12px 16px;
  border: 1px solid var(--amber);
  background: var(--amber-soft);
  border-radius: 4px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 12px;
}
.untrusted-notice {
  display: flex;
  gap: 12px;
  align-items: start;
}
.untrusted-notice p {
  margin-top: 4px;
}
.flash {
  display: flex;
  gap: 10px;
  align-items: start;
}
.flash.success {
  background: var(--green-soft);
  border-color: var(--green);
}
.flash.error {
  background: var(--red-soft);
  border-color: var(--red);
}
.flash p {
  margin-top: 4px;
}
.flash .icon {
  margin-top: 2px;
}
.decision-dialog,
.help-dialog,
.event-dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--strong-line);
  border-radius: 6px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #111b2b80;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.dialog-body {
  padding: 16px;
}
.dialog-body p + p {
  margin-top: 12px;
}
.dialog-body .confirmation {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.dialog-body .confirmation p:first-child {
  margin-top: 0;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: var(--raised);
}
.help-dialog {
  margin: var(--header-height) 0 0 auto;
  height: calc(100dvh - var(--header-height));
  max-height: none;
  width: 360px;
  border-radius: 0;
}
.help-dialog .dialog-body h3 {
  margin: 20px 0 8px;
}
.decision-dialog[open],
.help-dialog[open] {
  animation: reveal 160ms ease-out;
}
.decision-busy {
  display: none;
}
[aria-busy="true"] .decision-busy {
  display: block;
  margin-top: 16px;
}
.skeleton {
  height: 8px;
  max-width: 280px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 8px;
}
.skeleton:last-child {
  width: 70%;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Supporting pages */
.narrow {
  max-width: 720px;
  margin: 16px auto;
}
.scope-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}
.scope-row p {
  color: var(--muted);
  margin-top: 4px;
}
.scope-row > .icon {
  margin-top: 3px;
  color: var(--muted);
}
.consent-facts,
.consent-footer {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.consent-footer {
  background: var(--raised);
}
.consent-footer > p {
  font-size: 12px;
  color: var(--muted);
}
.prose {
  margin-top: 16px;
}
.guide-steps {
  padding-left: 24px;
  margin: 12px 0;
}
.guide-steps li {
  padding: 8px 0;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
}
.tool-list {
  display: grid;
  gap: 8px;
}
.tool-card > summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  list-style: none;
}
.tool-card > summary > strong {
  min-width: 180px;
}
.tool-card > summary > code {
  color: var(--muted);
}
.tool-card > summary > .badge {
  margin-left: auto;
}
.tool-card .panel-body {
  border-top: 1px solid var(--line);
}
.annotation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.error-page {
  max-width: 600px;
  margin: 64px auto;
  text-align: center;
}
.error-page .page-heading {
  display: block;
}
.error-page .page-heading p {
  margin-top: 12px;
}
.error-page .intro {
  margin: 12px 0 24px;
  color: var(--muted);
}
.error-page .buttons {
  justify-content: center;
}
.error-page > .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--muted);
}
.section-navigation {
  display: flex;
  gap: 16px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.section-navigation a {
  padding: 8px 0;
}
.section-navigation a[aria-current] {
  border-bottom: 2px solid var(--accent);
}
.section-navigation .nav-label {
  display: none;
}
.tool-mode {
  color: var(--muted);
  font-size: 12px;
}
.audit-table td:first-child {
  white-space: nowrap;
}
.event-detail > summary {
  font-weight: 600;
  color: var(--accent-text);
}
.event-panel {
  margin-top: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 280px;
}
.event-facts {
  margin: 16px 0;
}
.drawer-breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.event-dialog {
  width: min(720px, calc(100vw - 32px));
}
.event-dialog .event-panel {
  margin: 0;
  border: 0;
}
.case-detail > div {
  margin: 12px 0;
  min-width: 240px;
}
.eval-summary,
.eval-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.eval-not-run,
.report-empty {
  padding: 24px;
}
.eval-metrics {
  display: flex;
  gap: 24px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--text);
  color: var(--panel);
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
  font-size: 12px;
}
.navigation-shade {
  position: fixed;
  inset: var(--header-height) 0 0;
  background: #111b2b80;
  z-index: 15;
}
.info-popover {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.info > summary {
  list-style: none;
}
.info {
  display: inline-block;
}
.policy-table td {
  max-width: 300px;
}
.policy-source {
  margin-top: 20px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.session-preferences {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
@media (max-width: 1180px) {
  .workspace {
    display: none;
  }
  .user-chip-label {
    display: none;
  }
  .global-search {
    width: 300px;
  }
  .request-layout {
    grid-template-columns: minmax(0, 1fr) 264px;
  }
  .request-table th,
  .request-table td {
    padding-inline: 10px;
  }
  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics-strip a:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .metrics-strip a:nth-child(3) {
    border-right: 0;
  }
}
@media (max-width: 960px) {
  :root {
    --rail-width: 184px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .request-layout {
    grid-template-columns: 1fr;
  }
  .request-aside {
    display: block;
  }
  .request-properties .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .pending-label {
    display: none;
  }
  .global-search {
    width: 260px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .request-table .rule-cell {
    max-width: 140px;
  }
}
@media (max-width: 700px) {
  :root {
    --header-height: 56px;
    --rail-width: 0px;
  }
  .topbar {
    padding: 0 12px;
    gap: 8px;
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
  }
  .brand {
    font-size: 13px;
    gap: 7px;
  }
  .brand-mark {
    width: 24px;
    height: 26px;
  }
  .brand-mark svg {
    width: 24px;
    height: 24px;
  }
  .topbar-actions {
    margin-left: auto;
    gap: 0;
  }
  .topbar-actions .pending-link {
    padding: 6px;
    min-height: 36px;
  }
  .topbar-actions > a[aria-label="Help"] {
    display: none;
  }
  .topbar-actions .icon-button {
    min-width: 32px;
    padding: 6px;
  }
  .session-menu > summary {
    padding: 4px;
  }
  .avatar {
    width: 24px;
    height: 24px;
  }
  .global-search {
    order: 3;
    width: 100%;
    margin: 0 0 8px;
  }
  .global-search input {
    min-height: 36px;
  }
  .topbar .mobile-toggle {
    min-width: 32px;
    padding: 6px;
  }
  .sidebar {
    display: none;
    width: 232px;
    top: 100px;
  }
  .app {
    margin-left: 0;
  }
  .mobile-navigation {
    display: block;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
  }
  .mobile-navigation nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  .mobile-navigation summary {
    font-weight: 650;
  }
  [data-js] .mobile-navigation {
    display: none;
  }
  [data-nav-open="true"] .sidebar {
    display: flex;
  }
  [data-rail-collapsed="true"] .nav-label,
  [data-rail-collapsed="true"] .sidebar-bottom,
  [data-rail-collapsed="true"] .nav-group a span {
    display: initial;
  }
  [data-rail-collapsed="true"] .nav-group a {
    justify-content: flex-start;
    padding: 7px 10px;
  }
  .navigation-shade {
    top: 100px;
  }
  .contextbar {
    padding: 12px 16px;
    gap: 8px;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 6px;
  }
  .breadcrumbs [aria-current] {
    max-width: 155px;
  }
  .notice {
    font-size: 11px;
  }
  .contextbar .breadcrumbs > a:first-child {
    display: none;
  }
  .contextbar .breadcrumbs > a:first-child + span {
    display: none;
  }
  main {
    padding: 4px 16px 24px;
    min-height: calc(100svh - 194px);
  }
  h1 {
    font-size: 22px;
  }
  .page-heading {
    display: block;
    margin-bottom: 16px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.65;
  }
  .page-heading > .button,
  .page-heading > .page-actions {
    margin-top: 12px;
  }
  .page-actions {
    flex-wrap: wrap;
  }
  .page-heading > .button {
    min-height: 36px;
  }
  .page-heading .badge {
    font-size: 11px;
  }
  .panel-head {
    padding: 12px;
  }
  .panel-head h2 {
    font-size: 14px;
  }
  .panel-body {
    padding: 16px;
  }
  .table-toolbar {
    padding: 12px;
    gap: 10px;
    align-items: flex-end;
  }
  .table-search {
    max-width: none;
    flex-basis: 100%;
  }
  .select-field {
    flex: 1;
  }
  .select-field select {
    width: 100%;
  }
  .result-count {
    width: 100%;
    margin: 0;
  }
  .table-toolbar > button {
    min-height: 36px;
  }
  .filters {
    gap: 16px;
  }
  .filter {
    font-size: 12px;
    min-height: 44px;
  }
  .toolbar {
    display: block;
    padding: 0 12px;
  }
  .toolbar > .small {
    display: block;
    margin: 8px 0;
  }
  .table {
    font-size: 12px;
  }
  .table:not(.change-table):not(.store-lines) thead {
    display: none;
  }
  .table:not(.change-table):not(.store-lines) tbody,
  .table:not(.change-table):not(.store-lines) tr {
    display: block;
  }
  .table:not(.change-table):not(.store-lines) tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }
  .table:not(.change-table):not(.store-lines) tbody tr:last-child {
    border: 0;
  }
  .table:not(.change-table):not(.store-lines) td,
  .table:not(.change-table):not(.store-lines) tbody th {
    padding: 0;
    display: block;
    border: 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .table:not(.change-table):not(.store-lines) td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
    font-weight: 500;
  }
  .table:not(.change-table):not(.store-lines) td:first-child,
  .table:not(.change-table):not(.store-lines) th:first-child {
    grid-column: 1/-1;
  }
  .table:not(.change-table):not(.store-lines) td:first-child:before {
    display: none;
  }
  .request-table td:nth-child(3) {
    grid-column: 1/-1;
  }
  .table td.numeric {
    text-align: left;
    white-space: normal;
  }
  .table small {
    font-size: 11px;
  }
  .table code {
    font-size: 11px;
  }
  .request-table .request-kind {
    white-space: normal;
  }
  .change-table {
    table-layout: fixed;
  }
  .change-table th,
  .change-table td {
    padding: 10px 8px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .change-table th:first-child {
    width: 38%;
  }
  .change-table th:nth-child(2) {
    width: 25%;
  }
  .change-table th:nth-child(3) {
    width: 37%;
  }
  .change-table strong {
    font-weight: 650;
  }
  .request-meta {
    gap: 10px;
    margin: 0 0 16px;
  }
  .request-properties .facts {
    display: block;
  }
  .request-properties .copy-line code {
    font-size: 11px;
  }
  .untrusted-notice {
    display: block;
    padding: 12px;
  }
  .untrusted-notice .badge {
    margin-bottom: 8px;
  }
  .request-layout {
    gap: 16px;
  }
  .request-layout .page-heading {
    margin-bottom: 16px;
  }
  .metadata > summary {
    padding: 12px;
  }
  .actions {
    padding: 16px;
  }
  .actions .buttons {
    align-items: stretch;
  }
  .confirmation {
    padding: 12px;
  }
  .confirmation button {
    width: 100%;
  }
  .actions .deadline time {
    font-size: 11px;
  }
  .store-metrics {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  .metric > span {
    font-size: 11px;
  }
  .metric > strong {
    font-size: 24px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-strip a {
    padding: 12px;
  }
  .metrics-strip a:nth-child(3) {
    border-right: 1px solid var(--line);
  }
  .metrics-strip a:nth-child(2n) {
    border-right: 0;
  }
  .metrics-strip a:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }
  .metrics-strip .metric-label {
    font-size: 11px;
  }
  .metrics-strip .metric-value {
    font-size: 22px;
    margin: 4px 0;
  }
  .overview-grid {
    gap: 16px;
  }
  .recent-events li {
    gap: 10px;
    padding: 12px;
  }
  .recent-events time {
    font-size: 11px;
  }
  .store-jump {
    gap: 10px 16px;
    font-size: 12px;
  }
  .order-totals {
    padding: 12px;
    gap: 20px;
  }
  .store-lines {
    table-layout: fixed;
  }
  .store-lines th,
  .store-lines td {
    padding: 8px 4px;
    font-size: 11px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .store-lines th:first-child {
    width: 38%;
    text-align: left;
    padding-left: 8px;
  }
  .store-lines th:not(:first-child) {
    width: 15.5%;
  }
  .store-lines small code {
    font-size: 11px;
  }
  .store-lines th small {
    font-size: 11px;
  }
  .store-order .panel-head {
    align-items: flex-start;
  }
  .store-order .order-state {
    font-size: 11px;
  }
  .tool-card > summary {
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px;
  }
  .tool-card > summary > strong {
    min-width: 0;
    flex: 1;
  }
  .tool-card > summary > code {
    order: 4;
    width: 100%;
    padding-left: 18px;
  }
  .tool-card > summary > .badge {
    margin: 0;
  }
  .narrow {
    margin: 8px auto;
  }
  .facts,
  .detail-fields,
  .connection-facts,
  .event-facts {
    grid-template-columns: 1fr;
  }
  .consent-facts .facts {
    grid-template-columns: 1fr 1fr;
  }
  .error-page {
    margin: 40px auto;
  }
  .error-page .page-heading p {
    font-size: 13px;
  }
  .guide-steps {
    padding-left: 20px;
  }
  .guide-steps li {
    padding: 8px 0;
  }
  .event-panel {
    min-width: 0;
  }
  .event-dialog .panel-head {
    align-items: start;
  }
  .event-dialog .event-panel .panel-body {
    padding: 16px;
  }
  .audit-table td:first-child {
    white-space: normal;
  }
  .audit-table td:nth-child(2) {
    grid-column: 1/-1;
  }
  .case-detail > div {
    min-width: 0;
  }
  .case-table td:last-child {
    grid-column: 1 / -1;
  }
  .toast {
    bottom: 16px;
    width: max-content;
  }
  .pagination {
    padding: 12px;
    gap: 6px;
  }
  .pagination label {
    font-size: 11px;
  }
  .pagination .icon-button {
    min-width: 32px;
    padding: 6px;
  }
  footer {
    padding: 12px 16px;
    display: block;
    font-size: 11px;
  }
  .footer-links {
    margin-top: 8px;
  }
  .help-dialog {
    width: min(360px, 100vw);
    margin-top: 0;
    height: 100dvh;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions button {
    min-height: 40px;
  }
  .eval-summary,
  .eval-grid {
    grid-template-columns: 1fr;
  }
  html {
    scroll-padding-top: 120px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.customer-flag {
  display: flex;
  align-items: center;
  gap: 4px;
}
.customer-flag .icon {
  width: 12px;
  height: 12px;
}
.store-disclosure > summary {
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 650;
}
.store-disclosure > summary span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 12px;
  font-size: 12px;
}
.store-disclosure[open] > summary {
  margin-bottom: 12px;
}
.health-list dd .icon {
  vertical-align: -3px;
  margin-right: 6px;
}
.evaluation-summary {
  padding: 16px;
}
.eval-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.eval-status > div {
  flex: 1;
}
.eval-status p {
  margin-top: 6px;
  color: var(--muted);
}
.eval-coverage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.eval-coverage span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.eval-coverage strong {
  font-size: 20px;
  font-weight: 650;
  color: var(--text);
}
.evaluation-method > summary {
  padding: 14px 16px;
}
.evaluation-method .panel-body {
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .eval-status {
    flex-wrap: wrap;
  }
  .eval-status > .badge {
    margin-left: 28px;
  }
  .eval-coverage {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }
  .eval-coverage span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .store-disclosure > summary span {
    display: block;
    margin: 4px 0 0 16px;
  }
}
@media (min-width: 701px) {
  .store-prices th small {
    display: inline;
    margin-left: 10px;
  }
  .store-prices td,
  .store-prices tbody th {
    padding-block: 10px;
  }
}
@media (max-width: 700px) {
  .store-lines th:first-child {
    width: 32%;
  }
  .store-lines th:not(:first-child) {
    width: 17%;
  }
  .store-lines thead th {
    font-size: 11px;
  }
  .store-lines td {
    font-size: 11px;
  }
}

.rejection-note {
  margin: 12px 0;
}
.rejection-note label {
  display: block;
  margin: 12px 0 6px;
}
.rejection-note textarea {
  width: 100%;
  max-width: 560px;
  resize: vertical;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  font: inherit;
}
.user-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.audit-table td:nth-child(2) {
  white-space: nowrap;
}
html:not([data-js]) .pagination,
html:not([data-js]) [data-table] .table-toolbar {
  display: none;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 20px;
  align-items: start;
}
.support-grid > aside > p {
  margin: 12px 0;
}
.support-grid .detail-fields {
  margin: 20px 0 0;
}
.tool-list {
  display: block;
}
.tool-card {
  border-bottom: 1px solid var(--line);
}
.tool-card:last-child {
  border-bottom: 0;
}
.tool-card > summary {
  padding: 14px 16px;
}
.tool-card[open] {
  background: var(--hover);
}
.tool-card .metadata {
  background: var(--panel);
}
.tool-card .detail-fields {
  margin: 20px 0;
}
.preference-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.preference-form label {
  display: grid;
  gap: 6px;
}
html:not([data-js]) .preference-form {
  display: none;
}
[data-density="comfortable"] .table td,
[data-density="comfortable"] .table th {
  padding-top: 16px;
  padding-bottom: 16px;
}
@media (max-width: 960px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .preference-form label {
    width: 100%;
  }
  .tool-card > summary {
    padding: 14px 12px;
  }
  .support-grid {
    gap: 16px;
  }
}

.support-grid > aside .facts {
  display: block;
  margin: 16px 0;
}
.support-grid > aside .facts > div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.support-grid > aside .facts dd {
  margin-top: 4px;
}
.guide-steps li strong {
  display: block;
  margin-bottom: 4px;
}

.metrics-strip .metric-label,
.metrics-strip .metric-value {
  display: block;
}
.recent-events a,
p a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.decision-busy {
  padding: 12px 20px;
}
.decision-dialog form > .alert,
.decision-dialog form > .button {
  margin: 12px 20px;
}
.decision-dialog form > .button {
  margin-top: 0;
}

/* Supporting text remains readable in dense tables and on narrow screens. */
.table small,
.recent-events small,
.actions .deadline,
.actions .deadline time {
  font-size: 12px;
}
.facts dd {
  text-wrap: pretty;
}

html:not([data-js]) [data-panel-close] {
  display: none;
}

/* Decision context stays in reading order, immediately before the controls. */
.decision-context {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
}
.decision-context h2 {
  font-size: 15px;
}
.decision-context > p {
  margin-top: 8px;
}
.policy-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 16px 0;
}
.policy-facts dt {
  color: var(--muted);
  font-size: 12px;
}
.policy-facts dd {
  margin: 4px 0 0;
}
.side-effects {
  padding-left: 20px;
  margin: 8px 0 0;
}
.side-effects li + li {
  margin-top: 6px;
}
.customer-note {
  margin: 16px;
  padding: 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.customer-note blockquote {
  margin: 12px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.read-error {
  padding: 24px;
}
.read-error p {
  margin: 8px 0 16px;
}
.nav-drawer-header {
  display: none;
}
@media (max-width: 700px) {
  [data-nav-open="true"] {
    overflow: hidden;
  }
  [data-nav-open="true"] .nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  .policy-facts {
    grid-template-columns: 1fr;
  }
}

/* Resource summaries use hierarchy rather than shrinking the data. */
.mobile-label {
  display: none;
}
.request-table {
  table-layout: fixed;
}
.request-table th:first-child {
  width: auto;
}
.request-table th:nth-child(2) {
  width: 160px;
}
.request-table th:nth-child(3),
.request-table th:nth-child(4) {
  width: 130px;
}
.request-table td,
.request-table tbody th {
  height: 48px;
  padding: 12px 14px;
  vertical-align: middle;
}
.request-table td:first-child {
  width: auto;
}
.request-table td:nth-child(3) {
  min-width: 0;
}
.request-table .request-cell > a {
  display: inline-block;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.request-table .customer-flag {
  display: inline-flex;
  margin-left: 6px;
  vertical-align: middle;
}
.request-table .request-time,
.request-table .request-expiry {
  white-space: nowrap;
  color: var(--muted);
}
.recent-request-table th:nth-child(3),
.recent-request-table td:nth-child(3) {
  display: none;
}
.audit-table td {
  vertical-align: middle;
}
@media (max-width: 700px) {
  .table.request-table,
  .table.audit-table {
    font-size: 13px;
  }
  .table.request-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 12px 16px;
  }
  .table.request-table td {
    padding: 0;
    width: auto;
    min-width: 0;
    height: auto;
    border: 0;
  }
  .table.request-table td:before,
  .table.audit-table td:before {
    display: none !important;
  }
  .table.request-table .request-cell,
  .table.request-table .request-status {
    grid-column: 1/-1;
  }
  .table.request-table .request-cell > a {
    max-width: calc(100% - 24px);
  }
  .table.request-table .request-time {
    display: block;
    grid-column: 1;
    font-size: 13px;
  }
  .table.request-table .request-expiry {
    grid-column: 2;
    text-align: right;
    font-size: 13px;
  }
  .mobile-label {
    display: inline;
  }
  .table.audit-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 12px 16px;
  }
  .table.audit-table td {
    border: 0;
    padding: 0;
    width: auto;
    min-width: 0;
  }
  .table.audit-table td:nth-child(3) {
    grid-row: 1;
    grid-column: 1;
  }
  .table.audit-table td:nth-child(5) {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
  }
  .table.audit-table td:nth-child(4) {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .table.audit-table td:nth-child(4) > a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .table.audit-table td:nth-child(4) small {
    display: none;
  }
  .table.audit-table td:nth-child(1) {
    grid-row: 3;
    grid-column: 1;
    font-size: 13px;
  }
  .table.audit-table td:nth-child(2) {
    grid-row: 3;
    grid-column: 2;
    font-size: 13px;
  }
}

/* Shared scope, outcome, numeric and time treatment. */
.scope-chip {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  margin: 2px 6px 2px 0;
  background: var(--raised);
}
.table .numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table .order-state {
  font-size: 13px;
  white-space: nowrap;
}
.order-state[data-order-status="FULFILLED"] {
  color: var(--green);
}
.order-state[data-order-status="CANCELED"] {
  color: var(--red);
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.disclosure-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 6px;
}
.disclosure-icon .icon {
  width: 14px;
  height: 14px;
  transition: transform 150ms ease-out;
}
details[open] > summary > .disclosure-icon .icon {
  transform: rotate(90deg);
}
.audit-table .date-group th {
  padding: 8px 14px;
  font-size: 13px;
  background: var(--raised);
}
.audit-table td:nth-child(3) {
  min-width: 190px;
}
.event-outcome {
  font-size: 13px;
}
.attention-group {
  margin-bottom: 20px;
}
.attention-group h2,
.session-group h2 {
  font-size: 15px;
  margin-bottom: 12px;
}
.attention-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 4px;
}
.attention-metrics a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--text);
  border-right: 1px solid var(--line);
}
.attention-metrics a:last-child {
  border: 0;
}
.attention-metrics strong {
  margin-left: auto;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.attention-metrics a:hover {
  background: var(--hover);
}
.session-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.session-group h2 {
  margin: 0;
}
.session-group dl {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}
.session-group dl > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.session-group dt {
  color: var(--muted);
  font-size: 13px;
}
.session-group dd {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
time[data-exact-time] {
  position: relative;
}
time[data-exact-time]:focus::after {
  content: attr(data-exact-time);
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: 55;
  width: max-content;
  max-width: 240px;
  white-space: normal;
  padding: 6px 8px;
  background: var(--text);
  color: var(--panel);
  border-radius: 3px;
  font-size: 13px;
}
.request-expiry time[data-exact-time]:focus::after,
.change-table td:last-child time[data-exact-time]:focus::after {
  left: auto;
  right: 0;
}
.timeline-day {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 960px) {
  .session-group {
    display: block;
  }
  .session-group dl {
    margin-top: 12px;
  }
  .session-group dl > div {
    display: block;
  }
}
@media (max-width: 700px) {
  .table,
  .table tbody th {
    font-size: 13px;
  }
  .table .numeric {
    text-align: right;
  }
  .table.audit-table tbody tr.date-group {
    display: block;
    padding: 8px 16px;
    background: var(--raised);
  }
  .table.audit-table .date-group th {
    padding: 0;
  }
  .table.audit-table td:nth-child(3) {
    min-width: 0;
  }
  .event-outcome {
    font-size: 13px;
  }
  .attention-metrics a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px;
    padding: 12px;
  }
  .attention-metrics strong {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
  }
  .attention-metrics .icon {
    grid-row: 2;
    grid-column: 2;
  }
  .session-group dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .session-group dl > div {
    display: flex;
    justify-content: space-between;
  }
  .table.order-table td:nth-child(3) {
    grid-column: 1/-1;
  }
}

.change-preview[data-tool="update_prices"] th:first-child {
  width: 34%;
}
.change-table .current-value {
  background: var(--raised);
}
@media (max-width: 700px) {
  .change-table .numeric {
    font-size: 13px;
  }
}

/* Stale values are a labeled comparison on phones, never a squeezed fourth column. */
.money-value {
  white-space: nowrap;
  overflow-wrap: normal;
}
@media (max-width: 700px) {
  .table.stale-comparison {
    display: block;
    width: 100%;
    table-layout: auto;
  }
  .table.stale-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table.stale-comparison tbody {
    display: block;
  }
  .table.stale-comparison tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
  }
  .table.stale-comparison tbody th,
  .table.stale-comparison tbody td {
    width: auto;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    font-size: 13px;
  }
  .table.stale-comparison tbody th:first-child {
    width: auto;
    background: var(--raised);
    text-align: left;
  }
  .table.stale-comparison tbody td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
  }
  .table.stale-comparison tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    text-align: left;
    font-weight: 400;
  }
}

.request-table td,
.request-table tbody th {
  padding-top: 6px;
  padding-bottom: 6px;
}
.request-table .request-cell > a {
  max-width: 100%;
  line-height: 18px;
}
.request-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}
.request-table .request-signals .customer-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--amber);
}
@media (max-width: 700px) {
  .request-table .request-cell > a {
    max-width: 100%;
  }
  .request-signals {
    margin-top: 4px;
  }
}

.actions > .button {
  margin-top: 12px;
}
