/* ═══════════════════════════════════════════════════════════════
   Locavia — feuille de style principale
   Reprise du design LogiSign (sidebar claire, Inter, cartes),
   déclinée dans les tons bleus.
═══════════════════════════════════════════════════════════════ */
:root {
  --primary-dark: #0b2a5b;
  --primary-light: #3b7bf0;
  --accent: var(--primary);
  --accent-light: rgba(var(--primary-rgb), .10);
  --accent2: #f59e0b;
  --cyan: #0ea5e9;
  --bg: #f3f6fb;
  --white: #ffffff;
  --sidebar-w: 248px;
  --text: #13213a;
  --text-muted: #64748b;
  --muted: #64748b;
  --border: #e3e9f2;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0ea5e9;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(11,42,91,.06), 0 1px 2px rgba(11,42,91,.04);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); display: flex; min-height: 100vh; font-size: 14px; background: var(--bg); position: relative; }
body::before { content: ''; position: fixed; inset: 0 0 0 var(--sidebar-w); background: url('../img/bg-wave.jpg') no-repeat center / cover; opacity: .10; filter: hue-rotate(195deg) saturate(1.4); pointer-events: none; z-index: 0; }
a { color: var(--primary); }
img { max-width: 100%; }

/* SIDEBAR */
.sidebar { width: var(--sidebar-w); background: var(--white); display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 100; overflow-y: auto; border-right: 1px solid var(--border); transition: transform .25s; }
.sidebar-logo { padding: 18px 16px 12px; border-bottom: 1px solid var(--border); }
.sidebar-logo .app-name { display: flex; align-items: center; text-decoration: none; }
.sidebar-ent { font-size: 11px; color: var(--text-muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-section { padding: 6px 8px 2px; }
.sidebar-section-label { font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #94a3b8; padding: 8px 10px 4px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: #475569; text-decoration: none; font-size: 13px; border-radius: 7px; transition: background .12s, color .12s; margin-bottom: 1px; }
.sidebar-link:hover { color: var(--text); background: #f4f7fc; }
.sidebar-link.active { color: var(--primary); background: var(--accent-light); font-weight: 600; }
.sidebar-link .icon { width: 20px; display: flex; align-items: center; justify-content: center; }
.sb-badge { margin-left: auto; background: #f59e0b; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.sb-badge--rouge { background: #dc2626; }
.sb-ext { margin-left: auto; opacity: .5; }
.sidebar-footer { margin-top: auto; padding: 12px 14px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: inherit; }
.sidebar-user:hover { background: #f4f7fc; }
.sidebar-user .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; color: #fff; flex-shrink: 0; }
.sidebar-user .info strong { display: block; font-size: 12px; font-weight: 600; }
.sidebar-user .info small { font-size: 11px; color: var(--text-muted); margin: 0; }
.sidebar-kidlogis { margin-top: 12px; padding: 10px 8px 0; border-top: 1px solid var(--border); }
.sidebar-backdrop { display: none; }

/* MAIN */
.main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; min-width: 0; position: relative; z-index: 1; }
.topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; gap: 12px; }
.topbar-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-search { display: flex; align-items: center; gap: 8px; background: #f3f6fb; border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; height: 34px; color: var(--text-muted); }
.topbar-search input { border: none; background: transparent; outline: none; font: inherit; font-size: 13px; width: 230px; color: var(--text); }
.topbar-sep { width: 1px; height: 20px; background: var(--border); }
.topbar-logout { color: var(--text-muted); display: flex; }
.topbar-logout:hover { color: var(--danger); }
.burger { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.content { padding: 26px 28px; flex: 1; }
.app-footer { text-align: center; padding: 14px 24px; font-size: 11px; color: #a0aec0; border-top: 1px solid #e9eef6; }
.app-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* CARDS */
.card { background: var(--white); border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-header h2, .card-header h3 { font-size: 15px; font-weight: 600; color: var(--primary-dark); display: flex; align-items: center; gap: 8px; }
.card-body { padding: 20px; }
.card + .card { margin-top: 18px; }
.card-title { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.grid-2 > .card + .card, .grid-3 > .card + .card, .grid-side > * > .card + .card { margin-top: 0; }
.stack > * + * { margin-top: 18px; }

/* TABLES */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { background: #f6f9fd; padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.tbl td { padding: 11px 14px; border-bottom: 1px solid #edf1f7; vertical-align: middle; }
table.tbl tbody tr:hover td { background: #f7faff; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl .r, .lt-t .r { text-align: right; }
table.tbl tfoot td { font-weight: 600; background: #f6f9fd; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-family: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap; line-height: 1.2; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-warning { background: var(--accent2); color: #fff; }
.btn-light { background: #f1f5fb; color: var(--text); border-color: var(--border); }
.btn-light:hover { background: #e4ebf5; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #f1f5fb; }
.btn-outline { background: #fff; color: var(--primary); border-color: rgba(var(--primary-rgb), .45); }
.btn-outline:hover { background: var(--accent-light); }
.btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: #3b4a63; margin-bottom: 5px; }
.form-label .required, .req { color: var(--danger); margin-left: 2px; }
.form-control { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color .15s, box-shadow .15s; background: #fff; color: var(--text); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 84px; }
.form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; display: block; }
.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
fieldset.fs { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px 4px; margin-bottom: 18px; background: #fff; }
fieldset.fs legend { font-size: 12px; font-weight: 700; color: var(--primary-dark); text-transform: uppercase; letter-spacing: .5px; padding: 0 6px; }

/* BADGES */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #e0f2fe; color: #075985; }
.badge-primary { background: rgba(var(--primary-rgb), .12); color: var(--primary); }
.badge-muted   { background: #eef2f7; color: #64748b; }

/* ALERTS */
.alert { padding: 12px 16px; border-radius: 10px; border: 1px solid; margin-bottom: 16px; font-size: 13.5px; transition: opacity .4s; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* STATS */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
.stat-link:hover { border-color: rgba(var(--primary-rgb), .45); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.stat-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.stat-val { font-size: 28px; font-weight: 700; color: var(--primary-dark); margin-top: 6px; letter-spacing: -.5px; }
.stat-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* TABS */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tab { padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* FICHES */
.info-l { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #e8edf5; font-size: 13px; }
.info-l:last-child { border-bottom: none; }
.info-l span { color: var(--text-muted); }
.info-l strong { font-weight: 600; text-align: right; }
.fiche-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.fiche-photo { width: 120px; height: 80px; border-radius: 12px; object-fit: cover; background: #e9effa; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.fiche-head h2 { font-size: 22px; letter-spacing: -.3px; }
.plaque { display: inline-block; white-space: nowrap; font-family: 'Courier New', monospace; font-weight: 700; letter-spacing: 1px; background: #fff; border: 2px solid #1e293b; border-left: 8px solid #1d4ed8; border-right: 8px solid #1d4ed8; border-radius: 5px; padding: 1px 8px; font-size: 13px; color: #111; }
.timeline { list-style: none; position: relative; padding-left: 18px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: #e3e9f2; }
.timeline li { position: relative; padding: 0 0 14px 10px; font-size: 13px; }
.timeline li::before { content: ''; position: absolute; left: -17px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }
.timeline li small { display: block; color: var(--text-muted); font-size: 11px; }
.prix-box { background: linear-gradient(135deg, #0b2a5b, var(--primary)); color: #fff; border-radius: 14px; padding: 18px 20px; }
.prix-box .ligne { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; opacity: .92; }
.prix-box .total { font-size: 26px; font-weight: 700; border-top: 1px solid rgba(255,255,255,.25); margin-top: 8px; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.empty-state { text-align: center; color: var(--text-muted); padding: 34px; font-size: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photos a { display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #e9effa; }
.photos img { width: 100%; height: 100%; object-fit: cover; }

/* UTILS */
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 18px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 18px; }
.text-muted { color: var(--text-muted); } .text-right { text-align: right; } .text-danger { color: var(--danger); } .text-success { color: var(--success); }
.small { font-size: 12px; } .fw6 { font-weight: 600; } .nowrap { white-space: nowrap; }
.mono { font-family: 'Courier New', monospace; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(11,42,91,.45); align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.show { display: flex; }
.modal-box { background: #fff; border-radius: 16px; padding: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(11,42,91,.25); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 16px; font-weight: 600; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; }

/* PAGINATION */
.pagination { display: flex; gap: 4px; margin-top: 14px; flex-wrap: wrap; }
.page-link { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; color: var(--text); text-decoration: none; background: #fff; }
.page-link:hover { background: #f1f5fb; }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* KANBAN (CRM) */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.kb-col { background: #eef3fa; border-radius: 14px; padding: 10px; min-height: 200px; display: flex; flex-direction: column; }
.kb-col.drag-over { background: #dfe9fb; outline: 2px dashed rgba(var(--primary-rgb), .5); }
.kb-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #475569; }
.kb-head .kb-sum { font-weight: 600; color: var(--primary-dark); text-transform: none; letter-spacing: 0; }
.kb-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; cursor: grab; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
.kb-card:hover { border-color: rgba(var(--primary-rgb), .5); }
.kb-card.dragging { opacity: .5; }
.kb-card .t { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.kb-card .m { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; gap: 6px; }
.prio-haute { border-left: 3px solid #dc2626; } .prio-normale { border-left: 3px solid var(--primary); } .prio-basse { border-left: 3px solid #94a3b8; }

/* PLANNING (Gantt) */
.gantt-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.gantt { display: grid; min-width: 900px; font-size: 12px; }
.g-row { display: contents; }
.g-label { position: sticky; left: 0; background: #fff; z-index: 3; padding: 7px 10px; border-bottom: 1px solid #edf1f7; border-right: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
.g-label .s { font-size: 11px; color: var(--text-muted); }
.g-group { grid-column: 1 / -1; background: #f3f7fd; padding: 6px 10px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--primary-dark); border-bottom: 1px solid var(--border); position: sticky; left: 0; }
.g-head { position: sticky; top: 0; background: #f6f9fd; z-index: 4; padding: 6px 2px; text-align: center; border-bottom: 1px solid var(--border); border-right: 1px solid #edf1f7; font-size: 11px; color: var(--text-muted); }
.g-head.we, .g-cell.we { background: #f8fafc; }
.g-head.today { color: var(--primary); font-weight: 700; background: rgba(var(--primary-rgb), .08); }
.g-track { position: relative; border-bottom: 1px solid #edf1f7; min-height: 44px; }
.g-track.drop-ok { background: rgba(22,163,74,.08); }
.g-track.drop-ko { background: rgba(220,38,38,.08); }
.g-cells { position: absolute; inset: 0; display: grid; }
.g-cell { border-right: 1px solid #f0f3f8; cursor: cell; }
.g-cell:hover { background: rgba(var(--primary-rgb), .06); }
.g-bar { position: absolute; top: 7px; height: 30px; border-radius: 7px; padding: 0 8px; color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-decoration: none; z-index: 2; box-shadow: 0 1px 3px rgba(0,0,0,.15); cursor: pointer; }
.g-bar[draggable=true] { cursor: grab; }
.g-bar.st-confirmee { background: var(--primary); }
.g-bar.st-en_cours { background: #0b2a5b; }
.g-bar.st-terminee { background: #94a3b8; }
.g-bar.st-demande { background: #f59e0b; }
.g-bar.st-devis { background: repeating-linear-gradient(45deg, #93b4ef, #93b4ef 6px, #a9c4f3 6px, #a9c4f3 12px); color: #0b2a5b; }
.g-bar.st-entretien { background: repeating-linear-gradient(45deg, #dc2626, #dc2626 6px, #ef4444 6px, #ef4444 12px); }
.g-bar.retard { box-shadow: 0 0 0 2px #dc2626; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin: 10px 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; }

/* SIGNATURE / EDL */
.sig-wrap { border: 2px dashed #c7d4ea; border-radius: 12px; background: #fff; position: relative; touch-action: none; }
.sig-wrap canvas { display: block; width: 100%; height: 170px; }
.sig-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b6c3d9; font-size: 13px; pointer-events: none; }
.fuel { display: flex; gap: 4px; }
.fuel label { flex: 1; }
.fuel input { display: none; }
.fuel span { display: block; height: 34px; border-radius: 6px; background: #e8eef7; cursor: pointer; text-align: center; line-height: 34px; font-size: 11px; color: #64748b; font-weight: 600; }
.fuel input:checked ~ span, .fuel label.on span { background: var(--primary); color: #fff; }
.car-schema { position: relative; max-width: 420px; margin: 0 auto; }
.car-schema svg { width: 100%; height: auto; display: block; cursor: crosshair; }
.dmg-pin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); pointer-events: none; }
.dmg-pin.old { background: #f59e0b; }

/* RESPONSIVE */
@media (max-width: 1100px) { .grid-side { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .topbar-search input { width: 150px; } }
@media (max-width: 860px) {
  body::before { left: 0; }
  .sidebar { transform: translateX(-100%); box-shadow: 0 0 40px rgba(0,0,0,.2); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(11,42,91,.35); z-index: 90; }
  .main { margin-left: 0; }
  .burger { display: flex; }
  .grid-2, .grid-3, .form-row-2, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .topbar { padding: 0 12px; }
  .topbar-search { display: none; }
  .hide-sm { display: none; }
}
@media print {
  .sidebar, .topbar, .app-footer, .no-print { display: none !important; }
  .main { margin: 0; } body::before { display: none; }
}

/* En-tête de page (repris du composant de listes LogiSign) */
.lt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lt-head h2 { margin: 0; font-size: 23px; letter-spacing: -.4px; color: var(--primary-dark); }
.lt-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.lt-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lt-btns form { margin: 0; }
