/*
 * Krest Circle v2 — panelist area (layouts/panelist.blade.php).
 * Builds on krest-circle.css (tokens, buttons, fields, chips, toasts).
 * Section 1: app shell. Section 2: page components. Section 3: Bootstrap 3 skin, so the
 * modals/forms/tables that page scripts still drive look like the rest of the site.
 */

/* =============== 1. App shell =============== */
.kc-app { background: var(--kc-bg); min-height: 100vh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.kc-app-header { position: sticky; top: 0; z-index: 1030; background: rgba(244, 246, 245, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(7, 21, 56, .06); }
.kc-app-header__bar { height: 64px; padding: 0 var(--kc-gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kc-app-header__logo .kc-logo { height: 30px; }
.kc-app-nav { display: none; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--kc-line); white-space: nowrap; }
.kc-app-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--kc-text-2) !important; transition: background-color .15s ease, color .15s ease; }
.kc-app-nav__link:hover { background: var(--kc-bg); color: var(--kc-text) !important; }
.kc-app-nav__link.is-active { background: var(--kc-navy); color: #fff !important; font-weight: 600; }
.kc-nav-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--kc-teal); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.kc-app-header__right { display: flex; align-items: center; gap: 10px; }
.kc-app-lang { display: none; }
.kc-avatar-btn { display: inline-flex; align-items: center; gap: 10px; padding: 3px 3px 3px 3px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; color: var(--kc-text); }
.kc-avatar-btn:hover .kc-avatar-initials, .kc-avatar-btn:hover .kc-avatar-img { box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 11, 37, 87), .18); }
.kc-avatar-btn__name { display: none; font-size: 14px; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-avatar-initials, .kc-avatar-img { width: 42px; height: 42px; border-radius: 50%; flex: none; transition: box-shadow .15s ease; }
.kc-avatar-initials { background: var(--kc-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.kc-avatar-img { object-fit: cover; }
.kc-menu-list.dropdown-menu { margin-top: 10px; min-width: 240px; padding: 8px; border: 1px solid var(--kc-line); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(7, 21, 56, .35); }
.kc-menu-list > li > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--kc-text) !important; white-space: nowrap; }
.kc-menu-list > li > a:hover, .kc-menu-list > li > a:focus, .kc-menu-list > li > a.is-active { background: var(--kc-bg); }
.kc-menu-list__head { padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.kc-menu-list__head strong { font-size: 15px; }
.kc-menu-list__head span { font-size: 13px; color: var(--kc-muted); overflow: hidden; text-overflow: ellipsis; }
.kc-menu-list__sep { height: 1px; margin: 6px 4px; background: var(--kc-line-soft); }

.kc-app-main { width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 16px; }
/* Footer stays at the bottom on short pages: main fills the window below the header (65px)
   and above the mobile tab bar (84px), and the footer takes the leftover space above it. */
.kc-app-main { min-height: calc(100vh - 65px - 84px - env(safe-area-inset-bottom)); min-height: calc(100dvh - 65px - 84px - env(safe-area-inset-bottom)); }
.kc-app-footer { margin-top: auto; }
.kc-app-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 4px 0; font-size: 13px; color: var(--kc-muted); }
.kc-app-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

.kc-tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1020; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 6px; border-radius: 22px; background: var(--kc-navy); box-shadow: 0 16px 32px -12px rgba(7, 21, 56, .5); }
.kc-tabbar__link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 16px; color: rgba(255, 255, 255, .7) !important; font-size: 11px; font-weight: 600; text-align: center; }
.kc-tabbar__link svg { width: 20px; height: 20px; }
.kc-tabbar__link.is-active { background: var(--kc-teal); color: #fff !important; }
.kc-tabbar__badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #fff; color: var(--kc-navy); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

@media (min-width: 720px) {
    .kc-app-lang { display: block; }
    .kc-avatar-btn__name { display: inline; }
    .kc-app-main { padding: clamp(20px, 3vw, 40px) 20px 32px; }
}
@media (min-width: 1000px) {
    .kc-app { padding-bottom: 0; }
    .kc-app-main { min-height: calc(100vh - 77px); min-height: calc(100dvh - 77px); }
    .kc-app-header__bar { height: 76px; }
    .kc-app-header__logo .kc-logo { height: 34px; }
    .kc-app-nav { display: flex; }
    .kc-tabbar { display: none; }
}

/* =============== 2. Page components =============== */
.kc-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 4px 4px 12px; }
.kc-page-head__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kc-page-head .kc-kicker { color: var(--kc-teal); letter-spacing: .06em; }
.kc-page-head h1 { margin: 0; font: 700 clamp(30px, 4.4vw, 56px)/1 var(--kc-display); letter-spacing: -0.04em; color: var(--kc-text); text-wrap: balance; }
.kc-page-head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--kc-muted); max-width: 620px; }
.kc-page-head__aside { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.kc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.kc-grid--stats { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kc-grid--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kc-split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.kc-split__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.kc-split__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 599px) { .kc-split__main, .kc-split__side { flex-basis: 100%; } }

.kc-panel { background: #fff; border-radius: var(--kc-radius-lg); overflow: hidden; color: var(--kc-text); }
.kc-panel.is-dd-open { overflow: visible; } /* while a KC.dropdown list is open */
.kc-panel--pad { padding: 22px 24px 24px; }
.kc-panel__head { padding: 22px 24px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.kc-panel--pad > .kc-panel__head { padding: 0 0 14px; }
.kc-panel__title { margin: 0; font: 700 22px/1.2 var(--kc-display); letter-spacing: -0.02em; }
.kc-panel__link { font-size: 14px; font-weight: 600; }
.kc-panel__foot { padding: 14px 24px; border-top: 1px solid var(--kc-line-soft); font-size: 13px; color: var(--kc-muted); }
.kc-panel__body { padding: 0 24px 24px; }

.kc-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 190px; padding: 26px; border-radius: var(--kc-radius-lg); }
.kc-stat--navy { background: var(--kc-navy); color: #fff; }
/* The second stat card takes the brand accent so it doesn't merge with the navy balance card; text on it is navy. */
.kc-stat--teal { background: var(--kc-accent); color: var(--kc-accent-ink); }
.kc-stat--white { background: #fff; color: var(--kc-text); }
.kc-stat__label { font-size: 14px; font-weight: 500; opacity: .75; }
.kc-stat--teal .kc-stat__label { color: var(--kc-accent-ink); opacity: 1; }
.kc-stat__value { font: 700 clamp(40px, 5vw, 56px)/0.9 var(--kc-display); letter-spacing: -0.04em; }
.kc-stat__unit { font-size: 20px; letter-spacing: 0; color: var(--kc-mint); }
.kc-stat__note { font-size: 13px; opacity: .7; }
.kc-stat--teal .kc-stat__note { color: var(--kc-accent-ink); opacity: 1; }
.kc-meter-line { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.kc-meter-line > div { height: 100%; background: var(--kc-mint); border-radius: 99px; }
a.kc-stat:hover { color: inherit; }

.kc-donut-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.kc-donut { --p: 0; flex: none; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--kc-teal) calc(var(--p) * 1%), var(--kc-line-soft) 0); display: flex; align-items: center; justify-content: center; }
.kc-donut > span { width: 80px; height: 80px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font: 700 24px var(--kc-display); letter-spacing: -0.03em; }
.kc-donut-card__pairs { display: flex; gap: 18px; }
.kc-donut-card__pairs div { display: flex; flex-direction: column; }
.kc-donut-card__pairs strong { font: 700 26px var(--kc-display); }
.kc-donut-card__pairs span { font-size: 12px; color: var(--kc-muted); white-space: nowrap; }

.kc-next { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 24px 26px; border-radius: var(--kc-radius-lg); background: var(--kc-mint-100); }
.kc-next__text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.kc-next__kicker { font: 600 12px var(--kc-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--kc-teal-dark); }
.kc-next__title { font: 700 24px/1.2 var(--kc-display); letter-spacing: -0.02em; color: var(--kc-deep); }
.kc-next__desc { font-size: 14px; line-height: 1.5; color: var(--kc-teal-ink); }

.kc-banner { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding: 18px 22px; border-radius: 20px; background: #fff; }
.kc-banner--warn { background: var(--kc-warn-bg); color: #5C3D0C; }
.kc-banner--info { background: var(--kc-mint-50); color: var(--kc-deep); }
.kc-banner__title { font: 700 18px var(--kc-display); }
.kc-banner__text { flex: 1 1 280px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.kc-banner__close { margin-left: auto; border: 0; background: transparent; font-size: 22px; line-height: 1; color: inherit; opacity: .6; cursor: pointer; }
.kc-banner__close:hover { opacity: 1; }
.kc-raw-banner img { max-width: 100%; height: auto; border-radius: 20px; }

/* Data table */
.kc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kc-table th { padding: 10px 16px; text-align: left; font-size: 12px; font-weight: 600; color: var(--kc-muted); white-space: nowrap; background: transparent; border: 0; }
.kc-table td { padding: 14px 16px; border-top: 1px solid var(--kc-line-soft); white-space: nowrap; vertical-align: middle; font-size: 14px; }
.kc-table th:first-child, .kc-table td:first-child { padding-left: 24px; }
.kc-table th:last-child, .kc-table td:last-child { padding-right: 24px; }
.kc-table tbody tr:hover { background: #F9FAFA; }
.kc-table .kc-right { text-align: right; }
.kc-pill-soft { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--kc-bg); font-size: 13px; font-weight: 500; }
.kc-reward-amt { font-size: 15px; font-weight: 700; color: var(--kc-teal-dark); }
.kc-id { font: 600 14px var(--kc-mono); }
.kc-id small { font: 500 13px var(--kc-mono); color: var(--kc-muted); }

.kc-empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 24px; text-align: center; }
.kc-empty-state__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--kc-mint-100); color: var(--kc-teal-dark); display: flex; align-items: center; justify-content: center; }
.kc-empty-state__icon svg { width: 26px; height: 26px; }
.kc-empty-state strong { font: 700 19px var(--kc-display); }
.kc-empty-state p { margin: 0; font-size: 14px; color: var(--kc-muted); max-width: 420px; }

/* Insight cards */
.kc-insight { display: flex; flex-direction: column; gap: 10px; color: var(--kc-text) !important; }
.kc-insight__img { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--kc-bg); overflow: hidden; }
.kc-insight__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.kc-insight:hover .kc-insight__img img { transform: scale(1.03); }
.kc-insight__meta { font-size: 12px; font-weight: 500; color: var(--kc-muted); }
.kc-insight__title { font: 700 19px/1.2 var(--kc-display); letter-spacing: -0.01em; }
.kc-insight__desc { font-size: 14px; line-height: 1.5; color: var(--kc-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kc-insight__more { font-size: 14px; font-weight: 600; color: var(--kc-teal); }

/* Reward rows */
.kc-reward-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--kc-line-soft); }
.kc-reward-row__logo { flex: none; width: 64px; height: 40px; border-radius: 10px; background: var(--kc-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kc-reward-row__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.kc-reward-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kc-reward-row__title { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-reward-row__amt { font: 500 12px var(--kc-mono); color: var(--kc-muted); }
.kc-redeem { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--kc-navy); color: #fff !important; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; border: 0; }
.kc-redeem:hover { background: var(--kc-teal); }
.kc-redeem.disabled-reward, .kc-redeem[aria-disabled="true"] { background: var(--kc-bg); color: #9AA3AF !important; cursor: not-allowed; }
.kc-reward-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 24px 20px; }
.kc-reward-tiles a { aspect-ratio: 3 / 2; border-radius: 12px; background: var(--kc-bg); display: flex; align-items: center; justify-content: center; padding: 8px; }
.kc-reward-tiles img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Checklist */
.kc-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kc-checklist li { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 500; }
.kc-checklist__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--kc-line-strong); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.kc-checklist li.is-done { color: var(--kc-muted); font-weight: 400; }
.kc-checklist li.is-done span:last-child { text-decoration: line-through; }
.kc-checklist li.is-done .kc-checklist__mark { background: var(--kc-teal); border-color: var(--kc-teal); }
.kc-checklist li.is-done .kc-checklist__mark::after { content: "✓"; }
.kc-checklist a { color: var(--kc-text); }

.kc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.kc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Tabs as pills (used for page sub-navigation) */
.kc-tabs-pill { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--kc-line); }
.kc-tabs-pill a, .kc-tabs-pill button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--kc-text-2) !important; cursor: pointer; }
.kc-tabs-pill .is-active, .kc-tabs-pill .active > a, .kc-tabs-pill a.active { background: var(--kc-navy); color: #fff !important; font-weight: 600; }

.kc-prose { font-size: 16px; line-height: 1.7; color: var(--kc-text-2); overflow-wrap: anywhere; }
.kc-prose h2, .kc-prose h3, .kc-prose h4 { font-family: var(--kc-display); color: var(--kc-text); letter-spacing: -0.02em; margin: 1.4em 0 .5em; }
.kc-prose img, .kc-prose iframe, .kc-prose video { max-width: 100%; height: auto; border-radius: 16px; }
.kc-prose a { text-decoration: underline; }

/* =============== 3. Bootstrap 3 / legacy skin (inside .kc-app only) =============== */
.kc-app { font-family: var(--kc-font); font-size: 16px; }
.kc-app h1, .kc-app h2, .kc-app h3, .kc-app h4, .kc-app h5 { font-family: var(--kc-display); letter-spacing: -0.02em; color: inherit; }
.kc-app .container, .kc-app .container-fluid { width: 100%; max-width: none; padding: 0; }
.kc-app .row { margin-left: -8px; margin-right: -8px; }
.kc-app [class*="col-"] { padding-left: 8px; padding-right: 8px; }

/* Buttons */
.kc-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px var(--kc-font); text-shadow: none; box-shadow: none; background-image: none; transition: background-color .15s ease, border-color .15s ease; }
.kc-app .btn:focus, .kc-app .btn:active:focus { outline: 3px solid var(--kc-teal); outline-offset: 2px; }
.kc-app .btn-primary, .kc-app .btn-custom, .kc-app .btn.yellow, .kc-app .btn.green, .kc-app .btn.blue, .kc-app .reedem-btn, .kc-app .btn-success { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-app .btn-primary:hover, .kc-app .btn-custom:hover, .kc-app .btn.yellow:hover, .kc-app .btn.green:hover, .kc-app .btn.blue:hover, .kc-app .reedem-btn:hover, .kc-app .btn-success:hover { background: var(--kc-navy-2); border-color: var(--kc-navy-2); color: #fff; }
.kc-app .btn-default, .kc-app .btn-outline, .kc-app .btn.dark.btn-outline, .kc-app .btn-secondary { background: #fff; border-color: var(--kc-line); color: var(--kc-text); }
.kc-app .btn-default:hover, .kc-app .btn-outline:hover, .kc-app .btn.dark.btn-outline:hover, .kc-app .btn-secondary:hover { border-color: var(--kc-line-strong); background: #fff; color: var(--kc-text); }
.kc-app .btn-danger, .kc-app .btn.red { background: var(--kc-danger); border-color: var(--kc-danger); color: #fff; }
.kc-app .btn-teal { background: var(--kc-teal); border-color: var(--kc-teal); color: #fff; }
.kc-app .btn-teal:hover { background: var(--kc-teal-dark); color: #fff; }
.kc-app .btn-sm, .kc-app .btn-xs { min-height: 36px; padding: 0 14px; font-size: 13px; }
.kc-app .btn[disabled], .kc-app .btn.disabled { opacity: .45; }

/* Forms */
.kc-app label, .kc-app .control-label { font-size: 13px; font-weight: 600; color: var(--kc-text-2); margin-bottom: 6px; }
.kc-app .form-control { height: 48px; padding: 0 14px; border-radius: var(--kc-radius-sm); border: 1.5px solid var(--kc-line); background-color: #fff; box-shadow: none; font: 500 16px var(--kc-font); color: var(--kc-text); transition: border-color .15s ease, box-shadow .15s ease; }
.kc-app textarea.form-control { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; }
.kc-app select.form-control { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff var(--kc-select-arrow) no-repeat right 16px center; }
.kc-app .form-control:focus { border-color: var(--kc-teal); box-shadow: var(--kc-ring); outline: none; }
.kc-app .form-control[readonly], .kc-app .form-control[disabled] { background-color: var(--kc-bg); color: var(--kc-muted); }
.kc-app .has-error .form-control { border-color: var(--kc-danger); }
.kc-app .help-block { font-size: 13px; color: var(--kc-muted); }
.kc-app .has-error .help-block, .kc-app .text-danger, .kc-app .error { color: var(--kc-danger); }
.kc-app .form-group { margin-bottom: 18px; }

/* Modals */
.kc-app .modal-backdrop.in { opacity: .55; background: var(--kc-navy); }
.kc-app .modal-dialog { width: auto; max-width: 520px; margin: 16px auto; padding: 0 12px; }
.kc-app .modal-lg { max-width: 860px; }
@media (min-width: 768px) { .kc-app .modal-dialog { margin: 72px auto; } }
.kc-app .modal-content { border: 0; border-radius: var(--kc-radius-lg); box-shadow: 0 40px 80px -20px rgba(7, 21, 56, .45); overflow: hidden; }
.kc-app .modal-header { padding: 22px 24px 8px; border: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.kc-app .modal-header::before, .kc-app .modal-header::after { display: none; }
.kc-app .modal-title { font: 700 22px/1.2 var(--kc-display); letter-spacing: -0.02em; color: var(--kc-text); order: 0; }
.kc-app .modal-header .close { order: 1; float: none; margin: 0 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--kc-bg); opacity: 1; text-shadow: none; font-size: 22px; line-height: 36px; text-align: center; color: var(--kc-text); flex: none; }
.kc-app .modal-header .close:empty::before { content: "×"; }
.kc-app .modal-body { padding: 12px 24px 8px; font-size: 15px; line-height: 1.55; color: var(--kc-text-2); }
.kc-app .modal-footer { padding: 16px 24px 22px; border: 0; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.kc-app .modal-footer .btn + .btn { margin-left: 0; }

/* Tables (legacy markup) */
.kc-app .table { margin-bottom: 0; background: transparent; }
.kc-app .table > thead > tr > th { padding: 10px 16px; border-bottom: 0; font-size: 12px; font-weight: 600; color: var(--kc-muted); text-transform: none; white-space: nowrap; }
.kc-app .table > tbody > tr > td { padding: 14px 16px; border-top: 1px solid var(--kc-line-soft); vertical-align: middle; font-size: 14px; }
.kc-app .table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
.kc-app .table-hover > tbody > tr:hover { background: #F9FAFA; }
.kc-app .table-bordered, .kc-app .table-bordered > thead > tr > th, .kc-app .table-bordered > tbody > tr > td { border-left: 0; border-right: 0; }

/* DataTables */
.kc-app .dataTables_wrapper .dataTables_paginate .pagination, .kc-app .pagination { display: inline-flex; gap: 4px; margin: 0; }
.kc-app .pagination > li > a, .kc-app .pagination > li > span { float: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; margin: 0; border-radius: 999px !important; border: 1px solid var(--kc-line); background: #fff; color: var(--kc-text); font-size: 14px; }
.kc-app .pagination > .active > a, .kc-app .pagination > .active > span, .kc-app .pagination > .active > a:hover { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-app .pagination > .disabled > a { color: #9AA3AF; background: #fff; }
.kc-app .dataTables_info, .kc-app .dataTables_length, .kc-app .dataTables_filter { font-size: 13px; color: var(--kc-muted); }
.kc-app .dataTables_length select, .kc-app .dataTables_filter input { height: 38px; border-radius: 10px; border: 1.5px solid var(--kc-line); padding: 0 10px; }
.kc-app .dataTables_processing { border: 0 !important; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(7, 21, 56, .3); background: #fff !important; color: var(--kc-text); }
.kc-app table.dataTable thead .sorting::after, .kc-app table.dataTable thead .sorting_asc::after, .kc-app table.dataTable thead .sorting_desc::after { opacity: .35; }

/* Tabs, alerts, badges, labels */
.kc-app .nav-tabs { border: 0; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--kc-line); margin-bottom: 16px; }
.kc-app .nav-tabs > li { float: none; margin: 0; }
.kc-app .nav-tabs > li > a { margin: 0; border: 0 !important; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--kc-text-2); }
.kc-app .nav-tabs > li > a:hover { background: var(--kc-bg); }
.kc-app .nav-tabs > li.active > a, .kc-app .nav-tabs > li.active > a:hover, .kc-app .nav-tabs > li.active > a:focus { background: var(--kc-navy); color: #fff; }
.kc-app .alert { border: 0; border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.5; }
.kc-app .alert-success { background: var(--kc-mint-50); color: var(--kc-teal-ink); }
.kc-app .alert-info { background: var(--kc-mint-50); color: var(--kc-deep); }
.kc-app .alert-warning { background: var(--kc-warn-bg); color: #5C3D0C; }
.kc-app .alert-danger { background: var(--kc-danger-bg); color: var(--kc-danger); }
.kc-app .badge, .kc-app .label { border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; background: var(--kc-teal); }
.kc-app .label-success, .kc-app .badge-success { background: var(--kc-mint-100); color: var(--kc-teal-ink); }
.kc-app .label-warning, .kc-app .badge-warning { background: var(--kc-warn-bg); color: var(--kc-warn-ink); }
.kc-app .label-danger, .kc-app .badge-danger { background: var(--kc-danger-bg); color: var(--kc-danger); }
.kc-app .label-default, .kc-app .badge-default, .kc-app .label-info, .kc-app .badge-info { background: var(--kc-bg); color: var(--kc-text-2); }
.kc-app .dropdown-menu { border-radius: 14px; border: 1px solid var(--kc-line); box-shadow: 0 20px 40px -20px rgba(7, 21, 56, .35); }

/* Legacy wrappers that pages may still emit */
.kc-app .portlet, .kc-app .panel { background: #fff; border: 0; border-radius: var(--kc-radius-lg); box-shadow: none; margin-bottom: 0; }
.kc-app .page-content-wrapper, .kc-app .page-content { background: transparent; padding: 0; margin: 0; min-height: 0; }
.kc-app .toastHolder { display: none !important; }
.kc-app .hide { display: none !important; }

/* Stacked table rows on phones (no sideways scrolling, which also stops mobile browsers zooming out). */
@media (max-width: 599px) {
    .kc-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .kc-table--stack, .kc-table--stack tbody { display: block; width: 100%; }
    .kc-table--stack tr { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "a a a d" "b c . d" "e e e d"; align-items: center; justify-items: start; gap: 6px 8px; padding: 14px 20px; border-top: 1px solid var(--kc-line-soft); }
    .kc-table--stack td:last-child { justify-self: end; }
    .kc-table--stack td:nth-child(4) { grid-area: e; }
    .kc-table--stack td { display: block; padding: 0 !important; border: 0; white-space: normal; }
    .kc-table--stack td:nth-child(1) { grid-area: a; }
    .kc-table--stack td:nth-child(2) { grid-area: b; }
    .kc-table--stack td:nth-child(3) { grid-area: c; }
    .kc-table--stack td:last-child { grid-area: d; }
    .kc-table--stack td[data-label]::before { content: attr(data-label) " "; font-size: 12px; font-weight: 500; color: var(--kc-muted); }
    .kc-table--stack tr:has(td:only-child) { display: block; }
}

/* OTP code boxes + phone input (account mobile change, OTP verification, reward OTP) */
.kc-otp { display: flex; gap: 8px; justify-content: center; }
.kc-otp input { width: 48px; height: 58px; padding: 0; text-align: center; border-radius: 14px; border: 1.5px solid var(--kc-line); background: #fff; font: 700 24px var(--kc-display); color: var(--kc-text); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.kc-otp input:focus { border-color: var(--kc-teal); box-shadow: var(--kc-ring); }
@media (max-width: 359px) { .kc-otp { gap: 6px; } .kc-otp input { width: 40px; height: 52px; font-size: 20px; } }
.kc-otp-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 14px; color: var(--kc-muted); }
.kc-otp-meta .kc-mono { color: var(--kc-text); }
.kc-link-btn { border: 0; background: none; padding: 0; font: 600 14px var(--kc-font); color: var(--kc-teal); cursor: pointer; }
.kc-link-btn:hover { color: var(--kc-teal-dark); }
.kc-step { display: none; }
.kc-step.active { display: block; }
.kc-phone { display: flex; gap: 8px; }
.kc-phone .kc-select, .kc-phone .kc-dd { flex: 0 0 150px; }
.kc-phone .kc-input { flex: 1; min-width: 0; }

/* Profile card (account page) */
.kc-profile-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px; text-align: center; }
.kc-avatar-upload { position: relative; width: 112px; height: 112px; }
.kc-avatar-upload__img { width: 112px; height: 112px; border-radius: 50%; background: var(--kc-mint-100) center / cover no-repeat; border: 4px solid #fff; box-shadow: 0 10px 24px -12px rgba(7, 21, 56, .4); }
.kc-avatar-upload label { position: absolute; right: 0; bottom: 4px; width: 36px; height: 36px; margin: 0; border-radius: 50%; background: var(--kc-navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 3px #fff; }
.kc-avatar-upload label:hover { background: var(--kc-teal); }
.kc-avatar-upload label svg { width: 16px; height: 16px; }
.kc-avatar-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kc-avatar-upload input:focus-visible + label { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--kc-teal); }
.kc-profile-card__name { font: 700 22px/1.2 var(--kc-display); letter-spacing: -0.02em; }
.kc-profile-card__email { font-size: 14px; color: var(--kc-muted); overflow-wrap: anywhere; }
.kc-kv { width: 100%; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--kc-line-soft); text-align: left; }
.kc-kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.kc-kv dt { color: var(--kc-muted); font-weight: 400; }
.kc-kv dd { margin: 0; font-weight: 600; text-align: right; }
.kc-inline-field { display: flex; gap: 8px; align-items: stretch; }
.kc-inline-field > .kc-input, .kc-inline-field > .kc-phone-box { flex: 1; min-width: 0; }
.kc-phone-box { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--kc-radius-sm); border: 1.5px solid var(--kc-line); background: var(--kc-bg); font-weight: 500; }

/* Balance chip (page heads) */
.kc-balance-chip { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 18px; background: var(--kc-navy); color: #fff; min-width: 180px; }
.kc-balance-chip span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.kc-balance-chip strong { font: 700 28px/1.1 var(--kc-display); letter-spacing: -0.03em; }
.kc-balance-chip small { font-size: 14px; font-weight: 600; color: var(--kc-mint); letter-spacing: 0; }

/* Transactions DataTable */
.kc-dt { width: 100% !important; }
.kc-dt > thead > tr.filter > th { padding: 0 8px 12px 16px !important; }
.kc-dt > thead > tr.filter .form-control { height: 38px; font-size: 14px; border-radius: 10px; }
.kc-dt > thead > tr:first-child > th:first-child, .kc-dt > tbody > tr > td:first-child { padding-left: 24px; }
.kc-dt > tbody > tr > td { white-space: nowrap; }
.kc-tx .dataTables_wrapper { padding: 0; }
.kc-tx .dataTables_wrapper .row { margin: 0; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.kc-tx .dataTables_wrapper .row > [class*="col-"] { float: none; width: auto; padding: 0; }
.kc-tx .dataTables_wrapper .table-scrollable { margin: 0 !important; border: 0; overflow-x: auto; }
.kc-tx-date { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: var(--kc-muted); line-height: 1.3; }
.kc-tx-date strong { font-size: 14px; font-weight: 600; color: var(--kc-text); }
.kc-tx-amt.is-none { color: var(--kc-muted); font-weight: 500; }
/* Transactions table layout (dom set in activity_log): scroll area + one footer bar. */
.kc-tx .kc-dt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kc-tx .kc-dt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 24px 20px; border-top: 1px solid var(--kc-line-soft); }
.kc-tx .kc-dt-foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.kc-tx .kc-dt-foot .dataTables_info { padding: 0; margin: 0; font-size: 13px; font-weight: 500; color: var(--kc-muted); white-space: nowrap; }
.kc-tx .kc-dt-foot .dataTables_length { margin: 0; }
.kc-tx .kc-dt-foot .dataTables_length label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; color: var(--kc-muted); }
.kc-tx .kc-dt-foot .dataTables_length select { width: auto; height: 36px; padding: 0 30px 0 12px; border-radius: 10px; border: 1.5px solid var(--kc-line); background-color: #fff; font-size: 14px; color: var(--kc-text); }
.kc-tx .kc-dt-foot .dataTables_paginate { margin: 0; padding: 0; text-align: right; }
.kc-tx .kc-dt-foot .pagination > li > a { min-width: 36px; height: 36px; font-weight: 600; cursor: pointer; }
.kc-tx .kc-dt-foot .pagination > li > a:hover { border-color: var(--kc-teal); color: var(--kc-teal); background: #fff; }
.kc-tx .kc-dt-foot .pagination > .active > a, .kc-tx .kc-dt-foot .pagination > .active > a:hover { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-tx .kc-dt-foot .pagination > .disabled > a, .kc-tx .kc-dt-foot .pagination > .disabled > a:hover { opacity: .45; cursor: default; color: var(--kc-muted); border-color: var(--kc-line); }
.kc-tx .kc-dt-foot .pagination > li.previous > a, .kc-tx .kc-dt-foot .pagination > li.next > a { font-size: 18px; line-height: 1; }
@media (max-width: 560px) { .kc-tx .kc-dt-foot { justify-content: center; padding: 14px 16px 18px; } .kc-tx .kc-dt-foot__meta { width: 100%; justify-content: space-between; } }
.kc-tx-amt { font-weight: 700; }
.kc-tx-amt.is-in { color: var(--kc-teal-dark); }
.kc-tx-amt.is-out { color: var(--kc-text); }
.kc-tx-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--kc-bg); color: var(--kc-text-2); }
.kc-tx-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.kc-tx-status--ok { background: var(--kc-mint-100); color: var(--kc-teal-ink); }
.kc-tx-status--warn { background: var(--kc-warn-bg); color: var(--kc-warn-ink); }
.kc-tx-status--bad { background: var(--kc-danger-bg); color: var(--kc-danger); }
.kc-tx-info { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--kc-bg); color: var(--kc-muted); font: 700 11px var(--kc-font); align-items: center; justify-content: center; cursor: help; }
.kc-app table.dataTable.no-footer, .kc-app table.dataTable { border-bottom: 0 !important; border-collapse: collapse !important; margin: 0 !important; }
.kc-app .dataTables_empty { padding: 32px 16px !important; color: var(--kc-muted); text-align: center; white-space: normal !important; }
@media (max-width: 899px) { .kc-dt { min-width: 780px; } .kc-dt .dataTables_empty { text-align: left; } }

/* Page toolbar (filters + search) */
.kc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.kc-toolbar__search { flex: 0 1 320px; min-width: 220px; }
@media (max-width: 599px) { .kc-toolbar__search { flex-basis: 100%; } .kc-toolbar .kc-tabs-pill { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* Article (insight detail) */
.kc-article { width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
/* Insight details: article + sticky sidebar, full page width like the other panelist pages. */
.kc-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; margin-top: 18px; }
.kc-article-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.kc-article-related { margin-top: 20px; }
.kc-article__lede { margin: 2px 0 0; max-width: 760px; font-size: 18px; line-height: 1.55; color: var(--kc-text-2); }
.kc-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kc-side-head .kc-side-title { margin: 0; }
.kc-side-title { margin: 0 0 14px; font: 700 18px/1.25 var(--kc-display); letter-spacing: -0.015em; }
.kc-facts { margin: 0 0 18px; display: flex; flex-direction: column; }
.kc-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--kc-line-soft); font-size: 14px; }
.kc-facts > div:first-child { padding-top: 0; }
.kc-facts dt { font-weight: 500; color: var(--kc-muted); }
.kc-facts dd { margin: 0; font-weight: 600; color: var(--kc-text); text-align: right; }
.kc-btn--outline { background: #fff; color: var(--kc-text); border: 1.5px solid var(--kc-line); }
.kc-btn--outline:hover { border-color: var(--kc-teal); color: var(--kc-teal); }
.kc-btn svg { width: 18px; height: 18px; flex: none; }
.kc-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kc-side-list a { display: flex; gap: 12px; align-items: center; color: var(--kc-text) !important; }
.kc-side-list__img { flex: none; width: 76px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--kc-bg); }
.kc-side-list__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.kc-side-list a:hover .kc-side-list__img img { transform: scale(1.05); }
.kc-side-list__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kc-side-list__title { font: 700 15px/1.3 var(--kc-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc-side-list a:hover .kc-side-list__title { color: var(--kc-teal); }
.kc-side-cta { padding: 24px; border-radius: var(--kc-radius-lg); background: var(--kc-navy); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kc-side-cta .kc-kicker { color: var(--kc-mint); }
.kc-side-cta h2 { margin: 0; font: 700 22px/1.2 var(--kc-display); letter-spacing: -0.02em; color: #fff; }
.kc-side-cta p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
@media (max-width: 1023px) {
    .kc-article-layout { grid-template-columns: 1fr; }
    .kc-article-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
.kc-crumbs { font-size: 14px; font-weight: 600; }
.kc-article__head { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 8px; }
.kc-article__head h1 { margin: 0; font: 700 clamp(30px, 4.6vw, 52px)/1.04 var(--kc-display); letter-spacing: -0.035em; text-wrap: balance; max-width: 920px; }
.kc-article__head time { font-size: 14px; color: var(--kc-muted); }
.kc-article__actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--kc-line-soft); }
.kc-gallery { position: relative; }
.kc-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--kc-radius-lg); background: #fff; scrollbar-width: none; }
.kc-gallery__track::-webkit-scrollbar { display: none; }
.kc-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 9; }
.kc-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.kc-gallery__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--kc-line-strong); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.kc-gallery__dots button.is-active { width: 22px; background: var(--kc-teal); }

.kc-chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--kc-line); background: #fff; color: var(--kc-text-2); font: 600 13px var(--kc-font); cursor: pointer; transition: all .15s ease; }
.kc-chip-btn svg { width: 16px; height: 16px; }
.kc-chip-btn:hover { border-color: var(--kc-teal); color: var(--kc-text); }
.kc-chip-btn.liked { background: var(--kc-mint-100); border-color: var(--kc-mint-100); color: var(--kc-teal-ink); }
.kc-chip-btn--lg { min-height: 44px; padding: 0 18px; font-size: 14px; }
.kc-chip-btn--danger:hover { border-color: var(--kc-danger); color: var(--kc-danger); }
.kc-textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }

.kc-comments { display: flex; flex-direction: column; margin-top: 18px; }
.kc-comment { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--kc-line-soft); }
.kc-comment__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.kc-comment__avatar--initials { background: var(--kc-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.kc-comment__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.kc-comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.kc-comment__author { font-size: 15px; font-weight: 600; }
.kc-comment__date { font-size: 13px; color: var(--kc-muted); }
.kc-comment__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--kc-text-2); overflow-wrap: anywhere; white-space: pre-line; }
.kc-comment__actions { display: flex; gap: 8px; }
/* CMS content often carries inline fonts; keep articles on the site type scale. */
.kc-prose :is(h1, h2, h3, h4, h5, h6), .kc-prose :is(h1, h2, h3, h4, h5, h6) * { font-family: var(--kc-display) !important; }
.kc-prose :is(p, span, li, div, td, th, a, strong, em, b, i, font) { font-family: var(--kc-font) !important; }
.kc-prose p { text-align: left !important; }
.kc-grid--polls { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: stretch; }
/* Cards in a row share the tallest card's height; Vote (or the vote total) sits on the bottom edge so they line up. */
.kc-grid--polls > .kc-panel { display: flex; flex-direction: column; }
.kc-grid--polls .render-poll-results { flex: 1; display: flex; flex-direction: column; }
.kc-grid--polls .kc-poll { flex: 1; }
.kc-grid--polls .kc-poll__vote { margin-top: auto; }
.kc-grid--polls .kc-poll__results { flex: 1; }
.kc-grid--polls .kc-poll__total { margin-top: auto; padding-top: 4px; }

/* Survey profile (profileSections) */
.kc-donut--sm { width: 76px; height: 76px; }
.kc-donut--sm > span { width: 58px; height: 58px; font-size: 17px; }
.kc-profile { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.kc-profile__side { min-width: 0; background: transparent; box-shadow: none; }
.kc-profile__side-head { display: none; }
.kc-profile__nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.kc-section-btn { flex: none; position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; min-width: 180px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--kc-line); background: #fff; color: var(--kc-text); text-align: left; cursor: pointer; font: 500 14px var(--kc-font); transition: border-color .15s ease, background-color .15s ease; }
.kc-section-btn:hover { border-color: var(--kc-teal); }
.kc-section-btn__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-section-btn__pct { font: 600 12px var(--kc-mono); color: var(--kc-muted); }
.kc-section-btn__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--kc-line-soft); overflow: hidden; }
.kc-section-btn__bar span { display: block; height: 100%; background: var(--kc-teal); border-radius: 4px; transition: width .3s ease; }
.kc-section-btn.is-active { background: var(--kc-navy); border-color: var(--kc-navy); color: #fff; }
.kc-section-btn.is-active .kc-section-btn__pct { color: var(--kc-mint); }
.kc-section-btn.is-active .kc-section-btn__bar { background: rgba(255, 255, 255, .15); }
.kc-section-btn.is-active .kc-section-btn__bar span { background: var(--kc-mint); }
.kc-section-btn.is-complete:not(.is-active) .kc-section-btn__pct { color: var(--kc-teal-dark); }
@media (min-width: 900px) {
    /* Desktop: both columns share one viewport-fit height and scroll inside themselves,
       so a long section list never stretches the page past the question card. */
    .kc-profile { --kc-profile-h: clamp(460px, calc(100dvh - 120px), 760px); grid-template-columns: 300px 1fr; align-items: stretch; }
    .kc-profile__side { display: flex; flex-direction: column; height: var(--kc-profile-h); background: #fff; overflow: hidden; }
    .kc-profile__side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 18px 18px 12px; border-bottom: 1px solid var(--kc-line-soft); }
    .kc-profile__side-head .kc-side-title { margin: 0; font: 700 17px/1.2 var(--kc-display); letter-spacing: -0.015em; }
    .kc-profile__done { font-size: 12px; font-weight: 600; color: var(--kc-muted); white-space: nowrap; }
    .kc-profile__nav { flex: 1; min-height: 0; flex-direction: column; gap: 6px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 10px 10px 12px; scrollbar-gutter: stable; }
    .kc-section-btn { min-width: 0; width: 100%; padding: 10px 12px; border-radius: 12px; border-color: transparent; background: var(--kc-bg); gap: 6px 12px; }
    .kc-section-btn:hover { background: #fff; }
    .kc-section-btn.is-complete:not(.is-active) { background: var(--kc-mint-50); }
    .kc-question { height: var(--kc-profile-h); min-height: 0; padding: 0; gap: 0; overflow: hidden; }
    .kc-question > .kc-question__loading { margin: auto; }
    .kc-question__head { flex: none; display: flex; flex-direction: column; gap: 14px; padding: 22px 26px 16px; border-bottom: 1px solid var(--kc-line-soft); }
    .kc-question__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 16px; padding: 22px 26px; }
    .kc-question__nav { flex: none; margin: 0; padding: 14px 26px; border-top: 1px solid var(--kc-line-soft); background: #fff; }
}
.kc-question { display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.kc-question__loading { color: var(--kc-muted); padding: 40px 0; text-align: center; }
.kc-question__head, .kc-question__body { display: flex; flex-direction: column; gap: 16px; }
.kc-question__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kc-question__count { font: 600 13px var(--kc-mono); color: var(--kc-muted); }
.kc-question__bar { height: 6px; border-radius: 99px; background: var(--kc-line-soft); overflow: hidden; }
.kc-question__bar span { display: block; height: 100%; background: var(--kc-teal); border-radius: 99px; transition: width .3s ease; }
.kc-question__text { margin: 4px 0 0; font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--kc-display); letter-spacing: -0.02em; text-wrap: balance; }
.kc-question__error { display: none; }
.kc-question__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.kc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.kc-option { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--kc-line); background: #fff; font-size: 15px; font-weight: 500; color: var(--kc-text); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.kc-option:hover { border-color: var(--kc-teal); background: var(--kc-mint-50); }
.kc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kc-option__mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--kc-line-strong); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.kc-option input[type="checkbox"] + .kc-option__mark { border-radius: 6px; }
.kc-option:has(input:checked) { border-color: var(--kc-navy); background: var(--kc-navy); color: #fff; }
.kc-option input:checked + .kc-option__mark { background: var(--kc-teal); border-color: var(--kc-teal); }
.kc-option input:checked + .kc-option__mark::after { content: "✓"; }
.kc-option input:focus-visible + .kc-option__mark { box-shadow: var(--kc-ring); }

/* Message Center */
.kc-chat { display: flex; flex-direction: column; }
.kc-chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--kc-line-soft); }
.kc-chat__head strong { display: block; font: 700 18px var(--kc-display); }
.kc-chat__head span { display: block; font-size: 13px; color: var(--kc-muted); }
.kc-chat__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--kc-teal); color: #fff; display: flex !important; align-items: center; justify-content: center; }
.kc-chat__avatar svg { width: 20px; height: 20px; }
.kc-chat .mesgs { background: var(--kc-bg); }
.kc-chat .msg_history { height: clamp(320px, calc(100vh - 460px), 640px); overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.kc-chat .msg_history:empty::before { content: attr(data-empty); margin: auto; max-width: 320px; text-align: center; font-size: 14px; color: var(--kc-muted); }
.kc-chat .incoming_msg, .kc-chat .outgoing_msg { display: flex; }
.kc-chat .outgoing_msg { justify-content: flex-end; }
.kc-chat .received_msg, .kc-chat .sent_msg { max-width: min(78%, 520px); }
.kc-chat .received_withd_msg, .kc-chat .sent_msg .message-wrapper { position: relative; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.kc-chat .received_withd_msg { background: #fff; color: var(--kc-text); border-bottom-left-radius: 6px; }
.kc-chat .sent_msg .message-wrapper { background: var(--kc-navy); color: #fff; border-bottom-right-radius: 6px; padding-right: 34px; }
.kc-chat .received_withd_msg p, .kc-chat .message-wrapper p { margin: 0; }
.kc-chat .received_withd_msg p + p, .kc-chat .message-wrapper p + p { margin-top: 6px; }
.kc-chat .message-wrapper a { color: var(--kc-mint) !important; text-decoration: underline; }
.kc-chat .received_withd_msg a { text-decoration: underline; }
.kc-chat .time_date { display: block; margin-top: 4px; font-size: 11px; color: var(--kc-muted); }
.kc-chat .received_withd_msg .time_date { margin-top: 6px; }
.kc-chat .sent_msg .time_date { text-align: right; }
.kc-chat .message-actions { position: absolute; top: 4px; right: 4px; }
.kc-chat .message-actions .btn-link { min-height: 0; height: 24px; width: 24px; padding: 0; color: rgba(255, 255, 255, .7); font-size: 11px; opacity: 0; transition: opacity .15s ease; }
.kc-chat .sent_msg:hover .message-actions .btn-link, .kc-chat .message-actions .btn-link:focus, .kc-chat .message-actions.open .btn-link { opacity: 1; }
@media (hover: none) { .kc-chat .message-actions .btn-link { opacity: 1; } }
.kc-chat .message-actions .dropdown-menu { min-width: 120px; padding: 6px; }
.kc-chat .message-actions .dropdown-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--kc-danger) !important; cursor: pointer; text-decoration: none; }
.kc-chat .message-actions .dropdown-menu a:hover { background: var(--kc-danger-bg); }
.kc-chat__composer { padding: 12px 14px 14px; border-top: 1px solid var(--kc-line-soft); display: flex; flex-direction: column; gap: 6px; }
.kc-chat__row { display: flex; align-items: flex-end; gap: 8px; }
.kc-chat__icon-btn { position: relative; flex: none; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: var(--kc-bg); color: var(--kc-text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kc-chat__icon-btn:hover { color: var(--kc-teal); }
.kc-chat__icon-btn svg { width: 20px; height: 20px; }
.kc-chat__icon-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.kc-chat__field { position: relative; flex: 1; min-width: 0; }
.kc-chat__input { display: block; width: 100%; min-height: 44px; max-height: 140px; padding: 11px 44px 11px 16px; border-radius: 22px; border: 1.5px solid var(--kc-line); background: #fff; font: 500 15px/1.4 var(--kc-font); color: var(--kc-text); resize: none; outline: none; }
.kc-chat__input:focus { border-color: var(--kc-teal); box-shadow: var(--kc-ring); }
.kc-chat__send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--kc-navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kc-chat__send:hover { background: var(--kc-navy-2); }
.kc-chat__send[disabled] { opacity: .5; }
/* While a message is sending: a spinner instead of the arrow, so it's clear the click registered. */
.kc-chat__send[aria-busy="true"] { opacity: 1; cursor: progress; }
.kc-chat__send[aria-busy="true"] svg { display: none; }
.kc-chat__send[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: kc-spin .7s linear infinite; }
.kc-chat__send svg { width: 18px; height: 18px; }
.kc-chat__file { display: none; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--kc-mint-50); color: var(--kc-teal-ink); font-size: 13px; font-weight: 600; max-width: 100%; }
.kc-chat__file.active { display: inline-flex; }
.kc-chat__file svg { width: 14px; height: 14px; flex: none; }
.kc-chat__file .selected-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-chat__file button { border: 0; background: rgba(var(--color-primary-rgb, 11, 37, 87), .12); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; }
.kc-chat__hint { font-size: 12px; color: var(--kc-muted); padding-left: 56px; }
@media (max-width: 480px) { .kc-chat__hint { display: none; } }
/* Emoji picker (panelist chat): a popover above the composer, right-aligned to the input. */
.kc-emoji-btn { position: absolute; right: 4px; bottom: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--kc-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kc-emoji-btn:hover, .kc-emoji-btn[aria-expanded="true"] { color: var(--kc-teal); background: var(--kc-mint-50); }
.kc-emoji-btn svg { width: 22px; height: 22px; }
.kc-emoji-pop { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 30; width: 328px; max-width: calc(100vw - 32px); padding: 8px 8px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--kc-line-soft); box-shadow: 0 24px 48px -20px rgba(7, 21, 56, .35); animation: kc-emoji-in .15s ease; }
.kc-emoji-pop[hidden] { display: none; }
@keyframes kc-emoji-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kc-emoji-pop__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--kc-bg); }
.kc-emoji-pop__tabs button { flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; filter: grayscale(1); opacity: .6; transition: background .12s ease, opacity .12s ease; }
.kc-emoji-pop__tabs button:hover { opacity: 1; filter: none; }
.kc-emoji-pop__tabs button.is-active { background: #fff; opacity: 1; filter: none; box-shadow: 0 1px 3px rgba(7, 21, 56, .12); }
.kc-emoji-pop__title { margin: 10px 6px 6px; font-size: 12px; font-weight: 600; color: var(--kc-muted); letter-spacing: .02em; }
.kc-emoji-pop__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 196px; overflow-y: auto; overscroll-behavior: contain; }
.kc-emoji-pop__item { aspect-ratio: 1; border: 0; border-radius: 9px; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.kc-emoji-pop__item:hover, .kc-emoji-pop__item:focus-visible { background: var(--kc-mint-50); outline: none; }
.kc-emoji-pop__empty { grid-column: 1 / -1; margin: 18px 6px; font-size: 13px; color: var(--kc-muted); text-align: center; }
/* Phones: anchor to the whole composer row so the popover spans it and stays inside the page gutter. */
@media (max-width: 480px) {
    .kc-chat__row { position: relative; }
    .kc-chat__field { position: static; }
    .kc-chat__field .kc-emoji-btn { right: 56px; bottom: 4px; }
    .kc-emoji-pop { left: 0; right: 0; width: auto; max-width: none; }
    .kc-emoji-pop__grid { grid-template-columns: repeat(7, 1fr); }
}

/* Reward cards (withdraw + XOXO catalogue) */
.kc-grid--rewards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.kc-reward-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--kc-radius-lg); overflow: hidden; color: var(--kc-text) !important; transition: transform .15s ease, box-shadow .15s ease; }
a.kc-reward-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(7, 21, 56, .45); }
.kc-reward-card__img { aspect-ratio: 16 / 10; background: var(--kc-bg); display: flex; align-items: center; justify-content: center; padding: 18px; }
.kc-reward-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.kc-reward-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 6px; }
.kc-reward-card__name { margin: 0; font: 700 18px/1.25 var(--kc-display); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc-reward-card__desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--kc-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kc-reward-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 18px; }
.kc-reward-card__value { font: 700 20px var(--kc-display); color: var(--kc-teal-dark); }
.kc-reward-card__value small { font: 500 12px var(--kc-font); color: var(--kc-muted); display: block; }
.kc-reward-card__need { font-size: 12.5px; font-weight: 600; color: var(--kc-muted); text-align: right; }

/* Reward detail (XOXO product) */
.kc-product { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .kc-product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.kc-product__media { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 28px; }
.kc-product__media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.kc-product__info { display: flex; flex-direction: column; gap: 10px; }
.kc-product__name { margin: 0; font: 700 clamp(26px, 3.4vw, 40px)/1.08 var(--kc-display); letter-spacing: -0.03em; }
.kc-product__price { font: 700 22px var(--kc-display); color: var(--kc-teal-dark); }
.kc-product__buy { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--kc-line-soft); }
.kc-product__buy .kc-error[style*="display: inline"], .kc-product__buy .kc-error[style*="display: block"] { display: block !important; }
.kc-product__balance { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--kc-muted); }
.kc-product__balance strong { font: 700 18px var(--kc-display); color: var(--kc-text); }

/* FAQ accordion */
.kc-faq { border-top: 1px solid var(--kc-line-soft); }
.kc-faq:first-of-type { border-top: 0; }
.kc-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; cursor: pointer; }
.kc-faq summary::-webkit-details-marker { display: none; }
.kc-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--kc-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; transition: transform .2s ease; }
.kc-faq[open] summary::after { transform: rotate(45deg); background: var(--kc-mint-100); color: var(--kc-teal-ink); }
.kc-faq .kc-prose { padding: 0 0 18px; font-size: 15px; }
@media (max-width: 479px) { .kc-phone .kc-dd { flex-basis: 118px; } .kc-phone .kc-select { flex-basis: 118px; padding-right: 30px; background-position: right 12px center; } }
/* Code boxes share the row on narrow screens instead of overflowing. */
.kc-otp input, .kc-app .otp-input .otp-digit { flex: 1 1 0; min-width: 0; width: auto; max-width: 52px; }

/* =============== Public pages (layouts/public) =============== */
.kc-public-body { background: var(--kc-bg); }
.kc-site-top { position: sticky; top: 0; z-index: 40; background: var(--kc-navy); color: #fff; }
.kc-site-top .kc-header { position: static; background: var(--kc-navy); }
.kc-public-main { width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) 16px clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 16px; min-height: 52vh; }
.kc-public-main--narrow { max-width: 560px; }
.kc-focus-card { background: #fff; border-radius: var(--kc-radius-lg); padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px -36px rgba(7, 21, 56, .35); }
.kc-focus-card h1 { margin: 0; font: 700 clamp(28px, 4vw, 40px)/1.08 var(--kc-display); letter-spacing: -0.03em; }
.kc-focus-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--kc-muted); }
.kc-focus-card .kc-kicker { color: var(--kc-teal); letter-spacing: .06em; }
.kc-focus-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.kc-status-icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--kc-mint-100); color: var(--kc-teal-dark); }
.kc-status-icon svg { width: 30px; height: 30px; }
.kc-status-icon--warn { background: var(--kc-warn-bg); color: var(--kc-warn-ink); }
.kc-status-icon--bad { background: var(--kc-danger-bg); color: var(--kc-danger); }
.kc-status-icon--neutral { background: var(--kc-bg); color: var(--kc-text-2); }
.kc-error-code { font: 800 clamp(64px, 12vw, 120px)/0.9 var(--kc-display); letter-spacing: -0.05em; color: var(--kc-mint-100); }

/* Resend-verification control */
.kc-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.kc-verify .kc-btn[disabled] { opacity: .55; cursor: not-allowed; }
.kc-verify__note { flex: 1 1 220px; font-size: 13px; line-height: 1.45; color: inherit; opacity: .85; }
.kc-verify__note:empty { display: none; }
.kc-verify.is-sent .kc-btn { background: var(--kc-teal); opacity: 1; }
.kc-verify.is-sent .kc-verify__note { color: var(--kc-teal-ink); opacity: 1; font-weight: 500; }
.kc-verify.is-error .kc-verify__note { color: var(--kc-danger); opacity: 1; font-weight: 500; }
.kc-banner .kc-verify { flex: 1 1 100%; }
.kc-field .kc-verify { margin-top: 8px; }
@media (min-width: 900px) { .kc-banner .kc-verify { flex: 0 1 auto; max-width: 520px; justify-content: flex-end; } .kc-banner .kc-verify__note { text-align: right; } }

/* Bootstrap 3 (loaded only in the panelist area for modals/dropdowns) sets a:hover/a:focus to
   dark blue + underline, which out-ranks our component colours. Neutralise it inside .kc-app
   only, and pin the colour of card-style links in every state. */
.kc-app a:hover, .kc-app a:focus { text-decoration: none; }
.kc-app a:focus:not(:focus-visible) { outline: none; }
.kc-app a.kc-stat--navy, .kc-app a.kc-stat--navy:hover, .kc-app a.kc-stat--navy:focus,
.kc-app a.kc-stat--teal, .kc-app a.kc-stat--teal:hover, .kc-app a.kc-stat--teal:focus { color: #fff; }
.kc-app a.kc-stat--white, .kc-app a.kc-stat--white:hover, .kc-app a.kc-stat--white:focus { color: var(--kc-text); }
.kc-app a.kc-stat { transition: transform .15s ease, box-shadow .15s ease; }
.kc-app a.kc-stat:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(7, 21, 56, .45); }
.kc-app a.kc-panel__link:hover, .kc-app a.kc-panel__link:focus, .kc-app .kc-crumbs a:hover { color: var(--kc-teal-dark); }
.kc-app .kc-app-footer a:hover, .kc-app .kc-app-footer a:focus { color: var(--kc-teal-dark); }

/* Profile progress card — as in the design: donut left, label + figures beside it, left-aligned.
   (.kc-stat stacks its content in a column; this card is a row.) */
.kc-stat.kc-donut-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 18px 20px; min-height: 200px; padding: 26px; }
.kc-donut-card__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kc-donut-card__label { font-size: 14px; font-weight: 500; color: var(--kc-muted); }
.kc-donut-card .kc-donut > span { font-size: 26px; }
.kc-donut-card__pairs strong { line-height: 1.2; }
.kc-article-side .kc-side-title { margin-bottom: 14px; }
.kc-article-side .kc-side-head .kc-side-title { margin-bottom: 0; }
/* Transactions: always newest first, so no sort icon; tight page buttons. */
.kc-tx .kc-dt > thead > tr > th.sorting, .kc-tx .kc-dt > thead > tr > th.sorting_asc, .kc-tx .kc-dt > thead > tr > th.sorting_desc, .kc-tx .kc-dt > thead > tr > th.sorting_disabled { background-image: none !important; padding-right: 8px; cursor: default; }
.kc-tx .kc-dt > thead > tr > th::after, .kc-tx .kc-dt > thead > tr > th::before { display: none !important; }
.kc-tx .kc-dt-foot .pagination > li { margin: 0; padding: 0; display: inline-flex; }
.kc-tx .kc-dt > thead > tr > th:last-child, .kc-tx .kc-dt > tbody > tr > td:last-child { padding-right: 24px !important; }
