:root{--np-header:76px;--np-sidebar:284px;--np-accent:#6ce3f1}
body{background:#0b101b}
.np-topbar{height:var(--np-header);position:fixed;inset:0 0 auto;z-index:110;display:flex;align-items:center;gap:24px;padding:0 28px;background:#111827f5;border-bottom:1px solid #263247;backdrop-filter:blur(18px)}
.np-wordmark{display:flex;align-items:center;gap:12px;color:#eef5ff;text-decoration:none;font-size:18px;font-weight:750;letter-spacing:-.03em}.np-wordmark small{display:block;color:#8a9bb5;font-size:9px;letter-spacing:.17em;font-weight:650;margin-top:2px}.np-monogram{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #3d7e99;border-radius:12px;background:linear-gradient(135deg,#153344,#26234e);color:#86f0ff;font-size:16px;font-weight:900;letter-spacing:-.07em}.np-topbar-caption{margin-left:auto;color:#94a5bd;font-size:13px}.np-help-link{color:#c2cfe1;text-decoration:none;font-size:13px;padding:8px 13px;border:1px solid #344159;border-radius:8px}#np-menu-toggle{display:none}
#np-sidebar{position:fixed;left:0;top:var(--np-header);bottom:0;width:var(--np-sidebar);padding:25px 18px 98px;overflow:auto;overscroll-behavior:contain;background:#121a28;border-right:1px solid #263247;z-index:105;scrollbar-width:thin;scrollbar-color:#374862 transparent}.np-side-title,.np-side-label{font-size:10px;font-weight:800;letter-spacing:.15em;color:#7387a4;margin:3px 12px 12px}.np-side-label{margin-top:26px}.np-side-link{display:flex;gap:12px;align-items:center;border:1px solid transparent;background:none;color:#aebbd0;width:100%;text-align:left;font-weight:550;font-size:13px;box-shadow:none;border-radius:9px;padding:11px 13px;line-height:1.4}.np-side-link:hover{background:#1c293c;color:#fff;transform:none}.np-side-link[aria-current=page]{background:#153342;border-color:#295065;color:#87e9f5}.np-side-hint{color:#7486a1;font-size:12px;margin:12px}.np-current-server{padding:22px 10px 14px;font-size:15px;font-weight:750;border-top:1px solid #2a3447;margin-top:22px}.np-nav-search{display:flex;align-items:center;gap:9px;background:#0c1320;border:1px solid #2a374d;border-radius:9px;padding:0 10px;margin:0 0 20px}.np-nav-search span{font-size:24px;color:#8b9db8}.np-nav-search input{background:none;border:0!important;box-shadow:none!important;min-width:0;width:100%;padding:11px 0;font-size:12px;color:#e7effc;margin:0}.np-nav-group{margin:13px 0}.np-nav-group>summary{cursor:pointer;color:#7e92af;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;list-style:none;padding:8px 12px;display:flex;justify-content:space-between}.np-nav-group>summary:after{content:'⌄'}.np-module-item small{margin-left:auto;font-size:9px;font-weight:600;color:#7589a7;white-space:nowrap}.np-module-item .np-nav-icon{width:20px;text-align:center;color:#91a4c3}.np-side-footer{position:fixed;bottom:0;left:0;width:var(--np-sidebar);padding:17px 24px;background:#141e2e;border-top:1px solid #29364d;display:flex;gap:12px;align-items:center;font-size:12px;font-weight:650}.np-side-footer small{display:block;color:#8094af;font-size:10px;font-weight:400;margin-top:3px}#np-server-rail{display:flex;gap:8px;flex-wrap:wrap;padding:0 10px}.np-server-shortcut{height:38px;width:38px;min-width:38px;padding:0;border-radius:12px;border:1px solid #34455e;background:#202e43;color:#c5d7ef;font-size:11px;box-shadow:none}.np-server-shortcut[aria-current=page]{border-color:#71dfed;background:#124356;color:#d2fbff;box-shadow:0 0 0 2px #6ce3f11a}.np-server-shortcut:hover{transform:none}
main.np-main{margin:calc(var(--np-header) + 28px) 32px 60px calc(var(--np-sidebar) + 32px);width:auto;max-width:1640px}.np-main .hero{box-shadow:none;border-radius:16px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.1fr);align-items:center;background:#121c2d}.np-main .hero img{height:100%;object-fit:cover;min-height:190px;max-height:260px}.np-main .hero-copy{padding:26px 30px;border-top:0;background:transparent}.np-main .hero h1{font-size:clamp(23px,2.5vw,36px);max-width:570px;line-height:1.17}.np-main .hero .lead{font-size:12px;line-height:1.65;max-width:540px}.np-main .hero .eyebrow{font-size:9px}.np-main .card{border-radius:14px;box-shadow:none;background:#111b2b;padding:24px}.np-main .guild{box-shadow:none;border-radius:12px;background:#101a29}.np-main .guild-head{border-bottom:1px solid #26354b;padding-bottom:18px}.np-main .guild-head h2{font-size:22px}.np-main .server-tabs{gap:6px;border-bottom:1px solid #2b3a51;padding-bottom:12px}.np-main .server-tab{font-size:12px;padding:10px 14px;border-radius:8px}.np-main .status,.np-main #antivirus-indicator{font-size:12px}.np-main .setup-section{border-radius:10px}.np-main .np-workbench-heading h3{font-size:23px}.np-main .connection-offer{margin-bottom:30px}.np-main .entry-choice{text-align:left;border-radius:12px}.np-main .entry-choice strong{font-size:21px}.np-main button:focus-visible,.np-main a:focus-visible,#np-sidebar button:focus-visible,#np-sidebar summary:focus-visible,#np-menu-toggle:focus-visible{outline:2px solid #83e8f5;outline-offset:3px}.np-server-open .hero,.np-server-open #first-run-guide,.np-server-open .connection-offer,.np-server-open [aria-labelledby=trending-title]{display:none}.np-server-open .back-servers{font-size:12px}.np-server-open #dashboard-title{font-size:14px;color:#91a6c4}.np-server-open .toolbar{margin-bottom:10px}#np-nav-empty{font-size:12px;color:#92a4bd;padding:0 12px}
@media(min-width:1900px){main.np-main{margin-right:auto}}@media(max-width:1200px){:root{--np-sidebar:252px}.np-main .hero{display:block}.np-main .hero img{height:auto;max-height:none;object-fit:contain}.np-main .hero-copy{padding:22px}.np-main .np-workbench-layout{grid-template-columns:1fr}.np-main .np-discord-preview{position:static}}
@media(max-width:800px){:root{--np-header:64px;--np-sidebar:290px}.np-topbar{padding:0 16px;gap:12px}.np-wordmark{font-size:16px}.np-wordmark .np-monogram{width:34px;height:34px}.np-wordmark small{font-size:8px}.np-topbar-caption{display:none}#np-menu-toggle{display:block;margin-left:auto;padding:7px 12px;border:1px solid #34445e;background:#1a293e;color:#8ae7f1;box-shadow:none;font-size:19px}.np-help-link{font-size:11px;padding:7px 9px}#np-sidebar{transform:translateX(-100%);transition:transform .18s ease;width:min(290px,calc(100vw - 42px))}.np-menu-open #np-sidebar{transform:translateX(0)}.np-menu-open{overflow:hidden}#np-sidebar-shade{position:fixed;inset:var(--np-header) 0 0;background:#020711b8;z-index:104}.np-side-footer{width:min(290px,calc(100vw - 42px))}main.np-main{margin:calc(var(--np-header) + 16px) 14px 32px;width:auto}.np-main .card{padding:18px}.np-main .guild{padding:14px}.np-main .toolbar>div:first-child{min-width:0}.np-main .server-tabs{display:grid;grid-template-columns:1fr 1fr}.np-main .server-tab{padding:10px 7px;font-size:11px}.np-main .hero-copy{padding:20px}.np-main .hero h1{font-size:25px}.np-main .hero img{min-height:0}.np-main .np-workbench-layout{display:block}.np-main .np-workbench-form{min-width:0}.np-main .np-discord-preview{margin-top:18px}.np-main .np-model-sketch{display:none}}
@media(prefers-reduced-motion:reduce){#np-sidebar{transition:none}}

.np-main .np-workbench-heading,.np-main .server-tabs{scroll-margin-top:94px}.np-main .module-dialog{z-index:120}.np-main .module-dialog-content{border-radius:14px;background:#121d2e}.np-main .module-dialog .module-grid{max-height:180px}

/* Preserve the full NP artwork on every server page, without cropping. */
.np-server-open .np-main .hero{display:block;background:#0d1728;margin-bottom:22px;border-color:#304a66}
.np-server-open .np-main .hero img{display:block;width:100%;height:auto;max-height:none;min-height:0;object-fit:contain}
.np-server-open .np-main .hero-copy{display:none}
@media(max-width:800px){#np-sidebar{visibility:hidden}.np-menu-open #np-sidebar{visibility:visible}.np-server-open .np-main .hero{margin-bottom:16px;border-radius:10px}}

.np-brand-animation{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:13px;overflow:hidden;background:#0b1220}
.np-brand-animation img{display:block;width:100%;height:100%;object-fit:contain}
.np-brand-static{display:none;color:#86f0ff;font-weight:900;font-size:19px}
@media(max-width:800px){.np-brand-animation{width:44px;height:44px;border-radius:10px}}
@media(prefers-reduced-motion:reduce){.np-brand-animation img{display:none}.np-brand-static{display:block}}

#np-header-security{margin-left:auto;display:flex;align-items:center;gap:10px;background:#162436;border:1px solid #34465e;padding:7px 13px;border-radius:10px;color:#d8e9fa;text-align:left;font-size:12px;line-height:1.4;box-shadow:none;font-weight:650;white-space:nowrap}
#np-header-security small{display:block;font-size:10px;color:#95a9c2;font-weight:400}.np-security-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#ffc973;box-shadow:0 0 0 4px #ffc97311}#np-header-security[data-state=on] .np-security-dot{background:#74e2b6;box-shadow:0 0 0 4px #74e2b611}#np-header-security[data-state=off] .np-security-dot{background:#ff8f86;box-shadow:0 0 0 4px #ff8f8611}
@media(max-width:800px){.np-topbar{gap:8px}.np-wordmark>span:last-child{display:none}#np-header-security{margin-left:auto;padding:7px 9px;font-size:10px;gap:8px}#np-header-security small{font-size:9px}#np-menu-toggle{margin-left:0}.np-help-link{display:none}}

.module-readiness{display:block;width:fit-content;margin:7px 0;padding:4px 8px;border-radius:7px;border:1px solid #66718d;font-size:11px;font-weight:700;color:#d5dbea;background:#242c40}.module-readiness[data-state=blocked],.module-readiness[data-state=unavailable]{color:#ffd7c5;background:#432c2c;border-color:#a36c54}

/* NP identity: midnight blue, electric blue and cyan. */
:root{--bg:#070e19;--surface:#101e30;--surface-raised:#142840;--surface-soft:#0b1727;--line:#294863;--cyan:#73e5f5;--violet:#6bcaff;--np-accent:#70e9ff}
body{background:radial-gradient(ellipse at 80% 0%,#123453 0,transparent 55%),#070e19}
.np-topbar{background:#0a1626f5;border-color:#28445e}
#np-sidebar{background:#0b1727;border-color:#28445e}
.np-side-link[aria-current=page]{background:linear-gradient(100deg,#123f58,#102c44);border-color:#3989a8;color:#a4f3ff}
.np-side-footer{background:#0c1a2b}.np-monogram{background:linear-gradient(135deg,#16485b,#123259)}
.np-main .card,.np-main .np-config-workbench{background:#101e30;border:1px solid #29435d;border-radius:20px;box-shadow:0 14px 40px #02091330}
.np-main .guild,.np-main .setup-section{background:#0c192a;border-color:#29435d;border-radius:14px}
.np-main .workspace-choice{background:linear-gradient(125deg,#102e45,#102535);border-color:#315875}
.np-main .workspace-option,.np-main .entry-choice{background:#10283e;border-color:#355d79;border-radius:16px}
.np-main .entry-choice:hover{background:#153950;border-color:#70e9ff;transform:translateY(-2px)}
.np-main .hero,.np-server-open .np-main .hero{display:block;overflow:hidden;background:#0b1727;border:1px solid #315875;border-radius:18px;margin-bottom:24px}
.np-main .hero img,.np-server-open .np-main .hero img{display:block;width:100%;height:auto;max-height:none;min-height:0;object-fit:contain}
.np-main .hero-copy{display:none}
.np-main .np-discord-preview{background:#0b1727;border-color:#315875;border-radius:16px}
.np-main .button,.np-main button:not(.secondary):not(.np-side-link):not(.server-tab):not(.entry-choice):not(.workspace-option){--violet:#6bcaff}
#np-auth-entry{max-width:800px;margin:28px auto;padding:clamp(24px,5vw,48px)}
#np-auth-entry .button{display:inline-flex;margin:16px 0;padding:14px 22px;background:linear-gradient(115deg,#147abe,#20b7cb);color:white;border:1px solid #68daef;border-radius:12px}
[hidden]{display:none!important}

/* Three work areas, matching the reference dashboard organisation. */
.np-main .np-workbench-layout{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(300px,1.35fr) minmax(250px,1fr);gap:18px;padding:20px;align-items:start}
.np-column-title{font-size:18px;margin:0 0 20px;color:#f0f8ff;letter-spacing:-.02em}
.np-workbench-settings,.np-main .np-workbench-form,.np-main .np-discord-preview{padding:20px;margin:0;border:1px solid #294760;border-radius:18px;background:#0b1828;min-width:0;max-height:none;overflow:visible}
.np-main .np-workbench-form{scrollbar-gutter:auto}
.np-workbench-settings .server-tabs{display:grid;grid-template-columns:1fr;border:0;margin:0 0 22px;padding:0;gap:7px}
.np-workbench-settings .server-tab{text-align:left;width:100%;padding:12px;border:1px solid #26445c;background:#102438}
.np-workbench-settings .server-tab[aria-pressed=true]{color:#a5f3ff;border-color:#4ea7c1;background:#154158}
.np-workbench-settings .workspace-choice{padding:14px;margin:0 0 18px;background:#10283b;border-color:#315875}
.np-workbench-settings .workspace-options,.np-workbench-settings .profile-gallery,.np-workbench-settings .office-profile-gallery{grid-template-columns:1fr!important}
.np-workbench-settings .workspace-option{padding:12px;gap:4px}.np-workbench-settings .workspace-option strong{font-size:15px}.np-workbench-settings .workspace-option>span{font-size:20px}
.np-workbench-settings .np-workbench-models h4{font-size:16px}.np-workbench-settings .np-catalog-choice{padding:12px}
.np-main .np-workbench-form>.setup-section{padding:16px;margin:0 0 18px;background:#102136;border-color:#2b4862;border-radius:14px}
.np-main .np-discord-preview{position:sticky;top:96px;max-height:calc(100vh - 116px);overflow:auto}
.np-main .np-workbench-heading{background:#10263a;border-color:#294760}.np-main .np-workbench-heading p{max-width:850px}
.np-main .np-workbench-models .np-model-sketch{font-size:10px}
@media(min-width:801px){:root{--np-sidebar:236px}main.np-main{margin-left:calc(var(--np-sidebar) + 24px);margin-right:24px}.np-main .guild{padding:18px}}
@media(max-width:1350px) and (min-width:1001px){.np-main .np-workbench-layout{grid-template-columns:minmax(200px,.8fr) minmax(300px,1.2fr)}.np-main .np-discord-preview{position:static;grid-column:1 / -1;max-height:none}}
@media(max-width:1000px){.np-main .np-workbench-layout{grid-template-columns:minmax(0,1fr);padding:14px}.np-main .np-discord-preview{position:static;max-height:none}.np-workbench-settings .server-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.np-workbench-settings .profile-gallery,.np-workbench-settings .office-profile-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.np-workbench-settings .profile-gallery,.np-workbench-settings .office-profile-gallery{grid-template-columns:1fr!important}.np-workbench-settings,.np-main .np-workbench-form,.np-main .np-discord-preview{padding:14px}.np-workbench-settings .server-tabs{grid-template-columns:1fr}}

.np-main .np-discord-preview{position:static;max-height:none;overflow:visible}

/* Module settings belong to the central editor, without a popup or backdrop. */
.np-main .np-workbench-form .module-dialog{position:static;inset:auto;z-index:auto;background:none;backdrop-filter:none;padding:0;width:auto;min-height:0;scroll-margin-top:96px}
.np-main .np-workbench-form .module-dialog.is-open{display:block}
.np-main .np-workbench-form .module-dialog-content{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;border:0;background:transparent;box-shadow:none}
.np-main .np-workbench-form .module-dialog .module-grid{max-height:none;overflow:visible;grid-template-columns:1fr}
.np-main .np-workbench-form .module-tools{display:grid;grid-template-columns:1fr;gap:10px}
.np-main .np-workbench-form .module-dialog .actions{position:static;background:none;flex-wrap:wrap}

.np-main .role-settings,.np-main .module-config-state{background:#10283d;border-color:#315875}

/* Each menu destination is a separate routed view in the current tab. */
.np-module-page .np-workbench-settings .workspace-choice,
.np-module-page .np-workbench-settings .np-workbench-models,
.np-module-page .np-workbench-settings .np-catalog-choice{display:none}
.np-module-page .np-workbench-form>.np-column-title{display:none}
.np-module-page .np-workbench-heading p{display:none}

/* Independent rounded cards, as in the supplied reference. */
.np-server-open .np-main #workspace-content>section.card,
.np-server-open .np-main .guild,
.np-main .np-config-workbench{background:transparent;border:0;box-shadow:none;overflow:visible}
.np-main .np-config-workbench{margin-top:20px}
.np-main .np-workbench-heading{padding:12px 4px 24px;background:transparent;border:0}
.np-main .np-workbench-heading h3{font-size:30px;letter-spacing:-.035em}
.np-main .np-workbench-layout{padding:0;gap:22px}
.np-workbench-settings,.np-main .np-workbench-form{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.np-main .np-workbench-form>.setup-section,
.np-workbench-settings .workspace-choice,
.np-workbench-settings .np-catalog-choice,
.np-workbench-settings .np-workbench-models,
.np-workbench-settings .server-tabs,
.np-main .np-discord-preview,
.np-main .module-dialog-content>.module-tools,
.np-main .module-dialog-content>.module-grid,
.np-main .module-dialog-content>[data-module-config-page],
.np-main .module-dialog-content>.role-settings{
 background:linear-gradient(145deg,#11263ae8,#0b1829f5);border:1px solid #34516a;
 border-radius:24px;padding:22px;margin:0 0 22px;box-shadow:0 10px 30px #02091224;min-width:0
}
.np-workbench-settings .server-tabs{display:grid;gap:8px}
.np-workbench-settings .np-workbench-models .profile-gallery,
.np-workbench-settings .np-workbench-models .office-profile-gallery{margin-bottom:0}
.np-main .module-dialog-content>.module-grid{display:grid;max-height:none;overflow:visible}
.np-main .module-dialog-content>.module-grid .module-option{background:#0b1b2c;border-radius:16px;border-color:#2c4b64}
.np-main .module-dialog-content>h3{font-size:22px;padding:0 4px 12px}
.np-main .np-preview-category,.np-main .np-preview-bubble{border-radius:16px;background:#102238;border:1px solid #29445e}
.np-main .np-preview-bubble{border-left:3px solid #6ce3f1}
.np-main .module-dialog-content>.actions{padding:16px 0;gap:10px}
.np-main .np-workbench-form>.np-column-title,.np-column-title{padding:0 4px}
@media(max-width:600px){.np-main .np-workbench-form>.setup-section,.np-workbench-settings .workspace-choice,.np-workbench-settings .np-catalog-choice,.np-workbench-settings .np-workbench-models,.np-workbench-settings .server-tabs,.np-main .np-discord-preview,.np-main .module-dialog-content>.module-tools,.np-main .module-dialog-content>.module-grid,.np-main .module-dialog-content>[data-module-config-page]{padding:16px;border-radius:20px}}

/* Subtle frosted cards, with an opaque fallback when blur is unavailable. */
.np-main .np-workbench-form>.setup-section,
.np-workbench-settings .workspace-choice,
.np-workbench-settings .np-catalog-choice,
.np-workbench-settings .np-workbench-models,
.np-workbench-settings .server-tabs,
.np-main .np-discord-preview,
.np-main .module-dialog-content>.module-tools,
.np-main .module-dialog-content>.module-grid,
.np-main .module-dialog-content>[data-module-config-page],
.np-main .module-dialog-content>.role-settings{
 background:linear-gradient(140deg,rgba(29,66,94,.78),rgba(10,25,43,.88));
 border-color:rgba(132,207,235,.22);
 box-shadow:inset 0 1px 0 rgba(196,239,255,.07),0 14px 36px rgba(0,8,20,.23)
}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
 .np-main .np-workbench-form>.setup-section,
 .np-workbench-settings .workspace-choice,
 .np-workbench-settings .np-catalog-choice,
 .np-workbench-settings .np-workbench-models,
 .np-workbench-settings .server-tabs,
 .np-main .np-discord-preview,
 .np-main .module-dialog-content>.module-tools,
 .np-main .module-dialog-content>.module-grid,
 .np-main .module-dialog-content>[data-module-config-page],
 .np-main .module-dialog-content>.role-settings{
  background:linear-gradient(140deg,rgba(29,66,94,.5),rgba(10,25,43,.7));
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)
 }
}
@media(prefers-reduced-transparency:reduce){
 .np-main .np-workbench-form>.setup-section,
 .np-workbench-settings .workspace-choice,
 .np-workbench-settings .np-catalog-choice,
 .np-workbench-settings .np-workbench-models,
 .np-workbench-settings .server-tabs,
 .np-main .np-discord-preview,
 .np-main .module-dialog-content>.module-tools,
 .np-main .module-dialog-content>.module-grid,
 .np-main .module-dialog-content>[data-module-config-page],
 .np-main .module-dialog-content>.role-settings{background:#102438;-webkit-backdrop-filter:none;backdrop-filter:none}
}

@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){
 .np-main .np-workbench-form>.setup-section,
 .np-workbench-settings .workspace-choice,
 .np-workbench-settings .np-catalog-choice,
 .np-workbench-settings .np-workbench-models,
 .np-workbench-settings .server-tabs,
 .np-main .np-discord-preview,
 .np-main .module-dialog-content>.module-tools,
 .np-main .module-dialog-content>.module-grid,
 .np-main .module-dialog-content>[data-module-config-page],
 .np-main .module-dialog-content>.role-settings{
 background:linear-gradient(145deg,rgba(164,228,255,.12),rgba(27,65,94,.36) 28%,rgba(9,24,43,.64));
 border:1px solid rgba(169,224,246,.26);border-top-color:rgba(200,240,255,.38);
 -webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);
 box-shadow:inset 0 1px 0 rgba(225,248,255,.12),inset 1px 0 0 rgba(195,235,255,.04),0 12px 32px rgba(0,8,20,.22)
 }
}
@media(prefers-reduced-transparency:reduce){.np-main .np-workbench-form>.setup-section,.np-workbench-settings .workspace-choice,.np-workbench-settings .np-catalog-choice,.np-workbench-settings .np-workbench-models,.np-workbench-settings .server-tabs,.np-main .np-discord-preview,.np-main .module-dialog-content>.module-tools,.np-main .module-dialog-content>.module-grid,.np-main .module-dialog-content>[data-module-config-page],.np-main .module-dialog-content>.role-settings{background:#102438;-webkit-backdrop-filter:none;backdrop-filter:none}}

.np-panel-editor{margin-top:22px;padding:20px;border:1px solid #8ed7ef38;border-radius:22px;background:linear-gradient(140deg,#a4e4ff18,#0a192baa);backdrop-filter:blur(18px)}
.np-panel-editor fieldset{border:1px solid #34526d;border-radius:14px;padding:14px;margin:12px 0;min-width:0}
.np-panel-editor label{display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:13px;color:#c4d9eb}
.np-panel-editor input:not([type=checkbox]),.np-panel-editor textarea,.np-panel-editor select{width:100%;min-width:0;margin:0;background:#0b1a2be0;border:1px solid #35566f;border-radius:10px;color:#edf6ff;padding:10px}
.np-panel-editor input[type=color]{height:44px;padding:5px;cursor:pointer}.np-panel-editor textarea{min-height:110px}
.np-panel-editor [role=status]{font-size:13px;color:#9ce7ef}.np-preview-button-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.np-main .np-panel-editor button{background:linear-gradient(120deg,#78e6f1,#4ca6da);color:#071827;border:1px solid #8ed7ef66}
.np-main .np-panel-editor button:hover{background:linear-gradient(120deg,#a1eff5,#67bbdf)}
.np-main .np-preview-button{opacity:1!important;border-radius:8px;font-size:12px;padding:9px 12px;cursor:default;background:#4752c4;border:0;color:#fff}
.np-main .np-preview-button[data-style=secondary]{background:#46505c}.np-main .np-preview-button[data-style=success]{background:#287e4a}.np-main .np-preview-button[data-style=danger]{background:#b73840}.np-main .np-preview-button[data-style=link]{background:#414956}

/* Compact web menus and editor, keeping comfortable control targets. */
.np-main [data-focused-module] .np-workbench-layout{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}
.np-main [data-focused-module] .np-workbench-heading>p,
.np-main [data-focused-module] .module-tools,
.np-main [data-focused-module] [data-module-count],
.np-main [data-focused-module] #module-dialog-title,
.np-main [data-focused-module] #module-dialog-title+p,
.np-main [data-focused-module] .np-existing-module-targets>h4,
.np-main [data-focused-module] .np-existing-module-targets>p:not([role=status]){display:none}
@media(max-width:900px){.np-main [data-focused-module] .np-workbench-layout{grid-template-columns:1fr}}
#np-sidebar{padding-top:16px}
.np-side-link{padding:7px 10px;font-size:12px;gap:8px;min-height:34px}
.np-nav-group{margin:5px 0}.np-nav-group>summary{padding:6px 10px}
.np-side-label{margin-top:16px}.np-current-server{padding:12px 8px 10px;margin-top:12px;font-size:14px}
.np-nav-search{margin-bottom:10px}.np-nav-search input{padding:8px 0}
.np-main .np-workbench-layout{gap:12px;padding:14px}
.np-workbench-settings,.np-main .np-workbench-form,.np-main .np-discord-preview{padding:14px}
.np-column-title{margin-bottom:12px}.np-workbench-settings .server-tab{padding:8px 10px}
.np-main .np-panel-editor{padding:14px;margin-top:14px;border-radius:16px}
.np-panel-editor>p{font-size:12px;line-height:1.5;margin:8px 0}
.np-panel-editor fieldset{padding:10px;margin:8px 0;border-radius:12px}
.np-panel-editor label{gap:5px;margin:7px 0;font-size:12px}
.np-panel-editor input:not([type=checkbox]),.np-panel-editor textarea,.np-panel-editor select{padding:8px;min-height:36px;font-size:13px}
.np-panel-editor textarea{min-height:76px}.np-panel-editor input[type=color]{height:36px;padding:3px}
.np-main .np-panel-editor button{padding:8px 12px;min-height:36px;font-size:12px;border-radius:9px}
.np-panel-editor .actions{gap:7px;margin-top:8px;display:flex;flex-wrap:wrap}
@media(min-width:1200px){
 .np-panel-editor>fieldset,.np-editor-buttons>fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}
 .np-panel-editor .np-editor-wide,.np-panel-editor>fieldset>h4,.np-panel-editor>fieldset>.np-editor-buttons,.np-panel-editor>fieldset>button,.np-panel-editor>fieldset>.actions,.np-panel-editor>fieldset>label:has(input[type=checkbox]),.np-editor-buttons>fieldset>button{grid-column:1/-1}
}

/* Slightly tighter spacing, keeping the approved text size. */
.np-side-link{padding:6px 10px;min-height:32px}
.np-nav-group{margin:4px 0}.np-nav-group>summary{padding:5px 10px}
.np-main .np-workbench-layout{gap:11px;padding:12px}
.np-workbench-settings,.np-main .np-workbench-form,.np-main .np-discord-preview{padding:12px}
.np-main .np-panel-editor{padding:12px;margin-top:12px}
.np-panel-editor fieldset{padding:9px;margin:7px 0}
.np-panel-editor label{gap:4px;margin:6px 0}
.np-panel-editor input:not([type=checkbox]),.np-panel-editor textarea,.np-panel-editor select{padding:7px;min-height:34px}
.np-panel-editor textarea{min-height:70px}
.np-main .np-panel-editor button{padding:7px 11px;min-height:34px}
@media(pointer:coarse){.np-side-link,.np-main .np-panel-editor button{min-height:40px}}
.np-discord-preview .np-voice-mini{font-size:12px;padding:10px;background:#102438;border:1px solid #31516a;border-radius:14px;display:grid;gap:7px;overflow:hidden;min-width:0}
.np-voice-mini .np-voice-mini-cover{width:calc(100% + 20px);max-width:none;height:70px;object-fit:cover;margin:-10px -10px 0}
.np-voice-mini>img:not(.np-voice-mini-cover){width:28px;height:28px}.np-voice-mini h4{font-size:14px;margin:0}.np-voice-mini p{font-size:11px;margin:2px 0;line-height:1.4}.np-voice-mini strong{font-size:12px}.np-voice-mini section{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding-top:7px;border-top:1px solid #31516a}.np-voice-mini section>strong,.np-voice-mini section>input[type=search],.np-voice-mini section>select,.np-voice-mini section>div{grid-column:1/-1}
.np-discord-preview .np-voice-mini input,.np-discord-preview .np-voice-mini select{width:100%;min-width:0;margin:0;padding:5px 7px;font-size:12px;height:30px}.np-discord-preview .np-voice-mini input[type=range]{height:24px;padding:0}.np-discord-preview .np-voice-mini button{display:inline-block;width:auto;min-height:28px;font-size:11px;padding:4px 7px;margin:2px 3px 0 0}.np-voice-mini img{object-fit:cover;border-radius:5px;vertical-align:middle}.np-voice-mini output{font-size:12px}.np-voice-mini [data-appearance=primary]{background:#5865f2}.np-voice-mini [data-appearance=success]{background:#248046}.np-voice-mini [data-appearance=danger]{background:#da373c}
.np-voice-mini-identity{display:grid;grid-template-columns:30px 1fr;gap:2px 7px;align-items:center}.np-voice-mini-identity>img{grid-row:1/3;width:28px;height:28px}.np-voice-mini-identity>strong,.np-voice-mini-identity>p{grid-column:2}.np-voice-mini details{font-size:11px;margin-top:4px}.np-voice-mini summary{padding:3px 0}.np-voice-mini>div>details button{opacity:.7}
.np-voice-mini section>p{grid-column:1/-1;font-size:11px;margin:0}

/* Compact module management; statuses remain textual, not colour-only. */
.np-panel-editor .np-editor-advanced{margin:10px 0;border:1px solid #73e5f52b;border-radius:10px;padding:10px}
.np-panel-editor summary{cursor:pointer;color:#bfeef4;font-size:13px;font-weight:600}
.np-panel-editor summary:focus-visible{outline:2px solid #73e5f5;outline-offset:3px}
.np-giveaway-history-row{display:grid;gap:8px;padding:12px;margin:10px 0;border:1px solid #73e5f52b;border-radius:12px;background:#08172788}
.np-giveaway-history-row p{margin:0;font-size:12px;line-height:1.5}
.np-giveaway-history-row a{color:#73e5f5;font-size:12px;overflow-wrap:anywhere}
.np-giveaway-history-row small{color:#b7cddd}

/* Keep the mobile identity card outside the scrolling navigation area. */
@media(max-width:800px){
 #np-sidebar{overflow:hidden;padding-bottom:0;display:flex;flex-direction:column;height:calc(100dvh - var(--np-header));bottom:auto}
 #np-sidebar>#np-section-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
 #np-sidebar>*:not(#np-section-nav){flex-shrink:0}
 #np-sidebar>.np-side-footer{position:relative;left:auto;bottom:auto;width:auto;flex:0 0 auto;margin-top:auto;padding-bottom:calc(17px + env(safe-area-inset-bottom,0px))}
}
