body {
  background: #f6efda;
  color: #253e3d;
  font:
    620 16px/1.46 Nunito,
    sans-serif;
}
header {
  background: #193d3c;
  border-bottom: 4px double #ca9b58;
}
.top,
main,
footer {
  max-width: 1240px;
}
.top nav a,
.top .brand {
  color: #ffedc6;
}
main {
  padding: 24px clamp(13px, 2.3vw, 28px);
}
a {
  color: #215e5b;
}
footer {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 20px auto;
  padding: 20px;
  border-top: 2px solid #c8c2a1;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2,
h3 {
  line-height: 1.13;
}
h1,
h2 {
  color: #183f3c;
}
button,
select,
input {
  font: inherit;
}
#news button,
.start {
  background: #275a56;
  color: #fff4d8;
  border: 1px solid #234743;
  border-radius: 7px;
  min-height: 41px;
  padding: 7px 13px;
  font-weight: 850;
  box-shadow: 0 3px #143f3c;
  line-height: 1.25;
  cursor: pointer;
}
#news button:hover,
.start:hover {
  filter: brightness(1.13);
}
#news button[disabled] {
  opacity: 0.48;
  cursor: default;
}
#news button[aria-pressed='true'] {
  background: #f4cc81;
  color: #3e3529;
  border-color: #845c2d;
  box-shadow: 0 3px #a87a3c;
}
#news a:focus-visible,
#news button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #bf6e24;
  outline-offset: 3px;
}
.news-cover {
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border: 3px solid #214742;
  background: #214742;
  color: #ffefc6;
  box-shadow: 0 5px #b6ab8c;
}
.news-cover > img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
}
.news-cover > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(23px, 4vw, 50px);
  background: radial-gradient(ellipse at top right, #41675a, transparent 76%);
}
.mast-symbol {
  font: 54px/1 Georgia;
  color: #ffd78d;
}
.news-cover h1 {
  font:
    900 clamp(45px, 5.1vw, 76px)/0.98 Georgia,
    serif;
  color: #fff0c6;
  letter-spacing: -0.05em;
  margin: 8px 0 14px;
}
.news-cover p {
  font-size: 1.12rem;
  max-width: 31ch;
}
.news-cover a {
  color: #ffdfa2;
}
.news-cover a.start {
  color: #302e28;
  background: #f2ca83;
  box-shadow: 0 3px #ac873e;
  border-color: #a48046;
  text-decoration: none;
  margin: 0 0 12px;
}
.directory {
  margin: 26px 0;
}
.directory > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
}
.directory h2,
.workhead h1 {
  font-family: Georgia, serif;
}
.directory p {
  font-weight: 800;
}
.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.desk-grid a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  text-decoration: none;
  background: #fffaf0;
  border: 1px solid #b8ac8c;
  box-shadow: 0 3px #c6bca3;
  border-radius: 9px;
  color: #263c38;
}
.desk-grid a:hover {
  background: #fff0cd;
}
.desk-mark {
  display: grid;
  place-items: center;
  background: #295854;
  color: #f7d599;
  width: 42px;
  height: 46px;
  border-radius: 9px 9px 15px 15px;
  font: 29px Georgia;
  flex: none;
}
.desk-grid a > span > span,
.desk-grid strong,
.desk-grid small {
  display: block;
}
.desk-grid small,
.workhead > p:first-child,
.slip small,
.edition-order small,
.notes small {
  color: #765533;
  font-weight: 900;
}
.desk-grid strong {
  font: 800 1.13rem Georgia;
  margin: 2px 0;
}
.desk-grid a > span > span {
  font-size: 0.91rem;
}
.desks {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 21px;
}
.desks a {
  font-size: 0.94rem;
  font-weight: 850;
  border: 1px solid #9f9f88;
  background: #fffaee;
  border-radius: 5px;
  padding: 7px 12px;
  text-decoration: none;
}
.desks a[aria-current='page'] {
  background: #234e49;
  color: #fff2ca;
}
.workhead h1 {
  font-size: clamp(35px, 4.8vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 2px 0 8px;
}
.workhead p:first-child {
  margin: 0;
}
.workhead p:last-child {
  max-width: 77ch;
}
.newslayout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.bench,
.notebook-news {
  border: 1px solid #b9af92;
  border-radius: 12px;
  background: #fffaf0;
  box-shadow: 0 3px #c3b99e;
  min-width: 0;
}
.bench {
  padding: clamp(13px, 2vw, 23px);
}
.bench h3 {
  font: 750 1.24rem Georgia;
  margin: 19px 0 8px;
}
.notebook-news {
  overflow: hidden;
}
.notebook-news > img {
  display: block;
  width: 100%;
  height: clamp(105px, 13vw, 148px);
  object-fit: cover;
  object-position: 50% 53%;
}
.notebook-news > div {
  padding: 16px;
}
.notebook-news h2 {
  font: 800 1.55rem Georgia;
  margin: 0 0 10px;
}
.notebook-news nav {
  display: flex;
  gap: 6px 13px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  margin-top: 12px;
}
.worked-flow {
  background: #fff6db;
  color: #3e3e35;
}
.worked-flow .flow-caption p,
.worked-flow .flow-detail {
  color: #343f39;
}
.controls,
.bins {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 13px;
}
.bins {
  padding: 11px;
  background: #e2ebdc;
  border: 1px dashed #7d9580;
  border-radius: 7px;
}
.slip,
.edition-order {
  background: #fff0c9;
  color: #36473f;
  border: 1px solid #d6b979;
  border-left: 7px solid #bd7051;
  border-radius: 5px;
  margin: 15px 0;
  padding: 15px 18px;
}
.slip > *,
.edition-order > * {
  display: block;
}
.slip strong,
.edition-order strong {
  font: 750 1.4rem Georgia;
  margin: 4px 0;
}
.slip code {
  overflow-wrap: anywhere;
  font-size: 1.1rem;
}
.meters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 6px;
  margin: 12px 0;
}
.meters div {
  background: #e7eadf;
  border-radius: 4px;
  padding: 9px;
  min-width: 0;
}
.meters dt {
  color: #42605a;
  font-size: 0.88rem;
  text-transform: capitalize;
}
.meters dd {
  margin: 3px 0 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.checks {
  border-top: 1px dashed #c5b590;
  padding-top: 9px;
  margin-bottom: 0;
  color: #46614d;
}
.news-feedback:not(:empty),
.explainer {
  background: #f8e4b0;
  border-left: 4px solid #b98a40;
  padding: 10px 13px;
  margin: 14px 0 0;
}
.news-feedback:empty {
  display: none;
}
.seal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  background: #e0efd8;
  padding: 12px;
  border-radius: 7px;
  color: #284f3e;
  margin-top: 14px;
}
.tape {
  padding: 0;
  list-style: none;
  counter-reset: wire;
  max-height: 248px;
  overflow: auto;
}
.tape li {
  counter-increment: wire;
  padding: 6px 8px;
  border-bottom: 1px dashed #cebea0;
  overflow-wrap: anywhere;
}
.tape li::before {
  content: counter(wire, decimal-leading-zero) '  ';
  color: #8c6136;
  font-family: monospace;
}
.tube-illustration {
  background: #214b49;
  border-radius: 9px;
  padding: 16px 20px;
}
.pipe {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f9deb0;
}
.pipe span {
  flex: 1;
  height: 11px;
  border-radius: 8px;
  background: linear-gradient(#9e643b, #ffe19c, #a2643e);
}
.pipe i {
  font-size: 24px;
}
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.notes > div {
  background: #f5e9cc;
  border: 1px solid #c7b18c;
  border-radius: 5px;
  padding: 12px;
}
.notes strong {
  display: block;
}
.notes .controls {
  margin-bottom: 0;
}
.press-stage {
  height: clamp(168px, 24vw, 265px);
  border-radius: 8px;
  overflow: hidden;
  background: #20444b;
}
.press-stage canvas,
.press-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.dials label,
.ticket-label {
  display: grid;
  gap: 3px;
  font-weight: 800;
}
.dials select,
.ticket-label input {
  width: 100%;
  min-width: 0;
  color: #283e39;
  background: #fff8df;
  border: 1px solid #a89e7f;
  border-radius: 5px;
  padding: 8px;
}
.ticket-label {
  margin-top: 17px;
}
.ticket-label input {
  font-size: 0.9rem;
  font-weight: 550;
}
.range {
  background: #1d3f4b;
  border-radius: 8px;
  overflow: hidden;
  color: #ffedc9;
}
.range canvas {
  display: block;
  width: 100%;
  height: auto;
}
.range p {
  margin: 0;
  padding: 8px;
  text-align: center;
}
.spring {
  min-width: 80px;
  text-align: center;
}
.edition-result {
  border-left: 4px solid #5b8d77;
  padding-left: 12px;
}
.edition-result p {
  margin: 5px 0;
}
details summary {
  cursor: pointer;
  color: #355c51;
  font-weight: 800;
}
.bench details {
  margin-top: 14px;
}
.desk-grid a:focus-visible,
.desks a:focus-visible {
  outline-offset: 2px;
}
@media (max-width: 850px) {
  .desk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .newslayout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 10px;
  }
  .notes {
    grid-template-columns: 1fr;
  }
  .news-cover {
    grid-template-columns: 1.15fr 1fr;
  }
}
@media (max-width: 650px) {
  main {
    padding: 14px 10px;
  }
  .newslayout,
  .news-cover {
    grid-template-columns: 1fr;
  }
  .news-cover > img {
    max-height: 275px;
    aspect-ratio: 1.75;
  }
  .news-cover > div {
    padding: 18px 21px;
  }
  .news-cover h1 {
    margin-top: 0;
  }
  .mast-symbol {
    display: none;
  }
  .news-cover h1 br {
    display: none;
  }
  .news-cover h1 br::after {
    content: ' ';
  }
  .news-cover h1 {
    font-size: 2.7rem;
  }
  .news-cover p {
    margin-bottom: 10px;
  }
  .desk-grid {
    grid-template-columns: 1fr;
  }
  .desks {
    gap: 5px;
  }
  .desks a {
    padding: 6px 9px;
  }
  .notes {
    grid-template-columns: 1fr;
  }
  .directory > div:first-child {
    flex-wrap: wrap;
  }
  .directory h2,
  .directory p {
    margin-bottom: 9px;
  }
  .top {
    flex-wrap: wrap;
  }
  .top nav {
    flex-wrap: wrap;
  }
  .notebook-news > img {
    height: 115px;
  }
  .tape {
    max-height: 190px;
  }
}
