:root {
    --vz-primary: #5147a3;
    --vz-primary-rgb: 81, 71, 163;
    --vz-primary-dark: #302a70;
    --vz-primary-soft: #efedfa;
    --vz-primary-border: #d5d0f0;
    --vz-body-bg: #f4f5f9;
    --vz-surface: #fff;
    --vz-heading: #252a3a;
    --vz-body-color: #50586a;
    --vz-muted: #7b8190;
    --vz-border: #e5e7ed;
    --vz-success: #087a5b;
    --vz-danger: #b4232c;
    --vz-warning: #a15c08;
    --vz-shadow-sm: 0 1px 2px rgba(56, 65, 74, .08);
    --vz-shadow: 0 7px 20px rgba(56, 65, 74, .09);
    --vz-radius: 12px;
    --navy: #211d46;
    --navy-soft: #2d275c;
    --orange: var(--vz-primary);
    --orange-dark: var(--vz-primary-dark);
    --orange-soft: var(--vz-primary-soft);
    --brand: var(--vz-primary);
    --brand-dark: var(--vz-primary-dark);
    --brand-soft: var(--vz-primary-soft);
    --ink: var(--vz-heading);
    --muted: var(--vz-muted);
    --line: var(--vz-border);
    --surface: var(--vz-surface);
    --background: var(--vz-body-bg);
    --canvas: var(--vz-body-bg);
    --bg: var(--vz-body-bg);
    --green: var(--vz-success);
    --red: var(--vz-danger);
    --danger: var(--vz-danger);
    --shadow: var(--vz-shadow);
    --catalog-green: var(--vz-primary);
    --catalog-green-dark: var(--vz-primary-dark);
    --catalog-green-soft: var(--vz-primary-soft);
    --catalog-ink: var(--vz-heading);
    --catalog-muted: var(--vz-muted);
    --catalog-line: var(--vz-border);
    --catalog-bg: var(--vz-body-bg);
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--vz-body-color); background: var(--vz-body-bg); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(var(--vz-primary-rgb), .24); outline-offset: 2px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--vz-primary-dark); text-decoration: none; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.app-shell, .shell { min-height: 100vh; display: grid; grid-template-columns: 276px minmax(0, 1fr); }
.main, .main-area { min-width: 0; }
.sidebar { position: sticky; z-index: 20; top: 0; width: 276px; height: 100vh; padding: 20px 16px 16px; display: flex; flex-direction: column; color: #fff; background: radial-gradient(circle at 88% 3%, rgba(137, 123, 235, .24), transparent 29%), linear-gradient(180deg, #25204f 0%, #191638 67%, #14122e 100%); box-shadow: 4px 0 18px rgba(25, 22, 56, .12); }
.sidebar-brand-row { display: flex; align-items: center; min-height: 58px; }
.sidebar .brand { flex: 1; min-width: 0; padding: 0 8px 16px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255, 255, 255, .09); color: #fff; text-decoration: none; }
.sidebar .brand-mark { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.sidebar .brand-copy { min-width: 0; display: grid; gap: 1px; }
.sidebar .brand-copy strong { color: #fff; font-size: 14px; letter-spacing: .055em; }
.sidebar .brand-copy > span { color: rgba(255, 255, 255, .55); font-size: 11px; }
.sidebar-close, .mobile-menu-button, .sidebar-overlay { display: none; }
.sidebar .nav-caption { margin: 20px 12px 8px; color: rgba(255, 255, 255, .38); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.sidebar .nav-list { margin: 0; display: grid; gap: 4px; }
.sidebar .nav-item { position: relative; min-height: 46px; padding: 0 12px; justify-content: flex-start; gap: 11px; border-radius: 9px; color: rgba(235, 232, 255, .67); font-size: 13px; font-weight: 600; transition: color .15s, background .15s, transform .15s; }
.sidebar .nav-item::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; margin: 0; border-radius: 0 4px 4px 0; background: transparent; }
.sidebar a.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .07); transform: translateX(2px); }
.sidebar .nav-item.active { color: #fff; background: rgba(137, 123, 235, .18); box-shadow: none; }
.sidebar .nav-item.active::before { content: ""; background: #a89af5; }
.sidebar .nav-item svg { width: 19px; height: 19px; }
.topbar { position: sticky; z-index: 15; top: 0; min-height: 72px; padding: 0 clamp(22px, 3.2vw, 44px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(229, 231, 237, .94); background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); }
.topbar-context { display: grid; gap: 3px; }
.topbar-kicker { color: var(--vz-muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.breadcrumb { margin: 0; display: flex; align-items: center; gap: 7px; color: #a0a4ae; font-size: 11px; }
.breadcrumb a { color: var(--vz-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--vz-primary); }
.breadcrumb strong { color: var(--vz-heading); font-weight: 700; }
.mobile-brand { color: var(--vz-primary-dark); text-decoration: none; cursor: pointer; }
.mobile-brand img { width: 34px; height: 34px; object-fit: contain; }
.profile { display: flex; align-items: center; gap: 9px; }
.profile-copy { display: grid; gap: 1px; text-align: right; }
.profile-copy strong { color: var(--vz-heading); font-size: 11px; }
.profile-copy span { max-width: 220px; color: var(--vz-muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--vz-primary-border); border-radius: 50%; color: var(--vz-primary-dark); background: var(--vz-primary-soft); font-size: 10px; font-weight: 800; }
.logout-form { margin: 0; }
.logout { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--vz-border); border-radius: 50%; color: var(--vz-muted); background: #fff; }
.logout:hover { color: var(--vz-danger); border-color: #efc7cb; background: #fff1f2; }
.logout svg { width: 17px; height: 17px; }
.superadmin-user-menu { position: relative; margin-left: auto; }
.user-menu-trigger { min-height: 54px; padding: 6px 9px; border: 0; border-radius: 10px; color: var(--vz-heading); background: transparent; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-menu-trigger:hover, .superadmin-user-menu.is-open .user-menu-trigger { background: #f5f3fc; }
.user-menu-avatar { width: 39px; height: 39px; border: 1px solid var(--vz-primary-border); border-radius: 50%; color: var(--vz-primary-dark); background: var(--vz-primary-soft); display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.user-menu-copy { min-width: 0; display: grid; gap: 1px; text-align: left; }
.user-menu-copy strong { max-width: 190px; overflow: hidden; color: var(--vz-heading); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-copy small { color: var(--vz-muted); font-size: 9px; }
.user-menu-chevron { width: 15px; height: 15px; color: #9b9fac; stroke-width: 1.9; transition: transform .18s ease; }
.superadmin-user-menu.is-open .user-menu-chevron { transform: rotate(180deg); }
.user-menu-dropdown { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: min(290px, calc(100vw - 28px)); padding: 7px; border: 1px solid var(--vz-border); border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(36,31,75,.16); }
.user-menu-dropdown[hidden] { display: none; }
.user-menu-header { padding: 11px 12px 13px; display: grid; gap: 3px; }
.user-menu-header > span { margin-bottom: 2px; color: var(--vz-muted); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.user-menu-header strong { color: var(--vz-heading); font-size: 12px; }
.user-menu-header small { overflow: hidden; color: var(--vz-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-item { width: 100%; min-height: 42px; padding: 0 11px; border: 0; border-radius: 8px; color: #505769; background: transparent; display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 11px; font-weight: 650; cursor: pointer; }
.user-menu-item:hover { color: var(--vz-primary-dark); background: var(--vz-primary-soft); }
.user-menu-item svg { width: 17px; height: 17px; flex: 0 0 auto; stroke-width: 1.8; }
.user-menu-divider { height: 1px; margin: 6px -7px; background: var(--vz-border); }
.user-menu-dropdown form { margin: 0; }
.user-menu-logout:hover { color: var(--vz-danger); background: #fff1f2; }
.content { width: auto; max-width: 1440px; margin: 0 auto; padding: 32px clamp(20px, 3.2vw, 44px) 58px; }
.home-welcome { margin-bottom: 0 !important; }
.home-welcome h1 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; }
.home-summary-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-summary-card { position: relative; min-height: 132px; padding: 19px; overflow: hidden; border: 1px solid var(--vz-border); border-radius: var(--vz-radius); color: inherit; background: #fff; box-shadow: var(--vz-shadow-sm); display: flex; align-items: flex-start; gap: 13px; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.home-summary-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -34px; bottom: -48px; border-radius: 50%; background: rgba(var(--vz-primary-rgb), .07); }
.home-summary-card:hover { color: inherit; border-color: var(--vz-primary-border); box-shadow: var(--vz-shadow); transform: translateY(-2px); }
.home-summary-icon { width: 39px; height: 39px; flex: 0 0 auto; border-radius: 10px; color: var(--vz-primary-dark); background: var(--vz-primary-soft); display: grid; place-items: center; }
.home-summary-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.home-summary-copy { position: relative; z-index: 1; min-width: 0; display: grid; }
.home-summary-copy > span { color: var(--vz-muted); font-size: 10px; font-weight: 700; }
.home-summary-copy strong { margin-top: 4px; color: var(--vz-heading); font-size: 26px; line-height: 1.1; }
.home-summary-copy small { margin-top: 5px; color: var(--vz-muted); font-size: 9px; }
.home-summary-arrow { position: relative; z-index: 1; margin-left: auto; color: var(--vz-primary); font-size: 18px; }
.page-breadcrumb { margin: 0 0 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #a0a4ae; font-size: 10px; }
.page-breadcrumb a { color: var(--vz-muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--vz-primary); }
.page-breadcrumb strong { color: var(--vz-heading); font-weight: 700; }

.admin-users-heading { align-items: center; }
.admin-users-heading h1 { font-size: clamp(22px, 2.1vw, 29px); }
.admin-users-heading .heading-actions { align-items: center; }
.admin-users-heading .count-card { min-width: 112px; padding: 9px 13px; border-radius: 10px; }
.admin-users-heading .count-card span { font-size: 9px; }
.admin-users-heading .count-card strong { margin-top: 1px; font-size: 18px; }
.admin-users-heading .primary-button { min-height: 40px; padding: 0 14px; border-radius: 8px; box-shadow: 0 4px 10px rgba(var(--vz-primary-rgb), .18); }
.admin-row-actions { display: flex; align-items: center; gap: 6px; }
.admin-table-action { min-height: 34px; padding: 0 11px; border: 1px solid #dce0e8; border-radius: 7px; color: #4d5566; background: #fff; display: inline-flex; align-items: center; text-decoration: none; font-size: 10px; font-weight: 750; cursor: pointer; }
.admin-table-action:hover { color: var(--vz-primary-dark); border-color: var(--vz-primary-border); background: var(--vz-primary-soft); }
.admin-table-action.danger { color: var(--vz-danger); border-color: #efc7cb; background: #fff7f8; }
.admin-table-action.danger:hover { background: #fff1f2; }
.admin-delete-dialog { width: min(92vw, 440px); padding: 0; border: 0; border-radius: 15px; color: var(--vz-body-color); background: #fff; box-shadow: 0 24px 70px rgba(31,27,67,.25); }
.admin-delete-dialog::backdrop { background: rgba(22,18,51,.57); backdrop-filter: blur(2px); }
.admin-delete-content { padding: 24px; }
.admin-delete-head { display: flex; align-items: center; justify-content: space-between; }
.admin-delete-head > button { width: 34px; height: 34px; border: 1px solid var(--vz-border); border-radius: 9px; color: var(--vz-muted); background: #fff; font-size: 21px; cursor: pointer; }
.admin-delete-icon { width: 40px; height: 40px; border-radius: 11px; color: var(--vz-danger); background: #fff1f2; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.admin-delete-dialog h2 { margin: 18px 0 8px; color: var(--vz-heading); font-size: 18px; }
.admin-delete-dialog p { margin: 0; color: var(--vz-muted); font-size: 11px; line-height: 1.65; }
.admin-delete-dialog p strong { color: var(--vz-heading); }
.admin-delete-actions { margin-top: 23px; display: flex; justify-content: flex-end; gap: 8px; }
.admin-delete-actions button { min-height: 40px; padding: 0 15px; border-radius: 8px; font-size: 10px; font-weight: 750; cursor: pointer; }
.admin-delete-actions .danger-button { border: 0; color: #fff; background: var(--vz-danger); }
.admin-delete-actions .danger-button:hover { background: #91202a; }
.admin-delete-actions button:disabled { opacity: .65; cursor: wait; }
.admin-edit-heading h1 { font-size: clamp(23px, 2.3vw, 31px); }
.admin-edit-card { padding: 24px; }
.admin-active-choice { padding: 13px; border: 1px solid var(--vz-border); border-radius: 10px; background: #f8f9fb; display: flex !important; align-items: flex-start; gap: 9px; cursor: pointer; }
.admin-active-choice input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--vz-primary); }
.admin-active-choice span { display: grid; gap: 2px; }
.admin-active-choice strong { color: var(--vz-heading); font-size: 10px; }
.admin-active-choice small { color: var(--vz-muted); font-size: 9px; }

.superadmin-profile-page { width: 100%; max-width: none; margin: 0; }
.profile-page-hero { margin-bottom: 18px; padding: 24px; border: 1px solid var(--vz-primary-border); border-radius: 14px; background: linear-gradient(115deg, #fff, #f5f3fc); display: flex; align-items: center; gap: 17px; }
.profile-page-avatar { width: 58px; height: 58px; flex: 0 0 auto; border: 1px solid var(--vz-primary-border); border-radius: 50%; color: var(--vz-primary-dark); background: var(--vz-primary-soft); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.profile-page-hero .eyebrow { margin: 0 0 5px; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-page-hero h1 { margin: 0; color: var(--vz-heading); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.profile-page-hero p:last-child { margin: 6px 0 0; color: var(--vz-muted); font-size: 12px; }
.profile-settings-card { overflow: hidden; border: 1px solid var(--vz-border); border-radius: 14px; background: #fff; box-shadow: var(--vz-shadow-sm); }
.profile-settings-card > header { padding: 19px 22px; border-bottom: 1px solid var(--vz-border); }
.profile-settings-card > header h2 { margin: 0; color: var(--vz-heading); font-size: 16px; }
.profile-settings-card > header p { margin: 5px 0 0; color: var(--vz-muted); font-size: 10px; }
.profile-settings-card form { padding: 22px; }
.profile-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-settings-grid .field { display: grid; gap: 6px; }
.profile-settings-grid label { color: #41495a; font-size: 10px; font-weight: 750; }
.profile-settings-grid input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #d9dee7; background: #fff; }
.profile-settings-grid input[readonly] { color: var(--vz-muted); background: #f7f8fa; cursor: not-allowed; }
.profile-settings-grid .field > span { color: var(--vz-danger); font-size: 9px; }
.profile-settings-actions { margin-top: 21px; display: flex; justify-content: flex-end; }
.profile-settings-actions .primary-button { min-height: 43px; padding: 0 18px; border: 0; }

.eyebrow, .catalog-eyebrow, .page-kicker { color: var(--vz-primary) !important; }
.page-head { margin-bottom: 22px; align-items: flex-end; }
.page-head h1, .catalog-heading h1 { color: var(--vz-heading); font-size: clamp(28px, 3vw, 38px); line-height: 1.14; letter-spacing: -.035em; }
.intro, .catalog-heading p { max-width: 760px; color: var(--vz-muted); font-size: 12px; }
.primary-button, .secondary-button, .small-button, .submit, .catalog-primary, .catalog-secondary { border-radius: 8px; font-size: 11px; font-weight: 750; transition: color .15s, border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.primary-button, .submit, .catalog-primary { color: #fff; background: var(--vz-primary); box-shadow: 0 4px 10px rgba(var(--vz-primary-rgb), .18); }
.primary-button:hover, .submit:hover, .catalog-primary:hover { color: #fff; background: var(--vz-primary-dark); transform: translateY(-1px); }
.secondary-button, .small-button, .catalog-secondary { color: #485061; border-color: #dce0e8; background: #fff; box-shadow: var(--vz-shadow-sm); }
.secondary-button:hover, .small-button:hover, .catalog-secondary:hover { color: var(--vz-primary-dark); border-color: var(--vz-primary-border); }
.small-button.danger, .danger-button { color: var(--vz-danger); border-color: #efc7cb; background: #fff1f2; }
.stats, .metric-grid, .catalog-summary { gap: 12px; }
.stat, .metric-card, .catalog-summary > div { position: relative; overflow: hidden; border: 1px solid var(--vz-border); border-radius: var(--vz-radius); background: #fff; box-shadow: var(--vz-shadow-sm); }
.stat::after, .metric-card::after, .catalog-summary > div::after { content: ""; position: absolute; right: -20px; bottom: -29px; width: 76px; height: 76px; border-radius: 50%; background: rgba(var(--vz-primary-rgb), .06); }
.stat span, .metric-card span, .catalog-summary span { color: var(--vz-muted); }
.stat strong, .metric-card strong, .catalog-summary strong { color: var(--vz-heading); }
.panel, .form-card, .summary-card, .catalog-card, .workspace-card, .profile-card { border: 1px solid var(--vz-border); border-radius: var(--vz-radius); background: #fff; box-shadow: var(--vz-shadow-sm); }
.panel-head, .catalog-card-heading { border-color: var(--vz-border); }
.panel-head h2, .catalog-card h2, .catalog-card h3, .section-title h2 { color: var(--vz-heading); }
.business-mark, .person-mark, .section-number, .mark { color: var(--vz-primary-dark) !important; background: var(--vz-primary-soft) !important; }
.clickable-row:hover, tbody tr:hover { background: #faf9fe; }
th { color: var(--vz-muted); background: #f8f9fb; }
th, td { border-color: var(--vz-border); }
.status, .channel-status.is-live { color: var(--vz-success); background: #eaf8f3; }
.status.passive, .channel-status:not(.is-live) { color: var(--vz-danger); background: #fff1f2; }
.alert.success, .alert-success { color: #075e47; border-color: #bde3d5; background: #eaf8f3; }
.alert.error, .alert-danger { color: #8d252e; border-color: #efc7cb; background: #fff1f2; }
.count-badge, .access-badge, .primary-tag { color: var(--vz-primary-dark); border-color: var(--vz-primary-border); background: var(--vz-primary-soft); }

input, select, textarea { border-color: #d9dee7; border-radius: 8px; }
input:focus, select:focus, textarea:focus, .form-control:focus { border-color: var(--vz-primary); box-shadow: 0 0 0 3px rgba(var(--vz-primary-rgb), .12); }
input[type=checkbox], input[type=radio] { accent-color: var(--vz-primary); }
.section-number, .section-step { color: var(--vz-primary-dark); background: var(--vz-primary-soft); }
.validation-summary-errors, .field-validation-error { color: var(--vz-danger); }
.form-card, .catalog-card { overflow: hidden; }
.summary-card { border-radius: var(--vz-radius); }
.submit { border: 0; }

.business-type-image-picker { padding: 14px; border: 1px solid var(--vz-border); border-radius: 11px; background: #fafafe; display: flex; align-items: center; gap: 16px; }
.business-type-image-preview { width: 132px; height: 92px; flex: 0 0 auto; overflow: hidden; border: 1px dashed var(--vz-primary-border); border-radius: 10px; background: var(--vz-primary-soft); }
.business-type-image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.business-type-image-placeholder { width: 100%; height: 100%; color: var(--vz-primary-dark); display: grid; place-content: center; justify-items: center; gap: 4px; }
.business-type-image-placeholder span { font-size: 26px; line-height: 1; }
.business-type-image-placeholder small { color: var(--vz-muted); font-size: 9px; }
.business-type-image-controls { min-width: 0; display: grid; gap: 7px; }
.business-type-image-controls input[type=file] { max-width: 100%; padding: 7px; background: #fff; }
.business-type-remove-image { width: fit-content; margin-top: 2px; color: var(--vz-danger); display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; cursor: pointer; }
.business-type-remove-image input { width: 15px; height: 15px; }
.business-type-thumbnail, .business-type-thumbnail-placeholder { width: 44px; height: 44px; border-radius: 10px; }
.business-type-thumbnail { display: block; object-fit: cover; border: 1px solid var(--vz-border); background: #f5f4fa; }
.business-type-thumbnail-placeholder { color: var(--vz-primary-dark); border: 1px solid var(--vz-primary-border); background: var(--vz-primary-soft); display: grid; place-items: center; font-size: 18px; }

.catalog-page { --catalog-green: var(--vz-primary); --catalog-green-dark: var(--vz-primary-dark); --catalog-green-soft: var(--vz-primary-soft); }
.catalog-heading { margin-bottom: 18px; }
.catalog-back { color: var(--vz-primary); }
.catalog-tabs { border-color: var(--vz-border); border-radius: 10px; background: #fff; box-shadow: var(--vz-shadow-sm); }
.catalog-tabs a { color: var(--vz-muted); }
.catalog-tabs a.active { color: var(--vz-primary-dark); border-color: var(--vz-primary); background: var(--vz-primary-soft); }
.catalog-card, .branch-management { border-radius: var(--vz-radius); box-shadow: var(--vz-shadow-sm); }
.branch-management-header { background: linear-gradient(100deg, #fff, #f7f6fc); }
.publication-option:has(input:checked) { border-color: var(--vz-primary-border); background: var(--vz-primary-soft); }
.section-step { border-radius: 8px; }
.qr-content code { color: var(--vz-primary-dark); background: var(--vz-primary-soft); }

.story-panel { background: radial-gradient(circle at 82% 18%, rgba(173, 159, 255, .27), transparent 28%), radial-gradient(circle at 15% 90%, rgba(114, 93, 202, .18), transparent 34%), linear-gradient(145deg, #211d46 0%, #41378a 58%, #5147a3 100%) !important; }
.story-kicker, .login-kicker { color: #d8d1ff !important; }
.login-card, .login-panel { border-color: var(--vz-border); box-shadow: 0 12px 36px rgba(47, 42, 91, .11); }
.login-form button[type=submit], .login-button { background: var(--vz-primary) !important; border-color: var(--vz-primary) !important; }

.text-center.py-5 { min-height: 440px; padding: 52px 24px !important; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--vz-border); border-radius: var(--vz-radius); background: #fff; box-shadow: var(--vz-shadow-sm); }
.text-center.py-5 h1 { color: var(--vz-heading); font-size: 28px; }
.text-center.py-5 p { color: var(--vz-muted); }
.text-center.py-5 .btn-dark { border-color: var(--vz-primary); background: var(--vz-primary); }
.prose-content { max-width: 840px; padding: 20px; color: var(--vz-body-color); line-height: 1.7; }
.prose-content p:first-child { margin-top: 0; }
.admin-state-card { min-height: 440px; padding: 48px 24px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--vz-border); border-radius: var(--vz-radius); background: #fff; text-align: center; box-shadow: var(--vz-shadow-sm); }
.admin-state-icon { width: 50px; height: 50px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 50%; color: var(--vz-danger); background: #fff1f2; font-size: 22px; font-weight: 800; }
.admin-state-card h1 { margin: 3px 0 7px; color: var(--vz-heading); font-size: 26px; }
.admin-state-card > p:not(.eyebrow) { max-width: 520px; color: var(--vz-muted); }
.admin-state-card code { margin: 8px 0 17px; padding: 7px 10px; border-radius: 7px; color: #596071; background: #f4f5f9; font-size: 10px; }

@media (max-width: 1120px) {
    .app-shell, .shell { grid-template-columns: 84px minmax(0, 1fr); }
    .sidebar { width: 84px; padding-inline: 14px; }
    .sidebar .brand { justify-content: center; padding-inline: 0; }
    .sidebar .brand-copy, .sidebar .nav-caption, .sidebar .nav-item span, .sidebar .soon { display: none; }
    .sidebar .nav-list { margin-top: 22px; }
    .sidebar .nav-item { justify-content: center; padding: 0; }
    .sidebar .nav-item::before { display: none; }
    .home-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    body.menu-open { overflow: hidden; }
    .app-shell, .shell { display: block; }
    .sidebar { position: fixed; z-index: 40; top: 0; left: 0; width: 276px; height: 100dvh; display: flex; padding: 20px 16px 16px; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 18px 0 45px rgba(0, 0, 0, .22); }
    .menu-open .sidebar { transform: translateX(0); }
    .sidebar .brand-copy, .sidebar .nav-caption, .sidebar .nav-item span, .sidebar .soon { display: initial; }
    .sidebar .brand { justify-content: flex-start; }
    .sidebar .nav-list { margin-top: 0; }
    .sidebar .nav-item { justify-content: flex-start; padding: 0 12px; }
    .sidebar .nav-item::before { display: block; }
    .sidebar-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #fff; background: rgba(255, 255, 255, .09); font-size: 23px; cursor: pointer; }
    .sidebar-overlay { position: fixed; z-index: 35; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(22, 18, 51, .56); }
    .menu-open .sidebar-overlay { display: block; }
    .mobile-menu-button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--vz-border); border-radius: 9px; color: var(--vz-primary); background: #fff; }
    .mobile-menu-button svg { width: 20px; height: 20px; }
    .mobile-brand { display: flex; align-items: center; gap: 7px; margin-right: auto; }
    .topbar { min-height: 64px; gap: 9px; padding: 0 14px; }
    .topbar-context, .breadcrumb, .profile-copy { display: none; }
    .content { padding: 25px 14px 46px; }
    .page-head { align-items: flex-start; flex-direction: column; }
    .page-head > a, .page-head .primary-button { width: 100%; }
    .stats, .catalog-summary { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .profile .avatar { display: none; }
    .user-menu-copy, .user-menu-chevron { display: none; }
    .user-menu-trigger { min-height: 44px; padding: 3px; }
    .user-menu-avatar { width: 36px; height: 36px; }
    .profile-page-hero { align-items: flex-start; padding: 19px; }
    .profile-page-avatar { width: 48px; height: 48px; }
    .profile-settings-card > header, .profile-settings-card form { padding: 18px; }
    .profile-settings-grid { grid-template-columns: 1fr; }
    .profile-settings-actions .primary-button { width: 100%; }
    .home-summary-grid { grid-template-columns: 1fr; }
    .page-actions, .form-actions { width: 100%; flex-direction: column; }
    .page-actions > *, .form-actions > * { width: 100%; }
    .form-grid, .catalog-form, .publication-grid { grid-template-columns: 1fr; }
    .field.full, .field-wide { grid-column: auto; }
    .business-type-image-picker { align-items: stretch; flex-direction: column; }
    .business-type-image-preview { width: 100%; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
