.diagnostics-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}
.diagnostics-filters label{display:flex;flex-direction:column;gap:8px;min-width:0}
.diagnostics-filters input,.diagnostics-filters select{width:100%;min-width:0;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit}
dialog .icon-button,.employee-dialog-close,.floating-chat-head button[aria-label="Свернуть чат"]{display:grid!important;place-items:center!important;padding:0!important;font-size:0!important;line-height:0!important;position:relative;box-sizing:border-box;width:36px!important;height:36px!important;min-width:36px;flex-shrink:0!important}
dialog .icon-button::before,.employee-dialog-close::before,.floating-chat-head button[aria-label="Свернуть чат"]::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;width:12px;height:12px;background:currentColor;clip-path:polygon(10% 0,50% 40%,90% 0,100% 10%,60% 50%,100% 90%,90% 100%,50% 60%,10% 100%,0 90%,40% 50%,0 10%)}
.nav-group summary::after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:4px}
.nav-group:not([open]) summary::after{transform:rotate(45deg)}
.nav-group[open] summary::after{transform:rotate(225deg)}
.issue-comment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
.media-preview{width:min(960px,92vw);max-height:90vh;padding:24px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:18px}
.media-preview-body{display:grid;place-items:center;min-height:100px;max-height:65vh;overflow:auto;margin:16px 0}
.media-preview-body img,.media-preview-body video{max-width:100%;max-height:60vh;object-fit:contain}
.media-preview-body iframe{width:100%;height:60vh;border:0}
.media-preview-body audio{width:100%}
.report-point{cursor:pointer;outline-offset:4px}
.report-point:hover,.report-point:focus{r:7;stroke:var(--ink);stroke-width:2}
.report-answer-chart{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.report-answer-chart button{min-width:150px;text-align:left;border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--card);color:var(--ink)}
.report-answer-chart button[aria-pressed=true]{border:2px solid var(--green)}
.report-answer-chart strong{display:block;font-size:26px;margin-top:6px}
.report-answer-bar{display:block;height:10px;background:var(--line);border-radius:5px;margin-top:12px;overflow:hidden}
.report-answer-bar i{display:block;height:100%;background:var(--green)}
@media(max-width:900px){.diagnostics-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.diagnostics-filters{grid-template-columns:1fr}}
