/* Site-side lines for the shared shell (atk-design b5a1177d). This file is the site's own and is not
   hashed; the hashed copies are css/atk-shell.css and js/atk-shell.js (sh shell/hash-check.sh .). */

/* The shell parts sit in .atk.site-shell wrappers, not on body.atk, so the atk.css base (font, link
   color, the :lang(ar) font) stays off the pages' own content until the canon restyle (ATK#48).
   display:contents keeps the header sticky to the page, not to the wrapper. */
:root { color-scheme: normal; }
.site-shell { display: contents; color-scheme: dark; font: 400 17px/1.47 var(--atk-font); color: var(--atk-label); -webkit-font-smoothing: antialiased; }
/* the footer text is white on the canon ground; the pages above it are light or their own ink */
.site-shell-foot { display: block; position: relative; z-index: 1; background: var(--atk-ground); }
/* The header floats: it takes no room of its own (72 px tall, 68 px on phones), so each page's first
   block (the ink hero, a dark page ground) runs to the top edge and the header's fade lands on it.
   Each page keeps its first content clear of the capsule with its own top padding. */
.atk-head { margin-bottom: calc(-72px - env(safe-area-inset-top)); }
@media (max-width: 860px) {
  .atk-head { margin-bottom: calc(-68px - env(safe-area-inset-top)); }
  /* the store seal (an iframe the seal script fixes at bottom 18 px) sits above the phone dock, not on it */
  .sbc-seal-frame { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
}
/* the skip link's target takes focus without a ring of its own */
#main:focus { outline: none; }
/* keyboard focus also scrolls a control clear of the store seal, which floats above the phone dock
   (bottom 86 px, 44 px tall), not only clear of the dock (atk-shell.css: 96 px) */
@media (max-width: 860px) {
  html[data-shell="b"] { scroll-padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
}
/* a printed page is narrower than 860 px, and a fixed dock would repeat over the text of every sheet */
@media print {
  [data-shell="b"] .atk-dock { display: none !important; }
}
