:root{color-scheme:dark;--st-bg:#0c1013;--st-panel:#151b21;--st-line:#35414b;--st-text:#eef3f5;--st-muted:#a9bac4;--st-accent:#38c5de}
body.stella-imported{--bg-primary:#0c1013;--bg-secondary:#151b21;--bg-tertiary:#1d2830;--border-color:#35414b;--text-primary:#eef3f5;--text-secondary:#a9bac4;--accent-primary:#38c5de;--accent-hover:#259fb5;--info-bg:#153039;--info-text:#8adcea;--warning-bg:#332d1d;--warning-text:#f2c365;--danger-bg:#321e25;--danger-text:#f89aa9;--success-text:#6bddaa;--code-bg:#0b1014}
.stella-imported img[src*="item-preview.svg"]{filter:invert(.7);padding:5px;opacity:.75}.stella-imported #baseWeaponImage[src*="item-preview.svg"]{max-height:120px}.stella-imported .vehicle-card{border-width:1px!important}.stella-imported .vehicle-card.selected{border-color:#38c5de!important;background:#153039!important}.stella-imported .vehicle-card .aspect-square{aspect-ratio:3/2}.stella-imported .vehicle-card h4{font-size:13px}.stella-imported #vehicleGrid{gap:10px}.stella-imported .modal-backdrop.hidden{display:none!important}
html{scroll-behavior:smooth}body.stella-imported,body.stella-spawnable{margin:0;background:var(--st-bg)!important;color:var(--st-text)!important;font-family:Inter,system-ui,sans-serif;letter-spacing:0}
*{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--st-accent);outline-offset:3px}
.stella-tool-header{min-height:72px;padding:16px 32px;border-bottom:1px solid var(--st-line);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#11171c;color:var(--st-text)}
.stella-tool-brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;text-decoration:none;color:var(--st-text)}.stella-tool-brand>i{color:var(--st-accent);font-size:24px}.stella-tool-brand small{display:block;font-size:10px;color:var(--st-muted);margin-top:2px}.top-actions{display:flex;align-items:center;gap:20px}.top-actions>a{color:var(--st-muted);font-size:13px;text-decoration:none}.top-actions>a:hover{color:var(--st-accent)}
.stella-tool-workspace{max-width:1560px;margin:auto;padding:32px 28px 64px;min-width:0}.stella-page-title{font-size:28px;font-weight:750;line-height:1.2}.stella-tool-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 32px;border-top:1px solid var(--st-line);font-size:12px;color:var(--st-muted)}
.stella-imported [class*="bg-white"],.stella-imported .bg-gray-50,.stella-imported .bg-gray-100,.stella-imported .bg-gray-200{background-color:var(--st-panel)!important}.stella-imported [class*="text-gray-8"],.stella-imported [class*="text-gray-9"],.stella-imported .text-black{color:var(--st-text)!important}.stella-imported [class*="text-gray-5"],.stella-imported [class*="text-gray-6"],.stella-imported [class*="text-gray-7"]{color:var(--st-muted)!important}.stella-imported [class*="border-gray"]{border-color:var(--st-line)!important}
.stella-imported input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.stella-imported select,.stella-imported textarea{background:#0b1014!important;color:var(--st-text)!important;border-color:var(--st-line)!important;max-width:100%}.stella-imported input[type=checkbox],.stella-imported input[type=radio]{accent-color:var(--st-accent)}.stella-imported [class*="rounded-xl"],.stella-imported [class*="rounded-2xl"],.stella-imported .rounded-lg{border-radius:8px!important}.stella-imported [class*="shadow"]{box-shadow:none!important}
.stella-imported .bg-blue-600,.stella-imported .bg-indigo-600,.stella-imported .bg-purple-600{background:#137d91!important;color:#fff!important}.stella-imported [class*="bg-gradient"]{background-image:none!important;background-color:var(--st-panel)!important}.stella-imported [class*="text-blue"],.stella-imported [class*="text-indigo"],.stella-imported [class*="text-purple"]{color:#6cd8e8!important}.stella-imported [class*="bg-blue-50"],.stella-imported [class*="bg-blue-100"],.stella-imported [class*="bg-purple-50"]{background:#153039!important}.stella-imported [class*="bg-yellow-50"],.stella-imported [class*="bg-amber-50"]{background:#332d1d!important}.stella-imported [class*="text-yellow"],.stella-imported [class*="text-amber"]{color:#f2c365!important}.stella-imported [class*="text-green"],.stella-imported [class*="text-emerald"]{color:#6bddaa!important}.stella-imported [class*="bg-green-50"],.stella-imported [class*="bg-green-100"]{background:#16372d!important}
.stella-imported h2{font-size:21px;line-height:1.35}.stella-imported h3{font-size:17px;line-height:1.35}.stella-imported h4{font-size:15px}.stella-imported p,.stella-imported label,.stella-imported button{overflow-wrap:anywhere}.stella-imported .grid>*{min-width:0}.stella-imported pre{white-space:pre-wrap;overflow-wrap:anywhere}.stella-imported .overflow-x-auto{max-width:100%}.stella-imported .modal-backdrop{position:fixed;inset:0;z-index:9000;background:#000b;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.stella-imported .modal-backdrop:not(.hidden){display:flex}.stella-imported .modal-backdrop>div{max-height:90dvh;overflow:auto;background:var(--st-panel)}
.stella-imported .CodeMirror{border:1px solid var(--st-line);border-radius:6px}.stella-imported .blueprint-container{max-width:100%;overflow:hidden}.stella-imported img{max-width:100%}.stella-imported .stella-capacity-note{color:#f2c365;font-size:12px;margin:8px 0}.stella-spawnable .stella-tool-header{position:relative;z-index:40}.stella-spawnable [class*="tracking-"]{letter-spacing:0!important}.stella-spawnable [class*="text-violet"]{color:#6cd8e8!important}.stella-spawnable [class*="bg-violet-600"]{background:#137d91!important}
#stella-notifications{position:fixed;right:16px;bottom:16px;z-index:20000;display:grid;gap:10px;max-width:calc(100vw - 32px);width:360px}.stella-notice{padding:14px 18px;background:#1c2932;border:1px solid #47606d;border-left:4px solid #38c5de;border-radius:6px;color:#fff;font-size:14px}.stella-notice.error{border-left-color:#f67a8d}.stella-notice.success{border-left-color:#31c48d}
@media(max-width:760px){.stella-tool-header{padding:14px 16px;gap:12px;flex-wrap:wrap}.stella-tool-workspace{padding:24px 14px 44px}.stella-page-title{font-size:25px}.stella-tool-footer{padding:20px 16px;flex-direction:column;gap:8px}.top-actions{gap:14px}.stella-imported .blueprint-container{min-height:300px}.stella-imported .flex.space-x-4{flex-wrap:wrap;gap:10px}.stella-imported [class*="min-w-"]{min-width:0}.stella-imported .max-w-6xl,.stella-imported .max-w-7xl{width:100%}}
body[data-tool="ignore-list-generator"] #categoryFilters{max-height:170px;overflow:auto;padding:2px;scrollbar-width:thin}
