/* Xdata Client APK dashboard shell. Active only with html.ca-apk */
#ca-root[hidden] { display: none !important; }

html.ca-apk,
html.ca-apk body {
    height: 100%;
    overflow: hidden;
    background: #e8eef5;
}
html.ca-apk header.site-header,
html.ca-apk .app-header,
html.ca-apk header:not(.ca-top),
html.ca-apk footer.app-footer,
html.ca-apk .nav-overlay,
html.ca-apk #navToggle,
html.ca-apk .dashboard-header,
html.ca-apk #client-apk,
html.ca-apk .apk-pin {
    display: none !important;
}
html.ca-apk main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}
html.ca-apk .dashboard {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
html.ca-apk .dashboard > * { display: none !important; }
html.ca-apk #payGwMount > .kasera-panel,
html.ca-apk #servicePayPanel { display: none !important; }
html.ca-apk .dashboard > #kaseraPayModal,
html.ca-apk #kaseraPayModal:not([hidden]) {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 600 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #1e88e5 !important;
    overflow: auto !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}
html.ca-apk #kaseraPayModal .kp-shell {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 100dvh;
    border-radius: 0;
    padding: 12px 14px 28px;
}
html.ca-apk #kaseraPayModal .kp-pay-board { grid-template-columns: 1fr !important; }
html.ca-apk #kaseraPayModal .kp-qris-col { order: 2; }
html.ca-apk #kaseraPayModal .kp-detail-col { order: 1; }
html.ca-apk #kaseraPayModal .qris-code {
    width: min(92vw, 420px) !important;
    padding: 16px !important;
}
html.ca-apk #kaseraPayModal .qris-code img,
html.ca-apk #kaseraPayModal .qris-code canvas,
html.ca-apk #kaseraPayModal .qris-code table {
    width: 100% !important;
    height: auto !important;
}
html.ca-apk #kaseraPayModal .qris-card[hidden],
html.ca-apk #kaseraPayModal .kp-va[hidden] { display: none !important; }
html.ca-apk #kaseraPayModal .kp-va { color: #0f172a; }
html.ca-apk #kaseraPayModal .kp-va-code {
    color: #0f172a !important;
    font-size: 1.9rem !important;
    font-weight: 800;
    letter-spacing: .08em;
}
html.ca-apk #ca-root {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: #e8eef5;
    color: #0f172a;
}
html.ca-apk #pcFab { display: none !important; }
html.ca-apk body.pc-open #pcFab { display: none !important; }

/* Client APK: green bot is a full-screen page, not a tiny corner card. */
html.ca-apk .pc-pop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 400 !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    box-sizing: border-box !important;
}
html.ca-apk .pc-pop.is-open { display: flex !important; }
html.ca-apk .pc-backdrop { display: none !important; }
html.ca-apk .pc-panel {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html.ca-apk .pc-x {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.6rem !important;
    background: rgba(15, 23, 42, 0.08) !important;
}
html.ca-apk .pc-home-hero h2 { font-size: 2rem; }
html.ca-apk .pc-body { min-height: 0; flex: 1; }

.ca-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 12px;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 55%, #0369a1 100%);
    color: #fff;
    flex: 0 0 auto;
    min-height: 56px;
    position: relative;
    z-index: 2;
}
.ca-top .ca-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 3px;
    flex: 0 0 auto;
}
.ca-top .ca-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.25;
    letter-spacing: .01em;
    padding: 0 4px;
}
.ca-q, .ca-back, .ca-tickets {
    flex: 0 0 auto;
    border: 0;
    background: rgba(255,255,255,.18);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}
.ca-tickets {
    width: auto;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 650;
    gap: 6px;
    background: #fff;
    color: #0f172a;
}
.ca-pages {
    flex: 1;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
}
.ca-page { display: none; min-height: 100%; }
.ca-page.is-on { display: block; }

.ca-tabbar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 10px 4px calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 3;
}
.ca-tabbar button {
    border: 0;
    background: none;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 800;
    padding: 10px 2px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.ca-tabbar button.on { color: #0284c7; }
.ca-tabbar button svg { width: 34px; height: 34px; }
html.ca-apk.ca-hide-tabs .ca-tabbar { display: none; }

/* Home hero */
.ca-hero {
    background: linear-gradient(180deg, #0369a1 0%, #0284c7 40%, #38bdf8 100%);
    color: #fff;
    padding: 4px 16px 28px;
    position: relative;
}
.ca-hero-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.ca-hero-nums {
    display: flex;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.ca-stat {
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    padding: 0;
    cursor: pointer;
}
.ca-bal-warn { opacity: .95; }
.ca-bal {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 6px 0 4px;
    line-height: 1.1;
}
.ca-bal small { font-size: 18px; font-weight: 700; opacity: .9; }
.ca-bal-sub { font-size: 15px; opacity: .95; margin: 0 0 10px; font-weight: 700; }
.ca-hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 128px;
}
.ca-hero-btns button {
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.18);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ca-hero-btns button span.ico { font-size: 20px; line-height: 1; }
.ca-out {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 750;
    background: rgba(0,0,0,.12);
    border-radius: 999px;
    padding: 12px 14px;
    border: 0;
    color: #fff;
    width: 100%;
    cursor: pointer;
    text-align: left;
}
.ca-sheet {
    background: #f1f5f9;
    border-radius: 22px 22px 0 0;
    margin-top: -16px;
    padding: 16px 14px 28px;
    min-height: 52vh;
    position: relative;
    z-index: 1;
}
.ca-add {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
    margin-bottom: 14px;
}
.ca-add label { display: block; font-size: 12px; color: #64748b; margin-bottom: 6px; font-weight: 650; }
.ca-add select, .ca-add input[type="text"] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    background: #fff;
    color: #0f172a;
    margin-bottom: 8px;
}
.ca-add .ca-row { display: flex; gap: 8px; align-items: stretch; }
.ca-add .ca-row input { flex: 1; margin-bottom: 0; min-width: 0; }
.ca-add .ca-dom-find { margin-top: 10px; }
.ca-add .ca-dom-find .btn-go {
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 10px 16px;
    min-width: 92px;
}
.ca-add button.btn-go, .ca-btn {
    border: 0;
    background: #0284c7;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}
.ca-btn-ghost {
    background: #e2e8f0;
    color: #0f172a;
}
.ca-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
    padding: 12px 4px 22px;
}
.ca-icon {
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #0f172a;
    padding: 8px 4px 10px;
}
.ca-icon .tile {
    width: 112px;
    height: 112px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ca-icon .tile svg { width: 68px; height: 68px; }
.ca-icon em {
    font-style: normal;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

/* Help */
.ca-help-hero {
    background: linear-gradient(180deg, #0ea5e9, #0369a1);
    color: #fff;
    padding: 8px 16px 28px;
}
.ca-help-hero h1 {
    margin: 18px 0 16px;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}
.ca-help-card {
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    overflow: hidden;
}
.ca-help-card button, .ca-help-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 14px 14px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 650;
}
.ca-help-card button:last-child, .ca-help-card a:last-child { border-bottom: 0; }
.ca-help-card .muted { font-weight: 500; font-size: 12px; color: #64748b; display: block; }
.ca-spark {
    width: 28px; height: 28px; border-radius: 8px;
    background: #ecfdf5; color: #059669;
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.ca-topics { padding: 16px 14px 24px; }
.ca-topics h2 { margin: 0 0 12px; font-size: 18px; }
.ca-topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.ca-topic {
    background: #fff;
    border: 0;
    border-radius: 16px;
    padding: 16px 14px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    font-size: 16px;
    color: #0f172a;
    cursor: pointer;
    min-height: 80px;
    box-shadow: 0 4px 12px rgba(15,23,42,.04);
}
.ca-topic .tile { width: 52px; height: 52px; border-radius: 14px; background: #f8fafc; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ca-topic .tile svg { width: 32px; height: 32px; }
.ca-need {
    margin-top: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(15,23,42,.04);
    border: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
}
.ca-need strong { display: block; font-size: 16px; }
.ca-need span { color: #64748b; font-size: 13px; }
.ca-need .bot {
    width: 46px; height: 46px; border-radius: 50%;
    background: #22c55e;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px #dcfce7;
}
.ca-article { padding: 16px 16px 32px; }
.ca-article h2 { margin: 0 0 10px; }
.ca-article ol, .ca-article ul { padding-left: 18px; }
.ca-article li { margin: 8px 0; }
.ca-article p { color: #334155; line-height: 1.5; }

/* Sub pages */
.ca-pad { padding: 14px 14px 28px; }
.ca-card {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(15,23,42,.05);
}
.ca-card h3 { margin: 0 0 8px; font-size: 16px; }
.ca-card p { margin: 0 0 8px; color: #475569; font-size: 14px; }
.ca-dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 14px; margin: 8px 0 12px; }
.ca-dl dt { color: #64748b; }
.ca-dl dd { margin: 0; font-weight: 650; word-break: break-all; }
.ca-choice {
    display: flex; flex-direction: column; gap: 8px; margin: 10px 0;
}
.ca-choice label {
    display: flex; align-items: center; gap: 8px;
    background: #f8fafc; border-radius: 10px; padding: 10px 12px;
    font-weight: 650;
}
.ca-inv {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px; padding: 12px 0; border-bottom: 1px solid #f1f5f9;
    width: 100%; border-left: 0; border-right: 0; border-top: 0;
    background: none; text-align: left; color: inherit; cursor: pointer;
}
.ca-inv.is-on { background: #eff6ff; border-radius: 10px; padding: 12px; }
.ca-inv:last-child { border-bottom: 0; }
.ca-inv strong { display: block; }
.ca-muted { color: #64748b; font-size: 13px; }
.ca-prod-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky; top: 0; z-index: 2;
}
.ca-prod-bar .ca-back { background: #e2e8f0; color: #0f172a; }
.ca-prod-bar strong { font-size: 15px; }
#ca-product-slot .panel,
#ca-finance .panel,
#ca-history .panel {
    display: block !important;
    margin: 12px;
    box-shadow: none;
}
#ca-product-slot .panel-header { cursor: default; }
html.ca-apk .panel-toggle { display: none !important; }
html.ca-apk #ca-history .panel.is-open > *:not(.panel-header),
html.ca-apk #ca-history .panel > *:not(.panel-header) { display: block !important; }
html.ca-apk #ca-history .table-wrap { overflow-x: auto; }
html.ca-apk #ca-product .ca-prod-bar { display: none; }
html.ca-apk #ca-product.is-on #payment-system .pay-wd-actions,
html.ca-apk #ca-product.is-on #payment-system .ca-wd-hist { display: none !important; }
html.ca-apk.ca-view-domain #ca-product-slot .ca-hosting-only { display: none !important; }
html.ca-apk.ca-view-hosting #ca-product-slot .ca-domain-only { display: none !important; }
html.ca-apk #ca-product-slot .mail-bulk-bar,
html.ca-apk #ca-product-slot .mail-bulk-bar p,
html.ca-apk #ca-product-slot .mail-bulk-bar .muted {
    color: #334155 !important;
}
html.ca-apk #ca-product-slot .mail-bulk-dl,
html.ca-apk #ca-product-slot .mail-bulk-bar a.btn {
    background: #0f172a !important;
    color: #fff !important;
}
html.ca-apk .nc-checkout-actions a.btn,
html.ca-apk .nc-checkout-actions button.btn,
html.ca-apk-page .nc-checkout-actions a.btn,
html.ca-apk-page .nc-checkout-actions button.btn {
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 800;
}
.mail-pay-pick {
    position: fixed; inset: 0; z-index: 800 !important;
    background: rgba(15,23,42,.55);
    display: grid; place-items: center;
    padding: 18px;
}
.mail-pay-pick[hidden] { display: none !important; }
.mail-pay-card {
    background: #fff;
    color: #0f172a;
    width: min(420px, 96vw);
    border-radius: 16px;
    padding: 18px 16px 16px;
    display: grid;
    gap: 8px;
}
.mail-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-pay-row[hidden] { display: none !important; }
.mail-qris-modal { padding: 12px; align-items: center; }
.mail-qris-shell {
    width: min(420px, 96vw);
    max-height: 94vh;
    overflow: auto;
    background: #1e88e5;
    color: #fff;
    border-radius: 22px;
    padding: 16px 14px 18px;
    display: grid;
    gap: 12px;
    justify-items: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
}
.mail-qris-shell .qris-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #c45c12;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(196, 92, 18, .12);
    font-size: .95rem;
}
.mail-qris-shell .qris-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e67e22;
    box-shadow: 0 0 0 0 rgba(230, 126, 34, .55);
    animation: mail-qr-pulse 1.6s infinite;
}
@keyframes mail-qr-pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, .7); }
    70% { box-shadow: 0 0 0 10px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}
.mail-qris-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; }
.mail-qris-actions button {
    background: #f4f7fb;
    color: #16324f;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}
.mail-qris-detail {
    width: 100%;
    background: #fff;
    color: #16324f;
    border-radius: 16px;
    padding: 16px 18px 8px;
    box-sizing: border-box;
}
.mail-qris-detail h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #16324f;
}
.mail-qris-detail table { width: 100%; border-collapse: collapse; }
.mail-qris-detail td {
    padding: 10px 0;
    border-bottom: 1px solid #e8eef5;
    font-size: 1rem;
    color: #16324f;
}
.mail-qris-detail td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.mail-qris-detail tr.tot td {
    font-weight: 800;
    font-size: 1.15rem;
    border-bottom: 0;
}
.mail-qris-blue {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    padding: 4px 4px 0;
    box-sizing: border-box;
}
.mail-qris-blue .qris-brand {
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mail-qris-blue .qris-logo { height: 44px; width: auto; max-width: 100%; display: block; object-fit: contain; }
.mail-qris-blue .qris-merchant {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mail-qris-blue .qris-code {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    line-height: 0;
}
.mail-qris-blue .qris-code img,
.mail-qris-blue .qris-code canvas,
.mail-qris-blue .qris-code table { display: block; width: 248px !important; height: 248px !important; max-width: 100%; }
.mail-qris-blue .qris-satu {
    margin: 4px 0 0;
    color: #fff;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: 1.02rem;
}
.mail-qris-blue .qris-cek { margin: 0; color: rgba(255, 255, 255, .9); font-size: .82rem; }
.mail-qris-paid { margin: 28px 0; font-size: 1.35rem; font-weight: 800; color: #fff; }
html.ca-apk #kaseraPayModal #kpCancel {
    background: #dc2626 !important;
    color: #fff !important;
    width: 100%;
    margin: 8px 0;
    font-weight: 800;
}

.ca-dom-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ca-dom-row .nm { font-weight: 750; }
.ca-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ca-chip-row[hidden], .ca-chip-row.is-off { display: none !important; }
.ca-chip {
    border: 1px solid #e2e8f0; background: #fff; border-radius: 999px;
    padding: 10px 14px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.ca-chip.is-on { background: #0284c7; color: #fff; border-color: #0284c7; }

.ca-prof a, .ca-prof button.linkish {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid #f1f5f9;
    background: none; color: #0f172a; text-decoration: none; font-size: 18px;
    font-weight: 700; cursor: pointer; text-align: left;
}
.ca-prof p { font-size: 18px; margin: 0 0 12px; }
.ca-prof p strong { font-size: 22px; }
.ca-logout {
    width: 100%; margin-top: 16px; background: #dc2626; color: #fff;
    border: 0; border-radius: 14px; padding: 16px; font-size: 18px; font-weight: 800; cursor: pointer;
}

html.ca-apk #ca-finance,
html.ca-apk #ca-history { padding: 12px 12px 24px; }
html.ca-apk #ca-finance .panel,
html.ca-apk #ca-history .panel {
    margin: 0 0 16px !important;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
}
html.ca-apk #ca-finance .panel-header h2,
html.ca-apk #ca-history .panel-header h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 8px 4px 14px;
}
html.ca-apk #ca-finance .table-wrap,
html.ca-apk #ca-history .table-wrap {
    overflow: visible;
    border: 0;
    margin: 0;
}
html.ca-apk #ca-finance table.data-table,
html.ca-apk #ca-history table.data-table {
    display: block;
    width: 100%;
    border: 0;
}
html.ca-apk #ca-finance thead,
html.ca-apk #ca-history thead { display: none; }
html.ca-apk #ca-finance tbody,
html.ca-apk #ca-history tbody { display: block; }
html.ca-apk #ca-finance tr,
html.ca-apk #ca-history tr {
    display: block;
    background: #fff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    margin: 0 0 12px;
    box-shadow: 0 6px 16px rgba(15,23,42,.06);
}
html.ca-apk #ca-finance td,
html.ca-apk #ca-history td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.35;
    padding: 7px 0;
    border: 0 !important;
    word-break: break-word;
}
html.ca-apk #ca-finance td:first-child,
html.ca-apk #ca-history td:nth-child(2) {
    font-size: 18px;
    font-weight: 800;
}
html.ca-apk #ca-finance td::before,
html.ca-apk #ca-history td::before {
    flex: 0 0 34%;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: none;
}
html.ca-apk #ca-finance td:nth-child(1)::before { content: "Service"; }
html.ca-apk #ca-finance td:nth-child(2)::before { content: "Remarks"; }
html.ca-apk #ca-finance td:nth-child(3)::before { content: "Status"; }
html.ca-apk #ca-finance td:nth-child(4)::before { content: "Balance"; }
html.ca-apk #ca-finance td:nth-child(5)::before { content: "Expires"; }
html.ca-apk #ca-finance td:nth-child(6)::before { content: "Added"; }
html.ca-apk #ca-finance td:nth-child(7)::before { content: "Extend"; }
html.ca-apk #ca-history td:nth-child(1)::before { content: "Date"; }
html.ca-apk #ca-history td:nth-child(2)::before { content: "Invoice"; }
html.ca-apk #ca-history td:nth-child(3)::before { content: "File"; }
html.ca-apk #ca-history td:nth-child(4)::before { content: "Period"; }
html.ca-apk #ca-history td:nth-child(5)::before { content: "Amount"; }
html.ca-apk #ca-history td:nth-child(6)::before { content: "Status"; }
html.ca-apk #ca-history td:nth-child(7)::before { content: ""; flex: 0; }
html.ca-apk #ca-finance .btn,
html.ca-apk #ca-history .btn,
html.ca-apk #ca-finance select,
html.ca-apk #ca-history select {
    font-size: 16px !important;
    min-height: 44px;
    padding: 8px 12px;
    font-weight: 700;
}
html.ca-apk #ca-finance .badge,
html.ca-apk #ca-history .badge {
    font-size: 14px;
    padding: 6px 10px;
}

html[data-theme="dark"].ca-apk,
html[data-theme="dark"].ca-apk body { background: #0b1220; }
html[data-theme="dark"].ca-apk #ca-root { background: #0b1220; color: #e2e8f0; }
html[data-theme="dark"].ca-apk .ca-sheet,
html[data-theme="dark"].ca-apk .ca-topics { background: #0f172a; }
html[data-theme="dark"].ca-apk .ca-card,
html[data-theme="dark"].ca-apk .ca-add,
html[data-theme="dark"].ca-apk .ca-help-card,
html[data-theme="dark"].ca-apk .ca-topic,
html[data-theme="dark"].ca-apk .ca-need,
html[data-theme="dark"].ca-apk .ca-icon .tile,
html[data-theme="dark"].ca-apk .ca-tabbar,
html[data-theme="dark"].ca-apk .ca-prod-bar { background: #111a2e; color: #e2e8f0; }
html[data-theme="dark"].ca-apk .ca-tabbar { border-top-color: #1e293b; }
html[data-theme="dark"].ca-apk .ca-add select,
html[data-theme="dark"].ca-apk .ca-add input { background: #0b1220; color: #e2e8f0; border-color: #334155; }

.ca-back-bar {
    display: none;
    position: sticky; top: 0; z-index: 50;
    background: #0284c7; color: #fff;
    padding: 10px 12px;
    font-weight: 700;
}
html.ca-apk-login,
html.ca-apk-login body.login-page {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
    margin: 0 !important;
}
html.ca-apk-login header.app-header,
html.ca-apk-login footer.app-footer,
html.ca-apk-login .login-hero,
html.ca-apk-login .lang-switch,
html.ca-apk-login .lang-switch-float,
html.ca-apk-login .theme-toggle,
html.ca-apk-login iframe.skiptranslate,
html.ca-apk-login .goog-te-banner-frame,
html.ca-apk-login #google_translate_element {
    display: none !important;
}
html.ca-apk-login main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    min-height: 100dvh !important;
}
html.ca-apk-login .login-shell {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100dvh !important;
    background: #fff;
}
html.ca-apk-login .login-panel {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    min-height: 100dvh !important;
    width: 100% !important;
    background: #fff;
}
html.ca-apk-login .login-card {
    width: 100% !important;
    max-width: none !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}
html.ca-apk-login .login-logo { max-height: 56px; }
html.ca-apk-login .login-card-header h2 { font-size: 1.7rem; }
html.ca-apk-login .form-control { font-size: 16px !important; min-height: 48px; padding: 14px 16px; }
html.ca-apk-login .btn-block { border-radius: 14px; padding: 16px; font-weight: 800; font-size: 1.05rem; }

html.ca-apk-page #kycRejectModal,
html.ca-apk #kycRejectModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 950 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    background: rgba(15, 23, 42, 0.58) !important;
}
html.ca-apk-page #kycRejectModal[hidden],
html.ca-apk #kycRejectModal[hidden] { display: none !important; }
html.ca-apk-page #kycRejectModal .pay-modal-card,
html.ca-apk #kycRejectModal .pay-modal-card {
    width: min(420px, 92vw) !important;
    max-width: 92vw !important;
    margin: auto !important;
    background: var(--panel) !important;
    color: var(--text) !important;
}

html.ca-apk-page .ca-back-bar { display: flex; align-items: center; gap: 8px; }
html.ca-apk-page header.site-header,
html.ca-apk-page .app-header,
html.ca-apk-page header:not(.ca-top):not(.ca-back-bar),
html.ca-apk-page footer.app-footer { display: none !important; }
.ca-back-bar a { color: #fff; text-decoration: none; }
