/* Hallmark · design.md · P2 atlas exhibition, original maps retained.
   Internal critique P4 H4 E4 S5 R5 V4. No new facts or geographic overlays. */
.atlas[data-page='2'] .atlas-heading {
  border-block-start:4px solid var(--p2-red);
  padding-block-start:calc(20px + var(--header));
  padding-block-end:var(--exhibit-md);
}
.atlas[data-page='2'] .eyebrow {color:var(--p2-red);font-size:.8125rem;}
.atlas[data-page='2'] .departure-date {color:var(--p2-muted);font-size:.75rem;}
.atlas[data-page='2'] .atlas-heading h2 {line-height:1.25;}
.atlas[data-page='2'] .route-reading-tabs {gap:var(--exhibit-xl);}
.atlas[data-page='2'] .route-reading-tabs button {font-size:1rem;color:var(--p2-ink);font-weight:500;}
.atlas[data-page='2'] .route-reading-tabs button[aria-selected='true'] {color:var(--p2-red);font-weight:700;}
.atlas[data-page='2'] .route-reading-tabs button:after {height:3px;}
.atlas[data-page='2'] .map-original-action {border-radius:var(--radius-control);font-size:.75rem;color:var(--p2-ink);}
.atlas[data-page='2'][data-route-view='branches'] .atlas-map,
.atlas[data-page='2'].page2-tight[data-route-view='branches'] .atlas-map {grid-template-rows:48px 98px minmax(0,1fr) auto;}
.atlas[data-page='2'][data-route-view='branches'] .departure-units {
  gap:0;
  padding:0;
  margin:4px var(--p2-gutter);
  grid-template-rows:minmax(44px,1fr) minmax(44px,1fr);
  border:1px solid var(--p2-rule);
  border-radius:var(--radius-control);
  background:var(--p2-paper);
}
.atlas[data-page='2'] .unit-choice {
  position:relative;
  gap:var(--exhibit-sm);
  padding-inline:12px;
  color:var(--p2-ink);
  background:var(--p2-clear);
  border:0;
  border-radius:0;
  min-height:44px;
}
.atlas[data-page='2'] .unit-choice:nth-child(odd) {border-inline-end:1px solid var(--p2-rule);}
.atlas[data-page='2'] .unit-choice:nth-child(-n+2) {border-block-end:1px solid var(--p2-rule);}
.atlas[data-page='2'] .unit-choice:first-child {border-start-start-radius:var(--radius-control);}
.atlas[data-page='2'] .unit-choice:nth-child(2) {border-start-end-radius:var(--radius-control);}
.atlas[data-page='2'] .unit-choice:nth-child(3) {border-end-start-radius:var(--radius-control);}
.atlas[data-page='2'] .unit-choice:last-child {border-end-end-radius:var(--radius-control);}
.atlas[data-page='2'] .unit-choice strong {font-size:.9375rem;font-weight:500;}
.atlas[data-page='2'] .unit-choice:before {width:12px;height:12px;border-color:var(--p2-muted);background:var(--p2-clear);}
.atlas[data-page='2'] .unit-choice[aria-pressed='true'] {background:var(--p2-selected);color:var(--p2-red);border-color:var(--p2-rule);}
.atlas[data-page='2'] .unit-choice[aria-pressed='true'] strong {font-weight:700;}
.atlas[data-page='2'] .unit-choice[aria-pressed='true']:after {
  content:'';
  position:absolute;
  inset-inline-start:17px;
  top:50%;
  margin-top:-5px;
  width:4px;
  height:7px;
  border:solid var(--p2-paper);
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
  pointer-events:none;
}
.atlas[data-page='2'] .map-boundary {font-size:.75rem;line-height:1.5;}
.atlas[data-page='2'] .reading-head h3 {font-size:1.0625rem;line-height:1.45;color:var(--p2-red);font-weight:600;}
.atlas[data-page='2'] .unit-facts {gap:var(--exhibit-lg);padding-block-end:var(--exhibit-md);}
.atlas[data-page='2'] .unit-fact {gap:2px 4px;padding:4px 0;min-height:52px;}
.atlas[data-page='2'] .unit-fact span {font-size:.8125rem;font-weight:500;}
.atlas[data-page='2'] .unit-fact time {font-size:.75rem;font-weight:400;}
.atlas[data-page='2'] .unit-fact strong {font-size:.9375rem;line-height:1.55;font-weight:600;}
.atlas[data-page='2'] .central-roles small {font-size:.75rem;}
.atlas[data-page='2'] .central-roles b {font-weight:600;}
body[data-page='2'] .deck-footer #lecture-open {color:var(--p2-red);font-weight:500;}
body[data-page='2'] .deck-footer button {text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--p2-rule);}
body[data-page='2'] .deck-footer button:focus-visible,
body[data-page='2'] #info-dialog button:focus-visible,
body[data-page='2'] #info-dialog a:focus-visible {outline:2px solid var(--p2-red);outline-offset:3px;}
body[data-page='2'] #info-dialog #info-body h3 {color:var(--p2-red);font-size:1.125rem;font-weight:600;line-height:1.5;margin-block:var(--exhibit-xl) var(--exhibit-sm);}
body[data-page='2'] #info-dialog #info-body h3:first-child {margin-block-start:0;}
body[data-page='2'] #info-dialog #info-body .unit-source-hint {font-size:.8125rem;line-height:1.65;}
body[data-page='2'] #image-dialog.is-map-viewer .map-viewer-views button {font-size:.875rem;}
@media(hover:hover) {
  .atlas[data-page='2'] .unit-choice:hover:not([aria-pressed='true']) {background:var(--p2-wash);}
  .atlas[data-page='2'] .map-original-action:hover {background:var(--p2-wash);}
}
@media(max-width:350px) {
  .atlas[data-page='2'] .unit-choice {padding-inline:10px;gap:6px;}
  .atlas[data-page='2'] .unit-choice strong {font-size:.875rem;}
  .atlas[data-page='2'] .unit-choice[aria-pressed='true']:after {inset-inline-start:15px;}
  .atlas[data-page='2'] .route-reading-tabs {gap:var(--exhibit-lg);}
  .atlas[data-page='2'] .route-reading-tabs button {font-size:.9375rem;}
}
@media(max-height:740px) {
  .atlas[data-page='2'] .atlas-heading {padding-block-start:calc(12px + var(--header));padding-block-end:var(--exhibit-sm);}
  .atlas[data-page='2'] .reading-head h3 {font-size:1rem;}
  .atlas[data-page='2'] .unit-fact {min-height:44px;padding-block:2px;gap:0 4px;}
  .atlas[data-page='2'] .unit-fact strong {font-size:.875rem;}
  .atlas[data-page='2'] .unit-facts {padding-block-end:var(--exhibit-xs);margin-block-end:var(--exhibit-xs);}
}
@media(orientation:landscape) and (max-height:600px) {
  .atlas[data-page='2'] .atlas-heading {border-block-start:0;padding-block:calc(4px + var(--header)) 4px;}
  .atlas[data-page='2'][data-route-view='branches'] .departure-units {margin-inline:0;}
  .atlas[data-page='2'] .unit-choice strong {font-size:.875rem;}
  .atlas[data-page='2'][data-route-view='branches'] .atlas-map,
  .atlas[data-page='2'].page2-tight[data-route-view='branches'] .atlas-map {grid-template-rows:44px 98px minmax(0,1fr) auto;}
}
