
.inline-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #1f64ff, #13c8dc);
  animation: progressPulse 1s ease-in-out infinite;
}

.inline-progress.volume-fetch-progress {
  width: 280px !important;
  max-width: 280px !important;
  margin: 8px 0 0 !important;
  justify-self: start;
}

.inline-progress.volume-fetch-progress div {
  width: 280px !important;
  max-width: 280px !important;
  height: 7px;
}

.inline-progress.volume-fetch-progress i {
  width: 0;
  transform: none !important;
  animation: none !important;
  transition: width 240ms ease;
}

.volume-inline-status .inline-progress.volume-fetch-progress,
.volume-result-panel .inline-progress.volume-fetch-progress {
  width: 280px !important;
  max-width: 280px !important;
}

@keyframes progressPulse {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

.action-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  width: min(390px, calc(100vw - 32px));
  max-height: min(46vh, 360px);
  overflow-y: auto;
  padding: 9px 11px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #dcfce7;
  color: #062112;
  box-shadow: 0 18px 45px rgba(7, 24, 46, 0.18);
}

.action-toast.failed {
  border-color: #fecdd3;
  background: #ffe4e6;
  color: #3b0712;
}

.action-toast strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.action-toast p {
  margin-top: 2px;
  color: inherit;
  font-size: 11px;
  line-height: 1.3;
}

.action-toast p + p {
  margin-top: 5px;
}

.app-shell {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--page);
}

.sidebar {
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--nav);
  color: #ffffff;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  font-weight: 900;
  transform: rotate(-6deg);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.sidebar-brand strong, .sidebar-brand small, .sidebar-footer span { display: block; }
.sidebar-brand strong { font-weight: 900; letter-spacing: 0.12em; }
.sidebar-brand small { margin-top: 3px; color: #94a3b8; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.sidebar-nav { display: grid; align-content: start; gap: 1px; padding: 22px 0; overflow-y: auto; }

.nav-item {
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.nav-item:hover, .nav-item.active { background: var(--nav-soft); color: #ffffff; }
.nav-item.active { border-right: 4px solid var(--primary); }

.nav-group-label {
  margin: 18px 24px 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-child { padding-left: 34px; }

.sidebar-footer {
  display: grid;
  gap: 10px;
  padding: 20px 24px 24px;
  background: rgba(30, 41, 59, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-self: end;
}

.sidebar-footer span { color: #d8e4e8; font-size: 12px; }
