/*
 * Ruokes Console UI refresh.
 * This file is intentionally loaded last and is the final visual contract for
 * the shared shell and the plugin home. Business controls keep their existing
 * IDs and data attributes so behavior remains unchanged.
 */
:root{
  --ui-font:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Segoe UI",system-ui,-apple-system,sans-serif;
  --ui-mono:"Cascadia Code","SFMono-Regular",Consolas,monospace;
  --ui-bg:#060b14;
  --ui-bg-soft:#09111f;
  --ui-sidebar:#08111f;
  --ui-surface:#0c1728;
  --ui-surface-raised:#111e32;
  --ui-surface-hover:#15243a;
  --ui-border:rgb(127 191 234/.14);
  --ui-border-strong:rgb(111 203 255/.27);
  --ui-text:#edf6ff;
  --ui-text-soft:#c2cede;
  --ui-muted:#8292a8;
  --ui-subtle:#617188;
  --ui-primary:#4f8dff;
  --ui-cyan:#5de2f5;
  --ui-violet:#8b7cff;
  --ui-success:#42d99b;
  --ui-warning:#f0b95d;
  --ui-danger:#ff7285;
  --ui-radius-sm:9px;
  --ui-radius:14px;
  --ui-radius-lg:18px;
  --ui-shadow:0 18px 54px rgb(0 0 0/.2);
  --ui-control:40px;
  --primary:var(--ui-primary);
  --border:var(--ui-border);
  --muted:var(--ui-muted);
  --sidebar:var(--ui-sidebar);
  color-scheme:dark;
}

html{background:var(--ui-bg);scroll-behavior:smooth}
body,button,input,textarea,select{font-family:var(--ui-font)}
body{background:var(--ui-bg);color:var(--ui-text);font-size:14px;line-height:1.6}
body.nav-open{overflow:hidden}
code,pre{font-family:var(--ui-mono)}
::selection{background:rgb(79 141 255/.42);color:#fff}

/* Application shell */
.app{min-height:100vh;background:var(--ui-bg)}
.workspace{
  margin-left:248px;
  background:
    radial-gradient(circle at 88% 0,rgb(82 91 221/.08),transparent 31%),
    radial-gradient(circle at 20% 100%,rgb(38 179 224/.045),transparent 32%),
    var(--ui-bg)
}
.sidebar{
  width:248px;
  border-right:1px solid var(--ui-border);
  background:linear-gradient(180deg,rgb(10 20 36/.99),rgb(5 12 23/.995));
  box-shadow:14px 0 46px rgb(0 0 0/.18)
}
.logo{
  height:64px;
  padding:0 17px;
  gap:11px;
  border-bottom:1px solid var(--ui-border);
  background:linear-gradient(90deg,rgb(93 226 245/.055),transparent)
}
.logo img{width:36px;height:36px;border:1px solid rgb(93 226 245/.28);border-radius:50%;box-shadow:0 0 24px rgb(93 226 245/.12)}
.logo-copy{gap:0}.logo-copy b{color:var(--ui-text);font-size:14px;font-weight:700}.logo-copy small{color:#68aecb;font-size:9px;font-weight:700;letter-spacing:.14em}
.nav-search{height:38px;margin:12px 10px 5px;border-color:var(--ui-border);border-radius:11px;background:rgb(3 9 18/.68)}
.nav-search:focus-within{border-color:var(--ui-border-strong);box-shadow:0 0 0 3px rgb(79 141 255/.11)}
.nav-search input{font-size:12px}
.sidebar nav{padding:8px 10px 18px;scrollbar-width:thin;scrollbar-color:rgb(112 147 177/.28) transparent}
.nav-section{margin:0 0 5px}
.section-button,.nav-item{border-radius:10px;transition:background-color .16s,color .16s,transform .16s}
.section-button{height:41px;padding:0 11px;color:#dbe8f5;font-size:13px;font-weight:650}
.section-button svg{color:#65c9e9}.section-button .chevron{color:#587087}
.section-button:hover{background:rgb(100 183 234/.07)}
.nav-item{height:39px;padding:0 11px 0 38px;color:#8fa0b6;font-size:13px}
.nav-item:hover{background:linear-gradient(90deg,rgb(93 226 245/.07),rgb(139 124 255/.035));color:#e8f5ff}
.nav-item.active{background:linear-gradient(90deg,rgb(39 158 218/.2),rgb(104 84 226/.14));color:#d7f8ff;box-shadow:inset 0 0 22px rgb(93 226 245/.025)}
.nav-item.active:before{background:var(--ui-cyan);box-shadow:0 0 15px rgb(93 226 245/.8)}
.nav-icon{color:#71859c}.nav-item.active .nav-icon{color:#76dff2}
.sidebar-foot{min-height:49px;padding:11px 17px;border-top:1px solid var(--ui-border);background:rgb(3 9 18/.74);color:#72849a;font-size:11px}
.sidebar-foot .status-dot{background:var(--ui-success);box-shadow:0 0 0 4px rgb(66 217 155/.09),0 0 12px rgb(66 217 155/.28)}

.workspace header{
  height:62px;
  padding:0 22px;
  border-bottom:1px solid var(--ui-border);
  background:rgb(6 12 23/.86);
  backdrop-filter:blur(18px)
}
.tabbar{display:none}
.breadcrumb{gap:9px;color:var(--ui-muted);font-size:12px}.breadcrumb b{color:var(--ui-text-soft);font-weight:650}
.breadcrumb-home{width:29px;height:29px;border:1px solid var(--ui-border);border-radius:9px;background:var(--ui-surface);color:#6cdff2}
.header-actions{gap:5px}.header-actions .icon-btn{color:#8191a6}.header-actions .icon-btn:hover{background:var(--ui-surface-hover);color:#fff}
.avatar{width:34px;height:34px;border:1px solid rgb(93 226 245/.28);background:linear-gradient(145deg,#278fe9,#6b5ee4);box-shadow:0 8px 22px rgb(42 120 220/.22)}
#menu-toggle{font-size:22px;color:#9aa9bc}

.content{width:100%;max-width:1580px;margin:0 auto;padding:0 0 28px}
.page-head{
  min-height:96px;
  padding:25px 22px 19px;
  border:0;
  background:transparent;
  align-items:center
}
.page-head h1{color:var(--ui-text);font-size:23px;font-weight:750;line-height:1.35;letter-spacing:-.025em}
.page-head p{max-width:760px;margin-top:5px;color:var(--ui-muted);font-size:12px;line-height:1.65}
.page-head>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:10px}

/* Shared surfaces and controls */
.card{
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  background:linear-gradient(145deg,rgb(14 25 42/.96),rgb(8 16 29/.96));
  box-shadow:var(--ui-shadow),inset 0 1px rgb(255 255 255/.025)
}
.panel{padding:21px}.panel h3{color:var(--ui-text);font-weight:700}
.content>.card,.content>.metrics{margin-left:20px;margin-right:20px}
.metrics{gap:14px}.metric{min-height:120px;padding:19px}.metric span{color:var(--ui-muted);font-size:12px}.metric b{color:var(--ui-text);font-weight:720}
.notice{border-color:rgb(79 141 255/.25);border-radius:11px;background:rgb(49 104 184/.13);color:#a9cbff}

.primary,.ghost,.danger{min-height:var(--ui-control);height:var(--ui-control);border-radius:10px;font-size:13px;font-weight:650;transition:transform .14s,background .16s,border-color .16s,box-shadow .16s,color .16s}
.primary{border-color:rgb(105 173 255/.3);background:linear-gradient(135deg,#1d65ad,#4c3fb0);box-shadow:0 9px 24px rgb(50 117 224/.19);color:#fff}
.primary:hover{border-color:rgb(128 196 255/.5);background:linear-gradient(135deg,#2473c2,#5948c4);box-shadow:0 11px 28px rgb(50 117 224/.26);transform:translateY(-1px)}
.primary:active{background:linear-gradient(135deg,#195996,#43389b);box-shadow:0 5px 14px rgb(50 117 224/.18);transform:translateY(0)}
.ghost{border-color:var(--ui-border);background:rgb(255 255 255/.055);color:var(--ui-text-soft)}
.ghost:hover{border-color:var(--ui-border-strong);background:rgb(93 226 245/.075);color:#d8f8ff;transform:translateY(-1px)}
.danger{border-color:rgb(255 114 133/.2);background:rgb(255 114 133/.1);color:#ff9cab}
.danger:hover{border-color:rgb(255 114 133/.48);background:rgb(255 114 133/.18);color:#ffd7dd}

.login-card input,.field input,.field select,.field textarea,.menu-search input,.toolbar input,.plugin-config-grid input,.plugin-config-grid select,.page-qq-select select,.page-context-select select,.license-card-generate-form input,.license-card-list select{
  min-height:var(--ui-control);
  border:1px solid var(--ui-border);
  border-radius:10px;
  background:rgb(3 10 19/.62);
  color:var(--ui-text);
  box-shadow:none
}
.field textarea{padding:11px 13px;line-height:1.7}
.login-card input:hover,.field input:hover,.field select:hover,.field textarea:hover,.toolbar input:hover,.plugin-config-grid input:hover,.plugin-config-grid select:hover,.page-context-select select:hover{border-color:rgb(133 178 215/.3)}
.login-card input:focus,.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.plugin-config-grid input:focus,.plugin-config-grid select:focus,.page-context-select select:focus{border-color:var(--ui-primary);box-shadow:0 0 0 3px rgb(79 141 255/.12)}
.field{gap:8px;color:var(--ui-text-soft);font-size:13px}.field>label{font-weight:650}
.form-grid{gap:16px 18px}
.switch-row{min-height:52px;margin-bottom:10px;padding:12px 14px;border-color:var(--ui-border);border-radius:11px;background:rgb(255 255 255/.025);color:var(--ui-text-soft)}
.switch{width:42px;height:23px;min-width:42px;background:#3b4655}.switch:after{width:19px;height:19px}.switch:checked{background:linear-gradient(90deg,#258ee6,#675ee7)}.switch:checked:after{transform:translateX(19px)}
.toolbar{gap:10px;margin-bottom:16px}.toolbar input{height:40px}
.table-wrap{border-color:var(--ui-border);border-radius:12px;background:rgb(6 13 24/.42)}
.activity-body{overflow-x:auto}
th,td{height:46px;border-color:rgb(127 191 234/.09)}
th{background:#101c2e;color:#91a1b5}.table-wrap tbody tr:nth-child(even) td{background:rgb(255 255 255/.012)}.table-wrap tbody tr:hover td{background:rgb(96 177 225/.055)}
.empty{color:var(--ui-muted)}
.update-version-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.update-status-dot.pending{background:#74839a;box-shadow:0 0 0 6px rgb(116 131 154/.1)}.update-status-dot.error{background:var(--ui-danger);box-shadow:0 0 0 6px rgb(255 114 133/.1)}
.modal-card,.message-box{border:1px solid var(--ui-border);border-radius:16px;background:#0d1829;box-shadow:0 30px 90px rgb(0 0 0/.52)}
.modal-head,.message-box-head{border-color:var(--ui-border);background:#111e31}

.section-button:focus-visible,.nav-item:focus-visible,.text-button:focus-visible,.table-checkbox:focus-visible,.batch-menu button:focus-visible,.variable-category-tabs button:focus-visible,.variable-copy:focus-visible,.ai-skill:focus-visible,.primary:focus-visible,.ghost:focus-visible,.danger:focus-visible,.icon-btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ui-cyan);outline-offset:2px}

/* Honest, calm loading and failure states. */
.page-state{display:grid;min-height:220px;margin:0 20px 20px;place-items:center;padding:38px;text-align:center}
.page-state-inner{display:grid;justify-items:center;max-width:440px;gap:10px;color:var(--ui-muted)}
.page-state-spinner{width:28px;height:28px;border:2px solid rgb(93 226 245/.14);border-top-color:var(--ui-cyan);border-radius:50%;animation:ui-spin .7s linear infinite}
.page-state h2{margin:4px 0 0;color:var(--ui-text);font-size:17px}.page-state p{margin:0;font-size:12px;line-height:1.7}
@keyframes ui-spin{to{transform:rotate(360deg)}}

/* Plugin home */
.plugin-home-layout{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:16px;margin:0 20px 16px}
.plugin-hero-card{position:relative;isolation:isolate;display:flex;min-height:410px;flex-direction:column;overflow:hidden;padding:25px;background:
  radial-gradient(circle at 82% 11%,rgb(93 226 245/.19),transparent 25%),
  radial-gradient(circle at 14% 91%,rgb(139 124 255/.18),transparent 35%),
  linear-gradient(150deg,#10243c,#091426 64%,#0b1025)}
.plugin-hero-card:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgb(93 226 245/.035) 1px,transparent 1px),linear-gradient(90deg,rgb(93 226 245/.035) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(145deg,#000,transparent 78%)}
.plugin-hero-card:after{content:"";position:absolute;right:-86px;top:-86px;z-index:-1;width:218px;height:218px;border:1px solid rgb(93 226 245/.16);border-radius:50%;box-shadow:0 0 0 42px rgb(93 226 245/.025),0 0 0 84px rgb(139 124 255/.018)}
.plugin-hero-kicker{display:flex;align-items:center;gap:8px;color:#75dced;font:700 10px/1.2 var(--ui-mono);letter-spacing:.14em}.plugin-hero-kicker:before{content:"";width:23px;height:1px;background:var(--ui-cyan)}
.plugin-hero-account{display:flex;align-items:center;gap:15px;margin-top:31px}
.plugin-hero-avatar{position:relative;flex:0 0 76px;width:76px;height:76px;padding:4px;border:1px solid rgb(93 226 245/.4);border-radius:23px;background:rgb(8 20 35/.84);box-shadow:0 14px 34px rgb(0 0 0/.25),0 0 26px rgb(93 226 245/.12)}
.plugin-hero-avatar img{width:100%;height:100%;border-radius:18px;object-fit:cover;background:#13233a}
.plugin-hero-avatar .status-dot{position:absolute;right:-2px;bottom:4px;width:13px;height:13px;border:3px solid #0d1b2e;background:var(--ui-warning);box-shadow:none}.plugin-hero-avatar.online .status-dot{background:var(--ui-success)}.plugin-hero-avatar.offline .status-dot{background:var(--ui-danger)}
.plugin-hero-account h2{margin:0 0 5px;color:#fff;font-size:21px;font-weight:760;letter-spacing:-.025em}.plugin-hero-account p{max-width:180px;margin:0;color:#91a3b9;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.plugin-runtime-badge{display:inline-flex;align-items:center;gap:7px;width:max-content;margin-top:19px;padding:7px 10px;border:1px solid rgb(240 185 93/.2);border-radius:999px;background:rgb(240 185 93/.07);color:#efcc8c;font-size:11px}.plugin-runtime-badge.online{border-color:rgb(66 217 155/.2);background:rgb(66 217 155/.075);color:#8be8bd}.plugin-runtime-badge.offline{border-color:rgb(255 114 133/.2);background:rgb(255 114 133/.07);color:#ff9cab}.plugin-runtime-badge i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor}
.plugin-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto;padding-top:24px}.plugin-hero-stat{min-width:0;padding:13px;border:1px solid rgb(127 191 234/.12);border-radius:12px;background:rgb(3 9 18/.28)}.plugin-hero-stat span{display:block;color:#73879e;font-size:10px}.plugin-hero-stat b{display:block;margin-top:5px;color:#eef7ff;font-size:18px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plugin-hero-stat.version b{color:#8edff0;font:700 17px/1.25 var(--ui-mono)}.plugin-hero-version-full{display:block;margin-top:9px;color:#657a92;font:10px/1.5 var(--ui-mono);overflow-wrap:anywhere}

.plugin-profile-card{min-width:0;padding:24px}
.plugin-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:19px;border-bottom:1px solid var(--ui-border)}
.plugin-profile-head small{color:#6ad6ec;font:700 10px/1.2 var(--ui-mono);letter-spacing:.14em}.plugin-profile-head h2{margin:7px 0 3px;color:var(--ui-text);font-size:19px;font-weight:730}.plugin-profile-head p{margin:0;color:var(--ui-muted);font-size:12px}
.plugin-device{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 9px 8px 12px;border:1px solid var(--ui-border);border-radius:11px;background:rgb(3 10 19/.42)}.plugin-device span{color:var(--ui-muted);font-size:11px;white-space:nowrap}.plugin-device code{max-width:180px;color:#8acbff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plugin-device .text-button{height:27px;padding:0 8px;border:0;border-radius:7px;background:rgb(79 141 255/.1);color:#8cc2ff;font-size:11px;cursor:pointer}
.plugin-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 16px;margin-top:20px}
.plugin-field{display:grid;min-width:0;gap:7px;margin:0}.plugin-field.wide{grid-column:1/-1}.plugin-field-label{color:#bdc9d9;font-size:12px;font-weight:650}.plugin-field-hint{min-height:16px;color:#65768c;font-size:10px;line-height:1.5}
.plugin-field input,.plugin-field select{width:100%;height:42px;min-width:0;padding:0 12px;border:1px solid var(--ui-border);border-radius:10px;background:rgb(3 10 19/.62);color:var(--ui-text);outline:none}.plugin-field input:hover,.plugin-field select:hover{border-color:rgb(133 178 215/.3)}.plugin-field input:focus,.plugin-field select:focus{border-color:var(--ui-primary);box-shadow:0 0 0 3px rgb(79 141 255/.12)}
.plugin-inline-control{display:flex;min-width:0;gap:8px}.plugin-inline-control select{flex:1}.plugin-inline-control .ghost{flex:0 0 auto;height:42px}
.plugin-save-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:19px;border-top:1px solid var(--ui-border)}.plugin-save-note{display:grid;gap:2px}.plugin-save-note b{color:#c9d5e4;font-size:12px}.plugin-save-note span{color:#6e7e93;font-size:10px}.plugin-save-row .primary{min-width:164px}

.plugin-home-insights{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px;margin:0 20px 20px}
.plugin-info-card{padding:21px 22px}.plugin-info-head{display:flex;align-items:center;gap:11px;margin-bottom:17px}.plugin-info-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgb(93 226 245/.18);border-radius:11px;background:rgb(93 226 245/.07);color:#73dff2;font-size:16px}.plugin-info-head small{display:block;color:#657a91;font:700 9px/1.2 var(--ui-mono);letter-spacing:.13em}.plugin-info-head h3{margin:4px 0 0;color:var(--ui-text);font-size:15px}
.plugin-permission-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.plugin-permission-flow div{position:relative;padding:12px 11px;border:1px solid var(--ui-border);border-radius:10px;background:rgb(255 255 255/.018)}.plugin-permission-flow div:not(:last-child):after{content:"›";position:absolute;right:-7px;top:50%;z-index:2;display:grid;width:14px;height:20px;place-items:center;transform:translateY(-50%);background:#0b1626;color:#61778f}.plugin-permission-flow b{display:block;color:#d7e3ef;font-size:12px}.plugin-permission-flow span{display:block;margin-top:3px;color:#687a90;font-size:10px}
.plugin-scope-note{display:flex;gap:10px;margin:15px 0 0;padding:11px 12px;border-radius:10px;background:rgb(79 141 255/.07);color:#8194aa;font-size:11px;line-height:1.65}.plugin-scope-note b{flex:0 0 auto;color:#8fbfff}
.plugin-version-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--ui-border)}.plugin-version-row:first-of-type{padding-top:0}.plugin-version-row:last-child{padding-bottom:0;border-bottom:0}.plugin-version-row span{color:#72849a;font-size:11px}.plugin-version-row b{max-width:210px;color:#dbe8f4;font-size:12px;text-align:right;overflow-wrap:anywhere}.plugin-version-row b.version{color:#87dff2;font-family:var(--ui-mono)}

/* Desktop compact navigation: show section icons and only the active child. */
.app.sidebar-collapsed .sidebar{width:76px}.app.sidebar-collapsed .workspace{margin-left:76px}
.app.sidebar-collapsed .logo{padding:0;justify-content:center}.app.sidebar-collapsed .logo img{width:38px;height:38px}
.app.sidebar-collapsed .sidebar nav{padding:9px 10px}
.app.sidebar-collapsed .nav-section{padding-bottom:5px;border-bottom:1px solid rgb(127 191 234/.07)}
.app.sidebar-collapsed .nav-item:not(.active){display:none}
.app.sidebar-collapsed .section-button,.app.sidebar-collapsed .nav-item{height:42px;border-radius:11px}
.app.sidebar-collapsed .nav-item.active{margin-top:3px}

@media(max-width:1180px){
  .plugin-home-layout{grid-template-columns:1fr}.plugin-hero-card{min-height:auto}.plugin-hero-stats{margin-top:25px}.plugin-hero-account p{max-width:none}
  .plugin-home-insights{grid-template-columns:1fr}
}
@media(max-width:900px){
  .page-head{align-items:flex-start;flex-direction:column}.page-head>div:last-child{width:100%;justify-content:flex-start}
  .plugin-profile-head{flex-direction:column}.plugin-device{width:100%}.plugin-device code{max-width:none;flex:1}
  .plugin-config-grid{grid-template-columns:1fr}.plugin-field.wide{grid-column:auto}
  .plugin-permission-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.plugin-permission-flow div:nth-child(2):after{display:none}
  .update-version-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .workspace{margin-left:0}.sidebar{width:min(286px,84vw)}
  .workspace header{height:56px;padding:0 13px}.breadcrumb{max-width:calc(100vw - 118px);overflow:hidden}.breadcrumb span,.breadcrumb b{white-space:nowrap}.breadcrumb b{overflow:hidden;text-overflow:ellipsis}.breadcrumb-home{display:none}
  .page-head{min-height:auto;padding:19px 14px 15px}.page-head h1{font-size:20px}.page-head p{max-width:100%;white-space:normal}
  .content>.card,.content>.metrics{margin-left:12px;margin-right:12px}
  .panel{padding:16px}.form-grid{gap:14px}
  .icon-btn{width:40px;height:40px}.nav-search button{width:28px;height:28px}.row-actions,.license-card-list-actions{flex-wrap:wrap}.row-actions button,.license-card-list-actions button{min-height:40px}.table-checkbox{width:20px;height:20px}
  .plugin-home-layout,.plugin-home-insights{margin-left:12px;margin-right:12px}.plugin-home-layout{gap:12px}.plugin-profile-card{padding:17px}
  .plugin-hero-card{padding:20px}.plugin-hero-account{margin-top:25px}.plugin-hero-avatar{width:68px;height:68px;flex-basis:68px;border-radius:20px}.plugin-hero-avatar img{border-radius:15px}
  .plugin-save-row{align-items:stretch;flex-direction:column}.plugin-save-row .primary{width:100%}
  .page-context-actions,.page-context-select{width:100%}.page-context-select{align-items:flex-start;flex-direction:column}.page-context-select select{width:100%;min-width:0}
  .page-state{margin-left:12px;margin-right:12px}
  .app.sidebar-collapsed .sidebar{width:min(286px,84vw)}.app.sidebar-collapsed .workspace{margin-left:0}.app.sidebar-collapsed .nav-item:not(.active){display:flex}
}
@media(max-width:480px){
  .plugin-hero-account{align-items:flex-start;flex-direction:column}.plugin-hero-account p{max-width:100%}
  .plugin-hero-stats{grid-template-columns:1fr}.plugin-inline-control{align-items:stretch;flex-direction:column}.plugin-inline-control .ghost{width:100%}
  .plugin-permission-flow{grid-template-columns:1fr}.plugin-permission-flow div:after{display:none!important}
  .plugin-device{align-items:flex-start;flex-wrap:wrap}.plugin-device code{order:3;flex-basis:100%}
  .update-version-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.sidebar,.workspace,.primary,.ghost,.danger,.section-button,.nav-item{transition:none!important}.page-state-spinner{animation:none;border-top-color:var(--ui-border)}
}

/* Legacy-layer compatibility: keep the refreshed controls authoritative. */
.plugin-config-grid label.plugin-field{
  display:grid;
  align-items:stretch;
  gap:7px;
  width:auto;
  height:auto;
  min-height:0;
  margin:0;
  padding:0
}
.plugin-config-grid label.plugin-field.wide{width:auto;height:auto;min-height:0;padding:0}
.plugin-config-grid label.plugin-field>.plugin-field-label{
  display:block;
  place-items:initial;
  flex:none;
  width:auto;
  height:auto;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#bdc9d9;
  font-size:12px;
  font-weight:650
}
.plugin-config-grid label.plugin-field>.plugin-inline-control{
  display:flex;
  align-items:stretch;
  place-items:initial;
  flex:none;
  width:100%;
  height:auto;
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent
}

.join-content-toggle .switch,
.card-management-switches .switch-row>.switch,
.review-form-grid>.switch-row .switch,
.hourly-form-grid>.switch-row .switch{
  flex:0 0 42px;
  width:42px;
  min-width:42px;
  max-width:42px;
  height:23px;
  min-height:23px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#3b4655
}
.join-content-toggle .switch:after,
.card-management-switches .switch-row>.switch:after,
.review-form-grid>.switch-row .switch:after,
.hourly-form-grid>.switch-row .switch:after{width:19px;height:19px;left:2px;top:2px}
.join-content-toggle .switch:checked:after,
.card-management-switches .switch-row>.switch:checked:after,
.review-form-grid>.switch-row .switch:checked:after,
.hourly-form-grid>.switch-row .switch:checked:after{transform:translateX(19px)}
.join-content-toggle .switch:checked,
.card-management-switches .switch-row>.switch:checked,
.review-form-grid>.switch-row .switch:checked,
.hourly-form-grid>.switch-row .switch:checked{background:linear-gradient(90deg,#258ee6,#675ee7)}

@media(min-width:761px){
  .review-form-grid>.switch-row,.hourly-form-grid>.switch-row{
    height:var(--ui-control);
    min-height:var(--ui-control);
    margin-top:29px;
    margin-bottom:18px;
    padding:0 11px
  }
}

/* Final accessibility and async-state pass. */
.plugin-field-hint,.plugin-hero-version-full,.plugin-info-head small,.plugin-permission-flow span,.plugin-save-note span{color:#8b9db3}
.context-loading{opacity:.58;filter:saturate(.72)}
.update-version-grid>div:nth-child(-n+2) b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.update-version-grid>div:nth-child(n+3) b{font-size:12px;line-height:1.5;white-space:normal}
.update-error>b{display:block;color:#ffc4cc;font-size:12px;font-weight:700}
.update-error details{margin-top:8px;color:#d6a8af}
.update-error summary{width:max-content;cursor:pointer;color:#f0b7c0;font-size:11px}
.update-error code{display:block;max-height:112px;margin-top:8px;overflow:auto;color:#d9aab1;font:10px/1.55 var(--ui-mono);white-space:pre-wrap;overflow-wrap:anywhere}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important}
  .modal-card,.message-box,.batch-menu{transform:none!important}
  .toast{transform:translateX(-50%)!important}
}

.table-wrap tbody tr.context-selected-row td{background:rgb(79 141 255/.14)}
.table-wrap tbody tr.context-selected-row:hover td{background:rgb(79 141 255/.2)}

@media(max-width:760px){
  .row-actions .primary,.row-actions .ghost,.row-actions .danger{
    height:40px;
    min-height:40px;
    padding:0 10px;
    border-radius:9px
  }
  .review-form-grid>.switch-row,.hourly-form-grid>.switch-row{
    height:52px;
    min-height:52px;
    margin-top:0;
    margin-bottom:10px;
    padding:12px 14px
  }
}

/* Stable shell: prevent width overflow, first-paint movement and continuous decorative jitter. */
html{overflow-y:scroll;scrollbar-gutter:stable}
.workspace{flex:0 0 auto;width:calc(100% - 248px);min-width:0}
.app.sidebar-collapsed .workspace{width:calc(100% - 76px)}
.sidebar,.workspace{transition:none!important}
.app.shell-ready .sidebar,.app.shell-ready .workspace{transition:width .18s ease,margin-left .18s ease,transform .18s ease!important}
.content,.content>.card,.content>.metrics,.page-head,.page-head>div,.page-context-actions,.page-context-select,.form-grid>*{min-width:0;max-width:100%}
.page-context-actions{flex:1 1 auto}.page-context-select select{max-width:100%}
.toolbar,.row-actions,.header-actions{min-width:0;flex-wrap:wrap}
.field input,.field textarea,.field select{max-width:100%}
.ai-hero-visual img,.orbit-two{animation:none!important}
@media(max-width:760px){.workspace,.app.sidebar-collapsed .workspace{width:100%}.app.shell-ready .workspace{transition:none!important}}

/* Mobile account profile: long QQ names and controls must never overlap. */
@media(max-width:760px){
  .plugin-home-layout,.plugin-home-insights{width:auto;min-width:0}
  .plugin-profile-card{min-width:0;padding:15px;overflow:hidden}
  .plugin-profile-head,.plugin-profile-head>div{width:100%;min-width:0}
  .plugin-profile-head{gap:13px;padding-bottom:15px}
  .plugin-profile-head h2,.plugin-profile-head p,.plugin-field-hint,.plugin-save-note{overflow-wrap:anywhere}
  .plugin-device{display:grid;width:100%;min-width:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px}
  .plugin-device code{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .plugin-device .text-button{min-width:48px;white-space:nowrap}
  .plugin-config-grid{display:block;margin-top:16px}
  .plugin-config-grid .plugin-field{width:100%;min-width:0;margin:0 0 15px}
  .plugin-config-grid .plugin-field:last-child{margin-bottom:0}
  .plugin-config-grid .plugin-field input,.plugin-config-grid .plugin-field select{display:block;width:100%;min-width:0;max-width:100%}
  .plugin-inline-control{display:grid!important;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:8px}
  .plugin-inline-control select,.plugin-inline-control .ghost{width:100%;min-width:0;max-width:100%}
  .plugin-save-row{width:100%;min-width:0;margin-top:17px;gap:13px}
  .plugin-save-row .primary{width:100%;min-width:0;white-space:normal}
}
@media(max-width:420px){
  .plugin-device{grid-template-columns:1fr auto}.plugin-device>span{grid-column:1/-1}.plugin-device code{grid-column:1}.plugin-device .text-button{grid-column:2}
  .plugin-hero-account{align-items:center;flex-direction:row}.plugin-hero-account p{max-width:100%}
}

/* Mobile large-text safety: account fields stay in normal document flow. */
@media(max-width:760px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .plugin-profile-head{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important}
  .plugin-profile-head>div:first-child{display:block!important;height:auto!important;min-height:0!important}
  .plugin-profile-head h2{margin:7px 0 5px;line-height:1.35}
  .plugin-profile-head p{display:block!important;position:static!important;margin:0;line-height:1.65}
  .plugin-device{display:none!important}
  .plugin-config-grid{position:static!important;display:flex!important;clear:both;flex-direction:column;gap:0;width:100%;min-width:0;margin-top:18px}
  .plugin-config-grid label.plugin-field{position:static!important;display:flex!important;height:auto!important;min-height:0!important;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:100%;margin:0 0 17px}
  .plugin-config-grid label.plugin-field>.plugin-field-label{position:static!important;display:block!important;width:100%;height:auto!important;min-height:0!important;line-height:1.5}
  .plugin-config-grid label.plugin-field>.plugin-inline-control{position:static!important;display:flex!important;height:auto!important;min-height:0!important;flex-direction:column!important;gap:9px;width:100%;max-width:100%}
  .plugin-config-grid .plugin-field input,.plugin-config-grid .plugin-field select{position:static!important;display:block;width:100%!important;height:auto!important;min-height:48px;max-width:100%!important;padding:10px 12px;line-height:1.45}
  .plugin-inline-control .ghost{position:static!important;display:block;width:100%!important;height:auto!important;min-height:46px;padding:10px 12px;line-height:1.45;transform:none!important}
  .plugin-field-hint{position:static!important;display:block!important;height:auto!important;min-height:0!important;margin:0;line-height:1.65}
  .plugin-save-row{position:static!important;display:flex!important;height:auto!important;min-height:0!important;flex-direction:column}
}

/* Sidebar search: one regular rounded focus ring on every browser. */
.nav-search{
  height:44px;
  min-height:44px;
  margin:13px 11px 6px;
  padding:0 12px;
  gap:10px;
  overflow:hidden;
  border:1px solid rgb(93 142 181/.24);
  border-radius:12px;
  background:rgb(3 10 19/.76);
  box-shadow:none
}
.nav-search:focus-within{
  border-color:rgb(95 205 231/.72);
  box-shadow:0 0 0 3px rgb(80 199 228/.12)
}
.nav-search>span{
  position:relative;
  display:block;
  width:17px;
  height:17px;
  flex:0 0 17px;
  overflow:hidden;
  color:transparent;
  font-size:0
}
.nav-search>span::before{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:9px;
  height:9px;
  border:1.7px solid #778ba3;
  border-radius:50%
}
.nav-search>span::after{
  content:"";
  position:absolute;
  top:11px;
  left:11px;
  width:6px;
  height:1.7px;
  border-radius:2px;
  background:#778ba3;
  transform:rotate(45deg);
  transform-origin:left center
}
.nav-search input,
.nav-search input:focus,
.nav-search input:focus-visible{
  appearance:none;
  -webkit-appearance:none;
  display:block;
  min-width:0;
  height:42px;
  min-height:0;
  margin:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  line-height:1.4
}
.nav-search input::-webkit-search-decoration,
.nav-search input::-webkit-search-cancel-button,
.nav-search input::-webkit-search-results-button,
.nav-search input::-webkit-search-results-decoration{-webkit-appearance:none}
.nav-search button{
  flex:0 0 28px;
  border-radius:8px
}
@media(max-width:760px){
  .nav-search{height:48px;min-height:48px;margin:14px 12px 8px;border-radius:13px}
  .nav-search input,.nav-search input:focus,.nav-search input:focus-visible{height:46px;font-size:15px}
}

/*
 * Ruokes Console 2.0
 * One calm, consistent presentation layer for every existing control.  The
 * markup and behavior stay untouched; this section only defines layout,
 * spacing, hierarchy and responsive behavior.
 */
:root{
  --ui-bg:#07101c;
  --ui-bg-soft:#0a1422;
  --ui-sidebar:#081321;
  --ui-surface:#0d1929;
  --ui-surface-raised:#122136;
  --ui-surface-hover:#162941;
  --ui-border:rgb(137 180 218/.15);
  --ui-border-strong:rgb(103 211 235/.34);
  --ui-text:#f3f7fb;
  --ui-text-soft:#cbd7e5;
  --ui-muted:#8b9bb0;
  --ui-subtle:#66788f;
  --ui-primary:#5b7fff;
  --ui-cyan:#58d3e8;
  --ui-violet:#8a78ff;
  --ui-success:#4bd6a0;
  --ui-warning:#f2bf67;
  --ui-danger:#ff7588;
  --ui-radius-sm:10px;
  --ui-radius:16px;
  --ui-radius-lg:22px;
  --ui-shadow:0 18px 48px rgb(0 0 0/.22);
  --ui-control:44px;
}

html{
  background:#07101c;
  scrollbar-color:rgb(110 145 176/.32) transparent;
}
body{
  min-width:320px;
  background:
    radial-gradient(circle at 78% -12%,rgb(91 127 255/.09),transparent 30rem),
    #07101c;
  font-size:14px;
}

/* Stable application frame */
.app{background:transparent}
.sidebar{
  width:268px;
  border-right-color:rgb(137 180 218/.12);
  background:
    linear-gradient(180deg,rgb(10 24 40/.99),rgb(6 15 27/.995));
  box-shadow:18px 0 60px rgb(0 0 0/.18)
}
.workspace{
  width:calc(100% - 268px);
  margin-left:268px;
  background:
    linear-gradient(rgb(255 255 255/.012) 1px,transparent 1px),
    linear-gradient(90deg,rgb(255 255 255/.012) 1px,transparent 1px),
    transparent;
  background-size:36px 36px
}
.logo{
  height:76px;
  padding:0 20px;
  gap:13px;
  border-bottom-color:rgb(137 180 218/.12);
  background:linear-gradient(90deg,rgb(88 211 232/.07),transparent 74%)
}
.logo img{
  width:42px;
  height:42px;
  border-radius:14px;
  background:#0d1b2c;
  box-shadow:0 10px 30px rgb(0 0 0/.28),0 0 0 4px rgb(88 211 232/.04)
}
.logo-copy b{font-size:15px;letter-spacing:.01em}
.logo-copy small{margin-top:2px;color:#65bcd1;font-size:9px;letter-spacing:.18em}

.nav-search{
  height:46px;
  min-height:46px;
  margin:16px 14px 8px;
  padding:0 14px;
  border-color:rgb(137 180 218/.16);
  border-radius:14px;
  background:rgb(2 10 19/.62)
}
.nav-search:focus-within{
  border-color:rgb(88 211 232/.55);
  background:rgb(4 14 25/.84);
  box-shadow:0 0 0 3px rgb(88 211 232/.09)
}
.nav-search input,
.nav-search input:focus,
.nav-search input:focus-visible{height:44px;color:#e9f2fa;font-size:13px}
.nav-search input::placeholder{color:#65778d}
.nav-search button{color:#7890a8}
.sidebar nav{padding:8px 12px 22px}
.nav-section{margin-bottom:7px}
.section-button{
  height:44px;
  padding:0 12px;
  border-radius:12px;
  color:#d7e4ef;
  font-size:13px
}
.section-button svg{color:#61c9de}
.section-button:hover{background:rgb(88 211 232/.055)}
.section-children{padding:2px 0 3px}
.nav-item{
  height:42px;
  padding:0 12px 0 41px;
  border-radius:12px;
  color:#8fa1b7
}
.nav-item:hover{background:rgb(255 255 255/.035);color:#e5eef7}
.nav-item.active{
  background:linear-gradient(90deg,rgb(43 144 191/.24),rgb(91 97 212/.18));
  color:#eefbff;
  box-shadow:inset 0 0 0 1px rgb(88 211 232/.08),0 9px 22px rgb(0 0 0/.12)
}
.nav-item.active:before{width:3px;height:20px;border-radius:0 4px 4px 0}
.nav-icon{color:#71859d}
.nav-item.active .nav-icon{color:#7de1f0}
.sidebar-foot{
  min-height:56px;
  padding:13px 20px;
  border-top-color:rgb(137 180 218/.12);
  background:rgb(3 11 20/.72);
  color:#778a9f
}

.workspace header{
  height:70px;
  padding:0 28px;
  border-bottom-color:rgb(137 180 218/.12);
  background:rgb(7 16 28/.78);
  box-shadow:0 10px 32px rgb(0 0 0/.08);
  backdrop-filter:blur(20px) saturate(130%)
}
.breadcrumb{font-size:13px}
.breadcrumb-home{width:32px;height:32px;border-radius:10px}
.header-actions{gap:8px}
.header-actions .icon-btn{width:38px;height:38px;border:1px solid transparent;border-radius:11px}
.header-actions .icon-btn:hover{border-color:var(--ui-border);background:var(--ui-surface)}
.avatar{width:37px;height:37px;border-radius:12px;font-size:11px}
#menu-toggle{width:38px;height:38px;border:1px solid var(--ui-border);border-radius:11px;background:rgb(255 255 255/.025);font-size:21px}

/* Clear page hierarchy */
.content{max-width:1540px;padding:0 0 34px}
.page-head{
  min-height:116px;
  margin:22px 24px 18px;
  padding:24px 27px;
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius-lg);
  background:
    radial-gradient(circle at 94% 10%,rgb(88 211 232/.1),transparent 17rem),
    linear-gradient(135deg,rgb(16 31 51/.94),rgb(9 20 35/.92));
  box-shadow:0 16px 44px rgb(0 0 0/.15),inset 0 1px rgb(255 255 255/.025)
}
.page-head>div:first-child{position:relative;padding-left:17px}
.page-head>div:first-child:before{
  content:"";
  position:absolute;
  inset:4px auto 4px 0;
  width:3px;
  border-radius:4px;
  background:linear-gradient(var(--ui-cyan),var(--ui-primary));
  box-shadow:0 0 16px rgb(88 211 232/.35)
}
.page-head h1{font-size:25px;font-weight:760;letter-spacing:-.02em}
.page-head p{margin-top:7px;color:#8ea0b5;font-size:13px}
.page-head>div:last-child{flex-wrap:wrap}

.content>.card,.content>.metrics{margin-left:24px;margin-right:24px}
.card{
  border-color:var(--ui-border);
  border-radius:var(--ui-radius);
  background:linear-gradient(145deg,rgb(14 27 45/.96),rgb(9 19 33/.96));
  box-shadow:0 15px 42px rgb(0 0 0/.16),inset 0 1px rgb(255 255 255/.025)
}
.panel{padding:24px}
.metrics{gap:16px}
.metric{min-height:126px;padding:22px;border-radius:16px}
.metric b{font-size:28px}
.metric:after{height:2px;background:linear-gradient(90deg,var(--ui-cyan),transparent)}
.notice{padding:14px 16px;border-radius:12px}

/* Consistent forms, toolbars and tables */
.primary,.ghost,.danger{
  height:44px;
  min-height:44px;
  padding:0 16px;
  border-radius:11px;
  letter-spacing:.01em
}
.primary{background:linear-gradient(135deg,#347db9,#5a55c6)}
.primary:hover{background:linear-gradient(135deg,#3b8bc9,#685fd8)}
.ghost{background:rgb(255 255 255/.045)}
.field{gap:9px;margin-bottom:18px}
.field>label,.plugin-field-label{color:#c5d2df;font-size:12px;font-weight:680}
.login-card input,.field input,.field select,.field textarea,.menu-search input,.toolbar input,.plugin-config-grid input,.plugin-config-grid select,.page-qq-select select,.page-context-select select,.license-card-generate-form input,.license-card-list select{
  min-height:44px;
  border-color:rgb(137 180 218/.17);
  border-radius:11px;
  background:rgb(3 11 21/.62)
}
.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.plugin-config-grid input:focus,.plugin-config-grid select:focus,.page-context-select select:focus{
  border-color:rgb(88 211 232/.58);
  box-shadow:0 0 0 3px rgb(88 211 232/.09)
}
.form-grid{gap:5px 20px}
.switch-row{min-height:56px;padding:13px 15px;border-radius:12px;background:rgb(255 255 255/.022)}
.switch{box-shadow:inset 0 0 0 1px rgb(255 255 255/.04)}
.toolbar{min-height:48px;gap:11px;margin-bottom:17px}
.toolbar input{max-width:360px}
.table-wrap{border-radius:13px;background:rgb(4 12 22/.42)}
th,td{height:50px;padding:12px 14px}
th{background:#122137;color:#91a3b8;font-size:12px}
.table-wrap tbody tr:hover td{background:rgb(88 211 232/.045)}
.badge{border:1px solid rgb(117 173 222/.12)}
.modal-card,.message-box{border-radius:20px;background:#0d1a2c}
.modal-head,.message-box-head{padding:18px 22px}

/* Plugin home: product identity on the left, account work on the right. */
.plugin-home-layout{
  grid-template-columns:minmax(300px,360px) minmax(0,1fr);
  gap:18px;
  margin:0 24px 18px
}
.plugin-hero-card{
  min-height:440px;
  padding:28px;
  border-color:rgb(88 211 232/.2);
  background:
    radial-gradient(circle at 84% 12%,rgb(88 211 232/.19),transparent 15rem),
    radial-gradient(circle at 0 100%,rgb(138 120 255/.14),transparent 18rem),
    linear-gradient(150deg,#10273e,#0a1729 64%,#0b1224)
}
.plugin-hero-card:before{opacity:.55;background-size:40px 40px}
.plugin-hero-card:after{opacity:.7}
.plugin-hero-account{margin-top:34px}
.plugin-hero-avatar{width:80px;height:80px;flex-basis:80px;border-radius:24px}
.plugin-hero-account h2{font-size:23px}
.plugin-runtime-badge{margin-top:22px;padding:8px 12px}
.plugin-hero-stat{padding:15px;border-radius:13px}
.plugin-profile-card{padding:27px}
.plugin-profile-head{padding-bottom:22px}
.plugin-profile-head h2{font-size:21px}
.plugin-device{padding:9px 10px 9px 13px;border-radius:12px}
.plugin-config-grid{gap:19px 18px;margin-top:23px}
.plugin-field{gap:8px}
.plugin-field input,.plugin-field select{height:46px;border-radius:11px}
.plugin-inline-control .ghost{height:46px}
.plugin-save-row{margin-top:25px;padding-top:21px}
.plugin-home-insights{gap:18px;margin:0 24px 24px}
.plugin-info-card{padding:23px 24px}
.plugin-info-icon{width:38px;height:38px;border-radius:12px}
.plugin-permission-flow div{padding:14px 12px;border-radius:11px}

/* Compact mode keeps recognizable icons without squeezing the page. */
.app.sidebar-collapsed .sidebar{width:82px}
.app.sidebar-collapsed .workspace{width:calc(100% - 82px);margin-left:82px}
.app.sidebar-collapsed .logo{height:76px}
.app.sidebar-collapsed .logo img{width:42px;height:42px}
.app.sidebar-collapsed .sidebar nav{padding:10px}
.app.sidebar-collapsed .section-button,.app.sidebar-collapsed .nav-item{height:46px}

@media(max-width:1180px){
  .plugin-home-layout{grid-template-columns:1fr}
  .plugin-hero-card{min-height:auto}
  .plugin-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:900px){
  .page-head{align-items:stretch}
  .page-head>div:last-child{justify-content:flex-start}
}

@media(max-width:760px){
  html{overflow-y:auto;scrollbar-gutter:auto}
  body{padding-bottom:env(safe-area-inset-bottom)}
  .sidebar,.app.sidebar-collapsed .sidebar{
    width:min(318px,88vw);
    max-width:318px;
    box-shadow:24px 0 70px rgb(0 0 0/.48)
  }
  .workspace,.app.sidebar-collapsed .workspace{width:100%;margin-left:0}
  .logo{height:72px;padding:0 18px}
  .sidebar nav{padding:8px 12px 20px}
  .nav-search{height:46px;min-height:46px;margin:14px 13px 8px;border-radius:14px}
  .nav-search input,.nav-search input:focus,.nav-search input:focus-visible{height:44px;font-size:14px}
  .workspace header{height:60px;padding:0 12px;gap:10px}
  .breadcrumb{max-width:calc(100vw - 166px)}
  .header-actions{gap:3px}
  .header-actions .avatar{display:none}
  #menu-toggle,.header-actions .icon-btn{width:40px;height:40px}
  .content{padding-bottom:24px}
  .page-head{
    min-height:0;
    margin:14px 12px 12px;
    padding:19px 18px;
    border-radius:17px
  }
  .page-head>div:first-child{padding-left:13px}
  .page-head h1{font-size:21px}
  .page-head p{font-size:12px}
  .page-head>div:last-child{width:100%}
  .page-head>div:last-child>*{max-width:100%}
  .content>.card,.content>.metrics{margin-left:12px;margin-right:12px}
  .panel{padding:17px}
  .metrics{grid-template-columns:1fr;gap:11px}
  .metric{min-height:105px;padding:17px}
  .toolbar{align-items:stretch;flex-direction:column}
  .toolbar input,.toolbar select,.toolbar>button{width:100%;max-width:none}
  .row-actions{width:100%}
  .row-actions>*{flex:1 1 100px}
  .plugin-home-layout,.plugin-home-insights{margin-left:12px;margin-right:12px}
  .plugin-hero-card{padding:21px}
  .plugin-hero-account{align-items:center;flex-direction:row;margin-top:25px}
  .plugin-hero-avatar{width:68px;height:68px;flex-basis:68px}
  .plugin-hero-account h2{font-size:20px}
  .plugin-profile-card{padding:19px;overflow:hidden}
  .plugin-profile-head{display:block!important;padding-bottom:17px}
  .plugin-profile-head h2{font-size:19px}
  .plugin-config-grid{display:flex!important;position:static!important;flex-direction:column;margin-top:19px}
  .plugin-config-grid label.plugin-field{margin:0 0 17px!important}
  .plugin-config-grid .plugin-field input,.plugin-config-grid .plugin-field select{min-height:48px!important}
  .plugin-inline-control{display:flex!important;flex-direction:column!important}
  .plugin-inline-control .ghost{width:100%!important;min-height:46px!important}
  .plugin-save-row{margin-top:5px}
  .plugin-home-insights{grid-template-columns:1fr}
  .plugin-permission-flow{grid-template-columns:1fr}
  .plugin-permission-flow div:after{display:none!important}
  .modal{padding:10px}
  .modal-card,.message-box{width:100%;border-radius:16px}
}

@media(max-width:420px){
  .plugin-hero-account{align-items:flex-start;flex-direction:column}
  .plugin-hero-stats{grid-template-columns:1fr}
  .page-head{padding:17px 16px}
  .primary,.ghost,.danger{padding-left:13px;padding-right:13px}
}

/* Signature dashboard: brand-led, data-first and deliberately calmer. */
.dashboard-view{
  max-width:1540px;
  padding-bottom:36px
}
.dashboard-view .ai-command-hero{
  grid-template-columns:minmax(0,1fr) minmax(360px,31%);
  min-height:382px;
  margin:24px 24px 0;
  border-color:rgb(103 211 235/.2);
  border-radius:24px;
  background:
    radial-gradient(circle at 86% 14%,rgb(84 208 232/.15),transparent 16rem),
    radial-gradient(circle at 52% 120%,rgb(118 92 255/.14),transparent 24rem),
    linear-gradient(128deg,#10253b,#091522 62%,#11142c);
  box-shadow:0 28px 78px rgb(0 0 0/.25),inset 0 1px rgb(255 255 255/.035)
}
.dashboard-view .ai-command-hero:before{
  opacity:.72;
  background:
    linear-gradient(108deg,transparent 57%,rgb(88 211 232/.08) 57.1%,transparent 57.32%),
    linear-gradient(108deg,transparent 71%,rgb(138 120 255/.08) 71.1%,transparent 71.32%)
}
.dashboard-view .ai-hero-grid{
  background-size:48px 48px;
  opacity:.46;
  mask-image:linear-gradient(90deg,#000,transparent 83%)
}
.dashboard-view .ai-hero-copy{padding:38px 26px 30px 40px}
.dashboard-view .ai-eyebrow{gap:11px;color:#78d8e9;letter-spacing:.18em}
.dashboard-view .ai-eyebrow em{
  display:grid;
  width:24px;
  height:19px;
  margin-left:3px;
  place-items:center;
  border:1px solid rgb(88 211 232/.2);
  border-radius:6px;
  color:#607d94;
  font-size:8px;
  font-style:normal;
  letter-spacing:0
}
.dashboard-view .ai-title-row{max-width:760px;margin-top:28px}
.dashboard-view .ai-title-row h1{
  font-size:clamp(32px,3vw,46px);
  font-weight:760;
  letter-spacing:-.045em;
  background:linear-gradient(100deg,#fff 10%,#d9f6ff 55%,#b5c5ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}
.dashboard-view .ai-title-row p{max-width:620px;margin-top:10px;color:#91a3b8;font-size:13px}
.dashboard-view .ai-title-row .ai-hero-status{
  padding:8px 12px;
  border-radius:11px;
  background:rgb(60 214 171/.07);
  white-space:nowrap
}
.dashboard-view .ai-overview-strip{
  max-width:760px;
  margin-top:26px;
  overflow:hidden;
  border:1px solid rgb(137 180 218/.13);
  border-radius:14px;
  background:rgb(2 10 19/.36)
}
.dashboard-view .ai-overview-strip>div{
  min-height:64px;
  padding:12px 16px;
  border-color:rgb(137 180 218/.1)
}
.dashboard-view .ai-overview-strip span{color:#6f849b;font-size:10px}
.dashboard-view .ai-overview-strip b{margin-top:5px;color:#eaf4fb;font-size:18px}
.dashboard-view .ai-hero-actions{max-width:760px;gap:11px;margin-top:18px}
.dashboard-view .ai-skill{
  min-height:70px;
  padding:13px;
  border-color:rgb(137 180 218/.13);
  border-radius:13px;
  background:rgb(3 12 22/.44)
}
.dashboard-view .ai-skill:hover{
  border-color:rgb(88 211 232/.32);
  background:linear-gradient(145deg,rgb(32 91 123/.38),rgb(59 52 131/.25))
}
.dashboard-view .ai-skill.primary{
  border-color:rgb(88 211 232/.3);
  background:linear-gradient(145deg,rgb(29 122 170/.5),rgb(77 65 174/.48))
}
.dashboard-view .ai-skill>span{width:34px;height:34px;border-radius:10px}
.dashboard-view .ai-skill b{font-size:12px}
.dashboard-view .ai-skill small{color:#71869c;font-size:9px}
.dashboard-view .ai-hero-visual{
  min-height:382px;
  border-left-color:rgb(137 180 218/.08);
  background:
    radial-gradient(circle at 50% 42%,rgb(85 177 234/.13),transparent 48%),
    linear-gradient(90deg,transparent,rgb(55 86 136/.045))
}
.dashboard-view .ai-hero-visual:before{inset:20px;border-color:rgb(88 211 232/.1)}
.dashboard-view .ai-hero-visual:after{height:34%;background:linear-gradient(transparent,#0a1425 86%)}
.dashboard-view .ai-hero-visual img{
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:64% 10%;
  transform:scale(1.42);
  transform-origin:76% 18%;
  filter:saturate(.92) contrast(1.03) drop-shadow(0 8px 34px rgb(87 180 255/.2))
}
.dashboard-view .ai-agent-panel{
  right:20px;
  bottom:20px;
  width:202px;
  padding:12px 14px;
  border-radius:12px;
  background:rgb(5 13 25/.78);
  box-shadow:0 18px 38px rgb(0 0 0/.24)
}

.dashboard-view .connection-banner{
  margin:16px 24px 0;
  padding:18px 20px;
  border-color:rgb(242 191 103/.22);
  border-radius:16px;
  background:linear-gradient(105deg,rgb(105 57 24/.22),rgb(26 24 24/.72));
  box-shadow:0 14px 38px rgb(0 0 0/.12)
}
.dashboard-view .connection-banner-icon{border-radius:14px}
.dashboard-view .connection-banner-copy h2{font-size:17px}
.dashboard-view>.metrics{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:0 24px;
  padding-top:16px
}
.dashboard-view .metric{
  min-height:112px;
  padding:18px 19px;
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 100%,rgb(88 211 232/.065),transparent 7rem),
    linear-gradient(145deg,rgb(15 29 48/.96),rgb(9 19 33/.96))
}
.dashboard-view .metric>span:not(.metric-index){color:#7f91a7;font-size:11px}
.dashboard-view .metric b{margin-top:8px;font-size:27px}
.dashboard-view .metric-index{right:16px;top:16px!important;color:rgb(113 196 236/.3)!important}
.dashboard-view .metric:after{width:28px;margin-top:13px}

.dashboard-view .overview-card{
  margin:18px 24px 0;
  padding:22px 23px 24px;
  border-radius:18px
}
.overview-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
  padding-bottom:17px;
  border-bottom:1px solid rgb(137 180 218/.1)
}
.overview-card-head>div{position:relative;padding-left:14px}
.overview-card-head>div:before{
  content:"";
  position:absolute;
  inset:2px auto 2px 0;
  width:3px;
  border-radius:4px;
  background:linear-gradient(var(--ui-cyan),var(--ui-primary))
}
.overview-card-head small{display:block;color:#5d849e;font:700 8px/1 var(--ui-mono);letter-spacing:.18em}
.overview-card-head h2{margin:6px 0 0!important;padding:0!important;font-size:17px!important}
.overview-card-head h2:before{display:none!important}
.overview-card-head p{margin:4px 0 0;color:#71849a;font-size:11px}
.overview-card-mark{
  width:46px;
  height:8px;
  border-top:1px solid rgb(88 211 232/.3);
  border-bottom:1px solid rgb(138 120 255/.2);
  transform:skewX(-35deg)
}
.dashboard-view .activity-columns{gap:28px}
.dashboard-view .activity-columns article{
  padding:16px;
  border:1px solid rgb(137 180 218/.1);
  border-radius:14px;
  background:rgb(3 11 20/.28)
}
.dashboard-view .activity-columns article>header{margin-bottom:13px}
.dashboard-lower-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(350px,.55fr);
  gap:18px;
  margin:18px 24px 0
}
.dashboard-lower-grid>.overview-card{min-width:0;margin:0}
.dashboard-lower-grid .stability-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dashboard-lower-grid .stability-group{
  padding:15px;
  border-color:rgb(137 180 218/.11);
  border-radius:13px;
  background:rgb(4 13 23/.34)
}
.dashboard-lower-grid .stability-grid{grid-template-columns:1fr;gap:7px}
.dashboard-lower-grid .stability-grid>div{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-color:rgb(137 180 218/.09);
  border-radius:9px;
  background:rgb(255 255 255/.018)
}
.dashboard-lower-grid .stability-grid b{text-align:right;font-size:12px}
.dashboard-lower-grid .traffic-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dashboard-lower-grid .traffic-stats>div{
  padding:11px 12px;
  border-color:rgb(137 180 218/.1);
  border-radius:10px;
  background:rgb(3 11 20/.34)
}
.dashboard-lower-grid .traffic-svg{height:170px;margin-top:9px}

@media(max-width:1280px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr) 330px}
  .dashboard-view .ai-hero-copy{padding-left:32px}
  .dashboard-view .ai-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-view .ai-hero-visual img{inset:0;width:100%;height:100%;object-position:64% 10%;transform:scale(1.36);transform-origin:76% 18%}
  .dashboard-lower-grid{grid-template-columns:1fr}
  .dashboard-lower-grid .stability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-lower-grid .traffic-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:900px){
  .dashboard-view .ai-command-hero{grid-template-columns:1fr}
  .dashboard-view .ai-hero-copy{padding-right:25px}
  .dashboard-view .ai-hero-visual{position:absolute;right:0;bottom:0;width:42%;height:100%;opacity:.3}
  .dashboard-view .ai-hero-visual img{inset:0;width:100%;height:100%;object-position:64% 8%;transform:scale(1.26);transform-origin:76% 18%}
  .dashboard-view .ai-agent-panel{display:none}
  .dashboard-view .ai-overview-strip,.dashboard-view .ai-hero-actions{margin-right:16%}
  .dashboard-view>.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dashboard-view .metric:nth-child(n+4){grid-column:span 1}
  .dashboard-lower-grid .stability-groups{grid-template-columns:1fr}
  .dashboard-lower-grid .stability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .dashboard-view{padding-bottom:24px}
  .dashboard-view .ai-command-hero{min-height:auto;margin:12px 12px 0;border-radius:18px}
  .dashboard-view .ai-hero-copy{padding:23px 18px 21px}
  .dashboard-view .ai-eyebrow{font-size:8px;letter-spacing:.14em}
  .dashboard-view .ai-title-row{margin-top:19px}
  .dashboard-view .ai-title-row h1{font-size:28px}
  .dashboard-view .ai-title-row p{max-width:75%;font-size:12px}
  .dashboard-view .ai-title-row .ai-hero-status{margin-top:14px;padding:7px 10px}
  .dashboard-view .ai-overview-strip{grid-template-columns:1fr 1fr;margin:19px 0 0}
  .dashboard-view .ai-overview-strip>div{min-height:58px;padding:10px 12px}
  .dashboard-view .ai-overview-strip>div:nth-child(2){border-right:0}
  .dashboard-view .ai-overview-strip>div:nth-child(-n+2){border-bottom:1px solid rgb(137 180 218/.1)}
  .dashboard-view .ai-hero-actions{grid-template-columns:1fr 1fr;margin:12px 0 0}
  .dashboard-view .ai-skill{min-height:62px;padding:10px}
  .dashboard-view .ai-skill small{display:none}
  .dashboard-view .ai-hero-visual{width:48%;opacity:.2}
  .dashboard-view .ai-hero-visual:after{height:100%;background:linear-gradient(90deg,transparent,rgb(7 16 28/.28))}
  .dashboard-view .ai-hero-visual img{inset:0;width:100%;height:100%;object-position:66% 8%;transform:scale(1.2);transform-origin:78% 18%}
  .dashboard-view .connection-banner{grid-template-columns:1fr;margin:12px 12px 0;padding:17px}
  .dashboard-view .connection-banner-actions{grid-column:auto;width:100%}
  .dashboard-view .connection-banner-actions>*{flex:1}
  .dashboard-view>.metrics{grid-template-columns:1fr 1fr;gap:10px;margin:0 12px;padding-top:12px}
  .dashboard-view .metric{min-height:98px;padding:15px}
  .dashboard-view .metric:last-child{grid-column:1/-1}
  .dashboard-view .metric b{font-size:23px}
  .dashboard-view .overview-card{margin:12px 12px 0;padding:17px;border-radius:16px}
  .overview-card-head{align-items:flex-start;margin-bottom:16px;padding-bottom:14px}
  .overview-card-head p{max-width:250px}
  .overview-card-mark{width:32px}
  .dashboard-view .activity-columns{grid-template-columns:1fr;gap:12px}
  .dashboard-view .activity-columns article{padding:13px}
  .dashboard-lower-grid{grid-template-columns:1fr;gap:12px;margin:12px 12px 0}
  .dashboard-lower-grid>.overview-card{margin:0}
  .dashboard-lower-grid .stability-grid{grid-template-columns:1fr}
  .dashboard-lower-grid .traffic-stats{grid-template-columns:1fr 1fr}
}

@media(max-width:420px){
  .dashboard-view .ai-title-row p{max-width:78%}
  .dashboard-view .ai-hero-visual{opacity:.16}
}

/* Executive console pass: restrained product design over game-style decoration. */
:root{
  --ui-bg:#090c11;
  --ui-bg-soft:#0c1016;
  --ui-sidebar:#0b0f15;
  --ui-surface:#11161e;
  --ui-surface-raised:#151b24;
  --ui-surface-hover:#19212c;
  --ui-border:rgb(221 232 244/.08);
  --ui-border-strong:rgb(174 201 229/.2);
  --ui-text:#f0f3f7;
  --ui-text-soft:#c3cad4;
  --ui-muted:#7f8997;
  --ui-subtle:#5e6876;
  --ui-primary:#dce8f5;
  --ui-cyan:#8bbbd1;
  --ui-violet:#9da8c6;
  --ui-shadow:0 18px 48px rgb(0 0 0/.2)
}
html,body{background:#090c11}
body{
  background:
    radial-gradient(circle at 78% -16%,rgb(108 137 174/.055),transparent 34rem),
    #090c11;
  color:#f0f3f7
}
.workspace{
  background:transparent;
  background-image:none
}
.sidebar{
  border-right-color:rgb(225 235 246/.07);
  background:#0b0f15;
  box-shadow:12px 0 42px rgb(0 0 0/.14)
}
.logo{
  border-bottom-color:rgb(225 235 246/.07);
  background:transparent
}
.logo img{border-color:rgb(201 218 236/.16);box-shadow:none}
.logo-copy small{color:#708397;letter-spacing:.16em}
.nav-search{
  border-color:rgb(225 235 246/.08);
  background:#0e131a;
  box-shadow:none
}
.nav-search:focus-within{
  border-color:rgb(156 184 213/.28);
  background:#101720;
  box-shadow:0 0 0 3px rgb(156 184 213/.055)
}
.section-button svg{color:#75899e}
.section-button:hover{background:rgb(255 255 255/.025)}
.nav-item:hover{background:rgb(255 255 255/.03);color:#e6eaf0}
.nav-item.active{
  background:rgb(214 229 245/.075);
  color:#f4f7fa;
  box-shadow:inset 0 0 0 1px rgb(230 238 247/.035)
}
.nav-item.active:before{background:#9ebbd0;box-shadow:none}
.nav-item.active .nav-icon{color:#a9c5d8}
.sidebar-foot{border-top-color:rgb(225 235 246/.07);background:#090d12}
.workspace header{
  border-bottom-color:rgb(225 235 246/.07);
  background:rgb(9 12 17/.88);
  box-shadow:none;
  backdrop-filter:blur(22px)
}
.breadcrumb-home,#menu-toggle,.header-actions .icon-btn{
  border-color:rgb(225 235 246/.07);
  background:rgb(255 255 255/.018)
}
.avatar{border-color:rgb(225 235 246/.1);background:#18202a;box-shadow:none;color:#dce5ee}

.page-head{
  min-height:104px;
  margin-top:18px;
  padding:23px 4px 20px;
  border:0;
  border-bottom:1px solid rgb(225 235 246/.07);
  border-radius:0;
  background:transparent;
  box-shadow:none
}
.page-head>div:first-child{padding-left:0}
.page-head>div:first-child:before{display:none}
.page-head h1{font-size:26px;font-weight:650;letter-spacing:-.025em}
.page-head p{color:#747f8d}
.card{
  border-color:rgb(225 235 246/.075);
  background:#10151c;
  box-shadow:0 14px 38px rgb(0 0 0/.15),inset 0 1px rgb(255 255 255/.015)
}
.panel{padding:25px}
.primary{
  border-color:rgb(220 232 245/.14);
  background:#d9e5f1;
  box-shadow:none;
  color:#111821
}
.primary:hover{
  border-color:#eaf2fa;
  background:#edf4fa;
  box-shadow:0 8px 24px rgb(0 0 0/.16);
  color:#0c1219
}
.primary:active{background:#c7d5e3;box-shadow:none}
.ghost{border-color:rgb(225 235 246/.09);background:rgb(255 255 255/.028);color:#bcc6d1}
.ghost:hover{border-color:rgb(225 235 246/.16);background:rgb(255 255 255/.055);color:#edf2f7}
.field input,.field select,.field textarea,.toolbar input,.plugin-field input,.plugin-field select{
  border-color:rgb(225 235 246/.085);
  background:#0c1117
}
.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.plugin-config-grid input:focus,.plugin-config-grid select:focus,.page-context-select select:focus{
  border-color:rgb(157 188 216/.34);
  box-shadow:0 0 0 3px rgb(157 188 216/.06)
}
.switch-row{background:rgb(255 255 255/.018)}
.switch:checked{background:#759aaf}
.table-wrap{background:#0c1117}
th{background:#141a22;color:#8995a4}
.table-wrap tbody tr:hover td{background:rgb(255 255 255/.022)}

/* The hero becomes an editorial product cover; the assistant is a watermark. */
.dashboard-view .ai-command-hero{
  grid-template-columns:minmax(0,1fr) minmax(300px,30%);
  min-height:356px;
  border-color:rgb(225 235 246/.09);
  background:
    radial-gradient(circle at 87% 25%,rgb(128 159 188/.09),transparent 18rem),
    linear-gradient(120deg,#121923,#0d131b 68%,#111722);
  box-shadow:0 24px 68px rgb(0 0 0/.22),inset 0 1px rgb(255 255 255/.02)
}
.dashboard-view .ai-command-hero:before{display:none}
.dashboard-view .ai-hero-grid{display:none}
.dashboard-view .ai-hero-copy{padding:42px 28px 32px 42px}
.dashboard-view .ai-eyebrow{color:#7f93a6;font-size:9px;letter-spacing:.2em}
.dashboard-view .ai-eyebrow>span{width:18px;background:#71889a;box-shadow:none}
.dashboard-view .ai-eyebrow em{border-color:rgb(225 235 246/.08);color:#5f6d7b}
.dashboard-view .ai-title-row{margin-top:30px}
.dashboard-view .ai-title-row h1{
  background:none;
  color:#f3f5f7;
  font-size:clamp(34px,3vw,48px);
  font-weight:620;
  letter-spacing:-.05em
}
.dashboard-view .ai-title-row p{color:#7c8795;font-size:13px}
.dashboard-view .ai-title-row .ai-hero-status{
  border-color:rgb(225 235 246/.08);
  background:rgb(255 255 255/.025);
  color:#aab6c2
}
.dashboard-view .ai-title-row .ai-hero-status.waiting{border-color:rgb(208 173 113/.14);background:rgb(208 173 113/.045);color:#bfa77c}
.dashboard-view .ai-title-row .ai-hero-status i{box-shadow:none}
.dashboard-view .ai-overview-strip{
  margin-top:28px;
  border-color:rgb(225 235 246/.07);
  background:rgb(4 7 11/.18)
}
.dashboard-view .ai-overview-strip>div{border-color:rgb(225 235 246/.065)}
.dashboard-view .ai-overview-strip span{color:#646f7d}
.dashboard-view .ai-overview-strip b{color:#dfe5eb;font-weight:580}
.dashboard-view .ai-hero-actions{gap:8px;margin-top:14px}
.dashboard-view .ai-skill,
.dashboard-view .ai-skill.primary{
  min-height:64px;
  border-color:rgb(225 235 246/.075);
  background:rgb(255 255 255/.018);
  box-shadow:none;
  color:#bfc8d2
}
.dashboard-view .ai-skill.primary{border-color:rgb(166 195 220/.14);background:rgb(166 195 220/.065);color:#e8edf2}
.dashboard-view .ai-skill:hover,
.dashboard-view .ai-skill.primary:hover{
  border-color:rgb(225 235 246/.15);
  background:rgb(255 255 255/.05);
  box-shadow:none;
  transform:translateY(-1px)
}
.dashboard-view .ai-skill>span{background:rgb(173 203 226/.055);color:#91acbf}
.dashboard-view .ai-skill small{color:#5d6977}
.dashboard-view .ai-hero-visual{
  min-height:356px;
  border-left:0;
  background:linear-gradient(90deg,transparent,#111720)
}
.dashboard-view .ai-hero-visual:before{display:none}
.dashboard-view .ai-hero-visual:after{
  inset:0;
  width:100%;
  height:100%;
  background:linear-gradient(90deg,#0f151e 0,transparent 48%),linear-gradient(0deg,#101620 0,transparent 28%)
}
.dashboard-view .ai-hero-visual img{
  opacity:.36;
  mix-blend-mode:screen;
  object-position:66% 10%;
  transform:scale(1.34);
  filter:grayscale(.28) saturate(.68) contrast(1.04)
}
.dashboard-view .ai-agent-panel{display:none}

.dashboard-view .connection-banner{
  border-color:rgb(196 160 99/.13);
  background:#121313;
  box-shadow:none
}
.dashboard-view .connection-banner-icon{width:40px;height:40px;border-radius:11px;background:rgb(196 160 99/.06);color:#b99a65}
.dashboard-view .connection-banner-copy small{color:#8d7752}
.dashboard-view .connection-banner-copy h2{color:#d8d4cd;font-weight:580}
.dashboard-view .connection-banner-copy p{color:#77736c}
.dashboard-view .metric{
  border-color:rgb(225 235 246/.07);
  background:#10151c;
  box-shadow:none
}
.dashboard-view .metric:before{border-color:rgb(225 235 246/.035)}
.dashboard-view .metric:after{width:18px;background:#748a9c;box-shadow:none}
.dashboard-view .metric b{font-weight:580}
.dashboard-view .metric-index{color:rgb(179 199 218/.18)!important}
.dashboard-view .overview-card{background:#10151c;box-shadow:none}
.overview-card-head{border-bottom-color:rgb(225 235 246/.065)}
.overview-card-head>div:before{width:2px;background:#8198aa}
.overview-card-head small{color:#607283}
.overview-card-head h2{font-weight:590}
.overview-card-head p{color:#687482}
.overview-card-mark{border-color:rgb(173 196 218/.13)}
.dashboard-view .activity-columns article,
.dashboard-lower-grid .stability-group,
.dashboard-lower-grid .traffic-stats>div{
  border-color:rgb(225 235 246/.065);
  background:#0d1218
}
.dashboard-lower-grid .stability-grid>div{border-color:rgb(225 235 246/.055);background:rgb(255 255 255/.012)}
.dashboard-lower-grid .stability-grid b{font-weight:560}

@media(max-width:900px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr)}
  .dashboard-view .ai-hero-copy{width:100%;min-width:0;position:relative;z-index:2}
  .dashboard-view .ai-title-row{width:100%;min-width:0}
  .dashboard-view .ai-hero-visual{position:absolute;inset:0 0 0 auto;width:48%;height:100%;min-height:0;opacity:.68;pointer-events:none}
  .dashboard-view .ai-hero-visual img{opacity:.22;transform:scale(1.22)}
}
@media(max-width:760px){
  .page-head{margin-top:8px;padding-left:3px;padding-right:3px}
  .dashboard-view .ai-command-hero{min-height:auto;background:linear-gradient(145deg,#121922,#0e141c)}
  .dashboard-view .ai-hero-copy{padding:25px 18px 22px}
  .dashboard-view .ai-title-row h1{font-size:29px}
  .dashboard-view .ai-title-row p{max-width:82%;color:#788391}
  .dashboard-view .ai-hero-visual{opacity:.55}
  .dashboard-view .ai-hero-visual img{opacity:.18;transform:scale(1.16);filter:grayscale(.36) saturate(.55)}
  .dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#101720 0,transparent 58%),linear-gradient(0deg,#101620 0,transparent 38%)}
  .dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{background:rgb(255 255 255/.025)}
}

/* Cinematic crystal console: premium identity without changing product logic. */
:root{
  --ui-bg:#050914;
  --ui-bg-soft:#08101e;
  --ui-sidebar:#060b15;
  --ui-surface:#0c1423;
  --ui-surface-raised:#101b2d;
  --ui-surface-hover:#14233a;
  --ui-border:rgb(142 195 236/.12);
  --ui-border-strong:rgb(117 222 255/.28);
  --ui-text:#f4f9ff;
  --ui-text-soft:#cad8e6;
  --ui-muted:#7d91a7;
  --ui-subtle:#53687e;
  --ui-primary:#72e7ff;
  --ui-cyan:#72e7ff;
  --ui-violet:#9b8cff;
  --ui-shadow:0 28px 80px rgb(0 0 0/.36)
}
html,body{background:#050914}
body{
  background:
    radial-gradient(circle at 86% -8%,rgb(74 132 255/.14),transparent 31rem),
    radial-gradient(circle at 25% 112%,rgb(64 226 255/.07),transparent 34rem),
    linear-gradient(145deg,#050914,#070b13 48%,#050912);
  background-attachment:fixed
}
.workspace{position:relative;background:transparent}
.workspace:before{
  content:"";
  position:fixed;
  z-index:-1;
  inset:0 0 0 var(--sidebar-w);
  pointer-events:none;
  background:
    linear-gradient(rgb(110 167 210/.025) 1px,transparent 1px),
    linear-gradient(90deg,rgb(110 167 210/.025) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(90deg,transparent,#000 35%,transparent 92%)
}
.sidebar{
  border-right:1px solid rgb(134 196 235/.1);
  background:
    radial-gradient(circle at 50% -4%,rgb(81 188 244/.1),transparent 15rem),
    linear-gradient(180deg,#07101d,#050a13 54%,#050912);
  box-shadow:24px 0 70px rgb(0 0 0/.24)
}
.logo{
  border-bottom-color:rgb(142 195 236/.1);
  background:linear-gradient(180deg,rgb(102 196 241/.035),transparent)
}
.logo img{
  border-color:rgb(118 226 255/.36);
  background:linear-gradient(145deg,rgb(95 220 255/.12),rgb(109 91 255/.12));
  box-shadow:0 0 32px rgb(88 216 255/.1),inset 0 0 18px rgb(127 228 255/.08)
}
.logo-copy strong{letter-spacing:-.02em}
.logo-copy small{color:#7098b6;letter-spacing:.2em}
.nav-search{
  border-color:rgb(135 198 238/.13);
  background:linear-gradient(145deg,rgb(14 29 47/.92),rgb(8 16 28/.92));
  box-shadow:inset 0 1px rgb(255 255 255/.02),0 12px 30px rgb(0 0 0/.12)
}
.nav-search:focus-within{
  border-color:rgb(102 224 255/.42);
  background:#0c192a;
  box-shadow:0 0 0 3px rgb(83 213 255/.07),0 14px 36px rgb(0 0 0/.18)
}
.section-button{color:#d8e6f2}
.section-button svg{color:#6fcde9;filter:drop-shadow(0 0 8px rgb(87 215 255/.12))}
.nav-item{border:1px solid transparent}
.nav-item:hover{border-color:rgb(142 195 236/.08);background:rgb(79 146 196/.055);color:#edf7ff}
.nav-item.active{
  border-color:rgb(117 220 255/.13);
  background:
    linear-gradient(100deg,rgb(75 201 236/.16),rgb(91 111 243/.12) 72%,rgb(138 99 255/.08));
  box-shadow:0 12px 28px rgb(0 0 0/.14),inset 0 1px rgb(255 255 255/.03)
}
.nav-item.active:before{
  width:3px;
  background:linear-gradient(#7df0ff,#7390ff);
  box-shadow:0 0 14px rgb(103 226 255/.6)
}
.nav-item.active .nav-icon{color:#89eaff;filter:drop-shadow(0 0 9px rgb(90 222 255/.24))}
.sidebar-foot{border-top-color:rgb(142 195 236/.1);background:rgb(4 9 17/.78);backdrop-filter:blur(18px)}
.workspace header{
  border-bottom-color:rgb(142 195 236/.1);
  background:rgb(5 9 16/.72);
  box-shadow:0 12px 36px rgb(0 0 0/.12);
  backdrop-filter:blur(28px) saturate(1.25)
}
.breadcrumb-home,#menu-toggle,.header-actions .icon-btn{
  border-color:rgb(143 198 236/.12);
  background:linear-gradient(145deg,rgb(20 34 52/.72),rgb(9 16 28/.72));
  box-shadow:inset 0 1px rgb(255 255 255/.025)
}
.avatar{
  border-color:rgb(117 223 255/.2);
  background:linear-gradient(145deg,#183750,#192345);
  box-shadow:0 0 22px rgb(83 216 255/.09);
  color:#e8f9ff
}
.card{
  border-color:rgb(139 198 237/.12);
  background:
    linear-gradient(145deg,rgb(15 28 45/.92),rgb(8 15 27/.95));
  box-shadow:0 24px 68px rgb(0 0 0/.2),inset 0 1px rgb(255 255 255/.025)
}
.primary{
  border-color:rgb(125 235 255/.28);
  background:linear-gradient(110deg,#9cf2ff,#90c8ff 52%,#b8adff);
  box-shadow:0 12px 30px rgb(78 194 255/.16),inset 0 1px rgb(255 255 255/.55);
  color:#08111d
}
.primary:hover{
  border-color:#c4f8ff;
  background:linear-gradient(110deg,#c0f8ff,#a9d8ff 52%,#c9c0ff);
  box-shadow:0 16px 38px rgb(77 196 255/.24);
  color:#050b13
}
.ghost{border-color:rgb(138 198 238/.14);background:rgb(78 125 169/.055);color:#bed1e1}
.ghost:hover{border-color:rgb(113 224 255/.28);background:rgb(83 174 217/.1);color:#f1fbff}

.dashboard-view{max-width:1620px;padding-bottom:46px}
.dashboard-view .ai-command-hero{
  grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);
  min-height:470px;
  margin:26px 26px 0;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgb(128 211 248/.2);
  border-radius:30px;
  background:
    radial-gradient(circle at 79% 17%,rgb(89 218 255/.18),transparent 18rem),
    radial-gradient(circle at 93% 92%,rgb(119 89 255/.2),transparent 24rem),
    radial-gradient(circle at 14% 105%,rgb(54 128 255/.11),transparent 22rem),
    linear-gradient(120deg,#10243b 0,#091727 46%,#111430 100%);
  box-shadow:0 38px 100px rgb(0 0 0/.38),inset 0 1px rgb(255 255 255/.055)
}
.dashboard-view .ai-command-hero:before{
  display:block;
  content:"";
  position:absolute;
  z-index:-1;
  width:420px;
  height:420px;
  left:-190px;
  bottom:-280px;
  border:1px solid rgb(99 226 255/.14);
  border-radius:50%;
  box-shadow:0 0 0 64px rgb(80 181 255/.026),0 0 0 128px rgb(109 104 255/.018)
}
.dashboard-view .ai-hero-grid{
  display:block;
  opacity:.55;
  background-image:
    linear-gradient(rgb(116 204 245/.055) 1px,transparent 1px),
    linear-gradient(90deg,rgb(116 204 245/.055) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(90deg,#000,transparent 82%)
}
.dashboard-view .ai-hero-copy{z-index:3;padding:54px 34px 40px 52px}
.dashboard-view .ai-eyebrow{color:#83e9ff;font-size:9px;font-weight:700;letter-spacing:.24em}
.dashboard-view .ai-eyebrow>span{width:24px;background:linear-gradient(90deg,#75efff,#8b8fff);box-shadow:0 0 12px rgb(88 225 255/.42)}
.dashboard-view .ai-eyebrow em{border-color:rgb(119 229 255/.2);background:rgb(74 193 233/.055);color:#87b9d1}
.dashboard-view .ai-title-row{max-width:820px;margin-top:34px;gap:22px}
.dashboard-view .ai-title-row h1{
  background:linear-gradient(100deg,#fff 8%,#d9f7ff 48%,#d3d6ff 88%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-size:clamp(40px,3.5vw,58px);
  font-weight:760;
  letter-spacing:-.055em;
  text-shadow:0 16px 42px rgb(96 185 255/.12)
}
.dashboard-view .ai-title-row p{max-width:630px;margin-top:13px;color:#91abc0;font-size:13px;line-height:1.9}
.dashboard-view .ai-title-row .ai-hero-status{
  padding:9px 13px;
  border-color:rgb(111 226 255/.18);
  border-radius:999px;
  background:rgb(7 22 34/.52);
  box-shadow:inset 0 1px rgb(255 255 255/.03);
  color:#bbd5e5;
  backdrop-filter:blur(16px)
}
.dashboard-view .ai-title-row .ai-hero-status.waiting{border-color:rgb(255 194 101/.2);background:rgb(92 61 20/.13);color:#f0c980}
.dashboard-view .ai-title-row .ai-hero-status i{box-shadow:0 0 12px currentColor}
.dashboard-view .ai-overview-strip{
  max-width:820px;
  margin-top:34px;
  border-color:rgb(130 205 244/.14);
  border-radius:16px;
  background:linear-gradient(100deg,rgb(7 19 32/.7),rgb(15 20 47/.5));
  box-shadow:inset 0 1px rgb(255 255 255/.025),0 16px 38px rgb(0 0 0/.14);
  backdrop-filter:blur(18px)
}
.dashboard-view .ai-overview-strip>div{min-height:72px;padding:14px 18px;border-color:rgb(130 205 244/.11)}
.dashboard-view .ai-overview-strip span{color:#67839a;font-size:9px;letter-spacing:.06em}
.dashboard-view .ai-overview-strip b{margin-top:7px;color:#effaff;font-size:21px;font-weight:700;text-shadow:0 0 20px rgb(107 224 255/.14)}
.dashboard-view .ai-hero-actions{max-width:820px;gap:10px;margin-top:18px}
.dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{
  min-height:72px;
  padding:13px 14px;
  border-color:rgb(126 201 241/.13);
  border-radius:15px;
  background:linear-gradient(145deg,rgb(24 47 72/.58),rgb(13 22 40/.65));
  box-shadow:inset 0 1px rgb(255 255 255/.025),0 14px 30px rgb(0 0 0/.1);
  color:#d6e8f5;
  backdrop-filter:blur(14px)
}
.dashboard-view .ai-skill.primary{border-color:rgb(113 230 255/.25);background:linear-gradient(145deg,rgb(38 126 165/.46),rgb(64 67 163/.38));color:#f3fdff}
.dashboard-view .ai-skill:hover,.dashboard-view .ai-skill.primary:hover{
  border-color:rgb(116 231 255/.38);
  background:linear-gradient(145deg,rgb(48 137 175/.48),rgb(78 72 174/.38));
  box-shadow:0 18px 38px rgb(0 0 0/.18),0 0 26px rgb(82 210 255/.07);
  transform:translateY(-2px)
}
.dashboard-view .ai-skill>span{background:linear-gradient(145deg,rgb(86 218 255/.13),rgb(131 108 255/.11));color:#9cefff;box-shadow:inset 0 0 0 1px rgb(121 225 255/.06)}
.dashboard-view .ai-skill small{color:#69859b}
.dashboard-view .ai-hero-visual{
  min-height:470px;
  border-left:1px solid rgb(130 205 244/.07);
  background:
    radial-gradient(circle at 50% 44%,rgb(100 215 255/.18),transparent 48%),
    linear-gradient(90deg,transparent,rgb(42 50 112/.12))
}
.dashboard-view .ai-hero-visual:before{
  display:block;
  inset:34px;
  border:1px solid rgb(115 230 255/.12);
  border-radius:50%;
  box-shadow:0 0 0 28px rgb(89 206 255/.018),0 0 70px rgb(89 206 255/.05)
}
.dashboard-view .ai-hero-visual:after{
  inset:0;
  width:100%;
  height:100%;
  background:
    linear-gradient(90deg,#0c1929 0,transparent 29%),
    linear-gradient(0deg,#10142c 0,transparent 27%),
    linear-gradient(180deg,rgb(8 15 30/.05),transparent 40%)
}
.dashboard-view .ai-hero-visual img{
  inset:-2% -3% 0;
  width:106%;
  height:104%;
  opacity:.84;
  mix-blend-mode:normal;
  object-fit:cover;
  object-position:61% 8%;
  transform:scale(1.08);
  transform-origin:60% 18%;
  filter:saturate(.9) contrast(1.04) brightness(.93) drop-shadow(0 20px 42px rgb(0 0 0/.36))
}
.dashboard-view .ai-visual-lines{
  z-index:3;
  opacity:.44;
  background:linear-gradient(180deg,transparent 48%,rgb(125 231 255/.055) 49%,transparent 50%);
  background-size:100% 12px;
  mask-image:linear-gradient(90deg,transparent,#000 28%,#000 90%,transparent)
}
.dashboard-view .ai-agent-panel{
  display:block;
  z-index:5;
  right:24px;
  bottom:23px;
  left:24px;
  padding:15px 16px;
  border-color:rgb(120 226 255/.2);
  border-radius:16px;
  background:linear-gradient(120deg,rgb(7 24 39/.76),rgb(18 17 48/.66));
  box-shadow:0 18px 44px rgb(0 0 0/.26),inset 0 1px rgb(255 255 255/.04);
  backdrop-filter:blur(22px) saturate(1.2)
}
.dashboard-view .ai-agent-panel>div span{color:#71def5;letter-spacing:.2em}
.dashboard-view .ai-agent-panel>div b{color:#effaff}
.dashboard-view .ai-agent-panel dl{border-color:rgb(132 205 243/.1)}
.dashboard-view .ai-agent-panel dt{color:#638098}
.dashboard-view .ai-agent-panel dd{color:#d8e9f5}

.dashboard-view .connection-banner{
  border-color:rgb(237 184 97/.16);
  border-radius:19px;
  background:
    radial-gradient(circle at 4% 50%,rgb(232 174 73/.08),transparent 14rem),
    linear-gradient(110deg,#15191b,#10151e 58%,#111725);
  box-shadow:0 18px 46px rgb(0 0 0/.17),inset 0 1px rgb(255 255 255/.025)
}
.dashboard-view .connection-banner-icon{background:rgb(232 180 91/.09);box-shadow:inset 0 0 0 1px rgb(232 180 91/.08);color:#e5b96f}
.dashboard-view .connection-banner-copy small{color:#a88855}
.dashboard-view .connection-banner-copy h2{color:#f0e9db}
.dashboard-view>.metrics{gap:13px}
.dashboard-view .metric{
  min-height:132px;
  border-color:rgb(136 198 237/.12);
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0,rgb(92 181 255/.08),transparent 9rem),
    linear-gradient(145deg,rgb(15 29 47/.94),rgb(8 16 28/.96));
  box-shadow:0 18px 44px rgb(0 0 0/.15),inset 0 1px rgb(255 255 255/.022)
}
.dashboard-view .metric:before{border-color:rgb(136 198 237/.05)}
.dashboard-view .metric:after{width:26px;background:linear-gradient(90deg,#6fe9ff,#8d8fff);box-shadow:0 0 14px rgb(96 220 255/.32)}
.dashboard-view .metric b{font-size:27px;font-weight:720;color:#f0f9ff}
.dashboard-view .metric-index{color:rgb(151 202 235/.18)!important}
.dashboard-view .overview-card{
  border-color:rgb(136 198 237/.12);
  border-radius:21px;
  background:linear-gradient(145deg,rgb(13 26 43/.95),rgb(8 15 27/.97));
  box-shadow:0 22px 58px rgb(0 0 0/.17),inset 0 1px rgb(255 255 255/.02)
}
.overview-card-head>div:before{background:linear-gradient(#6fe9ff,#8b8fff);box-shadow:0 0 12px rgb(98 220 255/.24)}
.overview-card-head small{color:#6c9ab6}
.overview-card-head h2{color:#eef8ff;font-weight:680}
.overview-card-head p{color:#71869a}
.overview-card-mark{border-color:rgb(119 222 255/.16);background:rgb(62 124 169/.05);color:#6f91a8}
.dashboard-view .activity-columns article,.dashboard-lower-grid .stability-group,.dashboard-lower-grid .traffic-stats>div{
  border-color:rgb(132 198 239/.1);
  background:linear-gradient(145deg,rgb(12 24 40/.84),rgb(7 14 25/.88))
}
.dashboard-lower-grid .stability-grid>div{border-color:rgb(132 198 239/.075);background:rgb(38 75 105/.045)}

@media(min-width:1500px){
  .dashboard-view .ai-command-hero{min-height:500px}
  .dashboard-view .ai-hero-visual{min-height:500px}
  .dashboard-view .ai-hero-copy{padding-top:62px}
}
@media(max-width:1180px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr) 390px}
  .dashboard-view .ai-hero-copy{padding-left:38px}
}
@media(max-width:900px){
  .workspace:before{inset:0}
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr);min-height:450px}
  .dashboard-view .ai-hero-copy{width:100%;min-width:0;padding-right:30px}
  .dashboard-view .ai-title-row{width:100%;min-width:0}
  .dashboard-view .ai-title-row>div:first-child{max-width:64%}
  .dashboard-view .ai-hero-visual{position:absolute;inset:0 0 0 auto;width:50%;height:100%;min-height:0;border-left:0;opacity:.68;pointer-events:none}
  .dashboard-view .ai-hero-visual img{opacity:.62;transform:scale(1.08)}
  .dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#0e1e31 0,transparent 48%),linear-gradient(0deg,#10142c 0,transparent 30%)}
  .dashboard-view .ai-agent-panel{display:none}
  .dashboard-view .ai-overview-strip,.dashboard-view .ai-hero-actions{margin-right:16%}
}
@media(max-width:760px){
  .dashboard-view .ai-command-hero{min-height:auto;margin:12px 12px 0;border-radius:22px;background:radial-gradient(circle at 90% 13%,rgb(73 182 238/.16),transparent 16rem),linear-gradient(145deg,#102239,#0a1425 60%,#11142c)}
  .dashboard-view .ai-hero-copy{padding:28px 17px 22px}
  .dashboard-view .ai-eyebrow{font-size:7px;letter-spacing:.15em}
  .dashboard-view .ai-title-row{display:block;margin-top:23px}
  .dashboard-view .ai-title-row>div:first-child{max-width:100%}
  .dashboard-view .ai-title-row h1{font-size:31px;line-height:1.08}
  .dashboard-view .ai-title-row p{max-width:78%;margin-top:11px;color:#8ba1b5;font-size:11px;line-height:1.75}
  .dashboard-view .ai-title-row .ai-hero-status{width:max-content;margin-top:15px;padding:7px 10px}
  .dashboard-view .ai-overview-strip{grid-template-columns:1fr 1fr;margin:22px 0 0;border-radius:14px}
  .dashboard-view .ai-overview-strip>div{min-height:62px;padding:11px 12px}
  .dashboard-view .ai-overview-strip b{font-size:18px}
  .dashboard-view .ai-hero-actions{grid-template-columns:1fr 1fr;margin:11px 0 0}
  .dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{min-height:62px;padding:10px;border-radius:13px;background:linear-gradient(145deg,rgb(22 44 69/.72),rgb(13 21 39/.76))}
  .dashboard-view .ai-hero-visual{width:54%;opacity:.52}
  .dashboard-view .ai-hero-visual img{opacity:.37;object-position:58% 4%;transform:scale(1.06);filter:saturate(.72) contrast(1.04)}
  .dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#0f2137 0,transparent 65%),linear-gradient(0deg,#10142c 0,transparent 34%)}
  .dashboard-view .connection-banner{border-radius:17px}
  .dashboard-view .metric{min-height:106px;border-radius:16px}
  .dashboard-view .metric b{font-size:23px}
  .dashboard-view .overview-card{border-radius:18px}
}
@media(max-width:420px){
  .dashboard-view .ai-title-row p{max-width:74%}
  .dashboard-view .ai-hero-visual{width:58%;opacity:.48}
}
@media(prefers-reduced-motion:reduce){
  .dashboard-view .ai-skill{transition:none!important}
}

/* Unified product system: every inner page shares the same premium language. */
.content{
  max-width:1720px;
  padding:28px 30px 46px
}
.content:not(.dashboard-view){
  background:
    radial-gradient(circle at 100% 0,rgb(80 148 255/.055),transparent 28rem),
    radial-gradient(circle at 0 100%,rgb(58 222 255/.035),transparent 30rem)
}
.page-head{
  position:relative;
  min-height:126px;
  margin:0 0 22px;
  padding:24px 26px;
  align-items:center;
  overflow:hidden;
  border:1px solid rgb(137 205 244/.13);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 20%,rgb(99 115 255/.1),transparent 17rem),
    radial-gradient(circle at 4% 120%,rgb(75 221 255/.08),transparent 15rem),
    linear-gradient(130deg,rgb(15 30 49/.88),rgb(8 16 29/.92));
  box-shadow:0 22px 60px rgb(0 0 0/.17),inset 0 1px rgb(255 255 255/.026)
}
.page-head:before{
  content:"";
  position:absolute;
  right:18%;
  bottom:-54px;
  width:150px;
  height:150px;
  border:1px solid rgb(110 224 255/.1);
  border-radius:50%;
  box-shadow:0 0 0 28px rgb(111 218 255/.016),0 0 0 56px rgb(120 103 255/.012)
}
.page-head-identity{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  align-items:center;
  gap:18px
}
.page-head>div:first-child{padding-left:0}
.page-head>div:first-child:before{display:none}
.page-head-icon{
  display:grid;
  flex:0 0 54px;
  width:54px;
  height:54px;
  place-items:center;
  border:1px solid rgb(118 225 255/.2);
  border-radius:16px;
  background:linear-gradient(145deg,rgb(53 168 211/.2),rgb(81 74 183/.17));
  box-shadow:inset 0 1px rgb(255 255 255/.045),0 14px 30px rgb(0 0 0/.18),0 0 24px rgb(79 211 255/.06);
  color:#8cecff
}
.page-head-icon svg{width:21px;height:21px;filter:drop-shadow(0 0 9px rgb(89 222 255/.28))}
.page-head-kicker{
  display:block;
  margin-bottom:7px;
  color:#6fa8c6!important;
  font-size:9px!important;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase
}
.page-head h1{margin:0;font-size:28px;font-weight:730;letter-spacing:-.035em;color:#f3f9ff}
.page-head p{max-width:720px;margin-top:7px;color:#7890a6;font-size:12px;line-height:1.65}
.page-head-tools{
  position:relative;
  z-index:2;
  display:flex;
  min-width:0;
  margin-left:auto;
  align-items:center;
  justify-content:flex-end;
  gap:10px
}
.page-context-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:10px}
.page-context-select{
  min-width:210px;
  min-height:47px;
  padding:5px 7px 5px 12px;
  align-items:center;
  gap:9px;
  border:1px solid rgb(137 203 242/.13);
  border-radius:13px;
  background:rgb(5 13 25/.5);
  box-shadow:inset 0 1px rgb(255 255 255/.02)
}
.page-context-select>span{color:#66839b;font-size:10px;white-space:nowrap}
.page-context-select select{
  min-width:120px;
  height:35px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#dbeaf5
}

.card,.panel{
  border-color:rgb(138 200 239/.12);
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgb(73 138 224/.035),transparent 18rem),
    linear-gradient(145deg,rgb(13 26 43/.96),rgb(7 15 27/.97));
  box-shadow:0 22px 60px rgb(0 0 0/.16),inset 0 1px rgb(255 255 255/.022)
}
.panel{padding:25px}
.panel>h3{font-size:17px;color:#edf7ff}
.form-grid{gap:18px 20px}
.field{gap:9px;margin-bottom:0}
.field label,.field>label,.plugin-field label,.license-card-generate-form label>span{
  color:#9eb1c2;
  font-size:12px;
  font-weight:650;
  letter-spacing:.01em
}
.field input,.field select,.field textarea,.toolbar input,.toolbar select,.plugin-field input,.plugin-field select,.plugin-config-grid input,.plugin-config-grid select,.license-card-generate-form input,.license-card-list select{
  min-height:48px;
  padding:11px 14px;
  border:1px solid rgb(135 197 237/.13);
  border-radius:12px;
  background:linear-gradient(145deg,rgb(5 14 26/.92),rgb(8 17 31/.94));
  box-shadow:inset 0 1px rgb(255 255 255/.018);
  color:#e7f1f9;
  transition:border-color .18s,box-shadow .18s,background .18s
}
.field textarea{min-height:132px;padding:14px;line-height:1.75}
.field input::placeholder,.field textarea::placeholder,.toolbar input::placeholder{color:#4e6377}
.field input:hover,.field select:hover,.field textarea:hover,.toolbar input:hover,.toolbar select:hover{
  border-color:rgb(120 214 250/.24);
  background:linear-gradient(145deg,rgb(7 18 32/.98),rgb(10 21 38/.98))
}
.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.toolbar select:focus,.plugin-config-grid input:focus,.plugin-config-grid select:focus,.page-context-select:focus-within{
  border-color:rgb(105 226 255/.48);
  box-shadow:0 0 0 3px rgb(80 211 255/.075),0 10px 26px rgb(0 0 0/.12)
}
.switch-row{
  position:relative;
  min-height:58px;
  margin-bottom:0;
  padding:12px 14px 12px 16px;
  overflow:hidden;
  border-color:rgb(136 199 238/.12);
  border-radius:13px;
  background:linear-gradient(145deg,rgb(15 29 47/.76),rgb(8 17 30/.84));
  color:#c8d8e5
}
.switch-row:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:2px;
  background:linear-gradient(transparent,#6ee9ff,transparent);
  opacity:.38
}
.switch,.join-content-toggle .switch,.card-management-switches .switch-row>.switch{
  flex:0 0 44px;
  width:44px;
  height:24px;
  border:1px solid rgb(137 191 226/.14)!important;
  background:#1e2a37;
  box-shadow:inset 0 3px 8px rgb(0 0 0/.26)
}
.switch:after,.join-content-toggle .switch:after,.card-management-switches .switch-row>.switch:after{
  width:18px;
  height:18px;
  left:2px;
  top:2px;
  background:#9babb9;
  box-shadow:0 4px 10px rgb(0 0 0/.3)
}
.switch:checked,.join-content-toggle .switch:checked,.card-management-switches .switch-row>.switch:checked{
  border-color:rgb(113 232 255/.28)!important;
  background:linear-gradient(90deg,#2dc5e5,#6d79f4);
  box-shadow:0 0 18px rgb(64 210 255/.18),inset 0 1px rgb(255 255 255/.18)
}
.switch:checked:after,.join-content-toggle .switch:checked:after,.card-management-switches .switch-row>.switch:checked:after{
  transform:translateX(20px);
  background:#fff
}
.form-actions{margin-top:22px;padding-top:20px;border-top:1px solid rgb(136 199 238/.09)}
.primary,.ghost,.danger{
  min-height:40px;
  padding:9px 16px;
  border-radius:11px;
  font-size:12px;
  font-weight:700;
  transition:transform .16s,box-shadow .16s,border-color .16s,background .16s
}
.primary:hover,.ghost:hover,.danger:hover{transform:translateY(-1px)}
.danger{
  border:1px solid rgb(255 112 137/.18);
  background:rgb(151 43 65/.12);
  color:#ff9eb0
}
.danger:hover{border-color:rgb(255 119 145/.34);background:rgb(177 49 73/.2);box-shadow:0 12px 28px rgb(116 25 43/.13)}
.toolbar{
  min-height:60px;
  margin:0 0 18px;
  padding:9px 10px;
  gap:10px;
  border:1px solid rgb(137 201 240/.09);
  border-radius:14px;
  background:rgb(4 12 23/.38)
}
.toolbar input{height:42px;max-width:390px;background:#071321}
.toolbar .muted{margin-left:auto;padding:0 8px;color:#667e92;font-size:11px}
.table-wrap{
  overflow:auto;
  border:1px solid rgb(137 200 239/.11);
  border-radius:15px;
  background:rgb(4 11 21/.52);
  box-shadow:inset 0 1px rgb(255 255 255/.012)
}
table{border-collapse:separate;border-spacing:0}
th{
  height:48px;
  padding:12px 15px;
  border-bottom-color:rgb(137 200 239/.11);
  background:linear-gradient(180deg,#111f32,#0d1929);
  color:#7791a7;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em
}
td{
  height:54px;
  padding:12px 15px;
  border-bottom-color:rgb(137 200 239/.07);
  color:#bacbd8;
  font-size:12px
}
.table-wrap tbody tr:nth-child(even) td{background:rgb(68 114 151/.018)}
.table-wrap tbody tr:hover td{background:rgb(68 180 224/.06);color:#e9f6ff}
.badge{
  align-items:center;
  gap:6px;
  min-height:25px;
  padding:4px 9px;
  border:1px solid rgb(116 204 248/.13);
  background:rgb(49 119 169/.1);
  color:#9bd7f1
}
.notice{
  padding:15px 17px;
  border-color:rgb(94 189 242/.18);
  border-radius:13px;
  background:linear-gradient(110deg,rgb(33 104 151/.13),rgb(59 60 145/.09));
  color:#a9d4ed
}
.empty{
  position:relative;
  padding:54px 20px;
  color:#61768a;
  font-size:12px
}
.page-state{min-height:280px}
.page-state-inner{display:grid;place-items:center}
.page-state-inner:before{
  content:"RK";
  display:grid;
  width:50px;
  height:50px;
  margin-bottom:17px;
  place-items:center;
  border:1px solid rgb(111 222 255/.16);
  border-radius:15px;
  background:linear-gradient(145deg,rgb(60 170 209/.12),rgb(92 77 191/.1));
  color:#79cfe6;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em
}
.page-state-inner h2{margin:0 0 7px;color:#e1edf6;font-size:17px}
.page-state-inner p{color:#657c90}

.modal,.message-box-overlay{
  background:rgb(2 6 13/.76);
  backdrop-filter:blur(16px) saturate(.8)
}
.modal-card,.message-box{
  overflow:hidden;
  border:1px solid rgb(120 210 250/.18);
  border-radius:22px;
  background:linear-gradient(145deg,#101e31,#081321);
  box-shadow:0 36px 110px rgb(0 0 0/.62),inset 0 1px rgb(255 255 255/.035)
}
.modal-head,.message-box-head{
  padding:19px 22px;
  border-bottom-color:rgb(136 199 238/.11);
  background:linear-gradient(110deg,rgb(21 41 65/.92),rgb(12 23 41/.94))
}
.modal-head h3,.message-box-head h3{color:#eef7ff;font-weight:680}
.modal-card form{padding:22px}
.modal-actions,.message-box-actions{padding-top:18px;border-top:1px solid rgb(136 199 238/.09)}
.toast{
  border:1px solid rgb(118 213 251/.2);
  border-radius:12px;
  background:rgb(9 25 40/.92);
  box-shadow:0 22px 60px rgb(0 0 0/.4);
  backdrop-filter:blur(18px)
}

.variable-center-hero{
  min-height:150px;
  margin-top:0;
  padding:28px 30px;
  border-color:rgb(119 215 253/.16);
  background:
    radial-gradient(circle at 86% 34%,rgb(94 107 255/.15),transparent 16rem),
    radial-gradient(circle at 8% 120%,rgb(64 221 255/.1),transparent 16rem),
    linear-gradient(130deg,#10263d,#0a1729 62%,#121632)
}
.variable-center-hero small{color:#7be6fb;letter-spacing:.18em}
.variable-center-hero h2{color:#f1f8ff;font-size:25px;letter-spacing:-.025em}
.variable-center-hero p{color:#7f98ad}
.variable-center-summary{
  min-width:260px;
  padding:16px 18px;
  border-color:rgb(118 220 255/.18);
  border-radius:15px;
  background:rgb(5 18 32/.48);
  box-shadow:inset 0 1px rgb(255 255 255/.025)
}
.variable-center-summary b{color:#88eaff;text-shadow:0 0 24px rgb(86 223 255/.2)}
.variable-center-summary span{color:#7690a5}
.variable-center-list{margin-top:16px}
.variable-toolbar{padding:0;border:0;background:transparent}
.variable-toolbar label{max-width:620px}
.variable-toolbar input{height:48px;border-color:rgb(137 200 239/.13);border-radius:13px;background:#071321}
.variable-category-tabs{gap:7px;margin:2px 0 17px;padding-bottom:3px}
.variable-category-tabs button{
  height:34px;
  padding:0 12px;
  border-color:rgb(137 200 239/.11);
  background:rgb(60 103 139/.035);
  color:#71889c
}
.variable-category-tabs button:hover,.variable-category-tabs button.active{
  border-color:rgb(112 226 255/.3);
  background:linear-gradient(110deg,rgb(49 174 210/.17),rgb(91 82 212/.13));
  box-shadow:0 8px 22px rgb(0 0 0/.12);
  color:#bcefff
}
.variable-grid{gap:11px}
.variable-card{
  min-height:132px;
  padding:16px;
  border-color:rgb(136 198 237/.1);
  border-radius:14px;
  background:linear-gradient(145deg,rgb(12 24 40/.85),rgb(7 14 25/.92));
  box-shadow:inset 0 1px rgb(255 255 255/.018)
}
.variable-card:hover{
  border-color:rgb(105 222 255/.25);
  background:linear-gradient(145deg,rgb(17 37 58/.92),rgb(10 18 33/.96));
  box-shadow:0 16px 34px rgb(0 0 0/.17),0 0 24px rgb(78 211 255/.035)
}
.variable-card-title{color:#e5f1f9}
.variable-card-subtitle{color:#698095}
.variable-card-head>span{background:rgb(55 132 180/.09);color:#75b9d8}
.variable-card-foot{border-top-color:rgb(136 198 237/.075)}
.variable-copy{border:1px solid rgb(111 216 255/.14);border-radius:9px;background:rgb(52 125 173/.13);color:#94d8f2}
.variable-copy:hover{background:rgb(64 159 205/.21);color:#d5f6ff}

.log-item,.inactive-action-card,.license-card-generator,.update-summary,.update-settings,.update-notes{
  border-color:rgb(136 199 238/.11)!important;
  background:linear-gradient(145deg,rgb(13 26 43/.94),rgb(7 15 27/.96))!important
}

@media(max-width:900px){
  .content{padding:18px 18px 36px}
  .page-head{align-items:flex-start;flex-direction:column;padding:21px}
  .page-head-tools{width:100%;margin-left:0;justify-content:flex-start}
  .page-context-actions{width:100%;justify-content:flex-start}
  .page-context-select{flex:1 1 220px}
}
@media(max-width:760px){
  .content{padding:12px 12px 28px}
  .page-head{min-height:auto;margin-bottom:12px;padding:17px;border-radius:18px}
  .page-head:before{display:none}
  .page-head-identity{align-items:flex-start;gap:13px}
  .page-head-icon{flex-basis:43px;width:43px;height:43px;border-radius:13px}
  .page-head-icon svg{width:18px;height:18px}
  .page-head-kicker{margin-bottom:5px;font-size:7px!important}
  .page-head h1{font-size:23px}
  .page-head p{margin-top:5px;font-size:11px}
  .page-head-tools,.page-context-actions{align-items:stretch;flex-direction:column}
  .page-context-select{width:100%;min-width:0;flex-basis:auto}
  .panel{padding:16px;border-radius:17px}
  .form-grid{gap:13px}
  .toolbar{align-items:stretch;flex-direction:column;padding:9px}
  .toolbar input,.toolbar select,.toolbar>button{width:100%;max-width:none}
  .toolbar .muted{margin-left:0;padding:3px 4px}
  .field input,.field select,.field textarea{font-size:14px}
  .switch-row{min-height:56px}
  .variable-center-hero{min-height:auto;padding:21px;border-radius:18px}
  .variable-center-summary{width:100%;min-width:0}
  .variable-center-list{margin-top:12px}
  .variable-card{border-radius:13px}
  .modal-card,.message-box{border-radius:18px}
}

/* V9 structural redesign: floating application shell and telemetry-led hero. */
@media(min-width:901px){
  .app{min-height:100vh;padding:14px 14px 14px 0}
  .sidebar{
    inset:14px auto 14px 14px;
    width:250px;
    height:auto;
    border:1px solid rgb(137 204 243/.14);
    border-radius:25px;
    box-shadow:0 32px 90px rgb(0 0 0/.4),inset 0 1px rgb(255 255 255/.028)
  }
  .logo{height:74px;border-radius:24px 24px 0 0}
  .sidebar-foot{border-radius:0 0 24px 24px}
  .workspace{
    width:calc(100% - 278px);
    margin-left:278px;
    padding:0;
    overflow:visible
  }
  .workspace header{
    top:14px;
    height:60px;
    margin:0;
    border:1px solid rgb(137 204 243/.12);
    border-radius:18px;
    background:rgb(5 11 21/.78);
    box-shadow:0 20px 52px rgb(0 0 0/.22),inset 0 1px rgb(255 255 255/.022)
  }
  .content{padding:22px 0 38px}
  .app.sidebar-collapsed .sidebar{width:78px}
  .app.sidebar-collapsed .workspace{width:calc(100% - 106px);margin-left:106px}
  .app.sidebar-collapsed .logo{height:74px}
}

.dashboard-view .ai-command-hero{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  grid-template-rows:minmax(420px,1fr) auto;
  min-height:590px;
  margin:0;
  border-radius:30px
}
.dashboard-view .ai-hero-copy{
  grid-column:1;
  grid-row:1;
  min-height:420px;
  padding:58px 40px 42px 56px
}
.dashboard-view .ai-title-row{display:block;max-width:680px;margin-top:38px}
.dashboard-view .ai-title-kicker{
  display:block;
  margin-bottom:10px;
  color:#6e9eb9;
  font-size:9px;
  font-weight:800;
  letter-spacing:.2em
}
.dashboard-view .ai-title-row h1{font-size:clamp(46px,4.2vw,68px);line-height:1.04}
.dashboard-view .ai-title-row p{max-width:560px;margin-top:17px;font-size:13px;line-height:1.9}
.dashboard-view .ai-title-row .ai-hero-status{width:max-content;margin-top:22px}
.dashboard-view .ai-hero-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:610px;
  gap:11px;
  margin-top:30px
}
.dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{
  min-height:74px;
  padding:13px 16px;
  border-radius:16px
}
.dashboard-view .ai-skill>span{width:36px;height:36px}
.dashboard-view .ai-hero-visual{
  position:relative;
  grid-column:2;
  grid-row:1;
  min-height:420px;
  overflow:hidden
}
.dashboard-view .ai-hero-visual img{
  inset:-4% -2% 0;
  width:104%;
  height:108%;
  object-position:58% 7%;
  transform:scale(1.03)
}
.dashboard-view .ai-visual-mark{
  position:absolute;
  z-index:4;
  top:32px;
  right:30px;
  display:grid;
  width:68px;
  height:68px;
  place-content:center;
  border:1px solid rgb(115 228 255/.2);
  border-radius:50%;
  background:rgb(5 18 32/.32);
  box-shadow:0 0 0 8px rgb(97 210 255/.025),0 0 34px rgb(94 215 255/.1);
  text-align:center;
  backdrop-filter:blur(16px)
}
.dashboard-view .ai-visual-mark:before{
  content:"";
  position:absolute;
  inset:-8px;
  border:1px dashed rgb(118 220 255/.14);
  border-radius:50%
}
.dashboard-view .ai-visual-mark span{color:#dffaff;font-size:16px;font-weight:850;letter-spacing:.08em}
.dashboard-view .ai-visual-mark small{margin-top:3px;color:#6ea8c5;font-size:7px;letter-spacing:.12em}
.dashboard-view .ai-agent-panel{right:28px;bottom:26px;left:28px}
.dashboard-view .ai-overview-strip{
  position:relative;
  z-index:6;
  grid-column:1/-1;
  grid-row:2;
  max-width:none;
  width:auto;
  margin:0;
  border:0;
  border-top:1px solid rgb(126 209 247/.13);
  border-radius:0;
  background:linear-gradient(90deg,rgb(5 17 30/.84),rgb(12 18 43/.82));
  box-shadow:inset 0 1px rgb(255 255 255/.015);
  backdrop-filter:blur(22px)
}
.dashboard-view .ai-overview-strip>div{
  position:relative;
  min-height:112px;
  padding:20px 28px;
  border-color:rgb(126 209 247/.1)
}
.dashboard-view .ai-overview-strip>div:after{
  content:"";
  position:absolute;
  right:16px;
  bottom:14px;
  width:34px;
  height:1px;
  background:linear-gradient(90deg,transparent,#70e7ff)
}
.dashboard-view .ai-overview-strip span{font-size:10px;letter-spacing:.08em}
.dashboard-view .ai-overview-strip b{margin-top:7px;font-size:27px}
.dashboard-view .ai-overview-strip small{
  display:block;
  margin-top:6px;
  color:#49657b;
  font-size:7px;
  font-weight:800;
  letter-spacing:.18em
}
.dashboard-view .connection-banner{margin:16px 0 0}
.dashboard-view>.metrics{margin:16px 0 0}
.dashboard-view .overview-card{margin:16px 0 0}
.dashboard-lower-grid{margin:16px 0 0}

@media(min-width:1500px){
  .dashboard-view .ai-command-hero{grid-template-rows:minmax(452px,1fr) auto;min-height:624px}
  .dashboard-view .ai-hero-copy,.dashboard-view .ai-hero-visual{min-height:452px}
  .dashboard-view .ai-hero-copy{padding-top:68px}
}
@media(max-width:1180px) and (min-width:901px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr) 390px}
  .dashboard-view .ai-hero-copy{padding-left:38px}
  .dashboard-view .ai-title-row h1{font-size:48px}
}
@media(max-width:900px){
  .dashboard-view .ai-command-hero{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(430px,auto) auto;
    min-height:auto;
    margin:12px 12px 0
  }
  .dashboard-view .ai-hero-copy{
    grid-column:1;
    grid-row:1;
    min-height:430px;
    padding:44px 30px 34px
  }
  .dashboard-view .ai-title-row>div:first-child{max-width:64%}
  .dashboard-view .ai-title-row h1{font-size:47px}
  .dashboard-view .ai-hero-actions{max-width:66%;margin-right:0}
  .dashboard-view .ai-hero-visual{
    position:absolute;
    z-index:1;
    inset:0 0 auto auto;
    width:52%;
    height:430px;
    min-height:0;
    opacity:.76
  }
  .dashboard-view .ai-overview-strip{
    grid-column:1;
    grid-row:2;
    margin:0
  }
  .dashboard-view .ai-agent-panel,.dashboard-view .ai-visual-mark{display:none}
  .dashboard-view .connection-banner,.dashboard-view>.metrics,.dashboard-view .overview-card,.dashboard-lower-grid{margin-left:12px;margin-right:12px}
}
@media(max-width:760px){
  .dashboard-view .ai-command-hero{grid-template-rows:minmax(390px,auto) auto;border-radius:22px}
  .dashboard-view .ai-hero-copy{min-height:390px;padding:28px 17px 22px}
  .dashboard-view .ai-title-row{margin-top:25px}
  .dashboard-view .ai-title-row>div:first-child{max-width:100%}
  .dashboard-view .ai-title-kicker{font-size:7px;letter-spacing:.14em}
  .dashboard-view .ai-title-row h1{max-width:78%;font-size:34px}
  .dashboard-view .ai-title-row p{max-width:72%;font-size:11px;line-height:1.75}
  .dashboard-view .ai-title-row .ai-hero-status{margin-top:15px}
  .dashboard-view .ai-hero-actions{max-width:100%;margin-top:22px}
  .dashboard-view .ai-hero-visual{width:60%;height:390px;opacity:.54}
  .dashboard-view .ai-hero-visual img{opacity:.44;object-position:56% 5%;transform:scale(1.02)}
  .dashboard-view .ai-overview-strip{grid-template-columns:1fr 1fr}
  .dashboard-view .ai-overview-strip>div{min-height:82px;padding:13px 15px}
  .dashboard-view .ai-overview-strip b{font-size:20px}
  .dashboard-view .ai-overview-strip small{font-size:6px}
  .dashboard-view .ai-overview-strip>div:after{right:12px;bottom:10px;width:22px}
}

/* V10 motion and material system. */
.cursor-aurora{
  --cursor-x:50vw;
  --cursor-y:50vh;
  position:fixed;
  z-index:100;
  inset:0;
  opacity:0;
  pointer-events:none;
  background:radial-gradient(320px circle at var(--cursor-x) var(--cursor-y),rgb(93 222 255/.075),rgb(98 114 255/.028) 42%,transparent 72%);
  mix-blend-mode:screen;
  transition:opacity .35s
}
.cursor-aurora.visible{opacity:1}
.dashboard-view .ai-command-hero{
  --hero-rx:0deg;
  --hero-ry:0deg;
  --hero-px:0px;
  --hero-py:0px;
  transform:perspective(1500px) rotateX(var(--hero-rx)) rotateY(var(--hero-ry));
  transform-style:preserve-3d;
  transform-origin:center;
  transition:transform .22s cubic-bezier(.2,.75,.25,1),border-color .3s,box-shadow .3s;
  will-change:transform
}
.dashboard-view .ai-command-hero:hover{
  border-color:rgb(126 225 255/.29);
  box-shadow:0 44px 120px rgb(0 0 0/.44),0 0 70px rgb(67 190 255/.055),inset 0 1px rgb(255 255 255/.07)
}
.dashboard-view .ai-command-hero:after{
  content:"";
  position:absolute;
  z-index:10;
  inset:0;
  padding:1px;
  border-radius:inherit;
  pointer-events:none;
  background:conic-gradient(from 0deg,transparent 0 14%,rgb(107 229 255/.42) 20%,transparent 27% 57%,rgb(137 114 255/.3) 63%,transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:rk-border-orbit 11s linear infinite
}
.dashboard-view .ai-hero-grid{animation:rk-grid-drift 18s linear infinite}
.dashboard-view .ai-hero-visual img{
  transform:translate3d(var(--hero-px),var(--hero-py),28px) scale(1.035);
  transition:transform .25s cubic-bezier(.2,.75,.25,1),filter .3s;
  will-change:transform
}
.dashboard-view .ai-command-hero:hover .ai-hero-visual img{filter:saturate(1) contrast(1.06) brightness(.97) drop-shadow(0 26px 50px rgb(0 0 0/.42))}
.dashboard-view .ai-visual-lines{animation:rk-scan 7s linear infinite}
.dashboard-view .ai-visual-mark:before{animation:rk-spin 14s linear infinite}
.dashboard-view .ai-agent-panel{transform:translateZ(42px);transition:border-color .25s,background .25s,transform .25s}
.dashboard-view .ai-command-hero:hover .ai-agent-panel{border-color:rgb(125 232 255/.3);background:linear-gradient(120deg,rgb(8 31 49/.82),rgb(22 20 59/.75));transform:translateZ(52px) translateY(-2px)}
.dashboard-view .ai-overview-strip{transform:translateZ(20px)}
.dashboard-view .ai-overview-strip>div{transition:background .22s,box-shadow .22s}
.dashboard-view .ai-overview-strip>div:hover{background:linear-gradient(145deg,rgb(51 157 197/.1),rgb(68 66 171/.075));box-shadow:inset 0 1px rgb(255 255 255/.025)}
.dashboard-view .ai-overview-strip>div:hover b{color:#fff;text-shadow:0 0 24px rgb(94 225 255/.36)}
.dashboard-view .ai-overview-strip>div:after{transform-origin:right;animation:rk-signal 2.8s ease-in-out infinite}
.dashboard-view .ai-overview-strip>div:nth-child(2):after{animation-delay:.4s}
.dashboard-view .ai-overview-strip>div:nth-child(3):after{animation-delay:.8s}
.dashboard-view .ai-overview-strip>div:nth-child(4):after{animation-delay:1.2s}
.dashboard-view .ai-skill{position:relative;overflow:hidden}
.dashboard-view .ai-skill:after{
  content:"";
  position:absolute;
  inset:-100% auto -100% -40%;
  width:32%;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgb(222 249 255/.12),transparent);
  transform:skewX(-18deg) translateX(-180%);
  transition:transform .75s
}
.dashboard-view .ai-skill:hover:after{transform:skewX(-18deg) translateX(620%)}
.page-head,.card,.variable-card,.switch-row{transition:border-color .22s,box-shadow .22s,transform .22s,background .22s}
.page-head:hover{border-color:rgb(127 221 255/.22);box-shadow:0 26px 70px rgb(0 0 0/.2),0 0 42px rgb(70 198 255/.035),inset 0 1px rgb(255 255 255/.035)}
.page-head:hover .page-head-icon{transform:translateY(-2px) rotate(-2deg);border-color:rgb(115 231 255/.34);box-shadow:inset 0 1px rgb(255 255 255/.055),0 18px 38px rgb(0 0 0/.22),0 0 30px rgb(82 215 255/.12)}
.page-head-icon{transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .22s,box-shadow .22s}
.content:not(.dashboard-view)>.card:hover,.content:not(.dashboard-view)>.panel:hover{border-color:rgb(127 214 252/.18)}
.nav-item{position:relative;overflow:hidden}
.nav-item.active:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 10%,rgb(174 241 255/.065) 46%,transparent 68%);
  transform:translateX(-110%);
  animation:rk-nav-shine 5.5s ease-in-out infinite
}
.workspace header:after{
  content:"";
  position:absolute;
  right:22px;
  bottom:-1px;
  width:90px;
  height:1px;
  background:linear-gradient(90deg,transparent,#6be7ff,transparent);
  opacity:.52;
  animation:rk-header-pulse 3.4s ease-in-out infinite
}
@keyframes rk-border-orbit{to{transform:rotate(360deg)}}
@keyframes rk-grid-drift{to{background-position:84px 42px}}
@keyframes rk-scan{0%{background-position:0 -120px}100%{background-position:0 120px}}
@keyframes rk-spin{to{transform:rotate(360deg)}}
@keyframes rk-signal{0%,100%{opacity:.25;transform:scaleX(.45)}50%{opacity:1;transform:scaleX(1)}}
@keyframes rk-nav-shine{0%,72%{transform:translateX(-110%)}100%{transform:translateX(125%)}}
@keyframes rk-header-pulse{0%,100%{opacity:.16;transform:scaleX(.5)}50%{opacity:.62;transform:scaleX(1)}}
@media(max-width:900px),(pointer:coarse){
  .cursor-aurora{display:none}
  .dashboard-view .ai-command-hero{transform:none!important}
  .dashboard-view .ai-hero-visual img{transform:scale(1.02)!important}
  .dashboard-view .ai-agent-panel,.dashboard-view .ai-overview-strip{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .cursor-aurora{display:none}
  .dashboard-view .ai-command-hero,.dashboard-view .ai-hero-visual img{transform:none!important;transition:none!important}
  .dashboard-view .ai-command-hero:after,.dashboard-view .ai-hero-grid,.dashboard-view .ai-visual-lines,.dashboard-view .ai-visual-mark:before,.dashboard-view .ai-overview-strip>div:after,.nav-item.active:after,.workspace header:after{animation:none!important}
}

/* V11 — RUOKES LIVEHOUSE: warm anime game interface. */
:root{
  --ui-bg:#120a0e;
  --ui-bg-soft:#1a1014;
  --ui-sidebar:#110b10;
  --ui-surface:#21151a;
  --ui-surface-raised:#2a1b20;
  --ui-surface-hover:#352127;
  --ui-border:rgb(255 183 145/.14);
  --ui-border-strong:rgb(255 141 111/.4);
  --ui-text:#fff7ef;
  --ui-text-soft:#ecd7cb;
  --ui-muted:#aa8f89;
  --ui-subtle:#735e5b;
  --ui-primary:#ff9074;
  --ui-cyan:#59dfca;
  --ui-violet:#e889b1;
  --ui-shadow:0 30px 90px rgb(18 4 8/.42)
}
html,body{background:#120a0e}
body{
  background:
    radial-gradient(circle at 83% -6%,rgb(255 112 76/.18),transparent 33rem),
    radial-gradient(circle at 13% 108%,rgb(55 211 184/.09),transparent 34rem),
    linear-gradient(145deg,#12090d,#190e12 48%,#0d090c);
  background-attachment:fixed
}
.workspace:before{
  background:
    linear-gradient(rgb(255 170 125/.025) 1px,transparent 1px),
    linear-gradient(90deg,rgb(255 170 125/.025) 1px,transparent 1px);
  background-size:64px 64px
}
.cursor-aurora{
  background:radial-gradient(340px circle at var(--cursor-x) var(--cursor-y),rgb(255 125 93/.1),rgb(255 176 86/.035) 40%,transparent 72%);
  mix-blend-mode:screen
}

.sidebar{
  border-color:rgb(255 186 145/.14);
  background:
    radial-gradient(circle at 55% -2%,rgb(255 117 83/.14),transparent 16rem),
    linear-gradient(180deg,rgb(29 15 19/.98),rgb(16 10 14/.99) 54%,rgb(12 9 12/.99));
  box-shadow:28px 0 80px rgb(22 3 9/.32),inset 0 1px rgb(255 255 255/.035)
}
.logo{border-bottom-color:rgb(255 190 151/.1);background:linear-gradient(180deg,rgb(255 135 91/.06),transparent)}
.logo img{
  border-color:rgb(255 170 130/.38);
  background:linear-gradient(145deg,rgb(255 130 90/.2),rgb(57 196 175/.15));
  box-shadow:0 0 32px rgb(255 116 81/.13),inset 0 0 18px rgb(255 210 182/.08)
}
.logo-copy small{color:#bd8175}
.nav-search{
  border-color:rgb(255 188 149/.14);
  background:linear-gradient(145deg,rgb(43 24 29/.94),rgb(23 15 20/.96));
  box-shadow:inset 0 1px rgb(255 255 255/.025),0 14px 34px rgb(10 2 5/.22)
}
.nav-search span{color:#d89583}
.nav-search input{color:#fff2ea}
.nav-search input::placeholder{color:#806661}
.nav-search:focus-within{
  border-color:rgb(255 145 112/.55);
  background:#2b181e;
  box-shadow:0 0 0 3px rgb(255 117 83/.09),0 16px 40px rgb(10 2 5/.28)
}
.section-button{color:#f2ddd3}
.section-button svg{color:#ef9a84;filter:drop-shadow(0 0 8px rgb(255 124 89/.18))}
.nav-item{border-radius:13px;color:#a9908b}
.nav-item:hover{border-color:rgb(255 185 143/.11);background:rgb(255 139 96/.065);color:#fff4ed}
.nav-item.active{
  border-color:rgb(255 165 123/.21);
  background:linear-gradient(100deg,rgb(255 119 79/.23),rgb(197 72 102/.14) 60%,rgb(55 204 179/.1));
  box-shadow:0 13px 32px rgb(37 3 11/.22),inset 0 1px rgb(255 255 255/.04)
}
.nav-item.active:before{background:linear-gradient(#ffd081,#ff816a,#58e0ca);box-shadow:0 0 16px rgb(255 127 94/.68)}
.nav-item.active .nav-icon{color:#ffb08f;filter:drop-shadow(0 0 10px rgb(255 120 85/.28))}
.nav-item.active:after{background:linear-gradient(105deg,transparent 10%,rgb(255 224 196/.09) 46%,transparent 68%)}
.sidebar-foot{border-top-color:rgb(255 190 151/.1);background:rgb(15 9 12/.8);color:#836b67}
.sidebar-foot .status-dot{background:#5be0ac;box-shadow:0 0 0 4px rgb(91 224 172/.09),0 0 15px rgb(91 224 172/.32)}

.workspace header{
  border-color:rgb(255 187 145/.13);
  background:rgb(24 14 18/.77);
  box-shadow:0 20px 54px rgb(20 3 8/.24),inset 0 1px rgb(255 255 255/.025);
  backdrop-filter:blur(28px) saturate(1.22)
}
.workspace header:after{background:linear-gradient(90deg,transparent,#ff936f,#58dfca,transparent)}
.breadcrumb-home,#menu-toggle,.header-actions .icon-btn{
  border-color:rgb(255 188 149/.13);
  background:linear-gradient(145deg,rgb(55 30 35/.78),rgb(26 17 21/.82));
  color:#d8b0a2
}
.breadcrumb b{color:#fff5ef}.breadcrumb span{color:#987b74}
.avatar{border-color:rgb(255 165 124/.23);background:linear-gradient(145deg,#6b322f,#334b45);box-shadow:0 0 24px rgb(255 116 80/.1);color:#fff5ed}

.content:not(.dashboard-view){
  background:
    radial-gradient(circle at 100% 0,rgb(255 117 81/.07),transparent 29rem),
    radial-gradient(circle at 0 100%,rgb(60 211 183/.045),transparent 30rem)
}
.page-head{
  border-color:rgb(255 184 143/.14);
  background:
    radial-gradient(circle at 88% 20%,rgb(255 110 78/.12),transparent 18rem),
    radial-gradient(circle at 4% 120%,rgb(55 207 182/.08),transparent 16rem),
    linear-gradient(130deg,rgb(45 25 31/.9),rgb(23 15 20/.94));
  box-shadow:0 24px 64px rgb(24 3 9/.2),inset 0 1px rgb(255 255 255/.03)
}
.page-head:before{border-color:rgb(255 157 116/.12);box-shadow:0 0 0 28px rgb(255 139 97/.02),0 0 0 56px rgb(58 211 185/.016)}
.page-head-icon{
  border-color:rgb(255 165 124/.24);
  background:linear-gradient(145deg,rgb(255 120 82/.23),rgb(50 192 171/.16));
  box-shadow:inset 0 1px rgb(255 255 255/.05),0 15px 34px rgb(24 3 9/.22),0 0 28px rgb(255 112 77/.07);
  color:#ffad8e
}
.page-head-icon svg{filter:drop-shadow(0 0 9px rgb(255 125 88/.32))}
.page-head-kicker{color:#d48673!important}.page-head h1{color:#fff7f0}.page-head p{color:#a88881}
.page-head:hover{border-color:rgb(255 164 120/.26);box-shadow:0 28px 74px rgb(24 3 9/.24),0 0 44px rgb(255 111 76/.045),inset 0 1px rgb(255 255 255/.04)}
.page-head:hover .page-head-icon{border-color:rgb(255 164 119/.38);box-shadow:inset 0 1px rgb(255 255 255/.06),0 18px 40px rgb(24 3 9/.25),0 0 32px rgb(255 117 81/.14)}
.page-context-select{border-color:rgb(255 187 146/.14);background:rgb(24 13 18/.56)}
.page-context-select>span{color:#9a7770}.page-context-select select{color:#f2ded5}

.card,.panel{
  border-color:rgb(255 185 145/.12);
  background:
    radial-gradient(circle at 100% 0,rgb(255 111 75/.04),transparent 19rem),
    linear-gradient(145deg,rgb(38 22 28/.96),rgb(20 14 18/.98));
  box-shadow:0 23px 64px rgb(23 3 9/.18),inset 0 1px rgb(255 255 255/.024)
}
.panel>h3{color:#fff4ec}
.field label,.field>label,.plugin-field label,.license-card-generate-form label>span{color:#c2a39a}
.field input,.field select,.field textarea,.toolbar input,.toolbar select,.plugin-field input,.plugin-field select,.plugin-config-grid input,.plugin-config-grid select,.license-card-generate-form input,.license-card-list select{
  border-color:rgb(255 185 143/.13);
  background:linear-gradient(145deg,rgb(22 13 17/.94),rgb(30 17 22/.96));
  color:#f8eae3
}
.field input::placeholder,.field textarea::placeholder,.toolbar input::placeholder{color:#745c58}
.field input:hover,.field select:hover,.field textarea:hover,.toolbar input:hover,.toolbar select:hover{border-color:rgb(255 164 119/.26);background:linear-gradient(145deg,rgb(28 16 21/.98),rgb(40 22 28/.98))}
.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.toolbar select:focus,.plugin-config-grid input:focus,.plugin-config-grid select:focus,.page-context-select:focus-within{border-color:rgb(255 143 105/.52);box-shadow:0 0 0 3px rgb(255 112 78/.08),0 11px 28px rgb(22 3 8/.14)}
.switch-row{border-color:rgb(255 185 143/.12);background:linear-gradient(145deg,rgb(43 24 30/.8),rgb(25 16 20/.88));color:#e3cbc1}
.switch-row:before{background:linear-gradient(transparent,#ff8b6d,#58ddc8,transparent)}
.switch:checked,.join-content-toggle .switch:checked,.card-management-switches .switch-row>.switch:checked{border-color:rgb(255 171 126/.3)!important;background:linear-gradient(90deg,#ff8069,#e57b9e 58%,#54cdbb);box-shadow:0 0 20px rgb(255 116 84/.2),inset 0 1px rgb(255 255 255/.2)}
.primary{border-color:rgb(255 188 132/.32);background:linear-gradient(115deg,#ffd082,#ff916f 55%,#ef7ea7);box-shadow:0 13px 32px rgb(255 102 67/.18),inset 0 1px rgb(255 255 255/.56);color:#2b1114}
.primary:hover{border-color:#ffe1b0;background:linear-gradient(115deg,#ffe0a0,#ffa087 55%,#f292b5);box-shadow:0 17px 40px rgb(255 102 67/.25);color:#1b0a0d}
.ghost{border-color:rgb(255 184 143/.15);background:rgb(255 134 92/.06);color:#d9bcb2}.ghost:hover{border-color:rgb(255 158 116/.3);background:rgb(255 134 92/.12);color:#fff6ef}
.toolbar{border-color:rgb(255 185 143/.1);background:rgb(20 12 16/.45)}
.table-wrap{border-color:rgb(255 185 143/.11);background:rgb(18 11 15/.58)}
th{border-bottom-color:rgb(255 185 143/.11);background:linear-gradient(180deg,#382128,#29191f);color:#a9857d}
td{border-bottom-color:rgb(255 185 143/.07);color:#d5bdb4}.table-wrap tbody tr:hover td{background:rgb(255 126 86/.065);color:#fff4ed}
.badge{border-color:rgb(255 170 127/.15);background:rgb(255 121 82/.11);color:#f3b79f}
.notice{border-color:rgb(255 156 113/.2);background:linear-gradient(110deg,rgb(151 62 48/.15),rgb(53 139 125/.09));color:#e8b9a6}

.dashboard-view{max-width:1720px}
.dashboard-view .ai-command-hero{
  grid-template-columns:minmax(0,1.02fr) minmax(440px,.98fr);
  grid-template-rows:minmax(470px,1fr) auto;
  min-height:650px;
  border-color:rgb(255 178 130/.24);
  background:
    radial-gradient(circle at 77% 19%,rgb(255 127 77/.23),transparent 20rem),
    radial-gradient(circle at 93% 88%,rgb(47 211 182/.16),transparent 25rem),
    linear-gradient(120deg,#3b1d21 0,#211318 44%,#17151a 100%);
  box-shadow:0 42px 120px rgb(28 3 10/.44),inset 0 1px rgb(255 255 255/.065)
}
.dashboard-view .ai-command-hero:hover{border-color:rgb(255 178 129/.38);box-shadow:0 48px 130px rgb(28 3 10/.48),0 0 82px rgb(255 98 65/.075),inset 0 1px rgb(255 255 255/.08)}
.dashboard-view .ai-command-hero:before{left:-170px;bottom:-260px;border-color:rgb(255 171 120/.16);box-shadow:0 0 0 64px rgb(255 120 80/.03),0 0 0 128px rgb(53 204 181/.022)}
.dashboard-view .ai-command-hero:after{background:conic-gradient(from 0deg,transparent 0 14%,rgb(255 173 116/.5) 20%,transparent 27% 57%,rgb(83 225 201/.35) 63%,transparent 70%)}
.dashboard-view .ai-hero-grid{
  z-index:1;
  opacity:.42;
  background-image:linear-gradient(rgb(255 191 143/.055) 1px,transparent 1px),linear-gradient(90deg,rgb(255 191 143/.055) 1px,transparent 1px);
  background-size:50px 50px;
  mask-image:linear-gradient(90deg,#000,transparent 78%)
}
.livehouse-scene{position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none}
.livehouse-scene:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgb(57 29 32/.98) 0,rgb(37 20 25/.9) 38%,transparent 68%),
    linear-gradient(0deg,rgb(23 13 17/.98) 0,transparent 42%),
    radial-gradient(ellipse at 76% 25%,rgb(255 149 78/.2),transparent 32%);
  opacity:.86
}
.livehouse-ceiling{position:absolute;top:-74px;right:-5%;width:74%;height:240px;transform:skewX(-12deg);border-bottom:1px solid rgb(255 193 143/.13);background:repeating-linear-gradient(90deg,rgb(255 255 255/.035) 0 4px,transparent 4px 72px),linear-gradient(rgb(8 7 10/.86),transparent)}
.livehouse-light{position:absolute;top:17px;width:88px;height:88px;border:1px solid rgb(255 198 143/.14);border-radius:50%;background:radial-gradient(circle at 50% 52%,#ffd47e 0 5%,#ff9a54 6% 12%,rgb(96 36 31/.8) 13% 30%,rgb(11 9 11/.88) 32% 56%,transparent 58%);box-shadow:0 30px 85px rgb(255 115 50/.35)}
.livehouse-light:before{content:"";position:absolute;bottom:82px;left:42px;width:2px;height:120px;background:linear-gradient(#09080a,#4f3430)}
.livehouse-light.light-a{right:39%}.livehouse-light.light-b{right:20%;top:42px;transform:scale(.74)}.livehouse-light.light-c{right:3%;top:5px;transform:scale(.56)}
.livehouse-sign{position:absolute;z-index:1;top:66px;right:8%;display:grid;place-items:center;transform:rotate(-2deg);text-align:center}
.livehouse-sign b{color:#ffd895;font-size:clamp(29px,3vw,49px);font-weight:950;font-style:italic;letter-spacing:.12em;text-shadow:0 0 7px #ff8a50,0 0 25px rgb(255 105 58/.8),0 0 58px rgb(255 88 47/.42)}
.livehouse-sign span{margin-top:3px;color:#76ead4;font-size:7px;font-weight:900;letter-spacing:.32em;text-shadow:0 0 14px rgb(69 224 197/.75)}
.livehouse-screen{position:absolute;border:1px solid rgb(91 221 198/.17);border-radius:10px;background:linear-gradient(135deg,rgb(20 94 85/.18),rgb(255 114 76/.08));box-shadow:inset 0 0 22px rgb(72 218 194/.05),0 18px 42px rgb(15 2 6/.25)}
.livehouse-screen:before{content:"";position:absolute;inset:10px;background:repeating-linear-gradient(0deg,rgb(93 225 201/.12) 0 1px,transparent 1px 11px)}
.livehouse-screen.screen-a{right:3%;top:181px;width:150px;height:84px;transform:rotate(3deg)}
.livehouse-screen.screen-b{right:35%;top:157px;width:102px;height:64px;transform:rotate(-4deg)}
.livehouse-counter{position:absolute;right:-7%;bottom:93px;width:62%;height:116px;transform:perspective(420px) rotateX(57deg) rotateZ(-2deg);border:1px solid rgb(255 174 120/.16);background:linear-gradient(90deg,#69362d,#b75237 45%,#4a2d2c);box-shadow:0 -8px 0 #25171b,0 -12px 25px rgb(255 95 53/.12),0 45px 70px rgb(12 2 5/.45)}
.dashboard-view .ai-hero-copy{z-index:5;padding:48px 34px 38px 52px}
.dashboard-view .ai-eyebrow{color:#72e6d1}.dashboard-view .ai-eyebrow>span{background:linear-gradient(90deg,#58dfc8,#ffd17e,#ff8169);box-shadow:0 0 14px rgb(255 121 84/.44)}
.dashboard-view .ai-eyebrow em{border-color:rgb(255 174 125/.25);background:rgb(255 116 77/.09);color:#ffc19f}
.dashboard-view .ai-title-kicker{color:#d2917f}
.dashboard-view .ai-title-row h1{background:linear-gradient(100deg,#fff9f0 5%,#ffd8bf 50%,#ff9e83 88%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 18px 45px rgb(255 103 67/.16)}
.dashboard-view .ai-title-row p{color:#c2a49a}
.dashboard-view .ai-title-row .ai-hero-status{border-color:rgb(255 171 123/.22);background:rgb(48 24 28/.64);color:#f2c2ae}
.dashboard-view .ai-title-row .ai-hero-status.online{border-color:rgb(79 221 180/.26);background:rgb(19 76 64/.28);color:#90efd0}
.dashboard-view .ai-hero-actions{gap:12px}
.dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{
  min-height:78px;
  border-color:rgb(255 181 137/.16);
  border-radius:17px 10px 17px 10px;
  background:linear-gradient(145deg,rgb(76 39 43/.68),rgb(34 23 29/.72));
  box-shadow:inset 0 1px rgb(255 255 255/.035),0 16px 34px rgb(20 3 8/.17);
  color:#f0d9cf
}
.dashboard-view .ai-skill.primary{border-color:rgb(255 163 117/.32);background:linear-gradient(145deg,rgb(165 67 53/.58),rgb(123 47 71/.42));color:#fff8ef}
.dashboard-view .ai-skill:hover,.dashboard-view .ai-skill.primary:hover{border-color:rgb(255 171 124/.46);background:linear-gradient(145deg,rgb(184 76 57/.58),rgb(75 114 104/.42));box-shadow:0 20px 42px rgb(20 3 8/.22),0 0 30px rgb(255 107 70/.09)}
.dashboard-view .ai-skill>span{background:linear-gradient(145deg,rgb(255 139 96/.18),rgb(64 211 187/.15));color:#ffb193}
.dashboard-view .ai-skill small{color:#987870}
.dashboard-view .ai-hero-visual{z-index:3;border-left-color:rgb(255 186 140/.08);background:radial-gradient(circle at 52% 45%,rgb(255 127 79/.19),transparent 48%),linear-gradient(90deg,transparent,rgb(48 107 96/.1))}
.dashboard-view .ai-hero-visual:before{border-color:rgb(255 175 125/.14);box-shadow:0 0 0 28px rgb(255 118 79/.022),0 0 80px rgb(255 105 63/.08)}
.dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#321a20 0,transparent 30%),linear-gradient(0deg,#1a1217 0,transparent 28%),linear-gradient(180deg,rgb(12 9 12/.04),transparent 40%)}
.dashboard-view .ai-hero-visual img{opacity:.9;object-position:62% 8%;filter:sepia(.17) saturate(.84) contrast(1.08) brightness(.86) drop-shadow(0 24px 50px rgb(16 2 6/.48))}
.dashboard-view .ai-command-hero:hover .ai-hero-visual img{filter:sepia(.14) saturate(.92) contrast(1.1) brightness(.9) drop-shadow(0 30px 58px rgb(16 2 6/.5))}
.dashboard-view .ai-visual-lines{opacity:.3;background:linear-gradient(180deg,transparent 48%,rgb(255 172 119/.06) 49%,transparent 50%)}
.dashboard-view .ai-visual-mark{border-color:rgb(255 180 129/.28);background:rgb(45 22 25/.46);box-shadow:0 0 0 8px rgb(255 119 76/.03),0 0 38px rgb(255 105 62/.14)}
.dashboard-view .ai-visual-mark:before{border-color:rgb(84 225 199/.22)}
.dashboard-view .ai-visual-mark span{color:#ffd498;font-size:12px}.dashboard-view .ai-visual-mark small{color:#73cfbd}
.livehouse-crew{position:absolute;z-index:6;top:118px;right:18px;display:grid;gap:8px}
.livehouse-crew>span{display:flex;min-width:112px;align-items:center;gap:8px;padding:7px 10px 7px 7px;border:1px solid rgb(255 182 136/.16);border-radius:999px;background:rgb(35 18 23/.56);box-shadow:0 11px 28px rgb(18 2 7/.18);backdrop-filter:blur(15px)}
.livehouse-crew i{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ff986f,#c85a74 58%,#4fcab8);color:#fff8ef;font-size:10px;font-style:normal;font-weight:850}
.livehouse-crew small{color:#d9b8ac;font-size:8px;letter-spacing:.05em}
.dashboard-view .ai-agent-panel{border-color:rgb(255 174 125/.23);background:linear-gradient(120deg,rgb(57 27 31/.82),rgb(25 38 37/.72));box-shadow:0 20px 48px rgb(20 2 7/.3),inset 0 1px rgb(255 255 255/.045)}
.dashboard-view .ai-agent-panel>div span{color:#71dfca}.dashboard-view .ai-agent-panel>div b{color:#fff2e9}.dashboard-view .ai-agent-panel dl{border-color:rgb(255 184 138/.11)}.dashboard-view .ai-agent-panel dt{color:#9d7c72}.dashboard-view .ai-agent-panel dd{color:#eed2c6}
.dashboard-view .ai-command-hero:hover .ai-agent-panel{border-color:rgb(255 177 128/.34);background:linear-gradient(120deg,rgb(70 31 34/.86),rgb(28 55 50/.76))}
.dashboard-view .ai-overview-strip{border-top-color:rgb(255 181 136/.15);background:linear-gradient(90deg,rgb(42 21 26/.91),rgb(38 27 30/.88) 55%,rgb(19 49 44/.86));box-shadow:inset 0 1px rgb(255 255 255/.02)}
.dashboard-view .ai-overview-strip>div{border-color:rgb(255 184 140/.11)}
.dashboard-view .ai-overview-strip>div:hover{background:linear-gradient(145deg,rgb(255 112 75/.1),rgb(50 205 180/.075))}
.dashboard-view .ai-overview-strip>div:after{background:linear-gradient(90deg,transparent,#ff9b70,#5ae2cb)}
.dashboard-view .ai-overview-strip span{color:#a17f75}.dashboard-view .ai-overview-strip b{color:#fff4ec;text-shadow:0 0 22px rgb(255 126 86/.18)}.dashboard-view .ai-overview-strip small{color:#745e5a}
.dashboard-view .connection-banner{border-color:rgb(255 179 117/.18);background:radial-gradient(circle at 4% 50%,rgb(255 150 70/.09),transparent 14rem),linear-gradient(110deg,#2a1c1b,#1c1519 58%,#18221f)}
.dashboard-view .metric{border-color:rgb(255 185 144/.12);background:radial-gradient(circle at 100% 0,rgb(255 113 76/.09),transparent 9rem),linear-gradient(145deg,rgb(42 24 30/.95),rgb(21 15 19/.97))}
.dashboard-view .metric:after{background:linear-gradient(90deg,#ffca7c,#ff8169,#56d9c3);box-shadow:0 0 15px rgb(255 114 77/.34)}
.dashboard-view .metric b{color:#fff4ec}.dashboard-view .metric-index{color:rgb(255 185 144/.2)!important}
.dashboard-view .overview-card{border-color:rgb(255 185 144/.12);background:linear-gradient(145deg,rgb(39 23 28/.96),rgb(20 14 18/.98))}
.overview-card-head>div:before{background:linear-gradient(#ffc879,#ff8069,#55dbc5);box-shadow:0 0 13px rgb(255 114 78/.26)}
.overview-card-head small{color:#bd806f}.overview-card-head h2{color:#fff3eb}.overview-card-head p{color:#94776f}
.overview-card-mark{border-color:rgb(255 172 127/.18);background:rgb(255 121 81/.06);color:#9e7c72}
.dashboard-view .activity-columns article,.dashboard-lower-grid .stability-group,.dashboard-lower-grid .traffic-stats>div{border-color:rgb(255 185 143/.1);background:linear-gradient(145deg,rgb(35 21 26/.86),rgb(18 13 17/.9))}
.dashboard-lower-grid .stability-grid>div{border-color:rgb(255 185 143/.075);background:rgb(255 125 85/.045)}

.variable-center-hero{border-color:rgb(255 171 125/.18);background:radial-gradient(circle at 86% 34%,rgb(255 108 76/.15),transparent 16rem),radial-gradient(circle at 8% 120%,rgb(57 211 184/.1),transparent 16rem),linear-gradient(130deg,#48272c,#25171d 62%,#172420)}
.variable-center-hero small{color:#6fe0ca}.variable-center-hero h2{color:#fff4ec}.variable-center-hero p{color:#aa8a81}
.variable-category-tabs button{border-color:rgb(255 184 143/.12);background:rgb(255 123 82/.04);color:#97776f}
.variable-category-tabs button:hover,.variable-category-tabs button.active{border-color:rgb(255 162 117/.34);background:linear-gradient(110deg,rgb(255 110 73/.18),rgb(56 202 178/.13));color:#ffd1bd}
.variable-card{border-color:rgb(255 184 142/.1);background:linear-gradient(145deg,rgb(35 21 26/.88),rgb(18 13 17/.94))}
.variable-card:hover{border-color:rgb(255 161 116/.27);background:linear-gradient(145deg,rgb(46 26 31/.94),rgb(23 15 20/.97));box-shadow:0 17px 36px rgb(23 3 9/.19),0 0 26px rgb(255 108 73/.04)}
.variable-card-title{color:#f8e9e2}.variable-card-subtitle{color:#92736b}.variable-card-head>span{background:rgb(255 120 80/.1);color:#d99580}.variable-copy{border-color:rgb(255 164 121/.16);background:rgb(255 119 79/.13);color:#f0b198}

@media(max-width:1180px) and (min-width:901px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr) 410px}
  .livehouse-sign{right:5%}
}
@media(max-width:900px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(430px,auto) auto;background:radial-gradient(circle at 88% 14%,rgb(255 117 78/.2),transparent 18rem),linear-gradient(145deg,#412126,#23151b 60%,#17201e)}
  .livehouse-light.light-a{right:30%}.livehouse-light.light-b{right:6%}.livehouse-light.light-c{display:none}
  .livehouse-sign{right:4%;opacity:.75}.livehouse-screen{opacity:.55}.livehouse-counter{width:66%;opacity:.7}
  .dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#351b21 0,transparent 58%),linear-gradient(0deg,#1c1419 0,transparent 32%)}
  .livehouse-crew{display:none}
}
@media(max-width:760px){
  .dashboard-view .ai-command-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(420px,auto) auto;min-height:auto;background:radial-gradient(circle at 90% 13%,rgb(255 116 77/.19),transparent 17rem),linear-gradient(145deg,#402126,#22151b 60%,#17201e)}
  .dashboard-view .ai-hero-copy{min-height:420px;padding:27px 17px 23px}
  .dashboard-view .ai-title-row h1{max-width:86%;font-size:35px}
  .dashboard-view .ai-title-row p{max-width:74%;color:#b09289}
  .dashboard-view .ai-hero-visual{width:63%;height:420px;opacity:.58}
  .dashboard-view .ai-hero-visual img{opacity:.54;object-position:58% 5%;filter:sepia(.16) saturate(.8) contrast(1.06) brightness(.78)}
  .dashboard-view .ai-hero-visual:after{background:linear-gradient(90deg,#3a1e23 0,transparent 68%),linear-gradient(0deg,#1d1419 0,transparent 36%)}
  .livehouse-sign{top:55px;right:2%;opacity:.52}.livehouse-sign b{font-size:24px}.livehouse-sign span{display:none}
  .livehouse-light{opacity:.48}.livehouse-counter,.livehouse-screen{display:none}
  .dashboard-view .ai-skill,.dashboard-view .ai-skill.primary{border-radius:14px 8px 14px 8px}
  .dashboard-view .ai-overview-strip>div{min-height:84px}
  .nav-search{height:52px;border-radius:15px}
}
@media(max-width:420px){
  .dashboard-view .ai-title-row p{max-width:70%}
  .dashboard-view .ai-hero-visual{width:66%;opacity:.52}
}

/* V12 — true game lobby. Replaces the dashboard hero instead of recoloring it. */
@media(min-width:901px){
  .sidebar{width:226px}
  .workspace{width:calc(100% - 254px);margin-left:254px}
  .app.sidebar-collapsed .workspace{width:calc(100% - 106px);margin-left:106px}
  .workspace:has(.dashboard-view) header{border-color:transparent;background:rgb(15 10 12/.38);box-shadow:none}
}
.club-lobby.ai-command-hero{
  position:relative;
  display:block;
  min-height:clamp(650px,calc(100vh - 110px),820px);
  isolation:isolate;
  overflow:hidden;
  border:1px solid rgb(255 199 158/.2);
  border-radius:28px;
  background:#100c0d;
  box-shadow:0 40px 120px rgb(17 3 7/.48),inset 0 1px rgb(255 255 255/.08)
}
.club-lobby.ai-command-hero:before{display:none}
.club-lobby.ai-command-hero:after{
  inset:0;
  padding:1px;
  background:linear-gradient(120deg,rgb(255 213 170/.35),transparent 24%,transparent 74%,rgb(86 232 207/.26));
  animation:none
}
.club-scene{position:absolute;z-index:0;inset:0;overflow:hidden;background:#110d0e}
.club-scene>img{
  position:absolute;
  inset:-2%;
  width:104%;
  height:104%;
  object-fit:cover;
  object-position:center;
  transform:translate3d(var(--hero-px),var(--hero-py),0) scale(1.018);
  filter:saturate(.98) contrast(1.04) brightness(.88);
  transition:transform .28s cubic-bezier(.2,.75,.25,1),filter .3s;
  will-change:transform
}
.club-lobby:hover .club-scene>img{filter:saturate(1.06) contrast(1.06) brightness(.92)}
.club-scene-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgb(10 8 9/.9) 0,rgb(11 8 9/.73) 22%,rgb(11 8 9/.2) 46%,transparent 66%),
    linear-gradient(0deg,rgb(10 7 8/.93) 0,transparent 28%),
    linear-gradient(180deg,rgb(8 7 8/.28),transparent 22%);
  pointer-events:none
}
.club-grain{
  position:absolute;
  inset:0;
  opacity:.12;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light
}
.club-hud{position:absolute;z-index:6;top:27px;right:30px;left:32px;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}
.club-season{display:flex;align-items:center;gap:10px;color:#fff}
.club-season>span{display:grid;height:31px;padding:0 11px;place-items:center;border:1px solid rgb(255 189 135/.38);border-radius:7px;background:rgb(207 74 41/.76);box-shadow:0 8px 24px rgb(86 15 10/.28);font-size:10px;font-weight:950;letter-spacing:.14em}
.club-season>b{font-size:14px;letter-spacing:.06em}.club-season>small{padding-left:10px;border-left:1px solid rgb(255 255 255/.22);color:rgb(255 239 226/.62);font-size:7px;font-weight:850;letter-spacing:.2em}
.club-status{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 9px;padding:9px 13px;border:1px solid rgb(255 198 155/.21);border-radius:12px;background:rgb(16 12 13/.62);box-shadow:0 16px 36px rgb(11 3 5/.22);backdrop-filter:blur(18px)}
.club-status>i{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:#ffc866;box-shadow:0 0 15px #ffb14e}
.club-status.online>i{background:#57e6b0;box-shadow:0 0 15px #57e6b0}.club-status>span{color:#fff2e8;font-size:10px;font-weight:750}.club-status>small{color:#a78980;font-size:6px;font-weight:800;letter-spacing:.16em}
.club-copy{position:absolute;z-index:5;top:104px;left:48px;width:min(470px,42%)}
.club-label{display:flex;align-items:center;gap:9px;color:#eac7b6;font-size:10px;font-weight:700;letter-spacing:.08em}
.club-label>span{display:inline-grid;height:24px;padding:0 8px;place-items:center;border-radius:6px;background:#e86743;box-shadow:0 8px 22px rgb(129 38 25/.28);color:#fff6ec;font-size:8px;font-weight:950;letter-spacing:.14em}
.club-copy h1{margin:18px 0 0;color:#fff8ee;font-size:clamp(42px,4.1vw,67px);font-weight:900;line-height:1.04;letter-spacing:-.055em;text-shadow:0 14px 45px rgb(0 0 0/.42)}
.club-copy h1 em{color:#ffb06f;font-style:normal;text-shadow:0 0 32px rgb(255 117 61/.22)}
.club-copy p{max-width:420px;margin-top:16px;color:rgb(255 235 222/.72);font-size:12px;line-height:1.8;text-shadow:0 4px 18px rgb(0 0 0/.58)}
.club-quick-menu{position:absolute;z-index:7;bottom:112px;left:45px;display:grid;width:min(520px,45%);grid-template-columns:1fr 1fr;gap:9px}
.club-action{
  position:relative;
  display:grid;
  min-width:0;
  min-height:76px;
  padding:12px 12px;
  grid-template-columns:38px minmax(0,1fr) 16px;
  align-items:center;
  gap:10px;
  overflow:hidden;
  border:1px solid rgb(255 194 151/.2);
  border-radius:13px 7px 13px 7px;
  background:linear-gradient(120deg,rgb(23 16 17/.83),rgb(44 23 24/.68));
  box-shadow:0 14px 32px rgb(10 3 5/.22),inset 0 1px rgb(255 255 255/.045);
  color:#f8e8dd;
  text-align:left;
  backdrop-filter:blur(14px) saturate(1.18);
  transition:transform .2s,border-color .2s,background .2s,box-shadow .2s
}
.club-action:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#ffd178,#ef6b47,#55dbc2);opacity:.55}
.club-action:hover{z-index:2;border-color:rgb(255 181 126/.48);background:linear-gradient(120deg,rgb(105 42 29/.88),rgb(51 53 45/.78));box-shadow:0 18px 42px rgb(12 3 5/.28),0 0 30px rgb(255 114 62/.1);transform:translateY(-3px) scale(1.015)}
.club-action.primary{border-color:rgb(255 174 113/.42);background:linear-gradient(120deg,rgb(168 63 35/.88),rgb(91 36 38/.78))}
.club-action>span{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgb(255 204 165/.18);border-radius:10px;background:rgb(255 255 255/.07);color:#ffc28d}.club-action>span svg{width:17px;height:17px}
.club-action>div{display:grid;min-width:0}.club-action small{color:#d48a70;font-size:6px;font-weight:900;letter-spacing:.16em}.club-action b{margin-top:3px;color:#fff6ed;font-size:13px}.club-action em{margin-top:3px;overflow:hidden;color:#9e8178;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.club-action>i{color:#d9b5a6;font-size:22px;font-style:normal;font-weight:300}
.club-team-tags{position:absolute;z-index:6;right:31px;bottom:112px;display:flex;gap:7px}
.club-team-tags>span{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgb(95 225 204/.2);border-radius:999px;background:rgb(11 19 18/.54);box-shadow:0 12px 28px rgb(0 0 0/.2);color:#c8e9df;font-size:8px;font-weight:750;backdrop-filter:blur(15px)}
.club-team-tags i{display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#4ccbb7,#1b756b);color:#edfffb;font-size:6px;font-style:normal;font-weight:900}
.club-lobby .club-dock.ai-overview-strip{position:absolute;z-index:8;right:0;bottom:0;left:0;display:grid;width:auto;max-width:none;margin:0;grid-template-columns:repeat(4,1fr);border:0;border-top:1px solid rgb(255 198 157/.18);border-radius:0;background:linear-gradient(90deg,rgb(19 13 14/.92),rgb(35 20 19/.9) 56%,rgb(13 31 28/.91));box-shadow:0 -16px 40px rgb(8 2 4/.2),inset 0 1px rgb(255 255 255/.025);backdrop-filter:blur(22px) saturate(1.22);transform:none}
.club-lobby .club-dock>div{min-height:90px;padding:15px 23px;border-color:rgb(255 195 153/.13)}
.club-lobby .club-dock span{color:#a88173;font-size:8px}.club-lobby .club-dock b{margin-top:5px;color:#fff3e9;font-size:23px}.club-lobby .club-dock small{margin-top:4px;color:#68544f;font-size:6px}.club-lobby .club-dock>div:after{background:linear-gradient(90deg,transparent,#ffad66,#59ddc6)}

/* The generated scene is the visual focus; supporting dashboard cards become quieter. */
.dashboard-view .connection-banner,.dashboard-view>.metrics,.dashboard-view .overview-card,.dashboard-lower-grid{margin-top:13px}
.dashboard-view>.metrics{gap:10px}.dashboard-view .metric{min-height:104px;border-radius:15px;background:linear-gradient(145deg,rgb(32 21 23/.92),rgb(17 13 15/.96))}.dashboard-view .metric b{font-size:23px}

@media(max-width:1180px) and (min-width:901px){
  .club-copy{top:92px;left:36px;width:44%}.club-copy h1{font-size:45px}.club-quick-menu{left:34px;width:48%}.club-action{min-height:70px;padding:10px}.club-team-tags{display:none}
}
@media(max-width:900px){
  .club-lobby.ai-command-hero{display:block;min-height:780px;margin:12px;border-radius:24px}
  .club-scene>img{inset:0;width:100%;height:100%;object-position:64% center;transform:none!important}
  .club-scene-shade{background:linear-gradient(90deg,rgb(10 8 9/.91) 0,rgb(11 8 9/.63) 48%,transparent 78%),linear-gradient(0deg,rgb(10 7 8/.96) 0,transparent 44%),linear-gradient(180deg,rgb(8 7 8/.28),transparent 22%)}
  .club-hud{top:22px;right:22px;left:23px}.club-copy{top:100px;left:25px;width:58%}.club-copy h1{font-size:48px}.club-quick-menu{bottom:110px;left:23px;width:min(590px,69%)}.club-team-tags{display:none}
}
@media(max-width:760px){
  .club-lobby.ai-command-hero{min-height:810px;margin:10px;border-radius:21px}
  .club-scene>img{object-position:67% 34%;filter:saturate(.92) contrast(1.03) brightness(.78)}
  .club-scene-shade{background:linear-gradient(180deg,rgb(10 8 9/.72) 0,rgb(10 8 9/.1) 34%,rgb(10 7 8/.74) 63%,rgb(10 7 8/.98) 100%),linear-gradient(90deg,rgb(9 7 8/.72),transparent 78%)}
  .club-hud{top:17px;right:16px;left:16px}.club-season>b,.club-season>small{display:none}.club-status{padding:7px 9px}.club-status>span{font-size:8px}.club-status>small{font-size:5px}
  .club-copy{top:76px;left:18px;width:72%}.club-label{font-size:8px}.club-copy h1{margin-top:13px;font-size:37px}.club-copy p{max-width:290px;margin-top:11px;font-size:10px;line-height:1.65}
  .club-quick-menu{right:15px;bottom:185px;left:15px;width:auto;grid-template-columns:1fr 1fr;gap:7px}.club-action{min-height:68px;padding:9px;grid-template-columns:32px minmax(0,1fr) 11px;gap:7px;border-radius:11px 6px 11px 6px}.club-action>span{width:32px;height:32px;border-radius:9px}.club-action b{font-size:11px}.club-action em{display:none}.club-action>i{font-size:17px}
  .club-lobby .club-dock.ai-overview-strip{grid-template-columns:1fr 1fr}.club-lobby .club-dock>div{min-height:87px;padding:12px 14px}.club-lobby .club-dock b{font-size:19px}
}
@media(max-width:420px){
  .club-lobby.ai-command-hero{min-height:790px}.club-copy{width:78%}.club-copy h1{font-size:34px}.club-copy p{max-width:255px}.club-quick-menu{bottom:183px}.club-action small{font-size:5px;letter-spacing:.1em}
}
@media(prefers-reduced-motion:reduce){.club-scene>img{transform:none!important;transition:none!important}}

/* V13 — stability pass: no full-screen parallax, no scrollbar or live-data jumps. */
html{overflow-y:scroll;scrollbar-gutter:stable}
body{overflow-x:hidden}
.cursor-aurora{display:none!important}
.dashboard-view{overflow-anchor:none}
.club-lobby.ai-command-hero{
  contain:layout paint style;
  transform:none!important;
  transform-style:flat;
  transition:border-color .2s,box-shadow .2s!important;
  will-change:auto
}
.club-lobby.ai-command-hero:hover{transform:none!important}
.club-scene>img,
.club-lobby:hover .club-scene>img{
  transform:scale(1.012)!important;
  filter:saturate(1) contrast(1.04) brightness(.9);
  transition:none;
  backface-visibility:hidden;
  will-change:auto
}
.club-lobby .club-dock>div:after,
.nav-item.active:after,
.workspace header:after{animation:none!important}
.club-action:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgb(12 3 5/.25),0 0 24px rgb(255 114 62/.08)}
.club-dock b,.metric b,.status-metric b,.traffic-stats b,.stability-grid b{font-variant-numeric:tabular-nums}
.club-lobby .club-dock>div{contain:layout paint}
.dashboard-view .metric{contain:layout paint}
@media(max-width:900px){
  html{scrollbar-gutter:auto}
  .club-lobby.ai-command-hero{contain:paint style}
  .club-scene>img,.club-lobby:hover .club-scene>img{transform:none!important;filter:saturate(.94) contrast(1.03) brightness(.82)}
}

/* V14 — question-answer library: add rules directly on the page. */
.qa-composer{position:relative;overflow:hidden;border-color:rgb(92 217 197/.2);background:linear-gradient(135deg,rgb(38 24 25/.92),rgb(19 27 27/.95) 62%,rgb(18 34 32/.92))}
.qa-composer:before{content:"";position:absolute;top:-85px;right:-70px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgb(73 218 194/.12),transparent 68%);pointer-events:none}
.qa-composer-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.qa-composer-head small{color:#63d9c4;font-size:9px;font-weight:900;letter-spacing:.14em}.qa-composer-head h2{margin:7px 0 5px;color:#fff4ec;font-size:22px}.qa-composer-head p{margin:0;color:#9faaa7;font-size:12px}
.qa-scope-badge{flex:0 0 auto;max-width:48%;overflow:hidden;padding:8px 12px;border:1px solid rgb(91 220 196/.2);border-radius:999px;background:rgb(44 176 154/.08);color:#8ee6d5;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.qa-add-form{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(180px,.38fr);gap:16px 18px}
.qa-add-form label{display:grid;gap:8px;color:#b6c2bd;font-size:12px;font-weight:700}.qa-add-form input,.qa-add-form select,.qa-add-form textarea{width:100%;border:1px solid rgb(145 204 207/.14);border-radius:12px;background:#0d1519;color:#f6eee8;outline:0}.qa-add-form input,.qa-add-form select{height:46px;padding:0 13px}.qa-add-form textarea{min-height:112px;padding:13px;line-height:1.65;resize:vertical}.qa-add-form input:focus,.qa-add-form select:focus,.qa-add-form textarea:focus{border-color:rgb(79 211 191/.58);box-shadow:0 0 0 3px rgb(79 211 191/.08)}
.qa-response-field{grid-column:1/-1}.qa-add-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px}.qa-add-actions small{max-width:680px;color:#73837e;font-size:11px;line-height:1.55}.qa-add-actions .primary{flex:0 0 auto;min-width:150px}
.qa-list-panel .table-wrap td:nth-child(2){font-weight:750;color:#f4e4da}.qa-list-panel .table-wrap td:nth-child(4){max-width:560px;white-space:pre-wrap}
@media(max-width:760px){
  .qa-composer-head{align-items:stretch;flex-direction:column}.qa-scope-badge{max-width:100%;align-self:flex-start}.qa-add-form{grid-template-columns:1fr}.qa-question-field,.qa-match-field,.qa-response-field,.qa-add-actions{grid-column:1}.qa-add-actions{align-items:stretch;flex-direction:column}.qa-add-actions .primary{width:100%}
}
