:root{
  --bg:#07080b;--panel:#0b0c10;--panel2:#0e0f14;--line:#272931;
  --muted:#777a84;--text:#f5f6f8;--green:#3bdbaa;--green-dark:#153f34;
  --red:#ff7373;--violet:#756bff;--shadow:0 24px 80px rgba(0,0,0,.55)
}
*{box-sizing:border-box}
html{color-scheme:dark;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
.top{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,5vw);position:sticky;top:0;background:rgba(7,8,11,.94);backdrop-filter:blur(18px);z-index:30}
.brand{font-size:29px;font-weight:850;letter-spacing:-1.5px}.brand span{color:#a3a5ad}
.user-actions{display:flex;align-items:center;gap:14px}.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#171820}
.shell{max-width:1280px;margin:auto}.hero{padding:62px max(24px,5vw) 34px}.hero h1{font-size:clamp(42px,7vw,72px);letter-spacing:-3px;margin:15px 0 10px}.hero p{max-width:720px;color:var(--muted);font-size:18px;line-height:1.6}
.mono,.label{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.19em;text-transform:uppercase;color:#90939d}.accent{color:var(--green)}
.tabs{display:flex;overflow-x:auto;border-block:1px solid var(--line);padding:0 max(8px,5vw);position:sticky;top:88px;background:rgba(7,8,11,.97);z-index:25;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
.tab{padding:19px 26px;border:0;border-top:1px solid transparent;background:none;color:#656872;white-space:nowrap;cursor:pointer}.tab:hover{color:#b9bbc2}.tab.active{color:#fff;border-top-color:#fff}
.main{padding:52px max(24px,5vw) 110px}.head{display:flex;align-items:center;gap:20px;margin-bottom:28px}.line{height:1px;background:var(--line);flex:1}.section-space{height:56px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line)}.stat{min-height:180px;padding:34px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.stat:nth-child(2n){border-right:0}.stat:nth-last-child(-n+2){border-bottom:0}.stat strong{display:block;font-size:48px;margin-top:30px}
.panel,.card{border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),#090a0e);padding:30px}.panel h2,.card h3{margin-top:0}.narrow-panel{max-width:850px}
.muted{color:var(--muted);line-height:1.6}.notice{padding:15px 17px;border:1px solid #55451d;background:#1c180d;color:#e9ca72;margin:18px 0}.notice.error{border-color:#5c2929;background:#1c0e0e;color:#ff9494}
.form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}.field{display:flex;flex-direction:column;gap:9px}.full{grid-column:1/-1}
input,select,textarea{width:100%;background:#08090d;border:1px solid #30323a;color:#fff;padding:16px 17px;outline:none;border-radius:2px}input:focus,select:focus,textarea:focus{border-color:#737680}
.btn{padding:14px 20px;border:1px solid #474a53;background:#f1f2f4;color:#101114;font-weight:750;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{filter:brightness(1.08)}.btn.alt{background:transparent;color:#fff}.btn.green{background:var(--green);border-color:var(--green)}.btn.danger{background:transparent;color:var(--red);border-color:#713737}.btn.compact{padding:11px 15px}
.bots{display:grid;gap:16px}.card{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}.card h3{font-size:24px;margin-bottom:10px}.actions{display:flex;gap:9px;flex-wrap:wrap}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#777;margin-right:8px}.dot.running{background:var(--green)}.dot.error{background:var(--red)}.empty{text-align:center;padding:58px;border:1px dashed var(--line);color:#666}
.module-topline{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.bot-picker{width:min(360px,100%)}.module-categories{display:flex;gap:9px;flex-wrap:wrap;margin:28px 0 18px}.category{padding:11px 15px;border:1px solid var(--line);background:#090a0e;color:#777;cursor:pointer}.category.active{border-color:#777b84;color:#fff}
.modules{border:1px solid var(--line)}.module-grid{display:grid;grid-template-columns:1fr 1fr}.module-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:108px}.module-item:nth-child(2n){border-right:0}.module-title{font-size:17px;font-weight:750;margin-bottom:5px}.gear{width:42px;height:42px;border:1px solid transparent;background:transparent;color:#7d808a;font-size:20px;cursor:pointer}.gear:hover{border-color:var(--line);color:#fff}.switch{width:58px;height:32px;border:0;border-radius:99px;background:#3b3d45;position:relative;cursor:pointer;transition:.2s}.switch:after{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;background:#fff;border-radius:50%;transition:.2s}.switch.on{background:var(--green)}.switch.on:after{left:29px}.switch:disabled{opacity:.45;cursor:wait}
.hidden{display:none!important}.toast{position:fixed;right:22px;bottom:22px;z-index:120;background:#fff;color:#111;padding:14px 18px;box-shadow:var(--shadow)}
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.78);cursor:default}.modal-box{position:relative;width:min(1120px,96vw);max-height:92vh;background:#08090d;border:1px solid #3a3c44;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}.modal-head,.modal-foot{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-head{border-bottom:1px solid var(--line)}.modal-head h2{margin:7px 0 0;font-size:27px}.modal-description{margin:6px 0 0}.modal-close{width:44px;height:44px;border:0;background:transparent;color:#aaa;font-size:32px;cursor:pointer}.modal-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);min-height:0;overflow:hidden}.settings-form{padding:26px;overflow:auto;border-right:1px solid var(--line)}.setting-row{margin-bottom:24px}.setting-row:last-child{margin-bottom:0}.setting-row label{display:block;margin-bottom:9px}.checkbox-row{display:flex!important;align-items:center;gap:12px;color:#d9dae0}.checkbox-row input{width:20px;height:20px;margin:0}.setting-help{display:block;color:#656872;margin-top:7px;font-size:13px}.preview{padding:26px;overflow:auto;background:#090a0e}.preview-card{margin-top:18px;background:#2c2e33;border-left:4px solid var(--violet);border-radius:8px;padding:19px;min-height:150px}.preview-card p{line-height:1.55}.preview-card small{color:#c1c2c7}.preview-progress{height:10px;background:#54565c;margin-top:16px}.preview-progress span{display:block;height:100%;width:38%;background:#fff}.preview-help{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;color:#777}.preview-help strong{width:100%;color:#aaa}.preview-help code{background:#121319;border:1px solid var(--line);padding:5px 8px}.modal-foot{border-top:1px solid var(--line)}.modal-status{margin-right:auto}
@media(max-width:850px){.module-topline{align-items:stretch;flex-direction:column}.bot-picker{width:100%}.module-grid{grid-template-columns:1fr}.module-item,.module-item:nth-child(2n){border-right:0}.modal-body{grid-template-columns:1fr}.preview{display:none}.settings-form{border-right:0}.modal-box{max-height:96vh}}
@media(max-width:700px){.top{height:78px;padding-inline:18px}.brand{font-size:24px}.avatar{width:38px;height:38px}.user-actions .btn{display:none}.tabs{top:78px;padding:0}.tab{padding:17px 20px}.hero,.main{padding-left:20px;padding-right:20px}.hero{padding-top:42px}.hero h1{font-size:43px}.grid,.form{grid-template-columns:1fr}.stat,.stat:nth-child(2n){border-right:0}.stat:not(:last-child){border-bottom:1px solid var(--line)}.full{grid-column:auto}.card{grid-template-columns:1fr}.panel,.card{padding:22px}.modal{padding:0}.modal-box{width:100vw;height:100dvh;max-height:none;border:0}.modal-head,.modal-foot{padding:17px}.settings-form{padding:20px}.modal-status{display:none}.modal-foot .actions{width:100%}.modal-foot .btn{flex:1}}

.agent-badge{border:1px solid var(--line);padding:9px 12px;font:11px ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#aaa}
.agent-badge.online{border-color:#21624f;color:var(--green);background:#0c1b17}
.agent-badge.offline{border-color:#653434;color:var(--red);background:#1d0e0e}
.status-text{display:inline-flex;align-items:center;gap:8px}
.status-pill{display:inline-block;padding:5px 8px;border:1px solid var(--line);font:11px ui-monospace,monospace;text-transform:uppercase}
.status-pill.running{color:var(--green);border-color:#21624f}
.status-pill.error{color:var(--red);border-color:#653434}
.status-pill.queued{color:#eacb70;border-color:#6a5721}
.log-output{margin-top:24px;min-height:360px;max-height:560px;overflow:auto;background:#050609;border:1px solid var(--line);padding:20px;color:#c8cad2;font:13px/1.7 ui-monospace,monospace;white-space:pre-wrap}
.btn:disabled{opacity:.45;cursor:not-allowed}


/* V7.2 – Landing page */
.landing-body{min-height:100vh;overflow-x:hidden;background:
 radial-gradient(circle at 15% 15%,rgba(59,219,170,.10),transparent 30%),
 radial-gradient(circle at 85% 20%,rgba(117,107,255,.13),transparent 32%),
 #07080b}
.landing{min-height:100vh;display:grid;place-items:center;padding:40px 22px;position:relative;isolation:isolate}
.landing-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.25;z-index:-1}
.landing-glow-one{width:340px;height:340px;background:var(--green);left:8%;top:16%}
.landing-glow-two{width:420px;height:420px;background:var(--violet);right:5%;bottom:7%}
.landing-card{width:min(780px,100%);padding:clamp(30px,6vw,64px);border:1px solid #30323a;background:rgba(10,11,15,.88);box-shadow:0 35px 120px rgba(0,0,0,.62);backdrop-filter:blur(20px);text-align:center;position:relative;overflow:hidden}
.landing-card:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--green),var(--violet),transparent)}
.landing-logo{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:48px}
.landing-mark{width:58px;height:58px;border:1px solid #4c5060;display:grid;place-items:center;font-size:26px;font-weight:900;background:linear-gradient(145deg,#151820,#0c0d12);box-shadow:inset 0 0 20px rgba(59,219,170,.08)}
.landing-brand{text-align:left}.landing-logo .mono{text-align:left;margin-top:3px}
.landing-kicker{font:12px ui-monospace,monospace;letter-spacing:.22em;text-transform:uppercase;color:var(--green)}
.landing-copy h1{font-size:clamp(48px,9vw,88px);line-height:.94;letter-spacing:-5px;margin:22px 0 28px}.landing-copy h1 span{color:#a9abb4}
.landing-copy p{max-width:610px;margin:0 auto;color:#9699a4;font-size:18px;line-height:1.75}
.landing-features{display:grid;grid-template-columns:repeat(3,1fr);margin:44px 0 32px;border:1px solid var(--line)}
.landing-features div{padding:20px 12px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:7px}.landing-features div:last-child{border-right:0}
.landing-features strong{font:12px ui-monospace,monospace;color:var(--green)}.landing-features span{font-size:14px;color:#c7c9d0}
.landing-login{width:100%;min-height:58px;font-size:16px}.discord-symbol{font-size:21px}
.landing-note{font-size:12px!important;color:#646771!important;margin-top:18px!important}

/* V7.2 – realistic Discord module previews */
.preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.preview-heading p{color:#666a75;font-size:13px;margin:8px 0 0}
.preview-live-dot{font:10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.16em;color:var(--green);border:1px solid #21624f;background:#0c1b17;padding:6px 9px}
.discord-preview{padding:0;background:#1e1f22;border:1px solid #383a40;border-left:1px solid #383a40;overflow:hidden;min-height:300px}
.discord-window{background:#313338;min-height:300px;color:#dbdee1}
.discord-channel-bar{padding:13px 16px;background:#2b2d31;border-bottom:1px solid #1e1f22;font-weight:700;color:#f2f3f5}
.discord-message{display:flex;gap:12px;padding:20px 16px}
.discord-avatar{width:42px;height:42px;min-width:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--violet),#3bdbaa);font-weight:900;color:white}
.discord-message-content{min-width:0;flex:1}.discord-author{font-weight:700;color:#f2f3f5;margin-bottom:7px}.discord-author span{font-size:9px;background:#5865f2;border-radius:3px;padding:2px 4px;margin-left:5px}.discord-author small{font-weight:400;color:#949ba4;margin-left:7px}
.discord-embed{max-width:520px;background:#2b2d31;border-left:4px solid #5865f2;border-radius:4px;padding:15px;margin-top:6px}
.discord-embed.danger-embed{border-left-color:#ed4245}.discord-embed-title{font-weight:750;color:#f2f3f5;margin-bottom:10px}.discord-embed-text{font-size:14px;line-height:1.55;color:#dbdee1;white-space:pre-wrap}
.discord-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.discord-fields div{display:flex;flex-direction:column;gap:4px}.discord-fields b{font-size:12px;color:#f2f3f5}.discord-fields span{font-size:13px;color:#b5bac1}
.discord-footer{font-size:11px;color:#949ba4;margin-top:14px}.discord-banner{margin-top:14px;border-radius:4px;overflow:hidden;color:#949ba4;font-size:12px}.discord-banner img{display:block;width:100%;max-height:165px;object-fit:cover}
.discord-button{border:0;border-radius:3px;padding:9px 14px;margin-top:10px;background:#4e5058;color:white;font-weight:650}.discord-button.primary{background:#5865f2}.discord-button.success{background:#248046}.discord-button.danger{background:#da373c}.discord-button.secondary{background:#4e5058}
.discord-role-buttons{display:flex;gap:8px;flex-wrap:wrap}.preview-secondary{margin-top:13px;padding:11px 12px;border:1px solid #45474f;background:#292b2f;font-size:12px;color:#b5bac1;line-height:1.55}
.discord-progress{height:8px;background:#1e1f22;border-radius:99px;margin-top:14px;overflow:hidden}.discord-progress span{display:block;height:100%;background:#dbdee1;border-radius:99px}
.command-grid,.preview-chip-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.command-grid span,.preview-chip-list span{background:#2b2d31;border:1px solid #45474f;border-radius:4px;padding:6px 9px;font-size:11px;color:#c7c9d0}

/* V7.2 – Admin panel */
.admin-hero{padding-bottom:30px}.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line)}
.admin-stat{padding:27px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:150px}.admin-stat:nth-child(3n){border-right:0}.admin-stat:nth-last-child(-n+3){border-bottom:0}
.admin-stat strong{display:block;font-size:42px;margin:18px 0 5px}.admin-stat small{color:var(--muted)}
.admin-agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line)}.admin-agent-grid>div{background:#090a0e;padding:22px;display:flex;flex-direction:column;gap:12px}.admin-agent-grid strong{font-size:18px}.text-green{color:var(--green)}.text-red{color:var(--red)}
.admin-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:12px;align-items:center;margin-bottom:18px}.admin-toolbar input{min-width:0}
.admin-table-wrap{overflow:auto;border:1px solid var(--line)}.admin-table{width:100%;border-collapse:collapse;min-width:980px}.admin-table th,.admin-table td{text-align:left;padding:16px;border-bottom:1px solid var(--line)}.admin-table th{font:11px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.14em;color:#8d909a;background:#0d0e13;position:sticky;top:0}.admin-table tbody tr:hover{background:#0d0f14}.admin-table code{color:#a9abb4}
.admin-user-cell{display:flex;align-items:center;gap:11px}.admin-user-cell img{width:38px;height:38px;border-radius:50%;background:#161820}.empty-cell{text-align:center!important;color:#666;padding:50px!important}
.admin-bot-list{display:grid;gap:14px}.admin-bot-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;border:1px solid var(--line);background:#090a0e;padding:24px}.admin-bot-title{display:flex;align-items:center;gap:12px}.admin-bot-title h3{margin:0;font-size:23px}.admin-bot-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:14px;color:#777b84;font-size:13px}.admin-bot-meta code{color:#a7aab3}.admin-error{margin-top:14px;color:var(--red);border-left:2px solid var(--red);padding-left:11px;font-size:13px}

@media(max-width:900px){
 .landing-features{grid-template-columns:1fr}.landing-features div{border-right:0;border-bottom:1px solid var(--line)}.landing-features div:last-child{border-bottom:0}
 .admin-stats{grid-template-columns:repeat(2,1fr)}.admin-stat,.admin-stat:nth-child(3n){border-right:1px solid var(--line)}.admin-stat:nth-child(2n){border-right:0}.admin-stat:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.admin-stat:nth-last-child(-n+2){border-bottom:0}
 .admin-agent-grid{grid-template-columns:repeat(2,1fr)}.admin-bot-card{grid-template-columns:1fr}
}
@media(max-width:650px){
 .landing-card{padding:34px 20px}.landing-copy h1{letter-spacing:-3px}.landing-logo{margin-bottom:34px}
 .admin-stats,.admin-agent-grid{grid-template-columns:1fr}.admin-stat,.admin-stat:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}.admin-stat:last-child{border-bottom:0}
 .admin-toolbar{grid-template-columns:1fr}.discord-fields{grid-template-columns:1fr}
}

/* Nyvaro V8 module catalog */
.module-search-row{margin:20px 0 14px}.module-search-row input{width:100%;min-height:52px}
.module-categories{display:flex;gap:8px;flex-wrap:wrap}
.module-grid{display:grid;grid-template-columns:1fr;margin-top:22px;border:1px solid var(--line)}
.module-item{display:grid;grid-template-columns:32px minmax(0,1fr) 44px 58px;align-items:center;gap:14px;padding:22px 18px;border-bottom:1px solid var(--line);background:#090a0e}
.module-item:last-child{border-bottom:0}.module-item:hover{background:#0c0e13}
.module-icon{font-size:17px;color:#989ba5;text-align:center}.module-copy{min-width:0}
.module-title{display:flex;align-items:center;gap:10px;font-size:16px;color:#f1f2f4}.module-details{font:9px ui-monospace,monospace;letter-spacing:.16em;text-transform:uppercase;border:1px solid #555962;padding:3px 6px;color:#b8bbc3}
.module-item .muted{margin-top:7px;line-height:1.55}
.generic-preview-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.generic-preview-values>div{display:flex;flex-direction:column;gap:4px;background:#24262b;padding:9px}
.generic-preview-values b{font-size:10px;text-transform:capitalize;color:#f2f3f5}.generic-preview-values span{font-size:12px;color:#aeb2bb;overflow-wrap:anywhere}
@media(max-width:700px){.module-item{grid-template-columns:28px minmax(0,1fr) 42px 54px;padding:18px 12px}.module-details{display:none}.generic-preview-values{grid-template-columns:1fr}}


/* Nyvaro V8.1 branding */
.brand-with-logo{display:flex;align-items:center;gap:13px;text-decoration:none;color:#f3f4f6}
.brand-with-logo em{font-style:normal;color:#989ba5}
.brand-logo{width:42px;height:42px;object-fit:cover;border:1px solid #353842;background:#050609;box-shadow:0 0 22px rgba(255,255,255,.06)}
.landing-logo-image{padding:0;overflow:hidden}.landing-logo-image img{width:100%;height:100%;display:block;object-fit:cover}
.discord-avatar{overflow:hidden;padding:0}.discord-avatar img{width:100%;height:100%;display:block;object-fit:cover}

/* Nyvaro V8.1 module overview */
.module-grid{border:0;gap:11px;background:transparent}
.module-item{display:grid;grid-template-columns:38px minmax(0,1fr) 118px 58px;align-items:center;gap:15px;padding:22px;border:1px solid #252832;background:linear-gradient(100deg,#090a0e,#0b0c11);transition:.18s ease}
.module-item:last-child{border-bottom:1px solid #252832}
.module-item:hover{border-color:#474b56;background:#0e1016;transform:translateY(-1px)}
.module-item.module-enabled{border-color:#28624f;background:linear-gradient(100deg,rgba(23,66,53,.32),#0b0c11)}
.module-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #30333c;background:#0e1015;font-size:18px}
.module-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.module-title{font-size:17px;font-weight:750}
.module-category-tag,.module-state{font:9px ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;padding:4px 7px;border:1px solid #3c4049;color:#8f929c}
.module-state.active{color:#55e7ba;border-color:#286c57;background:#0e201a}.module-state.inactive{color:#767983}
.module-config-button{width:118px;height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #3c3f49;background:#0e1015;color:#d9dbe0}
.module-config-button:hover{border-color:#717682;background:#161820}.module-config-button small{font-size:11px}

/* Nyvaro V8.1 module settings */
.modal-box{width:min(1450px,96vw);height:min(900px,94vh);max-height:94vh}
.modal-head{padding:28px 32px}.modal-head h2{font-size:32px;margin:11px 0 8px}.modal-head p{max-width:820px;line-height:1.6}
.modal-body{grid-template-columns:minmax(470px,46%) minmax(430px,54%);overflow:hidden;min-height:0}
.settings-pane{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#08090d}
.settings-pane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 28px;border-bottom:1px solid var(--line);background:#0b0c11}
.settings-pane-head p{margin:7px 0 0;color:#737680;font-size:13px}
.settings-progress{font:10px ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--green);border:1px solid #276650;padding:7px 9px;white-space:nowrap}
.settings-form{padding:0 28px 34px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#555963 transparent}
.setting-row{position:relative;padding:24px 0 25px;border-bottom:1px solid #1d1f26}.setting-row:last-child{border-bottom:0}
.setting-label-row{display:flex;align-items:center;gap:12px;margin-bottom:11px}.setting-number{font:9px ui-monospace,monospace;color:#60636c;letter-spacing:.1em}
.setting-row input,.setting-row textarea,.setting-row select{background:#07080c;border-color:#30333c}
.setting-row textarea{min-height:118px;resize:vertical}.setting-row input:focus,.setting-row textarea:focus,.setting-row select:focus{border-color:#707480;box-shadow:0 0 0 1px #707480}
.setting-checkbox{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:center}.setting-checkbox .checkbox-row{margin:0}.setting-checkbox .setting-help{grid-column:2}
.setting-help{margin-left:31px}.setting-checkbox .setting-help{margin-left:0}
.preview{padding:26px 28px 34px;background:radial-gradient(circle at 80% 10%,rgba(88,101,242,.08),transparent 34%),#0a0b0f;overflow-y:auto}
.preview-heading{position:sticky;top:-26px;z-index:2;margin:-26px -28px 22px;padding:22px 28px 18px;background:rgba(10,11,15,.95);backdrop-filter:blur(12px);border-bottom:1px solid #22242b}
.discord-preview{min-height:430px;box-shadow:0 24px 70px rgba(0,0,0,.38)}
.modal-foot{padding:18px 28px}.modal-foot .btn{min-width:130px}
.settings-form::-webkit-scrollbar,.preview::-webkit-scrollbar{width:9px}
.settings-form::-webkit-scrollbar-track,.preview::-webkit-scrollbar-track{background:#090a0e}
.settings-form::-webkit-scrollbar-thumb,.preview::-webkit-scrollbar-thumb{background:#4c4f59;border:2px solid #090a0e}

@media(max-width:1000px){
 .modal-box{width:97vw;height:96vh;max-height:96vh}
 .modal-body{grid-template-columns:1fr;overflow-y:auto}
 .settings-pane{border-right:0;border-bottom:1px solid var(--line);min-height:620px}
 .settings-form{max-height:540px}.preview{min-height:580px;overflow:visible}
 .preview-heading{position:static;margin:-26px -28px 22px}
}
@media(max-width:720px){
 .brand-with-logo span{display:none}.brand-logo{width:38px;height:38px}
 .module-item{grid-template-columns:34px minmax(0,1fr) 48px;padding:17px 13px}
 .module-config-button{width:44px}.module-config-button small{display:none}
 .module-item .switch{grid-column:2/4;justify-self:stretch;width:100%}
 .module-category-tag{display:none}
 .modal-head{padding:22px 20px}.modal-head h2{font-size:27px}
 .settings-pane-head,.settings-form{padding-left:18px;padding-right:18px}
 .preview{padding-left:16px;padding-right:16px}
}


/* Nyvaro V8.2 – Discord showcase previews */
.discord-showcase-embed{max-width:610px;padding:16px 16px 10px}
.discord-embed-header{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:16px}
.preview-user-avatar{width:58px;height:58px;border-radius:4px;background:linear-gradient(145deg,#65d7ff,#7670ff);display:grid;place-items:center;font-weight:900;font-size:22px;color:white}
.discord-fields-stacked{grid-template-columns:1fr}.discord-fields-stacked div{gap:3px}
.preview-banner-placeholder{height:145px;margin-top:14px;border-radius:4px;border:1px solid #3d414b;background:
 radial-gradient(circle at 15% 50%,rgba(47,217,255,.35),transparent 22%),
 linear-gradient(115deg,#07121a,#0b2532 45%,#05070b);display:grid;place-items:center;font-size:26px;font-weight:900;letter-spacing:.08em;color:#d8f7ff;text-shadow:0 0 22px #3bd7ff}
.ticket-category-preview{margin-top:13px;display:grid;gap:3px;font-size:13px}.ticket-warning{margin-top:18px;font-size:13px;color:#e5e7eb}
.discord-select-preview{max-width:610px;margin-top:1px;border-radius:4px;background:#2b2d31;border:1px solid #17181c;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#b5bac1}
.verification-second{margin-top:15px}.verification-buttons{display:flex;gap:8px;flex-wrap:wrap}
.verification-buttons .discord-button[disabled]{opacity:.65;cursor:not-allowed}


/* Nyvaro V8.3 – standard module banners */
.discord-banner{border:1px solid #454952;background:#08090d}
.discord-banner img{width:100%;height:auto;max-height:190px;object-fit:cover;display:block}
.module-standard-banner-note{font-size:11px;color:#777b86;margin-top:7px}


/* Nyvaro V8.4 – structured module catalog */
#moduleList.module-grid{display:block;border:0;background:transparent}
.module-category-section{margin:28px 0 46px}
.module-category-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 4px 15px;border-bottom:1px solid #252832;margin-bottom:12px}
.module-category-heading>div{display:flex;align-items:center;gap:14px}.module-category-heading h3{margin:0;font-size:23px}
.module-category-heading>span{font:10px ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;color:#868a94}
.module-category-index{font:11px ui-monospace,monospace;color:var(--green)}
.module-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.module-category-grid .module-item{grid-template-columns:38px minmax(0,1fr) 112px 58px;height:100%}

/* Nyvaro V8.4 – Admin Control Center */
.admin-body{background:radial-gradient(circle at 85% 3%,rgba(88,101,242,.08),transparent 28%),#07080b}
.admin-top{position:sticky;top:0;z-index:30;background:rgba(7,8,11,.94);backdrop-filter:blur(16px)}
.admin-last-update{font:10px ui-monospace,monospace;color:#737781}
.admin-main{max-width:1560px}.admin-tabs{position:sticky;top:73px;z-index:20;background:rgba(7,8,11,.95);backdrop-filter:blur(14px)}
.admin-stats-large{grid-template-columns:repeat(4,minmax(0,1fr))}
.admin-stats-large .admin-stat:nth-child(n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.admin-stats-large .admin-stat:nth-child(4n){border-right:0}.admin-stats-large .admin-stat:nth-last-child(-n+4){border-bottom:0}
.admin-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.admin-analytics-panel{min-height:260px}.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-title-row h3{margin:9px 0 0;font-size:22px}.chart-legend{font:10px ui-monospace,monospace;color:var(--green)}
.mini-chart{height:165px;display:flex;align-items:flex-end;gap:4px;margin-top:24px;border-bottom:1px solid #31343d;padding:0 4px}
.chart-column{flex:1;height:100%;display:flex;align-items:flex-end}.chart-column span{display:block;width:100%;min-height:2px;background:linear-gradient(180deg,var(--green),#1c735b);opacity:.88}
.status-breakdown{display:grid;gap:13px;margin-top:23px}.breakdown-row{display:grid;grid-template-columns:minmax(130px,1fr) 40px;gap:9px;align-items:center}.breakdown-row>div:first-child{display:flex;align-items:center;gap:9px}.breakdown-row>span{text-align:right;font-weight:750}.breakdown-bar{grid-column:1/3;height:6px;background:#17191f}.breakdown-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--green),#8a7cff)}
.status-dot{width:8px;height:8px;border-radius:50%;background:#777}.status-dot.running,.status-dot.completed,.status-dot.info{background:var(--green)}.status-dot.error,.status-dot.failed{background:var(--red)}.status-dot.queued,.status-dot.pending,.status-dot.warn{background:#f3b63f}.status-dot.claimed{background:#8a7cff}
.admin-activity-feed{border:1px solid var(--line)}.admin-activity-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px 18px;border-bottom:1px solid var(--line)}.admin-activity-item:last-child{border-bottom:0}.admin-activity-item p{margin:5px 0 0;color:#777b85;font-size:13px}.admin-activity-item time{font-size:11px;color:#6e727c}.activity-marker{width:8px;height:8px;margin-top:6px;border-radius:50%;background:#777}.activity-marker.error,.activity-marker.failed{background:var(--red)}.activity-marker.running,.activity-marker.completed,.activity-marker.info{background:var(--green)}.activity-marker.pending,.activity-marker.queued,.activity-marker.warn{background:#f3b63f}
.admin-toolbar-wide{grid-template-columns:minmax(260px,1fr) 190px 190px auto}
.admin-user-cell small{display:block;color:#686c75;font-size:11px;margin-top:4px}
.admin-bot-card.has-error{border-color:#633036}.admin-bot-health{display:flex;flex-wrap:wrap;gap:8px 18px;margin:13px 0;padding:11px 12px;background:#0d0f14;border:1px solid #20232b;font-size:12px;color:#858994}.admin-bot-actions{display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:8px}.admin-bot-title code{font-size:10px;color:#626671}
.admin-module-usage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-module-card{border:1px solid var(--line);background:#090a0e;overflow:hidden}.admin-module-card>img{width:100%;height:130px;object-fit:cover;display:block}.admin-module-card-body{padding:18px}.admin-module-card-title{display:flex;align-items:center;gap:10px}.admin-module-card-title h3{margin:0;flex:1}.admin-module-card-title strong{font-size:25px}.admin-module-card-body p{color:#777b85;font-size:13px;line-height:1.55}.module-usage-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:11px;color:#8c9099}.module-usage-bar{height:6px;background:#181a20;margin-top:14px}.module-usage-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--green),#8a7cff)}
.admin-operation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #2e323b;background:#0b0d12;padding:22px;margin-bottom:30px}.admin-operation-toolbar p{margin:7px 0 0;color:#777b85}.admin-operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.admin-job-list,.admin-log-stream{border:1px solid var(--line);max-height:760px;overflow:auto}.admin-job-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:16px;border-bottom:1px solid var(--line)}.admin-job-item:last-child{border-bottom:0}.admin-job-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.admin-job-item p{margin:7px 0 0;color:#777b85}.admin-job-side{text-align:right}.admin-job-side time{display:block;font-size:11px;color:#6f737d;margin-bottom:10px}
.admin-log-line{display:grid;grid-template-columns:145px 58px 130px minmax(0,1fr);gap:12px;padding:11px 13px;border-bottom:1px solid #1b1d23;font:11px ui-monospace,monospace}.admin-log-line:last-child{border-bottom:0}.admin-log-line time{color:#686c75}.admin-log-line p{margin:0;color:#a9adb6;white-space:pre-wrap}.admin-log-line.error{border-left:2px solid var(--red)}.admin-log-line.warn{border-left:2px solid #f3b63f}.log-level{font-weight:800}
.admin-agents-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-agent-card{border:1px solid var(--line);background:#090a0e;padding:20px}.agent-card-head{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px}.agent-card-head h3{margin:0}.agent-card-head p{margin:4px 0 0;color:#676b75;font-size:11px}.agent-status-light{width:10px;height:10px;border-radius:50%;background:var(--red);box-shadow:0 0 12px rgba(255,80,90,.5)}.agent-status-light.online{background:var(--green);box-shadow:0 0 12px rgba(55,220,170,.55)}.admin-agent-details{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);margin-top:18px}.admin-agent-details>div{background:#0c0e13;padding:13px}.admin-agent-details span{display:block;font-size:10px;color:#717580;margin-bottom:6px}.admin-diagnosis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.diagnosis-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:13px;border:1px solid var(--line);padding:18px;background:#090a0e}.diagnosis-card>span{width:34px;height:34px;display:grid;place-items:center;border:1px solid #2e6d58;color:var(--green)}.diagnosis-card.problem>span{border-color:#74323a;color:var(--red)}.diagnosis-card strong{display:block}.diagnosis-card p{margin:6px 0 0;color:#777b85;font-size:13px}
.admin-drawer{position:fixed;inset:0;z-index:100}.admin-drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.admin-drawer-panel{position:absolute;top:0;right:0;width:min(760px,94vw);height:100%;background:#08090d;border-left:1px solid #383b44;box-shadow:-30px 0 90px rgba(0,0,0,.55);display:flex;flex-direction:column}.admin-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 26px;border-bottom:1px solid var(--line)}.admin-drawer-head h2{margin:8px 0 0}.admin-drawer-content{padding:24px;overflow:auto}.drawer-user-profile{display:flex;align-items:center;gap:16px;border:1px solid var(--line);padding:18px}.drawer-user-profile img{width:72px;height:72px;border-radius:50%}.drawer-user-profile h3{margin:0 0 6px}.drawer-user-profile p{color:#777b85}.drawer-section{margin-top:28px}.drawer-card-list{display:grid;gap:9px;margin-top:12px}.drawer-card-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);padding:14px}.drawer-card-list strong{margin-left:8px}.drawer-card-list p{margin:7px 0 0;color:#777b85}.drawer-bot-summary{border:1px solid var(--line);padding:18px}.drawer-bot-summary p{color:#8d919a}.drawer-module-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.drawer-module-grid span{border:1px solid #343741;background:#0d0f14;padding:8px 10px;font-size:12px}.drawer-timeline{margin-top:12px;border-left:1px solid #333740}.drawer-timeline article{display:grid;grid-template-columns:12px minmax(0,1fr);gap:12px;padding:0 0 17px 14px}.drawer-timeline p{margin:5px 0 0;color:#777b85}.drawer-log-output{margin-top:12px;max-height:430px;overflow:auto;background:#050609;border:1px solid #242730;padding:14px;color:#b8bbc4;white-space:pre-wrap;font-size:11px}

@media(max-width:1200px){
 .module-category-grid,.admin-dashboard-grid,.admin-module-usage,.admin-operations-grid{grid-template-columns:1fr}
 .admin-stats-large{grid-template-columns:repeat(2,1fr)}.admin-stats-large .admin-stat:nth-child(2n){border-right:0}.admin-stats-large .admin-stat:nth-last-child(-n+4){border-bottom:1px solid var(--line)}.admin-stats-large .admin-stat:nth-last-child(-n+2){border-bottom:0}
 .admin-toolbar-wide{grid-template-columns:1fr 1fr}.admin-toolbar-wide .label{grid-column:1/3}
}
@media(max-width:760px){
 .module-category-grid,.admin-agents-list,.admin-diagnosis-grid{grid-template-columns:1fr}
 .admin-stats-large{grid-template-columns:1fr}.admin-stats-large .admin-stat:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}.admin-stats-large .admin-stat:last-child{border-bottom:0}
 .admin-toolbar-wide{grid-template-columns:1fr}.admin-toolbar-wide .label{grid-column:auto}
 .admin-operation-toolbar{align-items:stretch;flex-direction:column}.admin-operation-toolbar .actions{display:grid}
 .admin-log-line{grid-template-columns:1fr}.admin-job-item{grid-template-columns:1fr}.admin-job-side{text-align:left}
 .admin-agent-details{grid-template-columns:1fr}
}


/* Nyvaro V9 – 30-day lifecycle */
.lifecycle-card{align-items:stretch}.lifecycle-main{min-width:0;flex:1}.lifecycle-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lifecycle-title-row h3{margin:0}
.lifecycle-box{margin-top:16px;border:1px solid #272a32;background:#0b0d12;padding:16px;display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:14px 22px}
.lifecycle-copy{display:flex;flex-direction:column;gap:7px}.lifecycle-copy strong{font-size:24px}.lifecycle-copy small{color:#747883}
.lifecycle-meta{display:flex;flex-direction:column;gap:7px;color:#7e828c;font-size:12px;text-align:right}
.lifecycle-progress{grid-column:1/3;height:8px;background:#191b21;overflow:hidden}.lifecycle-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--green),#7d72ff)}
.lifecycle-warning{border-color:#685525}.lifecycle-warning .lifecycle-progress i{background:linear-gradient(90deg,#f1b53e,#e87534)}
.lifecycle-expired{border-color:#71323a}.lifecycle-expired .lifecycle-progress i{background:var(--red)}
.lifecycle-renew-notice,.lifecycle-delete-notice{grid-column:1/3;padding:11px 12px;font-size:12px;border-left:2px solid #efb53f;background:#211b0e;color:#e4c77f}
.lifecycle-delete-notice{border-left-color:var(--red);background:#211013;color:#ef9ba3}.lifecycle-actions{align-content:center;min-width:170px}.lifecycle-actions .btn{width:100%}
@media(max-width:800px){.lifecycle-box{grid-template-columns:1fr}.lifecycle-meta{text-align:left}.lifecycle-progress,.lifecycle-renew-notice,.lifecycle-delete-notice{grid-column:1}}


/* Nyvaro Customs V10 – mobile-first update */
.nav-icon{display:none}
.reset-button{border-color:#6f5730;background:#1c160c;color:#f1c66d}
.admin-bot-controls{display:grid;gap:12px;min-width:min(370px,100%)}
.admin-lifetime-control{border:1px solid #31343d;background:#0b0d12;padding:14px}
.admin-lifetime-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}
.admin-lifetime-head small{display:block;color:#747883;margin-top:5px}.admin-lifetime-head strong{white-space:nowrap}
.lifetime-quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.lifetime-chip{min-height:38px;border:1px solid #333741;background:#111319;color:#d9dbe2;cursor:pointer;font-weight:800}
.lifetime-chip.plus{border-color:#285e4d;color:#64d7ad}.lifetime-chip.minus{border-color:#663139;color:#ef8791}
.lifetime-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:9px}

@media(max-width:700px){
 html{scroll-padding-bottom:96px}body{padding-bottom:84px;overflow-x:hidden}
 .top{height:64px;padding:0 14px}.brand-with-logo{gap:8px;font-size:18px}.brand-logo{width:34px;height:34px}
 .user-actions{gap:8px}.avatar{width:34px;height:34px}.agent-badge{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;padding:7px 8px}
 .hero{padding:28px 16px 22px}.hero .mono{font-size:10px}.hero h1{font-size:34px;line-height:1.04;margin:12px 0}.hero p{font-size:14px;line-height:1.55}
 .main{padding:24px 14px 20px}.head{margin-bottom:14px}.head .line{display:none}.grid{gap:8px}.stat{padding:18px;border:1px solid var(--line)!important}.stat strong{font-size:30px}
 .panel,.card{padding:16px;border-radius:12px}.section-space{height:34px}
 .mobile-app-nav,.mobile-admin-nav{position:fixed;left:0;right:0;bottom:0;top:auto;height:72px;z-index:90;padding:0 6px;border-top:1px solid #30333b;border-bottom:0;background:rgba(8,9,13,.97);backdrop-filter:blur(22px);display:grid;grid-template-columns:repeat(5,1fr);overflow:visible}
 .mobile-admin-nav{grid-template-columns:repeat(6,1fr)}
 .mobile-app-nav .tab,.mobile-admin-nav .tab{min-width:0;padding:8px 2px 7px;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;letter-spacing:0;text-transform:none;color:#777b85}
 .mobile-app-nav .tab::after,.mobile-admin-nav .tab::after{display:none}.mobile-app-nav .tab.active,.mobile-admin-nav .tab.active{color:var(--green);background:#11151a}
 .nav-icon{display:block;font-size:20px;line-height:1}
 .lifecycle-card{display:block}.lifecycle-title-row{align-items:flex-start}.lifecycle-title-row h3{font-size:22px}
 .lifecycle-box{padding:14px;margin-top:12px;border-radius:10px}.lifecycle-copy strong{font-size:22px}
 .lifecycle-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px;min-width:0}.lifecycle-actions .btn{min-height:46px}.lifecycle-actions .green,.lifecycle-actions .danger{grid-column:1/3}
 .module-topline{gap:16px}.module-search-row input,.bot-picker select{min-height:48px}
 .module-categories{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.category{flex:0 0 auto;min-height:42px}
 .module-category-heading{align-items:flex-start;gap:10px}.module-category-heading h3{font-size:17px}
 .module-item{grid-template-columns:44px minmax(0,1fr);gap:11px;padding:14px;border-radius:10px}.module-icon{width:44px;height:44px}.module-copy{grid-column:2}
 .module-config-button{grid-column:1/2;width:44px;height:42px}.module-config-button small{display:none}.module-item .switch{grid-column:2;justify-self:end}
 .modal{align-items:stretch}.modal-box{border-radius:0}.modal-head{padding:14px 15px}.modal-head h2{font-size:22px}.modal-head p{font-size:12px}
 .modal-body{display:flex;flex-direction:column;overflow-y:auto}.settings-pane{display:contents}.settings-pane-head{padding:14px 16px;position:sticky;top:0;background:#08090d;z-index:3}
 .settings-form{padding:14px 15px;overflow:visible}.setting-row{margin-bottom:16px;padding:14px;border:1px solid #252831;background:#0b0d12;border-radius:10px}
 .setting-row input:not([type="checkbox"]):not([type="color"]),.setting-row textarea,.setting-row select{min-height:48px;font-size:16px}.setting-row textarea{min-height:112px}
 .preview{display:block!important;padding:16px 12px 26px;border-top:1px solid var(--line);overflow:visible}.discord-window{min-width:0}.discord-message{padding:14px 10px}.discord-avatar{width:34px;height:34px}.discord-message-content{min-width:0}
 .discord-embed{max-width:100%;overflow-wrap:anywhere}.discord-banner img{max-height:180px;object-fit:cover}
 .modal-foot{position:sticky;bottom:0;background:#08090d;padding:10px 12px;z-index:5}.module-modal-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .module-modal-actions .reset-button{grid-column:1/3;min-height:44px}.module-modal-actions .btn{min-height:44px}
 .log-output{font-size:10px;max-height:58vh;overflow:auto}.form input,.form select,.form textarea{font-size:16px;min-height:50px}.form .btn{width:100%;min-height:50px}
 .admin-top .admin-last-update,.admin-top #adminRefresh{display:none}.admin-hero{padding-bottom:18px}.admin-main{padding-top:20px}
 .admin-stats-large{gap:8px;background:transparent}.admin-stats-large .admin-stat{border:1px solid var(--line)!important;border-radius:10px}
 .admin-toolbar,.admin-toolbar-wide{position:static;display:grid;grid-template-columns:1fr;gap:8px;padding:12px}.admin-toolbar input,.admin-toolbar select{min-height:48px;font-size:16px}
 .admin-table-wrap{border:0;overflow:visible}.admin-table,.admin-table tbody,.admin-table tr,.admin-table td{display:block;width:100%}.admin-table thead{display:none}
 .admin-table tr{border:1px solid var(--line);margin-bottom:10px;padding:13px;background:#0b0d12;border-radius:10px}.admin-table td{border:0!important;padding:6px 0!important}
 .admin-bot-card{display:block;padding:14px;border-radius:12px}.admin-bot-title{align-items:flex-start}.admin-bot-title h3{width:100%;font-size:20px}
 .admin-bot-health,.admin-bot-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}
 .admin-bot-controls{min-width:0;margin-top:12px}.admin-lifetime-control{border-radius:10px}.admin-lifetime-head{display:block}.admin-lifetime-head strong{display:block;margin-top:9px;font-size:20px}
 .lifetime-quick-actions{grid-template-columns:repeat(5,1fr)}.lifetime-chip{min-width:0;padding:0}.lifetime-custom-row{grid-template-columns:1fr}.lifetime-custom-row input{min-height:48px;font-size:16px}.lifetime-custom-row .btn{min-height:46px}
 .admin-bot-actions{grid-template-columns:repeat(2,1fr)}.admin-bot-actions .btn{min-height:44px}
 .admin-dashboard-grid,.admin-module-usage,.admin-operations-grid,.admin-agents-list,.admin-diagnosis-grid{gap:10px}.admin-drawer-panel{width:100vw}.admin-drawer-head{padding:16px}.admin-drawer-content{padding:14px}
}
@media(max-width:390px){
 .mobile-app-nav .tab,.mobile-admin-nav .tab{font-size:8px}.mobile-admin-nav .nav-icon{font-size:17px}
 .lifecycle-actions{grid-template-columns:1fr}.lifecycle-actions .green,.lifecycle-actions .danger{grid-column:auto}
 .admin-bot-health,.admin-bot-meta{grid-template-columns:1fr}.lifetime-quick-actions{grid-template-columns:repeat(2,1fr)}
 .module-modal-actions{grid-template-columns:1fr}.module-modal-actions .reset-button{grid-column:auto}
}
