/* v3 data desk. Keep operational UI calm and readable. */
.exchange-lead {display:flex;justify-content:space-between;gap:28px;align-items:center;background:linear-gradient(120deg,#eef4ed,#f9faf5);padding:30px;}
.exchange-lead h2{font-size:24px;margin-bottom:12px}.exchange-lead p{color:var(--muted);font-size:14px;line-height:1.85}
.exchange-path{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px}.exchange-path span{padding:14px 18px;border:1px solid #d5e0d4;border-radius:12px;background:#ffffffb8}.exchange-path b{font-weight:400;color:var(--green)}
.exchange-option{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-height:285px}.exchange-option h2{font-size:24px}.exchange-option p{color:var(--muted);font-size:14px;line-height:1.85}.exchange-option .btn{margin-top:auto}.data-step{color:var(--green);font-size:11px;letter-spacing:.065em;font-weight:650}.data-tally{font-size:12px;color:var(--muted)}
.data-sheet-list>div{display:grid;grid-template-columns:112px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.data-sheet-list>div:last-child{border-bottom:0}.data-sheet-list span{color:var(--muted)}
.spend-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap}.spend-toolbar .row{align-items:flex-end;flex-wrap:wrap}.spend-toolbar .field{max-width:165px}.spend-toolbar input{width:100%}.spend-toolbar .btn{margin-bottom:2px}.spend-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:end;margin:22px 0}.spend-chart button{display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--muted);font-size:12px}.bar-space{height:138px;display:flex;align-items:flex-end;width:100%;background:#f5f7f3;border-radius:6px;overflow:hidden}.bar-space i{display:block;background:var(--green);width:100%;border-radius:6px 6px 0 0;min-height:1px}.bar-space i:hover{background:var(--olive)}
#modal.data-wide{width:min(1000px,95vw);max-width:1000px}.preview-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;margin:20px 0}.preview-counts>div{background:var(--paper);padding:18px;border-radius:12px}.preview-counts strong{display:block;font-size:25px;line-height:1.25}.preview-counts span{color:var(--muted);font-size:12px}.import-list{max-height:45vh;overflow:auto;margin:20px 0}.import-item{display:grid;grid-template-columns:24px 1fr;gap:10px;padding:17px 4px;border-bottom:1px solid var(--line);font-size:13px}.import-item input{margin-top:5px;width:18px;height:18px}.import-diff{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;word-break:break-word}.import-diff>div{background:var(--paper);padding:8px;border-radius:6px;font-size:12px;white-space:pre-wrap}.import-diff span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.import-error{border:1px solid #dac1ad;background:#fff5ed;max-height:180px;overflow:auto}.import-error-text{color:#85502c}.mapping-preview{max-height:160px;margin:18px 0;border:1px solid var(--line);border-radius:8px}.mapping-preview td{font-size:12px;min-width:80px}.mapping-preview tr:first-child{background:var(--sage);font-weight:600}.import-table{max-height:48vh;margin-bottom:14px}.import-table td{font-size:12px}.import-table input{width:17px;height:17px}.data-wide .note{margin-bottom:12px}.nav{gap:20px}
@media(max-width:1000px){.exchange-lead{flex-direction:column;align-items:flex-start}.exchange-option{min-height:260px}.nav{gap:18px}}
@media(max-width:760px){.exchange-path{white-space:normal;gap:8px;font-size:12px;width:100%}.exchange-path span{padding:12px}.exchange-option{min-height:0}.exchange-option h2,.exchange-lead h2{font-size:22px}.exchange-lead{padding:23px}.import-diff{grid-template-columns:1fr}.preview-counts{grid-template-columns:repeat(2,1fr)}.spend-chart{gap:5px}.spend-chart button{font-size:10px}.bar-space{height:100px}.spend-toolbar .actions{justify-content:flex-start}.data-sheet-list>div{grid-template-columns:92px 1fr}#modal.data-wide{width:96vw}}
