/* OctoFlow — Third Octopus brand
   Navy #1B2A4A · Teal #0097A7 · Aptos Display (fallback Segoe UI / Calibri).
*/
:root {
  --navy:   #1B2A4A;
  --navy-2: #2C3E5E;
  --teal:   #0097A7;
  --teal-2: #00B4C8;
  --slate:  #546E7A;
  --line:   #E2E8F0;
  --text:   #1F2937;
  --muted:  #6B7280;
  --bg:     #F8FAFC;
  --row-alt:#F4F7FA;
  --white:  #FFFFFF;
  --green:  #2E7D32;
  --amber:  #FF8F00;
  --red:    #C62828;
  --r-sm: 4px;
  --r-md: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15.5px; }
body {
  margin: 0;
  font-family: "Aptos Display", "Aptos", "Segoe UI", Calibri, system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ───── Topbar ───── */
.topbar {
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 0 28px;
  height: 60px;
  border-bottom: 4px solid var(--teal);
}
.brand .brand-link {
  text-decoration: none; color: var(--white);
  display: flex; align-items: baseline; gap: 10px;
}
.brand-mark { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.brand-sub  { font-size: 11px; color: var(--teal-2); text-transform: uppercase; letter-spacing: 2px; }
.nav { margin-left: 32px; display: flex; gap: 4px; flex: 1; }
.nav-item {
  padding: 8px 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
}
.nav-item:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.user-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  padding: 6px 12px 6px 14px;
  border-radius: 18px;
  color: var(--white);
  font-size: 13px;
}
.user-name { font-weight: 600; }
.user-role {
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--teal); padding: 2px 8px; border-radius: 10px;
}
.logout-form { margin: 0; }
.logout-btn {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 14px;
}
.logout-btn:hover { background: rgba(255,255,255,0.12); }

/* ───── Layout ───── */
.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 28px 80px;
}
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--slate);
  font-size: 12px;
}
.footer .tagline { color: var(--teal); font-style: italic; }

/* ───── Page head ───── */
.page-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.page-head h1 { font-size: 24px; color: var(--navy); margin: 0; font-weight: 700; }
.meta { font-size: 13px; color: var(--slate); margin: 4px 0 0; }
.weeklink { color: var(--teal); text-decoration: none; font-weight: 600; }
.weeklink:hover { text-decoration: underline; }

/* ───── Status pill ───── */
.status-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-draft     { background: #E2E8F0; color: var(--slate); }
.status-submitted { background: #FEF3C7; color: #92400E; }
.status-approved  { background: #DCFCE7; color: var(--green); }
.status-rejected  { background: #FEE2E2; color: var(--red); }

/* ───── Card ───── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 16px 0;
}
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 16px; }

/* ───── Buttons ───── */
button, .button {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: filter 0.12s ease;
}
button.primary, .button.primary {
  background: var(--teal); color: var(--white);
}
button.primary:hover { filter: brightness(1.08); }
button.secondary {
  background: var(--white); color: var(--navy); border-color: var(--line);
}
button.big { padding: 13px 28px; font-size: 15px; }

/* ───── Alerts ───── */
.alert {
  padding: 10px 14px; border-radius: var(--r-sm);
  margin: 0 0 16px; font-size: 14px;
}
.alert.success { background: #DCFCE7; color: var(--green); border-left: 4px solid var(--green); }
.alert.error   { background: #FEE2E2; color: var(--red);   border-left: 4px solid var(--red); }

/* ───── Login ───── */
.auth-shell {
  min-height: calc(100vh - 120px);
  display: flex; align-items: center; justify-content: center;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: 36px 36px 30px;
  box-shadow: 0 4px 20px rgba(27,42,74,0.06);
}
.auth-title { color: var(--navy); margin: 0 0 6px; font-size: 22px; }
.auth-sub   { color: var(--slate); margin: 0 0 22px; font-size: 14px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.auth-form input {
  padding: 10px 12px; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit;
}
.auth-form input:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: var(--teal); }
.auth-form button { margin-top: 8px; }
.auth-foot { margin-top: 22px; font-size: 11px; color: var(--slate); text-align: center; font-style: italic; }

/* ───── Timesheet grid ───── */
.grid-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.grid {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  font-size: 13.5px;
}
.grid th {
  background: var(--navy); color: var(--white);
  padding: 10px 8px;
  text-align: left; font-weight: 600; font-size: 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.grid th.day { text-align: center; min-width: 72px; }
.grid th.day .day-name { font-size: 11px; letter-spacing: 1px; color: var(--teal-2); font-weight: 700; }
.grid th.day .day-num  { font-size: 14px; }
.grid th.proj { min-width: 200px; }
.grid th.task { min-width: 120px; }
.grid th.act  { min-width: 130px; }
.grid th.bill { width: 50px; text-align: center; }
.grid th.total-col { background: var(--teal); }

.grid td {
  padding: 8px 8px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.grid tbody tr:nth-child(4n+1) { background: var(--white); }
.grid tbody tr:nth-child(4n+3) { background: var(--row-alt); }

.grid td.proj { font-size: 13px; color: var(--navy); }
.grid td.proj strong { display: block; font-size: 13.5px; }
.grid td.proj .meta { font-size: 11px; }
.grid td.task { font-size: 13px; color: var(--text); }
.grid td.act  { font-size: 12px; color: var(--text); }

.act-pill {
  display: inline-block; background: var(--bg); color: var(--teal);
  padding: 1px 6px; border-radius: 3px; font-weight: 700; font-size: 11px;
  font-family: "SF Mono", "Consolas", monospace;
  margin-right: 4px;
}

.hcell { text-align: center; }
.hcell input[type="number"] {
  width: 56px; padding: 4px 6px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 13px; text-align: center; font-family: inherit;
}
.hcell input[type="number"]:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: var(--teal); }
.ro-hours { color: var(--muted); font-size: 13px; }
.row-total, .day-total { font-weight: 700; color: var(--navy); }
.grand-total { font-weight: 800; color: var(--teal); font-size: 14px; }
.total-col { background: rgba(0,151,167,0.05); }

.bill { text-align: center; }
.bill input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); }

.note-row td { border-top: 0; padding-top: 0; padding-bottom: 10px; }
.note-row .note-label {
  color: var(--slate); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; text-align: right; padding-right: 12px;
}
.note-cell input[type="text"] {
  width: 100%; padding: 5px 8px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 12.5px; color: var(--text); font-family: inherit;
  background: var(--bg);
}
.ro-note { color: var(--muted); font-style: italic; font-size: 12.5px; }

.grid tfoot td { background: #F1F5F9; padding: 10px 8px; border-top: 2px solid var(--navy); }
.grid tfoot .totals-label { text-align: right; font-weight: 700; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding-right: 12px; }

.grid-actions {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 4px;
}
.grid-actions .meta { margin: 0; }

/* ───── Add-row card ───── */
.add-row-card { margin-top: 24px; max-width: 720px; }
.add-row-form { display: grid; grid-template-columns: 2fr 1.4fr auto; gap: 12px; align-items: end; }
.add-row-form label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--slate);
  text-transform: uppercase; letter-spacing: 1px;
}
.add-row-form select {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 13px; font-family: inherit; background: var(--white);
}

.submit-section {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  border-left: 4px solid var(--teal);
}
.submit-section .meta { margin: 0; }

/* ─────────────────────────────── Settings tile grid ───────────────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 4px;
}
.tile {
  display: block;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-left-color 0.12s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27,42,74,0.08);
  border-left-color: var(--navy);
}
.tile-icon { font-size: 26px; line-height: 1; margin-bottom: 8px; display: block; }
.tile-title { font-size: 16px; font-weight: 700; margin: 0 0 4px; color: var(--navy); }
.tile-sub   { font-size: 12.5px; color: var(--slate); margin: 0; line-height: 1.45; }
.tile-meta  { font-size: 11px; color: var(--teal); font-weight: 700; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }

/* ─────────────────────────────── Data table (CRUD lists) ──────────────────────── */
table.data {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 16px;
  font-size: 13.5px;
}
table.data th {
  background: var(--navy); color: var(--white);
  padding: 10px 14px; text-align: left; font-size: 12px;
  font-weight: 600; letter-spacing: 0.3px;
}
table.data td {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
table.data tbody tr:nth-child(even) { background: var(--row-alt); }
table.data tr.row-inactive { opacity: 0.55; }
.link-strong { color: var(--navy); font-weight: 700; text-decoration: none; }
.link-strong:hover { color: var(--teal); text-decoration: underline; }
.meta-mono { font-family: "SF Mono", "Consolas", monospace; font-size: 12px; color: var(--slate); }

/* ─────────────────────────────── Pills + chips ────────────────────────────────── */
.role-pill {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.role-admin      { background: #FEE2E2; color: var(--red); }
.role-manager    { background: #DBEAFE; color: #1E40AF; }
.role-consultant { background: #DCFCE7; color: var(--green); }
.role-finance    { background: #FEF3C7; color: #92400E; }

.code-pill {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  background: var(--bg); color: var(--teal); font-weight: 700;
  font-family: "SF Mono", "Consolas", monospace; font-size: 12px;
}

/* ─────────────────────────────── CRUD forms ───────────────────────────────────── */
details.card { transition: background 0.12s ease; }
details.card summary {
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: 14px;
  padding: 4px 0;
  list-style: none;
}
details.card summary::-webkit-details-marker { display: none; }
details.card summary::before {
  content: "▸"; color: var(--teal); margin-right: 8px; display: inline-block;
  transition: transform 0.15s ease;
}
details.card[open] summary::before { transform: rotate(90deg); }

.crud-form {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 14px;
}
.crud-form.inline { margin-top: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.crud-form label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--slate);
  text-transform: uppercase; letter-spacing: 1px;
}
.crud-form label.check {
  flex-direction: row; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text);
}
.crud-form input[type="text"],
.crud-form input[type="email"],
.crud-form input[type="password"],
.crud-form input[type="date"],
.crud-form input[type="number"],
.crud-form textarea,
.crud-form select {
  padding: 8px 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 13px; font-family: inherit; background: var(--white);
}
.crud-form input:focus, .crud-form textarea:focus, .crud-form select:focus {
  outline: 2px solid var(--teal); outline-offset: -1px; border-color: var(--teal);
}
.crud-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crud-form .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.crud-form .grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 10px; align-items: center; }

details.inline-edit summary { cursor: pointer; font-size: 12.5px; color: var(--teal); font-weight: 600; }
details.inline-edit summary::-webkit-details-marker { display: none; }
.link-summary { display: inline; }

.inline-form { display: inline; margin: 0; }
button.small { padding: 4px 10px; font-size: 12px; }

/* Task list inside engagement detail */
.task-list { list-style: none; padding: 0; margin: 12px 0; }
.task-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 6px;
  background: var(--white);
}
.task-row.is-inactive { opacity: 0.55; }
.task-name { font-size: 13.5px; color: var(--navy); }

/* Assignment checkbox grid */
.check-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 16px; margin: 12px 0;
}
.check-grid label.check {
  flex-direction: row; align-items: center; gap: 8px;
  text-transform: none; letter-spacing: 0; font-size: 13px;
  color: var(--text); cursor: pointer;
  padding: 4px 0;
}

/* ─────────────────────────────── Projects dashboard + detail ───────────────── */

/* Filter chips along the top */
.filter-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 16px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 16px;
  font-size: 13px; color: var(--slate); text-decoration: none;
  font-weight: 600;
  transition: all 0.12s ease;
}
.chip:hover { border-color: var(--teal); color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip-count {
  display: inline-block; padding: 1px 7px;
  background: rgba(0,0,0,0.08); color: inherit;
  border-radius: 8px; font-size: 11px; font-weight: 700;
}
.chip.is-active .chip-count { background: var(--teal); color: var(--white); }

/* Stage chip — colour-coded by status */
.stage-chip {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.stage-not_started { background: #E2E8F0; color: var(--slate); }
.stage-in_progress { background: #DBEAFE; color: #1E40AF; }
.stage-completed   { background: #DCFCE7; color: var(--green); }
.stage-skipped     { background: #FEF3C7; color: #92400E; }

/* RAG dot */
.rag-dot {
  display: inline-block; width: 12px; height: 12px;
  border-radius: 50%; vertical-align: middle;
  border: 2px solid rgba(0,0,0,0.06);
}
.rag-green { background: var(--green); }
.rag-amber { background: var(--amber); }
.rag-red   { background: var(--red); }
.rag-none  { background: #E2E8F0; border: 2px dashed var(--slate); }

/* Milestone progress bar (in projects table) */
.progress-shell {
  width: 100px; height: 6px;
  background: var(--line); border-radius: 3px;
  overflow: hidden; margin-bottom: 2px;
}
.progress-fill {
  height: 100%; background: var(--teal);
  border-radius: 3px;
}

.projects-table .meta-mono { color: var(--slate); }

.text-red { color: var(--red); font-weight: 700; }
.row-warn { background: #FEF3C7 !important; }

/* KPI row on project detail */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 16px 0 24px;
}
.kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--slate); font-weight: 700; }
.kpi-val   { font-size: 28px; font-weight: 800; color: var(--navy); margin: 4px 0 2px; line-height: 1; }
.kpi-sub   { font-size: 12px; color: var(--slate); }

/* Stages list */
.stages { list-style: none; padding: 0; margin: 12px 0; counter-reset: stage; }
.stage-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 14px;
  border-left: 4px solid var(--line);
  background: var(--white);
  margin-bottom: 8px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.stage-item.stage-in_progress { border-left-color: #3B82F6; background: #EFF6FF; }
.stage-item.stage-completed   { border-left-color: var(--green); }
.stage-item.stage-skipped     { border-left-color: var(--amber); opacity: 0.7; }
.stage-num {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  background: var(--navy); color: var(--white);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.stage-body { flex: 1; }
.stage-body summary { cursor: pointer; }
.stage-body summary::-webkit-details-marker { display: none; }
.stage-body summary > * { vertical-align: middle; }

/* Status update card */
.status-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--slate);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin: 10px 0;
}
.status-card.status-rag-green { border-left-color: var(--green); }
.status-card.status-rag-amber { border-left-color: var(--amber); }
.status-card.status-rag-red   { border-left-color: var(--red); }
.status-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.status-card p { margin: 4px 0; font-size: 13.5px; }
.status-card p strong { color: var(--navy); }

/* ─────────────────────────────── Login SSO buttons ─────────────────────────── */
.sso-block { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.sso-group { display: flex; flex-direction: column; gap: 8px; }
.sso-group-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--slate); font-weight: 700; margin: 0 0 4px;
}
.sso-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  text-decoration: none; color: var(--navy);
  font-size: 14px; font-weight: 600;
  transition: all 0.12s ease;
}
.sso-btn:hover {
  background: var(--bg);
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,42,74,0.06);
}
.sso-icon { font-size: 16px; }
.sso-text { flex: 1; }
.sso-arrow { color: var(--teal); font-weight: 700; }

.auth-sep {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 12px;
  color: var(--slate); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.auth-sep::before, .auth-sep::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* ─────────────────────────────── Callout reused on settings pages ──────────── */
.callout {
  padding: 12px 16px;
  background: #E8F4F7;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 12px 0;
  font-size: 13px;
}
.callout strong { color: var(--teal); }

/* ─────────────────────────────── Approvals ──────────────────────────────────── */
.approve-row {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 0;
}
.row-check {
  width: 16px; height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}
#checkAll {
  width: 16px; height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}

/* ─────────────────────────────── Utilisation bar (Reports) ──────────────────── */
.util-bar {
  position: relative;
  width: 100%; min-width: 200px;
  height: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.util-fill {
  height: 100%;
  border-radius: 11px 0 0 11px;
  transition: width 0.2s ease;
}
.util-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 12px; font-weight: 700; color: var(--navy);
  text-shadow: 0 0 4px rgba(255,255,255,0.7);
}

/* ─────────────────────────────── Dashboard layout ──────────────────────────── */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}
.dash-col { display: flex; flex-direction: column; gap: 16px; }

.dash-list {
  list-style: none; padding: 0; margin: 8px 0 0;
}
.dash-list-item {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.dash-list-item:last-child { border-bottom: 0; }
.compliance-row { padding: 7px 0; }

@media (max-width: 960px) {
  .dash-grid { grid-template-columns: 1fr; }
}
