/* Сбои по регионам: /regions/, /regions/<slug>/ и блок на главной. Базовые стили - dr-groups.css и dr-cards.css */
.dr-monitor .card.drr-card>img{border-radius:0}
.dr-monitor .card.warn{background:#fffbeb;border-color:rgba(217,119,6,.22);--graph:#d97706;--em:#b45309}
.dr-monitor .card.warn::before{content:"";position:absolute;top:0;left:0;bottom:0;width:2px;background:#d97706}
.dr-monitor .card.warn .indicator{color:#b45309}
.dr-monitor .card.warn .indicator::before{box-shadow:0 0 6px rgba(217,119,6,.4);animation:dr-pulse-w 1.75s ease-in infinite}
@keyframes dr-pulse-w{0%{transform:scale(1);box-shadow:0 0 0 0 rgba(217,119,6,.7)}30%{transform:scale(.75);box-shadow:0 0 0 0 rgba(217,119,6,.7)}100%{transform:scale(1);box-shadow:0 0 0 6px rgba(217,119,6,0)}}

/* главная */
.drr-home{max-width:1100px;margin:0 auto 2.5rem;font-family:Roboto,Arial,sans-serif;text-align:center}
.drr-home h2{font-size:2.4rem;font-weight:700;margin:0 0 1.6rem;color:#111827}
.drr-home .dr-monitor{margin-bottom:1.2rem}
.drr-all{display:inline-flex;align-items:center;gap:6px;padding:10px 22px;border:1px dashed #e5484d;border-radius:10px;color:#e5484d;font-weight:700;font-size:15px;text-decoration:none;background:#fff}
.drr-all:hover{background:#fff5f5;color:#e5484d}

/* шапка региона */
.drr-hero{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;align-items:start;margin:1rem 0 1.2rem}
.drr-hero>img{width:72px;height:72px;object-fit:contain}
.drr-hero h1{font-size:2.6rem;line-height:1.2;margin:0 0 .4rem;font-weight:700;color:#003663}
.drr-banner{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-radius:12px;border:1px solid #bbf7d0;background:#f0fdf4;margin:0 0 1.4rem;font-size:14px;line-height:1.5;color:#14532d}
.drr-banner i{flex:none;width:10px;height:10px;margin-top:5px;border-radius:50%;background:#16a34a}
.drr-banner b{display:block;font-size:15px}
.drr-banner.warn{border-color:#fde68a;background:#fffbeb;color:#78350f}
.drr-banner.warn i{background:#d97706;animation:dr-pulse-w 1.75s ease-in infinite}
.drr-banner.down{border-color:#fecdd3;background:#fff1f2;color:#881337}
.drr-banner.down i{background:#f43f5e;animation:drg-pulse 1.75s ease-in infinite}
.drr-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.drr-stats .warn b{color:#b45309}

/* график */
.drr-chartbox{border:1px solid var(--drg-line);border-radius:12px;background:#fff;padding:12px 14px 8px;margin-bottom:.6rem}
.drr-chart{display:block;width:100%;height:220px}
.drr-chart .g{stroke:#eef0f3;stroke-width:1}
.drr-chart .ax{font-size:11px;fill:#94a3b8;font-family:Roboto,Arial,sans-serif}
.drr-chart .b{fill:#94a3b8}
.drr-chart .b.hi{fill:#f43f5e}
.drr-chart .b:hover{fill:#003663}
.drr-chart .n{fill:none;stroke:#16a34a;stroke-width:2;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.drr-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12.5px;color:var(--drg-muted);margin:0 0 1rem}
.drr-legend span::before{content:"";display:inline-block;width:12px;height:10px;margin-right:6px;vertical-align:-1px;background:#94a3b8;border-radius:2px}
.drr-legend .hi::before{background:#f43f5e}
.drr-legend .n::before{height:0;border-top:2px dashed #16a34a;vertical-align:3px;background:none}

/* сервисы региона */
.drr-svc{display:grid;gap:6px;margin-bottom:1rem}
.drr-svc a{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(80px,32%) 92px;gap:12px;align-items:center;padding:8px 12px;border:1px solid var(--drg-line);border-radius:10px;background:#fff;color:var(--drg-text);text-decoration:none;font-size:14px}
.drr-svc a:hover{border-color:#94a3b8}
.drr-svc img{width:28px;height:28px;object-fit:contain;border-radius:6px}
.drr-svc img.nologo{opacity:.5}
.drr-svc .nm{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.drr-svc .bar{height:8px;border-radius:99px;background:#f1f5f9;overflow:hidden}
.drr-svc .bar i{display:block;height:100%;background:#6366f1;border-radius:99px}
.drr-svc .n{text-align:right;font-size:13px;color:var(--drg-muted);white-space:nowrap}
.drr-svc .n b{color:#1e293b}

.drr-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:1rem}
.drr-box{border:1px solid var(--drg-line);border-radius:12px;background:#fff;padding:12px 16px}
.drr-box h3{font-size:15px;font-weight:700;margin:0 0 .6rem}
.drr-rows{list-style:none;margin:0;padding:0}
.drr-rows li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:5px 0;border-top:1px solid #f1f5f9;font-size:14px}
.drr-rows li:first-child{border-top:0}
.drr-rows li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-rows li b{font-weight:600;color:#1e293b}
.drr-rows li em{font-style:normal;color:var(--drg-muted);font-size:12.5px;margin-left:6px}

.drr-feed{border:1px solid var(--drg-line);border-radius:12px;background:#fff;margin-bottom:1rem;overflow:hidden}
.drr-feed div{display:grid;grid-template-columns:52px minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:10px;padding:8px 14px;border-top:1px solid #f1f5f9;font-size:13.5px;align-items:center}
.drr-feed div:first-child{border-top:0}
.drr-feed time{color:var(--drg-muted);font-variant-numeric:tabular-nums}
.drr-feed a,.drr-feed span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-feed a{color:#003663;font-weight:500;text-decoration:none}
.drr-feed span{color:#374151}
.drr-feed .t{color:var(--drg-muted)}

.drr-text{font-size:14.5px;line-height:1.6;color:#374151;max-width:860px}
.drr-text h3{font-size:16px;font-weight:700;margin:1.2rem 0 .3rem;color:#111827}
.drr-text ul{margin:.3rem 0 .6rem 1.2rem;padding:0}
.drr-text p{margin:.3rem 0 .6rem}

.drr-pills a.warn{background:#fffbeb;border-color:#fde68a}
.drr-pills a.warn i{background:#d97706;animation:dr-pulse-w 1.75s ease-in infinite}
.drr-pills a.down{background:#fff5f5;border-color:#fbd5d7}
.drr-pills a img{flex:none;width:20px;height:20px;object-fit:contain}
.drr-pills a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media (max-width:640px){
  .drr-hero{grid-template-columns:52px minmax(0,1fr);gap:12px}
  .drr-hero>img{width:52px;height:52px}
  .drr-hero h1{font-size:2.1rem}
  .drr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .drr-chart{height:170px}
  .drr-svc a{grid-template-columns:24px minmax(0,1fr) 78px;gap:8px;padding:8px 10px}
  .drr-svc .bar{display:none}
  .drr-cols{grid-template-columns:minmax(0,1fr)}
  .drr-feed div{grid-template-columns:44px minmax(0,1fr) minmax(0,.9fr);gap:8px;padding:8px 10px;font-size:13px}
  .drr-feed .t{display:none}
  .drr-pills a img{display:none}
  .drr-home h2{font-size:2rem}
}
@media (prefers-reduced-motion:reduce){
  .dr-monitor .card.warn .indicator::before,.drr-banner i,.drr-pills a i{animation:none!important}
}
/* главная: 5 карточек на компьютере, 6 на планшете и телефоне */
.drr-home .dr-monitor{grid-template-columns:repeat(5,minmax(0,1fr))}
.drr-home .dr-monitor .card:nth-child(6){display:none}
@media (max-width:900px){.drr-home .dr-monitor{grid-template-columns:repeat(3,minmax(0,1fr))}.drr-home .dr-monitor .card:nth-child(6){display:grid}}
@media (max-width:450px){.drr-home .dr-monitor{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* подписи графика */
.drr-plot{position:relative;padding-left:26px}
.drr-ymax{position:absolute;left:0;top:-4px;font-size:11px;color:#94a3b8}
.drr-x{position:relative;height:18px;margin-top:4px}
.drr-x span{position:absolute;transform:translateX(-50%);font-size:11.5px;color:#94a3b8;white-space:nowrap}
.dr-monitor .card.drr-card .name{white-space:normal;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media (max-width:640px){.drr-x span:nth-child(even){display:none}}
/* карта сбоев */
.drm{border:1px solid var(--drg-line,#dfe3e8);border-radius:12px;background:#fff;padding:12px 14px;margin-bottom:1rem}
.drm-svg{position:relative;width:100%;aspect-ratio:1000/545;background:#f8fafc;border-radius:8px}
.drm-svg svg{display:block;width:100%;height:auto}
.drm-r path,.drm-r circle{stroke:#fff;stroke-width:.7;cursor:pointer;transition:fill .15s}
.drm-r circle{stroke-width:1.4}
.drm-r .c0,.drm-legend .c0 i{fill:#e5e7eb;background:#e5e7eb}
.drm-r .c1,.drm-legend .c1 i{fill:#cdebd6;background:#cdebd6}
.drm-r .c2,.drm-legend .c2 i{fill:#4ade80;background:#4ade80}
.drm-r .c3,.drm-legend .c3 i{fill:#fcdf8a;background:#fcdf8a}
.drm-r .c4,.drm-legend .c4 i{fill:#f8a86a;background:#f8a86a}
.drm-r .c5,.drm-legend .c5 i{fill:#e11d48;background:#e11d48}
.drm-r path:hover,.drm-r circle:hover{filter:brightness(.88)}
.drm-r .cur{stroke:#003663;stroke-width:2.2}
.drm-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;align-items:flex-start;margin-top:10px}
.drm-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:#6b7280}
.drm-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-2px}
.drm-info{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;font-size:13.5px;color:#374151;min-height:20px}
.drm-info>b{font-size:14.5px;color:#111827}
.drm-info a{color:#e5484d;font-weight:600;text-decoration:none}
.drm-st i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}
.drm-st.c0 i{background:#9ca3af}.drm-st.c1 i,.drm-st.c2 i{background:#16a34a}.drm-st.c3 i{background:#ca8a04}.drm-st.c4 i{background:#ea580c}.drm-st.c5 i{background:#e11d48}
.drm-note{font-size:12.5px;color:#6b7280;margin:8px 0 0}
@media (max-width:640px){.drm{padding:8px}.drm-legend{font-size:11.5px;gap:4px 10px}.drm-info{font-size:13px}}
.drr-home .drm{margin:0 0 14px}
.drm-title{font-size:18px;font-weight:700;color:#111827;margin:4px 0 10px;text-align:left}

/* пилот: интернет и связь */
.drr-comm{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin:0 0 1.2rem;border-radius:14px;border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d}
.drr-comm svg{flex:0 0 auto;margin-top:2px;color:#16a34a}
.drr-comm>div{flex:1;min-width:0}
.drr-comm .lbl{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.75;margin-bottom:2px}
.drr-comm b{display:block;font-size:17px;margin-bottom:4px}
.drr-comm p{margin:0;font-size:14px;line-height:1.45}
.drr-comm>a{flex:0 0 auto;align-self:center;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid currentColor;color:inherit;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.drr-comm.warn{border-color:#fde68a;background:#fffbeb;color:#78350f}.drr-comm.warn svg{color:#d97706}
.drr-comm.down{border-color:#fecdd3;background:#fff1f2;color:#881337}.drr-comm.down svg{color:#e11d48}
.drr-ops{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:0 0 1.8rem}
.drr-op{display:grid;grid-template-columns:36px 1fr auto;column-gap:10px;row-gap:3px;align-items:center;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#111827;text-decoration:none}
.drr-op:hover{border-color:#a5b4fc;text-decoration:none}
.drr-op img{grid-row:1/3;width:36px;height:36px;border-radius:8px;object-fit:contain}
.drr-op .nm{font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-op .st{font-size:12px;font-weight:600;color:#15803d;white-space:nowrap}
.drr-op .st::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#16a34a;margin-right:5px;vertical-align:1px}
.drr-op.down{border-color:#fecdd3;background:#fff1f2}.drr-op.down .st{color:#be123c}.drr-op.down .st::before{background:#f43f5e}
.drr-op .nums{grid-column:2/4;font-size:12.5px;color:#6b7280}
.drr-op .nums b{color:#111827}
.drr-faq h3{margin-top:1.1rem}
@media (max-width:600px){.drr-comm{flex-wrap:wrap}.drr-comm>div{flex:1 1 calc(100% - 40px)}.drr-comm>a{margin-left:38px}.drr-ops{grid-template-columns:1fr}}

/* объединённая плашка региона + связи */
.drr-banner-tel>div{flex:1;min-width:0}
.drr-banner-tel .lbl{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.75;margin-bottom:2px}
.drr-banner-tel b{font-size:17px;margin-bottom:4px}
.drr-banner-tel p{margin:0 0 4px}
.drr-banner-tel p:last-child{margin:0}
.drr-banner-tel>a{flex:0 0 auto;align-self:center;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid currentColor;color:inherit;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.drr-banner-tel i{margin-top:24px}
@media (max-width:600px){.drr-banner-tel{flex-wrap:wrap}.drr-banner-tel>div{flex:1 1 calc(100% - 30px)}.drr-banner-tel>a{margin-left:22px}}
/* жалобы по провайдерам (v10) */
.drr-isp{display:grid;gap:6px;margin-bottom:.6rem}
.drr-isp-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(80px,28%) 150px;column-gap:12px;row-gap:4px;align-items:center;padding:9px 12px;border:1px solid var(--drg-line);border-radius:10px;background:#fff;font-size:14px;color:var(--drg-text)}
.drr-isp-row img,.drr-isp-row .ph{width:28px;height:28px;border-radius:6px;object-fit:contain}
.drr-isp-row img.nologo{opacity:.5}
.drr-isp-row .ph{display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#475569;font-weight:700;font-size:13px}
.drr-isp-row .nm{min-width:0;font-weight:600;line-height:1.25}
.drr-isp-row .nm a{color:#111827;text-decoration:none}.drr-isp-row .nm a:hover{text-decoration:underline}
.drr-isp-row .nm small{display:block;font-weight:400;font-size:12px;color:var(--drg-muted)}
.drr-isp-row .bar{height:8px;border-radius:99px;background:#f1f5f9;overflow:hidden}
.drr-isp-row .bar i{display:block;height:100%;background:#6366f1;border-radius:99px}
.drr-isp-row.other .bar i{background:#94a3b8}
.drr-isp-row .n{text-align:right;font-size:12px;color:var(--drg-muted);line-height:1.35;white-space:nowrap}
.drr-isp-row .n b{color:#1e293b;font-size:14px}
.drr-isp-row .sv{grid-column:2/-1;font-size:12px;color:var(--drg-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-isp-row .sv a{color:#475569}
.drr-src{font-size:12px;color:var(--drg-muted);margin:0 0 1.8rem}
.drr-src a{color:#475569}
@media (max-width:640px){
  .drr-isp-row{grid-template-columns:24px minmax(0,1fr) auto;column-gap:8px;padding:8px 10px}
  .drr-isp-row img,.drr-isp-row .ph{width:24px;height:24px}
  .drr-isp-row .bar{display:none}
  .drr-isp-row .sv{white-space:normal}
}
.drr-isp-row .own{grid-column:2/-1;font-size:12px;color:#334155;min-width:0}
.drr-isp-row .own b{color:#111827}
/* компактный список провайдеров (v12) */
.drr-isp-row{grid-template-columns:28px minmax(0,1fr) minmax(60px,22%) 230px;row-gap:2px;padding:7px 12px}
.drr-isp-row .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drr-isp-row .nm small{display:inline;margin-left:4px}
.drr-isp-row .n{font-size:12px}
.drr-isp-row .sv{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drr-isp-row .sv i{font-style:normal;margin:0 4px;color:#cbd5e1}
.drr-isp-row .sv .own{color:#334155}.drr-isp-row .sv .own b{color:#111827}
.drr-isp-more{margin:0}
.drr-isp-more>summary{cursor:pointer;list-style:none;display:inline-block;padding:6px 12px;border:1px solid var(--drg-line);border-radius:99px;background:#fff;font-size:13px;font-weight:600;color:#475569}
.drr-isp-more>summary::-webkit-details-marker{display:none}
.drr-isp-more>summary::after{content:" ▾"}
.drr-isp-more[open]>summary{margin-bottom:6px}.drr-isp-more[open]>summary::after{content:" ▴"}
@media (max-width:640px){
  .drr-isp-row{grid-template-columns:24px minmax(0,1fr)}
  .drr-isp-row .n{grid-column:2/-1;text-align:left}
  .drr-isp-row .sv{white-space:normal}
  .drr-isp-row .sv i{display:none}
  .drr-isp-row .sv span{display:block}
}
/* 24 часа + обычный уровень (v13) */
.drr-isp-row .hotb{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:99px;background:#ffe4e6;color:#be123c;font-size:11px;font-weight:700;font-style:normal;vertical-align:1px}
.drr-isp-row.hot{border-color:#fecdd3;background:#fff7f8}
.drr-isp-row.hot .bar i{background:#f43f5e}
.drr-isp-row.warm .hotb{background:#fef3c7;color:#b45309}
.drr-isp-row.warm{border-color:#fde68a;background:#fffbeb}
.drr-isp-row.warm .bar i{background:#f59e0b}
/* скрытые названия провайдеров (v14) */
.drr-isp-row .ph.lk{background:#eef2ff;color:#6366f1}
.drr-isp-row .lkname{display:inline-block;height:12px;border-radius:6px;background:linear-gradient(90deg,#cbd5e1,#e2e8f0);vertical-align:-1px}
.drr-isp-row .lktxt{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:99px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:700;vertical-align:1px}
@media (max-width:640px){
  .drr-isp-row .nm{white-space:normal;overflow:visible}
  .drr-isp-row .lkname{max-width:64px}
  .drr-isp-row .nm small{margin-left:0}
}
@media (max-width:640px){ .drr-isp-row .nm small{display:inline-block;white-space:nowrap} }

/* FAQ регионов: раскрывающиеся карточки */
.drr-faq2{display:grid;gap:8px;margin:0 0 1.8rem}
.drr-qa{border:1px solid #e5e7eb;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.drr-qa:hover{border-color:#c7d2fe}
.drr-qa[open]{border-color:#c7d2fe;box-shadow:0 2px 8px rgba(79,70,229,.07)}
.drr-qa summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:13px 16px;user-select:none}
.drr-qa summary::-webkit-details-marker{display:none}
.drr-qa summary::after{content:"";flex:none;margin-left:auto;width:9px;height:9px;border-right:2px solid #9ca3af;border-bottom:2px solid #9ca3af;transform:rotate(45deg);transition:transform .2s;margin-top:-4px}
.drr-qa[open] summary::after{transform:rotate(-135deg);margin-top:4px;border-color:#4f46e5}
.drr-qa .ic{flex:none;width:28px;height:28px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.drr-qa[open] .ic{background:#4f46e5;color:#fff}
.drr-qa h3{margin:0;font-family:inherit;letter-spacing:normal;font-size:16px;font-weight:600;line-height:1.35;color:#111827}
.drr-qa .ans{padding:0 16px 14px 56px;color:#374151;font-size:15px;line-height:1.6}
.drr-qa .ans p{margin:0}
.drr-qa .ans ul{margin:0;padding-left:18px}
.drr-qa .ans li{margin:3px 0}
@media (max-width:600px){.drr-qa summary{padding:12px 13px;gap:10px}.drr-qa h3{font-size:15px}.drr-qa .ans{padding:0 13px 13px 13px}}

/* облако тегов рядом с графиком */
.drr-chartgrid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:start;margin-bottom:1.2rem}
.drr-chartgrid .drr-chartbox{margin-bottom:.6rem}
.drr-tags{border:1px solid var(--drg-line,#e5e7eb);border-radius:12px;background:#fff;padding:14px 16px 12px;align-self:stretch;display:flex;flex-direction:column}
.drr-tags h3{margin:0 0 10px;font-size:15px;font-weight:700;color:#111827}
.drr-tags .cl{display:flex;flex-wrap:wrap;gap:6px 7px;align-content:flex-start;flex:1}
.drr-tags .cl a,.drr-tags .cl span{display:inline-block;padding:3px 10px;border-radius:999px;background:#f3f4f6;color:#374151;text-decoration:none;line-height:1.3;white-space:nowrap}
.drr-tags .cl a:hover{background:#e0e7ff;color:#3730a3;text-decoration:none}
.drr-tags .w1{font-size:12.5px;color:#6b7280}
.drr-tags .w2{font-size:13.5px}
.drr-tags .w3{font-size:14.5px;font-weight:500}
.drr-tags .cl .w4{font-size:15.5px;font-weight:600;background:#eef2ff;color:#3730a3}
.drr-tags .cl .w5{font-size:16.5px;font-weight:700;background:#e0e7ff;color:#312e81}
.drr-tags .em{margin:0;color:#6b7280;font-size:14px;flex:1}
.drr-tags .src{margin:10px 0 0;font-size:12px;color:#9ca3af}
@media (max-width:860px){.drr-chartgrid{grid-template-columns:1fr}}

/* облако тегов как у detector404: слова без подложек, цвет по типу, размер по частоте */
.drr-tags .cw{flex:1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;align-content:center;gap:2px 20px;min-height:190px;padding:4px 0;font-family:"Droid Sans Mono","DejaVu Sans Mono",ui-monospace,Menlo,Consolas,monospace;line-height:1.1;text-align:center}
.drr-tags .cw span{white-space:nowrap;cursor:default}
.drr-tags .cw .c-location{color:#5760AE}
.drr-tags .cw .c-service{color:#833001}
.drr-tags .cw .c-problem{color:#A11A1A}
.drr-tags .cw em{font-style:normal;font-family:inherit;font-size:14px;color:#9ca3af;font-family:system-ui,sans-serif}

/* облако тегов, нарисованное wordcloud (как у detector404) */
@font-face{font-family:'Droid Sans Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/widget_files/v1/droid-sans-mono-dr.woff2) format('woff2')}
.drr-tags .wc{flex:1;display:flex;align-items:center;justify-content:center;min-height:170px}
.drr-tags .wc svg{display:block;width:100%;height:auto;max-width:500px}
.drr-tags .wc text{font-family:'Droid Sans Mono',monospace;cursor:default}
.drr-tags .wc .c-location{fill:#5760AE}.drr-tags .wc .c-service{fill:#833001}.drr-tags .wc .c-problem{fill:#A11A1A}

/* подсказка % у тегов: наведение на десктопе, нажатие на телефоне */
.drr-tags{position:relative}
.drr-tags [data-pct]{cursor:pointer;-webkit-tap-highlight-color:transparent}
.drr-tags [data-pct]{transition:opacity .15s}
.drr-tags.act [data-pct]:not(.on){opacity:.25}
.drr-tip{position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 8px));padding:4px 9px;border-radius:7px;background:#111827;color:#fff;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;white-space:nowrap;pointer-events:none;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.drr-tip::after{content:"";position:absolute;left:50%;bottom:-5px;margin-left:-5px;border:5px solid transparent;border-bottom:0;border-top-color:#111827}
.drr-tip[hidden]{display:none}

/* FAQ регионов: открытые карточки с иконками */
.drr-faq3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 1.8rem}
.drr-qi{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.drr-qi .ic{flex:none;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.drr-qi .tx{min-width:0}
.drr-qi h3{margin:2px 0 6px;font-family:inherit;letter-spacing:normal;font-size:16px;font-weight:600;line-height:1.35;color:#111827}
.drr-qi .ans{color:#4b5563;font-size:14.5px;line-height:1.6}
.drr-qi .ans p{margin:0}
.drr-qi .ans ul{margin:0;padding-left:18px}
.drr-qi .ans li{margin:3px 0}
.drr-qi .t-amber{background:#fef3c7;color:#b45309}
.drr-qi .t-indigo{background:#e0e7ff;color:#4338ca}
.drr-qi .t-sky{background:#e0f2fe;color:#0369a1}
.drr-qi .t-emerald{background:#d1fae5;color:#047857}
.drr-qi .t-violet{background:#ede9fe;color:#6d28d9}
.drr-qi .t-rose{background:#ffe4e6;color:#be123c}
.drr-qi .t-teal{background:#ccfbf1;color:#0f766e}
@media (max-width:760px){.drr-faq3{grid-template-columns:1fr}.drr-qi{padding:14px;gap:12px}.drr-qi .ic{width:38px;height:38px;border-radius:10px}.drr-qi .ic svg{width:20px;height:20px}.drr-qi h3{font-size:15px}}
.drr-qi .ans ul{list-style:none;margin:0;padding:0}
.drr-qi .ans li{position:relative;margin:4px 0;padding:0 0 0 16px;list-style:none}
.drr-qi .ans li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:#c7d2fe}
.drr-qi .ans li::marker{content:none}

/* комментарии жителей на странице региона */
.drr-cmw{margin:0 0 28px}
.drr-cmf{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;margin-bottom:14px}
.drr-cmf textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;resize:vertical;min-height:76px}
.drr-cmf textarea:focus,.drr-cmf input:focus,.drr-cmf select:focus{outline:2px solid #c7d2fe;border-color:#6366f1}
.drr-cmf .row{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0}
.drr-cmf textarea,.drr-cmf select,.drr-cmf input,.drr-cmf button{margin:0;max-width:100%}
.drr-cmf button{text-transform:none;letter-spacing:0}
.drr-cmf select,.drr-cmf input{flex:1 1 170px;min-width:0;height:40px;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff}
.drr-cmf button{flex:0 0 auto;height:40px;padding:0 18px;border:0;border-radius:10px;background:#4f46e5;color:#fff;font-weight:600;font-size:14px;cursor:pointer}
.drr-cmf button:disabled{opacity:.6;cursor:default}
.drr-cmf .msg{margin:8px 0 0;font-size:13px;color:#64748b;min-height:1em}
.drr-cmf .msg:empty{display:none}
.drr-cmf .msg.err{color:#b91c1c}.drr-cmf .msg.ok{color:#047857}
.drr-cmnow{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:8px 12px;font-size:14px;margin-bottom:10px}
.drr-cml{display:grid;gap:10px}
.drr-cm{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px}
.drr-cm.now{border-color:#fdba74}
.drr-cm .hd{display:flex;align-items:center;gap:10px}
.drr-cm .hd>div{flex:1;min-width:0;display:flex;flex-direction:column}
.drr-cm .av{flex:0 0 34px;height:34px;border-radius:50%;background:#eef2ff;color:#4338ca;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.drr-cm .hd b{font-size:14px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-cm .mt{font-size:12px;color:#64748b}
.drr-cm time{font-size:12px;color:#94a3b8;white-space:nowrap}
.drr-cm.now time{color:#c2410c;font-weight:600}
.drr-cm .tg{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.drr-cm .tg span,.drr-cm .tg a{font-size:12px;border-radius:999px;padding:2px 9px;line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drr-cm .ty{background:#f1f5f9;color:#334155}
.drr-cm .sv{background:#eef2ff;color:#4338ca;text-decoration:none}
.drr-cm .sv:hover{text-decoration:underline}
.drr-cm p{margin:8px 0 0;font-size:15px;line-height:1.5;color:#1e293b;overflow-wrap:anywhere}
.drr-cmempty{color:#64748b;font-size:14px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:12px 14px;margin:0}
.drr-cmmore{display:block;margin:12px auto 0;height:38px;padding:0 18px;border:1px solid #c7d2fe;background:#fff;color:#4338ca;border-radius:10px;font-weight:600;cursor:pointer}
@media (max-width:600px){.drr-cmf .row>*{flex:1 1 100%}.drr-cmf button{width:100%}}
.drr-cmf .row:before,.drr-cmf .row:after{display:none;content:none}

/* Омская область: комментарии 40% + FAQ 60% */
.drr-2col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.drr-2col>*{min-width:0}
.drr-cml{grid-template-columns:minmax(0,1fr)}
.drr-2col-l .drr-cmw{margin-bottom:1.8rem}
.drr-2col-r .drr-faq3{grid-template-columns:1fr}
@media (max-width:960px){.drr-2col{grid-template-columns:minmax(0,1fr);gap:0}}
.drr-cm .vt{display:flex;justify-content:flex-end;margin-top:6px;font-size:15px;line-height:1}
.drr-cm .vt a{text-decoration:none}
.drr-cmf .cnt{font-size:13px;color:#687a86;margin:0 0 6px}
.drr-cmf .cnt b{color:#0f172a;font-weight:600}
.drr-cmf .ttl{margin-top:8px}
.drr-cmf .ttl input{display:block;width:100%}
.drr-cm .tt{font-weight:600;color:#0f172a;margin:8px 0 0;font-size:15px}
.drr-cm .hd .vt{margin:0 0 0 10px;font-size:16px}
.drr-cm .vt a.vote-up,.drr-cm .vt a.vote-down{padding:0 5px}
.drr-cm .vt .voting-score{padding:0 2px}
.drr-cmf textarea{min-height:150px}
.drr-isp-row .sv .spk{color:#b42318}
.drr-isp-row .sv .spk b{color:#b42318;font-weight:600}
