/* One visual system: graphite for hierarchy, white for data, cyan for action and progress. */
:root {
  --ink: #16242c;
  --muted: #61727c;
  --surface: #fff;
  --canvas: #f4f7f9;
  --line: #dde7ec;
  --accent: #086d91;
  --cyan: #48c9ef;
  --soft-cyan: #eaf7fc;
  --radius: 18px;
  --shadow: 0 6px 26px #18343e08;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
body {
  color: var(--ink);
  background: var(--canvas);
}
.main-shell {
  background:
    radial-gradient(ellipse at 100% 0, #d9f3fd66, transparent 48%),
    var(--canvas);
}
.sidebar {
  background: linear-gradient(175deg, #fff 8%, #f8fbfd 66%, #edf7fb);
  border-color: var(--line);
}
.brand {
  padding-left: 8px;
  padding-right: 8px;
}
.brand img {
  max-width: 220px;
  filter: none;
}
.nav-label {
  letter-spacing: 0.17em;
  color: #7b8a94;
  font-size: 0.67rem;
}
.nav-item {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.28s var(--ease),
    background 0.28s,
    box-shadow 0.28s,
    color 0.28s;
}
.nav-icon {
  transition:
    transform 0.35s var(--ease),
    background 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  height: 43px;
  flex-basis: 43px;
  background: linear-gradient(140deg, #fff, #f0f7fa);
}
.nav-item .ui-icon {
  transition:
    stroke-dashoffset 0.55s ease,
    transform 0.4s var(--ease);
  width: 28px;
  height: 28px;
}
.nav-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(ellipse at 20% 50%, #80def752, transparent 72%);
  transition: opacity 0.3s;
  pointer-events: none;
}
.nav-item:hover:not(:disabled),
.nav-item:focus-visible {
  transform: translateX(5px);
  box-shadow: 0 6px 20px #25a9cf16;
}
.nav-item:hover::after,
.nav-item:focus-visible::after {
  opacity: 1;
}
.nav-item:hover .nav-icon,
.nav-item:focus-visible .nav-icon {
  transform: translateY(-2px) rotate(-5deg) scale(1.08);
  border-color: #78cde5;
  box-shadow: 0 5px 18px #33b7e32a;
}
.nav-item:hover .ui-icon {
  transform: scale(1.06);
}
.nav-item.active {
  background: linear-gradient(120deg, #233943, #15242b);
  box-shadow:
    inset 3px 0 0 var(--cyan),
    0 6px 20px #163a4820;
}
.nav-item.active .nav-icon {
  background: linear-gradient(145deg, #2a5363, #203945);
  color: #a7edff;
}
button {
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s,
    background 0.22s,
    border-color 0.22s;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #a3ccdd;
}
button:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.82;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
}
button.primary {
  background: linear-gradient(125deg, #2a424c, #14242b);
  color: #fff;
  border-color: #24424d;
  box-shadow:
    0 5px 14px #132f3a20,
    inset 0 1px 0 #ffffff18;
}
button.primary:hover:not(:disabled) {
  background: linear-gradient(125deg, #335768, #18333f);
  box-shadow: 0 6px 22px #2aa8d032;
}
button.accent {
  background: linear-gradient(115deg, #086180, #087da2);
  border-color: #086d91;
  box-shadow: 0 4px 14px #009ac325;
}
button.accent:hover:not(:disabled) {
  background: linear-gradient(115deg, #075771, #056e92);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #32abda;
  outline-offset: 4px;
}
.page-heading {
  margin-bottom: 26px;
}
.page-icon,
.section-icon {
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #e9f7fc);
  color: var(--accent);
  border-color: #cee5ee;
  box-shadow: 0 6px 16px #1eacd115;
}
.page-intro h1 {
  letter-spacing: -0.045em;
}
.page-intro p,
.muted {
  color: var(--muted);
}
.panel,
.card,
.stat {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.panel,
.card {
  border-radius: var(--radius);
}
.card {
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  border-color: #c5dce6;
  box-shadow: 0 9px 28px #1634400d;
}
.stats {
  background: transparent;
  border: 0;
  gap: 12px;
}
.stats .stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(140deg, #fff, #fcfeff);
}
.stats .stat:first-child {
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 0, #345f7040, transparent 65%),
    linear-gradient(115deg, #253b46, #15262e);
  border-color: #233f4b;
}
.stats .stat:first-child .label,
.stats .stat:first-child small {
  color: #bbd0db;
}
.stats .stat:nth-child(3) {
  background: linear-gradient(120deg, #fff, #e7f7fe);
}
.stat strong {
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.filters,
.analytics-controls {
  background: linear-gradient(120deg, #fff, #f8fcfe);
}
.filters input,
.filters select {
  border-color: var(--line);
  background: #fff;
}
th {
  background: #f4f8fa;
  color: #697d89;
  letter-spacing: 0.035em;
  font-weight: 600;
}
tbody tr {
  transition: background 0.2s;
}
tbody tr:hover {
  background: #f1f9fd;
}
.note {
  border-left: 3px solid #70cbe8;
  background: #eff8fc;
  color: #48616f;
  line-height: 1.6;
}
.pill {
  border-radius: 7px;
}
.pill.dark,
.pill.positive {
  background: #eaf7fc;
  color: #086386;
  border-color: #c6e7f5;
}
.chart-card {
  background: linear-gradient(145deg, #fff 70%, #f5fbfe);
}
.chart-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eff3;
  margin-bottom: 20px;
}
.bar-fill {
  background-image: linear-gradient(90deg, #ffffff08, #43c5ec40);
}
.admin {
  background: linear-gradient(125deg, #fff, #f0f9fd);
  border-color: #d4e8f0;
  box-shadow: none;
}
.admin .avatar {
  background: linear-gradient(140deg, #2c4652, #162b34);
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes glint {
  from {
    transform: translateX(-125%);
  }
  to {
    transform: translateX(390%);
  }
}
@keyframes arrive {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page-arrived > :not(footer) {
  animation: arrive 0.32s var(--ease) both;
}
.page-arrived > :nth-child(2) {
  animation-delay: 0.035s;
}
.page-arrived > :nth-child(3) {
  animation-delay: 0.065s;
}
#request-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d8eef74d;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
}
#request-indicator::after {
  content: "";
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #3ac5ef, #0a6484);
  animation: glint 1.15s ease-in-out infinite;
}
[hidden] {
  display: none !important;
}
.page-skeleton {
  padding: 8px 0;
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: #e4ecf1;
  border-radius: 14px;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 32%;
  background: linear-gradient(90deg, transparent, #ffffff9e, transparent);
  animation: glint 1.4s ease-in-out infinite;
}
.skeleton-title {
  width: 36%;
  height: 32px;
}
.skeleton-caption {
  width: 58%;
  height: 14px;
  margin: 16px 0 32px;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.skeleton-card {
  height: 112px;
}
.skeleton-table {
  height: 360px;
}
.page-skeleton p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.research-studio {
  background: #fff;
  border: 1px solid #cde3ed;
  border-radius: 23px;
  padding: 28px;
  box-shadow: 0 12px 34px #133d4d0a;
  position: relative;
  overflow: hidden;
}
.research-studio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #203c49, var(--cyan) 62%, #c5f1ff);
}
.studio-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.studio-heading h2 {
  font-size: 1.65rem;
  margin: 7px 0 0;
  letter-spacing: -0.04em;
}
.studio-heading .eyebrow {
  color: #6a828f;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
}
.studio-signal {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #edf8fc;
  padding: 7px 10px;
  color: #0b6588;
  font-size: 0.76rem;
  border-radius: 20px;
  white-space: nowrap;
}
.studio-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1698c6;
  box-shadow: 0 0 8px #45cafa75;
}
.research-studio .research-material-choice {
  background: #f8fbfd;
  border-color: #e2ebf0;
  margin: 0 0 16px;
  padding: 13px 16px;
}
.research-material-choice label {
  margin: 0 0 7px;
  font-size: 0.75rem;
  color: #516c7a;
}
.research-material-choice small {
  font-size: 0.75rem;
}
.studio-query {
  border: 1px solid #dae7ed;
  border-radius: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: linear-gradient(140deg, #fff, #f9fcfe);
}
.studio-query:focus-within {
  border-color: #73c6e5;
  box-shadow: 0 0 0 4px #45b6df12;
}
.studio-query textarea {
  border: 0;
  min-height: 116px;
  background: transparent;
  padding: 18px;
  font-size: 1rem;
  outline: none;
  resize: vertical;
}
.studio-query .query-guidance {
  padding: 0 18px 10px;
  margin: 0;
}
.research-studio .query-examples {
  margin: 13px 0 22px;
}
.query-examples button {
  border-radius: 20px;
  padding: 6px 11px;
  background: #fff;
  color: #3d6578;
}
.studio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e8eef2;
  padding-top: 18px;
}
.studio-model {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.studio-model label {
  margin: 0 0 4px;
  font-size: 0.7rem;
  color: var(--muted);
}
.studio-model select {
  font-size: 0.9rem;
  width: 230px;
  max-width: 100%;
  border: 0;
  padding: 3px 24px 3px 0;
  background: transparent;
  font-weight: 650;
}
.model-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #203b48, #10232d);
  color: #a0e7ff;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}
.catalog-trigger {
  font-size: 0.8rem;
  border-radius: 10px;
  padding: 8px 12px;
  color: #07698d;
  background: #f0f9fd;
  border-color: #d7eaf3;
  white-space: nowrap;
}
.studio-submit {
  min-height: 48px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  white-space: nowrap;
}
.model-hint {
  font-size: 0.73rem;
  color: #68818d;
  margin: 8px 0 0 52px;
}
.studio-details {
  margin-top: 18px;
  border-top: 1px solid #e9eff3;
  padding-top: 12px;
  color: #607580;
  font-size: 0.77rem;
}
.studio-details summary {
  cursor: pointer;
}
.studio-details p {
  max-width: 850px;
  line-height: 1.6;
}
.research-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #70838e;
  font-size: 0.74rem;
  margin: 16px 4px 28px;
}
.research-privacy svg {
  width: 16px;
  height: 16px;
}
.history-head h2 {
  font-size: 1.15rem;
}
.research-history {
  display: grid;
  gap: 12px;
}
.history-card {
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 80%, #f7fcfe);
  box-shadow: 0 3px 14px #1a425906;
}
.history-card h3 {
  font-size: 1rem;
  margin: 10px 0;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.history-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.history-card-bottom p {
  color: #72828d;
  font-size: 0.77rem;
  margin: 0;
}
.history-open {
  border: 0;
  padding: 7px 0;
  color: #066e92;
  background: transparent;
  box-shadow: none;
  font-weight: 650;
  font-size: 0.82rem;
}
.history-error {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.78rem;
  color: #677780;
}
.history-error p {
  margin: 0;
}
.history-pagination,
.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 18px 0 4px;
  color: #708490;
  font-size: 0.8rem;
}
.process-card {
  border: 1px solid #cce6f1;
  border-radius: 15px;
  padding: 20px;
  background:
    radial-gradient(ellipse at 100% 0, #cff2ff5c, transparent 65%),
    linear-gradient(145deg, #fff, #f5fbfe);
}
.process-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.process-heading > div {
  min-width: 0;
  flex: 1;
}
.process-heading strong {
  font-size: 0.92rem;
  display: block;
}
.process-heading small {
  display: block;
  font-size: 0.75rem;
  color: #617885;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.process-orb {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #0979a2;
  background: linear-gradient(135deg, #e4f7fe, #fff);
  border: 1px solid #c6e7f3;
}
.process-elapsed {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 0.72rem;
  color: #718793;
}
.process-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 20px 0 12px;
  padding: 0;
  gap: 10px;
}
.process-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #6c818c;
}
.process-steps li > span {
  border: 1px solid #dce7ee;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
}
.process-steps .current {
  color: #086589;
  font-weight: 650;
}
.process-steps .current > span {
  background: #e1f5ff;
  border-color: #83d0ed;
  box-shadow: 0 0 0 4px #39b5e011;
}
.process-steps .done > span {
  background: #203d49;
  color: #b8ecff;
  border-color: #203d49;
}
.process-track {
  height: 4px;
  background: #e1edf3;
  overflow: hidden;
  border-radius: 10px;
}
.process-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0e7399, #47c7ed);
  border-radius: 10px;
}
.process-track .indeterminate {
  width: 27%;
  animation: glint 1.8s ease-in-out infinite;
}
.process-track .measured {
  transition: width 0.45s var(--ease);
}
.process-card > p {
  margin: 10px 0 0;
  font-size: 0.73rem;
  color: #617c8b;
}
.process-provider {
  font-size: 0.68rem !important;
}
#process-dock {
  position: fixed;
  bottom: 20px;
  right: 24px;
  width: min(425px, calc(100vw - 32px));
  border: 1px solid #355b6b;
  border-radius: 16px;
  background: #18323f;
  z-index: 40;
  color: #eaf9ff;
  box-shadow: 0 12px 38px #1637442b;
  overflow: hidden;
}
.process-dock-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 14px 16px;
  font-size: 0.86rem;
}
.process-dock-toggle:hover:not(:disabled) {
  background: #284a5b;
  transform: none;
}
.process-dock-toggle b {
  padding: 3px 7px;
  border-radius: 7px;
  margin-left: 8px;
  background: #a0d6ed20;
  color: #a3e8ff;
}
.process-dock-toggle small {
  color: #a1c1d1;
  margin-left: auto;
  font-size: 0.73rem;
}
#process-dock-list {
  padding: 8px 12px 14px;
  background: #f8fcfe;
  max-height: 60vh;
  overflow: auto;
  color: var(--ink);
}
#process-dock-list .process-card {
  padding: 14px;
}
#process-dock-list > button {
  margin: 8px 4px 14px;
  color: var(--accent);
  font-size: 0.74rem;
}
.process-complete {
  text-align: center;
  padding: 30px;
}
.process-complete > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #e0f4fe;
  color: #086b8e;
  font-size: 1.5rem;
}
.catalog-modal {
  width: min(1180px, calc(100vw - 32px));
  height: 88dvh;
  max-height: 92dvh;
}
.catalog-modal #modal-body {
  padding: 24px;
}
.catalog-loading {
  padding: 60px 20px;
  text-align: center;
  color: #527688;
}
.catalog-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 100% 0, #4dc9ec22, transparent 70%),
    linear-gradient(120deg, #f7fcff, #fff);
  border: 1px solid #d6eaf3;
}
.catalog-intro h3 {
  margin: 7px 0;
  font-size: 1.4rem;
}
.catalog-intro p {
  margin: 0;
  color: #657f8d;
  font-size: 0.82rem;
}
.catalog-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 10px;
  margin: 18px 0 12px;
}
.catalog-filters input,
.catalog-filters select {
  font-size: 0.83rem;
}
.catalog-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #607785;
  font-size: 0.79rem;
}
.catalog-disclaimer {
  font-size: 0.74rem;
  color: #667c89;
  line-height: 1.5;
  margin: 12px 0 18px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.model-card {
  padding: 17px;
  border: 1px solid #dbe7ee;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, #fff, #f9fdff);
  min-width: 0;
}
.model-card:hover {
  border-color: #97cce1;
  box-shadow: 0 8px 20px #0c658710;
}
.model-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.model-monogram {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #97e0fb;
  background: linear-gradient(130deg, #294752, #172c36);
  font-size: 0.74rem;
  font-weight: 650;
}
.model-card h4 {
  font-size: 0.95rem;
  margin: 16px 0 4px;
  overflow-wrap: anywhere;
}
.model-id {
  font-size: 0.67rem;
  color: #7a8e99;
  overflow-wrap: anywhere;
}
.model-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 16px 0;
  font-size: 0.73rem;
}
.model-metrics > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.model-metrics span {
  color: #7a8b95;
}
.model-metrics strong {
  font-weight: 600;
  text-align: right;
}
.model-select,
.model-unavailable {
  margin-top: auto;
  width: 100%;
  font-size: 0.76rem;
  border-radius: 9px;
}
.model-select {
  background: #eaf7fe;
  color: #066789;
  border-color: #cfe7f3;
}
.model-reason {
  font-size: 0.73rem;
  color: #7a8990;
}
.audit-disclosure {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin-top: 22px;
  overflow: hidden;
}
.has-processes main {
  padding-bottom: 110px;
}
.audit-content {
  padding: 0 24px 24px;
}
.audit-disclosure small {
  color: var(--muted);
  font-weight: 400;
}
.audit-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 650;
}
.audit-disclosure > summary span:first-child {
  display: grid;
  gap: 5px;
}
.audit-disclosure > summary span:last-child {
  color: #7b8f9b;
  font-size: 0.77rem;
  font-weight: 400;
}
.audit-tools {
  display: flex;
  gap: 12px;
  padding: 0 0 16px;
}
.audit-tools input,
.audit-tools select {
  font-size: 0.8rem;
}
.audit-disclosure .table-wrap {
  max-height: 420px;
  overflow: auto;
}
.audit-disclosure th {
  position: sticky;
  top: 0;
}
.settings-models {
  margin-top: 12px;
}
.model-caution {
  color: #775219;
  background: #fff8eb;
  border: 1px solid #eed7aa;
  border-radius: 10px;
  padding: 12px;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .studio-controls {
    flex-wrap: wrap;
  }
  .studio-submit {
    margin-left: auto;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .studio-heading {
    align-items: flex-start;
  }
  .studio-heading h2 {
    font-size: 1.3rem;
  }
  .studio-signal {
    font-size: 0.62rem;
    padding: 5px 8px;
  }
  .research-studio {
    padding: 20px 16px;
  }
  .studio-model {
    flex-wrap: wrap;
    width: 100%;
  }
  .studio-model select {
    width: 190px;
  }
  .catalog-trigger {
    margin-left: 52px;
  }
  .studio-submit {
    width: 100%;
  }
  .model-hint {
    margin-left: 0;
  }
  .history-card {
    padding: 16px;
  }
  .history-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .history-card-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .history-error {
    flex-direction: column;
  }
  .skeleton-grid {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .catalog-filters #catalog-search {
    grid-column: 1 / -1;
  }
  .catalog-intro {
    padding: 14px;
    gap: 10px;
    align-items: center;
  }
  .catalog-intro .eyebrow {
    display: none;
  }
  .catalog-intro h3 {
    font-size: 1.05rem;
    margin: 0 0 6px;
  }
  .catalog-intro p {
    font-size: 0.72rem;
  }
  .catalog-intro button {
    padding: 10px;
    font-size: 0.75rem;
  }
  .catalog-modal .modal-header {
    padding: 18px 16px;
  }
  .catalog-modal .modal-header h2 {
    font-size: 1.1rem;
  }
  .catalog-disclaimer {
    font-size: 0.7rem;
  }
  .catalog-filters select {
    padding: 10px 8px;
    font-size: 0.75rem;
  }
  .catalog-trigger {
    max-width: calc(100% - 52px);
  }
  .audit-disclosure summary span:last-child {
    max-width: 110px;
    text-align: right;
  }
  .catalog-modal {
    max-height: 94dvh;
  }
  .catalog-modal #modal-body {
    padding: 16px;
  }
  .catalog-status {
    flex-wrap: wrap;
  }
  .process-heading {
    gap: 8px;
  }
  .process-heading strong {
    font-size: 0.8rem;
  }
  .process-elapsed {
    font-size: 0.65rem;
  }
  .process-steps {
    gap: 5px;
  }
  .process-steps li {
    font-size: 0.65rem;
    gap: 5px;
  }
  #process-dock {
    right: 16px;
    bottom: 14px;
  }
  .audit-tools {
    flex-direction: column;
  }
  .nav-item:hover:not(:disabled) {
    transform: translateX(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .nav-item:hover .nav-icon,
  .nav-item:hover .ui-icon,
  .nav-item:hover,
  button:hover {
    transform: none !important;
  }
}
