/**
 * Mzansi Business Admin Suite — application shell + screens.
 * Self-contained (mzb- namespace), theme-independent, zero framework.
 * Rebranding: --mzb-accent is injected from Settings; swap the palette
 * tokens below for a full per-client skin. Inter (SIL OFL 1.1) is bundled
 * for the approved document/brand typography.
 */

@font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url("../fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 500;
        font-display: swap;
        src: url("../fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 600;
        font-display: swap;
        src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 700;
        font-display: swap;
        src: url("../fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
        font-family: "Inter";
        font-style: normal;
        font-weight: 800;
        font-display: swap;
        src: url("../fonts/Inter-ExtraBold.woff2") format("woff2");
}

:root {
        --mzb-accent: #174C3D;
        --mzb-accent-dark: #0E362B;
        --mzb-ink: #1c2733;
        --mzb-muted: #64748b;
        --mzb-line: #e2e6ec;
        --mzb-bg: #f1f3f6;
        --mzb-card: #ffffff;
        --mzb-good: #1a7a3a;
        --mzb-good-bg: #e3f6e9;
        --mzb-warn: #8a6100;
        --mzb-warn-bg: #fdf2cf;
        --mzb-danger: #a03024;
        --mzb-danger-bg: #fde2e0;
        --mzb-info: #1d4ed8;
        --mzb-info-bg: #e0edff;
        --mzb-radius: 10px;
        --mzb-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
}

* { box-sizing: border-box; }

.mzb-body {
        margin: 0;
        padding: 0;
        background: var(--mzb-bg);
        color: var(--mzb-ink);
        font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: 15px;
        line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Top bar                                                              */
/* ------------------------------------------------------------------ */

.mzb-app { min-height: 100vh; display: flex; flex-direction: column; }

.mzb-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.65rem 1.25rem;
        background: var(--mzb-accent-dark);
        color: #fff;
}

.mzb-topbar-brand { display: flex; align-items: center; gap: 0.6rem; }

.mzb-brand-logo { max-height: 30px; max-width: 140px; width: auto; display: block; }

.mzb-brand-monogram {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: #fff;
        color: var(--mzb-accent-dark);
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 0.5px;
}

.mzb-topbar-suite { font-weight: 700; font-size: 15px; letter-spacing: 0.2px; }

.mzb-topbar-side { display: flex; align-items: center; gap: 1rem; font-size: 13.5px; }

.mzb-topbar-biz { opacity: 0.85; }
.mzb-topbar-user { font-weight: 600; }

.mzb-topbar-logout {
        color: #fff;
        text-decoration: none;
        padding: 0.35rem 0.8rem;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 999px;
}
.mzb-topbar-logout:hover, .mzb-topbar-logout:focus { background: rgba(255, 255, 255, 0.12); }

/* ------------------------------------------------------------------ */
/* Layout: sidebar + content                                            */
/* ------------------------------------------------------------------ */

.mzb-layout { display: flex; flex: 1; align-items: stretch; }

.mzb-nav {
        width: 208px;
        flex: 0 0 auto;
        background: var(--mzb-card);
        border-right: 1px solid var(--mzb-line);
        padding: 1rem 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
}

.mzb-nav-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.6rem 0.75rem;
        border-radius: 8px;
        color: var(--mzb-ink);
        text-decoration: none;
        font-weight: 500;
        font-size: 14.5px;
}
.mzb-nav-item .dashicons { font-size: 20px; width: 20px; height: 20px; color: var(--mzb-muted); }
.mzb-nav-item:hover, .mzb-nav-item:focus { background: #eef2f7; }
.mzb-nav-item.is-active { background: var(--mzb-accent); color: #fff; }
.mzb-nav-item.is-active .dashicons { color: #fff; }

.mzb-content { flex: 1; min-width: 0; padding: 1.5rem 2rem 3rem; max-width: 1180px; }

.mzb-shell-foot {
        padding: 0.8rem 1.25rem;
        font-size: 12.5px;
        color: var(--mzb-muted);
        background: transparent;
        border-top: 1px solid var(--mzb-line);
}

/* ------------------------------------------------------------------ */
/* Typography + headings                                                */
/* ------------------------------------------------------------------ */

.mzb-eyebrow {
        margin: 0 0 0.2rem;
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: var(--mzb-muted);
}

.mzb-h1 { margin: 0 0 0.35rem; font-size: 24px; font-weight: 700; letter-spacing: -0.2px; }
.mzb-h2 { margin: 0 0 0.35rem; font-size: 17px; font-weight: 700; }
.mzb-h3 { margin: 1.1rem 0 0.35rem; font-size: 14.5px; font-weight: 700; }

.mzb-muted { color: var(--mzb-muted); font-size: 13.5px; }
.mzb-context-line { color: var(--mzb-muted); font-size: 14px; margin: 0.2rem 0 0.9rem; }

/* ------------------------------------------------------------------ */
/* Screen head + KPI cards                                              */
/* ------------------------------------------------------------------ */

.mzb-screen-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
}

.mzb-screen-head-main { min-width: 0; }
.mzb-screen-head-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.mzb-kpis {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
}

.mzb-kpi {
        background: var(--mzb-card);
        border: 1px solid var(--mzb-line);
        border-radius: var(--mzb-radius);
        box-shadow: var(--mzb-shadow);
        padding: 1rem 1.1rem;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
}

.mzb-kpi-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--mzb-muted); }
.mzb-kpi-value { font-size: 26px; font-weight: 700; letter-spacing: -0.4px; }
.mzb-kpi-foot { font-size: 12.5px; color: var(--mzb-muted); }

.mzb-kpi-alert .mzb-kpi-value { color: var(--mzb-danger); }
.mzb-kpi-good .mzb-kpi-value { color: var(--mzb-good); }

/* ------------------------------------------------------------------ */
/* Cards, grids, empty states                                           */
/* ------------------------------------------------------------------ */

.mzb-card {
        background: var(--mzb-card);
        border: 1px solid var(--mzb-line);
        border-radius: var(--mzb-radius);
        box-shadow: var(--mzb-shadow);
        padding: 1.25rem 1.4rem;
        margin-bottom: 1.25rem;
}

.mzb-card-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.75rem;
}
.mzb-card-head a { font-size: 13.5px; }

.mzb-card-foot {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--mzb-line);
        flex-wrap: wrap;
}

.mzb-grid-2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 1.25rem;
        align-items: start;
}

.mzb-empty { text-align: center; padding: 1.75rem 1rem; }
.mzb-empty p { margin: 0.25rem 0; }
.mzb-empty .mzb-btn { margin-top: 0.9rem; }

.mzb-narrow { max-width: 560px; }

/* ------------------------------------------------------------------ */
/* Tables                                                               */
/* ------------------------------------------------------------------ */

.mzb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mzb-table th {
        text-align: left;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        color: var(--mzb-muted);
        padding: 0.5rem 0.6rem;
        border-bottom: 2px solid var(--mzb-line);
}
.mzb-table td { padding: 0.6rem; border-bottom: 1px solid var(--mzb-line); vertical-align: top; }
.mzb-table tbody tr:last-child td { border-bottom: 0; }
.mzb-table a { color: var(--mzb-accent); text-decoration: none; font-weight: 600; }
.mzb-table a:hover, .mzb-table a:focus { text-decoration: underline; }

.mzb-right { text-align: right; }

.mzb-totals-table td { border-bottom: 1px solid var(--mzb-line); }
.mzb-total-row td { font-weight: 700; font-size: 15.5px; }
.mzb-balance-row td { font-weight: 700; color: var(--mzb-accent); }

/* Status pills */
.mzb-pill {
        display: inline-block;
        padding: 0.15rem 0.6rem;
        border-radius: 999px;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        background: #eef2f7;
        color: var(--mzb-muted);
        white-space: nowrap;
}
.mzb-pill-paid, .mzb-pill-accepted { background: var(--mzb-good-bg); color: var(--mzb-good); }
.mzb-pill-partial { background: var(--mzb-warn-bg); color: var(--mzb-warn); }
.mzb-pill-overdue, .mzb-pill-declined { background: var(--mzb-danger-bg); color: var(--mzb-danger); }
.mzb-pill-sent { background: var(--mzb-info-bg); color: var(--mzb-info); }
.mzb-pill-archived, .mzb-pill-void, .mzb-pill-draft, .mzb-pill-expired { background: #eef2f7; color: var(--mzb-muted); }

/* ------------------------------------------------------------------ */
/* Buttons, links, forms                                                */
/* ------------------------------------------------------------------ */

.mzb-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.55rem 1.15rem;
        border-radius: 8px;
        border: 1px solid transparent;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 120ms ease, border-color 120ms ease;
}

.mzb-btn-primary { background: var(--mzb-accent); color: #fff; }
.mzb-btn-primary:hover, .mzb-btn-primary:focus { background: var(--mzb-accent-dark); }

.mzb-btn-secondary { background: #fff; border-color: var(--mzb-line); color: var(--mzb-ink); }
.mzb-btn-secondary:hover, .mzb-btn-secondary:focus { border-color: var(--mzb-muted); }

.mzb-btn-ghost { background: transparent; color: var(--mzb-muted); }
.mzb-btn-ghost:hover, .mzb-btn-ghost:focus { color: var(--mzb-ink); }

.mzb-btn-block { width: 100%; }

.mzb-link { color: var(--mzb-accent); }
.mzb-link-danger { color: var(--mzb-danger); text-decoration: none; }
.mzb-link-danger:hover, .mzb-link-danger:focus { text-decoration: underline; }

.mzb-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--mzb-ink);
}

.mzb-req { color: var(--mzb-danger); }

.mzb-input {
        width: 100%;
        padding: 0.55rem 0.7rem;
        border: 1px solid var(--mzb-line);
        border-radius: 8px;
        font-size: 14px;
        font-family: inherit;
        background: #fff;
        color: var(--mzb-ink);
}
.mzb-input:focus { outline: 2px solid color-mix(in srgb, var(--mzb-accent) 35%, transparent); border-color: var(--mzb-accent); }
.mzb-input[readonly] { background: #f8fafc; color: var(--mzb-muted); }

textarea.mzb-input { resize: vertical; }

.mzb-input-search { max-width: 320px; }
.mzb-input-color { width: 64px; height: 38px; padding: 2px; }

.mzb-check { display: flex; align-items: center; gap: 0.5rem; margin: 0.8rem 0; font-size: 14px; }
.mzb-check input[type="checkbox"] { width: 16px; height: 16px; }

.mzb-form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.9rem 1.1rem;
        margin-top: 0.6rem;
}

.mzb-field { min-width: 0; }
.mzb-span-2 { grid-column: span 2; }

.mzb-form-foot {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.1rem;
}

.mzb-field-notes { margin-top: 1rem; }

/* Toolbar + filters */
.mzb-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
}
.mzb-toolbar-form { display: flex; gap: 0.5rem; align-items: center; }

.mzb-filters { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.mzb-filters a {
        padding: 0.4rem 0.85rem;
        border-radius: 999px;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--mzb-muted);
        text-decoration: none;
        background: transparent;
        border: 1px solid transparent;
}
.mzb-filters a:hover, .mzb-filters a:focus { color: var(--mzb-ink); background: #eef2f7; }
.mzb-filters a.is-active { background: var(--mzb-accent); color: #fff; }

/* Alerts */
.mzb-alert {
        padding: 0.7rem 1rem;
        border-radius: 8px;
        font-size: 14px;
        margin: 0.4rem 0 0.6rem;
}
.mzb-alert-success { background: var(--mzb-good-bg); color: var(--mzb-good); border: 1px solid #bfe8cc; }
.mzb-alert-error { background: var(--mzb-danger-bg); color: var(--mzb-danger); border: 1px solid #f3c1bc; }

/* Line item builder */
.mzb-items-table { width: 100%; border-collapse: collapse; }
.mzb-items-table th {
        text-align: left;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: var(--mzb-muted);
        padding: 0.4rem 0.4rem 0.5rem;
        border-bottom: 2px solid var(--mzb-line);
}
.mzb-items-table td { padding: 0.35rem 0.3rem; }
.mzb-col-qty { width: 90px; }
.mzb-col-rate { width: 130px; }
.mzb-col-remove { width: 40px; }

.mzb-btn-row-remove {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        border: 1px solid var(--mzb-line);
        background: #fff;
        color: var(--mzb-muted);
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
}
.mzb-btn-row-remove:hover, .mzb-btn-row-remove:focus { color: var(--mzb-danger); border-color: var(--mzb-danger); }

/* Detail meta row */
.mzb-detail-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.1rem;
}
.mzb-detail-meta > div:first-child { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.mzb-detail-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Inline payment/status forms */
.mzb-inline-form { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--mzb-line); }
.mzb-inline-fields {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
        margin-bottom: 0.9rem;
}
.mzb-inline-status { display: flex; align-items: end; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mzb-inline-status .mzb-input { width: auto; min-width: 160px; }
.mzb-quote-controls { margin-top: 0.5rem; }

.mzb-danger-zone { margin-top: 0.5rem; font-size: 13.5px; }

/* ------------------------------------------------------------------ */
/* Login screen                                                         */
/* ------------------------------------------------------------------ */

.mzb-login-card {
        max-width: 420px;
        margin: 7vh auto 3rem;
        background: var(--mzb-card);
        border: 1px solid var(--mzb-line);
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
        padding: 2rem 2.25rem 1.5rem;
}

.mzb-login-brand { text-align: center; margin-bottom: 1.4rem; }
.mzb-login-brand .mzb-brand-logo { margin: 0 auto 0.6rem; max-height: 52px; }
.mzb-login-brand .mzb-brand-monogram { width: 52px; height: 52px; font-size: 22px; border-radius: 14px; background: var(--mzb-accent); color: #fff; margin-bottom: 0.6rem; }

.mzb-login-suite { margin: 0 0 0.3rem; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mzb-muted); }
.mzb-login-title { margin: 0 0 0.35rem; font-size: 24px; font-weight: 700; }
.mzb-login-sub { margin: 0; color: var(--mzb-muted); font-size: 14px; }

.mzb-login-form { display: flex; flex-direction: column; gap: 0.75rem; }
.mzb-login-form .mzb-check { margin: 0.1rem 0 0.4rem; }
.mzb-login-form .mzb-btn { margin-top: 0.3rem; padding: 0.7rem 1rem; font-size: 15px; }

.mzb-login-foot {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin: 1.2rem 0 0;
        padding-top: 1rem;
        border-top: 1px solid var(--mzb-line);
        font-size: 13.5px;
}
.mzb-login-foot a { color: var(--mzb-accent); text-decoration: none; }
.mzb-login-foot a:hover, .mzb-login-foot a:focus { text-decoration: underline; }
.mzb-login-foot .mzb-muted { color: var(--mzb-muted); }
.mzb-dot { color: var(--mzb-muted); }

/* ------------------------------------------------------------------ */
/* Responsive — full width everywhere, scroll-strip nav on phones.      */
/* (No hamburger: the nav becomes a horizontally scrollable strip,      */
/* items keep their readable size — consistent with our mobile rules.)  */
/* ------------------------------------------------------------------ */

@media (max-width: 782px) {
        .mzb-topbar { padding: 0.6rem 1rem; flex-wrap: wrap; }
        .mzb-topbar-biz { display: none; }
        .mzb-topbar-side { gap: 0.6rem; }

        .mzb-layout { display: block; }

        .mzb-nav {
                width: auto;
                flex-direction: row;
                align-items: center;
                gap: 0.25rem;
                padding: 0.5rem 0.75rem;
                border-right: 0;
                border-bottom: 1px solid var(--mzb-line);
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                white-space: nowrap;
        }
        .mzb-nav::-webkit-scrollbar { display: none; }

        .mzb-nav-item {
                flex: 0 0 auto;
                padding: 0.5rem 0.8rem;
                font-size: 14px;
        }

        .mzb-content { padding: 1.1rem 1rem 2.5rem; max-width: none; }

        .mzb-span-2 { grid-column: auto; }
        .mzb-screen-head { flex-direction: column; align-items: stretch; }
        .mzb-screen-head-actions .mzb-btn { flex: 1; }
        .mzb-kpi-value { font-size: 22px; }
        .mzb-inline-fields { grid-template-columns: 1fr 1fr; }

        /* Tables become horizontally scrollable blocks instead of shrinking. */
        .mzb-card { overflow-x: auto; }
        .mzb-table { min-width: 640px; }
}

@media (max-width: 480px) {
        .mzb-login-card { margin: 4vh 1rem 2rem; padding: 1.5rem 1.25rem; }
        .mzb-inline-fields { grid-template-columns: 1fr; }
        .mzb-grid-2 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Hardening: the suite owns its typography. Active themes enqueue      */
/* global heading styles that would otherwise leak into the app shell.  */
/* ------------------------------------------------------------------ */

body.mzb-body,
body.mzb-body h1, body.mzb-body h2, body.mzb-body h3, body.mzb-body h4,
body.mzb-body h5, body.mzb-body h6, body.mzb-body p, body.mzb-body a,
body.mzb-body button, body.mzb-body input, body.mzb-body select,
body.mzb-body textarea, body.mzb-body label, body.mzb-body table,
body.mzb-body th, body.mzb-body td {
        font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.mzb-body h1, body.mzb-body h2, body.mzb-body h3 {
        font-weight: 700;
        letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ */
/* v1.2: catalogue picker, logo picker, WooCommerce card                */
/* ------------------------------------------------------------------ */
.mzb-item-picker {
        margin: 0.2rem 0 0.8rem;
        padding: 0.7rem 0.8rem;
        border: 1px dashed var(--mzb-line);
        border-radius: 10px;
        background: #f8fafc;
}
.mzb-item-picker .mzb-label { margin-bottom: 0.3rem; }
.mzb-item-picker .mzb-input { max-width: 560px; }
.mzb-item-picker .mzb-muted { margin-top: 0.35rem; font-size: 12.5px; }

.mzb-logo-picker {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem;
        border: 1px solid var(--mzb-line);
        border-radius: 10px;
        background: #f8fafc;
}
.mzb-logo-preview {
        width: 190px;
        height: 90px;
        flex: 0 0 190px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid var(--mzb-line);
        border-radius: 8px;
        overflow: hidden;
}
.mzb-logo-preview img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* v1.3.1: reversed-logo preview sits on a dark surface so light artwork is visible. */
.mzb-logo-preview.mzb-logo-preview-dark { background: #232a28; }
.mzb-logo-placeholder { color: var(--mzb-muted); font-size: 12.5px; text-align: center; padding: 0 0.5rem; }
.mzb-logo-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.mzb-logo-actions .mzb-muted { flex-basis: 100%; margin-top: 0.15rem; font-size: 12.5px; }

.mzb-catalogue-stats { margin: 0 0 0.9rem; font-size: 13.5px; color: var(--mzb-muted); }
.mzb-catalogue-stats strong { color: var(--mzb-ink); }
.mzb-hub-status { margin: 0 0 1rem; font-size: 13.5px; word-break: break-all; }
.mzb-hub-status--missing { color: var(--mzb-danger); }
.settings .mzb-inline-fields { align-items: end; }

.mzb-pill-wc { background: #efe7fb; color: #6d28d9; }
.mzb-pill-manual { background: #eef2f7; color: var(--mzb-muted); }

.mzb-searchbar { display: flex; gap: 0.5rem; margin: 0.7rem 0 1rem; flex-wrap: wrap; }
.mzb-searchbar .mzb-input { width: min(340px, 100%); }
.mzb-filter-sep { width: 1px; background: var(--mzb-line); align-self: stretch; margin: 0.15rem 0.35rem; }

.mzb-input-auto { width: auto; min-width: 200px; }

.mzb-alert-info { background: var(--mzb-info-bg); color: var(--mzb-info); border: 1px solid #bfd6f7; }

@media (max-width: 640px) {
        .mzb-logo-picker { flex-direction: column; align-items: stretch; }
        .mzb-logo-preview { width: 100%; flex-basis: auto; }
}
