/* Scoped companion styling; no overrides to the Atlas or workspace. */
.shipyard{--sy-ink:#e6ebee;--sy-muted:#adb8c2;--sy-border:#34434d;--sy-panel:#17212a;--sy-raised:#263540;--sy-gold:#e6ba77;color:var(--sy-ink);background:#111920;border:1px solid #34434d;border-radius:14px;overflow:hidden;font-size:14px}
.shipyard button,.shipyard select,.shipyard input{font:inherit;color:var(--sy-ink);background:var(--sy-raised);border:1px solid #4c626f;border-radius:6px;min-height:42px;padding:8px 11px}
.shipyard button:hover,.shipyard a:hover{background:#344856}.shipyard button[aria-pressed=true],.shipyard button[aria-selected=true]{background:#4e412d;border-color:var(--sy-gold);color:#ffe2b7}.shipyard button:disabled{cursor:not-allowed;opacity:.55}
.shipyard :focus-visible{outline:3px solid #f3c577;outline-offset:3px}.shipyard a{color:#f1cf9b;text-decoration:underline;text-underline-offset:3px}.shipyard p{line-height:1.55}.shipyard h1,.shipyard h2,.shipyard h3,.shipyard h4{color:var(--sy-ink)}.shipyard label{display:grid;gap:6px;color:var(--sy-muted);font-size:12px;font-weight:650}.shipyard label select,.shipyard label input{min-width:0;width:100%;font-size:13px}.shipyard input::placeholder{color:#a2afb9}.shipyard summary{cursor:pointer;min-height:42px;padding:10px 0;color:#efcf9b;font-weight:650}
.sy-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 24px 18px;border-bottom:1px solid var(--sy-border)}.sy-kicker{font-size:10px;letter-spacing:1.9px;color:var(--sy-gold);text-transform:uppercase;display:block}.sy-header h1{font-size:34px;margin:5px 0;letter-spacing:.5px}.sy-header p{color:var(--sy-muted);margin:0;font-size:13px}.sy-header nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sy-header a{display:inline-flex;align-items:center;min-height:42px;padding:9px 12px;border:1px solid #4c626f;border-radius:6px;background:#24323d;text-decoration:none;font-size:12px}
.sy-source-notice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 20px;background:#29271f;border-bottom:1px solid #645033;font-size:12px}.sy-source-notice strong{color:#f3cf95}.sy-source-notice span{flex:1;color:#e2cdb0}.sy-source-notice button{min-height:34px;padding:5px 9px;font-size:12px}
.sy-layout{display:grid;grid-template-columns:225px minmax(0,1fr)}.sy-library{background:#17212a;border-right:1px solid var(--sy-border);padding:12px}.sy-library summary{display:flex;justify-content:space-between;align-items:center;font-size:14px}.sy-library summary span{font-size:10px;color:var(--sy-muted);font-weight:400}.sy-filters{display:grid;gap:10px;padding:4px 0 10px}.sy-filters #sy-count{font-size:12px;color:var(--sy-muted);margin:0}.sy-hulls{display:grid;gap:7px;max-height:660px;overflow-y:auto;scrollbar-width:thin}.shipyard .sy-hull{display:flex;align-items:center;gap:8px;text-align:left;padding:11px 8px;min-height:69px;background:#202d37;width:100%}.shipyard .sy-hull>span:nth-child(2){flex:1;min-width:0}.sy-hull strong{display:block;font-size:12px;font-weight:650;line-height:1.4}.sy-hull small{display:block;font-size:10px;color:var(--sy-muted);margin-top:4px}.sy-hull-icon{color:var(--sy-gold);font-size:25px}.sy-empty{padding:14px;font-size:13px;background:#253440;border-radius:8px;line-height:1.5}
.sy-workbench{min-width:0}.sy-vessel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 20px 15px}.sy-vessel-heading h2{font-size:24px;letter-spacing:-.3px;margin:6px 0 8px;line-height:1.25}.sy-tag{font-size:10px;color:#c1ced8;padding:5px 7px;border:1px solid #425867;border-radius:4px;display:inline-block;background:#22303b}.sy-tags{display:flex;gap:5px;flex-wrap:wrap}.sy-viewer{position:relative;height:385px;background:#0b1016;overflow:hidden;border-top:1px solid var(--sy-border);border-bottom:1px solid var(--sy-border)}.sy-viewer canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.sy-viewer canvas:active{cursor:grabbing}.sy-view-label{position:absolute;top:15px;left:18px;pointer-events:none;display:grid;gap:6px}.sy-view-label span{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:#a7b6c1}.sy-view-label strong{font-size:12px;color:#e4c597;font-weight:500}.sy-direction{position:absolute;bottom:12px;right:16px;font-size:9px;letter-spacing:1.4px;color:#a7b6c1;pointer-events:none}.sy-view-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 16px;background:#1a252e}.sy-view-controls label{display:flex;align-items:center;gap:7px}.sy-view-controls label select{width:auto;max-width:150px}.sy-view-controls button{font-size:12px;min-height:37px;padding:7px 10px}.sy-help{font-size:12px;color:var(--sy-muted);line-height:1.6}.sy-workbench>#sy-graphics{padding:0 17px;margin:9px 0 4px;min-height:19px}#sy-graphics[data-state=unavailable],#sy-graphics[data-state=lost]{color:#ffd99f}.sy-model-note{font-size:11px;color:#abb7c0;padding:0 17px;margin:0 0 13px}.sy-outside-filter .sy-vessel-heading::after{content:'Retained selection — outside current filters';font-size:11px;color:#f4ce98}
.sy-tabs{display:flex;border-top:1px solid var(--sy-border);border-bottom:1px solid var(--sy-border);padding:7px 10px;gap:6px;overflow-x:auto;background:#1b2730;scrollbar-width:thin}.shipyard .sy-tabs button{border-radius:5px;white-space:nowrap;min-height:39px;font-size:12px;padding:8px 10px}.sy-panel{padding:20px;min-height:280px}.sy-panel[hidden]{display:none}.sy-panel h3{font-size:18px;margin:0 0 17px}.sy-panel h4{font-size:14px;margin:20px 0 10px}.sy-panel>p{font-size:13px}.sy-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 15px}.sy-stats>div{background:#1e2c36;border:1px solid #344958;padding:13px 12px;border-radius:6px;min-width:0}.sy-stats dt{font-size:11px;color:#b1bec8;line-height:1.4}.sy-stats dd{font-size:21px;font-weight:550;margin:6px 0 0;color:#f6d6a5;line-height:1.3;overflow-wrap:anywhere}.sy-slots{display:flex;gap:8px;flex-wrap:wrap}.sy-slots span{padding:10px;background:#25343e;border:1px solid #48616f;border-radius:6px;text-transform:capitalize;font-size:13px}.sy-slots strong{font-size:21px;margin-right:5px;color:#f4d0a2}.sy-inline-note{border-left:3px solid #ba9057;background:#2b2a22;color:#e5d6bf;padding:11px 13px;font-size:12px;line-height:1.65}.sy-rule{border-bottom:1px solid #384751;padding:2px 0 15px;margin-bottom:12px}.sy-rule p{font-size:13px}.sy-rule>small{color:#a5b4be;font-size:10px}.sy-rule h4 small{color:#c9b185;font-size:10px;font-weight:400;margin-left:10px}.sy-common pre{white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:12px;line-height:1.75;color:#d5dde4}.sy-digest{display:block;overflow-wrap:anywhere;font-size:11px;line-height:1.8;padding:10px;background:#25323b}.sy-table-wrap{overflow-x:auto;margin-top:17px}.shipyard table{border-collapse:collapse;width:100%;font-size:12px}.shipyard table caption{text-align:left;color:var(--sy-muted);margin-bottom:10px}.shipyard th,.shipyard td{text-align:left;padding:10px;border-bottom:1px solid #3d4e5b;min-width:120px}.shipyard thead th{color:#efc890;background:#263640}.shipyard tbody th{color:#b6c6d1;font-weight:500}.shipyard tbody td{color:#e8dfcc}.shipyard tbody tr:nth-child(even){background:#1e2c36}
@media(min-width:1550px){.sy-viewer{height:440px}.sy-layout{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:1050px){.sy-layout{grid-template-columns:205px minmax(0,1fr)}.sy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sy-vessel-heading{align-items:flex-start;flex-direction:column}.sy-viewer{height:340px}}
@media(max-width:760px){.sy-header{padding:17px 14px;align-items:flex-start;flex-direction:column;gap:12px}.sy-header h1{font-size:30px}.sy-header nav{justify-content:flex-start}.sy-source-notice{padding:11px 14px;gap:7px}.sy-source-notice span{flex-basis:100%;order:2}.sy-source-notice button{margin-left:auto}.sy-layout{display:block}.sy-library{border-right:0;border-bottom:1px solid var(--sy-border);padding:4px 12px}.sy-library summary{min-height:48px}.sy-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sy-filters label:first-child{grid-column:1/-1}.sy-hulls{max-height:300px;margin-bottom:10px}.sy-vessel-heading{padding:16px 14px 13px;gap:6px}.sy-vessel-heading h2{font-size:22px}.sy-vessel-heading>.sy-tag{display:none}.sy-viewer{height:280px}.sy-view-controls{padding:9px;gap:6px}.sy-view-controls button{min-height:42px}.sy-view-controls label{font-size:0}.sy-view-controls select{max-width:122px!important}.sy-panel{padding:16px 12px}.sy-stats{gap:8px}.sy-stats>div{padding:12px 10px}.sy-stats dd{font-size:19px}.sy-panel p{overflow-wrap:anywhere}.sy-tabs{padding:7px}.sy-header nav a{font-size:12px}.sy-view-label{left:12px;top:12px}.sy-help,.sy-model-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.shipyard *{scroll-behavior:auto!important}}
.shipyard .sy-no-graphics{height:150px!important}.shipyard .sy-no-graphics::after{content:"3D unavailable in this browser";position:absolute;inset:70px 10px 10px;text-align:center;color:#adc0cc;pointer-events:none}

/* Experimental fleet workshop: the main viewport remains above the editor. */
.sy-fleet {border:1px solid var(--line,#344551);border-radius:12px;padding:14px;margin:14px 0;background:var(--panel,#15212b);color:var(--text,#e5edf1)}
.sy-fleet>summary {font-weight:700;cursor:pointer;min-height:36px;line-height:1.5}
.sy-fleet>summary span {display:block;font-size:.82rem;font-weight:400;opacity:.8}
.sf-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.sf-fields label,.sy-fleet label:has(textarea) {display:grid;gap:5px;font-size:.84rem}
.sf-fields select,.sf-fields input,.sy-fleet textarea {width:100%;min-width:0;min-height:42px;color:inherit;background:var(--input,#0f1921);border:1px solid var(--line,#405564);border-radius:7px;padding:8px;font:inherit;box-sizing:border-box}
.sy-fleet textarea {resize:vertical;font-family:monospace}
.sf-checks {display:flex;flex-wrap:wrap;gap:6px 14px;margin:10px 0}
.sf-checks label {display:flex;align-items:center;gap:8px;min-height:42px;font-size:.86rem}
.sf-checks input {width:18px;height:18px;flex:none}
.sy-fleet fieldset {border:1px solid var(--line,#344551);border-radius:8px;margin:14px 0;padding:8px 12px}
.sy-fleet legend {font-size:.85rem;padding:0 6px}
.sf-actions {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.sy-fleet button {min-height:42px;white-space:normal}
.sy-fleet details {padding:10px 0;border-top:1px solid var(--line,#344551)}
.sy-fleet details summary {cursor:pointer;font-weight:600;min-height:32px}
.sf-error {border-left:3px solid #f6b07b;padding:8px;background:#392b24;color:#fff1e4}
.sf-gallery-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sf-card {display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:8px;border:1px solid var(--line,#344551);border-radius:8px;background:#101b24;color:#e6eef2;overflow:hidden}
.sf-card canvas {width:100%;height:auto;display:block}
.sf-card strong {font-size:.86rem;margin:7px 0}.sf-card span {font-size:.75rem;opacity:.8;overflow-wrap:anywhere}
#sf-installed[hidden],#sf-functions[hidden],#sf-mission[hidden] {display:none}
#sf-badges {margin-top:12px;flex-wrap:wrap}
@media(max-width:1000px){.sf-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sy-fleet{padding:10px}.sf-fields{grid-template-columns:1fr}.sf-checks{display:grid;grid-template-columns:1fr}.sf-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-card{padding:5px}.sf-actions button{flex:1 1 130px}}
