body {
    text-rendering: optimizeLegibility;
}

[hidden] {
    display: none !important;
}

.js-enabled .dashboard-tab-panel:not(.is-visible) {
    display: none !important;
}

* {
    scrollbar-color: rgba(34, 211, 238, .55) rgba(15, 23, 42, .8);
}

.vlace-dashboard-theme {
    --vlace-ink: #172554;
    --vlace-muted: #36537c;
    --vlace-primary: #4f46e5;
    --vlace-secondary: #2563eb;
    --vlace-cyan: #38bdf8;
    --vlace-violet: #8b5cf6;
    --vlace-workspace: #A0B1DE;
    --vlace-soft: #EEF4FF;
    --vlace-panel: rgba(255, 255, 255, .92);
    --vlace-line: #c8ddf7;
    background: var(--vlace-workspace) !important;
    color: var(--vlace-ink) !important;
    font-size: 15px;
    font-weight: 800;
    scrollbar-color: #4f46e5 #dbeafe;
}

.vlace-dashboard-theme > .fixed {
    opacity: .42;
}

.vlace-dashboard-theme > .fixed > div:first-child {
    background:
        radial-gradient(circle at 0% 100%, rgba(20, 211, 213, .68) 0%, rgba(20, 211, 213, .24) 24%, transparent 46%),
        linear-gradient(35deg, #92c8fb 0%, #a8bef6 48%, #d7b5ef 100%) !important;
}

.vlace-dashboard-theme > .fixed > div:last-child {
    background:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px) !important;
    background-size: 42px 42px !important;
}

.vlace-dashboard-theme aside {
    background: linear-gradient(115deg, #92c8fb 0%, #a8bef6 48%, #d7b5ef 100%) !important;
    border-color: rgba(255, 255, 255, .44) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .44), 14px 0 34px rgba(79, 70, 229, .14);
}

.vlace-dashboard-theme .vlace-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 18px !important;
    color: var(--vlace-ink) !important;
    background: linear-gradient(115deg, #92c8fb 0%, #a8bef6 48%, #d7b5ef 100%) !important;
}

.vlace-dashboard-theme .vlace-sidebar-brand {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.vlace-dashboard-theme .vlace-brand-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 74px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 8px 9px;
    background: rgba(255, 255, 255, .24);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.vlace-dashboard-theme .vlace-brand-mark {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .26);
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: .12em;
    text-shadow: 0 1px 8px rgba(30, 27, 75, .28);
}

.vlace-dashboard-theme .vlace-brand-name {
    margin: 0;
    color: var(--vlace-ink) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: .24em !important;
}

.vlace-dashboard-theme .vlace-brand-subtitle {
    margin-top: 7px !important;
    color: #36537c !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .42em !important;
}

.vlace-dashboard-theme .vlace-status-pill {
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-color: rgba(255, 255, 255, .28) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .22) !important;
    color: var(--vlace-ink) !important;
    box-shadow: 0 10px 22px rgba(30, 27, 75, .1);
}

.vlace-dashboard-theme .vlace-status-pill span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #38d996;
    box-shadow: 0 0 0 4px rgba(56, 217, 150, .18);
}

.vlace-dashboard-theme main {
    background: rgba(238, 244, 255, .38);
}

.vlace-dashboard-theme article,
.vlace-dashboard-theme fieldset,
.vlace-dashboard-theme header + div,
.vlace-dashboard-theme section > div,
.vlace-dashboard-theme aside > div,
.vlace-dashboard-theme .border-cyan-400\/30,
.vlace-dashboard-theme .border-slate-800 {
    border-color: var(--vlace-line) !important;
}

.vlace-dashboard-theme article,
.vlace-dashboard-theme main section > article,
.vlace-dashboard-theme main section > aside > article,
.vlace-dashboard-theme #active-ads,
.vlace-dashboard-theme [class*="bg-slate-950"],
.vlace-dashboard-theme [class*="bg-cyan-400/5"] {
    background: var(--vlace-panel) !important;
    box-shadow: 0 20px 50px rgba(10, 34, 70, .08) !important;
}

.vlace-dashboard-theme .vlace-sidebar-nav {
    gap: 8px !important;
    margin-top: 4px !important;
}

.vlace-dashboard-theme .vlace-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    border: 1px solid transparent !important;
    border-radius: 8px;
    padding: 8px 10px !important;
    color: #1e2f5f !important;
    text-decoration: none;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.vlace-dashboard-theme .vlace-sidebar-nav a:hover {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .22) !important;
    transform: translateX(2px);
}

.vlace-dashboard-theme .vlace-sidebar-nav a.is-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .2) !important;
    border-color: rgba(255, 255, 255, .28) !important;
    box-shadow: 0 12px 28px rgba(30, 27, 75, .18);
}

.vlace-dashboard-theme .vlace-sidebar-nav a.is-active .nav-icon {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
}

.vlace-dashboard-theme .nav-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    color: #265ff5 !important;
    background: rgba(255, 255, 255, .42);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
}

.vlace-dashboard-theme .vlace-session-card {
    margin-top: auto !important;
    border-color: rgba(255, 255, 255, .24) !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, .24) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12) !important;
}

.vlace-dashboard-theme .vlace-session-card p:first-child {
    color: #36537c !important;
    font-size: 11px !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme .vlace-session-card p:nth-child(2) {
    color: var(--vlace-ink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.35;
}

.vlace-dashboard-theme .vlace-session-progress {
    height: 8px !important;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .38) !important;
}

.vlace-dashboard-theme .vlace-session-progress div {
    border-radius: inherit;
    background: #58e2f4 !important;
}

.vlace-dashboard-theme h1,
.vlace-dashboard-theme h2,
.vlace-dashboard-theme h3,
.vlace-dashboard-theme .text-white,
.vlace-dashboard-theme .text-slate-950 {
    color: var(--vlace-ink) !important;
}

.vlace-dashboard-theme h1 {
    font-size: clamp(2.6rem, 4vw, 4.2rem) !important;
    line-height: 1.02 !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme .dashboard-page-title {
    font-size: clamp(2rem, 3vw, 3.1rem) !important;
    line-height: 1.05 !important;
}

.vlace-dashboard-theme h2 {
    font-size: 1.55rem !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme h3 {
    font-size: 1.25rem !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme .text-cyan-300,
.vlace-dashboard-theme .text-emerald-300 {
    color: var(--vlace-primary) !important;
}

.vlace-dashboard-theme .text-slate-300,
.vlace-dashboard-theme .text-slate-400,
.vlace-dashboard-theme .text-slate-500,
.vlace-dashboard-theme label,
.vlace-dashboard-theme td,
.vlace-dashboard-theme p {
    color: var(--vlace-muted) !important;
}

.vlace-dashboard-theme p,
.vlace-dashboard-theme label,
.vlace-dashboard-theme td,
.vlace-dashboard-theme input,
.vlace-dashboard-theme textarea,
.vlace-dashboard-theme select {
    font-size: 15px !important;
    font-weight: 850 !important;
}

.vlace-dashboard-theme label,
.vlace-dashboard-theme legend,
.vlace-dashboard-theme th,
.vlace-dashboard-theme [class*="tracking-"] {
    color: #334a73 !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme input,
.vlace-dashboard-theme textarea,
.vlace-dashboard-theme select {
    border-color: var(--vlace-line) !important;
    background: #ffffff !important;
    color: var(--vlace-ink) !important;
    box-shadow: 0 10px 20px rgba(29, 58, 138, .05);
}

.vlace-dashboard-theme input:focus,
.vlace-dashboard-theme textarea:focus,
.vlace-dashboard-theme select:focus {
    border-color: var(--vlace-primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .16) !important;
}

.vlace-dashboard-theme .password-toggle-field {
    position: relative;
    display: block;
    width: 100%;
}

.vlace-dashboard-theme .password-toggle-field input {
    width: 100%;
}

.vlace-dashboard-theme input.has-password-toggle {
    padding-right: 52px !important;
}

.vlace-dashboard-theme .password-toggle-button,
.vlace-dashboard-theme button.password-toggle-button {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    min-height: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #c8ddf7 !important;
    border-radius: 6px;
    background: #eef4ff !important;
    color: #172554 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.vlace-dashboard-theme .password-toggle-button:hover,
.vlace-dashboard-theme button.password-toggle-button:hover {
    border-color: #4f46e5 !important;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.vlace-dashboard-theme .password-toggle-button .eye-closed {
    display: none;
}

.vlace-dashboard-theme .password-toggle-button.is-visible .eye-open {
    display: none;
}

.vlace-dashboard-theme .password-toggle-button.is-visible .eye-closed {
    display: block;
}

.vlace-dashboard-theme button,
.vlace-dashboard-theme button[name="action"][value="review"],
.vlace-dashboard-theme .file\:bg-cyan-300::file-selector-button {
    border-color: var(--vlace-primary) !important;
    background: linear-gradient(135deg, var(--vlace-secondary), var(--vlace-violet)) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(75, 73, 172, .24);
}

.vlace-dashboard-theme button[name="action"][value="draft"] {
    border-color: var(--vlace-line) !important;
    background: #ffffff !important;
    color: var(--vlace-ink) !important;
    box-shadow: none;
}

.vlace-dashboard-theme table thead,
.vlace-dashboard-theme [class*="bg-slate-800"],
.vlace-dashboard-theme #media_preview {
    background: #dbeafe !important;
}

.vlace-dashboard-theme #media_preview {
    color: #4a5d82 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.vlace-dashboard-theme table tbody tr,
.vlace-dashboard-theme .divide-slate-800 > :not([hidden]) ~ :not([hidden]) {
    border-color: #e1ebf8 !important;
}

.vlace-dashboard-theme #preview_cta {
    border-color: var(--vlace-primary) !important;
    color: #ffffff !important;
    background: var(--vlace-primary) !important;
}

.vlace-dashboard-theme #media_preview + div {
    background: #ffffff !important;
    border-top: 1px solid var(--vlace-line) !important;
}

.vlace-dashboard-theme #preview_adText,
.vlace-dashboard-theme #preview_destination {
    color: #36537c !important;
    font-weight: 900 !important;
}

.vlace-dashboard-theme #preview_headline {
    color: var(--vlace-ink) !important;
    font-size: 1.35rem !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme input::placeholder,
.vlace-dashboard-theme textarea::placeholder {
    color: #7a8ead !important;
    opacity: 1;
    font-weight: 800;
}

.vlace-dashboard-theme .location-helper {
    border-color: #98bdff !important;
    background: #dbeafe !important;
    color: #102048 !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.45 !important;
    box-shadow: 0 8px 18px rgba(29, 58, 138, .08);
}

.vlace-dashboard-theme .publish-warning {
    border-color: #f59e0b !important;
    border-left: 6px solid #f59e0b !important;
    border-radius: 8px;
    background: #fff7d6 !important;
    color: #5a3700 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.45 !important;
    box-shadow: 0 12px 26px rgba(180, 83, 9, .14);
}

.vlace-dashboard-theme .sync-meta-button {
    border-color: #1d4ed8 !important;
    background: #1d4ed8 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .2) !important;
}

.vlace-dashboard-theme .vlace-primary-action,
.vlace-dashboard-theme button.vlace-primary-action,
.vlace-dashboard-theme a.vlace-primary-action {
    border: 1px solid #1d4ed8 !important;
    border-radius: 4px;
    background: linear-gradient(135deg, #2563eb, #6d5df7) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(15, 23, 42, .28);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22) !important;
}

.vlace-dashboard-theme .vlace-primary-action:hover,
.vlace-dashboard-theme button.vlace-primary-action:hover,
.vlace-dashboard-theme a.vlace-primary-action:hover {
    background: linear-gradient(135deg, #1d4ed8, #5b4ee6) !important;
    color: #ffffff !important;
}

.vlace-dashboard-theme .vlace-danger-action,
.vlace-dashboard-theme button.vlace-danger-action {
    border-color: #b91c1c !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(15, 23, 42, .28);
}

.vlace-dashboard-theme .vlace-warning-action,
.vlace-dashboard-theme button.vlace-warning-action {
    border: 1px solid #d97706 !important;
    border-radius: 4px;
    background: #f59e0b !important;
    color: #3b2500 !important;
    text-shadow: none !important;
    box-shadow: 0 12px 24px rgba(217, 119, 6, .18) !important;
}

.vlace-dashboard-theme .vlace-warning-action:hover,
.vlace-dashboard-theme button.vlace-warning-action:hover {
    background: #d97706 !important;
    color: #ffffff !important;
}

.vlace-dashboard-theme .vlace-logout-button {
    border: 1px solid rgba(185, 28, 28, .42) !important;
    border-radius: 8px;
    background: #ffffff !important;
    color: #991b1b !important;
    box-shadow: 0 10px 22px rgba(30, 27, 75, .12) !important;
}

.vlace-dashboard-theme .vlace-logout-button:hover {
    background: #fee2e2 !important;
    color: #7f1d1d !important;
}

.vlace-dashboard-theme button:not([name="action"][value="draft"]),
.vlace-dashboard-theme button:not([name="action"][value="draft"]) [class*="tracking-"] {
    color: #ffffff !important;
}

.vlace-dashboard-theme .vlace-logout-button,
.vlace-dashboard-theme .vlace-logout-button[class*="tracking-"] {
    color: #991b1b !important;
}

.vlace-dashboard-theme .sync-note {
    display: inline-block;
    border: 1px solid #98bdff;
    border-radius: 8px;
    padding: 10px 12px;
    background: #dbeafe;
    color: #102048 !important;
    font-weight: 900 !important;
}

.vlace-dashboard-theme .message-channel-button {
    width: 100%;
    border-color: var(--vlace-line) !important;
    background: #ffffff !important;
    color: var(--vlace-ink) !important;
    box-shadow: 0 10px 22px rgba(10, 34, 70, .06) !important;
}

.vlace-dashboard-theme .message-channel-button.is-active {
    border-color: var(--vlace-primary) !important;
    background: #dbeafe !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .14), 0 14px 28px rgba(79, 70, 229, .12) !important;
}

.vlace-dashboard-theme .messages-dashboard {
    display: block !important;
}

.vlace-dashboard-theme .messages-dashboard .message-channel-button {
    padding: 12px !important;
}

.vlace-dashboard-theme .messages-dashboard .message-channel-button strong {
    font-size: 13px !important;
}

.vlace-dashboard-theme .messages-dashboard .message-channel-button span {
    font-size: 12px !important;
}

.vlace-dashboard-theme .communication-box {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--vlace-line);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(10, 34, 70, .08);
}

.vlace-dashboard-theme .conversation-list {
    border-right: 1px solid var(--vlace-line);
    background: #f8fbff;
}

.vlace-dashboard-theme .conversation-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--vlace-line);
    padding: 12px;
}

.vlace-dashboard-theme .conversation-list-header p,
.vlace-dashboard-theme .conversation-list-header span {
    margin: 0;
    color: var(--vlace-ink) !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vlace-dashboard-theme .conversation-list-header span {
    border-radius: 999px;
    padding: 5px 9px;
    background: #dbeafe;
    letter-spacing: 0;
}

.vlace-dashboard-theme .conversation-item {
    display: grid;
    width: 100%;
    gap: 5px;
    border: 0 !important;
    border-bottom: 1px solid #e1ebf8 !important;
    padding: 12px !important;
    background: transparent !important;
    color: var(--vlace-ink) !important;
    text-align: left;
    box-shadow: none !important;
}

.vlace-dashboard-theme .conversation-item.is-active,
.vlace-dashboard-theme .conversation-item:hover {
    background: #eaf3ff !important;
}

.vlace-dashboard-theme .conversation-item strong {
    color: var(--vlace-ink) !important;
    font-size: 13px;
    font-weight: 950;
}

.vlace-dashboard-theme .conversation-item span,
.vlace-dashboard-theme .conversation-item small {
    color: #52688e !important;
    font-size: 12px;
    font-weight: 850;
}

.vlace-dashboard-theme .conversation-panel {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    background: #ffffff;
}

.vlace-dashboard-theme .conversation-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--vlace-line);
    padding: 16px;
}

.vlace-dashboard-theme .conversation-header h3 {
    margin: 4px 0;
    color: var(--vlace-ink) !important;
}

.vlace-dashboard-theme .conversation-header span {
    color: #52688e;
    font-size: 13px;
    font-weight: 900;
}

.vlace-dashboard-theme .conversation-status {
    flex: 0 0 auto;
    border: 1px solid #98bdff;
    border-radius: 999px;
    padding: 7px 10px;
    background: #dbeafe;
    color: var(--vlace-primary) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme .message-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.vlace-dashboard-theme .message-bubble {
    max-width: min(78%, 520px);
    border-radius: 14px;
    padding: 11px 13px;
    color: var(--vlace-ink);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.45;
}

.vlace-dashboard-theme .message-bubble.incoming {
    align-self: flex-start;
    border: 1px solid var(--vlace-line);
    background: #ffffff;
}

.vlace-dashboard-theme .message-bubble.outgoing {
    align-self: flex-end;
    background: #dbeafe;
}

.vlace-dashboard-theme .reply-box {
    border-top: 1px solid var(--vlace-line);
    padding: 14px;
    background: #ffffff;
}

.vlace-dashboard-theme .reply-box textarea {
    min-height: 92px;
    resize: vertical;
}

.vlace-dashboard-theme .reply-attachments {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    border: 1px dashed #98bdff;
    border-radius: 8px;
    padding: 10px;
    background: #f8fbff;
}

.vlace-dashboard-theme .reply-attachments label {
    display: grid;
    gap: 8px;
    color: var(--vlace-ink) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.vlace-dashboard-theme .reply-attachments input {
    box-shadow: none;
}

.vlace-dashboard-theme .reply-attachments p {
    margin: 0;
    color: #52688e !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.vlace-dashboard-theme .reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .vlace-dashboard-theme .communication-box {
        grid-template-columns: 1fr;
    }

    .vlace-dashboard-theme .conversation-list {
        border-right: 0;
        border-bottom: 1px solid var(--vlace-line);
    }
}
