.dashboard-overview { display: grid; grid-template-columns: 1.02fr 1.3fr; gap: 30px; margin-bottom: 32px; }
.savings-focus { background: var(--cw-accent-gradient); border-radius: var(--cw-radius-lg); padding: 26px 28px 20px; color: var(--cw-on-accent); position: relative; overflow: hidden; box-shadow: var(--cw-shadow-hover); }
.savings-focus a { color: var(--cw-on-accent); text-decoration: underline; text-underline-offset: 2px; }
.savings-focus-heading { display: flex; justify-content: space-between; align-items: center; font-size: var(--cw-text-sm); font-weight: 600; }
.savings-focus-heading i { font-size: 21px; }
.savings-focus-amount { font-size: clamp(40px,4.7vw,64px); font-weight: 550; letter-spacing: -.065em; margin: 20px 0 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.savings-focus-pending { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.savings-focus-amount span { font-size: var(--cw-text-lg); letter-spacing: -.02em; font-weight: 400; }
.savings-focus-footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; font-size: var(--cw-text-sm); }
.savings-focus-footer { color: var(--cw-on-accent-muted); } .savings-focus-footer a { color: var(--cw-on-accent); font-weight: 650; text-decoration: none; } .savings-focus-footer a:hover { text-decoration: underline; } .savings-focus-note { font-size: var(--cw-text-2xs); color: var(--cw-on-accent-muted); margin-top: 18px; padding-top: 12px; border-top: 1px solid #ffffff2e; }
.overview-context { min-width: 0; } .period-control { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--cw-border); }
.period-control label { margin: 0; font-size: var(--cw-text-sm); } .period-control > div { display: flex; gap: 4px; align-items: center; } .period-control select { width: auto; min-height: 32px; font-size: var(--cw-text-xs); background: transparent; padding-block: 4px; }
.overview-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; padding-top: 22px; }
.overview-metric { display: grid; gap: 5px; color: var(--cw-text); text-decoration: none !important; border-left: 3px solid var(--cw-border); padding-left: 15px; transition: border-color var(--cw-motion); }
.overview-metric:hover { border-color: var(--cw-accent); color: var(--cw-text); } .overview-metric > span:first-child { color: var(--cw-text-secondary); font-size: var(--cw-text-sm); }
.overview-metric strong { font-size: 30px; letter-spacing: -.04em; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; } .overview-metric strong small { font-weight: 400; font-size: var(--cw-text-lg); }
.overview-metric > span:last-child { font-size: var(--cw-text-2xs); color: var(--cw-text-secondary); }
.dashboard-workspace { display: grid; grid-template-columns: .95fr 1.3fr; border-top: 1px solid var(--cw-border); border-bottom: 1px solid var(--cw-border); margin-bottom: 28px; }
.attention-section { padding: 26px 28px 26px 0; border-right: 1px solid var(--cw-border); }
.opportunities-section { padding: 26px 0 26px 28px; min-width: 0; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.section-heading .page-eyebrow { font-size: var(--cw-text-2xs); margin-bottom: 6px; } .section-heading h2 { font-size: var(--cw-text-lg); } .section-heading > a { font-size: var(--cw-text-xs); white-space: nowrap; }
.count-pill { display: grid; place-items: center; background: var(--cw-surface-secondary); font-size: var(--cw-text-xs); min-width: 24px; height: 24px; border-radius: var(--cw-radius-sm); }
.attention-row { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--cw-border); color: var(--cw-text); text-decoration: none !important; }
.attention-row:last-child { border: 0; } .attention-row > span:nth-child(2) { flex: 1; } .attention-row strong { display: block; font-size: var(--cw-text-sm); } .attention-row small { display: block; font-size: var(--cw-text-xs); color: var(--cw-text-secondary); margin-top: 3px; } .attention-row > i { font-size: var(--cw-text-sm); }
.attention-icon,.product-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--cw-radius-md); background: var(--cw-warning-soft); color: var(--cw-warning); flex-shrink: 0; }
.attention-icon.positive { color: var(--cw-success); background: var(--cw-success-soft); } .product-symbol { background: var(--cw-surface-secondary); color: var(--cw-text-secondary); }
.saving-line { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--cw-border); color: var(--cw-text); text-decoration: none !important; } .saving-line:last-child { border-bottom: 0; }
.saving-line-copy { flex: 1; min-width: 0; } .saving-line-copy strong { display: block; font-size: var(--cw-text-base); } .saving-line-copy small { display: block; font-size: var(--cw-text-2xs); color: var(--cw-text-secondary); margin-top: 4px; }
.saving-line-amount { color: var(--cw-success); font-size: 21px; letter-spacing: -.04em; font-weight: 600; white-space: nowrap; } .saving-line-amount small { font-size: var(--cw-text-2xs); display: block; text-align: right; font-weight: 400; color: var(--cw-text-secondary); letter-spacing: normal; }
.dashboard-bottom { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; }
.dashboard-bottom .panel { padding: 20px; } .dashboard-bottom h2 { font-size: var(--cw-text-base); } .dashboard-bottom p { font-size: var(--cw-text-sm); }
.spend-row { margin-bottom: 17px; } .spend-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: var(--cw-text-xs); margin-bottom: 7px; } .spend-track { height: 4px; background: var(--cw-surface-secondary); border-radius: 4px; } .spend-track span { display: block; height: 4px; background: var(--cw-accent); border-radius: 4px; }
.price-change,.product-spend { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cw-border); color: var(--cw-text); font-size: var(--cw-text-xs); }
.price-change small { display: block; font-size: var(--cw-text-2xs); color: var(--cw-text-secondary); margin-top: 4px; } .price-change strong { color: var(--cw-danger); }
.attention-empty,.opportunity-empty { padding: 24px 8px; } .attention-empty i,.opportunity-empty > i { font-size: 24px; color: var(--cw-accent); margin-bottom: 16px; display: block; }
.attention-empty h3,.opportunity-empty h3 { font-size: var(--cw-text-md); margin-bottom: 8px; } .attention-empty p,.opportunity-empty p { color: var(--cw-text-secondary); font-size: var(--cw-text-sm); max-width: 350px; } .opportunity-empty a { font-size: var(--cw-text-sm); }
.dashboard-start { display: flex; align-items: center; gap: 20px; padding: var(--cw-pad-card); background: var(--cw-surface); border: 1px solid var(--cw-border); border-radius: var(--cw-radius-lg); box-shadow: var(--cw-shadow-sm); margin-bottom: 30px; }
.dashboard-start > div:nth-child(2) { flex: 1; } .dashboard-start .page-eyebrow { font-size: var(--cw-text-2xs); margin-bottom: 7px; } .dashboard-start h2 { font-size: var(--cw-text-lg); } .dashboard-start p:last-child { font-size: var(--cw-text-sm); color: var(--cw-text-secondary); margin-top: 7px; }
.start-symbol { width: 54px; height: 66px; display: grid; place-items: center; background: var(--cw-accent-icon); color: var(--cw-accent-hover); border-radius: var(--cw-radius-md); font-size: 26px; }
@media(max-width:1100px) { .dashboard-bottom { grid-template-columns: 1fr 1fr; } .dashboard-bottom > :last-child { grid-column: 1/-1; } .dashboard-overview { gap: 22px; } .savings-focus { padding: 23px; } }
@media(max-width:700px) { .dashboard-overview,.dashboard-workspace,.dashboard-bottom { grid-template-columns: 1fr; } .attention-section { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--cw-border); } .opportunities-section { padding: 24px 0; } .savings-focus-amount { font-size: 52px; } .savings-focus-amount.savings-focus-pending { font-size: 24px; } .dashboard-start { flex-wrap: wrap; gap: 16px; padding: 20px; } .dashboard-start > .btn { width: 100%; } .dashboard-start > div:nth-child(2) { flex-basis: 70%; } }

/* Móvil: selector de periodo y botón de recargar con tamaño para el dedo. */
@media (max-width: 700px) { .period-control select { min-height: 44px; } .period-control .btn { min-width: 44px; min-height: 44px; } }
