html.csp-admin-shell-active:has(.csp-warehouse-panel), body.csp-admin-shell-active:has(.csp-warehouse-panel) { width: 100% !important; min-width: 0 !important; max-width: none !important; }
.csp-warehouse-panel { display: grid; grid-column: 1 / -1; gap: 16px; min-width: 0; color: #e4ebef; font-size: 13px; line-height: 1.5; }
.csp-warehouse-panel .csp-admin-card { padding: 22px; min-width: 0; max-width: 100%; box-sizing: border-box; }
.csp-warehouse-panel .csp-admin-card { background: #182127; border-color: #33414b; }
.csp-warehouse-panel h2 { margin: 4px 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.csp-warehouse-panel p, .csp-warehouse-panel small { color: #aaaebd; }
.csp-warehouse-panel a { color: #9cc9df; text-underline-offset: 3px; overflow-wrap: anywhere; }
.csp-warehouse-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.csp-warehouse-section-heading p { margin: 0; }
.csp-warehouse-destination__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.csp-warehouse-panel .csp-warehouse-steam-id { display: inline-block; font-variant-numeric: tabular-nums; }
.csp-warehouse-fields, .csp-warehouse-selection { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-top: 18px; }
.csp-warehouse-fields > label { flex: 1 1 260px; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; max-width: 100%; gap: 8px; }
.csp-warehouse-source-fields > label:first-child { flex: 2 1 330px; }
.csp-warehouse-source-fields > label:nth-child(2) { flex: 1 1 160px; }
.csp-warehouse-proxy-fields { max-width: 620px; }
.csp-warehouse-recipient-fields { align-items: center; }
.csp-warehouse-recipient-fields > label { flex: 0 1 600px; }
.csp-warehouse-destination-form { margin-top: 14px; padding-top: 2px; border-top: 1px solid #33414b; }
.csp-warehouse-panel input:not([type=checkbox]), .csp-warehouse-panel select { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; padding: 12px; background: #11191f; border: 1px solid #41505d; border-radius: 7px; color: #edf1f4; font: inherit; }
.csp-warehouse-panel select { overflow: hidden; text-overflow: ellipsis; }
.csp-warehouse-fields > button { flex: 0 0 auto; max-width: 100%; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; }
.csp-warehouse-selection > input { flex: 1 1 220px; max-width: 340px; }
.csp-warehouse-panel button { cursor: pointer; min-height: 40px; padding: 9px 14px; border: 1px solid #465661; border-radius: 7px; background: #26343e; color: #edf1f4; font: inherit; line-height: 1.4; }
.csp-warehouse-panel button:hover:not(:disabled) { border-color: #8395a2; background: #32424e; }
.csp-warehouse-panel :is(button, input, select, summary):focus-visible { outline: 2px solid #9cc9df; outline-offset: 3px; }
.csp-warehouse-panel button:disabled { cursor: default; opacity: .45; }
.csp-warehouse-panel button.csp-admin-button--primary { background: var(--admin-primary, #5bc7a0); color: #07130f; }
.csp-warehouse-panel button.csp-admin-button--primary:hover:not(:disabled) { filter: brightness(1.1); background: var(--admin-primary, #5bc7a0); }
.csp-warehouse-send-all { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px; margin-top: 20px; border: 1px solid #40504d; border-radius: 8px; background: #5bc7a007; }
.csp-warehouse-send-all button { display: inline-flex; gap: 14px; align-items: center; justify-content: center; }
.csp-warehouse-help { margin-top: 14px; color: #aab8c2; }
.csp-warehouse-help summary, .csp-warehouse-offer__items summary { cursor: pointer; padding: 5px 0; }
.csp-warehouse-help p { max-width: 850px; margin: 8px 0 0; }
.csp-warehouse-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(245px, 100%), 1fr)); gap: 8px; max-height: 420px; overflow: auto; margin-top: 16px; }
.csp-warehouse-items label { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #333846; border-radius: 8px; }
.csp-warehouse-items label:has(input:checked) { background: #24353e; border-color: #526b7a; }
.csp-warehouse-items label > span { min-width: 0; overflow-wrap: anywhere; }
.csp-warehouse-items input { accent-color: var(--admin-primary, #5bc7a0); width: 18px; height: 18px; flex-shrink: 0; }
.csp-warehouse-panel small { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.csp-warehouse-count { display: inline-grid; min-width: 25px; min-height: 25px; margin-left: 6px; padding: 0 5px; place-items: center; border-radius: 6px; background: #2a3842; color: #b8c7d1; font-size: 12px; vertical-align: middle; }
.csp-warehouse-panel .csp-warehouse-live { white-space: nowrap; color: #94a7b5; }
.csp-warehouse-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #80c6ad; }
.csp-warehouse-history__toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 14px; }
.csp-warehouse-filters { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 560px; }
.csp-warehouse-filters button { display: flex; align-items: center; gap: 7px; padding: 7px 10px; min-height: 36px; background: transparent; border-color: transparent; font-size: 12px; }
.csp-warehouse-filters button[aria-pressed=true] { background: #2b3d49; border-color: #506674; color: #fff; }
.csp-warehouse-filters button > span { color: #9db1bf; font-size: 11px; font-variant-numeric: tabular-nums; }
.csp-warehouse-history__toolbar > input { flex: 1 1 250px; max-width: 320px; }
.csp-warehouse-history__columns, .warehouse-transfer__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.15fr) 116px; align-items: center; gap: 20px; padding: 16px; }
.csp-warehouse-history__columns { padding-top: 10px; padding-bottom: 10px; background: #111a20; border-radius: 6px 6px 0 0; color: #90a2af; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.warehouse-transfer { border: 1px solid #33414b; border-top: 0; background: #1a252c; }
.warehouse-transfer:last-of-type { border-radius: 0 0 7px 7px; }
.warehouse-transfer__row > div { min-width: 0; }
.warehouse-transfer__identity > strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.csp-warehouse-panel .warehouse-transfer small { font-size: 11px; color: #9aacb8; }
.warehouse-transfer__progress strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.warehouse-transfer__progress strong > span { color: #b3c0c9; font-size: 12px; font-weight: 400; }
.warehouse-transfer__progress progress { display: block; width: 100%; height: 5px; margin-top: 7px; border: 0; border-radius: 3px; accent-color: #7acaaa; background: #33434e; overflow: hidden; }
.warehouse-transfer__progress progress::-webkit-progress-bar { background: #33434e; }
.warehouse-transfer__progress progress::-webkit-progress-value { background: #7acaaa; }
.csp-warehouse-badge { display: inline-block; padding: 5px 9px; border: 1px solid #485864; border-radius: 5px; font-size: 11px; line-height: 1.4; }
.csp-warehouse-badge--active { background: #8ab9e510; border-color: #8ab9e533; color: #accde9; }
.csp-warehouse-badge--success { background: #7acaaa10; border-color: #7acaaa33; color: #94d4bc; }
.csp-warehouse-badge--warning { background: #e9b77510; border-color: #e9b77533; color: #efc48c; }
.csp-warehouse-badge--muted { background: #a2b3bf08; border-color: #a2b3bf24; color: #a5b3bd; }
.csp-warehouse-panel .csp-warehouse-attention { color: #efc48c; }
.csp-warehouse-panel .csp-warehouse-details-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; min-height: 36px; font-size: 12px; background: transparent; }
.warehouse-transfer__details { padding: 0 16px 16px; }
.warehouse-transfer__destination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0; border-top: 1px solid #33414b; color: #aab9c4; font-size: 12px; }
.csp-warehouse-panel .csp-warehouse-stop { color: #efb2a4; border-color: #835346; background: #f0b19d08; font-size: 12px; }
.csp-warehouse-offer { padding: 14px; margin-top: 8px; background: #121c22; border: 1px solid #33414b; border-radius: 7px; }
.csp-warehouse-offer__heading { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.csp-warehouse-offer__heading > strong { font-size: 12px; }
.csp-warehouse-offer__heading > a { font-size: 12px; }
.csp-warehouse-panel .csp-warehouse-offer__error { margin: 12px 0 0; color: #edb18e; font-size: 12px; }
.csp-warehouse-offer__items { margin-top: 10px; font-size: 12px; color: #b4c3cd; }
.csp-warehouse-offer__items ul { max-height: 280px; overflow: auto; list-style: none; padding: 0; margin: 8px 0 0; }
.csp-warehouse-offer__items li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; border-top: 1px solid #2a3741; overflow-wrap: anywhere; }
.csp-warehouse-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.csp-warehouse-pagination > div { display: flex; align-items: center; gap: 12px; }
.csp-warehouse-empty { padding: 32px 16px; text-align: center; border: 1px dashed #43515c; border-radius: 8px; }
.csp-warehouse-empty strong { display: block; font-size: 15px; }
.csp-warehouse-empty p { margin: 7px 0 14px; }
.csp-warehouse-panel .csp-warehouse-error { color: #ffabab; border: 1px solid #7d4549; padding: 14px; border-radius: 8px; }
.csp-warehouse-notice { padding: 12px; background: #242c35; border-radius: 8px; }
@media (max-width: 800px) {
  .csp-warehouse-history__columns { display: none; }
  .warehouse-transfer { border-top: 1px solid #33414b; margin-top: 10px; border-radius: 7px; }
  .warehouse-transfer__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .csp-warehouse-details-button { justify-self: end; }
  .csp-warehouse-section-heading { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .csp-warehouse-panel .csp-admin-card { padding: 15px; }
  .csp-warehouse-fields > button { width: 100%; }
  .csp-warehouse-send-all { flex-direction: column; align-items: stretch; }
  .csp-warehouse-history__toolbar > input { max-width: none; }
  .csp-warehouse-filters { gap: 4px; }
  .csp-warehouse-filters button { font-size: 11px; padding: 7px 8px; }
  .warehouse-transfer__row { gap: 12px; padding: 14px; }
  .warehouse-transfer__details { padding: 0 12px 12px; }
  .csp-warehouse-pagination { flex-wrap: wrap; }
}

/* Match the shared control height without clipping text inside its padding. */
.csp-admin-v2 .csp-warehouse-panel input:not([type=checkbox]), .csp-admin-v2 .csp-warehouse-panel select { height: 44px; min-height: 44px; padding-top: 0; padding-bottom: 0; line-height: normal; }
html.csp-admin-shell-active:has(.csp-admin-trade-bots--slots), body.csp-admin-shell-active:has(.csp-admin-trade-bots--slots) { width: 100% !important; min-width: 0 !important; max-width: none !important; }
.csp-admin-v2 .csp-admin-trade-bot-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.csp-admin-v2 .csp-admin-trade-bot-tabs button { min-height: 46px; font-size: 12px; }
.csp-admin-v2 .csp-admin-trade-bots--slots { min-width: 0; }
.csp-admin-v2 .csp-admin-trade-archive { background: #182127; min-width: 0; max-width: 100%; }
.csp-admin-v2 .csp-admin-trade-archive-table { border-radius: 8px; }
.csp-admin-v2 .csp-admin-trade-archive-table table { font-size: 12px; }
.csp-admin-v2 .csp-admin-trade-archive-table td { padding: 16px 14px; vertical-align: middle; }
.csp-admin-v2 .csp-admin-trade-archive-table th { padding: 12px 14px; font-size: 10px; }
.csp-admin-v2 .csp-admin-trade-archive-table td strong { font-size: 13px; }
.csp-admin-v2 .csp-admin-trade-archive-table td small { font-size: 11px; color: #93a1ab; }
.csp-admin-v2 .csp-admin-trade-archive-table tbody tr:hover { background: #ffffff03; }
.csp-admin-v2 .csp-admin-trade-archive-table .csp-admin-trade-archive-actions { text-align: right; width: 182px; }
.csp-admin-v2 .csp-admin-archive-restore { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid #53616c; border-radius: 6px; background: #27343d; color: #e8edf0; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; box-shadow: none; }
.csp-admin-v2 .csp-admin-archive-restore:hover:not(:disabled) { background: #354550; border-color: #91a3ae; }
.csp-admin-v2 .csp-admin-archive-restore:focus-visible { outline: 2px solid var(--admin-primary, #5bc7a0); outline-offset: 3px; }
.csp-admin-v2 .csp-admin-archive-state { display: inline-block; max-width: 220px; color: #a6b4bd; line-height: 1.5; }
.csp-admin-v2 .csp-admin-archive-state--pending { color: #e5bd79; }
.csp-admin-v2 .csp-admin-archive-state--reserve { padding: 4px 9px; border-radius: 5px; background: #5bc7a010; color: #8fd3b9; }
.csp-admin-v2 .csp-admin-archive-no-action { color: #62717c; padding-right: 12px; }
@media (max-width: 650px) {
  .csp-admin-v2 .csp-admin-trade-bot-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csp-admin-v2 .csp-admin-trade-bot-tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--admin-border); }
  .csp-admin-v2 .csp-admin-trade-bot-tabs button:nth-child(2) { border-right: 0; }
  .csp-admin-v2 .csp-admin-trade-archive-table table { min-width: 820px; }
}
/*$vite$:1*/