.ds-status-widget,.ds-status-widget *{box-sizing:border-box}
.ds-status-widget{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:2147483000;width:min(326px,calc(100vw - 28px));font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f7fbff;pointer-events:none;isolation:isolate}
.ds-status-pill,.ds-status-details{pointer-events:auto;background:rgba(6,16,28,.82);border:1px solid rgba(255,255,255,.10);box-shadow:0 18px 46px rgba(0,0,0,.28);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}
.ds-status-pill{width:auto;max-width:100%;margin-left:auto;display:grid;grid-template-columns:10px minmax(0,1fr) 20px;align-items:center;gap:8px;border-radius:999px;padding:7px 8px 7px 10px;color:inherit;cursor:pointer;text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease;min-height:42px}
.ds-status-pill:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18);background:rgba(8,22,38,.94)}
.ds-status-pill-text{display:grid;min-width:0;line-height:1.1}.ds-status-pill strong{display:block;max-width:232px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:850;letter-spacing:.005em;color:#fff}.ds-status-pill small{display:flex;align-items:center;gap:5px;max-width:232px;overflow:hidden;white-space:nowrap;font-size:9.5px;font-weight:750;color:rgba(235,244,250,.64);margin-top:4px}
.ds-status-chevron{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.07);color:rgba(238,247,255,.84);font-size:15px;line-height:1;transition:transform .18s ease}.ds-status-widget.is-open .ds-status-chevron{transform:rotate(180deg)}
.ds-status-dot{width:10px;height:10px;border-radius:999px;background:#20a875;box-shadow:0 0 0 0 rgba(32,168,117,.45);animation:ds-status-pulse-green 2.1s ease-out infinite;display:inline-block;flex:0 0 auto}.ds-overall-dot{align-self:center}.ds-row-dot{width:9px;height:9px;margin-top:4px;animation-duration:2.35s}.ds-status-dot.status-warning{background:#ffb020;animation-name:ds-status-pulse-orange}.ds-status-dot.status-offline,.ds-status-dot.status-error{background:#e25353;animation-name:ds-status-pulse-red}
.ds-mini{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.075);border-radius:999px;padding:2px 5px;background:rgba(255,255,255,.035)}.ds-mini-dot{width:6px;height:6px;border-radius:999px;background:#20a875;box-shadow:0 0 0 3px rgba(32,168,117,.11)}.ds-mini.status-warning .ds-mini-dot{background:#ffb020;box-shadow:0 0 0 3px rgba(255,176,32,.12)}.ds-mini.status-offline .ds-mini-dot,.ds-mini.status-error .ds-mini-dot{background:#e25353;box-shadow:0 0 0 3px rgba(226,83,83,.12)}
@keyframes ds-status-pulse-green{0%{box-shadow:0 0 0 0 rgba(32,168,117,.45)}72%{box-shadow:0 0 0 8px rgba(32,168,117,0)}100%{box-shadow:0 0 0 0 rgba(32,168,117,0)}}@keyframes ds-status-pulse-orange{0%{box-shadow:0 0 0 0 rgba(255,176,32,.48)}72%{box-shadow:0 0 0 8px rgba(255,176,32,0)}100%{box-shadow:0 0 0 0 rgba(255,176,32,0)}}@keyframes ds-status-pulse-red{0%{box-shadow:0 0 0 0 rgba(226,83,83,.50)}72%{box-shadow:0 0 0 8px rgba(226,83,83,0)}100%{box-shadow:0 0 0 0 rgba(226,83,83,0)}}
.ds-status-details{margin-top:8px;border-radius:18px;padding:11px;display:grid;gap:11px;max-height:min(72vh,620px);overflow:auto}.ds-status-details[hidden]{display:none!important}.ds-status-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:9px}.ds-status-details-head strong{display:block;font-size:12.5px;font-weight:850;color:#fff}.ds-status-details-head span{display:block;font-size:10px;font-weight:700;color:rgba(235,244,250,.56);margin-top:2px}.ds-admin-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(0,160,223,.22);background:rgba(0,160,223,.12);color:#c8efff;text-decoration:none;font-size:10px;font-weight:850;padding:6px 8px;white-space:nowrap}.ds-status-section{display:grid;gap:6px}.ds-status-section h3{margin:0 0 1px;font-size:9.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#83dfff}.ds-status-row{display:grid;grid-template-columns:10px minmax(0,1fr);gap:8px;align-items:start;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.04);border-radius:12px;padding:8px}.ds-status-row strong{display:block;color:#fff;font-size:11.5px;font-weight:850;line-height:1.22}.ds-status-row p{margin:2px 0 0;color:rgba(235,244,250,.67);font-size:10.5px;line-height:1.34}.ds-status-row small{display:block;white-space:pre-line;margin-top:5px;color:rgba(235,244,250,.50);font-size:9.8px;line-height:1.3}.ds-status-row.status-warning{border-color:rgba(255,176,32,.18);background:rgba(255,176,32,.055)}.ds-status-row.status-offline,.ds-status-row.status-error{border-color:rgba(226,83,83,.20);background:rgba(226,83,83,.065)}
.ds-status-widget.status-online .ds-status-pill{border-color:rgba(32,168,117,.22)}.ds-status-widget.status-warning .ds-status-pill{border-color:rgba(255,176,32,.28)}.ds-status-widget.status-offline .ds-status-pill{border-color:rgba(226,83,83,.31)}
html.light .ds-status-widget,html:not(.dark) body.passwordsecure-page .ds-status-widget{color:#102033}html.light .ds-status-pill,html.light .ds-status-details,html:not(.dark) body.passwordsecure-page .ds-status-pill,html:not(.dark) body.passwordsecure-page .ds-status-details{background:rgba(255,255,255,.92);border-color:rgba(15,35,55,.12);box-shadow:0 14px 36px rgba(10,32,55,.14)}html.light .ds-status-pill strong,html.light .ds-status-details-head strong,html.light .ds-status-row strong,html:not(.dark) body.passwordsecure-page .ds-status-pill strong,html:not(.dark) body.passwordsecure-page .ds-status-details-head strong,html:not(.dark) body.passwordsecure-page .ds-status-row strong{color:#102033}html.light .ds-status-pill small,html.light .ds-status-details-head span,html.light .ds-status-row p,html.light .ds-status-row small,html:not(.dark) body.passwordsecure-page .ds-status-pill small,html:not(.dark) body.passwordsecure-page .ds-status-details-head span,html:not(.dark) body.passwordsecure-page .ds-status-row p,html:not(.dark) body.passwordsecure-page .ds-status-row small{color:#66758a}html.light .ds-status-row,html:not(.dark) body.passwordsecure-page .ds-status-row{background:rgba(248,251,255,.9);border-color:rgba(15,35,55,.10)}html.light .ds-status-section h3,html:not(.dark) body.passwordsecure-page .ds-status-section h3{color:#0b67c2}html.light .ds-mini,html:not(.dark) body.passwordsecure-page .ds-mini{border-color:rgba(15,35,55,.08);background:rgba(12,34,56,.035)}
@media(max-width:620px){.ds-status-widget{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:min(318px,calc(100vw - 24px))}.ds-status-pill{padding:7px 8px}.ds-status-pill strong{font-size:11px;max-width:220px}.ds-status-pill small{font-size:9.2px;gap:4px}.ds-mini{padding:2px 4px}.ds-status-details{border-radius:17px;padding:10px;max-height:calc(100vh - 84px)}}
@media(prefers-reduced-motion:reduce){.ds-status-dot{animation:none}.ds-status-pill,.ds-status-chevron{transition:none}}

/* v3 refinement: compact summary, no public admin link, polished toggle icon */
.ds-status-pill{grid-template-columns:10px minmax(0,1fr) 22px;min-height:40px;padding:7px 7px 7px 10px;gap:8px}
.ds-status-pill strong{max-width:210px;font-size:11.3px}.ds-status-pill small{max-width:210px;gap:5px;margin-top:3px}.ds-mini{padding:2px 5px;font-size:9.3px}
.ds-status-chevron{width:22px;height:22px;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.085);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.ds-status-chevron svg{width:15px;height:15px;display:block}.ds-status-chevron path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ds-status-widget.is-open .ds-status-chevron{transform:rotate(180deg);background:rgba(0,160,223,.12);border-color:rgba(0,160,223,.20);color:#c9f1ff}
.ds-status-details-head{justify-content:flex-start}.ds-status-details-head .ds-admin-link,.ds-admin-link{display:none!important}
.ds-status-details{width:100%;border-radius:17px;padding:10px;gap:10px}.ds-status-row{border-radius:11px;padding:7px 8px}.ds-status-section{gap:6px}
@media(max-width:620px){.ds-status-pill strong{max-width:190px}.ds-status-pill small{max-width:190px}.ds-status-chevron{width:21px;height:21px}.ds-status-details{padding:10px}}
