:root {
        --nexdirectory-page-side-padding: clamp(10px, 2.2vw, 28px);
        --nexdirectory-page-side-padding-mobile: 12px;
    }
    .nexdirectory-account-dashboard .pb-safe { padding-bottom: env(safe-area-inset-bottom); }
    .nexdirectory-account-dashboard {
        --nexdirectory-account-radius: 14px;
        --nexdirectory-account-radius-sm: 10px;
        --nexdirectory-account-border: #e5eaf1;
        --nexdirectory-account-text: #0f172a;
        --nexdirectory-account-muted: #64748b;
        font-family: var(--nexdirectory-font);
        font-size: 16px;
        color: var(--nexdirectory-account-text);
        background:
            radial-gradient(circle at top left, color-mix(in srgb, var(--nexdirectory-primary) 10%, transparent), transparent 34%),
            linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    }
    .nexdirectory-account-dashboard,
    .nexdirectory-account-dashboard * {
        letter-spacing: 0;
    }
    .nexdirectory-account-dashboard :is(h1, h2, h3, h4, h5, h6) {
        font-family: var(--nexdirectory-font);
        color: var(--nexdirectory-account-text);
        letter-spacing: 0;
        line-height: 1.2;
    }
    .nexdirectory-account-dashboard :is(p, label, input, textarea, select, button, a, span) {
        font-family: var(--nexdirectory-font);
    }
    .nexdirectory-account-dashboard .rounded-2xl {
        border-radius: var(--nexdirectory-account-radius) !important;
    }
    .nexdirectory-account-dashboard .rounded-xl,
    .nexdirectory-account-dashboard .rounded-lg {
        border-radius: var(--nexdirectory-account-radius-sm) !important;
    }
    .nexdirectory-account-dashboard :is(.shadow-sm, .shadow, .shadow-lg) {
        box-shadow: var(--nexdirectory-shadow-sm) !important;
    }
    .nexdirectory-account-dashboard :is(input[type="text"], input[type="email"], input[type="url"], input[type="number"], input[type="date"], input[type="datetime-local"], textarea, select) {
        border-color: var(--nexdirectory-account-border) !important;
        border-radius: var(--nexdirectory-account-radius-sm) !important;
        color: #111827;
        font-size: 0.92rem;
        line-height: 1.45;
        box-shadow: none !important;
    }
    .nexdirectory-account-dashboard :is(input, textarea, select):focus {
        border-color: var(--nexdirectory-primary) !important;
        box-shadow: 0 0 0 3px rgba(var(--nexdirectory-primary-rgb), 0.12) !important;
        outline: none;
    }
    .nexdirectory-account-dashboard :is(.text-gray-500, .text-gray-600, .text-slate-500, .text-slate-600) {
        color: var(--nexdirectory-account-muted) !important;
    }
    .nexdirectory-account-dashboard {
        --nexdirectory-workspace-gap: clamp(1.25rem, 1.9vw, 2rem);
        --nexdirectory-workspace-card-gap: clamp(1rem, 1.45vw, 1.5rem);
        --nexdirectory-workspace-main-pad-x: clamp(1.25rem, 2.4vw, 2.75rem);
        --nexdirectory-workspace-main-pad-y: clamp(1.25rem, 2vw, 2.5rem);
    }
    .nexdirectory-workspace-main {
        padding: var(--nexdirectory-workspace-main-pad-y) var(--nexdirectory-workspace-main-pad-x) calc(var(--nexdirectory-workspace-main-pad-y) + 4rem) !important;
    }
    .nexdirectory-workspace-main > section {
        max-width: min(100%, 1280px);
        width: 100%;
        margin-inline: auto;
        padding-inline: clamp(0rem, 0.75vw, 0.75rem);
    }
    .nexdirectory-account-view {
        display: flex;
        flex-direction: column;
        gap: var(--nexdirectory-workspace-gap);
    }
    .nexdirectory-account-view > [class*="mb-"] {
        margin-bottom: 0 !important;
    }
    .nexdirectory-account-view--analytics > .grid {
        gap: var(--nexdirectory-workspace-card-gap) !important;
    }
    .nexdirectory-account-view--analytics article.bg-white,
    .nexdirectory-account-view--analytics .bg-white.rounded-2xl,
    .nexdirectory-account-view--listings .nexdirectory-dashboard-listing-card,
    .nexdirectory-account-view--submit form > .bg-white.rounded-2xl,
    .nexdirectory-account-view--inbox .bg-white.rounded-2xl,
    .nexdirectory-account-view--saved .bg-white.rounded-2xl {
        border-color: #e5eaf1 !important;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
    }
    .nexdirectory-account-view--submit form {
        display: flex;
        flex-direction: column;
        gap: var(--nexdirectory-workspace-gap);
    }
    .nexdirectory-account-view--submit form > .bg-white.rounded-2xl > :first-child {
        padding: clamp(1rem, 1.35vw, 1.25rem) clamp(1.25rem, 2vw, 1.75rem) !important;
    }
    .nexdirectory-account-view--submit form > .bg-white.rounded-2xl > :last-child {
        padding: clamp(1.25rem, 2vw, 1.75rem) !important;
    }
    .nexdirectory-account-view--submit .wp-editor-wrap {
        border-radius: var(--nexdirectory-account-radius-sm);
        overflow: hidden;
        background: #ffffff;
    }
    .nexdirectory-account-view--submit .wp-editor-container {
        border: 0 !important;
    }
    .nexdirectory-account-view--submit :is(.mce-toolbar-grp, .quicktags-toolbar) {
        padding: 0.65rem 0.75rem !important;
        border-bottom: 1px solid #e5eaf1 !important;
        background: #f8fafc !important;
    }
    .nexdirectory-account-view--submit :is(.mce-toolbar .mce-btn button, .quicktags-toolbar input) {
        min-height: 2rem;
        margin: 0.125rem !important;
        border-radius: 0.5rem !important;
    }
    .nexdirectory-account-view--submit .mce-statusbar {
        border-top-color: #e5eaf1 !important;
    }
    .nexdirectory-account-plan-notice {
        border: 1px solid #fed7aa;
        border-radius: var(--nexdirectory-account-radius);
        background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
        box-shadow: 0 10px 26px rgba(249, 115, 22, 0.12);
        padding: 0.875rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    .nexdirectory-account-plan-notice--pro {
        border-color: #bbf7d0;
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        box-shadow: 0 10px 26px rgba(22, 163, 74, 0.1);
    }
    .nexdirectory-account-plan-notice strong {
        display: block;
        color: #9a3412;
        font-size: 0.95rem;
        line-height: 1.25;
    }
    .nexdirectory-account-plan-notice--pro strong {
        color: #166534;
    }
    .nexdirectory-account-plan-notice p {
        margin: 0.25rem 0 0;
        color: #7c2d12;
        font-size: 0.82rem;
        line-height: 1.45;
    }
    .nexdirectory-account-plan-notice--pro p {
        color: #166534;
    }
    .nexdirectory-account-plan-actions {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .nexdirectory-account-plan-badge {
        min-height: 2rem;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.625rem;
        border-radius: 999px;
        border: 1px solid #fdba74;
        background: rgba(255, 255, 255, 0.7);
        color: #9a3412;
        font-size: 0.72rem;
        font-weight: 800;
    }
    .nexdirectory-account-plan-notice--pro .nexdirectory-account-plan-badge {
        border-color: #86efac;
        color: #166534;
    }
    .nexdirectory-account-plan-badge span {
        width: 1rem;
        height: 1rem;
        border-radius: 999px;
        border: 1px solid currentColor;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.625rem;
        line-height: 1;
    }
    .nexdirectory-account-dashboard aside {
        box-shadow: 1px 0 0 rgba(15, 23, 42, 0.03), 18px 0 40px rgba(15, 23, 42, 0.035);
    }
    .nexdirectory-dashboard-listing-card {
        border-color: #e5eaf1 !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045) !important;
        transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease !important;
    }
    .nexdirectory-dashboard-listing-card:hover {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--nexdirectory-primary) 38%, #dbe3ef) !important;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09) !important;
    }
    .nexdirectory-dashboard-listing-card.is-removing {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
        pointer-events: none;
    }
    .nexdirectory-dashboard-listing-actions {
        min-width: min(100%, 520px);
    }
    .nexdirectory-dashboard-action-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .nexdirectory-dashboard-action-group .nexdirectory-account-action-btn {
        width: 100% !important;
    }
    .nexdirectory-dashboard-delete-form {
        margin: 0;
    }
    .nexdirectory-account-action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.5rem;
        padding: 0.5rem 0.875rem;
        border-radius: var(--nexdirectory-account-radius-sm);
        border: 1px solid #dbe3ef;
        background: #ffffff;
        color: #334155;
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.15;
        white-space: nowrap;
        text-transform: none;
        letter-spacing: 0;
        box-shadow: var(--nexdirectory-shadow-xs);
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    }
    .nexdirectory-account-action-btn:hover {
        background: #ffffff;
        border-color: color-mix(in srgb, var(--nexdirectory-primary) 38%, #cbd5e1);
        color: #0f172a;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }
    .nexdirectory-account-action-btn-danger {
        background: #fff5f5;
        border-color: #fecaca;
        color: #b91c1c;
        box-shadow: none;
    }
    .nexdirectory-account-action-btn-danger:hover {
        background: #dc2626;
        border-color: #dc2626;
        color: #ffffff;
    }
    .nexdirectory-account-dashboard .nexdirectory-force-accent-action,
    .nexdirectory-account-dashboard .nexdirectory-force-accent-action:hover,
    .nexdirectory-account-dashboard .nexdirectory-force-accent-action:focus,
    .nexdirectory-account-dashboard :is(button, a).bg-brand-600,
    .nexdirectory-account-dashboard :is(button, a).bg-brand-500 {
        min-height: 2.625rem;
        border-radius: var(--nexdirectory-account-radius-sm) !important;
        font-size: 0.88rem;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        box-shadow: var(--nexdirectory-shadow-sm);
    }
    .nexdirectory-account-delete-btn::before {
        content: "";
        width: 0.82rem;
        height: 0.82rem;
        margin-right: 0.4rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    @media (max-width: 900px) {
        .nexdirectory-dashboard-listing-actions {
            min-width: 0;
            width: 100%;
        }
    }
    @media (max-width: 640px) {
        .nexdirectory-dashboard-action-group {
            grid-template-columns: 1fr;
        }
    }
