/*
 * ClipLab · Laboratório (entrega 18)
 * Camada visual nova, carregada por último nos três layouts (app, admin, marketing).
 * Vidro escuro azul-petróleo, ciano luminoso, títulos pesados e o cientista no menu.
 * Sem estilos inline: tudo por classes (CSP).
 */

:root {
    --lx-bg:#04090B;
    --lx-bg-2:#061114;
    --lx-cyan:#44EDDA;
    --lx-cyan-strong:#2FE0CC;
    --lx-cyan-soft:#8EF6EA;
    --lx-cyan-deep:#0E5E58;
    --lx-ink:#021614;
    --lx-text:#F2F7F7;
    --lx-muted:#8D9A9E;
    --lx-faint:#5E6B70;
    --lx-line:rgb(255 255 255 / 9%);
    --lx-line-cyan:rgb(68 237 218 / 18%);
    --lx-line-cyan-strong:rgb(68 237 218 / 42%);
    --lx-glass:linear-gradient(180deg, rgb(11 31 35 / 74%), rgb(5 16 19 / 84%));
    --lx-glass-flat:rgb(7 21 25 / 82%);
    --lx-field:rgb(2 11 14 / 86%);
    --lx-chip:#0F2B2E;
    --lx-success:#36F888;
    --lx-danger:#F85355;
    --lx-warning:#F5C542;
    --lx-radius:16px;
    --lx-radius-sm:10px;
    --lx-shadow:0 24px 60px rgb(0 0 0 / 45%);
    --lx-glow:0 0 0 1px rgb(68 237 218 / 10%), 0 0 32px rgb(68 237 218 / 10%);
    --lx-font:"Inter Tight","Helvetica Neue",Helvetica,Arial,sans-serif;

    /* Os tokens antigos passam a usar a paleta nova (telas que ainda não foram redesenhadas). */
    --bg:var(--lx-bg); --surface:rgb(7 21 25 / 82%); --card:#0A1C20; --card-hover:#0F2529;
    --border:rgb(68 237 218 / 14%); --text:var(--lx-text); --muted:var(--lx-muted); --subtle:var(--lx-muted);
    --ocean:var(--lx-cyan); --ocean-light:var(--lx-cyan-soft); --ocean-dark:var(--lx-cyan-strong);
    --primary:var(--lx-cyan); --secondary:var(--lx-cyan-soft); --accent:var(--lx-cyan); --accent-ink:var(--lx-ink);
    --electric:var(--lx-cyan-strong); --success:var(--lx-success); --danger:var(--lx-danger); --error:var(--lx-danger);
    --admin-bg:var(--lx-bg); --admin-panel:rgb(7 21 25 / 82%); --admin-panel-2:#0A1C20; --admin-line:rgb(68 237 218 / 14%);
}

/* ---------- Base e fundo do laboratório ---------- */
.lx-app [hidden], .lx-site [hidden] { display:none !important; }
.lx-app, .lx-site {
    background:var(--lx-bg) url("/assets/images/lab/lab-background.svg") center / cover no-repeat fixed;
    color:var(--lx-text);
    font-family:var(--lx-font);
    -webkit-font-smoothing:antialiased;
}
.lx-app::before, .lx-site::before {
    background:radial-gradient(120% 80% at 50% 0%, transparent 40%, rgb(2 6 8 / 55%) 100%);
    content:""; inset:0; pointer-events:none; position:fixed; z-index:0;
}
.lx-app > *:not(.skip-link):not(dialog), .lx-site > *:not(.skip-link):not(dialog) { position:relative; z-index:1; }
.lx-app ::selection, .lx-site ::selection { background:rgb(68 237 218 / 35%); color:#fff; }

/* ---------- Tipografia ---------- */
.lx-display {
    color:var(--lx-text); font-size:clamp(2.2rem, 4.2vw, 3.9rem); font-weight:800;
    letter-spacing:-.022em; line-height:1.04; margin:0;
}
.lx-display--md { font-size:clamp(1.9rem, 3.3vw, 3rem); }
.lx-display--sm { font-size:clamp(1.6rem, 2.6vw, 2.3rem); }
.lx-accent { color:var(--lx-cyan); text-shadow:0 0 28px rgb(68 237 218 / 25%); }
.lx-sub { color:#C9D2D4; font-size:clamp(1.02rem, 1.4vw, 1.35rem); font-weight:400; letter-spacing:-.01em; margin:.45rem 0 0; }
.lx-sub--muted { color:var(--lx-muted); font-size:1rem; }
.lx-h2 { color:var(--lx-text); font-size:1.18rem; font-weight:700; letter-spacing:-.02em; margin:0; }
.lx-h3 { color:var(--lx-text); font-size:1rem; font-weight:650; letter-spacing:-.015em; margin:0; }
.lx-muted { color:var(--lx-muted); }
.lx-small { font-size:.82rem; }
.lx-eyebrow { color:var(--lx-cyan); font-size:.72rem; font-weight:700; letter-spacing:.14em; margin:0 0 .5rem; text-transform:uppercase; }
.lx-num { font-variant-numeric:tabular-nums; }

/* ---------- Botões ---------- */
.lx-app .button, .lx-site .button, .lx-btn {
    align-items:center; background:var(--lx-cyan); border:1px solid transparent; border-radius:var(--lx-radius-sm);
    box-shadow:0 0 0 1px rgb(68 237 218 / 25%), 0 8px 26px rgb(68 237 218 / 22%);
    color:var(--lx-ink); cursor:pointer; display:inline-flex; font:inherit; font-size:.95rem; font-weight:650;
    gap:.55rem; justify-content:center; letter-spacing:-.005em; line-height:1.2; min-height:46px; padding:.7rem 1.25rem;
    text-decoration:none; transition:background .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.lx-app .button:hover, .lx-site .button:hover, .lx-btn:hover {
    background:#6FF3E4; box-shadow:0 0 0 1px rgb(68 237 218 / 45%), 0 10px 34px rgb(68 237 218 / 34%); color:var(--lx-ink); transform:translateY(-1px);
}
.lx-app .button svg, .lx-site .button svg, .lx-btn svg { flex:none; height:18px; width:18px; }
.lx-app .button-secondary, .lx-site .button-secondary, .lx-btn--ghost {
    background:rgb(2 12 15 / 55%); border:1px solid rgb(255 255 255 / 18%); box-shadow:none; color:var(--lx-text);
}
.lx-app .button-secondary:hover, .lx-site .button-secondary:hover, .lx-btn--ghost:hover {
    background:rgb(68 237 218 / 8%); border-color:var(--lx-line-cyan-strong); box-shadow:none; color:#fff;
}
.lx-btn--outline-cyan, .lx-app .button.lx-btn--outline-cyan, .lx-site .button.lx-btn--outline-cyan { background:rgb(3 12 15 / 55%); border:1px solid var(--lx-cyan); box-shadow:none; color:var(--lx-text); }
.lx-btn--outline-cyan:hover, .lx-app .button.lx-btn--outline-cyan:hover, .lx-site .button.lx-btn--outline-cyan:hover { background:rgb(68 237 218 / 10%); color:#fff; box-shadow:0 0 18px rgb(68 237 218 / 18%); }
.lx-btn--sm, .lx-app .button-small { font-size:.85rem; min-height:38px; padding:.45rem .9rem; }
.lx-btn--lg { font-size:1.02rem; min-height:54px; padding:.85rem 1.6rem; }
.lx-btn--block { width:100%; }
.lx-btn--danger { background:transparent; border:1px solid rgb(248 83 85 / 45%); box-shadow:none; color:#FFB4B5; }
.lx-btn--danger:hover { background:rgb(248 83 85 / 12%); color:#fff; box-shadow:none; }
.lx-app button:disabled, .lx-app .button[aria-disabled="true"], .lx-btn:disabled { cursor:not-allowed; opacity:.45; transform:none; }
.lx-icon-btn {
    align-items:center; background:rgb(2 12 15 / 55%); border:1px solid var(--lx-line); border-radius:var(--lx-radius-sm);
    color:var(--lx-text); cursor:pointer; display:inline-flex; height:40px; justify-content:center; padding:0; width:40px;
}
.lx-icon-btn:hover { border-color:var(--lx-line-cyan-strong); color:var(--lx-cyan); }
.lx-icon-btn svg { height:18px; width:18px; }
.lx-app .text-link, .lx-site .text-link, .lx-link { align-items:center; color:var(--lx-cyan); display:inline-flex; font-weight:600; gap:.35rem; }
.lx-app .text-link:hover, .lx-link:hover { color:#fff; }
.lx-app .text-link svg, .lx-link svg { height:16px; width:16px; }

/* ---------- Campos ---------- */
.lx-app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
.lx-app select, .lx-app textarea,
.lx-site input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
.lx-site select, .lx-site textarea {
    background:var(--lx-field); border:1px solid rgb(255 255 255 / 11%); border-radius:var(--lx-radius-sm);
    color:var(--lx-text); font:inherit; min-height:46px; transition:border-color .15s ease, box-shadow .15s ease;
}
.lx-app input::placeholder, .lx-app textarea::placeholder, .lx-site input::placeholder { color:#66737A; }
.lx-app select, .lx-site select { padding:0 2.4rem 0 .9rem; }
.lx-app textarea, .lx-site textarea { padding:.75rem .9rem; }
.lx-app input:focus, .lx-app select:focus, .lx-app textarea:focus, .lx-site input:focus, .lx-site select:focus, .lx-site textarea:focus {
    border-color:var(--lx-line-cyan-strong); box-shadow:0 0 0 3px rgb(68 237 218 / 14%); outline:none;
}
.lx-app input[type="checkbox"], .lx-app input[type="radio"], .lx-app input[type="range"] { accent-color:var(--lx-cyan); }
.lx-field { display:grid; gap:.45rem; }
.lx-field > span, .lx-label { color:#DCE4E5; font-size:.92rem; font-weight:600; }
.lx-label small, .lx-field > span small { color:var(--lx-muted); font-weight:400; }
.lx-input-icon { align-items:center; display:flex; position:relative; }
.lx-input-icon > svg { color:#7C898E; height:18px; left:14px; pointer-events:none; position:absolute; width:18px; }
.lx-app .lx-input-icon > input, .lx-site .lx-input-icon > input { padding-left:44px; width:100%; }
.lx-hint { color:var(--lx-muted); font-size:.8rem; margin:.15rem 0 0; }

/* ---------- Cartões de vidro ---------- */
.lx-card {
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    background:var(--lx-glass); border:1px solid var(--lx-line-cyan); border-radius:var(--lx-radius);
    box-shadow:var(--lx-shadow), inset 0 1px 0 rgb(255 255 255 / 4%);
    color:var(--lx-text); min-width:0; position:relative;
}
.lx-card--glow { border-color:var(--lx-line-cyan-strong); box-shadow:var(--lx-shadow), 0 0 0 1px rgb(68 237 218 / 8%), 0 0 40px rgb(68 237 218 / 12%), inset 0 1px 0 rgb(255 255 255 / 5%); }
.lx-card--pad { padding:clamp(1.1rem, 2vw, 1.6rem); }
.lx-card--pad-lg { padding:clamp(1.3rem, 2.6vw, 2.2rem); }
.lx-card-head { align-items:center; border-bottom:1px solid var(--lx-line); display:flex; gap:.75rem; justify-content:space-between; padding:1.05rem 1.3rem; }
.lx-card-head .lx-h2 { align-items:center; display:flex; gap:.65rem; }
.lx-card-head .lx-h2 svg { color:var(--lx-cyan); height:20px; width:20px; }
.lx-card-body { padding:1.3rem; }

.lx-app .panel { -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); background:var(--lx-glass); border:1px solid var(--lx-line-cyan); border-radius:var(--lx-radius); box-shadow:var(--lx-shadow); }

/* ---------- Ícone em círculo (estatísticas) ---------- */
.lx-orb {
    align-items:center; background:radial-gradient(circle at 35% 30%, #154247, #0A2326); border:1px solid rgb(68 237 218 / 22%);
    border-radius:50%; box-shadow:inset 0 0 18px rgb(68 237 218 / 10%); color:var(--lx-cyan); display:inline-flex;
    flex:none; height:56px; justify-content:center; width:56px;
}
.lx-orb svg { height:24px; width:24px; }
.lx-orb--sm { height:44px; width:44px; }
.lx-orb--sm svg { height:20px; width:20px; }

/* ---------- Abas, chips e grupos ---------- */
.lx-tabs { align-items:flex-end; border-bottom:1px solid var(--lx-line); display:flex; gap:2rem; margin:0; overflow-x:auto; scrollbar-width:none; }
.lx-tabs::-webkit-scrollbar { display:none; }
.lx-tabs a, .lx-tabs button {
    background:none; border:0; border-bottom:2px solid transparent; color:var(--lx-muted); cursor:pointer; font:inherit;
    font-size:1.12rem; font-weight:550; margin-bottom:-1px; padding:.55rem .1rem .8rem; white-space:nowrap;
}
.lx-tabs a:hover, .lx-tabs button:hover { color:#fff; }
.lx-tabs [aria-current="page"], .lx-tabs [aria-selected="true"] { border-bottom-color:var(--lx-cyan); color:var(--lx-cyan); text-shadow:0 0 18px rgb(68 237 218 / 35%); }

.lx-boxtabs { display:flex; gap:0; overflow-x:auto; scrollbar-width:none; }
.lx-boxtabs::-webkit-scrollbar { display:none; }
.lx-boxtabs a, .lx-boxtabs button {
    align-items:center; background:rgb(4 14 17 / 70%); border:1px solid var(--lx-line); border-bottom:2px solid transparent;
    border-radius:10px 10px 0 0; color:#C9D2D4; cursor:pointer; display:inline-flex; font:inherit; font-size:.95rem; font-weight:550;
    gap:.55rem; margin-right:-1px; min-height:50px; padding:.55rem 1.4rem; white-space:nowrap;
}
.lx-boxtabs svg { height:18px; width:18px; }
.lx-boxtabs a:hover, .lx-boxtabs button:hover { color:#fff; }
.lx-boxtabs [aria-current="page"], .lx-boxtabs [aria-selected="true"] {
    background:linear-gradient(180deg, rgb(68 237 218 / 10%), rgb(68 237 218 / 3%)); border-bottom-color:var(--lx-cyan); color:var(--lx-cyan);
}

.lx-pilltabs { background:rgb(3 12 15 / 70%); border:1px solid var(--lx-line); border-radius:12px; display:flex; gap:.25rem; overflow-x:auto; padding:.3rem; scrollbar-width:none; }
.lx-pilltabs::-webkit-scrollbar { display:none; }
.lx-pilltabs a, .lx-pilltabs button {
    align-items:center; background:none; border:0; border-radius:9px; color:#C9D2D4; cursor:pointer; display:inline-flex; font:inherit;
    font-size:.9rem; font-weight:550; gap:.5rem; min-height:44px; padding:.5rem 1rem; white-space:nowrap;
}
.lx-pilltabs svg { height:17px; width:17px; }
.lx-pilltabs a:hover, .lx-pilltabs button:hover { background:rgb(255 255 255 / 5%); color:#fff; }
.lx-pilltabs [aria-current="page"], .lx-pilltabs [aria-selected="true"] { background:var(--lx-cyan); box-shadow:0 0 22px rgb(68 237 218 / 30%); color:var(--lx-ink); font-weight:650; }

.lx-chips { display:flex; flex-wrap:wrap; gap:.6rem; }
.lx-chip {
    align-items:center; background:rgb(3 12 15 / 60%); border:1px solid rgb(255 255 255 / 14%); border-radius:12px; color:#D5DDDF;
    cursor:pointer; display:inline-flex; font:inherit; font-size:.9rem; font-weight:500; gap:.45rem; min-height:44px; padding:.5rem 1.15rem; white-space:nowrap;
}
.lx-chip svg { height:16px; width:16px; }
.lx-chip:hover { border-color:var(--lx-line-cyan-strong); color:#fff; }
.lx-chip[aria-current="page"], .lx-chip[aria-pressed="true"], .lx-chip.is-active, .lx-chip:has(input:checked) {
    background:rgb(68 237 218 / 9%); border-color:var(--lx-cyan); box-shadow:0 0 18px rgb(68 237 218 / 16%); color:var(--lx-cyan);
}
.lx-chip--solid[aria-current="page"], .lx-chip--solid[aria-pressed="true"], .lx-chip--solid.is-active { background:var(--lx-cyan); color:var(--lx-ink); font-weight:650; }
.lx-chip input { height:1px; opacity:0; pointer-events:none; position:absolute; width:1px; }

.lx-badge {
    align-items:center; border:1px solid var(--lx-line-cyan-strong); border-radius:999px; color:var(--lx-cyan); display:inline-flex;
    font-size:.74rem; font-weight:700; gap:.35rem; letter-spacing:.06em; padding:.28rem .7rem; text-transform:uppercase; white-space:nowrap;
}
.lx-badge svg { height:14px; width:14px; }
.lx-badge--soft { background:rgb(68 237 218 / 8%); letter-spacing:0; text-transform:none; }
.lx-badge--muted { border-color:rgb(255 255 255 / 14%); color:#AEB9BC; letter-spacing:0; text-transform:none; }

.lx-app .lx-status, .lx-status {
    align-items:center; text-transform:none; letter-spacing:0; background:rgb(255 255 255 / 4%); border:1px solid rgb(255 255 255 / 10%); border-radius:999px; color:#CFE0DE;
    display:inline-flex; font-size:.82rem; font-weight:600; gap:.5rem; padding:.32rem .8rem; white-space:nowrap;
}
.lx-app .lx-status::before, .lx-status::before { background:currentColor; border-radius:50%; box-shadow:0 0 10px currentColor; content:""; height:8px; width:8px; }
.lx-app .lx-status--ok, .lx-status--ok { background:rgb(54 248 136 / 8%); border-color:rgb(54 248 136 / 28%); color:var(--lx-success); }
.lx-app .lx-status--fail, .lx-status--fail { background:rgb(248 83 85 / 8%); border-color:rgb(248 83 85 / 30%); color:var(--lx-danger); }
.lx-app .lx-status--run, .lx-status--run { background:rgb(68 237 218 / 8%); border-color:rgb(68 237 218 / 30%); color:var(--lx-cyan); }
.lx-app .lx-status--wait, .lx-status--wait { background:rgb(245 197 66 / 8%); border-color:rgb(245 197 66 / 30%); color:var(--lx-warning); }

/* ---------- Tabela ---------- */
.lx-table { border-collapse:collapse; width:100%; }
.lx-table th { border-bottom:1px solid var(--lx-line); color:#9AA6AA; font-size:.72rem; font-weight:650; letter-spacing:.1em; padding:.75rem 1rem; text-align:left; text-transform:uppercase; }
.lx-table td { border-bottom:1px solid var(--lx-line); padding:.7rem 1rem; vertical-align:middle; }
.lx-table tr:last-child td { border-bottom:0; }
.lx-table tbody tr:hover td { background:rgb(68 237 218 / 3%); }

/* ---------- Menu de três pontos ---------- */
.lx-more { position:relative; }
.lx-more > summary { align-items:center; border-radius:8px; color:#C9D2D4; cursor:pointer; display:inline-flex; height:36px; justify-content:center; list-style:none; width:36px; }
.lx-more > summary::-webkit-details-marker { display:none; }
.lx-more > summary:hover { background:rgb(255 255 255 / 6%); color:#fff; }
.lx-more > summary svg { height:20px; width:20px; }
.lx-more-menu { background:linear-gradient(180deg, rgb(10 28 32 / 98%), rgb(5 15 18 / 98%)); border:1px solid var(--lx-line-cyan); border-radius:12px; box-shadow:var(--lx-shadow); display:grid; min-width:190px; padding:.4rem; position:absolute; right:0; top:calc(100% + 6px); z-index:20; }
.lx-more-menu a, .lx-more-menu button { align-items:center; background:none; border:0; border-radius:8px; color:#D7DFE0; cursor:pointer; display:flex; font:inherit; font-size:.9rem; gap:.6rem; padding:.55rem .7rem; text-align:left; width:100%; }
.lx-more-menu a:hover, .lx-more-menu button:hover { background:rgb(68 237 218 / 8%); color:#fff; }
.lx-more-menu svg { color:var(--lx-cyan); height:16px; width:16px; }



/* ---------- Menu suspenso de filtro (details) ---------- */
.lx-drop { position:relative; }
.lx-drop > summary {
    align-items:center; background:rgb(3 12 15 / 72%); border:1px solid rgb(255 255 255 / 14%); border-radius:10px; color:#E6EEEF; cursor:pointer; display:flex;
    font-size:.95rem; font-weight:500; gap:.65rem; list-style:none; min-height:48px; padding:.5rem 1rem; white-space:nowrap;
}
.lx-drop > summary::-webkit-details-marker { display:none; }
.lx-drop > summary:hover, .lx-drop[open] > summary { border-color:var(--lx-line-cyan-strong); }
.lx-drop > summary svg { color:var(--lx-cyan); height:19px; width:19px; }
.lx-drop > summary svg:last-child { color:#C9D2D4; height:16px; margin-left:.35rem; width:16px; }
.lx-drop-menu { background:linear-gradient(180deg, rgb(10 28 32 / 98%), rgb(5 15 18 / 98%)); border:1px solid var(--lx-line-cyan); border-radius:12px; box-shadow:var(--lx-shadow); display:grid; min-width:100%; padding:.35rem; position:absolute; right:0; top:calc(100% + 6px); width:max-content; z-index:30; }
.lx-drop-menu a { align-items:center; border-radius:8px; color:#D7DFE0; display:flex; flex-wrap:wrap; font-size:.92rem; gap:.5rem; padding:.55rem .75rem; }
.lx-drop-menu a small { color:var(--lx-muted); flex-basis:100%; font-size:.76rem; }
.lx-drop-menu a:hover { background:rgb(68 237 218 / 8%); color:#fff; }
.lx-drop-menu a[aria-current="true"] { color:var(--lx-cyan); font-weight:650; }
.lx-drop-menu svg { height:16px; width:16px; }

/* ---------- Gráfico de barras ---------- */
.lx-chart { margin:0; }
.lx-chart-plot { display:grid; gap:.6rem; grid-template-columns:auto minmax(0, 1fr); }
.lx-chart-y { color:#8D9A9E; display:flex; flex-direction:column; font-size:.78rem; justify-content:space-between; list-style:none; margin:-.5em 0; min-height:220px; padding:0; text-align:right; }
.lx-chart-area { border-left:1px solid rgb(255 255 255 / 14%); min-height:220px; position:relative; }
.lx-chart-area svg { display:block; height:220px; width:100%; }
.lx-chart-grid { stroke:rgb(255 255 255 / 6%); stroke-width:1; vector-effect:non-scaling-stroke; }
.lx-chart-base { stroke:rgb(255 255 255 / 16%); stroke-width:1; vector-effect:non-scaling-stroke; }
.lx-chart-bar { fill:rgb(68 237 218 / 70%); }
.lx-chart-bar:hover { fill:var(--lx-cyan-soft); }
.lx-chart-bar.is-today { fill:var(--lx-cyan); }
.lx-chart-empty { align-items:center; color:#C9D2D4; display:flex; flex-direction:column; gap:.5rem; inset:0; justify-content:center; position:absolute; text-align:center; }
.lx-chart-empty svg { color:var(--lx-cyan); filter:drop-shadow(0 0 10px rgb(68 237 218 / 45%)); height:46px; width:46px; }
.lx-chart-empty p { font-size:1rem; margin:0; max-width:300px; }
.lx-chart-x { color:#8D9A9E; display:flex; font-size:.78rem; justify-content:space-between; list-style:none; margin:.5rem 0 0; padding:0 0 0 2.4rem; }

/* ---------- Estado vazio ---------- */
.lx-empty { align-items:center; color:#C9D2D4; display:flex; flex-direction:column; gap:.6rem; justify-content:center; padding:2.2rem 1rem; text-align:center; }
.lx-empty svg { color:var(--lx-cyan); filter:drop-shadow(0 0 10px rgb(68 237 218 / 35%)); height:46px; width:46px; }
.lx-empty p { margin:0; max-width:320px; }

.lx-preview-tag {
    align-items:center; background:rgb(2 10 13 / 72%); border:1px solid rgb(255 255 255 / 14%); border-radius:999px; color:#E6EEEF;
    display:inline-flex; font-size:.72rem; gap:.35rem; padding:.25rem .6rem;
}
.lx-preview-tag svg { height:12px; width:12px; }

.lx-progress { appearance:none; background:rgb(255 255 255 / 8%); border:0; border-radius:999px; display:block; height:8px; overflow:hidden; width:100%; }
.lx-progress::-webkit-progress-bar { background:rgb(255 255 255 / 8%); }
.lx-progress::-webkit-progress-value { background:linear-gradient(90deg, var(--lx-cyan-strong), var(--lx-cyan-soft)); border-radius:999px; box-shadow:0 0 12px rgb(68 237 218 / 50%); }
.lx-progress::-moz-progress-bar { background:linear-gradient(90deg, var(--lx-cyan-strong), var(--lx-cyan-soft)); border-radius:999px; }

.lx-art { display:block; height:auto; max-width:100%; }
.lx-art--fade { -webkit-mask-image:radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image:radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); }
.lx-art--fade-x { -webkit-mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lx-art--fade-b { -webkit-mask-image:linear-gradient(180deg, #000 70%, transparent); mask-image:linear-gradient(180deg, #000 70%, transparent); }

/* =====================================================================
 * Estrutura da área logada
 * ===================================================================== */
.lx-app .app-shell { display:grid; grid-template-columns:272px minmax(0, 1fr); min-height:100vh; }
.lx-app .app-sidebar {
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
    background:linear-gradient(180deg, rgb(6 16 19 / 88%), rgb(4 11 14 / 92%));
    border:1px solid rgb(255 255 255 / 7%); border-radius:18px; box-shadow:0 30px 70px rgb(0 0 0 / 45%);
    display:flex; flex-direction:column; height:calc(100vh - 32px); margin:16px 0 16px 16px; overflow:hidden auto; padding:26px 14px 0;
    position:sticky; scrollbar-width:thin; top:16px;
}
.lx-app .app-sidebar-head { align-items:center; display:flex; gap:.5rem; justify-content:space-between; margin:0 .5rem 1.6rem; }
.lx-app .app-brand { align-items:center; display:inline-flex; margin:0; padding:0; }
.lx-wordmark { display:inline-flex; }
.lx-wordmark-svg { display:block; height:20px; overflow:visible; width:auto; }
.lx-wordmark-clip { stroke:#F2F7F7; }
.lx-wordmark-lab { filter:drop-shadow(0 0 6px rgb(68 237 218 / 45%)); stroke:var(--lx-cyan); }
.lx-app .sidebar-toggle { background:none; border:0; border-radius:8px; color:#7E8B90; cursor:pointer; padding:.35rem; }
.lx-app .sidebar-toggle:hover { color:var(--lx-cyan); }
.lx-app .sidebar-toggle svg { height:18px; width:18px; }

.lx-nav { display:flex; flex-direction:column; gap:.25rem; margin:0; }
.lx-app .lx-nav a {
    align-items:center; background:none; border:1px solid transparent; border-radius:10px; box-shadow:none; color:#D7DFE0; display:flex;
    font-size:.98rem; font-weight:500; gap:.9rem; min-height:48px; padding:.55rem .9rem; position:relative; transition:background .15s ease, color .15s ease;
}
.lx-app .lx-nav a svg { color:#C9D2D4; flex:none; height:21px; stroke-width:1.7; width:21px; }
.lx-app .lx-nav a:hover { background:rgb(255 255 255 / 4%); color:#fff; }
.lx-app .lx-nav a[aria-current="page"] {
    background:linear-gradient(90deg, rgb(68 237 218 / 16%), rgb(68 237 218 / 5%)); border-color:rgb(68 237 218 / 14%); color:#fff;
}
.lx-app .lx-nav a[aria-current="page"]::before {
    background:var(--lx-cyan); border-radius:0 3px 3px 0; box-shadow:0 0 12px var(--lx-cyan); content:""; height:60%; left:-1px; position:absolute; top:20%; width:3px;
}
.lx-app .lx-nav a[aria-current="page"] svg { color:var(--lx-cyan); filter:drop-shadow(0 0 6px rgb(68 237 218 / 50%)); }
.lx-nav-sep { border:0; border-top:1px solid var(--lx-line); margin:.9rem .4rem; }
.lx-nav .lx-nav-badge { background:var(--lx-cyan); border-radius:999px; color:var(--lx-ink); font-size:.7rem; font-weight:700; margin-left:auto; padding:.05rem .45rem; }
.lx-sidebar-alert { background:rgb(245 197 66 / 8%); border:1px solid rgb(245 197 66 / 25%); border-radius:12px; color:#F7DB8A; font-size:.78rem; line-height:1.4; margin:.9rem .3rem 0; padding:.7rem .8rem; }
.lx-sidebar-alert a { color:#fff; font-weight:650; text-decoration:underline; }
.lx-sidebar-foot { align-items:flex-end; display:flex; flex:1 0 auto; margin:1rem -14px 0; min-height:150px; position:relative; }
.lx-sidebar-mascot {
    -webkit-mask-image:radial-gradient(ellipse 62% 72% at 46% 64%, #000 52%, transparent 86%);
    mask-image:radial-gradient(ellipse 62% 72% at 46% 64%, #000 52%, transparent 86%);
    display:block; height:auto; margin:0 0 -4px 4px; max-width:215px; width:80%;
}

.lx-app .app-main-wrap { display:flex; flex-direction:column; min-width:0; }
.lx-app .app-header {
    align-items:center; background:transparent; border:0; display:flex; gap:1rem; justify-content:space-between;
    min-height:88px; padding:18px clamp(1.25rem, 3vw, 2.6rem) 6px; position:static;
}
.lx-search {
    align-items:center; background:rgb(3 12 15 / 72%); border:1px solid rgb(255 255 255 / 13%); border-radius:12px; color:#7E8B90;
    cursor:pointer; display:flex; font:inherit; font-size:.95rem; gap:.75rem; max-width:470px; min-height:48px; padding:.6rem 1rem; text-align:left; width:100%;
}
.lx-search:hover { border-color:var(--lx-line-cyan-strong); color:#AEB9BC; }
.lx-search svg { color:#C9D2D4; flex:none; height:19px; width:19px; }
.lx-search span { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lx-search kbd { border:1px solid rgb(255 255 255 / 14%); border-radius:6px; color:#7E8B90; font:inherit; font-size:.72rem; padding:.1rem .4rem; }
.lx-app .workspace-header-actions { align-items:center; display:flex; gap:.9rem; margin-left:auto; }
.lx-topicon { align-items:center; border-radius:50%; color:#E2E9EA; display:inline-flex; height:42px; justify-content:center; position:relative; width:42px; }
.lx-topicon:hover { background:rgb(255 255 255 / 5%); color:var(--lx-cyan); }
.lx-topicon svg { height:22px; width:22px; }
.lx-topicon .lx-dot { background:var(--lx-cyan); border:2px solid var(--lx-bg); border-radius:999px; color:var(--lx-ink); font-size:.62rem; font-weight:800; line-height:1; min-width:18px; padding:.12rem .25rem; position:absolute; right:2px; text-align:center; top:2px; }
.lx-app .user-menu { position:relative; }
.lx-app .user-menu > summary.header-profile { align-items:center; background:none; border:0; cursor:pointer; display:flex; gap:.4rem; list-style:none; padding:0; }
.lx-app .user-menu > summary::-webkit-details-marker { display:none; }
.lx-app .header-profile > span {
    align-items:center; background:radial-gradient(circle at 35% 30%, #1A4D52, #0B2528); border:1px solid rgb(68 237 218 / 35%); border-radius:50%;
    color:#E9F4F3; display:inline-flex; font-size:1.05rem; font-weight:700; height:46px; justify-content:center; overflow:hidden; width:46px;
}
.lx-app .header-profile > span img { height:100%; object-fit:cover; width:100%; }
.lx-app .header-profile > strong { border:0; clip:rect(0 0 0 0); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; white-space:nowrap; width:1px; }
.lx-app .header-profile > svg { color:#C9D2D4; height:18px; width:18px; }
.lx-app .user-menu-panel {
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); background:linear-gradient(180deg, rgb(10 28 32 / 96%), rgb(5 15 18 / 97%));
    border:1px solid var(--lx-line-cyan); border-radius:14px; box-shadow:var(--lx-shadow); padding:.6rem; right:0; top:calc(100% + 10px); width:290px; z-index:60;
}
.lx-app .user-menu-links a, .lx-app .user-menu-logout button { border-radius:9px; color:#D7DFE0; }
.lx-app .user-menu-links a:hover, .lx-app .user-menu-logout button:hover { background:rgb(68 237 218 / 8%); color:#fff; }
.lx-app .user-menu-links a svg { color:var(--lx-cyan); }

.lx-app .app-content { flex:1; max-width:1500px; padding:12px clamp(1.25rem, 3vw, 2.6rem) 2.6rem; width:100%; }
.lx-page-head { align-items:flex-end; display:flex; flex-wrap:wrap; gap:1rem 2rem; justify-content:space-between; margin:0 0 1.8rem; }
.lx-page-head-copy { min-width:0; }
.lx-page-head-actions { align-items:center; display:flex; flex-wrap:wrap; gap:.75rem; }
.lx-page-title { color:var(--lx-text); font-size:clamp(2rem, 3.6vw, 3.2rem); font-weight:800; letter-spacing:-.022em; line-height:1.05; margin:0; }
.lx-app .app-notice, .lx-app .form-notice { background:rgb(68 237 218 / 8%); border:1px solid var(--lx-line-cyan); border-radius:12px; color:#CFF8F2; }
.lx-foot-note { color:#6D7A80; font-size:.75rem; margin:2rem 0 0; text-align:right; }

/* Menu recolhido (computador) */
@media (min-width:801px) {
    html.sidebar-collapsed .lx-app .app-shell { grid-template-columns:96px minmax(0, 1fr); }
    html.sidebar-collapsed .lx-app .app-sidebar { padding:22px 10px 0; }
    html.sidebar-collapsed .lx-app .app-sidebar-head { flex-direction:column; gap:1rem; margin:0 0 1.2rem; }
    html.sidebar-collapsed .lx-app .lx-wordmark-svg { height:14px; }
    html.sidebar-collapsed .lx-app .lx-nav a { font-size:0; gap:0; justify-content:center; padding:.55rem 0; }
    html.sidebar-collapsed .lx-app .lx-nav a::before { display:none; }
    html.sidebar-collapsed .lx-app .lx-nav-badge, html.sidebar-collapsed .lx-sidebar-alert { display:none; }
    html.sidebar-collapsed .lx-sidebar-mascot { max-width:80px; width:90%; }
}

/* Celular e tablet: menu vira gaveta */
@media (max-width:800px) {
    .lx-app .app-shell { display:block; }
    .lx-app .app-sidebar {
        border-radius:0 18px 18px 0; height:100dvh; left:0; margin:0; max-width:86vw; position:fixed; top:0;
        transform:translateX(-105%); transition:transform .22s ease; width:288px; z-index:50;
    }
    .lx-app .app-sidebar.is-open { transform:translateX(0); }
    .lx-app.workspace-drawer-ready .app-sidebar { position:fixed; }
    .lx-app:not(.workspace-drawer-ready) .app-sidebar { border-radius:0; height:auto; position:static; transform:none; width:auto; }
    .lx-app .drawer-toggle { align-items:center; background:rgb(3 12 15 / 72%); border:1px solid rgb(255 255 255 / 12%); border-radius:12px; color:#fff; display:inline-flex; height:46px; justify-content:center; width:46px; }
    .lx-app .app-header { gap:.6rem; min-height:76px; padding:14px 16px 4px; }
    .lx-search { min-height:46px; }
    .lx-search span, .lx-search kbd { display:none; }
    .lx-search { justify-content:center; max-width:46px; padding:0; }
    .lx-app .app-content { padding:10px 16px 2rem; }
    .lx-app .workspace-header-actions { gap:.4rem; }
    .lx-sidebar-foot { min-height:120px; }
}
@media (max-width:420px) {
    .lx-topicon { height:38px; width:38px; }
    .lx-app .header-profile > span { height:40px; width:40px; }
    .lx-app .header-profile > svg { display:none; }
}

/* Gaveta aberta: fundo escurecido */
.lx-app .drawer-backdrop { -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); background:rgb(0 0 0 / 60%); }

/* ---------- Diálogo da busca (Ctrl K) ---------- */
.lx-app .workspace-command {
    -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); background:linear-gradient(180deg, rgb(10 28 32 / 97%), rgb(5 15 18 / 98%));
    border:1px solid var(--lx-line-cyan); border-radius:18px; box-shadow:var(--lx-shadow), 0 0 50px rgb(68 237 218 / 10%); color:var(--lx-text);
}
.lx-app .workspace-command::backdrop { background:rgb(1 5 7 / 70%); }

/* ---------- Respeita "reduzir animações" ---------- */
@media (prefers-reduced-motion:reduce) {
    .lx-app *, .lx-site * { animation:none !important; transition:none !important; }
}

/* ---------- Ponte para telas antigas: títulos no peso do laboratório ---------- */
.lx-app :is(.account-hero, .account-section-heading, .dashboard-intro, .clip-shelf-header, .panel-heading, .section-heading, .champ-card, .champ-panel) h2 { color:#fff; font-weight:800; letter-spacing:-.02em; }
.lx-app .account-hero, .lx-app .dashboard-intro { -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); background:radial-gradient(90% 140% at 0% 0%, rgb(68 237 218 / 10%), transparent 60%), var(--lx-glass); border:1px solid var(--lx-line-cyan); border-radius:var(--lx-radius); box-shadow:var(--lx-shadow); }
.lx-app .eyebrow { color:var(--lx-cyan); }
.lx-app .clip-shelf-header h1 { margin:.2rem 0 .3rem; }
.lx-site :is(.error-card, .information-hero, .information-body main) h1 { font-weight:800; letter-spacing:-.025em; }
.lx-site .error-card { -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); background:var(--lx-glass); border:1px solid var(--lx-line-cyan-strong); box-shadow:var(--lx-shadow), 0 0 50px rgb(68 237 218 / 10%); }
.lx-site .error-card .lx-wordmark-svg { height:20px; width:auto; }

/* ---------- Suporte no vidro do laboratório ---------- */
.lx-app .dm-shell { -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); background:var(--lx-glass); border:1px solid var(--lx-line-cyan); border-radius:var(--lx-radius); box-shadow:var(--lx-shadow); }
.lx-app .dm-header, .lx-app .dm-composer { background:rgb(3 12 15 / 55%); border-color:var(--lx-line); }
.lx-app .dm-scroll, .lx-app .dm-thread { background:transparent; }
.lx-app .is-theirs .dm-bubble { background:rgb(15 43 46 / 85%); border:1px solid var(--lx-line-cyan); color:#E6EEEF; }
.lx-app .is-mine .dm-bubble { background:linear-gradient(135deg, var(--lx-cyan), var(--lx-cyan-strong)); border-color:transparent; color:var(--lx-ink); box-shadow:0 0 18px rgb(68 237 218 / 20%); }
.lx-app .dm-composer-row { background:var(--lx-field); border-color:rgb(255 255 255 / 11%); }
.lx-app .dm-avatar--brand { box-shadow:0 0 16px rgb(68 237 218 / 40%); }

/* ---------- Movimento leve em todo o laboratório ---------- */
@keyframes lx-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes lx-glow-pulse { 0%, 100% { box-shadow:inset 3px 0 0 var(--lx-cyan), 0 0 0 rgb(68 237 218 / 0%); } 50% { box-shadow:inset 3px 0 0 var(--lx-cyan), 0 0 18px rgb(68 237 218 / 16%); } }
@keyframes lx-wordmark-neon { 0%, 100% { filter:drop-shadow(0 0 3px rgb(68 237 218 / 55%)); } 50% { filter:drop-shadow(0 0 8px rgb(68 237 218 / 85%)); } }
.lx-app #conteudo-app > *, .lx-app main > .lx-page-head { animation:lx-in .45s ease-out both; }
.lx-app #conteudo-app > *:nth-child(2) { animation-delay:.05s; }
.lx-app #conteudo-app > *:nth-child(3) { animation-delay:.1s; }
.lx-app #conteudo-app > *:nth-child(n+4) { animation-delay:.15s; }
.lx-wordmark-lab { animation:lx-wordmark-neon 5s ease-in-out infinite; }
.lx-app .lx-nav a[aria-current="page"] { animation:lx-glow-pulse 4.5s ease-in-out infinite; }
.lx-app .lx-card { transition:border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.lx-app a.lx-card:hover, .lx-app .lx-stat:hover, .lx-app .lx-plan-card:hover, .lx-app .lx-arena-tile:hover { border-color:var(--lx-line-cyan-strong); box-shadow:var(--lx-shadow), 0 0 32px rgb(68 237 218 / 14%); transform:translateY(-3px); }
.lx-app .button:not(.button-secondary), .lx-site .button:not(.button-secondary), .lx-btn:not(.lx-btn--ghost):not(.lx-btn--outline-cyan):not(.lx-btn--danger) { overflow:hidden; position:relative; }
.lx-app .button:not(.button-secondary)::after, .lx-btn:not(.lx-btn--ghost):not(.lx-btn--outline-cyan):not(.lx-btn--danger)::after { background:linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 40%) 50%, transparent 70%); content:""; inset:0; pointer-events:none; position:absolute; transform:translateX(-120%); }
.lx-app .button:not(.button-secondary):hover::after, .lx-btn:not(.lx-btn--ghost):not(.lx-btn--outline-cyan):not(.lx-btn--danger):hover::after { transform:translateX(120%); transition:transform .7s ease; }
@media (prefers-reduced-motion:reduce) { .lx-wordmark-lab, .lx-app .lx-nav a[aria-current="page"], .lx-app #conteudo-app > * { animation:none !important; } }
/* Créditos acabando: pop-up que leva aos planos (components/low-credits-nudge.php) */
.low-credits { width:min(440px,calc(100vw - 32px)); padding:1.6rem 1.5rem 1.4rem; border-radius:20px; border:1px solid rgb(255 201 71 / 30%); background:radial-gradient(120% 80% at 50% 0%,rgb(255 201 71 / 12%),transparent 60%),#101212; color:#eef7f5; box-shadow:0 40px 90px rgb(0 0 0 / 60%); text-align:center; }
.low-credits::backdrop { background:rgb(0 0 0 / 65%); backdrop-filter:blur(3px); }
.low-credits-art { display:inline-grid; place-items:center; width:58px; height:58px; border-radius:16px; background:linear-gradient(160deg,#ffd36e,#ff9f1a); color:#231400; box-shadow:0 12px 30px rgb(255 170 0 / 30%); }
.low-credits-art svg { width:28px; height:28px; }
.low-credits h2 { margin:.9rem 0 .4rem; font-size:1.3rem; letter-spacing:-.02em; }
.low-credits p { margin:0; color:#bccac7; font-size:.9rem; line-height:1.6; }
.low-credits-actions { display:grid; gap:.5rem; margin-top:1.2rem; }
.low-credits-actions .button:first-child { background:linear-gradient(180deg,#ffd36e,#ffb020); border-color:#ffb020; color:#231400; }
.low-credits-compare { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin:1rem 0 .2rem; text-align:left; }
.low-credits-compare > div { border:1px solid rgb(255 255 255 / 10%); border-radius:14px; display:grid; gap:.15rem; padding:.7rem .8rem; background:rgb(255 255 255 / 3%); }
.low-credits-compare .low-credits-compare-best { background:rgb(23 240 197 / 10%); border-color:rgb(23 240 197 / 45%); }
.low-credits-compare span { color:#9fb0ad; font-size:.72rem; font-weight:600; letter-spacing:.02em; text-transform:uppercase; }
.low-credits-compare strong { color:#fff; font-size:1.25rem; letter-spacing:-.02em; line-height:1.15; white-space:nowrap; }
.low-credits-compare strong.low-credits-compare-packs { font-size:.98rem; white-space:normal; }
.low-credits-compare strong small { color:#9fb0ad; font-size:.7rem; font-weight:500; margin-left:2px; }
.low-credits-compare em { color:#bccac7; font-size:.72rem; font-style:normal; }
.low-credits-compare-best strong { color:#63F5D8; }
.low-credits .low-credits-saving { color:#d9f7f0; font-size:.82rem; margin-top:.55rem; }
.low-credits-saving svg { color:#63F5D8; height:16px; margin-right:.3rem; vertical-align:-3px; width:16px; }
.low-credits-actions .low-credits-later { background:transparent; border-color:transparent; color:#9fb0ad; }
@media (max-width:420px) { .low-credits-compare { grid-template-columns:1fr; } }
