.cab,
.desk {
  padding: 54px 0 96px;
}

.cab__head,
.desk__head {
  max-width: 760px;
  margin-bottom: 34px;
}

.cab__title,
.desk__title {
  margin: 20px 0 12px;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.1;
}

.cab__lead,
.desk__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15.5px;
  line-height: 1.6;
}

.cab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cab-chips__item {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12.5px;
  font-weight: 600;
}

.cab-chips__item.is-gold {
  border-color: rgba(255, 210, 0, 0.4);
  background: rgba(255, 210, 0, 0.09);
  color: var(--yellow);
}

.cab-top {
  margin-bottom: 20px;
}

.cab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 210, 0, 0.34);
  border-radius: 22px;
  background: linear-gradient(168deg, #1b2445 0%, #0b1226 58%, #070c1c 100%);
}

.ticket__glow {
  position: absolute;
  top: -140px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.22), transparent 62%);
  pointer-events: none;
}

.ticket__main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ticket__label {
  display: block;
  color: rgba(255, 224, 120, 0.8);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ticket__code {
  display: block;
  margin: 12px 0 14px;
  color: var(--yellow);
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 12px 34px rgba(255, 210, 0, 0.24);
}

.ticket__lead {
  margin: 0 0 22px;
  max-width: 400px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.ticket__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  max-width: 520px;
}

.ticket__facts > div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.ticket__facts dt {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ticket__facts dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.ticket__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ticket__side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ticket__qr {
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
}

.ticket__qr canvas {
  display: block;
  border-radius: 8px;
}

.ticket__note {
  margin: 0;
  max-width: 210px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

.panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(180deg, #141d3a 0%, #0a1128 58%, #080d1f 100%);
}

.panel--codes {
  display: flex;
  flex-direction: column;
}

.panel--wide {
  grid-column: span 2;
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 26px 34px;
  align-items: start;
}

.access .pass-form {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.panel--link {
  margin-bottom: 20px;
}

.panel--desk {
  margin-bottom: 20px;
  padding: 22px;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.panel__badge {
  padding: 6px 12px;
  border: 1px solid rgba(255, 210, 0, 0.36);
  border-radius: 100px;
  background: rgba(255, 210, 0, 0.09);
  color: var(--yellow);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
}

.panel__badge--soft {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-weight: 600;
}

.panel__link {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 210, 0, 0.45);
}

.panel__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.6;
}

.panel__hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
  line-height: 1.5;
}

.panel__hint svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--yellow);
}

.panel__hint a {
  color: var(--yellow);
}

.panel__note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.panel__note--error {
  color: #ff8378;
}

.panel__note--ok {
  color: var(--yellow);
}

.panel__note:empty {
  display: none;
}

.rows {
  margin: 0;
}

.rows__item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rows__item:last-child {
  border-bottom: 0;
}

.rows dt {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.5px;
}

.rows dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.rows dd a {
  color: #fff;
}

.rows dd a:hover {
  color: var(--yellow);
}

.is-mono {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.is-gold {
  color: var(--yellow);
}

.code-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.code-form .field {
  margin-bottom: 0;
}

.codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.codes__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.codes__item b {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.codes__item span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11.5px;
}

.codes__empty {
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
  margin: 0 0 20px;
  padding: 2px 2px 2px 0;
  overflow-y: auto;
  list-style: none;
}

.chat__empty {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13.5px;
  text-align: center;
}

.chat__item {
  max-width: 76%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.chat__item--mine {
  align-self: flex-end;
  border-color: rgba(255, 210, 0, 0.28);
  background: rgba(255, 210, 0, 0.08);
}

.chat__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
  font-size: 11.5px;
}

.chat__meta b {
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 700;
}

.chat__meta i {
  color: rgba(255, 255, 255, 0.38);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-style: normal;
}

.chat__item--mine .chat__meta b {
  color: rgba(255, 255, 255, 0.72);
}

.chat__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.chat-form .field {
  margin-bottom: 0;
}

.chat-form textarea {
  min-height: 76px;
  resize: vertical;
}

.pass-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pass-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.panel--pass {
  max-width: 640px;
}

.panel--pass .pass-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding-top: 16px;
}

.panel--pass .pass-form .btn {
  grid-column: span 2;
  justify-self: start;
}

.pass-form .field {
  margin-bottom: 0;
}

.who-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.who-chip svg {
  width: 17px;
  height: 17px;
  color: var(--yellow);
}

.who-chip b {
  font-weight: 700;
}

.who-chip i {
  color: rgba(255, 255, 255, 0.36);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-style: normal;
}

.gate {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 76px - 93px);
  padding: 48px 0;
}

.gate__inner {
  display: grid;
  place-items: center;
}

.gate__card {
  width: 100%;
  max-width: 470px;
  padding: 34px 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, #16203c 0%, #0b1226 58%, #070c1c 100%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.gate__title {
  margin: 18px 0 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.9px;
}

.gate__lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.metric {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, #141d3a 0%, #0a1128 100%);
}

.metric b {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
}

.metric.is-active b {
  color: #6ee7a8;
}

.metric.is-noanswer b {
  color: #ff9a8f;
}

.metric.is-none b {
  color: var(--yellow);
}

.desk__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.field--search {
  flex: 1 1 320px;
  margin-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.chip i {
  color: rgba(255, 255, 255, 0.34);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-style: normal;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.chip.is-on {
  border-color: rgba(255, 210, 0, 0.5);
  background: rgba(255, 210, 0, 0.1);
  color: var(--yellow);
}

.chip.is-on i {
  color: rgba(255, 210, 0, 0.7);
}

.table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table__head,
.card__row,
.card--flat {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
}

.table--partner .table__head,
.table--partner .card--flat {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
}

.table__head {
  padding: 0 18px 8px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.card.is-open {
  border-color: rgba(255, 210, 0, 0.34);
  background: rgba(255, 210, 0, 0.04);
}

.card--flat {
  padding: 14px 18px;
}

.card__row {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.card__who {
  min-width: 0;
}

.card__who b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__who i {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
  font-style: normal;
}

.card__cell {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

.card__chevron {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease;
}

.card__chevron svg {
  width: 17px;
  height: 17px;
}

.card.is-open .card__chevron {
  transform: rotate(180deg);
  color: var(--yellow);
}

.card__detail {
  padding: 4px 18px 20px;
}

.card__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 26px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.card__cols .rows__item {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  padding: 8px 0;
}

.card__work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.statusbar__label,
.notes .field__label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.5px;
  font-weight: 600;
}

.statusbar__set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.66);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.pill.is-on {
  border-color: rgba(255, 210, 0, 0.5);
  background: rgba(255, 210, 0, 0.12);
  color: var(--yellow);
}

.pill--clear {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  background: none;
  color: rgba(255, 255, 255, 0.44);
  font-weight: 600;
}

.statusbar__meta {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11.5px;
}

.notes textarea {
  resize: vertical;
  min-height: 62px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.notes .field {
  margin-bottom: 12px;
}

.mini {
  padding: 5px 10px;
  border: 1px solid rgba(255, 210, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 210, 0, 0.08);
  color: var(--yellow);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.mini:hover {
  background: rgba(255, 210, 0, 0.18);
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
}

.tag.is-active {
  background: rgba(110, 231, 168, 0.14);
  color: #6ee7a8;
}

.tag.is-noanswer {
  background: rgba(255, 154, 143, 0.14);
  color: #ff9a8f;
}

.tag.is-none {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.5);
}

.tag.is-ask {
  margin-left: 6px;
  background: rgba(255, 210, 0, 0.16);
  color: var(--yellow);
}

.table__empty {
  margin: 0;
  padding: 34px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13.5px;
  text-align: center;
}

.reflink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.reflink input {
  cursor: text;
}

.panel--team {
  margin-bottom: 20px;
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 26px 34px;
  align-items: start;
}

.team__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.team__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.team__item:last-child {
  border-bottom: 0;
}

.team__item b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.team__item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.38);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
}

.team__stat {
  text-align: right;
}

.team__stat b {
  color: var(--yellow);
  font-family: "JetBrains Mono", monospace;
  font-size: 17px;
}

.team__stat span {
  font-family: inherit;
  font-size: 11.5px;
}

.team__empty {
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.team__form {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.team__form .field {
  margin-bottom: 12px;
}

.team__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.talk {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px 30px;
  align-items: start;
}

.talk__list {
  max-height: 420px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.talk__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.talk__item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.talk__item.is-on {
  border-color: rgba(255, 210, 0, 0.3);
  background: rgba(255, 210, 0, 0.07);
}

.talk__item b {
  font-size: 13.5px;
  font-weight: 700;
}

.talk__item span {
  grid-column: span 2;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talk__item i {
  color: rgba(255, 255, 255, 0.3);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-style: normal;
}

.talk__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--yellow);
  color: #0b1020;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.talk__empty {
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.talk__thread {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.talk__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.talk__head b {
  font-size: 14.5px;
  font-weight: 700;
}

.talk__head span {
  color: rgba(255, 255, 255, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.talk__hint {
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.talk .chat {
  max-height: 300px;
}

.log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.log__item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.log__item:last-child {
  border-bottom: 0;
}

.log__item b {
  font-size: 13.5px;
  font-weight: 700;
}

.log__item span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12.5px;
}

.log__item i {
  color: rgba(255, 255, 255, 0.3);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-style: normal;
}

.log__empty {
  color: rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .cab-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel--wide {
    grid-column: auto;
  }
  .access {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .talk {
    grid-template-columns: minmax(0, 1fr);
  }
  .talk__list {
    max-height: 240px;
  }
  .access .pass-form {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .table__head {
    display: none;
  }
  .card__row,
  .card--flat {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 34px;
    row-gap: 8px;
  }
  .table--partner .card--flat {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
  .card__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ticket {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
  .ticket__side {
    align-items: flex-start;
  }
  .ticket__note {
    text-align: left;
  }
  .card__work,
  .team {
    grid-template-columns: minmax(0, 1fr);
  }
  .log__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .cab,
  .desk {
    padding: 34px 0 64px;
  }
  .panel {
    padding: 20px;
    border-radius: 18px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 14px 16px;
  }
  .metric b {
    font-size: 23px;
  }
  .code-form,
  .reflink,
  .pass-form__grid,
  .panel--pass .pass-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel--pass .pass-form .btn {
    grid-column: span 1;
    width: 100%;
    justify-self: stretch;
  }
  .code-form .btn,
  .reflink .btn {
    width: 100%;
  }
  .chat-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .chat-form .btn {
    width: 100%;
  }
  .chat__item {
    max-width: 90%;
  }
  .card__row,
  .card--flat {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .table--partner .card--flat {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .card__cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .gate__card {
    padding: 26px 22px 24px;
  }
  .who-chip {
    min-width: 0;
    padding: 7px 11px;
    gap: 7px;
    font-size: 12.5px;
  }
  .who-chip b {
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .who-chip svg,
  .who-chip i {
    display: none;
  }
  .doc-top__logo {
    flex: none;
  }
  .doc-top__logo img {
    width: 92px;
  }
  .doc-top__actions {
    min-width: 0;
    gap: 8px;
  }
  .doc-top__actions .btn--sm {
    padding: 10px 13px;
  }
  .team__item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }
  .team__form {
    padding: 16px;
  }
  .team__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticket__code {
    letter-spacing: 1px;
  }
  .ticket__facts {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
  .ticket__facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
  }
  .ticket__facts dd {
    margin: 0;
  }
  .ticket__actions .btn {
    flex: 1 1 100%;
  }
}
