/* RC9 — category-coded two-line cards, shared by desktop/mobile and Light/Field. */
#atlasVisibleLayersPanel > details.layer-cat{--rc9-accent:#20bceb;border-left:3px solid var(--rc9-accent)!important;}
#atlasVisibleLayersPanel > details.purpose-reference{--rc9-accent:#20bceb}
#atlasVisibleLayersPanel > details.purpose-constraints{--rc9-accent:#f06472}
#atlasVisibleLayersPanel > details.atlas-urbanistica-cat{--rc9-accent:#f59e0b}
#atlasVisibleLayersPanel > details.purpose-environment{--rc9-accent:#47c27a}
#atlasVisibleLayersPanel > details.purpose-risk{--rc9-accent:#a78bfa}
#atlasVisibleLayersPanel > details.purpose-meteo{--rc9-accent:#38bdf8}
#atlasVisibleLayersPanel > details.purpose-info{--rc9-accent:#a78bfa}
#atlasVisibleLayersPanel > details.purpose-regional{--rc9-accent:#20bceb}
#atlasVisibleLayersPanel > details.layer-cat > summary{display:flex!important;align-items:center!important;min-height:64px!important;line-height:1.2!important;gap:4px!important;padding-top:10px!important;padding-bottom:10px!important;}
#atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-heading{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:4px;align-items:flex-start;}
#atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-title{display:block;font-size:13px;font-weight:700;line-height:1.28;overflow-wrap:anywhere;}
#atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-source{display:block;font-size:10.5px;font-weight:500;line-height:1.3;color:var(--atlas-ink-muted,#94a3b8);opacity:.86;overflow-wrap:anywhere;}
#atlasVisibleLayersPanel > details.layer-cat > summary::before{background-color:var(--rc9-accent)!important;}
#atlasVisibleLayersPanel > details.layer-cat > summary .cat-hint{display:none!important;}
html[data-atlas-theme="dark"] #atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-source{color:#aebdce!important;opacity:1;}
@media(max-width:900px){#atlasVisibleLayersPanel > details.layer-cat > summary{min-height:64px!important;padding-right:32px!important;}#atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-title{font-size:13px!important;}#atlasVisibleLayersPanel > details.layer-cat > summary .atlas-rc9-source{font-size:11px!important;}}
/* Release under the AtlasMAP logo, not a new floating header control. */
body.atlas-shell-on .atlasmap-brand{position:relative!important;align-items:flex-start!important;flex-wrap:wrap;}
body.atlas-shell-on .atlas-rc9-release{display:block;color:#9fb0c4;font-size:9px;font-weight:700;letter-spacing:.8px;line-height:1.2;}
body.atlas-shell-on .atlas-rc9-release{position:absolute;left:0;top:31px;pointer-events:none;white-space:nowrap;}
body.atlas-shell-on .atlasmap-brand{min-height:42px!important;}
@media(max-width:900px){body.atlas-shell-on .atlas-rc9-release{top:30px;font-size:8px;}}
