/* ═══════════════════════════════════════════════════════════════
   SENECTRO BUSINESS — Interface
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy-900: #0B1834;
  --navy-800: #0F2145;
  --navy-700: #16294F;
  --navy-600: #1D3563;

  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #EFF4FF;
  --green: #16A34A;
  --green-soft: #E9F8EF;
  --orange: #F59E0B;
  --orange-soft: #FEF4E2;
  --purple: #7C3AED;
  --purple-soft: #F2ECFE;
  --teal: #0D9488;
  --teal-soft: #E3F5F3;
  --red: #EF4444;
  --red-soft: #FDECEC;

  --bg: #F4F7FC;
  --surface: #FFFFFF;
  --border: #E6ECF5;
  --border-strong: #D3DDEC;

  --text: #0F172A;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 69, 0.06);
  --shadow: 0 2px 10px rgba(15, 33, 69, 0.07);
  --shadow-lg: 0 12px 34px rgba(15, 33, 69, 0.16);

  --sidebar-w: 254px;
  --header-h: 66px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Écran de connexion ──────────────────────────────────────── */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface);
}

.auth__aside {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 55%, #1E3A8A 100%);
  color: #fff;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth__aside::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -160px; bottom: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 68%);
}

.auth__pitch h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 34px 0 16px;
  font-weight: 700;
}

.auth__pitch p { color: rgba(255, 255, 255, 0.72); max-width: 42ch; font-size: 15px; }

.auth__modules {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 30px; position: relative; z-index: 1;
}

.auth__chip {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.auth__main {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}

.auth__form { width: 100%; max-width: 380px; }
.auth__form h2 { font-size: 25px; letter-spacing: -0.01em; }
.auth__form > p { color: var(--text-muted); margin: 6px 0 30px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.field__hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.field__error { font-size: 12px; color: var(--red); margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, transform .05s, box-shadow .15s;
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: var(--surface); border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: var(--bg); }
.btn--danger { background: var(--red); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.alert--error { background: var(--red-soft); color: #991B1B; border-color: #FBD5D5; }
.alert--info { background: var(--blue-soft); color: #1E40AF; border-color: #D3E1FF; }
.alert--success { background: var(--green-soft); color: #14532D; border-color: #C6EBD5; }

.auth__demo {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}

.auth__demo code {
  background: var(--bg); padding: 2px 6px;
  border-radius: 4px; font-size: 12px;
}

/* ── Ossature de l'application ───────────────────────────────── */

.shell { display: flex; min-height: 100vh; }

/* Barre latérale */

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  transition: transform .25s ease;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 20px 22px;
}

.brand__mark {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, #F59E0B, #EA580C);
  font-weight: 800; color: #fff;
}

.brand__name { font-weight: 800; letter-spacing: .04em; font-size: 15px; line-height: 1.1; }
.brand__sub { font-size: 11px; letter-spacing: .22em; color: var(--blue); font-weight: 700; }

.nav { flex: 1; overflow-y: auto; padding: 0 12px 20px; }
.nav::-webkit-scrollbar { width: 5px; }
.nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 3px; }

.nav__label {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.38); padding: 18px 10px 8px; font-weight: 700;
}

.nav__item {
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.76);
  font-size: 13.5px;
  margin-bottom: 2px;
  transition: background .13s, color .13s;
  text-align: left;
}

.nav__item:hover { background: rgba(255,255,255,.07); color: #fff; }

.nav__item--active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(37, 99, 235, .38);
}

.nav__icon {
  width: 26px; height: 26px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 7px;
  background: rgba(255,255,255,.09);
  font-size: 13px;
}

.nav__item--active .nav__icon { background: rgba(255,255,255,.2); }
.nav__chevron { margin-left: auto; opacity: .4; font-size: 11px; }

.sidebar__foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.07); }

.ia-card {
  background: linear-gradient(140deg, var(--navy-600), #1E3A8A);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

.ia-card__title { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.ia-card__text { font-size: 11.5px; color: rgba(255,255,255,.62); margin: 3px 0 11px 34px; }

.ia-card .btn {
  width: 100%; background: var(--blue); color: #fff;
  padding: 9px; font-size: 13px;
}

/* Zone principale */

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

.topbar {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 22px;
  position: sticky; top: 0; z-index: 40;
}

.topbar__burger { display: none; font-size: 20px; color: var(--text-muted); }

.topbar__title h1 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; }
.topbar__title p { font-size: 12.5px; color: var(--text-muted); }

.search {
  flex: 1; max-width: 430px; margin: 0 auto;
  position: relative;
}

.search input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 13.5px;
}

.search input:focus { outline: none; border-color: var(--blue); background: var(--surface); }
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }

.search__results {
  position: absolute; top: calc(100% + 7px); left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 340px; overflow-y: auto;
  z-index: 50;
}

.search__result {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; width: 100%; text-align: left;
  border-bottom: 1px solid var(--border);
}

.search__result:last-child { border-bottom: none; }
.search__result:hover { background: var(--bg); }
.search__result small { color: var(--text-faint); margin-left: auto; }

.topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--text-muted);
  position: relative;
  transition: background .13s;
}

.icon-btn:hover { background: var(--bg); }
.icon-btn--primary { background: var(--blue); color: #fff; }
.icon-btn--primary:hover { background: var(--blue-dark); }

.badge-dot {
  position: absolute; top: 1px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--red); color: #fff;
  border-radius: 9px;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--surface);
}

.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 6px 4px 4px; border-radius: 10px; }
.user-chip:hover { background: var(--bg); }

.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 12.5px; flex-shrink: 0;
}

.user-chip__name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.user-chip__role { font-size: 11.5px; color: var(--text-muted); }

.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 55;
}

.dropdown button {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; text-align: left;
}

.dropdown button:hover { background: var(--bg); }
.dropdown hr { border: none; border-top: 1px solid var(--border); margin: 5px 0; }

/* Contenu */

.content { padding: 20px 22px 34px; flex: 1; }

.grid { display: grid; gap: 15px; }
.grid--kpi { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt { margin-top: 15px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 10px;
}

.card__head h3 { font-size: 14.5px; font-weight: 700; }
.card__head small { color: var(--text-muted); font-size: 12px; font-weight: 400; }
.card__link { margin-left: auto; color: var(--blue); font-size: 12.5px; font-weight: 600; }
.card__body { padding: 0 16px 16px; }
.card__body--flush { padding: 0; }

/* Cartes KPI */

.kpi { padding: 15px 15px 0; }

.kpi__top { display: flex; align-items: flex-start; gap: 11px; }

.kpi__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 17px;
}

.kpi__label { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.kpi__value { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-top: 1px; }
.kpi__value span { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-left: 3px; }
.kpi__meta { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
.kpi__meta--up { color: var(--green); font-weight: 600; }
.kpi__meta--down { color: var(--red); font-weight: 600; }
.kpi__spark { margin: 8px -15px 0; display: block; }

/* Tableaux */

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }

thead th {
  text-align: left;
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strong { font-weight: 600; }
.muted { color: var(--text-muted); }

/* Étiquettes de statut */

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tag--blue { background: var(--blue-soft); color: var(--blue-dark); }
.tag--green { background: var(--green-soft); color: #15803D; }
.tag--orange { background: var(--orange-soft); color: #B45309; }
.tag--red { background: var(--red-soft); color: #B91C1C; }
.tag--purple { background: var(--purple-soft); color: #6D28D9; }
.tag--grey { background: #F1F5F9; color: var(--text-muted); }

/* Légendes de graphiques */

.legend { display: flex; flex-direction: column; gap: 9px; }

.legend__row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.legend__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend__name { font-weight: 600; }
.legend__value { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.legend__sub { font-size: 11px; color: var(--text-muted); }

.donut-layout { display: flex; align-items: center; gap: 18px; }
.donut-layout .legend { flex: 1; min-width: 0; }

/* Listes compactes */

.list { display: flex; flex-direction: column; }

.list__row {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.list__row:last-child { border-bottom: none; }

.rank {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 7px;
  background: var(--bg);
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; color: var(--text-muted);
}

.list__main { min-width: 0; flex: 1; }
.list__title { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list__sub { font-size: 11.5px; color: var(--text-muted); }
.list__value { text-align: right; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.list__value small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; }

.thumb {
  width: 42px; height: 30px; flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(150deg, #E8EEF9, #D6E2F4);
  display: grid; place-items: center;
  font-size: 14px;
}

/* Agenda & tâches */

.timeline__row { display: flex; gap: 11px; padding: 10px 16px; align-items: flex-start; }

.timeline__time {
  font-size: 12px; font-weight: 700; color: var(--blue);
  min-width: 42px; padding-top: 1px;
}

.timeline__badge {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px;
  background: var(--green-soft); color: var(--green);
}

.checkline { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.checkline:last-child { border-bottom: none; }
.checkline input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.checkline label { flex: 1; font-size: 13px; cursor: pointer; }
.checkline .count {
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.checkline .when { font-size: 11.5px; color: var(--text-muted); }

/* Actions rapides */

.quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }

.quick__item {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  text-align: left;
  transition: background .13s;
}

.quick__item:last-child { border-right: none; }
.quick__item:hover { background: var(--bg); }

.quick__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 9px; display: grid; place-items: center;
  color: #fff; font-size: 15px;
}

.quick__title { font-size: 13px; font-weight: 700; }
.quick__sub { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }

/* Statistiques régionales */

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.stat-strip > div { padding: 12px 6px; border-right: 1px solid var(--border); }
.stat-strip > div:last-child { border-right: none; }
.stat-strip .v { font-size: 17px; font-weight: 800; }
.stat-strip .l { font-size: 11px; color: var(--text-muted); }

/* Barre d'outils de page */

.toolbar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 15px; flex-wrap: wrap;
}

.toolbar input[type="search"], .toolbar select {
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-width: 190px;
}

.toolbar .spacer { flex: 1; }

.pagination { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 13px; }
.pagination .spacer { flex: 1; }

/* Fenêtre modale */

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 24, 52, .5);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  z-index: 90; padding: 20px;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 560px;
  max-height: 90vh; display: flex; flex-direction: column;
}

.modal--wide { max-width: 860px; }

.modal__head {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}

.modal__head h3 { font-size: 16px; font-weight: 700; }
.modal__body { padding: 20px; overflow-y: auto; }
.modal__foot {
  padding: 14px 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; justify-content: flex-end;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* Notifications éphémères */

.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }

.toast {
  background: var(--navy-900); color: #fff;
  padding: 12px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px; max-width: 360px;
  animation: toast-in .2s ease;
}

.toast--error { background: #991B1B; }
.toast--success { background: #14532D; }

@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* États vides et chargement */

.empty { padding: 44px 20px; text-align: center; color: var(--text-muted); }
.empty__icon { font-size: 30px; margin-bottom: 10px; opacity: .5; }
.empty h4 { font-size: 15px; color: var(--text); margin-bottom: 5px; }

.skeleton {
  background: linear-gradient(90deg, #EEF2F8 25%, #E2E9F3 50%, #EEF2F8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer { to { background-position: -200% 0; } }

.footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
  background: var(--surface);
}

/* ── Adaptation aux écrans ───────────────────────────────────── */

@media (max-width: 1400px) {
  .grid--kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .quick__item { border-bottom: 1px solid var(--border); }
}

@media (max-width: 1180px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .search { max-width: 260px; }
}

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .sidebar { transform: translateX(-100%); }
  .sidebar--open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .main { margin-left: 0; }
  .topbar__burger { display: grid; }
  .topbar__title p { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid--kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: 1fr; }
  .search { display: none; }
  .user-chip__name, .user-chip__role { display: none; }
  .content { padding: 15px 13px 26px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Grille du tableau de bord ────────────────────────────────── */

.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

@media (max-width: 1400px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8, .span-9 { grid-column: span 12; }
}

@media (max-width: 900px) {
  .dash > * { grid-column: span 12 !important; }
}
