/* RIGONIC / CONTROL 2026
   Unified, square-edged interface. This presentation layer deliberately runs last.
   All authorization, form names, API calls and bot modules remain in their existing files. */
:root{--r26-bg:#0b1018;--r26-rail:#101720;--r26-panel:#141c27;--r26-raised:#1a2532;--r26-line:#2d3a4b;--r26-line-strong:#40516a;--r26-text:#f2f5fa;--r26-muted:#9aabc0;--r26-blue:#618cff;--r26-blue-hover:#7da1ff;--r26-green:#628dff;--r26-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body.rg-public-body,body.rg-dashboard-body{background:#0b1018!important;background-image:none!important;color:var(--r26-text)!important;font-family:var(--r26-font)!important;font-size:14px}
body.rg-public-body *,body.rg-dashboard-body *,body.rg-public-body *:before,body.rg-public-body *:after,body.rg-dashboard-body *:before,body.rg-dashboard-body *:after{box-sizing:border-box}
body.rg-public-body :is(button,input,textarea,select,.rx-btn,a.rx-btn,.rx-feature-card,.rx-step,.rx-final,.rx-hero-product,.rx-product-stats>div,.rx-product-modules>span,.rx-trust-inner>div,.rx-trust-inner>a),body.rg-dashboard-body :is(button,input,textarea,select,.rf-panel,.rf-stat-card,.rf-server-card,.rf-module-card,.rf-module-state,.rf-btn,.at-action,.at-server-filters button,.at-module-tabs button,.module-page-header,.module-form-v4,.context-card-v4,.toggle-field-v4,.rg26-panel,.rg10-module-hero,.ts-head,.ts-tabs a,.ts-topic-card,.rg-setup-card,.settings-section-v6,.v20-social-providers,.v20-social-connections,.v20-social-connection,.rg-nebula-command-sheet){border-radius:0!important}
body.rg-public-body :is(button,input,textarea,select,a):focus-visible,body.rg-dashboard-body :is(button,input,textarea,select,a):focus-visible{outline:2px solid var(--r26-blue)!important;outline-offset:3px}
body.rg-public-body :is(h1,h2,h3,h4),body.rg-dashboard-body :is(h1,h2,h3,h4){font-family:var(--r26-font)!important;letter-spacing:-.04em!important;color:var(--r26-text)!important;text-shadow:none!important}
body.rg-public-body :is(p,small),body.rg-dashboard-body :is(p,small){text-shadow:none}
body.rg-public-body [hidden],body.rg-dashboard-body [hidden]{display:none!important}
/* Public navigation / site shell */
body.rg-public-body .rx-header{background:rgba(11,16,24,.96)!important;border-bottom:1px solid var(--r26-line)!important;backdrop-filter:blur(12px);box-shadow:none!important;position:sticky;top:0;z-index:100}
body.rg-public-body .rx-wide{width:min(1280px,calc(100% - 64px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
body.rg-public-body .rx-header-inner{min-height:76px!important;gap:22px!important}
body.rg-public-body .rx-brand{font-size:23px!important;font-weight:850!important;letter-spacing:-.06em!important;color:#fff!important;text-transform:none!important;gap:10px!important}
body.rg-public-body .rx-brand img{width:35px!important;height:35px!important;object-fit:contain;filter:none!important;border-radius:0!important}
body.rg-public-body .rx-nav{align-items:center;gap:clamp(8px,1.45vw,24px)!important}
body.rg-public-body .rx-nav>a:not(.rx-btn){color:#aab8c9!important;font-size:12px!important;font-weight:650!important;transition:color .15s!important;padding:10px 0!important}
body.rg-public-body .rx-nav>a:not(.rx-btn):hover,body.rg-public-body .rx-nav>a.is-active{color:#fff!important}
body.rg-public-body .rx-nav .rx-nav-cta{border:1px solid #7698ff!important;background:#507ff5!important;color:#fff!important;min-height:42px!important;padding:0 16px!important;font-size:12px!important;letter-spacing:0!important;box-shadow:none!important;border-radius:0!important}
body.rg-public-body .rx-mobile-menu{background:#182333!important;border:1px solid #384961!important;color:#fff!important;border-radius:0!important}
body.rg-public-body .rx-footer{background:#0e151f!important;border-top:1px solid var(--r26-line)!important;color:var(--r26-text)!important;padding-top:52px!important}
body.rg-public-body .rx-footer a,body.rg-public-body .rx-footer p{color:#a9b9c9!important}
body.rg-public-body .rx-footer-links strong{color:#f2f6fc!important;font-size:12px!important}
body.rg-public-body .rx-footer-bottom{border-top:1px solid var(--r26-line)!important;color:#899bb1!important}
body.rg-public-body .rx-small-label{color:var(--r26-blue)!important}
/* New home, actual product UI preview / no artificial gradients or decorative orbs */
body.rg-public-body .r26-home{display:block!important;width:100%;overflow:hidden;background:var(--r26-bg);color:var(--r26-text)}
.r26-container{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.r26-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(35px,5vw,86px);align-items:center;min-height:660px;padding-block:92px 100px}
.r26-label,.r26-overline{display:inline-flex;align-items:center;gap:10px;color:#9aabc0;font-size:11px;letter-spacing:.12em;font-weight:750;line-height:1.5}
.r26-marker{width:8px;height:8px;background:var(--r26-blue);box-shadow:0 0 0 3px #628dff18}
.r26-label-divider{color:#586b80}
.r26-hero h1{font-weight:850;font-size:clamp(45px,4.7vw,75px);line-height:1.075;letter-spacing:-.07em!important;margin:27px 0 24px;max-width:13ch}
.r26-hero h1 span{color:var(--r26-blue-hover)!important;-webkit-text-fill-color:var(--r26-blue-hover)!important;background:none!important}
.r26-lead{color:#b8c5d4!important;max-width:560px;font-size:clamp(15px,1.35vw,18px);line-height:1.78}
.r26-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.r26-button{min-height:51px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:780;line-height:1.2;border:1px solid transparent;text-decoration:none;white-space:nowrap;border-radius:0!important;transition:background .15s,border-color .15s,transform .15s!important}
.r26-button:hover{transform:translateY(-2px);text-decoration:none}
.r26-button-primary{background:#5682fb;border-color:#5682fb;color:#fff!important;box-shadow:none}
.r26-button-primary:hover{background:#7399ff;color:#fff!important;border-color:#7399ff}
.r26-button-ghost{background:#18212d;border-color:#3b4b60;color:#eef4ff!important}
.r26-button-ghost:hover{background:#243145;border-color:#6e88a8;color:#fff!important}
.r26-hero-foot{display:flex;flex-wrap:wrap;gap:11px 23px;margin-top:37px;padding-top:22px;border-top:1px solid #283444;color:#99aabc;font-size:11px}
.r26-hero-foot span{display:flex;align-items:center;gap:7px}
.r26-hero-foot i{font-size:10px;color:var(--r26-blue)}
.r26-product{min-width:0;background:#131c27;border:1px solid #3e4e61;box-shadow:18px 24px 0 #05090f,0 32px 70px #02050d90;position:relative}
.r26-product:before{content:"";height:4px;position:absolute;inset:0 0 auto;background:linear-gradient(90deg,#628dff 0 18%,#5c86fb 18% 100%)}
.r26-window-top{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 18px;border-bottom:1px solid #2c3847;background:#192432}
.r26-window-brand{display:flex;align-items:center;gap:10px;color:#eaf2ff;font-size:10px;letter-spacing:.11em;font-weight:900;white-space:nowrap}
.r26-brand-mark{background:#628dff;color:#f3f7ff;font-weight:950;letter-spacing:-.09em;font-size:20px;display:grid;place-items:center;width:31px;height:31px}
.r26-brand-mark span{color:#4672c5}
.r26-window-brand small{color:#8193a9;font-size:10px}
.r26-window-label{font-size:9px;letter-spacing:.09em;color:#879aaf}
.r26-window-dot{width:7px;height:7px;background:#719bff}
.r26-app-mock{display:grid;grid-template-columns:160px minmax(0,1fr);min-height:430px}
.r26-app-side{background:#111923;border-right:1px solid #2c3847;padding:18px 10px}
.r26-app-sname{display:flex;align-items:center;gap:9px;color:#e8f0fb;font-size:10px;font-weight:800;padding:6px 6px 20px;border-bottom:1px solid #2c3847;margin-bottom:20px}
.r26-square-icon{display:grid;place-items:center;width:30px;height:30px;background:#425c90;color:#fff;font-weight:900;font-size:16px;flex:none}
.r26-app-sname small{display:block;color:#77899d;font-size:8px;margin-top:4px;letter-spacing:.12em}
.r26-app-sname>i{font-size:8px;color:#99a9bb;margin-left:auto}
.r26-app-group{margin:20px 10px 8px;font-size:8px;letter-spacing:.16em;color:#63778c;font-weight:850}
.r26-app-nav{display:flex;align-items:center;gap:10px;margin:3px 0;padding:10px 11px;color:#8d9eb1;font-size:10px;font-weight:650}
.r26-app-nav i{width:14px;text-align:center;font-size:11px}
.r26-app-nav.active{background:#26384f;color:#fff;border-left:2px solid var(--r26-blue)}
.r26-app-body{padding:27px;min-width:0}
.r26-app-breadcrumb{font-size:9px;color:#8296ac;letter-spacing:.13em;font-weight:800}
.r26-app-breadcrumb span{color:#536579;margin:0 7px}
.r26-app-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:22px 0}
.r26-app-heading h2{font-size:24px!important;margin:0 0 6px;letter-spacing:-.05em!important;font-weight:820;line-height:1.12}
.r26-app-heading p{color:#90a3b8!important;font-size:10px;margin:0;line-height:1.4}
.r26-app-connected{border:1px solid #3e6194;color:#bdd1ff;background:#172b45;padding:6px 8px;font-size:9px;white-space:nowrap;display:flex;align-items:center;gap:6px}
.r26-app-connected span{width:6px;height:6px;background:#628dff}
.r26-app-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.r26-app-stats>div{display:flex;flex-direction:column;min-width:0;background:#1a2736;border:1px solid #354659;padding:13px}
.r26-app-stats small{color:#7f94a9;font-size:8px;letter-spacing:.09em;font-weight:800}
.r26-app-stats i{font-size:14px;margin:12px 0 9px;color:#a8c0fa}
.r26-app-stats strong{font-size:12px;color:#f0f4fa}
.r26-app-stats div>span{color:#8399af;font-size:9px;margin-top:6px;line-height:1.3}
.r26-app-module-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 11px}
.r26-app-module-heading strong{font-size:12px}
.r26-app-module-heading>span{font-size:8px;color:#a7bded;letter-spacing:.07em}
.r26-app-rows{border:1px solid #334257}
.r26-app-rows>div{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid #334257;background:#16212e}
.r26-app-rows>div:last-child{border-bottom:0}
.r26-app-rows i{font-size:12px;color:#adc4f9;width:18px;text-align:center}
.r26-app-rows span{display:grid;gap:4px;flex:1;min-width:0}
.r26-app-rows b{font-size:11px;color:#e9f1ff}
.r26-app-rows small{font-size:9px;color:#8b9caf}
.r26-app-rows em{color:#acbfde;font-size:9px;font-style:normal;white-space:nowrap}
.r26-window-bottom{min-height:36px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #354455;color:#74889e;font-weight:800;letter-spacing:.13em;font-size:8px;padding:0 17px}
.r26-signal{display:inline-block;width:5px;height:5px;background:var(--r26-blue);margin-right:6px}
.r26-marquee{border-top:1px solid var(--r26-line);border-bottom:1px solid var(--r26-line);background:#111923}
.r26-marquee-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding-block:24px;font-size:10px;color:#a4b5c7;font-weight:780;letter-spacing:.12em}
.r26-marquee-row span:first-child{color:var(--r26-blue)}
.r26-section{padding-block:110px 116px}
.r26-section-top{display:grid;grid-template-columns:1fr minmax(220px,370px);gap:40px;align-items:end;margin-bottom:34px}
.r26-section-top h2,.r26-workflow h2,.r26-end h2{font-size:clamp(32px,3.6vw,52px)!important;line-height:1.15;max-width:640px;margin:19px 0 0;font-weight:850}
.r26-section-top p{color:#a6b6c8!important;font-size:15px;line-height:1.65;margin:0 0 7px}
.r26-overline{color:var(--r26-blue)}
.r26-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.r26-feature{display:flex;flex-direction:column;min-height:286px;padding:25px 24px;border:1px solid #304052;background:#151e29;text-decoration:none!important;transition:background .15s,border-color .15s,transform .15s!important;color:#fff!important}
.r26-feature:hover{background:#1b2a3d;border-color:#718aba;transform:translateY(-3px)}
.r26-feature-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:43px}
.r26-feature-top span{font-size:10px;color:#7489a0;font-weight:800;letter-spacing:.1em}
.r26-feature-top i{width:40px;height:40px;background:#283b53;color:#bdd0fa;display:grid;place-items:center;font-size:17px}
.r26-feature h3{font-size:19px!important;margin:0 0 10px;font-weight:780;line-height:1.2}
.r26-feature p{font-size:12px!important;line-height:1.65!important;color:#9aacc0!important;margin:0 0 22px}
.r26-feature-link{display:flex;align-items:center;justify-content:space-between;margin-top:auto;color:#b1caff;font-size:11px;font-weight:800}
.r26-plain-link{display:inline-flex;gap:11px;align-items:center;color:#c2d4f8!important;font-size:13px;font-weight:750;margin-top:24px;text-decoration:none;border-bottom:1px solid #5575a7;padding:8px 0}
.r26-workflow{background:#111a25;border-block:1px solid var(--r26-line)}
.r26-workflow-inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(55px,8vw,130px);padding-block:92px 100px}
.r26-workflow-intro p{font-size:15px;color:#aab8ca!important;line-height:1.8;max-width:460px;margin:20px 0 27px}
.r26-workflow-steps{display:grid;border-top:1px solid #364457}
.r26-workflow-steps>div{display:grid;grid-template-columns:40px 38px minmax(0,1fr);gap:15px;align-items:start;padding:25px 0;border-bottom:1px solid #364457}
.r26-workflow-steps>div>span{font-size:10px;color:var(--r26-blue);font-weight:800;padding-top:7px}
.r26-workflow-steps>div>i{width:35px;height:35px;background:#283748;display:grid;place-items:center;color:#afc6f9}
.r26-workflow-steps h3{font-size:19px!important;margin:0 0 8px}
.r26-workflow-steps p{font-size:13px;color:#9daec2!important;margin:0;line-height:1.6}
.r26-end{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:82px 92px}
.r26-end h2{font-size:clamp(31px,3vw,43px)!important}
.r26-end p{color:#a8b9c9!important;font-size:14px;line-height:1.7}
.r26-end-actions{display:flex;flex-wrap:wrap;gap:10px}
/* Public feature catalog & secondary pages use the same material language */
body.rg-public-body :is(.rx-directory-hero,.rx-directory-group,.rx-directory-card,.rx-directory-sidebar,.rx-directory-count,.rx-directory-end,.rx-directory-group-title,.rx-feature-card,.rx-final,.rx-step,.rx-product-stats>div,.rx-product-modules>span,.rx-hero-product,.rx-trust-inner>div,.rx-trust-inner>a){border-radius:0!important;box-shadow:none!important}
body.rg-public-body :is(.rx-directory-card,.rx-directory-sidebar,.rx-directory-count,.rx-directory-end,.rx-feature-card,.rx-step,.rx-trust-inner>div,.rx-trust-inner>a){background:#151e29!important;border-color:#314053!important}
body.rg-public-body :is(.rx-directory-hero,.rx-directory-body,.rx-directory-end){color:var(--r26-text)}
body.rg-public-body :is(.rx-directory-card,.rx-directory-sidebar a,.rx-directory-group-title) :is(p,small){color:#a0b2c5!important}
body.rg-public-body :is(.rx-directory-hero,.rx-directory-end,.rx-directory-headline) h1,body.rg-public-body .rx-directory-end h2{color:#eef4fc!important;-webkit-text-fill-color:#eef4fc!important}
body.rg-public-body :is(.rx-btn,.rx-side-action){border-radius:0!important;box-shadow:none!important}
body.rg-public-body .rx-btn-primary{background:#5682fb!important;border:1px solid #7396ff!important;color:#fff!important}
body.rg-public-body .rx-btn-secondary{background:#192330!important;border:1px solid #43546a!important;color:#eaf3ff!important}
/* Dashboard shell: workstation sidebar, sharp containers, practical spacing */
body.rg-dashboard-body{--nebula-bg:var(--r26-bg);--nebula-layer:var(--r26-rail);--nebula-panel:var(--r26-panel);--nebula-border:var(--r26-line);--nebula-text:var(--r26-text);--nebula-muted:var(--r26-muted);--nebula-blue:var(--r26-blue);--nebula-purple:var(--r26-blue);--nebula-cyan:var(--r26-blue);--nebula-good:var(--r26-blue);color-scheme:dark}
html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout{background:var(--r26-bg)!important;min-height:100vh}
html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .rf-dash-sidebar{width:260px!important;background:#101720!important;background-image:none!important;border-right:1px solid #2b3847!important;box-shadow:none!important;padding:0 0 16px!important;gap:10px!important}
html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .rf-dash-topbar{margin-left:260px!important;width:calc(100% - 260px)!important;background:#0e151f!important;backdrop-filter:none!important;box-shadow:none!important;border-bottom:1px solid #2e3c4c!important;min-height:73px!important;padding:14px 32px!important}
html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .hd-main.at-console.rf-dash-main{margin-left:260px!important;width:calc(100% - 260px)!important;max-width:none!important;padding:32px clamp(24px,3.2vw,55px) 75px!important;background:#0b1018!important;box-shadow:none!important}
body.rg-dashboard-body .rf-dash-brand{min-height:79px!important;gap:11px!important;margin:0!important;padding:18px 21px!important;border-bottom:1px solid #2d3b4e!important;box-shadow:none!important}
body.rg-dashboard-body .rf-dash-brand img{width:35px!important;height:35px!important;filter:none!important;border-radius:0!important}
body.rg-dashboard-body .rf-dash-brand strong{font-size:23px!important;letter-spacing:-.065em!important;text-transform:none!important;color:#f8fbff!important}
body.rg-dashboard-body .rf-dash-brand small{font-size:9px!important;letter-spacing:.17em!important;color:#9caec0!important}
body.rg-dashboard-body .rf-dash-user{margin:15px 12px 4px!important;padding:12px!important;background:#1a2634!important;border:1px solid #304156!important;border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body .rf-dash-user img{width:36px!important;height:36px!important;border-radius:0!important;border:1px solid #425673!important;object-fit:cover}
body.rg-dashboard-body .rf-dash-user b{color:#eef3fb!important;font-size:12px!important}
body.rg-dashboard-body .rf-dash-user span{color:#8296aa!important;font-size:10px!important}
body.rg-dashboard-body .rf-dash-nav{padding:0 10px!important;scrollbar-color:#47566c transparent}
body.rg-dashboard-body .rf-dash-nav-group{margin:14px 0 17px!important}
body.rg-dashboard-body .rf-dash-nav-group>span{padding:0 12px 8px!important;font-size:9px!important;letter-spacing:.13em!important;color:#75889d!important;font-weight:850!important}
body.rg-dashboard-body .rf-dash-nav a{margin:2px 0!important;padding:11px 12px!important;min-height:40px!important;border:1px solid transparent!important;border-radius:0!important;color:#a3b1c4!important;background:transparent!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important;transform:none!important;line-height:1.25!important}
body.rg-dashboard-body .rf-dash-nav a i{color:#8596ac!important;font-size:13px!important;width:16px!important}
body.rg-dashboard-body .rf-dash-nav a:hover{background:#1e2c3c!important;color:#fff!important;transform:none!important}
body.rg-dashboard-body .rf-dash-nav a.current{background:#25364c!important;border:1px solid #344b68!important;border-left:3px solid #628dff!important;box-shadow:none!important;color:#fff!important;padding-left:10px!important}
body.rg-dashboard-body .rf-dash-nav a.current i{color:#a9c0fd!important}
body.rg-dashboard-body .rf-dash-sidebar-foot{background:#101720!important;border-top:1px solid #2d3b4e!important;padding-top:12px!important}
body.rg-dashboard-body .rf-dash-logout,body.rg-dashboard-body .rf-dash-language{border-radius:0!important}
body.rg-dashboard-body .rf-dash-topcopy>span{font-size:9px!important;letter-spacing:.12em!important;color:#8fa0b5!important}
body.rg-dashboard-body .rf-dash-topcopy>strong{font-size:16px!important;color:#f5f8fd!important}
body.rg-dashboard-body .rf-dash-topmeta>span{border:1px solid #324258!important;border-radius:0!important;background:#182433!important;box-shadow:none!important;padding:8px 12px!important;color:#b9c9db!important;font-size:11px!important}
body.rg-dashboard-body .rg-nebula-command{background:#192534!important;border:1px solid #36485e!important;border-radius:0!important;color:#aebcd1!important;box-shadow:none!important}
body.rg-dashboard-body .rg-nebula-command:hover{background:#25354a!important}
body.rg-dashboard-body .rf-panel,body.rg-dashboard-body .rf-stat-card,body.rg-dashboard-body .rf-overview-panel,body.rg-dashboard-body .rf-module-browser,body.rg-dashboard-body .rf-server-controls-panel{background:#141e2a!important;background-image:none!important;border:1px solid #303f52!important;box-shadow:none!important;border-radius:0!important}
body.rg-dashboard-body .rf-panel:before,body.rg-dashboard-body .rf-panel:after,body.rg-dashboard-body .rf-overview-hero:after,body.rg-dashboard-body .rf-stat-card:before{display:none!important}
body.rg-dashboard-body .rf-kicker,body.rg-dashboard-body .dash-kicker,body.rg-dashboard-body .rg26-eyebrow{font-size:10px!important;letter-spacing:.12em!important;color:var(--r26-blue)!important;font-weight:850!important}
body.rg-dashboard-body :is(.rf-server-directory-hero,.rf-overview-hero){padding:32px!important;background:#182536!important;background-image:linear-gradient(115deg,#1a2a3e,#14202e)!important;grid-template-columns:minmax(0,1fr) auto!important}
body.rg-dashboard-body :is(.rf-server-directory-hero,.rf-overview-hero) h1{font-size:clamp(29px,3vw,43px)!important;line-height:1.18!important;letter-spacing:-.05em!important}
body.rg-dashboard-body :is(.rf-server-directory-hero,.rf-overview-hero) p{max-width:650px;color:#a8b9cd!important;line-height:1.65!important;font-size:14px!important}
body.rg-dashboard-body :is(.rf-hero-badges>span,.rf-overview-hero-actions .rf-btn){background:#202e40!important;border:1px solid #41546a!important;border-radius:0!important;color:#d5e2f2!important;box-shadow:none!important}
body.rg-dashboard-body .rf-server-controls-panel{padding:17px 23px!important}
body.rg-dashboard-body .at-server-controls{gap:13px!important;align-items:center!important}
body.rg-dashboard-body .at-server-controls>label,body.rg-dashboard-body .at-module-search{background:#0c141d!important;border:1px solid #3a4c61!important;border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]),textarea,select){border-radius:0!important;background:#0d1723!important;border:1px solid #3a4b60!important;color:#f3f6fc!important;box-shadow:none!important;min-height:41px!important;font-size:13px!important}
body.rg-dashboard-body input::placeholder,body.rg-dashboard-body textarea::placeholder{color:#748ba4!important}
body.rg-dashboard-body input:focus,body.rg-dashboard-body textarea:focus,body.rg-dashboard-body select:focus{border-color:#7095eb!important}
body.rg-dashboard-body .at-server-controls input,body.rg-dashboard-body .at-module-search input{background:transparent!important;border:0!important;box-shadow:none!important}
body.rg-dashboard-body :is(.at-server-filters button,.at-module-tabs button){background:#1c2836!important;border:1px solid #35465b!important;color:#aebdd0!important;font-size:11px!important;font-weight:800!important;padding:10px 14px!important;box-shadow:none!important}
body.rg-dashboard-body :is(.at-server-filters button,.at-module-tabs button).is-active{background:#456cbb!important;border-color:#658ee6!important;color:#fff!important}
body.rg-dashboard-body :is(.rf-server-card-grid,.rf-module-card-grid){gap:13px!important}
body.rg-dashboard-body .rf-server-card{display:flex!important;flex-direction:column;justify-content:space-between;min-height:192px!important;background:#182330!important;border:1px solid #354457!important;border-radius:0!important;box-shadow:none!important;padding:22px!important;transform:none!important;color:#f1f6fc!important}
body.rg-dashboard-body .rf-server-card:hover{background:#223249!important;border-color:#7296d4!important;transform:translateY(-2px)!important;box-shadow:none!important}
body.rg-dashboard-body .rf-server-identity>img,body.rg-dashboard-body .rf-server-letter{border-radius:0!important;width:48px!important;height:48px!important;object-fit:cover}
body.rg-dashboard-body .rf-server-identity strong{font-size:17px!important;color:#f2f6fc!important;overflow-wrap:anywhere}
body.rg-dashboard-body .rf-server-identity small{color:#91a3b8!important;font-size:11px!important}
body.rg-dashboard-body .rf-server-card-meta{border-top:1px solid #344255!important;margin-top:25px!important;padding-top:16px!important;gap:9px!important}
body.rg-dashboard-body .rf-server-card-meta>span{color:#99adc3!important;font-size:10px!important}
body.rg-dashboard-body .rf-server-status{border-radius:0!important;background:#243545!important;border:1px solid #3b5264!important;padding:6px 8px!important;font-weight:800!important}
body.rg-dashboard-body .rf-server-status.is-live{color:#bcd0ff!important;background:#1a2d48!important;border-color:#365c92!important}
body.rg-dashboard-body .rf-server-status.is-idle{color:#c7d4e4!important}
body.rg-dashboard-body .r26-server-open{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:13px;font-size:11px;color:#c6d9f9;border-top:1px solid #344255;font-weight:800}
body.rg-dashboard-body .r26-server-open i{color:#628dff}
body.rg-dashboard-body .r26-directory-caption{font-size:11px;color:#90a4b9;margin:0 0 18px}
body.rg-dashboard-body .rf-overview-stats{gap:13px!important}
body.rg-dashboard-body .rf-stat-card{padding:22px!important;border-radius:0!important;background:#182330!important;box-shadow:none!important}
body.rg-dashboard-body .rf-stat-card strong{color:#f0f6fb!important;font-size:clamp(22px,2.5vw,34px)!important}
body.rg-dashboard-body .rf-stat-card>span{color:#aebcd0!important;font-size:12px!important}
body.rg-dashboard-body .rf-stat-card>small{color:#8195a9!important;font-size:11px!important}
body.rg-dashboard-body .rf-info-list>div{border-color:#354355!important}
body.rg-dashboard-body .rf-info-list>div b{color:#edf2fa!important}
body.rg-dashboard-body .rf-quick-links a{border:1px solid #344456!important;background:#1c2938!important;border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body .rf-quick-links a:hover{background:#27384d!important;border-color:#6585ad!important}
body.rg-dashboard-body .rf-quick-links a :is(b,i){color:#d6e4fd!important}
body.rg-dashboard-body .rf-module-card{border-radius:0!important;background:#172331!important;border:1px solid #34475b!important;box-shadow:none!important;transform:none!important;padding:21px!important}
body.rg-dashboard-body .rf-module-card:hover{background:#223146!important;border-color:#6689be!important;transform:translateY(-2px)!important;box-shadow:none!important}
body.rg-dashboard-body .rf-module-card strong{font-size:17px!important;color:#f3f6fc!important}
body.rg-dashboard-body .rf-module-card p{font-size:12px!important;color:#97aabd!important}
body.rg-dashboard-body .rf-module-card .rf-module-card-head i{background:#273b54!important;border:1px solid #3b5876!important;color:#a8c5ff!important;border-radius:0!important}
body.rg-dashboard-body .rf-module-state{background:#243243!important;border:1px solid #3d5365!important;color:#aebbc9!important;border-radius:0!important}
body.rg-dashboard-body .rf-module-state.is-on{color:#bdd1ff!important;border-color:#3a609a!important;background:#1b2c47!important}
body.rg-dashboard-body .rf-module-open{color:#aac6fd!important}
body.rg-dashboard-body .rf-module-group-head{border-color:#3a485a!important}
body.rg-dashboard-body .rf-module-group-head i{color:#abcbff!important}
/* Module configuration, ticket editors, builders & social screens: preserve all behavior */
body.rg-dashboard-body :is(.module-page-header,.module-form-v4,.context-card-v4,.toggle-field-v4,.rg26-panel,.rg26-pagehead,.rg26-approval,.rg10-module-hero,.ts-head,.ts-statusbar,.ts-topic-card,.ts-add-card,.rg-setup-card,.rg-setup-hero,.rg-setup-summary,.settings-section-v6,.v20-social-providers,.v20-social-connections,.v20-social-connection,.v20-social-new,.rg10-control-card){background:#17222f!important;background-image:none!important;border:1px solid #344457!important;border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body :is(.module-page-header,.rg10-module-hero,.rg26-pagehead){border-left:3px solid #6d95e8!important}
body.rg-dashboard-body :is(.module-page-header,.rg10-module-hero) h1{font-size:clamp(27px,3vw,40px)!important}
body.rg-dashboard-body :is(.module-page-header,.rg10-module-hero) p{color:#a8b9ca!important}
body.rg-dashboard-body :is(.toggle-field-v4,.rg10-control-card) small{color:#9aaec2!important}
body.rg-dashboard-body :is(.module-save-v4,.save-notice-v4,.rg26-notice){border-radius:0!important;box-shadow:none!important;background:#1c2937!important;border:1px solid #41536a!important}
body.rg-dashboard-body :is(.rf-btn,.at-action,.dash-secondary-action,.module-save-v4 button,button[type=submit],.rg10-primary-button,.ts-topic-edit,.ts-tabs a){border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body :is(.rf-btn-primary,.at-action-primary,.module-save-v4 button[type=submit],.rg10-primary-button){background:#527ff4!important;border:1px solid #6e93ea!important;color:#fff!important}
body.rg-dashboard-body :is(.rf-btn-secondary,.dash-secondary-action){background:#1c2a3b!important;border:1px solid #40536c!important;color:#dae6f9!important}
body.rg-dashboard-body :is(.ts-tabs a,.v20-provider-button,.v20-social-edit-form,.v20-social-live,.v20-social-editor,.rg-social-composer-label,.rg-social-ping-field){border-radius:0!important;box-shadow:none!important}
body.rg-dashboard-body :is(.ts-tabs a,.v20-provider-button){background:#213044!important;border:1px solid #3e5167!important;color:#dbe6f8!important}
body.rg-dashboard-body input[type=checkbox],body.rg-dashboard-body input[type=radio]{accent-color:#6894fb}
body.rg-dashboard-body :is(.premium-field-badge,.premium-badge){border-radius:0!important;background:#312a40!important;border:1px solid #645277!important;color:#ddd0fc!important}
body.rg-dashboard-body .rg-nebula-command-panel{background:#050a0caa!important}
body.rg-dashboard-body .rg-nebula-command-sheet{border:1px solid #506781!important;background:#131e2c!important;box-shadow:0 30px 70px #000a!important}
/* Mobile: true sidebar drawer and readable grids */
@media(max-width:1180px){.r26-hero{grid-template-columns:1fr 1fr;gap:30px}.r26-hero h1{font-size:clamp(41px,5vw,64px)}.r26-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r26-feature{min-height:240px}.r26-feature-top{margin-bottom:29px}}
@media(max-width:1000px){
  .r26-hero{grid-template-columns:1fr;min-height:0;padding-block:68px 88px}.r26-hero-copy{max-width:760px}.r26-hero h1{max-width:none}.r26-product{max-width:840px;width:100%;margin-inline:auto}
  .r26-workflow-inner{grid-template-columns:1fr;gap:35px}.r26-workflow-intro{max-width:620px}
  html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .rf-dash-sidebar{width:min(285px,88vw)!important;transform:translateX(-105%)!important;transition:transform .2s ease!important;z-index:250!important}
  html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .rf-dash-sidebar.is-open{transform:translateX(0)!important}
  html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .rf-dash-topbar{margin-left:0!important;width:100%!important}
  html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .hd-main.at-console.rf-dash-main{margin-left:0!important;width:100%!important;padding:22px 21px 60px!important}
  body.rg-dashboard-body .rf-dash-burger{display:grid!important;place-items:center;background:#203047!important;border:1px solid #405473!important;color:#f0f4fd!important}
}
@media(max-width:780px){
  body.rg-public-body .rx-wide,.r26-container{width:calc(100% - 36px)!important}
  body.rg-public-body .rx-header-inner{min-height:66px!important}
  body.rg-public-body .rx-nav{position:absolute!important;top:calc(100% + 1px)!important;left:0!important;right:0!important;background:#121b27!important;border-bottom:1px solid #354456!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:14px 20px 23px!important;box-shadow:0 18px 30px #0008!important}
  body.rg-public-body .rx-nav.rx-is-open{display:flex!important}
  body.rg-public-body .rx-nav>a{padding:14px 12px!important;border-bottom:1px solid #2d3a4c!important}
  body.rg-public-body .rx-nav .rx-nav-cta{justify-content:center;margin-top:10px!important}
  body.rg-public-body .rx-mobile-menu{display:grid!important;place-items:center!important}
  .r26-hero{padding-block:54px 66px}.r26-hero h1{font-size:clamp(39px,9vw,61px)}.r26-lead{font-size:15px}.r26-hero-foot{gap:10px 20px}
  .r26-section{padding-block:72px}.r26-section-top{grid-template-columns:1fr;gap:9px}.r26-workflow-inner{padding-block:70px}.r26-end{padding-block:65px;align-items:flex-start;flex-direction:column;gap:25px}
  .r26-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r26-feature{min-height:252px}
  body.rg-dashboard-body .rf-overview-hero,body.rg-dashboard-body .rf-server-directory-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important}
  body.rg-dashboard-body .rf-overview-hero-actions{justify-content:flex-start!important}
  body.rg-dashboard-body .rf-module-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .r26-container,body.rg-public-body .rx-wide{width:calc(100% - 32px)!important}
  .r26-hero{padding-block:45px 54px;gap:29px}.r26-hero h1{font-size:clamp(37px,10vw,52px);margin-block:21px}
  .r26-hero-actions{flex-direction:column}.r26-button{width:100%;white-space:normal;text-align:center}
  .r26-product{box-shadow:8px 10px 0 #05090f}.r26-window-label{display:none}.r26-app-mock{grid-template-columns:1fr;min-height:0}.r26-app-side{display:none}.r26-app-body{padding:18px 14px}.r26-app-stats{gap:5px}.r26-app-stats>div{padding:9px 7px}.r26-app-stats strong{font-size:10px}.r26-app-stats div>span{font-size:8px}.r26-app-heading h2{font-size:21px!important}.r26-app-heading p{font-size:9px!important}.r26-app-rows em{font-size:8px}.r26-app-rows>div{padding:11px 8px;gap:6px}.r26-app-rows i{width:14px}
  .r26-marquee-row{justify-content:flex-start;gap:11px 19px}.r26-feature-grid{grid-template-columns:1fr}.r26-feature{min-height:205px}.r26-feature-top{margin-bottom:24px}.r26-workflow-steps>div{grid-template-columns:28px 32px minmax(0,1fr);gap:10px}.r26-workflow-steps h3{font-size:17px!important}
  body.rg-dashboard-body .rf-dash-topbar{padding-inline:14px!important}
  html body.rg-dashboard-body .hd-shell.ov-shell.at-shell.rf-dash-layout .hd-main.at-console.rf-dash-main{padding:18px 13px 55px!important}
  body.rg-dashboard-body .rf-server-directory-hero,body.rg-dashboard-body .rf-overview-hero{padding:23px!important}
  body.rg-dashboard-body :is(.rf-server-card-grid,.rf-module-card-grid){grid-template-columns:1fr!important}
  body.rg-dashboard-body .rf-server-card{min-height:155px!important}
  body.rg-dashboard-body .rf-stat-card{padding:17px!important}
  body.rg-dashboard-body .rf-server-controls-panel{padding:14px!important}
  body.rg-dashboard-body .at-server-controls{flex-wrap:wrap!important}
  body.rg-dashboard-body .at-server-filters{max-width:100%;overflow-x:auto;padding-bottom:2px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.r26-button,.r26-feature,.rf-server-card,.rf-module-card{transition:none!important;transform:none!important}}

/* Persistent server switching remains accessible from every module page. */
body.rg-dashboard-body .r26-top-switch{display:inline-flex;align-items:center;gap:10px;min-height:37px;padding:8px 12px;background:#1c2b3b;border:1px solid #3c5269;color:#d5e4f8!important;text-decoration:none;font-size:11px;font-weight:750;white-space:nowrap}
body.rg-dashboard-body .r26-top-switch:hover{background:#283b51;border-color:#7192bf}
body.rg-dashboard-body .r26-top-switch i:last-child{color:#628dff;font-size:9px}
@media(max-width:1200px){body.rg-dashboard-body .r26-top-switch span{display:none}}
@media(max-width:540px){body.rg-dashboard-body .r26-top-switch{min-width:36px;padding:8px;justify-content:center}body.rg-dashboard-body .r26-top-switch i:last-child{display:none}body.rg-dashboard-body .rg-nebula-command{min-width:34px;padding:8px!important}body.rg-dashboard-body .rg-nebula-command span,body.rg-dashboard-body .rg-nebula-command kbd{display:none!important}}
