#reports-guide-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #0e7490;border-radius:9px;background:#083344;color:#a5f3fc;padding:9px 15px;font-size:12px;font-weight:700;cursor:pointer}
#reports-guide-button:hover{background:#155e75}.rg-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #475569;border-radius:13px;background:#0f172a;color:#e2e8f0;overflow:auto}.rg-dialog::backdrop{background:rgba(2,6,23,.8)}.rg-dialog [hidden]{display:none!important}.rg-dialog header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;border-bottom:1px solid #334155}.rg-dialog h2{font-size:18px;font-weight:700;overflow-wrap:anywhere}.rg-dialog button{border:1px solid #475569;border-radius:8px;background:#1e293b;color:#e2e8f0;padding:9px 14px;min-height:40px;cursor:pointer}.rg-dialog #rg-close{font-size:22px;padding:4px 12px}.rg-dialog button:disabled{opacity:.55;cursor:wait}.rg-body{padding:20px}.rg-body #rg-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px}.rg-body #rg-content a{color:#67e8f9;text-decoration:underline}.rg-body .rg-empty{color:#94a3b8}.rg-body #rg-edit{margin-top:20px}.rg-body form{display:grid;gap:10px}.rg-body label{font-size:13px;font-weight:700}.rg-body textarea{box-sizing:border-box;width:100%;min-height:220px;resize:vertical;border:1px solid #475569;border-radius:8px;background:#020617;color:inherit;padding:12px;font:inherit;font-size:15px;line-height:1.5}.rg-body form>p{font-size:12px;color:#94a3b8}.rg-body footer{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}.rg-body #rg-save{background:#0891b2;border-color:#0891b2;color:white;font-weight:700}.rg-body #rg-error{color:#fca5a5;font-size:13px;margin-top:12px}.rg-body #rg-error:empty{display:none}#reports-guide-button:focus-visible,.rg-dialog button:focus-visible,.rg-dialog textarea:focus-visible{outline:2px solid #22d3ee;outline-offset:2px}
html.light-mode .rg-dialog{background:#fff;color:#0f172a;border-color:#cbd5e1}html.light-mode .rg-dialog textarea{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}html.light-mode .rg-dialog button:not(#rg-save){background:#f1f5f9;color:#334155;border-color:#cbd5e1}html.light-mode #reports-guide-button{background:#ecfeff;color:#0e7490}html.comfort-mode .rg-dialog{background:#192936;color:#e6edf2;border-color:#38505e}html.comfort-mode .rg-dialog textarea{background:#101820;color:#e6edf2;border-color:#38505e}
@media(max-width:640px){#reports-guide-button{width:100%}.rg-dialog textarea{font-size:16px}.rg-body footer button{flex:1}}
