:root {
    --bg: #ffffff;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --surface-2: #f5f6fa;
    --border: #e5e8f0;
    --border-strong: #d3d8e6;
    --text: #1b2030;
    --text-soft: #3a4256;
    --text-muted: #79839a;
    --primary: #1e3a8a;
    --primary-600: #1b3478;
    --primary-700: #14275c;
    --primary-soft: #e8edf9;
    --accent: #2563eb;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow: 0 4px 12px rgba(16, 24, 40, .08);
    --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);
    --sidebar-w: 256px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: 13px; }

/* ---------------- Layout ---------------- */
.layout { display: flex; min-height: 100vh; }

/* Sidebar in stile SAP Fiori (shell bar navy con accenti blu SAP) */
.sidebar {
    width: var(--sidebar-w);
    background: linear-gradient(180deg, #354a5f 0%, #2b3c4e 100%);
    border-right: 1px solid #243341;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
}

.sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand-mark {
    width: 38px; height: 38px; border-radius: 8px;
    background: #0a6ed1;
    display: grid; place-items: center; color: #fff;
    box-shadow: none;
}
.brand-text { font-size: 17px; letter-spacing: .2px; color: #fff; }
.brand-text strong { color: #7ec1ff; }

.sidebar-nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .45); padding: 16px 13px 6px; font-weight: 700; }
.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 13px; border-radius: 6px;
    color: rgba(255, 255, 255, .82); font-weight: 400;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.nav-item .ic { color: rgba(255, 255, 255, .65); }
.nav-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-item:hover .ic { color: #fff; }
.nav-item.active { background: rgba(10, 110, 209, .28); color: #fff; font-weight: 600; border-left-color: #0a6ed1; border-radius: 0 6px 6px 0; }
.nav-item.active .ic { color: #7ec1ff; }

.sidebar-foot { padding: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 4px; border-radius: 6px; transition: background .15s; }
.user-chip:hover { background: rgba(255, 255, 255, .08); }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: #0a6ed1;
    display: grid; place-items: center; font-weight: 700; color: #fff;
}
.user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.user-name { font-weight: 600; font-size: 14px; color: #fff; }
.user-role { font-size: 12px; color: rgba(255, 255, 255, .55); text-transform: capitalize; }
.logout { color: #ffb4b4; }
.logout .ic { color: #ffb4b4; }
.logout:hover { background: rgba(220, 38, 38, .25); color: #fff; }
.logout:hover .ic { color: #fff; }

.main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 16px;
    padding: 14px 24px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.topbar-title { font-size: 18px; margin: 0; font-weight: 700; flex: 1; }
.topbar-actions { display: flex; gap: 10px; }
.hamburger { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }

.content { padding: 26px; flex: 1; max-width: 1280px; width: 100%; margin: 0 auto; }
.appfoot {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 18px 24px; color: var(--text-muted); font-size: 13px;
    border-top: 1px solid var(--border);
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: var(--radius-sm);
    border: 1px solid transparent; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: .15s; font-family: inherit; white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-600); }
.btn-primary .ic { color: #fff; }
.btn-ghost { background: #fff; color: var(--text-soft); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-muted); }
.btn-ghost .ic { color: var(--text-muted); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f3c2c2; box-shadow: var(--shadow-sm); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-danger .ic { color: currentColor; }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Cards & grid ---------------- */
.grid { display: grid; gap: 18px; }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
}
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-card .stat-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text); }
.stat-label { color: var(--text-muted); font-size: 13px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 14px; flex-wrap: wrap; }
.section-head h2 { font-size: 18px; margin: 0; }
.muted { color: var(--text-muted); }

/* Catalog card */
.catalog-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s, border-color .15s; box-shadow: var(--shadow-sm);
}
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.cc-cover {
    height: 150px; background: linear-gradient(135deg, #eef1f8, #e4e9f5);
    display: grid; place-items: center; color: #aeb6cb; position: relative;
}
.cc-cover .ic { width: 42px; height: 42px; }
.cc-cover img { width: 100%; height: 100%; object-fit: cover; }
.cc-badge {
    position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700;
    padding: 4px 9px; border-radius: 999px; color: #fff;
    box-shadow: var(--shadow-sm);
}
.cc-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-title { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text); }
.cc-title:hover { color: var(--primary); }
.cc-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.cc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.chip {
    font-size: 11px; padding: 3px 9px; border-radius: 999px;
    background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border);
}
a.chip:hover { background: var(--primary-soft); color: var(--primary-700); border-color: var(--primary-soft); }
.cc-foot { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); }

/* Catalog list (vista a lista) */
.cat-list { display: flex; flex-direction: column; gap: 10px; }
.cat-row {
    display: flex; align-items: center; gap: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 14px;
    box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .12s;
}
.cat-row:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.cat-row-thumb {
    width: 56px; height: 70px; border-radius: 8px; flex: 0 0 auto;
    background: linear-gradient(135deg, #eef1f8, #e4e9f5);
    display: grid; place-items: center; color: #9aa7c4; overflow: hidden;
}
.cat-row-thumb .ic { width: 24px; height: 24px; }
.cat-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cat-row-title { font-weight: 700; font-size: 15.5px; color: var(--text); }
.cat-row-title:hover { color: var(--primary); }
.cat-row-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); }
.cat-row-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cat-row-meta .ic { width: 14px; height: 14px; color: var(--text-muted); }
.cat-row-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-row-actions { display: flex; gap: 6px; flex: 0 0 auto; }

@media (max-width: 720px) {
    .cat-row { flex-wrap: wrap; }
    .cat-row-thumb { width: 46px; height: 58px; }
    .cat-row-actions { width: 100%; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 10px; }
    .cat-row-actions .btn span { display: none; }
}

/* Catalog table (elenco con miniatura) */
.cat-table { table-layout: fixed; }
.cat-table td { vertical-align: middle; padding: 8px 12px; }
.cat-thumb {
    display: inline-grid; place-items: center;
    width: 30px; height: 40px; min-width: 30px; max-width: 30px; border-radius: 5px; overflow: hidden;
    background: linear-gradient(135deg, #eef1f8, #e4e9f5); color: #9aa7c4;
    border: 1px solid var(--border);
}
.cat-thumb .ic { width: 14px; height: 14px; }
.cat-thumb img { width: 30px; height: 40px; max-width: 30px; max-height: 40px; object-fit: cover; display: block; }
.cat-table-title { font-weight: 700; color: var(--text); font-size: 14.5px; }
.cat-table-title:hover { color: var(--primary); }
.cat-table-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.cat-table-tags .chip { font-size: 10.5px; padding: 2px 7px; }
.cat-table-actions { display: flex; gap: 4px; justify-content: flex-end; }
.cat-table-actions form { margin: 0; }

@media (max-width: 860px) {
    .cat-table thead { display: none; }
    .cat-table, .cat-table tbody, .cat-table tr, .cat-table td { display: block; width: 100%; }
    .cat-table tr { padding: 10px; border-bottom: 1px solid var(--border); position: relative; }
    .cat-table td { border: none; padding: 4px 0 4px 90px; min-height: 24px; }
    .cat-table td:first-child { position: absolute; left: 10px; top: 12px; padding: 0; }
    .cat-table td::before { content: attr(data-label); position: absolute; left: 0; width: 84px; color: var(--text-muted); font-size: 12px; font-weight: 600; }
    .cat-table-actions { justify-content: flex-start; }
}

/* Categorie professionali (schede) */
.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cat-tile {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
    transition: transform .14s, box-shadow .14s, border-color .14s; overflow: hidden;
}
.cat-tile::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tile-color, var(--primary)); }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.cat-tile-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cat-tile-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.cat-tile-ic .ic { color: #fff; width: 22px; height: 22px; }
.cat-tile-name { font-weight: 700; font-size: 15.5px; color: var(--text); line-height: 1.2; }
.cat-tile-sub { font-size: 12.5px; color: var(--text-muted); }
.cat-tile-desc { font-size: 13px; color: var(--text-soft); min-height: 34px; margin-bottom: 14px; }
.cat-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.cat-tile-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--primary); }
.cat-tile-count .ic { width: 16px; height: 16px; }
.cat-tile-actions { display: flex; gap: 6px; }

/* Modale */
.modal-overlay { position: fixed; inset: 0; background: rgba(16,24,40,.55); backdrop-filter: blur(3px); z-index: 60; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-overlay.open { display: flex; }
.modal {
    width: 100%; max-width: 520px; background: #fff; border-radius: 18px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border); animation: rise .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 17px; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 6px; border-radius: 8px; line-height: 0; }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-body { padding: 22px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--border); }

/* Category card (legacy, usata altrove) */
.cat-card { display: flex; align-items: center; gap: 12px; }
.cat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.cat-ic .ic { color: #fff; }
.cat-card .cat-name { font-weight: 700; color: var(--text); }
.cat-card .cat-count { font-size: 12px; color: var(--text-muted); }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 600; font-size: 13px; color: var(--text-soft); }
.hint { font-size: 12px; color: var(--text-muted); }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=search], select, textarea {
    width: 100%; padding: 11px 13px; background: #fff;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    color: var(--text); font-family: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #a3acc0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea { resize: vertical; min-height: 90px; }
.color-input { padding: 4px; height: 44px; cursor: pointer; }

.dropzone {
    border: 2px dashed var(--border-strong); border-radius: var(--radius);
    padding: 32px; text-align: center; color: var(--text-muted);
    cursor: pointer; transition: .15s; background: var(--surface-2);
}
.dropzone:hover { border-color: var(--primary); }
.dropzone.dragover { border-color: var(--primary); background: var(--primary-soft); color: var(--text); }
.dropzone .ic { width: 36px; height: 36px; margin-bottom: 8px; color: var(--primary); }
.file-name { margin-top: 10px; font-weight: 600; color: var(--text); }

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; background: var(--surface-2); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

/* ---------------- Alerts / badges ---------------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; border: 1px solid; display: flex; gap: 8px; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-info { background: var(--primary-soft); border-color: #c7cefb; color: var(--primary-700); }

.badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.badge-published { background: #f0fdf4; color: #15803d; }
.badge-draft { background: #fffbeb; color: #b45309; }
.badge-archived { background: var(--surface-2); color: var(--text-muted); }

/* ---------------- Toolbar / filters ---------------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .search-box { flex: 1; min-width: 200px; position: relative; }
.toolbar .search-box .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); width: 18px; height: 18px; }
.toolbar .search-box input { padding-left: 38px; }

/* ---------------- Auth page ---------------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px;
    background: radial-gradient(1100px 560px at 75% -10%, #e7eafe, transparent),
                radial-gradient(900px 520px at -10% 110%, #e0f2fe, transparent), var(--bg); }
.auth-card { width: 100%; max-width: 410px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.auth-card h1 { font-size: 22px; margin: 0 0 4px; }
.auth-card .sub { color: var(--text-muted); margin: 0 0 24px; font-size: 14px; }
.auth-card .field { margin-bottom: 16px; }

/* ---------------- AI search ---------------- */
.ai-hero { background: linear-gradient(135deg, #eef0fe, #e6f5fd); border: 1px solid #d8def8; border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.ai-hero h2 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.ai-hero h2 .ic { color: var(--primary); }
.ai-search-form { display: flex; gap: 10px; margin-top: 14px; }
.ai-search-form input { flex: 1; }
.ai-answer { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; white-space: pre-wrap; line-height: 1.7; box-shadow: var(--shadow-sm); }
.ai-answer.loading { color: var(--text-muted); }
.ai-sources { display: grid; gap: 10px; }
.ai-source { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: border-color .15s; }
.ai-source:hover { border-color: var(--primary); }
.ai-source .src-rank { width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--border-strong); border-top-color: var(--primary); border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty .ic { width: 48px; height: 48px; margin-bottom: 12px; opacity: .4; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--border-strong); background: #fff; }
.pager a:hover { background: var(--surface-2); }
.pager .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.tags-input { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.tags-input input { border: none; background: none; flex: 1; min-width: 120px; padding: 4px; box-shadow: none; }
.tags-input input:focus { box-shadow: none; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary-700); padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.tag-pill button { background: none; border: none; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.pdf-frame { width: 100%; height: 80vh; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.meta-list { display: flex; flex-direction: column; gap: 12px; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.meta-row .k { color: var(--text-muted); font-size: 13px; }
.meta-row .v { font-weight: 600; text-align: right; }

/* ---------------- Responsive ---------------- */
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(16,24,40,.4); z-index: 35; }

@media (max-width: 980px) {
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow-lg); }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .hamburger { display: inline-flex; }
    .sidebar-backdrop.show { display: block; }
    .form-grid { grid-template-columns: 1fr; }
    .topbar-actions .btn span { display: none; }
    .content { padding: 16px; }
}
