.r2grade{display:inline-grid;place-items:center;vertical-align:middle;background:#596978;color:white;border-radius:6px;width:25px;height:23px;font:800 15px system-ui}
.r2grade.gA{background:#08764c}.r2grade.gB{background:#52bd83;color:#142621}.r2grade.gC{background:#b9db6c;color:#142621}.r2grade.gD{background:#ffe668;color:#142621}.r2grade.gE{background:#ffb559;color:#142621}.r2grade.gF{background:#f67949;color:#142621}.r2grade.gG{background:#be3242}
#atlas .atlasBar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
#atlas .atlasBar input{flex:1;min-width:155px}#atlas select,#atlas button{width:auto}
#atlasFrame{height:clamp(360px,64vh,850px);position:relative;overflow:hidden;border-radius:18px;isolation:isolate;border:1px solid #99b6aa}
#atlasMap{width:100%;height:100%;background-color:#e3ebe6;background-image:linear-gradient(#cfddd660 1px,transparent 1px),linear-gradient(90deg,#cfddd660 1px,transparent 1px);background-size:42px 42px}
#atlasFrame.slant #atlasMap{height:125%;transform:scaleY(.8);transform-origin:top}
#atlasFrame.slant .atlasTag{transform:scaleY(1.25)}
#atlasStatus:empty{display:none}
#atlas .atlasTag{box-sizing:border-box;display:grid;justify-items:center;align-content:center;gap:4px;width:108px;height:56px;background:white;color:#19392e;border:1px solid #acc3b9;border-radius:12px;box-shadow:0 3px 10px #173b3845;font:700 12px system-ui}
.atlasTag>span:last-child{max-width:99px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atlasTag:hover{outline:2px solid #265845}
.atlasGrades{display:flex;gap:2px}.atlasGrades .r2grade{width:18px;height:18px;font-size:12px}
#atlas .atlasEntry{padding:12px;background:white;color:#1d3b36;line-height:1.6;overflow-wrap:anywhere;border-bottom:1px solid #d6dfdb}
#atlas .atlasEntry a{color:#235847;font-weight:700}#atlas a.atlasOpen{background:#235847;color:white;border-radius:7px;padding:5px 9px;display:inline-block;margin-left:8px;text-decoration:none}
#atlas details>div{max-height:250px;overflow:auto}
