:root{color-scheme:light}
html.dark{color-scheme:dark}
body.mw-modal-open{overflow:hidden}
.mw-bg{
  background-color:#f5f8fc;
  background-image:radial-gradient(circle at 10% -10%,rgba(59,130,246,.10),transparent 32rem),radial-gradient(circle at 100% 0%,rgba(14,165,233,.08),transparent 30rem),linear-gradient(180deg,rgba(255,255,255,.36),rgba(255,255,255,0));
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-attachment:fixed,fixed,fixed;
}
.dark .mw-bg{
  background-color:#11243b;
  background-image:radial-gradient(circle at 12% -10%,rgba(59,130,246,.24),transparent 36rem),radial-gradient(circle at 100% 0%,rgba(56,189,248,.15),transparent 34rem),linear-gradient(180deg,rgba(17,36,59,.96),rgba(16,34,58,.98));
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-attachment:fixed,fixed,fixed;
}
.mw-card{border:1px solid rgb(226 232 240 / .95);background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(15,23,42,.055)}
.dark .mw-card{border-color:#35506b;background:rgba(19,39,63,.90);box-shadow:0 16px 44px rgba(2,10,23,.18)}
.mw-input{width:100%;border-radius:.95rem;border:1px solid rgb(203 213 225 / .95);background:rgba(255,255,255,.65);padding:.78rem .95rem;outline:none}
.dark .mw-input{border-color:#44627f;background:rgba(11,23,42,.22)}
.mw-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}
.mw-table th{white-space:nowrap}.mw-table td{vertical-align:middle}
.mw-modal{display:none;position:fixed;inset:0;align-items:flex-start;justify-content:center;overflow-y:auto;padding:1rem;background:rgba(2,8,23,.56);backdrop-filter:blur(10px)}
.mw-modal.mw-open{display:flex}
.mw-modal>div{margin:auto 0;max-height:calc(100vh - 2rem);overflow:auto;border:1px solid rgba(148,163,184,.14);box-shadow:0 24px 70px rgba(2,8,23,.35)}
.mw-bars>span,.status-bars>span{min-width:3px;flex:1;border-radius:3px}
.mw-scroll::-webkit-scrollbar{height:7px;width:7px}.mw-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.dark .mw-scroll::-webkit-scrollbar-thumb{background:#54708b}
.dark .dark\:bg-slate-950{background-color:#10223a!important}
.dark .dark\:bg-slate-950\/95{background-color:rgba(16,34,58,.95)!important}
.dark .dark\:bg-slate-950\/60{background-color:rgba(16,34,58,.60)!important}
.dark .dark\:bg-slate-950\/50{background-color:rgba(16,34,58,.50)!important}
.dark .dark\:bg-slate-950\/40{background-color:rgba(16,34,58,.40)!important}
.dark .dark\:bg-slate-950\/30{background-color:rgba(16,34,58,.30)!important}
.dark .dark\:bg-slate-900{background-color:#17304e!important}
.dark .dark\:bg-slate-900\/95{background-color:rgba(23,48,78,.95)!important}
.dark .dark\:bg-slate-900\/80{background-color:rgba(23,48,78,.80)!important}
.dark .dark\:bg-slate-900\/60{background-color:rgba(23,48,78,.60)!important}
.dark .dark\:bg-slate-900\/40{background-color:rgba(23,48,78,.40)!important}
.dark .dark\:bg-slate-800{background-color:#234363!important}
.dark .dark\:border-slate-800{border-color:#35506b!important}
.dark .dark\:border-slate-700{border-color:#44627f!important}
.dark .dark\:divide-slate-800>:not([hidden])~:not([hidden]){border-color:#35506b!important}
.dark .dark\:hover\:bg-slate-900:hover{background-color:#1b3b5d!important}
.dark .dark\:hover\:bg-slate-950\/50:hover{background-color:rgba(26,53,84,.72)!important}

/* Stable application shell: structural layout does not depend on generated Tailwind responsive utilities. */
.mw-shell{min-height:100vh}
.mw-sidebar{width:100%;position:relative;z-index:30}
.mw-sidebar-nav{display:flex;gap:.5rem;overflow-x:auto;padding:0 .75rem .75rem}
.mw-account-footer{display:none}
.mw-content{width:100%;min-width:0}
.mw-desktop-header{display:none}
@media (min-width:1024px){
  .mw-shell{display:block}
  .mw-sidebar{position:fixed;inset:0 auto 0 0;width:16rem;border-bottom:0;border-right-width:1px}
  .mw-sidebar-nav{display:block;height:calc(100vh - 13.75rem);overflow-y:auto;overflow-x:hidden;padding:0 .75rem 1.25rem}
  .mw-sidebar-nav>a{margin-bottom:.25rem}
  .mw-account-footer{display:block;position:absolute;left:0;right:0;bottom:0}
  .mw-content{padding-left:16rem}
  .mw-desktop-header{display:flex}
}
@media (max-width:1023.98px){
  .mw-sidebar-nav>a{flex:0 0 auto;white-space:nowrap}
}

/* Public status page: compact, Kuma-inspired list layout. */
.mw-status-page{min-height:100vh;background:#f5f7fa;color:#172033}
.dark .mw-status-page{background:#0d1d31;color:#eef5ff}
.mw-status-wrap{width:100%;max-width:1120px;margin:0 auto;padding:2rem 1rem 3rem}
.mw-status-group{overflow:hidden;border:1px solid #dce3eb;border-radius:14px;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.045)}
.dark .mw-status-group{border-color:#304a66;background:#142a44;box-shadow:0 8px 24px rgba(2,10,23,.12)}
.mw-status-group-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:44px;padding:.65rem 1rem;background:#edf1f5;border-bottom:1px solid #dce3eb}
.dark .mw-status-group-head{background:#1a3553;border-color:#304a66}
.mw-status-group-title{display:flex;align-items:center;gap:.55rem;min-width:0;font-size:.9rem;font-weight:800}
.mw-status-group-dot{width:.55rem;height:.55rem;border-radius:999px;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.10)}
.mw-status-group-count{flex:none;border-radius:999px;background:rgba(255,255,255,.75);padding:.25rem .55rem;font-size:.68rem;font-weight:800;color:#64748b}
.dark .mw-status-group-count{background:rgba(11,23,42,.42);color:#a8bdd1}
.mw-status-row{display:grid;grid-template-columns:82px minmax(155px,235px) minmax(260px,1fr) 92px;align-items:center;gap:.85rem;min-height:58px;padding:.58rem 1rem;border-top:1px solid #e7ecf1}
.mw-status-row:first-child{border-top:0}
.dark .mw-status-row{border-color:#29445f}
.mw-status-uptime{display:inline-flex;width:max-content;min-width:64px;justify-content:center;border-radius:7px;background:#bbf7d0;padding:.27rem .48rem;font-size:.72rem;font-weight:900;color:#047857;font-variant-numeric:tabular-nums}
.dark .mw-status-uptime{background:rgba(16,185,129,.17);color:#6ee7b7}
.mw-status-name{min-width:0}
.mw-status-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;line-height:1.15}
.mw-status-name small{display:block;margin-top:.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;color:#8a9bb0}
.mw-status-history{min-width:0}
.mw-status-history-labels{display:flex;justify-content:space-between;margin-bottom:.22rem;font-size:.6rem;color:#94a3b8}
.mw-status-history-bars{display:flex;height:16px;gap:2px;min-width:0}
.mw-status-history-bars>span{flex:1;min-width:2px;border-radius:2px}
.mw-status-badge{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:64px;border-radius:999px;padding:.32rem .62rem;font-size:.7rem;font-weight:900}
.mw-status-empty{padding:1.2rem;text-align:center;font-size:.78rem;color:#94a3b8}
.mw-status-groups{display:grid;gap:1rem;margin-top:1.5rem}
.mw-status-incidents{margin-top:1.5rem}
@media (max-width:760px){
  .mw-status-wrap{padding:1.25rem .75rem 2rem}
  .mw-status-row{grid-template-columns:72px minmax(0,1fr) 72px;gap:.6rem;min-height:72px;padding:.65rem .75rem}
  .mw-status-history{grid-column:1 / -1}
  .mw-status-history-labels{margin-top:-.1rem}
  .mw-status-history-bars{height:12px}
  .mw-status-group-head{padding:.6rem .75rem}
  .mw-status-name strong{font-size:.84rem}
  .mw-status-badge{min-width:58px;padding:.3rem .5rem}
}

/* Status-page editor: drag & drop monitor order. */
.mw-sort-row{transition:background-color .12s ease,opacity .12s ease,transform .12s ease}
.mw-sort-row[draggable="true"]{cursor:grab}
.mw-sort-row[draggable="true"]:active{cursor:grabbing}
.mw-sort-row.mw-dragging{opacity:.45;background:rgba(59,130,246,.08)}
.mw-drag-handle{display:inline-grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#94a3b8}
.mw-drag-handle:hover{background:rgba(148,163,184,.12);color:#64748b}
.mw-status-group-dot.is-down{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.10)}
.mw-status-group-dot.is-degraded{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.10)}
.mw-status-group-dot.is-unknown{background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.10)}

/* Public incidents: clearer typography and more breathing room around update timelines. */
.mw-public-incident{padding:1.25rem 1.35rem}
.mw-public-incident-title{margin-top:.65rem;font-size:1.05rem;line-height:1.35;font-weight:900;letter-spacing:-.01em}
.mw-public-incident-updates{display:grid;gap:1rem;margin-top:1.2rem}
.mw-public-incident-update{display:grid;grid-template-columns:132px minmax(0,1fr);gap:1rem;padding-left:1.15rem}
.mw-public-incident-meta{font-size:.72rem;line-height:1.45}
.mw-public-incident-meta>div+div{margin-top:.18rem;font-size:.68rem}
.mw-public-incident-message{font-size:.95rem;line-height:1.65}
@media (max-width:640px){
  .mw-public-incident{padding:1.05rem 1rem}
  .mw-public-incident-title{font-size:1rem}
  .mw-public-incident-update{grid-template-columns:1fr;gap:.45rem;padding-left:1rem}
  .mw-public-incident-message{font-size:.92rem;line-height:1.6}
}
.mw-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}
.mw-status-logo{display:block;max-width:240px;max-height:64px;object-fit:contain;margin:0 0 .6rem}
.mw-status-subscribe{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.8rem 1rem;border:1px solid #dce3eb;border-radius:14px;background:rgba(255,255,255,.86);box-shadow:0 3px 10px rgba(15,23,42,.035)}
.dark .mw-status-subscribe{border-color:#304a66;background:#142a44}
.mw-status-subscribe-title{font-size:.82rem;font-weight:900}.mw-status-subscribe-title i{margin-right:.45rem;color:var(--accent)}
.mw-status-subscribe-text{margin-top:.2rem;font-size:.7rem;color:#8292a7}
.mw-status-subscribe-form{display:flex;gap:.45rem;min-width:360px}.mw-status-subscribe-input{min-width:0;flex:1;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:.6rem .75rem;font-size:.78rem;outline:none}.dark .mw-status-subscribe-input{border-color:#46627e;background:#0f2138;color:#eef5ff}.mw-status-subscribe-button{border:0;border-radius:10px;padding:.6rem .85rem;color:#fff;font-size:.75rem;font-weight:900;cursor:pointer}.mw-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.mw-incident-services{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-top:.8rem;font-size:.7rem;color:#8292a7}.mw-incident-service-badge{display:inline-flex;border-radius:999px;background:rgba(148,163,184,.14);padding:.25rem .5rem;font-weight:800;color:#64748b}.dark .mw-incident-service-badge{background:rgba(148,163,184,.12);color:#a8bdd1}
@media(max-width:700px){.mw-status-subscribe{align-items:stretch;flex-direction:column}.mw-status-subscribe-form{min-width:0;width:100%}.mw-status-subscribe-input{width:100%}.mw-status-logo{max-width:200px;max-height:54px}}
.mw-settings-grid{display:grid;gap:1.5rem}.mw-mail-template-textarea{min-height:16rem}.mw-wide-table{min-width:980px}.mw-service-list{display:grid;gap:.5rem;max-height:11rem;overflow-y:auto}@media(min-width:640px){.mw-service-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1280px){.mw-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.3.1 public status subscription modal */
.mw-status-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}
.mw-status-subscribe-trigger{display:inline-flex;align-items:center;gap:.5rem;border:0;border-radius:11px;padding:.58rem .85rem;color:#fff;font-size:.76rem;font-weight:900;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.08)}
.mw-status-subscribe-trigger:hover{filter:brightness(1.04)}
.mw-public-modal{display:none;position:fixed;inset:0;z-index:100;align-items:center;justify-content:center;padding:1rem;background:rgba(2,8,23,.58);backdrop-filter:blur(8px)}
.mw-public-modal.is-open{display:flex}
.mw-public-modal-card{width:100%;max-width:470px;max-height:calc(100vh - 2rem);overflow:auto;border:1px solid #dce3eb;border-radius:18px;background:#fff;padding:1.35rem;box-shadow:0 28px 80px rgba(2,8,23,.28)}
.dark .mw-public-modal-card{border-color:#36536f;background:#142a44}
.mw-public-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.mw-public-modal-icon{display:grid;width:42px;height:42px;place-items:center;flex:none;border-radius:13px;background:rgba(37,99,235,.10);color:var(--accent)}
.mw-public-modal-title{margin:0;font-size:1.08rem;line-height:1.3;font-weight:900}
.mw-public-modal-text{margin:.35rem 0 0;color:#74859a;font-size:.78rem;line-height:1.55}
.mw-public-modal-close{display:grid;width:36px;height:36px;place-items:center;flex:none;border:0;border-radius:10px;background:transparent;color:#64748b;cursor:pointer}
.mw-public-modal-close:hover{background:rgba(148,163,184,.13)}
.mw-status-subscribe-modal-form{display:grid;gap:.75rem;margin-top:1.15rem}
.mw-status-subscribe-modal-form label{font-size:.75rem;font-weight:800}
.mw-status-subscribe-modal-input{width:100%;margin-top:.35rem;border:1px solid #cbd5e1;border-radius:11px;background:#fff;padding:.72rem .8rem;color:#172033;font-size:.83rem;outline:none}
.mw-status-subscribe-modal-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.dark .mw-status-subscribe-modal-input{border-color:#46627e;background:#0f2138;color:#eef5ff}
.mw-status-subscribe-modal-submit{border:0;border-radius:11px;padding:.72rem 1rem;color:#fff;font-size:.8rem;font-weight:900;cursor:pointer}
.mw-status-subscribe-privacy{font-size:.69rem;line-height:1.55;color:#8a9bb0}
@media(max-width:700px){
  .mw-status-head-actions{width:100%;justify-content:flex-start}
  .mw-status-subscribe-trigger{order:-1}
  .mw-public-modal{align-items:flex-end;padding:.65rem}
  .mw-public-modal-card{max-width:none;border-radius:18px 18px 14px 14px;padding:1.15rem}
}
.mw-public-incident-facts{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.85rem;font-size:.76rem;line-height:1.5;color:#64748b}
.mw-public-incident-facts>div{display:flex;align-items:center;gap:.38rem}.mw-public-incident-facts i{color:var(--accent)}
.dark .mw-public-incident-facts{color:#9fb0c3}
.mw-subscribe-channel-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;padding:.28rem;border-radius:12px;background:#eef2f7}
.dark .mw-subscribe-channel-tabs{background:#0f2138}
.mw-subscribe-channel-tabs button{display:flex;align-items:center;justify-content:center;gap:.45rem;border:0;border-radius:9px;background:transparent;padding:.62rem .7rem;color:#64748b;font-size:.75rem;font-weight:900;cursor:pointer}
.mw-subscribe-channel-tabs button.is-active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.dark .mw-subscribe-channel-tabs button.is-active{background:#234363;color:#fff}
.mw-affected-area-grid{display:grid;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}
.mw-affected-area-grid label{display:flex;align-items:center;gap:.55rem;border:1px solid #dce3eb;border-radius:12px;padding:.65rem .75rem;font-size:.78rem;font-weight:700}
.dark .mw-affected-area-grid label{border-color:#36536f}
.mw-delivery-status{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;padding:.28rem .58rem;font-size:.7rem;font-weight:900}
.mw-delivery-status.is-sent{background:#d1fae5;color:#047857}.mw-delivery-status.is-failed{background:#fee2e2;color:#b91c1c}.mw-delivery-status.is-pending{background:#fef3c7;color:#92400e}.mw-delivery-status.is-cancelled{background:#e2e8f0;color:#475569}
.dark .mw-delivery-status.is-sent{background:rgba(16,185,129,.18);color:#6ee7b7}.dark .mw-delivery-status.is-failed{background:rgba(244,63,94,.16);color:#fda4af}.dark .mw-delivery-status.is-pending{background:rgba(245,158,11,.16);color:#fcd34d}.dark .mw-delivery-status.is-cancelled{background:#334155;color:#cbd5e1}
@media(max-width:600px){.mw-affected-area-grid{grid-template-columns:1fr}.mw-subscribe-channel-tabs{grid-template-columns:1fr}}
.mw-delivery-filter-grid{display:grid;gap:.75rem}
@media(min-width:640px){.mw-delivery-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* v1.3.2 status subscriber filters - independent from generated Tailwind grid utilities */
.mw-subscriber-filter-grid{display:grid;grid-template-columns:1fr;gap:.75rem}
@media (min-width:640px){.mw-subscriber-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* v1.3.3 public status soft refresh */
@keyframes mwStatusSoftRefresh{from{opacity:.72}to{opacity:1}}
#mwStatusLive.mw-status-soft-updated{animation:mwStatusSoftRefresh .24s ease-out}

/* v1.3.5 reusable client-side table pagination */
.mw-pagination{display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap;padding:.8rem 1rem;border-top:1px solid rgba(148,163,184,.18);background:rgba(248,250,252,.72);font-size:.75rem;color:#64748b}
.dark .mw-pagination{border-color:#35506b;background:rgba(16,34,58,.45);color:#9fb0c3}
.mw-pagination-left,.mw-pagination-right{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.mw-pagination select{border:1px solid #cbd5e1;border-radius:.65rem;background:#fff;padding:.38rem .55rem;color:#334155;font-size:.75rem;font-weight:700;outline:none}
.dark .mw-pagination select{border-color:#44627f;background:#10223a;color:#e2e8f0}
.mw-pagination button{display:grid;min-width:2rem;height:2rem;place-items:center;border:1px solid #cbd5e1;border-radius:.65rem;background:#fff;padding:0 .55rem;color:#334155;font-size:.72rem;font-weight:800;cursor:pointer}
.dark .mw-pagination button{border-color:#44627f;background:#17304e;color:#e2e8f0}
.mw-pagination button:hover:not(:disabled){border-color:#60a5fa;color:#2563eb}.mw-pagination button:disabled{cursor:not-allowed;opacity:.4}.mw-pagination button.is-active{border-color:#2563eb;background:#2563eb;color:#fff}
@media(max-width:640px){.mw-pagination{align-items:flex-start;flex-direction:column}.mw-pagination-right{width:100%;justify-content:flex-start}}
.mw-monitor-table{width:100%;min-width:0;table-layout:fixed}
.mw-monitor-table th,.mw-monitor-table td{overflow:hidden}
.mw-monitor-table th:nth-child(1),.mw-monitor-table td:nth-child(1){width:19%}
.mw-monitor-table th:nth-child(2),.mw-monitor-table td:nth-child(2){width:13%}
.mw-monitor-table th:nth-child(3),.mw-monitor-table td:nth-child(3){width:11%}
.mw-monitor-table th:nth-child(4),.mw-monitor-table td:nth-child(4){width:7%}
.mw-monitor-table th:nth-child(5),.mw-monitor-table td:nth-child(5){width:22%}
.mw-monitor-table th:nth-child(6),.mw-monitor-table td:nth-child(6){width:8%;white-space:nowrap}
.mw-monitor-table th:nth-child(7),.mw-monitor-table td:nth-child(7){width:8%;white-space:nowrap}
.mw-monitor-table th:nth-child(8),.mw-monitor-table td:nth-child(8){width:10%}
.mw-monitor-table th:nth-child(9),.mw-monitor-table td:nth-child(9){width:10%}
.mw-monitor-table td:nth-child(2),.mw-monitor-table td:nth-child(3){text-overflow:ellipsis;white-space:nowrap}
.mw-monitor-table td:nth-child(5) .mw-bars{width:100%;min-width:0;max-width:none}
.mw-monitor-table td:nth-child(6) .font-black{display:inline-block;min-width:0}
@media (max-width:1279px){
  .mw-monitor-table th,.mw-monitor-table td{padding-left:.8rem;padding-right:.8rem}
  .mw-monitor-table th:nth-child(1),.mw-monitor-table td:nth-child(1){width:20%}
  .mw-monitor-table th:nth-child(2),.mw-monitor-table td:nth-child(2){width:12%}
  .mw-monitor-table th:nth-child(3),.mw-monitor-table td:nth-child(3){width:10%}
  .mw-monitor-table th:nth-child(4),.mw-monitor-table td:nth-child(4){width:7%}
  .mw-monitor-table th:nth-child(5),.mw-monitor-table td:nth-child(5){width:21%}
  .mw-monitor-table th:nth-child(6),.mw-monitor-table td:nth-child(6){width:8%}
  .mw-monitor-table th:nth-child(7),.mw-monitor-table td:nth-child(7){width:8%}
  .mw-monitor-table th:nth-child(8),.mw-monitor-table td:nth-child(8){width:9%}
  .mw-monitor-table th:nth-child(9),.mw-monitor-table td:nth-child(9){width:13%}
}

/* v1.3.9 PingCore branding + readability */
.mw-brand-link{display:flex;align-items:center;min-width:0}
.mw-brand-logo{display:block;width:176px;max-width:100%;height:auto}
.mw-brand-logo-dark{display:none}
.dark .mw-brand-logo-light{display:none}
.dark .mw-brand-logo-dark{display:block}
.dark .text-slate-600{color:#c4d1df!important}
.dark .text-slate-500{color:#b2c3d4!important}
.dark .text-slate-400{color:#98aec3!important}
.dark .text-slate-300{color:#d7e2ed!important}
.dark .mw-sidebar a:not(.bg-blue-600){color:#c8d7e6}
.dark .mw-sidebar a:not(.bg-blue-600) i{color:#9eb5ca}

/* Login / password reset */
.mw-auth-page{min-height:100vh;background:#f2f6fb;color:#172033;background-image:radial-gradient(circle at 12% 5%,rgba(14,165,233,.12),transparent 29rem),radial-gradient(circle at 90% 10%,rgba(37,99,235,.10),transparent 30rem)}
.dark .mw-auth-page{background:#10233a;color:#eef5ff;background-image:radial-gradient(circle at 10% 0%,rgba(6,182,212,.17),transparent 31rem),radial-gradient(circle at 92% 4%,rgba(37,99,235,.18),transparent 31rem)}
.mw-auth-theme{position:fixed;right:1.15rem;top:1.15rem;z-index:10;display:grid;width:42px;height:42px;place-items:center;border:1px solid #d7e1eb;border-radius:14px;background:rgba(255,255,255,.82);color:#52657a;box-shadow:0 6px 18px rgba(15,23,42,.06);cursor:pointer;backdrop-filter:blur(10px)}
.dark .mw-auth-theme{border-color:#3a5772;background:rgba(18,42,68,.86);color:#dbe8f5}
.mw-auth-wrap{display:grid;min-height:100vh;place-items:center;padding:4.5rem 1rem 2rem}
.mw-auth-card{display:grid;width:100%;max-width:920px;overflow:hidden;border:1px solid #dbe5ef;border-radius:28px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.12)}
.dark .mw-auth-card{border-color:#36536f;background:#142a44;box-shadow:0 30px 90px rgba(2,10,23,.28)}
.mw-auth-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:500px;padding:2.2rem;background:linear-gradient(145deg,#eaf7ff 0%,#edf4ff 55%,#f8fbff 100%);overflow:hidden}
.mw-auth-brand:before{content:"";position:absolute;width:280px;height:280px;border-radius:999px;right:-110px;top:-100px;background:rgba(6,182,212,.12)}
.mw-auth-brand:after{content:"";position:absolute;width:240px;height:240px;border-radius:999px;left:-120px;bottom:-100px;background:rgba(37,99,235,.09)}
.dark .mw-auth-brand{background:linear-gradient(145deg,#122b48 0%,#123657 58%,#10233a 100%)}
.dark .mw-auth-brand:before{background:rgba(34,211,238,.11)}
.dark .mw-auth-brand:after{background:rgba(37,99,235,.15)}
.mw-auth-brand>*{position:relative;z-index:1}
.mw-auth-brand .mw-brand-logo{width:250px}
.mw-auth-brand-copy{max-width:340px}
.mw-auth-brand-copy h2{margin:0;font-size:1.65rem;line-height:1.18;font-weight:900;letter-spacing:-.025em;color:#0f2440}
.dark .mw-auth-brand-copy h2{color:#f2f7fc}
.mw-auth-brand-copy p{margin:.8rem 0 0;font-size:.87rem;line-height:1.7;color:#647b92}
.dark .mw-auth-brand-copy p{color:#b9cbdb}
.mw-auth-features{display:grid;gap:.6rem;margin-top:1.3rem;padding:0;list-style:none;font-size:.78rem;font-weight:700;color:#496379}
.dark .mw-auth-features{color:#c6d6e5}
.mw-auth-features li{display:flex;align-items:center;gap:.55rem}.mw-auth-features i{color:#0ea5e9}
.mw-auth-form-panel{display:flex;align-items:center;padding:2.5rem}
.mw-auth-form-inner{width:100%;max-width:370px;margin:0 auto}
.mw-auth-kicker{font-size:.7rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#2563eb}
.dark .mw-auth-kicker{color:#67c7ff}
.mw-auth-title{margin:.45rem 0 0;font-size:1.75rem;line-height:1.2;font-weight:900;letter-spacing:-.025em;color:#172033}
.dark .mw-auth-title{color:#f4f8fc}
.mw-auth-subtitle{margin:.55rem 0 0;font-size:.82rem;line-height:1.55;color:#71849a}
.dark .mw-auth-subtitle{color:#b7c8d9}
.mw-auth-alert{margin-top:1.15rem;border-radius:13px;padding:.75rem .9rem;font-size:.78rem;font-weight:700}
.mw-auth-alert.error{background:#fff1f2;color:#be123c}.dark .mw-auth-alert.error{background:rgba(190,18,60,.16);color:#fda4af}
.mw-auth-alert.success{background:#ecfdf5;color:#047857}.dark .mw-auth-alert.success{background:rgba(5,150,105,.16);color:#6ee7b7}
.mw-auth-form{display:grid;gap:1rem;margin-top:1.4rem}
.mw-auth-label{display:block;font-size:.78rem;font-weight:800;color:#354a60}.dark .mw-auth-label{color:#d4e1ec}
.mw-auth-input{width:100%;margin-top:.4rem;border:1px solid #cbd8e5;border-radius:13px;background:#fbfdff;padding:.78rem .85rem;color:#172033;font-size:.88rem;outline:none;transition:border-color .12s ease,box-shadow .12s ease}
.mw-auth-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.11)}
.dark .mw-auth-input{border-color:#46627e;background:#10233a;color:#eef5ff}
.mw-auth-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.mw-auth-link{font-size:.75rem;font-weight:800;color:#2563eb;text-decoration:none}.mw-auth-link:hover{text-decoration:underline}.dark .mw-auth-link{color:#67c7ff}
.mw-auth-submit{width:100%;border:0;border-radius:13px;background:linear-gradient(90deg,#2563eb,#0ea5e9);padding:.8rem 1rem;color:#fff;font-size:.86rem;font-weight:900;cursor:pointer;box-shadow:0 8px 22px rgba(37,99,235,.20)}
.mw-auth-submit:hover{filter:brightness(1.04)}
.mw-auth-back{display:inline-flex;align-items:center;gap:.45rem;margin-top:1rem;font-size:.76rem;font-weight:800;color:#64748b;text-decoration:none}.dark .mw-auth-back{color:#b8cada}
@media(min-width:800px){.mw-auth-card{grid-template-columns:.9fr 1.1fr}}
@media(max-width:799px){.mw-auth-card{max-width:480px}.mw-auth-brand{min-height:auto;padding:1.5rem 1.7rem}.mw-auth-brand-copy{display:none}.mw-auth-brand .mw-brand-logo{width:220px}.mw-auth-form-panel{padding:1.7rem}.mw-auth-theme{right:.75rem;top:.75rem}}

/* v1.4.0 admin mail-template editor */
.mw-template-layout{display:grid;gap:1.5rem}
.mw-template-nav{display:grid;gap:.35rem}
.mw-template-nav a{display:flex;align-items:flex-start;gap:.8rem;border-radius:14px;padding:.8rem .9rem;color:#475569;text-decoration:none;transition:.15s ease}
.mw-template-nav a:hover{background:#f1f5f9;color:#0f172a}.dark .mw-template-nav a{color:#cbd5e1}.dark .mw-template-nav a:hover{background:#1e3a56;color:#fff}
.mw-template-nav a.is-active{background:#2563eb;color:#fff;box-shadow:0 6px 18px rgba(37,99,235,.18)}
.mw-template-nav a>i{width:20px;margin-top:.2rem}.mw-template-nav a span{min-width:0}.mw-template-nav a strong{display:block;font-size:.8rem}.mw-template-nav a small{display:block;margin-top:.18rem;font-size:.66rem;line-height:1.35;opacity:.72}
.mw-editor-toolbar{display:flex;gap:.35rem}.mw-editor-toolbar button{display:grid;width:32px;height:32px;place-items:center;border:1px solid #dbe3ed;border-radius:9px;background:#fff;color:#475569;cursor:pointer}.dark .mw-editor-toolbar button{border-color:#44627f;background:#17304e;color:#e2e8f0}
.mw-mail-code-editor{min-height:360px;resize:vertical;line-height:1.55;tab-size:2}
.mw-placeholder-chip{border:1px solid #dbe3ed;border-radius:999px;background:#fff;padding:.35rem .58rem;color:#2563eb;font-weight:800;cursor:pointer}.mw-placeholder-chip:hover{border-color:#93c5fd;background:#eff6ff}.dark .mw-placeholder-chip{border-color:#44627f;background:#17304e;color:#93c5fd}.dark .mw-placeholder-chip:hover{background:#1d4168}
.mw-mail-preview{display:block;width:100%;height:620px;border:1px solid #dbe3ed;border-radius:18px;background:#fff}.dark .mw-mail-preview{border-color:#44627f}
@media(min-width:1100px){.mw-template-layout{grid-template-columns:300px minmax(0,1fr);align-items:start}.mw-template-layout>aside{position:sticky;top:1rem}}

.mw-system-settings-grid{display:grid;gap:1.5rem}@media(min-width:1280px){.mw-system-settings-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)}}

/* v1.4.1 latency chart */
.mw-latency-panel{border:1px solid rgb(226 232 240 / .95);border-radius:1.1rem;background:linear-gradient(180deg,rgba(248,250,252,.92),rgba(255,255,255,.86));padding:1rem}
.dark .mw-latency-panel{border-color:#35506b;background:linear-gradient(180deg,rgba(16,34,58,.72),rgba(17,36,59,.48))}
.mw-latency-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.mw-latency-kicker{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.11em;color:#2563eb}.dark .mw-latency-kicker{color:#93c5fd}
.mw-latency-series{margin-top:.22rem;font-size:.82rem;font-weight:800;color:#334155}.dark .mw-latency-series{color:#e2e8f0}
.mw-latency-filters{display:flex;align-items:flex-end;gap:.55rem;flex-wrap:wrap}.mw-latency-filters label{font-size:.68rem;font-weight:800;color:#64748b}.dark .mw-latency-filters label{color:#b6c6d8}
.mw-latency-filters select{display:block;min-width:155px;margin-top:.25rem;border:1px solid #cbd5e1;border-radius:.75rem;background:#fff;padding:.48rem 1.9rem .48rem .65rem;color:#334155;font-size:.75rem;font-weight:750;outline:none}.dark .mw-latency-filters select{border-color:#44627f;background:#10223a;color:#eef5ff}
.mw-latency-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin-top:.85rem}.mw-latency-stats>div{border:1px solid rgba(148,163,184,.16);border-radius:.85rem;background:rgba(255,255,255,.72);padding:.65rem .75rem}.dark .mw-latency-stats>div{background:rgba(11,23,42,.22)}.mw-latency-stats span{display:block;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.mw-latency-stats strong{display:block;margin-top:.18rem;font-size:.9rem;font-weight:900;font-variant-numeric:tabular-nums}
.mw-latency-plot{min-height:250px;margin-top:.75rem;border-radius:.9rem;background:rgba(255,255,255,.5);overflow:hidden}.dark .mw-latency-plot{background:rgba(8,20,35,.20)}
.mw-latency-svg{display:block;width:100%;height:auto;min-height:250px;color:#2563eb}.dark .mw-latency-svg{color:#60a5fa}.mw-latency-grid{stroke:rgba(148,163,184,.22);stroke-width:1}.mw-latency-axis{fill:#94a3b8;font-size:11px;font-weight:700}.mw-latency-line{fill:none;stroke:currentColor;stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round}.mw-latency-area{color:inherit}.mw-latency-hit{fill:transparent;stroke:transparent;cursor:crosshair}.mw-latency-hit:hover{fill:currentColor;stroke:#fff;stroke-width:2;r:4}
.mw-latency-loading,.mw-latency-empty{min-height:250px;display:flex;align-items:center;justify-content:center;gap:.55rem;color:#94a3b8;font-size:.78rem;font-weight:700}.mw-latency-empty.is-error{color:#e11d48}.dark .mw-latency-empty.is-error{color:#fda4af}
@media(max-width:700px){.mw-latency-head{align-items:stretch}.mw-latency-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.mw-latency-filters select{min-width:0;width:100%}.mw-latency-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mw-latency-plot,.mw-latency-loading,.mw-latency-empty,.mw-latency-svg{min-height:220px}}

/* v1.4.1 database administration */
.mw-db-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.mw-db-summary .mw-card{min-width:0}.mw-db-number{margin-top:.35rem;font-size:1.45rem;font-weight:900;letter-spacing:-.02em}.mw-db-sub{margin-top:.2rem;font-size:.7rem;color:#94a3b8}.mw-db-clean-grid{display:grid;gap:.6rem}.mw-db-clean-item{display:flex;align-items:flex-start;gap:.7rem;border:1px solid #e2e8f0;border-radius:.9rem;padding:.75rem .85rem}.dark .mw-db-clean-item{border-color:#35506b}.mw-db-clean-item input{margin-top:.2rem}.mw-db-clean-item strong{display:block;font-size:.8rem}.mw-db-clean-item span{display:block;margin-top:.15rem;font-size:.68rem;line-height:1.45;color:#94a3b8}.mw-db-warning{border:1px solid #fde68a;border-radius:1rem;background:#fffbeb;padding:.9rem 1rem;color:#92400e;font-size:.75rem;line-height:1.55}.dark .mw-db-warning{border-color:#854d0e;background:rgba(120,53,15,.18);color:#fde68a}

/* v1.5.0 admin settings */
.mw-settings-tabs{display:flex;gap:.45rem;overflow-x:auto;padding:.3rem;border:1px solid rgba(148,163,184,.22);border-radius:1rem;background:rgba(248,250,252,.7)}
.dark .mw-settings-tabs{background:rgba(16,34,58,.55);border-color:#35506b}
.mw-settings-tabs a{display:flex;align-items:center;gap:.5rem;white-space:nowrap;border-radius:.75rem;padding:.7rem .9rem;font-size:.8rem;font-weight:800;color:#64748b}
.dark .mw-settings-tabs a{color:#b7c5d6}.mw-settings-tabs a.is-active{background:#2563eb;color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.18)}
.mw-system-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.mw-system-kv{display:grid;gap:.65rem}.mw-system-kv>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid rgba(148,163,184,.16);padding-bottom:.65rem;font-size:.8rem}.mw-system-kv span{color:#64748b}.dark .mw-system-kv span{color:#b7c5d6}.mw-system-kv strong{text-align:right;word-break:break-word}

/* v1.5.0 admin settings */
.mw-alarm-settings-grid{display:grid;gap:1.5rem}
@media(min-width:1280px){.mw-alarm-settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)}}

.mw-monitor-filter-grid{display:grid;grid-template-columns:1fr;gap:.75rem}
.mw-ssl-settings-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.mw-system-detail-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.mw-monitor-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px){.mw-ssl-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.mw-monitor-filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:1280px){.mw-system-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.mw-monitor-filter-wide{grid-column:span 2 / span 2}}

/* v1.5.1 local Tailwind compatibility + consistent Light/Dark surfaces.
   PingCore ships a fixed local Tailwind bundle. Newer UI utilities that are not
   present in that bundle are defined here so alerts, buttons and panels never
   fall back to transparent/white surfaces in the wrong theme. */
.bg-amber-500{background-color:#f59e0b!important}
.bg-rose-600{background-color:#e11d48!important}
.bg-slate-200\/60{background-color:rgba(226,232,240,.60)!important}
.bg-slate-50\/80{background-color:rgba(248,250,252,.80)!important}
.text-amber-800{color:#92400e!important}
.text-amber-900{color:#78350f!important}
.text-blue-900{color:#1e3a8a!important}
.text-slate-700{color:#334155!important}
.hover\:bg-blue-100:hover{background-color:#dbeafe!important}
.cursor-not-allowed{cursor:not-allowed!important}
.shrink-0{flex-shrink:0!important}
.uppercase{text-transform:uppercase!important}
.leading-5{line-height:1.25rem!important}
.z-10{z-index:10!important}
.mt-9{margin-top:2.25rem!important}
.p-2\.5{padding:.625rem!important}
.p-7{padding:1.75rem!important}
.pb-2{padding-bottom:.5rem!important}
.py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}
.space-y-6>:not([hidden])~:not([hidden]){margin-top:1.5rem!important}
.max-h-\[55vh\]{max-height:55vh!important}

.dark .dark\:bg-amber-950\/25{background-color:rgba(69,26,3,.34)!important}
.dark .dark\:bg-blue-500\/10{background-color:rgba(59,130,246,.10)!important}
.dark .dark\:bg-blue-950\/25{background-color:rgba(23,37,84,.36)!important}
.dark .dark\:bg-slate-950\/50{background-color:rgba(16,34,58,.50)!important}
.dark .dark\:text-amber-200{color:#fde68a!important}
.dark .dark\:text-blue-200{color:#bfdbfe!important}
.dark .dark\:text-slate-200{color:#e2e8f0!important}
.dark .dark\:text-slate-400{color:#aebfd0!important}
.dark .dark\:text-slate-500{color:#a9bbcd!important}
.dark .dark\:text-slate-600{color:#c4d1df!important}
.dark .dark\:hover\:bg-rose-950\/20:hover{background-color:rgba(76,5,25,.26)!important}

/* Normalize the most common notification surfaces independently of Tailwind's
   generated dark variants. These selectors intentionally match existing markup. */
.dark [class~="bg-blue-50"][class*="dark:bg-blue-950"]{background-color:rgba(23,37,84,.36)!important;color:#bfdbfe!important}
.dark [class~="bg-amber-50"][class*="dark:bg-amber-950"]{background-color:rgba(69,26,3,.34)!important;color:#fde68a!important}
.dark [class~="bg-rose-50"][class*="dark:bg-rose-950"]{background-color:rgba(76,5,25,.30)!important;color:#fecdd3!important}
.dark [class~="bg-emerald-50"][class*="dark:bg-emerald-950"]{background-color:rgba(2,44,34,.34)!important;color:#a7f3d0!important}
.dark [class~="bg-cyan-50/50"][class*="dark:bg-cyan-950"],
.dark [class~="bg-cyan-50/60"][class*="dark:bg-cyan-950"]{background-color:rgba(8,51,68,.34)!important;color:#a5f3fc!important}

@media(min-width:768px){.md\:grid-cols-\[1fr_140px\]{grid-template-columns:minmax(0,1fr) 140px!important}}
@media(min-width:1280px){
  .xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .xl\:grid-cols-\[\.82fr_1\.18fr\]{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important}
}
@media(min-width:1536px){[class~="2xl:grid-cols-6"]{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
