/* Paylo Diagnostics 1.0.7: isolated, never alters main app layout */
#payloDoctorFab{position:fixed;inset-inline-end:16px;bottom:calc(94px + env(safe-area-inset-bottom, 0px));z-index:2147483647;width:52px;height:52px;border-radius:50%;border:2px solid rgba(255,255,255,.8);background:#1768bc;color:#fff;box-shadow:0 5px 20px #122d5055;font-size:20px;display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
#payloDoctorFab[hidden]{display:none!important}
#payloDoctorFab:focus-visible{outline:3px solid #f4b942;outline-offset:3px}
#payloDoctorShade{position:fixed;inset:0;z-index:2147483647;background:#07172ab8;display:none;align-items:center;justify-content:center;padding:12px;direction:rtl;font-family:inherit}
#payloDoctorShade.open{display:flex}
#payloDoctorPanel{box-sizing:border-box;width:min(100%,570px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border-radius:20px;background:#fff;color:#182940;box-shadow:0 18px 70px #050b1a77;padding:16px;scrollbar-width:thin;scrollbar-color:#2272be #dce5f2}
#payloDoctorPanel *{box-sizing:border-box}
#payloDoctorPanel header{position:static!important;background:transparent!important;color:inherit!important;padding:0!important;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:none!important;min-height:0!important}
#payloDoctorPanel h2{font-size:19px;margin:0;font-weight:800}
#payloDoctorPanel .pd-small{font-size:12px;color:#53647e;line-height:1.7}
#payloDoctorPanel .pd-close{background:#edf3fa;border:1px solid #d0dce9;border-radius:10px;color:#1b3450;cursor:pointer;padding:7px 12px}
#payloDoctorPanel .pd-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
#payloDoctorPanel .pd-actions button{border:0;border-radius:12px;padding:10px 13px;background:#1768bc;color:white;font:inherit;font-weight:700;cursor:pointer;min-height:42px}
#payloDoctorPanel .pd-actions button.secondary{background:#e9f0f8;color:#17446d}
#payloDoctorPanel .pd-actions button:disabled{opacity:.55;cursor:wait}
#payloDoctorResults{display:grid;gap:7px;margin:12px 0}
#payloDoctorResults .pd-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border:1px solid #dfe8f2;border-radius:11px;padding:10px;background:#f8fafc;font-size:13px;overflow-wrap:anywhere}
#payloDoctorResults .pd-label{font-weight:650;min-width:110px}
#payloDoctorResults .pd-value{direction:ltr;text-align:start;unicode-bidi:plaintext;flex:1;min-width:0}
#payloDoctorResults .pd-ok{color:#087449}#payloDoctorResults .pd-warn{color:#ad6600}#payloDoctorResults .pd-fail{color:#b52637}
#payloDoctorPanel .pd-errors{max-height:180px;overflow:auto;border:1px solid #dfe8f2;border-radius:10px;padding:10px;background:#f7f9fc;font:12px/1.7 monospace;white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left}
#payloDoctorPanel .pd-note{padding:10px;border-radius:10px;background:#edf5ff;color:#244768;font-size:12px;line-height:1.7}
@media(prefers-color-scheme:dark){html[data-theme="dark"] #payloDoctorPanel{background:#182437;color:#eff5ff}html[data-theme="dark"] #payloDoctorResults .pd-row,html[data-theme="dark"] #payloDoctorPanel .pd-errors{background:#1d2e43;color:#e8f0ff;border-color:#40506b}html[data-theme="dark"] #payloDoctorPanel .pd-small{color:#b5c6df}html[data-theme="dark"] #payloDoctorPanel .pd-note{background:#203752;color:#dbeaff}}

#payloDoctorPanel .pd-actions button:focus-visible{outline:2px solid var(--brand,#1769c2);outline-offset:3px}

/* Paylo 1.0.26 production preflight controls */
#payloDoctorPanel .pd-actions{display:flex;flex-wrap:wrap;gap:8px}
#payloDoctorPanel #payloDoctorVerify{flex:1 1 175px;min-height:42px;white-space:normal}
#payloDoctorPanel .pd-actions button:disabled{opacity:.55;cursor:wait}
