:root {
    --clay-bg: #eef3ff;
    --clay-bg-2: #f8faff;
    --clay-surface: #f7f9ff;
    --clay-surface-strong: #ffffff;
    --clay-text: #1f2942;
    --clay-muted: #71809d;
    --clay-primary: #6759e8;
    --clay-primary-dark: #5142d4;
    --clay-secondary: #29b6a6;
    --clay-danger: #ef6684;
    --clay-warning: #efa94a;
    --clay-border: rgba(255, 255, 255, .82);
    --clay-shadow-dark: rgba(94, 109, 148, .2);
    --clay-shadow-light: rgba(255, 255, 255, .94);
    --clay-shadow: 12px 12px 28px var(--clay-shadow-dark), -10px -10px 24px var(--clay-shadow-light);
    --clay-shadow-sm: 7px 7px 16px rgba(94, 109, 148, .16), -6px -6px 14px rgba(255, 255, 255, .9);
    --clay-inset: inset 3px 3px 7px rgba(104, 118, 154, .15), inset -3px -3px 7px rgba(255, 255, 255, .92);
    --clay-radius: 24px;
    --sidebar-width: 286px;
}

[data-bs-theme="dark"] {
    --clay-bg: #171b2b;
    --clay-bg-2: #20263a;
    --clay-surface: #242a3e;
    --clay-surface-strong: #2b3249;
    --clay-text: #edf1ff;
    --clay-muted: #a8b2cc;
    --clay-border: rgba(255, 255, 255, .06);
    --clay-shadow-dark: rgba(4, 6, 14, .46);
    --clay-shadow-light: rgba(54, 63, 91, .42);
    --clay-shadow: 12px 12px 26px var(--clay-shadow-dark), -8px -8px 20px var(--clay-shadow-light);
    --clay-shadow-sm: 7px 7px 15px rgba(4, 6, 14, .42), -5px -5px 13px rgba(54, 63, 91, .34);
    --clay-inset: inset 3px 3px 7px rgba(4, 6, 14, .4), inset -3px -3px 7px rgba(54, 63, 91, .32);
}

* { box-sizing: border-box; }
.min-w-0 { min-width: 0 !important; }

html { scroll-behavior: smooth; }

body.clay-body {
    min-height: 100vh;
    margin: 0;
    color: var(--clay-text);
    background:
        radial-gradient(circle at 8% 5%, rgba(103, 89, 232, .16), transparent 24rem),
        radial-gradient(circle at 92% 88%, rgba(41, 182, 166, .13), transparent 25rem),
        linear-gradient(145deg, var(--clay-bg-2), var(--clay-bg));
    background-attachment: fixed;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app-shell { display: flex; min-height: 100vh; }
.content-shell { min-width: 0; flex: 1; padding-left: calc(var(--sidebar-width) + 16px); }

.app-sidebar {
    width: var(--sidebar-width);
    height: calc(100vh - 32px);
    position: fixed;
    z-index: 1030;
    inset: 16px auto 16px 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #eef0ff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 5% 0, rgba(154, 139, 255, .32), transparent 15rem),
        linear-gradient(155deg, #4036a3 0%, #292563 48%, #1d2143 100%);
    box-shadow: 14px 16px 32px rgba(33, 39, 80, .3), inset 1px 1px 1px rgba(255,255,255,.15);
}

.sidebar-inner { display: flex; width: 100%; min-width: 0; min-height: 0; flex: 1; flex-direction: column; overflow: hidden; padding: 20px 16px; }
.sidebar-brand { display: block; padding: 6px 8px 16px; }
.sidebar-brand-link { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand-mark {
    width: 48px; height: 48px; display: grid; flex: 0 0 48px; place-items: center;
    border-radius: 16px; color: #fff; font-size: 1.35rem;
    background: linear-gradient(145deg, #8275ff, #5b4edb);
    box-shadow: 7px 7px 15px rgba(18,17,60,.32), inset 2px 2px 4px rgba(255,255,255,.22), inset -2px -2px 4px rgba(25,23,91,.3);
}
.brand-copy strong { display: block; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.brand-copy span { display: block; margin-top: 2px; color: rgba(239,240,255,.58); font-size: .72rem; }
.sidebar-brand-link a { text-decoration: none; }
.sidebar-brand-link .brand-copy a:last-child:hover span { color: #fff; }
.sidebar-brand .brand-mark { position: relative; overflow: hidden; }
.sidebar-brand .brand-mark strong { position: relative; z-index: 2; font-size: 1.4rem; font-style: italic; font-weight: 900; }
.sidebar-brand .brand-mark i { position: absolute; width: 30px; height: 30px; right: -14px; top: -10px; border: 7px solid rgba(255,255,255,.18); border-radius: 50%; }
.sidebar-workspace { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 2px 12px; padding: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.055); }
.workspace-logo { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; padding: 4px; overflow: hidden; color: #5d4fd0; border-radius: 11px; background: #fff; }
.workspace-logo.is-default { padding: 0; color: #fff; background: rgba(255,255,255,.13); }
.workspace-logo img { width: 100%; height: 100%; object-fit: contain; }
.sidebar-workspace > span:last-child { min-width: 0; }
.sidebar-workspace small, .sidebar-workspace strong { display: block; }
.sidebar-workspace small { color: rgba(239,240,255,.43); font-size: .52rem; font-weight: 850; letter-spacing: .1em; }
.sidebar-workspace strong { overflow: hidden; margin-top: 2px; color: #fff; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }

.sidebar-nav, .sidebar-nav.nav { display: flex; width: 100%; min-width: 0; min-height: 0; flex: 1; flex-direction: column !important; flex-wrap: nowrap !important; overflow-x: hidden; overflow-y: auto; padding: 4px 2px 16px; scrollbar-color: rgba(255,255,255,.18) transparent; scrollbar-width: thin; }
.sidebar-nav .nav-link {
    display: flex; width: 100%; min-width: 0; min-height: 46px; flex: 0 0 auto; align-items: center; margin: 4px 0; padding: 10px 12px;
    color: rgba(242,243,255,.72); border: 1px solid transparent; border-radius: 15px;
    font-size: .9rem; font-weight: 600; transition: .2s ease;
}
.sidebar-nav .nav-link i { width: 24px; font-size: 1.05rem; }
.sidebar-nav .nav-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateX(2px); }
.sidebar-nav .nav-link.active {
    color: #fff; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.14);
    box-shadow: 5px 7px 15px rgba(17,17,55,.2), inset 1px 1px 2px rgba(255,255,255,.12);
}
.sidebar-label { margin: 18px 10px 6px; color: rgba(237,239,255,.43); font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.sidebar-profile {
    flex: 0 0 auto; padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
    background: rgba(255,255,255,.07); box-shadow: inset 1px 1px 1px rgba(255,255,255,.08);
}
.sidebar-profile-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.user-avatar {
    width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center;
    border-radius: 13px; color: #4135a4; background: #e8e5ff; font-weight: 800;
}
.profile-name { max-width: 150px; overflow: hidden; color: #fff; font-size: .85rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.profile-role { max-width: 150px; overflow: hidden; color: rgba(240,242,255,.56); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.btn-logout { color: rgba(255,255,255,.68); border: 0; border-radius: 12px; background: rgba(255,255,255,.07); }
.btn-logout:hover { color: #fff; background: rgba(239,102,132,.25); }
.sidebar-account-actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-account-actions a, .sidebar-account-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 34px; padding: 0 10px; color: rgba(244,245,255,.68); border: 0; border-radius: 10px; background: rgba(255,255,255,.055); font-size: .63rem; font-weight: 750; text-decoration: none; }
.sidebar-account-actions a:hover, .sidebar-account-actions a.active { color: #fff; background: rgba(255,255,255,.12); }
.sidebar-account-actions button { width: 36px; padding: 0; cursor: pointer; }
.sidebar-account-actions button span { display: none; }
.sidebar-account-actions button:hover { color: #fff; background: rgba(239,102,132,.22); }

.page-topbar {
    position: sticky; z-index: 1010; top: 0; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 96px; padding: 20px 30px 16px;
    background: linear-gradient(180deg, var(--clay-bg) 72%, transparent);
}
.page-heading { min-width: 0; }
.page-heading h1 { margin: 0; color: var(--clay-text); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.page-heading p { margin: 4px 0 0; color: var(--clay-muted); font-size: .86rem; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.clay-icon-btn {
    width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0;
    color: var(--clay-text); border: 1px solid var(--clay-border); border-radius: 15px;
    background: var(--clay-surface); box-shadow: var(--clay-shadow-sm); transition: .2s ease;
}
.clay-icon-btn:hover { color: var(--clay-primary); transform: translateY(-2px); }
.topbar-account { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 8px 5px 5px; color: var(--clay-text); border: 1px solid var(--clay-border); border-radius: 16px; background: var(--clay-surface); box-shadow: var(--clay-shadow-sm); }
.topbar-account .user-avatar { width: 35px; height: 35px; flex-basis: 35px; border-radius: 11px; }
.topbar-account-copy { min-width: 0; max-width: 150px; text-align: left; line-height: 1.15; }
.topbar-account-copy strong, .topbar-account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-account-copy strong { font-size: .7rem; }
.topbar-account-copy small { margin-top: 3px; color: var(--clay-muted); font-size: .57rem; }
.topbar-account>i { color: var(--clay-muted); font-size: .62rem; }
.account-menu { width: 285px; margin-top: 8px !important; padding: 10px; color: var(--clay-text); border: 1px solid var(--clay-border); border-radius: 18px; background: var(--clay-surface-strong); box-shadow: var(--clay-shadow); }
.account-menu-head { display: flex; align-items: center; gap: 10px; padding: 7px; min-width: 0; }
.account-menu-head>div { min-width: 0; }
.account-menu-head strong, .account-menu-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-head strong { font-size: .76rem; }
.account-menu-head small { color: var(--clay-muted); font-size: .63rem; }
.account-menu .dropdown-divider { border-color: rgba(113,128,157,.12); }
.account-menu .dropdown-item { display: flex; align-items: center; gap: 11px; padding: 9px; color: var(--clay-text); border-radius: 11px; }
.account-menu .dropdown-item:hover { background: rgba(103,89,232,.08); }
.account-menu .dropdown-item>i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: var(--clay-primary); border-radius: 10px; background: rgba(103,89,232,.1); }
.account-menu .dropdown-item span { min-width: 0; }
.account-menu .dropdown-item strong, .account-menu .dropdown-item small { display: block; }
.account-menu .dropdown-item strong { font-size: .69rem; }
.account-menu .dropdown-item small { color: var(--clay-muted); font-size: .57rem; }
.account-menu .dropdown-item.text-danger>i { color: var(--clay-danger); background: rgba(239,102,132,.1); }
.mobile-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.mobile-brand .brand-mark { width: 39px; height: 39px; flex-basis: 39px; border-radius: 13px; font-size: 1rem; }

.page-content { width: 100%; max-width: 1680px; margin: 0 auto; padding: 8px 30px 36px; }

.glass-card, .clay-card, .card.glass-card, .card.stat-card {
    color: var(--clay-text); border: 1px solid var(--clay-border); border-radius: var(--clay-radius);
    background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(239,243,255,.86));
    box-shadow: var(--clay-shadow); overflow: hidden;
}
[data-bs-theme="dark"] .glass-card,
[data-bs-theme="dark"] .clay-card,
[data-bs-theme="dark"] .card.glass-card,
[data-bs-theme="dark"] .card.stat-card { background: linear-gradient(145deg, #293047, #20263a); }

.card-header { padding: 17px 20px; border-bottom: 1px solid rgba(113,128,157,.12); }
.card-body { padding: 20px; }
.stat-card { position: relative; min-height: 150px; transition: .22s ease; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card .card-body { position: relative; display: flex; flex-direction: column; justify-content: center; }
.stat-card .text-muted { color: var(--clay-muted) !important; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.stat-card h2 { margin: 8px 0 0; font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.stat-icon {
    position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 18px; color: var(--clay-primary); background: rgba(103,89,232,.12); box-shadow: var(--clay-inset); font-size: 1.45rem;
}
.stat-icon.success { color: #159786; background: rgba(41,182,166,.12); }
.stat-icon.info { color: #4380cc; background: rgba(67,128,204,.12); }
.stat-icon.warning { color: #d38a22; background: rgba(239,169,74,.15); }

.form-control, .form-select, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    min-height: 44px; color: var(--clay-text); border: 1px solid rgba(130,143,173,.14) !important;
    border-radius: 14px !important; background-color: var(--clay-surface) !important; box-shadow: var(--clay-inset) !important;
}
.form-control, .form-select { padding: .65rem .85rem; }
.form-control:focus, .form-select:focus {
    color: var(--clay-text); border-color: rgba(103,89,232,.55) !important;
    background-color: var(--clay-surface-strong) !important; box-shadow: var(--clay-inset), 0 0 0 .2rem rgba(103,89,232,.12) !important;
}
.form-control::placeholder { color: var(--clay-muted); opacity: .65; }
.form-label { margin-bottom: .42rem; color: var(--clay-text); font-size: .79rem; font-weight: 750; }
.form-text, .text-muted { color: var(--clay-muted) !important; }
.required::after { content: " *"; color: var(--clay-danger); }
.form-check-input { width: 1.1em; height: 1.1em; border-color: rgba(103,89,232,.35); }
.form-check-input:checked { border-color: var(--clay-primary); background-color: var(--clay-primary); }
.form-switch .form-check-input { width: 2.3em; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 7px 34px 7px 13px; color: var(--clay-text); line-height: 29px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 8px; right: 8px; }
.select2-dropdown { overflow: hidden; border: 0; border-radius: 14px; background: var(--clay-surface-strong); box-shadow: var(--clay-shadow); }

.btn { min-height: 40px; padding: .55rem .9rem; border: 0; border-radius: 13px; font-weight: 700; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(145deg, #786bef, #594bda); box-shadow: 5px 6px 13px rgba(80,68,192,.25), inset 1px 1px 2px rgba(255,255,255,.22); }
.btn-success { background: linear-gradient(145deg, #3bc8b7, #20a795); box-shadow: 5px 6px 13px rgba(25,143,129,.2), inset 1px 1px 2px rgba(255,255,255,.2); }
.btn-danger { background: linear-gradient(145deg, #f37994, #df5575); }
.btn-warning { color: #49320a; background: linear-gradient(145deg, #f9bd69, #eba243); }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-dark, .btn-outline-warning, .btn-outline-danger, .btn-outline-success {
    color: var(--clay-text); border: 1px solid rgba(122,136,168,.16); background: var(--clay-surface); box-shadow: var(--clay-shadow-sm);
}
.btn-outline-primary:hover { color: #fff; background: var(--clay-primary); }
.btn-outline-danger:hover { color: #fff; background: var(--clay-danger); }
.btn-outline-warning:hover { color: #352207; background: var(--clay-warning); }
.btn-outline-secondary:hover, .btn-outline-dark:hover { color: #fff; background: #6f7890; }
.btn-sm { min-height: 34px; padding: .4rem .68rem; border-radius: 10px; font-size: .78rem; }

.table-responsive { border-radius: 17px; scrollbar-color: rgba(103,89,232,.4) transparent; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--clay-text); margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .9rem .85rem; border-bottom-color: rgba(113,128,157,.12); vertical-align: middle; }
.table thead th { color: var(--clay-muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: rgba(103,89,232,.045); }
.table code { color: var(--clay-primary); }
.table td code, .card code { overflow-wrap: anywhere; }
.badge { padding: .48em .7em; border-radius: 9px; font-weight: 700; }
.pagination { gap: 6px; margin-top: 18px; }
.page-link { color: var(--clay-text); border: 0; border-radius: 10px !important; background: var(--clay-surface); box-shadow: var(--clay-shadow-sm); }
.active > .page-link { background: var(--clay-primary); }

.alert { border: 1px solid rgba(255,255,255,.38); border-radius: 17px; box-shadow: var(--clay-shadow-sm); }
.alert-success { color: #14685d; background: #dff8f3; }
.alert-danger { color: #8b2c43; background: #ffe3ea; }
.alert-info { color: #2e5687; background: #e1efff; }

.swal2-popup {
    color: var(--clay-text) !important; border: 1px solid var(--clay-border) !important;
    border-radius: 24px !important; background: var(--clay-surface-strong) !important; box-shadow: var(--clay-shadow) !important;
}
.swal2-confirm { border-radius: 12px !important; background: var(--clay-primary) !important; }
.swal2-cancel { border-radius: 12px !important; background: #7d879e !important; }
.dt-container .dt-search input, .dt-container .dt-length select { border-radius: 11px !important; background: var(--clay-surface) !important; }

.form-builder-item { cursor: grab; border: 1px solid rgba(103,89,232,.12) !important; border-radius: 16px; background: var(--clay-surface) !important; box-shadow: var(--clay-shadow-sm); }
.form-builder-item:active { cursor: grabbing; }
.sticky-top { top: 112px !important; }
canvas { max-width: 100%; }
#reader { overflow: hidden; border: 0 !important; border-radius: 20px; background: var(--clay-surface); box-shadow: var(--clay-inset); }
.qr-surface { display: grid; min-height: 350px; place-items: center; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--clay-inset); }
.qr-surface img { max-width: 100%; max-height: 300px; object-fit: contain; }

.offcanvas.clay-offcanvas { width: min(310px, 88vw); color: #fff; border: 0; background: linear-gradient(155deg, #4036a3, #292563 48%, #1d2143); }
.clay-offcanvas .btn-close { filter: invert(1) grayscale(1); }
.clay-offcanvas .sidebar-inner { min-height: 100%; padding-top: 8px; }

.auth-page {
    min-height: 100vh; display: grid; place-items: center; padding: 24px;
    background:
        radial-gradient(circle at 10% 10%, rgba(125,111,238,.32), transparent 25rem),
        radial-gradient(circle at 90% 90%, rgba(41,182,166,.22), transparent 25rem),
        linear-gradient(145deg, #edf2ff, #f8faff);
}
.auth-shell { width: min(1020px, 100%); display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 32px; background: rgba(247,249,255,.84); box-shadow: 22px 24px 50px rgba(74,86,122,.23), -14px -14px 34px rgba(255,255,255,.9); }
.auth-visual { position: relative; min-height: 590px; padding: 48px; color: #fff; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.2), transparent 15rem), linear-gradient(145deg, #7163e9, #443aab 55%, #25265b); }
.auth-visual::after { content: ""; position: absolute; width: 250px; height: 250px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 12px 12px 24px rgba(255,255,255,.07); }
.auth-visual h2 { max-width: 370px; margin-top: 110px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; letter-spacing: -.05em; }
.auth-visual p { max-width: 390px; color: rgba(255,255,255,.68); }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 54px; }
.auth-form h1 { font-weight: 850; letter-spacing: -.04em; }

@media (max-width: 1199.98px) {
    .content-shell { padding-left: 0; }
    .page-topbar { min-height: 82px; padding: 14px 22px; }
    .page-content { padding: 10px 22px 30px; }
}

@media (max-width: 991.98px) {
    .sticky-top { position: static !important; }
    .auth-shell { display: block; max-width: 680px; }
    .auth-visual { min-height: 220px; padding: 32px; }
    .auth-visual h2 { max-width: 540px; margin-top: 38px; font-size: 2.15rem; }
    .auth-visual p { max-width: 560px; margin-bottom: 0; }
    .auth-form { padding: 42px; }
}

@media (max-width: 767.98px) {
    .page-topbar { min-height: 76px; padding: 12px 14px; }
    .page-heading h1 { font-size: 1.25rem; }
    .page-heading p { display: none; }
    .page-content { padding: 8px 13px 24px; }
    .card-header, .card-body { padding: 15px; }
    .card-header.d-flex { align-items: stretch !important; flex-direction: column; }
    .card-header form.d-flex { width: 100%; flex-wrap: wrap; }
    .card-header form.d-flex > .form-control, .card-header form.d-flex > .form-select { min-width: 140px; flex: 1 1 140px; }
    .card-header > .btn, .card-header > a.btn { width: 100%; }
    .glass-card, .clay-card, .card.glass-card, .card.stat-card { border-radius: 20px; box-shadow: 8px 9px 20px rgba(94,109,148,.17), -6px -6px 17px rgba(255,255,255,.78); }
    .stat-card { min-height: 128px; }
    .table { min-width: 720px; }
    .table .btn { margin-block: 2px; }
    .btn { min-height: 42px; }
    .btn-sm { min-height: 36px; }
    .dt-container .dt-layout-row { gap: 10px; align-items: stretch; flex-direction: column; }
    .auth-page { padding: 14px; }
    .auth-shell { display: block; border-radius: 24px; }
    .auth-visual { min-height: 190px; padding: 26px; }
    .auth-visual h2 { margin-top: 25px; font-size: 1.9rem; }
    .auth-visual p { margin-bottom: 0; }
    .auth-form { padding: 28px 22px 32px; }
}

@media (max-width: 420px) {
    .page-heading h1 { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .page-content { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
