/* Периодический документ Security: задача → период → понятный состав. */
#report-dialog{width:min(840px,calc(100vw - 32px));max-width:840px;max-height:calc(100dvh - 32px);overflow:auto;padding:24px 28px;border:1px solid var(--line);border-radius:16px;box-sizing:border-box;color:var(--ink)}
#report-dialog h2{margin:6px 0 0;font-size:25px}#report-dialog .dialog-head{align-items:flex-start;padding:0 0 16px;margin-bottom:0;background:var(--panel);position:static;gap:16px}
#report-dialog .report-lead{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 20px}
#report-dialog form{background:transparent;border:0;padding:0;margin:0}#report-settings{border:0;padding:0;margin:0;min-width:0}
.report-step{border-top:1px solid var(--line);padding:18px 0 16px}.report-step h3{font-size:15px;margin:0 0 14px;line-height:1.5}
#report-dialog label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:var(--muted)}.report-label{display:block;color:var(--muted);margin-bottom:8px}
#report-dialog input:not([type=checkbox]),#report-dialog select{width:100%;min-width:0;box-sizing:border-box;color:var(--ink);min-height:42px}
#report-dialog .report-kind-label{font-size:12px}.report-kind-help{font-size:13px;color:var(--muted);line-height:1.65;margin:10px 0 0}
.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.report-step .report-grid{margin:0 0 10px}.report-grid.report-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.report-time-note{font-size:11px;color:var(--muted);margin:0;line-height:1.5}
.report-choices{border:1px solid var(--line);border-radius:8px;padding:10px;min-height:90px;max-height:155px;overflow:auto;margin:8px 0;background:var(--panel)}
#report-dialog .report-choices label,#report-dialog .report-sections label{flex-direction:row;align-items:flex-start;margin:8px 0;color:var(--ink);line-height:1.5;font-size:13px}.report-choices input,#report-dialog .report-sections input{flex:none;margin-top:4px;accent-color:var(--green);width:17px;height:17px}
#report-dialog small{font-size:11px;line-height:1.6;color:var(--muted);display:block}.report-sections{border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;padding:8px 0 0;min-width:0;margin-top:8px}.report-sections legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.report-sections>small{grid-column:1/-1}
.report-disclosure{border-top:1px solid var(--line);padding:14px 0;margin:0}.report-disclosure>summary{cursor:pointer;font-weight:600;color:var(--ink);line-height:1.6;font-size:13px;min-height:24px}.report-disclosure>summary span{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}.report-disclosure .hint{font-size:12px;line-height:1.6;margin:12px 0 0}
.report-scope{background:var(--green-soft);border:1px solid var(--line);border-left:3px solid var(--green);border-radius:8px;padding:16px 18px;margin-top:8px;overflow-wrap:anywhere}.report-scope h3{font-size:14px;margin:0 0 8px;line-height:1.5}.report-scope p{font-size:12px;line-height:1.7;margin:5px 0;color:var(--ink2)}#report-dialog .report-scope-note{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px;margin-top:10px}
.report-template{display:grid;grid-template-columns:1fr 1fr auto auto;gap:10px;align-items:end;margin:16px 0 10px}.report-template button{font-size:12px}
.report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 0}#report-generate,.report-primary{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}#report-generate{min-height:44px;padding:12px 20px}
#report-progress{padding-top:16px}#report-progress progress{width:100%;height:10px;accent-color:var(--green)}#report-progress p{font-size:13px;line-height:1.6}
#report-ready{background:var(--green-soft);border:1px solid var(--line);border-radius:8px;padding:18px;margin-top:18px}#report-ready h3{font-size:16px;margin:0 0 8px}#report-ready p{font-size:13px;line-height:1.65;margin:8px 0}.report-link{display:inline-block;padding:11px 16px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--green-dim);font-weight:600;text-decoration:none;font-size:13px}#report-dialog button:disabled{opacity:.55}
.report-error-summary{border:1px solid var(--danger-ink);border-left:3px solid var(--danger-ink);background:var(--danger-bg);border-radius:8px;padding:16px;margin:0 0 18px;overflow-wrap:anywhere}.report-error-summary h3{font-size:15px;margin:0 0 8px;color:var(--danger-ink)}.report-error-summary p{margin:8px 0;line-height:1.6;font-size:13px}.report-error-summary ul{margin:10px 0 0;padding-left:20px}.report-error-summary li{margin:7px 0;font-size:13px;line-height:1.5}.report-error-summary a{color:var(--danger-ink);text-decoration:underline;font-weight:600}#report-dialog .report-field-error{color:var(--danger-ink);font-weight:600}#report-dialog [aria-invalid=true]{border-color:var(--danger-ink);outline-color:var(--danger-ink)}
#report-dialog [hidden]{display:none!important}#report-dialog :focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:3px}
@media(max-width:700px){#report-dialog{padding:18px;border-radius:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#report-dialog h2{font-size:21px}#report-dialog .report-lead{font-size:13px;margin-bottom:16px}.report-step{padding:16px 0}.report-grid,.report-grid.report-two{grid-template-columns:1fr;gap:12px}.report-template{grid-template-columns:1fr 1fr}.report-template label{grid-column:1/-1}.report-sections{grid-template-columns:1fr}.report-template button{min-width:0;overflow-wrap:anywhere}.report-error-summary{padding:12px}#report-dialog .report-disclosure>summary{min-height:32px;font-size:12px}#report-dialog .report-disclosure>summary span{display:block;margin-left:16px}.report-scope{padding:14px}.report-actions{gap:10px}.report-actions button,.report-link{flex:1;text-align:center}#report-dialog input:not([type=checkbox]),#report-dialog select{font-size:16px}.report-choices label{min-height:32px}}
@media(prefers-reduced-motion:no-preference){#report-progress progress{transition:opacity .2s}}
