:root {
  --pp: #0F6D7E;
  --pp-ink: #0e2a36;
  --pp-tint: #e7f1f2;
}

html, body {
  margin: 0;
  height: 100%;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pp-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pp-header {
  height: 56px;
  flex: 0 0 56px;
  background: linear-gradient(90deg, var(--pp), var(--pp-ink));
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  gap: 0;
}

.pp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  flex: 0 0 200px;
  width: 200px;
  box-sizing: border-box;
  padding-left: 24px;
}

.pp-anchor {
  font-size: 18px;
  line-height: 1;
}

.pp-header-mid {
  flex: 1;
  min-width: 0;
  padding-left: 16px;
  display: flex;
  align-items: center;
}

.pp-header-mid .ant-select-selector {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

.pp-header-mid .ant-select-selection-item,
.pp-header-mid .ant-select-arrow {
  color: #fff !important;
}

.pp-owner-text {
  color: #fff;
  font-size: 14px;
}

.pp-user-trigger {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
}

.pp-user-name {
  font-size: 14px;
}

.pp-caret {
  font-size: 10px;
  opacity: 0.75;
}

.pp-body {
  flex: 1;
  min-height: 0;
}

.pp-content-wrap {
  margin: 24px 16px;
  padding: 24px;
  background: #fff;
  min-height: 360px;
}

.pp-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e7f1f2 0%, #f5f5f5 50%, #fff 100%);
}

.pp-login-card {
  width: 360px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pp-login-brand {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--pp-ink);
  margin-bottom: 24px;
}

.pp-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 8px 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pp-chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  min-width: 0;
}

.pp-chart-bar {
  width: 70%;
  max-width: 36px;
  background: var(--pp);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
}

.pp-chart-label {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pp-page-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pp-page-toolbar h4 {
  margin: 0;
}

.ant-btn-primary {
  background: var(--pp);
  border-color: var(--pp);
}

.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background: #0c5c6b !important;
  border-color: #0c5c6b !important;
}

.ant-switch-checked {
  background: var(--pp) !important;
}

.ant-menu-light .ant-menu-item-selected {
  color: var(--pp) !important;
  background: var(--pp-tint) !important;
}

.ant-menu-light .ant-menu-item::after {
  border-right-color: var(--pp) !important;
}

.ant-tag-processing {
  color: var(--pp);
  background: var(--pp-tint);
  border-color: #b7d4d8;
}

/* 1.0.4: теги статуса одной ширины, текст по центру */
.pp-status.ant-tag,
.ant-tag.pp-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  min-width: 128px;
  margin-inline-end: 0;
  text-align: center;
  box-sizing: border-box;
}

.pp-ticket-row {
  cursor: pointer;
}

.pp-ticket-dl {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.pp-ticket-dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
}

.pp-ticket-dl span {
  color: #8c8c8c;
}

.pp-ticket-dl b {
  font-weight: 600;
  word-break: break-all;
}

