*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #020617;
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.evl-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.evl-app-header {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.evl-app-header strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e2e8f0;
}

.evl-app-main {
  flex: 1;
  padding: 0.75rem 1rem 1.5rem;
  max-width: 100%;
  overflow-x: hidden;
}

.shell-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #94a3b8;
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid #334155;
  border-top-color: #e2e8f0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.dash-error {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
}
.dash-error h2 {
  margin: 0 0 0.5rem;
  color: #f1f5f9;
  font-size: 1.25rem;
}
.dash-error p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.evl-page {
  animation: fadeIn 0.5s ease;
}

.evl-project-picker {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0.5rem 1.5rem;
}
.evl-project-picker .evl-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}
.evl-project-picker .evl-field > span,
.evl-project-picker .evl-field .evl-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.evl-project-picker .evl-field input[type=text] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(71, 85, 105, 0.85);
  background: rgba(15, 23, 42, 0.95);
  color: #f1f5f9;
  font-size: 0.92rem;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.evl-project-picker .evl-field input[type=text]::placeholder {
  color: #64748b;
}
.evl-project-picker .evl-field input[type=text]:hover {
  border-color: rgba(100, 116, 139, 0.9);
}
.evl-project-picker .evl-field input[type=text]:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.75);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12);
}

.evl-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

.evl-project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem;
  text-align: left;
  border-radius: 0.65rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.evl-project-card:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(30, 41, 59, 0.75);
}
.evl-project-card strong {
  font-size: 1rem;
}

.evl-project-repos {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

.evl-project-create {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

.evl-project-create-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.evl-repo-search-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}
.evl-repo-search-row input[type=text] {
  flex: 1;
  min-width: 0;
}
.evl-repo-search-row .evl-btn-search {
  flex-shrink: 0;
  align-self: stretch;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  white-space: nowrap;
}

.evl-repo-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 3.5rem;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(15, 23, 42, 0.55);
}
.evl-repo-list .evl-muted, .evl-repo-list .evl-error {
  margin: 0.25rem 0;
  font-size: 0.82rem;
}

.evl-repo-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.4rem 0.35rem;
  border-radius: 0.4rem;
  transition: background 0.12s;
}
.evl-repo-item:hover {
  background: rgba(51, 65, 85, 0.35);
}
.evl-repo-item input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  accent-color: #a78bfa;
  cursor: pointer;
}
.evl-repo-item span:first-of-type {
  color: #e2e8f0;
  font-weight: 500;
}

.evl-repo-private {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #fbbf24;
}

.evl-stat-path {
  font-size: 0.7rem !important;
  word-break: break-all;
}

.evl-project-switch {
  margin-left: 0.25rem;
  font-size: 0.7rem !important;
}

.evl-btn-ghost {
  background: transparent;
  border-color: rgba(100, 116, 139, 0.45);
  color: #94a3b8;
}
.evl-btn-ghost:hover {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.65);
}

.evl-root {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.evl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.45);
  border-radius: 0.55rem;
}

.evl-toolbar-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.evl-toolbar-brand strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.evl-toolbar-meta {
  font-size: 0.68rem;
  color: #64748b;
  white-space: nowrap;
}

.evl-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

.evl-btn-sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
}

.evl-toolbar-services {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.evl-bounty-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.evl-bounty-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.evl-bounty-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  width: min(28rem, 90vw);
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(51, 65, 85, 0.65);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 0.68rem;
  color: #cbd5e1;
}

.evl-bounty-panel-summary {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: #fca5a5;
}

.evl-bounty-panel-status {
  margin: 0 0 0.4rem;
  color: #fbbf24;
  font-style: italic;
}

.evl-bounty-panel-report {
  margin: 0 0 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.35rem;
  background: rgba(2, 6, 23, 0.6);
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.65rem;
  line-height: 1.45;
  max-height: 8rem;
  overflow-y: auto;
}

.evl-bounty-panel-log {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
  padding-top: 0.4rem;
}
.evl-bounty-panel-log li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.evl-bounty-panel-log time {
  color: #64748b;
  font-size: 0.58rem;
  white-space: nowrap;
}

.evl-bounty-report-btn {
  font-size: 0.62rem !important;
  padding: 0.22rem 0.45rem !important;
}

.evl-bounty-toggle,
.evl-auto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(2, 6, 23, 0.5);
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.evl-bounty-toggle.on,
.evl-auto-toggle.on {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.25);
  color: #fca5a5;
}
.evl-bounty-toggle.on .evl-bounty-dot,
.evl-auto-toggle.on .evl-bounty-dot {
  background: #f87171;
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.6);
}
.evl-bounty-toggle:disabled,
.evl-auto-toggle:disabled {
  opacity: 0.6;
  cursor: wait;
}

.evl-auto-toggle.on,
.evl-auto-toggle-global.on {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(6, 78, 59, 0.25);
  color: #6ee7b7;
}

.evl-auto-toggle-global {
  flex-shrink: 0;
}

.evl-bounty-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #475569;
}

.evl-service-control {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.evl-toolbar-err,
.evl-bounty-err {
  color: #f87171;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: help;
}

.evl-auto-exec-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
  cursor: pointer;
}
.evl-auto-exec-toggle input {
  accent-color: #34d399;
}

.evl-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.35) 0%, rgba(15, 23, 42, 0.9) 60%, rgba(6, 95, 70, 0.2) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 1rem;
}
.evl-hero h1 {
  margin: 0.25rem 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #f8fafc;
}

.evl-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.evl-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.evl-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(5rem, 1fr));
  gap: 0.5rem;
}

.evl-stat {
  padding: 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(51, 65, 85, 0.45);
  background: rgba(15, 23, 42, 0.55);
  text-align: center;
}
.evl-stat span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #64748b;
}
.evl-stat strong {
  font-size: 1.25rem;
  color: #e2e8f0;
}

.evl-panel {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.45);
  background: rgba(15, 23, 42, 0.55);
}

.evl-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.evl-panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
}

.evl-muted {
  font-size: 0.75rem;
  color: #64748b;
}

.evl-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}
@media (max-width: 1100px) {
  .evl-split {
    grid-template-columns: 1fr;
  }
}

.evl-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 900px) {
  .evl-goals-grid {
    grid-template-columns: 1fr;
  }
}
.evl-goals-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
}
.evl-goals-grid textarea {
  padding: 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.85rem;
  resize: vertical;
}

.evl-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 0.45rem;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.evl-btn:hover:not(:disabled) {
  background: #334155;
}
.evl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.evl-btn-sm {
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
}

.evl-btn-accent {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(88, 28, 135, 0.35);
  color: #e9d5ff;
}
.evl-btn-accent:hover:not(:disabled) {
  background: rgba(88, 28, 135, 0.55);
}

.evl-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.evl-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}
.evl-form input, .evl-form textarea, .evl-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-family: inherit;
  line-height: 1.45;
}
.evl-form textarea {
  min-height: 9rem;
  resize: vertical;
}
.evl-form .evl-form-full {
  width: 100%;
}

.evl-team-work {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(51, 65, 85, 0.35);
}
.evl-team-work h4 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.evl-team-work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.evl-team-work-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.evl-create-task-hint {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.evl-create-task-form {
  margin-bottom: 0;
}
.evl-create-task-form .evl-form-full {
  width: 100%;
}
.evl-create-task-form textarea,
.evl-create-task-form .evl-create-task-input {
  min-height: 11rem;
  width: 100%;
}

.evl-form-inline {
  padding: 0.75rem;
  border: 1px dashed rgba(51, 65, 85, 0.5);
  border-radius: 0.6rem;
}

.evl-task-list, .evl-agent-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 520px;
  overflow-y: auto;
}

.evl-task-card, .evl-agent-card {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(51, 65, 85, 0.4);
  background: rgba(2, 6, 23, 0.45);
}

.evl-task-head, .evl-agent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.evl-task-desc {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.evl-task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.evl-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.evl-status {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.evl-status.backlog {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}
.evl-status.progress {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}
.evl-status.qa {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}
.evl-status.delivered {
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
}
.evl-status.deployed {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}
.evl-status.failed {
  background: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
}

.evl-tag {
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(51, 65, 85, 0.5);
  font-size: 0.65rem;
}
.evl-tag.deploy {
  background: rgba(88, 28, 135, 0.3);
  color: #e9d5ff;
}

.evl-cargo {
  font-size: 0.72rem;
  color: #a78bfa;
}

.evl-prompt-preview {
  margin: 0.35rem 0;
  padding: 0.5rem;
  border-radius: 0.4rem;
  background: #020617;
  font-size: 0.7rem;
  color: #64748b;
  white-space: pre-wrap;
  max-height: 4rem;
  overflow: hidden;
}

.evl-prompt-edit {
  min-height: 6rem;
  font-family: ui-monospace, monospace;
}

.evl-reports .evl-report-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
}

.evl-report-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(51, 65, 85, 0.35);
  background: rgba(2, 6, 23, 0.35);
}
.evl-report-item p {
  margin: 0.35rem 0;
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: pre-wrap;
}

.evl-report-kind {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #818cf8;
}

.evl-report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: #64748b;
}

.evl-error {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: #f87171;
}

.evl-task-runs {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
}
.evl-task-runs h4 {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.evl-run-block {
  margin-bottom: 0.6rem;
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(51, 65, 85, 0.35);
  background: rgba(2, 6, 23, 0.5);
}

.evl-run-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.evl-run-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.evl-run-status.evl-run-queued {
  background: rgba(100, 116, 139, 0.3);
  color: #cbd5e1;
}
.evl-run-status.evl-run-running {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}
.evl-run-status.evl-run-completed {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}
.evl-run-status.evl-run-failed {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.evl-run-logs {
  max-height: 14rem;
  overflow-y: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
}

.evl-log-line {
  display: flex;
  gap: 0.5rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
}
.evl-log-line.info .evl-log-msg {
  color: #94a3b8;
}
.evl-log-line.output .evl-log-msg {
  color: #e2e8f0;
}
.evl-log-line.error .evl-log-msg {
  color: #f87171;
}

.evl-log-time {
  flex-shrink: 0;
  color: #475569;
  font-size: 0.6rem;
}

.evl-log-msg {
  white-space: pre-wrap;
  word-break: break-word;
}

.evl-shimmer {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 0.75rem;
  min-height: 5rem;
}

.evl-hero-jira {
  align-items: flex-start;
  gap: 1.25rem;
}
.evl-hero-jira .evl-hero-left {
  flex: 1;
  min-width: 200px;
}

.evl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  justify-content: flex-end;
}
@media (min-width: 900px) {
  .evl-hero-actions {
    width: auto;
    flex: 0 0 auto;
    align-self: center;
  }
}

.evl-btn-header {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
}

.evl-btn-primary {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(37, 99, 235, 0.35);
  color: #bfdbfe;
}
.evl-btn-primary:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.55);
}

.evl-kanban-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.evl-tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 0.25rem 0.15rem;
}

.evl-tag-filter {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}
.evl-tag-filter.active {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(37, 99, 235, 0.25);
  color: #bfdbfe;
}
.evl-tag-filter:hover:not(.active) {
  border-color: rgba(100, 116, 139, 0.7);
  color: #cbd5e1;
}

.evl-tag-filter-clear {
  padding: 0.2rem 0.5rem;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.65rem;
  cursor: pointer;
}
.evl-tag-filter-clear:hover {
  color: #94a3b8;
}

.evl-kanban-board {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  min-height: 280px;
}
.evl-kanban-board.evl-kanban-board-full .evl-kanban-col {
  flex: 0 0 240px;
  min-width: 220px;
}
.evl-kanban-board::-webkit-scrollbar {
  height: 6px;
}
.evl-kanban-board::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.evl-kanban-col {
  flex: 0 0 280px;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0.75rem;
  padding: 0.65rem;
  transition: border-color 0.15s, background 0.15s;
}
.evl-kanban-col.drag-over {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(67, 56, 202, 0.08);
}

.evl-kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem;
}
.evl-kanban-col-head h3 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.evl-kanban-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(51, 65, 85, 0.4);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.evl-kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
  max-height: 65vh;
  min-height: 120px;
}

.evl-kanban-card {
  padding: 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(51, 65, 85, 0.45);
  background: #0f172a;
  cursor: grab;
  transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s;
}
.evl-kanban-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.evl-kanban-card:active {
  cursor: grabbing;
}
.evl-kanban-card.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.evl-kanban-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.evl-kanban-repo {
  font-size: 0.6rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.evl-kanban-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
}

.evl-kanban-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.evl-tag-chip {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.55);
  color: #94a3b8;
  font-size: 0.6rem;
  font-weight: 600;
}

.evl-task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.evl-kanban-refining {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  color: #a5b4fc;
  font-style: italic;
}

.evl-refining-banner,
.evl-refining-only {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  min-height: 6rem;
  color: #c7d2fe;
  font-size: 0.9rem;
}

.evl-kanban-refining {
  color: #a5b4fc;
  font-weight: 500;
}

.evl-refining-spinner {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(199, 210, 254, 0.3);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: evl-spin 0.8s linear infinite;
}

@keyframes evl-spin {
  to {
    transform: rotate(360deg);
  }
}
.evl-readonly {
  opacity: 0.92;
  background: rgba(15, 23, 42, 0.6) !important;
  cursor: default;
}

.evl-story-block {
  margin-bottom: 1rem;
}

.evl-kanban-agent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.evl-agent-avatar {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evl-kanban-card-foot {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.evl-kanban-agent-select {
  flex: 1;
  padding: 0.25rem 0.35rem;
  font-size: 0.68rem;
  border-radius: 0.35rem;
  border: 1px solid #334155;
  background: #020617;
  color: #cbd5e1;
}

.evl-btn-dispatch {
  padding: 0.25rem 0.5rem;
  min-width: 2rem;
  font-size: 0.75rem;
}

.evl-dispatch-hint {
  font-size: 0.65rem;
}

.evl-error-sm {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
}

.evl-done-lane {
  border: 1px solid rgba(51, 65, 85, 0.35);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.35);
  overflow: hidden;
}
.evl-done-lane.collapsed .evl-kanban-done {
  display: none;
}

.evl-done-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.evl-done-toggle:hover {
  background: rgba(51, 65, 85, 0.2);
  color: #e2e8f0;
}

.evl-done-chevron {
  font-size: 0.65rem;
  color: #64748b;
}

.evl-kanban-done {
  padding: 0 0.65rem 0.65rem;
  min-height: 180px;
}

.evl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.evl-modal {
  width: min(100%, 32rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.85rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  outline: none;
}

.evl-modal-wide {
  width: min(100%, 56rem);
}

.evl-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}
.evl-modal-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evl-modal-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.evl-issue-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.evl-issue-tool {
  border: 1px solid rgba(51, 65, 85, 0.55);
  border-radius: 0.4rem;
  background: rgba(30, 41, 59, 0.65);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}
.evl-issue-tool:hover:not(:disabled) {
  background: rgba(51, 65, 85, 0.75);
  color: #f1f5f9;
}
.evl-issue-tool:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.evl-issue-tool.active {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(129, 140, 248, 0.55);
  color: #e0e7ff;
}

.evl-issue-tool-play {
  min-width: 2rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  font-size: 0.85rem;
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
}
.evl-issue-tool-play:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.evl-issue-tool-delete {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}
.evl-issue-tool-delete:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
}

.evl-issue-tool-close {
  color: #94a3b8;
}

.evl-modal-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.4rem;
  background: rgba(51, 65, 85, 0.4);
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.evl-modal-close:hover {
  background: rgba(51, 65, 85, 0.7);
  color: #f1f5f9;
}

.evl-modal-body {
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.evl-modal-body-chat {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: min(72vh, 560px);
}

.evl-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(51, 65, 85, 0.35);
}

.evl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 600px) {
  .evl-form-grid {
    grid-template-columns: 1fr;
  }
}
.evl-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
}
.evl-form-grid .evl-form-full {
  grid-column: 1/-1;
}

.evl-agents-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  min-height: 380px;
}
@media (max-width: 700px) {
  .evl-agents-layout {
    grid-template-columns: 1fr;
  }
}

.evl-agents-sidebar {
  border-right: 1px solid rgba(51, 65, 85, 0.35);
  padding-right: 0.75rem;
}
@media (max-width: 700px) {
  .evl-agents-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(51, 65, 85, 0.35);
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
}

.evl-agents-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.evl-agents-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 320px;
  overflow-y: auto;
}

.evl-agent-pick {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.evl-agent-pick strong {
  display: block;
  font-size: 0.8rem;
  color: #e2e8f0;
}
.evl-agent-pick span {
  font-size: 0.68rem;
  color: #64748b;
}
.evl-agent-pick em {
  font-size: 0.6rem;
  color: #f87171;
  font-style: normal;
}
.evl-agent-pick:hover {
  background: rgba(51, 65, 85, 0.3);
}
.evl-agent-pick.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.35);
}

.evl-agents-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.evl-tab {
  padding: 0.35rem 0.75rem;
  border: 1px solid #334155;
  border-radius: 0.4rem;
  background: transparent;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.evl-tab.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(129, 140, 248, 0.4);
  color: #e2e8f0;
}

.evl-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
}
.evl-stage-chips .evl-muted {
  margin-right: 0.35rem;
  font-size: 0.78rem;
}

.evl-stage-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid rgba(71, 85, 105, 0.5);
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
}
.evl-stage-chip.active {
  border-color: rgba(129, 140, 248, 0.55);
  color: #c7d2fe;
  background: rgba(67, 56, 202, 0.25);
}
.evl-stage-chip.done {
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.2);
}

.evl-issue-chat {
  margin-top: 1rem;
}
.evl-issue-chat h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.evl-issue-chat-full {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  height: 100%;
}
.evl-issue-chat-full .evl-chat-messages {
  flex: 1;
  max-height: none;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: rgba(2, 6, 23, 0.35);
  padding: 1rem 1.25rem;
}

.evl-chat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 300px;
}

.evl-chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.5rem;
  background: rgba(2, 6, 23, 0.5);
  border-radius: 0.55rem;
  border: 1px solid rgba(51, 65, 85, 0.35);
}

.evl-chat-bubble {
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 92%;
}
.evl-chat-bubble.role-system {
  background: rgba(51, 65, 85, 0.35);
  color: #94a3b8;
  font-size: 0.72rem;
  align-self: stretch;
}
.evl-chat-bubble.role-user {
  background: rgba(59, 130, 246, 0.2);
  color: #dbeafe;
  align-self: flex-end;
}
.evl-chat-bubble.role-agent {
  background: rgba(88, 28, 135, 0.25);
  color: #e9d5ff;
  align-self: flex-start;
}
.evl-chat-bubble.role-error {
  background: rgba(127, 29, 29, 0.3);
  color: #fca5a5;
  align-self: stretch;
}

.evl-chat-typing {
  opacity: 0.7;
  font-style: italic;
}

.evl-chat-input {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.evl-chat-input textarea {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #334155;
  background: #020617;
  color: #e2e8f0;
  font-size: 0.85rem;
  resize: vertical;
}

.evl-reports-compact {
  padding: 0.65rem 1rem;
}

.evl-reports-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  padding: 0.25rem 0;
}
.evl-reports-toggle h2 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.evl-agents-sidebar-toggle {
  display: none;
}

.evl-label-short {
  display: none;
}

@media (max-width: 768px) {
  .evl-page,
  .evl-root {
    min-width: 0;
    overflow-x: hidden;
  }
  .evl-label-long {
    display: none;
  }
  .evl-label-short {
    display: inline;
  }
  .evl-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
  }
  .evl-toolbar-brand {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .evl-toolbar-meta {
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
  }
  .evl-toolbar-services {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    flex: none;
    justify-content: stretch;
    min-width: 0;
  }
  .evl-service-control {
    width: 100%;
    min-width: 0;
  }
  .evl-service-control .evl-auto-toggle {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
    white-space: nowrap;
  }
  .evl-bounty-wrap {
    width: 100%;
    min-width: 0;
  }
  .evl-bounty-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.35rem;
    width: 100%;
    align-items: center;
  }
  .evl-bounty-toggle {
    min-height: 2.75rem;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
  }
  .evl-bounty-bar .evl-btn {
    min-height: 2.75rem;
    padding: 0.35rem 0.55rem;
  }
  .evl-bounty-panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: 55vh;
    border-radius: 1rem 1rem 0 0;
    z-index: 200;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  }
  .evl-toolbar-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-left: 0;
    width: 100%;
  }
  .evl-toolbar-actions .evl-btn {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
    text-align: center;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  .evl-hero {
    padding: 1rem 1.1rem;
    gap: 0.85rem;
  }
  .evl-hero-jira {
    flex-direction: column;
    align-items: stretch;
  }
  .evl-hero-jira .evl-hero-left {
    min-width: 0;
    width: 100%;
  }
  .evl-hero h1 {
    font-size: 1.25rem;
    word-break: break-word;
  }
  .evl-sub {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .evl-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0.4rem;
  }
  .evl-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .evl-hero-actions .evl-btn-header {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
    text-align: center;
  }
  .evl-kanban-board {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    min-height: auto;
    padding-bottom: 0;
    gap: 0.65rem;
  }
  .evl-kanban-col {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .evl-kanban-cards {
    max-height: none;
    min-height: 0;
  }
  .evl-kanban-done {
    min-height: auto;
  }
  .evl-kanban-title {
    font-size: 0.88rem;
    word-break: break-word;
  }
  .evl-kanban-repo {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .evl-done-toggle,
  .evl-reports-toggle {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
  }
  .evl-btn,
  .evl-btn-dispatch {
    min-height: 2.75rem;
  }
  .evl-btn-dispatch {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
  .evl-kanban-card-foot {
    flex-wrap: wrap;
  }
  .evl-modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .evl-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
  }
  .evl-modal-wide {
    width: 100%;
  }
  .evl-modal-head h2 {
    font-size: 0.92rem;
    word-break: break-word;
    padding-right: 0.5rem;
  }
  .evl-modal-close {
    flex-shrink: 0;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  .evl-modal-body {
    padding: 0.85rem 1rem 1rem;
  }
  .evl-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .evl-modal-actions .evl-btn {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
  }
  .evl-agents-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    margin-bottom: 0.65rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(51, 65, 85, 0.55);
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.55);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .evl-agents-sidebar-toggle:hover {
    background: rgba(51, 65, 85, 0.65);
  }
  .evl-agents-sidebar-toggle:active {
    background: rgba(51, 65, 85, 0.8);
  }
  .evl-agents-layout {
    min-height: auto;
  }
  .evl-agents-sidebar {
    display: none;
    border-bottom: none;
    padding-bottom: 0;
  }
  .evl-agents-sidebar.open {
    display: block;
    border-bottom: 1px solid rgba(51, 65, 85, 0.35);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .evl-agents-list {
    max-height: 220px;
  }
  .evl-agent-pick {
    min-height: 2.75rem;
    padding: 0.6rem 0.75rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .evl-agent-pick:active {
    background: rgba(51, 65, 85, 0.45);
  }
  .evl-agents-tabs {
    width: 100%;
  }
  .evl-tab {
    flex: 1;
    min-height: 2.75rem;
    text-align: center;
  }
  .evl-chat-input {
    flex-direction: column;
    align-items: stretch;
  }
  .evl-chat-input .evl-btn {
    width: 100%;
    min-height: 2.75rem;
  }
  .evl-chat-messages {
    max-height: 280px;
  }
  .evl-report-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .evl-run-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .evl-log-line {
    flex-direction: column;
    gap: 0.15rem;
  }
  .evl-skeleton .evl-kanban-board {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .evl-hero {
    padding: 0.85rem 0.9rem;
  }
  .evl-hero h1 {
    font-size: 1.1rem;
  }
  .evl-stat {
    padding: 0.55rem;
  }
  .evl-stat strong {
    font-size: 1.05rem;
  }
  .evl-kanban-col-head h3 {
    font-size: 0.68rem;
  }
}
.evl-page-tabs {
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.evl-orch-root {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evl-orch-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(51, 65, 85, 0.45);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.35));
}
.evl-orch-hero h2 {
  margin: 0.25rem 0;
  font-size: 1.35rem;
  color: #f8fafc;
}

.evl-orch-kanban .evl-kanban-board {
  min-height: 340px;
}

.evl-orch-col {
  flex: 0 0 240px;
  min-width: 220px;
}

.evl-orch-card {
  cursor: pointer;
}

.evl-orch-agents {
  font-size: 0.6rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.evl-orch-progress {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.evl-orch-progress-lg {
  margin: 1rem 0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.35);
}

.evl-orch-stage-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.evl-orch-stage-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(51, 65, 85, 0.5);
  overflow: hidden;
}

.evl-orch-stage-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.evl-orch-active {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  color: #a5b4fc;
}

.evl-orch-result {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evl-orch-pr {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #93c5fd;
  text-decoration: none;
}
.evl-orch-pr:hover {
  text-decoration: underline;
}

.evl-orch-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.evl-orch-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.evl-orch-result-block {
  margin: 1rem 0;
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.evl-orch-result-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6ee7b7;
}
.evl-orch-result-block p {
  margin: 0;
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .evl-orch-hero {
    flex-direction: column;
  }
  .evl-orch-kanban .evl-kanban-board {
    flex-direction: column;
  }
  .evl-orch-col {
    flex: 1 1 auto;
    max-width: none;
  }
}
