:root {
  --background: #050505;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-solid: #101012;
  --border: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(255, 255, 255, 0.35);
  --text: #ffffff;
  --muted: #a8a8b3;
  --subtle: #74747f;
  --success: #9dffc7;
  --danger: #ff8f9c;
  --warning: #ffd28f;
  --blue: #8fbfff;
  --violet: #c7a5ff;
  --radius: 24px;
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.ambient,
.grid-background {
  position: fixed;
  pointer-events: none;
}

.ambient {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.09;
  z-index: -2;
}

.ambient-one {
  top: -260px;
  left: 14%;
  background: #ffffff;
}

.ambient-two {
  right: -320px;
  bottom: -280px;
  background: #8972ff;
}

.grid-background {
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.sidebar {
  position: fixed;
  inset: 18px auto 18px 18px;
  z-index: 30;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 22px 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(8, 8, 10, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
}

.brand-mark,
.owner-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #ffffff;
  color: #050505;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 18px;
}

.brand div:last-child,
.owner div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand span,
.owner span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.access-status {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 24px 0;
  padding: 13px;
  border: 1px solid rgba(157, 255, 199, 0.17);
  border-radius: 16px;
  background: rgba(157, 255, 199, 0.055);
}

.status-light,
.live-dot,
.online-pill span,
.system-state span {
  display: inline-block;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(157, 255, 199, 0.8);
}

.status-light {
  width: 9px;
  height: 9px;
}

.access-status div {
  display: flex;
  flex-direction: column;
}

.access-status strong {
  font-size: 12px;
}

.access-status span:last-child {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.sidebar-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}

.nav-label {
  margin: 15px 12px 7px;
  color: #6f6f79;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-item {
  display: grid;
  width: 100%;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.nav-item i {
  font-size: 19px;
}

.nav-item span:nth-child(2) {
  font-size: 13px;
  font-weight: 650;
}

.nav-item:hover {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.nav-item.active {
  border-color: rgba(255, 255, 255, 0.18);
  background: #ffffff;
  color: #050505;
}

.nav-badge {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.nav-item.active .nav-badge {
  background: rgba(5, 5, 5, 0.12);
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
}

.sidebar-footer > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: 180ms ease;
}

.sidebar-footer > a:hover {
  border-color: var(--border-bright);
  color: var(--text);
}

.owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px 0;
  border-top: 1px solid var(--border);
}

.owner-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 13px;
}

.owner strong {
  font-size: 12px;
}

.dashboard {
  width: calc(100% - var(--sidebar-width) - 54px);
  max-width: 1520px;
  min-height: 100vh;
  margin-left: calc(var(--sidebar-width) + 36px);
  padding: 38px 28px 70px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.eyebrow,
.panel-kicker {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.topbar h1 {
  margin-top: 7px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.045em;
}

.topbar p,
.section-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-chip,
.icon-button {
  height: 43px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
}

.date-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  display: grid;
  width: 43px;
  place-items: center;
  border-radius: 13px;
  cursor: pointer;
  transition: 180ms ease;
}

.icon-button:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
}

.icon-button i {
  font-size: 20px;
}

.icon-button.loading i {
  animation: rotate 700ms linear infinite;
}

.view {
  display: none;
  animation: reveal 300ms ease;
}

.view.active {
  display: block;
}

.hero-panel,
.panel,
.stat-card,
.system-card,
.toolbar {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(22px);
}

.hero-panel {
  position: relative;
  display: grid;
  min-height: 365px;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.1), transparent 27%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 50%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.live-dot {
  width: 7px;
  height: 7px;
}

.hero-copy h2 {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.hero-copy h2 span {
  color: #85858e;
}

.hero-copy p {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: 180ms ease;
}

.button.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #050505;
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.13);
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
}

.button.danger {
  border-color: rgba(255, 143, 156, 0.22);
  background: rgba(255, 143, 156, 0.11);
  color: var(--danger);
}

.button.danger:hover {
  background: rgba(255, 143, 156, 0.18);
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.hero-orbit {
  position: relative;
  display: grid;
  width: 280px;
  height: 280px;
  place-items: center;
  justify-self: end;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.orbit-ring-one {
  inset: 20px;
  animation: rotate 18s linear infinite;
}

.orbit-ring-two {
  inset: 62px;
  border-style: dashed;
  animation: rotateReverse 12s linear infinite;
}

.orbit-center {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 55px rgba(255, 255, 255, 0.08);
  transform: rotate(10deg);
}

.orbit-center i {
  font-size: 40px;
  transform: rotate(-10deg);
}

.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #050505;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.node-one {
  top: 25px;
  left: 50%;
}

.node-two {
  right: 37px;
  bottom: 58px;
}

.node-three {
  bottom: 67px;
  left: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.stat-card {
  display: flex;
  min-height: 145px;
  align-items: flex-start;
  gap: 15px;
  padding: 21px;
  border-radius: 20px;
  transition: 180ms ease;
}

.stat-card:hover,
.system-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  background: var(--surface-strong);
}

.stat-icon,
.system-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
}

.stat-icon {
  width: 41px;
  height: 41px;
  font-size: 19px;
}

.stat-icon.amber {
  background: rgba(255, 210, 143, 0.11);
  color: var(--warning);
}

.stat-icon.green {
  background: rgba(157, 255, 199, 0.11);
  color: var(--success);
}

.stat-icon.blue {
  background: rgba(143, 191, 255, 0.11);
  color: var(--blue);
}

.stat-icon.violet {
  background: rgba(199, 165, 255, 0.11);
  color: var(--violet);
}

.stat-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.stat-content > span {
  color: var(--muted);
  font-size: 11px;
}

.stat-content strong {
  margin: 5px 0 4px;
  font-size: 31px;
  letter-spacing: -0.05em;
}

.stat-content small {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.4;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 14px;
  margin-top: 14px;
}

.panel {
  border-radius: var(--radius);
  padding: 24px;
}

.panel-header,
.section-heading,
.toolbar,
.transmission-header,
.review-header,
.sync-information {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-header h3 {
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.online-pill,
.system-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(157, 255, 199, 0.16);
  border-radius: 999px;
  background: rgba(157, 255, 199, 0.055);
  color: var(--success);
  font-size: 10px;
  font-weight: 750;
}

.online-pill {
  padding: 7px 10px;
}

.online-pill span,
.system-state span {
  width: 6px;
  height: 6px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.activity-item {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.activity-icon.pending {
  color: var(--warning);
}

.activity-icon.approved {
  color: var(--success);
}

.activity-icon.transmission {
  color: var(--blue);
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy span,
.activity-time {
  color: var(--subtle);
  font-size: 10px;
}

.activity-copy span {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-panel {
  display: flex;
  flex-direction: column;
}

.queue-visual {
  display: grid;
  flex: 1;
  min-height: 210px;
  place-items: center;
}

.queue-ring {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#ffffff 0%, rgba(255, 255, 255, 0.08) 0);
  transition: background 400ms ease;
}

.queue-ring::before {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #0b0b0d;
  content: "";
}

.queue-ring > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.queue-ring strong {
  font-size: 27px;
  letter-spacing: -0.05em;
}

.queue-ring span {
  color: var(--muted);
  font-size: 10px;
}

.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
}

.queue-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.queue-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.queue-dot.pending {
  background: var(--warning);
}

.queue-dot.approved {
  background: var(--success);
}

.text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.section-heading {
  margin: 10px 0 26px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.055em;
}

.section-count {
  display: flex;
  min-width: 132px;
  flex-direction: column;
  padding: 17px 20px;
  border-left: 1px solid var(--border);
}

.section-count strong {
  font-size: 25px;
}

.section-count span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.toolbar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 18px;
}

.filter-tabs {
  display: flex;
  gap: 5px;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.filter-button span {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
}

.filter-button.active {
  border-color: var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.search-box {
  display: flex;
  width: min(280px, 100%);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.search-box i {
  color: var(--subtle);
  font-size: 17px;
}

.search-box input {
  width: 100%;
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
}

.search-box input::placeholder {
  color: #686871;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card,
.transmission-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  transition: 180ms ease;
}

.review-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 21px;
  border-radius: 21px;
}

.review-card:hover,
.transmission-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

.review-person,
.transmission-person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  font-size: 13px;
  font-weight: 850;
}

.review-person div:last-child,
.transmission-person div:last-child {
  min-width: 0;
}

.review-person strong,
.transmission-person strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-person span,
.transmission-person span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--subtle);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  padding: 6px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pill.pending {
  border-color: rgba(255, 210, 143, 0.2);
  background: rgba(255, 210, 143, 0.08);
  color: var(--warning);
}

.status-pill.public {
  border-color: rgba(157, 255, 199, 0.2);
  background: rgba(157, 255, 199, 0.08);
  color: var(--success);
}

.review-stars {
  margin: 19px 0 12px;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.review-message,
.transmission-message {
  color: #c3c3cb;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.review-message {
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.small-button {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  transition: 180ms ease;
}

.small-button:hover {
  border-color: var(--border-bright);
  background: var(--surface-strong);
}

.small-button.approve {
  border-color: rgba(157, 255, 199, 0.2);
  color: var(--success);
}

.small-button.delete {
  border-color: rgba(255, 143, 156, 0.2);
  color: var(--danger);
}

.small-button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.inbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
  color: var(--muted);
  font-size: 11px;
}

.transmission-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transmission-card {
  padding: 21px;
  border-radius: 21px;
}

.transmission-content {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.transmission-message {
  padding: 3px 0;
}

.transmission-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.system-state {
  padding: 9px 13px;
}

.system-state.offline {
  border-color: rgba(255, 143, 156, 0.2);
  background: rgba(255, 143, 156, 0.08);
  color: var(--danger);
}

.system-state.offline span {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 143, 156, 0.7);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.system-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border-radius: 21px;
  transition: 180ms ease;
}

.system-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: var(--surface-strong);
  font-size: 20px;
}

.system-card > span {
  color: var(--muted);
  font-size: 10px;
}

.system-card strong {
  margin: 6px 0;
  font-size: 17px;
}

.system-card small {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.5;
}

.endpoint-panel {
  margin-top: 14px;
}

.endpoint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.endpoint-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.endpoint-row span {
  color: var(--muted);
  font-size: 10px;
}

.endpoint-row code {
  overflow: hidden;
  color: #d6d6dc;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.sync-information {
  margin-top: 20px;
  padding-top: 3px;
}

.sync-information > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sync-information span {
  color: var(--muted);
  font-size: 10px;
}

.sync-information strong {
  font-size: 12px;
}

.empty-state {
  display: grid;
  min-height: 250px;
  place-items: center;
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.empty-state i {
  display: block;
  margin-bottom: 12px;
  color: #686871;
  font-size: 32px;
}

.empty-state strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.empty-state span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.confirm-dialog {
  width: min(420px, calc(100% - 32px));
  margin: auto;
  padding: 29px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #101012;
  color: var(--text);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.75);
}

.confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 143, 156, 0.11);
  color: var(--danger);
  font-size: 24px;
}

.confirm-dialog h3 {
  font-size: 20px;
}

.confirm-dialog p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}

.toast-zone {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 100;
  display: flex;
  width: min(360px, calc(100% - 32px));
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(16, 16, 18, 0.93);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
  animation: toastIn 260ms ease;
}

.toast.out {
  animation: toastOut 260ms ease forwards;
}

.toast-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-strong);
  font-size: 18px;
}

.toast.success .toast-symbol {
  color: var(--success);
}

.toast.error .toast-symbol {
  color: var(--danger);
}

.toast.info .toast-symbol {
  color: var(--blue);
}

.toast-copy strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.toast-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  gap: 17px;
  background: #050505;
  text-align: center;
  transition: 450ms ease;
}

.loading-screen.hidden {
  visibility: hidden;
  opacity: 0;
}

.loading-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: auto;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 19px;
  background: var(--surface);
  animation: loadingPulse 1.4s ease-in-out infinite;
}

.loading-mark span {
  font-size: 22px;
  font-weight: 900;
}

.loading-screen p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mobile-menu,
.sidebar-overlay {
  display: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes loadingPulse {
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.08);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@media (max-width: 1180px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    grid-template-columns: 1fr 240px;
  }

  .hero-orbit {
    width: 220px;
    height: 220px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sidebar {
    inset: 12px auto 12px 12px;
    transform: translateX(calc(-100% - 25px));
    transition: 250ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
  }

  .sidebar-overlay.open {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 17px;
    left: 17px;
    z-index: 24;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(8, 8, 10, 0.82);
    font-size: 21px;
    backdrop-filter: blur(20px);
  }

  .dashboard {
    width: 100%;
    margin-left: 0;
    padding: 80px 18px 60px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .transmission-content {
    grid-template-columns: 1fr;
  }

  .transmission-actions {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
}

@media (max-width: 620px) {
  .dashboard {
    padding-right: 13px;
    padding-left: 13px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
  }

  .date-chip {
    flex: 1;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 125px;
  }

  .hero-panel {
    min-height: 430px;
    padding: 28px 21px;
  }

  .hero-copy h2 {
    font-size: 43px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-count {
    width: 100%;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-tabs {
    overflow-x: auto;
  }

  .search-box {
    width: 100%;
  }

  .review-header {
    align-items: flex-start;
  }

  .toast-zone {
    top: 74px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .sync-information {
    align-items: stretch;
    flex-direction: column;
  }
}