/* HF User Page - Orange finance dashboard */

html.xkvt-site-dark {
    color-scheme: dark;
}

body.xkvt-mpu-active {
    margin: 0 !important;
    overflow-x: hidden;
    background: #fff7ef;
}

body.xkvt-mpu-active :where(.entry-content, .wp-block-post-content, .site-content, .content-area, .main-content, #primary, #main, .container, .wrap, .page-content) {
    max-width: none !important;
}

body.xkvt-mpu-active :where(.entry-content, .wp-block-post-content) {
    margin: 0 !important;
    padding: 0 !important;
}

body.xkvt-mpu-hide-shell :where(.site-header, #masthead, header#masthead, .elementor-location-header, .wp-block-template-part.header, .main-navigation, .navbar, .site-footer, #colophon, footer#colophon, .elementor-location-footer, .wp-block-template-part.footer) {
    display: none !important;
}

body.xkvt-mpu-hide-shell > header,
body.xkvt-mpu-hide-shell > footer {
    display: none !important;
}

body.xkvt-mpu-active .xkvt-mpu-root {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

html.xkvt-mpu-modal-open {
    overflow: hidden;
}

.xkvt-mpu-root,
.xkvt-mpu-root * {
    box-sizing: border-box;
}

.xkvt-mpu-root {
    --xkvt-accent: #ff7900;
    --xkvt-accent-2: #ff4d00;
    --xkvt-accent-3: #ffb15f;
    --xkvt-bg: #fff8f1;
    --xkvt-card: rgba(255, 255, 255, 0.86);
    --xkvt-card-solid: #ffffff;
    --xkvt-text: #111827;
    --xkvt-heading: #0f172a;
    --xkvt-muted: #737b8c;
    --xkvt-soft: #fff0e3;
    --xkvt-soft-2: #fff7ed;
    --xkvt-line: rgba(148, 163, 184, 0.20);
    --xkvt-line-strong: rgba(148, 163, 184, 0.32);
    --xkvt-shadow: 0 30px 80px rgba(84, 45, 12, 0.15);
    --xkvt-shadow-soft: 0 18px 46px rgba(84, 45, 12, 0.10);
    --xkvt-danger: #ff355d;
    --xkvt-success: #16b364;
    --xkvt-success-soft: #e9fbf2;
    --xkvt-warning-soft: #fff0e4;
    --xkvt-sidebar-width: 312px;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: var(--xkvt-sidebar-width) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 58px);
    padding: clamp(18px, 2.6vw, 34px) clamp(22px, 4vw, 54px) clamp(24px, 4vw, 48px) clamp(18px, 2vw, 30px);
    font-family: "Be Vietnam Pro", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--xkvt-text);
    background:
        radial-gradient(circle at 10% 2%, rgba(255, 121, 0, 0.18), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 183, 98, 0.24), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(255, 237, 213, 0.80), transparent 34%),
        linear-gradient(180deg, #fffdfb 0%, var(--xkvt-bg) 100%);
    line-height: 1.45;
    isolation: isolate;
}

html.xkvt-site-dark .xkvt-mpu-root,
body.xkvt-site-dark .xkvt-mpu-root {
    --xkvt-bg: #0b111b;
    --xkvt-card: rgba(17, 24, 39, 0.82);
    --xkvt-card-solid: #111827;
    --xkvt-text: #edf2f7;
    --xkvt-heading: #ffffff;
    --xkvt-muted: #aab4c5;
    --xkvt-soft: rgba(255, 121, 0, 0.14);
    --xkvt-soft-2: rgba(255, 121, 0, 0.08);
    --xkvt-line: rgba(255, 255, 255, 0.10);
    --xkvt-line-strong: rgba(255, 255, 255, 0.16);
    --xkvt-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
    --xkvt-shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.28);
    --xkvt-success-soft: rgba(22, 179, 100, 0.14);
    --xkvt-warning-soft: rgba(255, 121, 0, 0.14);
    background:
        radial-gradient(circle at 8% 3%, rgba(255, 121, 0, 0.25), transparent 28%),
        radial-gradient(circle at 92% 9%, rgba(255, 77, 0, 0.15), transparent 28%),
        radial-gradient(circle at 54% 100%, rgba(255, 121, 0, 0.10), transparent 30%),
        linear-gradient(180deg, #0b111b 0%, #111827 100%);
}

.xkvt-mpu-root a {
    color: inherit;
    text-decoration: none;
}

.xkvt-mpu-root button,
.xkvt-mpu-root input,
.xkvt-mpu-root textarea,
.xkvt-mpu-root select {
    font-family: inherit;
}

.xkvt-mpu-root button {
    cursor: pointer;
}

.xkvt-mpu-svg {
    width: 22px;
    height: 22px;
    display: block;
    flex: none;
}

.xkvt-mpu-sidebar {
    min-height: calc(100dvh - clamp(36px, 5.2vw, 68px));
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0 18px 0 0;
    border-right: 1px solid var(--xkvt-line);
    position: sticky;
    top: 24px;
    align-self: start;
}

.xkvt-mpu-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 58px;
    padding: 0 8px;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--xkvt-heading);
}

.xkvt-mpu-brand-icon,
.xkvt-mpu-side-icon,
.xkvt-mpu-row-icon,
.xkvt-mpu-support-icon,
.xkvt-mpu-info-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
}

.xkvt-mpu-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: var(--xkvt-accent);
    background: linear-gradient(135deg, rgba(255, 121, 0, 0.14), rgba(255, 184, 96, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html.xkvt-site-dark .xkvt-mpu-brand-icon,
body.xkvt-site-dark .xkvt-mpu-brand-icon {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.xkvt-mpu-brand-icon .xkvt-mpu-svg {
    width: 27px;
    height: 27px;
}

.xkvt-mpu-side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--xkvt-line);
}

.xkvt-mpu-side-heading {
    display: block;
    margin: 22px 0 8px 14px;
    color: var(--xkvt-muted);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.xkvt-mpu-side-link {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 0;
    border-radius: 18px;
    padding: 0 14px;
    background: transparent;
    color: var(--xkvt-text);
    font-size: 15.5px;
    font-weight: 820;
    text-align: left;
    position: relative;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.xkvt-mpu-side-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: transparent;
}

.xkvt-mpu-side-link:hover,
.xkvt-mpu-side-link:focus-visible,
.xkvt-mpu-side-link.is-active {
    background: linear-gradient(90deg, rgba(255, 121, 0, 0.16), rgba(255, 121, 0, 0.06));
    color: var(--xkvt-accent);
    outline: none;
}

.xkvt-mpu-side-link:hover,
.xkvt-mpu-side-link:focus-visible {
    transform: translateX(2px);
    box-shadow: 0 12px 30px rgba(255, 121, 0, 0.08);
}

.xkvt-mpu-side-link.is-active::before {
    background: linear-gradient(180deg, var(--xkvt-accent), var(--xkvt-accent-2));
}

.xkvt-mpu-side-icon {
    width: 27px;
    height: 27px;
    color: currentColor;
}

.xkvt-mpu-side-icon .xkvt-mpu-svg {
    width: 24px;
    height: 24px;
}

.xkvt-mpu-side-alert,
.xkvt-mpu-side-ok {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.xkvt-mpu-side-alert {
    background: var(--xkvt-danger);
    box-shadow: 0 8px 16px rgba(255, 53, 93, 0.24);
}

.xkvt-mpu-side-ok {
    background: var(--xkvt-success);
    box-shadow: 0 8px 16px rgba(22, 179, 100, 0.20);
}

.xkvt-mpu-side-ok .xkvt-mpu-svg {
    width: 16px;
    height: 16px;
}

.xkvt-mpu-support-card {
    margin-top: auto;
    border: 1px solid var(--xkvt-line);
    border-radius: 22px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 242, 0.88));
    box-shadow: var(--xkvt-shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

html.xkvt-site-dark .xkvt-mpu-support-card,
body.xkvt-site-dark .xkvt-mpu-support-card {
    background: linear-gradient(180deg, rgba(22, 30, 45, 0.92), rgba(17, 24, 39, 0.88));
}

.xkvt-mpu-support-icon {
    width: 44px;
    height: 44px;
    color: var(--xkvt-accent);
    background: var(--xkvt-soft);
    border-radius: 999px;
}

.xkvt-mpu-support-card strong {
    font-size: 15px;
    font-weight: 880;
    color: var(--xkvt-heading);
}

.xkvt-mpu-support-card p {
    margin: 0;
    color: var(--xkvt-muted);
    font-size: 14px;
    line-height: 1.65;
}

.xkvt-mpu-support-card a,
.xkvt-mpu-primary-btn,
.xkvt-mpu-modal-action {
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    color: #fff !important;
    font-size: 14px;
    font-weight: 880;
    box-shadow: 0 16px 30px rgba(255, 121, 0, 0.24);
}

.xkvt-mpu-modal-action .xkvt-mpu-svg {
    width: 18px;
    height: 18px;
}

.xkvt-mpu-main {
    min-width: 0;
    padding-top: 2px;
}

.xkvt-mpu-topline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    min-height: 52px;
    margin-bottom: 18px;
}

.xkvt-mpu-user-mini {
    border: 0;
    background: rgba(255, 255, 255, 0.60);
    color: var(--xkvt-text);
    height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(84, 45, 12, 0.07);
    border: 1px solid var(--xkvt-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

html.xkvt-site-dark .xkvt-mpu-user-mini,
body.xkvt-site-dark .xkvt-mpu-user-mini {
    background: rgba(17, 24, 39, 0.66);
}

.xkvt-mpu-user-mini:hover,
.xkvt-mpu-user-mini:focus-visible {
    background: var(--xkvt-soft);
    outline: none;
}

.xkvt-mpu-user-mini strong {
    font-size: 14px;
    font-weight: 850;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xkvt-mpu-user-mini .xkvt-mpu-svg-chevron-down {
    width: 18px;
    height: 18px;
    color: var(--xkvt-muted);
}

.xkvt-mpu-main-head {
    margin-bottom: 28px;
}

.xkvt-mpu-main-head h1 {
    margin: 0;
    color: var(--xkvt-heading);
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.xkvt-mpu-main-head p {
    margin: 9px 0 0;
    color: var(--xkvt-muted);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 620;
}

.xkvt-mpu-card {
    border: 1px solid var(--xkvt-line);
    border-radius: 24px;
    background: var(--xkvt-card);
    box-shadow: var(--xkvt-shadow-soft);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.xkvt-mpu-profile-card {
    min-height: 154px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: clamp(20px, 2.5vw, 32px);
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
}

.xkvt-mpu-profile-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -160px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 121, 0, 0.15), transparent 65%);
    pointer-events: none;
}

.xkvt-mpu-avatar {
    width: 100px;
    height: 100px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    position: relative;
    flex: none;
    color: var(--xkvt-accent);
}

.xkvt-mpu-avatar-visual {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: inline-grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: var(--xkvt-accent);
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.78), transparent 35%),
        linear-gradient(135deg, rgba(255, 121, 0, 0.16), rgba(255, 184, 96, 0.16));
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.055em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 18px 38px rgba(255, 121, 0, 0.12);
}

html.xkvt-site-dark .xkvt-mpu-avatar-visual,
body.xkvt-site-dark .xkvt-mpu-avatar-visual {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 38px rgba(0, 0, 0, 0.22);
}

.xkvt-mpu-avatar-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 2;
}

.xkvt-mpu-avatar-img.is-hidden {
    display: none;
}

.xkvt-mpu-avatar-visual.has-image .xkvt-mpu-avatar-initials {
    opacity: 0;
}

.xkvt-mpu-avatar-initials {
    z-index: 1;
}

.xkvt-mpu-mini-avatar {
    width: 42px;
    height: 42px;
    font-size: 15px;
    flex: none;
}

.xkvt-mpu-avatar-form {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.xkvt-mpu-avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.xkvt-mpu-camera {
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    border: 4px solid var(--xkvt-card-solid);
    box-shadow: 0 10px 18px rgba(255, 121, 0, 0.22);
    pointer-events: auto;
}

.xkvt-mpu-camera:hover,
.xkvt-mpu-camera:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.xkvt-mpu-camera .xkvt-mpu-svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
}

.xkvt-mpu-avatar-form.is-loading .xkvt-mpu-camera {
    opacity: .72;
    pointer-events: none;
}

.xkvt-mpu-avatar-upload-state {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    min-width: 150px;
    max-width: 220px;
    color: var(--xkvt-muted);
    background: var(--xkvt-card-solid);
    border: 1px solid var(--xkvt-line);
    border-radius: 999px;
    box-shadow: var(--xkvt-shadow-soft);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 780;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 5;
}

.xkvt-mpu-avatar-upload-state:not(:empty) {
    opacity: 1;
}

.xkvt-mpu-avatar-upload-state.is-ok {
    color: var(--xkvt-success);
}

.xkvt-mpu-avatar-upload-state.is-error {
    color: var(--xkvt-danger);
}

.xkvt-mpu-profile-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
}

.xkvt-mpu-profile-copy strong {
    color: var(--xkvt-heading);
    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 930;
    letter-spacing: -0.052em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xkvt-mpu-profile-copy span {
    color: var(--xkvt-muted);
    font-size: 15.5px;
    font-weight: 620;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xkvt-mpu-badge {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 14px;
    padding: 0 18px;
    color: #e65f00 !important;
    background: var(--xkvt-warning-soft);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.xkvt-mpu-edit-btn {
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 121, 0, 0.45);
    background: rgba(255, 255, 255, 0.38);
    color: var(--xkvt-accent) !important;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 880;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    z-index: 1;
}

html.xkvt-site-dark .xkvt-mpu-edit-btn,
body.xkvt-site-dark .xkvt-mpu-edit-btn {
    background: rgba(255, 121, 0, 0.08);
}

.xkvt-mpu-edit-btn .xkvt-mpu-svg {
    width: 18px;
    height: 18px;
}

.xkvt-mpu-edit-btn:hover,
.xkvt-mpu-edit-btn:focus-visible {
    background: rgba(255, 121, 0, 0.10);
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 12px 26px rgba(255, 121, 0, 0.15);
}

.xkvt-mpu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 28px;
}

.xkvt-mpu-panel {
    padding: 24px 26px 18px;
}

.xkvt-mpu-panel h2 {
    margin: 0 0 16px;
    color: var(--xkvt-heading);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 930;
    letter-spacing: -0.045em;
}

.xkvt-mpu-list {
    display: flex;
    flex-direction: column;
}

.xkvt-mpu-row {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 0;
    border-bottom: 1px solid var(--xkvt-line);
    padding: 14px 0;
    background: transparent;
    color: var(--xkvt-text);
    text-align: left;
    transition: transform 0.18s ease, background 0.18s ease;
}

.xkvt-mpu-row:last-child {
    border-bottom: 0;
}

.xkvt-mpu-row-action:hover,
.xkvt-mpu-row-action:focus-visible {
    outline: none;
    transform: translateX(2px);
}

.xkvt-mpu-row-icon {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    color: var(--xkvt-accent);
    background: var(--xkvt-soft);
}

.xkvt-mpu-row-icon .xkvt-mpu-svg {
    width: 25px;
    height: 25px;
}

.xkvt-mpu-row-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xkvt-mpu-row-title {
    color: var(--xkvt-heading);
    font-size: 16.2px;
    font-weight: 880;
    letter-spacing: -0.026em;
}

.xkvt-mpu-row-subtitle {
    color: var(--xkvt-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.xkvt-mpu-row-alert .xkvt-mpu-row-subtitle {
    color: var(--xkvt-danger);
}

.xkvt-mpu-row-ok .xkvt-mpu-row-subtitle {
    color: var(--xkvt-success);
    font-weight: 780;
}

.xkvt-mpu-row-trailing {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--xkvt-muted);
    font-size: 14px;
    font-weight: 780;
}

.xkvt-mpu-row-trailing > .xkvt-mpu-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}

.xkvt-mpu-language-current {
    color: var(--xkvt-accent);
    font-weight: 880;
}

.xkvt-mpu-status-dot {
    width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
}

.xkvt-mpu-status-dot .xkvt-mpu-svg {
    width: 27px;
    height: 27px;
}

.xkvt-mpu-status-dot.is-alert {
    color: var(--xkvt-danger);
}

.xkvt-mpu-status-dot.is-ok {
    color: var(--xkvt-success);
}

.xkvt-mpu-switch {
    width: 62px;
    height: 34px;
    display: inline-block;
    position: relative;
    flex: none;
}

.xkvt-mpu-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.xkvt-mpu-switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #dde3ed;
    box-shadow: inset 0 1px 2px rgba(35, 40, 66, 0.12);
    transition: background 0.18s ease;
}

html.xkvt-site-dark .xkvt-mpu-switch span,
body.xkvt-site-dark .xkvt-mpu-switch span {
    background: #263244;
}

.xkvt-mpu-switch span::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    top: 3px;
    left: 3px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(63, 67, 101, 0.22);
    transition: transform 0.18s ease;
}

.xkvt-mpu-switch input:checked + span {
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
}

.xkvt-mpu-switch input:checked + span::before {
    transform: translateX(28px);
}

.xkvt-mpu-panel-wide {
    margin-bottom: 0;
}

.xkvt-mpu-language-panel[hidden],
.xkvt-mpu-modal[hidden] {
    display: none !important;
}

.xkvt-mpu-language-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
}

.xkvt-mpu-language-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 23, 0.10);
    opacity: 1;
    pointer-events: none;
}

.xkvt-mpu-language-panel-inner {
    position: absolute;
    top: 86px;
    right: clamp(18px, 4vw, 58px);
    width: min(380px, calc(100vw - 36px));
    border: 1px solid var(--xkvt-line-strong);
    border-radius: 24px;
    padding: 14px;
    background: var(--xkvt-card-solid);
    color: var(--xkvt-text);
    box-shadow: var(--xkvt-shadow);
    pointer-events: auto;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.xkvt-mpu-language-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 12px;
    border-bottom: 1px solid var(--xkvt-line);
}

.xkvt-mpu-language-panel-head strong {
    color: var(--xkvt-heading);
    font-size: 17px;
    font-weight: 930;
    letter-spacing: -0.03em;
}

.xkvt-mpu-language-panel-head button,
.xkvt-mpu-modal-close {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 0;
    background: var(--xkvt-soft);
    color: var(--xkvt-accent);
}

.xkvt-mpu-language-panel-head .xkvt-mpu-svg,
.xkvt-mpu-modal-close .xkvt-mpu-svg {
    width: 20px;
    height: 20px;
}

.xkvt-mpu-language-options {
    padding-top: 10px;
}

.xkvt-mpu-language-options :where(select) {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--xkvt-line);
    border-radius: 14px;
    background: var(--xkvt-soft-2);
    color: var(--xkvt-heading);
    padding: 0 12px;
    font-weight: 750;
}

.xkvt-mpu-language-options :where(.gt_switcher, .gtranslate_wrapper, .gt_selector) {
    max-width: 100%;
}

.xkvt-mpu-lang-choice {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--xkvt-heading);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    text-align: left;
}

.xkvt-mpu-lang-choice:hover,
.xkvt-mpu-lang-choice:focus-visible,
.xkvt-mpu-lang-choice.is-current {
    background: var(--xkvt-soft);
    outline: none;
}

.xkvt-mpu-lang-choice span {
    min-width: 32px;
    font-size: 14px;
    font-weight: 800;
    color: var(--xkvt-text);
}

.xkvt-mpu-lang-choice strong {
    font-size: 15px;
    font-weight: 860;
}

.xkvt-mpu-lang-note {
    margin: 10px 4px 0;
    color: var(--xkvt-muted);
    font-size: 13px;
    line-height: 1.55;
}

.xkvt-mpu-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 22px;
}

.xkvt-mpu-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 24, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.xkvt-mpu-modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: min(820px, calc(100dvh - 44px));
    overflow: auto;
    border: 1px solid var(--xkvt-line-strong);
    border-radius: 26px;
    background: var(--xkvt-card-solid);
    color: var(--xkvt-text);
    box-shadow: 0 32px 90px rgba(12, 16, 38, 0.30);
    padding: 26px;
}

.xkvt-mpu-payment-modal .xkvt-mpu-modal-card {
    width: min(720px, 100%);
}

.xkvt-mpu-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.xkvt-mpu-modal-card h3 {
    margin: 0 52px 22px 0;
    color: var(--xkvt-heading);
    font-size: 23px;
    font-weight: 930;
    letter-spacing: -0.045em;
}

.xkvt-mpu-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
}

.xkvt-mpu-info-item {
    border: 1px solid var(--xkvt-line);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--xkvt-soft-2);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.xkvt-mpu-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--xkvt-soft);
    color: var(--xkvt-accent);
}

.xkvt-mpu-info-icon .xkvt-mpu-svg {
    width: 19px;
    height: 19px;
}

.xkvt-mpu-info-item dt {
    margin: 0 0 6px;
    color: var(--xkvt-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.xkvt-mpu-info-item dd {
    margin: 0;
    color: var(--xkvt-heading);
    font-size: 16px;
    font-weight: 720;
    overflow-wrap: anywhere;
}

.xkvt-mpu-modal-note {
    margin: 14px 0 0;
    color: var(--xkvt-muted);
    font-size: 15px;
    line-height: 1.7;
}

.xkvt-mpu-embedded-form {
    color: var(--xkvt-text);
}

.xkvt-mpu-embedded-form :where(.um) {
    max-width: none !important;
    margin: 0 !important;
}

.xkvt-mpu-embedded-form :where(.um-field-label label, .um-field-label) {
    color: var(--xkvt-heading) !important;
    font-weight: 850 !important;
}

.xkvt-mpu-embedded-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select) {
    border-radius: 16px !important;
    border: 1px solid var(--xkvt-line) !important;
    background: var(--xkvt-soft-2) !important;
    color: var(--xkvt-heading) !important;
    min-height: 48px;
    box-shadow: none !important;
}

.xkvt-mpu-embedded-form :where(input[type="submit"], .um-button, .um-button.um-alt) {
    border-radius: 16px !important;
    min-height: 48px !important;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2)) !important;
    color: #fff !important;
    font-weight: 900 !important;
    box-shadow: 0 16px 30px rgba(255, 121, 0, 0.22) !important;
    border: 0 !important;
}

.xkvt-mpu-empty {
    display: block;
    padding: 48px;
}

.xkvt-mpu-empty .xkvt-mpu-main {
    max-width: 620px;
    margin: 0 auto;
}

.xkvt-mpu-empty-card {
    padding: 36px;
    text-align: center;
}

.xkvt-mpu-empty-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 930;
    letter-spacing: -0.04em;
}

.xkvt-mpu-empty-card p {
    margin: 0 0 22px;
    color: var(--xkvt-muted);
}

@media (max-width: 1180px) {
    .xkvt-mpu-root {
        grid-template-columns: 284px minmax(0, 1fr);
        gap: 28px;
    }

    .xkvt-mpu-profile-card {
        gap: 20px;
    }

    .xkvt-mpu-edit-btn span {
        display: none;
    }
}

@media (max-width: 960px) {
    .xkvt-mpu-root {
        display: block;
        padding: 18px 18px calc(112px + env(safe-area-inset-bottom));
    }

    .xkvt-mpu-sidebar {
        display: none !important;
    }

    .xkvt-mpu-topline {
        display: none;
    }

    .xkvt-mpu-main-head {
        margin: 2px 0 18px;
    }
}

@media (max-width: 780px) {
    .xkvt-mpu-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }

    .xkvt-mpu-profile-card {
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .xkvt-mpu-profile-copy {
        flex: 1 1 calc(100% - 126px);
    }

    .xkvt-mpu-badge {
        order: 3;
        margin-left: 126px;
    }

    .xkvt-mpu-edit-btn {
        order: 4;
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .xkvt-mpu-root {
        padding: 14px 10px calc(106px + env(safe-area-inset-bottom));
        background:
            radial-gradient(circle at 90% 0%, rgba(255, 121, 0, 0.14), transparent 30%),
            linear-gradient(180deg, #fffaf5 0%, var(--xkvt-bg) 100%);
    }

    html.xkvt-site-dark .xkvt-mpu-root,
    body.xkvt-site-dark .xkvt-mpu-root {
        background:
            radial-gradient(circle at 90% 0%, rgba(255, 121, 0, 0.20), transparent 30%),
            linear-gradient(180deg, #0b111b 0%, #111827 100%);
    }

    .xkvt-mpu-main-head h1 {
        font-size: 29px;
        letter-spacing: -0.055em;
    }

    .xkvt-mpu-main-head p {
        font-size: 14.5px;
        line-height: 1.45;
    }

    .xkvt-mpu-profile-card {
        padding: 18px;
        gap: 16px;
        border-radius: 24px;
    }

    .xkvt-mpu-avatar {
        width: 76px;
        height: 76px;
    }

    .xkvt-mpu-avatar-visual {
        font-size: 30px;
    }

    .xkvt-mpu-camera {
        width: 29px;
        height: 29px;
        border-width: 3px;
        bottom: 1px;
    }

    .xkvt-mpu-avatar-upload-state {
        left: 0;
        transform: none;
        min-width: 190px;
        top: calc(100% + 6px);
    }

    .xkvt-mpu-profile-copy {
        flex-basis: calc(100% - 92px);
        padding-top: 3px;
    }

    .xkvt-mpu-profile-copy strong {
        font-size: 20px;
    }

    .xkvt-mpu-profile-copy span {
        font-size: 14px;
    }

    .xkvt-mpu-badge {
        margin-left: 0;
        height: 34px;
        border-radius: 12px;
        font-size: 12px;
    }

    .xkvt-mpu-edit-btn {
        width: 100%;
        order: 5;
        height: 48px;
    }

    .xkvt-mpu-edit-btn span {
        display: inline;
    }

    .xkvt-mpu-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .xkvt-mpu-panel h2 {
        font-size: 19px;
    }

    .xkvt-mpu-row {
        gap: 12px;
        min-height: 72px;
    }

    .xkvt-mpu-row-icon {
        width: 44px;
        height: 44px;
    }

    .xkvt-mpu-row-icon .xkvt-mpu-svg {
        width: 23px;
        height: 23px;
    }

    .xkvt-mpu-row-title {
        font-size: 15.5px;
    }

    .xkvt-mpu-row-subtitle {
        font-size: 13px;
    }

    .xkvt-mpu-row-trailing {
        gap: 7px;
    }

    .xkvt-mpu-switch {
        width: 56px;
        height: 31px;
    }

    .xkvt-mpu-switch span::before {
        width: 25px;
        height: 25px;
    }

    .xkvt-mpu-switch input:checked + span::before {
        transform: translateX(25px);
    }

    .xkvt-mpu-language-panel {
        z-index: 9998;
    }

    .xkvt-mpu-language-panel::before {
        display: none;
    }

    .xkvt-mpu-language-panel-inner {
        top: auto;
        left: 8px;
        right: 8px;
        bottom: calc(96px + env(safe-area-inset-bottom));
        width: auto;
        max-height: min(68dvh, calc(100dvh - 132px));
        overflow: auto;
        border-radius: 26px;
        padding: 14px;
    }

    .xkvt-mpu-modal {
        padding: 12px;
    }

    .xkvt-mpu-modal-card {
        padding: 22px;
        border-radius: 24px;
        max-height: calc(100dvh - 96px);
        margin-bottom: calc(74px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .xkvt-mpu-language-current {
        display: none;
    }

    .xkvt-mpu-status-dot {
        width: 24px;
        height: 24px;
    }

    .xkvt-mpu-status-dot .xkvt-mpu-svg {
        width: 24px;
        height: 24px;
    }
}

/* v1.3 refinements: popup editing, Blocksy shell cleanup, GTranslate and safer dark mode */
body.xkvt-mpu-hide-shell :where(
    #header,
    header#header,
    .ct-header,
    .ct-header-wrap,
    .ct-header-trigger,
    .ct-drawer-canvas,
    .hero-section,
    .page-hero-section,
    .entry-header,
    .page-header,
    .page-title,
    .ct-breadcrumbs,
    .site-title-container,
    .woocommerce-breadcrumb,
    .wpadminbar
) {
    display: none !important;
}

body.xkvt-mpu-active :where(
    #main-container,
    #main,
    main#main,
    .site-main,
    .ct-container,
    .ct-container-full,
    .content-area,
    .site-content,
    .entry-content,
    .entry-content.is-layout-constrained,
    article,
    article > .entry-content
) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.xkvt-mpu-active :where(.ct-container-full[data-content="normal"], .ct-container[data-content="normal"]) {
    display: block !important;
}

body.xkvt-mpu-active :where(.entry-content)::before,
body.xkvt-mpu-active :where(.entry-content)::after,
body.xkvt-mpu-active :where(article)::before,
body.xkvt-mpu-active :where(article)::after {
    display: none !important;
}

body.xkvt-mpu-active .xkvt-mpu-root {
    min-width: 100vw;
    border: 0 !important;
}

.xkvt-mpu-modal-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 121, 0, .42) transparent;
}

.xkvt-mpu-payment-modal .xkvt-mpu-modal-card {
    width: min(620px, 100%);
}

.xkvt-mpu-edit-shell {
    margin-top: 18px;
    border: 1px solid var(--xkvt-line);
    border-radius: 22px;
    padding: 16px;
    background:
        radial-gradient(circle at 95% 0%, rgba(255, 121, 0, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 249, 244, 0.96), rgba(255, 241, 226, 0.76));
}

html.xkvt-site-dark .xkvt-mpu-edit-shell,
body.xkvt-site-dark .xkvt-mpu-edit-shell {
    background:
        radial-gradient(circle at 95% 0%, rgba(255, 121, 0, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(22, 30, 45, 0.96), rgba(17, 24, 39, 0.92));
}

.xkvt-mpu-edit-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.xkvt-mpu-edit-head strong {
    color: var(--xkvt-heading);
    font-size: 18px;
    font-weight: 930;
    letter-spacing: -0.04em;
}

.xkvt-mpu-edit-head span {
    color: var(--xkvt-muted);
    font-size: 13px;
    font-weight: 650;
}

.xkvt-mpu-edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.xkvt-mpu-field {
    min-height: 76px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(255, 121, 0, 0.15);
    border-radius: 18px;
    padding: 13px 14px;
    background: rgba(255, 250, 246, 0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

html.xkvt-site-dark .xkvt-mpu-field,
body.xkvt-site-dark .xkvt-mpu-field {
    background: rgba(15, 23, 42, 0.76);
    border-color: rgba(255, 121, 0, 0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.xkvt-mpu-field-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    flex: none;
    color: var(--xkvt-accent);
    background: rgba(255, 121, 0, 0.10);
}

.xkvt-mpu-field-icon .xkvt-mpu-svg {
    width: 19px;
    height: 19px;
}

.xkvt-mpu-field-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xkvt-mpu-field-label {
    color: var(--xkvt-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.xkvt-mpu-field :where(input, textarea, select) {
    width: 100%;
    min-height: 30px;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--xkvt-heading) !important;
    font-size: 15.5px !important;
    font-weight: 780 !important;
    line-height: 1.45 !important;
    outline: none !important;
    box-shadow: none !important;
}

.xkvt-mpu-field textarea {
    resize: vertical;
}

.xkvt-mpu-field:focus-within {
    border-color: rgba(255, 121, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.10), inset 0 1px 0 rgba(255,255,255,.72);
}

html.xkvt-site-dark .xkvt-mpu-field:focus-within,
body.xkvt-site-dark .xkvt-mpu-field:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 121, 0, 0.14), inset 0 1px 0 rgba(255,255,255,.05);
}

.xkvt-mpu-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.xkvt-mpu-save-btn {
    min-height: 52px;
    border: 0;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    box-shadow: 0 18px 34px rgba(255, 121, 0, 0.24);
    font-size: 15px;
    font-weight: 930;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.xkvt-mpu-save-btn:hover,
.xkvt-mpu-save-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 22px 44px rgba(255, 121, 0, 0.30);
}

.xkvt-mpu-save-btn .xkvt-mpu-svg {
    width: 18px;
    height: 18px;
}

.xkvt-mpu-edit-form.is-saving .xkvt-mpu-save-btn {
    opacity: .72;
    pointer-events: none;
}

.xkvt-mpu-form-state {
    min-height: 20px;
    margin: 0;
    color: var(--xkvt-muted);
    font-size: 13px;
    font-weight: 760;
    text-align: center;
}

.xkvt-mpu-form-state.is-ok {
    color: var(--xkvt-success);
}

.xkvt-mpu-form-state.is-error {
    color: var(--xkvt-danger);
}

.xkvt-mpu-gtranslate-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.xkvt-mpu-language-options {
    position: relative;
}

.xkvt-mpu-lang-choice {
    border: 1px solid transparent;
}

.xkvt-mpu-lang-choice.is-current {
    border-color: rgba(255, 121, 0, 0.18);
}

.xkvt-mpu-row-ok .xkvt-mpu-row-title,
.xkvt-mpu-side-link.has-ok span:not(.xkvt-mpu-side-icon):not(.xkvt-mpu-side-ok) {
    color: var(--xkvt-heading);
}

@media (max-width: 960px) {
    body.xkvt-mpu-active :where(.ct-container, .ct-container-full, .site-content, .entry-content) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 640px) {
    .xkvt-mpu-form-grid {
        grid-template-columns: 1fr;
    }

    .xkvt-mpu-edit-shell {
        padding: 13px;
        border-radius: 20px;
    }

    .xkvt-mpu-field {
        min-height: 70px;
        border-radius: 17px;
        padding: 12px;
    }

    .xkvt-mpu-language-panel {
        z-index: 9998;
    }

    .xkvt-mpu-language-panel-inner {
        bottom: calc(116px + env(safe-area-inset-bottom)) !important;
        max-height: min(64dvh, calc(100dvh - 154px)) !important;
    }

    .xkvt-mpu-modal-card {
        max-height: calc(100dvh - 108px);
        margin-bottom: calc(82px + env(safe-area-inset-bottom));
    }
}

body.xkvt-mpu-active :where(#header, header#header, .ct-header, .ct-header-wrap, .hero-section, .page-hero-section, .entry-header, .page-header, .page-title, .ct-breadcrumbs) {
    display: none !important;
}
body.xkvt-mpu-active #wpadminbar { display: none !important; }
html:has(body.xkvt-mpu-active) { margin-top: 0 !important; }


/* v1.4 refinements: layered avatar camera, modal view/edit screens, SGCR notification switch, mobile layout */
.xkvt-mpu-avatar {
    z-index: 2;
}

.xkvt-mpu-avatar-form {
    z-index: 8;
}

.xkvt-mpu-camera {
    z-index: 10;
    right: -3px;
    bottom: 2px;
}

.xkvt-mpu-modal-screen {
    display: none;
}

.xkvt-mpu-modal-screen.is-active {
    display: block;
}

.xkvt-mpu-modal-screen-head {
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.xkvt-mpu-modal-screen-head strong {
    color: var(--xkvt-heading);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 930;
    letter-spacing: -0.045em;
}

.xkvt-mpu-modal-screen-head > span {
    color: var(--xkvt-muted);
    font-size: 14px;
    font-weight: 650;
}

.xkvt-mpu-back-btn {
    width: fit-content;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    margin-bottom: 4px;
    color: var(--xkvt-accent);
    background: var(--xkvt-soft);
    font-size: 13px;
    font-weight: 880;
}

.xkvt-mpu-back-btn .xkvt-mpu-svg {
    width: 17px;
    height: 17px;
}

.xkvt-mpu-modal-edit-btn,
.xkvt-mpu-mini-edit {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    box-shadow: 0 16px 30px rgba(255, 121, 0, 0.23);
    font-weight: 920;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.xkvt-mpu-modal-edit-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    font-size: 15px;
}

.xkvt-mpu-mini-edit {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    flex: none;
}

.xkvt-mpu-modal-edit-btn:hover,
.xkvt-mpu-modal-edit-btn:focus-visible,
.xkvt-mpu-mini-edit:hover,
.xkvt-mpu-mini-edit:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow: 0 22px 44px rgba(255, 121, 0, 0.30);
}

.xkvt-mpu-modal-edit-btn .xkvt-mpu-svg,
.xkvt-mpu-mini-edit .xkvt-mpu-svg {
    width: 17px;
    height: 17px;
}

.xkvt-mpu-combo-stack {
    display: grid;
    gap: 16px;
}

.xkvt-mpu-combo-block {
    border: 1px solid var(--xkvt-line);
    border-radius: 22px;
    padding: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 121, 0, 0.10), transparent 30%),
        rgba(255, 250, 246, 0.72);
}

html.xkvt-site-dark .xkvt-mpu-combo-block,
body.xkvt-site-dark .xkvt-mpu-combo-block {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 121, 0, 0.16), transparent 30%),
        rgba(15, 23, 42, 0.72);
}

.xkvt-mpu-combo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.xkvt-mpu-combo-head strong {
    display: block;
    color: var(--xkvt-heading);
    font-size: 18px;
    font-weight: 930;
    letter-spacing: -0.04em;
}

.xkvt-mpu-combo-head span {
    display: block;
    margin-top: 3px;
    color: var(--xkvt-muted);
    font-size: 13px;
    font-weight: 650;
}

.xkvt-mpu-save-btn {
    border-radius: 999px;
    min-height: 54px;
}

.xkvt-mpu-edit-btn {
    border-radius: 999px;
}

.xkvt-mpu-notify-row .xkvt-mpu-row-copy {
    gap: 5px;
}

.xkvt-mpu-notify-message {
    display: block;
    min-height: 0;
    color: var(--xkvt-muted);
    font-size: 12.5px;
    font-weight: 720;
    line-height: 1.35;
}

.xkvt-mpu-notify-message:empty {
    display: none;
}

.xkvt-mpu-notify-message[data-type="success"] {
    color: var(--xkvt-success);
}

.xkvt-mpu-notify-message[data-type="error"] {
    color: var(--xkvt-danger);
}

.xkvt-mpu-ios-note {
    display: block;
    color: var(--xkvt-muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 650;
}

.xkvt-mpu-ios-note[hidden] {
    display: none !important;
}

.xkvt-mpu-gtranslate-source {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 320px !important;
    height: auto !important;
    opacity: .01 !important;
    pointer-events: none !important;
    overflow: visible !important;
}

body.xkvt-mpu-active,
body.xkvt-mpu-active :where(#main-container, #main, main#main, .ct-container-full, .ct-container, .entry-content, article) {
    background: transparent !important;
}

body.xkvt-mpu-active .xkvt-mpu-root {
    min-height: 100dvh;
    width: 100vw !important;
    max-width: none !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

body.xkvt-mpu-hide-shell :where(.ct-header, #header, header#header, .ct-header-wrap, .ct-sticky-container, .ct-drawer-canvas, .hero-section, .page-hero-section, .entry-header, .ct-breadcrumbs) {
    visibility: hidden !important;
    display: none !important;
}

@media (max-width: 640px) {
    .xkvt-mpu-profile-card {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        row-gap: 14px;
    }

    .xkvt-mpu-avatar {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .xkvt-mpu-profile-copy {
        grid-column: 2;
        grid-row: 1;
        flex-basis: auto;
        padding-top: 2px;
        padding-right: 105px;
        min-height: 48px;
    }

    .xkvt-mpu-profile-copy strong {
        max-width: 100%;
    }

    .xkvt-mpu-badge {
        position: absolute;
        top: 18px;
        right: 18px;
        margin: 0 !important;
        order: initial;
        height: 32px;
        max-width: 96px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 999px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .xkvt-mpu-edit-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
    }

    .xkvt-mpu-modal-card {
        padding: 22px 18px;
    }

    .xkvt-mpu-combo-block {
        padding: 14px;
        border-radius: 20px;
    }

    .xkvt-mpu-combo-head {
        align-items: flex-start;
    }

    .xkvt-mpu-mini-edit span {
        display: none;
    }

    .xkvt-mpu-mini-edit {
        width: 40px;
        padding: 0;
    }
}

@media (max-width: 420px) {
    .xkvt-mpu-profile-copy {
        padding-right: 88px;
    }

    .xkvt-mpu-badge {
        max-width: 84px;
        right: 14px;
    }
}

.xkvt-mpu-combined-modal .xkvt-mpu-modal-card {
    width: min(760px, 100%);
}

/* v1.5 refinements: modal header/back, Woo billing selects, translated UI, header contrast */
.xkvt-mpu-camera {
    z-index: 30 !important;
    right: -2px !important;
    bottom: 6px !important;
}

.xkvt-mpu-avatar-visual,
.xkvt-mpu-avatar-img {
    z-index: 1;
}

.xkvt-mpu-avatar-form {
    z-index: 40 !important;
}

.xkvt-mpu-modal-edit-btn,
.xkvt-mpu-mini-edit,
.xkvt-mpu-modal-edit-btn span,
.xkvt-mpu-mini-edit span,
.xkvt-mpu-modal-edit-btn .xkvt-mpu-svg,
.xkvt-mpu-mini-edit .xkvt-mpu-svg {
    color: #fff !important;
    stroke: currentColor !important;
}

body.xkvt-mpu-active .xkvt-mpu-modal-edit-btn,
body.xkvt-mpu-active .xkvt-mpu-mini-edit,
body.xkvt-mpu-active .xkvt-mpu-save-btn {
    border-radius: 999px !important;
    overflow: hidden;
}

.xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.xkvt-mpu-modal-screen-head {
    margin: 0 !important;
    min-height: 0;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
    margin-left: 104px;
    margin-right: 58px;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn {
    position: absolute;
    top: 20px;
    left: 26px;
    z-index: 8;
    margin: 0;
}

.xkvt-mpu-field-textarea {
    min-height: 76px;
}

.xkvt-mpu-field-textarea textarea[data-xkvt-autogrow] {
    min-height: 32px !important;
    height: auto;
    resize: none !important;
    overflow: hidden !important;
}

.xkvt-mpu-field-select select {
    cursor: pointer;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
}

.xkvt-mpu-form-grid .xkvt-mpu-field {
    min-height: 90px;
}

.xkvt-mpu-page-back {
    display: none;
    border: 0;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--xkvt-accent);
    background: var(--xkvt-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 12px 24px rgba(255, 121, 0, .12);
    flex: none;
}

.xkvt-mpu-page-back .xkvt-mpu-svg {
    width: 20px;
    height: 20px;
}

.xkvt-mpu-main-head-copy {
    min-width: 0;
}

@media (min-width: 1025px) {
    body.xkvt-mpu-active.xkvt-mpu-hide-shell :where(#header, header#header, .ct-header, .ct-header-wrap, .ct-sticky-container),
    body.xkvt-mpu-active :where(#header, header#header, .ct-header, .ct-header-wrap, .ct-sticky-container) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.xkvt-mpu-active :where(.ct-drawer-canvas, .hero-section, .page-hero-section, .entry-header, .page-header, .page-title, .ct-breadcrumbs) {
        display: none !important;
        visibility: hidden !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) {
        position: relative !important;
        z-index: 1000 !important;
        background: linear-gradient(180deg, rgba(15, 23, 42, .86), rgba(15, 23, 42, .66)) !important;
        backdrop-filter: blur(16px) saturate(130%);
        -webkit-backdrop-filter: blur(16px) saturate(130%);
        box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon) {
        color: #fff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .22);
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) :where(.ct-button, .wp-element-button, .button, [class*="contact"], [class*="lien-he"]) {
        color: #fff !important;
        border-color: rgba(255, 121, 0, .72) !important;
        background-color: rgba(255, 121, 0, .12) !important;
    }
}

@media (max-width: 1024px) {
    .xkvt-mpu-main-head {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .xkvt-mpu-page-back {
        display: inline-grid;
        margin-top: 2px;
    }
}

@media (max-width: 640px) {
    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
        margin-left: 56px;
        margin-right: 44px;
        font-size: 22px;
    }

    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn {
        left: 18px;
        top: 18px;
        width: 42px;
        min-height: 42px;
        padding: 0;
        justify-content: center;
    }

    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn span {
        display: none;
    }

    .xkvt-mpu-form-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.6 refinements: Hồ sơ title, aligned modal header, centered icons, smarter header contrast, motion */
.xkvt-mpu-main-head h1 {
    letter-spacing: -0.065em;
}

.xkvt-mpu-main-head p:empty {
    display: none !important;
}

.xkvt-mpu-info-item,
.xkvt-mpu-field {
    align-items: center !important;
}

.xkvt-mpu-info-item > div,
.xkvt-mpu-field-body {
    min-width: 0;
}

.xkvt-mpu-field-textarea {
    min-height: 72px;
}

.xkvt-mpu-field-textarea textarea[data-xkvt-autogrow] {
    line-height: 1.45 !important;
}

.xkvt-mpu-field-select {
    position: relative;
}

.xkvt-mpu-field-select select {
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    color: var(--xkvt-heading) !important;
}

.xkvt-mpu-field-select select option {
    color: #111827;
    background: #fff;
}

.xkvt-mpu-modal-card {
    padding-top: 24px !important;
}

.xkvt-mpu-modal-close {
    top: 22px !important;
    right: 24px !important;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--xkvt-accent) !important;
    background: var(--xkvt-soft) !important;
    z-index: 12;
}

.xkvt-mpu-modal-close .xkvt-mpu-svg {
    width: 21px;
    height: 21px;
}

.xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 64px 22px 0 !important;
    line-height: 1.08 !important;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
    margin-left: 128px !important;
    margin-right: 64px !important;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn {
    position: absolute !important;
    top: 22px !important;
    left: 26px !important;
    z-index: 12 !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.xkvt-mpu-back-btn:hover,
.xkvt-mpu-back-btn:focus-visible,
.xkvt-mpu-modal-close:hover,
.xkvt-mpu-modal-close:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 121, 0, .16);
}

.xkvt-mpu-badge {
    min-width: max-content;
}

@media (min-width: 1025px) {
    body.xkvt-mpu-active.xkvt-mpu-header-on-light :where(#header, header#header, .ct-header) {
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .10) !important;
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-light :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon, svg) {
        color: #121826 !important;
        fill: currentColor !important;
        text-shadow: none !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-light :where(#header, header#header, .ct-header) :where(.ct-button, .wp-element-button, .button, [class*="contact"], [class*="lien-he"]) {
        color: var(--xkvt-accent) !important;
        border-color: rgba(255, 121, 0, .72) !important;
        background-color: rgba(255, 121, 0, .08) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-dark :where(#header, header#header, .ct-header) {
        background: linear-gradient(180deg, rgba(15, 23, 42, .86), rgba(15, 23, 42, .58)) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-dark :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon, svg) {
        color: #fff !important;
        fill: currentColor !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .24) !important;
    }
}

@media (max-width: 640px) {
    .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
        font-size: 21px !important;
        min-height: 44px !important;
    }

    .xkvt-mpu-modal-close {
        top: 18px !important;
        right: 18px !important;
        width: 44px;
        height: 44px;
    }

    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
        margin-left: 54px !important;
        margin-right: 48px !important;
    }

    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn {
        left: 18px !important;
        top: 18px !important;
        width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        justify-content: center;
    }

    .xkvt-mpu-modal.is-editing-screen .xkvt-mpu-back-btn span {
        display: none !important;
    }

    .xkvt-mpu-badge {
        max-width: 128px !important;
        font-size: 10.5px !important;
        padding: 0 9px !important;
    }
}

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

@keyframes xkvtMpuPopIn {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes xkvtMpuGlowPulse {
    0%, 100% { box-shadow: 0 18px 38px rgba(255, 121, 0, .12); }
    50% { box-shadow: 0 22px 48px rgba(255, 121, 0, .22); }
}

@media (prefers-reduced-motion: no-preference) {
    .xkvt-mpu-main-head,
    .xkvt-mpu-profile-card,
    .xkvt-mpu-panel,
    .xkvt-mpu-panel-wide,
    .xkvt-mpu-support-card {
        animation: xkvtMpuFadeUp .46s cubic-bezier(.22, 1, .36, 1) both;
    }

    .xkvt-mpu-profile-card { animation-delay: .04s; }
    .xkvt-mpu-grid .xkvt-mpu-panel:nth-child(1) { animation-delay: .08s; }
    .xkvt-mpu-grid .xkvt-mpu-panel:nth-child(2) { animation-delay: .12s; }
    .xkvt-mpu-panel-wide { animation-delay: .16s; }

    .xkvt-mpu-modal:not([hidden]) .xkvt-mpu-modal-card,
    .xkvt-mpu-language-panel:not([hidden]) .xkvt-mpu-language-panel-inner {
        animation: xkvtMpuPopIn .28s cubic-bezier(.22, 1, .36, 1) both;
    }

    .xkvt-mpu-avatar-visual {
        animation: xkvtMpuGlowPulse 4.2s ease-in-out infinite;
    }

    .xkvt-mpu-row,
    .xkvt-mpu-side-link,
    .xkvt-mpu-edit-btn,
    .xkvt-mpu-modal-edit-btn,
    .xkvt-mpu-mini-edit,
    .xkvt-mpu-save-btn,
    .xkvt-mpu-camera,
    .xkvt-mpu-lang-choice {
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    }

    .xkvt-mpu-card:hover {
        transform: translateY(-1px);
    }
}

/* v1.6 custom searchable select for WooCommerce location fields */
.xkvt-mpu-native-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
}

.xkvt-mpu-smart-select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.xkvt-mpu-smart-select-toggle {
    width: 100%;
    min-height: 34px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--xkvt-heading) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    font-size: 15.5px;
    font-weight: 780;
    line-height: 1.45;
}

.xkvt-mpu-smart-select-toggle [data-xkvt-smart-label] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xkvt-mpu-smart-arrow {
    color: var(--xkvt-heading);
    font-size: 18px;
    line-height: 1;
    transition: transform .18s ease;
}

.xkvt-mpu-smart-select.is-open .xkvt-mpu-smart-arrow {
    transform: rotate(180deg);
}

.xkvt-mpu-smart-select-panel {
    position: absolute;
    left: -4px;
    right: -4px;
    top: calc(100% + 10px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 121, 0, .22);
    border-radius: 18px;
    background: var(--xkvt-card-solid);
    box-shadow: 0 24px 58px rgba(20, 24, 38, .20), 0 0 0 1px rgba(255, 255, 255, .52) inset;
    max-height: 292px;
}

.xkvt-mpu-smart-select-panel[hidden] {
    display: none !important;
}

.xkvt-mpu-smart-search {
    width: 100% !important;
    min-height: 42px !important;
    border: 1px solid var(--xkvt-line) !important;
    border-radius: 14px !important;
    padding: 0 13px !important;
    background: #fff !important;
    color: #111827 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

html.xkvt-site-dark .xkvt-mpu-smart-search,
body.xkvt-site-dark .xkvt-mpu-smart-search {
    background: #111827 !important;
    color: #f8fafc !important;
    border-color: rgba(255,255,255,.13) !important;
}

.xkvt-mpu-smart-options {
    display: flex;
    flex-direction: column;
    overflow: auto;
    max-height: 218px;
    padding-right: 2px;
}

.xkvt-mpu-smart-option {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    padding: 0 12px;
    background: transparent;
    color: var(--xkvt-text) !important;
    text-align: left;
    font-size: 14.5px;
    font-weight: 720;
}

.xkvt-mpu-smart-option:hover,
.xkvt-mpu-smart-option:focus-visible,
.xkvt-mpu-smart-option.is-selected {
    outline: none;
    background: linear-gradient(135deg, rgba(255, 121, 0, .14), rgba(255, 121, 0, .08));
    color: var(--xkvt-accent) !important;
}

.xkvt-mpu-smart-empty {
    padding: 13px 12px;
    color: var(--xkvt-muted);
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 640px) {
    .xkvt-mpu-smart-select-panel {
        max-height: 246px;
    }

    .xkvt-mpu-smart-options {
        max-height: 172px;
    }
}

/* v1.7 refinements: fixed modal header, PWA pull-refresh lock, floating selectors, policy content */
html.xkvt-mpu-disable-pwa-refresh,
html.xkvt-mpu-disable-pwa-refresh body,
html.xkvt-mpu-modal-open,
html.xkvt-mpu-modal-open body {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}

body.xkvt-mpu-body-locked {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.xkvt-mpu-modal-card {
    padding: 24px !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
}

.xkvt-mpu-modal-topbar {
    min-height: 56px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
    margin: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    color: var(--xkvt-heading);
    font-size: clamp(24px, 3vw, 32px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.xkvt-mpu-modal-top-back,
.xkvt-mpu-modal-close {
    position: static !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 121, 0, .12) !important;
    border-radius: 999px !important;
    color: var(--xkvt-accent) !important;
    background: linear-gradient(135deg, rgba(255, 121, 0, .12), rgba(255, 121, 0, .06)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 12px 24px rgba(255, 121, 0, .12) !important;
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    z-index: 12;
}

.xkvt-mpu-modal-top-back .xkvt-mpu-svg,
.xkvt-mpu-modal-close .xkvt-mpu-svg,
.xkvt-mpu-page-back .xkvt-mpu-svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.9 !important;
}

.xkvt-mpu-modal-top-back:hover,
.xkvt-mpu-modal-top-back:focus-visible,
.xkvt-mpu-modal-close:hover,
.xkvt-mpu-modal-close:focus-visible,
.xkvt-mpu-page-back:hover,
.xkvt-mpu-page-back:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 16px 32px rgba(255, 121, 0, .18) !important;
}

.xkvt-mpu-modal-top-back {
    opacity: 0;
    pointer-events: none;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-top-back {
    opacity: 1;
    pointer-events: auto;
}

.xkvt-mpu-modal:not(.is-editing-screen) .xkvt-mpu-modal-topbar {
    grid-template-columns: 0 minmax(0, 1fr) 56px;
}

.xkvt-mpu-modal:not(.is-editing-screen) .xkvt-mpu-modal-top-back {
    width: 0 !important;
    min-width: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.xkvt-mpu-modal.is-editing-screen .xkvt-mpu-modal-card h3[data-xkvt-modal-title] {
    margin: 0 !important;
}

.xkvt-mpu-modal-screen-head,
.xkvt-mpu-back-btn {
    display: none !important;
}

.xkvt-mpu-main-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xkvt-mpu-main-head-copy {
    display: flex;
    align-items: center;
    min-height: 54px;
}

.xkvt-mpu-main-head h1 {
    line-height: 1 !important;
}

.xkvt-mpu-page-back {
    width: 54px !important;
    height: 54px !important;
    border: 1px solid rgba(255, 121, 0, .14) !important;
    background: linear-gradient(135deg, rgba(255, 121, 0, .14), rgba(255, 121, 0, .07)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 14px 30px rgba(255, 121, 0, .13) !important;
}

.xkvt-mpu-info-item,
.xkvt-mpu-field {
    align-items: center !important;
}

.xkvt-mpu-field-textarea {
    align-items: flex-start !important;
}

.xkvt-mpu-field-textarea .xkvt-mpu-field-icon {
    margin-top: 1px;
}

.xkvt-mpu-smart-select-panel.is-floating {
    position: fixed !important;
    z-index: 10080 !important;
    left: 0;
    top: 0;
    right: auto !important;
    bottom: auto;
    display: flex;
    overflow: hidden;
}

.xkvt-mpu-smart-select-panel.is-floating[hidden] {
    display: none !important;
}

.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-options {
    max-height: min(218px, calc(var(--xkvt-smart-max, 292px) - 72px));
}

.xkvt-mpu-smart-select-toggle {
    min-height: 42px;
    border-radius: 12px;
    padding: 0 2px;
}

.xkvt-mpu-smart-select-toggle:hover,
.xkvt-mpu-smart-select-toggle:focus-visible {
    outline: none;
    color: var(--xkvt-accent) !important;
}

.xkvt-mpu-support-card button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(255, 121, 0, .20);
}

.xkvt-mpu-content-modal .xkvt-mpu-modal-card {
    width: min(920px, 100%) !important;
}

.xkvt-mpu-policy-content,
.xkvt-mpu-support-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--xkvt-text);
}

.xkvt-mpu-policy-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(16px, 2.4vw, 24px);
    border: 1px solid rgba(255, 121, 0, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 121, 0, .18), transparent 36%),
        linear-gradient(135deg, rgba(255, 246, 238, .96), rgba(255, 255, 255, .92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}

.xkvt-mpu-policy-hero > span {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    flex: none;
    color: var(--xkvt-accent);
    background: rgba(255, 121, 0, .11);
}

.xkvt-mpu-policy-hero strong {
    display: block;
    margin: 0 0 6px;
    color: var(--xkvt-heading);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.xkvt-mpu-policy-hero p,
.xkvt-mpu-policy-section p,
.xkvt-mpu-support-note p,
.xkvt-mpu-faq p {
    margin: 0;
    color: var(--xkvt-muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 560;
}

.xkvt-mpu-policy-section {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: clamp(16px, 2vw, 22px);
    border: 1px solid var(--xkvt-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 32px rgba(84, 45, 12, .06);
}

.xkvt-mpu-policy-number {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--xkvt-accent), var(--xkvt-accent-2));
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 14px 26px rgba(255, 121, 0, .20);
}

.xkvt-mpu-policy-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xkvt-mpu-policy-copy h4 {
    margin: 0;
    color: var(--xkvt-heading);
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 950;
    letter-spacing: -0.045em;
}

.xkvt-mpu-policy-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.xkvt-mpu-policy-list li {
    position: relative;
    padding-left: 22px;
    color: var(--xkvt-text);
    font-size: 14.7px;
    line-height: 1.7;
    font-weight: 620;
}

.xkvt-mpu-policy-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--xkvt-accent);
    box-shadow: 0 0 0 5px rgba(255, 121, 0, .10);
}

.xkvt-mpu-policy-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.xkvt-mpu-policy-duo > div {
    border: 1px solid rgba(255, 121, 0, .14);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 248, 241, .74);
}

.xkvt-mpu-policy-duo strong,
.xkvt-mpu-support-note strong {
    display: block;
    color: var(--xkvt-heading);
    font-size: 16px;
    font-weight: 920;
    margin-bottom: 8px;
}

.xkvt-mpu-support-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.xkvt-mpu-support-steps > div {
    min-height: 112px;
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(255, 121, 0, .12), rgba(255, 255, 255, .76));
    border: 1px solid rgba(255, 121, 0, .16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.xkvt-mpu-support-steps strong {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--xkvt-accent);
    font-size: 15px;
    font-weight: 950;
}

.xkvt-mpu-support-steps span {
    color: var(--xkvt-heading);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
}

.xkvt-mpu-faq-list {
    display: grid;
    gap: 10px;
}

.xkvt-mpu-faq {
    border: 1px solid var(--xkvt-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    overflow: hidden;
}

.xkvt-mpu-faq summary {
    list-style: none;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    cursor: pointer;
    color: var(--xkvt-heading);
    font-size: 15px;
    font-weight: 880;
}

.xkvt-mpu-faq summary::-webkit-details-marker {
    display: none;
}

.xkvt-mpu-faq summary .xkvt-mpu-svg {
    color: var(--xkvt-accent);
    transition: transform .18s ease;
}

.xkvt-mpu-faq[open] summary .xkvt-mpu-svg {
    transform: rotate(180deg);
}

.xkvt-mpu-faq p {
    padding: 0 16px 16px;
}

.xkvt-mpu-support-note {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(22, 179, 100, .20);
    background: linear-gradient(135deg, rgba(22, 179, 100, .09), rgba(255,255,255,.72));
}

html.xkvt-site-dark .xkvt-mpu-policy-hero,
body.xkvt-site-dark .xkvt-mpu-policy-hero,
html.xkvt-site-dark .xkvt-mpu-policy-section,
body.xkvt-site-dark .xkvt-mpu-policy-section,
html.xkvt-site-dark .xkvt-mpu-policy-duo > div,
body.xkvt-site-dark .xkvt-mpu-policy-duo > div,
html.xkvt-site-dark .xkvt-mpu-faq,
body.xkvt-site-dark .xkvt-mpu-faq,
html.xkvt-site-dark .xkvt-mpu-support-note,
body.xkvt-site-dark .xkvt-mpu-support-note,
html.xkvt-site-dark .xkvt-mpu-support-steps > div,
body.xkvt-site-dark .xkvt-mpu-support-steps > div {
    background: rgba(17, 24, 39, .72);
    border-color: rgba(255, 255, 255, .10);
}

@media (max-width: 1024px) {
    .xkvt-mpu-main-head {
        align-items: center !important;
        gap: 12px !important;
    }

    .xkvt-mpu-page-back {
        display: inline-grid !important;
        margin-top: 0 !important;
        flex: 0 0 54px;
    }

    .xkvt-mpu-main-head h1 {
        font-size: clamp(34px, 8vw, 46px) !important;
    }
}

@media (max-width: 760px) {
    .xkvt-mpu-content-modal .xkvt-mpu-modal-card {
        width: 100% !important;
    }

    .xkvt-mpu-policy-section {
        grid-template-columns: 1fr;
    }

    .xkvt-mpu-policy-duo,
    .xkvt-mpu-support-steps {
        grid-template-columns: 1fr;
    }

    .xkvt-mpu-modal-topbar {
        grid-template-columns: 50px minmax(0, 1fr) 50px;
        min-height: 50px;
        gap: 10px;
    }

    .xkvt-mpu-modal-top-back,
    .xkvt-mpu-modal-close {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }

    .xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
        font-size: clamp(22px, 7vw, 30px) !important;
    }

    .xkvt-mpu-modal:not(.is-editing-screen) .xkvt-mpu-modal-topbar {
        grid-template-columns: 0 minmax(0, 1fr) 50px;
    }
}

/* v1.8 refinements: desktop header offset, compact mobile typography, stronger PWA pull-refresh lock, safer floating selects */
@media (min-width: 1025px) {
    body.xkvt-mpu-active.xkvt-mpu-header-overlap .xkvt-mpu-root {
        padding-top: calc(var(--xkvt-mpu-header-offset, 92px) + 24px) !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header, .ct-header-wrap, .ct-sticky-container) {
        overflow: visible !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) {
        min-height: var(--xkvt-mpu-header-min-height, auto);
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-light :where(#header, header#header, .ct-header) {
        background: linear-gradient(180deg, rgba(255, 252, 248, .98), rgba(255, 247, 237, .92)) !important;
        border-bottom: 1px solid rgba(255, 121, 0, .12) !important;
        box-shadow: 0 16px 38px rgba(84, 45, 12, .08) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-light :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon, svg) {
        color: #111827 !important;
        fill: currentColor !important;
        text-shadow: none !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-dark :where(#header, header#header, .ct-header) {
        background: linear-gradient(180deg, rgba(15, 23, 42, .90), rgba(15, 23, 42, .72)) !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, .18) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-on-dark :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon, svg) {
        color: #ffffff !important;
        fill: currentColor !important;
    }
}

html.xkvt-mpu-disable-pwa-refresh,
html.xkvt-mpu-disable-pwa-refresh body,
body.xkvt-mpu-disable-pwa-refresh,
html.superpwa-disable-pull-refresh,
html.superpwa-disable-pull-refresh body,
body.superpwa-disable-pull-refresh,
html.pwa-disable-pull-refresh,
html.pwa-disable-pull-refresh body,
body.pwa-disable-pull-refresh {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    scroll-behavior: auto !important;
}

body.xkvt-mpu-body-locked {
    position: fixed !important;
    overflow: hidden !important;
    touch-action: none !important;
}

.xkvt-mpu-modal,
.xkvt-mpu-modal-backdrop {
    overscroll-behavior: none !important;
    touch-action: none !important;
}

.xkvt-mpu-modal-card {
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
}

.xkvt-mpu-modal-topbar {
    align-items: center !important;
}

.xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    min-height: 1em !important;
    transform: translateY(-1px);
}

.xkvt-mpu-modal-top-back,
.xkvt-mpu-modal-close {
    align-self: center !important;
}

.xkvt-mpu-smart-select-panel.is-floating {
    z-index: 10090 !important;
    max-width: calc(100vw - 44px) !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
}

.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-options {
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(var(--xkvt-smart-max, 292px) - 70px) !important;
}

.xkvt-mpu-smart-select-panel.is-floating.is-above {
    box-shadow: 0 -22px 58px rgba(20, 24, 38, .18), 0 0 0 1px rgba(255, 255, 255, .52) inset !important;
}

.xkvt-mpu-smart-select-toggle {
    cursor: pointer !important;
    min-height: 38px !important;
}

@media (max-width: 760px) {
    .xkvt-mpu-root {
        padding-top: 16px !important;
        gap: 16px !important;
    }

    .xkvt-mpu-main {
        gap: 14px !important;
    }

    .xkvt-mpu-main-head {
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .xkvt-mpu-main-head-copy {
        min-height: 44px !important;
        align-items: center !important;
    }

    .xkvt-mpu-main-head h1 {
        font-size: clamp(30px, 8.2vw, 38px) !important;
        line-height: 1 !important;
        letter-spacing: -0.06em !important;
    }

    .xkvt-mpu-page-back {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        flex-basis: 46px !important;
        border-width: 1.5px !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 12px 24px rgba(255, 121, 0, .12) !important;
    }

    .xkvt-mpu-page-back .xkvt-mpu-svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 3.2 !important;
    }

    .xkvt-mpu-profile-card {
        padding: 16px !important;
        gap: 12px !important;
    }

    .xkvt-mpu-profile-copy strong {
        font-size: 18px !important;
        letter-spacing: -0.04em !important;
    }

    .xkvt-mpu-profile-copy span {
        font-size: 13px !important;
    }

    .xkvt-mpu-badge {
        height: 31px !important;
        padding: 0 11px !important;
        font-size: 10.8px !important;
        border-radius: 11px !important;
    }

    .xkvt-mpu-panel {
        padding: 16px !important;
    }

    .xkvt-mpu-panel h2 {
        font-size: 18px !important;
        line-height: 1.15 !important;
    }

    .xkvt-mpu-row {
        min-height: 64px !important;
        gap: 10px !important;
    }

    .xkvt-mpu-row-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .xkvt-mpu-row-title {
        font-size: 15px !important;
    }

    .xkvt-mpu-row-subtitle {
        font-size: 12.5px !important;
    }

    .xkvt-mpu-modal {
        padding: 10px !important;
        place-items: center !important;
    }

    .xkvt-mpu-modal-card {
        padding: 16px !important;
        border-radius: 22px !important;
        max-height: calc(100dvh - 94px) !important;
        margin-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    }

    .xkvt-mpu-modal-topbar {
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        min-height: 44px !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .xkvt-mpu-modal-top-back,
    .xkvt-mpu-modal-close {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
        font-size: clamp(20px, 5.8vw, 25px) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.055em !important;
    }

    .xkvt-mpu-modal:not(.is-editing-screen) .xkvt-mpu-modal-topbar {
        grid-template-columns: 0 minmax(0, 1fr) 44px !important;
    }

    .xkvt-mpu-info-list,
    .xkvt-mpu-edit-form {
        gap: 10px !important;
    }

    .xkvt-mpu-info-item,
    .xkvt-mpu-field {
        min-height: 72px !important;
        padding: 11px 12px !important;
        border-radius: 17px !important;
        gap: 10px !important;
    }

    .xkvt-mpu-info-icon,
    .xkvt-mpu-field-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    .xkvt-mpu-info-icon .xkvt-mpu-svg,
    .xkvt-mpu-field-icon .xkvt-mpu-svg {
        width: 17px !important;
        height: 17px !important;
    }

    .xkvt-mpu-info-item dt,
    .xkvt-mpu-field-label {
        font-size: 10.5px !important;
        letter-spacing: .045em !important;
    }

    .xkvt-mpu-info-item dd,
    .xkvt-mpu-field :where(input, textarea, select),
    .xkvt-mpu-smart-select-toggle {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .xkvt-mpu-form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .xkvt-mpu-save-btn,
    .xkvt-mpu-modal-edit-btn,
    .xkvt-mpu-edit-btn {
        min-height: 46px !important;
        border-radius: 16px !important;
        font-size: 14px !important;
    }

    .xkvt-mpu-combo-head strong {
        font-size: 17px !important;
    }

    .xkvt-mpu-combo-head span {
        font-size: 12.5px !important;
    }

    .xkvt-mpu-smart-select-panel.is-floating {
        border-radius: 20px !important;
        padding: 10px !important;
        right: auto !important;
    }

    .xkvt-mpu-smart-search {
        min-height: 40px !important;
        font-size: 13.5px !important;
    }

    .xkvt-mpu-smart-option {
        min-height: 42px !important;
        font-size: 14px !important;
        padding: 0 11px !important;
    }
}

@media (max-width: 420px) {
    .xkvt-mpu-main-head h1 {
        font-size: 30px !important;
    }

    .xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
        font-size: 20px !important;
    }

    .xkvt-mpu-profile-copy strong {
        font-size: 17px !important;
    }
}

@media (min-width: 1025px) {
    body.xkvt-mpu-active.xkvt-mpu-hide-shell > header,
    body.xkvt-mpu-active.xkvt-mpu-hide-shell :where(.site-header, #masthead, header#masthead, #header, header#header, .ct-header, .ct-header-wrap, .ct-sticky-container) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-hide-shell > footer,
    body.xkvt-mpu-active.xkvt-mpu-hide-shell :where(.site-footer, #colophon, footer#colophon) {
        display: none !important;
    }
}

/* v1.9 refinements: compact policy rows, sticky modal header, stronger mobile popup lock, safer desktop header spacing */
@media (min-width: 1025px) {
    body.xkvt-mpu-active .xkvt-mpu-root {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: calc(var(--xkvt-mpu-header-offset, 118px) + 54px) !important;
        padding-left: clamp(52px, 5vw, 92px) !important;
        padding-right: clamp(52px, 5vw, 92px) !important;
    }

    body.xkvt-mpu-active .xkvt-mpu-sidebar {
        top: calc(var(--xkvt-mpu-header-offset, 118px) + 24px) !important;
        max-height: calc(100dvh - var(--xkvt-mpu-header-offset, 118px) - 48px) !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header, .ct-header-wrap, .ct-sticky-container) {
        z-index: 10050 !important;
        overflow: visible !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) {
        min-height: var(--xkvt-mpu-header-min-height, 92px) !important;
        background: linear-gradient(90deg, rgba(255, 246, 236, .98), rgba(255, 255, 255, .92), rgba(255, 246, 236, .98)) !important;
        border-bottom: 1px solid rgba(255, 121, 0, .13) !important;
        box-shadow: 0 12px 38px rgba(84, 45, 12, .08) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header, .ct-header-wrap) :where(.ct-container, .ct-container-full, .ct-header-container, .ct-header-row, [data-row], .site-header-inner) {
        max-width: none !important;
        padding-left: clamp(48px, 4.6vw, 86px) !important;
        padding-right: clamp(48px, 4.6vw, 86px) !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) :where(a, .ct-menu-link, .menu a, nav a, .ct-header-text, .ct-label, .ct-trigger, .ct-icon, svg, span, button) {
        color: #111827 !important;
        fill: currentColor !important;
        text-shadow: none !important;
    }

    body.xkvt-mpu-active :where(#header, header#header, .ct-header) :where(.ct-button, .wp-element-button, .button, [class*="contact"], [class*="lien-he"]) {
        color: #111827 !important;
        border-color: rgba(255, 121, 0, .7) !important;
    }
}

/* Các mục Khác nhỏ gọn hơn khoảng 30% để đỡ tốn diện tích. */
.xkvt-mpu-panel-wide .xkvt-mpu-row {
    min-height: 54px !important;
    padding: 8px 0 !important;
    gap: 12px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-icon {
    width: 38px !important;
    height: 38px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-icon .xkvt-mpu-svg {
    width: 19px !important;
    height: 19px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-title {
    font-size: 14.4px !important;
    line-height: 1.16 !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
    font-size: 12.2px !important;
    line-height: 1.42 !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-trailing > .xkvt-mpu-svg {
    width: 18px !important;
    height: 18px !important;
}

/* Header popup cố định để luôn thấy nút đóng khi kéo nội dung dài. */
.xkvt-mpu-modal-topbar {
    position: sticky !important;
    top: -1px !important;
    z-index: 30 !important;
    padding: 4px 0 12px !important;
    background: linear-gradient(180deg, var(--xkvt-card-solid) 0%, rgba(255, 255, 255, .96) 78%, rgba(255, 255, 255, 0) 100%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
html.xkvt-site-dark .xkvt-mpu-modal-topbar,
body.xkvt-site-dark .xkvt-mpu-modal-topbar {
    background: linear-gradient(180deg, var(--xkvt-card-solid) 0%, rgba(17, 24, 39, .96) 78%, rgba(17, 24, 39, 0) 100%) !important;
}
.xkvt-mpu-modal-card {
    scroll-padding-top: 88px !important;
}

/* Dropdown chọn địa chỉ: nền đục hơn, mờ hơn để không lộ chữ phía dưới. */
.xkvt-mpu-smart-select-panel.is-floating {
    background: rgba(255, 255, 255, .985) !important;
    backdrop-filter: blur(24px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.08) !important;
    border-color: rgba(255, 121, 0, .20) !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22), 0 0 0 9999px rgba(15, 23, 42, .04) !important;
}
.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-option {
    background: rgba(255, 255, 255, .92) !important;
}
.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-option.is-selected,
.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-option:hover,
.xkvt-mpu-smart-select-panel.is-floating .xkvt-mpu-smart-option:focus-visible {
    background: rgba(255, 121, 0, .13) !important;
}

html.xkvt-mpu-modal-open,
html.xkvt-mpu-modal-open body,
body.xkvt-mpu-body-locked {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    -webkit-overflow-scrolling: auto !important;
}

@media (max-width: 760px) {
    .xkvt-mpu-root {
        padding-inline: 12px !important;
    }

    .xkvt-mpu-main-head h1 {
        font-size: 27px !important;
        letter-spacing: -0.055em !important;
    }

    .xkvt-mpu-page-back {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        flex-basis: 42px !important;
    }

    .xkvt-mpu-modal {
        padding: 8px !important;
        align-items: center !important;
    }

    .xkvt-mpu-modal-card {
        padding: 12px 12px 14px !important;
        border-radius: 20px !important;
        max-height: calc(100dvh - 88px) !important;
        margin-top: 0 !important;
        margin-bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    }

    .xkvt-mpu-modal-topbar {
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        min-height: 40px !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        padding: 2px 0 10px !important;
    }

    .xkvt-mpu-modal-top-back,
    .xkvt-mpu-modal-close {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .xkvt-mpu-modal-topbar h3[data-xkvt-modal-title] {
        font-size: 18px !important;
        line-height: 1.06 !important;
        letter-spacing: -0.048em !important;
        transform: none !important;
    }

    .xkvt-mpu-policy-content,
    .xkvt-mpu-support-content {
        gap: 9px !important;
    }

    .xkvt-mpu-policy-hero {
        gap: 10px !important;
        padding: 11px !important;
        border-radius: 17px !important;
    }

    .xkvt-mpu-policy-hero > span {
        width: 40px !important;
        height: 40px !important;
        border-radius: 13px !important;
    }

    .xkvt-mpu-policy-hero strong {
        font-size: 16px !important;
        line-height: 1.12 !important;
        margin-bottom: 3px !important;
    }

    .xkvt-mpu-policy-hero p,
    .xkvt-mpu-policy-section p,
    .xkvt-mpu-support-note p,
    .xkvt-mpu-faq p {
        font-size: 12.2px !important;
        line-height: 1.58 !important;
    }

    .xkvt-mpu-policy-section {
        padding: 11px !important;
        border-radius: 17px !important;
        gap: 8px !important;
    }

    .xkvt-mpu-policy-number {
        width: 34px !important;
        height: 34px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
    }

    .xkvt-mpu-policy-copy h4 {
        font-size: 14.2px !important;
        line-height: 1.24 !important;
    }

    .xkvt-mpu-policy-list {
        gap: 5px !important;
    }

    .xkvt-mpu-policy-list li {
        font-size: 12.2px !important;
        line-height: 1.55 !important;
        padding-left: 17px !important;
    }

    .xkvt-mpu-policy-list li::before {
        width: 6px !important;
        height: 6px !important;
        box-shadow: 0 0 0 3px rgba(255, 121, 0, .10) !important;
    }

    .xkvt-mpu-support-steps {
        display: none !important;
    }

    .xkvt-mpu-faq {
        border-radius: 15px !important;
    }

    .xkvt-mpu-faq summary {
        min-height: 46px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        gap: 10px !important;
    }

    .xkvt-mpu-faq p {
        padding: 0 12px 12px !important;
    }

    .xkvt-mpu-support-note {
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .xkvt-mpu-support-note strong,
    .xkvt-mpu-policy-duo strong {
        font-size: 13.5px !important;
        margin-bottom: 5px !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row {
        min-height: 48px !important;
        padding: 6px 0 !important;
        gap: 9px !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-icon {
        width: 34px !important;
        height: 34px !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-title {
        font-size: 13.2px !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
        font-size: 11.3px !important;
    }

    .xkvt-mpu-smart-select-panel.is-floating {
        max-width: calc(100vw - 34px) !important;
        padding: 9px !important;
        background: rgba(255, 255, 255, .992) !important;
        box-shadow: 0 22px 58px rgba(15, 23, 42, .23), 0 0 0 9999px rgba(15, 23, 42, .035) !important;
    }

    .xkvt-mpu-smart-search {
        min-height: 36px !important;
        font-size: 12.6px !important;
    }

    .xkvt-mpu-smart-option {
        min-height: 37px !important;
        font-size: 12.8px !important;
        border-radius: 12px !important;
    }
}

/* v1.10.1: Chỉ đồng bộ tiêu đề mục Khác với Tùy chọn / Thông tin, không đụng layout khác. */
.xkvt-mpu-panel-wide > h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 930 !important;
    letter-spacing: -0.045em !important;
    margin: 0 0 16px !important;
}
@media (max-width: 782px) {
    .xkvt-mpu-panel-wide > h2 {
        font-size: 18px !important;
        line-height: 1.15 !important;
    }
}

/* v1.10.2 - restore "Khác" rows to match the size of "Thông tin" rows. */
.xkvt-mpu-panel-wide .xkvt-mpu-row {
    min-height: 78px !important;
    padding: 14px 0 !important;
    gap: 16px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-icon {
    width: 50px !important;
    height: 50px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-icon .xkvt-mpu-svg {
    width: 25px !important;
    height: 25px !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-title {
    font-size: 16.2px !important;
    line-height: 1.2 !important;
    font-weight: 880 !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-trailing > .xkvt-mpu-svg {
    width: 20px !important;
    height: 20px !important;
}
@media (max-width: 760px) {
    .xkvt-mpu-panel-wide .xkvt-mpu-row {
        min-height: 74px !important;
        padding: 13px 0 !important;
        gap: 14px !important;
    }
    .xkvt-mpu-panel-wide .xkvt-mpu-row-icon {
        width: 48px !important;
        height: 48px !important;
    }
    .xkvt-mpu-panel-wide .xkvt-mpu-row-icon .xkvt-mpu-svg {
        width: 24px !important;
        height: 24px !important;
    }
    .xkvt-mpu-panel-wide .xkvt-mpu-row-title {
        font-size: 15.6px !important;
    }
    .xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
}

/* v1.10.2 - safer modal scroll lock on mobile/PWA; keep controls clickable and reduce frozen overlay risk. */
html.xkvt-mpu-modal-open,
body.xkvt-mpu-modal-open,
body.xkvt-mpu-body-locked {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}
.xkvt-mpu-modal,
.xkvt-mpu-modal * {
    touch-action: manipulation;
}
.xkvt-mpu-modal-card {
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    will-change: scroll-position;
}
.xkvt-mpu-modal-backdrop {
    touch-action: none !important;
}


/* v1.10.3 - khóa popup an toàn hơn trên mobile/PWA, không nhảy lên đầu trang và không gây đơ thao tác. */
body.xkvt-mpu-body-locked {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    overflow: hidden !important;
    touch-action: auto !important;
}
html.xkvt-mpu-modal-open {
    overflow: hidden !important;
    scroll-behavior: auto !important;
}
.xkvt-mpu-modal,
.xkvt-mpu-modal * {
    touch-action: auto !important;
}
.xkvt-mpu-modal-card,
.xkvt-mpu-modal-card * {
    pointer-events: auto !important;
}
.xkvt-mpu-modal-card {
    touch-action: pan-y pinch-zoom !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateZ(0);
}
.xkvt-mpu-modal-backdrop {
    touch-action: none !important;
}

/* v1.10.3 - đảm bảo 3 mục Khác đồng bộ kích thước với nhóm Thông tin. */
.xkvt-mpu-panel-wide .xkvt-mpu-row-title {
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}
.xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
    font-size: 14.5px !important;
    line-height: 1.36 !important;
    font-weight: 700 !important;
}
@media (max-width: 760px) {
    .xkvt-mpu-panel-wide .xkvt-mpu-row-title {
        font-size: 16px !important;
    }
    .xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
        font-size: 13.5px !important;
    }
}

/* v1.10.4 - giữ trạng thái ghim menu desktop giống các trang khác */
@media (min-width: 1025px) {
    body.xkvt-mpu-active :where(#header, header#header, .ct-header) {
        position: sticky !important;
        top: 0 !important;
        inset-block-start: 0 !important;
        z-index: 10080 !important;
        transform: translateZ(0);
        will-change: transform;
    }

    body.xkvt-mpu-active :where(.ct-header-wrap, .ct-sticky-container) {
        overflow: visible !important;
        z-index: 10079 !important;
    }

    body.admin-bar.xkvt-mpu-active :where(#header, header#header, .ct-header) {
        top: 32px !important;
        inset-block-start: 32px !important;
    }
}

/* v1.10.6 - requested profile ordering, softer account status, logout confirmation */
.xkvt-mpu-page-logout {
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 121, 0, .14) !important;
    background: linear-gradient(135deg, rgba(255, 121, 0, .14), rgba(255, 121, 0, .07)) !important;
    color: var(--xkvt-accent) !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 14px 30px rgba(255, 121, 0, .13) !important;
    cursor: pointer !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.xkvt-mpu-page-logout:hover,
.xkvt-mpu-page-logout:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(255, 121, 0, .22), rgba(255, 121, 0, .10)) !important;
    outline: none !important;
}
.xkvt-mpu-page-logout .xkvt-mpu-svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.35 !important;
}
.xkvt-mpu-info-item dd.is-pending,
.xkvt-mpu-info-item dd[data-xkvt-info-value].is-pending {
    color: var(--xkvt-danger) !important;
    font-weight: 900 !important;
}
.xkvt-mpu-logout-modal .xkvt-mpu-modal-card {
    max-width: 430px !important;
}
.xkvt-mpu-logout-confirm {
    padding: 18px clamp(18px, 4vw, 28px) 28px;
    text-align: center;
}
.xkvt-mpu-logout-icon {
    width: 74px;
    height: 74px;
    margin: 6px auto 16px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--xkvt-accent);
    background: linear-gradient(135deg, rgba(255, 121, 0, .17), rgba(255, 121, 0, .08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 18px 40px rgba(255, 121, 0, .16);
}
.xkvt-mpu-logout-icon .xkvt-mpu-svg {
    width: 34px;
    height: 34px;
    stroke-width: 2.35;
}
.xkvt-mpu-logout-confirm h4 {
    margin: 0 0 8px;
    color: var(--xkvt-heading);
    font-size: 23px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.035em;
}
.xkvt-mpu-logout-confirm p {
    margin: 0 auto 22px;
    max-width: 330px;
    color: var(--xkvt-muted);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
}
.xkvt-mpu-logout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.xkvt-mpu-logout-cancel,
.xkvt-mpu-logout-submit {
    min-height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}
.xkvt-mpu-logout-cancel {
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(15, 23, 42, .06);
    color: var(--xkvt-heading);
}
.xkvt-mpu-logout-submit {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #ff9f3f, var(--xkvt-accent));
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(255, 121, 0, .20);
}
.xkvt-mpu-notify-row .xkvt-mpu-notify-message:not([data-type="error"]):empty {
    display: none !important;
}
@media (max-width: 760px) {
    .xkvt-mpu-main-head {
        gap: 10px !important;
    }
    .xkvt-mpu-page-logout,
    .xkvt-mpu-page-back {
        width: 48px !important;
        height: 48px !important;
    }
    .xkvt-mpu-page-logout .xkvt-mpu-svg {
        width: 22px !important;
        height: 22px !important;
    }
}


/* v1.10.8 - khóa kéo xuống reload riêng cho popup Chỉnh sửa thông tin/PWA. Không đổi giao diện. */
html.xkvt-mpu-combined-modal-open,
html.xkvt-mpu-combined-modal-open body,
body.xkvt-mpu-combined-modal-open {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    overflow: hidden !important;
    -webkit-overflow-scrolling: auto !important;
}
html.xkvt-mpu-combined-modal-open .xkvt-mpu-combined-modal:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}
html.xkvt-mpu-combined-modal-open .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-backdrop {
    touch-action: none !important;
}
html.xkvt-mpu-combined-modal-open .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    max-height: calc(100dvh - 26px) !important;
}

/* v1.10.9 - hard lock SuperPWA/browser pull-to-refresh for combined edit popup only. */
html.xkvt-mpu-hard-pwa-lock,
html.xkvt-mpu-hard-pwa-lock body,
body.xkvt-mpu-hard-pwa-lock {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    overflow: hidden !important;
}
html.xkvt-mpu-hard-pwa-lock .xkvt-mpu-combined-modal:not([hidden]),
html.xkvt-mpu-hard-pwa-lock .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-backdrop {
    touch-action: none !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}
html.xkvt-mpu-hard-pwa-lock .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
    touch-action: pan-y !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
}


/* v1.10.10 - dùng lại cơ chế khóa nền ổn định như popup Chính sách/Điều khoản cho popup Chỉnh sửa thông tin. */
html.xkvt-mpu-modal-open,
html.xkvt-mpu-modal-open body,
body.xkvt-mpu-modal-open,
body.xkvt-mpu-body-locked,
html.xkvt-mpu-combined-modal-open,
html.xkvt-mpu-combined-modal-open body,
body.xkvt-mpu-combined-modal-open {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
}
body.xkvt-mpu-body-locked,
body.xkvt-mpu-hard-pwa-lock {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: hidden !important;
    touch-action: auto !important;
}
.xkvt-mpu-combined-modal:not([hidden]),
.xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-backdrop {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    touch-action: none !important;
}
.xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
    overflow-y: auto !important;
    max-height: min(820px, calc(100dvh - 44px)) !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y pinch-zoom !important;
}
@media (max-width: 760px) {
    .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
        max-height: calc(100dvh - 96px) !important;
    }
}
html.xkvt-mpu-combined-modal-open .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
    max-height: min(820px, calc(100dvh - 44px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y pinch-zoom !important;
}
@media (max-width: 760px) {
    html.xkvt-mpu-combined-modal-open .xkvt-mpu-combined-modal:not([hidden]) .xkvt-mpu-modal-card {
        max-height: calc(100dvh - 96px) !important;
    }
}


/* v1.10.11 - desktop/laptop spacing refinements only. Mobile/tablet UI is finalized and untouched. */
@media (min-width: 961px) {
    body.xkvt-mpu-active .xkvt-mpu-root {
        padding-top: calc(var(--xkvt-mpu-header-offset, 118px) + 12px) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-overlap .xkvt-mpu-root {
        padding-top: calc(var(--xkvt-mpu-header-offset, 92px) + 12px) !important;
    }

    body.xkvt-mpu-active .xkvt-mpu-sidebar {
        top: calc(var(--xkvt-mpu-header-offset, 118px) + 12px) !important;
        height: calc(100dvh - var(--xkvt-mpu-header-offset, 118px) - 24px) !important;
        max-height: calc(100dvh - var(--xkvt-mpu-header-offset, 118px) - 24px) !important;
        min-height: 0 !important;
        gap: 18px !important;
        overflow: hidden !important;
    }

    .xkvt-mpu-side-nav {
        gap: 6px !important;
        padding-top: 12px !important;
        flex: 0 1 auto !important;
    }

    .xkvt-mpu-side-heading {
        margin: 15px 0 6px 14px !important;
    }

    .xkvt-mpu-side-link {
        min-height: 52px !important;
        border-radius: 16px !important;
    }

    .xkvt-mpu-support-card {
        flex: 0 0 auto !important;
        padding: 16px !important;
        gap: 7px !important;
        border-radius: 20px !important;
    }

    .xkvt-mpu-support-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .xkvt-mpu-support-card strong {
        font-size: 14px !important;
        line-height: 1.22 !important;
    }

    .xkvt-mpu-support-card p {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }

    .xkvt-mpu-support-card button {
        min-height: 40px !important;
        font-size: 12.5px !important;
        margin-top: 4px !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-title {
        font-size: 15px !important;
        line-height: 1.24 !important;
        font-weight: 880 !important;
        letter-spacing: -0.022em !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
        font-size: 12.5px !important;
        line-height: 1.36 !important;
        font-weight: 650 !important;
    }
}


/* v1.10.12 - desktop/laptop header row refinement only. Mobile UI remains finalized and untouched. */
.xkvt-mpu-head-user-mini {
    display: none !important;
}

@media (min-width: 961px) {
    body.xkvt-mpu-active .xkvt-mpu-root {
        padding-top: max(70px, calc(var(--xkvt-mpu-header-offset, 118px) - 10px)) !important;
    }

    body.xkvt-mpu-active.xkvt-mpu-header-overlap .xkvt-mpu-root {
        padding-top: max(62px, calc(var(--xkvt-mpu-header-offset, 92px) - 10px)) !important;
    }

    body.xkvt-mpu-active .xkvt-mpu-sidebar {
        top: max(70px, calc(var(--xkvt-mpu-header-offset, 118px) - 10px)) !important;
        height: calc(100dvh - max(70px, calc(var(--xkvt-mpu-header-offset, 118px) - 10px)) - 18px) !important;
        max-height: calc(100dvh - max(70px, calc(var(--xkvt-mpu-header-offset, 118px) - 10px)) - 18px) !important;
    }

    .xkvt-mpu-topline {
        display: none !important;
        min-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .xkvt-mpu-main-head {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin: 0 0 24px !important;
        min-height: 62px !important;
    }

    .xkvt-mpu-main-head-copy {
        flex: 1 1 auto !important;
        min-height: 54px !important;
        display: flex !important;
        align-items: center !important;
    }

    .xkvt-mpu-head-user-mini {
        display: inline-flex !important;
        flex: 0 1 auto !important;
        margin-left: auto !important;
        height: 50px !important;
        max-width: min(320px, 32vw) !important;
        white-space: nowrap !important;
    }

    .xkvt-mpu-head-user-mini strong {
        max-width: 210px !important;
    }

    .xkvt-mpu-page-logout {
        margin-left: 0 !important;
        flex: 0 0 54px !important;
    }
}

@media (max-width: 960px) {
    .xkvt-mpu-head-user-mini {
        display: none !important;
    }
}

/* v1.10.13 - mobile/tablet only: compact text for 'Khác' rows. Desktop/laptop and other finalized UI remain unchanged. */
@media (max-width: 960px) {
    .xkvt-mpu-panel-wide .xkvt-mpu-row-title {
        font-size: 15px !important;
        line-height: 1.26 !important;
        font-weight: 880 !important;
        letter-spacing: -0.018em !important;
    }

    .xkvt-mpu-panel-wide .xkvt-mpu-row-subtitle {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
    }
}

/* v1.10.19: premium membership badge pill, no "CẤP" prefix */
.xkvt-mpu-badge {
    --xkvt-badge-bg-1: #ff9b32;
    --xkvt-badge-bg-2: #b96a18;
    --xkvt-badge-edge: rgba(255, 216, 132, .95);
    --xkvt-badge-text: #fff8df;
    --xkvt-badge-shadow: rgba(194, 102, 19, .34);
    --xkvt-badge-icon-bg: rgba(255, 255, 255, .2);
    --xkvt-badge-icon-color: #fff3bd;
    height: 38px !important;
    min-width: 106px !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 999px !important;
    padding: 0 15px 0 10px !important;
    color: var(--xkvt-badge-text) !important;
    background:
        radial-gradient(circle at 14% 10%, rgba(255,255,255,.52), transparent 24%),
        linear-gradient(120deg, var(--xkvt-badge-bg-1), var(--xkvt-badge-bg-2) 56%, var(--xkvt-badge-bg-1)) !important;
    border: 1px solid color-mix(in srgb, var(--xkvt-badge-edge) 70%, transparent) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.5),
        inset 0 -10px 22px rgba(0,0,0,.14),
        0 13px 30px var(--xkvt-badge-shadow),
        0 0 0 1px rgba(255,255,255,.16) !important;
    font-size: 12.4px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: .052em !important;
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    text-decoration: none !important;
    z-index: 1 !important;
    transform: translateZ(0);
    animation: xkvtMpuBadgeFloat 3.8s ease-in-out infinite;
}

.xkvt-mpu-badge::before {
    content: "";
    position: absolute;
    inset: -45% -24%;
    background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,.72) 47%, rgba(255,255,255,.12) 55%, transparent 70%);
    transform: translateX(-78%) rotate(3deg);
    animation: xkvtMpuBadgeSweep 3.9s ease-in-out infinite;
    opacity: .75;
    z-index: -1;
    pointer-events: none;
}

.xkvt-mpu-badge::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255,255,255,.35), transparent 44%),
        radial-gradient(circle at 72% 18%, rgba(255,255,255,.88) 0 1.6px, transparent 2.4px),
        radial-gradient(circle at 91% 66%, rgba(255,255,255,.76) 0 1.2px, transparent 2px),
        radial-gradient(circle at 34% 78%, rgba(255,255,255,.48) 0 1px, transparent 1.9px);
    opacity: .78;
    z-index: -1;
    pointer-events: none;
}

.xkvt-mpu-badge:hover,
.xkvt-mpu-badge:focus-visible {
    transform: translateY(-1px) translateZ(0);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.62),
        inset 0 -10px 22px rgba(0,0,0,.14),
        0 16px 34px var(--xkvt-badge-shadow),
        0 0 0 1px rgba(255,255,255,.2) !important;
}

.xkvt-mpu-badge-icon,
.xkvt-mpu-badge-text,
.xkvt-mpu-badge-glass {
    position: relative;
    z-index: 2;
}

.xkvt-mpu-badge-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--xkvt-badge-icon-bg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 5px 12px rgba(0,0,0,.12);
}

.xkvt-mpu-badge-icon-svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: var(--xkvt-badge-icon-color);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
}

.xkvt-mpu-badge-text {
    display: inline-block;
    min-width: 0;
    white-space: nowrap;
    color: currentColor;
    text-shadow: 0 1px 1px rgba(0,0,0,.2), 0 0 12px rgba(255,255,255,.18);
}

.xkvt-mpu-badge-glass {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 3px;
    height: 45%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.03));
    pointer-events: none;
    opacity: .72;
}

.xkvt-mpu-badge-star {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px 3px rgba(255,255,255,.78), 0 0 20px 5px color-mix(in srgb, var(--xkvt-badge-edge) 72%, transparent);
    z-index: 3;
    opacity: .85;
    pointer-events: none;
    animation: xkvtMpuBadgeTwinkle 2.8s ease-in-out infinite;
}

.xkvt-mpu-badge-star::before,
.xkvt-mpu-badge-star::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 999px;
}

.xkvt-mpu-badge-star::before { width: 13px; height: 1.5px; }
.xkvt-mpu-badge-star::after { width: 1.5px; height: 13px; }
.xkvt-mpu-badge-star--one { left: 13px; top: 1px; }
.xkvt-mpu-badge-star--two { right: 15px; bottom: 5px; width: 4px; height: 4px; animation-delay: 1.15s; opacity: .62; }

.xkvt-mpu-badge--dong {
    --xkvt-badge-bg-1: #d9822b;
    --xkvt-badge-bg-2: #884511;
    --xkvt-badge-edge: #ffd483;
    --xkvt-badge-text: #fff5d3;
    --xkvt-badge-shadow: rgba(147, 76, 18, .34);
    --xkvt-badge-icon-color: #fff0bb;
}

.xkvt-mpu-badge--bac {
    --xkvt-badge-bg-1: #f4f6f8;
    --xkvt-badge-bg-2: #8b95a1;
    --xkvt-badge-edge: #ffffff;
    --xkvt-badge-text: #ffffff;
    --xkvt-badge-shadow: rgba(90, 101, 115, .3);
    --xkvt-badge-icon-bg: rgba(255,255,255,.22);
    --xkvt-badge-icon-color: #ffffff;
    text-shadow: 0 1px 2px rgba(31,41,55,.32) !important;
}

.xkvt-mpu-badge--vang {
    --xkvt-badge-bg-1: #ffdc36;
    --xkvt-badge-bg-2: #d28700;
    --xkvt-badge-edge: #fff7a1;
    --xkvt-badge-text: #fffbe2;
    --xkvt-badge-shadow: rgba(207, 132, 0, .38);
    --xkvt-badge-icon-color: #fff7bd;
}

.xkvt-mpu-badge--kim-cuong {
    --xkvt-badge-bg-1: #f4b92b;
    --xkvt-badge-bg-2: #9f6b08;
    --xkvt-badge-edge: #a7ecff;
    --xkvt-badge-text: #ffffff;
    --xkvt-badge-shadow: rgba(63, 119, 199, .32);
    --xkvt-badge-icon-bg: rgba(238, 248, 255, .24);
    --xkvt-badge-icon-color: #e9fbff;
    background:
        radial-gradient(circle at 8% 50%, rgba(99,232,255,.65), transparent 20%),
        radial-gradient(circle at 95% 12%, rgba(143,106,255,.62), transparent 22%),
        linear-gradient(120deg, #ffcf3b, #b97809 52%, #7ee7ff 100%) !important;
}

.xkvt-mpu-badge--kim-cuong .xkvt-mpu-badge-icon {
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.62), rgba(117,221,255,.26) 42%, rgba(122,86,255,.22));
}

@keyframes xkvtMpuBadgeSweep {
    0%, 34% { transform: translateX(-82%) rotate(3deg); opacity: 0; }
    46% { opacity: .88; }
    62%, 100% { transform: translateX(82%) rotate(3deg); opacity: 0; }
}

@keyframes xkvtMpuBadgeTwinkle {
    0%, 100% { transform: scale(.65) rotate(0deg); opacity: .2; }
    45% { transform: scale(1) rotate(12deg); opacity: .95; }
    58% { transform: scale(.76) rotate(20deg); opacity: .45; }
}

@keyframes xkvtMpuBadgeFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -1px; }
}

@media (max-width: 640px) {
    .xkvt-mpu-profile-copy {
        padding-right: 136px !important;
    }
    .xkvt-mpu-badge {
        top: 17px !important;
        right: 16px !important;
        height: 32px !important;
        min-width: 112px !important;
        padding: 0 11px 0 7px !important;
        gap: 6px !important;
        font-size: 10px !important;
        letter-spacing: .035em !important;
    }
    .xkvt-mpu-badge-icon {
        width: 21px;
        height: 21px;
        min-width: 21px;
    }
    .xkvt-mpu-badge-icon-svg {
        width: 13.5px;
        height: 13.5px;
    }
}

@media (max-width: 420px) {
    .xkvt-mpu-profile-copy {
        padding-right: 126px !important;
    }
    .xkvt-mpu-badge {
        right: 12px !important;
        min-width: 106px !important;
        font-size: 9.2px !important;
        padding-right: 9px !important;
    }
}

@media (max-width: 370px) {
    .xkvt-mpu-profile-copy {
        padding-right: 112px !important;
    }
    .xkvt-mpu-badge {
        min-width: 96px !important;
        font-size: 8.4px !important;
        gap: 5px !important;
    }
    .xkvt-mpu-badge-icon {
        width: 19px;
        height: 19px;
        min-width: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xkvt-mpu-badge,
    .xkvt-mpu-badge::before,
    .xkvt-mpu-badge-star {
        animation: none !important;
    }
}


/* v1.10.20: mobile rank badge returns to the compact name-row position */
@media (max-width: 780px) {
    .xkvt-mpu-profile-card {
        display: grid !important;
        grid-template-columns: clamp(70px, 20vw, 76px) minmax(0, 1fr) auto !important;
        grid-template-rows: auto auto auto !important;
        align-items: center !important;
        column-gap: 16px !important;
        row-gap: 8px !important;
    }

    .xkvt-mpu-avatar {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        align-self: start !important;
    }

    .xkvt-mpu-profile-copy {
        display: contents !important;
        padding: 0 !important;
        min-height: 0 !important;
        flex-basis: auto !important;
    }

    .xkvt-mpu-profile-copy strong {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        line-height: 1.15 !important;
    }

    .xkvt-mpu-profile-copy span {
        grid-column: 2 / 4 !important;
        grid-row: 2 !important;
        align-self: start !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        line-height: 1.25 !important;
    }

    .xkvt-mpu-badge {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: initial !important;
        margin: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 116px !important;
        height: 28px !important;
        padding: 0 9px 0 7px !important;
        gap: 5px !important;
        border-radius: 999px !important;
        font-size: 9.2px !important;
        letter-spacing: .026em !important;
        line-height: 1 !important;
        transform: translateZ(0) !important;
    }

    .xkvt-mpu-badge--kim-cuong {
        max-width: 132px !important;
        font-size: 8.6px !important;
        letter-spacing: .018em !important;
    }

    .xkvt-mpu-badge-icon {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
    }

    .xkvt-mpu-badge-icon-svg {
        width: 11.5px !important;
        height: 11.5px !important;
    }

    .xkvt-mpu-badge-glass {
        left: 5px !important;
        right: 5px !important;
        top: 2px !important;
        height: 42% !important;
    }

    .xkvt-mpu-badge-star--one {
        left: 8px !important;
        top: 0 !important;
    }

    .xkvt-mpu-badge-star--two {
        right: 9px !important;
        bottom: 4px !important;
    }

    .xkvt-mpu-edit-btn {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        margin: 7px 0 0 !important;
    }
}

@media (max-width: 390px) {
    .xkvt-mpu-profile-card {
        column-gap: 12px !important;
    }

    .xkvt-mpu-profile-copy strong {
        font-size: 17px !important;
    }

    .xkvt-mpu-badge {
        max-width: 104px !important;
        height: 27px !important;
        padding: 0 7px 0 6px !important;
        gap: 4px !important;
        font-size: 8.5px !important;
    }

    .xkvt-mpu-badge--kim-cuong {
        max-width: 122px !important;
        font-size: 7.8px !important;
    }

    .xkvt-mpu-badge-icon {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
    }
}
