/* Era Soft V2 — Premium Dark Tech overlay. Tokens + surfaces only. Does not replace business CSS. */
:root {
    --es2-bg-0: #0f172a;
    --es2-bg-1: #111827;
    --es2-bg-2: #182235;
    --es2-line: rgba(148, 163, 184, 0.16);
    --es2-line-strong: rgba(96, 165, 250, 0.28);
    --es2-text: #e8eef8;
    --es2-muted: #94a3b8;
    --es2-blue: #3b82f6;
    --es2-cyan: #22d3ee;
    --es2-violet: #8b5cf6;
    --es2-radius: 1.15rem;
    --es2-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --es2-glass: rgba(24, 34, 53, 0.72);
}

html.dark {
    --es2-page: #0f172a;
}

/* ——— Public sticky glass nav ——— */
body.es-site.es-v2 .es-site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    transition: background 0.35s var(--es2-ease), box-shadow 0.35s var(--es2-ease), backdrop-filter 0.35s var(--es2-ease);
}
body.es-site.es-v2 .es-site-header.is-compact {
    background: rgba(15, 23, 42, 0.78) !important;
    backdrop-filter: blur(28px) saturate(1.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    border-bottom-color: var(--es2-line-strong) !important;
}
html.light body.es-site.es-v2 .es-site-header.is-compact {
    background: rgba(255, 255, 255, 0.82) !important;
}

.es-mega {
    position: relative;
}
.es-mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 80;
    width: min(34rem, 78vw);
    transform: translateX(-50%);
    border-radius: 0 0 1.25rem 1.25rem;
    border: 1px solid var(--es2-line);
    background: rgba(8, 11, 18, 0.94);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    padding: 0.75rem 0.85rem 0.85rem;
    display: grid;
    gap: 0.35rem;
    pointer-events: auto;
}
html.light .es-mega-panel {
    background: rgba(255, 255, 255, 0.96);
    border-color: #dbeafe;
}
.es-mega-link {
    display: block;
    border-radius: 0.9rem;
    padding: 0.75rem 0.85rem;
    color: inherit;
    text-decoration: none;
}
.es-mega-link:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.08));
}
.es-mega-link strong { display: block; font-size: 0.92rem; }
.es-mega-link span { display: block; margin-top: 0.15rem; font-size: 0.75rem; opacity: 0.7; }

/* ——— Hero V2 ——— */
.es-hero-v2 {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .es-hero-v2 { grid-template-columns: 1.15fr 0.85fr; min-height: min(78vh, 44rem); }
}
.es-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    background: rgba(8, 47, 73, 0.35);
    padding: 0.28rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a5f3fc;
}
.es-hero-title {
    margin-top: 1rem;
    font-family: "Space Grotesk", Manrope, sans-serif;
    font-size: clamp(2.1rem, 5vw, 4.1rem);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.es-hero-title em {
    font-style: normal;
    background: linear-gradient(105deg, #f8fafc 10%, #67e8f9 48%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.es-hero-copy {
    margin-top: 1.1rem;
    max-width: 38rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.78);
}

.es-infra {
    position: relative;
    min-height: 22rem;
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 42%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.16), transparent 46%),
        linear-gradient(180deg, rgba(8, 12, 24, 0.7), rgba(5, 7, 13, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.28);
}
.es-infra__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
    animation: es2-grid 18s linear infinite;
}
.es-infra__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.7;
}
.es-infra__orb--a { width: 8rem; height: 8rem; left: 12%; top: 18%; background: #2563eb; animation: es2-float 7s ease-in-out infinite; }
.es-infra__orb--b { width: 6rem; height: 6rem; right: 16%; bottom: 18%; background: #06b6d4; animation: es2-float 9s ease-in-out infinite reverse; }
.es-infra svg { position: relative; z-index: 1; width: 100%; height: 22rem; }
.es-infra-node {
    fill: #0b1220;
    stroke: #67e8f9;
    stroke-width: 1.4;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45));
}
.es-infra-line {
    fill: none;
    stroke: url(#es2flow);
    stroke-width: 1.2;
    stroke-dasharray: 6 8;
    animation: es2-dash 3.2s linear infinite;
}

@keyframes es2-grid { to { background-position: 28px 28px; } }
@keyframes es2-float { 50% { transform: translateY(-10px); } }
@keyframes es2-dash { to { stroke-dashoffset: -56; } }

/* ——— Bento + spotlight ——— */
.es-bento {
    display: grid;
    gap: 0.9rem;
}
@media (min-width: 768px) {
    .es-bento { grid-template-columns: 1.2fr 1fr; }
    .es-bento > :first-child { grid-row: span 2; }
}
.es-spotlight {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.es-spotlight::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 30%), rgba(56, 189, 248, 0.18), transparent 36%);
    opacity: 0;
    transition: opacity 0.35s var(--es2-ease);
    pointer-events: none;
    z-index: 0;
}
.es-spotlight:hover::before { opacity: 1; }
.es-spotlight > * { position: relative; z-index: 1; }

.es-card-service,
.es-ticket-card,
.es-kpi,
.es-stat,
.es-section-card,
.es-info-card {
    transition: transform 0.28s var(--es2-ease), box-shadow 0.28s var(--es2-ease), border-color 0.28s var(--es2-ease);
}
.es-card-service:hover,
.es-ticket-card:hover,
.es-kpi:hover,
.es-stat:hover {
    transform: translateY(-3px);
}

.es-popular-row { box-shadow: inset 3px 0 0 #22d3ee; }

/* ——— Command palette ——— */
.es-cmdk-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(2, 6, 16, 0.62);
    backdrop-filter: blur(10px);
}
.es-cmdk {
    position: fixed;
    z-index: 81;
    left: 50%;
    top: 14vh;
    width: min(40rem, calc(100vw - 1.5rem));
    transform: translateX(-50%);
    border-radius: 1.25rem;
    border: 1px solid var(--es2-line-strong);
    background: rgba(8, 11, 18, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
html.light .es-cmdk {
    background: #fff;
    border-color: #bfdbfe;
}
.es-cmdk input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
    color: inherit;
    outline: none;
}
.es-cmdk-list { max-height: 20rem; overflow: auto; padding: 0.4rem; }
.es-cmdk-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0.8rem;
    padding: 0.7rem 0.8rem;
    text-decoration: none;
    color: inherit;
}
.es-cmdk-item:hover,
.es-cmdk-item.is-active { background: rgba(59, 130, 246, 0.12); }
.es-cmdk-hint { padding: 0.55rem 1rem 0.8rem; font-size: 0.7rem; opacity: 0.55; }

/* ——— App shell premium ——— */
.es-app-shell.es-v2 {
    font-family: Inter, Manrope, ui-sans-serif, system-ui, sans-serif;
    background:
        radial-gradient(ellipse 50% 36% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
        radial-gradient(ellipse 40% 30% at 0% 100%, rgba(6, 182, 212, 0.08), transparent 50%),
        #f8fafc;
}
html.dark .es-app-shell.es-v2 {
    background:
        radial-gradient(ellipse 50% 36% at 100% 0%, rgba(37, 99, 235, 0.16), transparent 55%),
        #0f172a;
    color: #e2e8f0;
}
html.dark .es-app-shell.es-v2 .es-page-title,
html.dark .es-app-shell.es-v2 .es-stat-value,
html.dark .es-app-shell.es-v2 .font-display { color: #f8fafc; }
html.dark .es-app-shell.es-v2 .es-page-lead,
html.dark .es-app-shell.es-v2 .text-slate-500,
html.dark .es-app-shell.es-v2 .text-slate-600 { color: #94a3b8 !important; }
html.dark .es-app-shell.es-v2 .text-slate-900,
html.dark .es-app-shell.es-v2 .text-slate-800,
html.dark .es-app-shell.es-v2 .text-slate-700 { color: #e2e8f0 !important; }
html.dark .es-app-shell.es-v2 .es-mobile-drawer,
html.dark .es-app-shell.es-v2 .es-form-shell,
html.dark .es-app-shell.es-v2 .es-section-card,
html.dark .es-app-shell.es-v2 .es-info-card,
html.dark .es-app-shell.es-v2 .es-kpi,
html.dark .es-app-shell.es-v2 .es-stat,
html.dark .es-app-shell.es-v2 .es-table-shell,
html.dark .es-app-shell.es-v2 .es-composer,
html.dark .es-app-shell.es-v2 .es-ticket-card,
html.dark .es-app-shell.es-v2 .es-glass {
    background: #182235 !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    color: #e2e8f0;
}
html.dark .es-app-shell.es-v2 .es-app-topbar {
    background: rgba(15, 23, 42, 0.88);
    border-bottom-color: rgba(148, 163, 184, 0.14);
}
html.dark .es-app-shell.es-v2 .es-field,
html.dark .es-app-shell.es-v2 .es-input {
    background: #0b1020;
    border-color: rgba(148, 163, 184, 0.22);
    color: #f8fafc;
}

.es-app-shell.es-v2 .es-field {
    width: 100%;
    min-height: 2.85rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.9);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.es-app-shell.es-v2 .es-field:hover { border-color: #cbd5e1; background: #fff; }
.es-app-shell.es-v2 .es-field:focus {
    border-color: #0ea5e9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(20, 184, 166, 0.25);
}
html.dark .es-app-shell.es-v2 .es-nav-link-idle { color: #cbd5e1; }
html.dark .es-app-shell.es-v2 .es-nav-link-active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.16), transparent);
    color: #f8fafc;
    box-shadow: inset 3px 0 0 #38bdf8;
}

.es-nav-group {
    margin: 0.85rem 0.4rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.es-cmd-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #bae6fd;
    background: #fff;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    color: #0369a1;
}
html.dark .es-cmd-btn {
    background: #0b1020;
    border-color: rgba(56, 189, 248, 0.28);
    color: #7dd3fc;
}
.es-kbd {
    border-radius: 0.35rem;
    border: 1px solid currentColor;
    padding: 0 0.28rem;
    font-size: 0.62rem;
    opacity: 0.7;
}

/* Auth atmosphere */
.es-auth-page.es-v2 .es-auth-pane {
    position: relative;
}
.es-auth-page.es-v2 .es-auth-pane::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -10%;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%);
    pointer-events: none;
}

.es-count { font-variant-numeric: tabular-nums; }

.es-noise::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.es-plan-card,
.es-server-card {
    position: relative;
    border-radius: 1.35rem;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.72), rgba(8, 11, 18, 0.88));
    padding: 1.25rem 1.3rem 1.15rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.es-plan-card.is-featured {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 22px 50px rgba(14, 165, 233, 0.18);
}
.es-plan-ribbon {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    padding: 0.18rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #042f2e;
}
.es-plan-chips { margin-top: 0.9rem; display: grid; gap: 0.4rem; }
.es-plan-chips li {
    border-radius: 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 0.4rem 0.55rem;
    font-size: 0.72rem;
    color: rgba(226, 232, 240, 0.78);
}

.es-server-grid { display: grid; gap: 0.9rem; }
@media (min-width: 900px) { .es-server-grid { grid-template-columns: 1fr 1fr; } }
.es-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1rem; }
.es-spec-grid dt { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #67e8f9; }
.es-spec-grid dd { margin-top: 0.15rem; font-size: 0.8rem; color: #e2e8f0; }

.es-invoice-list { display: grid; gap: 0.75rem; }
.es-invoice-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 1.15rem;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 1rem 1.1rem;
    text-decoration: none;
}
.es-invoice-layout { display: grid; gap: 1rem; }
@media (min-width: 960px) { .es-invoice-layout { grid-template-columns: 1.2fr 0.8fr; } }
.es-invoice-totals { margin-top: 1.1rem; display: grid; gap: 0.45rem; }
.es-invoice-totals div { display: flex; justify-content: space-between; font-size: 0.88rem; color: #475569; }
.es-invoice-totals .is-total { margin-top: 0.35rem; padding-top: 0.55rem; border-top: 1px solid #e2e8f0; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; font-weight: 700; color: #0c4a6e; }
.es-pay-panel {
    border-radius: 1.35rem;
    border: 1px solid #67e8f9;
    background: linear-gradient(180deg, #ecfeff, #fff);
    padding: 1.25rem;
    box-shadow: 0 16px 40px rgba(8, 145, 178, 0.12);
}
.es-pay-choice {
    display: flex;
    cursor: pointer;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 0.95rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.8rem;
}
.es-inv-muted { display: inline-flex; border-radius: 999px; background: #e2e8f0; padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 700; color: #475569; }

.es-split { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
    .es-split { grid-template-columns: 18.5rem 1fr; align-items: start; }
}
.es-split-list {
    border-radius: 1.25rem;
    border: 1px solid #dbeafe;
    background: #fff;
    overflow: hidden;
}
.es-split-list__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}
.es-split-scroll { max-height: 70vh; overflow: auto; }
.es-split-item {
    display: block;
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}
.es-split-item.is-active { background: linear-gradient(90deg, rgba(14, 165, 233, 0.1), transparent); box-shadow: inset 3px 0 0 #22d3ee; }
.es-split-thread { min-width: 0; }

.es-control-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
}
.es-quick-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.es-quick-action {
    border-radius: 999px;
    border: 1px solid #bae6fd;
    background: #fff;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0369a1;
    text-decoration: none;
}
.es-quick-action.is-primary { background: linear-gradient(135deg, #0ea5e9, #0f766e); border-color: transparent; color: #fff; }
.es-live-pill i.is-idle { background: #94a3b8 !important; box-shadow: none !important; animation: none !important; }

.es-notify { position: relative; }
.es-notify-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid #bae6fd;
    background: #fff;
    color: #0369a1;
}
.es-notify-dot {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1.05rem;
    text-align: center;
}
.es-notify-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 40;
    width: min(20.5rem, calc(100vw - 2rem));
    border-radius: 1rem;
    border: 1px solid #dbeafe;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}
.es-notify-head {
    padding: 0.7rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0369a1;
    border-bottom: 1px solid #e2e8f0;
}
.es-notify-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}
.es-notify-item__label { font-size: 0.82rem; font-weight: 600; color: #0f172a; }
.es-notify-item__meta { font-size: 0.7rem; color: #64748b; }
.es-notify-empty { padding: 0.9rem; font-size: 0.8rem; color: #64748b; }

.es-360-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.es-scroll-tabs { flex-wrap: nowrap; }
.es-360-tab {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.es-360-tab.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
    color: #fff;
}
.es-360-dl { display: grid; gap: 0.85rem; }
@media (min-width: 640px) { .es-360-dl { grid-template-columns: 1fr 1fr; } }
.es-360-dl dt { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.es-360-dl dd { margin-top: 0.2rem; color: #0f172a; }

.es-ledger { display: grid; gap: 0.55rem; }
.es-ledger-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.82rem;
    color: #475569;
}
@media (min-width: 480px) {
    .es-ledger-row { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
}
.es-ledger-amt { font-weight: 700; color: #0f172a; white-space: nowrap; }
.es-ledger-amt.is-credit { color: #047857; }
.es-ledger-amt.is-debit { color: #be123c; }
.es-wallet-hero-bal { text-align: left; }
@media (min-width: 640px) { .es-wallet-hero-bal { text-align: right; } }

.es-cart-layout { display: grid; gap: 1rem; }
@media (min-width: 900px) {
    .es-cart-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}

.es-auth-mesh { width: min(16rem, 82%); height: auto; position: relative; z-index: 1; }

.es-panel-dock { display: none; }
@media (max-width: 1023px) {
    .es-panel-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.15rem;
        padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom));
        border-top: 1px solid #dbeafe;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
    }
    body.es-app-shell:has(.es-panel-dock) { padding-bottom: 4.75rem; }
}
.es-panel-dock a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    border-radius: 0.7rem;
    padding: 0.35rem 0.2rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 700;
}
.es-panel-dock a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-panel-dock a.is-active { color: #0369a1; background: #e0f2fe; }
html.dark .es-panel-dock { background: rgba(8, 12, 22, 0.94); border-color: rgba(148, 163, 184, 0.16); }
.es-app-shell.es-v2 .es-app-topbar {
    backdrop-filter: blur(18px);
}
html.dark .es-panel-dock a { color: #94a3b8; }
html.dark .es-panel-dock a.is-active { color: #7dd3fc; background: rgba(14, 165, 233, 0.16); }

html.dark .es-app-shell.es-v2 .es-invoice-card,
html.dark .es-app-shell.es-v2 .es-split-list,
html.dark .es-app-shell.es-v2 .es-pay-choice,
html.dark .es-app-shell.es-v2 .es-pay-panel,
html.dark .es-app-shell.es-v2 .es-notify-btn,
html.dark .es-app-shell.es-v2 .es-notify-menu,
html.dark .es-app-shell.es-v2 .es-360-tab { background: rgba(12, 16, 28, 0.9); border-color: rgba(148, 163, 184, 0.16); }
html.dark .es-app-shell.es-v2 .es-invoice-card .text-slate-900,
html.dark .es-app-shell.es-v2 .es-split-item .text-slate-900,
html.dark .es-app-shell.es-v2 .es-notify-item__label,
html.dark .es-app-shell.es-v2 .es-360-dl dd { color: #f8fafc !important; }
html.dark .es-app-shell.es-v2 .es-360-tab.is-active { background: linear-gradient(135deg, #0ea5e9, #0f766e); color: #fff; }

.es-usage {
    height: 0.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}
.es-usage i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
}
.es-invoice-card.is-unread { box-shadow: inset 3px 0 0 #0ea5e9; }
.es-legal-link {
    display: block;
    border-radius: 0.85rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.7);
    text-decoration: none;
}
.es-legal-link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.es-legal-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

body.es-velaris.es-v2 .es-pay-panel {
    border-color: rgba(125, 211, 252, 0.22);
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.82), rgba(8, 11, 18, 0.92));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    color: #e2e8f0;
}
body.es-velaris.es-v2 .es-pay-choice {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}
body.es-velaris.es-v2 .es-invoice-totals div { color: rgba(255, 255, 255, 0.65); }
body.es-velaris.es-v2 .es-invoice-totals .is-total {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: #67e8f9;
}
html.light body.es-velaris.es-v2 .es-pay-panel {
    border-color: #67e8f9;
    background: linear-gradient(180deg, #ecfeff, #fff);
    color: #0f172a;
    box-shadow: 0 16px 40px rgba(8, 145, 178, 0.12);
}
html.light body.es-velaris.es-v2 .es-pay-choice {
    border-color: #e2e8f0;
    background: #fff;
}
html.light body.es-velaris.es-v2 .es-invoice-totals div { color: #475569; }
html.light body.es-velaris.es-v2 .es-invoice-totals .is-total {
    border-top-color: #e2e8f0;
    color: #0c4a6e;
}

.es-app-shell.es-v2 .es-form-shell {
    border-radius: 1.25rem;
    border: 1px solid rgba(186, 230, 253, 0.9);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
}
.es-app-shell.es-v2 .es-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}
html.dark .es-app-shell.es-v2 .es-label { color: #cbd5e1; }
.es-app-shell.es-v2 .es-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}
.es-app-shell.es-v2 .es-check input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #0ea5e9;
}
html.dark .es-app-shell.es-v2 .es-check { color: #e2e8f0; }
.es-app-shell.es-v2 .es-choice {
    border-color: #bae6fd;
    background: rgba(255, 255, 255, 0.78);
    color: #334155;
}
.es-app-shell.es-v2 .es-choice:hover {
    border-color: rgba(14, 165, 233, 0.55);
    background: #fff;
}
.es-app-shell.es-v2 .es-choice.is-active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0e7490;
}
html.dark .es-app-shell.es-v2 .es-choice {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(11, 16, 32, 0.86);
    color: #cbd5e1;
}
html.dark .es-app-shell.es-v2 .es-choice:hover {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(14, 22, 42, 0.95);
}
html.dark .es-app-shell.es-v2 .es-choice.is-active {
    border-color: #22d3ee;
    background: rgba(8, 47, 73, 0.72);
    color: #a5f3fc;
    box-shadow: 0 10px 24px rgba(8, 145, 178, 0.18);
}
.es-app-shell.es-v2 .es-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.es-app-shell.es-v2 input[type="file"].es-field {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    color: inherit;
}
.es-pager { margin-top: 0.25rem; }
.es-pager__mobile { display: flex; justify-content: space-between; gap: 0.75rem; }
.es-pager__desktop { display: none; }
@media (min-width: 640px) {
    .es-pager__mobile { display: none; }
    .es-pager__desktop { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
}
.es-pager__meta { font-size: 0.8rem; color: #64748b; }
.es-pager__links { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.es-pager__btn {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #bae6fd;
    background: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0369a1;
    text-decoration: none;
}
.es-pager__btn.is-active {
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    border-color: transparent;
    color: #fff;
}
.es-pager__btn.is-disabled { opacity: 0.45; pointer-events: none; }
html.dark .es-app-shell.es-v2 .es-pager__btn {
    background: #0b1020;
    border-color: rgba(56, 189, 248, 0.28);
    color: #7dd3fc;
}
html.dark .es-app-shell.es-v2 .es-pager__meta { color: #94a3b8; }

body.es-velaris.es-v2 .es-table-light td,
body.es-velaris.es-v2 .es-table-light .text-slate-700,
body.es-velaris.es-v2 .es-table-light .text-slate-800 {
    color: rgba(236, 253, 245, 0.82);
}
body.es-v2.es-grid-bg .es-field {
    width: 100%;
    min-height: 2.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(8, 12, 22, 0.72);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #f8fafc;
    outline: none;
}
body.es-v2.es-grid-bg .es-field:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.es-app-shell.es-v2 .es-service-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(186, 230, 253, 0.9);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
}
.es-app-shell.es-v2 .es-toolbar { gap: 0.45rem; }
.es-choice--stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 0.85rem;
    text-align: left;
}
.es-filter-chip--lg {
    min-height: 2.75rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.875rem;
    border-radius: 0.9rem;
}
html.dark .es-app-shell.es-v2 .es-empty-glow {
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 42%),
        rgba(12, 16, 28, 0.72);
    border-color: rgba(56, 189, 248, 0.28);
}
html.dark .es-app-shell.es-v2 .es-filter-chip {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(11, 16, 32, 0.86);
    color: #cbd5e1;
}
html.dark .es-app-shell.es-v2 .es-filter-chip.is-active {
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
    border-color: transparent;
    color: #fff;
}
body.es-velaris.es-v2 .es-choice {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
}
body.es-velaris.es-v2 .es-choice:hover {
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(255, 255, 255, 0.1);
}
body.es-velaris.es-v2 .es-choice.is-active {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(8, 145, 178, 0.28);
    color: #ecfeff;
    box-shadow: 0 10px 24px rgba(8, 145, 178, 0.18);
}
body.es-velaris.es-v2 .es-filter-chip {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
body.es-velaris.es-v2 .es-filter-chip.is-active {
    background: linear-gradient(135deg, #0ea5e9, #0f766e);
    border-color: transparent;
    color: #fff;
}
html.light body.es-velaris.es-v2 .es-choice {
    border-color: #bae6fd;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
}
html.light body.es-velaris.es-v2 .es-choice.is-active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0e7490;
}
html.light body.es-velaris.es-v2 .es-filter-chip {
    border-color: #bae6fd;
    background: #fff;
    color: #075985;
}
html.dark .es-app-shell.es-v2 .es-service-card {
    background: rgba(12, 16, 28, 0.9);
    border-color: rgba(148, 163, 184, 0.16);
}
html.dark .es-app-shell.es-v2 .es-ticket-preview,
html.dark .es-app-shell.es-v2 .es-split-preview,
html.dark .es-app-shell.es-v2 .es-composer__count,
html.dark .es-app-shell.es-v2 .es-composer__hint { color: #94a3b8; }
html.dark .es-app-shell.es-v2 .es-chat-day span { background: rgba(14, 165, 233, 0.16); color: #7dd3fc; }
html.dark .es-app-shell.es-v2 .es-ticket-closed {
    background: rgba(12, 16, 28, 0.7);
    border-color: rgba(148, 163, 184, 0.22);
}
html.dark .es-app-shell.es-v2 .es-ticket-closed strong { color: #f8fafc; }
html.dark .es-app-shell.es-v2 .es-bubble-staff {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}
html.dark .es-app-shell.es-v2 .es-ticket-card.is-waiting { border-color: #f59e0b; }

@media (prefers-reduced-motion: reduce) {
    .es-infra__grid,
    .es-infra__orb,
    .es-infra-line,
    .es-spotlight::before { animation: none !important; }
    .es-card-service:hover,
    .es-ticket-card:hover,
    .es-kpi:hover,
    .es-stat:hover { transform: none; }
}
