/* Estado de suscripción y módulos autorizados de la aplicación autenticada. */
.dashboard-account-status { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
.dashboard-plan-pill,.dashboard-usage-pill,.plan-review-usage { display:inline-flex; align-items:center; min-height:34px; padding:7px 12px; border:1px solid rgba(255,255,255,.09); border-radius:999px; color:#a9a9b0; background:rgba(255,255,255,.035); font-size:11px; font-weight:650; }
.dashboard-plan-pill { color:#9fd1ff; border-color:rgba(10,132,255,.2); background:rgba(10,132,255,.09); }
.dashboard-account-status .dashboard-system-status { margin:0; }
.dashboard-premium-tools { min-width:0; padding:24px; border:1px solid rgba(103,212,255,.16); border-radius:24px; background:linear-gradient(145deg,rgba(24,39,58,.78),rgba(14,18,25,.82)); box-shadow:0 22px 62px rgba(0,0,0,.25),0 0 38px rgba(10,132,255,.07); }
.dashboard-premium-tools[hidden],.plan-customization-advanced[hidden],.plan-metric-advanced[hidden] { display:none!important; }
.dashboard-premium-tools>header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:18px; }
.dashboard-premium-tools h2 { margin:0; font-size:19px; letter-spacing:-.025em; }
.dashboard-premium-tools>header>span { color:#6f6f77; font-size:11px; }
.dashboard-premium-grid { display:grid; grid-template-columns:minmax(250px,.48fr) minmax(0,1.52fr); gap:14px; }
.dashboard-premium-card { display:flex; gap:16px; min-width:0; padding:20px; border:1px solid rgba(255,255,255,.08); border-radius:19px; background:rgba(255,255,255,.03); }
.dashboard-premium-card h3 { margin:0 0 7px; font-size:15px; }
.dashboard-premium-card p { margin:0; color:#85858c; font-size:12px; line-height:1.5; }
.dashboard-premium-card>div>span { display:inline-block; margin-top:15px; color:#67d4ff; font-size:11px; font-weight:650; }
.dashboard-competitors-card { display:block; }
#competitors-form { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:16px; }
#competitors-form label span { display:block; margin:0 0 6px; color:#73737a; font-size:9px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
#competitors-form input { width:100%; min-height:42px; padding:10px 11px; border:1px solid rgba(255,255,255,.1); border-radius:11px; outline:0; color:#f5f5f7; background:rgba(0,0,0,.28); }
#competitors-form input:focus { border-color:rgba(103,212,255,.55); box-shadow:0 0 0 3px rgba(10,132,255,.1); }
.dashboard-competitors-footer { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:3px; }
.dashboard-competitors-footer p { color:#74747b; }
.dashboard-competitors-footer p.success { color:#78d994; }
.dashboard-competitors-footer p.error { color:#ff9b95; }
.dashboard-competitors-footer button { flex:0 0 auto; min-height:38px; padding:8px 13px; border:1px solid rgba(103,212,255,.2); border-radius:10px; color:#d9efff; background:rgba(10,132,255,.13); font:inherit; font-size:11px; font-weight:680; cursor:pointer; }
.dashboard-competitors-footer button:disabled { opacity:.55; cursor:wait; }
.dashboard-competitors-footer button:focus-visible,.dashboard-plan-pill:focus-visible { outline:3px solid rgba(103,212,255,.55); outline-offset:3px; }
.plan-review-usage { width:fit-content; margin:-8px auto 12px; color:#9fd1ff; border-color:rgba(10,132,255,.17); background:rgba(10,132,255,.07); }
.respuesta-solo-lectura { min-height:74px; padding:14px; color:#d7d7dc; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:rgba(255,255,255,.035); font-size:14px; line-height:1.55; white-space:pre-wrap; }
.review-plan-error { margin:10px 0 0; color:#ff9b95; font-size:12px; line-height:1.4; }
.dashboard-billing { display:flex; align-items:center; justify-content:space-between; gap:26px; padding:18px 22px; border:1px solid rgba(255,255,255,.085); border-radius:19px; background:rgba(255,255,255,.028); }
.dashboard-billing[hidden] { display:none!important; }
.dashboard-billing h2 { margin:3px 0 7px; font-size:16px; letter-spacing:-.02em; }
.dashboard-billing-copy>p { display:flex; flex-wrap:wrap; gap:7px 13px; margin:0; color:#777780; font-size:12px; line-height:1.5; }
.dashboard-billing-copy>p strong { color:#d9d9de; }
.dashboard-billing-copy .dashboard-billing-warning { display:block; margin-top:7px; color:#ff9c94; }
.dashboard-billing-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:9px; }
.dashboard-billing-actions button,.dashboard-billing-actions a { min-height:36px; padding:9px 13px; border:1px solid rgba(103,212,255,.18); border-radius:11px; color:#a9d9ff; background:rgba(10,132,255,.08); font:inherit; font-size:11px; font-weight:700; text-decoration:none; cursor:pointer; }
.dashboard-billing-actions button:disabled { opacity:.6; cursor:wait; }
.dashboard-billing-actions p { flex-basis:100%; margin:0; color:#ff9c94; font-size:11px; text-align:right; }
#vista-metricas.metricas-basic .resumen-metricas { grid-template-columns:repeat(2,minmax(0,1fr)); }
#vista-metricas.metricas-basic .panel-metricas[data-panel-metricas=tendencia] { grid-column:1/-1; }
#vista-metricas.metricas-basic .menu-graficos-escritorio { display:none; }
@media(max-width:900px){.dashboard-account-status{justify-content:flex-start}.dashboard-premium-grid{grid-template-columns:1fr}#competitors-form{grid-template-columns:1fr}.dashboard-competitors-footer{grid-column:auto}.dashboard-premium-tools>header{flex-direction:column}}
@media(max-width:700px){.dashboard-billing{align-items:flex-start;flex-direction:column}.dashboard-billing-actions{justify-content:flex-start}.dashboard-billing-actions p{text-align:left}}
@media(prefers-reduced-motion:reduce){#competitors-form input,.dashboard-competitors-footer button{transition:none}}
