:root {
  --semantic-info: #63a8ff;
  --semantic-info-soft: rgba(99, 168, 255, 0.14);
  --semantic-success: #43d6a3;
  --semantic-success-soft: rgba(67, 214, 163, 0.14);
  --semantic-warning: #f4bd5f;
  --semantic-warning-soft: rgba(244, 189, 95, 0.14);
  --semantic-danger: #ff7f8d;
  --semantic-danger-soft: rgba(255, 127, 141, 0.14);
}

body.public-v2-site .premium-hero {
  isolation: isolate;
}

body.public-v2-site .premium-hero::after {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -12%;
  width: min(50vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 160, 255, 0.13), transparent 68%);
  content: "";
  filter: blur(14px);
  pointer-events: none;
}

body.public-v2-site .hero-copy {
  max-width: 62ch;
}

body.public-v2-site .prototype-status-bar {
  position: absolute;
  z-index: 9;
  top: 2px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(99, 168, 255, 0.25);
  border-radius: 999px;
  background: rgba(3, 12, 23, 0.82);
  color: #dcecff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

body.public-v2-site .prototype-status-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--semantic-success);
  box-shadow: 0 0 0 5px var(--semantic-success-soft), 0 0 18px rgba(67, 214, 163, 0.7);
  animation: prototype-presence 2.4s ease-in-out infinite;
}

body.public-v2-site .prototype-status-bar small {
  color: var(--v2-muted-strong);
  font-weight: 600;
}

body.public-v2-site .prototype-skeleton {
  position: absolute;
  z-index: 8;
  top: 46px;
  right: 0;
  display: grid;
  width: min(420px, 72%);
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(122, 166, 203, 0.2);
  border-radius: 26px;
  background: rgba(5, 17, 31, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  transition: opacity 380ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1), visibility 380ms;
  backdrop-filter: blur(18px);
}

body.public-v2-site .prototype-skeleton::before {
  width: 44%;
  height: 12px;
  border-radius: 999px;
  background: rgba(176, 203, 226, 0.14);
  content: "";
}

body.public-v2-site .prototype-skeleton-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

body.public-v2-site .prototype-skeleton-avatar,
body.public-v2-site .prototype-skeleton-line,
body.public-v2-site .prototype-skeleton-card {
  position: relative;
  overflow: hidden;
  background: rgba(176, 203, 226, 0.1);
}

body.public-v2-site .prototype-skeleton-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

body.public-v2-site .prototype-skeleton-copy {
  display: grid;
  gap: 8px;
}

body.public-v2-site .prototype-skeleton-line {
  height: 10px;
  border-radius: 999px;
}

body.public-v2-site .prototype-skeleton-line:last-child {
  width: 68%;
}

body.public-v2-site .prototype-skeleton-card {
  height: 92px;
  border-radius: 18px;
}

body.public-v2-site .prototype-skeleton-avatar::after,
body.public-v2-site .prototype-skeleton-line::after,
body.public-v2-site .prototype-skeleton-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.13) 48%, transparent 78%);
  content: "";
  transform: translateX(-110%);
  animation: prototype-shimmer 1.15s ease-in-out infinite;
}

body.public-v2-site .hero-system.is-ready .prototype-skeleton {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

body.public-v2-site .mini-admin-pipeline > div > i[data-status="new"] {
  border-color: rgba(99, 168, 255, 0.28);
  background: var(--semantic-info-soft);
  color: var(--semantic-info);
}

body.public-v2-site .mini-admin-pipeline > div > i[data-status="booked"] {
  border-color: rgba(67, 214, 163, 0.28);
  background: var(--semantic-success-soft);
  color: var(--semantic-success);
}

body.public-v2-site .mini-admin-pipeline > div > b[data-confidence="high"] {
  color: var(--semantic-success);
}

body.public-v2-site .mini-admin-pipeline > div > b[data-confidence="medium"] {
  color: var(--semantic-warning);
}

.site-breadcrumbs {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  color: var(--v2-muted-strong, #a9bfd2);
  font-size: 0.78rem;
}

.site-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-breadcrumbs li + li::before {
  margin-right: 8px;
  color: rgba(169, 191, 210, 0.5);
  content: "/";
}

.site-breadcrumbs a {
  color: var(--semantic-info);
  text-decoration: none;
}

.site-breadcrumbs a:hover {
  text-decoration: underline;
}

.site-breadcrumbs.has-page-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-breadcrumbs .page-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: #d4f9fb;
  background: rgba(14, 61, 79, .7);
  border: 1px solid rgba(74, 207, 222, .5);
  border-radius: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease;
}

.site-breadcrumbs .page-back-link:hover,
.site-breadcrumbs .page-back-link:focus-visible {
  color: #fff;
  background: rgba(20, 100, 125, .82);
  border-color: #6ee4ed;
  text-decoration: none;
}

.site-breadcrumbs .page-back-link:focus-visible { outline: 2px solid #9af3f5; outline-offset: 3px; }

@media (max-width: 520px) {
  .site-breadcrumbs.has-page-back { flex-wrap: wrap; }
  .site-breadcrumbs .page-back-link { min-height: 36px; }
}

.not-found-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 14%, rgba(38, 221, 196, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(43, 140, 255, 0.14), transparent 32%),
    #030814;
  color: #f5f9ff;
}

.not-found-main {
  display: grid;
  min-height: calc(100vh - 170px);
  place-items: center;
  padding: 64px 20px 96px;
}

.not-found-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(34px, 7vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(99, 168, 255, 0.22);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(11, 29, 49, 0.93), rgba(4, 14, 27, 0.96));
  text-align: center;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.42);
}

.not-found-code {
  display: block;
  margin-bottom: 10px;
  color: var(--semantic-info);
  font: 800 clamp(4.8rem, 17vw, 9rem)/0.9 "Orbitron", "Segoe UI", sans-serif;
  letter-spacing: -0.08em;
  text-shadow: 0 0 48px rgba(43, 140, 255, 0.28);
}

.not-found-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.not-found-card p {
  max-width: 52ch;
  margin: 18px auto 28px;
  color: #aec3d6;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

body.public-v2-site :focus-visible,
.not-found-site :focus-visible {
  outline: 3px solid #8fc5ff;
  outline-offset: 4px;
}

@keyframes prototype-shimmer {
  to { transform: translateX(110%); }
}

@keyframes prototype-presence {
  50% { box-shadow: 0 0 0 8px rgba(67, 214, 163, 0.06), 0 0 24px rgba(67, 214, 163, 0.78); }
}

@media (max-width: 800px) {
  body.public-v2-site .prototype-status-bar {
    position: relative;
    top: auto;
    right: auto;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    margin-bottom: -28px;
  }

  body.public-v2-site .prototype-skeleton {
    top: 64px;
    right: 5%;
    width: 90%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.public-v2-site .prototype-status-bar i,
  body.public-v2-site .prototype-skeleton-avatar::after,
  body.public-v2-site .prototype-skeleton-line::after,
  body.public-v2-site .prototype-skeleton-card::after {
    animation: none !important;
  }

  body.public-v2-site .prototype-skeleton {
    display: none;
  }
}
