@font-face {
  font-family: "DM Sans";
  src: url(dm-sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #192e2b;
  background: #f5f7f5;
  --ink: #192e2b;
  --muted: #546860;
  --line: #dde5df;
  --green: #215645;
  --side: #142f29;
  --lime: #c5ed9c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #39947c;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -200vw;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: none;
  background: currentColor;
  mask: var(--glyph) center/contain no-repeat;
}
.iconbtn,
.textlink,
.btn,
.eyebrow,
.back,
.person,
.badge,
.env,
.panelhead h2,
.kpitop,
.topbar > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.iconbtn,
.textlink {
  background: transparent;
  color: var(--green);
  font-weight: 650;
  white-space: nowrap;
}
.iconbtn {
  padding: 7px;
  border-radius: 7px;
}
.iconbtn:hover,
.check:hover {
  background: #ebf2ed;
}
.textlink {
  font-size: 13px;
  padding: 0;
}
.textlink .icon {
  width: 15px;
  height: 15px;
}
#sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--side);
  color: #edf4eb;
  display: flex;
  flex-direction: column;
  padding: 32px 15px 0;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  padding: 0 9px;
  text-decoration: none !important;
}
.mark {
  width: 38px;
  height: 38px;
  background: url(mark.svg) center/contain no-repeat;
  font-size: 0;
}
.wordmark {
  font-size: 17px;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0.045em;
}
.wordmark small,
.profile small {
  display: block;
  font-weight: 450;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #b6c9bd;
  margin-top: 5px;
}
nav {
  margin-top: 24px;
  overflow: auto;
}
.navgroup {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a4bcac;
  font-weight: 700;
  padding: 20px 14px 9px;
}
nav a,
.utility {
  color: #dae7dc;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 14px;
  margin: 3px 0;
  font-weight: 550;
}
nav a .icon,
.utility .icon {
  color: #aec9b8;
}
nav a:hover,
.utility:hover {
  background: #203f36;
  text-decoration: none;
}
#sidebar [aria-current="page"] {
  background: #315549;
  color: #e6ffc8;
}
#sidebar [aria-current="page"] .icon {
  color: #c6ed9c;
}
.sidebottom {
  margin-top: auto;
}
.utility {
  margin-bottom: 18px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #385148;
  padding: 18px 5px;
}
.profileicon {
  width: 34px;
  height: 34px;
  border: 1px solid #668675;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: #355747;
  color: #daf2c7;
  font-weight: 700;
}
.profile b {
  font-size: 13px;
}
.profile small {
  margin: 0;
}
.profile .iconbtn {
  color: #eee;
}
main {
  margin-left: 224px;
  min-width: 0;
}
.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(20px, 3vw, 54px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.topbar .slash {
  color: #b0b9b3;
}
.topbar strong {
  color: var(--ink);
  font-weight: 600;
}
.env {
  margin-left: auto;
  background: #eff5ec;
  border: 1px solid #d7e4d8;
  border-radius: 20px;
  padding: 4px 10px;
  color: #335a41;
  font-size: 11px;
  font-weight: 700;
}
.env i,
.dot,
.badge i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #599469;
  flex: none;
}
#navtoggle {
  display: none;
}
.content {
  max-width: 1700px;
  margin: auto;
  padding: 32px clamp(20px, 3vw, 54px) 60px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.heading h1,
.login h1 {
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 680;
}
.eyebrow {
  color: var(--muted);
  margin: 0 0 7px;
  font-weight: 550;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.eyebrow .icon {
  width: 15px;
  height: 15px;
}
.actions,
.filters,
.formfoot {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  min-height: 39px;
  justify-content: center;
  background: white;
  border: 1px solid #cdd9d1;
  color: #28493d;
  font-weight: 650;
  font-size: 13px;
  border-radius: 8px;
  padding: 9px 14px;
  box-shadow: 0 1px 2px #16352509;
}
.btn:hover {
  background: #f0f5ef;
  text-decoration: none;
}
.btn.primary {
  background: #245745;
  border-color: #245745;
  color: white;
}
.btn.primary:hover {
  background: #183e31;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpicard,
.panel,
.dealcard {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 5px #1b352904;
}
.kpicard {
  display: block;
  padding: 16px 18px;
  color: inherit;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.kpicard:hover {
  text-decoration: none;
  border-color: #95b5a3;
  box-shadow: 0 4px 12px #1635250e;
}
.kpitop {
  display: flex;
  justify-content: space-between;
  color: #8d9d93;
}
.kpitop > .icon {
  width: 14px;
  height: 14px;
}
.tile {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e3edf7;
  color: #3f638e;
}
.purple .tile {
  background: #ebe8f7;
  color: #7968a4;
}
.teal .tile {
  background: #e0eee7;
  color: #397858;
}
.gold .tile {
  background: #f9efd8;
  color: #9c772d;
}
.kpival {
  font-weight: 660;
  font-size: clamp(24px, 2.5vw, 39px);
  letter-spacing: -0.055em;
  margin: 10px 0 0;
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.kpilabel {
  font-weight: 650;
  font-size: 14px;
  margin-top: 4px;
}
small,
.sub,
.empty,
.hint {
  color: var(--muted);
}
small,
.sub {
  font-size: 12px;
}
.kpicard small {
  display: block;
  margin-top: 5px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.panel {
  overflow: hidden;
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 17px;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0;
  font-weight: 680;
}
.panelhead h2 > .icon {
  color: #46715d;
  width: 18px;
  height: 18px;
}
.count {
  font-size: 12px;
  color: #4d6156;
  background: #edf2ec;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
  padding: 2px 7px;
}
.row,
.record {
  padding: 14px 19px;
  border-bottom: 1px solid #e8eee9;
}
.row:last-child,
.record:last-child {
  border-bottom: 0;
}
.row,
.recordtop {
  display: flex;
  align-items: center;
  gap: 12px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.row a,
.record a,
td a,
.dealcard a {
  overflow-wrap: anywhere;
}
.strong {
  font-weight: 640;
  color: var(--ink);
}
.sub,
td small,
.right small,
.record small,
.dealnext small {
  display: block;
}
.right {
  text-align: right;
  flex: none;
}
.right small {
  font-size: 11px;
  margin-top: 4px;
}
.badge {
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
  background: #edf1ef;
  padding: 3px 7px;
  color: #405e4e;
}
.red {
  background: #fbe8e3;
  color: #944431;
}
.amber {
  background: #fff1cd;
  color: #805a0d;
}
.green {
  background: #e2f2df;
  color: #386438;
}
.check {
  border: 1.5px solid #b8c8bd;
  border-radius: 5px;
  background: white;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 2px;
}
.check .icon {
  opacity: 0;
  width: 14px;
  height: 14px;
}
.check:hover .icon,
.check:focus-visible .icon {
  opacity: 1;
}
.person {
  font-size: 12px;
  white-space: nowrap;
}
.avatar {
  background: #e1eade;
  color: #3e6442;
  font-weight: 750;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.avatar.katrin {
  color: #73567b;
  background: #eee5f0;
}
.datebox {
  display: grid;
  text-align: center;
  font-size: 11px;
  min-width: 55px;
  color: #416557;
  border: 1px solid #d9e5dd;
  border-radius: 7px;
  padding: 5px;
  background: #f3f7f3;
}
.datebox b {
  font-size: 13px;
}
.empty,
.hint,
.money,
.pipeinner {
  padding: 16px 19px;
  margin: 0;
}
.hint {
  font-size: 12px;
  padding-bottom: 0;
}
.pipetotal {
  color: var(--muted);
  font-size: 13px;
}
.pipetotal b {
  font-size: 30px;
  color: var(--ink);
  margin-right: 4px;
  letter-spacing: -0.04em;
}
.ribbon {
  display: flex;
  gap: 3px;
  height: 10px;
  background: #edf2ee;
  border-radius: 5px;
  overflow: hidden;
  margin: 8px 0 12px;
}
.phaserow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  color: var(--ink);
  font-size: 13px;
}
.phaserow b {
  margin-left: auto;
}
.s0 {
  background: #91afa3;
}
.s1 {
  background: #71acb5;
}
.s2 {
  background: #7094bd;
}
.s3 {
  background: #a490c0;
}
.s4 {
  background: #cca96a;
}
.s5 {
  background: #db9472;
}
.s6 {
  background: #568558;
}
.s7 {
  background: #9b9e99;
}
.money p {
  margin: 3px 0 14px;
}
.back {
  font-size: 13px;
  margin-bottom: 16px;
}
.filters {
  margin-bottom: 18px;
}
.search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #cbd8cd;
  border-radius: 8px;
  padding-left: 12px;
  color: #657b6d;
}
.search input {
  border: 0;
  min-width: 180px;
}
.filters input,
.filters select,
.field input,
.field select,
.field textarea {
  background: white;
  border-radius: 7px;
  padding: 9px 11px;
}
.filters select,
.field input,
.field select,
.field textarea {
  border: 1px solid #c5d2c9;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
}
.scroll,
.board {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e5ece7;
}
th {
  font-size: 12px;
  font-weight: 600;
  background: #f8faf8;
  color: var(--muted);
}
tbody tr:hover {
  background: #fbfcfa;
}
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  gap: 13px;
}
.lane {
  background: #eaf0ea;
  border-radius: 11px;
  padding: 12px;
  min-width: 0;
}
.lane h2 {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
}
.lane .count {
  margin-left: auto;
  background: white;
}
.dealcard {
  padding: 15px;
  border-radius: 9px;
  margin: 8px 0;
}
.dealcard p {
  font-size: 12px;
  color: var(--muted);
}
.dealcard p b {
  color: var(--ink);
}
.dealnext {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 10px;
  font-size: 13px;
}
.overview {
  padding: 17px 20px;
  margin-bottom: 20px;
}
.overview dl {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 32px;
  margin: 0;
}
.overview dt,
.field span {
  font-size: 13px;
  color: var(--muted);
}
dd {
  margin: 3px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.recordtop {
  justify-content: space-between;
  flex-wrap: wrap;
}
.record p,
.overview p,
.pre {
  overflow-wrap: anywhere;
}
.pre {
  white-space: pre-wrap;
}
.record small,
.record form {
  margin-top: 6px;
}
.editform {
  max-width: 890px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  padding: 24px;
}
.field {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.field span {
  font-weight: 650;
}
.wide {
  grid-column: 1/-1;
}
textarea {
  resize: vertical;
}
.formfoot {
  border-top: 1px solid var(--line);
  padding: 15px 24px;
  background: #fafcf9;
}
.formfoot small {
  margin-right: auto;
}
.flash,
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  background: #dfefdf;
  color: #275631;
}
.flash {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
}
.alert {
  background: #f9e6dc;
  color: #893c20;
}
.editform .alert {
  margin: 18px;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #18392f;
}
.loginbox {
  background: #f9fbf7;
  width: min(420px, 94vw);
  border-radius: 18px;
  padding: 36px;
}
.loginbox .brand {
  padding: 0;
}
.loginbox .wordmark small {
  color: var(--muted);
}
.loginbox h1 {
  font-size: 32px;
  margin: 28px 0 20px;
}
.loginbox .field {
  margin: 14px 0;
}
.loginbox .btn {
  width: 100%;
}
@media (max-width: 1150px) {
  #sidebar {
    width: 192px;
    padding-left: 10px;
    padding-right: 10px;
  }
  main {
    margin-left: 192px;
  }
  .content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .kpicard {
    padding: 13px;
  }
  .actions .btn {
    font-size: 12px;
  }
}
@media (max-width: 930px) {
  #sidebar {
    width: 215px;
    transform: translateX(-100%);
  }
  main {
    margin-left: 0;
  }
  #navtoggle {
    display: inline-flex;
  }
  .navopen #sidebar {
    transform: none;
    top: 60px;
  }
  .navopen .topbar {
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .topbar {
    padding: 0 16px;
  }
  .kpis {
    gap: 10px;
  }
  .heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .content {
    padding: 20px 14px 45px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panelhead,
  .row,
  .record {
    padding: 13px;
  }
  .heading h1 {
    font-size: 33px;
  }
  .panelhead h2 {
    font-size: 16px;
  }
  .formgrid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .formfoot {
    padding: 14px;
  }
  .actions {
    gap: 6px;
  }
  .right small {
    max-width: 96px;
  }
  .filters > * {
    max-width: 100%;
  }
  .heading {
    margin-bottom: 17px;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .profile {
    padding: 10px 5px;
  }
  .kpilabel {
    font-size: 13px;
  }
}

/* Sales dashboard */
.sales-dashboard .heading { margin-bottom: 26px; }
.sales-metrics {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  overflow: hidden;
}
.sales-metric {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  gap: 4px;
  min-width: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
}
.sales-metric:last-child { border: 0; }
.sales-metric:hover { background: #f8faf8; text-decoration: none; }
.sales-metric:focus-visible { outline-offset: -4px; }
.sales-metric strong {
  margin-top: 8px;
  font-size: clamp(25px, 2.4vw, 40px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.18;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.metric-label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.metric-label .icon { color: var(--muted); width: 16px; height: 16px; }
.sales-metric.featured { background: var(--side); color: white; }
.sales-metric.featured .icon, .sales-metric.featured small { color: var(--lime); }
.sales-layout { display: grid; align-items: start; gap: 18px; grid-template-columns: minmax(0, 1.52fr) minmax(330px, 1fr); }
.sales-layout .panel { min-width: 0; }
.sales-layout .panelhead { min-height: 60px; }
.daily > .panelhead { border: 0; flex-wrap: wrap; }
.agenda-filter { display: flex; gap: 5px; align-items: center; }
.agenda-filter select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 13px; }
.apply-filter { min-height: 30px; padding: 4px 8px; }
.agenda-tabs { margin: 0; display: flex; padding: 0 18px; gap: 18px; border-bottom: 1px solid var(--line); }
.agenda-tabs a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 0 11px; margin: 0;
  color: var(--muted); font-size: 13px; border-radius: 0; border-bottom: 2px solid transparent;
}
.agenda-tabs a:hover { background: transparent; color: var(--green); }
.agenda-tabs a[aria-current] { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.agenda-tabs a span { background: #edf2ec; border-radius: 5px; padding: 0 5px; font-size: 11px; }
.agenda-table { table-layout: fixed; }
.agenda-table th, .agenda-table td { padding: 12px 13px; }
.agenda-table th:first-child, .agenda-table td:first-child { padding-left: 19px; width: 49%; }
.agenda-table th:last-child, .agenda-table td:last-child { text-align: right; padding-right: 19px; }
.agenda-item { display: flex; align-items: center; gap: 10px; }
.agenda-item .sub { margin-top: 2px; }
.agenda-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 19px; color: var(--muted); font-size: 12px; }
.phase-chart { padding: 14px 19px 18px; }
.phase-chart .pipetotal { margin-bottom: 10px; }
.phase-line {
  display: grid; align-items: center; grid-template-columns: minmax(0, 1.5fr) minmax(24px, 1fr) 20px;
  gap: 10px; padding: 5px 0; font-size: 13px; color: var(--ink);
}
.phase-line b { text-align: right; }
.phase-track { background: #edf2ec; height: 6px; border-radius: 8px; overflow: hidden; }
.phase-track i { display: block; height: 100%; border-radius: inherit; }
.order-values th, .order-values td { padding: 11px 12px; }
.order-values tbody th { background: white; }
.order-values th:not(:first-child), .order-values td { text-align: right; font-variant-numeric: tabular-nums; }
.values-help { color: var(--muted); font-size: 12px; padding: 12px 16px; }
.daily .hint { padding-bottom: 12px; }
@media(max-width:1150px){
  .sales-layout { grid-template-columns: minmax(0, 1.35fr) minmax(275px, 1fr); }
  .sales-metric { padding: 16px 14px; }
  .daily > .panelhead { gap: 7px; }
  .agenda-table td, .agenda-table th { padding: 10px 8px; }
}
@media(max-width:760px){
  .sales-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sales-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sales-layout { grid-template-columns: minmax(0,1fr); }
  .sales-metric strong { font-size: 28px; }
  .agenda-tabs { padding: 0 13px; gap: 13px; }
  .agenda-table th:first-child, .agenda-table td:first-child { padding-left: 12px; width: 43%; }
  .agenda-table th:last-child, .agenda-table td:last-child { padding-right: 12px; }
  .agenda-table .person { white-space: normal; overflow-wrap: anywhere; }
  .agenda-table .avatar { display: none; }
  .metric-label { align-items: flex-start; }
  .agenda-tabs a { gap: 4px; }
}
.agenda-filter [hidden] { display: none; }

/* Opportunities share the dashboard header, metrics and view navigation. */
.deal-register .panelhead { border-bottom: 0; }
.register-count { color: var(--muted); font-size: 12px; }
.deal-filters { margin: 0; padding: 14px 19px; }
.deal-filters .search { flex: 1 1 175px; min-width: 0; }
.deal-filters .search input { width: 100%; min-width: 0; }
.deal-filters select { max-width: 100%; }
.customer-deals { table-layout: fixed; }
.customer-deals th, .customer-deals td { padding: 12px 14px; }
.customer-deals th:nth-child(1) { width: 24%; }
.customer-deals th:nth-child(2) { width: 18%; }
.customer-deals th:nth-child(3) { width: 27%; }
.customer-deals th:nth-child(4) { width: 15%; }
.customer-deals th:last-child, .deal-value { text-align: right; }
.customer-deals td { overflow-wrap: anywhere; vertical-align: middle; }
.customer-deals tbody + tbody { border-top: 1px solid var(--line); }
.company-name { display: block; font-weight: 700; color: var(--ink); }
.opportunity-link { display: inline-block; margin-top: 3px; }
.deal-phase span { display: inline-flex; gap: 7px; align-items: baseline; font-size: 13px; }
.deal-phase .dot { flex: none; }
.next-action small, .missing-date { display: block; margin-top: 4px; font-size: 12px; }
.next-action .late-step { color: #944431; }
.missing-date { color: #805a0d; }
.deal-value { font-variant-numeric: tabular-nums; }
.deal-register .board { margin: 0 14px 14px; }
@media(max-width:1000px){
  .customer-deals td, .customer-deals th { padding: 11px 9px; }
  .customer-deals .avatar { display: none; }
}
@media(max-width:760px){
  .deal-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 12px; }
  .deal-filters .search { grid-column: 1/-1; }
  .deal-filters .textlink { justify-self: start; }
  .customer-deals, .customer-deals tbody { display: block; }
  .customer-deals thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .customer-deals tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px 12px; padding: 15px; }
  .customer-deals tr + tr { border-top: 1px dotted var(--line); }
  .customer-deals td { padding: 0; border: 0; }
  .customer-deals .opportunity, .customer-deals .next-action { grid-column: 1/-1; }
  .customer-deals .deal-phase { grid-column: 1/-1; }
  .customer-deals .next-action::before { content: 'Nächster Schritt'; display:block; font-size: 11px; color:var(--muted); }
  .customer-deals .deal-value small { display: inline; margin-left: 3px; }
  .customer-deals .deal-value small:last-child { display: block; }
  .customer-deals .avatar { display: grid; }
}
