.scire-tools{--st-bg:var(--scire-panel,#f5f8fa);--st-line:var(--scire-line,#c8d2dc);--st-text:var(--scire-text,#182c3c);--st-muted:var(--scire-muted,#4e6375);--st-accent:var(--scire-accent,#075c6e);color:var(--st-text);max-width:1160px;margin:0 auto}.scire-tools *{box-sizing:border-box}.scire-tools [hidden]{display:none!important}.scire-tools-heading{position:relative;padding:32px;border:1px solid var(--st-line);border-radius:10px;background:var(--st-bg);margin-bottom:22px}.scire-kicker{font:11px ui-monospace,monospace;letter-spacing:.15em;color:var(--st-accent)}.scire-tools h2{font-size:36px;letter-spacing:-.035em;margin:14px 0}.scire-tools h3{font-size:24px;margin:0}.scire-tools p{line-height:1.8;color:var(--st-muted)}.scire-tools a{color:var(--st-accent)}.scire-fleet-link{display:inline-block;font-weight:600;margin-top:8px}.scire-tool-nav{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.scire-tool-nav a{border:1px solid var(--st-line);border-radius:5px;padding:9px 18px}.scire-tool-panel{padding:30px;background:var(--st-bg);border:1px solid var(--st-line);border-radius:10px;margin-bottom:24px;scroll-margin-top:105px}.scire-tool-title{display:flex;gap:18px;align-items:center;margin-bottom:18px}.scire-tool-title>span{font:12px monospace;color:var(--st-accent)}.scire-tool-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:24px 0}.scire-tool-controls label{flex:1;min-width:180px;font-size:13px;font-weight:600}.scire-tool-controls input,.scire-tool-controls select{width:100%;display:block;margin-top:8px;min-height:44px}.scire-tools button{background:var(--st-accent);color:var(--scire-bg,#fff);font-weight:650;border:0;border-radius:5px;padding:12px 20px;min-height:44px}.scire-tools button:hover{filter:brightness(1.12)}.scire-tools input:focus-visible,.scire-tools select:focus-visible,.scire-tools button:focus-visible,.scire-tools a:focus-visible{outline:2px solid var(--st-accent);outline-offset:3px}.scire-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scire-reference-card{padding:21px;border:1px solid var(--st-line);border-radius:7px;min-width:0}.scire-reference-card h4{font-size:18px;margin:7px 0 12px;color:var(--st-text)}.scire-reference-card small{color:var(--st-muted);font-size:11px}.scire-reference-card dl{font-size:12px;margin:0;display:grid;grid-template-columns:1fr auto;gap:6px}.scire-reference-card dt{color:var(--st-muted)}.scire-reference-card dd{margin:0;text-align:right}.scire-tools [data-catalog-more]{margin-top:20px}.scire-tool-status{font-size:12px;min-height:22px}.scire-table-wrap{overflow:auto}.scire-tools table{width:100%;border-collapse:collapse;margin-bottom:20px}.scire-tools th,.scire-tools td{text-align:left;padding:15px 10px;border-bottom:1px solid var(--st-line);font-size:13px;color:var(--st-text)}.scire-tools th{color:var(--st-muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.scire-tools caption{text-align:left;color:var(--st-accent);font-size:13px;padding:8px 0}.scire-tools details{font-size:13px;border-top:1px solid var(--st-line);padding-top:18px}.scire-tools summary{cursor:pointer;color:var(--st-text)}.scire-tools .scire-tool-credit{font-size:11px}.scire-tools-heading p{max-width:760px}@media(max-width:900px){.scire-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.scire-tools-heading,.scire-tool-panel{padding:22px 18px}.scire-tools h2{font-size:29px}.scire-tools h3{font-size:21px}.scire-reference-grid{grid-template-columns:1fr}.scire-tool-controls{gap:14px}.scire-tool-controls label{min-width:100%;width:100%}.scire-tool-controls button{width:100%}.scire-tools th,.scire-tools td{font-size:11px;padding:12px 7px}}

.scire-trade-filters{display:grid;gap:12px;margin:18px 0}.scire-trade-filters label{display:flex;gap:10px;align-items:center}.scire-trade-filters input{flex:0 0 auto}.scire-price-review a{overflow-wrap:anywhere}

.scire-shop-detail{border:1px solid var(--st-line);border-radius:7px;padding:20px;margin-bottom:20px;scroll-margin-top:105px;min-width:0}.scire-shop-detail h4{color:var(--st-text)}.scire-tools [data-shop-list] button{display:block;margin-top:12px}.scire-tools [data-shop-more]{margin-top:18px}

.scire-fleet-group summary{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.scire-fleet-group summary span{flex:1;min-width:140px}.scire-fleet-group meter{width:160px;height:18px;accent-color:var(--st-accent)}.scire-fleet-group li{color:var(--st-muted);margin:8px 0}.scire-tools [data-included-craft]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin:18px 0}.scire-fleet-group{padding-bottom:18px}

@media(max-width:600px){.scire-tools .scire-stock-table,.scire-tools .scire-stock-table tbody,.scire-tools .scire-stock-table tr,.scire-tools .scire-stock-table tbody th,.scire-tools .scire-stock-table td{display:block;width:100%;min-width:0}.scire-tools .scire-stock-table thead{display:none}.scire-tools .scire-stock-table tbody tr{border:1px solid var(--st-line);padding:12px;border-radius:6px;margin:12px 0}.scire-tools .scire-stock-table td,.scire-tools .scire-stock-table tbody th{border:0;padding:6px 0;text-align:left}.scire-tools .scire-stock-table input{width:100%;max-width:100%;min-width:0}.scire-tools .scire-stock-table td:last-child:before{content:attr(data-label) " ";color:var(--st-muted)}}

.scire-tools [data-patch-list] button{display:block;margin:14px 0}.scire-tools [data-patch-detail] article{margin:12px 0}.scire-tools [data-patch-detail] h5{font-size:16px;color:var(--st-text);margin:8px 0}.scire-tools [data-patch-glossary-list]{columns:3;column-gap:30px;overflow-wrap:anywhere}@media(max-width:600px){.scire-tools [data-patch-glossary-list]{columns:1}}

.scire-media-player{margin-block:1rem;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.scire-media-player iframe{display:block;width:100%;max-width:100%;border:0;border-radius:12px;background:#101c2b}.scire-media-player iframe[src*="youtube"]{height:auto;aspect-ratio:16/9}.scire-media-player a{font-size:.85rem}.scire-media-player [hidden]{display:none!important}[data-media-featured]{max-width:800px;margin-bottom:1.5rem}

.scire-gallery-card{overflow:hidden}.scire-gallery-card img{width:100%;height:180px;object-fit:cover;border-radius:9px;margin-bottom:1rem}.scire-gallery-placeholder{min-height:130px;display:grid;place-content:center;padding:1rem;background:linear-gradient(130deg,#142d41,#29334b);color:#d5e2e8;border-radius:9px;font-size:.85rem;margin-bottom:1rem}.scire-gallery-card p{overflow-wrap:anywhere}.scire-gallery-card a{font-size:.85rem}

.scire-favorite-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin:1rem 0}.scire-favorite-controls label{display:flex;align-items:center;gap:.5rem}.scire-favorite-controls p{flex-basis:100%;margin:0}.scire-tools button.scire-favorite{margin:.6rem 0;background:transparent;color:var(--scire-cyan,#8cdee5);border:1px solid currentColor;padding:.45rem .8rem}.scire-tools button.scire-favorite[aria-pressed="true"]{background:#243c46;color:#ffe3a2}#scire-preferences textarea{display:block;width:100%;max-width:100%;font-family:monospace;margin:1rem 0}

.scire-cargo-dialog{box-sizing:border-box;width:min(1180px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;overflow:auto;border:1px solid #385360;border-radius:18px;background:#101d29;color:#e7f0f3;padding:1.25rem}.scire-cargo-dialog::backdrop{background:#050b14dc}.scire-cargo-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.scire-cargo-dialog h3{color:#f2f7f8;margin:0}.scire-cargo-dialog button{background:#173340;border:1px solid #416675;border-radius:7px;color:#d8f7fa;padding:.6rem .8rem;cursor:pointer}.scire-cargo-dialog button[aria-pressed="true"]{background:#8ce2e6;color:#0e2028}.scire-cargo-dialog button:focus-visible,.scire-cargo-dialog canvas:focus-visible{outline:2px solid #f1c880;outline-offset:3px}.scire-cargo-dialog .c3d-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:1.2rem;margin-top:1rem}.scire-cargo-dialog .c3d-toolbar{display:flex;flex-wrap:wrap;gap:.4rem}.scire-cargo-dialog .c3d-canvas-host{position:relative;width:100%;height:430px;min-height:240px;overflow:hidden;background:radial-gradient(ellipse at center,#173746,#07131e);border-radius:12px;margin-top:1rem}.scire-cargo-dialog canvas{display:block;width:100%;height:100%;touch-action:none}.scire-cargo-dialog aside label{display:block;margin:1rem 0}.scire-cargo-dialog aside select,.scire-cargo-dialog aside input[type="range"]{display:block;width:100%;max-width:100%;margin:.5rem 0}.scire-cargo-dialog aside p{font-size:.85rem;line-height:1.6;color:#afc2cc}.scire-cargo-dialog small{color:#afc2cc}.scire-cargo-dialog .c3d-workspace{min-width:0}.scire-cargo-dialog svg{max-height:300px;width:100%}@media(max-width:700px){.scire-cargo-dialog .c3d-layout{grid-template-columns:1fr}.scire-cargo-dialog .c3d-canvas-host{height:300px}.scire-cargo-dialog{padding:1rem}.scire-cargo-dialog>header{align-items:flex-start}.scire-cargo-dialog h3{font-size:1.1rem}.scire-cargo-dialog button{font-size:.8rem}}

.scire-atlas-graph{display:block;width:100%;max-width:650px;height:auto;background:radial-gradient(ellipse,#153440,#091722);border:1px solid #284451;border-radius:14px;margin:1rem 0}.scire-atlas-graph text{font-size:18px}.scire-atlas-portrait{margin:1rem 0}.scire-atlas-portrait img{display:block;width:160px;max-width:100%;aspect-ratio:1;object-fit:contain;border-radius:50%;background:#0b1b29}.scire-atlas-portrait figcaption{font-size:.75rem;line-height:1.6;color:#b5c4cf}.scire-atlas-dossier,.scire-atlas-external{margin:1.2rem 0;padding-top:1rem;border-top:1px solid #294451}.scire-atlas-dossier dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr);gap:.5rem}.scire-atlas-dossier dd{margin:0;overflow-wrap:anywhere}.scire-atlas-external details{margin:.6rem 0;padding:.5rem}

/* Desktop operations desk; the native picker remains the small-screen entry. */
.scire-tools .scire-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.scire-tools .scire-tool-content{min-width:0}.scire-tools .scire-workspace .scire-tool-nav{display:block;position:sticky;top:100px;max-height:calc(100dvh - 124px);overflow-y:auto;margin:0;padding:14px;border:1px solid var(--st-line);border-radius:12px;background:var(--st-bg);scrollbar-width:thin}.scire-tools .scire-tool-group{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--st-line)}.scire-tools .scire-tool-group:last-child{border:0;padding-bottom:0;margin-bottom:0}.scire-tools .scire-nav-label{display:block;padding:0 8px 8px;color:var(--st-muted);font:10px ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase}.scire-tools .scire-workspace .scire-tool-nav a{display:block;padding:9px 10px;margin:3px 0;border-color:transparent;font-size:12px;line-height:1.5;text-align:left;border-radius:7px}.scire-tools .scire-workspace .scire-tool-nav a:hover{background:color-mix(in srgb,var(--st-accent) 9%,transparent)}.scire-tools .scire-workspace .scire-tool-nav a[aria-selected="true"]{background:var(--st-accent);color:var(--scire-bg,#fff);border-color:var(--st-accent)}.scire-tools .scire-reference-grid,.scire-tools .scire-location-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.scire-tools .scire-tools-heading{padding:24px 28px}.scire-tools .scire-tools-heading h2{font-size:32px;margin:8px 0}.scire-tools .scire-tool-panel{padding:26px;min-width:0}.scire-tools .scire-tool-title h3{font-size:23px}.scire-tools .scire-tool-controls label{min-width:min(180px,100%)}
/* Enriched atlas details need reading space rather than a narrow nested scroll. */
.scire-tools .scire-atlas-layout:has(.scire-atlas-detail:not([hidden])){display:block}.scire-tools .scire-atlas-detail{position:static;max-height:none;overflow:visible;margin-bottom:24px;padding:24px}.scire-tools .scire-atlas-detail>dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,2fr);gap:10px 18px;align-items:start;max-width:650px}.scire-tools .scire-atlas-detail>dl dt,.scire-tools .scire-atlas-detail>dl dd{margin:0}.scire-tools .scire-atlas-enriched:has(.scire-atlas-portrait){display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;align-items:start}.scire-tools .scire-atlas-enriched .scire-atlas-external{grid-column:1/-1;min-width:0}.scire-tools .scire-atlas-enriched .scire-atlas-dossier{margin-top:0;padding-top:0;border-top:0;min-width:0}.scire-tools .scire-atlas-enriched .scire-atlas-dossier h5{margin-top:0}.scire-tools .scire-atlas-enriched .scire-atlas-portrait{margin:0}.scire-tools .scire-atlas-layout:has(.scire-atlas-detail:not([hidden])) .scire-location-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}.scire-tools .scire-atlas-detail ul{max-height:none;overflow:visible}.scire-tools .scire-atlas-detail dl{line-height:1.6}.scire-tools .scire-atlas-dossier dl{gap:8px 16px}.scire-tools .scire-source-status{margin-top:20px}
@media(max-width:1099px){.scire-tools .scire-workspace{display:block}.scire-tools .scire-workspace .scire-tool-nav{display:none}.scire-tools .scire-tool-picker{display:block}}@media(max-width:700px){.scire-tools .scire-atlas-enriched:has(.scire-atlas-portrait){display:block}.scire-tools .scire-atlas-enriched .scire-atlas-portrait{margin-bottom:20px}.scire-tools .scire-tool-panel{padding:22px 18px}.scire-tools .scire-tools-heading{padding:22px 18px}.scire-tools .scire-tools-heading h2{font-size:28px}.scire-tools .scire-atlas-detail{padding:18px}.scire-tools .scire-atlas-detail>dl{grid-template-columns:1fr 1fr}.scire-tools .scire-tool-controls label{min-width:100%}}

/* BuddyBoss owns the sidebar and mobile drawer; internal navigation is fallback only. */
.scire-tools.scire-native-navigation .scire-workspace{display:block}.scire-tools.scire-native-navigation .scire-tool-nav{display:none!important}.scire-tools.scire-native-navigation .scire-tool-picker{display:none!important}

.scire-tools .scire-private-backup{margin-top:20px}.scire-tools .scire-private-backup>button{margin:8px 10px 8px 0;max-width:100%;white-space:normal}.scire-tools .scire-private-backup>label{display:block;margin:18px 0 10px}.scire-tools .scire-private-backup input[type=file]{display:block;width:100%;max-width:100%;margin-top:8px}.scire-tools .scire-private-backup [role=status]{overflow-wrap:anywhere}.scire-tools .scire-private-backup ul{padding-left:22px}

.scire-tools .scire-fleet-radar{display:block;width:100%;max-width:480px;height:auto;margin:10px auto 22px;overflow:visible}.scire-tools .scire-radar-ring{fill:none;stroke:var(--st-line);stroke-width:1}.scire-tools .scire-radar-axis{stroke:var(--st-line);stroke-width:1}.scire-tools .scire-radar-area{fill:color-mix(in srgb,var(--st-accent) 20%,transparent);stroke:var(--st-accent);stroke-width:2}.scire-tools .scire-radar-label{fill:var(--st-muted);font:20px system-ui,sans-serif}.scire-tools .scire-group-fleet{margin-top:30px;padding-top:24px;border-top:1px solid var(--st-line)}.scire-tools .scire-group-fleet>label{display:block;margin:16px 0}.scire-tools .scire-group-fleet select{width:100%;max-width:520px}.scire-tools .scire-group-fleet>button{margin:8px 10px 8px 0;max-width:100%;white-space:normal}.scire-tools .scire-group-fleet [role=status]{overflow-wrap:anywhere}

.scire-tools .scire-shop-new-filter{display:flex;align-items:center;gap:.6rem;margin:1rem 0}.scire-tools [data-shop-new-only]{width:auto;min-height:0}.scire-catalog-new{color:var(--bb-primary-color,#46a6ae);font-weight:600}

.scire-credits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.scire-credits-grid article{border:1px solid var(--bb-content-border-color,#d7dce5);border-radius:10px;padding:22px;min-width:0;overflow-wrap:anywhere}.scire-credit-versions{display:grid;grid-template-columns:max-content 1fr;gap:6px 24px}.scire-credit-versions dd{margin:0}.scire-credit-changes li{margin-bottom:12px}

.scire-shop-itinerary{margin-top:12px;padding:12px;border-left:2px solid var(--scire-accent,#69cbd1);font-size:.85em;white-space:normal;min-width:180px;max-width:420px}.scire-shop-itinerary ol{padding-left:20px;margin:8px 0}.scire-shop-itinerary p{margin:6px 0}

.scire-ship-model-dialog{width:min(920px,calc(100vw - 24px));max-height:92dvh;overflow:auto;background:var(--scire-panel,#14212e);color:var(--scire-text,#dbe5ee);border:1px solid #42606e;border-radius:16px;padding:20px}.scire-ship-model-dialog::backdrop{background:#050d18cf}.scire-ship-model-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.scire-ship-model-dialog button{padding:8px 14px;min-height:44px}.ship-model-viewer{position:relative;min-width:0}.ship-model-canvas{height:clamp(230px,52vh,520px);width:100%;position:relative;background:#0b1722;border-radius:12px;overflow:hidden}.ship-model-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.ship-model-loading,.ship-model-fallback{padding:24px;display:grid;gap:12px}.ship-model-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ship-model-hint{display:block;font-size:.85em;padding:10px 0}.ship-model-label{position:absolute;right:12px;top:12px;pointer-events:none;color:#a8dce4}.scire-ship-model-dialog p{font-size:.9em}.scire-ship-model-dialog a{color:#78dae0}

/* Keep private inventory review controls readable beside the native BuddyPanel. */
[data-inventory-workspace].scire-member-workspace [data-inventory-controls]{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
[data-inventory-workspace].scire-member-workspace [data-inventory-controls]>input[type=search]{grid-column:1/-1}
@media(max-width:1100px){[data-inventory-workspace].scire-member-workspace [data-inventory-controls]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){[data-inventory-workspace].scire-member-workspace [data-inventory-controls]{grid-template-columns:minmax(0,1fr)}}
