@font-face {
  font-family: "SFUIDisplay";
  src: url(../fonts/SFUIDisplay-Regular.467b1c50.eot);
  src: url(../fonts/SFUIDisplay-Regular.467b1c50.eot?#iefix) format("embedded-opentype"), url(../fonts/SFUIDisplay-Regular.1105cb02.woff2) format("woff2"), url(../fonts/SFUIDisplay-Regular.d2e20a55.woff) format("woff"), url(../fonts/SFUIDisplay-Regular.e8b02949.ttf) format("truetype"), url(../img/SFUIDisplay-Regular.f67f41a4.svg) format("svg");
  font-weight: 400;
}
@font-face {
  font-family: "SFUIDisplay";
  src: url(../fonts/SFUIDisplay-Medium.6f475a01.eot);
  src: url(../fonts/SFUIDisplay-Medium.6f475a01.eot?#iefix) format("embedded-opentype"), url(../fonts/SFUIDisplay-Medium.5f881630.woff2) format("woff2"), url(../fonts/SFUIDisplay-Medium.8f3bf9b2.woff) format("woff"), url(../fonts/SFUIDisplay-Medium.bfe692be.ttf) format("truetype"), url(../img/SFUIDisplay-Medium.8c18ce55.svg) format("svg");
  font-weight: 500;
}
@font-face {
  font-family: "SFUIDisplay";
  src: url(../fonts/SFUIDisplay-Semibold.df12bd08.eot);
  src: url(../fonts/SFUIDisplay-Semibold.df12bd08.eot?#iefix) format("embedded-opentype"), url(../fonts/SFUIDisplay-Semibold.fe8b8900.woff2) format("woff2"), url(../fonts/SFUIDisplay-Semibold.78f8440f.woff) format("woff"), url(../fonts/SFUIDisplay-Semibold.bdffe43b.ttf) format("truetype"), url(../img/SFUIDisplay-Semibold.d500041d.svg) format("svg");
  font-weight: 600;
}
@font-face {
  font-family: "SFUIDisplay";
  src: url(../fonts/SFUIDisplay-Bold.808794b8.eot);
  src: url(../fonts/SFUIDisplay-Bold.808794b8.eot?#iefix) format("embedded-opentype"), url(../fonts/SFUIDisplay-Bold.c6113b84.woff2) format("woff2"), url(../fonts/SFUIDisplay-Bold.8e1d5c32.woff) format("woff"), url(../fonts/SFUIDisplay-Bold.fd227bbc.ttf) format("truetype"), url(../img/SFUIDisplay-Bold.2b84e76d.svg) format("svg");
  font-weight: 800;
}
@font-face {
  font-family: "SFUIDisplay";
  src: url(../fonts/SFUIDisplay-Black.226edee3.eot);
  src: url(../fonts/SFUIDisplay-Black.226edee3.eot?#iefix) format("embedded-opentype"), url(../fonts/SFUIDisplay-Black.b93f2fc6.woff2) format("woff2"), url(../fonts/SFUIDisplay-Black.f724c52d.woff) format("woff"), url(../fonts/SFUIDisplay-Black.0bab59e4.ttf) format("truetype"), url(../img/SFUIDisplay-Black.ee18215a.svg) format("svg");
  font-weight: 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: normal;
}

body {
  font-size: 15px;
  font-family: "SFUIDisplay";
}

.label-text-black .q-item__label {
  color: #000;
}
.label-text-black .q-item__label--caption {
  color: rgba(0, 0, 0, 0.54);
}

.pointer {
  cursor: pointer;
}

.required {
  border-bottom: 2px solid rgba(204, 0, 0, 0.29);
  padding: 10px;
}

.non-required {
  padding: 10px;
}

.standart-dialog-title {
  padding: 15px;
  padding-bottom: 20px;
}

.standart-dialog-actions {
  padding: 15px;
}

.standart-dialog-content {
  padding: 15px;
  max-height: 650px;
  overflow-y: auto;
}
.standart-dialog-content .form-group {
  margin-bottom: 40px;
  margin-top: 40px;
}
.standart-dialog-content .title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.0125em;
}

.order-list {
  padding: 30px;
  width: 100%;
}

.order-list-item {
  background: #F2F2F2;
  padding: 10px;
  width: 100%;
}
.order-list-item .value {
  font-weight: bold;
}
.order-list-item .btn {
  padding: 20px;
  padding-left: 30px;
  padding-right: 30px;
  background: #ff7663;
  cursor: pointer;
}
.order-list-item .item {
  align-self: center;
}
.order-list-item .link {
  padding: 0px;
}

.slide-fade-enter-active {
  transition: all 0.3s ease;
}

.slide-fade-leave-active {
  transition: all 0.8s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter, .slide-fade-leave-to {
  transform: translateX(500px);
  opacity: 0;
}

.slide-to-enter-active {
  transition: all 0.3s ease;
}

.slide-to-enter, .slide-to-leave-to {
  transform: translateX(100%);
  /* opacity: 0;*/
}

.slide-out-enter-active {
  transition: all 0s ease;
}

.slide-out-enter, .slide-out-leave-to {
  transform: translateX(-100%);
  /* opacity: 0;*/
}

.question {
  background: #f2f2f2;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  height: 30px;
  width: 30px;
  text-align: center;
  /* display: flex; */
  line-height: 26px;
  cursor: pointer;
  border: 1px solid #c7c7c7;
}
.question:hover {
  background: #616161;
  color: #fff;
}
.question:hover i {
  color: #fff;
}
.standart-page {
  width: 100%;
  max-width: 1010px;
  margin-left: 20px;
}

.standart-form {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
}
.standart-form .q-field__bottom {
  padding-left: 0px;
}
.standart-form .title {
  margin-bottom: 20px;
  font-size: 16px;
  display: inline;
}
.standart-form .right-titile {
  display: inline;
  text-align: right;
}
.standart-form .body {
  clear: both;
}
.standart-form .form-header {
  display: flex;
}
.standart-form .form-content {
  background: #fff;
  padding: 25px;
  border: 1px solid #e8e8e8;
  padding-bottom: 0px;
}
.standart-form .form-content .title {
  padding: 10px;
  font-size: 20px;
  margin-bottom: 20px;
  padding-left: 0px;
}
.standart-form .form-content .body {
  padding-top: 0px;
  padding-bottom: 25px;
}
.standart-form .form-content .item {
  padding: 10px;
}
.standart-form .form-content .item-left {
  padding-left: 10px;
}
.standart-form .form-content .controls {
  padding: 10px;
  clear: both;
  display: flex;
}
.standart-form .form-content .controls.withleft {
  justify-content: flex-start;
}
.standart-form.mini .body {
  padding-bottom: 0px;
}
.standart-form.mini .controls {
  padding-bottom: 0px;
  padding-right: 0px;
}
.standart-form.mini .item {
  padding-top: 5px;
  padding-bottom: 5px;
}

.note {
  background: #fff;
  font-size: 15px;
}

.standart-help {
  background: #fff;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  padding: 15px;
}

.standart-list {
  background: #f2f2f2;
  color: #111111;
  font-weight: 500;
  padding: 15px;
  font-size: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.standart-list.wite {
  background: #ffffff;
  color: #3f58b6;
}
.standart-list .list-item {
  display: flex;
  padding-bottom: 15px;
  padding-top: 15px;
  border-bottom: 1px solid #d7d7d7;
  cursor: pointer;
}
.standart-list .list-item:last-of-type {
  border: 0px;
}
.standart-list .list-control {
  display: flex;
  align-content: space-between;
  justify-content: space-between;
}
.standart-list .list-control i {
  cursor: pointer;
  margin-right: 15px;
}
.standart-list .list-control i:last-of-type {
  margin-right: 0px;
}
.standart-list .list-control i:hover {
  color: #0B99D4;
}

.block-data {
  background: #fff;
  clear: both;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  display: table;
  width: 100%;
}
.block-data .left {
  float: left;
  line-height: 36px;
  font-size: 16px;
}
.block-data .right {
  float: right;
}
.block-data .title {
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.54);
}
.block-data .title .value {
  color: #2d2d2d;
}

.topline {
  display: table;
  width: 100%;
  margin-bottom: 20px;
}
.topline .topline-left {
  float: left;
}
.topline .topline-right {
  float: right;
}

.root-page {
  margin-left: 35px;
  margin-top: 0px;
}

.pagename {
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 35px;
}

.standart-block {
  background: #FBF9F9;
  border: 1px solid #C4C4C4;
  border-radius: 4px;
  padding: 15px;
}
.standart-block .title {
  font-size: 18px;
  font-weight: 600;
}
.standart-block .body {
  margin-top: 25px;
}
.standart-block .footer {
  margin-top: 15px;
}
.standart-block .link {
  cursor: pointer;
  color: #0084F4;
  font-size: 16px;
  text-decoration: underline;
}

.standart-input {
  background: #fff;
  border: 1px solid #C2C2C2;
  border-radius: 5px;
  padding-left: 15px;
  box-shadow: none;
  height: 45px;
}
.standart-input.q-field--standard .q-field__control:after :after {
  display: none !important;
}
.standart-input.q-field--standard .q-field__control:before {
  display: none;
}

.q-field__control {
  background: #fff !important;
}

.q-field--standard .q-field__control:before {
  border: none;
}

.q-field__inner {
  border: 1px solid #f1f1f1;
  border-radius: 2px;
}
.q-field__inner .q-field__control {
  padding-left: 10px;
}

.col-center {
  justify-self: center;
  place-self: center;
  align-self: center;
}

.q-notification.bg-negative {
  color: #fff !important;
}

.center-content {
  display: flex;
  align-items: center;
  justify-items: center;
  flex-wrap: wrap;
  align-content: center;
}
.center-content div {
  clear: both;
  display: block;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.pagination > li > a, .pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.back-line {
  text-align: left;
  padding-bottom: 20px;
}

.text-subtitle2 {
  font-size: 16px;
}

.q-pagination .q-btn {
  min-width: 30px !important;
}

.mini .q-field__inner .q-field__control {
  min-height: 30px !important;
  max-height: 40px !important;
}

.fullselect .q-field__inner .q-field__control {
  max-height: 50px !important;
}

.right-float {
  position: fixed;
  right: 15px;
  bottom: 20px;
  min-width: 210px;
  max-height: 580px;
  background: #f5f5f5;
}
.right-float .right-float-item {
  border-bottom: 2px solid #fff;
}

.q-field__bottom {
  padding-left: 0px !important;
}

@media (max-width: 1460px) {
  .right-float {
    width: 55px !important;
    min-width: 55px;
    right: 5px !important;
    background: none !important;
  }
  .right-float .icon-text {
    display: none;
  }
  .right-float .right-float-item {
    border: none !important;
  }
  .right-float.chat-opened {
    width: 370px !important;
    min-width: 370px;
    background: #f5f5f5 !important;
    right: 15px !important;
    bottom: 20px !important;
  }
  .right-float.chat-opened .right-float-item {
    border-bottom: 2px solid #fff !important;
  }
  .right-float.chat-opened .icon-text {
    display: inline-block !important;
  }
}
.standart-search .q-field__control {
  padding-left: 10px !important;
}

.standart-table-container {
  clear: both;
  border-bottom: 1px solid #e8e8e8;
  color: #000;
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
  box-shadow: none;
}
.standart-table-container .text-left {
  text-align: left;
}
.standart-table-container .text-center {
  text-align: center;
}
.standart-table-container .text-right {
  text-align: right;
}
.standart-table-container .q-table__bottom {
  display: none;
}
.standart-table-container table {
  clear: both;
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.standart-table-container table tr, .standart-table-container table th, .standart-table-container table td {
  border-color: rgba(0, 0, 0, 0.12);
}
.standart-table-container table th, .standart-table-container table td {
  padding: 7px 16px;
  background-color: inherit;
}
.standart-table-container table thead, .standart-table-container table td, .standart-table-container table th {
  border-style: solid;
  border-width: 0;
}
.standart-table-container table tr, .standart-table-container table td {
  height: 58px;
}
.standart-table-container table td {
  font-size: 13px;
}
.standart-table-container table thead {
  border-color: rgba(0, 0, 0, 0.12);
  border-style: solid;
  border-width: 0;
}
.standart-table-container table th {
  border-bottom-width: 1px;
  border-color: rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  font-weight: 500;
  font-size: 12px;
  -webkit-user-select: none;
          user-select: none;
}
.standart-table-container table thead th, .standart-table-container table tbody tr:not(:last-child) td, .standart-table-container table thead th, .standart-table-container table tbody tr:not(:last-child) td {
  border-bottom-width: 1px;
}

.tip {
  border-bottom-right-radius: 2px;
  border-left: 4px solid #1976d2;
  border-top-right-radius: 2px;
  margin: 2em 0;
  padding: 12px 24px 12px 30px;
  position: relative;
  background: #f1f1f1;
}
.tip:before {
  background-color: #c10015;
  border-radius: 100%;
  color: #fff;
  content: "!";
  font-family: Dosis, Source Sans Pro, Helvetica Neue, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  left: -12px;
  line-height: 20px;
  position: absolute;
  height: 20px;
  width: 20px;
  text-align: center;
  top: 14px;
}
.tip.help:before {
  content: "?";
}

.product-table .files {
  margin: 0px;
  display: flex;
  overflow: hidden;
}
.product-table .files img {
  max-width: 50px;
  max-height: 50px;
  width: auto !important;
}
.product-table .files .file-upload-button {
  clear: none;
}

.group-filter .items-start {
  display: none;
}

@media (min-width: 900px) {
  .q-dialog__inner--minimized > div {
    max-width: 660px;
  }
}
:root {
  --tp-bg: #f4f5f7;
  --tp-surface: #ffffff;
  --tp-surface-2: #f7f8fa;
  --tp-surface-3: #eef1f5;
  --tp-border: #e7eaf0;
  --tp-border-2: #dfe3ea;
  --tp-text: #1b1f29;
  --tp-text-2: #5b6472;
  --tp-text-3: #98a1b0;
  --tp-primary: #2563eb;
  --tp-primary-600: #1d4ed8;
  --tp-primary-weak: #eaf1ff;
  --tp-accent: #12b981;
  --tp-accent-weak: #e6f7f0;
  --tp-danger: #ef4444;
  --tp-danger-weak: #fdecec;
  --tp-warn: #f59e0b;
  --tp-warn-weak: #fef3e2;
  --tp-tg: #2aabee;
  --tp-max: #2c6bff;
  --tp-r-lg: 18px;
  --tp-r: 14px;
  --tp-r-sm: 10px;
  --tp-r-pill: 999px;
  --tp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --tp-shadow-md: 0 6px 20px rgba(16, 24, 40, .10);
  --tp-shadow-lg: 0 12px 34px rgba(16, 24, 40, .14);
  --tp-s1: 4px;
  --tp-s2: 8px;
  --tp-s3: 12px;
  --tp-s4: 16px;
  --tp-s5: 20px;
  --tp-s6: 24px;
  --tp-s8: 32px;
}

.tp-page {
  background: var(--tp-bg);
  min-height: 100%;
  padding: var(--tp-s5) var(--tp-s4) 96px;
  display: flex;
  flex-direction: column;
  gap: var(--tp-s5);
}
@media (min-width: 800px) {
  .tp-page {
    padding: var(--tp-s6) var(--tp-s6) 96px;
  }
  .tp-page > * {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

.tp-section-head {
  display: flex;
  align-items: center;
  gap: var(--tp-s2);
  padding: 0 var(--tp-s2);
  margin-top: var(--tp-s1);
  margin-bottom: var(--tp-s3);
}
.tp-section-head .tp-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-text);
  letter-spacing: 0.1px;
}
.tp-section-head .tp-section-sub {
  font-size: 12.5px;
  color: var(--tp-text-3);
}
.tp-section-head .tp-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-primary);
  background: var(--tp-primary-weak);
  border-radius: var(--tp-r-pill);
  padding: 1px 8px;
  min-width: 22px;
  text-align: center;
}

.tp-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-r-lg);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-card--pad {
  padding: var(--tp-s5);
}

.tp-card--tap {
  cursor: pointer;
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.tp-card--tap:active {
  transform: scale(0.994);
  box-shadow: var(--tp-shadow);
}
.tp-card--tap:hover {
  border-color: var(--tp-border-2);
}

.tp-entry {
  display: flex;
  align-items: center;
  gap: var(--tp-s3);
  width: 100%;
  padding: var(--tp-s4);
  background: var(--tp-surface);
  cursor: pointer;
  transition: background 0.14s ease;
}
.tp-entry:active {
  background: var(--tp-surface-2);
}
.tp-entry + .tp-entry {
  border-top: 1px solid var(--tp-border);
}
.tp-entry .tp-entry__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--tp-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-primary-weak);
  color: var(--tp-primary);
  font-size: 20px;
}
.tp-entry .tp-entry__icon img, .tp-entry .tp-entry__icon svg {
  width: 22px;
  height: 22px;
}
.tp-entry .tp-entry__body {
  flex: 1 1 auto;
  min-width: 0;
}
.tp-entry .tp-entry__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tp-text);
  line-height: 1.25;
}
.tp-entry .tp-entry__sub {
  font-size: 12.5px;
  color: var(--tp-text-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-entry .tp-entry__chevron {
  flex: 0 0 auto;
  color: var(--tp-text-3);
  font-size: 20px;
}

.tp-item {
  display: flex;
  align-items: center;
  gap: var(--tp-s3);
  padding: var(--tp-s3) var(--tp-s4);
  background: var(--tp-surface);
}
.tp-item + .tp-item {
  border-top: 1px solid var(--tp-border);
}
.tp-item .tp-item__media {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--tp-r-sm);
  overflow: hidden;
  background: var(--tp-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-item .tp-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-item .tp-item__body {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}
.tp-item .tp-item__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tp-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tp-item .tp-item__meta {
  font-size: 12.5px;
  color: var(--tp-text-3);
  margin-top: 2px;
}
.tp-item .tp-item__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--tp-text);
}
.tp-item .tp-item__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--tp-s2);
}
.tp-item .tp-item__actions .q-icon {
  font-size: 20px;
  color: var(--tp-text-3);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--tp-r-sm);
  transition: background 0.14s ease, color 0.14s ease;
}
.tp-item .tp-item__actions .q-icon:active {
  background: var(--tp-surface-2);
}
.tp-item .tp-item__actions .tp-act-del:hover, .tp-item .tp-item__actions .tp-act-del:active {
  color: var(--tp-danger);
  background: var(--tp-danger-weak);
}
.tp-item .tp-item__actions .tp-act-edit:hover, .tp-item .tp-item__actions .tp-act-edit:active {
  color: var(--tp-primary);
  background: var(--tp-primary-weak);
}

.tp-listwrap {
  padding: var(--tp-s4);
  display: flex;
  flex-direction: column;
  gap: var(--tp-s3);
  background: var(--tp-bg);
  min-height: 100%;
}

.tp-listcard {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-r-lg);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
  padding: var(--tp-s3);
}

.tp-add-btn {
  width: 100%;
  border-radius: var(--tp-r-sm);
  font-weight: 600;
  height: 46px;
}

.tp-item.q-card {
  box-shadow: none !important;
  border: 0 !important;
  border-radius: var(--tp-r-sm);
  background: transparent;
}

.tp-item__drag {
  flex: 0 0 auto;
  width: 22px;
  color: var(--tp-text-3);
  cursor: grab;
  display: flex;
  align-items: center;
}
.tp-item__drag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.tp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--tp-s2);
  padding: var(--tp-s8) var(--tp-s5);
  color: var(--tp-text-3);
}
.tp-empty .tp-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tp-r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-surface-3);
  color: var(--tp-text-3);
  font-size: 26px;
  margin-bottom: var(--tp-s1);
}
.tp-empty .tp-empty__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tp-text-2);
}
.tp-empty .tp-empty__sub {
  font-size: 12.5px;
  color: var(--tp-text-3);
  max-width: 260px;
}

.tp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--tp-r-pill);
}
.tp-status.is-on {
  color: var(--tp-accent);
  background: var(--tp-accent-weak);
}
.tp-status.is-off {
  color: var(--tp-text-3);
  background: var(--tp-surface-3);
}

.tp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.tp-form {
  display: flex;
  flex-direction: column;
  gap: var(--tp-s5);
  padding: var(--tp-s5);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.tp-field {
  display: flex;
  flex-direction: column;
}

.tp-field-group {
  background: var(--tp-surface-2);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-r);
  padding: var(--tp-s4);
}

.tp-field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tp-text);
  margin-bottom: var(--tp-s3);
  display: flex;
  align-items: center;
  gap: var(--tp-s2);
}

.tp-form-actions {
  position: sticky;
  bottom: 0;
  margin: var(--tp-s2) calc(-1 * var(--tp-s5)) calc(-1 * var(--tp-s5));
  padding: var(--tp-s4) var(--tp-s5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--tp-surface) 40%);
  border-top: 1px solid var(--tp-border);
}

.tp-btn-ghost {
  color: var(--tp-primary) !important;
  background: var(--tp-primary-weak) !important;
  font-weight: 600;
}

.tp-formcard {
  background: var(--tp-surface);
  padding: var(--tp-s5);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.tp-formcard .subtitle,
.tp-formcard h5, .tp-formcard h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-text);
  margin: 4px 0 10px;
  padding: 0;
}
.tp-formcard label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-text-2);
}
.tp-formcard .create_link {
  color: var(--tp-primary) !important;
  background: var(--tp-primary-weak) !important;
  border-radius: var(--tp-r-sm);
  font-weight: 600;
  margin-top: 8px;
}

.tp-form-actions-sticky {
  position: sticky;
  bottom: 0;
  margin: var(--tp-s4) calc(-1 * var(--tp-s5)) calc(-1 * var(--tp-s5));
  padding: var(--tp-s4) var(--tp-s5) calc(var(--tp-s4) + env(safe-area-inset-bottom, 0px));
  background: var(--tp-surface);
  border-top: 1px solid var(--tp-border);
  z-index: 2;
}

.tp-form-submit {
  width: 100%;
  height: 48px;
  border-radius: var(--tp-r-sm);
  font-weight: 700;
  font-size: 15px;
}

.tp-channel {
  display: flex;
  flex-direction: column;
  gap: var(--tp-s4);
}
.tp-channel .tp-channel__head {
  display: flex;
  align-items: center;
  gap: var(--tp-s3);
}
.tp-channel .tp-channel__logo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--tp-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}
.tp-channel .tp-channel__logo img {
  width: 28px;
  height: 28px;
}
.tp-channel .tp-channel__logo--tg {
  background: var(--tp-tg);
}
.tp-channel .tp-channel__logo--max {
  background: var(--tp-max);
}
.tp-channel .tp-channel__info {
  flex: 1 1 auto;
  min-width: 0;
}
.tp-channel .tp-channel__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-text);
}
.tp-channel .tp-channel__desc {
  font-size: 12.5px;
  color: var(--tp-text-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-channel .tp-channel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tp-s3);
  border-top: 1px solid var(--tp-border);
  padding-top: var(--tp-s3);
}
.tp-channel .tp-channel__toggle .q-toggle__label {
  font-size: 13.5px;
  color: var(--tp-text-2);
}
.tp-channel .tp-channel__logout {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-danger);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: var(--tp-r-sm);
}
.tp-channel .tp-channel__logout:active {
  background: var(--tp-danger-weak);
}
.tp-channel .tp-channel__connect {
  text-decoration: none;
}
.tp-channel .tp-channel__btn {
  border-radius: var(--tp-r-sm);
  font-weight: 600;
  height: 44px;
}

.tp-muted {
  color: var(--tp-text-3);
}

.tp-hr {
  height: 1px;
  background: var(--tp-border);
  border: 0;
  margin: 0;
}

.tp-stack {
  display: flex;
  flex-direction: column;
  gap: var(--tp-s4);
}

.tp-gap-2 {
  gap: var(--tp-s2);
}

.tp-card .q-field--outlined .q-field__control, .tp-form .q-field--outlined .q-field__control, .tp-page .q-field--outlined .q-field__control {
  border-radius: var(--tp-r-sm);
}

.tp-pagehead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 12px;
}
.tp-pagehead .tp-pagehead__back {
  color: var(--tp-text-2);
}
.tp-pagehead .tp-pagehead__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--tp-text);
}
.tp-pagehead .tp-pagehead__sub {
  font-size: 12.5px;
  color: var(--tp-text-3);
  margin-top: 1px;
}

.tp-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-right: 6px;
}

.tp-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tp-badge.tp-badge--tg {
  background: #e2f2fd;
  color: #1178b8;
}
.tp-badge.tp-badge--max {
  background: #efeafe;
  color: #6d5efc;
}
.tp-badge.tp-badge--common {
  background: #e7f0ff;
  color: #2563eb;
}
.tp-badge.tp-badge--off {
  background: #eef1f5;
  color: #64748b;
}

.tp-dialog-card {
  min-width: 340px;
  max-width: 560px;
  border-radius: 16px;
}
