@import url("ops-dashboard.css");

html, body { height: 100%; margin: 0; overflow: hidden; }
.ops-layout { height: 100vh; overflow: hidden; }
.ops-main { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.ops-content { flex: 1; min-height: 0; overflow: hidden !important; display: flex; flex-direction: column; padding: 10px 16px 12px; }
.portal-view { display: none; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; }
.portal-view.active { display: flex; }
#listViewsHost { display: contents; }
.market-list-view { gap: 10px; }
.market-table-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.market-table-fill { flex: 1; min-height: 0; overflow: hidden; }
.market-pagination { flex-shrink: 0; padding: 10px 16px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 13px; color: #8c8c8c; border-top: 1px solid #f0f0f0; background: #fff; }
.market-pagination button { min-width: 28px; height: 28px; border: 1px solid #d9d9d9; background: #fff; border-radius: 4px; cursor: pointer; }
.market-pagination button:disabled { opacity: 0.45; }
.ops-sys-nav { padding: 10px 12px; border-top: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.sys-nav-title { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.sys-nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sys-nav-link { padding: 4px 8px; font-size: 11px; border-radius: 4px; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); text-decoration: none; }
.sys-nav-link:hover { color: #fff; background: rgba(24,144,255,0.35); }
.sys-nav-link.active { color: #fff; background: #1890ff; }
.portal-home-stats { flex-shrink: 0; margin-bottom: 8px !important; gap: 8px !important; }
.portal-home-dashboard { flex: 1; min-height: 0; gap: 12px !important; }
.portal-home-table-panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.portal-home-right { width: 340px; flex-shrink: 0; gap: 8px !important; }
.portal-home-right .ops-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.portal-chart-sm { flex: 1; min-height: 0; height: auto !important; }
.market-compact-filter { flex-shrink: 0; margin-bottom: 8px !important; padding: 10px 12px !important; }
.backend-toast { position: fixed; top: 72px; left: 50%; transform: translateX(-50%) translateY(-16px); padding: 10px 20px; background: rgba(0,0,0,0.78); color: #fff; border-radius: 6px; font-size: 14px; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.backend-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
