/* ============================================================
   Lux Data Platform — app.css
   Monochrome, serif headers, fine lines. Match lux.do aesthetic.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  width: 100%;
  background: #fafafa;
}
body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.5;
}

/* Keyboard focus: inputs signal focus via border-color (rules below), so this
   covers buttons, links, nav items, table rows, tabs, and chips. */
:focus-visible {
  outline: 2px solid #d8613c;
  outline-offset: 2px;
}

canvas#net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

/* Boot loader — shown in #app until the first render replaces it. */
.boot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.boot img {
  opacity: 0.9;
}
.boot-spin {
  width: 22px;
  height: 22px;
  border: 2px solid #e2e2e2;
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: boot-spin 0.7s linear infinite;
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}
.noscript-msg {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  font-size: 14px;
  color: #3a3a3a;
  padding: 24px;
  text-align: center;
}
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 60% at 60% 30%,
    rgba(250, 250, 250, 0) 0%,
    rgba(250, 250, 250, 0.7) 60%,
    #fafafa 100%
  );
}

/* ---------- Shell ---------- */
.shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.side {
  border-right: 1px solid #ececec;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  padding: 0 24px 24px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 18px;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-label {
  padding: 0 12px 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: #3a3a3a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #f1f1f1;
  color: #0a0a0a;
}
.nav-item.active {
  background: #0a0a0a;
  color: #fff;
}
.nav-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}
.nav-item.active .dot {
  opacity: 1;
}

.side-foot {
  padding: 16px 24px 0;
  border-top: 1px solid #ececec;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.env {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #5a5a5a;
}
.env .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0a0a;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}
.who {
  font-size: 11px;
  color: #7a7a7a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Main ---------- */
.main {
  padding: 0 36px 56px;
  min-width: 0;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: linear-gradient(180deg, #fafafa 70%, rgba(250, 250, 250, 0));
}
.top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.crumbs {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.crumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumbs .sep {
  color: #cfcfcf;
  flex: none;
}
.crumbs .cur {
  color: #0a0a0a;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile nav toggle — hidden on desktop, shown ≤780px. */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 0 7px;
  border: 1px solid #e2e2e2;
  background: #fff;
  cursor: pointer;
  flex: none;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: #0a0a0a;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.side-scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(15, 15, 15, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 8px 12px;
  width: 340px;
  color: #9a9a9a;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font: inherit;
  color: #0a0a0a;
  font-size: 13px;
}
.search input::placeholder {
  color: #9a9a9a;
}
.search kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #7a7a7a;
  border: 1px solid #e2e2e2;
  padding: 1px 5px;
  background: #fafafa;
}
.icon-btn {
  position: relative;
  border: 1px solid #e2e2e2;
  background: #fff;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3a3a3a;
}
.icon-btn:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
}
.icon-btn .badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8613c;
}

/* Page head */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 32px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5a5a5a;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow .rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #cfcfcf;
}

.page-head h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.page-head h1 em {
  font-style: italic;
  font-weight: 500;
}
.lede {
  margin-top: 10px;
  color: #4a4a4a;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.6;
}
.page-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 0;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.15s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-primary {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #0a0a0a;
}
.btn-primary:hover {
  background: #fff;
  color: #0a0a0a;
}
.btn-ghost {
  background: transparent;
  color: #0a0a0a;
  border: 1px solid #c8c8c8;
}
.btn-ghost:hover {
  border-color: #0a0a0a;
}
.btn-danger {
  background: #b03a2a;
  color: #fff;
  border: 1px solid #b03a2a;
}
.btn-danger:hover {
  background: #fff;
  color: #b03a2a;
}

/* ---------- KPIs ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.kpi:hover {
  border-color: #0a0a0a;
}
.kpi-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.kpi-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: #0a0a0a;
  letter-spacing: -0.02em;
}
.kpi-value small {
  font-size: 18px;
  font-weight: 500;
  color: #5a5a5a;
  margin-left: 1px;
}
.kpi-delta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.kpi-delta.up {
  color: #2a6a3a;
}
.kpi-delta.down {
  color: #b03a2e;
}
.kpi-delta.flat {
  color: #7a7a7a;
}
.spark {
  width: 100%;
  height: 36px;
  margin-top: 4px;
  display: block;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid #ececec;
  padding: 20px 22px;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f1f1;
}
.card-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.muted {
  color: #7a7a7a;
  font-size: 12px;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}
.link {
  font-size: 12px;
  color: #0a0a0a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link:hover {
  border-color: #0a0a0a;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Legend */
.legend {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #5a5a5a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Flow chart */
.flow {
  width: 100%;
  height: 240px;
  display: block;
}

/* Destinations */
.dest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dest-list li {
  display: grid;
  grid-template-columns: 130px 1fr 60px 70px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.d-name {
  font-weight: 500;
}
.d-bar {
  height: 4px;
  background: #f1f1f1;
  position: relative;
  overflow: hidden;
}
.d-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #0a0a0a;
  display: block;
}
.d-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #5a5a5a;
  text-align: right;
}
.d-st {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}
.d-st.ok {
  color: #2a6a3a;
}
.d-st.warn {
  color: #b07a2a;
}
.d-st.err {
  color: #b03a2a;
}

/* Filters */
.filters {
  display: flex;
  gap: 6px;
}
.chip {
  background: transparent;
  border: 1px solid #e2e2e2;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a5a5a;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}
.chip:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
}
.chip.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* Table */
.table-wrap {
  overflow-x: auto;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tbl th {
  text-align: left;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7a7a;
  padding: 8px 14px 12px;
  border-bottom: 1px solid #ececec;
}
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}
.tbl tbody tr:hover {
  background: #fafafa;
}
.tbl td.mono,
.tbl td .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #3a3a3a;
}

.pill {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid currentColor;
}
.pill.ok {
  color: #2a6a3a;
}
.pill.warn {
  color: #b07a2a;
}
.pill.err {
  color: #b03a2a;
}
.pill.neutral {
  color: #5a5a5a;
}

/* Code block */
.code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  background: #0a0a0a;
  color: #e8e8e8;
  padding: 18px 22px;
  overflow-x: auto;
  border: 1px solid #0a0a0a;
}
.code .k {
  color: #c8c8c8;
}
.code .s {
  color: #9bc2d6;
}
.code .v {
  color: #d8b46a;
}
.code .n {
  color: #e8a878;
}

/* Lookup form */
.lookup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lookup label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.lookup input {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.lookup input:focus {
  outline: 0;
  border-color: #0a0a0a;
}
.lookup .btn {
  align-self: flex-start;
  margin-bottom: 6px;
}

/* Source list */
.src-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.src-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
}
.src-list li:last-child {
  border-bottom: 0;
}
.s-name {
  font-weight: 500;
  font-size: 13.5px;
}
.s-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #7a7a7a;
}

/* Graph canvas */
.graph {
  width: 100%;
  height: 480px;
  display: block;
  background: #fafafa;
  border: 1px solid #f1f1f1;
}

/* Connection cards */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.conn {
  background: #fff;
  border: 1px solid #ececec;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.conn:hover {
  border-color: #0a0a0a;
}
.conn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.conn-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.conn-kind {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.conn-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #5a5a5a;
}
.conn-meta .mono {
  color: #3a3a3a;
}
.conn-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f1f1;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7a7a;
}

/* Partner cards */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.partner {
  background: #fff;
  border: 1px solid #ececec;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.partner:hover {
  border-color: #0a0a0a;
}
.partner-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.partner-kv {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5a5a5a;
}
.partner-kv span:last-child {
  color: #0a0a0a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
}

/* Audit log */
.audit-list {
  list-style: none;
}
.audit-list li {
  display: grid;
  grid-template-columns: 140px 90px 1fr 120px;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 12.5px;
  align-items: center;
}
.audit-list li:last-child {
  border-bottom: 0;
}
.audit-list .ts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #7a7a7a;
}
.audit-list .act {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.audit-list .who-cell {
  color: #3a3a3a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  text-align: right;
}

/* kv rows */
.kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 13px;
}
.kv:last-child {
  border-bottom: 0;
}
.kv span:first-child {
  color: #7a7a7a;
}

/* ---------- Propensity & Budget ---------- */
.prop-list,
.alloc-list,
.ident-list,
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.prop-list li {
  display: grid;
  grid-template-columns: 140px 1fr 50px 80px 70px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}
.prop-list li:last-child,
.alloc-list li:last-child,
.ident-list li:last-child {
  border-bottom: 0;
}
.p-prod {
  font-weight: 500;
  font-size: 13.5px;
}
.p-bar {
  height: 4px;
  background: #f1f1f1;
  position: relative;
  overflow: hidden;
}
.p-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #0a0a0a;
  display: block;
}

.alloc-list li {
  display: grid;
  grid-template-columns: 160px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}
.alloc-list li:last-child {
  border-bottom: 0;
}
.a-ch {
  font-weight: 500;
  font-size: 13.5px;
}
.a-bar {
  height: 4px;
  background: #f1f1f1;
  position: relative;
  overflow: hidden;
}
.a-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
}

/* Lead row clickable */
.tbl tbody tr.clickable {
  cursor: pointer;
}
.tbl tbody tr.clickable:hover {
  background: #fafafa;
}

/* ---------- User drill-down ---------- */
.ident-list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 13px;
}
.ident-k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.timeline li {
  display: grid;
  grid-template-columns: 130px 90px 1fr 110px;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 12.5px;
}
.timeline li:last-child {
  border-bottom: 0;
}
.timeline .t-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #7a7a7a;
}
.timeline .t-kind {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.timeline .t-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #5a5a5a;
  text-align: right;
}

/* ---------- Conflict queue ---------- */
.conflict-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.conflict-list li {
  display: grid;
  grid-template-columns: 1fr 1fr 90px 140px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 12.5px;
}
.conflict-list li:last-child {
  border-bottom: 0;
}
.conflict-list .c-pair {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.conflict-list .c-pair .mono {
  font-size: 11.5px;
  color: #3a3a3a;
}
.conflict-list .c-pair .muted {
  font-size: 10.5px;
}
.conflict-list .c-conf {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #b07a2a;
}
.conflict-list .c-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.conflict-list .c-actions button {
  background: transparent;
  border: 1px solid #e2e2e2;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a3a3a;
  cursor: pointer;
  font-family: inherit;
}
.conflict-list .c-actions button:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
}
.conflict-list .c-actions .keep {
  border-color: #0a0a0a;
  color: #0a0a0a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .side {
    position: fixed;
    left: -260px;
    width: 248px;
    transition: left 0.25s;
    z-index: 30;
  }
  .side.open {
    left: 0;
    box-shadow: 0 0 60px rgba(15, 15, 15, 0.25);
  }
  .menu-btn {
    display: flex;
  }
  .main {
    padding: 0 20px 40px;
  }
  .search {
    display: none;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .page-head h1 {
    font-size: 30px;
  }
}
@media (min-width: 781px) {
  .side-scrim {
    display: none;
  }
}

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