.operations-panel { position: fixed; inset: 0 0 0 auto; width: 20vw; height: 100dvh; z-index: 80; background: var(--panel); border-left: 1px solid var(--border); box-shadow: -12px 0 40px rgba(0,0,0,.35); display: flex; flex-direction: column; font-size: 12px; }
.operations-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 14px 10px; }
.operations-panel-head h2 { margin: 4px 0 0; font-size: 17px; }
.operations-panel-head button { flex-shrink: 0; border: 0; background: transparent; color: var(--text); font-size: 26px; padding: 0 5px; }
.operations-panel-head > div { min-width: 0; }
.operations-panel-head button { width: 44px; height: 44px; padding: 0; }
.operations-panel-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0 !important; flex-shrink: 0; }
.operation-item .operation-grid-profit { color: var(--green); font-weight: 600; }
.operation-item .operation-grid-profit.neutral { color: var(--muted); }
.operations-panel-status { color: var(--muted); margin: 0; padding: 0 14px 12px; font-size: 11px; }
.operations-panel-list { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.operation-item { padding: 12px 14px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.operation-item-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; }
.operation-item-head strong { font-size: 12px; }
.operation-item time { color: var(--muted); font-size: 10px; }
.operation-item p { margin: 7px 0 0; line-height: 1.5; }
.operation-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.operation-item.buy .operation-label { color: var(--green); }
.operation-item.sell .operation-label { color: var(--red); }
#operationsPanelButton[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) {
  .operations-panel { width: 75vw; }
  .topbar { position: relative; }
  .topbar .brand { width: 100%; padding-right: 54px; }
  #operationsPanelButton { position: absolute; top: 8px; right: 0; width: 44px; height: 44px; }
}
