:root {
  --ink: #232b32;
  --muted: #52616c;
  --line: #d7dce0;
  --paper: #f8f9fa;
  --green: #73313b;
  --accent: #913444;
  --nav: #1b2630;
  --nav-ink: #e7edf1;
  --soft: #eceff1;
  font-family:
    "Instrument Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body {
  display: flex;
  min-height: 100vh;
}
#rail {
  position: sticky;
  top: 0;
  align-self: flex-start;
  min-height: 100vh;
  width: 248px;
  flex: 0 0 248px;
  background: var(--nav);
  color: var(--nav-ink);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 510;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 1px 10px 34px;
}
.brand strong {
  font-weight: 650;
}
.brand-mark {
  font: italic 48px/0.95 Georgia;
  color: #f2ebe2;
  letter-spacing: -6px;
  display: inline-block;
  padding-right: 6px;
}
.brand-mark span {
  color: #e28485;
}
.rail-bottom {
  margin-top: auto;
  padding: 24px 13px 2px;
  color: #d9e0e5;
  font-size: 13px;
  letter-spacing: 0.09em;
}
.rail-bottom span {
  color: #bd7c83;
  padding: 0 6px;
}
#menu {
  display: block;
  padding: 0;
  width: auto;
  background: transparent;
  border: 0;
}
.nav-block {
  padding: 10px 0 18px;
}
.nav-block + .nav-block {
  border-top: 1px solid #43505a;
  padding-top: 17px;
}
.nav-block button {
  color: #d3dde2;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 11px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  margin: 0 0 3px;
  font-weight: 470;
  white-space: normal;
}
.nav-block button:hover {
  background: #2d3a44;
  color: white;
}
.nav-block button.active {
  background: #36444e;
  color: white;
  box-shadow: inset 3px 0 #dd8c91;
}
.nav-block svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex-shrink: 0;
}
#shell {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
}
header {
  background: #fff;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: #3c4a54;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(20px, 4vw, 60px);
}
header .head-path {
  display: inline;
  color: #5e6b74;
  font-size: 13px;
}
header .head-path i {
  font-style: normal;
  padding: 0 11px;
  color: #acb4b9;
}
header .head-path strong {
  font-weight: 580;
  color: #263642;
}
header #account {
  margin: 0;
  flex-shrink: 0;
  color: #61707a;
}
header button {
  border-color: var(--line);
  color: var(--ink);
}
main {
  max-width: 1450px;
  margin: 0 auto;
  padding: 35px clamp(20px, 3.9vw, 62px) 64px;
}
main h1 {
  font:
    500 clamp(34px, 3.5vw, 56px)/1.08 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.04em;
}
main h2 {
  font:
    560 clamp(20px, 2vw, 29px)/1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.02em;
}
main h3 {
  font-size: 17px;
  line-height: 1.35;
}
main p {
  color: #47545f;
  font-size: 15px;
  line-height: 1.62;
}
.eyebrow,
.kicker {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  color: #7e3a47;
  margin-bottom: 10px;
}
.stage-heading {
  margin-bottom: 22px;
}
.stage-heading p {
  max-width: 77ch;
  margin: 0;
}
.stage-heading h1 {
  margin-bottom: 9px;
}
.strategy-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  min-height: 245px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(23px, 2.7vw, 48px);
  background: #552532;
  color: #fff;
}
.hero-org {
  font-size: 12px;
  color: #f1dce0;
  max-width: 21em;
}
.hero-copy h2 {
  font: 500 clamp(27px, 3vw, 46px)/1.07 Georgia;
  margin: 22px 0 0;
}
.hero-copy p.cycle {
  font: 400 clamp(27px, 3vw, 45px)/1.1 Georgia;
  color: #e5bdc0;
  margin: 3px 0 22px;
  letter-spacing: -0.04em;
}
.hero-button {
  background: #fcf5f1;
  border: 0;
  border-radius: 5px;
  color: #512432;
  font-weight: 620;
  margin-top: auto;
  padding: 10px 15px;
}
.map-preview {
  position: relative;
  padding: 16px 16px 30px;
  border: 0;
  border-radius: 0;
  background: white;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
}
.map-preview:hover,
.pilot-image:hover {
  background: #fff;
}
.map-preview img {
  max-width: 100%;
  max-height: 285px;
  object-fit: contain;
}
.expand-label {
  position: absolute;
  right: 13px;
  bottom: 8px;
  color: #5b6267;
  font-size: 11px;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 24px 0;
}
.mission-grid section {
  padding: 4px 0 4px 16px;
  border-left: 3px solid #b6757c;
}
.mission-grid h2,
.subhead h2 {
  margin: 0;
}
.mission-grid p {
  margin: 7px 0 0;
  font-size: 14px;
}
.subhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin: 30px 0 13px;
}
.source {
  font-size: 12px !important;
  color: var(--muted);
  line-height: 1.45;
}
.objective-grid {
  list-style: none;
  counter-reset: obj;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 0;
  padding: 0;
}
.objective-grid li {
  counter-increment: obj;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.objective-grid li:before {
  content: counter(obj, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}
.tools,
.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tools .search {
  flex: 1;
  margin: 0;
  min-width: 190px;
}
.tools {
  margin: 16px 0;
}
.arch-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.arch-column {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid #78404b;
  border-radius: 7px;
  padding: 16px;
  min-width: 0;
}
.arch-column:nth-child(2) {
  border-top-color: #4d6e78;
}
.arch-column:nth-child(3) {
  border-top-color: #a08058;
}
.arch-column h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.arch-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.arch-column ul ul {
  margin: 6px 0 9px 3px;
  padding-left: 12px;
  border-left: 1px solid #d4dce0;
}
.arch-column li,
.actions details {
  border-top: 1px solid #e4e8eb;
}
.arch-column li li {
  border: 0;
}
.arch-column summary,
.actions summary {
  padding: 10px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 570;
  overflow-wrap: anywhere;
}
.arch-column li.leaf {
  font-size: 13px;
  line-height: 1.45;
  padding: 5px 0;
  color: #495760;
}
.matrix-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(190px, 1fr);
  gap: 16px;
}
.filter-row {
  margin: 8px 0 15px;
}
.filter-row select {
  width: auto;
  margin: 0;
}
.filter-row label {
  margin: 0;
  font-weight: 480;
}
.plot-card,
.point-card,
.pilot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.plot-card {
  padding: 20px 22px 14px;
}
.plot-caption,
.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.plot-caption {
  margin-bottom: 12px;
}
.plot-caption span,
.axis-title {
  color: var(--muted);
  font-size: 12px;
}
.plot-area {
  position: relative;
  margin: 7px 5px 0 24px;
}
.plot {
  position: relative;
  height: clamp(230px, 30vh, 360px);
  border: 1px solid #b9c1c4;
  background:
    linear-gradient(to right, #dae0e3 1px, transparent 1px),
    linear-gradient(to top, #dae0e3 1px, transparent 1px), #f9fafb;
  background-size: 25% 25%;
}
.yaxis {
  position: absolute;
  left: -20px;
  top: -6px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.xaxis {
  display: flex;
  justify-content: space-between;
  margin: 4px -3px;
}
.xaxis,
.yaxis {
  font-size: 11px;
  color: #62707a;
}
.plot-area > .axis-title {
  display: block;
  text-align: right;
}
.point {
  position: absolute;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  height: 22px;
  width: 22px;
  line-height: 18px;
  padding: 0;
  border: 1px solid #fff;
  color: white;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 660;
  background: #49696e;
}
.point.PG {
  background: #7d714f;
}
.point.PS {
  background: #755867;
}
.point.wave {
  outline: 1.5px solid #923845;
  outline-offset: 1px;
}
.point.selected,
.point:hover,
.point:focus-visible {
  z-index: 2;
  background: #722538;
  color: white;
  box-shadow: 0 0 0 3px #eacbd1;
}
.point-card {
  padding: 24px;
  align-self: stretch;
  background: #f2edec;
}
.point-card h2 {
  margin: 14px 0 5px;
}
.point-card p {
  font-size: 13px;
}
.metric {
  padding: 12px 0;
  border-top: 1px solid #d7c9c9;
}
.metric strong {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
.matrix-table {
  overflow: auto;
}
.matrix-table th {
  background: #e9edef;
}
.matrix-table td {
  font-size: 13px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.text-button,
.file-title {
  border: 0;
  background: transparent;
  font: inherit;
  padding: 2px 0;
  text-align: left;
}
.selected-row {
  background: #f4e9eb;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin: 12px 0 16px;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 9px 14px;
  background: transparent;
}
.tabs .current {
  border-bottom-color: #873e50;
  color: #713145;
  font-weight: 650;
}
.material-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.file-row {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px 15px;
}
.file-row + .file-row {
  border-top: 1px solid var(--line);
}
.file-format {
  min-width: 49px;
  padding: 4px;
  text-align: center;
  font: 600 10px/1.4 system-ui;
  border: 1px solid #cdd6db;
  color: #53626a;
  border-radius: 4px;
}
.file-title {
  font-size: 14px;
  font-weight: 580;
}
.version {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.actions details {
  padding: 0 4px;
}
.actions details:last-child {
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.actions summary {
  font-size: 16px;
}
.actions p {
  margin-top: 0;
}
.pilot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pilot-card {
  overflow: hidden;
}
.pilot-card > div {
  padding: 16px;
}
.pilot-image {
  padding: 0;
  border: 0;
  width: 100%;
  display: block;
  aspect-ratio: 1.85;
  background: white;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pilot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pilot-card h3 {
  margin: 5px 0;
}
.pilot-card p {
  font-size: 14px;
  margin: 6px 0 12px;
}
.source-image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 20px auto;
}
.reader-dialog {
  background: white;
  border: 1px solid #c7cbd0;
  border-radius: 10px;
  width: min(1180px, 95vw);
  max-height: 95vh;
  padding: 0 16px 16px;
}
.reader-dialog::backdrop {
  background: #16232ad4;
}
.dialog-bar {
  position: sticky;
  top: 0;
  background: white;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.reader-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.pdf-reader {
  width: 100%;
  height: 73vh;
  border: 1px solid var(--line);
  margin-top: 12px;
}
.login {
  margin: 7vh auto;
}
main button:focus-visible,
nav button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #bd675c;
  outline-offset: 2px;
}
#menu-toggle,
#menu-shade,
#menu[hidden] {
  display: none;
}
@media (max-width: 1080px) {
  #rail {
    width: 210px;
    flex-basis: 210px;
    padding: 24px 12px 14px;
  }
  main {
    padding: 26px 24px 48px;
  }
  .arch-column {
    padding: 12px;
  }
  .arch-groups {
    gap: 9px;
  }
  .point-card {
    padding: 15px;
  }
}
@media (max-width: 820px) {
  #rail {
    width: 175px;
    flex-basis: 175px;
    padding: 18px 7px;
  }
  .nav-block button {
    font-size: 13px;
    gap: 8px;
  }
  .arch-groups {
    grid-template-columns: 1fr;
  }
  .matrix-layout {
    grid-template-columns: 1fr;
  }
  .point-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
  }
  .point-card > * {
    margin: 0 !important;
  }
  .point-card .metric {
    border-top: 0;
    padding: 2px 0;
    gap: 5px;
  }
  .point-card .metric strong {
    font-size: 16px;
  }
  .strategy-hero {
    grid-template-columns: 1fr 1.1fr;
  }
  .hero-copy {
    padding: 18px;
  }
  .map-preview {
    padding: 6px 6px 24px;
  }
  .subhead {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 620px) {
  body {
    display: block;
  }
  #rail {
    position: fixed;
    inset: 0 auto 0 0;
    overflow: auto;
    z-index: 12;
    visibility: hidden;
    transform: translateX(-100%);
    width: min(260px, 82vw);
    padding: 28px 16px 18px;
  }
  .nav-open #rail {
    visibility: visible;
    transform: translateX(0);
  }
  .nav-open #menu-shade {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 11;
    background: #15222bb0;
    border: 0;
    border-radius: 0;
  }
  #menu-toggle:not([hidden]) {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 9px;
    color: var(--ink);
    border: 1px solid var(--line);
  }
  #menu {
    display: block;
  }
  #menu .nav-block {
    display: block;
  }
  header .head-path {
    font-size: 12px;
  }
  header {
    min-height: 38px;
    padding: 5px 14px;
  }
  .strategy-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero-copy h2 {
    margin: 10px 0 0;
  }
  .hero-copy p.cycle {
    margin-bottom: 12px;
  }
  .map-preview {
    min-height: 145px;
  }
  .mission-grid,
  .objective-grid,
  .pilot-grid {
    grid-template-columns: 1fr;
  }
  .mission-grid {
    gap: 14px;
  }
  main {
    padding: 21px 14px 40px;
  }
  .file-row {
    padding: 9px;
    gap: 6px;
  }
  .version {
    white-space: normal;
    max-width: 75px;
  }
  .plot-card {
    padding: 14px;
  }
}

.database-form {
  max-width: 630px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.database-form h2 {
  margin: 0 0 8px;
}
.database-form .source {
  margin: 0 0 20px;
}
.database-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.database-fields label {
  margin: 0;
}
.database-form details {
  margin: 18px 0 22px;
  color: var(--muted);
}
.database-form summary,
.sync-catalog > summary {
  cursor: pointer;
}
.database-form .connection-status {
  margin: 12px 0 0;
}
.connection-status:empty {
  display: none;
}
.sync-catalog {
  margin-bottom: 20px;
}
.sync-catalog > .database-form {
  margin-top: 12px;
}
@media (max-width: 620px) {
  .database-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.catalog-import {
  margin: 20px 0;
  max-width: 630px;
}
.catalog-import input {
  background: white;
}
.catalog-collections {
  padding: 0 16px 12px;
}
.catalog-collections details {
  margin: 4px 0;
}
.catalog-collections ul {
  line-height: 1.7;
}
.database-form button:disabled {
  opacity: 0.65;
  cursor: default;
}
.sample-panel { margin-bottom: 2rem; }
.sample-results { margin-top: 1rem; }
.sample-results th, .sample-results td { overflow-wrap: anywhere; vertical-align: top; }
.sample-results th[scope="row"] { text-align: left; }

.research-workspace {
  max-width: 100%;
  min-width: 0;
}
.workspace-bar,
.workspace-tabs,
.db-account,
.collection-nav,
.records-heading,
.records-tools,
.records-footer,
.applied-filter,
.related-records {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.workspace-bar {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin: 8px 0 22px;
}
.workspace-tabs {
  align-self: stretch;
  gap: 20px;
}
.workspace-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 2px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 560;
}
.workspace-tabs button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.db-account {
  font-size: 13px;
  color: var(--muted);
}
.db-account span::before {
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 100%;
  background: #39715d;
  margin-right: 7px;
}
.db-account button {
  font-size: 12px;
  background: transparent;
  padding: 4px 8px;
}
.db-login {
  background: white;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 660px;
}
.db-login h2,
.records-heading h2 {
  margin: 0;
}
.db-login p {
  margin: 5px 0 18px;
}
.db-login details {
  margin: 15px 0;
  color: var(--muted);
}
.db-login summary {
  cursor: pointer;
}
.db-login .connection-status {
  margin: 10px 0 0;
}
.collection-nav {
  gap: 6px;
  margin: 0 0 15px;
}
.collection-nav button {
  background: white;
  font-size: 14px;
  padding: 7px 12px;
}
.collection-nav button[aria-pressed="true"] {
  color: white;
  border-color: var(--nav);
  background: var(--nav);
}
.collection-nav select,
.records-footer select {
  margin: 0;
  width: auto;
  font-size: 13px;
}
.records-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  min-width: 0;
}
.records-heading {
  justify-content: space-between;
  padding: 20px 20px 12px;
}
.records-heading small {
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}
.records-tools {
  padding: 8px 20px 16px;
}
.records-tools .search {
  width: auto;
  min-width: min(180px, 100%);
  flex: 1;
  margin: 0;
}
.records-panel button {
  font-size: 13px;
}
.records-grid {
  border-block: 1px solid var(--line);
  max-height: 58vh;
}
.records-grid table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.records-grid th {
  background: #eef1f3;
  z-index: 1;
  font-weight: 620;
  font-size: 12px;
}
.records-grid :is(th, td) {
  padding: 10px 15px;
  white-space: nowrap;
  max-width: 32ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.records-grid td {
  font-size: 13px;
}
.records-grid tbody tr:hover {
  background: #f6f7f8;
}
.records-grid .missing {
  color: #6e7984;
}
.records-grid .numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.records-grid :is(td, th):first-child {
  position: sticky;
  left: 0;
  background: white;
  z-index: 1;
}
.records-grid th:first-child {
  background: #eef1f3;
  z-index: 2;
}
.records-grid td:first-child {
  width: 66px;
}
.records-grid .record-link {
  background: transparent;
  color: var(--accent);
  padding: 2px 3px;
  border: none;
  font-variant-numeric: tabular-nums;
}
.records-grid .record-link:hover {
  text-decoration: underline;
}
.records-footer {
  padding: 11px 18px;
  justify-content: flex-end;
  font-size: 13px;
}
.records-footer select {
  margin-right: auto;
}
.research-workspace button:disabled {
  opacity: 0.5;
  cursor: default;
}
.applied-filter {
  margin: 0;
  padding: 0 20px 14px;
  font-size: 13px;
}
.applied-filter span {
  padding: 4px 8px;
  background: #f4eaeb;
  color: #732f40;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.applied-filter button {
  border: 0;
  background: none;
  text-decoration: underline;
}
.grid-feedback:not(:empty) {
  margin: 0;
  padding: 8px 20px 18px;
}
.grid-feedback:empty {
  margin: 0;
}
dialog.query-dialog,
dialog.record-dialog {
  width: min(90vw, 640px);
  max-height: 85vh;
}
dialog.query-dialog form,
.query-dialog .field-options,
.record-fields {
  padding: 0 18px 18px;
}
.query-dialog > button,
.record-dialog > .source {
  margin: 0 18px 16px;
}
.field-options {
  max-height: 45vh;
  overflow: auto;
}
.field-options label {
  overflow-wrap: anywhere;
}
.related-records {
  margin: 0 18px;
}
.record-fields {
  display: grid;
  grid-template-columns: minmax(90px, 2fr) minmax(120px, 3fr);
}
.record-fields :is(dt, dd) {
  margin: 0;
  padding: 9px 8px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
}
.record-fields dt {
  font-weight: 600;
}
.record-fields dt small {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
@media (max-width: 620px) {
  .research-workspace .records-tools .search {
    flex-basis: 100%;
  }
  .workspace-bar {
    gap: 4px;
  }
  .collection-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .collection-nav button {
    white-space: nowrap;
  }
  .records-heading,
  .records-tools,
  .records-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .records-grid :is(td, th) {
    max-width: 22ch;
  }
}

.volume-summary { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.volume-summary span { display: block; color: var(--muted); font-size: .9rem; }
.volume-summary strong { display: block; margin-top: 4px; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-variant-numeric: tabular-nums; }
.volume-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.collection-preview { margin: 20px 0; overflow: hidden; }
.collection-preview .records-grid { margin: 0; }
.collection-preview .sample-body > p, .collection-preview .sample-body > button { margin: 12px 20px; }
.collection-preview .records-heading p { margin: 6px 0; }
.catalog-entry { border-bottom: 1px solid var(--line); padding: 10px 0; }
.catalog-entry p { margin: 4px 0; }
