/* The helm's personal inventory. Models and stats come from the confirmed droid. */
#signal-dialog[data-screen="outfitter"],#signal-dialog[data-screen="outfit-account"],#signal-dialog[data-screen="account-receipt"]{color:#edf2eb;border:1px solid #587376;background:#102a33;box-shadow:0 20px 80px #041820ae;border-radius:16px;padding:0;overflow:hidden}
#signal-dialog[data-screen="outfitter"]{width:min(940px,calc(100vw - 32px));height:min(700px,calc(100dvh - 32px));max-height:calc(100dvh - 24px)}
.of-panel{height:100%;display:flex;flex-direction:column;min-height:0;--line:#3a565a;--text:#f2f2e8;--muted:#b8cdc6;--brass:#f1cf87;--wash:#132f38;color:var(--text);background:#112932;font:550 15px/1.4 var(--frayvo-reading,"Segoe UI"),system-ui,sans-serif;color-scheme:dark}
.of-panel *{box-sizing:border-box}
.of-panel button{min-width:0;min-height:42px;border:1px solid #527476;border-radius:7px;background:#1d3d45;color:#e8f0e6;padding:8px 13px;font:680 14px/1.25 var(--frayvo-reading,"Segoe UI"),system-ui,sans-serif;text-align:center;cursor:pointer}
.of-panel button:disabled{opacity:.52;cursor:default}
.of-panel :focus-visible{outline:3px solid #f8db97;outline-offset:2px}
.of-panel button:not(:disabled):hover{border-color:#9eb5a9;background:#27494c}
.of-panel h1,.of-panel h2,.of-panel h3,.of-panel p{margin:0}
.of-panel h2,.of-panel h3{color:var(--text);line-height:1.18;font-weight:720}
.of-panel h2{font-size:23px}.of-panel h3{font-size:16px}
.of-panel .of-icon{width:21px;height:21px;flex:none;display:block}
.of-heading{display:flex;align-items:center;gap:11px;padding:15px 22px;background:#193640;border-bottom:1px solid var(--line)}
.of-heading .of-crest{display:grid;place-items:center;width:42px;height:42px;color:var(--brass);background:#1e393d;border:1px solid #8b815f;border-radius:10px}
.of-crest .of-icon{width:26px;height:26px}
.of-heading h1{font-size:27px;line-height:1.12;color:#f6efda}
#signal-dialog[data-screen="outfitter"] #dialog-title:focus{outline:none;box-shadow:none}
.of-heading .of-close{display:grid;place-items:center}
.of-wallet{display:inline-flex;align-items:center;gap:6px;color:var(--brass);margin-left:auto;font-variant-numeric:tabular-nums}
.of-wallet .of-icon{width:18px}.of-panel .of-close{min-width:42px;padding:0;border-color:transparent;background:transparent;color:#dfebe5;font-size:26px;line-height:1}
.of-nav{display:flex;gap:5px;padding:5px 17px 0;border-bottom:1px solid var(--line);background:#152e36}
.of-nav button{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px 11px;border:0;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;background:transparent;color:var(--muted);min-height:43px}
.of-nav button[aria-pressed=true]{color:#f2d399;border-bottom-color:#e3bc75;background:#213a3e}
.of-nav small{font-variant-numeric:tabular-nums;font-size:12px;font-weight:650;color:inherit}
[data-outfit-page=cargo] .of-nav button[aria-pressed=true] small{display:none}
.of-scroll{display:grid;grid-template-columns:minmax(245px,32%) minmax(0,1fr);flex:1;min-height:0}
.of-body,.of-bag{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#557779 #142d34;padding:19px}
.of-body{background:#102831;border-right:1px solid var(--line)}
.of-bag{padding:23px 25px;background:#142f37}
.of-vessel{overflow:hidden;position:relative;border:1px solid #54716f;border-radius:11px;background:radial-gradient(ellipse at 45% 54%,#355556,#1b3a40 65%,#142e36)}
.of-call{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:9px 12px 0;color:#d5e3d7;font-size:12px;font-weight:700}
.of-call span:last-child{color:var(--brass);white-space:nowrap}
.of-preview{height:145px;width:100%;position:relative;background:repeating-radial-gradient(ellipse at 50% 76%,transparent 0 29px,#c3d5b610 30px,transparent 31px 56px)}
.of-preview canvas{display:block;width:100%;height:100%;touch-action:pan-y}
.of-pilot{display:block;padding:0 12px 12px;line-height:1.15;color:#fff0d0;font-size:18px}
.of-panel .of-equipped-title{margin:18px 0 9px;font-size:17px}
.of-slots,.of-items{display:grid;gap:6px}
.of-slot,.of-item{position:relative}
.of-panel .of-slot,.of-panel .of-item{display:flex;gap:10px;align-items:center;text-align:left;padding:6px 9px;background:#1a3740;border:1px solid #3e595e;min-width:0}
.of-panel .of-slot{min-height:48px}.of-panel .of-item{min-height:59px}
.of-panel .of-slot[aria-pressed=true],.of-panel .of-item[aria-pressed=true]{border-color:#dcc18b;background:#2c4545}
.of-item[data-tier]{border-left-width:3px}.of-panel .of-item[data-tier="2"]{border-left:3px solid #90c88f}.of-panel .of-item[data-tier="3"]{border-left:3px solid #84bbec}.of-panel .of-item[data-tier="4"]{border-left:3px solid #c69ce9}
.of-panel .of-thumbnail{display:grid;place-items:center;flex:none;width:48px;height:39px;border-radius:5px;background:#102c32;font-style:normal;color:#829d98}
.of-panel .of-item .of-thumbnail{width:58px;height:44px}
.of-panel .of-thumbnail img{max-width:100%;width:100%;height:100%;object-fit:contain}
.of-slot>span,.of-item>span{min-width:0}.of-slot small,.of-item small,.of-slot strong,.of-item strong{display:block}
.of-slot small,.of-item small{font-size:12px;font-weight:580;color:var(--muted);line-height:1.35}.of-slot strong,.of-item strong{font-size:14px;line-height:1.14;overflow-wrap:anywhere}.of-item small{margin-top:3px}
.of-panel .of-chevron{display:block;margin-left:auto;color:#b8cbc1;font:500 19px/1 system-ui}
.of-qty{margin-left:auto;color:#e4dfc7;font-variant-numeric:tabular-nums}.of-qty+.of-chevron{margin-left:0}
.of-hold-head,.of-section,.of-character-stats header,.of-supply-cells header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.of-hold-head>b{font-size:13px;color:#c9dbcf;font-variant-numeric:tabular-nums}
.of-capacity{height:4px;overflow:hidden;background:#304d52;border-radius:4px;margin:10px 0 17px}
.of-capacity i,.of-meter i b{display:block;height:100%;background:#98c7b2}
.of-stock+.of-stock,.of-stock+.of-broker,.of-reserve,.of-alternatives,.of-supply-cells,.of-manifest+h3{margin-top:19px}
.of-stock h3,.of-alternatives h3{margin:0 0 8px;font-size:15px;color:#d9e1d2}
.of-panel .of-items{grid-template-columns:repeat(2,minmax(0,1fr))}
.of-panel [data-of-detail],.of-droid-view,[data-of-supply-view]{display:none}
[data-outfit-page=cargo][data-inspect=true] [data-of-cargo],#signal-dialog[data-outfit-page=droid] [data-of-cargo],#signal-dialog[data-outfit-page=supplies] [data-of-cargo]{display:none}
[data-outfit-page=cargo][data-inspect=true] .of-panel [data-of-detail],[data-outfit-page=droid] .of-droid-view,[data-outfit-page=supplies] [data-of-supply-view]{display:block}
.of-panel .of-back{padding:2px 0;min-height:35px;margin-bottom:8px;background:transparent;border:0;color:#c9e3d6}
.of-compare h3{margin:0 0 12px;font-size:22px}
.of-pair{display:grid;gap:8px}.of-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.of-id-card{display:grid;justify-items:center;text-align:center;align-content:start;gap:4px;padding:12px;min-width:0;background:#19353d;border:1px solid #4d686d;border-radius:9px;overflow-wrap:anywhere}
.of-two .of-id-card:last-child{background:#203f40;border-color:#819986}
.of-id-card>small{font-size:13px;color:#d9e5d9;font-weight:650}
.of-id-card>strong{font-size:17px;line-height:1.17}.of-id-card img,.of-empty{display:grid;place-items:center;width:104px;height:68px;object-fit:contain;color:#92aaa5}
.of-pair .fg-mark{margin-left:4px}.of-panel .fg-grade{font-size:11px}
.of-compare table{border-collapse:collapse;width:100%;font-size:14px;margin:13px 0;font-variant-numeric:tabular-nums}
.of-compare th,.of-compare td{text-align:right;padding:6px 2px;border-bottom:1px solid var(--line)}
.of-compare th:first-child{text-align:left}.of-compare thead th{font-size:12px;color:var(--muted);font-weight:640}
.of-gain{color:#a9ebbe}.of-loss{color:#ffc2a6}.of-compare td small{white-space:nowrap}
.of-panel .of-compare p,.of-hint{font-size:14px;color:var(--muted);margin:8px 0}
.of-panel .of-warning{font-size:14px;color:#fbd2a2;margin:12px 0}
.of-actions,.of-broker,.of-foot{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.of-actions{margin:10px 0}.of-actions .of-equip{color:#102e2d;background:#b5dfc3;border-color:#bde4cc}.of-actions .of-equip:not(:disabled):hover{background:#ccebd3}
.of-broker,.of-reserve{padding:10px 12px;border:1px solid #5c6157;border-radius:8px;background:#283c3d;color:#ebdfc3}
.of-broker{justify-content:space-between}.of-broker>.of-actions{margin:0}
.of-broker .of-sale-list{flex-basis:100%;color:var(--muted);font-size:13px}
.of-reserve h3{font-size:15px}.of-reserve>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin-top:6px}
.of-no-items{display:grid;justify-items:center;text-align:center;gap:7px;border:1px dashed #587273;border-radius:10px;padding:30px 15px;color:#d7e5d9}
.of-no-items span{color:var(--muted);font-size:14px}.of-no-items .of-icon{width:32px;height:32px;color:var(--brass)}
.of-panel .of-alternatives .of-slot{width:100%;margin-top:6px}
.of-meters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}
.of-meter{background:#1b3940;border:1px solid var(--line);border-radius:9px;padding:12px;display:grid;grid-template-columns:22px 1fr;gap:5px 7px;align-items:center}
.of-meter .of-icon,.of-supply-cells .of-icon{color:#a7d8be}.of-meter:nth-child(2) .of-icon{color:#c4c5f7}
.of-meter span{font-size:14px;color:#d0dfd3}.of-meter strong{grid-column:1/-1;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}
.of-meter strong small{font-size:15px;color:#b6c9c2}.of-meter i{grid-column:1/-1;background:#385158;height:4px;border-radius:9px;overflow:hidden;margin-top:4px}
.of-meter:nth-child(2) i b{background:#bab4e1}.of-manifest,.of-refits dl{padding:0;margin:12px 0;list-style:none}
.of-manifest li,.of-refits dl>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}
.of-manifest li span,.of-refits dd{color:#d1ddc7;margin:0}.of-freight{display:grid;gap:3px;padding:10px 0;font-size:14px;color:var(--muted)}
.of-supply-cells header{justify-content:flex-start}.of-supply-cells header>b{margin-left:auto;font-size:14px;color:#ccdcca}
.of-supply-cells #cell-manifest{margin:7px 0;color:var(--muted);font-size:14px}
.of-supply-cells #cell-manifest article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #52747366}.of-supply-cells #cell-manifest article button{min-height:40px;padding:6px 13px;font:inherit;font-weight:700;color:#f4e5c0;background:#234956;border:1px solid #8da79a;border-radius:5px}.of-supply-cells #cell-manifest small{display:block}
.of-character-stats dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.of-character-stats dl>div{min-width:0;position:relative;background:#1b3840;border:1px solid var(--line);border-radius:8px;padding:10px 8px 10px 49px;overflow-wrap:anywhere}
.of-character-stats dt{font-size:13px;font-weight:650}.of-character-stats dt img{position:absolute;left:5px;top:13px;object-fit:contain}
.of-character-stats dd{margin:3px 0 0;font-size:20px;line-height:1.1}.of-character-stats dd small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.of-refits summary{min-height:40px;padding:8px 0;cursor:pointer}.of-refits summary b{margin-left:6px;color:var(--brass)}
.of-receipt:not(:empty){margin:0;padding:10px 18px;border-top:1px solid #628673;background:#21463e;color:#d8f3d5;font-weight:680;font-size:14px}.of-receipt[data-kind=error]:not(:empty){border-color:#a57c68;color:#ffdbc4;background:#523c36}
.of-foot{border-top:1px solid var(--line);padding:6px 17px}.of-foot button{border:0;background:transparent}
#cargo-open .of-hud-label{display:block;font:750 13px/1.2 system-ui;color:#244b4e}#cargo-open:has(.of-hud-label) #rank-text{display:none!important}
@media (max-width:780px){.of-panel .of-items{grid-template-columns:1fr}.of-scroll{grid-template-columns:minmax(215px,34%) minmax(0,1fr)}.of-bag,.of-body{padding:15px}}
@media (max-width:620px){
 #signal-dialog[data-screen="outfitter"]{width:calc(100vw - 12px);height:min(760px,calc(100dvh - 12px));max-height:calc(100dvh - 10px);border-radius:12px}
 .of-heading{padding:9px 12px;gap:9px}.of-heading .of-crest{width:33px;height:33px}.of-crest .of-icon{width:22px;height:22px}.of-heading h1{font-size:24px}
 .of-nav{padding:3px 5px 0;gap:0}.of-nav button{flex:1;gap:4px;padding:8px 4px;min-height:45px}.of-nav .of-icon{width:16px;height:16px}.of-nav small{font-size:11px}
 .of-scroll{display:block;overflow:auto;overscroll-behavior:contain}.of-body,.of-bag{overflow:visible;padding:14px;border:0}
 [data-outfit-page=cargo] .of-body,[data-outfit-page=supplies] .of-body{display:none}
 [data-outfit-page=droid] .of-body{padding-bottom:0}.of-preview{height:123px}.of-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.of-panel .of-slot{padding:4px;gap:5px;min-height:54px}.of-panel .of-slot .of-thumbnail{width:33px;height:33px}.of-slot .of-chevron{display:none}
 .of-panel .of-item,.of-panel .of-back,.of-panel .of-actions button,.of-panel .of-close{min-height:44px}
 .of-panel .of-refits{margin-top:10px}.of-panel .of-stock+.of-stock{margin-top:17px}.of-id-card{padding:9px 6px}.of-id-card>strong{font-size:15px}.of-id-card img{max-width:100%;height:56px}
}
@media (max-height:520px) and (min-width:621px){.of-heading{padding:3px 14px}.of-heading .of-crest{width:29px;height:29px}.of-heading h1{font-size:22px}.of-nav{padding-top:0}.of-body,.of-bag{padding:12px}.of-preview{height:88px}}
.oa-panel{font:500 15px/1.4 system-ui,"Segoe UI",sans-serif;box-sizing:border-box}.oa-panel button,.oa-entry{font:700 14px/1.25 system-ui;cursor:pointer}.oa-panel :focus-visible,.oa-entry:focus-visible{outline:3px solid #f9db92;outline-offset:2px}.oa-panel h1{margin:0;font-size:clamp(24px,3vw,34px);line-height:1.16;color:#fff2d9}.oa-stack button{color:#edf1e4;border:1px solid #678d8c;background:#254b54;border-radius:7px;min-height:38px;padding:7px 12px}.oa-primary{background:#c1e8cf;color:#173b39;border:1px solid #c5e7d0;border-radius:8px;min-height:43px;padding:8px 12px}.oa-panel button:disabled{opacity:.58;cursor:default}
#signal-dialog[data-screen="outfit-account"],#signal-dialog[data-screen="account-receipt"]{width:min(448px,calc(100vw - 22px));max-height:calc(100dvh - 20px);overflow:auto}
.oa-panel{padding:clamp(18px,4vw,30px);max-width:100%}.oa-panel h1{margin:10px 0}.oa-panel p{font-size:15px;color:#d1e0d6;margin:8px 0 15px}.oa-panel form,.oa-panel label,.oa-stack{display:grid;gap:9px}.oa-panel label{gap:4px;font:700 13px system-ui}.oa-panel input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #749394;background:#0a2531;color:#fff4da;border-radius:7px;font:500 16px system-ui}
.oa-panel small{font-size:12px;color:#bdd6ca}.oa-primary{margin:7px 0}.oa-back,.oa-link,.oa-entry{background:transparent;border:0;color:#b9e4d5;padding:7px 0;min-height:36px}.oa-entry{display:block;margin:2px auto;color:inherit;text-decoration:underline;text-underline-offset:3px}.oa-code{display:block;padding:16px;background:#081f2a;border:1px solid #668780;border-radius:8px;color:#ffe3a7;font:650 17px/1.6 monospace;overflow-wrap:anywhere;user-select:all}.oa-panel #oa-feedback:empty{display:none}

.of-weapon-profile{border:1px solid #4f7473;border-radius:10px;background:#14373f;color:#eef4df;padding:12px 15px;margin:0 0 12px}
.of-weapon-profile>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.of-weapon-profile b,.dc-impact strong{color:#f6d391;font-variant-numeric:tabular-nums}
.of-weapon-profile p,.of-weapon-profile small,.of-compare .of-weapon-terms{font:600 13px/1.45 system-ui;margin:5px 0 0}
.of-weapon-profile small{display:block;color:#c0d8d4}.sg-card .dc-impact,.dc-detail .dc-impact{margin:4px 0;font-weight:700}
