/* Zapp Client – Free-style web portal */

:root {
    --z-red: #E0002F;
    --z-red-dark: #B80015;
    --z-red-soft: #FFF0F2;
    --z-bg: #F8F9FA;
    --z-surface: #FFFFFF;
    --z-text: #1A1A1A;
    --z-muted: #6B7280;
    --z-border: #ECECEC;
    --z-green: #00A651;
    --z-green-soft: #E8F8EF;
    --z-radius: 20px;
    --z-radius-sm: 12px;
    --z-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --z-topbar: 68px;
    --z-content: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

.zapp-app {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--z-bg);
    color: var(--z-text);
    min-height: 100vh;
}

/* ===== TOP BAR ===== */
.zapp-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--z-surface);
    border-bottom: 1px solid var(--z-border);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.zapp-topbar__inner {
    max-width: var(--z-content);
    margin: 0 auto;
    height: var(--z-topbar);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.zapp-topbar__logo img.brand-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 148px;
    object-fit: contain;
}

.zapp-topnav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.zapp-topnav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.zapp-topnav__link:hover { color: var(--z-text); background: var(--z-bg); }
.zapp-topnav__link.is-active { color: var(--z-red); background: var(--z-red-soft); }
.zapp-topnav__link svg { flex-shrink: 0; }

.zapp-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.zapp-topbar__icon-btn {
    position: relative;
    color: var(--z-text);
    display: flex;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background 0.15s;
}
.zapp-topbar__icon-btn:hover { background: var(--z-bg); }
.zapp-topbar__badge {
    position: absolute; top: 0; right: 0;
    min-width: 16px; height: 16px;
    background: var(--z-red); color: #fff;
    font-size: 0.6rem; font-weight: 700;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
}

.zapp-topbar__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--z-red); color: #fff;
    font-size: 0.8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(224, 0, 47, 0.25);
}

/* Identity chip — companie + utilizator, un singur pill */
.zapp-id-chip {
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s, transform 0.1s, border-color 0.15s;
}
a.zapp-id-chip:hover {
    border-color: rgba(224, 0, 47, 0.2);
    box-shadow: 0 4px 14px rgba(224, 0, 47, 0.12);
    transform: translateY(-1px);
}
.zapp-id-chip__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.zapp-id-chip__brand img {
    height: 22px;
    width: auto;
    max-width: 108px;
    min-width: 56px;
    object-fit: contain;
    object-position: center;
    display: block;
}
.zapp-id-chip__mono {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--z-red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.zapp-id-chip__user {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--z-red);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.zapp-id-chip--sm .zapp-id-chip__brand {
    min-height: 36px;
    padding: 0 10px 0 12px;
}
.zapp-id-chip--sm .zapp-id-chip__brand img {
    height: 20px;
    max-width: 92px;
}
.zapp-id-chip--sm .zapp-id-chip__user {
    width: 36px;
    font-size: 0.68rem;
}
.zapp-id-chip--lg .zapp-id-chip__brand {
    min-height: 56px;
    padding: 0 18px 0 20px;
}
.zapp-id-chip--lg .zapp-id-chip__brand img {
    height: 30px;
    max-width: 160px;
    min-width: 80px;
}
.zapp-id-chip--lg .zapp-id-chip__user {
    width: 56px;
    font-size: 0.95rem;
}
.zapp-id-chip--solo {
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 50%;
    overflow: visible;
}
.zapp-id-chip--solo .zapp-id-chip__user {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(224, 0, 47, 0.28);
    font-size: 0.78rem;
}
a.zapp-id-chip--solo:hover {
    transform: translateY(-1px);
    box-shadow: none;
}
a.zapp-id-chip--solo:hover .zapp-id-chip__user {
    box-shadow: 0 4px 14px rgba(224, 0, 47, 0.35);
}

/* ===== MAIN (centered web content) ===== */
.zapp-main {
    max-width: var(--z-content);
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    min-width: 0;
}

/* ===== FREE GREETING ===== */
.zapp-greeting {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.75rem;
    letter-spacing: -0.02em;
    color: var(--z-text);
}
.zapp-greeting__name {
    color: var(--z-red);
    font-weight: 800;
}

/* ===== HERO SERVICE CARD ===== */
.zapp-hero-service {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s, transform 0.15s;
}
.zapp-hero-service:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-1px);
}

.zapp-hero-service__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
    flex-shrink: 0;
}
.zapp-hero-service__icon--red { background: #FEE2E2; color: var(--z-red); }
.zapp-hero-service__icon--purple { background: #EDE9FE; color: #7C3AED; }
.zapp-hero-service__icon--blue { background: #DBEAFE; color: #2563EB; }
.zapp-hero-service__icon--green { background: #D1FAE5; color: #059669; }
.zapp-hero-service__icon--amber { background: #FEF3C7; color: #D97706; }

.zapp-hero-service__body { flex: 1; min-width: 0; }
.zapp-hero-service__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.zapp-hero-service__sub {
    font-size: 0.875rem;
    color: var(--z-muted);
    margin-bottom: 0.4rem;
}

/* ===== SECTION HEAD ===== */
.zapp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.zapp-section-head__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}
.zapp-section-head__action {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--z-text);
    text-decoration: none;
    line-height: 1;
}
.zapp-section-head__action:hover { background: var(--z-border); }
.zapp-section-head__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.zapp-section-head__action--text {
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--z-red-soft);
    color: var(--z-red);
}

/* ===== SERVICE ORDER ===== */
.svc-order-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--z-red), var(--z-red-dark));
    color: #fff;
    border-radius: var(--z-radius);
    text-decoration: none;
    box-shadow: var(--z-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
}
.svc-order-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(225,29,72,0.25);
    color: #fff;
}
.svc-order-cta__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.svc-order-cta__body { flex: 1; min-width: 0; }
.svc-order-cta__body strong { display: block; font-size: 0.95rem; }
.svc-order-cta__body small { display: block; font-size: 0.8rem; opacity: 0.9; margin-top: 0.15rem; }
.svc-order-cta__go { opacity: 0.85; flex-shrink: 0; }

/* ===== ORDER SHOP (modern) ===== */
.order-shop {
    --order-accent: var(--z-red);
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

.order-hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--z-radius) + 4px);
    margin-bottom: 1.5rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
}
.order-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(224,0,47,0.14), transparent 55%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(37,99,235,0.1), transparent 50%),
        linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    pointer-events: none;
}
.order-hero__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.35rem 0;
}
.order-hero__back,
.order-hero__wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--z-border);
    backdrop-filter: blur(8px);
    transition: color 0.15s, border-color 0.15s;
}
.order-hero__back:hover,
.order-hero__wallet:hover { color: var(--z-text); border-color: #d1d5db; }
.order-hero__wallet { color: var(--z-red); background: var(--z-red-soft); border-color: transparent; }
.order-hero__body {
    position: relative;
    padding: 1.25rem 1.35rem 1.5rem;
}
.order-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-red);
}
.order-hero__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.order-hero__sub {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    color: var(--z-muted);
    max-width: 36rem;
    line-height: 1.5;
}
.order-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}
.order-hero__stat {
    font-size: 0.78rem;
    color: var(--z-muted);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--z-border);
}
.order-hero__stat strong {
    color: var(--z-text);
    font-weight: 800;
    margin-right: 0.2rem;
}

.order-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: var(--z-surface);
    border-radius: 999px;
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
}
.order-steps__item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--z-muted);
    font-size: 0.78rem;
    font-weight: 600;
}
.order-steps__item.is-current { color: var(--z-red); }
.order-steps__item.is-done .order-steps__num {
    background: var(--z-green-soft);
    color: var(--z-green);
    border-color: transparent;
}
.order-steps__num {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--z-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.order-steps__item.is-current .order-steps__num {
    background: var(--z-red);
    color: #fff;
    border-color: var(--z-red);
    box-shadow: 0 0 0 4px var(--z-red-soft);
}
.order-steps__label { display: none; }
.order-steps__line {
    width: 28px; height: 2px;
    background: var(--z-border);
    margin: 0 0.35rem;
    border-radius: 1px;
    transition: background 0.2s;
}
.order-steps__line.is-done { background: var(--z-green); }

.order-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--z-muted);
}
.order-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.order-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}
.order-section-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.order-section-title--sm { font-size: 0.98rem; margin-bottom: 0.15rem; }

.order-cats { margin-bottom: 1.75rem; }
.order-cats__scroll {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.order-cats__scroll::-webkit-scrollbar { display: none; }

.order-cat {
    flex: 0 0 auto;
    min-width: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 0.85rem;
    border-radius: var(--z-radius-sm);
    background: var(--z-surface);
    border: 2px solid var(--z-border);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.order-cat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.order-cat.is-active {
    border-color: var(--z-red);
    box-shadow: 0 0 0 3px var(--z-red-soft);
}
.order-cat[data-tone="purple"].is-active { border-color: #7C3AED; box-shadow: 0 0 0 3px #EDE9FE; }
.order-cat[data-tone="blue"].is-active { border-color: #2563EB; box-shadow: 0 0 0 3px #DBEAFE; }
.order-cat[data-tone="green"].is-active { border-color: #059669; box-shadow: 0 0 0 3px #D1FAE5; }
.order-cat[data-tone="amber"].is-active { border-color: #D97706; box-shadow: 0 0 0 3px #FEF3C7; }
.order-cat__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.order-cat__icon--neutral { background: var(--z-bg); color: var(--z-muted); }
.order-cat__icon--red { background: #FEE2E2; color: var(--z-red); }
.order-cat__icon--purple { background: #EDE9FE; color: #7C3AED; }
.order-cat__icon--blue { background: #DBEAFE; color: #2563EB; }
.order-cat__icon--green { background: #D1FAE5; color: #059669; }
.order-cat__icon--amber { background: #FEF3C7; color: #D97706; }
.order-cat__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
.order-cat__count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--z-muted);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--z-bg);
}

.order-packs { margin-bottom: 2rem; }
.order-packs__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.order-packs__head-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.order-packs__head-icon--red { background: #FEE2E2; color: var(--z-red); }
.order-packs__head-icon--purple { background: #EDE9FE; color: #7C3AED; }
.order-packs__head-icon--blue { background: #DBEAFE; color: #2563EB; }
.order-packs__head-icon--green { background: #D1FAE5; color: #059669; }
.order-packs__head-icon--amber { background: #FEF3C7; color: #D97706; }
.order-packs__desc {
    margin: 0;
    font-size: 0.82rem;
    color: var(--z-muted);
    line-height: 1.4;
}

.order-packs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.order-pack {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    border-radius: var(--z-radius);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.order-pack::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--z-border);
    transition: background 0.2s;
}
.order-pack--red::before { background: linear-gradient(90deg, var(--z-red), #ff4d6d); }
.order-pack--purple::before { background: linear-gradient(90deg, #7C3AED, #a78bfa); }
.order-pack--blue::before { background: linear-gradient(90deg, #2563EB, #60a5fa); }
.order-pack--green::before { background: linear-gradient(90deg, #059669, #34d399); }
.order-pack--amber::before { background: linear-gradient(90deg, #D97706, #fbbf24); }
.order-pack:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.order-pack.is-selected {
    border-color: var(--z-red);
    box-shadow: 0 0 0 3px var(--z-red-soft), 0 12px 32px rgba(224,0,47,0.1);
}
.order-pack--purple.is-selected { border-color: #7C3AED; box-shadow: 0 0 0 3px #EDE9FE, 0 12px 32px rgba(124,58,237,0.12); }
.order-pack--blue.is-selected { border-color: #2563EB; box-shadow: 0 0 0 3px #DBEAFE, 0 12px 32px rgba(37,99,235,0.12); }
.order-pack--green.is-selected { border-color: #059669; box-shadow: 0 0 0 3px #D1FAE5, 0 12px 32px rgba(5,150,105,0.12); }
.order-pack--amber.is-selected { border-color: #D97706; box-shadow: 0 0 0 3px #FEF3C7, 0 12px 32px rgba(217,119,6,0.12); }

.order-pack__ribbon {
    position: absolute;
    top: 12px; right: -28px;
    transform: rotate(35deg);
    background: linear-gradient(90deg, var(--z-red), var(--z-red-dark));
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 2rem;
    box-shadow: 0 2px 8px rgba(224,0,47,0.3);
}
.order-pack__selected {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--z-green);
    background: var(--z-green-soft);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}
.order-pack__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.order-pack__type {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--z-muted);
}
.order-pack__price { text-align: right; line-height: 1; }
.order-pack__amount {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.order-pack__period {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--z-muted);
}
.order-pack__name {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}
.order-pack__features {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    flex: 1;
}
.order-pack__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--z-muted);
    line-height: 1.4;
    margin-bottom: 0.35rem;
}
.order-pack__features li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--z-green); }
.order-pack__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--z-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--z-text);
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    margin-top: auto;
}
.order-pack__cta:hover {
    background: var(--z-surface);
    border-color: #ccc;
}
.order-pack__cta--selected,
.order-pack.is-selected .order-pack__cta {
    background: var(--z-red);
    color: #fff;
    border-color: var(--z-red);
}
.order-pack--purple.is-selected .order-pack__cta--selected,
.order-pack--purple.is-selected .order-pack__cta { background: #7C3AED; border-color: #7C3AED; }
.order-pack--blue.is-selected .order-pack__cta--selected,
.order-pack--blue.is-selected .order-pack__cta { background: #2563EB; border-color: #2563EB; }
.order-pack--green.is-selected .order-pack__cta--selected,
.order-pack--green.is-selected .order-pack__cta { background: #059669; border-color: #059669; }
.order-pack--amber.is-selected .order-pack__cta--selected,
.order-pack--amber.is-selected .order-pack__cta { background: #D97706; border-color: #D97706; }

.order-checkout { position: sticky; top: calc(var(--z-topbar) + 1rem); }
.order-checkout__card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    overflow: hidden;
}
.order-checkout__hero {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem;
    color: #fff;
}
.order-checkout__hero--red { background: linear-gradient(135deg, var(--z-red), #9f1239); }
.order-checkout__hero--purple { background: linear-gradient(135deg, #7C3AED, #4c1d95); }
.order-checkout__hero--blue { background: linear-gradient(135deg, #2563EB, #1e3a8a); }
.order-checkout__hero--green { background: linear-gradient(135deg, #059669, #064e3b); }
.order-checkout__hero--amber { background: linear-gradient(135deg, #D97706, #92400e); }
.order-checkout__hero-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.order-checkout__step {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}
.order-checkout__title {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}
.order-checkout__meta {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    opacity: 0.9;
}
.order-checkout__body { padding: 1.15rem 1.25rem 1.25rem; }

.order-field { margin-bottom: 0.9rem; }

.order-cnp-hint {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: #16a34a;
    line-height: 1.4;
}
.order-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--z-muted);
    margin-bottom: 0.35rem;
}
.order-field input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.order-field input:focus, .order-field select:focus {
    outline: none;
    border-color: var(--z-red);
    background: #fff;
    box-shadow: 0 0 0 3px var(--z-red-soft);
}
.order-field select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    background: #fafafa;
}

.order-type-panel {
    display: none;
    margin-bottom: 0.9rem;
    padding: 0.85rem;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    border: 1px dashed var(--z-border);
}
.order-type-panel.is-visible { display: block; }
.order-type-panel__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--z-muted);
}
.order-address-block {
    margin-bottom: 0.9rem;
    padding: 0.85rem;
    border-radius: var(--z-radius-sm);
    background: #fafafa;
    border: 1px solid var(--z-border);
}

.order-coverage { margin-top: 0.75rem; }
.order-coverage__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border-radius: var(--z-radius-sm);
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #3730a3;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.order-coverage__btn:hover:not(:disabled) { background: #e0e7ff; border-color: #a5b4fc; }
.order-coverage__btn:disabled { opacity: 0.65; cursor: wait; }
.order-coverage__result {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--z-radius-sm);
    font-size: 0.8rem;
    line-height: 1.45;
}
.order-coverage__result--covered { background: var(--z-green-soft); border: 1px solid #a7f3d0; color: #047857; }
.order-coverage__result--partial, .order-coverage__result--national { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.order-coverage__result--none, .order-coverage__result--invalid { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.order-coverage__result strong { display: block; margin-bottom: 0.15rem; }
.order-coverage__result p { margin: 0; }
.order-coverage__checksum {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.65);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.order-coverage__hint {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    color: var(--z-muted);
}

.order-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.order-segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.25rem;
    background: var(--z-bg);
    border-radius: var(--z-radius-sm);
    border: 1px solid var(--z-border);
}
.order-segment__opt {
    cursor: pointer;
}
.order-segment__opt input { display: none; }
.order-segment__opt span {
    display: block;
    text-align: center;
    padding: 0.55rem 0.5rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--z-muted);
    transition: background 0.15s, color 0.15s;
}
.order-segment__opt input:checked + span {
    background: var(--z-surface);
    color: var(--z-red);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.order-domain-block {
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--z-border);
}

.order-domain-block__lead {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--z-muted);
}

.order-domain-options {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.order-domain-opt {
    display: block;
    cursor: pointer;
}

.order-domain-opt input { display: none; }

.order-domain-opt__body {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.order-domain-opt__body strong {
    display: block;
    font-size: 0.84rem;
    color: var(--z-text);
}

.order-domain-opt__body small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--z-muted);
}

.order-domain-opt.is-active .order-domain-opt__body,
.order-domain-opt input:checked + .order-domain-opt__body {
    border-color: var(--z-red);
    background: var(--z-red-soft);
    box-shadow: 0 0 0 1px rgba(224, 0, 47, 0.08);
}

.order-domain-panel {
    display: none;
    margin-bottom: 0.65rem;
}

.order-domain-panel.is-visible {
    display: block;
    animation: orderDomainIn 0.2s ease both;
}

@keyframes orderDomainIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-domain-sub-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.order-domain-sub-row input {
    flex: 1;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.order-domain-sub-suffix {
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    border: 1px solid var(--z-border);
    border-left: 0;
    border-radius: 0 var(--z-radius-sm) var(--z-radius-sm) 0;
    background: var(--z-bg);
    color: var(--z-muted);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-domain-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0.25rem 0 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--z-radius-sm);
    background: rgba(224, 0, 47, 0.06);
    border: 1px solid rgba(224, 0, 47, 0.14);
    font-size: 0.82rem;
}

.order-domain-preview__label {
    color: var(--z-muted);
}

.order-field__hint {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--z-muted);
}

.order-field__hint code {
    font-size: 0.85em;
    color: var(--z-text);
}

.order-pay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.order-pay__card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.65rem;
    border: 2px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.order-pay__card input { display: none; }
.order-pay__card.is-active {
    border-color: var(--z-red);
    background: var(--z-red-soft);
}
.order-pay__card.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.order-pay__icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--z-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-red);
    flex-shrink: 0;
}
.order-pay__text strong { display: block; font-size: 0.78rem; }
.order-pay__text small { display: block; font-size: 0.68rem; color: var(--z-muted); margin-top: 0.05rem; }

.order-duration {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.order-duration__opt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 2px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.order-duration__opt input { display: none; }
.order-duration__opt.is-active {
    border-color: var(--z-red);
    background: var(--z-red-soft);
}
.order-duration__body strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--z-text);
}
.order-duration__body small {
    display: block;
    font-size: 0.72rem;
    color: var(--z-muted);
    margin-top: 0.1rem;
}

.order-checkout__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    margin: 0.25rem 0 0.75rem;
    border-top: 1px dashed var(--z-border);
    font-size: 0.88rem;
    color: var(--z-muted);
}
.order-checkout__total strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--z-text);
}
.order-checkout__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: var(--z-radius-sm);
    background: linear-gradient(135deg, var(--z-red), var(--z-red-dark));
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(224,0,47,0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.order-checkout__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(224,0,47,0.4);
}
.order-checkout__submit:disabled,
.order-checkout__submit.is-loading {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}
.order-checkout__note {
    margin: 0.75rem 0 0;
    font-size: 0.72rem;
    color: var(--z-muted);
    text-align: center;
    line-height: 1.45;
}

.order-checkout__empty {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 2px dashed var(--z-border);
}
.order-checkout__empty-visual {
    position: relative;
    width: 88px; height: 88px;
    margin: 0 auto 1.25rem;
}
.order-checkout__empty-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed #e5e7eb;
    animation: order-spin 12s linear infinite;
}
@keyframes order-spin {
    to { transform: rotate(360deg); }
}
.order-checkout__empty-icon {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
}
.order-checkout__empty h2 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
}
.order-checkout__empty p {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: var(--z-muted);
    line-height: 1.45;
}
.order-checkout__hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}
.order-checkout__hints span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--z-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--z-bg);
}

.order-mobile-cta {
    display: none;
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 150;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--z-red), var(--z-red-dark));
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(224,0,47,0.45);
}

/* ===== ORDER COMPLETE ===== */
.order-done {
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.order-done__hero {
    text-align: center;
    margin-bottom: 1.5rem;
}
.order-done__check {
    width: 72px; height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--z-green-soft);
    color: var(--z-green);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 8px rgba(0,166,81,0.12);
    animation: order-pop 0.45s ease-out;
}
@keyframes order-pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.order-done__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.order-done__sub {
    margin: 0;
    font-size: 0.92rem;
    color: var(--z-muted);
    line-height: 1.5;
}
.order-done__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: var(--z-radius);
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}
.order-done__card--red { background: linear-gradient(135deg, var(--z-red), #9f1239); }
.order-done__card--purple { background: linear-gradient(135deg, #7C3AED, #4c1d95); }
.order-done__card--blue { background: linear-gradient(135deg, #2563EB, #1e3a8a); }
.order-done__card--green { background: linear-gradient(135deg, #059669, #064e3b); }
.order-done__card--amber { background: linear-gradient(135deg, #D97706, #92400e); }
.order-done__card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.order-done__card-body { flex: 1; min-width: 0; }
.order-done__card-type {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}
.order-done__card-name {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
}
.order-done__card-meta {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    opacity: 0.9;
}
.order-done__status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.order-done__summary {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 0.25rem 1.15rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--z-shadow);
}
.order-done__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 0.88rem;
    color: var(--z-muted);
    border-bottom: 1px solid var(--z-border);
}
.order-done__row:last-child { border-bottom: none; }
.order-done__row strong { color: var(--z-text); font-weight: 700; }
.order-done__next {
    background: var(--z-bg);
    border-radius: var(--z-radius-sm);
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
}
.order-done__next h3 {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 800;
}
.order-done__steps {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.82rem;
    color: var(--z-muted);
    line-height: 1.55;
}
.order-done__steps li { margin-bottom: 0.35rem; }
.order-done__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

/* ===== EQUIPMENT GRID (Free style) ===== */
.zapp-equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.zapp-equip-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.zapp-equip-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
    padding: 1.25rem 1rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.zapp-equip-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.zapp-equip-card__visual {
    width: 80px; height: 80px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #f5f5f5, #ebebeb);
    display: flex; align-items: center; justify-content: center;
    color: #888;
}

.zapp-equip-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.zapp-equip-card__meta {
    font-size: 0.75rem;
    color: var(--z-muted);
    margin-bottom: 0.25rem;
}
.zapp-equip-card__type {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--z-muted);
    margin-bottom: 0.35rem;
}
.zapp-equip-card__visual--red { background: linear-gradient(145deg, #FEE2E2, #FECACA); color: var(--z-red); }
.zapp-equip-card__visual--purple { background: linear-gradient(145deg, #EDE9FE, #DDD6FE); color: #7C3AED; }
.zapp-equip-card__visual--blue { background: linear-gradient(145deg, #DBEAFE, #BFDBFE); color: #2563EB; }
.zapp-equip-card__visual--green { background: linear-gradient(145deg, #D1FAE5, #A7F3D0); color: #059669; }
.zapp-equip-card__visual--amber { background: linear-gradient(145deg, #FEF3C7, #FDE68A); color: #D97706; }
.zapp-equip-card--purple:hover { box-shadow: 0 8px 24px rgba(124,58,237,0.12); }
.zapp-equip-card--blue:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.12); }
.zapp-equip-card--green:hover { box-shadow: 0 8px 24px rgba(5,150,105,0.12); }
.zapp-equip-card--amber:hover { box-shadow: 0 8px 24px rgba(217,119,6,0.12); }

/* Category filter nav */
.svc-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.svc-cat-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--z-muted);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.svc-cat-nav__link:hover { color: var(--z-text); border-color: #CCC; }
.svc-cat-nav__link.is-active {
    color: #fff;
    background: var(--z-red);
    border-color: var(--z-red);
}
.svc-cat-nav__link--purple.is-active { background: #7C3AED; border-color: #7C3AED; }
.svc-cat-nav__link--blue.is-active { background: #2563EB; border-color: #2563EB; }
.svc-cat-nav__link--green.is-active { background: #059669; border-color: #059669; }
.svc-cat-nav__link--amber.is-active { background: #D97706; border-color: #D97706; }
.svc-cat-nav__count {
    font-size: 0.72rem;
    opacity: 0.85;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
}
.svc-cat-nav__link.is-active .svc-cat-nav__count { background: rgba(255,255,255,0.2); }

/* ===== STATUS PILLS ===== */
.zapp-pill {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0;
}
.zapp-pill--ok { color: var(--z-green); }
.zapp-pill--pending { color: #D97706; }
.zapp-pill--warn { color: #B45309; background: #FEF3C7; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.72rem; }
.zapp-pill--off {
    color: #fff;
    background: #F5A5A5;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

/* ===== FEATURE DUO ===== */
.zapp-feature-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.zapp-feature-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}
.zapp-feature-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.zapp-feature-card__icon {
    width: 48px; height: 48px;
    margin-bottom: 0.85rem;
    color: var(--z-muted);
}
.zapp-feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.zapp-feature-card__sub {
    font-size: 0.85rem;
    color: var(--z-muted);
}

/* ===== SLIM CARDS ===== */
.zapp-slim-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.75rem;
    transition: box-shadow 0.15s;
}
.zapp-slim-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.07); }
.zapp-slim-card--alert { border-left: 4px solid var(--z-red); }

.zapp-slim-card__left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.zapp-slim-card__left svg { color: var(--z-muted); flex-shrink: 0; }

.zapp-slim-card__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.zapp-chevron { color: #C5C5C5; font-size: 1.35rem; line-height: 1; }

.zapp-alert {
    padding: 0.85rem 1rem;
    border-radius: var(--z-radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.zapp-alert--success { background: var(--z-green-soft); color: #047857; }
.zapp-alert--error, .zapp-alert--danger { background: var(--z-red-soft); color: var(--z-red-dark); }

/* ===== PAGE HEADER ===== */
.zapp-page-header {
    margin-bottom: 1.75rem;
}

.zapp-page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.zapp-page-header p {
    margin: 0;
    color: var(--z-muted);
    font-size: 0.95rem;
}

.zapp-welcome {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}
.zapp-welcome strong { font-weight: 800; }

.zapp-page-sub {
    color: var(--z-muted);
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
}

.zapp-section-label {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.zapp-section-label::before {
    content: '';
    width: 4px;
    height: 1.1em;
    background: var(--z-text);
    border-radius: 2px;
}

/* ===== LAYOUT GRIDS ===== */
.zapp-layout-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.zapp-layout-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.zapp-layout-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 1.25rem;
    align-items: start;
}

.zapp-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* ===== CARDS ===== */
.zapp-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    overflow: hidden;
}

.zapp-panel {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    padding: 1.25rem;
}

.zapp-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--z-border);
}

.zapp-panel__head h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.zapp-panel__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--z-red);
    text-decoration: none;
}
.zapp-panel__link:hover { text-decoration: underline; }

/* Status card */
.zapp-status-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}
.zapp-status-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.zapp-status-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted); flex-shrink: 0;
}

.zapp-status-card__body { flex: 1; min-width: 0; }
.zapp-status-card__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.15rem; }
.zapp-status-card__sub { font-size: 0.85rem; color: var(--z-muted); }
.zapp-status-card__right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.zapp-chevron { color: #C5C5C5; font-size: 1.25rem; }

/* Stat tile */
.zapp-stat-tile {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.25rem;
    box-shadow: var(--z-shadow);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}
.zapp-stat-tile:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.zapp-stat-tile--accent { background: var(--z-red); border-color: var(--z-red); color: #fff; }
.zapp-stat-tile--accent .zapp-stat-tile__label { color: rgba(255,255,255,0.85); }
.zapp-stat-tile--accent .zapp-stat-tile__value { color: #fff; }

.zapp-stat-tile__label { font-size: 0.8rem; font-weight: 600; color: var(--z-muted); margin-bottom: 0.35rem; }
.zapp-stat-tile__value { font-size: 1.75rem; font-weight: 800; color: var(--z-red); }

/* Service grid (replaces mobile scroll) */
.zapp-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.zapp-scroll-card,
.zapp-scroll {
    /* fallback – grid used on web */
}
.zapp-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.zapp-scroll-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--z-shadow);
    transition: box-shadow 0.15s;
}
.zapp-scroll-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.zapp-scroll-card__icon {
    width: 52px; height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
}
.zapp-scroll-card__name {
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 0.5rem; line-height: 1.3;
}

.zapp-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.25rem 0;
}

.zapp-action-tile {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--z-shadow);
}
.zapp-action-tile__icon {
    width: 40px; height: 40px;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted); margin-bottom: 0.75rem;
}
.zapp-action-tile__label { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; }
.zapp-action-tile__value { font-size: 1.5rem; font-weight: 800; color: var(--z-red); }

/* ===== STATUS ===== */
.free-status, .zapp-status { font-size: 0.8rem; font-weight: 600; }
.free-status--success, .zapp-status--success { color: var(--z-green); }
.free-status--warning, .zapp-status--warning { color: #D97706; }
.free-status--danger, .zapp-status--danger { color: var(--z-red); }
.free-status--neutral, .zapp-status--neutral { color: var(--z-muted); }

.zapp-status-dot {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.85rem; font-weight: 600; color: var(--z-green);
}
.zapp-status-dot::before {
    content: ''; width: 8px; height: 8px;
    border-radius: 50%; background: var(--z-green);
}
.zapp-status-dot.is-off { color: var(--z-red); }
.zapp-status-dot.is-off::before { background: var(--z-red); }

/* ===== ROWS & TABLES ===== */
.zapp-rows { display: flex; flex-direction: column; gap: 0.5rem; }

.zapp-row {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: var(--z-surface);
    border-radius: var(--z-radius-sm);
    border: 1px solid var(--z-border);
    text-decoration: none; color: inherit;
    transition: background 0.15s;
}
.zapp-row:hover { background: #FAFAFA; }

.zapp-row__icon {
    width: 40px; height: 40px;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted); flex-shrink: 0;
}
.zapp-row__body { flex: 1; min-width: 0; }
.zapp-row__title { font-weight: 600; font-size: 0.95rem; }
.zapp-row__sub { font-size: 0.8rem; color: var(--z-muted); margin-top: 0.1rem; }
.zapp-row__value { font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }

.zapp-table-wrap {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    overflow: hidden;
    box-shadow: var(--z-shadow);
}

.zapp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.zapp-table th {
    text-align: left; padding: 0.85rem 1.25rem;
    background: var(--z-bg);
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--z-muted);
}
.zapp-table td {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--z-border);
}
.zapp-table tbody tr:nth-child(even) td { background: #FAFBFC; }
.zapp-table tr:hover td { background: #F3F4F6; }
.zapp-table a { color: var(--z-red); font-weight: 600; text-decoration: none; }

/* ===== HERO / DETAIL ===== */
.zapp-hero-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.zapp-hero-card__icon-wrap { position: relative; display: inline-block; margin-bottom: 1rem; }
.zapp-hero-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
}
.zapp-hero-card__badge {
    position: absolute; bottom: -4px; right: -8px;
    background: var(--z-red); color: #fff;
    font-size: 0.65rem; font-weight: 700;
    padding: 0.2rem 0.45rem; border-radius: 6px;
}
.zapp-hero-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.zapp-hero-card__sub { font-size: 0.85rem; color: var(--z-muted); margin-bottom: 0.5rem; }
.zapp-hero-card__masked { font-size: 0.9rem; letter-spacing: 0.12em; color: var(--z-muted); margin-bottom: 1rem; font-family: monospace; }
.zapp-hero-card__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.zapp-detail-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem;
}
.zapp-back {
    width: 40px; height: 40px;
    border-radius: var(--z-radius-sm);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-text); text-decoration: none; flex-shrink: 0;
}
.zapp-detail-title {
    font-size: 1.35rem; font-weight: 800;
    letter-spacing: -0.02em;
}

.zapp-toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    margin-bottom: 1rem;
    box-shadow: var(--z-shadow);
}
.zapp-toggle-row__label { font-weight: 600; font-size: 0.95rem; }

.zapp-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}
.zapp-stat-mini {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    padding: 1rem;
    text-align: center;
}
.zapp-stat-mini__val { font-size: 1.5rem; font-weight: 800; color: var(--z-red); }
.zapp-stat-mini__lbl { font-size: 0.75rem; color: var(--z-muted); margin-top: 0.2rem; }

.zapp-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.zapp-quick-tile {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--z-shadow);
}
.zapp-quick-tile form { margin: 0; }
.zapp-quick-tile button { width: 100%; border: none; background: transparent; font-family: inherit; cursor: pointer; padding: 0; }
.zapp-quick-tile__icon {
    width: 44px; height: 44px;
    margin: 0 auto 0.5rem;
    border-radius: var(--z-radius-sm);
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-red);
}
.zapp-quick-tile__label { font-size: 0.85rem; font-weight: 600; }

.zapp-menu-list {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.zapp-menu-list form { margin: 0; }
.zapp-menu-item {
    display: flex; align-items: center; gap: 0.75rem;
    width: 100%; padding: 0.9rem 1.25rem;
    border: none; border-bottom: 1px solid var(--z-border);
    border-right: 1px solid var(--z-border);
    background: transparent;
    font-family: inherit; font-size: 0.9rem; font-weight: 500;
    color: var(--z-text); cursor: pointer; text-align: left;
    transition: background 0.15s;
}
.zapp-menu-item:hover { background: var(--z-bg); }
.zapp-menu-item__icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
}

.zapp-gauge {
    position: relative; width: 100px; height: 100px; margin: 0 auto 0.5rem;
}
.zapp-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.zapp-gauge__track { fill: none; stroke: var(--z-bg); stroke-width: 8; }
.zapp-gauge__fill { fill: none; stroke: var(--z-red); stroke-width: 8; stroke-linecap: round; }
.zapp-gauge__label {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: var(--z-red);
}

/* ===== BUTTONS ===== */
.zapp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--z-radius-sm);
    font-family: inherit; font-size: 0.875rem; font-weight: 600;
    cursor: pointer; text-decoration: none; border: none;
    transition: background 0.15s;
}
.zapp-btn--primary { background: var(--z-red); color: #fff; }
.zapp-btn--primary:hover { background: var(--z-red-dark); }
.zapp-btn--ghost { background: var(--z-surface); color: var(--z-text); border: 1px solid var(--z-border); }
.zapp-btn--ghost:hover { border-color: #CCC; background: var(--z-bg); }
.zapp-btn--sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }

/* ===== FORMS ===== */
.zapp-form-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--z-shadow);
}
.zapp-form-card h2 {
    font-size: 1rem; font-weight: 700; margin: 0 0 1.25rem;
    padding-bottom: 0.75rem; border-bottom: 1px solid var(--z-border);
}
.zapp-field { margin-bottom: 1rem; }
.zapp-field label {
    display: block; font-size: 0.75rem; font-weight: 600;
    color: var(--z-muted); text-transform: uppercase;
    letter-spacing: 0.04em; margin-bottom: 0.4rem;
}
.zapp-field input, .zapp-field textarea, .zapp-field select {
    width: 100%; padding: 0.7rem 1rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    font-family: inherit; font-size: 0.95rem; background: #FAFAFA;
}
.zapp-field input:focus, .zapp-field textarea:focus {
    outline: none; border-color: var(--z-red); background: #fff;
}
.zapp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.zapp-account-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.zapp-account-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--z-surface);
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    text-decoration: none; color: inherit;
    box-shadow: var(--z-shadow);
}
.zapp-account-link:hover { background: #FAFAFA; }

/* ===== Account / Profile ===== */
.acct-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.3rem;
    margin-bottom: 1.5rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
    box-shadow: var(--z-shadow);
    width: fit-content;
    max-width: 100%;
}
.acct-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.acct-nav__link:hover { color: var(--z-text); background: var(--z-bg); }
.acct-nav__link.is-active {
    color: var(--z-red);
    background: var(--z-red-soft);
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
}
.profile-hero__visual {
    flex-shrink: 0;
}

.profile-hero__name {
    margin: 0 0 0.2rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.profile-hero__email {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--z-muted);
}
.profile-hero__company-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--z-red-soft);
    color: var(--z-red);
    font-size: 0.8rem;
    font-weight: 600;
}
.profile-hero__hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--z-muted);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: start;
}
.profile-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--z-shadow);
}
.profile-card--logout {
    text-align: center;
    padding: 1rem 1.5rem;
}
.profile-card__head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--z-border);
}
.profile-card__head h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}
.profile-card__head p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--z-muted);
}
.profile-form .zapp-btn--primary { margin-top: 0.25rem; }

.profile-logo-panel {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
}
.profile-logo-panel__preview {
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--z-border);
    background: #fff;
    flex-shrink: 0;
    min-height: 40px;
}
.profile-logo-panel__preview img {
    height: 22px;
    width: auto;
    max-width: 120px;
    min-width: 64px;
    object-fit: contain;
    padding: 8px 14px;
    display: block;
}
.profile-logo-panel__placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 14px;
    color: var(--z-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.profile-logo-panel__body strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
}
.profile-logo-panel__body p {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--z-muted);
}
.profile-logo-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.profile-logo-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.profile-logo-remove {
    display: block;
    margin-top: 0.45rem;
    padding: 0;
    border: none;
    background: none;
    color: #B91C1C;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.profile-logo-remove:hover { text-decoration: underline; }
.profile-hidden-form { display: none; }
.profile-logout-btn { width: 100%; }
.profile-optional { font-weight: 500; color: var(--z-muted); }

/* Profile — refined layout */
.profile-hero--refined {
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
}

.profile-hero__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-muted);
}

.profile-hero__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.profile-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-type-pill--active {
    background: var(--z-red-soft);
    color: var(--z-red);
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.profile-hero__status-note {
    font-size: 0.82rem;
    color: var(--z-muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
}

.profile-notice {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    background: var(--z-surface);
    box-shadow: var(--z-shadow);
}

.profile-notice--pending {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.06), #fff);
}

.profile-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    flex-shrink: 0;
}

.profile-notice__body strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.92rem;
}

.profile-notice__body p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--z-muted);
    line-height: 1.45;
}

.profile-accounts--refined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-account-card {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.15rem 1.2rem;
    box-shadow: var(--z-shadow);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-account-card.is-live {
    border-color: rgba(225, 29, 72, 0.22);
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.06);
}

.profile-account-card.is-dormant {
    opacity: 0.72;
    background: #fafbfc;
}

.profile-account-card__top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.profile-account-card__top h2 {
    margin: 0 0 0.1rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.profile-account-card__top p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--z-muted);
}

.profile-account-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.profile-account-card__icon--pf {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.profile-account-card__icon--pj {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.profile-account-card__live {
    margin-left: auto;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-account-card__empty {
    padding: 0.75rem 0;
    font-size: 0.84rem;
    color: var(--z-muted);
    line-height: 1.5;
}

.profile-account-card__empty p { margin: 0 0 0.65rem; }

.profile-account-card__cta {
    border: 0;
    background: none;
    padding: 0;
    color: var(--z-red);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.profile-facts > span {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    font-size: 0.76rem;
    color: var(--z-muted);
}

.profile-facts--dl {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.profile-facts--dl > div {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
    font-size: 0.84rem;
}

.profile-facts--dl dt {
    margin: 0;
    color: var(--z-muted);
    font-weight: 600;
}

.profile-facts--dl dd { margin: 0; }

.profile-form--compact .zapp-field { margin-bottom: 0.75rem; }
.profile-form--compact .zapp-btn { margin-top: 0.15rem; }

.profile-logo-panel--compact {
    margin-bottom: 0.85rem;
    padding: 0.75rem 0.9rem;
}

.profile-card--aside {
    padding: 1.1rem 1.2rem;
}

.profile-card--aside .profile-card__head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
}

/* Account type switch — ask → guide → form */
.profile-switch {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--z-shadow);
}

.profile-switch__panel[hidden] { display: none !important; }

.profile-switch__intro h2,
.profile-switch__panel--guide h2,
.profile-switch__panel--form h2 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile-switch__intro p,
.profile-switch__lead {
    margin: 0 0 1.1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--z-muted);
    max-width: 52ch;
}

.profile-switch__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.profile-switch__choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--z-border);
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.profile-switch__choice:hover {
    border-color: rgba(225, 29, 72, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.profile-switch__choice--yes {
    border-color: rgba(225, 29, 72, 0.2);
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.04), #fff);
}

.profile-switch__choice-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--z-text);
}

.profile-switch__choice-desc {
    font-size: 0.78rem;
    color: var(--z-muted);
    line-height: 1.4;
}

.profile-switch__back {
    margin: 0 0 0.85rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--z-muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.profile-switch__back:hover { color: var(--z-text); }

.profile-switch__checklist {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.profile-switch__checklist li {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    border-radius: 10px;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    position: relative;
    counter-increment: switch-step;
}

.profile-switch__checklist {
    counter-reset: switch-step;
}

.profile-switch__checklist li::before {
    content: counter(switch-step);
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--z-red-soft);
    color: var(--z-red);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-switch__checklist strong {
    font-size: 0.86rem;
}

.profile-switch__checklist span {
    font-size: 0.8rem;
    color: var(--z-muted);
    line-height: 1.4;
}

.profile-switch__guide-actions { margin-top: 0.25rem; }

.profile-switch__fields {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
}

.profile-switch__fields-label {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--z-muted);
}

.profile-switch__dismissed-text {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--z-muted);
}

.profile-docs {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--z-border);
    background: #fff;
}

.profile-docs__head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
}

.profile-docs__head span { color: var(--z-muted); }

.profile-docs__drop {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    border: 1px dashed rgba(225, 29, 72, 0.3);
    background: rgba(225, 29, 72, 0.03);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
}

.profile-docs__drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.profile-docs__list {
    margin: 0.6rem 0 0;
    padding-left: 1rem;
    font-size: 0.8rem;
    color: var(--z-muted);
}

.conv-docs {
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--z-border);
    background: #fff;
}

.conv-docs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.conv-docs__title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.conv-docs__count {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--z-muted);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--z-bg);
}

.conv-docs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.conv-docs__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--z-border);
    background: var(--z-bg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.conv-docs__link:hover {
    border-color: rgba(224, 0, 47, 0.25);
    background: #fff;
    transform: translateX(2px);
}

.conv-docs__icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conv-docs__icon--file { background: #eff6ff; color: #1d4ed8; }
.conv-docs__icon--image { background: #ecfdf5; color: #047857; }

.conv-docs__body { min-width: 0; }

.conv-docs__name {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.conv-docs__meta {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.74rem;
    color: var(--z-muted);
}

.conv-docs__action {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--z-red);
    white-space: nowrap;
}

.profile-notice .conv-docs {
    margin-top: 0.65rem;
    background: rgba(255, 255, 255, 0.72);
}

.adm-form-aside .conv-docs {
    margin-top: 0.85rem;
    padding: 0.75rem;
}

.adm-form-aside .conv-docs__link {
    grid-template-columns: auto 1fr;
}

.adm-form-aside .conv-docs__action {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 0.72rem;
}

@media (max-width: 1100px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-layout__aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .profile-card--logout { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .profile-accounts--refined,
    .profile-switch__choices,
    .profile-layout__aside { grid-template-columns: 1fr; }
    .profile-facts--dl > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

.zapp-empty { text-align: center; padding: 3rem 1.5rem; color: var(--z-muted); }
.zapp-empty p { margin: 0.5rem 0; }

/* ===== Notifications ===== */
.notif-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.notif-page__title { margin-bottom: 0.35rem; }
.notif-page__sub {
    margin: 0;
    font-size: 0.9rem;
    color: var(--z-muted);
}
.notif-page__sub strong { color: var(--z-red); }
.notif-page__mark-all { margin: 0; }
.notif-page__mark-all .zapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.notif-toolbar {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.notif-filters {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.25rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
    box-shadow: var(--z-shadow);
}
.notif-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.notif-filter:hover { color: var(--z-text); background: var(--z-bg); }
.notif-filter.is-active {
    color: var(--z-red);
    background: var(--z-red-soft);
}
.notif-filter__count {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--z-bg);
    color: var(--z-muted);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.notif-filter.is-active .notif-filter__count {
    background: #fff;
    color: var(--z-red);
}
.notif-filter__count--alert {
    background: var(--z-red);
    color: #fff;
}
.notif-filter.is-active .notif-filter__count--alert {
    background: var(--z-red);
    color: #fff;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.notif-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    box-shadow: var(--z-shadow);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.notif-card:hover {
    border-color: #E5E7EB;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.notif-card.is-unread {
    border-color: #FECDD3;
    background: linear-gradient(90deg, var(--z-red-soft) 0%, var(--z-surface) 18%);
}
.notif-card__dot {
    position: absolute;
    left: 0.55rem;
    top: 1.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--z-red);
}
.notif-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notif-card__icon--red { background: var(--z-red-soft); color: var(--z-red); }
.notif-card__icon--blue { background: #EFF6FF; color: #2563EB; }
.notif-card__icon--green { background: var(--z-green-soft); color: var(--z-green); }
.notif-card__icon--amber { background: #FEF3C7; color: #D97706; }
.notif-card__icon--gray { background: var(--z-bg); color: var(--z-muted); }

.notif-card__body { min-width: 0; }
.notif-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.notif-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}
.notif-card.is-unread .notif-card__title { color: var(--z-text); }
.notif-card__time {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--z-muted);
    white-space: nowrap;
}
.notif-card__msg {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--z-muted);
}
.notif-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--z-red);
    text-decoration: none;
}
.notif-card__link:hover { text-decoration: underline; }

.notif-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.notif-card__actions form { margin: 0; }
.notif-action {
    width: 34px;
    height: 34px;
    border: 1px solid var(--z-border);
    border-radius: 10px;
    background: var(--z-surface);
    color: var(--z-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.notif-action:hover {
    color: var(--z-green);
    border-color: #BBF7D0;
    background: var(--z-green-soft);
}
.notif-action--danger:hover {
    color: #B91C1C;
    border-color: #FECACA;
    background: #FEF2F2;
}

.notif-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--z-surface);
    border: 1px dashed var(--z-border);
    border-radius: var(--z-radius);
}
.notif-empty--compact { padding: 2.5rem 1.5rem; }
.notif-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--z-bg);
    color: var(--z-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}
.notif-empty__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.notif-empty__text {
    margin: 0 auto 1rem;
    max-width: 360px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--z-muted);
}

/* ===== Invoices ===== */
.inv-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.inv-page__title { margin-bottom: 0.35rem; }
.inv-page__sub {
    margin: 0;
    font-size: 0.9rem;
    color: var(--z-muted);
}
.inv-page__sub strong { color: var(--z-red); }
.inv-page__pay-all { margin: 0; }
.inv-page__pay-all .zapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.inv-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0 1.35rem;
}
.inv-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.inv-stat:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
a.inv-stat:hover { border-color: rgba(225, 6, 0, 0.2); }
.inv-stat--alert {
    border-color: rgba(225, 6, 0, 0.18);
    background: linear-gradient(145deg, #fff 0%, #FFF5F5 100%);
}
.inv-stat--wallet { position: relative; padding-right: 2rem; }
.inv-stat__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--z-bg);
    color: var(--z-muted);
    flex-shrink: 0;
}
.inv-stat--alert .inv-stat__icon {
    background: var(--z-red-soft);
    color: var(--z-red);
}
.inv-stat--wallet .inv-stat__icon {
    background: #EFF6FF;
    color: #2563EB;
}
.inv-stat__body { min-width: 0; }
.inv-stat__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--z-muted);
    margin-bottom: 0.2rem;
}
.inv-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--z-text);
}
.inv-stat--alert .inv-stat__value { color: var(--z-red); }
.inv-stat__hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--z-muted);
}
.inv-stat__chev {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--z-muted);
}

.inv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.inv-filters {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.3rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
}
.inv-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.inv-filter:hover { color: var(--z-text); background: var(--z-bg); }
.inv-filter.is-active {
    background: var(--z-red);
    color: #fff;
}
.inv-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
}
.inv-filter.is-active .inv-filter__count { background: rgba(255, 255, 255, 0.22); }
.inv-filter__count--alert { background: var(--z-red-soft); color: var(--z-red); }
.inv-filter.is-active .inv-filter__count--alert {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.inv-search {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(100%, 260px);
    padding: 0.55rem 0.9rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
    color: var(--z-muted);
}
.inv-search:focus-within {
    border-color: rgba(225, 6, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.08);
}
.inv-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--z-text);
    outline: none;
}
.inv-search input::placeholder { color: var(--z-muted); }
.inv-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    color: var(--z-muted);
    text-decoration: none;
    flex-shrink: 0;
}
.inv-search__clear:hover { color: var(--z-red); background: var(--z-red-soft); }

.inv-list-meta {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: var(--z-muted);
}
.inv-list-meta strong { color: var(--z-text); }

.inv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--z-border);
}
.inv-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--z-border);
    border-radius: 10px;
    background: var(--z-surface);
    color: var(--z-muted);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.inv-pagination__btn--prev svg { transform: rotate(180deg); }
.inv-pagination__btn:hover:not(.is-disabled) {
    border-color: rgba(225, 6, 0, 0.25);
    color: var(--z-red);
}
.inv-pagination__btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.inv-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.inv-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.45rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.inv-pagination__page:hover { background: var(--z-bg); color: var(--z-text); }
.inv-pagination__page.is-active {
    background: var(--z-red);
    color: #fff;
}
.inv-pagination__gap {
    padding: 0 0.15rem;
    color: var(--z-muted);
    font-size: 0.85rem;
}

.inv-no-results {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--z-muted);
}
.inv-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.inv-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 16px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.inv-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.inv-card--unpaid { border-left: 4px solid #F59E0B; }
.inv-card--paid { border-left: 4px solid var(--z-green); opacity: 0.96; }
.inv-card--urgent {
    border-left-color: var(--z-red);
    background: linear-gradient(90deg, #FFF8F8 0%, var(--z-surface) 12%);
}

.inv-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    flex-shrink: 0;
}
.inv-card__icon--red { background: linear-gradient(145deg, #FEE2E2, #FECACA); color: var(--z-red); }
.inv-card__icon--purple { background: linear-gradient(145deg, #EDE9FE, #DDD6FE); color: #7C3AED; }
.inv-card__icon--blue { background: linear-gradient(145deg, #DBEAFE, #BFDBFE); color: #2563EB; }
.inv-card__icon--green { background: linear-gradient(145deg, #D1FAE5, #A7F3D0); color: #059669; }
.inv-card__icon--amber { background: linear-gradient(145deg, #FEF3C7, #FDE68A); color: #D97706; }

.inv-card__body { min-width: 0; }
.inv-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.inv-card__ids {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.inv-card__no {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--z-muted);
    text-transform: uppercase;
}
.inv-card__cat {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--z-bg);
    color: var(--z-muted);
}
.inv-card__amount {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--z-text);
    white-space: nowrap;
}
.inv-card__service {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--z-text);
    line-height: 1.3;
}
.inv-card__pack {
    margin: 0.15rem 0 0.55rem;
    font-size: 0.85rem;
    color: var(--z-muted);
}
.inv-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
}
.inv-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--z-muted);
}
.inv-card__meta-item--red { color: var(--z-red); font-weight: 600; }
.inv-card__meta-item--amber { color: #D97706; font-weight: 600; }
.inv-card__meta-item--green { color: var(--z-green); font-weight: 600; }
.inv-card__meta-item--blue { color: #2563EB; }

.inv-card__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
    min-width: 130px;
}
.inv-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.inv-pill--danger { background: #FEE2E2; color: var(--z-red); }
.inv-pill--success { background: #D1FAE5; color: #047857; }

.inv-card__pay { margin: 0; }
.inv-card__pay .zapp-btn,
.inv-card__topup {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.inv-card__paid-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #D1FAE5;
    color: #047857;
}
.inv-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
}
.inv-card__link:hover { color: var(--z-red); }

.inv-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--z-surface);
    border: 1px dashed var(--z-border);
    border-radius: 18px;
    margin-top: 1rem;
}
.inv-empty--compact { padding: 2.5rem 1.5rem; }
.inv-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: var(--z-bg);
    color: var(--z-muted);
}
.inv-empty__title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.inv-empty__text {
    margin: 0 auto 1.15rem;
    max-width: 380px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--z-muted);
}

/* ===== Tickets ===== */
.tk-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.tk-page__title { margin-bottom: 0.35rem; }
.tk-page__sub {
    margin: 0;
    font-size: 0.9rem;
    color: var(--z-muted);
    max-width: 52ch;
}
.tk-page__sub strong { color: var(--z-red); }

.tk-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1.25rem 0 1.35rem;
}
.tk-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 14px;
}
.tk-stat--alert {
    border-color: rgba(245, 158, 11, 0.25);
    background: linear-gradient(145deg, #fff 0%, #FFFBEB 100%);
}
.tk-stat--pending {
    border-color: rgba(37, 99, 235, 0.2);
    background: linear-gradient(145deg, #fff 0%, #EFF6FF 100%);
}
.tk-stat--closed {
    border-color: rgba(100, 116, 139, 0.2);
}
.tk-stat__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--z-bg);
    color: var(--z-muted);
    flex-shrink: 0;
}
.tk-stat--alert .tk-stat__icon { background: #FEF3C7; color: #D97706; }
.tk-stat--pending .tk-stat__icon { background: #DBEAFE; color: #2563EB; }
.tk-stat--closed .tk-stat__icon { background: #F1F5F9; color: #64748B; }
.tk-stat__body { min-width: 0; }
.tk-stat__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--z-muted);
    margin-bottom: 0.2rem;
}
.tk-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--z-text);
}
.tk-stat--alert .tk-stat__value { color: #D97706; }
.tk-stat--pending .tk-stat__value { color: #2563EB; }
.tk-stat__hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--z-muted);
}

.tk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.25rem;
    align-items: start;
}
.tk-layout__main { min-width: 0; }

.tk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.tk-filters {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.3rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
    flex-wrap: wrap;
}
.tk-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--z-muted);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.tk-filter:hover { color: var(--z-text); background: var(--z-bg); }
.tk-filter.is-active { background: var(--z-red); color: #fff; }
.tk-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
}
.tk-filter.is-active .tk-filter__count { background: rgba(255, 255, 255, 0.22); }
.tk-filter__count--alert { background: #FEF3C7; color: #D97706; }
.tk-filter.is-active .tk-filter__count--alert {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.tk-search {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: min(100%, 260px);
    padding: 0.55rem 0.9rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 999px;
    color: var(--z-muted);
}
.tk-search:focus-within {
    border-color: rgba(225, 6, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.08);
}
.tk-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--z-text);
    outline: none;
}
.tk-search input::placeholder { color: var(--z-muted); }

.tk-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.tk-card {
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 0.85rem 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.tk-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.tk-card--amber { border-left: 4px solid #F59E0B; }
.tk-card--blue { border-left: 4px solid #3B82F6; }
.tk-card--slate { border-left: 4px solid #94A3B8; opacity: 0.96; }
.tk-card__dot {
    position: absolute;
    top: 1rem;
    right: 2.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: none;
}
.tk-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}
.tk-card__icon--amber { background: linear-gradient(145deg, #FEF3C7, #FDE68A); color: #D97706; }
.tk-card__icon--blue { background: linear-gradient(145deg, #DBEAFE, #BFDBFE); color: #2563EB; }
.tk-card__icon--slate { background: linear-gradient(145deg, #F1F5F9, #E2E8F0); color: #64748B; }
.tk-card__body { min-width: 0; }
.tk-card__top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}
.tk-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}
.tk-card__badge {
    display: inline-flex;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #EDE9FE;
    color: #7C3AED;
}
.tk-card__meta {
    display: block;
    font-size: 0.8rem;
    color: var(--z-muted);
}
.tk-card__chev { color: var(--z-muted); flex-shrink: 0; }

.tk-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--z-surface);
    border: 1px dashed var(--z-border);
    border-radius: 18px;
}
.tk-empty--compact { padding: 2.5rem 1.5rem; }
.tk-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: var(--z-bg);
    color: var(--z-muted);
}
.tk-empty__title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.tk-empty__text {
    margin: 0 auto;
    max-width: 420px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--z-muted);
}

.tk-compose {
    position: sticky;
    top: 1.25rem;
    padding: 1.25rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.tk-compose__head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 800;
}
.tk-compose__head p {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--z-muted);
}
.tk-compose__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.tk-chip {
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--z-border);
    border-radius: 999px;
    background: var(--z-bg);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--z-muted);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tk-chip:hover {
    border-color: rgba(225, 6, 0, 0.25);
    color: var(--z-red);
    background: var(--z-red-soft);
}
.tk-compose__form .zapp-field { margin-bottom: 0.85rem; }
.tk-compose__hint {
    margin: 0.85rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--z-muted);
}
.tk-compose__hint a { color: var(--z-red); font-weight: 600; }

/* Ticket detail */
.tk-detail__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--z-border);
    background: var(--z-surface);
}
.tk-detail__hero--amber {
    background: linear-gradient(135deg, #FFFBEB 0%, var(--z-surface) 55%);
    border-color: rgba(245, 158, 11, 0.2);
}
.tk-detail__hero--blue {
    background: linear-gradient(135deg, #EFF6FF 0%, var(--z-surface) 55%);
    border-color: rgba(59, 130, 246, 0.2);
}
.tk-detail__hero--slate {
    background: linear-gradient(135deg, #F8FAFC 0%, var(--z-surface) 55%);
}
.tk-detail__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--z-border);
    background: #fff;
    color: var(--z-muted);
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s;
}
.tk-detail__back:hover { color: var(--z-red); border-color: rgba(225, 6, 0, 0.25); }
.tk-detail__copy { min-width: 0; }
.tk-detail__kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--z-muted);
    margin-bottom: 0.35rem;
}
.tk-detail__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.tk-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.82rem;
    color: var(--z-muted);
}
.tk-detail__pill {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.tk-detail__pill--amber { background: #FEF3C7; color: #B45309; }
.tk-detail__pill--blue { background: #DBEAFE; color: #1D4ED8; }
.tk-detail__pill--slate { background: #F1F5F9; color: #475569; }
.tk-detail__pill--conversion { background: #EDE9FE; color: #6D28D9; }

.tk-detail .conv-docs { margin-bottom: 1.25rem; }

.tk-thread {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 18px;
    overflow: hidden;
}
.tk-thread__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--z-border);
}
.tk-thread__head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
}
.tk-thread__live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #059669;
}
.tk-thread__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: tk-pulse 2s ease-in-out infinite;
}
@keyframes tk-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.tk-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    max-height: min(58vh, 520px);
    overflow-y: auto;
}
.tk-bubble {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    max-width: min(100%, 720px);
}
.tk-bubble--mine { margin-left: auto; }
.tk-bubble--staff { margin-right: auto; }
.tk-bubble__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
}
.tk-bubble--mine .tk-bubble__avatar {
    background: var(--z-red-soft);
    color: var(--z-red);
}
.tk-bubble--staff .tk-bubble__avatar {
    background: #EFF6FF;
    color: #2563EB;
}
.tk-bubble__content {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--z-border);
    background: var(--z-bg);
}
.tk-bubble--mine .tk-bubble__content {
    background: linear-gradient(145deg, #FFF5F5, #fff);
    border-color: rgba(225, 6, 0, 0.12);
}
.tk-bubble__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    color: var(--z-muted);
}
.tk-bubble__meta strong { color: var(--z-text); font-size: 0.78rem; }
.tk-bubble__badge {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #DBEAFE;
    color: #1D4ED8;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tk-bubble__text {
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
}

.tk-reply {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--z-border);
    background: linear-gradient(180deg, var(--z-bg) 0%, var(--z-surface) 100%);
}
.tk-reply--closed {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.tk-reply--closed strong { display: block; margin-bottom: 0.15rem; }
.tk-reply--closed p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--z-muted);
}
.tk-reply__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #D1FAE5;
    color: #059669;
    flex-shrink: 0;
}
.tk-reply__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--z-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tk-reply__box {
    border: 1px solid var(--z-border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.tk-reply__box:focus-within {
    border-color: rgba(225, 6, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.08);
}
.tk-reply__box textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    padding: 0.85rem 1rem;
    border: 0;
    resize: vertical;
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--z-text);
    background: transparent;
    outline: none;
}
.tk-reply__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid var(--z-border);
    background: var(--z-bg);
}
.tk-reply__hint {
    font-size: 0.75rem;
    color: var(--z-muted);
}

.zapp-chat {
    display: flex; flex-direction: column; gap: 0.65rem;
    padding: 1.25rem; max-height: 480px; overflow-y: auto;
}
.zapp-chat-bubble {
    max-width: 75%; padding: 0.85rem 1rem;
    border-radius: 12px; font-size: 0.9rem; line-height: 1.5;
}
.zapp-chat-bubble--mine { align-self: flex-end; background: var(--z-red-soft); }
.zapp-chat-bubble--staff { align-self: flex-start; background: var(--z-bg); }
.zapp-chat-bubble__meta { font-size: 0.7rem; font-weight: 600; color: var(--z-muted); margin-bottom: 0.2rem; }

/* Detail page – web 3-col */
.zapp-detail-layout {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 1.25rem;
    align-items: start;
}

.zapp-actions-panel .zapp-menu-item {
    border-right: none;
    border-bottom: 1px solid var(--z-border);
}
.zapp-actions-panel { display: block; }
.zapp-actions-panel .zapp-menu-list { display: block; grid-template-columns: 1fr; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .zapp-topnav { display: none; }
    .zapp-menu-btn { display: inline-flex !important; }
    .zapp-topbar__inner { gap: 0.5rem; padding: 0 0.75rem; }
    .zapp-topbar__logo { flex-shrink: 0; }
    .zapp-topbar__actions {
        margin-left: auto;
        flex-shrink: 0;
    }
    .zapp-main { padding: 1.25rem 1rem 5.5rem; }
    .zapp-bottomnav { display: flex !important; }
    .zapp-greeting { font-size: 1.5rem; }
    .zapp-feature-duo { grid-template-columns: 1fr; }
    .zapp-equip-grid { grid-template-columns: repeat(2, 1fr); }
    .zapp-layout-2, .zapp-layout-3, .zapp-detail-layout { grid-template-columns: 1fr; }
    .zapp-menu-list { grid-template-columns: 1fr; }
    .zapp-account-grid { grid-template-columns: repeat(2, 1fr); }
    .order-layout { grid-template-columns: 1fr; }
    .order-checkout { position: static; }
    .order-mobile-cta { display: flex; }
    .order-pay { grid-template-columns: 1fr; }
    .order-field-row { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
    .order-steps__label { display: inline; }
}

@media (min-width: 1200px) {
    .zapp-equip-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .zapp-stats-row, .zapp-form-grid { grid-template-columns: 1fr; }
    .zapp-action-grid, .zapp-account-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-hero,
    .profile-hero--refined { flex-direction: column; text-align: center; }
    .profile-hero__info,
    .profile-hero--refined .profile-hero__info { display: flex; flex-direction: column; align-items: center; }
    .profile-hero__status { justify-content: center; }
    .acct-nav { width: 100%; justify-content: center; }
    .zapp-welcome, .zapp-page-header h1 { font-size: 1.4rem; }
    .zapp-hero-card__actions { flex-direction: column; }
    .zapp-hero-card__actions .zapp-btn { width: 100%; }
}

.client-btn--primary {
    background: var(--z-red); color: #fff; border: none;
    border-radius: var(--z-radius-sm); padding: 0.65rem 1.25rem;
    font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex;
}

/* ===== SERVICE CONFIG PAGE ===== */
.svc-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.svc-head__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}
.svc-head__crumb {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--z-muted);
}
.svc-head__crumb a { color: var(--z-red); text-decoration: none; font-weight: 600; }
.svc-head__crumb a:hover { text-decoration: underline; }

.svc-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}

.svc-card {
    background: var(--z-surface);
    border-radius: var(--z-radius);
    box-shadow: var(--z-shadow);
    padding: 1.25rem;
    height: 100%;
}

.svc-card__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--z-text);
}
.svc-card__title--center { justify-content: center; }
.svc-card__title .zapp-icon { color: var(--z-red); }

.svc-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.svc-actions--clean { gap: 0.5rem; }
.svc-action-form { margin: 0; }

.svc-action-btn,
a.svc-action-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    background: var(--z-surface);
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.svc-action-btn:hover {
    border-color: var(--z-red);
    background: var(--z-red-soft);
    box-shadow: 0 4px 12px rgba(224, 0, 47, 0.08);
}

.svc-action-btn__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-red);
    flex-shrink: 0;
    transition: background 0.15s;
}
.svc-action-btn:hover .svc-action-btn__icon { background: #fff; }

.svc-action-btn__text { flex: 1; min-width: 0; }
.svc-action-btn__text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--z-text);
}
.svc-action-btn__text small {
    display: block;
    font-size: 0.75rem;
    color: var(--z-muted);
    margin-top: 0.1rem;
}
.svc-action-btn__go { color: #CCC; flex-shrink: 0; }
.svc-action-btn:hover .svc-action-btn__go { color: var(--z-red); }

/* Service banner */
.svc-service-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--z-red), var(--z-red-dark));
    color: #fff;
    padding: 1.25rem;
    border-radius: var(--z-radius-sm);
    margin-bottom: 1.25rem;
}
.svc-service-banner__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.svc-service-banner__name { font-weight: 700; font-size: 1.05rem; }
.svc-service-banner__pack { font-size: 0.85rem; opacity: 0.9; margin-top: 0.15rem; }
.svc-service-banner--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.svc-service-banner--blue { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.svc-service-banner--green { background: linear-gradient(135deg, #059669, #047857); }
.svc-service-banner--amber { background: linear-gradient(135deg, #D97706, #B45309); }

.svc-head__cat {
    font-weight: 600;
    font-size: 0.9em;
}
.svc-head__cat--purple { color: #7C3AED; }
.svc-head__cat--blue { color: #2563EB; }
.svc-head__cat--green { color: #059669; }
.svc-head__cat--amber { color: #D97706; }
.svc-head__cat--red { color: var(--z-red); }

.svc-desc-box {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: var(--z-bg);
    border-radius: var(--z-radius-sm);
    font-size: 0.88rem;
    line-height: 1.5;
}
.svc-desc-box strong { display: block; margin-bottom: 0.35rem; }
.svc-type-desc {
    text-align: center;
    font-size: 0.85rem;
    color: var(--z-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.svc-panel--tv-devices {
    scroll-margin-top: 5rem;
    padding: 1.15rem 1.2rem 1.2rem;
}

.svc-tv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.svc-tv-head__main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.svc-tv-head__glyph {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fff0f2 0%, #ffe4e8 100%);
    color: var(--z-red);
    flex-shrink: 0;
}

.svc-tv-head__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.svc-tv-head__desc {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--z-muted);
    line-height: 1.4;
}

.svc-tv-head__stat {
    text-align: center;
    padding: 0.45rem 0.75rem;
    border-radius: 14px;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    flex-shrink: 0;
}

.svc-tv-head__stat strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--z-text);
}

.svc-tv-head__stat span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--z-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.svc-tv-empty {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #f3f4f6 100%);
    border: 1px dashed #d1d5db;
}

.svc-tv-empty__visual {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    color: var(--z-muted);
}

.svc-tv-empty__rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 0, 47, 0.08) 0%, transparent 70%);
    animation: svc-tv-pulse 2.8s ease-in-out infinite;
}

@keyframes svc-tv-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

.svc-tv-empty strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

.svc-tv-empty p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--z-muted);
    line-height: 1.55;
    max-width: 40ch;
    margin-inline: auto;
}

.svc-tv-empty__meta {
    margin-top: 0.7rem !important;
    font-size: 0.78rem !important;
    font-style: italic;
}

.svc-tv-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.svc-tv-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid var(--z-border);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-tv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border-color: #d8dee6;
}

.svc-tv-card__hero {
    position: relative;
    min-height: 6.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1rem 1.45rem;
    overflow: hidden;
}

.svc-tv-card__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(circle at 20% 20%, #fff 0%, transparent 45%);
    pointer-events: none;
}

.svc-tv-card__art {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 7.5rem;
    display: flex;
    justify-content: center;
}

.svc-tv-card__art-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}

.svc-tv-card__scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 8.5rem;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.22));
}

.svc-tv-card__monitor {
    position: relative;
    width: 5.4rem;
    height: 3.1rem;
    border-radius: 7px;
    border: 2px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
    padding: 0.28rem;
}

.svc-tv-card__monitor-screen {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.svc-tv-card__monitor-stand {
    position: absolute;
    left: 50%;
    bottom: -0.55rem;
    transform: translateX(-50%);
    width: 1.35rem;
    height: 0.42rem;
    border-radius: 0 0 4px 4px;
    background: rgba(255, 255, 255, 0.48);
}

.svc-tv-card__link {
    width: 2px;
    height: 0.55rem;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.55);
}

.svc-tv-card__stick-wrap {
    display: flex;
    align-items: center;
    gap: 0;
}

.svc-tv-card__stick {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 1.65rem;
    border-radius: 9px;
    background: linear-gradient(180deg, #3a3a3a 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.svc-tv-card__android-logo {
    width: 1.25rem;
    height: 1.25rem;
    color: #3ddc84;
}

.svc-tv-card__stick-led {
    position: absolute;
    right: 0.42rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 8px rgba(61, 220, 132, 0.9);
}

.svc-tv-card__stick-hdmi {
    width: 0.65rem;
    height: 1rem;
    margin-left: -1px;
    border-radius: 1px 3px 3px 1px;
    background: linear-gradient(90deg, #d4d4d8 0%, #9ca3af 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.svc-tv-card__chip {
    position: absolute;
    left: 0.85rem;
    bottom: 0.7rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
}

.svc-tv-card--android_tv .svc-tv-card__hero,
.svc-tv-card--android .svc-tv-card__hero {
    background: linear-gradient(135deg, #3ddc84 0%, #1faa62 55%, #0d7a47 100%);
}

.svc-tv-card--apple_tv .svc-tv-card__hero,
.svc-tv-card--ios .svc-tv-card__hero {
    background: linear-gradient(135deg, #3a3a3c 0%, #1d1d1f 100%);
}

.svc-tv-card--fire_tv .svc-tv-card__hero {
    background: linear-gradient(135deg, #ffad33 0%, #e47911 100%);
}

.svc-tv-card--roku .svc-tv-card__hero {
    background: linear-gradient(135deg, #8b4fc8 0%, #662d91 100%);
}

.svc-tv-card--samsung .svc-tv-card__hero {
    background: linear-gradient(135deg, #3b5bdb 0%, #1428a0 100%);
}

.svc-tv-card--lg .svc-tv-card__hero {
    background: linear-gradient(135deg, #d61f56 0%, #a50034 100%);
}

.svc-tv-card--web .svc-tv-card__hero {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.svc-tv-card--tv .svc-tv-card__hero {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
}

.svc-tv-card__body {
    padding: 0.95rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.svc-tv-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.svc-tv-card__info { min-width: 0; }

.svc-tv-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.svc-tv-card__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0.3rem 0 0;
    font-size: 0.76rem;
    color: var(--z-muted);
}

.svc-tv-card__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #9ca3af;
    flex-shrink: 0;
}

.svc-tv-card__dot.is-online {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.svc-tv-card__sep {
    opacity: 0.45;
}

.svc-tv-card__remove-form { flex-shrink: 0; }

.svc-tv-card__remove {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--z-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.svc-tv-card__remove:hover {
    background: #fff0f2;
    color: var(--z-red);
    transform: scale(1.05);
}

.svc-tv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.7rem;
    border-top: 1px solid #f1f3f5;
}

.svc-tv-card__id {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: var(--z-bg);
    border-radius: 8px;
    padding: 0.28rem 0.5rem;
    font: inherit;
    cursor: pointer;
    color: var(--z-muted);
    transition: background 0.15s, color 0.15s;
}

.svc-tv-card__id:hover {
    background: #eef2f7;
    color: var(--z-text);
}

.svc-tv-card__id.is-copied {
    background: var(--z-green-soft);
    color: #047857;
}

.svc-tv-card__id-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.svc-tv-card__id code {
    font-size: 0.72rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: transparent;
    color: inherit;
}

.svc-tv-card__date {
    font-size: 0.72rem;
    color: var(--z-muted);
    white-space: nowrap;
}

.svc-tv-footnote {
    margin: 1rem 0 0;
    font-size: 0.76rem;
    color: var(--z-muted);
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 640px) {
    .svc-tv-head {
        flex-direction: column;
        align-items: stretch;
    }

    .svc-tv-head__stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        padding: 0.55rem 0.75rem;
    }

    .svc-tv-head__stat strong,
    .svc-tv-head__stat span {
        display: inline;
        margin: 0;
    }

    .svc-tv-grid {
        grid-template-columns: 1fr;
    }

    .svc-tv-card__date {
        display: none;
    }
}

.svc-grid--standard { align-items: start; }
.svc-card--info { align-self: start; }

/* ===== SERVICE DETAIL (standard) ===== */
.svc-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--z-radius);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.svc-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.45) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(0,0,0,0.15) 0%, transparent 40%);
    pointer-events: none;
}
.svc-hero--purple { background: linear-gradient(135deg, #6D28D9 0%, #4C1D95 100%); }
.svc-hero--blue { background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%); }
.svc-hero--green { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.svc-hero--amber { background: linear-gradient(135deg, #D97706 0%, #B45309 100%); }
.svc-hero--red { background: linear-gradient(135deg, var(--z-red) 0%, var(--z-red-dark) 100%); }

.svc-hero__main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.svc-hero__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.svc-hero__copy { flex: 1; min-width: 180px; }
.svc-hero__cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 0.2rem;
}
.svc-hero__name {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.svc-hero__pack {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    opacity: 0.92;
}
.svc-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    flex-shrink: 0;
}
.svc-hero__status--ok { background: rgba(16,185,129,0.25); border-color: rgba(167,243,208,0.5); }
.svc-hero__status--pending { background: rgba(251,191,36,0.22); border-color: rgba(253,230,138,0.45); }
.svc-hero__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.35);
}
.svc-hero__chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.16);
}
.svc-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-size: 0.78rem;
    font-weight: 600;
}

.svc-contract-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    background: var(--z-surface);
    box-shadow: var(--z-shadow);
}
.svc-contract-card--pending {
    border-color: #FCD34D;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFF 55%);
}
.svc-contract-card--signed {
    border-color: #A7F3D0;
    background: linear-gradient(135deg, #ECFDF5 0%, #FFF 55%);
}
.svc-contract-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    color: var(--z-red);
    box-shadow: 0 4px 14px rgba(15,23,42,0.06);
}
.svc-contract-card--signed .svc-contract-card__icon { color: #059669; }
.svc-contract-card__body { flex: 1; min-width: 200px; }
.svc-contract-card__body strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.svc-contract-card__body p { margin: 0; font-size: 0.84rem; color: var(--z-muted); line-height: 1.45; }
.svc-contract-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}

.svc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}
.svc-layout__main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.svc-layout__aside { display: flex; flex-direction: column; gap: 1rem; }

.svc-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.svc-kpi {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    border-radius: var(--z-radius-sm);
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.svc-kpi__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--z-bg);
}
.svc-kpi--yellow .svc-kpi__icon { color: #B45309; background: #FFF8E6; }
.svc-kpi--red .svc-kpi__icon { color: var(--z-red); background: #FFF0F2; }
.svc-kpi--pink .svc-kpi__icon { color: #BE185D; background: #FDF2F8; }
.svc-kpi--green .svc-kpi__icon { color: #047857; background: #ECFDF5; }
.svc-kpi--blue .svc-kpi__icon { color: #1D4ED8; background: #EFF6FF; }
.svc-kpi--purple .svc-kpi__icon { color: #6D28D9; background: #F5F3FF; }
.svc-kpi--amber .svc-kpi__icon { color: #B45309; background: #FFFBEB; }
.svc-kpi__content { min-width: 0; }
.svc-kpi__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--z-muted);
    margin-bottom: 0.2rem;
}
.svc-kpi__value {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--z-text);
    word-break: break-word;
}

.svc-panel {
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--z-shadow);
}
.svc-panel--sticky { position: sticky; top: 1rem; }
.svc-panel__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--z-text);
}
.svc-panel__title--center { justify-content: center; }
.svc-panel__title .zapp-icon { color: var(--z-red); }
.svc-panel__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--z-muted);
}

.svc-dl { margin: 0; }
.svc-dl__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--z-border);
    font-size: 0.88rem;
}
.svc-dl__row:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-dl__row dt {
    margin: 0;
    color: var(--z-muted);
    font-weight: 600;
}
.svc-dl__row dd { margin: 0; font-weight: 700; line-height: 1.4; }

.svc-meta-list--compact .svc-meta-item {
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
}

.svc-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.svc-badge--ok { background: rgba(255,255,255,0.2); color: #fff; }
.svc-badge--off { background: rgba(0,0,0,0.2); color: #fff; }
.svc-badge__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ADE80;
}

/* Stat tiles with icons */
.svc-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.svc-stat {
    border-radius: var(--z-radius-sm);
    padding: 0.85rem 0.5rem;
    text-align: center;
}
.svc-stat--yellow { background: #FFF8E6; color: #B45309; }
.svc-stat--red { background: #FFF0F2; color: var(--z-red); }
.svc-stat--pink { background: #FDF2F8; color: #BE185D; }
.svc-stat--green { background: #ECFDF5; color: #047857; }
.svc-stat--blue { background: #EFF6FF; color: #1D4ED8; }
.svc-stat--purple { background: #F5F3FF; color: #6D28D9; }
.svc-stat--amber { background: #FFFBEB; color: #B45309; }

.svc-stat__icon {
    display: flex; justify-content: center;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}
.svc-stat__val {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
.svc-stat__val--text {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}
.svc-stat__lbl {
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 0.2rem;
    line-height: 1.2;
    opacity: 0.9;
}

/* Meta list */
.svc-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.svc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    background: var(--z-bg);
    border-radius: var(--z-radius-sm);
    font-size: 0.875rem;
}
.svc-meta-item__icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--z-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-muted);
    flex-shrink: 0;
}
.svc-meta-item__label { color: var(--z-muted); flex: 1; }
.svc-meta-item__value { font-weight: 700; }
.svc-meta-item__value code {
    font-family: ui-monospace, monospace;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

/* Storage card */
.svc-card--storage { text-align: center; }
.svc-storage-sub {
    font-size: 0.85rem;
    color: var(--z-muted);
    margin: 0 0 1rem;
}
.svc-gauge {
    position: relative;
    width: 140px; height: 140px;
    margin: 0 auto 1rem;
}
.svc-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.svc-gauge__track { fill: none; stroke: var(--z-bg); stroke-width: 10; }
.svc-gauge__fill {
    fill: none;
    stroke: var(--z-red);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}
.svc-gauge__label {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; color: var(--z-red);
}
.svc-storage-data {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 1rem;
}
.svc-storage-data span { color: var(--z-muted); }
.svc-storage-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--z-green-soft);
    color: #047857;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Shortcuts grid */
.svc-shortcuts__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.svc-shortcuts__bar {
    width: 4px; height: 1.2em;
    background: var(--z-text);
    border-radius: 2px;
}
.svc-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.svc-shortcuts-grid form { margin: 0; }

.svc-shortcut {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    box-shadow: var(--z-shadow);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--z-text);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.svc-shortcut:hover {
    border-color: var(--z-red);
    background: var(--z-red-soft);
    transform: translateY(-1px);
}
.svc-shortcut__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--z-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--z-red);
    flex-shrink: 0;
}
.svc-shortcut__label { flex: 1; }
.svc-shortcut__go { color: #CCC; flex-shrink: 0; }
.svc-shortcut:hover .svc-shortcut__go { color: var(--z-red); }

a.svc-shortcut { text-decoration: none; }
.svc-shortcut--api { position: relative; }
.svc-shortcut__badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--z-red);
    background: var(--z-red-soft);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    flex-shrink: 0;
}

/* cPanel tool panels (API shortcuts) */
.svc-tool { margin-top: 0.5rem; }
.svc-tool__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.svc-tool__title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.svc-tool__sub { font-size: 0.85rem; color: var(--z-muted); margin: 0.25rem 0 0; }
.svc-tool__cpanel { margin-left: auto; }
.svc-tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.svc-tool-list { display: flex; flex-direction: column; gap: 0.5rem; }
.svc-tool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: var(--z-bg);
    border-radius: var(--z-radius-sm);
    border: 1px solid var(--z-border);
}
.svc-tool-row strong { display: block; font-size: 0.875rem; }
.svc-tool-row small { color: var(--z-muted); font-size: 0.78rem; }
.svc-tool-row--block code {
    font-size: 0.8rem;
    word-break: break-all;
    white-space: pre-wrap;
}
.svc-tool-del {
    border: none;
    background: transparent;
    color: #B91C1C;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 8px;
    display: flex;
}
.svc-tool-del:hover { background: #FEE2E2; }
.svc-tool-form { display: flex; flex-direction: column; gap: 0.25rem; }
.svc-tool-form--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--z-border);
}
.svc-tool-form--inline input { flex: 1; min-width: 140px; }
.svc-tool-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    overflow: hidden;
    background: #fff;
}
.svc-tool-input-group input {
    border: none;
    flex: 1;
    padding: 0.65rem 0.75rem;
    font: inherit;
    width: auto;
    background: transparent;
}
.svc-tool-form .zapp-field input:not(.svc-tool-input-group input) { width: 100%; }
.svc-tool-suffix {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: var(--z-bg);
    color: var(--z-muted);
    font-size: 0.85rem;
    border-left: 1px solid var(--z-border);
    white-space: nowrap;
}

/* cPanel-style subdomain form */
.svc-tool-grid--subdomains {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
}
.svc-card--wide { grid-column: span 1; }
.svc-card--cpanel-form {
    border-color: rgba(37, 99, 235, 0.15);
    background: linear-gradient(180deg, #fff 0%, #F8FAFF 100%);
}
.svc-cpanel-form__intro {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--z-muted);
}
.svc-cpanel-form__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--z-muted);
}
.svc-cpanel-subdomain-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) auto minmax(140px, 1.1fr);
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    overflow: hidden;
    background: #fff;
}
.svc-cpanel-subdomain-row input {
    border: 0;
    padding: 0.7rem 0.8rem;
    font: inherit;
    background: transparent;
}
.svc-cpanel-subdomain-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    background: var(--z-bg);
    color: var(--z-muted);
    font-weight: 700;
    border-left: 1px solid var(--z-border);
    border-right: 1px solid var(--z-border);
}
.svc-cpanel-domain-select {
    display: flex;
    align-items: center;
    padding: 0 0.85rem;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.svc-cpanel-preview {
    margin: 0.85rem 0 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px dashed var(--z-border);
}
.svc-cpanel-preview__label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--z-muted);
}
.svc-cpanel-preview code {
    font-size: 0.92rem;
    color: #0F172A;
    word-break: break-all;
}
.svc-subdomain-table-wrap {
    overflow-x: auto;
    margin-top: 0.25rem;
}
.svc-subdomain-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.svc-subdomain-table th,
.svc-subdomain-table td {
    padding: 0.7rem 0.55rem;
    text-align: left;
    border-bottom: 1px solid var(--z-border);
    vertical-align: middle;
}
.svc-subdomain-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--z-muted);
}
.svc-subdomain-table td code {
    font-size: 0.8rem;
    color: #334155;
    word-break: break-all;
}
.svc-subdomain-table__actions {
    width: 48px;
    text-align: right;
}
.svc-subdomain-table__actions form { margin: 0; }
.svc-tool-empty { color: var(--z-muted); font-size: 0.875rem; margin: 0; }
.svc-tool-note { font-size: 0.82rem; color: var(--z-muted); margin: 0 0 1rem; }
.svc-tool-preview { font-size: 0.78rem; color: var(--z-muted); margin: 0.35rem 0 0; line-height: 1.4; }
.svc-card--narrow { max-width: 480px; }
.svc-tool-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}
.zapp-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.8rem; }

.zapp-icon { flex-shrink: 0; }

/* Contract PDF + semnătură */
.contract-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--z-radius);
    background: linear-gradient(135deg, #FFFBEB 0%, #fff 60%);
    border: 1px solid #FDE68A;
    box-shadow: var(--z-shadow);
}
.contract-banner--ok {
    background: linear-gradient(135deg, #ECFDF5 0%, #fff 60%);
    border-color: #A7F3D0;
}
.contract-banner__icon { color: var(--z-red); flex-shrink: 0; }
.contract-banner--ok .contract-banner__icon { color: var(--z-green); }
.contract-banner__body { flex: 1; min-width: 0; }
.contract-banner__body strong { display: block; margin-bottom: 0.15rem; }
.contract-banner__body p { margin: 0; font-size: 0.85rem; color: var(--z-muted); }

.contract-sign__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--z-radius);
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    color: #fff;
}
.contract-sign__hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contract-sign__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}
.contract-sign__title { margin: 0; font-size: 1.55rem; }
.contract-sign__sub { margin: 0.45rem 0 0; opacity: 0.92; font-size: 0.92rem; }

.contract-sign__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
}
.contract-sign__panel {
    background: #fff;
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 1.1rem;
}
.contract-sign__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.contract-sign__panel-head h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 1rem;
}
.contract-sign__badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--z-bg);
    color: var(--z-muted);
}
.contract-sign__hint {
    margin: 0 0 0.85rem;
    font-size: 0.84rem;
    color: var(--z-muted);
    line-height: 1.45;
}
.contract-sign__pdf-wrap {
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 0.75rem;
}
.contract-sign__pdf {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}
.contract-sign__form { display: flex; flex-direction: column; gap: 0.9rem; }
.contract-sign__accept {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.84rem;
    color: var(--z-text);
    line-height: 1.4;
}
.contract-sign__accept input { margin-top: 0.2rem; }
.contract-sign__submit { width: 100%; justify-content: center; }

.signature-pad {
    border: 1px dashed #cbd5e1;
    border-radius: var(--z-radius-sm);
    background: #fff;
    overflow: hidden;
}
.signature-pad__canvas {
    display: block;
    width: 100%;
    height: 180px;
    cursor: crosshair;
    touch-action: none;
    background:
        linear-gradient(#f8fafc 1px, transparent 1px) 0 0 / 100% 36px,
        #fff;
}
.signature-pad__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid var(--z-border);
    background: #fafafa;
}
.signature-pad__clear {
    border: 0;
    background: transparent;
    color: var(--z-red);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.signature-pad__note { font-size: 0.72rem; color: var(--z-muted); }

@media (max-width: 960px) {
    .contract-sign__grid { grid-template-columns: 1fr; }
    .contract-sign__pdf { height: 320px; }
    .contract-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1100px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc-card--storage { grid-column: 1 / -1; }
    .svc-shortcuts-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-panel--sticky { position: static; }
    .svc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-shortcuts-grid { grid-template-columns: 1fr; }
    .svc-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-tool-grid { grid-template-columns: 1fr; }
    .svc-tool__cpanel { margin-left: 0; width: 100%; }
    .svc-hero { padding: 1.1rem 1.15rem; }
    .svc-hero__name { font-size: 1.2rem; }
    .svc-hero__status { width: 100%; justify-content: center; }
    .svc-kpis { grid-template-columns: 1fr; }
    .svc-contract-card { flex-direction: column; align-items: flex-start; }
    .svc-contract-card__actions { margin-left: 0; width: 100%; }
    .svc-contract-card__actions .zapp-btn { flex: 1; justify-content: center; }
    .svc-dl__row { grid-template-columns: 1fr; gap: 0.2rem; }
    .notif-card {
        grid-template-columns: auto 1fr;
    }
    .notif-card__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
    }
    .notif-page__head { flex-direction: column; }
    .inv-page__head { flex-direction: column; }
    .inv-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inv-toolbar { flex-direction: column; align-items: stretch; }
    .inv-search { width: 100%; }
    .inv-card {
        grid-template-columns: auto 1fr;
    }
    .inv-card__aside {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        padding-top: 0.35rem;
        border-top: 1px solid var(--z-border);
    }
    .tk-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-layout { grid-template-columns: 1fr; }
    .tk-compose { position: static; order: -1; }
    .tk-toolbar { flex-direction: column; align-items: stretch; }
    .tk-search { width: 100%; }
    .tk-card {
        grid-template-columns: auto 1fr auto;
    }
    .tk-card__dot { display: none; }
    .tk-detail__hero { flex-wrap: wrap; }
    .tk-reply--closed { flex-direction: column; align-items: flex-start; }
    .svc-service-banner { flex-wrap: wrap; }
    .svc-badge { margin-left: 0; margin-top: 0.5rem; }
}

/* ===== MOBILE PLATFORM ===== */
.zapp-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    margin: 0;
    padding: 0 0.85rem;
    border: 1px solid var(--z-border);
    border-radius: 999px;
    background: var(--z-surface);
    color: var(--z-text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.zapp-menu-btn:hover,
.zapp-menu-btn.is-open {
    background: var(--z-red-soft);
    border-color: rgba(224, 0, 47, 0.25);
    color: var(--z-red);
}
.zapp-menu-btn__icon { flex-shrink: 0; }
.zapp-menu-btn__icon--close { display: none; }
.zapp-menu-btn.is-open .zapp-menu-btn__icon--open { display: none; }
.zapp-menu-btn.is-open .zapp-menu-btn__icon--close { display: block; }
.zapp-menu-btn__label { line-height: 1; }
.zapp-menu-btn--icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 12px;
}
.zapp-menu-btn--icon .zapp-menu-btn__label { display: none; }

.zapp-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 500;
    pointer-events: none;
    visibility: hidden;
}
.zapp-mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
}
.zapp-mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.zapp-mobile-nav.is-open .zapp-mobile-nav__backdrop { opacity: 1; }

.zapp-mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: var(--z-surface);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.zapp-mobile-nav.is-open .zapp-mobile-nav__panel { transform: translateX(0); }

.zapp-mobile-nav__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid var(--z-border);
    background: linear-gradient(180deg, var(--z-red-soft) 0%, var(--z-surface) 100%);
}
.zapp-mobile-nav__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}
.zapp-mobile-nav__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--z-red);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.zapp-mobile-nav__user-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.zapp-mobile-nav__user-text strong {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zapp-mobile-nav__user-text span {
    font-size: 0.75rem;
    color: var(--z-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zapp-mobile-nav__section {
    padding: 0.85rem 1rem 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-muted);
}
.zapp-mobile-nav__links--secondary {
    padding-top: 0.25rem;
}
.zapp-mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--z-bg);
    color: var(--z-text);
    cursor: pointer;
}
.zapp-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.zapp-mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--z-text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.zapp-mobile-nav__link:hover { background: var(--z-bg); }
.zapp-mobile-nav__link.is-active {
    color: var(--z-red);
    background: var(--z-red-soft);
}
.zapp-mobile-nav__link--muted { color: var(--z-muted); }
.zapp-mobile-nav__badge {
    margin-left: auto;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--z-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zapp-bottomnav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 180;
    align-items: stretch;
    justify-content: space-around;
    gap: 0.15rem;
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--z-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.zapp-bottomnav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0.25rem 0.15rem;
    border: 0;
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--z-muted);
    text-decoration: none;
    cursor: pointer;
}
.zapp-bottomnav__link span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zapp-bottomnav__link.is-active { color: var(--z-red); }
.zapp-bottomnav__menu.is-open { color: var(--z-red); }
.zapp-bottomnav__link svg { flex-shrink: 0; }

body.zapp-mobile-open { overflow: hidden; }

@media (max-width: 900px) {
    .zapp-id-chip__brand,
    .zapp-id-chip__mono { display: none; }
    .zapp-id-chip__user { border-right: 0; }
    .zapp-table-wrap,
    .adm-module__body--flush {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .zapp-table { min-width: 520px; }
    .adm-summary-row,
    .adm-user-metrics {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    .adm-summary-pill { flex-shrink: 0; }
    .notif-filters,
    .inv-filters {
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    .notif-filter,
    .inv-filter { flex-shrink: 0; }
    .zapp-field input,
    .zapp-field select,
    .zapp-field textarea,
    .adm-search input,
    .auth-form input,
    .auth-form select,
    .auth-form textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .zapp-main { padding: 1rem 0.85rem 5.25rem; }
    .zapp-topbar__inner { padding: 0 0.75rem; }
    .zapp-greeting,
    .zapp-welcome,
    .zapp-page-header h1,
    .svc-head__title { font-size: 1.25rem; }
    .zapp-hero-service { padding: 1rem; gap: 0.85rem; }
    .zapp-hero-service__icon { width: 52px; height: 52px; }
    .inv-summary,
    .tk-summary { grid-template-columns: 1fr; }
    .tk-card {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .tk-card__aside {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .adm-module__head {
        flex-direction: column;
        align-items: stretch;
    }
    .adm-search { width: 100%; }
    .adm-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .zapp-btn,
    .zapp-btn--sm {
        min-height: 44px;
    }
}

@media (max-width: 380px) {
    .zapp-bottomnav__link span { font-size: 0.58rem; }
    .zapp-bottomnav__link svg { width: 18px; height: 18px; }
}

/* Desktop: ascunde meniul mobil */
@media (min-width: 901px) {
    .zapp-menu-btn,
    .zapp-bottomnav {
        display: none !important;
    }
}

.zapp-legal-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: center;
    align-items: center;
    font-size: 0.76rem;
    color: var(--z-muted, #6b7280);
}

@media (max-width: 900px) {
    .zapp-legal-bar {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }
}

.zapp-legal-bar a {
    color: var(--z-muted, #6b7280);
    text-decoration: none;
}

.zapp-legal-bar a:hover {
    color: var(--z-red, #e0002f);
}

/* VPN service panel */
.svc-vpn .svc-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.svc-vpn__status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}

.svc-vpn__status--ready {
    color: #166534;
    background: #dcfce7;
}

.svc-vpn__status--pending {
    color: #92400e;
    background: #fef3c7;
}

.svc-dl--vpn {
    margin: 1rem 0;
}

.svc-vpn__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0;
}

.svc-vpn__steps {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.svc-vpn__steps h4 {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
}

.svc-vpn__steps ol {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.84rem;
    color: var(--z-muted, #6b7280);
}

.svc-vpn__steps a {
    color: var(--z-red, #e0002f);
}

.svc-vpn-stats {
    margin-top: 1rem;
}

.svc-vpn-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.svc-vpn-metric {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.14);
}

.svc-vpn-metric__label {
    display: block;
    font-size: 0.74rem;
    color: var(--z-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.svc-vpn-metric__value {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.2rem;
    color: var(--z-text, #111827);
}

.svc-vpn-metric small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.76rem;
    color: var(--z-muted, #6b7280);
}

.svc-vpn-device {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--z-border, #e5e7eb);
    background: #fff;
}

.svc-vpn-device--online {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.04);
}

.svc-vpn-device__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    flex-shrink: 0;
}

.svc-vpn-device--offline .svc-vpn-device__icon {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
}

.svc-vpn-device__body {
    flex: 1;
    min-width: 0;
}

.svc-vpn-device__body strong {
    display: block;
    font-size: 0.95rem;
}

.svc-vpn-device__body p {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--z-muted, #6b7280);
}

.svc-vpn-device__since {
    font-size: 0.78rem !important;
}

.svc-vpn-device__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    margin-top: 0.35rem;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    flex-shrink: 0;
}

.svc-vpn-history {
    margin-top: 1rem;
}

.svc-vpn-history h4 {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
}

.svc-vpn-history__list {
    display: grid;
    gap: 0.55rem;
}

.svc-vpn-history__item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    font-size: 0.8rem;
}

.svc-vpn-history__item strong {
    display: block;
}

.svc-vpn-history__item span {
    color: var(--z-muted, #6b7280);
}

.svc-vpn-history__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    color: var(--z-muted, #6b7280);
    white-space: nowrap;
}

.svc-vpn-footnote {
    margin: 0.85rem 0 0;
    font-size: 0.74rem;
    color: var(--z-muted, #6b7280);
}

.svc-vpn-browsing {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.svc-vpn-browsing h4 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
}

.svc-vpn-browsing__list {
    display: grid;
    gap: 0.45rem;
}

.svc-vpn-browsing__item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.62rem 0.8rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    font-size: 0.8rem;
}

.svc-vpn-browsing__item strong {
    word-break: break-word;
}

.svc-vpn-browsing__item span {
    color: var(--z-muted, #6b7280);
    white-space: nowrap;
    flex-shrink: 0;
}

.svc-vpn-browsing__empty,
.svc-vpn-browsing__note {
    margin: 0;
    font-size: 0.76rem;
    color: var(--z-muted, #6b7280);
}

.svc-vpn-browsing__note {
    margin-top: 0.55rem;
}

@media (max-width: 640px) {
    .svc-vpn-metrics {
        grid-template-columns: 1fr;
    }

    .svc-vpn-history__item {
        flex-direction: column;
    }

    .svc-vpn-history__meta {
        align-items: flex-start;
    }
}
