:root {
  --atlas-papier:#fcf7eb; --atlas-kartka:#fffdf7; --atlas-granat:#192742;
  --atlas-atrament:#27344b; --atlas-zielen:#085c50; --atlas-blekit:#3053b3;
  --atlas-roz:#bd4469; --atlas-slonce:#f7c64a; --atlas-linia:#ded5bd;
  --atlas-muted:#515966; --atlas-font:Portal,system-ui,sans-serif;
  --atlas-display:Kredka,ui-rounded,system-ui,sans-serif; --atlas-rytm:clamp(1.4rem,3.6vw,3rem);
  --atlas-promien:18px; --atlas-cien:0 2px 0 #222e3910,0 8px 20px #37362d09;
}
body[data-atlas] > header {background:#fffaf0; border-bottom:1px solid var(--atlas-linia)}
body[data-atlas] > header .head{min-height:clamp(64px,5.1vw,81px);gap:clamp(6px,1.15vw,20px)}
body[data-atlas] > header .head .brand-logo{width:clamp(143px,13.4vw,181px)}
body[data-atlas] > header .head > nav {gap:clamp(3px,.6vw,10px)}
body[data-atlas] > header .head > nav .navitem{color:#30394a;border-radius:13px;text-decoration:none;min-height:44px}
body[data-atlas] > header .head > nav .navitem.current {background:#e5e9fc;color:#1d408a}
body[data-atlas] > header .head > nav .navitem:hover{background:#eeeadf;color:#183f68}
a.atlas-nav-search{display:inline-flex;align-items:center;justify-content:center; flex:0 0 44px;min-height:44px;border:1px solid #d8d1bc;border-radius:13px;color:var(--atlas-granat);background:#fffcf5}
.atlas-nav-search:hover{color:var(--atlas-zielen);border-color:#9aa99b}
[data-atlas] :where(a,button,summary,input,select,textarea,[tabindex="0"]):focus-visible{outline:3px solid #2051b5;outline-offset:3px}
body[data-atlas]>footer{background:#f5efdf;border-top:1px solid var(--atlas-linia);margin-top:var(--atlas-rytm)}
body[data-atlas]>footer .foot{border:0;display:grid;grid-template-columns:minmax(140px,1.3fr) repeat(3,minmax(110px,1fr));gap:clamp(1rem,4vw,3.6rem);align-items:start;padding-block:clamp(1.25rem,3vw,2.6rem)}
.atlas-foot-brand {display:grid;align-content:start;justify-items:start;gap:.35rem;min-width:0}
body[data-atlas] .atlas-up{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#425749;font-size:.85rem;text-underline-offset:3px}
.atlas-foot-column{min-width:0}
.atlas-foot-column>strong{display:block;color:var(--atlas-granat);font-family:var(--atlas-display);font-size:1.06rem;margin-bottom:5px}
body[data-atlas] .atlas-foot-column nav{display:grid;justify-content:start;gap:0}
body[data-atlas] .atlas-foot-column a{min-height:37px;color:#435144;text-decoration:none}
body[data-atlas] .atlas-foot-column a:hover{text-decoration:underline;text-underline-offset:4px;color:#074d43}
.atlas-button {align-items:center;justify-content:center;gap:.5rem;display:inline-flex;min-height:44px;border-radius:12px;color:white;background:var(--atlas-zielen);padding:.62rem 1rem;border:1px solid transparent;font-weight:700;text-decoration:none}
.atlas-button:active{transform:translateY(1px)}
.atlas-notice{padding:.85rem 1rem;border-inline-start:4px solid var(--atlas-slonce);background:#fff7d4;color:var(--atlas-granat);border-radius:0 10px 10px 0}
.atlas-panel{background:var(--atlas-kartka);border:1px solid var(--atlas-linia);border-radius:var(--atlas-promien);box-shadow:var(--atlas-cien)}
@media(max-width:700px){
  body[data-atlas]>header .head{min-height:55px;gap:4px}
  body[data-atlas]>header .head .brand-logo{width:clamp(95px,29vw,138px)}
  body[data-atlas]>header .head > nav{gap:2px}
  body[data-atlas]>header .navitem{gap:2px;padding:3px clamp(3px,1.15vw,8px);font-size:clamp(.68rem,2.65vw,.78rem)}
  body[data-atlas]>header .head > .atlas-nav-search{display:none}
  body[data-atlas] .foot .brand-logo{width:123px}
  body[data-atlas]>footer .foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}
  body[data-atlas] .atlas-foot-column a{min-height:44px}
}
@media(max-height:410px) and (orientation:landscape){
  body[data-atlas]>header .head {min-height:44px}body[data-atlas]>header .head .brand-logo{width:98px}
}
@media(prefers-reduced-motion:reduce){.atlas-button{transition:none}.atlas-button:active{transform:none}}
@media print{.atlas-nav-search,.atlas-up,body[data-atlas]>footer{display:none}}
/* The earlier marginal pencil rotated past the document edge on small displays. */
body[data-atlas].has-page-art::after{right:max(5px,calc((100vw - 1330px)/3));transform:none}
@media(max-width:900px){
  body[data-atlas].has-page-art::after,body[data-atlas].has-page-art::before{content:none}
}
