/**
 * WondaBuilder — Phase 0 styles.
 * Developed by Wonderweb Technologies
 * Phone: +263 78 428 9689 · https://www.wonderweb.co.zw
 */

:root {
    --ink:        #0D122E;
    --ink-soft:   #1c244f;
    --accent:     #ff7e05;
    --bg:         #f6f8fc;
    --surface:    #ffffff;
    --text:       #1e293b;
    --muted:      #64748b;
    --line:       #e2e8f0;
    --ok:         #16a34a;
    --warn:       #d97706;
    --err:        #dc2626;
    --radius:     14px;
    --radius-lg:  20px;
    --shadow-sm:  0 10px 24px -20px rgba(13,18,46,.35);
    --shadow-md:  0 20px 40px -24px rgba(13,18,46,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.2; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #eef2f7; padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

/* ==========================================================================
   Shells
   ========================================================================== */

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.shell-app { flex-direction: row; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; width: 100%; }
.container-narrow { max-width: 520px; }

/* ==========================================================================
   Top bar (guest shell)
   ========================================================================== */

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-inner {
    max-width: 1100px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--ink), var(--ink-soft));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
}
.brand-name { font-size: 17px; }

.topnav { display: flex; align-items: center; gap: 16px; }
.link { color: var(--muted); font-weight: 500; }
.link:hover { color: var(--ink); }

.main { flex: 1; }

.footer {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 80px 0 60px; text-align: center; }
.hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 780px;
    margin: 16px auto 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
    color: var(--muted);
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.pill {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feature-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}
.feature-row li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.feature-row strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.feature-row span { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-soft); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #f1f5f9; color: var(--ink); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Auth
   ========================================================================== */

.auth { padding: 60px 0 80px; }
.auth-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px 32px;
    border: 1px solid var(--line);
}
.auth-title { font-size: 24px; margin-bottom: 6px; }
.auth-sub { color: var(--muted); margin-bottom: 26px; font-size: 14px; }
.auth-sub-title { font-size: 15px; margin: 22px 0 10px; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.auth-alt a { color: var(--ink); font-weight: 600; }
.auth-alt a:hover { color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: block; }
.field-label { display: block; font-size: 12px; font-weight: 600; color: #334155; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(13,18,46,0.1);
}
.field-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
}
.alert-error   { background: #fef2f2; color: #7f1d1d; border-left-color: var(--err); }
.alert-success { background: #ecfdf5; color: #14532d; border-left-color: var(--ok); }
.alert-warning { background: #fffbeb; color: #78350f; border-left-color: var(--warn); }
.alert ul { margin: 6px 0 0 20px; padding: 0; }

/* ==========================================================================
   App shell (logged-in)
   ========================================================================== */

.sidebar {
    width: 260px;
    background: var(--surface);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    min-height: 100vh;
    position: sticky;
    top: 0;
}
.sidebar .brand { margin-bottom: 28px; }
.sidenav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidenav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: background 0.12s;
}
.sidenav-link:hover { background: #f1f5f9; color: var(--ink); }
.sidenav-link.is-active { background: #eef2ff; color: var(--ink); font-weight: 600; }
.sidenav-link.is-muted { color: var(--muted); }
.sidenav-link.is-muted small { font-size: 11px; opacity: 0.7; }

.sidebar-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.user-chip { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.user-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ink), var(--ink-soft));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
}
.user-meta { flex: 1; min-width: 0; }
.user-name { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { color: var(--muted); font-size: 12px; }

.app-main { flex: 1; padding: 40px; overflow-x: hidden; }

/* ==========================================================================
   Pages
   ========================================================================== */

.page { max-width: 1100px; margin: 0 auto; }
.page-head { margin-bottom: 32px; }
.page-title { font-size: 28px; margin-bottom: 6px; }
.page-sub { color: var(--muted); }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.card-label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.card-value { font-size: 20px; font-weight: 700; color: var(--ink); word-break: break-word; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }

.empty-state {
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
}
.empty-state-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: #eef2ff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 18px;
}
.empty-state h2 { font-size: 20px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

.step-list { margin: 6px 0 20px 20px; }
.step-list li { margin-bottom: 6px; color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
    .shell-app { flex-direction: column; }
    .sidebar { width: 100%; min-height: auto; position: static; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 18px; }
    .sidebar .brand { margin-bottom: 0; }
    .sidenav { flex-direction: row; flex: 0; gap: 4px; }
    .sidebar-footer { margin-top: 0; padding: 0; border: 0; }
    .user-chip, .sidebar-footer .btn { display: none; }
    .app-main { padding: 24px; }
    .hero { padding: 48px 0 40px; }
}

@media (max-width: 520px) {
    .topbar-inner { padding: 14px 16px; }
    .container { padding: 0 16px; }
    .auth-card { padding: 26px 22px; }
    .brand-name { display: none; }
}

/* ==== P3m2 mobile input zoom guard ==== */
/* iOS Safari auto-zooms on focus if any form control renders < 16px.
   body { font-size: 15px } inherits down to every input, so every tap
   triggers a zoom — the page then looks wider than the viewport and
   visually "overflows". 16px stops it. Scoped to mobile only. */
@media (max-width: 900px) {
    .field input,
    .field select,
    .field textarea,
    .email-create-field input,
    .email-create-field select,
    .wizard-grid input,
    .wizard-grid textarea,
    .wizard-grid select,
    .insp-input,
    .insp-textarea,
    .insp-select,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
/* p3m13: branding logo + version badge */
.brand-mark {
    position: relative;
}
.brand-mark.has-logo {
    background: #fff;
    border: 1px solid var(--line);
    padding: 0;
    overflow: hidden;
}
.brand-mark.has-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.brand-version {
    position: absolute;
    right: -5px;
    bottom: -5px;
    padding: 2px 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    background: #0D122E;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}
.brand-mark.has-logo .brand-version {
    right: 2px;
    bottom: 2px;
    padding: 1px 4px;
    font-size: 8px;
    background: rgba(13,18,46,0.88);
}
/* p3m13b: badge hangs below logo (override) */
.brand-mark.has-logo { overflow: visible; }
.brand-mark.has-logo img { border-radius: inherit; }
.brand-mark.has-logo .brand-version {
    right: -7px;
    bottom: -8px;
    padding: 1px 5px;
    font-size: 8px;
    background: #0D122E;
}
/* ============================================================
   WondaBuilder — dark navy side panel
   ============================================================ */

:root {
    --sidebar-bg:      #0A0F24;
    --sidebar-bg-soft: #111936;
    --sidebar-line:    rgba(255, 255, 255, 0.12);
    --sidebar-text:    #E2E8F0;
    --sidebar-muted:   #94A3B8;
    --brand-green:     #12c352;
    --brand-green-dark: #0fa347;
}

.shell-app .sidebar {
    background: var(--sidebar-bg) !important;
    border-right: 1px solid var(--sidebar-line) !important;
    color: var(--sidebar-text) !important;
}

.shell-app .sidebar .brand,
.shell-app .sidebar .brand-name,
.shell-app .sidebar .sidenav-link,
.shell-app .sidebar .user-name {
    color: var(--sidebar-text) !important;
}

.shell-app .sidebar .sidenav-link i { color: var(--sidebar-muted) !important; }

.shell-app .sidebar .sidenav-link:hover {
    background: var(--sidebar-bg-soft) !important;
    color: #ffffff !important;
}
.shell-app .sidebar .sidenav-link:hover i { color: var(--brand-green) !important; }

.shell-app .sidebar .sidenav-link.is-active {
    background: rgba(0, 255, 65, 0.12) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.shell-app .sidebar .sidenav-link.is-active i { color: var(--brand-green) !important; }

.shell-app .sidebar .user-role,
.shell-app .sidebar .sidebar-back-link,
.shell-app .sidebar .sidebar-site-slug {
    color: var(--sidebar-muted) !important;
}
.shell-app .sidebar .sidebar-site-name { color: #ffffff !important; }

.shell-app .sidebar .sidebar-footer {
    border-top: 1px solid var(--sidebar-line) !important;
}

.shell-app .sidebar .sidebar-signout {
    color: var(--sidebar-muted) !important;
    border-color: var(--sidebar-line) !important;
}
.shell-app .sidebar .sidebar-signout:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: var(--brand-green) !important;
}

.shell-app .sidebar .brand-mark {
    background: transparent !important;
    border: 1px solid var(--sidebar-line) !important;
}
.shell-app .sidebar .brand-mark:not(.has-logo) {
    background: var(--brand-green) !important;
    color: var(--sidebar-bg) !important;
    border-color: var(--brand-green) !important;
}
.shell-app .sidebar .brand-version {
    background: var(--brand-green) !important;
    color: var(--sidebar-bg) !important;
}

/* ============================================================
   WondaBuilder — large logos, hide wordmark when logo present
   ============================================================ */

/* --- Sidebar brand (dark navy) --- */
.shell-app .sidebar .brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 4px 0 18px !important;
    min-height: 0 !important;
    text-decoration: none;
}

.shell-app .sidebar .brand-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 auto !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 0 !important;
    color: #E2E8F0 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    overflow: visible !important;
    padding: 0 !important;
}

.shell-app .sidebar .brand-mark.has-logo {
    width: auto !important;
    min-width: 44px !important;
    height: 52px !important;
    max-width: 210px !important;
    background: transparent !important;
    border: 0 !important;
}

.shell-app .sidebar .brand-mark.has-logo img {
    display: block !important;
    height: 48px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

/* Hide the wordmark when a logo is present */
.shell-app .sidebar .brand.has-logo .brand-name {
    display: none !important;
}

/* Version badge pinned under the logo */
.shell-app .sidebar .brand-mark.has-logo .brand-version {
    position: absolute !important;
    right: -8px !important;
    bottom: 0 !important;
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    background: #12c352 !important;
    color: #0A0F24 !important;
    border-radius: 3px !important;
    letter-spacing: 0.03em !important;
    z-index: 2 !important;
}

/* --- Guest topbar (login, register, etc.) --- */
.shell-guest .topbar .brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none;
}

.shell-guest .topbar .brand-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 auto !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 0 !important;
    color: #0D122E !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    position: relative !important;
    overflow: visible !important;
    padding: 0 !important;
}

.shell-guest .topbar .brand-mark.has-logo {
    width: auto !important;
    min-width: 48px !important;
    height: 56px !important;
    max-width: 240px !important;
}

.shell-guest .topbar .brand-mark.has-logo img {
    display: block !important;
    height: 52px !important;
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain !important;
}

.shell-guest .topbar .brand.has-logo .brand-name {
    display: none !important;
}

.shell-guest .topbar .brand-mark.has-logo .brand-version {
    position: absolute !important;
    right: -8px !important;
    bottom: 0 !important;
    padding: 2px 6px !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    background: #0D122E !important;
    color: #12c352 !important;
    border-radius: 3px !important;
    letter-spacing: 0.03em !important;
}


/* ==== BRAND GREEN ACCENTS (wonda patch v1) ==== */
.btn-primary,
.btn-primary:focus { background: var(--brand-green) !important; border-color: var(--brand-green) !important; color: #fff !important; }
.btn-primary:hover  { background: var(--brand-green-dark) !important; border-color: var(--brand-green-dark) !important; color: #fff !important; }

.icon-btn.primary,
.icon-btn.primary:focus { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.icon-btn.primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: #fff; }

.pill-new,
.sidenav-badge,
.quick-strip-badge { background: var(--brand-green); color: #fff; }

.status-published,
.status-ready,
.status-active,
.status-ok { background: var(--brand-green); color: #fff; }

.quick-strip-item.is-primary { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.quick-strip-item.is-primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: #fff; }

.wizard-actions .btn-primary,
.wizard-actions-right .btn-primary { background: var(--brand-green) !important; border-color: var(--brand-green) !important; color: #fff !important; }

.editor-btn-primary { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.editor-btn-primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: #fff; }

.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo img { max-height: 64px; width: auto; }

/* ==== BRAND LOGO — no forced background (wonda patch) ==== */
/* Every has-logo mark renders on whatever the page background is.
   The logo file itself is expected to be transparent PNG/SVG. */
.brand-mark.has-logo,
.shell-guest .topbar .brand-mark.has-logo,
.shell-app .sidebar .brand-mark.has-logo,
.auth-logo img,
.ws-header-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* If a template ever wants a subtle container behind the mark,
   it should opt in with its own class, not the shared .brand-mark. */
/* ============================================================
   Guest logo — mobile shrink (forms/guest topbar)
   ============================================================ */
@media (max-width: 900px) {
    .shell-guest .topbar .brand-mark.has-logo {
        min-width: 36px !important;
        height: 42px !important;
        max-width: 160px !important;
    }
    .shell-guest .topbar .brand-mark.has-logo img {
        height: 38px !important;
        max-width: 150px !important;
    }
    .shell-guest .topbar .brand-mark.has-logo .brand-version {
        font-size: 7px !important;
        padding: 1px 4px !important;
        right: -5px !important;
        bottom: -2px !important;
    }

    /* Auth card logos — a touch smaller on mobile */
    .auth-logo img { max-height: 48px !important; }
    .auth-logo { margin-bottom: 16px; }

    /* Guest topbar itself — keep it tight */
    .shell-guest .topbar-inner { padding: 12px 16px; }
    .shell-guest .topnav .btn-sm { padding: 7px 14px; font-size: 12.5px; }
}

/* ============================================================
   Version badge — FINAL
   The badge is a sibling of .brand-mark (not a child). Anchor it
   to the brand link itself, in the brand's own padding-bottom
   space. This physically cannot overlap the logo.
   ============================================================ */

/* ---- Sidebar (dark navy) ---- */
.shell-app .sidebar .brand {
    position: relative !important;
    padding-bottom: 22px !important;
    overflow: visible !important;
}
.shell-app .sidebar .brand .brand-version,
.shell-app .sidebar .brand .brand-version-moved {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    bottom: 0 !important;
    padding: 2px 6px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    background: #12c352 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* Kill every earlier badge positioning inside the mark */
.shell-app .sidebar .brand-mark .brand-version {
    display: none !important;
}

/* ---- Guest topbar (light) ---- */
.shell-guest .topbar .brand {
    position: relative !important;
    padding-bottom: 20px !important;
    overflow: visible !important;
}
.shell-guest .topbar .brand .brand-version,
.shell-guest .topbar .brand .brand-version-moved {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    bottom: 0 !important;
    padding: 2px 6px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    background: #12c352 !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}
.shell-guest .topbar .brand-mark .brand-version {
    display: none !important;
}

/* Mobile — same shape, slightly smaller */
@media (max-width: 900px) {
    body.shell-app .sidebar .brand { padding-bottom: 20px !important; }
    body.shell-app .sidebar .brand .brand-version,
    body.shell-app .sidebar .brand .brand-version-moved {
        font-size: 7px !important;
        padding: 1px 5px !important;
    }
    .shell-guest .topbar .brand { padding-bottom: 18px !important; }
    .shell-guest .topbar .brand .brand-version,
    .shell-guest .topbar .brand .brand-version-moved {
        font-size: 7px !important;
        padding: 1px 5px !important;
    }
}
