.theme-toggle{position:relative;display:grid;width:37px;height:35px;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);overflow:hidden;transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}.theme-toggle:hover{border-color:var(--violet);transform:translateY(-1px)}.theme-toggle:active{transform:translateY(0);background:var(--violet-soft)}.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--violet) 42%,transparent);outline-offset:3px}.theme-toggle .theme-icon{position:absolute;width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:opacity .25s ease,transform .35s ease}.theme-toggle .theme-moon{opacity:0;transform:translateY(14px)}:root[data-theme='dark'] .theme-toggle .theme-sun{opacity:0;transform:translateY(-14px)}:root[data-theme='dark'] .theme-toggle .theme-moon{opacity:1;transform:translateY(0)}

:root[data-theme='dark'] .layout{background:var(--page)}:root[data-theme='dark'] .stats article,:root[data-theme='dark'] .site,:root[data-theme='dark'] .next,:root[data-theme='dark'] .account,:root[data-theme='dark'] .account button{background:var(--surface)}:root[data-theme='dark'] .site-health{border-color:var(--line);background:var(--surface-soft)}:root[data-theme='dark'] .health-rail span{background:#4a435d}:root[data-theme='dark'] .site em{background:#302b41;color:#d3cde3}:root[data-theme='dark'] .site em:first-child{background:#493617;color:#ffd17d}:root[data-theme='dark'] .notice{border-color:#4c416d;background:#1e1a31;color:var(--muted)}:root[data-theme='dark'] .notice b{color:#c5b8ff}:root[data-theme='dark'] .workspace-shell{background:radial-gradient(54% 46% at 90% 4%,#2d2750 0%,transparent 77%),var(--page)}:root[data-theme='dark'] .site-metadata .status{background:#153f35;color:#8ce6c8}:root[data-theme='dark'] .site-metadata .status-maintenance{background:#493617;color:#ffd17d}:root[data-theme='dark'] .site-metadata .status-paused{background:#302b41;color:#d3cde3}:root[data-theme='dark'] .auth-flow{background:radial-gradient(60% 62% at 83% 8%,#2d2750 0%,transparent 72%),radial-gradient(47% 45% at 10% 92%,#211d36 0%,transparent 70%),var(--page)}:root[data-theme='dark'] .auth-card{box-shadow:0 28px 70px #00000055}:root[data-theme='dark'] .password-requirements code{background:#383249}
:root[data-theme='dark'] .site .site-status[data-site-status='active'],:root[data-theme='dark'] .site-health-status.healthy{background:#153f35;color:#8ce6c8}:root[data-theme='dark'] .site .site-status[data-site-status='maintenance'],:root[data-theme='dark'] .site-health-status.degraded{background:#493617;color:#ffd17d}:root[data-theme='dark'] .site .site-status[data-site-status='paused'],:root[data-theme='dark'] .site-health-status{background:#302b41;color:#d3cde3}:root[data-theme='dark'] .site-health-status.down{background:#4b2029;color:#ffb7bd}:root[data-theme='dark'] .site-health-status.security{background:#4d2b17;color:#ffc28c}
.site-list{display:grid;gap:12px}.site-list-loading{margin:0;padding:28px;border:1px dashed var(--line);border-radius:13px;color:var(--muted);text-align:center}.site .site-status[data-site-status='active']{background:#dcf7ed;color:#11775b}.site .site-status[data-site-status='maintenance']{background:#fff1d8;color:#a65d00}.site .site-status[data-site-status='paused']{background:#eeeaf7;color:#57506c}.site-health-status{background:#eeeaf7;color:#57506c}.site-health-status.healthy{background:#dcf7ed;color:#11775b}.site-health-status.degraded{background:#fff1d8;color:#a65d00}.site-health-status.down{background:#fde9eb;color:#a83540}.site-health-status.security{background:#fff0e3;color:#9f3d0f}.account .theme-toggle{width:31px;height:29px;padding:0;background:var(--surface);color:var(--ink)}.account .theme-toggle .theme-icon{width:15px;height:15px}.auth-theme-toggle{position:fixed;top:24px;right:clamp(20px,4vw,58px);z-index:2}
@media(max-width:530px){.auth-theme-toggle{top:max(22px,env(safe-area-inset-top));right:20px}}

.workspace-service,.request-panel{display:flex;align-items:end;justify-content:space-between;gap:24px;max-width:900px;margin:52px auto 0;padding:22px 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.workspace-service h2,.request-panel h2,.request-history h2{margin:0;font:600 21px/1.12 var(--serif);letter-spacing:-.02em}.workspace-service p,.request-panel p{max-width:570px;margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.workspace-service .primary{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;flex:0 0 auto;white-space:nowrap}.workspace-service .primary i{font-size:18px;font-style:normal}.request-history{max-width:900px;margin:54px auto 0}.request-history>div:first-child{margin-bottom:14px}.request-history h2{margin-top:5px;font-size:clamp(26px,3vw,36px)}.request-list{display:grid;gap:9px}.request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.request-row h3{margin:0;color:var(--ink);font:600 15px/1.25 var(--serif)}.request-row p{display:-webkit-box;max-width:70ch;margin:4px 0 0;overflow:hidden;color:var(--muted);font-size:11px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.request-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.request-meta span{padding:4px 8px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:800}.request-meta .open{background:#fff1d8;color:#a65d00}.request-meta .in-progress{background:#ede8ff;color:#5734c7}.request-meta .resolved,.request-meta .closed{background:#dcf7ed;color:#11775b}.request-empty{margin:0;padding:20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px;text-align:center}.service-dialog{width:min(520px,calc(100vw - 32px));padding:34px;border:0;border-radius:17px;background:var(--surface);color:var(--ink);box-shadow:0 30px 85px #17112755}.service-dialog::backdrop{background:#17112c80;backdrop-filter:blur(4px)}.service-dialog h2{margin:0;font:600 32px/1 var(--serif);letter-spacing:-.04em}.service-dialog>p{margin:13px 0 23px;color:var(--muted);font-size:13px;line-height:1.6}.dialog-close{position:absolute;top:13px;right:14px;display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:22px}.service-dialog form{display:grid;gap:14px}.service-dialog label{display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:800}.service-dialog input,.service-dialog select,.service-dialog textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:10px 11px;color:var(--ink);font:14px/1.45 var(--sans);outline:0}.service-dialog input,.service-dialog select{min-height:44px}.service-dialog textarea{resize:vertical}.service-dialog input:focus,.service-dialog select:focus,.service-dialog textarea:focus{border-color:var(--violet);box-shadow:0 0 0 3px color-mix(in srgb,var(--violet) 16%,transparent)}.request-message{min-height:18px;margin:0;color:var(--muted);font-size:12px;font-weight:700}.service-dialog .primary{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;width:100%;min-height:47px}.service-dialog .primary:disabled{cursor:wait;opacity:.65}.request-panel{max-width:none;margin:28px 0 0;align-items:start}.request-panel .request-list{min-width:min(390px,42vw)}:root[data-theme='dark'] .request-meta .open{background:#493617;color:#ffd17d}:root[data-theme='dark'] .request-meta .in-progress{background:#352b62;color:#d0c3ff}:root[data-theme='dark'] .request-meta .resolved,:root[data-theme='dark'] .request-meta .closed{background:#153f35;color:#8ce6c8}
@media(max-width:700px){.workspace-service,.request-panel{align-items:stretch;flex-direction:column}.workspace-service .primary{width:100%}.request-panel .request-list{min-width:0}.request-row{align-items:start;grid-template-columns:1fr}.request-meta{justify-content:flex-start}}@media(max-width:530px){.service-dialog{padding:29px 22px}.service-dialog h2{font-size:29px}}
