@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-cyr.woff2?v=1) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-lat.woff2?v=1) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgb(41 124 231) rgb(26 137 204 / 35%);
}
html {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #d1d9e6;
  min-height: 100vh;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  background:
    linear-gradient(135deg, rgba(15, 53, 95, 0.92), rgba(4, 47, 92, 0.92)),
    url(bg.webp?v=1) no-repeat center center fixed;
  background-size: cover;
  background-color: #0b2f57;
}
input,
select,
textarea,
button {
  font-family: inherit;
  text-shadow: none;
}
a {
  color: #8dbcff;
  text-decoration: none;
}
a:hover {
  color: #b9d6ff;
}
::-webkit-scrollbar {
  width: 12px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(3, 36, 250, 0.05);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: rgba(74, 143, 232, 0.35);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 143, 232, 0.55);
}
.ico {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  flex: none;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 40px;
}
.logo:hover {
  background: rgba(255, 255, 255, 0.1);
}
.logo img {
  height: 22px;
  display: block;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topnav a,
.pill-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: #d1d9e6;
  background: rgba(74, 143, 232, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 13px;
}
.topnav a:hover {
  background: rgba(74, 143, 232, 0.35);
  color: #fff;
}
.topnav a.on {
  background: rgba(74, 143, 232, 0.45);
  color: #fff;
  border-color: rgba(90, 155, 255, 0.6);
}
.pill-user {
  background: rgba(255, 255, 255, 0.08);
}
.wrap {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 24px 30px;
}
h1,
.page-title {
  text-align: center;
  color: #e0e7f5;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 6px 0 24px;
  line-height: 1.25;
}
h2 {
  text-align: center;
  color: #e0e7f5;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
}
h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e0e7f5;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
}
.card {
  position: relative;
  background: rgba(30, 68, 109, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin-bottom: 24px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 38%,
    rgba(255, 255, 255, 0) 39%,
    rgba(255, 255, 255, 0.03) 70%,
    rgba(255, 255, 255, 0) 100%
  );
}
.card > * {
  position: relative;
}
.card > :last-child {
  margin-bottom: 0;
}
.card.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.card.filter-card {
  background: linear-gradient(
    135deg,
    rgba(36, 84, 138, 0.9),
    rgba(20, 58, 101, 0.9)
  );
}
.muted {
  color: #a3b1c6;
}
.tbl {
  overflow-x: auto;
  margin: 0 -4px;
  padding: 0 4px 6px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
}
th,
td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 10px;
  text-align: center;
  vertical-align: middle;
}
th {
  font-weight: 600;
  font-size: 13px;
  color: #e0e7f5;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 10px;
}
tr:first-child th {
  border-top-color: rgba(255, 255, 255, 0.22);
}
tbody tr:hover td,
table tr:hover td {
  background-color: rgba(255, 255, 255, 0.07);
}
td.long,
.long {
  max-width: 450px;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}
#dealtable td:nth-child(2) {
  text-align: left;
  min-width: 180px;
}
form.filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 12px 22px;
  align-items: center;
  margin: 0;
}
form.filters label {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #d1d9e6;
}
form.filters .actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}
form.filters .actions .btn {
  min-width: 220px;
}
form.filters.mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
form.filters.mini label {
  grid-template-columns: auto minmax(180px, 260px);
}
input[type="text"],
input[type="password"],
input[type="date"],
input:not([type]),
select {
  height: 32px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d9e6;
  font-size: 13px;
  width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
select {
  padding-right: 26px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="rgba(209, 217, 230, 0.7)" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 16px;
}
select option {
  background: #1e446d;
  color: #d1d9e6;
}
input:hover,
select:hover {
  box-shadow: 0 2px 8px rgba(74, 143, 232, 0.3);
}
input:focus,
select:focus {
  outline: none;
  border-color: #5a9bff;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(74, 143, 232, 0.35);
}
input::placeholder {
  color: rgba(209, 217, 230, 0.5);
}
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #4a8fe8;
}
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #d1d9e6;
  background: rgba(74, 143, 232, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.btn:hover,
button:hover {
  background: rgba(74, 143, 232, 0.45);
  color: #fff;
}
.btn.green {
  background: rgba(46, 160, 67, 0.35);
}
.btn.green:hover {
  background: rgba(46, 160, 67, 0.55);
}
.btn.red {
  background: rgba(220, 70, 70, 0.3);
}
.hdr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px;
}
.hdr-links a,
.navdeals a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  color: #d1d9e6;
  background: rgba(74, 143, 232, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.hdr-links a:hover,
.navdeals a:hover {
  background: rgba(74, 143, 232, 0.42);
  color: #fff;
}
.navdeals {
  display: inline-flex;
  gap: 10px;
}
.info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 24px;
  margin: 0;
}
.info > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info > div > span:first-child {
  color: #a3b1c6;
}
.info > div > span:last-child {
  text-align: right;
  font-weight: 500;
}
.info > div.wide {
  grid-column: 1 / -1;
}
.auto,
.manual {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  padding: 2px 9px;
  border-radius: 40px;
  white-space: nowrap;
  text-shadow: none;
  border: 1px solid transparent;
}
.auto {
  background: rgba(155, 120, 255, 0.22);
  color: #d6c9ff;
  border-color: rgba(155, 120, 255, 0.35);
}
.manual {
  background: rgba(255, 255, 255, 0.1);
  color: #d5dde9;
  border-color: rgba(255, 255, 255, 0.25);
}
span.st-nca,
span.st-won,
span.st-doc {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 40px;
  text-shadow: none;
}
.st-nca {
  background: rgba(255, 90, 90, 0.22);
  color: #ffd0d0;
}
.st-won {
  background: rgba(60, 200, 110, 0.22);
  color: #c6f5d6;
}
.st-doc {
  background: rgba(74, 143, 232, 0.3);
  color: #d3e5ff;
}
td.st-nca {
  box-shadow: inset 3px 0 0 rgba(255, 90, 90, 0.8);
}
td.st-won {
  box-shadow: inset 3px 0 0 rgba(60, 200, 110, 0.8);
}
td.st-doc {
  box-shadow: inset 3px 0 0 rgba(90, 155, 255, 0.9);
}
tr.stage td {
  background-color: rgba(60, 200, 110, 0.08);
}
tr.comment td {
  background-color: rgba(255, 210, 80, 0.08);
}
tr.activity td {
  background-color: rgba(90, 155, 255, 0.1);
}
tr.chg td {
  background-color: rgba(255, 210, 80, 0.12);
}
tr.grp td {
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}
.old {
  color: #ffaaaa;
}
.new {
  color: #9fe8b4;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  color: #a3b1c6;
}
.pager .pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(74, 143, 232, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d9e6;
}
.pager a.pg:hover {
  background: rgba(74, 143, 232, 0.4);
  color: #fff;
}
.pager .pg.on {
  background: #2f7de1;
  border-color: #5a9bff;
  color: #fff;
  border-radius: 50%;
}
.pager .sum {
  margin-right: 6px;
}
details {
  margin: 0 0 14px;
}
summary {
  cursor: pointer;
  color: #8dbcff;
  margin: 4px 0 10px;
}
.cols {
  margin: 0 0 14px;
}
.cols label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 6px 4px 0;
  padding: 4px 12px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.rel,
.tl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 6px 0 4px;
}
.tl {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding: 4px 2px 10px;
}
.rel a,
.rel span,
.pt {
  flex: none;
  display: inline-block;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d1d9e6;
  font-size: 12.5px;
  text-align: left;
}
.rel a:hover,
.pt:hover {
  background: rgba(74, 143, 232, 0.3);
  color: #fff;
}
.rel .cur,
.pt.sel {
  background: rgba(47, 125, 225, 0.75);
  border-color: #5a9bff;
  color: #fff;
}
.pt small,
.rel small {
  color: #a3b1c6;
}
.pt.sel small {
  color: #e0ecff;
}
.pt.cmp {
  border: 2px solid #5a9bff;
}
.box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 14px 0 0;
  text-align: center;
}
.copy-note {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 20px;
  text-align: center;
}
.path {
  text-align: center;
  line-height: 2.1;
  margin: 0 0 12px;
}
.path .arrow {
  color: #a3b1c6;
  margin: 0 4px;
}
.note {
  text-align: center;
  margin: 0 0 12px;
}
.snap-head {
  text-align: center;
  margin: 0 0 14px;
}
.snap-head form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.snap-head select {
  width: auto;
}
.compare td {
  width: 33%;
}
.snap td:first-child,
.compare td:first-child {
  text-align: left;
}
#journal {
  scroll-margin-top: 12px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px 26px;
  color: #a3b1c6;
  font-size: 12px;
}
.foot img {
  height: 18px;
  opacity: 0.85;
}
@media (max-width: 760px) {
  .topbar {
    padding: 12px;
    flex-direction: column;
  }
  .wrap {
    padding: 0 10px 20px;
  }
  form.filters {
    grid-template-columns: 1fr;
  }
  form.filters label {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  h1,
  .page-title {
    font-size: 22px;
  }
}
span.st-none {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: none;
}
.story td {
  text-align: left;
  vertical-align: top;
}
.story td.when {
  width: 150px;
  white-space: nowrap;
}
.story td.who {
  width: 230px;
}
.story td.aid {
  width: 260px;
}
.story td.what div + div {
  margin-top: 4px;
}
.story tr.stage td,
.story tr.comment td,
.story tr.activity td {
  border-left-width: 1px;
}
.story b {
  color: #eef3fb;
  font-weight: 600;
}
details.robot {
  margin: 6px 0 0;
}
details.robot summary {
  margin: 0;
  font-size: 12px;
}
details.robot div {
  margin-top: 3px;
}
details.full {
  margin: 16px 0 0;
}
details.full summary {
  text-align: center;
}
.pager .pg.off {
  opacity: 0.4;
}
.pager .dots {
  color: #a3b1c6;
}
.cols summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(74, 143, 232, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d9e6;
  margin: 0;
}
.cols-box {
  background: rgba(10, 35, 66, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.cols-box > input {
  margin-bottom: 10px;
  max-width: 420px;
}
.cols-group {
  margin-bottom: 8px;
}
.cols-title {
  font-weight: 600;
  color: #e0e7f5;
  margin: 4px 0 4px;
}
.cols label small {
  font-size: 10.5px;
}
.cols label[hidden],
.cols-group[hidden] {
  display: none;
}
.topnav form {
  margin: 0;
}
.btn-out {
  height: auto;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  background: rgba(30, 68, 109, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.btn-out .ico {
  width: 18px;
  height: 18px;
}
.btn-out:hover {
  background: rgba(200, 35, 51, 0.67);
  color: #fff;
}
.pill-user {
  background: rgba(30, 68, 109, 0.85);
  backdrop-filter: blur(8px);
}
.foot span {
  text-align: right;
  line-height: 1.6;
}
body.login-page {
  display: flex;
  flex-direction: column;
}
body.login-page .login-wrap {
  flex: 1 0 auto;
  width: 100%;
}
.login-card button .ico {
  width: 17px;
  height: 17px;
}
.login-wrap {
  max-width: 420px;
  margin: 9vh auto 40px;
  padding: 0 16px;
}
.login-card {
  padding: 26px 28px 28px;
}
.login-card h3 {
  text-align: center;
  margin: 0 0 18px;
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #a3b1c6;
  font-size: 13px;
}
.login-card input {
  height: 36px;
  width: 100%;
  box-sizing: border-box;
}
.login-card button {
  height: 38px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}
.login-err {
  background: rgba(224, 82, 82, 0.2);
  border: 1px solid rgba(224, 82, 82, 0.45);
  color: #ffd4d4;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  text-align: center;
}
.login-note {
  text-align: center;
  color: #a3b1c6;
  font-size: 12px;
  margin-top: 16px;
}
.cols-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  max-width: 620px;
}
.cols-box .cols-tools > input {
  margin: 0;
  max-width: none;
  flex: 1;
}
.cols-tools .btn {
  height: 32px;
  padding: 0 14px;
  white-space: nowrap;
  flex: none;
}
.scroll-hint {
  text-align: center;
  margin: 4px 0 8px;
}
.tbl-wrap {
  position: relative;
}
.tbl-scroll {
  max-height: calc(100vh - 110px);
  overflow: auto;
  margin: 0;
  padding: 0 0 4px;
  border-radius: 8px;
  scrollbar-width: auto;
  scrollbar-color: rgba(74, 143, 232, 0.85) rgba(26, 137, 204, 0.18);
}
.tbl-scroll::-webkit-scrollbar {
  height: 12px;
  width: 10px;
}
.tbl-scroll::-webkit-scrollbar-track {
  background: rgba(26, 137, 204, 0.18);
  border-radius: 6px;
}
.tbl-scroll::-webkit-scrollbar-thumb {
  background: rgba(74, 143, 232, 0.85);
  border-radius: 6px;
  border: 2px solid rgba(15, 53, 95, 0.4);
}
.tbl-scroll::-webkit-scrollbar-thumb:hover {
  background: #5a9bff;
}
#dealtable {
  border-collapse: separate;
  border-spacing: 0;
}
#dealtable th,
#dealtable td {
  border-width: 0 1px 1px 0;
}
#dealtable tr:first-child th {
  border-top-width: 1px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #24507f;
}
#dealtable th:first-child,
#dealtable td:first-child {
  border-left-width: 1px;
}
#dealtable tr {
  --tint: rgba(0, 0, 0, 0);
}
#dealtable tr:hover {
  --tint: rgba(255, 255, 255, 0.07);
}
#dealtable td.pin {
  position: sticky;
  z-index: 1;
  background: linear-gradient(var(--tint), var(--tint)), #1d436c;
}
#dealtable .pin1 {
  left: 0;
  min-width: 96px;
}
#dealtable .pin2 {
  left: var(--pin1, 96px);
  min-width: 180px;
  max-width: 260px;
  text-align: left;
}
#dealtable tr:first-child th.pin {
  z-index: 3;
}
.shifted #dealtable .pin2 {
  box-shadow: 6px 0 10px -4px rgba(0, 0, 0, 0.45);
}
.ear {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border-radius: 50%;
  background: rgba(30, 68, 109, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  color: #fff;
  opacity: 0.75;
  backdrop-filter: blur(4px);
}
.ear:hover {
  opacity: 1;
  background: rgba(74, 143, 232, 0.6);
}
.ear .ico {
  width: 24px;
  height: 24px;
}
.ear-l {
  left: 8px;
}
.ear-r {
  right: 8px;
}
.ear[hidden] {
  display: none;
}
.ss {
  position: relative;
  width: 100%;
  min-width: 0;
}
.ss-btn {
  width: 100%;
  height: 32px;
  justify-content: flex-start;
  padding: 4px 30px 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d1d9e6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  font-weight: 400;
  text-shadow: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  text-align: left;
  line-height: 22px;
}
.ss-btn:hover,
.ss.on .ss-btn {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(74, 143, 232, 0.3);
}
.ss.on .ss-btn {
  border-color: rgba(90, 155, 255, 0.7);
}
.ss-drop {
  display: none;
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: 36px;
  min-width: 260px;
  background: #1c4472;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 8px;
}
.ss.on .ss-drop {
  display: block;
}
.ss-drop input.ss-q {
  margin-bottom: 6px;
}
.ss-list {
  max-height: 280px;
  overflow-y: auto;
}
.ss-opt {
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: none;
}
.ss-opt[hidden] {
  display: none;
}
.ss-opt:hover,
.ss-opt.hl {
  background: rgba(74, 143, 232, 0.4);
  color: #fff;
}
.ss-opt.sel {
  color: #9cc4ff;
  font-weight: 600;
}
.ss-empty {
  padding: 8px 10px;
  color: #a3b1c6;
  font-size: 12.5px;
}
.ss-empty[hidden] {
  display: none;
}
.card.filter-card,
.card.has-ss {
  overflow: visible;
  z-index: 3;
}
.card.filter-card {
  z-index: 10;
}
.card::before {
  border-radius: inherit;
}
.cmp-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
}
.cmp-tools input[type="text"] {
  max-width: 280px;
}
.cmp-tools label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}
table.compare td:first-child {
  text-align: left;
}
table.compare tr.same td {
  color: #a3b1c6;
}
table.compare tr[hidden] {
  display: none;
}
.loading {
  position: relative;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s;
}
.loading::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #5a9bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn.sm {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  margin-left: 8px;
  box-shadow: none;
}
.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.rel a.cur {
  background: rgba(47, 125, 225, 0.75);
  border-color: #5a9bff;
  color: #fff;
}
.rel a.cur small {
  color: #e0ecff;
}
.pt.sel {
  box-shadow: 0 0 0 2px rgba(90, 155, 255, 0.5);
}
.path span small {
  font-size: 11px;
  opacity: 0.85;
}
.path span[title] {
  cursor: help;
}
.cols-box {
  padding-bottom: 0;
  margin-top: 12px;
}
.cols-title {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 6px;
  height: auto;
  padding: 6px 8px;
  margin: 2px 0 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-weight: 600;
  color: #e0e7f5;
  text-align: left;
}
.cols-title:hover {
  background: rgba(74, 143, 232, 0.2);
}
.cols-title .chev {
  display: inline-block;
  transition: transform 0.15s;
}
.cols-group.closed .chev {
  transform: rotate(-90deg);
}
.cols-group.closed .cols-items {
  display: none;
}
.cols-group.closed.found .cols-items {
  display: block;
}
.cols-group.closed.found .chev {
  transform: none;
}
.cols-items {
  padding: 2px 0 6px;
}
.cols-bar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 6px -12px 0;
  padding: 10px 12px;
  background: #173a62;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 0 10px 10px;
}
.cols-bar #colcount {
  margin-right: auto;
  color: #a3b1c6;
  font-size: 13px;
}
.cols-bar .btn {
  height: 32px;
  min-width: 120px;
}
#dealtable th,
#dealtable td {
  min-width: 110px;
}
#dealtable th.pin1,
#dealtable td.pin1 {
  min-width: 96px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 4px 0 12px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
.tile .tl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #a3b1c6;
  text-transform: none;
  letter-spacing: 0.01em;
}
.tile .tl .ico {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.tile .tv {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  overflow-wrap: anywhere;
}
.tile .tv .tv-text {
  font-size: 14px;
  font-weight: 400;
}
.tile .ts {
  font-size: 12px;
  color: #c3cedd;
}
.tile.wide {
  grid-column: 1 / -1;
}
.tile.wide2 {
  grid-column: span 2;
}
.tile.warnt {
  background: rgba(255, 90, 90, 0.1);
  border-color: rgba(255, 90, 90, 0.25);
}
@media (max-width: 560px) {
  .tile.wide2 {
    grid-column: 1 / -1;
  }
}
.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
}
.p-work {
  background: rgba(74, 143, 232, 0.3);
  color: #d3e5ff;
}
.p-win {
  background: rgba(60, 200, 110, 0.25);
  color: #c6f5d6;
}
.p-lose {
  background: rgba(255, 90, 90, 0.25);
  color: #ffd0d0;
}
.tile .tv span.st-nca,
.tile .tv span.st-won,
.tile .tv span.st-doc,
.tile .tv span.st-none {
  font-size: 14px;
  padding: 3px 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 400;
  color: #dfe6f0;
}
.chip .ico {
  width: 13px;
  height: 13px;
  opacity: 0.8;
}
.chip b {
  font-weight: 700;
  color: #fff;
}
.tag-auto {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 40px;
  background: rgba(176, 132, 255, 0.22);
  color: #e2d5ff;
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}
.tag-auto .ico {
  width: 12px;
  height: 12px;
}
.ct-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-top: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ct-ava {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(74, 143, 232, 0.3);
  flex: none;
}
.ct-ava .ico {
  width: 20px;
  height: 20px;
}
.ct-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 240px;
  min-width: 0;
}
.ct-main .tl {
  font-size: 12px;
  color: #a3b1c6;
}
.ct-name {
  font-size: 15px;
}
.ct-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.ct-phone .ico {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}
.ct-main .ts {
  font-size: 12px;
  color: #a3b1c6;
}
.ct-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.skel .sk {
  height: 14px;
  margin: 10px 0;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.06)
  );
  background-size: 200% 100%;
  animation: skm 1.2s linear infinite;
}
.skel .sk.short {
  width: 45%;
}
@keyframes skm {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.ss-btn.wait {
  opacity: 0.6;
  cursor: progress;
}
.tiles.tiles-fill {
  display: flex;
  flex-wrap: wrap;
}
.tiles-fill > .tile {
  flex: 1 1 200px;
}
.tiles-fill > .tile.wide2 {
  flex: 2 1 410px;
}
.tiles-fill > .tile.wide {
  flex-basis: 100%;
}
.tile .tv a {
  color: #8dbcff;
}
.chip-btn {
  height: auto;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  color: #dfe6f0;
  text-shadow: none;
}
.chip-btn:hover {
  background: rgba(74, 143, 232, 0.4);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 16px;
  background: rgba(5, 20, 40, 0.6);
  backdrop-filter: blur(3px);
}
.modal[hidden] {
  display: none;
}
.card.modal-box {
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  margin: 0;
  background: rgba(23, 58, 98, 0.97);
}
.modal-box .modal-x {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 34px;
  padding: 0;
}
body.modal-on {
  overflow: hidden;
}
.cmt {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cmt:last-child {
  border-bottom: 0;
}
.cmt-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.cmt-text {
  overflow-wrap: anywhere;
}
.cmt-more {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.tiles.tiles-fill {
  margin-bottom: 10px;
}
.tiles-row2 > .tile {
  flex: 1 1 140px;
}
.tiles-row2 > .tile.wide2 {
  flex: 2 1 280px;
}
.tiles-top > .tile {
  flex: 1 1 160px;
}
.tiles.tiles-7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 10px;
}
.tiles-7 > .tile.span2 {
  grid-column: span 2;
}
.tiles-7 > .tile.span3 {
  grid-column: span 3;
}
.tiles-7 > .tile.wide {
  grid-column: 1 / -1;
}
.tiles-7 + .tiles-7 {
  margin-top: 0;
}
.tile .tl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.kv > span {
  white-space: nowrap;
}
.kv-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 18px;
  width: 100%;
  margin-top: 2px;
}
.kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 400;
  color: #c3cedd;
}
.kv b {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.tile .tv:has(.kv-list) {
  width: 100%;
}
.tv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.tile .tv:has(.tv-row) {
  width: 100%;
}
.tv-row .btn.sm {
  margin-left: 0;
}
@media (max-width: 1100px) {
  .tiles.tiles-7 {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
  .tiles-7 > .tile.span3 {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .tiles-7 > .tile.span2,
  .tiles-7 > .tile.span3 {
    grid-column: 1 / -1;
  }
}
.tiles-7 > .tile.span2,
.tiles-7 > .tile.span3 {
  container-type: inline-size;
}
@container (min-width: 380px) {
  .kv-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
form.filters label[hidden] {
  display: none;
}
form.filters .fx {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #d1d9e6;
}
.fx-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.fx-x {
  height: 20px;
  width: 20px;
  padding: 0;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
  flex: none;
}
.fx-x:hover {
  background: rgba(220, 70, 70, 0.5);
}
.fx-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fx-vals {
  display: none;
}
form.filters .fx.fx-date {
  grid-column: span 2;
}
form.filters label.ms-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  font-weight: 400;
  line-height: 1.35;
  color: #d1d9e6;
  text-align: left;
}
form.filters label.ms-opt[hidden] {
  display: none;
}
.ms-opt input {
  flex: none;
  margin: 0;
}
.ms-opt span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ms .ss-drop {
  min-width: 280px;
}
.ms .ss-list {
  overflow-x: hidden;
}
.ms-sep {
  margin: 6px 4px 4px;
  padding: 6px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #a3b1c6;
  font-size: 11px;
}
.ms-sep[hidden] {
  display: none;
}
.ms-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ms-bar .btn {
  height: 30px;
  padding: 0 14px;
  box-shadow: none;
}
form.filters .fpick-box {
  grid-column: 1 / -1;
}
form.filters .fpick-box[hidden] {
  display: none;
}
form.filters .fpick-box .cols-box {
  margin-bottom: 0;
}
form.filters .cols label {
  display: inline-flex;
  gap: 6px;
  font-weight: 400;
}
form.filters .cols label[hidden] {
  display: none;
}
@media (max-width: 760px) {
  form.filters .fx {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  form.filters .fx.fx-date {
    grid-column: auto;
  }
}
.cols-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cols-bar > .cols {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.csv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}

th.sortable {
  padding: 0;
}
th.sortable a {
  display: block;
  padding: 14px 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
th.sortable a:hover {
  background: rgba(255, 255, 255, 0.08);
}
th.sortable .arr {
  opacity: 0.35;
  font-size: 11px;
}
th.sorted .arr {
  opacity: 1;
  color: #9fd0ff;
}
.bp-ver {
  scroll-margin-top: 16px;
}
.bp-sel {
  outline: 2px solid #ffd36b;
  box-shadow: 0 0 0 6px rgba(255, 211, 107, 0.15);
}
.bp-here {
  font-size: 12px;
  font-weight: 500;
  color: #ffd36b;
}
.bp-sum .act + .act {
  margin-left: 8px;
}
.act {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
}
.act-added {
  background: rgba(80, 200, 120, 0.22);
}
.act-removed {
  background: rgba(240, 90, 90, 0.25);
}
.act-changed {
  background: rgba(255, 200, 80, 0.2);
}
.act-moved {
  background: rgba(120, 170, 255, 0.22);
}
.bp-diff td:first-child {
  width: 280px;
}
.bp-diff td:nth-child(2) {
  width: 110px;
  text-align: center;
}
.bp-lines,
.bp-tree {
  margin: 0;
  padding-left: 18px;
}
.bp-tree {
  list-style: "› ";
}
.bp-tech {
  margin-top: 6px;
}
.bp-tech summary {
  cursor: pointer;
  opacity: 0.6;
  font-size: 12px;
}
.bp-tech pre {
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 11px;
  max-height: 300px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
  border-radius: 6px;
}
