.nav-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(139, 202, 255, 0.08);
  border-radius: 18px;
  background: rgba(8, 20, 31, 0.58);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-link:hover {
  border-color: rgba(139, 202, 255, 0.18);
  background: rgba(10, 26, 42, 0.8);
  transform: translateY(-1px);
}

.nav-link.is-active {
  border-color: rgba(88, 224, 255, 0.22);
  background: linear-gradient(180deg, rgba(14, 35, 54, 0.92), rgba(8, 20, 31, 0.84));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(88, 224, 255, 0.08);
  border: 1px solid rgba(88, 224, 255, 0.14);
  color: rgba(223, 248, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link:hover .nav-icon {
  color: rgba(244, 252, 255, 0.98);
  background: rgba(88, 224, 255, 0.12);
  border-color: rgba(88, 224, 255, 0.2);
  box-shadow: 0 10px 18px rgba(1, 12, 21, 0.18);
}

.nav-link.is-active .nav-icon {
  color: rgba(248, 253, 255, 0.98);
  background: linear-gradient(180deg, rgba(88, 224, 255, 0.18), rgba(88, 224, 255, 0.08));
  border-color: rgba(88, 224, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(1, 12, 21, 0.2);
}

.nav-copy {
  display: grid;
  gap: 5px;
}

.nav-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.nav-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.status-chip,
.session-chip,
.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 18, 29, 0.7);
}

.status-chip {
  color: rgba(223, 248, 255, 0.92);
}

.status-chip.is-preview {
  border-color: rgba(241, 196, 111, 0.22);
  background: rgba(57, 42, 11, 0.36);
}

.status-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(88, 224, 255, 0.32);
}

.status-chip.is-preview .status-chip-dot {
  background: var(--warning);
  box-shadow: 0 0 14px rgba(241, 196, 111, 0.32);
}

.session-chip {
  display: grid;
  gap: 2px;
  padding-block: 8px;
}

.session-chip-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-chip strong,
.admin-chip strong {
  font-size: 14px;
  font-weight: 600;
}

.admin-chip {
  display: grid;
  gap: 2px;
  padding-block: 8px;
}

.admin-chip small {
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.ghost-button,
.button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.primary-button[disabled],
.ghost-button[disabled],
.button-link[aria-disabled="true"] {
  opacity: 0.56;
  cursor: default;
  pointer-events: none;
  transform: none;
}

.primary-button {
  border: 1px solid rgba(88, 224, 255, 0.22);
  background: linear-gradient(180deg, rgba(25, 130, 179, 0.96), rgba(12, 93, 131, 0.96));
  color: #f5fdff;
  box-shadow: 0 18px 34px rgba(3, 26, 41, 0.36);
}

.primary-button:hover,
.ghost-button:hover,
.button-link:hover {
  transform: translateY(-1px);
}

.button-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.button-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.button-shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -44%;
  width: 38%;
  height: 140%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: transform 260ms ease, opacity 180ms ease;
}

.primary-button:hover .button-shine::after,
.button-link:hover .button-shine::after {
  transform: translateX(200%) rotate(16deg);
  opacity: 1;
}

.ghost-button {
  border: 1px solid rgba(139, 202, 255, 0.16);
  background: rgba(8, 20, 31, 0.7);
  color: rgba(223, 248, 255, 0.92);
}

.button-link {
  border: 1px solid rgba(88, 224, 255, 0.22);
  background: linear-gradient(180deg, rgba(25, 130, 179, 0.96), rgba(12, 93, 131, 0.96));
}

.state-panel {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(11, 28, 44, 0.86), rgba(6, 18, 29, 0.82));
  box-shadow: var(--shadow-soft);
}

.state-panel-head {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.state-panel-head h2,
.state-panel-head h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.state-panel-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.state-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
}

.state-dot.is-info {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(88, 224, 255, 0.34);
}

.state-dot.is-error {
  background: var(--error);
  box-shadow: 0 0 18px rgba(240, 154, 144, 0.24);
}

.state-actions {
  margin-top: 18px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.skeleton-card {
  min-height: 124px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.05), rgba(255, 255, 255, 0.08), rgba(88, 224, 255, 0.05));
  background-size: 220% 100%;
  animation: shimmer 1.35s linear infinite;
}

.skeleton-card-wide {
  grid-column: 1 / -1;
  min-height: 152px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.28;
}

.panel-head-with-action {
  align-items: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.info-item {
  padding: 16px 16px 14px;
  border: 1px solid rgba(139, 202, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 18, 29, 0.46);
}

.info-item dt {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-item dd {
  margin: 0;
  color: #f8fdff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quick-link {
  display: grid;
  gap: 7px;
  min-height: 114px;
  padding: 18px;
  border: 1px solid rgba(139, 202, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 23, 37, 0.8), rgba(6, 16, 26, 0.72));
  text-align: left;
}

.quick-link strong {
  font-size: 16px;
  line-height: 1.35;
}

.quick-link span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.quick-link:hover {
  border-color: rgba(88, 224, 255, 0.18);
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.92), rgba(7, 18, 29, 0.84));
}

.module-state {
  padding: 18px 18px 16px;
  border: 1px solid rgba(139, 202, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 18, 29, 0.46);
}

.batch-list {
  display: grid;
  gap: 14px;
}

.batch-item {
  padding: 18px 18px 16px;
  border: 1px solid rgba(139, 202, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 23, 37, 0.8), rgba(6, 16, 26, 0.72));
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.batch-item:hover {
  border-color: rgba(88, 224, 255, 0.18);
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.92), rgba(7, 18, 29, 0.84));
  transform: translateY(-1px);
}

.batch-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.batch-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.batch-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(88, 224, 255, 0.14);
  background: rgba(88, 224, 255, 0.08);
  color: rgba(223, 248, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.meta-pill.is-muted {
  border-color: rgba(139, 202, 255, 0.08);
  background: rgba(139, 202, 255, 0.04);
  color: rgba(195, 217, 232, 0.78);
}

.batch-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.batch-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.stat-card {
  padding: 12px 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(139, 202, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

.inline-skeleton-list {
  display: grid;
  gap: 12px;
}

.inline-skeleton-item {
  min-height: 104px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.05), rgba(255, 255, 255, 0.08), rgba(88, 224, 255, 0.05));
  background-size: 220% 100%;
  animation: shimmer 1.35s linear infinite;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-item {
  padding: 18px 18px 16px;
  border: 1px solid rgba(139, 202, 255, 0.08);
  border-radius: 18px;
  background: rgba(7, 18, 29, 0.44);
}

.guide-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.guide-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.entry-desc {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.entry-panel h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.14;
}

.entry-actions {
  margin-top: 24px;
}

.field-stack {
  display: grid;
  gap: 18px;
}

.field-block {
  display: grid;
  gap: 10px;
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-label {
  color: #f3fbff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field-caption {
  color: rgba(195, 217, 232, 0.74);
  font-size: 12px;
  line-height: 1.6;
}

.input-shell {
  position: relative;
  border: 1px solid rgba(139, 202, 255, 0.12);
  border-radius: 18px;
  background: rgba(6, 18, 29, 0.78);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.input-shell:focus-within {
  border-color: rgba(88, 224, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(88, 224, 255, 0.08);
  background: rgba(8, 21, 34, 0.92);
}

.field-block.is-invalid .input-shell {
  border-color: rgba(240, 154, 144, 0.42);
  box-shadow: 0 0 0 4px rgba(240, 154, 144, 0.08);
}

.text-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.text-input::placeholder {
  color: rgba(155, 180, 199, 0.5);
}

.text-input[disabled] {
  cursor: not-allowed;
  opacity: 0.72;
}

.field-feedback {
  min-height: 20px;
  color: var(--error);
  font-size: 12px;
  line-height: 1.6;
}

.inline-status {
  padding: 15px 16px;
  border: 1px solid rgba(139, 202, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 18, 29, 0.56);
}

.inline-status.is-error {
  border-color: rgba(240, 154, 144, 0.24);
  background: rgba(48, 18, 20, 0.36);
}

.inline-status.is-info {
  border-color: rgba(88, 224, 255, 0.16);
}

.inline-status h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.inline-status p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid rgba(139, 202, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 18, 29, 0.92);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.toast.is-warning {
  border-color: rgba(241, 196, 111, 0.2);
}

.toast.is-success {
  border-color: rgba(103, 243, 194, 0.24);
  background: rgba(8, 24, 24, 0.92);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -20% 0;
  }
}

@media (max-width: 1180px) {
  .info-grid,
  .guide-grid,
  .batch-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .panel-head,
  .batch-item-top {
    flex-direction: column;
  }

  .quick-grid,
  .info-grid,
  .guide-grid,
  .batch-stats,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .toast-host {
    right: 16px;
    bottom: 16px;
  }
}
