.asset-dashboard-page {
    background: #f4f7fb;
}

.asset-dashboard-page .network-container {
    max-width: 1580px;
}

.asset-dashboard-page .network-hero,
.asset-dashboard-page .network-panel,
.asset-dashboard-page .network-metric-card {
    border-radius: 8px;
    border-color: #dfe7f1;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .055);
}

.asset-dashboard-page .network-title {
    font-size: 1.6rem;
}

.asset-hero {
    align-items: center;
    border-top: 3px solid #0f766e !important;
}

.asset-toolbar {
    flex-wrap: nowrap;
}

.asset-source-link {
    color: #0f766e;
    border-color: #99f6e4;
    background: #f0fdfa;
}

.asset-selector {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.asset-selector button {
    min-width: 72px;
    padding: 6px 13px;
    border: 0;
    border-radius: 6px;
    color: #64748b;
    background: transparent;
    font-size: .76rem;
    font-weight: 900;
}

.asset-selector button.active {
    color: #ffffff;
    background: #0f766e;
    box-shadow: 0 3px 9px rgba(15, 118, 110, .2);
}

.asset-selector button[data-asset-more] {
    color: #1d4ed8;
}

#asset_more_modal .modal-content {
    border-radius: 8px;
}

#asset_search_table td,
#asset_search_table th {
    vertical-align: middle;
}

.asset-key-cell {
    display: inline-block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.asset-dashboard-page .network-period-pills button.active {
    background: #2563eb;
}

.asset-selector button:focus-visible,
.asset-icon-btn:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.asset-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.asset-grid-single {
    grid-template-columns: minmax(0, 1fr) !important;
}

.asset-empty-state {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 150px;
    padding: 28px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
}

.asset-empty-state > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: #64748b;
    background: #f1f5f9;
    font-size: 1.25rem;
}

.asset-empty-state h2 {
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 800;
}

.asset-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: .85rem;
}

.asset-card-grid .network-metric-card {
    min-height: 188px;
    padding: 15px;
}

.asset-dashboard-page .network-metric-card::before,
.asset-dashboard-page .network-metric-card::after {
    display: none;
}

.asset-card-grid .metric-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

.asset-card-grid .metric-row {
    margin-top: 13px;
}

.asset-card-grid .metric-value {
    min-height: 35px;
    font-size: 1.38rem;
}

.asset-card-grid .metric-sparkline {
    height: 54px;
    margin-top: 2px;
}

.asset-overview-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr);
}

.asset-overview-grid > .network-panel-main {
    grid-column: auto;
}

.asset-dashboard-page .network-panel {
    padding: 16px 18px;
}

.asset-dashboard-page .network-panel-badge,
.asset-dashboard-page .network-mini-stat {
    border-radius: 6px;
}

.asset-dashboard-page .network-panel-badge {
    color: #1d4ed8;
    background: #eff6ff;
}

.asset-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    background: #ffffff;
}

.asset-icon-btn:hover {
    color: #0f766e;
    border-color: #5eead4;
}

.asset-dashboard-page .metric-blue .metric-icon { background: #2563eb; }
.asset-dashboard-page .metric-indigo .metric-icon { background: #4338ca; }
.asset-dashboard-page .metric-teal .metric-icon { background: #0f766e; }
.asset-dashboard-page .metric-cyan .metric-icon { background: #0891b2; }
.asset-dashboard-page .metric-purple .metric-icon { background: #7c3aed; }
.asset-dashboard-page .metric-orange .metric-icon { background: #ea580c; }

.asset-dashboard-page .network-table-wrap {
    overflow-x: auto;
    scrollbar-color: #94a3b8 #e2e8f0;
    scrollbar-width: thin;
}

.asset-dashboard-page .network-table-wrap .fixed-table-body {
    scrollbar-color: #94a3b8 #e2e8f0;
}

.asset-dashboard-page .network-table {
    min-width: 1040px;
}

.asset-dashboard-page .network-table th,
.asset-dashboard-page .network-table td,
.asset-dashboard-page .network-table .th-inner {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

@media (max-width: 1450px) {
    .asset-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .asset-toolbar { flex-wrap: wrap; }
    .asset-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .asset-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .asset-toolbar,
    .asset-toolbar .network-toolbar-group,
    .asset-selector { width: 100%; }
    .asset-selector button { flex: 1 1 50%; }
    .asset-card-grid { grid-template-columns: 1fr; }
    .asset-dashboard-page .network-panel { padding: 14px; }
    .asset-dashboard-page .network-table-panel .network-panel-head {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    .asset-dashboard-page .network-table-panel .network-panel-head > div { min-width: 0; }
    .asset-dashboard-page .network-title { font-size: 1.3rem; }
}
