.atlas-workbench main { padding-top: 1.25rem; }
.atlas-workbench main > section[id] { scroll-margin-top: calc(var(--atlas-nav-height) + 1rem); }
.atlas-landing {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.2rem, 4vw, 4rem); padding: clamp(1.4rem, 4vw, 3.15rem);
  color: #f4f9f7; background: #162e39; border: 1px solid #254754;
  border-radius: 1rem; isolation: isolate;
}
.atlas-landing::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image: radial-gradient(#446471 1px, transparent 1px); background-size: 19px 19px;
  mask-image: linear-gradient(105deg, transparent 18%, #000 88%);
}
.atlas-landing h1 { max-width: 13ch; margin: .35rem 0 .8rem; color: inherit; font-size: clamp(2.1rem, 4.6vw, 4.15rem); line-height: 1.03; letter-spacing: -.055em; }
.atlas-landing .landing-copy { align-self: center; }
.atlas-landing p { max-width: 47ch; margin: 0; color: #d1e1e4; line-height: 1.58; }
.atlas-launches { display: grid; align-content: center; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .55rem; }
.atlas-launches a {
  display: grid; gap: .24rem; align-content: center; padding: .74rem .86rem; min-height: 5.2rem;
  border: 1px solid #58717a; border-radius: .6rem; background: #203b47;
  color: #f1f8f5; text-decoration: none; line-height: 1.25;
}
.atlas-launches a:hover { border-color: #8dbaa8; background: #2c4c55; }
.atlas-launches a strong { font-size: 1.02rem; letter-spacing: -.018em; }
.atlas-launches a span { color: #d1e1e4; font-size: .84rem; }
.atlas-launches a.atlas-forge-launch { background: #214b44; border-color: #65a293; }
.atlas-launches a.atlas-forge-launch:hover { background: #285c52; }
.atlas-launches a.atlas-forge-launch strong { color: #d0f6e6; }
.atlas-workbench #studio { padding-top: 1.65rem; }
.atlas-workbench #studio .intro { margin-bottom: .8rem; }
.atlas-workbench #studio .intro h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); letter-spacing: -.045em; margin: 0 0 .2rem; }
.atlas-workbench #studio .intro p { font-size: 1rem; }
.atlas-workbench .design-form, .atlas-workbench .silinx-launch, .atlas-workbench .map-lab, .atlas-workbench .parts-panel {
  border-color: var(--atlas-line); background: var(--atlas-panel); box-shadow: none;
}
.atlas-workbench .drawing { background-color: #0e252d; }
.atlas-workbench .vtop, .atlas-workbench .vbottom { color: #e2f2ed; }
.atlas-workbench .viewtabs button { min-height: 2.3rem; }
.atlas-workbench #tools .card { border-color: var(--atlas-line); box-shadow: none; }
.atlas-workbench #tools .card:has([data-tool="circuitforge"]) { border-top: 3px solid var(--atlas-teal); }
.atlas-workbench .cardfoot :where(button,a) { min-height: 2.5rem; }
.atlas-workbench .cardfoot a { display: inline-flex; align-items: center; text-decoration: none; padding: .34rem .65rem; }
.atlas-workbench .part-row { min-height: 2.8rem; }
.atlas-workbench .part-row[aria-pressed=true] { box-shadow: inset 3px 0 var(--atlas-teal); }
.atlas-workbench .parts-view { top: calc(var(--atlas-nav-height) + .5rem); }
.atlas-workbench .parts-pages button { min-height: 2.5rem; }
@media (max-width: 820px) {
  .atlas-landing { grid-template-columns: 1fr; gap: 1rem; }
  .atlas-landing h1 { max-width: 18ch; }
}
@media (max-width: 430px) {
  .atlas-landing { padding: 1.1rem; }
  .atlas-landing h1 { font-size: 2rem; }
  .atlas-launches a { padding: .57rem .59rem; min-height: 4.8rem; }
  .atlas-launches a strong { font-size: .94rem; }
  .atlas-launches a span { font-size: .8rem; }
}
.atlas-workbench .design-form h3 { margin: 0 0 .7rem; font-size: 1.08rem; }
.atlas-workbench .cardfoot a { min-height: 2.75rem; }
.atlas-workbench #parts-detail { scroll-margin-top: calc(var(--atlas-nav-height) + 1rem); }
@media (max-width: 760px) {
  .atlas-workbench .parts-view { top: auto; }
}
.atlas-workbench .atlas-header { position: sticky; top: 0; z-index: 10; }
.atlas-workbench .atlas-header .top { height: auto; }
.atlas-workbench .drawing { grid-template-rows: minmax(0,1fr); }
.atlas-workbench .drawing img { display:block; max-height:100%; min-height:0; max-width:100%; }
.atlas-workbench .drawing:not(.sch) { height:clamp(220px,27vw,360px); }
@media (max-width: 760px) {
  .atlas-workbench .drawing:not(.sch) { height:clamp(190px,60vw,320px); }
}
@media (max-width: 520px) {
  .atlas-workbench { --atlas-nav-height: 120px; }
  .atlas-workbench .atlas-header .top nav {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    align-items: stretch;
    gap: .25rem;
  }
  .atlas-workbench .atlas-header nav a {
    display: grid;
    place-items: center;
    padding-inline: .15rem;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 345px) {
  .atlas-workbench { --atlas-nav-height: 154px; }
}
