#statsV2Section { --v2-gap: 18px; }
.v2-stack { display: grid; gap: var(--v2-gap); }
.v2-notice { border: 1px solid #efd6a0; background: #fff9ec; border-radius: 12px; padding: 18px 22px; color: #72511d; }
.v2-notice strong { display: block; margin-bottom: 6px; font-size: 14px; }
.v2-notice p, .v2-note { margin: 0; font-size: 12px; line-height: 1.7; }
.v2-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.v2-project-picker { position: relative; max-width: 100%; }
.v2-project-picker .select { width: 100%; min-width: 240px; max-width: 100%; padding-right: 2.5rem; font-size: 1rem; appearance: none; }
.v2-project-arrow { pointer-events: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.v2-history-control { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.v2-history-control.hidden { display: none; }
.v2-history-control input { width: 16px; height: 16px; accent-color: var(--accent); }
.v2-periods { flex-wrap: wrap; }
.v2-custom { display: flex; flex-wrap: wrap; gap: 12px; }
.v2-custom.hidden { display: none; }
.v2-custom label { display: grid; gap: 7px; font-size: 11px; color: var(--text-muted); }
.v2-custom input { width: 165px; }
.v2-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v2-metric { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--surface); }
.v2-metric-label { color: var(--text-muted); font-size: 12px; }
.v2-number { margin: 8px 0; font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -.8px; }
.v2-metric small { color: var(--text-muted); font-size: 11px; line-height: 1.5; display: block; }
.v2-number.accent { color: var(--accent); }
.v2-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.v2-card-head { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-card h3 { margin: 0; font-weight: 600; font-size: 14px; }
.v2-card-content { padding: 16px 20px; }
.v2-scroll { overflow-x: auto; }
.v2-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.v2-table th, .v2-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.v2-table th { background: var(--surface-muted); color: var(--text-muted); font-size: 11px; font-weight: 500; }
.v2-table th:first-child, .v2-table td:first-child { text-align: left; }
.v2-table tbody tr:last-child td { border-bottom: 0; }
.v2-table small { display: block; color: var(--text-muted); font-size: 10px; margin-top: 5px; }
.v2-table tfoot { background: var(--surface-muted); font-weight: 600; }
.v2-cr { color: var(--accent); font-weight: 600; }
.v2-utm-table thead th:nth-child(-n+3), .v2-utm-table tbody td:nth-child(-n+3) { text-align: left; }
.v2-utm-table tfoot td { text-align: right; }
.v2-utm-table tfoot td:first-child { text-align: left; }
.v2-utm-value { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.v2-table .v2-empty { text-align: center; padding: 26px; color: var(--text-muted); }
.v2-excluded { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-muted); font-size: 12px; padding: 4px 2px; }
.v2-excluded strong { font-weight: 500; }
.v2-note { color: var(--text-muted); }
.v2-message { padding: 25px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.v2-error { border-color: var(--accent); color: var(--accent); }
.dark .v2-notice { background: #2d2518; border-color: #625030; color: #e5c38a; }
@media(max-width: 800px) { .v2-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width: 460px) { .v2-project-picker { width: 100%; min-width: 0; } .v2-project-picker .select { min-width: 0; } .v2-metric { padding: 13px; } .v2-number { font-size: 25px; } .v2-card-head { align-items: start; flex-direction: column; } }
