@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("./vendor/fonts/cyrillic.woff2") format("woff2");
  unicode-range: U+0400-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("./vendor/fonts/latin.woff2") 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;
}
:root {
  color-scheme: dark;
  --tc-page: #101214;
  --tc-paper: #171a1d;
  --tc-low: #1d2023;
  --tc-edge: #33383c;
  --tc-text: #e8e9e6;
  --tc-muted: #acb1b6;
  --tc-accent: #afe907;
  --tc-error: #ffb69b;
}
* {box-sizing: border-box}
[hidden] {display: none !important}
body.tc-app {
  margin: 0;
  min-height: 100vh;
  background: var(--tc-page);
  color: var(--tc-text);
  font: 400 15px/1.5 "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.tc-header {display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:14px 30px; padding:14px clamp(16px,4vw,54px); border-bottom:1px solid var(--tc-edge); background:#15171a}
.tc-brand {display:inline-flex; align-items:center; gap:10px; font-size:19px; font-weight:600; letter-spacing:-.035em; white-space:nowrap; text-decoration:none; color:var(--tc-text)}
.tc-brand-mark {width:29px; height:29px; border-radius:7px; background:linear-gradient(var(--tc-accent),var(--tc-accent)) 50% 24%/56% 16% no-repeat,linear-gradient(var(--tc-accent),var(--tc-accent)) 50% 66%/16% 42% no-repeat,linear-gradient(var(--tc-accent),var(--tc-accent)) 75% 75%/15% 15% no-repeat,#080908; box-shadow:0 0 0 1px #39402f}
.tc-nav {display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px}
.tc-nav a,.tc-quiet {display:inline-flex; align-items:center; padding:7px 10px; color:var(--tc-muted); border:0; background:none; font:inherit; font-size:14px; border-radius:7px; text-decoration:none; cursor:pointer}
.tc-nav a[aria-current] {color:var(--tc-accent); background:#22291a}
.tc-nav a:hover,.tc-quiet:hover {color:var(--tc-text); background:var(--tc-low)}
.tc-app :focus-visible {outline:2px solid var(--tc-accent); outline-offset:3px}
.tc-app h1,.tc-app h2 {margin:0; font-weight:600; line-height:1.18; letter-spacing:-.035em}
.tc-app h1 {font-size:clamp(26px,3vw,32px)}
.tc-app h2 {font-size:21px}
.tc-main {width:min(100%,1100px); margin:0 auto; padding:clamp(22px,4vw,54px) clamp(16px,4vw,48px)}
.tc-page-heading {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:24px}
.tc-card,.tc-dialog {min-width:0; background:var(--tc-paper); border:1px solid var(--tc-edge); border-radius:14px; color:var(--tc-text)}
.tc-auth-page {display:flex; flex-direction:column}
.tc-auth-main {flex:1; display:grid; align-content:center; justify-items:center; padding:34px 16px max(34px,9vh); background-image:radial-gradient(#2b3032 .8px,transparent .9px); background-size:18px 18px}
.tc-auth-card {width:min(100%,416px); padding:clamp(21px,4vw,32px); box-shadow:0 12px 32px #0004}
.tc-auth-card h1 {margin-bottom:20px}
.tc-lead {margin:9px 0 20px; color:var(--tc-muted); overflow-wrap:anywhere}
.tc-lead strong {font-weight:500; color:var(--tc-text)}
.tc-stack,.tc-field {display:grid}
.tc-stack {gap:16px}
.tc-field {gap:6px; min-width:0; font-size:14px; color:var(--tc-muted)}
.tc-field input,.tc-vault-section :is(input,select,textarea):not([type=checkbox]):not([type=radio]) {display:block; min-width:0; width:100%; padding:10px 11px; border:1px solid #41464b; border-radius:8px; background:var(--tc-page); color:var(--tc-text); font:inherit; font-size:15px}
.tc-field input::placeholder {color:#868e96; opacity:1}
.tc-button,.tc-vault-section button {display:inline-flex; justify-content:center; align-items:center; gap:6px; min-height:38px; padding:8px 13px; border:1px solid #3b4044; border-radius:8px; background:var(--tc-low); color:var(--tc-text); font:inherit; font-size:14px; font-weight:500; line-height:1.25; cursor:pointer}
.tc-button:hover,.tc-vault-section button:hover {background:#292e32}
.tc-primary {background:var(--tc-accent); border-color:var(--tc-accent); color:#111605; font-weight:600}
.tc-primary:hover {background:#c4f43b}
.tc-button:disabled,.tc-quiet:disabled {opacity:.57; cursor:default}
.tc-wide {width:100%}
.tc-sso-form {margin-top:12px}
.tc-error,.tc-feedback,.tc-global-error {margin:0; font-size:14px; overflow-wrap:anywhere}
.tc-error,.tc-global-error {color:var(--tc-error)}
.tc-feedback {color:#c9e99a}
.tc-auth-card .tc-feedback {margin-top:16px}
.tc-global-error,.tc-noscript {padding:12px clamp(16px,4vw,54px); background:#2b211b}
.tc-auth-footer {display:flex; flex-wrap:wrap; justify-content:center; gap:6px 10px; margin-top:22px; padding-top:17px; border-top:1px solid var(--tc-edge); color:var(--tc-muted); font-size:14px}
.tc-auth-footer a {color:var(--tc-accent); text-decoration-thickness:1px; text-underline-offset:.18em}
.tc-directory {overflow:hidden}
.tc-directory-head {display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:16px 18px}
.tc-directory-head .tc-field {width:min(100%,330px)}
.tc-count {color:var(--tc-muted); font-size:14px; font-variant-numeric:tabular-nums}
.tc-directory-message {padding:0 18px 12px}
.tc-directory-retry {margin:0 18px 12px}
.tc-users {width:100%; border-spacing:0; font-size:14px; text-align:left}
.tc-users th {padding:11px 14px; border-top:1px solid var(--tc-edge); background:#1b1e21; color:var(--tc-muted); font-weight:500}
.tc-users td {padding:12px 14px; border-top:1px solid var(--tc-edge); vertical-align:middle; overflow-wrap:anywhere}
.tc-users td:first-child,.tc-users th:first-child {padding-left:18px}
.tc-users td:last-child {padding-right:18px; text-align:right}
.tc-users .tc-empty {text-align:left; color:var(--tc-muted)}
.tc-status {display:inline-flex; align-items:center; gap:6px; white-space:nowrap; color:var(--tc-muted)}
.tc-status::before {content:""; height:7px; width:7px; flex-shrink:0; border-radius:50%; background:#9ba3ac}
.tc-status[data-status=active]::before {background:var(--tc-accent)}
.tc-status[data-status=pending]::before {background:#e8b769}
.tc-status[data-status=frozen]::before {background:#82b7ea}
.tc-user-actions {display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px}
.tc-user-actions .tc-button {font-size:13px; padding:6px 9px; min-height:33px}
.tc-self {display:inline-block; margin-left:6px; color:var(--tc-muted); font-size:12px}
.tc-dialog {width:min(calc(100% - 28px),430px); padding:22px; box-shadow:0 12px 40px #0007}
.tc-dialog::backdrop {background:rgb(3 5 7 / 75%)}
.tc-dialog[data-activation-dialog] .tc-actions,.tc-dialog[data-activation-dialog] .tc-feedback {margin-top:14px}
.tc-dialog [data-activation-recipient] {overflow-wrap:anywhere}
.tc-actions {display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px}
.tc-settings {max-width:840px; display:grid; gap:18px}
.tc-settings>h1 {margin-bottom:4px}
.tc-profile,.tc-vault-section {padding:clamp(18px,3vw,25px)}
.tc-profile dl {display:flex; flex-wrap:wrap; gap:4px 26px; margin:16px 0 0}
.tc-profile dt {color:var(--tc-muted)}
.tc-profile dd {margin:0; overflow-wrap:anywhere}
.tc-visually-hidden {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
@media (max-width:690px) {
  .tc-header {gap:10px; padding:12px 16px}
  .tc-nav {width:100%; gap:2px 4px}
  .tc-nav a,.tc-quiet {padding:7px 8px}
  .tc-users {display:block}
  .tc-users thead {position:absolute; clip-path:inset(50%); height:1px; width:1px; overflow:hidden}
  .tc-users tbody {display:block}
  .tc-users tr {display:grid; grid-template-columns:max-content 1fr; gap:5px 10px; padding:13px 16px; border-top:1px solid var(--tc-edge)}
  .tc-users td,.tc-users td:first-child,.tc-users td:last-child {border:0; padding:0; text-align:left}
  .tc-users td:first-child,.tc-users td:last-child {grid-column:1/-1}
  .tc-users td:first-child {font-weight:500}
  .tc-users td:nth-child(2) {color:var(--tc-muted)}
  .tc-user-actions {justify-content:flex-start; margin-top:3px}
  .tc-page-heading {margin-bottom:16px}
  .tc-field input,.tc-vault-section :is(input,select,textarea):not([type=checkbox]):not([type=radio]) {font-size:16px}
}
@media(pointer:coarse) {
  .tc-nav a,.tc-button,.tc-quiet,.tc-user-actions .tc-button,.tc-vault-section button {min-height:44px}
}
