:root {
  --navy: #0d1f3c;
  --blue: #1e40af;
  --blue-lt: #3b82f6;
  --cyan: #3b9edd;
  --green: #059669;
  --orange: #f97316;
  --red: #e11d48;
  --purple: #7c3aed;
  --bg: #f0f4f8;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --sb-w: 232px;
  --topbar-h: 52px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); font-size: 13px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── SHELL ── */
.app-shell { display: flex; height: 100vh; overflow: hidden; }

/* ══ SIDEBAR ══ */
.sidebar { width: var(--sb-w); background: var(--navy); display: flex; flex-direction: column; flex-shrink: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; transition: width .25s; }
.sidebar.collapsed { width: 56px; }
.sidebar.collapsed .sb-brand, .sidebar.collapsed .sb-org-wrap,
.sidebar.collapsed .sb-sec, .sidebar.collapsed .lbl, .sidebar.collapsed .sb-badge,
.sidebar.collapsed .sb-user-info, .sidebar.collapsed .sb-logout { display: none; }
.sidebar.collapsed .sb-logo { padding: .8rem; justify-content: center; }
.sidebar.collapsed .sb-logo-img { width: 32px; height: 36px; }
.sidebar.collapsed .sb-item { justify-content: center; padding: .55rem; }

.sb-logo { padding: .9rem .85rem; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.sb-logo-img { width: 44px; height: 50px; object-fit: contain; flex-shrink: 0; }
.sb-brand-name { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 1.5px; line-height: 1.1; }
.sb-brand-app { font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: 2px; margin-top: 1px; }
.sb-brand-sub { font-size: 9px; color: rgba(255,255,255,.3); letter-spacing: .3px; margin-top: 2px; }

.sb-org-wrap { padding: .45rem .7rem; }
.sb-org { background: rgba(255,255,255,.05); border: .5px solid rgba(255,255,255,.09); border-radius: 8px; padding: .55rem .8rem; cursor: pointer; transition: background .15s; }
.sb-org:hover { background: rgba(255,255,255,.09); }
.sb-org-lbl { font-size: 8px; color: rgba(255,255,255,.28); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.sb-org-name { font-size: 11px; color: #fff; font-weight: 600; }
.sb-org-meta { font-size: 9px; color: rgba(255,255,255,.35); margin-top: 2px; }

.sb-nav { flex: 1; padding-bottom: .5rem; }
.sb-sec { padding: .5rem 1rem .2rem; font-size: 9px; color: rgba(255,255,255,.25); letter-spacing: 1.2px; text-transform: uppercase; margin-top: .25rem; }
.sb-item { display: flex; align-items: center; gap: 9px; padding: .5rem .85rem; margin: 1px .5rem; border-radius: 7px; cursor: pointer; transition: background .15s; color: inherit; text-decoration: none; }
.sb-item:hover { background: rgba(255,255,255,.07); }
.sb-item.active { background: var(--blue); }
.sb-item svg { width: 15px; height: 15px; fill: rgba(255,255,255,.55); flex-shrink: 0; transition: fill .15s; }
.sb-item.active svg { fill: #fff; }
.sb-item .lbl { font-size: 12px; color: rgba(255,255,255,.62); flex: 1; }
.sb-item.active .lbl { color: #fff; font-weight: 600; }
.sb-badge { background: var(--red); color: #fff; font-size: 9px; padding: 1px 6px; border-radius: 8px; font-weight: 700; min-width: 18px; text-align: center; }
.sb-badge.crit { background: var(--red); }
.sb-divider { height: .5px; background: rgba(255,255,255,.07); margin: .4rem .85rem; }

.sb-bottom { padding: .85rem 1rem; border-top: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.sb-user { display: flex; align-items: center; gap: 9px; }
.sb-av { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; font-weight: 700; flex-shrink: 0; }
.sb-uname { font-size: 11px; color: #fff; font-weight: 600; }
.sb-urole { font-size: 9px; color: rgba(255,255,255,.32); margin-top: 1px; }
.sb-user-info { flex: 1; min-width: 0; }
.sb-logout { color: rgba(255,255,255,.4); transition: color .15s; padding: 4px; border-radius: 5px; }
.sb-logout:hover { color: #fff; background: rgba(255,255,255,.1); }
.sb-logout svg { width: 15px; height: 15px; display: block; }

/* ══ MAIN ══ */
.main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; height: 100vh; overflow: hidden; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 0 1.2rem; height: var(--topbar-h); background: var(--card); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.sidebar-toggle { background: none; border: none; cursor: pointer; padding: 5px; border-radius: 6px; color: var(--muted); transition: background .15s; }
.sidebar-toggle:hover { background: var(--bg); }
.sidebar-toggle svg { width: 18px; height: 18px; display: block; }
.page-title { font-size: 14px; font-weight: 700; color: var(--text); flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-date { font-size: 11px; color: var(--muted); white-space: nowrap; }
.topbar-notif { position: relative; cursor: pointer; padding: 5px; border-radius: 6px; color: var(--muted); transition: background .15s; }
.topbar-notif:hover { background: var(--bg); }
.topbar-notif svg { width: 18px; height: 18px; display: block; }
.notif-badge { position: absolute; top: 2px; right: 2px; background: var(--red); color: #fff; font-size: 8px; font-weight: 700; width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── FLASH ── */
.flash { display: flex; align-items: center; gap: 8px; padding: .6rem 1.2rem; font-size: 12px; font-weight: 500; border-bottom: 1px solid transparent; }
.flash-success { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.flash-error { background: #fff1f2; color: #be123c; border-color: #fecdd3; }

/* ── PAGE CONTENT ── */
.page-content { flex: 1; overflow-y: auto; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 11px; }
.page-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.filters-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── SIGNATURE ── */
.sig-bar { padding: .5rem 1.2rem; background: var(--card); border-top: 1px solid var(--border); text-align: right; font-size: 10px; color: var(--muted); flex-shrink: 0; }

/* ══ LAYOUT GRIDS ══ */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.row3 { display: grid; grid-template-columns: 3fr 2fr; gap: 11px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 11px; }

/* ══ KPI CARDS ══ */
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: flex-start; cursor: pointer; transition: border-color .2s, transform .12s; text-decoration: none; color: inherit; }
.kpi:hover { border-color: #93c5fd; transform: translateY(-1px); }
.kpi-lbl { font-size: 10px; color: var(--muted); margin-bottom: .28rem; font-weight: 500; }
.kpi-val { font-size: 22px; font-weight: 700; color: var(--text); line-height: 1; }
.kpi-sub { font-size: 10px; margin-top: .28rem; display: flex; align-items: center; gap: 3px; }
.up { color: var(--green); } .dn { color: var(--red); } .wn { color: var(--orange); } .mu { color: var(--muted); }
.kpi-bar { width: 4px; border-radius: 2px; height: 44px; flex-shrink: 0; margin-top: 2px; }

/* ══ CARDS ══ */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.card-title { font-size: 13px; font-weight: 700; color: var(--text); }
.card-action { font-size: 11px; color: var(--blue); cursor: pointer; font-weight: 500; padding: 3px 8px; border-radius: 5px; transition: background .15s; }
.card-action:hover { background: #eff6ff; }

/* ══ TYPE TABS ══ */
.type-tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.ttab { padding: 5px 13px; border-radius: 20px; font-size: 11px; cursor: pointer; border: 1px solid var(--border); color: var(--muted); background: var(--card); font-weight: 500; transition: all .15s; }
.ttab:hover { border-color: var(--blue-lt); color: var(--blue); }
.ttab.active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }

/* ══ TABLE ══ */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; table-layout: fixed; }
.data-table th { color: var(--muted); font-weight: 600; text-align: left; padding: 6px 6px; border-bottom: 1px solid #f1f5f9; font-size: 9px; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 7px 6px; border-bottom: 1px solid #f8fafc; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .1s; }
.data-table tbody tr:hover td { background: #f0f7ff; }
.data-table tbody tr[onclick] { cursor: pointer; }

/* ══ PILLS ══ */
.pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.pill-pink { background: #fdf2f8; color: #9d174d; }
.pill-purple { background: #f5f3ff; color: #5b21b6; }
.pill-teal { background: #f0fdfa; color: #0f766e; }
.pill-green { background: #f0fdf4; color: #15803d; }
.pill-amber { background: #fffbeb; color: #b45309; }
.pill-red { background: #fff1f2; color: #be123c; }
.pill-blue { background: #eff6ff; color: #1e40af; }

/* ══ ALERTES ══ */
.alerts-list { display: flex; flex-direction: column; gap: 7px; }
.alert-item { display: flex; align-items: flex-start; gap: 8px; padding: .6rem .75rem; border-radius: 8px; background: #f8fafc; border: .5px solid var(--border); transition: background .15s; }
.alert-critique { border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; }
.alert-vigilance { border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; }
.alert-ok { border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; }
.alert-info { border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; }
.alert-item.acked { opacity: .4; }
.adot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.atext { font-size: 11px; color: var(--text); line-height: 1.45; }
.atime { font-size: 9px; color: #94a3b8; margin-top: 2px; }
.ack-btn { margin-left: auto; font-size: 9px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; background: #fff; cursor: pointer; flex-shrink: 0; transition: all .15s; font-family: inherit; }
.ack-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ══ EXPLOITATIONS ══ */
.expl-list { display: flex; flex-direction: column; gap: 7px; }
.expl-item { display: flex; align-items: center; gap: 9px; padding: .6rem .8rem; border-radius: 8px; border: 1px solid var(--border); background: #f8fafc; cursor: pointer; transition: all .15s; text-decoration: none; color: inherit; }
.expl-item:hover { border-color: #93c5fd; background: #f0f7ff; transform: translateX(2px); }
.expl-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.expl-info { flex: 1; min-width: 0; }
.expl-name { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expl-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }
.expl-kpi { font-size: 12px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.mini-bar { height: 3px; border-radius: 2px; background: var(--border); margin-top: 5px; overflow: hidden; }
.mini-bar-fill { height: 3px; border-radius: 2px; transition: width .6s ease; }

/* ── EXPLOIT CARDS ── */
.exploit-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; transition: border-color .2s; }
.exploit-card:hover { border-color: #93c5fd; }
.exploit-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: .85rem; }
.exploit-card-icon { width: 38px; height: 38px; border-radius: 9px; background: #eff6ff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.exploit-card-name { font-size: 13px; font-weight: 700; }
.exploit-card-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }
.exploit-card-info { flex: 1; min-width: 0; }
.exploit-card-actions { display: flex; gap: 6px; }
.exploit-card-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.exploit-card-footer { margin-top: .75rem; padding-top: .6rem; border-top: 1px solid var(--border); font-size: 10px; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.mini-kpi { background: #f8fafc; border-radius: 7px; padding: .5rem .65rem; border: 1px solid var(--border); }
.mini-kpi-val { font-size: 16px; font-weight: 700; color: var(--text); }
.mini-kpi-lbl { font-size: 9px; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .3px; }

/* ══ DETAIL PAGES ══ */
.detail-header { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin-bottom: 11px; }
.detail-header-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.detail-title { font-size: 18px; font-weight: 700; color: var(--text); }
.detail-meta { font-size: 11px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-header-actions { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }

/* Listes bâtiments/lots */
.bat-list, .lot-simple-list { display: flex; flex-direction: column; gap: 6px; }
.bat-item { display: flex; align-items: center; gap: 9px; padding: .5rem .75rem; border-radius: 7px; border: 1px solid var(--border); background: #f8fafc; }
.bat-icon { width: 26px; height: 26px; border-radius: 6px; background: #eff6ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bat-name { font-size: 12px; font-weight: 600; }
.bat-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }
.bat-info { flex: 1; }
.lot-simple-item { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; border-radius: 7px; border: 1px solid var(--border); background: #f8fafc; cursor: pointer; text-decoration: none; color: inherit; transition: background .15s; }
.lot-simple-item:hover { background: #f0f7ff; border-color: #93c5fd; }
.info-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.info-table td { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.info-table tr:last-child td { border-bottom: none; }
.info-label { color: var(--muted); width: 42%; font-size: 11px; }

/* ══ FORMS ══ */
.form-container { max-width: 700px; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.form-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 1.1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 9px; }
.form-section-title { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin: 1rem 0 .65rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.form-input { padding: 7px 10px; border-radius: 7px; border: 1px solid var(--border); font-size: 12px; color: var(--text); background: #fff; outline: none; transition: border-color .15s; width: 100%; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(30,64,175,.08); }
.form-input:hover { border-color: #94a3b8; }
.form-input-sm { padding: 5px 9px; font-size: 11px; }
.form-hint { font-size: 10px; color: var(--muted); margin-top: 2px; }
textarea.form-input { resize: vertical; min-height: 60px; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--border); }

/* ══ BUTTONS ══ */
.btn-primary { padding: 7px 16px; border-radius: 7px; border: none; background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; cursor: pointer; transition: background .15s; display: inline-flex; align-items: center; gap: 5px; }
.btn-primary:hover { background: #1d3899; }
.btn-cancel, .btn-outline { padding: 7px 14px; border-radius: 7px; border: 1px solid var(--border); background: #fff; color: var(--muted); font-weight: 500; font-size: 12px; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; }
.btn-cancel:hover, .btn-outline:hover { background: #f8fafc; }
.btn-danger { padding: 7px 14px; border-radius: 7px; border: 1px solid #fecdd3; background: #fff1f2; color: var(--red); font-weight: 600; font-size: 12px; cursor: pointer; transition: all .15s; }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm { padding: 4px 10px; border-radius: 5px; border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 11px; cursor: pointer; font-weight: 500; transition: all .15s; }
.btn-sm:hover { border-color: var(--blue); color: var(--blue); }
.btn-icon { background: none; border: 1px solid var(--border); border-radius: 5px; padding: 3px 7px; cursor: pointer; color: var(--muted); font-size: 10px; transition: all .15s; }
.btn-icon:hover { background: #f0fdf4; color: var(--green); border-color: var(--green); }
.btn-icon-danger:hover { background: #fff1f2; color: var(--red); border-color: var(--red); }
.btn-full { width: 100%; justify-content: center; padding: 9px; font-size: 13px; }

/* ══ LEGEND ══ */
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: .5rem; }
.leg { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.leg-sq { width: 18px; height: 3px; border-radius: 1px; flex-shrink: 0; }

/* ══ EMPTY STATE ══ */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; gap: .75rem; }
.empty-title { font-size: 15px; font-weight: 700; color: var(--text); }
.empty-sub { font-size: 12px; color: var(--muted); max-width: 380px; }

/* ══ LOGIN ══ */
.login-body { background: #f0f4f8; min-height: 100vh; display: flex; align-items: stretch; }
.login-wrap { display: flex; width: 100%; min-height: 100vh; }
.login-left { width: 42%; background: var(--navy); display: flex; flex-direction: column; justify-content: center; padding: 3rem; }
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 3rem; }
.login-logo { width: 64px; height: 72px; object-fit: contain; }
.login-name { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.login-app { font-size: 16px; color: var(--cyan); font-weight: 700; letter-spacing: 3px; margin-top: 2px; }
.login-tagline { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 4px; letter-spacing: .3px; }
.login-features { display: flex; flex-direction: column; gap: 1.5rem; }
.login-feat { display: flex; align-items: flex-start; gap: 12px; }
.feat-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-title { font-size: 13px; font-weight: 600; color: #fff; }
.feat-sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.login-right { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.login-card { width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.login-card-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.login-card-sub { font-size: 12px; color: var(--muted); margin-bottom: 1.5rem; }
.login-form { display: flex; flex-direction: column; gap: 1rem; }
.password-wrap { position: relative; }
.password-wrap .form-input { padding-right: 40px; }
.pwd-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 3px; }
.pwd-toggle svg { width: 16px; height: 16px; display: block; }
.login-hint { font-size: 11px; color: var(--muted); margin-top: 1rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }
.login-footer { margin-top: 1.5rem; font-size: 10px; color: var(--muted); text-align: center; }

/* ══ TOAST ══ */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--text); color: #fff; padding: .65rem 1.1rem; border-radius: 9px; font-size: 12px; font-weight: 500; z-index: 9999; opacity: 0; transform: translateY(10px); transition: all .22s; pointer-events: none; max-width: 320px; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { border-left: 3px solid var(--green); }
.toast.warn { border-left: 3px solid var(--orange); }
.toast.error { border-left: 3px solid var(--red); }

/* ══ UTILS ══ */
.fw6 { font-weight: 600; }
.text-sm { font-size: 12px; }
.text-xs { font-size: 10px; }
.text-muted { color: var(--muted); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .row2, .row3 { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}
