/* ==========================================================================
   ALAD PLATFORM - HOJA DE ESTILOS PRINCIPAL (STYLE.CSS)
   ========================================================================== */

/* --- 1. VARIABLES Y SISTEMA DE TEMAS --- */
:root {
    --primary: #7c3aed;
    --primary-light: #9333ea;
    --primary-glow: rgba(124, 58, 237, 0.4);
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-purple: #9333ea;

    /* Tema Oscuro (Deep Space) */
    --bg-main: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --card-bg: rgba(15, 23, 42, 0.75);
    --card-bg-elevated: rgba(20, 27, 45, 0.75);
    --card-bg-inner: rgba(11, 15, 25, 0.75);
    --text-main: #f3f4f6;
    --text-sub: #cbd5e1;
    --text-muted: #9ca3af;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.12);
    --dock-bg: rgba(15, 23, 42, 0.7);
    --navbar-bg: rgba(17, 24, 39, 0.85);
    --hero-glow: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, rgba(6, 182, 212, 0.14) 45%, transparent 70%);
    --shadow-elevation: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(124, 58, 237, 0.2);
    /* Colores semánticos (consolidación 1): usar SIEMPRE estas variables en las plantillas */
    --c-ok: #34d399; --c-warn: #f59e0b; --c-danger: #f87171; --c-info: #38bdf8;
    --c-accent: #c084fc; --c-cyan: #06b6d4; --c-pink: #ec4899;
    --overlay-1: rgba(255, 255, 255, 0.05); --overlay-2: rgba(255, 255, 255, 0.1); --overlay-3: rgba(255, 255, 255, 0.15);
    --surface-inset: rgba(0, 0, 0, 0.3);
}

/* Tema Suave (Titanio / Slate - Sin deslumbramiento blanco nuclear) */
html.light-theme, body.light-theme {
    --bg-main: #e8ecf2;
    --bg-card: rgba(243, 246, 250, 0.85);
    --card-bg: rgba(243, 246, 250, 0.9);
    --card-bg-elevated: #f0f3f8;
    --card-bg-inner: #ffffff;
    --text-main: #1e293b;
    --text-sub: #475569;
    --text-muted: #64748b;
    --border-subtle: rgba(148, 163, 184, 0.25);
    --border-card: rgba(148, 163, 184, 0.35);
    --dock-bg: rgba(255, 255, 255, 0.9);
    --navbar-bg: rgba(241, 245, 249, 0.92);
    --hero-glow: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
    --shadow-elevation: 0 20px 45px -10px rgba(100, 116, 139, 0.22);
    --c-ok: #047857; --c-warn: #b45309; --c-danger: #dc2626; --c-info: #0369a1;
    --c-accent: #7c3aed; --c-cyan: #0e7490; --c-pink: #be185d;
    --overlay-1: rgba(15, 23, 42, 0.04); --overlay-2: rgba(15, 23, 42, 0.08); --overlay-3: rgba(15, 23, 42, 0.12);
    --surface-inset: rgba(255, 255, 255, 0.7);
}

/* --- 2. BASE Y RESET --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.app-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- 3. NAVBAR & NAVEGACIÓN --- */
.navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.nav-user strong {
    color: var(--text-main);
}
.btn-logout {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s ease;
}
.btn-logout:hover {
    background: rgba(239, 68, 68, 0.28);
}
.btn-login-nav {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    color: #ffffff;
    padding: 0.45rem 1.15rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s ease;
}
.btn-login-nav:hover {
    transform: translateY(-1px);
}

/* Conmutador de Tema */
.theme-toggle-btn {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}
@media (max-width: 600px) {
    .theme-label-text { display: none; }
}

/* --- 4. FORMULARIOS, CARDS & COMPONENTES GENÉRICOS --- */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    width: 100%;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-elevation);
}
.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-group {
    margin-bottom: 1.1rem;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    cursor: pointer;
}
.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}
.btn-save {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    margin-top: 1rem;
    transition: opacity 0.2s ease;
}
.btn-save:hover {
    opacity: 0.9;
}
.flash-msg {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
}
.flash-msg.danger {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
.flash-msg.success {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}
.app-footer {
    text-align: center;
    padding: 1.8rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}
.app-footer a {
    color: var(--text-muted);
    text-decoration: none;
}
.app-footer a:hover {
    color: var(--text-main);
}

/* --- 5. LANDING: HERO SECTION --- */
.hero-wrapper {
    position: relative;
    text-align: center;
    padding: 3.5rem 1rem 2.5rem 1rem;
    max-width: 1120px;
    margin: 0 auto;
}
.hero-glow-sphere {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    height: 380px;
    background: var(--hero-glow);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    padding: 0.45rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(124, 58, 237, 0.35);
    margin-bottom: 1.5rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
body.light-theme .hero-pill {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.25);
}
.hero-pill i { color: #38bdf8; }
body.light-theme .hero-pill i { color: #0284c7; }

.hero-main-title {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1.3rem;
    letter-spacing: -1.2px;
}
.gradient-span {
    background: linear-gradient(135deg, var(--text-main) 15%, #c084fc 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-theme .gradient-span {
    background: linear-gradient(135deg, #1e293b 20%, #7c3aed 65%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    color: var(--text-muted);
    font-size: 1.18rem;
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 2.5rem auto;
}
.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.btn-hero-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #ffffff !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 25px var(--primary-glow);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(124, 58, 237, 0.65);
}
.btn-hero-studio {
    background: var(--card-bg-elevated);
    color: var(--text-main) !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid rgba(168, 85, 247, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.btn-hero-studio:hover {
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
}

/* --- 6. LANDING: MEDIA HUB MOCKUP (EPG & STREAM MONITOR) --- */
.media-hub-frame {
    background: var(--card-bg);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: var(--shadow-elevation);
    backdrop-filter: blur(20px);
    margin: 0 auto 5rem auto;
    max-width: 1040px;
    text-align: left;
}
.hub-glass-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem 1rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.2rem;
}
.hub-nav-tabs {
    display: flex;
    gap: 0.6rem;
}
.hub-tab {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.hub-tab.active {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.45);
    color: var(--text-main);
}
body.light-theme .hub-tab.active {
    background: rgba(124, 58, 237, 0.15);
    color: #6d28d9;
}
.hub-live-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.hub-body-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.2rem;
}
@media (max-width: 860px) {
    .hub-body-grid { grid-template-columns: 1fr; }
}
.epg-channel-list {
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.epg-channel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: var(--card-bg-elevated);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.epg-channel-item.active {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.35);
}
.epg-ch-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.epg-dial {
    font-size: 0.82rem;
    font-weight: 800;
    color: #06b6d4;
    width: 24px;
}
body.light-theme .epg-dial { color: #0284c7; }
.epg-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}
.epg-prog-text {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
}
.epg-time-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--border-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.stream-stage-preview {
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stage-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.stage-ch-badge {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
body.light-theme .stage-ch-badge {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.25);
}
.stage-program-now {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.4rem 0 0.2rem 0;
}
.stage-program-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.stage-progress-bar {
    width: 100%;
    height: 5px;
    background: var(--border-subtle);
    border-radius: 3px;
    margin: 1.2rem 0 1rem 0;
    position: relative;
    overflow: hidden;
}
.stage-progress-fill {
    width: 62%;
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    border-radius: 3px;
}
.stage-route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.9rem;
}
@media (max-width: 580px) {
    .stage-route-grid { grid-template-columns: 1fr; }
}
.route-item {
    display: flex;
    flex-direction: column;
}
.route-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.route-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- 7. LANDING: PROTOCOLOS DOCK --- */
.protocols-dock {
    text-align: center;
    margin-bottom: 6rem;
}
.dock-lead {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    margin-bottom: 1.4rem;
}
.dock-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    max-width: 980px;
    margin: 0 auto;
}
.dock-item {
    background: var(--dock-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-sub);
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.dock-item:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

/* --- 8. LANDING: EXPERIENCIAS & STORYTELLING --- */
.experience-section {
    margin-bottom: 6rem;
}
.experience-row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    margin-bottom: 5rem;
}
.experience-row.reverse {
    flex-direction: row-reverse;
}
.experience-text {
    flex: 1;
    text-align: left;
}
.experience-media {
    flex: 1;
}
.exp-tag {
    color: #06b6d4;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.6rem;
    display: block;
}
body.light-theme .exp-tag { color: #0284c7; }
.exp-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.exp-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 1.5rem 0;
}
.exp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}
.exp-feature-list li i {
    color: #10b981;
    margin-top: 0.25rem;
    font-size: 0.9rem;
}
.ui-panel-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 1.8rem;
    text-align: left;
    box-shadow: var(--shadow-elevation);
}

/* --- 9. LANDING: TARIFAS HOGAR & TV --- */
.pricing-section {
    margin-bottom: 6rem;
    text-align: center;
}
.pricing-header {
    margin-bottom: 2.5rem;
}
.pricing-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}
.pricing-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1.8rem auto;
}
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.toggle-opt {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}
.toggle-opt.active {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}
.trial-callout {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.45rem 1.3rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3rem;
}
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    text-align: left;
}
@media (max-width: 950px) {
    .pricing-grid-3 { grid-template-columns: 1fr; }
}
.price-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.3rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-elevation);
}
.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.4);
}
.price-card.featured {
    border-color: rgba(124, 58, 237, 0.6);
    background: linear-gradient(160deg, rgba(30, 27, 75, 0.45) 0%, var(--card-bg-elevated) 100%);
}
body.light-theme .price-card.featured {
    background: linear-gradient(160deg, rgba(237, 233, 254, 0.6) 0%, #ffffff 100%);
    border-color: rgba(124, 58, 237, 0.5);
}
.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.plan-tag-top {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    color: #06b6d4;
}
body.light-theme .plan-tag-top { color: #0284c7; }
.plan-name {
    color: var(--text-main);
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
}
.plan-desc {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    min-height: 44px;
    margin-bottom: 1.4rem;
}
.price-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.6rem;
}
.currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}
.amount {
    font-size: 2.9rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1px;
}
.period {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.price-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}
.price-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-sub);
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}
.price-features-list li i {
    font-size: 0.85rem;
    margin-top: 0.22rem;
}
.icon-ok { color: #10b981; }
.icon-no { color: #64748b; }
.btn-plan {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    display: block;
}
.btn-plan-default {
    background: var(--card-bg-inner);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}
.btn-plan-default:hover {
    border-color: var(--primary);
}
.btn-plan-featured {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-plan-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}

/* --- 10. LANDING: ALAD STUDIO PRO (SECCIÓN DEDICADA) --- */
.studio-universe-section {
    background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15), transparent 50%),
                var(--card-bg-elevated);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    margin-bottom: 6rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-elevation);
}
.studio-universe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c084fc, #38bdf8, transparent);
}
.studio-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.studio-title-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.45);
    padding: 0.35rem 0.95rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-bottom: 0.8rem;
}
body.light-theme .studio-title-badge {
    color: #7c3aed;
    background: rgba(168, 85, 247, 0.12);
}
.studio-main-heading {
    color: var(--text-main);
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.6px;
}
.studio-subtitle-text {
    color: var(--text-sub);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 820px;
    margin: 0;
}
.studio-interactive-showcase {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3.5rem;
}
@media (max-width: 880px) {
    .studio-interactive-showcase { grid-template-columns: 1fr; }
}
.portal-preview-window {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.2rem;
}
.portal-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--card-bg-inner);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.portal-domain-chip {
    color: #38bdf8;
    font-weight: 700;
}
body.light-theme .portal-domain-chip { color: #0284c7; }
.portal-mock-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.portal-banner-mock {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.portal-avatar-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
}
.portal-grid-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
.portal-item-card {
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 0.8rem;
}
.portal-item-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.studio-features-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1.2rem;
}
.studio-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.studio-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
body.light-theme .studio-feat-icon { color: #7c3aed; }
.studio-feat-title {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
}
.studio-feat-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}
.studio-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
@media (max-width: 760px) {
    .studio-pricing-grid { grid-template-columns: 1fr; }
}
.studio-card-tier {
    background: var(--card-bg-inner);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-elevation);
}
.studio-card-tier.pro-tier {
    border-color: rgba(168, 85, 247, 0.55);
    background: linear-gradient(160deg, rgba(35, 25, 65, 0.4) 0%, var(--card-bg-inner) 100%);
}
body.light-theme .studio-card-tier.pro-tier {
    background: linear-gradient(160deg, rgba(243, 232, 255, 0.6) 0%, #ffffff 100%);
}

/* --- 11. LANDING: PRIVACIDAD Y SEGURIDAD --- */
.trust-box-v4 {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 5.5rem;
    text-align: left;
    box-shadow: var(--shadow-elevation);
}
.trust-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.trust-head h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 800;
}
.trust-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.trust-item h4 {
    color: var(--text-main);
    font-size: 1.05rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trust-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* --- 12. LANDING: FINAL CTA --- */
.final-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.18) 0%, var(--card-bg-elevated) 70%);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-elevation);
}
.final-cta h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}
.final-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 2.2rem auto;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .experience-row, .experience-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-main-title { font-size: 2.4rem; }
}
/* --- 13. VISTAS DE AUTENTICACIÓN (LOGIN & ACCESO) --- */
.auth-page-container {
    max-width: 460px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

.auth-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.4rem 2rem;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-elevation);
    text-align: left;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-badge-beta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(124, 58, 237, 0.15);
    color: #c084fc;
    border: 1px solid rgba(124, 58, 237, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.9rem;
}

body.light-theme .auth-badge-beta {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.25);
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.auth-flash-wrap {
    margin-bottom: 1.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-auth-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: 12px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-footer-box {
    text-align: center;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-subtle);
}

.auth-footer-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 0.9rem 0;
}

.auth-link-subscribe {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.auth-link-subscribe:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.auth-invite-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
/* --- 14. VISTAS DEL DASHBOARD (INDEX / PANEL DE CONTROL) --- */
.dashboard-container {
    max-width: 1140px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

.dash-header-wrap {
    margin-bottom: 2rem;
    text-align: left;
}

.dash-pill-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

body.light-theme .dash-pill-tag {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.dash-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dash-subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.dash-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    padding: 1.6rem;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-elevation);
    text-align: left;
}

.dash-card:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.35);
}

.dash-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dash-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dash-card-title {
    margin: 0;
    color: var(--text-main);
    font-size: 1.12rem;
    font-weight: 700;
}

.dash-card-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.btn-dash-action {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary));
    color: #ffffff !important;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    margin-top: 1.3rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-dash-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-dash-secondary {
    display: inline-block;
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted) !important;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: center;
    margin-top: 1.3rem;
}

/* Sección Avanzada Familiar / Cloud */
.advanced-family-section {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 50%),
                var(--card-bg-elevated);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 24px;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: left;
    box-shadow: var(--shadow-elevation);
}

.adv-banner-promo {
    background: var(--card-bg-inner);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

/* Sección Studio Pro en Dashboard */
.dash-studio-section {
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent 50%),
                var(--card-bg-elevated);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    padding: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: left;
    box-shadow: var(--shadow-elevation);
}
/* --- 15. VISTAS DE ALMACENAMIENTO Y PROTOCOLOS --- */
.storage-container {
    max-width: 1040px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

.storage-back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.storage-back-link:hover {
    color: var(--primary);
}

.storage-info-box {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    padding: 1.25rem 1.6rem;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-elevation);
    text-align: left;
}

.storage-section-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    padding: 1.8rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-elevation);
    text-align: left;
}

.storage-cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
}

.storage-cloud-item {
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.storage-cloud-item:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.storage-cloud-name {
    margin: 0 0 0.35rem 0;
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.storage-cloud-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-storage-link {
    margin-top: 1.1rem;
    display: inline-block;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-storage-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.storage-cache-block {
    background: var(--card-bg-inner);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.3rem;
}

.storage-cache-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.storage-cache-title {
    margin: 0;
    color: var(--text-main);
    font-size: 1.12rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-pin-modal {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.btn-pin-modal:hover {
    border-color: var(--primary);
}

.storage-key-input {
    width: 100%;
    padding: 0.75rem 2.8rem 0.75rem 1rem;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    box-sizing: border-box;
    font-family: monospace;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.storage-key-input:focus {
    border-color: var(--primary);
}

.btn-toggle-eye {
    position: absolute;
    right: 0.85rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.storage-network-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg-inner);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    border: 1px solid var(--border-subtle);
}

.storage-network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 680px) {
    .storage-network-grid { grid-template-columns: 1fr; }
}

.storage-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.storage-modal-card {
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-card);
    padding: 2.2rem 2rem;
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-elevation);
}

/* ==========================================================================
   COMPONENTES COMUNES (consolidación 1)
   ========================================================================== */
.url-box { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.url-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 0.35rem 0.55rem; border-radius: 8px; background: var(--surface-inset); border: 1px solid var(--border-subtle);
    color: var(--text-sub); font-size: 0.78rem; }
.txt-muted { color: var(--text-muted); } .txt-ok { color: var(--c-ok); } .txt-warn { color: var(--c-warn); }
.txt-danger { color: var(--c-danger); } .txt-info { color: var(--c-info); }
.btn-danger-soft { border-color: var(--c-danger) !important; color: var(--c-danger) !important; }
/* Organizador reutilizable (Mód 4 «Lo que veo», Mód 5 pestaña 4) */
.organizer { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.organizer-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 12px;
    background: var(--card-bg-inner); border: 1px solid var(--border-subtle); cursor: grab; }
.organizer-item.is-hidden { opacity: 0.5; }
.organizer-item.dragging { opacity: 0.4; border-style: dashed; }
.organizer-item .grow { flex: 1; min-width: 0; }
.organizer-item .tag { font-size: 0.7rem; padding: 0.1rem 0.45rem; border-radius: 6px; background: var(--overlay-2); color: var(--text-muted); }
