.positions-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.export-button, .export-download { border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--accent); padding: 11px 16px; font: 600 14px var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; }
.export-button:disabled { opacity: .45; cursor: wait; }
.export-button:focus-visible, .export-download:focus-visible, .export-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.export-dialog { width: min(1000px, calc(100% - 24px)); max-height: 94dvh; padding: 24px; background: #13161b; color: #f3f5f7; border: 1px solid #39424e; border-radius: 18px; overflow-y: auto; }
.export-dialog::backdrop { background: rgba(0,0,0,.8); }
.export-dialog-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.export-dialog-heading h2 { margin: 0 0 6px; font-size: 23px; }
.export-dialog-heading p { color: #aab2bd; margin: 0 0 20px; font-size: 14px; }
.export-close { background: transparent; color: #f3f5f7; border: 1px solid #39424e; border-radius: 8px; font-size: 26px; width: 40px; height: 40px; cursor: pointer; flex-shrink: 0; }
.export-preview { display: block; width: 100%; height: auto; border: 1px solid #29313b; }
.export-dialog-actions { position: sticky; bottom: -24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; background: #13161b; }
.export-file-info { color: #aab2bd; font-size: 13px; }
@media(max-width:700px) {
  .positions-tools { width: 100%; justify-content: stretch; }
  .positions-tools .search-box { flex: 1 1 100%; }
  .export-button { width: 100%; }
  .export-dialog { padding: 16px; }
  .export-dialog-actions { bottom: -16px; flex-wrap: wrap; }
}
