.tools-skel { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.tools-stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tools-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.tools-foot { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.tools-modal { display: flex; flex-direction: column; gap: 12px; }
.tools-pre { margin: 0; max-height: 65vh; overflow: auto; padding: 14px; background: var(--input-bg); border: 1px solid var(--stroke); border-radius: 10px; font-size: 12px; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }

.exp-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.exp-grid { grid-template-columns: minmax(0, 2fr) 90px 80px 90px 100px 84px; }
.pnl-grid { grid-template-columns: minmax(0, 1.2fr) repeat(6, minmax(0, 1fr)); }
.smp-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.4fr) 80px 110px 130px; }
.adm-users-grid { grid-template-columns: minmax(0, 1.6fr) 60px minmax(0, 1.3fr) 64px 80px 56px 90px 200px; }
.adm-auto-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) 120px; }
.adm-fail-grid { grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 3fr); }

.pnl-chart { display: flex; gap: 6px; height: 180px; padding-bottom: 4px; }
.pnl-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pnl-up, .pnl-down { display: flex; }
.pnl-up { flex: 1; align-items: flex-end; border-bottom: 1px solid var(--stroke); }
.pnl-down { flex: 0; align-items: flex-start; }
.pnl-chart.has-neg .pnl-down { flex: 1; }
.pnl-col i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--green); transition: height .4s var(--ease-emph); }
.pnl-down i { border-radius: 0 0 4px 4px; background: var(--red); }
.pnl-col span { font-size: 10px; color: var(--text-3); text-align: center; padding-top: 4px; white-space: nowrap; overflow: hidden; }

.mo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mo-items-head { display: flex; justify-content: space-between; align-items: center; }
#mo-items { display: flex; flex-direction: column; gap: 8px; }
.mo-item { display: grid; grid-template-columns: minmax(0, 1fr) 72px 110px 36px; gap: 8px; align-items: center; }
.mo-item-head { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); }
.mo-total { margin-right: auto; color: var(--text-2); }
.mo-total b { color: var(--text); font-size: 18px; margin-left: 6px; }

.recap-frame { position: relative; aspect-ratio: 1200 / 675; border-radius: 12px; overflow: hidden; background: var(--bg3); }
.recap-frame .skeleton { position: absolute; inset: 0; border-radius: 0; }
.recap-frame img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s var(--ease-color); }
.recap-frame.loaded img { opacity: 1; }
.recap-frame.loaded .skeleton { display: none; }
.recap-exports { display: flex; flex-direction: column; gap: 8px; }
.recap-exports .btn { justify-content: flex-start; }

@media (max-width: 768px) {
  .exp-form, .mo-grid { grid-template-columns: minmax(0, 1fr); }
  .tools-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-item { grid-template-columns: minmax(0, 1fr) 56px 84px 36px; gap: 6px; }
  .pnl-chart { height: 140px; gap: 3px; }
  .pnl-col span { font-size: 9px; }
  .tools-foot .btn { flex: 1; }
  .mo-total { flex-basis: 100%; }
}
