.space-library{box-sizing:border-box;width:97vw;height:94dvh;max-width:none;max-height:none;margin:auto;padding:16px;background:#081a23;color:#d4e6e4;border:1px solid #4a6c78;border-radius:12px;overflow:auto}
.space-library[open]{display:flex;flex-direction:column;gap:10px}
.space-library>header{display:flex;position:static;flex:0 0 auto;gap:8px;align-items:center;justify-content:flex-start;flex-wrap:wrap;min-height:min-content;height:auto;margin:0}
.space-library h2{flex:1 1 100%;margin:0;font-size:20px}
.space-library header button,.space-library header select{padding:9px;border:1px solid #4e6e78;border-radius:7px;background:#19323c;color:#deeeed;max-width:100%}
.space-library header select[data-model]{max-width:360px}
.space-library>p{flex:none;margin:0;font:12px/1.5 system-ui;color:#a8c9cb}
.space-comparison{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:300px}
.space-comparison section{min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #36515d;border-radius:8px;padding:10px}
.space-comparison h3{font-size:13px;margin:0 0 8px}
.space-comparison canvas{width:100%;min-height:120px;flex:1;touch-action:none}
.space-comparison p{font:11px/1.4 system-ui;color:#aac2c5;max-height:10em;overflow:auto;margin:8px 0 0}
.range-response-controls:not([hidden]){display:flex;flex:none;gap:10px;align-items:center;flex-wrap:wrap}
.range-response-controls label{display:flex;align-items:center;gap:6px}
.range-response-controls input{width:180px}
.range-response-controls output{font:12px ui-monospace,monospace}
.range-response-controls button,.range-response-controls select{padding:8px;background:#18323e;color:#d9f0eb;border:1px solid #537080;border-radius:6px}
.range-response-controls a{color:#a7e9ce}
@media(max-width:850px){.space-comparison{flex:none;grid-template-columns:1fr;overflow:visible}.space-comparison section{height:330px;min-height:330px}.space-library header select{width:100%}.space-library{padding:12px}}

@media(min-width:851px){.space-library header select{width:auto;flex:1 1 220px;min-width:180px;max-width:360px;height:32px;font-size:11px;padding:5px}.space-library header select[aria-label="Mission space"]{flex-basis:190px;max-width:240px}.space-library header button{padding:5px 8px;min-height:29px;font-size:11px}.space-library h2{font-size:17px}.space-library>header{gap:5px}.space-library[open]{gap:6px}.space-library{padding:12px}.space-library>p{font-size:11px;line-height:1.3;max-height:2.6em;overflow:auto}.space-comparison{min-height:200px}.space-comparison canvas{min-height:75px}.space-comparison p{max-height:5em;font-size:10px}.range-response-controls{gap:5px!important;font-size:11px}.range-response-controls button,.range-response-controls select{padding:4px}.range-response-controls input{width:140px}}
