@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Vert clair Apple-style */
  --green-50:  #F0FAF4;
  --green-100: #D9F2E4;
  --green-200: #B3E5C9;
  --green-300: #6DC E9A;
  --green-400: #4CAF78;
  --green-500: #34A05A;
  --green-600: #2D8A4E;
  --green-700: #1F6B39;
  --green-800: #155228;
  --green-900: #0D3519;

  --accent:   #34A05A;   /* Vert principal — clair et vif */
  --accent-d: #2D8A4E;   /* Hover */
  --accent-l: #E8F7EE;   /* Background léger */

  /* Neutres */
  --bg:        #F5F5F7;  /* Gris Apple */
  --surface:   #FFFFFF;
  --surface-2: #F5F5F7;
  --surface-3: #EBEBED;
  --border:    rgba(0,0,0,0.08);
  --border-m:  rgba(0,0,0,0.12);

  /* Texte */
  --text-1: #1D1D1F;   /* Titre — noir Apple */
  --text-2: #424245;   /* Corps */
  --text-3: #6E6E73;   /* Secondaire */
  --text-4: #AEAEB2;   /* Placeholder */

  /* Sémantiques */
  --blue:        #0071E3;
  --blue-l:      #E8F1FB;
  --orange:      #FF6B00;
  --orange-l:    #FFF0E6;
  --red:         #FF3B30;
  --red-l:       #FFECEB;
  --yellow:      #FF9500;
  --yellow-l:    #FFF6E6;
  --purple:      #5E5CE6;
  --purple-l:    #EEEEFF;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-m); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity:0 } to { opacity:1 } }
@keyframes slideUp { from { opacity:0; transform:translateY(12px) } to { opacity:1; transform:translateY(0) } }
@keyframes spin    { to { transform:rotate(360deg) } }
@keyframes pulse   { 0%,100%{opacity:1} 50%{opacity:.5} }

.fade-in  { animation: fadeIn  0.25s ease both; }
.slide-up { animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1) both; }

/* ─── Spinner ─────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--border-m);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
.spinner--sm { width: 14px; height: 14px; }

/* ─── Loader plein écran ──────────────────────────────────── */
.page-loader {
  display: flex; align-items: center; justify-content: center;
  height: 100vh; background: var(--bg);
}

/* ─── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
  white-space: nowrap; line-height: 1;
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(52,160,90,0.3);
}
.btn-primary:hover:not(:disabled) { background: var(--accent-d); box-shadow: 0 2px 8px rgba(52,160,90,0.4); }

.btn-secondary {
  background: var(--surface-3); color: var(--text-2);
}
.btn-secondary:hover:not(:disabled) { background: #E0E0E2; }

.btn-ghost {
  background: transparent; color: var(--text-3);
  border: 1px solid var(--border-m);
}
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text-2); }

.btn-danger {
  background: var(--red-l); color: var(--red);
}
.btn-danger:hover:not(:disabled) { background: var(--red); color: #fff; }

.btn-sm  { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.btn-lg  { padding: 13px 24px; font-size: 15px; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ─── Inputs ──────────────────────────────────────────────── */
.input {
  width: 100%; padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-m);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 14px; color: var(--text-1);
  outline: none; transition: var(--transition);
  -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52,160,90,0.15); }
.input::placeholder { color: var(--text-4); }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
textarea.input { resize: vertical; }
.label { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); margin-bottom: 5px; letter-spacing: 0.01em; }
.field { display: flex; flex-direction: column; gap: 0; }
.input-error { border-color: var(--red) !important; }
.field-error { font-size: 11px; color: var(--red); margin-top: 4px; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 18px 20px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 16px; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.card-subtitle { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.card-body { padding: 20px; }

/* ─── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.01em;
  white-space: nowrap;
}
.badge-green  { background: var(--accent-l); color: var(--accent-d); }
.badge-blue   { background: var(--blue-l);   color: var(--blue); }
.badge-orange { background: var(--orange-l); color: var(--orange); }
.badge-red    { background: var(--red-l);    color: var(--red); }
.badge-yellow { background: var(--yellow-l); color: var(--yellow); }
.badge-purple { background: var(--purple-l); color: var(--purple); }
.badge-gray   { background: var(--surface-3);color: var(--text-3); }

/* ─── Table ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 10px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.12s; }
tbody tr:hover td { background: var(--green-50); }

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

/* Sidebar */
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand-name {
  font-size: 17px; font-weight: 700;
  color: var(--text-1); letter-spacing: -0.02em;
}
.sidebar-brand-sub {
  font-size: 11px; color: var(--text-4); margin-top: 1px; letter-spacing: 0.02em;
}
.sidebar-nav { padding: 12px 10px; flex: 1; }
.nav-section {
  padding: 8px 10px 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-4);
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text-3); text-decoration: none;
  font-size: 14px; font-weight: 400;
  transition: var(--transition);
  margin-bottom: 2px; cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.nav-item:hover { background: var(--surface-2); color: var(--text-1); }
.nav-item.active {
  background: var(--accent-l); color: var(--accent-d);
  font-weight: 500;
}
.nav-item .nav-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  background: var(--surface-2);
  transition: var(--transition);
}
.nav-item.active .nav-icon { background: rgba(52,160,90,0.15); }
.nav-item .nav-label { flex: 1; }
.nav-item .nav-badge {
  font-size: 11px; font-weight: 600;
  background: var(--red); color: #fff;
  padding: 1px 6px; border-radius: 10px;
}

.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); margin-bottom: 10px;
}
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0; letter-spacing: -0.02em;
}
.user-name  { font-size: 13px; font-weight: 500; color: var(--text-1); }
.user-email { font-size: 11px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }

/* Main */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.topbar {
  height: 52px; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; position: sticky; top: 0; z-index: 10;
}
.topbar-title { font-size: 17px; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-date  { font-size: 12px; color: var(--text-4); letter-spacing: 0.01em; }
.page { padding: 28px; flex: 1; overflow-y: auto; }

/* ─── Auth ────────────────────────────────────────────────── */
.auth-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 24px;
}
.auth-box {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
}
.auth-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(52,160,90,0.35);
}
.auth-title { font-size: 24px; font-weight: 700; color: var(--text-1); letter-spacing: -0.02em; margin-bottom: 4px; }
.auth-sub   { font-size: 14px; color: var(--text-3); margin-bottom: 32px; }
.auth-form  { display: flex; flex-direction: column; gap: 14px; }
.auth-divider { text-align: center; font-size: 12px; color: var(--text-4); margin: 4px 0; }
.auth-footer  { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-3); }
.auth-footer button { background: none; border: none; color: var(--accent); font-weight: 600; cursor: pointer; font-size: 13px; padding: 0; }
.auth-error {
  background: var(--red-l); color: var(--red);
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; border-left: 3px solid var(--red);
}

/* ─── KPIs ────────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent; transition: var(--transition);
}
.kpi:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.kpi-green  { border-top-color: var(--accent); }
.kpi-blue   { border-top-color: var(--blue); }
.kpi-orange { border-top-color: var(--orange); }
.kpi-red    { border-top-color: var(--red); }
.kpi-yellow { border-top-color: var(--yellow); }
.kpi-label  { font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0.02em; margin-bottom: 8px; }
.kpi-value  { font-size: 30px; font-weight: 700; color: var(--text-1); letter-spacing: -0.03em; line-height: 1; }
.kpi-sub    { font-size: 11px; color: var(--text-4); margin-top: 5px; }

/* ─── Progress ────────────────────────────────────────────── */
.progress { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--green-300)); border-radius: 3px; transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }

/* ─── Filters ─────────────────────────────────────────────── */
.filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.search-wrap { flex: 1; min-width: 200px; max-width: 340px; position: relative; }
.search-wrap input { padding-left: 36px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-4); font-size: 14px; pointer-events: none; }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fadeIn 0.15s ease;
}
.modal {
  background: var(--surface); border-radius: var(--radius-xl);
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.2s cubic-bezier(0.4,0,0.2,1);
}
.modal-header {
  padding: 22px 24px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border); position: sticky; top: 0;
  background: var(--surface); z-index: 1; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-title { font-size: 18px; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.modal-close {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-3); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-3); transition: var(--transition);
}
.modal-close:hover { background: var(--surface-2); color: var(--text-1); }
.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }

/* ─── Tabs ────────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab {
  padding: 10px 18px; font-size: 14px; font-weight: 400; color: var(--text-3);
  cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: var(--transition);
}
.tab:hover { color: var(--text-1); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }

/* ─── Checklist ───────────────────────────────────────────── */
.cl-section {
  margin-bottom: 20px;
}
.cl-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: var(--surface-2);
  border-radius: var(--radius-sm); margin-bottom: 4px;
}
.cl-section-title { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: 0.01em; }
.cl-section-count { font-size: 11px; color: var(--text-4); }
.cl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  -webkit-user-select: none; user-select: none;
}
.cl-item:hover { background: var(--green-50); }
.cl-item.done { opacity: 0.5; }
.cl-item.done .cl-label { text-decoration: line-through; }
.cl-check {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  border: 1.5px solid var(--border-m); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cl-check.checked { background: var(--accent); border-color: var(--accent); }
.cl-check-icon { display: none; }
.cl-check.checked .cl-check-icon { display: block; }
.cl-label { font-size: 13px; color: var(--text-2); flex: 1; }
.cl-badge { font-size: 10px; font-weight: 500; color: var(--accent); background: var(--accent-l); padding: 2px 7px; border-radius: 10px; text-decoration: none; }

/* ─── Points ──────────────────────────────────────────────── */
.point-item {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 8px; transition: var(--transition);
}
.point-item:hover { box-shadow: var(--shadow-sm); }
.point-item.ouvert  { border-left: 3px solid var(--red); }
.point-item.attente { border-left: 3px solid var(--orange); }
.point-item.en-cours{ border-left: 3px solid var(--blue); }
.point-item.resolu  { border-left: 3px solid var(--accent); opacity: 0.6; }

/* ─── Prompt ──────────────────────────────────────────────── */
.prompt-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px; font-size: 12.5px; line-height: 1.75;
  color: var(--text-2); font-family: 'SF Mono', 'Fira Code', monospace;
  white-space: pre-wrap; max-height: 440px; overflow-y: auto;
  user-select: all;
}

/* ─── Agent sidebar ───────────────────────────────────────── */
.agent-wrap { display: grid; grid-template-columns: 256px 1fr; gap: 20px; height: calc(100vh - 108px); }
.agent-nav { overflow-y: auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.agent-section-header {
  padding: 10px 14px 6px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-4);
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
.agent-task {
  display: flex; flex-direction: column; width: 100%; padding: 10px 14px;
  background: none; border: none; text-align: left; cursor: pointer;
  border-bottom: 1px solid var(--border); border-left: 3px solid transparent;
  transition: var(--transition);
}
.agent-task:hover { background: var(--green-50); }
.agent-task.active { background: var(--accent-l); border-left-color: var(--accent); }
.agent-task-label { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.agent-task.active .agent-task-label { color: var(--accent-d); }
.agent-task-desc { font-size: 11px; color: var(--text-4); margin-top: 1px; }

/* ─── Empty state ─────────────────────────────────────────── */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; gap: 10px; text-align: center; }
.empty-icon  { font-size: 36px; color: var(--text-4); margin-bottom: 4px; }
.empty-title { font-size: 16px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; }
.empty-text  { font-size: 13px; color: var(--text-3); max-width: 280px; line-height: 1.6; }

/* ─── Info field (readonly) ───────────────────────────────── */
.info-val { padding: 10px 14px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 13px; color: var(--text-2); min-height: 40px; display: flex; align-items: center; }
.info-val.empty { color: var(--text-4); font-style: italic; }

/* ─── Stat mini card ──────────────────────────────────────── */
.mini-stat { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 14px 16px; }
.mini-stat-label { font-size: 11px; color: var(--text-3); font-weight: 500; margin-bottom: 4px; }
.mini-stat-value { font-size: 20px; font-weight: 700; color: var(--text-1); letter-spacing: -0.02em; line-height: 1; }
.mini-stat-sub   { font-size: 11px; color: var(--text-4); margin-top: 3px; }

/* ─── Row link ────────────────────────────────────────────── */
.row-link { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--border); transition: background 0.12s; }
.row-link:hover { background: var(--green-50); }
.row-link:last-child { border-bottom: none; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { width: 64px; }
  .sidebar-brand-name, .sidebar-brand-sub,
  .nav-section, .nav-item .nav-label, .nav-item .nav-badge,
  .user-name, .user-email, .user-card { display: none; }
  .nav-item { justify-content: center; padding: 10px; }
  .nav-item .nav-icon { margin: 0; }
  .page { padding: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
}
