:root {
    --ui-bg-1: #cbd5e1;
    --ui-bg-2: #94a3b8;
    --ui-text-strong: #0f172a;
    --ui-text-main: #1e293b;
    --ui-text-soft: #64748b;
    --ui-border: rgba(255, 255, 255, 0.5);
    --ui-border-strong: rgba(100, 116, 139, 0.26);
    --ui-border-stronger: rgba(71, 85, 105, 0.34);
    --ui-surface: rgba(255, 255, 255, 0.7);
    --ui-surface-strong: rgba(255, 255, 255, 0.82);
    --ui-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
    --ui-shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.1);
    --ui-primary-start: #2563eb;
    --ui-primary-end: #1d4ed8;
    --ui-success-start: #22c55e;
    --ui-success-end: #16a34a;
    --ui-danger-start: #ef4444;
    --ui-danger-end: #dc2626;
    --ui-warning-start: #f59e0b;
    --ui-warning-end: #d97706;
    --ui-radius: 32px;
    --ui-radius-sm: 24px;
    --ui-motion: cubic-bezier(0.22, 1, 0.36, 1);
    --ui-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23475569' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.liquid-front,
body.liquid-admin,
body.liquid-install,
body.liquid-login {
    min-height: 100vh;
    color: var(--ui-text-main);
    background:
        radial-gradient(circle at top left, rgba(248, 250, 252, 0.82), rgba(226, 232, 240, 0.86) 26%, rgba(203, 213, 225, 0.94) 58%, rgba(148, 163, 184, 0.9) 100%),
        linear-gradient(180deg, rgba(226, 232, 240, 0.18) 0%, rgba(148, 163, 184, 0.24) 100%);
    background-attachment: fixed;
}

body[data-page-transition-enabled] {
    overflow-x: hidden;
}

body[data-page-transition-enabled].page-leaving > *:not(.page-transition-overlay) {
    pointer-events: none;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 160;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at var(--page-transition-x, 50%) var(--page-transition-y, 50%), rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.22) 18%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 64%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 100%);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: opacity 0.2s var(--ui-motion), backdrop-filter 0.24s var(--ui-motion), -webkit-backdrop-filter 0.24s var(--ui-motion);
    will-change: opacity, backdrop-filter, background;
}

.page-transition-overlay.is-visible {
    opacity: 1;
    backdrop-filter: blur(18px) saturate(124%);
    -webkit-backdrop-filter: blur(18px) saturate(124%);
}

body.liquid-admin::before,
body.liquid-admin::after,
body.liquid-login::before,
body.liquid-login::after,
body.liquid-install::before,
body.liquid-install::after {
    content: "";
    position: fixed;
    border-radius: 9999px;
    filter: blur(72px);
    pointer-events: none;
    z-index: -1;
}

body.liquid-admin::before,
body.liquid-login::before,
body.liquid-install::before {
    width: 320px;
    height: 320px;
    top: -64px;
    left: -72px;
    background: rgba(125, 211, 252, 0.28);
}

body.liquid-admin::after,
body.liquid-login::after,
body.liquid-install::after {
    width: 360px;
    height: 360px;
    right: -96px;
    top: 20%;
    background: rgba(165, 180, 252, 0.24);
}

.glass,
.glass-thick,
.tile,
.soft-panel,
.liquid-panel,
.liquid-input {
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow-soft);
}

.glass {
    background: rgba(255, 255, 255, 0.62);
}

.glass-thick,
.tile,
.soft-panel,
.liquid-panel {
    background: var(--ui-surface);
}

.liquid-surface {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.liquid-surface::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 38%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04));
    pointer-events: none;
    z-index: 0;
}

.liquid-surface > * {
    position: relative;
    z-index: 1;
}

.tile {
    border-radius: var(--ui-radius);
    color: var(--ui-text-main);
}

.rounded-tile {
    border-radius: var(--ui-radius);
}

.rounded-tile-sm {
    border-radius: var(--ui-radius-sm);
}

.shadow-tile {
    box-shadow: var(--ui-shadow);
}

.shadow-tile-soft {
    box-shadow: var(--ui-shadow-soft);
}

.liquid-input,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
select,
textarea {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--ui-border-strong);
    color: var(--ui-text-main);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
    transition: border-color 0.28s var(--ui-motion), box-shadow 0.28s var(--ui-motion), transform 0.28s var(--ui-motion), background-color 0.28s var(--ui-motion);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: var(--ui-select-arrow);
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    padding-right: 42px !important;
    cursor: pointer;
}

select:hover {
    background-color: rgba(255, 255, 255, 0.88);
    border-color: var(--ui-border-stronger);
}

.liquid-select {
    position: relative;
}

.liquid-select.is-open {
    z-index: 70;
}

.liquid-select--fill {
    width: 100%;
}

.liquid-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.liquid-select__trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: var(--ui-radius-sm);
    border: 1px solid var(--ui-border-strong);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), var(--ui-shadow-soft);
    color: var(--ui-text-main);
    text-align: left;
    transition: border-color 0.28s var(--ui-motion), box-shadow 0.28s var(--ui-motion), transform 0.28s var(--ui-motion), background-color 0.28s var(--ui-motion);
}

.liquid-select__trigger:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--ui-border-stronger);
    transform: translateY(-1px);
}

.liquid-select__trigger:focus-visible,
.liquid-select.is-open .liquid-select__trigger {
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(96, 165, 250, 0.68);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.26), 0 0 0 4px rgba(191, 219, 254, 0.45), 0 18px 36px rgba(125, 211, 252, 0.12);
}

.liquid-select__label {
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.liquid-select__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: rgba(71, 85, 105, 0.92);
    transition: transform 0.28s var(--ui-motion), color 0.28s var(--ui-motion);
}

.liquid-select.is-open .liquid-select__icon {
    transform: rotate(180deg);
    color: rgba(37, 99, 235, 0.9);
}

.liquid-select__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 280px;
    padding: 8px;
    overflow-y: auto;
    border-radius: var(--ui-radius-sm);
    border: 1px solid rgba(100, 116, 139, 0.2);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.24s var(--ui-motion), transform 0.24s var(--ui-motion);
}

.liquid-select.is-open .liquid-select__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.liquid-select__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--ui-text-main);
    text-align: left;
    transition: background-color 0.2s var(--ui-motion), border-color 0.2s var(--ui-motion), transform 0.2s var(--ui-motion), box-shadow 0.2s var(--ui-motion), color 0.2s var(--ui-motion);
}

.liquid-select__option:hover {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(148, 163, 184, 0.18);
    transform: translateY(-1px);
}

.liquid-select__option.is-active {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.96) 0%, rgba(191, 219, 254, 0.88) 100%);
    border-color: rgba(96, 165, 250, 0.26);
    color: #1d4ed8;
    box-shadow: 0 12px 28px rgba(96, 165, 250, 0.16);
}

.liquid-select__option:disabled,
.liquid-select__trigger:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(100, 116, 139, 0.86);
}

.liquid-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(96, 165, 250, 0.68);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.26), 0 0 0 4px rgba(191, 219, 254, 0.45), 0 14px 32px rgba(125, 211, 252, 0.12);
    transform: translateY(-1px);
}

input[type="file"] {
    width: 100%;
    min-height: 52px;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid var(--ui-border-strong);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), var(--ui-shadow-soft);
    color: var(--ui-text-soft);
    transition: border-color 0.28s var(--ui-motion), box-shadow 0.28s var(--ui-motion), transform 0.28s var(--ui-motion), background-color 0.28s var(--ui-motion);
}

input[type="file"]:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--ui-border-stronger);
}

input[type="file"]:focus-within {
    border-color: rgba(96, 165, 250, 0.68);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.26), 0 0 0 4px rgba(191, 219, 254, 0.45), 0 14px 32px rgba(125, 211, 252, 0.12);
    transform: translateY(-1px);
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(191, 219, 254, 0.3);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
    transition: transform 0.28s var(--ui-motion), box-shadow 0.28s var(--ui-motion), opacity 0.28s var(--ui-motion);
}

input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.24);
}

input[type="file"]::-webkit-file-upload-button {
    margin-right: 12px;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(191, 219, 254, 0.3);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

button,
a,
[type="submit"],
[type="button"] {
    transition: transform 0.32s var(--ui-motion), box-shadow 0.32s var(--ui-motion), background-color 0.32s var(--ui-motion), border-color 0.32s var(--ui-motion), color 0.32s var(--ui-motion), opacity 0.32s var(--ui-motion);
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-ghost {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ui-border-stronger);
    transform: translateY(0) scale(1);
}

.btn-primary::before,
.btn-secondary::before,
.btn-success::before,
.btn-danger::before,
.btn-ghost::before,
a.border.border-slate-200.bg-white::before,
button.border.border-slate-200.bg-white::before,
a.border.border-slate-200.bg-white\/70::before,
button.border.border-slate-200.bg-white\/70::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 48%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
    opacity: 0.92;
    pointer-events: none;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-ghost:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn-primary {
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
    border-color: rgba(191, 219, 254, 0.28);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 24px 42px rgba(37, 99, 235, 0.28);
}

.btn-success {
    background: linear-gradient(135deg, var(--ui-success-start) 0%, var(--ui-success-end) 100%);
    border-color: rgba(187, 247, 208, 0.26);
    box-shadow: 0 18px 34px rgba(34, 197, 94, 0.22);
}

.btn-danger {
    background: linear-gradient(135deg, var(--ui-danger-start) 0%, var(--ui-danger-end) 100%);
    border-color: rgba(254, 202, 202, 0.24);
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.2);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--ui-border-strong);
    box-shadow: var(--ui-shadow-soft);
    color: var(--ui-text-main);
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.9);
}

a.border.border-slate-200.bg-white,
button.border.border-slate-200.bg-white,
a.border.border-slate-200.bg-white\/70,
button.border.border-slate-200.bg-white\/70 {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--ui-border-strong);
    box-shadow: var(--ui-shadow-soft);
    color: var(--ui-text-main);
}

a.border.border-slate-200.bg-white:hover,
button.border.border-slate-200.bg-white:hover,
a.border.border-slate-200.bg-white\/70:hover,
button.border.border-slate-200.bg-white\/70:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.touch-safe {
    min-height: 44px;
    min-width: 44px;
}

.page-shell {
    padding-inline: clamp(12px, 2vw, 28px);
}

.page-stack {
    width: min(100%, 1680px);
    margin: 0 auto;
}

.responsive-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 16px;
}

.responsive-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 16px;
}

.responsive-catalog-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 164px), 1fr));
}

.responsive-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.responsive-split-grid--content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.responsive-form-actions,
.responsive-actions-row,
.responsive-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.responsive-header-actions {
    justify-content: flex-end;
}

.responsive-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.responsive-table {
    min-width: 760px;
}

.responsive-media-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.responsive-media-item__cover {
    width: 100%;
    max-width: 100%;
}

.responsive-media-item__body {
    min-width: 0;
    flex: 1 1 auto;
}

.responsive-toolbar-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.responsive-toolbar-stack > * {
    min-width: 0;
}

.responsive-button-group,
.responsive-card-footer,
.responsive-info-row {
    display: flex;
    gap: 12px;
}

.responsive-card-footer,
.responsive-info-row {
    align-items: center;
    justify-content: space-between;
}

.section-label {
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.sidebar {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-right: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: 22px 0 50px rgba(15, 23, 42, 0.1);
}

.sidebar-link {
    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: var(--ui-shadow-soft);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.94) 0%, rgba(29, 78, 216, 0.96) 100%);
    color: #fff !important;
    border-color: rgba(191, 219, 254, 0.34);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.upload-progress-panel[hidden] {
    display: none !important;
}

.upload-progress-panel {
    border-color: rgba(148, 163, 184, 0.22);
}

.upload-progress-panel__percent {
    min-width: 70px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--ui-border-strong);
    color: var(--ui-text-main);
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--ui-shadow-soft);
}

.upload-progress-panel__track {
    position: relative;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.upload-progress-panel__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
    transition: width 0.2s ease;
}

.upload-progress-panel.is-active .upload-progress-panel__percent {
    color: #1d4ed8;
}

.upload-progress-panel.is-success .upload-progress-panel__fill {
    background: linear-gradient(135deg, var(--ui-success-start) 0%, var(--ui-success-end) 100%);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.22);
}

.upload-progress-panel.is-success .upload-progress-panel__percent {
    color: #15803d;
}

.upload-progress-panel.is-error .upload-progress-panel__fill {
    background: linear-gradient(135deg, var(--ui-danger-start) 0%, var(--ui-danger-end) 100%);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

.upload-progress-panel.is-error .upload-progress-panel__percent {
    color: #b91c1c;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

.bg-white.border.border-slate-200,
.bg-white\/70.border.border-white\/50,
.bg-white\/55,
.bg-white\/60,
.bg-white\/65 {
    border-color: rgba(100, 116, 139, 0.2) !important;
    box-shadow: var(--ui-shadow-soft);
}

thead tr th {
    color: rgba(100, 116, 139, 0.96) !important;
    font-weight: 700;
}

tbody tr {
    transition: background-color 0.24s var(--ui-motion);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.34);
}

.status-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
}

.status-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.34s var(--ui-motion);
    will-change: opacity;
}

.status-modal__dialog {
    position: relative;
    width: min(92vw, 460px);
    margin: min(12vh, 88px) auto 0;
    padding: 28px 24px 24px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    text-align: center;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    transition: opacity 0.34s var(--ui-motion), transform 0.42s var(--ui-motion);
    will-change: opacity, transform;
}

.status-modal.is-open {
    pointer-events: auto;
}

.status-modal.is-open .status-modal__backdrop {
    opacity: 1;
}

.status-modal.is-open .status-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.status-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: var(--ui-shadow-soft);
}

.status-modal__icon--success {
    background: linear-gradient(135deg, var(--ui-success-start) 0%, var(--ui-success-end) 100%);
}

.status-modal__icon--danger {
    background: linear-gradient(135deg, var(--ui-danger-start) 0%, var(--ui-danger-end) 100%);
}

.status-modal__icon--warning {
    background: linear-gradient(135deg, var(--ui-warning-start) 0%, var(--ui-warning-end) 100%);
}

.status-modal__icon--info {
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
}

.status-modal__eyebrow {
    color: var(--ui-text-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.status-modal__title {
    margin-top: 10px;
    color: var(--ui-text-strong);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.status-modal__message {
    margin-top: 12px;
    color: var(--ui-text-main);
    font-size: 15px;
    line-height: 1.8;
}

.status-modal__hint {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: var(--ui-text-soft);
    font-size: 13px;
    line-height: 1.7;
}

.status-modal__actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.status-modal__button {
    min-width: 132px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.24s var(--ui-motion), box-shadow 0.24s var(--ui-motion), background-color 0.24s var(--ui-motion), border-color 0.24s var(--ui-motion);
}

.status-modal__button:hover {
    transform: translateY(-1px);
}

.status-modal__button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--ui-primary-start) 0%, var(--ui-primary-end) 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.status-modal__button--danger {
    color: #fff;
    background: linear-gradient(135deg, var(--ui-danger-start) 0%, var(--ui-danger-end) 100%);
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.2);
}

.status-modal__button--ghost {
    color: var(--ui-text-main);
    background: rgba(255, 255, 255, 0.74);
    border-color: var(--ui-border-strong);
    box-shadow: var(--ui-shadow-soft);
}

.status-modal__button--ghost:hover {
    background: rgba(255, 255, 255, 0.9);
}

.is-busy {
    position: relative;
    cursor: wait !important;
}

.is-busy > * {
    pointer-events: none;
}

.ui-loading-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ui-loading-button__spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    flex-shrink: 0;
    animation: ui-loading-spin 0.72s linear infinite;
}

.ui-loading-button__label {
    display: inline-flex;
    align-items: center;
}

.form-loading-state {
    position: relative;
}

.form-loading-state::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

@keyframes ui-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.status-modal--confirm .status-modal__dialog {
    text-align: left;
}

.status-modal--confirm .status-modal__icon {
    margin-left: 0;
    margin-right: 0;
}

.status-modal--confirm .status-modal__actions {
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .sidebar {
        background: rgba(255, 255, 255, 0.84);
    }

    body.liquid-front,
    body.liquid-admin,
    body.liquid-install,
    body.liquid-login {
        background-attachment: scroll;
    }
}

@media (min-width: 768px) {
    .responsive-media-item {
        flex-direction: row;
        align-items: center;
    }

    .responsive-media-item--top {
        align-items: flex-start;
    }

    .responsive-media-item__cover {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
    }
}

@media (min-width: 1280px) {
    .responsive-split-grid--hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 332px);
    }

    .responsive-split-grid--content {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

@media (max-width: 640px) {
    .status-modal__dialog {
        width: min(94vw, 420px);
        margin-top: 56px;
        padding: 24px 18px 20px;
        border-radius: 28px;
    }

    .status-modal__title {
        font-size: 24px;
    }

    .responsive-catalog-grid,
    .responsive-catalog-grid--compact,
    .responsive-stats-grid {
        gap: 12px;
    }

    .responsive-table {
        min-width: 640px;
    }

    .responsive-form-actions > *,
    .responsive-header-actions > * {
        flex: 1 1 100%;
    }

    .responsive-toolbar-stack > form {
        flex: 1 1 100%;
    }

    .responsive-toolbar-stack > .relative {
        flex: 1 1 calc(50% - 6px);
    }

    .responsive-button-group > *,
    .responsive-card-footer > :last-child {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .responsive-toolbar-stack > .relative {
        flex: 1 1 100%;
    }

    .responsive-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .responsive-button-group > * {
        width: 100%;
        justify-content: center;
    }

    .responsive-card-footer,
    .responsive-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .responsive-card-footer > :last-child,
    .responsive-info-row > :last-child {
        width: 100%;
    }

    .responsive-card-footer > :last-child {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-transition-overlay {
        transition: none !important;
    }
}
