:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #191919;
  background: #f5f5f3;
  --crm-container: 1080px;
  --crm-panel-radius: 16px;
  --crm-control-radius: 8px;
  --crm-control-height: 36px;
}

/* Зафиксированный одноэкранный интерфейс заявок. */
.crm-header {
  min-height: 58px;
  padding: 0 20px;
  border-bottom-color: #dfdfda;
  background: #fff;
  justify-content: space-between;
}

.crm-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #292724;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .52px;
  white-space: nowrap;
}

.crm-brand-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.crm-workspace-app {
  --workspace-page: #f3f3f1;
  --workspace-paper: #fff;
  --workspace-soft: #fafaf9;
  --workspace-hover: #f4f4f2;
  --workspace-selected: #eeeeeb;
  --workspace-ink: #191919;
  --workspace-secondary: #656561;
  --workspace-tertiary: #92928d;
  --workspace-line: #dfdfda;
  --workspace-line-soft: #eeeeeb;
  --workspace-dark: #20201f;
  width: min(1500px, calc(100% - 24px));
  height: min(900px, calc(100vh - 70px));
  min-height: 700px;
  margin: 12px auto 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  color: var(--workspace-ink);
  background: transparent;
  font-size: 13px;
  line-height: 1.45;
}

.crm-workspace-app button,
.crm-workspace-app input,
.crm-workspace-app textarea { font: inherit; }

.crm-workspace-app button { cursor: pointer; }

.crm-workspace-app svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crm-workspace-layout {
  display: grid;
  min-height: 0;
  height: 100%;
  grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.crm-workspace-queue,
.crm-workspace-detail {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--workspace-line);
  border-radius: 13px;
  background: var(--workspace-paper);
}

.crm-workspace-queue-head {
  position: relative;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--workspace-line);
}

.crm-workspace-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.crm-workspace-title h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.crm-workspace-title span { color: var(--workspace-tertiary); font-size: 11px; }

.crm-workspace-tools { display: flex; gap: 7px; margin-top: 14px; }

.crm-workspace-search {
  display: flex;
  min-width: 0;
  height: 36px;
  flex: 1;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--workspace-line);
  border-radius: 8px;
  color: var(--workspace-secondary);
  background: var(--workspace-paper);
}

.crm-workspace-search:focus-within { border-color: var(--workspace-secondary); }
.crm-workspace-search svg { width: 14px; height: 14px; }
.crm-workspace-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--workspace-ink); background: transparent; font-size: 12px; }
.crm-workspace-search input::placeholder { color: var(--workspace-tertiary); }
.crm-workspace-filter { position: relative; }

.crm-workspace-filter-trigger {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--workspace-line);
  border-radius: 8px;
  color: var(--workspace-secondary);
  background: var(--workspace-paper);
}

.crm-workspace-filter-trigger:hover { color: var(--workspace-ink); background: var(--workspace-hover); }
.crm-workspace-filter-trigger.is-active { border-color: var(--workspace-dark); color: var(--workspace-ink); background: var(--workspace-selected); }

.crm-workspace-filter-menu {
  position: absolute;
  z-index: 30;
  top: 42px;
  right: 0;
  width: 245px;
  max-height: 310px;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid var(--workspace-line);
  border-radius: 10px;
  background: var(--workspace-paper);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.crm-workspace-filter-menu[hidden] { display: none; }
.crm-workspace-filter-menu button { display: flex; width: 100%; min-height: 33px; align-items: center; padding: 0 9px; border: 0; border-radius: 7px; color: var(--workspace-ink); background: transparent; text-align: left; font-size: 11px; }
.crm-workspace-filter-menu button:hover { background: var(--workspace-hover); }
.crm-workspace-filter-menu button[hidden] { display: none; }
.crm-workspace-filter-menu button.is-selected { background: var(--workspace-selected); box-shadow: inset 2px 0 var(--workspace-dark); font-weight: 600; }

.crm-workspace-scopes { display: flex; gap: 16px; margin: 14px -18px -14px; padding: 0 18px; overflow-x: auto; border-top: 1px solid var(--workspace-line-soft); white-space: nowrap; }
.crm-workspace-scopes button { position: relative; min-height: 42px; padding: 0; border: 0; color: var(--workspace-secondary); background: transparent; font-size: 11px; font-weight: 600; }
.crm-workspace-scopes button:hover,
.crm-workspace-scopes button.is-active { color: var(--workspace-ink); }
.crm-workspace-scopes button.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--workspace-dark); content: ""; }
.crm-scope-unread-dot { position: absolute; top: 9px; right: -8px; width: 5px; height: 5px; border-radius: 50%; background: #bd5549; }
.crm-scope-unread-dot[hidden] { display: none; }
.crm-new-scope-dot { position: absolute; top: 9px; right: -8px; width: 5px; height: 5px; border-radius: 50%; background: #bd5549; }
.crm-new-scope-dot[hidden] { display: none; }
.crm-workspace-row-name .crm-new-application-dot { display: inline-block; width: 5px; height: 5px; margin-left: 6px; vertical-align: middle; border-radius: 50%; background: #bd5549; }

.crm-workspace-list-labels { display: flex; flex: 0 0 auto; justify-content: space-between; padding: 9px 17px; border-bottom: 1px solid var(--workspace-line-soft); color: var(--workspace-tertiary); font-size: 11px; }
.crm-workspace-rows { min-height: 0; flex: 1; overflow-y: auto; }
.crm-workspace-row { display: block; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--workspace-line-soft); color: var(--workspace-ink); background: var(--workspace-paper); text-align: left; }
.crm-workspace-row:hover { background: var(--workspace-hover); }
.crm-workspace-row.is-selected { background: var(--workspace-selected); box-shadow: inset 3px 0 var(--workspace-dark); }
.crm-workspace-row[hidden] { display: none; }
.crm-workspace-row-top,
.crm-workspace-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crm-workspace-row-name { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.crm-workspace-row-time { flex: 0 0 auto; color: var(--workspace-tertiary); font-size: 11px; }
.crm-workspace-row-bottom { margin-top: 8px; }
.crm-workspace-row-payment,
.crm-workspace-row-status,
.crm-workspace-row-owner { color: var(--workspace-secondary); font-size: 11px; }
.crm-workspace-row-status { display: inline-flex; max-width: 70%; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-workspace-row-status.is-urgent { color: var(--workspace-ink); font-weight: 600; }
.crm-workspace-row-status.is-urgent::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--workspace-dark); content: ""; }
.crm-workspace-row-owner { display: block; margin-top: 6px; }
.crm-workspace-empty { padding: 50px 16px; color: var(--workspace-secondary); text-align: center; }

.crm-workspace-detail-empty { display: grid; min-height: 0; flex: 1; place-content: center; color: var(--workspace-secondary); font-size: 12px; }
.crm-workspace-detail-inner { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.crm-workspace-detail-head { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 20px 22px 18px; border-bottom: 1px solid var(--workspace-line); }
.crm-workspace-detail-head-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.crm-workspace-detail-head h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.crm-workspace-detail-head p { margin: 3px 0 0; color: var(--workspace-secondary); font-size: 11px; }
.crm-workspace-minor { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 7px; border: 1px solid var(--workspace-line); border-radius: 6px; background: var(--workspace-selected); font-size: 11px; }
.crm-workspace-minor::before { width: 6px; height: 6px; border-radius: 50%; background: var(--workspace-dark); content: ""; }
.crm-workspace-header-status { display: inline-flex; max-width: 190px; min-height: 26px; align-items: center; padding: 0 9px; border: 1px solid var(--workspace-line); border-radius: 99px; color: var(--workspace-ink); background: var(--workspace-soft); font-size: 11px; font-weight: 600; text-align: center; }
.crm-workspace-detail-grid { display: grid; min-height: 0; flex: 1; grid-template-columns: minmax(0, 1.05fr) minmax(245px, .95fr); }
.crm-workspace-content { min-width: 0; min-height: 0; overflow-y: auto; border-right: 1px solid var(--workspace-line); }
.crm-workspace-tabs { display: flex; min-height: 46px; align-items: stretch; gap: 17px; padding: 0 20px; border-bottom: 1px solid var(--workspace-line); }
.crm-workspace-tabs button { position: relative; padding: 0; border: 0; color: var(--workspace-secondary); background: transparent; font-size: 11px; font-weight: 600; }
.crm-workspace-tabs button.is-active { color: var(--workspace-ink); }
.crm-workspace-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--workspace-dark); content: ""; }
.crm-chat-unread-dot { position: absolute; top: 10px; right: -8px; width: 5px; height: 5px; border-radius: 50%; background: #bd5549; }
.crm-chat-unread-dot[hidden] { display: none; }
.crm-workspace-tab-panel { min-height: 550px; padding: 18px 20px 24px; }
.crm-workspace-tab-panel[hidden] { display: none; }
.crm-workspace-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 12px; font-weight: 600; }
.crm-workspace-text-action { padding: 0; border: 0; color: var(--workspace-secondary); background: transparent; font-size: 11px; }
.crm-workspace-text-action:hover { color: var(--workspace-ink); }
.crm-workspace-text-action.crm-danger-action,
.crm-secondary.crm-danger-action { color: #8e3348; }
.crm-workspace-text-action.crm-danger-action:hover,
.crm-secondary.crm-danger-action:hover { color: #6f2436; }
.crm-preserve-lines { white-space: pre-wrap; }
.crm-workspace-minor[hidden] { display: none; }
.crm-workspace-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
.crm-workspace-fields .wide { grid-column: 1 / -1; }
.crm-workspace-fields label { display: block; color: var(--workspace-tertiary); font-size: 11px; }
.crm-workspace-fields span { display: block; margin-top: 3px; overflow-wrap: anywhere; font-size: 11px; font-weight: 600; }
.crm-workspace-divider { height: 1px; margin: 20px 0; background: var(--workspace-line-soft); }
.crm-workspace-subtitle { margin: 0 0 14px; font-size: 12px; font-weight: 600; }
.crm-workspace-socials { display: grid; gap: 5px; }
.crm-workspace-socials a { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 7px; padding: 9px 10px; border: 1px solid var(--workspace-line); border-radius: 7px; color: var(--workspace-ink); text-decoration: none; font-size: 11px; }
.crm-workspace-socials a:hover { background: var(--workspace-hover); }
.crm-workspace-socials strong,
.crm-workspace-socials small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-workspace-socials strong { font-weight: 600; }
.crm-workspace-socials small { color: var(--workspace-secondary); }
.crm-workspace-socials svg { width: 13px; height: 13px; flex: 0 0 auto; }
.crm-workspace-muted { color: var(--workspace-secondary); font-size: 11px; }

.crm-workspace-edit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.crm-workspace-edit-form[hidden],
.crm-workspace-fields[hidden] { display: none; }
.crm-workspace-edit-form .wide,
.crm-workspace-edit-actions { grid-column: 1 / -1; }
.crm-workspace-edit-form label { display: block; margin-bottom: 4px; color: var(--workspace-tertiary); font-size: 11px; }
.crm-workspace-edit-form input,
.crm-workspace-edit-form textarea { width: 100%; min-height: 36px; padding: 8px 9px; resize: none; border: 1px solid var(--workspace-line); border-radius: 7px; color: var(--workspace-ink); background: var(--workspace-paper); font-size: 11px; }
.crm-workspace-edit-form textarea:disabled,
.crm-inline-field textarea:disabled,
.crm-edit-field textarea:disabled { color: #777771; background: #f2f2ef; cursor: default; }
.crm-workspace-edit-form input:focus,
.crm-workspace-edit-form textarea:focus { border-color: #8f8f8a; outline: 3px solid #eeeeeb; box-shadow: none; }
.crm-workspace-field-help { display: block; margin-top: 5px; color: var(--workspace-secondary); font-size: 10px; line-height: 1.45; }
.crm-workspace-edit-actions { display: flex; justify-content: flex-end; gap: 6px; }
.crm-workspace-edit-actions button,
.crm-workspace-step-actions button,
.crm-workspace-step-file button { min-height: 30px; padding: 0 9px; border: 1px solid var(--workspace-line); border-radius: 7px; color: var(--workspace-ink); background: var(--workspace-paper); font-size: 11px; font-weight: 600; }
.crm-workspace-edit-actions button.primary,
.crm-workspace-step-actions button.primary { border-color: var(--workspace-dark); color: var(--workspace-paper); background: var(--workspace-dark); }

.crm-workspace-tab-panel[data-detail-panel="chat"]:not([hidden]) { display: flex; height: calc(100% - 46px); min-height: 550px; flex-direction: column; }
.crm-workspace-chat-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
.crm-workspace-chat-head form { margin: 0; }
.crm-workspace-chat { display: flex; min-height: 0; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 2px 2px 14px; overflow-y: auto; }
.crm-workspace-chat .crm-chat-message { width: auto; max-width: 89%; padding: 5px 0 5px 11px; border: 0; border-left: 2px solid var(--workspace-line); border-radius: 0; color: var(--workspace-ink); background: transparent; font-size: 11px; }
.crm-workspace-chat .crm-chat-outgoing { align-self: flex-end; padding: 5px 11px 5px 0; border: 0; border-right: 2px solid var(--workspace-dark); color: var(--workspace-ink); background: transparent; text-align: right; }
.crm-workspace-chat .crm-chat-outgoing .crm-chat-author,
.crm-workspace-chat .crm-chat-outgoing small { color: var(--workspace-secondary); opacity: 1; }
.crm-workspace-chat .crm-chat-action { align-self: center; padding: 5px 0; border: 0; color: var(--workspace-secondary); background: transparent; }
.crm-workspace-connect { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding: 7px 7px 7px 12px; border: 1px solid var(--workspace-line); border-radius: 10px; color: var(--workspace-secondary); background: var(--workspace-paper); font-size: 11px; }
.crm-workspace-connect[hidden] { display: none; }
.crm-workspace-connect button { min-height: 32px; padding: 0 10px; border: 1px solid var(--workspace-dark); border-radius: 7px; color: var(--workspace-paper); background: var(--workspace-dark); font-size: 11px; font-weight: 600; }
.crm-workspace-compose { position: relative; flex: 0 0 auto; margin-top: auto; padding-top: 12px; }
.crm-workspace-compose textarea { display: block; width: 100%; min-height: 46px; max-height: 220px; padding: 11px 50px 11px 12px; resize: none; overflow-y: hidden; border: 1px solid var(--workspace-line); border-radius: 9px; outline: 0; color: var(--workspace-ink); background: var(--workspace-paper); font-size: 12px; line-height: 1.45; }
.crm-workspace-compose textarea:focus { border-color: var(--workspace-secondary); }
.crm-workspace-compose > button { position: absolute; right: 8px; bottom: 7px; display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 7px; color: var(--workspace-paper); background: var(--workspace-dark); }
.crm-workspace-compose > button:hover { background: var(--workspace-secondary); }
.crm-workspace-compose .crm-field-error { position: absolute; top: 100%; left: 2px; }

.crm-workspace-process { min-width: 0; min-height: 0; overflow-y: auto; padding: 17px 17px 22px; background: var(--workspace-soft); }
.crm-workspace-process-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.crm-workspace-process-head h3 { margin: 0; font-size: 12px; font-weight: 600; }
.crm-workspace-process-head span { color: var(--workspace-secondary); font-size: 11px; }
.crm-workspace-progress { height: 4px; margin: 12px 0 18px; overflow: hidden; border-radius: 99px; background: #e6e6e2; }
.crm-workspace-progress span { display: block; height: 100%; background: var(--workspace-dark); transition: width 230ms ease; }
.crm-workspace-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.crm-workspace-steps::before { position: absolute; top: 10px; bottom: 19px; left: 11px; width: 1px; background: var(--workspace-line); content: ""; }
.crm-workspace-step { position: relative; min-height: 58px; padding: 0 0 17px 33px; }
.crm-workspace-step:last-child { min-height: 0; padding-bottom: 0; }
.crm-workspace-step-dot { position: absolute; z-index: 1; top: 0; left: 0; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #cfcfca; border-radius: 50%; color: var(--workspace-secondary); background: var(--workspace-paper); font-size: 11px; }
.crm-workspace-step.is-done .crm-workspace-step-dot { border-color: var(--workspace-dark); color: var(--workspace-paper); background: var(--workspace-dark); }
.crm-workspace-step.is-active { margin: -3px -7px 14px; padding: 10px 7px 12px 40px; border: 1px solid var(--workspace-line); border-radius: 9px; background: var(--workspace-paper); }
.crm-workspace-step.is-active .crm-workspace-step-dot { top: 10px; left: 7px; border: 2px solid var(--workspace-dark); color: var(--workspace-ink); }
.crm-workspace-step.is-future { opacity: .58; }
.crm-workspace-step.is-future.is-available { opacity: 1; }
.crm-workspace-step.is-assigned-early .crm-workspace-step-dot { border: 2px solid transparent; color: var(--workspace-ink); background: linear-gradient(var(--workspace-paper), var(--workspace-paper)) padding-box, conic-gradient(var(--workspace-dark) 0deg 180deg, var(--workspace-line) 180deg 360deg) border-box; }
.crm-workspace-step > strong { display: block; font-size: 11px; font-weight: 600; }
.crm-workspace-step p { margin: 4px 0 0; color: var(--workspace-secondary); font-size: 11px; }
.crm-workspace-step > small { display: block; margin-top: 5px; color: var(--workspace-tertiary); font-size: 11px; }
.crm-workspace-step-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crm-workspace-step-actions form { margin: 0; }
.crm-workspace-step-file { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; margin-top: 8px; }
.crm-workspace-step-file > span { display: grid; width: 28px; height: 31px; place-items: center; border-radius: 5px; color: var(--workspace-secondary); background: var(--workspace-selected); font-size: 8px; }
.crm-workspace-step-file b { overflow: hidden; color: var(--workspace-secondary); font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.crm-workspace-step-file button { min-height: 26px; padding: 0 7px; font-size: 10px; }

.crm-workspace-tab-panel .crm-document-card { border-color: var(--workspace-line); border-radius: 8px; background: var(--workspace-paper); }
.crm-workspace-tab-panel .crm-document-upload { border-color: var(--workspace-line); border-radius: 8px; background: var(--workspace-soft); }

@media (max-width: 900px) {
  .crm-workspace-app { width: calc(100% - 16px); height: auto; min-height: 0; overflow: visible; }
  .crm-workspace-layout { grid-template-columns: 1fr; }
  .crm-workspace-queue { min-height: 540px; }
  .crm-workspace-detail { min-height: 760px; }
}

@media (max-width: 620px) {
  .crm-brand > span:last-child { display: none; }
  .crm-workspace-detail-grid { grid-template-columns: 1fr; }
  .crm-workspace-content { border-right: 0; border-bottom: 1px solid var(--workspace-line); }
  .crm-workspace-fields,
  .crm-workspace-edit-form { grid-template-columns: 1fr; }
  .crm-workspace-fields .wide,
  .crm-workspace-edit-form .wide,
  .crm-workspace-edit-actions { grid-column: auto; }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f3;
}

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: none;
}

a {
  color: inherit;
}

.crm-shell {
  min-height: 100vh;
  background: #f5f5f3;
}

.crm-header {
  position: relative;
  z-index: 20;
  min-height: 56px;
  padding: 0 max(28px, calc((100% - var(--crm-container)) / 2));
  border-bottom: 1px solid #e4e4e1;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.crm-account {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.crm-account > a {
  color: #707070;
  text-decoration: none;
}

.crm-account > a:hover {
  color: #191919;
}

.crm-notifications {
  position: relative;
}

.crm-notifications summary {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: var(--crm-control-radius);
  display: grid;
  place-items: center;
  color: #6f6f6c;
  cursor: pointer;
  list-style: none;
}

.crm-notifications summary::-webkit-details-marker {
  display: none;
}

.crm-notifications summary:hover,
.crm-notifications[open] summary {
  color: #191919;
  background: #efefed;
}

.crm-notifications summary svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crm-notification-badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c83f34;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.crm-notification-menu {
  position: absolute;
  top: 41px;
  right: 0;
  width: min(340px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid #dededb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.14);
}

.crm-notification-menu > strong {
  display: block;
  padding: 8px 10px 10px;
  font-size: 12px;
  font-weight: 700;
}

.crm-notification-menu > a {
  padding: 10px;
  border-radius: 8px;
  display: block;
  color: #292929;
  text-decoration: none;
}

.crm-notification-menu > a:hover {
  background: #f5f5f3;
}

.crm-notification-menu span,
.crm-notification-menu small {
  display: block;
}

.crm-notification-menu span {
  font-size: 11px;
  font-weight: 650;
}

.crm-notification-menu small {
  margin-top: 4px;
  color: #858582;
  font-size: 9px;
  line-height: 1.4;
}

.crm-notification-menu p {
  margin: 0;
  padding: 18px 10px;
  color: #858582;
  text-align: center;
  font-size: 10px;
}

.crm-account form {
  margin: 0;
}

.crm-account button {
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  color: #707070;
  background: transparent;
  cursor: pointer;
}

.crm-account button:hover {
  color: #191919;
  background: transparent;
}

.crm-main {
  width: min(var(--crm-container), calc(100% - 56px));
  margin: 0 auto;
  padding: 38px 0 60px;
}

.crm-list-main {
  width: min(var(--crm-container), calc(100% - 56px));
}

.crm-main-narrow {
  width: min(820px, calc(100% - 48px));
}

.crm-inline-error {
  width: min(1080px, calc(100% - 56px));
  margin: 18px auto -24px;
  padding: 11px 14px;
  border: 1px solid #edcaca;
  border-radius: 10px;
  color: #ad2828;
  background: #fff1f1;
  font-size: 11px;
}

.crm-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
}

.crm-page-head h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.crm-page-head p {
  margin: 7px 0 0;
  color: #747474;
  font-size: 14px;
}

.crm-page-card {
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.03);
}

.crm-list-card {
  overflow: hidden;
}

.crm-list-top {
  padding: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.crm-list-filters {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(220px, 0.9fr) 88px auto;
  gap: 10px;
  align-items: center;
}

.crm-list-filters label {
  min-width: 0;
}

.crm-filter-status {
  position: relative;
}

.crm-filter-status::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 13px;
  color: #777774;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-55%);
}

.crm-list-filters input,
.crm-list-filters select {
  width: 100%;
  height: 40px;
  padding: 0 13px;
  border: 1px solid #dededb;
  border-radius: 10px;
  color: #191919;
  background: #fafaf9;
  font-size: 12px;
  font-weight: 500;
}

.crm-list-filters .crm-primary {
  min-height: 40px;
  border-radius: 10px;
  font-size: 12px;
}

.crm-list-filters input:focus,
.crm-list-filters select:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-list-filters select {
  padding-right: 36px;
  appearance: none;
}

.crm-filter-reset {
  padding: 8px 4px;
  color: #747474;
  text-decoration: none;
  font-size: 10px;
  white-space: nowrap;
}

.crm-filter-reset:hover {
  color: #191919;
}

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

.crm-secondary,
.crm-primary {
  min-height: var(--crm-control-height);
  padding: 0 11px;
  border: 1px solid #dededb;
  border-radius: var(--crm-control-radius);
  color: #191919;
  background: #fff;
  font-size: 11px;
}

.crm-secondary,
.crm-primary {
  cursor: pointer;
}

.crm-secondary:hover {
  background: #f5f5f3;
}

.crm-primary {
  border-color: #191919;
  background: #191919;
  color: #fff;
}

.crm-primary:hover {
  border-color: #303030;
  background: #303030;
}

.crm-list {
  border-top: 1px solid #e5e5e2;
  background: #fff;
}

.crm-row {
  position: relative;
  min-height: 68px;
  padding: 0 24px;
  border-top: 1px solid #eeeeeb;
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) 125px 82px minmax(150px, 1fr) 125px minmax(130px, 0.9fr);
  gap: 12px;
  align-items: center;
  color: #4b4b4b;
  text-decoration: none;
  font-size: 13px;
}

.crm-row:not(.crm-row-head):hover {
  background: #fafaf9;
}

.crm-row-free {
  background: #fffaf0;
  box-shadow: inset 3px 0 #e6b95c;
}

.crm-row-free:not(.crm-row-head):hover {
  background: #fff6e3;
}

.crm-row-hitbox {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.crm-owner-cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.crm-owner-other,
.crm-owner-unassigned {
  padding: 5px 8px;
  border-radius: 999px;
  color: #595652;
  background: #ecebe8;
  font-size: 10px;
  font-weight: 700;
}

.crm-owner-unassigned {
  color: #7b746c;
  background: #f1efec;
}

.crm-owner-current {
  padding: 5px 8px;
  border-radius: 999px;
  color: #176b3b;
  background: #dcf5e6;
  font-size: 10px;
  font-weight: 700;
}

.crm-owner-cell form {
  position: relative;
  z-index: 2;
  margin: 0;
}

.crm-small-button {
  width: auto;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 9px;
  white-space: nowrap;
}

.crm-row time {
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 7px;
  color: #625b54;
  background: #f2efeb;
  font-size: 10px;
  white-space: nowrap;
}

.crm-row-free .crm-row-received time {
  color: #84580f;
  background: #fff0c8;
}

.crm-empty-value {
  color: #aaa39c;
}

.crm-status {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  align-items: center;
  color: #5f5b56;
  background: #efefed;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
}

.crm-row-status {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

.crm-support-status {
  display: inline-flex;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  align-items: center;
  color: #9d251f;
  background: #ffd9d4;
  box-shadow: 0 0 0 2px rgba(218, 57, 45, 0.08);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.crm-support-status-large {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 10px;
}

.crm-contract-alert {
  display: inline-flex;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  align-items: center;
  color: #7d3f00;
  background: #ffd98d;
  box-shadow: 0 0 0 2px rgba(201, 123, 22, 0.12);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.crm-support-status[hidden],
[data-support-close][hidden] {
  display: none;
}

.crm-status-ready_for_review {
  color: #85580f;
  background: #ffedbf;
}

.crm-status-in_review,
.crm-status-in_progress {
  color: #285f9c;
  background: #e3effc;
}

.crm-status-correction_required,
.crm-status-resign_required,
.crm-status-conditions_disputed {
  color: #9b4039;
  background: #fbe5e2;
}

.crm-status-contract_ready,
.crm-status-waiting_signature,
.crm-status-contract_review,
.crm-status-export_pending {
  color: #6e548e;
  background: #eee7f6;
}

.crm-status-completed {
  color: #176b3b;
  background: #dcf5e6;
}

.crm-status-cancelled,
.crm-status-expired,
.crm-status-archived {
  color: #6f6b66;
  background: #e9e8e5;
}

.crm-row-head {
  min-height: 48px;
  border-top: 0;
  color: #9a9a9a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.crm-person-copy {
  min-width: 0;
}

.crm-person strong,
.crm-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-person strong {
  color: #191919;
  font-size: 14px;
  font-weight: 650;
}

.crm-empty {
  padding: 48px 18px;
  color: #91867c;
  text-align: center;
  font-size: 13px;
}

.crm-back {
  display: inline-block;
  margin-bottom: 18px;
  color: #707070;
  text-decoration: none;
  font-size: 12px;
}

.crm-back:hover {
  color: #191919;
}

.crm-detail-head {
  margin-bottom: 22px;
}

.crm-review-done {
  color: #147b40;
  font-size: 10px;
  font-weight: 600;
}

.crm-review-note,
.crm-muted {
  color: #7b7b7b;
  font-size: 11px;
}

.crm-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.crm-warning {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid #efcf87;
  border-radius: 12px;
  background: #fff5d8;
  display: grid;
  gap: 4px;
  color: #765600;
  font-size: 12px;
}

.crm-warning span {
  color: #8a6e20;
}

.crm-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.crm-section h2,
.crm-flow h2 {
  margin: 0 0 19px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.crm-section + .crm-section {
  margin-top: 18px;
}

.crm-content-card {
  padding: 20px;
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
}

.crm-card-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.crm-card-heading h2 {
  margin-bottom: 0;
}

.crm-inline-edit-toggle {
  min-height: 30px;
  padding: 0 9px;
  font-size: 9px;
}

.crm-document-card {
  padding: 12px;
  border: 1px solid #e1e1de;
  border-radius: 12px;
  background: #fafaf9;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.crm-document-card + .crm-document-card,
.crm-document-card + .crm-document-upload {
  margin-top: 9px;
}

.crm-pdf-mark {
  width: 34px;
  height: 40px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #454545;
  background: #ececea;
  font-size: 9px;
  font-weight: 600;
}

.crm-document-card strong,
.crm-document-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-document-card strong {
  font-size: 11px;
  font-weight: 550;
}

.crm-document-card small {
  margin-top: 5px;
  color: #93887e;
  font-size: 9px;
}

.crm-document-upload {
  padding: 16px;
  border: 1px dashed #d4d4d0;
  border-radius: 12px;
  background: #fafaf9;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.crm-document-upload label {
  font-size: 11px;
  font-weight: 550;
}

.crm-document-upload input {
  min-width: 0;
  color: #776c62;
  font-size: 10px;
}

.crm-modal-open {
  overflow: hidden;
}

.crm-document-modal[hidden] {
  display: none;
}

.crm-end-registration-modal[hidden] { display: none; }
.crm-end-registration-modal {
  position: fixed;
  z-index: 101;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(20, 20, 20, .38);
}
.crm-end-registration-panel {
  width: min(440px, 100%);
  padding: 24px;
  border: 1px solid #dfdfda;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(20, 20, 20, .2);
}
.crm-end-registration-panel h3 { margin: 0 0 10px; font-size: 17px; }
.crm-end-registration-panel p { margin: 0 0 18px; color: #656561; line-height: 1.5; }
.crm-end-registration-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.crm-end-registration-actions button { min-height: 34px; padding: 0 12px; border: 1px solid #dfdfda; border-radius: 8px; background: #fff; }
.crm-end-registration-actions form button { border-color: #20201f; background: #20201f; color: #fff; }
.crm-end-registration-actions form button.crm-danger-action { border-color: #8e3348; background: #8e3348; }
.crm-end-registration-actions form button.crm-danger-action:hover { border-color: #6f2436; background: #6f2436; }
.crm-end-registration-actions form button:disabled { opacity: .55; }

.crm-document-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 28px;
  background: rgba(20, 20, 20, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-document-modal-panel {
  width: min(940px, 100%);
  height: min(820px, calc(100vh - 56px));
  padding: 14px;
  border: 1px solid #d9d9d6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(20, 20, 20, 0.2);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.crm-document-modal-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.crm-document-modal-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.crm-document-modal-head button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #666;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.crm-document-modal-head button:hover {
  color: #191919;
  background: #f1f1ef;
}

.crm-document-modal iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #dfdfdc;
  border-radius: 10px;
  background: #f5f5f3;
}

.crm-conversation-list {
  display: grid;
  gap: 10px;
  max-height: 460px;
  margin-bottom: 18px;
  padding-right: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.crm-conversation-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.crm-conversation-heading h2 {
  margin-bottom: 4px;
}

.crm-conversation-heading p {
  margin: 0;
  color: #8a8a86;
  font-size: 10px;
}

.crm-conversation-heading form {
  margin: 0;
}

.crm-chat-message {
  width: min(78%, 560px);
  padding: 11px 13px;
  border: 1px solid #e1e1de;
  border-radius: 14px;
  background: #f4f4f2;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.5;
}

.crm-chat-author {
  display: block;
  margin-bottom: 4px;
  color: #6b6762;
  font-size: 9px;
  font-weight: 750;
}

.crm-chat-outgoing {
  justify-self: end;
  border-color: #d8d8d4;
  background: #eaeae7;
}

.crm-chat-action {
  width: auto;
  max-width: 78%;
  padding: 6px 10px;
  justify-self: center;
  border-color: #e4dfd8;
  border-radius: 999px;
  color: #74695f;
  background: #f7f4f0;
  text-align: center;
  font-size: 10px;
}

.crm-chat-action .crm-chat-author {
  display: none;
}

.crm-chat-message small,
.crm-chat-message > span {
  display: block;
  margin-top: 6px;
  color: #8e8379;
  font-size: 9px;
}

.crm-chat-message > span {
  color: #994f48;
}

.crm-message-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.crm-message-form label {
  grid-column: 1 / -1;
  color: #737373;
  font-size: 10px;
}

.crm-message-form textarea {
  width: 100%;
  min-height: 44px;
  max-height: 220px;
  padding: 10px 12px;
  border: 1px solid #dcdcd8;
  border-radius: 10px;
  color: #191919;
  background: #fff;
  overflow-y: hidden;
}

.crm-message-form textarea:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-edit-form {
  padding: 20px;
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.crm-edit-field {
  min-width: 0;
}

.crm-edit-field-wide,
.crm-edit-actions,
.crm-edit-form > .crm-form-error {
  grid-column: 1 / -1;
}

.crm-edit-field label {
  display: block;
  margin-bottom: 7px;
  color: #737373;
  font-size: 11px;
}

.crm-edit-field input,
.crm-edit-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #dcdcd8;
  border-radius: var(--crm-control-radius);
  color: #191919;
  background: #fff;
}

.crm-edit-field input:focus,
.crm-edit-field textarea:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-field-error {
  display: block;
  margin-top: 6px;
  color: #9a4b45;
  font-size: 10px;
}

.crm-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.crm-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  border-top: 1px solid #eeeeeb;
}

.crm-fields > div {
  min-width: 0;
  min-height: 64px;
  padding: 14px 0;
  border-bottom: 1px solid #eeeeeb;
  display: block;
}

.crm-fields label,
.crm-fields span {
  display: block;
}

.crm-fields label {
  margin: 0 0 10px;
  color: #a09d99;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crm-fields span {
  overflow-wrap: anywhere;
  color: #242424;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.crm-fields a {
  color: #725f4e;
}

.crm-field-wide {
  grid-column: 1 / -1;
}

.crm-field-box {
  min-height: auto !important;
  margin-top: 14px;
  padding: 17px 18px !important;
  border: 1px solid #e4e3e0 !important;
  border-radius: 13px;
  background: #fafaf9;
}

.crm-inline-edit-form {
  padding-top: 18px;
  border-top: 1px solid #eeeeeb;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.crm-inline-edit-form[hidden],
.crm-fields[hidden],
.crm-inline-edit-toggle[hidden] {
  display: none;
}

.crm-inline-field {
  min-width: 0;
}

.crm-inline-field label {
  display: block;
  margin-bottom: 7px;
  color: #77736f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-inline-field input,
.crm-inline-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #dcdcd8;
  border-radius: var(--crm-control-radius);
  color: #191919;
  background: #fff;
}

.crm-inline-field textarea {
  min-height: 88px;
}

.crm-inline-field input:focus,
.crm-inline-field textarea:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-inline-edit-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.crm-flow {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
}

.crm-flow-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #ececea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.crm-flow-head > div > span,
.crm-flow-head > div > strong {
  display: block;
}

.crm-flow-head > div > span {
  margin-bottom: 4px;
  color: #8a8a8a;
  font-size: 10px;
}

.crm-flow-head > div > strong {
  font-size: 12px;
  font-weight: 650;
}

.crm-progress-head {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crm-progress-head h2 {
  margin: 0;
}

.crm-progress-head > span {
  color: #747474;
  font-size: 11px;
}

.crm-progress {
  height: 7px;
  margin: 13px 0 24px;
  border-radius: 999px;
  background: #eeeeec;
  overflow: hidden;
}

.crm-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: #1b1b1b;
}

.crm-progress-contract_ready span {
  width: 40%;
}

.crm-progress-waiting_signature span,
.crm-progress-contract_review span,
.crm-progress-resign_required span {
  width: 60%;
}

.crm-progress-export_pending span {
  width: 80%;
}

.crm-progress-completed span {
  width: 100%;
}

.crm-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crm-steps::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 34px;
  left: 14px;
  width: 1px;
  background: #e0e0dd;
}

.crm-step {
  position: relative;
  min-height: 66px;
  padding: 5px 0 20px 44px;
  color: #8a8a8a;
}

.crm-step > span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 29px;
  height: 29px;
  border: 2px solid #d8d8d5;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #8b8b8b;
  font-size: 10px;
}

.crm-steps strong,
.crm-steps small {
  display: block;
}

.crm-steps strong {
  color: #444;
  font-size: 12px;
  font-weight: 600;
}

.crm-steps small {
  margin-top: 5px;
  font-size: 10px;
}

.crm-step-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-step-actions form {
  margin: 0;
}

.crm-step-file {
  min-width: 0;
  margin-top: 9px;
  padding: 7px;
  border: 1px solid #e2e2df;
  border-radius: 9px;
  background: #fafaf9;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.crm-step-file > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4f4f4f;
  font-size: 9px;
}

.crm-step-file .crm-pdf-mark {
  width: 27px;
  height: 32px;
  font-size: 7px;
}

.crm-contract-review-actions {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.crm-contract-review-actions form {
  margin: 0;
}

.crm-compact-action {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 9px;
  white-space: nowrap;
}

.crm-steps-ready_for_review .crm-step-2,
.crm-steps-in_review .crm-step-2,
.crm-steps-correction_required .crm-step-2,
.crm-steps-contract_ready .crm-step-3,
.crm-steps-waiting_signature .crm-step-4,
.crm-steps-contract_review .crm-step-4,
.crm-steps-resign_required .crm-step-4,
.crm-steps-export_pending .crm-step-5 {
  margin: 0 -8px 14px;
  padding: 13px 8px 14px 52px;
  border: 1px solid #e0e0dd;
  border-radius: 12px;
  background: #f8f8f6;
}

.crm-steps-ready_for_review .crm-step-2 > span,
.crm-steps-in_review .crm-step-2 > span,
.crm-steps-correction_required .crm-step-2 > span,
.crm-steps-contract_ready .crm-step-3 > span,
.crm-steps-waiting_signature .crm-step-4 > span,
.crm-steps-contract_review .crm-step-4 > span,
.crm-steps-resign_required .crm-step-4 > span,
.crm-steps-export_pending .crm-step-5 > span {
  top: 11px;
  left: 8px;
  border-color: #1b1b1b;
  color: #fff;
  background: #1b1b1b;
}

.crm-step-1 > span,
.crm-steps-contract_ready .crm-step-2 > span,
.crm-steps-waiting_signature .crm-step-2 > span,
.crm-steps-waiting_signature .crm-step-3 > span,
.crm-steps-contract_review .crm-step-2 > span,
.crm-steps-contract_review .crm-step-3 > span,
.crm-steps-resign_required .crm-step-2 > span,
.crm-steps-resign_required .crm-step-3 > span,
.crm-steps-export_pending .crm-step-2 > span,
.crm-steps-export_pending .crm-step-3 > span,
.crm-steps-export_pending .crm-step-4 > span,
.crm-steps-completed .crm-step > span {
  border-color: #1b1b1b;
  color: #fff;
  background: #1b1b1b;
}

.crm-step.completed > span {
  border-color: #168246;
  color: transparent;
  background: #d9f8e5;
}

.crm-step.completed > span::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #147b40;
  font-size: 13px;
  font-weight: 800;
}

.crm-step.celebrating > span::after {
  content: "✦";
  position: absolute;
  top: -11px;
  right: -10px;
  color: #f3b51b;
  font-size: 11px;
  text-shadow: -12px 3px #64bc7c, -4px -7px #ed776d, 5px 11px #75a7ed;
  animation: crm-salute 720ms ease-out both;
}

@keyframes crm-salute {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(-20deg);
  }
  35% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.55) rotate(18deg);
  }
}

.crm-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f3f3f2;
}

.crm-login-form {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
  box-shadow: 0 2px 5px rgba(24, 24, 24, 0.07);
  display: grid;
  gap: 14px;
}

.crm-login-form h1 {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.crm-login-heading {
  margin-bottom: 14px;
}

.crm-login-heading p {
  margin: 8px 0 0;
  color: #747474;
  font-size: 13px;
}

.crm-login-field {
  display: grid;
  gap: 7px;
  color: #666;
  font-size: 11px;
}

.crm-login-form input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dcdcd9;
  border-radius: var(--crm-control-radius);
  background: #fff;
}

.crm-login-form input:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-login-submit {
  min-height: 40px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
}

.crm-form-error {
  padding: 10px 12px;
  border-radius: 10px;
  color: #b52a2a;
  background: #fdeaea;
  font-size: 11px;
}

.crm-management-main {
  width: min(760px, calc(100% - 56px));
}

.crm-management-main.crm-statistics-main {
  width: min(1200px, calc(100% - 56px));
}

.crm-statistics-main .crm-management-tabs {
  margin-bottom: 12px;
}

.crm-statistics {
  color: #191919;
}

.crm-statistics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
}

.crm-statistics-heading h1 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -.025em;
}

.crm-statistics-heading p,
.crm-statistics-note {
  color: #70706e;
  font-size: 12px;
}

.crm-statistics-heading p {
  margin: 5px 0 0;
}

.crm-statistics-periods {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid #e5e5e2;
  border-radius: 9px;
  background: #fafaf9;
}

.crm-statistics-periods button {
  border: 0;
  border-radius: 7px;
  padding: 6px 11px;
  background: transparent;
  color: #70706e;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.crm-statistics-periods button:hover,
.crm-statistics-periods button[aria-pressed="true"] {
  color: #fff;
  background: #191919;
  box-shadow: none;
}

.crm-statistics-panel {
  min-width: 0;
  border: 1px solid #e5e5e2;
  border-radius: 14px;
  padding: 18px 20px;
  background: #fff;
}

.crm-statistics-panel h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.crm-statistics-trend-legend,
.crm-statistics-trend-legend span {
  display: flex;
  align-items: center;
}

.crm-statistics-trend-legend {
  gap: 12px;
  color: #70706e;
  font-size: 10px;
  white-space: nowrap;
}

.crm-statistics-trend-legend span {
  gap: 5px;
}

.crm-statistics-trend-key {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #b8b8b5;
}

.crm-statistics-trend-key.completed {
  background: #191919;
}

.crm-statistics-trend {
  display: flex;
  height: 124px;
  gap: 4px;
}

.crm-statistics-trend-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.crm-statistics-trend-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 100%;
  border-bottom: 1px solid #dededb;
}

.crm-statistics-trend-bar {
  flex: 1 1 0;
  max-width: 13px;
  min-width: 2px;
  border-radius: 3px 3px 0 0;
  background: #b8b8b5;
  transition: height 280ms ease;
}

.crm-statistics-trend-bar.completed {
  background: #191919;
}

.crm-statistics-trend-label {
  overflow: hidden;
  padding-top: 5px;
  color: #777773;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .crm-statistics-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .crm-statistics-panel { padding: 14px; }
  .crm-statistics-periods { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .crm-statistics-trend-bar { transition: none; }
}

.crm-statistics-summary {
  margin-bottom: 14px;
}

.crm-statistics-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.crm-statistics-card-heading > span,
.crm-statistics-card-heading > div {
  color: #70706e;
  font-size: 11px;
}

.crm-statistics-summary-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.crm-statistics-summary-step {
  min-width: 0;
}

.crm-statistics-summary-step > div,
.crm-statistics-stage > div,
.crm-statistics-difficulty > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.crm-statistics-summary-step > div > span,
.crm-statistics-stage > div > span,
.crm-statistics-difficulty > div > span {
  min-width: 0;
  overflow: hidden;
  color: #70706e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-statistics-summary-step strong,
.crm-statistics-stage strong,
.crm-statistics-difficulty strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.crm-statistics-track {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #ededeb;
}

.crm-statistics-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #191919;
  transition: width 220ms ease;
}

.crm-statistics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.crm-statistics-overview {
  grid-template-areas: "stages trend" "difficulties trend";
}

.crm-statistics-funnel-panel {
  grid-area: stages;
}

.crm-statistics-trend-panel {
  grid-area: trend;
  display: flex;
  flex-direction: column;
}

.crm-statistics-trend-panel .crm-statistics-trend,
.crm-statistics-trend-panel .crm-statistics-empty {
  flex: 1;
}

.crm-statistics-difficulties {
  grid-area: difficulties;
}

.crm-statistics-difficulties .crm-statistics-card-heading {
  flex-wrap: wrap;
  gap: 6px;
}

.crm-statistics-difficulties .crm-statistics-card-heading > span {
  flex-basis: 100%;
}

.crm-statistics-people > .crm-statistics-panel {
  min-height: 280px;
}

.crm-statistics-stage-list {
  display: grid;
  gap: 9px;
}

.crm-statistics-stage {
  display: block;
  min-height: 0;
  border: 0;
}

.crm-statistics-stage > div {
  margin-bottom: 5px;
}

.crm-statistics-stage .crm-statistics-track {
  height: 4px;
}

.crm-statistics-note {
  margin: -8px 0 12px;
}

.crm-statistics-trend {
  height: 250px;
  gap: 8px;
}

.crm-statistics-trend-bars {
  gap: 4px;
}

.crm-statistics-trend-bar {
  max-width: 15px;
  border-radius: 3px 3px 0 0;
}

.crm-statistics-empty {
  display: grid;
  min-height: 250px;
  margin: 0;
  place-items: center;
  color: #90908b;
  font-size: 12px;
}

.crm-statistics-empty[hidden],
.crm-statistics-trend[hidden] {
  display: none;
}

.crm-statistics-people-head,
.crm-statistics-person-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 72px 48px;
  align-items: center;
  gap: 7px;
}

.crm-statistics-people-head {
  padding-bottom: 9px;
  border-bottom: 1px solid #e5e5e2;
  color: #70706e;
  font-size: 11px;
}

.crm-statistics-people-head > :not(:first-child),
.crm-statistics-person-main > :not(:first-child) {
  text-align: right;
}

.crm-statistics-person {
  padding: 12px 0 10px;
  border-bottom: 1px solid #e5e5e2;
}

.crm-statistics-person:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.crm-statistics-person-main {
  margin-bottom: 9px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.crm-statistics-person-main strong {
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-statistics-person-main small {
  color: #70706e;
  font-size: 10px;
  font-weight: 400;
}

.crm-statistics-people-empty {
  margin: 24px 0 0;
  color: #90908b;
  font-size: 12px;
  text-align: center;
}

.crm-statistics-difficulty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.crm-statistics-difficulty .crm-statistics-track {
  height: 5px;
}

@media (max-width: 760px) {
  .crm-management-main.crm-statistics-main {
    width: calc(100% - 28px);
  }
  .crm-statistics-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .crm-statistics-overview {
    grid-template-areas: "stages" "difficulties" "trend";
  }
  .crm-statistics-overview > .crm-statistics-panel,
  .crm-statistics-people > .crm-statistics-panel {
    min-height: 0;
  }
  .crm-statistics-summary-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .crm-statistics-difficulty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .crm-statistics-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .crm-statistics-people-head,
  .crm-statistics-person-main {
    grid-template-columns: minmax(0, 1fr) 42px 58px 42px;
    gap: 4px;
  }
  .crm-statistics-trend {
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-statistics-track > span {
    transition: none;
  }
}

.crm-management-tabs {
  margin: 12px 0 18px;
  padding: 0 8px;
  border-bottom: 1px solid #dededb;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 7vw, 64px);
}

.crm-management-tabs a {
  position: relative;
  padding: 11px 5px 13px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.crm-management-tabs a:hover,
.crm-management-tabs a.active {
  color: #191919;
}

.crm-management-tabs a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #191919;
}

.crm-management-panel {
  padding: 20px;
  border: 1px solid #dededb;
  border-radius: var(--crm-panel-radius);
  background: #fff;
}

.crm-management-empty {
  min-height: min(55vh, 480px);
  display: grid;
  place-items: center;
  color: #777;
  font-size: 18px;
  text-align: center;
}

.crm-management-title h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.crm-management-title p {
  margin: 7px 0 0;
  color: #777;
  font-size: 12px;
}

.crm-compact-form {
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #e1e1de;
  border-radius: 12px;
  background: #fafaf9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.crm-compact-form label {
  color: #666;
  font-size: 10px;
}

.crm-compact-form input {
  width: 100%;
  min-height: var(--crm-control-height);
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #dcdcd8;
  border-radius: var(--crm-control-radius);
  color: #191919;
  background: #fff;
}

.crm-compact-form input:focus {
  border-color: #8f8f8a;
  outline: 3px solid #eeeeeb;
}

.crm-compact-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.crm-compact-form input[type="number"]::-webkit-inner-spin-button,
.crm-compact-form input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.crm-compact-form button {
  grid-column: 1 / -1;
}

.crm-management-list {
  border-top: 1px solid #e5e5e2;
}

.crm-management-list article {
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeeeb;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.crm-admins-panel .crm-management-title + .crm-management-list {
  margin-top: 18px;
}

.crm-admins-panel .crm-management-list article {
  align-items: baseline;
}

.crm-management-list strong,
.crm-management-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-management-list strong {
  color: #191919;
  font-size: 12px;
  font-weight: 650;
}

.crm-management-list small {
  margin-top: 5px;
  color: #858585;
  font-size: 9px;
}

.crm-management-list form {
  margin: 0;
}

.crm-management-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.crm-management-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 10px;
}

.crm-danger-button {
  border: 1px solid #efcdcd;
  color: #b22b2b;
  background: #fff;
  cursor: pointer;
}

.crm-danger-button:hover {
  background: #fff1f1;
}

.crm-access-state {
  color: #b22b2b;
  font-size: 9px;
}

.crm-access-state.active {
  color: #147b40;
}

.crm-confirm-backdrop[hidden] {
  display: none;
}

.crm-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(25, 25, 25, .42);
}

.crm-confirm-dialog {
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid #dededb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 25, 25, .14);
}

.crm-confirm-dialog h2 {
  margin: 0;
  font-size: 17px;
}

.crm-confirm-dialog p {
  margin: 14px 0 22px;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.crm-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 820px) {
  .crm-main {
    width: min(100% - 28px, 1080px);
    padding-top: 28px;
  }

  .crm-list-top {
    padding: 26px 24px 22px;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .crm-list-filters {
    width: 100%;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) 88px auto;
  }

  .crm-detail-grid {
    grid-template-columns: 1fr;
  }

  .crm-row {
    min-width: 920px;
  }

  .crm-list {
    overflow-x: auto;
  }

  .crm-flow {
    position: static;
    padding: 22px;
  }

}

@media (max-width: 520px) {
  .crm-header {
    padding: 0 14px;
  }

  .crm-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-page-head h1 {
    font-size: 28px;
  }

  .crm-list-filters {
    grid-template-columns: 1fr 1fr;
  }

  .crm-list-filters .crm-filter-search {
    grid-column: 1 / -1;
  }

  .crm-list-filters .crm-filter-reset {
    text-align: center;
  }

  .crm-row {
    grid-template-columns: minmax(135px, 1fr) 118px;
    padding: 0 16px;
  }

  .crm-row-head {
    min-height: 44px;
  }

  .crm-row-updated {
    display: none;
  }

  .crm-message-form {
    grid-template-columns: 1fr;
  }

  .crm-message-form .crm-primary {
    width: 100%;
  }

  .crm-fields {
    grid-template-columns: 1fr;
  }

  .crm-fields > div {
    min-height: auto;
  }

  .crm-inline-edit-form {
    grid-template-columns: 1fr;
  }

  .crm-inline-edit-form .crm-field-wide,
  .crm-inline-edit-actions {
    grid-column: auto;
  }

  .crm-edit-actions .crm-primary,
  .crm-edit-actions .crm-secondary {
    width: 100%;
  }

  .crm-content-card {
    padding: 20px;
  }

  .crm-flow {
    padding: 18px;
  }

  .crm-login-form {
    padding: 32px 24px;
  }

  .crm-edit-form {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .crm-edit-field-wide,
  .crm-edit-actions,
  .crm-edit-form > .crm-form-error {
    grid-column: auto;
  }

  .crm-edit-actions {
    flex-direction: column-reverse;
  }

  .crm-compact-form {
    grid-template-columns: 1fr;
  }

  .crm-management-list article {
    grid-template-columns: 1fr;
  }

  .crm-management-tabs {
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
  }

  .crm-management-panel {
    padding: 20px;
  }

  .crm-management-actions {
    justify-content: flex-start;
  }

  .crm-document-card,
  .crm-document-upload {
    grid-template-columns: 1fr;
  }

  .crm-document-card .crm-secondary,
  .crm-document-upload .crm-secondary {
    width: 100%;
  }

  .crm-field-wide {
    grid-column: auto;
  }
}

/* Эти правила должны оставаться последними: старые страницы используют тот же header. */
.crm-header {
  min-height: 58px;
  padding: 0 20px;
  border-bottom-color: #dfdfda;
  background: #fff;
  justify-content: space-between;
}

.crm-workspace-process .crm-inline-error {
  width: auto;
  margin: 0 0 12px;
  padding: 9px 10px;
  font-size: 10px;
}

/* Короткий монохромный салют после успешного завершения этапа. */
.crm-workspace-step.celebrating .crm-workspace-step-dot {
  animation: crm-workspace-step-pulse 650ms ease-out both;
}

.crm-workspace-step.celebrating .crm-workspace-step-dot::before,
.crm-workspace-step.celebrating .crm-workspace-step-dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #171716;
  content: "";
  pointer-events: none;
}

.crm-workspace-step.celebrating .crm-workspace-step-dot::before {
  animation: crm-workspace-confetti-a 850ms ease-out both;
}

.crm-workspace-step.celebrating .crm-workspace-step-dot::after {
  animation: crm-workspace-confetti-b 850ms ease-out 70ms both;
}

@keyframes crm-workspace-step-pulse {
  0% { transform: scale(.75); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@keyframes crm-workspace-confetti-a {
  0% { opacity: 1; box-shadow: 0 0 #171716, 0 0 #777772, 0 0 #171716, 0 0 #777772; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; box-shadow: 20px -17px #171716, -21px -14px #777772, 23px 13px #171716, -18px 18px #777772; transform: translate(-50%, -50%) scale(.5); }
}

@keyframes crm-workspace-confetti-b {
  0% { opacity: 1; box-shadow: 0 0 #a5a5a0, 0 0 #171716, 0 0 #a5a5a0, 0 0 #171716; transform: translate(-50%, -50%) rotate(45deg) scale(1); }
  100% { opacity: 0; box-shadow: 4px -25px #a5a5a0, -26px 2px #171716, 5px 25px #a5a5a0, 26px -2px #171716; transform: translate(-50%, -50%) rotate(45deg) scale(.5); }
}

@media (prefers-reduced-motion: reduce) {
  .crm-workspace-step.celebrating .crm-workspace-step-dot,
  .crm-workspace-step.celebrating .crm-workspace-step-dot::before,
  .crm-workspace-step.celebrating .crm-workspace-step-dot::after {
    animation: none;
  }
}
