:root {
    --ovh-sidebar: #0f2442;
    --ovh-sidebar-soft: #18365f;
    --ovh-sidebar-width: 320px;
    --ovh-sidebar-compact: 88px;
    --ovh-bg: #f3f6fa;
    --ovh-border: #e4e9f1;
    --ovh-text: #1e293b;
}

* { min-width: 0; }
body { background: var(--ovh-bg); color: var(--ovh-text); }
.ovh-shell { display: flex; min-height: 100vh; }
.ovh-sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 1040; width: var(--ovh-sidebar-width);
    background: var(--ovh-sidebar); color: #fff; transform: translateX(0);
    transition: transform .2s ease, width .2s ease; overflow-y: auto; overflow-x: hidden;
}
.sidebar-brand { display: flex; align-items: center; gap: .75rem; padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-logo-group { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 54px; height: 54px; flex: 0 0 auto; object-fit: contain; border-radius: .75rem; background: #fff; padding: .18rem; }
.brand-copy { min-width: 0; }
.brand-title { font-weight: 700; line-height: 1.2; font-size: .98rem; }
.brand-subtitle { color: #a9bbd4; font-size: .76rem; letter-spacing: .06em; }
.sidebar-nav { display: grid; gap: .25rem; padding: 1rem; }
.sidebar-link {
    width: 100%; border: 0; background: transparent;
    display: flex; align-items: center; gap: .75rem; padding: .72rem .85rem;
    color: #dbe7f7; text-decoration: none; border-radius: .5rem; font-weight: 500; text-align: left;
}
.sidebar-link:hover, .sidebar-link.active { background: var(--ovh-sidebar-soft); color: #fff; }
.sidebar-link i:first-child { width: 1.2rem; text-align: center; flex: 0 0 1.2rem; }
.sidebar-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-group-toggle { cursor: pointer; }
.group-chevron { margin-left: auto; font-size: .8rem; transition: transform .2s ease; }
.sidebar-group.open .group-chevron { transform: rotate(180deg); }
.sidebar-submenu {
    display: grid; gap: .15rem; max-height: 0; overflow: hidden;
    padding-left: 2.75rem; transition: max-height .2s ease, padding-top .2s ease, padding-bottom .2s ease;
}
.sidebar-group.open .sidebar-submenu { max-height: 320px; padding-top: .25rem; padding-bottom: .35rem; }
.sidebar-sublink {
    display: block; color: #b8c8df; text-decoration: none; border-radius: .45rem;
    padding: .48rem .65rem; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-sublink:hover, .sidebar-sublink.active { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-backdrop { display: none; position: fixed; inset: 0; z-index: 1030; background: rgba(15, 23, 42, .45); }

.ovh-main { flex: 1; margin-left: var(--ovh-sidebar-width); display: flex; min-height: 100vh; flex-direction: column; transition: margin-left .2s ease; }
.ovh-topbar {
    height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0 1.5rem; background: #fff; border-bottom: 1px solid var(--ovh-border); position: sticky; top: 0; z-index: 1020;
}
.topbar-title { font-weight: 700; font-size: 1rem; }
.icon-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.topbar-logos { align-items: center; gap: .45rem; padding-inline: .35rem; }
.company-logo { width: 38px; height: 38px; object-fit: contain; border-radius: .5rem; background: #fff; }
.user-menu { display: flex; align-items: center; gap: .5rem; max-width: 220px; }
.avatar {
    width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #1d4ed8; color: #fff; font-weight: 700; flex: 0 0 auto;
}
.ovh-content { flex: 1; padding: 1.5rem; }
.ovh-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; font-size: .875rem; background: #fff; border-top: 1px solid var(--ovh-border); }
.page-breadcrumb { display: flex; align-items: center; gap: .5rem; color: #64748b; font-size: .875rem; margin-bottom: 1rem; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.page-header-actions-only { justify-content: flex-end; }
.page-header h1 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 800; }
.page-header p { margin: .25rem 0 0; color: #64748b; max-width: 720px; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.template-preview-header { padding-top: .75rem; scroll-margin-top: 96px; }

.content-card, .filter-card, .stat-card, .master-card {
    background: #fff; border: 1px solid var(--ovh-border); border-radius: .75rem; box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.content-card { padding: 1rem; margin-bottom: 1rem; }
.filter-card { padding: 1rem; margin-bottom: 1rem; }
.stat-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; height: 100%; }
.stat-icon { width: 46px; height: 46px; border-radius: .65rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: 0 0 auto; }
.stat-title { color: #64748b; font-size: .86rem; }
.stat-value { font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.stat-subtitle { color: #94a3b8; font-size: .8rem; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-heading h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.chart-wrap { position: relative; height: 320px; width: 100%; }
.chart-small { height: 260px; }
.inspection-chart-card { padding: .85rem; margin-bottom: 0; }
.inspection-chart-wrap { position: relative; height: 150px; width: 100%; }
.ovh-table { min-width: 760px; margin-bottom: 0; }
.ovh-table thead th { color: #475569; font-size: .82rem; text-transform: uppercase; background: #f8fafc; white-space: nowrap; }
.ovh-table td { vertical-align: middle; }
.ovh-progress { min-width: 120px; height: 1.2rem; }
.status-badge { min-width: 78px; }
.responsive-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
.responsive-tabs .nav-link { white-space: nowrap; }
.placeholder-panel { min-height: 320px; border: 1px dashed #cbd5e1; border-radius: .75rem; background: #f8fafc; display: flex; align-items: center; justify-content: center; padding: 1rem; overflow: hidden; }
.placeholder-panel img { width: min(100%, 760px); max-height: 360px; object-fit: contain; }
.master-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; height: 100%; }
.master-icon { width: 46px; height: 46px; border-radius: .65rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #1d4ed8; flex: 0 0 auto; }
.master-card h2 { font-size: 1rem; font-weight: 800; margin: 0; }
.master-card p { margin: .15rem 0 0; color: #64748b; font-size: .86rem; }
.template-builder { display: grid; gap: 1rem; }
.template-manual-guide { display: grid; gap: 1rem; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.manual-guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.manual-guide-head span { display: inline-flex; margin-bottom: .25rem; color: #1d4ed8; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.manual-guide-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.manual-guide-head p { margin: .35rem 0 0; color: #64748b; max-width: 820px; }
.manual-guide-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; border: 1px solid #bfdbfe; border-radius: .65rem; color: #1d4ed8; background: #eff6ff; white-space: nowrap; }
.manual-guide-badge i { font-size: 1.05rem; }
.manual-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.manual-guide-step { display: grid; gap: .35rem; align-content: start; min-height: 150px; padding: .85rem; border: 1px solid #dbeafe; border-radius: .65rem; background: #fff; }
.manual-guide-step > span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: .5rem; background: #1d4ed8; color: #fff; font-weight: 800; }
.manual-guide-step strong { color: #1e293b; }
.manual-guide-step p { margin: 0; color: #64748b; font-size: .86rem; line-height: 1.45; }
.manual-guide-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding-top: .75rem; border-top: 1px dashed #cbd5e1; }
.manual-guide-notes > div { display: grid; gap: .35rem; }
.manual-guide-notes strong { color: #334155; font-size: .84rem; }
.manual-guide-notes code { display: block; padding: .55rem .65rem; border: 1px solid #dbe3ef; border-radius: .5rem; background: #f8fafc; color: #1e3a8a; white-space: normal; overflow-wrap: anywhere; }
.builder-block { border: 1px solid var(--ovh-border); border-radius: .65rem; padding: 1rem; background: #fbfdff; }
.builder-block-head { display: flex; align-items: flex-start; gap: .75rem; }
.builder-rows { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #cbd5e1; }
.builder-row { display: grid; grid-template-columns: minmax(160px, 1.4fr) minmax(140px, 1fr) minmax(110px, .8fr) minmax(150px, 1fr) auto; gap: .5rem; margin-bottom: .5rem; align-items: center; }
.builder-fields { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #cbd5e1; }
.builder-field-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(180px, 1.4fr) minmax(140px, .8fr); gap: .5rem; margin-bottom: .5rem; }
.excel-preview { background: #fff; border: 1px solid #1f2937; color: #111827; padding: 1rem; overflow-x: auto; }
.excel-title { display: flex; justify-content: space-between; gap: 1rem; border: 1px solid #1f2937; padding: .75rem; margin-bottom: .85rem; min-width: 760px; }
.excel-title h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.excel-title table { min-width: 280px; font-size: .86rem; }
.excel-title th, .excel-title td { border: 1px solid #1f2937; padding: .25rem .45rem; }
.excel-block { min-width: 760px; margin-bottom: .85rem; }
.excel-block h3 { margin: 0; border: 1px solid #1f2937; border-bottom: 0; background: #e5eefb; padding: .45rem .6rem; font-size: .95rem; font-weight: 800; text-transform: uppercase; }
.excel-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.excel-table th, .excel-table td { border: 1px solid #1f2937; padding: .42rem .5rem; vertical-align: top; }
.excel-table th { background: #f1f5f9; font-weight: 700; }
.excel-input { background: #fff; min-height: 34px; color: #64748b; }
.excel-textarea { min-height: 120px; border: 1px solid #1f2937; background: #fff; }
.excel-upload { border: 1px dashed #64748b; min-height: 110px; display: flex; align-items: center; justify-content: center; gap: .5rem; background: #f8fafc; color: #475569; }
.excel-signatures { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); border: 1px solid #1f2937; border-left: 0; }
.excel-signatures > div { min-height: 150px; border-left: 1px solid #1f2937; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: .65rem; text-align: center; }
.excel-signatures span { display: grid; place-items: center; min-height: 72px; color: #94a3b8; }
.upload-panel { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem; border: 1px dashed #cbd5e1; border-radius: .75rem; background: #f8fafc; }
.upload-panel > i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: .65rem; background: #dbeafe; color: #1d4ed8; font-size: 1.8rem; }
.template-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.template-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.template-tab { display: inline-flex; align-items: center; min-height: 38px; padding: .45rem .75rem; border: 1px solid var(--ovh-border); border-radius: .5rem; background: #fff; color: #475569; font-weight: 600; text-decoration: none; }
.template-tab:hover, .template-tab.active { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
.template-search { position: relative; width: min(360px, 100%); }
.template-search i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #64748b; z-index: 1; }
.template-search .form-control { padding-left: 2.2rem; }
.template-table-wrap { overflow-x: auto; overflow-y: visible; }
.template-table { min-width: 920px; margin-bottom: 0; }
.template-table thead th { color: #475569; font-size: .82rem; text-transform: uppercase; background: #f8fafc; white-space: nowrap; }
.template-meta { display: flex; flex-wrap: wrap; gap: .35rem .65rem; color: #64748b; font-size: .82rem; }
.template-meta span:not(:last-child)::after { content: ""; }
.template-row-note { display: inline-flex; margin-top: .4rem; padding: .18rem .45rem; border-radius: .4rem; background: #fff7ed; color: #9a3412; font-size: .78rem; font-weight: 600; }
.template-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.template-actions .dropdown-menu { z-index: 1035; }
.pagination svg { width: 1rem; height: 1rem; }
.import-steps { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: .75rem; }
.import-step { display: flex; align-items: center; gap: .55rem; color: #64748b; }
.import-step span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e2e8f0; color: #475569; font-weight: 800; }
.import-step.active span { background: #1d4ed8; color: #fff; }
.import-step.active strong { color: #1d4ed8; }
.upload-panel-large { grid-template-columns: 76px minmax(0, 1fr); padding: 1.25rem; }
.upload-panel-large > i { width: 76px; height: 76px; font-size: 2.2rem; }
.qc-excel-wrapper, .qc-excel-sheet-wrap { overflow-x: auto; background: #eef2f7; padding: 1rem; border-radius: .65rem; }
.qc-excel-sheet { width: 100%; min-width: 1180px; table-layout: fixed; border-collapse: collapse; background: #fff; color: #111; font-size: 13px; line-height: 1.25; border: 1px solid #111; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.qc-excel-sheet col { width: calc(1180px / var(--qc-grid-columns)); }
.qc-excel-cell { border: 1px solid #111; height: 34px; padding: 6px; vertical-align: middle; background: #fff; overflow-wrap: anywhere; }
.qc-excel-title { font-size: 20px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0; }
.qc-excel-label { background: #eef2ff; font-weight: 700; }
.qc-excel-input { background: #fff; }
.qc-excel-header { background: #dbeafe; font-weight: 800; text-align: center; }
.qc-excel-table-head { background: #e5e7eb; font-weight: 800; text-align: center; }
.qc-excel-center { text-align: center; }
.qc-excel-bold { font-weight: 800; }
.qc-excel-logo { max-width: 108px; max-height: 54px; object-fit: contain; display: block; margin: 0 auto; }
.qc-excel-input-control, .qc-excel-textarea-control { width: 100%; border: 0; background: transparent; color: #475569; font-size: 13px; padding: 3px 5px; min-height: 28px; }
.qc-excel-textarea-control { min-height: 58px; resize: none; }
.qc-excel-check { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; width: 100%; margin: 0; }
.qc-excel-check input { width: 15px; height: 15px; }
.qc-excel-label-inline { display: block; font-weight: 700; margin-bottom: .2rem; }
.qc-block-preview { display: grid; gap: 1rem; }
.qc-preview-section { border: 1px solid var(--ovh-border); border-radius: .75rem; background: #fff; overflow: hidden; }
.qc-preview-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; background: #f8fafc; border-bottom: 1px solid var(--ovh-border); }
.qc-preview-section-head h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.qc-preview-section-head span { color: #64748b; font-size: .8rem; }
.qc-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; padding: 1rem; }
.qc-info-field label { display: block; color: #475569; font-size: .82rem; font-weight: 700; margin-bottom: .3rem; }
.qc-info-field input { width: 100%; border: 1px solid #dbe3ef; border-radius: .5rem; background: #f8fafc; padding: .5rem .65rem; color: #334155; }
.qc-modern-table { margin: 0; min-width: 820px; font-size: .86rem; }
.qc-modern-table thead th { background: #eef4ff; color: #1e3a8a; font-size: .78rem; text-transform: uppercase; border-bottom: 1px solid #dbe3ef; padding: .45rem .55rem; }
.qc-modern-table td { border-color: #edf2f7; padding: .38rem .55rem; vertical-align: middle; }
.qc-table-textarea { min-height: 42px; height: 42px; resize: none; padding: .25rem .45rem; font-size: .82rem; line-height: 1.25; }
.qc-radio-inline { display: flex; flex-wrap: nowrap; align-items: center; gap: .35rem; }
.qc-radio-option { display: inline-flex; align-items: center; gap: .25rem; margin: 0; padding: .16rem .4rem; border: 1px solid #dbe3ef; border-radius: 999px; background: #fff; white-space: nowrap; color: #475569; font-size: .8rem; line-height: 1.1; }
.qc-radio-option input { margin: 0; }
.qc-category-cell { color: #334155; font-weight: 650; }
.qc-category-break .qc-category-cell { background: #eff6ff; color: #1e3a8a; font-weight: 800; box-shadow: inset 3px 0 0 #2563eb; }
.qc-note-preview { min-height: 120px; border: 0; border-radius: 0; background: #f8fafc; }
.qc-attachment-preview { display: grid; gap: .75rem; min-height: 110px; padding: 1rem; color: #475569; background: #f8fafc; }
.qc-attachment-preview p { margin: 0; color: #64748b; }
.qc-preview-attachment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.qc-preview-attachment-box { display: grid; gap: .25rem; padding: .75rem; border: 1px dashed #cbd5e1; border-radius: .65rem; background: #fff; }
.qc-preview-attachment-box i { color: #1d4ed8; font-size: 1.25rem; }
.qc-preview-attachment-box strong { color: #334155; }
.qc-preview-attachment-box span { color: #64748b; font-size: .8rem; }
.qc-approval-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: .75rem; padding: 1rem; }
.qc-approval-box { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #dbe3ef; border-radius: .65rem; padding: .75rem; background: #f8fafc; text-align: center; }
.qc-approval-box.is-date { justify-content: center; gap: .75rem; }
.qc-approval-box.is-locked { background: #f1f5f9; color: #64748b; }
.qc-approval-date { width: 100%; border: 1px solid #dbe3ef; border-radius: .5rem; background: #fff; padding: .45rem .55rem; color: #64748b; }
.qc-approval-box span { color: #94a3b8; }
.qc-approval-notes { margin: 0; padding: 0 1rem 1rem 2rem; color: #64748b; font-size: .84rem; }

.login-body { min-height: 100vh; background: #edf3fb; display: grid; place-items: center; padding: 1rem; }
.login-shell { width: min(1040px, 100%); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 24px 70px rgba(15, 23, 42, .14); }
.login-visual {
    position: relative; min-height: 560px; color: #fff; padding: clamp(1.5rem, 4vw, 3rem);
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, rgba(15, 36, 66, .18), rgba(15, 36, 66, .88)), url('../images/illustrations/bg-login.jpg') center / cover no-repeat;
}
.login-visual h1 { position: relative; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.login-card { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.login-logo-group { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.login-logo { width: 76px; height: 76px; object-fit: contain; border-radius: .9rem; background: #fff; padding: .25rem; box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }
.register-shell { width: min(1120px, 100%); grid-template-columns: minmax(0, 1fr) minmax(420px, .98fr); }
.register-card { padding-block: clamp(1.5rem, 3vw, 2.4rem); }

@media (min-width: 992px) {
    body.sidebar-collapsed .ovh-sidebar { width: var(--ovh-sidebar-compact); }
    body.sidebar-collapsed .ovh-main { margin-left: var(--ovh-sidebar-compact); }
    body.sidebar-collapsed .sidebar-brand { justify-content: center; padding-inline: .85rem; }
    body.sidebar-collapsed .brand-logo { width: 42px; height: 42px; }
    body.sidebar-collapsed .brand-copy,
    body.sidebar-collapsed .sidebar-link span,
    body.sidebar-collapsed .group-chevron,
    body.sidebar-collapsed .sidebar-submenu { display: none; }
    body.sidebar-collapsed .sidebar-nav { padding-inline: .8rem; }
    body.sidebar-collapsed .sidebar-link { justify-content: center; padding-inline: .75rem; }
}

@media (max-width: 991.98px) {
    .ovh-sidebar { transform: translateX(-100%); width: min(var(--ovh-sidebar-width), 86vw); }
    body.sidebar-open .ovh-sidebar { transform: translateX(0); }
    body.sidebar-open .sidebar-backdrop { display: block; }
    .ovh-main { margin-left: 0; }
    .ovh-content { padding: 1rem; }
    .ovh-topbar { height: 64px; padding: 0 1rem; }
    .page-header { flex-direction: column; }
    .page-actions { width: 100%; justify-content: stretch; }
    .page-actions .btn { flex: 1 1 160px; }
    .chart-wrap { height: 260px; }
    .builder-block-head { flex-direction: column; }
    .manual-guide-head { flex-direction: column; }
    .manual-guide-grid, .manual-guide-notes { grid-template-columns: 1fr; }
    .builder-row { grid-template-columns: 1fr; }
    .builder-field-row { grid-template-columns: 1fr; }
    .excel-signatures { grid-template-columns: 1fr; }
    .template-toolbar { align-items: stretch; flex-direction: column; }
    .template-search { width: 100%; }
    .import-steps { grid-template-columns: 1fr; }
    .qc-excel-sheet-wrap { padding: .5rem; }
    .qc-info-grid { grid-template-columns: 1fr; }
    .qc-approval-grid { grid-template-columns: 1fr; }
    .qc-preview-attachment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .ovh-footer { flex-direction: column; }
    .content-card, .filter-card { padding: .85rem; }
    .placeholder-panel { min-height: 240px; }
    .template-preview-header { padding-top: 1rem; }
    .qc-modern-table { min-width: 680px; font-size: .8rem; }
    .qc-radio-inline { flex-direction: column; align-items: flex-start; gap: .25rem; }
    .qc-radio-option { width: 100%; justify-content: flex-start; }
    .login-body {
        background: linear-gradient(180deg, rgba(15, 36, 66, .2), rgba(15, 36, 66, .72)), url('../images/illustrations/bg-login.jpg') center / cover no-repeat;
    }
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { display: none; }
    .login-card { border-radius: 1rem; background: rgba(255, 255, 255, .94); }
    .register-shell { width: min(100%, 560px); }
    .user-menu { padding-inline: .55rem; }
}
