#depths-panel .survey-nav { grid-template-columns:minmax(0,1fr) auto auto; }
.atlas-link { color:#d7e2bf; }
#atlas-panel { grid-template-rows:auto minmax(0,1fr); color:#e2dfcb; }
#atlas-panel [hidden] { display:none; }
.atlas-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:3px; gap:3px; background:#272e30; border:2px solid #1f2529; }
.atlas-tabs button { display:flex; justify-content:center; align-items:center; gap:8px; min-height:36px; padding:5px 8px; color:#c9cbbc; font-size:18px; }
.atlas-tabs button[aria-pressed=true] { color:#fff0bb; background:#475951; box-shadow:inset 0 2px #778b77,inset 0 -2px #ad9d72; }
#atlas-scroll { scrollbar-gutter:stable; background:#273335; }
.atlas-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; padding:13px 16px 12px; background:#34483f; border-bottom:3px solid #a99669; box-shadow:inset 0 2px #61715f; }
.atlas-heading small { font-size:17px; color:#c9d2b5; }
.atlas-heading h2 { margin-top:2px; color:#ffe7b6; font-size:clamp(23px,2.4vw,35px); line-height:1.12; text-shadow:2px 2px #29332e; }
.atlas-heading p { font-size:17px; color:#e4dec1; }
.atlas-nodes { margin:12px 13px; }
.atlas-nodes header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:5px; margin-bottom:5px; }
.atlas-nodes h3,.signal-controls h3 { color:#fbe3b2; font-size:19px; line-height:1.2; }
.atlas-nodes header span { color:#c7cbb7; font-size:16px; }
.atlas-nodes ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:0; list-style:none; border:2px solid #56615a; background:#2e3b3b; }
.atlas-node { min-width:0; }
.atlas-node button { display:flex; align-items:center; gap:7px; min-width:0; width:100%; height:100%; text-align:left; padding:7px 8px; }
.atlas-node button:hover { background:#3c4942; }
.atlas-node + .atlas-node { border-left:1px solid #59615a; }
.atlas-node i { background:#252d30; border:1px solid #687267; box-shadow:0 2px #23292b; }
.atlas-node i canvas { width:30px; height:30px; }
.atlas-node strong,.atlas-node small { display:block; line-height:1.08; }
.atlas-node strong { color:#f0dec0; font-size:18px; }
.atlas-node small,.sample-state,.sample-wait { font-size:15px; color:#c4c5b6; }
.atlas-node.fitted small,.specimen-filed { color:#bbdfac; }
.atlas-node.fitted i { border-color:#9caf88; }
.atlas-specialist { display:block; margin-top:3px; font-size:16px; color:#e7ce90; text-decoration:underline; text-underline-offset:3px; }
#atlas-specimens { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:12px 13px 14px; }
.specimen { display:flex; flex-direction:column; min-width:0; padding:9px 10px; background:#33413e; border:2px solid #626c5f; box-shadow:inset 0 2px #48554b; }
.specimen.filed { border-color:#8e9e77; }
.specimen header { display:flex; align-items:center; gap:9px; }
.specimen header>div:last-child { min-width:0; }
.specimen-art { display:flex; align-items:center; justify-content:center; flex:0 0 46px; height:46px; background:#272e30; border:2px solid #4d594f; box-shadow:inset 1px 2px #1b2527; }
.specimen-art canvas { width:36px; height:36px; }
.specimen header small { color:#c5c7af; font-size:15px; }
.specimen h3 { color:#ffdea2; font-size:clamp(17px,1.55vw,21px); line-height:1.16; }
.specimen-source { color:#d9d5b7; margin:7px 0 2px; font-size:17px; }
.specimen-hint { color:#d0d4c2; font-size:16px; line-height:1.16; margin:0 0 8px; }
.specimen-actions { margin-top:auto; padding-top:6px; display:flex; justify-content:space-between; align-items:center; gap:3px 6px; flex-wrap:wrap; border-top:1px solid #59655a; }
.sample-progress { flex:1 1 130px; color:#e6d7af; font-size:16px; }
.sample-progress progress { display:block; width:100%; height:7px; margin:3px 0; }
.sample-progress progress::-webkit-progress-value { background:#a2bd89; }
.sample-progress progress::-moz-progress-bar { background:#a2bd89; }
.atlas-action { font-size:16px; min-height:29px; padding:3px 8px; border:2px solid #6b735b; background:#485c4c; color:#fcf0c7; box-shadow:inset 0 1px #829178,0 2px #1d282b; }
.atlas-action:hover:enabled { background:#556c59; }
.atlas-action:disabled { color:#b9beb1; border-color:#59635c; background:#394542; box-shadow:none; }
.specimen-filed { font-size:16px; }
.station-heading { background:#384446; }
.station-window { padding:4px; margin:12px 13px 0; background:#475952; border:2px solid #758578; box-shadow:inset 1px 1px #a29e7b,inset -2px -2px #2e3a38; }
#station-art { display:block; width:100%; height:auto; image-rendering:pixelated; background:#1d2830; }
.signal-controls { display:flex; align-items:center; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; margin:8px 13px 12px; padding:9px 12px; background:#3f443b; border:2px solid #8e835f; }
.signal-controls>div { flex:1 1 180px; }
.signal-controls p { color:#e4deca; font-size:17px; line-height:1.15; margin-top:4px; }
.light-beacon:enabled { color:#302a26; border-color:#d4b47c; background:#e1bb78; box-shadow:inset 0 2px #ffdfa2,0 2px #282d2e; }
.light-beacon:hover:enabled { background:#efd194; }
.signal-controls.lit { border-color:#b4bc8b; background:#45594d; }
#station-specimen { margin:12px 13px 15px; }
@media(max-width:720px) {
  .atlas-node button { padding:6px; }.atlas-node i canvas { width:24px; height:24px; }
  .atlas-heading { padding:9px 10px; }.atlas-nodes,#atlas-specimens,#station-specimen { margin:8px; }
  .station-window { margin:8px 8px 0; }.signal-controls { margin:6px 8px 8px; }
}
@media(max-width:560px) {
  .atlas-tabs button { min-width:0; padding:4px; gap:4px; font-size:16px; }
  .atlas-tabs canvas { width:18px; height:18px; }
  #atlas-specimens { grid-template-columns:minmax(0,1fr); gap:6px; }
  .atlas-nodes h3,.signal-controls h3 { font-size:17px; }.atlas-nodes header span { font-size:15px; }
  .atlas-node button { align-items:center; gap:4px; padding:6px 4px; }.atlas-node i canvas { width:18px; height:18px; }
  .atlas-node strong { font-size:15px; }.atlas-node small { font-size:14px; }.atlas-specialist { display:none; }
  .atlas-heading { gap:6px; }.atlas-heading p { font-size:15px; }
}
@media(max-width:390px) {
  #atlas-book .atlas-heading small { display:none; }
  .atlas-node i { display:none; }
}
