.sp-status-page{width:100%;max-width:920px;margin:0 auto}
.sp-status-intro{padding:26px!important;background:linear-gradient(120deg,#f1f5fa,#f5f8fc)!important;border:1px solid #dee4eb;border-radius:18px}
.sp-status-intro>small{font-size:11px;font-weight:700;letter-spacing:1.6px;color:#425069}
.sp-status-intro h2{font-size:28px;line-height:1.25;margin:10px 0}
.sp-status-intro p{color:#646b76;margin:0 0 18px}
.sp-status-badge{display:inline-flex;padding:7px 12px;border-radius:30px;background:#e7ebef;color:#465360;font-size:13px;font-weight:600}
.sp-status-badge[data-status=online]{background:#dce6ef;color:#22385e}
.sp-status-panel{padding:24px!important;border-radius:18px}
.sp-status-form fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}
.sp-status-form legend{font-size:17px;font-weight:700;margin-bottom:16px}
.sp-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sp-status-choice{display:flex;align-items:center;gap:12px;padding:20px 16px;margin:0;border:1px solid #dce0e5;border-radius:12px;background:#fff;cursor:pointer;min-width:0}
.sp-status-choice:has(input:checked){border-color:#435b84;background:#eff3f8;box-shadow:0 0 0 1px #435b84}
.sp-status-choice:focus-within{outline:2px solid #435b84;outline-offset:3px}
.sp-status-choice input[type=radio]{display:block;flex:0 0 18px;width:18px;height:18px;min-width:18px;max-width:18px;padding:0;margin:0;accent-color:#284270}
.sp-status-choice span{display:block;flex:1;min-width:0;line-height:1.5;overflow-wrap:anywhere}
.sp-status-choice strong{display:block;font-size:15px;color:#202a3b}
.sp-status-choice small{display:block;margin-top:4px;font-size:12px;color:#646b76}
.sp-status-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e6e9ec;padding-top:20px}
.sp-status-footer p,.sp-status-note{font-size:13px;color:#646b76;line-height:1.7;margin:0}
.sp-status-footer button{width:auto;white-space:nowrap;margin:0}
.sp-status-note{padding:4px 8px 20px}
@media(max-width:600px){.sp-status-grid{grid-template-columns:1fr}.sp-status-intro,.sp-status-panel{padding:18px!important}.sp-status-footer{align-items:stretch;flex-direction:column}.sp-status-footer button{width:100%}.sp-status-intro h2{font-size:24px}}
.sp-current-client{color:#646c7a;font-size:13px}
.sp-client-window{position:fixed;inset:4vh 3vw;z-index:1090;display:flex;flex-direction:column;overflow:hidden;border:1px solid #cdd6df;border-radius:16px;background:#f5f6f8;box-shadow:0 22px 80px #121d2f45}
.sp-client-window[hidden]{display:none!important}
.sp-client-window>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;margin:0;padding:12px 18px;border-bottom:1px solid #dce2e8;background:white}
.sp-client-window>header h2{margin:1px 0 0;font-size:18px}
.sp-client-window>header small{font-size:10px;letter-spacing:1.2px;font-weight:700}
.sp-client-window>header button{padding:8px 13px}
.sp-client-window iframe{display:block;flex:1;width:100%;min-height:0;border:0;background:#f4f5f6}
body.support-embed .top-logout,body.support-embed .support-switch-client{display:none!important}
body.support-embed main:not(.public){animation:none}
@media(max-width:700px){.sp-client-window{inset:1vh 1vw;border-radius:11px}.sp-client-window>header{padding:10px}.sp-client-window>header h2{font-size:15px}.sp-client-window>header button{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){.sp-client-window{scroll-behavior:auto}}
.sp-client-window{height:92vh;max-height:none;max-width:none;margin:0}
.sp-client-window.is-maximized{inset:0;width:100%;height:100dvh;max-height:none;border-radius:0}
.sp-client-window>header>div:first-child{min-width:0}
.sp-client-window>header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-window-controls{display:flex;align-items:center;gap:8px;flex:none}
.sp-window-controls button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:36px;padding:0!important;margin:0;background:#eef2f5;color:#24395d;border:1px solid #d5dde5;border-radius:9px;font:24px/1 system-ui;cursor:pointer}
.sp-window-controls button:hover{background:#dbe4ee}
.sp-window-controls #support-client-close:hover{background:#fde8e7;color:#ae3029;border-color:#efc2bd}
.sp-window-controls button:focus-visible,.sp-client-restore:focus-visible{outline:3px solid #6788aa;outline-offset:3px}
.sp-client-restore{position:fixed;left:24px;bottom:24px;z-index:1090;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 190px);padding:13px 16px;margin:0;border:1px solid #c7d3df;border-radius:13px;background:#fff;color:#24395d;box-shadow:0 8px 28px #16243b26;cursor:pointer}
.sp-client-restore[hidden]{display:none!important}
#support-client-restore-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:700}
.sp-client-restore small{white-space:nowrap;font-size:11px}
@media(max-width:700px){.sp-client-window{height:98vh}.sp-client-window.is-maximized{height:100dvh}.sp-window-controls{gap:5px}.sp-window-controls button{width:32px;height:34px}.sp-client-restore{left:10px;bottom:16px;padding:10px;gap:7px;max-width:calc(100vw - 165px)}.sp-client-restore small{display:none}}

/* Highlight the minimized client workspace so it is easy to reopen. */
.sp-client-restore{background:linear-gradient(135deg,#17366b,#10274e);color:#fff;border:2px solid #83a4c6;box-shadow:0 0 0 4px #d5e0eb,0 10px 28px #12223f33;font-weight:700;transition:background .15s ease,box-shadow .15s ease}
.sp-client-restore>span:first-child{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:8px;background:#ffffff24;color:#fff;font-size:20px}
.sp-client-restore small{padding:5px 8px;border-radius:7px;background:#e4ecf5;color:#162b4e;font-weight:700}
.sp-client-restore:hover{background:linear-gradient(135deg,#1c3f7c,#15305e);box-shadow:0 0 0 4px #c5d5e5,0 12px 30px #12223f40}
.sp-client-restore:focus-visible{outline:3px solid #13223d;outline-offset:6px}
@media(prefers-reduced-motion:reduce){.sp-client-restore{transition:none}}
