#signal-dialog[data-screen="cargo-exchange"]{width:min(620px,calc(100vw - 22px));max-height:88dvh;padding:0;overflow:auto;border:1px solid #bdac82;border-radius:16px;background:#efe9d6;color:#193b42;box-shadow:0 18px 80px #07283178}
.sx-sheet{font:600 15px/1.45 system-ui,sans-serif;color:#254046}
.sx-sheet button,.sx-sheet select,.sx-sheet input{font:inherit;letter-spacing:normal}
.sx-sheet button,.sx-sheet select,.sx-sheet input{min-height:40px;padding:7px 12px;border:1px solid #8d9c8d;border-radius:7px;background:#fff9eb;color:#214148}
.sx-sheet button{cursor:pointer}.sx-sheet button:disabled{opacity:.52;cursor:default}.sx-sheet :focus-visible{outline:3px solid #da9c4f;outline-offset:2px}
.sx-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;color:#fff2d4;background:#173d45;border-bottom:3px double #bda578}
.sx-head small{font-size:12px;letter-spacing:.07em;color:#efd095}.sx-head h1{margin:2px 0;font:700 clamp(25px,4vw,32px)/1.1 Georgia,serif;color:#fff4dc}
.sx-head button{width:40px;padding:0;color:#fff1d6;border-color:#b2b39b;background:transparent;font-size:23px}
.sx-with,.sx-status,.sx-sheet #form-error{margin:12px 20px}.sx-sheet #form-error:empty{display:none}.sx-sheet #form-error{color:#8a3529}
.sx-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 18px}
.sx-manifest{min-width:0;border:1px solid #b6b99f;border-radius:9px;background:#fcf7e6;padding:12px}
.sx-manifest header{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.sx-sheet h2{font:700 18px/1.25 Georgia,serif;margin:0}
.sx-seal,.sx-item small,.sx-funds small{font-size:12px}.sx-seal{color:#626959}.sx-seal[data-ready="true"]{color:#236447}
.sx-gold{margin:10px 0;color:#704d16}.sx-empty{margin:5px 0;font-size:13px;color:#526268}
.sx-item{display:flex;gap:6px;align-items:center;min-height:37px;border-top:1px solid #c8c5b0;font-size:13px;overflow-wrap:anywhere}.sx-item span,.sx-item label{flex:1}.sx-item img{object-fit:contain;width:40px;height:31px}.sx-item input{width:5em}.sx-item b{white-space:nowrap}
.sx-status{font-size:13px;color:#435955}.sx-sheet footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;padding:13px 17px;background:#e0dfcb;border-top:1px solid #bcc1ac}
.sx-sheet .sx-primary,#sx-notice{background:#225b53;color:#fff9df;border-color:#749282}
#sx-notice{align-self:flex-start;pointer-events:auto;max-width:100%;margin-top:4px;padding:7px 11px;font:700 13px/1.3 system-ui,sans-serif;border-radius:8px;overflow-wrap:anywhere}
.sx-intro{display:flex;align-items:center;gap:15px;margin:18px 22px}.sx-intro img{width:68px;height:68px;object-fit:contain;border-radius:50%;background:#193d45}.sx-intro p{margin:4px 0}
.sx-funds,.sx-add,#sx-lines{margin:14px 20px}.sx-funds{display:flex;align-items:center;gap:9px}.sx-funds input{width:8em}.sx-add label{display:block;margin-bottom:4px}.sx-add>div{display:flex;gap:6px}.sx-add select{min-width:0;max-width:100%;flex:1}
.frayvo-loot-row[data-tier="5"]{--loot-edge:#ffd489;border-color:#e6aa52;background:#4e3825f5}.of-panel .of-item[data-tier="5"]{border-left:3px solid #e3a954}.fg-name.fg-t5,.fg-grade.fg-t5{color:#8b4c0a}
@media(max-width:480px){.sx-columns{grid-template-columns:1fr;gap:7px;margin:10px 12px}.sx-manifest{padding:9px}.sx-manifest header{flex-wrap:nowrap}.sx-sheet footer{padding:9px}.sx-funds,.sx-add,#sx-lines{margin:10px 12px}.sx-intro{margin:12px}.sx-head{padding:12px}.sx-gold{margin:6px 0}.sx-sheet button{min-height:42px}}

