:root {
  --ink: #1a1d23;
  --slate: #5b6271;
  --faint: #8b91a0;
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --line: #e5e7eb;
  --line-strong: #cfd3db;
  --link: #2950a8;
  --ok: #1d7a4d;
  --ok-soft: #e8f4ed;
  --warn: #8a5a00;
  --warn-soft: #faf1da;
  --bad: #b3261e;
  --bad-soft: #fbeae9;
  --topbar: #ffffff;
  --select-ring: #3b82f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

/* ---------- top bar ---------- */

.topbar {
  background: var(--topbar);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}

.brand-mark {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #9da3b0;
  white-space: nowrap;
}

.brand-sep {
  color: #4b515e;
}

.topbar h1 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

[hidden] {
  display: none !important;
}

.lane-button {
  border: 1px solid #586174;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  padding: 0.25rem 0.5rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.admin-gate {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

.admin-gate-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 31, 43, 0.08);
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.admin-gate-card h2,
.admin-gate-card p {
  margin: 0;
}

.admin-gate-card p {
  color: var(--slate);
  line-height: 1.5;
}

.admin-gate-card label {
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-gate-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.65rem 0.7rem;
  font: inherit;
}

.admin-gate-card button[type="submit"] {
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.admin-gate-message {
  min-height: 1.2rem;
  font-size: 0.8rem;
}

.admin-gate-message.error {
  color: var(--bad);
}

.lane-tag.internal {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid #3a3f4a;
  border-radius: 4px;
  padding: 0.14rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #374151;
  background: #f9fafb;
}

.lane-tag.internal::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d3a13c;
}

.lane-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.lane-link:hover {
  color: var(--ink);
  border-bottom-color: var(--select-ring);
}

.shell {
  max-width: 1680px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

/* ---------- KPI overview ---------- */

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
}

.kpi h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--slate);
}

.kpi-value {
  margin: 0.18rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
}

.kpi-sub {
  margin: 0.1rem 0 0;
  font-size: 0.76rem;
  color: var(--faint);
}

.kpi.bad .kpi-value {
  color: var(--bad);
}

.kpi.warn .kpi-value {
  color: var(--warn);
}

/* ---------- workspace: queue + detail ---------- */

.workspace {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.queue-panel,
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.panel-sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--faint);
}

.queue-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.4rem;
}

.queue-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.queue-row:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.queue-row.active {
  border-color: var(--select-ring);
  box-shadow: inset 3px 0 0 var(--select-ring);
}

.sev-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.queue-row.sev-bad .sev-dot {
  background: var(--bad);
}

.queue-row.sev-warn .sev-dot {
  background: #d3a13c;
}

.queue-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.queue-who strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.queue-who .mono {
  color: var(--faint);
  margin-left: 0.3rem;
}

.queue-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.queue-side {
  flex: none;
  display: grid;
  gap: 0.18rem;
  justify-items: end;
  text-align: right;
}

.queue-amount {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--bad);
}

.queue-amount.none {
  font-weight: 400;
  font-size: 0.74rem;
  color: var(--faint);
}

.queue-action {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--link);
  white-space: nowrap;
}

.queue-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  padding: 0.7rem;
  color: var(--ok);
  font-size: 0.84rem;
  background: var(--surface-2);
}

/* ---------- detail panel ---------- */

.detail-empty h2,
.detail-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.detail-empty p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--faint);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.6rem;
}

.detail-head .mono {
  color: var(--faint);
}

.detail-action {
  margin: 0.55rem 0 0;
  border-left: 3px solid var(--bad);
  background: var(--bad-soft);
  border-radius: 0 4px 4px 0;
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.detail-action.ok {
  border-left-color: var(--ok);
  background: var(--ok-soft);
}

.detail-grid {
  margin: 0.7rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.7rem;
}

.detail-grid dt {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--slate);
  padding-top: 0.12rem;
}

.detail-grid dd {
  margin: 0;
  font-size: 0.82rem;
}

.detail-panel h3 {
  margin: 0.85rem 0 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--slate);
}

.detail-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.detail-lines li {
  font-size: 0.82rem;
}

.detail-links,
.detail-notes {
  margin: 0;
  font-size: 0.82rem;
}

.detail-notes {
  color: var(--slate);
}

.detail-actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.detail-btn {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.34rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.detail-btn:hover {
  background: var(--surface-2);
}

.detail-btn.ghost {
  border-color: transparent;
  color: var(--slate);
}

/* ---------- filters + search ---------- */

.controls {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--slate);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.search-wrap {
  display: block;
}

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

#searchInput {
  width: min(380px, 85vw);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.42rem 0.6rem;
  font: inherit;
  font-size: 0.84rem;
  background: var(--surface);
}

#searchInput:focus {
  outline: 2px solid var(--select-ring);
  outline-offset: -1px;
}

/* ---------- dossier rows ---------- */

.dossier-wrap {
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
}

.dossier-head,
.dossier-row-head {
  display: grid;
  grid-template-columns: 28px minmax(220px, 1.5fr) minmax(150px, 0.8fr) minmax(170px, 1fr) minmax(150px, 0.7fr);
  gap: 0.65rem;
  align-items: center;
}

.dossier-head {
  padding: 0 0.75rem 0 2.55rem;
  min-height: 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
}

.dossier-head span:first-child {
  grid-column: 2;
}

.dossier-row {
  border-bottom: 1px solid var(--line);
}

.dossier-row:last-child {
  border-bottom: 0;
}

.dossier-row.selected {
  box-shadow: inset 3px 0 0 var(--select-ring);
}

.dossier-row-head {
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  color: inherit;
  padding: 0 0.75rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dossier-row-head:hover,
.dossier-row.selected .dossier-row-head {
  background: var(--surface-2);
}

.row-chevron {
  width: 18px;
  color: var(--faint);
  font-size: 12px;
}

.row-client,
.row-kickoff,
.row-money,
.row-action {
  min-width: 0;
}

.row-client strong,
.row-money strong,
.row-action span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-client small,
.row-kickoff small,
.row-money small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-action span {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  padding: 0.28rem 0.45rem;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.dossier-drawer {
  border-top: 1px solid var(--line);
  padding: 0 0.85rem 0.85rem;
  background: var(--surface);
}

.drawer-section {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.drawer-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.drawer-section h3,
.drawer-section h4 {
  margin: 0 0 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
}

.drawer-section h4 {
  color: var(--ink);
  text-transform: none;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem 1rem;
}

.drawer-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.drawer-grid p {
  margin: 0;
}

.drawer-notes {
  margin: 0.75rem 0 0;
  color: var(--slate);
}

.dossier-empty {
  padding: 0.8rem;
  color: var(--slate);
}

.kickoff-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.35rem 0.75rem;
  list-style: none;
}

.kickoff-checklist li {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
}

.kickoff-checklist li.done {
  color: var(--ok);
}

.kickoff-checklist span {
  width: 14px;
  color: currentColor;
}

.kickoff-meta {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.3rem 0.75rem;
}

small {
  display: block;
  color: var(--slate);
}

.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--slate);
}

.state-chip {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.chip-neutral {
  background: #e5e7eb;
  color: #374151;
}

.chip-amber {
  background: #fef3c7;
  color: #92400e;
}

.chip-blue {
  background: #dbeafe;
  color: #1e40af;
}

.chip-green {
  background: #d1fae5;
  color: #065f46;
}

.chip-red {
  background: #fee2e2;
  color: #991b1b;
}

.badge.ok {
  background: var(--ok-soft);
  border-color: #c4e2d1;
  color: var(--ok);
}

.badge.warn {
  background: var(--warn-soft);
  border-color: #ecd9a8;
  color: var(--warn);
}

.badge.bad {
  background: var(--bad-soft);
  border-color: #efc4c1;
  color: var(--bad);
}

.mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.76rem;
}

.muted {
  color: var(--slate);
}

/* ---------- contract line items ---------- */

.line-items {
  display: grid;
  gap: 0.5rem;
  min-width: 240px;
}

.line-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.5rem;
  background: var(--surface-2);
}

.dossier-drawer .line-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.55rem 0;
  background: transparent;
}

.dossier-drawer .line-item:last-child {
  border-bottom: 0;
}

.line-item strong,
.amount {
  display: block;
}

.amount {
  margin: 0.1rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.status-select-wrap {
  display: grid;
  gap: 0.16rem;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--slate);
}

.status-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 0.3rem 0.4rem;
  font: inherit;
  font-size: 0.8rem;
  color: var(--ink);
}

.save-state {
  color: var(--ok);
  font-style: normal;
  font-size: 0.7rem;
}

.save-state.error {
  color: var(--bad);
}

.payment-note {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 0.3rem 0.4rem;
  font: inherit;
  font-size: 0.8rem;
  color: var(--ink);
}

.method-wrap select,
.note-wrap input {
  margin-top: 0.05rem;
}

.invoice-prompt-btn {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.36rem 0.5rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.4rem;
}

.invoice-prompt-btn:hover {
  background: var(--surface-2);
}

.invoice-actions {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.4rem;
}

.invoice-api-btn {
  width: 100%;
  border: 1px solid #b9c6e2;
  border-radius: 4px;
  background: #f3f6fc;
  color: var(--link);
  padding: 0.34rem 0.45rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.invoice-api-btn:hover {
  background: var(--link);
  color: #fff;
}

.copy-response-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--slate);
  border-radius: 4px;
  padding: 0.3rem 0.45rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.copy-response-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.invoice-output {
  margin: 0.3rem 0 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-2);
  padding: 0.4rem;
  font-size: 0.72rem;
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
}

/* ---------- operations panels ---------- */

.ops-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.ops-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ops-panel summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
}

.ops-panel summary::-webkit-details-marker {
  display: none;
}

.ops-panel summary::before {
  content: "▸";
  font-size: 0.7rem;
  color: var(--faint);
}

.ops-panel[open] summary::before {
  content: "▾";
}

.ops-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.ops-sub {
  font-size: 0.75rem;
  color: var(--faint);
}

.ops-body {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0.85rem 0.85rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.ops-check,
.ops-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ops-field input[type="text"],
.ops-field input[type="password"] {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.32rem 0.45rem;
  font: inherit;
  font-size: 0.82rem;
}

.monitor-grid {
  display: grid;
  gap: 0.4rem;
}

.monitor-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.monitor-grid input[type="number"] {
  width: 90px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.28rem 0.4rem;
  font: inherit;
  font-size: 0.82rem;
}

.monitor-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.monitor-btn {
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  padding: 0.36rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.monitor-btn:hover {
  background: #2e333d;
}

.ops-body small {
  color: var(--faint);
  font-size: 0.74rem;
}

/* ---------- footer ---------- */

.admin-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.kickoff-builder {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(73, 128, 185, 0.25);
  border-radius: 12px;
  background: rgba(238, 246, 252, 0.7);
  display: grid;
  gap: 0.7rem;
}

.kickoff-builder.ready {
  border-color: rgba(36, 142, 92, 0.35);
  background: rgba(229, 247, 238, 0.72);
}

.kickoff-builder.locked {
  background: rgba(245, 246, 248, 0.75);
}

.kickoff-builder label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.kickoff-builder input,
.kickoff-builder textarea {
  width: 100%;
  border: 1px solid rgba(73, 95, 119, 0.28);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.kickoff-create-btn,
.kickoff-copy-btn {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.kickoff-create-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.kickoff-link-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kickoff-output {
  margin: 0;
  max-height: 15rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: rgba(18, 33, 48, 0.92);
  color: #edf6ff;
  padding: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.5;
}

.admin-footer p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--faint);
}

/* ---------- responsive ---------- */

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

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  #searchInput {
    width: 100%;
  }

  .queue-row {
    flex-wrap: wrap;
  }

  .queue-side {
    justify-items: start;
    text-align: left;
    padding-left: 1.2rem;
  }

  .dossier-head {
    display: none;
  }

  .dossier-row-head {
    min-height: 44px;
    grid-template-columns: 20px minmax(0, 1fr);
    grid-template-areas:
      "chevron client"
      "chevron kickoff"
      "chevron money"
      "chevron action";
    gap: 0.25rem 0.5rem;
    padding: 0.5rem 0.65rem;
  }

  .row-chevron {
    grid-area: chevron;
  }

  .row-client {
    grid-area: client;
  }

  .row-kickoff {
    grid-area: kickoff;
  }

  .row-money {
    grid-area: money;
  }

  .row-action {
    grid-area: action;
  }

  .row-action span {
    display: inline-block;
    width: auto;
    text-align: left;
  }

  .dossier-drawer {
    padding: 0 0.65rem 0.65rem;
  }
}
