/* Shared command-center design system. Kept separate from feature-specific styles. */
:root{--bg:#101415;--panel:#191e20;--panel2:#202729;--ink:#f1f4f1;--muted:#a4afb0;--signal:#c7ed8a;--green:#98dba3;--line:rgba(194,214,210,.12);--line2:rgba(194,214,210,.24);--radius:14px}
html{background:var(--bg);font-family:"Segoe UI",system-ui,sans-serif;scroll-padding-top:100px}
body{background:radial-gradient(ellipse at 75% 0,rgba(94,127,86,.10),transparent 45%),#101415;font-size:14px}
body:before{display:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}button{transition:background .16s,border-color .16s,box-shadow .16s}
:is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--signal);outline-offset:4px}
.app-shell{grid-template-columns:250px minmax(0,1fr)}
.command-sidebar{width:250px;background:#111719;border-right:1px solid var(--line);box-shadow:none}
.side-brand{height:86px;padding:16px 20px;gap:12px;border-bottom:0}
.side-brand strong{font-size:15px;text-transform:none;letter-spacing:-.02em}.side-brand small{font-size:11px;line-height:1.4}
.brand-mark.small{background:linear-gradient(145deg,#c7ed8a,#6eab6d);clip-path:polygon(0 0,85% 0,100% 15%,100% 100%,15% 100%,0 85%);width:42px;height:42px}
.brand-mark.small span{color:#1d3525}.brand-mark.small b{color:#17331d}
.navigation-search{margin:0 16px 10px;padding:10px 12px;min-height:42px;display:flex;gap:9px;align-items:center;border:1px solid var(--line2);border-radius:9px;background:#1a2224;color:#c2cdcd;text-align:left;font-size:12px;cursor:pointer}.navigation-search>span{font-size:22px}.navigation-search kbd{margin-left:auto;color:#849394;font:10px "Segoe UI",sans-serif;border:1px solid var(--line);padding:3px;border-radius:4px}
.command-sidebar .world-nav{padding:0 12px 18px;gap:3px;scrollbar-width:thin;scrollbar-color:#3b4848 transparent}
.command-sidebar .world-nav p{font:700 10px/1.3 "Segoe UI",sans-serif;letter-spacing:.12em;color:#819595;margin:21px 12px 8px}
.command-sidebar .world-nav p:first-child{margin-top:10px}
.command-sidebar .world-nav button{min-height:43px;border-radius:8px;padding:8px 12px;grid-template-columns:28px 1fr auto;gap:5px;color:#b6c3c3}
.command-sidebar .world-nav button b{font-size:12px;font-weight:550}.command-sidebar .world-nav button span{font-size:17px;color:#829595}
.command-sidebar .world-nav button.active{background:#29382b;border:1px solid #4a6342;box-shadow:none;color:#e0f5c4}
.command-sidebar .world-nav button.active span{color:#c7ed8a}.command-sidebar .world-nav button:hover{background:#24302e;border-color:#3b4d44}
.command-sidebar .world-nav button.active b{font-weight:700}.command-sidebar .world-nav button i{font-size:10px;background:#344b37;color:#d2eabc}
.side-foot{min-height:66px;background:#151d1e;padding:14px 24px}.side-foot b{font-size:12px}.side-foot small{font-size:10px}
.topbar{height:86px;padding:16px 30px;gap:20px;background:rgba(16,20,21,.94);border-color:var(--line);backdrop-filter:blur(14px)}.topbar:after{display:none}
.topbar .brand{min-width:0;flex:1}.topbar .brand h1{font-size:24px;font-weight:700;text-transform:none;letter-spacing:-.035em;margin-top:5px}.eyebrow{font:700 10px/1.3 "Segoe UI",sans-serif;color:#93a69b;letter-spacing:.13em}
.server-presence{flex:none;justify-content:flex-start;border:1px solid var(--line);border-radius:10px;padding:9px 14px;gap:12px}.server-presence b{font-size:12px}.server-presence small{font-size:10px;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-dot{width:8px;height:8px}.status-dot.running{animation:none;box-shadow:0 0 0 4px #98dba313}
.header-actions{min-width:0;gap:6px}.header-actions time{font-size:12px;color:#a4b1b0;margin-right:10px}
.icon-btn{border-radius:9px;width:42px;height:42px;flex-shrink:0}.icon-btn:hover{transform:none;background:#283330}
.workspace-shell main{max-width:1840px;margin:0 auto;padding:24px 30px 48px;outline:none}
.workspace-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 23px}.workspace-intro p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;max-width:840px}.workspace-intro .soft-btn{flex-shrink:0}
.workspace-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}
.workspace-shortcuts button{position:relative;display:grid;grid-template-columns:42px 1fr;gap:5px 12px;align-content:center;min-height:100px;padding:18px;text-align:left;background:linear-gradient(130deg,#24332a,#1a2323);border:1px solid #3a4c3d;border-radius:13px;cursor:pointer}
.workspace-shortcuts button>span{grid-row:1/3;align-self:center;font-size:24px;color:#c7ed8a}.workspace-shortcuts button>b{font-size:14px;font-weight:650;padding-right:16px}.workspace-shortcuts button>small{font-size:11px;color:#a8b9aa;line-height:1.5}.workspace-shortcuts button>i{position:absolute;right:15px;top:15px;font-style:normal;color:#b9d0ad}.workspace-shortcuts button:hover{border-color:#99b875;background:#293b2e}
.hero-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:1px;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:14px;margin-bottom:22px}
.hero-strip .metric{min-height:123px;padding:22px 18px;background:#1b2223;border:0;display:flex;gap:14px;align-items:center}.hero-strip .metric-icon{background:#26322c;color:#c1dbab;border:1px solid #35483b;border-radius:10px;width:42px;height:42px;flex-shrink:0}.metric small{font-size:10px;letter-spacing:.10em;color:#a1b2ad}.metric strong{font-size:27px;line-height:1.3}.metric p{font-size:11px;color:#a4b1ac;margin-top:5px}.hero-strip .lifecycle{grid-column:1/-1;display:flex;justify-content:flex-end;background:#171e20;padding:10px 16px;gap:8px;border:0}.hero-strip .lifecycle:before{content:"Server controls";margin-right:auto;align-self:center;font-size:11px;color:#92a39d}.hero-strip .lifecycle .btn{min-width:92px;min-height:36px;padding:7px 12px}
.card{background:#191f21;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #00000010;overflow:hidden}.card:before{display:none}.card-head{min-height:78px;height:auto;padding:19px 22px;border-color:var(--line);gap:15px}.card-head h2,.settings-heading h2{font-size:19px;text-transform:none;letter-spacing:-.025em;margin-top:5px}.card-head .eyebrow{font-size:9px}
.command-grid{gap:20px;grid-template-columns:minmax(0,1fr) 310px;margin-bottom:20px}.map-wrap{min-height:450px;border-radius:0;background:#10191c}.map-tools{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.map-tools .soft-btn{font-size:11px;padding:8px 11px;min-height:36px}.map-card .card-head{flex-wrap:wrap}.map-placeholder h3{font-size:19px}.map-placeholder p{font-size:13px}.map-progress-panel{font-size:12px}
body[data-workspace="map"] .command-grid{grid-template-columns:1fr}body[data-workspace="map"] .command-grid>.players-card{display:none}body[data-workspace="map"] .map-wrap{height:calc(100dvh - 250px);min-height:470px}
.lower-grid{gap:20px}.btn,.soft-btn{min-height:42px;border-radius:8px;font-size:12px;line-height:1.4}.btn.primary{background:#c7ed8a;border:1px solid #daff9e;color:#21311b;box-shadow:0 3px 0 #708848;font-weight:750}.btn.primary:hover{background:#d8f7b1}.btn.danger{color:#ffb4ae;background:#392426;border-color:#663536}.btn.warn{color:#edd094;background:#332c20;border-color:#68512f}.btn.success{color:#b6eabf;background:#203528;border-color:#416a4c}.soft-btn{color:#c5d1cc;background:#252e2e;border-color:#3c4a46;padding:9px 13px}.soft-btn:hover{background:#334137;border-color:#6b865a}
.chip{border-radius:6px;font-size:10px;letter-spacing:.035em;padding:6px 9px}.chip.safe{color:#bddfaf;background:#26362a;border-color:#40543c}
.settings-heading,.community-hero{padding:24px;margin:0 0 20px;background:linear-gradient(120deg,#26302b,#1a2122);border:1px solid var(--line);border-radius:14px}.settings-heading p,.community-hero p{font-size:13px;line-height:1.65;max-width:850px;color:#a8b8ae}.settings-heading h2,.community-hero h2{font-size:24px}.settings-heading .eyebrow,.community-hero .eyebrow{font-size:10px;color:#b3c59f}
.community-hero h2{font-size:22px;text-transform:none}.community-hero>div:first-child>p:last-child{max-width:650px}.community-save-state small{font-size:11px}.community-hero{align-items:center}.community-jump{display:flex;gap:6px;border:0;background:#182021;padding:7px;border-radius:11px;margin-bottom:20px;overflow:auto}.community-jump button{min-height:43px;border-radius:7px;white-space:nowrap;padding:10px 17px;font-size:12px}.community-jump button.active{background:#34432f;border-color:#5a704c;color:#d9efbb}.community-main-grid{display:block}.community-main-grid>.card{width:100%;min-height:420px}.community-main-grid .card-head{padding:23px}.community-main-grid .card-head h2{font-size:21px}.ops-summary{border-radius:12px;overflow:hidden;margin-bottom:18px}.ops-summary article{background:#192123;padding:15px 18px}.ops-summary small{font-size:9px}.ops-summary b{font-size:24px;color:#d5e7c5}.community-card-intro,.enforcement-note p{font-size:12px;line-height:1.6}.ops-row{border-radius:8px;padding:12px;background:#202829}.ops-row b{font-size:13px}.ops-row small{font-size:11px}.ops-row>.soft-btn{display:block}
.settings-form label,.toggle-stack label,.control-row label{font-size:12px;line-height:1.5}.settings-form input,.settings-form select,.settings-form textarea,.roster-tools input,.roster-tools select,#leaderboard-metric,.picker-search input{font-size:13px;border-radius:8px;min-height:44px;background:#11191a;border-color:#3b4b47;color:#e5eee8}.settings-form small{font-size:11px;line-height:1.55}.gamerule-row{padding:14px;border-radius:8px}.gamerule-row b{font-size:13px}.gamerule-row small{font-size:11px}.settings-tabs button,.world-tool-tabs button{min-height:48px;border-radius:8px}.world-tool-tabs button b{font-size:13px}.world-tool-tabs button small{font-size:11px}.world-tool-tabs button.active{background:#2f3e2b;border-color:#738953;color:#d8efbe}
.player-row{padding:14px}.player-row b,.roster-identity b,.inventory-player b{font-size:13px}.player-row small,.roster-identity small,.inventory-player small{font-size:11px}.roster-row{font-size:12px;min-height:78px}.roster-table-head{font-size:10px;background:#20292a}.roster-card{min-height:300px}.roster-row:hover,.inventory-player:hover,.inventory-player.active{background:#28362b}.inventory-player.active{border-color:#719455}.inventory-editor-card{padding:24px}.inventory-section-label{font-size:10px;color:#a2b7ab}.inventory-help{font-size:12px;border-color:#9bb979;background:#253229}.inventory-empty p{font-size:13px;max-width:430px;line-height:1.6}.minecraft-inventory.admin{border-radius:8px;background:#12191b}.inventory-slot:focus-visible{outline:2px solid #c7ed8a;z-index:3}
.quick-grid button{border-radius:9px;min-height:95px}.quick-grid button b{font-size:13px}.quick-grid button small{font-size:11px}.operation b{font-size:13px}.operation small{font-size:11px;line-height:1.5}.operation{min-height:80px;border-radius:8px}.operation:hover{background:#28362b}.announce>span{font-size:10px}.announce input{min-width:0;font-size:12px}.feed{font-size:12px}.empty{font-size:13px;line-height:1.65}.modal{border-radius:16px;border-color:#45554a;background:#192122}.modal h2{font-size:23px}.modal p{font-size:13px;line-height:1.6}
.tool-finder-dialog{color:var(--ink);background:#192223;border:1px solid #46594c;border-radius:18px;padding:24px;width:min(660px,calc(100vw - 28px));max-height:85dvh;box-shadow:0 30px 120px #0009;overflow:auto}.tool-finder-dialog::backdrop{background:#050b0bd4;backdrop-filter:blur(5px)}.finder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.finder-heading h2{font-size:22px;letter-spacing:-.03em;margin:6px 0 20px}.finder-input{display:block;font-size:11px;color:#a9b9ad}.finder-input input{display:block;width:100%;min-height:48px;border:1px solid #657a55;background:#111a1a;color:#f3f7ed;border-radius:9px;font-size:14px;padding:12px;margin-top:7px}.finder-results{margin-top:16px;max-height:46dvh;overflow:auto}.finder-results button{width:100%;display:flex;justify-content:space-between;gap:12px;text-align:left;background:transparent;border:1px solid transparent;border-radius:9px;padding:12px;cursor:pointer}.finder-results button.selected,.finder-results button:hover{background:#2b3b2c;border-color:#546e42}.finder-results small,.finder-results b,.finder-results em{display:block}.finder-results small{font-size:9px;text-transform:uppercase;letter-spacing:.10em;color:#a8bf91}.finder-results b{font-size:14px;margin:3px 0}.finder-results em{font-size:11px;line-height:1.5;font-style:normal;color:#aab9ae}.finder-results i{font-style:normal;color:#b9d29b}.finder-hint{font-size:11px;color:#9fad9e;margin-bottom:0}
.topbar .brand h1,.topbar .brand .eyebrow{display:block}
.command-sidebar .world-nav button b{justify-self:start;text-align:left}
.community-hero{min-height:118px}.community-hero:before{display:none}
.settings-view{gap:18px}.settings-view>.community-hero,.settings-view>.ops-summary,.settings-view>.community-jump{margin-bottom:0}
.ops-summary article>i,.ops-glyph{color:#bddb9c;background:#29382b;border-color:#485f3b}
.pack-quick-start button,.kit-card,.tier-card{border-radius:10px}.kit-card-art{background:linear-gradient(140deg,#283c2c,#182022)}
.community-jump button{text-transform:none;letter-spacing:0;font-family:inherit}
.world-tools-hero{min-height:125px;padding:24px;border-radius:14px;border-color:var(--line);background:linear-gradient(120deg,#26302b,#1a2122)}.world-tools-hero:before{display:none}.world-tools-hero h2{font-size:26px;text-transform:none;letter-spacing:-.03em;line-height:1.2}.world-tools-hero p:not(.eyebrow){font-size:13px}.world-tools-health{border-radius:9px;background:#182220}
.world-tools-summary{border-radius:12px;overflow:hidden;margin:18px 0}.world-tools-summary article{background:#1b2424}.world-tools-summary article>i,.environment-card .tool-glyph{color:#bbd99d;border-color:#435b38;background:#2a382b}.world-tools-summary small{font-size:9px}.world-tools-summary b{font-size:14px}
.world-target-bar{padding:18px;gap:10px}.world-target-title b{font-size:13px}.world-target-title small{font-size:11px}.world-target-bar label,.world-action-fields label,.environment-body>label{font:600 10px "Segoe UI",sans-serif;letter-spacing:.03em}.world-target-bar input,.world-target-bar select,.world-action-fields input,.environment-body input,.environment-body select,.world-catalog-search input,.world-catalog-search select{height:44px;font-size:12px;border-radius:7px;background:#111a1a}.world-target-bar label{min-width:0}.world-tool-tabs{gap:6px;border:0;border-radius:10px;background:#192122;padding:6px;margin:18px 0}.world-tool-tabs button.active span{color:#d0eca7}
.world-object{border-radius:9px;background:#172022}.world-object b{font-size:12px;white-space:normal;line-height:1.4}.world-object small{font-size:9px}.world-object.selected{background:linear-gradient(#2d3a2b,#202a23);box-shadow:inset 0 -3px #b9d797}.world-object:hover{background:#2a342b;border-color:#7d9764}.world-object .voxel-icon{background:radial-gradient(circle,#73995720,transparent 68%)}
.inspector-preview{background:radial-gradient(circle,#7ea15a35,transparent 58%),#1a2520}.inspector-preview:before{border-color:#60734c}.inspector-preview>span{color:#bad397}.world-action-inspector>p:not(.eyebrow),.world-warning p,.environment-body>p{font-size:12px;line-height:1.65}.world-warning b{font-size:12px}.action-facts small{font-size:9px;color:#a4b699}.action-facts b{font-size:11px;line-height:1.5}.action-facts span{background:#192321}.world-map-picker{border-radius:8px}.world-map-picker b{font-size:12px}.world-map-picker small{font-size:10px}
.vault-metrics small,.automation-summary small,.backup-table-head{font-size:9px}.vault-metrics p,.backup-row small,.schedule-main small,.schedule-main p{font-size:11px;line-height:1.5}.backup-row b,.schedule-main b,.vault-safety b{font-size:12px}.vault-safety p,.schedule-guide p,.schedule-templates small{font-size:11px;line-height:1.65}.schedule-templates button{border-radius:8px}.schedule-templates b{font-size:12px}.schedule-run small,.schedule-run b,.consistency-badge,.run-status{font-size:9px}.protection-state b{font-size:13px}.protection-state small{font-size:12px}.schedule-cadence-panel{border-radius:10px}.schedule-cadence-panel>label,.schedule-cadence-panel input{font-size:12px}.schedule-cadence-panel label small,.schedule-safety-note p{font-size:11px}.schedule-safety-note b{font-size:12px}
#nav-toggle,.nav-backdrop{display:none}
@media(min-width:1001px){.world-nav button{scroll-margin:12px}}
@media(max-width:1250px){.header-actions time{display:none}.hero-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.command-grid{grid-template-columns:minmax(0,1fr) 270px}.workspace-shortcuts button{grid-template-columns:1fr}.workspace-shortcuts button>span{display:none}.server-presence small{max-width:125px}}
@media(max-width:1000px){
 .app-shell{display:block}.workspace-shell{grid-column:auto}.command-sidebar{inset:0 auto 0 0;width:280px;height:100dvh;flex-direction:column;transform:translateX(-100%);transition:transform .2s ease;z-index:210;visibility:hidden}.navigation-open .command-sidebar{transform:none;visibility:visible}.navigation-open .nav-backdrop{display:block;position:fixed;inset:0;background:#050b0bcc;border:0;z-index:200;width:100%;height:100dvh}.navigation-open{overflow:hidden}
 .command-sidebar .side-brand{display:grid}.command-sidebar .side-foot{display:grid}.command-sidebar .world-nav{display:flex;flex-direction:column;justify-content:flex-start;overflow-y:auto;padding:0 12px 18px}.command-sidebar .world-nav p{display:block}.command-sidebar .world-nav button{width:100%;height:auto;min-height:44px;display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto;padding:9px 12px;text-align:left}.command-sidebar .world-nav button b{font-size:13px}.command-sidebar .world-nav button i{display:block}
 #nav-toggle{display:block}.topbar{height:80px;padding:12px 20px;gap:14px}.workspace-shell main{padding:20px 20px 40px}.topbar .brand h1{font-size:22px}.topbar .brand{display:flex;min-width:0}.command-grid{grid-template-columns:minmax(0,1fr) 260px}.workspace-intro p{font-size:12px}.header-actions{display:flex;min-width:0}.hero-strip .metric{display:flex}.server-presence{display:flex}.server-presence small{display:none}.community-hero{display:flex;flex-wrap:wrap;gap:15px}.settings-heading{gap:15px}
}
@media(max-width:720px){
 .topbar{padding:12px 14px;gap:10px;height:76px}.topbar .brand h1{font-size:20px}.topbar .eyebrow{font-size:8px}.server-presence{display:none}.header-actions{gap:5px}.header-actions .icon-btn{width:36px;height:40px;font-size:18px}.workspace-shell main{padding:18px 14px 35px}.workspace-intro{align-items:flex-start;gap:10px}.workspace-intro .soft-btn{font-size:0;width:42px;padding:8px}.workspace-intro .soft-btn:before{content:'⌕';font-size:22px}
 .workspace-shortcuts{grid-template-columns:1fr;gap:8px}.workspace-shortcuts button{min-height:74px;padding:14px 18px;grid-template-columns:32px 1fr}.workspace-shortcuts button>span{display:block;font-size:23px}.workspace-shortcuts button>b{font-size:13px}.hero-strip .metric{min-height:112px;padding:15px 12px;gap:9px}.hero-strip .metric-icon{display:none}.metric strong{font-size:24px}.metric p{font-size:10px}.hero-strip .lifecycle:before{display:none}.hero-strip .lifecycle{justify-content:stretch}.hero-strip .lifecycle .btn{flex:1;min-width:0}
 .command-grid,.lower-grid{grid-template-columns:1fr}.map-wrap{height:400px;min-height:350px}.card-head{padding:17px;flex-wrap:wrap}.card-head h2{font-size:18px}.map-tools{width:100%;justify-content:flex-start}.map-tools .soft-btn{min-height:42px;flex:1;font-size:11px}.map-tools .chip{width:100%;text-align:left}.map-tools #map-teleport-help{display:inline-block}.map-teleport-coach{max-width:calc(100% - 24px)}.players-card{min-height:220px}.settings-heading,.community-hero{padding:20px}.settings-heading h2{font-size:21px}.community-jump button{padding:10px 13px}.ops-summary{grid-template-columns:repeat(2,1fr)}.community-main-grid .card-head{padding:18px}.community-main-grid .card-head h2{font-size:19px}.roster-tools{flex-wrap:wrap}.roster-tools input{width:100%}.inventory-editor-card{padding:13px}.inventory-workspace{grid-template-columns:1fr}.minecraft-inventory.admin{grid-template-columns:repeat(9,minmax(0,1fr));padding:6px;gap:2px}.minecraft-inventory.admin .inventory-slot{min-width:0}.inventory-player-picker{min-height:150px;max-height:230px}.inventory-editor-head{flex-wrap:wrap;gap:12px}.settings-form{min-width:0}.community-main-grid>.card{min-height:300px}.tool-finder-dialog{padding:18px}.finder-heading h2{font-size:19px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
