
        :root { color-scheme: dark; font-family: 'Segoe UI', system-ui, sans-serif; background: #10100f; color: #f4efe9; --muted:#b5ada3; --accent:#e9ad79; --line:#ffffff17; }
        * { box-sizing:border-box; }
        body { margin:0; background:radial-gradient(ellipse at 85% 10%, #84502c25, transparent 45%); }
        a { color:inherit; text-decoration:none; }
        a:focus-visible, button:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
        .shell { width:min(1120px, calc(100% - 48px)); margin:auto; }
        .topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:24px; padding:16px 24px; border:1px solid var(--line); border-radius:50px; background:#ffffff06; }
        .brand { display:flex; gap:12px; align-items:center; font-weight:650; }
        .brand-mark { display:grid; place-items:center; width:38px; height:38px; border:1px solid #e9ad7960; border-radius:50%; color:var(--accent); font-size:21px; }
        .brand small { display:block; margin-top:2px; font-size:10px; letter-spacing:.16em; color:var(--muted); text-transform:uppercase; }
        .top-links { display:flex; gap:24px; align-items:center; font-size:13px; color:var(--muted); }
        .top-links a:hover { color:var(--accent); }
        .hero { display:grid; grid-template-columns:1.35fr 1fr; align-items:center; gap:50px; padding:88px 0 76px; }
        .eyebrow { color:var(--accent); text-transform:uppercase; letter-spacing:.2em; font-size:11px; font-weight:650; }
        h1 { font-size:clamp(44px, 5.5vw, 68px); line-height:1.08; letter-spacing:-.055em; font-weight:600; margin:22px 0; }
        h1 em { color:var(--accent); font-style:normal; }
        p { color:var(--muted); line-height:1.7; font-size:14px; }
        .hero p { max-width:470px; font-size:16px; }
        .actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
        .button, button { display:inline-flex; align-items:center; justify-content:center; gap:18px; background:var(--accent); color:#20170f; border:1px solid var(--accent); border-radius:10px; padding:13px 19px; font:inherit; font-size:13px; font-weight:650; cursor:pointer; transition:background .2s, transform .2s; }
        .button:hover, button:hover { background:#f4c49d; transform:translateY(-2px); }
        .button.secondary { background:transparent; color:#eee6dd; border-color:#ffffff28; }
        .orbit { position:relative; min-height:290px; display:grid; place-items:center; isolation:isolate; }
        .orbit::before, .orbit::after { content:''; position:absolute; width:270px; height:270px; border:1px solid #e9ad7925; border-radius:50%; transform:rotate(-20deg) scaleX(1.2); z-index:-1; }
        .orbit::after { width:210px; height:210px; transform:rotate(35deg) scaleX(1.35); border-style:dashed; }
        .core { text-align:center; width:150px; height:150px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(145deg,#36291f,#181613); border:1px solid #e9ad7940; border-radius:36px; box-shadow:0 24px 80px #0008; }
        .core strong { font-size:39px; font-weight:550; letter-spacing:-.07em; color:var(--accent); }
        .core span { font-size:9px; letter-spacing:.2em; color:var(--muted); margin-top:8px; }
        .orbit-label { position:absolute; border:1px solid var(--line); border-radius:9px; padding:9px 14px; background:#1b1916; font:11px monospace; color:#d4c7ba; }
        .orbit-label.one { top:20px; right:0; }.orbit-label.two { bottom:30px; left:0; }.orbit-label.three { bottom:8px; right:12px; }
        .section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
        h2 { font-size:24px; font-weight:550; letter-spacing:-.03em; margin:0; }
        .section-heading span { color:#837b73; font-size:12px; }
        .services { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
        .service { display:flex; flex-direction:column; min-height:230px; padding:25px; border:1px solid var(--line); background:linear-gradient(145deg,#ffffff05,#ffffff01); border-radius:16px; transition:border-color .2s,transform .2s; }
        .service:hover { border-color:#e9ad7970; transform:translateY(-4px); }
        .icon { font:23px monospace; color:var(--accent); margin-bottom:28px; }
        .service strong { font-size:16px; font-weight:600; }
        .service p { font-size:12px; margin:12px 0 22px; }
        .service .go { margin-top:auto; font-size:12px; color:var(--accent); }
        .member-area { display:grid; grid-template-columns:1.5fr 1fr; gap:18px; margin:42px 0; }
        .panel { border:1px solid var(--line); border-radius:18px; padding:30px; background:#ffffff03; }
        .panel .eyebrow { display:block; margin-bottom:16px; }
        .panel h2 { font-size:23px; }
        .panel p { font-size:13px; }
        #badge-login { display:inline-block; color:var(--accent); font-size:13px; border-bottom:1px solid #e9ad7950; padding-bottom:5px; }
        #badge-status:empty, .badge-grid:empty { display:none; }
        [hidden] { display:none !important; }
        button:disabled { opacity:.6; cursor:wait; }
        .badge-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; padding:0; list-style:none; }
        .badge-card { padding:18px; border:1px solid #e9ad7940; border-radius:12px; background:#171511; }
        .badge-card img { width:64px; height:64px; object-fit:contain; }
        .badge-card h3 { margin:12px 0 4px; font-size:15px; }.badge-card p { margin:6px 0; }.badge-account { color:var(--accent); }
        .footer { display:flex; justify-content:space-between; gap:16px; border-top:1px solid var(--line); padding:25px 0 32px; color:#8e857b; font-size:11px; }.footer a { color:var(--accent); }
        @media(max-width:900px) { .services { grid-template-columns:repeat(2,1fr); }.hero { gap:20px; }.orbit-label.one { right:-8px; } }
        @media(max-width:640px) { .shell { width:calc(100% - 32px); }.topbar { padding:13px 16px; }.top-links a:first-child { display:none; }.top-links { gap:10px; font-size:11px; }.brand { font-size:12px; }.hero { grid-template-columns:1fr; padding:56px 0 40px; gap:22px; }.orbit { min-height:260px; max-width:330px; width:100%; margin:auto; }.services,.member-area { grid-template-columns:1fr; }.service { min-height:190px; }.section-heading span { display:none; }.panel { padding:24px; }.footer { flex-direction:column; } }
        @media(prefers-reduced-motion:reduce) { * { transition:none !important; } }
    
:root { --bg-dark:#10100f; --bg-card:#1b1916; --text-main:#f4efe9; --text-muted:#b5ada3; --accent-hover:#f4c49d; --danger:#f49a95; --success:#93cbb1; }
.skip { position:absolute; top:-100px; left:24px; z-index:5; padding:12px; background:var(--accent); color:#10100f; }.skip:focus { top:10px; }
.topbar { flex-wrap:wrap; }.top-links { flex-wrap:wrap; gap:18px; }.top-links [aria-current=page] { color:var(--accent); }
.page-heading { padding:55px 0 32px; }.page-heading h1 { font-size:clamp(34px,5vw,52px); margin:15px 0; }.page-heading p { max-width:650px; }.page-main { padding-bottom:48px; min-height:65vh; }
.dashboard-container { width:100%; }.header { text-align:left; padding:50px 0 20px; }.header h1 { font-size:clamp(34px,5vw,52px); margin:15px 0; }.header p { color:var(--muted); }
.card { border:1px solid var(--line); background:var(--bg-card); border-radius:18px; padding:30px; margin-bottom:24px; }.card h2 { margin-bottom:14px; }
.btn { display:inline-block; background:var(--accent); color:#20170f; border-radius:9px; padding:12px 18px; font-size:13px; font-weight:600; margin:10px 8px 0 0; border:0; cursor:pointer; }.btn:hover { background:var(--accent-hover); }.loading { color:var(--muted); }
.stats-grid,.tool-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }.stat-box { padding:24px; background:#0002; border:1px solid var(--line); border-radius:12px; }.stat-value { font-size:36px; color:var(--accent); }.stat-label { font-size:12px; color:var(--muted); margin-top:8px; }
.status-badge,.pill { display:inline-block; font-size:11px; border:1px solid var(--line); padding:6px 10px; border-radius:30px; color:var(--muted); }.status-connected,.up { color:var(--success); }.status-disconnected,.down { color:var(--danger); }.user-info { margin:22px 0; border-top:1px solid var(--line); padding-top:20px; }.info-row { display:flex; justify-content:space-between; gap:12px; margin-bottom:14px; }.info-label { color:var(--muted); }.role-badge { color:var(--accent); }.info-value { overflow-wrap:anywhere; }
label { display:block; font-size:13px; margin:18px 0 8px; color:var(--muted); } input,select,textarea { width:100%; min-width:0; padding:12px 14px; background:#12110f; border:1px solid #ffffff28; border-radius:9px; color:var(--text-main); font:inherit; font-size:14px; }input:focus-visible,select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:20px; background:#0b0b0a; border:1px solid var(--line); border-radius:12px; max-height:500px; overflow:auto; font-size:12px; line-height:1.65; }code { color:var(--accent); font-size:12px; overflow-wrap:anywhere; } .muted { color:var(--muted); }.tool-output { margin-top:18px; }.tool-output img { max-width:100%; border-radius:12px; }.tool-output a { color:var(--accent); text-decoration:underline; }.tool-output:empty { display:none; }
.endpoint { padding:22px 0; border-top:1px solid var(--line); }.endpoint h3 { font-size:15px; margin:10px 0; }.endpoint p { font-size:13px; }.endpoint code { display:block; margin:10px 0; }.method { color:var(--success); font:11px monospace; margin-right:12px; }.method.post { color:var(--accent); }.endpoint-list { margin-top:24px; }.result-message { color:var(--accent); }.full-width { grid-column:1/-1; }
.monitor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }.monitor-group { grid-column:1/-1; display:flex; align-items:center; gap:16px; margin-top:25px; }.monitor-group h2 { text-transform:uppercase; color:var(--accent); font-size:15px; letter-spacing:.12em; }.monitor-group span { color:var(--muted); font-size:12px; }.service-card { padding:24px; border:1px solid var(--line); border-radius:16px; background:#ffffff04; }.service-card h3 { font-size:16px; margin:0 0 8px; }.service-head { display:flex; justify-content:space-between; gap:12px; }.service-meta { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; overflow-wrap:anywhere; }.service-latency { color:var(--muted); font-size:13px; margin-top:20px; }.refresh-line { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); }.indicator { width:8px; height:8px; border-radius:50%; background:var(--success); flex-shrink:0; }.bg-rose-500 { background:var(--danger); }.bg-emerald-500 { background:var(--success); }.pulse { animation:pulse 1.5s infinite; }@keyframes pulse { 50% { opacity:.4; } }
@media(max-width:760px) { .topbar { border-radius:20px; }.top-links { width:100%; gap:16px; }.top-links a:first-child { display:inline; }.tool-grid,.stats-grid { grid-template-columns:1fr; }.monitor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.card { padding:22px; }.info-row { flex-wrap:wrap; } }@media(max-width:480px) { .monitor-grid { grid-template-columns:1fr; } }

.stat-value { overflow-wrap:anywhere; } details { margin-top:16px; } summary { color:var(--accent); cursor:pointer; font-size:13px; } .tool-grid > .card { margin-bottom:0; }

/* Monitoring: grouped responsive cards with a compact status summary. */
.monitor-page .page-heading { padding-bottom:24px; }
.health-overview { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:28px 30px; margin:4px 0 20px; border:1px solid #e9ad7930; border-radius:18px; background:linear-gradient(110deg,#e9ad790c, #ffffff03); }
.health-overview h2 { font-size:22px; margin-top:12px; line-height:1.35; }.health-overview p { margin:8px 0 0; font-size:13px; }
.health-counts { display:flex; gap:28px; flex-shrink:0; }.health-counts div { display:flex; flex-direction:column; gap:7px; min-width:50px; }.health-counts strong { font-size:32px; line-height:1; font-weight:550; font-variant-numeric:tabular-nums; }.health-counts span { font-size:11px; color:var(--muted); }#health-up { color:var(--success); }#health-down { color:var(--danger); }
.monitor-page .refresh-line { font-size:11px; margin-bottom:30px; }.monitor-page .monitor-grid { display:block; }.monitor-section { margin-bottom:32px; }.monitor-page .monitor-group { margin:0 0 14px; gap:12px; }.monitor-page .monitor-group h2 { text-transform:none; letter-spacing:-.02em; font-size:17px; color:var(--text-main); }.monitor-page .monitor-group > span { font-size:11px; white-space:nowrap; }.category-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:#e9ad790d; color:var(--accent); font:15px monospace; border:1px solid #e9ad791a; }.category-rule { height:1px; background:var(--line); flex:1; margin-left:6px; }
.monitor-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:14px; }.monitor-page .service-card { padding:20px 22px; border-radius:14px; background:#191815; min-width:0; box-shadow:0 4px 18px #00000012; }.monitor-page .service-down { border-color:#f49a9528; background:linear-gradient(125deg,#f49a9506,#191815); }.monitor-page .service-head { align-items:center; gap:12px; }.monitor-page .service-head h3 { margin:0; font-size:15px; line-height:1.4; font-weight:600; overflow-wrap:anywhere; }.monitor-page .service-head .pill { flex:none; align-self:center; padding:5px 9px; font-size:10px; line-height:1.4; white-space:nowrap; border-radius:7px; }.monitor-page .pill.up { background:#93cbb10b; border-color:#93cbb122; }.monitor-page .pill.down { background:#f49a950b; border-color:#f49a9522; }
.monitor-page .service-latency { display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin-top:22px; font-size:11px; }.monitor-page .service-latency strong { color:#e4ddd5; font-size:14px; font-weight:500; font-variant-numeric:tabular-nums; }.monitor-page .service-meta { margin-top:14px; padding-top:14px; font-size:12px; }.service-metrics { display:flex; flex-wrap:wrap; gap:18px 26px; }.service-metric { display:flex; flex-direction:column; gap:6px; }.service-metric span { font-size:10px; color:#a59d93; }.service-metric strong { font-weight:500; color:#e4ddd5; font-size:12px; }.service-ok { color:#93cbb1; font-size:11px; }.service-error { color:#f0aaa5; font-size:12px; }.monitor-page .error-details { margin-top:10px; }.error-details summary { font-size:10px; color:#b5ada3; }.error-details p { font:11px/1.6 monospace; color:#c0aaa6; margin-bottom:0; }
@media(min-width:1000px) { .monitor-cards { grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); } }
@media(max-width:700px) { .health-overview { align-items:flex-start; flex-direction:column; gap:24px; padding:24px; }.health-counts { width:100%; gap:0; }.health-counts div { flex:1; }.health-overview h2 { font-size:20px; }.monitor-page .service-card { padding:18px; } }
