/* V7 uses the same base styles as V6, with a sharp, opaque database surface. */
.mode-switch-top { backdrop-filter: none; background: var(--bg); }
#result.mode-database .tabs .tab[data-pname="v7-dashboard"],
#result.mode-database .tabs .tab[data-pname="mother-tree"] { display: inline-flex !important; }
#result.mode-database #tab-v7-dashboard:not(.active),
#result.mode-database #tab-mother-tree:not(.active) { display: none !important; }
#result.mode-database .tab-content#tab-v7-dashboard.active:not(#tab-coverage):not(#tab-v6modules):not(#tab-knowledge):not(#tab-mother-tree),
#result.mode-database #tab-mother-tree.active { display: block !important; }
.v7-dashboard { color: var(--ink-2); }
.v7-dashboard h2 { color: var(--ink); margin: 0 0 4px; font-size: 1.7rem; }
.v7-dashboard p { color: var(--muted); margin: 0 0 24px; }
.v7-dashboard-legend { background:#fffaf4; border:1px solid #e0d5c5; border-radius:12px; padding:16px 20px; margin-bottom:20px; }
.v7-dashboard-legend h3 { color:#5d4e37; margin:0 0 10px; font-size:16px; }
.v7-dashboard-legend-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.v7-dashboard-legend-grid > div { display:flex; gap:8px; align-items:baseline; font-size:13px; color:#453b33; }
.v7-dashboard-legend-grid span { font-size:20px; white-space:nowrap; }
.v7-dashboard-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v7-dashboard-card { background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 26px 14px; text-align: center; }
.v7-dashboard-card strong { display: block; color: var(--accent); font-size: 2rem; line-height: 1.3; }
.v7-dashboard-card span { display: block; color: var(--ink-2); font-size: .93rem; margin-top: 8px; }
.v7-dashboard-actions { margin-top: 22px; }
.v7-dashboard-actions button { background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 10px 20px; cursor: pointer; font: inherit; }
.v7-dashboard-status { margin-top: 20px !important; font-size: .85rem; }
.v7-feature-note, .v7-feature-count { color:var(--muted); font-size:.85rem; line-height:1.5; margin:12px 0; }
.v7-feature-search { width:100%; box-sizing:border-box; border:1px solid var(--border); border-radius:8px; padding:9px 12px; font:inherit; color:var(--ink); background:#fff; }
@media(max-width:700px) { .v7-dashboard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
