/* "Download the report" modal and its entry points (report-download.js). */
html.report-dialog-open,html.report-dialog-open body{overflow:hidden}
#report-dialog{width:min(520px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border-radius:18px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-size:14px;box-shadow:0 30px 80px rgb(0 0 0 / 45%)}
#report-dialog::backdrop{background:rgb(0 0 0 / 62%);backdrop-filter:blur(8px)}
#report-dialog .report-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px}
#report-dialog .eyebrow{margin:0;font-size:10px;font-weight:600;letter-spacing:.16em;color:var(--red)}
#report-dialog h2{margin:8px 0 0;font-size:24px;line-height:1.15;font-weight:500;letter-spacing:-.02em}
#report-dialog .report-dialog-close{flex:none;width:34px;height:34px;font-size:20px;line-height:1;color:var(--text);cursor:pointer}
#report-dialog .report-dialog-close:hover{background:var(--raised)}
#report-dialog .report-form,#report-dialog .report-success{display:flex;flex-direction:column;gap:14px}
#report-dialog .report-success[hidden],#report-dialog .report-form[hidden],#report-dialog .report-error[hidden]{display:none}
#report-dialog .report-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
#report-dialog label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--secondary)}
#report-dialog input:not([type=checkbox]){box-sizing:border-box;min-height:46px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:15px;font-weight:400}
#report-dialog input::placeholder{color:var(--muted)}
#report-dialog input:focus{outline:none;border-color:var(--text)}
#report-dialog input[aria-invalid=true]{border-color:var(--red)}
#report-dialog .report-consent{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}
#report-dialog .report-consent input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--red)}
#report-dialog a{color:var(--red)}
#report-dialog .report-error{margin:0;font-size:13px;font-weight:400;color:var(--red)}
#report-dialog .report-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:14px 24px;border:0;border-radius:999px;background:#c82022;color:#fff;font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer}
#report-dialog .report-submit:hover{background:#9f1b1d}
#report-dialog .report-submit:focus-visible,#report-dialog .report-dialog-close:focus-visible{outline:2px solid var(--red);outline-offset:3px}
#report-dialog .report-submit:disabled{opacity:.6;cursor:not-allowed}
#report-dialog .report-submit svg{width:18px;height:18px}
#report-dialog .report-success h3{margin:0;font-size:20px;font-weight:600}
#report-dialog .report-success p{margin:0;font-size:15px;line-height:1.5;color:var(--secondary)}
#report-dialog .report-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;pointer-events:none}
@media(max-width:560px){#report-dialog{padding:22px 18px;border-radius:14px}#report-dialog h2{font-size:21px}}

/* Toolbar entry point, after Overview / ? in each view's top-right bar. */
#index-dialog .index-control-bar .report-download-group{display:flex;align-items:center;gap:3px;border-left:1px solid var(--line);padding-left:8px;margin-left:8px}
#index-dialog .index-control-bar .report-download-button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
#index-dialog .index-control-bar .report-download-button svg{width:16px;height:16px;flex:none}
@media(max-width:900px){
  #index-dialog .index-control-bar .report-download-group{padding-left:6px;margin-left:6px}
  #index-dialog .index-control-bar .report-download-button>span{display:none}
}

/* Footer link next to "Source & methodology". */
.experience-footer .experience-footer-links{display:flex;align-items:center;gap:14px}
