/* County module (county-module.js): map ~55% + panel ~45%, greys; coral only for the press state. No frames, no grid. */
.cm{margin:8px 0 24px}
.cm-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:0 0 12px}
.cm-measures,.cm-phone,.cm-units{display:inline-flex;gap:6px;flex-wrap:wrap}
.cm-measures button,.cm-phone button,.cm-units button{border:1px solid #d6d8db;background:#fff;color:#0b0c0c;border-radius:4px;min-height:36px;padding:0 12px;font:inherit;cursor:pointer}
.cm-measures button[aria-pressed=true],.cm-phone button[aria-pressed=true],.cm-units button[aria-pressed=true]{background:#0b0c0c;color:#fff;border-color:#0b0c0c;font-weight:600}
.cm-measures button[aria-pressed=false]:is(:hover,:focus-visible),.cm-units button[aria-pressed=false]:is(:hover,:focus-visible){color:#D4412D}
.cm-actions{display:inline-flex;gap:8px}
.cm-btn{border:1px solid #d6d8db;background:#fff;color:#0b0c0c;border-radius:4px;min-height:44px;padding:0 14px;font:600 14px Inter,system-ui,sans-serif;cursor:pointer}
.cm-btn:is(:hover,:focus-visible){border-color:#9aa0a6;color:#D4412D}
.cm-phone{display:none}
.cm-body{display:grid;grid-template-columns:minmax(0,1fr) 0fr;gap:0;transition:grid-template-columns .25s ease,gap .25s ease}
.cm.cm-open .cm-body{grid-template-columns:minmax(0,55fr) minmax(0,45fr);gap:28px}
.cm-map{position:relative;min-width:0}
.cm-svg{display:block;width:100%;height:auto}
.cm-county{stroke:#0b0b0b;stroke-width:.75px;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .3s ease}
.cm-county.is-hover{stroke-width:1.75px}
.cm-county.is-selected{stroke-width:2.5px}
.cm-county:focus-visible{outline:none;stroke-width:2.5px}
.cm-lines path{fill:none;vector-effect:non-scaling-stroke;pointer-events:stroke}
.cm-lines .ln-trafic{stroke:#0b0c0c;stroke-width:2px}
.cm-lines .ln-executie{stroke:#0b0c0c;stroke-width:2px;stroke-dasharray:4 3}
.cm-tip{position:absolute;transform:translate(-50%,-110%);background:#0b0c0c;color:#fff;padding:6px 10px;font-size:13px;line-height:1.45;max-width:320px;pointer-events:none;z-index:3;white-space:pre-line}
.cm-legend{display:flex;align-items:center;gap:10px;margin:10px 0 4px;color:#0b0c0c;font-size:13px}
.cm-steps{display:inline-flex}.cm-steps i{display:block;width:24px;height:12px;border:1px solid #0b0b0b;margin-left:-1px}
.cm-note{margin:2px 0 6px;color:#0b0c0c;font-size:13px;max-width:70ch}
.cm-lines-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:4px 0;font-size:13px;color:#0b0c0c}
.cm-lines-legend i{display:inline-block;width:26px;height:0;border-top:2px solid #0b0c0c;vertical-align:middle;margin-right:6px}
.cm-lines-legend i.dash{border-top-style:dashed}
.cm-attrib{margin:2px 0;color:#5f6670;font-size:13px}
.cm-attrib a{color:#0b0c0c!important;text-decoration:none!important}
.cm-attrib a:is(:hover,:focus-visible){color:#D4412D!important}
.cm-panel{min-width:0;overflow:hidden;display:flex;flex-direction:column;max-height:640px;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s}
.cm.cm-open .cm-panel{opacity:1;visibility:visible;transition-delay:0s}
.cm-desc{flex:none;padding:0 0 12px;color:#0b0c0c;line-height:1.55}
.cm-desc p{margin:0 0 6px}
.cm-desc .cm-small{color:#5f6670;font-size:13px}
.cm-desc a{color:#0b0c0c!important;font-weight:600;text-decoration:none!important}
.cm-desc a:is(:hover,:focus-visible){color:#D4412D!important}
.cm-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:6px}
.cm-units{margin:0 0 10px}
.cm-bars{list-style:none;margin:0;padding:0}
.cm-bars li{display:grid;grid-template-columns:minmax(0,9.5em) minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 0;cursor:pointer;outline:none}
.cm-bars li:focus-visible{box-shadow:inset 3px 0 0 #0b0c0c}
.cm-bar-name{color:#0b0c0c;overflow-wrap:anywhere}
.cm-bar-name small{display:block;color:#5f6670;font-size:13px}
.cm-bars li.is-hover .cm-bar-name,.cm-bars li[aria-selected=true] .cm-bar-name{font-weight:600}
.cm-bar-track{display:flex;gap:2px;height:12px}
.cm-bar-track i{display:block;height:100%}
.cm-done{background:#3a3f45}.cm-rest{background:#c9ccd0}
.cm-bar-label{color:#5f6670;font-size:13px;white-space:nowrap}
.cm-back{border:0;background:none;padding:4px 0 10px;font:inherit;font-weight:600;color:#0b0c0c;cursor:pointer}
.cm-back:is(:hover,:focus-visible){color:#D4412D}
.cm-projects{list-style:none;margin:0;padding:0}
.cm-projects li{padding:8px 0}
.cm-p-title{color:#0b0c0c;overflow-wrap:anywhere}
.cm-p-title details summary{cursor:pointer;list-style:none}
.cm-p-title details summary::-webkit-details-marker{display:none}
.cm-p-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;color:#5f6670;font-size:13px;overflow-wrap:anywhere}
.cm-p-bar{display:inline-block;width:56px;height:4px;background:#e1e3e5;vertical-align:middle}
.cm-p-bar i{display:block;height:100%;background:#3a3f45}
.cm-late{display:inline-block;padding:0 8px;border-radius:999px;background:#eceef0;color:#3a3f45;font-size:12px;font-weight:600}
.cm-sort{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;font-size:13px;color:#5f6670}
.cm-sort button{border:0;background:none;padding:2px 4px;font:inherit;color:#0b0c0c;cursor:pointer}
.cm-sort button[aria-pressed=true]{font-weight:600;box-shadow:inset 0 -2px 0 #0b0c0c}
.cm-sort button:is(:hover,:focus-visible){color:#D4412D}
.cm-more{border:1px solid #d6d8db;background:#fff;border-radius:4px;min-height:36px;padding:0 12px;font:inherit;font-weight:600;color:#0b0c0c;cursor:pointer;margin-top:6px}
.cm-more:is(:hover,:focus-visible){color:#D4412D;border-color:#9aa0a6}
.cm-table summary{cursor:pointer;display:inline;color:#0b0c0c;font-weight:600}
.cm-table summary:is(:hover,:focus-visible){color:#D4412D}
.cm-table-wrap{max-height:420px;overflow:auto;margin-top:10px}
.cm-table table{border-collapse:collapse;width:100%}
.cm-table :is(th,td){text-align:left;padding:6px 10px;border-bottom:1px solid #ececec}
.cm:fullscreen{background:#fff;padding:24px;overflow:auto}
@media (prefers-reduced-motion:reduce){.cm-body,.cm-panel,.cm-county{transition:none}}
/* tablet: panel under the map */
@media (max-width:1000px){.cm.cm-open .cm-body{grid-template-columns:minmax(0,1fr);gap:20px}.cm-panel{max-height:520px}}
/* phone: map, then „Hartă / Listă”; the list is the bar chart */
@media (max-width:760px){.cm-actions{display:none}.cm-phone{display:inline-flex}
  .cm-body,.cm.cm-open .cm-body{grid-template-columns:minmax(0,1fr)}
  .cm-panel{opacity:1;visibility:visible;max-height:none;display:none}
  .cm.cm-show-list .cm-panel{display:flex}.cm.cm-show-list .cm-map .cm-svg{display:none}
  .cm-bars li{grid-template-columns:minmax(0,7em) minmax(0,1fr) auto}}
.rl-answer .rl-big{font-size:var(--ig-fs-page,36px);font-weight:600;margin:0 0 8px;color:#0b0c0c;line-height:1.15}
#rlModule{margin-top:4px}
.cm-p-title summary{font-weight:400!important}
