* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #0f1115;
  color: #e8eaed;
  min-height: 100vh;
}

/* Обёртка кабинета: в полноэкран уходит вся зона (видео + кнопки + модалки), не только <video>. */
.cabinet-fullscreen-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(15, 17, 21, 0.95), transparent);
  pointer-events: none;
}

.top-bar > * {
  pointer-events: auto;
}

/* Одна колонка слева: ФИО, «Удалить регистрацию», кнопки — без наложения fixed друг на друга */
.page-cabinet .cabinet-left-rail {
  position: fixed;
  top: 56px;
  left: 12px;
  z-index: 2147483645;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: min(92vw, 22rem);
  pointer-events: none;
}

.page-cabinet .cabinet-left-rail > * {
  pointer-events: auto;
}

.page-cabinet .cabinet-top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  pointer-events: auto;
}

.page-cabinet .cabinet-top-actions .cabinet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  min-height: 3rem;
  padding: 0 1rem;
}

/* Под рамкой окна (Electron / WebView): иначе верх обрезается title bar */
.corner-hud {
  position: fixed;
  top: 56px;
  right: 12px;
  z-index: 2147483646;
  pointer-events: none;
  max-width: calc(100vw - 20px);
}

.corner-hud > * {
  pointer-events: auto;
}

.btn-register {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.45rem 0.7rem 0.4rem;
  border-radius: 10px;
  border: 1px solid #3d4450;
  background: transparent;
  box-shadow: none;
  min-width: 5.5rem;
  font: inherit;
  color: #e8eaed;
  cursor: pointer;
}

.btn-register__score {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 2px #000, 0 1px 3px #000;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  pointer-events: none;
}

.btn-register__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
  pointer-events: none;
}

.btn-register--score-idle .btn-register__score {
  color: #e0e4ec;
}

.btn-register--score-low .btn-register__score {
  color: #ffb74d;
}

.btn-register--score-mid .btn-register__score {
  color: #dce775;
}

.btn-register--score-high .btn-register__score {
  color: #a5d6a7;
}

.recognized-fio {
  max-width: min(55vw, 22rem);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(34, 197, 94, 0.65);
  box-shadow: none;
  color: #22c55e;
}

.btn-unregister {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  color: #ff8a80;
  background: transparent;
  border: 1px solid rgba(255, 112, 100, 0.55);
  box-shadow: none;
}

.btn-unregister[hidden] {
  display: none !important;
}

.btn-unregister:disabled {
  cursor: wait;
  opacity: 0.65;
}

.btn-unregister:not(:disabled):hover {
  background: rgba(255, 112, 100, 0.08);
  border-color: rgba(255, 138, 128, 0.75);
  color: #ffccbc;
}

.btn-register:disabled {
  cursor: not-allowed;
  opacity: 0.88;
}

.btn-register:disabled .btn-register__label {
  opacity: 0.55;
}

.btn-register:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Кабинет: кнопки — зелёный текст/акцент; «Удалить регистрацию» — красный (см. .btn-unregister) */
.page-cabinet .modal .btn-primary {
  background: transparent;
  border: 1px solid rgba(34, 197, 94, 0.85);
  color: #22c55e;
}

.page-cabinet .modal .modal-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-cabinet .cabinet-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
  border-radius: 8px;
  transition:
    border-color 0.35s ease-in-out,
    color 0.35s ease-in-out,
    box-shadow 0.2s ease;
}

.page-cabinet .cabinet-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.35s ease-in-out;
}

.page-cabinet .cabinet-btn:hover::before,
.page-cabinet .cabinet-btn:focus-visible::before {
  transform: translateX(0);
}

.page-cabinet .cabinet-btn:disabled::before {
  transform: translateX(-100%);
}

.page-cabinet .modal .btn-primary.cabinet-btn::before {
  background-color: rgba(34, 197, 94, 0.28);
}

.page-cabinet .cabinet-btn.btn-secondary {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.55);
}

.page-cabinet .cabinet-btn:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.95);
  outline-offset: 2px;
}

.page-cabinet .cabinet-top-actions .cabinet-btn:hover,
.page-cabinet .cabinet-top-actions .cabinet-btn:focus-visible {
  border-color: rgba(74, 222, 128, 0.9);
  color: #4ade80;
}

.page-cabinet .modal .btn-primary.cabinet-btn:hover,
.page-cabinet .modal .btn-primary.cabinet-btn:focus-visible {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.95);
}

.page-cabinet .modal .btn-secondary.cabinet-btn:hover,
.page-cabinet .modal .btn-secondary.cabinet-btn:focus-visible {
  border-color: rgba(74, 222, 128, 0.9);
  color: #4ade80;
}

.page-cabinet .btn-register {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.55);
}

.page-cabinet .btn-register:not(:disabled):hover {
  border-color: rgba(74, 222, 128, 0.75);
}

.page-cabinet .btn-register--score-idle .btn-register__score {
  color: #22c55e;
}

.page-cabinet .btn-register--score-high .btn-register__score {
  color: #4ade80;
}

.main {
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-banner {
  width: 100%;
  max-width: 960px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #b8c0cc;
}

.status-banner[hidden] {
  display: none !important;
}

.status-banner.is-error {
  color: #ffb4a9;
}

.video-wrap {
  flex: 1;
  width: 100%;
  max-width: 960px;
  padding: 0 1rem 1rem;
}

#video {
  width: 100%;
  max-height: calc(100vh - 6rem);
  border-radius: 12px;
  background: #000;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Полноэкран: корень — вся страница кабинета; видео тянется без искажений (object-fit: cover). */
.page-cabinet .cabinet-fullscreen-root:fullscreen,
.page-cabinet .cabinet-fullscreen-root:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #0f1115;
  overflow: hidden;
}

.page-cabinet .cabinet-fullscreen-root:fullscreen .main,
.page-cabinet .cabinet-fullscreen-root:-webkit-full-screen .main {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
}

.page-cabinet .cabinet-fullscreen-root:fullscreen .video-wrap,
.page-cabinet .cabinet-fullscreen-root:-webkit-full-screen .video-wrap {
  flex: 1;
  min-height: 0;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-cabinet .cabinet-fullscreen-root:fullscreen #video,
.page-cabinet .cabinet-fullscreen-root:-webkit-full-screen #video {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

/* Иначе `display: flex` перебивает стандартное скрытие по атрибуту hidden */
.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.camera-picker-overlay {
  z-index: 60;
}

.camera-picker-hint {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #9aa3b2;
}

.camera-picker-note {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: #6b7380;
  line-height: 1.35;
}

.camera-select {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #3d4450;
  background: #12151c;
  color: #e8eaed;
  width: 100%;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: #1a1e26;
  border: 1px solid #333945;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.modal h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #b8c0cc;
}

.field input {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #3d4450;
  background: #12151c;
  color: #e8eaed;
}

.form-error {
  color: #ffb4a9;
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.btn-primary,
.btn-secondary {
  font: inherit;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
}

.btn-primary {
  border: 1px solid #2a6fdb;
  background: #2a6fdb;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #3d4450;
  background: transparent;
  color: #e8eaed;
}

.btn-leave-cabinet {
  pointer-events: auto;
}

/* --- Страница входа: 3D-фон «Электронный табель» (только .page-gate) --- */
body.page-gate {
  background: #0a0a0a;
  overflow-x: hidden;
}

/* Верхнее меню: вход и заглушки-страницы (не cabinet/admin) */
.gate-site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gate-site-nav__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.gate-site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.gate-site-nav__list a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #c4c9d4;
  text-decoration: none;
  padding: 0.35rem 0.25rem;
  border-radius: 6px;
}

.gate-site-nav__list a:hover {
  color: #e8eaed;
}

.gate-site-nav__list a:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.85);
  outline-offset: 2px;
}

.gate-site-nav__list a[aria-current='page'] {
  color: #e8eaed;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.page-placeholder {
  margin: 0;
  min-height: 100vh;
  background: #0a0a0a;
  color: #e8eaed;
  padding-top: 3.75rem;
}

.placeholder-main {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.placeholder-main h1 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.placeholder-main p {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: #9aa0a6;
  line-height: 1.45;
}

.placeholder-main a {
  color: #7eb8ff;
}

.placeholder-main a:hover {
  color: #a8d4ff;
}

.trial-restrictions {
  color: #c4c9d4;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.trial-captcha-block {
  margin: 0 0 1.25rem;
  padding: 1rem 1rem 0.25rem;
  border-radius: 10px;
  border: 1px solid #2a303c;
  background: #12151c;
}

.trial-captcha-question {
  margin: 0 0 0.75rem;
  color: #e8eaed;
  font-size: 1rem;
}

.trial-captcha-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #9aa0a6;
}

.trial-captcha-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.trial-captcha-options .trial-choice-btn {
  min-width: 5.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #3d4555;
  background: #1a1f28;
  color: #e8eaed;
  font-size: 0.9375rem;
  cursor: pointer;
}

.trial-captcha-options .trial-choice-btn:hover:not(:disabled) {
  border-color: #5a6578;
  background: #232a36;
}

.trial-captcha-options .trial-choice-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.trial-captcha-actions {
  margin: 0 0 0.5rem;
}

.trial-issue-result {
  padding: 1rem 1rem 0.25rem;
  border-radius: 10px;
  border: 1px solid #2a303c;
  background: #12151c;
}

.trial-issue-result p {
  color: #c4c9d4;
}

.trial-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.trial-token-field {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #2a303c;
  background: #0d0f14;
  color: #e8eaed;
  font-size: 0.8125rem;
}

.placeholder-main--wide {
  max-width: min(100%, 48rem);
}

.ref-md-error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 138, 128, 0.55);
  color: #ffb4a9;
  font-size: 0.875rem;
}

.ref-md-loading {
  margin: 0;
  color: #9aa0a6;
  font-size: 0.9375rem;
}

.ref-md-back {
  margin: 2rem 0 0;
  font-size: 0.875rem;
}

.ref-md-body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #d1d5db;
}

.ref-md-body h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8eaed;
  line-height: 1.25;
}

.ref-md-body h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e8eaed;
}

.ref-md-body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e0e4ec;
}

.ref-md-body p {
  margin: 0 0 0.85rem;
  color: #c4c9d4;
}

.ref-md-body ul,
.ref-md-body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: #c4c9d4;
}

.ref-md-body li {
  margin-bottom: 0.35rem;
}

.ref-md-body a {
  color: #7eb8ff;
}

.ref-md-body a:hover {
  color: #a8d4ff;
}

.ref-md-body code {
  font-size: 0.85em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #2a303c;
}

.ref-md-body pre {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-radius: 8px;
  background: #0d0f14;
  border: 1px solid #2a303c;
  font-size: 0.8125rem;
}

.ref-md-body pre code {
  border: none;
  background: none;
  padding: 0;
}

.ref-md-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
}

.ref-md-body th,
.ref-md-body td {
  border: 1px solid #2a303c;
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.ref-md-body th {
  background: rgba(255, 255, 255, 0.04);
  color: #e8eaed;
  font-weight: 600;
}

.ref-md-body hr {
  border: none;
  border-top: 1px solid #2a303c;
  margin: 1.5rem 0;
}

@keyframes gate-3d-wobble {
  0%,
  100% {
    transform: rotate3d(1, 1, 0, 40deg);
  }
  25% {
    transform: rotate3d(-1, 1, 0, 40deg);
  }
  50% {
    transform: rotate3d(-1, -1, 0, 40deg);
  }
  75% {
    transform: rotate3d(1, -1, 0, 40deg);
  }
}

@keyframes gate-3d-glow {
  0%,
  100% {
    text-shadow: 0 0 30px red;
  }
  25% {
    text-shadow: 0 0 30px orange;
  }
  50% {
    text-shadow: 0 0 30px forestgreen;
  }
  75% {
    text-shadow: 0 0 30px cyan;
  }
}

@keyframes gate-3d-fall {
  0% {
    transform: translateY(-38vh);
  }
  100% {
    transform: translateY(38vh);
  }
}

.gate-3d-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  perspective: 720px;
  background: #0a0a0a;
  overflow: hidden;
}

.gate-3d-float {
  transform-style: preserve-3d;
  animation: gate-3d-fall 22s ease-in-out infinite alternate;
}

.gate-3d-figure {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: min(100%, 34rem);
  min-height: clamp(9rem, 26vw, 16rem);
  transform-origin: center center;
  transform-style: preserve-3d;
  animation: gate-3d-wobble 5s ease-in-out infinite;
}

.gate-3d-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  padding: 0 0.35rem;
  margin: 0;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(2.25rem, 8vw + 1rem, 6.5rem);
  font-family: 'Concert One', 'Oswald', sans-serif;
  color: #0a0a0a;
  animation: gate-3d-glow 10s ease-in-out infinite;
  transform: translate(-50%, -50%) translateZ(0);
}

.gate-3d-layer:nth-child(2) {
  transform: translate(-50%, -50%) translateZ(5px);
}
.gate-3d-layer:nth-child(3) {
  transform: translate(-50%, -50%) translateZ(10px);
}
.gate-3d-layer:nth-child(4) {
  transform: translate(-50%, -50%) translateZ(15px);
}
.gate-3d-layer:nth-child(5) {
  transform: translate(-50%, -50%) translateZ(20px);
}
.gate-3d-layer:nth-child(6) {
  transform: translate(-50%, -50%) translateZ(25px);
}
.gate-3d-layer:nth-child(7) {
  transform: translate(-50%, -50%) translateZ(30px);
}
.gate-3d-layer:nth-child(8) {
  transform: translate(-50%, -50%) translateZ(35px);
}
.gate-3d-layer:nth-child(9) {
  transform: translate(-50%, -50%) translateZ(40px);
}
.gate-3d-layer:nth-child(10) {
  transform: translate(-50%, -50%) translateZ(45px);
}

@media (prefers-reduced-motion: reduce) {
  .gate-3d-float {
    animation: none;
    transform: none;
  }

  .gate-3d-figure {
    animation: none;
    transform: rotate3d(1, 1, 0, 32deg);
  }

  .gate-3d-layer {
    animation: none;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  }
}

body.page-gate .gate-page {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: 4.25rem;
}

.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gate-card {
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #2a303c;
  background: #161a22;
}

body.page-gate .gate-card {
  background: rgba(22, 26, 34, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gate-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.gate-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #9aa0a6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate-input {
  width: 100%;
}

.gate-submit {
  width: 100%;
}

.admin-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-title {
  margin: 0;
  font-size: 1.35rem;
}

.admin-section {
  margin-bottom: 2rem;
}

.admin-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.admin-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #c4c7cc;
}

.admin-cabinet-root > .admin-cabinet-block {
  margin-bottom: 1.25rem;
}

.admin-cabinet-head {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.admin-token-hint {
  margin: 0 0 0.5rem;
  max-width: 36rem;
}

.admin-token-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.admin-token-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #2a303c;
  background: #12151c;
}

.admin-token-meta-block {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.admin-token-meta {
  font-size: 0.8125rem;
  color: #b8bcc4;
}

.admin-token-plain {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: #0d0f14;
  border: 1px solid #2a303c;
  font-size: 0.8rem;
  word-break: break-all;
  color: #e8eaed;
}

.admin-token-missing {
  margin: 0;
  font-size: 0.8rem;
}

.admin-token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-token-empty {
  font-size: 0.875rem;
  color: #9aa0a6;
  margin: 0;
  padding: 0.25rem 0;
}

.admin-hint {
  color: #9aa0a6;
  font-size: 0.875rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-success {
  margin: 0;
  font-size: 0.875rem;
  color: #81c995;
  word-break: break-all;
}
