/* ---- Filter bar ---- */ .filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-end; margin-bottom: var(--space-5); padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); } .filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 130px; } .filter-field label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; } .filter-field select, .filter-field input { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary); border-radius: var(--radius-sm); padding: 7px 9px; font-size: 13px; font-family: var(--font-body); } .filter-field.grow { flex: 1; min-width: 180px; } /* ---- Trade table ---- */ .trade-table-wrap { overflow-x: auto; } .trade-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .trade-table th { text-align: left; color: var(--text-muted); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); white-space: nowrap; } .trade-table td { padding: var(--space-3); border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; } .trade-table tr:hover td { background: var(--surface-raised); } .trade-table .pnl-value { font-family: var(--font-mono); font-weight: 500; } .trade-table .pnl-pos { color: var(--buy); } .trade-table .pnl-neg { color: var(--sell); } .trade-table .pnl-flat { color: var(--text-muted); } .direction-pill { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid; } .direction-pill.long { color: var(--buy); border-color: var(--buy); background: var(--buy-bg); } .direction-pill.short { color: var(--sell); border-color: var(--sell); background: var(--sell-bg); } .tag-chip { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-raised); color: var(--text-secondary); border: 1px solid var(--border); margin-right: 4px; } .row-actions { display: flex; gap: var(--space-2); } .icon-btn { background: transparent; border: 1px solid var(--border-strong); color: var(--text-secondary); border-radius: var(--radius-sm); width: 28px; height: 28px; cursor: pointer; font-size: 13px; } .icon-btn:hover { color: var(--text-primary); border-color: var(--accent); } /* ---- Modal ---- */ dialog.modal { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0; width: 100%; max-width: 520px; background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-lg); } dialog.modal::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5); border-bottom: 1px solid var(--border); } .modal-body { padding: var(--space-5); max-height: 70vh; overflow-y: auto; } .modal-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: var(--space-3); } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); } .tag-input-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .tag-input-chips .tag-chip button { background: none; border: none; color: inherit; cursor: pointer; margin-left: 4px; font-size: 11px; } .screenshot-thumbs { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); } .screenshot-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); } .page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }