/* =================================================================
   Nerdpit Labs
   Palette: deep flight-deck navy, overhead-panel blue-grey, and the
   cockpit display colours (cyan, amber, green) used only as signals.
   ================================================================= */

:root {
  --navy: #142b4d;        /* night navy: headers, footer, ink on tiles */
  --navy-2: #1d3a63;
  --panel: #5c7186;       /* overhead panel blue-grey */
  --panel-2: #8b9bab;
  --mist: #e3e8ed;        /* light panel tint for figures and bands */
  --mist-2: #eef2f5;
  --paper: #f7f9fa;       /* page background (cool, not cream) */
  --ink: #18222e;
  --ink-2: #44515f;
  --rule: #c9d2db;
  --cyan: #2cb4db;        /* display cyan: lit buttons, focus */
  --cyan-ink: #0b6f92;    /* readable cyan for links on light */
  --amber: #e9a02c;
  --green: #3aa864;
  --face: #232e3b;        /* pushbutton face */

  --f-head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-ui: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --text: 42rem;
  --gap: clamp(1.25rem, 3vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-ui);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.wrap-text { max-width: calc(var(--text) + 2 * var(--gap)); margin: 0 auto; padding: 0 var(--gap); }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ----------------------------------------------------------- tile
   The brand mark: a periodic-table cell for element 320, "Np". */
.tile {
  position: relative;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-family: var(--f-head);
  line-height: 1;
}
.tile-z { position: absolute; top: .3em; left: .4em; font-weight: 500; }
.tile-sym { font-weight: 700; letter-spacing: -.02em; }
.tile-sm { width: 2.6rem; height: 2.6rem; }
.tile-sm .tile-z { font-size: .5rem; top: .32rem; left: .32rem; }
.tile-sm .tile-sym { font-size: 1.25rem; margin-top: .35rem; }
.tile-dark { background: transparent; border-color: #fff; color: #fff; }

/* ----------------------------------------------------------- masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-word { font-family: var(--f-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.brand-word span { font-weight: 400; color: var(--panel); }

.nav { display: flex; align-items: center; gap: .25rem 1.25rem; flex-wrap: wrap; }
.nav-group { display: flex; gap: .15rem 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-group-lab { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.nav a {
  font-family: var(--f-head); font-size: 1.08rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--cyan); }

/* ----------------------------------------------------------- pushbuttons
   Modelled on lit cockpit pushbuttons: a dark face, a legend, and a
   light bar that is lit for the main action and lights up on hover. */
.pb-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pb {
  display: inline-flex; flex-direction: column; align-items: center; gap: .45rem;
  min-width: 11rem; padding: .8rem 1.3rem .65rem;
  background: var(--face); color: #f2f5f7;
  border: 1px solid #0f1720; border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #0b121a;
  font: 600 1.05rem/1 var(--f-head); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.pb:hover { color: #fff; }
.pb:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 #0b121a; }
.pb-bar {
  display: block; width: 62%; height: 4px; border-radius: 1px;
  background: #3a4757;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.pb:hover .pb-bar, .pb:focus-visible .pb-bar { background: #e9eef2; box-shadow: 0 0 6px rgba(233,238,242,.6); }
.pb-lit .pb-bar, .pb-lit:hover .pb-bar { background: var(--cyan); box-shadow: 0 0 8px rgba(44,180,219,.75); }
.pb-dark { border-color: #3b4f6c; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #07101c; }
button.pb { font-family: var(--f-head); }

/* ----------------------------------------------------------- hero */
.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(92,113,134,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,113,134,.09) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero h1 { max-width: 14ch; }
.hero-lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.hero-lede p:last-child { margin-bottom: 0; }

.specimen { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.tile-xl {
  width: clamp(11rem, 20vw, 15rem); aspect-ratio: 1; border-width: 3px; border-radius: 6px;
  box-shadow: 8px 8px 0 var(--mist);
  grid-template-rows: 1fr auto auto; padding-bottom: 1.1rem;
}
.tile-xl .tile-z { font-size: clamp(1rem, 1.6vw, 1.3rem); top: .8rem; left: .95rem; }
.tile-xl .tile-sym { font-size: clamp(5rem, 9vw, 7rem); align-self: end; }
.tile-xl .tile-name { font-size: 1.05rem; font-weight: 500; margin-top: .35rem; }
.tile-xl .tile-mass { font-size: .9rem; color: var(--panel); margin-top: .3rem; }

.specimen-key { margin: 0; display: grid; gap: 1rem; }
.specimen-key div { border-left: 2px solid var(--panel-2); padding-left: .9rem; }
.specimen-key dt { font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.specimen-key dd { margin: .1rem 0 0; color: var(--ink-2); font-size: .97rem; line-height: 1.45; }

/* ----------------------------------------------------------- two sides */
.sides { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.side { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; }
.side .pb { margin-top: auto; }
.side-text { max-width: 34rem; }
.side-list { list-style: none; padding: 0; margin: .25rem 0 2rem; display: grid; gap: .5rem; }
.side-list li { padding-left: 1.3rem; position: relative; }
.side-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem;
  border: 2px solid currentColor; border-radius: 50%;
}
.side-fab { background: var(--navy); color: #dfe7ee; }
.side-fab h2 { color: #fff; }
.side-fab a:not(.pb) { color: #9ddcf0; }
.side-fab .side-list li::before { border-color: var(--cyan); }
.side-lab { background: var(--mist); }
.side-lab .side-list li::before { border-color: var(--panel); }

/* ----------------------------------------------------------- bands */
.band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.band-quiet { background: var(--mist-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-panel { background: #4d6276; color: #eef2f5; }
.band-panel h2, .band-panel h3 { color: #fff; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.band-head h2 { margin: 0; }
.text-link { white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.section-title { margin-bottom: 1.5rem; }

/* ----------------------------------------------------------- page heads */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 20ch; }
.page-lede { font-size: 1.2rem; color: var(--ink-2); max-width: 40rem; }
.page-lede p:last-child { margin-bottom: 0; }
.page-aside { margin-top: 1rem; font-size: .95rem; }
.crumb { font-size: .95rem; color: var(--panel); margin-bottom: .75rem; }
.crumb a { color: var(--panel); }

/* ----------------------------------------------------------- products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 2rem var(--gap); }
.product-link { display: block; text-decoration: none; color: inherit; }
.product-fig {
  background: var(--mist); border-radius: 4px; aspect-ratio: 4 / 3;
  display: grid; place-items: center; overflow: hidden;
  transition: background-color .15s ease;
}
.product-fig img { width: 100%; height: 100%; object-fit: cover; }
.product-link:hover .product-fig { background: #d7dee5; }
.product-body { padding-top: .85rem; }
.product-body h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.product-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.product-fits { color: var(--ink-2); font-size: .95rem; margin: 0 0 .4rem; }
.product-meta { display: flex; align-items: center; gap: 1rem; margin: 0; }
.price { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }

.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--ink-2); font-family: var(--f-ui); font-weight: 500; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--panel-2); }
.status-in-stock::before { background: var(--green); box-shadow: 0 0 0 3px rgba(58,168,100,.18); }
.status-made-to-order::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(233,160,44,.2); }
.status-sold-out { color: var(--panel); }

.shop-note { margin-top: 2.5rem; color: var(--ink-2); font-size: .95rem; max-width: 40rem; }

.product-page { padding-top: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-hero { margin: 0; background: var(--mist); border-radius: 4px; overflow: hidden; }
.product-hero img { width: 100%; }
.product-hero figcaption { padding: .7rem 1rem; font-size: .9rem; color: var(--ink-2); background: var(--mist-2); }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.product-price { display: flex; align-items: center; gap: 1rem; font-family: var(--f-head); font-weight: 600; font-size: 1.7rem; color: var(--navy); }
.specs { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .97rem; }
.specs caption { text-align: left; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); padding-bottom: .5rem; }
.specs th, .specs td { text-align: left; padding: .55rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
.specs th { font-weight: 500; color: var(--ink-2); width: 40%; padding-right: 1rem; }
.buy { margin: 1.75rem 0 1rem; }
.buy-note { font-size: .92rem; color: var(--ink-2); margin-top: .8rem; }
.sku { font-size: .9rem; color: var(--panel); }

/* ----------------------------------------------------------- fabrication */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem var(--gap); }
.service { border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.service p:last-child { margin-bottom: 0; }
.service-price { margin-top: .9rem !important; font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.1rem; }

.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.75rem var(--gap); }
.process li { counter-increment: step; position: relative; padding-top: 3.1rem; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 2px solid #fff; border-radius: 50%;
  font: 600 1.1rem/1 var(--f-head); color: #fff;
}
.process li::after { content: ""; position: absolute; top: 1.1rem; left: 2.7rem; right: -.5rem; height: 2px; background: rgba(255,255,255,.35); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.process p { margin: 0; color: #e3e9ee; }

.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { margin-top: 2rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: .9rem 0; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--panel); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: .6rem; color: var(--ink-2); }

.form { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: clamp(1.25rem, 3vw, 2rem); }
.field { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--panel); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #aebbc8; border-radius: 3px; padding: .6rem .7rem; width: 100%;
}
.field input[type="file"] { padding: .5rem; background: var(--mist-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--cyan); outline-offset: 0; border-color: var(--cyan-ink); }
.form-note { font-size: .9rem; color: var(--ink-2); margin: 1rem 0 0; }

/* ----------------------------------------------------------- notebook */
.entries { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.entry {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 10rem; gap: 1.25rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.entry-no { margin: 0; font: 500 1.7rem/1 var(--f-head); color: var(--panel-2); font-variant-numeric: tabular-nums; }
.entry h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.entry h3 a { color: var(--navy); text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; }
.entry-body p { margin: 0; color: var(--ink-2); max-width: 40rem; }
.entry-date { margin: 0; text-align: right; font-size: .9rem; color: var(--panel); line-height: 1.45; }

.post { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.post-head { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1.5rem; }
.post-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.post-summary { font-size: 1.25rem; color: var(--ink-2); }
.post-meta { font-size: .95rem; color: var(--panel); border-top: 1px solid var(--rule); padding-top: .8rem; }
.post-hero { margin: 0 auto 2rem; }
.post-hero img { border-radius: 4px; background: var(--mist); }
.post-hero figcaption, .prose figcaption { font-size: .92rem; color: var(--ink-2); margin-top: .5rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.post-nav a { display: flex; flex-direction: column; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); max-width: 48%; }
.post-nav a span { font-family: var(--f-ui); font-weight: 400; font-size: .88rem; color: var(--panel); }
.post-nav .next { text-align: right; margin-left: auto; }

/* ----------------------------------------------------------- prose */
.prose { max-width: var(--text); }
.wrap.prose { max-width: calc(var(--text) + 2 * var(--gap)); margin-left: 0; }
.prose-serif { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.72; }
.prose-serif h2, .prose-serif h3 { font-family: var(--f-head); }
.prose h2 { margin-top: 2.2rem; font-size: 1.75rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 4px; margin: 1.5rem 0 .5rem; background: var(--mist); }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--panel-2); color: var(--ink-2); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; background: var(--mist); padding: .1em .35em; border-radius: 3px; }
.prose pre { background: var(--navy); color: #e8eef3; padding: 1rem 1.2rem; border-radius: 4px; overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .95rem; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ----------------------------------------------------------- library */
.shelf + .shelf { margin-top: 3rem; }
.shelf h2 { font-size: 1.5rem; padding-bottom: .6rem; border-bottom: 2px solid var(--navy); margin-bottom: 0; }
.files { list-style: none; padding: 0; margin: 0; }
.file { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 1.25rem; align-items: start; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.file-badge {
  width: 3.4rem; height: 3.4rem; display: grid; place-items: center;
  border: 2px solid var(--panel); border-radius: 4px; color: var(--navy);
  font: 700 .92rem/1 var(--f-head); background: #fff;
}
.file h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.file h3 a { color: var(--navy); text-decoration: none; }
.file h3 a:hover { text-decoration: underline; }
.file-desc p { margin: 0 0 .4rem; color: var(--ink-2); max-width: 42rem; }
.file-meta { margin: 0; font-size: .88rem; color: var(--panel); }
.file-get { align-self: center; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; padding: .45rem .9rem; border: 1px solid var(--panel-2); border-radius: 3px; text-decoration: none; color: var(--navy); background: #fff; }
.file-get:hover { border-color: var(--navy); color: var(--navy); background: var(--mist-2); }

/* ----------------------------------------------------------- misc */
.ecam-msg { display: inline-block; font: 600 1rem/1 var(--f-head); letter-spacing: .04em; color: var(--amber); background: #0d1520; padding: .55rem .8rem; border-radius: 3px; margin-bottom: 1.25rem; }

/* ----------------------------------------------------------- footer */
.footer { background: var(--navy); color: #c7d3de; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand p { margin: 0; max-width: 18rem; font-size: .97rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: .6rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .97rem; }
.footer a { color: #c7d3de; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.25rem; padding-bottom: 2rem; }
.footer-legal p { margin: 0; font-size: .85rem; color: #9fb0c0; max-width: 60rem; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero-grid, .sides-grid, .product-detail, .quote-grid, .footer-inner { grid-template-columns: 1fr; }
  .specimen { grid-template-columns: auto minmax(0, 1fr); }
  .process li::after { display: none; }
}
@media (max-width: 640px) {
  .nav-group-lab { padding-left: 0; border-left: 0; }
  .nav { gap: .25rem 1.1rem; }
  .specimen { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 3rem minmax(0, 1fr); }
  .entry-date { grid-column: 2; text-align: left; }
  .field-row { grid-template-columns: 1fr; }
  .file { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .file-badge { width: 2.8rem; height: 2.8rem; font-size: .8rem; }
  .file-get { grid-column: 2; justify-self: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .pb { min-width: 0; flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
