/*
 * PHASE CONNECTOR-PLUGIN-03C LIVEUIN CONNECTOR PUBLIC CSS
 * Purpose:
 *     Public presentation only.
 * Rule:
 *     No API keys, no tokens, no secrets, no privileged logic.
 */

.liveuin-zero-friction-embed {
    margin: 18px 0;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    font-family: inherit;
}

.liveuin-zero-friction-embed--inline {
    padding: 12px;
    border-radius: 16px;
    box-shadow: none;
}

.liveuin-zero-friction-embed--buttons_only {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.liveuin-zero-friction-embed h3 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.25;
    color: #111827;
}

.liveuin-zero-friction-embed p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.liveuin-zero-friction-embed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.liveuin-embed-button,
.liveuin-zero-friction-embed__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #d1d5db;
    color: #111827;
    background: #ffffff;
}

.liveuin-zero-friction-embed__button:hover,
.liveuin-embed-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.liveuin-zero-friction-embed__button.primary,
.liveuin-embed-button--login,
.liveuin-embed-button--dashboard,
.liveuin-embed-button--smart {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.liveuin-zero-friction-embed__button.secondary,
.liveuin-embed-button--register,
.liveuin-embed-button--agent,
.liveuin-embed-button--landlord,
.liveuin-embed-button--tenant,
.liveuin-embed-button--operator {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
}

.liveuin-zero-friction-embed__note {
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
}

.liveuin-connector-js-ready .liveuin-zero-friction-embed__button,
.liveuin-connector-js-ready .liveuin-embed-button {
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}


/* PHASE CONNECTOR-PLUGIN-04D PARTNER PORTAL SHORTCODE CSS */
.liveuin-partner-portal {
    gap: 18px;
}

.liveuin-partner-portal__intro {
    display: grid;
    gap: 8px;
}

.liveuin-partner-portal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.liveuin-partner-portal__card {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.liveuin-partner-portal__card h4 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.3;
}

.liveuin-partner-portal__card ul {
    margin: 0;
    padding-left: 18px;
}

.liveuin-partner-portal__card li {
    margin: 6px 0;
}

@media (max-width: 720px) {
    .liveuin-partner-portal__grid {
        grid-template-columns: 1fr;
    }
}


/* PHASE CONNECTOR-PLUGIN-06D PORTAL SHELL UI */
.liveuin-portal-shell {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 24px auto;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.liveuin-portal-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.liveuin-portal-shell__header {
    position: relative;
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.liveuin-portal-shell__eyebrow {
    width: fit-content;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(239, 246, 255, 0.9);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.liveuin-portal-shell h3 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.liveuin-portal-shell p {
    max-width: 720px;
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

.liveuin-portal-shell__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.liveuin-portal-shell__button {
    justify-content: space-between;
    min-height: 54px;
    border-radius: 16px;
    padding: 15px 17px;
    font-weight: 750;
    text-decoration: none;
}

.liveuin-portal-shell__button-label {
    display: inline-flex;
    align-items: center;
}

.liveuin-portal-shell__button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 16px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.liveuin-portal-shell__button:hover .liveuin-portal-shell__button-arrow {
    transform: translateX(3px);
}

.liveuin-portal-shell__note {
    margin-top: 18px;
    border: 1px dashed rgba(71, 85, 105, 0.22);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(248, 250, 252, 0.86);
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.liveuin-partner-portal.liveuin-portal-shell {
    max-width: 1080px;
}

.liveuin-partner-portal__grid {
    align-items: stretch;
}

.liveuin-partner-portal__card {
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.liveuin-partner-portal__card h4 {
    color: #0f172a;
    font-weight: 800;
}

.liveuin-partner-portal__card li {
    color: #475569;
    line-height: 1.5;
}

@media (max-width: 780px) {
    .liveuin-portal-shell {
        margin: 18px 0;
        border-radius: 20px;
        padding: 22px;
    }

    .liveuin-portal-shell__actions {
        grid-template-columns: 1fr;
    }

    .liveuin-portal-shell h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .liveuin-portal-shell {
        padding: 18px;
    }

    .liveuin-portal-shell__button {
        min-height: 50px;
        padding: 13px 14px;
    }
}


/* PHASE CONNECTOR-PLUGIN-06L PORTAL STYLE PRESETS */
.liveuin-portal-shell--premium {
    border-color: rgba(180, 140, 60, 0.24);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(30, 41, 59, 0.96));
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.liveuin-portal-shell--premium .liveuin-portal-shell__eyebrow {
    border-color: rgba(251, 191, 36, 0.32);
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.liveuin-portal-shell--premium h3,
.liveuin-portal-shell--premium h4 {
    color: #f8fafc;
}

.liveuin-portal-shell--premium p,
.liveuin-portal-shell--premium li {
    color: rgba(226, 232, 240, 0.86);
}

.liveuin-portal-shell--premium .liveuin-partner-portal__card {
    border-color: rgba(251, 191, 36, 0.18);
    background: rgba(15, 23, 42, 0.54);
}

.liveuin-portal-shell--premium .liveuin-portal-shell__note {
    border-color: rgba(251, 191, 36, 0.2);
    background: rgba(15, 23, 42, 0.5);
    color: rgba(226, 232, 240, 0.82);
}

.liveuin-portal-shell--compact {
    max-width: 820px;
    padding: 20px;
    border-radius: 18px;
}

.liveuin-portal-shell--compact .liveuin-portal-shell__header {
    margin-bottom: 14px;
}

.liveuin-portal-shell--compact h3 {
    font-size: clamp(22px, 3vw, 32px);
}

.liveuin-portal-shell--compact p {
    font-size: 14px;
    line-height: 1.55;
}

.liveuin-portal-shell--compact .liveuin-portal-shell__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.liveuin-portal-shell--compact .liveuin-portal-shell__button {
    min-height: 48px;
    border-radius: 14px;
    padding: 12px 13px;
    font-size: 14px;
}

.liveuin-portal-shell--student {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.liveuin-portal-shell--student .liveuin-portal-shell__eyebrow {
    border-color: rgba(14, 165, 233, 0.2);
    background: rgba(224, 242, 254, 0.9);
    color: #0369a1;
}

.liveuin-portal-shell--student .liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell--student .liveuin-embed-button--login,
.liveuin-portal-shell--student .liveuin-embed-button--dashboard,
.liveuin-portal-shell--student .liveuin-embed-button--smart {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.liveuin-portal-shell--operator {
    border-color: rgba(51, 65, 85, 0.16);
    background:
        radial-gradient(circle at top left, rgba(100, 116, 139, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
}

.liveuin-portal-shell--operator .liveuin-portal-shell__eyebrow {
    border-color: rgba(51, 65, 85, 0.18);
    background: rgba(226, 232, 240, 0.9);
    color: #334155;
}

.liveuin-portal-shell--operator .liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell--operator .liveuin-embed-button--login,
.liveuin-portal-shell--operator .liveuin-embed-button--dashboard,
.liveuin-portal-shell--operator .liveuin-embed-button--smart {
    background: linear-gradient(135deg, #334155, #0f172a);
}

.liveuin-portal-shell--wechat {
    border-color: rgba(34, 197, 94, 0.16);
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.94));
}

.liveuin-portal-shell--wechat .liveuin-portal-shell__eyebrow {
    border-color: rgba(34, 197, 94, 0.18);
    background: rgba(220, 252, 231, 0.9);
    color: #15803d;
}

.liveuin-portal-shell--wechat .liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell--wechat .liveuin-embed-button--login,
.liveuin-portal-shell--wechat .liveuin-embed-button--dashboard,
.liveuin-portal-shell--wechat .liveuin-embed-button--smart {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.liveuin-portal-shell--realhomes {
    max-width: 100%;
    margin: 18px 0;
    border-radius: 12px;
    padding: 22px;
    background: #ffffff;
    box-shadow: none;
}

.liveuin-portal-shell--realhomes .liveuin-portal-shell__eyebrow {
    background: rgba(15, 23, 42, 0.04);
    color: #334155;
}

@media (max-width: 900px) {
    .liveuin-portal-shell--compact .liveuin-portal-shell__actions {
        grid-template-columns: 1fr;
    }
}


/* PHASE CONNECTOR-PLUGIN-06Q-D COMMERCIAL BRANDING NOTE */
.liveuin-portal-shell__branding {
    width: fit-content;
    margin-top: 12px;
    border-style: solid;
    opacity: 0.86;
    font-size: 12px;
}

.liveuin-portal-shell__branding a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* PHASE CONNECTOR-PLUGIN-08D-D MAPPING PREVIEW UI */
.liveuin-mapping-preview {
    max-width: 1120px;
}

.liveuin-mapping-preview--locked {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    padding: 16px;
    background: rgba(248, 250, 252, 0.94);
    color: #475569;
}

.liveuin-mapping-preview__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.liveuin-mapping-preview__stat {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.liveuin-mapping-preview__stat strong {
    display: block;
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
}

.liveuin-mapping-preview__stat span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

.liveuin-mapping-preview__notice {
    border: 1px dashed rgba(37, 99, 235, 0.24);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(239, 246, 255, 0.76);
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.liveuin-mapping-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.liveuin-mapping-preview__panel {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.86);
}

.liveuin-mapping-preview__panel--wide {
    margin-top: 14px;
}

.liveuin-mapping-preview__panel h4 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 850;
}

.liveuin-mapping-preview__table {
    display: grid;
    gap: 8px;
}

.liveuin-mapping-preview__row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
    gap: 10px;
    align-items: center;
    border-radius: 12px;
    padding: 10px 11px;
    background: rgba(248, 250, 252, 0.92);
    color: #334155;
    font-size: 12px;
}

.liveuin-mapping-preview__row span,
.liveuin-mapping-preview__row strong,
.liveuin-mapping-preview__row em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liveuin-mapping-preview__row strong {
    color: #0f172a;
    font-weight: 800;
}

.liveuin-mapping-preview__row em {
    color: #64748b;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 860px) {
    .liveuin-mapping-preview__summary,
    .liveuin-mapping-preview__grid {
        grid-template-columns: 1fr;
    }

    .liveuin-mapping-preview__row {
        grid-template-columns: 1fr;
    }
}

/* PHASE CONNECTOR-PLUGIN-09A-E BRAND AUTH SHELL UI */
.liveuin-brand-auth,
.liveuin-brand-dashboard {
    max-width: 920px;
}

.liveuin-brand-auth__form {
    display: grid;
    gap: 12px;
    max-width: 560px;
    margin-top: 20px;
}

.liveuin-brand-auth__label {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.liveuin-brand-auth__input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 16px;
    padding: 0 16px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
}

.liveuin-brand-auth__input:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.liveuin-brand-auth__remember {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.liveuin-brand-auth__submit {
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    padding: 0 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
}

.liveuin-brand-auth__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.liveuin-brand-auth__links a {
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.liveuin-brand-auth__notice {
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 16px;
    background: rgba(239, 246, 255, 0.88);
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
}

.liveuin-brand-auth__notice--login_failed,
.liveuin-brand-auth__notice--missing_fields,
.liveuin-brand-auth__notice--invalid_email,
.liveuin-brand-auth__notice--email_exists,
.liveuin-brand-auth__notice--restricted {
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
}

.liveuin-brand-dashboard__identity {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    padding: 16px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.84);
}

.liveuin-brand-dashboard__identity strong {
    color: #0f172a;
    font-size: 16px;
}

.liveuin-brand-dashboard__identity span {
    color: #64748b;
    font-size: 13px;
}

.liveuin-brand-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.liveuin-brand-dashboard__tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.86);
    color: #0f172a;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.liveuin-brand-dashboard__tile:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.liveuin-brand-dashboard__tile em {
    color: #64748b;
    font-style: normal;
}

@media (max-width: 720px) {
    .liveuin-brand-auth__links,
    .liveuin-brand-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .liveuin-brand-dashboard__grid {
        display: grid;
    }
}

/* PHASE LIVEUIN-CONNECTOR-10AO-D3 PUBLIC THEME-SAFE DEFAULT LOCK
   Wide-release default rule:
   Public shortcode/widget output must not hide sidebars, resize theme containers,
   override theme main/content wrappers, or globally control host theme layout.
   Plugin-owned full-page app layout remains handled by body.liveuin-brand-app below.
*/

/* PHASE CONNECTOR-PLUGIN-09C-C PLUGIN-OWNED BRAND APP RENDERER */
body.liveuin-brand-app {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(15, 23, 42, 0.06), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #111827;
}

body.liveuin-brand-app .liveuin-brand-app__frame {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

body.liveuin-brand-app .liveuin-brand-app__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

body.liveuin-brand-app .liveuin-brand-app__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 850;
}

body.liveuin-brand-app .liveuin-brand-app__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: #e11d48;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

body.liveuin-brand-app .liveuin-brand-app__brand-text {
    font-size: 15px;
    letter-spacing: -0.01em;
}

body.liveuin-brand-app .liveuin-brand-app__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

body.liveuin-brand-app .liveuin-brand-app__nav-link {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    padding: 9px 12px;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

body.liveuin-brand-app .liveuin-brand-app__nav-link:hover,
body.liveuin-brand-app .liveuin-brand-app__nav-link.is-active {
    background: #0f172a;
    color: #ffffff;
}

body.liveuin-brand-app .liveuin-brand-app__main {
    margin-top: 22px;
}

body.liveuin-brand-app .liveuin-brand-app__titlebar {
    margin: 0 0 18px;
    padding: 8px 2px;
}

body.liveuin-brand-app .liveuin-brand-app__eyebrow {
    margin: 0 0 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.liveuin-brand-app .liveuin-brand-app__titlebar h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.liveuin-brand-app .liveuin-brand-app__content {
    width: 100%;
}

body.liveuin-brand-app .liveuin-brand-app__content > .liveuin-portal-shell,
body.liveuin-brand-app .liveuin-brand-app__content > .liveuin-brand-auth,
body.liveuin-brand-app .liveuin-brand-app__content > .liveuin-brand-dashboard,
body.liveuin-brand-app .liveuin-brand-app__content > .liveuin-mapping-preview {
    max-width: 980px;
    margin: 0;
}

body.liveuin-brand-app--source-mapping-preview .liveuin-brand-app__content > .liveuin-mapping-preview {
    max-width: 1120px;
}

body.liveuin-brand-app .liveuin-brand-auth__form {
    max-width: 760px;
}

body.liveuin-brand-app .liveuin-brand-auth__form input,
body.liveuin-brand-app .liveuin-brand-auth__form select {
    min-height: 48px;
}

body.liveuin-brand-app .liveuin-brand-auth__submit {
    min-height: 48px;
}

@media (max-width: 860px) {
    body.liveuin-brand-app .liveuin-brand-app__frame {
        width: min(100% - 20px, 1180px);
        padding-top: 12px;
    }

    body.liveuin-brand-app .liveuin-brand-app__header {
        align-items: flex-start;
        flex-direction: column;
    }

    body.liveuin-brand-app .liveuin-brand-app__nav {
        justify-content: flex-start;
    }

    body.liveuin-brand-app .liveuin-brand-app__nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* PHASE CONNECTOR-PLUGIN-10F EMBEDDABLE COMPONENT TOKEN SYSTEM */
.liveuin-portal-shell,
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-mapping-preview {
    --lu-font-family: inherit;
    --lu-text-color: #111827;
    --lu-muted-color: #6b7280;
    --lu-bg-color: transparent;
    --lu-surface-color: #ffffff;
    --lu-primary-color: #6c5cff;
    --lu-primary-hover: #5948f0;
    --lu-accent-color: #00b894;
    --lu-border-color: rgba(15, 23, 42, 0.10);
    --lu-radius: 18px;
    --lu-radius-sm: 12px;
    --lu-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --lu-spacing: 16px;
    font-family: var(--lu-font-family);
    color: var(--lu-text-color);
}

.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-portal-shell,
.liveuin-mapping-preview {
    background: var(--lu-surface-color);
    border-color: var(--lu-border-color);
    border-radius: var(--lu-radius);
    box-shadow: var(--lu-shadow);
}

.liveuin-brand-auth input,
.liveuin-brand-auth select,
.liveuin-brand-auth textarea {
    font-family: var(--lu-font-family);
    border-color: var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
}

.liveuin-brand-auth button,
.liveuin-brand-auth__submit,
.liveuin-portal-shell__button,
.liveuin-zero-friction-embed__button {
    border-radius: var(--lu-radius-sm);
}

.liveuin-brand-auth__submit,
.liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell__button.primary {
    background: var(--lu-primary-color);
}

.liveuin-brand-auth__submit:hover,
.liveuin-zero-friction-embed__button.primary:hover,
.liveuin-portal-shell__button.primary:hover {
    background: var(--lu-primary-hover);
}

.liveuin-auth-provider-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.liveuin-auth-provider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: #ffffff;
    color: var(--lu-text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.liveuin-auth-provider-button--wechat {
    color: #128c4a;
}

.liveuin-auth-provider-button--google {
    color: #1f2937;
}

.liveuin-auth-provider-button--apple {
    color: #111827;
}

/* PHASE CONNECTOR-PLUGIN-10I-E AUTH PROVIDER POLISH */
.liveuin-auth-provider-wrap {
    margin-top: 16px;
}

.liveuin-auth-provider-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: var(--lu-muted-color);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.liveuin-auth-provider-divider::before,
.liveuin-auth-provider-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--lu-border-color);
}

.liveuin-auth-provider-divider span {
    white-space: nowrap;
}

.liveuin-auth-provider-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-weight: 900;
}

.liveuin-auth-provider-button__label {
    line-height: 1;
}

.liveuin-auth-provider-qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border: 1px dashed var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: rgba(108, 92, 255, 0.04);
    color: var(--lu-primary-color);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.liveuin-auth-provider-qr:hover {
    background: rgba(108, 92, 255, 0.08);
}

.liveuin-auth-provider-note {
    margin: 10px 0 0;
    color: var(--lu-muted-color);
    font-size: 12px;
    line-height: 1.45;
}

.liveuin-auth-provider-button--wechat .liveuin-auth-provider-button__icon {
    color: #12b76a;
}

.liveuin-auth-provider-button--google .liveuin-auth-provider-button__icon {
    color: #2563eb;
}

.liveuin-auth-provider-button--apple .liveuin-auth-provider-button__icon {
    color: #111827;
}

/* PHASE CONNECTOR-PLUGIN-10J-E AUTH PROVIDER DISABLED STATE */
.liveuin-auth-provider-button.is-disabled,
.liveuin-auth-provider-qr.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

.liveuin-auth-provider-button.is-disabled:hover,
.liveuin-auth-provider-qr.is-disabled:hover {
    background: #ffffff;
    color: var(--lu-text-color);
    transform: none;
}

.liveuin-auth-provider-qr.is-disabled:hover {
    background: rgba(108, 92, 255, 0.04);
    color: var(--lu-primary-color);
}

/* PHASE CONNECTOR-PLUGIN-10L-D EMBEDDABLE AUTH CARD POLISH */
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-mapping-preview {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-lg);
    background: var(--lu-surface-color);
    box-shadow: var(--lu-shadow);
    font-family: var(--lu-font-family);
    color: var(--lu-text-color);
}

.liveuin-brand-dashboard,
.liveuin-mapping-preview {
    max-width: 880px;
}

.liveuin-brand-auth *,
.liveuin-brand-dashboard *,
.liveuin-mapping-preview * {
    box-sizing: border-box;
}

.liveuin-brand-auth .liveuin-portal-shell__header,
.liveuin-brand-dashboard .liveuin-portal-shell__header {
    margin-bottom: 20px;
}

.liveuin-brand-auth .liveuin-portal-shell__eyebrow,
.liveuin-brand-dashboard .liveuin-portal-shell__eyebrow {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin-bottom: 8px;
    color: var(--lu-muted-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.liveuin-brand-auth h3,
.liveuin-brand-dashboard h3 {
    margin: 0 0 8px;
    color: var(--lu-text-color);
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
}

.liveuin-brand-auth p,
.liveuin-brand-dashboard p {
    color: var(--lu-muted-color);
}

.liveuin-brand-auth__form {
    display: grid;
    gap: 12px;
}

.liveuin-brand-auth__label {
    margin: 2px 0 -6px;
    color: var(--lu-text-color);
    font-size: 13px;
    font-weight: 800;
}

.liveuin-brand-auth__input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: #ffffff;
    color: var(--lu-text-color);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.liveuin-brand-auth__input:focus {
    border-color: var(--lu-primary-color);
    box-shadow: 0 0 0 4px rgba(108, 92, 255, 0.12);
}

.liveuin-brand-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 4px;
    color: var(--lu-muted-color);
    font-size: 13px;
}

.liveuin-brand-auth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    border: 0;
    border-radius: var(--lu-radius-sm);
    background: var(--lu-primary-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.liveuin-brand-auth__submit:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.liveuin-brand-auth__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    color: var(--lu-muted-color);
    font-size: 13px;
}

.liveuin-brand-auth__links a {
    color: var(--lu-primary-color);
    font-weight: 800;
    text-decoration: none;
}

.liveuin-brand-auth__links a:hover {
    text-decoration: underline;
}

.liveuin-brand-dashboard__identity {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: rgba(108, 92, 255, 0.04);
}

.liveuin-brand-dashboard__identity strong {
    display: block;
    color: var(--lu-text-color);
    font-weight: 900;
}

.liveuin-brand-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.liveuin-brand-dashboard__tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 14px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: #ffffff;
    color: var(--lu-text-color);
    font-weight: 850;
    text-decoration: none;
}

.liveuin-brand-dashboard__tile:hover {
    border-color: var(--lu-primary-color);
    color: var(--lu-primary-color);
}

@media (max-width: 680px) {
    .liveuin-brand-auth,
    .liveuin-brand-dashboard,
    .liveuin-mapping-preview {
        max-width: 100%;
        padding: 20px;
        border-radius: var(--lu-radius-md);
    }

    .liveuin-brand-dashboard__grid {
        grid-template-columns: 1fr;
    }
}

/* PHASE CONNECTOR-PLUGIN-10N-B PUBLIC COMPONENT-SCOPE CONTRACT */
.liveuin-portal-shell,
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-mapping-preview {
    --lu-font-family: inherit;
    --lu-text-color: var(--lu-text-color, #101828);
    --lu-muted-color: var(--lu-muted-color, #667085);
    --lu-bg-color: var(--lu-bg-color, #ffffff);
    --lu-surface-color: var(--lu-surface-color, #ffffff);
    --lu-primary-color: var(--lu-primary-color, #6c5cff);
    --lu-border-color: var(--lu-border-color, #e6e8ef);
    --lu-radius-sm: var(--lu-radius-sm, 12px);
    --lu-radius-md: var(--lu-radius-md, 18px);
    --lu-radius-lg: var(--lu-radius-lg, 24px);
    --lu-shadow: var(--lu-shadow, 0 18px 48px rgba(16, 24, 40, 0.08));

    box-sizing: border-box;
    isolation: isolate;
    font-family: var(--lu-font-family);
    color: var(--lu-text-color);
}

.liveuin-portal-shell *,
.liveuin-portal-shell *::before,
.liveuin-portal-shell *::after,
.liveuin-brand-auth *,
.liveuin-brand-auth *::before,
.liveuin-brand-auth *::after,
.liveuin-brand-dashboard *,
.liveuin-brand-dashboard *::before,
.liveuin-brand-dashboard *::after,
.liveuin-mapping-preview *,
.liveuin-mapping-preview *::before,
.liveuin-mapping-preview *::after {
    box-sizing: border-box;
}

.liveuin-brand-auth input,
.liveuin-brand-auth select,
.liveuin-brand-auth textarea,
.liveuin-brand-auth button {
    font: inherit;
}

.liveuin-brand-auth input[type="text"],
.liveuin-brand-auth input[type="email"],
.liveuin-brand-auth input[type="password"],
.liveuin-brand-auth input[type="url"],
.liveuin-brand-auth select,
.liveuin-brand-auth textarea,
.liveuin-brand-auth__input {
    appearance: none;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.liveuin-brand-auth button,
.liveuin-auth-provider-button,
.liveuin-auth-provider-qr,
.liveuin-brand-auth__submit {
    appearance: none;
    text-decoration: none;
}

.liveuin-brand-auth__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.liveuin-auth-provider-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.liveuin-auth-provider-button,
.liveuin-auth-provider-qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: #ffffff;
    color: var(--lu-text-color);
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.liveuin-auth-provider-button.is-disabled,
.liveuin-auth-provider-qr.is-disabled {
    background: #f6f7fb;
    color: var(--lu-muted-color);
    border-color: var(--lu-border-color);
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.liveuin-auth-provider-button.is-disabled:hover,
.liveuin-auth-provider-qr.is-disabled:hover {
    background: #f6f7fb;
    color: var(--lu-muted-color);
    border-color: var(--lu-border-color);
    box-shadow: none;
    transform: none;
}

.liveuin-brand-auth__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.liveuin-brand-auth__remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
}

.liveuin-brand-auth__submit {
    width: 100%;
}

@media (max-width: 680px) {
    .liveuin-brand-auth,
    .liveuin-brand-dashboard,
    .liveuin-mapping-preview {
        width: 100%;
        max-width: 100%;
        padding: 22px;
    }

    .liveuin-auth-provider-row {
        grid-template-columns: 1fr;
    }

    .liveuin-brand-auth__links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
}

/* PHASE LIVEUIN-CONNECTOR-10AO-D3 PUBLIC THEME-SAFE REVERT REMOVED
   Public shortcode/widget pages now leave host theme sidebars, containers,
   main wrappers, and content layout untouched.
   Only plugin-owned full-page app shell may control app chrome.
*/

body.liveuin-brand-app .rh_sidebar,
body.liveuin-brand-app .rh-page-sidebar,
body.liveuin-brand-app .rh_page__sidebar,
body.liveuin-brand-app .rh_blog__sidebar,
body.liveuin-brand-app .rh_widgets,
body.liveuin-brand-app .sidebar,
body.liveuin-brand-app .site-sidebar,
body.liveuin-brand-app .widget-area,
body.liveuin-brand-app aside {
    display: none !important;
}

/* PHASE CONNECTOR-PLUGIN-10O-E DASHBOARD SESSION ACTIONS */
.liveuin-brand-dashboard__session-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.liveuin-brand-dashboard__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--lu-border-color);
    border-radius: var(--lu-radius-sm);
    background: #ffffff;
    color: var(--lu-muted-color);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.liveuin-brand-dashboard__logout:hover {
    border-color: var(--lu-primary-color);
    color: var(--lu-primary-color);
    text-decoration: none;
}


/* PHASE LIVEUIN-CONNECTOR-10AS-B2 PRODUCT UX VISUAL SYSTEM LOCK
   Product scope:
   - Polishes LiveUin login/register/dashboard/partner portal/smart inventory surfaces.
   - Does not alter routes, handlers, endpoint URLs, auth, setup, SSO, or shortcode names.
   - Does not force global theme containers or hide theme sidebars.
*/

:root {
    --liveuin-product-ink: #101828;
    --liveuin-product-muted: #667085;
    --liveuin-product-soft: #f8fafc;
    --liveuin-product-line: rgba(16, 24, 40, 0.10);
    --liveuin-product-line-strong: rgba(16, 24, 40, 0.16);
    --liveuin-product-card: rgba(255, 255, 255, 0.96);
    --liveuin-product-dark: #0b1220;
    --liveuin-product-primary: #2563eb;
    --liveuin-product-primary-strong: #1d4ed8;
    --liveuin-product-green: #16a34a;
    --liveuin-product-gold: #b7791f;
    --liveuin-product-shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
    --liveuin-product-shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.08);
    --liveuin-product-radius-xl: 28px;
    --liveuin-product-radius-lg: 20px;
    --liveuin-product-radius-md: 14px;
}

.liveuin-zero-friction-embed,
.liveuin-portal-shell,
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-partner-portal,
.liveuin-mapping-preview {
    color: var(--liveuin-product-ink);
    font-family: inherit;
}

.liveuin-zero-friction-embed,
.liveuin-portal-shell,
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-partner-portal,
.liveuin-mapping-preview {
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-xl);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(22, 163, 74, 0.10), transparent 28%),
        var(--liveuin-product-card);
    box-shadow: var(--liveuin-product-shadow);
    overflow: hidden;
}

.liveuin-portal-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 44px);
}

.liveuin-portal-shell__header,
.liveuin-partner-portal__intro,
.liveuin-brand-auth .liveuin-portal-shell__header,
.liveuin-brand-dashboard .liveuin-portal-shell__header {
    max-width: 820px;
    margin-bottom: 26px;
}

.liveuin-portal-shell__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 6px 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--liveuin-product-primary-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.liveuin-portal-shell h3,
.liveuin-brand-auth h3,
.liveuin-brand-dashboard h3,
.liveuin-partner-portal h3,
.liveuin-mapping-preview h3 {
    margin: 14px 0 10px;
    color: var(--liveuin-product-ink);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.liveuin-portal-shell h4,
.liveuin-partner-portal__card h4,
.liveuin-mapping-preview__panel h4 {
    color: var(--liveuin-product-ink);
    letter-spacing: -0.02em;
}

.liveuin-portal-shell p,
.liveuin-brand-auth p,
.liveuin-brand-dashboard p,
.liveuin-partner-portal p,
.liveuin-mapping-preview p,
.liveuin-partner-portal li {
    color: var(--liveuin-product-muted);
    font-size: 15px;
    line-height: 1.7;
}

.liveuin-zero-friction-embed__actions,
.liveuin-portal-shell__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.liveuin-zero-friction-embed__button,
.liveuin-portal-shell__button,
.liveuin-embed-button,
.liveuin-brand-auth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: 999px;
    background: #fff;
    color: var(--liveuin-product-ink);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.liveuin-zero-friction-embed__button:hover,
.liveuin-portal-shell__button:hover,
.liveuin-embed-button:hover,
.liveuin-brand-auth__submit:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    text-decoration: none;
}

.liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell__button.primary,
.liveuin-embed-button--login,
.liveuin-embed-button--dashboard,
.liveuin-embed-button--smart,
.liveuin-brand-auth__submit {
    border-color: rgba(37, 99, 235, 0.60);
    background: linear-gradient(135deg, var(--liveuin-product-primary), var(--liveuin-product-primary-strong));
    color: #fff;
}

.liveuin-portal-shell__button-arrow {
    opacity: 0.72;
    transition: transform 160ms ease, opacity 160ms ease;
}

.liveuin-portal-shell__button:hover .liveuin-portal-shell__button-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.liveuin-zero-friction-embed__note,
.liveuin-portal-shell__note {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--liveuin-product-radius-md);
    background: rgba(37, 99, 235, 0.06);
    color: var(--liveuin-product-muted);
    font-size: 13px;
}

/* Login / Registration */
.liveuin-brand-auth.liveuin-portal-shell,
.liveuin-brand-auth {
    max-width: 760px;
}

.liveuin-brand-auth__form {
    display: grid;
    gap: 15px;
    margin-top: 20px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--liveuin-product-shadow-soft);
}

.liveuin-brand-auth__label {
    display: grid;
    gap: 7px;
    color: var(--liveuin-product-ink);
    font-size: 13px;
    font-weight: 800;
}

.liveuin-brand-auth__input,
.liveuin-brand-auth input,
.liveuin-brand-auth select,
.liveuin-brand-auth textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--liveuin-product-line-strong);
    border-radius: var(--liveuin-product-radius-md);
    background: #fff;
    color: var(--liveuin-product-ink);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.liveuin-brand-auth__input:focus,
.liveuin-brand-auth input:focus,
.liveuin-brand-auth select:focus,
.liveuin-brand-auth textarea:focus {
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.liveuin-brand-auth__remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--liveuin-product-muted);
    font-size: 13px;
}

.liveuin-brand-auth__notice {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: var(--liveuin-product-radius-md);
    background: rgba(245, 158, 11, 0.10);
    color: #92400e;
    font-weight: 700;
}

.liveuin-brand-auth__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    color: var(--liveuin-product-muted);
}

.liveuin-brand-auth__links a {
    color: var(--liveuin-product-primary-strong);
    font-weight: 800;
    text-decoration: none;
}

.liveuin-brand-auth__links a:hover {
    text-decoration: underline;
}

/* Provider buttons */
.liveuin-auth-provider-wrap {
    margin-top: 22px;
}

.liveuin-auth-provider-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: var(--liveuin-product-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.liveuin-auth-provider-divider::before,
.liveuin-auth-provider-divider::after {
    content: "";
    height: 1px;
    background: var(--liveuin-product-line);
}

.liveuin-auth-provider-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.liveuin-auth-provider-button,
.liveuin-auth-provider-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-md);
    background: #fff;
    color: var(--liveuin-product-ink);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.liveuin-auth-provider-button.is-disabled,
.liveuin-auth-provider-qr.is-disabled {
    opacity: 0.48;
    cursor: not-allowed;
    box-shadow: none;
}

.liveuin-auth-provider-note {
    margin-top: 10px;
    color: var(--liveuin-product-muted);
    font-size: 12px;
}

/* Dashboard / Smart Inventory */
.liveuin-brand-dashboard__identity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 18px 0 20px;
    padding: 16px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: rgba(255, 255, 255, 0.82);
}

.liveuin-brand-dashboard__identity strong {
    color: var(--liveuin-product-ink);
    font-size: 16px;
}

.liveuin-brand-dashboard__identity span {
    color: var(--liveuin-product-muted);
    font-size: 13px;
}

.liveuin-brand-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.liveuin-brand-dashboard__tile {
    position: relative;
    min-height: 132px;
    padding: 18px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
    color: var(--liveuin-product-ink);
    text-decoration: none;
    box-shadow: var(--liveuin-product-shadow-soft);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.liveuin-brand-dashboard__tile:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--liveuin-product-shadow);
    text-decoration: none;
}

.liveuin-brand-dashboard__tile span {
    display: block;
    max-width: 210px;
    color: var(--liveuin-product-ink);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.3;
}

.liveuin-brand-dashboard__tile em {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: var(--liveuin-product-primary-strong);
    font-size: 20px;
    font-style: normal;
}

/* Partner Portal */
.liveuin-partner-portal__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.liveuin-partner-portal__card {
    padding: 18px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--liveuin-product-shadow-soft);
}

.liveuin-partner-portal__card h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 850;
}

.liveuin-partner-portal__card ul {
    margin: 0;
    padding-left: 18px;
}

.liveuin-partner-portal__card li {
    margin: 7px 0;
}

/* Mapping Preview */
.liveuin-mapping-preview__summary,
.liveuin-mapping-preview__grid {
    display: grid;
    gap: 14px;
}

.liveuin-mapping-preview__summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 22px 0;
}

.liveuin-mapping-preview__stat,
.liveuin-mapping-preview__panel {
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--liveuin-product-shadow-soft);
}

.liveuin-mapping-preview__stat {
    padding: 16px;
}

.liveuin-mapping-preview__stat strong {
    display: block;
    color: var(--liveuin-product-ink);
    font-size: 24px;
    line-height: 1;
}

.liveuin-mapping-preview__stat span {
    display: block;
    margin-top: 7px;
    color: var(--liveuin-product-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.liveuin-mapping-preview__panel {
    padding: 18px;
}

.liveuin-mapping-preview__table {
    overflow: hidden;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-md);
}

.liveuin-mapping-preview__row {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 0.9fr;
    gap: 10px;
    padding: 11px 13px;
    border-bottom: 1px solid var(--liveuin-product-line);
    background: rgba(255, 255, 255, 0.72);
}

.liveuin-mapping-preview__row:last-child {
    border-bottom: 0;
}

/* Plugin-owned app shell only */
body.liveuin-brand-app {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 36%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

body.liveuin-brand-app .liveuin-brand-app__frame {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 32px);
}

body.liveuin-brand-app .liveuin-brand-app__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--liveuin-product-line);
    border-radius: var(--liveuin-product-radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--liveuin-product-shadow-soft);
}

body.liveuin-brand-app .liveuin-brand-app__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.liveuin-brand-app .liveuin-brand-app__brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--liveuin-product-primary), var(--liveuin-product-primary-strong));
    color: #fff;
    font-weight: 900;
}

body.liveuin-brand-app .liveuin-brand-app__brand-text {
    color: var(--liveuin-product-ink);
    font-weight: 900;
}

body.liveuin-brand-app .liveuin-brand-app__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.liveuin-brand-app .liveuin-brand-app__nav-link {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--liveuin-product-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.liveuin-brand-app .liveuin-brand-app__nav-link:hover,
body.liveuin-brand-app .liveuin-brand-app__nav-link.is-active {
    background: rgba(37, 99, 235, 0.10);
    color: var(--liveuin-product-primary-strong);
}

body.liveuin-brand-app .liveuin-brand-app__titlebar {
    margin-bottom: 18px;
}

body.liveuin-brand-app .liveuin-brand-app__eyebrow {
    color: var(--liveuin-product-primary-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.liveuin-brand-app .liveuin-brand-app__titlebar h1 {
    margin: 8px 0 0;
    color: var(--liveuin-product-ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

/* Responsive */
@media (max-width: 900px) {
    .liveuin-brand-dashboard__grid,
    .liveuin-partner-portal__grid,
    .liveuin-mapping-preview__summary {
        grid-template-columns: 1fr 1fr;
    }

    .liveuin-auth-provider-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .liveuin-portal-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .liveuin-brand-dashboard__grid,
    .liveuin-partner-portal__grid,
    .liveuin-mapping-preview__summary {
        grid-template-columns: 1fr;
    }

    .liveuin-mapping-preview__row {
        grid-template-columns: 1fr;
    }

    .liveuin-zero-friction-embed__actions,
    .liveuin-portal-shell__actions,
    .liveuin-brand-auth__links {
        flex-direction: column;
    }

    .liveuin-zero-friction-embed__button,
    .liveuin-portal-shell__button,
    .liveuin-embed-button,
    .liveuin-brand-auth__submit {
        width: 100%;
    }

    body.liveuin-brand-app .liveuin-brand-app__header {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* PHASE LIVEUIN-CONNECTOR-10AS-C3 WIDGET ENCAPSULATION LOCK
   Product scope:
   - Protects LiveUin widgets/components from theme form, button, grid, and card styling.
   - Keeps widgets theme-friendly and embeddable.
   - Does not hide sidebars.
   - Does not resize theme containers.
   - Does not use global body/page layout overrides.
   - Does not change routes, handlers, shortcodes, setup, SSO, or endpoints.
*/

.liveuin-portal-shell,
.liveuin-zero-friction-embed,
.liveuin-brand-auth,
.liveuin-brand-dashboard,
.liveuin-partner-portal,
.liveuin-mapping-preview {
    --liveuin-widget-accent: var(--liveuin-brand-accent, #2563eb);
    --liveuin-widget-accent-strong: var(--liveuin-brand-accent-strong, #1d4ed8);
    --liveuin-widget-ink: var(--liveuin-brand-ink, #101828);
    --liveuin-widget-muted: var(--liveuin-brand-muted, #667085);
    --liveuin-widget-surface: var(--liveuin-brand-surface, #ffffff);
    --liveuin-widget-soft: var(--liveuin-brand-soft, #f8fafc);
    --liveuin-widget-line: var(--liveuin-brand-line, rgba(16, 24, 40, 0.12));
    --liveuin-widget-radius: var(--liveuin-brand-radius, 22px);
    --liveuin-widget-shadow: var(--liveuin-brand-shadow, 0 18px 48px rgba(15, 23, 42, 0.10));

    box-sizing: border-box !important;
    isolation: isolate;
    contain: layout paint;
    max-width: 100%;
    color: var(--liveuin-widget-ink);
}

.liveuin-portal-shell *,
.liveuin-portal-shell *::before,
.liveuin-portal-shell *::after,
.liveuin-zero-friction-embed *,
.liveuin-zero-friction-embed *::before,
.liveuin-zero-friction-embed *::after,
.liveuin-brand-auth *,
.liveuin-brand-auth *::before,
.liveuin-brand-auth *::after,
.liveuin-brand-dashboard *,
.liveuin-brand-dashboard *::before,
.liveuin-brand-dashboard *::after,
.liveuin-partner-portal *,
.liveuin-partner-portal *::before,
.liveuin-partner-portal *::after,
.liveuin-mapping-preview *,
.liveuin-mapping-preview *::before,
.liveuin-mapping-preview *::after {
    box-sizing: border-box !important;
}

.liveuin-brand-auth__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 !important;
}

.liveuin-brand-auth__form > .liveuin-brand-auth__label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 -6px !important;
    color: var(--liveuin-widget-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.liveuin-brand-auth__input,
.liveuin-brand-auth__form input,
.liveuin-brand-auth__form select,
.liveuin-brand-auth__form textarea {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid var(--liveuin-widget-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--liveuin-widget-ink) !important;
    font: inherit !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    appearance: auto !important;
}

.liveuin-brand-auth__input:focus,
.liveuin-brand-auth__form input:focus,
.liveuin-brand-auth__form select:focus,
.liveuin-brand-auth__form textarea:focus {
    border-color: rgba(37, 99, 235, 0.62) !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.liveuin-brand-auth__remember {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
    color: var(--liveuin-widget-muted) !important;
    font-size: 13px !important;
}

.liveuin-brand-auth__remember input[type="checkbox"] {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}

.liveuin-brand-auth__submit,
.liveuin-portal-shell__button,
.liveuin-zero-friction-embed__button,
.liveuin-embed-button,
.liveuin-auth-provider-button,
.liveuin-auth-provider-qr {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 44px !important;
    padding: 11px 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--liveuin-widget-line) !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    cursor: pointer;
}

.liveuin-brand-auth__submit,
.liveuin-zero-friction-embed__button.primary,
.liveuin-portal-shell__button.primary,
.liveuin-embed-button--login,
.liveuin-embed-button--dashboard,
.liveuin-embed-button--smart {
    border-color: var(--liveuin-widget-accent) !important;
    background: linear-gradient(135deg, var(--liveuin-widget-accent), var(--liveuin-widget-accent-strong)) !important;
    color: #fff !important;
}

.liveuin-brand-auth__submit {
    width: auto !important;
    min-width: 148px !important;
    justify-self: start !important;
}

.liveuin-auth-provider-wrap {
    width: 100% !important;
    margin-top: 20px !important;
}

.liveuin-auth-provider-divider {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 18px 0 14px !important;
    color: var(--liveuin-widget-muted) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.liveuin-auth-provider-divider::before,
.liveuin-auth-provider-divider::after {
    content: "" !important;
    height: 1px !important;
    background: var(--liveuin-widget-line) !important;
}

.liveuin-auth-provider-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

.liveuin-auth-provider-button,
.liveuin-auth-provider-qr {
    width: 100% !important;
    background: #fff !important;
    color: var(--liveuin-widget-ink) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

.liveuin-auth-provider-button--wechat,
.liveuin-auth-provider-qr {
    border-color: rgba(22, 163, 74, 0.42) !important;
}

.liveuin-auth-provider-button.is-disabled,
.liveuin-auth-provider-qr.is-disabled {
    opacity: 0.46 !important;
    cursor: not-allowed !important;
    filter: grayscale(0.18) !important;
    box-shadow: none !important;
}

.liveuin-auth-provider-note {
    margin-top: 10px !important;
    color: var(--liveuin-widget-muted) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

.liveuin-brand-dashboard__grid,
.liveuin-partner-portal__grid,
.liveuin-mapping-preview__summary,
.liveuin-mapping-preview__grid {
    display: grid !important;
    gap: 14px !important;
}

.liveuin-brand-dashboard__grid,
.liveuin-partner-portal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.liveuin-brand-dashboard__tile,
.liveuin-partner-portal__card,
.liveuin-mapping-preview__stat,
.liveuin-mapping-preview__panel {
    min-width: 0 !important;
    border: 1px solid var(--liveuin-widget-line) !important;
    border-radius: var(--liveuin-widget-radius) !important;
    background: var(--liveuin-widget-surface) !important;
    color: var(--liveuin-widget-ink) !important;
    box-shadow: var(--liveuin-widget-shadow) !important;
}

.liveuin-brand-dashboard__tile {
    display: block !important;
    text-decoration: none !important;
}

.liveuin-brand-dashboard__tile:hover,
.liveuin-portal-shell__button:hover,
.liveuin-zero-friction-embed__button:hover,
.liveuin-embed-button:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.liveuin-portal-shell__header,
.liveuin-brand-auth .liveuin-portal-shell__header,
.liveuin-brand-dashboard .liveuin-portal-shell__header,
.liveuin-partner-portal__intro {
    width: 100% !important;
    max-width: 820px !important;
}

.liveuin-portal-shell__eyebrow {
    display: inline-flex !important;
    width: auto !important;
}

@media (max-width: 900px) {
    .liveuin-brand-dashboard__grid,
    .liveuin-partner-portal__grid,
    .liveuin-mapping-preview__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .liveuin-auth-provider-row {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .liveuin-brand-dashboard__grid,
    .liveuin-partner-portal__grid,
    .liveuin-mapping-preview__summary,
    .liveuin-mapping-preview__grid {
        grid-template-columns: 1fr !important;
    }

    .liveuin-brand-auth__submit,
    .liveuin-portal-shell__button,
    .liveuin-zero-friction-embed__button,
    .liveuin-embed-button {
        width: 100% !important;
    }
}

/* PHASE LIVEUIN-CONNECTOR-10AX-B2 SMART INVENTORY UI POLISH */
.liveuin-smart-inventory {
    --liveuin-smart-border: rgba(15, 23, 42, 0.10);
    --liveuin-smart-muted: #667085;
    --liveuin-smart-ink: #101828;
    --liveuin-smart-soft: #f8fafc;
}

.liveuin-smart-inventory__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.liveuin-smart-inventory__summary-card {
    padding: 16px;
    border: 1px solid var(--liveuin-smart-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.liveuin-smart-inventory__summary-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--liveuin-smart-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.liveuin-smart-inventory__summary-card strong {
    display: block;
    color: var(--liveuin-smart-ink);
    font-size: 20px;
    line-height: 1.2;
}

.liveuin-smart-inventory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.liveuin-smart-inventory__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--liveuin-smart-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.92);
    color: var(--liveuin-smart-ink);
    text-decoration: none !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.liveuin-smart-inventory__card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
}

.liveuin-smart-inventory__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.liveuin-smart-inventory__status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.liveuin-smart-inventory__updated {
    color: var(--liveuin-smart-muted);
    font-size: 12px;
    white-space: nowrap;
}

.liveuin-smart-inventory__card h4 {
    margin: 0 0 12px;
    color: var(--liveuin-smart-ink);
    font-size: 18px;
    line-height: 1.25;
}

.liveuin-smart-inventory__meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--liveuin-smart-muted);
    font-size: 13px;
    line-height: 1.45;
}

.liveuin-smart-inventory__meta span {
    display: block;
}

.liveuin-smart-inventory__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #2563eb;
    font-weight: 800;
}

.liveuin-smart-inventory__cta em {
    font-style: normal;
    font-size: 20px;
    transition: transform 160ms ease;
}

.liveuin-smart-inventory__card:hover .liveuin-smart-inventory__cta em {
    transform: translateX(3px);
}

.liveuin-smart-inventory__empty {
    padding: 22px;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 22px;
    background: var(--liveuin-smart-soft);
}

.liveuin-smart-inventory__empty h4 {
    margin: 0 0 8px;
    color: var(--liveuin-smart-ink);
    font-size: 20px;
}

.liveuin-smart-inventory__empty p {
    margin: 0 0 16px;
    color: var(--liveuin-smart-muted);
}

@media (max-width: 980px) {
    .liveuin-smart-inventory__summary,
    .liveuin-smart-inventory__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .liveuin-smart-inventory__summary,
    .liveuin-smart-inventory__grid {
        grid-template-columns: 1fr;
    }

    .liveuin-smart-inventory__card-top {
        align-items: flex-start;
        flex-direction: column;
    }
}
