:root {
    /* VacayOS Portal Style System */
    --vpe-blue: #1263a6;
    --vpe-blue-dark: #0b456f;
    --vpe-blue-soft: #e8f3fc;
    --vpe-teal: #147d78;
    --vpe-teal-soft: #e5f5f3;
    --vpe-amber: #a26708;
    --vpe-amber-soft: #fff3d9;
    --vpe-coral: #b84b4b;
    --vpe-coral-soft: #fdeaea;
    --vpe-ink: #182532;
    --vpe-muted: #627180;
    --vpe-line: #d9e2e9;
    --vpe-canvas: #f3f7fa;
    --vpe-surface: #ffffff;
    --vpe-surface-muted: #f8fafb;
    --vpe-focus: #57a4d8;
    --vpe-sidebar-width: 248px;
    --vpe-header-height: 72px;
    --vpe-content-max: 1220px;
    --vpe-radius-sm: 6px;
    --vpe-radius: 8px;
    --vpe-shadow-sm: 0 5px 18px rgba(24, 50, 72, .05);
    --vpe-shadow-md: 0 12px 34px rgba(24, 50, 72, .08);
    --vpe-space-1: 4px;
    --vpe-space-2: 8px;
    --vpe-space-3: 12px;
    --vpe-space-4: 16px;
    --vpe-space-5: 20px;
    --vpe-space-6: 24px;
    --vpe-space-7: 32px;
    --vpe-control-height: 40px;
}

body.vacayos-portal-experience {
    background: var(--vpe-canvas);
    color: var(--vpe-ink);
}

body.vacayos-portal-experience .site-header,
body.vacayos-portal-experience .site-footer,
body.vacayos-portal-experience .entry-header,
body.vacayos-portal-experience .ast-above-header-wrap,
body.vacayos-portal-experience .ast-below-header-wrap,
body.vacayos-portal-experience #masthead,
body.vacayos-portal-experience #colophon,
body.vacayos-portal-experience .ast-primary-header-bar,
body.vacayos-portal-experience .ast-mobile-header-wrap,
body.vacayos-portal-experience .ast-breadcrumbs-wrapper {
    display: none;
}

body.vacayos-portal-experience .site-content > .ast-container,
body.vacayos-portal-experience .site-content .ast-container,
body.vacayos-portal-experience #content .ast-container,
body.vacayos-portal-experience #page,
body.vacayos-portal-experience #content,
body.vacayos-portal-experience .site-content,
body.vacayos-portal-experience #primary,
body.vacayos-portal-experience .site-main,
body.vacayos-portal-experience article,
body.vacayos-portal-experience .entry-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body.vacayos-portal-experience {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body.vacayos-portal-experience #secondary {
    display: none;
}

.vpe-native-portal {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 1440px;
    gap: 24px;
    margin: 0 auto;
}

.vpe-preview-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid #bfd8ec;
    border-radius: 8px;
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-preview-notice > .dashicons {
    flex: 0 0 20px;
}

.vpe-preview-notice strong {
    margin-right: 6px;
}

.vpe-native-hero {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 180px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 32px;
    border: 1px solid #b9d5ea;
    border-radius: 8px;
    background: linear-gradient(125deg, #ffffff 0%, #eef7fd 68%, #dfeff9 100%);
    box-shadow: 0 14px 34px rgba(24, 59, 84, .09);
}

.vpe-native-hero > div {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 760px;
}

.vpe-native-hero h2 {
    margin: 5px 0 8px;
    color: var(--vpe-ink);
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: 0;
}

.vpe-native-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--vpe-muted);
    font-size: 15px;
}

.vpe-native-hero-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    border-radius: 8px;
    background: var(--vpe-blue);
    box-shadow: 0 12px 24px rgba(18, 99, 166, .2);
    color: #fff;
    font-size: 34px;
}

.vpe-native-section,
.vpe-native-module {
    min-width: 0;
}

.vpe-native-stat-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.vpe-native-stat {
    display: grid;
    min-width: 0;
    min-height: 104px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(31, 57, 76, .06);
    color: var(--vpe-ink);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.vpe-native-stat:hover,
a.vpe-native-stat:focus-visible {
    border-color: #9fc6e3;
    box-shadow: 0 12px 26px rgba(18, 99, 166, .1);
    color: var(--vpe-ink);
    transform: translateY(-2px);
}

.vpe-native-stat > span:nth-child(2) {
    min-width: 0;
}

.vpe-native-stat small,
.vpe-native-stat strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vpe-native-stat small {
    color: var(--vpe-muted);
    font-size: 12px;
    font-weight: 700;
}

.vpe-native-stat strong {
    margin-top: 3px;
    color: var(--vpe-ink);
    font-size: 22px;
    line-height: 1.15;
}

.vpe-native-stat-icon,
.vpe-native-action-icon {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue);
}

.vpe-native-stat-icon {
    width: 42px;
    height: 42px;
    font-size: 21px;
}

.vpe-native-action-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.vpe-native-action {
    display: grid;
    min-width: 0;
    min-height: 116px;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(31, 57, 76, .055);
    color: var(--vpe-ink);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.vpe-native-action:hover,
a.vpe-native-action:focus-visible {
    border-color: #9fc6e3;
    box-shadow: 0 12px 26px rgba(18, 99, 166, .1);
    color: var(--vpe-ink);
    transform: translateY(-2px);
}

.vpe-native-action > span:nth-child(2) {
    min-width: 0;
}

.vpe-native-action strong,
.vpe-native-action small {
    display: block;
    letter-spacing: 0;
}

.vpe-native-action strong {
    color: var(--vpe-ink);
    font-size: 14px;
}

.vpe-native-action small {
    margin-top: 4px;
    color: var(--vpe-muted);
    font-size: 11px;
    line-height: 1.45;
}

.vpe-native-action-icon {
    width: 44px;
    height: 44px;
    font-size: 21px;
}

.vpe-native-stat.is-disabled,
.vpe-native-action.is-disabled {
    border-style: dashed;
    background: #f8fafb;
    box-shadow: none;
    color: #8795a1;
}

.vpe-native-action.is-disabled .vpe-native-action-icon,
.vpe-native-stat.is-disabled .vpe-native-stat-icon {
    background: #edf1f4;
    color: #7d8b96;
}

.vpe-native-module {
    padding: 22px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 57, 76, .06);
}

.vpe-native-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
}

.vpe-native-list-row {
    display: grid;
    min-width: 0;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--vpe-line);
}

.vpe-native-list-row:last-child {
    border-bottom: 0;
}

.vpe-native-list-row > .dashicons {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue);
}

.vpe-native-list-row strong,
.vpe-native-list-row small {
    display: block;
}

.vpe-native-list-row strong {
    overflow: hidden;
    color: var(--vpe-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vpe-native-list-row small {
    margin-top: 2px;
    color: var(--vpe-muted);
}

.vpe-native-profile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: #f8fbfd;
}

.vpe-native-profile img {
    border-radius: 50%;
}

.vpe-native-profile > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.vpe-native-profile strong,
.vpe-native-profile small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vpe-native-profile small {
    color: var(--vpe-muted);
}

.vpe-native-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 8px;
    background: var(--vpe-blue);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

.vpe-app,
.vpe-auth-shell,
.vpe-app * {
    box-sizing: border-box;
}

.vpe-app {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--vpe-canvas);
    font-size: 15px;
    line-height: 1.5;
}

.vpe-app a {
    text-decoration: none;
}

.vpe-topbar {
    position: sticky;
    z-index: 80;
    top: 0;
    display: grid;
    grid-template-columns: var(--vpe-sidebar-width) minmax(180px, 1fr) auto;
    min-height: var(--vpe-header-height);
    align-items: center;
    border-bottom: 1px solid var(--vpe-line);
    background: var(--vpe-surface);
}

.admin-bar .vpe-topbar {
    top: 32px;
}

.vpe-brand,
.vpe-auth-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: var(--vpe-ink);
}

.vpe-brand {
    height: var(--vpe-header-height);
    padding: 0 24px;
    border-right: 1px solid var(--vpe-line);
}

.vpe-brand-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--vpe-blue);
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.vpe-brand strong,
.vpe-auth-brand strong,
.vpe-brand small,
.vpe-auth-brand small,
.vpe-user strong,
.vpe-user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0;
}

.vpe-brand strong,
.vpe-auth-brand strong {
    font-size: 15px;
    line-height: 1.25;
}

.vpe-brand small,
.vpe-auth-brand small {
    color: var(--vpe-muted);
    font-size: 11px;
}

.vpe-topbar-title {
    min-width: 0;
    padding: 0 28px;
}

.vpe-topbar-title small,
.vpe-topbar-title strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vpe-topbar-title small {
    color: var(--vpe-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.vpe-topbar-title strong {
    font-size: 16px;
}

.vpe-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    color: var(--vpe-ink);
}

.vpe-user small {
    color: var(--vpe-muted);
    font-size: 10px;
}

.vpe-user strong {
    max-width: 180px;
    font-size: 13px;
}

.vpe-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid var(--vpe-blue-soft);
    border-radius: 50%;
}

.vpe-icon-button {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vpe-line);
    border-radius: 6px;
    background: #fff;
    color: var(--vpe-ink);
}

.vpe-layout {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: calc(100vh - var(--vpe-header-height));
    grid-template-columns: var(--vpe-sidebar-width) minmax(0, 1fr);
}

.vpe-sidebar {
    position: relative;
    z-index: 2;
    width: var(--vpe-sidebar-width);
    min-width: 0;
    padding: 22px 14px 32px;
    border-right: 1px solid var(--vpe-line);
    background: var(--vpe-surface);
}

.vpe-nav {
    position: sticky;
    top: calc(var(--vpe-header-height) + 22px);
    display: grid;
    gap: 3px;
}

.admin-bar .vpe-nav {
    top: calc(var(--vpe-header-height) + 54px);
}

.vpe-nav-label {
    padding: 0 12px 8px;
    color: #7b8995;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.vpe-nav-link {
    display: grid;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding: 8px 12px;
    border-radius: 6px;
    color: #425261;
    font-size: 13px;
    font-weight: 600;
}

.vpe-nav-link:hover,
.vpe-nav-link:focus {
    background: #f0f5f8;
    color: var(--vpe-blue-dark);
}

.vpe-nav-link.is-active {
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-nav-link.is-disabled {
    cursor: default;
    opacity: .48;
}

.vpe-nav-link .dashicons {
    width: 22px;
    height: 22px;
    font-size: 19px;
}

.vpe-nav-status {
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--vpe-amber-soft);
    color: #785000;
    font-size: 8px;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
}

.vpe-legacy-tool-panel {
    margin-top: 28px;
}

.vpe-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 34px clamp(22px, 4vw, 58px) 80px;
}

.vpe-page-heading,
.vpe-page-content {
    width: min(var(--vpe-content-max), 100%);
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
}

.vpe-page-content,
.vpe-page-content > * {
    max-width: 100%;
    min-width: 0;
}

.vpe-page-heading {
    margin-bottom: 24px;
}

.vpe-page-heading h1 {
    margin: 3px 0 0;
    color: var(--vpe-ink);
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
}

.vpe-eyebrow {
    color: var(--vpe-blue);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0;
}

.vpe-page-content > .vacayos-portal-shell,
.vpe-page-content > .wp-block-group.vacayos-portal-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Reusable Portal Style System components for current and future modules. */
.vpe-page-hero {
    display: flex;
    min-width: 0;
    min-height: 150px;
    align-items: center;
    justify-content: space-between;
    gap: var(--vpe-space-6);
    padding: var(--vpe-space-7);
    border: 1px solid #cfe0ec;
    border-radius: var(--vpe-radius);
    background: var(--vpe-surface);
    box-shadow: var(--vpe-shadow-md);
}

.vpe-page-hero h2 {
    margin: var(--vpe-space-1) 0 var(--vpe-space-2);
    color: var(--vpe-ink);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 0;
}

.vpe-page-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--vpe-muted);
}

.vpe-portal-card,
.vpe-stat-card,
.vpe-action-card {
    min-width: 0;
    max-width: 100%;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
    background: var(--vpe-surface);
    box-shadow: var(--vpe-shadow-sm);
}

.vpe-stat-card {
    display: grid;
    min-height: 110px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: var(--vpe-space-3);
    padding: 18px;
    color: var(--vpe-ink);
}

.vpe-badge,
.vpe-status {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2f5;
    color: #526372;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.vpe-badge.is-success,
.vpe-status.is-success {
    background: var(--vpe-teal-soft);
    color: #0c635f;
}

.vpe-badge.is-warning,
.vpe-status.is-warning {
    background: var(--vpe-amber-soft);
    color: #785000;
}

.vpe-badge.is-danger,
.vpe-status.is-danger {
    background: var(--vpe-coral-soft);
    color: #8f3434;
}

.vpe-badge.is-info,
.vpe-status.is-info {
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-alert {
    display: grid;
    min-width: 0;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: var(--vpe-space-3);
    padding: 14px 16px;
    border: 1px solid #bfd8ec;
    border-radius: var(--vpe-radius);
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-alert.is-success {
    border-color: #b9ddd9;
    background: var(--vpe-teal-soft);
    color: #0c635f;
}

.vpe-alert.is-warning {
    border-color: #efd9a6;
    background: var(--vpe-amber-soft);
    color: #674100;
}

.vpe-alert.is-danger {
    border-color: #efc3c3;
    background: var(--vpe-coral-soft);
    color: #833333;
}

.vpe-button,
.vpe-page-content a.vpe-button,
.vpe-page-content button.vpe-button {
    display: inline-flex;
    width: auto;
    min-height: var(--vpe-control-height);
    align-items: center;
    justify-content: center;
    gap: var(--vpe-space-2);
    padding: 8px 14px;
    border: 1px solid var(--vpe-blue);
    border-radius: var(--vpe-radius-sm);
    background: var(--vpe-blue);
    color: #fff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.vpe-button:hover,
.vpe-button:focus-visible {
    border-color: var(--vpe-blue-dark);
    background: var(--vpe-blue-dark);
    color: #fff;
}

.vpe-button.is-secondary {
    border-color: var(--vpe-line);
    background: var(--vpe-surface);
    color: var(--vpe-ink);
}

.vpe-button[disabled],
.vpe-button.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.vpe-tabs {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    gap: var(--vpe-space-2);
    margin: var(--vpe-space-3) 0 var(--vpe-space-5);
}

.vpe-tab {
    display: inline-flex;
    min-height: var(--vpe-control-height);
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius-sm);
    background: var(--vpe-surface);
    color: var(--vpe-ink);
    font-size: 12px;
    font-weight: 700;
}

.vpe-tab.is-active,
.vpe-tab[aria-current="page"] {
    border-color: var(--vpe-blue);
    background: var(--vpe-blue);
    color: #fff;
}

.vpe-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
    background: var(--vpe-surface);
    box-shadow: var(--vpe-shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.vpe-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--vpe-surface);
}

.vpe-table th,
.vpe-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #e7edf1;
    color: var(--vpe-ink);
    font-size: 12px;
    text-align: left;
}

.vpe-table th {
    background: var(--vpe-surface-muted);
    color: var(--vpe-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.vpe-page-content :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(87, 164, 216, .35);
    outline-offset: 2px;
}

.vpe-metric-copy,
.vpe-action-card > span,
.vpe-native-action > span,
.vpe-native-stat > span {
    overflow-wrap: anywhere;
}

.vpe-dashboard {
    display: grid;
    gap: 34px;
}

.vpe-welcome {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    border: 1px solid #cfe0ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(24, 50, 72, .07);
}

.vpe-welcome h2 {
    margin: 5px 0 7px;
    color: var(--vpe-ink);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 0;
}

.vpe-welcome p {
    max-width: 680px;
    margin: 0;
    color: var(--vpe-muted);
}

.vpe-alert-summary {
    display: flex;
    min-width: 185px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #efd9a6;
    border-radius: 7px;
    background: var(--vpe-amber-soft);
    color: #674100;
}

.vpe-alert-summary > .dashicons {
    font-size: 25px;
}

.vpe-alert-summary strong,
.vpe-alert-summary small {
    display: block;
}

.vpe-alert-summary strong {
    font-size: 20px;
    line-height: 1;
}

.vpe-alert-summary small {
    margin-top: 3px;
    font-size: 11px;
}

.vpe-dashboard-section {
    min-width: 0;
}

.vpe-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.vpe-section-heading h2 {
    margin: 2px 0 0;
    color: var(--vpe-ink);
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 0;
}

.vpe-text-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--vpe-blue);
    font-size: 12px;
    font-weight: 700;
}

.vpe-text-link .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.vpe-metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vpe-metric-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 138px;
    align-items: start;
    gap: 13px;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    padding: 18px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: var(--vpe-surface);
    color: var(--vpe-ink);
    box-shadow: 0 5px 18px rgba(24, 50, 72, .045);
}

.vpe-metric-card:hover,
.vpe-metric-card:focus,
.vpe-action-card:hover,
.vpe-action-card:focus {
    border-color: #9bc2dc;
    box-shadow: 0 10px 24px rgba(24, 75, 110, .09);
    transform: translateY(-1px);
}

.vpe-metric-icon,
.vpe-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue);
}

.vpe-metric-icon {
    width: 40px;
    height: 40px;
    font-size: 21px;
}

.vpe-metric-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.vpe-metric-copy small {
    color: var(--vpe-muted);
    font-size: 11px;
    font-weight: 700;
}

.vpe-metric-copy strong {
    overflow: hidden;
    color: var(--vpe-ink);
    font-size: 22px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.vpe-metric-copy span {
    color: var(--vpe-muted);
    font-size: 11px;
}

.vpe-card-arrow {
    align-self: center;
    color: #8b9ba8;
}

.vpe-action-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vpe-action-card {
    display: grid;
    min-width: 0;
    min-height: 86px;
    align-items: center;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    padding: 15px;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: var(--vpe-surface);
    color: var(--vpe-ink);
}

.vpe-action-card.is-disabled,
.vpe-metric-card.is-disabled {
    transform: none;
    opacity: .62;
}

.vpe-action-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
}

.vpe-action-card strong,
.vpe-action-card small {
    display: block;
}

.vpe-action-card strong {
    color: var(--vpe-ink);
    font-size: 13px;
}

.vpe-action-card small {
    margin-top: 3px;
    color: var(--vpe-muted);
    font-size: 10px;
    line-height: 1.35;
}

.vpe-dashboard-columns {
    display: grid;
    min-width: 0;
    gap: 28px;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr);
}

.vpe-list,
.vpe-check-list,
.vpe-alert-list {
    overflow: hidden;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: var(--vpe-surface);
}

.vpe-list-row,
.vpe-alert-row {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8edf1;
    color: var(--vpe-ink);
}

.vpe-list-row:last-child,
.vpe-alert-row:last-child,
.vpe-check-row:last-child {
    border-bottom: 0;
}

.vpe-list-row {
    grid-template-columns: 46px minmax(0, 1fr) auto 18px;
}

.vpe-list-row:hover,
.vpe-check-row:hover,
.vpe-alert-row:hover {
    background: #f8fbfd;
}

.vpe-date-tile {
    display: grid;
    width: 46px;
    height: 48px;
    align-content: center;
    justify-items: center;
    border-radius: 6px;
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-date-tile strong {
    font-size: 17px;
    line-height: 1;
}

.vpe-date-tile small {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.vpe-list-copy,
.vpe-alert-row > span:nth-child(2) {
    min-width: 0;
}

.vpe-list-copy strong,
.vpe-list-copy small,
.vpe-alert-row strong,
.vpe-alert-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vpe-list-copy strong,
.vpe-alert-row strong {
    color: var(--vpe-ink);
    font-size: 12px;
}

.vpe-list-copy small,
.vpe-alert-row small {
    margin-top: 3px;
    color: var(--vpe-muted);
    font-size: 10px;
}

.vpe-status {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.vpe-status.is-neutral {
    background: #eef2f5;
    color: #526372;
}

.vpe-progress {
    height: 7px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 4px;
    background: #dce5eb;
}

.vpe-progress span {
    display: block;
    height: 100%;
    background: var(--vpe-teal);
}

.vpe-check-row {
    display: grid;
    min-height: 55px;
    align-items: center;
    gap: 11px;
    grid-template-columns: 23px minmax(0, 1fr);
    padding: 10px 14px;
    border-bottom: 1px solid #e8edf1;
    color: var(--vpe-ink);
}

.vpe-check-row > .dashicons-yes-alt {
    color: var(--vpe-teal);
}

.vpe-check-row > .dashicons-marker {
    color: var(--vpe-amber);
}

.vpe-check-row strong,
.vpe-check-row small {
    display: block;
}

.vpe-check-row strong {
    font-size: 11px;
}

.vpe-check-row small {
    color: var(--vpe-muted);
    font-size: 9px;
}

.vpe-alert-row {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
}

.vpe-alert-row > .dashicons:first-child {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.vpe-alert-row.is-urgent > .dashicons:first-child {
    background: var(--vpe-coral-soft);
    color: var(--vpe-coral);
}

.vpe-alert-row.is-notice > .dashicons:first-child {
    background: var(--vpe-amber-soft);
    color: var(--vpe-amber);
}

.vpe-alert-row.is-info > .dashicons:first-child {
    background: var(--vpe-teal-soft);
    color: var(--vpe-teal);
}

.vpe-empty-state {
    display: grid;
    min-height: 230px;
    place-items: center;
    align-content: center;
    padding: 32px;
    border: 1px dashed #b9c8d3;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.vpe-empty-state.is-compact {
    min-height: 150px;
}

.vpe-empty-state > .dashicons {
    width: 46px;
    height: 46px;
    color: var(--vpe-blue);
    font-size: 42px;
}

.vpe-empty-state h2 {
    margin: 10px 0 4px;
    color: var(--vpe-ink);
    font-size: 17px;
    letter-spacing: 0;
}

.vpe-empty-state p {
    max-width: 520px;
    margin: 0;
    color: var(--vpe-muted);
    font-size: 12px;
}

.vpe-page-content .vacayos-portal-placeholder {
    min-height: 220px;
    padding: 34px;
    border: 1px dashed #b9c8d3;
    border-left: 4px solid var(--vpe-blue);
    border-radius: 8px;
    background: #fff;
}

.vpe-page-content .vacayos-portal-placeholder h2 {
    margin: 0 0 8px;
    color: var(--vpe-ink);
    font-size: 18px;
    letter-spacing: 0;
}

.vpe-page-content .vacayos-portal-placeholder p {
    color: var(--vpe-muted);
}

.vpe-page-content .vacayos-portal-admin-note {
    margin-top: 18px;
    padding: 12px;
    border-radius: 6px;
    background: var(--vpe-amber-soft);
    color: #674100;
}

/* Normalize legacy Vacay Core portal markup inside the single unified shell. */
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-wrap.vacay-portal-shell,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-wrap,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-manager-shell,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-agent-shell,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-client-shell {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--vpe-ink) !important;
    font-family: inherit !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-suite-command-layout,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-v2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
}

html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-suite-command-rail,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-command-rail,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-command-role-switcher,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-command-top-switcher,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-role-switcher-clean {
    display: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-suite-command-main,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-suite-command-main > *,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-main > *,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-wrap > * {
    max-width: 100% !important;
    min-width: 0 !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-portal-shell > .vacay-card,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-wrap > .vacay-card,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-suite-command-main > .vacay-card {
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-client-top-card > .vacay-portal-head,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-manager-dashboard-card > .vacay-portal-head,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-client-top-card > .vacay-hero-title,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-client-top-card > .vacay-hero-sub,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-manager-dashboard-card > .vacay-hero-title,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-manager-dashboard-card > .vacay-hero-sub,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-agent-shell > .vacay-card > .vacay-hero-title,
html body.vacayos-unified-frontend-portal.vpe-hide-legacy-ui .vpe-page-content .vacay-agent-shell > .vacay-card > .vacay-hero-sub {
    display: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-card,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-panel,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-mini-card,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-stat,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-stat,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-overview-tile {
    border: 1px solid var(--vpe-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 5px 18px rgba(24, 50, 72, .05) !important;
    color: var(--vpe-ink) !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-card,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-panel,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-mini-card {
    padding: 18px !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-stat,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-stat,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-overview-tile {
    min-height: 110px !important;
    padding: 16px !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-card::before,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-portal-shell > .vacay-card::before,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-wrap > .vacay-card::before {
    display: none !important;
    content: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content h1,
html body.vacayos-unified-frontend-portal .vpe-page-content h2,
html body.vacayos-unified-frontend-portal .vpe-page-content h3,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-page-title,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-title,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-hero-title {
    color: var(--vpe-ink) !important;
    letter-spacing: 0 !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content h2,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-page-title,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-title,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-hero-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-hero-sub,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-command-subtitle,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-muted,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-muted-small {
    color: var(--vpe-muted) !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-inline-tabs,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-actions,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-manager-quick-actions {
    display: flex !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 12px 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-inline-tabs a,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-btn,
html body.vacayos-unified-frontend-portal .vpe-page-content a.vacay-btn,
html body.vacayos-unified-frontend-portal .vpe-page-content button.vacay-btn,
html body.vacayos-unified-frontend-portal .vpe-page-content .button,
html body.vacayos-unified-frontend-portal .vpe-page-content button,
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="submit"] {
    min-height: 40px !important;
    padding: 8px 13px !important;
    border: 1px solid var(--vpe-blue) !important;
    border-radius: 6px !important;
    background: var(--vpe-blue) !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-inline-tabs a:not(.active),
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-btn.secondary,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-btn.ghost {
    border-color: var(--vpe-line) !important;
    background: #fff !important;
    color: var(--vpe-ink) !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content input[type="text"],
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="email"],
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="password"],
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="date"],
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="number"],
html body.vacayos-unified-frontend-portal .vpe-page-content input[type="search"],
html body.vacayos-unified-frontend-portal .vpe-page-content select,
html body.vacayos-unified-frontend-portal .vpe-page-content textarea {
    max-width: 100% !important;
    min-height: 42px;
    border: 1px solid #bfcdd7 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--vpe-ink) !important;
    box-shadow: none !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-table-wrap {
    max-width: 100% !important;
    overflow-x: auto !important;
    border: 1px solid var(--vpe-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-table,
html body.vacayos-unified-frontend-portal .vpe-page-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff !important;
}

html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-table th,
html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-table td,
html body.vacayos-unified-frontend-portal .vpe-page-content table th,
html body.vacayos-unified-frontend-portal .vpe-page-content table td {
    padding: 11px 12px !important;
    border-bottom: 1px solid #e7edf1 !important;
    color: var(--vpe-ink) !important;
    font-size: 12px !important;
    text-align: left;
}

@media (max-width: 720px) {
    html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-inline-tabs {
        flex-wrap: wrap !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    html body.vacayos-unified-frontend-portal .vpe-page-content .vacay-inline-tabs a {
        min-width: 0 !important;
        flex: 1 1 132px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

.vpe-mobile-nav,
.vpe-sidebar-overlay {
    display: none;
}

.vpe-auth-shell {
    width: min(460px, calc(100% - 28px));
    margin: 64px auto;
    overflow: hidden;
    border: 1px solid var(--vpe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(21, 59, 87, .12);
}

.vpe-auth-brand {
    padding: 22px 24px;
    border-bottom: 1px solid var(--vpe-line);
}

.vpe-auth-content {
    padding: 28px 24px;
}

@media (max-width: 1120px) {
    .vpe-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vpe-action-grid,
    .vpe-native-action-grid,
    .vpe-native-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vpe-dashboard-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .vpe-topbar {
        grid-template-columns: 52px minmax(160px, 1fr) auto;
        padding: 0 14px;
    }

    .vpe-icon-button {
        display: inline-flex;
    }

    .vpe-brand {
        padding: 0 10px;
        border-right: 0;
    }

    .vpe-brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 18px;
    }

    .vpe-topbar-title {
        display: none;
    }

    .vpe-user {
        padding: 0;
    }

    .vpe-user > span {
        display: none;
    }

    .vpe-layout {
        display: block;
    }

    .vpe-sidebar {
        position: fixed;
        z-index: 100;
        top: var(--vpe-header-height);
        bottom: 0;
        left: 0;
        width: min(290px, calc(100vw - 48px));
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 14px 0 36px rgba(17, 42, 61, .18);
    }

    .admin-bar .vpe-sidebar {
        top: calc(var(--vpe-header-height) + 32px);
    }

    .vpe-drawer-open .vpe-sidebar {
        transform: translateX(0);
    }

    .vpe-sidebar-overlay {
        position: fixed;
        z-index: 90;
        inset: var(--vpe-header-height) 0 0;
        background: rgba(14, 31, 45, .42);
    }

    .vpe-drawer-open .vpe-sidebar-overlay {
        display: block;
    }

    .vpe-main {
        padding: 28px 22px 86px;
    }
}

@media (max-width: 782px) {
    .admin-bar .vpe-topbar {
        top: 46px;
    }

    .admin-bar .vpe-sidebar {
        top: calc(var(--vpe-header-height) + 46px);
    }
}

@media (max-width: 720px) {
    .vpe-main {
        padding: 22px 14px calc(102px + env(safe-area-inset-bottom));
    }

    .vpe-page-heading {
        margin-bottom: 18px;
    }

    .vpe-page-heading h1 {
        font-size: 23px;
    }

    .vpe-welcome {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .vpe-welcome h2 {
        font-size: 22px;
    }

    .vpe-alert-summary {
        width: 100%;
        min-width: 0;
    }

    .vpe-metric-grid,
    .vpe-action-grid,
    .vpe-native-stat-grid,
    .vpe-native-action-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vpe-native-portal {
        gap: 18px;
    }

    .vpe-native-hero {
        min-height: 0;
        align-items: flex-start;
        padding: 22px;
    }

    .vpe-native-hero h2 {
        font-size: 23px;
    }

    .vpe-native-hero-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 25px;
    }

    .vpe-native-stat,
    .vpe-native-action {
        min-height: 96px;
    }

    .vpe-native-module {
        padding: 17px;
    }

    .vpe-native-profile {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .vpe-native-profile .vpe-native-button {
        width: 100%;
    }

    .vpe-metric-card {
        min-height: 112px;
    }

    .vpe-list-row {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
    }

    .vpe-list-row .vpe-status {
        display: none;
    }

    .vpe-mobile-nav {
        position: fixed;
        z-index: 85;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        min-height: calc(67px + env(safe-area-inset-bottom));
        grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--vpe-line);
        background: #fff;
        box-shadow: 0 -8px 24px rgba(25, 51, 70, .08);
    }

    .vpe-mobile-link {
        display: grid;
        min-width: 0;
        place-items: center;
        align-content: center;
        gap: 3px;
        padding: 8px 3px;
        color: #6b7b88;
        font-size: 9px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .vpe-mobile-link .dashicons {
        width: 21px;
        height: 21px;
        font-size: 20px;
    }

    .vpe-mobile-link.is-active {
        color: var(--vpe-blue);
    }

    .vpe-auth-shell {
        margin: 24px auto;
    }
}

@media (max-width: 480px) {
    .vpe-brand small {
        display: none;
    }

    .vpe-brand strong {
        font-size: 13px;
    }

    .vpe-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vpe-sidebar,
    .vpe-metric-card,
    .vpe-action-card {
        transition: none;
    }
}

/* VacayOS Portal UI Pro v0.4.0 */
body.vpe-full-width-app .vpe-main {
    padding-right: clamp(20px, 3vw, 42px);
    padding-left: clamp(20px, 3vw, 42px);
}

body.vpe-full-width-app .vpe-page-heading,
body.vpe-full-width-app .vpe-page-content,
body.vpe-full-width-app .vpe-native-portal {
    width: 100%;
    max-width: none;
}

.vpe-page-content,
.vpe-module-view,
.vpe-module-content,
.vpe-native-page,
.vpe-event-collection,
.vpe-catalog-grid {
    min-width: 0;
    max-width: 100%;
}

.vpe-module-view,
.vpe-native-page {
    display: grid;
    gap: 24px;
}

.vpe-module-content > *,
.vpe-module-content form,
.vpe-module-content table,
.vpe-module-content [class*="grid"],
.vpe-module-content [class*="wrap"] {
    max-width: 100% !important;
    min-width: 0 !important;
}

.vpe-pro-hero {
    min-height: 156px;
    border-left: 4px solid var(--vpe-blue);
}

.vpe-hero-stat {
    display: grid;
    min-width: 150px;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #bfd8ec;
    border-radius: var(--vpe-radius);
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
}

.vpe-hero-stat > .dashicons {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: var(--vpe-radius);
    background: var(--vpe-blue);
    color: #fff;
    font-size: 23px;
}

.vpe-hero-stat strong,
.vpe-hero-stat small {
    display: block;
}

.vpe-hero-stat strong {
    font-size: 24px;
    line-height: 1;
}

.vpe-hero-stat small {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.vpe-filter-bar {
    display: flex;
    min-width: 0;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
    background: var(--vpe-surface);
    box-shadow: var(--vpe-shadow-sm);
}

.vpe-filter-form {
    display: grid;
    min-width: 0;
    flex: 1;
    grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .7fr) minmax(160px, .7fr) auto;
    align-items: end;
    gap: 12px;
}

.vpe-filter-form label {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.vpe-filter-form label > span {
    color: var(--vpe-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.vpe-filter-form input,
.vpe-filter-form select {
    width: 100%;
    max-width: none;
    min-height: 42px;
    margin: 0;
    border: 1px solid #bfcdd7;
    border-radius: var(--vpe-radius-sm);
    background: #fff;
    color: var(--vpe-ink);
    box-shadow: none;
}

.vpe-filter-form .vpe-button {
    min-height: 42px;
    white-space: nowrap;
}

.vpe-view-switcher {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
}

.vpe-icon-choice {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius-sm);
    background: #fff;
    color: var(--vpe-muted);
}

.vpe-icon-choice:hover,
.vpe-icon-choice:focus-visible,
.vpe-icon-choice.is-active {
    border-color: var(--vpe-blue);
    background: var(--vpe-blue);
    color: #fff;
}

.vpe-event-collection,
.vpe-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.vpe-event-card,
.vpe-catalog-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
    background: #fff;
    box-shadow: var(--vpe-shadow-sm);
    color: var(--vpe-ink);
}

.vpe-event-card:hover,
.vpe-catalog-card:hover {
    border-color: #9fc6e3;
    box-shadow: var(--vpe-shadow-md);
}

.vpe-event-media,
.vpe-catalog-media {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: #dfeaf1;
    color: var(--vpe-blue);
}

.vpe-event-media > img,
.vpe-catalog-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vpe-event-media > .dashicons,
.vpe-catalog-media > .dashicons {
    width: 46px;
    height: 46px;
    font-size: 44px;
}

.vpe-event-media > .vpe-badge,
.vpe-catalog-media > .vpe-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.vpe-event-body,
.vpe-catalog-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.vpe-event-body h2,
.vpe-catalog-body h2 {
    margin: 7px 0;
    color: var(--vpe-ink);
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.vpe-event-body > p:not(.vpe-card-location),
.vpe-catalog-body > p:not(.vpe-card-location) {
    flex: 1;
    margin: 8px 0 16px;
    color: var(--vpe-muted);
    font-size: 12px;
}

.vpe-card-kicker,
.vpe-card-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: var(--vpe-blue-dark);
    font-size: 11px;
    font-weight: 700;
}

.vpe-card-kicker .dashicons,
.vpe-card-location .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.vpe-card-badges {
    min-height: 23px;
}

.vpe-event-collection.is-list {
    grid-template-columns: minmax(0, 1fr);
}

.vpe-event-card.is-list {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
}

.vpe-event-card.is-list .vpe-event-media {
    height: 100%;
    aspect-ratio: auto;
}

.vpe-event-calendar {
    display: grid;
    gap: 20px;
}

.vpe-calendar-month {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
    background: #fff;
    box-shadow: var(--vpe-shadow-sm);
}

.vpe-calendar-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--vpe-line);
    border-radius: var(--vpe-radius);
}

.vpe-calendar-row {
    display: grid;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--vpe-line);
    color: var(--vpe-ink);
}

.vpe-calendar-row:last-child {
    border-bottom: 0;
}

.vpe-calendar-row:hover {
    background: var(--vpe-blue-soft);
    color: var(--vpe-ink);
}

.vpe-calendar-row strong,
.vpe-calendar-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vpe-calendar-row small {
    color: var(--vpe-muted);
}

.vpe-calendar-day {
    display: grid;
    width: 48px;
    height: 44px;
    place-items: center;
    border-radius: var(--vpe-radius-sm);
    background: var(--vpe-blue-soft);
    color: var(--vpe-blue-dark);
    font-size: 17px;
    font-weight: 800;
}

body.vpe-hide-legacy-ui .vpe-module-content .vacay-portal-sidebar,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-module-sidebar,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-dashboard-sidebar,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-role-tabs,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-role-switcher,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-shell-header,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-module-header.is-legacy {
    display: none !important;
}

body.vpe-hide-legacy-ui .vpe-module-content .vacay-tabs,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-inline-tabs,
body.vpe-hide-legacy-ui .vpe-module-content [role="tablist"] {
    display: flex !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 8px !important;
}

body.vpe-hide-legacy-ui .vpe-module-content .vacay-tabs > *,
body.vpe-hide-legacy-ui .vpe-module-content .vacay-inline-tabs > *,
body.vpe-hide-legacy-ui .vpe-module-content [role="tablist"] > * {
    min-width: 0 !important;
    white-space: normal !important;
}

body.vpe-full-width-app .vpe-page-content .vacay-wrap,
body.vpe-full-width-app .vpe-page-content .vacay-card,
body.vpe-full-width-app .vpe-page-content .vcip-wrap,
body.vpe-full-width-app .vpe-page-content .vqc-shell {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@media (max-width: 1080px) {
    .vpe-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vpe-filter-form .vpe-button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    body.vpe-full-width-app .vpe-main {
        padding-right: 14px;
        padding-left: 14px;
    }

    .vpe-page-hero,
    .vpe-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .vpe-hero-stat {
        width: 100%;
    }

    .vpe-filter-form {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .vpe-view-switcher {
        width: 100%;
    }

    .vpe-icon-choice {
        flex: 1;
    }

    .vpe-event-collection,
    .vpe-catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vpe-event-card.is-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .vpe-event-card.is-list .vpe-event-media {
        aspect-ratio: 16 / 9;
    }

    .vpe-calendar-month {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vpe-event-card,
    .vpe-catalog-card,
    .vpe-icon-choice {
        transition: none;
    }
}

/* VacayOS Portal UI Pro v0.4.1: true viewport-width application layout. */
html body.vacayos-portal-experience.vpe-force-theme-width,
html body.vacayos-portal-experience.vpe-force-theme-width #page,
html body.vacayos-portal-experience.vpe-force-theme-width #content,
html body.vacayos-portal-experience.vpe-force-theme-width .site-content,
html body.vacayos-portal-experience.vpe-force-theme-width .site-content > .ast-container,
html body.vacayos-portal-experience.vpe-force-theme-width .site-content .ast-container,
html body.vacayos-portal-experience.vpe-force-theme-width #content .ast-container,
html body.vacayos-portal-experience.vpe-force-theme-width #primary,
html body.vacayos-portal-experience.vpe-force-theme-width .site-main,
html body.vacayos-portal-experience.vpe-force-theme-width article,
html body.vacayos-portal-experience.vpe-force-theme-width .entry-content,
html body.vacayos-portal-experience.vpe-force-theme-width .wp-site-blocks,
html body.vacayos-portal-experience.vpe-force-theme-width main.wp-block-group,
html body.vacayos-portal-experience.vpe-force-theme-width .is-layout-constrained,
html body.vacayos-portal-experience.vpe-force-theme-width .is-layout-flow {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.vacayos-portal-experience.vpe-force-theme-width .site-content > .ast-container,
html body.vacayos-portal-experience.vpe-force-theme-width .site-content .ast-container,
html body.vacayos-portal-experience.vpe-force-theme-width #content .ast-container {
    display: block !important;
}

html body.vacayos-portal-experience.vpe-force-theme-width #primary {
    float: none !important;
    flex: 0 0 100% !important;
}

html body.vacayos-portal-experience.vpe-force-theme-width .ast-separate-container .ast-article-single,
html body.vacayos-portal-experience.vpe-force-theme-width .ast-separate-container .ast-article-post,
html body.vacayos-portal-experience.vpe-force-theme-width .ast-plain-container .site-content,
html body.vacayos-portal-experience.vpe-force-theme-width .entry-content > .wp-block-group,
html body.vacayos-portal-experience.vpe-force-theme-width .entry-content > .wp-block-columns,
html body.vacayos-portal-experience.vpe-force-theme-width .entry-content > .alignwide,
html body.vacayos-portal-experience.vpe-force-theme-width .entry-content > .alignfull {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.vacayos-portal-experience.vpe-force-theme-width .vpe-app,
html body.vacayos-portal-experience.vpe-force-theme-width .vacayos-app-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
}

body.vpe-force-theme-width .vpe-topbar,
body.vpe-force-theme-width .vpe-layout {
    width: 100vw;
    max-width: 100vw;
}

body.vpe-force-theme-width .vpe-layout {
    grid-template-columns: var(--vpe-sidebar-width) minmax(0, calc(100vw - var(--vpe-sidebar-width)));
}

body.vpe-force-theme-width .vpe-sidebar {
    position: sticky;
    top: var(--vpe-header-height);
    align-self: start;
    height: calc(100vh - var(--vpe-header-height));
    overflow-x: hidden;
    overflow-y: auto;
}

body.admin-bar.vpe-force-theme-width .vpe-sidebar {
    top: calc(var(--vpe-header-height) + 32px);
    height: calc(100vh - var(--vpe-header-height) - 32px);
}

body.vpe-force-theme-width .vpe-sidebar .vpe-nav {
    position: static;
}

body.vpe-force-theme-width .vpe-main,
body.vpe-force-theme-width .vacayos-main {
    width: calc(100vw - var(--vpe-sidebar-width));
    max-width: none;
    min-width: 0;
    margin: 0;
    background: linear-gradient(180deg, #f8fbfd 0, var(--vpe-canvas) 360px);
}

body.vpe-force-theme-width .vpe-page-heading,
body.vpe-force-theme-width .vpe-page-content,
body.vpe-force-theme-width .vacayos-content,
body.vpe-force-theme-width .vacayos-portal-shell,
body.vpe-force-theme-width .vacayos-app-shell,
body.vpe-force-theme-width .vacayos-main,
body.vpe-force-theme-width .vpe-native-portal,
body.vpe-force-theme-width .vpe-module-view,
body.vpe-force-theme-width .vpe-module-content,
body.vpe-force-theme-width .vpe-native-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.vpe-force-theme-width.vpe-portal-max-limited .vpe-page-heading,
body.vpe-force-theme-width.vpe-portal-max-limited .vpe-page-content,
body.vpe-force-theme-width.vpe-portal-max-limited .vpe-native-portal {
    max-width: var(--vpe-portal-max-width) !important;
}

body.vpe-force-theme-width .vpe-event-collection,
body.vpe-force-theme-width .vpe-catalog-grid,
body.vpe-force-theme-width .vpe-action-grid,
body.vpe-force-theme-width .vpe-native-action-grid,
body.vpe-force-theme-width .vpe-native-stat-grid,
body.vpe-force-theme-width .vpe-metric-grid {
    width: 100%;
    max-width: none;
}

body.vpe-force-theme-width .vpe-event-collection,
body.vpe-force-theme-width .vpe-catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
    gap: 22px;
}

body.vpe-force-theme-width .vpe-filter-bar {
    width: 100%;
    padding: 18px 20px;
    border-color: #cbdce8;
    box-shadow: 0 10px 30px rgba(24, 50, 72, .07);
}

body.vpe-force-theme-width .vpe-page-hero,
body.vpe-force-theme-width .vpe-welcome,
body.vpe-force-theme-width .vpe-native-hero,
body.vpe-force-theme-width .vpe-pro-hero {
    border-color: #bad6e9;
    background: linear-gradient(120deg, #fff 0%, #eef7fc 68%, #e7f5f3 100%);
    box-shadow: 0 16px 38px rgba(24, 50, 72, .09);
}

body.vpe-force-theme-width :where(.vpe-portal-card, .vpe-stat-card, .vpe-metric-card, .vpe-action-card, .vpe-native-stat, .vpe-native-action, .vpe-event-card, .vpe-catalog-card, .vpe-calendar-month) {
    border-color: #d2e0e9;
    box-shadow: 0 8px 24px rgba(24, 50, 72, .065);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.vpe-force-theme-width :where(.vpe-action-card, .vpe-native-action, .vpe-event-card, .vpe-catalog-card):hover {
    border-color: #8ebddd;
    box-shadow: 0 16px 36px rgba(24, 50, 72, .11);
    transform: translateY(-2px);
}

body.vpe-force-theme-width .vpe-section-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid #d7e4ec;
}

body.vpe-force-theme-width .vpe-button:not(.is-secondary):not(.is-disabled),
body.vpe-force-theme-width .vpe-page-content input[type="submit"] {
    box-shadow: 0 7px 18px rgba(18, 99, 166, .18);
}

body.vpe-force-theme-width .vpe-empty-state {
    min-height: 210px;
    border: 1px dashed #a9c8dd;
    background: linear-gradient(145deg, #fff 0%, #f1f8fc 100%);
}

body.vpe-density-compact .vpe-main {
    padding: 24px clamp(18px, 2vw, 30px) 64px;
}

body.vpe-density-compact :where(.vpe-module-view, .vpe-native-page, .vpe-native-portal, .vpe-dashboard) {
    gap: 16px;
}

body.vpe-density-compact :where(.vpe-portal-card, .vpe-action-card, .vpe-native-action, .vpe-event-body, .vpe-catalog-body, .vpe-calendar-month) {
    padding: 14px;
}

@media (max-width: 960px) {
    html body.vacayos-portal-experience.vpe-force-theme-width .vpe-app,
    html body.vacayos-portal-experience.vpe-force-theme-width .vacayos-app-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.vpe-force-theme-width .vpe-topbar,
    body.vpe-force-theme-width .vpe-layout,
    body.vpe-force-theme-width .vpe-main,
    body.vpe-force-theme-width .vacayos-main {
        width: 100%;
        max-width: 100%;
    }

    body.vpe-force-theme-width .vpe-layout {
        display: block;
    }

    body.vpe-force-theme-width .vpe-sidebar,
    body.admin-bar.vpe-force-theme-width .vpe-sidebar {
        position: fixed;
        top: var(--vpe-header-height);
        bottom: 0;
        left: 0;
        width: min(var(--vpe-sidebar-width), calc(100vw - 48px));
        height: auto;
    }

    body.admin-bar.vpe-force-theme-width .vpe-sidebar {
        top: calc(var(--vpe-header-height) + 32px);
    }
}

@media (max-width: 782px) {
    body.admin-bar.vpe-force-theme-width .vpe-sidebar {
        top: calc(var(--vpe-header-height) + 46px);
    }
}

@media (max-width: 720px) {
    body.vpe-force-theme-width .vpe-event-collection,
    body.vpe-force-theme-width .vpe-catalog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    body.vpe-force-theme-width .vpe-filter-bar {
        padding: 14px;
    }

    body.vpe-density-compact .vpe-main {
        padding: 18px 12px calc(98px + env(safe-area-inset-bottom));
    }
}


/* VacayOS Portal UI Pro v0.4.2: stronger portal-only full-width enforcement. */
html body.vacayos-portal-page.vpe-force-theme-width,
html body.vacayos-portal-page.vpe-force-theme-width #page,
html body.vacayos-portal-page.vpe-force-theme-width #content,
html body.vacayos-portal-page.vpe-force-theme-width .site-content,
html body.vacayos-portal-page.vpe-force-theme-width .ast-container,
html body.vacayos-portal-page.vpe-force-theme-width .content-area,
html body.vacayos-portal-page.vpe-force-theme-width #primary,
html body.vacayos-portal-page.vpe-force-theme-width main.site-main,
html body.vacayos-portal-page.vpe-force-theme-width .site-main,
html body.vacayos-portal-page.vpe-force-theme-width .entry-content,
html body.vacayos-portal-page.vpe-force-theme-width .wp-site-blocks,
html body.vacayos-portal-page.vpe-force-theme-width article,
html body.vacayos-portal-page.vpe-force-theme-width .ast-article-single,
html body.vacayos-portal-page.vpe-force-theme-width .ast-article-post,
html body.vacayos-portal-page.vpe-force-theme-width .is-layout-constrained,
html body.vacayos-portal-page.vpe-force-theme-width .is-layout-flow {
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .entry-content > .vpe-app,
html body.vacayos-portal-page.vpe-force-theme-width .entry-content > .vacayos-app-shell,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-app.vacayos-app-shell {
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-app,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-topbar,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-layout {
    max-width: 100vw !important;
    width: 100vw !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-layout {
    display: grid !important;
    grid-template-columns: var(--vpe-sidebar-width) minmax(0, 1fr) !important;
    align-items: stretch !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-sidebar {
    flex: 0 0 var(--vpe-sidebar-width) !important;
    width: var(--vpe-sidebar-width) !important;
    min-width: var(--vpe-sidebar-width) !important;
    max-width: var(--vpe-sidebar-width) !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-main,
html body.vacayos-portal-page.vpe-force-theme-width .vacayos-main {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-right: clamp(24px, 3vw, 56px) !important;
    padding-left: clamp(24px, 3vw, 56px) !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-page-heading,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-page-content,
html body.vacayos-portal-page.vpe-force-theme-width .vacayos-content,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-dashboard,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-page,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-portal,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-module-view,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-event-page,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-catalog-page,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-events-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-stat-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-action-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-action-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-metric-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-event-collection,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-catalog-grid {
    width: 100% !important;
    max-width: none !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-stat-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-action-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-action-grid,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)) !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-event-collection,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)) !important;
}

html body.vacayos-portal-page.vpe-force-theme-width .vpe-filter-bar,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-page-hero,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-welcome,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-empty-state,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-native-hero,
html body.vacayos-portal-page.vpe-force-theme-width .vpe-pro-hero {
    max-width: none !important;
    width: 100% !important;
}

.vpe-width-diagnostic-panel {
    position: fixed;
    z-index: 999999;
    right: 16px;
    bottom: 16px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid #9fc6e3;
    border-radius: 10px;
    background: #ffffff;
    color: #182532;
    box-shadow: 0 18px 45px rgba(24, 50, 72, .2);
    font: 13px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 960px) {
    html body.vacayos-portal-page.vpe-force-theme-width .entry-content > .vpe-app,
    html body.vacayos-portal-page.vpe-force-theme-width .entry-content > .vacayos-app-shell,
    html body.vacayos-portal-page.vpe-force-theme-width .vpe-app.vacayos-app-shell {
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }

    html body.vacayos-portal-page.vpe-force-theme-width .vpe-app,
    html body.vacayos-portal-page.vpe-force-theme-width .vpe-topbar,
    html body.vacayos-portal-page.vpe-force-theme-width .vpe-layout {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body.vacayos-portal-page.vpe-force-theme-width .vpe-layout {
        display: block !important;
    }

    html body.vacayos-portal-page.vpe-force-theme-width .vpe-main,
    html body.vacayos-portal-page.vpe-force-theme-width .vacayos-main {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}

/* =========================================================
   v0.4.3 Branded login/logout + hidden WordPress portal flow
   ========================================================= */
body.vacayos-portal-page.vpe-hide-theme-footer .site-footer,
body.vacayos-portal-page.vpe-hide-theme-footer footer,
body.vacayos-portal-page.vpe-hide-theme-footer .ast-footer-wrap,
body.vacayos-portal-page.vpe-hide-theme-footer .ast-footer-copyright,
body.vacayos-portal-page.vpe-hide-theme-footer .site-primary-footer-wrap,
body.vacayos-portal-page.vpe-hide-theme-footer .site-below-footer-wrap,
body.vacayos-portal-page.vpe-hide-theme-footer .wp-block-template-part,
body.vacayos-portal-page.vpe-hide-theme-footer .powered-by,
body.vacayos-portal-page.vpe-hide-theme-footer .site-info {
    display: none !important;
}

body.vpe-auth-route {
    background: linear-gradient(135deg, #f7fbff 0%, #e7f7ff 48%, #b7e8ff 100%) !important;
}

body.vpe-auth-route .entry-content,
body.vpe-auth-route .site-content,
body.vpe-auth-route .ast-container,
body.vpe-auth-route #primary,
body.vpe-auth-route .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.vpe-auth-shell {
    min-height: calc(100vh - var(--vpe-adminbar-offset, 0px));
    width: 100%;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 64px);
    background:
        radial-gradient(circle at 15% 15%, rgba(0, 159, 223, .18), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(31, 103, 180, .20), transparent 32%),
        linear-gradient(135deg, #f7fbff 0%, #e8f8ff 52%, #b7e8ff 100%);
    box-sizing: border-box;
}

.vpe-auth-brand {
    position: fixed;
    top: calc(var(--vpe-adminbar-offset, 0px) + 24px);
    left: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0d3154;
    z-index: 2;
}

.vpe-auth-brand .vpe-brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #005da8, #00a8e8);
    box-shadow: 0 16px 34px rgba(0, 93, 168, .22);
}

.vpe-auth-brand strong,
.vpe-auth-brand small {
    display: block;
    line-height: 1.15;
}

.vpe-auth-brand small {
    color: #4d6b86;
    font-size: 12px;
}

.vpe-auth-content {
    width: min(460px, calc(100vw - 40px));
}

.vpe-auth-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(36, 119, 174, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 28px 80px rgba(0, 74, 128, .18);
    backdrop-filter: blur(14px);
}

.vpe-auth-kicker {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e9f7ff;
    color: #0066ad;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.vpe-auth-card h1 {
    margin: 0 0 10px;
    color: #10263a;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
}

.vpe-auth-card form {
    margin-top: 22px;
}

.vpe-auth-card label {
    color: #23394f;
    font-weight: 800;
}

.vpe-auth-card input[type="text"],
.vpe-auth-card input[type="password"],
.vpe-auth-card input[type="email"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c8ddec;
    border-radius: 14px;
    padding: 10px 14px;
    font-size: 15px;
    background: #ffffff;
}

.vpe-auth-card .login-submit input,
.vpe-auth-card .vpe-button-primary {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: .01em;
    background: linear-gradient(135deg, #005da8, #009fe3);
    box-shadow: 0 14px 30px rgba(0, 93, 168, .22);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vpe-auth-message {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
}

.vpe-auth-message.is-success {
    background: #ecfff6;
    color: #075b39;
    border: 1px solid #bcebd7;
}

.vpe-auth-message.is-info {
    background: #eef8ff;
    color: #064d82;
    border: 1px solid #bddff8;
}

.vpe-auth-links {
    margin: 18px 0 0;
    text-align: center;
}

.vpe-auth-links a {
    color: #0069b4;
    font-weight: 800;
}

@media (max-width: 700px) {
    .vpe-auth-brand {
        position: static;
        margin-bottom: 24px;
        align-self: start;
        justify-self: start;
    }
    .vpe-auth-shell {
        place-items: start center;
    }
}


/* =========================================================
   v0.4.4 Branded official Vacay On Layaway login experience
   ========================================================= */
body.vpe-auth-route .site-footer,
body.vpe-auth-route footer,
body.vpe-auth-route .site-primary-footer-wrap,
body.vpe-auth-route .site-below-footer-wrap,
body.vpe-auth-route .site-info {
    display: none !important;
}

.vpe-auth-shell-pro {
    grid-template-columns: minmax(300px, 520px) minmax(360px, 560px);
    gap: clamp(28px, 5vw, 78px);
    place-items: center;
    justify-content: center;
    padding: clamp(28px, 6vw, 84px);
}

.vpe-auth-hero {
    width: 100%;
    max-width: 520px;
    color: #0d3154;
}

.vpe-auth-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.vpe-auth-brand-lockup .vpe-brand-logo,
.vpe-auth-brand-lockup .vpe-brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex: 0 0 64px;
}

.vpe-auth-brand-lockup .vpe-brand-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.vpe-auth-brand-lockup strong {
    display: block;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.vpe-auth-brand-lockup small {
    display: block;
    color: #52708a;
    font-weight: 800;
    margin-top: 4px;
}

.vpe-auth-badge {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(0, 104, 180, .10);
    color: #005da8;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 1px solid rgba(0, 104, 180, .14);
    margin-bottom: 18px;
}

.vpe-auth-hero h2 {
    margin: 0;
    color: #10263a;
    font-size: clamp(38px, 5vw, 68px);
    line-height: .96;
    letter-spacing: -.065em;
    max-width: 11ch;
}

.vpe-auth-hero p {
    margin: 22px 0 0;
    color: #45627c;
    font-size: 17px;
    line-height: 1.75;
    max-width: 52ch;
}

.vpe-auth-points {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vpe-auth-points span {
    padding: 10px 12px;
    border-radius: 14px;
    color: #0d4f82;
    font-weight: 900;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(0, 104, 180, .13);
    box-shadow: 0 12px 32px rgba(0, 104, 180, .08);
}

.vpe-auth-shell-pro .vpe-auth-content {
    width: min(560px, calc(100vw - 40px));
}

.vpe-login-card-pro {
    border-radius: 30px;
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid rgba(0, 93, 168, .16);
    box-shadow: 0 34px 90px rgba(0, 74, 128, .18);
}

.vpe-login-card-pro .vpe-auth-intro {
    max-width: 60ch;
    color: #4d6780;
    line-height: 1.65;
}

.vpe-login-form .vpe-field-wrap {
    margin: 0 0 16px;
}

.vpe-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 20px;
    color: #334d65;
    font-size: 14px;
    font-weight: 800;
}

.vpe-login-options a {
    color: #0069b4;
    text-decoration: none;
    font-weight: 900;
}

.vpe-auth-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 950;
    letter-spacing: .01em;
    background: linear-gradient(135deg, #005da8, #00a8e8);
    box-shadow: 0 18px 36px rgba(0, 93, 168, .24);
    cursor: pointer;
}

.vpe-auth-submit:hover,
.vpe-auth-submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(0, 93, 168, .30);
}

.vpe-auth-footnote {
    margin: 18px 0 0;
    text-align: center;
    color: #637b90;
    font-size: 13px;
    font-weight: 800;
}

.vpe-auth-message.is-error {
    background: #fff2f2;
    color: #8c1d1d;
    border: 1px solid #f2c2c2;
}

@media (max-width: 920px) {
    .vpe-auth-shell-pro {
        display: block;
        padding: 28px 18px;
    }
    .vpe-auth-hero {
        margin: 0 auto 24px;
        max-width: 560px;
    }
    .vpe-auth-hero h2 {
        max-width: none;
        font-size: clamp(34px, 9vw, 52px);
    }
    .vpe-auth-shell-pro .vpe-auth-content {
        margin: 0 auto;
    }
}


/* v0.4.5 - hardened standalone branded login screen */
body.vpe-auth-standalone,
body.vpe-auth-route {
    min-height: 100vh !important;
    margin: 0 !important;
    background:
        radial-gradient(circle at 8% 88%, rgba(255, 211, 68, .18), transparent 34%),
        radial-gradient(circle at 90% 8%, rgba(1, 158, 225, .22), transparent 38%),
        linear-gradient(135deg, #f7fbff 0%, #ecf9ff 42%, #d7f2ff 100%) !important;
}
body.vpe-auth-standalone .site,
body.vpe-auth-route .site,
body.vpe-auth-standalone .site-content,
body.vpe-auth-route .site-content,
body.vpe-auth-standalone .ast-container,
body.vpe-auth-route .ast-container,
body.vpe-auth-standalone #primary,
body.vpe-auth-route #primary,
body.vpe-auth-standalone .entry-content,
body.vpe-auth-route .entry-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.vpe-auth-standalone .vpe-auth-shell-pro,
body.vpe-auth-route .vpe-auth-shell-pro {
    min-height: 100vh !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(28px, 5vw, 72px) !important;
    display: grid !important;
    grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr) !important;
    gap: clamp(28px, 5vw, 80px) !important;
    align-items: center !important;
    box-sizing: border-box !important;
}
body.vpe-auth-standalone .vpe-auth-hero,
body.vpe-auth-route .vpe-auth-hero {
    position: relative !important;
    max-width: 640px !important;
    padding: clamp(24px, 4vw, 54px) !important;
    border-radius: 34px !important;
    background: linear-gradient(145deg, rgba(0, 91, 170, .96), rgba(0, 172, 226, .72)) !important;
    color: #ffffff !important;
    box-shadow: 0 34px 90px rgba(0, 84, 150, .28) !important;
    overflow: hidden !important;
}
body.vpe-auth-standalone .vpe-auth-hero:after,
body.vpe-auth-route .vpe-auth-hero:after {
    content: "";
    position: absolute;
    inset: auto -18% -28% 30%;
    height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,.34), transparent 62%);
    pointer-events: none;
}
body.vpe-auth-standalone .vpe-auth-brand-lockup,
body.vpe-auth-route .vpe-auth-brand-lockup {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 34px !important;
    position: relative !important;
    z-index: 2 !important;
}
body.vpe-auth-standalone .vpe-auth-brand-lockup strong,
body.vpe-auth-route .vpe-auth-brand-lockup strong,
body.vpe-auth-standalone .vpe-auth-brand-lockup small,
body.vpe-auth-route .vpe-auth-brand-lockup small {
    color: #ffffff !important;
}
body.vpe-auth-standalone .vpe-auth-hero h2,
body.vpe-auth-route .vpe-auth-hero h2 {
    color: #ffffff !important;
    font-size: clamp(42px, 5.2vw, 72px) !important;
    line-height: .94 !important;
    letter-spacing: -.06em !important;
    margin: 18px 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}
body.vpe-auth-standalone .vpe-auth-hero p,
body.vpe-auth-route .vpe-auth-hero p {
    color: rgba(255,255,255,.88) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    max-width: 54ch !important;
    position: relative !important;
    z-index: 2 !important;
}
body.vpe-auth-standalone .vpe-auth-content,
body.vpe-auth-route .vpe-auth-content {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
}
body.vpe-auth-standalone .vpe-login-card-pro,
body.vpe-auth-route .vpe-login-card-pro {
    width: 100% !important;
    padding: clamp(28px, 4vw, 54px) !important;
    border-radius: 30px !important;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 34px 90px rgba(0, 56, 111, .18) !important;
    border: 1px solid rgba(0, 119, 190, .18) !important;
}
body.vpe-auth-standalone .vpe-login-card-pro h1,
body.vpe-auth-route .vpe-login-card-pro h1 {
    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
    color: #0b2136 !important;
    margin: 8px 0 18px !important;
}
body.vpe-auth-standalone .vpe-field-wrap input,
body.vpe-auth-route .vpe-field-wrap input {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    border: 1px solid #cfe0ee !important;
    background: #f5faff !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
}
body.vpe-auth-standalone .vpe-auth-submit,
body.vpe-auth-route .vpe-auth-submit {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
}
@media (max-width: 920px) {
    body.vpe-auth-standalone .vpe-auth-shell-pro,
    body.vpe-auth-route .vpe-auth-shell-pro {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
    }
}

/* v0.4.6 - render portal pages outside the theme template and fill the viewport. */
body.vpe-standalone-portal,
body.vpe-standalone-portal.vacayos-portal-experience {
    margin: 0 !important;
    min-height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    background: var(--vpe-canvas) !important;
}

body.vpe-standalone-portal #wpadminbar {
    position: fixed;
}

body.vpe-standalone-portal .vpe-app,
body.vpe-standalone-portal .vacayos-app-shell {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    margin: 0 !important;
}

body.vpe-standalone-portal .vpe-topbar,
body.vpe-standalone-portal .vpe-layout {
    width: 100vw !important;
    max-width: 100vw !important;
}

body.vpe-standalone-portal .vpe-layout {
    display: grid !important;
    grid-template-columns: var(--vpe-sidebar-width) minmax(0, 1fr) !important;
}

body.vpe-standalone-portal .vpe-sidebar {
    width: var(--vpe-sidebar-width) !important;
    min-width: var(--vpe-sidebar-width) !important;
    max-width: var(--vpe-sidebar-width) !important;
}

body.vpe-standalone-portal .vpe-main,
body.vpe-standalone-portal .vacayos-main {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-right: clamp(28px, 3vw, 64px) !important;
    padding-left: clamp(28px, 3vw, 64px) !important;
}

body.vpe-standalone-portal .vpe-page-heading,
body.vpe-standalone-portal .vpe-page-content,
body.vpe-standalone-portal .vacayos-content,
body.vpe-standalone-portal .vpe-dashboard,
body.vpe-standalone-portal .vpe-native-page,
body.vpe-standalone-portal .vpe-native-portal,
body.vpe-standalone-portal .vpe-module-view,
body.vpe-standalone-portal .vpe-event-page,
body.vpe-standalone-portal .vpe-catalog-page,
body.vpe-standalone-portal .vpe-events-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.vpe-standalone-portal .vpe-native-stat-grid,
body.vpe-standalone-portal .vpe-native-action-grid,
body.vpe-standalone-portal .vpe-action-grid,
body.vpe-standalone-portal .vpe-metric-grid,
body.vpe-standalone-portal .vpe-event-collection,
body.vpe-standalone-portal .vpe-catalog-grid {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 960px) {
    body.vpe-standalone-portal .vpe-app,
    body.vpe-standalone-portal .vacayos-app-shell,
    body.vpe-standalone-portal .vpe-topbar,
    body.vpe-standalone-portal .vpe-layout,
    body.vpe-standalone-portal .vpe-main,
    body.vpe-standalone-portal .vacayos-main {
        width: 100% !important;
        max-width: 100% !important;
    }
    body.vpe-standalone-portal .vpe-layout {
        display: block !important;
    }
}

/* =========================================================
   v0.4.7 Premium Vacay Portal visual polish + access request
   ========================================================= */
:root {
    --vpe-radius-sm: 12px;
    --vpe-radius: 18px;
    --vpe-radius-lg: 28px;
    --vpe-canvas: #eef7fc;
    --vpe-surface: #ffffff;
    --vpe-line: #d1e2ee;
    --vpe-shadow-sm: 0 12px 30px rgba(15, 60, 95, .075);
    --vpe-shadow-md: 0 22px 58px rgba(15, 60, 95, .12);
}

body.vpe-standalone-portal .vpe-app {
    background:
        radial-gradient(circle at 94% 8%, rgba(0, 169, 232, .18), transparent 34%),
        radial-gradient(circle at 12% 85%, rgba(255, 216, 90, .13), transparent 34%),
        linear-gradient(135deg, #f8fcff 0%, #eef8ff 44%, #e8f5fb 100%) !important;
}

body.vpe-standalone-portal .vpe-topbar {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.88) !important;
    border-bottom-color: rgba(177, 209, 231, .75) !important;
    box-shadow: 0 12px 36px rgba(15, 60, 95, .055);
}

body.vpe-standalone-portal .vpe-sidebar {
    background: rgba(255,255,255,.84) !important;
    backdrop-filter: blur(16px);
    border-right-color: rgba(177, 209, 231, .75) !important;
    box-shadow: 10px 0 34px rgba(15, 60, 95, .045);
}

body.vpe-standalone-portal .vpe-brand-mark,
body.vpe-standalone-portal .vpe-native-hero-icon,
body.vpe-standalone-portal .vpe-hero-stat > .dashicons {
    background: linear-gradient(135deg, #005da8 0%, #00a8e8 100%) !important;
    box-shadow: 0 14px 28px rgba(0, 93, 168, .20);
}

body.vpe-standalone-portal .vpe-nav-link {
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #355064;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

body.vpe-standalone-portal .vpe-nav-link:hover,
body.vpe-standalone-portal .vpe-nav-link:focus-visible {
    background: #f2f9ff;
    border-color: #d7ebf8;
    color: #005da8;
    transform: translateX(2px);
}

body.vpe-standalone-portal .vpe-nav-link.is-active {
    background: linear-gradient(135deg, #eaf7ff 0%, #d9efff 100%);
    border-color: #bde1f7;
    color: #005da8;
    box-shadow: 0 10px 24px rgba(0, 93, 168, .08);
}

body.vpe-standalone-portal .vpe-page-heading h1 {
    letter-spacing: -.035em;
    font-size: clamp(30px, 2.6vw, 44px);
}

body.vpe-standalone-portal .vpe-page-content {
    animation: vpeFadeUp .28s ease both;
}

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

body.vpe-standalone-portal .vpe-welcome,
body.vpe-standalone-portal .vpe-page-hero,
body.vpe-standalone-portal .vpe-native-hero,
body.vpe-standalone-portal .vpe-pro-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(152, 205, 238, .75) !important;
    border-radius: var(--vpe-radius-lg) !important;
    background:
        radial-gradient(circle at 95% 20%, rgba(0,168,232,.18), transparent 25%),
        linear-gradient(120deg, #ffffff 0%, #eef8ff 58%, #e9fbf8 100%) !important;
    box-shadow: var(--vpe-shadow-md) !important;
}

body.vpe-standalone-portal .vpe-welcome:before,
body.vpe-standalone-portal .vpe-page-hero:before,
body.vpe-standalone-portal .vpe-native-hero:before,
body.vpe-standalone-portal .vpe-pro-hero:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #005da8, #00a8e8);
}

body.vpe-standalone-portal :where(.vpe-metric-card,.vpe-action-card,.vpe-native-stat,.vpe-native-action,.vpe-event-card,.vpe-catalog-card,.vpe-native-module,.vpe-empty-state,.vpe-filter-bar,.vpe-table-wrap,.vpe-list,.vpe-check-list,.vpe-alert-list) {
    border-radius: var(--vpe-radius) !important;
    border-color: rgba(187, 213, 230, .95) !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: var(--vpe-shadow-sm) !important;
}

body.vpe-standalone-portal :where(.vpe-metric-card,.vpe-action-card,.vpe-native-stat,.vpe-native-action,.vpe-event-card,.vpe-catalog-card):hover {
    border-color: #93c9e9 !important;
    box-shadow: 0 24px 52px rgba(15, 60, 95, .14) !important;
    transform: translateY(-3px);
}

body.vpe-standalone-portal :where(.vpe-metric-icon,.vpe-action-icon,.vpe-native-stat-icon,.vpe-native-action-icon) {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #e9f7ff, #dff3ff) !important;
    color: #0069b4 !important;
}

body.vpe-standalone-portal .vpe-button,
body.vpe-standalone-portal .vpe-native-button,
body.vpe-standalone-portal .vpe-page-content a.vpe-button,
body.vpe-standalone-portal .vpe-page-content button.vpe-button {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #005da8, #00a8e8) !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(0, 93, 168, .18) !important;
}

/* Branded login/register refinements */
body.vpe-auth-standalone .vpe-auth-shell-pro,
body.vpe-auth-route .vpe-auth-shell-pro {
    min-height: 100vh !important;
    padding: clamp(22px, 4vw, 64px) !important;
    background:
        radial-gradient(circle at 10% 90%, rgba(255, 220, 92, .20), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(0, 168, 232, .30), transparent 38%),
        linear-gradient(135deg, #f8fcff 0%, #ecf9ff 45%, #d5f1ff 100%) !important;
}

body.vpe-auth-standalone .vpe-auth-hero,
body.vpe-auth-route .vpe-auth-hero {
    border-radius: 38px !important;
    background:
        radial-gradient(circle at 86% 90%, rgba(255,255,255,.34), transparent 34%),
        linear-gradient(145deg, #005da8 0%, #008bd2 55%, #31c6e8 100%) !important;
}

body.vpe-auth-standalone .vpe-auth-brand-lockup .vpe-brand-logo,
body.vpe-auth-route .vpe-auth-brand-lockup .vpe-brand-logo {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    flex: 0 0 auto !important;
    padding: 8px 10px;
    border-radius: 14px !important;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 28px rgba(0, 55, 105, .16);
}

body.vpe-auth-standalone .vpe-auth-brand-lockup .vpe-brand-logo-img,
body.vpe-auth-route .vpe-auth-brand-lockup .vpe-brand-logo-img {
    width: auto !important;
    max-width: 150px !important;
    height: 42px !important;
    object-fit: contain !important;
}

body.vpe-auth-standalone .vpe-login-card-pro,
body.vpe-auth-route .vpe-login-card-pro {
    border-radius: 36px !important;
    border: 1px solid rgba(141, 199, 234, .55) !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 34px 90px rgba(0, 71, 130, .19) !important;
}

.vpe-auth-secondary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e1eef7;
    color: #536d83;
    font-weight: 750;
    text-align: center;
}

.vpe-auth-secondary-action a {
    color: #0069b4;
    font-weight: 950;
    text-decoration: none;
}

.vpe-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vpe-register-form select,
.vpe-register-form textarea {
    width: 100%;
    border: 1px solid #cfe0ee;
    border-radius: 16px;
    background: #f5faff;
    color: #10263a;
    font-size: 15px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.vpe-register-form select {
    min-height: 54px;
}

.vpe-register-form textarea {
    resize: vertical;
}

body.vpe-register-route .vpe-auth-hero h2 {
    max-width: 12ch !important;
}

@media (max-width: 740px) {
    .vpe-register-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   v0.4.8 - register/auth polish, admin preview, profile center
   ========================================================= */
body.vpe-auth-standalone .vpe-auth-hero .vpe-auth-badge,
body.vpe-auth-route .vpe-auth-hero .vpe-auth-badge {
    color: rgba(255,255,255,.98) !important;
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.22) !important;
}
body.vpe-register-route .vpe-auth-shell-pro {
    grid-template-columns: minmax(320px, .82fr) minmax(430px, 1.18fr) !important;
    align-items: center !important;
}
body.vpe-register-route .vpe-auth-content {
    max-width: 760px !important;
}
body.vpe-register-route .vpe-login-card-pro,
body.vpe-register-route .vpe-register-card {
    width: 100% !important;
    max-width: 760px !important;
}
body.vpe-register-route .vpe-auth-hero h2 {
    max-width: 12ch !important;
}
body.vpe-auth-standalone .vpe-auth-card label,
body.vpe-auth-route .vpe-auth-card label {
    display: block !important;
    margin-bottom: 7px !important;
    color: #243d55 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}
body.vpe-auth-standalone .vpe-register-form .vpe-field-wrap,
body.vpe-auth-route .vpe-register-form .vpe-field-wrap,
body.vpe-auth-standalone .vpe-login-form .vpe-field-wrap,
body.vpe-auth-route .vpe-login-form .vpe-field-wrap {
    margin: 0 0 16px !important;
}
body.vpe-auth-standalone .vpe-register-form input,
body.vpe-auth-route .vpe-register-form input,
body.vpe-auth-standalone .vpe-register-form select,
body.vpe-auth-route .vpe-register-form select,
body.vpe-auth-standalone .vpe-register-form textarea,
body.vpe-auth-route .vpe-register-form textarea {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 16px !important;
    border: 1px solid #cfe0ee !important;
    background: #f5faff !important;
    color: #10263a !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
}
body.vpe-auth-standalone .vpe-register-form textarea,
body.vpe-auth-route .vpe-register-form textarea {
    min-height: 110px !important;
}
.vpe-admin-preview-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -10px 0 22px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 93, 168, .14);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 24px rgba(15, 60, 95, .05);
    color: #426177;
    font-size: 12px;
}
.vpe-admin-preview-switcher strong { color: #16334b; }
.vpe-admin-preview-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef8ff;
    color: #0069b4;
    font-weight: 900;
    text-decoration: none;
}
.vpe-admin-preview-switcher a.is-active {
    background: linear-gradient(135deg, #005da8, #00a8e8);
    color: #fff;
}
.vpe-profile-center {
    display: grid;
    gap: 22px;
}
.vpe-profile-card {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(187, 213, 230, .95);
    border-radius: var(--vpe-radius-lg, 22px);
    background: rgba(255,255,255,.92);
    box-shadow: var(--vpe-shadow-sm);
}
.vpe-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.vpe-profile-grid .is-wide { grid-column: 1 / -1; }
.vpe-profile-form .vpe-field-wrap { margin: 0; }
.vpe-profile-form label {
    display: block;
    margin-bottom: 7px;
    color: #243d55;
    font-size: 12px;
    font-weight: 900;
}
.vpe-profile-form input,
.vpe-profile-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfe0ee;
    border-radius: 14px;
    background: #f8fbff;
    color: #10263a;
    padding: 10px 13px;
    box-sizing: border-box;
}
.vpe-profile-form textarea { min-height: 110px; resize: vertical; }
.vpe-profile-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff8e7;
    color: #77530a;
    font-size: 12px;
    font-weight: 750;
}
.vpe-profile-submit {
    max-width: 280px;
}
@media (max-width: 920px) {
    body.vpe-register-route .vpe-auth-shell-pro { grid-template-columns: 1fr !important; }
    .vpe-profile-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   VacayOS Portal UI Pro v0.5.0
   Premium command-center design pass inspired by Vacay Suite Core.
   ========================================================= */

:root {
    --vpe-navy-950: #062548;
    --vpe-navy-900: #07325f;
    --vpe-navy-800: #084a83;
    --vpe-blue-700: #006bb6;
    --vpe-blue-600: #078ad7;
    --vpe-cyan-500: #12b9eb;
    --vpe-sky-100: #e8f7ff;
    --vpe-cream-100: #fff8da;
    --vpe-ink-900: #081b33;
    --vpe-ink-700: #2a4258;
    --vpe-ink-500: #5d7184;
    --vpe-line: rgba(7, 74, 131, 0.16);
    --vpe-shadow-soft: 0 18px 45px rgba(6, 37, 72, 0.10);
    --vpe-shadow-card: 0 12px 28px rgba(6, 37, 72, 0.08);
    --vpe-radius-xl: 28px;
    --vpe-radius-lg: 20px;
    --vpe-radius-md: 14px;
}

body.vacayos-portal-experience,
body.vpe-standalone-portal,
body.vpe-auth-standalone {
    background:
        radial-gradient(circle at 4% 26%, rgba(255, 224, 86, .38), transparent 31%),
        radial-gradient(circle at 92% 14%, rgba(18, 185, 235, .34), transparent 30%),
        linear-gradient(115deg, #fffdf1 0%, #eefbff 43%, #bfeeff 100%) !important;
    color: var(--vpe-ink-900);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.vpe-standalone-portal,
body.vpe-auth-standalone {
    margin: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
}

body.vpe-standalone-portal #wpadminbar + .vpe-app,
body.admin-bar .vpe-app {
    min-height: calc(100vh - var(--vpe-adminbar-offset, 32px));
}

.vpe-app,
.vpe-app * {
    box-sizing: border-box;
}

.vpe-app {
    min-height: 100vh;
    width: 100vw !important;
    max-width: none !important;
    background:
        radial-gradient(circle at 98% 18%, rgba(18, 185, 235, .22), transparent 28%),
        linear-gradient(115deg, rgba(255, 253, 242, .94), rgba(233, 249, 255, .94) 44%, rgba(192, 237, 255, .92));
    color: var(--vpe-ink-900);
}

.vpe-layout {
    display: grid !important;
    grid-template-columns: var(--vpe-sidebar-width, 270px) minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: calc(100vh - 84px);
    align-items: stretch;
}

.vpe-topbar {
    position: sticky;
    top: var(--vpe-adminbar-offset, 0px);
    z-index: 60;
    display: grid;
    grid-template-columns: var(--vpe-sidebar-width, 270px) minmax(0, 1fr) auto;
    min-height: 84px;
    padding: 0 28px 0 0;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(7, 74, 131, .12);
    box-shadow: 0 8px 24px rgba(6, 37, 72, .05);
}

.vpe-topbar .vpe-brand {
    display: none !important;
}

.vpe-menu-toggle {
    display: none !important;
}

.vpe-topbar-title {
    align-self: center;
    padding-left: 28px;
}

.vpe-topbar-title small,
.vpe-eyebrow,
.vpe-command-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--vpe-blue-700) !important;
    font-size: 11px !important;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.vpe-topbar-title strong {
    display: block;
    color: var(--vpe-ink-900);
    font-size: 18px;
    line-height: 1.1;
}

.vpe-user {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--vpe-ink-900) !important;
    text-decoration: none !important;
    padding: 10px 14px;
    border: 1px solid rgba(7, 74, 131, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 8px 24px rgba(6, 37, 72, .07);
}

.vpe-user small {
    display: block;
    color: var(--vpe-ink-500);
    font-size: 11px;
}

.vpe-avatar {
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(18, 185, 235, .18);
}

.vpe-sidebar {
    position: sticky;
    top: calc(var(--vpe-adminbar-offset, 0px) + 84px);
    height: calc(100vh - var(--vpe-adminbar-offset, 0px) - 84px);
    overflow-y: auto;
    padding: 18px 16px 22px !important;
    background:
        radial-gradient(circle at 95% 2%, rgba(18,185,235,.27), transparent 23%),
        linear-gradient(180deg, #0a4f86 0%, #073d72 48%, #05274d 100%) !important;
    border-right: 1px solid rgba(255,255,255,.22) !important;
    color: #fff;
    box-shadow: 18px 0 40px rgba(6, 37, 72, .14);
}

.vpe-sidebar::-webkit-scrollbar {
    width: 8px;
}
.vpe-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.22);
    border-radius: 999px;
}

.vpe-sidebar-header {
    margin-bottom: 18px;
}

.vpe-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #fff !important;
    text-decoration: none !important;
}

.vpe-sidebar-brand .vpe-brand-logo,
.vpe-sidebar-brand .vpe-brand-mark {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(2, 16, 31, .23);
}

.vpe-sidebar-brand .vpe-brand-logo-img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.vpe-sidebar-brand .vpe-brand-mark {
    color: #fff;
    background: linear-gradient(135deg, var(--vpe-blue-700), var(--vpe-cyan-500));
    font-weight: 900;
    font-size: 28px;
}

.vpe-sidebar-brand strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1;
}

.vpe-sidebar-brand small {
    display: block;
    color: rgba(255,255,255,.74);
    font-size: 11px;
    margin-top: 3px;
}

.vpe-command-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 104% -2%, rgba(18,185,235,.50), transparent 32%),
        linear-gradient(145deg, rgba(7, 96, 164, .92), rgba(6, 49, 95, .94));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 36px rgba(2, 16, 31, .24);
}

.vpe-command-card h2 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: .98;
    letter-spacing: -.04em;
}

.vpe-command-card p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    line-height: 1.55;
}

.vpe-command-card .vpe-command-kicker {
    color: #ffe66b !important;
    margin-bottom: 8px;
}

.vpe-command-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}

.vpe-command-search input {
    min-width: 0;
    width: 100%;
    height: 42px;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    background: rgba(255,255,255,.96) !important;
    color: var(--vpe-ink-900) !important;
    font-size: 13px !important;
}

.vpe-command-search button {
    height: 42px;
    border: 0;
    border-radius: 12px;
    padding: 0 14px;
    background: #ffd21f;
    color: #08264c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
}

.vpe-command-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.vpe-command-chips a,
.vpe-sidebar-controls a {
    color: #fff !important;
    text-decoration: none !important;
}

.vpe-command-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.20);
    color: #fff !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.vpe-nav {
    margin-top: 18px;
}

.vpe-nav-label,
.vpe-sidebar-controls > span {
    display: block;
    margin: 20px 0 10px;
    color: rgba(255,255,255,.72) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vpe-nav-link {
    display: flex !important;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    padding: 10px 12px !important;
    margin-bottom: 5px;
    border-radius: 14px !important;
    color: rgba(255,255,255,.84) !important;
    text-decoration: none !important;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    transition: .18s ease;
}

.vpe-nav-link .dashicons {
    width: 22px;
    height: 22px;
    font-size: 19px;
    color: rgba(255,255,255,.82);
}

.vpe-nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,.13) !important;
    border-color: rgba(255,255,255,.16);
    transform: translateX(2px);
}

.vpe-nav-link.is-active {
    color: #08264c !important;
    background: linear-gradient(135deg, #ffffff, #dff7ff) !important;
    border-color: rgba(255,255,255,.85) !important;
    box-shadow: 0 12px 26px rgba(2, 16, 31, .20);
}

.vpe-nav-link.is-active .dashicons {
    color: var(--vpe-blue-700);
}

.vpe-nav-status {
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 8px;
    background: rgba(255, 210, 31, .20);
    color: #ffec8c;
    font-size: 10px;
    text-transform: uppercase;
}

.vpe-sidebar-utilities {
    margin-top: 18px;
}

.vpe-sidebar-alert-card {
    position: relative;
    padding: 16px 16px 16px 18px;
    border-radius: 18px;
    color: #fff;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255, 210, 31, .55);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.vpe-sidebar-alert-card .vpe-alert-count {
    position: absolute;
    top: -12px;
    right: -6px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffd21f;
    color: #08264c;
    font-weight: 900;
}

.vpe-sidebar-alert-card strong {
    color: #ffd21f;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 13px;
}

.vpe-sidebar-alert-card p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 12px;
    line-height: 1.5;
}

.vpe-sidebar-controls {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.vpe-sidebar-controls a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 13px;
    font-weight: 800;
}

.vpe-sidebar-controls a:hover {
    background: rgba(255,255,255,.17);
}

.vpe-main {
    position: relative;
    min-width: 0;
    padding: 30px clamp(22px, 3vw, 46px) 70px !important;
    width: 100% !important;
    max-width: none !important;
    background:
        radial-gradient(circle at 98% 0%, rgba(18, 185, 235, .17), transparent 30%),
        linear-gradient(180deg, rgba(245,252,255,.88), rgba(241,249,253,.72));
}

.vpe-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 0 0 24px !important;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(7, 74, 131, .10);
}

.vpe-page-heading h1 {
    margin: 0 !important;
    color: var(--vpe-ink-900);
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: .95;
    letter-spacing: -.045em;
}

.vpe-page-content {
    width: 100% !important;
    max-width: none !important;
}

.vpe-admin-preview-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(7, 74, 131, .16);
    border-radius: 18px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 8px 22px rgba(6, 37, 72, .05);
}

.vpe-admin-preview-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--vpe-ink-700) !important;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid rgba(7,74,131,.13);
    font-size: 12px;
    font-weight: 900;
}

.vpe-admin-preview-switcher a.is-active {
    background: linear-gradient(135deg, var(--vpe-blue-700), var(--vpe-cyan-500));
    color: #fff !important;
    border-color: transparent;
}

.vpe-welcome,
.vpe-native-hero,
.vpe-filter-bar,
.vpe-native-module,
.vpe-dashboard-section,
.vpe-auth-card,
.vpe-login-card-pro,
.vpe-register-card,
.vpe-empty-state,
.vpe-legacy-tool-panel,
.vpe-page-card,
.vpe-panel,
.vpe-section-card,
.vpe-list,
.vpe-profile-form,
.vpe-profile-panel {
    border: 1px solid rgba(7, 74, 131, .13) !important;
    border-radius: var(--vpe-radius-xl) !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: var(--vpe-shadow-soft) !important;
}

.vpe-welcome,
.vpe-native-hero {
    position: relative;
    overflow: hidden;
    min-height: 140px;
    padding: 28px 32px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(18,185,235,.22), transparent 26%),
        linear-gradient(135deg, rgba(255,255,255,.95), rgba(233,249,255,.88)) !important;
}

.vpe-welcome::before,
.vpe-native-hero::before,
.vpe-filter-bar::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--vpe-blue-700), var(--vpe-cyan-500));
}

.vpe-welcome h2,
.vpe-native-hero h2,
.vpe-dashboard-section h2,
.vpe-section-heading h2 {
    color: var(--vpe-ink-900) !important;
    letter-spacing: -.025em;
}

.vpe-welcome p,
.vpe-native-hero p,
.vpe-section-heading p,
.vpe-auth-intro,
.vpe-event-card p,
.vpe-catalog-card p {
    color: var(--vpe-ink-700) !important;
}

.vpe-dashboard-section {
    padding: 24px !important;
    margin-bottom: 26px !important;
}

.vpe-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px !important;
}

.vpe-section-heading h2 {
    margin: 0 !important;
    font-size: clamp(22px, 2vw, 30px) !important;
}

.vpe-metric-grid,
.vpe-action-grid,
.vpe-native-stat-grid,
.vpe-native-action-grid,
.vpe-events-grid,
.vpe-catalog-grid,
.vpe-dashboard-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 18px !important;
}

.vpe-metric-card,
.vpe-action-card,
.vpe-native-stat,
.vpe-native-action,
.vpe-event-card,
.vpe-catalog-card,
.vpe-calendar-month,
.vpe-calendar-row {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 20px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(7, 74, 131, .12) !important;
    background: linear-gradient(145deg, #fff, #f6fcff) !important;
    box-shadow: var(--vpe-shadow-card) !important;
    color: var(--vpe-ink-900) !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vpe-metric-card::before,
.vpe-action-card::before,
.vpe-native-stat::before,
.vpe-native-action::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--vpe-blue-700), var(--vpe-cyan-500));
    opacity: 0;
    transition: opacity .18s ease;
}

.vpe-metric-card:hover,
.vpe-action-card:hover,
.vpe-native-stat:hover,
.vpe-native-action:hover,
.vpe-event-card:hover,
.vpe-catalog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(6,37,72,.13) !important;
    border-color: rgba(7, 138, 215, .35) !important;
}

.vpe-metric-card:hover::before,
.vpe-action-card:hover::before,
.vpe-native-stat:hover::before,
.vpe-native-action:hover::before {
    opacity: 1;
}

.vpe-metric-icon,
.vpe-action-icon,
.vpe-native-stat-icon,
.vpe-native-action-icon,
.vpe-native-hero-icon {
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--vpe-blue-700), var(--vpe-cyan-500)) !important;
    box-shadow: 0 10px 22px rgba(7, 138, 215, .24);
    font-size: 23px !important;
}

.vpe-metric-copy small,
.vpe-native-stat small,
.vpe-action-card small,
.vpe-native-action small {
    color: var(--vpe-ink-500) !important;
    font-weight: 700;
}

.vpe-metric-copy strong,
.vpe-native-stat strong {
    display: block;
    color: var(--vpe-ink-900);
    font-size: 28px;
    line-height: 1;
    margin: 4px 0;
}

.vpe-card-arrow,
.vpe-metric-card > .dashicons:last-child,
.vpe-action-card > .dashicons:last-child,
.vpe-native-stat > .dashicons:last-child,
.vpe-native-action > .dashicons:last-child {
    margin-left: auto;
    color: var(--vpe-blue-700) !important;
    font-size: 24px;
}

.vpe-filter-bar {
    position: relative;
    padding: 18px !important;
    margin-bottom: 22px !important;
}

.vpe-filter-form {
    display: grid !important;
    grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(170px, .7fr)) auto !important;
    gap: 12px !important;
    align-items: end;
}

.vpe-filter-form label,
.vpe-field-wrap {
    display: grid;
    gap: 7px;
    margin: 0 !important;
}

.vpe-filter-form span,
.vpe-field-wrap label {
    color: var(--vpe-ink-700) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vpe-filter-form input,
.vpe-filter-form select,
.vpe-field-wrap input,
.vpe-field-wrap select,
.vpe-field-wrap textarea,
.vpe-auth-card input,
.vpe-auth-card select,
.vpe-auth-card textarea {
    width: 100%;
    min-height: 50px;
    border-radius: 14px !important;
    border: 1px solid rgba(7, 74, 131, .18) !important;
    background: #fff !important;
    color: var(--vpe-ink-900) !important;
    padding: 0 15px !important;
    box-shadow: inset 0 1px 0 rgba(6,37,72,.04) !important;
    font-size: 15px !important;
}

.vpe-field-wrap textarea {
    min-height: 110px;
    padding-top: 13px !important;
}

.vpe-button,
.vpe-auth-submit,
.vpe-button-primary,
.vpe-filter-form button {
    border: 0 !important;
    border-radius: 14px !important;
    min-height: 50px;
    padding: 0 22px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--vpe-blue-700), var(--vpe-cyan-500)) !important;
    box-shadow: 0 14px 30px rgba(7, 138, 215, .22) !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.vpe-button:hover,
.vpe-auth-submit:hover,
.vpe-filter-form button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.vpe-empty-state {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 32px !important;
    text-align: center;
    border-style: dashed !important;
}

.vpe-empty-state .dashicons {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--vpe-blue-700), var(--vpe-cyan-500));
    font-size: 30px;
}

.vpe-empty-state h2 {
    margin: 0 0 8px;
    color: var(--vpe-ink-900);
}

.vpe-event-card,
.vpe-catalog-card {
    align-items: stretch;
    min-height: 100%;
    padding: 0 !important;
    flex-direction: column;
}

.vpe-event-media,
.vpe-catalog-media {
    position: relative;
    min-height: 170px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dff7ff, #effcff);
    color: var(--vpe-blue-700);
}

.vpe-event-media .dashicons,
.vpe-catalog-media .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.vpe-event-body,
.vpe-catalog-body {
    padding: 20px;
}

.vpe-badge,
.vpe-auth-kicker,
.vpe-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--vpe-blue-700) !important;
    background: rgba(18, 185, 235, .13) !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Branded login and request-access experience */
.vpe-auth-shell {
    min-height: 100vh !important;
    width: 100vw !important;
    display: grid !important;
    grid-template-columns: minmax(340px, .95fr) minmax(380px, .85fr) !important;
    gap: clamp(32px, 6vw, 86px) !important;
    align-items: center !important;
    padding: clamp(34px, 6vw, 86px) clamp(26px, 7vw, 110px) !important;
    background:
        radial-gradient(circle at 90% 6%, rgba(18,185,235,.30), transparent 25%),
        radial-gradient(circle at 10% 60%, rgba(255,210,31,.22), transparent 32%),
        linear-gradient(115deg, #f9fdff, #e8f8ff 50%, #bceeff) !important;
}

.vpe-auth-hero {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(32px, 4vw, 54px) !important;
    border-radius: 38px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 100%, rgba(118,223,255,.45), transparent 32%),
        linear-gradient(155deg, #0069b4, #0696d5 58%, #65d9ef) !important;
    box-shadow: 0 30px 70px rgba(6,37,72,.18);
    overflow: hidden;
}

.vpe-auth-hero::before {
    content: '';
    position: absolute;
    inset: auto -18% -25% auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.vpe-auth-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: auto;
    position: relative;
    z-index: 1;
}

.vpe-auth-brand-lockup .vpe-brand-logo,
.vpe-auth-brand-lockup .vpe-brand-mark {
    width: 88px;
    min-width: 88px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    overflow: hidden;
}

.vpe-auth-brand-lockup .vpe-brand-logo-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.vpe-auth-brand-lockup strong,
.vpe-auth-brand-lockup small,
.vpe-auth-hero h2,
.vpe-auth-hero p {
    color: #fff !important;
}

.vpe-auth-hero h2 {
    position: relative;
    z-index: 1;
    margin: 34px 0 20px !important;
    max-width: 560px;
    font-size: clamp(48px, 6vw, 76px) !important;
    line-height: .92 !important;
    letter-spacing: -.065em;
}

.vpe-auth-hero p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    font-size: 18px;
    line-height: 1.65;
}

.vpe-auth-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.vpe-auth-points span {
    padding: 11px 16px;
    border-radius: 14px;
    color: #083256;
    background: rgba(255,255,255,.60);
    font-weight: 900;
}

.vpe-auth-content {
    display: grid;
    place-items: center;
}

.vpe-auth-card {
    width: min(100%, 560px);
    padding: clamp(30px, 4vw, 50px) !important;
    background: rgba(255,255,255,.92) !important;
    border-radius: 32px !important;
}

.vpe-register-card {
    width: min(100%, 760px) !important;
}

.vpe-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vpe-auth-card h1 {
    margin: 18px 0 14px !important;
    color: var(--vpe-ink-900);
    font-size: clamp(36px, 4vw, 54px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em;
}

.vpe-auth-message {
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin: 20px 0 !important;
    font-weight: 800;
}

.vpe-auth-message.is-success {
    color: #075a3b !important;
    background: #e7fff3 !important;
    border: 1px solid #a7ebc9 !important;
}

.vpe-auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 0 22px;
}

.vpe-auth-secondary-action {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(7,74,131,.12);
    text-align: center;
}

.vpe-auth-secondary-action span,
.vpe-auth-footnote {
    display: block;
    color: var(--vpe-ink-500) !important;
    font-size: 13px;
    font-weight: 800;
}

.vpe-auth-secondary-action a {
    display: inline-block;
    margin-top: 9px;
    color: var(--vpe-blue-700) !important;
    font-weight: 900;
    text-decoration: none !important;
}

/* Legacy module polish so functional old outputs feel less pasted-in. */
.vpe-page-content > .vacay-suite-wrap,
.vpe-page-content > .vacay-manager-portal,
.vpe-page-content > .vacay-agent-portal,
.vpe-page-content > .vacay-support-wrap,
.vpe-page-content > .vacay-events-wrap,
.vpe-page-content > .vacay-documents-wrap,
.vpe-page-content > .vacay-payments-wrap,
.vpe-page-content > .vacay-community-wrap {
    width: 100% !important;
    max-width: none !important;
    border-radius: var(--vpe-radius-xl) !important;
    overflow: hidden;
}

.vpe-page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--vpe-shadow-card);
}

.vpe-page-content th {
    background: #eef9ff;
    color: var(--vpe-ink-700);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .05em;
}

.vpe-page-content td,
.vpe-page-content th {
    border-bottom: 1px solid rgba(7,74,131,.10);
    padding: 14px;
}

@media (max-width: 1120px) {
    .vpe-topbar {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        padding-left: 12px;
    }
    .vpe-menu-toggle {
        display: inline-grid !important;
        align-self: center;
    }
    .vpe-layout {
        grid-template-columns: 1fr !important;
    }
    .vpe-sidebar {
        position: fixed;
        z-index: 80;
        top: var(--vpe-adminbar-offset, 0px);
        left: 0;
        height: calc(100vh - var(--vpe-adminbar-offset, 0px));
        width: min(88vw, 360px) !important;
        transform: translateX(-105%);
        transition: transform .2s ease;
    }
    body.vpe-menu-open .vpe-sidebar,
    .vpe-sidebar.is-open {
        transform: translateX(0);
    }
    .vpe-main {
        padding: 24px 18px 90px !important;
    }
    .vpe-topbar-title {
        padding-left: 0;
    }
}

@media (max-width: 860px) {
    .vpe-auth-shell {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
    }
    .vpe-auth-hero {
        min-height: auto;
        padding: 28px !important;
    }
    .vpe-auth-hero h2 {
        font-size: 42px !important;
    }
    .vpe-register-grid,
    .vpe-filter-form {
        grid-template-columns: 1fr !important;
    }
    .vpe-user span,
    .vpe-topbar-title small {
        display: none;
    }
    .vpe-page-heading {
        display: block;
    }
    .vpe-page-heading h1 {
        font-size: 32px !important;
    }
}


/* v0.5.1: user-selected quick actions */
.vpe-quick-customizer {
  position: relative;
  align-self: center;
  margin-left: auto;
  z-index: 20;
}
.vpe-quick-customizer > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 123, 191, .20);
  background: rgba(255,255,255,.92);
  color: #075b92;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 70, 120, .10);
}
.vpe-quick-customizer > summary::-webkit-details-marker { display: none; }
.vpe-quick-customizer[open] > summary { background: #0a84c6; color: #fff; }
.vpe-quick-form {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(560px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid rgba(0, 123, 191, .20);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 80px rgba(0, 38, 79, .20);
  color: #102235;
}
.vpe-quick-form p {
  margin: 0 0 14px;
  color: #51667d;
  font-weight: 650;
}
.vpe-quick-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 330px;
  overflow: auto;
  padding-right: 3px;
}
.vpe-quick-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 123, 191, .14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f6fbff);
  font-weight: 800;
  color: #17324c;
}
.vpe-quick-option input { width: 18px; height: 18px; accent-color: #079bd8; }
.vpe-quick-actions-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 123, 191, .14);
}
.vpe-button-primary,
.vpe-button-secondary {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
}
.vpe-button-primary {
  background: linear-gradient(135deg, #066fb5, #10b8dc);
  color: #fff;
  box-shadow: 0 12px 25px rgba(0, 123, 191, .20);
}
.vpe-button-secondary {
  background: #eef7ff;
  color: #075b92;
  border: 1px solid rgba(0, 123, 191, .18);
}
.vpe-section-heading:has(.vpe-quick-customizer) {
  gap: 16px;
}
@media (max-width: 780px) {
  .vpe-quick-customizer { width: 100%; margin-left: 0; }
  .vpe-quick-customizer > summary { width: 100%; justify-content: center; }
  .vpe-quick-form { left: 0; right: auto; width: 100%; }
  .vpe-quick-options { grid-template-columns: 1fr; }
}


/* =========================================================
   v0.5.2: left sidebar contrast / visibility fix
   Some theme and prior standalone styles could leave the sidebar
   light while command-center nav text remained white. This final
   override makes the command rail intentionally dark and readable.
   ========================================================= */
body.vacayos-portal-experience .vpe-sidebar,
body.vacayos-unified-frontend-portal .vpe-sidebar,
body.vacayos-portal-page .vpe-sidebar,
body.vpe-standalone-portal .vpe-sidebar {
    background:
        radial-gradient(circle at 96% 0%, rgba(28, 183, 235, .34), transparent 25%),
        linear-gradient(180deg, #0b5f99 0%, #084b86 38%, #06315f 72%, #041f3d 100%) !important;
    color: #ffffff !important;
    border-right: 1px solid rgba(255,255,255,.20) !important;
    box-shadow: 18px 0 44px rgba(4, 31, 61, .18) !important;
}

body.vacayos-portal-experience .vpe-sidebar *,
body.vacayos-unified-frontend-portal .vpe-sidebar *,
body.vacayos-portal-page .vpe-sidebar *,
body.vpe-standalone-portal .vpe-sidebar * {
    text-shadow: none;
}

body.vacayos-portal-experience .vpe-sidebar a,
body.vacayos-unified-frontend-portal .vpe-sidebar a,
body.vacayos-portal-page .vpe-sidebar a,
body.vpe-standalone-portal .vpe-sidebar a,
body.vacayos-portal-experience .vpe-sidebar strong,
body.vacayos-unified-frontend-portal .vpe-sidebar strong,
body.vacayos-portal-page .vpe-sidebar strong,
body.vpe-standalone-portal .vpe-sidebar strong {
    color: #ffffff !important;
}

body.vacayos-portal-experience .vpe-sidebar small,
body.vacayos-unified-frontend-portal .vpe-sidebar small,
body.vacayos-portal-page .vpe-sidebar small,
body.vpe-standalone-portal .vpe-sidebar small,
body.vacayos-portal-experience .vpe-nav-label,
body.vacayos-unified-frontend-portal .vpe-nav-label,
body.vacayos-portal-page .vpe-nav-label,
body.vpe-standalone-portal .vpe-nav-label,
body.vacayos-portal-experience .vpe-sidebar-controls > span,
body.vacayos-unified-frontend-portal .vpe-sidebar-controls > span,
body.vacayos-portal-page .vpe-sidebar-controls > span,
body.vpe-standalone-portal .vpe-sidebar-controls > span {
    color: rgba(255,255,255,.78) !important;
}

body.vacayos-portal-experience .vpe-nav-link,
body.vacayos-unified-frontend-portal .vpe-nav-link,
body.vacayos-portal-page .vpe-nav-link,
body.vpe-standalone-portal .vpe-nav-link {
    color: rgba(255,255,255,.88) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

body.vacayos-portal-experience .vpe-nav-link .dashicons,
body.vacayos-unified-frontend-portal .vpe-nav-link .dashicons,
body.vacayos-portal-page .vpe-nav-link .dashicons,
body.vpe-standalone-portal .vpe-nav-link .dashicons {
    color: rgba(255,255,255,.84) !important;
}

body.vacayos-portal-experience .vpe-nav-link:hover,
body.vacayos-unified-frontend-portal .vpe-nav-link:hover,
body.vacayos-portal-page .vpe-nav-link:hover,
body.vpe-standalone-portal .vpe-nav-link:hover,
body.vacayos-portal-experience .vpe-nav-link:focus-visible,
body.vacayos-unified-frontend-portal .vpe-nav-link:focus-visible,
body.vacayos-portal-page .vpe-nav-link:focus-visible,
body.vpe-standalone-portal .vpe-nav-link:focus-visible {
    color: #ffffff !important;
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.20) !important;
    transform: translateX(2px);
}

body.vacayos-portal-experience .vpe-nav-link.is-active,
body.vacayos-unified-frontend-portal .vpe-nav-link.is-active,
body.vacayos-portal-page .vpe-nav-link.is-active,
body.vpe-standalone-portal .vpe-nav-link.is-active {
    color: #062548 !important;
    background: linear-gradient(135deg, #ffffff 0%, #dff7ff 100%) !important;
    border-color: rgba(255,255,255,.88) !important;
    box-shadow: 0 14px 28px rgba(2, 16, 31, .22) !important;
}

body.vacayos-portal-experience .vpe-nav-link.is-active .dashicons,
body.vacayos-unified-frontend-portal .vpe-nav-link.is-active .dashicons,
body.vacayos-portal-page .vpe-nav-link.is-active .dashicons,
body.vpe-standalone-portal .vpe-nav-link.is-active .dashicons {
    color: #0677bd !important;
}

body.vacayos-portal-experience .vpe-nav-status,
body.vacayos-unified-frontend-portal .vpe-nav-status,
body.vacayos-portal-page .vpe-nav-status,
body.vpe-standalone-portal .vpe-nav-status {
    background: rgba(255, 210, 31, .18) !important;
    color: #ffec8c !important;
    border: 1px solid rgba(255, 210, 31, .28) !important;
}

body.vacayos-portal-experience .vpe-command-chips a,
body.vacayos-unified-frontend-portal .vpe-command-chips a,
body.vacayos-portal-page .vpe-command-chips a,
body.vpe-standalone-portal .vpe-command-chips a,
body.vacayos-portal-experience .vpe-sidebar-controls a,
body.vacayos-unified-frontend-portal .vpe-sidebar-controls a,
body.vacayos-portal-page .vpe-sidebar-controls a,
body.vpe-standalone-portal .vpe-sidebar-controls a {
    color: #ffffff !important;
    background: rgba(255,255,255,.13) !important;
    border-color: rgba(255,255,255,.20) !important;
}

body.vacayos-portal-experience .vpe-command-chips a:hover,
body.vacayos-unified-frontend-portal .vpe-command-chips a:hover,
body.vacayos-portal-page .vpe-command-chips a:hover,
body.vpe-standalone-portal .vpe-command-chips a:hover,
body.vacayos-portal-experience .vpe-sidebar-controls a:hover,
body.vacayos-unified-frontend-portal .vpe-sidebar-controls a:hover,
body.vacayos-portal-page .vpe-sidebar-controls a:hover,
body.vpe-standalone-portal .vpe-sidebar-controls a:hover {
    background: rgba(255,255,255,.20) !important;
}

body.vacayos-portal-experience .vpe-sidebar-alert-card,
body.vacayos-unified-frontend-portal .vpe-sidebar-alert-card,
body.vacayos-portal-page .vpe-sidebar-alert-card,
body.vpe-standalone-portal .vpe-sidebar-alert-card {
    color: #ffffff !important;
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255, 210, 31, .58) !important;
}

body.vacayos-portal-experience .vpe-sidebar-alert-card strong,
body.vacayos-unified-frontend-portal .vpe-sidebar-alert-card strong,
body.vacayos-portal-page .vpe-sidebar-alert-card strong,
body.vpe-standalone-portal .vpe-sidebar-alert-card strong {
    color: #ffd21f !important;
}

body.vacayos-portal-experience .vpe-sidebar-alert-card p,
body.vacayos-unified-frontend-portal .vpe-sidebar-alert-card p,
body.vacayos-portal-page .vpe-sidebar-alert-card p,
body.vpe-standalone-portal .vpe-sidebar-alert-card p {
    color: rgba(255,255,255,.86) !important;
}


/* v0.5.4 event media flow polish */
.vpe-event-media{
    background:linear-gradient(135deg,#045f9f 0%,#08aeea 100%);
    overflow:hidden;
}
.vpe-event-media > img.vpe-event-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.vpe-event-card.is-list .vpe-event-media > img.vpe-event-image{
    min-height:100%;
}
.vpe-event-media > .dashicons-palmtree{
    color:#ffffff!important;
    font-size:52px!important;
    width:52px!important;
    height:52px!important;
    opacity:.88;
}

/* v0.5.6 Event detail portal shell */
body.vpe-event-detail-route {
  overflow-x: hidden;
}
.vpe-event-detail-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid rgba(0, 128, 202, .20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 180, 225, .18), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(232,248,255,.92));
  box-shadow: 0 18px 45px rgba(2, 32, 71, .08);
}
.vpe-event-detail-toolbar h2 {
  margin: 4px 0 6px;
  color: #06172d;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.vpe-event-detail-toolbar p {
  max-width: 880px;
  margin: 0;
  color: #496177;
  font-size: 14px;
  line-height: 1.55;
}
.vpe-event-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.vpe-event-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 118, 190, .20);
  background: #fff;
  color: #075b95;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 83, 143, .08);
}
.vpe-event-action:hover,
.vpe-event-action:focus {
  transform: translateY(-1px);
  color: #003f6b;
  border-color: rgba(0, 142, 204, .36);
}
.vpe-event-action.is-primary {
  background: linear-gradient(135deg, #0073c8, #05aee8);
  color: #fff;
  border-color: transparent;
}
.vpe-event-detail-embed {
  width: 100%;
  max-width: none;
}
.vpe-event-operations {
  width: 100%;
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid rgba(0, 128, 202, .16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(2, 32, 71, .07);
}

/* The Vacay Events sales renderer normally offsets itself for a public theme header.
 * Inside the portal shell that offset would overlap the event toolbar. */
.vpe-event-detail-embed .ve53 {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.vpe-event-detail-embed,
.vpe-event-detail-embed > * {
  min-width: 0;
  max-width: 100%;
}

.vpe-native-event-detail {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.vpe-event-workspace-hero {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7, 50, 85, .12);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(6, 44, 75, .1);
}

.vpe-event-workspace-media {
  position: relative;
  min-height: 300px;
  background: #e9f5fc;
  display: grid;
  place-items: center;
  color: #0875bd;
}

.vpe-event-workspace-media > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.vpe-event-workspace-media > .dashicons {
  width: 64px;
  height: 64px;
  font-size: 64px;
}

.vpe-event-workspace-media > .vpe-status {
  position: absolute;
  top: 16px;
  left: 16px;
}

.vpe-event-workspace-summary {
  padding: 28px;
  align-self: center;
  min-width: 0;
}

.vpe-event-workspace-summary h2 {
  margin: 6px 0 22px;
  color: #07365a;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.vpe-event-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vpe-event-hero-fact {
  min-width: 0;
  padding: 12px 14px;
  background: #f4f9fc;
  border: 1px solid rgba(7, 50, 85, .09);
  border-radius: 7px;
}

.vpe-event-hero-fact small,
.vpe-event-hero-fact strong {
  display: block;
}

.vpe-event-hero-fact small {
  color: #597186;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.vpe-event-hero-fact strong {
  margin-top: 4px;
  color: #102d43;
  overflow-wrap: anywhere;
}

.vpe-event-ops-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.vpe-event-workspace-actions {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(7, 50, 85, .11);
  border-radius: 8px;
}

.vpe-event-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.vpe-event-action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 14px;
  color: #07365a;
  background: #f4f9fc;
  border: 1px solid rgba(7, 50, 85, .1);
  border-radius: 7px;
  text-decoration: none;
}

.vpe-event-action-card:hover,
.vpe-event-action-card:focus-visible {
  color: #005f9f;
  background: #eaf6fd;
  border-color: rgba(0, 112, 184, .3);
}

.vpe-event-client-preview {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7, 50, 85, .11);
  border-radius: 8px;
}

.vpe-event-client-preview > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.vpe-event-client-preview > summary::-webkit-details-marker {
  display: none;
}

.vpe-event-client-preview > summary strong,
.vpe-event-client-preview > summary small {
  display: block;
}

.vpe-event-client-preview > summary small {
  margin-top: 3px;
  color: #617789;
}

.vpe-event-client-preview-body {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 22px;
  padding: 0 20px 20px;
  align-items: center;
}

.vpe-event-client-preview-body img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 7px;
}

@media (max-width: 860px) {
  .vpe-event-workspace-hero,
  .vpe-event-client-preview-body {
    grid-template-columns: 1fr;
  }

  .vpe-event-workspace-media,
  .vpe-event-workspace-media > img {
    min-height: 230px;
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .vpe-event-workspace-summary {
    padding: 20px;
  }

  .vpe-event-hero-facts {
    grid-template-columns: 1fr;
  }
}
.vpe-event-operations .vpe-section-heading {
  margin-bottom: 15px;
}
.vpe-event-ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.vpe-event-ops-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid #d7e6f1;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f4faff);
  color: #071827;
  text-decoration: none !important;
}
.vpe-event-ops-card:hover,
.vpe-event-ops-card:focus-visible {
  border-color: #81bce1;
  box-shadow: 0 12px 28px rgba(0, 104, 174, .10);
}
.vpe-event-ops-card > .dashicons:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #e5f5ff;
  color: #0574b9;
  font-size: 21px;
}
.vpe-event-ops-card small,
.vpe-event-ops-card strong,
.vpe-event-ops-card em {
  display: block;
  min-width: 0;
}
.vpe-event-ops-card small {
  color: #547084;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.vpe-event-ops-card strong {
  margin-top: 3px;
  color: #071827;
  font-size: 17px;
  line-height: 1.2;
}
.vpe-event-ops-card em {
  margin-top: 4px;
  color: #617486;
  font-size: 11px;
  font-style: normal;
}
.vpe-event-detail-route .vpe-event-detail-embed .ve1579-back-calendar-wrap {
  display: none !important;
}
.vpe-event-detail-route .vpe-event-detail-embed .ve53,
.vpe-event-detail-route .vpe-event-detail-embed .ve51 {
  max-width: none !important;
}
.vpe-event-detail-route .vpe-event-detail-embed .ve51-shell,
.vpe-event-detail-route .vpe-event-detail-embed .ve53-wide,
.vpe-event-detail-route .vpe-event-detail-embed .ve53-topgrid {
  width: 100%;
}
@media (max-width: 980px) {
  .vpe-event-detail-toolbar {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .vpe-event-toolbar-actions {
    justify-content: flex-start;
  }
  .vpe-event-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .vpe-event-operations {
    padding: 15px;
  }
  .vpe-event-ops-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
